diff --git a/404.html b/404.html new file mode 100644 index 000000000..f4fa0e4ec --- /dev/null +++ b/404.html @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + +
Skip to main content
+ + + diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..f42faae04 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +windea.icu \ No newline at end of file diff --git a/advance-features.html b/advance-features.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/advance-features.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

Redirecting...

+ + diff --git a/assets/404.html-CDL5kCaI.js b/assets/404.html-CDL5kCaI.js new file mode 100644 index 000000000..fcfa8b601 --- /dev/null +++ b/assets/404.html-CDL5kCaI.js @@ -0,0 +1 @@ +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o,a as n}from"./app-CEUNVpLB.js";const a={},r=n("p",null,"404 Not Found",-1),c=[r];function p(s,i){return o(),e("div",null,c)}const m=t(a,[["render",p],["__file","404.html.vue"]]),u=JSON.parse('{"path":"/404.html","title":"","lang":"en-US","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/404.html"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{m as comp,u as data}; diff --git a/assets/advance-features.html-B34rdv5C.js b/assets/advance-features.html-B34rdv5C.js new file mode 100644 index 000000000..ed3299591 --- /dev/null +++ b/assets/advance-features.html-B34rdv5C.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as a,a as r}from"./app-CEUNVpLB.js";const o={},n=r("p",null,"TODO",-1),c=[n];function i(p,m){return a(),t("div",null,c)}const l=e(o,[["render",i],["__file","advance-features.html.vue"]]),h=JSON.parse('{"path":"/zh/advance-features.html","title":"","lang":"zh-CN","frontmatter":{"description":"TODO","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/advance-features.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/advance-features.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:description","content":"TODO"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0,"words":1},"filePathRelative":"zh/advance-features.md","localizedDate":"2024年9月24日","autoDesc":true}');export{l as comp,h as data}; diff --git a/assets/advance-features.html-ZUVVP2xZ.js b/assets/advance-features.html-ZUVVP2xZ.js new file mode 100644 index 000000000..61018d507 --- /dev/null +++ b/assets/advance-features.html-ZUVVP2xZ.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as a,a as r}from"./app-CEUNVpLB.js";const o={},n=r("p",null,"TODO",-1),c=[n];function i(p,m){return a(),t("div",null,c)}const l=e(o,[["render",i],["__file","advance-features.html.vue"]]),h=JSON.parse('{"path":"/en/advance-features.html","title":"","lang":"en-US","frontmatter":{"description":"TODO","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/advance-features.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/advance-features.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:description","content":"TODO"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0,"words":1},"filePathRelative":"en/advance-features.md","localizedDate":"September 24, 2024","autoDesc":true}');export{l as comp,h as data}; diff --git a/assets/app-CEUNVpLB.js b/assets/app-CEUNVpLB.js new file mode 100644 index 000000000..d3603d3c3 --- /dev/null +++ b/assets/app-CEUNVpLB.js @@ -0,0 +1,25 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.html-BzmMZese.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/advance-features.html-ZUVVP2xZ.js","assets/config.html-CNVo8__Y.js","assets/parameters_1-E5MDCLKe.js","assets/core-features.html-GjPlSMzN.js","assets/plugin-integration.html-Cpy9Nl-m.js","assets/intention_copy_loc_for_locale-HyhT4N-Y.js","assets/plugin-settings.html-DuTc55fo.js","assets/quick-start.html-C4AyC8yB.js","assets/index.html-D2IGkW7s.js","assets/advance-features.html-B34rdv5C.js","assets/config.html-CeTxc944.js","assets/core-features.html-CqOH4SAU.js","assets/plugin-integration.html-xZ74iFR4.js","assets/plugin-settings.html-BI1Lrr3F.js","assets/quick-start.html-AYI7JBib.js","assets/404.html-CDL5kCaI.js"])))=>i.map(i=>d[i]); +/** +* @vue/shared v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Wr(e,t){const n=new Set(e.split(","));return l=>n.has(l)}const ve={},cn=[],Ye=()=>{},jc=()=>!1,Yn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ur=e=>e.startsWith("onUpdate:"),we=Object.assign,qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zc=Object.prototype.hasOwnProperty,oe=(e,t)=>zc.call(e,t),Z=Array.isArray,An=e=>Nl(e)==="[object Map]",Vc=e=>Nl(e)==="[object Set]",te=e=>typeof e=="function",xe=e=>typeof e=="string",yn=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",ia=e=>(me(e)||te(e))&&te(e.then)&&te(e.catch),Wc=Object.prototype.toString,Nl=e=>Wc.call(e),Uc=e=>Nl(e).slice(8,-1),qc=e=>Nl(e)==="[object Object]",Kr=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,un=Wr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Kc=/-(\w)/g,Ze=Fl(e=>e.replace(Kc,(t,n)=>n?n.toUpperCase():"")),Gc=/\B([A-Z])/g,wn=Fl(e=>e.replace(Gc,"-$1").toLowerCase()),Qn=Fl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zl=Fl(e=>e?`on${Qn(e)}`:""),Ft=(e,t)=>!Object.is(e,t),er=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Yc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qc=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let $o;const ua=()=>$o||($o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gr(e){if(Z(e)){const t={};for(let n=0;n{if(n){const l=n.split(Xc);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function Yr(e){let t="";if(xe(e))t=e;else if(Z(e))for(let n=0;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),jt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=$t,n=Zt;try{return $t=!0,Zt=this,this._runnings++,No(this),this.fn()}finally{Fo(this),this._runnings--,Zt=n,$t=t}}stop(){this.active&&(No(this),Fo(this),this.onStop&&this.onStop(),this.active=!1)}}function su(e){return e.value}function No(e){e._trackId++,e._depsLength=0}function Fo(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},xl=new WeakMap,en=Symbol(""),Cr=Symbol("");function je(e,t,n){if($t&&Zt){let l=xl.get(e);l||xl.set(e,l=new Map);let r=l.get(n);r||l.set(n,r=ma(()=>l.delete(n))),va(Zt,r)}}function St(e,t,n,l,r,o){const s=xl.get(e);if(!s)return;let a=[];if(t==="clear")a=[...s.values()];else if(n==="length"&&Z(e)){const i=Number(l);s.forEach((c,f)=>{(f==="length"||!yn(f)&&f>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":Z(e)?Kr(n)&&a.push(s.get("length")):(a.push(s.get(en)),An(e)&&a.push(s.get(Cr)));break;case"delete":Z(e)||(a.push(s.get(en)),An(e)&&a.push(s.get(Cr)));break;case"set":An(e)&&a.push(s.get(en));break}Jr();for(const i of a)i&&ga(i,4);Xr()}function au(e,t){const n=xl.get(e);return n&&n.get(t)}const iu=Wr("__proto__,__v_isRef,__isVue"),ba=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yn)),Do=cu();function cu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const l=se(this);for(let o=0,s=this.length;o{e[t]=function(...n){Bt(),Jr();const l=se(this)[t].apply(this,n);return Xr(),jt(),l}}),e}function uu(e){yn(e)||(e=String(e));const t=se(this);return je(t,"has",e),t.hasOwnProperty(e)}class ya{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return l===(r?o?Su:Sa:o?Ca:_a).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const s=Z(t);if(!r){if(s&&oe(Do,n))return Reflect.get(Do,n,l);if(n==="hasOwnProperty")return uu}const a=Reflect.get(t,n,l);return(yn(n)?ba.has(n):iu(n))||(r||je(t,"get",n),o)?a:Te(a)?s&&Kr(n)?a:a.value:me(a)?r?Xn(a):Jn(a):a}}class wa extends ya{constructor(t=!1){super(!1,t)}set(t,n,l,r){let o=t[n];if(!this._isShallow){const i=Hn(o);if(!Tl(l)&&!Hn(l)&&(o=se(o),l=se(l)),!Z(t)&&Te(o)&&!Te(l))return i?!1:(o.value=l,!0)}const s=Z(t)&&Kr(n)?Number(n)e,Dl=e=>Reflect.getPrototypeOf(e);function fl(e,t,n=!1,l=!1){e=e.__v_raw;const r=se(e),o=se(t);n||(Ft(t,o)&&je(r,"get",t),je(r,"get",o));const{has:s}=Dl(r),a=l?Zr:n?no:Bn;if(s.call(r,t))return a(e.get(t));if(s.call(r,o))return a(e.get(o));e!==r&&e.get(t)}function dl(e,t=!1){const n=this.__v_raw,l=se(n),r=se(e);return t||(Ft(e,r)&&je(l,"has",e),je(l,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function hl(e,t=!1){return e=e.__v_raw,!t&&je(se(e),"iterate",en),Reflect.get(e,"size",e)}function Ho(e){e=se(e);const t=se(this);return Dl(t).has.call(t,e)||(t.add(e),St(t,"add",e,e)),this}function Bo(e,t){t=se(t);const n=se(this),{has:l,get:r}=Dl(n);let o=l.call(n,e);o||(e=se(e),o=l.call(n,e));const s=r.call(n,e);return n.set(e,t),o?Ft(t,s)&&St(n,"set",e,t):St(n,"add",e,t),this}function jo(e){const t=se(this),{has:n,get:l}=Dl(t);let r=n.call(t,e);r||(e=se(e),r=n.call(t,e)),l&&l.call(t,e);const o=t.delete(e);return r&&St(t,"delete",e,void 0),o}function zo(){const e=se(this),t=e.size!==0,n=e.clear();return t&&St(e,"clear",void 0,void 0),n}function pl(e,t){return function(l,r){const o=this,s=o.__v_raw,a=se(s),i=t?Zr:e?no:Bn;return!e&&je(a,"iterate",en),s.forEach((c,f)=>l.call(r,i(c),i(f),o))}}function vl(e,t,n){return function(...l){const r=this.__v_raw,o=se(r),s=An(o),a=e==="entries"||e===Symbol.iterator&&s,i=e==="keys"&&s,c=r[e](...l),f=n?Zr:t?no:Bn;return!t&&je(o,"iterate",i?Cr:en),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[f(d[0]),f(d[1])]:f(d),done:h}},[Symbol.iterator](){return this}}}}function Lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vu(){const e={get(o){return fl(this,o)},get size(){return hl(this)},has:dl,add:Ho,set:Bo,delete:jo,clear:zo,forEach:pl(!1,!1)},t={get(o){return fl(this,o,!1,!0)},get size(){return hl(this)},has:dl,add:Ho,set:Bo,delete:jo,clear:zo,forEach:pl(!1,!0)},n={get(o){return fl(this,o,!0)},get size(){return hl(this,!0)},has(o){return dl.call(this,o,!0)},add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear"),forEach:pl(!0,!1)},l={get(o){return fl(this,o,!0,!0)},get size(){return hl(this,!0)},has(o){return dl.call(this,o,!0)},add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear"),forEach:pl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=vl(o,!1,!1),n[o]=vl(o,!0,!1),t[o]=vl(o,!1,!0),l[o]=vl(o,!0,!0)}),[e,n,t,l]}const[gu,mu,bu,yu]=vu();function eo(e,t){const n=t?e?yu:bu:e?mu:gu;return(l,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?l:Reflect.get(oe(n,r)&&r in l?n:l,r,o)}const wu={get:eo(!1,!1)},_u={get:eo(!1,!0)},Cu={get:eo(!0,!1)};const _a=new WeakMap,Ca=new WeakMap,Sa=new WeakMap,Su=new WeakMap;function ku(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Eu(e){return e.__v_skip||!Object.isExtensible(e)?0:ku(Uc(e))}function Jn(e){return Hn(e)?e:to(e,!1,du,wu,_a)}function ka(e){return to(e,!1,pu,_u,Ca)}function Xn(e){return to(e,!0,hu,Cu,Sa)}function to(e,t,n,l,r){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const s=Eu(e);if(s===0)return e;const a=new Proxy(e,s===2?l:n);return r.set(e,a),a}function Pn(e){return Hn(e)?Pn(e.__v_raw):!!(e&&e.__v_isReactive)}function Hn(e){return!!(e&&e.__v_isReadonly)}function Tl(e){return!!(e&&e.__v_isShallow)}function Ea(e){return e?!!e.__v_raw:!1}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function xu(e){return Object.isExtensible(e)&&ca(e,"__v_skip",!0),e}const Bn=e=>me(e)?Jn(e):e,no=e=>me(e)?Xn(e):e;class xa{constructor(t,n,l,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Qr(()=>t(this._value),()=>Rn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=l}get value(){const t=se(this);return(!t._cacheable||t.effect.dirty)&&Ft(t._value,t._value=t.effect.run())&&Rn(t,4),lo(t),t.effect._dirtyLevel>=2&&Rn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Tu(e,t,n=!1){let l,r;const o=te(e);return o?(l=e,r=Ye):(l=e.get,r=e.set),new xa(l,r,o||!r,n)}function lo(e){var t;$t&&Zt&&(e=se(e),va(Zt,(t=e.dep)!=null?t:e.dep=ma(()=>e.dep=void 0,e instanceof xa?e:void 0)))}function Rn(e,t=4,n,l){e=se(e);const r=e.dep;r&&ga(r,t)}function Te(e){return!!(e&&e.__v_isRef===!0)}function J(e){return Ta(e,!1)}function et(e){return Ta(e,!0)}function Ta(e,t){return Te(e)?e:new Lu(e,t)}class Lu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:Bn(t)}get value(){return lo(this),this._value}set value(t){const n=this.__v_isShallow||Tl(t)||Hn(t);t=n?t:se(t),Ft(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Bn(t),Rn(this,4))}}function tn(e){return Te(e)?e.value:e}const Au={get:(e,t,n)=>tn(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const r=e[t];return Te(r)&&!Te(n)?(r.value=n,!0):Reflect.set(e,t,n,l)}};function La(e){return Pn(e)?e:new Proxy(e,Au)}class Pu{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:l}=t(()=>lo(this),()=>Rn(this));this._get=n,this._set=l}get value(){return this._get()}set value(t){this._set(t)}}function Aa(e){return new Pu(e)}function Ru(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Pa(e,n);return t}class Ou{constructor(t,n,l){this._object=t,this._key=n,this._defaultValue=l,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return au(se(this._object),this._key)}}class Iu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Hl(e,t,n){return Te(e)?e:te(e)?new Iu(e):me(e)&&arguments.length>1?Pa(e,t,n):J(e)}function Pa(e,t,n){const l=e[t];return Te(l)?l:new Ou(e,t,n)}/** +* @vue/runtime-core v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Nt(e,t,n,l){try{return l?e(...l):e()}catch(r){Zn(r,t,n)}}function Je(e,t,n,l){if(te(e)){const r=Nt(e,t,n,l);return r&&ia(r)&&r.catch(o=>{Zn(o,t,n)}),r}if(Z(e)){const r=[];for(let o=0;o>>1,r=$e[l],o=zn(r);opt&&$e.splice(t,1)}function Fu(e){Z(e)?fn.push(...e):(!Rt||!Rt.includes(e,e.allowRecurse?Yt+1:Yt))&&fn.push(e),Oa()}function Vo(e,t,n=jn?pt+1:0){for(;n<$e.length;n++){const l=$e[n];if(l&&l.pre){if(e&&l.id!==e.uid)continue;$e.splice(n,1),n--,l()}}}function Ll(e){if(fn.length){const t=[...new Set(fn)].sort((n,l)=>zn(n)-zn(l));if(fn.length=0,Rt){Rt.push(...t);return}for(Rt=t,Yt=0;Yte.id==null?1/0:e.id,Du=(e,t)=>{const n=zn(e)-zn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ia(e){Sr=!1,jn=!0,$e.sort(Du);try{for(pt=0;pt<$e.length;pt++){const t=$e[pt];t&&t.active!==!1&&Nt(t,null,14)}}finally{pt=0,$e.length=0,Ll(),jn=!1,ro=null,($e.length||fn.length)&&Ia()}}function Hu(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||ve;let r=n;const o=t.startsWith("update:"),s=o&&t.slice(7);if(s&&s in l){const f=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:h}=l[f]||ve;h&&(r=n.map(p=>xe(p)?p.trim():p)),d&&(r=n.map(Yc))}let a,i=l[a=Zl(t)]||l[a=Zl(Ze(t))];!i&&o&&(i=l[a=Zl(wn(t))]),i&&Je(i,e,6,r);const c=l[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Je(c,e,6,r)}}function Ma(e,t,n=!1){const l=t.emitsCache,r=l.get(e);if(r!==void 0)return r;const o=e.emits;let s={},a=!1;if(!te(e)){const i=c=>{const f=Ma(c,t,!0);f&&(a=!0,we(s,f))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!o&&!a?(me(e)&&l.set(e,null),null):(Z(o)?o.forEach(i=>s[i]=null):we(s,o),me(e)&&l.set(e,s),s)}function jl(e,t){return!e||!Yn(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,wn(t))||oe(e,t))}let Qe=null,$a=null;function Al(e){const t=Qe;return Qe=e,$a=e&&e.type.__scopeId||null,t}function Bu(e,t=Qe,n){if(!t||e._n)return e;const l=(...r)=>{l._d&&ls(-1);const o=Al(t);let s;try{s=e(...r)}finally{Al(o),l._d&&ls(1)}return s};return l._n=!0,l._c=!0,l._d=!0,l}function tr(e){const{type:t,vnode:n,proxy:l,withProxy:r,propsOptions:[o],slots:s,attrs:a,emit:i,render:c,renderCache:f,props:d,data:h,setupState:p,ctx:b,inheritAttrs:y}=e,C=Al(e);let w,_;try{if(n.shapeFlag&4){const E=r||l,$=E;w=ot(c.call($,E,f,d,p,h,b)),_=a}else{const E=t;w=ot(E.length>1?E(d,{attrs:a,slots:s,emit:i}):E(d,null)),_=t.props?a:ju(a)}}catch(E){Nn.length=0,Zn(E,e,1),w=Se(Ke)}let m=w;if(_&&y!==!1){const E=Object.keys(_),{shapeFlag:$}=m;E.length&&$&7&&(o&&E.some(Ur)&&(_=zu(_,o)),m=Dt(m,_,!1,!0))}return n.dirs&&(m=Dt(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),w=m,Al(C),w}const ju=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yn(n))&&((t||(t={}))[n]=e[n]);return t},zu=(e,t)=>{const n={};for(const l in e)(!Ur(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function Vu(e,t,n){const{props:l,children:r,component:o}=e,{props:s,children:a,patchFlag:i}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return l?Wo(l,s,c):!!s;if(i&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function Na(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Fu(e)}function zl(e,t,n=Ee,l=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{Bt();const a=nl(n),i=Je(t,n,e,s);return a(),jt(),i});return l?r.unshift(o):r.push(o),o}}const xt=e=>(t,n=Ee)=>{(!ll||e==="sp")&&zl(e,(...l)=>t(...l),n)},Yu=xt("bm"),_e=xt("m"),Qu=xt("bu"),Fa=xt("u"),Vl=xt("bum"),_n=xt("um"),Ju=xt("sp"),Xu=xt("rtg"),Zu=xt("rtc");function ef(e,t=Ee){zl("ec",e,t)}function ht(e,t,n,l){const r=e.dirs,o=t&&t.dirs;for(let s=0;s!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function tf(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:l,delay:r=200,timeout:o,suspensible:s=!0,onError:a}=e;let i=null,c,f=0;const d=()=>(f++,i=null,h()),h=()=>{let p;return i||(p=i=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((y,C)=>{a(b,()=>y(d()),()=>C(b),f+1)});throw b}).then(b=>p!==i&&i?i:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),c=b,b)))};return K({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const p=Ee;if(c)return()=>nr(c,p);const b=_=>{i=null,Zn(_,p,13,!l)};if(s&&p.suspense||ll)return h().then(_=>()=>nr(_,p)).catch(_=>(b(_),()=>l?Se(l,{error:_}):null));const y=J(!1),C=J(),w=J(!!r);return r&&setTimeout(()=>{w.value=!1},r),o!=null&&setTimeout(()=>{if(!y.value&&!C.value){const _=new Error(`Async component timed out after ${o}ms.`);b(_),C.value=_}},o),h().then(()=>{y.value=!0,p.parent&&el(p.parent.vnode)&&(p.parent.effect.dirty=!0,Bl(p.parent.update))}).catch(_=>{b(_),C.value=_}),()=>{if(y.value&&c)return nr(c,p);if(C.value&&l)return Se(l,{error:C.value});if(n&&!w.value)return Se(n)}}})}function nr(e,t){const{ref:n,props:l,children:r,ce:o}=t.vnode,s=Se(e,l,r);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const kr=e=>e?ai(e)?uo(e):kr(e.parent):null,In=we(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>kr(e.parent),$root:e=>kr(e.root),$emit:e=>e.emit,$options:e=>oo(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Bl(e.update)}),$nextTick:e=>e.n||(e.n=Et.bind(e.proxy)),$watch:e=>kf.bind(e)}),lr=(e,t)=>e!==ve&&!e.__isScriptSetup&&oe(e,t),nf={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:l,data:r,props:o,accessCache:s,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return l[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(lr(l,t))return s[t]=1,l[t];if(r!==ve&&oe(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&oe(c,t))return s[t]=3,o[t];if(n!==ve&&oe(n,t))return s[t]=4,n[t];Er&&(s[t]=0)}}const f=In[t];let d,h;if(f)return t==="$attrs"&&je(e.attrs,"get",""),f(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ve&&oe(n,t))return s[t]=4,n[t];if(h=i.config.globalProperties,oe(h,t))return h[t]},set({_:e},t,n){const{data:l,setupState:r,ctx:o}=e;return lr(r,t)?(r[t]=n,!0):l!==ve&&oe(l,t)?(l[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,propsOptions:o}},s){let a;return!!n[s]||e!==ve&&oe(e,s)||lr(t,s)||(a=o[0])&&oe(a,s)||oe(l,s)||oe(In,s)||oe(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qo(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Er=!0;function lf(e){const t=oo(e),n=e.proxy,l=e.ctx;Er=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:s,watch:a,provide:i,inject:c,created:f,beforeMount:d,mounted:h,beforeUpdate:p,updated:b,activated:y,deactivated:C,beforeDestroy:w,beforeUnmount:_,destroyed:m,unmounted:E,render:$,renderTracked:R,renderTriggered:A,errorCaptured:V,serverPrefetch:B,expose:O,inheritAttrs:W,components:M,directives:X,filters:he}=t;if(c&&rf(c,l,null),s)for(const ne in s){const q=s[ne];te(q)&&(l[ne]=q.bind(n))}if(r){const ne=r.call(n,n);me(ne)&&(e.data=Jn(ne))}if(Er=!0,o)for(const ne in o){const q=o[ne],lt=te(q)?q.bind(n,n):te(q.get)?q.get.bind(n,n):Ye,Tt=!te(q)&&te(q.set)?q.set.bind(n):Ye,ft=k({get:lt,set:Tt});Object.defineProperty(l,ne,{enumerable:!0,configurable:!0,get:()=>ft.value,set:De=>ft.value=De})}if(a)for(const ne in a)Da(a[ne],l,n,ne);if(i){const ne=te(i)?i.call(n):i;Reflect.ownKeys(ne).forEach(q=>{dn(q,ne[q])})}f&&Ko(f,e,"c");function G(ne,q){Z(q)?q.forEach(lt=>ne(lt.bind(n))):q&&ne(q.bind(n))}if(G(Yu,d),G(_e,h),G(Qu,p),G(Fa,b),G(Ef,y),G(xf,C),G(ef,V),G(Zu,R),G(Xu,A),G(Vl,_),G(_n,E),G(Ju,B),Z(O))if(O.length){const ne=e.exposed||(e.exposed={});O.forEach(q=>{Object.defineProperty(ne,q,{get:()=>n[q],set:lt=>n[q]=lt})})}else e.exposed||(e.exposed={});$&&e.render===Ye&&(e.render=$),W!=null&&(e.inheritAttrs=W),M&&(e.components=M),X&&(e.directives=X)}function rf(e,t,n=Ye){Z(e)&&(e=xr(e));for(const l in e){const r=e[l];let o;me(r)?"default"in r?o=Re(r.from||l,r.default,!0):o=Re(r.from||l):o=Re(r),Te(o)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[l]=o}}function Ko(e,t,n){Je(Z(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function Da(e,t,n,l){const r=l.includes(".")?Xa(n,l):()=>n[l];if(xe(e)){const o=t[e];te(o)&&ue(r,o)}else if(te(e))ue(r,e.bind(n));else if(me(e))if(Z(e))e.forEach(o=>Da(o,t,n,l));else{const o=te(e.handler)?e.handler.bind(n):t[e.handler];te(o)&&ue(r,o,e)}}function oo(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let i;return a?i=a:!r.length&&!n&&!l?i=t:(i={},r.length&&r.forEach(c=>Pl(i,c,s,!0)),Pl(i,t,s)),me(t)&&o.set(t,i),i}function Pl(e,t,n,l=!1){const{mixins:r,extends:o}=t;o&&Pl(e,o,n,!0),r&&r.forEach(s=>Pl(e,s,n,!0));for(const s in t)if(!(l&&s==="expose")){const a=of[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const of={data:Go,props:Yo,emits:Yo,methods:Tn,computed:Tn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:Tn,directives:Tn,watch:af,provide:Go,inject:sf};function Go(e,t){return t?e?function(){return we(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function sf(e,t){return Tn(xr(e),xr(t))}function xr(e){if(Z(e)){const t={};for(let n=0;n1)return n&&te(t)?t.call(l&&l.proxy):t}}const Ba={},ja=()=>Object.create(Ba),za=e=>Object.getPrototypeOf(e)===Ba;function ff(e,t,n,l=!1){const r={},o=ja();e.propsDefaults=Object.create(null),Va(e,t,r,o);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=l?r:ka(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function df(e,t,n,l){const{props:r,attrs:o,vnode:{patchFlag:s}}=e,a=se(r),[i]=e.propsOptions;let c=!1;if((l||s>0)&&!(s&16)){if(s&8){const f=e.vnode.dynamicProps;for(let d=0;d{i=!0;const[h,p]=Wa(d,t,!0);we(s,h),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!i)return me(e)&&l.set(e,cn),cn;if(Z(o))for(let f=0;f-1,p[1]=y<0||b-1||oe(p,"default"))&&a.push(d)}}}const c=[s,a];return me(e)&&l.set(e,c),c}function Qo(e){return e[0]!=="$"&&!un(e)}function Jo(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Xo(e,t){return Jo(e)===Jo(t)}function Zo(e,t){return Z(t)?t.findIndex(n=>Xo(n,e)):te(t)&&Xo(t,e)?0:-1}const Ua=e=>e[0]==="_"||e==="$stable",so=e=>Z(e)?e.map(ot):[ot(e)],hf=(e,t,n)=>{if(t._n)return t;const l=Bu((...r)=>so(t(...r)),n);return l._c=!1,l},qa=(e,t,n)=>{const l=e._ctx;for(const r in e){if(Ua(r))continue;const o=e[r];if(te(o))t[r]=hf(r,o,l);else if(o!=null){const s=so(o);t[r]=()=>s}}},Ka=(e,t)=>{const n=so(t);e.slots.default=()=>n},pf=(e,t)=>{const n=e.slots=ja();if(e.vnode.shapeFlag&32){const l=t._;l?(we(n,t),ca(n,"_",l,!0)):qa(t,n)}else t&&Ka(e,t)},vf=(e,t,n)=>{const{vnode:l,slots:r}=e;let o=!0,s=ve;if(l.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(we(r,t),!n&&a===1&&delete r._):(o=!t.$stable,qa(t,r)),s=t}else t&&(Ka(e,t),s={default:1});if(o)for(const a in r)!Ua(a)&&s[a]==null&&delete r[a]};function Rl(e,t,n,l,r=!1){if(Z(e)){e.forEach((h,p)=>Rl(h,t&&(Z(t)?t[p]:t),n,l,r));return}if(On(l)&&!r)return;const o=l.shapeFlag&4?uo(l.component):l.el,s=r?null:o,{i:a,r:i}=e,c=t&&t.r,f=a.refs===ve?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==i&&(xe(c)?(f[c]=null,oe(d,c)&&(d[c]=null)):Te(c)&&(c.value=null)),te(i))Nt(i,a,12,[s,f]);else{const h=xe(i),p=Te(i);if(h||p){const b=()=>{if(e.f){const y=h?oe(d,i)?d[i]:f[i]:i.value;r?Z(y)&&qr(y,o):Z(y)?y.includes(o)||y.push(o):h?(f[i]=[o],oe(d,i)&&(d[i]=f[i])):(i.value=[o],e.k&&(f[e.k]=i.value))}else h?(f[i]=s,oe(d,i)&&(d[i]=s)):p&&(i.value=s,e.k&&(f[e.k]=s))};s?(b.id=-1,He(b,n)):b()}}}let es=!1;const sn=()=>{es||(console.error("Hydration completed but contains mismatches."),es=!0)},gf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",mf=e=>e.namespaceURI.includes("MathML"),gl=e=>{if(gf(e))return"svg";if(mf(e))return"mathml"},ml=e=>e.nodeType===8;function bf(e){const{mt:t,p:n,o:{patchProp:l,createText:r,nextSibling:o,parentNode:s,remove:a,insert:i,createComment:c}}=e,f=(m,E)=>{if(!E.hasChildNodes()){n(null,m,E),Ll(),E._vnode=m;return}d(E.firstChild,m,null,null,null),Ll(),E._vnode=m},d=(m,E,$,R,A,V=!1)=>{V=V||!!E.dynamicChildren;const B=ml(m)&&m.data==="[",O=()=>y(m,E,$,R,A,B),{type:W,ref:M,shapeFlag:X,patchFlag:he}=E;let ge=m.nodeType;E.el=m,he===-2&&(V=!1,E.dynamicChildren=null);let G=null;switch(W){case vn:ge!==3?E.children===""?(i(E.el=r(""),s(m),m),G=m):G=O():(m.data!==E.children&&(sn(),m.data=E.children),G=o(m));break;case Ke:_(m)?(G=o(m),w(E.el=m.content.firstChild,m,$)):ge!==8||B?G=O():G=o(m);break;case $n:if(B&&(m=o(m),ge=m.nodeType),ge===1||ge===3){G=m;const ne=!E.children.length;for(let q=0;q{V=V||!!E.dynamicChildren;const{type:B,props:O,patchFlag:W,shapeFlag:M,dirs:X,transition:he}=E,ge=B==="input"||B==="option";if(ge||W!==-1){X&&ht(E,null,$,"created");let G=!1;if(_(m)){G=Ga(R,he)&&$&&$.vnode.props&&$.vnode.props.appear;const q=m.content.firstChild;G&&he.beforeEnter(q),w(q,m,$),E.el=m=q}if(M&16&&!(O&&(O.innerHTML||O.textContent))){let q=p(m.firstChild,E,m,$,R,A,V);for(;q;){sn();const lt=q;q=q.nextSibling,a(lt)}}else M&8&&m.textContent!==E.children&&(sn(),m.textContent=E.children);if(O)if(ge||!V||W&48)for(const q in O)(ge&&(q.endsWith("value")||q==="indeterminate")||Yn(q)&&!un(q)||q[0]===".")&&l(m,q,null,O[q],void 0,void 0,$);else O.onClick&&l(m,"onClick",null,O.onClick,void 0,void 0,$);let ne;(ne=O&&O.onVnodeBeforeMount)&&qe(ne,$,E),X&&ht(E,null,$,"beforeMount"),((ne=O&&O.onVnodeMounted)||X||G)&&Na(()=>{ne&&qe(ne,$,E),G&&he.enter(m),X&&ht(E,null,$,"mounted")},R)}return m.nextSibling},p=(m,E,$,R,A,V,B)=>{B=B||!!E.dynamicChildren;const O=E.children,W=O.length;for(let M=0;M{const{slotScopeIds:B}=E;B&&(A=A?A.concat(B):B);const O=s(m),W=p(o(m),E,O,$,R,A,V);return W&&ml(W)&&W.data==="]"?o(E.anchor=W):(sn(),i(E.anchor=c("]"),O,W),W)},y=(m,E,$,R,A,V)=>{if(sn(),E.el=null,V){const W=C(m);for(;;){const M=o(m);if(M&&M!==W)a(M);else break}}const B=o(m),O=s(m);return a(m),n(null,E,O,B,$,R,gl(O),A),B},C=(m,E="[",$="]")=>{let R=0;for(;m;)if(m=o(m),m&&ml(m)&&(m.data===E&&R++,m.data===$)){if(R===0)return o(m);R--}return m},w=(m,E,$)=>{const R=E.parentNode;R&&R.replaceChild(m,E);let A=$;for(;A;)A.vnode.el===E&&(A.vnode.el=A.subTree.el=m),A=A.parent},_=m=>m.nodeType===1&&m.tagName.toLowerCase()==="template";return[f,d]}const He=Na;function yf(e){return wf(e,bf)}function wf(e,t){const n=ua();n.__VUE__=!0;const{insert:l,remove:r,patchProp:o,createElement:s,createText:a,createComment:i,setText:c,setElementText:f,parentNode:d,nextSibling:h,setScopeId:p=Ye,insertStaticContent:b}=e,y=(v,g,S,L=null,x=null,N=null,D=void 0,I=null,F=!!g.dynamicChildren)=>{if(v===g)return;v&&!Jt(v,g)&&(L=T(v),De(v,x,N,!0),v=null),g.patchFlag===-2&&(F=!1,g.dynamicChildren=null);const{type:P,ref:z,shapeFlag:Q}=g;switch(P){case vn:C(v,g,S,L);break;case Ke:w(v,g,S,L);break;case $n:v==null&&_(g,S,L,D);break;case We:M(v,g,S,L,x,N,D,I,F);break;default:Q&1?$(v,g,S,L,x,N,D,I,F):Q&6?X(v,g,S,L,x,N,D,I,F):(Q&64||Q&128)&&P.process(v,g,S,L,x,N,D,I,F,U)}z!=null&&x&&Rl(z,v&&v.ref,N,g||v,!g)},C=(v,g,S,L)=>{if(v==null)l(g.el=a(g.children),S,L);else{const x=g.el=v.el;g.children!==v.children&&c(x,g.children)}},w=(v,g,S,L)=>{v==null?l(g.el=i(g.children||""),S,L):g.el=v.el},_=(v,g,S,L)=>{[v.el,v.anchor]=b(v.children,g,S,L,v.el,v.anchor)},m=({el:v,anchor:g},S,L)=>{let x;for(;v&&v!==g;)x=h(v),l(v,S,L),v=x;l(g,S,L)},E=({el:v,anchor:g})=>{let S;for(;v&&v!==g;)S=h(v),r(v),v=S;r(g)},$=(v,g,S,L,x,N,D,I,F)=>{g.type==="svg"?D="svg":g.type==="math"&&(D="mathml"),v==null?R(g,S,L,x,N,D,I,F):B(v,g,x,N,D,I,F)},R=(v,g,S,L,x,N,D,I)=>{let F,P;const{props:z,shapeFlag:Q,transition:Y,dirs:ee}=v;if(F=v.el=s(v.type,N,z&&z.is,z),Q&8?f(F,v.children):Q&16&&V(v.children,F,null,L,x,rr(v,N),D,I),ee&&ht(v,null,L,"created"),A(F,v,v.scopeId,D,L),z){for(const de in z)de!=="value"&&!un(de)&&o(F,de,null,z[de],N,v.children,L,x,Ie);"value"in z&&o(F,"value",null,z.value,N),(P=z.onVnodeBeforeMount)&&qe(P,L,v)}ee&&ht(v,null,L,"beforeMount");const le=Ga(x,Y);le&&Y.beforeEnter(F),l(F,g,S),((P=z&&z.onVnodeMounted)||le||ee)&&He(()=>{P&&qe(P,L,v),le&&Y.enter(F),ee&&ht(v,null,L,"mounted")},x)},A=(v,g,S,L,x)=>{if(S&&p(v,S),L)for(let N=0;N{for(let P=F;P{const I=g.el=v.el;let{patchFlag:F,dynamicChildren:P,dirs:z}=g;F|=v.patchFlag&16;const Q=v.props||ve,Y=g.props||ve;let ee;if(S&&qt(S,!1),(ee=Y.onVnodeBeforeUpdate)&&qe(ee,S,g,v),z&&ht(g,v,S,"beforeUpdate"),S&&qt(S,!0),P?O(v.dynamicChildren,P,I,S,L,rr(g,x),N):D||q(v,g,I,null,S,L,rr(g,x),N,!1),F>0){if(F&16)W(I,g,Q,Y,S,L,x);else if(F&2&&Q.class!==Y.class&&o(I,"class",null,Y.class,x),F&4&&o(I,"style",Q.style,Y.style,x),F&8){const le=g.dynamicProps;for(let de=0;de{ee&&qe(ee,S,g,v),z&&ht(g,v,S,"updated")},L)},O=(v,g,S,L,x,N,D)=>{for(let I=0;I{if(S!==L){if(S!==ve)for(const I in S)!un(I)&&!(I in L)&&o(v,I,S[I],null,D,g.children,x,N,Ie);for(const I in L){if(un(I))continue;const F=L[I],P=S[I];F!==P&&I!=="value"&&o(v,I,P,F,D,g.children,x,N,Ie)}"value"in L&&o(v,"value",S.value,L.value,D)}},M=(v,g,S,L,x,N,D,I,F)=>{const P=g.el=v?v.el:a(""),z=g.anchor=v?v.anchor:a("");let{patchFlag:Q,dynamicChildren:Y,slotScopeIds:ee}=g;ee&&(I=I?I.concat(ee):ee),v==null?(l(P,S,L),l(z,S,L),V(g.children||[],S,z,x,N,D,I,F)):Q>0&&Q&64&&Y&&v.dynamicChildren?(O(v.dynamicChildren,Y,S,x,N,D,I),(g.key!=null||x&&g===x.subTree)&&Ya(v,g,!0)):q(v,g,S,z,x,N,D,I,F)},X=(v,g,S,L,x,N,D,I,F)=>{g.slotScopeIds=I,v==null?g.shapeFlag&512?x.ctx.activate(g,S,L,D,F):he(g,S,L,x,N,D,F):ge(v,g,F)},he=(v,g,S,L,x,N,D)=>{const I=v.component=Df(v,L,x);if(el(v)&&(I.ctx.renderer=U),Hf(I),I.asyncDep){if(x&&x.registerDep(I,G,D),!v.el){const F=I.subTree=Se(Ke);w(null,F,g,S)}}else G(I,v,g,S,x,N,D)},ge=(v,g,S)=>{const L=g.component=v.component;if(Vu(v,g,S))if(L.asyncDep&&!L.asyncResolved){ne(L,g,S);return}else L.next=g,Nu(L.update),L.effect.dirty=!0,L.update();else g.el=v.el,L.vnode=g},G=(v,g,S,L,x,N,D)=>{const I=()=>{if(v.isMounted){let{next:z,bu:Q,u:Y,parent:ee,vnode:le}=v;{const on=Qa(v);if(on){z&&(z.el=le.el,ne(v,z,D)),on.asyncDep.then(()=>{v.isUnmounted||I()});return}}let de=z,ie;qt(v,!1),z?(z.el=le.el,ne(v,z,D)):z=le,Q&&er(Q),(ie=z.props&&z.props.onVnodeBeforeUpdate)&&qe(ie,ee,z,le),qt(v,!0);const ke=tr(v),rt=v.subTree;v.subTree=ke,y(rt,ke,d(rt.el),T(rt),v,x,N),z.el=ke.el,de===null&&Wu(v,ke.el),Y&&He(Y,x),(ie=z.props&&z.props.onVnodeUpdated)&&He(()=>qe(ie,ee,z,le),x)}else{let z;const{el:Q,props:Y}=g,{bm:ee,m:le,parent:de}=v,ie=On(g);if(qt(v,!1),ee&&er(ee),!ie&&(z=Y&&Y.onVnodeBeforeMount)&&qe(z,de,g),qt(v,!0),Q&&pe){const ke=()=>{v.subTree=tr(v),pe(Q,v.subTree,v,x,null)};ie?g.type.__asyncLoader().then(()=>!v.isUnmounted&&ke()):ke()}else{const ke=v.subTree=tr(v);y(null,ke,S,L,v,x,N),g.el=ke.el}if(le&&He(le,x),!ie&&(z=Y&&Y.onVnodeMounted)){const ke=g;He(()=>qe(z,de,ke),x)}(g.shapeFlag&256||de&&On(de.vnode)&&de.vnode.shapeFlag&256)&&v.a&&He(v.a,x),v.isMounted=!0,g=S=L=null}},F=v.effect=new Qr(I,Ye,()=>Bl(P),v.scope),P=v.update=()=>{F.dirty&&F.run()};P.id=v.uid,qt(v,!0),P()},ne=(v,g,S)=>{g.component=v;const L=v.vnode.props;v.vnode=g,v.next=null,df(v,g.props,L,S),vf(v,g.children,S),Bt(),Vo(v),jt()},q=(v,g,S,L,x,N,D,I,F=!1)=>{const P=v&&v.children,z=v?v.shapeFlag:0,Q=g.children,{patchFlag:Y,shapeFlag:ee}=g;if(Y>0){if(Y&128){Tt(P,Q,S,L,x,N,D,I,F);return}else if(Y&256){lt(P,Q,S,L,x,N,D,I,F);return}}ee&8?(z&16&&Ie(P,x,N),Q!==P&&f(S,Q)):z&16?ee&16?Tt(P,Q,S,L,x,N,D,I,F):Ie(P,x,N,!0):(z&8&&f(S,""),ee&16&&V(Q,S,L,x,N,D,I,F))},lt=(v,g,S,L,x,N,D,I,F)=>{v=v||cn,g=g||cn;const P=v.length,z=g.length,Q=Math.min(P,z);let Y;for(Y=0;Yz?Ie(v,x,N,!0,!1,Q):V(g,S,L,x,N,D,I,F,Q)},Tt=(v,g,S,L,x,N,D,I,F)=>{let P=0;const z=g.length;let Q=v.length-1,Y=z-1;for(;P<=Q&&P<=Y;){const ee=v[P],le=g[P]=F?It(g[P]):ot(g[P]);if(Jt(ee,le))y(ee,le,S,null,x,N,D,I,F);else break;P++}for(;P<=Q&&P<=Y;){const ee=v[Q],le=g[Y]=F?It(g[Y]):ot(g[Y]);if(Jt(ee,le))y(ee,le,S,null,x,N,D,I,F);else break;Q--,Y--}if(P>Q){if(P<=Y){const ee=Y+1,le=eeY)for(;P<=Q;)De(v[P],x,N,!0),P++;else{const ee=P,le=P,de=new Map;for(P=le;P<=Y;P++){const ze=g[P]=F?It(g[P]):ot(g[P]);ze.key!=null&&de.set(ze.key,P)}let ie,ke=0;const rt=Y-le+1;let on=!1,Oo=0;const Sn=new Array(rt);for(P=0;P=rt){De(ze,x,N,!0);continue}let dt;if(ze.key!=null)dt=de.get(ze.key);else for(ie=le;ie<=Y;ie++)if(Sn[ie-le]===0&&Jt(ze,g[ie])){dt=ie;break}dt===void 0?De(ze,x,N,!0):(Sn[dt-le]=P+1,dt>=Oo?Oo=dt:on=!0,y(ze,g[dt],S,null,x,N,D,I,F),ke++)}const Io=on?_f(Sn):cn;for(ie=Io.length-1,P=rt-1;P>=0;P--){const ze=le+P,dt=g[ze],Mo=ze+1{const{el:N,type:D,transition:I,children:F,shapeFlag:P}=v;if(P&6){ft(v.component.subTree,g,S,L);return}if(P&128){v.suspense.move(g,S,L);return}if(P&64){D.move(v,g,S,U);return}if(D===We){l(N,g,S);for(let Q=0;QI.enter(N),x);else{const{leave:Q,delayLeave:Y,afterLeave:ee}=I,le=()=>l(N,g,S),de=()=>{Q(N,()=>{le(),ee&&ee()})};Y?Y(N,le,de):de()}else l(N,g,S)},De=(v,g,S,L=!1,x=!1)=>{const{type:N,props:D,ref:I,children:F,dynamicChildren:P,shapeFlag:z,patchFlag:Q,dirs:Y,memoIndex:ee}=v;if(Q===-2&&(x=!1),I!=null&&Rl(I,null,S,v,!0),ee!=null&&(g.renderCache[ee]=void 0),z&256){g.ctx.deactivate(v);return}const le=z&1&&Y,de=!On(v);let ie;if(de&&(ie=D&&D.onVnodeBeforeUnmount)&&qe(ie,g,v),z&6)ul(v.component,S,L);else{if(z&128){v.suspense.unmount(S,L);return}le&&ht(v,null,g,"beforeUnmount"),z&64?v.type.remove(v,g,S,U,L):P&&(N!==We||Q>0&&Q&64)?Ie(P,g,S,!1,!0):(N===We&&Q&384||!x&&z&16)&&Ie(F,g,S),L&&ln(v)}(de&&(ie=D&&D.onVnodeUnmounted)||le)&&He(()=>{ie&&qe(ie,g,v),le&&ht(v,null,g,"unmounted")},S)},ln=v=>{const{type:g,el:S,anchor:L,transition:x}=v;if(g===We){rn(S,L);return}if(g===$n){E(v);return}const N=()=>{r(S),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(v.shapeFlag&1&&x&&!x.persisted){const{leave:D,delayLeave:I}=x,F=()=>D(S,N);I?I(v.el,N,F):F()}else N()},rn=(v,g)=>{let S;for(;v!==g;)S=h(v),r(v),v=S;r(g)},ul=(v,g,S)=>{const{bum:L,scope:x,update:N,subTree:D,um:I,m:F,a:P}=v;ts(F),ts(P),L&&er(L),x.stop(),N&&(N.active=!1,De(D,v,g,S)),I&&He(I,g),He(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Ie=(v,g,S,L=!1,x=!1,N=0)=>{for(let D=N;Dv.shapeFlag&6?T(v.component.subTree):v.shapeFlag&128?v.suspense.next():h(v.anchor||v.el);let j=!1;const H=(v,g,S)=>{v==null?g._vnode&&De(g._vnode,null,null,!0):y(g._vnode||null,v,g,null,null,null,S),j||(j=!0,Vo(),Ll(),j=!1),g._vnode=v},U={p:y,um:De,m:ft,r:ln,mt:he,mc:V,pc:q,pbc:O,n:T,o:e};let ae,pe;return t&&([ae,pe]=t(U)),{render:H,hydrate:ae,createApp:uf(H,ae)}}function rr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ga(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ya(e,t,n=!1){const l=e.children,r=t.children;if(Z(l)&&Z(r))for(let o=0;o>1,e[n[a]]0&&(t[l]=n[o-1]),n[o]=l)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}function Qa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qa(t)}function ts(e){if(e)for(let t=0;tRe(Cf);function Ja(e,t){return ao(e,null,t)}const bl={};function ue(e,t,n){return ao(e,t,n)}function ao(e,t,{immediate:n,deep:l,flush:r,once:o,onTrack:s,onTrigger:a}=ve){if(t&&o){const R=t;t=(...A)=>{R(...A),$()}}const i=Ee,c=R=>l===!0?R:Qt(R,l===!1?1:void 0);let f,d=!1,h=!1;if(Te(e)?(f=()=>e.value,d=Tl(e)):Pn(e)?(f=()=>c(e),d=!0):Z(e)?(h=!0,d=e.some(R=>Pn(R)||Tl(R)),f=()=>e.map(R=>{if(Te(R))return R.value;if(Pn(R))return c(R);if(te(R))return Nt(R,i,2)})):te(e)?t?f=()=>Nt(e,i,2):f=()=>(p&&p(),Je(e,i,3,[b])):f=Ye,t&&l){const R=f;f=()=>Qt(R())}let p,b=R=>{p=m.onStop=()=>{Nt(R,i,4),p=m.onStop=void 0}},y;if(ll)if(b=Ye,t?n&&Je(t,i,3,[f(),h?[]:void 0,b]):f(),r==="sync"){const R=Sf();y=R.__watcherHandles||(R.__watcherHandles=[])}else return Ye;let C=h?new Array(e.length).fill(bl):bl;const w=()=>{if(!(!m.active||!m.dirty))if(t){const R=m.run();(l||d||(h?R.some((A,V)=>Ft(A,C[V])):Ft(R,C)))&&(p&&p(),Je(t,i,3,[R,C===bl?void 0:h&&C[0]===bl?[]:C,b]),C=R)}else m.run()};w.allowRecurse=!!t;let _;r==="sync"?_=w:r==="post"?_=()=>He(w,i&&i.suspense):(w.pre=!0,i&&(w.id=i.uid),_=()=>Bl(w));const m=new Qr(f,Ye,_),E=da(),$=()=>{m.stop(),E&&qr(E.effects,m)};return t?n?w():C=m.run():r==="post"?He(m.run.bind(m),i&&i.suspense):m.run(),y&&y.push($),$}function kf(e,t,n){const l=this.proxy,r=xe(e)?e.includes(".")?Xa(l,e):()=>l[e]:e.bind(l,l);let o;te(t)?o=t:(o=t.handler,n=t);const s=nl(this),a=ao(r,o.bind(l),n);return s(),a}function Xa(e,t){const n=t.split(".");return()=>{let l=e;for(let r=0;r{Qt(l,t,n)});else if(qc(e)){for(const l in e)Qt(e[l],t,n);for(const l of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,l)&&Qt(e[l],t,n)}return e}const el=e=>e.type.__isKeepAlive;function Ef(e,t){Za(e,"a",t)}function xf(e,t){Za(e,"da",t)}function Za(e,t,n=Ee){const l=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(zl(t,l,n),n){let r=n.parent;for(;r&&r.parent;)el(r.parent.vnode)&&Tf(l,t,n,r),r=r.parent}}function Tf(e,t,n,l){const r=zl(t,e,l,!0);_n(()=>{qr(l[t],r)},n)}const Ot=Symbol("_leaveCb"),yl=Symbol("_enterCb");function ei(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _e(()=>{e.isMounted=!0}),Vl(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],ti={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},ni=e=>{const t=e.subTree;return t.component?ni(t.component):t},Lf={name:"BaseTransition",props:ti,setup(e,{slots:t}){const n=tl(),l=ei();return()=>{const r=t.default&&io(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const h of r)if(h.type!==Ke){o=h;break}}const s=se(e),{mode:a}=s;if(l.isLeaving)return or(o);const i=ns(o);if(!i)return or(o);let c=Vn(i,s,l,n,h=>c=h);pn(i,c);const f=n.subTree,d=f&&ns(f);if(d&&d.type!==Ke&&!Jt(i,d)&&ni(n).type!==Ke){const h=Vn(d,s,l,n);if(pn(d,h),a==="out-in"&&i.type!==Ke)return l.isLeaving=!0,h.afterLeave=()=>{l.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},or(o);a==="in-out"&&i.type!==Ke&&(h.delayLeave=(p,b,y)=>{const C=li(l,d);C[String(d.key)]=d,p[Ot]=()=>{b(),p[Ot]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return o}}},Af=Lf;function li(e,t){const{leavingVNodes:n}=e;let l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function Vn(e,t,n,l,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:f,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:C,onAppear:w,onAfterAppear:_,onAppearCancelled:m}=t,E=String(e.key),$=li(n,e),R=(B,O)=>{B&&Je(B,l,9,O)},A=(B,O)=>{const W=O[1];R(B,O),Z(B)?B.every(M=>M.length<=1)&&W():B.length<=1&&W()},V={mode:s,persisted:a,beforeEnter(B){let O=i;if(!n.isMounted)if(o)O=C||i;else return;B[Ot]&&B[Ot](!0);const W=$[E];W&&Jt(e,W)&&W.el[Ot]&&W.el[Ot](),R(O,[B])},enter(B){let O=c,W=f,M=d;if(!n.isMounted)if(o)O=w||c,W=_||f,M=m||d;else return;let X=!1;const he=B[yl]=ge=>{X||(X=!0,ge?R(M,[B]):R(W,[B]),V.delayedLeave&&V.delayedLeave(),B[yl]=void 0)};O?A(O,[B,he]):he()},leave(B,O){const W=String(e.key);if(B[yl]&&B[yl](!0),n.isUnmounting)return O();R(h,[B]);let M=!1;const X=B[Ot]=he=>{M||(M=!0,O(),he?R(y,[B]):R(b,[B]),B[Ot]=void 0,$[W]===e&&delete $[W])};$[W]=e,p?A(p,[B,X]):X()},clone(B){const O=Vn(B,t,n,l,r);return r&&r(O),O}};return V}function or(e){if(el(e))return e=Dt(e),e.children=null,e}function ns(e){if(!el(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&te(n.default))return n.default()}}function pn(e,t){e.shapeFlag&6&&e.component?pn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function io(e,t=!1,n){let l=[],r=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,We=Symbol.for("v-fgt"),vn=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),$n=Symbol.for("v-stc"),Nn=[];let st=null;function Nm(e=!1){Nn.push(st=e?null:[])}function Rf(){Nn.pop(),st=Nn[Nn.length-1]||null}let Wn=1;function ls(e){Wn+=e}function Of(e){return e.dynamicChildren=Wn>0?st||cn:null,Rf(),Wn>0&&st&&st.push(e),e}function Fm(e,t,n,l,r,o){return Of(oi(e,t,n,l,r,o,!0))}function Lr(e){return e?e.__v_isVNode===!0:!1}function Jt(e,t){return e.type===t.type&&e.key===t.key}const ri=({key:e})=>e??null,kl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Te(e)||te(e)?{i:Qe,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,l=0,r=null,o=e===We?0:1,s=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ri(t),ref:t&&kl(t),scopeId:$a,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:l,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Qe};return a?(co(i,n),o&128&&e.normalize(i)):n&&(i.shapeFlag|=xe(n)?8:16),Wn>0&&!s&&st&&(i.patchFlag>0||o&6)&&i.patchFlag!==32&&st.push(i),i}const Se=If;function If(e,t=null,n=null,l=0,r=null,o=!1){if((!e||e===qu)&&(e=Ke),Lr(e)){const a=Dt(e,t,!0);return n&&co(a,n),Wn>0&&!o&&st&&(a.shapeFlag&6?st[st.indexOf(e)]=a:st.push(a)),a.patchFlag=-2,a}if(Wf(e)&&(e=e.__vccOpts),t){t=Mf(t);let{class:a,style:i}=t;a&&!xe(a)&&(t.class=Yr(a)),me(i)&&(Ea(i)&&!Z(i)&&(i=we({},i)),t.style=Gr(i))}const s=xe(e)?1:Gu(e)?128:Pf(e)?64:me(e)?4:te(e)?2:0;return oi(e,t,n,l,r,s,o,!0)}function Mf(e){return e?Ea(e)||za(e)?we({},e):e:null}function Dt(e,t,n=!1,l=!1){const{props:r,ref:o,patchFlag:s,children:a,transition:i}=e,c=t?$f(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ri(c),ref:t&&t.ref?n&&o?Z(o)?o.concat(kl(t)):[o,kl(t)]:kl(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&l&&pn(f,i.clone(f)),f}function si(e=" ",t=0){return Se(vn,null,e,t)}function Dm(e,t){const n=Se($n,null,e);return n.staticCount=t,n}function ot(e){return e==null||typeof e=="boolean"?Se(Ke):Z(e)?Se(We,null,e.slice()):typeof e=="object"?It(e):Se(vn,null,String(e))}function It(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function co(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(l&65){const r=t.default;r&&(r._c&&(r._d=!1),co(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!za(t)?t._ctx=Qe:r===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),l&64?(n=16,t=[si(t)]):n=8);e.children=t,e.shapeFlag|=n}function $f(...e){const t={};for(let n=0;nEe||Qe;let Ol,Ar;{const e=ua(),t=(n,l)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(l),o=>{r.length>1?r.forEach(s=>s(o)):r[0](o)}};Ol=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Ar=t("__VUE_SSR_SETTERS__",n=>ll=n)}const nl=e=>{const t=Ee;return Ol(e),e.scope.on(),()=>{e.scope.off(),Ol(t)}},rs=()=>{Ee&&Ee.scope.off(),Ol(null)};function ai(e){return e.vnode.shapeFlag&4}let ll=!1;function Hf(e,t=!1){t&&Ar(t);const{props:n,children:l}=e.vnode,r=ai(e);ff(e,n,r,t),pf(e,l);const o=r?Bf(e,t):void 0;return t&&Ar(!1),o}function Bf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nf);const{setup:l}=n;if(l){const r=e.setupContext=l.length>1?zf(e):null,o=nl(e);Bt();const s=Nt(l,e,0,[e.props,r]);if(jt(),o(),ia(s)){if(s.then(rs,rs),t)return s.then(a=>{os(e,a,t)}).catch(a=>{Zn(a,e,0)});e.asyncDep=s}else os(e,s,t)}else ii(e,t)}function os(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=La(t)),ii(e,n)}let ss;function ii(e,t,n){const l=e.type;if(!e.render){if(!t&&ss&&!l.render){const r=l.template||oo(e).template;if(r){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:i}=l,c=we(we({isCustomElement:o,delimiters:a},s),i);l.render=ss(r,c)}}e.render=l.render||Ye}{const r=nl(e);Bt();try{lf(e)}finally{jt(),r()}}}const jf={get(e,t){return je(e,"get",""),e[t]}};function zf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,jf),slots:e.slots,emit:e.emit,expose:t}}function uo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(La(xu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in In)return In[n](e)},has(t,n){return n in t||n in In}})):e.proxy}function Vf(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function Wf(e){return te(e)&&"__vccOpts"in e}const k=(e,t)=>Tu(e,t,ll);function u(e,t,n){const l=arguments.length;return l===2?me(t)&&!Z(t)?Lr(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&Lr(n)&&(n=[n]),Se(e,t,n))}const Uf="3.4.31";/** +* @vue/runtime-dom v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const qf="http://www.w3.org/2000/svg",Kf="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,as=_t&&_t.createElement("template"),Gf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const r=t==="svg"?_t.createElementNS(qf,e):t==="mathml"?_t.createElementNS(Kf,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&l&&l.multiple!=null&&r.setAttribute("multiple",l.multiple),r},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,r,o){const s=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{as.innerHTML=l==="svg"?`${e}`:l==="mathml"?`${e}`:e;const a=as.content;if(l==="svg"||l==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},At="transition",kn="animation",gn=Symbol("_vtc"),Ht=(e,{slots:t})=>u(Af,ui(e),t);Ht.displayName="Transition";const ci={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yf=Ht.props=we({},ti,ci),Kt=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},is=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function ui(e){const t={};for(const M in e)M in ci||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:l,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=o,appearActiveClass:c=s,appearToClass:f=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,b=Qf(r),y=b&&b[0],C=b&&b[1],{onBeforeEnter:w,onEnter:_,onEnterCancelled:m,onLeave:E,onLeaveCancelled:$,onBeforeAppear:R=w,onAppear:A=_,onAppearCancelled:V=m}=t,B=(M,X,he)=>{Pt(M,X?f:a),Pt(M,X?c:s),he&&he()},O=(M,X)=>{M._isLeaving=!1,Pt(M,d),Pt(M,p),Pt(M,h),X&&X()},W=M=>(X,he)=>{const ge=M?A:_,G=()=>B(X,M,he);Kt(ge,[X,G]),cs(()=>{Pt(X,M?i:o),yt(X,M?f:a),is(ge)||us(X,l,y,G)})};return we(t,{onBeforeEnter(M){Kt(w,[M]),yt(M,o),yt(M,s)},onBeforeAppear(M){Kt(R,[M]),yt(M,i),yt(M,c)},onEnter:W(!1),onAppear:W(!0),onLeave(M,X){M._isLeaving=!0;const he=()=>O(M,X);yt(M,d),yt(M,h),di(),cs(()=>{M._isLeaving&&(Pt(M,d),yt(M,p),is(E)||us(M,l,C,he))}),Kt(E,[M,he])},onEnterCancelled(M){B(M,!1),Kt(m,[M])},onAppearCancelled(M){B(M,!0),Kt(V,[M])},onLeaveCancelled(M){O(M),Kt($,[M])}})}function Qf(e){if(e==null)return null;if(me(e))return[sr(e.enter),sr(e.leave)];{const t=sr(e);return[t,t]}}function sr(e){return Qc(e)}function yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gn]||(e[gn]=new Set)).add(t)}function Pt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[gn];n&&(n.delete(t),n.size||(e[gn]=void 0))}function cs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jf=0;function us(e,t,n,l){const r=e._endId=++Jf,o=()=>{r===e._endId&&l()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:i}=fi(e,t);if(!s)return l();const c=s+"end";let f=0;const d=()=>{e.removeEventListener(c,h),o()},h=p=>{p.target===e&&++f>=i&&d()};setTimeout(()=>{f(n[b]||"").split(", "),r=l(`${At}Delay`),o=l(`${At}Duration`),s=fs(r,o),a=l(`${kn}Delay`),i=l(`${kn}Duration`),c=fs(a,i);let f=null,d=0,h=0;t===At?s>0&&(f=At,d=s,h=o.length):t===kn?c>0&&(f=kn,d=c,h=i.length):(d=Math.max(s,c),f=d>0?s>c?At:kn:null,h=f?f===At?o.length:i.length:0);const p=f===At&&/\b(transform|all)(,|$)/.test(l(`${At}Property`).toString());return{type:f,timeout:d,propCount:h,hasTransform:p}}function fs(e,t){for(;e.lengthds(n)+ds(e[l])))}function ds(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function di(){return document.body.offsetHeight}function Xf(e,t,n){const l=e[gn];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const hs=Symbol("_vod"),Zf=Symbol("_vsh"),ed=Symbol(""),td=/(^|;)\s*display\s*:/;function nd(e,t,n){const l=e.style,r=xe(n);let o=!1;if(n&&!r){if(t)if(xe(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&El(l,a,"")}else for(const s in t)n[s]==null&&El(l,s,"");for(const s in n)s==="display"&&(o=!0),El(l,s,n[s])}else if(r){if(t!==n){const s=l[ed];s&&(n+=";"+s),l.cssText=n,o=td.test(n)}}else t&&e.removeAttribute("style");hs in e&&(e[hs]=o?l.display:"",e[Zf]&&(l.display="none"))}const ps=/\s*!important$/;function El(e,t,n){if(Z(n))n.forEach(l=>El(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=ld(e,t);ps.test(n)?e.setProperty(wn(l),n.replace(ps,""),"important"):e[l]=n}}const vs=["Webkit","Moz","ms"],ar={};function ld(e,t){const n=ar[t];if(n)return n;let l=Ze(t);if(l!=="filter"&&l in e)return ar[t]=l;l=Qn(l);for(let r=0;rir||(cd.then(()=>ir=0),ir=Date.now());function fd(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;Je(dd(l,n.value),t,5,[l])};return n.value=e,n.attached=ud(),n}function dd(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>r=>!r._stopped&&l&&l(r))}else return t}const ws=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hd=(e,t,n,l,r,o,s,a,i)=>{const c=r==="svg";t==="class"?Xf(e,l,c):t==="style"?nd(e,n,l):Yn(t)?Ur(t)||ad(e,t,n,l,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pd(e,t,l,c))?(rd(e,t,l,o,s,a,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ms(e,t,l,c,s,t!=="value")):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),ms(e,t,l,c))};function pd(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&ws(t)&&te(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ws(t)&&xe(n)?!1:t in e}const hi=new WeakMap,pi=new WeakMap,Il=Symbol("_moveCb"),_s=Symbol("_enterCb"),vi={name:"TransitionGroup",props:we({},Yf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=tl(),l=ei();let r,o;return Fa(()=>{if(!r.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!yd(r[0].el,n.vnode.el,s))return;r.forEach(gd),r.forEach(md);const a=r.filter(bd);di(),a.forEach(i=>{const c=i.el,f=c.style;yt(c,s),f.transform=f.webkitTransform=f.transitionDuration="";const d=c[Il]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c[Il]=null,Pt(c,s))};c.addEventListener("transitionend",d)})}),()=>{const s=se(e),a=ui(s);let i=s.tag||We;if(r=[],o)for(let c=0;cdelete e.mode;vi.props;const gi=vi;function gd(e){const t=e.el;t[Il]&&t[Il](),t[_s]&&t[_s]()}function md(e){pi.set(e,e.el.getBoundingClientRect())}function bd(e){const t=hi.get(e),n=pi.get(e),l=t.left-n.left,r=t.top-n.top;if(l||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${l}px,${r}px)`,o.transitionDuration="0s",e}}function yd(e,t,n){const l=e.cloneNode(),r=e[gn];r&&r.forEach(a=>{a.split(/\s+/).forEach(i=>i&&l.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&l.classList.add(a)),l.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(l);const{hasTransform:s}=fi(l);return o.removeChild(l),s}const wd=we({patchProp:hd},Gf);let cr,Cs=!1;function _d(){return cr=Cs?cr:yf(wd),Cs=!0,cr}const Cd=(...e)=>{const t=_d().createApp(...e),{mount:n}=t;return t.mount=l=>{const r=kd(l);if(r)return n(r,!0,Sd(r))},t};function Sd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kd(e){return xe(e)?document.querySelector(e):e}var rl=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Ed=/.md((\?|#).*)?$/,fo=(e,t="/")=>rl(e)||e.startsWith("/")&&!e.startsWith(t)&&!Ed.test(e),ol=e=>/^(https?:)?\/\//.test(e),Ss=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=t.substring(0,t.length-3)+".html":t.endsWith(".html")||(t=t+".html"),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},xd="http://.",Td=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Ss(new URL(`${n}/${e}`,xd).pathname)}return Ss(e)},Ld=(e,t)=>{const n=Object.keys(e).sort((l,r)=>{const o=r.split("/").length-l.split("/").length;return o!==0?o:r.length-l.length});for(const l of n)if(t.startsWith(l))return l;return"/"},Ad=/(#|\?)/,mi=e=>{const[t,...n]=e.split(Ad);return{pathname:t,hashAndQueries:n.join("")}},Pd=["link","meta","script","style","noscript","template"],Rd=["title","base"],Od=([e,t,n])=>Rd.includes(e)?e:Pd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([l,r])=>typeof r=="boolean"?r?[l,""]:null:[l,r]).filter(l=>l!=null).sort(([l],[r])=>l.localeCompare(r)),n]):null,Id=e=>{const t=new Set,n=[];return e.forEach(l=>{const r=Od(l);r&&!t.has(r)&&(t.add(r),n.push(l))}),n},Md=e=>e[0]==="/"?e:`/${e}`,bi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,ho=e=>e[e.length-1]==="/"?e.slice(0,-1):e,yi=e=>e[0]==="/"?e.slice(1):e,Wl=e=>Object.prototype.toString.call(e)==="[object Object]",be=e=>typeof e=="string";const $d="modulepreload",Nd=function(e){return"/Paradox-Language-Support/"+e},ks={},Me=function(t,n,l){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.all(n.map(a=>{if(a=Nd(a),a in ks)return;ks[a]=!0;const i=a.endsWith(".css"),c=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const f=document.createElement("link");if(f.rel=i?"stylesheet":$d,i||(f.as="script",f.crossOrigin=""),f.href=a,s&&f.setAttribute("nonce",s),document.head.appendChild(f),i)return new Promise((d,h)=>{f.addEventListener("load",d),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return r.then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},Fd=JSON.parse("{}"),Dd=Object.fromEntries([["/en/",{loader:()=>Me(()=>import("./index.html-BzmMZese.js"),__vite__mapDeps([0,1])),meta:{t:"Introduce"}}],["/en/advance-features.html",{loader:()=>Me(()=>import("./advance-features.html-ZUVVP2xZ.js"),__vite__mapDeps([2,1])),meta:{t:""}}],["/en/config.html",{loader:()=>Me(()=>import("./config.html-CNVo8__Y.js"),__vite__mapDeps([3,4,1])),meta:{t:"Config Groups & Config Files"}}],["/en/core-features.html",{loader:()=>Me(()=>import("./core-features.html-GjPlSMzN.js"),__vite__mapDeps([5,1])),meta:{t:""}}],["/en/plugin-integration.html",{loader:()=>Me(()=>import("./plugin-integration.html-Cpy9Nl-m.js"),__vite__mapDeps([6,7,1])),meta:{t:"Plugin Integration"}}],["/en/plugin-settings.html",{loader:()=>Me(()=>import("./plugin-settings.html-DuTc55fo.js"),__vite__mapDeps([8,1])),meta:{t:""}}],["/en/quick-start.html",{loader:()=>Me(()=>import("./quick-start.html-C4AyC8yB.js"),__vite__mapDeps([9,1])),meta:{t:"Quick Start"}}],["/zh/",{loader:()=>Me(()=>import("./index.html-D2IGkW7s.js"),__vite__mapDeps([10,1])),meta:{t:"介绍"}}],["/zh/advance-features.html",{loader:()=>Me(()=>import("./advance-features.html-B34rdv5C.js"),__vite__mapDeps([11,1])),meta:{t:""}}],["/zh/config.html",{loader:()=>Me(()=>import("./config.html-CeTxc944.js"),__vite__mapDeps([12,4,1])),meta:{t:"规则分组与规则文件"}}],["/zh/core-features.html",{loader:()=>Me(()=>import("./core-features.html-CqOH4SAU.js"),__vite__mapDeps([13,1])),meta:{t:""}}],["/zh/plugin-integration.html",{loader:()=>Me(()=>import("./plugin-integration.html-xZ74iFR4.js"),__vite__mapDeps([14,7,1])),meta:{t:"插件集成"}}],["/zh/plugin-settings.html",{loader:()=>Me(()=>import("./plugin-settings.html-BI1Lrr3F.js"),__vite__mapDeps([15,1])),meta:{t:""}}],["/zh/quick-start.html",{loader:()=>Me(()=>import("./quick-start.html-AYI7JBib.js"),__vite__mapDeps([16,1])),meta:{t:"快速开始"}}],["/404.html",{loader:()=>Me(()=>import("./404.html-CDL5kCaI.js"),__vite__mapDeps([17,1])),meta:{t:""}}]]);/*! + * vue-router v4.4.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const an=typeof document<"u";function Hd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function ur(e,t){const n={};for(const l in t){const r=t[l];n[l]=ct(r)?r.map(e):e(r)}return n}const Fn=()=>{},ct=Array.isArray,wi=/#/g,Bd=/&/g,jd=/\//g,zd=/=/g,Vd=/\?/g,_i=/\+/g,Wd=/%5B/g,Ud=/%5D/g,Ci=/%5E/g,qd=/%60/g,Si=/%7B/g,Kd=/%7C/g,ki=/%7D/g,Gd=/%20/g;function po(e){return encodeURI(""+e).replace(Kd,"|").replace(Wd,"[").replace(Ud,"]")}function Yd(e){return po(e).replace(Si,"{").replace(ki,"}").replace(Ci,"^")}function Pr(e){return po(e).replace(_i,"%2B").replace(Gd,"+").replace(wi,"%23").replace(Bd,"%26").replace(qd,"`").replace(Si,"{").replace(ki,"}").replace(Ci,"^")}function Qd(e){return Pr(e).replace(zd,"%3D")}function Jd(e){return po(e).replace(wi,"%23").replace(Vd,"%3F")}function Xd(e){return e==null?"":Jd(e).replace(jd,"%2F")}function Un(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Zd=/\/$/,eh=e=>e.replace(Zd,"");function fr(e,t,n="/"){let l,r={},o="",s="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(l=t.slice(0,i),o=t.slice(i+1,a>-1?a:t.length),r=e(o)),a>-1&&(l=l||t.slice(0,a),s=t.slice(a,t.length)),l=rh(l??t,n),{fullPath:l+(o&&"?")+o+s,path:l,query:r,hash:Un(s)}}function th(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Es(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function nh(e,t,n){const l=t.matched.length-1,r=n.matched.length-1;return l>-1&&l===r&&mn(t.matched[l],n.matched[r])&&Ei(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ei(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lh(e[n],t[n]))return!1;return!0}function lh(e,t){return ct(e)?xs(e,t):ct(t)?xs(t,e):e===t}function xs(e,t){return ct(t)?e.length===t.length&&e.every((n,l)=>n===t[l]):e.length===1&&e[0]===t}function rh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),r=l[l.length-1];(r===".."||r===".")&&l.push("");let o=n.length-1,s,a;for(s=0;s1&&o--;else break;return n.slice(0,o).join("/")+"/"+l.slice(s).join("/")}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var qn;(function(e){e.pop="pop",e.push="push"})(qn||(qn={}));var Dn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Dn||(Dn={}));function oh(e){if(!e)if(an){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),eh(e)}const sh=/^[^#]+#/;function ah(e,t){return e.replace(sh,"#")+t}function ih(e,t){const n=document.documentElement.getBoundingClientRect(),l=e.getBoundingClientRect();return{behavior:t.behavior,left:l.left-n.left-(t.left||0),top:l.top-n.top-(t.top||0)}}const Ul=()=>({left:window.scrollX,top:window.scrollY});function ch(e){let t;if("el"in e){const n=e.el,l=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?l?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=ih(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ts(e,t){return(history.state?history.state.position-t:-1)+e}const Rr=new Map;function uh(e,t){Rr.set(e,t)}function fh(e){const t=Rr.get(e);return Rr.delete(e),t}let dh=()=>location.protocol+"//"+location.host;function xi(e,t){const{pathname:n,search:l,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,i=r.slice(a);return i[0]!=="/"&&(i="/"+i),Es(i,"")}return Es(n,e)+l+r}function hh(e,t,n,l){let r=[],o=[],s=null;const a=({state:h})=>{const p=xi(e,location),b=n.value,y=t.value;let C=0;if(h){if(n.value=p,t.value=h,s&&s===b){s=null;return}C=y?h.position-y.position:0}else l(p);r.forEach(w=>{w(n.value,b,{delta:C,type:qn.pop,direction:C?C>0?Dn.forward:Dn.back:Dn.unknown})})};function i(){s=n.value}function c(h){r.push(h);const p=()=>{const b=r.indexOf(h);b>-1&&r.splice(b,1)};return o.push(p),p}function f(){const{history:h}=window;h.state&&h.replaceState(ce({},h.state,{scroll:Ul()}),"")}function d(){for(const h of o)h();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ls(e,t,n,l=!1,r=!1){return{back:e,current:t,forward:n,replaced:l,position:window.history.length,scroll:r?Ul():null}}function ph(e){const{history:t,location:n}=window,l={value:xi(e,n)},r={value:t.state};r.value||o(l.value,{back:null,current:l.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(i,c,f){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:dh()+e+i;try{t[f?"replaceState":"pushState"](c,"",h),r.value=c}catch(p){console.error(p),n[f?"replace":"assign"](h)}}function s(i,c){const f=ce({},t.state,Ls(r.value.back,i,r.value.forward,!0),c,{position:r.value.position});o(i,f,!0),l.value=i}function a(i,c){const f=ce({},r.value,t.state,{forward:i,scroll:Ul()});o(f.current,f,!0);const d=ce({},Ls(l.value,i,null),{position:f.position+1},c);o(i,d,!1),l.value=i}return{location:l,state:r,push:a,replace:s}}function vh(e){e=oh(e);const t=ph(e),n=hh(e,t.state,t.location,t.replace);function l(o,s=!0){s||n.pauseListeners(),history.go(o)}const r=ce({location:"",base:e,go:l,createHref:ah.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function gh(e){return typeof e=="string"||e&&typeof e=="object"}function Ti(e){return typeof e=="string"||typeof e=="symbol"}const Li=Symbol("");var As;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(As||(As={}));function bn(e,t){return ce(new Error,{type:e,[Li]:!0},t)}function bt(e,t){return e instanceof Error&&Li in e&&(t==null||!!(e.type&t))}const Ps="[^/]+?",mh={sensitive:!1,strict:!1,start:!0,end:!0},bh=/[.+*?^${}()[\]/\\]/g;function yh(e,t){const n=ce({},mh,t),l=[];let r=n.start?"^":"";const o=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Ai(e,t){let n=0;const l=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const _h={type:0,value:""},Ch=/[a-zA-Z0-9_]/;function Sh(e){if(!e)return[[]];if(e==="/")return[[_h]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,l=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let a=0,i,c="",f="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:f,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=i}for(;a{s(m)}:Fn}function s(d){if(Ti(d)){const h=l.get(d);h&&(l.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&l.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function a(){return n}function i(d){const h=Ah(d,n);n.splice(h,0,d),d.record.name&&!Is(d)&&l.set(d.record.name,d)}function c(d,h){let p,b={},y,C;if("name"in d&&d.name){if(p=l.get(d.name),!p)throw bn(1,{location:d});C=p.record.name,b=ce(Os(h.params,p.keys.filter(m=>!m.optional).concat(p.parent?p.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),d.params&&Os(d.params,p.keys.map(m=>m.name))),y=p.stringify(b)}else if(d.path!=null)y=d.path,p=n.find(m=>m.re.test(y)),p&&(b=p.parse(y),C=p.record.name);else{if(p=h.name?l.get(h.name):n.find(m=>m.re.test(h.path)),!p)throw bn(1,{location:d,currentLocation:h});C=p.record.name,b=ce({},h.params,d.params),y=p.stringify(b)}const w=[];let _=p;for(;_;)w.unshift(_.record),_=_.parent;return{name:C,path:y,params:b,matched:w,meta:Lh(w)}}e.forEach(d=>o(d));function f(){n.length=0,l.clear()}return{addRoute:o,resolve:c,removeRoute:s,clearRoutes:f,getRoutes:a,getRecordMatcher:r}}function Os(e,t){const n={};for(const l of t)l in e&&(n[l]=e[l]);return n}function xh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Th(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Th(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const l in e.components)t[l]=typeof n=="object"?n[l]:n;return t}function Is(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Lh(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Ms(e,t){const n={};for(const l in e)n[l]=l in t?t[l]:e[l];return n}function Ah(e,t){let n=0,l=t.length;for(;n!==l;){const o=n+l>>1;Ai(e,t[o])<0?l=o:n=o+1}const r=Ph(e);return r&&(l=t.lastIndexOf(r,l-1)),l}function Ph(e){let t=e;for(;t=t.parent;)if(Pi(t)&&Ai(e,t)===0)return t}function Pi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Rh(e){const t={};if(e===""||e==="?")return t;const l=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Pr(o)):[l&&Pr(l)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Oh(e){const t={};for(const n in e){const l=e[n];l!==void 0&&(t[n]=ct(l)?l.map(r=>r==null?null:""+r):l==null?l:""+l)}return t}const Ih=Symbol(""),Ns=Symbol(""),ql=Symbol(""),vo=Symbol(""),Or=Symbol("");function En(){let e=[];function t(l){return e.push(l),()=>{const r=e.indexOf(l);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Mt(e,t,n,l,r,o=s=>s()){const s=l&&(l.enterCallbacks[r]=l.enterCallbacks[r]||[]);return()=>new Promise((a,i)=>{const c=h=>{h===!1?i(bn(4,{from:n,to:t})):h instanceof Error?i(h):gh(h)?i(bn(2,{from:t,to:h})):(s&&l.enterCallbacks[r]===s&&typeof h=="function"&&s.push(h),a())},f=o(()=>e.call(l&&l.instances[r],t,n,c));let d=Promise.resolve(f);e.length<3&&(d=d.then(c)),d.catch(h=>i(h))})}function dr(e,t,n,l,r=o=>o()){const o=[];for(const s of e)for(const a in s.components){let i=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Mh(i)){const f=(i.__vccOpts||i)[t];f&&o.push(Mt(f,n,l,s,a,r))}else{let c=i();o.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const d=Hd(f)?f.default:f;s.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&Mt(p,n,l,s,a,r)()}))}}return o}function Mh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fs(e){const t=Re(ql),n=Re(vo),l=k(()=>{const i=tn(e.to);return t.resolve(i)}),r=k(()=>{const{matched:i}=l.value,{length:c}=i,f=i[c-1],d=n.matched;if(!f||!d.length)return-1;const h=d.findIndex(mn.bind(null,f));if(h>-1)return h;const p=Ds(i[c-2]);return c>1&&Ds(f)===p&&d[d.length-1].path!==p?d.findIndex(mn.bind(null,i[c-2])):h}),o=k(()=>r.value>-1&&Dh(n.params,l.value.params)),s=k(()=>r.value>-1&&r.value===n.matched.length-1&&Ei(n.params,l.value.params));function a(i={}){return Fh(i)?t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(Fn):Promise.resolve()}return{route:l,href:k(()=>l.value.href),isActive:o,isExactActive:s,navigate:a}}const $h=K({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Fs,setup(e,{slots:t}){const n=Jn(Fs(e)),{options:l}=Re(ql),r=k(()=>({[Hs(e.activeClass,l.linkActiveClass,"router-link-active")]:n.isActive,[Hs(e.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:u("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Nh=$h;function Fh(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dh(e,t){for(const n in t){const l=t[n],r=e[n];if(typeof l=="string"){if(l!==r)return!1}else if(!ct(r)||r.length!==l.length||l.some((o,s)=>o!==r[s]))return!1}return!0}function Ds(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hs=(e,t,n)=>e??t??n,Hh=K({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const l=Re(Or),r=k(()=>e.route||l.value),o=Re(Ns,0),s=k(()=>{let c=tn(o);const{matched:f}=r.value;let d;for(;(d=f[c])&&!d.components;)c++;return c}),a=k(()=>r.value.matched[s.value]);dn(Ns,k(()=>s.value+1)),dn(Ih,a),dn(Or,r);const i=J();return ue(()=>[i.value,a.value,e.name],([c,f,d],[h,p,b])=>{f&&(f.instances[d]=c,p&&p!==f&&c&&c===h&&(f.leaveGuards.size||(f.leaveGuards=p.leaveGuards),f.updateGuards.size||(f.updateGuards=p.updateGuards))),c&&f&&(!p||!mn(f,p)||!h)&&(f.enterCallbacks[d]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=r.value,f=e.name,d=a.value,h=d&&d.components[f];if(!h)return Bs(n.default,{Component:h,route:c});const p=d.props[f],b=p?p===!0?c.params:typeof p=="function"?p(c):p:null,C=u(h,ce({},b,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[f]=null)},ref:i}));return Bs(n.default,{Component:C,route:c})||C}}});function Bs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Bh=Hh;function jh(e){const t=Eh(e.routes,e),n=e.parseQuery||Rh,l=e.stringifyQuery||$s,r=e.history,o=En(),s=En(),a=En(),i=et(wt);let c=wt;an&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ur.bind(null,T=>""+T),d=ur.bind(null,Xd),h=ur.bind(null,Un);function p(T,j){let H,U;return Ti(T)?(H=t.getRecordMatcher(T),U=j):U=T,t.addRoute(U,H)}function b(T){const j=t.getRecordMatcher(T);j&&t.removeRoute(j)}function y(){return t.getRoutes().map(T=>T.record)}function C(T){return!!t.getRecordMatcher(T)}function w(T,j){if(j=ce({},j||i.value),typeof T=="string"){const g=fr(n,T,j.path),S=t.resolve({path:g.path},j),L=r.createHref(g.fullPath);return ce(g,S,{params:h(S.params),hash:Un(g.hash),redirectedFrom:void 0,href:L})}let H;if(T.path!=null)H=ce({},T,{path:fr(n,T.path,j.path).path});else{const g=ce({},T.params);for(const S in g)g[S]==null&&delete g[S];H=ce({},T,{params:d(g)}),j.params=d(j.params)}const U=t.resolve(H,j),ae=T.hash||"";U.params=f(h(U.params));const pe=th(l,ce({},T,{hash:Yd(ae),path:U.path})),v=r.createHref(pe);return ce({fullPath:pe,hash:ae,query:l===$s?Oh(T.query):T.query||{}},U,{redirectedFrom:void 0,href:v})}function _(T){return typeof T=="string"?fr(n,T,i.value.path):ce({},T)}function m(T,j){if(c!==T)return bn(8,{from:j,to:T})}function E(T){return A(T)}function $(T){return E(ce(_(T),{replace:!0}))}function R(T){const j=T.matched[T.matched.length-1];if(j&&j.redirect){const{redirect:H}=j;let U=typeof H=="function"?H(T):H;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=_(U):{path:U},U.params={}),ce({query:T.query,hash:T.hash,params:U.path!=null?{}:T.params},U)}}function A(T,j){const H=c=w(T),U=i.value,ae=T.state,pe=T.force,v=T.replace===!0,g=R(H);if(g)return A(ce(_(g),{state:typeof g=="object"?ce({},ae,g.state):ae,force:pe,replace:v}),j||H);const S=H;S.redirectedFrom=j;let L;return!pe&&nh(l,U,H)&&(L=bn(16,{to:S,from:U}),ft(U,U,!0,!1)),(L?Promise.resolve(L):O(S,U)).catch(x=>bt(x)?bt(x,2)?x:Tt(x):q(x,S,U)).then(x=>{if(x){if(bt(x,2))return A(ce({replace:v},_(x.to),{state:typeof x.to=="object"?ce({},ae,x.to.state):ae,force:pe}),j||S)}else x=M(S,U,!0,v,ae);return W(S,U,x),x})}function V(T,j){const H=m(T,j);return H?Promise.reject(H):Promise.resolve()}function B(T){const j=rn.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(T):T()}function O(T,j){let H;const[U,ae,pe]=zh(T,j);H=dr(U.reverse(),"beforeRouteLeave",T,j);for(const g of U)g.leaveGuards.forEach(S=>{H.push(Mt(S,T,j))});const v=V.bind(null,T,j);return H.push(v),Ie(H).then(()=>{H=[];for(const g of o.list())H.push(Mt(g,T,j));return H.push(v),Ie(H)}).then(()=>{H=dr(ae,"beforeRouteUpdate",T,j);for(const g of ae)g.updateGuards.forEach(S=>{H.push(Mt(S,T,j))});return H.push(v),Ie(H)}).then(()=>{H=[];for(const g of pe)if(g.beforeEnter)if(ct(g.beforeEnter))for(const S of g.beforeEnter)H.push(Mt(S,T,j));else H.push(Mt(g.beforeEnter,T,j));return H.push(v),Ie(H)}).then(()=>(T.matched.forEach(g=>g.enterCallbacks={}),H=dr(pe,"beforeRouteEnter",T,j,B),H.push(v),Ie(H))).then(()=>{H=[];for(const g of s.list())H.push(Mt(g,T,j));return H.push(v),Ie(H)}).catch(g=>bt(g,8)?g:Promise.reject(g))}function W(T,j,H){a.list().forEach(U=>B(()=>U(T,j,H)))}function M(T,j,H,U,ae){const pe=m(T,j);if(pe)return pe;const v=j===wt,g=an?history.state:{};H&&(U||v?r.replace(T.fullPath,ce({scroll:v&&g&&g.scroll},ae)):r.push(T.fullPath,ae)),i.value=T,ft(T,j,H,v),Tt()}let X;function he(){X||(X=r.listen((T,j,H)=>{if(!ul.listening)return;const U=w(T),ae=R(U);if(ae){A(ce(ae,{replace:!0}),U).catch(Fn);return}c=U;const pe=i.value;an&&uh(Ts(pe.fullPath,H.delta),Ul()),O(U,pe).catch(v=>bt(v,12)?v:bt(v,2)?(A(v.to,U).then(g=>{bt(g,20)&&!H.delta&&H.type===qn.pop&&r.go(-1,!1)}).catch(Fn),Promise.reject()):(H.delta&&r.go(-H.delta,!1),q(v,U,pe))).then(v=>{v=v||M(U,pe,!1),v&&(H.delta&&!bt(v,8)?r.go(-H.delta,!1):H.type===qn.pop&&bt(v,20)&&r.go(-1,!1)),W(U,pe,v)}).catch(Fn)}))}let ge=En(),G=En(),ne;function q(T,j,H){Tt(T);const U=G.list();return U.length?U.forEach(ae=>ae(T,j,H)):console.error(T),Promise.reject(T)}function lt(){return ne&&i.value!==wt?Promise.resolve():new Promise((T,j)=>{ge.add([T,j])})}function Tt(T){return ne||(ne=!T,he(),ge.list().forEach(([j,H])=>T?H(T):j()),ge.reset()),T}function ft(T,j,H,U){const{scrollBehavior:ae}=e;if(!an||!ae)return Promise.resolve();const pe=!H&&fh(Ts(T.fullPath,0))||(U||!H)&&history.state&&history.state.scroll||null;return Et().then(()=>ae(T,j,pe)).then(v=>v&&ch(v)).catch(v=>q(v,T,j))}const De=T=>r.go(T);let ln;const rn=new Set,ul={currentRoute:i,listening:!0,addRoute:p,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:C,getRoutes:y,resolve:w,options:e,push:E,replace:$,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:G.add,isReady:lt,install(T){const j=this;T.component("RouterLink",Nh),T.component("RouterView",Bh),T.config.globalProperties.$router=j,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(i)}),an&&!ln&&i.value===wt&&(ln=!0,E(r.location).catch(ae=>{}));const H={};for(const ae in wt)Object.defineProperty(H,ae,{get:()=>i.value[ae],enumerable:!0});T.provide(ql,j),T.provide(vo,ka(H)),T.provide(Or,i);const U=T.unmount;rn.add(T),T.unmount=function(){rn.delete(T),rn.size<1&&(c=wt,X&&X(),X=null,i.value=wt,ln=!1,ne=!1),U()}}};function Ie(T){return T.reduce((j,H)=>j.then(()=>B(H)),Promise.resolve())}return ul}function zh(e,t){const n=[],l=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;smn(c,a))?l.push(a):n.push(a));const i=e.matched[s];i&&(t.matched.find(c=>mn(c,i))||r.push(i))}return[n,l,r]}function zt(){return Re(ql)}function mt(e){return Re(vo)}var go=Symbol(""),ut=()=>{const e=Re(go);if(!e)throw new Error("useClientData() is called without provider.");return e},Vh=()=>ut().pageComponent,Ae=()=>ut().pageData,ye=()=>ut().pageFrontmatter,Wh=()=>ut().pageHead,Ri=()=>ut().pageLang,Uh=()=>ut().pageLayout,Vt=()=>ut().routeLocale,Oi=()=>ut().routePath,Ii=()=>ut().routes,mo=()=>ut().siteData,Kl=()=>ut().siteLocaleData,qh=Symbol(""),Ir=et(Fd),hn=et(Dd),Mi=(e,t)=>{const n=Td(e,t);if(hn.value[n])return n;const l=encodeURI(n);if(hn.value[l])return l;const r=Ir.value[n]||Ir.value[l];return r||n},kt=(e,t)=>{const{pathname:n,hashAndQueries:l}=mi(e),r=Mi(n,t),o=r+l;return hn.value[r]?{...hn.value[r],path:o,notFound:!1}:{...hn.value["/404.html"],path:o,notFound:!0}},Kh=(e,t)=>{const{pathname:n,hashAndQueries:l}=mi(e);return Mi(n,t)+l},Gh=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},at=K({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=zt(),l=mt(),r=k(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/Paradox-Language-Support/${Kh(e.to,l.path).substring(1)}`);return()=>{var o;return u("a",{class:["route-link",{[e.activeClass]:e.active}],href:r.value,onClick:(s={})=>{Gh(s)&&n.push(e.to).catch()}},(o=t.default)==null?void 0:o.call(t))}}}),Yh=K({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Hl(e,"config"),l=mt(),r=mo(),o=k(()=>rl(n.value.link)),s=k(()=>n.value.target||(o.value?"_blank":void 0)),a=k(()=>s.value==="_blank"),i=k(()=>!o.value&&!a.value),c=k(()=>n.value.rel||(a.value?"noopener noreferrer":null)),f=k(()=>n.value.ariaLabel??n.value.text),d=k(()=>{if(n.value.exact)return!1;const p=Object.keys(r.value.locales);return p.length?p.every(b=>b!==n.value.link):n.value.link!=="/"}),h=k(()=>i.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(l.path):d.value?l.path.startsWith(n.value.link):l.path===n.value.link:!1);return()=>{const{before:p,after:b,default:y}=t,C=(y==null?void 0:y(n.value))||[p==null?void 0:p(n.value),n.value.text,b==null?void 0:b(n.value)];return i.value?u(at,{class:"auto-link",to:n.value.link,active:h.value,"aria-label":f.value},()=>C):u("a",{class:"auto-link external-link",href:n.value.link,"aria-label":f.value,rel:c.value,target:s.value},C)}}}),Gl=K({name:"ClientOnly",setup(e,t){const n=J(!1);return _e(()=>{n.value=!0}),()=>{var l,r;return n.value?(r=(l=t.slots).default)==null?void 0:r.call(l):null}}}),$i=K({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Vh(),n=k(()=>{if(!e.path)return t.value;const l=kt(e.path);return tf(()=>l.loader().then(({comp:r})=>r))});return()=>u(n.value)}}),Qh="Layout",Jh="en-US",Gt=Jn({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const l=be(t.description)?t.description:n.description,r=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:l}]];return Id(r)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||Jh,resolvePageLayout:(e,t)=>{const n=be(e.frontmatter.layout)?e.frontmatter.layout:Qh;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Ld(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},l)=>{var r;return{...n,...t[l],head:[...((r=t[l])==null?void 0:r.head)??[],...n.head??[]]}}}),tt=(e={})=>e,Pe=e=>ol(e)?e:`/Paradox-Language-Support/${yi(e)}`;const Xh=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),sl=e=>{const t=Vt();return k(()=>e[t.value]??{})},Zh=()=>{const e=Ii();return k(()=>Object.keys(e.value))},Xe=(e,t)=>{var l;const n=(l=(t==null?void 0:t._instance)||tl())==null?void 0:l.appContext.components;return n?e in n||Ze(e)in n||Qn(Ze(e))in n:!1},Ni=e=>new Promise(t=>setTimeout(t,e)),ep=e=>typeof e<"u",hr=e=>typeof e=="number",Mr=Array.isArray,Ml=(e,t)=>be(e)&&e.startsWith(t),tp=(e,t)=>be(e)&&e.endsWith(t),bo=Object.entries,Yl=Object.keys,np=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},yo=e=>Ml(e,"/");function Cn(e){return da()?(ou(e),!0):!1}function Oe(e){return typeof e=="function"?e():tn(e)}const al=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const lp=Object.prototype.toString,rp=e=>lp.call(e)==="[object Object]",nn=()=>{},js=op();function op(){var e,t;return al&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function wo(e,t){function n(...l){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,l),{fn:t,thisArg:this,args:l})).then(r).catch(o)})}return n}const Fi=e=>e();function sp(e,t={}){let n,l,r=nn;const o=a=>{clearTimeout(a),r(),r=nn};return a=>{const i=Oe(e),c=Oe(t.maxWait);return n&&o(n),i<=0||c!==void 0&&c<=0?(l&&(o(l),l=null),Promise.resolve(a())):new Promise((f,d)=>{r=t.rejectOnCancel?d:f,c&&!l&&(l=setTimeout(()=>{n&&o(n),l=null,f(a())},c)),n=setTimeout(()=>{l&&o(l),l=null,f(a())},i)})}}function ap(...e){let t=0,n,l=!0,r=nn,o,s,a,i,c;!Te(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[s,a=!0,i=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=nn)};return h=>{const p=Oe(s),b=Date.now()-t,y=()=>o=h();return f(),p<=0?(t=Date.now(),y()):(b>p&&(i||!l)?(t=Date.now(),y()):a&&(o=new Promise((C,w)=>{r=c?w:C,n=setTimeout(()=>{t=Date.now(),l=!0,C(y()),f()},Math.max(0,p-b))})),!i&&!n&&(n=setTimeout(()=>l=!0,p)),l=!1,o)}}function ip(e=Fi){const t=J(!0);function n(){t.value=!1}function l(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:Xn(t),pause:n,resume:l,eventFilter:r}}function cp(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const l=t;t=void 0,l&&await l},n}function Di(e){return tl()}function up(...e){if(e.length!==1)return Hl(...e);const t=e[0];return typeof t=="function"?Xn(Aa(()=>({get:t,set:nn}))):J(t)}function fp(e,t=200,n={}){return wo(sp(t,n),e)}function dp(e,t=200,n=!1,l=!0,r=!1){return wo(ap(t,n,l,r),e)}function hp(e,t,n={}){const{eventFilter:l=Fi,...r}=n;return ue(e,wo(l,t),r)}function pp(e,t,n={}){const{eventFilter:l,...r}=n,{eventFilter:o,pause:s,resume:a,isActive:i}=ip(l);return{stop:hp(e,t,{...r,eventFilter:o}),pause:s,resume:a,isActive:i}}function Ql(e,t=!0,n){Di()?_e(e,n):t?e():Et(e)}function vp(e,t){Di()&&_n(e,t)}function gp(e,t,n={}){const{immediate:l=!0}=n,r=J(!1);let o=null;function s(){o&&(clearTimeout(o),o=null)}function a(){r.value=!1,s()}function i(...c){s(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...c)},Oe(t))}return l&&(r.value=!0,al&&i()),Cn(a),{isPending:Xn(r),start:i,stop:a}}function $r(e=!1,t={}){const{truthyValue:n=!0,falsyValue:l=!1}=t,r=Te(e),o=J(e);function s(a){if(arguments.length)return o.value=a,o.value;{const i=Oe(n);return o.value=o.value===i?Oe(l):i,o.value}}return r?s:[o,s]}function Ct(e){var t;const n=Oe(e);return(t=n==null?void 0:n.$el)!=null?t:n}const gt=al?window:void 0,Hi=al?window.document:void 0,Bi=al?window.navigator:void 0;function Le(...e){let t,n,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,r]=e,t=gt):[t,n,l,r]=e,!t)return nn;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const o=[],s=()=>{o.forEach(f=>f()),o.length=0},a=(f,d,h,p)=>(f.addEventListener(d,h,p),()=>f.removeEventListener(d,h,p)),i=ue(()=>[Ct(t),Oe(r)],([f,d])=>{if(s(),!f)return;const h=rp(d)?{...d}:d;o.push(...n.flatMap(p=>l.map(b=>a(f,p,b,h))))},{immediate:!0,flush:"post"}),c=()=>{i(),s()};return Cn(c),c}function mp(){const e=J(!1),t=tl();return t&&_e(()=>{e.value=!0},t),e}function il(e){const t=mp();return k(()=>(t.value,!!e()))}function _o(e,t={}){const{window:n=gt}=t,l=il(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=J(!1),s=c=>{o.value=c.matches},a=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",s):r.removeListener(s))},i=Ja(()=>{l.value&&(a(),r=n.matchMedia(Oe(e)),"addEventListener"in r?r.addEventListener("change",s):r.addListener(s),o.value=r.matches)});return Cn(()=>{i(),a(),r=void 0}),o}function zs(e,t={}){const{controls:n=!1,navigator:l=Bi}=t,r=il(()=>l&&"permissions"in l);let o;const s=typeof e=="string"?{name:e}:e,a=J(),i=()=>{o&&(a.value=o.state)},c=cp(async()=>{if(r.value){if(!o)try{o=await l.permissions.query(s),Le(o,"change",i),i()}catch{a.value="prompt"}return o}});return c(),n?{state:a,isSupported:r,query:c}:a}function bp(e={}){const{navigator:t=Bi,read:n=!1,source:l,copiedDuring:r=1500,legacy:o=!1}=e,s=il(()=>t&&"clipboard"in t),a=zs("clipboard-read"),i=zs("clipboard-write"),c=k(()=>s.value||o),f=J(""),d=J(!1),h=gp(()=>d.value=!1,r);function p(){s.value&&w(a.value)?t.clipboard.readText().then(_=>{f.value=_}):f.value=C()}c.value&&n&&Le(["copy","cut"],p);async function b(_=Oe(l)){c.value&&_!=null&&(s.value&&w(i.value)?await t.clipboard.writeText(_):y(_),f.value=_,d.value=!0,h.start())}function y(_){const m=document.createElement("textarea");m.value=_??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function C(){var _,m,E;return(E=(m=(_=document==null?void 0:document.getSelection)==null?void 0:_.call(document))==null?void 0:m.toString())!=null?E:""}function w(_){return _==="granted"||_==="prompt"}return{isSupported:c,text:f,copied:d,copy:b}}const wl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_l="__vueuse_ssr_handlers__",yp=wp();function wp(){return _l in wl||(wl[_l]=wl[_l]||{}),wl[_l]}function _p(e,t){return yp[e]||t}function Cp(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Sp={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Vs="vueuse-storage";function ji(e,t,n,l={}){var r;const{flush:o="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:f,window:d=gt,eventFilter:h,onError:p=O=>{console.error(O)},initOnMounted:b}=l,y=(f?et:J)(typeof t=="function"?t():t);if(!n)try{n=_p("getDefaultStorage",()=>{var O;return(O=gt)==null?void 0:O.localStorage})()}catch(O){p(O)}if(!n)return y;const C=Oe(t),w=Cp(C),_=(r=l.serializer)!=null?r:Sp[w],{pause:m,resume:E}=pp(y,()=>R(y.value),{flush:o,deep:s,eventFilter:h});d&&a&&Ql(()=>{Le(d,"storage",V),Le(d,Vs,B),b&&V()}),b||V();function $(O,W){d&&d.dispatchEvent(new CustomEvent(Vs,{detail:{key:e,oldValue:O,newValue:W,storageArea:n}}))}function R(O){try{const W=n.getItem(e);if(O==null)$(W,null),n.removeItem(e);else{const M=_.write(O);W!==M&&(n.setItem(e,M),$(W,M))}}catch(W){p(W)}}function A(O){const W=O?O.newValue:n.getItem(e);if(W==null)return i&&C!=null&&n.setItem(e,_.write(C)),C;if(!O&&c){const M=_.read(W);return typeof c=="function"?c(M,C):w==="object"&&!Array.isArray(M)?{...C,...M}:M}else return typeof W!="string"?W:_.read(W)}function V(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){y.value=C;return}if(!(O&&O.key!==e)){m();try{(O==null?void 0:O.newValue)!==_.write(y.value)&&(y.value=A(O))}catch(W){p(W)}finally{O?Et(E):E()}}}}function B(O){V(O.detail)}return y}function kp(e){return _o("(prefers-color-scheme: dark)",e)}function Ep(e,t,n={}){const{window:l=gt,...r}=n;let o;const s=il(()=>l&&"ResizeObserver"in l),a=()=>{o&&(o.disconnect(),o=void 0)},i=k(()=>Array.isArray(e)?e.map(d=>Ct(d)):[Ct(e)]),c=ue(i,d=>{if(a(),s.value&&l){o=new ResizeObserver(t);for(const h of d)h&&o.observe(h,r)}},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return Cn(f),{isSupported:s,stop:f}}function xp(e,t={width:0,height:0},n={}){const{window:l=gt,box:r="content-box"}=n,o=k(()=>{var d,h;return(h=(d=Ct(e))==null?void 0:d.namespaceURI)==null?void 0:h.includes("svg")}),s=J(t.width),a=J(t.height),{stop:i}=Ep(e,([d])=>{const h=r==="border-box"?d.borderBoxSize:r==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(l&&o.value){const p=Ct(e);if(p){const b=p.getBoundingClientRect();s.value=b.width,a.value=b.height}}else if(h){const p=Array.isArray(h)?h:[h];s.value=p.reduce((b,{inlineSize:y})=>b+y,0),a.value=p.reduce((b,{blockSize:y})=>b+y,0)}else s.value=d.contentRect.width,a.value=d.contentRect.height},n);Ql(()=>{const d=Ct(e);d&&(s.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ue(()=>Ct(e),d=>{s.value=d?t.width:0,a.value=d?t.height:0});function f(){i(),c()}return{width:s,height:a,stop:f}}const Ws=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Co(e,t={}){const{document:n=Hi,autoExit:l=!1}=t,r=k(()=>{var w;return(w=Ct(e))!=null?w:n==null?void 0:n.querySelector("html")}),o=J(!1),s=k(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),a=k(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),i=k(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||r.value&&w in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),f=il(()=>r.value&&n&&s.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,h=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const w=r.value;if((w==null?void 0:w[i.value])!=null)return!!w[i.value]}}return!1};async function p(){if(!(!f.value||!o.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const w=r.value;(w==null?void 0:w[a.value])!=null&&await w[a.value]()}o.value=!1}}async function b(){if(!f.value||o.value)return;h()&&await p();const w=r.value;s.value&&(w==null?void 0:w[s.value])!=null&&(await w[s.value](),o.value=!0)}async function y(){await(o.value?p():b())}const C=()=>{const w=h();(!w||w&&d())&&(o.value=w)};return Le(n,Ws,C,!1),Le(()=>Ct(r),Ws,C,!1),l&&Cn(p),{isSupported:f,isFullscreen:o,enter:b,exit:p,toggle:y}}function pr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Tp(e={}){const{window:t=gt}=e;if(!t)return J(["en"]);const n=t.navigator,l=J(n.languages);return Le(t,"languagechange",()=>{l.value=n.languages}),l}function vr(e,t=nn,n={}){const{immediate:l=!0,manual:r=!1,type:o="text/javascript",async:s=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:f,document:d=Hi,attrs:h={}}=n,p=J(null);let b=null;const y=_=>new Promise((m,E)=>{const $=V=>(p.value=V,m(V),V);if(!d){m(!1);return}let R=!1,A=d.querySelector(`script[src="${Oe(e)}"]`);A?A.hasAttribute("data-loaded")&&$(A):(A=d.createElement("script"),A.type=o,A.async=s,A.src=Oe(e),f&&(A.defer=f),a&&(A.crossOrigin=a),c&&(A.noModule=c),i&&(A.referrerPolicy=i),Object.entries(h).forEach(([V,B])=>A==null?void 0:A.setAttribute(V,B)),R=!0),A.addEventListener("error",V=>E(V)),A.addEventListener("abort",V=>E(V)),A.addEventListener("load",()=>{A.setAttribute("data-loaded","true"),t(A),$(A)}),R&&(A=d.head.appendChild(A)),_||$(A)}),C=(_=!0)=>(b||(b=y(_)),b),w=()=>{if(!d)return;b=null,p.value&&(p.value=null);const _=d.querySelector(`script[src="${Oe(e)}"]`);_&&d.head.removeChild(_)};return l&&!r&&Ql(C),r||vp(w),{scriptTag:p,load:C,unload:w}}function zi(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const gr=new WeakMap;function So(e,t=!1){const n=J(t);let l=null,r="";ue(up(e),a=>{const i=pr(Oe(a));if(i){const c=i;if(gr.get(c)||gr.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const o=()=>{const a=pr(Oe(e));!a||n.value||(js&&(l=Le(a,"touchmove",i=>{Lp(i)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},s=()=>{const a=pr(Oe(e));!a||!n.value||(js&&(l==null||l()),a.style.overflow=r,gr.delete(a),n.value=!1)};return Cn(s),k({get(){return n.value},set(a){a?o():s()}})}function Ap(e,t,n={}){const{window:l=gt}=n;return ji(e,t,l==null?void 0:l.sessionStorage,n)}function Pp(e={}){const{window:t=gt,behavior:n="auto"}=e;if(!t)return{x:J(0),y:J(0)};const l=J(t.scrollX),r=J(t.scrollY),o=k({get(){return l.value},set(a){scrollTo({left:a,behavior:n})}}),s=k({get(){return r.value},set(a){scrollTo({top:a,behavior:n})}});return Le(t,"scroll",()=>{l.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:s}}function Rp(e={}){const{window:t=gt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,s=J(n),a=J(l),i=()=>{t&&(o?(s.value=t.innerWidth,a.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),Ql(i),Le("resize",i,{passive:!0}),r){const c=_o("(orientation: portrait)");ue(c,()=>i())}return{width:s,height:a}}const Vi=({type:e="info",text:t="",vertical:n,color:l},{slots:r})=>{var o;return u("span",{class:["vp-badge",e,{diy:l}],style:{verticalAlign:n??!1,backgroundColor:l??!1}},((o=r.default)==null?void 0:o.call(r))??t)};Vi.displayName="Badge";var Op=K({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=k(()=>{const l=["font-icon icon"],r=`fas fa-${e.icon}`;return l.push("fa-fw fa-sm"),l.push(e.icon.includes(" ")?e.icon:r),l}),n=k(()=>{const l={};return e.color&&(l.color=e.color),e.size&&(l["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Yl(l).length?l:null});return()=>e.icon?u("span",{key:e.icon,class:t.value,style:n.value}):null}});const Ip=tt({enhance:({app:e})=>{Xe("Badge")||e.component("Badge",Vi),Xe("FontIcon")||e.component("FontIcon",Op)},setup:()=>{vr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),vr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),vr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Mp=Object.freeze(Object.defineProperty({__proto__:null,default:Ip},Symbol.toStringTag,{value:"Module"})),Us=async(e,t)=>{const{path:n,query:l}=e.currentRoute.value,{scrollBehavior:r}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:l,hash:t}),e.options.scrollBehavior=r},$p=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:l=5})=>{const r=zt();Le("scroll",fp(()=>{var b,y;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)d.some(w=>w.hash===C.hash));for(let C=0;C=(((b=w.parentElement)==null?void 0:b.offsetTop)??0)-l,E=!_||s<(((y=_.parentElement)==null?void 0:y.offsetTop)??0)-l;if(!(m&&E))continue;const R=decodeURIComponent(r.currentRoute.value.hash),A=decodeURIComponent(w.hash);if(R===A)return;if(f){for(let V=C+1;Vbe(e.title)?{title:e.title}:null;const Ui=Symbol(""),zp=e=>{Wi=e},Vp=()=>Re(Ui),Wp=e=>{e.provide(Ui,Wi)};var Up={"/zh/":{title:"目录",empty:"暂无目录"},"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"Catalog",empty:"No catalog"}};const qp=K({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=Vp(),n=sl(Up),l=Ae(),r=Ii(),o=mo(),a=et(bo(r.value).map(([c,{meta:f}])=>{const d=t(f);if(!d)return null;const h=c.split("/").length;return{level:tp(c,"/")?h-2:h-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Wl(c)&&be(c.title))),i=k(()=>{const c=e.base?Md(bi(e.base)):l.value.path.replace(/\/[^/]+$/,"/"),f=c.split("/").length-2,d=[];return a.value.filter(({level:h,path:p})=>{if(!Ml(p,c)||p===c)return!1;if(c==="/"){const b=Yl(o.value.locales).filter(y=>y!=="/");if(p==="/404.html"||b.some(y=>Ml(p,y)))return!1}return h-f<=e.level}).sort(({title:h,level:p,order:b},{title:y,level:C,order:w})=>{const _=p-C;return _||(hr(b)?hr(w)?b>0?w>0?b-w:-1:w<0?b-w:1:b:hr(w)?w:h.localeCompare(y))}).forEach(h=>{var y;const{base:p,level:b}=h;switch(b-f){case 1:{d.push(h);break}case 2:{const C=d.find(w=>w.path===p);C&&(C.children??(C.children=[])).push(h);break}default:{const C=d.find(w=>w.path===p.replace(/\/[^/]+\/$/,"/"));if(C){const w=(y=C.children)==null?void 0:y.find(_=>_.path===p);w&&(w.children??(w.children=[])).push(h)}}}}),d});return()=>{const c=i.value.some(f=>f.children);return u("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:u("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?u(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:f=[],title:d,path:h,content:p})=>{const b=u(at,{class:"vp-catalog-title",to:h},()=>p?u(p):d);return u("li",{class:"vp-catalog"},c?[u("h3",{id:d,class:["vp-catalog-child-title",{"has-children":f.length}]},[u("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),b]),f.length?u(e.index?"ol":"ul",{class:"vp-child-catalogs"},f.map(({children:y=[],content:C,path:w,title:_})=>u("li",{class:"vp-child-catalog"},[u("div",{class:["vp-catalog-sub-title",{"has-children":y.length}]},[u("a",{href:`#${_}`,class:"vp-catalog-header-anchor"},"#"),u(at,{class:"vp-catalog-title",to:w},()=>C?u(C):_)]),y.length?u(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},y.map(({content:m,path:E,title:$})=>e.index?u("li",{class:"vp-sub-catalog"},u(at,{to:E},()=>m?u(m):$)):u(at,{class:"vp-sub-catalog-link",to:E},()=>m?u(m):$))):null]))):null]:u("div",{class:"vp-catalog-child-title"},b))})):u("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),Kp=tt({enhance:({app:e})=>{Wp(e),Xe("Catalog",e)||e.component("Catalog",qp)}}),Gp=Object.freeze(Object.defineProperty({__proto__:null,default:Kp},Symbol.toStringTag,{value:"Module"}));var Yp={"/zh/":{backToTop:"返回顶部"},"/en/":{backToTop:"Back to top"},"/":{backToTop:"Back to top"}};const Qp=K({name:"BackToTop",setup(){const e=ye(),t=sl(Yp),n=et(),{height:l}=xp(n),{height:r}=Rp(),{y:o}=Pp(),s=k(()=>e.value.backToTop!==!1&&o.value>100),a=k(()=>o.value/(l.value-r.value)*100);return _e(()=>{n.value=document.body}),()=>u(Ht,{name:"back-to-top"},()=>s.value?u("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[u("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},u("svg",u("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),u("div",{class:"back-to-top-icon"})]):null)}}),Jp=tt({rootComponents:[Qp]}),Xp=Object.freeze(Object.defineProperty({__proto__:null,default:Jp},Symbol.toStringTag,{value:"Module"}));/** + * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT + */const re={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=re.isStarted();e=mr(e,re.settings.minimum,1),re.status=e===1?null:e;const n=re.render(!t),l=n.querySelector(re.settings.barSelector),r=re.settings.speed,o=re.settings.easing;return n.offsetWidth,Zp(s=>{Cl(l,{transform:"translate3d("+qs(e)+"%,0,0)",transition:"all "+r+"ms "+o}),e===1?(Cl(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(()=>{Cl(n,{transition:"all "+r+"ms linear",opacity:"0"}),setTimeout(()=>{re.remove(),s()},r)},r)):setTimeout(()=>s(),r)}),re},isStarted:()=>typeof re.status=="number",start:()=>{re.status||re.set(0);const e=()=>{setTimeout(()=>{re.status&&(re.trickle(),e())},re.settings.trickleSpeed)};return re.settings.trickle&&e(),re},done:e=>!e&&!re.status?re:re.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=re.status;return t?(typeof e!="number"&&(e=(1-t)*mr(Math.random()*t,.1,.95)),t=mr(t+e,0,.994),re.set(t)):re.start()},trickle:()=>re.inc(Math.random()*re.settings.trickleRate),render:e=>{if(re.isRendered())return document.getElementById("nprogress");Ks(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=re.settings.template;const n=t.querySelector(re.settings.barSelector),l=e?"-100":qs(re.status||0),r=document.querySelector(re.settings.parent);return Cl(n,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r!==document.body&&Ks(r,"nprogress-custom-parent"),r==null||r.appendChild(t),t},remove:()=>{Gs(document.documentElement,"nprogress-busy"),Gs(document.querySelector(re.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&ev(e)},isRendered:()=>!!document.getElementById("nprogress")},mr=(e,t,n)=>en?n:e,qs=e=>(-1+e)*100,Zp=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Cl=function(){const e=["Webkit","O","Moz","ms"],t={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function l(s){const a=document.body.style;if(s in a)return s;let i=e.length;const c=s.charAt(0).toUpperCase()+s.slice(1);let f;for(;i--;)if(f=e[i]+c,f in a)return f;return s}function r(s){return s=n(s),t[s]??(t[s]=l(s))}function o(s,a,i){a=r(a),s.style[a]=i}return function(s,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&o(s,i,c)}}}(),qi=(e,t)=>(typeof e=="string"?e:ko(e)).indexOf(" "+t+" ")>=0,Ks=(e,t)=>{const n=ko(e),l=n+t;qi(n,t)||(e.className=l.substring(1))},Gs=(e,t)=>{const n=ko(e);if(!qi(e,t))return;const l=n.replace(" "+t+" "," ");e.className=l.substring(1,l.length-1)},ko=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),ev=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},tv=()=>{_e(()=>{const e=zt(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||re.start()}),e.afterEach(n=>{t.add(n.path),re.done()})})},nv=tt({setup(){tv()}}),lv=Object.freeze(Object.defineProperty({__proto__:null,default:nv},Symbol.toStringTag,{value:"Module"})),rv=JSON.parse(`{"encrypt":{},"logo":null,"repo":"DragonKnightOfBreeze/Paradox-Language-Support","author":{"name":"DragonKnightOfBreeze","url":"https://github.com/DragonKnightOfBreeze","email":"dk_breeze@qq.com"},"pageInfo":["Author","Date","Word","ReadingTime"],"docsDir":"docs","docsBranch":"master","pure":true,"breadcrumb":false,"navbarLayout":{"start":["Brand"],"center":[],"end":["Links","Language","Repo","Outlook","Search"]},"locales":{"/zh/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":[{"text":"主页","link":"https://www.windea.icu"}],"sidebar":[{"text":"介绍","link":"/zh/"},{"text":"快速开始","link":"/zh/quick-start.md"},{"text":"核心功能","link":"/zh/core-features.md"},{"text":"高级功能","link":"/zh/advance-features.md"},{"text":"插件设置","link":"/zh/plugin-settings.md"},{"text":"插件集成","link":"/zh/plugin-integration.md"},{"text":"规则分组与规则文件","link":"/zh/config.md"}]},"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":[{"text":"Main Page","link":"https://www.windea.icu"}],"sidebar":[{"text":"Introduce","link":"/en/"},{"text":"Quick Start","link":"/en/quick-start.md"},{"text":"Core Features","link":"/en/core-features.md"},{"text":"Advance Features","link":"/en/advance-features.md"},{"text":"Plugin Settings]","link":"/en/plugin-settings.md"},{"text":"Plugin Integration","link":"/en/plugin-integration.md"},{"text":"Config Groups & Config Files","link":"/en/config.md"}]},"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"}}}}`),ov=J(rv),Ki=()=>ov,Gi=Symbol(""),sv=()=>{const e=Re(Gi);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},av=(e,t)=>{const{locales:n,...l}=e;return{...l,...n==null?void 0:n[t]}},iv=tt({enhance({app:e}){const t=Ki(),n=e._context.provides[go],l=k(()=>av(t.value,n.routeLocale.value));e.provide(Gi,l),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return l.value}}})}}),cv=Object.freeze(Object.defineProperty({__proto__:null,default:iv},Symbol.toStringTag,{value:"Module"})),uv=/language-(shellscript|shell|bash|sh|zsh)/,fv=({delay:e=500,duration:t=2e3,locales:n,selector:l,showInMobile:r,ignoreSelector:o=[],transform:s})=>{const a=_o("(max-width: 419px)"),i=k(()=>!a.value||r),c=sl(n),f=Ae(),d=C=>{var _;if(C.hasAttribute("copy-code-registered"))return;const w=document.createElement("button");w.type="button",w.classList.add("vp-copy-code-button"),w.setAttribute("aria-label",c.value.copy),w.setAttribute("data-copied",c.value.copied),(_=C.parentElement)==null||_.insertBefore(w,C),C.setAttribute("copy-code-registered","")};ue(()=>[f.value.path,i.value],async()=>{document.body.classList.toggle("copy-code-disabled",!i.value),i.value&&(await Et(),await Ni(e),document.querySelectorAll(l.join(",")).forEach(d))},{immediate:!0});const{copy:p}=bp({legacy:!0}),b=new WeakMap,y=(C,w,_)=>{const m=w.cloneNode(!0);o.length&&m.querySelectorAll(o.join(",")).forEach($=>$.remove()),s&&s(m);let E=m.textContent||"";uv.test(C.className)&&(E=E.replace(/^ *(\$|>) /gm,"")),p(E).then(()=>{if(t<=0)return;_.classList.add("copied"),clearTimeout(b.get(_));const $=setTimeout(()=>{_.classList.remove("copied"),_.blur(),b.delete(_)},t);b.set(_,$)})};Le("click",C=>{const w=C.target;if(i.value&&w.matches('div[class*="language-"] > button.vp-copy-code-button')){const _=w.parentElement,m=w.nextElementSibling;if(!_||!m)return;y(_,m,w)}})};var dv={"/zh/":{copy:"复制代码",copied:"已复制"},"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"Copy code",copied:"Copied"}},hv=['.theme-hope-content div[class*="language-"] pre'];const pv=tt({setup:()=>{fv({selector:hv,locales:dv,duration:2e3,delay:500,showInMobile:!1})}}),vv=Object.freeze(Object.defineProperty({__proto__:null,default:pv},Symbol.toStringTag,{value:"Module"})),gv=()=>{Le("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},mv=tt({enhance:({app:e})=>{},setup:()=>{gv()}}),bv=Object.freeze(Object.defineProperty({__proto__:null,default:mv},Symbol.toStringTag,{value:"Module"})),yv=J({}),Yi=Symbol(""),wv=()=>Re(Yi),_v=e=>{e.provide(Yi,yv)},Cv='
',Sv=e=>be(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Qi=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(Qi(e)),e.onerror=l=>n(l))}),kv=(e,{download:t=!0,fullscreen:n=!0}={})=>{e.on("uiRegister",()=>{if(e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(l,r)=>{const o=[];let s=-1;for(let a=0;a{r.goTo(o.indexOf(c.target))},o.push(i),l.appendChild(i)}r.on("change",()=>{s>=0&&o[s].classList.remove("active"),o[r.currIndex].classList.add("active"),s=r.currIndex})}}),n){const{isSupported:l,toggle:r}=Co();l.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{r()}})}t&&e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(l,r)=>{l.setAttribute("download",""),l.setAttribute("target","_blank"),l.setAttribute("rel","noopener"),r.on("change",()=>{l.setAttribute("href",r.currSlide.data.src)})}})})},Ev=(e,{scrollToClose:t=!0,download:n=!0,fullscreen:l=!0,...r})=>Me(async()=>{const{default:o}=await import("./photoswipe.esm-GXRgw7eJ.js");return{default:o}},[]).then(({default:o})=>{let s=null;const a=e.map(i=>({html:Cv,element:i,msrc:i.src}));return e.forEach((i,c)=>{const f=()=>{s==null||s.destroy(),s=new o({preloaderDelay:0,showHideAnimationType:"zoom",...r,dataSource:a,index:c,...t?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),kv(s,{download:n,fullscreen:l}),s.addFilter("thumbEl",()=>i),s.addFilter("placeholderSrc",()=>i.src),s.init()};i.getAttribute("photo-swipe")||(i.style.cursor="zoom-in",i.addEventListener("click",()=>{f()}),i.addEventListener("keypress",({key:d})=>{d==="Enter"&&f()}),i.setAttribute("photo-swipe","")),Qi(i).then(d=>{a.splice(c,1,d),s==null||s.refreshSlideContent(c)})}),t?Le("wheel",()=>{s==null||s.close()}):()=>{}}),xv=({selector:e,locales:t,delay:n=500,download:l=!0,fullscreen:r=!0,scrollToClose:o=!0})=>{const s=wv(),a=sl(t),i=Ae(),c=ye();let f=null;const d=()=>{const{photoSwipe:h}=c.value;h!==!1&&Et().then(()=>Ni(n)).then(async()=>{const p=be(h)?h:e;f=await Ev(Sv(p),{...s.value,...a.value,download:l,fullscreen:r,scrollToClose:o})})};_e(()=>{d(),ue(()=>[i.value.path,s.value],()=>{f==null||f(),d()})}),_n(()=>{f==null||f()})};var Tv={"/zh/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"},"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to fullscreen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to fullscreen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}};const Lv=".theme-hope-content :not(a) > img:not([no-view])",Av=Tv,Pv=800,Rv=!0,Ov=!0,Iv=!0,Mv=tt({enhance:({app:e})=>{_v(e)},setup:()=>{xv({selector:Lv,delay:Pv,locales:Av,download:Rv,fullscreen:Ov,scrollToClose:Iv})}}),$v=Object.freeze(Object.defineProperty({__proto__:null,default:Mv},Symbol.toStringTag,{value:"Module"})),Nv=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Fv=(e,t)=>t.some(n=>{if(be(n))return n===e.key;const{key:l,ctrl:r=!1,shift:o=!1,alt:s=!1}=n;return l===e.key&&r===e.ctrlKey&&o===e.shiftKey&&s===e.altKey}),Dv=/[^\x00-\x7F]/,Hv=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Ys=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Qs=(e,t)=>{const n=t.join(" "),l=Hv(e);if(Dv.test(e))return l.some(s=>n.toLowerCase().indexOf(s)>-1);const r=e.endsWith(" ");return new RegExp(l.map((s,a)=>l.length===a+1&&!r?`(?=.*\\b${Ys(s)})`:`(?=.*\\b${Ys(s)}\\b)`).join("")+".+","gi").test(n)},Bv=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=l=>{e.value&&Fv(l,t.value)&&!Nv(l.target)&&(l.preventDefault(),e.value.focus())};_e(()=>{document.addEventListener("keydown",n)}),Vl(()=>{document.removeEventListener("keydown",n)})},jv=[{title:"Introduce",headers:[{level:2,title:"Summary",slug:"summary",link:"#summary",children:[]},{level:2,title:"References",slug:"references",link:"#references",children:[]}],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/en/advance-features.html",pathLocale:"/en/",extraFields:[]},{title:"Config Groups & Config Files",headers:[{level:2,title:"Config Group",slug:"config-group",link:"#config-group",children:[{level:3,title:"Summary",slug:"summary",link:"#summary",children:[]},{level:3,title:"Sources",slug:"sources",link:"#sources",children:[]},{level:3,title:"Overridden Strategy",slug:"overridden-strategy",link:"#overridden-strategy",children:[]}]},{level:2,title:"CWT Config File",slug:"cwt-config-file",link:"#cwt-config-file",children:[{level:3,title:"Summary",slug:"summary-1",link:"#summary-1",children:[]},{level:3,title:"Syntax",slug:"syntax",link:"#syntax",children:[]}]},{level:2,title:"Writing CWT Config Files",slug:"writing-cwt-config-files",link:"#writing-cwt-config-files",children:[{level:3,title:"Summary",slug:"summary-2",link:"#summary-2",children:[]},{level:3,title:"Specifications",slug:"specifications",link:"#specifications",children:[]},{level:3,title:"Specifications (Extended CWT Configs)",slug:"specifications-extended-cwt-configs",link:"#specifications-extended-cwt-configs",children:[]},{level:3,title:"FAQ",slug:"faq",link:"#faq",children:[]}]},{level:2,title:"Importing CWT Config Files",slug:"importing-cwt-config-files",link:"#importing-cwt-config-files",children:[{level:3,title:"Summary",slug:"summary-3",link:"#summary-3",children:[]}]}],path:"/en/config.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/en/core-features.html",pathLocale:"/en/",extraFields:[]},{title:"Plugin Integration",headers:[{level:2,title:"Integrate Translation Plugin",slug:"integrate-translation-plugin",link:"#integrate-translation-plugin",children:[{level:3,title:"Translate documentation",slug:"translate-documentation",link:"#translate-documentation",children:[]},{level:3,title:"Intention: Copy localisation(s) to the clipboard for locale...",slug:"intention-copy-localisation-s-to-the-clipboard-for-locale",link:"#intention-copy-localisation-s-to-the-clipboard-for-locale",children:[]}]}],path:"/en/plugin-integration.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/en/plugin-settings.html",pathLocale:"/en/",extraFields:[]},{title:"Quick Start",headers:[{level:2,title:"Usages",slug:"usages",link:"#usages",children:[]},{level:2,title:"Tips",slug:"tips",link:"#tips",children:[]},{level:2,title:"Known Issues",slug:"known-issues",link:"#known-issues",children:[]}],path:"/en/quick-start.html",pathLocale:"/en/",extraFields:[]},{title:"介绍",headers:[{level:2,title:"概述",slug:"概述",link:"#概述",children:[]},{level:2,title:"参考",slug:"参考",link:"#参考",children:[]}],path:"/zh/",pathLocale:"/zh/",extraFields:[]},{title:"",headers:[],path:"/zh/advance-features.html",pathLocale:"/zh/",extraFields:[]},{title:"规则分组与规则文件",headers:[{level:2,title:"规则分组",slug:"config-group",link:"#config-group",children:[{level:3,title:"概述",slug:"概述",link:"#概述",children:[]},{level:3,title:"来源",slug:"来源",link:"#来源",children:[]},{level:3,title:"覆盖策略",slug:"覆盖策略",link:"#覆盖策略",children:[]}]},{level:2,title:"CWT规则文件",slug:"cwt-config-file",link:"#cwt-config-file",children:[{level:3,title:"概述",slug:"概述-1",link:"#概述-1",children:[]},{level:3,title:"语法",slug:"语法",link:"#语法",children:[]}]},{level:2,title:"编写CWT规则文件",slug:"writing-cwt-config-files",link:"#writing-cwt-config-files",children:[{level:3,title:"概述",slug:"概述-2",link:"#概述-2",children:[]},{level:3,title:"编写规范",slug:"编写规范",link:"#编写规范",children:[]},{level:3,title:"编写规范(扩展的CWT规则)",slug:"编写规范-扩展的cwt规则",link:"#编写规范-扩展的cwt规则",children:[]},{level:3,title:"FAQ",slug:"faq",link:"#faq",children:[]}]},{level:2,title:"导入CWT规则文件",slug:"importing-cwt-config-files",link:"#importing-cwt-config-files",children:[{level:3,title:"概述",slug:"概述-3",link:"#概述-3",children:[]}]}],path:"/zh/config.html",pathLocale:"/zh/",extraFields:[]},{title:"",headers:[],path:"/zh/core-features.html",pathLocale:"/zh/",extraFields:[]},{title:"插件集成",headers:[{level:2,title:"集成Translation插件",slug:"集成translation插件",link:"#集成translation插件",children:[{level:3,title:"翻译文档内容",slug:"翻译文档内容",link:"#翻译文档内容",children:[]},{level:3,title:"意向:复制本地化到剪贴板并将本地化文本翻译为指定的语言区域",slug:"意向-复制本地化到剪贴板并将本地化文本翻译为指定的语言区域",link:"#意向-复制本地化到剪贴板并将本地化文本翻译为指定的语言区域",children:[]}]}],path:"/zh/plugin-integration.html",pathLocale:"/zh/",extraFields:[]},{title:"",headers:[],path:"/zh/plugin-settings.html",pathLocale:"/zh/",extraFields:[]},{title:"快速开始",headers:[{level:2,title:"使用",slug:"使用",link:"#使用",children:[]},{level:2,title:"提示",slug:"提示",link:"#提示",children:[]},{level:2,title:"已知问题",slug:"已知问题",link:"#已知问题",children:[]}],path:"/zh/quick-start.html",pathLocale:"/zh/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],zv=J(jv),Vv=()=>zv,Wv=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:l})=>{const r=k(()=>e.value.filter(o=>o.pathLocale===t.value));return k(()=>{const o=n.value.trim().toLowerCase();if(!o)return[];const s=[],a=(i,c)=>{Qs(o,[c.title])&&s.push({link:`${i.path}#${c.slug}`,title:i.title,header:c.title});for(const f of c.children){if(s.length>=l.value)return;a(i,f)}};for(const i of r.value){if(s.length>=l.value)break;if(Qs(o,[i.title,...i.extraFields])){s.push({link:i.path,title:i.title});continue}for(const c of i.headers){if(s.length>=l.value)break;a(i,c)}}return s})},Uv=e=>{const t=J(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},qv=K({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:l}=Ru(e),r=zt(),o=Vt(),s=Vv(),a=J(null),i=J(!1),c=J(""),f=k(()=>t.value[o.value]??{}),d=Wv({searchIndex:s,routeLocale:o,query:c,maxSuggestions:l}),{focusIndex:h,focusNext:p,focusPrev:b}=Uv(d);Bv({input:a,hotKeys:n});const y=k(()=>i.value&&!!d.value.length),C=()=>{y.value&&b()},w=()=>{y.value&&p()},_=m=>{if(!y.value)return;const E=d.value[m];E&&r.push(E.link).then(()=>{c.value="",h.value=0})};return()=>u("form",{class:"search-box",role:"search"},[u("input",{ref:a,type:"search",placeholder:f.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onInput:m=>c.value=m.target.value,onKeydown:m=>{switch(m.key){case"ArrowUp":{C();break}case"ArrowDown":{w();break}case"Enter":{m.preventDefault(),_(h.value);break}}}}),y.value&&u("ul",{class:"suggestions",onMouseleave:()=>h.value=-1},d.value.map(({link:m,title:E,header:$},R)=>u("li",{class:["suggestion",{focus:h.value===R}],onMouseenter:()=>h.value=R,onMousedown:()=>_(R)},u("a",{href:m,onClick:A=>A.preventDefault()},[u("span",{class:"page-title"},E),$&&u("span",{class:"page-header"},`> ${$}`)]))))])}});var Kv=["s","/"],Gv={"/zh/":{placeholder:"搜索"},"/en/":{placeholder:"Search"}};const Yv=Gv,Qv=Kv,Jv=20,Xv=tt({enhance({app:e}){e.component("SearchBox",t=>u(qv,{locales:Yv,hotKeys:Qv,maxSuggestions:Jv,...t}))}}),Zv=Object.freeze(Object.defineProperty({__proto__:null,default:Xv},Symbol.toStringTag,{value:"Module"}));var eg={autoLocale:!0,switchLocale:"direct",localeConfig:{"/zh/":["zh-CN","zh-TW","zh"],"/en/":["en-US","en-UK","en"]},defaultLocale:"/en/",localeFallback:!0,defaultBehavior:"defaultLocale"};const Ji=eg,Js=bo(Ji.localeConfig);var tg={"/zh/":{name:"简体中文",hint:"您的首选语言是 $1,是否切换到该语言?",switch:"切换到 $1",cancel:"取消"},"/en/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"},"/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"}};const Xs=tg,{switchLocale:Zs}=Ji,br=Ap("VUEPRESS_REDIRECT_LOCALES",{}),ng=K({name:"RedirectModal",setup(){const e=Tp(),t=zt(),n=Oi(),l=Vt(),r=J(),o=So(r),s=k(()=>{if(Js.some(([c])=>l.value===c)){for(const c of e.value)for(const[f,d]of Js)if(d.includes(c))return f===l.value?null:{lang:c,localePath:f}}return null}),a=k(()=>{if(s.value){const{lang:c,localePath:f}=s.value,d=[Xs[l.value],Xs[f]];return{hint:d.map(({hint:h})=>h.replace("$1",c)),switch:d.map(({switch:h})=>h.replace("$1",c)).join(" / "),cancel:d.map(({cancel:h})=>h).join(" / ")}}return null}),i=()=>{t.replace(n.value.replace(l.value,s.value.localePath))};return ue(n,()=>{o.value=!1}),_e(async()=>{r.value=document.body,await Et(),!br.value[l.value]&&s.value&&(Zs==="direct"?i():Zs==="modal"&&(o.value=!0))}),Vl(()=>{o.value=!1}),()=>u(gi,{name:"redirect-modal-fade"},()=>{var c,f,d;return o.value?u("div",{key:"mask",class:"redirect-modal-mask"},u("div",{key:"popup",class:"redirect-modal-wrapper"},[u("div",{class:"redirect-modal-content"},(c=a.value)==null?void 0:c.hint.map(h=>u("p",h))),u("button",{type:"button",class:"redirect-modal-action primary",onClick:()=>{br.value[l.value]=!0,o.value=!1,i()}},(f=a.value)==null?void 0:f.switch),u("button",{type:"button",class:"redirect-modal-action",onClick:()=>{br.value[l.value]=!0,o.value=!1}},(d=a.value)==null?void 0:d.cancel)])):null})}}),lg=tt({setup(){},rootComponents:[ng]}),rg=Object.freeze(Object.defineProperty({__proto__:null,default:lg},Symbol.toStringTag,{value:"Module"})),Ce=({name:e="",color:t="currentColor",ariaLabel:n},{attrs:l,slots:r})=>{var o;return u("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":n??`${e} icon`,...l},(o=r.default)==null?void 0:o.call(r))};Ce.displayName="IconBase";const Eo=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},og=e=>ol(e)?e:`https://github.com/${e}`,xo=(e="")=>!ol(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,Xi=()=>u(Ce,{name:"github"},()=>u("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Xi.displayName="GitHubIcon";const Zi=()=>u(Ce,{name:"gitee"},()=>u("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Zi.displayName="GiteeIcon";const ec=()=>u(Ce,{name:"bitbucket"},()=>u("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));ec.displayName="BitbucketIcon";const tc=()=>u(Ce,{name:"source"},()=>u("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));tc.displayName="SourceIcon";const sg=({link:e,type:t=xo(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return u(n==="bitbucket"?ec:n==="github"?Xi:n==="gitlab"?"GitLab":n==="gitee"?Zi:tc)},ag=(e,t=0)=>{let n=3735928559^t,l=1103547991^t;for(let r=0,o;r>>16,2246822507),n^=Math.imul(l^l>>>13,3266489909),l=Math.imul(l^l>>>16,2246822507),l^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&l)+(n>>>0)},nc=(e,t)=>ag(e)%t,lc=/#.*$/u,ig=e=>{const t=lc.exec(e);return t?t[0]:""},ea=e=>decodeURI(e).replace(lc,"").replace(/\/index\.html$/iu,"/").replace(/\/(README|index)\.md$/iu,"/").replace(/\.(?:html|md)$/iu,""),rc=(e,t)=>{if(!ep(t))return!1;const n=ea(e.path),l=ea(t),r=ig(t);return r?r===e.hash&&(!l||n===l):n===l};var cg=e=>Object.prototype.toString.call(e)==="[object Object]",Kn=e=>typeof e=="string";const oc=Array.isArray,ta=e=>cg(e)&&Kn(e.name),na=(e,t=!1)=>e?oc(e)?e.map(n=>Kn(n)?{name:n}:ta(n)?n:null).filter(n=>n!==null):Kn(e)?[{name:e}]:ta(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],sc=(e,t)=>{if(e){if(oc(e)&&e.every(Kn))return e;if(Kn(e))return[e];console.error(`Expect ${t} to be \`string[] | string | undefined\`, but got`,e)}return[]},ug=e=>sc(e,"category"),fg=e=>sc(e,"tag"),ac=()=>{const e=Ae();return k(()=>e.value.readingTime??null)},dg=(e,t)=>{const{minutes:n,words:l}=e,{less1Minute:r,word:o,time:s}=t;return{time:n<1?r:s.replace("$time",Math.round(n).toString()),words:o.replace("$word",l.toString())}};var la={"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}};const ra={words:"",time:""},Nr=typeof la>"u"?null:la,hg=()=>Nr?sl(Nr):k(()=>null),pg=()=>{if(typeof Nr>"u")return k(()=>ra);const e=ac(),t=hg();return k(()=>e.value&&t.value?dg(e.value,t.value):ra)},Wt=()=>Ki(),fe=()=>sv(),nt=()=>{const e=Wt();return k(()=>!!e.value.pure)},Fr=()=>null,vg="719px",gg="1440px",mg="false",bg="9",Jl={mobileBreakPoint:vg,pcBreakPoint:gg,enableThemeColor:mg,colorNumber:bg},To={"/":[]},ic=e=>{const{icon:t="",color:n,size:l}=e,r=n||l?{}:null;return n&&(r.color=n),l&&(r.height=Number.isNaN(Number(l))?l:`${l}px`),ol(t)?u("img",{class:"icon",src:t,alt:"","no-view":"",style:r}):yo(t)?u("img",{class:"icon",src:Pe(t),alt:"","aria-hidden":"","no-view":"",style:r}):u(it("FontIcon"),e)};ic.displayName="HopeIcon";var Fe=ic;const cc=()=>{const e=fe();return k(()=>e.value.author)},yg="http://.",Lo=()=>{const e=zt(),t=mt();return n=>{if(n)if(yo(n))t.path!==n&&e.push(n);else if(rl(n))window&&window.open(n);else{const l=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${l}/${encodeURI(n)}`,yg).pathname)}}},uc=()=>{const e=ye(),t=cc();return k(()=>{const{author:n}=e.value;return n?na(n):n===!1?[]:na(t.value,!1)})},wg=()=>{const e=ye();return k(()=>ug(e.value.category??e.value.categories).map(t=>({name:t,path:""})))},_g=()=>{const e=ye();return k(()=>fg(e.value.tag??e.value.tags).map(t=>({name:t,path:""})))},Cg=()=>{const e=ye(),t=Ae();return k(()=>{const n=np(e.value.date);if(n)return n;const{createdTime:l}=t.value.git??{};return l?new Date(l):null})},Sg=()=>{const e=fe(),t=Ae(),n=ye(),l=uc(),r=wg(),o=_g(),s=Cg(),a=ac(),i=pg(),c=k(()=>({author:l.value,category:r.value,date:s.value,localizedDate:t.value.localizedDate,tag:o.value,isOriginal:n.value.isOriginal??!1,readingTime:a.value,readingTimeLocale:i.value,pageview:n.value.pageview??!0})),f=k(()=>n.value.pageInfo??e.value.pageInfo??null);return{info:c,items:f}},Ao=(e,t)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):rc(e,t.link),Po=(e,t)=>"children"in t?!!t.prefix&&rc(e,t.prefix)||t.children.some(n=>Po(e,n)):Ao(e,t),Dr=e=>!fo(e)&&!rl(e);var vt=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(vt||{}),kg=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(kg||{}),Eg=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Eg||{});const $l=(e,t=!1,n)=>{const{meta:l,path:r,notFound:o}=kt(e,n);return o?{text:r,link:r}:{text:!t&&l[vt.shortTitle]?l[vt.shortTitle]:l[vt.title]||r,link:r,...l[vt.icon]?{icon:l[vt.icon]}:{}}},Xt=(e="",t="")=>yo(t)||rl(t)?t:`${bi(e)}${t}`,fc=(e,t)=>{const n=be(e)?$l(Xt(t,e)):e.link?{...e,link:Dr(e.link)?kt(Xt(t,e.link)).path:e.link}:e;if("children"in n){const l=Xt(t,n.prefix),r=n.children==="structure"?To[l]:n.children;return{...n,prefix:l,children:r.map(o=>fc(o,l))}}return{...n}},Hr=({config:e,prefix:t=""})=>e.map(n=>fc(n,t)),xg=({config:e,routePath:t,headerDepth:n})=>{const l=Yl(e).sort((r,o)=>o.length-r.length);for(const r of l)if(Ml(decodeURI(t),r)){const o=e[r];return Hr({config:o==="structure"?To[r]:o||[],headerDepth:n,prefix:r})}return console.warn(`${decodeURI(t)} is missing sidebar config.`),[]},Tg=({config:e,headerDepth:t,routeLocale:n,routePath:l})=>e==="structure"?Hr({config:To[n],headerDepth:t,prefix:n}):Mr(e)?Hr({config:e,headerDepth:t}):Wl(e)?xg({config:e,routePath:l,headerDepth:t}):[],dc=Symbol(""),Lg=()=>{const e=ye(),t=fe(),n=Vt(),l=Oi(),r=k(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),o=k(()=>e.value.headerDepth??t.value.headerDepth??2),s=k(()=>Tg({config:r.value,headerDepth:o.value,routeLocale:n.value,routePath:l.value}));dn(dc,s)},Ro=()=>{const e=Re(dc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},{mobileBreakPoint:Ag,pcBreakPoint:Pg}=Jl,oa=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Xl=()=>{const e=J(!1),t=J(!1),n=()=>{e.value=window.innerWidth<=(oa(Ag)??719),t.value=window.innerWidth>=(oa(Pg)??1440)};return Le("resize",n,!1),Le("orientationchange",n,!1),_e(()=>{n()}),{isMobile:e,isPC:t}},hc=Symbol(""),cl=()=>{const e=Re(hc);if(!e)throw new Error("useDarkmode() is called without provider.");return e},Rg=e=>{const t=Wt(),n=kp(),l=k(()=>t.value.darkmode??"switch"),r=ji("vuepress-theme-hope-scheme","auto"),o=k(()=>{const a=l.value;return a==="disable"?!1:a==="enable"?!0:a==="auto"?n.value:a==="toggle"?r.value==="dark":r.value==="dark"||r.value==="auto"&&n.value}),s=k(()=>{const a=l.value;return a==="switch"||a==="toggle"});e.provide(hc,{canToggle:s,config:l,isDarkmode:o,status:r}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>o.value}})},Og=()=>{const{config:e,isDarkmode:t,status:n}=cl();Ja(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),_e(()=>{ue(t,l=>document.documentElement.setAttribute("data-theme",l?"dark":"light"),{immediate:!0})})};var Ig=K({name:"PageFooter",setup(){const e=Wt(),t=fe(),n=ye(),l=uc(),r=k(()=>{const{copyright:c,footer:f}=n.value;return f!==!1&&!!(c||f||t.value.displayFooter)}),o=k(()=>{const{footer:c}=n.value;return c===!1?!1:be(c)?c:t.value.footer??""}),s=k(()=>l.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${s.value} ${c?`${c} Licensed`:""}`,i=k(()=>{const{copyright:c,license:f=""}=n.value,{license:d}=e.value,{copyright:h}=t.value;return c??(f?a(f):h??(s.value||d?a(d):!1))});return()=>r.value?u("footer",{class:"vp-footer-wrapper"},[o.value?u("div",{class:"vp-footer",innerHTML:o.value}):null,i.value?u("div",{class:"vp-copyright",innerHTML:i.value}):null]):null}}),Be=K({name:"AutoLink",props:{config:{type:Object,required:!0}},emits:["focusout"],slots:Object,setup(e,{emit:t,slots:n}){return()=>{const{icon:l}=e.config;return u(Yh,{...e,onFocusout:()=>t("focusout")},{default:n.default?()=>n.default():null,before:n.before?()=>n.before():l?()=>u(Fe,{icon:l}):null,after:n.after?()=>n.after():null})}}}),pc=K({name:"NavbarDropdown",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Ae(),l=Hl(e,"config"),r=k(()=>l.value.ariaLabel??l.value.text),o=J(!1);ue(()=>n.value.path,()=>{o.value=!1});const s=a=>{a.detail===0&&(o.value=!o.value)};return()=>{var a;return u("div",{class:["vp-dropdown-wrapper",{open:o.value}]},[u("button",{type:"button",class:"vp-dropdown-title","aria-label":r.value,onClick:s},[((a=t.title)==null?void 0:a.call(t))||[u(Fe,{icon:l.value.icon}),e.config.text],u("span",{class:"arrow"}),u("ul",{class:"vp-dropdown"},l.value.children.map((i,c)=>{const f=c===l.value.children.length-1;return u("li",{class:"vp-dropdown-item"},"children"in i?[u("h4",{class:"vp-dropdown-subtitle"},i.link?u(Be,{config:i,onFocusout:()=>{i.children.length===0&&f&&(o.value=!1)}}):i.text),u("ul",{class:"vp-dropdown-subitems"},i.children.map((d,h)=>u("li",{class:"vp-dropdown-subitem"},u(Be,{config:d,onFocusout:()=>{h===i.children.length-1&&f&&(o.value=!1)}}))))]:u(Be,{config:i,onFocusout:()=>{f&&(o.value=!1)}}))}))])])}}});const vc=()=>u(Ce,{name:"i18n"},()=>[u("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);vc.displayName="I18nIcon";const gc=(e,t="")=>be(e)?$l(Xt(t,e)):"children"in e?{...e,...e.link&&Dr(e.link)?{link:kt(Xt(t,e.link)).path}:{},children:e.children.map(n=>gc(n,Xt(t,e.prefix)))}:{...e,link:Dr(e.link)?kt(Xt(t,e.link)).path:e.link},mc=()=>{const e=fe();return k(()=>(e.value.navbar||[]).map(t=>gc(t)))},Mg=()=>{const e=Zh(),t=mt(),n=Vt(),l=mo(),r=Kl(),o=Wt(),s=fe();return k(()=>{const a=Yl(l.value.locales),i=bo(o.value.extraLocales??{});if(a.length<2&&!i.length)return null;const{path:c,fullPath:f}=t,{navbarLocales:d}=s.value;return{text:"",ariaLabel:d==null?void 0:d.selectLangAriaLabel,children:[...a.map(h=>{var _,m,E;const p=((_=l.value.locales)==null?void 0:_[h])??{},b=((m=o.value.locales)==null?void 0:m[h])??{},y=p.lang,C=((E=b.navbarLocales)==null?void 0:E.langName)??y;let w;if(y===r.value.lang)w=f;else{const $=c.replace(n.value,h);w=e.value.some(R=>R===$)?f.replace(c,$):b.home??h}return{text:C,link:w}}),...i.map(([h,p])=>({text:h,link:p.replace(":route",t.fullPath.replace(n.value,""))}))]}})},$g=()=>{const e=fe(),t=k(()=>e.value.repo),n=k(()=>t.value?og(t.value):null),l=k(()=>t.value?xo(t.value):null),r=k(()=>n.value?e.value.repoLabel??l.value??"Source":null);return k(()=>!n.value||!r.value||e.value.repoDisplay===!1?null:{type:l.value??"Source",label:r.value,link:n.value})};var Ng=K({name:"LanguageDropdown",setup(){const e=Mg();return()=>e.value?u("div",{class:"vp-nav-item"},u(pc,{config:e.value},{title:()=>{var t;return u(vc,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),Fg=K({name:"NavScreenMenu",props:{config:{type:Object,required:!0}},setup(e){const t=Ae(),n=Hl(e,"config"),l=k(()=>n.value.ariaLabel??n.value.text),r=J(!1);ue(()=>t.value.path,()=>{r.value=!1});const o=(s,a)=>a[a.length-1]===s;return()=>[u("button",{type:"button",class:["vp-nav-screen-menu-title",{active:r.value}],"aria-label":l.value,onClick:()=>{r.value=!r.value}},[u("span",{class:"text"},[u(Fe,{icon:n.value.icon}),e.config.text]),u("span",{class:["arrow",r.value?"down":"end"]})]),u("ul",{class:["vp-nav-screen-menu",{hide:!r.value}]},n.value.children.map(s=>u("li",{class:"vp-nav-screen-menu-item"},"children"in s?[u("h4",{class:"vp-nav-screen-menu-subtitle"},s.link?u(Be,{config:s,onFocusout:()=>{o(s,n.value.children)&&s.children.length===0&&(r.value=!1)}}):s.text),u("ul",{class:"vp-nav-screen-menu-subitems"},s.children.map(a=>u("li",{class:"vp-nav-screen-menu-subitem"},u(Be,{config:a,onFocusout:()=>{o(a,s.children)&&o(s,n.value.children)&&(r.value=!1)}}))))]:u(Be,{config:s,onFocusout:()=>{o(s,n.value.children)&&(r.value=!1)}}))))]}}),Dg=K({name:"NavScreenLinks",setup(){const e=mc();return()=>e.value.length?u("nav",{class:"nav-screen-links"},e.value.map(t=>u("div",{class:"navbar-links-item"},"children"in t?u(Fg,{config:t}):u(Be,{config:t})))):null}});const bc=()=>u(Ce,{name:"dark"},()=>u("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));bc.displayName="DarkIcon";const yc=()=>u(Ce,{name:"light"},()=>u("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));yc.displayName="LightIcon";const wc=()=>u(Ce,{name:"auto"},()=>u("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));wc.displayName="AutoIcon";const _c=()=>u(Ce,{name:"enter-fullscreen"},()=>u("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));_c.displayName="EnterFullScreenIcon";const Cc=()=>u(Ce,{name:"cancel-fullscreen"},()=>u("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Cc.displayName="CancelFullScreenIcon";const Sc=()=>u(Ce,{name:"outlook"},()=>[u("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Sc.displayName="OutlookIcon";var kc=K({name:"ColorModeSwitch",setup(){const{config:e,isDarkmode:t,status:n}=cl(),l=nt(),r=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},o=async s=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!l.value)||!s){r();return}const a=s.clientX,i=s.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(i,innerHeight-i)),f=t.value;await document.startViewTransition(async()=>{r(),await Et()}).ready,t.value!==f&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${a}px ${i}px)`,`circle(0px at ${a}px ${i}px)`]:[`circle(0px at ${a}px ${i}px)`,`circle(${c}px at ${a}px ${i}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>u("button",{type:"button",class:"vp-color-mode-switch",id:"color-mode-switch",onClick:o},[u(wc,{style:{display:n.value==="auto"?"block":"none"}}),u(bc,{style:{display:n.value==="dark"?"block":"none"}}),u(yc,{style:{display:n.value==="light"?"block":"none"}})])}}),Hg=K({name:"ColorMode",setup(){const e=fe(),{canToggle:t}=cl(),n=k(()=>e.value.outlookLocales.darkmode);return()=>t.value?u("div",{class:"vp-color-mode"},[u("label",{class:"vp-color-mode-title",for:"color-mode-switch"},n.value),u(kc)]):null}});const sa=Jl.enableThemeColor==="true";var Ec=K({name:"ToggleFullScreenButton",setup(){const e=fe(),{isSupported:t,isFullscreen:n,toggle:l}=Co(),r=k(()=>e.value.outlookLocales.fullscreen);return()=>t?u("div",{class:"full-screen-wrapper"},[u("label",{class:"full-screen-title",for:"full-screen-switch"},r.value),u("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>l()},n.value?u(Cc):u(_c))]):null}}),xc=K({name:"OutlookSettings",setup(){const e=Wt(),t=nt(),n=k(()=>!t.value&&e.value.fullscreen);return()=>u(Gl,()=>[null,u(Hg),n.value?u(Ec):null])}}),Bg=K({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const l=Ae(),{isMobile:r}=Xl(),o=et(),s=So(o);return _e(()=>{o.value=document.body,ue(r,a=>{!a&&e.show&&(s.value=!1,t("close"))}),ue(()=>l.value.path,()=>{s.value=!1,t("close")})}),_n(()=>{s.value=!1}),()=>u(Ht,{name:"fade",onEnter:()=>{s.value=!0},onAfterLeave:()=>{s.value=!1}},()=>{var a,i;return e.show?u("div",{id:"nav-screen",class:"vp-nav-screen"},u("div",{class:"vp-nav-screen-container"},[(a=n.before)==null?void 0:a.call(n),u(Dg),u("div",{class:"vp-outlook-wrapper"},u(xc)),(i=n.after)==null?void 0:i.call(n)])):null})}}),jg=K({name:"NavbarBrand",setup(){const e=Vt(),t=Kl(),n=fe(),l=k(()=>n.value.home??e.value),r=k(()=>t.value.title),o=k(()=>n.value.navbarTitle??r.value),s=k(()=>n.value.logo?Pe(n.value.logo):null),a=k(()=>n.value.logoDark?Pe(n.value.logoDark):null);return()=>u(at,{to:l.value,class:"vp-brand"},()=>[s.value?u("img",{class:["vp-nav-logo",{light:!!a.value}],src:s.value,alt:""}):null,a.value?u("img",{class:["vp-nav-logo dark"],src:a.value,alt:""}):null,o.value?u("span",{class:["vp-site-name",{"hide-in-pad":s.value&&(n.value.hideSiteNameOnMobile??!0)}]},o.value):null])}}),zg=K({name:"NavbarLinks",setup(){const e=mc();return()=>e.value.length?u("nav",{class:"vp-nav-links"},e.value.map(t=>u("div",{class:"vp-nav-item hide-in-mobile"},"children"in t?u(pc,{config:t}):u(Be,{config:t})))):null}}),Vg=K({name:"RepoLink",setup(){const e=$g();return()=>e.value?u("div",{class:"vp-nav-item vp-action"},u("a",{class:"vp-action-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},u(sg,{type:e.value.type,style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Tc=({active:e=!1},{emit:t})=>u("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},u("span",[u("span",{class:"vp-top"}),u("span",{class:"vp-middle"}),u("span",{class:"vp-bottom"})]));Tc.displayName="ToggleNavbarButton";const Br=(e,{emit:t})=>u("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},u("span",{class:"icon"}));Br.displayName="ToggleSidebarButton",Br.emits=["toggle"];var Wg=K({name:"OutlookButton",setup(){const e=Wt(),t=Ae(),{canToggle:n}=cl(),{isSupported:l}=Co(),r=nt(),o=J(!1),s=k(()=>!r.value&&e.value.fullscreen&&l),a=k(()=>n.value||s.value);return ue(()=>t.value.path,()=>{o.value=!1}),()=>a.value?u("div",{class:"vp-nav-item hide-in-mobile"},n.value&&!s.value&&!sa?u(kc):s.value&&!n.value&&!sa?u(Ec):u("button",{type:"button",class:["vp-outlook-button",{open:o.value}],tabindex:"-1","aria-hidden":!0},[u(Sc),u("div",{class:"vp-outlook-dropdown"},u(xc))])):null}}),Ug=K({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const l=fe(),{isMobile:r}=Xl(),o=J(!1),s=k(()=>{const{navbarAutoHide:f="mobile"}=l.value;return f!=="none"&&(f==="always"||r.value)}),a=k(()=>l.value.navbarLayout??{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:jg,Language:Ng,Links:zg,Repo:Vg,Outlook:Wg,Search:Xe("Docsearch")?it("Docsearch"):Xe("SearchBox")?it("SearchBox"):Fr},c=f=>i[f]??(Xe(f)?it(f):Fr);return()=>{var f,d,h,p,b,y,C,w,_;return[u("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":s.value}]},[u("div",{class:"vp-navbar-start"},[u(Br,{onToggle:()=>{o.value&&(o.value=!1),t("toggleSidebar")}}),(f=n.startBefore)==null?void 0:f.call(n),(d=a.value.start)==null?void 0:d.map(m=>u(c(m))),(h=n.startAfter)==null?void 0:h.call(n)]),u("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(b=a.value.center)==null?void 0:b.map(m=>u(c(m))),(y=n.centerAfter)==null?void 0:y.call(n)]),u("div",{class:"vp-navbar-end"},[(C=n.endBefore)==null?void 0:C.call(n),(w=a.value.end)==null?void 0:w.map(m=>u(c(m))),(_=n.endAfter)==null?void 0:_.call(n),u(Tc,{active:o.value,onToggle:()=>{o.value=!o.value}})])]),u(Bg,{show:o.value,onClose:()=>{o.value=!1}},{before:n.screenTop?()=>n.screenTop():null,after:n.screenBottom?()=>n.screenBottom():null})]}}}),qg=K({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=mt();return()=>be(e.config.link)?u(Be,{class:["vp-sidebar-link",{active:Ao(t,e.config)}],config:{...e.config,exact:!0}}):u("p",e,[u(Fe,{icon:e.config.icon}),e.config.text])}}),Kg=K({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=mt(),l=J(!1),r=k(()=>Po(n,e.config)),o=k(()=>Ao(n,e.config)),s=k(()=>e.open||e.config.expanded&&!l.value);return()=>{const{collapsible:a,children:i=[],icon:c,prefix:f,link:d,text:h}=e.config;return u("section",{class:"vp-sidebar-group"},[u(a?"button":"p",{class:["vp-sidebar-header",{clickable:a||d,exact:o.value,active:r.value}],...a?{type:"button",onClick:()=>{l.value=!0,t("toggle")}}:{}},[u(Fe,{icon:c}),d?u(Be,{class:"vp-sidebar-title no-external-link-icon",config:{text:h,link:d}}):u("span",{class:"vp-sidebar-title"},h),a?u("span",{class:["vp-arrow",s.value?"down":"end"]}):null]),s.value||!a?u(Lc,{key:f,config:i}):null])}}}),Lc=K({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=mt(),n=J(-1),l=r=>{n.value=r===n.value?-1:r};return ue(()=>t.path,()=>{const r=e.config.findIndex(o=>Po(t,o));n.value=r},{immediate:!0,flush:"post"}),()=>u("ul",{class:"vp-sidebar-links"},e.config.map((r,o)=>u("li","children"in r?u(Kg,{config:r,open:o===n.value,onToggle:()=>l(o)}):u(qg,{config:r}))))}}),Gg=K({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=mt(),l=Ro(),r=et();return _e(()=>{ue(()=>n.hash,o=>{const s=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${o}"]`);if(!s)return;const{top:a,height:i}=r.value.getBoundingClientRect(),{top:c,height:f}=s.getBoundingClientRect();ca+i&&s.scrollIntoView(!1)},{immediate:!0})}),()=>{var o,s,a;return u("aside",{ref:r,key:"sidebar",id:"sidebar",class:"vp-sidebar"},[(o=t.top)==null?void 0:o.call(t),((s=t.default)==null?void 0:s.call(t))??u(Lc,{config:l.value}),(a=t.bottom)==null?void 0:a.call(t)])}}}),Ac=K({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=zt(),l=ye(),r=Wt(),o=fe(),{isMobile:s,isPC:a}=Xl(),i=nt(),[c,f]=$r(!1),[d,h]=$r(!1),p=Ro(),b=J(!1),y=k(()=>e.noNavbar||l.value.navbar===!1||o.value.navbar===!1?!1:!!(o.value.logo??o.value.repo??o.value.navbar)),C=k(()=>e.noSidebar?!1:l.value.sidebar!==!1&&p.value.length!==0&&!l.value.home),w=k(()=>l.value.externalLinkIcon??r.value.externalLinkIcon??!0),_=k(()=>!e.noToc&&!l.value.home&&(l.value.toc??o.value.toc??!0)),m={x:0,y:0},E=A=>{m.x=A.changedTouches[0].clientX,m.y=A.changedTouches[0].clientY},$=A=>{const V=A.changedTouches[0].clientX-m.x,B=A.changedTouches[0].clientY-m.y;Math.abs(V)>Math.abs(B)*1.5&&Math.abs(V)>40&&(V>0&&m.x<=80?f(!0):f(!1))};let R=0;return Le("scroll",dp(()=>{const A=window.scrollY;A<=58||A{A||f(!1)}),_e(()=>{const A=So(document.body);ue(c,B=>{A.value=B});const V=n.afterEach(()=>{f(!1)});_n(()=>{A.value=!1,V()})}),()=>u(Xe("GlobalEncrypt")?it("GlobalEncrypt"):Eo,()=>u("div",{class:["theme-container",{"hide-navbar":b.value,"no-navbar":!y.value,"sidebar-collapsed":!s.value&&!a.value&&d.value,"sidebar-open":s.value&&c.value,"no-sidebar":!C.value&&!t.sidebar&&!t.sidebarTop&&!t.sidebarBottom,"external-link-icon":w.value,pure:i.value,"has-toc":_.value},e.containerClass,l.value.containerClass??""],onTouchStart:E,onTouchEnd:$},[y.value?u(Ug,{onToggleSidebar:()=>f()},{startBefore:t.navbarStartBefore?()=>t.navbarStartBefore():null,startAfter:t.navbarStartAfter?()=>t.navbarStartAfter():null,centerBefore:t.navbarCenterBefore?()=>t.navbarCenterBefore():null,centerAfter:t.navbarCenterAfter?()=>t.navbarCenterAfter():null,endBefore:t.navbarEndBefore?()=>t.navbarEndBefore():null,endAfter:t.navbarEndAfter?()=>t.navbarEndAfter():null,screenTop:t.navScreenTop?()=>t.navScreenTop():null,screenBottom:t.navScreenBottom?()=>t.navScreenBottom():null}):null,u(Ht,{name:"fade"},()=>c.value?u("div",{class:"vp-sidebar-mask",onClick:()=>f(!1)}):null),u(Ht,{name:"fade"},()=>s.value?null:u("div",{class:"toggle-sidebar-wrapper",onClick:()=>h()},u("span",{class:["arrow",d.value?"end":"start"]}))),u(Gg,{},{default:t.sidebar?()=>t.sidebar():null,top:t.sidebarTop?()=>t.sidebarTop():null,bottom:t.sidebarBottom?()=>t.sidebarBottom():null}),t.default(),u(Ig)]))}});const Ge=K({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=r=>{r.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,r.style.transform="translateY(-20px)",r.style.opacity="0"},l=r=>{r.style.transform="translateY(0)",r.style.opacity="1"};return()=>{const r={name:"drop",appear:e.appear,onAppear:n,onAfterAppear:l,onEnter:n,onAfterEnter:l,onBeforeLeave:n},o=()=>t.default();return e.type==="group"?u(gi,r,o):u(Ht,r,o)}}}),Gn=({custom:e})=>u($i,{class:["theme-hope-content",{custom:e}]});Gn.displayName="MarkdownContent",Gn.props={custom:Boolean};const Pc=()=>u(Ce,{name:"author"},()=>u("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Pc.displayName="AuthorIcon";const Rc=()=>u(Ce,{name:"calendar"},()=>u("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Rc.displayName="CalendarIcon";const Oc=()=>u(Ce,{name:"category"},()=>u("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Oc.displayName="CategoryIcon";const Ic=()=>u(Ce,{name:"print"},()=>u("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Ic.displayName="PrintIcon";const Mc=()=>u(Ce,{name:"tag"},()=>u("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Mc.displayName="TagIcon";const $c=()=>u(Ce,{name:"timer"},()=>u("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));$c.displayName="TimerIcon";const Nc=()=>u(Ce,{name:"word"},()=>[u("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),u("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Nc.displayName="WordIcon";const Ut=()=>{const e=fe();return k(()=>e.value.metaLocales)};var Yg=K({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0}},setup(e){const t=Ut(),n=nt();return()=>e.author.length?u("span",{class:"page-author-info","aria-label":`${t.value.author}${n.value?"":"🖊"}`,...n.value?{}:{"data-balloon-pos":"up"}},[u(Pc),u("span",e.author.map(l=>l.url?u("a",{class:"page-author-item",href:l.url,target:"_blank",rel:"noopener noreferrer"},l.name):u("span",{class:"page-author-item"},l.name))),u("span",{property:"author",content:e.author.map(l=>l.name).join(", ")})]):null}}),Qg=K({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0}},setup(e){const t=Ut(),n=Lo(),l=nt();return()=>e.category.length?u("span",{class:"page-category-info","aria-label":`${t.value.category}${l.value?"":"🌈"}`,...l.value?{}:{"data-balloon-pos":"up"}},[u(Oc),e.category.map(({name:r,path:o})=>u("span",{class:["page-category-item",{[`color${nc(r,Number(Jl.colorNumber))}`]:!l.value,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),u("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),Jg=K({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""}},setup(e){const t=Ri(),n=Ut(),l=nt();return()=>e.date?u("span",{class:"page-date-info","aria-label":`${n.value.date}${l.value?"":"📅"}`,...l.value?{}:{"data-balloon-pos":"up"}},[u(Rc),u("span",u(Gl,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),u("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),Xg=K({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Ut();return()=>e.isOriginal?u("span",{class:"page-original-info"},t.value.origin):null}}),Zg=K({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null}},setup(e){const t=Ut(),n=nt(),l=k(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?u("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${n.value?"":"⌛"}`,...n.value?{}:{"data-balloon-pos":"up"}},[u($c),u("span",(o=e.readingTimeLocale)==null?void 0:o.time),u("meta",{property:"timeRequired",content:l.value})]):null}}}),em=K({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]}},setup(e){const t=Ut(),n=Lo(),l=nt();return()=>e.tag.length?u("span",{class:"page-tag-info","aria-label":`${t.value.tag}${l.value?"":"🏷"}`,...l.value?{}:{"data-balloon-pos":"up"}},[u(Mc),e.tag.map(({name:r,path:o})=>u("span",{class:["page-tag-item",{[`color${nc(r,Number(Jl.colorNumber))}`]:!l.value,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),u("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),tm=K({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null}},setup(e){const t=Ut(),n=nt();return()=>{var l,r,o;return(l=e.readingTimeLocale)!=null&&l.words?u("span",{class:"page-word-info","aria-label":`${t.value.words}${n.value?"":"🔠"}`,...n.value?{}:{"data-balloon-pos":"up"}},[u(Nc),u("span",(r=e.readingTimeLocale)==null?void 0:r.words),u("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),nm=K({name:"PageInfo",components:{AuthorInfo:Yg,CategoryInfo:Qg,DateInfo:Jg,OriginalInfo:Xg,PageViewInfo:Fr,ReadingTimeInfo:Zg,TagInfo:em,WordInfo:tm},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=nt();return()=>e.items?u("div",{class:"page-info"},e.items.map(n=>u(it(`${n}Info`),{...e.info,isPure:t.value}))):null}}),lm=K({name:"PrintButton",setup(){const e=Wt(),t=fe();return()=>e.value.print===!1?null:u("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},u(Ic))}}),rm=K({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=mt(),l=Ae(),r=Ut(),[o,s]=$r(),a=et(),i=J("-1.7rem"),c=d=>{var h;(h=a.value)==null||h.scrollTo({top:d,behavior:"smooth"})},f=()=>{if(a.value){const d=document.querySelector(".vp-toc-item.active");d?i.value=`${d.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return _e(()=>{ue(()=>n.hash,d=>{if(a.value){const h=document.querySelector(`#toc a.vp-toc-link[href$="${d}"]`);if(!h)return;const{top:p,height:b}=a.value.getBoundingClientRect(),{top:y,height:C}=h.getBoundingClientRect();yp+b&&c(a.value.scrollTop+y+C-p-b)}}),ue(()=>n.fullPath,f,{flush:"post",immediate:!0})}),()=>{var b,y;const d=({title:C,level:w,slug:_})=>u(at,{to:`#${_}`,class:["vp-toc-link",`level${w}`],onClick:()=>{s()}},()=>C),h=(C,w)=>C.length&&w>0?u("ul",{class:"vp-toc-list"},C.map(_=>{const m=h(_.children,w-1);return[u("li",{class:["vp-toc-item",{active:n.hash===`#${_.slug}`}]},d(_)),m?u("li",m):null]})):null,p=e.items.length?h(e.items,e.headerDepth):l.value.headers?h(l.value.headers,e.headerDepth):null;return p?u("div",{class:"vp-toc-placeholder"},[u("aside",{id:"toc"},[(b=t.before)==null?void 0:b.call(t),u("div",{class:"vp-toc-header",onClick:()=>{s()}},[r.value.toc,u(lm),u("div",{class:["arrow",o.value?"down":"end"]})]),u("div",{class:["vp-toc-wrapper",o.value?"open":""],ref:a},[p,u("div",{class:"vp-toc-marker",style:{top:i.value}})]),(y=t.after)==null?void 0:y.call(t)])]):null}}}),Fc=K({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Ae(),n=fe(),l=et(),r=({target:o})=>{const s=document.querySelector(o.hash);if(s){const a=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",a)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",a),s.focus(),window.scrollTo(0,0)}};return _e(()=>{ue(()=>t.value.path,()=>l.value.focus())}),()=>[u("span",{ref:l,tabindex:"-1"}),u("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:r},n.value.routeLocales.skipToContent)]}});let yr=null,xn=null;const jr={wait:()=>yr,pending:()=>{yr=new Promise(e=>{xn=e})},resolve:()=>{xn==null||xn(),yr=null,xn=null}},Dc=(e,{slots:t})=>u(Ht,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:jr.resolve,onBeforeLeave:jr.pending},()=>t.default());Dc.displayName="FadeSlideY";const om=(e,t)=>{const n=e.replace(t,"/").split("/"),l=[];let r=ho(t);return n.forEach((o,s)=>{s!==n.length-1?(r+=`${o}/`,l.push({link:r,name:o||"Home"})):o!==""&&(r+=o,l.push({link:r,name:o}))}),l},aa=(e,t)=>e===!1?e:Wl(e)?{...e,link:$l(e.link,!0,t).link}:be(e)?$l(e,!0,t):null,zr=(e,t,n)=>{const l=e.findIndex(o=>o.link===t);if(l!==-1){const o=e[l+n];return o?o.link?o:"prefix"in o&&!kt(o.prefix).notFound?{...o,link:o.prefix}:null:null}for(const o of e)if("children"in o){const s=zr(o.children,t,n);if(s)return s}const r=e.findIndex(o=>"prefix"in o&&o.prefix===t);if(r!==-1){const o=e[r+n];return o?o.link?o:"prefix"in o&&!kt(o.prefix).notFound?{...o,link:o.prefix}:null:null}return null},sm=()=>{const e=ye(),t=fe(),n=Ro(),l=mt(),r=k(()=>{const s=aa(e.value.prev,l.path);return s===!1?null:s??(t.value.prevLink===!1?null:zr(n.value,l.path,-1))}),o=k(()=>{const s=aa(e.value.next,l.path);return s===!1?null:s??(t.value.nextLink===!1?null:zr(n.value,l.path,1))});return{prevLink:r,nextLink:o}},Vr=(e,{slots:t})=>{var d,h;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:o,description:s,image:a,imageDark:i,header:c,features:f=[]}=e;return u("div",{class:"vp-feature-wrapper"},[n?u("div",{class:["vp-feature-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?u("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${l})`},r]}):null,u("div",{class:"vp-feature",style:o?{color:o}:{}},[((d=t.image)==null?void 0:d.call(t,e))??[a?u("img",{class:["vp-feature-image",{light:i}],src:Pe(a),alt:""}):null,i?u("img",{class:"vp-feature-image dark",src:Pe(i),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))??[c?u("h2",{class:"vp-feature-header"},c):null,s?u("p",{class:"vp-feature-description",innerHTML:s}):null],f.length?u("div",{class:"vp-features"},f.map(({icon:p,title:b,details:y,link:C})=>{const w=[u("h3",{class:"vp-feature-title"},[u(Fe,{icon:p}),u("span",{innerHTML:b})]),u("p",{class:"vp-feature-details",innerHTML:y})];return C?fo(C)?u("a",{class:"vp-feature-item link",href:C,"aria-label":b,target:"_blank"},w):u(at,{class:"vp-feature-item link",to:C,"aria-label":b},()=>w):u("div",{class:"vp-feature-item"},w)})):null])])};Vr.displayName="FeaturePanel";var am=K({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=ye(),l=Kl(),r=k(()=>n.value.heroFullScreen??!1),o=k(()=>{const{heroText:c,tagline:f}=n.value;return{text:c??l.value.title??"Hello",tagline:f??l.value.description??"",isFullScreen:r.value}}),s=k(()=>{const{heroText:c,heroImage:f,heroImageDark:d,heroAlt:h,heroImageStyle:p}=n.value;return{image:f?Pe(f):null,imageDark:d?Pe(d):null,imageStyle:p,alt:h??c??"",isFullScreen:r.value}}),a=k(()=>{const{bgImage:c,bgImageDark:f,bgImageStyle:d}=n.value;return{image:be(c)?Pe(c):null,imageDark:be(f)?Pe(f):null,bgStyle:d,isFullScreen:r.value}}),i=k(()=>n.value.actions??[]);return()=>{var c,f,d;return u("header",{class:["vp-hero-info-wrapper",{fullscreen:r.value}]},[((c=t.bg)==null?void 0:c.call(t,a.value))??[a.value.image?u("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.bgStyle]}):null,a.value.imageDark?u("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.bgStyle]}):null],u("div",{class:"vp-hero-info"},[((f=t.logo)==null?void 0:f.call(t,s.value))??u(Ge,{appear:!0,type:"group"},()=>{const{image:h,imageDark:p,imageStyle:b,alt:y}=s.value;return[h?u("img",{key:"light",class:["vp-hero-image",{light:p}],style:b,src:h,alt:y}):null,p?u("img",{key:"dark",class:"vp-hero-image dark",style:b,src:p,alt:y}):null]}),((d=t.info)==null?void 0:d.call(t,o.value))??u("div",{class:"vp-hero-infos"},[o.value.text?u(Ge,{appear:!0,delay:.04},()=>u("h1",{id:"main-title",class:"vp-hero-title"},o.value.text)):null,o.value.tagline?u(Ge,{appear:!0,delay:.08},()=>u("p",{id:"main-description",innerHTML:o.value.tagline})):null,i.value.length?u(Ge,{appear:!0,delay:.12},()=>u("p",{class:"vp-hero-actions"},i.value.map(h=>u(Be,{class:["vp-hero-action",h.type??"default","no-external-link-icon"],config:h},h.icon?{before:()=>u(Fe,{icon:h.icon})}:{})))):null])])])}}});const Hc=(e,{slots:t})=>{var h,p,b;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:o,description:s,image:a,imageDark:i,header:c,highlights:f=[],type:d="un-order"}=e;return u("div",{class:"vp-highlight-wrapper",style:o?{color:o}:{}},[n?u("div",{class:["vp-highlight-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?u("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${l})`},r]}):null,u("div",{class:"vp-highlight"},[((h=t.image)==null?void 0:h.call(t,e))??[a?u("img",{class:["vp-highlight-image",{light:i}],src:Pe(a),alt:""}):null,i?u("img",{class:"vp-highlight-image dark",src:Pe(i),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))??[u("div",{class:"vp-highlight-info-wrapper"},u("div",{class:"vp-highlight-info"},[c?u("h2",{class:"vp-highlight-header",innerHTML:c}):null,s?u("p",{class:"vp-highlight-description",innerHTML:s}):null,((b=t.highlights)==null?void 0:b.call(t,f))??u(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},f.map(({icon:y,title:C,details:w,link:_})=>{const m=[u(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[y?u(Fe,{class:"vp-highlight-icon",icon:y}):null,u("span",{innerHTML:C})]),w?u(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:w}):null];return u(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:_}]},_?fo(_)?u("a",{class:"vp-highlight-item link",href:_,"aria-label":C,target:"_blank"},m):u(at,{class:"vp-highlight-item link",to:_,"aria-label":C},()=>m):u("div",{class:"vp-highlight-item"},m))}))]))]])])};Hc.displayName="HighlightPanel";var im=K({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=ye(),l=k(()=>{const{features:o}=n.value;return Mr(o)?o:null}),r=k(()=>{const{highlights:o}=n.value;return Mr(o)?o:null});return()=>{var o,s,a,i;return u("main",{id:"main-content",class:"vp-page vp-project-home","aria-labelledby":n.value.heroText===null?"":"main-title"},[(o=t.top)==null?void 0:o.call(t),u(am),((s=r.value)==null?void 0:s.map(c=>"features"in c?u(Vr,c):u(Hc,c)))??(l.value?u(Ge,{appear:!0,delay:.24},()=>u(Vr,{features:l.value})):null),(a=t.center)==null?void 0:a.call(t),u(Ge,{appear:!0,delay:.32},()=>u(Gn)),(i=t.bottom)==null?void 0:i.call(t)])}}}),cm=K({name:"BreadCrumb",setup(){const e=Ae(),t=Vt(),n=ye(),l=fe(),r=et([]),o=k(()=>(n.value.breadcrumb??l.value.breadcrumb??!0)&&r.value.length>1),s=k(()=>n.value.breadcrumbIcon??l.value.breadcrumbIcon??!0),a=()=>{const i=om(e.value.path,t.value).map(({link:c,name:f})=>{const{path:d,meta:h,notFound:p}=kt(c);return p||h[vt.breadcrumbExclude]?null:{title:h[vt.shortTitle]||h[vt.title]||f,icon:h[vt.icon],path:d}}).filter(c=>c!==null);i.length>1&&(r.value=i)};return _e(()=>{ue(()=>e.value.path,a,{immediate:!0})}),()=>u("nav",{class:["vp-breadcrumb",{disable:!o.value}]},o.value?u("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},r.value.map((i,c)=>u("li",{class:{"is-active":r.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[u(at,{to:i.path,property:"item",typeof:"WebPage"},()=>[s.value?u(Fe,{icon:i.icon}):null,u("span",{property:"name"},i.title||"Unknown")]),u("meta",{property:"position",content:c+1})]))):[])}}),um=K({name:"PageNav",setup(){const e=fe(),t=Lo(),{prevLink:n,nextLink:l}=sm();return Le("keydown",r=>{r.altKey&&(r.key==="ArrowRight"?l.value&&(t(l.value.link),r.preventDefault()):r.key==="ArrowLeft"&&n.value&&(t(n.value.link),r.preventDefault()))}),()=>n.value||l.value?u("nav",{class:"vp-page-nav"},[n.value?u(Be,{class:"prev",config:n.value},()=>{var r,o;return[u("div",{class:"hint"},[u("span",{class:"arrow start"}),e.value.metaLocales.prev]),u("div",{class:"link"},[u(Fe,{icon:(r=n.value)==null?void 0:r.icon}),(o=n.value)==null?void 0:o.text])]}):null,l.value?u(Be,{class:"next",config:l.value},()=>{var r,o;return[u("div",{class:"hint"},[e.value.metaLocales.next,u("span",{class:"arrow end"})]),u("div",{class:"link"},[(r=l.value)==null?void 0:r.text,u(Fe,{icon:(o=l.value)==null?void 0:o.icon})])]}):null]):null}});const fm=()=>{const e=fe(),t=Ae(),n=ye();return k(()=>{var l;return n.value.contributors??e.value.contributors??!0?((l=t.value.git)==null?void 0:l.contributors)??null:null})},dm={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},hm=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:l,editLinkPattern:r})=>{if(!l)return null;const o=xo(e);let s;return r?s=r:o!==null&&(s=dm[o]),s?s.replace(/:repo/u,ol(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,yi(`${ho(n)}/${l}`)):null},pm=()=>{const e=fe(),t=Ae(),n=ye();return k(()=>{const{repo:l,docsRepo:r=l,docsBranch:o="main",docsDir:s="",editLink:a,editLinkPattern:i=""}=e.value;if(!(n.value.editLink??a??!0)||!r)return null;const c=hm({docsRepo:r,docsBranch:o,docsDir:s,editLinkPattern:i,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},vm=()=>{const e=Kl(),t=fe(),n=Ae(),l=ye();return k(()=>{var r,o;return!(l.value.lastUpdated??t.value.lastUpdated??!0)||!((r=n.value.git)!=null&&r.updatedTime)?null:new Date((o=n.value.git)==null?void 0:o.updatedTime).toLocaleString(e.value.lang)})};var gm=K({name:"PageTitle",setup(){const e=Ae(),t=ye(),n=fe(),{info:l,items:r}=Sg();return()=>u("div",{class:"vp-page-title"},[u("h1",[n.value.titleIcon===!1?null:u(Fe,{icon:t.value.icon}),e.value.title]),u(nm,{info:l.value,...r.value===null?{}:{items:r.value}}),u("hr")])}});const Bc=()=>u(Ce,{name:"edit"},()=>[u("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),u("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Bc.displayName="EditIcon";var mm=K({name:"PageMeta",setup(){const e=fe(),t=pm(),n=vm(),l=fm();return()=>{var o;const{metaLocales:r}=e.value;return u("footer",{class:"vp-page-meta"},[t.value?u("div",{class:"vp-meta-item edit-link"},u(Be,{class:"vp-meta-label",config:t.value},{before:()=>u(Bc)})):null,u("div",{class:"vp-meta-item git-info"},[n.value?u("div",{class:"update-time"},[u("span",{class:"vp-meta-label"},`${r.lastUpdated}: `),u(Gl,()=>u("span",{class:"vp-meta-info"},n.value))]):null,(o=l.value)!=null&&o.length?u("div",{class:"contributors"},[u("span",{class:"vp-meta-label"},`${r.contributors}: `),l.value.map(({email:s,name:a},i)=>[u("span",{class:"vp-meta-info",title:`email: ${s}`},a),i!==l.value.length-1?",":""])]):null])])}}}),bm=K({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=ye(),{isDarkmode:l}=cl(),r=fe(),o=k(()=>n.value.toc??r.value.toc??!0),s=k(()=>n.value.headerDepth??r.value.headerDepth??2);return()=>u("main",{id:"main-content",class:"vp-page"},u(Xe("LocalEncrypt")?it("LocalEncrypt"):Eo,()=>{var a,i,c,f;return[(a=t.top)==null?void 0:a.call(t),n.value.cover?u("div",{class:"page-cover"},u("img",{src:Pe(n.value.cover),alt:"","no-view":""})):null,u(cm),u(gm),o.value?u(rm,{headerDepth:s.value},{before:t.tocBefore?()=>t.tocBefore():null,after:t.tocAfter?()=>t.tocAfter():null}):null,(i=t.contentBefore)==null?void 0:i.call(t),u(Gn),(c=t.contentAfter)==null?void 0:c.call(t),u(mm),u(um),Xe("CommentService")?u(it("CommentService"),{darkmode:l.value}):null,(f=t.bottom)==null?void 0:f.call(t)]}))}}),ym=K({name:"PortfolioHero",slots:Object,setup(e,{slots:t}){const n=cc(),l=ye(),r=J(0),o=k(()=>{var h;return((h=l.value.titles)==null?void 0:h[r.value])??""}),s=J(""),a=k(()=>{const{name:h,avatar:p,avatarDark:b,avatarAlt:y,avatarStyle:C}=l.value;return{name:h??n.value.name,avatar:p?Pe(p):null,avatarDark:b?Pe(b):null,avatarStyle:C,alt:(y||h)??""}}),i=k(()=>{const{bgImage:h,bgImageDark:p,bgImageStyle:b}=l.value;return{image:be(h)?Pe(h):null,imageDark:be(p)?Pe(p):null,bgStyle:b}}),c=k(()=>{const{welcome:h,name:p,titles:b,medias:y}=l.value;return{name:p??n.value.name,welcome:h??"👋 Hi There, I'm",title:s.value,titles:b??[],medias:y??[]}}),f=()=>{s.value="";let h=0,p=!1;const b=async()=>{if(!p)if(s.value+=o.value[h],h+=1,await Et(),h{b()},150);else{const y=c.value.titles.length;setTimeout(()=>{r.value=y<=1||r.value===c.value.titles.length-1?0:r.value+1},1e3)}};return b(),()=>{p=!0}};let d;return _e(()=>{ue(o,()=>{d==null||d(),d=f()},{immediate:!0})}),()=>{var h,p,b;return u("section",{id:"portfolio",class:["vp-portfolio",{bg:i.value.image}]},[((h=t.bg)==null?void 0:h.call(t,i.value))??[i.value.image?u("div",{class:["vp-portfolio-mask",{light:i.value.imageDark}],style:[{background:`url(${i.value.image}) center/cover no-repeat`},i.value.bgStyle]}):null,i.value.imageDark?u("div",{class:"vp-portfolio-mask dark",style:[{background:`url(${i.value.imageDark}) center/cover no-repeat`},i.value.bgStyle]}):null],((p=t.avatar)==null?void 0:p.call(t,a.value))??u("div",{class:"vp-portfolio-avatar"},[u(Ge,{delay:.04},()=>{const{avatarDark:y,name:C,alt:w,avatarStyle:_}=a.value;return[u("img",{key:"light",class:{light:y},src:a.value.avatar,title:C,alt:w,style:_}),y?u("img",{key:"dark",class:"dark",src:y,title:C,alt:w,style:_}):null]})]),u("div",{class:"vp-portfolio-container"},((b=t.info)==null?void 0:b.call(t,c.value))??u("div",{class:"vp-portfolio-info"},[u(Ge,{appear:!0,delay:.08},()=>u("h6",{class:"vp-portfolio-welcome"},c.value.welcome)),u(Ge,{appear:!0,delay:.12},()=>u("h1",{class:"vp-portfolio-name",id:"main-title"},c.value.name)),u(Ge,{appear:!0,delay:.16},()=>u("h2",{class:"vp-portfolio-title"},s.value)),u(Ge,{appear:!0,delay:.2},()=>c.value.medias.length?u("div",{class:"vp-portfolio-medias"},c.value.medias.map(({name:y,url:C,icon:w})=>u("a",{class:"vp-portfolio-media",href:C,rel:"noopener noreferrer",target:"_blank",title:y},u(Fe,{icon:w})))):Xe("SocialMedias")?u(it("SocialMedias")):null)]))])}}}),wm=K({name:"PortfolioHome",setup(){const e=ye(),t=k(()=>e.value.content??"portfolio");return()=>u("main",{id:"main-content",class:"vp-page vp-portfolio-home","aria-labelledby":"main-title"},[u(ym),t.value==="none"?null:u("div",{},u(Ge,{appear:!0,delay:.24},()=>u(Gn,{class:{"vp-portfolio-content":t.value==="portfolio"}})))])}}),_m=K({name:"Layout",slots:Object,setup(e,{slots:t}){fe();const n=Ae(),l=ye(),r=nt(),{isMobile:o}=Xl(),s=k(()=>"none");return()=>[u(Fc),u(Ac,{},{default:()=>{var a;return((a=t.default)==null?void 0:a.call(t))??(l.value.portfolio?u(wm):l.value.home?u(im):u(r.value?Eo:Dc,()=>u(bm,{key:n.value.path},{top:t.top?()=>t.top():null,bottom:t.bottom?()=>t.bottom():null,contentBefore:t.contentBefore?()=>t.contentBefore():null,contentAfter:t.contentAfter?()=>t.contentAfter():null,tocBefore:t.tocBefore?()=>t.tocBefore():null,tocAfter:t.tocAfter?()=>t.tocAfter():null})))},navScreenBottom:s.value==="none"&&Xe("BloggerInfo")?()=>u(it("BloggerInfo")):null,sidebar:!o.value&&s.value==="always"&&Xe("BloggerInfo")?()=>u(it("BloggerInfo")):null})]}}),Cm=K({name:"NotFoundHint",setup(){const e=fe(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>u("div",{class:"not-found-hint"},[u("p",{class:"error-code"},"404"),u("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),u("p",{class:"error-hint"},t())])}}),Sm=K({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=zt(),l=Vt(),r=fe();return()=>[u(Fc),u(Ac,{noSidebar:!0},()=>{var o;return u("main",{id:"main-content",class:"vp-page not-found"},((o=t.default)==null?void 0:o.call(t))??[u(Cm),u("div",{class:"actions"},[u("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},r.value.routeLocales.back),u("button",{type:"button",class:"action-button",onClick:()=>{n.push(r.value.home??l.value)}},r.value.routeLocales.home)])])})]}});zp(e=>{const t=e.t,n=e.I!==!1,l=e.i;return n?{title:t,content:l?()=>[u(Fe,{icon:l}),t]:null,order:e.O,index:e.I}:null});const km=tt({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...l)=>(await jr.wait(),n(...l)),Rg(e),e.component("HopeIcon",Fe)},setup:()=>{Og(),Lg()},layouts:{Layout:_m,NotFound:Sm}}),Em=Object.freeze(Object.defineProperty({__proto__:null,default:km},Symbol.toStringTag,{value:"Module"})),Sl=[Xh,Mp,jp,Gp,Xp,lv,cv,vv,bv,$v,Zv,rg,Em].map(e=>e.default).filter(Boolean),xm=JSON.parse('{"base":"/Paradox-Language-Support/","lang":"en-US","title":"","description":"","head":[["link",{"rel":"icon","type":"image/png","href":"/images/favicon.png"}],["meta",{"name":"msapplication-TileColor","content":"#3a92de"}],["meta",{"name":"theme-color","content":"#3a92de"}]],"locales":{"/zh/":{"lang":"zh-CN","title":"Paradox Language Support"},"/en/":{"lang":"en-US","title":"Paradox Language Support"}}}');var Ln=et(xm),Tm=vh,Lm=()=>{const e=jh({history:Tm(ho("/Paradox-Language-Support/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,l)=>l||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===wt){const l=kt(t.fullPath);if(l.path!==t.fullPath)return l.path;const r=await l.loader();t.meta={...l.meta,_pageChunk:r}}else t.path===n.path&&(t.meta=n.meta)}),e},Am=e=>{e.component("ClientOnly",Gl),e.component("Content",$i),e.component("RouteLink",at)},Pm=(e,t,n)=>{const l=k(()=>t.currentRoute.value.path),r=Aa((C,w)=>({get(){return C(),t.currentRoute.value.meta._pageChunk},set(_){t.currentRoute.value.meta._pageChunk=_,w()}})),o=k(()=>Gt.resolveLayouts(n)),s=k(()=>Gt.resolveRouteLocale(Ln.value.locales,l.value)),a=k(()=>Gt.resolveSiteLocaleData(Ln.value,s.value)),i=k(()=>r.value.comp),c=k(()=>r.value.data),f=k(()=>c.value.frontmatter),d=k(()=>Gt.resolvePageHeadTitle(c.value,a.value)),h=k(()=>Gt.resolvePageHead(d.value,f.value,a.value)),p=k(()=>Gt.resolvePageLang(c.value,a.value)),b=k(()=>Gt.resolvePageLayout(c.value,o.value)),y={layouts:o,pageData:c,pageComponent:i,pageFrontmatter:f,pageHead:h,pageHeadTitle:d,pageLang:p,pageLayout:b,redirects:Ir,routeLocale:s,routePath:l,routes:hn,siteData:Ln,siteLocaleData:a};return e.provide(go,y),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>h.value},$headTitle:{get:()=>d.value},$lang:{get:()=>p.value},$page:{get:()=>c.value},$routeLocale:{get:()=>s.value},$site:{get:()=>Ln.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>Pe}}),y},Rm=()=>{const e=Wh(),t=Ri();let n=[];const l=()=>{e.value.forEach(s=>{const a=Om(s);a&&n.push(a)})},r=()=>{const s=[];return e.value.forEach(a=>{const i=Im(a);i&&s.push(i)}),s},o=()=>{document.documentElement.lang=t.value;const s=r();n.forEach((a,i)=>{const c=s.findIndex(f=>a.isEqualNode(f));c===-1?(a.remove(),delete n[i]):s.splice(c,1)}),s.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...s]};dn(qh,o),_e(()=>{l(),ue(e,o,{immediate:!1})})},Om=([e,t,n=""])=>{const l=Object.entries(t).map(([a,i])=>be(i)?`[${a}=${JSON.stringify(i)}]`:i===!0?`[${a}]`:"").join(""),r=`head > ${e}${l}`;return Array.from(document.querySelectorAll(r)).find(a=>a.innerText===n)||null},Im=([e,t,n])=>{if(!be(e))return null;const l=document.createElement(e);return Wl(t)&&Object.entries(t).forEach(([r,o])=>{be(o)?l.setAttribute(r,o):o===!0&&l.setAttribute(r,"")}),be(n)&&l.appendChild(document.createTextNode(n)),l},Mm=Cd,$m=async()=>{var n;const e=Mm({name:"Vuepress",setup(){var o;Rm();for(const s of Sl)(o=s.setup)==null||o.call(s);const l=Sl.flatMap(({rootComponents:s=[]})=>s.map(a=>u(a))),r=Uh();return()=>[u(r.value),l]}}),t=Lm();Am(e),Pm(e,t,Sl);for(const l of Sl)await((n=l.enhance)==null?void 0:n.call(l,{app:e,router:t,siteData:Ln}));return e.use(t),{app:e,router:t}};$m().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{oi as a,si as b,Fm as c,$m as createVueApp,Se as d,Dm as e,Nm as o,it as r,Bu as w}; diff --git a/assets/config.html-CNVo8__Y.js b/assets/config.html-CNVo8__Y.js new file mode 100644 index 000000000..034067c0a --- /dev/null +++ b/assets/config.html-CNVo8__Y.js @@ -0,0 +1,181 @@ +import{_ as p,a as t}from"./parameters_1-E5MDCLKe.js";import{_ as r}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c,a as s,b as n,d as i,w as l,e,r as o,o as d}from"./app-CEUNVpLB.js";const h={},u=e(`

Config Groups & Config Files

Config Group

Summary

PLS implements various advanced language features based on config groups, which consists of many CWT config files.

Config groups can have different sources. For config groups from the same source, there are config groups for different game types, and the core config group, which is shared by all game types.

Reference Links:

Sources

Built-in Config Groups

  • Path: config/{gameType}[1] (in the plugin jar)
  • Enabled: Always
  • Customizable :No

These config files are from plugin repository and config repositories of each game. Compare to the config files used by CWTools, there are several modifications and extensions.

Local Config Groups

  • Path: {rootPath}/{gameType}[1:1] (rootPath need be to be configured in plugin's settings page)
  • Enabled: Yes if path is existing
  • Customizable :Yes

Containing config files are customized by users themselves. Available for all projects. Changes should be confirmed to import manually.

Project Config Groups

  • Path: .config/{gameType}[1:2] (in the project root directory)
  • Enabled: Yes if path is existing
  • Customizable :Yes

Containing config files are customized by users themselves. Only available for this project. Changes should be confirmed to import manually.

Overridden Strategy

Configs use the LIOS overridden strategy based on the file path and the config ID.

When reading configs, the plugin will iterate config groups by following order: built-in config groups, local config groups, and project config groups. The core config group is shared by all game types, and will be iterated before the config group for related game type.

For example, if you have written some custom configs in the config file .config/stellaris/modifiers.cwt (which is in the project root directory), it will completely override the built-in modifier configs. Since the built-in modifier configs are located in the config file config/stellaris/modifiers.cwt (which is in the plugin jar), and both of their file path is modifiers.cwt. If these are no content in the custom config file, after applied, the plugin will be unable to resolve any modifier in script files.

CWT Config File

Summary

CWT config file use its own file format, which can be considered as a variant of paradox script language. Its file extension is .cwt.

Syntax

The basic syntax of a CWT config file is as follows:

# both equal sign ('=', '==') and not equal sign ('<>', '!=') can be used as the k-v separator (also available in options)
+# properties (options) and values can be mixed in clauses (also available in options)
+
+### documentation comment
+## option = option_value
+## option_0 = { k = v }
+## option_value
+prop = {
+    # line comment
+    k = v
+    v
+}

Writing CWT Config Files

Summary

In progress.

For more detailed specifications, please refer to the reference links below and the built-in config files.

Reference Links:

Specifications

`,34),m={id:"priorities-new-in-1-3-7",tabindex:"-1"},v={class:"header-anchor",href:"#priorities-new-in-1-3-7"},g=e(`

Priority configs are used to configure the override order for targets (scripted variables, definitions, localisations and complex enums).

priorities = {
+    # LHS - file path (relative to game or mod root directory)
+    # RHS - priority (available values: "fios", "lios", "ordered", default value: "lios", ignore case)
+    
+    # file path - path of specific directory (e.g. ""common/on_actions", "common/scripted_variables", "localisation")
+    
+    # fios - use the one that reads first, ignore all remaining items
+    # lios - use the one that reads last (if not specified, use this as default)
+    # ordered - reads by order, no overrides
+    
+    "events" = fios
+    # ...
+}

System Scopes

TODO

Localisation Locales

TODO

Types and Subtypes

TODO

Declarations

TODO

Enums and Complex Enums

TODO

Dynamic Values

TODO

Aliases and Single Aliases

TODO

Inlines

TODO

Modifiers and Modifier Groups

TODO

TODO

Scopes and Scope Groups

TODO

TODO

Specifications (Extended CWT Configs)

Tips

These configs are mostly provided by users themselves, they can be used to enhance plugin's various language features, such as quick documentation, inlay hints, code highlighting and code completion.

`,28),f={id:"scripted-variables-new-in-1-3-5",tabindex:"-1"},b={class:"header-anchor",href:"#scripted-variables-new-in-1-3-5"},x=e(`
scripted_variables = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## hint = §RSome inlay hint text§!
+    x
+}

Definitions

definitions = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## type = civic_or_origin.civic
+    x
+    
+    # since 1.3.5, scope context related options are also available here
+    ## type = scripted_trigger
+    ## replace_scopes = { this = country root = country }
+    x
+}

Game Rules

game_rules = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    # use 'x = xxx' to override declaration config
+    
+    ### Some documentation
+    ## replace_scopes = { this = country root = country }
+    x
+}

On Actions

on_actions = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## replace_scopes = { this = country root = country }
+    ## event_type = country
+    x
+}

Inline Scripts

inline_scripts = {
+    # 'x' or 'x = xxx'
+    # 'x' is a inline script expression, e.g., for 'inline_script = jobs/researchers_add', 'x' should be 'jobs/researchers_add'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    # use 'x = xxx' to declare context config(s) (add '## context_configs_type = multiple' if there are various context configs)
+    # note extended documentation is unavailable for inline scripts
+    
+    x
+
+    # more detailed examples for declaring context config(s)
+
+    ## context_configs_type = multiple
+    x = {
+        ## cardinality = 0..1
+        potential = single_alias_right[trigger_clause]
+        ## cardinality = 0..1
+        possible = single_alias_right[trigger_clause]
+    }
+
+    # since 1.3.5, scope context related options are also available here
+
+    ## replace_scopes = { this = country root = country }
+    x
+    
+    # since 1.3.6, using single alias at root level is also available here
+    
+    ## context_configs_type = multiple
+    x = single_alias_right[trigger_clause]
+}

Example:

Parameters

parameters = {
+    # 'x' or 'x = xxx'
+    # 'x' is a parameter name, e.g., for '$JOB$', 'x' should be 'JOB'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    # use 'x = xxx' to declare context config(s) (add '## context_configs_type = multiple' if there are various context configs)
+    
+    # since 1.3.6, value of option 'context_key' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## context_key = scripted_trigger@some_trigger
+    x
+    
+    # more detailed examples for declaring context config(s)
+    
+    ## context_key = scripted_trigger@some_trigger
+    x = localistion
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## context_configs_type = multiple
+    x = {
+        localisation
+        scalar
+    }
+    
+    # since 1.3.5, scope context related options are also available here
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## replace_scopes = { this = country root = country }
+    x
+    
+    # since 1.3.6, using single alias at root level is also available here
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## context_configs_type = multiple
+    x = single_alias_right[trigger_clause]
+    
+    # since 1.3.12, a parameter's config context and scope context can be specified to inherit from its context
+    # e.g. for parameter 'x' with context key 'scripted_trigger@some_trigger', its context is scripted trigger 'some_trigger'
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## inherit
+    x
+}

Example:

Complex Enum Values

complex_enum_values = {
+    component_tag = {
+        # 'x' or 'x = xxx'
+        # 'x' can also be a pattern expression (template expression, ant expression or regex)
+        
+        ### Some documentation
+        ## hint = §RSome inlay hint text§!
+        x
+    }
+}

Dynamic Values

dynamic_values = {
+    event_target = {
+        # 'x' or 'x = xxx'
+        # 'x' can also be a pattern expression (template expression, ant expression or regex)
+
+        ### Some documentation
+        ## hint = §RSome inlay hint text§!
+        x
+
+        # since 1.3.9, scope context related options are also available here
+        # only receive push scope (this scope), ignore others (like root scope, etc.)
+
+        ## push_scope = country
+        x
+    }
+}

FAQ

About the Template Expression

Template expressions are composed of string literals and expressions of limited types (definitions, enums and dynamic values), and can be used for more flexible matching.

# a string literal, exactly matches 'x'
+x
+# a template expression which contains a reference to jobs, matches 'a_researcher_b', 'a_farmer_b', etc.
+a_<job>_b
+# a template expression which contains a references to enum of weight_or_base, matches 'a_weight_b' and 'a_base_b'
+a_enum[weight_or_base]_b
+# a template expression which contains a references to dynamic value type of anything
+# generally, there is no limit for 'value[anything]', so this expression is equivalent to regex 'a_.*_b'
+a_value[anything]_b
`,23),y={id:"how-to-use-the-ant-expression-in-config-files-new-in-1-3-6",tabindex:"-1"},k={class:"header-anchor",href:"#how-to-use-the-ant-expression-in-config-files-new-in-1-3-6"},_=e(`

Since 1.3.6, the ANT expression can be used for more flexible matching.

# a ant expression use prefix 'ant:'
+ant:/foo/bar?/*
+# a ant expression use prefix 'ant.i:' (ignore case)
+ant.i:/foo/bar?/*
+
+# wildcards in ant expression:
+# '?' - used to match any single character
+# '*' - used to match any characters (exclude '/')
+# '**' - used to match any characters
`,2),w={id:"how-to-us-regex-in-config-files-new-in-1-3-6",tabindex:"-1"},C={class:"header-anchor",href:"#how-to-us-regex-in-config-files-new-in-1-3-6"},S=e(`

Since 1.3.6, Regex can be used for more flexible matching.

# a regex use prefix 're:'
+re:foo.*
+# a regex use prefix 're.i:' (ignore case)
+re.i:foo.*

How to Specify the Scope Context in Config Files

In config files, the scope context is specified by option push_scope and replace_scope.

# push 'country' scope to scope stack
+# for this example, the next this scope will be 'country'
+## push_scope = country
+some_config
+
+# replace scopes of specific system scopes into scope context
+# not supported for 'prev' system scope (and 'prevprev', etc.)
+# for this example, the next this scope will be 'country', so do the next root scope and the next from scope
+## replace_scopes = { this = country root = country from = country }
+some_config

Importing CWT Config Files

Summary

You can write customized config files in directories of local config groups or project config groups. They are helpful for optimizing plugin's built-in configs, or enhancing plugin's features.

If some changes are happened, the refresh button will be appeared in the context float toolbar in the upper right corner of the editor. Click it to confirm to import, so changes of these custom config files will be applied.

IDE will take some time to reparse opened files in background, And please note that if the changes in the config files will result in the change of the indexing logic (for example, a new definition type is added, or a match condition for some definition type is changed), you may need to reindex the whole project (this may take several minutes), to make sure the plugin works properly, if in the situation that involves these changes.


  1. Allowed values for gameType: stellaris, ck2, ck3, eu4, hoi4, ir, vic2, vic3 (or core for core config group) ↩︎ ↩︎ ↩︎

`,12);function T(O,q){const a=o("Badge");return d(),c("div",null,[u,s("h4",m,[s("a",v,[s("span",null,[n("Priorities "),i(a,{type:"tip"},{default:l(()=>[n("New in 1.3.7")]),_:1})])])]),g,s("h4",f,[s("a",b,[s("span",null,[n("Scripted Variables "),i(a,{type:"tip"},{default:l(()=>[n("New in 1.3.5")]),_:1})])])]),x,s("h4",y,[s("a",k,[s("span",null,[n("How to Use the ANT Expression in Config Files "),i(a,{type:"tip"},{default:l(()=>[n("New in 1.3.6")]),_:1})])])]),_,s("h4",w,[s("a",C,[s("span",null,[n("How to Us Regex in Config Files "),i(a,{type:"tip"},{default:l(()=>[n("New in 1.3.6")]),_:1})])])]),S])}const L=r(h,[["render",T],["__file","config.html.vue"]]),P=JSON.parse('{"path":"/en/config.html","title":"Config Groups & Config Files","lang":"en-US","frontmatter":{"description":"Config Groups & Config Files Config Group Summary PLS implements various advanced language features based on config groups, which consists of many CWT config files. Config group...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/config.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/config.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"Config Groups & Config Files"}],["meta",{"property":"og:description","content":"Config Groups & Config Files Config Group Summary PLS implements various advanced language features based on config groups, which consists of many CWT config files. Config group..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Config Groups & Config Files\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"Config Group","slug":"config-group","link":"#config-group","children":[{"level":3,"title":"Summary","slug":"summary","link":"#summary","children":[]},{"level":3,"title":"Sources","slug":"sources","link":"#sources","children":[]},{"level":3,"title":"Overridden Strategy","slug":"overridden-strategy","link":"#overridden-strategy","children":[]}]},{"level":2,"title":"CWT Config File","slug":"cwt-config-file","link":"#cwt-config-file","children":[{"level":3,"title":"Summary","slug":"summary-1","link":"#summary-1","children":[]},{"level":3,"title":"Syntax","slug":"syntax","link":"#syntax","children":[]}]},{"level":2,"title":"Writing CWT Config Files","slug":"writing-cwt-config-files","link":"#writing-cwt-config-files","children":[{"level":3,"title":"Summary","slug":"summary-2","link":"#summary-2","children":[]},{"level":3,"title":"Specifications","slug":"specifications","link":"#specifications","children":[]},{"level":3,"title":"Specifications (Extended CWT Configs)","slug":"specifications-extended-cwt-configs","link":"#specifications-extended-cwt-configs","children":[]},{"level":3,"title":"FAQ","slug":"faq","link":"#faq","children":[]}]},{"level":2,"title":"Importing CWT Config Files","slug":"importing-cwt-config-files","link":"#importing-cwt-config-files","children":[{"level":3,"title":"Summary","slug":"summary-3","link":"#summary-3","children":[]}]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":5.47,"words":1640},"filePathRelative":"en/config.md","localizedDate":"September 24, 2024","autoDesc":true}');export{L as comp,P as data}; diff --git a/assets/config.html-CeTxc944.js b/assets/config.html-CeTxc944.js new file mode 100644 index 000000000..475af82d0 --- /dev/null +++ b/assets/config.html-CeTxc944.js @@ -0,0 +1,181 @@ +import{_ as p,a as c}from"./parameters_1-E5MDCLKe.js";import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as r,a as s,b as n,d as i,w as l,e as a,r as d,o}from"./app-CEUNVpLB.js";const h={},v=a(`

规则分组与规则文件

规则分组

概述

PLS基于由CWT规则文件组成的规则分组,实现了诸多语言功能。

规则分组可以有不同的来源,而对于同一来源的规则分组,又区分为各自游戏类型的规则分组,以及所有游戏类型共享的核心规则分组。

参考链接:

来源

内置的规则分组

  • 路径:config/{gameType}[1](位于插件jar包中)
  • 是否启用:始终启用
  • 是否可自定义:否

其中的规则文件来自插件仓库以及各自游戏的规则仓库,相较于CWTools所使用的规则文件,它们经过一定的修改和扩展。

本地的规则分组

  • 路径:{rootPath}/{gameType}[1:1](可在插件的配置页面中配置rootPath对应的文件路径)
  • 是否启用:如果路径存在
  • 是否可自定义:是

其中的规则文件由用户自定义,适用于所有项目。对它们的更改需要手动确认导入。

项目的规则分组

  • 路径:.config/{gameType}[1:2](位于项目根目录中)
  • 是否启用:如果路径存在
  • 是否可自定义:是

其中的规则文件由用户自定义,仅适用于当前项目。对它们的更改需要手动确认导入。

覆盖策略

规则会按照文件路径和规则ID进行后序覆盖。

读取规则时,插件会依次遍历内置的规则分组、本地的规则分组以及项目的规则分组。 核心规则分组由所有游戏类型共享,会在对应游戏类型的规则分组之前被遍历。

例如,如果你在项目根目录下的规则文件.config/stellaris/modifiers.cwt中编写了自定义的规则,它将完全覆盖插件内置的修正规则。 因为插件内置的修正规则位于插件jar包中的规则文件config/stellaris/modifiers.cwt中,它们的文件路径都是modifiers.cwt。 如果此自定义的规则文件中没有任何内容,应用后插件将无法解析脚本文件中的任何修正。

CWT规则文件

概述

CWT规则文件使用一种特别的文件格式,可以视为Paradox脚本语言的变种。它的文件扩展名为.cwt

语法

CWT规则文件的基本语法如下所示:

# both equal sign ('=', '==') and not equal sign ('<>', '!=') can be used as the k-v separator (also available in options)
+# properties (options) and values can be mixed in clauses (also available in options)
+
+### documentation comment
+## option = option_value
+## option_0 = { k = v }
+## option_value
+prop = {
+    # line comment
+    k = v
+    v
+}

编写CWT规则文件

概述

正在更新中。

关于更详细的编写规范,请参考下方的参考链接以及插件内置的那些规则文件。

参考链接:

编写规范

`,34),u={id:"priorities-new-in-1-3-7",tabindex:"-1"},m={class:"header-anchor",href:"#priorities-new-in-1-3-7"},b=a(`

优先级规则可以用来配置目标(封装变量,定义、本地化与复杂枚举)的覆盖顺序。

priorities = {
+    # LHS - file path (relative to game or mod root directory)
+    # RHS - priority (available values: "fios", "lios", "ordered", default value: "lios", ignore case)
+    
+    # file path - path of specific directory (e.g. ""common/on_actions", "common/scripted_variables", "localisation")
+    
+    # fios - use the one that reads first, ignore all remaining items
+    # lios - use the one that reads last (if not specified, use this as default)
+    # ordered - reads by order, no overrides
+    
+    "events" = fios
+    # ...
+}

System Scopes

TODO

Localisation Locales

TODO

Types and Subtypes

TODO

Declarations

TODO

Enums and Complex Enums

TODO

Dynamic Values

TODO

Aliases and Single Aliases

TODO

Inlines

TODO

Modifiers and Modifier Groups

TODO

TODO

Scopes and Scope Groups

TODO

TODO

编写规范(扩展的CWT规则)

提示

这些规则基本上由用户自行编写,用于强化插件的各项语言功能,例如快速文档、内嵌提示、代码高亮与代码补全。

`,28),g={id:"scripted-variables-new-in-1-3-5",tabindex:"-1"},f={class:"header-anchor",href:"#scripted-variables-new-in-1-3-5"},x=a(`
scripted_variables = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## hint = §RSome inlay hint text§!
+    x
+}

Definitions

definitions = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## type = civic_or_origin.civic
+    x
+    
+    # since 1.3.5, scope context related options are also available here
+    ## type = scripted_trigger
+    ## replace_scopes = { this = country root = country }
+    x
+}

Game Rules

game_rules = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    # use 'x = xxx' to override declaration config
+    
+    ### Some documentation
+    ## replace_scopes = { this = country root = country }
+    x
+}

On Actions

on_actions = {
+    # 'x' or 'x = xxx'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## replace_scopes = { this = country root = country }
+    ## event_type = country
+    x
+}

Inline Scripts

inline_scripts = {
+    # 'x' or 'x = xxx'
+    # 'x' is a inline script expression, e.g., for 'inline_script = jobs/researchers_add', 'x' should be 'jobs/researchers_add'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    # use 'x = xxx' to declare context config(s) (add '## context_configs_type = multiple' if there are various context configs)
+    # note extended documentation is unavailable for inline scripts
+    
+    x
+
+    # more detailed examples for declaring context config(s)
+
+    ## context_configs_type = multiple
+    x = {
+        ## cardinality = 0..1
+        potential = single_alias_right[trigger_clause]
+        ## cardinality = 0..1
+        possible = single_alias_right[trigger_clause]
+    }
+
+    # since 1.3.5, scope context related options are also available here
+
+    ## replace_scopes = { this = country root = country }
+    x
+    
+    # since 1.3.6, using single alias at root level is also available here
+    
+    ## context_configs_type = multiple
+    x = single_alias_right[trigger_clause]
+}

示例:

Parameters

parameters = {
+    # 'x' or 'x = xxx'
+    # 'x' is a parameter name, e.g., for '$JOB$', 'x' should be 'JOB'
+    # 'x' can also be a pattern expression (template expression, ant expression or regex)
+    # use 'x = xxx' to declare context config(s) (add '## context_configs_type = multiple' if there are various context configs)
+    
+    # since 1.3.6, value of option 'context_key' can also be a pattern expression (template expression, ant expression or regex)
+    
+    ### Some documentation
+    ## context_key = scripted_trigger@some_trigger
+    x
+    
+    # more detailed examples for declaring context config(s)
+    
+    ## context_key = scripted_trigger@some_trigger
+    x = localistion
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## context_configs_type = multiple
+    x = {
+        localisation
+        scalar
+    }
+    
+    # since 1.3.5, scope context related options are also available here
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## replace_scopes = { this = country root = country }
+    x
+    
+    # since 1.3.6, using single alias at root level is also available here
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## context_configs_type = multiple
+    x = single_alias_right[trigger_clause]
+    
+    # since 1.3.12, a parameter's config context and scope context can be specified to inherit from its context
+    # e.g. for parameter 'x' with context key 'scripted_trigger@some_trigger', its context is scripted trigger 'some_trigger'
+    
+    ## context_key = scripted_trigger@some_trigger
+    ## inherit
+    x
+}

示例:

Complex Enum Values

complex_enum_values = {
+    component_tag = {
+        # 'x' or 'x = xxx'
+        # 'x' can also be a pattern expression (template expression, ant expression or regex)
+        
+        ### Some documentation
+        ## hint = §RSome inlay hint text§!
+        x
+    }
+}

Dynamic Values

dynamic_values = {
+    event_target = {
+        # 'x' or 'x = xxx'
+        # 'x' can also be a pattern expression (template expression, ant expression or regex)
+
+        ### Some documentation
+        ## hint = §RSome inlay hint text§!
+        x
+
+        # since 1.3.9, scope context related options are also available here
+        # only receive push scope (this scope), ignore others (like root scope, etc.)
+
+        ## push_scope = country
+        x
+    }
+}

FAQ

关于模版表达式

模版表达式由字符串字面量以及限定类型的表达式(定义,枚举,动态值)组合而成,用来进行更加灵活的匹配。

# a string literal, exactly matches 'x'
+x
+# a template expression which contains a reference to jobs, matches 'a_researcher_b', 'a_farmer_b', etc.
+a_<job>_b
+# a template expression which contains a references to enum of weight_or_base, matches 'a_weight_b' and 'a_base_b'
+a_enum[weight_or_base]_b
+# a template expression which contains a references to dynamic value type of anything
+# generally, there is no limit for 'value[anything]', so this expression is equivalent to regex 'a_.*_b'
+a_value[anything]_b
`,23),k={id:"如何在规则文件中使用ant表达式-new-in-1-3-6",tabindex:"-1"},_={class:"header-anchor",href:"#如何在规则文件中使用ant表达式-new-in-1-3-6"},y=a(`

从1.3.6开始,可以通过ANT表达式进行更加灵活的匹配。

# a ant expression use prefix 'ant:'
+ant:/foo/bar?/*
+# a ant expression use prefix 'ant.i:' (ignore case)
+ant.i:/foo/bar?/*
+
+# wildcards in ant expression:
+# '?' - used to match any single character
+# '*' - used to match any characters (exclude '/')
+# '**' - used to match any characters
`,2),w={id:"如何在规则文件中使用正则表达式-new-in-1-3-6",tabindex:"-1"},T={class:"header-anchor",href:"#如何在规则文件中使用正则表达式-new-in-1-3-6"},O=a(`

从1.3.6开始,可以通过正则表达式进行更加灵活的匹配。

# a regex use prefix 're:'
+re:foo.*
+# a regex use prefix 're.i:' (ignore case)
+re.i:foo.*

如何在规则文件中指定作用域上下文

在规则文件中,作用域上下文是通过选项push_scopereplace_scope来指定的。

# push 'country' scope to scope stack
+# for this example, the next this scope will be 'country'
+## push_scope = country
+some_config
+
+# replace scopes of specific system scopes into scope context
+# not supported for 'prev' system scope (and 'prevprev', etc.)
+# for this example, the next this scope will be 'country', so do the next root scope and the next from scope
+## replace_scopes = { this = country root = country from = country }
+some_config

导入CWT规则文件

概述

你可以在本地的规则分组或者项目的规则分组对应的目录下编写自定义的规则文件。 它们可以用来完善插件内置的规则,或是增强插件的功能。

如果发生更改,编辑器右上角的上下文悬浮工具栏中会出现刷新按钮。 点击确认导入后,即可应用这些自定义的规则文件的更改。

IDE将会在后台花费一些时间重新解析已打开的文件, 并且请注意,如果规则文件的更改会引发索引逻辑的更改 (例如,新增了一种定义类型,或是更改了某种定义类型的匹配条件), 你可能需要重新索引整个项目(这可能需要花费数分钟),以使在涉及到这些更改的场合,插件能够正常工作。


  1. 允许的gameType的值:stellaris, ck2, ck3, eu4, hoi4, ir, vic2, vic3(或者core,对于核心规则分组) ↩︎ ↩︎ ↩︎

`,12);function S(q,D){const e=d("Badge");return o(),r("div",null,[v,s("h4",u,[s("a",m,[s("span",null,[n("Priorities "),i(e,{type:"tip"},{default:l(()=>[n("New in 1.3.7")]),_:1})])])]),b,s("h4",g,[s("a",f,[s("span",null,[n("Scripted Variables "),i(e,{type:"tip"},{default:l(()=>[n("New in 1.3.5")]),_:1})])])]),x,s("h4",k,[s("a",_,[s("span",null,[n("如何在规则文件中使用ANT表达式 "),i(e,{type:"tip"},{default:l(()=>[n("New in 1.3.6")]),_:1})])])]),y,s("h4",w,[s("a",T,[s("span",null,[n("如何在规则文件中使用正则表达式 "),i(e,{type:"tip"},{default:l(()=>[n("New in 1.3.6")]),_:1})])])]),O])}const z=t(h,[["render",S],["__file","config.html.vue"]]),W=JSON.parse('{"path":"/zh/config.html","title":"规则分组与规则文件","lang":"zh-CN","frontmatter":{"description":"规则分组与规则文件 规则分组 概述 PLS基于由CWT规则文件组成的规则分组,实现了诸多语言功能。 规则分组可以有不同的来源,而对于同一来源的规则分组,又区分为各自游戏类型的规则分组,以及所有游戏类型共享的核心规则分组。 参考链接: 仓库一览 来源 内置的规则分组 路径:config/{gameType}[1](位于插件jar包中) 是否启用:始终启用...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/config.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/config.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"规则分组与规则文件"}],["meta",{"property":"og:description","content":"规则分组与规则文件 规则分组 概述 PLS基于由CWT规则文件组成的规则分组,实现了诸多语言功能。 规则分组可以有不同的来源,而对于同一来源的规则分组,又区分为各自游戏类型的规则分组,以及所有游戏类型共享的核心规则分组。 参考链接: 仓库一览 来源 内置的规则分组 路径:config/{gameType}[1](位于插件jar包中) 是否启用:始终启用..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"规则分组与规则文件\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"规则分组","slug":"config-group","link":"#config-group","children":[{"level":3,"title":"概述","slug":"概述","link":"#概述","children":[]},{"level":3,"title":"来源","slug":"来源","link":"#来源","children":[]},{"level":3,"title":"覆盖策略","slug":"覆盖策略","link":"#覆盖策略","children":[]}]},{"level":2,"title":"CWT规则文件","slug":"cwt-config-file","link":"#cwt-config-file","children":[{"level":3,"title":"概述","slug":"概述-1","link":"#概述-1","children":[]},{"level":3,"title":"语法","slug":"语法","link":"#语法","children":[]}]},{"level":2,"title":"编写CWT规则文件","slug":"writing-cwt-config-files","link":"#writing-cwt-config-files","children":[{"level":3,"title":"概述","slug":"概述-2","link":"#概述-2","children":[]},{"level":3,"title":"编写规范","slug":"编写规范","link":"#编写规范","children":[]},{"level":3,"title":"编写规范(扩展的CWT规则)","slug":"编写规范-扩展的cwt规则","link":"#编写规范-扩展的cwt规则","children":[]},{"level":3,"title":"FAQ","slug":"faq","link":"#faq","children":[]}]},{"level":2,"title":"导入CWT规则文件","slug":"importing-cwt-config-files","link":"#importing-cwt-config-files","children":[{"level":3,"title":"概述","slug":"概述-3","link":"#概述-3","children":[]}]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":7.03,"words":2109},"filePathRelative":"zh/config.md","localizedDate":"2024年9月24日","autoDesc":true}');export{z as comp,W as data}; diff --git a/assets/core-features.html-CqOH4SAU.js b/assets/core-features.html-CqOH4SAU.js new file mode 100644 index 000000000..510318544 --- /dev/null +++ b/assets/core-features.html-CqOH4SAU.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as r,a}from"./app-CEUNVpLB.js";const o={},n=a("p",null,"TODO",-1),c=[n];function i(p,m){return r(),t("div",null,c)}const d=e(o,[["render",i],["__file","core-features.html.vue"]]),h=JSON.parse('{"path":"/zh/core-features.html","title":"","lang":"zh-CN","frontmatter":{"description":"TODO","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/core-features.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/core-features.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:description","content":"TODO"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0,"words":1},"filePathRelative":"zh/core-features.md","localizedDate":"2024年9月24日","autoDesc":true}');export{d as comp,h as data}; diff --git a/assets/core-features.html-GjPlSMzN.js b/assets/core-features.html-GjPlSMzN.js new file mode 100644 index 000000000..01ffce93d --- /dev/null +++ b/assets/core-features.html-GjPlSMzN.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as r,a}from"./app-CEUNVpLB.js";const o={},n=a("p",null,"TODO",-1),c=[n];function i(p,m){return r(),t("div",null,c)}const d=e(o,[["render",i],["__file","core-features.html.vue"]]),h=JSON.parse('{"path":"/en/core-features.html","title":"","lang":"en-US","frontmatter":{"description":"TODO","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/core-features.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/core-features.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:description","content":"TODO"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0,"words":1},"filePathRelative":"en/core-features.md","localizedDate":"September 24, 2024","autoDesc":true}');export{d as comp,h as data}; diff --git a/assets/index.html-BzmMZese.js b/assets/index.html-BzmMZese.js new file mode 100644 index 000000000..6678456fc --- /dev/null +++ b/assets/index.html-BzmMZese.js @@ -0,0 +1 @@ +import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as l,a as n,b as e,d as a,w as r,e as o,r as s,o as c}from"./app-CEUNVpLB.js";const p="/Paradox-Language-Support/assets/preview_1_en-Cicssda6.png",g={},u=o('

Introduce

Summary

GitHub | Plugin Marketplace Page | Discord

IDEA plugin: Support for Paradox language.

Features:

  • Supports script & localisation languages and CWT language (used by config files).
  • Provides various almost excellent language features for script & localisation languages, including code highlight, code navigation, code completion, code inspection, code refactoring, quick documentation, inlay hints, live templates, code hierarchy, diagram, diff and more.
  • Provides basic language features for CWT language, including code highlight, code navigation, quick documentation and more.
  • Supports rendering scope context, localisation text, DDS images and other useful information via quick documentation and inlay hints.
  • Supports most advanced features of script & localisation languages (such as parameters, scopes, inline scripts and various complex expressions).
  • Supports customizing extended config files, allowing plugin to provide more perfect language features (such as code navigation, code completion, quick documentation and inlay hints).
  • Automatically recognizes the game directory (containing the launcher settings file launcher-settings.json) and mod directory (containing the mod descriptor file descriptor.mod).
',6),d=n("a",{href:"https://github.com/YiiGuxing/TranslationPlugin",target:"_blank",rel:"noopener noreferrer"},"Translation",-1),m=o('

References

Reference manual:

Tools and plugins:

Wiki:

',8);function h(f,_){const t=s("RouteLink");return c(),l("div",null,[u,n("p",null,[e("This plugin has implemented various advanced language features based on "),a(t,{to:"/en/config.html#config-group"},{default:r(()=>[e("config groups")]),_:1}),e(", which consists of CWT config files. The latest-version config files are already built into this plugin, make it works right out of the box. Besides, "),a(t,{to:"/en/config.html#writing-cwt-config-files"},{default:r(()=>[e("customizing")]),_:1}),e(" and "),a(t,{to:"/en/config.html#importing-cwt-config-files"},{default:r(()=>[e("importing")]),_:1}),e(" local config files are also supported.")]),n("p",null,[e("If "),d,e(" is also installed, this plugin can provide some "),a(t,{to:"/en/plugin-integration.html"},{default:r(()=>[e("additional features")]),_:1}),e(".")]),m])}const x=i(g,[["render",h],["__file","index.html.vue"]]),y=JSON.parse('{"path":"/en/","title":"Introduce","lang":"en-US","frontmatter":{"description":"Introduce Summary GitHub | Plugin Marketplace Page | Discord IDEA plugin: Support for Paradox language. Features: Supports script & localisation languages and CWT language (used...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"Introduce"}],["meta",{"property":"og:description","content":"Introduce Summary GitHub | Plugin Marketplace Page | Discord IDEA plugin: Support for Paradox language. Features: Supports script & localisation languages and CWT language (used..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Introduce\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"Summary","slug":"summary","link":"#summary","children":[]},{"level":2,"title":"References","slug":"references","link":"#references","children":[]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":1.07,"words":321},"filePathRelative":"en/README.md","localizedDate":"September 24, 2024","autoDesc":true}');export{x as comp,y as data}; diff --git a/assets/index.html-D2IGkW7s.js b/assets/index.html-D2IGkW7s.js new file mode 100644 index 000000000..8ea293f03 --- /dev/null +++ b/assets/index.html-D2IGkW7s.js @@ -0,0 +1 @@ +import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as l,a as o,b as e,d as r,w as a,e as n,r as s,o as p}from"./app-CEUNVpLB.js";const c="/Paradox-Language-Support/assets/preview_1_zh-Cb81Ertl.png",g={},h=n('

介绍

概述

GitHub | Plugin Marketplace Page | Discord | QQ群:653824651

IDEA插件:Paradox语言支持。

特性:

  • 支持脚本语言与本地化语言,以及规则文件所使用的CWT语言。
  • 为脚本语言与本地化语言提供诸多较为完备的语言功能,包括代码高亮、代码导航、代码补全、代码检查、代码重构、快速文档、内嵌提示、动态模版、代码层级、图表、差异比较等。
  • 为CWT语言提供基础的语言功能,包括代码高亮、代码导航、快速文档等。
  • 支持通过快速文档与内嵌提示等方式,渲染作用域上下文、本地化文本、DDS图片以及其他有用的信息。
  • 支持脚本语言与本地化语言的多数高级特性(例如参数、作用域、内联脚本和各种复杂表达式)。
  • 支持自定义扩展的规则文件,从而允许插件提供更加完善的语言功能(例如代码导航、代码补全、快速文档和内嵌提示)。
  • 自动识别游戏目录(包含启动器配置文件launcher-settings.json)和模组目录(包含模组描述符文件descriptor.mod)。
',6),d=o("a",{href:"https://github.com/YiiGuxing/TranslationPlugin",target:"_blank",rel:"noopener noreferrer"},"Translation",-1),u=n('

参考

参考手册:

工具和插件:

Wiki:

',8);function m(f,_){const t=s("RouteLink");return p(),l("div",null,[h,o("p",null,[e("此插件基于由CWT规则文件组成的"),r(t,{to:"/zh/config.html#config-group"},{default:a(()=>[e("规则分组")]),_:1}),e(",实现了诸多语言功能。 插件已经内置了最新版本的规则文件,以便开箱即用。 除此之外,插件也支持"),r(t,{to:"/zh/config.html#writing-cwt-config-files"},{default:a(()=>[e("自定义")]),_:1}),e("与"),r(t,{to:"/zh/config.html#importing-cwt-config-files"},{default:a(()=>[e("导入")]),_:1}),e("本地的规则文件。")]),o("p",null,[e("如果同时安装了 "),d,e(" ,此插件可以提供一些"),r(t,{to:"/zh/plugin-integration.html"},{default:a(()=>[e("额外的功能")]),_:1}),e("。")]),u])}const x=i(g,[["render",m],["__file","index.html.vue"]]),w=JSON.parse('{"path":"/zh/","title":"介绍","lang":"zh-CN","frontmatter":{"description":"介绍 概述 GitHub | Plugin Marketplace Page | Discord | QQ群:653824651 IDEA插件:Paradox语言支持。 特性: 支持脚本语言与本地化语言,以及规则文件所使用的CWT语言。 为脚本语言与本地化语言提供诸多较为完备的语言功能,包括代码高亮、代码导航、代码补全、代码检查、代码重构、快速文档、内...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"介绍"}],["meta",{"property":"og:description","content":"介绍 概述 GitHub | Plugin Marketplace Page | Discord | QQ群:653824651 IDEA插件:Paradox语言支持。 特性: 支持脚本语言与本地化语言,以及规则文件所使用的CWT语言。 为脚本语言与本地化语言提供诸多较为完备的语言功能,包括代码高亮、代码导航、代码补全、代码检查、代码重构、快速文档、内..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"介绍\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"概述","slug":"概述","link":"#概述","children":[]},{"level":2,"title":"参考","slug":"参考","link":"#参考","children":[]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":1.68,"words":505},"filePathRelative":"zh/README.md","localizedDate":"2024年9月24日","autoDesc":true}');export{x as comp,w as data}; diff --git a/assets/inline_scripts_1-yKrsHaqt.png b/assets/inline_scripts_1-yKrsHaqt.png new file mode 100644 index 000000000..56f7236d0 Binary files /dev/null and b/assets/inline_scripts_1-yKrsHaqt.png differ diff --git a/assets/intention_copy_loc_for_locale-C4QIHec9.gif b/assets/intention_copy_loc_for_locale-C4QIHec9.gif new file mode 100644 index 000000000..10abb5aa7 Binary files /dev/null and b/assets/intention_copy_loc_for_locale-C4QIHec9.gif differ diff --git a/assets/intention_copy_loc_for_locale-HyhT4N-Y.js b/assets/intention_copy_loc_for_locale-HyhT4N-Y.js new file mode 100644 index 000000000..7875741de --- /dev/null +++ b/assets/intention_copy_loc_for_locale-HyhT4N-Y.js @@ -0,0 +1 @@ +const a="/Paradox-Language-Support/assets/translate_documentation-B2ai8mXP.gif",o="/Paradox-Language-Support/assets/intention_copy_loc_for_locale-C4QIHec9.gif";export{a as _,o as a}; diff --git a/assets/parameters_1-CIbMC7kI.png b/assets/parameters_1-CIbMC7kI.png new file mode 100644 index 000000000..189a82d4c Binary files /dev/null and b/assets/parameters_1-CIbMC7kI.png differ diff --git a/assets/parameters_1-E5MDCLKe.js b/assets/parameters_1-E5MDCLKe.js new file mode 100644 index 000000000..188fc126d --- /dev/null +++ b/assets/parameters_1-E5MDCLKe.js @@ -0,0 +1 @@ +const a="/Paradox-Language-Support/assets/inline_scripts_1-yKrsHaqt.png",s="/Paradox-Language-Support/assets/parameters_1-CIbMC7kI.png";export{a as _,s as a}; diff --git a/assets/photoswipe.esm-GXRgw7eJ.js b/assets/photoswipe.esm-GXRgw7eJ.js new file mode 100644 index 000000000..2fd7cfd3f --- /dev/null +++ b/assets/photoswipe.esm-GXRgw7eJ.js @@ -0,0 +1,4 @@ +/*! + * PhotoSwipe 5.4.4 - https://photoswipe.com + * (c) 2024 Dmytro Semenov + */function f(r,t,i){const e=document.createElement(t);return r&&(e.className=r),i&&i.appendChild(e),e}function p(r,t){return r.x=t.x,r.y=t.y,t.id!==void 0&&(r.id=t.id),r}function M(r){r.x=Math.round(r.x),r.y=Math.round(r.y)}function A(r,t){const i=Math.abs(r.x-t.x),e=Math.abs(r.y-t.y);return Math.sqrt(i*i+e*e)}function x(r,t){return r.x===t.x&&r.y===t.y}function I(r,t,i){return Math.min(Math.max(r,t),i)}function b(r,t,i){let e=`translate3d(${r}px,${t||0}px,0)`;return i!==void 0&&(e+=` scale3d(${i},${i},1)`),e}function y(r,t,i,e){r.style.transform=b(t,i,e)}const $="cubic-bezier(.4,0,.22,1)";function R(r,t,i,e){r.style.transition=t?`${t} ${i}ms ${e||$}`:"none"}function L(r,t,i){r.style.width=typeof t=="number"?`${t}px`:t,r.style.height=typeof i=="number"?`${i}px`:i}function U(r){R(r)}function q(r){return"decode"in r?r.decode().catch(()=>{}):r.complete?Promise.resolve(r):new Promise((t,i)=>{r.onload=()=>t(r),r.onerror=i})}const _={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function G(r){return"button"in r&&r.button===1||r.ctrlKey||r.metaKey||r.altKey||r.shiftKey}function K(r,t,i=document){let e=[];if(r instanceof Element)e=[r];else if(r instanceof NodeList||Array.isArray(r))e=Array.from(r);else{const s=typeof r=="string"?r:t;s&&(e=Array.from(i.querySelectorAll(s)))}return e}function C(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let F=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{F=!0}}))}catch{}class X{constructor(){this._pool=[]}add(t,i,e,s){this._toggleListener(t,i,e,s)}remove(t,i,e,s){this._toggleListener(t,i,e,s,!0)}removeAll(){this._pool.forEach(t=>{this._toggleListener(t.target,t.type,t.listener,t.passive,!0,!0)}),this._pool=[]}_toggleListener(t,i,e,s,n,o){if(!t)return;const a=n?"removeEventListener":"addEventListener";i.split(" ").forEach(l=>{if(l){o||(n?this._pool=this._pool.filter(d=>d.type!==l||d.listener!==e||d.target!==t):this._pool.push({target:t,type:l,listener:e,passive:s}));const c=F?{passive:s||!1}:!1;t[a](l,e,c)}})}}function B(r,t){if(r.getViewportSizeFn){const i=r.getViewportSizeFn(r,t);if(i)return i}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function S(r,t,i,e,s){let n=0;if(t.paddingFn)n=t.paddingFn(i,e,s)[r];else if(t.padding)n=t.padding[r];else{const o="padding"+r[0].toUpperCase()+r.slice(1);t[o]&&(n=t[o])}return Number(n)||0}function N(r,t,i,e){return{x:t.x-S("left",r,t,i,e)-S("right",r,t,i,e),y:t.y-S("top",r,t,i,e)-S("bottom",r,t,i,e)}}class Y{constructor(t){this.slide=t,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(t){this.currZoomLevel=t,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(t){const{pswp:i}=this.slide,e=this.slide[t==="x"?"width":"height"]*this.currZoomLevel,n=S(t==="x"?"left":"top",i.options,i.viewportSize,this.slide.data,this.slide.index),o=this.slide.panAreaSize[t];this.center[t]=Math.round((o-e)/2)+n,this.max[t]=e>o?Math.round(o-e)+n:this.center[t],this.min[t]=e>o?n:this.center[t]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(t,i){return I(i,this.max[t],this.min[t])}}const T=4e3;class H{constructor(t,i,e,s){this.pswp=s,this.options=t,this.itemData=i,this.index=e,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,i,e){const s={x:t,y:i};this.elementSize=s,this.panAreaSize=e;const n=e.x/s.x,o=e.y/s.y;this.fit=Math.min(1,no?n:o),this.vFill=Math.min(1,o),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const i=t+"ZoomLevel",e=this.options[i];if(e)return typeof e=="function"?e(this):e==="fill"?this.fill:e==="fit"?this.fit:Number(e)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>T&&(t=T/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}class j{constructor(t,i,e){this.data=t,this.index=i,this.pswp=e,this.isActive=i===e.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!e.opener.isOpen,this.zoomLevels=new H(e.options,t,i,e),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:i}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=f("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new Y(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(t){t&&!this.isActive?this.activate():!t&&this.isActive&&this.deactivate()}append(t){this.holderElement=t,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:t}=this;this.heavyAppended||!t.opener.isOpen||t.mainScroll.isShifted()||!this.isActive&&!!0||this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel===this.zoomLevels.initial||!this.isActive?(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize()):(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y))}updateContentSize(t){const i=this.currentResolution||this.zoomLevels.initial;if(!i)return;const e=Math.round(this.width*i)||this.pswp.viewportSize.x,s=Math.round(this.height*i)||this.pswp.viewportSize.y;!this.sizeChanged(e,s)&&!t||this.content.setDisplayedSize(e,s)}sizeChanged(t,i){return t!==this.prevDisplayedWidth||i!==this.prevDisplayedHeight?(this.prevDisplayedWidth=t,this.prevDisplayedHeight=i,!0):!1}getPlaceholderElement(){var t;return(t=this.content.placeholder)===null||t===void 0?void 0:t.element}zoomTo(t,i,e,s){const{pswp:n}=this;if(!this.isZoomable()||n.mainScroll.isShifted())return;n.dispatch("beforeZoomTo",{destZoomLevel:t,centerPoint:i,transitionDuration:e}),n.animations.stopAllPan();const o=this.currZoomLevel;s||(t=I(t,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(t),this.pan.x=this.calculateZoomToPanOffset("x",i,o),this.pan.y=this.calculateZoomToPanOffset("y",i,o),M(this.pan);const a=()=>{this._setResolution(t),this.applyCurrentZoomPan()};e?n.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:a,duration:e,easing:n.options.easing}):a()}toggleZoom(t){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,t,this.pswp.options.zoomAnimationDuration)}setZoomLevel(t){this.currZoomLevel=t,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(t,i,e){if(this.bounds.max[t]-this.bounds.min[t]===0)return this.bounds.center[t];i||(i=this.pswp.getViewportCenterPoint()),e||(e=this.zoomLevels.initial);const n=this.currZoomLevel/e;return this.bounds.correctPan(t,(this.pan[t]-i[t])*n+i[t])}panTo(t,i){this.pan.x=this.bounds.correctPan("x",t),this.pan.y=this.bounds.correctPan("y",i),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),p(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(t,i,e){e/=this.currentResolution||this.zoomLevels.initial,y(this.container,t,i,e)}calculateSize(){const{pswp:t}=this;p(this.panAreaSize,N(t.options,t.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),t.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const t=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return b(this.pan.x,this.pan.y,t)}_setResolution(t){t!==this.currentResolution&&(this.currentResolution=t,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}const Q=.35,J=.6,z=.4,E=.5;function tt(r,t){return r*t/(1-t)}class it{constructor(t){this.gestures=t,this.pswp=t.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&p(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:t,prevP1:i,dragAxis:e}=this.gestures,{currSlide:s}=this.pswp;if(e==="y"&&this.pswp.options.closeOnVerticalDrag&&s&&s.currZoomLevel<=s.zoomLevels.fit&&!this.gestures.isMultitouch){const n=s.pan.y+(t.y-i.y);if(!this.pswp.dispatch("verticalDrag",{panY:n}).defaultPrevented){this._setPanWithFriction("y",n,J);const o=1-Math.abs(this._getVerticalDragRatio(s.pan.y));this.pswp.applyBgOpacity(o),s.applyCurrentZoomPan()}}else this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),s&&(M(s.pan),s.applyCurrentZoomPan()))}end(){const{velocity:t}=this.gestures,{mainScroll:i,currSlide:e}=this.pswp;let s=0;if(this.pswp.animations.stopAll(),i.isShifted()){const o=(i.x-i.getCurrSlideX())/this.pswp.viewportSize.x;t.x<-E&&o<0||t.x<.1&&o<-.5?(s=1,t.x=Math.min(t.x,0)):(t.x>E&&o>0||t.x>-.1&&o>.5)&&(s=-1,t.x=Math.max(t.x,0)),i.moveIndexBy(s,!0,t.x)}e&&e.currZoomLevel>e.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(t){const{velocity:i}=this.gestures,{currSlide:e}=this.pswp;if(!e)return;const{pan:s,bounds:n}=e,o=s[t],a=this.pswp.bgOpacity<1&&t==="y",l=o+tt(i[t],.995);if(a){const v=this._getVerticalDragRatio(o),w=this._getVerticalDragRatio(l);if(v<0&&w<-z||v>0&&w>z){this.pswp.close();return}}const c=n.correctPan(t,l);if(o===c)return;const d=c===l?1:.82,u=this.pswp.bgOpacity,m=c-o;this.pswp.animations.startSpring({name:"panGesture"+t,isPan:!0,start:o,end:c,velocity:i[t],dampingRatio:d,onUpdate:v=>{if(a&&this.pswp.bgOpacity<1){const w=1-(c-v)/m;this.pswp.applyBgOpacity(I(u+(1-u)*w,0,1))}s[t]=Math.floor(v),e.applyCurrentZoomPan()}})}_panOrMoveMainScroll(t){const{p1:i,dragAxis:e,prevP1:s,isMultitouch:n}=this.gestures,{currSlide:o,mainScroll:a}=this.pswp,h=i[t]-s[t],l=a.x+h;if(!h||!o)return!1;if(t==="x"&&!o.isPannable()&&!n)return a.moveTo(l,!0),!0;const{bounds:c}=o,d=o.pan[t]+h;if(this.pswp.options.allowPanToNext&&e==="x"&&t==="x"&&!n){const u=a.getCurrSlideX(),m=a.x-u,v=h>0,w=!v;if(d>c.min[t]&&v){if(c.min[t]<=this.startPan[t])return a.moveTo(l,!0),!0;this._setPanWithFriction(t,d)}else if(d0)return a.moveTo(Math.max(l,u),!0),!0;if(m<0)return a.moveTo(Math.min(l,u),!0),!0}else this._setPanWithFriction(t,d)}else t==="y"?!a.isShifted()&&c.min.y!==c.max.y&&this._setPanWithFriction(t,d):this._setPanWithFriction(t,d);return!1}_getVerticalDragRatio(t){var i,e;return(t-((i=(e=this.pswp.currSlide)===null||e===void 0?void 0:e.bounds.center.y)!==null&&i!==void 0?i:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(t,i,e){const{currSlide:s}=this.pswp;if(!s)return;const{pan:n,bounds:o}=s;if(o.correctPan(t,i)!==i||e){const h=Math.round(i-n[t]);n[t]+=h*(e||Q)}else n[t]=i}}const et=.05,st=.15;function O(r,t,i){return r.x=(t.x+i.x)/2,r.y=(t.y+i.y)/2,r}class nt{constructor(t){this.gestures=t,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:t}=this.gestures.pswp;t&&(this._startZoomLevel=t.currZoomLevel,p(this._startPan,t.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:t,startP1:i,p2:e,startP2:s,pswp:n}=this.gestures,{currSlide:o}=n;if(!o)return;const a=o.zoomLevels.min,h=o.zoomLevels.max;if(!o.isZoomable()||n.mainScroll.isShifted())return;O(this._startZoomPoint,i,s),O(this._zoomPoint,t,e);let l=1/A(i,s)*A(t,e)*this._startZoomLevel;if(l>o.zoomLevels.initial+o.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),lh&&(l=h+(l-h)*et);o.pan.x=this._calculatePanForZoomLevel("x",l),o.pan.y=this._calculatePanForZoomLevel("y",l),o.setZoomLevel(l),o.applyCurrentZoomPan()}end(){const{pswp:t}=this.gestures,{currSlide:i}=t;(!i||i.currZoomLevele.zoomLevels.max?n=e.zoomLevels.max:(o=!1,n=s);const a=i.bgOpacity,h=i.bgOpacity<1,l=p({x:0,y:0},e.pan);let c=p({x:0,y:0},l);t&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=s,p(this._startPan,l)),o&&(c={x:this._calculatePanForZoomLevel("x",n),y:this._calculatePanForZoomLevel("y",n)}),e.setZoomLevel(n),c={x:e.bounds.correctPan("x",c.x),y:e.bounds.correctPan("y",c.y)},e.setZoomLevel(s);const d=!x(c,l);if(!d&&!o&&!h){e._setResolution(n),e.applyCurrentZoomPan();return}i.animations.stopAllPan(),i.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:u=>{if(u/=1e3,d||o){if(d&&(e.pan.x=l.x+(c.x-l.x)*u,e.pan.y=l.y+(c.y-l.y)*u),o){const m=s+(n-s)*u;e.setZoomLevel(m)}e.applyCurrentZoomPan()}h&&i.bgOpacity<1&&i.applyBgOpacity(I(a+(1-a)*u,0,1))},onComplete:()=>{e._setResolution(n),e.applyCurrentZoomPan()}})}}function Z(r){return!!r.target.closest(".pswp__container")}class ot{constructor(t){this.gestures=t}click(t,i){const e=i.target.classList,s=e.contains("pswp__img"),n=e.contains("pswp__item")||e.contains("pswp__zoom-wrap");s?this._doClickOrTapAction("imageClick",t,i):n&&this._doClickOrTapAction("bgClick",t,i)}tap(t,i){Z(i)&&this._doClickOrTapAction("tap",t,i)}doubleTap(t,i){Z(i)&&this._doClickOrTapAction("doubleTap",t,i)}_doClickOrTapAction(t,i,e){var s;const{pswp:n}=this.gestures,{currSlide:o}=n,a=t+"Action",h=n.options[a];if(!n.dispatch(a,{point:i,originalEvent:e}).defaultPrevented){if(typeof h=="function"){h.call(n,i,e);return}switch(h){case"close":case"next":n[h]();break;case"zoom":o==null||o.toggleZoom(i);break;case"zoom-or-close":o!=null&&o.isZoomable()&&o.zoomLevels.secondary!==o.zoomLevels.initial?o.toggleZoom(i):n.options.clickToCloseNonZoomable&&n.close();break;case"toggle-controls":(s=this.gestures.pswp.element)===null||s===void 0||s.classList.toggle("pswp--ui-visible");break}}}}const rt=10,at=300,ht=25;class lt{constructor(t){this.pswp=t,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(t.options.allowPanToNext=!1),this.drag=new it(this),this.zoomLevels=new nt(this),this.tapHandler=new ot(this),t.on("bindEvents",()=>{t.events.add(t.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),t.scrollWrap&&(t.scrollWrap.ontouchmove=()=>{},t.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(t,i,e,s){const{pswp:n}=this,{events:o}=n,a=s?t+s:"";o.add(n.scrollWrap,t+i,this.onPointerDown.bind(this)),o.add(window,t+"move",this.onPointerMove.bind(this)),o.add(window,t+e,this.onPointerUp.bind(this)),a&&o.add(n.scrollWrap,a,this.onPointerUp.bind(this))}onPointerDown(t){const i=t.type==="mousedown"||t.pointerType==="mouse";if(i&&t.button>0)return;const{pswp:e}=this;if(!e.opener.isOpen){t.preventDefault();return}e.dispatch("pointerDown",{originalEvent:t}).defaultPrevented||(i&&(e.mouseDetected(),this._preventPointerEventBehaviour(t,"down")),e.animations.stopAll(),this._updatePoints(t,"down"),this._numActivePoints===1&&(this.dragAxis=null,p(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(t){this._preventPointerEventBehaviour(t,"move"),this._numActivePoints&&(this._updatePoints(t,"move"),!this.pswp.dispatch("pointerMove",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===1&&!this.isDragging?(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,p(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop())):this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop())))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(t){this._numActivePoints&&(this._updatePoints(t,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===0&&(this._rafStopLoop(),this.isDragging?this._finishDrag():!this.isZooming&&!this.isMultitouch&&this._finishTap(t)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),this._numActivePoints===1&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?x(this.p1,this.prevP1)||this.drag.change():(!x(this.p1,this.prevP1)||!x(this.p2,this.prevP2))&&this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(t){const i=Date.now(),e=i-this._intervalTime;e<50&&!t||(this.velocity.x=this._getVelocity("x",e),this.velocity.y=this._getVelocity("y",e),this._intervalTime=i,p(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(t){const{mainScroll:i}=this.pswp;if(i.isShifted()){i.moveIndexBy(0,!0);return}if(t.type.indexOf("cancel")>0)return;if(t.type==="mouseup"||t.pointerType==="mouse"){this.tapHandler.click(this.startP1,t);return}const e=this.pswp.options.doubleTapAction?at:0;this._tapTimer?(this._clearTapTimer(),A(this._lastStartP1,this.startP1){this.tapHandler.tap(this.startP1,t),this._clearTapTimer()},e))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(t,i){const e=this.p1[t]-this._intervalP1[t];return Math.abs(e)>1&&i>5?e/i:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(t,i){this.pswp.applyFilters("preventPointerEvent",!0,t,i)&&t.preventDefault()}_updatePoints(t,i){if(this._pointerEventEnabled){const e=t,s=this._ongoingPointers.findIndex(n=>n.id===e.pointerId);i==="up"&&s>-1?this._ongoingPointers.splice(s,1):i==="down"&&s===-1?this._ongoingPointers.push(this._convertEventPosToPoint(e,{x:0,y:0})):s>-1&&this._convertEventPosToPoint(e,this._ongoingPointers[s]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&p(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&p(this.p2,this._ongoingPointers[1])}else{const e=t;this._numActivePoints=0,e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(this._convertEventPosToPoint(e.touches[0],this.p1),this._numActivePoints++,e.touches.length>1&&(this._convertEventPosToPoint(e.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(t,this.p1),i==="up"?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){p(this.prevP1,this.p1),p(this.prevP2,this.p2)}_updateStartPoints(){p(this.startP1,this.p1),p(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const t=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(t!==0){const i=t>0?"x":"y";Math.abs(this.p1[i]-this.startP1[i])>=rt&&(this.dragAxis=i)}}}_convertEventPosToPoint(t,i){return i.x=t.pageX-this.pswp.offset.x,i.y=t.pageY-this.pswp.offset.y,"pointerId"in t?i.id=t.pointerId:t.identifier!==void 0&&(i.id=t.identifier),i}_onClick(t){this.pswp.mainScroll.isShifted()&&(t.preventDefault(),t.stopPropagation())}}const ct=.35;class dt{constructor(t){this.pswp=t,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(t){const{pswp:i}=this,e=Math.round(i.viewportSize.x+i.viewportSize.x*i.options.spacing),s=e!==this.slideWidth;s&&(this.slideWidth=e,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((n,o)=>{s&&y(n.el,(o+this._containerShiftIndex)*this.slideWidth),t&&n.slide&&n.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let t=0;t<3;t++){const i=f("pswp__item","div",this.pswp.container);i.setAttribute("role","group"),i.setAttribute("aria-roledescription","slide"),i.setAttribute("aria-hidden","true"),i.style.display=t===1?"block":"none",this.itemHolders.push({el:i})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(t,i,e){const{pswp:s}=this;let n=s.potentialIndex+t;const o=s.getNumItems();if(s.canLoop()){n=s.getLoopedIndex(n);const h=(t+o)%o;h<=o/2?t=h:t=h-o}else n<0?n=0:n>=o&&(n=o-1),t=n-s.potentialIndex;s.potentialIndex=n,this._currPositionIndex-=t,s.animations.stopMainScroll();const a=this.getCurrSlideX();if(!i)this.moveTo(a),this.updateCurrItem();else{s.animations.startSpring({isMainScroll:!0,start:this.x,end:a,velocity:e||0,naturalFrequency:30,dampingRatio:1,onUpdate:l=>{this.moveTo(l)},onComplete:()=>{this.updateCurrItem(),s.appendHeavy()}});let h=s.potentialIndex-s.currIndex;if(s.canLoop()){const l=(h+o)%o;l<=o/2?h=l:h=l-o}Math.abs(h)>1&&this.updateCurrItem()}return!!t}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var t;const{pswp:i}=this,e=this._prevPositionIndex-this._currPositionIndex;if(!e)return;this._prevPositionIndex=this._currPositionIndex,i.currIndex=i.potentialIndex;let s=Math.abs(e),n;s>=3&&(this._containerShiftIndex+=e+(e>0?-3:3),s=3,this.itemHolders.forEach(o=>{var a;(a=o.slide)===null||a===void 0||a.destroy(),o.slide=void 0}));for(let o=0;o0?(n=this.itemHolders.shift(),n&&(this.itemHolders[2]=n,this._containerShiftIndex++,y(n.el,(this._containerShiftIndex+2)*this.slideWidth),i.setContent(n,i.currIndex-s+o+2))):(n=this.itemHolders.pop(),n&&(this.itemHolders.unshift(n),this._containerShiftIndex--,y(n.el,this._containerShiftIndex*this.slideWidth),i.setContent(n,i.currIndex+s-o-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),i.animations.stopAllPan(),this.itemHolders.forEach((o,a)=>{o.slide&&o.slide.setIsActive(a===1)}),i.currSlide=(t=this.itemHolders[1])===null||t===void 0?void 0:t.slide,i.contentLoader.updateLazy(e),i.currSlide&&i.currSlide.applyCurrentZoomPan(),i.dispatch("change")}moveTo(t,i){if(!this.pswp.canLoop()&&i){let e=(this.slideWidth*this._currPositionIndex-t)/this.slideWidth;e+=this.pswp.currIndex;const s=Math.round(t-this.x);(e<0&&s>0||e>=this.pswp.getNumItems()-1&&s<0)&&(t=this.x+s*ct)}this.x=t,this.pswp.container&&y(this.pswp.container,t),this.pswp.dispatch("moveMainScroll",{x:t,dragging:i??!1})}}const pt={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},g=(r,t)=>t?r:pt[r];class ut{constructor(t){this.pswp=t,this._wasFocused=!1,t.on("bindEvents",()=>{t.options.trapFocus&&(t.options.initialPointerPos||this._focusRoot(),t.events.add(document,"focusin",this._onFocusIn.bind(this))),t.events.add(document,"keydown",this._onKeyDown.bind(this))});const i=document.activeElement;t.on("destroy",()=>{t.options.returnFocus&&i&&this._wasFocused&&i.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(t){const{pswp:i}=this;if(i.dispatch("keydown",{originalEvent:t}).defaultPrevented||G(t))return;let e,s,n=!1;const o="key"in t;switch(o?t.key:t.keyCode){case g("Escape",o):i.options.escKey&&(e="close");break;case g("z",o):e="toggleZoom";break;case g("ArrowLeft",o):s="x";break;case g("ArrowUp",o):s="y";break;case g("ArrowRight",o):s="x",n=!0;break;case g("ArrowDown",o):n=!0,s="y";break;case g("Tab",o):this._focusRoot();break}if(s){t.preventDefault();const{currSlide:a}=i;i.options.arrowKeys&&s==="x"&&i.getNumItems()>1?e=n?"next":"prev":a&&a.currZoomLevel>a.zoomLevels.fit&&(a.pan[s]+=n?-80:80,a.panTo(a.pan.x,a.pan.y))}e&&(t.preventDefault(),i[e]())}_onFocusIn(t){const{template:i}=this.pswp;i&&document!==t.target&&i!==t.target&&!i.contains(t.target)&&i.focus()}}const mt="cubic-bezier(.4,0,.22,1)";class ft{constructor(t){var i;this.props=t;const{target:e,onComplete:s,transform:n,onFinish:o=()=>{},duration:a=333,easing:h=mt}=t;this.onFinish=o;const l=n?"transform":"opacity",c=(i=t[l])!==null&&i!==void 0?i:"";this._target=e,this._onComplete=s,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{R(e,l,a,h),this._helperTimeout=setTimeout(()=>{e.addEventListener("transitionend",this._onTransitionEnd,!1),e.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},a+500),e.style[l]=c},30)},0)}_onTransitionEnd(t){t.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),U(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}const _t=12,vt=.75;class gt{constructor(t,i,e){this.velocity=t*1e3,this._dampingRatio=i||vt,this._naturalFrequency=e||_t,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(t,i){let e=0,s;i/=1e3;const n=Math.E**(-this._dampingRatio*this._naturalFrequency*i);if(this._dampingRatio===1)s=this.velocity+this._naturalFrequency*t,e=(t+s*i)*n,this.velocity=e*-this._naturalFrequency+s*n;else if(this._dampingRatio<1){s=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*t+this.velocity);const o=Math.cos(this._dampedFrequency*i),a=Math.sin(this._dampedFrequency*i);e=n*(t*o+s*a),this.velocity=e*-this._naturalFrequency*this._dampingRatio+n*(-this._dampedFrequency*t*a+this._dampedFrequency*s*o)}return e}}class yt{constructor(t){this.props=t,this._raf=0;const{start:i,end:e,velocity:s,onUpdate:n,onComplete:o,onFinish:a=()=>{},dampingRatio:h,naturalFrequency:l}=t;this.onFinish=a;const c=new gt(s,h,l);let d=Date.now(),u=i-e;const m=()=>{this._raf&&(u=c.easeFrame(u,Date.now()-d),Math.abs(u)<1&&Math.abs(c.velocity)<50?(n(e),o&&o(),this.onFinish()):(d=Date.now(),n(u+e),this._raf=requestAnimationFrame(m)))};this._raf=requestAnimationFrame(m)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class wt{constructor(){this.activeAnimations=[]}startSpring(t){this._start(t,!0)}startTransition(t){this._start(t)}_start(t,i){const e=i?new yt(t):new ft(t);return this.activeAnimations.push(e),e.onFinish=()=>this.stop(e),e}stop(t){t.destroy();const i=this.activeAnimations.indexOf(t);i>-1&&this.activeAnimations.splice(i,1)}stopAll(){this.activeAnimations.forEach(t=>{t.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isPan?(t.destroy(),!1):!0)}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isMainScroll?(t.destroy(),!1):!0)}isPanRunning(){return this.activeAnimations.some(t=>t.props.isPan)}}class Pt{constructor(t){this.pswp=t,t.events.add(t.element,"wheel",this._onWheel.bind(this))}_onWheel(t){t.preventDefault();const{currSlide:i}=this.pswp;let{deltaX:e,deltaY:s}=t;if(i&&!this.pswp.dispatch("wheel",{originalEvent:t}).defaultPrevented)if(t.ctrlKey||this.pswp.options.wheelToZoom){if(i.isZoomable()){let n=-s;t.deltaMode===1?n*=.05:n*=t.deltaMode?1:.002,n=2**n;const o=i.currZoomLevel*n;i.zoomTo(o,{x:t.clientX,y:t.clientY})}}else i.isPannable()&&(t.deltaMode===1&&(e*=18,s*=18),i.panTo(i.pan.x-e,i.pan.y-s))}}function St(r){if(typeof r=="string")return r;if(!r||!r.isCustomSVG)return"";const t=r;let i='",i}class xt{constructor(t,i){var e;const s=i.name||i.className;let n=i.html;if(t.options[s]===!1)return;typeof t.options[s+"SVG"]=="string"&&(n=t.options[s+"SVG"]),t.dispatch("uiElementCreate",{data:i});let o="";i.isButton?(o+="pswp__button ",o+=i.className||`pswp__button--${i.name}`):o+=i.className||`pswp__${i.name}`;let a=i.isButton?i.tagName||"button":i.tagName||"div";a=a.toLowerCase();const h=f(o,a);if(i.isButton){a==="button"&&(h.type="button");let{title:d}=i;const{ariaLabel:u}=i;typeof t.options[s+"Title"]=="string"&&(d=t.options[s+"Title"]),d&&(h.title=d);const m=u||d;m&&h.setAttribute("aria-label",m)}h.innerHTML=St(n),i.onInit&&i.onInit(h,t),i.onClick&&(h.onclick=d=>{typeof i.onClick=="string"?t[i.onClick]():typeof i.onClick=="function"&&i.onClick(d,h,t)});const l=i.appendTo||"bar";let c=t.element;l==="bar"?(t.topBar||(t.topBar=f("pswp__top-bar pswp__hide-on-close","div",t.scrollWrap)),c=t.topBar):(h.classList.add("pswp__hide-on-close"),l==="wrapper"&&(c=t.scrollWrap)),(e=c)===null||e===void 0||e.appendChild(t.applyFilters("uiElement",h,i))}}function k(r,t,i){r.classList.add("pswp__button--arrow"),r.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(i?r.disabled=!(t.currIndex0))})}const bt={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:k},It={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(r,t)=>{k(r,t,!0)}},At={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-close"},onClick:"close"},Lt={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},Ct={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-loading"},onInit:(r,t)=>{let i,e=null;const s=(a,h)=>{r.classList.toggle("pswp__preloader--"+a,h)},n=a=>{i!==a&&(i=a,s("active",a))},o=()=>{var a;if(!((a=t.currSlide)!==null&&a!==void 0&&a.content.isLoading())){n(!1),e&&(clearTimeout(e),e=null);return}e||(e=setTimeout(()=>{var h;n(!!(!((h=t.currSlide)===null||h===void 0)&&h.content.isLoading())),e=null},t.options.preloaderDelay))};t.on("change",o),t.on("loadComplete",a=>{t.currSlide===a.slide&&o()}),t.ui&&(t.ui.updatePreloaderVisibility=o)}},Tt={name:"counter",order:5,onInit:(r,t)=>{t.on("change",()=>{r.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function D(r,t){r.classList.toggle("pswp--zoomed-in",t)}class zt{constructor(t){this.pswp=t,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:t}=this;this.isRegistered=!1,this.uiElementsData=[At,bt,It,Lt,Ct,Tt],t.dispatch("uiRegister"),this.uiElementsData.sort((i,e)=>(i.order||0)-(e.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(i=>{this.registerElement(i)}),t.on("change",()=>{var i;(i=t.element)===null||i===void 0||i.classList.toggle("pswp--one-slide",t.getNumItems()===1)}),t.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(t){this.isRegistered?this.items.push(new xt(this.pswp,t)):this.uiElementsData.push(t)}_onZoomPanUpdate(){const{template:t,currSlide:i,options:e}=this.pswp;if(this.pswp.opener.isClosing||!t||!i)return;let{currZoomLevel:s}=i;if(this.pswp.opener.isOpen||(s=i.zoomLevels.initial),s===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=s;const n=i.zoomLevels.initial-i.zoomLevels.secondary;if(Math.abs(n)<.01||!i.isZoomable()){D(t,!1),t.classList.remove("pswp--zoom-allowed");return}t.classList.add("pswp--zoom-allowed");const o=s===i.zoomLevels.initial?i.zoomLevels.secondary:i.zoomLevels.initial;D(t,o<=s),(e.imageClickAction==="zoom"||e.imageClickAction==="zoom-or-close")&&t.classList.add("pswp--click-to-zoom")}}function Et(r){const t=r.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function Ot(r,t,i){const e=r.getBoundingClientRect(),s=e.width/t,n=e.height/i,o=s>n?s:n,a=(e.width-t*o)/2,h=(e.height-i*o)/2,l={x:e.left+a,y:e.top+h,w:t*o};return l.innerRect={w:e.width,h:e.height,x:a,y:h},l}function Zt(r,t,i){const e=i.dispatch("thumbBounds",{index:r,itemData:t,instance:i});if(e.thumbBounds)return e.thumbBounds;const{element:s}=t;let n,o;if(s&&i.options.thumbSelector!==!1){const a=i.options.thumbSelector||"img";o=s.matches(a)?s:s.querySelector(a)}return o=i.applyFilters("thumbEl",o,t,r),o&&(t.thumbCropped?n=Ot(o,t.width||t.w||0,t.height||t.h||0):n=Et(o)),i.applyFilters("thumbBounds",n,t,r)}class Dt{constructor(t,i){this.type=t,this.defaultPrevented=!1,i&&Object.assign(this,i)}preventDefault(){this.defaultPrevented=!0}}class Mt{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,i,e=100){var s,n,o;this._filters[t]||(this._filters[t]=[]),(s=this._filters[t])===null||s===void 0||s.push({fn:i,priority:e}),(n=this._filters[t])===null||n===void 0||n.sort((a,h)=>a.priority-h.priority),(o=this.pswp)===null||o===void 0||o.addFilter(t,i,e)}removeFilter(t,i){this._filters[t]&&(this._filters[t]=this._filters[t].filter(e=>e.fn!==i)),this.pswp&&this.pswp.removeFilter(t,i)}applyFilters(t,...i){var e;return(e=this._filters[t])===null||e===void 0||e.forEach(s=>{i[0]=s.fn.apply(this,i)}),i[0]}on(t,i){var e,s;this._listeners[t]||(this._listeners[t]=[]),(e=this._listeners[t])===null||e===void 0||e.push(i),(s=this.pswp)===null||s===void 0||s.on(t,i)}off(t,i){var e;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(s=>i!==s)),(e=this.pswp)===null||e===void 0||e.off(t,i)}dispatch(t,i){var e;if(this.pswp)return this.pswp.dispatch(t,i);const s=new Dt(t,i);return(e=this._listeners[t])===null||e===void 0||e.forEach(n=>{n.call(this,s)}),s}}class Rt{constructor(t,i){if(this.element=f("pswp__img pswp__img--placeholder",t?"img":"div",i),t){const e=this.element;e.decoding="async",e.alt="",e.src=t,e.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,i){this.element&&(this.element.tagName==="IMG"?(L(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=b(0,0,t/250)):L(this.element,t,i))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}}class Ft{constructor(t,i,e){this.instance=i,this.data=t,this.index=e,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=_.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,i){if(this.slide&&this.usePlaceholder())if(this.placeholder){const e=this.placeholder.element;e&&!e.parentElement&&this.slide.container.prepend(e)}else{const e=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new Rt(e,this.slide.container)}this.element&&!i||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=f("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=f("pswp__content","div"),this.element.innerHTML=this.data.html||""),i&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var i,e;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const s=this.element;this.updateSrcsetSizes(),this.data.srcset&&(s.srcset=this.data.srcset),s.src=(i=this.data.src)!==null&&i!==void 0?i:"",s.alt=(e=this.data.alt)!==null&&e!==void 0?e:"",this.state=_.LOADING,s.complete?this.onLoaded():(s.onload=()=>{this.onLoaded()},s.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=_.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===_.LOADED||this.state===_.ERROR)&&this.removePlaceholder())}onError(){this.state=_.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===_.LOADING,this)}isError(){return this.state===_.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,i){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,i),!this.instance.dispatch("contentResize",{content:this,width:t,height:i}).defaultPrevented&&(L(this.element,t,i),this.isImageContent()&&!this.isError()))){const e=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=i,e?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:i,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==_.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,i=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||i>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=i+"px",t.dataset.largestUsedSize=String(i))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,i;let e=f("pswp__error-msg","div");e.innerText=(t=(i=this.instance.options)===null||i===void 0?void 0:i.errorMsg)!==null&&t!==void 0?t:"",e=this.instance.applyFilters("contentErrorElement",e,this),this.element=f("pswp__content pswp__error-msg-container","div"),this.element.appendChild(e),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===_.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||C())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!C()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===_.LOADED||this.state===_.ERROR)&&this.removePlaceholder()))}}const Bt=5;function W(r,t,i){const e=t.createContentFromData(r,i);let s;const{options:n}=t;if(n){s=new H(n,r,-1);let o;t.pswp?o=t.pswp.viewportSize:o=B(n,t);const a=N(n,o,r,i);s.update(e.width,e.height,a)}return e.lazyLoad(),s&&e.setDisplayedSize(Math.ceil(e.width*s.initial),Math.ceil(e.height*s.initial)),e}function Nt(r,t){const i=t.getItemData(r);if(!t.dispatch("lazyLoadSlide",{index:r,itemData:i}).defaultPrevented)return W(i,t,r)}class Ht{constructor(t){this.pswp=t,this.limit=Math.max(t.options.preload[0]+t.options.preload[1]+1,Bt),this._cachedItems=[]}updateLazy(t){const{pswp:i}=this;if(i.dispatch("lazyLoad").defaultPrevented)return;const{preload:e}=i.options,s=t===void 0?!0:t>=0;let n;for(n=0;n<=e[1];n++)this.loadSlideByIndex(i.currIndex+(s?n:-n));for(n=1;n<=e[0];n++)this.loadSlideByIndex(i.currIndex+(s?-n:n))}loadSlideByIndex(t){const i=this.pswp.getLoopedIndex(t);let e=this.getContentByIndex(i);e||(e=Nt(i,this.pswp),e&&this.addToCache(e))}getContentBySlide(t){let i=this.getContentByIndex(t.index);return i||(i=this.pswp.createContentFromData(t.data,t.index),this.addToCache(i)),i.setSlide(t),i}addToCache(t){if(this.removeByIndex(t.index),this._cachedItems.push(t),this._cachedItems.length>this.limit){const i=this._cachedItems.findIndex(e=>!e.isAttached&&!e.hasSlide);i!==-1&&this._cachedItems.splice(i,1)[0].destroy()}}removeByIndex(t){const i=this._cachedItems.findIndex(e=>e.index===t);i!==-1&&this._cachedItems.splice(i,1)}getContentByIndex(t){return this._cachedItems.find(i=>i.index===t)}destroy(){this._cachedItems.forEach(t=>t.destroy()),this._cachedItems=[]}}class kt extends Mt{getNumItems(){var t;let i=0;const e=(t=this.options)===null||t===void 0?void 0:t.dataSource;e&&"length"in e?i=e.length:e&&"gallery"in e&&(e.items||(e.items=this._getGalleryDOMElements(e.gallery)),e.items&&(i=e.items.length));const s=this.dispatch("numItems",{dataSource:e,numItems:i});return this.applyFilters("numItems",s.numItems,e)}createContentFromData(t,i){return new Ft(t,this,i)}getItemData(t){var i;const e=(i=this.options)===null||i===void 0?void 0:i.dataSource;let s={};Array.isArray(e)?s=e[t]:e&&"gallery"in e&&(e.items||(e.items=this._getGalleryDOMElements(e.gallery)),s=e.items[t]);let n=s;n instanceof Element&&(n=this._domElementToItemData(n));const o=this.dispatch("itemData",{itemData:n||{},index:t});return this.applyFilters("itemData",o.itemData,t)}_getGalleryDOMElements(t){var i,e;return(i=this.options)!==null&&i!==void 0&&i.children||(e=this.options)!==null&&e!==void 0&&e.childSelector?K(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const i={element:t},e=t.tagName==="A"?t:t.querySelector("a");if(e){i.src=e.dataset.pswpSrc||e.href,e.dataset.pswpSrcset&&(i.srcset=e.dataset.pswpSrcset),i.width=e.dataset.pswpWidth?parseInt(e.dataset.pswpWidth,10):0,i.height=e.dataset.pswpHeight?parseInt(e.dataset.pswpHeight,10):0,i.w=i.width,i.h=i.height,e.dataset.pswpType&&(i.type=e.dataset.pswpType);const n=t.querySelector("img");if(n){var s;i.msrc=n.currentSrc||n.src,i.alt=(s=n.getAttribute("alt"))!==null&&s!==void 0?s:""}(e.dataset.pswpCropped||e.dataset.cropped)&&(i.thumbCropped=!0)}return this.applyFilters("domItemData",i,t,e)}lazyLoadData(t,i){return W(t,this,i)}}const P=.003;class Wt{constructor(t){this.pswp=t,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),t.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const t=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,t&&t.currZoomLevel*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const t=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,t&&t.zoomLevels.initial*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:t}=this,i=this.pswp.currSlide,{options:e}=t;if(e.showHideAnimationType==="fade"?(e.showHideOpacity=!0,this._thumbBounds=void 0):e.showHideAnimationType==="none"?(e.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&t._initialThumbBounds?this._thumbBounds=t._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=i==null?void 0:i.getPlaceholderElement(),t.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&(i==null?void 0:i.content.usePlaceholder())&&(!this.isClosing||!t.mainScroll.isShifted()),!this._animateZoom)this._animateRootOpacity=!0,this.isOpening&&i&&(i.zoomAndPanToInitial(),i.applyCurrentZoomPan());else{var s;this._animateRootOpacity=(s=e.showHideOpacity)!==null&&s!==void 0?s:!1}if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>P,this._opacityElement=this._animateRootOpacity?t.element:t.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(t.element&&(t.element.style.opacity=String(P)),t.applyBgOpacity(1));return}if(this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect){var n;this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=(n=this.pswp.currSlide)===null||n===void 0?void 0:n.holderElement,t.container&&(t.container.style.overflow="hidden",t.container.style.width=t.viewportSize.x+"px")}else this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(t.element&&(t.element.style.opacity=String(P)),t.applyBgOpacity(1)):(this._animateBgOpacity&&t.bg&&(t.bg.style.opacity=String(P)),t.element&&(t.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(P)))):this.isClosing&&(t.mainScroll.itemHolders[0]&&(t.mainScroll.itemHolders[0].el.style.display="none"),t.mainScroll.itemHolders[2]&&(t.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&t.mainScroll.x!==0&&(t.mainScroll.resetPosition(),t.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&this._placeholder.tagName==="IMG"?new Promise(t=>{let i=!1,e=!0;q(this._placeholder).finally(()=>{i=!0,e||t(!0)}),setTimeout(()=>{e=!1,i&&t(!0)},50),setTimeout(t,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var t,i;(t=this.pswp.element)===null||t===void 0||t.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),(i=this.pswp.element)===null||i===void 0||i.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:t}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,t.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),t.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)t.destroy();else if(this.isOpen){var i;this._animateZoom&&t.container&&(t.container.style.overflow="visible",t.container.style.width="100%"),(i=t.currSlide)===null||i===void 0||i.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:t}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),t.currSlide&&(t.currSlide.zoomAndPanToInitial(),this._animateTo(t.currSlide.container,"transform",t.currSlide.getCurrentTransform()))),this._animateBgOpacity&&t.bg&&this._animateTo(t.bg,"opacity",String(t.options.bgOpacity)),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","1")}_animateToClosedState(){const{pswp:t}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&t.bgOpacity>.01&&t.bg&&this._animateTo(t.bg,"opacity","0"),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","0")}_setClosedStateZoomPan(t){if(!this._thumbBounds)return;const{pswp:i}=this,{innerRect:e}=this._thumbBounds,{currSlide:s,viewportSize:n}=i;if(this._croppedZoom&&e&&this._cropContainer1&&this._cropContainer2){const o=-n.x+(this._thumbBounds.x-e.x)+e.w,a=-n.y+(this._thumbBounds.y-e.y)+e.h,h=n.x-e.w,l=n.y-e.h;t?(this._animateTo(this._cropContainer1,"transform",b(o,a)),this._animateTo(this._cropContainer2,"transform",b(h,l))):(y(this._cropContainer1,o,a),y(this._cropContainer2,h,l))}s&&(p(s.pan,e||this._thumbBounds),s.currZoomLevel=this._thumbBounds.w/s.width,t?this._animateTo(s.container,"transform",s.getCurrentTransform()):s.applyCurrentZoomPan())}_animateTo(t,i,e){if(!this._duration){t.style[i]=e;return}const{animations:s}=this.pswp,n={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{s.activeAnimations.length||this._onAnimationComplete()},target:t};n[i]=e,s.startTransition(n)}}const Vt={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class $t extends kt{constructor(t){super(),this.options=this._prepareOptions(t||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new X,this.animations=new wt,this.mainScroll=new dt(this),this.gestures=new lt(this),this.opener=new Wt(this),this.keyboard=new ut(this),this.contentLoader=new Ht(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let t="pswp--open";return this.gestures.supportsTouch&&(t+=" pswp--touch"),this.options.mainClass&&(t+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+t),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new Pt(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:i}=this.mainScroll;i[0]&&(i[0].el.style.display="block",this.setContent(i[0],this.currIndex-1)),i[2]&&(i[2].el.style.display="block",this.setContent(i[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(t){const i=this.getNumItems();return this.options.loop&&(t>i-1&&(t-=i),t<0&&(t+=i)),I(t,0,i-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(t=>{var i;(i=t.slide)===null||i===void 0||i.appendHeavy()})}goTo(t){this.mainScroll.moveIndexBy(this.getLoopedIndex(t)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...t){var i;(i=this.currSlide)===null||i===void 0||i.zoomTo(...t)}toggleZoom(){var t;(t=this.currSlide)===null||t===void 0||t.toggleZoom()}close(){!this.opener.isOpen||this.isDestroying||(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var t;if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),(t=this.element)===null||t===void 0||t.remove(),this.mainScroll.itemHolders.forEach(i=>{var e;(e=i.slide)===null||e===void 0||e.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(t){this.contentLoader.removeByIndex(t),this.mainScroll.itemHolders.forEach((i,e)=>{var s,n;let o=((s=(n=this.currSlide)===null||n===void 0?void 0:n.index)!==null&&s!==void 0?s:0)-1+e;if(this.canLoop()&&(o=this.getLoopedIndex(o)),o===t&&(this.setContent(i,t,!0),e===1)){var a;this.currSlide=i.slide,(a=i.slide)===null||a===void 0||a.setIsActive(!0)}}),this.dispatch("change")}setContent(t,i,e){if(this.canLoop()&&(i=this.getLoopedIndex(i)),t.slide){if(t.slide.index===i&&!e)return;t.slide.destroy(),t.slide=void 0}if(!this.canLoop()&&(i<0||i>=this.getNumItems()))return;const s=this.getItemData(i);t.slide=new j(s,i,this),i===this.currIndex&&(this.currSlide=t.slide),t.slide.append(t.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(t){if(this.isDestroying)return;const i=B(this.options,this);!t&&x(i,this._prevViewportSize)||(p(this._prevViewportSize,i),this.dispatch("beforeResize"),p(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(t){this.bgOpacity=Math.max(t,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){if(!this.hasMouse){var t;this.hasMouse=!0,(t=this.element)===null||t===void 0||t.classList.add("pswp--has_mouse")}}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(t,i){this.offset.x=t,this.offset.y=i,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=f("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=f("pswp__bg","div",this.element),this.scrollWrap=f("pswp__scroll-wrap","section",this.element),this.container=f("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new zt(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return Zt(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(t){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(t.showHideAnimationType="none",t.zoomAnimationDuration=0),{...Vt,...t}}}export{$t as default}; diff --git a/assets/plugin-integration.html-Cpy9Nl-m.js b/assets/plugin-integration.html-Cpy9Nl-m.js new file mode 100644 index 000000000..be8117171 --- /dev/null +++ b/assets/plugin-integration.html-Cpy9Nl-m.js @@ -0,0 +1 @@ +import{_ as t,a as e}from"./intention_copy_loc_for_locale-HyhT4N-Y.js";import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as a,o as i,e as o}from"./app-CEUNVpLB.js";const r={},l=o('

Plugin Integration

Integrate Translation Plugin

When Translation plugin is also installed and enabled, PLS will provide bellow additional features:

Translate documentation

When the cursor is over a definition name, a localisation name or some other positions, can translate documentation content by click and select Translate Documentation icon button in quick documentation popup window, or click Translate Documentation item in right-click menu.

Warning

There is no guarantee that special markers will be preserved correctly after translation yet.

Intention: Copy localisation(s) to the clipboard for locale...

When the cursor selection scope involves localisation(s), this intention can copy all involved localisation(s) to the clipboard, and try to translate the localisation text into the specified locale before doing so.

Warning

There is no guarantee that special markers will be preserved correctly after translation yet.

',11),s=[l];function c(p,d){return i(),a("div",null,s)}const m=n(r,[["render",c],["__file","plugin-integration.html.vue"]]),f=JSON.parse('{"path":"/en/plugin-integration.html","title":"Plugin Integration","lang":"en-US","frontmatter":{"description":"Plugin Integration Integrate Translation Plugin When Translation plugin is also installed and enabled, PLS will provide bellow additional features: Translate documentation When ...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/plugin-integration.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/plugin-integration.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"Plugin Integration"}],["meta",{"property":"og:description","content":"Plugin Integration Integrate Translation Plugin When Translation plugin is also installed and enabled, PLS will provide bellow additional features: Translate documentation When ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Integration\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"Integrate Translation Plugin","slug":"integrate-translation-plugin","link":"#integrate-translation-plugin","children":[{"level":3,"title":"Translate documentation","slug":"translate-documentation","link":"#translate-documentation","children":[]},{"level":3,"title":"Intention: Copy localisation(s) to the clipboard for locale...","slug":"intention-copy-localisation-s-to-the-clipboard-for-locale","link":"#intention-copy-localisation-s-to-the-clipboard-for-locale","children":[]}]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0.47,"words":140},"filePathRelative":"en/plugin-integration.md","localizedDate":"September 24, 2024","autoDesc":true}');export{m as comp,f as data}; diff --git a/assets/plugin-integration.html-xZ74iFR4.js b/assets/plugin-integration.html-xZ74iFR4.js new file mode 100644 index 000000000..065997141 --- /dev/null +++ b/assets/plugin-integration.html-xZ74iFR4.js @@ -0,0 +1 @@ +import{_ as t,a as e}from"./intention_copy_loc_for_locale-HyhT4N-Y.js";import{_ as a}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as n,o as r,e as o}from"./app-CEUNVpLB.js";const i={},l=o('

插件集成

集成Translation插件

当同时安装且启用了Translation插件时,PLS将会额外提供以下功能:

翻译文档内容

当光标位于定义的名字、本地化的名字等位置时,可以通过点击并选择快速文档弹出窗口中的Translate Documentation图标按钮,或者点击右键菜单中的Translate Documentation选项翻译文档内容。

注意

暂不保证翻译后能够正确地识别并保留各种特殊标记。

意向:复制本地化到剪贴板并将本地化文本翻译为指定的语言区域

当光标选取范围涉及到本地化时,此意向可以将所有涉及到的本地化复制到剪切板,并且在这之前尝试将本地化文本翻译为指定的语言区域。

注意

暂不保证翻译后能够正确地识别并保留各种特殊标记。

',11),s=[l];function p(c,h){return r(),n("div",null,s)}const u=a(i,[["render",p],["__file","plugin-integration.html.vue"]]),_=JSON.parse('{"path":"/zh/plugin-integration.html","title":"插件集成","lang":"zh-CN","frontmatter":{"description":"插件集成 集成Translation插件 当同时安装且启用了Translation插件时,PLS将会额外提供以下功能: 翻译文档内容 当光标位于定义的名字、本地化的名字等位置时,可以通过点击并选择快速文档弹出窗口中的Translate Documentation图标按钮,或者点击右键菜单中的Translate Documentation选项翻译文档内容...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/plugin-integration.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/plugin-integration.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"插件集成"}],["meta",{"property":"og:description","content":"插件集成 集成Translation插件 当同时安装且启用了Translation插件时,PLS将会额外提供以下功能: 翻译文档内容 当光标位于定义的名字、本地化的名字等位置时,可以通过点击并选择快速文档弹出窗口中的Translate Documentation图标按钮,或者点击右键菜单中的Translate Documentation选项翻译文档内容..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件集成\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"集成Translation插件","slug":"集成translation插件","link":"#集成translation插件","children":[{"level":3,"title":"翻译文档内容","slug":"翻译文档内容","link":"#翻译文档内容","children":[]},{"level":3,"title":"意向:复制本地化到剪贴板并将本地化文本翻译为指定的语言区域","slug":"意向-复制本地化到剪贴板并将本地化文本翻译为指定的语言区域","link":"#意向-复制本地化到剪贴板并将本地化文本翻译为指定的语言区域","children":[]}]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0.82,"words":245},"filePathRelative":"zh/plugin-integration.md","localizedDate":"2024年9月24日","autoDesc":true}');export{u as comp,_ as data}; diff --git a/assets/plugin-settings.html-BI1Lrr3F.js b/assets/plugin-settings.html-BI1Lrr3F.js new file mode 100644 index 000000000..e71c33e15 --- /dev/null +++ b/assets/plugin-settings.html-BI1Lrr3F.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,a}from"./app-CEUNVpLB.js";const o={},r=a("p",null,"TODO",-1),i=[r];function p(c,s){return n(),t("div",null,i)}const g=e(o,[["render",p],["__file","plugin-settings.html.vue"]]),d=JSON.parse('{"path":"/zh/plugin-settings.html","title":"","lang":"zh-CN","frontmatter":{"description":"TODO","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/plugin-settings.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/plugin-settings.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:description","content":"TODO"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0,"words":1},"filePathRelative":"zh/plugin-settings.md","localizedDate":"2024年9月24日","autoDesc":true}');export{g as comp,d as data}; diff --git a/assets/plugin-settings.html-DuTc55fo.js b/assets/plugin-settings.html-DuTc55fo.js new file mode 100644 index 000000000..9cda548d7 --- /dev/null +++ b/assets/plugin-settings.html-DuTc55fo.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,a}from"./app-CEUNVpLB.js";const o={},r=a("p",null,"TODO",-1),i=[r];function p(c,l){return n(),t("div",null,i)}const g=e(o,[["render",p],["__file","plugin-settings.html.vue"]]),d=JSON.parse('{"path":"/en/plugin-settings.html","title":"","lang":"en-US","frontmatter":{"description":"TODO","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/plugin-settings.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/plugin-settings.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:description","content":"TODO"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":0,"words":1},"filePathRelative":"en/plugin-settings.md","localizedDate":"September 24, 2024","autoDesc":true}');export{g as comp,d as data}; diff --git a/assets/plugin-vue_export-helper-DlAUqK2U.js b/assets/plugin-vue_export-helper-DlAUqK2U.js new file mode 100644 index 000000000..718edd339 --- /dev/null +++ b/assets/plugin-vue_export-helper-DlAUqK2U.js @@ -0,0 +1 @@ +const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _}; diff --git a/assets/preview_1_en-Cicssda6.png b/assets/preview_1_en-Cicssda6.png new file mode 100644 index 000000000..387134da8 Binary files /dev/null and b/assets/preview_1_en-Cicssda6.png differ diff --git a/assets/preview_1_zh-Cb81Ertl.png b/assets/preview_1_zh-Cb81Ertl.png new file mode 100644 index 000000000..abd5afba3 Binary files /dev/null and b/assets/preview_1_zh-Cb81Ertl.png differ diff --git a/assets/quick-start.html-AYI7JBib.js b/assets/quick-start.html-AYI7JBib.js new file mode 100644 index 000000000..095b4c4f7 --- /dev/null +++ b/assets/quick-start.html-AYI7JBib.js @@ -0,0 +1 @@ +import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as a,a as e,b as t,d as r,w as c,e as o,r as n,o as d}from"./app-CEUNVpLB.js";const s={},p=o('

快速开始

使用

  • 通过IDE打开你的模组根目录。(需要直接包含模组描述符文件descriptor.mod
  • 打开模组描述符文件,点击位于编辑器右上角的悬浮工具栏中的模组配置按钮。
  • 配置模组的游戏类型、游戏目录以及额外的模组依赖。
  • 点击确定按钮完成配置,然后等待IDE索引完成。
  • 开始你的模组编程之旅吧!

提示

',4),u=o("
  • 如果需要进行全局搜索,请参考以下方式:
    • 点击Ctrl Shift R或者Ctrl Shift F在当前项目、目录或者指定作用域中搜索。
    • 点击Shift Shift查找文件、定义、封装变量(scripted_variable)以及其他各种符号。
  • 如果需要进行代码导航,请参考以下方式:
    • 按住Ctrl并点击目标位置,从而导航到目标的声明或使用处。
    • 按住Ctrl Shift并点击目标位置,从而导航到目标的类型声明处。
    • 按住Alt并点击目标位置,从而导航到目标对应的CWT规则的声明处。
    • 按住Shift Alt并点击目标位置,从而导航到目标定义的相关本地化的声明处。
    • 按住Ctrl Shift Alt并点击目标位置,从而导航到目标定义的相关图片的声明处。
    • 点击Navigate或者编辑器右键菜单中的Go To,选择要导航到的目标。
    • 点击Navigate > Definition Hierarchy,打开定义层级窗口,从而查看某一类型的定义的实现关系。
    • 点击Navigate > Call Hierarchy,打开调用层级窗口,从而查看定义、本地化、封装变量(scripted_variable)等的调用关系。
    • 点击Alt 1或者Project工具窗口,打开项目视图面板,然后点击左上角的Project > Paradox Files,从而查看汇总后的游戏与模组文件。
    • 点击Alt 1或者Project工具窗口,打开项目视图面板,然后点击左上角的Project > CWT Config Files,从而查看汇总后的CWT规则文件。
  • 如果需要进行全局代码检查,请参考以下方式:
    • 点击Alt 6或者Problems工具窗口,打开问题面板,然后查看当前文件存在的问题,或者进行整个项目的全局代码检查。
    • 点击Code > Inspect Code...,进行整个项目的全局代码检查。
    • 完成代码检查后,IDE将会在问题面板中显示详细的检查结果。
  • 如果需要更改插件的全局配置,请参考以下方式:
    • 点击Settings > Languages & Frameworks > Paradox Language Support,打开插件的配置页面。
  • 如果需要更改模组类型、游戏目录、模组依赖等配置,请通过以下方式之一打开模组配置对话框:
    • 点击Settings > Languages & Frameworks > Paradox Language Support,可配置默认的游戏目录。
    • 点击位于页面右上方的编辑器悬浮工具栏中的蓝色齿轮图标。
    • 在编辑器中打开右键菜单,点击Paradox Language Support > Open Mod Settings...
    • 点击Tools > Paradox Language Support > Open Mod Settings...
  • ",5),h=e("li",null,"更新IDE和插件到最新版本。",-1),g=e("li",null,[t("如果可能与IDE索引有关,请尝试重建索引并重启IDE。(点击"),e("code",null,"File -> Invalidate Caches... -> Invalidate and Restart"),t(")")],-1),m=e("li",null,[t("如果可能与插件的配置有关,请尝试删除插件的配置文件。("),e("code",null,"paradox-language-support.xml"),t(",如果不知道具体位置,请使用"),e("a",{href:"https://www.voidtools.com",target:"_blank",rel:"noopener noreferrer"},"Everything"),t(")")],-1),_=e("li",null,"通过GitHub、Discord等渠道进行反馈。",-1),f=e("h2",{id:"已知问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#已知问题"},[e("span",null,"已知问题")])],-1),S=e("ul",null,[e("li",null,"对Stellaris以外的游戏的支持尚不完善。")],-1);function x(k,C){const l=n("RouteLink");return d(),a("div",null,[p,e("ul",null,[u,e("li",null,[t("如果在使用过程中遇到意外问题,请尝试通过以下方式解决: "),e("ul",null,[h,g,e("li",null,[t("如果可能与插件内置的规则有关,请尝试"),r(l,{to:"/zh/config.html#writing-cwt-config-files"},{default:c(()=>[t("编写自定义的规则文件")]),_:1}),t("。")]),m,_])])]),f,S])}const v=i(s,[["render",x],["__file","quick-start.html.vue"]]),P=JSON.parse('{"path":"/zh/quick-start.html","title":"快速开始","lang":"zh-CN","frontmatter":{"description":"快速开始 使用 通过IDE打开你的模组根目录。(需要直接包含模组描述符文件descriptor.mod) 打开模组描述符文件,点击位于编辑器右上角的悬浮工具栏中的模组配置按钮。 配置模组的游戏类型、游戏目录以及额外的模组依赖。 点击确定按钮完成配置,然后等待IDE索引完成。 开始你的模组编程之旅吧! 提示 如果需要进行全局搜索,请参考以下方式: 点击C...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://windea.icu/Paradox-Language-Support/en/quick-start.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/zh/quick-start.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"快速开始"}],["meta",{"property":"og:description","content":"快速开始 使用 通过IDE打开你的模组根目录。(需要直接包含模组描述符文件descriptor.mod) 打开模组描述符文件,点击位于编辑器右上角的悬浮工具栏中的模组配置按钮。 配置模组的游戏类型、游戏目录以及额外的模组依赖。 点击确定按钮完成配置,然后等待IDE索引完成。 开始你的模组编程之旅吧! 提示 如果需要进行全局搜索,请参考以下方式: 点击C..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"快速开始\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"提示","slug":"提示","link":"#提示","children":[]},{"level":2,"title":"已知问题","slug":"已知问题","link":"#已知问题","children":[]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":3.12,"words":937},"filePathRelative":"zh/quick-start.md","localizedDate":"2024年9月24日","autoDesc":true}');export{v as comp,P as data}; diff --git a/assets/quick-start.html-C4AyC8yB.js b/assets/quick-start.html-C4AyC8yB.js new file mode 100644 index 000000000..fc1611b08 --- /dev/null +++ b/assets/quick-start.html-C4AyC8yB.js @@ -0,0 +1 @@ +import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as l,a as e,b as t,d as a,w as r,e as o,r as c,o as d}from"./app-CEUNVpLB.js";const s={},h=o('

    Quick Start

    Usages

    • Open your mod root directory through the IDE. (It needs to directly contain the mod descriptor file descriptor.mod)
    • Open the mod descriptor file, click the mod settings button in the floating toolbar at the top right of the editor.
    • Configure the game type, game directory, and additional mod dependencies of the mod.
    • Click the OK button to complete the configuration, and then wait for the IDE to complete indexing.
    • Start your mod programming journey.

    Tips

    ',4),p=o("
  • To perform a global search, please refer to the following methods:
    • Click Ctrl Shift R or Ctrl Shift F to search within the current project, directory, or specified scope.
    • Click Shift Shift to find files, definitions, scripted variables, and other symbols.
  • To perform a code navigation, please refer to the following methods:
    • Hold down Ctrl and click on the target location, to navigate to the declarations or usages of the target.
    • Hold down Ctrl Shift and click on the target location, to navigate to the type declarations of the target.
    • Hold down Alt and click on the target location, to navigate to the related CWT config declarations of the target.
    • Hold down Shift Alt and click on the target location, to navigate to the related localisation declarations of the target definition.
    • Hold down Ctrl Shift Alt and click on the target location to navigate to the related image declarations of the target definition.
    • Click Navigate or Go To in the editor's right-click menu, and choose the target to navigate to.
    • Click Navigate > Definition Hierarchy to open the definition hierarchy window, to view the definition implementation relationship of a specific definition type.
    • Click Navigate > Call Hierarchy to open the call hierarchy window, to view the call relationship of definitions, localisations, scripted variables, etc.
    • Click Alt 1 or Project Tool window, open the Project View panel, then click Project > Paradox Files in the upper left corner, to view the summarized game and mod files.
    • Click Alt 1 or Project Tool window, open the Project View panel, then click Project > CWT Config Files in the upper left corner, to view the summarized CWT config files.
  • To run a global code inspection, refer to the following method:
    • Click Alt 6 or Problems Tool window, open the Problems panel ,then view problems of current file, or run a global code inspection for whole project.
    • Click Code > Inspect Code..., run a global code inspection for whole project.
    • When code inspection is finished ,IDE will show detail inspection result in Problems panel.
  • To change the global configuration of the plugin, refer to the following method:
    • Click Settings > Languages & Frameworks > Paradox Language Support to open the settings page for the plugin.
  • To change the configuration of mod types, game directories, mod dependencies, etc., open the Mod Configuration dialog using one of the following methods:
    • Click Settings > Languages & Frameworks > Paradox Language Support to configure default game directories.
    • Click the blue gear icon in the editor floating toolbar located in the upper right corner of the page.
    • In the editor, open the context menu and click Paradox Language Support > Open Mod Settings....
    • Click Tools > Paradox Language Support > Open Mod Settings....
  • ",5),g=e("li",null,"Update the IDE and plugin to the latest version.",-1),u=e("li",null,[t("If it may be related to IDE indices, try to rebuild indices and restart the IDE. (Click "),e("code",null,"File -> Invalidate Caches... -> Invalidate and Restart"),t(")")],-1),f=e("li",null,[t("If it may be related to plugin configuration, try to delete the plugin configuration file. ("),e("code",null,"paradox-language-support.xml"),t(". If you don't know the detailed location, use "),e("a",{href:"https://www.voidtools.com",target:"_blank",rel:"noopener noreferrer"},"Everything"),t(")")],-1),m=e("li",null,"Send feedback via GitHub, Discord, etc.",-1),k=e("h2",{id:"known-issues",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#known-issues"},[e("span",null,"Known Issues")])],-1),w=e("ul",null,[e("li",null,"Support for games exclude Stellaris is not yet perfect.")],-1);function y(_,b){const i=c("RouteLink");return d(),l("div",null,[h,e("ul",null,[p,e("li",null,[t("If you encounter some unexpected problems during use, try the following: "),e("ul",null,[g,u,e("li",null,[t("If it ma ybe related to plugin's built-in configs, try to "),a(i,{to:"/en/config.html#writing-cwt-config-files"},{default:r(()=>[t("write custom config files")]),_:1}),t(".")]),f,m])])]),k,w])}const v=n(s,[["render",y],["__file","quick-start.html.vue"]]),x=JSON.parse('{"path":"/en/quick-start.html","title":"Quick Start","lang":"en-US","frontmatter":{"description":"Quick Start Usages Open your mod root directory through the IDE. (It needs to directly contain the mod descriptor file descriptor.mod) Open the mod descriptor file, click the mo...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://windea.icu/Paradox-Language-Support/zh/quick-start.html"}],["meta",{"property":"og:url","content":"https://windea.icu/Paradox-Language-Support/en/quick-start.html"}],["meta",{"property":"og:site_name","content":"Paradox Language Support"}],["meta",{"property":"og:title","content":"Quick Start"}],["meta",{"property":"og:description","content":"Quick Start Usages Open your mod root directory through the IDE. (It needs to directly contain the mod descriptor file descriptor.mod) Open the mod descriptor file, click the mo..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-09-24T04:21:24.000Z"}],["meta",{"property":"article:author","content":"DragonKnightOfBreeze"}],["meta",{"property":"article:modified_time","content":"2024-09-24T04:21:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Quick Start\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-09-24T04:21:24.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DragonKnightOfBreeze\\",\\"url\\":\\"https://github.com/DragonKnightOfBreeze\\",\\"email\\":\\"dk_breeze@qq.com\\"}]}"]]},"headers":[{"level":2,"title":"Usages","slug":"usages","link":"#usages","children":[]},{"level":2,"title":"Tips","slug":"tips","link":"#tips","children":[]},{"level":2,"title":"Known Issues","slug":"known-issues","link":"#known-issues","children":[]}],"git":{"createdTime":1727151684000,"updatedTime":1727151684000,"contributors":[{"name":"DragonKnightOfBreeze","email":"dk_breeze@qq.com","commits":1}]},"readingTime":{"minutes":2.12,"words":636},"filePathRelative":"en/quick-start.md","localizedDate":"September 24, 2024","autoDesc":true}');export{v as comp,x as data}; diff --git a/assets/style-6AffvzuC.css b/assets/style-6AffvzuC.css new file mode 100644 index 000000000..9a7fcb63d --- /dev/null +++ b/assets/style-6AffvzuC.css @@ -0,0 +1 @@ +@charset "UTF-8";html[data-theme=dark]{--text-color: #9e9e9e;--bg-color: #0d1117;--bg-color-secondary: #161b22;--bg-color-tertiary: #21262c;--border-color: #30363d;--box-shadow: #282a32;--card-shadow: rgba(0, 0, 0, .3);--black: #fff;--grey-dark: #999;--grey-light: #666;--white: #000;--grey-darker: #bbb;--grey-lighter: #333;--grey14: #111;--bg-color-light: #161b22;--bg-color-back: #0d1117;--bg-color-float: #161b22;--bg-color-blur: rgba(13, 17, 23, .9);--bg-color-float-blur: rgba(22, 27, 34, .9);--text-color-light: #a8a8a8;--text-color-lighter: #b1b1b1;--text-color-bright: #c5c5c5;--border-color-light: #2e333a;--border-color-dark: #394048}:root{--theme-color: #2196f3;--text-color: #2c3e50;--bg-color: #fff;--bg-color-secondary: #f8f8f8;--bg-color-tertiary: #efeef4;--border-color: #eaecef;--box-shadow: #f0f1f2;--card-shadow: rgba(0, 0, 0, .15);--code-highlight-error-bg-color: rgba(244, 63, 94, .16);--code-highlight-warning-bg-color: rgba(255, 193, 7, .16);--code-line-diff-add-color: rgba(16, 185, 129, .16);--code-line-diff-add-symbol-color: #298459;--code-line-diff-remove-color: rgba(244, 63, 94, .16);--code-line-diff-remove-symbol-color: #e0575b;--code-word-highlight-bg-color: rgba(0, 0, 0, .2);--code-word-highlight-border: #636363;--black: #000;--grey-dark: #666;--grey-light: #999;--white: #fff;--grey-darker: #333;--grey-lighter: #bbb;--grey14: #eee;--navbar-height: 3.75rem;--navbar-horizontal-padding: 1.5rem;--navbar-vertical-padding: .7rem;--navbar-mobile-height: 3.25rem;--navbar-mobile-horizontal-padding: 1rem;--navbar-mobile-vertical-padding: .5rem;--sidebar-width: 18rem;--sidebar-mobile-width: 16rem;--content-width: 780px;--home-page-width: 1160px;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", STHeiti, "Microsoft YaHei", SimSun, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", STHeiti, "Microsoft YaHei", SimSun, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;--code-line-number-width: 2rem;--color-transition: .3s ease;--transform-transition: .3s ease;--vp-bg: var(--bg-color);--vp-bgl: var(--bg-color-light);--vp-bglt: var(--bg-color-tertiary);--vp-c: var(--text-color);--vp-cl: var(--text-color-light);--vp-clt: var(--text-color-lighter);--vp-brc: var(--border-color);--vp-brcd: var(--border-color-dark);--vp-tc: var(--theme-color);--vp-tcl: var(--theme-color-light);--vp-ct: var(--color-transition);--vp-tt: var(--transform-transition);--bg-color-light: #fff;--bg-color-back: #f8f8f8;--bg-color-float: #fff;--bg-color-blur: rgba(255, 255, 255, .9);--bg-color-float-blur: rgba(255, 255, 255, .9);--text-color-light: #3a5169;--text-color-lighter: #476582;--text-color-bright: #6a8bad;--border-color-light: #eceef1;--border-color-dark: #cfd4db;--theme-color-dark: #0d89ec;--theme-color-light: #37a1f4;--theme-color-mask: rgba(33, 150, 243, .15)}:root{--badge-tip-color: #42b983;--badge-warning-color: #f4cd00;--badge-danger-color: #f55;--badge-info-color: #0295ff;--badge-note-color: #666}.vp-badge{display:inline-block;vertical-align:center;height:18px;padding:0 6px;border-radius:3px;background:var(--vp-tc);color:var(--white);font-size:14px;line-height:18px;transition:background var(--vp-ct),color var(--vp-ct)}.vp-badge+.vp-badge{margin-inline-start:5px}h1 .vp-badge,h2 .vp-badge,h3 .vp-badge,h4 .vp-badge,h5 .vp-badge,h6 .vp-badge{vertical-align:top}.vp-badge.tip{background:var(--badge-tip-color)}.vp-badge.warning{background:var(--badge-warning-color)}.vp-badge.danger{background:var(--badge-danger-color)}.vp-badge.info{background:var(--badge-info-color)}.vp-badge.note{background:var(--badge-note-color)}.font-icon{display:inline-block}.theme-hope-content .font-icon{vertical-align:middle}@media screen{.sr-only{position:absolute;overflow:hidden;clip:rect 0,0,0,0;width:1px;height:1px;margin:-1px;padding:0;border:0}}@media print{.sr-only{display:none}}.vp-catalog-wrapper{margin-top:8px;margin-bottom:8px}.vp-catalog-wrapper.index ol{padding-inline-start:0}.vp-catalog-wrapper.index li{list-style-type:none}.vp-catalog-wrapper.index .vp-catalogs{padding-inline-start:0}.vp-catalog-wrapper.index .vp-catalog{list-style-type:none}.vp-catalog-wrapper.index .vp-catalog-title:before{content:"§" counter(catalog-item,upper-roman) " "}.vp-catalog-wrapper.index .vp-child-catalogs{counter-reset:child-catalog}.vp-catalog-wrapper.index .vp-child-catalog{counter-increment:child-catalog}.vp-catalog-wrapper.index .vp-child-catalog .vp-catalog-title:before{content:counter(catalog-item) "." counter(child-catalog) " "}.vp-catalog-wrapper.index .vp-sub-catalogs{padding-inline-start:.5rem}.vp-catalogs{margin:0;counter-reset:catalog-item}.vp-catalogs.deep{padding-inline-start:0}.vp-catalogs.deep .vp-catalog{list-style-type:none}.vp-catalogs .font-icon{vertical-align:baseline;margin-inline-end:.25rem}.vp-catalog{counter-increment:catalog-item}.vp-catalog-main-title{margin-top:calc(1rem - var(--navbar-height, 3.6rem));margin-bottom:.5rem;padding-top:var(--navbar-height, 3.6rem);font-weight:500;font-size:1.75rem}.vp-catalog-main-title:first-child{margin-bottom:.5rem!important}.vp-catalog-main-title:only-child{margin-bottom:0!important}.vp-catalog-main-title .vp-link{text-decoration:none!important}.vp-catalog-child-title{margin-bottom:.5rem!important}.vp-catalog-child-title.has-children{margin-top:calc(1rem - var(--navbar-height, 3.6rem));padding-top:var(--navbar-height, 3.6rem);border-bottom:1px solid var(--catalog-border-color);font-weight:500;font-size:1.3rem;transition:border-color .3s}.vp-catalog-child-title.has-children:only-child{margin-bottom:0!important}.vp-catalog-child-title .vp-link{text-decoration:none!important}.vp-catalog-sub-title{font-weight:500;font-size:1.1rem}.vp-catalog-sub-title:only-child{margin-bottom:0!important}.vp-catalog-title{color:inherit;text-decoration:none}.vp-catalog-title:hover{color:var(--catalog-active-color)}.vp-child-catalogs{margin:0}.vp-child-catalog{list-style-type:disc}.vp-sub-catalogs{counter-reset:sub-catalog}.vp-sub-catalog{counter-increment:sub-catalog}.vp-sub-catalog .vp-link:before{content:counter(catalog-item) "." counter(child-catalog) "." counter(sub-catalog) " "}.vp-sub-catalogs-wrapper{display:flex;flex-wrap:wrap}.vp-sub-catalog-link{display:inline-block;margin:4px 8px;padding:4px 8px;border-radius:6px;background-color:var(--catalog-bg-secondary-color);line-height:1.5;overflow-wrap:break-word;transition:background-color .3s,color .3s}.vp-sub-catalog-link:hover{background-color:var(--catalog-hover-color);color:var(--catalog-bg-color);text-decoration:none!important}.vp-catalog-header-anchor{content:"¶";float:left;margin-top:.125em;margin-left:-1em;padding-right:0;font-size:.85em;text-decoration:none;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media print{.vp-catalog-header-anchor{display:none}}h2:hover .vp-catalog-header-anchor,h3:hover .vp-catalog-header-anchor{text-decoration:none;opacity:1}.vp-catalog-header-anchor:focus-visible{opacity:1}.vp-empty-catalog{font-size:1.25rem;text-align:center}:root{--catalog-bg-color: #fff;--catalog-bg-secondary-color: #f8f8f8;--catalog-border-color: #e5e5e5;--catalog-active-color: #3eaf7c;--catalog-hover-color: #71cda3}.vp-back-to-top-button{position:fixed!important;bottom:4rem;inset-inline-end:1rem;z-index:100;width:48px;height:48px;padding:12px;border-width:0;border-radius:50%;background:var(--back-to-top-bg-color);color:var(--back-to-top-color);box-shadow:2px 2px 10px 4px var(--back-to-top-shadow);cursor:pointer}@media (max-width: 959px){.vp-back-to-top-button{transform:scale(.8);transform-origin:100% 100%}}@media print{.vp-back-to-top-button{display:none}}.vp-back-to-top-button:hover{color:var(--back-to-top-color-hover)}.vp-back-to-top-button .back-to-top-icon{overflow:hidden;width:24px;height:24px;margin:0 auto;background:var(--back-to-top-icon-color);-webkit-mask-image:var(--back-to-top-icon);mask-image:var(--back-to-top-icon);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:cover;mask-size:cover}.vp-scroll-progress{position:absolute;right:-2px;bottom:-2px;width:52px;height:52px}.vp-scroll-progress svg{width:100%;height:100%}.vp-scroll-progress circle{opacity:.9;transform:rotate(-90deg);transform-origin:50% 50%}.back-to-top-enter-active,.back-to-top-leave-active{transition:opacity .3s}.back-to-top-enter-from,.back-to-top-leave-to{opacity:0}:root{--back-to-top-z-index: 5;--back-to-top-icon: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='4'%20d='M24.008%2014.1V42M12%2026l12-12l12%2012M12%206h24'%20/%3e%3c/svg%3e");--back-to-top-bg-color: #fff;--back-to-top-color: #3eaf7c;--back-to-top-icon-color: currentcolor;--back-to-top-color-hover: #71cda3;--back-to-top-shadow: rgb(0 0 0 / 20%)}:root{--nprogress-color: #29d;--nprogress-z-index: 1031}#nprogress{pointer-events:none}#nprogress .bar{position:fixed;top:0;left:0;z-index:var(--nprogress-z-index);width:100%;height:2px;background:var(--nprogress-color)}:root{--code-copy-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2' /%3e%3c/svg%3e");--code-copied-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4' /%3e%3c/svg%3e");--copy-code-color: #9e9e9e;--copy-code-hover: rgb(0 0 0 / 50%)}.vp-copy-code-button{position:absolute;top:.5em;right:.5em;z-index:5;width:2.5rem;height:2.5rem;padding:0;border-width:0;border-radius:.5rem;background:transparent;outline:none;opacity:0;cursor:pointer;transition:opacity .4s}@media print{.vp-copy-code-button{display:none}}.vp-copy-code-button:before{content:"";display:inline-block;width:1.25rem;height:1.25rem;padding:.625rem;background:currentcolor;color:var(--copy-code-color);font-size:1.25rem;-webkit-mask-image:var(--code-copy-icon);mask-image:var(--code-copy-icon);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:1em;mask-size:1em}.vp-copy-code-button:focus,.vp-copy-code-button.copied{opacity:1}.vp-copy-code-button:hover,.vp-copy-code-button.copied{background:var(--copy-code-hover)}.vp-copy-code-button.copied:before{-webkit-mask-image:var(--code-copied-icon);mask-image:var(--code-copied-icon)}.vp-copy-code-button.copied:after{content:attr(data-copied);position:absolute;top:0;right:calc(100% + .25rem);display:block;height:1.25rem;padding:.625rem;border-radius:.5rem;background:var(--copy-code-hover);color:var(--copy-code-color);font-weight:500;line-height:1.25rem;white-space:nowrap}.copy-code-disabled .vp-copy-code-button{display:none}body:not(.copy-code-disabled) div[class*=language-]:hover:before{display:none}body:not(.copy-code-disabled) div[class*=language-]:hover .vp-copy-code-button{opacity:1}.footnote-item{margin-top:calc(0rem - var(--navbar-height, 3.6rem));padding-top:calc(var(--navbar-height, 3.6rem) + .5rem)}.footnote-item>p{margin-bottom:0}.footnote-ref{position:relative}.footnote-anchor{position:absolute;top:calc(-.5rem - var(--navbar-height, 3.6rem))}:root{--important-title-color: #230555;--important-bg-color: #f4eefe;--important-border-color: #a371f7;--important-code-bg-color: rgb(163 113 247 / 10%);--info-title-color: #193c47;--info-bg-color: #eef9fd;--info-border-color: #4cb3d4;--info-code-bg-color: rgb(76 179 212 / 10%);--note-title-color: #474748;--note-bg-color: #fdfdfe;--note-border-color: #ccc;--note-code-bg-color: rgb(212 213 216 / 20%);--tip-title-color: #003100;--tip-bg-color: #e6f6e6;--tip-border-color: #009400;--tip-code-bg-color: rgb(0 148 0 / 15%);--warning-title-color: #4d3800;--warning-bg-color: #fff8e6;--warning-border-color: #e6a700;--warning-code-bg-color: rgb(230 167 0 / 15%);--caution-title-color: #4b1113;--caution-bg-color: #ffebec;--caution-border-color: #e13238;--caution-code-bg-color: rgb(225 50 56 / 15%);--detail-bg-color: #eee;--detail-text-color: inherit;--detail-code-bg-color: rgb(127 127 127 / 15%)}html[data-theme=dark]{--important-title-color: #f4eefe;--important-bg-color: #230555;--info-title-color: #eef9fd;--info-bg-color: #193c47;--note-title-color: #fdfdfe;--note-bg-color: #474748;--tip-title-color: #e6f6e6;--tip-bg-color: #003100;--warning-title-color: #fff8e6;--warning-bg-color: #4d3800;--caution-title-color: #ffebec;--caution-bg-color: #4b1113;--detail-bg-color: #333;--detail-text-color: #a8a8a8}.hint-container{position:relative;transition:background var(--vp-ct),border-color var(--vp-ct),color var(--vp-ct)}@media print{.hint-container{page-break-inside:avoid}}.hint-container .hint-container-title{position:relative;font-weight:600;line-height:1.25}.hint-container.important,.hint-container.info,.hint-container.note,.hint-container.tip,.hint-container.warning,.hint-container.caution{margin:1rem 0;padding:.25rem 1rem;border-inline-start-width:.3rem;border-inline-start-style:solid;border-radius:.5rem;color:inherit}@media (max-width: 419px){.hint-container.important,.hint-container.info,.hint-container.note,.hint-container.tip,.hint-container.warning,.hint-container.caution{margin-inline:-.75rem}}.hint-container.important .hint-container-title,.hint-container.info .hint-container-title,.hint-container.note .hint-container-title,.hint-container.tip .hint-container-title,.hint-container.warning .hint-container-title,.hint-container.caution .hint-container-title{padding-inline-start:1.75rem}@media print{.hint-container.important .hint-container-title,.hint-container.info .hint-container-title,.hint-container.note .hint-container-title,.hint-container.tip .hint-container-title,.hint-container.warning .hint-container-title,.hint-container.caution .hint-container-title{padding-inline-start:0}}.hint-container.important .hint-container-title:before,.hint-container.info .hint-container-title:before,.hint-container.note .hint-container-title:before,.hint-container.tip .hint-container-title:before,.hint-container.warning .hint-container-title:before,.hint-container.caution .hint-container-title:before{content:" ";position:absolute;inset-inline-start:0;top:calc(50% - .6125em);width:1.25em;height:1.25em;background-position:left;background-repeat:no-repeat}@media print{.hint-container.important .hint-container-title:before,.hint-container.info .hint-container-title:before,.hint-container.note .hint-container-title:before,.hint-container.tip .hint-container-title:before,.hint-container.warning .hint-container-title:before,.hint-container.caution .hint-container-title:before{display:none}}.hint-container.important p,.hint-container.info p,.hint-container.note p,.hint-container.tip p,.hint-container.warning p,.hint-container.caution p{line-height:1.5}.hint-container.important a,.hint-container.info a,.hint-container.note a,.hint-container.tip a,.hint-container.warning a,.hint-container.caution a{color:var(--vp-tc)}.hint-container.important{border-color:var(--important-border-color);background:var(--important-bg-color)}.hint-container.important>.hint-container-title{color:var(--important-title-color)}.hint-container.important>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512 981.333a84.992 84.992 0 0 1-84.907-84.906h169.814A84.992 84.992 0 0 1 512 981.333zm384-128H128v-42.666l85.333-85.334v-256A298.325 298.325 0 0 1 448 177.92V128a64 64 0 0 1 128 0v49.92a298.325 298.325 0 0 1 234.667 291.413v256L896 810.667v42.666zm-426.667-256v85.334h85.334v-85.334h-85.334zm0-256V512h85.334V341.333h-85.334z' fill='%23a371f7'/%3E%3C/svg%3E")}.hint-container.important :not(pre)>code{background:var(--important-code-bg-color)}.hint-container.info{border-color:var(--info-border-color);background:var(--info-bg-color)}.hint-container.info>.hint-container-title{color:var(--info-title-color)}.hint-container.info>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%234cb3d4'/%3E%3C/svg%3E")}.hint-container.info :not(pre)>code{background:var(--info-code-bg-color)}.hint-container.note{border-color:var(--note-border-color);background:var(--note-bg-color)}.hint-container.note>.hint-container-title{color:var(--note-title-color)}.hint-container.note>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%23ccc'/%3E%3C/svg%3E")}.hint-container.note :not(pre)>code{background:var(--note-code-bg-color)}.hint-container.tip{border-color:var(--tip-border-color);background:var(--tip-bg-color)}.hint-container.tip>.hint-container-title{color:var(--tip-title-color)}.hint-container.tip>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23009400' d='M7.941 18c-.297-1.273-1.637-2.314-2.187-3a8 8 0 1 1 12.49.002c-.55.685-1.888 1.726-2.185 2.998H7.94zM16 20v1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h8zm-3-9.995V6l-4.5 6.005H11v4l4.5-6H13z'/%3E%3C/svg%3E")}.hint-container.tip :not(pre)>code{background:var(--tip-code-bg-color)}.hint-container.warning{border-color:var(--warning-border-color);background:var(--warning-bg-color)}.hint-container.warning>.hint-container-title{color:var(--warning-title-color)}.hint-container.warning>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M576.286 752.57v-95.425q0-7.031-4.771-11.802t-11.3-4.772h-96.43q-6.528 0-11.3 4.772t-4.77 11.802v95.424q0 7.031 4.77 11.803t11.3 4.77h96.43q6.528 0 11.3-4.77t4.77-11.803zm-1.005-187.836 9.04-230.524q0-6.027-5.022-9.543-6.529-5.524-12.053-5.524H456.754q-5.524 0-12.053 5.524-5.022 3.516-5.022 10.547l8.538 229.52q0 5.023 5.022 8.287t12.053 3.265h92.913q7.032 0 11.803-3.265t5.273-8.287zM568.25 95.65l385.714 707.142q17.578 31.641-1.004 63.282-8.538 14.564-23.354 23.102t-31.892 8.538H126.286q-17.076 0-31.892-8.538T71.04 866.074q-18.582-31.641-1.004-63.282L455.75 95.65q8.538-15.57 23.605-24.61T512 62t32.645 9.04 23.605 24.61z' fill='%23e6a700'/%3E%3C/svg%3E")}.hint-container.warning :not(pre)>code{background:var(--warning-code-bg-color)}.hint-container.caution{border-color:var(--caution-border-color);background:var(--caution-bg-color)}.hint-container.caution>.hint-container-title{color:var(--caution-title-color)}.hint-container.caution>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5.523 0 10 4.477 10 10v3.764a2 2 0 0 1-1.106 1.789L18 19v1a3 3 0 0 1-2.824 2.995L14.95 23a2.5 2.5 0 0 0 .044-.33L15 22.5V22a2 2 0 0 0-1.85-1.995L13 20h-2a2 2 0 0 0-1.995 1.85L9 22v.5c0 .171.017.339.05.5H9a3 3 0 0 1-3-3v-1l-2.894-1.447A2 2 0 0 1 2 15.763V12C2 6.477 6.477 2 12 2zm-4 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z' fill='%23e13238'/%3E%3C/svg%3E")}.hint-container.caution :not(pre)>code{background:var(--caution-code-bg-color)}.hint-container.details{position:relative;display:block;margin:1rem 0;padding:1.5rem;border-radius:.5rem;background:var(--detail-bg-color);color:var(--detail-text-color);transition:background var(--vp-tt),color var(--vp-tt)}@media (max-width: 419px){.hint-container.details{margin-inline:-.75rem}}.hint-container.details h4{margin-top:0}.hint-container.details figure:last-child,.hint-container.details p:last-child{margin-bottom:0;padding-bottom:0}.hint-container.details a{color:var(--vp-tc)}.hint-container.details :not(pre)>code{background:var(--detail-code-bg-color)}.hint-container.details summary{position:relative;margin:-1.5rem;padding-block:1.5rem;padding-inline:4rem 1.5rem;list-style:none;cursor:pointer}.hint-container.details summary::-webkit-details-marker{display:none}.hint-container.details summary::marker{color:transparent;font-size:0}.hint-container.details summary:before,.hint-container.details summary:after{content:" ";position:absolute;inset-inline-start:1.5rem;top:calc(50% - .75rem);width:1.5rem;height:1.5rem}.hint-container.details summary:before{border-radius:50%;background:#ccc;transition:background var(--vp-ct),transform var(--vp-tt)}html[data-theme=dark] .hint-container.details summary:before{background:#555}.hint-container.details summary:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");line-height:normal;transition:transform var(--vp-tt);transform:rotate(90deg)}html[data-theme=dark] .hint-container.details summary:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.hint-container.details[open]>summary{margin-bottom:.5em}.hint-container.details[open]>summary:after{transform:rotate(180deg)}html[data-theme=light] figure:has(img[data-mode=darkmode-only]),html[data-theme=light] img[data-mode=darkmode-only]{display:none!important}html[data-theme=dark] figure:has(img[data-mode=lightmode-only]),html[data-theme=dark] img[data-mode=lightmode-only]{display:none!important}.task-list-container{padding-inline-start:0;list-style-position:inside}.task-list-container .task-list-container{padding-inline-start:1.5em}.task-list-item{list-style:none}.task-list-item-checkbox{position:relative;cursor:pointer}.task-list-item-checkbox:after{content:" ";position:absolute;top:0;display:inline-block;box-sizing:border-box;width:1em;height:1em;padding-inline-start:0;border:1px solid #ddd;border-radius:2px;background:#fff;text-align:center;visibility:visible;transition:background var(--vp-ct),border-color var(--vp-ct)}@media print{.task-list-item-checkbox:after{border-color:var(--vp-c)}}html[data-theme=dark] .task-list-item-checkbox:after{border-color:#666;background:#333}.task-list-item-checkbox:checked:after{content:"";border-color:var(--vp-tc);background:var(--vp-tc)}@media print{.task-list-item-checkbox:checked:after{border-color:var(--vp-c);background:transparent}}html[data-theme=dark] .task-list-item-checkbox:checked:after{border-color:var(--vp-tc);background:var(--vp-tc)}.task-list-item-checkbox:checked:before{content:"";position:absolute;inset-inline-start:.4em;top:.1em;z-index:1;width:.2em;height:.5em;border:solid var(--white);border-width:0 .15em .15em 0;transform:rotate(45deg)}@media print{.task-list-item-checkbox:checked:before{border-color:var(--vp-c)}}/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */.pswp{--pswp-bg: #000;--pswp-placeholder-bg: #222;--pswp-root-z-index: 100000;--pswp-preloader-color: rgba(79, 79, 79, .4);--pswp-preloader-color-secondary: rgba(255, 255, 255, .9);--pswp-icon-color: #fff;--pswp-icon-color-secondary: #4f4f4f;--pswp-icon-stroke-color: #4f4f4f;--pswp-icon-stroke-width: 2px;--pswp-error-text-color: var(--pswp-icon-color)}.pswp{position:fixed;top:0;left:0;width:100%;height:100%;z-index:var(--pswp-root-z-index);display:none;touch-action:none;outline:0;opacity:.003;contain:layout style size;-webkit-tap-highlight-color:rgba(0,0,0,0)}.pswp:focus{outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--open{display:block}.pswp,.pswp__bg{transform:translateZ(0);will-change:opacity}.pswp__bg{opacity:.005;background:var(--pswp-bg)}.pswp,.pswp__scroll-wrap{overflow:hidden}.pswp__scroll-wrap,.pswp__bg,.pswp__container,.pswp__item,.pswp__content,.pswp__img,.pswp__zoom-wrap{position:absolute;top:0;left:0;width:100%;height:100%}.pswp__img,.pswp__zoom-wrap{width:auto;height:auto}.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img{cursor:move;cursor:grab}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:grabbing}.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,.pswp__img{cursor:zoom-out}.pswp__container,.pswp__img,.pswp__button,.pswp__counter{-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__item{z-index:1;overflow:hidden}.pswp__hidden{display:none!important}.pswp__content{pointer-events:none}.pswp__content>*{pointer-events:auto}.pswp__error-msg-container{display:grid}.pswp__error-msg{margin:auto;font-size:1em;line-height:1;color:var(--pswp-error-text-color)}.pswp .pswp__hide-on-close{opacity:.005;will-change:opacity;transition:opacity var(--pswp-transition-duration) cubic-bezier(.4,0,.22,1);z-index:10;pointer-events:none}.pswp--ui-visible .pswp__hide-on-close{opacity:1;pointer-events:auto}.pswp__button{position:relative;display:block;width:50px;height:60px;padding:0;margin:0;overflow:hidden;cursor:pointer;background:none;border:0;box-shadow:none;opacity:.85;-webkit-appearance:none;-webkit-touch-callout:none}.pswp__button:hover,.pswp__button:active,.pswp__button:focus{transition:none;padding:0;background:none;border:0;box-shadow:none;opacity:1}.pswp__button:disabled{opacity:.3;cursor:auto}.pswp__icn{fill:var(--pswp-icon-color);color:var(--pswp-icon-color-secondary)}.pswp__icn{position:absolute;top:14px;left:9px;width:32px;height:32px;overflow:hidden;pointer-events:none}.pswp__icn-shadow{stroke:var(--pswp-icon-stroke-color);stroke-width:var(--pswp-icon-stroke-width);fill:none}.pswp__icn:focus{outline:0}div.pswp__img--placeholder,.pswp__img--with-bg{background:var(--pswp-placeholder-bg)}.pswp__top-bar{position:absolute;left:0;top:0;width:100%;height:60px;display:flex;flex-direction:row;justify-content:flex-end;z-index:10;pointer-events:none!important}.pswp__top-bar>*{pointer-events:auto;will-change:opacity}.pswp__button--close{margin-right:6px}.pswp__button--arrow{position:absolute;width:75px;height:100px;top:50%;margin-top:-50px}.pswp__button--arrow:disabled{display:none;cursor:default}.pswp__button--arrow .pswp__icn{top:50%;margin-top:-30px;width:60px;height:60px;background:none;border-radius:0}.pswp--one-slide .pswp__button--arrow{display:none}.pswp--touch .pswp__button--arrow{visibility:hidden}.pswp--has_mouse .pswp__button--arrow{visibility:visible}.pswp__button--arrow--prev{right:auto;left:0}.pswp__button--arrow--next{right:0}.pswp__button--arrow--next .pswp__icn{left:auto;right:14px;transform:scaleX(-1)}.pswp__button--zoom{display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__zoom-icn-bar-v{display:none}.pswp__preloader{position:relative;overflow:hidden;width:50px;height:60px;margin-right:auto}.pswp__preloader .pswp__icn{opacity:0;transition:opacity .2s linear;animation:pswp-clockwise .6s linear infinite}.pswp__preloader--active .pswp__icn{opacity:.85}@keyframes pswp-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pswp__counter{height:30px;margin-top:15px;margin-inline-start:20px;font-size:14px;line-height:30px;color:var(--pswp-icon-color);text-shadow:1px 1px 3px var(--pswp-icon-color-secondary);opacity:.85}.pswp--one-slide .pswp__counter{display:none}.photo-swipe-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.photo-swipe-bullets-indicator{position:absolute;bottom:30px;left:50%;display:flex;flex-direction:row;align-items:center;transform:translate(-50%)}.photo-swipe-bullet{width:12px;height:6px;margin:0 5px;border-radius:3px;background:var(--photo-swipe-bullet);transition:width .3s,color .3s}.photo-swipe-bullet.active{width:30px;background:var(--photo-swipe-bullet-active)}:root{--photo-swipe-bullet: #fff;--photo-swipe-bullet-active: #3eaf7c}:root{--search-bg-color: #fff;--search-accent-color: #3eaf7c;--search-text-color: #2c3e50;--search-border-color: #eaecef;--search-item-text-color: #5d81a5;--search-item-focus-bg-color: #f3f4f5;--search-input-width: 8rem;--search-result-width: 20rem}.search-box{position:relative;display:inline-block;margin-left:1rem}@media print{.search-box{display:none}}.search-box input{display:inline-block;width:var(--search-input-width);height:2rem;padding:0 .5rem 0 2rem;border:1px solid var(--search-border-color);border-radius:2rem;background:var(--search-bg-color) url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='13'%3e%3cg%20stroke-width='2'%20stroke='%23aaa'%20fill='none'%3e%3cpath%20d='M11.29%2011.71l-4-4'/%3e%3ccircle%20cx='5'%20cy='5'%20r='4'/%3e%3c/g%3e%3c/svg%3e") .6rem .5rem no-repeat;background-size:1rem;color:var(--search-text-color);outline:none;font-size:.9rem;line-height:2rem;cursor:text;transition:all ease .3s;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (max-width: 719px){.search-box input{position:relative;width:0;border-color:transparent;cursor:pointer}}.search-box input:focus{border-color:var(--search-accent-color);cursor:auto}@media (max-width: 719px){.search-box input:focus{left:0;width:10rem;cursor:text}}@media (max-width: 419px){.search-box input:focus{width:8rem}}.search-box .suggestions{position:absolute;top:2rem;right:0;width:var(--search-result-width);padding:.4rem;border:1px solid var(--search-border-color);border-radius:6px;background:var(--search-bg-color);list-style-type:none}@media (max-width: 419px){.search-box .suggestions{right:-.5rem;width:calc(100vw - 4rem)}}.search-box .suggestion{padding:.4rem .6rem;border-radius:4px;line-height:1.4;cursor:pointer}.search-box .suggestion a{color:var(--search-item-text-color);white-space:normal}.search-box .suggestion.focus{background-color:var(--search-item-focus-bg-color)}.search-box .suggestion.focus a{color:var(--search-accent-color)}.search-box .suggestion .page-title{font-weight:600}.search-box .suggestion .page-header{margin-left:.25em;font-size:.9em}.redirect-modal-fade-enter-active,.redirect-modal-fade-leave-active{transition:opacity .5s}.redirect-modal-fade-enter,.redirect-modal-fade-leave-to{opacity:0}.redirect-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--redirect-z-index);display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@media print{.redirect-modal-mask{display:none}}.redirect-modal-wrapper{position:relative;z-index:1500;overflow:hidden;max-width:80vw;padding:1rem 2rem;border-radius:8px;background:var(--redirect-bg-color);box-shadow:0 2px 6px 0 var(--card-shadow)}.redirect-modal-action{display:block;width:100%;margin:1rem 0;padding:.5rem .75rem;border:none;border-radius:8px;background-color:var(--redirect-bg-color-lighter);color:inherit;cursor:pointer}.redirect-modal-action:hover{background-color:var(--redirect-bg-color-light)}.redirect-modal-action.primary{background-color:var(--redirect-primary-color);color:var(--redirect-primary-text-color)}.redirect-modal-action.primary:hover{background-color:var(--redirect-primary-hover-color)}:root{--redirect-z-index: 1499;--redirect-bg-color: #fff;--redirect-bg-color-light: #f3f4f5;--redirect-bg-color-lighter: #eee;--redirect-text-color: #2c3e50;--redirect-primary-color: #3eaf7c;--redirect-primary-hover-color: #4abf8a;--redirect-primary-text-color: #fff}:root{--balloon-border-radius: 2px;--balloon-color: rgba(16, 16, 16, .95);--balloon-text-color: #fff;--balloon-font-size: 12px;--balloon-move: 4px}button[aria-label][data-balloon-pos]{overflow:visible}[aria-label][data-balloon-pos]{position:relative;cursor:pointer}[aria-label][data-balloon-pos]:after{opacity:0;pointer-events:none;transition:all .18s ease-out .18s;text-indent:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-weight:400;font-style:normal;text-shadow:none;font-size:var(--balloon-font-size);background:var(--balloon-color);border-radius:2px;color:var(--balloon-text-color);border-radius:var(--balloon-border-radius);content:attr(aria-label);padding:.5em 1em;position:absolute;white-space:nowrap;z-index:10}[aria-label][data-balloon-pos]:before{width:0;height:0;border:5px solid transparent;border-top-color:var(--balloon-color);opacity:0;pointer-events:none;transition:all .18s ease-out .18s;content:"";position:absolute;z-index:10}[aria-label][data-balloon-pos]:hover:before,[aria-label][data-balloon-pos]:hover:after,[aria-label][data-balloon-pos][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-visible]:after,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:before,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:after{opacity:1;pointer-events:none}[aria-label][data-balloon-pos].font-awesome:after{font-family:FontAwesome,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[aria-label][data-balloon-pos][data-balloon-break]:after{white-space:pre}[aria-label][data-balloon-pos][data-balloon-break][data-balloon-length]:after{white-space:pre-line;word-break:break-word}[aria-label][data-balloon-pos][data-balloon-blunt]:before,[aria-label][data-balloon-pos][data-balloon-blunt]:after{transition:none}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:after{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:before{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:after{left:0}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:before{left:5px}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:after{right:0}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:before{right:5px}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:after,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:after{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:before,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:before{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-pos^=up]:before,[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{bottom:100%;transform-origin:top;transform:translateY(var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{margin-bottom:10px}[aria-label][data-balloon-pos][data-balloon-pos=up]:before,[aria-label][data-balloon-pos][data-balloon-pos=up]:after{left:50%;transform:translate(-50%,var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before,[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{top:100%;transform:translateY(calc(var(--balloon-move) * -1))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{margin-top:10px}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before{width:0;height:0;border:5px solid transparent;border-bottom-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-pos=down]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:before{left:50%;transform:translate(-50%,calc(var(--balloon-move) * -1))}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:after{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:before{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after,[aria-label][data-balloon-pos][data-balloon-pos=left]:before{right:100%;top:50%;transform:translate(var(--balloon-move),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after{margin-right:10px}[aria-label][data-balloon-pos][data-balloon-pos=left]:before{width:0;height:0;border:5px solid transparent;border-left-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:before{left:100%;top:50%;transform:translate(calc(var(--balloon-move) * -1),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after{margin-left:10px}[aria-label][data-balloon-pos][data-balloon-pos=right]:before{width:0;height:0;border:5px solid transparent;border-right-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-length]:after{white-space:normal}[aria-label][data-balloon-pos][data-balloon-length=small]:after{width:80px}[aria-label][data-balloon-pos][data-balloon-length=medium]:after{width:150px}[aria-label][data-balloon-pos][data-balloon-length=large]:after{width:260px}[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:380px}@media screen and (max-width: 768px){[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:90vw}}[aria-label][data-balloon-pos][data-balloon-length=fit]:after{width:100%}html,body{margin:0;padding:0;background:#fff}html{font-size:16px;font-display:optional;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}@media print{html{font-size:12pt}}body{min-height:100vh;color:#2c3e50}a{color:#3eaf7c;font-weight:500;text-decoration:none;overflow-wrap:break-word}kbd{display:inline-block;min-width:1em;margin-inline:.125rem;padding:.25em;border:1px solid #eee;border-radius:.25em;box-shadow:1px 1px 4px #00000026;line-height:1;letter-spacing:-.1em;text-align:center}code{margin:0;padding:3px 6px;border-radius:4px;background:#7f7f7f1f;font-size:.875em;overflow-wrap:break-word}table code{padding:.1rem .4rem}p a code{color:#3eaf7c;font-weight:400}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25;overflow-wrap:break-word}h1:focus-visible,h2:focus-visible,h3:focus-visible,h4:focus-visible,h5:focus-visible,h6:focus-visible{outline:none}h1{font-size:2rem}h2{padding-bottom:.3rem;border-bottom:1px solid #eaecef;font-size:1.65rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:1.05rem}h6{font-size:1rem}a.header-anchor{position:relative;color:inherit;text-decoration:none}a.header-anchor:hover:before{content:"¶";position:absolute;top:.4167em;left:-.75em;color:var(--c-brand);font-size:.75em}a.header-anchor:focus-visible{outline:none}a.header-anchor:focus-visible:before{content:"¶";position:absolute;left:-.75em;color:var(--c-brand);outline:auto}p,ul,ol{line-height:1.6;overflow-wrap:break-word}@media print{p,ul,ol{line-height:1.5}}ul,ol{padding-inline-start:1.2em}blockquote{margin:1rem 0;padding:.25rem 0 .25rem 1rem;border-inline-start:.2rem solid #ddd;color:#666;font-size:1rem;overflow-wrap:break-word}blockquote>p{margin:0}hr{border:0;border-top:1px solid #eaecef}table{display:block;overflow-x:auto;margin:1rem 0;border-collapse:collapse}tr:nth-child(odd){background:#f6f8fa}th,td{padding:.6em 1em;border:1px solid #dfe2e5}pre{text-align:left;white-space:pre;word-spacing:normal;word-wrap:normal;word-break:normal;overflow-wrap:unset;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none;direction:ltr}@media print{pre{white-space:pre-wrap}}pre code{padding:0;border-radius:0}@page{margin:2cm;font-size:12pt;size:a4}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}a{color:inherit;font-weight:inherit!important;font-size:inherit!important;text-decoration:underline}a.header-anchor{text-decoration:none}abbr[title]:after{content:" (" attr(title) ")"}pre{border:1px solid #eee;white-space:pre-wrap!important}pre>code{white-space:pre-wrap!important}blockquote{border-inline-start:.2rem solid #ddd;color:inherit}blockquote,pre{orphans:5;widows:5}img,tr,canvas{page-break-inside:avoid}}:root{--navbar-bg-color: var(--bg-color-float-blur);--sidebar-bg-color: var(--bg-color-blur);--external-link-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E")}html[data-theme=dark]{--navbar-bg-color: var(--bg-color-blur);--sidebar-bg-color: var(--bg-color-blur)}#app{--code-tabs-nav-text-color: var(--code-color);--code-tabs-nav-bg-color: var(--code-border-color);--code-tabs-nav-hover-color: var(--code-highlight-bg-color);--sidebar-space: var(--sidebar-width);--external-link-icon-color: var(--grey-light)}@media (max-width: 959px){#app{--navbar-height: var(--navbar-mobile-height);--navbar-vertical-padding: var(--navbar-mobile-vertical-padding);--navbar-horizontal-padding: var(--navbar-mobile-horizontal-padding);--sidebar-width: var(--sidebar-mobile-width)}}@media (min-width: 1440px){#app{--sidebar-space: clamp( var(--sidebar-width), max(0px, calc((100vw - var(--content-width)) / 2 - 2rem)) , 100vw )}}.vp-copy-code-button{--copy-code-color: var(--code-line-number-color);--copy-code-hover: var(--code-highlight-bg-color)}.DocSearch-Button,.DocSearch{--docsearch-primary-color: var(--theme-color);--docsearch-text-color: var(--text-color);--docsearch-highlight-color: var(--theme-color);--docsearch-muted-color: var(--grey-light);--docsearch-container-background: rgb(9 10 17 / 80%);--docsearch-modal-background: var(--bg-color-float);--docsearch-searchbox-background: var(--bg-color-secondary);--docsearch-searchbox-focus-background: var(--bg-color);--docsearch-searchbox-shadow: inset 0 0 0 2px var(--theme-color);--docsearch-hit-color: var(--text-color-light);--docsearch-hit-active-color: var(--bg-color);--docsearch-hit-background: var(--bg-color);--docsearch-hit-shadow: 0 1px 3px 0 var(--border-color);--docsearch-footer-background: var(--bg-color)}html[data-theme=dark] .DocSearch-Button,html[data-theme=dark] .DocSearch{--docsearch-logo-color: var(--text-color);--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgb(3 4 9 / 30%);--docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);--docsearch-footer-shadow: inset 0 1px 0 0 rgb(73 76 106 / 50%), 0 -4px 8px 0 rgb(0 0 0 / 20%)}.vp-back-to-top-button{--back-to-top-color: var(--theme-color);--back-to-top-color-hover: var(--theme-color-light);--back-to-top-bg-color: var(--bg-color)}.vp-catalog-wrapper{--catalog-bg-color: var(--bg-color);--catalog-bg-secondary-color: var(--bg-color-secondary);--catalog-border-color: var(--border-color);--catalog-active-color: var(--theme-color);--catalog-hover-color: var(--theme-color-light)}#nprogress{--nprogress-color: var(--theme-color)}body{--photo-swipe-bullet: var(--white);--photo-swipe-bullet-active: var(--theme-color);--pwa-text-color: var(--text-color);--pwa-bg-color: var(--bg-color);--pwa-border-color: var(--border-color);--pwa-btn-text-color: var(--bg-color);--pwa-btn-bg-color: var(--theme-color);--pwa-btn-hover-bg-color: var(--theme-color-light);--pwa-shadow-color: var(--card-shadow);--pwa-content-color: var(--grey-darker);--pwa-content-light-color: var(--grey-dark)}.vp-notice-wrapper{--notice-color: var(--text-color);--notice-bg-color: var(--bg-color);--notice-primary-color: var(--theme-color);--notice-primary-text-color: var(--white);--notice-primary-hover-color: var(--theme-color-light);--notice-button-color: var(--bg-color-tertiary);--notice-button-hover-color: var(--bg-color-secondary)}.redirect-modal-mask{--redirect-bg-color: var(--bg-color);--redirect-bg-color-light: var(--bg-color-secondary);--redirect-bg-color-lighter: var(--bg-color-tertiary);--redirect-text-color: var(--text-color);--redirect-primary-color: var(--theme-color);--redirect-primary-hover-color: var(--theme-color-light);--redirect-primary-text-color: var(--white)}.search-box{--search-bg-color: var(--bg-color);--search-accent-color: var(--theme-color);--search-text-color: var(--text-color);--search-border-color: var(--border-color);--search-item-text-color: var(--text-color-lighter);--search-item-focus-bg-color: var(--bg-color-secondary)}.waline-wrapper{--waline-bg-color: var(--bg-color);--waline-bg-color-light: var(--bg-color-secondary);--waline-text-color: var(--text-color);--waline-border: 1px solid var(--border-color);--waline-border-color: var(--border-color);--waline-theme-color: var(--theme-color);--waline-active-color: var(--theme-color-light)}@font-face{font-weight:400;font-style:normal;font-family:Crimson;src:url(data:font/truetype;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTYr5mwEAAAyMAAAAHEdERUYAKQATAAAMbAAAAB5PUy8yVsJ0MgAAAVgAAABgY21hcBiKDzgAAAHcAAABWGdhc3D//wADAAAMZAAAAAhnbHlmr+DBdQAAA1AAAAdsaGVhZBZwt+8AAADcAAAANmhoZWEFawEuAAABFAAAACRobXR4BksA9gAAAbgAAAAibG9jYQlsC24AAAM0AAAAHG1heHAAEQBZAAABOAAAACBuYW1lLaFDVAAACrwAAAFrcG9zdAC1AHoAAAwoAAAAPAABAAAAAQAAqBd2H18PPPUACwQAAAAAANqqufwAAAAA2qq5/AAb/9wB4QMeAAAACAACAAAAAAAAAAEAAAMs/ywAXAH9AAAAAAHhAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAANAFkAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAH1AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAIABgMAAAAAAAAAAAABEAAAAAAAAAAAAAAAUGZFZADAADAAOQMs/ywAXAMsANQAAAABAAAAAAMYAAAAAAAgAAEBpwAfAAAAAAFVAAAB/QAfAH0ALQA+ABsAPgAyACgAPgAxAAAAAAADAAAAAwAAABwAAQAAAAAAUgADAAEAAAAcAAQANgAAAAQABAABAAAAOf//AAAAL///AAAAAQAEAAAAAAADAAQABQAGAAcACAAJAAoACwAMAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwQFBgcICQoLDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYAJgAmAGIAwAEeAZIBzgJAApYC2gNiA7YAAQAf/9wBhwMeABIAAAEGBwYHATAXFjM2NzY3ASYnJjcBgxwLCgH+zgMECxIKCgIBLgEDAwMDHhQFBgP85wMEAQgJBgMOAwMDEwAAAAIAH//9Ad0CkAAQACEAABMWFxYXNjc2NzQnJicGBwYHNyY3NjcWFxYXFAcGByYnJjcfATo6amo7OQE5OmxrOjkBXQIlJEE5IyIBIyJEOSQjAgFOkV5eBAReXoqJXl4EBF5eggJ0UlEDA09Qe3xVVgMDU1OEAAAAAAEAff/9AYACkQA+AAA3FAcGBwYHBiMGFQYXNjc2MzIXFhc2JzQnIicmJyY1JjURNjc2MSYnJicjBgcGBwYVFBUUFxYXNjc2NzIXFhXkAQEEBRgYDAMBBB4ZGhweGxofBAEDDBgZBQQBAQMEAQIDBAIFNTZCAgMDBA0XFw0LBQV3GBMVDAgEBAUKCgUCAQICAQIFCgoFBAQIDBUTGAGnLxkbBAYFAQIZGh4BAgECBQUEAwUHBwEICRYAAAAAAQAtAAAB0QKRADoAADcGFxYXITY3NjcmJyYjIgcGBwYHBisBNjc2NzY3NjUmJyYnBgcGBxQXFhc2NzY3FhcWFxYHBgcGBwYHLgEEAwMBYwURERADBwYFBAMDAg8VEx/LJkBAOhsQDwIxMkxSMjIHCAYGCSYmPTIfHwEBCgoeLkJBQg8EBQQCETAwKQICAgEBBCgUEylJSUYhJicsRDIzAgY1NRoEBQYBEyEhAwEjIjYlJCQtQlBQSAAAAAABAD7/+wG+ApEASgAANwYXFhcWFxYzNjc2NyYnJic2NzY3JicmIwYHBgcUFxYXNjc2NxYXFhcGBwYHBgcUFRQXNjc2NxYXFhcGBwYnIicmJyYnJiciBwYXPwEIBwUaHB0VZU5NBAMvLi8eIB4DAywsKzwrKxgEAwUIHR4wLRscAQMvLz8BAQYKEhEQNSYmAgImJSsWExQPCw0NFREMDQE7DgsLBQwFBgE8PWpMKSoGECQkMkAiIQIdHyUHBwcBCRscAwEbGSpCIyUOAgMCAwwIAwUEAQEoKD9XJSQBBQYODg8PAQ0NFQAAAgAb//oB4QKTACIAJQAANxQXFhchFRQXFjMyNzYjNTM2NzY1NCcmJyMRNCcmIwYHBgcBExEbAgMFASEJCRIdCAkBRgIBAQUEBTwFAwgHCQkG/vjmxgUGBgOwBQIBAwKzAgQDCBAMDQEBlAYGBgEICQf+cwEs/tQAAQA+//sBvgKTAEoAADcGFxYXFhcWMzY3NjcmJyYnIgcGBzY3NjczMjc2NzY3NjU0JyYnBgcGByMGBwYHFBcWMzY3NjMWFxYHBgcGJyInJicmJyYnIgcGFz8BCAcFGhwdFWVOTQQBMjJbFx8gFwoJCQlWKB0dFQ4JCAQDBQMdHSKXCREQEgMCBA4bGhNYJyUBAiYlKxYTFA8LDQ0VEQwNATsOCwsFDAUGATw9akU2NwMFBggrMC8uAgICExcZBgQCAgMBAwQBMVNUWAUFBAYFBAMxMTNZIyQBBQYODg8PAQ0NFQAAAgAy//oBzQKXACAAMwAANxQXFhc2NzY3NicmJyIHBgc2NzY3NCcmJwYHBgcGBwYXNyY3Njc2FxYXFgcGBwYHJicmNzM1NV5aOTsCAioqahoiIRsnWFhFAwIHQ0tMOTAZGQFbBAQaGxkXRB8fAQEfIDE9Hh4E511FRwQDPT1ZPEJBBQwLF4Y9PRMGCwwBEiwsPDZFRkkTHyAbCAcBAjAwREYsLQEFREVQAAAAAAEAKP/7AdUCiwApAAATFhcWMzI3Njc2NzYzIQYHBgcWFxYzMjcBNjc2NzQnJiMiBwYjIQYHBgcoAwYHAwYDAwELEBEdAQUJYWJXAQ8PDgcDAQ4LCQgBAQEEBhUVFv7JBgsNDAH6DQMCAQEFKRITFMjHjQcFBgMCPxYSEwoEAgMBAhkrKiAAAAADAD7/9wG/ApIAKABBAFgAADcGFxYXNjc2NyYnJicmJzQ3Njc2NyYnJiMGBwYHFhcWFxYVFAcGBwYHNyY3Njc2MzIzMhcyFxYXFhcGBwYHIicmNxMmNzY3FhcWFRQHBgcGByIjIicmJyY3PwE1M1ZQODgDAykpMQIBAyYlJQMCMC9HRjExAgIiIiMCAiMvLwNTBBQTKgEBAQECAQIBEjU1CAEdHjMrISICGAMYGSYvGxoTEx8CAQIBBAMfJCQBoU8tLQECMjFPOC4uGwIBAgEWJiU7SCYoAjEwQzopKhMBAgECEykpQAQsIiEbAQEBBywsQjUeHQEiI0QBZSMhIAECJiYvKh8gFAEBAhAfIEYAAAIAMf/6AcsClwAgADMAABMGFxYXMjc2NwYHBgcUFxYXNjc2NzY3NjUmJyYnBgcGBzcmNzY3FhcWFRQHBgcGJyYnJjc0AyopahoiIRsoV1hFAwIHQ0tMODEZGQE2NF5ZOjoBWgMfHzE9Hh4EGhoaF0QeHwUBy0dBQgUMCxeFPj0SBwsLAREsLD01RkVPV0dFBQQ8PU8UPCwtAQVFRUklIRsHCAECMDBPAAAADACWAAEAAAAAAAEABwAQAAEAAAAAAAIABwAoAAEAAAAAAAMABwBAAAEAAAAAAAQABwBYAAEAAAAAAAUAHgCeAAEAAAAAAAYABwDNAAMAAQQJAAEADgAAAAMAAQQJAAIADgAYAAMAAQQJAAMADgAwAAMAAQQJAAQADgBIAAMAAQQJAAUAPABgAAMAAQQJAAYADgC9AEMAcgBpAG0AcwBvAG4AAENyaW1zb24AAEMAcgBpAG0AcwBvAG4AAENyaW1zb24AAEMAcgBpAG0AcwBvAG4AAENyaW1zb24AAEMAcgBpAG0AcwBvAG4AAENyaW1zb24AAFYAZQByAHMAaQBvAG4AIAAxAC4AMAA7ACAARgBvAG4AdABFAGQAaQB0AG8AcgAgACgAdgAxAC4AMAApAABWZXJzaW9uIDEuMDsgRm9udEVkaXRvciAodjEuMCkAAEMAcgBpAG0AcwBvAG4AAENyaW1zb24AAAACAAAAAAAAADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0AAAABAAIAEwAUABUAFgAXABgAGQAaABsAHAAAAAH//wACAAEAAAAMAAAAFgAAAAIAAQADAAwAAQAEAAAAAgAAAAAAAAABAAAAANWkJwgAAAAA2qq5/AAAAADaqrn8) format("truetype")}html,body{background:var(--bg-color)}:root{color-scheme:light}html[data-theme=dark]{color-scheme:dark}body{color:var(--text-color);font-family:var(--font-family)}@media (min-width: 1440px){body{font-size:17px}}a{color:var(--theme-color)}kbd{border-color:var(--border-color-dark);background:var(--bg-color-secondary);font-family:var(--font-family-mono)}code{font-family:var(--font-family-mono)}html[data-theme=dark] code{background:#333}p a code{color:var(--theme-color)}blockquote{border-color:#eee;color:#666}html[data-theme=dark] blockquote{border-color:#333}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading)}@media (max-width: 419px){h1{font-size:1.9rem}}h2,hr{border-color:var(--border-color)}tr:nth-child(odd){background:var(--bg-color-secondary)}th,td{border-color:var(--border-color-dark)}@media print{@page{--text-color: #000 !important;--bg-color: #fff !important}div[class*=language-]{position:relative!important}}.theme-hope-content:not(.custom)>*:first-child{margin-top:0}.vp-breadcrumb{max-width:var(--content-width, 740px);margin-inline:auto;padding-inline:2.5rem;position:relative;z-index:2;padding-top:1rem;font-size:15px}@media (max-width: 959px){.vp-breadcrumb{padding-inline:1.5rem}}@media print{.vp-breadcrumb{max-width:unset}}@media (max-width: 959px){.vp-breadcrumb{font-size:14px}}@media (max-width: 419px){.vp-breadcrumb{padding-top:.5rem;font-size:12.8px}}@media print{.vp-breadcrumb{display:none}}.vp-breadcrumb .icon{margin-inline-end:.25em;font-size:1em}.vp-breadcrumb img.icon{vertical-align:-.125em;height:1em}.vp-breadcrumb a{display:inline-block;padding:0 .5em}.vp-breadcrumb a:before{position:relative;bottom:.125rem;margin-inline-end:.25em}.vp-breadcrumb a:hover{color:var(--theme-color)}.vp-breadcrumb ol{margin:0;padding-inline-start:0;list-style:none}.vp-breadcrumb li{display:inline-block;line-height:1.5}.vp-breadcrumb li:first-child a{padding-inline-start:0}.vp-breadcrumb li:last-child a{padding-inline-end:0}.vp-breadcrumb li.is-active a{color:var(--grey-light);cursor:default;pointer-events:none}.vp-breadcrumb li+li:before{content:"/";color:var(--grey-light)}.toggle-sidebar-wrapper{position:fixed;inset-inline-start:var(--sidebar-space);top:var(--navbar-height);bottom:0;z-index:100;display:flex;align-items:center;justify-content:center;font-size:2rem;transition:inset-inline-start var(--transform-transition)}@media (max-width: 719px){.toggle-sidebar-wrapper{display:none}}@media (min-width: 1440px){.toggle-sidebar-wrapper{display:none}}@media print{.toggle-sidebar-wrapper{display:none}}.toggle-sidebar-wrapper:hover{background:#7f7f7f0d;cursor:pointer}.toggle-sidebar-wrapper .arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s}html[data-theme=dark] .toggle-sidebar-wrapper .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.toggle-sidebar-wrapper .arrow.down{transform:rotate(180deg)}html[dir=rtl] .toggle-sidebar-wrapper .arrow.down{transform:rotate(-180deg)}.toggle-sidebar-wrapper .arrow.end{transform:rotate(90deg)}html[dir=rtl] .toggle-sidebar-wrapper .arrow.end,.toggle-sidebar-wrapper .arrow.start{transform:rotate(-90deg)}html[dir=rtl] .toggle-sidebar-wrapper .arrow.start{transform:rotate(90deg)}.theme-container{display:flex;flex-flow:column;justify-content:space-between;min-height:100vh}.theme-container .vp-page{padding-top:var(--navbar-height);padding-inline-start:calc(var(--sidebar-space) + 2rem)}@media (max-width: 719px){.theme-container .vp-page{padding-inline:0}}@media (min-width: 1440px){.theme-container .vp-page{padding-inline-end:calc(100vw - var(--content-width) - var(--sidebar-space) - 6rem)}}.theme-container .vp-sidebar{top:var(--navbar-height)}.theme-container.no-navbar .vp-page{padding-top:0}.theme-container.no-navbar .vp-sidebar{top:0}@media (max-width: 719px){.theme-container.no-navbar .vp-sidebar{top:0}}@media (max-width: 719px){.theme-container.hide-navbar .vp-sidebar{top:0}}.theme-container.sidebar-collapsed .vp-page{padding-inline-start:0}.theme-container.sidebar-collapsed .vp-sidebar{box-shadow:none;transform:translate(-100%)}html[dir=rtl] .theme-container.sidebar-collapsed .vp-sidebar{transform:translate(100%)}.theme-container.sidebar-collapsed .toggle-sidebar-wrapper{inset-inline-start:0}.theme-container.no-sidebar .vp-page{padding-inline:0}@media (min-width: 1440px){.theme-container.no-sidebar.has-toc .vp-page{padding-inline-end:16rem}}.theme-container.no-sidebar .vp-toggle-sidebar-button,.theme-container.no-sidebar .toggle-sidebar-wrapper,.theme-container.no-sidebar .vp-sidebar{display:none}.theme-container.sidebar-open .vp-sidebar{box-shadow:2px 0 8px var(--card-shadow);transform:translate(0)}.vp-external-link-icon:after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-icon-color);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.external-link-icon .external-link:not(.no-external-link-icon):after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-icon-color);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.external-link-icon .theme-hope-content a[href*="://"]:not(.no-external-link-icon):after,.external-link-icon .theme-hope-content a[target=_blank]:not(.no-external-link-icon):after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-icon-color);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.fade-slide-y-enter-active{transition:all .3s ease!important}.fade-slide-y-leave-active{transition:all .3s cubic-bezier(1,.5,.8,1)!important}.fade-slide-y-enter-from,.fade-slide-y-leave-to{opacity:0;transform:translateY(10px)}.vp-feature-wrapper{position:relative}.vp-feature-bg{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background-attachment:fixed;background-position:50%;background-size:cover}.vp-feature-bg.light{display:inline-block}.vp-feature-bg.dark,html[data-theme=dark] .vp-feature-bg.light{display:none}html[data-theme=dark] .vp-feature-bg.dark{display:inline-block}.vp-feature{position:relative;z-index:1;margin:0 auto;padding:1.5rem 1rem;color:var(--text-color-lighter);text-align:center}.vp-feature-bg+.vp-feature{color:#222}html[data-theme=dark] .vp-feature-bg+.vp-feature{color:#eee}.vp-feature-bg+.vp-feature .icon{color:inherit}.vp-feature-image{height:10rem;margin:0 auto}@media (max-width: 959px){.vp-feature-image{height:8rem}}.vp-feature-image.light{display:inline-block}.vp-feature-image.dark,html[data-theme=dark] .vp-feature-image.light{display:none}html[data-theme=dark] .vp-feature-image.dark{display:inline-block}.vp-feature-header{margin-bottom:1.5rem;border-bottom:none;font-size:3rem;font-family:var(--font-family);text-align:center}@media (max-width: 959px){.vp-feature-header{font-size:2.5rem}}@media (max-width: 719px){.vp-feature-header{font-size:2.25rem}}@media (max-width: 419px){.vp-feature-header{font-size:2rem}}.vp-feature-description{font-size:1.125rem}.vp-features{z-index:1;display:flex;flex-wrap:wrap;place-content:stretch center;align-items:stretch;margin:1rem 0;text-align:start}@media print{.vp-features{display:block}}.vp-features:first-child{border-top:1px solid var(--border-color)}.vp-feature-item{position:relative;display:block;flex-basis:calc(33% - 3rem);margin:.5rem;padding:1rem;border-radius:.5rem;color:inherit;transition:background var(--color-transition),box-shadow var(--color-transition),transform var(--transform-transition)}@media (min-width: 1440px){.vp-feature-item{flex-basis:calc(25% - 3rem)}}@media (max-width: 959px){.vp-feature-item{flex-basis:calc(50% - 3rem)}}@media (max-width: 719px){.vp-feature-item{flex-basis:100%;font-size:.95rem}}@media (max-width: 419px){.vp-feature-item{margin:.5rem 0;font-size:.9rem}}.vp-feature-item.link{cursor:pointer;transition:transform var(--transform-transition)}@media print{.vp-feature-item.link{text-decoration:none}}.vp-feature-item.link:hover{background-color:var(--bg-color-secondary)}.vp-feature-bg+.vp-feature .vp-feature-item.link:hover{background-color:transparent;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.vp-feature-item.link:hover:before{content:"➜";display:block;float:right}.vp-feature-item.link:active{transform:scale(.96)}.vp-feature-item .icon{display:inline-block;height:1.1em;margin-inline-end:.5rem;color:var(--theme-color);font-weight:400;font-size:1.1em}.vp-feature-item:only-child{flex-basis:100%}.vp-feature-item:first-child:nth-last-child(2),.vp-feature-item:nth-child(2):last-child{flex-basis:calc(50% - 3rem)}@media (max-width: 719px){.vp-feature-item:first-child:nth-last-child(2),.vp-feature-item:nth-child(2):last-child{flex-basis:100%}}.vp-feature-title{margin:.25rem 0 .5rem;font-weight:700;font-size:1.3rem;font-family:var(--font-family)}@media (max-width: 419px){.vp-feature-title{font-size:1.2rem}}.vp-feature-details{margin:0;line-height:1.4}.vp-footer-wrapper{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-evenly;padding-block:.75rem;padding-inline:calc(var(--sidebar-space) + 2rem) 2rem;border-top:1px solid var(--border-color);background:var(--bg-color);color:var(--grey-dark);text-align:center;transition:border-top-color var(--color-transition),background var(--color-transition),padding var(--transform-transition)}@media (max-width: 719px){.vp-footer-wrapper{padding-inline-start:2rem}}@media (min-width: 1440px){.vp-footer-wrapper{z-index:50;padding-inline-start:2rem}}@media print{.vp-footer-wrapper{margin:0!important;padding:0!important}}@media (max-width: 419px){.vp-footer-wrapper{display:block}}.no-sidebar .vp-footer-wrapper,.sidebar-collapsed .vp-footer-wrapper{padding-inline-start:2rem}.vp-footer{margin:.5rem 1rem;font-size:14px}@media print{.vp-footer{display:none}}.vp-copyright{margin:6px 0;font-size:13px}.vp-page:not(.not-found)+.vp-footer-wrapper{margin-top:-2rem}.vp-hero-info-wrapper{position:relative;display:flex;align-items:center;justify-content:center;margin-inline:auto}.vp-hero-info-wrapper.fullscreen{height:calc(100vh - var(--navbar-height))!important}.vp-hero-info{z-index:1;width:100%;padding-inline:2.5rem}@media (max-width: 959px){.vp-hero-info{padding-inline:1.5rem}}@media (min-width: 959px){.vp-hero-info{display:flex;align-items:center;justify-content:space-evenly}}.vp-hero-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background-position:50%;background-size:cover}.vp-hero-mask:after{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:block}.vp-hero-mask.light{display:block}html[data-theme=dark] .vp-hero-mask.light,.vp-hero-mask.dark{display:none}html[data-theme=dark] .vp-hero-mask.dark{display:block}.vp-hero-infos{z-index:1;margin:0 .5rem}.vp-hero-image{display:block;max-width:100%;max-height:18rem;margin:1rem}@media (max-width: 959px){.vp-hero-image{margin:2rem auto}}@media (max-width: 719px){.vp-hero-image{max-height:16rem;margin:1.5rem auto}}@media (max-width: 419px){.vp-hero-image{max-height:14rem}}.vp-hero-image.light{display:block}html[data-theme=dark] .vp-hero-image.light,.vp-hero-image.dark{display:none}html[data-theme=dark] .vp-hero-image.dark{display:block}.vp-hero-title{margin:.5rem 0;background:linear-gradient(120deg,var(--theme-color-light),var(--theme-color) 30%,#7e21f3 100%);-webkit-background-clip:text;background-clip:text;font-weight:700;font-size:3.6rem;font-family:var(--font-family);line-height:1.5;-webkit-text-fill-color:transparent}@media (max-width: 719px){.vp-hero-title{margin:0}}@media (max-width: 959px){.vp-hero-title{font-size:2.5rem;text-align:center}}@media (max-width: 719px){.vp-hero-title{font-size:2.25rem;text-align:center}}@media (max-width: 419px){.vp-hero-title{margin:0 auto;font-size:2rem}}#main-description,.vp-hero-actions{margin:1.8rem 0}@media (max-width: 719px){#main-description,.vp-hero-actions{margin:1.5rem 0}}@media (max-width: 959px){#main-description,.vp-hero-actions{margin:1.5rem auto;text-align:center}}@media (max-width: 419px){#main-description,.vp-hero-actions{margin:1.2rem 0}}#main-description{max-width:35rem;color:var(--text-color-light);font-weight:500;font-size:1.6rem;line-height:1.3}@media (max-width: 719px){#main-description{font-size:1.4rem}}@media (max-width: 419px){#main-description{font-size:1.2rem}}.vp-hero-action{display:inline-block;overflow:hidden;min-width:4rem;margin:.5rem;padding:.5em 1.5rem;border-radius:2rem;background:var(--bg-color-secondary);color:var(--text-color);font-size:1.2rem;text-align:center;transition:color var(--color-transition),color var(--color-transition),transform var(--transform-transition)}@media (max-width: 719px){.vp-hero-action{padding:.5rem 1rem;font-size:1.1rem}}@media (max-width: 419px){.vp-hero-action{font-size:1rem}}@media print{.vp-hero-action{text-decoration:none}}.vp-hero-action:hover{background:var(--bg-color-tertiary)}.vp-hero-action.primary{border-color:var(--theme-color);background:var(--theme-color);color:var(--white)}.vp-hero-action.primary:hover{border-color:var(--theme-color-light);background:var(--theme-color-light)}.theme-container:not(.pure) .vp-hero-action:active{transform:scale(.96)}.vp-hero-action .icon{margin-inline-end:.25em}.vp-highlight-wrapper{position:relative;display:flex;align-items:center;justify-content:center}.vp-highlight-wrapper:nth-child(odd) .vp-highlight{flex-flow:row-reverse}.vp-highlight{z-index:1;display:flex;flex:1;align-items:center;justify-content:flex-end;max-width:var(--home-page-width);margin:0 auto;padding:1.5rem 2.5rem;color:#222}@media (max-width: 719px){.vp-highlight{display:block;padding-inline:1.5rem;text-align:center}}html[data-theme=dark] .vp-highlight{color:#eee}.vp-highlight-bg{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background-attachment:fixed;background-position:50%;background-size:cover}.vp-highlight-bg.light{display:inline-block}.vp-highlight-bg.dark,html[data-theme=dark] .vp-highlight-bg.light{display:none}html[data-theme=dark] .vp-highlight-bg.dark{display:inline-block}.vp-highlight-image{width:12rem;margin:2rem 4rem}@media (max-width: 959px){.vp-highlight-image{width:10rem}}@media (max-width: 719px){.vp-highlight-image{width:8rem;margin:0 auto}}.vp-highlight-image.light{display:inline-block}.vp-highlight-image.dark,html[data-theme=dark] .vp-highlight-image.light{display:none}html[data-theme=dark] .vp-highlight-image.dark{display:inline-block}.vp-highlight-info-wrapper{display:flex;flex:1;justify-content:center;padding:2rem}@media (max-width: 719px){.vp-highlight-info-wrapper{padding:1rem 0}}.vp-highlight-info-wrapper:only-child{flex:1 0 100%}.vp-highlight-info{text-align:start}.vp-highlight-header{margin-bottom:1.5rem;border-bottom:none;font-size:3rem;font-family:var(--font-family)}@media (max-width: 959px){.vp-highlight-header{font-size:2.5rem}}@media (max-width: 719px){.vp-highlight-header{font-size:2.25rem;text-align:center}}@media (max-width: 419px){.vp-highlight-header{font-size:2rem}}.vp-highlight-description{font-size:1.125rem}.vp-highlights{margin-inline-start:-1.25em;padding-inline-start:0}.vp-highlight-item-wrapper{position:relative;padding:.5em .5em .5em 1.75em;border-radius:.5rem;list-style:none}.vp-highlight-item-wrapper.link{cursor:pointer;transition:transform var(--transform-transition)}.vp-highlight-item-wrapper.link:hover{background-color:var(--bg-color-secondary)}.vp-highlight-bg+.vp-highlight .vp-highlight-item-wrapper.link:hover{background-color:transparent;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.vp-highlight-item-wrapper.link:hover:before{content:"➜";display:block;float:right}.vp-highlight-item-wrapper.link:active{transform:scale(.96)}.vp-highlight-item-wrapper::marker{font-weight:700}.vp-highlight-item{display:list-item;color:inherit;list-style:initial}@media print{.vp-highlight-item{text-decoration:none}}.vp-highlight-title{margin:0;font-weight:600;font-size:1.125rem;font-family:var(--font-family)}.vp-highlight-title .icon{margin-inline-end:.25em;font-size:1em}.vp-highlight-title img.icon{vertical-align:-.125em;height:1em}.vp-highlight-details{margin:.5rem 0 0}.vp-project-home{--content-width: var(--home-page-width);display:block;flex:1;padding-top:var(--navbar-height)}@media screen{.vp-project-home .vp-hero-info-wrapper:not(.fullscreen) .vp-hero-info{max-width:var(--home-page-width)}}@media screen{.vp-project-home .vp-feature{max-width:var(--home-page-width)}}.vp-project-home .theme-hope-content{padding-bottom:1.5rem!important}.vp-project-home .theme-hope-content:empty{padding:0!important}.not-found-hint{padding:2rem}.not-found-hint .error-code{margin:0;font-weight:700;font-size:4rem;line-height:4rem}.not-found-hint .error-title{font-weight:700}.not-found-hint .error-hint{margin:0;padding:12px 0;font-weight:600;font-size:20px;line-height:20px;letter-spacing:2px}.vp-page.not-found{display:flex;flex-flow:column;align-items:center;justify-content:center;box-sizing:border-box;width:100vw;max-width:var(--home-page-width);margin:0 auto;padding:calc(var(--navbar-height) + 1rem) 1rem 1rem!important;text-align:center}.vp-page.not-found .action-button{display:inline-block;box-sizing:border-box;margin:.25rem;padding:.75rem 1rem;border-width:0;border-bottom:1px solid var(--theme-color-dark);border-radius:3rem;background:var(--theme-color);color:var(--white);outline:none;font-size:1rem;transition:background var(--color-transition)}.vp-page.not-found .action-button:hover{background:var(--theme-color-light);cursor:pointer}.vp-page-nav{display:flex;flex-wrap:wrap;max-width:var(--content-width, 740px);min-height:2rem;margin-inline:auto;margin-top:0;padding-block:.5rem;padding-inline:2rem;border-top:1px solid var(--border-color)}@media (max-width: 959px){.vp-page-nav{padding-inline:1rem}}@media print{.vp-page-nav{display:none}}.vp-page-nav .auto-link{display:inline-block;flex-grow:1;margin:.25rem;padding:.25rem .5rem;border:1px solid var(--border-color);border-radius:.25rem}.vp-page-nav .auto-link:hover{background:var(--bg-color-secondary)}.vp-page-nav .auto-link .hint{color:var(--grey-light);font-size:.875rem;line-height:2}.vp-page-nav .auto-link .arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s;font-size:.75rem}html[data-theme=dark] .vp-page-nav .auto-link .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.vp-page-nav .auto-link .arrow.down{transform:rotate(180deg)}html[dir=rtl] .vp-page-nav .auto-link .arrow.down{transform:rotate(-180deg)}.vp-page-nav .auto-link .arrow.end{transform:rotate(90deg)}html[dir=rtl] .vp-page-nav .auto-link .arrow.end,.vp-page-nav .auto-link .arrow.start{transform:rotate(-90deg)}html[dir=rtl] .vp-page-nav .auto-link .arrow.start{transform:rotate(90deg)}.vp-page-nav .prev{text-align:start}.vp-page-nav .prev .icon{margin-inline-end:.25em;font-size:1em}.vp-page-nav .prev img.icon{vertical-align:-.125em;height:1em}.vp-page-nav .next{text-align:end}.vp-page-nav .next .icon{margin-inline-start:.25em;font-size:1em}.vp-page-nav .next img.icon{vertical-align:-.125em;height:1em}.vp-page-title{max-width:var(--content-width, 740px);margin-inline:auto;padding-inline:2.5rem;position:relative;z-index:1;padding-top:1rem;padding-bottom:0}@media (max-width: 959px){.vp-page-title{padding-inline:1.5rem}}@media print{.vp-page-title{max-width:unset}}@media print{.vp-page-title{padding-inline:0!important}}@media (max-width: 959px){.vp-page-title{padding-top:.5rem}}.vp-page-title h1{margin-top:calc(0px - var(--navbar-height))!important;margin-bottom:1rem;padding-top:var(--navbar-height)!important;font-size:2.2rem}@media (max-width: 959px){.vp-page-title h1{margin-bottom:.5rem}}.vp-page-title h1 .icon{margin-inline-end:.25em;color:var(--theme-color);font-size:.9em}.vp-page-title h1 img.icon{vertical-align:-.125em;height:1em}.theme-hope-content:not(.custom){padding-top:0!important}.theme-hope-content:not(.custom) h1:first-child,.theme-hope-content:not(.custom) h2:first-child,.theme-hope-content:not(.custom) h3:first-child,.theme-hope-content:not(.custom) h4:first-child,.theme-hope-content:not(.custom) h5:first-child,.theme-hope-content:not(.custom) h6:first-child{margin-top:calc(.5rem - var(--navbar-height))!important;padding-top:var(--navbar-height)!important}.theme-hope-content:not(.custom)>h1:first-child{display:none}.vp-page{display:block;flex-grow:1;padding-bottom:2rem;transition:padding var(--transform-transition)}@media print{.vp-page{min-height:auto!important;margin:0!important;padding:0!important}}.page-cover{width:var(--content-width);margin-inline:auto}@media (max-width: 719px){.page-cover{width:100%}}.page-cover img{-o-object-fit:cover;object-fit:cover;width:100%;max-height:25vh;border-radius:.5rem}@media (max-width: 719px){.page-cover img{border-radius:0}}#vp-comment{max-width:var(--content-width, 740px);margin:0 auto;padding:2rem 2.5rem}@media (max-width: 959px){#vp-comment{padding:1.5rem}}@media (max-width: 419px){#vp-comment{padding:1rem 1.5rem}}@media print{#vp-comment{max-width:unset}}@keyframes cursor-blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}.vp-portfolio{position:relative;z-index:1;overflow:hidden;box-sizing:border-box}.vp-portfolio:not(.bg){background:var(--theme-color-mask)}.vp-portfolio:not(.bg):after{content:"";position:absolute;top:-200px;left:-200px;z-index:-1;width:1000px;height:1000px;border-radius:50%;background-color:var(--white)}@media (max-width: 959px){.vp-portfolio:not(.bg):after{display:none}}.vp-portfolio-mask{position:absolute;top:0;right:0;bottom:0;left:0}.vp-portfolio-mask:after{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:block;background:var(--grey-light);opacity:.2}.vp-portfolio-mask.light{display:block}html[data-theme=dark] .vp-portfolio-mask.light,.vp-portfolio-mask.dark{display:none}html[data-theme=dark] .vp-portfolio-mask.dark{display:block}.vp-portfolio-avatar{position:absolute;top:0;bottom:0;left:0;display:flex;align-items:end;justify-content:center;width:50vw;height:100vh;border-radius:10px}@media (min-width: 1440px){.vp-portfolio-avatar{width:60vw}}@media (max-width: 959px){.vp-portfolio-avatar{width:100vw}}.vp-portfolio-avatar img{max-height:93vh}.vp-portfolio-avatar img.light{display:block}html[data-theme=dark] .vp-portfolio-avatar img.light,.vp-portfolio-avatar img.dark{display:none}html[data-theme=dark] .vp-portfolio-avatar img.dark{display:block}.vp-portfolio-container{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:100vh;padding-top:120px;padding-bottom:70px}.vp-portfolio-info{position:relative;flex:0 0 50%;box-sizing:border-box;max-width:50%;padding:0 25px}@media (max-width: 959px){.vp-portfolio-info{position:absolute;right:15px;bottom:15px;left:15px;flex:0 0 100%;max-width:unset;padding:2rem 1.5rem;border-radius:.5rem;background:var(--bg-color-blur);text-align:center}}.vp-portfolio-info .vp-social-medias{justify-content:start}@media (max-width: 959px){.vp-portfolio-info .vp-social-medias{justify-content:center}}.vp-portfolio-welcome{margin:0 0 10px;padding:0;color:var(--theme-color);font-weight:600;font-size:28px}@media (max-width: 959px){.vp-portfolio-welcome{font-size:18px}}.vp-portfolio-name{margin:0 0 10px;padding:0;color:var(--black);font-weight:700;font-size:64px}@media (min-width: 1440px){.vp-portfolio-name{font-size:72px}}@media (max-width: 959px){.vp-portfolio-name{font-size:36px}}.vp-portfolio-title{position:relative;margin:0;padding:0;border-bottom:none;color:var(--theme-color);font-weight:600;font-size:25px}@media (max-width: 959px){.vp-portfolio-title{font-size:18px}}.vp-portfolio-title:after{content:"";display:inline-block;vertical-align:top;width:2px;height:1.3em;background:var(--theme-color);animation-name:cursor-blink;animation-duration:1s;animation-iteration-count:infinite}.vp-portfolio-medias{display:flex;flex-wrap:wrap;justify-content:center;padding-top:20px}@media (min-width: 959px){.vp-portfolio-medias{justify-content:flex-start}}.vp-portfolio-media{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:var(--theme-color);color:var(--white);transition:ease all .35s}.vp-portfolio-media:hover{background-color:var(--theme-color-light);cursor:pointer}.vp-portfolio-media:after{--balloon-font-size: 10px;padding:.2em .4em!important}.vp-portfolio-media+a{margin-left:5px}.theme-hope-content.vp-portfolio-content{--content-width: min(84%, 1200px);display:flex;flex-flow:column;align-items:center}@media (min-width: 1280px){.theme-hope-content.vp-portfolio-content{font-size:18px}}@media (max-width: 419px){.theme-hope-content.vp-portfolio-content{font-size:14px}}.theme-hope-content.vp-portfolio-content>h2,.theme-hope-content.vp-portfolio-content>h3,.theme-hope-content.vp-portfolio-content>h4,.theme-hope-content.vp-portfolio-content>h5,.theme-hope-content.vp-portfolio-content>h6{margin-bottom:1rem;border-bottom:none;text-align:center}.theme-hope-content.vp-portfolio-content>h2{font-size:2.5rem}@media (max-width: 419px){.theme-hope-content.vp-portfolio-content>h2{font-size:2rem}}.theme-hope-content.vp-portfolio-content>h3{font-size:2rem}@media (max-width: 419px){.theme-hope-content.vp-portfolio-content>h3{font-size:1.75rem}}.theme-hope-content.vp-portfolio-content>p{align-self:stretch}.theme-hope-content.vp-portfolio-content .header-anchor>span{--underline: rgba(33, 150, 243, .4);background:linear-gradient(var(--underline),var(--underline)) no-repeat;background-position:-.1em calc(100% - .05em);background-size:calc(100% + .1em) .2em;text-shadow:.05em 0 var(--bg-color),-.05em 0 var(--bg-color)}html[data-theme=dark] .theme-hope-content.vp-portfolio-content .header-anchor>span{--underline: rgba(33, 150, 243, .4)}.theme-hope-content.vp-portfolio-content .header-anchor>span:before,.theme-hope-content.vp-portfolio-content .header-anchor>span:after{content:"";position:relative;bottom:.05em;display:inline-block;vertical-align:text-bottom;width:.1em;height:.2em;background-color:var(--underline)}.theme-hope-content.vp-portfolio-content .header-anchor>span:before{left:-.1em;border-radius:.2em 0 0 .2em}.theme-hope-content.vp-portfolio-content .header-anchor>span:after{right:-.1em;border-radius:0 .2em .2em 0}.vp-skip-link{inset-inline-start:.25rem;top:.25rem;z-index:999;padding:.65rem 1.5rem;border-radius:.5rem;background:var(--bg-color);color:var(--theme-color);box-shadow:var(--card-shadow);font-weight:700;font-size:.9em;text-decoration:none}@media print{.vp-skip-link{display:none}}.vp-skip-link:focus{clip-path:none;clip:auto;width:auto;height:auto}div[class*=language-]{position:relative;border-radius:6px;font-size:16px}@media (max-width: 419px){.theme-hope-content>div[class*=language-]{margin:.875rem -1.5rem;border-radius:0}}div[class*=language-]:before{content:attr(data-title);position:absolute;top:0;right:1em;z-index:3;color:var(--code-line-number-color);font-size:.75rem}div[class*=language-] pre{position:relative;z-index:1;overflow:auto;margin:.875rem 0;border-radius:6px;background:var(--code-bg-color)!important;line-height:1.6}div[class*=language-] pre code{display:block;box-sizing:border-box;width:-moz-fit-content;width:fit-content;min-width:100%;padding:1.25rem;border-radius:0;background:transparent;color:var(--code-color);font-family:var(--font-family-mono)}@media print{div[class*=language-] pre code{padding:.5rem}}div[class*=language-] .line.highlighted{display:inline-block;width:100%;margin:0 -1.25rem;padding:0 1.25rem;background-color:var(--code-highlight-bg-color);transition:background-color .5s}div[class*=language-] .line.highlighted.error{background-color:var(--code-highlight-error-bg-color)}div[class*=language-] .line.highlighted.warning{background-color:var(--code-highlight-warning-bg-color)}div[class*=language-] .line.diff{display:inline-block;width:100%;margin:0 -1.25rem;padding:0 1.25rem;transition:background-color .5s}div[class*=language-] .line.diff:before{position:absolute;left:10px}div[class*=language-] .line.diff.remove{background-color:var(--code-line-diff-remove-color);opacity:.7}div[class*=language-] .line.diff.remove:before{content:"-";color:var(--code-line-diff-remove-symbol-color)}div[class*=language-] .line.diff.add{background-color:var(--code-line-diff-add-color)}div[class*=language-] .line.diff.add:before{content:"+";color:var(--code-line-diff-add-symbol-color)}div[class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;filter:blur(.095rem);transition:filter .35s,opacity .35s}div[class*=language-] .has-focused-lines:hover .line:not(.has-focus){opacity:1;filter:blur(0)}div[class*=language-] .highlighted-word{margin:-1px -2px;padding:1px 2px;border:solid 1px var(--code-word-highlight-border);border-radius:4px;background-color:var(--code-word-highlight-bg-color)}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;top:0;bottom:0;left:0;z-index:2;width:var(--code-line-number-width);border-right:1px solid var(--code-highlight-bg-color);border-radius:6px 0 0 6px;background:var(--code-bg-color)}@media (max-width: 419px){div[class*=language-].line-numbers-mode:after{border-radius:0}}@media print{div[class*=language-].line-numbers-mode:after{display:none}}div[class*=language-].line-numbers-mode pre{vertical-align:middle;margin-left:var(--code-line-number-width)}@media print{div[class*=language-].line-numbers-mode pre{margin-left:0}}div[class*=language-].line-numbers-mode pre code{padding-left:.5rem}div[class*=language-].line-numbers-mode .line-numbers{counter-reset:line-number;position:absolute;top:0;bottom:0;left:0;display:flex;flex-flow:column;width:var(--code-line-number-width);padding:1.25rem 0;color:var(--code-line-number-color);font-size:.875em;font-family:var(--font-family-mono);line-height:1.6;text-align:center}@media print{div[class*=language-].line-numbers-mode .line-numbers{display:none}}div[class*=language-].line-numbers-mode .line-number{position:relative;z-index:3;-webkit-user-select:none;-moz-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-number:before{content:counter(line-number);counter-increment:line-number}div[class*=language-]:not(.line-numbers-mode) .line-numbers{display:none}div[class*=language-] .tab,div[class*=language-] .space{position:relative}div[class*=language-] .tab:before,div[class*=language-] .space:before{position:absolute;opacity:.3}div[class*=language-] .tab:before{content:"⇥"}div[class*=language-] .space:before{content:"·"}html[data-theme=light]{--code-color: #383a42;--code-bg-color: #ecf4fa;--code-border-color: #c3def3;--code-highlight-bg-color: #d8e9f6;--code-line-number-color: rgba(56, 58, 66, .67)}html[data-theme=dark]{--code-color: #abb2bf;--code-bg-color: #282c34;--code-border-color: #343e51;--code-highlight-bg-color: #2f3542;--code-line-number-color: rgba(171, 178, 191, .67)}html[data-theme=light] .shiki span{color:var(--shiki-light)}html[data-theme=dark] .shiki span{color:var(--shiki-dark)}.sr-only{position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:-1px;padding:0;border-width:0;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media print{.theme-hope-content{margin:0!important;padding-inline:0!important}}.theme-hope-content.custom{margin:0;padding:0}.theme-hope-content:not(.custom){max-width:var(--content-width, 740px);margin:0 auto;padding:2rem 2.5rem;padding-top:0}@media (max-width: 959px){.theme-hope-content:not(.custom){padding:1.5rem}}@media (max-width: 419px){.theme-hope-content:not(.custom){padding:1rem 1.5rem}}@media print{.theme-hope-content:not(.custom){max-width:unset}}.theme-hope-content:not(.custom)>h1,.theme-hope-content:not(.custom)>h2,.theme-hope-content:not(.custom)>h3,.theme-hope-content:not(.custom)>h4,.theme-hope-content:not(.custom)>h5,.theme-hope-content:not(.custom)>h6{margin-top:calc(.5rem - var(--navbar-height));margin-bottom:.5rem;padding-top:calc(1rem + var(--navbar-height));outline:none}.theme-container.no-navbar .theme-hope-content:not(.custom)>h1,.theme-container.no-navbar .theme-hope-content:not(.custom)>h2,.theme-container.no-navbar .theme-hope-content:not(.custom)>h3,.theme-container.no-navbar .theme-hope-content:not(.custom)>h4,.theme-container.no-navbar .theme-hope-content:not(.custom)>h5,.theme-container.no-navbar .theme-hope-content:not(.custom)>h6{margin-top:1.5rem;padding-top:0}.theme-hope-content:not(.custom)>p,.theme-hope-content:not(.custom)>ul p,.theme-hope-content:not(.custom)>ol p{text-align:justify;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}@media (max-width: 419px){.theme-hope-content:not(.custom)>p,.theme-hope-content:not(.custom)>ul p,.theme-hope-content:not(.custom)>ol p{text-align:start}}@media print{.theme-hope-content:not(.custom)>p,.theme-hope-content:not(.custom)>ul p,.theme-hope-content:not(.custom)>ol p{text-align:start}}.theme-hope-content a:not(.header-anchor):hover{text-decoration:underline}.theme-hope-content img{max-width:100%}.theme-hope-content table img{max-width:unset}::view-transition-old(root),::view-transition-new(root){mix-blend-mode:normal;animation:none}html[data-theme=light]::view-transition-old(root),html[data-theme=dark]::view-transition-new(root){z-index:1}html[data-theme=light]::view-transition-new(root),html[data-theme=dark]::view-transition-old(root){z-index:99999}@media (min-width: 1280px){.chart-wrapper::-webkit-scrollbar,.flowchart-wrapper::-webkit-scrollbar,.mermaid-wrapper::-webkit-scrollbar{width:8px;height:8px}.chart-wrapper::-webkit-scrollbar-track-piece,.flowchart-wrapper::-webkit-scrollbar-track-piece,.mermaid-wrapper::-webkit-scrollbar-track-piece{border-radius:8px;background:#0000001a}}html[dir=rtl] a.header-anchor:before{right:-.75em}#docsearch-container{min-width:145.7px!important}@media (max-width: 959px){#docsearch-container{min-width:36px!important}}.DocSearch.DocSearch-Button{margin-left:0}@media (max-width: 959px){.DocSearch.DocSearch-Button{min-width:36px!important}}.DocSearch .DocSearch-Button-Placeholder{display:inline-block;padding:4px 12px 4px 6px;font-size:14px}@media (max-width: 719px){.DocSearch .DocSearch-Button-Placeholder{display:none}}.DocSearch .DocSearch-Search-Icon{width:1.25em;height:1.25em}@media (max-width: 959px){.DocSearch .DocSearch-Button-Keys{display:none}}.DocSearch .DocSearch-Button-Key{background:var(--bg-color);box-shadow:none}:root{scrollbar-width:thin}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track-piece{border-radius:6px;background:#0000001a}::-webkit-scrollbar-thumb{border-radius:6px;background:var(--theme-color)}::-webkit-scrollbar-thumb:active{background:var(--theme-color-light)}@media (max-width: 719px){.hide-in-mobile{display:none!important}}@media (max-width: 959px){.hide-in-pad{display:none!important}}.page-author-item{display:inline-block;margin:0 4px;font-weight:400;overflow-wrap:break-word}.page-category-info{flex-wrap:wrap}.page-category-item{display:inline-block;margin:.125em .25em;padding:0 .25em;border-radius:.25em;background:var(--bg-color-secondary);color:var(--text-color-light);font-weight:700;font-size:.75rem;line-height:2;transition:background var(--color-transition),color var(--color-transition)}@media print{.page-category-item{padding:0;font-weight:400}.page-category-item:after{content:", "}.page-category-item:last-of-type:after{content:""}}.page-category-item.clickable{cursor:pointer}.page-category-item.clickable:not([class*=color]):hover{color:var(--theme-color)}.page-category-item.color0{background:#fde5e7;color:#ec2f3e}html[data-theme=dark] .page-category-item.color0{background:#340509;color:#ba111f}.page-category-item.color0.clickable:hover{background:#f9bec3}html[data-theme=dark] .page-category-item.color0.clickable:hover{background:#53080e}.page-category-item.color1{background:#ffeee8;color:#fb7649}html[data-theme=dark] .page-category-item.color1{background:#441201;color:#f54205}.page-category-item.color1.clickable:hover{background:#fed4c6}html[data-theme=dark] .page-category-item.color1.clickable:hover{background:#6d1d02}.page-category-item.color2{background:#fef5e7;color:#f5b041}html[data-theme=dark] .page-category-item.color2{background:#3e2703;color:#e08e0b}.page-category-item.color2.clickable:hover{background:#fce6c4}html[data-theme=dark] .page-category-item.color2.clickable:hover{background:#633f05}.page-category-item.color3{background:#eafaf1;color:#55d98d}html[data-theme=dark] .page-category-item.color3{background:#0c331c;color:#29b866}.page-category-item.color3.clickable:hover{background:#caf3db}html[data-theme=dark] .page-category-item.color3.clickable:hover{background:#12522d}.page-category-item.color4{background:#e6f9ee;color:#36d278}html[data-theme=dark] .page-category-item.color4{background:#092917;color:#219552}.page-category-item.color4.clickable:hover{background:#c0f1d5}html[data-theme=dark] .page-category-item.color4.clickable:hover{background:#0f4224}.page-category-item.color5{background:#e1fcfc;color:#16e1e1}html[data-theme=dark] .page-category-item.color5{background:#042929;color:#0e9595}.page-category-item.color5.clickable:hover{background:#b4f8f8}html[data-theme=dark] .page-category-item.color5.clickable:hover{background:#064242}.page-category-item.color6{background:#e4f0fe;color:#2589f6}html[data-theme=dark] .page-category-item.color6{background:#021b36;color:#0862c3}.page-category-item.color6.clickable:hover{background:#bbdafc}html[data-theme=dark] .page-category-item.color6.clickable:hover{background:#042c57}.page-category-item.color7{background:#f7f1fd;color:#bb8ced}html[data-theme=dark] .page-category-item.color7{background:#2a0b4b;color:#9851e4}.page-category-item.color7.clickable:hover{background:#eadbfa}html[data-theme=dark] .page-category-item.color7.clickable:hover{background:#431277}.page-category-item.color8{background:#fdeaf5;color:#ef59ab}html[data-theme=dark] .page-category-item.color8{background:#400626;color:#e81689}.page-category-item.color8.clickable:hover{background:#facbe5}html[data-theme=dark] .page-category-item.color8.clickable:hover{background:#670a3d}.page-original-info{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;padding:0 .5em;border:.5px solid var(--grey-dark);border-radius:.75em;background:var(--bg-color);font-size:.75em;line-height:1.5!important}.page-info{display:flex;flex-wrap:wrap;place-content:stretch flex-start;align-items:center;color:var(--grey-dark);font-size:14px}@media print{.page-info{display:flex!important}}.page-info>span{display:flex;align-items:center;max-width:100%;margin-inline-end:.5em;line-height:2}@media (min-width: 1440px){.page-info>span{font-size:1.1em}}@media (max-width: 419px){.page-info>span{margin-inline-end:.3em;font-size:.875em}}@media print{.page-info>span{display:flex!important}}.page-info .icon{position:relative;display:inline-block;vertical-align:middle;width:1em;height:1em;margin-inline-end:.25em}.page-info a{color:inherit}.page-info a:hover,.page-info a:active{color:var(--theme-color)}.vp-page-meta{max-width:var(--content-width, 740px);margin-inline:auto;padding-inline:2.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;overflow:auto;padding-top:.75rem;padding-bottom:.75rem}@media (max-width: 959px){.vp-page-meta{padding-inline:1.5rem}}@media print{.vp-page-meta{max-width:unset}}@media print{.vp-page-meta{margin:0!important;padding-inline:0!important}}@media (max-width: 719px){.vp-page-meta{display:block}}.vp-page-meta .vp-meta-item{flex-grow:1}.vp-page-meta .vp-meta-item .vp-meta-label{font-weight:500}.vp-page-meta .vp-meta-item .vp-meta-label:not(a){color:var(--text-color-lighter)}.vp-page-meta .vp-meta-item .vp-meta-info{color:var(--grey-dark);font-weight:400}.vp-page-meta .git-info{text-align:end}.vp-page-meta .edit-link{margin-top:.25rem;margin-bottom:.25rem;margin-inline-end:.5rem;font-size:14px}@media print{.vp-page-meta .edit-link{display:none}}.vp-page-meta .edit-link .icon{position:relative;bottom:-.125em;width:1em;height:1em;margin-inline-end:.25em}.vp-page-meta .update-time,.vp-page-meta .contributors{margin-top:.25rem;margin-bottom:.25rem;font-size:14px}@media (max-width: 719px){.vp-page-meta .update-time,.vp-page-meta .contributors{font-size:13px;text-align:start}}.print-button{border-width:0;background:transparent;cursor:pointer;box-sizing:content-box;width:1rem;height:1rem;padding:.5rem;border-radius:.25em;color:inherit;font-size:1rem;transform:translateY(.25rem)}@media print{.print-button{display:none}}.page-tag-info{flex-wrap:wrap}.page-tag-item{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;min-width:1.5rem;margin:.125rem;padding:.125rem .25rem .125rem .625rem;background:var(--bg-color-secondary);background:linear-gradient(135deg,transparent .75em,var(--bg-color-secondary) 0) top,linear-gradient(45deg,transparent .75em,var(--bg-color-secondary) 0) bottom;background-size:100% 52%!important;background-repeat:no-repeat!important;color:var(--text-color-light);font-weight:700;font-size:.625rem;line-height:1.5;text-align:center;transition:background var(--color-transition),color var(--color-transition)}@media print{.page-tag-item{padding:0;font-weight:400}.page-tag-item:after{content:", "}.page-tag-item:last-of-type:after{content:""}}.page-tag-item.clickable{cursor:pointer}.page-tag-item.clickable:not([class*=color]):hover{color:var(--theme-color)}.page-tag-item.color0{background:#fde5e7;background:linear-gradient(135deg,transparent .75em,#fde5e7 0) top,linear-gradient(45deg,transparent .75em,#fde5e7 0) bottom;color:#ec2f3e}html[data-theme=dark] .page-tag-item.color0{background:#340509;background:linear-gradient(135deg,transparent .75em,#340509 0) top,linear-gradient(45deg,transparent .75em,#340509 0) bottom;color:#ba111f}.page-tag-item.color0.clickable:hover{background:#f9bec3;background:linear-gradient(135deg,transparent .75em,#f9bec3 0) top,linear-gradient(45deg,transparent .75em,#f9bec3 0) bottom}html[data-theme=dark] .page-tag-item.color0.clickable:hover{background:#53080e;background:linear-gradient(135deg,transparent .75em,#53080e 0) top,linear-gradient(45deg,transparent .75em,#53080e 0) bottom}.page-tag-item.color1{background:#ffeee8;background:linear-gradient(135deg,transparent .75em,#ffeee8 0) top,linear-gradient(45deg,transparent .75em,#ffeee8 0) bottom;color:#fb7649}html[data-theme=dark] .page-tag-item.color1{background:#441201;background:linear-gradient(135deg,transparent .75em,#441201 0) top,linear-gradient(45deg,transparent .75em,#441201 0) bottom;color:#f54205}.page-tag-item.color1.clickable:hover{background:#fed4c6;background:linear-gradient(135deg,transparent .75em,#fed4c6 0) top,linear-gradient(45deg,transparent .75em,#fed4c6 0) bottom}html[data-theme=dark] .page-tag-item.color1.clickable:hover{background:#6d1d02;background:linear-gradient(135deg,transparent .75em,#6d1d02 0) top,linear-gradient(45deg,transparent .75em,#6d1d02 0) bottom}.page-tag-item.color2{background:#fef5e7;background:linear-gradient(135deg,transparent .75em,#fef5e7 0) top,linear-gradient(45deg,transparent .75em,#fef5e7 0) bottom;color:#f5b041}html[data-theme=dark] .page-tag-item.color2{background:#3e2703;background:linear-gradient(135deg,transparent .75em,#3e2703 0) top,linear-gradient(45deg,transparent .75em,#3e2703 0) bottom;color:#e08e0b}.page-tag-item.color2.clickable:hover{background:#fce6c4;background:linear-gradient(135deg,transparent .75em,#fce6c4 0) top,linear-gradient(45deg,transparent .75em,#fce6c4 0) bottom}html[data-theme=dark] .page-tag-item.color2.clickable:hover{background:#633f05;background:linear-gradient(135deg,transparent .75em,#633f05 0) top,linear-gradient(45deg,transparent .75em,#633f05 0) bottom}.page-tag-item.color3{background:#eafaf1;background:linear-gradient(135deg,transparent .75em,#eafaf1 0) top,linear-gradient(45deg,transparent .75em,#eafaf1 0) bottom;color:#55d98d}html[data-theme=dark] .page-tag-item.color3{background:#0c331c;background:linear-gradient(135deg,transparent .75em,#0c331c 0) top,linear-gradient(45deg,transparent .75em,#0c331c 0) bottom;color:#29b866}.page-tag-item.color3.clickable:hover{background:#caf3db;background:linear-gradient(135deg,transparent .75em,#caf3db 0) top,linear-gradient(45deg,transparent .75em,#caf3db 0) bottom}html[data-theme=dark] .page-tag-item.color3.clickable:hover{background:#12522d;background:linear-gradient(135deg,transparent .75em,#12522d 0) top,linear-gradient(45deg,transparent .75em,#12522d 0) bottom}.page-tag-item.color4{background:#e6f9ee;background:linear-gradient(135deg,transparent .75em,#e6f9ee 0) top,linear-gradient(45deg,transparent .75em,#e6f9ee 0) bottom;color:#36d278}html[data-theme=dark] .page-tag-item.color4{background:#092917;background:linear-gradient(135deg,transparent .75em,#092917 0) top,linear-gradient(45deg,transparent .75em,#092917 0) bottom;color:#219552}.page-tag-item.color4.clickable:hover{background:#c0f1d5;background:linear-gradient(135deg,transparent .75em,#c0f1d5 0) top,linear-gradient(45deg,transparent .75em,#c0f1d5 0) bottom}html[data-theme=dark] .page-tag-item.color4.clickable:hover{background:#0f4224;background:linear-gradient(135deg,transparent .75em,#0f4224 0) top,linear-gradient(45deg,transparent .75em,#0f4224 0) bottom}.page-tag-item.color5{background:#e1fcfc;background:linear-gradient(135deg,transparent .75em,#e1fcfc 0) top,linear-gradient(45deg,transparent .75em,#e1fcfc 0) bottom;color:#16e1e1}html[data-theme=dark] .page-tag-item.color5{background:#042929;background:linear-gradient(135deg,transparent .75em,#042929 0) top,linear-gradient(45deg,transparent .75em,#042929 0) bottom;color:#0e9595}.page-tag-item.color5.clickable:hover{background:#b4f8f8;background:linear-gradient(135deg,transparent .75em,#b4f8f8 0) top,linear-gradient(45deg,transparent .75em,#b4f8f8 0) bottom}html[data-theme=dark] .page-tag-item.color5.clickable:hover{background:#064242;background:linear-gradient(135deg,transparent .75em,#064242 0) top,linear-gradient(45deg,transparent .75em,#064242 0) bottom}.page-tag-item.color6{background:#e4f0fe;background:linear-gradient(135deg,transparent .75em,#e4f0fe 0) top,linear-gradient(45deg,transparent .75em,#e4f0fe 0) bottom;color:#2589f6}html[data-theme=dark] .page-tag-item.color6{background:#021b36;background:linear-gradient(135deg,transparent .75em,#021b36 0) top,linear-gradient(45deg,transparent .75em,#021b36 0) bottom;color:#0862c3}.page-tag-item.color6.clickable:hover{background:#bbdafc;background:linear-gradient(135deg,transparent .75em,#bbdafc 0) top,linear-gradient(45deg,transparent .75em,#bbdafc 0) bottom}html[data-theme=dark] .page-tag-item.color6.clickable:hover{background:#042c57;background:linear-gradient(135deg,transparent .75em,#042c57 0) top,linear-gradient(45deg,transparent .75em,#042c57 0) bottom}.page-tag-item.color7{background:#f7f1fd;background:linear-gradient(135deg,transparent .75em,#f7f1fd 0) top,linear-gradient(45deg,transparent .75em,#f7f1fd 0) bottom;color:#bb8ced}html[data-theme=dark] .page-tag-item.color7{background:#2a0b4b;background:linear-gradient(135deg,transparent .75em,#2a0b4b 0) top,linear-gradient(45deg,transparent .75em,#2a0b4b 0) bottom;color:#9851e4}.page-tag-item.color7.clickable:hover{background:#eadbfa;background:linear-gradient(135deg,transparent .75em,#eadbfa 0) top,linear-gradient(45deg,transparent .75em,#eadbfa 0) bottom}html[data-theme=dark] .page-tag-item.color7.clickable:hover{background:#431277;background:linear-gradient(135deg,transparent .75em,#431277 0) top,linear-gradient(45deg,transparent .75em,#431277 0) bottom}.page-tag-item.color8{background:#fdeaf5;background:linear-gradient(135deg,transparent .75em,#fdeaf5 0) top,linear-gradient(45deg,transparent .75em,#fdeaf5 0) bottom;color:#ef59ab}html[data-theme=dark] .page-tag-item.color8{background:#400626;background:linear-gradient(135deg,transparent .75em,#400626 0) top,linear-gradient(45deg,transparent .75em,#400626 0) bottom;color:#e81689}.page-tag-item.color8.clickable:hover{background:#facbe5;background:linear-gradient(135deg,transparent .75em,#facbe5 0) top,linear-gradient(45deg,transparent .75em,#facbe5 0) bottom}html[data-theme=dark] .page-tag-item.color8.clickable:hover{background:#670a3d;background:linear-gradient(135deg,transparent .75em,#670a3d 0) top,linear-gradient(45deg,transparent .75em,#670a3d 0) bottom}.vp-toc-placeholder{margin-inline:auto;padding-inline:2.5rem;position:sticky;top:calc(var(--navbar-height) + .5rem);z-index:99;display:none;max-width:var(--content-width, 740px)}@media (max-width: 959px){.vp-toc-placeholder{padding-inline:1.5rem}}@media print{.vp-toc-placeholder{max-width:unset}}@media (max-width: 719px){.hide-navbar .vp-toc-placeholder{top:.5rem}}@media (min-width: 1440px){.vp-toc-placeholder{top:calc(var(--navbar-height) + 2rem)}}@media print{.vp-toc-placeholder{display:none!important}}.vp-toc-placeholder+.theme-hope-content:not(.custom){padding-top:0}.has-toc .vp-toc-placeholder{display:block}#toc{margin-bottom:1rem;border-radius:8px;background:var(--bg-color-secondary)}@media (min-width: 1440px){#toc{position:absolute;inset-inline-start:calc(100% + 1rem);min-width:10rem;max-width:15rem;margin-bottom:0;border-radius:0;background:transparent}}.vp-toc-header{padding:.5rem 1rem;font-weight:600}@media (min-width: 1440px){.vp-toc-header{padding-top:0;font-size:.875rem}}.vp-toc-header .arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s}html[data-theme=dark] .vp-toc-header .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.vp-toc-header .arrow.down{transform:rotate(180deg)}html[dir=rtl] .vp-toc-header .arrow.down{transform:rotate(-180deg)}.vp-toc-header .arrow.end{transform:rotate(90deg)}html[dir=rtl] .vp-toc-header .arrow.end,.vp-toc-header .arrow.start{transform:rotate(-90deg)}html[dir=rtl] .vp-toc-header .arrow.start{transform:rotate(90deg)}@media (min-width: 1440px){.vp-toc-header .arrow{display:none}}.vp-toc-header .print-button{display:none}@media (min-width: 1440px){.vp-toc-header .print-button{display:inline-block}}.vp-toc-wrapper{position:relative;overflow:hidden auto;height:0;max-height:8rem;margin:0 .5rem;padding-inline-start:8px;text-overflow:ellipsis;white-space:nowrap;scroll-behavior:smooth;transition:height .5s}@media (min-width: 1440px){.vp-toc-wrapper{height:auto;max-height:75vh}}.vp-toc-wrapper.open{height:auto;margin-top:.5rem;padding-bottom:.5rem}.vp-toc-wrapper::-webkit-scrollbar-track-piece{background:transparent}.vp-toc-wrapper::-webkit-scrollbar{width:3px}.vp-toc-wrapper::-webkit-scrollbar-thumb:vertical{background:#ddd}html[data-theme=dark] .vp-toc-wrapper::-webkit-scrollbar-thumb:vertical{background:#333}.vp-toc-wrapper:before{content:" ";position:absolute;inset-inline-start:0;top:0;bottom:0;z-index:-1;width:2px;background:var(--border-color)}.vp-toc-list{position:relative;margin:0;padding:0}.vp-toc-marker{position:absolute;inset-inline-start:0;top:0;z-index:2;display:none;width:2px;height:1.7rem;background:var(--theme-color);transition:top var(--transform-transition)}@media (min-width: 1440px){.vp-toc-marker{display:block}}.vp-toc-link{position:relative;display:block;overflow:hidden;max-width:100%;color:var(--grey-light);line-height:inherit;text-overflow:ellipsis;white-space:nowrap}.vp-toc-link.level2{padding-inline-start:0px;font-size:14px}.vp-toc-link.level3{padding-inline-start:8px;font-size:13px}.vp-toc-link.level4{padding-inline-start:16px;font-size:12px}.vp-toc-link.level5{padding-inline-start:24px;font-size:11px}.vp-toc-link.level6{padding-inline-start:32px;font-size:10px}.vp-toc-item{position:relative;box-sizing:border-box;height:1.7rem;list-style:none;line-height:1.7rem}@media (min-width: 1440px){.vp-toc-item{padding:0 .5rem}}.vp-toc-item:hover>.vp-toc-link{color:var(--theme-color)}.vp-toc-item.active>.vp-toc-link{color:var(--theme-color);font-weight:700}.nav-screen-links{display:none;padding-bottom:.75rem}@media (max-width: 719px){.nav-screen-links{display:block}}.nav-screen-links .navbar-links-item{position:relative;display:block;padding:12px 4px 11px 0;border-bottom:1px solid var(--border-color);font-size:16px;line-height:1.5rem}.nav-screen-links .auto-link{display:inline-block;width:100%;color:var(--grey-dark);font-weight:400}.nav-screen-links .auto-link:hover{color:var(--text-color)}.nav-screen-links .auto-link.route-link-active{color:var(--theme-color)}.vp-nav-screen-menu-title{border-width:0;background:transparent;position:relative;display:flex;align-items:center;width:100%;padding:0;color:var(--grey-dark);font-size:inherit;font-family:inherit;text-align:start;cursor:pointer}.vp-nav-screen-menu-title:hover,.vp-nav-screen-menu-title.active{color:var(--text-color)}.vp-nav-screen-menu-title .text{flex:1}.vp-nav-screen-menu-title .arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s}html[data-theme=dark] .vp-nav-screen-menu-title .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.vp-nav-screen-menu-title .arrow.down{transform:rotate(180deg)}html[dir=rtl] .vp-nav-screen-menu-title .arrow.down{transform:rotate(-180deg)}.vp-nav-screen-menu-title .arrow.end{transform:rotate(90deg)}html[dir=rtl] .vp-nav-screen-menu-title .arrow.end,.vp-nav-screen-menu-title .arrow.start{transform:rotate(-90deg)}html[dir=rtl] .vp-nav-screen-menu-title .arrow.start{transform:rotate(90deg)}.vp-nav-screen-menu{overflow:hidden;margin:.5rem 0 0;padding:0;list-style:none;transition:transform .1s ease-out;transform:scaleY(1);transform-origin:top}.vp-nav-screen-menu.hide{height:0;margin:0;transform:scaleY(0)}.vp-nav-screen-menu .auto-link{position:relative;display:block;padding-inline-start:.5rem;font-weight:400;line-height:2}.vp-nav-screen-menu .auto-link:hover,.vp-nav-screen-menu .auto-link.route-link-active{color:var(--theme-color)}.vp-nav-screen-menu .auto-link .icon{font-size:1em}.vp-nav-screen-menu-item{color:inherit;line-height:1.7rem}.vp-nav-screen-menu-subtitle{margin:0;padding-inline-start:.25rem;color:var(--grey-light);font-weight:600;font-size:.75rem;line-height:2;text-transform:uppercase}.vp-nav-screen-menu-subtitle .auto-link{padding:0}.vp-nav-screen-menu-subitems{margin:0;padding:0;list-style:none}.vp-nav-screen-menu-subitem{padding-inline-start:.5rem;font-size:.9em}.vp-nav-screen{position:fixed;inset:var(--navbar-height) 0 0 0;z-index:150;display:none;overflow-y:auto;padding:0 2rem;background:var(--bg-color)}@media (max-width: 719px){.vp-nav-screen{display:block}}.vp-nav-screen.fade-enter-active,.vp-nav-screen.fade-leave-active{transition:opacity .25s}.vp-nav-screen.fade-enter-active .vp-nav-screen-container,.vp-nav-screen.fade-leave-active .vp-nav-screen-container{transition:transform .25s ease}.vp-nav-screen.fade-enter-from,.vp-nav-screen.fade-leave-to{opacity:0}.vp-nav-screen.fade-enter-from .vp-nav-screen-container,.vp-nav-screen.fade-leave-to .vp-nav-screen-container{transform:translateY(-8px)}.vp-nav-screen .icon{margin-inline-end:.25em;font-size:1em}.vp-nav-screen img.icon{vertical-align:-.125em;height:1em}.vp-nav-screen-container{max-width:320px;margin:0 auto;padding:2rem 0 4rem}.vp-outlook-wrapper{display:flex;justify-content:space-around}.vp-nav-logo{vertical-align:top;height:var(--navbar-line-height);margin-inline-end:.8rem}.vp-nav-logo.light{display:inline-block}.vp-nav-logo.dark,html[data-theme=dark] .vp-nav-logo.light{display:none}html[data-theme=dark] .vp-nav-logo.dark{display:inline-block}.vp-site-name{position:relative;color:var(--text-color);font-size:1.25rem}@media (max-width: 719px){.vp-site-name{overflow:hidden;width:calc(100vw - 9.4rem);text-overflow:ellipsis;white-space:nowrap}}.vp-brand:hover .vp-site-name{color:var(--theme-color)}.vp-dropdown-wrapper{cursor:pointer}.vp-dropdown-wrapper:not(:hover) .arrow{transform:rotate(-180deg)}.vp-dropdown-wrapper .auto-link{position:relative;display:block;margin-bottom:0;border-bottom:none;color:var(--grey-dark);font-weight:400;font-size:.875rem;line-height:1.7rem;transition:color var(--color-transition)}.vp-dropdown-wrapper .auto-link:hover,.vp-dropdown-wrapper .auto-link.route-link-active{color:var(--theme-color)}.vp-dropdown-title{border-width:0;background:transparent;cursor:pointer;padding:0 .25rem;color:var(--grey-dark);font-weight:500;font-size:inherit;font-family:inherit;line-height:inherit;cursor:inherit}.vp-dropdown-title:hover{border-color:transparent}.vp-dropdown-title .icon{margin-inline-end:.25em;font-size:1em}.vp-dropdown-title .arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s;font-size:1.2em}html[data-theme=dark] .vp-dropdown-title .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.vp-dropdown-title .arrow.down{transform:rotate(180deg)}html[dir=rtl] .vp-dropdown-title .arrow.down{transform:rotate(-180deg)}.vp-dropdown-title .arrow.end{transform:rotate(90deg)}html[dir=rtl] .vp-dropdown-title .arrow.end,.vp-dropdown-title .arrow.start{transform:rotate(-90deg)}html[dir=rtl] .vp-dropdown-title .arrow.start{transform:rotate(90deg)}.vp-dropdown{position:absolute;inset-inline-end:0;top:100%;overflow-y:auto;box-sizing:border-box;min-width:6rem;max-height:calc(100vh - var(--navbar-height));margin:0;padding:.5rem .75rem;border:1px solid var(--grey14);border-radius:.5rem;background:var(--bg-color);box-shadow:2px 2px 10px var(--card-shadow);list-style-type:none;text-align:start;white-space:nowrap;opacity:0;visibility:hidden;transition:all .18s ease-out;transform:scale(.9)}.vp-dropdown-wrapper:hover .vp-dropdown,.vp-dropdown-wrapper.open .vp-dropdown{z-index:2;opacity:1;visibility:visible;transform:none}.vp-dropdown-item{color:inherit;line-height:1.7rem}.vp-dropdown-subtitle{margin:0;padding:.5rem .25rem 0;color:var(--grey-light);font-weight:600;font-size:.75rem;line-height:2;text-transform:uppercase}.vp-dropdown-item:first-child .vp-dropdown-subtitle{padding-top:0}.vp-dropdown-subitems{margin:0;padding:0 0 .25rem;list-style-type:none}.vp-dropdown-item:last-child .vp-dropdown-subitems{padding-bottom:0}.vp-nav-links{display:flex;align-items:center;font-size:.875rem}.vp-nav-item{position:relative;margin:0 .25rem;line-height:2rem}.vp-nav-item:first-child{margin-inline-start:0}.vp-nav-item:last-child{margin-inline-end:0}.vp-nav-item>.auto-link{color:var(--grey-dark)}.vp-nav-item>.auto-link:after{content:" ";position:absolute;inset:auto 50% 0;height:2px;border-radius:1px;background:var(--theme-color-light);visibility:hidden;transition:inset .2s ease-in-out}.vp-nav-item>.auto-link.route-link-active{color:var(--theme-color)}.vp-nav-item>.auto-link:hover:after,.vp-nav-item>.auto-link.route-link-active:after{inset:auto 0 0;visibility:visible}.vp-navbar{--navbar-line-height: calc( var(--navbar-height) - var(--navbar-vertical-padding) * 2 );position:fixed;inset:0 0 auto;z-index:175;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;height:var(--navbar-height);padding:var(--navbar-vertical-padding) var(--navbar-horizontal-padding);background:var(--navbar-bg-color);box-shadow:0 2px 8px var(--card-shadow);line-height:var(--navbar-line-height);white-space:nowrap;-webkit-backdrop-filter:saturate(150%) blur(12px);backdrop-filter:saturate(150%) blur(12px);transition:transform var(--transform-transition)}@media print{.vp-navbar{display:none}}.hide-navbar .vp-navbar.auto-hide{transform:translateY(-100%)}.vp-navbar .auto-link{padding:0 .25rem;color:var(--grey-dark)}.vp-navbar .auto-link.route-link-active{color:var(--theme-color)}.vp-navbar .auto-link .icon{margin-inline-end:.25em;font-size:1em}.vp-navbar .auto-link img.icon{vertical-align:-.125em;height:1em}.vp-navbar-start,.vp-navbar-end,.vp-navbar-center{display:flex;flex:1;align-items:center}.vp-navbar-start>*,.vp-navbar-end>*,.vp-navbar-center>*{position:relative;margin:0 .25rem!important}.vp-navbar-start>*:first-child,.vp-navbar-end>*:first-child,.vp-navbar-center>*:first-child{margin-inline-start:0!important}.vp-navbar-start>*:last-child,.vp-navbar-end>*:last-child,.vp-navbar-center>*:last-child{margin-inline-end:0!important}.vp-navbar-start{justify-content:start}.vp-navbar-center{justify-content:center}.vp-navbar-end{justify-content:end}.vp-navbar .vp-action{margin:0!important}.vp-navbar .vp-action-link{display:inline-block;margin:auto;padding:6px;color:var(--grey-dark);line-height:1}.vp-navbar .vp-action-link:hover,.vp-navbar .vp-action-link:active{color:var(--theme-color)}.vp-toggle-navbar-button{border-width:0;background:transparent;cursor:pointer;position:relative;display:none;align-items:center;justify-content:center;padding:6px}@media screen and (max-width: 719px){.vp-toggle-navbar-button{display:flex}}.vp-toggle-navbar-button>span{position:relative;overflow:hidden;width:16px;height:14px}.vp-toggle-navbar-button .vp-top,.vp-toggle-navbar-button .vp-middle,.vp-toggle-navbar-button .vp-bottom{position:absolute;width:16px;height:2px;background:var(--grey-dark);transition:top .25s,background .5s,transform .25s}.vp-toggle-navbar-button .vp-top{top:0;left:0;transform:translate(0)}.vp-toggle-navbar-button .vp-middle{top:6px;left:0;transform:translate(8px)}.vp-toggle-navbar-button .vp-bottom{top:12px;left:0;transform:translate(4px)}.vp-toggle-navbar-button:hover .vp-top{top:0;left:0;transform:translate(4px)}.vp-toggle-navbar-button:hover .vp-middle{top:6;left:0;transform:translate(0)}.vp-toggle-navbar-button:hover .vp-bottom{top:12px;left:0;transform:translate(8px)}.vp-toggle-navbar-button.is-active .vp-top{top:6px;transform:translate(0) rotate(225deg)}.vp-toggle-navbar-button.is-active .vp-middle{top:6px;transform:translate(16px)}.vp-toggle-navbar-button.is-active .vp-bottom{top:6px;transform:translate(0) rotate(135deg)}.vp-toggle-navbar-button.is-active:hover .vp-top,.vp-toggle-navbar-button.is-active:hover .vp-middle,.vp-toggle-navbar-button.is-active:hover .vp-bottom{background:var(--theme-color);transition:top .25s,background .25s,transform .25s}.vp-toggle-sidebar-button{border-width:0;background:transparent;cursor:pointer;display:none;vertical-align:middle;box-sizing:content-box;width:1rem;height:1rem;padding:.5rem;font:unset;transition:transform .2s ease-in-out}@media screen and (max-width: 719px){.vp-toggle-sidebar-button{display:block;padding-inline-end:var(--navbar-mobile-horizontal-padding)}}.vp-toggle-sidebar-button:before,.vp-toggle-sidebar-button:after,.vp-toggle-sidebar-button .icon{display:block;width:100%;height:2px;border-radius:.05em;background:var(--grey-dark);transition:transform .2s ease-in-out}.vp-toggle-sidebar-button:before{content:" ";margin-top:.125em}.sidebar-open .vp-toggle-sidebar-button:before{transform:translateY(.34rem) rotate(135deg)}.vp-toggle-sidebar-button:after{content:" ";margin-bottom:.125em}.sidebar-open .vp-toggle-sidebar-button:after{transform:translateY(-.34rem) rotate(-135deg)}.vp-toggle-sidebar-button .icon{margin:.2em 0}.sidebar-open .vp-toggle-sidebar-button .icon{transform:scale(0)}.vp-color-mode-switch{border-width:0;background:transparent;vertical-align:middle;padding:6px;color:var(--grey-dark);cursor:pointer;transition:color var(--color-transition)}.vp-color-mode-switch:hover{color:var(--theme-color)}.vp-color-mode-switch .icon{width:1.25rem;height:1.25rem}.vp-color-mode-title{display:block;margin:0;padding:0 .25rem;color:var(--grey-light);font-weight:600;font-size:.75rem;line-height:2}.vp-outlook-button{border-width:0;background:transparent;cursor:pointer;position:relative;padding:.375rem;color:var(--grey-dark)}.vp-outlook-button .icon{vertical-align:middle;width:1.25rem;height:1.25rem}.vp-outlook-dropdown{position:absolute;inset-inline-end:0;top:100%;overflow-y:auto;box-sizing:border-box;min-width:100px;margin:0;padding:.5rem .75rem;border:1px solid var(--grey14);border-radius:.25rem;background:var(--bg-color);box-shadow:2px 2px 10px var(--card-shadow);text-align:start;white-space:nowrap;opacity:0;visibility:hidden;transition:all .18s ease-out;transform:scale(.8)}.vp-outlook-dropdown>*:not(:last-child){padding-bottom:.5rem;border-bottom:1px solid var(--grey14)}.vp-outlook-button:hover .vp-outlook-dropdown,.vp-outlook-button.open .vp-outlook-dropdown{z-index:2;opacity:1;visibility:visible;transform:scale(1)}.vp-theme-color-picker{display:flex;margin:0;padding:0;list-style-type:none;font-size:14px}.vp-theme-color-picker li span{display:inline-block;vertical-align:middle;width:15px;height:15px;margin:0 2px;border-radius:2px}.vp-theme-color-picker li span.theme-color,.vp-theme-color-picker li span.theme-color html[data-theme=dark]{background:#2196f3}.vp-theme-color-title{display:block;margin:0;padding:0 .25rem;color:var(--grey-light);font-weight:600;font-size:.75rem;line-height:2}@media print{.full-screen-wrapper{display:none}}.full-screen-title{display:block;margin:0;padding:0 .25rem;color:var(--grey-light);font-weight:600;font-size:.75rem;line-height:2}.full-screen,.cancel-full-screen{border-width:0;background:transparent;vertical-align:middle;padding:.375rem;color:var(--grey-dark);cursor:pointer}.full-screen:hover,.cancel-full-screen:hover{color:var(--theme-color)}.full-screen .icon,.cancel-full-screen .icon{width:1.25rem;height:1.25rem}.enter-fullscreen-icon:hover,.cancel-fullscreen-icon{color:var(--theme-color)}.cancel-fullscreen-icon:hover{color:var(--grey-dark)}.vp-sidebar-link{display:inline-block;box-sizing:border-box;width:calc(100% - 1rem);margin-inline:.5rem;padding:.25rem .5rem;border-radius:.375rem;color:var(--text-color);font-weight:400;font-size:1em;line-height:1.5}.vp-sidebar-link:hover{background:var(--bg-color-secondary)}.vp-sidebar-link.active{background:var(--theme-color-mask);color:var(--theme-color);font-weight:500}.vp-sidebar-link.active .icon{color:var(--theme-color)}.vp-sidebar-group:not(.collapsible) .vp-sidebar-header:not(.clickable){color:inherit;cursor:auto}.vp-sidebar-group .vp-sidebar-group .vp-sidebar-header{font-size:1em}.vp-sidebar-header{display:flex;align-items:center;overflow:hidden;box-sizing:border-box;width:calc(100% - 1rem);margin:0;margin-inline:.5rem;padding:.25rem .5rem;border-width:0;border-radius:.375rem;background:transparent;color:var(--text-color);font-size:1.1em;line-height:1.5;text-align:start;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .15s ease;transform:rotate(0)}.vp-sidebar-header.open{color:inherit}.vp-sidebar-header.clickable{border-width:0;background:transparent;cursor:pointer;font-family:inherit}.vp-sidebar-header.clickable:hover{background:var(--bg-color-secondary)}.vp-sidebar-header.clickable.exact{border-inline-start-color:var(--theme-color);color:var(--theme-color)}.vp-sidebar-header.clickable.exact a{color:inherit}.vp-sidebar-header .vp-sidebar-title{flex:1}.vp-sidebar-header .vp-arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s;font-size:1.5em}html[data-theme=dark] .vp-sidebar-header .vp-arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.vp-sidebar-header .vp-arrow.down{transform:rotate(180deg)}html[dir=rtl] .vp-sidebar-header .vp-arrow.down{transform:rotate(-180deg)}.vp-sidebar-header .vp-arrow.end{transform:rotate(90deg)}html[dir=rtl] .vp-sidebar-header .vp-arrow.end,.vp-sidebar-header .vp-arrow.start{transform:rotate(-90deg)}html[dir=rtl] .vp-sidebar-header .vp-arrow.start{transform:rotate(90deg)}.vp-sidebar-links{margin:0 0 0 .75em;padding:0}.vp-sidebar-links li{list-style-type:none}.vp-sidebar>.vp-sidebar-links{margin:0;padding:1.5rem 0}@media (max-width: 719px){.vp-sidebar>.vp-sidebar-links{padding:1rem 0}}.vp-sidebar>.vp-sidebar-links>li>.vp-sidebar-link{font-size:1.1em}.vp-sidebar>.vp-sidebar-links>li:not(:first-child){margin-top:.5rem}.vp-sidebar{position:fixed;inset-inline-start:0;top:0;bottom:0;z-index:1;overflow-y:auto;width:var(--sidebar-width);margin:0;padding-inline-start:calc(var(--sidebar-space) - var(--sidebar-width));background:var(--sidebar-bg-color);box-shadow:2px 0 8px var(--card-shadow);font-size:.94rem;-webkit-backdrop-filter:saturate(150%) blur(12px);backdrop-filter:saturate(150%) blur(12px);transition:padding var(--transform-transition),transform var(--transform-transition);scrollbar-color:var(--theme-color) var(--border-color);scrollbar-width:thin}@media (max-width: 959px){.vp-sidebar{font-size:.86em}}@media (max-width: 719px){.vp-sidebar{z-index:125;box-shadow:none;transform:translate(-100%)}html[dir=rtl] .vp-sidebar{transform:translate(100%)}}@media (min-width: 1440px){.vp-sidebar{padding-bottom:3rem;box-shadow:none;font-size:1rem}}@media print{.vp-sidebar{display:none}}.vp-sidebar a{display:inline-block;color:var(--text-color);font-weight:400}.vp-sidebar .icon{margin-inline-end:.25em;font-size:1em}.vp-sidebar img.icon{vertical-align:-.125em;height:1em}.vp-sidebar-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#00000026}.vp-sidebar-mask.fade-enter-active,.vp-sidebar-mask.fade-leave-active{transition:opacity .25s}.vp-sidebar-mask.fade-enter-from,.vp-sidebar-mask.fade-leave-to{opacity:0}@media (max-width: 959px){.vp-brand{display:none}}.vp-nav-links{padding-right:2rem} diff --git a/assets/translate_documentation-B2ai8mXP.gif b/assets/translate_documentation-B2ai8mXP.gif new file mode 100644 index 000000000..58c710284 Binary files /dev/null and b/assets/translate_documentation-B2ai8mXP.gif differ diff --git a/config.html b/config.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/config.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

    Redirecting...

    + + diff --git a/core-features.html b/core-features.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/core-features.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

    Redirecting...

    + + diff --git a/en/advance-features.html b/en/advance-features.html new file mode 100644 index 000000000..8062e3b66 --- /dev/null +++ b/en/advance-features.html @@ -0,0 +1,40 @@ + + + + + + + + + + Paradox Language Support + + + + + + + + + diff --git a/en/config.html b/en/config.html new file mode 100644 index 000000000..de1bb60f4 --- /dev/null +++ b/en/config.html @@ -0,0 +1,220 @@ + + + + + + + + + + Config Groups & Config Files | Paradox Language Support + + + + + +
    Skip to main content
    + + + diff --git a/en/core-features.html b/en/core-features.html new file mode 100644 index 000000000..e87ffe9a1 --- /dev/null +++ b/en/core-features.html @@ -0,0 +1,40 @@ + + + + + + + + + + Paradox Language Support + + + + + + + + + diff --git a/en/index.html b/en/index.html new file mode 100644 index 000000000..87fa8e071 --- /dev/null +++ b/en/index.html @@ -0,0 +1,40 @@ + + + + + + + + + + Introduce | Paradox Language Support + + + + + +
    Skip to main content
    + + + diff --git a/en/plugin-integration.html b/en/plugin-integration.html new file mode 100644 index 000000000..0d457a1fe --- /dev/null +++ b/en/plugin-integration.html @@ -0,0 +1,40 @@ + + + + + + + + + + Plugin Integration | Paradox Language Support + + + + + +
    Skip to main content
    + + + diff --git a/en/plugin-settings.html b/en/plugin-settings.html new file mode 100644 index 000000000..509fc97ea --- /dev/null +++ b/en/plugin-settings.html @@ -0,0 +1,40 @@ + + + + + + + + + + Paradox Language Support + + + + + + + + + diff --git a/en/quick-start.html b/en/quick-start.html new file mode 100644 index 000000000..fdf69bf03 --- /dev/null +++ b/en/quick-start.html @@ -0,0 +1,40 @@ + + + + + + + + + + Quick Start | Paradox Language Support + + + + + +
    Skip to main content
    + + + diff --git a/images/favicon.png b/images/favicon.png new file mode 100644 index 000000000..b1ffeee2a Binary files /dev/null and b/images/favicon.png differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/index.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

    Redirecting...

    + + diff --git a/plugin-integration.html b/plugin-integration.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/plugin-integration.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

    Redirecting...

    + + diff --git a/plugin-settings.html b/plugin-settings.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/plugin-settings.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

    Redirecting...

    + + diff --git a/quick-start.html b/quick-start.html new file mode 100644 index 000000000..8a3c8b8c2 --- /dev/null +++ b/quick-start.html @@ -0,0 +1,69 @@ + + + + + + Redirecting... + + + +

    Redirecting...

    + + diff --git a/robots.txt b/robots.txt new file mode 100644 index 000000000..ada58cf46 --- /dev/null +++ b/robots.txt @@ -0,0 +1,5 @@ + +User-agent:* +Disallow: + +Sitemap: https://windea.icu/Paradox-Language-Support/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 000000000..b03eeffe4 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,3 @@ + + +https://windea.icu/Paradox-Language-Support/en/2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/en/advance-features.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/en/config.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/en/core-features.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/en/plugin-integration.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/en/plugin-settings.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/en/quick-start.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/advance-features.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/config.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/core-features.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/plugin-integration.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/plugin-settings.html2024-09-24T04:21:24.000Zdailyhttps://windea.icu/Paradox-Language-Support/zh/quick-start.html2024-09-24T04:21:24.000Zdaily \ No newline at end of file diff --git a/sitemap.xsl b/sitemap.xsl new file mode 100644 index 000000000..a76881a48 --- /dev/null +++ b/sitemap.xsl @@ -0,0 +1,207 @@ + + + + + + + XML Sitemap + + + + + +
    +

    Sitemap

    + + + + + + + + + + + + + + + + + + + + + +
    + + PriorityChange FrequencyLast Updated Time
    + + + + + + + + + + + + + 0.5 + + + + + + + + + - + + + + +
    +
    + + + +
    +
    diff --git a/zh/advance-features.html b/zh/advance-features.html new file mode 100644 index 000000000..04a8146ac --- /dev/null +++ b/zh/advance-features.html @@ -0,0 +1,40 @@ + + + + + + + + + + Paradox Language Support + + + + + + + + + diff --git a/zh/config.html b/zh/config.html new file mode 100644 index 000000000..f55a43a35 --- /dev/null +++ b/zh/config.html @@ -0,0 +1,220 @@ + + + + + + + + + + 规则分组与规则文件 | Paradox Language Support + + + + + +
    跳至主要內容
    + + + diff --git a/zh/core-features.html b/zh/core-features.html new file mode 100644 index 000000000..924719c4f --- /dev/null +++ b/zh/core-features.html @@ -0,0 +1,40 @@ + + + + + + + + + + Paradox Language Support + + + + + + + + + diff --git a/zh/index.html b/zh/index.html new file mode 100644 index 000000000..2b905855a --- /dev/null +++ b/zh/index.html @@ -0,0 +1,40 @@ + + + + + + + + + + 介绍 | Paradox Language Support + + + + + +
    跳至主要內容
    + + + diff --git a/zh/plugin-integration.html b/zh/plugin-integration.html new file mode 100644 index 000000000..a580d059f --- /dev/null +++ b/zh/plugin-integration.html @@ -0,0 +1,40 @@ + + + + + + + + + + 插件集成 | Paradox Language Support + + + + + +
    跳至主要內容
    + + + diff --git a/zh/plugin-settings.html b/zh/plugin-settings.html new file mode 100644 index 000000000..9a28fa2a3 --- /dev/null +++ b/zh/plugin-settings.html @@ -0,0 +1,40 @@ + + + + + + + + + + Paradox Language Support + + + + + + + + + diff --git a/zh/quick-start.html b/zh/quick-start.html new file mode 100644 index 000000000..ce8a7324b --- /dev/null +++ b/zh/quick-start.html @@ -0,0 +1,40 @@ + + + + + + + + + + 快速开始 | Paradox Language Support + + + + + +
    跳至主要內容
    + + +