diff --git a/assets/index-BXd3sAeY.js b/assets/index-CZu9Ff7I.js similarity index 54% rename from assets/index-BXd3sAeY.js rename to assets/index-CZu9Ff7I.js index 16cbdfe..e96fd33 100644 --- a/assets/index-BXd3sAeY.js +++ b/assets/index-CZu9Ff7I.js @@ -1,52 +1,52 @@ -var Op=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gA=Op((pi,Lp)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +var Op=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var _A=Op((pi,Lp)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();/** * @vue/shared v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function mi(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ze={},hs=[],Nt=()=>{},Ip=()=>!1,wo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hi=e=>e.startsWith("onUpdate:"),nt=Object.assign,gi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Np=Object.prototype.hasOwnProperty,Pe=(e,t)=>Np.call(e,t),he=Array.isArray,gs=e=>yr(e)==="[object Map]",ko=e=>yr(e)==="[object Set]",cl=e=>yr(e)==="[object Date]",$e=e=>typeof e=="function",et=e=>typeof e=="string",In=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",Nu=e=>(Be(e)||$e(e))&&$e(e.then)&&$e(e.catch),Mu=Object.prototype.toString,yr=e=>Mu.call(e),Mp=e=>yr(e).slice(8,-1),Pu=e=>yr(e)==="[object Object]",bi=e=>et(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Js=mi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Eo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pp=/-(\w)/g,Zt=Eo(e=>e.replace(Pp,(t,n)=>n?n.toUpperCase():"")),Rp=/\B([A-Z])/g,ss=Eo(e=>e.replace(Rp,"-$1").toLowerCase()),$o=Eo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xo=Eo(e=>e?`on${$o(e)}`:""),Nn=(e,t)=>!Object.is(e,t),Vr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$a=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dp=e=>{const t=et(e)?Number(e):NaN;return isNaN(t)?e:t};let ul;const Ru=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _i(e){if(he(e)){const t={};for(let n=0;n{if(n){const s=n.split(jp);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(et(e))t=e;else if(he(e))for(let n=0;nSo(n,t))}const D=e=>et(e)?e:e==null?"":he(e)||Be(e)&&(e.toString===Mu||!$e(e.toString))?JSON.stringify(e,ju,2):String(e),ju=(e,t)=>t&&t.__v_isRef?ju(e,t.value):gs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Qo(s,o)+" =>"]=r,n),{})}:ko(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Qo(n))}:In(t)?Qo(t):Be(t)&&!he(t)&&!Pu(t)?String(t):t,Qo=(e,t="")=>{var n;return In(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**/function mi(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ze={},hs=[],Mt=()=>{},Ip=()=>!1,ya=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hi=e=>e.startsWith("onUpdate:"),nt=Object.assign,gi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mp=Object.prototype.hasOwnProperty,Pe=(e,t)=>Mp.call(e,t),he=Array.isArray,gs=e=>yr(e)==="[object Map]",wa=e=>yr(e)==="[object Set]",cl=e=>yr(e)==="[object Date]",$e=e=>typeof e=="function",et=e=>typeof e=="string",In=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",Mu=e=>(Be(e)||$e(e))&&$e(e.then)&&$e(e.catch),Nu=Object.prototype.toString,yr=e=>Nu.call(e),Np=e=>yr(e).slice(8,-1),Pu=e=>yr(e)==="[object Object]",bi=e=>et(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ys=mi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ka=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pp=/-(\w)/g,Zt=ka(e=>e.replace(Pp,(t,n)=>n?n.toUpperCase():"")),Rp=/\B([A-Z])/g,ss=ka(e=>e.replace(Rp,"-$1").toLowerCase()),Ea=ka(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ja=ka(e=>e?`on${Ea(e)}`:""),Mn=(e,t)=>!Object.is(e,t),Vr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$o=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fp=e=>{const t=et(e)?Number(e):NaN;return isNaN(t)?e:t};let ul;const Ru=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _i(e){if(he(e)){const t={};for(let n=0;n{if(n){const s=n.split(jp);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(et(e))t=e;else if(he(e))for(let n=0;n$a(n,t))}const F=e=>et(e)?e:e==null?"":he(e)||Be(e)&&(e.toString===Nu||!$e(e.toString))?JSON.stringify(e,ju,2):String(e),ju=(e,t)=>t&&t.__v_isRef?ju(e,t.value):gs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],a)=>(n[Xa(s,a)+" =>"]=r,n),{})}:wa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Xa(n))}:In(t)?Xa(t):Be(t)&&!he(t)&&!Pu(t)?String(t):t,Xa=(e,t="")=>{var n;return In(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let St;class Uu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=St,!t&&St&&(this.index=(St.scopes||(St.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=St;try{return St=this,t()}finally{St=n}}}on(){St=this}off(){St=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),os()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ln,n=Xn;try{return Ln=!0,Xn=this,this._runnings++,dl(this),this.fn()}finally{fl(this),this._runnings--,Xn=n,Ln=t}}stop(){var t;this.active&&(dl(this),fl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Kp(e){return e.value}function dl(e){e._trackId++,e._depsLength=0}function fl(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},ro=new WeakMap,Qn=Symbol(""),xa=Symbol("");function kt(e,t,n){if(Ln&&Xn){let s=ro.get(e);s||ro.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=zu(()=>s.delete(n))),Gu(Xn,r)}}function cn(e,t,n,s,r,o){const a=ro.get(e);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(n==="length"&&he(e)){const l=Number(s);a.forEach((c,u)=>{(u==="length"||!In(u)&&u>=l)&&i.push(c)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":he(e)?bi(n)&&i.push(a.get("length")):(i.push(a.get(Qn)),gs(e)&&i.push(a.get(xa)));break;case"delete":he(e)||(i.push(a.get(Qn)),gs(e)&&i.push(a.get(xa)));break;case"set":gs(e)&&i.push(a.get(Qn));break}wi();for(const l of i)l&&Wu(l,4);ki()}function qp(e,t){var n;return(n=ro.get(e))==null?void 0:n.get(t)}const Jp=mi("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(In)),pl=Yp();function Yp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Le(this);for(let o=0,a=this.length;o{e[t]=function(...n){rs(),wi();const s=Le(this)[t].apply(this,n);return ki(),os(),s}}),e}function Xp(e){const t=Le(this);return kt(t,"has",e),t.hasOwnProperty(e)}class qu{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?um:Qu:o?Xu:Yu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=he(t);if(!r){if(a&&Pe(pl,n))return Reflect.get(pl,n,s);if(n==="hasOwnProperty")return Xp}const i=Reflect.get(t,n,s);return(In(n)?Ku.has(n):Jp(n))||(r||kt(t,"get",n),o)?i:Ye(i)?a&&bi(n)?i:i.value:Be(i)?r?ed(i):wr(i):i}}class Ju extends qu{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._shallow){const l=ws(o);if(!oo(s)&&!ws(s)&&(o=Le(o),s=Le(s)),!he(t)&&Ye(o)&&!Ye(s))return l?!1:(o.value=s,!0)}const a=he(t)&&bi(n)?Number(n)e,Co=e=>Reflect.getPrototypeOf(e);function Ar(e,t,n=!1,s=!1){e=e.__v_raw;const r=Le(e),o=Le(t);n||(Nn(t,o)&&kt(r,"get",t),kt(r,"get",o));const{has:a}=Co(r),i=s?Ei:n?Ci:ar;if(a.call(r,t))return i(e.get(t));if(a.call(r,o))return i(e.get(o));e!==r&&e.get(t)}function Tr(e,t=!1){const n=this.__v_raw,s=Le(n),r=Le(e);return t||(Nn(e,r)&&kt(s,"has",e),kt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Lr(e,t=!1){return e=e.__v_raw,!t&&kt(Le(e),"iterate",Qn),Reflect.get(e,"size",e)}function ml(e){e=Le(e);const t=Le(this);return Co(t).has.call(t,e)||(t.add(e),cn(t,"add",e,e)),this}function hl(e,t){t=Le(t);const n=Le(this),{has:s,get:r}=Co(n);let o=s.call(n,e);o||(e=Le(e),o=s.call(n,e));const a=r.call(n,e);return n.set(e,t),o?Nn(t,a)&&cn(n,"set",e,t):cn(n,"add",e,t),this}function gl(e){const t=Le(this),{has:n,get:s}=Co(t);let r=n.call(t,e);r||(e=Le(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&cn(t,"delete",e,void 0),o}function bl(){const e=Le(this),t=e.size!==0,n=e.clear();return t&&cn(e,"clear",void 0,void 0),n}function Or(e,t){return function(s,r){const o=this,a=o.__v_raw,i=Le(a),l=t?Ei:e?Ci:ar;return!e&&kt(i,"iterate",Qn),a.forEach((c,u)=>s.call(r,l(c),l(u),o))}}function Ir(e,t,n){return function(...s){const r=this.__v_raw,o=Le(r),a=gs(o),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...s),u=n?Ei:t?Ci:ar;return!t&&kt(o,"iterate",l?xa:Qn),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function bn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function nm(){const e={get(o){return Ar(this,o)},get size(){return Lr(this)},has:Tr,add:ml,set:hl,delete:gl,clear:bl,forEach:Or(!1,!1)},t={get(o){return Ar(this,o,!1,!0)},get size(){return Lr(this)},has:Tr,add:ml,set:hl,delete:gl,clear:bl,forEach:Or(!1,!0)},n={get(o){return Ar(this,o,!0)},get size(){return Lr(this,!0)},has(o){return Tr.call(this,o,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Or(!0,!1)},s={get(o){return Ar(this,o,!0,!0)},get size(){return Lr(this,!0)},has(o){return Tr.call(this,o,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Or(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ir(o,!1,!1),n[o]=Ir(o,!0,!1),t[o]=Ir(o,!1,!0),s[o]=Ir(o,!0,!0)}),[e,n,t,s]}const[sm,rm,om,am]=nm();function $i(e,t){const n=t?e?am:om:e?rm:sm;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Pe(n,r)&&r in s?n:s,r,o)}const im={get:$i(!1,!1)},lm={get:$i(!1,!0)},cm={get:$i(!0,!1)},Yu=new WeakMap,Xu=new WeakMap,Qu=new WeakMap,um=new WeakMap;function dm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(e){return e.__v_skip||!Object.isExtensible(e)?0:dm(Mp(e))}function wr(e){return ws(e)?e:Si(e,!1,Zp,im,Yu)}function Zu(e){return Si(e,!1,tm,lm,Xu)}function ed(e){return Si(e,!0,em,cm,Qu)}function Si(e,t,n,s,r){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const a=fm(e);if(a===0)return e;const i=new Proxy(e,a===2?s:n);return r.set(e,i),i}function un(e){return ws(e)?un(e.__v_raw):!!(e&&e.__v_isReactive)}function ws(e){return!!(e&&e.__v_isReadonly)}function oo(e){return!!(e&&e.__v_isShallow)}function td(e){return un(e)||ws(e)}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function xo(e){return Object.isExtensible(e)&&so(e,"__v_skip",!0),e}const ar=e=>Be(e)?wr(e):e,Ci=e=>Be(e)?ed(e):e;class nd{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new yi(()=>t(this._value),()=>Br(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Le(this);return(!t._cacheable||t.effect.dirty)&&Nn(t._value,t._value=t.effect.run())&&Br(t,4),sd(t),t.effect._dirtyLevel>=2&&Br(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function pm(e,t,n=!1){let s,r;const o=$e(e);return o?(s=e,r=Nt):(s=e.get,r=e.set),new nd(s,r,o||!r,n)}function sd(e){var t;Ln&&Xn&&(e=Le(e),Gu(Xn,(t=e.dep)!=null?t:e.dep=zu(()=>e.dep=void 0,e instanceof nd?e:void 0)))}function Br(e,t=4,n){e=Le(e);const s=e.dep;s&&Wu(s,t)}function Ye(e){return!!(e&&e.__v_isRef===!0)}function Ke(e){return rd(e,!1)}function xi(e){return rd(e,!0)}function rd(e,t){return Ye(e)?e:new mm(e,t)}class mm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Le(t),this._value=n?t:ar(t)}get value(){return sd(this),this._value}set value(t){const n=this.__v_isShallow||oo(t)||ws(t);t=n?t:Le(t),Nn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ar(t),Br(this,4))}}function X(e){return Ye(e)?e.value:e}const hm={get:(e,t,n)=>X(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ye(r)&&!Ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function od(e){return un(e)?e:new Proxy(e,hm)}function gm(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=ad(e,n);return t}class bm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 qp(Le(this._object),this._key)}}class _m{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function vm(e,t,n){return Ye(e)?e:$e(e)?new _m(e):Be(e)&&arguments.length>1?ad(e,t,n):Ke(e)}function ad(e,t,n){const s=e[t];return Ye(s)?s:new bm(e,t,n)}/** +**/let St;class Uu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=St,!t&&St&&(this.index=(St.scopes||(St.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=St;try{return St=this,t()}finally{St=n}}}on(){St=this}off(){St=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),as()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ln,n=Xn;try{return Ln=!0,Xn=this,this._runnings++,dl(this),this.fn()}finally{fl(this),this._runnings--,Xn=n,Ln=t}}stop(){var t;this.active&&(dl(this),fl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Kp(e){return e.value}function dl(e){e._trackId++,e._depsLength=0}function fl(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},ra=new WeakMap,Qn=Symbol(""),xo=Symbol("");function kt(e,t,n){if(Ln&&Xn){let s=ra.get(e);s||ra.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=zu(()=>s.delete(n))),Gu(Xn,r)}}function cn(e,t,n,s,r,a){const o=ra.get(e);if(!o)return;let i=[];if(t==="clear")i=[...o.values()];else if(n==="length"&&he(e)){const l=Number(s);o.forEach((c,u)=>{(u==="length"||!In(u)&&u>=l)&&i.push(c)})}else switch(n!==void 0&&i.push(o.get(n)),t){case"add":he(e)?bi(n)&&i.push(o.get("length")):(i.push(o.get(Qn)),gs(e)&&i.push(o.get(xo)));break;case"delete":he(e)||(i.push(o.get(Qn)),gs(e)&&i.push(o.get(xo)));break;case"set":gs(e)&&i.push(o.get(Qn));break}wi();for(const l of i)l&&Wu(l,4);ki()}function qp(e,t){var n;return(n=ra.get(e))==null?void 0:n.get(t)}const Yp=mi("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(In)),pl=Jp();function Jp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Le(this);for(let a=0,o=this.length;a{e[t]=function(...n){rs(),wi();const s=Le(this)[t].apply(this,n);return ki(),as(),s}}),e}function Xp(e){const t=Le(this);return kt(t,"has",e),t.hasOwnProperty(e)}class qu{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,a=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return s===(r?a?um:Qu:a?Xu:Ju).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=he(t);if(!r){if(o&&Pe(pl,n))return Reflect.get(pl,n,s);if(n==="hasOwnProperty")return Xp}const i=Reflect.get(t,n,s);return(In(n)?Ku.has(n):Yp(n))||(r||kt(t,"get",n),a)?i:Je(i)?o&&bi(n)?i:i.value:Be(i)?r?ed(i):wr(i):i}}class Yu extends qu{constructor(t=!1){super(!1,t)}set(t,n,s,r){let a=t[n];if(!this._shallow){const l=ws(a);if(!aa(s)&&!ws(s)&&(a=Le(a),s=Le(s)),!he(t)&&Je(a)&&!Je(s))return l?!1:(a.value=s,!0)}const o=he(t)&&bi(n)?Number(n)e,Sa=e=>Reflect.getPrototypeOf(e);function Ar(e,t,n=!1,s=!1){e=e.__v_raw;const r=Le(e),a=Le(t);n||(Mn(t,a)&&kt(r,"get",t),kt(r,"get",a));const{has:o}=Sa(r),i=s?Ei:n?Ci:or;if(o.call(r,t))return i(e.get(t));if(o.call(r,a))return i(e.get(a));e!==r&&e.get(t)}function Tr(e,t=!1){const n=this.__v_raw,s=Le(n),r=Le(e);return t||(Mn(e,r)&&kt(s,"has",e),kt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Lr(e,t=!1){return e=e.__v_raw,!t&&kt(Le(e),"iterate",Qn),Reflect.get(e,"size",e)}function ml(e){e=Le(e);const t=Le(this);return Sa(t).has.call(t,e)||(t.add(e),cn(t,"add",e,e)),this}function hl(e,t){t=Le(t);const n=Le(this),{has:s,get:r}=Sa(n);let a=s.call(n,e);a||(e=Le(e),a=s.call(n,e));const o=r.call(n,e);return n.set(e,t),a?Mn(t,o)&&cn(n,"set",e,t):cn(n,"add",e,t),this}function gl(e){const t=Le(this),{has:n,get:s}=Sa(t);let r=n.call(t,e);r||(e=Le(e),r=n.call(t,e)),s&&s.call(t,e);const a=t.delete(e);return r&&cn(t,"delete",e,void 0),a}function bl(){const e=Le(this),t=e.size!==0,n=e.clear();return t&&cn(e,"clear",void 0,void 0),n}function Or(e,t){return function(s,r){const a=this,o=a.__v_raw,i=Le(o),l=t?Ei:e?Ci:or;return!e&&kt(i,"iterate",Qn),o.forEach((c,u)=>s.call(r,l(c),l(u),a))}}function Ir(e,t,n){return function(...s){const r=this.__v_raw,a=Le(r),o=gs(a),i=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=r[e](...s),u=n?Ei:t?Ci:or;return!t&&kt(a,"iterate",l?xo:Qn),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function bn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function nm(){const e={get(a){return Ar(this,a)},get size(){return Lr(this)},has:Tr,add:ml,set:hl,delete:gl,clear:bl,forEach:Or(!1,!1)},t={get(a){return Ar(this,a,!1,!0)},get size(){return Lr(this)},has:Tr,add:ml,set:hl,delete:gl,clear:bl,forEach:Or(!1,!0)},n={get(a){return Ar(this,a,!0)},get size(){return Lr(this,!0)},has(a){return Tr.call(this,a,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Or(!0,!1)},s={get(a){return Ar(this,a,!0,!0)},get size(){return Lr(this,!0)},has(a){return Tr.call(this,a,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Or(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Ir(a,!1,!1),n[a]=Ir(a,!0,!1),t[a]=Ir(a,!1,!0),s[a]=Ir(a,!0,!0)}),[e,n,t,s]}const[sm,rm,am,om]=nm();function $i(e,t){const n=t?e?om:am:e?rm:sm;return(s,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Pe(n,r)&&r in s?n:s,r,a)}const im={get:$i(!1,!1)},lm={get:$i(!1,!0)},cm={get:$i(!0,!1)},Ju=new WeakMap,Xu=new WeakMap,Qu=new WeakMap,um=new WeakMap;function dm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(e){return e.__v_skip||!Object.isExtensible(e)?0:dm(Np(e))}function wr(e){return ws(e)?e:Si(e,!1,Zp,im,Ju)}function Zu(e){return Si(e,!1,tm,lm,Xu)}function ed(e){return Si(e,!0,em,cm,Qu)}function Si(e,t,n,s,r){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const o=fm(e);if(o===0)return e;const i=new Proxy(e,o===2?s:n);return r.set(e,i),i}function un(e){return ws(e)?un(e.__v_raw):!!(e&&e.__v_isReactive)}function ws(e){return!!(e&&e.__v_isReadonly)}function aa(e){return!!(e&&e.__v_isShallow)}function td(e){return un(e)||ws(e)}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function Ca(e){return Object.isExtensible(e)&&sa(e,"__v_skip",!0),e}const or=e=>Be(e)?wr(e):e,Ci=e=>Be(e)?ed(e):e;class nd{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new yi(()=>t(this._value),()=>Br(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Le(this);return(!t._cacheable||t.effect.dirty)&&Mn(t._value,t._value=t.effect.run())&&Br(t,4),sd(t),t.effect._dirtyLevel>=2&&Br(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function pm(e,t,n=!1){let s,r;const a=$e(e);return a?(s=e,r=Mt):(s=e.get,r=e.set),new nd(s,r,a||!r,n)}function sd(e){var t;Ln&&Xn&&(e=Le(e),Gu(Xn,(t=e.dep)!=null?t:e.dep=zu(()=>e.dep=void 0,e instanceof nd?e:void 0)))}function Br(e,t=4,n){e=Le(e);const s=e.dep;s&&Wu(s,t)}function Je(e){return!!(e&&e.__v_isRef===!0)}function Ke(e){return rd(e,!1)}function xi(e){return rd(e,!0)}function rd(e,t){return Je(e)?e:new mm(e,t)}class mm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Le(t),this._value=n?t:or(t)}get value(){return sd(this),this._value}set value(t){const n=this.__v_isShallow||aa(t)||ws(t);t=n?t:Le(t),Mn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:or(t),Br(this,4))}}function X(e){return Je(e)?e.value:e}const hm={get:(e,t,n)=>X(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Je(r)&&!Je(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ad(e){return un(e)?e:new Proxy(e,hm)}function gm(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=od(e,n);return t}class bm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 qp(Le(this._object),this._key)}}class _m{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function vm(e,t,n){return Je(e)?e:$e(e)?new _m(e):Be(e)&&arguments.length>1?od(e,t,n):Ke(e)}function od(e,t,n){const s=e[t];return Je(s)?s:new bm(e,t,n)}/** * @vue/runtime-core v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function On(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Ao(o,t,n)}return r}function Pt(e,t,n,s){if($e(e)){const o=On(e,t,n,s);return o&&Nu(o)&&o.catch(a=>{Ao(a,t,n)}),o}const r=[];for(let o=0;o>>1,r=ft[s],o=lr(r);oJt&&ft.splice(t,1)}function Em(e){he(e)?bs.push(...e):(!Sn||!Sn.includes(e,e.allowRecurse?Wn+1:Wn))&&bs.push(e),ld()}function _l(e,t,n=ir?Jt+1:0){for(;nlr(n)-lr(s));if(bs.length=0,Sn){Sn.push(...t);return}for(Sn=t,Wn=0;Wne.id==null?1/0:e.id,$m=(e,t)=>{const n=lr(e)-lr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ud(e){Aa=!1,ir=!0,ft.sort($m);try{for(Jt=0;Jtet(k)?k.trim():k)),d&&(r=n.map($a))}let i,l=s[i=Xo(t)]||s[i=Xo(Zt(t))];!l&&o&&(l=s[i=Xo(ss(t))]),l&&Pt(l,e,6,r);const c=s[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Pt(c,e,6,r)}}function dd(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},i=!1;if(!$e(e)){const l=c=>{const u=dd(c,t,!0);u&&(i=!0,nt(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(Be(e)&&s.set(e,null),null):(he(o)?o.forEach(l=>a[l]=null):nt(a,o),Be(e)&&s.set(e,a),a)}function To(e,t){return!e||!wo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,ss(t))||Pe(e,t))}let tt=null,Lo=null;function ao(e){const t=tt;return tt=e,Lo=e&&e.type.__scopeId||null,t}function Rn(e){Lo=e}function Dn(){Lo=null}function R(e,t=tt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ll(-1);const o=ao(t);let a;try{a=e(...r)}finally{ao(o),s._d&&Ll(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Zo(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[a],slots:i,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:k,ctx:g,inheritAttrs:_}=e;let E,w;const b=ao(e);try{if(n.shapeFlag&4){const v=r||s,$=v;E=qt(u.call($,v,d,o,k,h,g)),w=l}else{const v=t;E=qt(v.length>1?v(o,{attrs:l,slots:i,emit:c}):v(o,null)),w=t.props?l:Cm(l)}}catch(v){Qs.length=0,Ao(v,e,1),E=P(Dt)}let y=E;if(w&&_!==!1){const v=Object.keys(w),{shapeFlag:$}=y;v.length&&$&7&&(a&&v.some(hi)&&(w=xm(w,a)),y=Mn(y,w))}return n.dirs&&(y=Mn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),E=y,ao(b),E}const Cm=e=>{let t;for(const n in e)(n==="class"||n==="style"||wo(n))&&((t||(t={}))[n]=e[n]);return t},xm=(e,t)=>{const n={};for(const s in e)(!hi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Am(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:i,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?vl(s,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Om(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Em(e)}const Im=Symbol.for("v-scx"),Nm=()=>Rt(Im),Nr={};function pt(e,t,n){return hd(e,t,n)}function hd(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:a,onTrigger:i}=ze){if(t&&o){const S=t;t=(...T)=>{S(...T),$()}}const l=lt,c=S=>s===!0?S:Yn(S,s===!1?1:void 0);let u,d=!1,h=!1;if(Ye(e)?(u=()=>e.value,d=oo(e)):un(e)?(u=()=>c(e),d=!0):he(e)?(h=!0,d=e.some(S=>un(S)||oo(S)),u=()=>e.map(S=>{if(Ye(S))return S.value;if(un(S))return c(S);if($e(S))return On(S,l,2)})):$e(e)?t?u=()=>On(e,l,2):u=()=>(k&&k(),Pt(e,l,3,[g])):u=Nt,t&&s){const S=u;u=()=>Yn(S())}let k,g=S=>{k=y.onStop=()=>{On(S,l,4),k=y.onStop=void 0}},_;if(Po)if(g=Nt,t?n&&Pt(t,l,3,[u(),h?[]:void 0,g]):u(),r==="sync"){const S=Nm();_=S.__watcherHandles||(S.__watcherHandles=[])}else return Nt;let E=h?new Array(e.length).fill(Nr):Nr;const w=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(s||d||(h?S.some((T,x)=>Nn(T,E[x])):Nn(S,E)))&&(k&&k(),Pt(t,l,3,[S,E===Nr?void 0:h&&E[0]===Nr?[]:E,g]),E=S)}else y.run()};w.allowRecurse=!!t;let b;r==="sync"?b=w:r==="post"?b=()=>_t(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),b=()=>Li(w));const y=new yi(u,Nt,b),v=Hu(),$=()=>{y.stop(),v&&gi(v.effects,y)};return t?n?w():E=y.run():r==="post"?_t(y.run.bind(y),l&&l.suspense):y.run(),_&&_.push($),$}function Mm(e,t,n){const s=this.proxy,r=et(e)?e.includes(".")?gd(s,e):()=>s[e]:e.bind(s,s);let o;$e(t)?o=t:(o=t.handler,n=t);const a=Er(this),i=hd(r,o.bind(s),n);return a(),i}function gd(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Ye(e))Yn(e.value,t,n,s);else if(he(e))for(let r=0;r{Yn(r,t,n,s)});else if(Pu(e))for(const r in e)Yn(e[r],t,n,s);return e}function Lt(e,t){if(tt===null)return e;const n=Ro(tt)||tt.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ed(()=>{e.isUnmounting=!0}),e}const At=[Function,Array],_d={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},Pm={name:"BaseTransition",props:_d,setup(e,{slots:t}){const n=es(),s=bd();let r;return()=>{const o=t.default&&Ii(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const _ of o)if(_.type!==Dt){a=_;break}}const i=Le(e),{mode:l}=i;if(s.isLeaving)return ea(a);const c=wl(a);if(!c)return ea(a);const u=cr(c,i,s,n);ur(c,u);const d=n.subTree,h=d&&wl(d);let k=!1;const{getTransitionKey:g}=c.type;if(g){const _=g();r===void 0?r=_:_!==r&&(r=_,k=!0)}if(h&&h.type!==Dt&&(!zn(c,h)||k)){const _=cr(h,i,s,n);if(ur(h,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ea(a);l==="in-out"&&c.type!==Dt&&(_.delayLeave=(E,w,b)=>{const y=vd(s,h);y[String(h.key)]=h,E[Cn]=()=>{w(),E[Cn]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return a}}},Rm=Pm;function vd(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function cr(e,t,n,s){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:k,onLeaveCancelled:g,onBeforeAppear:_,onAppear:E,onAfterAppear:w,onAppearCancelled:b}=t,y=String(e.key),v=vd(n,e),$=(x,N)=>{x&&Pt(x,s,9,N)},S=(x,N)=>{const z=N[1];$(x,N),he(x)?x.every(q=>q.length<=1)&&z():x.length<=1&&z()},T={mode:o,persisted:a,beforeEnter(x){let N=i;if(!n.isMounted)if(r)N=_||i;else return;x[Cn]&&x[Cn](!0);const z=v[y];z&&zn(e,z)&&z.el[Cn]&&z.el[Cn](),$(N,[x])},enter(x){let N=l,z=c,q=u;if(!n.isMounted)if(r)N=E||l,z=w||c,q=b||u;else return;let G=!1;const re=x[Mr]=we=>{G||(G=!0,we?$(q,[x]):$(z,[x]),T.delayedLeave&&T.delayedLeave(),x[Mr]=void 0)};N?S(N,[x,re]):re()},leave(x,N){const z=String(e.key);if(x[Mr]&&x[Mr](!0),n.isUnmounting)return N();$(d,[x]);let q=!1;const G=x[Cn]=re=>{q||(q=!0,N(),re?$(g,[x]):$(k,[x]),x[Cn]=void 0,v[z]===e&&delete v[z])};v[z]=e,h?S(h,[x,G]):G()},clone(x){return cr(x,t,n,s)}};return T}function ea(e){if(Oo(e))return e=Mn(e),e.children=null,e}function wl(e){return Oo(e)?e.children?e.children[0]:void 0:e}function ur(e,t){e.shapeFlag&6&&e.component?ur(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 Ii(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Oo=e=>e.type.__isKeepAlive;function Dm(e,t){yd(e,"a",t)}function Fm(e,t){yd(e,"da",t)}function yd(e,t,n=lt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Io(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Oo(r.parent.vnode)&&jm(s,t,n,r),r=r.parent}}function jm(e,t,n,s){const r=Io(t,e,s,!0);Ni(()=>{gi(s[t],r)},n)}function Io(e,t,n=lt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;rs();const i=Er(n),l=Pt(t,n,e,a);return i(),os(),l});return s?r.unshift(o):r.push(o),o}}const fn=e=>(t,n=lt)=>(!Po||e==="sp")&&Io(e,(...s)=>t(...s),n),wd=fn("bm"),Gt=fn("m"),Um=fn("bu"),kd=fn("u"),Ed=fn("bum"),Ni=fn("um"),Hm=fn("sp"),Vm=fn("rtg"),Bm=fn("rtc");function Gm(e,t=lt){Io("ec",e,t)}function Ce(e,t,n,s){let r;const o=n&&n[s];if(he(e)||et(e)){r=new Array(e.length);for(let a=0,i=e.length;at(a,i,void 0,o&&o[i]));else{const a=Object.keys(e);r=new Array(a.length);for(let i=0,l=a.length;i{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function Ze(e,t,n={},s,r){if(tt.isCE||tt.parent&&Ys(tt.parent)&&tt.parent.isCE)return t!=="default"&&(n.name=t),P("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),A();const a=o&&$d(o(n)),i=fe(pe,{key:n.key||a&&a.key||`_${t}`},a||(s?s():[]),a&&e._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function $d(e){return e.some(t=>lo(t)?!(t.type===Dt||t.type===pe&&!$d(t.children)):!0)?e:null}const Ta=e=>e?Rd(e)?Ro(e)||e.proxy:Ta(e.parent):null,Xs=nt(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=>Ta(e.parent),$root:e=>Ta(e.root),$emit:e=>e.emit,$options:e=>Pi(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Li(e.update)}),$nextTick:e=>e.n||(e.n=Ti.bind(e.proxy)),$watch:e=>Mm.bind(e)}),ta=(e,t)=>e!==ze&&!e.__isScriptSetup&&Pe(e,t),Wm={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:i,appContext:l}=e;let c;if(t[0]!=="$"){const k=a[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ta(s,t))return a[t]=1,s[t];if(r!==ze&&Pe(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Pe(c,t))return a[t]=3,o[t];if(n!==ze&&Pe(n,t))return a[t]=4,n[t];La&&(a[t]=0)}}const u=Xs[t];let d,h;if(u)return t==="$attrs"&&kt(e,"get",t),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==ze&&Pe(n,t))return a[t]=4,n[t];if(h=l.config.globalProperties,Pe(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ta(r,t)?(r[t]=n,!0):s!==ze&&Pe(s,t)?(s[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let i;return!!n[a]||e!==ze&&Pe(e,a)||ta(t,a)||(i=o[0])&&Pe(i,a)||Pe(s,a)||Pe(Xs,a)||Pe(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function kl(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let La=!0;function zm(e){const t=Pi(e),n=e.proxy,s=e.ctx;La=!1,t.beforeCreate&&El(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:k,updated:g,activated:_,deactivated:E,beforeDestroy:w,beforeUnmount:b,destroyed:y,unmounted:v,render:$,renderTracked:S,renderTriggered:T,errorCaptured:x,serverPrefetch:N,expose:z,inheritAttrs:q,components:G,directives:re,filters:we}=t;if(c&&Km(c,s,null),a)for(const Q in a){const F=a[Q];$e(F)&&(s[Q]=F.bind(n))}if(r){const Q=r.call(n,n);Be(Q)&&(e.data=wr(Q))}if(La=!0,o)for(const Q in o){const F=o[Q],J=$e(F)?F.bind(n,n):$e(F.get)?F.get.bind(n,n):Nt,ae=!$e(F)&&$e(F.set)?F.set.bind(n):Nt,ge=je({get:J,set:ae});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>ge.value,set:_e=>ge.value=_e})}if(i)for(const Q in i)Sd(i[Q],s,n,Q);if(l){const Q=$e(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(F=>{Gr(F,Q[F])})}u&&El(u,e,"c");function oe(Q,F){he(F)?F.forEach(J=>Q(J.bind(n))):F&&Q(F.bind(n))}if(oe(wd,d),oe(Gt,h),oe(Um,k),oe(kd,g),oe(Dm,_),oe(Fm,E),oe(Gm,x),oe(Bm,S),oe(Vm,T),oe(Ed,b),oe(Ni,v),oe(Hm,N),he(z))if(z.length){const Q=e.exposed||(e.exposed={});z.forEach(F=>{Object.defineProperty(Q,F,{get:()=>n[F],set:J=>n[F]=J})})}else e.exposed||(e.exposed={});$&&e.render===Nt&&(e.render=$),q!=null&&(e.inheritAttrs=q),G&&(e.components=G),re&&(e.directives=re)}function Km(e,t,n=Nt){he(e)&&(e=Oa(e));for(const s in e){const r=e[s];let o;Be(r)?"default"in r?o=Rt(r.from||s,r.default,!0):o=Rt(r.from||s):o=Rt(r),Ye(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function El(e,t,n){Pt(he(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Sd(e,t,n,s){const r=s.includes(".")?gd(n,s):()=>n[s];if(et(e)){const o=t[e];$e(o)&&pt(r,o)}else if($e(e))pt(r,e.bind(n));else if(Be(e))if(he(e))e.forEach(o=>Sd(o,t,n,s));else{const o=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(o)&&pt(r,o,e)}}function Pi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,i=o.get(t);let l;return i?l=i:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>io(l,c,a,!0)),io(l,t,a)),Be(t)&&o.set(t,l),l}function io(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&io(e,o,n,!0),r&&r.forEach(a=>io(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const i=qm[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const qm={data:$l,props:Sl,emits:Sl,methods:Gs,computed:Gs,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:Gs,directives:Gs,watch:Ym,provide:$l,inject:Jm};function $l(e,t){return t?e?function(){return nt($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function Jm(e,t){return Gs(Oa(e),Oa(t))}function Oa(e){if(he(e)){const t={};for(let n=0;n1)return n&&$e(t)?t.call(s&&s.proxy):t}}function Zm(){return!!(lt||tt||_s)}function eh(e,t,n,s=!1){const r={},o={};so(o,No,1),e.propsDefaults=Object.create(null),xd(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:Zu(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function th(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,i=Le(r),[l]=e.propsOptions;let c=!1;if((s||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,k]=Ad(d,t,!0);nt(a,h),k&&i.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return Be(e)&&s.set(e,hs),hs;if(he(o))for(let u=0;u-1,k[1]=_<0||g<_,(g>-1||Pe(k,"default"))&&i.push(d)}}}const c=[a,i];return Be(e)&&s.set(e,c),c}function Cl(e){return e[0]!=="$"&&!Js(e)}function xl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Al(e,t){return xl(e)===xl(t)}function Tl(e,t){return he(t)?t.findIndex(n=>Al(n,e)):$e(t)&&Al(t,e)?0:-1}const Td=e=>e[0]==="_"||e==="$stable",Ri=e=>he(e)?e.map(qt):[qt(e)],nh=(e,t,n)=>{if(t._n)return t;const s=R((...r)=>Ri(t(...r)),n);return s._c=!1,s},Ld=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Td(r))continue;const o=e[r];if($e(o))t[r]=nh(r,o,s);else if(o!=null){const a=Ri(o);t[r]=()=>a}}},Od=(e,t)=>{const n=Ri(t);e.slots.default=()=>n},sh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Le(t),so(t,"_",n)):Ld(t,e.slots={})}else e.slots={},t&&Od(e,t);so(e.slots,No,1)},rh=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=ze;if(s.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:(nt(r,t),!n&&i===1&&delete r._):(o=!t.$stable,Ld(t,r)),a=t}else t&&(Od(e,t),a={default:1});if(o)for(const i in r)!Td(i)&&a[i]==null&&delete r[i]};function Na(e,t,n,s,r=!1){if(he(e)){e.forEach((h,k)=>Na(h,t&&(he(t)?t[k]:t),n,s,r));return}if(Ys(s)&&!r)return;const o=s.shapeFlag&4?Ro(s.component)||s.component.proxy:s.el,a=r?null:o,{i,r:l}=e,c=t&&t.r,u=i.refs===ze?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==l&&(et(c)?(u[c]=null,Pe(d,c)&&(d[c]=null)):Ye(c)&&(c.value=null)),$e(l))On(l,i,12,[a,u]);else{const h=et(l),k=Ye(l);if(h||k){const g=()=>{if(e.f){const _=h?Pe(d,l)?d[l]:u[l]:l.value;r?he(_)&&gi(_,o):he(_)?_.includes(o)||_.push(o):h?(u[l]=[o],Pe(d,l)&&(d[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else h?(u[l]=a,Pe(d,l)&&(d[l]=a)):k&&(l.value=a,e.k&&(u[e.k]=a))};a?(g.id=-1,_t(g,n)):g()}}}const _t=Om;function oh(e){return ah(e)}function ah(e,t){const n=Ru();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:k=Nt,insertStaticContent:g}=e,_=(p,f,C,L=null,M=null,B=null,ee=void 0,Y=null,U=!!f.dynamicChildren)=>{if(p===f)return;p&&!zn(p,f)&&(L=H(p),_e(p,M,B,!0),p=null),f.patchFlag===-2&&(U=!1,f.dynamicChildren=null);const{type:V,ref:ne,shapeFlag:te}=f;switch(V){case kr:E(p,f,C,L);break;case Dt:w(p,f,C,L);break;case Wr:p==null&&b(f,C,L,ee);break;case pe:G(p,f,C,L,M,B,ee,Y,U);break;default:te&1?$(p,f,C,L,M,B,ee,Y,U):te&6?re(p,f,C,L,M,B,ee,Y,U):(te&64||te&128)&&V.process(p,f,C,L,M,B,ee,Y,U,ie)}ne!=null&&M&&Na(ne,p&&p.ref,B,f||p,!f)},E=(p,f,C,L)=>{if(p==null)s(f.el=i(f.children),C,L);else{const M=f.el=p.el;f.children!==p.children&&c(M,f.children)}},w=(p,f,C,L)=>{p==null?s(f.el=l(f.children||""),C,L):f.el=p.el},b=(p,f,C,L)=>{[p.el,p.anchor]=g(p.children,f,C,L,p.el,p.anchor)},y=({el:p,anchor:f},C,L)=>{let M;for(;p&&p!==f;)M=h(p),s(p,C,L),p=M;s(f,C,L)},v=({el:p,anchor:f})=>{let C;for(;p&&p!==f;)C=h(p),r(p),p=C;r(f)},$=(p,f,C,L,M,B,ee,Y,U)=>{f.type==="svg"?ee="svg":f.type==="math"&&(ee="mathml"),p==null?S(f,C,L,M,B,ee,Y,U):N(p,f,M,B,ee,Y,U)},S=(p,f,C,L,M,B,ee,Y)=>{let U,V;const{props:ne,shapeFlag:te,transition:O,dirs:j}=p;if(U=p.el=a(p.type,B,ne&&ne.is,ne),te&8?u(U,p.children):te&16&&x(p.children,U,null,L,M,na(p,B),ee,Y),j&&Un(p,null,L,"created"),T(U,p,p.scopeId,ee,L),ne){for(const be in ne)be!=="value"&&!Js(be)&&o(U,be,null,ne[be],B,p.children,L,M,Re);"value"in ne&&o(U,"value",null,ne.value,B),(V=ne.onVnodeBeforeMount)&&zt(V,L,p)}j&&Un(p,null,L,"beforeMount");const ue=ih(M,O);ue&&O.beforeEnter(U),s(U,f,C),((V=ne&&ne.onVnodeMounted)||ue||j)&&_t(()=>{V&&zt(V,L,p),ue&&O.enter(U),j&&Un(p,null,L,"mounted")},M)},T=(p,f,C,L,M)=>{if(C&&k(p,C),L)for(let B=0;B{for(let V=U;V{const Y=f.el=p.el;let{patchFlag:U,dynamicChildren:V,dirs:ne}=f;U|=p.patchFlag&16;const te=p.props||ze,O=f.props||ze;let j;if(C&&Hn(C,!1),(j=O.onVnodeBeforeUpdate)&&zt(j,C,f,p),ne&&Un(f,p,C,"beforeUpdate"),C&&Hn(C,!0),V?z(p.dynamicChildren,V,Y,C,L,na(f,M),B):ee||F(p,f,Y,null,C,L,na(f,M),B,!1),U>0){if(U&16)q(Y,f,te,O,C,L,M);else if(U&2&&te.class!==O.class&&o(Y,"class",null,O.class,M),U&4&&o(Y,"style",te.style,O.style,M),U&8){const ue=f.dynamicProps;for(let be=0;be{j&&zt(j,C,f,p),ne&&Un(f,p,C,"updated")},L)},z=(p,f,C,L,M,B,ee)=>{for(let Y=0;Y{if(C!==L){if(C!==ze)for(const Y in C)!Js(Y)&&!(Y in L)&&o(p,Y,C[Y],null,ee,f.children,M,B,Re);for(const Y in L){if(Js(Y))continue;const U=L[Y],V=C[Y];U!==V&&Y!=="value"&&o(p,Y,V,U,ee,f.children,M,B,Re)}"value"in L&&o(p,"value",C.value,L.value,ee)}},G=(p,f,C,L,M,B,ee,Y,U)=>{const V=f.el=p?p.el:i(""),ne=f.anchor=p?p.anchor:i("");let{patchFlag:te,dynamicChildren:O,slotScopeIds:j}=f;j&&(Y=Y?Y.concat(j):j),p==null?(s(V,C,L),s(ne,C,L),x(f.children||[],C,ne,M,B,ee,Y,U)):te>0&&te&64&&O&&p.dynamicChildren?(z(p.dynamicChildren,O,C,M,B,ee,Y),(f.key!=null||M&&f===M.subTree)&&Id(p,f,!0)):F(p,f,C,ne,M,B,ee,Y,U)},re=(p,f,C,L,M,B,ee,Y,U)=>{f.slotScopeIds=Y,p==null?f.shapeFlag&512?M.ctx.activate(f,C,L,ee,U):we(f,C,L,M,B,ee,U):ce(p,f,U)},we=(p,f,C,L,M,B,ee)=>{const Y=p.component=gh(p,L,M);if(Oo(p)&&(Y.ctx.renderer=ie),bh(Y),Y.asyncDep){if(M&&M.registerDep(Y,oe),!p.el){const U=Y.subTree=P(Dt);w(null,U,f,C)}}else oe(Y,p,f,C,M,B,ee)},ce=(p,f,C)=>{const L=f.component=p.component;if(Am(p,f,C))if(L.asyncDep&&!L.asyncResolved){Q(L,f,C);return}else L.next=f,km(L.update),L.effect.dirty=!0,L.update();else f.el=p.el,L.vnode=f},oe=(p,f,C,L,M,B,ee)=>{const Y=()=>{if(p.isMounted){let{next:ne,bu:te,u:O,parent:j,vnode:ue}=p;{const gn=Nd(p);if(gn){ne&&(ne.el=ue.el,Q(p,ne,ee)),gn.asyncDep.then(()=>{p.isUnmounted||Y()});return}}let be=ne,De;Hn(p,!1),ne?(ne.el=ue.el,Q(p,ne,ee)):ne=ue,te&&Vr(te),(De=ne.props&&ne.props.onVnodeBeforeUpdate)&&zt(De,j,ne,ue),Hn(p,!0);const Xe=Zo(p),it=p.subTree;p.subTree=Xe,_(it,Xe,d(it.el),H(it),p,M,B),ne.el=Xe.el,be===null&&Tm(p,Xe.el),O&&_t(O,M),(De=ne.props&&ne.props.onVnodeUpdated)&&_t(()=>zt(De,j,ne,ue),M)}else{let ne;const{el:te,props:O}=f,{bm:j,m:ue,parent:be}=p,De=Ys(f);if(Hn(p,!1),j&&Vr(j),!De&&(ne=O&&O.onVnodeBeforeMount)&&zt(ne,be,f),Hn(p,!0),te&&Oe){const Xe=()=>{p.subTree=Zo(p),Oe(te,p.subTree,p,M,null)};De?f.type.__asyncLoader().then(()=>!p.isUnmounted&&Xe()):Xe()}else{const Xe=p.subTree=Zo(p);_(null,Xe,C,L,p,M,B),f.el=Xe.el}if(ue&&_t(ue,M),!De&&(ne=O&&O.onVnodeMounted)){const Xe=f;_t(()=>zt(ne,be,Xe),M)}(f.shapeFlag&256||be&&Ys(be.vnode)&&be.vnode.shapeFlag&256)&&p.a&&_t(p.a,M),p.isMounted=!0,f=C=L=null}},U=p.effect=new yi(Y,Nt,()=>Li(V),p.scope),V=p.update=()=>{U.dirty&&U.run()};V.id=p.uid,Hn(p,!0),V()},Q=(p,f,C)=>{f.component=p;const L=p.vnode.props;p.vnode=f,p.next=null,th(p,f.props,L,C),rh(p,f.children,C),rs(),_l(p),os()},F=(p,f,C,L,M,B,ee,Y,U=!1)=>{const V=p&&p.children,ne=p?p.shapeFlag:0,te=f.children,{patchFlag:O,shapeFlag:j}=f;if(O>0){if(O&128){ae(V,te,C,L,M,B,ee,Y,U);return}else if(O&256){J(V,te,C,L,M,B,ee,Y,U);return}}j&8?(ne&16&&Re(V,M,B),te!==V&&u(C,te)):ne&16?j&16?ae(V,te,C,L,M,B,ee,Y,U):Re(V,M,B,!0):(ne&8&&u(C,""),j&16&&x(te,C,L,M,B,ee,Y,U))},J=(p,f,C,L,M,B,ee,Y,U)=>{p=p||hs,f=f||hs;const V=p.length,ne=f.length,te=Math.min(V,ne);let O;for(O=0;One?Re(p,M,B,!0,!1,te):x(f,C,L,M,B,ee,Y,U,te)},ae=(p,f,C,L,M,B,ee,Y,U)=>{let V=0;const ne=f.length;let te=p.length-1,O=ne-1;for(;V<=te&&V<=O;){const j=p[V],ue=f[V]=U?xn(f[V]):qt(f[V]);if(zn(j,ue))_(j,ue,C,null,M,B,ee,Y,U);else break;V++}for(;V<=te&&V<=O;){const j=p[te],ue=f[O]=U?xn(f[O]):qt(f[O]);if(zn(j,ue))_(j,ue,C,null,M,B,ee,Y,U);else break;te--,O--}if(V>te){if(V<=O){const j=O+1,ue=jO)for(;V<=te;)_e(p[V],M,B,!0),V++;else{const j=V,ue=V,be=new Map;for(V=ue;V<=O;V++){const $t=f[V]=U?xn(f[V]):qt(f[V]);$t.key!=null&&be.set($t.key,V)}let De,Xe=0;const it=O-ue+1;let gn=!1,Yo=0;const Rs=new Array(it);for(V=0;V=it){_e($t,M,B,!0);continue}let Wt;if($t.key!=null)Wt=be.get($t.key);else for(De=ue;De<=O;De++)if(Rs[De-ue]===0&&zn($t,f[De])){Wt=De;break}Wt===void 0?_e($t,M,B,!0):(Rs[Wt-ue]=V+1,Wt>=Yo?Yo=Wt:gn=!0,_($t,f[Wt],C,null,M,B,ee,Y,U),Xe++)}const il=gn?lh(Rs):hs;for(De=il.length-1,V=it-1;V>=0;V--){const $t=ue+V,Wt=f[$t],ll=$t+1{const{el:B,type:ee,transition:Y,children:U,shapeFlag:V}=p;if(V&6){ge(p.component.subTree,f,C,L);return}if(V&128){p.suspense.move(f,C,L);return}if(V&64){ee.move(p,f,C,ie);return}if(ee===pe){s(B,f,C);for(let te=0;teY.enter(B),M);else{const{leave:te,delayLeave:O,afterLeave:j}=Y,ue=()=>s(B,f,C),be=()=>{te(B,()=>{ue(),j&&j()})};O?O(B,ue,be):be()}else s(B,f,C)},_e=(p,f,C,L=!1,M=!1)=>{const{type:B,props:ee,ref:Y,children:U,dynamicChildren:V,shapeFlag:ne,patchFlag:te,dirs:O}=p;if(Y!=null&&Na(Y,null,C,p,!0),ne&256){f.ctx.deactivate(p);return}const j=ne&1&&O,ue=!Ys(p);let be;if(ue&&(be=ee&&ee.onVnodeBeforeUnmount)&&zt(be,f,p),ne&6)Se(p.component,C,L);else{if(ne&128){p.suspense.unmount(C,L);return}j&&Un(p,null,f,"beforeUnmount"),ne&64?p.type.remove(p,f,C,M,ie,L):V&&(B!==pe||te>0&&te&64)?Re(V,f,C,!1,!0):(B===pe&&te&384||!M&&ne&16)&&Re(U,f,C),L&&Ge(p)}(ue&&(be=ee&&ee.onVnodeUnmounted)||j)&&_t(()=>{be&&zt(be,f,p),j&&Un(p,null,f,"unmounted")},C)},Ge=p=>{const{type:f,el:C,anchor:L,transition:M}=p;if(f===pe){Me(C,L);return}if(f===Wr){v(p);return}const B=()=>{r(C),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(p.shapeFlag&1&&M&&!M.persisted){const{leave:ee,delayLeave:Y}=M,U=()=>ee(C,B);Y?Y(p.el,B,U):U()}else B()},Me=(p,f)=>{let C;for(;p!==f;)C=h(p),r(p),p=C;r(f)},Se=(p,f,C)=>{const{bum:L,scope:M,update:B,subTree:ee,um:Y}=p;L&&Vr(L),M.stop(),B&&(B.active=!1,_e(ee,p,f,C)),Y&&_t(Y,f),_t(()=>{p.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Re=(p,f,C,L=!1,M=!1,B=0)=>{for(let ee=B;eep.shapeFlag&6?H(p.component.subTree):p.shapeFlag&128?p.suspense.next():h(p.anchor||p.el);let se=!1;const Z=(p,f,C)=>{p==null?f._vnode&&_e(f._vnode,null,null,!0):_(f._vnode||null,p,f,null,null,null,C),se||(se=!0,_l(),cd(),se=!1),f._vnode=p},ie={p:_,um:_e,m:ge,r:Ge,mt:we,mc:x,pc:F,pbc:z,n:H,o:e};let ke,Oe;return t&&([ke,Oe]=t(ie)),{render:Z,hydrate:ke,createApp:Qm(Z,ke)}}function na({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 Hn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ih(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Id(e,t,n=!1){const s=e.children,r=t.children;if(he(s)&&he(r))for(let o=0;o>1,e[n[i]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Nd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nd(t)}const ch=e=>e.__isTeleport,pe=Symbol.for("v-fgt"),kr=Symbol.for("v-txt"),Dt=Symbol.for("v-cmt"),Wr=Symbol.for("v-stc"),Qs=[];let jt=null;function A(e=!1){Qs.push(jt=e?null:[])}function uh(){Qs.pop(),jt=Qs[Qs.length-1]||null}let dr=1;function Ll(e){dr+=e}function Md(e){return e.dynamicChildren=dr>0?jt||hs:null,uh(),dr>0&&jt&&jt.push(e),e}function I(e,t,n,s,r,o){return Md(m(e,t,n,s,r,o,!0))}function fe(e,t,n,s,r){return Md(P(e,t,n,s,r,!0))}function lo(e){return e?e.__v_isVNode===!0:!1}function zn(e,t){return e.type===t.type&&e.key===t.key}const No="__vInternal",Pd=({key:e})=>e??null,zr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?et(e)||Ye(e)||$e(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function m(e,t=null,n=null,s=0,r=null,o=e===pe?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pd(t),ref:t&&zr(t),scopeId:Lo,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:tt};return i?(Di(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=et(n)?8:16),dr>0&&!a&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const P=dh;function dh(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===fd)&&(e=Dt),lo(e)){const i=Mn(e,t,!0);return n&&Di(i,n),dr>0&&!o&&jt&&(i.shapeFlag&6?jt[jt.indexOf(e)]=i:jt.push(i)),i.patchFlag|=-2,i}if(kh(e)&&(e=e.__vccOpts),t){t=fh(t);let{class:i,style:l}=t;i&&!et(i)&&(t.class=Ie(i)),Be(l)&&(td(l)&&!he(l)&&(l=nt({},l)),t.style=_i(l))}const a=et(e)?1:Lm(e)?128:ch(e)?64:Be(e)?4:$e(e)?2:0;return m(e,t,n,s,r,a,o,!0)}function fh(e){return e?td(e)||No in e?nt({},e):e:null}function Mn(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:a}=e,i=t?ph(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Pd(i),ref:t&&t.ref?n&&r?he(r)?r.concat(zr(t)):[r,zr(t)]:zr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mn(e.ssContent),ssFallback:e.ssFallback&&Mn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function K(e=" ",t=0){return P(kr,null,e,t)}function Mo(e,t){const n=P(Wr,null,e);return n.staticCount=t,n}function de(e="",t=!1){return t?(A(),fe(Dt,null,e)):P(Dt,null,e)}function qt(e){return e==null||typeof e=="boolean"?P(Dt):he(e)?P(pe,null,e.slice()):typeof e=="object"?xn(e):P(kr,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mn(e)}function Di(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Di(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(No in t)?t._ctx=tt:r===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),s&64?(n=16,t=[K(t)]):n=8);e.children=t,e.shapeFlag|=n}function ph(...e){const t={};for(let n=0;nlt||tt;let co,Ma;{const e=Ru(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};co=t("__VUE_INSTANCE_SETTERS__",n=>lt=n),Ma=t("__VUE_SSR_SETTERS__",n=>Po=n)}const Er=e=>{const t=lt;return co(e),e.scope.on(),()=>{e.scope.off(),co(t)}},Ol=()=>{lt&<.scope.off(),co(null)};function Rd(e){return e.vnode.shapeFlag&4}let Po=!1;function bh(e,t=!1){t&&Ma(t);const{props:n,children:s}=e.vnode,r=Rd(e);eh(e,n,r,t),sh(e,s);const o=r?_h(e,t):void 0;return t&&Ma(!1),o}function _h(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=xo(new Proxy(e.ctx,Wm));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?yh(e):null,o=Er(e);rs();const a=On(s,e,0,[e.props,r]);if(os(),o(),Nu(a)){if(a.then(Ol,Ol),t)return a.then(i=>{Il(e,i,t)}).catch(i=>{Ao(i,e,0)});e.asyncDep=a}else Il(e,a,t)}else Dd(e,t)}function Il(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=od(t)),Dd(e,n)}let Nl;function Dd(e,t,n){const s=e.type;if(!e.render){if(!t&&Nl&&!s.render){const r=s.template||Pi(e).template;if(r){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:i,compilerOptions:l}=s,c=nt(nt({isCustomElement:o,delimiters:i},a),l);s.render=Nl(r,c)}}e.render=s.render||Nt}{const r=Er(e);rs();try{zm(e)}finally{os(),r()}}}function vh(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return kt(e,"get","$attrs"),t[n]}}))}function yh(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return vh(e)},slots:e.slots,emit:e.emit,expose:t}}function Ro(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(od(xo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xs)return Xs[n](e)},has(t,n){return n in t||n in Xs}}))}function wh(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function kh(e){return $e(e)&&"__vccOpts"in e}const je=(e,t)=>pm(e,t,Po);function Ve(e,t,n){const s=arguments.length;return s===2?Be(t)&&!he(t)?lo(t)?P(e,null,[t]):P(e,t):P(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&lo(n)&&(n=[n]),P(e,t,n))}const Eh="3.4.18";/** +**/function On(e,t,n,s){let r;try{r=s?e(...s):e()}catch(a){xa(a,t,n)}return r}function Pt(e,t,n,s){if($e(e)){const a=On(e,t,n,s);return a&&Mu(a)&&a.catch(o=>{xa(o,t,n)}),a}const r=[];for(let a=0;a>>1,r=ft[s],a=lr(r);aYt&&ft.splice(t,1)}function Em(e){he(e)?bs.push(...e):(!Sn||!Sn.includes(e,e.allowRecurse?Wn+1:Wn))&&bs.push(e),ld()}function _l(e,t,n=ir?Yt+1:0){for(;nlr(n)-lr(s));if(bs.length=0,Sn){Sn.push(...t);return}for(Sn=t,Wn=0;Wne.id==null?1/0:e.id,$m=(e,t)=>{const n=lr(e)-lr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ud(e){Ao=!1,ir=!0,ft.sort($m);try{for(Yt=0;Ytet(k)?k.trim():k)),d&&(r=n.map($o))}let i,l=s[i=Ja(t)]||s[i=Ja(Zt(t))];!l&&a&&(l=s[i=Ja(ss(t))]),l&&Pt(l,e,6,r);const c=s[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Pt(c,e,6,r)}}function dd(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const a=e.emits;let o={},i=!1;if(!$e(e)){const l=c=>{const u=dd(c,t,!0);u&&(i=!0,nt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!i?(Be(e)&&s.set(e,null),null):(he(a)?a.forEach(l=>o[l]=null):nt(o,a),Be(e)&&s.set(e,o),o)}function Aa(e,t){return!e||!ya(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,ss(t))||Pe(e,t))}let tt=null,Ta=null;function oa(e){const t=tt;return tt=e,Ta=e&&e.type.__scopeId||null,t}function Rn(e){Ta=e}function Fn(){Ta=null}function R(e,t=tt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ll(-1);const a=oa(t);let o;try{o=e(...r)}finally{oa(a),s._d&&Ll(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Qa(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:a,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:k,ctx:g,inheritAttrs:_}=e;let E,w;const b=oa(e);try{if(n.shapeFlag&4){const v=r||s,$=v;E=qt(u.call($,v,d,a,k,h,g)),w=l}else{const v=t;E=qt(v.length>1?v(a,{attrs:l,slots:i,emit:c}):v(a,null)),w=t.props?l:Cm(l)}}catch(v){Qs.length=0,xa(v,e,1),E=P(Ft)}let y=E;if(w&&_!==!1){const v=Object.keys(w),{shapeFlag:$}=y;v.length&&$&7&&(o&&v.some(hi)&&(w=xm(w,o)),y=Nn(y,w))}return n.dirs&&(y=Nn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),E=y,oa(b),E}const Cm=e=>{let t;for(const n in e)(n==="class"||n==="style"||ya(n))&&((t||(t={}))[n]=e[n]);return t},xm=(e,t)=>{const n={};for(const s in e)(!hi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Am(e,t,n){const{props:s,children:r,component:a}=e,{props:o,children:i,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?vl(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Om(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Em(e)}const Im=Symbol.for("v-scx"),Mm=()=>Rt(Im),Mr={};function pt(e,t,n){return hd(e,t,n)}function hd(e,t,{immediate:n,deep:s,flush:r,once:a,onTrack:o,onTrigger:i}=ze){if(t&&a){const S=t;t=(...T)=>{S(...T),$()}}const l=lt,c=S=>s===!0?S:Jn(S,s===!1?1:void 0);let u,d=!1,h=!1;if(Je(e)?(u=()=>e.value,d=aa(e)):un(e)?(u=()=>c(e),d=!0):he(e)?(h=!0,d=e.some(S=>un(S)||aa(S)),u=()=>e.map(S=>{if(Je(S))return S.value;if(un(S))return c(S);if($e(S))return On(S,l,2)})):$e(e)?t?u=()=>On(e,l,2):u=()=>(k&&k(),Pt(e,l,3,[g])):u=Mt,t&&s){const S=u;u=()=>Jn(S())}let k,g=S=>{k=y.onStop=()=>{On(S,l,4),k=y.onStop=void 0}},_;if(Na)if(g=Mt,t?n&&Pt(t,l,3,[u(),h?[]:void 0,g]):u(),r==="sync"){const S=Mm();_=S.__watcherHandles||(S.__watcherHandles=[])}else return Mt;let E=h?new Array(e.length).fill(Mr):Mr;const w=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(s||d||(h?S.some((T,x)=>Mn(T,E[x])):Mn(S,E)))&&(k&&k(),Pt(t,l,3,[S,E===Mr?void 0:h&&E[0]===Mr?[]:E,g]),E=S)}else y.run()};w.allowRecurse=!!t;let b;r==="sync"?b=w:r==="post"?b=()=>_t(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),b=()=>Li(w));const y=new yi(u,Mt,b),v=Hu(),$=()=>{y.stop(),v&&gi(v.effects,y)};return t?n?w():E=y.run():r==="post"?_t(y.run.bind(y),l&&l.suspense):y.run(),_&&_.push($),$}function Nm(e,t,n){const s=this.proxy,r=et(e)?e.includes(".")?gd(s,e):()=>s[e]:e.bind(s,s);let a;$e(t)?a=t:(a=t.handler,n=t);const o=Er(this),i=hd(r,a.bind(s),n);return o(),i}function gd(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Je(e))Jn(e.value,t,n,s);else if(he(e))for(let r=0;r{Jn(r,t,n,s)});else if(Pu(e))for(const r in e)Jn(e[r],t,n,s);return e}function Lt(e,t){if(tt===null)return e;const n=Pa(tt)||tt.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ed(()=>{e.isUnmounting=!0}),e}const At=[Function,Array],_d={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},Pm={name:"BaseTransition",props:_d,setup(e,{slots:t}){const n=es(),s=bd();let r;return()=>{const a=t.default&&Ii(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1){for(const _ of a)if(_.type!==Ft){o=_;break}}const i=Le(e),{mode:l}=i;if(s.isLeaving)return Za(o);const c=wl(o);if(!c)return Za(o);const u=cr(c,i,s,n);ur(c,u);const d=n.subTree,h=d&&wl(d);let k=!1;const{getTransitionKey:g}=c.type;if(g){const _=g();r===void 0?r=_:_!==r&&(r=_,k=!0)}if(h&&h.type!==Ft&&(!zn(c,h)||k)){const _=cr(h,i,s,n);if(ur(h,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Za(o);l==="in-out"&&c.type!==Ft&&(_.delayLeave=(E,w,b)=>{const y=vd(s,h);y[String(h.key)]=h,E[Cn]=()=>{w(),E[Cn]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return o}}},Rm=Pm;function vd(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function cr(e,t,n,s){const{appear:r,mode:a,persisted:o=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:k,onLeaveCancelled:g,onBeforeAppear:_,onAppear:E,onAfterAppear:w,onAppearCancelled:b}=t,y=String(e.key),v=vd(n,e),$=(x,M)=>{x&&Pt(x,s,9,M)},S=(x,M)=>{const z=M[1];$(x,M),he(x)?x.every(q=>q.length<=1)&&z():x.length<=1&&z()},T={mode:a,persisted:o,beforeEnter(x){let M=i;if(!n.isMounted)if(r)M=_||i;else return;x[Cn]&&x[Cn](!0);const z=v[y];z&&zn(e,z)&&z.el[Cn]&&z.el[Cn](),$(M,[x])},enter(x){let M=l,z=c,q=u;if(!n.isMounted)if(r)M=E||l,z=w||c,q=b||u;else return;let G=!1;const re=x[Nr]=we=>{G||(G=!0,we?$(q,[x]):$(z,[x]),T.delayedLeave&&T.delayedLeave(),x[Nr]=void 0)};M?S(M,[x,re]):re()},leave(x,M){const z=String(e.key);if(x[Nr]&&x[Nr](!0),n.isUnmounting)return M();$(d,[x]);let q=!1;const G=x[Cn]=re=>{q||(q=!0,M(),re?$(g,[x]):$(k,[x]),x[Cn]=void 0,v[z]===e&&delete v[z])};v[z]=e,h?S(h,[x,G]):G()},clone(x){return cr(x,t,n,s)}};return T}function Za(e){if(La(e))return e=Nn(e),e.children=null,e}function wl(e){return La(e)?e.children?e.children[0]:void 0:e}function ur(e,t){e.shapeFlag&6&&e.component?ur(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 Ii(e,t=!1,n){let s=[],r=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader,La=e=>e.type.__isKeepAlive;function Fm(e,t){yd(e,"a",t)}function Dm(e,t){yd(e,"da",t)}function yd(e,t,n=lt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Oa(t,s,n),n){let r=n.parent;for(;r&&r.parent;)La(r.parent.vnode)&&jm(s,t,n,r),r=r.parent}}function jm(e,t,n,s){const r=Oa(t,e,s,!0);Mi(()=>{gi(s[t],r)},n)}function Oa(e,t,n=lt,s=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;rs();const i=Er(n),l=Pt(t,n,e,o);return i(),as(),l});return s?r.unshift(a):r.push(a),a}}const fn=e=>(t,n=lt)=>(!Na||e==="sp")&&Oa(e,(...s)=>t(...s),n),wd=fn("bm"),Gt=fn("m"),Um=fn("bu"),kd=fn("u"),Ed=fn("bum"),Mi=fn("um"),Hm=fn("sp"),Vm=fn("rtg"),Bm=fn("rtc");function Gm(e,t=lt){Oa("ec",e,t)}function Ce(e,t,n,s){let r;const a=n&&n[s];if(he(e)||et(e)){r=new Array(e.length);for(let o=0,i=e.length;ot(o,i,void 0,a&&a[i]));else{const o=Object.keys(e);r=new Array(o.length);for(let i=0,l=o.length;i{const a=s.fn(...r);return a&&(a.key=s.key),a}:s.fn)}return e}function Ze(e,t,n={},s,r){if(tt.isCE||tt.parent&&Js(tt.parent)&&tt.parent.isCE)return t!=="default"&&(n.name=t),P("slot",n,s&&s());let a=e[t];a&&a._c&&(a._d=!1),A();const o=a&&$d(a(n)),i=fe(pe,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),a&&a._c&&(a._d=!0),i}function $d(e){return e.some(t=>la(t)?!(t.type===Ft||t.type===pe&&!$d(t.children)):!0)?e:null}const To=e=>e?Rd(e)?Pa(e)||e.proxy:To(e.parent):null,Xs=nt(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=>To(e.parent),$root:e=>To(e.root),$emit:e=>e.emit,$options:e=>Pi(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Li(e.update)}),$nextTick:e=>e.n||(e.n=Ti.bind(e.proxy)),$watch:e=>Nm.bind(e)}),eo=(e,t)=>e!==ze&&!e.__isScriptSetup&&Pe(e,t),Wm={get({_:e},t){const{ctx:n,setupState:s,data:r,props:a,accessCache:o,type:i,appContext:l}=e;let c;if(t[0]!=="$"){const k=o[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(eo(s,t))return o[t]=1,s[t];if(r!==ze&&Pe(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&Pe(c,t))return o[t]=3,a[t];if(n!==ze&&Pe(n,t))return o[t]=4,n[t];Lo&&(o[t]=0)}}const u=Xs[t];let d,h;if(u)return t==="$attrs"&&kt(e,"get",t),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==ze&&Pe(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,Pe(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:a}=e;return eo(r,t)?(r[t]=n,!0):s!==ze&&Pe(s,t)?(s[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:a}},o){let i;return!!n[o]||e!==ze&&Pe(e,o)||eo(t,o)||(i=a[0])&&Pe(i,o)||Pe(s,o)||Pe(Xs,o)||Pe(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function kl(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Lo=!0;function zm(e){const t=Pi(e),n=e.proxy,s=e.ctx;Lo=!1,t.beforeCreate&&El(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:o,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:k,updated:g,activated:_,deactivated:E,beforeDestroy:w,beforeUnmount:b,destroyed:y,unmounted:v,render:$,renderTracked:S,renderTriggered:T,errorCaptured:x,serverPrefetch:M,expose:z,inheritAttrs:q,components:G,directives:re,filters:we}=t;if(c&&Km(c,s,null),o)for(const Q in o){const D=o[Q];$e(D)&&(s[Q]=D.bind(n))}if(r){const Q=r.call(n,n);Be(Q)&&(e.data=wr(Q))}if(Lo=!0,a)for(const Q in a){const D=a[Q],Y=$e(D)?D.bind(n,n):$e(D.get)?D.get.bind(n,n):Mt,oe=!$e(D)&&$e(D.set)?D.set.bind(n):Mt,ge=je({get:Y,set:oe});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>ge.value,set:_e=>ge.value=_e})}if(i)for(const Q in i)Sd(i[Q],s,n,Q);if(l){const Q=$e(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(D=>{Gr(D,Q[D])})}u&&El(u,e,"c");function ae(Q,D){he(D)?D.forEach(Y=>Q(Y.bind(n))):D&&Q(D.bind(n))}if(ae(wd,d),ae(Gt,h),ae(Um,k),ae(kd,g),ae(Fm,_),ae(Dm,E),ae(Gm,x),ae(Bm,S),ae(Vm,T),ae(Ed,b),ae(Mi,v),ae(Hm,M),he(z))if(z.length){const Q=e.exposed||(e.exposed={});z.forEach(D=>{Object.defineProperty(Q,D,{get:()=>n[D],set:Y=>n[D]=Y})})}else e.exposed||(e.exposed={});$&&e.render===Mt&&(e.render=$),q!=null&&(e.inheritAttrs=q),G&&(e.components=G),re&&(e.directives=re)}function Km(e,t,n=Mt){he(e)&&(e=Oo(e));for(const s in e){const r=e[s];let a;Be(r)?"default"in r?a=Rt(r.from||s,r.default,!0):a=Rt(r.from||s):a=Rt(r),Je(a)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[s]=a}}function El(e,t,n){Pt(he(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Sd(e,t,n,s){const r=s.includes(".")?gd(n,s):()=>n[s];if(et(e)){const a=t[e];$e(a)&&pt(r,a)}else if($e(e))pt(r,e.bind(n));else if(Be(e))if(he(e))e.forEach(a=>Sd(a,t,n,s));else{const a=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(a)&&pt(r,a,e)}}function Pi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,i=a.get(t);let l;return i?l=i:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>ia(l,c,o,!0)),ia(l,t,o)),Be(t)&&a.set(t,l),l}function ia(e,t,n,s=!1){const{mixins:r,extends:a}=t;a&&ia(e,a,n,!0),r&&r.forEach(o=>ia(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const i=qm[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const qm={data:$l,props:Sl,emits:Sl,methods:Gs,computed:Gs,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:Gs,directives:Gs,watch:Jm,provide:$l,inject:Ym};function $l(e,t){return t?e?function(){return nt($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function Ym(e,t){return Gs(Oo(e),Oo(t))}function Oo(e){if(he(e)){const t={};for(let n=0;n1)return n&&$e(t)?t.call(s&&s.proxy):t}}function Zm(){return!!(lt||tt||_s)}function eh(e,t,n,s=!1){const r={},a={};sa(a,Ia,1),e.propsDefaults=Object.create(null),xd(e,t,r,a);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Zu(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function th(e,t,n,s){const{props:r,attrs:a,vnode:{patchFlag:o}}=e,i=Le(r),[l]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,k]=Ad(d,t,!0);nt(o,h),k&&i.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return Be(e)&&s.set(e,hs),hs;if(he(a))for(let u=0;u-1,k[1]=_<0||g<_,(g>-1||Pe(k,"default"))&&i.push(d)}}}const c=[o,i];return Be(e)&&s.set(e,c),c}function Cl(e){return e[0]!=="$"&&!Ys(e)}function xl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Al(e,t){return xl(e)===xl(t)}function Tl(e,t){return he(t)?t.findIndex(n=>Al(n,e)):$e(t)&&Al(t,e)?0:-1}const Td=e=>e[0]==="_"||e==="$stable",Ri=e=>he(e)?e.map(qt):[qt(e)],nh=(e,t,n)=>{if(t._n)return t;const s=R((...r)=>Ri(t(...r)),n);return s._c=!1,s},Ld=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Td(r))continue;const a=e[r];if($e(a))t[r]=nh(r,a,s);else if(a!=null){const o=Ri(a);t[r]=()=>o}}},Od=(e,t)=>{const n=Ri(t);e.slots.default=()=>n},sh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Le(t),sa(t,"_",n)):Ld(t,e.slots={})}else e.slots={},t&&Od(e,t);sa(e.slots,Ia,1)},rh=(e,t,n)=>{const{vnode:s,slots:r}=e;let a=!0,o=ze;if(s.shapeFlag&32){const i=t._;i?n&&i===1?a=!1:(nt(r,t),!n&&i===1&&delete r._):(a=!t.$stable,Ld(t,r)),o=t}else t&&(Od(e,t),o={default:1});if(a)for(const i in r)!Td(i)&&o[i]==null&&delete r[i]};function Mo(e,t,n,s,r=!1){if(he(e)){e.forEach((h,k)=>Mo(h,t&&(he(t)?t[k]:t),n,s,r));return}if(Js(s)&&!r)return;const a=s.shapeFlag&4?Pa(s.component)||s.component.proxy:s.el,o=r?null:a,{i,r:l}=e,c=t&&t.r,u=i.refs===ze?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==l&&(et(c)?(u[c]=null,Pe(d,c)&&(d[c]=null)):Je(c)&&(c.value=null)),$e(l))On(l,i,12,[o,u]);else{const h=et(l),k=Je(l);if(h||k){const g=()=>{if(e.f){const _=h?Pe(d,l)?d[l]:u[l]:l.value;r?he(_)&&gi(_,a):he(_)?_.includes(a)||_.push(a):h?(u[l]=[a],Pe(d,l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=o,Pe(d,l)&&(d[l]=o)):k&&(l.value=o,e.k&&(u[e.k]=o))};o?(g.id=-1,_t(g,n)):g()}}}const _t=Om;function ah(e){return oh(e)}function oh(e,t){const n=Ru();n.__VUE__=!0;const{insert:s,remove:r,patchProp:a,createElement:o,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:k=Mt,insertStaticContent:g}=e,_=(p,f,C,L=null,N=null,B=null,ee=void 0,J=null,U=!!f.dynamicChildren)=>{if(p===f)return;p&&!zn(p,f)&&(L=H(p),_e(p,N,B,!0),p=null),f.patchFlag===-2&&(U=!1,f.dynamicChildren=null);const{type:V,ref:ne,shapeFlag:te}=f;switch(V){case kr:E(p,f,C,L);break;case Ft:w(p,f,C,L);break;case Wr:p==null&&b(f,C,L,ee);break;case pe:G(p,f,C,L,N,B,ee,J,U);break;default:te&1?$(p,f,C,L,N,B,ee,J,U):te&6?re(p,f,C,L,N,B,ee,J,U):(te&64||te&128)&&V.process(p,f,C,L,N,B,ee,J,U,ie)}ne!=null&&N&&Mo(ne,p&&p.ref,B,f||p,!f)},E=(p,f,C,L)=>{if(p==null)s(f.el=i(f.children),C,L);else{const N=f.el=p.el;f.children!==p.children&&c(N,f.children)}},w=(p,f,C,L)=>{p==null?s(f.el=l(f.children||""),C,L):f.el=p.el},b=(p,f,C,L)=>{[p.el,p.anchor]=g(p.children,f,C,L,p.el,p.anchor)},y=({el:p,anchor:f},C,L)=>{let N;for(;p&&p!==f;)N=h(p),s(p,C,L),p=N;s(f,C,L)},v=({el:p,anchor:f})=>{let C;for(;p&&p!==f;)C=h(p),r(p),p=C;r(f)},$=(p,f,C,L,N,B,ee,J,U)=>{f.type==="svg"?ee="svg":f.type==="math"&&(ee="mathml"),p==null?S(f,C,L,N,B,ee,J,U):M(p,f,N,B,ee,J,U)},S=(p,f,C,L,N,B,ee,J)=>{let U,V;const{props:ne,shapeFlag:te,transition:O,dirs:j}=p;if(U=p.el=o(p.type,B,ne&&ne.is,ne),te&8?u(U,p.children):te&16&&x(p.children,U,null,L,N,to(p,B),ee,J),j&&Un(p,null,L,"created"),T(U,p,p.scopeId,ee,L),ne){for(const be in ne)be!=="value"&&!Ys(be)&&a(U,be,null,ne[be],B,p.children,L,N,Re);"value"in ne&&a(U,"value",null,ne.value,B),(V=ne.onVnodeBeforeMount)&&zt(V,L,p)}j&&Un(p,null,L,"beforeMount");const ue=ih(N,O);ue&&O.beforeEnter(U),s(U,f,C),((V=ne&&ne.onVnodeMounted)||ue||j)&&_t(()=>{V&&zt(V,L,p),ue&&O.enter(U),j&&Un(p,null,L,"mounted")},N)},T=(p,f,C,L,N)=>{if(C&&k(p,C),L)for(let B=0;B{for(let V=U;V{const J=f.el=p.el;let{patchFlag:U,dynamicChildren:V,dirs:ne}=f;U|=p.patchFlag&16;const te=p.props||ze,O=f.props||ze;let j;if(C&&Hn(C,!1),(j=O.onVnodeBeforeUpdate)&&zt(j,C,f,p),ne&&Un(f,p,C,"beforeUpdate"),C&&Hn(C,!0),V?z(p.dynamicChildren,V,J,C,L,to(f,N),B):ee||D(p,f,J,null,C,L,to(f,N),B,!1),U>0){if(U&16)q(J,f,te,O,C,L,N);else if(U&2&&te.class!==O.class&&a(J,"class",null,O.class,N),U&4&&a(J,"style",te.style,O.style,N),U&8){const ue=f.dynamicProps;for(let be=0;be{j&&zt(j,C,f,p),ne&&Un(f,p,C,"updated")},L)},z=(p,f,C,L,N,B,ee)=>{for(let J=0;J{if(C!==L){if(C!==ze)for(const J in C)!Ys(J)&&!(J in L)&&a(p,J,C[J],null,ee,f.children,N,B,Re);for(const J in L){if(Ys(J))continue;const U=L[J],V=C[J];U!==V&&J!=="value"&&a(p,J,V,U,ee,f.children,N,B,Re)}"value"in L&&a(p,"value",C.value,L.value,ee)}},G=(p,f,C,L,N,B,ee,J,U)=>{const V=f.el=p?p.el:i(""),ne=f.anchor=p?p.anchor:i("");let{patchFlag:te,dynamicChildren:O,slotScopeIds:j}=f;j&&(J=J?J.concat(j):j),p==null?(s(V,C,L),s(ne,C,L),x(f.children||[],C,ne,N,B,ee,J,U)):te>0&&te&64&&O&&p.dynamicChildren?(z(p.dynamicChildren,O,C,N,B,ee,J),(f.key!=null||N&&f===N.subTree)&&Id(p,f,!0)):D(p,f,C,ne,N,B,ee,J,U)},re=(p,f,C,L,N,B,ee,J,U)=>{f.slotScopeIds=J,p==null?f.shapeFlag&512?N.ctx.activate(f,C,L,ee,U):we(f,C,L,N,B,ee,U):ce(p,f,U)},we=(p,f,C,L,N,B,ee)=>{const J=p.component=gh(p,L,N);if(La(p)&&(J.ctx.renderer=ie),bh(J),J.asyncDep){if(N&&N.registerDep(J,ae),!p.el){const U=J.subTree=P(Ft);w(null,U,f,C)}}else ae(J,p,f,C,N,B,ee)},ce=(p,f,C)=>{const L=f.component=p.component;if(Am(p,f,C))if(L.asyncDep&&!L.asyncResolved){Q(L,f,C);return}else L.next=f,km(L.update),L.effect.dirty=!0,L.update();else f.el=p.el,L.vnode=f},ae=(p,f,C,L,N,B,ee)=>{const J=()=>{if(p.isMounted){let{next:ne,bu:te,u:O,parent:j,vnode:ue}=p;{const gn=Md(p);if(gn){ne&&(ne.el=ue.el,Q(p,ne,ee)),gn.asyncDep.then(()=>{p.isUnmounted||J()});return}}let be=ne,Fe;Hn(p,!1),ne?(ne.el=ue.el,Q(p,ne,ee)):ne=ue,te&&Vr(te),(Fe=ne.props&&ne.props.onVnodeBeforeUpdate)&&zt(Fe,j,ne,ue),Hn(p,!0);const Xe=Qa(p),it=p.subTree;p.subTree=Xe,_(it,Xe,d(it.el),H(it),p,N,B),ne.el=Xe.el,be===null&&Tm(p,Xe.el),O&&_t(O,N),(Fe=ne.props&&ne.props.onVnodeUpdated)&&_t(()=>zt(Fe,j,ne,ue),N)}else{let ne;const{el:te,props:O}=f,{bm:j,m:ue,parent:be}=p,Fe=Js(f);if(Hn(p,!1),j&&Vr(j),!Fe&&(ne=O&&O.onVnodeBeforeMount)&&zt(ne,be,f),Hn(p,!0),te&&Oe){const Xe=()=>{p.subTree=Qa(p),Oe(te,p.subTree,p,N,null)};Fe?f.type.__asyncLoader().then(()=>!p.isUnmounted&&Xe()):Xe()}else{const Xe=p.subTree=Qa(p);_(null,Xe,C,L,p,N,B),f.el=Xe.el}if(ue&&_t(ue,N),!Fe&&(ne=O&&O.onVnodeMounted)){const Xe=f;_t(()=>zt(ne,be,Xe),N)}(f.shapeFlag&256||be&&Js(be.vnode)&&be.vnode.shapeFlag&256)&&p.a&&_t(p.a,N),p.isMounted=!0,f=C=L=null}},U=p.effect=new yi(J,Mt,()=>Li(V),p.scope),V=p.update=()=>{U.dirty&&U.run()};V.id=p.uid,Hn(p,!0),V()},Q=(p,f,C)=>{f.component=p;const L=p.vnode.props;p.vnode=f,p.next=null,th(p,f.props,L,C),rh(p,f.children,C),rs(),_l(p),as()},D=(p,f,C,L,N,B,ee,J,U=!1)=>{const V=p&&p.children,ne=p?p.shapeFlag:0,te=f.children,{patchFlag:O,shapeFlag:j}=f;if(O>0){if(O&128){oe(V,te,C,L,N,B,ee,J,U);return}else if(O&256){Y(V,te,C,L,N,B,ee,J,U);return}}j&8?(ne&16&&Re(V,N,B),te!==V&&u(C,te)):ne&16?j&16?oe(V,te,C,L,N,B,ee,J,U):Re(V,N,B,!0):(ne&8&&u(C,""),j&16&&x(te,C,L,N,B,ee,J,U))},Y=(p,f,C,L,N,B,ee,J,U)=>{p=p||hs,f=f||hs;const V=p.length,ne=f.length,te=Math.min(V,ne);let O;for(O=0;One?Re(p,N,B,!0,!1,te):x(f,C,L,N,B,ee,J,U,te)},oe=(p,f,C,L,N,B,ee,J,U)=>{let V=0;const ne=f.length;let te=p.length-1,O=ne-1;for(;V<=te&&V<=O;){const j=p[V],ue=f[V]=U?xn(f[V]):qt(f[V]);if(zn(j,ue))_(j,ue,C,null,N,B,ee,J,U);else break;V++}for(;V<=te&&V<=O;){const j=p[te],ue=f[O]=U?xn(f[O]):qt(f[O]);if(zn(j,ue))_(j,ue,C,null,N,B,ee,J,U);else break;te--,O--}if(V>te){if(V<=O){const j=O+1,ue=jO)for(;V<=te;)_e(p[V],N,B,!0),V++;else{const j=V,ue=V,be=new Map;for(V=ue;V<=O;V++){const $t=f[V]=U?xn(f[V]):qt(f[V]);$t.key!=null&&be.set($t.key,V)}let Fe,Xe=0;const it=O-ue+1;let gn=!1,Ya=0;const Rs=new Array(it);for(V=0;V=it){_e($t,N,B,!0);continue}let Wt;if($t.key!=null)Wt=be.get($t.key);else for(Fe=ue;Fe<=O;Fe++)if(Rs[Fe-ue]===0&&zn($t,f[Fe])){Wt=Fe;break}Wt===void 0?_e($t,N,B,!0):(Rs[Wt-ue]=V+1,Wt>=Ya?Ya=Wt:gn=!0,_($t,f[Wt],C,null,N,B,ee,J,U),Xe++)}const il=gn?lh(Rs):hs;for(Fe=il.length-1,V=it-1;V>=0;V--){const $t=ue+V,Wt=f[$t],ll=$t+1{const{el:B,type:ee,transition:J,children:U,shapeFlag:V}=p;if(V&6){ge(p.component.subTree,f,C,L);return}if(V&128){p.suspense.move(f,C,L);return}if(V&64){ee.move(p,f,C,ie);return}if(ee===pe){s(B,f,C);for(let te=0;teJ.enter(B),N);else{const{leave:te,delayLeave:O,afterLeave:j}=J,ue=()=>s(B,f,C),be=()=>{te(B,()=>{ue(),j&&j()})};O?O(B,ue,be):be()}else s(B,f,C)},_e=(p,f,C,L=!1,N=!1)=>{const{type:B,props:ee,ref:J,children:U,dynamicChildren:V,shapeFlag:ne,patchFlag:te,dirs:O}=p;if(J!=null&&Mo(J,null,C,p,!0),ne&256){f.ctx.deactivate(p);return}const j=ne&1&&O,ue=!Js(p);let be;if(ue&&(be=ee&&ee.onVnodeBeforeUnmount)&&zt(be,f,p),ne&6)Se(p.component,C,L);else{if(ne&128){p.suspense.unmount(C,L);return}j&&Un(p,null,f,"beforeUnmount"),ne&64?p.type.remove(p,f,C,N,ie,L):V&&(B!==pe||te>0&&te&64)?Re(V,f,C,!1,!0):(B===pe&&te&384||!N&&ne&16)&&Re(U,f,C),L&&Ge(p)}(ue&&(be=ee&&ee.onVnodeUnmounted)||j)&&_t(()=>{be&&zt(be,f,p),j&&Un(p,null,f,"unmounted")},C)},Ge=p=>{const{type:f,el:C,anchor:L,transition:N}=p;if(f===pe){Ne(C,L);return}if(f===Wr){v(p);return}const B=()=>{r(C),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(p.shapeFlag&1&&N&&!N.persisted){const{leave:ee,delayLeave:J}=N,U=()=>ee(C,B);J?J(p.el,B,U):U()}else B()},Ne=(p,f)=>{let C;for(;p!==f;)C=h(p),r(p),p=C;r(f)},Se=(p,f,C)=>{const{bum:L,scope:N,update:B,subTree:ee,um:J}=p;L&&Vr(L),N.stop(),B&&(B.active=!1,_e(ee,p,f,C)),J&&_t(J,f),_t(()=>{p.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Re=(p,f,C,L=!1,N=!1,B=0)=>{for(let ee=B;eep.shapeFlag&6?H(p.component.subTree):p.shapeFlag&128?p.suspense.next():h(p.anchor||p.el);let se=!1;const Z=(p,f,C)=>{p==null?f._vnode&&_e(f._vnode,null,null,!0):_(f._vnode||null,p,f,null,null,null,C),se||(se=!0,_l(),cd(),se=!1),f._vnode=p},ie={p:_,um:_e,m:ge,r:Ge,mt:we,mc:x,pc:D,pbc:z,n:H,o:e};let ke,Oe;return t&&([ke,Oe]=t(ie)),{render:Z,hydrate:ke,createApp:Qm(Z,ke)}}function to({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 Hn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ih(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Id(e,t,n=!1){const s=e.children,r=t.children;if(he(s)&&he(r))for(let a=0;a>1,e[n[i]]0&&(t[s]=n[a-1]),n[a]=s)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function Md(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Md(t)}const ch=e=>e.__isTeleport,pe=Symbol.for("v-fgt"),kr=Symbol.for("v-txt"),Ft=Symbol.for("v-cmt"),Wr=Symbol.for("v-stc"),Qs=[];let jt=null;function A(e=!1){Qs.push(jt=e?null:[])}function uh(){Qs.pop(),jt=Qs[Qs.length-1]||null}let dr=1;function Ll(e){dr+=e}function Nd(e){return e.dynamicChildren=dr>0?jt||hs:null,uh(),dr>0&&jt&&jt.push(e),e}function I(e,t,n,s,r,a){return Nd(m(e,t,n,s,r,a,!0))}function fe(e,t,n,s,r){return Nd(P(e,t,n,s,r,!0))}function la(e){return e?e.__v_isVNode===!0:!1}function zn(e,t){return e.type===t.type&&e.key===t.key}const Ia="__vInternal",Pd=({key:e})=>e??null,zr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?et(e)||Je(e)||$e(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function m(e,t=null,n=null,s=0,r=null,a=e===pe?0:1,o=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pd(t),ref:t&&zr(t),scopeId:Ta,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:a,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:tt};return i?(Fi(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=et(n)?8:16),dr>0&&!o&&jt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&jt.push(l),l}const P=dh;function dh(e,t=null,n=null,s=0,r=null,a=!1){if((!e||e===fd)&&(e=Ft),la(e)){const i=Nn(e,t,!0);return n&&Fi(i,n),dr>0&&!a&&jt&&(i.shapeFlag&6?jt[jt.indexOf(e)]=i:jt.push(i)),i.patchFlag|=-2,i}if(kh(e)&&(e=e.__vccOpts),t){t=fh(t);let{class:i,style:l}=t;i&&!et(i)&&(t.class=Ie(i)),Be(l)&&(td(l)&&!he(l)&&(l=nt({},l)),t.style=_i(l))}const o=et(e)?1:Lm(e)?128:ch(e)?64:Be(e)?4:$e(e)?2:0;return m(e,t,n,s,r,o,a,!0)}function fh(e){return e?td(e)||Ia in e?nt({},e):e:null}function Nn(e,t,n=!1){const{props:s,ref:r,patchFlag:a,children:o}=e,i=t?ph(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Pd(i),ref:t&&t.ref?n&&r?he(r)?r.concat(zr(t)):[r,zr(t)]:zr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function K(e=" ",t=0){return P(kr,null,e,t)}function Ma(e,t){const n=P(Wr,null,e);return n.staticCount=t,n}function de(e="",t=!1){return t?(A(),fe(Ft,null,e)):P(Ft,null,e)}function qt(e){return e==null||typeof e=="boolean"?P(Ft):he(e)?P(pe,null,e.slice()):typeof e=="object"?xn(e):P(kr,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function Fi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Fi(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Ia in t)?t._ctx=tt:r===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),s&64?(n=16,t=[K(t)]):n=8);e.children=t,e.shapeFlag|=n}function ph(...e){const t={};for(let n=0;nlt||tt;let ca,No;{const e=Ru(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),a=>{r.length>1?r.forEach(o=>o(a)):r[0](a)}};ca=t("__VUE_INSTANCE_SETTERS__",n=>lt=n),No=t("__VUE_SSR_SETTERS__",n=>Na=n)}const Er=e=>{const t=lt;return ca(e),e.scope.on(),()=>{e.scope.off(),ca(t)}},Ol=()=>{lt&<.scope.off(),ca(null)};function Rd(e){return e.vnode.shapeFlag&4}let Na=!1;function bh(e,t=!1){t&&No(t);const{props:n,children:s}=e.vnode,r=Rd(e);eh(e,n,r,t),sh(e,s);const a=r?_h(e,t):void 0;return t&&No(!1),a}function _h(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ca(new Proxy(e.ctx,Wm));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?yh(e):null,a=Er(e);rs();const o=On(s,e,0,[e.props,r]);if(as(),a(),Mu(o)){if(o.then(Ol,Ol),t)return o.then(i=>{Il(e,i,t)}).catch(i=>{xa(i,e,0)});e.asyncDep=o}else Il(e,o,t)}else Fd(e,t)}function Il(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=ad(t)),Fd(e,n)}let Ml;function Fd(e,t,n){const s=e.type;if(!e.render){if(!t&&Ml&&!s.render){const r=s.template||Pi(e).template;if(r){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:l}=s,c=nt(nt({isCustomElement:a,delimiters:i},o),l);s.render=Ml(r,c)}}e.render=s.render||Mt}{const r=Er(e);rs();try{zm(e)}finally{as(),r()}}}function vh(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return kt(e,"get","$attrs"),t[n]}}))}function yh(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return vh(e)},slots:e.slots,emit:e.emit,expose:t}}function Pa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ad(Ca(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xs)return Xs[n](e)},has(t,n){return n in t||n in Xs}}))}function wh(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function kh(e){return $e(e)&&"__vccOpts"in e}const je=(e,t)=>pm(e,t,Na);function Ve(e,t,n){const s=arguments.length;return s===2?Be(t)&&!he(t)?la(t)?P(e,null,[t]):P(e,t):P(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&la(n)&&(n=[n]),P(e,t,n))}const Eh="3.4.18";/** * @vue/runtime-dom v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const $h="http://www.w3.org/2000/svg",Sh="http://www.w3.org/1998/Math/MathML",An=typeof document<"u"?document:null,Ml=An&&An.createElement("template"),Ch={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?An.createElementNS($h,e):t==="mathml"?An.createElementNS(Sh,e):An.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ml.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const i=Ml.content;if(s==="svg"||s==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_n="transition",Ds="animation",ks=Symbol("_vtc"),fr=(e,{slots:t})=>Ve(Rm,jd(e),t);fr.displayName="Transition";const Fd={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},xh=fr.props=nt({},_d,Fd),Vn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pl=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function jd(e){const t={};for(const G in e)G in Fd||(t[G]=e[G]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,g=Ah(r),_=g&&g[0],E=g&&g[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:y,onLeave:v,onLeaveCancelled:$,onBeforeAppear:S=w,onAppear:T=b,onAppearCancelled:x=y}=t,N=(G,re,we)=>{En(G,re?u:i),En(G,re?c:a),we&&we()},z=(G,re)=>{G._isLeaving=!1,En(G,d),En(G,k),En(G,h),re&&re()},q=G=>(re,we)=>{const ce=G?T:b,oe=()=>N(re,G,we);Vn(ce,[re,oe]),Rl(()=>{En(re,G?l:o),on(re,G?u:i),Pl(ce)||Dl(re,s,_,oe)})};return nt(t,{onBeforeEnter(G){Vn(w,[G]),on(G,o),on(G,a)},onBeforeAppear(G){Vn(S,[G]),on(G,l),on(G,c)},onEnter:q(!1),onAppear:q(!0),onLeave(G,re){G._isLeaving=!0;const we=()=>z(G,re);on(G,d),Hd(),on(G,h),Rl(()=>{G._isLeaving&&(En(G,d),on(G,k),Pl(v)||Dl(G,s,E,we))}),Vn(v,[G,we])},onEnterCancelled(G){N(G,!1),Vn(y,[G])},onAppearCancelled(G){N(G,!0),Vn(x,[G])},onLeaveCancelled(G){z(G),Vn($,[G])}})}function Ah(e){if(e==null)return null;if(Be(e))return[sa(e.enter),sa(e.leave)];{const t=sa(e);return[t,t]}}function sa(e){return Dp(e)}function on(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ks]||(e[ks]=new Set)).add(t)}function En(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ks];n&&(n.delete(t),n.size||(e[ks]=void 0))}function Rl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Th=0;function Dl(e,t,n,s){const r=e._endId=++Th,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:a,timeout:i,propCount:l}=Ud(e,t);if(!a)return s();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,h),o()},h=k=>{k.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),r=s(`${_n}Delay`),o=s(`${_n}Duration`),a=Fl(r,o),i=s(`${Ds}Delay`),l=s(`${Ds}Duration`),c=Fl(i,l);let u=null,d=0,h=0;t===_n?a>0&&(u=_n,d=a,h=o.length):t===Ds?c>0&&(u=Ds,d=c,h=l.length):(d=Math.max(a,c),u=d>0?a>c?_n:Ds:null,h=u?u===_n?o.length:l.length:0);const k=u===_n&&/\b(transform|all)(,|$)/.test(s(`${_n}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:k}}function Fl(e,t){for(;e.lengthjl(n)+jl(e[s])))}function jl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Hd(){return document.body.offsetHeight}function Lh(e,t,n){const s=e[ks];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ul=Symbol("_vod"),Oh=Symbol(""),Ih=/(^|;)\s*display\s*:/;function Nh(e,t,n){const s=e.style,r=et(n),o=s.display;let a=!1;if(n&&!r){if(t&&!et(t))for(const i in t)n[i]==null&&Pa(s,i,"");for(const i in n)i==="display"&&(a=!0),Pa(s,i,n[i])}else if(r){if(t!==n){const i=s[Oh];i&&(n+=";"+i),s.cssText=n,a=Ih.test(n)}}else t&&e.removeAttribute("style");Ul in e&&(e[Ul]=a?s.display:"",s.display=o)}const Hl=/\s*!important$/;function Pa(e,t,n){if(he(n))n.forEach(s=>Pa(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Mh(e,t);Hl.test(n)?e.setProperty(ss(s),n.replace(Hl,""),"important"):e[s]=n}}const Vl=["Webkit","Moz","ms"],ra={};function Mh(e,t){const n=ra[t];if(n)return n;let s=Zt(t);if(s!=="filter"&&s in e)return ra[t]=s;s=$o(s);for(let r=0;roa||(Uh.then(()=>oa=0),oa=Date.now());function Vh(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Pt(Bh(s,n.value),t,5,[s])};return n.value=e,n.attached=Hh(),n}function Bh(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const zl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gh=(e,t,n,s,r,o,a,i,l)=>{const c=r==="svg";t==="class"?Lh(e,s,c):t==="style"?Nh(e,n,s):wo(t)?hi(t)||Fh(e,t,n,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wh(e,t,s,c))?Rh(e,t,s,o,a,i,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ph(e,t,s,c))};function Wh(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&zl(t)&&$e(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 zl(t)&&et(n)?!1:t in e}const Vd=new WeakMap,Bd=new WeakMap,uo=Symbol("_moveCb"),Kl=Symbol("_enterCb"),Gd={name:"TransitionGroup",props:nt({},xh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=es(),s=bd();let r,o;return kd(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Yh(r[0].el,n.vnode.el,a))return;r.forEach(Kh),r.forEach(qh);const i=r.filter(Jh);Hd(),i.forEach(l=>{const c=l.el,u=c.style;on(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[uo]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c[uo]=null,En(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=Le(e),i=jd(a);let l=a.tag||pe;r=o,o=t.default?Ii(t.default()):[];for(let c=0;cdelete e.mode;Gd.props;const Ra=Gd;function Kh(e){const t=e.el;t[uo]&&t[uo](),t[Kl]&&t[Kl]()}function qh(e){Bd.set(e,e.el.getBoundingClientRect())}function Jh(e){const t=Vd.get(e),n=Bd.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function Yh(e,t,n){const s=e.cloneNode(),r=e[ks];r&&r.forEach(i=>{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=Ud(s);return o.removeChild(s),a}const fo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>Vr(t,n):t};function Xh(e){e.target.composing=!0}function ql(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vs=Symbol("_assign"),ls={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[vs]=fo(r);const o=s||r.props&&r.props.type==="number";Kn(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),o&&(i=$a(i)),e[vs](i)}),n&&Kn(e,"change",()=>{e.value=e.value.trim()}),t||(Kn(e,"compositionstart",Xh),Kn(e,"compositionend",ql),Kn(e,"change",ql))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e[vs]=fo(o),e.composing)return;const a=r||e.type==="number"?$a(e.value):e.value,i=t??"";a!==i&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===i)||(e.value=i))}},Es={deep:!0,created(e,t,n){e[vs]=fo(n),Kn(e,"change",()=>{const s=e._modelValue,r=Qh(e),o=e.checked,a=e[vs];if(he(s)){const i=Fu(s,r),l=i!==-1;if(o&&!l)a(s.concat(r));else if(!o&&l){const c=[...s];c.splice(i,1),a(c)}}else if(ko(s)){const i=new Set(s);o?i.add(r):i.delete(r),a(i)}else a(Wd(e,o))})},mounted:Jl,beforeUpdate(e,t,n){e[vs]=fo(n),Jl(e,t,n)}};function Jl(e,{value:t,oldValue:n},s){e._modelValue=t,he(t)?e.checked=Fu(t,s.props.value)>-1:ko(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=So(t,Wd(e,!0)))}function Qh(e){return"_value"in e?e._value:e.value}function Wd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Zh=["ctrl","shift","alt","meta"],eg={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Zh.some(n=>e[`${n}Key`]&&!t.includes(n))},tg=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=ss(r.key);if(t.some(a=>a===o||ng[a]===o))return e(r)})},rg=nt({patchProp:Gh},Ch);let Yl;function og(){return Yl||(Yl=oh(rg))}const ag=(...e)=>{const t=og().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=lg(s);if(!r)return;const o=t._component;!$e(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,ig(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function ig(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function lg(e){return et(e)?document.querySelector(e):e}/*! +**/const $h="http://www.w3.org/2000/svg",Sh="http://www.w3.org/1998/Math/MathML",An=typeof document<"u"?document:null,Nl=An&&An.createElement("template"),Ch={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?An.createElementNS($h,e):t==="mathml"?An.createElementNS(Sh,e):An.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,a){const o=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===a||!(r=r.nextSibling)););else{Nl.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const i=Nl.content;if(s==="svg"||s==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_n="transition",Fs="animation",ks=Symbol("_vtc"),fr=(e,{slots:t})=>Ve(Rm,jd(e),t);fr.displayName="Transition";const Dd={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},xh=fr.props=nt({},_d,Dd),Vn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pl=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function jd(e){const t={};for(const G in e)G in Dd||(t[G]=e[G]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:c=o,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,g=Ah(r),_=g&&g[0],E=g&&g[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:y,onLeave:v,onLeaveCancelled:$,onBeforeAppear:S=w,onAppear:T=b,onAppearCancelled:x=y}=t,M=(G,re,we)=>{En(G,re?u:i),En(G,re?c:o),we&&we()},z=(G,re)=>{G._isLeaving=!1,En(G,d),En(G,k),En(G,h),re&&re()},q=G=>(re,we)=>{const ce=G?T:b,ae=()=>M(re,G,we);Vn(ce,[re,ae]),Rl(()=>{En(re,G?l:a),an(re,G?u:i),Pl(ce)||Fl(re,s,_,ae)})};return nt(t,{onBeforeEnter(G){Vn(w,[G]),an(G,a),an(G,o)},onBeforeAppear(G){Vn(S,[G]),an(G,l),an(G,c)},onEnter:q(!1),onAppear:q(!0),onLeave(G,re){G._isLeaving=!0;const we=()=>z(G,re);an(G,d),Hd(),an(G,h),Rl(()=>{G._isLeaving&&(En(G,d),an(G,k),Pl(v)||Fl(G,s,E,we))}),Vn(v,[G,we])},onEnterCancelled(G){M(G,!1),Vn(y,[G])},onAppearCancelled(G){M(G,!0),Vn(x,[G])},onLeaveCancelled(G){z(G),Vn($,[G])}})}function Ah(e){if(e==null)return null;if(Be(e))return[no(e.enter),no(e.leave)];{const t=no(e);return[t,t]}}function no(e){return Fp(e)}function an(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ks]||(e[ks]=new Set)).add(t)}function En(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ks];n&&(n.delete(t),n.size||(e[ks]=void 0))}function Rl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Th=0;function Fl(e,t,n,s){const r=e._endId=++Th,a=()=>{r===e._endId&&s()};if(n)return setTimeout(a,n);const{type:o,timeout:i,propCount:l}=Ud(e,t);if(!o)return s();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,h),a()},h=k=>{k.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),r=s(`${_n}Delay`),a=s(`${_n}Duration`),o=Dl(r,a),i=s(`${Fs}Delay`),l=s(`${Fs}Duration`),c=Dl(i,l);let u=null,d=0,h=0;t===_n?o>0&&(u=_n,d=o,h=a.length):t===Fs?c>0&&(u=Fs,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?_n:Fs:null,h=u?u===_n?a.length:l.length:0);const k=u===_n&&/\b(transform|all)(,|$)/.test(s(`${_n}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:k}}function Dl(e,t){for(;e.lengthjl(n)+jl(e[s])))}function jl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Hd(){return document.body.offsetHeight}function Lh(e,t,n){const s=e[ks];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ul=Symbol("_vod"),Oh=Symbol(""),Ih=/(^|;)\s*display\s*:/;function Mh(e,t,n){const s=e.style,r=et(n),a=s.display;let o=!1;if(n&&!r){if(t&&!et(t))for(const i in t)n[i]==null&&Po(s,i,"");for(const i in n)i==="display"&&(o=!0),Po(s,i,n[i])}else if(r){if(t!==n){const i=s[Oh];i&&(n+=";"+i),s.cssText=n,o=Ih.test(n)}}else t&&e.removeAttribute("style");Ul in e&&(e[Ul]=o?s.display:"",s.display=a)}const Hl=/\s*!important$/;function Po(e,t,n){if(he(n))n.forEach(s=>Po(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Nh(e,t);Hl.test(n)?e.setProperty(ss(s),n.replace(Hl,""),"important"):e[s]=n}}const Vl=["Webkit","Moz","ms"],so={};function Nh(e,t){const n=so[t];if(n)return n;let s=Zt(t);if(s!=="filter"&&s in e)return so[t]=s;s=Ea(s);for(let r=0;rro||(Uh.then(()=>ro=0),ro=Date.now());function Vh(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Pt(Bh(s,n.value),t,5,[s])};return n.value=e,n.attached=Hh(),n}function Bh(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const zl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gh=(e,t,n,s,r,a,o,i,l)=>{const c=r==="svg";t==="class"?Lh(e,s,c):t==="style"?Mh(e,n,s):ya(t)?hi(t)||Dh(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wh(e,t,s,c))?Rh(e,t,s,a,o,i,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ph(e,t,s,c))};function Wh(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&zl(t)&&$e(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 zl(t)&&et(n)?!1:t in e}const Vd=new WeakMap,Bd=new WeakMap,ua=Symbol("_moveCb"),Kl=Symbol("_enterCb"),Gd={name:"TransitionGroup",props:nt({},xh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=es(),s=bd();let r,a;return kd(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Jh(r[0].el,n.vnode.el,o))return;r.forEach(Kh),r.forEach(qh);const i=r.filter(Yh);Hd(),i.forEach(l=>{const c=l.el,u=c.style;an(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[ua]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c[ua]=null,En(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=Le(e),i=jd(o);let l=o.tag||pe;r=a,a=t.default?Ii(t.default()):[];for(let c=0;cdelete e.mode;Gd.props;const Ro=Gd;function Kh(e){const t=e.el;t[ua]&&t[ua](),t[Kl]&&t[Kl]()}function qh(e){Bd.set(e,e.el.getBoundingClientRect())}function Yh(e){const t=Vd.get(e),n=Bd.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${s}px,${r}px)`,a.transitionDuration="0s",e}}function Jh(e,t,n){const s=e.cloneNode(),r=e[ks];r&&r.forEach(i=>{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(s);const{hasTransform:o}=Ud(s);return a.removeChild(s),o}const da=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>Vr(t,n):t};function Xh(e){e.target.composing=!0}function ql(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vs=Symbol("_assign"),ls={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[vs]=da(r);const a=s||r.props&&r.props.type==="number";Kn(e,t?"change":"input",o=>{if(o.target.composing)return;let i=e.value;n&&(i=i.trim()),a&&(i=$o(i)),e[vs](i)}),n&&Kn(e,"change",()=>{e.value=e.value.trim()}),t||(Kn(e,"compositionstart",Xh),Kn(e,"compositionend",ql),Kn(e,"change",ql))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},a){if(e[vs]=da(a),e.composing)return;const o=r||e.type==="number"?$o(e.value):e.value,i=t??"";o!==i&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===i)||(e.value=i))}},Es={deep:!0,created(e,t,n){e[vs]=da(n),Kn(e,"change",()=>{const s=e._modelValue,r=Qh(e),a=e.checked,o=e[vs];if(he(s)){const i=Du(s,r),l=i!==-1;if(a&&!l)o(s.concat(r));else if(!a&&l){const c=[...s];c.splice(i,1),o(c)}}else if(wa(s)){const i=new Set(s);a?i.add(r):i.delete(r),o(i)}else o(Wd(e,a))})},mounted:Yl,beforeUpdate(e,t,n){e[vs]=da(n),Yl(e,t,n)}};function Yl(e,{value:t,oldValue:n},s){e._modelValue=t,he(t)?e.checked=Du(t,s.props.value)>-1:wa(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=$a(t,Wd(e,!0)))}function Qh(e){return"_value"in e?e._value:e.value}function Wd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Zh=["ctrl","shift","alt","meta"],eg={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Zh.some(n=>e[`${n}Key`]&&!t.includes(n))},tg=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...a)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const a=ss(r.key);if(t.some(o=>o===a||ng[o]===a))return e(r)})},rg=nt({patchProp:Gh},Ch);let Jl;function ag(){return Jl||(Jl=ah(rg))}const og=(...e)=>{const t=ag().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=lg(s);if(!r)return;const a=t._component;!$e(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,ig(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function ig(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function lg(e){return et(e)?document.querySelector(e):e}/*! * shared v9.9.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const po=typeof window<"u",Fn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),cg=(e,t,n)=>ug({l:e,k:t,s:n}),ug=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ot=e=>typeof e=="number"&&isFinite(e),dg=e=>Kd(e)==="[object Date]",Pn=e=>Kd(e)==="[object RegExp]",Do=e=>Ee(e)&&Object.keys(e).length===0,ut=Object.assign;let Xl;const an=()=>Xl||(Xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ql(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const fg=Object.prototype.hasOwnProperty;function mo(e,t){return fg.call(e,t)}const qe=Array.isArray,We=e=>typeof e=="function",le=e=>typeof e=="string",xe=e=>typeof e=="boolean",Ue=e=>e!==null&&typeof e=="object",pg=e=>Ue(e)&&We(e.then)&&We(e.catch),zd=Object.prototype.toString,Kd=e=>zd.call(e),Ee=e=>{if(!Ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},mg=e=>e==null?"":qe(e)||Ee(e)&&e.toString===zd?JSON.stringify(e,null,2):String(e);function hg(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}function Fi(e){let t=e;return()=>++t}function gg(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Pr=e=>!Ue(e)||qe(e);function Kr(e,t){if(Pr(e)||Pr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:r}=n.pop();Object.keys(s).forEach(o=>{Pr(s[o])||Pr(r[o])?r[o]=s[o]:n.push({src:s[o],des:r[o]})})}}/*! + */const fa=typeof window<"u",Dn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),cg=(e,t,n)=>ug({l:e,k:t,s:n}),ug=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),at=e=>typeof e=="number"&&isFinite(e),dg=e=>Kd(e)==="[object Date]",Pn=e=>Kd(e)==="[object RegExp]",Ra=e=>Ee(e)&&Object.keys(e).length===0,ut=Object.assign;let Xl;const on=()=>Xl||(Xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ql(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const fg=Object.prototype.hasOwnProperty;function pa(e,t){return fg.call(e,t)}const qe=Array.isArray,We=e=>typeof e=="function",le=e=>typeof e=="string",xe=e=>typeof e=="boolean",Ue=e=>e!==null&&typeof e=="object",pg=e=>Ue(e)&&We(e.then)&&We(e.catch),zd=Object.prototype.toString,Kd=e=>zd.call(e),Ee=e=>{if(!Ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},mg=e=>e==null?"":qe(e)||Ee(e)&&e.toString===zd?JSON.stringify(e,null,2):String(e);function hg(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}function Di(e){let t=e;return()=>++t}function gg(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Pr=e=>!Ue(e)||qe(e);function Kr(e,t){if(Pr(e)||Pr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:r}=n.pop();Object.keys(s).forEach(a=>{Pr(s[a])||Pr(r[a])?r[a]=s[a]:n.push({src:s[a],des:r[a]})})}}/*! * message-compiler v9.9.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function bg(e,t,n){return{line:e,column:t,offset:n}}function Da(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const _g=/\{([0-9a-zA-Z]+)\}/g;function vg(e,...t){return t.length===1&&yg(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(_g,(n,s)=>t.hasOwnProperty(s)?t[s]:"")}const qd=Object.assign,Zl=e=>typeof e=="string",yg=e=>e!==null&&typeof e=="object";function Jd(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},wg={[ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Is(e,t,n={}){const{domain:s,messages:r,args:o}=n,a=vg((r||wg)[e]||"",...o||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=s,i}function kg(e){throw e}const nn=" ",Eg="\r",ht=` -`,$g="\u2028",Sg="\u2029";function Cg(e){const t=e;let n=0,s=1,r=1,o=0;const a=T=>t[T]===Eg&&t[T+1]===ht,i=T=>t[T]===ht,l=T=>t[T]===Sg,c=T=>t[T]===$g,u=T=>a(T)||i(T)||l(T)||c(T),d=()=>n,h=()=>s,k=()=>r,g=()=>o,_=T=>a(T)||l(T)||c(T)?ht:t[T],E=()=>_(n),w=()=>_(n+o);function b(){return o=0,u(n)&&(s++,r=0),a(n)&&n++,n++,r++,t[n]}function y(){return a(n+o)&&o++,o++,t[n+o]}function v(){n=0,s=1,r=1,o=0}function $(T=0){o=T}function S(){const T=n+o;for(;T!==n;)b();o=0}return{index:d,line:h,column:k,peekOffset:g,charAt:_,currentChar:E,currentPeek:w,next:b,peek:y,reset:v,resetPeek:$,skipToPeek:S}}const vn=void 0,xg=".",ec="'",Ag="tokenizer";function Tg(e,t={}){const n=t.location!==!1,s=Cg(e),r=()=>s.index(),o=()=>bg(s.line(),s.column(),s.index()),a=o(),i=r(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(p,f,C,...L){const M=c();if(f.column+=C,f.offset+=C,u){const B=n?Da(M.startLoc,f):null,ee=Is(p,B,{domain:Ag,args:L});u(ee)}}function h(p,f,C){p.endLoc=o(),p.currentType=f;const L={type:f};return n&&(L.loc=Da(p.startLoc,p.endLoc)),C!=null&&(L.value=C),L}const k=p=>h(p,14);function g(p,f){return p.currentChar()===f?(p.next(),f):(d(ve.EXPECTED_TOKEN,o(),0,f),"")}function _(p){let f="";for(;p.currentPeek()===nn||p.currentPeek()===ht;)f+=p.currentPeek(),p.peek();return f}function E(p){const f=_(p);return p.skipToPeek(),f}function w(p){if(p===vn)return!1;const f=p.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function b(p){if(p===vn)return!1;const f=p.charCodeAt(0);return f>=48&&f<=57}function y(p,f){const{currentType:C}=f;if(C!==2)return!1;_(p);const L=w(p.currentPeek());return p.resetPeek(),L}function v(p,f){const{currentType:C}=f;if(C!==2)return!1;_(p);const L=p.currentPeek()==="-"?p.peek():p.currentPeek(),M=b(L);return p.resetPeek(),M}function $(p,f){const{currentType:C}=f;if(C!==2)return!1;_(p);const L=p.currentPeek()===ec;return p.resetPeek(),L}function S(p,f){const{currentType:C}=f;if(C!==8)return!1;_(p);const L=p.currentPeek()===".";return p.resetPeek(),L}function T(p,f){const{currentType:C}=f;if(C!==9)return!1;_(p);const L=w(p.currentPeek());return p.resetPeek(),L}function x(p,f){const{currentType:C}=f;if(!(C===8||C===12))return!1;_(p);const L=p.currentPeek()===":";return p.resetPeek(),L}function N(p,f){const{currentType:C}=f;if(C!==10)return!1;const L=()=>{const B=p.currentPeek();return B==="{"?w(p.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===nn||!B?!1:B===ht?(p.peek(),L()):w(B)},M=L();return p.resetPeek(),M}function z(p){_(p);const f=p.currentPeek()==="|";return p.resetPeek(),f}function q(p){const f=_(p),C=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:C,hasSpace:f.length>0}}function G(p,f=!0){const C=(M=!1,B="",ee=!1)=>{const Y=p.currentPeek();return Y==="{"?B==="%"?!1:M:Y==="@"||!Y?B==="%"?!0:M:Y==="%"?(p.peek(),C(M,"%",!0)):Y==="|"?B==="%"||ee?!0:!(B===nn||B===ht):Y===nn?(p.peek(),C(!0,nn,ee)):Y===ht?(p.peek(),C(!0,ht,ee)):!0},L=C();return f&&p.resetPeek(),L}function re(p,f){const C=p.currentChar();return C===vn?vn:f(C)?(p.next(),C):null}function we(p){return re(p,C=>{const L=C.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36})}function ce(p){return re(p,C=>{const L=C.charCodeAt(0);return L>=48&&L<=57})}function oe(p){return re(p,C=>{const L=C.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102})}function Q(p){let f="",C="";for(;f=ce(p);)C+=f;return C}function F(p){E(p);const f=p.currentChar();return f!=="%"&&d(ve.EXPECTED_TOKEN,o(),0,f),p.next(),"%"}function J(p){let f="";for(;;){const C=p.currentChar();if(C==="{"||C==="}"||C==="@"||C==="|"||!C)break;if(C==="%")if(G(p))f+=C,p.next();else break;else if(C===nn||C===ht)if(G(p))f+=C,p.next();else{if(z(p))break;f+=C,p.next()}else f+=C,p.next()}return f}function ae(p){E(p);let f="",C="";for(;f=we(p);)C+=f;return p.currentChar()===vn&&d(ve.UNTERMINATED_CLOSING_BRACE,o(),0),C}function ge(p){E(p);let f="";return p.currentChar()==="-"?(p.next(),f+=`-${Q(p)}`):f+=Q(p),p.currentChar()===vn&&d(ve.UNTERMINATED_CLOSING_BRACE,o(),0),f}function _e(p){E(p),g(p,"'");let f="",C="";const L=B=>B!==ec&&B!==ht;for(;f=re(p,L);)f==="\\"?C+=Ge(p):C+=f;const M=p.currentChar();return M===ht||M===vn?(d(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),M===ht&&(p.next(),g(p,"'")),C):(g(p,"'"),C)}function Ge(p){const f=p.currentChar();switch(f){case"\\":case"'":return p.next(),`\\${f}`;case"u":return Me(p,f,4);case"U":return Me(p,f,6);default:return d(ve.UNKNOWN_ESCAPE_SEQUENCE,o(),0,f),""}}function Me(p,f,C){g(p,f);let L="";for(let M=0;MM!=="{"&&M!=="}"&&M!==nn&&M!==ht;for(;f=re(p,L);)C+=f;return C}function Re(p){let f="",C="";for(;f=we(p);)C+=f;return C}function H(p){const f=(C=!1,L)=>{const M=p.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===nn?L:M===ht||M===xg?(L+=M,p.next(),f(C,L)):(L+=M,p.next(),f(!0,L))};return f(!1,"")}function se(p){E(p);const f=g(p,"|");return E(p),f}function Z(p,f){let C=null;switch(p.currentChar()){case"{":return f.braceNest>=1&&d(ve.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),p.next(),C=h(f,2,"{"),E(p),f.braceNest++,C;case"}":return f.braceNest>0&&f.currentType===2&&d(ve.EMPTY_PLACEHOLDER,o(),0),p.next(),C=h(f,3,"}"),f.braceNest--,f.braceNest>0&&E(p),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),C;case"@":return f.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,o(),0),C=ie(p,f)||k(f),f.braceNest=0,C;default:let M=!0,B=!0,ee=!0;if(z(p))return f.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,o(),0),C=h(f,1,se(p)),f.braceNest=0,f.inLinked=!1,C;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return d(ve.UNTERMINATED_CLOSING_BRACE,o(),0),f.braceNest=0,ke(p,f);if(M=y(p,f))return C=h(f,5,ae(p)),E(p),C;if(B=v(p,f))return C=h(f,6,ge(p)),E(p),C;if(ee=$(p,f))return C=h(f,7,_e(p)),E(p),C;if(!M&&!B&&!ee)return C=h(f,13,Se(p)),d(ve.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,C.value),E(p),C;break}return C}function ie(p,f){const{currentType:C}=f;let L=null;const M=p.currentChar();switch((C===8||C===9||C===12||C===10)&&(M===ht||M===nn)&&d(ve.INVALID_LINKED_FORMAT,o(),0),M){case"@":return p.next(),L=h(f,8,"@"),f.inLinked=!0,L;case".":return E(p),p.next(),h(f,9,".");case":":return E(p),p.next(),h(f,10,":");default:return z(p)?(L=h(f,1,se(p)),f.braceNest=0,f.inLinked=!1,L):S(p,f)||x(p,f)?(E(p),ie(p,f)):T(p,f)?(E(p),h(f,12,Re(p))):N(p,f)?(E(p),M==="{"?Z(p,f)||L:h(f,11,H(p))):(C===8&&d(ve.INVALID_LINKED_FORMAT,o(),0),f.braceNest=0,f.inLinked=!1,ke(p,f))}}function ke(p,f){let C={type:14};if(f.braceNest>0)return Z(p,f)||k(f);if(f.inLinked)return ie(p,f)||k(f);switch(p.currentChar()){case"{":return Z(p,f)||k(f);case"}":return d(ve.UNBALANCED_CLOSING_BRACE,o(),0),p.next(),h(f,3,"}");case"@":return ie(p,f)||k(f);default:if(z(p))return C=h(f,1,se(p)),f.braceNest=0,f.inLinked=!1,C;const{isModulo:M,hasSpace:B}=q(p);if(M)return B?h(f,0,J(p)):h(f,4,F(p));if(G(p))return h(f,0,J(p));break}return C}function Oe(){const{currentType:p,offset:f,startLoc:C,endLoc:L}=l;return l.lastType=p,l.lastOffset=f,l.lastStartLoc=C,l.lastEndLoc=L,l.offset=r(),l.startLoc=o(),s.currentChar()===vn?h(l,14):ke(s,l)}return{nextToken:Oe,currentOffset:r,currentPosition:o,context:c}}const Lg="parser",Og=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ig(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Ng(e={}){const t=e.location!==!1,{onError:n}=e;function s(w,b,y,v,...$){const S=w.currentPosition();if(S.offset+=v,S.column+=v,n){const T=t?Da(y,S):null,x=Is(b,T,{domain:Lg,args:$});n(x)}}function r(w,b,y){const v={type:w};return t&&(v.start=b,v.end=b,v.loc={start:y,end:y}),v}function o(w,b,y,v){v&&(w.type=v),t&&(w.end=b,w.loc&&(w.loc.end=y))}function a(w,b){const y=w.context(),v=r(3,y.offset,y.startLoc);return v.value=b,o(v,w.currentOffset(),w.currentPosition()),v}function i(w,b){const y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(5,v,$);return S.index=parseInt(b,10),w.nextToken(),o(S,w.currentOffset(),w.currentPosition()),S}function l(w,b){const y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(4,v,$);return S.key=b,w.nextToken(),o(S,w.currentOffset(),w.currentPosition()),S}function c(w,b){const y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(9,v,$);return S.value=b.replace(Og,Ig),w.nextToken(),o(S,w.currentOffset(),w.currentPosition()),S}function u(w){const b=w.nextToken(),y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(8,v,$);return b.type!==12?(s(w,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),S.value="",o(S,v,$),{nextConsumeToken:b,node:S}):(b.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Kt(b)),S.value=b.value||"",o(S,w.currentOffset(),w.currentPosition()),{node:S})}function d(w,b){const y=w.context(),v=r(7,y.offset,y.startLoc);return v.value=b,o(v,w.currentOffset(),w.currentPosition()),v}function h(w){const b=w.context(),y=r(6,b.offset,b.startLoc);let v=w.nextToken();if(v.type===9){const $=u(w);y.modifier=$.node,v=$.nextConsumeToken||w.nextToken()}switch(v.type!==10&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),v=w.nextToken(),v.type===2&&(v=w.nextToken()),v.type){case 11:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=d(w,v.value||"");break;case 5:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=l(w,v.value||"");break;case 6:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=i(w,v.value||"");break;case 7:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=c(w,v.value||"");break;default:s(w,ve.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const $=w.context(),S=r(7,$.offset,$.startLoc);return S.value="",o(S,$.offset,$.startLoc),y.key=S,o(y,$.offset,$.startLoc),{nextConsumeToken:v,node:y}}return o(y,w.currentOffset(),w.currentPosition()),{node:y}}function k(w){const b=w.context(),y=b.currentType===1?w.currentOffset():b.offset,v=b.currentType===1?b.endLoc:b.startLoc,$=r(2,y,v);$.items=[];let S=null;do{const N=S||w.nextToken();switch(S=null,N.type){case 0:N.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(N)),$.items.push(a(w,N.value||""));break;case 6:N.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(N)),$.items.push(i(w,N.value||""));break;case 5:N.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(N)),$.items.push(l(w,N.value||""));break;case 7:N.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(N)),$.items.push(c(w,N.value||""));break;case 8:const z=h(w);$.items.push(z.node),S=z.nextConsumeToken||null;break}}while(b.currentType!==14&&b.currentType!==1);const T=b.currentType===1?b.lastOffset:w.currentOffset(),x=b.currentType===1?b.lastEndLoc:w.currentPosition();return o($,T,x),$}function g(w,b,y,v){const $=w.context();let S=v.items.length===0;const T=r(1,b,y);T.cases=[],T.cases.push(v);do{const x=k(w);S||(S=x.items.length===0),T.cases.push(x)}while($.currentType!==14);return S&&s(w,ve.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),o(T,w.currentOffset(),w.currentPosition()),T}function _(w){const b=w.context(),{offset:y,startLoc:v}=b,$=k(w);return b.currentType===14?$:g(w,y,v,$)}function E(w){const b=Tg(w,qd({},e)),y=b.context(),v=r(0,y.offset,y.startLoc);return t&&v.loc&&(v.loc.source=w),v.body=_(b),e.onCacheKey&&(v.cacheKey=e.onCacheKey(w)),y.currentType!==14&&s(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,w[y.offset]||""),o(v,b.currentOffset(),b.currentPosition()),v}return{parse:E}}function Kt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Mg(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function tc(e,t){for(let n=0;nnc(n)),e}function nc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function c(E,w){i.code+=E}function u(E,w=!0){const b=w?r:"";c(o?b+" ".repeat(E):b)}function d(E=!0){const w=++i.indentLevel;E&&u(w)}function h(E=!0){const w=--i.indentLevel;E&&u(w)}function k(){u(i.indentLevel)}return{context:l,push:c,indent:d,deindent:h,newline:k,helper:E=>`_${E}`,needIndent:()=>i.needIndent}}function Ug(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),$s(e,t.key),t.modifier?(e.push(", "),$s(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Hg(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let o=0;o{const n=Zl(t.mode)?t.mode:"normal",s=Zl(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=jg(e,{mode:n,filename:s,sourceMap:r,breakLineCode:o,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),i.length>0&&(l.push(`const { ${Jd(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),$s(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Wg(e,t={}){const n=qd({},t),s=!!n.jit,r=!!n.minify,o=n.optimize==null?!0:n.optimize,i=Ng(n).parse(e);return s?(o&&Rg(i),r&&ds(i),{ast:i,code:""}):(Pg(i,n),Gg(i,n))}/*! + */function bg(e,t,n){return{line:e,column:t,offset:n}}function Fo(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const _g=/\{([0-9a-zA-Z]+)\}/g;function vg(e,...t){return t.length===1&&yg(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(_g,(n,s)=>t.hasOwnProperty(s)?t[s]:"")}const qd=Object.assign,Zl=e=>typeof e=="string",yg=e=>e!==null&&typeof e=="object";function Yd(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},wg={[ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Is(e,t,n={}){const{domain:s,messages:r,args:a}=n,o=vg((r||wg)[e]||"",...a||[]),i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=s,i}function kg(e){throw e}const nn=" ",Eg="\r",ht=` +`,$g="\u2028",Sg="\u2029";function Cg(e){const t=e;let n=0,s=1,r=1,a=0;const o=T=>t[T]===Eg&&t[T+1]===ht,i=T=>t[T]===ht,l=T=>t[T]===Sg,c=T=>t[T]===$g,u=T=>o(T)||i(T)||l(T)||c(T),d=()=>n,h=()=>s,k=()=>r,g=()=>a,_=T=>o(T)||l(T)||c(T)?ht:t[T],E=()=>_(n),w=()=>_(n+a);function b(){return a=0,u(n)&&(s++,r=0),o(n)&&n++,n++,r++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function v(){n=0,s=1,r=1,a=0}function $(T=0){a=T}function S(){const T=n+a;for(;T!==n;)b();a=0}return{index:d,line:h,column:k,peekOffset:g,charAt:_,currentChar:E,currentPeek:w,next:b,peek:y,reset:v,resetPeek:$,skipToPeek:S}}const vn=void 0,xg=".",ec="'",Ag="tokenizer";function Tg(e,t={}){const n=t.location!==!1,s=Cg(e),r=()=>s.index(),a=()=>bg(s.line(),s.column(),s.index()),o=a(),i=r(),l={currentType:14,offset:i,startLoc:o,endLoc:o,lastType:14,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(p,f,C,...L){const N=c();if(f.column+=C,f.offset+=C,u){const B=n?Fo(N.startLoc,f):null,ee=Is(p,B,{domain:Ag,args:L});u(ee)}}function h(p,f,C){p.endLoc=a(),p.currentType=f;const L={type:f};return n&&(L.loc=Fo(p.startLoc,p.endLoc)),C!=null&&(L.value=C),L}const k=p=>h(p,14);function g(p,f){return p.currentChar()===f?(p.next(),f):(d(ve.EXPECTED_TOKEN,a(),0,f),"")}function _(p){let f="";for(;p.currentPeek()===nn||p.currentPeek()===ht;)f+=p.currentPeek(),p.peek();return f}function E(p){const f=_(p);return p.skipToPeek(),f}function w(p){if(p===vn)return!1;const f=p.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function b(p){if(p===vn)return!1;const f=p.charCodeAt(0);return f>=48&&f<=57}function y(p,f){const{currentType:C}=f;if(C!==2)return!1;_(p);const L=w(p.currentPeek());return p.resetPeek(),L}function v(p,f){const{currentType:C}=f;if(C!==2)return!1;_(p);const L=p.currentPeek()==="-"?p.peek():p.currentPeek(),N=b(L);return p.resetPeek(),N}function $(p,f){const{currentType:C}=f;if(C!==2)return!1;_(p);const L=p.currentPeek()===ec;return p.resetPeek(),L}function S(p,f){const{currentType:C}=f;if(C!==8)return!1;_(p);const L=p.currentPeek()===".";return p.resetPeek(),L}function T(p,f){const{currentType:C}=f;if(C!==9)return!1;_(p);const L=w(p.currentPeek());return p.resetPeek(),L}function x(p,f){const{currentType:C}=f;if(!(C===8||C===12))return!1;_(p);const L=p.currentPeek()===":";return p.resetPeek(),L}function M(p,f){const{currentType:C}=f;if(C!==10)return!1;const L=()=>{const B=p.currentPeek();return B==="{"?w(p.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===nn||!B?!1:B===ht?(p.peek(),L()):w(B)},N=L();return p.resetPeek(),N}function z(p){_(p);const f=p.currentPeek()==="|";return p.resetPeek(),f}function q(p){const f=_(p),C=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:C,hasSpace:f.length>0}}function G(p,f=!0){const C=(N=!1,B="",ee=!1)=>{const J=p.currentPeek();return J==="{"?B==="%"?!1:N:J==="@"||!J?B==="%"?!0:N:J==="%"?(p.peek(),C(N,"%",!0)):J==="|"?B==="%"||ee?!0:!(B===nn||B===ht):J===nn?(p.peek(),C(!0,nn,ee)):J===ht?(p.peek(),C(!0,ht,ee)):!0},L=C();return f&&p.resetPeek(),L}function re(p,f){const C=p.currentChar();return C===vn?vn:f(C)?(p.next(),C):null}function we(p){return re(p,C=>{const L=C.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36})}function ce(p){return re(p,C=>{const L=C.charCodeAt(0);return L>=48&&L<=57})}function ae(p){return re(p,C=>{const L=C.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102})}function Q(p){let f="",C="";for(;f=ce(p);)C+=f;return C}function D(p){E(p);const f=p.currentChar();return f!=="%"&&d(ve.EXPECTED_TOKEN,a(),0,f),p.next(),"%"}function Y(p){let f="";for(;;){const C=p.currentChar();if(C==="{"||C==="}"||C==="@"||C==="|"||!C)break;if(C==="%")if(G(p))f+=C,p.next();else break;else if(C===nn||C===ht)if(G(p))f+=C,p.next();else{if(z(p))break;f+=C,p.next()}else f+=C,p.next()}return f}function oe(p){E(p);let f="",C="";for(;f=we(p);)C+=f;return p.currentChar()===vn&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),C}function ge(p){E(p);let f="";return p.currentChar()==="-"?(p.next(),f+=`-${Q(p)}`):f+=Q(p),p.currentChar()===vn&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),f}function _e(p){E(p),g(p,"'");let f="",C="";const L=B=>B!==ec&&B!==ht;for(;f=re(p,L);)f==="\\"?C+=Ge(p):C+=f;const N=p.currentChar();return N===ht||N===vn?(d(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),N===ht&&(p.next(),g(p,"'")),C):(g(p,"'"),C)}function Ge(p){const f=p.currentChar();switch(f){case"\\":case"'":return p.next(),`\\${f}`;case"u":return Ne(p,f,4);case"U":return Ne(p,f,6);default:return d(ve.UNKNOWN_ESCAPE_SEQUENCE,a(),0,f),""}}function Ne(p,f,C){g(p,f);let L="";for(let N=0;NN!=="{"&&N!=="}"&&N!==nn&&N!==ht;for(;f=re(p,L);)C+=f;return C}function Re(p){let f="",C="";for(;f=we(p);)C+=f;return C}function H(p){const f=(C=!1,L)=>{const N=p.currentChar();return N==="{"||N==="%"||N==="@"||N==="|"||N==="("||N===")"||!N||N===nn?L:N===ht||N===xg?(L+=N,p.next(),f(C,L)):(L+=N,p.next(),f(!0,L))};return f(!1,"")}function se(p){E(p);const f=g(p,"|");return E(p),f}function Z(p,f){let C=null;switch(p.currentChar()){case"{":return f.braceNest>=1&&d(ve.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),p.next(),C=h(f,2,"{"),E(p),f.braceNest++,C;case"}":return f.braceNest>0&&f.currentType===2&&d(ve.EMPTY_PLACEHOLDER,a(),0),p.next(),C=h(f,3,"}"),f.braceNest--,f.braceNest>0&&E(p),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),C;case"@":return f.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),C=ie(p,f)||k(f),f.braceNest=0,C;default:let N=!0,B=!0,ee=!0;if(z(p))return f.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),C=h(f,1,se(p)),f.braceNest=0,f.inLinked=!1,C;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),f.braceNest=0,ke(p,f);if(N=y(p,f))return C=h(f,5,oe(p)),E(p),C;if(B=v(p,f))return C=h(f,6,ge(p)),E(p),C;if(ee=$(p,f))return C=h(f,7,_e(p)),E(p),C;if(!N&&!B&&!ee)return C=h(f,13,Se(p)),d(ve.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,C.value),E(p),C;break}return C}function ie(p,f){const{currentType:C}=f;let L=null;const N=p.currentChar();switch((C===8||C===9||C===12||C===10)&&(N===ht||N===nn)&&d(ve.INVALID_LINKED_FORMAT,a(),0),N){case"@":return p.next(),L=h(f,8,"@"),f.inLinked=!0,L;case".":return E(p),p.next(),h(f,9,".");case":":return E(p),p.next(),h(f,10,":");default:return z(p)?(L=h(f,1,se(p)),f.braceNest=0,f.inLinked=!1,L):S(p,f)||x(p,f)?(E(p),ie(p,f)):T(p,f)?(E(p),h(f,12,Re(p))):M(p,f)?(E(p),N==="{"?Z(p,f)||L:h(f,11,H(p))):(C===8&&d(ve.INVALID_LINKED_FORMAT,a(),0),f.braceNest=0,f.inLinked=!1,ke(p,f))}}function ke(p,f){let C={type:14};if(f.braceNest>0)return Z(p,f)||k(f);if(f.inLinked)return ie(p,f)||k(f);switch(p.currentChar()){case"{":return Z(p,f)||k(f);case"}":return d(ve.UNBALANCED_CLOSING_BRACE,a(),0),p.next(),h(f,3,"}");case"@":return ie(p,f)||k(f);default:if(z(p))return C=h(f,1,se(p)),f.braceNest=0,f.inLinked=!1,C;const{isModulo:N,hasSpace:B}=q(p);if(N)return B?h(f,0,Y(p)):h(f,4,D(p));if(G(p))return h(f,0,Y(p));break}return C}function Oe(){const{currentType:p,offset:f,startLoc:C,endLoc:L}=l;return l.lastType=p,l.lastOffset=f,l.lastStartLoc=C,l.lastEndLoc=L,l.offset=r(),l.startLoc=a(),s.currentChar()===vn?h(l,14):ke(s,l)}return{nextToken:Oe,currentOffset:r,currentPosition:a,context:c}}const Lg="parser",Og=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ig(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Mg(e={}){const t=e.location!==!1,{onError:n}=e;function s(w,b,y,v,...$){const S=w.currentPosition();if(S.offset+=v,S.column+=v,n){const T=t?Fo(y,S):null,x=Is(b,T,{domain:Lg,args:$});n(x)}}function r(w,b,y){const v={type:w};return t&&(v.start=b,v.end=b,v.loc={start:y,end:y}),v}function a(w,b,y,v){v&&(w.type=v),t&&(w.end=b,w.loc&&(w.loc.end=y))}function o(w,b){const y=w.context(),v=r(3,y.offset,y.startLoc);return v.value=b,a(v,w.currentOffset(),w.currentPosition()),v}function i(w,b){const y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(5,v,$);return S.index=parseInt(b,10),w.nextToken(),a(S,w.currentOffset(),w.currentPosition()),S}function l(w,b){const y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(4,v,$);return S.key=b,w.nextToken(),a(S,w.currentOffset(),w.currentPosition()),S}function c(w,b){const y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(9,v,$);return S.value=b.replace(Og,Ig),w.nextToken(),a(S,w.currentOffset(),w.currentPosition()),S}function u(w){const b=w.nextToken(),y=w.context(),{lastOffset:v,lastStartLoc:$}=y,S=r(8,v,$);return b.type!==12?(s(w,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),S.value="",a(S,v,$),{nextConsumeToken:b,node:S}):(b.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Kt(b)),S.value=b.value||"",a(S,w.currentOffset(),w.currentPosition()),{node:S})}function d(w,b){const y=w.context(),v=r(7,y.offset,y.startLoc);return v.value=b,a(v,w.currentOffset(),w.currentPosition()),v}function h(w){const b=w.context(),y=r(6,b.offset,b.startLoc);let v=w.nextToken();if(v.type===9){const $=u(w);y.modifier=$.node,v=$.nextConsumeToken||w.nextToken()}switch(v.type!==10&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),v=w.nextToken(),v.type===2&&(v=w.nextToken()),v.type){case 11:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=d(w,v.value||"");break;case 5:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=l(w,v.value||"");break;case 6:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=i(w,v.value||"");break;case 7:v.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(v)),y.key=c(w,v.value||"");break;default:s(w,ve.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const $=w.context(),S=r(7,$.offset,$.startLoc);return S.value="",a(S,$.offset,$.startLoc),y.key=S,a(y,$.offset,$.startLoc),{nextConsumeToken:v,node:y}}return a(y,w.currentOffset(),w.currentPosition()),{node:y}}function k(w){const b=w.context(),y=b.currentType===1?w.currentOffset():b.offset,v=b.currentType===1?b.endLoc:b.startLoc,$=r(2,y,v);$.items=[];let S=null;do{const M=S||w.nextToken();switch(S=null,M.type){case 0:M.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(M)),$.items.push(o(w,M.value||""));break;case 6:M.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(M)),$.items.push(i(w,M.value||""));break;case 5:M.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(M)),$.items.push(l(w,M.value||""));break;case 7:M.value==null&&s(w,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Kt(M)),$.items.push(c(w,M.value||""));break;case 8:const z=h(w);$.items.push(z.node),S=z.nextConsumeToken||null;break}}while(b.currentType!==14&&b.currentType!==1);const T=b.currentType===1?b.lastOffset:w.currentOffset(),x=b.currentType===1?b.lastEndLoc:w.currentPosition();return a($,T,x),$}function g(w,b,y,v){const $=w.context();let S=v.items.length===0;const T=r(1,b,y);T.cases=[],T.cases.push(v);do{const x=k(w);S||(S=x.items.length===0),T.cases.push(x)}while($.currentType!==14);return S&&s(w,ve.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),a(T,w.currentOffset(),w.currentPosition()),T}function _(w){const b=w.context(),{offset:y,startLoc:v}=b,$=k(w);return b.currentType===14?$:g(w,y,v,$)}function E(w){const b=Tg(w,qd({},e)),y=b.context(),v=r(0,y.offset,y.startLoc);return t&&v.loc&&(v.loc.source=w),v.body=_(b),e.onCacheKey&&(v.cacheKey=e.onCacheKey(w)),y.currentType!==14&&s(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,w[y.offset]||""),a(v,b.currentOffset(),b.currentPosition()),v}return{parse:E}}function Kt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Ng(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function tc(e,t){for(let n=0;nnc(n)),e}function nc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function c(E,w){i.code+=E}function u(E,w=!0){const b=w?r:"";c(a?b+" ".repeat(E):b)}function d(E=!0){const w=++i.indentLevel;E&&u(w)}function h(E=!0){const w=--i.indentLevel;E&&u(w)}function k(){u(i.indentLevel)}return{context:l,push:c,indent:d,deindent:h,newline:k,helper:E=>`_${E}`,needIndent:()=>i.needIndent}}function Ug(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),$s(e,t.key),t.modifier?(e.push(", "),$s(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Hg(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let a=0;a1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let a=0;a{const n=Zl(t.mode)?t.mode:"normal",s=Zl(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=jg(e,{mode:n,filename:s,sourceMap:r,breakLineCode:a,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),i.length>0&&(l.push(`const { ${Yd(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),$s(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Wg(e,t={}){const n=qd({},t),s=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,i=Mg(n).parse(e);return s?(a&&Rg(i),r&&ds(i),{ast:i,code:""}):(Pg(i,n),Gg(i,n))}/*! * core-base v9.9.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function zg(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(an().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(an().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(an().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const jn=[];jn[0]={w:[0],i:[3,0],"[":[4],o:[7]};jn[1]={w:[1],".":[2],"[":[4],o:[7]};jn[2]={w:[2],i:[3,0],0:[3,0]};jn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};jn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};jn[5]={"'":[4,0],o:8,l:[5,0]};jn[6]={'"':[4,0],o:8,l:[6,0]};const Kg=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function qg(e){return Kg.test(e)}function Jg(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Yg(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Xg(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:qg(t)?Jg(t):"*"+t}function Qg(e){const t=[];let n=-1,s=0,r=0,o,a,i,l,c,u,d;const h=[];h[0]=()=>{a===void 0?a=i:a+=i},h[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,s=4,h[0]();else{if(r=0,a===void 0||(a=Xg(a),a===!1))return!1;h[1]()}};function k(){const g=e[n+1];if(s===5&&g==="'"||s===6&&g==='"')return n++,i="\\"+g,h[0](),!0}for(;s!==null;)if(n++,o=e[n],!(o==="\\"&&k())){if(l=Yg(o),d=jn[s],c=d[l]||d.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(i=o,u()===!1))))return;if(s===7)return t}}const sc=new Map;function Zg(e,t){return Ue(e)?e[t]:null}function e0(e,t){if(!Ue(e))return null;let n=sc.get(t);if(n||(n=Qg(t),n&&sc.set(t,n)),!n)return null;const s=n.length;let r=e,o=0;for(;oe,n0=e=>"",s0="text",r0=e=>e.length===0?"":hg(e),o0=mg;function rc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function a0(e){const t=ot(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ot(e.named.count)||ot(e.named.n))?ot(e.named.count)?e.named.count:ot(e.named.n)?e.named.n:t:t}function i0(e,t){t.count||(t.count=e),t.n||(t.n=e)}function l0(e={}){const t=e.locale,n=a0(e),s=Ue(e.pluralRules)&&le(t)&&We(e.pluralRules[t])?e.pluralRules[t]:rc,r=Ue(e.pluralRules)&&le(t)&&We(e.pluralRules[t])?rc:void 0,o=w=>w[s(n,w.length,r)],a=e.list||[],i=w=>a[w],l=e.named||{};ot(e.pluralIndex)&&i0(n,l);const c=w=>l[w];function u(w){const b=We(e.messages)?e.messages(w):Ue(e.messages)?e.messages[w]:!1;return b||(e.parent?e.parent.message(w):n0)}const d=w=>e.modifiers?e.modifiers[w]:t0,h=Ee(e.processor)&&We(e.processor.normalize)?e.processor.normalize:r0,k=Ee(e.processor)&&We(e.processor.interpolate)?e.processor.interpolate:o0,g=Ee(e.processor)&&le(e.processor.type)?e.processor.type:s0,E={list:i,named:c,plural:o,linked:(w,...b)=>{const[y,v]=b;let $="text",S="";b.length===1?Ue(y)?(S=y.modifier||S,$=y.type||$):le(y)&&(S=y||S):b.length===2&&(le(y)&&(S=y||S),le(v)&&($=v||$));const T=u(w)(E),x=$==="vnode"&&qe(T)&&S?T[0]:T;return S?d(S)(x,$):x},message:u,type:g,interpolate:k,normalize:h,values:ut({},a,l)};return E}let pr=null;function c0(e){pr=e}function u0(e,t,n){pr&&pr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const d0=f0("function:translate");function f0(e){return t=>pr&&pr.emit(e,t)}const p0={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Yd=ve.__EXTEND_POINT__,Bn=Fi(Yd),Ut={INVALID_ARGUMENT:Yd,INVALID_DATE_ARGUMENT:Bn(),INVALID_ISO_DATE_ARGUMENT:Bn(),NOT_SUPPORT_NON_STRING_MESSAGE:Bn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Bn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Bn(),NOT_SUPPORT_LOCALE_TYPE:Bn(),__EXTEND_POINT__:Bn()};function Yt(e){return Is(e,null,void 0)}function Ui(e,t){return t.locale!=null?oc(t.locale):oc(e.locale)}let aa;function oc(e){if(le(e))return e;if(We(e)){if(e.resolvedOnce&&aa!=null)return aa;if(e.constructor.name==="Function"){const t=e();if(pg(t))throw Yt(Ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return aa=t}else throw Yt(Ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Yt(Ut.NOT_SUPPORT_LOCALE_TYPE)}function m0(e,t,n){return[...new Set([n,...qe(t)?t:Ue(t)?Object.keys(t):le(t)?[t]:[n]])]}function Xd(e,t,n){const s=le(n)?n:Ss,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(s);if(!o){o=[];let a=[n];for(;qe(a);)a=ac(o,a,t);const i=qe(t)||!Ee(t)?t:t.default?t.default:null;a=le(i)?[i]:i,qe(a)&&ac(o,a,!1),r.__localeChainCache.set(s,o)}return o}function ac(e,t,n){let s=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function _0(){return{upper:(e,t)=>t==="text"&&le(e)?e.toUpperCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&le(e)?e.toLowerCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&le(e)?lc(e):t==="vnode"&&Ue(e)&&"__v_isVNode"in e?lc(e.children):e}}let Qd;function cc(e){Qd=e}let Zd;function v0(e){Zd=e}let ef;function y0(e){ef=e}let tf=null;const w0=e=>{tf=e},k0=()=>tf;let nf=null;const uc=e=>{nf=e},E0=()=>nf;let dc=0;function $0(e={}){const t=We(e.onWarn)?e.onWarn:gg,n=le(e.version)?e.version:b0,s=le(e.locale)||We(e.locale)?e.locale:Ss,r=We(s)?Ss:s,o=qe(e.fallbackLocale)||Ee(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=Ee(e.messages)?e.messages:{[r]:{}},i=Ee(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=Ee(e.numberFormats)?e.numberFormats:{[r]:{}},c=ut({},e.modifiers||{},_0()),u=e.pluralRules||{},d=We(e.missing)?e.missing:null,h=xe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,k=xe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,_=!!e.unresolving,E=We(e.postTranslation)?e.postTranslation:null,w=Ee(e.processor)?e.processor:null,b=xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,v=We(e.messageCompiler)?e.messageCompiler:Qd,$=We(e.messageResolver)?e.messageResolver:Zd||Zg,S=We(e.localeFallbacker)?e.localeFallbacker:ef||m0,T=Ue(e.fallbackContext)?e.fallbackContext:void 0,x=e,N=Ue(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,z=Ue(x.__numberFormatters)?x.__numberFormatters:new Map,q=Ue(x.__meta)?x.__meta:{};dc++;const G={version:n,cid:dc,locale:s,fallbackLocale:o,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:k,fallbackFormat:g,unresolving:_,postTranslation:E,processor:w,warnHtmlMessage:b,escapeParameter:y,messageCompiler:v,messageResolver:$,localeFallbacker:S,fallbackContext:T,onWarn:t,__meta:q};return G.datetimeFormats=i,G.numberFormats=l,G.__datetimeFormatters=N,G.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&u0(G,n,q),G}function Hi(e,t,n,s,r){const{missing:o,onWarn:a}=e;if(o!==null){const i=o(e,n,t,r);return le(i)?i:t}else return t}function Fs(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ia(e){return n=>S0(n,e)}function S0(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,r=s.c||s.cases;return e.plural(r.reduce((o,a)=>[...o,fc(e,a)],[]))}else return fc(e,n)}function fc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((r,o)=>[...r,Fa(e,o)],[]);return e.normalize(s)}}function Fa(e,t){const n=t.t||t.type;switch(n){case 3:const s=t;return s.v||s.value;case 9:const r=t;return r.v||r.value;case 4:const o=t;return e.interpolate(e.named(o.k||o.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const i=t,l=i.m||i.modifier;return e.linked(Fa(e,i.k||i.key),l?Fa(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const sf=e=>e;let ps=Object.create(null);const Cs=e=>Ue(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function rf(e,t={}){let n=!1;const s=t.onError||kg;return t.onError=r=>{n=!0,s(r)},{...Wg(e,t),detectError:n}}const C0=(e,t)=>{if(!le(e))throw Yt(Ut.NOT_SUPPORT_NON_STRING_MESSAGE);{xe(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||sf)(e),r=ps[s];if(r)return r;const{code:o,detectError:a}=rf(e,t),i=new Function(`return ${o}`)();return a?i:ps[s]=i}};function x0(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&le(e)){xe(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||sf)(e),r=ps[s];if(r)return r;const{ast:o,detectError:a}=rf(e,{...t,location:!1,jit:!0}),i=ia(o);return a?i:ps[s]=i}else{const n=e.cacheKey;if(n){const s=ps[n];return s||(ps[n]=ia(e))}else return ia(e)}}const pc=()=>"",Ot=e=>We(e);function mc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:o,fallbackLocale:a,messages:i}=e,[l,c]=ja(...t),u=xe(c.missingWarn)?c.missingWarn:e.missingWarn,d=xe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=xe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,g=le(c.default)||xe(c.default)?xe(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",_=n||g!=="",E=Ui(e,c);h&&A0(c);let[w,b,y]=k?[l,E,i[E]||{}]:of(e,l,E,a,d,u),v=w,$=l;if(!k&&!(le(v)||Cs(v)||Ot(v))&&_&&(v=g,$=v),!k&&(!(le(v)||Cs(v)||Ot(v))||!le(b)))return r?Fo:l;let S=!1;const T=()=>{S=!0},x=Ot(v)?v:af(e,l,b,v,$,T);if(S)return v;const N=O0(e,b,y,c),z=l0(N),q=T0(e,x,z),G=s?s(q,l):q;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:le(l)?l:Ot(v)?v.key:"",locale:b||(Ot(v)?v.locale:""),format:le(v)?v:Ot(v)?v.source:"",message:G};re.meta=ut({},e.__meta,k0()||{}),d0(re)}return G}function A0(e){qe(e.list)?e.list=e.list.map(t=>le(t)?Ql(t):t):Ue(e.named)&&Object.keys(e.named).forEach(t=>{le(e.named[t])&&(e.named[t]=Ql(e.named[t]))})}function of(e,t,n,s,r,o){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,s,n);let d={},h,k=null;const g="translate";for(let _=0;_s;return c.locale=n,c.key=t,c}const l=a(s,L0(e,n,r,s,i,o));return l.locale=n,l.key=t,l.source=s,l}function T0(e,t,n){return t(n)}function ja(...e){const[t,n,s]=e,r={};if(!le(t)&&!ot(t)&&!Ot(t)&&!Cs(t))throw Yt(Ut.INVALID_ARGUMENT);const o=ot(t)?String(t):(Ot(t),t);return ot(n)?r.plural=n:le(n)?r.default=n:Ee(n)&&!Do(n)?r.named=n:qe(n)&&(r.list=n),ot(s)?r.plural=s:le(s)?r.default=s:Ee(s)&&ut(r,s),[o,r]}function L0(e,t,n,s,r,o){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw o&&o(a),a},onCacheKey:a=>cg(t,n,a)}}function O0(e,t,n,s){const{modifiers:r,pluralRules:o,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:r,pluralRules:o,messages:k=>{let g=a(n,k);if(g==null&&u){const[,,_]=of(u,k,t,i,l,c);g=a(_,k)}if(le(g)||Cs(g)){let _=!1;const w=af(e,k,t,g,k,()=>{_=!0});return _?pc:w}else return Ot(g)?g:pc}};return e.processor&&(h.processor=e.processor),s.list&&(h.list=s.list),s.named&&(h.named=s.named),ot(s.plural)&&(h.pluralIndex=s.plural),h}function hc(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=Ua(...t),h=xe(u.missingWarn)?u.missingWarn:e.missingWarn;xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,g=Ui(e,u),_=a(e,r,g);if(!le(l)||l==="")return new Intl.DateTimeFormat(g,d).format(c);let E={},w,b=null;const y="datetime format";for(let S=0;S<_.length&&(w=_[S],E=n[w]||{},b=E[l],!Ee(b));S++)Hi(e,l,w,h,y);if(!Ee(b)||!le(w))return s?Fo:l;let v=`${w}__${l}`;Do(d)||(v=`${v}__${JSON.stringify(d)}`);let $=i.get(v);return $||($=new Intl.DateTimeFormat(w,ut({},b,d)),i.set(v,$)),k?$.formatToParts(c):$.format(c)}const lf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ua(...e){const[t,n,s,r]=e,o={};let a={},i;if(le(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Yt(Ut.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw Yt(Ut.INVALID_ISO_DATE_ARGUMENT)}}else if(dg(t)){if(isNaN(t.getTime()))throw Yt(Ut.INVALID_DATE_ARGUMENT);i=t}else if(ot(t))i=t;else throw Yt(Ut.INVALID_ARGUMENT);return le(n)?o.key=n:Ee(n)&&Object.keys(n).forEach(l=>{lf.includes(l)?a[l]=n[l]:o[l]=n[l]}),le(s)?o.locale=s:Ee(s)&&(a=s),Ee(r)&&(a=r),[o.key||"",i,o,a]}function gc(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__datetimeFormatters.has(o)&&s.__datetimeFormatters.delete(o)}}function bc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,u,d]=Ha(...t),h=xe(u.missingWarn)?u.missingWarn:e.missingWarn;xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,g=Ui(e,u),_=a(e,r,g);if(!le(l)||l==="")return new Intl.NumberFormat(g,d).format(c);let E={},w,b=null;const y="number format";for(let S=0;S<_.length&&(w=_[S],E=n[w]||{},b=E[l],!Ee(b));S++)Hi(e,l,w,h,y);if(!Ee(b)||!le(w))return s?Fo:l;let v=`${w}__${l}`;Do(d)||(v=`${v}__${JSON.stringify(d)}`);let $=i.get(v);return $||($=new Intl.NumberFormat(w,ut({},b,d)),i.set(v,$)),k?$.formatToParts(c):$.format(c)}const cf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ha(...e){const[t,n,s,r]=e,o={};let a={};if(!ot(t))throw Yt(Ut.INVALID_ARGUMENT);const i=t;return le(n)?o.key=n:Ee(n)&&Object.keys(n).forEach(l=>{cf.includes(l)?a[l]=n[l]:o[l]=n[l]}),le(s)?o.locale=s:Ee(s)&&(a=s),Ee(r)&&(a=r),[o.key||"",i,o,a]}function _c(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__numberFormatters.has(o)&&s.__numberFormatters.delete(o)}}zg();/*! + */function zg(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(on().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(on().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(on().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const jn=[];jn[0]={w:[0],i:[3,0],"[":[4],o:[7]};jn[1]={w:[1],".":[2],"[":[4],o:[7]};jn[2]={w:[2],i:[3,0],0:[3,0]};jn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};jn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};jn[5]={"'":[4,0],o:8,l:[5,0]};jn[6]={'"':[4,0],o:8,l:[6,0]};const Kg=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function qg(e){return Kg.test(e)}function Yg(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Jg(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Xg(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:qg(t)?Yg(t):"*"+t}function Qg(e){const t=[];let n=-1,s=0,r=0,a,o,i,l,c,u,d;const h=[];h[0]=()=>{o===void 0?o=i:o+=i},h[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,s=4,h[0]();else{if(r=0,o===void 0||(o=Xg(o),o===!1))return!1;h[1]()}};function k(){const g=e[n+1];if(s===5&&g==="'"||s===6&&g==='"')return n++,i="\\"+g,h[0](),!0}for(;s!==null;)if(n++,a=e[n],!(a==="\\"&&k())){if(l=Jg(a),d=jn[s],c=d[l]||d.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(i=a,u()===!1))))return;if(s===7)return t}}const sc=new Map;function Zg(e,t){return Ue(e)?e[t]:null}function e0(e,t){if(!Ue(e))return null;let n=sc.get(t);if(n||(n=Qg(t),n&&sc.set(t,n)),!n)return null;const s=n.length;let r=e,a=0;for(;ae,n0=e=>"",s0="text",r0=e=>e.length===0?"":hg(e),a0=mg;function rc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function o0(e){const t=at(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(at(e.named.count)||at(e.named.n))?at(e.named.count)?e.named.count:at(e.named.n)?e.named.n:t:t}function i0(e,t){t.count||(t.count=e),t.n||(t.n=e)}function l0(e={}){const t=e.locale,n=o0(e),s=Ue(e.pluralRules)&&le(t)&&We(e.pluralRules[t])?e.pluralRules[t]:rc,r=Ue(e.pluralRules)&&le(t)&&We(e.pluralRules[t])?rc:void 0,a=w=>w[s(n,w.length,r)],o=e.list||[],i=w=>o[w],l=e.named||{};at(e.pluralIndex)&&i0(n,l);const c=w=>l[w];function u(w){const b=We(e.messages)?e.messages(w):Ue(e.messages)?e.messages[w]:!1;return b||(e.parent?e.parent.message(w):n0)}const d=w=>e.modifiers?e.modifiers[w]:t0,h=Ee(e.processor)&&We(e.processor.normalize)?e.processor.normalize:r0,k=Ee(e.processor)&&We(e.processor.interpolate)?e.processor.interpolate:a0,g=Ee(e.processor)&&le(e.processor.type)?e.processor.type:s0,E={list:i,named:c,plural:a,linked:(w,...b)=>{const[y,v]=b;let $="text",S="";b.length===1?Ue(y)?(S=y.modifier||S,$=y.type||$):le(y)&&(S=y||S):b.length===2&&(le(y)&&(S=y||S),le(v)&&($=v||$));const T=u(w)(E),x=$==="vnode"&&qe(T)&&S?T[0]:T;return S?d(S)(x,$):x},message:u,type:g,interpolate:k,normalize:h,values:ut({},o,l)};return E}let pr=null;function c0(e){pr=e}function u0(e,t,n){pr&&pr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const d0=f0("function:translate");function f0(e){return t=>pr&&pr.emit(e,t)}const p0={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Jd=ve.__EXTEND_POINT__,Bn=Di(Jd),Ut={INVALID_ARGUMENT:Jd,INVALID_DATE_ARGUMENT:Bn(),INVALID_ISO_DATE_ARGUMENT:Bn(),NOT_SUPPORT_NON_STRING_MESSAGE:Bn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Bn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Bn(),NOT_SUPPORT_LOCALE_TYPE:Bn(),__EXTEND_POINT__:Bn()};function Jt(e){return Is(e,null,void 0)}function Ui(e,t){return t.locale!=null?ac(t.locale):ac(e.locale)}let ao;function ac(e){if(le(e))return e;if(We(e)){if(e.resolvedOnce&&ao!=null)return ao;if(e.constructor.name==="Function"){const t=e();if(pg(t))throw Jt(Ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ao=t}else throw Jt(Ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Jt(Ut.NOT_SUPPORT_LOCALE_TYPE)}function m0(e,t,n){return[...new Set([n,...qe(t)?t:Ue(t)?Object.keys(t):le(t)?[t]:[n]])]}function Xd(e,t,n){const s=le(n)?n:Ss,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(s);if(!a){a=[];let o=[n];for(;qe(o);)o=oc(a,o,t);const i=qe(t)||!Ee(t)?t:t.default?t.default:null;o=le(i)?[i]:i,qe(o)&&oc(a,o,!1),r.__localeChainCache.set(s,a)}return a}function oc(e,t,n){let s=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function _0(){return{upper:(e,t)=>t==="text"&&le(e)?e.toUpperCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&le(e)?e.toLowerCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&le(e)?lc(e):t==="vnode"&&Ue(e)&&"__v_isVNode"in e?lc(e.children):e}}let Qd;function cc(e){Qd=e}let Zd;function v0(e){Zd=e}let ef;function y0(e){ef=e}let tf=null;const w0=e=>{tf=e},k0=()=>tf;let nf=null;const uc=e=>{nf=e},E0=()=>nf;let dc=0;function $0(e={}){const t=We(e.onWarn)?e.onWarn:gg,n=le(e.version)?e.version:b0,s=le(e.locale)||We(e.locale)?e.locale:Ss,r=We(s)?Ss:s,a=qe(e.fallbackLocale)||Ee(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,o=Ee(e.messages)?e.messages:{[r]:{}},i=Ee(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=Ee(e.numberFormats)?e.numberFormats:{[r]:{}},c=ut({},e.modifiers||{},_0()),u=e.pluralRules||{},d=We(e.missing)?e.missing:null,h=xe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,k=xe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,_=!!e.unresolving,E=We(e.postTranslation)?e.postTranslation:null,w=Ee(e.processor)?e.processor:null,b=xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,v=We(e.messageCompiler)?e.messageCompiler:Qd,$=We(e.messageResolver)?e.messageResolver:Zd||Zg,S=We(e.localeFallbacker)?e.localeFallbacker:ef||m0,T=Ue(e.fallbackContext)?e.fallbackContext:void 0,x=e,M=Ue(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,z=Ue(x.__numberFormatters)?x.__numberFormatters:new Map,q=Ue(x.__meta)?x.__meta:{};dc++;const G={version:n,cid:dc,locale:s,fallbackLocale:a,messages:o,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:k,fallbackFormat:g,unresolving:_,postTranslation:E,processor:w,warnHtmlMessage:b,escapeParameter:y,messageCompiler:v,messageResolver:$,localeFallbacker:S,fallbackContext:T,onWarn:t,__meta:q};return G.datetimeFormats=i,G.numberFormats=l,G.__datetimeFormatters=M,G.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&u0(G,n,q),G}function Hi(e,t,n,s,r){const{missing:a,onWarn:o}=e;if(a!==null){const i=a(e,n,t,r);return le(i)?i:t}else return t}function Ds(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function oo(e){return n=>S0(n,e)}function S0(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,r=s.c||s.cases;return e.plural(r.reduce((a,o)=>[...a,fc(e,o)],[]))}else return fc(e,n)}function fc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((r,a)=>[...r,Do(e,a)],[]);return e.normalize(s)}}function Do(e,t){const n=t.t||t.type;switch(n){case 3:const s=t;return s.v||s.value;case 9:const r=t;return r.v||r.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index));case 6:const i=t,l=i.m||i.modifier;return e.linked(Do(e,i.k||i.key),l?Do(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const sf=e=>e;let ps=Object.create(null);const Cs=e=>Ue(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function rf(e,t={}){let n=!1;const s=t.onError||kg;return t.onError=r=>{n=!0,s(r)},{...Wg(e,t),detectError:n}}const C0=(e,t)=>{if(!le(e))throw Jt(Ut.NOT_SUPPORT_NON_STRING_MESSAGE);{xe(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||sf)(e),r=ps[s];if(r)return r;const{code:a,detectError:o}=rf(e,t),i=new Function(`return ${a}`)();return o?i:ps[s]=i}};function x0(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&le(e)){xe(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||sf)(e),r=ps[s];if(r)return r;const{ast:a,detectError:o}=rf(e,{...t,location:!1,jit:!0}),i=oo(a);return o?i:ps[s]=i}else{const n=e.cacheKey;if(n){const s=ps[n];return s||(ps[n]=oo(e))}else return oo(e)}}const pc=()=>"",Ot=e=>We(e);function mc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:a,fallbackLocale:o,messages:i}=e,[l,c]=jo(...t),u=xe(c.missingWarn)?c.missingWarn:e.missingWarn,d=xe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=xe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,k=!!c.resolvedMessage,g=le(c.default)||xe(c.default)?xe(c.default)?a?l:()=>l:c.default:n?a?l:()=>l:"",_=n||g!=="",E=Ui(e,c);h&&A0(c);let[w,b,y]=k?[l,E,i[E]||{}]:af(e,l,E,o,d,u),v=w,$=l;if(!k&&!(le(v)||Cs(v)||Ot(v))&&_&&(v=g,$=v),!k&&(!(le(v)||Cs(v)||Ot(v))||!le(b)))return r?Fa:l;let S=!1;const T=()=>{S=!0},x=Ot(v)?v:of(e,l,b,v,$,T);if(S)return v;const M=O0(e,b,y,c),z=l0(M),q=T0(e,x,z),G=s?s(q,l):q;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:le(l)?l:Ot(v)?v.key:"",locale:b||(Ot(v)?v.locale:""),format:le(v)?v:Ot(v)?v.source:"",message:G};re.meta=ut({},e.__meta,k0()||{}),d0(re)}return G}function A0(e){qe(e.list)?e.list=e.list.map(t=>le(t)?Ql(t):t):Ue(e.named)&&Object.keys(e.named).forEach(t=>{le(e.named[t])&&(e.named[t]=Ql(e.named[t]))})}function af(e,t,n,s,r,a){const{messages:o,onWarn:i,messageResolver:l,localeFallbacker:c}=e,u=c(e,s,n);let d={},h,k=null;const g="translate";for(let _=0;_s;return c.locale=n,c.key=t,c}const l=o(s,L0(e,n,r,s,i,a));return l.locale=n,l.key=t,l.source=s,l}function T0(e,t,n){return t(n)}function jo(...e){const[t,n,s]=e,r={};if(!le(t)&&!at(t)&&!Ot(t)&&!Cs(t))throw Jt(Ut.INVALID_ARGUMENT);const a=at(t)?String(t):(Ot(t),t);return at(n)?r.plural=n:le(n)?r.default=n:Ee(n)&&!Ra(n)?r.named=n:qe(n)&&(r.list=n),at(s)?r.plural=s:le(s)?r.default=s:Ee(s)&&ut(r,s),[a,r]}function L0(e,t,n,s,r,a){return{locale:t,key:n,warnHtmlMessage:r,onError:o=>{throw a&&a(o),o},onCacheKey:o=>cg(t,n,o)}}function O0(e,t,n,s){const{modifiers:r,pluralRules:a,messageResolver:o,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:r,pluralRules:a,messages:k=>{let g=o(n,k);if(g==null&&u){const[,,_]=af(u,k,t,i,l,c);g=o(_,k)}if(le(g)||Cs(g)){let _=!1;const w=of(e,k,t,g,k,()=>{_=!0});return _?pc:w}else return Ot(g)?g:pc}};return e.processor&&(h.processor=e.processor),s.list&&(h.list=s.list),s.named&&(h.named=s.named),at(s.plural)&&(h.pluralIndex=s.plural),h}function hc(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:i}=e,[l,c,u,d]=Uo(...t),h=xe(u.missingWarn)?u.missingWarn:e.missingWarn;xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,g=Ui(e,u),_=o(e,r,g);if(!le(l)||l==="")return new Intl.DateTimeFormat(g,d).format(c);let E={},w,b=null;const y="datetime format";for(let S=0;S<_.length&&(w=_[S],E=n[w]||{},b=E[l],!Ee(b));S++)Hi(e,l,w,h,y);if(!Ee(b)||!le(w))return s?Fa:l;let v=`${w}__${l}`;Ra(d)||(v=`${v}__${JSON.stringify(d)}`);let $=i.get(v);return $||($=new Intl.DateTimeFormat(w,ut({},b,d)),i.set(v,$)),k?$.formatToParts(c):$.format(c)}const lf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Uo(...e){const[t,n,s,r]=e,a={};let o={},i;if(le(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Jt(Ut.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw Jt(Ut.INVALID_ISO_DATE_ARGUMENT)}}else if(dg(t)){if(isNaN(t.getTime()))throw Jt(Ut.INVALID_DATE_ARGUMENT);i=t}else if(at(t))i=t;else throw Jt(Ut.INVALID_ARGUMENT);return le(n)?a.key=n:Ee(n)&&Object.keys(n).forEach(l=>{lf.includes(l)?o[l]=n[l]:a[l]=n[l]}),le(s)?a.locale=s:Ee(s)&&(o=s),Ee(r)&&(o=r),[a.key||"",i,a,o]}function gc(e,t,n){const s=e;for(const r in n){const a=`${t}__${r}`;s.__datetimeFormatters.has(a)&&s.__datetimeFormatters.delete(a)}}function bc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:i}=e,[l,c,u,d]=Ho(...t),h=xe(u.missingWarn)?u.missingWarn:e.missingWarn;xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const k=!!u.part,g=Ui(e,u),_=o(e,r,g);if(!le(l)||l==="")return new Intl.NumberFormat(g,d).format(c);let E={},w,b=null;const y="number format";for(let S=0;S<_.length&&(w=_[S],E=n[w]||{},b=E[l],!Ee(b));S++)Hi(e,l,w,h,y);if(!Ee(b)||!le(w))return s?Fa:l;let v=`${w}__${l}`;Ra(d)||(v=`${v}__${JSON.stringify(d)}`);let $=i.get(v);return $||($=new Intl.NumberFormat(w,ut({},b,d)),i.set(v,$)),k?$.formatToParts(c):$.format(c)}const cf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ho(...e){const[t,n,s,r]=e,a={};let o={};if(!at(t))throw Jt(Ut.INVALID_ARGUMENT);const i=t;return le(n)?a.key=n:Ee(n)&&Object.keys(n).forEach(l=>{cf.includes(l)?o[l]=n[l]:a[l]=n[l]}),le(s)?a.locale=s:Ee(s)&&(o=s),Ee(r)&&(o=r),[a.key||"",i,a,o]}function _c(e,t,n){const s=e;for(const r in n){const a=`${t}__${r}`;s.__numberFormatters.has(a)&&s.__numberFormatters.delete(a)}}zg();/*! * vue-i18n v9.9.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const I0="9.9.1";function N0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(an().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(an().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(an().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(an().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(an().__INTLIFY_PROD_DEVTOOLS__=!1)}const uf=p0.__EXTEND_POINT__,yn=Fi(uf);yn(),yn(),yn(),yn(),yn(),yn(),yn(),yn();const df=Ut.__EXTEND_POINT__,bt=Fi(df),at={UNEXPECTED_RETURN_TYPE:df,INVALID_ARGUMENT:bt(),MUST_BE_CALL_SETUP_TOP:bt(),NOT_INSTALLED:bt(),NOT_AVAILABLE_IN_LEGACY_MODE:bt(),REQUIRED_VALUE:bt(),INVALID_VALUE:bt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:bt(),NOT_INSTALLED_WITH_PROVIDE:bt(),UNEXPECTED_ERROR:bt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:bt(),BRIDGE_SUPPORT_VUE_2_ONLY:bt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:bt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:bt(),__EXTEND_POINT__:bt()};function ct(e,...t){return Is(e,null,void 0)}const Va=Fn("__translateVNode"),Ba=Fn("__datetimeParts"),Ga=Fn("__numberParts"),ff=Fn("__setPluralRules"),pf=Fn("__injectWithOption"),Wa=Fn("__dispose");function mr(e){if(!Ue(e))return e;for(const t in e)if(mo(e,t))if(!t.includes("."))Ue(e[t])&&mr(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,o=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},Kr(c,a[l])):Kr(c,a)}else le(i)&&Kr(JSON.parse(i),a)}),r==null&&o)for(const i in a)mo(a,i)&&mr(a[i]);return a}function mf(e){return e.type}function hf(e,t,n){let s=Ue(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=jo(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,s[o])});{if(Ue(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Ue(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function vc(e){return P(kr,null,e,0)}const yc="__INTLIFY_META__",wc=()=>[],M0=()=>!1;let kc=0;function Ec(e){return(t,n,s,r)=>e(n,s,es()||void 0,r)}const P0=()=>{const e=es();let t=null;return e&&(t=mf(e)[yc])?{[yc]:t}:null};function Vi(e={},t){const{__root:n,__injectWithOption:s}=e,r=n===void 0,o=e.flatJson,a=po?Ke:xi;let i=xe(e.inheritLocale)?e.inheritLocale:!0;const l=a(n&&i?n.locale.value:le(e.locale)?e.locale:Ss),c=a(n&&i?n.fallbackLocale.value:le(e.fallbackLocale)||qe(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=a(jo(l.value,e)),d=a(Ee(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),h=a(Ee(e.numberFormats)?e.numberFormats:{[l.value]:{}});let k=n?n.missingWarn:xe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:xe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:xe(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,w=We(e.missing)?e.missing:null,b=We(e.missing)?Ec(e.missing):null,y=We(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,$=!!e.escapeParameter;const S=n?n.modifiers:Ee(e.modifiers)?e.modifiers:{};let T=e.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&uc(null);const O={version:I0,locale:l.value,fallbackLocale:c.value,messages:u.value,modifiers:S,pluralRules:T,missing:b===null?void 0:b,missingWarn:k,fallbackWarn:g,fallbackFormat:E,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:v,escapeParameter:$,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=d.value,O.numberFormats=h.value,O.__datetimeFormatters=Ee(x)?x.__datetimeFormatters:void 0,O.__numberFormatters=Ee(x)?x.__numberFormatters:void 0;const j=$0(O);return r&&uc(j),j})(),Fs(x,l.value,c.value);function z(){return[l.value,c.value,u.value,d.value,h.value]}const q=je({get:()=>l.value,set:O=>{l.value=O,x.locale=l.value}}),G=je({get:()=>c.value,set:O=>{c.value=O,x.fallbackLocale=c.value,Fs(x,l.value,O)}}),re=je(()=>u.value),we=je(()=>d.value),ce=je(()=>h.value);function oe(){return We(y)?y:null}function Q(O){y=O,x.postTranslation=O}function F(){return w}function J(O){O!==null&&(b=Ec(O)),w=O,x.missing=b}const ae=(O,j,ue,be,De,Xe)=>{z();let it;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=n?E0():void 0),it=O(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(ue!=="translate exists"&&ot(it)&&it===Fo||ue==="translate exists"&&!it){const[gn,Yo]=j();return n&&_?be(n):De(gn)}else{if(Xe(it))return it;throw ct(at.UNEXPECTED_RETURN_TYPE)}};function ge(...O){return ae(j=>Reflect.apply(mc,null,[j,...O]),()=>ja(...O),"translate",j=>Reflect.apply(j.t,j,[...O]),j=>j,j=>le(j))}function _e(...O){const[j,ue,be]=O;if(be&&!Ue(be))throw ct(at.INVALID_ARGUMENT);return ge(j,ue,ut({resolvedMessage:!0},be||{}))}function Ge(...O){return ae(j=>Reflect.apply(hc,null,[j,...O]),()=>Ua(...O),"datetime format",j=>Reflect.apply(j.d,j,[...O]),()=>ic,j=>le(j))}function Me(...O){return ae(j=>Reflect.apply(bc,null,[j,...O]),()=>Ha(...O),"number format",j=>Reflect.apply(j.n,j,[...O]),()=>ic,j=>le(j))}function Se(O){return O.map(j=>le(j)||ot(j)||xe(j)?vc(String(j)):j)}const H={normalize:Se,interpolate:O=>O,type:"vnode"};function se(...O){return ae(j=>{let ue;const be=j;try{be.processor=H,ue=Reflect.apply(mc,null,[be,...O])}finally{be.processor=null}return ue},()=>ja(...O),"translate",j=>j[Va](...O),j=>[vc(j)],j=>qe(j))}function Z(...O){return ae(j=>Reflect.apply(bc,null,[j,...O]),()=>Ha(...O),"number format",j=>j[Ga](...O),wc,j=>le(j)||qe(j))}function ie(...O){return ae(j=>Reflect.apply(hc,null,[j,...O]),()=>Ua(...O),"datetime format",j=>j[Ba](...O),wc,j=>le(j)||qe(j))}function ke(O){T=O,x.pluralRules=T}function Oe(O,j){return ae(()=>{if(!O)return!1;const ue=le(j)?j:l.value,be=C(ue),De=x.messageResolver(be,O);return Cs(De)||Ot(De)||le(De)},()=>[O],"translate exists",ue=>Reflect.apply(ue.te,ue,[O,j]),M0,ue=>xe(ue))}function p(O){let j=null;const ue=Xd(x,c.value,l.value);for(let be=0;be{i&&(l.value=O,x.locale=O,Fs(x,l.value,c.value))}),pt(n.fallbackLocale,O=>{i&&(c.value=O,x.fallbackLocale=O,Fs(x,l.value,c.value))}));const te={id:kc,locale:q,fallbackLocale:G,get inheritLocale(){return i},set inheritLocale(O){i=O,O&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,Fs(x,l.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:re,get modifiers(){return S},get pluralRules(){return T||{}},get isGlobal(){return r},get missingWarn(){return k},set missingWarn(O){k=O,x.missingWarn=k},get fallbackWarn(){return g},set fallbackWarn(O){g=O,x.fallbackWarn=g},get fallbackRoot(){return _},set fallbackRoot(O){_=O},get fallbackFormat(){return E},set fallbackFormat(O){E=O,x.fallbackFormat=E},get warnHtmlMessage(){return v},set warnHtmlMessage(O){v=O,x.warnHtmlMessage=O},get escapeParameter(){return $},set escapeParameter(O){$=O,x.escapeParameter=O},t:ge,getLocaleMessage:C,setLocaleMessage:L,mergeLocaleMessage:M,getPostTranslationHandler:oe,setPostTranslationHandler:Q,getMissingHandler:F,setMissingHandler:J,[ff]:ke};return te.datetimeFormats=we,te.numberFormats=ce,te.rt=_e,te.te=Oe,te.tm=f,te.d=Ge,te.n=Me,te.getDateTimeFormat=B,te.setDateTimeFormat=ee,te.mergeDateTimeFormat=Y,te.getNumberFormat=U,te.setNumberFormat=V,te.mergeNumberFormat=ne,te[pf]=s,te[Va]=se,te[Ba]=ie,te[Ga]=Z,te}function R0(e){const t=le(e.locale)?e.locale:Ss,n=le(e.fallbackLocale)||qe(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=We(e.missing)?e.missing:void 0,r=xe(e.silentTranslationWarn)||Pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=xe(e.silentFallbackWarn)||Pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=xe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ee(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=We(e.postTranslation)?e.postTranslation:void 0,d=le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,k=xe(e.sync)?e.sync:!0;let g=e.messages;if(Ee(e.sharedMessages)){const $=e.sharedMessages;g=Object.keys($).reduce((T,x)=>{const N=T[x]||(T[x]={});return ut(N,$[x]),T},g||{})}const{__i18n:_,__root:E,__injectWithOption:w}=e,b=e.datetimeFormats,y=e.numberFormats,v=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:v,datetimeFormats:b,numberFormats:y,missing:s,missingWarn:r,fallbackWarn:o,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:k,__i18n:_,__root:E,__injectWithOption:w}}function za(e={},t){{const n=Vi(R0(e)),{__extender:s}=e,r={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return xe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=xe(o)?!o:o},get silentFallbackWarn(){return xe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=xe(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[a,i,l]=o,c={};let u=null,d=null;if(!le(a))throw ct(at.INVALID_ARGUMENT);const h=a;return le(i)?c.locale=i:qe(i)?u=i:Ee(i)&&(d=i),qe(l)?u=l:Ee(l)&&(d=l),Reflect.apply(n.t,n,[h,u||d||{},c])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[a,i,l]=o,c={plural:1};let u=null,d=null;if(!le(a))throw ct(at.INVALID_ARGUMENT);const h=a;return le(i)?c.locale=i:ot(i)?c.plural=i:qe(i)?u=i:Ee(i)&&(d=i),le(l)?c.locale=l:qe(l)?u=l:Ee(l)&&(d=l),Reflect.apply(n.t,n,[h,u||d||{},c])},te(o,a){return n.te(o,a)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,a){n.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){n.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,a){n.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){n.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,a){n.setNumberFormat(o,a)},mergeNumberFormat(o,a){n.mergeNumberFormat(o,a)},getChoiceIndex(o,a){return-1}};return r.__extender=s,r}}const Bi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function D0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===pe?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function gf(e){return pe}const F0=me({name:"i18n-t",props:ut({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ot(e)||!isNaN(e)}},Bi),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||$r({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=le(e.plural)?+e.plural:e.plural);const i=D0(t,o),l=r[Va](e.keypath,i,a),c=ut({},s),u=le(e.tag)||Ue(e.tag)?e.tag:gf();return Ve(u,c,l)}}}),$c=F0;function j0(e){return qe(e)&&!le(e[0])}function bf(e,t,n,s){const{slots:r,attrs:o}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),le(e.format)?a.key=e.format:Ue(e.format)&&(le(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((h,k)=>n.includes(k)?ut({},h,{[k]:e.format[k]}):h,{}));const l=s(e.value,a,i);let c=[a.key];qe(l)?c=l.map((h,k)=>{const g=r[h.type],_=g?g({[h.type]:h.value,index:k,parts:l}):[h.value];return j0(_)&&(_[0].key=`${h.type}-${k}`),_}):le(l)&&(c=[l]);const u=ut({},o),d=le(e.tag)||Ue(e.tag)?e.tag:gf();return Ve(d,u,c)}}const U0=me({name:"i18n-n",props:ut({value:{type:Number,required:!0},format:{type:[String,Object]}},Bi),setup(e,t){const n=e.i18n||$r({useScope:"parent",__useComponent:!0});return bf(e,t,cf,(...s)=>n[Ga](...s))}}),Sc=U0,H0=me({name:"i18n-d",props:ut({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bi),setup(e,t){const n=e.i18n||$r({useScope:"parent",__useComponent:!0});return bf(e,t,lf,(...s)=>n[Ba](...s))}}),Cc=H0;function V0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function B0(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw ct(at.UNEXPECTED_ERROR);const u=V0(e,i.$),d=xc(c);return[Reflect.apply(u.t,u,[...Ac(d)]),u]};return{created:(a,i)=>{const[l,c]=t(i);po&&e.global===c&&(a.__i18nWatcher=pt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{po&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=xc(i);a.textContent=Reflect.apply(l.t,l,[...Ac(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function xc(e){if(le(e))return{path:e};if(Ee(e)){if(!("path"in e))throw ct(at.REQUIRED_VALUE,"path");return e}else throw ct(at.INVALID_VALUE)}function Ac(e){const{path:t,locale:n,args:s,choice:r,plural:o}=e,a={},i=s||{};return le(n)&&(a.locale=n),ot(r)&&(a.plural=r),ot(o)&&(a.plural=o),[t,i,a]}function G0(e,t,...n){const s=Ee(n[0])?n[0]:{},r=!!s.useI18nComponentName;(xe(s.globalInstall)?s.globalInstall:!0)&&([r?"i18n":$c.name,"I18nT"].forEach(a=>e.component(a,$c)),[Sc.name,"I18nN"].forEach(a=>e.component(a,Sc)),[Cc.name,"I18nD"].forEach(a=>e.component(a,Cc))),e.directive("t",B0(t))}function W0(e,t,n){return{beforeCreate(){const s=es();if(!s)throw ct(at.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const o=r.i18n;if(r.__i18n&&(o.__i18n=r.__i18n),o.__root=t,this===this.$root)this.$i18n=Tc(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=za(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Tc(e,r);else{this.$i18n=za({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&hf(t,r,r),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=es();if(!s)throw ct(at.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(s),delete this.$i18n}}}function Tc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[ff](t.pluralizationRules||e.pluralizationRules);const n=jo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const z0=Fn("global-vue-i18n");function K0(e={},t){const n=__VUE_I18N_LEGACY_API__&&xe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=xe(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[a,i]=q0(e,n),l=Fn("");function c(h){return o.get(h)||null}function u(h,k){o.set(h,k)}function d(h){o.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(k,...g){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,h),Ee(g[0])){const w=g[0];h.__composerExtend=w.__composerExtend,h.__vueI18nExtend=w.__vueI18nExtend}let _=null;!n&&s&&(_=s1(k,h.global)),__VUE_I18N_FULL_INSTALL__&&G0(k,h,...g),__VUE_I18N_LEGACY_API__&&n&&k.mixin(W0(i,i.__composer,h));const E=k.unmount;k.unmount=()=>{_&&_(),h.dispose(),E()}},get global(){return i},dispose(){a.stop()},__instances:o,__getInstance:c,__setInstance:u,__deleteInstance:d};return h}}function $r(e={}){const t=es();if(t==null)throw ct(at.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ct(at.NOT_INSTALLED);const n=J0(t),s=X0(n),r=mf(t),o=Y0(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ct(at.NOT_AVAILABLE_IN_LEGACY_MODE);return t1(t,o,s,e)}if(o==="global")return hf(s,e,r),s;if(o==="parent"){let l=Q0(n,t,e.__useComponent);return l==null&&(l=s),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=ut({},e);"__i18n"in r&&(l.__i18n=r.__i18n),s&&(l.__root=s),i=Vi(l),a.__composerExtend&&(i[Wa]=a.__composerExtend(i)),e1(a,t,i),a.__setInstance(t,i)}return i}function q0(e,t,n){const s=vi();{const r=__VUE_I18N_LEGACY_API__&&t?s.run(()=>za(e)):s.run(()=>Vi(e));if(r==null)throw ct(at.UNEXPECTED_ERROR);return[s,r]}}function J0(e){{const t=Rt(e.isCE?z0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ct(e.isCE?at.NOT_INSTALLED_WITH_PROVIDE:at.UNEXPECTED_ERROR);return t}}function Y0(e,t){return Do(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function X0(e){return e.mode==="composition"?e.global:e.global.__composer}function Q0(e,t,n=!1){let s=null;const r=t.root;let o=Z0(t,n);for(;o!=null;){const a=e;if(e.mode==="composition")s=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(o);i!=null&&(s=i.__composer,n&&s&&!s[pf]&&(s=null))}if(s!=null||r===o)break;o=o.parent}return s}function Z0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function e1(e,t,n){Gt(()=>{},t),Ni(()=>{const s=n;e.__deleteInstance(t);const r=s[Wa];r&&(r(),delete s[Wa])},t)}function t1(e,t,n,s={}){const r=t==="local",o=xi(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ct(at.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=xe(s.inheritLocale)?s.inheritLocale:!le(s.locale),i=Ke(!r||a?n.locale.value:le(s.locale)?s.locale:Ss),l=Ke(!r||a?n.fallbackLocale.value:le(s.fallbackLocale)||qe(s.fallbackLocale)||Ee(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:i.value),c=Ke(jo(i.value,s)),u=Ke(Ee(s.datetimeFormats)?s.datetimeFormats:{[i.value]:{}}),d=Ke(Ee(s.numberFormats)?s.numberFormats:{[i.value]:{}}),h=r?n.missingWarn:xe(s.missingWarn)||Pn(s.missingWarn)?s.missingWarn:!0,k=r?n.fallbackWarn:xe(s.fallbackWarn)||Pn(s.fallbackWarn)?s.fallbackWarn:!0,g=r?n.fallbackRoot:xe(s.fallbackRoot)?s.fallbackRoot:!0,_=!!s.fallbackFormat,E=We(s.missing)?s.missing:null,w=We(s.postTranslation)?s.postTranslation:null,b=r?n.warnHtmlMessage:xe(s.warnHtmlMessage)?s.warnHtmlMessage:!0,y=!!s.escapeParameter,v=r?n.modifiers:Ee(s.modifiers)?s.modifiers:{},$=s.pluralRules||r&&n.pluralRules;function S(){return[i.value,l.value,c.value,u.value,d.value]}const T=je({get:()=>o.value?o.value.locale.value:i.value,set:f=>{o.value&&(o.value.locale.value=f),i.value=f}}),x=je({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:f=>{o.value&&(o.value.fallbackLocale.value=f),l.value=f}}),N=je(()=>o.value?o.value.messages.value:c.value),z=je(()=>u.value),q=je(()=>d.value);function G(){return o.value?o.value.getPostTranslationHandler():w}function re(f){o.value&&o.value.setPostTranslationHandler(f)}function we(){return o.value?o.value.getMissingHandler():E}function ce(f){o.value&&o.value.setMissingHandler(f)}function oe(f){return S(),f()}function Q(...f){return o.value?oe(()=>Reflect.apply(o.value.t,null,[...f])):oe(()=>"")}function F(...f){return o.value?Reflect.apply(o.value.rt,null,[...f]):""}function J(...f){return o.value?oe(()=>Reflect.apply(o.value.d,null,[...f])):oe(()=>"")}function ae(...f){return o.value?oe(()=>Reflect.apply(o.value.n,null,[...f])):oe(()=>"")}function ge(f){return o.value?o.value.tm(f):{}}function _e(f,C){return o.value?o.value.te(f,C):!1}function Ge(f){return o.value?o.value.getLocaleMessage(f):{}}function Me(f,C){o.value&&(o.value.setLocaleMessage(f,C),c.value[f]=C)}function Se(f,C){o.value&&o.value.mergeLocaleMessage(f,C)}function Re(f){return o.value?o.value.getDateTimeFormat(f):{}}function H(f,C){o.value&&(o.value.setDateTimeFormat(f,C),u.value[f]=C)}function se(f,C){o.value&&o.value.mergeDateTimeFormat(f,C)}function Z(f){return o.value?o.value.getNumberFormat(f):{}}function ie(f,C){o.value&&(o.value.setNumberFormat(f,C),d.value[f]=C)}function ke(f,C){o.value&&o.value.mergeNumberFormat(f,C)}const Oe={get id(){return o.value?o.value.id:-1},locale:T,fallbackLocale:x,messages:N,datetimeFormats:z,numberFormats:q,get inheritLocale(){return o.value?o.value.inheritLocale:a},set inheritLocale(f){o.value&&(o.value.inheritLocale=f)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:v},get pluralRules(){return o.value?o.value.pluralRules:$},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:h},set missingWarn(f){o.value&&(o.value.missingWarn=f)},get fallbackWarn(){return o.value?o.value.fallbackWarn:k},set fallbackWarn(f){o.value&&(o.value.missingWarn=f)},get fallbackRoot(){return o.value?o.value.fallbackRoot:g},set fallbackRoot(f){o.value&&(o.value.fallbackRoot=f)},get fallbackFormat(){return o.value?o.value.fallbackFormat:_},set fallbackFormat(f){o.value&&(o.value.fallbackFormat=f)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:b},set warnHtmlMessage(f){o.value&&(o.value.warnHtmlMessage=f)},get escapeParameter(){return o.value?o.value.escapeParameter:y},set escapeParameter(f){o.value&&(o.value.escapeParameter=f)},t:Q,getPostTranslationHandler:G,setPostTranslationHandler:re,getMissingHandler:we,setMissingHandler:ce,rt:F,d:J,n:ae,tm:ge,te:_e,getLocaleMessage:Ge,setLocaleMessage:Me,mergeLocaleMessage:Se,getDateTimeFormat:Re,setDateTimeFormat:H,mergeDateTimeFormat:se,getNumberFormat:Z,setNumberFormat:ie,mergeNumberFormat:ke};function p(f){f.locale.value=i.value,f.fallbackLocale.value=l.value,Object.keys(c.value).forEach(C=>{f.mergeLocaleMessage(C,c.value[C])}),Object.keys(u.value).forEach(C=>{f.mergeDateTimeFormat(C,u.value[C])}),Object.keys(d.value).forEach(C=>{f.mergeNumberFormat(C,d.value[C])}),f.escapeParameter=y,f.fallbackFormat=_,f.fallbackRoot=g,f.fallbackWarn=k,f.missingWarn=h,f.warnHtmlMessage=b}return wd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ct(at.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f=o.value=e.proxy.$i18n.__composer;t==="global"?(i.value=f.locale.value,l.value=f.fallbackLocale.value,c.value=f.messages.value,u.value=f.datetimeFormats.value,d.value=f.numberFormats.value):r&&p(f)}),Oe}const n1=["locale","fallbackLocale","availableLocales"],Lc=["t","rt","d","n","tm","te"];function s1(e,t){const n=Object.create(null);return n1.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw ct(at.UNEXPECTED_ERROR);const a=Ye(o.value)?{get(){return o.value.value},set(i){o.value.value=i}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Lc.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw ct(at.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,o)}),()=>{delete e.config.globalProperties.$i18n,Lc.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}N0();__INTLIFY_JIT_COMPILATION__?cc(x0):cc(C0);v0(e0);y0(Xd);if(__INTLIFY_PROD_DEVTOOLS__){const e=an();e.__INTLIFY__=!0,c0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}/*! + */const I0="9.9.1";function M0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(on().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(on().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(on().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(on().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(on().__INTLIFY_PROD_DEVTOOLS__=!1)}const uf=p0.__EXTEND_POINT__,yn=Di(uf);yn(),yn(),yn(),yn(),yn(),yn(),yn(),yn();const df=Ut.__EXTEND_POINT__,bt=Di(df),ot={UNEXPECTED_RETURN_TYPE:df,INVALID_ARGUMENT:bt(),MUST_BE_CALL_SETUP_TOP:bt(),NOT_INSTALLED:bt(),NOT_AVAILABLE_IN_LEGACY_MODE:bt(),REQUIRED_VALUE:bt(),INVALID_VALUE:bt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:bt(),NOT_INSTALLED_WITH_PROVIDE:bt(),UNEXPECTED_ERROR:bt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:bt(),BRIDGE_SUPPORT_VUE_2_ONLY:bt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:bt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:bt(),__EXTEND_POINT__:bt()};function ct(e,...t){return Is(e,null,void 0)}const Vo=Dn("__translateVNode"),Bo=Dn("__datetimeParts"),Go=Dn("__numberParts"),ff=Dn("__setPluralRules"),pf=Dn("__injectWithOption"),Wo=Dn("__dispose");function mr(e){if(!Ue(e))return e;for(const t in e)if(pa(e,t))if(!t.includes("."))Ue(e[t])&&mr(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,a=!1;for(let o=0;o{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(o[l]=o[l]||{},Kr(c,o[l])):Kr(c,o)}else le(i)&&Kr(JSON.parse(i),o)}),r==null&&a)for(const i in o)pa(o,i)&&mr(o[i]);return o}function mf(e){return e.type}function hf(e,t,n){let s=Ue(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=Da(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(a=>{e.mergeLocaleMessage(a,s[a])});{if(Ue(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Ue(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function vc(e){return P(kr,null,e,0)}const yc="__INTLIFY_META__",wc=()=>[],N0=()=>!1;let kc=0;function Ec(e){return(t,n,s,r)=>e(n,s,es()||void 0,r)}const P0=()=>{const e=es();let t=null;return e&&(t=mf(e)[yc])?{[yc]:t}:null};function Vi(e={},t){const{__root:n,__injectWithOption:s}=e,r=n===void 0,a=e.flatJson,o=fa?Ke:xi;let i=xe(e.inheritLocale)?e.inheritLocale:!0;const l=o(n&&i?n.locale.value:le(e.locale)?e.locale:Ss),c=o(n&&i?n.fallbackLocale.value:le(e.fallbackLocale)||qe(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=o(Da(l.value,e)),d=o(Ee(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),h=o(Ee(e.numberFormats)?e.numberFormats:{[l.value]:{}});let k=n?n.missingWarn:xe(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:xe(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:xe(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,w=We(e.missing)?e.missing:null,b=We(e.missing)?Ec(e.missing):null,y=We(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,$=!!e.escapeParameter;const S=n?n.modifiers:Ee(e.modifiers)?e.modifiers:{};let T=e.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&uc(null);const O={version:I0,locale:l.value,fallbackLocale:c.value,messages:u.value,modifiers:S,pluralRules:T,missing:b===null?void 0:b,missingWarn:k,fallbackWarn:g,fallbackFormat:E,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:v,escapeParameter:$,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=d.value,O.numberFormats=h.value,O.__datetimeFormatters=Ee(x)?x.__datetimeFormatters:void 0,O.__numberFormatters=Ee(x)?x.__numberFormatters:void 0;const j=$0(O);return r&&uc(j),j})(),Ds(x,l.value,c.value);function z(){return[l.value,c.value,u.value,d.value,h.value]}const q=je({get:()=>l.value,set:O=>{l.value=O,x.locale=l.value}}),G=je({get:()=>c.value,set:O=>{c.value=O,x.fallbackLocale=c.value,Ds(x,l.value,O)}}),re=je(()=>u.value),we=je(()=>d.value),ce=je(()=>h.value);function ae(){return We(y)?y:null}function Q(O){y=O,x.postTranslation=O}function D(){return w}function Y(O){O!==null&&(b=Ec(O)),w=O,x.missing=b}const oe=(O,j,ue,be,Fe,Xe)=>{z();let it;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=n?E0():void 0),it=O(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(ue!=="translate exists"&&at(it)&&it===Fa||ue==="translate exists"&&!it){const[gn,Ya]=j();return n&&_?be(n):Fe(gn)}else{if(Xe(it))return it;throw ct(ot.UNEXPECTED_RETURN_TYPE)}};function ge(...O){return oe(j=>Reflect.apply(mc,null,[j,...O]),()=>jo(...O),"translate",j=>Reflect.apply(j.t,j,[...O]),j=>j,j=>le(j))}function _e(...O){const[j,ue,be]=O;if(be&&!Ue(be))throw ct(ot.INVALID_ARGUMENT);return ge(j,ue,ut({resolvedMessage:!0},be||{}))}function Ge(...O){return oe(j=>Reflect.apply(hc,null,[j,...O]),()=>Uo(...O),"datetime format",j=>Reflect.apply(j.d,j,[...O]),()=>ic,j=>le(j))}function Ne(...O){return oe(j=>Reflect.apply(bc,null,[j,...O]),()=>Ho(...O),"number format",j=>Reflect.apply(j.n,j,[...O]),()=>ic,j=>le(j))}function Se(O){return O.map(j=>le(j)||at(j)||xe(j)?vc(String(j)):j)}const H={normalize:Se,interpolate:O=>O,type:"vnode"};function se(...O){return oe(j=>{let ue;const be=j;try{be.processor=H,ue=Reflect.apply(mc,null,[be,...O])}finally{be.processor=null}return ue},()=>jo(...O),"translate",j=>j[Vo](...O),j=>[vc(j)],j=>qe(j))}function Z(...O){return oe(j=>Reflect.apply(bc,null,[j,...O]),()=>Ho(...O),"number format",j=>j[Go](...O),wc,j=>le(j)||qe(j))}function ie(...O){return oe(j=>Reflect.apply(hc,null,[j,...O]),()=>Uo(...O),"datetime format",j=>j[Bo](...O),wc,j=>le(j)||qe(j))}function ke(O){T=O,x.pluralRules=T}function Oe(O,j){return oe(()=>{if(!O)return!1;const ue=le(j)?j:l.value,be=C(ue),Fe=x.messageResolver(be,O);return Cs(Fe)||Ot(Fe)||le(Fe)},()=>[O],"translate exists",ue=>Reflect.apply(ue.te,ue,[O,j]),N0,ue=>xe(ue))}function p(O){let j=null;const ue=Xd(x,c.value,l.value);for(let be=0;be{i&&(l.value=O,x.locale=O,Ds(x,l.value,c.value))}),pt(n.fallbackLocale,O=>{i&&(c.value=O,x.fallbackLocale=O,Ds(x,l.value,c.value))}));const te={id:kc,locale:q,fallbackLocale:G,get inheritLocale(){return i},set inheritLocale(O){i=O,O&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,Ds(x,l.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:re,get modifiers(){return S},get pluralRules(){return T||{}},get isGlobal(){return r},get missingWarn(){return k},set missingWarn(O){k=O,x.missingWarn=k},get fallbackWarn(){return g},set fallbackWarn(O){g=O,x.fallbackWarn=g},get fallbackRoot(){return _},set fallbackRoot(O){_=O},get fallbackFormat(){return E},set fallbackFormat(O){E=O,x.fallbackFormat=E},get warnHtmlMessage(){return v},set warnHtmlMessage(O){v=O,x.warnHtmlMessage=O},get escapeParameter(){return $},set escapeParameter(O){$=O,x.escapeParameter=O},t:ge,getLocaleMessage:C,setLocaleMessage:L,mergeLocaleMessage:N,getPostTranslationHandler:ae,setPostTranslationHandler:Q,getMissingHandler:D,setMissingHandler:Y,[ff]:ke};return te.datetimeFormats=we,te.numberFormats=ce,te.rt=_e,te.te=Oe,te.tm=f,te.d=Ge,te.n=Ne,te.getDateTimeFormat=B,te.setDateTimeFormat=ee,te.mergeDateTimeFormat=J,te.getNumberFormat=U,te.setNumberFormat=V,te.mergeNumberFormat=ne,te[pf]=s,te[Vo]=se,te[Bo]=ie,te[Go]=Z,te}function R0(e){const t=le(e.locale)?e.locale:Ss,n=le(e.fallbackLocale)||qe(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=We(e.missing)?e.missing:void 0,r=xe(e.silentTranslationWarn)||Pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=xe(e.silentFallbackWarn)||Pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=xe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=Ee(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=We(e.postTranslation)?e.postTranslation:void 0,d=le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,k=xe(e.sync)?e.sync:!0;let g=e.messages;if(Ee(e.sharedMessages)){const $=e.sharedMessages;g=Object.keys($).reduce((T,x)=>{const M=T[x]||(T[x]={});return ut(M,$[x]),T},g||{})}const{__i18n:_,__root:E,__injectWithOption:w}=e,b=e.datetimeFormats,y=e.numberFormats,v=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:v,datetimeFormats:b,numberFormats:y,missing:s,missingWarn:r,fallbackWarn:a,fallbackRoot:o,fallbackFormat:i,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:k,__i18n:_,__root:E,__injectWithOption:w}}function zo(e={},t){{const n=Vi(R0(e)),{__extender:s}=e,r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return xe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=xe(a)?!a:a},get silentFallbackWarn(){return xe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=xe(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[o,i,l]=a,c={};let u=null,d=null;if(!le(o))throw ct(ot.INVALID_ARGUMENT);const h=o;return le(i)?c.locale=i:qe(i)?u=i:Ee(i)&&(d=i),qe(l)?u=l:Ee(l)&&(d=l),Reflect.apply(n.t,n,[h,u||d||{},c])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[o,i,l]=a,c={plural:1};let u=null,d=null;if(!le(o))throw ct(ot.INVALID_ARGUMENT);const h=o;return le(i)?c.locale=i:at(i)?c.plural=i:qe(i)?u=i:Ee(i)&&(d=i),le(l)?c.locale=l:qe(l)?u=l:Ee(l)&&(d=l),Reflect.apply(n.t,n,[h,u||d||{},c])},te(a,o){return n.te(a,o)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,o){n.setLocaleMessage(a,o)},mergeLocaleMessage(a,o){n.mergeLocaleMessage(a,o)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,o){n.setDateTimeFormat(a,o)},mergeDateTimeFormat(a,o){n.mergeDateTimeFormat(a,o)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,o){n.setNumberFormat(a,o)},mergeNumberFormat(a,o){n.mergeNumberFormat(a,o)},getChoiceIndex(a,o){return-1}};return r.__extender=s,r}}const Bi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function F0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===pe?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function gf(e){return pe}const D0=me({name:"i18n-t",props:ut({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>at(e)||!isNaN(e)}},Bi),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||$r({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(d=>d!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=le(e.plural)?+e.plural:e.plural);const i=F0(t,a),l=r[Vo](e.keypath,i,o),c=ut({},s),u=le(e.tag)||Ue(e.tag)?e.tag:gf();return Ve(u,c,l)}}}),$c=D0;function j0(e){return qe(e)&&!le(e[0])}function bf(e,t,n,s){const{slots:r,attrs:a}=t;return()=>{const o={part:!0};let i={};e.locale&&(o.locale=e.locale),le(e.format)?o.key=e.format:Ue(e.format)&&(le(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((h,k)=>n.includes(k)?ut({},h,{[k]:e.format[k]}):h,{}));const l=s(e.value,o,i);let c=[o.key];qe(l)?c=l.map((h,k)=>{const g=r[h.type],_=g?g({[h.type]:h.value,index:k,parts:l}):[h.value];return j0(_)&&(_[0].key=`${h.type}-${k}`),_}):le(l)&&(c=[l]);const u=ut({},a),d=le(e.tag)||Ue(e.tag)?e.tag:gf();return Ve(d,u,c)}}const U0=me({name:"i18n-n",props:ut({value:{type:Number,required:!0},format:{type:[String,Object]}},Bi),setup(e,t){const n=e.i18n||$r({useScope:"parent",__useComponent:!0});return bf(e,t,cf,(...s)=>n[Go](...s))}}),Sc=U0,H0=me({name:"i18n-d",props:ut({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bi),setup(e,t){const n=e.i18n||$r({useScope:"parent",__useComponent:!0});return bf(e,t,lf,(...s)=>n[Bo](...s))}}),Cc=H0;function V0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function B0(e){const t=o=>{const{instance:i,modifiers:l,value:c}=o;if(!i||!i.$)throw ct(ot.UNEXPECTED_ERROR);const u=V0(e,i.$),d=xc(c);return[Reflect.apply(u.t,u,[...Ac(d)]),u]};return{created:(o,i)=>{const[l,c]=t(i);fa&&e.global===c&&(o.__i18nWatcher=pt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{fa&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const l=o.__composer,c=xc(i);o.textContent=Reflect.apply(l.t,l,[...Ac(c)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function xc(e){if(le(e))return{path:e};if(Ee(e)){if(!("path"in e))throw ct(ot.REQUIRED_VALUE,"path");return e}else throw ct(ot.INVALID_VALUE)}function Ac(e){const{path:t,locale:n,args:s,choice:r,plural:a}=e,o={},i=s||{};return le(n)&&(o.locale=n),at(r)&&(o.plural=r),at(a)&&(o.plural=a),[t,i,o]}function G0(e,t,...n){const s=Ee(n[0])?n[0]:{},r=!!s.useI18nComponentName;(xe(s.globalInstall)?s.globalInstall:!0)&&([r?"i18n":$c.name,"I18nT"].forEach(o=>e.component(o,$c)),[Sc.name,"I18nN"].forEach(o=>e.component(o,Sc)),[Cc.name,"I18nD"].forEach(o=>e.component(o,Cc))),e.directive("t",B0(t))}function W0(e,t,n){return{beforeCreate(){const s=es();if(!s)throw ct(ot.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=t,this===this.$root)this.$i18n=Tc(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=zo(a);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Tc(e,r);else{this.$i18n=zo({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&hf(t,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,o)=>this.$i18n.te(a,o),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=es();if(!s)throw ct(ot.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(s),delete this.$i18n}}}function Tc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[ff](t.pluralizationRules||e.pluralizationRules);const n=Da(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const z0=Dn("global-vue-i18n");function K0(e={},t){const n=__VUE_I18N_LEGACY_API__&&xe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=xe(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,a=new Map,[o,i]=q0(e,n),l=Dn("");function c(h){return a.get(h)||null}function u(h,k){a.set(h,k)}function d(h){a.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(k,...g){if(k.__VUE_I18N_SYMBOL__=l,k.provide(k.__VUE_I18N_SYMBOL__,h),Ee(g[0])){const w=g[0];h.__composerExtend=w.__composerExtend,h.__vueI18nExtend=w.__vueI18nExtend}let _=null;!n&&s&&(_=s1(k,h.global)),__VUE_I18N_FULL_INSTALL__&&G0(k,h,...g),__VUE_I18N_LEGACY_API__&&n&&k.mixin(W0(i,i.__composer,h));const E=k.unmount;k.unmount=()=>{_&&_(),h.dispose(),E()}},get global(){return i},dispose(){o.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:d};return h}}function $r(e={}){const t=es();if(t==null)throw ct(ot.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ct(ot.NOT_INSTALLED);const n=Y0(t),s=X0(n),r=mf(t),a=J0(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ct(ot.NOT_AVAILABLE_IN_LEGACY_MODE);return t1(t,a,s,e)}if(a==="global")return hf(s,e,r),s;if(a==="parent"){let l=Q0(n,t,e.__useComponent);return l==null&&(l=s),l}const o=n;let i=o.__getInstance(t);if(i==null){const l=ut({},e);"__i18n"in r&&(l.__i18n=r.__i18n),s&&(l.__root=s),i=Vi(l),o.__composerExtend&&(i[Wo]=o.__composerExtend(i)),e1(o,t,i),o.__setInstance(t,i)}return i}function q0(e,t,n){const s=vi();{const r=__VUE_I18N_LEGACY_API__&&t?s.run(()=>zo(e)):s.run(()=>Vi(e));if(r==null)throw ct(ot.UNEXPECTED_ERROR);return[s,r]}}function Y0(e){{const t=Rt(e.isCE?z0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ct(e.isCE?ot.NOT_INSTALLED_WITH_PROVIDE:ot.UNEXPECTED_ERROR);return t}}function J0(e,t){return Ra(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function X0(e){return e.mode==="composition"?e.global:e.global.__composer}function Q0(e,t,n=!1){let s=null;const r=t.root;let a=Z0(t,n);for(;a!=null;){const o=e;if(e.mode==="composition")s=o.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(a);i!=null&&(s=i.__composer,n&&s&&!s[pf]&&(s=null))}if(s!=null||r===a)break;a=a.parent}return s}function Z0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function e1(e,t,n){Gt(()=>{},t),Mi(()=>{const s=n;e.__deleteInstance(t);const r=s[Wo];r&&(r(),delete s[Wo])},t)}function t1(e,t,n,s={}){const r=t==="local",a=xi(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ct(ot.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=xe(s.inheritLocale)?s.inheritLocale:!le(s.locale),i=Ke(!r||o?n.locale.value:le(s.locale)?s.locale:Ss),l=Ke(!r||o?n.fallbackLocale.value:le(s.fallbackLocale)||qe(s.fallbackLocale)||Ee(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:i.value),c=Ke(Da(i.value,s)),u=Ke(Ee(s.datetimeFormats)?s.datetimeFormats:{[i.value]:{}}),d=Ke(Ee(s.numberFormats)?s.numberFormats:{[i.value]:{}}),h=r?n.missingWarn:xe(s.missingWarn)||Pn(s.missingWarn)?s.missingWarn:!0,k=r?n.fallbackWarn:xe(s.fallbackWarn)||Pn(s.fallbackWarn)?s.fallbackWarn:!0,g=r?n.fallbackRoot:xe(s.fallbackRoot)?s.fallbackRoot:!0,_=!!s.fallbackFormat,E=We(s.missing)?s.missing:null,w=We(s.postTranslation)?s.postTranslation:null,b=r?n.warnHtmlMessage:xe(s.warnHtmlMessage)?s.warnHtmlMessage:!0,y=!!s.escapeParameter,v=r?n.modifiers:Ee(s.modifiers)?s.modifiers:{},$=s.pluralRules||r&&n.pluralRules;function S(){return[i.value,l.value,c.value,u.value,d.value]}const T=je({get:()=>a.value?a.value.locale.value:i.value,set:f=>{a.value&&(a.value.locale.value=f),i.value=f}}),x=je({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:f=>{a.value&&(a.value.fallbackLocale.value=f),l.value=f}}),M=je(()=>a.value?a.value.messages.value:c.value),z=je(()=>u.value),q=je(()=>d.value);function G(){return a.value?a.value.getPostTranslationHandler():w}function re(f){a.value&&a.value.setPostTranslationHandler(f)}function we(){return a.value?a.value.getMissingHandler():E}function ce(f){a.value&&a.value.setMissingHandler(f)}function ae(f){return S(),f()}function Q(...f){return a.value?ae(()=>Reflect.apply(a.value.t,null,[...f])):ae(()=>"")}function D(...f){return a.value?Reflect.apply(a.value.rt,null,[...f]):""}function Y(...f){return a.value?ae(()=>Reflect.apply(a.value.d,null,[...f])):ae(()=>"")}function oe(...f){return a.value?ae(()=>Reflect.apply(a.value.n,null,[...f])):ae(()=>"")}function ge(f){return a.value?a.value.tm(f):{}}function _e(f,C){return a.value?a.value.te(f,C):!1}function Ge(f){return a.value?a.value.getLocaleMessage(f):{}}function Ne(f,C){a.value&&(a.value.setLocaleMessage(f,C),c.value[f]=C)}function Se(f,C){a.value&&a.value.mergeLocaleMessage(f,C)}function Re(f){return a.value?a.value.getDateTimeFormat(f):{}}function H(f,C){a.value&&(a.value.setDateTimeFormat(f,C),u.value[f]=C)}function se(f,C){a.value&&a.value.mergeDateTimeFormat(f,C)}function Z(f){return a.value?a.value.getNumberFormat(f):{}}function ie(f,C){a.value&&(a.value.setNumberFormat(f,C),d.value[f]=C)}function ke(f,C){a.value&&a.value.mergeNumberFormat(f,C)}const Oe={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:x,messages:M,datetimeFormats:z,numberFormats:q,get inheritLocale(){return a.value?a.value.inheritLocale:o},set inheritLocale(f){a.value&&(a.value.inheritLocale=f)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:v},get pluralRules(){return a.value?a.value.pluralRules:$},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(f){a.value&&(a.value.missingWarn=f)},get fallbackWarn(){return a.value?a.value.fallbackWarn:k},set fallbackWarn(f){a.value&&(a.value.missingWarn=f)},get fallbackRoot(){return a.value?a.value.fallbackRoot:g},set fallbackRoot(f){a.value&&(a.value.fallbackRoot=f)},get fallbackFormat(){return a.value?a.value.fallbackFormat:_},set fallbackFormat(f){a.value&&(a.value.fallbackFormat=f)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:b},set warnHtmlMessage(f){a.value&&(a.value.warnHtmlMessage=f)},get escapeParameter(){return a.value?a.value.escapeParameter:y},set escapeParameter(f){a.value&&(a.value.escapeParameter=f)},t:Q,getPostTranslationHandler:G,setPostTranslationHandler:re,getMissingHandler:we,setMissingHandler:ce,rt:D,d:Y,n:oe,tm:ge,te:_e,getLocaleMessage:Ge,setLocaleMessage:Ne,mergeLocaleMessage:Se,getDateTimeFormat:Re,setDateTimeFormat:H,mergeDateTimeFormat:se,getNumberFormat:Z,setNumberFormat:ie,mergeNumberFormat:ke};function p(f){f.locale.value=i.value,f.fallbackLocale.value=l.value,Object.keys(c.value).forEach(C=>{f.mergeLocaleMessage(C,c.value[C])}),Object.keys(u.value).forEach(C=>{f.mergeDateTimeFormat(C,u.value[C])}),Object.keys(d.value).forEach(C=>{f.mergeNumberFormat(C,d.value[C])}),f.escapeParameter=y,f.fallbackFormat=_,f.fallbackRoot=g,f.fallbackWarn=k,f.missingWarn=h,f.warnHtmlMessage=b}return wd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ct(ot.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f=a.value=e.proxy.$i18n.__composer;t==="global"?(i.value=f.locale.value,l.value=f.fallbackLocale.value,c.value=f.messages.value,u.value=f.datetimeFormats.value,d.value=f.numberFormats.value):r&&p(f)}),Oe}const n1=["locale","fallbackLocale","availableLocales"],Lc=["t","rt","d","n","tm","te"];function s1(e,t){const n=Object.create(null);return n1.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a)throw ct(ot.UNEXPECTED_ERROR);const o=Je(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,Lc.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a||!a.value)throw ct(ot.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,a)}),()=>{delete e.config.globalProperties.$i18n,Lc.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}M0();__INTLIFY_JIT_COMPILATION__?cc(x0):cc(C0);v0(e0);y0(Xd);if(__INTLIFY_PROD_DEVTOOLS__){const e=on();e.__INTLIFY__=!0,c0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const fs=typeof window<"u";function r1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const He=Object.assign;function la(e,t){const n={};for(const s in t){const r=t[s];n[s]=Vt(r)?r.map(e):e(r)}return n}const Zs=()=>{},Vt=Array.isArray,o1=/\/$/,a1=e=>e.replace(o1,"");function ca(e,t,n="/"){let s,r={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,i>-1?i:t.length),r=e(o)),i>-1&&(s=s||t.slice(0,i),a=t.slice(i,t.length)),s=u1(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:a}}function i1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Oc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function l1(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&xs(t.matched[s],n.matched[r])&&_f(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _f(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!c1(e[n],t[n]))return!1;return!0}function c1(e,t){return Vt(e)?Ic(e,t):Vt(t)?Ic(t,e):e===t}function Ic(e,t){return Vt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function u1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,i;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a-(a===s.length?1:0)).join("/")}var hr;(function(e){e.pop="pop",e.push="push"})(hr||(hr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function d1(e){if(!e)if(fs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),a1(e)}const f1=/^[^#]+#/;function p1(e,t){return e.replace(f1,"#")+t}function m1(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Uo=()=>({left:window.pageXOffset,top:window.pageYOffset});function h1(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=m1(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Nc(e,t){return(history.state?history.state.position-t:-1)+e}const Ka=new Map;function g1(e,t){Ka.set(e,t)}function b1(e){const t=Ka.get(e);return Ka.delete(e),t}let _1=()=>location.protocol+"//"+location.host;function vf(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Oc(l,"")}return Oc(n,e)+s+r}function v1(e,t,n,s){let r=[],o=[],a=null;const i=({state:h})=>{const k=vf(e,location),g=n.value,_=t.value;let E=0;if(h){if(n.value=k,t.value=h,a&&a===g){a=null;return}E=_?h.position-_.position:0}else s(k);r.forEach(w=>{w(n.value,g,{delta:E,type:hr.pop,direction:E?E>0?er.forward:er.back:er.unknown})})};function l(){a=n.value}function c(h){r.push(h);const k=()=>{const g=r.indexOf(h);g>-1&&r.splice(g,1)};return o.push(k),k}function u(){const{history:h}=window;h.state&&h.replaceState(He({},h.state,{scroll:Uo()}),"")}function d(){for(const h of o)h();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Mc(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Uo():null}}function y1(e){const{history:t,location:n}=window,s={value:vf(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:_1()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(k){console.error(k),n[u?"replace":"assign"](h)}}function a(l,c){const u=He({},t.state,Mc(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});o(l,u,!0),s.value=l}function i(l,c){const u=He({},r.value,t.state,{forward:l,scroll:Uo()});o(u.current,u,!0);const d=He({},Mc(s.value,l,null),{position:u.position+1},c);o(l,d,!1),s.value=l}return{location:s,state:r,push:i,replace:a}}function w1(e){e=d1(e);const t=y1(e),n=v1(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=He({location:"",base:e,go:s,createHref:p1.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 k1(e){return typeof e=="string"||e&&typeof e=="object"}function yf(e){return typeof e=="string"||typeof e=="symbol"}const wn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wf=Symbol("");var Pc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Pc||(Pc={}));function As(e,t){return He(new Error,{type:e,[wf]:!0},t)}function sn(e,t){return e instanceof Error&&wf in e&&(t==null||!!(e.type&t))}const Rc="[^/]+?",E1={sensitive:!1,strict:!1,start:!0,end:!0},$1=/[.+*?^${}()[\]/\\]/g;function S1(e,t){const n=He({},E1,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function x1(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const A1={type:0,value:""},T1=/[a-zA-Z0-9_]/;function L1(e){if(!e)return[[]];if(e==="/")return[[A1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(k){throw new Error(`ERR (${n})/"${c}": ${k}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let i=0,l,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;i{a(b)}:Zs}function a(u){if(yf(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&s.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function i(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!kf(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!jc(u)&&s.set(u.record.name,u)}function c(u,d){let h,k={},g,_;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw As(1,{location:u});_=h.record.name,k=He(Fc(d.params,h.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Fc(u.params,h.keys.map(b=>b.name))),g=h.stringify(k)}else if("path"in u)g=u.path,h=n.find(b=>b.re.test(g)),h&&(k=h.parse(g),_=h.record.name);else{if(h=d.name?s.get(d.name):n.find(b=>b.re.test(d.path)),!h)throw As(1,{location:u,currentLocation:d});_=h.record.name,k=He({},d.params,u.params),g=h.stringify(k)}const E=[];let w=h;for(;w;)E.unshift(w.record),w=w.parent;return{name:_,path:g,params:k,matched:E,meta:P1(E)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:r}}function Fc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function N1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:M1(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 M1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function jc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function P1(e){return e.reduce((t,n)=>He(t,n.meta),{})}function Uc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function kf(e,t){return t.children.some(n=>n===e||kf(e,n))}const Ef=/#/g,R1=/&/g,D1=/\//g,F1=/=/g,j1=/\?/g,$f=/\+/g,U1=/%5B/g,H1=/%5D/g,Sf=/%5E/g,V1=/%60/g,Cf=/%7B/g,B1=/%7C/g,xf=/%7D/g,G1=/%20/g;function Gi(e){return encodeURI(""+e).replace(B1,"|").replace(U1,"[").replace(H1,"]")}function W1(e){return Gi(e).replace(Cf,"{").replace(xf,"}").replace(Sf,"^")}function qa(e){return Gi(e).replace($f,"%2B").replace(G1,"+").replace(Ef,"%23").replace(R1,"%26").replace(V1,"`").replace(Cf,"{").replace(xf,"}").replace(Sf,"^")}function z1(e){return qa(e).replace(F1,"%3D")}function K1(e){return Gi(e).replace(Ef,"%23").replace(j1,"%3F")}function q1(e){return e==null?"":K1(e).replace(D1,"%2F")}function ho(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function J1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&qa(o)):[s&&qa(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Y1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Vt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const X1=Symbol(""),Vc=Symbol(""),Wi=Symbol(""),zi=Symbol(""),Ja=Symbol("");function js(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tn(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,i)=>{const l=d=>{d===!1?i(As(4,{from:n,to:t})):d instanceof Error?i(d):k1(d)?i(As(2,{from:t,to:d})):(o&&s.enterCallbacks[r]===o&&typeof d=="function"&&o.push(d),a())},c=e.call(s&&s.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>i(d))})}function ua(e,t,n,s){const r=[];for(const o of e)for(const a in o.components){let i=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Q1(i)){const c=(i.__vccOpts||i)[t];c&&r.push(Tn(c,n,s,o,a))}else{let l=i();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const u=r1(c)?c.default:c;o.components[a]=u;const h=(u.__vccOpts||u)[t];return h&&Tn(h,n,s,o,a)()}))}}return r}function Q1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bc(e){const t=Rt(Wi),n=Rt(zi),s=je(()=>t.resolve(X(e.to))),r=je(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(xs.bind(null,u));if(h>-1)return h;const k=Gc(l[c-2]);return c>1&&Gc(u)===k&&d[d.length-1].path!==k?d.findIndex(xs.bind(null,l[c-2])):h}),o=je(()=>r.value>-1&&nb(n.params,s.value.params)),a=je(()=>r.value>-1&&r.value===n.matched.length-1&&_f(n.params,s.value.params));function i(l={}){return tb(l)?t[X(e.replace)?"replace":"push"](X(e.to)).catch(Zs):Promise.resolve()}return{route:s,href:je(()=>s.value.href),isActive:o,isExactActive:a,navigate:i}}const Z1=me({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:Bc,setup(e,{slots:t}){const n=wr(Bc(e)),{options:s}=Rt(Wi),r=je(()=>({[Wc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Wc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ve("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),eb=Z1;function tb(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 nb(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Vt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function Gc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wc=(e,t,n)=>e??t??n,sb=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Rt(Ja),r=je(()=>e.route||s.value),o=Rt(Vc,0),a=je(()=>{let c=X(o);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=je(()=>r.value.matched[a.value]);Gr(Vc,je(()=>a.value+1)),Gr(X1,i),Gr(Ja,r);const l=Ke();return pt(()=>[l.value,i.value,e.name],([c,u,d],[h,k,g])=>{u&&(u.instances[d]=c,k&&k!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=k.leaveGuards),u.updateGuards.size||(u.updateGuards=k.updateGuards))),c&&u&&(!k||!xs(u,k)||!h)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=i.value,h=d&&d.components[u];if(!h)return zc(n.default,{Component:h,route:c});const k=d.props[u],g=k?k===!0?c.params:typeof k=="function"?k(c):k:null,E=Ve(h,He({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return zc(n.default,{Component:E,route:c})||E}}});function zc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rb=sb;function ob(e){const t=I1(e.routes,e),n=e.parseQuery||J1,s=e.stringifyQuery||Hc,r=e.history,o=js(),a=js(),i=js(),l=xi(wn);let c=wn;fs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=la.bind(null,H=>""+H),d=la.bind(null,q1),h=la.bind(null,ho);function k(H,se){let Z,ie;return yf(H)?(Z=t.getRecordMatcher(H),ie=se):ie=H,t.addRoute(ie,Z)}function g(H){const se=t.getRecordMatcher(H);se&&t.removeRoute(se)}function _(){return t.getRoutes().map(H=>H.record)}function E(H){return!!t.getRecordMatcher(H)}function w(H,se){if(se=He({},se||l.value),typeof H=="string"){const f=ca(n,H,se.path),C=t.resolve({path:f.path},se),L=r.createHref(f.fullPath);return He(f,C,{params:h(C.params),hash:ho(f.hash),redirectedFrom:void 0,href:L})}let Z;if("path"in H)Z=He({},H,{path:ca(n,H.path,se.path).path});else{const f=He({},H.params);for(const C in f)f[C]==null&&delete f[C];Z=He({},H,{params:d(f)}),se.params=d(se.params)}const ie=t.resolve(Z,se),ke=H.hash||"";ie.params=u(h(ie.params));const Oe=i1(s,He({},H,{hash:W1(ke),path:ie.path})),p=r.createHref(Oe);return He({fullPath:Oe,hash:ke,query:s===Hc?Y1(H.query):H.query||{}},ie,{redirectedFrom:void 0,href:p})}function b(H){return typeof H=="string"?ca(n,H,l.value.path):He({},H)}function y(H,se){if(c!==H)return As(8,{from:se,to:H})}function v(H){return T(H)}function $(H){return v(He(b(H),{replace:!0}))}function S(H){const se=H.matched[H.matched.length-1];if(se&&se.redirect){const{redirect:Z}=se;let ie=typeof Z=="function"?Z(H):Z;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=b(ie):{path:ie},ie.params={}),He({query:H.query,hash:H.hash,params:"path"in ie?{}:H.params},ie)}}function T(H,se){const Z=c=w(H),ie=l.value,ke=H.state,Oe=H.force,p=H.replace===!0,f=S(Z);if(f)return T(He(b(f),{state:typeof f=="object"?He({},ke,f.state):ke,force:Oe,replace:p}),se||Z);const C=Z;C.redirectedFrom=se;let L;return!Oe&&l1(s,ie,Z)&&(L=As(16,{to:C,from:ie}),ge(ie,ie,!0,!1)),(L?Promise.resolve(L):z(C,ie)).catch(M=>sn(M)?sn(M,2)?M:ae(M):F(M,C,ie)).then(M=>{if(M){if(sn(M,2))return T(He({replace:p},b(M.to),{state:typeof M.to=="object"?He({},ke,M.to.state):ke,force:Oe}),se||C)}else M=G(C,ie,!0,p,ke);return q(C,ie,M),M})}function x(H,se){const Z=y(H,se);return Z?Promise.reject(Z):Promise.resolve()}function N(H){const se=Me.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(H):H()}function z(H,se){let Z;const[ie,ke,Oe]=ab(H,se);Z=ua(ie.reverse(),"beforeRouteLeave",H,se);for(const f of ie)f.leaveGuards.forEach(C=>{Z.push(Tn(C,H,se))});const p=x.bind(null,H,se);return Z.push(p),Re(Z).then(()=>{Z=[];for(const f of o.list())Z.push(Tn(f,H,se));return Z.push(p),Re(Z)}).then(()=>{Z=ua(ke,"beforeRouteUpdate",H,se);for(const f of ke)f.updateGuards.forEach(C=>{Z.push(Tn(C,H,se))});return Z.push(p),Re(Z)}).then(()=>{Z=[];for(const f of Oe)if(f.beforeEnter)if(Vt(f.beforeEnter))for(const C of f.beforeEnter)Z.push(Tn(C,H,se));else Z.push(Tn(f.beforeEnter,H,se));return Z.push(p),Re(Z)}).then(()=>(H.matched.forEach(f=>f.enterCallbacks={}),Z=ua(Oe,"beforeRouteEnter",H,se),Z.push(p),Re(Z))).then(()=>{Z=[];for(const f of a.list())Z.push(Tn(f,H,se));return Z.push(p),Re(Z)}).catch(f=>sn(f,8)?f:Promise.reject(f))}function q(H,se,Z){i.list().forEach(ie=>N(()=>ie(H,se,Z)))}function G(H,se,Z,ie,ke){const Oe=y(H,se);if(Oe)return Oe;const p=se===wn,f=fs?history.state:{};Z&&(ie||p?r.replace(H.fullPath,He({scroll:p&&f&&f.scroll},ke)):r.push(H.fullPath,ke)),l.value=H,ge(H,se,Z,p),ae()}let re;function we(){re||(re=r.listen((H,se,Z)=>{if(!Se.listening)return;const ie=w(H),ke=S(ie);if(ke){T(He(ke,{replace:!0}),ie).catch(Zs);return}c=ie;const Oe=l.value;fs&&g1(Nc(Oe.fullPath,Z.delta),Uo()),z(ie,Oe).catch(p=>sn(p,12)?p:sn(p,2)?(T(p.to,ie).then(f=>{sn(f,20)&&!Z.delta&&Z.type===hr.pop&&r.go(-1,!1)}).catch(Zs),Promise.reject()):(Z.delta&&r.go(-Z.delta,!1),F(p,ie,Oe))).then(p=>{p=p||G(ie,Oe,!1),p&&(Z.delta&&!sn(p,8)?r.go(-Z.delta,!1):Z.type===hr.pop&&sn(p,20)&&r.go(-1,!1)),q(ie,Oe,p)}).catch(Zs)}))}let ce=js(),oe=js(),Q;function F(H,se,Z){ae(H);const ie=oe.list();return ie.length?ie.forEach(ke=>ke(H,se,Z)):console.error(H),Promise.reject(H)}function J(){return Q&&l.value!==wn?Promise.resolve():new Promise((H,se)=>{ce.add([H,se])})}function ae(H){return Q||(Q=!H,we(),ce.list().forEach(([se,Z])=>H?Z(H):se()),ce.reset()),H}function ge(H,se,Z,ie){const{scrollBehavior:ke}=e;if(!fs||!ke)return Promise.resolve();const Oe=!Z&&b1(Nc(H.fullPath,0))||(ie||!Z)&&history.state&&history.state.scroll||null;return Ti().then(()=>ke(H,se,Oe)).then(p=>p&&h1(p)).catch(p=>F(p,H,se))}const _e=H=>r.go(H);let Ge;const Me=new Set,Se={currentRoute:l,listening:!0,addRoute:k,removeRoute:g,hasRoute:E,getRoutes:_,resolve:w,options:e,push:v,replace:$,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:oe.add,isReady:J,install(H){const se=this;H.component("RouterLink",eb),H.component("RouterView",rb),H.config.globalProperties.$router=se,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>X(l)}),fs&&!Ge&&l.value===wn&&(Ge=!0,v(r.location).catch(ke=>{}));const Z={};for(const ke in wn)Object.defineProperty(Z,ke,{get:()=>l.value[ke],enumerable:!0});H.provide(Wi,se),H.provide(zi,Zu(Z)),H.provide(Ja,l);const ie=H.unmount;Me.add(H),H.unmount=function(){Me.delete(H),Me.size<1&&(c=wn,re&&re(),re=null,l.value=wn,Ge=!1,Q=!1),ie()}}};function Re(H){return H.reduce((se,Z)=>se.then(()=>N(Z)),Promise.resolve())}return Se}function ab(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;axs(c,i))?s.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>xs(c,l))||r.push(l))}return[n,s,r]}function ts(){return Rt(zi)}function Af(e,t){return function(){return e.apply(t,arguments)}}const{toString:ib}=Object.prototype,{getPrototypeOf:Ki}=Object,Ho=(e=>t=>{const n=ib.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),en=e=>(e=e.toLowerCase(),t=>Ho(t)===e),Vo=e=>t=>typeof t===e,{isArray:Ns}=Array,gr=Vo("undefined");function lb(e){return e!==null&&!gr(e)&&e.constructor!==null&&!gr(e.constructor)&&Ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tf=en("ArrayBuffer");function cb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tf(e.buffer),t}const ub=Vo("string"),Ft=Vo("function"),Lf=Vo("number"),Bo=e=>e!==null&&typeof e=="object",db=e=>e===!0||e===!1,qr=e=>{if(Ho(e)!=="object")return!1;const t=Ki(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},fb=en("Date"),pb=en("File"),mb=en("Blob"),hb=en("FileList"),gb=e=>Bo(e)&&Ft(e.pipe),bb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ft(e.append)&&((t=Ho(e))==="formdata"||t==="object"&&Ft(e.toString)&&e.toString()==="[object FormData]"))},_b=en("URLSearchParams"),vb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Sr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Ns(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const If=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Nf=e=>!gr(e)&&e!==If;function Ya(){const{caseless:e}=Nf(this)&&this||{},t={},n=(s,r)=>{const o=e&&Of(t,r)||r;qr(t[o])&&qr(s)?t[o]=Ya(t[o],s):qr(s)?t[o]=Ya({},s):Ns(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Sr(t,(r,o)=>{n&&Ft(r)?e[o]=Af(r,n):e[o]=r},{allOwnKeys:s}),e),wb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kb=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Eb=(e,t,n,s)=>{let r,o,a;const i={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!s||s(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&Ki(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$b=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Sb=e=>{if(!e)return null;if(Ns(e))return e;let t=e.length;if(!Lf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Cb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ki(Uint8Array)),xb=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Ab=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Tb=en("HTMLFormElement"),Lb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Kc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ob=en("RegExp"),Mf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Sr(n,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(s[o]=a||r)}),Object.defineProperties(e,s)},Ib=e=>{Mf(e,(t,n)=>{if(Ft(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ft(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Nb=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return Ns(e)?s(e):s(String(e).split(t)),n},Mb=()=>{},Pb=(e,t)=>(e=+e,Number.isFinite(e)?e:t),da="abcdefghijklmnopqrstuvwxyz",qc="0123456789",Pf={DIGIT:qc,ALPHA:da,ALPHA_DIGIT:da+da.toUpperCase()+qc},Rb=(e=16,t=Pf.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Db(e){return!!(e&&Ft(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Fb=e=>{const t=new Array(10),n=(s,r)=>{if(Bo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=Ns(s)?[]:{};return Sr(s,(a,i)=>{const l=n(a,r+1);!gr(l)&&(o[i]=l)}),t[r]=void 0,o}}return s};return n(e,0)},jb=en("AsyncFunction"),Ub=e=>e&&(Bo(e)||Ft(e))&&Ft(e.then)&&Ft(e.catch),W={isArray:Ns,isArrayBuffer:Tf,isBuffer:lb,isFormData:bb,isArrayBufferView:cb,isString:ub,isNumber:Lf,isBoolean:db,isObject:Bo,isPlainObject:qr,isUndefined:gr,isDate:fb,isFile:pb,isBlob:mb,isRegExp:Ob,isFunction:Ft,isStream:gb,isURLSearchParams:_b,isTypedArray:Cb,isFileList:hb,forEach:Sr,merge:Ya,extend:yb,trim:vb,stripBOM:wb,inherits:kb,toFlatObject:Eb,kindOf:Ho,kindOfTest:en,endsWith:$b,toArray:Sb,forEachEntry:xb,matchAll:Ab,isHTMLForm:Tb,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:Mf,freezeMethods:Ib,toObjectSet:Nb,toCamelCase:Lb,noop:Mb,toFiniteNumber:Pb,findKey:Of,global:If,isContextDefined:Nf,ALPHABET:Pf,generateString:Rb,isSpecCompliantForm:Db,toJSONObject:Fb,isAsyncFn:jb,isThenable:Ub};function Ne(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}W.inherits(Ne,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Rf=Ne.prototype,Df={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Df[e]={value:e}});Object.defineProperties(Ne,Df);Object.defineProperty(Rf,"isAxiosError",{value:!0});Ne.from=(e,t,n,s,r,o)=>{const a=Object.create(Rf);return W.toFlatObject(e,a,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),Ne.call(a,e.message,t,n,s,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Hb=null;function Xa(e){return W.isPlainObject(e)||W.isArray(e)}function Ff(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function Jc(e,t,n){return e?e.concat(t).map(function(r,o){return r=Ff(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Vb(e){return W.isArray(e)&&!e.some(Xa)}const Bb=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function Go(e,t,n){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=W.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,E){return!W.isUndefined(E[_])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(W.isDate(g))return g.toISOString();if(!l&&W.isBlob(g))throw new Ne("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(g)||W.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,_,E){let w=g;if(g&&!E&&typeof g=="object"){if(W.endsWith(_,"{}"))_=s?_:_.slice(0,-2),g=JSON.stringify(g);else if(W.isArray(g)&&Vb(g)||(W.isFileList(g)||W.endsWith(_,"[]"))&&(w=W.toArray(g)))return _=Ff(_),w.forEach(function(y,v){!(W.isUndefined(y)||y===null)&&t.append(a===!0?Jc([_],v,o):a===null?_:_+"[]",c(y))}),!1}return Xa(g)?!0:(t.append(Jc(E,_,o),c(g)),!1)}const d=[],h=Object.assign(Bb,{defaultVisitor:u,convertValue:c,isVisitable:Xa});function k(g,_){if(!W.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+_.join("."));d.push(g),W.forEach(g,function(w,b){(!(W.isUndefined(w)||w===null)&&r.call(t,w,W.isString(b)?b.trim():b,_,h))===!0&&k(w,_?_.concat(b):[b])}),d.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return k(e),t}function Yc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function qi(e,t){this._pairs=[],e&&Go(e,this,t)}const jf=qi.prototype;jf.append=function(t,n){this._pairs.push([t,n])};jf.toString=function(t){const n=t?function(s){return t.call(this,s,Yc)}:Yc;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Gb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Uf(e,t,n){if(!t)return e;const s=n&&n.encode||Gb,r=n&&n.serialize;let o;if(r?o=r(t,n):o=W.isURLSearchParams(t)?t.toString():new qi(t,n).toString(s),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Xc{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Hf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wb=typeof URLSearchParams<"u"?URLSearchParams:qi,zb=typeof FormData<"u"?FormData:null,Kb=typeof Blob<"u"?Blob:null,qb={isBrowser:!0,classes:{URLSearchParams:Wb,FormData:zb,Blob:Kb},protocols:["http","https","file","blob","url","data"]},Vf=typeof window<"u"&&typeof document<"u",Jb=(e=>Vf&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Yb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vf,hasStandardBrowserEnv:Jb,hasStandardBrowserWebWorkerEnv:Yb},Symbol.toStringTag,{value:"Module"})),Xt={...Xb,...qb};function Qb(e,t){return Go(e,new Xt.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Xt.isNode&&W.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Zb(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function e_(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return a=!a&&W.isArray(r)?r.length:a,l?(W.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!i):((!r[a]||!W.isObject(r[a]))&&(r[a]=[]),t(n,s,r[a],o)&&W.isArray(r[a])&&(r[a]=e_(r[a])),!i)}if(W.isFormData(e)&&W.isFunction(e.entries)){const n={};return W.forEachEntry(e,(s,r)=>{t(Zb(s),r,n,0)}),n}return null}function t_(e,t,n){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Ji={transitional:Hf,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=W.isObject(t);if(o&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return r?JSON.stringify(Bf(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Qb(t,this.formSerializer).toString();if((i=W.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Go(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),t_(t)):t}],transformResponse:[function(t){const n=this.transitional||Ji.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&W.isString(t)&&(s&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?Ne.from(i,Ne.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Ji.headers[e]={}});const Yi=Ji,n_=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),s_=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&n_[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Qc=Symbol("internals");function Us(e){return e&&String(e).trim().toLowerCase()}function Jr(e){return e===!1||e==null?e:W.isArray(e)?e.map(Jr):String(e)}function r_(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const o_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fa(e,t,n,s,r){if(W.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!W.isString(t)){if(W.isString(s))return t.indexOf(s)!==-1;if(W.isRegExp(s))return s.test(t)}}function a_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function i_(e,t){const n=W.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,a){return this[s].call(this,t,r,o,a)},configurable:!0})})}class Wo{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(i,l,c){const u=Us(l);if(!u)throw new Error("header name must be a non-empty string");const d=W.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=Jr(i))}const a=(i,l)=>W.forEach(i,(c,u)=>o(c,u,l));return W.isPlainObject(t)||t instanceof this.constructor?a(t,n):W.isString(t)&&(t=t.trim())&&!o_(t)?a(s_(t),n):t!=null&&o(n,t,s),this}get(t,n){if(t=Us(t),t){const s=W.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return r_(r);if(W.isFunction(n))return n.call(this,r,s);if(W.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Us(t),t){const s=W.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||fa(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(a){if(a=Us(a),a){const i=W.findKey(s,a);i&&(!n||fa(s,s[i],i,n))&&(delete s[i],r=!0)}}return W.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||fa(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return W.forEach(this,(r,o)=>{const a=W.findKey(s,o);if(a){n[a]=Jr(r),delete n[o];return}const i=t?a_(o):String(o).trim();i!==o&&delete n[o],n[i]=Jr(r),s[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return W.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&W.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Qc]=this[Qc]={accessors:{}}).accessors,r=this.prototype;function o(a){const i=Us(a);s[i]||(i_(r,a),s[i]=!0)}return W.isArray(t)?t.forEach(o):o(t),this}}Wo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Wo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});W.freezeMethods(Wo);const dn=Wo;function pa(e,t){const n=this||Yi,s=t||n,r=dn.from(s.headers);let o=s.data;return W.forEach(e,function(i){o=i.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Gf(e){return!!(e&&e.__CANCEL__)}function Cr(e,t,n){Ne.call(this,e??"canceled",Ne.ERR_CANCELED,t,n),this.name="CanceledError"}W.inherits(Cr,Ne,{__CANCEL__:!0});function l_(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Ne("Request failed with status code "+n.status,[Ne.ERR_BAD_REQUEST,Ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const c_=Xt.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const a=[e+"="+encodeURIComponent(t)];W.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),W.isString(s)&&a.push("path="+s),W.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function u_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function d_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Wf(e,t){return e&&!u_(t)?d_(e,t):t}const f_=Xt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(a){const i=W.isString(a)?r(a):a;return i.protocol===s.protocol&&i.host===s.host}}():function(){return function(){return!0}}();function p_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function m_(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=s[o];a||(a=c),n[r]=l,s[r]=c;let d=o,h=0;for(;d!==r;)h+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-a{const o=r.loaded,a=r.lengthComputable?r.total:void 0,i=o-n,l=s(i),c=o<=a;n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const h_=typeof XMLHttpRequest<"u",g_=h_&&function(e){return new Promise(function(n,s){let r=e.data;const o=dn.from(e.headers).normalize();let{responseType:a,withXSRFToken:i}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(W.isFormData(r)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((u=o.getContentType())!==!1){const[_,...E]=u?u.split(";").map(w=>w.trim()).filter(Boolean):[];o.setContentType([_||"multipart/form-data",...E].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(_+":"+E))}const h=Wf(e.baseURL,e.url);d.open(e.method.toUpperCase(),Uf(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function k(){if(!d)return;const _=dn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};l_(function(y){n(y),c()},function(y){s(y),c()},w),d=null}if("onloadend"in d?d.onloadend=k:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(k)},d.onabort=function(){d&&(s(new Ne("Request aborted",Ne.ECONNABORTED,e,d)),d=null)},d.onerror=function(){s(new Ne("Network Error",Ne.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||Hf;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),s(new Ne(E,w.clarifyTimeoutError?Ne.ETIMEDOUT:Ne.ECONNABORTED,e,d)),d=null},Xt.hasStandardBrowserEnv&&(i&&W.isFunction(i)&&(i=i(e)),i||i!==!1&&f_(h))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&c_.read(e.xsrfCookieName);_&&o.set(e.xsrfHeaderName,_)}r===void 0&&o.setContentType(null),"setRequestHeader"in d&&W.forEach(o.toJSON(),function(E,w){d.setRequestHeader(w,E)}),W.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Zc(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Zc(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{d&&(s(!_||_.type?new Cr(null,e,d):_),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const g=p_(h);if(g&&Xt.protocols.indexOf(g)===-1){s(new Ne("Unsupported protocol "+g+":",Ne.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Qa={http:Hb,xhr:g_};W.forEach(Qa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const eu=e=>`- ${e}`,b_=e=>W.isFunction(e)||e===null||e===!1,zf={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${i} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(eu).join(` -`):" "+eu(o[0]):"as no adapter specified";throw new Ne("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:Qa};function ma(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Cr(null,e)}function tu(e){return ma(e),e.headers=dn.from(e.headers),e.data=pa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),zf.getAdapter(e.adapter||Yi.adapter)(e).then(function(s){return ma(e),s.data=pa.call(e,e.transformResponse,s),s.headers=dn.from(s.headers),s},function(s){return Gf(s)||(ma(e),s&&s.response&&(s.response.data=pa.call(e,e.transformResponse,s.response),s.response.headers=dn.from(s.response.headers))),Promise.reject(s)})}const nu=e=>e instanceof dn?e.toJSON():e;function Ts(e,t){t=t||{};const n={};function s(c,u,d){return W.isPlainObject(c)&&W.isPlainObject(u)?W.merge.call({caseless:d},c,u):W.isPlainObject(u)?W.merge({},u):W.isArray(u)?u.slice():u}function r(c,u,d){if(W.isUndefined(u)){if(!W.isUndefined(c))return s(void 0,c,d)}else return s(c,u,d)}function o(c,u){if(!W.isUndefined(u))return s(void 0,u)}function a(c,u){if(W.isUndefined(u)){if(!W.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function i(c,u,d){if(d in t)return s(c,u);if(d in e)return s(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(c,u)=>r(nu(c),nu(u),!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,h=d(e[u],t[u],u);W.isUndefined(h)&&d!==i||(n[u]=h)}),n}const Kf="1.6.7",Xi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xi[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const su={};Xi.transitional=function(t,n,s){function r(o,a){return"[Axios v"+Kf+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,i)=>{if(t===!1)throw new Ne(r(a," has been removed"+(n?" in "+n:"")),Ne.ERR_DEPRECATED);return n&&!su[a]&&(su[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,i):!0}};function __(e,t,n){if(typeof e!="object")throw new Ne("options must be an object",Ne.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const i=e[o],l=i===void 0||a(i,o,e);if(l!==!0)throw new Ne("option "+o+" must be "+l,Ne.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ne("Unknown option "+o,Ne.ERR_BAD_OPTION)}}const Za={assertOptions:__,validators:Xi},kn=Za.validators;class go{constructor(t){this.defaults=t,this.interceptors={request:new Xc,response:new Xc}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ts(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Za.assertOptions(s,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean)},!1),r!=null&&(W.isFunction(r)?n.paramsSerializer={serialize:r}:Za.assertOptions(r,{encode:kn.function,serialize:kn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&W.merge(o.common,o[n.method]);o&&W.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=dn.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let u,d=0,h;if(!l){const g=[tu.bind(this),void 0];for(g.unshift.apply(g,i),g.push.apply(g,c),h=g.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(i=>{s.subscribe(i),o=i}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,i){s.reason||(s.reason=new Cr(o,a,i),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Qi(function(r){t=r}),cancel:t}}}const v_=Qi;function y_(e){return function(n){return e.apply(null,n)}}function w_(e){return W.isObject(e)&&e.isAxiosError===!0}const ei={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ei).forEach(([e,t])=>{ei[t]=e});const k_=ei;function qf(e){const t=new Yr(e),n=Af(Yr.prototype.request,t);return W.extend(n,Yr.prototype,t,{allOwnKeys:!0}),W.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return qf(Ts(e,r))},n}const Qe=qf(Yi);Qe.Axios=Yr;Qe.CanceledError=Cr;Qe.CancelToken=v_;Qe.isCancel=Gf;Qe.VERSION=Kf;Qe.toFormData=Go;Qe.AxiosError=Ne;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=y_;Qe.isAxiosError=w_;Qe.mergeConfig=Ts;Qe.AxiosHeaders=dn;Qe.formToJSON=e=>Bf(W.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=zf.getAdapter;Qe.HttpStatusCode=k_;Qe.default=Qe;function bo(e){return bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bo(e)}function Xr(e,t){if(!e.vueAxiosInstalled){var n=Jf(t)?S_(t):t;if(C_(n)){var s=x_(e);if(s){var r=s<3?E_:$_;Object.keys(n).forEach(function(o){r(e,o,n[o])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function E_(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function $_(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function Jf(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function S_(e){return{axios:e,$http:e}}function C_(e){return bo(e)==="object"&&Object.keys(e).every(function(t){return Jf(e[t])})}function x_(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof pi>"u"?"undefined":bo(pi))=="object"?Lp.exports=Xr:typeof define=="function"&&define.amd?define([],function(){return Xr}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(Xr,window.axios);var Hs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},A_=Object.defineProperty,T_=Object.defineProperties,L_=Object.getOwnPropertyDescriptors,_o=Object.getOwnPropertySymbols,Yf=Object.prototype.hasOwnProperty,Xf=Object.prototype.propertyIsEnumerable,ru=(e,t,n)=>t in e?A_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ha=(e,t)=>{for(var n in t||(t={}))Yf.call(t,n)&&ru(e,n,t[n]);if(_o)for(var n of _o(t))Xf.call(t,n)&&ru(e,n,t[n]);return e},ou=(e,t)=>T_(e,L_(t)),O_=(e,t)=>{var n={};for(var s in e)Yf.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&_o)for(var s of _o(e))t.indexOf(s)<0&&Xf.call(e,s)&&(n[s]=e[s]);return n};const Fe=(e,t,n)=>(s,{attrs:r,slots:o})=>{var a=s,{size:i,color:l,strokeWidth:c}=a,u=O_(a,["size","color","strokeWidth"]);return Ve("svg",ha(ou(ha(ou(ha({},Hs),{width:i||Hs.width,height:i||Hs.height,stroke:l||Hs.stroke,"stroke-width":c||Hs["stroke-width"]}),r),{class:["tabler-icon",`tabler-icon-${e}`,(r==null?void 0:r.class)||""]}),u),[...n.map(d=>Ve(...d)),...o.default?[o.default()]:[]])};var I_=Fe("alert-circle-filled","IconAlertCircleFilled",[["path",{d:"M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm.01 13l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z","stroke-width":"0",fill:"currentColor",key:"svg-0"}]]),N_=Fe("alert-circle","IconAlertCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]),M_=Fe("alert-triangle-filled","IconAlertTriangleFilled",[["path",{d:"M12 1.67c.955 0 1.845 .467 2.39 1.247l.105 .16l8.114 13.548a2.914 2.914 0 0 1 -2.307 4.363l-.195 .008h-16.225a2.914 2.914 0 0 1 -2.582 -4.2l.099 -.185l8.11 -13.538a2.914 2.914 0 0 1 2.491 -1.403zm.01 13.33l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -7a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z","stroke-width":"0",fill:"currentColor",key:"svg-0"}]]),P_=Fe("alert-triangle","IconAlertTriangle",[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]),R_=Fe("arrow-bar-to-right","IconArrowBarToRight",[["path",{d:"M14 12l-10 0",key:"svg-0"}],["path",{d:"M14 12l-4 4",key:"svg-1"}],["path",{d:"M14 12l-4 -4",key:"svg-2"}],["path",{d:"M20 4l0 16",key:"svg-3"}]]),D_=Fe("arrow-bounce","IconArrowBounce",[["path",{d:"M10 18h4",key:"svg-0"}],["path",{d:"M3 8a9 9 0 0 1 9 9v1l1.428 -4.285a12 12 0 0 1 6.018 -6.938l.554 -.277",key:"svg-1"}],["path",{d:"M15 6h5v5",key:"svg-2"}]]),F_=Fe("arrow-iteration","IconArrowIteration",[["path",{d:"M8.5 16a5.5 5.5 0 1 0 -5.5 -5.5v.5",key:"svg-0"}],["path",{d:"M3 16h18",key:"svg-1"}],["path",{d:"M18 13l3 3l-3 3",key:"svg-2"}]]),j_=Fe("brand-codepen","IconBrandCodepen",[["path",{d:"M3 15l9 6l9 -6l-9 -6l-9 6",key:"svg-0"}],["path",{d:"M3 9l9 6l9 -6l-9 -6l-9 6",key:"svg-1"}],["path",{d:"M3 9l0 6",key:"svg-2"}],["path",{d:"M21 9l0 6",key:"svg-3"}],["path",{d:"M12 3l0 6",key:"svg-4"}],["path",{d:"M12 15l0 6",key:"svg-5"}]]),U_=Fe("brand-github","IconBrandGithub",[["path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5",key:"svg-0"}]]),H_=Fe("brand-open-source","IconBrandOpenSource",[["path",{d:"M12 3a9 9 0 0 1 3.618 17.243l-2.193 -5.602a3 3 0 1 0 -2.849 0l-2.193 5.603a9 9 0 0 1 3.617 -17.244z",key:"svg-0"}]]),V_=Fe("brand-twitter","IconBrandTwitter",[["path",{d:"M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c0 -.249 1.51 -2.772 1.818 -4.013z",key:"svg-0"}]]),B_=Fe("chevrons-right","IconChevronsRight",[["path",{d:"M7 7l5 5l-5 5",key:"svg-0"}],["path",{d:"M13 7l5 5l-5 5",key:"svg-1"}]]),G_=Fe("code","IconCode",[["path",{d:"M7 8l-4 4l4 4",key:"svg-0"}],["path",{d:"M17 8l4 4l-4 4",key:"svg-1"}],["path",{d:"M14 4l-4 16",key:"svg-2"}]]),W_=Fe("copy","IconCopy",[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]]),z_=Fe("database","IconDatabase",[["path",{d:"M12 6m-8 0a8 3 0 1 0 16 0a8 3 0 1 0 -16 0",key:"svg-0"}],["path",{d:"M4 6v6a8 3 0 0 0 16 0v-6",key:"svg-1"}],["path",{d:"M4 12v6a8 3 0 0 0 16 0v-6",key:"svg-2"}]]),K_=Fe("external-link","IconExternalLink",[["path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",key:"svg-0"}],["path",{d:"M11 13l9 -9",key:"svg-1"}],["path",{d:"M15 4h5v5",key:"svg-2"}]]),q_=Fe("file-sad","IconFileSad",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2zm-7 -7h.01m3.99 0h.01",key:"svg-1"}],["path",{d:"M10 18a3.5 3.5 0 0 1 4 0",key:"svg-2"}]]),J_=Fe("file-text","IconFileText",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z",key:"svg-1"}],["path",{d:"M9 9l1 0",key:"svg-2"}],["path",{d:"M9 13l6 0",key:"svg-3"}],["path",{d:"M9 17l6 0",key:"svg-4"}]]),Y_=Fe("filter-off","IconFilterOff",[["path",{d:"M8 4h12v2.172a2 2 0 0 1 -.586 1.414l-3.914 3.914m-.5 3.5v4l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]]),X_=Fe("filter","IconFilter",[["path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z",key:"svg-0"}]]),Q_=Fe("git-cherry-pick","IconGitCherryPick",[["path",{d:"M7 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M7 3v6",key:"svg-1"}],["path",{d:"M7 15v6",key:"svg-2"}],["path",{d:"M13 7h2.5l1.5 5l-1.5 5h-2.5",key:"svg-3"}],["path",{d:"M17 12h3",key:"svg-4"}]]),Z_=Fe("heart-filled","IconHeartFilled",[["path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z","stroke-width":"0",fill:"currentColor",key:"svg-0"}]]),ev=Fe("language-hiragana","IconLanguageHiragana",[["path",{d:"M4 5h7",key:"svg-0"}],["path",{d:"M7 4c0 4.846 0 7 .5 8",key:"svg-1"}],["path",{d:"M10 8.5c0 2.286 -2 4.5 -3.5 4.5s-2.5 -1.135 -2.5 -2c0 -2 1 -3 3 -3s5 .57 5 2.857c0 1.524 -.667 2.571 -2 3.143",key:"svg-2"}],["path",{d:"M12 20l4 -9l4 9",key:"svg-3"}],["path",{d:"M19.1 18h-6.2",key:"svg-4"}]]),tv=Fe("lock-open","IconLockOpen",[["path",{d:"M5 11m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-5a4 4 0 0 1 8 0",key:"svg-2"}]]),nv=Fe("lock","IconLock",[["path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z",key:"svg-0"}],["path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-4a4 4 0 1 1 8 0v4",key:"svg-2"}]]),sv=Fe("mail","IconMail",[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z",key:"svg-0"}],["path",{d:"M3 7l9 6l9 -6",key:"svg-1"}]]),rv=Fe("moon-off","IconMoonOff",[["path",{d:"M7.962 3.949a8.97 8.97 0 0 1 4.038 -.957v.008h.393a7.478 7.478 0 0 0 -2.07 3.308m-.141 3.84c.186 .823 .514 1.626 .989 2.373a7.49 7.49 0 0 0 4.586 3.268m3.893 -.11c.223 -.067 .444 -.144 .663 -.233a9.088 9.088 0 0 1 -.274 .597m-1.695 2.337a9 9 0 0 1 -12.71 -12.749",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]]),ov=Fe("moon","IconMoon",[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z",key:"svg-0"}]]),av=Fe("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]]),iv=Fe("triangles","IconTriangles",[["path",{d:"M9.974 21h8.052a.975 .975 0 0 0 .81 -1.517l-4.025 -6.048a.973 .973 0 0 0 -1.622 0l-4.025 6.048a.977 .977 0 0 0 .81 1.517z",key:"svg-0"}],["path",{d:"M4.98 16h14.04c.542 0 .98 -.443 .98 -.989a1 1 0 0 0 -.156 -.534l-7.02 -11.023a.974 .974 0 0 0 -1.648 0l-7.02 11.023a1 1 0 0 0 .294 1.366a.973 .973 0 0 0 .53 .157z",key:"svg-1"}]]),lv=Fe("world","IconWorld",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]]);const cv={class:"bg-base-300 dark:bg-base-dark-200 text-base-dark-600 dark:text-base-dark-900 text-sm px-4 w-full mt-6"},uv={class:"max-w-[78rem] w-full mx-auto"},dv={class:"items-center font-medium py-4 flex"},fv={class:"flex-1 flex flex-col gap-1"},pv=m("p",{class:"flex flex-wrap gap-1"},[m("span",{class:"whitespace-nowrap"},"Copyright © 2020 - 2024"),m("span",{class:"whitespace-nowrap"},"Linkie & shedaniel.")],-1),mv={class:"whitespace-nowrap"},hv={href:"https://twitter.com/shedaniel_/"},gv={href:"mailto:daniel@shedaniel.me",class:"ml-3"},bv={href:"https://github.com/linkie/linkie-web/",class:"ml-3"},_v={href:"/oss",class:"ml-3"},vv=me({__name:"Footer",setup(e){return(t,n)=>(A(),I("div",cv,[m("footer",uv,[m("div",dv,[m("div",fv,[pv,m("p",null,[m("span",mv,[K(" Made with "),P(X(Z_),{class:"text-red-400 inline-block",size:18}),K(" in Hong Kong. ")])])]),m("a",hv,[P(X(V_))]),m("a",gv,[P(X(sv))]),m("a",bv,[P(X(U_))]),m("a",_v,[P(X(H_))])])])]))}});var yv=!1;/*! + */const fs=typeof window<"u";function r1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const He=Object.assign;function io(e,t){const n={};for(const s in t){const r=t[s];n[s]=Vt(r)?r.map(e):e(r)}return n}const Zs=()=>{},Vt=Array.isArray,a1=/\/$/,o1=e=>e.replace(a1,"");function lo(e,t,n="/"){let s,r={},a="",o="";const i=t.indexOf("#");let l=t.indexOf("?");return i=0&&(l=-1),l>-1&&(s=t.slice(0,l),a=t.slice(l+1,i>-1?i:t.length),r=e(a)),i>-1&&(s=s||t.slice(0,i),o=t.slice(i,t.length)),s=u1(s??t,n),{fullPath:s+(a&&"?")+a+o,path:s,query:r,hash:o}}function i1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Oc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function l1(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&xs(t.matched[s],n.matched[r])&&_f(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _f(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!c1(e[n],t[n]))return!1;return!0}function c1(e,t){return Vt(e)?Ic(e,t):Vt(t)?Ic(t,e):e===t}function Ic(e,t){return Vt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function u1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let a=n.length-1,o,i;for(o=0;o1&&a--;else break;return n.slice(0,a).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var hr;(function(e){e.pop="pop",e.push="push"})(hr||(hr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function d1(e){if(!e)if(fs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),o1(e)}const f1=/^[^#]+#/;function p1(e,t){return e.replace(f1,"#")+t}function m1(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ja=()=>({left:window.pageXOffset,top:window.pageYOffset});function h1(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=m1(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Mc(e,t){return(history.state?history.state.position-t:-1)+e}const Ko=new Map;function g1(e,t){Ko.set(e,t)}function b1(e){const t=Ko.get(e);return Ko.delete(e),t}let _1=()=>location.protocol+"//"+location.host;function vf(e,t){const{pathname:n,search:s,hash:r}=t,a=e.indexOf("#");if(a>-1){let i=r.includes(e.slice(a))?e.slice(a).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Oc(l,"")}return Oc(n,e)+s+r}function v1(e,t,n,s){let r=[],a=[],o=null;const i=({state:h})=>{const k=vf(e,location),g=n.value,_=t.value;let E=0;if(h){if(n.value=k,t.value=h,o&&o===g){o=null;return}E=_?h.position-_.position:0}else s(k);r.forEach(w=>{w(n.value,g,{delta:E,type:hr.pop,direction:E?E>0?er.forward:er.back:er.unknown})})};function l(){o=n.value}function c(h){r.push(h);const k=()=>{const g=r.indexOf(h);g>-1&&r.splice(g,1)};return a.push(k),k}function u(){const{history:h}=window;h.state&&h.replaceState(He({},h.state,{scroll:ja()}),"")}function d(){for(const h of a)h();a=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Nc(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ja():null}}function y1(e){const{history:t,location:n}=window,s={value:vf(e,n)},r={value:t.state};r.value||a(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,c,u){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:_1()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(k){console.error(k),n[u?"replace":"assign"](h)}}function o(l,c){const u=He({},t.state,Nc(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});a(l,u,!0),s.value=l}function i(l,c){const u=He({},r.value,t.state,{forward:l,scroll:ja()});a(u.current,u,!0);const d=He({},Nc(s.value,l,null),{position:u.position+1},c);a(l,d,!1),s.value=l}return{location:s,state:r,push:i,replace:o}}function w1(e){e=d1(e);const t=y1(e),n=v1(e,t.state,t.location,t.replace);function s(a,o=!0){o||n.pauseListeners(),history.go(a)}const r=He({location:"",base:e,go:s,createHref:p1.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 k1(e){return typeof e=="string"||e&&typeof e=="object"}function yf(e){return typeof e=="string"||typeof e=="symbol"}const wn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wf=Symbol("");var Pc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Pc||(Pc={}));function As(e,t){return He(new Error,{type:e,[wf]:!0},t)}function sn(e,t){return e instanceof Error&&wf in e&&(t==null||!!(e.type&t))}const Rc="[^/]+?",E1={sensitive:!1,strict:!1,start:!0,end:!0},$1=/[.+*?^${}()[\]/\\]/g;function S1(e,t){const n=He({},E1,t),s=[];let r=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function x1(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const A1={type:0,value:""},T1=/[a-zA-Z0-9_]/;function L1(e){if(!e)return[[]];if(e==="/")return[[A1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(k){throw new Error(`ERR (${n})/"${c}": ${k}`)}let n=0,s=n;const r=[];let a;function o(){a&&r.push(a),a=[]}let i=0,l,c="",u="";function d(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;i{o(b)}:Zs}function o(u){if(yf(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function i(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!kf(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!jc(u)&&s.set(u.record.name,u)}function c(u,d){let h,k={},g,_;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw As(1,{location:u});_=h.record.name,k=He(Dc(d.params,h.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Dc(u.params,h.keys.map(b=>b.name))),g=h.stringify(k)}else if("path"in u)g=u.path,h=n.find(b=>b.re.test(g)),h&&(k=h.parse(g),_=h.record.name);else{if(h=d.name?s.get(d.name):n.find(b=>b.re.test(d.path)),!h)throw As(1,{location:u,currentLocation:d});_=h.record.name,k=He({},d.params,u.params),g=h.stringify(k)}const E=[];let w=h;for(;w;)E.unshift(w.record),w=w.parent;return{name:_,path:g,params:k,matched:E,meta:P1(E)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:o,getRoutes:i,getRecordMatcher:r}}function Dc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function M1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:N1(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 N1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function jc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function P1(e){return e.reduce((t,n)=>He(t,n.meta),{})}function Uc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function kf(e,t){return t.children.some(n=>n===e||kf(e,n))}const Ef=/#/g,R1=/&/g,F1=/\//g,D1=/=/g,j1=/\?/g,$f=/\+/g,U1=/%5B/g,H1=/%5D/g,Sf=/%5E/g,V1=/%60/g,Cf=/%7B/g,B1=/%7C/g,xf=/%7D/g,G1=/%20/g;function Gi(e){return encodeURI(""+e).replace(B1,"|").replace(U1,"[").replace(H1,"]")}function W1(e){return Gi(e).replace(Cf,"{").replace(xf,"}").replace(Sf,"^")}function qo(e){return Gi(e).replace($f,"%2B").replace(G1,"+").replace(Ef,"%23").replace(R1,"%26").replace(V1,"`").replace(Cf,"{").replace(xf,"}").replace(Sf,"^")}function z1(e){return qo(e).replace(D1,"%3D")}function K1(e){return Gi(e).replace(Ef,"%23").replace(j1,"%3F")}function q1(e){return e==null?"":K1(e).replace(F1,"%2F")}function ma(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Y1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ra&&qo(a)):[s&&qo(s)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function J1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Vt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const X1=Symbol(""),Vc=Symbol(""),Wi=Symbol(""),zi=Symbol(""),Yo=Symbol("");function js(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tn(e,t,n,s,r){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,i)=>{const l=d=>{d===!1?i(As(4,{from:n,to:t})):d instanceof Error?i(d):k1(d)?i(As(2,{from:t,to:d})):(a&&s.enterCallbacks[r]===a&&typeof d=="function"&&a.push(d),o())},c=e.call(s&&s.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>i(d))})}function co(e,t,n,s){const r=[];for(const a of e)for(const o in a.components){let i=a.components[o];if(!(t!=="beforeRouteEnter"&&!a.instances[o]))if(Q1(i)){const c=(i.__vccOpts||i)[t];c&&r.push(Tn(c,n,s,a,o))}else{let l=i();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const u=r1(c)?c.default:c;a.components[o]=u;const h=(u.__vccOpts||u)[t];return h&&Tn(h,n,s,a,o)()}))}}return r}function Q1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bc(e){const t=Rt(Wi),n=Rt(zi),s=je(()=>t.resolve(X(e.to))),r=je(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(xs.bind(null,u));if(h>-1)return h;const k=Gc(l[c-2]);return c>1&&Gc(u)===k&&d[d.length-1].path!==k?d.findIndex(xs.bind(null,l[c-2])):h}),a=je(()=>r.value>-1&&nb(n.params,s.value.params)),o=je(()=>r.value>-1&&r.value===n.matched.length-1&&_f(n.params,s.value.params));function i(l={}){return tb(l)?t[X(e.replace)?"replace":"push"](X(e.to)).catch(Zs):Promise.resolve()}return{route:s,href:je(()=>s.value.href),isActive:a,isExactActive:o,navigate:i}}const Z1=me({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:Bc,setup(e,{slots:t}){const n=wr(Bc(e)),{options:s}=Rt(Wi),r=je(()=>({[Wc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Wc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:Ve("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),eb=Z1;function tb(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 nb(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Vt(r)||r.length!==s.length||s.some((a,o)=>a!==r[o]))return!1}return!0}function Gc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wc=(e,t,n)=>e??t??n,sb=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Rt(Yo),r=je(()=>e.route||s.value),a=Rt(Vc,0),o=je(()=>{let c=X(a);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=je(()=>r.value.matched[o.value]);Gr(Vc,je(()=>o.value+1)),Gr(X1,i),Gr(Yo,r);const l=Ke();return pt(()=>[l.value,i.value,e.name],([c,u,d],[h,k,g])=>{u&&(u.instances[d]=c,k&&k!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=k.leaveGuards),u.updateGuards.size||(u.updateGuards=k.updateGuards))),c&&u&&(!k||!xs(u,k)||!h)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=i.value,h=d&&d.components[u];if(!h)return zc(n.default,{Component:h,route:c});const k=d.props[u],g=k?k===!0?c.params:typeof k=="function"?k(c):k:null,E=Ve(h,He({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return zc(n.default,{Component:E,route:c})||E}}});function zc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rb=sb;function ab(e){const t=I1(e.routes,e),n=e.parseQuery||Y1,s=e.stringifyQuery||Hc,r=e.history,a=js(),o=js(),i=js(),l=xi(wn);let c=wn;fs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=io.bind(null,H=>""+H),d=io.bind(null,q1),h=io.bind(null,ma);function k(H,se){let Z,ie;return yf(H)?(Z=t.getRecordMatcher(H),ie=se):ie=H,t.addRoute(ie,Z)}function g(H){const se=t.getRecordMatcher(H);se&&t.removeRoute(se)}function _(){return t.getRoutes().map(H=>H.record)}function E(H){return!!t.getRecordMatcher(H)}function w(H,se){if(se=He({},se||l.value),typeof H=="string"){const f=lo(n,H,se.path),C=t.resolve({path:f.path},se),L=r.createHref(f.fullPath);return He(f,C,{params:h(C.params),hash:ma(f.hash),redirectedFrom:void 0,href:L})}let Z;if("path"in H)Z=He({},H,{path:lo(n,H.path,se.path).path});else{const f=He({},H.params);for(const C in f)f[C]==null&&delete f[C];Z=He({},H,{params:d(f)}),se.params=d(se.params)}const ie=t.resolve(Z,se),ke=H.hash||"";ie.params=u(h(ie.params));const Oe=i1(s,He({},H,{hash:W1(ke),path:ie.path})),p=r.createHref(Oe);return He({fullPath:Oe,hash:ke,query:s===Hc?J1(H.query):H.query||{}},ie,{redirectedFrom:void 0,href:p})}function b(H){return typeof H=="string"?lo(n,H,l.value.path):He({},H)}function y(H,se){if(c!==H)return As(8,{from:se,to:H})}function v(H){return T(H)}function $(H){return v(He(b(H),{replace:!0}))}function S(H){const se=H.matched[H.matched.length-1];if(se&&se.redirect){const{redirect:Z}=se;let ie=typeof Z=="function"?Z(H):Z;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=b(ie):{path:ie},ie.params={}),He({query:H.query,hash:H.hash,params:"path"in ie?{}:H.params},ie)}}function T(H,se){const Z=c=w(H),ie=l.value,ke=H.state,Oe=H.force,p=H.replace===!0,f=S(Z);if(f)return T(He(b(f),{state:typeof f=="object"?He({},ke,f.state):ke,force:Oe,replace:p}),se||Z);const C=Z;C.redirectedFrom=se;let L;return!Oe&&l1(s,ie,Z)&&(L=As(16,{to:C,from:ie}),ge(ie,ie,!0,!1)),(L?Promise.resolve(L):z(C,ie)).catch(N=>sn(N)?sn(N,2)?N:oe(N):D(N,C,ie)).then(N=>{if(N){if(sn(N,2))return T(He({replace:p},b(N.to),{state:typeof N.to=="object"?He({},ke,N.to.state):ke,force:Oe}),se||C)}else N=G(C,ie,!0,p,ke);return q(C,ie,N),N})}function x(H,se){const Z=y(H,se);return Z?Promise.reject(Z):Promise.resolve()}function M(H){const se=Ne.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(H):H()}function z(H,se){let Z;const[ie,ke,Oe]=ob(H,se);Z=co(ie.reverse(),"beforeRouteLeave",H,se);for(const f of ie)f.leaveGuards.forEach(C=>{Z.push(Tn(C,H,se))});const p=x.bind(null,H,se);return Z.push(p),Re(Z).then(()=>{Z=[];for(const f of a.list())Z.push(Tn(f,H,se));return Z.push(p),Re(Z)}).then(()=>{Z=co(ke,"beforeRouteUpdate",H,se);for(const f of ke)f.updateGuards.forEach(C=>{Z.push(Tn(C,H,se))});return Z.push(p),Re(Z)}).then(()=>{Z=[];for(const f of Oe)if(f.beforeEnter)if(Vt(f.beforeEnter))for(const C of f.beforeEnter)Z.push(Tn(C,H,se));else Z.push(Tn(f.beforeEnter,H,se));return Z.push(p),Re(Z)}).then(()=>(H.matched.forEach(f=>f.enterCallbacks={}),Z=co(Oe,"beforeRouteEnter",H,se),Z.push(p),Re(Z))).then(()=>{Z=[];for(const f of o.list())Z.push(Tn(f,H,se));return Z.push(p),Re(Z)}).catch(f=>sn(f,8)?f:Promise.reject(f))}function q(H,se,Z){i.list().forEach(ie=>M(()=>ie(H,se,Z)))}function G(H,se,Z,ie,ke){const Oe=y(H,se);if(Oe)return Oe;const p=se===wn,f=fs?history.state:{};Z&&(ie||p?r.replace(H.fullPath,He({scroll:p&&f&&f.scroll},ke)):r.push(H.fullPath,ke)),l.value=H,ge(H,se,Z,p),oe()}let re;function we(){re||(re=r.listen((H,se,Z)=>{if(!Se.listening)return;const ie=w(H),ke=S(ie);if(ke){T(He(ke,{replace:!0}),ie).catch(Zs);return}c=ie;const Oe=l.value;fs&&g1(Mc(Oe.fullPath,Z.delta),ja()),z(ie,Oe).catch(p=>sn(p,12)?p:sn(p,2)?(T(p.to,ie).then(f=>{sn(f,20)&&!Z.delta&&Z.type===hr.pop&&r.go(-1,!1)}).catch(Zs),Promise.reject()):(Z.delta&&r.go(-Z.delta,!1),D(p,ie,Oe))).then(p=>{p=p||G(ie,Oe,!1),p&&(Z.delta&&!sn(p,8)?r.go(-Z.delta,!1):Z.type===hr.pop&&sn(p,20)&&r.go(-1,!1)),q(ie,Oe,p)}).catch(Zs)}))}let ce=js(),ae=js(),Q;function D(H,se,Z){oe(H);const ie=ae.list();return ie.length?ie.forEach(ke=>ke(H,se,Z)):console.error(H),Promise.reject(H)}function Y(){return Q&&l.value!==wn?Promise.resolve():new Promise((H,se)=>{ce.add([H,se])})}function oe(H){return Q||(Q=!H,we(),ce.list().forEach(([se,Z])=>H?Z(H):se()),ce.reset()),H}function ge(H,se,Z,ie){const{scrollBehavior:ke}=e;if(!fs||!ke)return Promise.resolve();const Oe=!Z&&b1(Mc(H.fullPath,0))||(ie||!Z)&&history.state&&history.state.scroll||null;return Ti().then(()=>ke(H,se,Oe)).then(p=>p&&h1(p)).catch(p=>D(p,H,se))}const _e=H=>r.go(H);let Ge;const Ne=new Set,Se={currentRoute:l,listening:!0,addRoute:k,removeRoute:g,hasRoute:E,getRoutes:_,resolve:w,options:e,push:v,replace:$,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:a.add,beforeResolve:o.add,afterEach:i.add,onError:ae.add,isReady:Y,install(H){const se=this;H.component("RouterLink",eb),H.component("RouterView",rb),H.config.globalProperties.$router=se,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>X(l)}),fs&&!Ge&&l.value===wn&&(Ge=!0,v(r.location).catch(ke=>{}));const Z={};for(const ke in wn)Object.defineProperty(Z,ke,{get:()=>l.value[ke],enumerable:!0});H.provide(Wi,se),H.provide(zi,Zu(Z)),H.provide(Yo,l);const ie=H.unmount;Ne.add(H),H.unmount=function(){Ne.delete(H),Ne.size<1&&(c=wn,re&&re(),re=null,l.value=wn,Ge=!1,Q=!1),ie()}}};function Re(H){return H.reduce((se,Z)=>se.then(()=>M(Z)),Promise.resolve())}return Se}function ob(e,t){const n=[],s=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;oxs(c,i))?s.push(i):n.push(i));const l=e.matched[o];l&&(t.matched.find(c=>xs(c,l))||r.push(l))}return[n,s,r]}function ts(){return Rt(zi)}function Af(e,t){return function(){return e.apply(t,arguments)}}const{toString:ib}=Object.prototype,{getPrototypeOf:Ki}=Object,Ua=(e=>t=>{const n=ib.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),en=e=>(e=e.toLowerCase(),t=>Ua(t)===e),Ha=e=>t=>typeof t===e,{isArray:Ms}=Array,gr=Ha("undefined");function lb(e){return e!==null&&!gr(e)&&e.constructor!==null&&!gr(e.constructor)&&Dt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tf=en("ArrayBuffer");function cb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tf(e.buffer),t}const ub=Ha("string"),Dt=Ha("function"),Lf=Ha("number"),Va=e=>e!==null&&typeof e=="object",db=e=>e===!0||e===!1,qr=e=>{if(Ua(e)!=="object")return!1;const t=Ki(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},fb=en("Date"),pb=en("File"),mb=en("Blob"),hb=en("FileList"),gb=e=>Va(e)&&Dt(e.pipe),bb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Dt(e.append)&&((t=Ua(e))==="formdata"||t==="object"&&Dt(e.toString)&&e.toString()==="[object FormData]"))},_b=en("URLSearchParams"),vb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Sr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Ms(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const If=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mf=e=>!gr(e)&&e!==If;function Jo(){const{caseless:e}=Mf(this)&&this||{},t={},n=(s,r)=>{const a=e&&Of(t,r)||r;qr(t[a])&&qr(s)?t[a]=Jo(t[a],s):qr(s)?t[a]=Jo({},s):Ms(s)?t[a]=s.slice():t[a]=s};for(let s=0,r=arguments.length;s(Sr(t,(r,a)=>{n&&Dt(r)?e[a]=Af(r,n):e[a]=r},{allOwnKeys:s}),e),wb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kb=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Eb=(e,t,n,s)=>{let r,a,o;const i={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)o=r[a],(!s||s(o,e,t))&&!i[o]&&(t[o]=e[o],i[o]=!0);e=n!==!1&&Ki(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$b=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Sb=e=>{if(!e)return null;if(Ms(e))return e;let t=e.length;if(!Lf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Cb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ki(Uint8Array)),xb=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const a=r.value;t.call(e,a[0],a[1])}},Ab=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Tb=en("HTMLFormElement"),Lb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Kc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ob=en("RegExp"),Nf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Sr(n,(r,a)=>{let o;(o=t(r,a,e))!==!1&&(s[a]=o||r)}),Object.defineProperties(e,s)},Ib=e=>{Nf(e,(t,n)=>{if(Dt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Dt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Mb=(e,t)=>{const n={},s=r=>{r.forEach(a=>{n[a]=!0})};return Ms(e)?s(e):s(String(e).split(t)),n},Nb=()=>{},Pb=(e,t)=>(e=+e,Number.isFinite(e)?e:t),uo="abcdefghijklmnopqrstuvwxyz",qc="0123456789",Pf={DIGIT:qc,ALPHA:uo,ALPHA_DIGIT:uo+uo.toUpperCase()+qc},Rb=(e=16,t=Pf.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Fb(e){return!!(e&&Dt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Db=e=>{const t=new Array(10),n=(s,r)=>{if(Va(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const a=Ms(s)?[]:{};return Sr(s,(o,i)=>{const l=n(o,r+1);!gr(l)&&(a[i]=l)}),t[r]=void 0,a}}return s};return n(e,0)},jb=en("AsyncFunction"),Ub=e=>e&&(Va(e)||Dt(e))&&Dt(e.then)&&Dt(e.catch),W={isArray:Ms,isArrayBuffer:Tf,isBuffer:lb,isFormData:bb,isArrayBufferView:cb,isString:ub,isNumber:Lf,isBoolean:db,isObject:Va,isPlainObject:qr,isUndefined:gr,isDate:fb,isFile:pb,isBlob:mb,isRegExp:Ob,isFunction:Dt,isStream:gb,isURLSearchParams:_b,isTypedArray:Cb,isFileList:hb,forEach:Sr,merge:Jo,extend:yb,trim:vb,stripBOM:wb,inherits:kb,toFlatObject:Eb,kindOf:Ua,kindOfTest:en,endsWith:$b,toArray:Sb,forEachEntry:xb,matchAll:Ab,isHTMLForm:Tb,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:Nf,freezeMethods:Ib,toObjectSet:Mb,toCamelCase:Lb,noop:Nb,toFiniteNumber:Pb,findKey:Of,global:If,isContextDefined:Mf,ALPHABET:Pf,generateString:Rb,isSpecCompliantForm:Fb,toJSONObject:Db,isAsyncFn:jb,isThenable:Ub};function Me(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}W.inherits(Me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Rf=Me.prototype,Ff={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ff[e]={value:e}});Object.defineProperties(Me,Ff);Object.defineProperty(Rf,"isAxiosError",{value:!0});Me.from=(e,t,n,s,r,a)=>{const o=Object.create(Rf);return W.toFlatObject(e,o,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),Me.call(o,e.message,t,n,s,r),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const Hb=null;function Xo(e){return W.isPlainObject(e)||W.isArray(e)}function Df(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function Yc(e,t,n){return e?e.concat(t).map(function(r,a){return r=Df(r),!n&&a?"["+r+"]":r}).join(n?".":""):t}function Vb(e){return W.isArray(e)&&!e.some(Xo)}const Bb=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function Ba(e,t,n){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=W.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,E){return!W.isUndefined(E[_])});const s=n.metaTokens,r=n.visitor||u,a=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(W.isDate(g))return g.toISOString();if(!l&&W.isBlob(g))throw new Me("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(g)||W.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,_,E){let w=g;if(g&&!E&&typeof g=="object"){if(W.endsWith(_,"{}"))_=s?_:_.slice(0,-2),g=JSON.stringify(g);else if(W.isArray(g)&&Vb(g)||(W.isFileList(g)||W.endsWith(_,"[]"))&&(w=W.toArray(g)))return _=Df(_),w.forEach(function(y,v){!(W.isUndefined(y)||y===null)&&t.append(o===!0?Yc([_],v,a):o===null?_:_+"[]",c(y))}),!1}return Xo(g)?!0:(t.append(Yc(E,_,a),c(g)),!1)}const d=[],h=Object.assign(Bb,{defaultVisitor:u,convertValue:c,isVisitable:Xo});function k(g,_){if(!W.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+_.join("."));d.push(g),W.forEach(g,function(w,b){(!(W.isUndefined(w)||w===null)&&r.call(t,w,W.isString(b)?b.trim():b,_,h))===!0&&k(w,_?_.concat(b):[b])}),d.pop()}}if(!W.isObject(e))throw new TypeError("data must be an object");return k(e),t}function Jc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function qi(e,t){this._pairs=[],e&&Ba(e,this,t)}const jf=qi.prototype;jf.append=function(t,n){this._pairs.push([t,n])};jf.toString=function(t){const n=t?function(s){return t.call(this,s,Jc)}:Jc;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Gb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Uf(e,t,n){if(!t)return e;const s=n&&n.encode||Gb,r=n&&n.serialize;let a;if(r?a=r(t,n):a=W.isURLSearchParams(t)?t.toString():new qi(t,n).toString(s),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Xc{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Hf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wb=typeof URLSearchParams<"u"?URLSearchParams:qi,zb=typeof FormData<"u"?FormData:null,Kb=typeof Blob<"u"?Blob:null,qb={isBrowser:!0,classes:{URLSearchParams:Wb,FormData:zb,Blob:Kb},protocols:["http","https","file","blob","url","data"]},Vf=typeof window<"u"&&typeof document<"u",Yb=(e=>Vf&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Jb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vf,hasStandardBrowserEnv:Yb,hasStandardBrowserWebWorkerEnv:Jb},Symbol.toStringTag,{value:"Module"})),Xt={...Xb,...qb};function Qb(e,t){return Ba(e,new Xt.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,a){return Xt.isNode&&W.isBuffer(n)?(this.append(s,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Zb(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function e_(e){const t={},n=Object.keys(e);let s;const r=n.length;let a;for(s=0;s=n.length;return o=!o&&W.isArray(r)?r.length:o,l?(W.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!i):((!r[o]||!W.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],a)&&W.isArray(r[o])&&(r[o]=e_(r[o])),!i)}if(W.isFormData(e)&&W.isFunction(e.entries)){const n={};return W.forEachEntry(e,(s,r)=>{t(Zb(s),r,n,0)}),n}return null}function t_(e,t,n){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Yi={transitional:Hf,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,a=W.isObject(t);if(a&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return r?JSON.stringify(Bf(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(a){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Qb(t,this.formSerializer).toString();if((i=W.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ba(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||r?(n.setContentType("application/json",!1),t_(t)):t}],transformResponse:[function(t){const n=this.transitional||Yi.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&W.isString(t)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?Me.from(i,Me.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{Yi.headers[e]={}});const Ji=Yi,n_=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),s_=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&n_[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Qc=Symbol("internals");function Us(e){return e&&String(e).trim().toLowerCase()}function Yr(e){return e===!1||e==null?e:W.isArray(e)?e.map(Yr):String(e)}function r_(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const a_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fo(e,t,n,s,r){if(W.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!W.isString(t)){if(W.isString(s))return t.indexOf(s)!==-1;if(W.isRegExp(s))return s.test(t)}}function o_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function i_(e,t){const n=W.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,a,o){return this[s].call(this,t,r,a,o)},configurable:!0})})}class Ga{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function a(i,l,c){const u=Us(l);if(!u)throw new Error("header name must be a non-empty string");const d=W.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=Yr(i))}const o=(i,l)=>W.forEach(i,(c,u)=>a(c,u,l));return W.isPlainObject(t)||t instanceof this.constructor?o(t,n):W.isString(t)&&(t=t.trim())&&!a_(t)?o(s_(t),n):t!=null&&a(n,t,s),this}get(t,n){if(t=Us(t),t){const s=W.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return r_(r);if(W.isFunction(n))return n.call(this,r,s);if(W.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Us(t),t){const s=W.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||fo(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function a(o){if(o=Us(o),o){const i=W.findKey(s,o);i&&(!n||fo(s,s[i],i,n))&&(delete s[i],r=!0)}}return W.isArray(t)?t.forEach(a):a(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const a=n[s];(!t||fo(this,this[a],a,t,!0))&&(delete this[a],r=!0)}return r}normalize(t){const n=this,s={};return W.forEach(this,(r,a)=>{const o=W.findKey(s,a);if(o){n[o]=Yr(r),delete n[a];return}const i=t?o_(a):String(a).trim();i!==a&&delete n[a],n[i]=Yr(r),s[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return W.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&W.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Qc]=this[Qc]={accessors:{}}).accessors,r=this.prototype;function a(o){const i=Us(o);s[i]||(i_(r,o),s[i]=!0)}return W.isArray(t)?t.forEach(a):a(t),this}}Ga.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Ga.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});W.freezeMethods(Ga);const dn=Ga;function po(e,t){const n=this||Ji,s=t||n,r=dn.from(s.headers);let a=s.data;return W.forEach(e,function(i){a=i.call(n,a,r.normalize(),t?t.status:void 0)}),r.normalize(),a}function Gf(e){return!!(e&&e.__CANCEL__)}function Cr(e,t,n){Me.call(this,e??"canceled",Me.ERR_CANCELED,t,n),this.name="CanceledError"}W.inherits(Cr,Me,{__CANCEL__:!0});function l_(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Me("Request failed with status code "+n.status,[Me.ERR_BAD_REQUEST,Me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const c_=Xt.hasStandardBrowserEnv?{write(e,t,n,s,r,a){const o=[e+"="+encodeURIComponent(t)];W.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),W.isString(s)&&o.push("path="+s),W.isString(r)&&o.push("domain="+r),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function u_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function d_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Wf(e,t){return e&&!u_(t)?d_(e,t):t}const f_=Xt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const i=W.isString(o)?r(o):o;return i.protocol===s.protocol&&i.host===s.host}}():function(){return function(){return!0}}();function p_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function m_(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,a=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=s[a];o||(o=c),n[r]=l,s[r]=c;let d=a,h=0;for(;d!==r;)h+=n[d++],d=d%e;if(r=(r+1)%e,r===a&&(a=(a+1)%e),c-o{const a=r.loaded,o=r.lengthComputable?r.total:void 0,i=a-n,l=s(i),c=a<=o;n=a;const u={loaded:a,total:o,progress:o?a/o:void 0,bytes:i,rate:l||void 0,estimated:l&&o&&c?(o-a)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const h_=typeof XMLHttpRequest<"u",g_=h_&&function(e){return new Promise(function(n,s){let r=e.data;const a=dn.from(e.headers).normalize();let{responseType:o,withXSRFToken:i}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(W.isFormData(r)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[_,...E]=u?u.split(";").map(w=>w.trim()).filter(Boolean):[];a.setContentType([_||"multipart/form-data",...E].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(_+":"+E))}const h=Wf(e.baseURL,e.url);d.open(e.method.toUpperCase(),Uf(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function k(){if(!d)return;const _=dn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),w={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};l_(function(y){n(y),c()},function(y){s(y),c()},w),d=null}if("onloadend"in d?d.onloadend=k:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(k)},d.onabort=function(){d&&(s(new Me("Request aborted",Me.ECONNABORTED,e,d)),d=null)},d.onerror=function(){s(new Me("Network Error",Me.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||Hf;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),s(new Me(E,w.clarifyTimeoutError?Me.ETIMEDOUT:Me.ECONNABORTED,e,d)),d=null},Xt.hasStandardBrowserEnv&&(i&&W.isFunction(i)&&(i=i(e)),i||i!==!1&&f_(h))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&c_.read(e.xsrfCookieName);_&&a.set(e.xsrfHeaderName,_)}r===void 0&&a.setContentType(null),"setRequestHeader"in d&&W.forEach(a.toJSON(),function(E,w){d.setRequestHeader(w,E)}),W.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Zc(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Zc(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{d&&(s(!_||_.type?new Cr(null,e,d):_),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const g=p_(h);if(g&&Xt.protocols.indexOf(g)===-1){s(new Me("Unsupported protocol "+g+":",Me.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Qo={http:Hb,xhr:g_};W.forEach(Qo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const eu=e=>`- ${e}`,b_=e=>W.isFunction(e)||e===null||e===!1,zf={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let a=0;a`adapter ${i} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since : +`+a.map(eu).join(` +`):" "+eu(a[0]):"as no adapter specified";throw new Me("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Qo};function mo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Cr(null,e)}function tu(e){return mo(e),e.headers=dn.from(e.headers),e.data=po.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),zf.getAdapter(e.adapter||Ji.adapter)(e).then(function(s){return mo(e),s.data=po.call(e,e.transformResponse,s),s.headers=dn.from(s.headers),s},function(s){return Gf(s)||(mo(e),s&&s.response&&(s.response.data=po.call(e,e.transformResponse,s.response),s.response.headers=dn.from(s.response.headers))),Promise.reject(s)})}const nu=e=>e instanceof dn?e.toJSON():e;function Ts(e,t){t=t||{};const n={};function s(c,u,d){return W.isPlainObject(c)&&W.isPlainObject(u)?W.merge.call({caseless:d},c,u):W.isPlainObject(u)?W.merge({},u):W.isArray(u)?u.slice():u}function r(c,u,d){if(W.isUndefined(u)){if(!W.isUndefined(c))return s(void 0,c,d)}else return s(c,u,d)}function a(c,u){if(!W.isUndefined(u))return s(void 0,u)}function o(c,u){if(W.isUndefined(u)){if(!W.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function i(c,u,d){if(d in t)return s(c,u);if(d in e)return s(void 0,c)}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:i,headers:(c,u)=>r(nu(c),nu(u),!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,h=d(e[u],t[u],u);W.isUndefined(h)&&d!==i||(n[u]=h)}),n}const Kf="1.6.7",Xi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xi[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const su={};Xi.transitional=function(t,n,s){function r(a,o){return"[Axios v"+Kf+"] Transitional option '"+a+"'"+o+(s?". "+s:"")}return(a,o,i)=>{if(t===!1)throw new Me(r(o," has been removed"+(n?" in "+n:"")),Me.ERR_DEPRECATED);return n&&!su[o]&&(su[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,i):!0}};function __(e,t,n){if(typeof e!="object")throw new Me("options must be an object",Me.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const a=s[r],o=t[a];if(o){const i=e[a],l=i===void 0||o(i,a,e);if(l!==!0)throw new Me("option "+a+" must be "+l,Me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Me("Unknown option "+a,Me.ERR_BAD_OPTION)}}const Zo={assertOptions:__,validators:Xi},kn=Zo.validators;class ha{constructor(t){this.defaults=t,this.interceptors={request:new Xc,response:new Xc}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const a=r.stack?r.stack.replace(/^.+\n/,""):"";s.stack?a&&!String(s.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+a):s.stack=a}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ts(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:a}=n;s!==void 0&&Zo.assertOptions(s,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean)},!1),r!=null&&(W.isFunction(r)?n.paramsSerializer={serialize:r}:Zo.assertOptions(r,{encode:kn.function,serialize:kn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&W.merge(a.common,a[n.method]);a&&W.forEach(["delete","get","head","post","put","patch","common"],g=>{delete a[g]}),n.headers=dn.concat(o,a);const i=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let u,d=0,h;if(!l){const g=[tu.bind(this),void 0];for(g.unshift.apply(g,i),g.push.apply(g,c),h=g.length,u=Promise.resolve(n);d{if(!s._listeners)return;let a=s._listeners.length;for(;a-- >0;)s._listeners[a](r);s._listeners=null}),this.promise.then=r=>{let a;const o=new Promise(i=>{s.subscribe(i),a=i}).then(r);return o.cancel=function(){s.unsubscribe(a)},o},t(function(a,o,i){s.reason||(s.reason=new Cr(a,o,i),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Qi(function(r){t=r}),cancel:t}}}const v_=Qi;function y_(e){return function(n){return e.apply(null,n)}}function w_(e){return W.isObject(e)&&e.isAxiosError===!0}const ei={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ei).forEach(([e,t])=>{ei[t]=e});const k_=ei;function qf(e){const t=new Jr(e),n=Af(Jr.prototype.request,t);return W.extend(n,Jr.prototype,t,{allOwnKeys:!0}),W.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return qf(Ts(e,r))},n}const Qe=qf(Ji);Qe.Axios=Jr;Qe.CanceledError=Cr;Qe.CancelToken=v_;Qe.isCancel=Gf;Qe.VERSION=Kf;Qe.toFormData=Ba;Qe.AxiosError=Me;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=y_;Qe.isAxiosError=w_;Qe.mergeConfig=Ts;Qe.AxiosHeaders=dn;Qe.formToJSON=e=>Bf(W.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=zf.getAdapter;Qe.HttpStatusCode=k_;Qe.default=Qe;function ga(e){return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ga(e)}function Xr(e,t){if(!e.vueAxiosInstalled){var n=Yf(t)?S_(t):t;if(C_(n)){var s=x_(e);if(s){var r=s<3?E_:$_;Object.keys(n).forEach(function(a){r(e,a,n[a])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function E_(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function $_(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function Yf(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function S_(e){return{axios:e,$http:e}}function C_(e){return ga(e)==="object"&&Object.keys(e).every(function(t){return Yf(e[t])})}function x_(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof pi>"u"?"undefined":ga(pi))=="object"?Lp.exports=Xr:typeof define=="function"&&define.amd?define([],function(){return Xr}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(Xr,window.axios);var Hs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},A_=Object.defineProperty,T_=Object.defineProperties,L_=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,Jf=Object.prototype.hasOwnProperty,Xf=Object.prototype.propertyIsEnumerable,ru=(e,t,n)=>t in e?A_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ho=(e,t)=>{for(var n in t||(t={}))Jf.call(t,n)&&ru(e,n,t[n]);if(ba)for(var n of ba(t))Xf.call(t,n)&&ru(e,n,t[n]);return e},au=(e,t)=>T_(e,L_(t)),O_=(e,t)=>{var n={};for(var s in e)Jf.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ba)for(var s of ba(e))t.indexOf(s)<0&&Xf.call(e,s)&&(n[s]=e[s]);return n};const De=(e,t,n)=>(s,{attrs:r,slots:a})=>{var o=s,{size:i,color:l,strokeWidth:c}=o,u=O_(o,["size","color","strokeWidth"]);return Ve("svg",ho(au(ho(au(ho({},Hs),{width:i||Hs.width,height:i||Hs.height,stroke:l||Hs.stroke,"stroke-width":c||Hs["stroke-width"]}),r),{class:["tabler-icon",`tabler-icon-${e}`,(r==null?void 0:r.class)||""]}),u),[...n.map(d=>Ve(...d)),...a.default?[a.default()]:[]])};var I_=De("alert-circle-filled","IconAlertCircleFilled",[["path",{d:"M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm.01 13l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z","stroke-width":"0",fill:"currentColor",key:"svg-0"}]]),M_=De("alert-circle","IconAlertCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]),N_=De("alert-triangle-filled","IconAlertTriangleFilled",[["path",{d:"M12 1.67c.955 0 1.845 .467 2.39 1.247l.105 .16l8.114 13.548a2.914 2.914 0 0 1 -2.307 4.363l-.195 .008h-16.225a2.914 2.914 0 0 1 -2.582 -4.2l.099 -.185l8.11 -13.538a2.914 2.914 0 0 1 2.491 -1.403zm.01 13.33l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -7a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z","stroke-width":"0",fill:"currentColor",key:"svg-0"}]]),P_=De("alert-triangle","IconAlertTriangle",[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]),R_=De("arrow-bar-to-right","IconArrowBarToRight",[["path",{d:"M14 12l-10 0",key:"svg-0"}],["path",{d:"M14 12l-4 4",key:"svg-1"}],["path",{d:"M14 12l-4 -4",key:"svg-2"}],["path",{d:"M20 4l0 16",key:"svg-3"}]]),F_=De("arrow-bounce","IconArrowBounce",[["path",{d:"M10 18h4",key:"svg-0"}],["path",{d:"M3 8a9 9 0 0 1 9 9v1l1.428 -4.285a12 12 0 0 1 6.018 -6.938l.554 -.277",key:"svg-1"}],["path",{d:"M15 6h5v5",key:"svg-2"}]]),D_=De("arrow-iteration","IconArrowIteration",[["path",{d:"M8.5 16a5.5 5.5 0 1 0 -5.5 -5.5v.5",key:"svg-0"}],["path",{d:"M3 16h18",key:"svg-1"}],["path",{d:"M18 13l3 3l-3 3",key:"svg-2"}]]),j_=De("brand-codepen","IconBrandCodepen",[["path",{d:"M3 15l9 6l9 -6l-9 -6l-9 6",key:"svg-0"}],["path",{d:"M3 9l9 6l9 -6l-9 -6l-9 6",key:"svg-1"}],["path",{d:"M3 9l0 6",key:"svg-2"}],["path",{d:"M21 9l0 6",key:"svg-3"}],["path",{d:"M12 3l0 6",key:"svg-4"}],["path",{d:"M12 15l0 6",key:"svg-5"}]]),U_=De("brand-github","IconBrandGithub",[["path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5",key:"svg-0"}]]),H_=De("brand-open-source","IconBrandOpenSource",[["path",{d:"M12 3a9 9 0 0 1 3.618 17.243l-2.193 -5.602a3 3 0 1 0 -2.849 0l-2.193 5.603a9 9 0 0 1 3.617 -17.244z",key:"svg-0"}]]),V_=De("brand-twitter","IconBrandTwitter",[["path",{d:"M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c0 -.249 1.51 -2.772 1.818 -4.013z",key:"svg-0"}]]),B_=De("chevrons-right","IconChevronsRight",[["path",{d:"M7 7l5 5l-5 5",key:"svg-0"}],["path",{d:"M13 7l5 5l-5 5",key:"svg-1"}]]),G_=De("code","IconCode",[["path",{d:"M7 8l-4 4l4 4",key:"svg-0"}],["path",{d:"M17 8l4 4l-4 4",key:"svg-1"}],["path",{d:"M14 4l-4 16",key:"svg-2"}]]),W_=De("copy","IconCopy",[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]]),z_=De("database","IconDatabase",[["path",{d:"M12 6m-8 0a8 3 0 1 0 16 0a8 3 0 1 0 -16 0",key:"svg-0"}],["path",{d:"M4 6v6a8 3 0 0 0 16 0v-6",key:"svg-1"}],["path",{d:"M4 12v6a8 3 0 0 0 16 0v-6",key:"svg-2"}]]),K_=De("external-link","IconExternalLink",[["path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",key:"svg-0"}],["path",{d:"M11 13l9 -9",key:"svg-1"}],["path",{d:"M15 4h5v5",key:"svg-2"}]]),q_=De("file-sad","IconFileSad",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2zm-7 -7h.01m3.99 0h.01",key:"svg-1"}],["path",{d:"M10 18a3.5 3.5 0 0 1 4 0",key:"svg-2"}]]),Y_=De("file-text","IconFileText",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z",key:"svg-1"}],["path",{d:"M9 9l1 0",key:"svg-2"}],["path",{d:"M9 13l6 0",key:"svg-3"}],["path",{d:"M9 17l6 0",key:"svg-4"}]]),J_=De("filter-off","IconFilterOff",[["path",{d:"M8 4h12v2.172a2 2 0 0 1 -.586 1.414l-3.914 3.914m-.5 3.5v4l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]]),X_=De("filter","IconFilter",[["path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z",key:"svg-0"}]]),Q_=De("git-cherry-pick","IconGitCherryPick",[["path",{d:"M7 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M7 3v6",key:"svg-1"}],["path",{d:"M7 15v6",key:"svg-2"}],["path",{d:"M13 7h2.5l1.5 5l-1.5 5h-2.5",key:"svg-3"}],["path",{d:"M17 12h3",key:"svg-4"}]]),Z_=De("heart-filled","IconHeartFilled",[["path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z","stroke-width":"0",fill:"currentColor",key:"svg-0"}]]),ev=De("language-hiragana","IconLanguageHiragana",[["path",{d:"M4 5h7",key:"svg-0"}],["path",{d:"M7 4c0 4.846 0 7 .5 8",key:"svg-1"}],["path",{d:"M10 8.5c0 2.286 -2 4.5 -3.5 4.5s-2.5 -1.135 -2.5 -2c0 -2 1 -3 3 -3s5 .57 5 2.857c0 1.524 -.667 2.571 -2 3.143",key:"svg-2"}],["path",{d:"M12 20l4 -9l4 9",key:"svg-3"}],["path",{d:"M19.1 18h-6.2",key:"svg-4"}]]),tv=De("lock-open","IconLockOpen",[["path",{d:"M5 11m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-5a4 4 0 0 1 8 0",key:"svg-2"}]]),nv=De("lock","IconLock",[["path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z",key:"svg-0"}],["path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-4a4 4 0 1 1 8 0v4",key:"svg-2"}]]),sv=De("mail","IconMail",[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z",key:"svg-0"}],["path",{d:"M3 7l9 6l9 -6",key:"svg-1"}]]),rv=De("moon-off","IconMoonOff",[["path",{d:"M7.962 3.949a8.97 8.97 0 0 1 4.038 -.957v.008h.393a7.478 7.478 0 0 0 -2.07 3.308m-.141 3.84c.186 .823 .514 1.626 .989 2.373a7.49 7.49 0 0 0 4.586 3.268m3.893 -.11c.223 -.067 .444 -.144 .663 -.233a9.088 9.088 0 0 1 -.274 .597m-1.695 2.337a9 9 0 0 1 -12.71 -12.749",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]]),av=De("moon","IconMoon",[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z",key:"svg-0"}]]),ov=De("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]]),iv=De("triangles","IconTriangles",[["path",{d:"M9.974 21h8.052a.975 .975 0 0 0 .81 -1.517l-4.025 -6.048a.973 .973 0 0 0 -1.622 0l-4.025 6.048a.977 .977 0 0 0 .81 1.517z",key:"svg-0"}],["path",{d:"M4.98 16h14.04c.542 0 .98 -.443 .98 -.989a1 1 0 0 0 -.156 -.534l-7.02 -11.023a.974 .974 0 0 0 -1.648 0l-7.02 11.023a1 1 0 0 0 .294 1.366a.973 .973 0 0 0 .53 .157z",key:"svg-1"}]]),lv=De("world","IconWorld",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]]);const cv={class:"bg-base-300 dark:bg-base-dark-200 text-base-dark-600 dark:text-base-dark-900 text-sm px-4 w-full mt-6"},uv={class:"max-w-[78rem] w-full mx-auto"},dv={class:"items-center font-medium py-4 flex"},fv={class:"flex-1 flex flex-col gap-1"},pv=m("p",{class:"flex flex-wrap gap-1"},[m("span",{class:"whitespace-nowrap"},"Copyright © 2020 - 2024"),m("span",{class:"whitespace-nowrap"},"Linkie & shedaniel.")],-1),mv={class:"whitespace-nowrap"},hv={href:"https://twitter.com/shedaniel_/"},gv={href:"mailto:daniel@shedaniel.me",class:"ml-3"},bv={href:"https://github.com/linkie/linkie-web/",class:"ml-3"},_v={href:"/oss",class:"ml-3"},vv=me({__name:"Footer",setup(e){return(t,n)=>(A(),I("div",cv,[m("footer",uv,[m("div",dv,[m("div",fv,[pv,m("p",null,[m("span",mv,[K(" Made with "),P(X(Z_),{class:"text-red-400 inline-block",size:18}),K(" in Hong Kong. ")])])]),m("a",hv,[P(X(V_))]),m("a",gv,[P(X(sv))]),m("a",bv,[P(X(U_))]),m("a",_v,[P(X(H_))])])])]))}});var yv=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let Qf;const zo=e=>Qf=e,Zf=Symbol();function ti(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var tr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(tr||(tr={}));function wv(){const e=vi(!0),t=e.run(()=>Ke({}));let n=[],s=[];const r=xo({install(o){zo(r),r._a=o,o.provide(Zf,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return!this._a&&!yv?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ep=()=>{};function au(e,t,n,s=ep){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Hu()&&zp(r),r}function cs(e,...t){e.slice().forEach(n=>{n(...t)})}const kv=e=>e();function ni(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];ti(r)&&ti(s)&&e.hasOwnProperty(n)&&!Ye(s)&&!un(s)?e[n]=ni(r,s):e[n]=s}return e}const Ev=Symbol();function $v(e){return!ti(e)||!e.hasOwnProperty(Ev)}const{assign:$n}=Object;function Sv(e){return!!(Ye(e)&&e.effect)}function Cv(e,t,n,s){const{state:r,actions:o,getters:a}=t,i=n.state.value[e];let l;function c(){i||(n.state.value[e]=r?r():{});const u=gm(n.state.value[e]);return $n(u,o,Object.keys(a||{}).reduce((d,h)=>(d[h]=xo(je(()=>{zo(n);const k=n._s.get(e);return a[h].call(k,k)})),d),{}))}return l=tp(e,c,t,n,s,!0),l}function tp(e,t,n={},s,r,o){let a;const i=$n({actions:{}},n),l={deep:!0};let c,u,d=[],h=[],k;const g=s.state.value[e];!o&&!g&&(s.state.value[e]={}),Ke({});let _;function E(x){let N;c=u=!1,typeof x=="function"?(x(s.state.value[e]),N={type:tr.patchFunction,storeId:e,events:k}):(ni(s.state.value[e],x),N={type:tr.patchObject,payload:x,storeId:e,events:k});const z=_=Symbol();Ti().then(()=>{_===z&&(c=!0)}),u=!0,cs(d,N,s.state.value[e])}const w=o?function(){const{state:N}=n,z=N?N():{};this.$patch(q=>{$n(q,z)})}:ep;function b(){a.stop(),d=[],h=[],s._s.delete(e)}function y(x,N){return function(){zo(s);const z=Array.from(arguments),q=[],G=[];function re(oe){q.push(oe)}function we(oe){G.push(oe)}cs(h,{args:z,name:x,store:$,after:re,onError:we});let ce;try{ce=N.apply(this&&this.$id===e?this:$,z)}catch(oe){throw cs(G,oe),oe}return ce instanceof Promise?ce.then(oe=>(cs(q,oe),oe)).catch(oe=>(cs(G,oe),Promise.reject(oe))):(cs(q,ce),ce)}}const v={_p:s,$id:e,$onAction:au.bind(null,h),$patch:E,$reset:w,$subscribe(x,N={}){const z=au(d,x,N.detached,()=>q()),q=a.run(()=>pt(()=>s.state.value[e],G=>{(N.flush==="sync"?u:c)&&x({storeId:e,type:tr.direct,events:k},G)},$n({},l,N)));return z},$dispose:b},$=wr(v);s._s.set(e,$);const T=(s._a&&s._a.runWithContext||kv)(()=>s._e.run(()=>(a=vi()).run(t)));for(const x in T){const N=T[x];if(Ye(N)&&!Sv(N)||un(N))o||(g&&$v(N)&&(Ye(N)?N.value=g[x]:ni(N,g[x])),s.state.value[e][x]=N);else if(typeof N=="function"){const z=y(x,N);T[x]=z,i.actions[x]=N}}return $n($,T),$n(Le($),T),Object.defineProperty($,"$state",{get:()=>s.state.value[e],set:x=>{E(N=>{$n(N,x)})}}),s._p.forEach(x=>{$n($,a.run(()=>x({store:$,app:s._a,pinia:s,options:i})))}),g&&o&&n.hydrate&&n.hydrate($.$state,g),c=!0,u=!0,$}function tn(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function a(i,l){const c=Zm();return i=i||(c?Rt(Zf,null):null),i&&zo(i),i=Qf,i._s.has(s)||(o?tp(s,t,r,i):Cv(s,r,i)),i._s.get(s)}return a.$id=s,a}function xv(e,t){return Array.isArray(t)?t.reduce((n,s)=>(n[s]=function(){return e(this.$pinia)[s]},n),{}):Object.keys(t).reduce((n,s)=>(n[s]=function(){const r=e(this.$pinia),o=t[s];return typeof o=="function"?o.call(this,r):r[o]},n),{})}function Et(e,t){return Array.isArray(t)?t.reduce((n,s)=>(n[s]={get(){return e(this.$pinia)[s]},set(r){return e(this.$pinia)[s]=r}},n),{}):Object.keys(t).reduce((n,s)=>(n[s]={get(){return e(this.$pinia)[t[s]]},set(r){return e(this.$pinia)[t[s]]=r}},n),{})}function xt(e){{e=Le(e);const t={};for(const n in e){const s=e[n];(Ye(s)||un(s))&&(t[n]=vm(e,n))}return t}}const Av=function(){let e=window.navigator,t=["language","browserLanguage","systemLanguage","userLanguage"],n,s;if(Array.isArray(e.languages)){for(n=0;n{const s=ye("router-link");return A(),fe(s,{class:Ie(["px-4 py-3 rounded-lg transition-all duration-100 normal-case flex items-center",t.bold?"text-xl font-bold":"font-medium",t.hoverDim?"hover:opacity-70":""]),to:{path:t.href,query:{}}},{default:R(()=>[Ze(t.$slots,"default")]),_:3},8,["class","to"])}}}),Ov={class:"relative"},Iv={key:0,class:"locale-dropdown absolute right-0 z-10 mt-3 min-w-56 max-w-80 divide-y-2 divide-black/20 origin-top-right rounded-md bg-base-100 dark:bg-base-dark-300 dark:text-base-dark-content shadow-xl ring-4 ring-black ring-opacity-20"},Nv={class:"py-1"},Mv=["onClick"],Pv={class:"flex-1 pr-2"},Rv={class:"py-1"},Dv=me({__name:"NavbarDropdown",props:{options:{}},setup(e){const t=Ke(!1);return(n,s)=>(A(),fe(Ws,{"hover-dim":!1},{default:R(()=>[m("div",Ov,[m("div",{onClick:s[0]||(s[0]=r=>t.value=!t.value),class:"hover:opacity-70"},[Ze(n.$slots,"default")]),P(fr,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:R(()=>[t.value?(A(),I("div",Iv,[m("div",Nv,[(A(!0),I(pe,null,Ce(n.options,r=>(A(),I("a",{onClick:o=>{r.onClick(),t.value=!1},class:"cursor-pointer block px-4 py-2 hover:bg-base-300 dark:hover:bg-base-dark-400 transition-colors flex gap-2 items-center"},[m("p",Pv,D(r.name),1),Ze(n.$slots,`option-${r.id}`)],8,Mv))),256)),Ze(n.$slots,"option-extra")]),m("div",Rv,[Ze(n.$slots,"option-new-group")])])):de("",!0)]),_:3})])]),_:3}))}}),Fv={class:"max-w-[78rem] mx-auto w-full flex justify-between min-h-16"},jv={class:"flex overflow-x-auto overflow-y-hidden epic-scroller"},Uv={class:"flex"},Hv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#B22334",d:"M35.445 7C34.752 5.809 33.477 5 32 5H18v2h17.445zM0 25h36v2H0zm18-8h18v2H18zm0-4h18v2H18zM0 21h36v2H0zm4 10h28c1.477 0 2.752-.809 3.445-2H.555c.693 1.191 1.968 2 3.445 2zM18 9h18v2H18z"}),m("path",{fill:"#EEE",d:"M.068 27.679c.017.093.036.186.059.277c.026.101.058.198.092.296c.089.259.197.509.333.743L.555 29h34.89l.002-.004a4.22 4.22 0 0 0 .332-.741a3.75 3.75 0 0 0 .152-.576c.041-.22.069-.446.069-.679H0c0 .233.028.458.068.679zM0 23h36v2H0zm0-4v2h36v-2H18zm18-4h18v2H18zm0-4h18v2H18zM0 9zm.555-2l-.003.005L.555 7zM.128 8.044c.025-.102.06-.199.092-.297a3.78 3.78 0 0 0-.092.297zM18 9h18c0-.233-.028-.459-.069-.68a3.606 3.606 0 0 0-.153-.576A4.21 4.21 0 0 0 35.445 7H18v2z"}),m("path",{fill:"#3C3B6E",d:"M18 5H4a4 4 0 0 0-4 4v10h18V5z"}),m("path",{fill:"#FFF",d:"m2.001 7.726l.618.449l-.236.725L3 8.452l.618.448l-.236-.725L4 7.726h-.764L3 7l-.235.726zm2 2l.618.449l-.236.725l.617-.448l.618.448l-.236-.725L6 9.726h-.764L5 9l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L9 9l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L13 9l-.235.726zm-8 4l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L5 13l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L9 13l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L13 13l-.235.726zm-6-6l.618.449l-.236.725L7 8.452l.618.448l-.236-.725L8 7.726h-.764L7 7l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L11 7l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L15 7l-.235.726zm-12 4l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L3 11l-.235.726zM6.383 12.9L7 12.452l.618.448l-.236-.725l.618-.449h-.764L7 11l-.235.726h-.764l.618.449zm3.618-1.174l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L11 11l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L15 11l-.235.726zm-12 4l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L3 15l-.235.726zM6.383 16.9L7 16.452l.618.448l-.236-.725l.618-.449h-.764L7 15l-.235.726h-.764l.618.449zm3.618-1.174l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L11 15l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L15 15l-.235.726z"})],-1),Vv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#00247D",d:"M0 9.059V13h5.628zM4.664 31H13v-5.837zM23 25.164V31h8.335zM0 23v3.941L5.63 23zM31.337 5H23v5.837zM36 26.942V23h-5.631zM36 13V9.059L30.371 13zM13 5H4.664L13 10.837z"}),m("path",{fill:"#CF1B2B",d:"m25.14 23l9.712 6.801a3.977 3.977 0 0 0 .99-1.749L28.627 23H25.14zM13 23h-2.141l-9.711 6.8c.521.53 1.189.909 1.938 1.085L13 23.943V23zm10-10h2.141l9.711-6.8a3.988 3.988 0 0 0-1.937-1.085L23 12.057V13zm-12.141 0L1.148 6.2a3.994 3.994 0 0 0-.991 1.749L7.372 13h3.487z"}),m("path",{fill:"#EEE",d:"M36 21H21v10h2v-5.836L31.335 31H32a3.99 3.99 0 0 0 2.852-1.199L25.14 23h3.487l7.215 5.052c.093-.337.158-.686.158-1.052v-.058L30.369 23H36v-2zM0 21v2h5.63L0 26.941V27c0 1.091.439 2.078 1.148 2.8l9.711-6.8H13v.943l-9.914 6.941c.294.07.598.116.914.116h.664L13 25.163V31h2V21H0zM36 9a3.983 3.983 0 0 0-1.148-2.8L25.141 13H23v-.943l9.915-6.942A4.001 4.001 0 0 0 32 5h-.663L23 10.837V5h-2v10h15v-2h-5.629L36 9.059V9zM13 5v5.837L4.664 5H4a3.985 3.985 0 0 0-2.852 1.2l9.711 6.8H7.372L.157 7.949A3.968 3.968 0 0 0 0 9v.059L5.628 13H0v2h15V5h-2z"}),m("path",{fill:"#CF1B2B",d:"M21 15V5h-6v10H0v6h15v10h6V21h15v-6z"})],-1),Bv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#DE2910",d:"M36 27a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4v18z"}),m("path",{fill:"#FFDE02",d:"m11.136 8.977l.736.356l.589-.566l-.111.81l.72.386l-.804.144l-.144.804l-.386-.72l-.81.111l.566-.589zm4.665 2.941l-.356.735l.566.59l-.809-.112l-.386.721l-.144-.805l-.805-.144l.721-.386l-.112-.809l.59.566zm-.957 3.779l.268.772l.817.017l-.651.493l.237.783l-.671-.467l-.671.467l.236-.783l-.651-.493l.817-.017zm-3.708 3.28l.736.356l.589-.566l-.111.81l.72.386l-.804.144l-.144.804l-.386-.72l-.81.111l.566-.589zM7 10.951l.929 2.671l2.826.058l-2.253 1.708l.819 2.706L7 16.479l-2.321 1.615l.819-2.706l-2.253-1.708l2.826-.058z"})],-1),Gv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#FE0000",d:"M32 5H17v13H0v9a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4V9a4 4 0 0 0-4-4z"}),m("path",{fill:"#000095",d:"M17 5H4a4 4 0 0 0-4 4v9h17V5zm-6.063 4.61l2.035-.548l-1.491 1.487a2.881 2.881 0 0 0-.544-.939zm.251 1.89a2.438 2.438 0 1 1-4.876 0a2.438 2.438 0 0 1 4.876 0zm0-4.222l-.548 2.035a2.871 2.871 0 0 0-.939-.544l1.487-1.491zM8.75 6.625l.542 2.034c-.175-.033-.357-.052-.542-.052s-.367.019-.542.052l.542-2.034zm-.951 2.144a2.881 2.881 0 0 0-.939.544l-.548-2.035l1.487 1.491zm-1.236.841a2.871 2.871 0 0 0-.544.939L4.528 9.062l2.035.548zm-.654 1.348a2.854 2.854 0 0 0 0 1.084L3.875 11.5l2.034-.542zm.11 1.492c.121.348.308.666.544.939l-2.035.548l1.491-1.487zm.293 3.272l.548-2.035c.273.236.591.423.939.544l-1.487 1.491zm2.438.653l-.542-2.034a2.854 2.854 0 0 0 1.084 0l-.542 2.034zm.951-2.144c.348-.121.666-.308.939-.544l.548 2.035l-1.487-1.491zm1.236-.841c.237-.273.423-.591.544-.939l1.491 1.487l-2.035-.548zm.654-1.348a2.854 2.854 0 0 0 0-1.084l2.034.542l-2.034.542z"}),m("path",{fill:"#FFF",d:"M9.292 8.659L8.75 6.625l-.542 2.034c.175-.033.357-.052.542-.052s.367.019.542.052zM5.857 11.5c0-.185.018-.367.052-.542l-2.034.542l2.034.542a2.93 2.93 0 0 1-.052-.542zm2.351 2.841l.542 2.034l.542-2.034a2.854 2.854 0 0 1-1.084 0zm3.435-2.841c0 .185-.018.367-.052.542l2.034-.542l-2.034-.542c.033.175.052.357.052.542zm-.455-4.222L9.701 8.769c.348.122.666.308.939.544l.548-2.035zm-.251 6.112l2.035.548l-1.491-1.487a2.881 2.881 0 0 1-.544.939zm-4.625 2.332l1.487-1.491a2.889 2.889 0 0 1-.939-.544l-.548 2.035zm.251-6.112l-2.035-.548l1.491 1.487c.121-.348.307-.665.544-.939zm3.138 4.621l1.487 1.491l-.548-2.035a2.881 2.881 0 0 1-.939.544zM6.019 12.45l-1.491 1.487l2.035-.548a2.86 2.86 0 0 1-.544-.939zm1.78-3.681L6.312 7.278l.548 2.035c.274-.237.591-.423.939-.544zm5.173.293l-2.035.548c.237.273.423.591.544.939l1.491-1.487z"}),m("circle",{cx:"8.75",cy:"11.5",r:"2.438",fill:"#FFF"})],-1),Wv={href:"https://github.com/linkie/linkie-web/tree/master/frontend/src/locales",class:"cursor-pointer px-4 py-2 hover:bg-base-300 dark:hover:bg-base-dark-400 transition-colors flex gap-2 items-center"},zv={class:"flex-1 pr-2"},Kv={class:"whitespace-nowrap"},qv={class:"whitespace-nowrap"},Jv=me({__name:"Navbar",setup(e){const t=Ke(0),n=Ke(!1);Gt(()=>{document.addEventListener("scroll",()=>{let a=document.getElementById("welcome-banner");if(a){let i=document.getElementById("nav-bar");n.value=window.scrollY>a.clientHeight-((i==null?void 0:i.clientHeight)??0)}else n.value=window.scrollY>0})});function s(){return localStorage.getItem("theme")==="dark"}function r(a){function i(l,c){return{id:l,name:c,onClick(){np().locale=l,a.locale=l}}}return[i("en_US","English (US)"),i("en_GB","English (UK)"),i("zh_CN","中文 (中国)"),i("zh_TW","中文 (台灣)")]}function o(a){localStorage.setItem("theme",a?"dark":"cupcake"),localStorage.getItem("theme")==="dark"?(document.documentElement.setAttribute("data-theme","dark"),document.documentElement.classList.add("dark"),document.documentElement.style.setProperty("--color-scheme","dark")):(document.documentElement.removeAttribute("data-theme"),document.documentElement.classList.remove("dark"),document.documentElement.style.setProperty("--color-scheme","light")),t.value++}return(a,i)=>(A(),I("div",{id:"nav-bar",class:Ie(["flex justify-center px-2 py-1 min-h-16 w-full backdrop-blur-md [transition:box-shadow_0.3s,backdrop-filter_.1s,color_.1s,background-color_.1s]",n.value&&`bg-base-200/80 dark:bg-base-dark-200/80 backdrop-blur-lg !text-base-content dark:!text-base-dark-content ${a.$route.path==="/"?"shadow-[0_35px_60px_-15px_rgba(0,0,0,0.3)]":"shadow-[0_25px_30px_-15px_rgba(0,0,0,0.1)]"}`])},[m("div",Fv,[m("div",jv,[P(Ws,{href:"/",bold:!0},{default:R(()=>[K(D(a.$t("navbar./")),1)]),_:1}),P(Ws,{href:"/dependencies"},{default:R(()=>[K(D(a.$t("navbar./dependencies")),1)]),_:1}),P(Ws,{href:"/mappings"},{default:R(()=>[K(D(a.$t("navbar./mappings")),1)]),_:1})]),m("div",Uv,[P(Dv,{options:r(a.$i18n)},{"option-en_US":R(()=>[Hv]),"option-en_GB":R(()=>[Vv]),"option-zh_CN":R(()=>[Bv]),"option-zh_TW":R(()=>[Gv]),"option-new-group":R(()=>[m("a",Wv,[m("div",zv,[m("p",Kv,D(a.$t("navbar.locale.help.0")),1),m("p",qv,D(a.$t("navbar.locale.help.1")),1)]),P(X(K_))])]),default:R(()=>[P(X(ev))]),_:1},8,["options"]),(A(),fe(Ws,{onClick:i[0]||(i[0]=l=>{var c;return o(!(((c=l.target)==null?void 0:c.checked)??s()))}),key:t.value},{default:R(()=>[s()?(A(),fe(X(rv),{key:0})):(A(),fe(X(ov),{key:1}))]),_:1}))])])],2))}});function Yv(){return{alerts:[]}}const si=tn({id:"alerts",state:Yv,actions:{addAlert(e){this.alerts=this.alerts.filter(t=>t.message!=e.message),this.alerts.push(e)},removeAlert(e){this.alerts=this.alerts.filter(t=>t.message!=e.message)}}});function Xv(){return{notifications:[]}}const ri=tn({id:"notification",state:Xv,actions:{addNotification(e){this.notifications.push(e)},removeNotification(e){this.notifications=this.notifications.filter((t,n)=>n!=e)}}}),Qv={class:"fixed top-20 left-10 z-5"},Zv={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",class:"stroke-info flex-shrink-0 w-6 h-6"},ey=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),ty=[ey],ny={key:1,xmlns:"http://www.w3.org/2000/svg",class:"stroke-current flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24"},sy=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),ry=[sy],oy={key:2,xmlns:"http://www.w3.org/2000/svg",class:"stroke-current flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24"},ay=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"},null,-1),iy=[ay],ly={key:3,xmlns:"http://www.w3.org/2000/svg",class:"stroke-current flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24"},cy=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),uy=[cy],dy={class:"font-medium"},fy=["onClick"],py={class:"fixed top-20 right-10 z-5"},my=["onClick"],hy=me({__name:"Alerts",setup(e){const{alerts:t}=xt(si()),{notifications:n}=xt(ri()),{removeAlert:s}=si(),{removeNotification:r}=ri();return(o,a)=>(A(),I(pe,null,[P(Ra,{name:"alert",tag:"div"},{default:R(()=>[(A(!0),I(pe,null,Ce(X(t),i=>(A(),I("div",Qv,[m("div",{class:Ie(["items-center flex gap-4 mt-4 bg-base-100 dark:bg-base-dark-300 p-3 shadow-lg rounded-md ring-4 ring-black ring-opacity-20",{"bg-lime-300 dark:bg-lime-300 text-lime-900 dark:text-lime-900":i.type==="success","bg-orange-300 dark:bg-orange-300 text-orange-900 dark:text-orange-900":i.type==="warning","bg-red-300 dark:bg-red-300 text-red-900 dark:text-red-900":i.type==="error"}])},[m("div",null,[i.type==="info"?(A(),I("svg",Zv,ty)):de("",!0),i.type==="success"?(A(),I("svg",ny,ry)):de("",!0),i.type==="warning"?(A(),I("svg",oy,iy)):de("",!0),i.type==="error"?(A(),I("svg",ly,uy)):de("",!0)]),m("span",dy,D(i.message),1),m("button",{class:"rounded px-3 py-2 bg-black bg-opacity-0 hover:bg-opacity-10 transition-[background-color]",onClick:l=>X(s)(i)},"Close ",8,fy)],2)]))),256))]),_:1}),m("div",py,[P(Ra,{name:"list",tag:"div"},{default:R(()=>[(A(!0),I(pe,null,Ce(Object.keys(X(n)),i=>(A(),I("div",{key:X(n)[i].message,onClick:l=>X(r)(i),class:"mt-4 bg-base-100 dark:bg-base-dark-300 p-3 shadow-lg rounded-md ring-4 ring-black ring-opacity-20"},D(X(n)[i].message),9,my))),128))]),_:1})])],64))}});function gy(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}function oi(e,t=!1){const n=gy(),s=`_${n}`;return Object.defineProperty(window,s,{value:r=>(t&&Reflect.deleteProperty(window,s),e==null?void 0:e(r)),writable:!1,configurable:!0}),n}async function by(e,t={}){return new Promise((n,s)=>{const r=oi(a=>{n(a),Reflect.deleteProperty(window,`_${o}`)},!0),o=oi(a=>{s(a),Reflect.deleteProperty(window,`_${r}`)},!0);window.__TAURI_IPC__({cmd:e,callback:r,error:o,...t})})}async function sp(e){return by("tauri",e)}async function _y(e,t){return sp({__tauriModule:"Event",message:{cmd:"unlisten",event:e,eventId:t}})}async function vy(e,t,n){return sp({__tauriModule:"Event",message:{cmd:"listen",event:e,windowLabel:t,handler:oi(n)}}).then(s=>async()=>_y(e,s))}var iu;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_FILE_DROP="tauri://file-drop",e.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",e.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",e.MENU="tauri://menu",e.CHECK_UPDATE="tauri://update",e.UPDATE_AVAILABLE="tauri://update-available",e.INSTALL_UPDATE="tauri://update-install",e.STATUS_UPDATE="tauri://update-status",e.DOWNLOAD_PROGRESS="tauri://update-download-progress"})(iu||(iu={}));async function yy(e,t){return vy(e,null,t)}function br(){return typeof window<"u"&&window.__TAURI__!==void 0}function wy(){return{consoleMessages:[]}}const rp=tn({id:"tauri",state:wy,persist:!0});function ky(){yy("console",e=>{rp().consoleMessages=e.payload.messages})}const Ey="https://linkieapi.shedaniel.me",$y="http://localhost:6969",pn=Qe.create({baseURL:op()});function op(){return br()?$y:Ey}function Sy(){return pn.get("/api/versions/all")}function Cy(){return pn.get("/api/namespaces")}function xy(e,t,n,s,r,o,a,i,l,c=100){return pn.get("/api/search",{signal:l==null?void 0:l.signal,params:{namespace:e,query:n,version:t,limit:c,allowClasses:s,allowFields:r,allowMethods:o,translateMode:a||"ns",translate:i}})}function Ay(e,t,n){return pn.get("/api/source",{params:{namespace:e,class:n,version:t}})}function Ty(){return pn.get("/api/oss")}function lu(e){return pn.get(`/api/status/sources/${e}`)}function rt(e=void 0){if(e||(e=ts()),!!e)return new URL(e.fullPath,window.location.origin).href}function st(e,t){if(!e)return null;let n=e[t];return Array.isArray(n)?n[0]:n}function Rr(e,t){return e!=null&&e[t]!=null}let cu=["Official","Fabric","Forge","Quilt","Others"],uu=["Quilt","Others"],Ly={yarn:"Fabric",mojang:"Fabric",mojang_raw:"Official",mojang_srg:"Forge",mojang_hashed:"Quilt",mcp:"Forge","quilt-mappings":"Quilt"},vo={yarn:"Yarn",mojang_raw:"Mojang",mojang:"Mojang (via Intermediary)",mojang_srg:"Mojang (via SRG)",mojang_hashed:"Mojang (via Hashed)",mcp:"Legacy MCP","quilt-mappings":"Quilt Mappings","legacy-yarn":"Legacy Yarn",yarrn:"Yarrn",plasma:"Plasma",barn:"Barn",feather:"Feather"};const Oy=me({name:"TauriFooter",data(){return{currentBackendServer:op}},props:{consoleEnabled:{type:Boolean,required:!0},setConsoleEnabled:{type:Object,required:!0}}}),Ae=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Iy={class:"fixed z-50 bottom-0 bg-base-400 text-base-content dark:bg-base-dark-300 dark:text-base-dark-content text-sm w-full px-1 py-0.5 flex justify-between shadow-lg drop-shadow-lg"},Ny={class:"gap-1 flex"},My=m("span",null,"Linkie: Tauri (Experimental)",-1);function Py(e,t,n,s,r,o){return A(),I("div",Iy,[m("div",Ny,[My,m("button",{onClick:t[0]||(t[0]=a=>e.setConsoleEnabled(!e.consoleEnabled)),class:"bg-base-600 dark:bg-base-dark-600 rounded px-1"}," Console ")]),m("span",null," using "+D(e.currentBackendServer()),1)])}const Ry=Ae(Oy,[["render",Py]]),Dy=me({name:"TauriConsole",computed:{...xv(rp,["consoleMessages"])},props:{consoleEnabled:{type:Boolean}}}),Fy=m("span",{class:"text-lg px-4 pt-3 pb-2.5 font-semibold"},"Console",-1),jy={class:"overflow-auto mb-8 flex flex-col bg-base-dark-400"},Uy={class:"px-3 whitespace-pre text-sm flex gap-2"},Hy={class:"shrink-0 w-8 text-right font-semibold select-none"};function Vy(e,t,n,s,r,o){return A(),I("div",{class:Ie(["fixed left-0 h-full w-full bg-base-dark-300 z-40 transition-all duration-300 flex flex-col text-base-dark-content",[...e.consoleEnabled?["opacity-100 top-0"]:["opacity-0 top-[-100%]"]]])},[Fy,m("div",jy,[(A(!0),I(pe,null,Ce(Object.keys(e.consoleMessages),a=>(A(),I("div",Uy,[m("code",Hy,D(Number.parseInt(a)+1),1),m("code",null,D(e.consoleMessages[a]),1)]))),256))])],2)}const By=Ae(Dy,[["render",Vy]]),Gy=me({name:"Tauri",data(){return{consoleEnabled:!1}},components:{TauriConsole:By,TauriFooter:Ry}});function Wy(e,t,n,s,r,o){const a=ye("TauriConsole"),i=ye("TauriFooter");return A(),I(pe,null,[P(a,{"console-enabled":e.consoleEnabled},null,8,["console-enabled"]),P(i,{"console-enabled":e.consoleEnabled,"set-console-enabled":l=>e.consoleEnabled=l},null,8,["console-enabled","set-console-enabled"])],64)}const zy=Ae(Gy,[["render",Wy]]),Ky=me({data(){return{isTauri:br,allowTransition:!1}},components:{Tauri:zy,Alerts:hy,Footer:vv,Navbar:Jv},computed:{current(){return this.$route.path},theme(){return localStorage.getItem("theme")??""},locale(){return this.$i18n.locale},fontLink(){switch(this.locale){case"zh_TW":return"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900";case"zh_CN":return"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900";default:return}}},mounted(){this.$i18n.locale=this.$i18n.availableLocales.find(t=>t===np().locale)??"en_US";let e=localStorage.getItem("theme");e?e==="cupcake"?(document.documentElement.removeAttribute("data-theme"),document.documentElement.classList.remove("dark"),document.documentElement.style.setProperty("--color-scheme","light")):(document.documentElement.setAttribute("data-theme","dark"),document.documentElement.classList.add("dark"),document.documentElement.style.setProperty("--color-scheme","dark")):(localStorage.setItem("theme","cupcake"),document.documentElement.removeAttribute("data-theme"),document.documentElement.classList.remove("dark"),document.documentElement.style.setProperty("--color-scheme","light")),br()&&ky(),setTimeout(()=>{this.allowTransition=!0},1e3)},setup(){const{t:e}=$r();return{t:e}}}),qy=["href"],Jy=["content"],Yy={class:"min-h-[100vh] flex flex-col justify-between bg-base-floor"},Xy={key:0,class:"mt-[4.5rem]"},Qy={class:"grow shrink-0"},Zy={key:1,class:"h-10"};function ew(e,t,n,s,r,o){const a=ye("Navbar"),i=ye("router-view"),l=ye("Footer"),c=ye("Alerts"),u=ye("Tauri");return A(),I(pe,null,[e.fontLink?(A(),I("link",{key:0,rel:"stylesheet",href:e.fontLink},null,8,qy)):de("",!0),(A(),I("meta",{name:"theme-color",key:e.theme,content:e.theme==="cupcake"?"#efeae6":"#242933"},null,8,Jy)),(A(),I("div",{class:"overflow-x-hidden text-base-content dark:text-base-dark-content",key:e.locale},[P(a,{class:Ie(["top-0 fixed z-10",`navbar-${e.current}`])},null,8,["class"]),m("div",Yy,[P(fr,{"enter-active-class":`duration-500 ${e.allowTransition?"transition-all":"transition-none"}`,"enter-from-class":"!mt-0","leave-active-class":`duration-500 ${e.allowTransition?"transition-all":"transition-none"}`,"leave-to-class":"!mt-0"},{default:R(()=>[e.current!=="/"?(A(),I("div",Xy)):de("",!0)]),_:1},8,["enter-active-class","leave-active-class"]),m("div",Qy,[P(i,null,{default:R(({Component:d,route:h})=>[P(fr,{"enter-active-class":"transition-opacity duration-250 delay-250 ease-linear","enter-from-class":"opacity-50","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-250 ease-linear","leave-from-class":"opacity-100","leave-to-class":"opacity-50"},{default:R(()=>[(A(),fe(pd(d)))]),_:2},1024)]),_:1})]),e.isTauri()?(A(),I("div",Zy)):(A(),fe(l,{key:0}))]),P(c)])),e.isTauri()?(A(),fe(u,{key:1})):de("",!0)],64)}const tw=Ae(Ky,[["render",ew]]);var ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ap={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */(function(e,t){(function(n,s){e.exports=s()})(ai,function(){var n={};n.version="0.2.0";var s=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};n.configure=function(g){var _,E;for(_ in g)E=g[_],E!==void 0&&g.hasOwnProperty(_)&&(s[_]=E);return this},n.status=null,n.set=function(g){var _=n.isStarted();g=r(g,s.minimum,1),n.status=g===1?null:g;var E=n.render(!_),w=E.querySelector(s.barSelector),b=s.speed,y=s.easing;return E.offsetWidth,i(function(v){s.positionUsing===""&&(s.positionUsing=n.getPositioningCSS()),l(w,a(g,b,y)),g===1?(l(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){l(E,{transition:"all "+b+"ms linear",opacity:0}),setTimeout(function(){n.remove(),v()},b)},b)):setTimeout(v,b)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var g=function(){setTimeout(function(){n.status&&(n.trickle(),g())},s.trickleSpeed)};return s.trickle&&g(),this},n.done=function(g){return!g&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(g){var _=n.status;return _?(typeof g!="number"&&(g=(1-_)*r(Math.random()*_,.1,.95)),_=r(_+g,0,.994),n.set(_)):n.start()},n.trickle=function(){return n.inc(Math.random()*s.trickleRate)},function(){var g=0,_=0;n.promise=function(E){return!E||E.state()==="resolved"?this:(_===0&&n.start(),g++,_++,E.always(function(){_--,_===0?(g=0,n.done()):n.set((g-_)/g)}),this)}}(),n.render=function(g){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var _=document.createElement("div");_.id="nprogress",_.innerHTML=s.template;var E=_.querySelector(s.barSelector),w=g?"-100":o(n.status||0),b=document.querySelector(s.parent),y;return l(E,{transition:"all 0 linear",transform:"translate3d("+w+"%,0,0)"}),s.showSpinner||(y=_.querySelector(s.spinnerSelector),y&&k(y)),b!=document.body&&u(b,"nprogress-custom-parent"),b.appendChild(_),_},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(s.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&k(g)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var g=document.body.style,_="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return _+"Perspective"in g?"translate3d":_+"Transform"in g?"translate":"margin"};function r(g,_,E){return g<_?_:g>E?E:g}function o(g){return(-1+g)*100}function a(g,_,E){var w;return s.positionUsing==="translate3d"?w={transform:"translate3d("+o(g)+"%,0,0)"}:s.positionUsing==="translate"?w={transform:"translate("+o(g)+"%,0)"}:w={"margin-left":o(g)+"%"},w.transition="all "+_+"ms "+E,w}var i=function(){var g=[];function _(){var E=g.shift();E&&E(_)}return function(E){g.push(E),g.length==1&&_()}}(),l=function(){var g=["Webkit","O","Moz","ms"],_={};function E(v){return v.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function($,S){return S.toUpperCase()})}function w(v){var $=document.body.style;if(v in $)return v;for(var S=g.length,T=v.charAt(0).toUpperCase()+v.slice(1),x;S--;)if(x=g[S]+T,x in $)return x;return v}function b(v){return v=E(v),_[v]||(_[v]=w(v))}function y(v,$,S){$=b($),v.style[$]=S}return function(v,$){var S=arguments,T,x;if(S.length==2)for(T in $)x=$[T],x!==void 0&&$.hasOwnProperty(T)&&y(v,T,x);else y(v,S[1],S[2])}}();function c(g,_){var E=typeof g=="string"?g:h(g);return E.indexOf(" "+_+" ")>=0}function u(g,_){var E=h(g),w=E+_;c(E,_)||(g.className=w.substring(1))}function d(g,_){var E=h(g),w;c(g,_)&&(w=E.replace(" "+_+" "," "),g.className=w.substring(1,w.length-1))}function h(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function k(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return n})})(ap);var nw=ap.exports;const el=Zi(nw);function sw(e){return typeof e=="object"&&e!==null}function du(e,t){return e=sw(e)?e:Object.create(null),new Proxy(e,{get(n,s,r){return s==="key"?Reflect.get(n,s,r):Reflect.get(n,s,r)||Reflect.get(t,s,r)}})}function rw(e,t){return t.reduce((n,s)=>n==null?void 0:n[s],e)}function ow(e,t,n){return t.slice(0,-1).reduce((s,r)=>/^(__proto__)$/.test(r)?{}:s[r]=s[r]||{},e)[t[t.length-1]]=n,e}function aw(e,t){return t.reduce((n,s)=>{const r=s.split(".");return ow(n,r,rw(e,r))},{})}function iw(e,t){return n=>{var s;try{const{storage:r=localStorage,beforeRestore:o=void 0,afterRestore:a=void 0,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:u=!1}=n;return{storage:r,beforeRestore:o,afterRestore:a,serializer:i,key:((s=e.key)!=null?s:d=>d)(typeof l=="string"?l:l(t.$id)),paths:c,debug:u}}catch(r){return n.debug&&console.error("[pinia-plugin-persistedstate]",r),null}}}function fu(e,{storage:t,serializer:n,key:s,debug:r}){try{const o=t==null?void 0:t.getItem(s);o&&e.$patch(n==null?void 0:n.deserialize(o))}catch(o){r&&console.error("[pinia-plugin-persistedstate]",o)}}function pu(e,{storage:t,serializer:n,key:s,paths:r,debug:o}){try{const a=Array.isArray(r)?aw(e,r):e;t.setItem(s,n.serialize(a))}catch(a){o&&console.error("[pinia-plugin-persistedstate]",a)}}function lw(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:s=n},store:r,pinia:o}=t;if(!s)return;if(!(r.$id in o.state.value)){const i=o._s.get(r.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const a=(Array.isArray(s)?s.map(i=>du(i,e)):[du(s,e)]).map(iw(e,r)).filter(Boolean);r.$persist=()=>{a.forEach(i=>{pu(r.$state,i)})},r.$hydrate=({runHooks:i=!0}={})=>{a.forEach(l=>{const{beforeRestore:c,afterRestore:u}=l;i&&(c==null||c(t)),fu(r,l),i&&(u==null||u(t))})},a.forEach(i=>{const{beforeRestore:l,afterRestore:c}=i;l==null||l(t),fu(r,i),c==null||c(t),r.$subscribe((u,d)=>{pu(d,i)},{detached:!0})})}}var cw=lw();const uw={"navbar./":"Linkie","navbar./dependencies":"Dependencies","navbar./generator":"Generator","navbar./mappings":"Mappings","navbar./desktop":"Desktop","navbar.locale.help.0":"Don't find your language?","navbar.locale.help.1":"Help add it!","home.welcome":"Welcome to Linkie","home.quick.access":"Quick Access","home.dependencies":"Dependencies","home.mappings":"Mappings","dependencies.loader":"Loader","dependencies.build.system":"Build System","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.build.system.neo.gradle":"NeoGradle","dependencies.version":"Version","dependencies.version.snapshots":"Enable snapshots","dependencies.maven.repo":"Maven Repository","dependencies.toc":"Table of Contents","generator.template.base.title":"Template Base","generator.template.base.description":`Select a template base to start with. This determines the *mod loader* your project will use and support, as well as the *build system* and the available *libraries*. + */let Qf;const Wa=e=>Qf=e,Zf=Symbol();function ti(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var tr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(tr||(tr={}));function wv(){const e=vi(!0),t=e.run(()=>Ke({}));let n=[],s=[];const r=Ca({install(a){Wa(r),r._a=a,a.provide(Zf,r),a.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(a){return!this._a&&!yv?s.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ep=()=>{};function ou(e,t,n,s=ep){e.push(t);const r=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),s())};return!n&&Hu()&&zp(r),r}function cs(e,...t){e.slice().forEach(n=>{n(...t)})}const kv=e=>e();function ni(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];ti(r)&&ti(s)&&e.hasOwnProperty(n)&&!Je(s)&&!un(s)?e[n]=ni(r,s):e[n]=s}return e}const Ev=Symbol();function $v(e){return!ti(e)||!e.hasOwnProperty(Ev)}const{assign:$n}=Object;function Sv(e){return!!(Je(e)&&e.effect)}function Cv(e,t,n,s){const{state:r,actions:a,getters:o}=t,i=n.state.value[e];let l;function c(){i||(n.state.value[e]=r?r():{});const u=gm(n.state.value[e]);return $n(u,a,Object.keys(o||{}).reduce((d,h)=>(d[h]=Ca(je(()=>{Wa(n);const k=n._s.get(e);return o[h].call(k,k)})),d),{}))}return l=tp(e,c,t,n,s,!0),l}function tp(e,t,n={},s,r,a){let o;const i=$n({actions:{}},n),l={deep:!0};let c,u,d=[],h=[],k;const g=s.state.value[e];!a&&!g&&(s.state.value[e]={}),Ke({});let _;function E(x){let M;c=u=!1,typeof x=="function"?(x(s.state.value[e]),M={type:tr.patchFunction,storeId:e,events:k}):(ni(s.state.value[e],x),M={type:tr.patchObject,payload:x,storeId:e,events:k});const z=_=Symbol();Ti().then(()=>{_===z&&(c=!0)}),u=!0,cs(d,M,s.state.value[e])}const w=a?function(){const{state:M}=n,z=M?M():{};this.$patch(q=>{$n(q,z)})}:ep;function b(){o.stop(),d=[],h=[],s._s.delete(e)}function y(x,M){return function(){Wa(s);const z=Array.from(arguments),q=[],G=[];function re(ae){q.push(ae)}function we(ae){G.push(ae)}cs(h,{args:z,name:x,store:$,after:re,onError:we});let ce;try{ce=M.apply(this&&this.$id===e?this:$,z)}catch(ae){throw cs(G,ae),ae}return ce instanceof Promise?ce.then(ae=>(cs(q,ae),ae)).catch(ae=>(cs(G,ae),Promise.reject(ae))):(cs(q,ce),ce)}}const v={_p:s,$id:e,$onAction:ou.bind(null,h),$patch:E,$reset:w,$subscribe(x,M={}){const z=ou(d,x,M.detached,()=>q()),q=o.run(()=>pt(()=>s.state.value[e],G=>{(M.flush==="sync"?u:c)&&x({storeId:e,type:tr.direct,events:k},G)},$n({},l,M)));return z},$dispose:b},$=wr(v);s._s.set(e,$);const T=(s._a&&s._a.runWithContext||kv)(()=>s._e.run(()=>(o=vi()).run(t)));for(const x in T){const M=T[x];if(Je(M)&&!Sv(M)||un(M))a||(g&&$v(M)&&(Je(M)?M.value=g[x]:ni(M,g[x])),s.state.value[e][x]=M);else if(typeof M=="function"){const z=y(x,M);T[x]=z,i.actions[x]=M}}return $n($,T),$n(Le($),T),Object.defineProperty($,"$state",{get:()=>s.state.value[e],set:x=>{E(M=>{$n(M,x)})}}),s._p.forEach(x=>{$n($,o.run(()=>x({store:$,app:s._a,pinia:s,options:i})))}),g&&a&&n.hydrate&&n.hydrate($.$state,g),c=!0,u=!0,$}function tn(e,t,n){let s,r;const a=typeof t=="function";typeof e=="string"?(s=e,r=a?n:t):(r=e,s=e.id);function o(i,l){const c=Zm();return i=i||(c?Rt(Zf,null):null),i&&Wa(i),i=Qf,i._s.has(s)||(a?tp(s,t,r,i):Cv(s,r,i)),i._s.get(s)}return o.$id=s,o}function xv(e,t){return Array.isArray(t)?t.reduce((n,s)=>(n[s]=function(){return e(this.$pinia)[s]},n),{}):Object.keys(t).reduce((n,s)=>(n[s]=function(){const r=e(this.$pinia),a=t[s];return typeof a=="function"?a.call(this,r):r[a]},n),{})}function Et(e,t){return Array.isArray(t)?t.reduce((n,s)=>(n[s]={get(){return e(this.$pinia)[s]},set(r){return e(this.$pinia)[s]=r}},n),{}):Object.keys(t).reduce((n,s)=>(n[s]={get(){return e(this.$pinia)[t[s]]},set(r){return e(this.$pinia)[t[s]]=r}},n),{})}function xt(e){{e=Le(e);const t={};for(const n in e){const s=e[n];(Je(s)||un(s))&&(t[n]=vm(e,n))}return t}}const Av=function(){let e=window.navigator,t=["language","browserLanguage","systemLanguage","userLanguage"],n,s;if(Array.isArray(e.languages)){for(n=0;n{const s=ye("router-link");return A(),fe(s,{class:Ie(["px-4 py-3 rounded-lg transition-all duration-100 normal-case flex items-center",t.bold?"text-xl font-bold":"font-medium",t.hoverDim?"hover:opacity-70":""]),to:{path:t.href,query:{}}},{default:R(()=>[Ze(t.$slots,"default")]),_:3},8,["class","to"])}}}),Ov={class:"relative"},Iv={key:0,class:"locale-dropdown absolute right-0 z-10 mt-3 min-w-56 max-w-80 divide-y-2 divide-black/20 origin-top-right rounded-md bg-base-100 dark:bg-base-dark-300 dark:text-base-dark-content shadow-xl ring-4 ring-black ring-opacity-20"},Mv={class:"py-1"},Nv=["onClick"],Pv={class:"flex-1 pr-2"},Rv={class:"py-1"},Fv=me({__name:"NavbarDropdown",props:{options:{}},setup(e){const t=Ke(!1);return(n,s)=>(A(),fe(Ws,{"hover-dim":!1},{default:R(()=>[m("div",Ov,[m("div",{onClick:s[0]||(s[0]=r=>t.value=!t.value),class:"hover:opacity-70"},[Ze(n.$slots,"default")]),P(fr,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:R(()=>[t.value?(A(),I("div",Iv,[m("div",Mv,[(A(!0),I(pe,null,Ce(n.options,r=>(A(),I("a",{onClick:a=>{r.onClick(),t.value=!1},class:"cursor-pointer block px-4 py-2 hover:bg-base-300 dark:hover:bg-base-dark-400 transition-colors flex gap-2 items-center"},[m("p",Pv,F(r.name),1),Ze(n.$slots,`option-${r.id}`)],8,Nv))),256)),Ze(n.$slots,"option-extra")]),m("div",Rv,[Ze(n.$slots,"option-new-group")])])):de("",!0)]),_:3})])]),_:3}))}}),Dv={class:"max-w-[78rem] mx-auto w-full flex justify-between min-h-16"},jv={class:"flex overflow-x-auto overflow-y-hidden epic-scroller"},Uv={class:"flex"},Hv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#B22334",d:"M35.445 7C34.752 5.809 33.477 5 32 5H18v2h17.445zM0 25h36v2H0zm18-8h18v2H18zm0-4h18v2H18zM0 21h36v2H0zm4 10h28c1.477 0 2.752-.809 3.445-2H.555c.693 1.191 1.968 2 3.445 2zM18 9h18v2H18z"}),m("path",{fill:"#EEE",d:"M.068 27.679c.017.093.036.186.059.277c.026.101.058.198.092.296c.089.259.197.509.333.743L.555 29h34.89l.002-.004a4.22 4.22 0 0 0 .332-.741a3.75 3.75 0 0 0 .152-.576c.041-.22.069-.446.069-.679H0c0 .233.028.458.068.679zM0 23h36v2H0zm0-4v2h36v-2H18zm18-4h18v2H18zm0-4h18v2H18zM0 9zm.555-2l-.003.005L.555 7zM.128 8.044c.025-.102.06-.199.092-.297a3.78 3.78 0 0 0-.092.297zM18 9h18c0-.233-.028-.459-.069-.68a3.606 3.606 0 0 0-.153-.576A4.21 4.21 0 0 0 35.445 7H18v2z"}),m("path",{fill:"#3C3B6E",d:"M18 5H4a4 4 0 0 0-4 4v10h18V5z"}),m("path",{fill:"#FFF",d:"m2.001 7.726l.618.449l-.236.725L3 8.452l.618.448l-.236-.725L4 7.726h-.764L3 7l-.235.726zm2 2l.618.449l-.236.725l.617-.448l.618.448l-.236-.725L6 9.726h-.764L5 9l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L9 9l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L13 9l-.235.726zm-8 4l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L5 13l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L9 13l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L13 13l-.235.726zm-6-6l.618.449l-.236.725L7 8.452l.618.448l-.236-.725L8 7.726h-.764L7 7l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L11 7l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L15 7l-.235.726zm-12 4l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L3 11l-.235.726zM6.383 12.9L7 12.452l.618.448l-.236-.725l.618-.449h-.764L7 11l-.235.726h-.764l.618.449zm3.618-1.174l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L11 11l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L15 11l-.235.726zm-12 4l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L3 15l-.235.726zM6.383 16.9L7 16.452l.618.448l-.236-.725l.618-.449h-.764L7 15l-.235.726h-.764l.618.449zm3.618-1.174l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L11 15l-.235.726zm4 0l.618.449l-.236.725l.617-.448l.618.448l-.236-.725l.618-.449h-.764L15 15l-.235.726z"})],-1),Vv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#00247D",d:"M0 9.059V13h5.628zM4.664 31H13v-5.837zM23 25.164V31h8.335zM0 23v3.941L5.63 23zM31.337 5H23v5.837zM36 26.942V23h-5.631zM36 13V9.059L30.371 13zM13 5H4.664L13 10.837z"}),m("path",{fill:"#CF1B2B",d:"m25.14 23l9.712 6.801a3.977 3.977 0 0 0 .99-1.749L28.627 23H25.14zM13 23h-2.141l-9.711 6.8c.521.53 1.189.909 1.938 1.085L13 23.943V23zm10-10h2.141l9.711-6.8a3.988 3.988 0 0 0-1.937-1.085L23 12.057V13zm-12.141 0L1.148 6.2a3.994 3.994 0 0 0-.991 1.749L7.372 13h3.487z"}),m("path",{fill:"#EEE",d:"M36 21H21v10h2v-5.836L31.335 31H32a3.99 3.99 0 0 0 2.852-1.199L25.14 23h3.487l7.215 5.052c.093-.337.158-.686.158-1.052v-.058L30.369 23H36v-2zM0 21v2h5.63L0 26.941V27c0 1.091.439 2.078 1.148 2.8l9.711-6.8H13v.943l-9.914 6.941c.294.07.598.116.914.116h.664L13 25.163V31h2V21H0zM36 9a3.983 3.983 0 0 0-1.148-2.8L25.141 13H23v-.943l9.915-6.942A4.001 4.001 0 0 0 32 5h-.663L23 10.837V5h-2v10h15v-2h-5.629L36 9.059V9zM13 5v5.837L4.664 5H4a3.985 3.985 0 0 0-2.852 1.2l9.711 6.8H7.372L.157 7.949A3.968 3.968 0 0 0 0 9v.059L5.628 13H0v2h15V5h-2z"}),m("path",{fill:"#CF1B2B",d:"M21 15V5h-6v10H0v6h15v10h6V21h15v-6z"})],-1),Bv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#DE2910",d:"M36 27a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4v18z"}),m("path",{fill:"#FFDE02",d:"m11.136 8.977l.736.356l.589-.566l-.111.81l.72.386l-.804.144l-.144.804l-.386-.72l-.81.111l.566-.589zm4.665 2.941l-.356.735l.566.59l-.809-.112l-.386.721l-.144-.805l-.805-.144l.721-.386l-.112-.809l.59.566zm-.957 3.779l.268.772l.817.017l-.651.493l.237.783l-.671-.467l-.671.467l.236-.783l-.651-.493l.817-.017zm-3.708 3.28l.736.356l.589-.566l-.111.81l.72.386l-.804.144l-.144.804l-.386-.72l-.81.111l.566-.589zM7 10.951l.929 2.671l2.826.058l-2.253 1.708l.819 2.706L7 16.479l-2.321 1.615l.819-2.706l-2.253-1.708l2.826-.058z"})],-1),Gv=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 36 36"},[m("path",{fill:"#FE0000",d:"M32 5H17v13H0v9a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4V9a4 4 0 0 0-4-4z"}),m("path",{fill:"#000095",d:"M17 5H4a4 4 0 0 0-4 4v9h17V5zm-6.063 4.61l2.035-.548l-1.491 1.487a2.881 2.881 0 0 0-.544-.939zm.251 1.89a2.438 2.438 0 1 1-4.876 0a2.438 2.438 0 0 1 4.876 0zm0-4.222l-.548 2.035a2.871 2.871 0 0 0-.939-.544l1.487-1.491zM8.75 6.625l.542 2.034c-.175-.033-.357-.052-.542-.052s-.367.019-.542.052l.542-2.034zm-.951 2.144a2.881 2.881 0 0 0-.939.544l-.548-2.035l1.487 1.491zm-1.236.841a2.871 2.871 0 0 0-.544.939L4.528 9.062l2.035.548zm-.654 1.348a2.854 2.854 0 0 0 0 1.084L3.875 11.5l2.034-.542zm.11 1.492c.121.348.308.666.544.939l-2.035.548l1.491-1.487zm.293 3.272l.548-2.035c.273.236.591.423.939.544l-1.487 1.491zm2.438.653l-.542-2.034a2.854 2.854 0 0 0 1.084 0l-.542 2.034zm.951-2.144c.348-.121.666-.308.939-.544l.548 2.035l-1.487-1.491zm1.236-.841c.237-.273.423-.591.544-.939l1.491 1.487l-2.035-.548zm.654-1.348a2.854 2.854 0 0 0 0-1.084l2.034.542l-2.034.542z"}),m("path",{fill:"#FFF",d:"M9.292 8.659L8.75 6.625l-.542 2.034c.175-.033.357-.052.542-.052s.367.019.542.052zM5.857 11.5c0-.185.018-.367.052-.542l-2.034.542l2.034.542a2.93 2.93 0 0 1-.052-.542zm2.351 2.841l.542 2.034l.542-2.034a2.854 2.854 0 0 1-1.084 0zm3.435-2.841c0 .185-.018.367-.052.542l2.034-.542l-2.034-.542c.033.175.052.357.052.542zm-.455-4.222L9.701 8.769c.348.122.666.308.939.544l.548-2.035zm-.251 6.112l2.035.548l-1.491-1.487a2.881 2.881 0 0 1-.544.939zm-4.625 2.332l1.487-1.491a2.889 2.889 0 0 1-.939-.544l-.548 2.035zm.251-6.112l-2.035-.548l1.491 1.487c.121-.348.307-.665.544-.939zm3.138 4.621l1.487 1.491l-.548-2.035a2.881 2.881 0 0 1-.939.544zM6.019 12.45l-1.491 1.487l2.035-.548a2.86 2.86 0 0 1-.544-.939zm1.78-3.681L6.312 7.278l.548 2.035c.274-.237.591-.423.939-.544zm5.173.293l-2.035.548c.237.273.423.591.544.939l1.491-1.487z"}),m("circle",{cx:"8.75",cy:"11.5",r:"2.438",fill:"#FFF"})],-1),Wv=m("svg",{viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet"},[m("path",{fill:"#CE2028",d:"M36 27a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4v-4h36v4z"}),m("path",{fill:"#22408C",d:"M0 13h36v10H0z"}),m("path",{fill:"#EEE",d:"M32 5H4a4 4 0 0 0-4 4v4h36V9a4 4 0 0 0-4-4z"})],-1),zv={href:"https://github.com/linkie/linkie-web/tree/master/frontend/src/locales",class:"cursor-pointer px-4 py-2 hover:bg-base-300 dark:hover:bg-base-dark-400 transition-colors flex gap-2 items-center"},Kv={class:"flex-1 pr-2"},qv={class:"whitespace-nowrap"},Yv={class:"whitespace-nowrap"},Jv=me({__name:"Navbar",setup(e){const t=Ke(0),n=Ke(!1);Gt(()=>{document.addEventListener("scroll",()=>{let o=document.getElementById("welcome-banner");if(o){let i=document.getElementById("nav-bar");n.value=window.scrollY>o.clientHeight-((i==null?void 0:i.clientHeight)??0)}else n.value=window.scrollY>0})});function s(){return localStorage.getItem("theme")==="dark"}function r(o){function i(l,c){return{id:l,name:c,onClick(){np().locale=l,o.locale=l}}}return[i("en_US","English (US)"),i("en_GB","English (UK)"),i("zh_CN","中文 (中国)"),i("zh_TW","中文 (台灣)"),i("ru_RU","Русский")]}function a(o){localStorage.setItem("theme",o?"dark":"cupcake"),localStorage.getItem("theme")==="dark"?(document.documentElement.setAttribute("data-theme","dark"),document.documentElement.classList.add("dark"),document.documentElement.style.setProperty("--color-scheme","dark")):(document.documentElement.removeAttribute("data-theme"),document.documentElement.classList.remove("dark"),document.documentElement.style.setProperty("--color-scheme","light")),t.value++}return(o,i)=>(A(),I("div",{id:"nav-bar",class:Ie(["flex justify-center px-2 py-1 min-h-16 w-full backdrop-blur-md [transition:box-shadow_0.3s,backdrop-filter_.1s,color_.1s,background-color_.1s]",n.value&&`bg-base-200/80 dark:bg-base-dark-200/80 backdrop-blur-lg !text-base-content dark:!text-base-dark-content ${o.$route.path==="/"?"shadow-[0_35px_60px_-15px_rgba(0,0,0,0.3)]":"shadow-[0_25px_30px_-15px_rgba(0,0,0,0.1)]"}`])},[m("div",Dv,[m("div",jv,[P(Ws,{href:"/",bold:!0},{default:R(()=>[K(F(o.$t("navbar./")),1)]),_:1}),P(Ws,{href:"/dependencies"},{default:R(()=>[K(F(o.$t("navbar./dependencies")),1)]),_:1}),P(Ws,{href:"/mappings"},{default:R(()=>[K(F(o.$t("navbar./mappings")),1)]),_:1})]),m("div",Uv,[P(Fv,{options:r(o.$i18n)},{"option-en_US":R(()=>[Hv]),"option-en_GB":R(()=>[Vv]),"option-zh_CN":R(()=>[Bv]),"option-zh_TW":R(()=>[Gv]),"option-ru_RU":R(()=>[Wv]),"option-new-group":R(()=>[m("a",zv,[m("div",Kv,[m("p",qv,F(o.$t("navbar.locale.help.0")),1),m("p",Yv,F(o.$t("navbar.locale.help.1")),1)]),P(X(K_))])]),default:R(()=>[P(X(ev))]),_:1},8,["options"]),(A(),fe(Ws,{onClick:i[0]||(i[0]=l=>{var c;return a(!(((c=l.target)==null?void 0:c.checked)??s()))}),key:t.value},{default:R(()=>[s()?(A(),fe(X(rv),{key:0})):(A(),fe(X(av),{key:1}))]),_:1}))])])],2))}});function Xv(){return{alerts:[]}}const si=tn({id:"alerts",state:Xv,actions:{addAlert(e){this.alerts=this.alerts.filter(t=>t.message!=e.message),this.alerts.push(e)},removeAlert(e){this.alerts=this.alerts.filter(t=>t.message!=e.message)}}});function Qv(){return{notifications:[]}}const ri=tn({id:"notification",state:Qv,actions:{addNotification(e){this.notifications.push(e)},removeNotification(e){this.notifications=this.notifications.filter((t,n)=>n!=e)}}}),Zv={class:"fixed top-20 left-10 z-5"},ey={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",class:"stroke-info flex-shrink-0 w-6 h-6"},ty=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),ny=[ty],sy={key:1,xmlns:"http://www.w3.org/2000/svg",class:"stroke-current flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24"},ry=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),ay=[ry],oy={key:2,xmlns:"http://www.w3.org/2000/svg",class:"stroke-current flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24"},iy=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"},null,-1),ly=[iy],cy={key:3,xmlns:"http://www.w3.org/2000/svg",class:"stroke-current flex-shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24"},uy=m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),dy=[uy],fy={class:"font-medium"},py=["onClick"],my={class:"fixed top-20 right-10 z-5"},hy=["onClick"],gy=me({__name:"Alerts",setup(e){const{alerts:t}=xt(si()),{notifications:n}=xt(ri()),{removeAlert:s}=si(),{removeNotification:r}=ri();return(a,o)=>(A(),I(pe,null,[P(Ro,{name:"alert",tag:"div"},{default:R(()=>[(A(!0),I(pe,null,Ce(X(t),i=>(A(),I("div",Zv,[m("div",{class:Ie(["items-center flex gap-4 mt-4 bg-base-100 dark:bg-base-dark-300 p-3 shadow-lg rounded-md ring-4 ring-black ring-opacity-20",{"bg-lime-300 dark:bg-lime-300 text-lime-900 dark:text-lime-900":i.type==="success","bg-orange-300 dark:bg-orange-300 text-orange-900 dark:text-orange-900":i.type==="warning","bg-red-300 dark:bg-red-300 text-red-900 dark:text-red-900":i.type==="error"}])},[m("div",null,[i.type==="info"?(A(),I("svg",ey,ny)):de("",!0),i.type==="success"?(A(),I("svg",sy,ay)):de("",!0),i.type==="warning"?(A(),I("svg",oy,ly)):de("",!0),i.type==="error"?(A(),I("svg",cy,dy)):de("",!0)]),m("span",fy,F(i.message),1),m("button",{class:"rounded px-3 py-2 bg-black bg-opacity-0 hover:bg-opacity-10 transition-[background-color]",onClick:l=>X(s)(i)},"Close ",8,py)],2)]))),256))]),_:1}),m("div",my,[P(Ro,{name:"list",tag:"div"},{default:R(()=>[(A(!0),I(pe,null,Ce(Object.keys(X(n)),i=>(A(),I("div",{key:X(n)[i].message,onClick:l=>X(r)(i),class:"mt-4 bg-base-100 dark:bg-base-dark-300 p-3 shadow-lg rounded-md ring-4 ring-black ring-opacity-20"},F(X(n)[i].message),9,hy))),128))]),_:1})])],64))}});function by(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}function ai(e,t=!1){const n=by(),s=`_${n}`;return Object.defineProperty(window,s,{value:r=>(t&&Reflect.deleteProperty(window,s),e==null?void 0:e(r)),writable:!1,configurable:!0}),n}async function _y(e,t={}){return new Promise((n,s)=>{const r=ai(o=>{n(o),Reflect.deleteProperty(window,`_${a}`)},!0),a=ai(o=>{s(o),Reflect.deleteProperty(window,`_${r}`)},!0);window.__TAURI_IPC__({cmd:e,callback:r,error:a,...t})})}async function sp(e){return _y("tauri",e)}async function vy(e,t){return sp({__tauriModule:"Event",message:{cmd:"unlisten",event:e,eventId:t}})}async function yy(e,t,n){return sp({__tauriModule:"Event",message:{cmd:"listen",event:e,windowLabel:t,handler:ai(n)}}).then(s=>async()=>vy(e,s))}var iu;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_FILE_DROP="tauri://file-drop",e.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",e.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",e.MENU="tauri://menu",e.CHECK_UPDATE="tauri://update",e.UPDATE_AVAILABLE="tauri://update-available",e.INSTALL_UPDATE="tauri://update-install",e.STATUS_UPDATE="tauri://update-status",e.DOWNLOAD_PROGRESS="tauri://update-download-progress"})(iu||(iu={}));async function wy(e,t){return yy(e,null,t)}function br(){return typeof window<"u"&&window.__TAURI__!==void 0}function ky(){return{consoleMessages:[]}}const rp=tn({id:"tauri",state:ky,persist:!0});function Ey(){wy("console",e=>{rp().consoleMessages=e.payload.messages})}const $y="https://linkieapi.shedaniel.me",Sy="http://localhost:6969",pn=Qe.create({baseURL:ap()});function ap(){return br()?Sy:$y}function Cy(){return pn.get("/api/versions/all")}function xy(){return pn.get("/api/namespaces")}function Ay(e,t,n,s,r,a,o,i,l,c=100){return pn.get("/api/search",{signal:l==null?void 0:l.signal,params:{namespace:e,query:n,version:t,limit:c,allowClasses:s,allowFields:r,allowMethods:a,translateMode:o||"ns",translate:i}})}function Ty(e,t,n){return pn.get("/api/source",{params:{namespace:e,class:n,version:t}})}function Ly(){return pn.get("/api/oss")}function lu(e){return pn.get(`/api/status/sources/${e}`)}function rt(e=void 0){if(e||(e=ts()),!!e)return new URL(e.fullPath,window.location.origin).href}function st(e,t){if(!e)return null;let n=e[t];return Array.isArray(n)?n[0]:n}function Rr(e,t){return e!=null&&e[t]!=null}let cu=["Official","Fabric","Forge","Quilt","Others"],uu=["Quilt","Others"],Oy={yarn:"Fabric",mojang:"Fabric",mojang_raw:"Official",mojang_srg:"Forge",mojang_hashed:"Quilt",mcp:"Forge","quilt-mappings":"Quilt"},_a={yarn:"Yarn",mojang_raw:"Mojang",mojang:"Mojang (via Intermediary)",mojang_srg:"Mojang (via SRG)",mojang_hashed:"Mojang (via Hashed)",mcp:"Legacy MCP","quilt-mappings":"Quilt Mappings","legacy-yarn":"Legacy Yarn",yarrn:"Yarrn",plasma:"Plasma",barn:"Barn",feather:"Feather"};const Iy=me({name:"TauriFooter",data(){return{currentBackendServer:ap}},props:{consoleEnabled:{type:Boolean,required:!0},setConsoleEnabled:{type:Object,required:!0}}}),Ae=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},My={class:"fixed z-50 bottom-0 bg-base-400 text-base-content dark:bg-base-dark-300 dark:text-base-dark-content text-sm w-full px-1 py-0.5 flex justify-between shadow-lg drop-shadow-lg"},Ny={class:"gap-1 flex"},Py=m("span",null,"Linkie: Tauri (Experimental)",-1);function Ry(e,t,n,s,r,a){return A(),I("div",My,[m("div",Ny,[Py,m("button",{onClick:t[0]||(t[0]=o=>e.setConsoleEnabled(!e.consoleEnabled)),class:"bg-base-600 dark:bg-base-dark-600 rounded px-1"}," Console ")]),m("span",null," using "+F(e.currentBackendServer()),1)])}const Fy=Ae(Iy,[["render",Ry]]),Dy=me({name:"TauriConsole",computed:{...xv(rp,["consoleMessages"])},props:{consoleEnabled:{type:Boolean}}}),jy=m("span",{class:"text-lg px-4 pt-3 pb-2.5 font-semibold"},"Console",-1),Uy={class:"overflow-auto mb-8 flex flex-col bg-base-dark-400"},Hy={class:"px-3 whitespace-pre text-sm flex gap-2"},Vy={class:"shrink-0 w-8 text-right font-semibold select-none"};function By(e,t,n,s,r,a){return A(),I("div",{class:Ie(["fixed left-0 h-full w-full bg-base-dark-300 z-40 transition-all duration-300 flex flex-col text-base-dark-content",[...e.consoleEnabled?["opacity-100 top-0"]:["opacity-0 top-[-100%]"]]])},[jy,m("div",Uy,[(A(!0),I(pe,null,Ce(Object.keys(e.consoleMessages),o=>(A(),I("div",Hy,[m("code",Vy,F(Number.parseInt(o)+1),1),m("code",null,F(e.consoleMessages[o]),1)]))),256))])],2)}const Gy=Ae(Dy,[["render",By]]),Wy=me({name:"Tauri",data(){return{consoleEnabled:!1}},components:{TauriConsole:Gy,TauriFooter:Fy}});function zy(e,t,n,s,r,a){const o=ye("TauriConsole"),i=ye("TauriFooter");return A(),I(pe,null,[P(o,{"console-enabled":e.consoleEnabled},null,8,["console-enabled"]),P(i,{"console-enabled":e.consoleEnabled,"set-console-enabled":l=>e.consoleEnabled=l},null,8,["console-enabled","set-console-enabled"])],64)}const Ky=Ae(Wy,[["render",zy]]),qy=me({data(){return{isTauri:br,allowTransition:!1}},components:{Tauri:Ky,Alerts:gy,Footer:vv,Navbar:Jv},computed:{current(){return this.$route.path},theme(){return localStorage.getItem("theme")??""},locale(){return this.$i18n.locale},fontLink(){switch(this.locale){case"zh_TW":return"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900";case"zh_CN":return"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900";default:return}}},mounted(){this.$i18n.locale=this.$i18n.availableLocales.find(t=>t===np().locale)??"en_US";let e=localStorage.getItem("theme");e?e==="cupcake"?(document.documentElement.removeAttribute("data-theme"),document.documentElement.classList.remove("dark"),document.documentElement.style.setProperty("--color-scheme","light")):(document.documentElement.setAttribute("data-theme","dark"),document.documentElement.classList.add("dark"),document.documentElement.style.setProperty("--color-scheme","dark")):(localStorage.setItem("theme","cupcake"),document.documentElement.removeAttribute("data-theme"),document.documentElement.classList.remove("dark"),document.documentElement.style.setProperty("--color-scheme","light")),br()&&Ey(),setTimeout(()=>{this.allowTransition=!0},1e3)},setup(){const{t:e}=$r();return{t:e}}}),Yy=["href"],Jy=["content"],Xy={class:"min-h-[100vh] flex flex-col justify-between bg-base-floor"},Qy={key:0,class:"mt-[4.5rem]"},Zy={class:"grow shrink-0"},ew={key:1,class:"h-10"};function tw(e,t,n,s,r,a){const o=ye("Navbar"),i=ye("router-view"),l=ye("Footer"),c=ye("Alerts"),u=ye("Tauri");return A(),I(pe,null,[e.fontLink?(A(),I("link",{key:0,rel:"stylesheet",href:e.fontLink},null,8,Yy)):de("",!0),(A(),I("meta",{name:"theme-color",key:e.theme,content:e.theme==="cupcake"?"#efeae6":"#242933"},null,8,Jy)),(A(),I("div",{class:"overflow-x-hidden text-base-content dark:text-base-dark-content",key:e.locale},[P(o,{class:Ie(["top-0 fixed z-10",`navbar-${e.current}`])},null,8,["class"]),m("div",Xy,[P(fr,{"enter-active-class":`duration-500 ${e.allowTransition?"transition-all":"transition-none"}`,"enter-from-class":"!mt-0","leave-active-class":`duration-500 ${e.allowTransition?"transition-all":"transition-none"}`,"leave-to-class":"!mt-0"},{default:R(()=>[e.current!=="/"?(A(),I("div",Qy)):de("",!0)]),_:1},8,["enter-active-class","leave-active-class"]),m("div",Zy,[P(i,null,{default:R(({Component:d,route:h})=>[P(fr,{"enter-active-class":"transition-opacity duration-250 delay-250 ease-linear","enter-from-class":"opacity-50","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-250 ease-linear","leave-from-class":"opacity-100","leave-to-class":"opacity-50"},{default:R(()=>[(A(),fe(pd(d)))]),_:2},1024)]),_:1})]),e.isTauri()?(A(),I("div",ew)):(A(),fe(l,{key:0}))]),P(c)])),e.isTauri()?(A(),fe(u,{key:1})):de("",!0)],64)}const nw=Ae(qy,[["render",tw]]);var oi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var op={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */(function(e,t){(function(n,s){e.exports=s()})(oi,function(){var n={};n.version="0.2.0";var s=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};n.configure=function(g){var _,E;for(_ in g)E=g[_],E!==void 0&&g.hasOwnProperty(_)&&(s[_]=E);return this},n.status=null,n.set=function(g){var _=n.isStarted();g=r(g,s.minimum,1),n.status=g===1?null:g;var E=n.render(!_),w=E.querySelector(s.barSelector),b=s.speed,y=s.easing;return E.offsetWidth,i(function(v){s.positionUsing===""&&(s.positionUsing=n.getPositioningCSS()),l(w,o(g,b,y)),g===1?(l(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){l(E,{transition:"all "+b+"ms linear",opacity:0}),setTimeout(function(){n.remove(),v()},b)},b)):setTimeout(v,b)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var g=function(){setTimeout(function(){n.status&&(n.trickle(),g())},s.trickleSpeed)};return s.trickle&&g(),this},n.done=function(g){return!g&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(g){var _=n.status;return _?(typeof g!="number"&&(g=(1-_)*r(Math.random()*_,.1,.95)),_=r(_+g,0,.994),n.set(_)):n.start()},n.trickle=function(){return n.inc(Math.random()*s.trickleRate)},function(){var g=0,_=0;n.promise=function(E){return!E||E.state()==="resolved"?this:(_===0&&n.start(),g++,_++,E.always(function(){_--,_===0?(g=0,n.done()):n.set((g-_)/g)}),this)}}(),n.render=function(g){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var _=document.createElement("div");_.id="nprogress",_.innerHTML=s.template;var E=_.querySelector(s.barSelector),w=g?"-100":a(n.status||0),b=document.querySelector(s.parent),y;return l(E,{transition:"all 0 linear",transform:"translate3d("+w+"%,0,0)"}),s.showSpinner||(y=_.querySelector(s.spinnerSelector),y&&k(y)),b!=document.body&&u(b,"nprogress-custom-parent"),b.appendChild(_),_},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(s.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&k(g)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var g=document.body.style,_="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return _+"Perspective"in g?"translate3d":_+"Transform"in g?"translate":"margin"};function r(g,_,E){return g<_?_:g>E?E:g}function a(g){return(-1+g)*100}function o(g,_,E){var w;return s.positionUsing==="translate3d"?w={transform:"translate3d("+a(g)+"%,0,0)"}:s.positionUsing==="translate"?w={transform:"translate("+a(g)+"%,0)"}:w={"margin-left":a(g)+"%"},w.transition="all "+_+"ms "+E,w}var i=function(){var g=[];function _(){var E=g.shift();E&&E(_)}return function(E){g.push(E),g.length==1&&_()}}(),l=function(){var g=["Webkit","O","Moz","ms"],_={};function E(v){return v.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function($,S){return S.toUpperCase()})}function w(v){var $=document.body.style;if(v in $)return v;for(var S=g.length,T=v.charAt(0).toUpperCase()+v.slice(1),x;S--;)if(x=g[S]+T,x in $)return x;return v}function b(v){return v=E(v),_[v]||(_[v]=w(v))}function y(v,$,S){$=b($),v.style[$]=S}return function(v,$){var S=arguments,T,x;if(S.length==2)for(T in $)x=$[T],x!==void 0&&$.hasOwnProperty(T)&&y(v,T,x);else y(v,S[1],S[2])}}();function c(g,_){var E=typeof g=="string"?g:h(g);return E.indexOf(" "+_+" ")>=0}function u(g,_){var E=h(g),w=E+_;c(E,_)||(g.className=w.substring(1))}function d(g,_){var E=h(g),w;c(g,_)&&(w=E.replace(" "+_+" "," "),g.className=w.substring(1,w.length-1))}function h(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function k(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return n})})(op);var sw=op.exports;const el=Zi(sw);function rw(e){return typeof e=="object"&&e!==null}function du(e,t){return e=rw(e)?e:Object.create(null),new Proxy(e,{get(n,s,r){return s==="key"?Reflect.get(n,s,r):Reflect.get(n,s,r)||Reflect.get(t,s,r)}})}function aw(e,t){return t.reduce((n,s)=>n==null?void 0:n[s],e)}function ow(e,t,n){return t.slice(0,-1).reduce((s,r)=>/^(__proto__)$/.test(r)?{}:s[r]=s[r]||{},e)[t[t.length-1]]=n,e}function iw(e,t){return t.reduce((n,s)=>{const r=s.split(".");return ow(n,r,aw(e,r))},{})}function lw(e,t){return n=>{var s;try{const{storage:r=localStorage,beforeRestore:a=void 0,afterRestore:o=void 0,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:u=!1}=n;return{storage:r,beforeRestore:a,afterRestore:o,serializer:i,key:((s=e.key)!=null?s:d=>d)(typeof l=="string"?l:l(t.$id)),paths:c,debug:u}}catch(r){return n.debug&&console.error("[pinia-plugin-persistedstate]",r),null}}}function fu(e,{storage:t,serializer:n,key:s,debug:r}){try{const a=t==null?void 0:t.getItem(s);a&&e.$patch(n==null?void 0:n.deserialize(a))}catch(a){r&&console.error("[pinia-plugin-persistedstate]",a)}}function pu(e,{storage:t,serializer:n,key:s,paths:r,debug:a}){try{const o=Array.isArray(r)?iw(e,r):e;t.setItem(s,n.serialize(o))}catch(o){a&&console.error("[pinia-plugin-persistedstate]",o)}}function cw(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:s=n},store:r,pinia:a}=t;if(!s)return;if(!(r.$id in a.state.value)){const i=a._s.get(r.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const o=(Array.isArray(s)?s.map(i=>du(i,e)):[du(s,e)]).map(lw(e,r)).filter(Boolean);r.$persist=()=>{o.forEach(i=>{pu(r.$state,i)})},r.$hydrate=({runHooks:i=!0}={})=>{o.forEach(l=>{const{beforeRestore:c,afterRestore:u}=l;i&&(c==null||c(t)),fu(r,l),i&&(u==null||u(t))})},o.forEach(i=>{const{beforeRestore:l,afterRestore:c}=i;l==null||l(t),fu(r,i),c==null||c(t),r.$subscribe((u,d)=>{pu(d,i)},{detached:!0})})}}var uw=cw();const dw={"navbar./":"Linkie","navbar./dependencies":"Dependencies","navbar./generator":"Generator","navbar./mappings":"Mappings","navbar./desktop":"Desktop","navbar.locale.help.0":"Don't find your language?","navbar.locale.help.1":"Help add it!","home.welcome":"Welcome to Linkie","home.quick.access":"Quick Access","home.dependencies":"Dependencies","home.mappings":"Mappings","dependencies.loader":"Loader","dependencies.build.system":"Build System","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.build.system.neo.gradle":"NeoGradle","dependencies.version":"Version","dependencies.version.snapshots":"Enable snapshots","dependencies.maven.repo":"Maven Repository","dependencies.toc":"Table of Contents","generator.template.base.title":"Template Base","generator.template.base.description":`Select a template base to start with. This determines the *mod loader* your project will use and support, as well as the *build system* and the available *libraries*. Please think about your choice very carefully, as changing the template base later on is very tedious.`,"generator.template.base.details.ide":"IDE Support","generator.template.base.details.features":"Features","generator.versions.title":"Versions","generator.versions.description":"Let's select the Minecraft to target for!","generator.versions.version":"Minecraft Version","generator.mod.loaders.title":"Mod Loaders","generator.build.system.title":"Build System","generator.build.system.description.forge":`Select your build system. *ForgeGradle* is the official build system for Forge mods, while *Architectury Loom* is an unofficial alternative, that supports alternative mappings such as Yarn and Quilt Mappings on Forge. @@ -56,7 +56,7 @@ You may choose to use Parchment to provide parameter names, or not.`,"generator. If you're not sure which to choose, go with *Groovy*, as it is the most commonly used language for Gradle.`,"generator.mod.config.title":"Mod Configuration","generator.mod.config.description":`Let's make sure your mod is truly unique! Please fill in the following information about your mod:`,"generator.mod.config.mod.name":"Mod Name","generator.mod.config.mod.description":"Mod Description","generator.mod.config.mod.license":"Mod License","generator.mod.config.mod.main.class":"Main Class Name","generator.mod.config.mod.client.class":"Client Class Name","generator.mod.config.mod.id":"Mod ID","generator.mod.config.mod.version":"Version","generator.mod.config.mod.package":"Package","generator.mod.config.mod.authors":"Authors","generator.mixins.config.title":"Mixins Configuration","generator.mixins.config.description.1":"Mixins is a base game modification system available on both Forge and Fabric, Forge modders may be less familiar with this as Forge itself usually provides everything you need.","generator.mixins.config.description.2":`The Fabric Wiki's Introduction to Mixins is a great resource to start out. However, *you might not need Mixins* if your mod is something simple like adding a few blocks and items, APIs provide the essentials for that. -https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config.description.fabric":"This is not the case with Fabric. A large number of events and hooks are not available on Fabric, and most of the times you will need to hook it up yourselves.","generator.dependencies.title":"Dependencies","mappings.mode":"Mode","mappings.mode.mappings":"Mappings","mappings.mode.stacktrace":"Stacktrace","mappings.namespace":"Namespace","mappings.namespace.show.more":"Show More...","mappings.namespace.show.less":"Show Less...","mappings.version":"Version","mappings.version.snapshots":"Enable snapshots:","mappings.version.no.translation":"{version} (no translation)","mappings.translation":"Translation","mappings.translation.none":"No Translation","mappings.translation.another.namespace":"Translate to another Namespace","mappings.translation.another.version":"Translate to another Version","mappings.translation.n/a":"N/a","mappings.search.type":"Search Type:","mappings.search.type.classes":"Classes","mappings.search.type.methods":"Methods","mappings.search.type.fields":"Fields","mappings.searching":"Searching Results","mappings.searching.subtitle":"Feeling Lucky?","mappings.searching.none":"No Results","mappings.searching.none.try":"Try searching something?","mappings.searching.none.mistake":"Did you make a mistake in your search?","mappings.entry.type.class":"Class","mappings.entry.type.method":"Method","mappings.entry.type.field":"Field","mappings.entry.type":"Type:","mappings.entry.mixin.target":"Mixin Target:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","mappings.entry.view.sources":"View Sources","namespace.yarn":"Yarn","namespace.mojang_raw":"Mojang","namespace.mojang":"Mojang (via Intermediary)","namespace.mojang_srg":"Mojang (via SRG)","namespace.mojang_hashed":"Mojang (via Hashed)","namespace.mcp":"Old MCP (<=1.16.5)","namespace.quilt-mappings":"Quilt Mappings","namespace.legacy-yarn":"Legacy Yarn","namespace.feather":"Feather","namespace.barn":"Barn","namespace.yarrn":"Yarrn","namespace.plasma":"Plasma","loader.fabric":"Fabric","loader.forge":"Forge","loader.neoforge":"NeoForge","loader.quilt":"Quilt","loader.legacy-fabric":"Legacy Fabric","message.copy.clipboard":"Copied to clipboard"},dw={},fw={"navbar./":"Linkie","navbar./dependencies":"依赖","navbar./generator":"生成器","navbar./mappings":"映射","navbar./desktop":"桌面程序","navbar.locale.help.0":"找不到您的语言?","navbar.locale.help.1":"点击这里协助翻译!","home.welcome":"欢迎使用 Linkie","home.quick.access":"快速访问","home.dependencies":"依赖","home.mappings":"映射","dependencies.loader":"加载器","dependencies.build.system":"构建系统","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.version":"版本","dependencies.version.snapshots":"显示快照版本","dependencies.maven.repo":"Maven 仓库","dependencies.toc":"目录","generator.template.base.title":"基本模板","generator.template.base.description":`选择要开始的基本模板。这将决定您的项目所使用和支持的*模组加载器*,以及*构建系统*和可用的*库*。 +https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config.description.fabric":"This is not the case with Fabric. A large number of events and hooks are not available on Fabric, and most of the times you will need to hook it up yourselves.","generator.dependencies.title":"Dependencies","mappings.mode":"Mode","mappings.mode.mappings":"Mappings","mappings.mode.stacktrace":"Stacktrace","mappings.namespace":"Namespace","mappings.namespace.show.more":"Show More...","mappings.namespace.show.less":"Show Less...","mappings.version":"Version","mappings.version.snapshots":"Enable snapshots:","mappings.version.no.translation":"{version} (no translation)","mappings.translation":"Translation","mappings.translation.none":"No Translation","mappings.translation.another.namespace":"Translate to another Namespace","mappings.translation.another.version":"Translate to another Version","mappings.translation.n/a":"N/a","mappings.search.type":"Search Type:","mappings.search.type.classes":"Classes","mappings.search.type.methods":"Methods","mappings.search.type.fields":"Fields","mappings.searching":"Searching Results","mappings.searching.subtitle":"Feeling Lucky?","mappings.searching.none":"No Results","mappings.searching.none.try":"Try searching something?","mappings.searching.none.mistake":"Did you make a mistake in your search?","mappings.entry.type.class":"Class","mappings.entry.type.method":"Method","mappings.entry.type.field":"Field","mappings.entry.type":"Type:","mappings.entry.mixin.target":"Mixin Target:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","mappings.entry.view.sources":"View Sources","namespace.yarn":"Yarn","namespace.mojang_raw":"Mojang","namespace.mojang":"Mojang (via Intermediary)","namespace.mojang_srg":"Mojang (via SRG)","namespace.mojang_hashed":"Mojang (via Hashed)","namespace.mcp":"Old MCP (<=1.16.5)","namespace.quilt-mappings":"Quilt Mappings","namespace.legacy-yarn":"Legacy Yarn","namespace.feather":"Feather","namespace.barn":"Barn","namespace.yarrn":"Yarrn","namespace.plasma":"Plasma","loader.fabric":"Fabric","loader.forge":"Forge","loader.neoforge":"NeoForge","loader.quilt":"Quilt","loader.legacy-fabric":"Legacy Fabric","message.copy.clipboard":"Copied to clipboard"},fw={},pw={"navbar./":"Linkie","navbar./dependencies":"依赖","navbar./generator":"生成器","navbar./mappings":"映射","navbar./desktop":"桌面程序","navbar.locale.help.0":"找不到您的语言?","navbar.locale.help.1":"点击这里协助翻译!","home.welcome":"欢迎使用 Linkie","home.quick.access":"快速访问","home.dependencies":"依赖","home.mappings":"映射","dependencies.loader":"加载器","dependencies.build.system":"构建系统","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.version":"版本","dependencies.version.snapshots":"显示快照版本","dependencies.maven.repo":"Maven 仓库","dependencies.toc":"目录","generator.template.base.title":"基本模板","generator.template.base.description":`选择要开始的基本模板。这将决定您的项目所使用和支持的*模组加载器*,以及*构建系统*和可用的*库*。 请仔细考虑您的选择,因为以后更改基本模板非常繁琐。`,"generator.template.base.details.ide":"IDE 支持","generator.template.base.details.features":"功能","generator.versions.title":"版本","generator.versions.description":"让我们选择要针对的 Minecraft 版本!","generator.versions.version":"Minecraft 版本","generator.mod.loaders.title":"Mod 加载器","generator.build.system.title":"构建系统","generator.build.system.description.forge":`选择您的构建系统。 *ForgeGradle* 是 Forge 模组的官方构建系统,而 *Architectury Loom* 是一个非官方的替代品, 支持在 Forge 上映射转换,如 Yarn 和 Quilt Mappings。 @@ -66,7 +66,17 @@ https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config. 如果您不确定选哪个,可以选择 *Groovy*,因为它是 Gradle 最常用的语言。`,"generator.mod.config.title":"Mod 配置","generator.mod.config.description":`确保您的模组真正的独特! 请在下方填写您的模组的信息:`,"generator.mod.config.mod.name":"Mod 名称","generator.mod.config.mod.description":"Mod 描述","generator.mod.config.mod.license":"Mod 许可证","generator.mod.config.mod.main.class":"主类名","generator.mod.config.mod.client.class":"客户端类名","generator.mod.config.mod.id":"Mod ID","generator.mod.config.mod.version":"版本","generator.mod.config.mod.package":"包","generator.mod.config.mod.authors":"作者","generator.mixins.config.title":"Mixins 配置","generator.mixins.config.description.1":"Mixins 是一个可在 Forge 和 Fabric 使用的基本游戏修改系统,Forge 模组开发者可能对此不太熟悉,因为 Forge 通常会提供您所需的一切。","generator.mixins.config.description.2":`Fabric Wiki 上的 Mixins 介绍是一个很好的入手学习资源。然而, 如果您的模组只是简单地添加一些方块和物品之类的东西,那么您可能不需要使用 Mixins,API 提供了这方面的基本功能。 -https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config.description.fabric":"这在 Fabric 中并非如此。许多事件和钩子在 Fabric 上并不可用,大多数情况下您需要自己进行钩接。","generator.dependencies.title":"依赖","mappings.namespace":"命名空间","mappings.namespace.show.more":"展开...","mappings.namespace.show.less":"收起...","mappings.version":"版本","mappings.version.snapshots":"显示快照版本:","mappings.version.no.translation":"{version}(无映射转换)","mappings.translation":"映射转换","mappings.translation.none":"不转换","mappings.translation.another.namespace":"转换至另一命名空间","mappings.translation.another.version":"转换至另一版本","mappings.translation.n/a":"N/a","mappings.search.type":"搜索类型:","mappings.search.type.classes":"类","mappings.search.type.methods":"方法","mappings.search.type.fields":"字段","mappings.searching":"搜索结果","mappings.searching.subtitle":"手气不错?","mappings.searching.none":"暂无结果","mappings.searching.none.try":"试试搜索什么?","mappings.searching.none.mistake":"你的搜索词是否正确?","mappings.entry.type.class":"类","mappings.entry.type.method":"方法","mappings.entry.type.field":"字段","mappings.entry.type":"类型:","mappings.entry.mixin.target":"Mixin 目标:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","loader.fabric":"Fabric","loader.forge":"Forge","loader.quilt":"Quilt","loader.legacy-fabric":"Legacy Fabric","message.copy.clipboard":"已复制到剪贴板"},pw={"navbar./dependencies":"配置","navbar./generator":"創建專案","navbar./mappings":"搜尋","home.welcome":"歡迎使用 Linkie","navbar.locale.help.0":"找不到你的語言?","navbar.locale.help.1":"點擊此處協助翻譯!","home.quick.access":"快速入門","home.dependencies":"依賴配置","home.mappings":"搜尋","dependencies.loader":"模組載入器","dependencies.build.system":"建構系統","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.version":"版本","dependencies.version.snapshots":"啟用快照版","dependencies.maven.repo":"Maven 檔案庫","dependencies.toc":"目錄","generator.template.base.title":"模板","generator.template.base.description":`首先選擇一個模板。這將決定您的專案所支援的*模組載入器*,*構建系統*以及可用的*程式庫*。 +https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config.description.fabric":"这在 Fabric 中并非如此。许多事件和钩子在 Fabric 上并不可用,大多数情况下您需要自己进行钩接。","generator.dependencies.title":"依赖","mappings.namespace":"命名空间","mappings.namespace.show.more":"展开...","mappings.namespace.show.less":"收起...","mappings.version":"版本","mappings.version.snapshots":"显示快照版本:","mappings.version.no.translation":"{version}(无映射转换)","mappings.translation":"映射转换","mappings.translation.none":"不转换","mappings.translation.another.namespace":"转换至另一命名空间","mappings.translation.another.version":"转换至另一版本","mappings.translation.n/a":"N/a","mappings.search.type":"搜索类型:","mappings.search.type.classes":"类","mappings.search.type.methods":"方法","mappings.search.type.fields":"字段","mappings.searching":"搜索结果","mappings.searching.subtitle":"手气不错?","mappings.searching.none":"暂无结果","mappings.searching.none.try":"试试搜索什么?","mappings.searching.none.mistake":"你的搜索词是否正确?","mappings.entry.type.class":"类","mappings.entry.type.method":"方法","mappings.entry.type.field":"字段","mappings.entry.type":"类型:","mappings.entry.mixin.target":"Mixin 目标:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","loader.fabric":"Fabric","loader.forge":"Forge","loader.quilt":"Quilt","loader.legacy-fabric":"Legacy Fabric","message.copy.clipboard":"已复制到剪贴板"},mw={"navbar./":"Linkie","navbar./dependencies":"Зависимости","navbar./generator":"Генератор","navbar./mappings":"Отображения","navbar./desktop":"Рабочий стол","navbar.locale.help.0":"Не нашли ваш язык?","navbar.locale.help.1":"Помогите добавить его!","home.welcome":"Добро пожаловать в Linkie","home.quick.access":"Быстрый доступ","home.dependencies":"Зависимости","home.mappings":"Отображения","dependencies.loader":"Загрузчик","dependencies.build.system":"Система сборки","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.build.system.neo.gradle":"NeoGradle","dependencies.version":"Версия","dependencies.version.snapshots":"Включить снэпшоты","dependencies.maven.repo":"Maven Репозиторий","dependencies.toc":"Содержание","generator.template.base.title":"Базовый шаблон","generator.template.base.description":`Выберите базовый шаблон для начала. Это определяет *загрузчик модов*, который будет использовать ваш проект и поддерживать, а также *систему сборки* и доступные *библиотеки*. +Пожалуйста, тщательно обдумайте свой выбор, так как изменение базового шаблона позже будет очень трудоемким.`,"generator.template.base.details.ide":"Поддержка IDE","generator.template.base.details.features":"Функции","generator.versions.title":"Версии","generator.versions.description":"Давайте выберем версию Minecraft, на которую будем ориентироваться!","generator.versions.version":"Версия Minecraft","generator.mod.loaders.title":"Загрузчики модов","generator.build.system.title":"Система сборки","generator.build.system.description.forge":`Выберите свою систему сборки. +*ForgeGradle* — официальная система сборки для модов Forge, в то время как *Architectury Loom* является неофициальной альтернативой, поддерживающей альтернативные отображения, такие как Yarn и Quilt Mappings на Forge. + +Если вы не уверены, что выбрать, используйте *ForgeGradle*.`,"generator.build.system.description.mappings":`Теперь выберите предпочитаемые отображения. +*Официальные отображения Mojang* — это официальные отображения для Minecraft, а *Yarn* — это неофициальная свободная альтернатива от FabricMC, которая используется сообществом Fabric.`,"generator.build.system.description.mappings.parchment":`Так как официальные отображения Mojang не предоставляют имен параметров, был создан проект сообщества под названием *Parchment*, чтобы их предоставить. +Вы можете выбрать использование Parchment для предоставления имен параметров или нет.`,"generator.build.system.description.mappings.parchment.toggle":"Включить поддержку Parchment","generator.build.system.description.env.split":"Распространенной причиной сбоев серверов является вызов клиентского кода на сервере. Эта опция настраивает ваш мод на создание из двух наборов исходников: *клиент* и *основной*. Это обеспечивает четкое разделение клиентского и серверного кода.","generator.build.system.description.gradle.language":`Затем выберите предпочитаемый язык сценариев для ваших сборок. +Если вы не уверены, что выбрать, используйте *Groovy*, так как это самый часто используемый язык для Gradle.`,"generator.mod.config.title":"Конфигурация мода","generator.mod.config.description":`Убедитесь, что ваш мод действительно уникален! +Пожалуйста, заполните следующую информацию о вашем моде:`,"generator.mod.config.mod.name":"Имя мода","generator.mod.config.mod.description":"Описание мода","generator.mod.config.mod.license":"Лицензия мода","generator.mod.config.mod.main.class":"Имя основного класса","generator.mod.config.mod.client.class":"Имя клиентского класса","generator.mod.config.mod.id":"ID мода","generator.mod.config.mod.version":"Версия","generator.mod.config.mod.package":"Пакет","generator.mod.config.mod.authors":"Авторы","generator.mixins.config.title":"Конфигурация Миксинов","generator.mixins.config.description.1":"Миксины — это система модификации основной игры, доступная как в Forge, так и в Fabric. Моддерам Forge это может быть менее знакомо, так как Forge обычно предоставляет все, что нужно.","generator.mixins.config.description.2":`Введение в Миксины на Wiki Fabric — отличный ресурс для начала. Однако *вам могут не понадобиться Миксины*, если ваш мод — это что-то простое, например, добавление нескольких блоков и предметов, API предоставляет все необходимое для этого. + +https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config.description.fabric":"Это не так в случае с Fabric. Большое количество событий и хуков недоступно в Fabric, и большинство из них вам придется подключать самостоятельно.","generator.dependencies.title":"Зависимости","mappings.mode":"Режим","mappings.mode.mappings":"Отображения","mappings.mode.stacktrace":"Стек трассировки","mappings.namespace":"Пространство имен","mappings.namespace.show.more":"Показать больше...","mappings.namespace.show.less":"Скрыть...","mappings.version":"Версия","mappings.version.snapshots":"Включить снэпшоты:","mappings.version.no.translation":"{version} (без перевода)","mappings.translation":"Перевод","mappings.translation.none":"Без перевода","mappings.translation.another.namespace":"Перевести в другое пространство имен","mappings.translation.another.version":"Перевести в другую версию","mappings.translation.n/a":"Н/д","mappings.search.type":"Тип поиска:","mappings.search.type.classes":"Классы","mappings.search.type.methods":"Методы","mappings.search.type.fields":"Поля","mappings.searching":"Поиск результатов","mappings.searching.subtitle":"Чувствуете удачу?","mappings.searching.none":"Нет результатов","mappings.searching.none.try":"Попробуйте что-то поискать?","mappings.searching.none.mistake":"Допустили ошибку в поиске?","mappings.entry.type.class":"Класс","mappings.entry.type.method":"Метод","mappings.entry.type.field":"Поле","mappings.entry.type":"Тип:","mappings.entry.mixin.target":"Цель Миксина:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","mappings.entry.view.sources":"Посмотреть источники","namespace.yarn":"Yarn","namespace.mojang_raw":"Mojang","namespace.mojang":"Mojang (через Intermediary)","namespace.mojang_srg":"Mojang (через SRG)","namespace.mojang_hashed":"Mojang (через Hashed)","namespace.mcp":"Старый MCP (<=1.16.5)","namespace.quilt-mappings":"Quilt Отображения","namespace.legacy-yarn":"Устаревший Yarn","namespace.feather":"Feather","namespace.barn":"Barn","namespace.yarrn":"Yarrn","namespace.plasma":"Plasma","loader.fabric":"Fabric","loader.forge":"Forge","loader.neoforge":"NeoForge","loader.quilt":"Quilt","loader.legacy-fabric":"Устаревший Fabric","message.copy.clipboard":"Скопировано в буфер обмена"},hw={"navbar./dependencies":"配置","navbar./generator":"創建專案","navbar./mappings":"搜尋","home.welcome":"歡迎使用 Linkie","navbar.locale.help.0":"找不到你的語言?","navbar.locale.help.1":"點擊此處協助翻譯!","home.quick.access":"快速入門","home.dependencies":"依賴配置","home.mappings":"搜尋","dependencies.loader":"模組載入器","dependencies.build.system":"建構系統","dependencies.build.system.architectury.loom":"Architectury Loom","dependencies.build.system.forge.gradle":"ForgeGradle","dependencies.version":"版本","dependencies.version.snapshots":"啟用快照版","dependencies.maven.repo":"Maven 檔案庫","dependencies.toc":"目錄","generator.template.base.title":"模板","generator.template.base.description":`首先選擇一個模板。這將決定您的專案所支援的*模組載入器*,*構建系統*以及可用的*程式庫*。 更改模板的過程十分繁瑣,請謹慎考慮您的選擇。`,"generator.template.base.details.ide":"整合開發環境選項","generator.template.base.details.features":"特點介紹","generator.mod.loaders.title":"模組載入器","generator.build.system.title":"建構系統","generator.build.system.description.forge":`選擇一個建構系統。 *ForgeGradle* 是 Forge 的官方提供的系統,而 *Architectury Loom* 是非官方的替代方案,支持在 Forge 中使用各種第三方的反混淆方案,例如 Yarn 或 Quilt Mappings。 @@ -74,14 +84,14 @@ https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config. *Official Mojang Mappings* 是 Minecraft 官方的混淆映射表,而 *Yarn* 是 FabricMC 自由及開放的第三方替代方案,由 Fabric 社群共同參與、開發及維持。`,"generator.build.system.description.mappings.parchment":`由於官方的混淆映射表不提供參數名稱,由此各方社群合作創建了 *Parchment* ,以提供參數名稱專用的混淆映射表。 您可以自行選擇是否加入 Parchment 。`,"generator.build.system.description.mappings.parchment.toggle":"Enable Parchment Support","generator.build.system.description.env.split":"在模組中調用客戶端代碼,如果沒有有效地隔離代碼,很容易使伺服器崩潰。從分隔*client* 和 *main*,兩個不同的源集構建,將明確分離客戶端和伺服端的代碼。","generator.build.system.description.gradle.language":`現在,請選擇建構系統的建構語言。 如果您不確定選擇哪個,請選擇 *Groovy*,它是 Gradle 最常用的語言。`,"generator.mod.config.title":"模組配置","generator.mod.config.description":`讓我們確保您的模組真正獨一無二! -請填寫以下信息:`,"generator.mod.config.mod.name":"模組名稱","generator.mod.config.mod.description":"模組描述","generator.mod.config.mod.license":"模組許可","generator.mod.config.mod.main.class":"主要接口名稱","generator.mod.config.mod.client.class":"客戶端接口名稱","generator.mod.config.mod.id":"模組 ID","generator.mod.config.mod.version":"模組版本","generator.mod.config.mod.package":"模組包","generator.mod.config.mod.authors":"模組作者","generator.mixins.config.title":"Mixins 配置","generator.dependencies.title":"依賴","mappings.namespace":"反混淆方案","mappings.namespace.show.more":"顯示更多...","mappings.namespace.show.less":"顯示較少...","mappings.version":"版本","mappings.version.no.translation":"{version} (沒有翻譯)","mappings.version.snapshots":"啟用快照版:","mappings.translation":"翻譯","mappings.translation.none":"禁用翻譯","mappings.translation.another.namespace":"翻譯至另一方案","mappings.translation.another.version":"翻譯至另一版本","mappings.translation.n/a":"N/a","mappings.search.type":"搜尋類型:","mappings.search.type.classes":"類型","mappings.search.type.methods":"方法","mappings.search.type.fields":"屬性","mappings.searching":"正在搜尋結果","mappings.searching.subtitle":"好手氣?","mappings.searching.none":"沒有結果","mappings.searching.none.try":"試試搜尋什麽?","mappings.searching.none.mistake":"你的搜尋詞是否正確?","mappings.entry.type.class":"類型","mappings.entry.type.method":"方法","mappings.entry.type.field":"屬性","mappings.entry.type":"類型:","mappings.entry.mixin.target":"Mixin 目標:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","message.copy.clipboard":"已複製到剪貼板"};function Ls(e){si().addAlert(e)}function mw(){return{loader:void 0,version:void 0,allowSnapshots:!1,forgeGradle:!1,neoGradle:!1}}const yt=tn({id:"dependency_search",state:mw,persist:!0});function hw(){let{loader:e,allowSnapshots:t}=yt(),{searchData:n}=ln();if(!e)return[];let s=n.versions[e]??[];return s&&!t&&(s=s.filter(r=>r.stable)),s.map(r=>r.version)}function gw(){return{reqVersionsPromise:void 0,searchData:{versions:{}},hasFirstLoaded:!1}}const ln=tn({id:"dependencies-data",state:gw});function yo(e,t=null){let n=ln();(t||Object.keys(n.searchData.versions).length==0&&!n.reqVersionsPromise)&&(n.reqVersionsPromise=Sy().then(s=>{n.searchData.versions=s.data,ys(e,t)}).catch(s=>{Ls({type:"error",message:`Failed to fetch versions: ${s.message}`})}).finally(()=>{n.reqVersionsPromise=void 0}))}function ys(e,t=null){var i;let n=ln();if(t){let{searchData:l}=ln();Object.keys(l.versions).includes(st(t,"loader")??"")&&(yt().loader=st(t,"loader")??"",yt().version=void 0),hw().includes(st(t,"version")??"")&&(yt().version=st(t,"version")??""),ln().hasFirstLoaded=!0}let{loader:s,version:r,allowSnapshots:o}=yt();s||(s=Object.keys(n.searchData.versions)[0],yt().loader=s);let a=n.searchData.versions[s];a&&(o||(a=a.filter(l=>l.stable)),(!r||!a.find(l=>l.version===r))&&(r=(i=a.find(l=>l.stable))==null?void 0:i.version,yt().version=r)),ln().hasFirstLoaded&&e&&bw(e)}function bw(e){let{loader:t,version:n}=yt(),s=new URL(e);s.searchParams.set("loader",t??""),s.searchParams.set("version",n??""),window.history.replaceState({},"",s.toString())}const _w={class:"flex gap-x-4 gap-y-3 flex-wrap"},vw=me({__name:"HomeDependencies",setup(e){const{searchData:t}=xt(ln()),n=ts(),s=je(()=>{let o=t.value.versions,a=Object.keys(o).map(i=>o[i].filter(l=>l.stable).map(l=>[i,l.version])).flat();return a=a.map(i=>[i[0]=="fabric"?"Fabric":i[0]=="neoforge"?"NeoForge":"Forge",i[1]]),a.sort((i,l)=>{let c=l[1],u=i[1];if(c===u)return 0;let d=c.split("."),h=u.split(".");for(let k=0;k{yo(rt(n)),ys(rt(n))}),(o,a)=>{const i=ye("router-link");return A(),I("div",_w,[(A(!0),I(pe,null,Ce(s.value.slice(0,16),l=>(A(),fe(i,{class:"px-4 py-2 cursor-pointer border-2 border-base-content dark:border-base-dark-content font-medium rounded-xl whitespace-nowrap hover:scale-110 transition-all",to:r(l[0],l[1])},{default:R(()=>[K(D(l[0])+" "+D(l[1]),1)]),_:2},1032,["to"]))),256))])}}});function yw(){return{namespace:void 0,version:void 0,allowSnapshots:!1,allowClasses:!0,allowFields:!0,allowMethods:!0,searchText:"",mode:void 0,translateMode:void 0,translateAs:void 0,translateAsVersion:void 0}}const Te=tn({id:"mappings",state:yw,persist:!0});function ii(){var a;let{namespace:e,allowSnapshots:t,translateAs:n}=Te(),{mappingsData:s}=wt();if(!e)return[];let r=s.namespaces.find(i=>i.id===e);if(!r)return[];let o=r.versions;if(o&&!t&&(o=o.filter(i=>i.stable)),o&&n){let i=s.namespaces.find(c=>c.id===n),l=((a=i==null?void 0:i.versions)==null?void 0:a.map(c=>c.version))??[];return o.map(c=>({version:c.version,hasTranslation:l.includes(c.version)}))}else return o.map(i=>({version:i.version,hasTranslation:!0}))}function ww(){return{mappingsData:{namespaces:[],entries:[]},infoData:{entries:[],fuzzy:!1},reqNamespacesPromise:void 0,searchController:void 0,hasFirstLoaded:!1}}const wt=tn({id:"mappings-data",state:ww});function li(e,t=null){let n=wt();(t||Object.keys(n.mappingsData.namespaces).length==0&&!n.reqNamespacesPromise)&&(n.reqNamespacesPromise=Cy().then(s=>{wt().mappingsData.namespaces=s.data,nr(e,t)}).catch(s=>{Ls({type:"error",message:`Failed to fetch namespaces: ${s.message}`})}).finally(()=>{wt().reqNamespacesPromise=void 0}))}function nr(e,t=null){var u,d,h;let n=wt();t&&(n.mappingsData.namespaces.map(k=>k.id).includes(st(t,"namespace")??"")&&(Te().namespace=st(t,"namespace")??"",Te().translateMode=void 0,Te().translateAs=void 0,Te().translateAsVersion=void 0,Te().version=void 0),st(t,"translateMode")&&(Te().translateMode=st(t,"translateMode")??"",Te().translateMode!==void 0&&Te().translateMode in["ns","ver"]&&(Te().translateMode=void 0,Te().translateAs=void 0,Te().translateAsVersion=void 0)),Te().translateMode==="ns"&&n.mappingsData.namespaces.map(k=>k.id).includes(st(t,"translateAs")??"")&&Te().namespace&&Te().namespace!==st(t,"translateAs")&&(Te().translateAs=st(t,"translateAs")??""),ii().map(k=>k.version).includes(st(t,"version")??"")&&(Te().version=st(t,"version")??""),Te().translateMode==="ver"&&ii().map(k=>k.version).includes(st(t,"translateAsVersion")??"")&&(Te().translateAsVersion=st(t,"translateAsVersion")??""),Rr(t,"search")&&(Te().searchText=st(t,"search")??""),Rr(t,"allowClasses")&&(Te().allowClasses=st(t,"allowClasses")==="true"),Rr(t,"allowMethods")&&(Te().allowMethods=st(t,"allowMethods")==="true"),Rr(t,"allowFields")&&(Te().allowFields=st(t,"allowFields")==="true"),wt().hasFirstLoaded=!0);let{namespace:s,version:r,allowSnapshots:o,translateAs:a,translateAsVersion:i}=Te();s||(s=(u=n.mappingsData.namespaces[0])==null?void 0:u.id,Te().namespace=s);let l=n.mappingsData.namespaces.find(k=>k.id===s),c=l==null?void 0:l.versions;if(c){if(o||(c=c.filter(k=>k.stable)),a){let k=n.mappingsData.namespaces.find(_=>_.id===a),g=((d=k==null?void 0:k.versions)==null?void 0:d.map(_=>_.version))??[];c=c.filter(_=>g.includes(_.version))}(!r||!c.find(k=>k.version===r))&&(r=(h=c.find(k=>!0))==null?void 0:h.version,Te().version=r),c.find(k=>k.version===i)||(Te().translateAsVersion=void 0)}wt().hasFirstLoaded&&e&&lp(e)}function ga(e){let t=wt(),{namespace:n,version:s,searchText:r,allowClasses:o,allowFields:a,allowMethods:i,translateMode:l,translateAs:c,translateAsVersion:u}=Te();n&&s&&r&&(o||i||a)?(t.infoData.namespace!==n||t.infoData.version!==s||t.infoData.query!==r||t.infoData.allowClasses!==o||t.infoData.allowFields!==a||t.infoData.allowMethods!==i||t.infoData.translateAs!==c||t.infoData.translateAsVersion!==u)&&(t.searchController&&t.searchController.abort(),t.searchController=new AbortController,xy(n,s,r,o,a,i,l,l==="ns"?c:l==="ver"?u:void 0,t.searchController).then(d=>{if(d.data.error){d.data.error!=="No results found!"&&Ls({type:"error",message:`Failed to search: ${d.data.error}`}),t.infoData.entries=[],t.infoData.fuzzy=!1;return}t.infoData.fuzzy=d.data.fuzzy,t.infoData.entries=d.data.entries.map(ip),wt().hasFirstLoaded&&e&&lp(e)}).catch(d=>{Qe.isCancel(d)||(Ls({type:"error",message:`Failed to search: ${d.message}`}),t.infoData.entries=[],t.infoData.fuzzy=!1)}).finally(()=>{t.searchController=void 0})):(t.infoData.entries=[],t.infoData.fuzzy=!1),kw()}function kw(){let e=wt(),{namespace:t,version:n,searchText:s,allowClasses:r,allowFields:o,allowMethods:a,translateAs:i,translateAsVersion:l}=Te();e.infoData.namespace=t,e.infoData.version=n,e.infoData.query=s,e.infoData.allowClasses=r,e.infoData.allowMethods=a,e.infoData.allowFields=o,e.infoData.translateAs=i,e.infoData.translateAsVersion=l}function ip(e){let t;e.t==="c"?t="class":e.t==="f"?t="field":e.t==="m"?t="method":t=e.t;let n;return e.l?n=ip(e.l):n=void 0,{obf:e.o,intermediary:e.i,named:e.n,descObf:e.d,descIntermediary:e.e,descNamed:e.f,ownerObf:e.a,ownerIntermediary:e.b,ownerNamed:e.c,ownerObfClient:e.g,obfClient:e.h,descObfClient:e.j,ownerObfServer:e.k,obfServer:e.s,descObfServer:e.m,args:e.p,argsGuessed:e.q,argsParchment:e.r,type:t,translatedTo:n}}function lp(e){let{namespace:t,version:n,searchText:s,allowClasses:r,allowFields:o,allowMethods:a,translateMode:i,translateAs:l,translateAsVersion:c}=Te(),u=new URL(e);u.searchParams.set("namespace",t??""),u.searchParams.set("version",n??""),u.searchParams.set("search",s??""),r?u.searchParams.delete("allowClasses"):u.searchParams.set("allowClasses","false"),o?u.searchParams.delete("allowFields"):u.searchParams.set("allowFields","false"),a?u.searchParams.delete("allowMethods"):u.searchParams.set("allowMethods","false"),u.searchParams.set("translateMode",i??"none"),l?u.searchParams.set("translateAs",l):u.searchParams.delete("translateAs"),c?u.searchParams.set("translateAsVersion",c):u.searchParams.delete("translateAsVersion"),window.history.replaceState({},"",u.toString())}const Ew={class:"flex flex-col gap-4"},$w={class:"font-bold text-xl mb-2"},Sw={class:"flex gap-x-4 gap-y-3 flex-wrap"},Cw=me({__name:"HomeMappings",setup(e){const{mappingsData:t}=xt(wt()),n=ts(),s=je(()=>t.value.namespaces.filter(a=>["yarn","mojang","mojang_srg"].includes(a.id)).map(a=>{let i=a.versions.filter(l=>l.stable).map(l=>[a.id,l.version]);return i.sort((l,c)=>{let u=c[1],d=l[1];if(u===d)return 0;let h=u.split("."),k=d.split(".");for(let g=0;g{yo(rt(n)),ys(rt(n))}),(o,a)=>{const i=ye("router-link");return A(),I("div",Ew,[(A(!0),I(pe,null,Ce(s.value,l=>(A(),I("div",null,[m("div",$w,D(X(vo)[l[0][0]]??l[0][0]),1),m("div",Sw,[(A(!0),I(pe,null,Ce(l.slice(0,16),c=>(A(),fe(i,{class:"px-4 py-2 cursor-pointer border-2 border-base-content dark:border-base-dark-content font-medium rounded-xl whitespace-nowrap hover:scale-110 transition-all",to:r(c[0],c[1])},{default:R(()=>[K(D(c[1]),1)]),_:2},1032,["to"]))),256))])]))),256))])}}}),xw=me({name:"Header"}),Aw={class:"pb-2 text-base-content dark:text-base-dark-content font-bold text-3xl"},Tw=m("div",{class:"divider mt-0 mb-0"},null,-1);function Lw(e,t,n,s,r,o){return A(),I(pe,null,[m("div",Aw,[Ze(e.$slots,"default")]),Tw],64)}const cp=Ae(xw,[["render",Lw]]),Ow={},Iw={class:"text-lg font-bold"};function Nw(e,t){return A(),I("div",Iw,[Ze(e.$slots,"default")])}const Ct=Ae(Ow,[["render",Nw]]),Mw={},Pw={class:"flex-1 min-w-0"};function Rw(e,t){return A(),I("div",Pw,[Ze(e.$slots,"default")])}const Os=Ae(Mw,[["render",Rw]]),Dw={},Fw={class:"max-w-[80rem] mx-auto w-full px-5 flex gap-5 flex-col sm:flex-row"};function jw(e,t){return A(),I("div",Fw,[Ze(e.$slots,"default")])}const Ms=Ae(Dw,[["render",jw]]),Uw=me({name:"GeneratorDescription",render(){let e=this.$slots.default().map(r=>r.type==="br"?` +請填寫以下信息:`,"generator.mod.config.mod.name":"模組名稱","generator.mod.config.mod.description":"模組描述","generator.mod.config.mod.license":"模組許可","generator.mod.config.mod.main.class":"主要接口名稱","generator.mod.config.mod.client.class":"客戶端接口名稱","generator.mod.config.mod.id":"模組 ID","generator.mod.config.mod.version":"模組版本","generator.mod.config.mod.package":"模組包","generator.mod.config.mod.authors":"模組作者","generator.mixins.config.title":"Mixins 配置","generator.dependencies.title":"依賴","mappings.namespace":"反混淆方案","mappings.namespace.show.more":"顯示更多...","mappings.namespace.show.less":"顯示較少...","mappings.version":"版本","mappings.version.no.translation":"{version} (沒有翻譯)","mappings.version.snapshots":"啟用快照版:","mappings.translation":"翻譯","mappings.translation.none":"禁用翻譯","mappings.translation.another.namespace":"翻譯至另一方案","mappings.translation.another.version":"翻譯至另一版本","mappings.translation.n/a":"N/a","mappings.search.type":"搜尋類型:","mappings.search.type.classes":"類型","mappings.search.type.methods":"方法","mappings.search.type.fields":"屬性","mappings.searching":"正在搜尋結果","mappings.searching.subtitle":"好手氣?","mappings.searching.none":"沒有結果","mappings.searching.none.try":"試試搜尋什麽?","mappings.searching.none.mistake":"你的搜尋詞是否正確?","mappings.entry.type.class":"類型","mappings.entry.type.method":"方法","mappings.entry.type.field":"屬性","mappings.entry.type":"類型:","mappings.entry.mixin.target":"Mixin 目標:","mappings.entry.at":"AT:","mappings.entry.aw":"AW:","message.copy.clipboard":"已複製到剪貼板"};function Ls(e){si().addAlert(e)}function gw(){return{loader:void 0,version:void 0,allowSnapshots:!1,forgeGradle:!1,neoGradle:!1}}const yt=tn({id:"dependency_search",state:gw,persist:!0});function bw(){let{loader:e,allowSnapshots:t}=yt(),{searchData:n}=ln();if(!e)return[];let s=n.versions[e]??[];return s&&!t&&(s=s.filter(r=>r.stable)),s.map(r=>r.version)}function _w(){return{reqVersionsPromise:void 0,searchData:{versions:{}},hasFirstLoaded:!1}}const ln=tn({id:"dependencies-data",state:_w});function va(e,t=null){let n=ln();(t||Object.keys(n.searchData.versions).length==0&&!n.reqVersionsPromise)&&(n.reqVersionsPromise=Cy().then(s=>{n.searchData.versions=s.data,ys(e,t)}).catch(s=>{Ls({type:"error",message:`Failed to fetch versions: ${s.message}`})}).finally(()=>{n.reqVersionsPromise=void 0}))}function ys(e,t=null){var i;let n=ln();if(t){let{searchData:l}=ln();Object.keys(l.versions).includes(st(t,"loader")??"")&&(yt().loader=st(t,"loader")??"",yt().version=void 0),bw().includes(st(t,"version")??"")&&(yt().version=st(t,"version")??""),ln().hasFirstLoaded=!0}let{loader:s,version:r,allowSnapshots:a}=yt();s||(s=Object.keys(n.searchData.versions)[0],yt().loader=s);let o=n.searchData.versions[s];o&&(a||(o=o.filter(l=>l.stable)),(!r||!o.find(l=>l.version===r))&&(r=(i=o.find(l=>l.stable))==null?void 0:i.version,yt().version=r)),ln().hasFirstLoaded&&e&&vw(e)}function vw(e){let{loader:t,version:n}=yt(),s=new URL(e);s.searchParams.set("loader",t??""),s.searchParams.set("version",n??""),window.history.replaceState({},"",s.toString())}const yw={class:"flex gap-x-4 gap-y-3 flex-wrap"},ww=me({__name:"HomeDependencies",setup(e){const{searchData:t}=xt(ln()),n=ts(),s=je(()=>{let a=t.value.versions,o=Object.keys(a).map(i=>a[i].filter(l=>l.stable).map(l=>[i,l.version])).flat();return o=o.map(i=>[i[0]=="fabric"?"Fabric":i[0]=="neoforge"?"NeoForge":"Forge",i[1]]),o.sort((i,l)=>{let c=l[1],u=i[1];if(c===u)return 0;let d=c.split("."),h=u.split(".");for(let k=0;k{va(rt(n)),ys(rt(n))}),(a,o)=>{const i=ye("router-link");return A(),I("div",yw,[(A(!0),I(pe,null,Ce(s.value.slice(0,16),l=>(A(),fe(i,{class:"px-4 py-2 cursor-pointer border-2 border-base-content dark:border-base-dark-content font-medium rounded-xl whitespace-nowrap hover:scale-110 transition-all",to:r(l[0],l[1])},{default:R(()=>[K(F(l[0])+" "+F(l[1]),1)]),_:2},1032,["to"]))),256))])}}});function kw(){return{namespace:void 0,version:void 0,allowSnapshots:!1,allowClasses:!0,allowFields:!0,allowMethods:!0,searchText:"",mode:void 0,translateMode:void 0,translateAs:void 0,translateAsVersion:void 0}}const Te=tn({id:"mappings",state:kw,persist:!0});function ii(){var o;let{namespace:e,allowSnapshots:t,translateAs:n}=Te(),{mappingsData:s}=wt();if(!e)return[];let r=s.namespaces.find(i=>i.id===e);if(!r)return[];let a=r.versions;if(a&&!t&&(a=a.filter(i=>i.stable)),a&&n){let i=s.namespaces.find(c=>c.id===n),l=((o=i==null?void 0:i.versions)==null?void 0:o.map(c=>c.version))??[];return a.map(c=>({version:c.version,hasTranslation:l.includes(c.version)}))}else return a.map(i=>({version:i.version,hasTranslation:!0}))}function Ew(){return{mappingsData:{namespaces:[],entries:[]},infoData:{entries:[],fuzzy:!1},reqNamespacesPromise:void 0,searchController:void 0,hasFirstLoaded:!1}}const wt=tn({id:"mappings-data",state:Ew});function li(e,t=null){let n=wt();(t||Object.keys(n.mappingsData.namespaces).length==0&&!n.reqNamespacesPromise)&&(n.reqNamespacesPromise=xy().then(s=>{wt().mappingsData.namespaces=s.data,nr(e,t)}).catch(s=>{Ls({type:"error",message:`Failed to fetch namespaces: ${s.message}`})}).finally(()=>{wt().reqNamespacesPromise=void 0}))}function nr(e,t=null){var u,d,h;let n=wt();t&&(n.mappingsData.namespaces.map(k=>k.id).includes(st(t,"namespace")??"")&&(Te().namespace=st(t,"namespace")??"",Te().translateMode=void 0,Te().translateAs=void 0,Te().translateAsVersion=void 0,Te().version=void 0),st(t,"translateMode")&&(Te().translateMode=st(t,"translateMode")??"",Te().translateMode!==void 0&&Te().translateMode in["ns","ver"]&&(Te().translateMode=void 0,Te().translateAs=void 0,Te().translateAsVersion=void 0)),Te().translateMode==="ns"&&n.mappingsData.namespaces.map(k=>k.id).includes(st(t,"translateAs")??"")&&Te().namespace&&Te().namespace!==st(t,"translateAs")&&(Te().translateAs=st(t,"translateAs")??""),ii().map(k=>k.version).includes(st(t,"version")??"")&&(Te().version=st(t,"version")??""),Te().translateMode==="ver"&&ii().map(k=>k.version).includes(st(t,"translateAsVersion")??"")&&(Te().translateAsVersion=st(t,"translateAsVersion")??""),Rr(t,"search")&&(Te().searchText=st(t,"search")??""),Rr(t,"allowClasses")&&(Te().allowClasses=st(t,"allowClasses")==="true"),Rr(t,"allowMethods")&&(Te().allowMethods=st(t,"allowMethods")==="true"),Rr(t,"allowFields")&&(Te().allowFields=st(t,"allowFields")==="true"),wt().hasFirstLoaded=!0);let{namespace:s,version:r,allowSnapshots:a,translateAs:o,translateAsVersion:i}=Te();s||(s=(u=n.mappingsData.namespaces[0])==null?void 0:u.id,Te().namespace=s);let l=n.mappingsData.namespaces.find(k=>k.id===s),c=l==null?void 0:l.versions;if(c){if(a||(c=c.filter(k=>k.stable)),o){let k=n.mappingsData.namespaces.find(_=>_.id===o),g=((d=k==null?void 0:k.versions)==null?void 0:d.map(_=>_.version))??[];c=c.filter(_=>g.includes(_.version))}(!r||!c.find(k=>k.version===r))&&(r=(h=c.find(k=>!0))==null?void 0:h.version,Te().version=r),c.find(k=>k.version===i)||(Te().translateAsVersion=void 0)}wt().hasFirstLoaded&&e&&lp(e)}function go(e){let t=wt(),{namespace:n,version:s,searchText:r,allowClasses:a,allowFields:o,allowMethods:i,translateMode:l,translateAs:c,translateAsVersion:u}=Te();n&&s&&r&&(a||i||o)?(t.infoData.namespace!==n||t.infoData.version!==s||t.infoData.query!==r||t.infoData.allowClasses!==a||t.infoData.allowFields!==o||t.infoData.allowMethods!==i||t.infoData.translateAs!==c||t.infoData.translateAsVersion!==u)&&(t.searchController&&t.searchController.abort(),t.searchController=new AbortController,Ay(n,s,r,a,o,i,l,l==="ns"?c:l==="ver"?u:void 0,t.searchController).then(d=>{if(d.data.error){d.data.error!=="No results found!"&&Ls({type:"error",message:`Failed to search: ${d.data.error}`}),t.infoData.entries=[],t.infoData.fuzzy=!1;return}t.infoData.fuzzy=d.data.fuzzy,t.infoData.entries=d.data.entries.map(ip),wt().hasFirstLoaded&&e&&lp(e)}).catch(d=>{Qe.isCancel(d)||(Ls({type:"error",message:`Failed to search: ${d.message}`}),t.infoData.entries=[],t.infoData.fuzzy=!1)}).finally(()=>{t.searchController=void 0})):(t.infoData.entries=[],t.infoData.fuzzy=!1),$w()}function $w(){let e=wt(),{namespace:t,version:n,searchText:s,allowClasses:r,allowFields:a,allowMethods:o,translateAs:i,translateAsVersion:l}=Te();e.infoData.namespace=t,e.infoData.version=n,e.infoData.query=s,e.infoData.allowClasses=r,e.infoData.allowMethods=o,e.infoData.allowFields=a,e.infoData.translateAs=i,e.infoData.translateAsVersion=l}function ip(e){let t;e.t==="c"?t="class":e.t==="f"?t="field":e.t==="m"?t="method":t=e.t;let n;return e.l?n=ip(e.l):n=void 0,{obf:e.o,intermediary:e.i,named:e.n,descObf:e.d,descIntermediary:e.e,descNamed:e.f,ownerObf:e.a,ownerIntermediary:e.b,ownerNamed:e.c,ownerObfClient:e.g,obfClient:e.h,descObfClient:e.j,ownerObfServer:e.k,obfServer:e.s,descObfServer:e.m,args:e.p,argsGuessed:e.q,argsParchment:e.r,type:t,translatedTo:n}}function lp(e){let{namespace:t,version:n,searchText:s,allowClasses:r,allowFields:a,allowMethods:o,translateMode:i,translateAs:l,translateAsVersion:c}=Te(),u=new URL(e);u.searchParams.set("namespace",t??""),u.searchParams.set("version",n??""),u.searchParams.set("search",s??""),r?u.searchParams.delete("allowClasses"):u.searchParams.set("allowClasses","false"),a?u.searchParams.delete("allowFields"):u.searchParams.set("allowFields","false"),o?u.searchParams.delete("allowMethods"):u.searchParams.set("allowMethods","false"),u.searchParams.set("translateMode",i??"none"),l?u.searchParams.set("translateAs",l):u.searchParams.delete("translateAs"),c?u.searchParams.set("translateAsVersion",c):u.searchParams.delete("translateAsVersion"),window.history.replaceState({},"",u.toString())}const Sw={class:"flex flex-col gap-4"},Cw={class:"font-bold text-xl mb-2"},xw={class:"flex gap-x-4 gap-y-3 flex-wrap"},Aw=me({__name:"HomeMappings",setup(e){const{mappingsData:t}=xt(wt()),n=ts(),s=je(()=>t.value.namespaces.filter(o=>["yarn","mojang","mojang_srg"].includes(o.id)).map(o=>{let i=o.versions.filter(l=>l.stable).map(l=>[o.id,l.version]);return i.sort((l,c)=>{let u=c[1],d=l[1];if(u===d)return 0;let h=u.split("."),k=d.split(".");for(let g=0;g{va(rt(n)),ys(rt(n))}),(a,o)=>{const i=ye("router-link");return A(),I("div",Sw,[(A(!0),I(pe,null,Ce(s.value,l=>(A(),I("div",null,[m("div",Cw,F(X(_a)[l[0][0]]??l[0][0]),1),m("div",xw,[(A(!0),I(pe,null,Ce(l.slice(0,16),c=>(A(),fe(i,{class:"px-4 py-2 cursor-pointer border-2 border-base-content dark:border-base-dark-content font-medium rounded-xl whitespace-nowrap hover:scale-110 transition-all",to:r(c[0],c[1])},{default:R(()=>[K(F(c[1]),1)]),_:2},1032,["to"]))),256))])]))),256))])}}}),Tw=me({name:"Header"}),Lw={class:"pb-2 text-base-content dark:text-base-dark-content font-bold text-3xl"},Ow=m("div",{class:"divider mt-0 mb-0"},null,-1);function Iw(e,t,n,s,r,a){return A(),I(pe,null,[m("div",Lw,[Ze(e.$slots,"default")]),Ow],64)}const cp=Ae(Tw,[["render",Iw]]),Mw={},Nw={class:"text-lg font-bold"};function Pw(e,t){return A(),I("div",Nw,[Ze(e.$slots,"default")])}const Ct=Ae(Mw,[["render",Pw]]),Rw={},Fw={class:"flex-1 min-w-0"};function Dw(e,t){return A(),I("div",Fw,[Ze(e.$slots,"default")])}const Os=Ae(Rw,[["render",Dw]]),jw={},Uw={class:"max-w-[80rem] mx-auto w-full px-5 flex gap-5 flex-col sm:flex-row"};function Hw(e,t){return A(),I("div",Uw,[Ze(e.$slots,"default")])}const Ns=Ae(jw,[["render",Hw]]),Vw=me({name:"GeneratorDescription",render(){let e=this.$slots.default().map(r=>r.type==="br"?` `:(r.children??"undefined").toString()).join(" ").replace("
",` `).replace("
",` -`),t=[],n=!1,s="";for(let r=0;r0&&(n?t.push(Ve("span",{class:"bold"},s)):t.push(s)),Ve("span",t)}}),as=Ae(Uw,[["__scopeId","data-v-1d02b223"]]),Hw={class:"p-4 bg-base-400/50 dark:bg-base-dark-400/40 ring-base-500 dark:ring-base-dark-500 ring-offset-2 ring-2 rounded-lg flex flex-col"},Vw=m("span",{class:"text-2xl font-bold mb-2"}," News: Project Generator ",-1),Bw=m("br",null,null,-1),Gw=m("br",null,null,-1),Ww=m("br",null,null,-1),zw=m("br",null,null,-1),Kw=m("br",null,null,-1),qw=m("br",null,null,-1),up=me({__name:"NewsProjectGenerator",setup(e){return(t,n)=>(A(),I("div",Hw,[Vw,P(as,null,{default:R(()=>[K(" Linkie now has a project generator! "),Bw,K("It is tailored to be the best way to get started with Minecraft modding, with tons of different options, because everyone has different preferences. "),Gw,Ww,K("You can create projects with *Fabric*, *Forge*, or *Architectury*, at the moment, with more options coming soon. "),zw,K("You also get options for *Build Language* (Kotlin or Groovy), *Mixins*, *Build Plugins* (Loom or ForgeGradle), *Mappings* (Yarn or Official), Parchment, and more! "),Kw,qw,K("Try it out now! ⊂◉‿◉つ "+D(t.$route.path==="/"?"It is accessible on the navigation bar at the top of the page.":""),1)]),_:1})]))}}),tl=e=>(Rn("data-v-917e484d"),e=e(),Dn(),e),Jw={class:"flex flex-col"},Yw={id:"welcome-banner",class:"pt-40 pb-28 text-center text-6xl font-bold title-home text-white"},Xw=tl(()=>m("div",{class:"mb-8 p-4 bg-base-400/50 ring-base-500 ring-offset-2 ring-2 rounded-lg flex flex-col hidden"},[m("span",{class:"text-2xl font-bold mb-2"}," News: Linkie Windows Client "),m("div",null,[K(" There is a new desktop client available for download. It is still experimental, but it is already usable. "),m("br"),K("It is built with Tauri, a framework for building small web applications using existing platform libraries, and runs a JVM server in the background for Linkie. "),m("br"),m("br"),K("The total size of the client is about "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"50MB"),K(", which is a lot smaller than any Electron-based client. "),m("br"),K("At idle, the client uses about "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"600MB"),K(" of RAM, which is unfortunately due to the JVM. ")])],-1)),Qw=tl(()=>m("div",{class:"flex flex-col"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler flex-1",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("path",{d:"M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5"}),m("line",{x1:"10",y1:"14",x2:"20",y2:"4"}),m("polyline",{points:"15 4 20 4 20 9"})])],-1)),Zw=tl(()=>m("div",{class:"flex flex-col"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler flex-1",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("path",{d:"M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5"}),m("line",{x1:"10",y1:"14",x2:"20",y2:"4"}),m("polyline",{points:"15 4 20 4 20 9"})])],-1)),e2=me({__name:"Home",setup(e){return(t,n)=>{const s=ye("router-link");return A(),I("div",Jw,[m("h1",Yw,D(t.$t("home.welcome")),1),P(Ms,{class:"pt-8"},{default:R(()=>[P(Os,null,{default:R(()=>[P(up,{class:"mb-8 hidden"}),Xw,P(cp,null,{default:R(()=>[K(D(t.$t("home.quick.access")),1)]),_:1}),P(s,{class:"flex flex-nowrap gap-2 pb-2",to:"/dependencies"},{default:R(()=>[P(Ct,{class:"text-2xl"},{default:R(()=>[K(D(t.$t("home.dependencies")),1)]),_:1}),Qw]),_:1}),P(vw),P(s,{class:"flex flex-nowrap gap-2 pt-6 pb-2",to:"/mappings"},{default:R(()=>[P(Ct,{class:"text-2xl"},{default:R(()=>[K(D(t.$t("home.mappings")),1)]),_:1}),Zw]),_:1}),P(Cw)]),_:1})]),_:1})])}}}),t2=Ae(e2,[["__scopeId","data-v-917e484d"]]),n2=me({name:"DependencyFilterBlock",components:{SubHeader:Ct},computed:{...Et(yt,["loader","version","allowSnapshots","forgeGradle","neoGradle"]),loaders(){return Object.keys(this.searchData.versions)},applicableVersions(){let{loader:e,allowSnapshots:t}=yt();if(!e)return[];let n=this.searchData.versions[e]??[];return n&&!t&&(n=n.filter(s=>s.stable)),n.map(s=>s.version)}},props:{searchData:{type:Object,required:!0}}}),nl=e=>(Rn("data-v-7b67d591"),e=e(),Dn(),e),s2={class:"flex flex-col"},r2=["onClick"],o2=nl(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),a2=nl(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),i2=nl(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),l2={class:"flex gap-2 select-none justify-between pb-2"},c2={for:"allow-snapshots"},u2={class:"mx-[-.25rem] bg-base-l2 rounded-lg"},d2={class:"p-1 h-52 overflow-x-clip gradient-mask-b-80 overflow-y-scroll epic-scroller"},f2=["onClick"];function p2(e,t,n,s,r,o){const a=ye("SubHeader");return A(),I("div",s2,[P(a,{class:"mt-[-.25rem]"},{default:R(()=>[K(D(e.$t("dependencies.loader")),1)]),_:1}),(A(!0),I(pe,null,Ce(e.loaders,i=>(A(),I("div",{class:Ie([e.loader===i?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:l=>e.loader=i},D(e.$t("loader."+i)),11,r2))),256)),m("div",{class:Ie([e.loader==="forge"?"expanded":"","expand-height"])},[o2,P(a,null,{default:R(()=>[K(D(e.$t("dependencies.build.system")),1)]),_:1}),m("div",{class:Ie([e.forgeGradle?"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70":"font-medium","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[0]||(t[0]=i=>e.forgeGradle=!1)},D(e.$t("dependencies.build.system.architectury.loom")),3),m("div",{class:Ie([e.forgeGradle?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[1]||(t[1]=i=>e.forgeGradle=!0)},D(e.$t("dependencies.build.system.forge.gradle")),3)],2),m("div",{class:Ie([e.loader==="neoforge"?"expanded":"","expand-height"])},[a2,P(a,null,{default:R(()=>[K(D(e.$t("dependencies.build.system")),1)]),_:1}),m("div",{class:Ie([e.neoGradle?"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70":"font-medium","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[2]||(t[2]=i=>e.neoGradle=!1)},D(e.$t("dependencies.build.system.architectury.loom")),3),m("div",{class:Ie([e.neoGradle?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[3]||(t[3]=i=>e.neoGradle=!0)},D(e.$t("dependencies.build.system.neo.gradle")),3)],2),i2,P(a,{class:"pb-1"},{default:R(()=>[K(D(e.$t("dependencies.version")),1)]),_:1}),m("div",{class:Ie(["flex flex-col flex-nowrap justify-center h-full whitespace-nowrap",["expand-height",e.loader==="fabric"?"expanded":""]])},[m("div",l2,[m("label",c2,D(e.$t("dependencies.version.snapshots")),1),Lt(m("input",{type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=i=>e.allowSnapshots=i),id:"allow-snapshots","aria-label":"Enable Snapshots"},null,512),[[Es,e.allowSnapshots]])])],2),m("div",u2,[m("div",d2,[(A(!0),I(pe,null,Ce(e.applicableVersions,i=>(A(),I("p",{class:Ie([e.version===i?"font-medium":"font-normal opacity-80 decoration-base-500/60 hover:decoration-base-700/60 dark:decoration-base-dark-400/70 dark:hover:decoration-base-dark-600/60","underline underline-offset-2 decoration-2 transition-all bg-base-700 dark:hover:bg-base-dark-600 bg-opacity-0 hover:bg-opacity-60 px-2 py-1 rounded-md cursor-pointer"]),onClick:l=>e.version=i},D(i),11,f2))),256))])])])}const m2=Ae(n2,[["render",p2],["__scopeId","data-v-7b67d591"]]),h2=["groovy","kotlin"];function g2(){return{codeLanguage:"groovy"}}const sl=tn({id:"preference",state:g2,persist:!0}),b2=me({name:"CodeLanguageTab",computed:{...Et(sl,["codeLanguage"])},props:{language:{type:String,required:!0}}});function _2(e,t,n,s,r,o){return A(),I("button",{class:Ie(["h-8 text-sm leading-8 select-none pr-4 capitalize pl-2 transition-opacity",e.codeLanguage===e.language?"cursor-default":"cursor-pointer opacity-50 hover:opacity-100"]),onClick:t[0]||(t[0]=a=>e.codeLanguage=e.language)},D(e.language.toLowerCase()),3)}const v2=Ae(b2,[["render",_2]]),y2=me({name:"CodeBlock",components:{CodeLanguageTab:v2},data(){return{languages:h2}},props:{title:String}}),w2={key:0},k2={class:"rounded-lg bg-base-l2 p-3 text-sm mt-2 mb-1"},E2={class:"flex"},$2={class:"pl-2 pb-1 overflow-x-auto epic-scroller"},S2={class:"inline-block break-all whitespace-pre",id:"code-block"};function C2(e,t,n,s,r,o){const a=ye("CodeLanguageTab");return A(),I(pe,null,[e.title?(A(),I("p",w2,D(e.title),1)):de("",!0),m("div",k2,[m("div",E2,[(A(!0),I(pe,null,Ce(e.languages,i=>(A(),fe(a,{language:i},null,8,["language"]))),256))]),m("pre",$2,[m("code",S2,[Ze(e.$slots,"default")])])])],64)}const ci=Ae(y2,[["render",C2]]);function mu(e){let t=sl().codeLanguage;return t==="groovy"?`maven { url "${e}" }`:t==="kotlin"?`maven { url = uri("${e}") }`:e}function Ko(){let{loader:e,forgeGradle:t}=yt();return e==="forge"&&t}function qo(){let{loader:e,neoGradle:t}=yt();return e==="neoforge"&&t}function hu(e,t,n){let s=sl().codeLanguage;return n||(n='"%%"'),s==="groovy"?`${e} ${n.replace("%%",t)}`:s==="kotlin"?`${e}(${n.replace("%%",t)})`:t}function gt(e,t,n,s){return n?x2(hu(e,t,s)):hu(e,t,s)}function x2(e){return`dependencies { +`),t=[],n=!1,s="";for(let r=0;r0&&(n?t.push(Ve("span",{class:"bold"},s)):t.push(s)),Ve("span",t)}}),os=Ae(Vw,[["__scopeId","data-v-1d02b223"]]),Bw={class:"p-4 bg-base-400/50 dark:bg-base-dark-400/40 ring-base-500 dark:ring-base-dark-500 ring-offset-2 ring-2 rounded-lg flex flex-col"},Gw=m("span",{class:"text-2xl font-bold mb-2"}," News: Project Generator ",-1),Ww=m("br",null,null,-1),zw=m("br",null,null,-1),Kw=m("br",null,null,-1),qw=m("br",null,null,-1),Yw=m("br",null,null,-1),Jw=m("br",null,null,-1),up=me({__name:"NewsProjectGenerator",setup(e){return(t,n)=>(A(),I("div",Bw,[Gw,P(os,null,{default:R(()=>[K(" Linkie now has a project generator! "),Ww,K("It is tailored to be the best way to get started with Minecraft modding, with tons of different options, because everyone has different preferences. "),zw,Kw,K("You can create projects with *Fabric*, *Forge*, or *Architectury*, at the moment, with more options coming soon. "),qw,K("You also get options for *Build Language* (Kotlin or Groovy), *Mixins*, *Build Plugins* (Loom or ForgeGradle), *Mappings* (Yarn or Official), Parchment, and more! "),Yw,Jw,K("Try it out now! ⊂◉‿◉つ "+F(t.$route.path==="/"?"It is accessible on the navigation bar at the top of the page.":""),1)]),_:1})]))}}),tl=e=>(Rn("data-v-917e484d"),e=e(),Fn(),e),Xw={class:"flex flex-col"},Qw={id:"welcome-banner",class:"pt-40 pb-28 text-center text-6xl font-bold title-home text-white"},Zw=tl(()=>m("div",{class:"mb-8 p-4 bg-base-400/50 ring-base-500 ring-offset-2 ring-2 rounded-lg flex flex-col hidden"},[m("span",{class:"text-2xl font-bold mb-2"}," News: Linkie Windows Client "),m("div",null,[K(" There is a new desktop client available for download. It is still experimental, but it is already usable. "),m("br"),K("It is built with Tauri, a framework for building small web applications using existing platform libraries, and runs a JVM server in the background for Linkie. "),m("br"),m("br"),K("The total size of the client is about "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"50MB"),K(", which is a lot smaller than any Electron-based client. "),m("br"),K("At idle, the client uses about "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"600MB"),K(" of RAM, which is unfortunately due to the JVM. ")])],-1)),e2=tl(()=>m("div",{class:"flex flex-col"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler flex-1",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("path",{d:"M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5"}),m("line",{x1:"10",y1:"14",x2:"20",y2:"4"}),m("polyline",{points:"15 4 20 4 20 9"})])],-1)),t2=tl(()=>m("div",{class:"flex flex-col"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler flex-1",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("path",{d:"M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5"}),m("line",{x1:"10",y1:"14",x2:"20",y2:"4"}),m("polyline",{points:"15 4 20 4 20 9"})])],-1)),n2=me({__name:"Home",setup(e){return(t,n)=>{const s=ye("router-link");return A(),I("div",Xw,[m("h1",Qw,F(t.$t("home.welcome")),1),P(Ns,{class:"pt-8"},{default:R(()=>[P(Os,null,{default:R(()=>[P(up,{class:"mb-8 hidden"}),Zw,P(cp,null,{default:R(()=>[K(F(t.$t("home.quick.access")),1)]),_:1}),P(s,{class:"flex flex-nowrap gap-2 pb-2",to:"/dependencies"},{default:R(()=>[P(Ct,{class:"text-2xl"},{default:R(()=>[K(F(t.$t("home.dependencies")),1)]),_:1}),e2]),_:1}),P(ww),P(s,{class:"flex flex-nowrap gap-2 pt-6 pb-2",to:"/mappings"},{default:R(()=>[P(Ct,{class:"text-2xl"},{default:R(()=>[K(F(t.$t("home.mappings")),1)]),_:1}),t2]),_:1}),P(Aw)]),_:1})]),_:1})])}}}),s2=Ae(n2,[["__scopeId","data-v-917e484d"]]),r2=me({name:"DependencyFilterBlock",components:{SubHeader:Ct},computed:{...Et(yt,["loader","version","allowSnapshots","forgeGradle","neoGradle"]),loaders(){return Object.keys(this.searchData.versions)},applicableVersions(){let{loader:e,allowSnapshots:t}=yt();if(!e)return[];let n=this.searchData.versions[e]??[];return n&&!t&&(n=n.filter(s=>s.stable)),n.map(s=>s.version)}},props:{searchData:{type:Object,required:!0}}}),nl=e=>(Rn("data-v-7b67d591"),e=e(),Fn(),e),a2={class:"flex flex-col"},o2=["onClick"],i2=nl(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),l2=nl(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),c2=nl(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),u2={class:"flex gap-2 select-none justify-between pb-2"},d2={for:"allow-snapshots"},f2={class:"mx-[-.25rem] bg-base-l2 rounded-lg"},p2={class:"p-1 h-52 overflow-x-clip gradient-mask-b-80 overflow-y-scroll epic-scroller"},m2=["onClick"];function h2(e,t,n,s,r,a){const o=ye("SubHeader");return A(),I("div",a2,[P(o,{class:"mt-[-.25rem]"},{default:R(()=>[K(F(e.$t("dependencies.loader")),1)]),_:1}),(A(!0),I(pe,null,Ce(e.loaders,i=>(A(),I("div",{class:Ie([e.loader===i?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:l=>e.loader=i},F(e.$t("loader."+i)),11,o2))),256)),m("div",{class:Ie([e.loader==="forge"?"expanded":"","expand-height"])},[i2,P(o,null,{default:R(()=>[K(F(e.$t("dependencies.build.system")),1)]),_:1}),m("div",{class:Ie([e.forgeGradle?"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70":"font-medium","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[0]||(t[0]=i=>e.forgeGradle=!1)},F(e.$t("dependencies.build.system.architectury.loom")),3),m("div",{class:Ie([e.forgeGradle?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[1]||(t[1]=i=>e.forgeGradle=!0)},F(e.$t("dependencies.build.system.forge.gradle")),3)],2),m("div",{class:Ie([e.loader==="neoforge"?"expanded":"","expand-height"])},[l2,P(o,null,{default:R(()=>[K(F(e.$t("dependencies.build.system")),1)]),_:1}),m("div",{class:Ie([e.neoGradle?"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70":"font-medium","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[2]||(t[2]=i=>e.neoGradle=!1)},F(e.$t("dependencies.build.system.architectury.loom")),3),m("div",{class:Ie([e.neoGradle?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 capitalize rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:t[3]||(t[3]=i=>e.neoGradle=!0)},F(e.$t("dependencies.build.system.neo.gradle")),3)],2),c2,P(o,{class:"pb-1"},{default:R(()=>[K(F(e.$t("dependencies.version")),1)]),_:1}),m("div",{class:Ie(["flex flex-col flex-nowrap justify-center h-full whitespace-nowrap",["expand-height",e.loader==="fabric"?"expanded":""]])},[m("div",u2,[m("label",d2,F(e.$t("dependencies.version.snapshots")),1),Lt(m("input",{type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=i=>e.allowSnapshots=i),id:"allow-snapshots","aria-label":"Enable Snapshots"},null,512),[[Es,e.allowSnapshots]])])],2),m("div",f2,[m("div",p2,[(A(!0),I(pe,null,Ce(e.applicableVersions,i=>(A(),I("p",{class:Ie([e.version===i?"font-medium":"font-normal opacity-80 decoration-base-500/60 hover:decoration-base-700/60 dark:decoration-base-dark-400/70 dark:hover:decoration-base-dark-600/60","underline underline-offset-2 decoration-2 transition-all bg-base-700 dark:hover:bg-base-dark-600 bg-opacity-0 hover:bg-opacity-60 px-2 py-1 rounded-md cursor-pointer"]),onClick:l=>e.version=i},F(i),11,m2))),256))])])])}const g2=Ae(r2,[["render",h2],["__scopeId","data-v-7b67d591"]]),b2=["groovy","kotlin"];function _2(){return{codeLanguage:"groovy"}}const sl=tn({id:"preference",state:_2,persist:!0}),v2=me({name:"CodeLanguageTab",computed:{...Et(sl,["codeLanguage"])},props:{language:{type:String,required:!0}}});function y2(e,t,n,s,r,a){return A(),I("button",{class:Ie(["h-8 text-sm leading-8 select-none pr-4 capitalize pl-2 transition-opacity",e.codeLanguage===e.language?"cursor-default":"cursor-pointer opacity-50 hover:opacity-100"]),onClick:t[0]||(t[0]=o=>e.codeLanguage=e.language)},F(e.language.toLowerCase()),3)}const w2=Ae(v2,[["render",y2]]),k2=me({name:"CodeBlock",components:{CodeLanguageTab:w2},data(){return{languages:b2}},props:{title:String}}),E2={key:0},$2={class:"rounded-lg bg-base-l2 p-3 text-sm mt-2 mb-1"},S2={class:"flex"},C2={class:"pl-2 pb-1 overflow-x-auto epic-scroller"},x2={class:"inline-block break-all whitespace-pre",id:"code-block"};function A2(e,t,n,s,r,a){const o=ye("CodeLanguageTab");return A(),I(pe,null,[e.title?(A(),I("p",E2,F(e.title),1)):de("",!0),m("div",$2,[m("div",S2,[(A(!0),I(pe,null,Ce(e.languages,i=>(A(),fe(o,{language:i},null,8,["language"]))),256))]),m("pre",C2,[m("code",x2,[Ze(e.$slots,"default")])])])],64)}const ci=Ae(k2,[["render",A2]]);function mu(e){let t=sl().codeLanguage;return t==="groovy"?`maven { url "${e}" }`:t==="kotlin"?`maven { url = uri("${e}") }`:e}function za(){let{loader:e,forgeGradle:t}=yt();return e==="forge"&&t}function Ka(){let{loader:e,neoGradle:t}=yt();return e==="neoforge"&&t}function hu(e,t,n){let s=sl().codeLanguage;return n||(n='"%%"'),s==="groovy"?`${e} ${n.replace("%%",t)}`:s==="kotlin"?`${e}(${n.replace("%%",t)})`:t}function gt(e,t,n,s){return n?T2(hu(e,t,s)):hu(e,t,s)}function T2(e){return`dependencies { ${e} -}`}function A2(e,t=!0){return Ko()?gt("api",e,t,'fg.deobf("%%")'):qo()?gt("api",e,t):gt("modApi",e,t)}function T2(e,t=!0){return Ko()?gt("implementation",e,t,'fg.deobf("%%")'):qo()?gt("implementation",e,t):gt("modImplementation",e,t)}function L2(e,t=!0){return Ko()?gt("compileOnly",e,t,'fg.deobf("%%")'):qo()?gt("compileOnly",e,t):gt("modCompileOnly",e,t)}function O2(e,t=!0){return Ko()?gt("runtimeOnly",e,t,'fg.deobf("%%")'):qo()?gt("runtimeOnly",e,t):gt("modRuntimeOnly",e,t)}function gu(e,t,n=!0){return e==="Api"?A2(t,n):e==="Implementation"?T2(t,n):e==="CompileOnly"?L2(t,n):e==="RuntimeOnly"?O2(t,n):e==="Mappings"?gt("mappings",t,n):e==="Forge"?gt("forge",t,n):e==="NeoForge"?gt("neoforge",t,n):t}const I2={},N2={class:"p-5 bg-base-l1 shadow-sm rounded-lg"};function M2(e,t){return A(),I("div",N2,[Ze(e.$slots,"default")])}const Ht=Ae(I2,[["render",M2]]);var P2=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],s=0;s"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=bu[t.format]||bu.default;window.clipboardData.setData(d,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(i),o.selectNodeContents(i),a.addRange(o);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch(u){n&&console.error("unable to copy using execCommand: ",u),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),s=F2("message"in t?t.message:D2),window.prompt(s,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(o):a.removeAllRanges()),i&&document.body.removeChild(i),r()}return l}var U2=j2;const H2=Zi(U2);function dp(e,t){t!==void 0&&(H2(t),ri().addNotification({message:e.t("message.copy.clipboard")}))}const fp=me({__name:"CopyableIcon",props:{strokeWidth:{}},setup(e){return(t,n)=>(A(),fe(X(W_),{class:"min-w-[20px] w-[20px] ml-[1px] mr-[-.3rem]",strokeWidth:t.strokeWidth??"2"},null,8,["strokeWidth"]))}}),Qr=me({__name:"Copyable",props:{copy:{},strokeWidth:{}},setup(e){return(t,n)=>(A(),I("div",{class:"whitespace-nowrap [&_>*]:hover:underline [&_>*]:cursor-pointer",onClick:n[0]||(n[0]=s=>X(dp)(t.$i18n,t.copy))},[m("span",null,[Ze(t.$slots,"default")]),P(fp,{class:"inline-block pl-0.5",strokeWidth:t.strokeWidth},null,8,["strokeWidth"])]))}}),V2={},B2={class:"sm:w-[var(--sidebar-width)] sm:min-w-[var(--sidebar-width)]"};function G2(e,t){return A(),I("div",B2,[Ze(e.$slots,"default",{},void 0,!0)])}const Jo=Ae(V2,[["render",G2],["__scopeId","data-v-775ebf96"]]),W2={class:"text-center items-center justify-center grid"},z2={class:"flex gap-4 items-center justify-center animate-pulse animate-bounce"},K2=Mo('',1),q2={class:"font-medium text-xl"},pp=me({__name:"LoadingSection",props:{text:{default:"Loading..."}},setup(e){return(t,n)=>(A(),I("div",W2,[m("div",z2,[K2,m("p",q2,D(t.text),1)])]))}}),J2={class:"list-decimal pl-6 mt-2"},Y2=["href"],X2={class:"text-2xl font-bold mb-2"},Q2={key:0,class:"flex flex-col gap-1"},Z2={key:0,class:"font-bold"},ek={class:"flex flex-col gap-0.5"},tk={class:"mt-1 flex gap-x-1"},nk=m("br",null,null,-1),sk=me({__name:"Dependencies",setup(e){const{searchData:t}=xt(ln()),{loader:n,version:s,allowSnapshots:r}=xt(yt()),o=ts(),a=je(()=>{var u,d;let{loader:i,version:l}=yt(),{searchData:c}=ln();return Object.entries(((d=(u=c.versions[i??""])==null?void 0:u.find(h=>h.version===l))==null?void 0:d.blocks)??{})});return pt(n,()=>{yo(rt(o)),ys(rt(o))},{immediate:!0}),pt(s,()=>{ys(rt(o))},{immediate:!0}),pt(r,()=>{ys(rt(o))},{immediate:!0}),Gt(()=>{yo(rt(o),ts().query)}),(i,l)=>Object.keys(X(t).versions).length!==0?(A(),fe(Ms,{key:0},{default:R(()=>[P(Jo,{class:"flex flex-col gap-y-5"},{default:R(()=>[P(Ht,null,{default:R(()=>[P(m2,{searchData:X(t)},null,8,["searchData"])]),_:1}),P(Ht,null,{default:R(()=>[P(Ct,null,{default:R(()=>[K(D(i.$t("dependencies.toc")),1)]),_:1}),m("ol",J2,[(A(!0),I(pe,null,Ce(a.value,c=>(A(),I("li",null,[m("a",{href:"#dep-"+a.value.indexOf(c)},D(c[0]),9,Y2)]))),256))])]),_:1})]),_:1}),P(Os,{class:"flex flex-col gap-y-5"},{default:R(()=>[(A(!0),I(pe,null,Ce(a.value,([c,u])=>(A(),fe(Ht,{id:"dep-"+a.value.findIndex(d=>d[0]===c)},{default:R(()=>[m("div",X2,D(c),1),u.mavens.length>0?(A(),I("div",Q2,[(A(!0),I(pe,null,Ce(u.mavens,d=>(A(),I("div",null,[u.mavens.indexOf(d)===0&&!d.subtitle?(A(),I("div",Z2,D(i.$t("dependencies.maven.repo")),1)):de("",!0),P(ci,{title:d.subtitle??""},{default:R(()=>[P(Qr,{copy:X(mu)(d.url),"stroke-width":"1"},{default:R(()=>[K(D(X(mu)(d.url)),1)]),_:2},1032,["copy"])]),_:2},1032,["title"])]))),256))])):de("",!0),m("div",ek,[(A(!0),I(pe,null,Ce(u.dependencies,d=>(A(),I("div",null,[m("p",tk,[K(D(d.name)+" ",1),P(Qr,{class:"font-bold",copy:d.version},{default:R(()=>[K(D(d.version),1)]),_:2},1032,["copy"])]),P(ci,{title:void 0},{default:R(()=>[K("dependencies {"),nk,P(Qr,{copy:X(gu)(d.type,d.notation,!1),"stroke-width":"1",class:"pl-8"},{default:R(()=>[K(D(X(gu)(d.type,d.notation,!1)),1)]),_:2},1032,["copy"]),K(" } ")]),_:2},1024)]))),256))])]),_:2},1032,["id"]))),256))]),_:1})]),_:1})):(A(),fe(pp,{key:1,class:"h-[calc(100vh-56px-24px-5rem)]"}))}}),rk=me({name:"GeneratorStepper",props:{step:{type:Number,required:!0},steps:{type:Number,required:!0}}}),ok={class:"grid grid-cols-2 stepper gap-3 sm:gap-4"},ak=["aria-disabled"],ik=["aria-disabled"],lk=["aria-disabled"],ck=["aria-disabled"];function uk(e,t,n,s,r,o){return A(),I("div",ok,[(A(!0),I(pe,null,Ce(4*e.steps,a=>(A(),I("div",null,[a%4===1?(A(),I("div",{key:0,class:"w-6 h-6 sm:w-8 sm:h-8 text-sm sm:text-md grid items-center justify-center rounded-full bg-base-400 text-base-dark-400 dark:bg-base-dark-300 dark:text-base-dark-content font-bold element","aria-disabled":e.step<(a+3)/4},D((a+3)/4),9,ak)):a%4===2?(A(),I("div",{key:1,"aria-disabled":e.step<(a+2)/4,class:"w-full h-full element"},[Ze(e.$slots,`title-${(a-2)/4}`,{},void 0,!0)],8,ik)):a%4===3?(A(),I("div",{key:2,class:"w-[.2rem] mx-auto h-full pb-[-2rem] bg-base-400 dark:bg-base-dark-300 rounded-full element","aria-disabled":e.step<(a+1)/4},null,8,lk)):a%4===0?(A(),I("div",{key:3,class:"w-full element","aria-disabled":e.stepe===r||mp()&&t.includes(r);return(s("fabric")||s("quilt"))&&n.push({id:"modmenu",name:"ModMenu",descriptions:["Adds a screen for viewing a list of installed mods."],modLoaders:["fabric","quilt"]}),n.push({id:"cloth-config",name:"Cloth Config",descriptions:["A client-sided configuration screen library, includes Auto Config."],modLoaders:["forge","neoforge","fabric","quilt"]}),n.push({id:"moonlight",name:"Moonlight",descriptions:["Forge and Fabric lightweight library with utilities such as custom Villagers AI, custom Map Markers..."],modLoaders:["forge","fabric","quilt"]}),n.push({id:"trinkets",name:"Trinkets",descriptions:["A data-driven accessory mod"],modLoaders:["forge","fabric","quilt"]}),n.push({id:"jei",name:"Just Enough Items",descriptions:["View Items and Recipes."],modLoaders:["forge","fabric","quilt"]}),n.push({id:"rei",name:"Roughly Enough Items",descriptions:["Clean and Customizable. An easy way to browse recipes."],modLoaders:["forge","neoforge","fabric","quilt"]}),(s("fabric")||s("quilt"))&&(n.push({id:"forge-config-api",name:"Forge Config API Port",descriptions:["Forge's whole config system provided to the Fabric ecosystem. Designed for a multiloader architecture."],modLoaders:["fabric","quilt"]}),n.push({id:"yacl",name:"YetAnotherConfigLib",descriptions:["A builder-based configuration library for Minecraft."],modLoaders:["fabric","quilt"]}),n.push({id:"cc",name:"Cardinal Components",descriptions:["API for data-driven content."],modLoaders:["fabric","quilt"]}),n.push({id:"owo",name:"oωo",descriptions:["A general utility, GUI and config library for modding on Fabric and Quilt"],modLoaders:["fabric","quilt"]})),n}function rl(){const e=Je();if(e.mainClass)return e.mainClass;let t=e.name.trim();return t=t.replace(/(?:^|\s|-)\S/g,n=>n.toUpperCase()),t=t.replace(/[^a-zA-Z]/g," "),t=t.replace(/\s/g,""),t.length==0&&(t="Main"),t}function hp(){const e=Je();return e.clientClass?e.clientClass:rl()+"Client"}function gp(){const e=Je();if(e.modId)return e.modId;let t=e.name.trim();return t=t.replace(/[^a-zA-Z]/g," "),t=t.replace(/\s/g,"-"),t=t.toLowerCase(),t.length==0&&(t="modid"),t=t.substring(0,32),t}const hk=me({name:"GeneratorOptions",props:{size:{type:Number,required:!0}}});function gk(e,t,n,s,r,o){return A(),I("div",{class:Ie(["grid sm:grid-cols-2 gap-4 md:grid-cols-3",e.size>=4?"lg:grid-cols-4":""])},[(A(!0),I(pe,null,Ce(e.size,a=>Ze(e.$slots,`slot-${a-1}`)),256))],2)}const mn=Ae(hk,[["render",gk]]),bk=me({name:"GeneratorOptionEntry",props:{selected:{type:Boolean,required:!0}}}),_k=["aria-selected"];function vk(e,t,n,s,r,o){return A(),I("button",{"aria-selected":e.selected,class:"py-3 px-4 flex-1 flex flex-col gap-2 text-left rounded-lg bg-base-400 dark:bg-base-dark-200 bg-opacity-50 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[Ze(e.$slots,"default",{},void 0,!0)],8,_k)}const hn=Ae(bk,[["render",vk],["__scopeId","data-v-1c485f7f"]]),yk=me({name:"GeneratorTemplateBase",components:{GeneratorDescription:as,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["template"])},methods:{selectTemplate(e){this.template===e?this.template=null:this.template=e,pk()}}}),wk={class:"w-full flex flex-col gap-4"},kk=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Fabric"),m("span",{class:"text-sm"},"for 1.14 to latest"),m("a",{href:"https://www.fabricmc.net/",class:"text-sm font-semibold underline",tabindex:"-1"},"fabricmc.net")],-1),Ek={class:"flex flex-col text-left"},$k={class:"font-semibold text-sm"},Sk=m("span",{class:"text-sm"},"✔ IntelliJ, VSCode, Eclipse",-1),Ck={class:"flex flex-col text-left"},xk={class:"font-semibold text-sm"},Ak=m("span",{class:"text-sm"},"✔ Comprehensive API",-1),Tk=m("span",{class:"text-sm"},"✔ Supports Groovy / Kotlin Gradle",-1),Lk=m("span",{class:"text-sm"},[K("✔ Supports Kotlin Language "),m("span",{class:"whitespace-nowrap"},"(via 1st party external library)")],-1),Ok=m("span",{class:"text-sm"},"✔ Supports Mixin",-1),Ik=m("span",{class:"text-sm"},"✔ Only uses Official Gradle Plugins",-1),Nk=m("span",{class:"text-sm"},"✔ Trivial Data Generators",-1),Mk=m("span",{class:"text-sm"},"✔ Supports Split Client & Common Sources",-1),Pk=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Forge"),m("span",{class:"text-sm"},"for 1.13 to latest"),m("a",{href:"https://files.minecraftforge.net/",class:"text-sm font-semibold underline",tabindex:"-1"},"minecraftforge.net")],-1),Rk={class:"flex flex-col text-left"},Dk={class:"font-semibold text-sm"},Fk=m("span",{class:"text-sm"},"✔ IntelliJ, VSCode, Eclipse",-1),jk={class:"flex flex-col text-left"},Uk={class:"font-semibold text-sm"},Hk=m("span",{class:"text-sm"},"✔ Comprehensive API",-1),Vk=m("span",{class:"text-sm"},"✔ Supports Groovy / Kotlin Gradle",-1),Bk=m("span",{class:"text-sm"},[K("✔ Supports Kotlin Language "),m("span",{class:"whitespace-nowrap"},"(via 3rd party external library)")],-1),Gk=m("span",{class:"text-sm"},"✔ Supports Mixin",-1),Wk=m("span",{class:"text-sm"},"✔ Only uses Official Gradle Plugins",-1),zk=m("span",{class:"text-sm"},"✔ Trivial Data Generators",-1),Kk=m("span",{class:"text-sm"},"✘ Supports Split Client & Common Sources",-1),qk=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Architectury"),m("span",{class:"text-sm"},"for 1.16 to latest")],-1),Jk={class:"flex flex-col text-left w-full"},Yk={class:"font-semibold text-sm"},Xk=m("span",{class:"text-sm w-full grid grid-cols-2 gap-2"},[m("span",null,"✔ IntelliJ, VSCode"),m("span",null,"✘ Eclipse")],-1),Qk={class:"flex flex-col text-left"},Zk={class:"font-semibold text-sm"},eE=m("span",{class:"text-sm"},[K("✔ Comprehensive API "),m("span",{class:"whitespace-nowrap"},"(via optional external library)")],-1),tE=m("span",{class:"text-sm"},"✔ Supports Groovy / Kotlin Gradle",-1),nE=m("span",{class:"text-sm"},[K("✔ Supports Kotlin Language "),m("span",{class:"whitespace-nowrap"},"(via 3rd party external library)")],-1),sE=m("span",{class:"text-sm"},"✔ Supports Mixin",-1),rE=m("span",{class:"text-sm"},[K("✘ Only uses Official Gradle Plugins "),m("span",{class:"whitespace-nowrap"},"(Architectury Loom used)")],-1),oE=m("span",{class:"text-sm"},[K("✘ Trivial Data Generators "),m("span",{class:"whitespace-nowrap"},"(only via Fabric / Forge setups)")],-1),aE=m("span",{class:"text-sm"},"✘ Supports Split Client & Common Sources",-1);function iE(e,t,n,s,r,o){const a=ye("generator-description"),i=ye("GeneratorOptionEntry"),l=ye("GeneratorOptions");return A(),I("div",wk,[P(a,null,{default:R(()=>[K(D(e.$t("generator.template.base.description")),1)]),_:1}),P(l,{size:5},{"slot-0":R(()=>[P(i,{selected:e.template==="fabric",onClick:t[0]||(t[0]=c=>e.selectTemplate("fabric"))},{default:R(()=>[kk,m("span",Ek,[m("span",$k,D(e.$t("generator.template.base.details.ide")),1),Sk]),m("span",Ck,[m("span",xk,D(e.$t("generator.template.base.details.features")),1),Ak,Tk,Lk,Ok,Ik,Nk,Mk])]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.template==="forge",onClick:t[1]||(t[1]=c=>e.selectTemplate("forge"))},{default:R(()=>[Pk,m("span",Rk,[m("span",Dk,D(e.$t("generator.template.base.details.ide")),1),Fk]),m("span",jk,[m("span",Uk,D(e.$t("generator.template.base.details.features")),1),Hk,Vk,Bk,Gk,Wk,zk,Kk])]),_:1},8,["selected"])]),"slot-2":R(()=>[]),"slot-3":R(()=>[P(i,{selected:e.template==="architectury",onClick:t[2]||(t[2]=c=>e.selectTemplate("architectury"))},{default:R(()=>[qk,m("span",Jk,[m("span",Yk,D(e.$t("generator.template.base.details.ide")),1),Xk]),m("span",Qk,[m("span",Zk,D(e.$t("generator.template.base.details.features")),1),eE,tE,nE,sE,rE,oE,aE])]),_:1},8,["selected"])]),"slot-4":R(()=>[]),_:1})])}const _u=Ae(yk,[["render",iE]]),lE={};function cE(e,t){return A(),fe(Ra,{"enter-active-class":"duration-200 ease-out","enter-from-class":"transform opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"transform opacity-0"},{default:R(()=>[Ze(e.$slots,"default")]),_:3})}const bp=Ae(lE,[["render",cE]]),uE=me({name:"GeneratorBuildSystem",components:{TransitionFadeIn:bp,GeneratorDescription:as,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["template","gradleSystem","mappings","parchment","modLoaders","gradleLanguage","splitEnv"])},methods:{canChoosePlugin(){return this.template==="forge"},canChooseSplitEnv(){return this.template==="fabric"},canChooseMappings(){return this.template==="forge"&&this.gradleSystem==="loom"||this.template!=="forge"&&this.template!=="multiloader"},selectGradleLanguage(e){this.gradleLanguage===e?this.gradleLanguage=null:this.gradleLanguage=e},isTemplateMultiPlatform:mp}}),dE={class:"w-full flex flex-col gap-4"},fE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"ForgeGradle")],-1),pE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Used by the majority of Forge mods"),m("span",{class:"text-sm"},"✔ Only supports MCP / Mojang Mappings"),m("span",{class:"text-sm"},"✔ Officially supported by Forge")],-1),mE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Architectury Loom")],-1),hE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Built on Fabric Loom to support both Forge and Fabric"),m("span",{class:"text-sm"},"✔ Supports MCP / Mojang / Yarn Mappings"),m("span",{class:"text-sm"},"✘ Unofficial alternative, unsupported by Forge")],-1),gE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Official Mojang")],-1),bE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Published officially by Mojang"),m("span",{class:"text-sm"},"✔ All classes, methods and fields are mapped"),m("span",{class:"text-sm"},"✔ Supported natively by both Fabric and Forge"),m("span",{class:"text-sm"},"✘ Parameters not provided by Mojang (optionally via community-sourced Parchment)")],-1),_E=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Yarn"),m("span",{class:"text-sm"},"from FabricMC")],-1),vE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Free and Open Source"),m("span",{class:"text-sm"},"✔ Subjectively Superior Names"),m("span",{class:"text-sm"},"✘ Not supported by Forge")],-1),yE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Quilt Mappings"),m("span",{class:"text-sm"},"from QuiltMC")],-1),wE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Free and Open Source"),m("span",{class:"text-sm"},"✔ Subjectively Superior Names"),m("span",{class:"text-sm"},"✘ Not supported by Forge")],-1),kE={key:1,class:"flex gap-3 items-center"},EE={for:"parchment-toggle",class:"select-none"},$E={key:5,class:"flex gap-3 items-center"},SE=m("label",{for:"split-env-toggle",class:"select-none"},"Enable Split Client and Common Environments",-1),CE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Groovy")],-1),xE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Kotlin (KTS)")],-1);function AE(e,t,n,s,r,o){var u;const a=ye("generator-description"),i=ye("GeneratorOptionEntry"),l=ye("GeneratorOptions"),c=ye("transition-fade-in");return A(),I("div",dE,[e.canChoosePlugin()?(A(),fe(a,{key:0},{default:R(()=>[K(D(e.$t("generator.build.system.description.forge")),1)]),_:1})):de("",!0),e.canChoosePlugin()?(A(),fe(l,{key:1,size:2},{"slot-0":R(()=>[P(i,{selected:e.gradleSystem==="fg",onClick:t[0]||(t[0]=d=>e.gradleSystem="fg")},{default:R(()=>[fE,pE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.gradleSystem==="loom",onClick:t[1]||(t[1]=d=>e.gradleSystem="loom")},{default:R(()=>[mE,hE]),_:1},8,["selected"])]),_:1})):de("",!0),e.canChooseMappings()?(A(),fe(a,{key:2},{default:R(()=>[K(D(e.$t("generator.build.system.description.mappings")),1)]),_:1})):de("",!0),e.canChooseMappings()?(A(),fe(l,{key:3,size:3},Mi({"slot-0":R(()=>[P(i,{selected:e.mappings==="mojmap",onClick:t[2]||(t[2]=d=>e.mappings="mojmap")},{default:R(()=>[gE,bE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.mappings==="yarn",onClick:t[3]||(t[3]=d=>e.mappings="yarn")},{default:R(()=>[_E,vE]),_:1},8,["selected"])]),_:2},[e.template==="quilt"||e.isTemplateMultiPlatform()&&((u=e.modLoaders)!=null&&u.includes("quilt"))||e.mappings==="quilt"?{name:"slot-2",fn:R(()=>[P(i,{selected:e.mappings==="quilt",onClick:t[4]||(t[4]=d=>e.mappings="quilt")},{default:R(()=>[yE,wE]),_:1},8,["selected"])]),key:"0"}:void 0]),1024)):de("",!0),P(c,null,{default:R(()=>[e.canChooseMappings()&&e.mappings==="mojmap"?(A(),fe(a,{key:0},{default:R(()=>[K(D(e.$t("generator.build.system.description.mappings.parchment")),1)]),_:1})):de("",!0),e.canChooseMappings()&&e.mappings==="mojmap"?(A(),I("div",kE,[Lt(m("input",{type:"checkbox",id:"parchment-toggle","onUpdate:modelValue":t[5]||(t[5]=d=>e.parchment=d)},null,512),[[Es,e.parchment]]),m("label",EE,D(e.$t("generator.build.system.description.mappings.parchment.toggle")),1)])):de("",!0)]),_:1}),e.canChooseSplitEnv()?(A(),fe(a,{key:4},{default:R(()=>[K(D(e.$t("generator.build.system.description.env.split")),1)]),_:1})):de("",!0),e.canChooseSplitEnv()?(A(),I("div",$E,[Lt(m("input",{type:"checkbox",id:"split-env-toggle","onUpdate:modelValue":t[6]||(t[6]=d=>e.splitEnv=d)},null,512),[[Es,e.splitEnv]]),SE])):de("",!0),P(a,null,{default:R(()=>[K(D(e.$t("generator.build.system.description.gradle.language")),1)]),_:1}),P(l,{size:2},{"slot-0":R(()=>[P(i,{selected:e.gradleLanguage==="groovy",onClick:t[7]||(t[7]=d=>e.selectGradleLanguage("groovy"))},{default:R(()=>[CE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.gradleLanguage==="kts",onClick:t[8]||(t[8]=d=>e.selectGradleLanguage("kts"))},{default:R(()=>[xE]),_:1},8,["selected"])]),_:1})])}const TE=Ae(uE,[["render",AE]]),LE=me({name:"GeneratorModLoaders",components:{TransitionFadeIn:bp,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["template","modLoaders","fabricLike"])},methods:{canChooseFabricLike(){return this.template==="architectury"&&this.modLoaders.includes("fabric")&&this.modLoaders.includes("quilt")},selectModLoader(e){this.modLoaders.includes(e)?this.modLoaders=this.modLoaders.filter(t=>t!==e):this.modLoaders.push(e)}}}),OE={class:"w-full flex flex-col gap-4"},IE=m("span",null,[K(" Since you have selected a template that supports multiple mod loaders, you need to select the ones to support. "),m("br"),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Fabric"),K(" and "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Forge"),K(" has been selected by default for you, but feel free to change them as you see fit. ")],-1),NE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Fabric")],-1),ME=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Forge")],-1),PE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Quilt")],-1),RE={key:0},DE=m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Fabric-Like Intermediary",-1),FE={key:1,class:"flex gap-3 items-center"},jE=m("label",{for:"fabric-like-toggle",class:"select-none"},"Enable Fabric-Like Intermediary",-1);function UE(e,t,n,s,r,o){const a=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions"),l=ye("transition-fade-in");return A(),I("div",OE,[IE,P(i,{size:3},{"slot-0":R(()=>[P(a,{selected:e.modLoaders.includes("fabric"),onClick:t[0]||(t[0]=c=>e.selectModLoader("fabric"))},{default:R(()=>[NE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(a,{selected:e.modLoaders.includes("forge"),onClick:t[1]||(t[1]=c=>e.selectModLoader("forge"))},{default:R(()=>[ME]),_:1},8,["selected"])]),"slot-2":R(()=>[P(a,{selected:e.modLoaders.includes("quilt"),onClick:t[2]||(t[2]=c=>e.selectModLoader("quilt"))},{default:R(()=>[PE]),_:1},8,["selected"])]),_:1}),P(l,null,{default:R(()=>[e.canChooseFabricLike()?(A(),I("span",RE,[K(" Having chosen both Fabric and Quilt, you may choose to enable the "),DE,K(" subproject, used to call Fabric APIs. This can be used to call code that is not specific to neither Fabric nor Quilt, such as hooks that will apply to both Fabric and Quilt. ")])):de("",!0),e.canChooseFabricLike()?(A(),I("div",FE,[Lt(m("input",{type:"checkbox",id:"fabric-like-toggle","onUpdate:modelValue":t[3]||(t[3]=c=>e.fabricLike=c)},null,512),[[Es,e.fabricLike]]),jE])):de("",!0)]),_:1})])}const HE=Ae(LE,[["render",UE]]),VE=me({name:"GenertatorModConfiguration",components:{GeneratorDescription:as,GeneratorOptionEntry:hn,GeneratorOptions:mn,IconLock:nv,IconLockOpen:tv},computed:{...Et(Je,["name","description","license","modId","version","mainClass","clientClass","package","authors"])},methods:{generateModID:gp,generateMainClassName:rl,generateClientClassName:hp}}),BE=e=>(Rn("data-v-bc015907"),e=e(),Dn(),e),GE={class:"w-full flex flex-col gap-4"},WE={class:"w-full sm:w-[60%] grid sm:input-grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-1.5 items-center min-w-10 max-w-full"},zE={for:"mod-name"},KE={for:"mod-description"},qE={for:"mod-license"},JE={for:"main-class"},YE={class:"flex gap-1.5"},XE=["disabled","value"],QE={for:"client-class"},ZE={class:"flex gap-1.5"},e$=["disabled","value"],t$={for:"mod-id"},n$={class:"flex gap-1.5"},s$=["disabled","value"],r$={for:"mod-version"},o$={for:"mod-package"},a$=BE(()=>m("div",{class:"w-0"},null,-1)),i$={class:"flex flex-col gap-1.5"},l$={class:"flex gap-2"},c$=["onUpdate:modelValue"],u$=["onClick"];function d$(e,t,n,s,r,o){const a=ye("generator-description"),i=ye("IconLock"),l=ye("IconLockOpen");return A(),I("div",GE,[P(a,null,{default:R(()=>[K(D(e.$t("generator.mod.config.description")),1)]),_:1}),m("div",WE,[m("label",zE,D(e.$t("generator.mod.config.mod.name")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=c=>e.name=c),id:"mod-name",class:"text-field"},null,512),[[ls,e.name]]),m("label",KE,D(e.$t("generator.mod.config.mod.description")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=c=>e.description=c),id:"mod-description",class:"text-field"},null,512),[[ls,e.description]]),m("label",qE,D(e.$t("generator.mod.config.mod.license")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=c=>e.license=c),id:"mod-license",class:"text-field"},null,512),[[ls,e.license]]),m("label",JE,D(e.$t("generator.mod.config.mod.main.class")),1),m("div",YE,[m("input",{type:"text",disabled:!e.mainClass,value:e.mainClass??e.generateMainClassName(),id:"main-class",onChange:t[3]||(t[3]=c=>e.mainClass=c.target.value),class:"text-field flex-1 min-w-0"},null,40,XE),m("button",{class:"lock",onClick:t[4]||(t[4]=c=>e.mainClass=e.mainClass?null:e.generateMainClassName())},[e.mainClass?(A(),fe(l,{key:1})):(A(),fe(i,{key:0}))])]),m("label",QE,D(e.$t("generator.mod.config.mod.client.class")),1),m("div",ZE,[m("input",{type:"text",disabled:!e.clientClass,value:e.clientClass??e.generateClientClassName(),id:"client-class",onChange:t[5]||(t[5]=c=>e.clientClass=c.target.value),class:"text-field flex-1 min-w-0"},null,40,e$),m("button",{class:"lock",onClick:t[6]||(t[6]=c=>e.clientClass=e.clientClass?null:e.generateClientClassName())},[e.clientClass?(A(),fe(l,{key:1})):(A(),fe(i,{key:0}))])]),m("label",t$,D(e.$t("generator.mod.config.mod.id")),1),m("div",n$,[m("input",{type:"text",disabled:!e.modId,value:e.modId??e.generateModID(),id:"mod-id",onChange:t[7]||(t[7]=c=>e.modId=c.target.value),class:"text-field flex-1 min-w-0"},null,40,s$),m("button",{class:"lock",onClick:t[8]||(t[8]=c=>e.modId=e.modId?null:e.generateModID())},[e.modId?(A(),fe(l,{key:1})):(A(),fe(i,{key:0}))])]),m("label",r$,D(e.$t("generator.mod.config.mod.version")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[9]||(t[9]=c=>e.version=c),id:"mod-version",class:"text-field"},null,512),[[ls,e.version]]),m("label",o$,D(e.$t("generator.mod.config.mod.package")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[10]||(t[10]=c=>e.package=c),id:"mod-package",class:"text-field"},null,512),[[ls,e.package]]),m("span",null,D(e.$t("generator.mod.config.mod.authors")),1),m("button",{class:"ml-auto w-9 h-9 bg-base-600 dark:bg-base-dark-500 bg-opacity-50 hover:bg-opacity-100 transition-all rounded-full font-bold",onClick:t[11]||(t[11]=c=>e.authors.push(""))},"+ "),a$,m("div",i$,[(A(!0),I(pe,null,Ce(e.authors.length,c=>(A(),I("div",l$,[Lt(m("input",{type:"text","onUpdate:modelValue":u=>e.authors[c-1]=u,class:"flex-1 text-field min-w-0"},null,8,c$),[[ls,e.authors[c-1]]]),m("button",{class:"ml-auto w-9 h-9 bg-base-600 dark:bg-base-dark-500 bg-opacity-50 hover:bg-opacity-100 transition-all rounded-full font-bold flex-none",onClick:u=>e.authors.splice(c-1,1)},"- ",8,u$)]))),256))])])])}const f$=Ae(VE,[["render",d$],["__scopeId","data-v-bc015907"]]),p$=me({name:"GeneratorMixinConfiguration",components:{GeneratorDescription:as,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["template","mixin","modLoaders"])},methods:{hasFabric(){return this.template==="fabric"||this.template==="architectury"||this.template==="multiloader"&&this.modLoaders.includes("fabric")},selectMixin(e){this.mixin===e?this.mixin=null:this.mixin=e}}}),m$={class:"w-full flex flex-col gap-4"},h$=m("br",null,null,-1),g$=m("br",null,null,-1),b$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Enable Mixins")],-1),_$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Disable Mixins")],-1);function v$(e,t,n,s,r,o){const a=ye("generator-description"),i=ye("GeneratorOptionEntry"),l=ye("GeneratorOptions");return A(),I("div",m$,[m("div",null,[P(a,null,{default:R(()=>[K(D(e.$t("generator.mixins.config.description.1")),1)]),_:1}),e.hasFabric()?(A(),fe(a,{key:0},{default:R(()=>[K(D(` -`+e.$t("generator.mixins.config.description.fabric")),1)]),_:1})):de("",!0),h$,g$,P(a,null,{default:R(()=>[K(D(e.$t("generator.mixins.config.description.2")),1)]),_:1})]),P(l,{size:2},{"slot-0":R(()=>[P(i,{selected:e.mixin===!0,onClick:t[0]||(t[0]=c=>e.selectMixin(!0))},{default:R(()=>[b$]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.mixin===!1,onClick:t[1]||(t[1]=c=>e.selectMixin(!1))},{default:R(()=>[_$]),_:1},8,["selected"])]),_:1})])}const y$=Ae(p$,[["render",v$]]),w$=me({name:"GeneratorDummyDependencies"}),k$={class:"w-full flex flex-col gap-4"},E$=m("span",null,[K(" We are now at the last step of the setup process. Let's choose the main library we want to use. "),m("br"),K(" This is the library we use to register our blocks, items, entities, etc. "),m("br"),m("br"),K(" But of course, you can always go without one and experiment on your own. ")],-1),$$=[E$];function S$(e,t,n,s,r,o){return A(),I("div",k$,$$)}const C$=Ae(w$,[["render",S$]]),x$=me({name:"GeneratorFabricDependencies",components:{GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["dependencies"])},methods:{selectFabricApi(e){this.dependencies&&(e?this.dependencies.push("fabric-api"):this.dependencies=this.dependencies.filter(t=>t!=="fabric-api"))}}}),A$={class:"w-full flex flex-col gap-4"},T$=m("span",null,[K(" We are now at the last step of the setup process. Let's choose the main library we want to use. "),m("br"),K(" This is the library we use to register our blocks, items, entities, etc. "),m("br"),m("br"),K(" But of course, you can always go without one and experiment on your own. ")],-1),L$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Fabric API"),m("span",{class:"text-sm"},"from FabricMC")],-1),O$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Used by the majority of Fabric mods"),m("span",{class:"text-sm"},[K("✔ Includes common hooks, such as registration, events, mod "),m("span",{class:"whitespace-nowrap"},"inter-compatibility"),K(" interfaces")])],-1),I$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"No Library")],-1),N$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ No extra dependencies for users to install")],-1);function M$(e,t,n,s,r,o){const a=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions");return A(),I("div",A$,[T$,P(i,{size:2},{"slot-0":R(()=>{var l;return[P(a,{selected:!!((l=e.dependencies)!=null&&l.includes("fabric-api")),onClick:t[0]||(t[0]=c=>e.selectFabricApi(!0))},{default:R(()=>[L$,O$]),_:1},8,["selected"])]}),"slot-1":R(()=>{var l;return[P(a,{selected:!((l=e.dependencies)!=null&&l.includes("fabric-api")),onClick:t[1]||(t[1]=c=>e.selectFabricApi(!1))},{default:R(()=>[I$,N$]),_:1},8,["selected"])]}),_:1})])}const P$=Ae(x$,[["render",M$]]),R$=me({name:"GeneratorCommonDependencies",components:{GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["dependencies"]),freeDependencies(){return mk()}},methods:{selectDependency(e){this.dependencies&&(this.dependencies.includes(e)?this.dependencies=this.dependencies.filter(t=>t!==e):this.dependencies.push(e))}}}),D$={class:"w-full flex flex-col gap-4"},F$=m("span",null," Lastly, if you want to add any additional dependencies, you can do so here. ",-1),j$={class:"flex flex-col text-left"},U$={class:"font-semibold"},H$={class:"flex gap-x-1.5"},V$={class:"bg-base-500 dark:bg-base-dark-500 rounded-md text-[.75rem] px-[.438rem] inline-flex items-center justify-center h-4"},B$={key:0,class:"flex flex-col text-left"},G$={class:"text-sm"};function W$(e,t,n,s,r,o){const a=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions");return A(),I("div",D$,[F$,P(i,{size:e.freeDependencies.length},Mi({_:2},[Ce(e.freeDependencies.length,l=>({name:`slot-${l-1}`,fn:R(()=>{var c;return[P(a,{selected:!!((c=e.dependencies)!=null&&c.includes(e.freeDependencies[l-1].id)),onClick:u=>e.selectDependency(e.freeDependencies[l-1].id)},{default:R(()=>[m("span",j$,[m("span",U$,D(e.freeDependencies[l-1].name),1),m("span",H$,[(A(!0),I(pe,null,Ce(e.freeDependencies[l-1].modLoaders,u=>(A(),I("span",V$,D(u),1))),256))])]),e.freeDependencies[l-1].descriptions?(A(),I("span",B$,[(A(!0),I(pe,null,Ce(e.freeDependencies[l-1].descriptions,u=>(A(),I("span",G$,D(u),1))),256))])):de("",!0)]),_:2},1032,["selected","onClick"])]})}))]),1032,["size"])])}const vu=Ae(R$,[["render",W$]]),z$=me({name:"GeneratorArchitecturyDependencies",components:{GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["dependencies"])},methods:{selectArchitecturyApi(){this.dependencies&&(this.unselect(),this.dependencies.push("architectury-api"))},selectBotarium(){this.dependencies&&(this.unselect(),this.dependencies.push("botarium"))},unselect(){this.dependencies&&(this.dependencies=this.dependencies.filter(e=>e!=="botarium"&&e!=="architectury-api"))}}}),K$={class:"w-full flex flex-col gap-4"},q$=m("span",null,[K(" We are now at the last step of the setup process. Let's choose the main library we want to use. "),m("br"),K(" This is the library we use to register our blocks, items, entities, etc. "),m("br"),K(" Traditionally, "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Architectury API"),K(" is the default for Architectury projects, as it packs most of the hooks and events you need to get started. "),m("br"),K(" However, "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Botarium"),K(" is an alternative that contains a rudimentary transfer api for item, fluid, energy containers, but does not offer as many hooks and events as Architectury API. "),m("br"),m("br"),K(" But of course, you can always go without one and experiment on your own. ")],-1),J$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Architectury API"),m("span",{class:"text-sm"},"from Architectury")],-1),Y$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},[K("✔ Includes common hooks, such as registration, mod "),m("span",{class:"whitespace-nowrap"},"inter-compatibility"),K(" interfaces")]),m("span",{class:"text-sm"},"✔ Includes 80+ event hooks"),m("span",{class:"text-sm"},"✔ Includes networking abstraction")],-1),X$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Botarium"),m("span",{class:"text-sm"},"from Terrarium")],-1),Q$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},[K("✔ Includes common hooks, such as registration, mod "),m("span",{class:"whitespace-nowrap"},"inter-compatibility"),K(" interfaces")]),m("span",{class:"text-sm"},"✔ Support for transfer api for item, fluid, energy containers")],-1),Z$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"No Library")],-1),eS=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ No extra dependencies for users to install")],-1);function tS(e,t,n,s,r,o){const a=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions");return A(),I("div",K$,[q$,P(i,{size:3},{"slot-0":R(()=>{var l;return[P(a,{selected:!!((l=e.dependencies)!=null&&l.includes("architectury-api")),onClick:t[0]||(t[0]=c=>e.selectArchitecturyApi())},{default:R(()=>[J$,Y$]),_:1},8,["selected"])]}),"slot-1":R(()=>{var l;return[P(a,{selected:!!((l=e.dependencies)!=null&&l.includes("botarium")),onClick:t[1]||(t[1]=c=>e.selectBotarium())},{default:R(()=>[X$,Q$]),_:1},8,["selected"])]}),"slot-2":R(()=>{var l,c;return[P(a,{selected:!((l=e.dependencies)!=null&&l.includes("architectury-api"))&&!((c=e.dependencies)!=null&&c.includes("botarium")),onClick:t[2]||(t[2]=u=>e.unselect())},{default:R(()=>[Z$,eS]),_:1},8,["selected"])]}),_:1})])}const nS=Ae(z$,[["render",tS]]);function sS(e,t,n){var s;return`{ +}`}function L2(e,t=!0){return za()?gt("api",e,t,'fg.deobf("%%")'):Ka()?gt("api",e,t):gt("modApi",e,t)}function O2(e,t=!0){return za()?gt("implementation",e,t,'fg.deobf("%%")'):Ka()?gt("implementation",e,t):gt("modImplementation",e,t)}function I2(e,t=!0){return za()?gt("compileOnly",e,t,'fg.deobf("%%")'):Ka()?gt("compileOnly",e,t):gt("modCompileOnly",e,t)}function M2(e,t=!0){return za()?gt("runtimeOnly",e,t,'fg.deobf("%%")'):Ka()?gt("runtimeOnly",e,t):gt("modRuntimeOnly",e,t)}function gu(e,t,n=!0){return e==="Api"?L2(t,n):e==="Implementation"?O2(t,n):e==="CompileOnly"?I2(t,n):e==="RuntimeOnly"?M2(t,n):e==="Mappings"?gt("mappings",t,n):e==="Forge"?gt("forge",t,n):e==="NeoForge"?gt("neoforge",t,n):t}const N2={},P2={class:"p-5 bg-base-l1 shadow-sm rounded-lg"};function R2(e,t){return A(),I("div",P2,[Ze(e.$slots,"default")])}const Ht=Ae(N2,[["render",R2]]);var F2=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],s=0;s"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=bu[t.format]||bu.default;window.clipboardData.setData(d,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(i),a.selectNodeContents(i),o.addRange(a);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch(u){n&&console.error("unable to copy using execCommand: ",u),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),s=U2("message"in t?t.message:j2),window.prompt(s,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(a):o.removeAllRanges()),i&&document.body.removeChild(i),r()}return l}var V2=H2;const B2=Zi(V2);function dp(e,t){t!==void 0&&(B2(t),ri().addNotification({message:e.t("message.copy.clipboard")}))}const fp=me({__name:"CopyableIcon",props:{strokeWidth:{}},setup(e){return(t,n)=>(A(),fe(X(W_),{class:"min-w-[20px] w-[20px] ml-[1px] mr-[-.3rem]",strokeWidth:t.strokeWidth??"2"},null,8,["strokeWidth"]))}}),Qr=me({__name:"Copyable",props:{copy:{},strokeWidth:{}},setup(e){return(t,n)=>(A(),I("div",{class:"whitespace-nowrap [&_>*]:hover:underline [&_>*]:cursor-pointer",onClick:n[0]||(n[0]=s=>X(dp)(t.$i18n,t.copy))},[m("span",null,[Ze(t.$slots,"default")]),P(fp,{class:"inline-block pl-0.5",strokeWidth:t.strokeWidth},null,8,["strokeWidth"])]))}}),G2={},W2={class:"sm:w-[var(--sidebar-width)] sm:min-w-[var(--sidebar-width)]"};function z2(e,t){return A(),I("div",W2,[Ze(e.$slots,"default",{},void 0,!0)])}const qa=Ae(G2,[["render",z2],["__scopeId","data-v-775ebf96"]]),K2={class:"text-center items-center justify-center grid"},q2={class:"flex gap-4 items-center justify-center animate-pulse animate-bounce"},Y2=Ma('',1),J2={class:"font-medium text-xl"},pp=me({__name:"LoadingSection",props:{text:{default:"Loading..."}},setup(e){return(t,n)=>(A(),I("div",K2,[m("div",q2,[Y2,m("p",J2,F(t.text),1)])]))}}),X2={class:"list-decimal pl-6 mt-2"},Q2=["href"],Z2={class:"text-2xl font-bold mb-2"},ek={key:0,class:"flex flex-col gap-1"},tk={key:0,class:"font-bold"},nk={class:"flex flex-col gap-0.5"},sk={class:"mt-1 flex gap-x-1"},rk=m("br",null,null,-1),ak=me({__name:"Dependencies",setup(e){const{searchData:t}=xt(ln()),{loader:n,version:s,allowSnapshots:r}=xt(yt()),a=ts(),o=je(()=>{var u,d;let{loader:i,version:l}=yt(),{searchData:c}=ln();return Object.entries(((d=(u=c.versions[i??""])==null?void 0:u.find(h=>h.version===l))==null?void 0:d.blocks)??{})});return pt(n,()=>{va(rt(a)),ys(rt(a))},{immediate:!0}),pt(s,()=>{ys(rt(a))},{immediate:!0}),pt(r,()=>{ys(rt(a))},{immediate:!0}),Gt(()=>{va(rt(a),ts().query)}),(i,l)=>Object.keys(X(t).versions).length!==0?(A(),fe(Ns,{key:0},{default:R(()=>[P(qa,{class:"flex flex-col gap-y-5"},{default:R(()=>[P(Ht,null,{default:R(()=>[P(g2,{searchData:X(t)},null,8,["searchData"])]),_:1}),P(Ht,null,{default:R(()=>[P(Ct,null,{default:R(()=>[K(F(i.$t("dependencies.toc")),1)]),_:1}),m("ol",X2,[(A(!0),I(pe,null,Ce(o.value,c=>(A(),I("li",null,[m("a",{href:"#dep-"+o.value.indexOf(c)},F(c[0]),9,Q2)]))),256))])]),_:1})]),_:1}),P(Os,{class:"flex flex-col gap-y-5"},{default:R(()=>[(A(!0),I(pe,null,Ce(o.value,([c,u])=>(A(),fe(Ht,{id:"dep-"+o.value.findIndex(d=>d[0]===c)},{default:R(()=>[m("div",Z2,F(c),1),u.mavens.length>0?(A(),I("div",ek,[(A(!0),I(pe,null,Ce(u.mavens,d=>(A(),I("div",null,[u.mavens.indexOf(d)===0&&!d.subtitle?(A(),I("div",tk,F(i.$t("dependencies.maven.repo")),1)):de("",!0),P(ci,{title:d.subtitle??""},{default:R(()=>[P(Qr,{copy:X(mu)(d.url),"stroke-width":"1"},{default:R(()=>[K(F(X(mu)(d.url)),1)]),_:2},1032,["copy"])]),_:2},1032,["title"])]))),256))])):de("",!0),m("div",nk,[(A(!0),I(pe,null,Ce(u.dependencies,d=>(A(),I("div",null,[m("p",sk,[K(F(d.name)+" ",1),P(Qr,{class:"font-bold",copy:d.version},{default:R(()=>[K(F(d.version),1)]),_:2},1032,["copy"])]),P(ci,{title:void 0},{default:R(()=>[K("dependencies {"),rk,P(Qr,{copy:X(gu)(d.type,d.notation,!1),"stroke-width":"1",class:"pl-8"},{default:R(()=>[K(F(X(gu)(d.type,d.notation,!1)),1)]),_:2},1032,["copy"]),K(" } ")]),_:2},1024)]))),256))])]),_:2},1032,["id"]))),256))]),_:1})]),_:1})):(A(),fe(pp,{key:1,class:"h-[calc(100vh-56px-24px-5rem)]"}))}}),ok=me({name:"GeneratorStepper",props:{step:{type:Number,required:!0},steps:{type:Number,required:!0}}}),ik={class:"grid grid-cols-2 stepper gap-3 sm:gap-4"},lk=["aria-disabled"],ck=["aria-disabled"],uk=["aria-disabled"],dk=["aria-disabled"];function fk(e,t,n,s,r,a){return A(),I("div",ik,[(A(!0),I(pe,null,Ce(4*e.steps,o=>(A(),I("div",null,[o%4===1?(A(),I("div",{key:0,class:"w-6 h-6 sm:w-8 sm:h-8 text-sm sm:text-md grid items-center justify-center rounded-full bg-base-400 text-base-dark-400 dark:bg-base-dark-300 dark:text-base-dark-content font-bold element","aria-disabled":e.step<(o+3)/4},F((o+3)/4),9,lk)):o%4===2?(A(),I("div",{key:1,"aria-disabled":e.step<(o+2)/4,class:"w-full h-full element"},[Ze(e.$slots,`title-${(o-2)/4}`,{},void 0,!0)],8,ck)):o%4===3?(A(),I("div",{key:2,class:"w-[.2rem] mx-auto h-full pb-[-2rem] bg-base-400 dark:bg-base-dark-300 rounded-full element","aria-disabled":e.step<(o+1)/4},null,8,uk)):o%4===0?(A(),I("div",{key:3,class:"w-full element","aria-disabled":e.stepe===r||mp()&&t.includes(r);return(s("fabric")||s("quilt"))&&n.push({id:"modmenu",name:"ModMenu",descriptions:["Adds a screen for viewing a list of installed mods."],modLoaders:["fabric","quilt"]}),n.push({id:"cloth-config",name:"Cloth Config",descriptions:["A client-sided configuration screen library, includes Auto Config."],modLoaders:["forge","neoforge","fabric","quilt"]}),n.push({id:"moonlight",name:"Moonlight",descriptions:["Forge and Fabric lightweight library with utilities such as custom Villagers AI, custom Map Markers..."],modLoaders:["forge","fabric","quilt"]}),n.push({id:"trinkets",name:"Trinkets",descriptions:["A data-driven accessory mod"],modLoaders:["forge","fabric","quilt"]}),n.push({id:"jei",name:"Just Enough Items",descriptions:["View Items and Recipes."],modLoaders:["forge","fabric","quilt"]}),n.push({id:"rei",name:"Roughly Enough Items",descriptions:["Clean and Customizable. An easy way to browse recipes."],modLoaders:["forge","neoforge","fabric","quilt"]}),(s("fabric")||s("quilt"))&&(n.push({id:"forge-config-api",name:"Forge Config API Port",descriptions:["Forge's whole config system provided to the Fabric ecosystem. Designed for a multiloader architecture."],modLoaders:["fabric","quilt"]}),n.push({id:"yacl",name:"YetAnotherConfigLib",descriptions:["A builder-based configuration library for Minecraft."],modLoaders:["fabric","quilt"]}),n.push({id:"cc",name:"Cardinal Components",descriptions:["API for data-driven content."],modLoaders:["fabric","quilt"]}),n.push({id:"owo",name:"oωo",descriptions:["A general utility, GUI and config library for modding on Fabric and Quilt"],modLoaders:["fabric","quilt"]})),n}function rl(){const e=Ye();if(e.mainClass)return e.mainClass;let t=e.name.trim();return t=t.replace(/(?:^|\s|-)\S/g,n=>n.toUpperCase()),t=t.replace(/[^a-zA-Z]/g," "),t=t.replace(/\s/g,""),t.length==0&&(t="Main"),t}function hp(){const e=Ye();return e.clientClass?e.clientClass:rl()+"Client"}function gp(){const e=Ye();if(e.modId)return e.modId;let t=e.name.trim();return t=t.replace(/[^a-zA-Z]/g," "),t=t.replace(/\s/g,"-"),t=t.toLowerCase(),t.length==0&&(t="modid"),t=t.substring(0,32),t}const bk=me({name:"GeneratorOptions",props:{size:{type:Number,required:!0}}});function _k(e,t,n,s,r,a){return A(),I("div",{class:Ie(["grid sm:grid-cols-2 gap-4 md:grid-cols-3",e.size>=4?"lg:grid-cols-4":""])},[(A(!0),I(pe,null,Ce(e.size,o=>Ze(e.$slots,`slot-${o-1}`)),256))],2)}const mn=Ae(bk,[["render",_k]]),vk=me({name:"GeneratorOptionEntry",props:{selected:{type:Boolean,required:!0}}}),yk=["aria-selected"];function wk(e,t,n,s,r,a){return A(),I("button",{"aria-selected":e.selected,class:"py-3 px-4 flex-1 flex flex-col gap-2 text-left rounded-lg bg-base-400 dark:bg-base-dark-200 bg-opacity-50 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[Ze(e.$slots,"default",{},void 0,!0)],8,yk)}const hn=Ae(vk,[["render",wk],["__scopeId","data-v-1c485f7f"]]),kk=me({name:"GeneratorTemplateBase",components:{GeneratorDescription:os,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["template"])},methods:{selectTemplate(e){this.template===e?this.template=null:this.template=e,hk()}}}),Ek={class:"w-full flex flex-col gap-4"},$k=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Fabric"),m("span",{class:"text-sm"},"for 1.14 to latest"),m("a",{href:"https://www.fabricmc.net/",class:"text-sm font-semibold underline",tabindex:"-1"},"fabricmc.net")],-1),Sk={class:"flex flex-col text-left"},Ck={class:"font-semibold text-sm"},xk=m("span",{class:"text-sm"},"✔ IntelliJ, VSCode, Eclipse",-1),Ak={class:"flex flex-col text-left"},Tk={class:"font-semibold text-sm"},Lk=m("span",{class:"text-sm"},"✔ Comprehensive API",-1),Ok=m("span",{class:"text-sm"},"✔ Supports Groovy / Kotlin Gradle",-1),Ik=m("span",{class:"text-sm"},[K("✔ Supports Kotlin Language "),m("span",{class:"whitespace-nowrap"},"(via 1st party external library)")],-1),Mk=m("span",{class:"text-sm"},"✔ Supports Mixin",-1),Nk=m("span",{class:"text-sm"},"✔ Only uses Official Gradle Plugins",-1),Pk=m("span",{class:"text-sm"},"✔ Trivial Data Generators",-1),Rk=m("span",{class:"text-sm"},"✔ Supports Split Client & Common Sources",-1),Fk=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Forge"),m("span",{class:"text-sm"},"for 1.13 to latest"),m("a",{href:"https://files.minecraftforge.net/",class:"text-sm font-semibold underline",tabindex:"-1"},"minecraftforge.net")],-1),Dk={class:"flex flex-col text-left"},jk={class:"font-semibold text-sm"},Uk=m("span",{class:"text-sm"},"✔ IntelliJ, VSCode, Eclipse",-1),Hk={class:"flex flex-col text-left"},Vk={class:"font-semibold text-sm"},Bk=m("span",{class:"text-sm"},"✔ Comprehensive API",-1),Gk=m("span",{class:"text-sm"},"✔ Supports Groovy / Kotlin Gradle",-1),Wk=m("span",{class:"text-sm"},[K("✔ Supports Kotlin Language "),m("span",{class:"whitespace-nowrap"},"(via 3rd party external library)")],-1),zk=m("span",{class:"text-sm"},"✔ Supports Mixin",-1),Kk=m("span",{class:"text-sm"},"✔ Only uses Official Gradle Plugins",-1),qk=m("span",{class:"text-sm"},"✔ Trivial Data Generators",-1),Yk=m("span",{class:"text-sm"},"✘ Supports Split Client & Common Sources",-1),Jk=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Architectury"),m("span",{class:"text-sm"},"for 1.16 to latest")],-1),Xk={class:"flex flex-col text-left w-full"},Qk={class:"font-semibold text-sm"},Zk=m("span",{class:"text-sm w-full grid grid-cols-2 gap-2"},[m("span",null,"✔ IntelliJ, VSCode"),m("span",null,"✘ Eclipse")],-1),eE={class:"flex flex-col text-left"},tE={class:"font-semibold text-sm"},nE=m("span",{class:"text-sm"},[K("✔ Comprehensive API "),m("span",{class:"whitespace-nowrap"},"(via optional external library)")],-1),sE=m("span",{class:"text-sm"},"✔ Supports Groovy / Kotlin Gradle",-1),rE=m("span",{class:"text-sm"},[K("✔ Supports Kotlin Language "),m("span",{class:"whitespace-nowrap"},"(via 3rd party external library)")],-1),aE=m("span",{class:"text-sm"},"✔ Supports Mixin",-1),oE=m("span",{class:"text-sm"},[K("✘ Only uses Official Gradle Plugins "),m("span",{class:"whitespace-nowrap"},"(Architectury Loom used)")],-1),iE=m("span",{class:"text-sm"},[K("✘ Trivial Data Generators "),m("span",{class:"whitespace-nowrap"},"(only via Fabric / Forge setups)")],-1),lE=m("span",{class:"text-sm"},"✘ Supports Split Client & Common Sources",-1);function cE(e,t,n,s,r,a){const o=ye("generator-description"),i=ye("GeneratorOptionEntry"),l=ye("GeneratorOptions");return A(),I("div",Ek,[P(o,null,{default:R(()=>[K(F(e.$t("generator.template.base.description")),1)]),_:1}),P(l,{size:5},{"slot-0":R(()=>[P(i,{selected:e.template==="fabric",onClick:t[0]||(t[0]=c=>e.selectTemplate("fabric"))},{default:R(()=>[$k,m("span",Sk,[m("span",Ck,F(e.$t("generator.template.base.details.ide")),1),xk]),m("span",Ak,[m("span",Tk,F(e.$t("generator.template.base.details.features")),1),Lk,Ok,Ik,Mk,Nk,Pk,Rk])]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.template==="forge",onClick:t[1]||(t[1]=c=>e.selectTemplate("forge"))},{default:R(()=>[Fk,m("span",Dk,[m("span",jk,F(e.$t("generator.template.base.details.ide")),1),Uk]),m("span",Hk,[m("span",Vk,F(e.$t("generator.template.base.details.features")),1),Bk,Gk,Wk,zk,Kk,qk,Yk])]),_:1},8,["selected"])]),"slot-2":R(()=>[]),"slot-3":R(()=>[P(i,{selected:e.template==="architectury",onClick:t[2]||(t[2]=c=>e.selectTemplate("architectury"))},{default:R(()=>[Jk,m("span",Xk,[m("span",Qk,F(e.$t("generator.template.base.details.ide")),1),Zk]),m("span",eE,[m("span",tE,F(e.$t("generator.template.base.details.features")),1),nE,sE,rE,aE,oE,iE,lE])]),_:1},8,["selected"])]),"slot-4":R(()=>[]),_:1})])}const _u=Ae(kk,[["render",cE]]),uE={};function dE(e,t){return A(),fe(Ro,{"enter-active-class":"duration-200 ease-out","enter-from-class":"transform opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-in","leave-from-class":"opacity-100","leave-to-class":"transform opacity-0"},{default:R(()=>[Ze(e.$slots,"default")]),_:3})}const bp=Ae(uE,[["render",dE]]),fE=me({name:"GeneratorBuildSystem",components:{TransitionFadeIn:bp,GeneratorDescription:os,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["template","gradleSystem","mappings","parchment","modLoaders","gradleLanguage","splitEnv"])},methods:{canChoosePlugin(){return this.template==="forge"},canChooseSplitEnv(){return this.template==="fabric"},canChooseMappings(){return this.template==="forge"&&this.gradleSystem==="loom"||this.template!=="forge"&&this.template!=="multiloader"},selectGradleLanguage(e){this.gradleLanguage===e?this.gradleLanguage=null:this.gradleLanguage=e},isTemplateMultiPlatform:mp}}),pE={class:"w-full flex flex-col gap-4"},mE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"ForgeGradle")],-1),hE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Used by the majority of Forge mods"),m("span",{class:"text-sm"},"✔ Only supports MCP / Mojang Mappings"),m("span",{class:"text-sm"},"✔ Officially supported by Forge")],-1),gE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Architectury Loom")],-1),bE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Built on Fabric Loom to support both Forge and Fabric"),m("span",{class:"text-sm"},"✔ Supports MCP / Mojang / Yarn Mappings"),m("span",{class:"text-sm"},"✘ Unofficial alternative, unsupported by Forge")],-1),_E=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Official Mojang")],-1),vE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Published officially by Mojang"),m("span",{class:"text-sm"},"✔ All classes, methods and fields are mapped"),m("span",{class:"text-sm"},"✔ Supported natively by both Fabric and Forge"),m("span",{class:"text-sm"},"✘ Parameters not provided by Mojang (optionally via community-sourced Parchment)")],-1),yE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Yarn"),m("span",{class:"text-sm"},"from FabricMC")],-1),wE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Free and Open Source"),m("span",{class:"text-sm"},"✔ Subjectively Superior Names"),m("span",{class:"text-sm"},"✘ Not supported by Forge")],-1),kE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Quilt Mappings"),m("span",{class:"text-sm"},"from QuiltMC")],-1),EE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Free and Open Source"),m("span",{class:"text-sm"},"✔ Subjectively Superior Names"),m("span",{class:"text-sm"},"✘ Not supported by Forge")],-1),$E={key:1,class:"flex gap-3 items-center"},SE={for:"parchment-toggle",class:"select-none"},CE={key:5,class:"flex gap-3 items-center"},xE=m("label",{for:"split-env-toggle",class:"select-none"},"Enable Split Client and Common Environments",-1),AE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Groovy")],-1),TE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Kotlin (KTS)")],-1);function LE(e,t,n,s,r,a){var u;const o=ye("generator-description"),i=ye("GeneratorOptionEntry"),l=ye("GeneratorOptions"),c=ye("transition-fade-in");return A(),I("div",pE,[e.canChoosePlugin()?(A(),fe(o,{key:0},{default:R(()=>[K(F(e.$t("generator.build.system.description.forge")),1)]),_:1})):de("",!0),e.canChoosePlugin()?(A(),fe(l,{key:1,size:2},{"slot-0":R(()=>[P(i,{selected:e.gradleSystem==="fg",onClick:t[0]||(t[0]=d=>e.gradleSystem="fg")},{default:R(()=>[mE,hE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.gradleSystem==="loom",onClick:t[1]||(t[1]=d=>e.gradleSystem="loom")},{default:R(()=>[gE,bE]),_:1},8,["selected"])]),_:1})):de("",!0),e.canChooseMappings()?(A(),fe(o,{key:2},{default:R(()=>[K(F(e.$t("generator.build.system.description.mappings")),1)]),_:1})):de("",!0),e.canChooseMappings()?(A(),fe(l,{key:3,size:3},Ni({"slot-0":R(()=>[P(i,{selected:e.mappings==="mojmap",onClick:t[2]||(t[2]=d=>e.mappings="mojmap")},{default:R(()=>[_E,vE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.mappings==="yarn",onClick:t[3]||(t[3]=d=>e.mappings="yarn")},{default:R(()=>[yE,wE]),_:1},8,["selected"])]),_:2},[e.template==="quilt"||e.isTemplateMultiPlatform()&&((u=e.modLoaders)!=null&&u.includes("quilt"))||e.mappings==="quilt"?{name:"slot-2",fn:R(()=>[P(i,{selected:e.mappings==="quilt",onClick:t[4]||(t[4]=d=>e.mappings="quilt")},{default:R(()=>[kE,EE]),_:1},8,["selected"])]),key:"0"}:void 0]),1024)):de("",!0),P(c,null,{default:R(()=>[e.canChooseMappings()&&e.mappings==="mojmap"?(A(),fe(o,{key:0},{default:R(()=>[K(F(e.$t("generator.build.system.description.mappings.parchment")),1)]),_:1})):de("",!0),e.canChooseMappings()&&e.mappings==="mojmap"?(A(),I("div",$E,[Lt(m("input",{type:"checkbox",id:"parchment-toggle","onUpdate:modelValue":t[5]||(t[5]=d=>e.parchment=d)},null,512),[[Es,e.parchment]]),m("label",SE,F(e.$t("generator.build.system.description.mappings.parchment.toggle")),1)])):de("",!0)]),_:1}),e.canChooseSplitEnv()?(A(),fe(o,{key:4},{default:R(()=>[K(F(e.$t("generator.build.system.description.env.split")),1)]),_:1})):de("",!0),e.canChooseSplitEnv()?(A(),I("div",CE,[Lt(m("input",{type:"checkbox",id:"split-env-toggle","onUpdate:modelValue":t[6]||(t[6]=d=>e.splitEnv=d)},null,512),[[Es,e.splitEnv]]),xE])):de("",!0),P(o,null,{default:R(()=>[K(F(e.$t("generator.build.system.description.gradle.language")),1)]),_:1}),P(l,{size:2},{"slot-0":R(()=>[P(i,{selected:e.gradleLanguage==="groovy",onClick:t[7]||(t[7]=d=>e.selectGradleLanguage("groovy"))},{default:R(()=>[AE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.gradleLanguage==="kts",onClick:t[8]||(t[8]=d=>e.selectGradleLanguage("kts"))},{default:R(()=>[TE]),_:1},8,["selected"])]),_:1})])}const OE=Ae(fE,[["render",LE]]),IE=me({name:"GeneratorModLoaders",components:{TransitionFadeIn:bp,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["template","modLoaders","fabricLike"])},methods:{canChooseFabricLike(){return this.template==="architectury"&&this.modLoaders.includes("fabric")&&this.modLoaders.includes("quilt")},selectModLoader(e){this.modLoaders.includes(e)?this.modLoaders=this.modLoaders.filter(t=>t!==e):this.modLoaders.push(e)}}}),ME={class:"w-full flex flex-col gap-4"},NE=m("span",null,[K(" Since you have selected a template that supports multiple mod loaders, you need to select the ones to support. "),m("br"),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Fabric"),K(" and "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Forge"),K(" has been selected by default for you, but feel free to change them as you see fit. ")],-1),PE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Fabric")],-1),RE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Forge")],-1),FE=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Quilt")],-1),DE={key:0},jE=m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Fabric-Like Intermediary",-1),UE={key:1,class:"flex gap-3 items-center"},HE=m("label",{for:"fabric-like-toggle",class:"select-none"},"Enable Fabric-Like Intermediary",-1);function VE(e,t,n,s,r,a){const o=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions"),l=ye("transition-fade-in");return A(),I("div",ME,[NE,P(i,{size:3},{"slot-0":R(()=>[P(o,{selected:e.modLoaders.includes("fabric"),onClick:t[0]||(t[0]=c=>e.selectModLoader("fabric"))},{default:R(()=>[PE]),_:1},8,["selected"])]),"slot-1":R(()=>[P(o,{selected:e.modLoaders.includes("forge"),onClick:t[1]||(t[1]=c=>e.selectModLoader("forge"))},{default:R(()=>[RE]),_:1},8,["selected"])]),"slot-2":R(()=>[P(o,{selected:e.modLoaders.includes("quilt"),onClick:t[2]||(t[2]=c=>e.selectModLoader("quilt"))},{default:R(()=>[FE]),_:1},8,["selected"])]),_:1}),P(l,null,{default:R(()=>[e.canChooseFabricLike()?(A(),I("span",DE,[K(" Having chosen both Fabric and Quilt, you may choose to enable the "),jE,K(" subproject, used to call Fabric APIs. This can be used to call code that is not specific to neither Fabric nor Quilt, such as hooks that will apply to both Fabric and Quilt. ")])):de("",!0),e.canChooseFabricLike()?(A(),I("div",UE,[Lt(m("input",{type:"checkbox",id:"fabric-like-toggle","onUpdate:modelValue":t[3]||(t[3]=c=>e.fabricLike=c)},null,512),[[Es,e.fabricLike]]),HE])):de("",!0)]),_:1})])}const BE=Ae(IE,[["render",VE]]),GE=me({name:"GenertatorModConfiguration",components:{GeneratorDescription:os,GeneratorOptionEntry:hn,GeneratorOptions:mn,IconLock:nv,IconLockOpen:tv},computed:{...Et(Ye,["name","description","license","modId","version","mainClass","clientClass","package","authors"])},methods:{generateModID:gp,generateMainClassName:rl,generateClientClassName:hp}}),WE=e=>(Rn("data-v-bc015907"),e=e(),Fn(),e),zE={class:"w-full flex flex-col gap-4"},KE={class:"w-full sm:w-[60%] grid sm:input-grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-1.5 items-center min-w-10 max-w-full"},qE={for:"mod-name"},YE={for:"mod-description"},JE={for:"mod-license"},XE={for:"main-class"},QE={class:"flex gap-1.5"},ZE=["disabled","value"],e$={for:"client-class"},t$={class:"flex gap-1.5"},n$=["disabled","value"],s$={for:"mod-id"},r$={class:"flex gap-1.5"},a$=["disabled","value"],o$={for:"mod-version"},i$={for:"mod-package"},l$=WE(()=>m("div",{class:"w-0"},null,-1)),c$={class:"flex flex-col gap-1.5"},u$={class:"flex gap-2"},d$=["onUpdate:modelValue"],f$=["onClick"];function p$(e,t,n,s,r,a){const o=ye("generator-description"),i=ye("IconLock"),l=ye("IconLockOpen");return A(),I("div",zE,[P(o,null,{default:R(()=>[K(F(e.$t("generator.mod.config.description")),1)]),_:1}),m("div",KE,[m("label",qE,F(e.$t("generator.mod.config.mod.name")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=c=>e.name=c),id:"mod-name",class:"text-field"},null,512),[[ls,e.name]]),m("label",YE,F(e.$t("generator.mod.config.mod.description")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=c=>e.description=c),id:"mod-description",class:"text-field"},null,512),[[ls,e.description]]),m("label",JE,F(e.$t("generator.mod.config.mod.license")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=c=>e.license=c),id:"mod-license",class:"text-field"},null,512),[[ls,e.license]]),m("label",XE,F(e.$t("generator.mod.config.mod.main.class")),1),m("div",QE,[m("input",{type:"text",disabled:!e.mainClass,value:e.mainClass??e.generateMainClassName(),id:"main-class",onChange:t[3]||(t[3]=c=>e.mainClass=c.target.value),class:"text-field flex-1 min-w-0"},null,40,ZE),m("button",{class:"lock",onClick:t[4]||(t[4]=c=>e.mainClass=e.mainClass?null:e.generateMainClassName())},[e.mainClass?(A(),fe(l,{key:1})):(A(),fe(i,{key:0}))])]),m("label",e$,F(e.$t("generator.mod.config.mod.client.class")),1),m("div",t$,[m("input",{type:"text",disabled:!e.clientClass,value:e.clientClass??e.generateClientClassName(),id:"client-class",onChange:t[5]||(t[5]=c=>e.clientClass=c.target.value),class:"text-field flex-1 min-w-0"},null,40,n$),m("button",{class:"lock",onClick:t[6]||(t[6]=c=>e.clientClass=e.clientClass?null:e.generateClientClassName())},[e.clientClass?(A(),fe(l,{key:1})):(A(),fe(i,{key:0}))])]),m("label",s$,F(e.$t("generator.mod.config.mod.id")),1),m("div",r$,[m("input",{type:"text",disabled:!e.modId,value:e.modId??e.generateModID(),id:"mod-id",onChange:t[7]||(t[7]=c=>e.modId=c.target.value),class:"text-field flex-1 min-w-0"},null,40,a$),m("button",{class:"lock",onClick:t[8]||(t[8]=c=>e.modId=e.modId?null:e.generateModID())},[e.modId?(A(),fe(l,{key:1})):(A(),fe(i,{key:0}))])]),m("label",o$,F(e.$t("generator.mod.config.mod.version")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[9]||(t[9]=c=>e.version=c),id:"mod-version",class:"text-field"},null,512),[[ls,e.version]]),m("label",i$,F(e.$t("generator.mod.config.mod.package")),1),Lt(m("input",{type:"text","onUpdate:modelValue":t[10]||(t[10]=c=>e.package=c),id:"mod-package",class:"text-field"},null,512),[[ls,e.package]]),m("span",null,F(e.$t("generator.mod.config.mod.authors")),1),m("button",{class:"ml-auto w-9 h-9 bg-base-600 dark:bg-base-dark-500 bg-opacity-50 hover:bg-opacity-100 transition-all rounded-full font-bold",onClick:t[11]||(t[11]=c=>e.authors.push(""))},"+ "),l$,m("div",c$,[(A(!0),I(pe,null,Ce(e.authors.length,c=>(A(),I("div",u$,[Lt(m("input",{type:"text","onUpdate:modelValue":u=>e.authors[c-1]=u,class:"flex-1 text-field min-w-0"},null,8,d$),[[ls,e.authors[c-1]]]),m("button",{class:"ml-auto w-9 h-9 bg-base-600 dark:bg-base-dark-500 bg-opacity-50 hover:bg-opacity-100 transition-all rounded-full font-bold flex-none",onClick:u=>e.authors.splice(c-1,1)},"- ",8,f$)]))),256))])])])}const m$=Ae(GE,[["render",p$],["__scopeId","data-v-bc015907"]]),h$=me({name:"GeneratorMixinConfiguration",components:{GeneratorDescription:os,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["template","mixin","modLoaders"])},methods:{hasFabric(){return this.template==="fabric"||this.template==="architectury"||this.template==="multiloader"&&this.modLoaders.includes("fabric")},selectMixin(e){this.mixin===e?this.mixin=null:this.mixin=e}}}),g$={class:"w-full flex flex-col gap-4"},b$=m("br",null,null,-1),_$=m("br",null,null,-1),v$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Enable Mixins")],-1),y$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Disable Mixins")],-1);function w$(e,t,n,s,r,a){const o=ye("generator-description"),i=ye("GeneratorOptionEntry"),l=ye("GeneratorOptions");return A(),I("div",g$,[m("div",null,[P(o,null,{default:R(()=>[K(F(e.$t("generator.mixins.config.description.1")),1)]),_:1}),e.hasFabric()?(A(),fe(o,{key:0},{default:R(()=>[K(F(` +`+e.$t("generator.mixins.config.description.fabric")),1)]),_:1})):de("",!0),b$,_$,P(o,null,{default:R(()=>[K(F(e.$t("generator.mixins.config.description.2")),1)]),_:1})]),P(l,{size:2},{"slot-0":R(()=>[P(i,{selected:e.mixin===!0,onClick:t[0]||(t[0]=c=>e.selectMixin(!0))},{default:R(()=>[v$]),_:1},8,["selected"])]),"slot-1":R(()=>[P(i,{selected:e.mixin===!1,onClick:t[1]||(t[1]=c=>e.selectMixin(!1))},{default:R(()=>[y$]),_:1},8,["selected"])]),_:1})])}const k$=Ae(h$,[["render",w$]]),E$=me({name:"GeneratorDummyDependencies"}),$$={class:"w-full flex flex-col gap-4"},S$=m("span",null,[K(" We are now at the last step of the setup process. Let's choose the main library we want to use. "),m("br"),K(" This is the library we use to register our blocks, items, entities, etc. "),m("br"),m("br"),K(" But of course, you can always go without one and experiment on your own. ")],-1),C$=[S$];function x$(e,t,n,s,r,a){return A(),I("div",$$,C$)}const A$=Ae(E$,[["render",x$]]),T$=me({name:"GeneratorFabricDependencies",components:{GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["dependencies"])},methods:{selectFabricApi(e){this.dependencies&&(e?this.dependencies.push("fabric-api"):this.dependencies=this.dependencies.filter(t=>t!=="fabric-api"))}}}),L$={class:"w-full flex flex-col gap-4"},O$=m("span",null,[K(" We are now at the last step of the setup process. Let's choose the main library we want to use. "),m("br"),K(" This is the library we use to register our blocks, items, entities, etc. "),m("br"),m("br"),K(" But of course, you can always go without one and experiment on your own. ")],-1),I$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Fabric API"),m("span",{class:"text-sm"},"from FabricMC")],-1),M$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ Used by the majority of Fabric mods"),m("span",{class:"text-sm"},[K("✔ Includes common hooks, such as registration, events, mod "),m("span",{class:"whitespace-nowrap"},"inter-compatibility"),K(" interfaces")])],-1),N$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"No Library")],-1),P$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ No extra dependencies for users to install")],-1);function R$(e,t,n,s,r,a){const o=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions");return A(),I("div",L$,[O$,P(i,{size:2},{"slot-0":R(()=>{var l;return[P(o,{selected:!!((l=e.dependencies)!=null&&l.includes("fabric-api")),onClick:t[0]||(t[0]=c=>e.selectFabricApi(!0))},{default:R(()=>[I$,M$]),_:1},8,["selected"])]}),"slot-1":R(()=>{var l;return[P(o,{selected:!((l=e.dependencies)!=null&&l.includes("fabric-api")),onClick:t[1]||(t[1]=c=>e.selectFabricApi(!1))},{default:R(()=>[N$,P$]),_:1},8,["selected"])]}),_:1})])}const F$=Ae(T$,[["render",R$]]),D$=me({name:"GeneratorCommonDependencies",components:{GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["dependencies"]),freeDependencies(){return gk()}},methods:{selectDependency(e){this.dependencies&&(this.dependencies.includes(e)?this.dependencies=this.dependencies.filter(t=>t!==e):this.dependencies.push(e))}}}),j$={class:"w-full flex flex-col gap-4"},U$=m("span",null," Lastly, if you want to add any additional dependencies, you can do so here. ",-1),H$={class:"flex flex-col text-left"},V$={class:"font-semibold"},B$={class:"flex gap-x-1.5"},G$={class:"bg-base-500 dark:bg-base-dark-500 rounded-md text-[.75rem] px-[.438rem] inline-flex items-center justify-center h-4"},W$={key:0,class:"flex flex-col text-left"},z$={class:"text-sm"};function K$(e,t,n,s,r,a){const o=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions");return A(),I("div",j$,[U$,P(i,{size:e.freeDependencies.length},Ni({_:2},[Ce(e.freeDependencies.length,l=>({name:`slot-${l-1}`,fn:R(()=>{var c;return[P(o,{selected:!!((c=e.dependencies)!=null&&c.includes(e.freeDependencies[l-1].id)),onClick:u=>e.selectDependency(e.freeDependencies[l-1].id)},{default:R(()=>[m("span",H$,[m("span",V$,F(e.freeDependencies[l-1].name),1),m("span",B$,[(A(!0),I(pe,null,Ce(e.freeDependencies[l-1].modLoaders,u=>(A(),I("span",G$,F(u),1))),256))])]),e.freeDependencies[l-1].descriptions?(A(),I("span",W$,[(A(!0),I(pe,null,Ce(e.freeDependencies[l-1].descriptions,u=>(A(),I("span",z$,F(u),1))),256))])):de("",!0)]),_:2},1032,["selected","onClick"])]})}))]),1032,["size"])])}const vu=Ae(D$,[["render",K$]]),q$=me({name:"GeneratorArchitecturyDependencies",components:{GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["dependencies"])},methods:{selectArchitecturyApi(){this.dependencies&&(this.unselect(),this.dependencies.push("architectury-api"))},selectBotarium(){this.dependencies&&(this.unselect(),this.dependencies.push("botarium"))},unselect(){this.dependencies&&(this.dependencies=this.dependencies.filter(e=>e!=="botarium"&&e!=="architectury-api"))}}}),Y$={class:"w-full flex flex-col gap-4"},J$=m("span",null,[K(" We are now at the last step of the setup process. Let's choose the main library we want to use. "),m("br"),K(" This is the library we use to register our blocks, items, entities, etc. "),m("br"),K(" Traditionally, "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Architectury API"),K(" is the default for Architectury projects, as it packs most of the hooks and events you need to get started. "),m("br"),K(" However, "),m("span",{class:"underline underline-offset-2 decoration-2 font-semibold"},"Botarium"),K(" is an alternative that contains a rudimentary transfer api for item, fluid, energy containers, but does not offer as many hooks and events as Architectury API. "),m("br"),m("br"),K(" But of course, you can always go without one and experiment on your own. ")],-1),X$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Architectury API"),m("span",{class:"text-sm"},"from Architectury")],-1),Q$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},[K("✔ Includes common hooks, such as registration, mod "),m("span",{class:"whitespace-nowrap"},"inter-compatibility"),K(" interfaces")]),m("span",{class:"text-sm"},"✔ Includes 80+ event hooks"),m("span",{class:"text-sm"},"✔ Includes networking abstraction")],-1),Z$=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"Botarium"),m("span",{class:"text-sm"},"from Terrarium")],-1),e4=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},[K("✔ Includes common hooks, such as registration, mod "),m("span",{class:"whitespace-nowrap"},"inter-compatibility"),K(" interfaces")]),m("span",{class:"text-sm"},"✔ Support for transfer api for item, fluid, energy containers")],-1),t4=m("span",{class:"flex flex-col text-left"},[m("span",{class:"font-semibold"},"No Library")],-1),n4=m("span",{class:"flex flex-col text-left"},[m("span",{class:"text-sm"},"✔ No extra dependencies for users to install")],-1);function s4(e,t,n,s,r,a){const o=ye("GeneratorOptionEntry"),i=ye("GeneratorOptions");return A(),I("div",Y$,[J$,P(i,{size:3},{"slot-0":R(()=>{var l;return[P(o,{selected:!!((l=e.dependencies)!=null&&l.includes("architectury-api")),onClick:t[0]||(t[0]=c=>e.selectArchitecturyApi())},{default:R(()=>[X$,Q$]),_:1},8,["selected"])]}),"slot-1":R(()=>{var l;return[P(o,{selected:!!((l=e.dependencies)!=null&&l.includes("botarium")),onClick:t[1]||(t[1]=c=>e.selectBotarium())},{default:R(()=>[Z$,e4]),_:1},8,["selected"])]}),"slot-2":R(()=>{var l,c;return[P(o,{selected:!((l=e.dependencies)!=null&&l.includes("architectury-api"))&&!((c=e.dependencies)!=null&&c.includes("botarium")),onClick:t[2]||(t[2]=u=>e.unselect())},{default:R(()=>[t4,n4]),_:1},8,["selected"])]}),_:1})])}const r4=Ae(q$,[["render",s4]]);function a4(e,t,n){var s;return`{ "schemaVersion": 1, "id": "${e.modId}", "version": "\${version}", @@ -110,7 +120,7 @@ https://fabricmc.net/wiki/tutorial:mixin_introduction`,"generator.mixins.config. "java": ">=${n}" } } -`}function rS(){return`#!/bin/sh +`}function o4(){return`#!/bin/sh # # Copyright © 2015-2021 the original authors. @@ -354,7 +364,7 @@ eval "set -- $( )" '"$@"' exec "$JAVACMD" "$@" -`}function oS(){return`@rem +`}function i4(){return`@rem @rem Copyright 2015 the original author or authors. @rem @rem Licensed under the Apache License, Version 2.0 (the "License"); @@ -446,7 +456,7 @@ exit /b %EXIT_CODE% if "%OS%"=="Windows_NT" endlocal :omega -`}function aS(e,t){if(!t)return iS(e);let n=`pluginManagement { +`}function l4(e,t){if(!t)return c4(e);let n=`pluginManagement { repositories { `;for(const{name:s,url:r}of e)n+=` maven { name = "${s}" @@ -456,7 +466,7 @@ if "%OS%"=="Windows_NT" endlocal gradlePluginPortal() } } -`,n}function iS(e){let t=`pluginManagement { +`,n}function c4(e){let t=`pluginManagement { repositories { `;for(const{name:n,url:s}of e)t+=` maven("${s}") { name = "${n}" @@ -465,7 +475,7 @@ if "%OS%"=="Windows_NT" endlocal gradlePluginPortal() } } -`,t}function lS(e,t){let n="0.14.17",s=17;t[`src/main/resources/assets/${e.modId}/fabric.mod.json`]=sS(e,n,s),t["gradle.properties"]=cS(e,n),t[e.gradleLanguage==="groovy"?"settings.gradle":"settings.gradle.kts"]=uS(e.gradleLanguage==="groovy"),t[e.gradleLanguage==="groovy"?"build.gradle":"build.gradle.kts"]=dS(e,s)}function cS(e,t){return`# Done to increase the memory available to gradle. +`,t}function u4(e,t){let n="0.14.17",s=17;t[`src/main/resources/assets/${e.modId}/fabric.mod.json`]=a4(e,n,s),t["gradle.properties"]=d4(e,n),t[e.gradleLanguage==="groovy"?"settings.gradle":"settings.gradle.kts"]=f4(e.gradleLanguage==="groovy"),t[e.gradleLanguage==="groovy"?"build.gradle":"build.gradle.kts"]=p4(e,s)}function d4(e,t){return`# Done to increase the memory available to gradle. org.gradle.jvmargs=-Xmx1G org.gradle.parallel=true @@ -482,7 +492,7 @@ org.gradle.parallel=true # Dependencies fabric_version=0.75.3+1.19.4 -`}function uS(e){return aS([{name:"FabricMC",url:"https://maven.fabricmc.net/"}],e)}function dS(e,t){const n=e.gradleLanguage==="groovy";return`plugins {${n?` +`}function f4(e){return l4([{name:"FabricMC",url:"https://maven.fabricmc.net/"}],e)}function p4(e,t){const n=e.gradleLanguage==="groovy";return`plugins {${n?` id "fabric-loom" version "1.1-SNAPSHOT" id "maven-publish"`:'\nid("fabric-loom") version "1.1-SNAPSHOT"\n `maven-publish`'} } @@ -561,47 +571,47 @@ publishing { // retrieving dependencies. } } -`}function yu(){let e=Je();return e=JSON.parse(JSON.stringify(e)),e.mainClass=e.mainClass||rl(),e.clientClass=e.clientClass||hp(),e.modId=e.modId||gp(),new Promise((t,n)=>{let s={};e.template==="fabric"&&lS(e,s),s.gradlew=rS(),s["gradlew.bat"]=oS(),t(s)}).finally(()=>{Je().generating=!1})}var _p={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +`}function yu(){let e=Ye();return e=JSON.parse(JSON.stringify(e)),e.mainClass=e.mainClass||rl(),e.clientClass=e.clientClass||hp(),e.modId=e.modId||gp(),new Promise((t,n)=>{let s={};e.template==="fabric"&&u4(e,s),s.gradlew=o4(),s["gradlew.bat"]=i4(),t(s)}).finally(()=>{Ye().generating=!1})}var _p={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var n=function(s){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,a={},i={manual:s.Prism&&s.Prism.manual,disableWorkerMessageHandler:s.Prism&&s.Prism.disableWorkerMessageHandler,util:{encode:function b(y){return y instanceof l?new l(y.type,b(y.content),y.alias):Array.isArray(y)?y.map(b):y.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch($){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec($.stack)||[])[1];if(b){var y=document.getElementsByTagName("script");for(var v in y)if(y[v].src==b)return y[v]}return null}},isActive:function(b,y,v){for(var $="no-"+y;b;){var S=b.classList;if(S.contains(y))return!0;if(S.contains($))return!1;b=b.parentElement}return!!v}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(b,y){var v=i.util.clone(i.languages[b]);for(var $ in y)v[$]=y[$];return v},insertBefore:function(b,y,v,$){$=$||i.languages;var S=$[b],T={};for(var x in S)if(S.hasOwnProperty(x)){if(x==y)for(var N in v)v.hasOwnProperty(N)&&(T[N]=v[N]);v.hasOwnProperty(x)||(T[x]=S[x])}var z=$[b];return $[b]=T,i.languages.DFS(i.languages,function(q,G){G===z&&q!=b&&(this[q]=T)}),T},DFS:function b(y,v,$,S){S=S||{};var T=i.util.objId;for(var x in y)if(y.hasOwnProperty(x)){v.call(y,x,y[x],$||x);var N=y[x],z=i.util.type(N);z==="Object"&&!S[T(N)]?(S[T(N)]=!0,b(N,v,null,S)):z==="Array"&&!S[T(N)]&&(S[T(N)]=!0,b(N,v,x,S))}}},plugins:{},highlightAll:function(b,y){i.highlightAllUnder(document,b,y)},highlightAllUnder:function(b,y,v){var $={callback:v,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",$),$.elements=Array.prototype.slice.apply($.container.querySelectorAll($.selector)),i.hooks.run("before-all-elements-highlight",$);for(var S=0,T;T=$.elements[S++];)i.highlightElement(T,y===!0,$.callback)},highlightElement:function(b,y,v){var $=i.util.getLanguage(b),S=i.languages[$];i.util.setLanguage(b,$);var T=b.parentElement;T&&T.nodeName.toLowerCase()==="pre"&&i.util.setLanguage(T,$);var x=b.textContent,N={element:b,language:$,grammar:S,code:x};function z(G){N.highlightedCode=G,i.hooks.run("before-insert",N),N.element.innerHTML=N.highlightedCode,i.hooks.run("after-highlight",N),i.hooks.run("complete",N),v&&v.call(N.element)}if(i.hooks.run("before-sanity-check",N),T=N.element.parentElement,T&&T.nodeName.toLowerCase()==="pre"&&!T.hasAttribute("tabindex")&&T.setAttribute("tabindex","0"),!N.code){i.hooks.run("complete",N),v&&v.call(N.element);return}if(i.hooks.run("before-highlight",N),!N.grammar){z(i.util.encode(N.code));return}if(y&&s.Worker){var q=new Worker(i.filename);q.onmessage=function(G){z(G.data)},q.postMessage(JSON.stringify({language:N.language,code:N.code,immediateClose:!0}))}else z(i.highlight(N.code,N.grammar,N.language))},highlight:function(b,y,v){var $={code:b,grammar:y,language:v};if(i.hooks.run("before-tokenize",$),!$.grammar)throw new Error('The language "'+$.language+'" has no grammar.');return $.tokens=i.tokenize($.code,$.grammar),i.hooks.run("after-tokenize",$),l.stringify(i.util.encode($.tokens),$.language)},tokenize:function(b,y){var v=y.rest;if(v){for(var $ in v)y[$]=v[$];delete y.rest}var S=new d;return h(S,S.head,b),u(b,S,y,S.head,0),g(S)},hooks:{all:{},add:function(b,y){var v=i.hooks.all;v[b]=v[b]||[],v[b].push(y)},run:function(b,y){var v=i.hooks.all[b];if(!(!v||!v.length))for(var $=0,S;S=v[$++];)S(y)}},Token:l};s.Prism=i;function l(b,y,v,$){this.type=b,this.content=y,this.alias=v,this.length=($||"").length|0}l.stringify=function b(y,v){if(typeof y=="string")return y;if(Array.isArray(y)){var $="";return y.forEach(function(z){$+=b(z,v)}),$}var S={type:y.type,content:b(y.content,v),tag:"span",classes:["token",y.type],attributes:{},language:v},T=y.alias;T&&(Array.isArray(T)?Array.prototype.push.apply(S.classes,T):S.classes.push(T)),i.hooks.run("wrap",S);var x="";for(var N in S.attributes)x+=" "+N+'="'+(S.attributes[N]||"").replace(/"/g,""")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+x+">"+S.content+""};function c(b,y,v,$){b.lastIndex=y;var S=b.exec(v);if(S&&$&&S[1]){var T=S[1].length;S.index+=T,S[0]=S[0].slice(T)}return S}function u(b,y,v,$,S,T){for(var x in v)if(!(!v.hasOwnProperty(x)||!v[x])){var N=v[x];N=Array.isArray(N)?N:[N];for(var z=0;z=T.reach);J+=F.value.length,F=F.next){var ae=F.value;if(y.length>b.length)return;if(!(ae instanceof l)){var ge=1,_e;if(we){if(_e=c(Q,J,b,re),!_e||_e.index>=b.length)break;var Re=_e.index,Ge=_e.index+_e[0].length,Me=J;for(Me+=F.value.length;Re>=Me;)F=F.next,Me+=F.value.length;if(Me-=F.value.length,J=Me,F.value instanceof l)continue;for(var Se=F;Se!==y.tail&&(MeT.reach&&(T.reach=ie);var ke=F.prev;se&&(ke=h(y,ke,se),J+=se.length),k(y,ke,ge);var Oe=new l(x,G?i.tokenize(H,G):H,ce,H);if(F=h(y,ke,Oe),Z&&h(y,F,Z),ge>1){var p={cause:x+","+z,reach:ie};u(b,y,v,F.prev,J,p),T&&p.reach>T.reach&&(T.reach=p.reach)}}}}}}function d(){var b={value:null,prev:null,next:null},y={value:null,prev:b,next:null};b.next=y,this.head=b,this.tail=y,this.length=0}function h(b,y,v){var $=y.next,S={value:v,prev:y,next:$};return y.next=S,$.prev=S,b.length++,S}function k(b,y,v){for(var $=y.next,S=0;S]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,s={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[s,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:s.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:s.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":s,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:s.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:s.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy})(Prism);(function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin})(Prism);(function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.gradle=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.gradle})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/};(function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},s=/"(?:[\\"]"|[^"])*"(?!")/,r=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:s,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:s,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:s,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:s,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(Prism);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=s.variable[1].inside,a=0;a{this.highlight()})},files(){this.$nextTick(()=>{this.files?(this.$refs.dialog.showModal(),this.highlight()):this.$refs.dialog.close()})}}}),mS=e=>(Rn("data-v-b405b949"),e=e(),Dn(),e),hS={ref:"dialog",class:"p-0 rounded-lg drop-shadow-lg shadow-2xl w-screen h-screen sm:w-[calc(100vw-var(--x-margin)*2)] sm:h-[calc(100vh-var(--y-margin)*2)]"},gS={class:"w-full h-full grid title-grid text-base-content dark:text-base-dark-content"},bS={key:0,class:"bg-base-400 dark:bg-base-dark-200 flex flex-initial"},_S=mS(()=>m("span",{class:"text-lg px-4 py-3 font-semibold flex-1"},"Preview Files",-1)),vS={key:1,class:"sm:rounded grid grid-setup bg-base-400 dark:bg-base-dark-200 flex-grow-0"},yS={class:"flex flex-col gap-y-0.5 overflow-auto"},wS=["onClick"],kS={class:"bg-[#2d2d2d] dark:bg-[#1d1d1d] p-2 rounded-tl-lg overflow-auto"};function ES(e,t,n,s,r,o){return A(),I("dialog",hS,[m("div",gS,[e.files?(A(),I("div",bS,[_S,m("button",{onClick:t[0]||(t[0]=a=>e.closeDialog()),class:"font-medium bg-base-800 dark:bg-base-dark-600 bg-opacity-0 dark:bg-opacity-0 hover:bg-opacity-50 dark:hover:bg-opacity-50 px-3 mx-2 my-2 rounded-md transition-[background-color]"}," Close ")])):de("",!0),e.files?(A(),I("div",vS,[m("div",yS,[(A(!0),I(pe,null,Ce(Object.keys(e.files),a=>(A(),I("button",{onClick:i=>e.selectedFile=a,class:"text-sm text-left break-all mx-2 p-1 rounded bg-base-800 dark:bg-base-dark-700 bg-opacity-0 dark:bg-opacity-0 hover:bg-opacity-50 dark:hover:bg-opacity-50 transition-[background-color]"},D(a),9,wS))),256))]),m("div",kS,[e.selectedFile?(A(),I("pre",{key:0,class:Ie(["whitespace-pre preview-code dark:bg-[#1d1d1d]","language-"+e.extension()]),ref:"source"},D(e.files[e.selectedFile]),3)):de("",!0)])])):de("",!0)])],512)}const $S=Ae(pS,[["render",ES],["__scopeId","data-v-b405b949"]]),SS=me({name:"GeneratorGenerate",components:{PreviewDialog:$S},data(){return{files:null}},computed:{...Et(Je,["generating"])},methods:{generate:yu,preview(){yu().then(e=>{this.files=e})}}}),CS={class:"w-full flex gap-3 overflow-x-auto"},xS=["disabled"];function AS(e,t,n,s,r,o){const a=ye("PreviewDialog");return A(),I(pe,null,[P(a,{files:e.files??void 0,close:()=>e.files=null},null,8,["files","close"]),m("div",CS,[m("button",{onClick:t[0]||(t[0]=i=>e.preview()),class:"bg-base-400 dark:bg-base-dark-200 bg-opacity-50 hover:bg-opacity-100 dark:hover:bg-base-dark-400 transition-all rounded-lg p-8 ml-auto text-3xl select-none"}," Preview "),m("button",{disabled:!!e.generating,onClick:t[1]||(t[1]=i=>{e.generating=!0,e.generate()}),class:"bg-base-400 dark:bg-base-dark-200 bg-opacity-50 hover:bg-opacity-100 dark:hover:bg-base-dark-400 transition-all rounded-lg p-8 mr-auto font-semibold text-3xl disabled:bg-base-500 disabled:dark:bg-base-dark-200 disabled:dark:bg-opacity-80 disabled:text-base-dark-800 disabled:dark:text-base-dark-900 select-none"}," Generate! ",8,xS)])],64)}const TS=Ae(SS,[["render",AS]]),LS=me({name:"GeneratorVersions",components:{GeneratorDescription:as,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Je,["template","gradleSystem","mappings","modLoaders","gradleLanguage","splitEnv"])},methods:{}}),OS=e=>(Rn("data-v-b4d366ba"),e=e(),Dn(),e),IS={class:"w-full flex flex-col gap-4"},NS={class:"w-full sm:w-[60%] grid sm:input-grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-1.5 items-center min-w-10 max-w-full"},MS={for:"mc-version"},PS=OS(()=>m("select",{id:"mc-version",class:"select-field"},[m("option",null,"Select a version")],-1));function RS(e,t,n,s,r,o){const a=ye("generator-description");return A(),I("div",IS,[P(a,null,{default:R(()=>[K(D(e.$t("generator.versions.description")),1)]),_:1}),m("div",NS,[m("label",MS,D(e.$t("generator.versions.version")),1),PS])])}const DS=Ae(LS,[["render",RS],["__scopeId","data-v-b4d366ba"]]),FS=me({name:"Generator",components:{NewsProjectGenerator:up,GeneratorTemplateBase:_u,GeneratorStepper:dk,Block:Ht,PageWidthLimiter:Ms},data(){return{selected:null}},watch:{step:{handler(e,t){this.$nextTick(()=>{const n=e>t?t+1:e,s=this.$refs[`title-${n-1}`],r=78,o=document.body.getBoundingClientRect().top,l=s.getBoundingClientRect().top-o-r;window.scrollTo({top:l,behavior:"smooth"})})}}},computed:{...Et(Je,["template","modLoaders","mappings","gradleLanguage","gradleSystem","mixin","minecraftVersion"]),step(){let e=1;if(this.template===null)return e;if(e++,this.template==="architectury"||this.template==="multiloader"){if(this.modLoaders.length===0)return e;e++}return this.minecraftVersion===null||(e++,this.gradleLanguage===null)||(this.template!=="forge"&&this.template!=="multiloader"||this.gradleSystem!=="fg")&&this.mappings===null||(e++,e++,this.mixin===null)||(e++,e++),e},stepEntries(){let e=[];e.push({title:this.$t("generator.template.base.title"),content:()=>Ve(_u)}),(this.template==="architectury"||this.template==="multiloader")&&e.push({title:this.$t("generator.mod.loaders.title"),content:()=>Ve(HE)}),e.push({title:this.$t("generator.versions.title"),content:()=>Ve(DS)}),e.push({title:this.$t("generator.build.system.title"),content:()=>Ve(TE)}),e.push({title:this.$t("generator.mod.config.title"),content:()=>Ve(f$)}),e.push({title:this.$t("generator.mixins.config.title"),content:()=>Ve(y$)});let t;switch(this.template){case"fabric":t=P$;break;case"architectury":t=nS;break;default:t=C$;break}return e.push({title:this.$t("generator.dependencies.title"),content:()=>{if(this.template==="forge")return Ve(vu);const n=Ve("div",[Ve(t),Ve(vu)]);return n.props={class:"flex flex-col gap-4"},n}}),e.push({title:"Generate",content:()=>Ve(TS)}),e}},methods:{steps(){return this.stepEntries.length}}}),jS={class:"flex flex-col gap-6"},US=m("span",{class:"font-semibold text-xl mb-[-.5rem]"},"Create a new project...",-1);function HS(e,t,n,s,r,o){const a=ye("NewsProjectGenerator"),i=ye("GeneratorStepper"),l=ye("PageWidthLimiter");return A(),fe(l,null,{default:R(()=>[m("div",jS,[P(a,{class:"mt-2"}),US,P(i,{steps:e.steps(),step:e.step},Mi({_:2},[Ce(e.steps(),c=>({name:`title-${c-1}`,fn:R(()=>[m("div",{class:"flex h-full items-center font-medium text-md sm:text-lg",ref:`title-${c-1}`},D(e.stepEntries[c-1].title),513)])})),Ce(e.steps(),c=>({name:`content-${c-1}`,fn:R(()=>[(A(),fe(pd(e.stepEntries[c-1].content())))])}))]),1032,["steps","step"])])]),_:1})}const VS=Ae(FS,[["render",HS]]),BS={class:"flex mx-2 items-center"},GS={class:"w-20"},ba=me({__name:"MappingsFilterPill",props:{enabled:{type:Boolean},text:{}},setup(e){return(t,n)=>(A(),I("a",{class:Ie(["mx-1 p-1 select-none cursor-pointer text-center rounded-full bg-base-200 dark:bg-base-dark-100 shadow transition-all",t.enabled?"bg-neutral dark:bg-base-dark-300 text-white font-medium":"hover:brightness-90"])},[m("div",BS,[t.enabled?(A(),fe(X(X_),{key:0,size:20})):(A(),fe(X(Y_),{key:1,size:20})),m("span",GS,D(t.text),1)])],2))}}),WS=e=>(Rn("data-v-e02c807b"),e=e(),Dn(),e),zS={class:"bg-base-l1 shadow-sm rounded-lg overflow-x-auto epic-scroller"},KS={class:"flex px-2 pt-2"},qS={class:"flex-1 items-center justify-start grid ml-2 mr-3 font-bold whitespace-nowrap"},JS={class:"flex"},YS=WS(()=>m("div",{class:"border-base-l1 border-[0.25rem] border-solid"},null,-1)),XS={class:"flex flex-nowrap items-center"},QS=["value"],ZS=me({__name:"MappingsSearchBlock",setup(e){const t=Ke(void 0),{searchText:n,allowClasses:s,allowFields:r,allowMethods:o}=xt(Te());function a(i){clearTimeout(t.value),t.value=setTimeout(()=>{var l,c;Te().searchText=(c=(l=i.target)==null?void 0:l.value)==null?void 0:c.replaceAll(" ","")},100)}return(i,l)=>(A(),I("div",zS,[m("div",KS,[m("span",qS,D(i.$t("mappings.search.type")),1),m("div",JS,[P(ba,{enabled:X(s),text:i.$t("mappings.search.type.classes"),onClick:l[0]||(l[0]=c=>s.value=!X(s))},null,8,["enabled","text"]),P(ba,{enabled:X(o),text:i.$t("mappings.search.type.methods"),onClick:l[1]||(l[1]=c=>o.value=!X(o))},null,8,["enabled","text"]),P(ba,{enabled:X(r),text:i.$t("mappings.search.type.fields"),onClick:l[2]||(l[2]=c=>r.value=!X(r))},null,8,["enabled","text"]),YS])]),m("div",XS,[P(X(av),{class:"mx-4 flex-shrink-0"}),m("input",{type:"text",placeholder:"Search...",class:"input h-12 bg-transparent rounded-lg flex-1 px-0 text-lg",value:X(n),onKeyup:l[3]||(l[3]=c=>a(c)),onKeydown:l[4]||(l[4]=sg(tg(()=>{},["prevent"]),["space"])),autofocus:""},null,40,QS)])]))}}),e4=Ae(ZS,[["__scopeId","data-v-e02c807b"]]),t4={class:"text-base whitespace-nowrap flex py-1"},n4={class:"pr-2"},s4={key:0,class:"px-2 rounded bg-base-l2 overflow-x-auto overflow-y-clip epic-scroller"},r4={class:"break-all whitespace-pre text-xs"},o4={key:1},a4=me({__name:"EntryDetails",props:{title:{},code:{type:Boolean,default:!0}},setup(e){return(t,n)=>(A(),I("div",t4,[m("span",n4,D(t.title),1),t.code?(A(),I("div",s4,[m("pre",null,[m("code",r4,[Ze(t.$slots,"default")])])])):(A(),I("span",o4,[Ze(t.$slots,"default")]))]))}}),vp=me({name:"AutoBold",render(){let e=this.$slots.default().map(r=>r.type==="br"?` + */var n=function(s){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},i={manual:s.Prism&&s.Prism.manual,disableWorkerMessageHandler:s.Prism&&s.Prism.disableWorkerMessageHandler,util:{encode:function b(y){return y instanceof l?new l(y.type,b(y.content),y.alias):Array.isArray(y)?y.map(b):y.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch($){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec($.stack)||[])[1];if(b){var y=document.getElementsByTagName("script");for(var v in y)if(y[v].src==b)return y[v]}return null}},isActive:function(b,y,v){for(var $="no-"+y;b;){var S=b.classList;if(S.contains(y))return!0;if(S.contains($))return!1;b=b.parentElement}return!!v}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(b,y){var v=i.util.clone(i.languages[b]);for(var $ in y)v[$]=y[$];return v},insertBefore:function(b,y,v,$){$=$||i.languages;var S=$[b],T={};for(var x in S)if(S.hasOwnProperty(x)){if(x==y)for(var M in v)v.hasOwnProperty(M)&&(T[M]=v[M]);v.hasOwnProperty(x)||(T[x]=S[x])}var z=$[b];return $[b]=T,i.languages.DFS(i.languages,function(q,G){G===z&&q!=b&&(this[q]=T)}),T},DFS:function b(y,v,$,S){S=S||{};var T=i.util.objId;for(var x in y)if(y.hasOwnProperty(x)){v.call(y,x,y[x],$||x);var M=y[x],z=i.util.type(M);z==="Object"&&!S[T(M)]?(S[T(M)]=!0,b(M,v,null,S)):z==="Array"&&!S[T(M)]&&(S[T(M)]=!0,b(M,v,x,S))}}},plugins:{},highlightAll:function(b,y){i.highlightAllUnder(document,b,y)},highlightAllUnder:function(b,y,v){var $={callback:v,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",$),$.elements=Array.prototype.slice.apply($.container.querySelectorAll($.selector)),i.hooks.run("before-all-elements-highlight",$);for(var S=0,T;T=$.elements[S++];)i.highlightElement(T,y===!0,$.callback)},highlightElement:function(b,y,v){var $=i.util.getLanguage(b),S=i.languages[$];i.util.setLanguage(b,$);var T=b.parentElement;T&&T.nodeName.toLowerCase()==="pre"&&i.util.setLanguage(T,$);var x=b.textContent,M={element:b,language:$,grammar:S,code:x};function z(G){M.highlightedCode=G,i.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,i.hooks.run("after-highlight",M),i.hooks.run("complete",M),v&&v.call(M.element)}if(i.hooks.run("before-sanity-check",M),T=M.element.parentElement,T&&T.nodeName.toLowerCase()==="pre"&&!T.hasAttribute("tabindex")&&T.setAttribute("tabindex","0"),!M.code){i.hooks.run("complete",M),v&&v.call(M.element);return}if(i.hooks.run("before-highlight",M),!M.grammar){z(i.util.encode(M.code));return}if(y&&s.Worker){var q=new Worker(i.filename);q.onmessage=function(G){z(G.data)},q.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else z(i.highlight(M.code,M.grammar,M.language))},highlight:function(b,y,v){var $={code:b,grammar:y,language:v};if(i.hooks.run("before-tokenize",$),!$.grammar)throw new Error('The language "'+$.language+'" has no grammar.');return $.tokens=i.tokenize($.code,$.grammar),i.hooks.run("after-tokenize",$),l.stringify(i.util.encode($.tokens),$.language)},tokenize:function(b,y){var v=y.rest;if(v){for(var $ in v)y[$]=v[$];delete y.rest}var S=new d;return h(S,S.head,b),u(b,S,y,S.head,0),g(S)},hooks:{all:{},add:function(b,y){var v=i.hooks.all;v[b]=v[b]||[],v[b].push(y)},run:function(b,y){var v=i.hooks.all[b];if(!(!v||!v.length))for(var $=0,S;S=v[$++];)S(y)}},Token:l};s.Prism=i;function l(b,y,v,$){this.type=b,this.content=y,this.alias=v,this.length=($||"").length|0}l.stringify=function b(y,v){if(typeof y=="string")return y;if(Array.isArray(y)){var $="";return y.forEach(function(z){$+=b(z,v)}),$}var S={type:y.type,content:b(y.content,v),tag:"span",classes:["token",y.type],attributes:{},language:v},T=y.alias;T&&(Array.isArray(T)?Array.prototype.push.apply(S.classes,T):S.classes.push(T)),i.hooks.run("wrap",S);var x="";for(var M in S.attributes)x+=" "+M+'="'+(S.attributes[M]||"").replace(/"/g,""")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+x+">"+S.content+""};function c(b,y,v,$){b.lastIndex=y;var S=b.exec(v);if(S&&$&&S[1]){var T=S[1].length;S.index+=T,S[0]=S[0].slice(T)}return S}function u(b,y,v,$,S,T){for(var x in v)if(!(!v.hasOwnProperty(x)||!v[x])){var M=v[x];M=Array.isArray(M)?M:[M];for(var z=0;z=T.reach);Y+=D.value.length,D=D.next){var oe=D.value;if(y.length>b.length)return;if(!(oe instanceof l)){var ge=1,_e;if(we){if(_e=c(Q,Y,b,re),!_e||_e.index>=b.length)break;var Re=_e.index,Ge=_e.index+_e[0].length,Ne=Y;for(Ne+=D.value.length;Re>=Ne;)D=D.next,Ne+=D.value.length;if(Ne-=D.value.length,Y=Ne,D.value instanceof l)continue;for(var Se=D;Se!==y.tail&&(NeT.reach&&(T.reach=ie);var ke=D.prev;se&&(ke=h(y,ke,se),Y+=se.length),k(y,ke,ge);var Oe=new l(x,G?i.tokenize(H,G):H,ce,H);if(D=h(y,ke,Oe),Z&&h(y,D,Z),ge>1){var p={cause:x+","+z,reach:ie};u(b,y,v,D.prev,Y,p),T&&p.reach>T.reach&&(T.reach=p.reach)}}}}}}function d(){var b={value:null,prev:null,next:null},y={value:null,prev:b,next:null};b.next=y,this.head=b,this.tail=y,this.length=0}function h(b,y,v){var $=y.next,S={value:v,prev:y,next:$};return y.next=S,$.prev=S,b.length++,S}function k(b,y,v){for(var $=y.next,S=0;S]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,s={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[s,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:s.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:s.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":s,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:s.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:s.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy})(Prism);(function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin})(Prism);(function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.gradle=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.gradle})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/};(function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},s=/"(?:[\\"]"|[^"])*"(?!")/,r=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:s,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:s,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:s,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:s,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(Prism);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=s.variable[1].inside,o=0;o{this.highlight()})},files(){this.$nextTick(()=>{this.files?(this.$refs.dialog.showModal(),this.highlight()):this.$refs.dialog.close()})}}}),g4=e=>(Rn("data-v-b405b949"),e=e(),Fn(),e),b4={ref:"dialog",class:"p-0 rounded-lg drop-shadow-lg shadow-2xl w-screen h-screen sm:w-[calc(100vw-var(--x-margin)*2)] sm:h-[calc(100vh-var(--y-margin)*2)]"},_4={class:"w-full h-full grid title-grid text-base-content dark:text-base-dark-content"},v4={key:0,class:"bg-base-400 dark:bg-base-dark-200 flex flex-initial"},y4=g4(()=>m("span",{class:"text-lg px-4 py-3 font-semibold flex-1"},"Preview Files",-1)),w4={key:1,class:"sm:rounded grid grid-setup bg-base-400 dark:bg-base-dark-200 flex-grow-0"},k4={class:"flex flex-col gap-y-0.5 overflow-auto"},E4=["onClick"],$4={class:"bg-[#2d2d2d] dark:bg-[#1d1d1d] p-2 rounded-tl-lg overflow-auto"};function S4(e,t,n,s,r,a){return A(),I("dialog",b4,[m("div",_4,[e.files?(A(),I("div",v4,[y4,m("button",{onClick:t[0]||(t[0]=o=>e.closeDialog()),class:"font-medium bg-base-800 dark:bg-base-dark-600 bg-opacity-0 dark:bg-opacity-0 hover:bg-opacity-50 dark:hover:bg-opacity-50 px-3 mx-2 my-2 rounded-md transition-[background-color]"}," Close ")])):de("",!0),e.files?(A(),I("div",w4,[m("div",k4,[(A(!0),I(pe,null,Ce(Object.keys(e.files),o=>(A(),I("button",{onClick:i=>e.selectedFile=o,class:"text-sm text-left break-all mx-2 p-1 rounded bg-base-800 dark:bg-base-dark-700 bg-opacity-0 dark:bg-opacity-0 hover:bg-opacity-50 dark:hover:bg-opacity-50 transition-[background-color]"},F(o),9,E4))),256))]),m("div",$4,[e.selectedFile?(A(),I("pre",{key:0,class:Ie(["whitespace-pre preview-code dark:bg-[#1d1d1d]","language-"+e.extension()]),ref:"source"},F(e.files[e.selectedFile]),3)):de("",!0)])])):de("",!0)])],512)}const C4=Ae(h4,[["render",S4],["__scopeId","data-v-b405b949"]]),x4=me({name:"GeneratorGenerate",components:{PreviewDialog:C4},data(){return{files:null}},computed:{...Et(Ye,["generating"])},methods:{generate:yu,preview(){yu().then(e=>{this.files=e})}}}),A4={class:"w-full flex gap-3 overflow-x-auto"},T4=["disabled"];function L4(e,t,n,s,r,a){const o=ye("PreviewDialog");return A(),I(pe,null,[P(o,{files:e.files??void 0,close:()=>e.files=null},null,8,["files","close"]),m("div",A4,[m("button",{onClick:t[0]||(t[0]=i=>e.preview()),class:"bg-base-400 dark:bg-base-dark-200 bg-opacity-50 hover:bg-opacity-100 dark:hover:bg-base-dark-400 transition-all rounded-lg p-8 ml-auto text-3xl select-none"}," Preview "),m("button",{disabled:!!e.generating,onClick:t[1]||(t[1]=i=>{e.generating=!0,e.generate()}),class:"bg-base-400 dark:bg-base-dark-200 bg-opacity-50 hover:bg-opacity-100 dark:hover:bg-base-dark-400 transition-all rounded-lg p-8 mr-auto font-semibold text-3xl disabled:bg-base-500 disabled:dark:bg-base-dark-200 disabled:dark:bg-opacity-80 disabled:text-base-dark-800 disabled:dark:text-base-dark-900 select-none"}," Generate! ",8,T4)])],64)}const O4=Ae(x4,[["render",L4]]),I4=me({name:"GeneratorVersions",components:{GeneratorDescription:os,GeneratorOptionEntry:hn,GeneratorOptions:mn},computed:{...Et(Ye,["template","gradleSystem","mappings","modLoaders","gradleLanguage","splitEnv"])},methods:{}}),M4=e=>(Rn("data-v-b4d366ba"),e=e(),Fn(),e),N4={class:"w-full flex flex-col gap-4"},P4={class:"w-full sm:w-[60%] grid sm:input-grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-1.5 items-center min-w-10 max-w-full"},R4={for:"mc-version"},F4=M4(()=>m("select",{id:"mc-version",class:"select-field"},[m("option",null,"Select a version")],-1));function D4(e,t,n,s,r,a){const o=ye("generator-description");return A(),I("div",N4,[P(o,null,{default:R(()=>[K(F(e.$t("generator.versions.description")),1)]),_:1}),m("div",P4,[m("label",R4,F(e.$t("generator.versions.version")),1),F4])])}const j4=Ae(I4,[["render",D4],["__scopeId","data-v-b4d366ba"]]),U4=me({name:"Generator",components:{NewsProjectGenerator:up,GeneratorTemplateBase:_u,GeneratorStepper:pk,Block:Ht,PageWidthLimiter:Ns},data(){return{selected:null}},watch:{step:{handler(e,t){this.$nextTick(()=>{const n=e>t?t+1:e,s=this.$refs[`title-${n-1}`],r=78,a=document.body.getBoundingClientRect().top,l=s.getBoundingClientRect().top-a-r;window.scrollTo({top:l,behavior:"smooth"})})}}},computed:{...Et(Ye,["template","modLoaders","mappings","gradleLanguage","gradleSystem","mixin","minecraftVersion"]),step(){let e=1;if(this.template===null)return e;if(e++,this.template==="architectury"||this.template==="multiloader"){if(this.modLoaders.length===0)return e;e++}return this.minecraftVersion===null||(e++,this.gradleLanguage===null)||(this.template!=="forge"&&this.template!=="multiloader"||this.gradleSystem!=="fg")&&this.mappings===null||(e++,e++,this.mixin===null)||(e++,e++),e},stepEntries(){let e=[];e.push({title:this.$t("generator.template.base.title"),content:()=>Ve(_u)}),(this.template==="architectury"||this.template==="multiloader")&&e.push({title:this.$t("generator.mod.loaders.title"),content:()=>Ve(BE)}),e.push({title:this.$t("generator.versions.title"),content:()=>Ve(j4)}),e.push({title:this.$t("generator.build.system.title"),content:()=>Ve(OE)}),e.push({title:this.$t("generator.mod.config.title"),content:()=>Ve(m$)}),e.push({title:this.$t("generator.mixins.config.title"),content:()=>Ve(k$)});let t;switch(this.template){case"fabric":t=F$;break;case"architectury":t=r4;break;default:t=A$;break}return e.push({title:this.$t("generator.dependencies.title"),content:()=>{if(this.template==="forge")return Ve(vu);const n=Ve("div",[Ve(t),Ve(vu)]);return n.props={class:"flex flex-col gap-4"},n}}),e.push({title:"Generate",content:()=>Ve(O4)}),e}},methods:{steps(){return this.stepEntries.length}}}),H4={class:"flex flex-col gap-6"},V4=m("span",{class:"font-semibold text-xl mb-[-.5rem]"},"Create a new project...",-1);function B4(e,t,n,s,r,a){const o=ye("NewsProjectGenerator"),i=ye("GeneratorStepper"),l=ye("PageWidthLimiter");return A(),fe(l,null,{default:R(()=>[m("div",H4,[P(o,{class:"mt-2"}),V4,P(i,{steps:e.steps(),step:e.step},Ni({_:2},[Ce(e.steps(),c=>({name:`title-${c-1}`,fn:R(()=>[m("div",{class:"flex h-full items-center font-medium text-md sm:text-lg",ref:`title-${c-1}`},F(e.stepEntries[c-1].title),513)])})),Ce(e.steps(),c=>({name:`content-${c-1}`,fn:R(()=>[(A(),fe(pd(e.stepEntries[c-1].content())))])}))]),1032,["steps","step"])])]),_:1})}const G4=Ae(U4,[["render",B4]]),W4={class:"flex mx-2 items-center"},z4={class:"w-20"},bo=me({__name:"MappingsFilterPill",props:{enabled:{type:Boolean},text:{}},setup(e){return(t,n)=>(A(),I("a",{class:Ie(["mx-1 p-1 select-none cursor-pointer text-center rounded-full bg-base-200 dark:bg-base-dark-100 shadow transition-all",t.enabled?"bg-neutral dark:bg-base-dark-300 text-white font-medium":"hover:brightness-90"])},[m("div",W4,[t.enabled?(A(),fe(X(X_),{key:0,size:20})):(A(),fe(X(J_),{key:1,size:20})),m("span",z4,F(t.text),1)])],2))}}),K4=e=>(Rn("data-v-e02c807b"),e=e(),Fn(),e),q4={class:"bg-base-l1 shadow-sm rounded-lg overflow-x-auto epic-scroller"},Y4={class:"flex px-2 pt-2"},J4={class:"flex-1 items-center justify-start grid ml-2 mr-3 font-bold whitespace-nowrap"},X4={class:"flex"},Q4=K4(()=>m("div",{class:"border-base-l1 border-[0.25rem] border-solid"},null,-1)),Z4={class:"flex flex-nowrap items-center"},eS=["value"],tS=me({__name:"MappingsSearchBlock",setup(e){const t=Ke(void 0),{searchText:n,allowClasses:s,allowFields:r,allowMethods:a}=xt(Te());function o(i){clearTimeout(t.value),t.value=setTimeout(()=>{var l,c;Te().searchText=(c=(l=i.target)==null?void 0:l.value)==null?void 0:c.replaceAll(" ","")},100)}return(i,l)=>(A(),I("div",q4,[m("div",Y4,[m("span",J4,F(i.$t("mappings.search.type")),1),m("div",X4,[P(bo,{enabled:X(s),text:i.$t("mappings.search.type.classes"),onClick:l[0]||(l[0]=c=>s.value=!X(s))},null,8,["enabled","text"]),P(bo,{enabled:X(a),text:i.$t("mappings.search.type.methods"),onClick:l[1]||(l[1]=c=>a.value=!X(a))},null,8,["enabled","text"]),P(bo,{enabled:X(r),text:i.$t("mappings.search.type.fields"),onClick:l[2]||(l[2]=c=>r.value=!X(r))},null,8,["enabled","text"]),Q4])]),m("div",Z4,[P(X(ov),{class:"mx-4 flex-shrink-0"}),m("input",{type:"text",placeholder:"Search...",class:"input h-12 bg-transparent rounded-lg flex-1 px-0 text-lg",value:X(n),onKeyup:l[3]||(l[3]=c=>o(c)),onKeydown:l[4]||(l[4]=sg(tg(()=>{},["prevent"]),["space"])),autofocus:""},null,40,eS)])]))}}),nS=Ae(tS,[["__scopeId","data-v-e02c807b"]]),sS={class:"text-base whitespace-nowrap flex py-1"},rS={class:"pr-2"},aS={key:0,class:"px-2 rounded bg-base-l2 overflow-x-auto overflow-y-clip epic-scroller"},oS={class:"break-all whitespace-pre text-xs"},iS={key:1},lS=me({__name:"EntryDetails",props:{title:{},code:{type:Boolean,default:!0}},setup(e){return(t,n)=>(A(),I("div",sS,[m("span",rS,F(t.title),1),t.code?(A(),I("div",aS,[m("pre",null,[m("code",oS,[Ze(t.$slots,"default")])])])):(A(),I("span",iS,[Ze(t.$slots,"default")]))]))}}),vp=me({name:"AutoBold",render(){let e=this.$slots.default().map(r=>r.type==="br"?` `:(r.children??"undefined").toString()).join(" ").replace("
",` `).replace("
",` -`),t=[],n=!1,s="";for(let r=0;r0&&(n?t.push(Ve("span",{class:"bold"},s)):t.push(s)),Ve("span",t)}}),yp=me({__name:"Tooltip",props:{placement:{default:"right"}},setup(e){return(t,n)=>(A(),I("div",{class:Ie([`bg-base-content dark:bg-black/80 dark:backdrop-blur-md rounded-lg drop-shadow-lg p-3 +`),t=[],n=!1,s="";for(let r=0;r0&&(n?t.push(Ve("span",{class:"bold"},s)):t.push(s)),Ve("span",t)}}),yp=me({__name:"Tooltip",props:{placement:{default:"right"}},setup(e){return(t,n)=>(A(),I("div",{class:Ie([`bg-base-content dark:bg-black/80 dark:backdrop-blur-md rounded-lg drop-shadow-lg p-3 text-base-200 dark:text-base-dark-content text-xs sm:text-sm max-sm:hidden invisible peer-hover:visible hover:visible absolute peer-hover:opacity-100 hover:opacity-100 opacity-0 transition-all duration-200 delay-100 scale-75 peer-hover:scale-100 hover:scale-100 whitespace-nowrap - top-[1.75rem] z-10 select-none cursor-default`,t.placement==="right"?"origin-top-left":"origin-top-right right-0"])},[Ze(t.$slots,"default")],2))}}),i4={class:"my-1 text-sm whitespace-nowrap flex items-center"},l4={key:0,class:"mr-2 relative"},c4={key:0,class:"flex flex-col gap-1"},u4={class:"flex items-center"},d4=m("span",{class:"font-semibold"},"Warning",-1),f4=m("br",null,null,-1),p4=m("br",null,null,-1),m4=m("br",null,null,-1),h4={key:1,class:"flex flex-col gap-1"},g4={class:"flex items-center"},b4=m("span",{class:"font-semibold"},"Info",-1),_4=m("br",null,null,-1),v4={class:"font-mono overflow-x-auto epic-scroller"},y4={class:"font-bold"},w4=me({__name:"MappingsMethodLine",props:{entry:{},methodReturnType:{type:Function},methodArgs:{type:Function},getOptimumName:{type:Function},onlyClass:{type:Function}},setup(e){return(t,n)=>(A(),I("div",i4,[t.entry.argsGuessed||t.entry.argsParchment?(A(),I("div",l4,[t.entry.argsGuessed?(A(),fe(X(M_),{key:0,class:"peer",size:20})):t.entry.argsParchment?(A(),fe(X(I_),{key:1,class:"peer",size:20})):de("",!0),P(yp,null,{default:R(()=>[t.entry.argsGuessed?(A(),I("div",c4,[m("div",u4,[P(X(P_),{class:"mr-1.5"}),d4]),K(" The method argument mappings are aggregated from other mapping projects,"),f4,K(" and may not be accurate or fit the current context."),p4,m4,K(" This may be the result of the lack of a proper source for this mappings or this version. ")])):t.entry.argsParchment?(A(),I("div",h4,[m("div",g4,[P(X(N_),{class:"mr-1.5"}),b4]),K(" The method argument mappings are provided from a community project, ParchmentMC, "),_4,K(" and may not be accurate, or may be subject to a different license. ")])):de("",!0)]),_:1})])):de("",!0),m("div",v4,[m("span",y4,D(t.methodReturnType(t.entry)),1),K(" "+D(t.onlyClass(t.getOptimumName(t.entry)))+"( ",1),P(vp,{class:"[&_.bold]:font-bold"},{default:R(()=>[K(D(t.methodArgs(t.entry)),1)]),_:1}),K(") ")])]))}});function Tt(e){return e.named||e.intermediary||""}function qn(e){return e.ownerNamed||e.ownerIntermediary||""}function us(e){return e.descNamed||e.descIntermediary||""}function Bt(e){return e&&e.replaceAll("$",".").replaceAll("/",".")}function Mt(e){if(e){let t=e.lastIndexOf("/"),n=t==-1?e:e.substring(t+1);return Bt(n)}else return e}function _a(e){return e.type=="class"?Bt(e.obf):`${Bt(e.ownerObf)}.${Mt(e.obf)}`}function k4(e){return e.type=="class"?Bt(e.obfClient):`${Bt(e.ownerObfClient)}.${Mt(e.obfClient)}`}function E4(e){return e.type=="class"?Bt(e.obfServer):`${Bt(e.ownerObfServer)}.${Mt(e.obfServer)}`}function va(e){return e.type=="class"?Bt(e.intermediary):`${Bt(e.ownerIntermediary)}.${Mt(e.intermediary)}`}function Zr(e,t=!0){return t?e.type=="class"?Mt(Tt(e)):`${Mt(qn(e))}.${Mt(Tt(e))}`:e.type=="class"?Bt(Tt(e)):`${Bt(qn(e))}.${Mt(Tt(e))}`}function $4(e,t){let n=[];if(e){let s=t.translatedTo,r=va(t),o=Zr(t,!1);r!==o&&o&&n.push(o),n.push(r);let a=t.obf?_a(t):void 0,i=s.obf?_a(s):void 0;i!=a&&(a&&n.push(a),i&&n.push(i));let l=va(s),c=Zr(s,!1);l!==r&&n.push(l),l!==c&&c&&n.push(c)}else{if(t.obf)n.push(_a(t));else{let o=[];t.obfClient&&o.push(k4(t)+" (client)"),t.obfServer&&o.push(E4(t)+" (server)"),o.length>0&&n.push(o.join(" / "))}let s=va(t),r=Zr(t,!1);n.push(s),s!==r&&r&&n.push(r)}return n}function Vs(e){if(!e)return e;let t=e.lastIndexOf("["),n=t==-1?e:e.substring(t+1),s=length-n.length,r="";if(n.length>0)if(n.startsWith("L"))r+=n.substring(1,n.length-1).replaceAll("/",".").replaceAll("$",".");else switch(n[0]){case"Z":r+="boolean";break;case"C":r+="char";break;case"B":r+="byte";break;case"S":r+="short";break;case"I":r+="int";break;case"F":r+="float";break;case"J":r+="long";break;case"D":r+="double";break;case"V":r+="void";break}for(let o=0;o{var a,i,l,c,u,d,h,k,g,_,E,w,b,y,v,$,S,T,x,N,z,q,G,re,we;let e=this.$refs.source;if(!e)return;let t=Mt(Tt(this.entry))??"";t.includes(".")&&(t=t.substring(0,t.indexOf(".")));function n(ce){if(typeof ce=="string")return ce;if(Array.isArray(ce)){let oe="";return ce.forEach(Q=>{oe+=n(Q)}),oe}else{let oe="token "+ce.type;return ce.alias&&(oe+=" "+ce.alias),`${n(ce.content)}`}}let s="",r="";ui.tokenize(this.source,ui.languages.java).flatMap(n).forEach(ce=>{if(ce.startsWith("<")||ce.endsWith(">"))r+=ce;else{let oe=ce.split(` -`);for(let Q=0;Q"}}});let o=0;for(let ce of r.split(` -`))s+="
",s+=o,s+="",s+="",s+=ce,s+="
";e.innerHTML=s;for(let ce=0;ce{oe.scrollIntoView({behavior:"smooth",block:"center"})});return}}})},expandSource(){this.$nextTick(()=>{let e=this.$refs["source-loading"];!e||!e[0]||e[0].scrollIntoView({behavior:"smooth",block:"center"})})}},methods:{copyAs:dp,mixinTarget(e){return`L${qn(e)};${Tt(e)}${e.type==="field"?":":""}${us(e)}`},atText(e){return e.type==="class"?`public ${Tt(e).replaceAll("/",".")}`:e.type==="method"?`public ${qn(e).replaceAll("/",".")} ${e.intermediary}${us(e)} # ${Tt(e)}`:`public ${qn(e).replaceAll("/",".")} ${e.intermediary} # ${Tt(e)}`},awText(e){return e.type==="class"?`accessible ${e.type} ${Tt(e)}`:`accessible ${e.type} ${qn(e)} ${Tt(e)} ${us(e)}`},fieldType(e){let t=us(e);return Vs(t)},methodReturnType(e){let t=us(e);return t=t.substring(t.lastIndexOf(")")+1),Mt(Vs(t).replaceAll(".","/"))},getMethodArgs(e){let t=us(e),n=[],s=t.indexOf("(")+1,r=0;for(;t[s]!==")";){let o=t[s];if(o==="[")r++,s++;else if(o==="L"){let a=t.indexOf(";",s),i=t.substring(s,a+1);n.push(["[".repeat(r)+i,Mt(Vs(i).replaceAll(".","/"))+"[]".repeat(r)]),r=0,s=a+1}else n.push(["[".repeat(r)+t[s],Vs(t[s])+"[]".repeat(r)]),r=0,s++}return n},methodArgs(e){let t=this.getMethodArgs(e),n=1e6,s=0,r=0;if(e.args){Object.keys(e.args).filter(a=>e.args.hasOwnProperty(a)).map(a=>+a).forEach(a=>{as&&(s=a)});for(let a=0;a{let l=`var${i}`;if(e.args&&o){let c=Object.values(e.args)[i];c&&(l=c)}return`*${a[1]}* ${l}`}).join(", ")},requestSource(){var e,t,n;this.expandSource=!this.expandSource||this.expandSource!==((e=this.namespace)==null?void 0:e.id)+" "+this.version+" "+this.query?((t=this.namespace)==null?void 0:t.id)+" "+this.version+" "+this.query:null,this.source="",this.expandSource===((n=this.namespace)==null?void 0:n.id)+" "+this.version+" "+this.query&&Ay(this.namespace.id,this.version,this.entry.ownerNamed??this.entry.ownerIntermediary??this.entry.named??this.entry.intermediary).then(s=>{this.source=s.data}).catch(s=>{Ls({type:"error",message:`Failed to fetch source: ${s.message}`})})}},props:{namespace:{type:Object,required:!0},translatedToNamespace:{type:Object},version:{type:String},entry:{type:Object,required:!0},query:{type:String}}}),xr=e=>(Rn("data-v-f7926b1d"),e=e(),Dn(),e),C4={class:"flex gap-x-2"},x4={class:"flex-1 overflow-x-auto overflow-y-clip epic-scroller flex flex-nowrap items-center"},A4={class:"whitespace-nowrap [&_>span]:cursor-pointer"},T4={key:1,class:"whitespace-nowrap [&_>span]:cursor-pointer"},L4={key:1,class:"breadcrumbs text-sm max-w-full overflow-x-auto overflow-y-clip epic-scroller py-2"},O4={class:"flex items-center whitespace-nowrap"},I4={class:"flex items-center"},N4={class:"whitespace-nowrap [&_>span]:cursor-pointer"},M4=["onClick"],P4=["onClick"],R4=xr(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),D4={key:6},F4=xr(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),j4=xr(()=>m("div",{class:"h-2"},null,-1)),U4={class:"rounded-lg bg-base-dark-200 p-3 text-sm h-[28rem] overflow-x-auto resize-y epic-scroller"},H4={key:0,class:"h-full items-center justify-center grid"},V4={class:"flex gap-4 items-center justify-center animate-pulse animate-bounce text-base-dark-content",ref:"source-loading"},B4=xr(()=>m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"animate-spin",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("path",{d:"M10 17a3 3 0 1 1 -1.543 -2.623l2.087 -3.754a3 3 0 0 1 1.456 -5.623a3 3 0 0 1 1.457 5.623l2.087 3.754a3 3 0 1 1 -1.538 2.8l-.006 -.177h-4z"}),m("path",{d:"M17 17v.01"}),m("path",{d:"M7 17v.01"}),m("path",{d:"M12 8v.01"})],-1)),G4=xr(()=>m("p",{class:"font-medium text-xl"},"Generating Sources... This is slow on the first run",-1)),W4=[B4,G4],z4={ref:"source",class:"whitespace-pre text-base-dark-content"};function K4(e,t,n,s,r,o){const a=ye("CopyableIcon"),i=ye("IconChevronsRight"),l=ye("IconCode"),c=ye("Tooltip"),u=ye("SubHeader"),d=ye("MappingsMethodLine"),h=ye("Copyable"),k=ye("EntryDetails"),g=ye("Block");return A(),fe(g,null,{default:R(()=>{var _;return[P(u,null,{default:R(()=>{var E;return[m("div",C4,[m("div",x4,[m("div",A4,[e.entry.type!=="class"?(A(),I("span",{key:0,class:"hover:underline peer",onClick:t[0]||(t[0]=w=>e.copyAs(e.$i18n,e.getDisplayName(e.entry)))},D(e.onlyClass(e.getOptimumOwnerName(e.entry)))+".",1)):de("",!0),m("span",{class:"hover:underline peer-hover:underline",onClick:t[1]||(t[1]=w=>e.copyAs(e.$i18n,e.onlyClass(e.getOptimumName(e.entry))))},D(e.onlyClass(e.getOptimumName(e.entry))),1),P(a,{class:"inline-block pl-0.5"})]),e.hasTranslation?(A(),fe(i,{key:0,class:"ml-1.5 mr-1 min-w-[22px]"})):de("",!0),e.hasTranslation?(A(),I("div",T4,[e.entry.translatedTo.type!=="class"?(A(),I("span",{key:0,class:"hover:underline peer",onClick:t[2]||(t[2]=w=>e.copyAs(e.$i18n,e.getDisplayName(e.entry.translatedTo)))},D(e.onlyClass(e.getOptimumOwnerName(e.entry.translatedTo)))+".",1)):de("",!0),m("span",{class:"hover:underline peer-hover:underline",onClick:t[3]||(t[3]=w=>e.copyAs(e.$i18n,e.onlyClass(e.getOptimumName(e.entry.translatedTo))))},D(e.onlyClass(e.getOptimumName(e.entry.translatedTo))),1),P(a,{class:"inline-block pl-0.5"})])):de("",!0),m("div",{class:Ie(["rounded-full text-[.75rem] px-[.438rem] inline-flex items-center justify-center h-4 ml-2 text-base-content whitespace-nowrap",{"bg-primary":e.entry.type==="class","bg-secondary":e.entry.type==="field","bg-tertiary":e.entry.type==="method"}])},D(e.$t(`mappings.entry.type.${e.entry.type}`)),3)]),(E=e.namespace)!=null&&E.supportsSource?(A(),I("div",{key:0,class:"cursor-pointer relative",onClick:t[4]||(t[4]=w=>e.requestSource())},[P(l,{class:"peer"}),P(c,{class:"font-medium",placement:"left"},{default:R(()=>[K(D(e.$t("mappings.entry.view.sources")),1)]),_:1})])):de("",!0)])]}),_:1}),e.entry.type==="method"?(A(),fe(d,{key:0,"only-class":e.onlyClass,"get-optimum-name":e.getOptimumName,"method-args":e.methodArgs,"method-return-type":e.methodReturnType,entry:e.entry},null,8,["only-class","get-optimum-name","method-args","method-return-type","entry"])):de("",!0),e.breadcrumbs.length>1?(A(),I("div",L4,[m("ul",O4,[(A(!0),I(pe,null,Ce(e.breadcrumbs,E=>(A(),I("li",I4,[m("div",N4,[E.includes(".")?(A(),I("span",{key:0,class:"hover:underline peer",onClick:w=>e.copyAs(e.$i18n,E)},D(E.substring(0,E.lastIndexOf(".")))+".",9,M4)):de("",!0),m("span",{class:"hover:underline peer-hover:underline",onClick:w=>e.copyAs(e.$i18n,E.substring(E.lastIndexOf(".")+1))},D(E.substring(E.lastIndexOf(".")+1)),9,P4),P(a,{class:"inline-block pl-0.5","stroke-width":"1"})])]))),256))])])):de("",!0),R4,e.entry.type==="field"&&e.namespace.supportsFieldDescription?(A(),fe(k,{key:2,title:e.$t("mappings.entry.type"),code:!1},{default:R(()=>[P(h,{copy:e.fieldType(e.entry),strokeWidth:"1"},{default:R(()=>[K(D(e.fieldType(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.entry.type!=="class"&&e.namespace.supportsMixin?(A(),fe(k,{key:3,title:e.$t("mappings.entry.mixin.target")},{default:R(()=>[P(h,{copy:e.mixinTarget(e.entry),strokeWidth:"1"},{default:R(()=>[K(D(e.mixinTarget(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.namespace.supportsAT?(A(),fe(k,{key:4,title:e.$t("mappings.entry.at")},{default:R(()=>[P(h,{copy:e.atText(e.entry),strokeWidth:"1"},{default:R(()=>[K(D(e.atText(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.namespace.supportsAW?(A(),fe(k,{key:5,title:e.$t("mappings.entry.aw")},{default:R(()=>[P(h,{copy:e.awText(e.entry),strokeWidth:"1"},{default:R(()=>[K(D(e.awText(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.hasTranslation?(A(),I("div",D4,[F4,e.entry.type==="field"&&e.translatedToNamespace.supportsFieldDescription?(A(),fe(k,{key:0,title:e.$t("mappings.entry.type"),code:!1},{default:R(()=>[P(h,{copy:e.fieldType(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(D(e.fieldType(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.entry.type!=="class"&&e.translatedToNamespace.supportsMixin?(A(),fe(k,{key:1,title:e.$t("mappings.entry.mixin.target")},{default:R(()=>[P(h,{copy:e.mixinTarget(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(D(e.mixinTarget(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.translatedToNamespace.supportsAT?(A(),fe(k,{key:2,title:e.$t("mappings.entry.at")},{default:R(()=>[P(h,{copy:e.atText(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(D(e.atText(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.translatedToNamespace.supportsAW?(A(),fe(k,{key:3,title:e.$t("mappings.entry.aw")},{default:R(()=>[P(h,{copy:e.awText(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(D(e.awText(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0)])):de("",!0),m("div",{class:Ie([e.expandSource===((_=e.namespace)==null?void 0:_.id)+" "+e.version+" "+e.query?"expanded":"","expand-height !ease-in"])},[j4,m("div",U4,[e.source===""?(A(),I("div",H4,[m("div",V4,W4,512)])):de("",!0),m("code",z4,null,512)])],2)]}),_:1})}const q4=Ae(S4,[["render",K4],["__scopeId","data-v-f7926b1d"]]),Ps=e=>(Rn("data-v-0bcd56a7"),e=e(),Dn(),e),J4={class:"flex flex-col"},Y4={class:"pt-2 pb-2.5 flex gap-3"},X4=["aria-selected","onClick"],Q4=["aria-expanded"],Z4=Ps(()=>m("div",{class:"divider mt-0 mb-0 pb-0.5"},null,-1)),eC={key:0,class:"pb-1"},tC={class:"text-xs font-bold uppercase"},nC=["onClick"],sC={key:0,class:"pb-1"},rC={class:"text-xs font-bold uppercase"},oC=["onClick"],aC=Ps(()=>m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),iC=Ps(()=>m("polyline",{points:"6 9 12 15 18 9"},null,-1)),lC=[aC,iC],cC={key:0},uC={key:1},dC=Ps(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),fC={class:"flex flex-col flex-nowrap justify-center h-full whitespace-nowrap pb-2"},pC={class:"flex gap-2 select-none justify-between"},mC={for:"allow-snapshots"},hC={class:"mx-[-.25rem] bg-base-l2 rounded-lg"},gC={class:"p-1 h-40 overflow-x-clip gradient-mask-b-80 overflow-y-scroll epic-scroller"},bC=["onClick"],_C={key:0,class:"divider mt-0 mb-0"},vC={key:1,class:"mt-2"},yC={class:"pt-2 flex flex-col gap-3"},wC=["aria-selected"],kC=["aria-selected"],EC=["aria-selected"],$C={key:0,class:"pt-4"},SC={class:"text-xs font-bold uppercase"},CC={class:"pb-1"},xC={class:"text-xs font-bold uppercase"},AC=["onClick"],TC=Ps(()=>m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),LC=Ps(()=>m("polyline",{points:"6 9 12 15 18 9"},null,-1)),OC=[TC,LC],IC={key:0},NC={key:1},MC={key:1,class:"pt-4"},PC={class:"flex flex-col flex-nowrap justify-center h-full whitespace-nowrap pb-2"},RC={class:"flex gap-2 select-none justify-between"},DC={for:"allow-snapshots"},FC={class:"mx-[-.25rem] bg-base-l2 rounded-lg"},jC={class:"p-1 h-40 overflow-x-clip gradient-mask-b-80 overflow-y-scroll epic-scroller"},UC=["onClick"],HC=me({__name:"MappingsFilterBlock",props:{data:{}},setup(e){const{data:t}=e,n=Ke(!1),s=Ke(!1),r=Ke(!1),{t:o}=$r(),{namespace:a,version:i,allowSnapshots:l,mode:c,translateMode:u,translateAs:d,translateAsVersion:h}=xt(Te()),k=je(()=>t.namespaces),g=je(()=>{let b={};for(let y in k.value){let v=Ly[k.value[y].id]??"Others";typeof v=="string"&&(v=[v]);for(let $ of v)b[$]||(b[$]=[]),b[$].push(k.value[y])}for(let y in b)b[y].sort((v,$)=>(E(v)??"").localeCompare(E($)??""));return Object.entries(b).sort((y,v)=>cu.indexOf(y[0])-cu.indexOf(v[0]))}),_=je(()=>ii());function E(b){if(typeof b=="string")return o(`namespace.${b.toLowerCase()}`)||vo[b.toLowerCase()]||b.toLowerCase();if(b){let y=b.id;return o(`namespace.${y.toLowerCase()}`)||vo[y.toLowerCase()]||y.toLowerCase()}else return}function w(b){c.value=b,c.value==="stacktrace"&&(u.value="none",d.value=void 0,h.value=void 0)}return(b,y)=>(A(),I("div",J4,[P(Ct,{class:"mt-[-.25rem] mb-1 flex items-center gap-1.5"},{default:R(()=>[K(D(b.$t("mappings.mode"))+" ",1),P(X(j_),{size:20})]),_:1}),m("div",Y4,[(A(),I(pe,null,Ce(["mappings","stacktrace"],v=>m("button",{"aria-selected":(X(c)??"mappings")===v,onClick:$=>w(v),onMouseenter:y[0]||(y[0]=$=>r.value=!0),onMouseleave:y[1]||(y[1]=$=>r.value=!1),class:"selection-button py-2 px-3 flex items-center text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none group overflow-clip flex-shrink-0"},[v==="mappings"?(A(),fe(X(iv),{key:0,class:"flex-shrink-0",size:20})):(A(),fe(X(q_),{key:1,class:"flex-shrink-0",size:20})),m("span",{"aria-expanded":!r.value&&(X(c)??"mappings")===v,class:"group-hover:opacity-100 group-hover:w-fit group-hover:pl-2 aria-expanded:opacity-100 aria-expanded:w-fit aria-expanded:pl-2 w-0 pl-0 transition-all duration-150 opacity-[-100]"},D(b.$t(`mappings.mode.${v}`)),9,Q4)],40,X4)),64))]),Z4,P(Ct,{class:"mt-[-.25rem] mb-1 flex items-center gap-1.5"},{default:R(()=>[K(D(b.$t("mappings.namespace"))+" ",1),P(X(z_),{size:20})]),_:1}),(A(!0),I(pe,null,Ce(g.value,([v,$])=>(A(),I("div",null,[X(uu).includes(v)?de("",!0):(A(),I("div",eC,[m("p",tC,D(v),1),(A(!0),I(pe,null,Ce($,S=>(A(),I("div",{class:Ie([X(a)===S.id?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:T=>a.value=S.id},D(E(S)??""),11,nC))),256))]))]))),256)),(A(!0),I(pe,null,Ce(g.value,([v,$])=>(A(),I("div",{class:Ie([n.value?"expanded":"","expand-height"])},[X(uu).includes(v)?(A(),I("div",sC,[m("p",rC,D(v),1),(A(!0),I(pe,null,Ce($,S=>(A(),I("div",{class:Ie([X(a)===S.id?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:T=>a.value=S.id},D(E(S)??""),11,oC))),256))])):de("",!0)],2))),256)),m("div",{class:"mx-[-.5rem] px-2 py-1 justify-center cursor-pointer flex gap-1 transition-all rounded bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70",onClick:y[2]||(y[2]=v=>n.value=!n.value)},[(A(),I("svg",{xmlns:"http://www.w3.org/2000/svg",class:Ie([n.value?"rotate-180":"","transition-transform duration-200"]),width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},lC,2)),n.value?(A(),I("span",uC,D(b.$t("mappings.namespace.show.less")),1)):(A(),I("span",cC,D(b.$t("mappings.namespace.show.more")),1))]),dC,P(Ct,{class:"pb-1 flex items-center gap-1.5"},{default:R(()=>[K(D(b.$t("mappings.version"))+" ",1),P(X(Q_),{class:"-scale-100",size:20})]),_:1}),m("div",fC,[m("div",pC,[m("label",mC,D(b.$t("dependencies.version.snapshots")),1),Lt(m("input",{type:"checkbox","onUpdate:modelValue":y[3]||(y[3]=v=>Ye(l)?l.value=v:null),id:"allow-snapshots","aria-label":"Enable Snapshots"},null,512),[[Es,X(l)]])])]),m("div",hC,[m("div",gC,[(A(!0),I(pe,null,Ce(_.value,v=>(A(),I("p",{class:Ie([X(i)===v.version&&v.hasTranslation?"font-medium":"font-normal opacity-80 decoration-base-500/60 hover:decoration-base-700/60 dark:decoration-base-dark-400/70 dark:hover:decoration-base-dark-600/60",v.hasTranslation?"transition-all bg-base-700 dark:hover:bg-base-dark-600 bg-opacity-0 hover:bg-opacity-60 rounded-md cursor-pointer":"cursor-not-allowed line-through decoration-base-content hover:decoration-base-content dark:decoration-base-dark-content dark:hover:decoration-base-dark-content","px-2 py-1 underline underline-offset-2 decoration-2"]),onClick:$=>i.value=v.hasTranslation?v.version:X(i)},D(v.hasTranslation?v.version:b.$t("mappings.version.no.translation",{version:v.version})),11,bC))),256))])]),X(c)==="mappings"?(A(),I("div",_C)):de("",!0),X(c)==="mappings"?(A(),I("div",vC,[P(Ct,{class:"flex items-center gap-1.5"},{default:R(()=>[K(D(b.$t("mappings.translation"))+" ",1),P(X(lv),{size:20})]),_:1}),m("div",yC,[m("button",{"aria-selected":(X(u)??"none")==="none",onClick:y[4]||(y[4]=v=>{u.value="none",d.value=void 0,h.value=void 0}),class:"selection-button py-2 px-3 flex-1 flex items-center gap-3 text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[P(X(R_),{class:"flex-shrink-0",size:20}),K(" "+D(b.$t("mappings.translation.none")),1)],8,wC),m("button",{"aria-selected":(X(u)??"none")==="ns",onClick:y[5]||(y[5]=v=>{u.value="ns",d.value=void 0,h.value=void 0}),class:"selection-button py-2 px-3 flex-1 flex items-center gap-3 text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[P(X(D_),{class:"flex-shrink-0",size:20}),K(" "+D(b.$t("mappings.translation.another.namespace")),1)],8,kC),m("button",{"aria-selected":(X(u)??"none")==="ver",onClick:y[6]||(y[6]=v=>{u.value="ver",d.value=void 0,h.value=void 0}),class:"selection-button py-2 px-3 flex-1 flex items-center gap-3 text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[P(X(F_),{class:"flex-shrink-0",size:20}),K(" "+D(b.$t("mappings.translation.another.version")),1)],8,EC)]),(X(u)??"none")==="ns"?(A(),I("div",$C,[m("p",SC,D(b.$t("mappings.translation.none")),1),m("div",{class:Ie([X(d)===void 0?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70 uppercase"]),onClick:y[7]||(y[7]=v=>d.value=void 0)},D(b.$t("mappings.translation.n/a")),3),m("div",{class:Ie([s.value?"expanded":"","expand-height"])},[(A(!0),I(pe,null,Ce(g.value,([v,$])=>(A(),I("div",CC,[m("p",xC,D(v),1),(A(!0),I(pe,null,Ce($,S=>(A(),I("div",null,[(S==null?void 0:S.id)!==X(a)?(A(),I("div",{key:0,class:Ie([X(d)===S.id?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:T=>d.value=S.id},D(E(S)??""),11,AC)):de("",!0)]))),256))]))),256))],2),m("div",{class:"mx-[-.5rem] px-2 py-1 justify-center cursor-pointer flex gap-1 transition-all rounded bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70",onClick:y[8]||(y[8]=v=>s.value=!s.value)},[(A(),I("svg",{xmlns:"http://www.w3.org/2000/svg",class:Ie([s.value?"rotate-180":"","transition-transform duration-200"]),width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},OC,2)),s.value?(A(),I("span",NC,D(b.$t("mappings.namespace.show.less")),1)):(A(),I("span",IC,D(b.$t("mappings.namespace.show.more")),1))])])):de("",!0),(X(u)??"none")==="ver"?(A(),I("div",MC,[m("div",PC,[m("div",RC,[m("label",DC,D(b.$t("dependencies.version.snapshots")),1),Lt(m("input",{type:"checkbox","onUpdate:modelValue":y[9]||(y[9]=v=>Ye(l)?l.value=v:null),id:"allow-snapshots","aria-label":"Enable Snapshots"},null,512),[[Es,X(l)]])])]),m("div",FC,[m("div",jC,[(A(!0),I(pe,null,Ce(["n/a",..._.value.filter(v=>v.version!==X(i)).map(v=>v.version)],v=>(A(),I("p",{class:Ie([X(h)===v||v==="n/a"&&X(h)===void 0?"font-medium":"font-normal opacity-80 decoration-base-500/60 hover:decoration-base-700/60 dark:decoration-base-dark-400/70 dark:hover:decoration-base-dark-600/60","transition-all bg-base-700 dark:hover:bg-base-dark-600 bg-opacity-0 hover:bg-opacity-60 rounded-md cursor-pointer","px-2 py-1 underline underline-offset-2 decoration-2",v==="n/a"&&"uppercase"]),onClick:$=>h.value=v==="n/a"?void 0:v},D(v==="n/a"?b.$t("mappings.translation.n/a"):v),11,UC))),256))])])])):de("",!0)])):de("",!0)]))}}),VC=Ae(HC,[["__scopeId","data-v-0bcd56a7"]]),BC={key:0,class:"m-10 flex flex-col items-center"},GC=Mo('
',2),WC={class:"font-bold pt-8"},zC={key:1,class:"m-10 flex flex-col items-center"},KC=m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"m-4",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("circle",{cx:"12",cy:"12",r:"9"}),m("line",{x1:"5.7",y1:"5.7",x2:"18.3",y2:"18.3"})],-1),qC={class:"font-bold pt-4"},JC={key:0,class:"text-center"},YC={key:1,class:"text-center"},XC=me({__name:"MappingsSearchPlaceholder",props:{searching:{type:Boolean},hasQuery:{type:Boolean}},setup(e){return(t,n)=>t.searching?(A(),I("div",BC,[GC,m("p",WC,D(t.$t("mappings.searching")),1),m("p",null,D(t.$t("mappings.searching.subtitle")),1)])):(A(),I("div",zC,[KC,m("p",qC,D(t.$t("mappings.searching.none")),1),t.hasQuery?(A(),I("p",YC,D(t.$t("mappings.searching.none.mistake")),1)):(A(),I("p",JC,D(t.$t("mappings.searching.none.try")),1))]))}});var Dr={},sr=Symbol(),eo=Symbol(),wp=e=>typeof e=="string"?It[e]:e,It={plain:Dr,plaintext:Dr,text:Dr,txt:Dr},kp=(e,t)=>(t[eo]||QC)(e,t),QC=(e,t)=>{for(var n=[e],s,r=[],o=0;s=wp(t[sr]);)delete t[sr],Object.assign(t,s);for(Sp(e,t,n,0);r[o++]=n[0],n=n[1];);return r},wu="",Fr="",Bs="",Ep=e=>{for(var t="",n=e.length,s=0;s{if(e instanceof zs){var{type:t,alias:n,content:s}=e,r=Fr,o=Bs,a=``;Bs+=wu,Fr+=a;var i=$p(s);return Fr=r,Bs=o,a+i+wu}return typeof e!="string"?Ep(e):(e=e.replace(/&/g,"&").replace(/(A(),I("div",cS,[t.entry.argsGuessed||t.entry.argsParchment?(A(),I("div",uS,[t.entry.argsGuessed?(A(),fe(X(N_),{key:0,class:"peer",size:20})):t.entry.argsParchment?(A(),fe(X(I_),{key:1,class:"peer",size:20})):de("",!0),P(yp,null,{default:R(()=>[t.entry.argsGuessed?(A(),I("div",dS,[m("div",fS,[P(X(P_),{class:"mr-1.5"}),pS]),K(" The method argument mappings are aggregated from other mapping projects,"),mS,K(" and may not be accurate or fit the current context."),hS,gS,K(" This may be the result of the lack of a proper source for this mappings or this version. ")])):t.entry.argsParchment?(A(),I("div",bS,[m("div",_S,[P(X(M_),{class:"mr-1.5"}),vS]),K(" The method argument mappings are provided from a community project, ParchmentMC, "),yS,K(" and may not be accurate, or may be subject to a different license. ")])):de("",!0)]),_:1})])):de("",!0),m("div",wS,[m("span",kS,F(t.methodReturnType(t.entry)),1),K(" "+F(t.onlyClass(t.getOptimumName(t.entry)))+"( ",1),P(vp,{class:"[&_.bold]:font-bold"},{default:R(()=>[K(F(t.methodArgs(t.entry)),1)]),_:1}),K(") ")])]))}});function Tt(e){return e.named||e.intermediary||""}function qn(e){return e.ownerNamed||e.ownerIntermediary||""}function us(e){return e.descNamed||e.descIntermediary||""}function Bt(e){return e&&e.replaceAll("$",".").replaceAll("/",".")}function Nt(e){if(e){let t=e.lastIndexOf("/"),n=t==-1?e:e.substring(t+1);return Bt(n)}else return e}function _o(e){return e.type=="class"?Bt(e.obf):`${Bt(e.ownerObf)}.${Nt(e.obf)}`}function $S(e){return e.type=="class"?Bt(e.obfClient):`${Bt(e.ownerObfClient)}.${Nt(e.obfClient)}`}function SS(e){return e.type=="class"?Bt(e.obfServer):`${Bt(e.ownerObfServer)}.${Nt(e.obfServer)}`}function vo(e){return e.type=="class"?Bt(e.intermediary):`${Bt(e.ownerIntermediary)}.${Nt(e.intermediary)}`}function Zr(e,t=!0){return t?e.type=="class"?Nt(Tt(e)):`${Nt(qn(e))}.${Nt(Tt(e))}`:e.type=="class"?Bt(Tt(e)):`${Bt(qn(e))}.${Nt(Tt(e))}`}function CS(e,t){let n=[];if(e){let s=t.translatedTo,r=vo(t),a=Zr(t,!1);r!==a&&a&&n.push(a),n.push(r);let o=t.obf?_o(t):void 0,i=s.obf?_o(s):void 0;i!=o&&(o&&n.push(o),i&&n.push(i));let l=vo(s),c=Zr(s,!1);l!==r&&n.push(l),l!==c&&c&&n.push(c)}else{if(t.obf)n.push(_o(t));else{let a=[];t.obfClient&&a.push($S(t)+" (client)"),t.obfServer&&a.push(SS(t)+" (server)"),a.length>0&&n.push(a.join(" / "))}let s=vo(t),r=Zr(t,!1);n.push(s),s!==r&&r&&n.push(r)}return n}function Vs(e){if(!e)return e;let t=e.lastIndexOf("["),n=t==-1?e:e.substring(t+1),s=length-n.length,r="";if(n.length>0)if(n.startsWith("L"))r+=n.substring(1,n.length-1).replaceAll("/",".").replaceAll("$",".");else switch(n[0]){case"Z":r+="boolean";break;case"C":r+="char";break;case"B":r+="byte";break;case"S":r+="short";break;case"I":r+="int";break;case"F":r+="float";break;case"J":r+="long";break;case"D":r+="double";break;case"V":r+="void";break}for(let a=0;a{var o,i,l,c,u,d,h,k,g,_,E,w,b,y,v,$,S,T,x,M,z,q,G,re,we;let e=this.$refs.source;if(!e)return;let t=Nt(Tt(this.entry))??"";t.includes(".")&&(t=t.substring(0,t.indexOf(".")));function n(ce){if(typeof ce=="string")return ce;if(Array.isArray(ce)){let ae="";return ce.forEach(Q=>{ae+=n(Q)}),ae}else{let ae="token "+ce.type;return ce.alias&&(ae+=" "+ce.alias),`${n(ce.content)}`}}let s="",r="";ui.tokenize(this.source,ui.languages.java).flatMap(n).forEach(ce=>{if(ce.startsWith("<")||ce.endsWith(">"))r+=ce;else{let ae=ce.split(` +`);for(let Q=0;Q"}}});let a=0;for(let ce of r.split(` +`))s+="
",s+=a,s+="",s+="",s+=ce,s+="
";e.innerHTML=s;for(let ce=0;ce{ae.scrollIntoView({behavior:"smooth",block:"center"})});return}}})},expandSource(){this.$nextTick(()=>{let e=this.$refs["source-loading"];!e||!e[0]||e[0].scrollIntoView({behavior:"smooth",block:"center"})})}},methods:{copyAs:dp,mixinTarget(e){return`L${qn(e)};${Tt(e)}${e.type==="field"?":":""}${us(e)}`},atText(e){return e.type==="class"?`public ${Tt(e).replaceAll("/",".")}`:e.type==="method"?`public ${qn(e).replaceAll("/",".")} ${e.intermediary}${us(e)} # ${Tt(e)}`:`public ${qn(e).replaceAll("/",".")} ${e.intermediary} # ${Tt(e)}`},awText(e){return e.type==="class"?`accessible ${e.type} ${Tt(e)}`:`accessible ${e.type} ${qn(e)} ${Tt(e)} ${us(e)}`},fieldType(e){let t=us(e);return Vs(t)},methodReturnType(e){let t=us(e);return t=t.substring(t.lastIndexOf(")")+1),Nt(Vs(t).replaceAll(".","/"))},getMethodArgs(e){let t=us(e),n=[],s=t.indexOf("(")+1,r=0;for(;t[s]!==")";){let a=t[s];if(a==="[")r++,s++;else if(a==="L"){let o=t.indexOf(";",s),i=t.substring(s,o+1);n.push(["[".repeat(r)+i,Nt(Vs(i).replaceAll(".","/"))+"[]".repeat(r)]),r=0,s=o+1}else n.push(["[".repeat(r)+t[s],Vs(t[s])+"[]".repeat(r)]),r=0,s++}return n},methodArgs(e){let t=this.getMethodArgs(e),n=1e6,s=0,r=0;if(e.args){Object.keys(e.args).filter(o=>e.args.hasOwnProperty(o)).map(o=>+o).forEach(o=>{os&&(s=o)});for(let o=0;o{let l=`var${i}`;if(e.args&&a){let c=Object.values(e.args)[i];c&&(l=c)}return`*${o[1]}* ${l}`}).join(", ")},requestSource(){var e,t,n;this.expandSource=!this.expandSource||this.expandSource!==((e=this.namespace)==null?void 0:e.id)+" "+this.version+" "+this.query?((t=this.namespace)==null?void 0:t.id)+" "+this.version+" "+this.query:null,this.source="",this.expandSource===((n=this.namespace)==null?void 0:n.id)+" "+this.version+" "+this.query&&Ty(this.namespace.id,this.version,this.entry.ownerNamed??this.entry.ownerIntermediary??this.entry.named??this.entry.intermediary).then(s=>{this.source=s.data}).catch(s=>{Ls({type:"error",message:`Failed to fetch source: ${s.message}`})})}},props:{namespace:{type:Object,required:!0},translatedToNamespace:{type:Object},version:{type:String},entry:{type:Object,required:!0},query:{type:String}}}),xr=e=>(Rn("data-v-f7926b1d"),e=e(),Fn(),e),AS={class:"flex gap-x-2"},TS={class:"flex-1 overflow-x-auto overflow-y-clip epic-scroller flex flex-nowrap items-center"},LS={class:"whitespace-nowrap [&_>span]:cursor-pointer"},OS={key:1,class:"whitespace-nowrap [&_>span]:cursor-pointer"},IS={key:1,class:"breadcrumbs text-sm max-w-full overflow-x-auto overflow-y-clip epic-scroller py-2"},MS={class:"flex items-center whitespace-nowrap"},NS={class:"flex items-center"},PS={class:"whitespace-nowrap [&_>span]:cursor-pointer"},RS=["onClick"],FS=["onClick"],DS=xr(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),jS={key:6},US=xr(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),HS=xr(()=>m("div",{class:"h-2"},null,-1)),VS={class:"rounded-lg bg-base-dark-200 p-3 text-sm h-[28rem] overflow-x-auto resize-y epic-scroller"},BS={key:0,class:"h-full items-center justify-center grid"},GS={class:"flex gap-4 items-center justify-center animate-pulse animate-bounce text-base-dark-content",ref:"source-loading"},WS=xr(()=>m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"animate-spin",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("path",{d:"M10 17a3 3 0 1 1 -1.543 -2.623l2.087 -3.754a3 3 0 0 1 1.456 -5.623a3 3 0 0 1 1.457 5.623l2.087 3.754a3 3 0 1 1 -1.538 2.8l-.006 -.177h-4z"}),m("path",{d:"M17 17v.01"}),m("path",{d:"M7 17v.01"}),m("path",{d:"M12 8v.01"})],-1)),zS=xr(()=>m("p",{class:"font-medium text-xl"},"Generating Sources... This is slow on the first run",-1)),KS=[WS,zS],qS={ref:"source",class:"whitespace-pre text-base-dark-content"};function YS(e,t,n,s,r,a){const o=ye("CopyableIcon"),i=ye("IconChevronsRight"),l=ye("IconCode"),c=ye("Tooltip"),u=ye("SubHeader"),d=ye("MappingsMethodLine"),h=ye("Copyable"),k=ye("EntryDetails"),g=ye("Block");return A(),fe(g,null,{default:R(()=>{var _;return[P(u,null,{default:R(()=>{var E;return[m("div",AS,[m("div",TS,[m("div",LS,[e.entry.type!=="class"?(A(),I("span",{key:0,class:"hover:underline peer",onClick:t[0]||(t[0]=w=>e.copyAs(e.$i18n,e.getDisplayName(e.entry)))},F(e.onlyClass(e.getOptimumOwnerName(e.entry)))+".",1)):de("",!0),m("span",{class:"hover:underline peer-hover:underline",onClick:t[1]||(t[1]=w=>e.copyAs(e.$i18n,e.onlyClass(e.getOptimumName(e.entry))))},F(e.onlyClass(e.getOptimumName(e.entry))),1),P(o,{class:"inline-block pl-0.5"})]),e.hasTranslation?(A(),fe(i,{key:0,class:"ml-1.5 mr-1 min-w-[22px]"})):de("",!0),e.hasTranslation?(A(),I("div",OS,[e.entry.translatedTo.type!=="class"?(A(),I("span",{key:0,class:"hover:underline peer",onClick:t[2]||(t[2]=w=>e.copyAs(e.$i18n,e.getDisplayName(e.entry.translatedTo)))},F(e.onlyClass(e.getOptimumOwnerName(e.entry.translatedTo)))+".",1)):de("",!0),m("span",{class:"hover:underline peer-hover:underline",onClick:t[3]||(t[3]=w=>e.copyAs(e.$i18n,e.onlyClass(e.getOptimumName(e.entry.translatedTo))))},F(e.onlyClass(e.getOptimumName(e.entry.translatedTo))),1),P(o,{class:"inline-block pl-0.5"})])):de("",!0),m("div",{class:Ie(["rounded-full text-[.75rem] px-[.438rem] inline-flex items-center justify-center h-4 ml-2 text-base-content whitespace-nowrap",{"bg-primary":e.entry.type==="class","bg-secondary":e.entry.type==="field","bg-tertiary":e.entry.type==="method"}])},F(e.$t(`mappings.entry.type.${e.entry.type}`)),3)]),(E=e.namespace)!=null&&E.supportsSource?(A(),I("div",{key:0,class:"cursor-pointer relative",onClick:t[4]||(t[4]=w=>e.requestSource())},[P(l,{class:"peer"}),P(c,{class:"font-medium",placement:"left"},{default:R(()=>[K(F(e.$t("mappings.entry.view.sources")),1)]),_:1})])):de("",!0)])]}),_:1}),e.entry.type==="method"?(A(),fe(d,{key:0,"only-class":e.onlyClass,"get-optimum-name":e.getOptimumName,"method-args":e.methodArgs,"method-return-type":e.methodReturnType,entry:e.entry},null,8,["only-class","get-optimum-name","method-args","method-return-type","entry"])):de("",!0),e.breadcrumbs.length>1?(A(),I("div",IS,[m("ul",MS,[(A(!0),I(pe,null,Ce(e.breadcrumbs,E=>(A(),I("li",NS,[m("div",PS,[E.includes(".")?(A(),I("span",{key:0,class:"hover:underline peer",onClick:w=>e.copyAs(e.$i18n,E)},F(E.substring(0,E.lastIndexOf(".")))+".",9,RS)):de("",!0),m("span",{class:"hover:underline peer-hover:underline",onClick:w=>e.copyAs(e.$i18n,E.substring(E.lastIndexOf(".")+1))},F(E.substring(E.lastIndexOf(".")+1)),9,FS),P(o,{class:"inline-block pl-0.5","stroke-width":"1"})])]))),256))])])):de("",!0),DS,e.entry.type==="field"&&e.namespace.supportsFieldDescription?(A(),fe(k,{key:2,title:e.$t("mappings.entry.type"),code:!1},{default:R(()=>[P(h,{copy:e.fieldType(e.entry),strokeWidth:"1"},{default:R(()=>[K(F(e.fieldType(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.entry.type!=="class"&&e.namespace.supportsMixin?(A(),fe(k,{key:3,title:e.$t("mappings.entry.mixin.target")},{default:R(()=>[P(h,{copy:e.mixinTarget(e.entry),strokeWidth:"1"},{default:R(()=>[K(F(e.mixinTarget(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.namespace.supportsAT?(A(),fe(k,{key:4,title:e.$t("mappings.entry.at")},{default:R(()=>[P(h,{copy:e.atText(e.entry),strokeWidth:"1"},{default:R(()=>[K(F(e.atText(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.namespace.supportsAW?(A(),fe(k,{key:5,title:e.$t("mappings.entry.aw")},{default:R(()=>[P(h,{copy:e.awText(e.entry),strokeWidth:"1"},{default:R(()=>[K(F(e.awText(e.entry)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.hasTranslation?(A(),I("div",jS,[US,e.entry.type==="field"&&e.translatedToNamespace.supportsFieldDescription?(A(),fe(k,{key:0,title:e.$t("mappings.entry.type"),code:!1},{default:R(()=>[P(h,{copy:e.fieldType(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(F(e.fieldType(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.entry.type!=="class"&&e.translatedToNamespace.supportsMixin?(A(),fe(k,{key:1,title:e.$t("mappings.entry.mixin.target")},{default:R(()=>[P(h,{copy:e.mixinTarget(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(F(e.mixinTarget(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.translatedToNamespace.supportsAT?(A(),fe(k,{key:2,title:e.$t("mappings.entry.at")},{default:R(()=>[P(h,{copy:e.atText(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(F(e.atText(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0),e.translatedToNamespace.supportsAW?(A(),fe(k,{key:3,title:e.$t("mappings.entry.aw")},{default:R(()=>[P(h,{copy:e.awText(e.entry.translatedTo),strokeWidth:"1"},{default:R(()=>[K(F(e.awText(e.entry.translatedTo)),1)]),_:1},8,["copy"])]),_:1},8,["title"])):de("",!0)])):de("",!0),m("div",{class:Ie([e.expandSource===((_=e.namespace)==null?void 0:_.id)+" "+e.version+" "+e.query?"expanded":"","expand-height !ease-in"])},[HS,m("div",VS,[e.source===""?(A(),I("div",BS,[m("div",GS,KS,512)])):de("",!0),m("code",qS,null,512)])],2)]}),_:1})}const JS=Ae(xS,[["render",YS],["__scopeId","data-v-f7926b1d"]]),Ps=e=>(Rn("data-v-2b7acbf4"),e=e(),Fn(),e),XS={class:"flex flex-col"},QS={class:"pt-2 pb-2.5 flex gap-3"},ZS=["aria-selected","onClick"],eC=["aria-expanded"],tC=Ps(()=>m("div",{class:"divider mt-0 mb-0 pb-0.5"},null,-1)),nC={key:0,class:"pb-1"},sC={class:"text-xs font-bold uppercase"},rC=["onClick"],aC={key:0,class:"pb-1"},oC={class:"text-xs font-bold uppercase"},iC=["onClick"],lC=Ps(()=>m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),cC=Ps(()=>m("polyline",{points:"6 9 12 15 18 9"},null,-1)),uC=[lC,cC],dC={key:0},fC={key:1},pC=Ps(()=>m("div",{class:"divider mt-0 mb-0"},null,-1)),mC={class:"flex flex-col flex-nowrap justify-center h-full whitespace-nowrap pb-2"},hC={class:"flex gap-2 select-none justify-between"},gC={for:"allow-snapshots"},bC={class:"mx-[-.25rem] bg-base-l2 rounded-lg"},_C={class:"p-1 h-40 overflow-x-clip gradient-mask-b-80 overflow-y-scroll epic-scroller"},vC=["onClick"],yC={key:0,class:"divider mt-0 mb-0"},wC={key:1,class:"mt-2"},kC={class:"pt-2 flex flex-col gap-3"},EC=["aria-selected"],$C=["aria-selected"],SC=["aria-selected"],CC={key:0,class:"pt-4"},xC={class:"text-xs font-bold uppercase"},AC={class:"pb-1"},TC={class:"text-xs font-bold uppercase"},LC=["onClick"],OC=Ps(()=>m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),IC=Ps(()=>m("polyline",{points:"6 9 12 15 18 9"},null,-1)),MC=[OC,IC],NC={key:0},PC={key:1},RC={key:1,class:"pt-4"},FC={class:"flex flex-col flex-nowrap justify-center h-full whitespace-nowrap pb-2"},DC={class:"flex gap-2 select-none justify-between"},jC={for:"allow-snapshots"},UC={class:"mx-[-.25rem] bg-base-l2 rounded-lg"},HC={class:"p-1 h-40 overflow-x-clip gradient-mask-b-80 overflow-y-scroll epic-scroller"},VC=["onClick"],BC=me({__name:"MappingsFilterBlock",props:{data:{}},setup(e){const{data:t}=e,n=Ke(!1),s=Ke(!1),r=Ke(!1),{t:a}=$r(),{namespace:o,version:i,allowSnapshots:l,mode:c,translateMode:u,translateAs:d,translateAsVersion:h}=xt(Te()),k=je(()=>t.namespaces),g=je(()=>{let b={};for(let y in k.value){let v=Oy[k.value[y].id]??"Others";typeof v=="string"&&(v=[v]);for(let $ of v)b[$]||(b[$]=[]),b[$].push(k.value[y])}for(let y in b)b[y].sort((v,$)=>(E(v)??"").localeCompare(E($)??""));return Object.entries(b).sort((y,v)=>cu.indexOf(y[0])-cu.indexOf(v[0]))}),_=je(()=>ii());function E(b){if(typeof b=="string")return a(`namespace.${b.toLowerCase()}`)||_a[b.toLowerCase()]||b.toLowerCase();if(b){let y=b.id;return a(`namespace.${y.toLowerCase()}`)||_a[y.toLowerCase()]||y.toLowerCase()}else return}function w(b){c.value=b,c.value==="stacktrace"&&(u.value="none",d.value=void 0,h.value=void 0)}return(b,y)=>(A(),I("div",XS,[P(Ct,{class:"mt-[-.25rem] mb-1 flex items-center gap-1.5"},{default:R(()=>[K(F(b.$t("mappings.mode"))+" ",1),P(X(j_),{size:20})]),_:1}),m("div",QS,[(A(),I(pe,null,Ce(["mappings","stacktrace"],v=>m("button",{"aria-selected":(X(c)??"mappings")===v,onClick:$=>w(v),onMouseenter:y[0]||(y[0]=$=>r.value=!0),onMouseleave:y[1]||(y[1]=$=>r.value=!1),class:"selection-button py-2 px-3 flex items-center text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none group overflow-clip flex-shrink-0"},[v==="mappings"?(A(),fe(X(iv),{key:0,class:"flex-shrink-0",size:20})):(A(),fe(X(q_),{key:1,class:"flex-shrink-0",size:20})),m("span",{"aria-expanded":!r.value&&(X(c)??"mappings")===v,class:"group-hover:opacity-100 group-hover:w-fit group-hover:pl-2 aria-expanded:opacity-100 aria-expanded:w-fit aria-expanded:pl-2 w-0 pl-0 transition-all duration-150 opacity-[-100] text-ellipsis whitespace-nowrap overflow-hidden"},F(b.$t(`mappings.mode.${v}`)),9,eC)],40,ZS)),64))]),tC,P(Ct,{class:"mt-[-.25rem] mb-1 flex items-center gap-1.5"},{default:R(()=>[K(F(b.$t("mappings.namespace"))+" ",1),P(X(z_),{size:20})]),_:1}),(A(!0),I(pe,null,Ce(g.value,([v,$])=>(A(),I("div",null,[X(uu).includes(v)?de("",!0):(A(),I("div",nC,[m("p",sC,F(v),1),(A(!0),I(pe,null,Ce($,S=>(A(),I("div",{class:Ie([X(o)===S.id?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:T=>o.value=S.id},F(E(S)??""),11,rC))),256))]))]))),256)),(A(!0),I(pe,null,Ce(g.value,([v,$])=>(A(),I("div",{class:Ie([n.value?"expanded":"","expand-height"])},[X(uu).includes(v)?(A(),I("div",aC,[m("p",oC,F(v),1),(A(!0),I(pe,null,Ce($,S=>(A(),I("div",{class:Ie([X(o)===S.id?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:T=>o.value=S.id},F(E(S)??""),11,iC))),256))])):de("",!0)],2))),256)),m("div",{class:"mx-[-.5rem] px-2 py-1 justify-center cursor-pointer flex gap-1 transition-all rounded bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70",onClick:y[2]||(y[2]=v=>n.value=!n.value)},[(A(),I("svg",{xmlns:"http://www.w3.org/2000/svg",class:Ie([n.value?"rotate-180":"","transition-transform duration-200"]),width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},uC,2)),n.value?(A(),I("span",fC,F(b.$t("mappings.namespace.show.less")),1)):(A(),I("span",dC,F(b.$t("mappings.namespace.show.more")),1))]),pC,P(Ct,{class:"pb-1 flex items-center gap-1.5"},{default:R(()=>[K(F(b.$t("mappings.version"))+" ",1),P(X(Q_),{class:"-scale-100",size:20})]),_:1}),m("div",mC,[m("div",hC,[m("label",gC,F(b.$t("dependencies.version.snapshots")),1),Lt(m("input",{type:"checkbox","onUpdate:modelValue":y[3]||(y[3]=v=>Je(l)?l.value=v:null),id:"allow-snapshots","aria-label":"Enable Snapshots"},null,512),[[Es,X(l)]])])]),m("div",bC,[m("div",_C,[(A(!0),I(pe,null,Ce(_.value,v=>(A(),I("p",{class:Ie([X(i)===v.version&&v.hasTranslation?"font-medium":"font-normal opacity-80 decoration-base-500/60 hover:decoration-base-700/60 dark:decoration-base-dark-400/70 dark:hover:decoration-base-dark-600/60",v.hasTranslation?"transition-all bg-base-700 dark:hover:bg-base-dark-600 bg-opacity-0 hover:bg-opacity-60 rounded-md cursor-pointer":"cursor-not-allowed line-through decoration-base-content hover:decoration-base-content dark:decoration-base-dark-content dark:hover:decoration-base-dark-content","px-2 py-1 underline underline-offset-2 decoration-2"]),onClick:$=>i.value=v.hasTranslation?v.version:X(i)},F(v.hasTranslation?v.version:b.$t("mappings.version.no.translation",{version:v.version})),11,vC))),256))])]),X(c)==="mappings"?(A(),I("div",yC)):de("",!0),X(c)==="mappings"?(A(),I("div",wC,[P(Ct,{class:"flex items-center gap-1.5"},{default:R(()=>[K(F(b.$t("mappings.translation"))+" ",1),P(X(lv),{size:20})]),_:1}),m("div",kC,[m("button",{"aria-selected":(X(u)??"none")==="none",onClick:y[4]||(y[4]=v=>{u.value="none",d.value=void 0,h.value=void 0}),class:"selection-button py-2 px-3 flex-1 flex items-center gap-3 text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[P(X(R_),{class:"flex-shrink-0",size:20}),K(" "+F(b.$t("mappings.translation.none")),1)],8,EC),m("button",{"aria-selected":(X(u)??"none")==="ns",onClick:y[5]||(y[5]=v=>{u.value="ns",d.value=void 0,h.value=void 0}),class:"selection-button py-2 px-3 flex-1 flex items-center gap-3 text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[P(X(F_),{class:"flex-shrink-0",size:20}),K(" "+F(b.$t("mappings.translation.another.namespace")),1)],8,$C),m("button",{"aria-selected":(X(u)??"none")==="ver",onClick:y[6]||(y[6]=v=>{u.value="ver",d.value=void 0,h.value=void 0}),class:"selection-button py-2 px-3 flex-1 flex items-center gap-3 text-left rounded-lg bg-base-500 dark:bg-base-dark-200 bg-opacity-60 hover:bg-opacity-100 dark:hover:bg-base-dark-400 dark:focus:bg-base-dark-400 transition-all duration-150 border-none select-none"},[P(X(D_),{class:"flex-shrink-0",size:20}),K(" "+F(b.$t("mappings.translation.another.version")),1)],8,SC)]),(X(u)??"none")==="ns"?(A(),I("div",CC,[m("p",xC,F(b.$t("mappings.translation.none")),1),m("div",{class:Ie([X(d)===void 0?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70 uppercase"]),onClick:y[7]||(y[7]=v=>d.value=void 0)},F(b.$t("mappings.translation.n/a")),3),m("div",{class:Ie([s.value?"expanded":"","expand-height"])},[(A(!0),I(pe,null,Ce(g.value,([v,$])=>(A(),I("div",AC,[m("p",TC,F(v),1),(A(!0),I(pe,null,Ce($,S=>(A(),I("div",null,[(S==null?void 0:S.id)!==X(o)?(A(),I("div",{key:0,class:Ie([X(d)===S.id?"font-medium":"font-normal opacity-80 decoration-base-400/50 hover:decoration-base-500/70 dark:decoration-base-dark-400/50 dark:hover:decoration-base-dark-400/70","underline underline-offset-2 decoration-2 cursor-pointer mx-[-.5rem] px-2 py-1 rounded transition-all bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70"]),onClick:T=>d.value=S.id},F(E(S)??""),11,LC)):de("",!0)]))),256))]))),256))],2),m("div",{class:"mx-[-.5rem] px-2 py-1 justify-center cursor-pointer flex gap-1 transition-all rounded bg-base-500 dark:hover:bg-base-dark-400 bg-opacity-0 hover:bg-opacity-70",onClick:y[8]||(y[8]=v=>s.value=!s.value)},[(A(),I("svg",{xmlns:"http://www.w3.org/2000/svg",class:Ie([s.value?"rotate-180":"","transition-transform duration-200"]),width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},MC,2)),s.value?(A(),I("span",PC,F(b.$t("mappings.namespace.show.less")),1)):(A(),I("span",NC,F(b.$t("mappings.namespace.show.more")),1))])])):de("",!0),(X(u)??"none")==="ver"?(A(),I("div",RC,[m("div",FC,[m("div",DC,[m("label",jC,F(b.$t("dependencies.version.snapshots")),1),Lt(m("input",{type:"checkbox","onUpdate:modelValue":y[9]||(y[9]=v=>Je(l)?l.value=v:null),id:"allow-snapshots","aria-label":"Enable Snapshots"},null,512),[[Es,X(l)]])])]),m("div",UC,[m("div",HC,[(A(!0),I(pe,null,Ce(["n/a",..._.value.filter(v=>v.version!==X(i)).map(v=>v.version)],v=>(A(),I("p",{class:Ie([X(h)===v||v==="n/a"&&X(h)===void 0?"font-medium":"font-normal opacity-80 decoration-base-500/60 hover:decoration-base-700/60 dark:decoration-base-dark-400/70 dark:hover:decoration-base-dark-600/60","transition-all bg-base-700 dark:hover:bg-base-dark-600 bg-opacity-0 hover:bg-opacity-60 rounded-md cursor-pointer","px-2 py-1 underline underline-offset-2 decoration-2",v==="n/a"&&"uppercase"]),onClick:$=>h.value=v==="n/a"?void 0:v},F(v==="n/a"?b.$t("mappings.translation.n/a"):v),11,VC))),256))])])])):de("",!0)])):de("",!0)]))}}),GC=Ae(BC,[["__scopeId","data-v-2b7acbf4"]]),WC={key:0,class:"m-10 flex flex-col items-center"},zC=Ma('
',2),KC={class:"font-bold pt-8"},qC={key:1,class:"m-10 flex flex-col items-center"},YC=m("svg",{xmlns:"http://www.w3.org/2000/svg",class:"m-4",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[m("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),m("circle",{cx:"12",cy:"12",r:"9"}),m("line",{x1:"5.7",y1:"5.7",x2:"18.3",y2:"18.3"})],-1),JC={class:"font-bold pt-4"},XC={key:0,class:"text-center"},QC={key:1,class:"text-center"},ZC=me({__name:"MappingsSearchPlaceholder",props:{searching:{type:Boolean},hasQuery:{type:Boolean}},setup(e){return(t,n)=>t.searching?(A(),I("div",WC,[zC,m("p",KC,F(t.$t("mappings.searching")),1),m("p",null,F(t.$t("mappings.searching.subtitle")),1)])):(A(),I("div",qC,[YC,m("p",JC,F(t.$t("mappings.searching.none")),1),t.hasQuery?(A(),I("p",QC,F(t.$t("mappings.searching.none.mistake")),1)):(A(),I("p",XC,F(t.$t("mappings.searching.none.try")),1))]))}});var Fr={},sr=Symbol(),ea=Symbol(),wp=e=>typeof e=="string"?It[e]:e,It={plain:Fr,plaintext:Fr,text:Fr,txt:Fr},kp=(e,t)=>(t[ea]||ex)(e,t),ex=(e,t)=>{for(var n=[e],s,r=[],a=0;s=wp(t[sr]);)delete t[sr],Object.assign(t,s);for(Sp(e,t,n,0);r[a++]=n[0],n=n[1];);return r},wu="
",Dr="",Bs="",Ep=e=>{for(var t="",n=e.length,s=0;s{if(e instanceof zs){var{type:t,alias:n,content:s}=e,r=Dr,a=Bs,o=``;Bs+=wu,Dr+=o;var i=$p(s);return Dr=r,Bs=a,o+i+wu}return typeof e!="string"?Ep(e):(e=e.replace(/&/g,"&").replace(/{for(var o in t)if(t[o])for(var a=0,i=t[o],l=Array.isArray(i)?i:[i];a=E+(S=_[0].length);_=_[1],E+=S);if(_[0]instanceof zs)continue;for(var T=_,i=E;(i+=T[0].length)<$;T=T[1],b++);w=e.slice(E,i),y.index-=E}}if(y&&y[0]){for(var x=y.index,N=y[0],z=w.slice(x+N.length),q=E+w.length,G=new zs(o,d?kp(N,d):N,N,g),re=_,we=0,ce;re=re[1],we++r[2]&&(r[2]=q)}}}}};function zs(e,t,n,s){this.type=e,this.content=t,this.alias=s,this.length=n.length}var to=(e,t)=>{if(t.has(e))return t.get(e);var n=e,s=tx.call(e).slice(8,-1);if(s=="Object"){t.set(e,n={});for(var r in e)n[r]=to(e[r],t);e[sr]&&(n[sr]=to(e[sr],t)),e[eo]&&(n[eo]=e[eo])}else if(s=="Array"){t.set(e,n=[]);for(var o=0,a=e.length;oto(e,new Map),ex=(e,t,n)=>{var s={};for(var r in e)s[r]=e[r],delete e[r];for(var r in s)r==t&&Object.assign(e,n),n.hasOwnProperty(r)||(e[r]=s[r])},tx={}.toString,ku=[{pattern:/&[a-z\d]{1,8};/i,alias:"named-entity"},/&#x?[a-f\d]{1,8};/i];It.rss=It.atom=It.ssml=It.xml={comment:{pattern://g,greedy:!0},prolog:{pattern:/<\?[^]+?\?>/g,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/gi,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[^]+(?=\]\s*>$)/,lookbehind:!0,inside:"xml"},string:/"[^"]*"|'[^']*'/,punctuation:/^[\]]/,"doctype-tag":/^DOCTYPE/i,name:/\S+/}},cdata:{pattern://gi,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s/=>$<%]+(?:\s(?:\s*[^\s/=>]+(?:\s*=\s*(?!\s)(?:"[^"]*"|'[^']*'|[^\s"'=>]+(?=[\s>]))?|(?=[\s/>])))+)?\s*\/?>/g,greedy:!0,inside:{punctuation:/^<\/?|\/?>$/,tag:{pattern:/^\S+/,inside:{namespace:/^[^:]+:/}},"attr-value":[{pattern:/(=\s*)(?:"[^"]*"|'[^']*'|[^\s"'=>]+)/g,lookbehind:!0,greedy:!0,inside:{punctuation:/^["']|["']$/,entity:ku}}],"attr-equals":/=/,"attr-name":{pattern:/\S+/,inside:{namespace:/^[^:]+:/}}}},entity:ku,"markup-bracket":{pattern:/[()[\]{}]/,alias:"punctuation"}};var di=(e,t)=>(e["language-"+t]={pattern:/[^]+/,inside:t},e),Eu=(e,t)=>({pattern:RegExp(`(<${e}[^>]*>)(?!)(?:))*\\]\\]>|(?!)`,"gi"),lookbehind:!0,greedy:!0,inside:di({"included-cdata":{pattern://i,inside:di({cdata:/^$/i},t)}},t)}),$u=(e,t)=>({pattern:RegExp(`((?:^|["'\\s])(?:${e})\\s*=\\s*)(?:"[^"]*"|'[^']*'|[^\\s"'=]+)`,"i"),lookbehind:!0,inside:di({punctuation:/^["']|["']$/},t)}),Cp=It.svg=It.mathml=It.html=It.markup=ZC(It.xml);Cp.tag.inside["attr-value"].unshift($u("style","css"),$u("on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)","javascript"));ex(Cp,"cdata",{style:Eu("style","css"),script:Eu("script","javascript")});var nx=()=>({pattern:/\/\/.*|\/\*[^]*?(?:\*\/|$)/g,greedy:!0}),sx=/[()[\]{}.,:;]/,rx=/\b(?:false|true)\b/,ya=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|opens?|package|permits|private|protected|provides|public|record(?!\s*[()[\]{}%~.,:;?%&|^=<>/*+-])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throws?|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,Ks="(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*",qs={namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./},Su={pattern:RegExp(`(^|[^\\w.])${Ks}[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b`),lookbehind:!0,inside:qs};It.java={"doc-comment":{pattern:/\/\*\*(?!\/)[^]*?(?:\*\/|$)/g,greedy:!0,alias:"comment",inside:"javadoc"},comment:nx(),"triple-quoted-string":{pattern:/"""[ ]*\n(?:\\.|[^\\])*?"""/g,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^\\\n']){1,6}'/g,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\\n"])*"/g,lookbehind:!0,greedy:!0},annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":Su,keyword:ya,punctuation:/[().,:<>]/,operator:/[?&|]/}},import:[{pattern:RegExp(`(\\bimport\\s+)${Ks}(?:[A-Z]\\w*|\\*)(?=\\s*;)`),lookbehind:!0,inside:{namespace:qs.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(`(\\bimport\\s+static\\s+)${Ks}(?:\\w+|\\*)(?=\\s*;)`),lookbehind:!0,alias:"static",inside:{namespace:qs.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(`(\\b(?:exports|import(?:\\s+static)?|module|opens?|package|provides|requires|to|transitive|uses|with)\\s+)(?!${ya.source})[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?`),lookbehind:!0,inside:{punctuation:/\./}},"class-name":[Su,{pattern:RegExp(`(^|[^\\w.])${Ks}[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()]|\\s*(?:\\[[\\s,]*\\]\\s*)?::\\s*new\\b)`),lookbehind:!0,inside:qs},{pattern:RegExp(`(\\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\\s+)${Ks}[A-Z]\\w*\\b`),lookbehind:!0,inside:qs}],keyword:ya,boolean:rx,function:{pattern:/\b\w+(?=\()|(::\s*)[a-z_]\w*/,lookbehind:!0},number:/\b0b[01][01_]*l?\b|\b0x(?:\.[a-f\d_p+-]+|[a-f\d_]+(?:\.[a-f\d_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,constant:/\b[A-Z][A-Z_\d]+\b/,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[%&|^!=<>/*+-]=?)/m,lookbehind:!0},punctuation:sx};const ox=(e,t,...n)=>{let s,r,o=ax(e),a=[],i,l="",c,u=!1,d=!1,h=!0,k=[],g;const _=ix(),E=_.firstChild,w=E.firstChild,b=w.firstChild,y=E.children,v={language:"text"},$=new Set(n),S={},T=F=>{({language:s,value:l=""}=Object.assign(v,{value:l},F));const J=It[s],ae=r!=J;if(!J)throw Error(`Language '${s}' has no grammar.`);r=J,g=!!v.readOnly,_.style.tabSize=v.tabSize||2,b.inputMode=g?"none":"",b.setAttribute("aria-readonly",g),z(),N(),(ae||l!=b.value)&&(we(),b.value=l,b.selectionEnd=0,x())},x=()=>{k=kp(l=b.value,r),ce("tokenize",k,s,l);let F=Ep(k).split(` -`),J=F.length,ae=0,ge=J,_e=a.length,Ge="";for(;F[ae]==a[ae]&&ae