@i18n-micro/devtools-ui 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,10 +1,10 @@
1
- (function(rt,eo){typeof exports=="object"&&typeof module<"u"?eo(exports):typeof define=="function"&&define.amd?define(["exports"],eo):(rt=typeof globalThis<"u"?globalThis:rt||self,eo(rt.I18nDevToolsUI={}))})(this,(function(rt){"use strict";var eo={};function vt(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const le=eo.NODE_ENV!=="production"?Object.freeze({}):{},to=eo.NODE_ENV!=="production"?Object.freeze([]):[],Se=()=>{},Ws=()=>!1,mo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zo=e=>e.startsWith("onUpdate:"),ge=Object.assign,Rn=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Vl=Object.prototype.hasOwnProperty,ee=(e,t)=>Vl.call(e,t),j=Array.isArray,Lt=e=>bo(e)==="[object Map]",oo=e=>bo(e)==="[object Set]",qs=e=>bo(e)==="[object Date]",z=e=>typeof e=="function",me=e=>typeof e=="string",qe=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Hn=e=>(se(e)||z(e))&&z(e.then)&&z(e.catch),Js=Object.prototype.toString,bo=e=>Js.call(e),Un=e=>bo(e).slice(8,-1),Qo=e=>bo(e)==="[object Object]",Bn=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_o=vt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Al=vt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),en=e=>{const t=Object.create(null);return(o=>t[o]||(t[o]=e(o)))},Il=/-\w/g,Ve=en(e=>e.replace(Il,t=>t.slice(1).toUpperCase())),Ml=/\B([A-Z])/g,Re=en(e=>e.replace(Ml,"-$1").toLowerCase()),Ft=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rt=en(e=>e?`on${Ft(e)}`:""),Ct=(e,t)=>!Object.is(e,t),no=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},tn=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},on=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kn=e=>{const t=me(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const vo=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yt(e){if(j(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],s=me(n)?Fl(n):yt(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(me(e)||se(e))return e}const Pl=/;(?![^(]*\))/g,jl=/:([^]+)/,Ll=/\/\*[^]*?\*\//g;function Fl(e){const t={};return e.replace(Ll,"").split(Pl).forEach(o=>{if(o){const n=o.split(jl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ye(e){let t="";if(me(e))t=e;else if(j(e))for(let o=0;o<e.length;o++){const n=ye(e[o]);n&&(t+=n+" ")}else if(se(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const Rl="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Hl="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Ul="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Bl=vt(Rl),Kl=vt(Hl),zl=vt(Ul),Wl=vt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ys(e){return!!e||e===""}function ql(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=yo(e[n],t[n]);return o}function yo(e,t){if(e===t)return!0;let o=qs(e),n=qs(t);if(o||n)return o&&n?e.getTime()===t.getTime():!1;if(o=qe(e),n=qe(t),o||n)return e===t;if(o=j(e),n=j(t),o||n)return o&&n?ql(e,t):!1;if(o=se(e),n=se(t),o||n){if(!o||!n)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!yo(e[i],t[i]))return!1}}return String(e)===String(t)}function zn(e,t){return e.findIndex(o=>yo(o,t))}const Xs=e=>!!(e&&e.__v_isRef===!0),G=e=>me(e)?e:e==null?"":j(e)||se(e)&&(e.toString===Js||!z(e.toString))?Xs(e)?G(e.value):JSON.stringify(e,Zs,2):String(e),Zs=(e,t)=>Xs(t)?Zs(e,t.value):Lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],r)=>(o[Wn(n,r)+" =>"]=s,o),{})}:oo(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Wn(o))}:qe(t)?Wn(t):se(t)&&!j(t)&&!Qo(t)?String(t):t,Wn=(e,t="")=>{var o;return qe(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};var ue={};function Je(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let He;class Jl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].pause();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].resume();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].resume()}}run(t){if(this._active){const o=He;try{return He=this,t()}finally{He=o}}else ue.NODE_ENV!=="production"&&Je("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=He,He=this)}off(){this._on>0&&--this._on===0&&(He=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,n=this.scopes.length;o<n;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Gl(){return He}let ae;const qn=new WeakSet;class Qs{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,He&&He.active&&He.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qn.has(this)&&(qn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ir(this),or(this);const t=ae,o=Ge;ae=this,Ge=!0;try{return this.fn()}finally{ue.NODE_ENV!=="production"&&ae!==this&&Je("Active effect was not restored correctly - this is likely a Vue internal bug."),nr(this),ae=t,Ge=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Xn(t);this.deps=this.depsTail=void 0,ir(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yn(this)&&this.run()}get dirty(){return Yn(this)}}let er=0,xo,wo;function tr(e,t=!1){if(e.flags|=8,t){e.next=wo,wo=e;return}e.next=xo,xo=e}function Jn(){er++}function Gn(){if(--er>0)return;if(wo){let t=wo;for(wo=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;xo;){let t=xo;for(xo=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function or(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function nr(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),Xn(n),Yl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function Yn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(sr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function sr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Eo)||(e.globalVersion=Eo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yn(e))))return;e.flags|=2;const t=e.dep,o=ae,n=Ge;ae=e,Ge=!0;try{or(e);const s=e.fn(e._value);(t.version===0||Ct(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ae=o,Ge=n,nr(e),e.flags&=-3}}function Xn(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),ue.NODE_ENV!=="production"&&o.subsHead===e&&(o.subsHead=s),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Xn(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Yl(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ge=!0;const rr=[];function Ye(){rr.push(Ge),Ge=!1}function Xe(){const e=rr.pop();Ge=e===void 0?!0:e}function ir(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ae;ae=void 0;try{t()}finally{ae=o}}}let Eo=0;class Xl{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,ue.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!ae||!Ge||ae===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==ae)o=this.activeLink=new Xl(ae,this),ae.deps?(o.prevDep=ae.depsTail,ae.depsTail.nextDep=o,ae.depsTail=o):ae.deps=ae.depsTail=o,lr(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=ae.depsTail,o.nextDep=void 0,ae.depsTail.nextDep=o,ae.depsTail=o,ae.deps===o&&(ae.deps=n)}return ue.NODE_ENV!=="production"&&ae.onTrack&&ae.onTrack(ge({effect:ae},t)),o}trigger(t){this.version++,Eo++,this.notify(t)}notify(t){Jn();try{if(ue.NODE_ENV!=="production")for(let o=this.subsHead;o;o=o.nextSub)o.sub.onTrigger&&!(o.sub.flags&8)&&o.sub.onTrigger(ge({effect:o.sub},t));for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Gn()}}}function lr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)lr(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),ue.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Qn=new WeakMap,Ht=Symbol(ue.NODE_ENV!=="production"?"Object iterate":""),es=Symbol(ue.NODE_ENV!=="production"?"Map keys iterate":""),ko=Symbol(ue.NODE_ENV!=="production"?"Array iterate":"");function Ce(e,t,o){if(Ge&&ae){let n=Qn.get(e);n||Qn.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new Zn),s.map=n,s.key=o),ue.NODE_ENV!=="production"?s.track({target:e,type:t,key:o}):s.track()}}function it(e,t,o,n,s,r){const i=Qn.get(e);if(!i){Eo++;return}const l=a=>{a&&(ue.NODE_ENV!=="production"?a.trigger({target:e,type:t,key:o,newValue:n,oldValue:s,oldTarget:r}):a.trigger())};if(Jn(),t==="clear")i.forEach(l);else{const a=j(e),u=a&&Bn(o);if(a&&o==="length"){const c=Number(n);i.forEach((d,p)=>{(p==="length"||p===ko||!qe(p)&&p>=c)&&l(d)})}else switch((o!==void 0||i.has(void 0))&&l(i.get(o)),u&&l(i.get(ko)),t){case"add":a?u&&l(i.get("length")):(l(i.get(Ht)),Lt(e)&&l(i.get(es)));break;case"delete":a||(l(i.get(Ht)),Lt(e)&&l(i.get(es)));break;case"set":Lt(e)&&l(i.get(Ht));break}}Gn()}function so(e){const t=X(e);return t===e?t:(Ce(t,"iterate",ko),Ie(e)?t:t.map(Qe))}function nn(e){return Ce(e=X(e),"iterate",ko),e}function Tt(e,t){return Ze(e)?Dt(e)?ro(Qe(t)):ro(t):Qe(t)}const Zl={__proto__:null,[Symbol.iterator](){return ts(this,Symbol.iterator,e=>Tt(this,e))},concat(...e){return so(this).concat(...e.map(t=>j(t)?so(t):t))},entries(){return ts(this,"entries",e=>(e[1]=Tt(this,e[1]),e))},every(e,t){return xt(this,"every",e,t,void 0,arguments)},filter(e,t){return xt(this,"filter",e,t,o=>o.map(n=>Tt(this,n)),arguments)},find(e,t){return xt(this,"find",e,t,o=>Tt(this,o),arguments)},findIndex(e,t){return xt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return xt(this,"findLast",e,t,o=>Tt(this,o),arguments)},findLastIndex(e,t){return xt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return xt(this,"forEach",e,t,void 0,arguments)},includes(...e){return os(this,"includes",e)},indexOf(...e){return os(this,"indexOf",e)},join(e){return so(this).join(e)},lastIndexOf(...e){return os(this,"lastIndexOf",e)},map(e,t){return xt(this,"map",e,t,void 0,arguments)},pop(){return No(this,"pop")},push(...e){return No(this,"push",e)},reduce(e,...t){return ar(this,"reduce",e,t)},reduceRight(e,...t){return ar(this,"reduceRight",e,t)},shift(){return No(this,"shift")},some(e,t){return xt(this,"some",e,t,void 0,arguments)},splice(...e){return No(this,"splice",e)},toReversed(){return so(this).toReversed()},toSorted(e){return so(this).toSorted(e)},toSpliced(...e){return so(this).toSpliced(...e)},unshift(...e){return No(this,"unshift",e)},values(){return ts(this,"values",e=>Tt(this,e))}};function ts(e,t,o){const n=nn(e),s=n[t]();return n!==e&&!Ie(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=o(r.value)),r}),s}const Ql=Array.prototype;function xt(e,t,o,n,s,r){const i=nn(e),l=i!==e&&!Ie(e),a=i[t];if(a!==Ql[t]){const d=a.apply(e,r);return l?Qe(d):d}let u=o;i!==e&&(l?u=function(d,p){return o.call(this,Tt(e,d),p,e)}:o.length>2&&(u=function(d,p){return o.call(this,d,p,e)}));const c=a.call(i,u,n);return l&&s?s(c):c}function ar(e,t,o,n){const s=nn(e);let r=o;return s!==e&&(Ie(e)?o.length>3&&(r=function(i,l,a){return o.call(this,i,l,a,e)}):r=function(i,l,a){return o.call(this,i,Tt(e,l),a,e)}),s[t](r,...n)}function os(e,t,o){const n=X(e);Ce(n,"iterate",ko);const s=n[t](...o);return(s===-1||s===!1)&&dn(o[0])?(o[0]=X(o[0]),n[t](...o)):s}function No(e,t,o=[]){Ye(),Jn();const n=X(e)[t].apply(e,o);return Gn(),Xe(),n}const ea=vt("__proto__,__v_isRef,__isVue"),cr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qe));function ta(e){qe(e)||(e=String(e));const t=X(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class dr{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(s?r?br:mr:r?gr:hr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=j(t);if(!s){let a;if(i&&(a=Zl[o]))return a;if(o==="hasOwnProperty")return ta}const l=Reflect.get(t,o,Ne(t)?t:n);if((qe(o)?cr.has(o):ea(o))||(s||Ce(t,"get",o),r))return l;if(Ne(l)){const a=i&&Bn(o)?l:l.value;return s&&se(a)?an(a):a}return se(l)?s?an(l):ss(l):l}}class ur extends dr{constructor(t=!1){super(!1,t)}set(t,o,n,s){let r=t[o];const i=j(t)&&Bn(o);if(!this._isShallow){const u=Ze(r);if(!Ie(n)&&!Ze(n)&&(r=X(r),n=X(n)),!i&&Ne(r)&&!Ne(n))return u?(ue.NODE_ENV!=="production"&&Je(`Set operation on key "${String(o)}" failed: target is readonly.`,t[o]),!0):(r.value=n,!0)}const l=i?Number(o)<t.length:ee(t,o),a=Reflect.set(t,o,n,Ne(t)?t:s);return t===X(s)&&(l?Ct(n,r)&&it(t,"set",o,n,r):it(t,"add",o,n)),a}deleteProperty(t,o){const n=ee(t,o),s=t[o],r=Reflect.deleteProperty(t,o);return r&&n&&it(t,"delete",o,void 0,s),r}has(t,o){const n=Reflect.has(t,o);return(!qe(o)||!cr.has(o))&&Ce(t,"has",o),n}ownKeys(t){return Ce(t,"iterate",j(t)?"length":Ht),Reflect.ownKeys(t)}}class fr extends dr{constructor(t=!1){super(!0,t)}set(t,o){return ue.NODE_ENV!=="production"&&Je(`Set operation on key "${String(o)}" failed: target is readonly.`,t),!0}deleteProperty(t,o){return ue.NODE_ENV!=="production"&&Je(`Delete operation on key "${String(o)}" failed: target is readonly.`,t),!0}}const oa=new ur,na=new fr,sa=new ur(!0),ra=new fr(!0),ns=e=>e,sn=e=>Reflect.getPrototypeOf(e);function ia(e,t,o){return function(...n){const s=this.__v_raw,r=X(s),i=Lt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=s[e](...n),c=o?ns:t?ro:Qe;return!t&&Ce(r,"iterate",a?es:Ht),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:l?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function rn(e){return function(...t){if(ue.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";Je(`${Ft(e)} operation ${o}failed: target is readonly.`,X(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function la(e,t){const o={get(s){const r=this.__v_raw,i=X(r),l=X(s);e||(Ct(s,l)&&Ce(i,"get",s),Ce(i,"get",l));const{has:a}=sn(i),u=t?ns:e?ro:Qe;if(a.call(i,s))return u(r.get(s));if(a.call(i,l))return u(r.get(l));r!==i&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Ce(X(s),"iterate",Ht),s.size},has(s){const r=this.__v_raw,i=X(r),l=X(s);return e||(Ct(s,l)&&Ce(i,"has",s),Ce(i,"has",l)),s===l?r.has(s):r.has(s)||r.has(l)},forEach(s,r){const i=this,l=i.__v_raw,a=X(l),u=t?ns:e?ro:Qe;return!e&&Ce(a,"iterate",Ht),l.forEach((c,d)=>s.call(r,u(c),u(d),i))}};return ge(o,e?{add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear")}:{add(s){!t&&!Ie(s)&&!Ze(s)&&(s=X(s));const r=X(this);return sn(r).has.call(r,s)||(r.add(s),it(r,"add",s,s)),this},set(s,r){!t&&!Ie(r)&&!Ze(r)&&(r=X(r));const i=X(this),{has:l,get:a}=sn(i);let u=l.call(i,s);u?ue.NODE_ENV!=="production"&&pr(i,l,s):(s=X(s),u=l.call(i,s));const c=a.call(i,s);return i.set(s,r),u?Ct(r,c)&&it(i,"set",s,r,c):it(i,"add",s,r),this},delete(s){const r=X(this),{has:i,get:l}=sn(r);let a=i.call(r,s);a?ue.NODE_ENV!=="production"&&pr(r,i,s):(s=X(s),a=i.call(r,s));const u=l?l.call(r,s):void 0,c=r.delete(s);return a&&it(r,"delete",s,void 0,u),c},clear(){const s=X(this),r=s.size!==0,i=ue.NODE_ENV!=="production"?Lt(s)?new Map(s):new Set(s):void 0,l=s.clear();return r&&it(s,"clear",void 0,void 0,i),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=ia(s,e,t)}),o}function ln(e,t){const o=la(e,t);return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(ee(o,s)&&s in n?o:n,s,r)}const aa={get:ln(!1,!1)},ca={get:ln(!1,!0)},da={get:ln(!0,!1)},ua={get:ln(!0,!0)};function pr(e,t,o){const n=X(o);if(n!==o&&t.call(e,n)){const s=Un(e);Je(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const hr=new WeakMap,gr=new WeakMap,mr=new WeakMap,br=new WeakMap;function fa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pa(e){return e.__v_skip||!Object.isExtensible(e)?0:fa(Un(e))}function ss(e){return Ze(e)?e:cn(e,!1,oa,aa,hr)}function ha(e){return cn(e,!1,sa,ca,gr)}function an(e){return cn(e,!0,na,da,mr)}function lt(e){return cn(e,!0,ra,ua,br)}function cn(e,t,o,n,s){if(!se(e))return ue.NODE_ENV!=="production"&&Je(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=pa(e);if(r===0)return e;const i=s.get(e);if(i)return i;const l=new Proxy(e,r===2?n:o);return s.set(e,l),l}function Dt(e){return Ze(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ze(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function dn(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function ga(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&tn(e,"__v_skip",!0),e}const Qe=e=>se(e)?ss(e):e,ro=e=>se(e)?an(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function re(e){return ma(e,!1)}function ma(e,t){return Ne(e)?e:new ba(e,t)}class ba{constructor(t,o){this.dep=new Zn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:X(t),this._value=o?t:Qe(t),this.__v_isShallow=o}get value(){return ue.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ie(t)||Ze(t);t=n?t:X(t),Ct(t,o)&&(this._rawValue=t,this._value=n?t:Qe(t),ue.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:o}):this.dep.trigger())}}function fe(e){return Ne(e)?e.value:e}const _a={get:(e,t,o)=>t==="__v_raw"?e:fe(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Ne(s)&&!Ne(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function _r(e){return Dt(e)?e:new Proxy(e,_a)}class va{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Zn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Eo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return tr(this,!0),!0}get value(){const t=ue.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return sr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):ue.NODE_ENV!=="production"&&Je("Write operation failed: computed value is readonly")}}function ya(e,t,o=!1){let n,s;return z(e)?n=e:(n=e.get,s=e.set),new va(n,s,o)}const un={},fn=new WeakMap;let Ut;function xa(e,t=!1,o=Ut){if(o){let n=fn.get(o);n||fn.set(o,n=[]),n.push(e)}else ue.NODE_ENV!=="production"&&!t&&Je("onWatcherCleanup() was called when there was no active watcher to associate with.")}function wa(e,t,o=le){const{immediate:n,deep:s,once:r,scheduler:i,augmentJob:l,call:a}=o,u=I=>{(o.onWarn||Je)("Invalid watch source: ",I,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=I=>s?I:Ie(I)||s===!1||s===0?wt(I,1):wt(I);let d,p,b,N,v=!1,F=!1;if(Ne(e)?(p=()=>e.value,v=Ie(e)):Dt(e)?(p=()=>c(e),v=!0):j(e)?(F=!0,v=e.some(I=>Dt(I)||Ie(I)),p=()=>e.map(I=>{if(Ne(I))return I.value;if(Dt(I))return c(I);if(z(I))return a?a(I,2):I();ue.NODE_ENV!=="production"&&u(I)})):z(e)?t?p=a?()=>a(e,2):e:p=()=>{if(b){Ye();try{b()}finally{Xe()}}const I=Ut;Ut=d;try{return a?a(e,3,[N]):e(N)}finally{Ut=I}}:(p=Se,ue.NODE_ENV!=="production"&&u(e)),t&&s){const I=p,L=s===!0?1/0:s;p=()=>wt(I(),L)}const R=Gl(),H=()=>{d.stop(),R&&R.active&&Rn(R.effects,d)};if(r&&t){const I=t;t=(...L)=>{I(...L),H()}}let B=F?new Array(e.length).fill(un):un;const pe=I=>{if(!(!(d.flags&1)||!d.dirty&&!I))if(t){const L=d.run();if(s||v||(F?L.some((q,U)=>Ct(q,B[U])):Ct(L,B))){b&&b();const q=Ut;Ut=d;try{const U=[L,B===un?void 0:F&&B[0]===un?[]:B,N];B=L,a?a(t,3,U):t(...U)}finally{Ut=q}}}else d.run()};return l&&l(pe),d=new Qs(p),d.scheduler=i?()=>i(pe,!1):pe,N=I=>xa(I,!1,d),b=d.onStop=()=>{const I=fn.get(d);if(I){if(a)a(I,4);else for(const L of I)L();fn.delete(d)}},ue.NODE_ENV!=="production"&&(d.onTrack=o.onTrack,d.onTrigger=o.onTrigger),t?n?pe(!0):B=d.run():i?i(pe.bind(null,!0),!0):d.run(),H.pause=d.pause.bind(d),H.resume=d.resume.bind(d),H.stop=H,H}function wt(e,t=1/0,o){if(t<=0||!se(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ne(e))wt(e.value,t,o);else if(j(e))for(let n=0;n<e.length;n++)wt(e[n],t,o);else if(oo(e)||Lt(e))e.forEach(n=>{wt(n,t,o)});else if(Qo(e)){for(const n in e)wt(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&wt(e[n],t,o)}return e}var m={};const Bt=[];function pn(e){Bt.push(e)}function hn(){Bt.pop()}let rs=!1;function $(e,...t){if(rs)return;rs=!0,Ye();const o=Bt.length?Bt[Bt.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Ea();if(n)io(n,o,11,[e+t.map(r=>{var i,l;return(l=(i=r.toString)==null?void 0:i.call(r))!=null?l:JSON.stringify(r)}).join(""),o&&o.proxy,s.map(({vnode:r})=>`at <${Bo(o,r.type)}>`).join(`
1
+ (function(We,eo){typeof exports=="object"&&typeof module<"u"?eo(exports,require("@i18n-micro/utils/merge-source"),require("@i18n-micro/utils/parse-path")):typeof define=="function"&&define.amd?define(["exports","@i18n-micro/utils/merge-source","@i18n-micro/utils/parse-path"],eo):(We=typeof globalThis<"u"?globalThis:We||self,eo(We.I18nDevToolsUI={},We.mergeSource,We.parsePath))})(this,(function(We,eo,Al){"use strict";var Ws={};function vt(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const le=Ws.NODE_ENV!=="production"?Object.freeze({}):{},to=Ws.NODE_ENV!=="production"?Object.freeze([]):[],Se=()=>{},qs=()=>!1,mo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zo=e=>e.startsWith("onUpdate:"),ge=Object.assign,Rn=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Il=Object.prototype.hasOwnProperty,ee=(e,t)=>Il.call(e,t),j=Array.isArray,Lt=e=>bo(e)==="[object Map]",oo=e=>bo(e)==="[object Set]",Js=e=>bo(e)==="[object Date]",z=e=>typeof e=="function",me=e=>typeof e=="string",Je=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Hn=e=>(se(e)||z(e))&&z(e.then)&&z(e.catch),Gs=Object.prototype.toString,bo=e=>Gs.call(e),Un=e=>bo(e).slice(8,-1),Qo=e=>bo(e)==="[object Object]",Bn=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_o=vt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=vt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),en=e=>{const t=Object.create(null);return(o=>t[o]||(t[o]=e(o)))},Ml=/-\w/g,Ve=en(e=>e.replace(Ml,t=>t.slice(1).toUpperCase())),jl=/\B([A-Z])/g,Re=en(e=>e.replace(jl,"-$1").toLowerCase()),Ft=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rt=en(e=>e?`on${Ft(e)}`:""),Ct=(e,t)=>!Object.is(e,t),no=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},tn=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},on=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kn=e=>{const t=me(e)?Number(e):NaN;return isNaN(t)?e:t};let Ys;const vo=()=>Ys||(Ys=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yt(e){if(j(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],s=me(n)?Hl(n):yt(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(me(e)||se(e))return e}const Ll=/;(?![^(]*\))/g,Fl=/:([^]+)/,Rl=/\/\*[^]*?\*\//g;function Hl(e){const t={};return e.replace(Rl,"").split(Ll).forEach(o=>{if(o){const n=o.split(Fl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ye(e){let t="";if(me(e))t=e;else if(j(e))for(let o=0;o<e.length;o++){const n=ye(e[o]);n&&(t+=n+" ")}else if(se(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const Ul="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Bl="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Kl="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",zl=vt(Ul),Wl=vt(Bl),ql=vt(Kl),Jl=vt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Xs(e){return!!e||e===""}function Gl(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=yo(e[n],t[n]);return o}function yo(e,t){if(e===t)return!0;let o=Js(e),n=Js(t);if(o||n)return o&&n?e.getTime()===t.getTime():!1;if(o=Je(e),n=Je(t),o||n)return e===t;if(o=j(e),n=j(t),o||n)return o&&n?Gl(e,t):!1;if(o=se(e),n=se(t),o||n){if(!o||!n)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!yo(e[i],t[i]))return!1}}return String(e)===String(t)}function zn(e,t){return e.findIndex(o=>yo(o,t))}const Zs=e=>!!(e&&e.__v_isRef===!0),G=e=>me(e)?e:e==null?"":j(e)||se(e)&&(e.toString===Gs||!z(e.toString))?Zs(e)?G(e.value):JSON.stringify(e,Qs,2):String(e),Qs=(e,t)=>Zs(t)?Qs(e,t.value):Lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],r)=>(o[Wn(n,r)+" =>"]=s,o),{})}:oo(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Wn(o))}:Je(t)?Wn(t):se(t)&&!j(t)&&!Qo(t)?String(t):t,Wn=(e,t="")=>{var o;return Je(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};var ue={};function Ge(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let He;class Yl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].pause();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].resume();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].resume()}}run(t){if(this._active){const o=He;try{return He=this,t()}finally{He=o}}else ue.NODE_ENV!=="production"&&Ge("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=He,He=this)}off(){this._on>0&&--this._on===0&&(He=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,n=this.scopes.length;o<n;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Xl(){return He}let ae;const qn=new WeakSet;class er{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,He&&He.active&&He.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qn.has(this)&&(qn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||or(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,lr(this),nr(this);const t=ae,o=Ye;ae=this,Ye=!0;try{return this.fn()}finally{ue.NODE_ENV!=="production"&&ae!==this&&Ge("Active effect was not restored correctly - this is likely a Vue internal bug."),sr(this),ae=t,Ye=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Xn(t);this.deps=this.depsTail=void 0,lr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yn(this)&&this.run()}get dirty(){return Yn(this)}}let tr=0,xo,wo;function or(e,t=!1){if(e.flags|=8,t){e.next=wo,wo=e;return}e.next=xo,xo=e}function Jn(){tr++}function Gn(){if(--tr>0)return;if(wo){let t=wo;for(wo=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;xo;){let t=xo;for(xo=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function nr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sr(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),Xn(n),Zl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function Yn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(rr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function rr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Eo)||(e.globalVersion=Eo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yn(e))))return;e.flags|=2;const t=e.dep,o=ae,n=Ye;ae=e,Ye=!0;try{nr(e);const s=e.fn(e._value);(t.version===0||Ct(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ae=o,Ye=n,sr(e),e.flags&=-3}}function Xn(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),ue.NODE_ENV!=="production"&&o.subsHead===e&&(o.subsHead=s),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let r=o.computed.deps;r;r=r.nextDep)Xn(r,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Zl(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ye=!0;const ir=[];function Xe(){ir.push(Ye),Ye=!1}function Ze(){const e=ir.pop();Ye=e===void 0?!0:e}function lr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ae;ae=void 0;try{t()}finally{ae=o}}}let Eo=0;class Ql{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,ue.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!ae||!Ye||ae===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==ae)o=this.activeLink=new Ql(ae,this),ae.deps?(o.prevDep=ae.depsTail,ae.depsTail.nextDep=o,ae.depsTail=o):ae.deps=ae.depsTail=o,ar(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=ae.depsTail,o.nextDep=void 0,ae.depsTail.nextDep=o,ae.depsTail=o,ae.deps===o&&(ae.deps=n)}return ue.NODE_ENV!=="production"&&ae.onTrack&&ae.onTrack(ge({effect:ae},t)),o}trigger(t){this.version++,Eo++,this.notify(t)}notify(t){Jn();try{if(ue.NODE_ENV!=="production")for(let o=this.subsHead;o;o=o.nextSub)o.sub.onTrigger&&!(o.sub.flags&8)&&o.sub.onTrigger(ge({effect:o.sub},t));for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Gn()}}}function ar(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)ar(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),ue.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Qn=new WeakMap,Ht=Symbol(ue.NODE_ENV!=="production"?"Object iterate":""),es=Symbol(ue.NODE_ENV!=="production"?"Map keys iterate":""),ko=Symbol(ue.NODE_ENV!=="production"?"Array iterate":"");function Ce(e,t,o){if(Ye&&ae){let n=Qn.get(e);n||Qn.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new Zn),s.map=n,s.key=o),ue.NODE_ENV!=="production"?s.track({target:e,type:t,key:o}):s.track()}}function it(e,t,o,n,s,r){const i=Qn.get(e);if(!i){Eo++;return}const l=a=>{a&&(ue.NODE_ENV!=="production"?a.trigger({target:e,type:t,key:o,newValue:n,oldValue:s,oldTarget:r}):a.trigger())};if(Jn(),t==="clear")i.forEach(l);else{const a=j(e),u=a&&Bn(o);if(a&&o==="length"){const c=Number(n);i.forEach((d,p)=>{(p==="length"||p===ko||!Je(p)&&p>=c)&&l(d)})}else switch((o!==void 0||i.has(void 0))&&l(i.get(o)),u&&l(i.get(ko)),t){case"add":a?u&&l(i.get("length")):(l(i.get(Ht)),Lt(e)&&l(i.get(es)));break;case"delete":a||(l(i.get(Ht)),Lt(e)&&l(i.get(es)));break;case"set":Lt(e)&&l(i.get(Ht));break}}Gn()}function so(e){const t=X(e);return t===e?t:(Ce(t,"iterate",ko),Ie(e)?t:t.map(et))}function nn(e){return Ce(e=X(e),"iterate",ko),e}function Tt(e,t){return Qe(e)?Dt(e)?ro(et(t)):ro(t):et(t)}const ea={__proto__:null,[Symbol.iterator](){return ts(this,Symbol.iterator,e=>Tt(this,e))},concat(...e){return so(this).concat(...e.map(t=>j(t)?so(t):t))},entries(){return ts(this,"entries",e=>(e[1]=Tt(this,e[1]),e))},every(e,t){return xt(this,"every",e,t,void 0,arguments)},filter(e,t){return xt(this,"filter",e,t,o=>o.map(n=>Tt(this,n)),arguments)},find(e,t){return xt(this,"find",e,t,o=>Tt(this,o),arguments)},findIndex(e,t){return xt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return xt(this,"findLast",e,t,o=>Tt(this,o),arguments)},findLastIndex(e,t){return xt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return xt(this,"forEach",e,t,void 0,arguments)},includes(...e){return os(this,"includes",e)},indexOf(...e){return os(this,"indexOf",e)},join(e){return so(this).join(e)},lastIndexOf(...e){return os(this,"lastIndexOf",e)},map(e,t){return xt(this,"map",e,t,void 0,arguments)},pop(){return No(this,"pop")},push(...e){return No(this,"push",e)},reduce(e,...t){return cr(this,"reduce",e,t)},reduceRight(e,...t){return cr(this,"reduceRight",e,t)},shift(){return No(this,"shift")},some(e,t){return xt(this,"some",e,t,void 0,arguments)},splice(...e){return No(this,"splice",e)},toReversed(){return so(this).toReversed()},toSorted(e){return so(this).toSorted(e)},toSpliced(...e){return so(this).toSpliced(...e)},unshift(...e){return No(this,"unshift",e)},values(){return ts(this,"values",e=>Tt(this,e))}};function ts(e,t,o){const n=nn(e),s=n[t]();return n!==e&&!Ie(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=o(r.value)),r}),s}const ta=Array.prototype;function xt(e,t,o,n,s,r){const i=nn(e),l=i!==e&&!Ie(e),a=i[t];if(a!==ta[t]){const d=a.apply(e,r);return l?et(d):d}let u=o;i!==e&&(l?u=function(d,p){return o.call(this,Tt(e,d),p,e)}:o.length>2&&(u=function(d,p){return o.call(this,d,p,e)}));const c=a.call(i,u,n);return l&&s?s(c):c}function cr(e,t,o,n){const s=nn(e);let r=o;return s!==e&&(Ie(e)?o.length>3&&(r=function(i,l,a){return o.call(this,i,l,a,e)}):r=function(i,l,a){return o.call(this,i,Tt(e,l),a,e)}),s[t](r,...n)}function os(e,t,o){const n=X(e);Ce(n,"iterate",ko);const s=n[t](...o);return(s===-1||s===!1)&&dn(o[0])?(o[0]=X(o[0]),n[t](...o)):s}function No(e,t,o=[]){Xe(),Jn();const n=X(e)[t].apply(e,o);return Gn(),Ze(),n}const oa=vt("__proto__,__v_isRef,__isVue"),dr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function na(e){Je(e)||(e=String(e));const t=X(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class ur{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return r;if(o==="__v_raw")return n===(s?r?_r:br:r?mr:gr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=j(t);if(!s){let a;if(i&&(a=ea[o]))return a;if(o==="hasOwnProperty")return na}const l=Reflect.get(t,o,Ne(t)?t:n);if((Je(o)?dr.has(o):oa(o))||(s||Ce(t,"get",o),r))return l;if(Ne(l)){const a=i&&Bn(o)?l:l.value;return s&&se(a)?an(a):a}return se(l)?s?an(l):ss(l):l}}class fr extends ur{constructor(t=!1){super(!1,t)}set(t,o,n,s){let r=t[o];const i=j(t)&&Bn(o);if(!this._isShallow){const u=Qe(r);if(!Ie(n)&&!Qe(n)&&(r=X(r),n=X(n)),!i&&Ne(r)&&!Ne(n))return u?(ue.NODE_ENV!=="production"&&Ge(`Set operation on key "${String(o)}" failed: target is readonly.`,t[o]),!0):(r.value=n,!0)}const l=i?Number(o)<t.length:ee(t,o),a=Reflect.set(t,o,n,Ne(t)?t:s);return t===X(s)&&(l?Ct(n,r)&&it(t,"set",o,n,r):it(t,"add",o,n)),a}deleteProperty(t,o){const n=ee(t,o),s=t[o],r=Reflect.deleteProperty(t,o);return r&&n&&it(t,"delete",o,void 0,s),r}has(t,o){const n=Reflect.has(t,o);return(!Je(o)||!dr.has(o))&&Ce(t,"has",o),n}ownKeys(t){return Ce(t,"iterate",j(t)?"length":Ht),Reflect.ownKeys(t)}}class pr extends ur{constructor(t=!1){super(!0,t)}set(t,o){return ue.NODE_ENV!=="production"&&Ge(`Set operation on key "${String(o)}" failed: target is readonly.`,t),!0}deleteProperty(t,o){return ue.NODE_ENV!=="production"&&Ge(`Delete operation on key "${String(o)}" failed: target is readonly.`,t),!0}}const sa=new fr,ra=new pr,ia=new fr(!0),la=new pr(!0),ns=e=>e,sn=e=>Reflect.getPrototypeOf(e);function aa(e,t,o){return function(...n){const s=this.__v_raw,r=X(s),i=Lt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=s[e](...n),c=o?ns:t?ro:et;return!t&&Ce(r,"iterate",a?es:Ht),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:l?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function rn(e){return function(...t){if(ue.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";Ge(`${Ft(e)} operation ${o}failed: target is readonly.`,X(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function ca(e,t){const o={get(s){const r=this.__v_raw,i=X(r),l=X(s);e||(Ct(s,l)&&Ce(i,"get",s),Ce(i,"get",l));const{has:a}=sn(i),u=t?ns:e?ro:et;if(a.call(i,s))return u(r.get(s));if(a.call(i,l))return u(r.get(l));r!==i&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Ce(X(s),"iterate",Ht),s.size},has(s){const r=this.__v_raw,i=X(r),l=X(s);return e||(Ct(s,l)&&Ce(i,"has",s),Ce(i,"has",l)),s===l?r.has(s):r.has(s)||r.has(l)},forEach(s,r){const i=this,l=i.__v_raw,a=X(l),u=t?ns:e?ro:et;return!e&&Ce(a,"iterate",Ht),l.forEach((c,d)=>s.call(r,u(c),u(d),i))}};return ge(o,e?{add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear")}:{add(s){!t&&!Ie(s)&&!Qe(s)&&(s=X(s));const r=X(this);return sn(r).has.call(r,s)||(r.add(s),it(r,"add",s,s)),this},set(s,r){!t&&!Ie(r)&&!Qe(r)&&(r=X(r));const i=X(this),{has:l,get:a}=sn(i);let u=l.call(i,s);u?ue.NODE_ENV!=="production"&&hr(i,l,s):(s=X(s),u=l.call(i,s));const c=a.call(i,s);return i.set(s,r),u?Ct(r,c)&&it(i,"set",s,r,c):it(i,"add",s,r),this},delete(s){const r=X(this),{has:i,get:l}=sn(r);let a=i.call(r,s);a?ue.NODE_ENV!=="production"&&hr(r,i,s):(s=X(s),a=i.call(r,s));const u=l?l.call(r,s):void 0,c=r.delete(s);return a&&it(r,"delete",s,void 0,u),c},clear(){const s=X(this),r=s.size!==0,i=ue.NODE_ENV!=="production"?Lt(s)?new Map(s):new Set(s):void 0,l=s.clear();return r&&it(s,"clear",void 0,void 0,i),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=aa(s,e,t)}),o}function ln(e,t){const o=ca(e,t);return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(ee(o,s)&&s in n?o:n,s,r)}const da={get:ln(!1,!1)},ua={get:ln(!1,!0)},fa={get:ln(!0,!1)},pa={get:ln(!0,!0)};function hr(e,t,o){const n=X(o);if(n!==o&&t.call(e,n)){const s=Un(e);Ge(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const gr=new WeakMap,mr=new WeakMap,br=new WeakMap,_r=new WeakMap;function ha(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ga(e){return e.__v_skip||!Object.isExtensible(e)?0:ha(Un(e))}function ss(e){return Qe(e)?e:cn(e,!1,sa,da,gr)}function ma(e){return cn(e,!1,ia,ua,mr)}function an(e){return cn(e,!0,ra,fa,br)}function lt(e){return cn(e,!0,la,pa,_r)}function cn(e,t,o,n,s){if(!se(e))return ue.NODE_ENV!=="production"&&Ge(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=ga(e);if(r===0)return e;const i=s.get(e);if(i)return i;const l=new Proxy(e,r===2?n:o);return s.set(e,l),l}function Dt(e){return Qe(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function Qe(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function dn(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function ba(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&tn(e,"__v_skip",!0),e}const et=e=>se(e)?ss(e):e,ro=e=>se(e)?an(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function re(e){return _a(e,!1)}function _a(e,t){return Ne(e)?e:new va(e,t)}class va{constructor(t,o){this.dep=new Zn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:X(t),this._value=o?t:et(t),this.__v_isShallow=o}get value(){return ue.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ie(t)||Qe(t);t=n?t:X(t),Ct(t,o)&&(this._rawValue=t,this._value=n?t:et(t),ue.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:o}):this.dep.trigger())}}function fe(e){return Ne(e)?e.value:e}const ya={get:(e,t,o)=>t==="__v_raw"?e:fe(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return Ne(s)&&!Ne(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function vr(e){return Dt(e)?e:new Proxy(e,ya)}class xa{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Zn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Eo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return or(this,!0),!0}get value(){const t=ue.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return rr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):ue.NODE_ENV!=="production"&&Ge("Write operation failed: computed value is readonly")}}function wa(e,t,o=!1){let n,s;return z(e)?n=e:(n=e.get,s=e.set),new xa(n,s,o)}const un={},fn=new WeakMap;let Ut;function Ea(e,t=!1,o=Ut){if(o){let n=fn.get(o);n||fn.set(o,n=[]),n.push(e)}else ue.NODE_ENV!=="production"&&!t&&Ge("onWatcherCleanup() was called when there was no active watcher to associate with.")}function ka(e,t,o=le){const{immediate:n,deep:s,once:r,scheduler:i,augmentJob:l,call:a}=o,u=I=>{(o.onWarn||Ge)("Invalid watch source: ",I,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=I=>s?I:Ie(I)||s===!1||s===0?wt(I,1):wt(I);let d,p,b,N,v=!1,F=!1;if(Ne(e)?(p=()=>e.value,v=Ie(e)):Dt(e)?(p=()=>c(e),v=!0):j(e)?(F=!0,v=e.some(I=>Dt(I)||Ie(I)),p=()=>e.map(I=>{if(Ne(I))return I.value;if(Dt(I))return c(I);if(z(I))return a?a(I,2):I();ue.NODE_ENV!=="production"&&u(I)})):z(e)?t?p=a?()=>a(e,2):e:p=()=>{if(b){Xe();try{b()}finally{Ze()}}const I=Ut;Ut=d;try{return a?a(e,3,[N]):e(N)}finally{Ut=I}}:(p=Se,ue.NODE_ENV!=="production"&&u(e)),t&&s){const I=p,L=s===!0?1/0:s;p=()=>wt(I(),L)}const R=Xl(),H=()=>{d.stop(),R&&R.active&&Rn(R.effects,d)};if(r&&t){const I=t;t=(...L)=>{I(...L),H()}}let B=F?new Array(e.length).fill(un):un;const pe=I=>{if(!(!(d.flags&1)||!d.dirty&&!I))if(t){const L=d.run();if(s||v||(F?L.some((q,U)=>Ct(q,B[U])):Ct(L,B))){b&&b();const q=Ut;Ut=d;try{const U=[L,B===un?void 0:F&&B[0]===un?[]:B,N];B=L,a?a(t,3,U):t(...U)}finally{Ut=q}}}else d.run()};return l&&l(pe),d=new er(p),d.scheduler=i?()=>i(pe,!1):pe,N=I=>Ea(I,!1,d),b=d.onStop=()=>{const I=fn.get(d);if(I){if(a)a(I,4);else for(const L of I)L();fn.delete(d)}},ue.NODE_ENV!=="production"&&(d.onTrack=o.onTrack,d.onTrigger=o.onTrigger),t?n?pe(!0):B=d.run():i?i(pe.bind(null,!0),!0):d.run(),H.pause=d.pause.bind(d),H.resume=d.resume.bind(d),H.stop=H,H}function wt(e,t=1/0,o){if(t<=0||!se(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ne(e))wt(e.value,t,o);else if(j(e))for(let n=0;n<e.length;n++)wt(e[n],t,o);else if(oo(e)||Lt(e))e.forEach(n=>{wt(n,t,o)});else if(Qo(e)){for(const n in e)wt(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&wt(e[n],t,o)}return e}var m={};const Bt=[];function pn(e){Bt.push(e)}function hn(){Bt.pop()}let rs=!1;function O(e,...t){if(rs)return;rs=!0,Xe();const o=Bt.length?Bt[Bt.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Na();if(n)io(n,o,11,[e+t.map(r=>{var i,l;return(l=(i=r.toString)==null?void 0:i.call(r))!=null?l:JSON.stringify(r)}).join(""),o&&o.proxy,s.map(({vnode:r})=>`at <${Bo(o,r.type)}>`).join(`
2
2
  `),s]);else{const r=[`[Vue warn]: ${e}`,...t];s.length&&r.push(`
3
- `,...ka(s)),console.warn(...r)}Xe(),rs=!1}function Ea(){let e=Bt[Bt.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function ka(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
4
- `],...Na(o))}),t}function Na({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Bo(e.component,e.type,n)}`,r=">"+o;return e.props?[s,...$a(e.props),r]:[s+r]}function $a(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...vr(n,e[n]))}),o.length>3&&t.push(" ..."),t}function vr(e,t,o){return me(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ne(t)?(t=vr(e,X(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=X(t),o?t:[`${e}=`,t])}function Oa(e,t){m.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?$(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&$(`${t} is NaN - the duration expression might be incorrect.`))}const is={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function io(e,t,o,n){try{return n?e(...n):e()}catch(s){$o(s,t,o)}}function et(e,t,o,n){if(z(e)){const s=io(e,t,o,n);return s&&Hn(s)&&s.catch(r=>{$o(r,t,o)}),s}if(j(e)){const s=[];for(let r=0;r<e.length;r++)s.push(et(e[r],t,o,n));return s}else m.NODE_ENV!=="production"&&$(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function $o(e,t,o,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||le;if(t){let l=t.parent;const a=t.proxy,u=m.NODE_ENV!=="production"?is[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,u)===!1)return}l=l.parent}if(r){Ye(),io(r,null,10,[e,a,u]),Xe();return}}Sa(e,o,s,n,i)}function Sa(e,t,o,n=!0,s=!1){if(m.NODE_ENV!=="production"){const r=is[t];if(o&&pn(o),$(`Unhandled error${r?` during execution of ${r}`:""}`),o&&hn(),n)throw e;console.error(e)}else{if(s)throw e;console.error(e)}}const Me=[];let at=-1;const lo=[];let Vt=null,ao=0;const yr=Promise.resolve();let gn=null;const Ca=100;function ct(e){const t=gn||yr;return e?t.then(this?e.bind(this):e):t}function Ta(e){let t=at+1,o=Me.length;for(;t<o;){const n=t+o>>>1,s=Me[n],r=Oo(s);r<e||r===e&&s.flags&2?t=n+1:o=n}return t}function mn(e){if(!(e.flags&1)){const t=Oo(e),o=Me[Me.length-1];!o||!(e.flags&2)&&t>=Oo(o)?Me.push(e):Me.splice(Ta(t),0,e),e.flags|=1,xr()}}function xr(){gn||(gn=yr.then(Nr))}function wr(e){j(e)?lo.push(...e):Vt&&e.id===-1?Vt.splice(ao+1,0,e):e.flags&1||(lo.push(e),e.flags|=1),xr()}function Er(e,t,o=at+1){for(m.NODE_ENV!=="production"&&(t=t||new Map);o<Me.length;o++){const n=Me[o];if(n&&n.flags&2){if(e&&n.id!==e.uid||m.NODE_ENV!=="production"&&ls(t,n))continue;Me.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function kr(e){if(lo.length){const t=[...new Set(lo)].sort((o,n)=>Oo(o)-Oo(n));if(lo.length=0,Vt){Vt.push(...t);return}for(Vt=t,m.NODE_ENV!=="production"&&(e=e||new Map),ao=0;ao<Vt.length;ao++){const o=Vt[ao];m.NODE_ENV!=="production"&&ls(e,o)||(o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2)}Vt=null,ao=0}}const Oo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Nr(e){m.NODE_ENV!=="production"&&(e=e||new Map);const t=m.NODE_ENV!=="production"?o=>ls(e,o):Se;try{for(at=0;at<Me.length;at++){const o=Me[at];if(o&&!(o.flags&8)){if(m.NODE_ENV!=="production"&&t(o))continue;o.flags&4&&(o.flags&=-2),io(o,o.i,o.i?15:14),o.flags&4||(o.flags&=-2)}}}finally{for(;at<Me.length;at++){const o=Me[at];o&&(o.flags&=-2)}at=-1,Me.length=0,kr(e),gn=null,(Me.length||lo.length)&&Nr(e)}}function ls(e,t){const o=e.get(t)||0;if(o>Ca){const n=t.i,s=n&&Ds(n.type);return $o(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,o+1),!1}let tt=!1;const bn=new Map;m.NODE_ENV!=="production"&&(vo().__VUE_HMR_RUNTIME__={createRecord:as($r),rerender:as(Aa),reload:as(Ia)});const Kt=new Map;function Da(e){const t=e.type.__hmrId;let o=Kt.get(t);o||($r(t,e.type),o=Kt.get(t)),o.instances.add(e)}function Va(e){Kt.get(e.type.__hmrId).instances.delete(e)}function $r(e,t){return Kt.has(e)?!1:(Kt.set(e,{initialDef:_n(t),instances:new Set}),!0)}function _n(e){return Ui(e)?e.__vccOpts:e}function Aa(e,t){const o=Kt.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(n=>{t&&(n.render=t,_n(n.type).render=t),n.renderCache=[],tt=!0,n.job.flags&8||n.update(),tt=!1}))}function Ia(e,t){const o=Kt.get(e);if(!o)return;t=_n(t),Or(o.initialDef,t);const n=[...o.instances];for(let s=0;s<n.length;s++){const r=n[s],i=_n(r.type);let l=bn.get(i);l||(i!==o.initialDef&&Or(i,t),bn.set(i,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?mn(()=>{r.job.flags&8||(tt=!0,r.parent.update(),tt=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(i)}wr(()=>{bn.clear()})}function Or(e,t){ge(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function as(e){return(t,o)=>{try{return e(t,o)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let dt,So=[],cs=!1;function Co(e,...t){dt?dt.emit(e,...t):cs||So.push({event:e,args:t})}function Sr(e,t){var o,n;dt=e,dt?(dt.enabled=!0,So.forEach(({event:s,args:r})=>dt.emit(s,...r)),So=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Sr(r,t)}),setTimeout(()=>{dt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,cs=!0,So=[])},3e3)):(cs=!0,So=[])}function Ma(e,t){Co("app:init",e,t,{Fragment:te,Text:jo,Comment:ke,Static:Lo})}function Pa(e){Co("app:unmount",e)}const ja=ds("component:added"),Cr=ds("component:updated"),La=ds("component:removed"),Fa=e=>{dt&&typeof dt.cleanupBuffer=="function"&&!dt.cleanupBuffer(e)&&La(e)};function ds(e){return t=>{Co(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Ra=Tr("perf:start"),Ha=Tr("perf:end");function Tr(e){return(t,o,n)=>{Co(e,t.appContext.app,t.uid,t,o,n)}}function Ua(e,t,o){Co("component:emit",e.appContext.app,e,t,o)}let $e=null,Dr=null;function vn(e){const t=$e;return $e=e,Dr=e&&e.type.__scopeId||null,t}function we(e,t=$e,o){if(!t||e._n)return e;const n=(...s)=>{n._d&&Cn(-1);const r=vn(t);let i;try{i=e(...s)}finally{vn(r),n._d&&Cn(1)}return m.NODE_ENV!=="production"&&Cr(t),i};return n._n=!0,n._c=!0,n._d=!0,n}function Vr(e){Al(e)&&$("Do not use built-in directive ids as custom directive id: "+e)}function ut(e,t){if($e===null)return m.NODE_ENV!=="production"&&$("withDirectives can only be used inside render functions."),e;const o=Vn($e),n=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,i,l,a=le]=t[s];r&&(z(r)&&(r={mounted:r,updated:r}),r.deep&&wt(i),n.push({dir:r,instance:o,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function zt(e,t,o,n){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];r&&(l.oldValue=r[i].value);let a=l.dir[n];a&&(Ye(),et(a,o,8,[e.el,l,e,t]),Xe())}}const Ar=Symbol("_vte"),Ir=e=>e.__isTeleport,Wt=e=>e&&(e.disabled||e.disabled===""),Mr=e=>e&&(e.defer||e.defer===""),Pr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,us=(e,t)=>{const o=e&&e.to;if(me(o))if(t){const n=t(o);return m.NODE_ENV!=="production"&&!n&&!Wt(e)&&$(`Failed to locate Teleport target with selector "${o}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),n}else return m.NODE_ENV!=="production"&&$("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return m.NODE_ENV!=="production"&&!o&&!Wt(e)&&$(`Invalid Teleport target: ${o}`),o},Lr={name:"Teleport",__isTeleport:!0,process(e,t,o,n,s,r,i,l,a,u){const{mc:c,pc:d,pbc:p,o:{insert:b,querySelector:N,createText:v,createComment:F}}=u,R=Wt(t.props);let{shapeFlag:H,children:B,dynamicChildren:pe}=t;if(m.NODE_ENV!=="production"&&tt&&(a=!1,pe=null),e==null){const I=t.el=m.NODE_ENV!=="production"?F("teleport start"):v(""),L=t.anchor=m.NODE_ENV!=="production"?F("teleport end"):v("");b(I,o,n),b(L,o,n);const q=(x,M)=>{H&16&&c(B,x,M,s,r,i,l,a)},U=()=>{const x=t.target=us(t.props,N),M=Fr(x,t,v,b);x?(i!=="svg"&&Pr(x)?i="svg":i!=="mathml"&&jr(x)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(x),R||(q(x,M),xn(t,!1))):m.NODE_ENV!=="production"&&!R&&$("Invalid Teleport target on mount:",x,`(${typeof x})`)};R&&(q(o,L),xn(t,!0)),Mr(t.props)?(t.el.__isMounted=!1,Le(()=>{U(),delete t.el.__isMounted},r)):U()}else{if(Mr(t.props)&&e.el.__isMounted===!1){Le(()=>{Lr.process(e,t,o,n,s,r,i,l,a,u)},r);return}t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,L=t.target=e.target,q=t.targetAnchor=e.targetAnchor,U=Wt(e.props),x=U?o:L,M=U?I:q;if(i==="svg"||Pr(L)?i="svg":(i==="mathml"||jr(L))&&(i="mathml"),pe?(p(e.dynamicChildren,pe,x,s,r,i,l),Po(e,t,m.NODE_ENV==="production")):a||d(e,t,x,M,s,r,i,l,!1),R)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):yn(t,o,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=us(t.props,N);P?yn(t,P,null,u,0):m.NODE_ENV!=="production"&&$("Invalid Teleport target on update:",L,`(${typeof L})`)}else U&&yn(t,L,q,u,1);xn(t,R)}},remove(e,t,o,{um:n,o:{remove:s}},r){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:d,props:p}=e;if(d&&(s(u),s(c)),r&&s(a),i&16){const b=r||!Wt(p);for(let N=0;N<l.length;N++){const v=l[N];n(v,t,o,b,!!v.dynamicChildren)}}},move:yn,hydrate:Ba};function yn(e,t,o,{o:{insert:n},m:s},r=2){r===0&&n(e.targetAnchor,t,o);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,d=r===2;if(d&&n(i,t,o),(!d||Wt(c))&&a&16)for(let p=0;p<u.length;p++)s(u[p],t,o,2);d&&n(l,t,o)}function Ba(e,t,o,n,s,r,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},d){function p(v,F,R,H){F.anchor=d(i(v),F,l(v),o,n,s,r),F.targetStart=R,F.targetAnchor=H}const b=t.target=us(t.props,a),N=Wt(t.props);if(b){const v=b._lpa||b.firstChild;if(t.shapeFlag&16)if(N)p(e,t,v,v&&i(v));else{t.anchor=i(e);let F=v;for(;F;){if(F&&F.nodeType===8){if(F.data==="teleport start anchor")t.targetStart=F;else if(F.data==="teleport anchor"){t.targetAnchor=F,b._lpa=t.targetAnchor&&i(t.targetAnchor);break}}F=i(F)}t.targetAnchor||Fr(b,t,c,u),d(v&&i(v),t,b,o,n,s,r)}xn(t,N)}else N&&t.shapeFlag&16&&p(e,t,e,i(e));return t.anchor&&i(t.anchor)}const Ka=Lr;function xn(e,t){const o=e.ctx;if(o&&o.ut){let n,s;for(t?(n=e.el,s=e.anchor):(n=e.targetStart,s=e.targetAnchor);n&&n!==s;)n.nodeType===1&&n.setAttribute("data-v-owner",o.uid),n=n.nextSibling;o.ut()}}function Fr(e,t,o,n){const s=t.targetStart=o(""),r=t.targetAnchor=o("");return s[Ar]=r,e&&(n(s,e),n(r,e)),r}const Et=Symbol("_leaveCb"),wn=Symbol("_enterCb");function za(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),Yr(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],Rr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},Hr=e=>{const t=e.subTree;return t.component?Hr(t.component):t},Wa={name:"BaseTransition",props:Rr,setup(e,{slots:t}){const o=Ss(),n=za();return()=>{const s=t.default&&zr(t.default(),!0);if(!s||!s.length)return;const r=Ur(s),i=X(e),{mode:l}=i;if(m.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&$(`invalid <transition> mode: ${l}`),n.isLeaving)return ps(r);const a=Kr(r);if(!a)return ps(r);let u=fs(a,i,n,o,d=>u=d);a.type!==ke&&To(a,u);let c=o.subTree&&Kr(o.subTree);if(c&&c.type!==ke&&!Yt(c,a)&&Hr(o).type!==ke){let d=fs(c,i,n,o);if(To(c,d),l==="out-in"&&a.type!==ke)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete d.afterLeave,c=void 0},ps(r);l==="in-out"&&a.type!==ke?d.delayLeave=(p,b,N)=>{const v=Br(n,c);v[String(c.key)]=c,p[Et]=()=>{b(),p[Et]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{N(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function Ur(e){let t=e[0];if(e.length>1){let o=!1;for(const n of e)if(n.type!==ke){if(m.NODE_ENV!=="production"&&o){$("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,o=!0,m.NODE_ENV==="production")break}}return t}const qa=Wa;function Br(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function fs(e,t,o,n,s){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:b,onAfterLeave:N,onLeaveCancelled:v,onBeforeAppear:F,onAppear:R,onAfterAppear:H,onAppearCancelled:B}=t,pe=String(e.key),I=Br(o,e),L=(x,M)=>{x&&et(x,n,9,M)},q=(x,M)=>{const P=M[1];L(x,M),j(x)?x.every(S=>S.length<=1)&&P():x.length<=1&&P()},U={mode:i,persisted:l,beforeEnter(x){let M=a;if(!o.isMounted)if(r)M=F||a;else return;x[Et]&&x[Et](!0);const P=I[pe];P&&Yt(e,P)&&P.el[Et]&&P.el[Et](),L(M,[x])},enter(x){let M=u,P=c,S=d;if(!o.isMounted)if(r)M=R||u,P=H||c,S=B||d;else return;let ce=!1;const ve=x[wn]=De=>{ce||(ce=!0,De?L(S,[x]):L(P,[x]),U.delayedLeave&&U.delayedLeave(),x[wn]=void 0)};M?q(M,[x,ve]):ve()},leave(x,M){const P=String(e.key);if(x[wn]&&x[wn](!0),o.isUnmounting)return M();L(p,[x]);let S=!1;const ce=x[Et]=ve=>{S||(S=!0,M(),ve?L(v,[x]):L(N,[x]),x[Et]=void 0,I[P]===e&&delete I[P])};I[P]=e,b?q(b,[x,ce]):ce()},clone(x){const M=fs(x,t,o,n,s);return s&&s(M),M}};return U}function ps(e){if(Vo(e))return e=pt(e),e.children=null,e}function Kr(e){if(!Vo(e))return Ir(e.type)&&e.children?Ur(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&z(o.default))return o.default()}}function To(e,t){e.shapeFlag&6&&e.component?(e.transition=t,To(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 zr(e,t=!1,o){let n=[],s=0;for(let r=0;r<e.length;r++){let i=e[r];const l=o==null?i.key:String(o)+String(i.key!=null?i.key:r);i.type===te?(i.patchFlag&128&&s++,n=n.concat(zr(i.children,t,l))):(t||i.type!==ke)&&n.push(l!=null?pt(i,{key:l}):i)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function xe(e,t){return z(e)?ge({name:e.name},t,{setup:e}):e}function Wr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const qr=new WeakSet,En=new WeakMap;function Do(e,t,o,n,s=!1){if(j(e)){e.forEach((v,F)=>Do(v,t&&(j(t)?t[F]:t),o,n,s));return}if(co(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Do(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Vn(n.component):n.el,i=s?null:r,{i:l,r:a}=e;if(m.NODE_ENV!=="production"&&!l){$("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,c=l.refs===le?l.refs={}:l.refs,d=l.setupState,p=X(d),b=d===le?Ws:v=>m.NODE_ENV!=="production"&&(ee(p,v)&&!Ne(p[v])&&$(`Template ref "${v}" used on a non-ref value. It will not work in the production build.`),qr.has(p[v]))?!1:ee(p,v),N=v=>m.NODE_ENV==="production"||!qr.has(v);if(u!=null&&u!==a){if(Jr(t),me(u))c[u]=null,b(u)&&(d[u]=null);else if(Ne(u)){N(u)&&(u.value=null);const v=t;v.k&&(c[v.k]=null)}}if(z(a))io(a,l,12,[i,c]);else{const v=me(a),F=Ne(a);if(v||F){const R=()=>{if(e.f){const H=v?b(a)?d[a]:c[a]:N(a)||!e.k?a.value:c[e.k];if(s)j(H)&&Rn(H,r);else if(j(H))H.includes(r)||H.push(r);else if(v)c[a]=[r],b(a)&&(d[a]=c[a]);else{const B=[r];N(a)&&(a.value=B),e.k&&(c[e.k]=B)}}else v?(c[a]=i,b(a)&&(d[a]=i)):F?(N(a)&&(a.value=i),e.k&&(c[e.k]=i)):m.NODE_ENV!=="production"&&$("Invalid template ref type:",a,`(${typeof a})`)};if(i){const H=()=>{R(),En.delete(e)};H.id=-1,En.set(e,H),Le(H,o)}else Jr(e),R()}else m.NODE_ENV!=="production"&&$("Invalid template ref type:",a,`(${typeof a})`)}}function Jr(e){const t=En.get(e);t&&(t.flags|=8,En.delete(e))}vo().requestIdleCallback,vo().cancelIdleCallback;const co=e=>!!e.type.__asyncLoader,Vo=e=>e.type.__isKeepAlive;function Ja(e,t){Gr(e,"a",t)}function Ga(e,t){Gr(e,"da",t)}function Gr(e,t,o=Oe){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(kn(t,n,o),o){let s=o.parent;for(;s&&s.parent;)Vo(s.parent.vnode)&&Ya(n,t,o,s),s=s.parent}}function Ya(e,t,o,n){const s=kn(t,e,n,!0);hs(()=>{Rn(n[t],s)},o)}function kn(e,t,o=Oe,n=!1){if(o){const s=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Ye();const l=Ho(o),a=et(t,o,e,i);return l(),Xe(),a});return n?s.unshift(r):s.push(r),r}else if(m.NODE_ENV!=="production"){const s=Rt(is[e].replace(/ hook$/,""));$(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const kt=e=>(t,o=Oe)=>{(!Uo||e==="sp")&&kn(e,(...n)=>t(...n),o)},Xa=kt("bm"),At=kt("m"),Za=kt("bu"),Qa=kt("u"),Yr=kt("bum"),hs=kt("um"),ec=kt("sp"),tc=kt("rtg"),oc=kt("rtc");function nc(e,t=Oe){kn("ec",e,t)}const Xr="components";function sc(e,t){return ei(Xr,e,!0,t)||e}const Zr=Symbol.for("v-ndc");function Qr(e){return me(e)?ei(Xr,e,!1)||e:e||Zr}function ei(e,t,o=!0,n=!1){const s=$e||Oe;if(s){const r=s.type;{const l=Ds(r,!1);if(l&&(l===t||l===Ve(t)||l===Ft(Ve(t))))return r}const i=ti(s[e]||r[e],t)||ti(s.appContext[e],t);return!i&&n?r:(m.NODE_ENV!=="production"&&o&&!i&&$(`Failed to resolve ${e.slice(0,-1)}: ${t}
5
- If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`),i)}else m.NODE_ENV!=="production"&&$(`resolve${Ft(e.slice(0,-1))} can only be used in render() or setup().`)}function ti(e,t){return e&&(e[t]||e[Ve(t)]||e[Ft(Ve(t))])}function Pe(e,t,o,n){let s;const r=o,i=j(e);if(i||me(e)){const l=i&&Dt(e);let a=!1,u=!1;l&&(a=!Ie(e),u=Ze(e),e=nn(e)),s=new Array(e.length);for(let c=0,d=e.length;c<d;c++)s[c]=t(a?u?ro(Qe(e[c])):Qe(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){m.NODE_ENV!=="production"&&!Number.isInteger(e)&&$(`The v-for range expect an integer value but got ${e}.`),s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,r)}else if(se(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,r));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];s[a]=t(e[c],c,a,r)}}else s=[];return s}function ft(e,t,o={},n,s){if($e.ce||$e.parent&&co($e.parent)&&$e.parent.ce){const u=Object.keys(o).length>0;return t!=="default"&&(o.name=t),y(),be(te,null,[Y("slot",o,n&&n())],u?-2:64)}let r=e[t];m.NODE_ENV!=="production"&&r&&r.length>1&&($("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),y();const i=r&&oi(r(o)),l=o.key||i&&i.key,a=be(te,{key:(l&&!qe(l)?l:`_${t}`)+(!i&&n?"_fb":"")},i||(n?n():[]),i&&e._===1?64:-2);return r&&r._c&&(r._d=!0),a}function oi(e){return e.some(t=>Gt(t)?!(t.type===ke||t.type===te&&!oi(t.children)):!0)?e:null}const gs=e=>e?Li(e)?Vn(e):gs(e.parent):null,qt=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>m.NODE_ENV!=="production"?lt(e.props):e.props,$attrs:e=>m.NODE_ENV!=="production"?lt(e.attrs):e.attrs,$slots:e=>m.NODE_ENV!=="production"?lt(e.slots):e.slots,$refs:e=>m.NODE_ENV!=="production"?lt(e.refs):e.refs,$parent:e=>gs(e.parent),$root:e=>gs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>li(e),$forceUpdate:e=>e.f||(e.f=()=>{mn(e.update)}),$nextTick:e=>e.n||(e.n=ct.bind(e.proxy)),$watch:e=>_c.bind(e)}),ms=e=>e==="_"||e==="$",bs=(e,t)=>e!==le&&!e.__isScriptSetup&&ee(e,t),ni={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:r,accessCache:i,type:l,appContext:a}=e;if(m.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return r[t]}else{if(bs(n,t))return i[t]=1,n[t];if(s!==le&&ee(s,t))return i[t]=2,s[t];if(ee(r,t))return i[t]=3,r[t];if(o!==le&&ee(o,t))return i[t]=4,o[t];_s&&(i[t]=0)}}const u=qt[t];let c,d;if(u)return t==="$attrs"?(Ce(e.attrs,"get",""),m.NODE_ENV!=="production"&&On()):m.NODE_ENV!=="production"&&t==="$slots"&&Ce(e,"get",t),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(o!==le&&ee(o,t))return i[t]=4,o[t];if(d=a.config.globalProperties,ee(d,t))return d[t];m.NODE_ENV!=="production"&&$e&&(!me(t)||t.indexOf("__v")!==0)&&(s!==le&&ms(t[0])&&ee(s,t)?$(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===$e&&$(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:n,setupState:s,ctx:r}=e;return bs(s,t)?(s[t]=o,!0):m.NODE_ENV!=="production"&&s.__isScriptSetup&&ee(s,t)?($(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==le&&ee(n,t)?(n[t]=o,!0):ee(e.props,t)?(m.NODE_ENV!=="production"&&$(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(m.NODE_ENV!=="production"&&$(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(m.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:o}):r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:r,type:i}},l){let a;return!!(o[l]||e!==le&&l[0]!=="$"&&ee(e,l)||bs(t,l)||ee(r,l)||ee(n,l)||ee(qt,l)||ee(s.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:ee(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};m.NODE_ENV!=="production"&&(ni.ownKeys=e=>($("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function rc(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(qt).forEach(o=>{Object.defineProperty(t,o,{configurable:!0,enumerable:!1,get:()=>qt[o](e),set:Se})}),t}function ic(e){const{ctx:t,propsOptions:[o]}=e;o&&Object.keys(o).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:Se})})}function lc(e){const{ctx:t,setupState:o}=e;Object.keys(X(o)).forEach(n=>{if(!o.__isScriptSetup){if(ms(n[0])){$(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o[n],set:Se})}})}function si(e){return j(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}function ac(){const e=Object.create(null);return(t,o)=>{e[o]?$(`${t} property "${o}" is already defined in ${e[o]}.`):e[o]=t}}let _s=!0;function cc(e){const t=li(e),o=e.proxy,n=e.ctx;_s=!1,t.beforeCreate&&ri(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:b,updated:N,activated:v,deactivated:F,beforeDestroy:R,beforeUnmount:H,destroyed:B,unmounted:pe,render:I,renderTracked:L,renderTriggered:q,errorCaptured:U,serverPrefetch:x,expose:M,inheritAttrs:P,components:S,directives:ce,filters:ve}=t,De=m.NODE_ENV!=="production"?ac():null;if(m.NODE_ENV!=="production"){const[Z]=e.propsOptions;if(Z)for(const Q in Z)De("Props",Q)}if(u&&dc(u,n,De),i)for(const Z in i){const Q=i[Z];z(Q)?(m.NODE_ENV!=="production"?Object.defineProperty(n,Z,{value:Q.bind(o),configurable:!0,enumerable:!0,writable:!0}):n[Z]=Q.bind(o),m.NODE_ENV!=="production"&&De("Methods",Z)):m.NODE_ENV!=="production"&&$(`Method "${Z}" has type "${typeof Q}" in the component definition. Did you reference the function correctly?`)}if(s){m.NODE_ENV!=="production"&&!z(s)&&$("The data option must be a function. Plain object usage is no longer supported.");const Z=s.call(o,o);if(m.NODE_ENV!=="production"&&Hn(Z)&&$("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!se(Z))m.NODE_ENV!=="production"&&$("data() should return an object.");else if(e.data=ss(Z),m.NODE_ENV!=="production")for(const Q in Z)De("Data",Q),ms(Q[0])||Object.defineProperty(n,Q,{configurable:!0,enumerable:!0,get:()=>Z[Q],set:Se})}if(_s=!0,r)for(const Z in r){const Q=r[Z],gt=z(Q)?Q.bind(o,o):z(Q.get)?Q.get.bind(o,o):Se;m.NODE_ENV!=="production"&&gt===Se&&$(`Computed property "${Z}" has no getter.`);const Bs=!z(Q)&&z(Q.set)?Q.set.bind(o):m.NODE_ENV!=="production"?()=>{$(`Write operation failed: computed property "${Z}" is readonly.`)}:Se,Jo=oe({get:gt,set:Bs});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>Jo.value,set:go=>Jo.value=go}),m.NODE_ENV!=="production"&&De("Computed",Z)}if(l)for(const Z in l)ii(l[Z],n,o,Z);if(a){const Z=z(a)?a.call(o):a;Reflect.ownKeys(Z).forEach(Q=>{ui(Q,Z[Q])})}c&&ri(c,e,"c");function Ee(Z,Q){j(Q)?Q.forEach(gt=>Z(gt.bind(o))):Q&&Z(Q.bind(o))}if(Ee(Xa,d),Ee(At,p),Ee(Za,b),Ee(Qa,N),Ee(Ja,v),Ee(Ga,F),Ee(nc,U),Ee(oc,L),Ee(tc,q),Ee(Yr,H),Ee(hs,pe),Ee(ec,x),j(M))if(M.length){const Z=e.exposed||(e.exposed={});M.forEach(Q=>{Object.defineProperty(Z,Q,{get:()=>o[Q],set:gt=>o[Q]=gt,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Se&&(e.render=I),P!=null&&(e.inheritAttrs=P),S&&(e.components=S),ce&&(e.directives=ce),x&&Wr(e)}function dc(e,t,o=Se){j(e)&&(e=vs(e));for(const n in e){const s=e[n];let r;se(s)?"default"in s?r=Io(s.from||n,s.default,!0):r=Io(s.from||n):r=Io(s),Ne(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[n]=r,m.NODE_ENV!=="production"&&o("Inject",n)}}function ri(e,t,o){et(j(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function ii(e,t,o,n){let s=n.includes(".")?pi(o,n):()=>o[n];if(me(e)){const r=t[e];z(r)?Te(s,r):m.NODE_ENV!=="production"&&$(`Invalid watch handler specified by key "${e}"`,r)}else if(z(e))Te(s,e.bind(o));else if(se(e))if(j(e))e.forEach(r=>ii(r,t,o,n));else{const r=z(e.handler)?e.handler.bind(o):t[e.handler];z(r)?Te(s,r,e):m.NODE_ENV!=="production"&&$(`Invalid watch handler specified by key "${e.handler}"`,r)}else m.NODE_ENV!=="production"&&$(`Invalid watch option: "${n}"`,e)}function li(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!s.length&&!o&&!n?a=t:(a={},s.length&&s.forEach(u=>Nn(a,u,i,!0)),Nn(a,t,i)),se(t)&&r.set(t,a),a}function Nn(e,t,o,n=!1){const{mixins:s,extends:r}=t;r&&Nn(e,r,o,!0),s&&s.forEach(i=>Nn(e,i,o,!0));for(const i in t)if(n&&i==="expose")m.NODE_ENV!=="production"&&$('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=uc[i]||o&&o[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const uc={data:ai,props:ci,emits:ci,methods:Ao,computed:Ao,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:Ao,directives:Ao,watch:pc,provide:ai,inject:fc};function ai(e,t){return t?e?function(){return ge(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function fc(e,t){return Ao(vs(e),vs(t))}function vs(e){if(j(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function Ao(e,t){return e?ge(Object.create(null),e,t):t}function ci(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:ge(Object.create(null),si(e),si(t??{})):t}function pc(e,t){if(!e)return t;if(!t)return e;const o=ge(Object.create(null),e);for(const n in t)o[n]=je(e[n],t[n]);return o}function di(){return{app:null,config:{isNativeTag:Ws,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let hc=0;function gc(e,t){return function(n,s=null){z(n)||(n=ge({},n)),s!=null&&!se(s)&&(m.NODE_ENV!=="production"&&$("root props passed to app.mount() must be an object."),s=null);const r=di(),i=new WeakSet,l=[];let a=!1;const u=r.app={_uid:hc++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Bi,get config(){return r.config},set config(c){m.NODE_ENV!=="production"&&$("app.config cannot be replaced. Modify individual options instead.")},use(c,...d){return i.has(c)?m.NODE_ENV!=="production"&&$("Plugin has already been applied to target app."):c&&z(c.install)?(i.add(c),c.install(u,...d)):z(c)?(i.add(c),c(u,...d)):m.NODE_ENV!=="production"&&$('A plugin must either be a function or an object with an "install" function.'),u},mixin(c){return r.mixins.includes(c)?m.NODE_ENV!=="production"&&$("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):r.mixins.push(c),u},component(c,d){return m.NODE_ENV!=="production"&&Ts(c,r.config),d?(m.NODE_ENV!=="production"&&r.components[c]&&$(`Component "${c}" has already been registered in target app.`),r.components[c]=d,u):r.components[c]},directive(c,d){return m.NODE_ENV!=="production"&&Vr(c),d?(m.NODE_ENV!=="production"&&r.directives[c]&&$(`Directive "${c}" has already been registered in target app.`),r.directives[c]=d,u):r.directives[c]},mount(c,d,p){if(a)m.NODE_ENV!=="production"&&$("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{m.NODE_ENV!=="production"&&c.__vue_app__&&$("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const b=u._ceVNode||Y(n,s);return b.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),m.NODE_ENV!=="production"&&(r.reload=()=>{const N=pt(b);N.el=null,e(N,c,p)}),e(b,c,p),a=!0,u._container=c,c.__vue_app__=u,m.NODE_ENV!=="production"&&(u._instance=b.component,Ma(u,Bi)),Vn(b.component)}},onUnmount(c){m.NODE_ENV!=="production"&&typeof c!="function"&&$(`Expected function as first argument to app.onUnmount(), but got ${typeof c}`),l.push(c)},unmount(){a?(et(l,u._instance,16),e(null,u._container),m.NODE_ENV!=="production"&&(u._instance=null,Pa(u)),delete u._container.__vue_app__):m.NODE_ENV!=="production"&&$("Cannot unmount an app that is not mounted.")},provide(c,d){return m.NODE_ENV!=="production"&&c in r.provides&&(ee(r.provides,c)?$(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`):$(`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[c]=d,u},runWithContext(c){const d=uo;uo=u;try{return c()}finally{uo=d}}};return u}}let uo=null;function ui(e,t){if(m.NODE_ENV!=="production"&&(!Oe||Oe.isMounted)&&$("provide() can only be used inside setup()."),Oe){let o=Oe.provides;const n=Oe.parent&&Oe.parent.provides;n===o&&(o=Oe.provides=Object.create(n)),o[e]=t}}function Io(e,t,o=!1){const n=Ss();if(n||uo){let s=uo?uo._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return o&&z(t)?t.call(n&&n.proxy):t;m.NODE_ENV!=="production"&&$(`injection "${String(e)}" not found.`)}else m.NODE_ENV!=="production"&&$("inject() can only be used inside setup() or functional components.")}const mc=Symbol.for("v-scx"),bc=()=>{{const e=Io(mc);return e||m.NODE_ENV!=="production"&&$("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Te(e,t,o){return m.NODE_ENV!=="production"&&!z(t)&&$("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),fi(e,t,o)}function fi(e,t,o=le){const{immediate:n,deep:s,flush:r,once:i}=o;m.NODE_ENV!=="production"&&!t&&(n!==void 0&&$('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&$('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&$('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=ge({},o);m.NODE_ENV!=="production"&&(l.onWarn=$);const a=t&&n||!t&&r!=="post";let u;if(Uo){if(r==="sync"){const b=bc();u=b.__watcherHandles||(b.__watcherHandles=[])}else if(!a){const b=()=>{};return b.stop=Se,b.resume=Se,b.pause=Se,b}}const c=Oe;l.call=(b,N,v)=>et(b,c,N,v);let d=!1;r==="post"?l.scheduler=b=>{Le(b,c&&c.suspense)}:r!=="sync"&&(d=!0,l.scheduler=(b,N)=>{N?b():mn(b)}),l.augmentJob=b=>{t&&(b.flags|=4),d&&(b.flags|=2,c&&(b.id=c.uid,b.i=c))};const p=wa(e,t,l);return Uo&&(u?u.push(p):a&&p()),p}function _c(e,t,o){const n=this.proxy,s=me(e)?e.includes(".")?pi(n,e):()=>n[e]:e.bind(n,n);let r;z(t)?r=t:(r=t.handler,o=t);const i=Ho(this),l=fi(s,r.bind(n),o);return i(),l}function pi(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;s<o.length&&n;s++)n=n[o[s]];return n}}const vc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ve(t)}Modifiers`]||e[`${Re(t)}Modifiers`];function yc(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||le;if(m.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[d]}=e;if(c)if(!(t in c))(!d||!(Rt(Ve(t))in d))&&$(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Rt(Ve(t))}" prop.`);else{const p=c[t];z(p)&&(p(...o)||$(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=o;const r=t.startsWith("update:"),i=r&&vc(n,t.slice(7));if(i&&(i.trim&&(s=o.map(c=>me(c)?c.trim():c)),i.number&&(s=o.map(on))),m.NODE_ENV!=="production"&&Ua(e,t,s),m.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&n[Rt(c)]&&$(`Event "${c}" is emitted in component ${Bo(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Re(t)}" instead of "${t}".`)}let l,a=n[l=Rt(t)]||n[l=Rt(Ve(t))];!a&&r&&(a=n[l=Rt(Re(t))]),a&&et(a,e,6,s);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,et(u,e,6,s)}}const xc=new WeakMap;function hi(e,t,o=!1){const n=o?xc:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const r=e.emits;let i={},l=!1;if(!z(e)){const a=u=>{const c=hi(u,t,!0);c&&(l=!0,ge(i,c))};!o&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(se(e)&&n.set(e,null),null):(j(r)?r.forEach(a=>i[a]=null):ge(i,r),se(e)&&n.set(e,i),i)}function $n(e,t){return!e||!mo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,Re(t))||ee(e,t))}let ys=!1;function On(){ys=!0}function gi(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[r],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:d,data:p,setupState:b,ctx:N,inheritAttrs:v}=e,F=vn(e);let R,H;m.NODE_ENV!=="production"&&(ys=!1);try{if(o.shapeFlag&4){const I=s||n,L=m.NODE_ENV!=="production"&&b.__isScriptSetup?new Proxy(I,{get(q,U,x){return $(`Property '${String(U)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(q,U,x)}}):I;R=nt(u.call(L,I,c,m.NODE_ENV!=="production"?lt(d):d,b,p,N)),H=l}else{const I=t;m.NODE_ENV!=="production"&&l===d&&On(),R=nt(I.length>1?I(m.NODE_ENV!=="production"?lt(d):d,m.NODE_ENV!=="production"?{get attrs(){return On(),lt(l)},slots:i,emit:a}:{attrs:l,slots:i,emit:a}):I(m.NODE_ENV!=="production"?lt(d):d,null)),H=t.props?l:wc(l)}}catch(I){Fo.length=0,$o(I,e,1),R=Y(ke)}let B=R,pe;if(m.NODE_ENV!=="production"&&R.patchFlag>0&&R.patchFlag&2048&&([B,pe]=mi(R)),H&&v!==!1){const I=Object.keys(H),{shapeFlag:L}=B;if(I.length){if(L&7)r&&I.some(Zo)&&(H=Ec(H,r)),B=pt(B,H,!1,!0);else if(m.NODE_ENV!=="production"&&!ys&&B.type!==ke){const q=Object.keys(l),U=[],x=[];for(let M=0,P=q.length;M<P;M++){const S=q[M];mo(S)?Zo(S)||U.push(S[2].toLowerCase()+S.slice(3)):x.push(S)}x.length&&$(`Extraneous non-props attributes (${x.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),U.length&&$(`Extraneous non-emits event listeners (${U.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return o.dirs&&(m.NODE_ENV!=="production"&&!bi(B)&&$("Runtime directive used on component with non-element root node. The directives will not function as intended."),B=pt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(o.dirs):o.dirs),o.transition&&(m.NODE_ENV!=="production"&&!bi(B)&&$("Component inside <Transition> renders non-element root node that cannot be animated."),To(B,o.transition)),m.NODE_ENV!=="production"&&pe?pe(B):R=B,vn(F),R}const mi=e=>{const t=e.children,o=e.dynamicChildren,n=xs(t,!1);if(n){if(m.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return mi(n)}else return[e,void 0];const s=t.indexOf(n),r=o?o.indexOf(n):-1,i=l=>{t[s]=l,o&&(r>-1?o[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...o,l]))};return[nt(n),i]};function xs(e,t=!0){let o;for(let n=0;n<e.length;n++){const s=e[n];if(Gt(s)){if(s.type!==ke||s.children==="v-if"){if(o)return;if(o=s,m.NODE_ENV!=="production"&&t&&o.patchFlag>0&&o.patchFlag&2048)return xs(o.children)}}else return}return o}const wc=e=>{let t;for(const o in e)(o==="class"||o==="style"||mo(o))&&((t||(t={}))[o]=e[o]);return t},Ec=(e,t)=>{const o={};for(const n in e)(!Zo(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o},bi=e=>e.shapeFlag&7||e.type===ke;function kc(e,t,o){const{props:n,children:s,component:r}=e,{props:i,children:l,patchFlag:a}=t,u=r.emitsOptions;if(m.NODE_ENV!=="production"&&(s||l)&&tt||t.dirs||t.transition)return!0;if(o&&a>=0){if(a&1024)return!0;if(a&16)return n?_i(n,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(i[p]!==n[p]&&!$n(u,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:n===i?!1:n?i?_i(n,i,u):!0:!!i;return!1}function _i(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(t[r]!==e[r]&&!$n(o,r))return!0}return!1}function Nc({vnode:e,parent:t},o){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=o,t=t.parent;else break}}const vi={},yi=()=>Object.create(vi),xi=e=>Object.getPrototypeOf(e)===vi;function $c(e,t,o,n=!1){const s={},r=yi();e.propsDefaults=Object.create(null),wi(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);m.NODE_ENV!=="production"&&Ni(t||{},s,e),o?e.props=n?s:ha(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Oc(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Sc(e,t,o,n){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,l=X(s),[a]=e.propsOptions;let u=!1;if(!(m.NODE_ENV!=="production"&&Oc(e))&&(n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if($n(e.emitsOptions,p))continue;const b=t[p];if(a)if(ee(r,p))b!==r[p]&&(r[p]=b,u=!0);else{const N=Ve(p);s[N]=ws(a,l,N,b,e,!1)}else b!==r[p]&&(r[p]=b,u=!0)}}}else{wi(e,t,s,r)&&(u=!0);let c;for(const d in l)(!t||!ee(t,d)&&((c=Re(d))===d||!ee(t,c)))&&(a?o&&(o[d]!==void 0||o[c]!==void 0)&&(s[d]=ws(a,l,d,void 0,e,!0)):delete s[d]);if(r!==l)for(const d in r)(!t||!ee(t,d))&&(delete r[d],u=!0)}u&&it(e.attrs,"set",""),m.NODE_ENV!=="production"&&Ni(t||{},s,e)}function wi(e,t,o,n){const[s,r]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(_o(a))continue;const u=t[a];let c;s&&ee(s,c=Ve(a))?!r||!r.includes(c)?o[c]=u:(l||(l={}))[c]=u:$n(e.emitsOptions,a)||(!(a in n)||u!==n[a])&&(n[a]=u,i=!0)}if(r){const a=X(o),u=l||le;for(let c=0;c<r.length;c++){const d=r[c];o[d]=ws(s,a,d,u[d],e,!ee(u,d))}}return i}function ws(e,t,o,n,s,r){const i=e[o];if(i!=null){const l=ee(i,"default");if(l&&n===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&z(a)){const{propsDefaults:u}=s;if(o in u)n=u[o];else{const c=Ho(s);n=u[o]=a.call(null,t),c()}}else n=a;s.ce&&s.ce._setProp(o,n)}i[0]&&(r&&!l?n=!1:i[1]&&(n===""||n===Re(o))&&(n=!0))}return n}const Cc=new WeakMap;function Ei(e,t,o=!1){const n=o?Cc:t.propsCache,s=n.get(e);if(s)return s;const r=e.props,i={},l=[];let a=!1;if(!z(e)){const c=d=>{a=!0;const[p,b]=Ei(d,t,!0);ge(i,p),b&&l.push(...b)};!o&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!a)return se(e)&&n.set(e,to),to;if(j(r))for(let c=0;c<r.length;c++){m.NODE_ENV!=="production"&&!me(r[c])&&$("props must be strings when using array syntax.",r[c]);const d=Ve(r[c]);ki(d)&&(i[d]=le)}else if(r){m.NODE_ENV!=="production"&&!se(r)&&$("invalid props options",r);for(const c in r){const d=Ve(c);if(ki(d)){const p=r[c],b=i[d]=j(p)||z(p)?{type:p}:ge({},p),N=b.type;let v=!1,F=!0;if(j(N))for(let R=0;R<N.length;++R){const H=N[R],B=z(H)&&H.name;if(B==="Boolean"){v=!0;break}else B==="String"&&(F=!1)}else v=z(N)&&N.name==="Boolean";b[0]=v,b[1]=F,(v||ee(b,"default"))&&l.push(d)}}}const u=[i,l];return se(e)&&n.set(e,u),u}function ki(e){return e[0]!=="$"&&!_o(e)?!0:(m.NODE_ENV!=="production"&&$(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Tc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ni(e,t,o){const n=X(t),s=o.propsOptions[0],r=Object.keys(e).map(i=>Ve(i));for(const i in s){let l=s[i];l!=null&&Dc(i,n[i],l,m.NODE_ENV!=="production"?lt(n):n,!r.includes(i))}}function Dc(e,t,o,n,s){const{type:r,required:i,validator:l,skipCheck:a}=o;if(i&&s){$('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(r!=null&&r!==!0&&!a){let u=!1;const c=j(r)?r:[r],d=[];for(let p=0;p<c.length&&!u;p++){const{valid:b,expectedType:N}=Ac(t,c[p]);d.push(N||""),u=b}if(!u){$(Ic(e,t,d));return}}l&&!l(t,n)&&$('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Vc=vt("String,Number,Boolean,Function,Symbol,BigInt");function Ac(e,t){let o;const n=Tc(t);if(n==="null")o=e===null;else if(Vc(n)){const s=typeof e;o=s===n.toLowerCase(),!o&&s==="object"&&(o=e instanceof t)}else n==="Object"?o=se(e):n==="Array"?o=j(e):o=e instanceof t;return{valid:o,expectedType:n}}function Ic(e,t,o){if(o.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${e}". Expected ${o.map(Ft).join(" | ")}`;const s=o[0],r=Un(t),i=$i(t,s),l=$i(t,r);return o.length===1&&Oi(s)&&!Mc(s,r)&&(n+=` with value ${i}`),n+=`, got ${r} `,Oi(r)&&(n+=`with value ${l}.`),n}function $i(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Oi(e){return["string","number","boolean"].some(o=>e.toLowerCase()===o)}function Mc(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Es=e=>e==="_"||e==="_ctx"||e==="$stable",ks=e=>j(e)?e.map(nt):[nt(e)],Pc=(e,t,o)=>{if(t._n)return t;const n=we((...s)=>(m.NODE_ENV!=="production"&&Oe&&!(o===null&&$e)&&!(o&&o.root!==Oe.root)&&$(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ks(t(...s))),o);return n._c=!1,n},Si=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Es(s))continue;const r=e[s];if(z(r))t[s]=Pc(s,r,n);else if(r!=null){m.NODE_ENV!=="production"&&$(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const i=ks(r);t[s]=()=>i}}},Ci=(e,t)=>{m.NODE_ENV!=="production"&&!Vo(e.vnode)&&$("Non-function value encountered for default slot. Prefer function slots for better performance.");const o=ks(t);e.slots.default=()=>o},Ns=(e,t,o)=>{for(const n in t)(o||!Es(n))&&(e[n]=t[n])},jc=(e,t,o)=>{const n=e.slots=yi();if(e.vnode.shapeFlag&32){const s=t._;s?(Ns(n,t,o),o&&tn(n,"_",s,!0)):Si(t,n)}else t&&Ci(e,t)},Lc=(e,t,o)=>{const{vnode:n,slots:s}=e;let r=!0,i=le;if(n.shapeFlag&32){const l=t._;l?m.NODE_ENV!=="production"&&tt?(Ns(s,t,o),it(e,"set","$slots")):o&&l===1?r=!1:Ns(s,t,o):(r=!t.$stable,Si(t,s)),i=t}else t&&(Ci(e,t),i={default:1});if(r)for(const l in s)!Es(l)&&i[l]==null&&delete s[l]};let Mo,Nt;function fo(e,t){e.appContext.config.performance&&Sn()&&Nt.mark(`vue-${t}-${e.uid}`),m.NODE_ENV!=="production"&&Ra(e,t,Sn()?Nt.now():Date.now())}function po(e,t){if(e.appContext.config.performance&&Sn()){const o=`vue-${t}-${e.uid}`,n=o+":end",s=`<${Bo(e,e.type)}> ${t}`;Nt.mark(n),Nt.measure(s,o,n),Nt.clearMeasures(s),Nt.clearMarks(o),Nt.clearMarks(n)}m.NODE_ENV!=="production"&&Ha(e,t,Sn()?Nt.now():Date.now())}function Sn(){return Mo!==void 0||(typeof window<"u"&&window.performance?(Mo=!0,Nt=window.performance):Mo=!1),Mo}function Fc(){const e=[];if(m.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
3
+ `,...Oa(s)),console.warn(...r)}Ze(),rs=!1}function Na(){let e=Bt[Bt.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Oa(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
4
+ `],...$a(o))}),t}function $a({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${Bo(e.component,e.type,n)}`,r=">"+o;return e.props?[s,...Sa(e.props),r]:[s+r]}function Sa(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...yr(n,e[n]))}),o.length>3&&t.push(" ..."),t}function yr(e,t,o){return me(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ne(t)?(t=yr(e,X(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=X(t),o?t:[`${e}=`,t])}function Ca(e,t){m.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?O(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&O(`${t} is NaN - the duration expression might be incorrect.`))}const is={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function io(e,t,o,n){try{return n?e(...n):e()}catch(s){Oo(s,t,o)}}function tt(e,t,o,n){if(z(e)){const s=io(e,t,o,n);return s&&Hn(s)&&s.catch(r=>{Oo(r,t,o)}),s}if(j(e)){const s=[];for(let r=0;r<e.length;r++)s.push(tt(e[r],t,o,n));return s}else m.NODE_ENV!=="production"&&O(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Oo(e,t,o,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||le;if(t){let l=t.parent;const a=t.proxy,u=m.NODE_ENV!=="production"?is[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,u)===!1)return}l=l.parent}if(r){Xe(),io(r,null,10,[e,a,u]),Ze();return}}Ta(e,o,s,n,i)}function Ta(e,t,o,n=!0,s=!1){if(m.NODE_ENV!=="production"){const r=is[t];if(o&&pn(o),O(`Unhandled error${r?` during execution of ${r}`:""}`),o&&hn(),n)throw e;console.error(e)}else{if(s)throw e;console.error(e)}}const Pe=[];let at=-1;const lo=[];let Vt=null,ao=0;const xr=Promise.resolve();let gn=null;const Da=100;function ct(e){const t=gn||xr;return e?t.then(this?e.bind(this):e):t}function Va(e){let t=at+1,o=Pe.length;for(;t<o;){const n=t+o>>>1,s=Pe[n],r=$o(s);r<e||r===e&&s.flags&2?t=n+1:o=n}return t}function mn(e){if(!(e.flags&1)){const t=$o(e),o=Pe[Pe.length-1];!o||!(e.flags&2)&&t>=$o(o)?Pe.push(e):Pe.splice(Va(t),0,e),e.flags|=1,wr()}}function wr(){gn||(gn=xr.then(Or))}function Er(e){j(e)?lo.push(...e):Vt&&e.id===-1?Vt.splice(ao+1,0,e):e.flags&1||(lo.push(e),e.flags|=1),wr()}function kr(e,t,o=at+1){for(m.NODE_ENV!=="production"&&(t=t||new Map);o<Pe.length;o++){const n=Pe[o];if(n&&n.flags&2){if(e&&n.id!==e.uid||m.NODE_ENV!=="production"&&ls(t,n))continue;Pe.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Nr(e){if(lo.length){const t=[...new Set(lo)].sort((o,n)=>$o(o)-$o(n));if(lo.length=0,Vt){Vt.push(...t);return}for(Vt=t,m.NODE_ENV!=="production"&&(e=e||new Map),ao=0;ao<Vt.length;ao++){const o=Vt[ao];m.NODE_ENV!=="production"&&ls(e,o)||(o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2)}Vt=null,ao=0}}const $o=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Or(e){m.NODE_ENV!=="production"&&(e=e||new Map);const t=m.NODE_ENV!=="production"?o=>ls(e,o):Se;try{for(at=0;at<Pe.length;at++){const o=Pe[at];if(o&&!(o.flags&8)){if(m.NODE_ENV!=="production"&&t(o))continue;o.flags&4&&(o.flags&=-2),io(o,o.i,o.i?15:14),o.flags&4||(o.flags&=-2)}}}finally{for(;at<Pe.length;at++){const o=Pe[at];o&&(o.flags&=-2)}at=-1,Pe.length=0,Nr(e),gn=null,(Pe.length||lo.length)&&Or(e)}}function ls(e,t){const o=e.get(t)||0;if(o>Da){const n=t.i,s=n&&Ds(n.type);return Oo(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,o+1),!1}let ot=!1;const bn=new Map;m.NODE_ENV!=="production"&&(vo().__VUE_HMR_RUNTIME__={createRecord:as($r),rerender:as(Pa),reload:as(Ma)});const Kt=new Map;function Aa(e){const t=e.type.__hmrId;let o=Kt.get(t);o||($r(t,e.type),o=Kt.get(t)),o.instances.add(e)}function Ia(e){Kt.get(e.type.__hmrId).instances.delete(e)}function $r(e,t){return Kt.has(e)?!1:(Kt.set(e,{initialDef:_n(t),instances:new Set}),!0)}function _n(e){return Bi(e)?e.__vccOpts:e}function Pa(e,t){const o=Kt.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(n=>{t&&(n.render=t,_n(n.type).render=t),n.renderCache=[],ot=!0,n.job.flags&8||n.update(),ot=!1}))}function Ma(e,t){const o=Kt.get(e);if(!o)return;t=_n(t),Sr(o.initialDef,t);const n=[...o.instances];for(let s=0;s<n.length;s++){const r=n[s],i=_n(r.type);let l=bn.get(i);l||(i!==o.initialDef&&Sr(i,t),bn.set(i,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?mn(()=>{r.job.flags&8||(ot=!0,r.parent.update(),ot=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(i)}Er(()=>{bn.clear()})}function Sr(e,t){ge(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function as(e){return(t,o)=>{try{return e(t,o)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let dt,So=[],cs=!1;function Co(e,...t){dt?dt.emit(e,...t):cs||So.push({event:e,args:t})}function Cr(e,t){var o,n;dt=e,dt?(dt.enabled=!0,So.forEach(({event:s,args:r})=>dt.emit(s,...r)),So=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Cr(r,t)}),setTimeout(()=>{dt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,cs=!0,So=[])},3e3)):(cs=!0,So=[])}function ja(e,t){Co("app:init",e,t,{Fragment:te,Text:jo,Comment:ke,Static:Lo})}function La(e){Co("app:unmount",e)}const Fa=ds("component:added"),Tr=ds("component:updated"),Ra=ds("component:removed"),Ha=e=>{dt&&typeof dt.cleanupBuffer=="function"&&!dt.cleanupBuffer(e)&&Ra(e)};function ds(e){return t=>{Co(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Ua=Dr("perf:start"),Ba=Dr("perf:end");function Dr(e){return(t,o,n)=>{Co(e,t.appContext.app,t.uid,t,o,n)}}function Ka(e,t,o){Co("component:emit",e.appContext.app,e,t,o)}let Oe=null,Vr=null;function vn(e){const t=Oe;return Oe=e,Vr=e&&e.type.__scopeId||null,t}function we(e,t=Oe,o){if(!t||e._n)return e;const n=(...s)=>{n._d&&Cn(-1);const r=vn(t);let i;try{i=e(...s)}finally{vn(r),n._d&&Cn(1)}return m.NODE_ENV!=="production"&&Tr(t),i};return n._n=!0,n._c=!0,n._d=!0,n}function Ar(e){Pl(e)&&O("Do not use built-in directive ids as custom directive id: "+e)}function ut(e,t){if(Oe===null)return m.NODE_ENV!=="production"&&O("withDirectives can only be used inside render functions."),e;const o=Vn(Oe),n=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,i,l,a=le]=t[s];r&&(z(r)&&(r={mounted:r,updated:r}),r.deep&&wt(i),n.push({dir:r,instance:o,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function zt(e,t,o,n){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];r&&(l.oldValue=r[i].value);let a=l.dir[n];a&&(Xe(),tt(a,o,8,[e.el,l,e,t]),Ze())}}const Ir=Symbol("_vte"),Pr=e=>e.__isTeleport,Wt=e=>e&&(e.disabled||e.disabled===""),Mr=e=>e&&(e.defer||e.defer===""),jr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Lr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,us=(e,t)=>{const o=e&&e.to;if(me(o))if(t){const n=t(o);return m.NODE_ENV!=="production"&&!n&&!Wt(e)&&O(`Failed to locate Teleport target with selector "${o}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),n}else return m.NODE_ENV!=="production"&&O("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return m.NODE_ENV!=="production"&&!o&&!Wt(e)&&O(`Invalid Teleport target: ${o}`),o},Fr={name:"Teleport",__isTeleport:!0,process(e,t,o,n,s,r,i,l,a,u){const{mc:c,pc:d,pbc:p,o:{insert:b,querySelector:N,createText:v,createComment:F}}=u,R=Wt(t.props);let{shapeFlag:H,children:B,dynamicChildren:pe}=t;if(m.NODE_ENV!=="production"&&ot&&(a=!1,pe=null),e==null){const I=t.el=m.NODE_ENV!=="production"?F("teleport start"):v(""),L=t.anchor=m.NODE_ENV!=="production"?F("teleport end"):v("");b(I,o,n),b(L,o,n);const q=(x,P)=>{H&16&&c(B,x,P,s,r,i,l,a)},U=()=>{const x=t.target=us(t.props,N),P=Rr(x,t,v,b);x?(i!=="svg"&&jr(x)?i="svg":i!=="mathml"&&Lr(x)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(x),R||(q(x,P),xn(t,!1))):m.NODE_ENV!=="production"&&!R&&O("Invalid Teleport target on mount:",x,`(${typeof x})`)};R&&(q(o,L),xn(t,!0)),Mr(t.props)?(t.el.__isMounted=!1,Le(()=>{U(),delete t.el.__isMounted},r)):U()}else{if(Mr(t.props)&&e.el.__isMounted===!1){Le(()=>{Fr.process(e,t,o,n,s,r,i,l,a,u)},r);return}t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,L=t.target=e.target,q=t.targetAnchor=e.targetAnchor,U=Wt(e.props),x=U?o:L,P=U?I:q;if(i==="svg"||jr(L)?i="svg":(i==="mathml"||Lr(L))&&(i="mathml"),pe?(p(e.dynamicChildren,pe,x,s,r,i,l),Mo(e,t,m.NODE_ENV==="production")):a||d(e,t,x,P,s,r,i,l,!1),R)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):yn(t,o,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=us(t.props,N);M?yn(t,M,null,u,0):m.NODE_ENV!=="production"&&O("Invalid Teleport target on update:",L,`(${typeof L})`)}else U&&yn(t,L,q,u,1);xn(t,R)}},remove(e,t,o,{um:n,o:{remove:s}},r){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:d,props:p}=e;if(d&&(s(u),s(c)),r&&s(a),i&16){const b=r||!Wt(p);for(let N=0;N<l.length;N++){const v=l[N];n(v,t,o,b,!!v.dynamicChildren)}}},move:yn,hydrate:za};function yn(e,t,o,{o:{insert:n},m:s},r=2){r===0&&n(e.targetAnchor,t,o);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,d=r===2;if(d&&n(i,t,o),(!d||Wt(c))&&a&16)for(let p=0;p<u.length;p++)s(u[p],t,o,2);d&&n(l,t,o)}function za(e,t,o,n,s,r,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},d){function p(v,F,R,H){F.anchor=d(i(v),F,l(v),o,n,s,r),F.targetStart=R,F.targetAnchor=H}const b=t.target=us(t.props,a),N=Wt(t.props);if(b){const v=b._lpa||b.firstChild;if(t.shapeFlag&16)if(N)p(e,t,v,v&&i(v));else{t.anchor=i(e);let F=v;for(;F;){if(F&&F.nodeType===8){if(F.data==="teleport start anchor")t.targetStart=F;else if(F.data==="teleport anchor"){t.targetAnchor=F,b._lpa=t.targetAnchor&&i(t.targetAnchor);break}}F=i(F)}t.targetAnchor||Rr(b,t,c,u),d(v&&i(v),t,b,o,n,s,r)}xn(t,N)}else N&&t.shapeFlag&16&&p(e,t,e,i(e));return t.anchor&&i(t.anchor)}const Wa=Fr;function xn(e,t){const o=e.ctx;if(o&&o.ut){let n,s;for(t?(n=e.el,s=e.anchor):(n=e.targetStart,s=e.targetAnchor);n&&n!==s;)n.nodeType===1&&n.setAttribute("data-v-owner",o.uid),n=n.nextSibling;o.ut()}}function Rr(e,t,o,n){const s=t.targetStart=o(""),r=t.targetAnchor=o("");return s[Ir]=r,e&&(n(s,e),n(r,e)),r}const Et=Symbol("_leaveCb"),wn=Symbol("_enterCb");function qa(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),Xr(()=>{e.isUnmounting=!0}),e}const qe=[Function,Array],Hr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qe,onEnter:qe,onAfterEnter:qe,onEnterCancelled:qe,onBeforeLeave:qe,onLeave:qe,onAfterLeave:qe,onLeaveCancelled:qe,onBeforeAppear:qe,onAppear:qe,onAfterAppear:qe,onAppearCancelled:qe},Ur=e=>{const t=e.subTree;return t.component?Ur(t.component):t},Ja={name:"BaseTransition",props:Hr,setup(e,{slots:t}){const o=Ss(),n=qa();return()=>{const s=t.default&&Wr(t.default(),!0);if(!s||!s.length)return;const r=Br(s),i=X(e),{mode:l}=i;if(m.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&O(`invalid <transition> mode: ${l}`),n.isLeaving)return ps(r);const a=zr(r);if(!a)return ps(r);let u=fs(a,i,n,o,d=>u=d);a.type!==ke&&To(a,u);let c=o.subTree&&zr(o.subTree);if(c&&c.type!==ke&&!Yt(c,a)&&Ur(o).type!==ke){let d=fs(c,i,n,o);if(To(c,d),l==="out-in"&&a.type!==ke)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete d.afterLeave,c=void 0},ps(r);l==="in-out"&&a.type!==ke?d.delayLeave=(p,b,N)=>{const v=Kr(n,c);v[String(c.key)]=c,p[Et]=()=>{b(),p[Et]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{N(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function Br(e){let t=e[0];if(e.length>1){let o=!1;for(const n of e)if(n.type!==ke){if(m.NODE_ENV!=="production"&&o){O("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,o=!0,m.NODE_ENV==="production")break}}return t}const Ga=Ja;function Kr(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function fs(e,t,o,n,s){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:b,onAfterLeave:N,onLeaveCancelled:v,onBeforeAppear:F,onAppear:R,onAfterAppear:H,onAppearCancelled:B}=t,pe=String(e.key),I=Kr(o,e),L=(x,P)=>{x&&tt(x,n,9,P)},q=(x,P)=>{const M=P[1];L(x,P),j(x)?x.every(S=>S.length<=1)&&M():x.length<=1&&M()},U={mode:i,persisted:l,beforeEnter(x){let P=a;if(!o.isMounted)if(r)P=F||a;else return;x[Et]&&x[Et](!0);const M=I[pe];M&&Yt(e,M)&&M.el[Et]&&M.el[Et](),L(P,[x])},enter(x){let P=u,M=c,S=d;if(!o.isMounted)if(r)P=R||u,M=H||c,S=B||d;else return;let ce=!1;const ve=x[wn]=De=>{ce||(ce=!0,De?L(S,[x]):L(M,[x]),U.delayedLeave&&U.delayedLeave(),x[wn]=void 0)};P?q(P,[x,ve]):ve()},leave(x,P){const M=String(e.key);if(x[wn]&&x[wn](!0),o.isUnmounting)return P();L(p,[x]);let S=!1;const ce=x[Et]=ve=>{S||(S=!0,P(),ve?L(v,[x]):L(N,[x]),x[Et]=void 0,I[M]===e&&delete I[M])};I[M]=e,b?q(b,[x,ce]):ce()},clone(x){const P=fs(x,t,o,n,s);return s&&s(P),P}};return U}function ps(e){if(Vo(e))return e=pt(e),e.children=null,e}function zr(e){if(!Vo(e))return Pr(e.type)&&e.children?Br(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&z(o.default))return o.default()}}function To(e,t){e.shapeFlag&6&&e.component?(e.transition=t,To(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 Wr(e,t=!1,o){let n=[],s=0;for(let r=0;r<e.length;r++){let i=e[r];const l=o==null?i.key:String(o)+String(i.key!=null?i.key:r);i.type===te?(i.patchFlag&128&&s++,n=n.concat(Wr(i.children,t,l))):(t||i.type!==ke)&&n.push(l!=null?pt(i,{key:l}):i)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function xe(e,t){return z(e)?ge({name:e.name},t,{setup:e}):e}function qr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Jr=new WeakSet,En=new WeakMap;function Do(e,t,o,n,s=!1){if(j(e)){e.forEach((v,F)=>Do(v,t&&(j(t)?t[F]:t),o,n,s));return}if(co(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Do(e,t,o,n.component.subTree);return}const r=n.shapeFlag&4?Vn(n.component):n.el,i=s?null:r,{i:l,r:a}=e;if(m.NODE_ENV!=="production"&&!l){O("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,c=l.refs===le?l.refs={}:l.refs,d=l.setupState,p=X(d),b=d===le?qs:v=>m.NODE_ENV!=="production"&&(ee(p,v)&&!Ne(p[v])&&O(`Template ref "${v}" used on a non-ref value. It will not work in the production build.`),Jr.has(p[v]))?!1:ee(p,v),N=v=>m.NODE_ENV==="production"||!Jr.has(v);if(u!=null&&u!==a){if(Gr(t),me(u))c[u]=null,b(u)&&(d[u]=null);else if(Ne(u)){N(u)&&(u.value=null);const v=t;v.k&&(c[v.k]=null)}}if(z(a))io(a,l,12,[i,c]);else{const v=me(a),F=Ne(a);if(v||F){const R=()=>{if(e.f){const H=v?b(a)?d[a]:c[a]:N(a)||!e.k?a.value:c[e.k];if(s)j(H)&&Rn(H,r);else if(j(H))H.includes(r)||H.push(r);else if(v)c[a]=[r],b(a)&&(d[a]=c[a]);else{const B=[r];N(a)&&(a.value=B),e.k&&(c[e.k]=B)}}else v?(c[a]=i,b(a)&&(d[a]=i)):F?(N(a)&&(a.value=i),e.k&&(c[e.k]=i)):m.NODE_ENV!=="production"&&O("Invalid template ref type:",a,`(${typeof a})`)};if(i){const H=()=>{R(),En.delete(e)};H.id=-1,En.set(e,H),Le(H,o)}else Gr(e),R()}else m.NODE_ENV!=="production"&&O("Invalid template ref type:",a,`(${typeof a})`)}}function Gr(e){const t=En.get(e);t&&(t.flags|=8,En.delete(e))}vo().requestIdleCallback,vo().cancelIdleCallback;const co=e=>!!e.type.__asyncLoader,Vo=e=>e.type.__isKeepAlive;function Ya(e,t){Yr(e,"a",t)}function Xa(e,t){Yr(e,"da",t)}function Yr(e,t,o=$e){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(kn(t,n,o),o){let s=o.parent;for(;s&&s.parent;)Vo(s.parent.vnode)&&Za(n,t,o,s),s=s.parent}}function Za(e,t,o,n){const s=kn(t,e,n,!0);hs(()=>{Rn(n[t],s)},o)}function kn(e,t,o=$e,n=!1){if(o){const s=o[e]||(o[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Xe();const l=Ho(o),a=tt(t,o,e,i);return l(),Ze(),a});return n?s.unshift(r):s.push(r),r}else if(m.NODE_ENV!=="production"){const s=Rt(is[e].replace(/ hook$/,""));O(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const kt=e=>(t,o=$e)=>{(!Uo||e==="sp")&&kn(e,(...n)=>t(...n),o)},Qa=kt("bm"),At=kt("m"),ec=kt("bu"),tc=kt("u"),Xr=kt("bum"),hs=kt("um"),oc=kt("sp"),nc=kt("rtg"),sc=kt("rtc");function rc(e,t=$e){kn("ec",e,t)}const Zr="components";function ic(e,t){return ti(Zr,e,!0,t)||e}const Qr=Symbol.for("v-ndc");function ei(e){return me(e)?ti(Zr,e,!1)||e:e||Qr}function ti(e,t,o=!0,n=!1){const s=Oe||$e;if(s){const r=s.type;{const l=Ds(r,!1);if(l&&(l===t||l===Ve(t)||l===Ft(Ve(t))))return r}const i=oi(s[e]||r[e],t)||oi(s.appContext[e],t);return!i&&n?r:(m.NODE_ENV!=="production"&&o&&!i&&O(`Failed to resolve ${e.slice(0,-1)}: ${t}
5
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`),i)}else m.NODE_ENV!=="production"&&O(`resolve${Ft(e.slice(0,-1))} can only be used in render() or setup().`)}function oi(e,t){return e&&(e[t]||e[Ve(t)]||e[Ft(Ve(t))])}function Me(e,t,o,n){let s;const r=o,i=j(e);if(i||me(e)){const l=i&&Dt(e);let a=!1,u=!1;l&&(a=!Ie(e),u=Qe(e),e=nn(e)),s=new Array(e.length);for(let c=0,d=e.length;c<d;c++)s[c]=t(a?u?ro(et(e[c])):et(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){m.NODE_ENV!=="production"&&!Number.isInteger(e)&&O(`The v-for range expect an integer value but got ${e}.`),s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,r)}else if(se(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,r));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];s[a]=t(e[c],c,a,r)}}else s=[];return s}function ft(e,t,o={},n,s){if(Oe.ce||Oe.parent&&co(Oe.parent)&&Oe.parent.ce){const u=Object.keys(o).length>0;return t!=="default"&&(o.name=t),y(),be(te,null,[Y("slot",o,n&&n())],u?-2:64)}let r=e[t];m.NODE_ENV!=="production"&&r&&r.length>1&&(O("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),y();const i=r&&ni(r(o)),l=o.key||i&&i.key,a=be(te,{key:(l&&!Je(l)?l:`_${t}`)+(!i&&n?"_fb":"")},i||(n?n():[]),i&&e._===1?64:-2);return r&&r._c&&(r._d=!0),a}function ni(e){return e.some(t=>Gt(t)?!(t.type===ke||t.type===te&&!ni(t.children)):!0)?e:null}const gs=e=>e?Fi(e)?Vn(e):gs(e.parent):null,qt=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>m.NODE_ENV!=="production"?lt(e.props):e.props,$attrs:e=>m.NODE_ENV!=="production"?lt(e.attrs):e.attrs,$slots:e=>m.NODE_ENV!=="production"?lt(e.slots):e.slots,$refs:e=>m.NODE_ENV!=="production"?lt(e.refs):e.refs,$parent:e=>gs(e.parent),$root:e=>gs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ai(e),$forceUpdate:e=>e.f||(e.f=()=>{mn(e.update)}),$nextTick:e=>e.n||(e.n=ct.bind(e.proxy)),$watch:e=>yc.bind(e)}),ms=e=>e==="_"||e==="$",bs=(e,t)=>e!==le&&!e.__isScriptSetup&&ee(e,t),si={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:r,accessCache:i,type:l,appContext:a}=e;if(m.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return r[t]}else{if(bs(n,t))return i[t]=1,n[t];if(s!==le&&ee(s,t))return i[t]=2,s[t];if(ee(r,t))return i[t]=3,r[t];if(o!==le&&ee(o,t))return i[t]=4,o[t];_s&&(i[t]=0)}}const u=qt[t];let c,d;if(u)return t==="$attrs"?(Ce(e.attrs,"get",""),m.NODE_ENV!=="production"&&$n()):m.NODE_ENV!=="production"&&t==="$slots"&&Ce(e,"get",t),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(o!==le&&ee(o,t))return i[t]=4,o[t];if(d=a.config.globalProperties,ee(d,t))return d[t];m.NODE_ENV!=="production"&&Oe&&(!me(t)||t.indexOf("__v")!==0)&&(s!==le&&ms(t[0])&&ee(s,t)?O(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Oe&&O(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:n,setupState:s,ctx:r}=e;return bs(s,t)?(s[t]=o,!0):m.NODE_ENV!=="production"&&s.__isScriptSetup&&ee(s,t)?(O(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==le&&ee(n,t)?(n[t]=o,!0):ee(e.props,t)?(m.NODE_ENV!=="production"&&O(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(m.NODE_ENV!=="production"&&O(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(m.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:o}):r[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:r,type:i}},l){let a;return!!(o[l]||e!==le&&l[0]!=="$"&&ee(e,l)||bs(t,l)||ee(r,l)||ee(n,l)||ee(qt,l)||ee(s.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:ee(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};m.NODE_ENV!=="production"&&(si.ownKeys=e=>(O("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function lc(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(qt).forEach(o=>{Object.defineProperty(t,o,{configurable:!0,enumerable:!1,get:()=>qt[o](e),set:Se})}),t}function ac(e){const{ctx:t,propsOptions:[o]}=e;o&&Object.keys(o).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:Se})})}function cc(e){const{ctx:t,setupState:o}=e;Object.keys(X(o)).forEach(n=>{if(!o.__isScriptSetup){if(ms(n[0])){O(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o[n],set:Se})}})}function ri(e){return j(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}function dc(){const e=Object.create(null);return(t,o)=>{e[o]?O(`${t} property "${o}" is already defined in ${e[o]}.`):e[o]=t}}let _s=!0;function uc(e){const t=ai(e),o=e.proxy,n=e.ctx;_s=!1,t.beforeCreate&&ii(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:b,updated:N,activated:v,deactivated:F,beforeDestroy:R,beforeUnmount:H,destroyed:B,unmounted:pe,render:I,renderTracked:L,renderTriggered:q,errorCaptured:U,serverPrefetch:x,expose:P,inheritAttrs:M,components:S,directives:ce,filters:ve}=t,De=m.NODE_ENV!=="production"?dc():null;if(m.NODE_ENV!=="production"){const[Z]=e.propsOptions;if(Z)for(const Q in Z)De("Props",Q)}if(u&&fc(u,n,De),i)for(const Z in i){const Q=i[Z];z(Q)?(m.NODE_ENV!=="production"?Object.defineProperty(n,Z,{value:Q.bind(o),configurable:!0,enumerable:!0,writable:!0}):n[Z]=Q.bind(o),m.NODE_ENV!=="production"&&De("Methods",Z)):m.NODE_ENV!=="production"&&O(`Method "${Z}" has type "${typeof Q}" in the component definition. Did you reference the function correctly?`)}if(s){m.NODE_ENV!=="production"&&!z(s)&&O("The data option must be a function. Plain object usage is no longer supported.");const Z=s.call(o,o);if(m.NODE_ENV!=="production"&&Hn(Z)&&O("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!se(Z))m.NODE_ENV!=="production"&&O("data() should return an object.");else if(e.data=ss(Z),m.NODE_ENV!=="production")for(const Q in Z)De("Data",Q),ms(Q[0])||Object.defineProperty(n,Q,{configurable:!0,enumerable:!0,get:()=>Z[Q],set:Se})}if(_s=!0,r)for(const Z in r){const Q=r[Z],gt=z(Q)?Q.bind(o,o):z(Q.get)?Q.get.bind(o,o):Se;m.NODE_ENV!=="production"&&gt===Se&&O(`Computed property "${Z}" has no getter.`);const Bs=!z(Q)&&z(Q.set)?Q.set.bind(o):m.NODE_ENV!=="production"?()=>{O(`Write operation failed: computed property "${Z}" is readonly.`)}:Se,Jo=oe({get:gt,set:Bs});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>Jo.value,set:go=>Jo.value=go}),m.NODE_ENV!=="production"&&De("Computed",Z)}if(l)for(const Z in l)li(l[Z],n,o,Z);if(a){const Z=z(a)?a.call(o):a;Reflect.ownKeys(Z).forEach(Q=>{fi(Q,Z[Q])})}c&&ii(c,e,"c");function Ee(Z,Q){j(Q)?Q.forEach(gt=>Z(gt.bind(o))):Q&&Z(Q.bind(o))}if(Ee(Qa,d),Ee(At,p),Ee(ec,b),Ee(tc,N),Ee(Ya,v),Ee(Xa,F),Ee(rc,U),Ee(sc,L),Ee(nc,q),Ee(Xr,H),Ee(hs,pe),Ee(oc,x),j(P))if(P.length){const Z=e.exposed||(e.exposed={});P.forEach(Q=>{Object.defineProperty(Z,Q,{get:()=>o[Q],set:gt=>o[Q]=gt,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Se&&(e.render=I),M!=null&&(e.inheritAttrs=M),S&&(e.components=S),ce&&(e.directives=ce),x&&qr(e)}function fc(e,t,o=Se){j(e)&&(e=vs(e));for(const n in e){const s=e[n];let r;se(s)?"default"in s?r=Io(s.from||n,s.default,!0):r=Io(s.from||n):r=Io(s),Ne(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[n]=r,m.NODE_ENV!=="production"&&o("Inject",n)}}function ii(e,t,o){tt(j(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function li(e,t,o,n){let s=n.includes(".")?hi(o,n):()=>o[n];if(me(e)){const r=t[e];z(r)?Te(s,r):m.NODE_ENV!=="production"&&O(`Invalid watch handler specified by key "${e}"`,r)}else if(z(e))Te(s,e.bind(o));else if(se(e))if(j(e))e.forEach(r=>li(r,t,o,n));else{const r=z(e.handler)?e.handler.bind(o):t[e.handler];z(r)?Te(s,r,e):m.NODE_ENV!=="production"&&O(`Invalid watch handler specified by key "${e.handler}"`,r)}else m.NODE_ENV!=="production"&&O(`Invalid watch option: "${n}"`,e)}function ai(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!s.length&&!o&&!n?a=t:(a={},s.length&&s.forEach(u=>Nn(a,u,i,!0)),Nn(a,t,i)),se(t)&&r.set(t,a),a}function Nn(e,t,o,n=!1){const{mixins:s,extends:r}=t;r&&Nn(e,r,o,!0),s&&s.forEach(i=>Nn(e,i,o,!0));for(const i in t)if(n&&i==="expose")m.NODE_ENV!=="production"&&O('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=pc[i]||o&&o[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const pc={data:ci,props:di,emits:di,methods:Ao,computed:Ao,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:Ao,directives:Ao,watch:gc,provide:ci,inject:hc};function ci(e,t){return t?e?function(){return ge(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function hc(e,t){return Ao(vs(e),vs(t))}function vs(e){if(j(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function Ao(e,t){return e?ge(Object.create(null),e,t):t}function di(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:ge(Object.create(null),ri(e),ri(t??{})):t}function gc(e,t){if(!e)return t;if(!t)return e;const o=ge(Object.create(null),e);for(const n in t)o[n]=je(e[n],t[n]);return o}function ui(){return{app:null,config:{isNativeTag:qs,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let mc=0;function bc(e,t){return function(n,s=null){z(n)||(n=ge({},n)),s!=null&&!se(s)&&(m.NODE_ENV!=="production"&&O("root props passed to app.mount() must be an object."),s=null);const r=ui(),i=new WeakSet,l=[];let a=!1;const u=r.app={_uid:mc++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Ki,get config(){return r.config},set config(c){m.NODE_ENV!=="production"&&O("app.config cannot be replaced. Modify individual options instead.")},use(c,...d){return i.has(c)?m.NODE_ENV!=="production"&&O("Plugin has already been applied to target app."):c&&z(c.install)?(i.add(c),c.install(u,...d)):z(c)?(i.add(c),c(u,...d)):m.NODE_ENV!=="production"&&O('A plugin must either be a function or an object with an "install" function.'),u},mixin(c){return r.mixins.includes(c)?m.NODE_ENV!=="production"&&O("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):r.mixins.push(c),u},component(c,d){return m.NODE_ENV!=="production"&&Ts(c,r.config),d?(m.NODE_ENV!=="production"&&r.components[c]&&O(`Component "${c}" has already been registered in target app.`),r.components[c]=d,u):r.components[c]},directive(c,d){return m.NODE_ENV!=="production"&&Ar(c),d?(m.NODE_ENV!=="production"&&r.directives[c]&&O(`Directive "${c}" has already been registered in target app.`),r.directives[c]=d,u):r.directives[c]},mount(c,d,p){if(a)m.NODE_ENV!=="production"&&O("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{m.NODE_ENV!=="production"&&c.__vue_app__&&O("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const b=u._ceVNode||Y(n,s);return b.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),m.NODE_ENV!=="production"&&(r.reload=()=>{const N=pt(b);N.el=null,e(N,c,p)}),e(b,c,p),a=!0,u._container=c,c.__vue_app__=u,m.NODE_ENV!=="production"&&(u._instance=b.component,ja(u,Ki)),Vn(b.component)}},onUnmount(c){m.NODE_ENV!=="production"&&typeof c!="function"&&O(`Expected function as first argument to app.onUnmount(), but got ${typeof c}`),l.push(c)},unmount(){a?(tt(l,u._instance,16),e(null,u._container),m.NODE_ENV!=="production"&&(u._instance=null,La(u)),delete u._container.__vue_app__):m.NODE_ENV!=="production"&&O("Cannot unmount an app that is not mounted.")},provide(c,d){return m.NODE_ENV!=="production"&&c in r.provides&&(ee(r.provides,c)?O(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`):O(`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[c]=d,u},runWithContext(c){const d=uo;uo=u;try{return c()}finally{uo=d}}};return u}}let uo=null;function fi(e,t){if(m.NODE_ENV!=="production"&&(!$e||$e.isMounted)&&O("provide() can only be used inside setup()."),$e){let o=$e.provides;const n=$e.parent&&$e.parent.provides;n===o&&(o=$e.provides=Object.create(n)),o[e]=t}}function Io(e,t,o=!1){const n=Ss();if(n||uo){let s=uo?uo._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return o&&z(t)?t.call(n&&n.proxy):t;m.NODE_ENV!=="production"&&O(`injection "${String(e)}" not found.`)}else m.NODE_ENV!=="production"&&O("inject() can only be used inside setup() or functional components.")}const _c=Symbol.for("v-scx"),vc=()=>{{const e=Io(_c);return e||m.NODE_ENV!=="production"&&O("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Te(e,t,o){return m.NODE_ENV!=="production"&&!z(t)&&O("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),pi(e,t,o)}function pi(e,t,o=le){const{immediate:n,deep:s,flush:r,once:i}=o;m.NODE_ENV!=="production"&&!t&&(n!==void 0&&O('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&O('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&O('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=ge({},o);m.NODE_ENV!=="production"&&(l.onWarn=O);const a=t&&n||!t&&r!=="post";let u;if(Uo){if(r==="sync"){const b=vc();u=b.__watcherHandles||(b.__watcherHandles=[])}else if(!a){const b=()=>{};return b.stop=Se,b.resume=Se,b.pause=Se,b}}const c=$e;l.call=(b,N,v)=>tt(b,c,N,v);let d=!1;r==="post"?l.scheduler=b=>{Le(b,c&&c.suspense)}:r!=="sync"&&(d=!0,l.scheduler=(b,N)=>{N?b():mn(b)}),l.augmentJob=b=>{t&&(b.flags|=4),d&&(b.flags|=2,c&&(b.id=c.uid,b.i=c))};const p=ka(e,t,l);return Uo&&(u?u.push(p):a&&p()),p}function yc(e,t,o){const n=this.proxy,s=me(e)?e.includes(".")?hi(n,e):()=>n[e]:e.bind(n,n);let r;z(t)?r=t:(r=t.handler,o=t);const i=Ho(this),l=pi(s,r.bind(n),o);return i(),l}function hi(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;s<o.length&&n;s++)n=n[o[s]];return n}}const xc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ve(t)}Modifiers`]||e[`${Re(t)}Modifiers`];function wc(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||le;if(m.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[d]}=e;if(c)if(!(t in c))(!d||!(Rt(Ve(t))in d))&&O(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Rt(Ve(t))}" prop.`);else{const p=c[t];z(p)&&(p(...o)||O(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=o;const r=t.startsWith("update:"),i=r&&xc(n,t.slice(7));if(i&&(i.trim&&(s=o.map(c=>me(c)?c.trim():c)),i.number&&(s=o.map(on))),m.NODE_ENV!=="production"&&Ka(e,t,s),m.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&n[Rt(c)]&&O(`Event "${c}" is emitted in component ${Bo(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Re(t)}" instead of "${t}".`)}let l,a=n[l=Rt(t)]||n[l=Rt(Ve(t))];!a&&r&&(a=n[l=Rt(Re(t))]),a&&tt(a,e,6,s);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,tt(u,e,6,s)}}const Ec=new WeakMap;function gi(e,t,o=!1){const n=o?Ec:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const r=e.emits;let i={},l=!1;if(!z(e)){const a=u=>{const c=gi(u,t,!0);c&&(l=!0,ge(i,c))};!o&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(se(e)&&n.set(e,null),null):(j(r)?r.forEach(a=>i[a]=null):ge(i,r),se(e)&&n.set(e,i),i)}function On(e,t){return!e||!mo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,Re(t))||ee(e,t))}let ys=!1;function $n(){ys=!0}function mi(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[r],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:d,data:p,setupState:b,ctx:N,inheritAttrs:v}=e,F=vn(e);let R,H;m.NODE_ENV!=="production"&&(ys=!1);try{if(o.shapeFlag&4){const I=s||n,L=m.NODE_ENV!=="production"&&b.__isScriptSetup?new Proxy(I,{get(q,U,x){return O(`Property '${String(U)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(q,U,x)}}):I;R=st(u.call(L,I,c,m.NODE_ENV!=="production"?lt(d):d,b,p,N)),H=l}else{const I=t;m.NODE_ENV!=="production"&&l===d&&$n(),R=st(I.length>1?I(m.NODE_ENV!=="production"?lt(d):d,m.NODE_ENV!=="production"?{get attrs(){return $n(),lt(l)},slots:i,emit:a}:{attrs:l,slots:i,emit:a}):I(m.NODE_ENV!=="production"?lt(d):d,null)),H=t.props?l:kc(l)}}catch(I){Fo.length=0,Oo(I,e,1),R=Y(ke)}let B=R,pe;if(m.NODE_ENV!=="production"&&R.patchFlag>0&&R.patchFlag&2048&&([B,pe]=bi(R)),H&&v!==!1){const I=Object.keys(H),{shapeFlag:L}=B;if(I.length){if(L&7)r&&I.some(Zo)&&(H=Nc(H,r)),B=pt(B,H,!1,!0);else if(m.NODE_ENV!=="production"&&!ys&&B.type!==ke){const q=Object.keys(l),U=[],x=[];for(let P=0,M=q.length;P<M;P++){const S=q[P];mo(S)?Zo(S)||U.push(S[2].toLowerCase()+S.slice(3)):x.push(S)}x.length&&O(`Extraneous non-props attributes (${x.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),U.length&&O(`Extraneous non-emits event listeners (${U.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return o.dirs&&(m.NODE_ENV!=="production"&&!_i(B)&&O("Runtime directive used on component with non-element root node. The directives will not function as intended."),B=pt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(o.dirs):o.dirs),o.transition&&(m.NODE_ENV!=="production"&&!_i(B)&&O("Component inside <Transition> renders non-element root node that cannot be animated."),To(B,o.transition)),m.NODE_ENV!=="production"&&pe?pe(B):R=B,vn(F),R}const bi=e=>{const t=e.children,o=e.dynamicChildren,n=xs(t,!1);if(n){if(m.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return bi(n)}else return[e,void 0];const s=t.indexOf(n),r=o?o.indexOf(n):-1,i=l=>{t[s]=l,o&&(r>-1?o[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...o,l]))};return[st(n),i]};function xs(e,t=!0){let o;for(let n=0;n<e.length;n++){const s=e[n];if(Gt(s)){if(s.type!==ke||s.children==="v-if"){if(o)return;if(o=s,m.NODE_ENV!=="production"&&t&&o.patchFlag>0&&o.patchFlag&2048)return xs(o.children)}}else return}return o}const kc=e=>{let t;for(const o in e)(o==="class"||o==="style"||mo(o))&&((t||(t={}))[o]=e[o]);return t},Nc=(e,t)=>{const o={};for(const n in e)(!Zo(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o},_i=e=>e.shapeFlag&7||e.type===ke;function Oc(e,t,o){const{props:n,children:s,component:r}=e,{props:i,children:l,patchFlag:a}=t,u=r.emitsOptions;if(m.NODE_ENV!=="production"&&(s||l)&&ot||t.dirs||t.transition)return!0;if(o&&a>=0){if(a&1024)return!0;if(a&16)return n?vi(n,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(i[p]!==n[p]&&!On(u,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:n===i?!1:n?i?vi(n,i,u):!0:!!i;return!1}function vi(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(t[r]!==e[r]&&!On(o,r))return!0}return!1}function $c({vnode:e,parent:t},o){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=o,t=t.parent;else break}}const yi={},xi=()=>Object.create(yi),wi=e=>Object.getPrototypeOf(e)===yi;function Sc(e,t,o,n=!1){const s={},r=xi();e.propsDefaults=Object.create(null),Ei(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);m.NODE_ENV!=="production"&&Oi(t||{},s,e),o?e.props=n?s:ma(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Cc(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Tc(e,t,o,n){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,l=X(s),[a]=e.propsOptions;let u=!1;if(!(m.NODE_ENV!=="production"&&Cc(e))&&(n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(On(e.emitsOptions,p))continue;const b=t[p];if(a)if(ee(r,p))b!==r[p]&&(r[p]=b,u=!0);else{const N=Ve(p);s[N]=ws(a,l,N,b,e,!1)}else b!==r[p]&&(r[p]=b,u=!0)}}}else{Ei(e,t,s,r)&&(u=!0);let c;for(const d in l)(!t||!ee(t,d)&&((c=Re(d))===d||!ee(t,c)))&&(a?o&&(o[d]!==void 0||o[c]!==void 0)&&(s[d]=ws(a,l,d,void 0,e,!0)):delete s[d]);if(r!==l)for(const d in r)(!t||!ee(t,d))&&(delete r[d],u=!0)}u&&it(e.attrs,"set",""),m.NODE_ENV!=="production"&&Oi(t||{},s,e)}function Ei(e,t,o,n){const[s,r]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(_o(a))continue;const u=t[a];let c;s&&ee(s,c=Ve(a))?!r||!r.includes(c)?o[c]=u:(l||(l={}))[c]=u:On(e.emitsOptions,a)||(!(a in n)||u!==n[a])&&(n[a]=u,i=!0)}if(r){const a=X(o),u=l||le;for(let c=0;c<r.length;c++){const d=r[c];o[d]=ws(s,a,d,u[d],e,!ee(u,d))}}return i}function ws(e,t,o,n,s,r){const i=e[o];if(i!=null){const l=ee(i,"default");if(l&&n===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&z(a)){const{propsDefaults:u}=s;if(o in u)n=u[o];else{const c=Ho(s);n=u[o]=a.call(null,t),c()}}else n=a;s.ce&&s.ce._setProp(o,n)}i[0]&&(r&&!l?n=!1:i[1]&&(n===""||n===Re(o))&&(n=!0))}return n}const Dc=new WeakMap;function ki(e,t,o=!1){const n=o?Dc:t.propsCache,s=n.get(e);if(s)return s;const r=e.props,i={},l=[];let a=!1;if(!z(e)){const c=d=>{a=!0;const[p,b]=ki(d,t,!0);ge(i,p),b&&l.push(...b)};!o&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!a)return se(e)&&n.set(e,to),to;if(j(r))for(let c=0;c<r.length;c++){m.NODE_ENV!=="production"&&!me(r[c])&&O("props must be strings when using array syntax.",r[c]);const d=Ve(r[c]);Ni(d)&&(i[d]=le)}else if(r){m.NODE_ENV!=="production"&&!se(r)&&O("invalid props options",r);for(const c in r){const d=Ve(c);if(Ni(d)){const p=r[c],b=i[d]=j(p)||z(p)?{type:p}:ge({},p),N=b.type;let v=!1,F=!0;if(j(N))for(let R=0;R<N.length;++R){const H=N[R],B=z(H)&&H.name;if(B==="Boolean"){v=!0;break}else B==="String"&&(F=!1)}else v=z(N)&&N.name==="Boolean";b[0]=v,b[1]=F,(v||ee(b,"default"))&&l.push(d)}}}const u=[i,l];return se(e)&&n.set(e,u),u}function Ni(e){return e[0]!=="$"&&!_o(e)?!0:(m.NODE_ENV!=="production"&&O(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Vc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Oi(e,t,o){const n=X(t),s=o.propsOptions[0],r=Object.keys(e).map(i=>Ve(i));for(const i in s){let l=s[i];l!=null&&Ac(i,n[i],l,m.NODE_ENV!=="production"?lt(n):n,!r.includes(i))}}function Ac(e,t,o,n,s){const{type:r,required:i,validator:l,skipCheck:a}=o;if(i&&s){O('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(r!=null&&r!==!0&&!a){let u=!1;const c=j(r)?r:[r],d=[];for(let p=0;p<c.length&&!u;p++){const{valid:b,expectedType:N}=Pc(t,c[p]);d.push(N||""),u=b}if(!u){O(Mc(e,t,d));return}}l&&!l(t,n)&&O('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Ic=vt("String,Number,Boolean,Function,Symbol,BigInt");function Pc(e,t){let o;const n=Vc(t);if(n==="null")o=e===null;else if(Ic(n)){const s=typeof e;o=s===n.toLowerCase(),!o&&s==="object"&&(o=e instanceof t)}else n==="Object"?o=se(e):n==="Array"?o=j(e):o=e instanceof t;return{valid:o,expectedType:n}}function Mc(e,t,o){if(o.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${e}". Expected ${o.map(Ft).join(" | ")}`;const s=o[0],r=Un(t),i=$i(t,s),l=$i(t,r);return o.length===1&&Si(s)&&!jc(s,r)&&(n+=` with value ${i}`),n+=`, got ${r} `,Si(r)&&(n+=`with value ${l}.`),n}function $i(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Si(e){return["string","number","boolean"].some(o=>e.toLowerCase()===o)}function jc(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Es=e=>e==="_"||e==="_ctx"||e==="$stable",ks=e=>j(e)?e.map(st):[st(e)],Lc=(e,t,o)=>{if(t._n)return t;const n=we((...s)=>(m.NODE_ENV!=="production"&&$e&&!(o===null&&Oe)&&!(o&&o.root!==$e.root)&&O(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ks(t(...s))),o);return n._c=!1,n},Ci=(e,t,o)=>{const n=e._ctx;for(const s in e){if(Es(s))continue;const r=e[s];if(z(r))t[s]=Lc(s,r,n);else if(r!=null){m.NODE_ENV!=="production"&&O(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const i=ks(r);t[s]=()=>i}}},Ti=(e,t)=>{m.NODE_ENV!=="production"&&!Vo(e.vnode)&&O("Non-function value encountered for default slot. Prefer function slots for better performance.");const o=ks(t);e.slots.default=()=>o},Ns=(e,t,o)=>{for(const n in t)(o||!Es(n))&&(e[n]=t[n])},Fc=(e,t,o)=>{const n=e.slots=xi();if(e.vnode.shapeFlag&32){const s=t._;s?(Ns(n,t,o),o&&tn(n,"_",s,!0)):Ci(t,n)}else t&&Ti(e,t)},Rc=(e,t,o)=>{const{vnode:n,slots:s}=e;let r=!0,i=le;if(n.shapeFlag&32){const l=t._;l?m.NODE_ENV!=="production"&&ot?(Ns(s,t,o),it(e,"set","$slots")):o&&l===1?r=!1:Ns(s,t,o):(r=!t.$stable,Ci(t,s)),i=t}else t&&(Ti(e,t),i={default:1});if(r)for(const l in s)!Es(l)&&i[l]==null&&delete s[l]};let Po,Nt;function fo(e,t){e.appContext.config.performance&&Sn()&&Nt.mark(`vue-${t}-${e.uid}`),m.NODE_ENV!=="production"&&Ua(e,t,Sn()?Nt.now():Date.now())}function po(e,t){if(e.appContext.config.performance&&Sn()){const o=`vue-${t}-${e.uid}`,n=o+":end",s=`<${Bo(e,e.type)}> ${t}`;Nt.mark(n),Nt.measure(s,o,n),Nt.clearMeasures(s),Nt.clearMarks(o),Nt.clearMarks(n)}m.NODE_ENV!=="production"&&Ba(e,t,Sn()?Nt.now():Date.now())}function Sn(){return Po!==void 0||(typeof window<"u"&&window.performance?(Po=!0,Nt=window.performance):Po=!1),Po}function Hc(){const e=[];if(m.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
6
6
 
7
- For more details, see https://link.vuejs.org/feature-flags.`)}}const Le=Kc;function Rc(e){return Hc(e)}function Hc(e,t){Fc();const o=vo();o.__VUE__=!0,m.NODE_ENV!=="production"&&Sr(o.__VUE_DEVTOOLS_GLOBAL_HOOK__,o);const{insert:n,remove:s,patchProp:r,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:b=Se,insertStaticContent:N}=e,v=(f,h,_,O=null,w=null,E=null,V=void 0,T=null,C=m.NODE_ENV!=="production"&&tt?!1:!!h.dynamicChildren)=>{if(f===h)return;f&&!Yt(f,h)&&(O=Fn(f),jt(f,w,E,!0),f=null),h.patchFlag===-2&&(C=!1,h.dynamicChildren=null);const{type:k,ref:W,shapeFlag:A}=h;switch(k){case jo:F(f,h,_,O);break;case ke:R(f,h,_,O);break;case Lo:f==null?H(h,_,O,V):m.NODE_ENV!=="production"&&B(f,h,_,V);break;case te:ce(f,h,_,O,w,E,V,T,C);break;default:A&1?L(f,h,_,O,w,E,V,T,C):A&6?ve(f,h,_,O,w,E,V,T,C):A&64||A&128?k.process(f,h,_,O,w,E,V,T,C,Yo):m.NODE_ENV!=="production"&&$("Invalid VNode type:",k,`(${typeof k})`)}W!=null&&w?Do(W,f&&f.ref,E,h||f,!h):W==null&&f&&f.ref!=null&&Do(f.ref,null,E,f,!0)},F=(f,h,_,O)=>{if(f==null)n(h.el=l(h.children),_,O);else{const w=h.el=f.el;h.children!==f.children&&u(w,h.children)}},R=(f,h,_,O)=>{f==null?n(h.el=a(h.children||""),_,O):h.el=f.el},H=(f,h,_,O)=>{[f.el,f.anchor]=N(f.children,h,_,O,f.el,f.anchor)},B=(f,h,_,O)=>{if(h.children!==f.children){const w=p(f.anchor);I(f),[h.el,h.anchor]=N(h.children,_,w,O)}else h.el=f.el,h.anchor=f.anchor},pe=({el:f,anchor:h},_,O)=>{let w;for(;f&&f!==h;)w=p(f),n(f,_,O),f=w;n(h,_,O)},I=({el:f,anchor:h})=>{let _;for(;f&&f!==h;)_=p(f),s(f),f=_;s(h)},L=(f,h,_,O,w,E,V,T,C)=>{if(h.type==="svg"?V="svg":h.type==="math"&&(V="mathml"),f==null)q(h,_,O,w,E,V,T,C);else{const k=f.el&&f.el._isVueCE?f.el:null;try{k&&k._beginPatch(),M(f,h,w,E,V,T,C)}finally{k&&k._endPatch()}}},q=(f,h,_,O,w,E,V,T)=>{let C,k;const{props:W,shapeFlag:A,transition:K,dirs:J}=f;if(C=f.el=i(f.type,E,W&&W.is,W),A&8?c(C,f.children):A&16&&x(f.children,C,null,O,w,$s(f,E),V,T),J&&zt(f,null,O,"created"),U(C,f,f.scopeId,V,O),W){for(const he in W)he!=="value"&&!_o(he)&&r(C,he,null,W[he],E,O);"value"in W&&r(C,"value",null,W.value,E),(k=W.onVnodeBeforeMount)&&ht(k,O,f)}m.NODE_ENV!=="production"&&(tn(C,"__vnode",f,!0),tn(C,"__vueParentComponent",O,!0)),J&&zt(f,null,O,"beforeMount");const ne=Uc(w,K);ne&&K.beforeEnter(C),n(C,h,_),((k=W&&W.onVnodeMounted)||ne||J)&&Le(()=>{k&&ht(k,O,f),ne&&K.enter(C),J&&zt(f,null,O,"mounted")},w)},U=(f,h,_,O,w)=>{if(_&&b(f,_),O)for(let E=0;E<O.length;E++)b(f,O[E]);if(w){let E=w.subTree;if(m.NODE_ENV!=="production"&&E.patchFlag>0&&E.patchFlag&2048&&(E=xs(E.children)||E),h===E||Vi(E.type)&&(E.ssContent===h||E.ssFallback===h)){const V=w.vnode;U(f,V,V.scopeId,V.slotScopeIds,w.parent)}}},x=(f,h,_,O,w,E,V,T,C=0)=>{for(let k=C;k<f.length;k++){const W=f[k]=T?It(f[k]):nt(f[k]);v(null,W,h,_,O,w,E,V,T)}},M=(f,h,_,O,w,E,V)=>{const T=h.el=f.el;m.NODE_ENV!=="production"&&(T.__vnode=h);let{patchFlag:C,dynamicChildren:k,dirs:W}=h;C|=f.patchFlag&16;const A=f.props||le,K=h.props||le;let J;if(_&&Jt(_,!1),(J=K.onVnodeBeforeUpdate)&&ht(J,_,h,f),W&&zt(h,f,_,"beforeUpdate"),_&&Jt(_,!0),m.NODE_ENV!=="production"&&tt&&(C=0,V=!1,k=null),(A.innerHTML&&K.innerHTML==null||A.textContent&&K.textContent==null)&&c(T,""),k?(P(f.dynamicChildren,k,T,_,O,$s(h,w),E),m.NODE_ENV!=="production"&&Po(f,h)):V||gt(f,h,T,null,_,O,$s(h,w),E,!1),C>0){if(C&16)S(T,A,K,_,w);else if(C&2&&A.class!==K.class&&r(T,"class",null,K.class,w),C&4&&r(T,"style",A.style,K.style,w),C&8){const ne=h.dynamicProps;for(let he=0;he<ne.length;he++){const de=ne[he],Ue=A[de],Be=K[de];(Be!==Ue||de==="value")&&r(T,de,Ue,Be,w,_)}}C&1&&f.children!==h.children&&c(T,h.children)}else!V&&k==null&&S(T,A,K,_,w);((J=K.onVnodeUpdated)||W)&&Le(()=>{J&&ht(J,_,h,f),W&&zt(h,f,_,"updated")},O)},P=(f,h,_,O,w,E,V)=>{for(let T=0;T<h.length;T++){const C=f[T],k=h[T],W=C.el&&(C.type===te||!Yt(C,k)||C.shapeFlag&198)?d(C.el):_;v(C,k,W,null,O,w,E,V,!0)}},S=(f,h,_,O,w)=>{if(h!==_){if(h!==le)for(const E in h)!_o(E)&&!(E in _)&&r(f,E,h[E],null,w,O);for(const E in _){if(_o(E))continue;const V=_[E],T=h[E];V!==T&&E!=="value"&&r(f,E,T,V,w,O)}"value"in _&&r(f,"value",h.value,_.value,w)}},ce=(f,h,_,O,w,E,V,T,C)=>{const k=h.el=f?f.el:l(""),W=h.anchor=f?f.anchor:l("");let{patchFlag:A,dynamicChildren:K,slotScopeIds:J}=h;m.NODE_ENV!=="production"&&(tt||A&2048)&&(A=0,C=!1,K=null),J&&(T=T?T.concat(J):J),f==null?(n(k,_,O),n(W,_,O),x(h.children||[],_,W,w,E,V,T,C)):A>0&&A&64&&K&&f.dynamicChildren?(P(f.dynamicChildren,K,_,w,E,V,T),m.NODE_ENV!=="production"?Po(f,h):(h.key!=null||w&&h===w.subTree)&&Po(f,h,!0)):gt(f,h,_,W,w,E,V,T,C)},ve=(f,h,_,O,w,E,V,T,C)=>{h.slotScopeIds=T,f==null?h.shapeFlag&512?w.ctx.activate(h,_,O,V,C):De(h,_,O,w,E,V,C):Ee(f,h,C)},De=(f,h,_,O,w,E,V)=>{const T=f.component=Zc(f,O,w);if(m.NODE_ENV!=="production"&&T.type.__hmrId&&Da(T),m.NODE_ENV!=="production"&&(pn(f),fo(T,"mount")),Vo(f)&&(T.ctx.renderer=Yo),m.NODE_ENV!=="production"&&fo(T,"init"),ed(T,!1,V),m.NODE_ENV!=="production"&&po(T,"init"),m.NODE_ENV!=="production"&&tt&&(f.el=null),T.asyncDep){if(w&&w.registerDep(T,Z,V),!f.el){const C=T.subTree=Y(ke);R(null,C,h,_),f.placeholder=C.el}}else Z(T,f,h,_,w,E,V);m.NODE_ENV!=="production"&&(hn(),po(T,"mount"))},Ee=(f,h,_)=>{const O=h.component=f.component;if(kc(f,h,_))if(O.asyncDep&&!O.asyncResolved){m.NODE_ENV!=="production"&&pn(h),Q(O,h,_),m.NODE_ENV!=="production"&&hn();return}else O.next=h,O.update();else h.el=f.el,O.vnode=h},Z=(f,h,_,O,w,E,V)=>{const T=()=>{if(f.isMounted){let{next:A,bu:K,u:J,parent:ne,vnode:he}=f;{const bt=Ti(f);if(bt){A&&(A.el=he.el,Q(f,A,V)),bt.asyncDep.then(()=>{f.isUnmounted||T()});return}}let de=A,Ue;m.NODE_ENV!=="production"&&pn(A||f.vnode),Jt(f,!1),A?(A.el=he.el,Q(f,A,V)):A=he,K&&no(K),(Ue=A.props&&A.props.onVnodeBeforeUpdate)&&ht(Ue,ne,A,he),Jt(f,!0),m.NODE_ENV!=="production"&&fo(f,"render");const Be=gi(f);m.NODE_ENV!=="production"&&po(f,"render");const mt=f.subTree;f.subTree=Be,m.NODE_ENV!=="production"&&fo(f,"patch"),v(mt,Be,d(mt.el),Fn(mt),f,w,E),m.NODE_ENV!=="production"&&po(f,"patch"),A.el=Be.el,de===null&&Nc(f,Be.el),J&&Le(J,w),(Ue=A.props&&A.props.onVnodeUpdated)&&Le(()=>ht(Ue,ne,A,he),w),m.NODE_ENV!=="production"&&Cr(f),m.NODE_ENV!=="production"&&hn()}else{let A;const{el:K,props:J}=h,{bm:ne,m:he,parent:de,root:Ue,type:Be}=f,mt=co(h);Jt(f,!1),ne&&no(ne),!mt&&(A=J&&J.onVnodeBeforeMount)&&ht(A,de,h),Jt(f,!0);{Ue.ce&&Ue.ce._def.shadowRoot!==!1&&Ue.ce._injectChildStyle(Be),m.NODE_ENV!=="production"&&fo(f,"render");const bt=f.subTree=gi(f);m.NODE_ENV!=="production"&&po(f,"render"),m.NODE_ENV!=="production"&&fo(f,"patch"),v(null,bt,_,O,f,w,E),m.NODE_ENV!=="production"&&po(f,"patch"),h.el=bt.el}if(he&&Le(he,w),!mt&&(A=J&&J.onVnodeMounted)){const bt=h;Le(()=>ht(A,de,bt),w)}(h.shapeFlag&256||de&&co(de.vnode)&&de.vnode.shapeFlag&256)&&f.a&&Le(f.a,w),f.isMounted=!0,m.NODE_ENV!=="production"&&ja(f),h=_=O=null}};f.scope.on();const C=f.effect=new Qs(T);f.scope.off();const k=f.update=C.run.bind(C),W=f.job=C.runIfDirty.bind(C);W.i=f,W.id=f.uid,C.scheduler=()=>mn(W),Jt(f,!0),m.NODE_ENV!=="production"&&(C.onTrack=f.rtc?A=>no(f.rtc,A):void 0,C.onTrigger=f.rtg?A=>no(f.rtg,A):void 0),k()},Q=(f,h,_)=>{h.component=f;const O=f.vnode.props;f.vnode=h,f.next=null,Sc(f,h.props,O,_),Lc(f,h.children,_),Ye(),Er(f),Xe()},gt=(f,h,_,O,w,E,V,T,C=!1)=>{const k=f&&f.children,W=f?f.shapeFlag:0,A=h.children,{patchFlag:K,shapeFlag:J}=h;if(K>0){if(K&128){Jo(k,A,_,O,w,E,V,T,C);return}else if(K&256){Bs(k,A,_,O,w,E,V,T,C);return}}J&8?(W&16&&Go(k,w,E),A!==k&&c(_,A)):W&16?J&16?Jo(k,A,_,O,w,E,V,T,C):Go(k,w,E,!0):(W&8&&c(_,""),J&16&&x(A,_,O,w,E,V,T,C))},Bs=(f,h,_,O,w,E,V,T,C)=>{f=f||to,h=h||to;const k=f.length,W=h.length,A=Math.min(k,W);let K;for(K=0;K<A;K++){const J=h[K]=C?It(h[K]):nt(h[K]);v(f[K],J,_,null,w,E,V,T,C)}k>W?Go(f,w,E,!0,!1,A):x(h,_,O,w,E,V,T,C,A)},Jo=(f,h,_,O,w,E,V,T,C)=>{let k=0;const W=h.length;let A=f.length-1,K=W-1;for(;k<=A&&k<=K;){const J=f[k],ne=h[k]=C?It(h[k]):nt(h[k]);if(Yt(J,ne))v(J,ne,_,null,w,E,V,T,C);else break;k++}for(;k<=A&&k<=K;){const J=f[A],ne=h[K]=C?It(h[K]):nt(h[K]);if(Yt(J,ne))v(J,ne,_,null,w,E,V,T,C);else break;A--,K--}if(k>A){if(k<=K){const J=K+1,ne=J<W?h[J].el:O;for(;k<=K;)v(null,h[k]=C?It(h[k]):nt(h[k]),_,ne,w,E,V,T,C),k++}}else if(k>K)for(;k<=A;)jt(f[k],w,E,!0),k++;else{const J=k,ne=k,he=new Map;for(k=ne;k<=K;k++){const Fe=h[k]=C?It(h[k]):nt(h[k]);Fe.key!=null&&(m.NODE_ENV!=="production"&&he.has(Fe.key)&&$("Duplicate keys found during update:",JSON.stringify(Fe.key),"Make sure keys are unique."),he.set(Fe.key,k))}let de,Ue=0;const Be=K-ne+1;let mt=!1,bt=0;const Xo=new Array(Be);for(k=0;k<Be;k++)Xo[k]=0;for(k=J;k<=A;k++){const Fe=f[k];if(Ue>=Be){jt(Fe,w,E,!0);continue}let _t;if(Fe.key!=null)_t=he.get(Fe.key);else for(de=ne;de<=K;de++)if(Xo[de-ne]===0&&Yt(Fe,h[de])){_t=de;break}_t===void 0?jt(Fe,w,E,!0):(Xo[_t-ne]=k+1,_t>=bt?bt=_t:mt=!0,v(Fe,h[_t],_,null,w,E,V,T,C),Ue++)}const Cl=mt?Bc(Xo):to;for(de=Cl.length-1,k=Be-1;k>=0;k--){const Fe=ne+k,_t=h[Fe],Tl=h[Fe+1],Dl=Fe+1<W?Tl.el||Tl.placeholder:O;Xo[k]===0?v(null,_t,_,Dl,w,E,V,T,C):mt&&(de<0||k!==Cl[de]?go(_t,_,Dl,2):de--)}}},go=(f,h,_,O,w=null)=>{const{el:E,type:V,transition:T,children:C,shapeFlag:k}=f;if(k&6){go(f.component.subTree,h,_,O);return}if(k&128){f.suspense.move(h,_,O);return}if(k&64){V.move(f,h,_,Yo);return}if(V===te){n(E,h,_);for(let A=0;A<C.length;A++)go(C[A],h,_,O);n(f.anchor,h,_);return}if(V===Lo){pe(f,h,_);return}if(O!==2&&k&1&&T)if(O===0)T.beforeEnter(E),n(E,h,_),Le(()=>T.enter(E),w);else{const{leave:A,delayLeave:K,afterLeave:J}=T,ne=()=>{f.ctx.isUnmounted?s(E):n(E,h,_)},he=()=>{E._isLeaving&&E[Et](!0),A(E,()=>{ne(),J&&J()})};K?K(E,ne,he):he()}else n(E,h,_)},jt=(f,h,_,O=!1,w=!1)=>{const{type:E,props:V,ref:T,children:C,dynamicChildren:k,shapeFlag:W,patchFlag:A,dirs:K,cacheIndex:J}=f;if(A===-2&&(w=!1),T!=null&&(Ye(),Do(T,null,_,f,!0),Xe()),J!=null&&(h.renderCache[J]=void 0),W&256){h.ctx.deactivate(f);return}const ne=W&1&&K,he=!co(f);let de;if(he&&(de=V&&V.onVnodeBeforeUnmount)&&ht(de,h,f),W&6)_h(f.component,_,O);else{if(W&128){f.suspense.unmount(_,O);return}ne&&zt(f,null,h,"beforeUnmount"),W&64?f.type.remove(f,h,_,Yo,O):k&&!k.hasOnce&&(E!==te||A>0&&A&64)?Go(k,h,_,!1,!0):(E===te&&A&384||!w&&W&16)&&Go(C,h,_),O&&Ks(f)}(he&&(de=V&&V.onVnodeUnmounted)||ne)&&Le(()=>{de&&ht(de,h,f),ne&&zt(f,null,h,"unmounted")},_)},Ks=f=>{const{type:h,el:_,anchor:O,transition:w}=f;if(h===te){m.NODE_ENV!=="production"&&f.patchFlag>0&&f.patchFlag&2048&&w&&!w.persisted?f.children.forEach(V=>{V.type===ke?s(V.el):Ks(V)}):bh(_,O);return}if(h===Lo){I(f);return}const E=()=>{s(_),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:V,delayLeave:T}=w,C=()=>V(_,E);T?T(f.el,E,C):C()}else E()},bh=(f,h)=>{let _;for(;f!==h;)_=p(f),s(f),f=_;s(h)},_h=(f,h,_)=>{m.NODE_ENV!=="production"&&f.type.__hmrId&&Va(f);const{bum:O,scope:w,job:E,subTree:V,um:T,m:C,a:k}=f;Di(C),Di(k),O&&no(O),w.stop(),E&&(E.flags|=8,jt(V,f,h,_)),T&&Le(T,h),Le(()=>{f.isUnmounted=!0},h),m.NODE_ENV!=="production"&&Fa(f)},Go=(f,h,_,O=!1,w=!1,E=0)=>{for(let V=E;V<f.length;V++)jt(f[V],h,_,O,w)},Fn=f=>{if(f.shapeFlag&6)return Fn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),_=h&&h[Ar];return _?p(_):h};let zs=!1;const Sl=(f,h,_)=>{f==null?h._vnode&&jt(h._vnode,null,null,!0):v(h._vnode||null,f,h,null,null,null,_),h._vnode=f,zs||(zs=!0,Er(),kr(),zs=!1)},Yo={p:v,um:jt,m:go,r:Ks,mt:De,mc:x,pc:gt,pbc:P,n:Fn,o:e};return{render:Sl,hydrate:void 0,createApp:gc(Sl)}}function $s({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Jt({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Uc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Po(e,t,o=!1){const n=e.children,s=t.children;if(j(n)&&j(s))for(let r=0;r<n.length;r++){const i=n[r];let l=s[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[r]=It(s[r]),l.el=i.el),!o&&l.patchFlag!==-2&&Po(i,l)),l.type===jo&&l.patchFlag!==-1&&(l.el=i.el),l.type===ke&&!l.el&&(l.el=i.el),m.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function Bc(e){const t=e.slice(),o=[0];let n,s,r,i,l;const a=e.length;for(n=0;n<a;n++){const u=e[n];if(u!==0){if(s=o[o.length-1],e[s]<u){t[n]=s,o.push(n);continue}for(r=0,i=o.length-1;r<i;)l=r+i>>1,e[o[l]]<u?r=l+1:i=l;u<e[o[r]]&&(r>0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,i=o[r-1];r-- >0;)o[r]=i,i=t[i];return o}function Ti(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ti(t)}function Di(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Vi=e=>e.__isSuspense;function Kc(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):wr(e)}const te=Symbol.for("v-fgt"),jo=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),Lo=Symbol.for("v-stc"),Fo=[];let Ke=null;function y(e=!1){Fo.push(Ke=e?null:[])}function zc(){Fo.pop(),Ke=Fo[Fo.length-1]||null}let Ro=1;function Cn(e,t=!1){Ro+=e,e<0&&Ke&&t&&(Ke.hasOnce=!0)}function Ai(e){return e.dynamicChildren=Ro>0?Ke||to:null,zc(),Ro>0&&Ke&&Ke.push(e),e}function D(e,t,o,n,s,r){return Ai(g(e,t,o,n,s,r,!0))}function be(e,t,o,n,s){return Ai(Y(e,t,o,n,s,!0))}function Gt(e){return e?e.__v_isVNode===!0:!1}function Yt(e,t){if(m.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const o=bn.get(t.type);if(o&&o.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const Wc=(...e)=>Mi(...e),Ii=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||Ne(e)||z(e)?{i:$e,r:e,k:t,f:!!o}:e:null);function g(e,t=null,o=null,n=0,s=null,r=e===te?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ii(t),ref:t&&Tn(t),scopeId:Dr,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:$e};return l?(Os(a,o),r&128&&e.normalize(a)):o&&(a.shapeFlag|=me(o)?8:16),m.NODE_ENV!=="production"&&a.key!==a.key&&$("VNode created with invalid key (NaN). VNode type:",a.type),Ro>0&&!i&&Ke&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ke.push(a),a}const Y=m.NODE_ENV!=="production"?Wc:Mi;function Mi(e,t=null,o=null,n=0,s=null,r=!1){if((!e||e===Zr)&&(m.NODE_ENV!=="production"&&!e&&$(`Invalid vnode type when creating vnode: ${e}.`),e=ke),Gt(e)){const l=pt(e,t,!0);return o&&Os(l,o),Ro>0&&!r&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag=-2,l}if(Ui(e)&&(e=e.__vccOpts),t){t=qc(t);let{class:l,style:a}=t;l&&!me(l)&&(t.class=ye(l)),se(a)&&(dn(a)&&!j(a)&&(a=ge({},a)),t.style=yt(a))}const i=me(e)?1:Vi(e)?128:Ir(e)?64:se(e)?4:z(e)?2:0;return m.NODE_ENV!=="production"&&i&4&&dn(e)&&(e=X(e),$("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
8
- Component that was made reactive: `,e)),g(e,t,o,n,s,i,r,!0)}function qc(e){return e?dn(e)||xi(e)?ge({},e):e:null}function pt(e,t,o=!1,n=!1){const{props:s,ref:r,patchFlag:i,children:l,transition:a}=e,u=t?Gc(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ii(u),ref:t&&t.ref?o&&r?j(r)?r.concat(Tn(t)):[r,Tn(t)]:Tn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:m.NODE_ENV!=="production"&&i===-1&&j(l)?l.map(Pi):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pt(e.ssContent),ssFallback:e.ssFallback&&pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&To(c,a.clone(c)),c}function Pi(e){const t=pt(e);return j(e.children)&&(t.children=e.children.map(Pi)),t}function ot(e=" ",t=0){return Y(jo,null,e,t)}function Jc(e,t){const o=Y(Lo,null,e);return o.staticCount=t,o}function ie(e="",t=!1){return t?(y(),be(ke,null,e)):Y(ke,null,e)}function nt(e){return e==null||typeof e=="boolean"?Y(ke):j(e)?Y(te,null,e.slice()):Gt(e)?It(e):Y(jo,null,String(e))}function It(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pt(e)}function Os(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(j(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Os(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!xi(t)?t._ctx=$e:s===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:$e},o=32):(t=String(t),n&64?(o=16,t=[ot(t)]):o=8);e.children=t,e.shapeFlag|=o}function Gc(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=ye([t.class,n.class]));else if(s==="style")t.style=yt([t.style,n.style]);else if(mo(s)){const r=t[s],i=n[s];i&&r!==i&&!(j(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=n[s])}return t}function ht(e,t,o,n=null){et(e,t,7,[o,n])}const Yc=di();let Xc=0;function Zc(e,t,o){const n=e.type,s=(t?t.appContext:e.appContext)||Yc,r={uid:Xc++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ei(n,s),emitsOptions:hi(n,s),emit:null,emitted:null,propsDefaults:le,inheritAttrs:n.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return m.NODE_ENV!=="production"?r.ctx=rc(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=yc.bind(null,r),e.ce&&e.ce(r),r}let Oe=null;const Ss=()=>Oe||$e;let Dn,Cs;{const e=vo(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};Dn=t("__VUE_INSTANCE_SETTERS__",o=>Oe=o),Cs=t("__VUE_SSR_SETTERS__",o=>Uo=o)}const Ho=e=>{const t=Oe;return Dn(e),e.scope.on(),()=>{e.scope.off(),Dn(t)}},ji=()=>{Oe&&Oe.scope.off(),Dn(null)},Qc=vt("slot,component");function Ts(e,{isNativeTag:t}){(Qc(e)||t(e))&&$("Do not use built-in or reserved HTML elements as component id: "+e)}function Li(e){return e.vnode.shapeFlag&4}let Uo=!1;function ed(e,t=!1,o=!1){t&&Cs(t);const{props:n,children:s}=e.vnode,r=Li(e);$c(e,n,r,t),jc(e,s,o||t);const i=r?td(e,t):void 0;return t&&Cs(!1),i}function td(e,t){const o=e.type;if(m.NODE_ENV!=="production"){if(o.name&&Ts(o.name,e.appContext.config),o.components){const s=Object.keys(o.components);for(let r=0;r<s.length;r++)Ts(s[r],e.appContext.config)}if(o.directives){const s=Object.keys(o.directives);for(let r=0;r<s.length;r++)Vr(s[r])}o.compilerOptions&&od()&&$('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ni),m.NODE_ENV!=="production"&&ic(e);const{setup:n}=o;if(n){Ye();const s=e.setupContext=n.length>1?sd(e):null,r=Ho(e),i=io(n,e,0,[m.NODE_ENV!=="production"?lt(e.props):e.props,s]),l=Hn(i);if(Xe(),r(),(l||e.sp)&&!co(e)&&Wr(e),l){if(i.then(ji,ji),t)return i.then(a=>{Fi(e,a,t)}).catch(a=>{$o(a,e,0)});if(e.asyncDep=i,m.NODE_ENV!=="production"&&!e.suspense){const a=Bo(e,o);$(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Fi(e,i,t)}else Ri(e,t)}function Fi(e,t,o){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)?(m.NODE_ENV!=="production"&&Gt(t)&&$("setup() should not return VNodes directly - return a render function instead."),m.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=_r(t),m.NODE_ENV!=="production"&&lc(e)):m.NODE_ENV!=="production"&&t!==void 0&&$(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ri(e,o)}const od=()=>!0;function Ri(e,t,o){const n=e.type;e.render||(e.render=n.render||Se);{const s=Ho(e);Ye();try{cc(e)}finally{Xe(),s()}}m.NODE_ENV!=="production"&&!n.render&&e.render===Se&&!t&&(n.template?$('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):$("Component is missing template or render function: ",n))}const Hi=m.NODE_ENV!=="production"?{get(e,t){return On(),Ce(e,"get",""),e[t]},set(){return $("setupContext.attrs is readonly."),!1},deleteProperty(){return $("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ce(e,"get",""),e[t]}};function nd(e){return new Proxy(e.slots,{get(t,o){return Ce(e,"get","$slots"),t[o]}})}function sd(e){const t=o=>{if(m.NODE_ENV!=="production"&&(e.exposed&&$("expose() should be called only once per setup()."),o!=null)){let n=typeof o;n==="object"&&(j(o)?n="array":Ne(o)&&(n="ref")),n!=="object"&&$(`expose() should be passed a plain object, received ${n}.`)}e.exposed=o||{}};if(m.NODE_ENV!=="production"){let o,n;return Object.freeze({get attrs(){return o||(o=new Proxy(e.attrs,Hi))},get slots(){return n||(n=nd(e))},get emit(){return(s,...r)=>e.emit(s,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,Hi),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_r(ga(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in qt)return qt[o](e)},has(t,o){return o in t||o in qt}})):e.proxy}const rd=/(?:^|[-_])\w/g,id=e=>e.replace(rd,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ds(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Bo(e,t,o=!1){let n=Ds(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=r=>{for(const i in r)if(r[i]===t)return i};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?id(n):o?"App":"Anonymous"}function Ui(e){return z(e)&&"__vccOpts"in e}const oe=(e,t)=>{const o=ya(e,t,Uo);if(m.NODE_ENV!=="production"){const n=Ss();n&&n.appContext.config.warnRecursiveComputed&&(o._warnRecursive=!0)}return o};function ld(e,t,o){try{Cn(-1);const n=arguments.length;return n===2?se(t)&&!j(t)?Gt(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Gt(o)&&(o=[o]),Y(e,t,o))}finally{Cn(1)}}function ad(){if(m.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},o={style:"color:#f5222d"},n={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(d){if(!se(d))return null;if(d.__isVue)return["div",e,"VueInstance"];if(Ne(d)){Ye();const p=d.value;return Xe(),["div",{},["span",e,c(d)],"<",l(p),">"]}else{if(Dt(d))return["div",{},["span",e,Ie(d)?"ShallowReactive":"Reactive"],"<",l(d),`>${Ze(d)?" (readonly)":""}`];if(Ze(d))return["div",{},["span",e,Ie(d)?"ShallowReadonly":"Readonly"],"<",l(d),">"]}return null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const p=[];d.type.props&&d.props&&p.push(i("props",X(d.props))),d.setupState!==le&&p.push(i("setup",d.setupState)),d.data!==le&&p.push(i("data",X(d.data)));const b=a(d,"computed");b&&p.push(i("computed",b));const N=a(d,"inject");return N&&p.push(i("injected",N)),p.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),p}function i(d,p){return p=ge({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(b=>["div",{},["span",n,b+": "],l(p[b],!1)])]]:["span",{}]}function l(d,p=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",o,JSON.stringify(d)]:typeof d=="boolean"?["span",n,d]:se(d)?["object",{object:p?X(d):d}]:["span",o,String(d)]}function a(d,p){const b=d.type;if(z(b))return;const N={};for(const v in d.ctx)u(b,v,p)&&(N[v]=d.ctx[v]);return N}function u(d,p,b){const N=d[b];if(j(N)&&N.includes(p)||se(N)&&p in N||d.extends&&u(d.extends,p,b)||d.mixins&&d.mixins.some(v=>u(v,p,b)))return!0}function c(d){return Ie(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const Bi="3.5.25",ze=m.NODE_ENV!=="production"?$:Se;var Ae={};let Vs;const Ki=typeof window<"u"&&window.trustedTypes;if(Ki)try{Vs=Ki.createPolicy("vue",{createHTML:e=>e})}catch(e){Ae.NODE_ENV!=="production"&&ze(`Error creating trusted types policy: ${e}`)}const zi=Vs?e=>Vs.createHTML(e):e=>e,cd="http://www.w3.org/2000/svg",dd="http://www.w3.org/1998/Math/MathML",$t=typeof document<"u"?document:null,Wi=$t&&$t.createElement("template"),ud={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?$t.createElementNS(cd,e):t==="mathml"?$t.createElementNS(dd,e):o?$t.createElement(e,{is:o}):$t.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>$t.createTextNode(e),createComment:e=>$t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,r){const i=o?o.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===r||!(s=s.nextSibling)););else{Wi.innerHTML=zi(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Wi.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,o)}return[i?i.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Mt="transition",Ko="animation",zo=Symbol("_vtc"),qi={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},fd=ge({},Rr,qi),As=(e=>(e.displayName="Transition",e.props=fd,e))((e,{slots:t})=>ld(qa,pd(e),t)),Xt=(e,t=[])=>{j(e)?e.forEach(o=>o(...t)):e&&e(...t)},Ji=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function pd(e){const t={};for(const S in e)S in qi||(t[S]=e[S]);if(e.css===!1)return t;const{name:o="v",type:n,duration:s,enterFromClass:r=`${o}-enter-from`,enterActiveClass:i=`${o}-enter-active`,enterToClass:l=`${o}-enter-to`,appearFromClass:a=r,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${o}-leave-from`,leaveActiveClass:p=`${o}-leave-active`,leaveToClass:b=`${o}-leave-to`}=e,N=hd(s),v=N&&N[0],F=N&&N[1],{onBeforeEnter:R,onEnter:H,onEnterCancelled:B,onLeave:pe,onLeaveCancelled:I,onBeforeAppear:L=R,onAppear:q=H,onAppearCancelled:U=B}=t,x=(S,ce,ve,De)=>{S._enterCancelled=De,Zt(S,ce?c:l),Zt(S,ce?u:i),ve&&ve()},M=(S,ce)=>{S._isLeaving=!1,Zt(S,d),Zt(S,b),Zt(S,p),ce&&ce()},P=S=>(ce,ve)=>{const De=S?q:H,Ee=()=>x(ce,S,ve);Xt(De,[ce,Ee]),Gi(()=>{Zt(ce,S?a:r),Ot(ce,S?c:l),Ji(De)||Yi(ce,n,v,Ee)})};return ge(t,{onBeforeEnter(S){Xt(R,[S]),Ot(S,r),Ot(S,i)},onBeforeAppear(S){Xt(L,[S]),Ot(S,a),Ot(S,u)},onEnter:P(!1),onAppear:P(!0),onLeave(S,ce){S._isLeaving=!0;const ve=()=>M(S,ce);Ot(S,d),S._enterCancelled?(Ot(S,p),Qi(S)):(Qi(S),Ot(S,p)),Gi(()=>{S._isLeaving&&(Zt(S,d),Ot(S,b),Ji(pe)||Yi(S,n,F,ve))}),Xt(pe,[S,ve])},onEnterCancelled(S){x(S,!1,void 0,!0),Xt(B,[S])},onAppearCancelled(S){x(S,!0,void 0,!0),Xt(U,[S])},onLeaveCancelled(S){M(S),Xt(I,[S])}})}function hd(e){if(e==null)return null;if(se(e))return[Is(e.enter),Is(e.leave)];{const t=Is(e);return[t,t]}}function Is(e){const t=Kn(e);return Ae.NODE_ENV!=="production"&&Oa(t,"<transition> explicit duration"),t}function Ot(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[zo]||(e[zo]=new Set)).add(t)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const o=e[zo];o&&(o.delete(t),o.size||(e[zo]=void 0))}function Gi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let gd=0;function Yi(e,t,o,n){const s=e._endId=++gd,r=()=>{s===e._endId&&n()};if(o!=null)return setTimeout(r,o);const{type:i,timeout:l,propCount:a}=md(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,p),r()},p=b=>{b.target===e&&++c>=a&&d()};setTimeout(()=>{c<a&&d()},l+1),e.addEventListener(u,p)}function md(e,t){const o=window.getComputedStyle(e),n=N=>(o[N]||"").split(", "),s=n(`${Mt}Delay`),r=n(`${Mt}Duration`),i=Xi(s,r),l=n(`${Ko}Delay`),a=n(`${Ko}Duration`),u=Xi(l,a);let c=null,d=0,p=0;t===Mt?i>0&&(c=Mt,d=i,p=r.length):t===Ko?u>0&&(c=Ko,d=u,p=a.length):(d=Math.max(i,u),c=d>0?i>u?Mt:Ko:null,p=c?c===Mt?r.length:a.length:0);const b=c===Mt&&/\b(?:transform|all)(?:,|$)/.test(n(`${Mt}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:b}}function Xi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,n)=>Zi(o)+Zi(e[n])))}function Zi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Qi(e){return(e?e.ownerDocument:document).body.offsetHeight}function bd(e,t,o){const n=e[zo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const An=Symbol("_vod"),el=Symbol("_vsh"),_d={name:"show",beforeMount(e,{value:t},{transition:o}){e[An]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Wo(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Wo(e,!0),n.enter(e)):n.leave(e,()=>{Wo(e,!1)}):Wo(e,t))},beforeUnmount(e,{value:t}){Wo(e,t)}};function Wo(e,t){e.style.display=t?e[An]:"none",e[el]=!t}const vd=Symbol(Ae.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),yd=/(?:^|;)\s*display\s*:/;function xd(e,t,o){const n=e.style,s=me(o);let r=!1;if(o&&!s){if(t)if(me(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();o[l]==null&&In(n,l,"")}else for(const i in t)o[i]==null&&In(n,i,"");for(const i in o)i==="display"&&(r=!0),In(n,i,o[i])}else if(s){if(t!==o){const i=n[vd];i&&(o+=";"+i),n.cssText=o,r=yd.test(o)}}else t&&e.removeAttribute("style");An in e&&(e[An]=r?n.display:"",e[el]&&(n.display="none"))}const wd=/[^\\];\s*$/,tl=/\s*!important$/;function In(e,t,o){if(j(o))o.forEach(n=>In(e,t,n));else if(o==null&&(o=""),Ae.NODE_ENV!=="production"&&wd.test(o)&&ze(`Unexpected semicolon at the end of '${t}' style value: '${o}'`),t.startsWith("--"))e.setProperty(t,o);else{const n=Ed(e,t);tl.test(o)?e.setProperty(Re(n),o.replace(tl,""),"important"):e[n]=o}}const ol=["Webkit","Moz","ms"],Ms={};function Ed(e,t){const o=Ms[t];if(o)return o;let n=Ve(t);if(n!=="filter"&&n in e)return Ms[t]=n;n=Ft(n);for(let s=0;s<ol.length;s++){const r=ol[s]+n;if(r in e)return Ms[t]=r}return t}const nl="http://www.w3.org/1999/xlink";function sl(e,t,o,n,s,r=Wl(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(nl,t.slice(6,t.length)):e.setAttributeNS(nl,t,o):o==null||r&&!Ys(o)?e.removeAttribute(t):e.setAttribute(t,r?"":qe(o)?String(o):o)}function rl(e,t,o,n,s){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?zi(o):o);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=o==null?e.type==="checkbox"?"on":"":String(o);(l!==a||!("_value"in e))&&(e.value=a),o==null&&e.removeAttribute(t),e._value=o;return}let i=!1;if(o===""||o==null){const l=typeof e[t];l==="boolean"?o=Ys(o):o==null&&l==="string"?(o="",i=!0):l==="number"&&(o=0,i=!0)}try{e[t]=o}catch(l){Ae.NODE_ENV!=="production"&&!i&&ze(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${o} is invalid.`,l)}i&&e.removeAttribute(s||t)}function Pt(e,t,o,n){e.addEventListener(t,o,n)}function kd(e,t,o,n){e.removeEventListener(t,o,n)}const il=Symbol("_vei");function Nd(e,t,o,n,s=null){const r=e[il]||(e[il]={}),i=r[t];if(n&&i)i.value=Ae.NODE_ENV!=="production"?al(n,t):n;else{const[l,a]=$d(t);if(n){const u=r[t]=Cd(Ae.NODE_ENV!=="production"?al(n,t):n,s);Pt(e,l,u,a)}else i&&(kd(e,l,i,a),r[t]=void 0)}}const ll=/(?:Once|Passive|Capture)$/;function $d(e){let t;if(ll.test(e)){t={};let n;for(;n=e.match(ll);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Re(e.slice(2)),t]}let Ps=0;const Od=Promise.resolve(),Sd=()=>Ps||(Od.then(()=>Ps=0),Ps=Date.now());function Cd(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;et(Td(n,o.value),t,5,[n])};return o.value=e,o.attached=Sd(),o}function al(e,t){return z(e)||j(e)?e:(ze(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
9
- Expected function or array of functions, received type ${typeof e}.`),Se)}function Td(e,t){if(j(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const cl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dd=(e,t,o,n,s,r)=>{const i=s==="svg";t==="class"?bd(e,n,i):t==="style"?xd(e,o,n):mo(t)?Zo(t)||Nd(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vd(e,t,n,i))?(rl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&sl(e,t,n,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!me(n))?rl(e,Ve(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),sl(e,t,n,i))};function Vd(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&cl(t)&&z(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return cl(t)&&me(o)?!1:t in e}const dl={};function Ad(e,t,o){let n=xe(e,t);Qo(n)&&(n=ge({},n,t));class s extends js{constructor(i){super(n,i,o)}}return s.def=n,s}const Id=typeof HTMLElement<"u"?HTMLElement:class{};class js extends Id{constructor(t,o={},n=vl){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==vl?this._root=this.shadowRoot:(Ae.NODE_ENV!=="production"&&this.shadowRoot&&ze("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(ge({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof js){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,ct(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:i}=n;let l;if(r&&!j(r))for(const a in r){const u=r[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=Kn(this._props[a])),(l||(l=Object.create(null)))[Ve(a)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot?this._applyStyles(i):Ae.NODE_ENV!=="production"&&i&&ze("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){Ae.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)ee(this,n)?Ae.NODE_ENV!=="production"&&ze(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>fe(o[n])})}_resolveProps(t){const{props:o}=t,n=j(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(Ve))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):dl;const s=Ve(t);o&&this._numberProps&&this._numberProps[s]&&(n=Kn(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===dl?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(Re(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Re(t),o+""):o||this.removeAttribute(Re(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Ud(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Y(this._def,ge(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,Ae.NODE_ENV!=="production"&&(n.ceReload=r=>{this._styles&&(this._styles.forEach(i=>this._root.removeChild(i)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const s=(r,i)=>{this.dispatchEvent(new CustomEvent(r,Qo(i[0])?ge({detail:i},i[0]):{detail:i}))};n.emit=(r,...i)=>{s(r,i),Re(r)!==r&&s(Re(r),i)},this._setParent()}),o}_applyStyles(t,o){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");if(n&&r.setAttribute("nonce",n),r.textContent=t[s],this.shadowRoot.prepend(r),Ae.NODE_ENV!=="production")if(o){if(o.__hmrId){this._childStyles||(this._childStyles=new Map);let i=this._childStyles.get(o.__hmrId);i||this._childStyles.set(o.__hmrId,i=[]),i.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=this._getSlots(),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",i=this._slots[r],l=s.parentNode;if(i)for(const a of i){if(o&&a.nodeType===1){const u=o+"-s",c=document.createTreeWalker(a,1);a.setAttribute(u,"");let d;for(;d=c.nextNode();)d.setAttribute(u,"")}l.insertBefore(a,s)}else for(;s.firstChild;)l.insertBefore(s.firstChild,s);l.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const o=new Set;for(const n of t){const s=n.querySelectorAll("slot");for(let r=0;r<s.length;r++)o.add(s[r])}return Array.from(o)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(Ae.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const o=this._childStyles.get(t.__hmrId);o&&(o.forEach(n=>this._root.removeChild(n)),o.length=0)}}}const ho=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?o=>no(t,o):t};function Md(e){e.target.composing=!0}function ul(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const St=Symbol("_assign");function fl(e,t,o){return t&&(e=e.trim()),o&&(e=on(e)),e}const Mn={created(e,{modifiers:{lazy:t,trim:o,number:n}},s){e[St]=ho(s);const r=n||s.props&&s.props.type==="number";Pt(e,t?"change":"input",i=>{i.target.composing||e[St](fl(e.value,o,r))}),(o||r)&&Pt(e,"change",()=>{e.value=fl(e.value,o,r)}),t||(Pt(e,"compositionstart",Md),Pt(e,"compositionend",ul),Pt(e,"change",ul))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:s,number:r}},i){if(e[St]=ho(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?on(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(n&&t===o||s&&e.value.trim()===a)||(e.value=a))}},Pd={deep:!0,created(e,t,o){e[St]=ho(o),Pt(e,"change",()=>{const n=e._modelValue,s=qo(e),r=e.checked,i=e[St];if(j(n)){const l=zn(n,s),a=l!==-1;if(r&&!a)i(n.concat(s));else if(!r&&a){const u=[...n];u.splice(l,1),i(u)}}else if(oo(n)){const l=new Set(n);r?l.add(s):l.delete(s),i(l)}else i(gl(e,r))})},mounted:pl,beforeUpdate(e,t,o){e[St]=ho(o),pl(e,t,o)}};function pl(e,{value:t,oldValue:o},n){e._modelValue=t;let s;if(j(t))s=zn(t,n.props.value)>-1;else if(oo(t))s=t.has(n.props.value);else{if(t===o)return;s=yo(t,gl(e,!0))}e.checked!==s&&(e.checked=s)}const Pn={deep:!0,created(e,{value:t,modifiers:{number:o}},n){const s=oo(t);Pt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>o?on(qo(i)):qo(i));e[St](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,ct(()=>{e._assigning=!1})}),e[St]=ho(n)},mounted(e,{value:t}){hl(e,t)},beforeUpdate(e,t,o){e[St]=ho(o)},updated(e,{value:t}){e._assigning||hl(e,t)}};function hl(e,t){const o=e.multiple,n=j(t);if(o&&!n&&!oo(t)){Ae.NODE_ENV!=="production"&&ze(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let s=0,r=e.options.length;s<r;s++){const i=e.options[s],l=qo(i);if(o)if(n){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=zn(t,l)>-1}else i.selected=t.has(l);else if(yo(qo(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!o&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function qo(e){return"_value"in e?e._value:e.value}function gl(e,t){const o=t?"_trueValue":"_falseValue";return o in e?e[o]:t}const jd=["ctrl","shift","alt","meta"],Ld={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)=>jd.some(o=>e[`${o}Key`]&&!t.includes(o))},ml=(e,t)=>{const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=((s,...r)=>{for(let i=0;i<t.length;i++){const l=Ld[t[i]];if(l&&l(s,t))return}return e(s,...r)}))},Fd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rd=(e,t)=>{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=(s=>{if(!("key"in s))return;const r=Re(s.key);if(t.some(i=>i===r||Fd[i]===r))return e(s)}))},Hd=ge({patchProp:Dd},ud);let bl;function _l(){return bl||(bl=Rc(Hd))}const Ud=((...e)=>{_l().render(...e)}),vl=((...e)=>{const t=_l().createApp(...e);Ae.NODE_ENV!=="production"&&(Kd(t),zd(t));const{mount:o}=t;return t.mount=n=>{const s=Wd(n);if(!s)return;const r=t._component;!z(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=o(s,!1,Bd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t});function Bd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Kd(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Bl(t)||Kl(t)||zl(t),writable:!1})}function zd(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){ze("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const o=e.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return ze(n),o},set(){ze(n)}})}}function Wd(e){if(me(e)){const t=document.querySelector(e);return Ae.NODE_ENV!=="production"&&!t&&ze(`Failed to mount app: mount target selector "${e}" returned null.`),t}return Ae.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&ze('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}var qd={};function Jd(){ad()}qd.NODE_ENV!=="production"&&Jd();const Gd=".icon[data-v-6fc289e2]{width:1em;height:1em;display:inline-block;vertical-align:middle}",_e=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},Yd={},Xd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"icon"};function Zd(e,t){return y(),D("svg",Xd,[...t[0]||(t[0]=[g("circle",{cx:"12",cy:"12",r:"10"},null,-1),g("line",{x1:"2",y1:"12",x2:"22",y2:"12"},null,-1),g("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"},null,-1)])])}const Ls=_e(Yd,[["render",Zd],["styles",[Gd]],["__scopeId","data-v-6fc289e2"]]),Qd=".icon[data-v-4c3ea1ca]{width:1em;height:1em;display:inline-block;vertical-align:middle}",eu={},tu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"icon"};function ou(e,t){return y(),D("svg",tu,[...t[0]||(t[0]=[g("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},null,-1),g("line",{x1:"9",y1:"3",x2:"9",y2:"21"},null,-1),g("line",{x1:"3",y1:"9",x2:"21",y2:"9"},null,-1)])])}const yl=_e(eu,[["render",ou],["styles",[Qd]],["__scopeId","data-v-4c3ea1ca"]]),nu=".icon[data-v-65e4a862]{width:1em;height:1em;display:inline-block;vertical-align:middle}",su={},ru={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"icon"};function iu(e,t){return y(),D("svg",ru,[...t[0]||(t[0]=[g("circle",{cx:"12",cy:"12",r:"3"},null,-1),g("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"},null,-1)])])}const xl=_e(su,[["render",iu],["styles",[nu]],["__scopeId","data-v-65e4a862"]]),lu={class:"loader-container"},au={class:"loader"},cu={class:"loader-text"},Fs=_e(xe({__name:"Loader",props:{message:{default:"Loading...",type:String},size:{default:"md",type:String}},setup(e){return(t,o)=>(y(),D("div",lu,[g("div",au,[o[0]||(o[0]=g("div",{class:"loader-circle"},null,-1)),g("div",cu,G(e.message),1)])]))}}),[["styles",[".loader-container[data-v-7b6a86d7]{display:flex;justify-content:center;align-items:center;min-height:100px;padding:20px}.loader[data-v-7b6a86d7]{text-align:center}.loader-circle[data-v-7b6a86d7]{display:inline-block;width:40px;height:40px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #3498db;animation:spin-7b6a86d7 1s linear infinite;margin-bottom:8px;transform-origin:center}.loader-text[data-v-7b6a86d7]{color:#666;font-size:14px}@keyframes spin-7b6a86d7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]],["__scopeId","data-v-7b6a86d7"]]),du={class:"tabs"},uu=["onClick"],fu={key:0,class:"tab-icon"},pu=["innerHTML"],hu={class:"tab-label"},gu=_e(xe({__name:"Tabs",props:{modelValue:{type:String},tabs:{type:Array}},emits:["update:modelValue"],setup(e,{emit:t}){const o=e,n=t,s=re(o.modelValue);return Te(s,r=>{n("update:modelValue",r)}),(r,i)=>(y(),D("div",du,[(y(!0),D(te,null,Pe(e.tabs,l=>(y(),D("button",{key:l.value,class:ye(["tab",{active:s.value===l.value}]),onClick:a=>s.value=l.value},[l.icon?(y(),D("span",fu,[typeof l.icon!="string"?(y(),be(Qr(typeof l.icon=="string"?"span":l.icon),{key:0})):(y(),D("span",{key:1,innerHTML:l.icon},null,8,pu))])):ie("",!0),g("span",hu,G(l.label),1)],10,uu))),128))]))}}),[["styles",['@reference "tailwindcss";.tabs[data-v-ce7b728f]{@apply flex border-b border-slate-200 bg-white sticky top-0 z-10;}.tab[data-v-ce7b728f]{@apply flex items-center gap-2 px-4 py-2 text-sm font-medium text-slate-600 border-b-2 border-transparent transition-all duration-200 hover:text-slate-800 hover:bg-slate-50;}.tab.active[data-v-ce7b728f]{@apply text-blue-600 border-blue-500 bg-blue-50;}.tab-icon[data-v-ce7b728f]{@apply text-base flex items-center;width:16px;height:16px}.tab-icon[data-v-ce7b728f] svg{width:100%;height:100%}.tab-label[data-v-ce7b728f]{@apply whitespace-nowrap;}']],["__scopeId","data-v-ce7b728f"]]),wl=Symbol("i18n-state");function mu(){const e=re(!0),t=re(""),o=re({}),n=re({}),s=re({}),r=re(null),i=b=>{r.value=b},l=b=>{const N=b.replace(/^\/+/,"").replace(/\\/g,"/");t.value=b;let v=o.value[N];v||(v=o.value[b]),!v&&b.startsWith("/")&&(v=o.value[b.slice(1)]),v?s.value={...v}:(console.warn("[i18n-state] No content found for file:",b,"or normalized:",N),s.value={})},a=async()=>{const b=new Blob([JSON.stringify(s.value,null,2)],{type:"application/json"}),N=URL.createObjectURL(b),v=document.createElement("a");v.href=N,v.download="translations.json",v.click(),URL.revokeObjectURL(N)},u=b=>{const N=b.target;if(N.files&&N.files.length>0){const v=N.files[0];if(v){const F=new FileReader;F.onload=R=>{try{s.value=JSON.parse(R.target?.result)}catch{console.error("Invalid JSON file")}},F.readAsText(v)}}},c=()=>{const b=n.value.defaultLocale;if(!b)return{};const F=(t.value.replace(/^\/+/,"").replace(/\\/g,"/").split("/").pop()??"").replace(/^[^.]*\./,`${b}.`);let R=o.value[F];if(R||(R=o.value[`/${F}`]),!R){const H=Object.keys(o.value).find(B=>B.includes(`${b}.json`)||B.endsWith(`/${b}.json`));H&&(R=o.value[H])}return R??{}},d=async()=>{if(!r.value){console.warn("[i18n-devtools] Bridge not ready for init"),e.value=!1;return}try{e.value=!0;const[b,N]=await Promise.all([r.value.getLocalesAndTranslations(),r.value.getConfigs()]);o.value=b,n.value=N,r.value.onLocalesUpdate(v=>{o.value=v,t.value&&o.value[t.value]&&(s.value={...o.value[t.value]})})}catch(b){console.error("[i18n-devtools] Failed to initialize:",b),e.value=!1}finally{e.value=!1,console.log("[i18n-devtools] Initialization complete")}},p=async()=>{if(!(!r.value||!t.value||!s.value))try{await r.value.saveTranslation(t.value,s.value),o.value[t.value]={...s.value}}catch(b){throw console.error("Failed to save translation:",b),b}};return{isLoading:e,selectedFile:t,locales:o,configs:n,selectedFileContent:s,bridge:an(r),setBridge:i,init:d,handleFileSelected:l,exportTranslations:a,importTranslations:u,getDefaultLocaleTranslation:c,saveCurrent:p}}function jn(){const e=Io(wl);if(!e)throw new Error("I18n state not provided. Make sure to use createI18nState() and provide it in the root component.");return e}const bu={class:"config-card"},_u={class:"config-card__header"},vu={class:"config-card__icon"},yu={key:0},xu={class:"config-card__title"},wu={class:"config-card__content"},Rs=_e(xe({__name:"ConfigCard",props:{title:{type:String},icon:{type:String}},setup(e){return(t,o)=>(y(),D("div",bu,[g("div",_u,[g("span",vu,[ft(t.$slots,"icon",{},()=>[e.icon?(y(),D("span",yu,G(e.icon),1)):ie("",!0)])]),g("h3",xu,G(e.title),1)]),g("div",wu,[ft(t.$slots,"default",{},void 0)])]))}}),[["styles",['@reference "tailwindcss";.config-card[data-v-3db26d7b]{@apply rounded-lg shadow-xs border border-slate-200 overflow-hidden bg-white;}.config-card__header[data-v-3db26d7b]{@apply flex items-center p-4 pb-3 border-b border-slate-100 bg-slate-50;}.config-card__icon[data-v-3db26d7b]{@apply text-lg mr-2 flex items-center;}.config-card__title[data-v-3db26d7b]{@apply text-lg font-semibold text-slate-800;}.config-card__content[data-v-3db26d7b]{@apply p-4;}']],["__scopeId","data-v-3db26d7b"]]),Eu={class:"status-indicator"},Hs=_e(xe({__name:"StatusIndicator",props:{status:{type:String},label:{type:String},size:{default:"md",type:String}},setup(e){const t=e,o=oe(()=>{const s="status-indicator__dot",r=`status-indicator__dot--${t.size}`;switch(t.status){case"active":case"enabled":case"success":return`${s} ${r} status-indicator__dot--success`;case"inactive":case"disabled":return`${s} ${r} status-indicator__dot--disabled`;case"warning":return`${s} ${r} status-indicator__dot--warning`;case"error":return`${s} ${r} status-indicator__dot--error`;case"info":return`${s} ${r} status-indicator__dot--info`;default:return`${s} ${r} status-indicator__dot--default`}}),n=oe(()=>{switch(t.status){case"active":case"enabled":case"success":return"text-green-700";case"inactive":case"disabled":return"text-red-700";case"warning":return"text-yellow-700";case"error":return"text-red-700";case"info":return"text-blue-700";default:return"text-slate-700"}});return(s,r)=>(y(),D("div",Eu,[g("div",{class:ye(["status-indicator__dot",o.value])},null,2),g("span",{class:ye(["status-indicator__text",n.value])},G(e.label),3)]))}}),[["styles",['@reference "tailwindcss";.status-indicator[data-v-ceddd4fb]{@apply flex items-center gap-2;}.status-indicator__dot[data-v-ceddd4fb]{@apply rounded-full transition-all duration-200;}.status-indicator__dot--sm[data-v-ceddd4fb]{@apply w-2 h-2;}.status-indicator__dot--md[data-v-ceddd4fb]{@apply w-3 h-3;}.status-indicator__dot--lg[data-v-ceddd4fb]{@apply w-4 h-4;}.status-indicator__dot--success[data-v-ceddd4fb]{@apply bg-green-500;box-shadow:0 0 0 2px #22c55e33}.status-indicator__dot--disabled[data-v-ceddd4fb]{@apply bg-red-500;box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--warning[data-v-ceddd4fb]{@apply bg-yellow-500;box-shadow:0 0 0 2px #eab30833}.status-indicator__dot--error[data-v-ceddd4fb]{@apply bg-red-500;box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--info[data-v-ceddd4fb]{@apply bg-blue-500;box-shadow:0 0 0 2px #3b82f633}.status-indicator__dot--default[data-v-ceddd4fb]{@apply bg-slate-500;box-shadow:0 0 0 2px #64748b33}.status-indicator__text[data-v-ceddd4fb]{@apply text-sm font-medium;}']],["__scopeId","data-v-ceddd4fb"]]),ku={class:"locale-table-container"},Nu={class:"locale-table-wrapper"},$u={class:"locale-table"},Ou={class:"locale-table__header"},Su={class:"header-content"},Cu={class:"header-icon"},Tu={key:1},Du={class:"header-text"},Vu={class:"locale-table__body"},Au={class:"locale-table__cell"},Iu={class:"locale-code"},Mu={class:"locale-code__text"},Pu={class:"locale-table__cell"},ju={class:"locale-name"},Lu={class:"locale-table__cell"},Fu={class:"locale-iso"},Ru={class:"locale-table__cell"},Hu={class:"direction-indicator"},Uu={class:"locale-table__cell"},Bu={class:"base-url"},Ku={class:"locale-table__cell"},zu=_e(xe({__name:"LocaleTable",props:{locales:{type:Array}},setup(e){const t=[{key:"code",label:"Code",icon:"🏷️"},{key:"name",label:"Display Name",icon:"📝"},{key:"iso",label:"ISO Code",iconComponent:Ls},{key:"dir",label:"Direction",icon:"↔️"},{key:"baseUrl",label:"Base URL",icon:"🔗"},{key:"status",label:"Status",icon:"⚡"}];return(o,n)=>(y(),D("div",ku,[g("div",Nu,[g("table",$u,[g("thead",Ou,[g("tr",null,[(y(),D(te,null,Pe(t,s=>g("th",{key:s.key,class:"locale-table__header-cell"},[g("div",Su,[g("span",Cu,[s.iconComponent?(y(),be(Qr(s.iconComponent),{key:0})):(y(),D("span",Tu,G(s.icon),1))]),g("span",Du,G(s.label),1)])])),64))])]),g("tbody",Vu,[(y(!0),D(te,null,Pe(e.locales,s=>(y(),D("tr",{key:s.code,class:"locale-table__row"},[g("td",Au,[g("div",Iu,[g("span",Mu,G(s.code),1)])]),g("td",Pu,[g("span",ju,G(s.displayName||"—"),1)]),g("td",Lu,[g("span",Fu,G(s.iso||"—"),1)]),g("td",Ru,[g("div",Hu,[g("span",{class:ye(["direction-badge",`direction-badge--${s.dir||"ltr"}`])},G((s.dir||"ltr").toUpperCase()),3)])]),g("td",Uu,[g("span",Bu,G(s.baseUrl||"—"),1)]),g("td",Ku,[Y(Hs,{status:s.disabled?"disabled":"active",label:s.disabled?"Disabled":"Active",size:"sm"},null,8,["status","label"])])]))),128))])])])]))}}),[["styles",['@reference "tailwindcss";.locale-table-container[data-v-96ef3218]{@apply border rounded-xl overflow-hidden shadow-xs bg-white;}.locale-table-wrapper[data-v-96ef3218]{@apply overflow-x-auto;}.locale-table[data-v-96ef3218]{@apply w-full border-collapse;}.locale-table__header[data-v-96ef3218]{@apply bg-gradient-to-r from-slate-50 to-blue-50;}.locale-table__header-cell[data-v-96ef3218]{@apply px-4 py-4 text-left;}.header-content[data-v-96ef3218]{@apply flex items-center gap-2;}.header-icon[data-v-96ef3218]{@apply text-lg flex items-center;}.header-text[data-v-96ef3218]{@apply text-sm font-semibold text-slate-700;}.locale-table__row[data-v-96ef3218]{@apply border-t border-slate-100 transition-colors duration-200 hover:bg-slate-50;}.locale-table__cell[data-v-96ef3218]{@apply px-4 py-4 text-sm;}.locale-code[data-v-96ef3218]{@apply inline-flex items-center;}.locale-code__text[data-v-96ef3218]{@apply font-mono text-sm px-3 py-1 bg-blue-50 text-blue-700 rounded-lg border border-blue-200;}.locale-name[data-v-96ef3218]{@apply text-slate-700 font-medium;}.locale-iso[data-v-96ef3218]{@apply text-slate-600 font-mono text-xs px-2 py-1 bg-slate-100 rounded-sm;}.direction-indicator[data-v-96ef3218]{@apply flex items-center;}.direction-badge[data-v-96ef3218]{@apply px-2 py-1 rounded-full text-xs font-medium;}.direction-badge--ltr[data-v-96ef3218]{@apply bg-purple-100 text-purple-800;}.direction-badge--rtl[data-v-96ef3218]{@apply bg-orange-100 text-orange-800;}.base-url[data-v-96ef3218]{@apply text-slate-600 font-mono text-xs;}.locale-table__row[data-v-96ef3218]{animation:slideInLeft-96ef3218 .3s ease-out}@keyframes slideInLeft-96ef3218{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.locale-table__row[data-v-96ef3218]:nth-child(1){animation-delay:.1s}.locale-table__row[data-v-96ef3218]:nth-child(2){animation-delay:.2s}.locale-table__row[data-v-96ef3218]:nth-child(3){animation-delay:.3s}.locale-table__row[data-v-96ef3218]:nth-child(4){animation-delay:.4s}.locale-table__row[data-v-96ef3218]:nth-child(5){animation-delay:.5s}']],["__scopeId","data-v-96ef3218"]]),Wu={class:"config-view"},qu={key:1,class:"space-y-6"},Ju={class:"settings-grid"},Gu={class:"config-row"},Yu={class:"config-value"},Xu={class:"config-row"},Zu={class:"config-value capitalize"},Qu={class:"config-row"},ef={class:"config-value"},tf={class:"config-row"},of={class:"settings-grid"},nf={class:"config-row"},sf={class:"config-row"},rf={class:"config-value font-mono text-sm"},lf={class:"config-row"},af={class:"config-value font-mono text-sm text-blue-600"},cf={class:"config-row"},df={class:"config-value font-mono text-sm"},uf=_e(xe({__name:"ConfigView",setup(e){const{isLoading:t,configs:o}=jn();return(n,s)=>(y(),D("div",Wu,[fe(t)?(y(),be(Fs,{key:0})):(y(),D("div",qu,[Y(Rs,{title:"General Configuration"},{icon:we(()=>[Y(xl)]),default:we(()=>[g("div",Ju,[g("div",Gu,[s[0]||(s[0]=g("span",{class:"config-label"},"Default Locale",-1)),g("span",Yu,G(fe(o).defaultLocale||"—"),1)]),g("div",Xu,[s[1]||(s[1]=g("span",{class:"config-label"},"Routing Strategy",-1)),g("span",Zu,G(fe(o).strategy||"—"),1)]),g("div",Qu,[s[2]||(s[2]=g("span",{class:"config-label"},"Fallback Locale",-1)),g("span",ef,G(fe(o).fallbackLocale||"—"),1)]),g("div",tf,[s[3]||(s[3]=g("span",{class:"config-label"},"Debug Mode",-1)),Y(Hs,{status:fe(o).debug?"enabled":"disabled",label:fe(o).debug?"Active":"Inactive"},null,8,["status","label"])])])]),_:1}),Y(Rs,{title:"Configured Locales"},{icon:we(()=>[Y(Ls)]),default:we(()=>[Y(zu,{locales:fe(o).locales||[]},null,8,["locales"])]),_:1}),Y(Rs,{title:"Advanced Configuration"},{icon:we(()=>[Y(yl)]),default:we(()=>[g("div",of,[g("div",nf,[s[4]||(s[4]=g("span",{class:"config-label"},"Auto Language Detection",-1)),Y(Hs,{status:fe(o).autoDetectLanguage?"enabled":"disabled",label:fe(o).autoDetectLanguage?"Enabled":"Disabled"},null,8,["status","label"])]),g("div",sf,[s[5]||(s[5]=g("span",{class:"config-label"},"Translation Directory",-1)),g("span",rf,G(fe(o).translationDir||"—"),1)]),g("div",lf,[s[6]||(s[6]=g("span",{class:"config-label"},"API Base URL",-1)),g("span",af,G(fe(o).apiBaseUrl||"—"),1)]),g("div",cf,[s[7]||(s[7]=g("span",{class:"config-label"},"Locale Cookie",-1)),g("span",df,G(fe(o).localeCookie||"—"),1)])])]),_:1})]))]))}}),[["styles",['@reference "tailwindcss";.config-view[data-v-ce2afc6d]{@apply h-full overflow-auto p-4;}.settings-grid[data-v-ce2afc6d]{@apply grid gap-3;}.config-row[data-v-ce2afc6d]{@apply flex items-center justify-between py-2 px-3 rounded-lg bg-gray-50 hover:bg-gray-100 transition-colors;}.config-label[data-v-ce2afc6d]{@apply text-sm font-medium text-gray-600;}.config-value[data-v-ce2afc6d]{@apply text-sm text-gray-800;}']],["__scopeId","data-v-ce2afc6d"]]),ff=["innerHTML"],pf={key:1},hf={class:"chevron"},gf={class:"icon",viewBox:"0 0 24 24"},mf={key:0,d:"M19 9l-7 7-7-7",fill:"none",stroke:"currentColor","stroke-width":"2"},bf={key:1,d:"M9 5l7 7-7 7",fill:"none",stroke:"currentColor","stroke-width":"2"},_f={class:"folder-name"},vf={key:0,class:"folder-children"},yf=_e(xe({__name:"TreeItem",props:{node:{type:Object},depth:{type:Number},locale:{type:String},selectedFile:{type:String},defaultExpanded:{type:Boolean},selected:{type:Boolean}},emits:["fileSelected"],setup(e,{emit:t}){const o=e,n=t,s=re(o.defaultExpanded||!1),r=oe(()=>o.selectedFile===o.node.fullPath),i=oe(()=>({paddingLeft:`${o.depth*20+8}px`}));function l(){s.value=!s.value}function a(){n("fileSelected",o.node.fullPath,o.locale)}Te(()=>o.defaultExpanded,c=>{s.value=c===!0},{immediate:!0});function u(c,d){n("fileSelected",c,d)}return(c,d)=>{const p=sc("TreeItem",!0);return y(),D("div",null,[e.node.isFile?(y(),D("div",{key:0,class:ye(["file-item",{selected:r.value}]),style:yt(i.value),onClick:a},[d[0]||(d[0]=Jc('<span class="file-icon" data-v-42ac6ca2><svg class="icon" viewBox="0 0 24 24" data-v-42ac6ca2><g transform="translate(4 4) scale(0.8)" data-v-42ac6ca2><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-width="1.5" data-v-42ac6ca2></circle><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" fill="none" stroke="currentColor" stroke-width="1" data-v-42ac6ca2></path><path d="M2 12h20M5 5.2l14 14M5 18.8l14-14" fill="none" stroke="currentColor" stroke-width="1" data-v-42ac6ca2></path></g></svg></span>',1)),g("span",{class:"file-name",innerHTML:e.node.name},null,8,ff)],6)):(y(),D("div",pf,[g("div",{class:ye(["folder-header",{expanded:s.value,selected:e.selected}]),style:yt(i.value),onClick:l},[g("span",hf,[(y(),D("svg",gf,[s.value?(y(),D("path",mf)):(y(),D("path",bf))]))]),d[1]||(d[1]=g("span",{class:"folder-icon"},[g("svg",{class:"icon",viewBox:"0 0 24 24"},[g("path",{d:"M20 6a2 2 0 0 0-2-2h-8L10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z",fill:"none",stroke:"currentColor","stroke-width":"2"})])],-1)),g("span",_f,G(e.node.name),1)],6),s.value?(y(),D("div",vf,[(y(!0),D(te,null,Pe(e.node.children,b=>(y(),be(p,{key:b.fullPath,node:b,locale:e.locale,depth:e.depth+1,"selected-file":e.selectedFile,"default-expanded":!1,onFileSelected:u},null,8,["node","locale","depth","selected-file"]))),128))])):ie("",!0)]))])}}}),[["styles",['@reference "tailwindcss";.file-item[data-v-42ac6ca2]{@apply py-1 px-2 my-1 cursor-pointer flex items-center text-sm text-slate-700 bg-white rounded-md transition-all duration-200 border border-transparent;}.file-item[data-v-42ac6ca2]:hover{@apply bg-slate-50 transform translate-x-1;}.file-item.selected[data-v-42ac6ca2]{@apply bg-blue-50 border-blue-200 text-blue-700 font-medium;}.folder-header[data-v-42ac6ca2]{@apply py-1 px-2 my-1 cursor-pointer flex items-center text-sm text-slate-700 bg-white rounded-md transition-all duration-200 border border-transparent;}.folder-header[data-v-42ac6ca2]:hover{@apply bg-slate-50 transform translate-x-1;}.folder-header.expanded[data-v-42ac6ca2]{@apply font-medium text-blue-700;}.folder-header.selected[data-v-42ac6ca2]{@apply bg-blue-50 border-blue-200 text-blue-700 font-medium;}.icon[data-v-42ac6ca2]{@apply w-4 h-4 mr-2 shrink-0;}.chevron .icon[data-v-42ac6ca2]{@apply w-3 h-3 mr-2;}.folder-children[data-v-42ac6ca2]{@apply ml-3 border-l-2 border-slate-200 pl-3;}']],["__scopeId","data-v-42ac6ca2"]]),xf={class:"flex flex-col h-full w-full bg-slate-50 rounded-lg overflow-hidden"},wf={class:"flex-1 min-h-0 overflow-y-auto overscroll-contain p-2"},Ef=_e(xe({__name:"LocalesList",props:{locales:{type:Object},selectedFile:{type:String}},emits:["fileSelected"],setup(e,{emit:t}){const o=e,n=t,s=oe(()=>{const a=Object.keys(o.locales),u=r(a),c={name:i(u)||"/",fullPath:u||"/",children:[]};a.forEach(p=>{const b=p.startsWith(u)?p.slice(u.length).split("/").filter(Boolean):p.split("/").filter(Boolean);let N=c;for(let v=0;v<b.length;v++){const F=b[v];if(!F)continue;const R=v===b.length-1;let H=N.children.find(B=>B.name===F);H||(H={name:F,fullPath:`${N.fullPath}/${F}`.replace(/\/+/g,"/"),isFile:R,children:[]},N.children.push(H)),H&&(N=H)}});const d=p=>{p.sort((b,N)=>b.isFile===N.isFile?b.name.localeCompare(N.name):b.isFile?1:-1);for(const b of p)d(b.children)};return d(c.children),c.children});function r(a){if(a.length===0)return"";const u=a.map(p=>p.split("/")),c=[],d=Math.min(...u.map(p=>p.length));for(let p=0;p<d;p++){const b=u[0]?.[p];if(b&&u.every(N=>N[p]===b))c.push(b);else break}return c.join("/")}function i(a){const u=a.split("/").filter(c=>c);return u[u.length-1]||""}function l(a){n("fileSelected",a)}return(a,u)=>(y(),D("div",xf,[g("div",wf,[(y(!0),D(te,null,Pe(s.value,c=>(y(),be(yf,{key:c.fullPath,locale:c.name,node:c,depth:0,"selected-file":e.selectedFile,"default-expanded":!1,onFileSelected:l},null,8,["locale","node","selected-file"]))),128))])]))}}),[["styles",['@reference "tailwindcss";']],["__scopeId","data-v-44e760cb"]]);function st(e,t="",o={}){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=t?`${t}.${n}`:n,r=e[n];typeof r=="object"&&r!==null?Array.isArray(r)?r.forEach((i,l)=>{st(i,`${s}.[]${l}`,o)}):st(r,s,o):o[s]=r?.toString()??""}return o}const El=e=>{const t={};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const n=o.split(".");let s=t,r=null,i=null;for(let l=0;l<n.length;l++){const a=n[l];if(!a)continue;const u=a.startsWith("[]"),c=u?Number(a.slice(2)):Number.NaN;if(l===n.length-1){if(typeof s=="object"&&s!==null&&a){const d=s,p=e[o];typeof p=="string"?p==="true"||p==="false"?d[a]=p==="true":!Number.isNaN(Number(p))&&p.trim()!==""?d[a]=Number(p):d[a]=p:d[a]=p}}else{(typeof s!="object"||s===null)&&(s={});const d=s;if(u){if(!Array.isArray(d)){const b=[];r!==null&&i!==null&&typeof i=="string"?r[i]=b:a&&(t[a]=b),s=b}const p=s;if(Number.isNaN(c))continue;p[c]===void 0&&(p[c]={}),r=p,i=c,s=p[c]}else a&&(d[a]===void 0&&(d[a]={}),r=d,i=a,s=d[a])}}}return t},kf={class:"diff-viewer"},Nf={class:"filters"},$f=["value"],Of={class:"diff-list"},Sf={class:"key-row"},Cf={class:"key-label"},Tf={class:"value-compare"},Df={class:"value old"},Vf={class:"value-content"},Af={class:"value new"},If={class:"value-content"},Mf={class:"value-content"},Pf=_e(xe({__name:"DiffViewer",props:{current:{type:Object},base:{type:Object}},setup(e){const t=e,o=re(["added","modified","removed"]),n=[{type:"added",label:"Added",class:"bg-green-100 text-green-800"},{type:"modified",label:"Modified",class:"bg-yellow-100 text-yellow-800"},{type:"removed",label:"Removed",class:"bg-red-100 text-red-800"}],s={added:"text-green-600",modified:"text-yellow-600",removed:"text-red-600"},r=oe(()=>{const a=st(t.current),u=st(t.base),c=new Set([...Object.keys(a),...Object.keys(u)]);return Array.from(c).map(d=>{const p=a[d],b=u[d];return!p&&b?{key:d,type:"removed",baseValue:b}:p&&!b?{key:d,type:"added",currentValue:p}:p!==b?{key:d,type:"modified",baseValue:b,currentValue:p}:null}).filter(Boolean)}),i=oe(()=>({added:r.value.filter(a=>a.type==="added").length,modified:r.value.filter(a=>a.type==="modified").length,removed:r.value.filter(a=>a.type==="removed").length})),l=oe(()=>r.value.filter(a=>o.value.includes(a.type)));return(a,u)=>(y(),D("div",kf,[g("div",Nf,[(y(),D(te,null,Pe(n,c=>g("label",{key:c.type,class:"filter-item"},[ut(g("input",{"onUpdate:modelValue":u[0]||(u[0]=d=>o.value=d),type:"checkbox",value:c.type,class:"sr-only"},null,8,$f),[[Pd,o.value]]),g("span",{class:ye(["filter-badge",c.class])},G(c.label)+" ("+G(i.value[c.type])+") ",3)])),64))]),g("div",Of,[(y(!0),D(te,null,Pe(l.value,(c,d)=>(y(),D("div",{key:d,class:"diff-item"},[g("div",Sf,[g("span",Cf,G(c.key),1),c.type?(y(),D("span",{key:0,class:ye(["change-type",s[c.type]])},G(c.type.toUpperCase()),3)):ie("",!0)]),g("div",Tf,[c.type==="modified"?(y(),D(te,{key:0},[g("div",Df,[u[1]||(u[1]=g("span",{class:"value-label"},"Default:",-1)),g("span",Vf,G(c.baseValue),1)]),g("div",Af,[u[2]||(u[2]=g("span",{class:"value-label"},"Current:",-1)),g("span",If,G(c.currentValue),1)])],64)):(y(),D("div",{key:1,class:ye(["value",c.type])},[g("span",Mf,G(c.currentValue||c.baseValue),1)],2))])]))),128))])]))}}),[["styles",['@reference "tailwindcss";.diff-viewer[data-v-78082a66]{@apply flex flex-col gap-4;}.filters[data-v-78082a66]{@apply flex gap-2;}.filter-item[data-v-78082a66]{@apply cursor-pointer;}.filter-badge[data-v-78082a66]{@apply px-3 py-1 rounded-full text-sm font-medium inline-flex items-center gap-2 transition-all;}.filter-item input:checked+.filter-badge[data-v-78082a66]{@apply ring-2 ring-inset ring-blue-500/50;}.diff-list[data-v-78082a66]{@apply space-y-4;}.diff-item[data-v-78082a66]{@apply bg-white rounded-lg shadow-xs border border-gray-100 p-4;}.key-row[data-v-78082a66]{@apply flex justify-between items-center mb-2;}.key-label[data-v-78082a66]{@apply font-mono text-sm text-gray-700 truncate;}.change-type[data-v-78082a66]{@apply text-xs font-semibold px-2 py-1 rounded-full;}.value-compare[data-v-78082a66]{@apply space-y-2;}.value[data-v-78082a66]{@apply p-2 rounded-md border border-transparent text-sm;}.value-label[data-v-78082a66]{@apply text-xs font-medium text-gray-500 mr-2;}.value-content[data-v-78082a66]{@apply break-words;}.old[data-v-78082a66]{@apply bg-red-50 border-red-200 text-red-700;}.new[data-v-78082a66]{@apply bg-green-50 border-green-200 text-green-700;}.added .value-content[data-v-78082a66]{@apply text-green-600;}.removed .value-content[data-v-78082a66]{@apply text-red-600 line-through;}']],["__scopeId","data-v-78082a66"]]),jf={class:"text-sm font-medium text-gray-600 truncate"},Lf={key:1,class:"flex flex-col"},Ff={class:"text-sm font-medium text-gray-600"},Ln=xe({__name:"StatItem",props:{label:String,value:[String,Number],trend:Number,stacked:{type:Boolean,default:!1}},setup(e){const t=e,o=oe(()=>typeof t.value=="number"?t.value.toLocaleString():t.value),n=oe(()=>t.trend?t.trend>0?"text-green-500":"text-red-500":"");return(s,r)=>(y(),D("div",{class:ye(["p-3 bg-gray-50 rounded-lg transition-all duration-200 hover:bg-gray-100",e.stacked?"block":"flex items-center justify-between"])},[e.stacked?(y(),D("div",Lf,[g("span",Ff,G(e.label),1),g("span",{class:ye(["font-semibold mt-1",s.$attrs.class])},[ot(G(o.value)+" ",1),e.trend?(y(),D("span",{key:0,class:ye(["ml-2 text-xs",n.value])},G(e.trend)+"% ",3)):ie("",!0)],2)])):(y(),D(te,{key:0},[g("span",jf,G(e.label),1),g("span",{class:ye(["font-semibold min-w-[60px] text-right",s.$attrs.class])},[ot(G(o.value)+" ",1),e.trend?(y(),D("span",{key:0,class:ye(["ml-2 text-xs",n.value])},G(e.trend)+"% ",3)):ie("",!0)],2)],64))],2))}}),Rf={class:"space-y-4 p-4 bg-white rounded-lg shadow-sm"},Hf={class:"grid grid-cols-2 gap-4"},Uf={key:0,class:"grid grid-cols-2 gap-4"},Bf={class:"pt-4 mt-4 border-t border-gray-200"},Kf={class:"grid grid-cols-2 gap-4"},zf=_e(xe({__name:"Statistics",props:{content:{type:Object}},setup(e){const{getDefaultLocaleTranslation:t}=jn(),o=e,n=x=>typeof x=="string"?x.trim():"",s=x=>typeof x=="string",r=oe(()=>st(o.content)),i=oe(()=>st(t())),l=x=>oe(()=>Object.values(r.value).filter(M=>s(M)&&x(M)).length),a=oe(()=>Object.keys(r.value).length),u=oe(()=>Object.values(r.value).filter(x=>s(x)&&n(x)!=="").length),c=oe(()=>a.value?(u.value/a.value*100).toFixed(2):"0.00"),d=oe(()=>{const x={};return Object.values(r.value).forEach(M=>{s(M)&&(x[M]=(x[M]||0)+1)}),Object.values(x).filter(M=>M>1).length}),p=x=>oe(()=>{const M=Object.keys(r.value);return M.length<2?null:M.reduce((P,S)=>{const ce=r.value[P],ve=r.value[S],De=s(ce)?ce.length:0,Ee=s(ve)?ve.length:0;return x(De,Ee)?P:S})}),b=oe(()=>Object.keys(i.value).length),N=oe(()=>Object.keys(i.value).filter(x=>{const M=r.value[x];return s(M)&&n(M)!==""}).length),v=oe(()=>b.value?(N.value/b.value*100).toFixed(2):"0.00"),F=oe(()=>[{label:"Total Keys",value:a.value,class:"text-blue-600"},{label:"Translated Keys",value:`${u.value} (${c.value}%)`,class:"text-green-600"},{label:"Missing Translations",value:a.value-u.value,class:"text-red-600"},{label:"Duplicate Values",value:d.value,class:"text-orange-600"},{label:"Long Translations (>100 chars)",value:H?.value??0,class:"text-yellow-600"},{label:"Short Translations (<3 chars)",value:B?.value??0,class:"text-pink-600"},{label:"Keys with Special Chars",value:pe?.value??0,class:"text-indigo-600"},{label:"Keys with HTML Tags",value:I?.value??0,class:"text-teal-600"},{label:"Keys with Placeholders",value:L?.value??0,class:"text-cyan-600"}]),R=oe(()=>[{label:"Total Keys in Default",value:b.value,class:"text-blue-600"},{label:"Translated vs Default",value:`${N.value} (${v.value}%)`,class:"text-green-600"},{label:"Missing from Default",value:b.value-N.value,class:"text-red-600"},{label:"Extra Keys",value:Math.max(a.value-b.value,0),class:"text-orange-600"}]),[H,B,pe,I,L]=[x=>x.length>100,x=>x.length<3,x=>/[@#{}[\]]/.test(x),x=>/<[^>]+>/.test(x),x=>/\{[^}]+\}/.test(x)].map(x=>l(x)),q=p((x,M)=>x>M),U=p((x,M)=>x<M);return(x,M)=>(y(),D("div",Rf,[g("div",Hf,[(y(!0),D(te,null,Pe(F.value,(P,S)=>(y(),be(Ln,{key:S,label:P.label,value:P.value,class:ye(P.class)},null,8,["label","value","class"]))),128))]),fe(q)||fe(U)?(y(),D("div",Uf,[fe(q)?(y(),be(Ln,{key:0,label:"Longest Key",value:fe(q),stacked:"",class:"text-purple-600 break-all"},null,8,["value"])):ie("",!0),fe(U)?(y(),be(Ln,{key:1,label:"Shortest Key",value:fe(U),stacked:"",class:"text-purple-600 break-all"},null,8,["value"])):ie("",!0)])):ie("",!0),g("div",Bf,[M[0]||(M[0]=g("h3",{class:"text-lg font-semibold text-gray-800 mb-3"}," Comparison with Default Locale ",-1)),g("div",Kf,[(y(!0),D(te,null,Pe(R.value,(P,S)=>(y(),be(Ln,{key:"compare-"+S,label:P.label,value:P.value,class:ye(P.class)},null,8,["label","value","class"]))),128))])]),Y(Pf,{ref:"diffModal",current:e.content,base:i.value},null,8,["current","base"])]))}}),[["styles",[".border-t[data-v-5a1d0272]{border-top-width:1px;border-top-color:#e5e7eb}.pt-4[data-v-5a1d0272]{padding-top:1rem}.mt-4[data-v-5a1d0272]{margin-top:1rem}.text-lg[data-v-5a1d0272]{font-size:1.125rem;line-height:1.75rem}.font-semibold[data-v-5a1d0272]{font-weight:600}.bg-white[data-v-5a1d0272]{background-color:#fff}.rounded-lg[data-v-5a1d0272]{border-radius:.5rem}.shadow[data-v-5a1d0272]{box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.grid[data-v-5a1d0272]{display:grid}.gap-4[data-v-5a1d0272]{gap:1rem}"]],["__scopeId","data-v-5a1d0272"]]);class kl{constructor({apiKey:t,driver:o,options:n={}}){if(this.clearBuffer=[],this.apiKey=t,this.driver=o,this.options=n,o==="yandex-cloud"&&!n.folderId)throw new Error("Yandex Cloud Translator requires folderId in options.")}async translate(t,o,n){if(console.debug("Translating text...",{text:t,fromLang:o,toLang:n}),t==="")return t;const s=this.clearText(t);let r;switch(this.driver){case"google":r=await this.googleTranslate(s,o,n);break;case"yandex":r=await this.yandexTranslate(s,o,n);break;case"deepl":r=await this.deeplTranslate(s,o,n);break;case"openai":r=await this.openaiTranslate(t,o,n);break;case"deepseek":r=await this.deepseekTranslate(t,o,n);break;case"google-free":r=await this.googleFreeTranslate(s,o,n);break;case"yandex-cloud":r=await this.yandexCloudTranslate(s,o,n);break;default:throw new Error(`Unsupported driver: ${this.driver}`)}const i=this.revertText(r);return console.debug("Text was translated",{finalText:i}),i}clearText(t){const o=/:[a-zA-Z0-9]+|<[^>]*>|\{['"][@$|{}]['"]\}/gu,n=t.match(o)||[];return this.clearBuffer=n,n.reduce((s,r,i)=>s.replace(r,` _r${i}_`),t)}revertText(t){return this.clearBuffer.reduce((n,s,r)=>n.replace(`_r${r}_`,s),t).replace(/ {2,}|^ |^\xA0|\xA0{2,}|\xA0$/gmu,"").replace(/&nbsp;/g," ")}async googleTranslate(t,o,n){const s="https://translation.googleapis.com/language/translate/v2",r=new URLSearchParams({q:t,target:n,key:this.apiKey,format:"text",source:o}),l=await(await fetch(`${s}?${r.toString()}`)).json();if(l.error)throw new Error(`Google Translate error: ${l.error.message}`);return l.data.translations[0].translatedText}async yandexTranslate(t,o,n){const s="https://translate.api.cloud.yandex.net/translate/v2/translate",r={"Content-Type":"application/json",Authorization:`Api-Key ${this.apiKey}`},i=JSON.stringify({folderId:this.options.folderId,texts:[t],sourceLanguageCode:o,targetLanguageCode:n}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.message)throw new Error(`Yandex Translate error: ${a.message}`);return a.translations[0].text}async deeplTranslate(t,o,n){const s="https://api.deepl.com/v2/translate",r=new URLSearchParams({auth_key:this.apiKey,text:t,target_lang:n.toUpperCase(),source_lang:o.toUpperCase()}),l=await(await fetch(s,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:r.toString()})).json();if(l.message)throw new Error(`DeepL Translate error: ${l.message}`);return l.translations[0].text}async openaiTranslate(t,o,n){const s="https://api.openai.com/v1/chat/completions",r={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},i=JSON.stringify({model:this.options.model,messages:[{role:"system",content:`Translate the following text from ${o} to ${n}. Do not modify or translate placeholders like :placeholder, <tag>, or {special}.`},{role:"user",content:t}]}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.error)throw new Error(`OpenAI Translate error: ${a.error.message}`);return a.choices[0].message.content}async deepseekTranslate(t,o,n){const s="https://api.deepseek.com/chat/completions",r={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},i=JSON.stringify({model:this.options.model,messages:[{role:"system",content:`Translate the following text from ${o} to ${n}. Do not modify or translate placeholders like :placeholder, <tag>, or {special}.`},{role:"user",content:t}],stream:!1}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.error)throw new Error(`DeepSeek Translate error: ${a.error.message}`);return a.choices[0].message.content}async googleFreeTranslate(t,o,n){const s="https://translate.google.com/translate_a/single",r=new URLSearchParams({client:"gtx",sl:o,tl:n,hl:"en",dt:"t",ie:"UTF-8",oe:"UTF-8",q:t,tk:this.generateToken(t)}),l=await(await fetch(`${s}?${r.toString()}`)).json();if(!l||!Array.isArray(l[0]))throw new Error("Invalid response from Google Free Translate");return l[0].map(a=>a[0]?a[0]:"").join("")}async yandexCloudTranslate(t,o,n){const s="https://translate.api.cloud.yandex.net/translate/v2/translate",r={"Content-Type":"application/json",Authorization:`Api-Key ${this.apiKey}`},i=JSON.stringify({folderId:this.options.folderId,texts:[t],sourceLanguageCode:o,targetLanguageCode:n}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.message)throw new Error(`Yandex Cloud Translate error: ${a.message}`);return a.translations[0].text}generateToken(t){const n=[];for(let r=0;r<t.length;r++){const i=t.charCodeAt(r);i<128?n.push(i):i<2048?n.push(i>>6|192):(n.push(i>>12|224),n.push(i>>6&63|128)),n.push(i&63|128)}let s=0;for(let r=0;r<n.length;r++){const i=n[r];i!==void 0&&(s+=i,s=this.tokenTransform(s,"+-a^+6"))}return s=this.tokenTransform(s,"+-3^+b+-f"),s^=0,s<0&&(s=(s&2147483647)+2147483648),s%=1e6,`${s.toString()}.${s^0}`}tokenTransform(t,o){for(let n=0;n<o.length-2;n+=3){const s=o.charCodeAt(n+2)>=97?o.charCodeAt(n+2)-87:Number(o.charAt(n+2));o.charAt(n+1)==="+"?t=t>>>s:t=t<<s,o.charAt(n)==="+"?t=t+s&4294967295:t=t^s}return t}}const Wf={class:"pagination"},qf=["disabled"],Jf=["onClick"],Gf={key:0,class:"pagination-ellipsis"},Yf=["onClick"],Xf={key:0,class:"pagination-ellipsis"},Zf=["onClick"],Qf=["disabled"],ep=_e(xe({__name:"Pagination",props:{currentPage:{type:Number},totalPages:{type:Number}},emits:["update:page"],setup(e,{emit:t}){const o=e,n=t,s=oe(()=>[1,2].filter(a=>a<=o.totalPages)),r=oe(()=>[o.totalPages-1,o.totalPages].filter(a=>a>=1)),i=oe(()=>{const a=[],u=Math.max(1,o.currentPage-2),c=Math.min(o.totalPages,o.currentPage+2);for(let d=u;d<=c;d++)a.push(d);return a}),l=a=>{a>=1&&a<=o.totalPages&&n("update:page",a)};return(a,u)=>(y(),D("div",Wf,[g("button",{disabled:e.currentPage===1,class:"pagination-button",onClick:u[0]||(u[0]=c=>l(e.currentPage-1))}," Previous ",8,qf),e.currentPage>3?(y(),D(te,{key:0},[(y(!0),D(te,null,Pe(s.value,c=>(y(),D("button",{key:c,class:"pagination-button",onClick:d=>l(c)},G(c),9,Jf))),128)),e.currentPage>4?(y(),D("span",Gf,"...")):ie("",!0)],64)):ie("",!0),(y(!0),D(te,null,Pe(i.value,c=>(y(),D("button",{key:c,class:ye(["pagination-button",{active:e.currentPage===c}]),onClick:d=>l(c)},G(c),11,Yf))),128)),e.currentPage<e.totalPages-2?(y(),D(te,{key:1},[e.currentPage<e.totalPages-3?(y(),D("span",Xf,"...")):ie("",!0),(y(!0),D(te,null,Pe(r.value,c=>(y(),D("button",{key:c,class:"pagination-button",onClick:d=>l(c)},G(c),9,Zf))),128))],64)):ie("",!0),g("button",{disabled:e.currentPage===e.totalPages||e.totalPages===0,class:"pagination-button",onClick:u[1]||(u[1]=c=>l(e.currentPage+1))}," Next ",8,Qf)]))}}),[["styles",[".pagination[data-v-7a26b7d7]{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:16px;flex-wrap:wrap}.pagination-button[data-v-7a26b7d7]{padding:6px 12px;min-width:32px;border:1px solid #ccc;border-radius:4px;background-color:#f8f9fa;cursor:pointer;font-size:13px;color:#333;text-align:center;transition:background-color .2s,border-color .2s}.pagination-button[data-v-7a26b7d7]:hover:not(:disabled){background-color:#e9ecef;border-color:#bbb}.pagination-button[data-v-7a26b7d7]:disabled{background-color:#e9ecef;cursor:not-allowed;color:#999}.pagination-button.active[data-v-7a26b7d7]{background-color:#007bff;border-color:#007bff;color:#fff}.pagination-ellipsis[data-v-7a26b7d7]{padding:6px 12px;font-size:13px;color:#666}"]],["__scopeId","data-v-7a26b7d7"]]),tp={class:"translation-editor"},op={class:"translation-list-container"},np={class:"search-box"},sp={class:"translation-list"},rp={class:"key-header"},ip=["title"],lp=["onClick"],ap={class:"default-value"},cp=["onUpdate:modelValue","placeholder"],dp={class:"pagination-wrapper"},Us=30,up=_e(xe({__name:"TranslationEditor",props:{modelValue:{type:Object}},emits:["update:modelValue"],setup(e,{emit:t}){const o=e,n=t,{selectedFile:s,configs:r,getDefaultLocaleTranslation:i}=jn(),l=re(st(o.modelValue)),a=re({}),u=re(""),c=re(1),d=re("disabled"),p=re(""),b=re({}),N=oe(()=>{const L=Object.keys(a.value);if(!u.value.trim())return F.value;const q=u.value.toLowerCase();return L.filter(U=>U.toLowerCase().includes(q)||a.value[U]?.toLowerCase().includes(q))}),v=oe(()=>Math.ceil(Object.keys(a.value).length/Us)),F=oe(()=>{const L=(c.value-1)*Us,q=L+Us;return Object.keys(a.value).slice(L,q)}),R=()=>{const L=i();a.value=st(L)},H=()=>{n("update:modelValue",El(l.value))},B=L=>{L>=1&&L<=v.value&&(c.value=L)},pe=async(L,q)=>{if(q)try{const U=r.value.defaultLocale,x=new kl({apiKey:p.value,driver:d.value,options:b.value}),M=s.value.split("/").pop()??"";l.value[L]=await x.translate(q,U,M.replace(".json","")),H()}catch(U){console.error("Translation error:",U)}},I=()=>{const L=localStorage.getItem("translationSettings");if(L)try{const q=JSON.parse(L);d.value=q.driver||"disabled",p.value=q.token||"",b.value=q.options||{}}catch{localStorage.removeItem("translationSettings")}};return At(()=>{R(),I()}),Te(()=>o.modelValue,L=>{l.value=st(L),R()}),Te(s,()=>{R(),c.value=1}),Te(()=>r.value.defaultLocale,()=>{R()}),(L,q)=>(y(),D("div",tp,[g("div",op,[g("div",np,[ut(g("input",{"onUpdate:modelValue":q[0]||(q[0]=U=>u.value=U),placeholder:"Search keys or values...",class:"search-input"},null,512),[[Mn,u.value]])]),g("div",sp,[(y(!0),D(te,null,Pe(N.value,U=>(y(),D("div",{key:U,class:ye(["translation-item",{missing:!l.value[U]?.trim()}])},[g("div",rp,[g("span",{class:"key-label",title:U},G(U),9,ip),d.value!=="disabled"?(y(),D("button",{key:0,class:"translate-btn",onClick:x=>pe(U,a.value[U]||"")},[...q[1]||(q[1]=[g("svg",{class:"translate-icon",viewBox:"0 0 24 24"},[g("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})],-1)])],8,lp)):ie("",!0)]),g("div",ap,G(a.value[U]||"No default value"),1),ut(g("textarea",{"onUpdate:modelValue":x=>l.value[U]=x,class:"translation-input",placeholder:a.value[U],rows:"1",onInput:H},null,40,cp),[[Mn,l.value[U]]])],2))),128))])]),g("div",dp,[u.value?ie("",!0):(y(),be(ep,{key:0,"current-page":c.value,"total-pages":v.value,"onUpdate:page":B},null,8,["current-page","total-pages"]))])]))}}),[["styles",['@reference "tailwindcss";.translation-editor[data-v-593b161e]{@apply flex flex-col h-full w-full overflow-hidden bg-gray-50;}.translation-list-container[data-v-593b161e]{@apply flex-1 flex flex-col min-h-0 overflow-hidden;}.search-box[data-v-593b161e]{@apply bg-white p-2 border-b border-gray-200 shrink-0;}.search-input[data-v-593b161e]{@apply w-full p-2 border border-gray-300 rounded-lg text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500;}.translation-list[data-v-593b161e]{@apply flex-1 overflow-y-auto overflow-x-hidden p-2 space-y-3;overscroll-behavior:contain}.translation-item[data-v-593b161e]{@apply p-3 bg-white rounded-lg shadow-sm border border-gray-200;}.translation-item.missing[data-v-593b161e]{@apply border-l-4 border-l-yellow-500 bg-yellow-50/30;}.key-header[data-v-593b161e]{@apply flex justify-between items-center mb-1;}.key-label[data-v-593b161e]{@apply font-mono text-xs font-semibold text-slate-700 truncate select-all;}.default-value[data-v-593b161e]{@apply text-xs text-gray-500 mb-2 truncate opacity-80;}.translation-input[data-v-593b161e]{@apply w-full p-2 border border-gray-300 rounded text-sm min-h-[38px] focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500;}.translate-btn[data-v-593b161e]{@apply p-1 text-gray-400 hover:text-blue-600 transition-colors rounded hover:bg-gray-100;}.translate-icon[data-v-593b161e]{@apply w-4 h-4 fill-current;}.pagination-wrapper[data-v-593b161e]{@apply shrink-0 p-2 border-t border-gray-200 bg-white;}']],["__scopeId","data-v-593b161e"]]),fp=["disabled","type"],Qt=_e(xe({__name:"Button",props:{variant:{default:"primary",type:String},size:{default:"md",type:String},disabled:{type:Boolean,default:!1},type:{default:"button",type:String}},emits:["click"],setup(e,{emit:t}){const o=e,n=t,s=r=>{o.disabled||n("click",r)};return(r,i)=>(y(),D("button",{class:ye(["btn",`btn--${e.variant}`,`btn--${e.size}`,{"btn--disabled":e.disabled}]),disabled:e.disabled,type:e.type,onClick:s},[ft(r.$slots,"default",{},void 0)],10,fp))}}),[["styles",['@reference "tailwindcss";.btn[data-v-4f279bb7]{@apply inline-flex items-center justify-center font-medium rounded-md transition-all duration-200 focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed;}.btn--sm[data-v-4f279bb7]{@apply px-2 py-1 text-xs;}.btn--md[data-v-4f279bb7]{@apply px-3 py-1.5 text-sm;}.btn--lg[data-v-4f279bb7]{@apply px-4 py-2 text-base;}.btn--primary[data-v-4f279bb7]{@apply bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500;}.btn--secondary[data-v-4f279bb7]{@apply bg-slate-200 text-slate-700 hover:bg-slate-300 focus:ring-slate-500;}.btn--danger[data-v-4f279bb7]{@apply bg-red-600 text-white hover:bg-red-700 focus:ring-red-500;}.btn--ghost[data-v-4f279bb7]{@apply bg-transparent text-slate-700 hover:bg-slate-100 focus:ring-slate-500;}']],["__scopeId","data-v-4f279bb7"]]),pp={class:"action-bar"},hp={class:"action-bar__left"},gp=_e(xe({__name:"ActionBar",props:{showTranslateButton:{type:Boolean}},emits:["export","import","show-stats","translate-missing","save"],setup(e,{emit:t}){const o=t;return(n,s)=>(y(),D("div",pp,[g("div",hp,[Y(Qt,{class:"action-btn action-btn--export",title:"Export",variant:"ghost",onClick:s[0]||(s[0]=r=>o("export"))},{default:we(()=>[...s[5]||(s[5]=[g("span",{class:"action-btn__icon"},"📤",-1)])]),_:1}),Y(Qt,{class:"action-btn action-btn--import",title:"Import",variant:"ghost",onClick:s[1]||(s[1]=r=>o("import"))},{default:we(()=>[...s[6]||(s[6]=[g("span",{class:"action-btn__icon"},"📥",-1)])]),_:1}),Y(Qt,{class:"action-btn action-btn--stats",title:"Stats",variant:"ghost",onClick:s[2]||(s[2]=r=>o("show-stats"))},{default:we(()=>[...s[7]||(s[7]=[g("span",{class:"action-btn__icon"},"📊",-1)])]),_:1}),e.showTranslateButton?(y(),be(Qt,{key:0,class:"action-btn action-btn--translate",title:"Translate",variant:"ghost",onClick:s[3]||(s[3]=r=>o("translate-missing"))},{default:we(()=>[...s[8]||(s[8]=[g("span",{class:"action-btn__icon"},"🌐",-1)])]),_:1})):ie("",!0)]),Y(Qt,{class:"action-btn action-btn--save",title:"Save",variant:"primary",onClick:s[4]||(s[4]=r=>o("save"))},{default:we(()=>[...s[9]||(s[9]=[g("span",{class:"action-btn__icon"},"💾",-1)])]),_:1})]))}}),[["styles",['@reference "tailwindcss";.action-bar[data-v-75c609c9]{@apply flex items-center justify-between p-3 bg-white border-b border-slate-200;}.action-bar__left[data-v-75c609c9]{@apply flex items-center gap-2 flex-wrap;}.action-btn[data-v-75c609c9]{@apply flex items-center gap-1.5;}.action-btn__icon[data-v-75c609c9]{@apply text-sm;}']],["__scopeId","data-v-75c609c9"]]),mp={key:0,class:"resize-overlay"},bp=_e(xe({__name:"SplitPane",props:{storageKey:{type:String},defaultLeftWidth:{default:"300px",type:String},minLeftWidth:{default:150,type:Number},minRightWidth:{default:300,type:Number}},setup(e){const t=e,o=re(t.defaultLeftWidth),n=re(!1);At(()=>{if(t.storageKey){const l=localStorage.getItem(`split-pane-${t.storageKey}`);l&&(o.value=l)}});const s=()=>{n.value=!0,document.body.style.cursor="col-resize",window.addEventListener("mousemove",r),window.addEventListener("mouseup",i)},r=l=>{if(!n.value||!l.target.closest(".split-pane"))return;const u=l.clientX;u>=t.minLeftWidth&&(o.value=`${u}px`)},i=()=>{n.value&&(n.value=!1,document.body.style.cursor="",t.storageKey&&localStorage.setItem(`split-pane-${t.storageKey}`,o.value),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",i))};return(l,a)=>(y(),D("div",{class:"split-pane",onMouseup:i,onMouseleave:i},[g("div",{class:"split-pane__left",style:yt({width:o.value})},[ft(l.$slots,"left",{},void 0)],4),g("div",{class:"split-pane__divider",style:yt({left:o.value}),onMousedown:ml(s,["prevent"])},[...a[0]||(a[0]=[g("div",{class:"divider-handle"},null,-1)])],36),g("div",{class:"split-pane__right",style:yt({left:o.value,paddingLeft:"4px"})},[ft(l.$slots,"right",{},void 0)],4),n.value?(y(),D("div",mp)):ie("",!0)],32))}}),[["styles",['@reference "tailwindcss";.split-pane[data-v-d964db95]{@apply relative w-full h-full bg-white overflow-hidden;}.split-pane__left[data-v-d964db95]{@apply absolute top-0 bottom-0 left-0 border-r border-slate-200 overflow-hidden bg-white z-0;}.split-pane__divider[data-v-d964db95]{@apply absolute top-0 bottom-0 w-4 cursor-col-resize z-50 flex justify-center hover:bg-blue-50/50 transition-colors;margin-left:-2px}.divider-handle[data-v-d964db95]{@apply w-[1px] h-full bg-slate-200 transition-colors;}.split-pane__divider:hover .divider-handle[data-v-d964db95],.split-pane__divider:active .divider-handle[data-v-d964db95]{@apply bg-blue-500 w-[2px];}.split-pane__right[data-v-d964db95]{@apply absolute top-0 bottom-0 right-0 overflow-hidden bg-white z-0;}.resize-overlay[data-v-d964db95]{@apply fixed inset-0 z-[100] cursor-col-resize;}']],["__scopeId","data-v-d964db95"]]),_p={class:"header-content"},vp={class:"modal-title"},yp={class:"modal-body"},xp={key:0,class:"modal-footer"},Nl=_e(xe({__name:"Modal",props:{show:{type:Boolean},title:{type:String},size:{default:"md",type:String},width:{type:String},height:{type:String},disableOutsideClick:{type:Boolean,default:!1},disableEsc:{type:Boolean,default:!1},showCloseButton:{type:Boolean,default:!0},headerClass:{type:String}},emits:["update:show","close"],setup(e,{emit:t}){const o=e,n=t,s={sm:{width:"400px",height:"auto"},md:{width:"600px",height:"70vh"},lg:{width:"800px",height:"80vh"},xl:{width:"90vw",height:"90vh"},custom:{width:o.width||"auto",height:o.height||"auto"}},r=oe(()=>o.size==="custom"?o.width:null),i=oe(()=>o.size==="custom"?o.height:null),l=()=>{n("update:show",!1),n("close")},a=()=>{o.disableOutsideClick||l()},u=()=>{o.disableEsc||l()},c=p=>{p.key==="Escape"&&u()},d=re("");return At(()=>{if(document.addEventListener("keydown",c),o.show){const p=document.querySelector("i18n-devtools-ui");p&&(d.value=p.style.overflow||"",p.style.overflow="hidden")}}),hs(()=>{document.removeEventListener("keydown",c);const p=document.querySelector("i18n-devtools-ui");p&&(p.style.overflow=d.value)}),Te(()=>o.show,p=>{const b=document.querySelector("i18n-devtools-ui");b&&(p?(d.value=b.style.overflow||"",b.style.overflow="hidden"):b.style.overflow=d.value)}),(p,b)=>(y(),be(Ka,{to:"body"},[Y(As,{name:"modal"},{default:we(()=>[e.show?(y(),D("div",{key:0,class:"modal-overlay",onClick:ml(a,["self"]),onKeydown:Rd(u,["esc"])},[g("div",{class:"modal-content",style:yt({width:r.value||s[e.size].width,height:i.value||s[e.size].height})},[g("div",{class:ye(["modal-header",e.headerClass])},[g("div",_p,[ft(p.$slots,"header",{},()=>[g("h3",vp,G(e.title),1)],!0)]),e.showCloseButton?(y(),D("button",{key:0,class:"modal-close-button","aria-label":"Close modal",onClick:l},[...b[0]||(b[0]=[g("svg",{class:"close-icon",viewBox:"0 0 24 24"},[g("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1)])])):ie("",!0)],2),g("div",yp,[ft(p.$slots,"default",{},void 0,!0)]),p.$slots.footer?(y(),D("div",xp,[ft(p.$slots,"footer",{},void 0,!0)])):ie("",!0)],4)],32)):ie("",!0)]),_:3})]))}}),[["styles",['@reference "tailwindcss";.modal-overlay[data-v-5cc833a6]{@apply fixed inset-0 bg-black/50 flex items-center justify-center p-4 z-[1000];-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content[data-v-5cc833a6]{@apply bg-white rounded-xl shadow-2xl flex flex-col;max-height:calc(100vh - 2rem)}.modal-header[data-v-5cc833a6]{@apply flex items-center justify-between px-6 py-4 border-b border-gray-100 shrink-0;}.header-content[data-v-5cc833a6]{@apply flex-1 min-w-0;}.modal-title[data-v-5cc833a6]{@apply text-xl font-semibold text-gray-900 truncate;}.modal-close-button[data-v-5cc833a6]{@apply p-2 ml-4 -mr-2 text-gray-400 hover:text-gray-600 transition-colors;}.close-icon[data-v-5cc833a6]{@apply w-6 h-6 fill-current;}.modal-body[data-v-5cc833a6]{@apply flex-1 p-6 overflow-y-auto;scrollbar-width:thin;scrollbar-color:theme("colors.gray.300") theme("colors.white")}.modal-body[data-v-5cc833a6]::-webkit-scrollbar{@apply w-2;}.modal-body[data-v-5cc833a6]::-webkit-scrollbar-track{@apply bg-gray-100 rounded-sm;}.modal-body[data-v-5cc833a6]::-webkit-scrollbar-thumb{@apply bg-gray-300 rounded-sm hover:bg-gray-400;}.modal-footer[data-v-5cc833a6]{@apply flex items-center justify-end px-6 py-4 space-x-3 border-t border-gray-100 shrink-0;}']],["__scopeId","data-v-5cc833a6"]]),wp={class:"i18n-view"},Ep={class:"pane-inner"},kp={class:"pane-inner bg-white"},Np={key:0,class:"editor-layout"},$p={class:"editor-header"},Op={class:"breadcrumbs"},Sp={class:"breadcrumbs__path"},Cp={class:"action-bar-wrapper"},Tp={class:"editor-content-area"},Dp={class:"editor-scroll-container"},Vp={key:1,class:"empty-state"},Ap={class:"flex justify-end gap-2 mt-4"},Ip=_e(xe({__name:"I18nView",setup(e){const t=re("disabled"),o=re(""),n=re({}),{configs:s,isLoading:r,locales:i,selectedFile:l,selectedFileContent:a,handleFileSelected:u,exportTranslations:c,importTranslations:d,getDefaultLocaleTranslation:p,saveCurrent:b}=jn(),N=re(null),v=re({});At(()=>{x()}),Te(a,M=>{M&&(v.value={...M})},{deep:!0,immediate:!0});const F=oe(()=>i.value),R=()=>{N.value?.click()},H=async()=>{a.value={...v.value},await b()};Te(l,M=>{const P=M.replace(/^\/+/,"").replace(/\\/g,"/");v.value=i.value[P]??i.value[M]??(M.startsWith("/")?i.value[M.slice(1)]:{})??{}});const B=re(!1),pe=()=>{B.value=!0},I=re(!1),L=()=>{I.value=!0},q=async()=>{I.value=!1,await U()},U=async()=>{if(!v.value)return;const M=p(),P=st(M),S=st(v.value),ce=Object.keys(P).filter(ve=>!S[ve]);if(ce.length===0){alert("No missing keys.");return}try{const ve=s.value.defaultLocale,De=new kl({apiKey:o.value,driver:t.value,options:n.value});for(const Ee of ce){const Z=P[Ee];if(Z){const Q=l.value.split("/").pop()??"";S[Ee]=await De.translate(Z,ve,Q.replace(".json",""))}}v.value=El(S),alert("Translated.")}catch(ve){console.error(ve),alert("Error.")}},x=()=>{const M=localStorage.getItem("translationSettings");if(M)try{const P=JSON.parse(M);t.value=P.driver||"disabled",o.value=P.token||"",n.value=P.options||{}}catch{localStorage.removeItem("translationSettings")}};return(M,P)=>(y(),D("div",wp,[fe(r)?(y(),be(Fs,{key:0})):(y(),be(bp,{key:1,"storage-key":"tab-i18n-locales","default-left-width":"280px"},{left:we(()=>[g("div",Ep,[Y(Ef,{locales:F.value,"selected-file":fe(l),onFileSelected:fe(u)},null,8,["locales","selected-file","onFileSelected"])])]),right:we(()=>[g("div",kp,[fe(l)?(y(),D("div",Np,[g("div",$p,[g("div",Op,[P[5]||(P[5]=g("span",{class:"breadcrumbs__icon"},"📄",-1)),g("span",Sp,G(fe(l)),1)]),g("div",Cp,[Y(gp,{"show-translate-button":t.value!=="disabled",onExport:fe(c),onImport:R,onShowStats:pe,onTranslateMissing:L,onSave:H},null,8,["show-translate-button","onExport"])])]),g("div",Tp,[g("div",Dp,[Y(up,{modelValue:v.value,"onUpdate:modelValue":P[0]||(P[0]=S=>v.value=S),class:"h-full"},null,8,["modelValue"])])])])):(y(),D("div",Vp,[...P[6]||(P[6]=[g("div",{class:"empty-state__icon"}," 📁 ",-1),g("div",{class:"empty-state__title"}," No File Selected ",-1),g("div",{class:"empty-state__description"}," Select a file from the tree to edit ",-1)])]))])]),_:1})),B.value?(y(),be(Nl,{key:2,show:B.value,"onUpdate:show":P[1]||(P[1]=S=>B.value=S),title:"Statistics",size:"lg"},{default:we(()=>[v.value?(y(),be(zf,{key:0,content:v.value},null,8,["content"])):ie("",!0)]),_:1},8,["show"])):ie("",!0),I.value?(y(),be(Nl,{key:3,show:I.value,"onUpdate:show":P[3]||(P[3]=S=>I.value=S),title:"Confirm Translation",size:"md"},{default:we(()=>[P[9]||(P[9]=g("p",null,"Are you sure?",-1)),g("div",Ap,[Y(Qt,{variant:"danger",onClick:P[2]||(P[2]=S=>I.value=!1)},{default:we(()=>[...P[7]||(P[7]=[ot(" Cancel ",-1)])]),_:1}),Y(Qt,{variant:"primary",onClick:q},{default:we(()=>[...P[8]||(P[8]=[ot(" Confirm ",-1)])]),_:1})])]),_:1},8,["show"])):ie("",!0),ut(g("input",{ref_key:"file",ref:N,type:"file",accept:".json",onChange:P[4]||(P[4]=(...S)=>fe(d)&&fe(d)(...S))},null,544),[[_d,!1]])]))}}),[["styles",['@reference "tailwindcss";.i18n-view[data-v-8f020ee0]{@apply h-full w-full relative overflow-hidden;}.pane-inner[data-v-8f020ee0]{@apply w-full h-full overflow-hidden flex flex-col;}.editor-layout[data-v-8f020ee0]{@apply flex flex-col h-full w-full overflow-hidden;}.editor-header[data-v-8f020ee0]{@apply shrink-0 bg-white z-10;}.breadcrumbs[data-v-8f020ee0]{@apply px-4 py-2 bg-slate-50 border-b border-slate-200 text-xs font-mono text-slate-600 flex items-center gap-2;}.breadcrumbs__icon[data-v-8f020ee0]{@apply text-base;}.breadcrumbs__path[data-v-8f020ee0]{@apply truncate text-slate-700 font-medium;}.action-bar-wrapper[data-v-8f020ee0]{@apply border-b border-slate-200;}.editor-content-area[data-v-8f020ee0]{@apply flex-1 relative overflow-hidden;}.editor-scroll-container[data-v-8f020ee0]{@apply absolute inset-0 overflow-hidden;}.empty-state[data-v-8f020ee0],.welcome-card[data-v-8f020ee0]{@apply flex flex-col items-center justify-center h-full text-center p-8 text-slate-500;}.empty-state__icon[data-v-8f020ee0],.welcome-card__icon[data-v-8f020ee0]{@apply text-6xl mb-4 opacity-50;}.empty-state__title[data-v-8f020ee0],.welcome-card__title[data-v-8f020ee0]{@apply text-xl font-bold text-slate-700 mb-2;}']],["__scopeId","data-v-8f020ee0"]]),Mp={class:"settings-card"},Pp={class:"settings-card__header"},jp={class:"settings-card__icon"},Lp={key:0},Fp={class:"settings-card__title"},Rp={class:"settings-card__content"},Hp=_e(xe({__name:"SettingsCard",props:{title:{type:String},icon:{type:String}},setup(e){return(t,o)=>(y(),D("div",Mp,[g("div",Pp,[g("span",jp,[ft(t.$slots,"icon",{},()=>[e.icon?(y(),D("span",Lp,G(e.icon),1)):ie("",!0)])]),g("h3",Fp,G(e.title),1)]),g("div",Rp,[ft(t.$slots,"default",{},void 0)])]))}}),[["styles",['@reference "tailwindcss";.settings-card[data-v-502b3f8f]{@apply bg-white rounded-lg p-4 shadow-xs border border-slate-200 transition-all duration-200 hover:shadow-sm;}.settings-card__header[data-v-502b3f8f]{@apply flex items-center mb-4 pb-3 border-b border-slate-100;}.settings-card__icon[data-v-502b3f8f]{@apply text-lg mr-2 flex items-center;}.settings-card__title[data-v-502b3f8f]{@apply text-lg font-semibold text-slate-800;}.settings-card__content[data-v-502b3f8f]{@apply space-y-4;}']],["__scopeId","data-v-502b3f8f"]]),Up={class:"translation-controls"},Bp={class:"translation-controls__content"},Kp={class:"control-group"},zp={class:"control-select"},Wp=["value"],qp={key:0,class:"control-group"},Jp={key:0,class:"driver-options"},Gp={key:0,class:"control-group"},Yp={key:1,class:"control-group"},Xp={class:"control-select"},Zp={key:2,class:"control-group"},Qp={class:"control-select"},eh=["value"],th={key:3,class:"control-group"},oh={class:"control-select"},nh=_e(xe({__name:"TranslationControls",props:{driver:{type:String},apiToken:{type:String},options:{type:Object}},emits:["update:driver","update:apiToken","update:options"],setup(e,{emit:t}){const o=e,n=t,s=re(o.driver),r=re(o.apiToken),i=re({...o.options});Te(()=>o.driver,async u=>{u!==s.value&&(await ct(),s.value=u)}),Te(()=>o.apiToken,async u=>{u!==r.value&&(await ct(),r.value=u)}),Te(()=>o.options,async u=>{JSON.stringify(u)!==JSON.stringify(i.value)&&(await ct(),i.value={...u})},{deep:!0}),Te(s,async u=>{u!==o.driver&&(await ct(),n("update:driver",u))}),Te(r,async u=>{u!==o.apiToken&&(await ct(),n("update:apiToken",u))}),Te(i,async u=>{JSON.stringify(u)!==JSON.stringify(o.options)&&(await ct(),n("update:options",{...u}))},{deep:!0});const l=[{label:"Disabled",value:"disabled"},{label:"OpenAI",value:"openai"},{label:"Google",value:"google"},{label:"Google Free",value:"google-free"},{label:"DeepL",value:"deepl"},{label:"DeepSeek",value:"deepseek"},{label:"Yandex",value:"yandex"},{label:"Yandex Cloud",value:"yandex-cloud"}],a=["gpt-5","gpt-5-mini","gpt-5-nano","gpt-5-chat-latest","gpt-5-2025-08-07","gpt-5-mini-2025-08-07","gpt-5-nano-2025-08-07","gpt-4.1","gpt-4.1-mini","gpt-4.1-nano","gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14","o3","o3-mini","o3-pro","o3-deep-research","o3-2025-04-16","o3-mini-2025-01-31","o3-pro-2025-06-10","o3-deep-research-2025-06-26","o4-mini","o4-mini-deep-research","o4-mini-2025-04-16","o4-mini-deep-research-2025-06-26","o1","o1-mini","o1-pro","o1-2024-12-17","o1-mini-2024-09-12","o1-pro-2025-03-19","gpt-4o","gpt-4o-mini","gpt-4o-2024-05-13","gpt-4o-mini-2024-07-18","gpt-4o-2024-08-06","gpt-4o-2024-11-20","gpt-4o-2025-03-11","chatgpt-4o-latest","gpt-4o-realtime-preview","gpt-4o-audio-preview","gpt-4o-mini-realtime-preview","gpt-4o-mini-audio-preview","gpt-4o-realtime-preview-2024-10-01","gpt-4o-audio-preview-2024-10-01","gpt-4o-realtime-preview-2024-12-17","gpt-4o-audio-preview-2024-12-17","gpt-4o-mini-realtime-preview-2024-12-17","gpt-4o-mini-audio-preview-2024-12-17","gpt-4o-realtime-preview-2025-06-03","gpt-4o-audio-preview-2025-06-03","gpt-4o-search-preview","gpt-4o-mini-search-preview","gpt-4o-search-preview-2025-03-11","gpt-4o-mini-search-preview-2025-03-11","gpt-4o-transcribe","gpt-4o-mini-transcribe","gpt-4o-mini-tts","gpt-4","gpt-4-turbo","gpt-4-turbo-preview","gpt-4-0613","gpt-4-1106-preview","gpt-4-0125-preview","gpt-4-turbo-2024-04-09","gpt-3.5-turbo","gpt-3.5-turbo-16k","gpt-3.5-turbo-instruct","gpt-3.5-turbo-instruct-0914","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125"];return(u,c)=>(y(),D("div",Up,[g("div",Bp,[g("div",Kp,[c[8]||(c[8]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🔧"),ot(" Translation Service ")],-1)),g("div",zp,[ut(g("select",{"onUpdate:modelValue":c[0]||(c[0]=d=>s.value=d),class:"select-input"},[c[6]||(c[6]=g("option",{value:"",disabled:"",hidden:""}," Select a translation driver ",-1)),(y(),D(te,null,Pe(l,d=>g("option",{key:d.value,value:d.value},G(d.label),9,Wp)),64))],512),[[Pn,s.value]]),c[7]||(c[7]=g("div",{class:"select-arrow"}," ▼ ",-1))])]),Y(As,{name:"fade-slide"},{default:we(()=>[s.value!=="disabled"?(y(),D("div",qp,[c[9]||(c[9]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🔑"),ot(" API Authorization ")],-1)),ut(g("input",{"onUpdate:modelValue":c[1]||(c[1]=d=>r.value=d),type:"password",placeholder:"Enter your secure API token",class:"styled-input"},null,512),[[Mn,r.value]])])):ie("",!0)]),_:1}),Y(As,{name:"fade-slide"},{default:we(()=>[s.value!=="disabled"?(y(),D("div",Jp,[s.value==="yandex-cloud"?(y(),D("div",Gp,[c[10]||(c[10]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"📁"),ot(" Cloud Folder ID ")],-1)),ut(g("input",{"onUpdate:modelValue":c[2]||(c[2]=d=>i.value.folderId=d),type:"text",placeholder:"Yandex Cloud folder identifier",class:"styled-input"},null,512),[[Mn,i.value.folderId]])])):ie("",!0),s.value==="deepl"?(y(),D("div",Yp,[c[13]||(c[13]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🎚️"),ot(" Tone Formality ")],-1)),g("div",Xp,[ut(g("select",{"onUpdate:modelValue":c[3]||(c[3]=d=>i.value.formality=d),class:"select-input"},[...c[11]||(c[11]=[g("option",{value:"default"}," Neutral (Default) ",-1),g("option",{value:"more"}," Formal Tone ",-1),g("option",{value:"less"}," Casual Tone ",-1)])],512),[[Pn,i.value.formality]]),c[12]||(c[12]=g("div",{class:"select-arrow"}," ▼ ",-1))])])):ie("",!0),s.value==="openai"?(y(),D("div",Zp,[c[15]||(c[15]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🤖"),ot(" AI Model Selection ")],-1)),g("div",Qp,[ut(g("select",{"onUpdate:modelValue":c[4]||(c[4]=d=>i.value.model=d),class:"select-input"},[(y(),D(te,null,Pe(a,d=>g("option",{key:d,value:d},G(d),9,eh)),64))],512),[[Pn,i.value.model]]),c[14]||(c[14]=g("div",{class:"select-arrow"}," ▼ ",-1))])])):ie("",!0),s.value==="deepseek"?(y(),D("div",th,[c[18]||(c[18]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🧠"),ot(" Reasoning Model ")],-1)),g("div",oh,[ut(g("select",{"onUpdate:modelValue":c[5]||(c[5]=d=>i.value.model=d),class:"select-input"},[...c[16]||(c[16]=[g("option",{value:"deepseek-chat"}," Chat Optimized ",-1),g("option",{value:"deepseek-reasoner"}," Advanced Reasoning ",-1)])],512),[[Pn,i.value.model]]),c[17]||(c[17]=g("div",{class:"select-arrow"}," ▼ ",-1))])])):ie("",!0)])):ie("",!0)]),_:1})])]))}}),[["styles",['@reference "tailwindcss";.translation-controls[data-v-946f5883],.translation-controls__content[data-v-946f5883]{@apply space-y-4;}.control-group[data-v-946f5883]{@apply space-y-2;}.control-label[data-v-946f5883]{@apply flex items-center text-sm font-medium text-slate-600;}.control-icon[data-v-946f5883]{@apply mr-2;}.control-select[data-v-946f5883]{@apply relative rounded-lg border border-slate-200 transition-all duration-200 hover:border-blue-400;}.select-input[data-v-946f5883]{@apply w-full px-3 py-2 pr-8 bg-transparent outline-hidden appearance-none text-slate-700 rounded-lg text-sm;}.select-arrow[data-v-946f5883]{@apply absolute right-2 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none text-xs;}.styled-input[data-v-946f5883]{@apply w-full px-3 py-2 rounded-lg border border-slate-200 outline-hidden transition-all duration-200 focus:ring-2 focus:ring-blue-200 focus:border-blue-400 placeholder-slate-400 text-sm;}.driver-options[data-v-946f5883]{@apply pl-4 border-l-2 border-blue-100 ml-2 space-y-3;}.fade-slide-enter-active[data-v-946f5883],.fade-slide-leave-active[data-v-946f5883]{transition:all .3s ease}.fade-slide-enter-from[data-v-946f5883],.fade-slide-leave-to[data-v-946f5883]{opacity:0;transform:translate(10px)}']],["__scopeId","data-v-946f5883"]]),sh={class:"settings-view"},rh={class:"space-y-6"},$l="translationSettings",ih=_e(xe({__name:"SettingsView",setup(e){const t=re("disabled"),o=re(""),n=re({folderId:"",formality:"default",model:"gpt-3.5-turbo"});return At(()=>{const s=localStorage.getItem($l);if(s){const{driver:r,token:i,options:l}=JSON.parse(s);t.value=r,o.value=i,n.value=l||{}}}),Te([t,o,n],async()=>{await ct();const s={driver:t.value,token:o.value,options:n.value};localStorage.setItem($l,JSON.stringify(s))},{deep:!0}),(s,r)=>(y(),D("div",sh,[g("div",rh,[Y(Hp,{title:"Auto-Translation Engine",icon:"🌐"},{default:we(()=>[Y(nh,{driver:t.value,"onUpdate:driver":r[0]||(r[0]=i=>t.value=i),"api-token":o.value,"onUpdate:apiToken":r[1]||(r[1]=i=>o.value=i),options:n.value,"onUpdate:options":r[2]||(r[2]=i=>n.value=i)},null,8,["driver","api-token","options"])]),_:1})])]))}}),[["styles",['@reference "tailwindcss";.settings-view[data-v-8ffb2606]{@apply h-full overflow-auto p-4;}']],["__scopeId","data-v-8ffb2606"]]),lh={class:"i18n-devtools"},ah={class:"header"},ch={class:"content-area"},dh={class:"view-container"},uh=_e(xe({__name:"App.ce",props:{bridge:{type:Object,required:!1}},setup(e){const t=e,o=mu();ui(wl,o);const n=re("i18n"),s=[{label:"i18n",value:"i18n",icon:Ls},{label:"Settings",value:"settings",icon:xl},{label:"Server Info",value:"config",icon:yl}],r=async l=>{o.bridge.value||(console.log("[i18n-devtools] Bridge received, initializing..."),o.setBridge(l),await o.init())};Te(()=>t.bridge,l=>{l&&r(l)},{immediate:!0});const i=oe(()=>o.isLoading.value||!o.bridge.value);return At(()=>{t.bridge?r(t.bridge):console.log("[i18n-devtools] Waiting for bridge...")}),(l,a)=>(y(),D("div",lh,[i.value?(y(),be(Fs,{key:0})):(y(),D(te,{key:1},[g("div",ah,[Y(gu,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=u=>n.value=u),tabs:s},null,8,["modelValue"])]),g("div",ch,[g("div",dh,[n.value==="i18n"?(y(),be(Ip,{key:0})):ie("",!0),n.value==="settings"?(y(),be(ih,{key:1})):ie("",!0),n.value==="config"?(y(),be(uf,{key:2})):ie("",!0)])])],64))]))}}),[["styles",['@layer theme,base,components,utilities;@layer theme{@theme default{ --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --color-red-50: oklch(97.1% .013 17.38); --color-red-100: oklch(93.6% .032 17.717); --color-red-200: oklch(88.5% .062 18.334); --color-red-300: oklch(80.8% .114 19.571); --color-red-400: oklch(70.4% .191 22.216); --color-red-500: oklch(63.7% .237 25.331); --color-red-600: oklch(57.7% .245 27.325); --color-red-700: oklch(50.5% .213 27.518); --color-red-800: oklch(44.4% .177 26.899); --color-red-900: oklch(39.6% .141 25.723); --color-red-950: oklch(25.8% .092 26.042); --color-orange-50: oklch(98% .016 73.684); --color-orange-100: oklch(95.4% .038 75.164); --color-orange-200: oklch(90.1% .076 70.697); --color-orange-300: oklch(83.7% .128 66.29); --color-orange-400: oklch(75% .183 55.934); --color-orange-500: oklch(70.5% .213 47.604); --color-orange-600: oklch(64.6% .222 41.116); --color-orange-700: oklch(55.3% .195 38.402); --color-orange-800: oklch(47% .157 37.304); --color-orange-900: oklch(40.8% .123 38.172); --color-orange-950: oklch(26.6% .079 36.259); --color-amber-50: oklch(98.7% .022 95.277); --color-amber-100: oklch(96.2% .059 95.617); --color-amber-200: oklch(92.4% .12 95.746); --color-amber-300: oklch(87.9% .169 91.605); --color-amber-400: oklch(82.8% .189 84.429); --color-amber-500: oklch(76.9% .188 70.08); --color-amber-600: oklch(66.6% .179 58.318); --color-amber-700: oklch(55.5% .163 48.998); --color-amber-800: oklch(47.3% .137 46.201); --color-amber-900: oklch(41.4% .112 45.904); --color-amber-950: oklch(27.9% .077 45.635); --color-yellow-50: oklch(98.7% .026 102.212); --color-yellow-100: oklch(97.3% .071 103.193); --color-yellow-200: oklch(94.5% .129 101.54); --color-yellow-300: oklch(90.5% .182 98.111); --color-yellow-400: oklch(85.2% .199 91.936); --color-yellow-500: oklch(79.5% .184 86.047); --color-yellow-600: oklch(68.1% .162 75.834); --color-yellow-700: oklch(55.4% .135 66.442); --color-yellow-800: oklch(47.6% .114 61.907); --color-yellow-900: oklch(42.1% .095 57.708); --color-yellow-950: oklch(28.6% .066 53.813); --color-lime-50: oklch(98.6% .031 120.757); --color-lime-100: oklch(96.7% .067 122.328); --color-lime-200: oklch(93.8% .127 124.321); --color-lime-300: oklch(89.7% .196 126.665); --color-lime-400: oklch(84.1% .238 128.85); --color-lime-500: oklch(76.8% .233 130.85); --color-lime-600: oklch(64.8% .2 131.684); --color-lime-700: oklch(53.2% .157 131.589); --color-lime-800: oklch(45.3% .124 130.933); --color-lime-900: oklch(40.5% .101 131.063); --color-lime-950: oklch(27.4% .072 132.109); --color-green-50: oklch(98.2% .018 155.826); --color-green-100: oklch(96.2% .044 156.743); --color-green-200: oklch(92.5% .084 155.995); --color-green-300: oklch(87.1% .15 154.449); --color-green-400: oklch(79.2% .209 151.711); --color-green-500: oklch(72.3% .219 149.579); --color-green-600: oklch(62.7% .194 149.214); --color-green-700: oklch(52.7% .154 150.069); --color-green-800: oklch(44.8% .119 151.328); --color-green-900: oklch(39.3% .095 152.535); --color-green-950: oklch(26.6% .065 152.934); --color-emerald-50: oklch(97.9% .021 166.113); --color-emerald-100: oklch(95% .052 163.051); --color-emerald-200: oklch(90.5% .093 164.15); --color-emerald-300: oklch(84.5% .143 164.978); --color-emerald-400: oklch(76.5% .177 163.223); --color-emerald-500: oklch(69.6% .17 162.48); --color-emerald-600: oklch(59.6% .145 163.225); --color-emerald-700: oklch(50.8% .118 165.612); --color-emerald-800: oklch(43.2% .095 166.913); --color-emerald-900: oklch(37.8% .077 168.94); --color-emerald-950: oklch(26.2% .051 172.552); --color-teal-50: oklch(98.4% .014 180.72); --color-teal-100: oklch(95.3% .051 180.801); --color-teal-200: oklch(91% .096 180.426); --color-teal-300: oklch(85.5% .138 181.071); --color-teal-400: oklch(77.7% .152 181.912); --color-teal-500: oklch(70.4% .14 182.503); --color-teal-600: oklch(60% .118 184.704); --color-teal-700: oklch(51.1% .096 186.391); --color-teal-800: oklch(43.7% .078 188.216); --color-teal-900: oklch(38.6% .063 188.416); --color-teal-950: oklch(27.7% .046 192.524); --color-cyan-50: oklch(98.4% .019 200.873); --color-cyan-100: oklch(95.6% .045 203.388); --color-cyan-200: oklch(91.7% .08 205.041); --color-cyan-300: oklch(86.5% .127 207.078); --color-cyan-400: oklch(78.9% .154 211.53); --color-cyan-500: oklch(71.5% .143 215.221); --color-cyan-600: oklch(60.9% .126 221.723); --color-cyan-700: oklch(52% .105 223.128); --color-cyan-800: oklch(45% .085 224.283); --color-cyan-900: oklch(39.8% .07 227.392); --color-cyan-950: oklch(30.2% .056 229.695); --color-sky-50: oklch(97.7% .013 236.62); --color-sky-100: oklch(95.1% .026 236.824); --color-sky-200: oklch(90.1% .058 230.902); --color-sky-300: oklch(82.8% .111 230.318); --color-sky-400: oklch(74.6% .16 232.661); --color-sky-500: oklch(68.5% .169 237.323); --color-sky-600: oklch(58.8% .158 241.966); --color-sky-700: oklch(50% .134 242.749); --color-sky-800: oklch(44.3% .11 240.79); --color-sky-900: oklch(39.1% .09 240.876); --color-sky-950: oklch(29.3% .066 243.157); --color-blue-50: oklch(97% .014 254.604); --color-blue-100: oklch(93.2% .032 255.585); --color-blue-200: oklch(88.2% .059 254.128); --color-blue-300: oklch(80.9% .105 251.813); --color-blue-400: oklch(70.7% .165 254.624); --color-blue-500: oklch(62.3% .214 259.815); --color-blue-600: oklch(54.6% .245 262.881); --color-blue-700: oklch(48.8% .243 264.376); --color-blue-800: oklch(42.4% .199 265.638); --color-blue-900: oklch(37.9% .146 265.522); --color-blue-950: oklch(28.2% .091 267.935); --color-indigo-50: oklch(96.2% .018 272.314); --color-indigo-100: oklch(93% .034 272.788); --color-indigo-200: oklch(87% .065 274.039); --color-indigo-300: oklch(78.5% .115 274.713); --color-indigo-400: oklch(67.3% .182 276.935); --color-indigo-500: oklch(58.5% .233 277.117); --color-indigo-600: oklch(51.1% .262 276.966); --color-indigo-700: oklch(45.7% .24 277.023); --color-indigo-800: oklch(39.8% .195 277.366); --color-indigo-900: oklch(35.9% .144 278.697); --color-indigo-950: oklch(25.7% .09 281.288); --color-violet-50: oklch(96.9% .016 293.756); --color-violet-100: oklch(94.3% .029 294.588); --color-violet-200: oklch(89.4% .057 293.283); --color-violet-300: oklch(81.1% .111 293.571); --color-violet-400: oklch(70.2% .183 293.541); --color-violet-500: oklch(60.6% .25 292.717); --color-violet-600: oklch(54.1% .281 293.009); --color-violet-700: oklch(49.1% .27 292.581); --color-violet-800: oklch(43.2% .232 292.759); --color-violet-900: oklch(38% .189 293.745); --color-violet-950: oklch(28.3% .141 291.089); --color-purple-50: oklch(97.7% .014 308.299); --color-purple-100: oklch(94.6% .033 307.174); --color-purple-200: oklch(90.2% .063 306.703); --color-purple-300: oklch(82.7% .119 306.383); --color-purple-400: oklch(71.4% .203 305.504); --color-purple-500: oklch(62.7% .265 303.9); --color-purple-600: oklch(55.8% .288 302.321); --color-purple-700: oklch(49.6% .265 301.924); --color-purple-800: oklch(43.8% .218 303.724); --color-purple-900: oklch(38.1% .176 304.987); --color-purple-950: oklch(29.1% .149 302.717); --color-fuchsia-50: oklch(97.7% .017 320.058); --color-fuchsia-100: oklch(95.2% .037 318.852); --color-fuchsia-200: oklch(90.3% .076 319.62); --color-fuchsia-300: oklch(83.3% .145 321.434); --color-fuchsia-400: oklch(74% .238 322.16); --color-fuchsia-500: oklch(66.7% .295 322.15); --color-fuchsia-600: oklch(59.1% .293 322.896); --color-fuchsia-700: oklch(51.8% .253 323.949); --color-fuchsia-800: oklch(45.2% .211 324.591); --color-fuchsia-900: oklch(40.1% .17 325.612); --color-fuchsia-950: oklch(29.3% .136 325.661); --color-pink-50: oklch(97.1% .014 343.198); --color-pink-100: oklch(94.8% .028 342.258); --color-pink-200: oklch(89.9% .061 343.231); --color-pink-300: oklch(82.3% .12 346.018); --color-pink-400: oklch(71.8% .202 349.761); --color-pink-500: oklch(65.6% .241 354.308); --color-pink-600: oklch(59.2% .249 .584); --color-pink-700: oklch(52.5% .223 3.958); --color-pink-800: oklch(45.9% .187 3.815); --color-pink-900: oklch(40.8% .153 2.432); --color-pink-950: oklch(28.4% .109 3.907); --color-rose-50: oklch(96.9% .015 12.422); --color-rose-100: oklch(94.1% .03 12.58); --color-rose-200: oklch(89.2% .058 10.001); --color-rose-300: oklch(81% .117 11.638); --color-rose-400: oklch(71.2% .194 13.428); --color-rose-500: oklch(64.5% .246 16.439); --color-rose-600: oklch(58.6% .253 17.585); --color-rose-700: oklch(51.4% .222 16.935); --color-rose-800: oklch(45.5% .188 13.697); --color-rose-900: oklch(41% .159 10.272); --color-rose-950: oklch(27.1% .105 12.094); --color-slate-50: oklch(98.4% .003 247.858); --color-slate-100: oklch(96.8% .007 247.896); --color-slate-200: oklch(92.9% .013 255.508); --color-slate-300: oklch(86.9% .022 252.894); --color-slate-400: oklch(70.4% .04 256.788); --color-slate-500: oklch(55.4% .046 257.417); --color-slate-600: oklch(44.6% .043 257.281); --color-slate-700: oklch(37.2% .044 257.287); --color-slate-800: oklch(27.9% .041 260.031); --color-slate-900: oklch(20.8% .042 265.755); --color-slate-950: oklch(12.9% .042 264.695); --color-gray-50: oklch(98.5% .002 247.839); --color-gray-100: oklch(96.7% .003 264.542); --color-gray-200: oklch(92.8% .006 264.531); --color-gray-300: oklch(87.2% .01 258.338); --color-gray-400: oklch(70.7% .022 261.325); --color-gray-500: oklch(55.1% .027 264.364); --color-gray-600: oklch(44.6% .03 256.802); --color-gray-700: oklch(37.3% .034 259.733); --color-gray-800: oklch(27.8% .033 256.848); --color-gray-900: oklch(21% .034 264.665); --color-gray-950: oklch(13% .028 261.692); --color-zinc-50: oklch(98.5% 0 0); --color-zinc-100: oklch(96.7% .001 286.375); --color-zinc-200: oklch(92% .004 286.32); --color-zinc-300: oklch(87.1% .006 286.286); --color-zinc-400: oklch(70.5% .015 286.067); --color-zinc-500: oklch(55.2% .016 285.938); --color-zinc-600: oklch(44.2% .017 285.786); --color-zinc-700: oklch(37% .013 285.805); --color-zinc-800: oklch(27.4% .006 286.033); --color-zinc-900: oklch(21% .006 285.885); --color-zinc-950: oklch(14.1% .005 285.823); --color-neutral-50: oklch(98.5% 0 0); --color-neutral-100: oklch(97% 0 0); --color-neutral-200: oklch(92.2% 0 0); --color-neutral-300: oklch(87% 0 0); --color-neutral-400: oklch(70.8% 0 0); --color-neutral-500: oklch(55.6% 0 0); --color-neutral-600: oklch(43.9% 0 0); --color-neutral-700: oklch(37.1% 0 0); --color-neutral-800: oklch(26.9% 0 0); --color-neutral-900: oklch(20.5% 0 0); --color-neutral-950: oklch(14.5% 0 0); --color-stone-50: oklch(98.5% .001 106.423); --color-stone-100: oklch(97% .001 106.424); --color-stone-200: oklch(92.3% .003 48.717); --color-stone-300: oklch(86.9% .005 56.366); --color-stone-400: oklch(70.9% .01 56.259); --color-stone-500: oklch(55.3% .013 58.071); --color-stone-600: oklch(44.4% .011 73.639); --color-stone-700: oklch(37.4% .01 67.558); --color-stone-800: oklch(26.8% .007 34.298); --color-stone-900: oklch(21.6% .006 56.043); --color-stone-950: oklch(14.7% .004 49.25); --color-black: #000; --color-white: #fff; --spacing: .25rem; --breakpoint-sm: 40rem; --breakpoint-md: 48rem; --breakpoint-lg: 64rem; --breakpoint-xl: 80rem; --breakpoint-2xl: 96rem; --container-3xs: 16rem; --container-2xs: 18rem; --container-xs: 20rem; --container-sm: 24rem; --container-md: 28rem; --container-lg: 32rem; --container-xl: 36rem; --container-2xl: 42rem; --container-3xl: 48rem; --container-4xl: 56rem; --container-5xl: 64rem; --container-6xl: 72rem; --container-7xl: 80rem; --text-xs: .75rem; --text-xs--line-height: calc(1 / .75); --text-sm: .875rem; --text-sm--line-height: calc(1.25 / .875); --text-base: 1rem; --text-base--line-height: 1.5 ; --text-lg: 1.125rem; --text-lg--line-height: calc(1.75 / 1.125); --text-xl: 1.25rem; --text-xl--line-height: calc(1.75 / 1.25); --text-2xl: 1.5rem; --text-2xl--line-height: calc(2 / 1.5); --text-3xl: 1.875rem; --text-3xl--line-height: 1.2 ; --text-4xl: 2.25rem; --text-4xl--line-height: calc(2.5 / 2.25); --text-5xl: 3rem; --text-5xl--line-height: 1; --text-6xl: 3.75rem; --text-6xl--line-height: 1; --text-7xl: 4.5rem; --text-7xl--line-height: 1; --text-8xl: 6rem; --text-8xl--line-height: 1; --text-9xl: 8rem; --text-9xl--line-height: 1; --font-weight-thin: 100; --font-weight-extralight: 200; --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700; --font-weight-extrabold: 800; --font-weight-black: 900; --tracking-tighter: -.05em; --tracking-tight: -.025em; --tracking-normal: 0em; --tracking-wide: .025em; --tracking-wider: .05em; --tracking-widest: .1em; --leading-tight: 1.25; --leading-snug: 1.375; --leading-normal: 1.5; --leading-relaxed: 1.625; --leading-loose: 2; --radius-xs: .125rem; --radius-sm: .25rem; --radius-md: .375rem; --radius-lg: .5rem; --radius-xl: .75rem; --radius-2xl: 1rem; --radius-3xl: 1.5rem; --radius-4xl: 2rem; --shadow-2xs: 0 1px rgb(0 0 0 / .05); --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05); --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25); --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / .05); --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / .05); --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / .05); --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / .05); --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / .15); --drop-shadow-md: 0 3px 3px rgb(0 0 0 / .12); --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / .15); --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / .1); --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / .15); --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / .15); --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / .2); --text-shadow-sm: 0px 1px 0px rgb(0 0 0 / .075), 0px 1px 1px rgb(0 0 0 / .075), 0px 2px 2px rgb(0 0 0 / .075); --text-shadow-md: 0px 1px 1px rgb(0 0 0 / .1), 0px 1px 2px rgb(0 0 0 / .1), 0px 2px 4px rgb(0 0 0 / .1); --text-shadow-lg: 0px 1px 2px rgb(0 0 0 / .1), 0px 3px 2px rgb(0 0 0 / .1), 0px 4px 8px rgb(0 0 0 / .1); --ease-in: cubic-bezier(.4, 0, 1, 1); --ease-out: cubic-bezier(0, 0, .2, 1); --ease-in-out: cubic-bezier(.4, 0, .2, 1); --animate-spin: spin 1s linear infinite; --animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite; --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; --animate-bounce: bounce 1s infinite; @keyframes spin { to { transform: rotate(360deg); } } @keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } } @keyframes pulse { 50% { opacity: .5; } } @keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); } 50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); } } --blur-xs: 4px; --blur-sm: 8px; --blur-md: 12px; --blur-lg: 16px; --blur-xl: 24px; --blur-2xl: 40px; --blur-3xl: 64px; --perspective-dramatic: 100px; --perspective-near: 300px; --perspective-normal: 500px; --perspective-midrange: 800px; --perspective-distant: 1200px; --aspect-video: 16 / 9; --default-transition-duration: .15s; --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1); --default-font-family: --theme(--font-sans, initial); --default-font-feature-settings: --theme( --font-sans--font-feature-settings, initial ); --default-font-variation-settings: --theme( --font-sans--font-variation-settings, initial ); --default-mono-font-family: --theme(--font-mono, initial); --default-mono-font-feature-settings: --theme( --font-mono--font-feature-settings, initial ); --default-mono-font-variation-settings: --theme( --font-mono--font-variation-settings, initial ); }@theme default inline reference{ --blur: 8px; --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1); --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / .05); --drop-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 1px 1px rgb(0 0 0 / .06); --radius: .25rem; --max-width-prose: 65ch; }}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:--theme(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:--theme(--default-font-feature-settings,normal);font-variation-settings:--theme(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:--theme(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:--theme(--default-mono-font-feature-settings,normal);font-variation-settings:--theme(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{@tailwind utilities;}.i18n-devtools{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:host{display:block;width:100%;height:100vh;overflow:hidden}.i18n-devtools{@apply antialiased text-slate-700 bg-white flex flex-col w-full h-full overflow-hidden;}.header{@apply shrink-0 border-b border-slate-200 bg-white z-20 relative;}.content-area{@apply flex-1 relative w-full h-full overflow-hidden;}.view-container{@apply absolute inset-0 w-full h-full overflow-hidden;}']]]);function fh(e){const{adapter:t,locales:o=[],defaultLocale:n="en",translationDir:s="src/locales"}=e,r=()=>{const i={},l=t.getRouteCache();for(const[a,u]of Object.entries(l)){if(!u||typeof u!="object"||Array.isArray(u)||Object.keys(u).length===0)continue;const c=a.indexOf(":");if(c===-1)continue;const d=a.substring(0,c),p=a.substring(c+1);p==="index"?i[`${d}.json`]=u:i[`pages/${p}/${d}.json`]=u}return i};return{async getLocalesAndTranslations(){return r()},async getConfigs(){return{defaultLocale:n||t.getCurrentLocale?.()||"en",fallbackLocale:t.getFallbackLocale?.()||n||"en",locales:o||[],translationDir:s||"locales"}},async saveTranslation(i,l){try{const a=i.replace(/^\/+/,"").replace(/\/+/g,"/"),u=a.match(/^pages\/([^/]+)\/([^/]+)\.json$/);if(u){const[,d,p]=u;p&&d&&t.addRouteTranslations(p,d,l,!1)}else{const d=a.match(/^([^/]+)\.json$/);if(d){const[,p]=d;p&&t.addTranslations(p,l,!1)}else throw new Error(`Unknown file path format: ${i}`)}const c=s?`${s}/${a}`:a;try{const d=await fetch("/__i18n_api/save",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({file:c,content:l})});if(!d.ok){const p=await d.json().catch(()=>({error:"Unknown error"}));throw new Error(p.error||`Network response was not ok: ${d.statusText}`)}console.log(`[i18n-bridge] Saved to disk: ${c}`)}catch(d){if(typeof localStorage<"u"){console.warn("[i18n-bridge] Server save failed, falling back to localStorage:",d);const p=`i18n_save_${i}`;localStorage.setItem(p,JSON.stringify(l,null,2))}else throw d}}catch(a){throw new Error(`Failed to save: ${a instanceof Error?a.message:String(a)}`)}},onLocalesUpdate(i){return t.subscribe(()=>{i(r())})}}}function ph(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}function hh(){const e=new Map,t=new Set;window.addEventListener("message",n=>{const s=n.data;if(!(!s||s.jsonrpc!=="2.0"))if("id"in s&&s.id&&e.has(s.id)){const r=e.get(s.id);if(r){const{resolve:i,reject:l}=r;e.delete(s.id),s.error?l(new Error(s.error.message)):i(s.result)}}else"method"in s&&s.method==="localesUpdate"&&t.forEach(r=>{r(s.params)})});const o=(n,s)=>new Promise((r,i)=>{const l=ph();e.set(l,{resolve:r,reject:i});const a={jsonrpc:"2.0",id:l,method:n,params:s};window.parent.postMessage(a,"*")});return{getLocalesAndTranslations:()=>o("getLocalesAndTranslations"),getConfigs:()=>o("getConfigs"),saveTranslation:(n,s)=>o("saveTranslation",{file:n,content:s}),onLocalesUpdate:n=>(t.add(n),()=>{t.delete(n)})}}function gh(e,t){const o=async s=>{if(s.source!==e)return;const r=s.data;if(!r||r.jsonrpc!=="2.0"||!r.id)return;const i={jsonrpc:"2.0",id:r.id};try{switch(r.method){case"getLocalesAndTranslations":i.result=await t.getLocalesAndTranslations();break;case"getConfigs":i.result=await t.getConfigs();break;case"saveTranslation":{const l=r.params;await t.saveTranslation(l.file,l.content),i.result=!0;break}default:throw new Error(`Method ${r.method} not found`)}}catch(l){const a=l instanceof Error?l.message:String(l);i.error={code:-32603,message:a}}e.postMessage(i,"*")};window.addEventListener("message",o);const n=t.onLocalesUpdate(s=>{const r={jsonrpc:"2.0",method:"localesUpdate",params:s};e.postMessage(r,"*")});return()=>{window.removeEventListener("message",o),n()}}const Ol=Ad(uh);function mh(){customElements.get("i18n-devtools-ui")||customElements.define("i18n-devtools-ui",Ol)}rt.I18nDevToolsElement=Ol,rt.createBridge=fh,rt.createRpcClient=hh,rt.register=mh,rt.setupRpcHost=gh,Object.defineProperty(rt,Symbol.toStringTag,{value:"Module"})}));
7
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Le=Wc;function Uc(e){return Bc(e)}function Bc(e,t){Hc();const o=vo();o.__VUE__=!0,m.NODE_ENV!=="production"&&Cr(o.__VUE_DEVTOOLS_GLOBAL_HOOK__,o);const{insert:n,remove:s,patchProp:r,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:b=Se,insertStaticContent:N}=e,v=(f,h,_,$=null,w=null,E=null,V=void 0,T=null,C=m.NODE_ENV!=="production"&&ot?!1:!!h.dynamicChildren)=>{if(f===h)return;f&&!Yt(f,h)&&($=Fn(f),jt(f,w,E,!0),f=null),h.patchFlag===-2&&(C=!1,h.dynamicChildren=null);const{type:k,ref:W,shapeFlag:A}=h;switch(k){case jo:F(f,h,_,$);break;case ke:R(f,h,_,$);break;case Lo:f==null?H(h,_,$,V):m.NODE_ENV!=="production"&&B(f,h,_,V);break;case te:ce(f,h,_,$,w,E,V,T,C);break;default:A&1?L(f,h,_,$,w,E,V,T,C):A&6?ve(f,h,_,$,w,E,V,T,C):A&64||A&128?k.process(f,h,_,$,w,E,V,T,C,Yo):m.NODE_ENV!=="production"&&O("Invalid VNode type:",k,`(${typeof k})`)}W!=null&&w?Do(W,f&&f.ref,E,h||f,!h):W==null&&f&&f.ref!=null&&Do(f.ref,null,E,f,!0)},F=(f,h,_,$)=>{if(f==null)n(h.el=l(h.children),_,$);else{const w=h.el=f.el;h.children!==f.children&&u(w,h.children)}},R=(f,h,_,$)=>{f==null?n(h.el=a(h.children||""),_,$):h.el=f.el},H=(f,h,_,$)=>{[f.el,f.anchor]=N(f.children,h,_,$,f.el,f.anchor)},B=(f,h,_,$)=>{if(h.children!==f.children){const w=p(f.anchor);I(f),[h.el,h.anchor]=N(h.children,_,w,$)}else h.el=f.el,h.anchor=f.anchor},pe=({el:f,anchor:h},_,$)=>{let w;for(;f&&f!==h;)w=p(f),n(f,_,$),f=w;n(h,_,$)},I=({el:f,anchor:h})=>{let _;for(;f&&f!==h;)_=p(f),s(f),f=_;s(h)},L=(f,h,_,$,w,E,V,T,C)=>{if(h.type==="svg"?V="svg":h.type==="math"&&(V="mathml"),f==null)q(h,_,$,w,E,V,T,C);else{const k=f.el&&f.el._isVueCE?f.el:null;try{k&&k._beginPatch(),P(f,h,w,E,V,T,C)}finally{k&&k._endPatch()}}},q=(f,h,_,$,w,E,V,T)=>{let C,k;const{props:W,shapeFlag:A,transition:K,dirs:J}=f;if(C=f.el=i(f.type,E,W&&W.is,W),A&8?c(C,f.children):A&16&&x(f.children,C,null,$,w,Os(f,E),V,T),J&&zt(f,null,$,"created"),U(C,f,f.scopeId,V,$),W){for(const he in W)he!=="value"&&!_o(he)&&r(C,he,null,W[he],E,$);"value"in W&&r(C,"value",null,W.value,E),(k=W.onVnodeBeforeMount)&&ht(k,$,f)}m.NODE_ENV!=="production"&&(tn(C,"__vnode",f,!0),tn(C,"__vueParentComponent",$,!0)),J&&zt(f,null,$,"beforeMount");const ne=Kc(w,K);ne&&K.beforeEnter(C),n(C,h,_),((k=W&&W.onVnodeMounted)||ne||J)&&Le(()=>{k&&ht(k,$,f),ne&&K.enter(C),J&&zt(f,null,$,"mounted")},w)},U=(f,h,_,$,w)=>{if(_&&b(f,_),$)for(let E=0;E<$.length;E++)b(f,$[E]);if(w){let E=w.subTree;if(m.NODE_ENV!=="production"&&E.patchFlag>0&&E.patchFlag&2048&&(E=xs(E.children)||E),h===E||Ai(E.type)&&(E.ssContent===h||E.ssFallback===h)){const V=w.vnode;U(f,V,V.scopeId,V.slotScopeIds,w.parent)}}},x=(f,h,_,$,w,E,V,T,C=0)=>{for(let k=C;k<f.length;k++){const W=f[k]=T?It(f[k]):st(f[k]);v(null,W,h,_,$,w,E,V,T)}},P=(f,h,_,$,w,E,V)=>{const T=h.el=f.el;m.NODE_ENV!=="production"&&(T.__vnode=h);let{patchFlag:C,dynamicChildren:k,dirs:W}=h;C|=f.patchFlag&16;const A=f.props||le,K=h.props||le;let J;if(_&&Jt(_,!1),(J=K.onVnodeBeforeUpdate)&&ht(J,_,h,f),W&&zt(h,f,_,"beforeUpdate"),_&&Jt(_,!0),m.NODE_ENV!=="production"&&ot&&(C=0,V=!1,k=null),(A.innerHTML&&K.innerHTML==null||A.textContent&&K.textContent==null)&&c(T,""),k?(M(f.dynamicChildren,k,T,_,$,Os(h,w),E),m.NODE_ENV!=="production"&&Mo(f,h)):V||gt(f,h,T,null,_,$,Os(h,w),E,!1),C>0){if(C&16)S(T,A,K,_,w);else if(C&2&&A.class!==K.class&&r(T,"class",null,K.class,w),C&4&&r(T,"style",A.style,K.style,w),C&8){const ne=h.dynamicProps;for(let he=0;he<ne.length;he++){const de=ne[he],Ue=A[de],Be=K[de];(Be!==Ue||de==="value")&&r(T,de,Ue,Be,w,_)}}C&1&&f.children!==h.children&&c(T,h.children)}else!V&&k==null&&S(T,A,K,_,w);((J=K.onVnodeUpdated)||W)&&Le(()=>{J&&ht(J,_,h,f),W&&zt(h,f,_,"updated")},$)},M=(f,h,_,$,w,E,V)=>{for(let T=0;T<h.length;T++){const C=f[T],k=h[T],W=C.el&&(C.type===te||!Yt(C,k)||C.shapeFlag&198)?d(C.el):_;v(C,k,W,null,$,w,E,V,!0)}},S=(f,h,_,$,w)=>{if(h!==_){if(h!==le)for(const E in h)!_o(E)&&!(E in _)&&r(f,E,h[E],null,w,$);for(const E in _){if(_o(E))continue;const V=_[E],T=h[E];V!==T&&E!=="value"&&r(f,E,T,V,w,$)}"value"in _&&r(f,"value",h.value,_.value,w)}},ce=(f,h,_,$,w,E,V,T,C)=>{const k=h.el=f?f.el:l(""),W=h.anchor=f?f.anchor:l("");let{patchFlag:A,dynamicChildren:K,slotScopeIds:J}=h;m.NODE_ENV!=="production"&&(ot||A&2048)&&(A=0,C=!1,K=null),J&&(T=T?T.concat(J):J),f==null?(n(k,_,$),n(W,_,$),x(h.children||[],_,W,w,E,V,T,C)):A>0&&A&64&&K&&f.dynamicChildren?(M(f.dynamicChildren,K,_,w,E,V,T),m.NODE_ENV!=="production"?Mo(f,h):(h.key!=null||w&&h===w.subTree)&&Mo(f,h,!0)):gt(f,h,_,W,w,E,V,T,C)},ve=(f,h,_,$,w,E,V,T,C)=>{h.slotScopeIds=T,f==null?h.shapeFlag&512?w.ctx.activate(h,_,$,V,C):De(h,_,$,w,E,V,C):Ee(f,h,C)},De=(f,h,_,$,w,E,V)=>{const T=f.component=ed(f,$,w);if(m.NODE_ENV!=="production"&&T.type.__hmrId&&Aa(T),m.NODE_ENV!=="production"&&(pn(f),fo(T,"mount")),Vo(f)&&(T.ctx.renderer=Yo),m.NODE_ENV!=="production"&&fo(T,"init"),od(T,!1,V),m.NODE_ENV!=="production"&&po(T,"init"),m.NODE_ENV!=="production"&&ot&&(f.el=null),T.asyncDep){if(w&&w.registerDep(T,Z,V),!f.el){const C=T.subTree=Y(ke);R(null,C,h,_),f.placeholder=C.el}}else Z(T,f,h,_,w,E,V);m.NODE_ENV!=="production"&&(hn(),po(T,"mount"))},Ee=(f,h,_)=>{const $=h.component=f.component;if(Oc(f,h,_))if($.asyncDep&&!$.asyncResolved){m.NODE_ENV!=="production"&&pn(h),Q($,h,_),m.NODE_ENV!=="production"&&hn();return}else $.next=h,$.update();else h.el=f.el,$.vnode=h},Z=(f,h,_,$,w,E,V)=>{const T=()=>{if(f.isMounted){let{next:A,bu:K,u:J,parent:ne,vnode:he}=f;{const bt=Di(f);if(bt){A&&(A.el=he.el,Q(f,A,V)),bt.asyncDep.then(()=>{f.isUnmounted||T()});return}}let de=A,Ue;m.NODE_ENV!=="production"&&pn(A||f.vnode),Jt(f,!1),A?(A.el=he.el,Q(f,A,V)):A=he,K&&no(K),(Ue=A.props&&A.props.onVnodeBeforeUpdate)&&ht(Ue,ne,A,he),Jt(f,!0),m.NODE_ENV!=="production"&&fo(f,"render");const Be=mi(f);m.NODE_ENV!=="production"&&po(f,"render");const mt=f.subTree;f.subTree=Be,m.NODE_ENV!=="production"&&fo(f,"patch"),v(mt,Be,d(mt.el),Fn(mt),f,w,E),m.NODE_ENV!=="production"&&po(f,"patch"),A.el=Be.el,de===null&&$c(f,Be.el),J&&Le(J,w),(Ue=A.props&&A.props.onVnodeUpdated)&&Le(()=>ht(Ue,ne,A,he),w),m.NODE_ENV!=="production"&&Tr(f),m.NODE_ENV!=="production"&&hn()}else{let A;const{el:K,props:J}=h,{bm:ne,m:he,parent:de,root:Ue,type:Be}=f,mt=co(h);Jt(f,!1),ne&&no(ne),!mt&&(A=J&&J.onVnodeBeforeMount)&&ht(A,de,h),Jt(f,!0);{Ue.ce&&Ue.ce._def.shadowRoot!==!1&&Ue.ce._injectChildStyle(Be),m.NODE_ENV!=="production"&&fo(f,"render");const bt=f.subTree=mi(f);m.NODE_ENV!=="production"&&po(f,"render"),m.NODE_ENV!=="production"&&fo(f,"patch"),v(null,bt,_,$,f,w,E),m.NODE_ENV!=="production"&&po(f,"patch"),h.el=bt.el}if(he&&Le(he,w),!mt&&(A=J&&J.onVnodeMounted)){const bt=h;Le(()=>ht(A,de,bt),w)}(h.shapeFlag&256||de&&co(de.vnode)&&de.vnode.shapeFlag&256)&&f.a&&Le(f.a,w),f.isMounted=!0,m.NODE_ENV!=="production"&&Fa(f),h=_=$=null}};f.scope.on();const C=f.effect=new er(T);f.scope.off();const k=f.update=C.run.bind(C),W=f.job=C.runIfDirty.bind(C);W.i=f,W.id=f.uid,C.scheduler=()=>mn(W),Jt(f,!0),m.NODE_ENV!=="production"&&(C.onTrack=f.rtc?A=>no(f.rtc,A):void 0,C.onTrigger=f.rtg?A=>no(f.rtg,A):void 0),k()},Q=(f,h,_)=>{h.component=f;const $=f.vnode.props;f.vnode=h,f.next=null,Tc(f,h.props,$,_),Rc(f,h.children,_),Xe(),kr(f),Ze()},gt=(f,h,_,$,w,E,V,T,C=!1)=>{const k=f&&f.children,W=f?f.shapeFlag:0,A=h.children,{patchFlag:K,shapeFlag:J}=h;if(K>0){if(K&128){Jo(k,A,_,$,w,E,V,T,C);return}else if(K&256){Bs(k,A,_,$,w,E,V,T,C);return}}J&8?(W&16&&Go(k,w,E),A!==k&&c(_,A)):W&16?J&16?Jo(k,A,_,$,w,E,V,T,C):Go(k,w,E,!0):(W&8&&c(_,""),J&16&&x(A,_,$,w,E,V,T,C))},Bs=(f,h,_,$,w,E,V,T,C)=>{f=f||to,h=h||to;const k=f.length,W=h.length,A=Math.min(k,W);let K;for(K=0;K<A;K++){const J=h[K]=C?It(h[K]):st(h[K]);v(f[K],J,_,null,w,E,V,T,C)}k>W?Go(f,w,E,!0,!1,A):x(h,_,$,w,E,V,T,C,A)},Jo=(f,h,_,$,w,E,V,T,C)=>{let k=0;const W=h.length;let A=f.length-1,K=W-1;for(;k<=A&&k<=K;){const J=f[k],ne=h[k]=C?It(h[k]):st(h[k]);if(Yt(J,ne))v(J,ne,_,null,w,E,V,T,C);else break;k++}for(;k<=A&&k<=K;){const J=f[A],ne=h[K]=C?It(h[K]):st(h[K]);if(Yt(J,ne))v(J,ne,_,null,w,E,V,T,C);else break;A--,K--}if(k>A){if(k<=K){const J=K+1,ne=J<W?h[J].el:$;for(;k<=K;)v(null,h[k]=C?It(h[k]):st(h[k]),_,ne,w,E,V,T,C),k++}}else if(k>K)for(;k<=A;)jt(f[k],w,E,!0),k++;else{const J=k,ne=k,he=new Map;for(k=ne;k<=K;k++){const Fe=h[k]=C?It(h[k]):st(h[k]);Fe.key!=null&&(m.NODE_ENV!=="production"&&he.has(Fe.key)&&O("Duplicate keys found during update:",JSON.stringify(Fe.key),"Make sure keys are unique."),he.set(Fe.key,k))}let de,Ue=0;const Be=K-ne+1;let mt=!1,bt=0;const Xo=new Array(Be);for(k=0;k<Be;k++)Xo[k]=0;for(k=J;k<=A;k++){const Fe=f[k];if(Ue>=Be){jt(Fe,w,E,!0);continue}let _t;if(Fe.key!=null)_t=he.get(Fe.key);else for(de=ne;de<=K;de++)if(Xo[de-ne]===0&&Yt(Fe,h[de])){_t=de;break}_t===void 0?jt(Fe,w,E,!0):(Xo[_t-ne]=k+1,_t>=bt?bt=_t:mt=!0,v(Fe,h[_t],_,null,w,E,V,T,C),Ue++)}const Tl=mt?zc(Xo):to;for(de=Tl.length-1,k=Be-1;k>=0;k--){const Fe=ne+k,_t=h[Fe],Dl=h[Fe+1],Vl=Fe+1<W?Dl.el||Dl.placeholder:$;Xo[k]===0?v(null,_t,_,Vl,w,E,V,T,C):mt&&(de<0||k!==Tl[de]?go(_t,_,Vl,2):de--)}}},go=(f,h,_,$,w=null)=>{const{el:E,type:V,transition:T,children:C,shapeFlag:k}=f;if(k&6){go(f.component.subTree,h,_,$);return}if(k&128){f.suspense.move(h,_,$);return}if(k&64){V.move(f,h,_,Yo);return}if(V===te){n(E,h,_);for(let A=0;A<C.length;A++)go(C[A],h,_,$);n(f.anchor,h,_);return}if(V===Lo){pe(f,h,_);return}if($!==2&&k&1&&T)if($===0)T.beforeEnter(E),n(E,h,_),Le(()=>T.enter(E),w);else{const{leave:A,delayLeave:K,afterLeave:J}=T,ne=()=>{f.ctx.isUnmounted?s(E):n(E,h,_)},he=()=>{E._isLeaving&&E[Et](!0),A(E,()=>{ne(),J&&J()})};K?K(E,ne,he):he()}else n(E,h,_)},jt=(f,h,_,$=!1,w=!1)=>{const{type:E,props:V,ref:T,children:C,dynamicChildren:k,shapeFlag:W,patchFlag:A,dirs:K,cacheIndex:J}=f;if(A===-2&&(w=!1),T!=null&&(Xe(),Do(T,null,_,f,!0),Ze()),J!=null&&(h.renderCache[J]=void 0),W&256){h.ctx.deactivate(f);return}const ne=W&1&&K,he=!co(f);let de;if(he&&(de=V&&V.onVnodeBeforeUnmount)&&ht(de,h,f),W&6)yh(f.component,_,$);else{if(W&128){f.suspense.unmount(_,$);return}ne&&zt(f,null,h,"beforeUnmount"),W&64?f.type.remove(f,h,_,Yo,$):k&&!k.hasOnce&&(E!==te||A>0&&A&64)?Go(k,h,_,!1,!0):(E===te&&A&384||!w&&W&16)&&Go(C,h,_),$&&Ks(f)}(he&&(de=V&&V.onVnodeUnmounted)||ne)&&Le(()=>{de&&ht(de,h,f),ne&&zt(f,null,h,"unmounted")},_)},Ks=f=>{const{type:h,el:_,anchor:$,transition:w}=f;if(h===te){m.NODE_ENV!=="production"&&f.patchFlag>0&&f.patchFlag&2048&&w&&!w.persisted?f.children.forEach(V=>{V.type===ke?s(V.el):Ks(V)}):vh(_,$);return}if(h===Lo){I(f);return}const E=()=>{s(_),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:V,delayLeave:T}=w,C=()=>V(_,E);T?T(f.el,E,C):C()}else E()},vh=(f,h)=>{let _;for(;f!==h;)_=p(f),s(f),f=_;s(h)},yh=(f,h,_)=>{m.NODE_ENV!=="production"&&f.type.__hmrId&&Ia(f);const{bum:$,scope:w,job:E,subTree:V,um:T,m:C,a:k}=f;Vi(C),Vi(k),$&&no($),w.stop(),E&&(E.flags|=8,jt(V,f,h,_)),T&&Le(T,h),Le(()=>{f.isUnmounted=!0},h),m.NODE_ENV!=="production"&&Ha(f)},Go=(f,h,_,$=!1,w=!1,E=0)=>{for(let V=E;V<f.length;V++)jt(f[V],h,_,$,w)},Fn=f=>{if(f.shapeFlag&6)return Fn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),_=h&&h[Ir];return _?p(_):h};let zs=!1;const Cl=(f,h,_)=>{f==null?h._vnode&&jt(h._vnode,null,null,!0):v(h._vnode||null,f,h,null,null,null,_),h._vnode=f,zs||(zs=!0,kr(),Nr(),zs=!1)},Yo={p:v,um:jt,m:go,r:Ks,mt:De,mc:x,pc:gt,pbc:M,n:Fn,o:e};return{render:Cl,hydrate:void 0,createApp:bc(Cl)}}function Os({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Jt({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mo(e,t,o=!1){const n=e.children,s=t.children;if(j(n)&&j(s))for(let r=0;r<n.length;r++){const i=n[r];let l=s[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[r]=It(s[r]),l.el=i.el),!o&&l.patchFlag!==-2&&Mo(i,l)),l.type===jo&&l.patchFlag!==-1&&(l.el=i.el),l.type===ke&&!l.el&&(l.el=i.el),m.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function zc(e){const t=e.slice(),o=[0];let n,s,r,i,l;const a=e.length;for(n=0;n<a;n++){const u=e[n];if(u!==0){if(s=o[o.length-1],e[s]<u){t[n]=s,o.push(n);continue}for(r=0,i=o.length-1;r<i;)l=r+i>>1,e[o[l]]<u?r=l+1:i=l;u<e[o[r]]&&(r>0&&(t[n]=o[r-1]),o[r]=n)}}for(r=o.length,i=o[r-1];r-- >0;)o[r]=i,i=t[i];return o}function Di(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Di(t)}function Vi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ai=e=>e.__isSuspense;function Wc(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Er(e)}const te=Symbol.for("v-fgt"),jo=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),Lo=Symbol.for("v-stc"),Fo=[];let Ke=null;function y(e=!1){Fo.push(Ke=e?null:[])}function qc(){Fo.pop(),Ke=Fo[Fo.length-1]||null}let Ro=1;function Cn(e,t=!1){Ro+=e,e<0&&Ke&&t&&(Ke.hasOnce=!0)}function Ii(e){return e.dynamicChildren=Ro>0?Ke||to:null,qc(),Ro>0&&Ke&&Ke.push(e),e}function D(e,t,o,n,s,r){return Ii(g(e,t,o,n,s,r,!0))}function be(e,t,o,n,s){return Ii(Y(e,t,o,n,s,!0))}function Gt(e){return e?e.__v_isVNode===!0:!1}function Yt(e,t){if(m.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const o=bn.get(t.type);if(o&&o.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const Jc=(...e)=>Mi(...e),Pi=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||Ne(e)||z(e)?{i:Oe,r:e,k:t,f:!!o}:e:null);function g(e,t=null,o=null,n=0,s=null,r=e===te?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pi(t),ref:t&&Tn(t),scopeId:Vr,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Oe};return l?($s(a,o),r&128&&e.normalize(a)):o&&(a.shapeFlag|=me(o)?8:16),m.NODE_ENV!=="production"&&a.key!==a.key&&O("VNode created with invalid key (NaN). VNode type:",a.type),Ro>0&&!i&&Ke&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ke.push(a),a}const Y=m.NODE_ENV!=="production"?Jc:Mi;function Mi(e,t=null,o=null,n=0,s=null,r=!1){if((!e||e===Qr)&&(m.NODE_ENV!=="production"&&!e&&O(`Invalid vnode type when creating vnode: ${e}.`),e=ke),Gt(e)){const l=pt(e,t,!0);return o&&$s(l,o),Ro>0&&!r&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag=-2,l}if(Bi(e)&&(e=e.__vccOpts),t){t=Gc(t);let{class:l,style:a}=t;l&&!me(l)&&(t.class=ye(l)),se(a)&&(dn(a)&&!j(a)&&(a=ge({},a)),t.style=yt(a))}const i=me(e)?1:Ai(e)?128:Pr(e)?64:se(e)?4:z(e)?2:0;return m.NODE_ENV!=="production"&&i&4&&dn(e)&&(e=X(e),O("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
8
+ Component that was made reactive: `,e)),g(e,t,o,n,s,i,r,!0)}function Gc(e){return e?dn(e)||wi(e)?ge({},e):e:null}function pt(e,t,o=!1,n=!1){const{props:s,ref:r,patchFlag:i,children:l,transition:a}=e,u=t?Xc(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Pi(u),ref:t&&t.ref?o&&r?j(r)?r.concat(Tn(t)):[r,Tn(t)]:Tn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:m.NODE_ENV!=="production"&&i===-1&&j(l)?l.map(ji):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pt(e.ssContent),ssFallback:e.ssFallback&&pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&To(c,a.clone(c)),c}function ji(e){const t=pt(e);return j(e.children)&&(t.children=e.children.map(ji)),t}function nt(e=" ",t=0){return Y(jo,null,e,t)}function Yc(e,t){const o=Y(Lo,null,e);return o.staticCount=t,o}function ie(e="",t=!1){return t?(y(),be(ke,null,e)):Y(ke,null,e)}function st(e){return e==null||typeof e=="boolean"?Y(ke):j(e)?Y(te,null,e.slice()):Gt(e)?It(e):Y(jo,null,String(e))}function It(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pt(e)}function $s(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(j(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),$s(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!wi(t)?t._ctx=Oe:s===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Oe},o=32):(t=String(t),n&64?(o=16,t=[nt(t)]):o=8);e.children=t,e.shapeFlag|=o}function Xc(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=ye([t.class,n.class]));else if(s==="style")t.style=yt([t.style,n.style]);else if(mo(s)){const r=t[s],i=n[s];i&&r!==i&&!(j(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=n[s])}return t}function ht(e,t,o,n=null){tt(e,t,7,[o,n])}const Zc=ui();let Qc=0;function ed(e,t,o){const n=e.type,s=(t?t.appContext:e.appContext)||Zc,r={uid:Qc++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Yl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ki(n,s),emitsOptions:gi(n,s),emit:null,emitted:null,propsDefaults:le,inheritAttrs:n.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return m.NODE_ENV!=="production"?r.ctx=lc(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=wc.bind(null,r),e.ce&&e.ce(r),r}let $e=null;const Ss=()=>$e||Oe;let Dn,Cs;{const e=vo(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};Dn=t("__VUE_INSTANCE_SETTERS__",o=>$e=o),Cs=t("__VUE_SSR_SETTERS__",o=>Uo=o)}const Ho=e=>{const t=$e;return Dn(e),e.scope.on(),()=>{e.scope.off(),Dn(t)}},Li=()=>{$e&&$e.scope.off(),Dn(null)},td=vt("slot,component");function Ts(e,{isNativeTag:t}){(td(e)||t(e))&&O("Do not use built-in or reserved HTML elements as component id: "+e)}function Fi(e){return e.vnode.shapeFlag&4}let Uo=!1;function od(e,t=!1,o=!1){t&&Cs(t);const{props:n,children:s}=e.vnode,r=Fi(e);Sc(e,n,r,t),Fc(e,s,o||t);const i=r?nd(e,t):void 0;return t&&Cs(!1),i}function nd(e,t){const o=e.type;if(m.NODE_ENV!=="production"){if(o.name&&Ts(o.name,e.appContext.config),o.components){const s=Object.keys(o.components);for(let r=0;r<s.length;r++)Ts(s[r],e.appContext.config)}if(o.directives){const s=Object.keys(o.directives);for(let r=0;r<s.length;r++)Ar(s[r])}o.compilerOptions&&sd()&&O('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,si),m.NODE_ENV!=="production"&&ac(e);const{setup:n}=o;if(n){Xe();const s=e.setupContext=n.length>1?id(e):null,r=Ho(e),i=io(n,e,0,[m.NODE_ENV!=="production"?lt(e.props):e.props,s]),l=Hn(i);if(Ze(),r(),(l||e.sp)&&!co(e)&&qr(e),l){if(i.then(Li,Li),t)return i.then(a=>{Ri(e,a,t)}).catch(a=>{Oo(a,e,0)});if(e.asyncDep=i,m.NODE_ENV!=="production"&&!e.suspense){const a=Bo(e,o);O(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ri(e,i,t)}else Hi(e,t)}function Ri(e,t,o){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)?(m.NODE_ENV!=="production"&&Gt(t)&&O("setup() should not return VNodes directly - return a render function instead."),m.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=vr(t),m.NODE_ENV!=="production"&&cc(e)):m.NODE_ENV!=="production"&&t!==void 0&&O(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Hi(e,o)}const sd=()=>!0;function Hi(e,t,o){const n=e.type;e.render||(e.render=n.render||Se);{const s=Ho(e);Xe();try{uc(e)}finally{Ze(),s()}}m.NODE_ENV!=="production"&&!n.render&&e.render===Se&&!t&&(n.template?O('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):O("Component is missing template or render function: ",n))}const Ui=m.NODE_ENV!=="production"?{get(e,t){return $n(),Ce(e,"get",""),e[t]},set(){return O("setupContext.attrs is readonly."),!1},deleteProperty(){return O("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ce(e,"get",""),e[t]}};function rd(e){return new Proxy(e.slots,{get(t,o){return Ce(e,"get","$slots"),t[o]}})}function id(e){const t=o=>{if(m.NODE_ENV!=="production"&&(e.exposed&&O("expose() should be called only once per setup()."),o!=null)){let n=typeof o;n==="object"&&(j(o)?n="array":Ne(o)&&(n="ref")),n!=="object"&&O(`expose() should be passed a plain object, received ${n}.`)}e.exposed=o||{}};if(m.NODE_ENV!=="production"){let o,n;return Object.freeze({get attrs(){return o||(o=new Proxy(e.attrs,Ui))},get slots(){return n||(n=rd(e))},get emit(){return(s,...r)=>e.emit(s,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,Ui),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vr(ba(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in qt)return qt[o](e)},has(t,o){return o in t||o in qt}})):e.proxy}const ld=/(?:^|[-_])\w/g,ad=e=>e.replace(ld,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ds(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Bo(e,t,o=!1){let n=Ds(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=r=>{for(const i in r)if(r[i]===t)return i};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?ad(n):o?"App":"Anonymous"}function Bi(e){return z(e)&&"__vccOpts"in e}const oe=(e,t)=>{const o=wa(e,t,Uo);if(m.NODE_ENV!=="production"){const n=Ss();n&&n.appContext.config.warnRecursiveComputed&&(o._warnRecursive=!0)}return o};function cd(e,t,o){try{Cn(-1);const n=arguments.length;return n===2?se(t)&&!j(t)?Gt(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Gt(o)&&(o=[o]),Y(e,t,o))}finally{Cn(1)}}function dd(){if(m.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},o={style:"color:#f5222d"},n={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(d){if(!se(d))return null;if(d.__isVue)return["div",e,"VueInstance"];if(Ne(d)){Xe();const p=d.value;return Ze(),["div",{},["span",e,c(d)],"<",l(p),">"]}else{if(Dt(d))return["div",{},["span",e,Ie(d)?"ShallowReactive":"Reactive"],"<",l(d),`>${Qe(d)?" (readonly)":""}`];if(Qe(d))return["div",{},["span",e,Ie(d)?"ShallowReadonly":"Readonly"],"<",l(d),">"]}return null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const p=[];d.type.props&&d.props&&p.push(i("props",X(d.props))),d.setupState!==le&&p.push(i("setup",d.setupState)),d.data!==le&&p.push(i("data",X(d.data)));const b=a(d,"computed");b&&p.push(i("computed",b));const N=a(d,"inject");return N&&p.push(i("injected",N)),p.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),p}function i(d,p){return p=ge({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(b=>["div",{},["span",n,b+": "],l(p[b],!1)])]]:["span",{}]}function l(d,p=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",o,JSON.stringify(d)]:typeof d=="boolean"?["span",n,d]:se(d)?["object",{object:p?X(d):d}]:["span",o,String(d)]}function a(d,p){const b=d.type;if(z(b))return;const N={};for(const v in d.ctx)u(b,v,p)&&(N[v]=d.ctx[v]);return N}function u(d,p,b){const N=d[b];if(j(N)&&N.includes(p)||se(N)&&p in N||d.extends&&u(d.extends,p,b)||d.mixins&&d.mixins.some(v=>u(v,p,b)))return!0}function c(d){return Ie(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const Ki="3.5.25",ze=m.NODE_ENV!=="production"?O:Se;var Ae={};let Vs;const zi=typeof window<"u"&&window.trustedTypes;if(zi)try{Vs=zi.createPolicy("vue",{createHTML:e=>e})}catch(e){Ae.NODE_ENV!=="production"&&ze(`Error creating trusted types policy: ${e}`)}const Wi=Vs?e=>Vs.createHTML(e):e=>e,ud="http://www.w3.org/2000/svg",fd="http://www.w3.org/1998/Math/MathML",Ot=typeof document<"u"?document:null,qi=Ot&&Ot.createElement("template"),pd={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?Ot.createElementNS(ud,e):t==="mathml"?Ot.createElementNS(fd,e):o?Ot.createElement(e,{is:o}):Ot.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Ot.createTextNode(e),createComment:e=>Ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,r){const i=o?o.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===r||!(s=s.nextSibling)););else{qi.innerHTML=Wi(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=qi.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,o)}return[i?i.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Pt="transition",Ko="animation",zo=Symbol("_vtc"),Ji={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},hd=ge({},Hr,Ji),As=(e=>(e.displayName="Transition",e.props=hd,e))((e,{slots:t})=>cd(Ga,gd(e),t)),Xt=(e,t=[])=>{j(e)?e.forEach(o=>o(...t)):e&&e(...t)},Gi=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function gd(e){const t={};for(const S in e)S in Ji||(t[S]=e[S]);if(e.css===!1)return t;const{name:o="v",type:n,duration:s,enterFromClass:r=`${o}-enter-from`,enterActiveClass:i=`${o}-enter-active`,enterToClass:l=`${o}-enter-to`,appearFromClass:a=r,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${o}-leave-from`,leaveActiveClass:p=`${o}-leave-active`,leaveToClass:b=`${o}-leave-to`}=e,N=md(s),v=N&&N[0],F=N&&N[1],{onBeforeEnter:R,onEnter:H,onEnterCancelled:B,onLeave:pe,onLeaveCancelled:I,onBeforeAppear:L=R,onAppear:q=H,onAppearCancelled:U=B}=t,x=(S,ce,ve,De)=>{S._enterCancelled=De,Zt(S,ce?c:l),Zt(S,ce?u:i),ve&&ve()},P=(S,ce)=>{S._isLeaving=!1,Zt(S,d),Zt(S,b),Zt(S,p),ce&&ce()},M=S=>(ce,ve)=>{const De=S?q:H,Ee=()=>x(ce,S,ve);Xt(De,[ce,Ee]),Yi(()=>{Zt(ce,S?a:r),$t(ce,S?c:l),Gi(De)||Xi(ce,n,v,Ee)})};return ge(t,{onBeforeEnter(S){Xt(R,[S]),$t(S,r),$t(S,i)},onBeforeAppear(S){Xt(L,[S]),$t(S,a),$t(S,u)},onEnter:M(!1),onAppear:M(!0),onLeave(S,ce){S._isLeaving=!0;const ve=()=>P(S,ce);$t(S,d),S._enterCancelled?($t(S,p),el(S)):(el(S),$t(S,p)),Yi(()=>{S._isLeaving&&(Zt(S,d),$t(S,b),Gi(pe)||Xi(S,n,F,ve))}),Xt(pe,[S,ve])},onEnterCancelled(S){x(S,!1,void 0,!0),Xt(B,[S])},onAppearCancelled(S){x(S,!0,void 0,!0),Xt(U,[S])},onLeaveCancelled(S){P(S),Xt(I,[S])}})}function md(e){if(e==null)return null;if(se(e))return[Is(e.enter),Is(e.leave)];{const t=Is(e);return[t,t]}}function Is(e){const t=Kn(e);return Ae.NODE_ENV!=="production"&&Ca(t,"<transition> explicit duration"),t}function $t(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[zo]||(e[zo]=new Set)).add(t)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const o=e[zo];o&&(o.delete(t),o.size||(e[zo]=void 0))}function Yi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bd=0;function Xi(e,t,o,n){const s=e._endId=++bd,r=()=>{s===e._endId&&n()};if(o!=null)return setTimeout(r,o);const{type:i,timeout:l,propCount:a}=_d(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,p),r()},p=b=>{b.target===e&&++c>=a&&d()};setTimeout(()=>{c<a&&d()},l+1),e.addEventListener(u,p)}function _d(e,t){const o=window.getComputedStyle(e),n=N=>(o[N]||"").split(", "),s=n(`${Pt}Delay`),r=n(`${Pt}Duration`),i=Zi(s,r),l=n(`${Ko}Delay`),a=n(`${Ko}Duration`),u=Zi(l,a);let c=null,d=0,p=0;t===Pt?i>0&&(c=Pt,d=i,p=r.length):t===Ko?u>0&&(c=Ko,d=u,p=a.length):(d=Math.max(i,u),c=d>0?i>u?Pt:Ko:null,p=c?c===Pt?r.length:a.length:0);const b=c===Pt&&/\b(?:transform|all)(?:,|$)/.test(n(`${Pt}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:b}}function Zi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,n)=>Qi(o)+Qi(e[n])))}function Qi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function el(e){return(e?e.ownerDocument:document).body.offsetHeight}function vd(e,t,o){const n=e[zo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const An=Symbol("_vod"),tl=Symbol("_vsh"),yd={name:"show",beforeMount(e,{value:t},{transition:o}){e[An]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Wo(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Wo(e,!0),n.enter(e)):n.leave(e,()=>{Wo(e,!1)}):Wo(e,t))},beforeUnmount(e,{value:t}){Wo(e,t)}};function Wo(e,t){e.style.display=t?e[An]:"none",e[tl]=!t}const xd=Symbol(Ae.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),wd=/(?:^|;)\s*display\s*:/;function Ed(e,t,o){const n=e.style,s=me(o);let r=!1;if(o&&!s){if(t)if(me(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();o[l]==null&&In(n,l,"")}else for(const i in t)o[i]==null&&In(n,i,"");for(const i in o)i==="display"&&(r=!0),In(n,i,o[i])}else if(s){if(t!==o){const i=n[xd];i&&(o+=";"+i),n.cssText=o,r=wd.test(o)}}else t&&e.removeAttribute("style");An in e&&(e[An]=r?n.display:"",e[tl]&&(n.display="none"))}const kd=/[^\\];\s*$/,ol=/\s*!important$/;function In(e,t,o){if(j(o))o.forEach(n=>In(e,t,n));else if(o==null&&(o=""),Ae.NODE_ENV!=="production"&&kd.test(o)&&ze(`Unexpected semicolon at the end of '${t}' style value: '${o}'`),t.startsWith("--"))e.setProperty(t,o);else{const n=Nd(e,t);ol.test(o)?e.setProperty(Re(n),o.replace(ol,""),"important"):e[n]=o}}const nl=["Webkit","Moz","ms"],Ps={};function Nd(e,t){const o=Ps[t];if(o)return o;let n=Ve(t);if(n!=="filter"&&n in e)return Ps[t]=n;n=Ft(n);for(let s=0;s<nl.length;s++){const r=nl[s]+n;if(r in e)return Ps[t]=r}return t}const sl="http://www.w3.org/1999/xlink";function rl(e,t,o,n,s,r=Jl(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(sl,t.slice(6,t.length)):e.setAttributeNS(sl,t,o):o==null||r&&!Xs(o)?e.removeAttribute(t):e.setAttribute(t,r?"":Je(o)?String(o):o)}function il(e,t,o,n,s){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?Wi(o):o);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=o==null?e.type==="checkbox"?"on":"":String(o);(l!==a||!("_value"in e))&&(e.value=a),o==null&&e.removeAttribute(t),e._value=o;return}let i=!1;if(o===""||o==null){const l=typeof e[t];l==="boolean"?o=Xs(o):o==null&&l==="string"?(o="",i=!0):l==="number"&&(o=0,i=!0)}try{e[t]=o}catch(l){Ae.NODE_ENV!=="production"&&!i&&ze(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${o} is invalid.`,l)}i&&e.removeAttribute(s||t)}function Mt(e,t,o,n){e.addEventListener(t,o,n)}function Od(e,t,o,n){e.removeEventListener(t,o,n)}const ll=Symbol("_vei");function $d(e,t,o,n,s=null){const r=e[ll]||(e[ll]={}),i=r[t];if(n&&i)i.value=Ae.NODE_ENV!=="production"?cl(n,t):n;else{const[l,a]=Sd(t);if(n){const u=r[t]=Dd(Ae.NODE_ENV!=="production"?cl(n,t):n,s);Mt(e,l,u,a)}else i&&(Od(e,l,i,a),r[t]=void 0)}}const al=/(?:Once|Passive|Capture)$/;function Sd(e){let t;if(al.test(e)){t={};let n;for(;n=e.match(al);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Re(e.slice(2)),t]}let Ms=0;const Cd=Promise.resolve(),Td=()=>Ms||(Cd.then(()=>Ms=0),Ms=Date.now());function Dd(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;tt(Vd(n,o.value),t,5,[n])};return o.value=e,o.attached=Td(),o}function cl(e,t){return z(e)||j(e)?e:(ze(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
9
+ Expected function or array of functions, received type ${typeof e}.`),Se)}function Vd(e,t){if(j(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const dl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ad=(e,t,o,n,s,r)=>{const i=s==="svg";t==="class"?vd(e,n,i):t==="style"?Ed(e,o,n):mo(t)?Zo(t)||$d(e,t,o,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Id(e,t,n,i))?(il(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rl(e,t,n,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!me(n))?il(e,Ve(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),rl(e,t,n,i))};function Id(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&dl(t)&&z(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return dl(t)&&me(o)?!1:t in e}const ul={};function Pd(e,t,o){let n=xe(e,t);Qo(n)&&(n=ge({},n,t));class s extends js{constructor(i){super(n,i,o)}}return s.def=n,s}const Md=typeof HTMLElement<"u"?HTMLElement:class{};class js extends Md{constructor(t,o={},n=yl){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==yl?this._root=this.shadowRoot:(Ae.NODE_ENV!=="production"&&this.shadowRoot&&ze("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(ge({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof js){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,ct(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:i}=n;let l;if(r&&!j(r))for(const a in r){const u=r[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=Kn(this._props[a])),(l||(l=Object.create(null)))[Ve(a)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot?this._applyStyles(i):Ae.NODE_ENV!=="production"&&i&&ze("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){Ae.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)ee(this,n)?Ae.NODE_ENV!=="production"&&ze(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>fe(o[n])})}_resolveProps(t){const{props:o}=t,n=j(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(Ve))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):ul;const s=Ve(t);o&&this._numberProps&&this._numberProps[s]&&(n=Kn(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===ul?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),o===!0?this.setAttribute(Re(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Re(t),o+""):o||this.removeAttribute(Re(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Kd(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Y(this._def,ge(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,Ae.NODE_ENV!=="production"&&(n.ceReload=r=>{this._styles&&(this._styles.forEach(i=>this._root.removeChild(i)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const s=(r,i)=>{this.dispatchEvent(new CustomEvent(r,Qo(i[0])?ge({detail:i},i[0]):{detail:i}))};n.emit=(r,...i)=>{s(r,i),Re(r)!==r&&s(Re(r),i)},this._setParent()}),o}_applyStyles(t,o){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");if(n&&r.setAttribute("nonce",n),r.textContent=t[s],this.shadowRoot.prepend(r),Ae.NODE_ENV!=="production")if(o){if(o.__hmrId){this._childStyles||(this._childStyles=new Map);let i=this._childStyles.get(o.__hmrId);i||this._childStyles.set(o.__hmrId,i=[]),i.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=this._getSlots(),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",i=this._slots[r],l=s.parentNode;if(i)for(const a of i){if(o&&a.nodeType===1){const u=o+"-s",c=document.createTreeWalker(a,1);a.setAttribute(u,"");let d;for(;d=c.nextNode();)d.setAttribute(u,"")}l.insertBefore(a,s)}else for(;s.firstChild;)l.insertBefore(s.firstChild,s);l.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const o=new Set;for(const n of t){const s=n.querySelectorAll("slot");for(let r=0;r<s.length;r++)o.add(s[r])}return Array.from(o)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(Ae.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const o=this._childStyles.get(t.__hmrId);o&&(o.forEach(n=>this._root.removeChild(n)),o.length=0)}}}const ho=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?o=>no(t,o):t};function jd(e){e.target.composing=!0}function fl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const St=Symbol("_assign");function pl(e,t,o){return t&&(e=e.trim()),o&&(e=on(e)),e}const Pn={created(e,{modifiers:{lazy:t,trim:o,number:n}},s){e[St]=ho(s);const r=n||s.props&&s.props.type==="number";Mt(e,t?"change":"input",i=>{i.target.composing||e[St](pl(e.value,o,r))}),(o||r)&&Mt(e,"change",()=>{e.value=pl(e.value,o,r)}),t||(Mt(e,"compositionstart",jd),Mt(e,"compositionend",fl),Mt(e,"change",fl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:s,number:r}},i){if(e[St]=ho(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?on(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(n&&t===o||s&&e.value.trim()===a)||(e.value=a))}},Ld={deep:!0,created(e,t,o){e[St]=ho(o),Mt(e,"change",()=>{const n=e._modelValue,s=qo(e),r=e.checked,i=e[St];if(j(n)){const l=zn(n,s),a=l!==-1;if(r&&!a)i(n.concat(s));else if(!r&&a){const u=[...n];u.splice(l,1),i(u)}}else if(oo(n)){const l=new Set(n);r?l.add(s):l.delete(s),i(l)}else i(ml(e,r))})},mounted:hl,beforeUpdate(e,t,o){e[St]=ho(o),hl(e,t,o)}};function hl(e,{value:t,oldValue:o},n){e._modelValue=t;let s;if(j(t))s=zn(t,n.props.value)>-1;else if(oo(t))s=t.has(n.props.value);else{if(t===o)return;s=yo(t,ml(e,!0))}e.checked!==s&&(e.checked=s)}const Mn={deep:!0,created(e,{value:t,modifiers:{number:o}},n){const s=oo(t);Mt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>o?on(qo(i)):qo(i));e[St](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,ct(()=>{e._assigning=!1})}),e[St]=ho(n)},mounted(e,{value:t}){gl(e,t)},beforeUpdate(e,t,o){e[St]=ho(o)},updated(e,{value:t}){e._assigning||gl(e,t)}};function gl(e,t){const o=e.multiple,n=j(t);if(o&&!n&&!oo(t)){Ae.NODE_ENV!=="production"&&ze(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let s=0,r=e.options.length;s<r;s++){const i=e.options[s],l=qo(i);if(o)if(n){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=zn(t,l)>-1}else i.selected=t.has(l);else if(yo(qo(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!o&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function qo(e){return"_value"in e?e._value:e.value}function ml(e,t){const o=t?"_trueValue":"_falseValue";return o in e?e[o]:t}const Fd=["ctrl","shift","alt","meta"],Rd={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)=>Fd.some(o=>e[`${o}Key`]&&!t.includes(o))},bl=(e,t)=>{const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=((s,...r)=>{for(let i=0;i<t.length;i++){const l=Rd[t[i]];if(l&&l(s,t))return}return e(s,...r)}))},Hd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ud=(e,t)=>{const o=e._withKeys||(e._withKeys={}),n=t.join(".");return o[n]||(o[n]=(s=>{if(!("key"in s))return;const r=Re(s.key);if(t.some(i=>i===r||Hd[i]===r))return e(s)}))},Bd=ge({patchProp:Ad},pd);let _l;function vl(){return _l||(_l=Uc(Bd))}const Kd=((...e)=>{vl().render(...e)}),yl=((...e)=>{const t=vl().createApp(...e);Ae.NODE_ENV!=="production"&&(Wd(t),qd(t));const{mount:o}=t;return t.mount=n=>{const s=Jd(n);if(!s)return;const r=t._component;!z(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=o(s,!1,zd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t});function zd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wd(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>zl(t)||Wl(t)||ql(t),writable:!1})}function qd(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){ze("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const o=e.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return ze(n),o},set(){ze(n)}})}}function Jd(e){if(me(e)){const t=document.querySelector(e);return Ae.NODE_ENV!=="production"&&!t&&ze(`Failed to mount app: mount target selector "${e}" returned null.`),t}return Ae.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&ze('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}var Gd={};function Yd(){dd()}Gd.NODE_ENV!=="production"&&Yd();const Xd=".icon[data-v-6fc289e2]{width:1em;height:1em;display:inline-block;vertical-align:middle}",_e=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},Zd={},Qd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"icon"};function eu(e,t){return y(),D("svg",Qd,[...t[0]||(t[0]=[g("circle",{cx:"12",cy:"12",r:"10"},null,-1),g("line",{x1:"2",y1:"12",x2:"22",y2:"12"},null,-1),g("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"},null,-1)])])}const Ls=_e(Zd,[["render",eu],["styles",[Xd]],["__scopeId","data-v-6fc289e2"]]),tu=".icon[data-v-4c3ea1ca]{width:1em;height:1em;display:inline-block;vertical-align:middle}",ou={},nu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"icon"};function su(e,t){return y(),D("svg",nu,[...t[0]||(t[0]=[g("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},null,-1),g("line",{x1:"9",y1:"3",x2:"9",y2:"21"},null,-1),g("line",{x1:"3",y1:"9",x2:"21",y2:"9"},null,-1)])])}const xl=_e(ou,[["render",su],["styles",[tu]],["__scopeId","data-v-4c3ea1ca"]]),ru=".icon[data-v-65e4a862]{width:1em;height:1em;display:inline-block;vertical-align:middle}",iu={},lu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"icon"};function au(e,t){return y(),D("svg",lu,[...t[0]||(t[0]=[g("circle",{cx:"12",cy:"12",r:"3"},null,-1),g("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"},null,-1)])])}const wl=_e(iu,[["render",au],["styles",[ru]],["__scopeId","data-v-65e4a862"]]),cu={class:"loader-container"},du={class:"loader"},uu={class:"loader-text"},Fs=_e(xe({__name:"Loader",props:{message:{default:"Loading...",type:String},size:{default:"md",type:String}},setup(e){return(t,o)=>(y(),D("div",cu,[g("div",du,[o[0]||(o[0]=g("div",{class:"loader-circle"},null,-1)),g("div",uu,G(e.message),1)])]))}}),[["styles",[".loader-container[data-v-7b6a86d7]{display:flex;justify-content:center;align-items:center;min-height:100px;padding:20px}.loader[data-v-7b6a86d7]{text-align:center}.loader-circle[data-v-7b6a86d7]{display:inline-block;width:40px;height:40px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #3498db;animation:spin-7b6a86d7 1s linear infinite;margin-bottom:8px;transform-origin:center}.loader-text[data-v-7b6a86d7]{color:#666;font-size:14px}@keyframes spin-7b6a86d7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]],["__scopeId","data-v-7b6a86d7"]]),fu={class:"tabs"},pu=["onClick"],hu={key:0,class:"tab-icon"},gu=["innerHTML"],mu={class:"tab-label"},bu=_e(xe({__name:"Tabs",props:{modelValue:{type:String},tabs:{type:Array}},emits:["update:modelValue"],setup(e,{emit:t}){const o=e,n=t,s=re(o.modelValue);return Te(s,r=>{n("update:modelValue",r)}),(r,i)=>(y(),D("div",fu,[(y(!0),D(te,null,Me(e.tabs,l=>(y(),D("button",{key:l.value,class:ye(["tab",{active:s.value===l.value}]),onClick:a=>s.value=l.value},[l.icon?(y(),D("span",hu,[typeof l.icon!="string"?(y(),be(ei(typeof l.icon=="string"?"span":l.icon),{key:0})):(y(),D("span",{key:1,innerHTML:l.icon},null,8,gu))])):ie("",!0),g("span",mu,G(l.label),1)],10,pu))),128))]))}}),[["styles",['@reference "tailwindcss";.tabs[data-v-ce7b728f]{@apply flex border-b border-slate-200 bg-white sticky top-0 z-10;}.tab[data-v-ce7b728f]{@apply flex items-center gap-2 px-4 py-2 text-sm font-medium text-slate-600 border-b-2 border-transparent transition-all duration-200 hover:text-slate-800 hover:bg-slate-50;}.tab.active[data-v-ce7b728f]{@apply text-blue-600 border-blue-500 bg-blue-50;}.tab-icon[data-v-ce7b728f]{@apply text-base flex items-center;width:16px;height:16px}.tab-icon[data-v-ce7b728f] svg{width:100%;height:100%}.tab-label[data-v-ce7b728f]{@apply whitespace-nowrap;}']],["__scopeId","data-v-ce7b728f"]]),El=Symbol("i18n-state");function _u(){const e=re(!0),t=re(""),o=re({}),n=re({}),s=re({}),r=re(null),i=b=>{r.value=b},l=b=>{const N=b.replace(/^\/+/,"").replace(/\\/g,"/");t.value=b;let v=o.value[N];v||(v=o.value[b]),!v&&b.startsWith("/")&&(v=o.value[b.slice(1)]),v?s.value={...v}:(console.warn("[i18n-state] No content found for file:",b,"or normalized:",N),s.value={})},a=async()=>{const b=new Blob([JSON.stringify(s.value,null,2)],{type:"application/json"}),N=URL.createObjectURL(b),v=document.createElement("a");v.href=N,v.download="translations.json",v.click(),URL.revokeObjectURL(N)},u=b=>{const N=b.target;if(N.files&&N.files.length>0){const v=N.files[0];if(v){const F=new FileReader;F.onload=R=>{try{s.value=JSON.parse(R.target?.result)}catch{console.error("Invalid JSON file")}},F.readAsText(v)}}},c=()=>{const b=n.value.defaultLocale;if(!b)return{};const F=(t.value.replace(/^\/+/,"").replace(/\\/g,"/").split("/").pop()??"").replace(/^[^.]*\./,`${b}.`);let R=o.value[F];if(R||(R=o.value[`/${F}`]),!R){const H=Object.keys(o.value).find(B=>B.includes(`${b}.json`)||B.endsWith(`/${b}.json`));H&&(R=o.value[H])}return R??{}},d=async()=>{if(!r.value){console.warn("[i18n-devtools] Bridge not ready for init"),e.value=!1;return}try{e.value=!0;const[b,N]=await Promise.all([r.value.getLocalesAndTranslations(),r.value.getConfigs()]);o.value=b,n.value=N,r.value.onLocalesUpdate(v=>{o.value=v,t.value&&o.value[t.value]&&(s.value={...o.value[t.value]})})}catch(b){console.error("[i18n-devtools] Failed to initialize:",b),e.value=!1}finally{e.value=!1,console.log("[i18n-devtools] Initialization complete")}},p=async()=>{if(!(!r.value||!t.value||!s.value))try{await r.value.saveTranslation(t.value,s.value),o.value[t.value]={...s.value}}catch(b){throw console.error("Failed to save translation:",b),b}};return{isLoading:e,selectedFile:t,locales:o,configs:n,selectedFileContent:s,bridge:an(r),setBridge:i,init:d,handleFileSelected:l,exportTranslations:a,importTranslations:u,getDefaultLocaleTranslation:c,saveCurrent:p}}function jn(){const e=Io(El);if(!e)throw new Error("I18n state not provided. Make sure to use createI18nState() and provide it in the root component.");return e}const vu={class:"config-card"},yu={class:"config-card__header"},xu={class:"config-card__icon"},wu={key:0},Eu={class:"config-card__title"},ku={class:"config-card__content"},Rs=_e(xe({__name:"ConfigCard",props:{title:{type:String},icon:{type:String}},setup(e){return(t,o)=>(y(),D("div",vu,[g("div",yu,[g("span",xu,[ft(t.$slots,"icon",{},()=>[e.icon?(y(),D("span",wu,G(e.icon),1)):ie("",!0)])]),g("h3",Eu,G(e.title),1)]),g("div",ku,[ft(t.$slots,"default",{},void 0)])]))}}),[["styles",['@reference "tailwindcss";.config-card[data-v-3db26d7b]{@apply rounded-lg shadow-xs border border-slate-200 overflow-hidden bg-white;}.config-card__header[data-v-3db26d7b]{@apply flex items-center p-4 pb-3 border-b border-slate-100 bg-slate-50;}.config-card__icon[data-v-3db26d7b]{@apply text-lg mr-2 flex items-center;}.config-card__title[data-v-3db26d7b]{@apply text-lg font-semibold text-slate-800;}.config-card__content[data-v-3db26d7b]{@apply p-4;}']],["__scopeId","data-v-3db26d7b"]]),Nu={class:"status-indicator"},Hs=_e(xe({__name:"StatusIndicator",props:{status:{type:String},label:{type:String},size:{default:"md",type:String}},setup(e){const t=e,o=oe(()=>{const s="status-indicator__dot",r=`status-indicator__dot--${t.size}`;switch(t.status){case"active":case"enabled":case"success":return`${s} ${r} status-indicator__dot--success`;case"inactive":case"disabled":return`${s} ${r} status-indicator__dot--disabled`;case"warning":return`${s} ${r} status-indicator__dot--warning`;case"error":return`${s} ${r} status-indicator__dot--error`;case"info":return`${s} ${r} status-indicator__dot--info`;default:return`${s} ${r} status-indicator__dot--default`}}),n=oe(()=>{switch(t.status){case"active":case"enabled":case"success":return"text-green-700";case"inactive":case"disabled":return"text-red-700";case"warning":return"text-yellow-700";case"error":return"text-red-700";case"info":return"text-blue-700";default:return"text-slate-700"}});return(s,r)=>(y(),D("div",Nu,[g("div",{class:ye(["status-indicator__dot",o.value])},null,2),g("span",{class:ye(["status-indicator__text",n.value])},G(e.label),3)]))}}),[["styles",['@reference "tailwindcss";.status-indicator[data-v-ceddd4fb]{@apply flex items-center gap-2;}.status-indicator__dot[data-v-ceddd4fb]{@apply rounded-full transition-all duration-200;}.status-indicator__dot--sm[data-v-ceddd4fb]{@apply w-2 h-2;}.status-indicator__dot--md[data-v-ceddd4fb]{@apply w-3 h-3;}.status-indicator__dot--lg[data-v-ceddd4fb]{@apply w-4 h-4;}.status-indicator__dot--success[data-v-ceddd4fb]{@apply bg-green-500;box-shadow:0 0 0 2px #22c55e33}.status-indicator__dot--disabled[data-v-ceddd4fb]{@apply bg-red-500;box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--warning[data-v-ceddd4fb]{@apply bg-yellow-500;box-shadow:0 0 0 2px #eab30833}.status-indicator__dot--error[data-v-ceddd4fb]{@apply bg-red-500;box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--info[data-v-ceddd4fb]{@apply bg-blue-500;box-shadow:0 0 0 2px #3b82f633}.status-indicator__dot--default[data-v-ceddd4fb]{@apply bg-slate-500;box-shadow:0 0 0 2px #64748b33}.status-indicator__text[data-v-ceddd4fb]{@apply text-sm font-medium;}']],["__scopeId","data-v-ceddd4fb"]]),Ou={class:"locale-table-container"},$u={class:"locale-table-wrapper"},Su={class:"locale-table"},Cu={class:"locale-table__header"},Tu={class:"header-content"},Du={class:"header-icon"},Vu={key:1},Au={class:"header-text"},Iu={class:"locale-table__body"},Pu={class:"locale-table__cell"},Mu={class:"locale-code"},ju={class:"locale-code__text"},Lu={class:"locale-table__cell"},Fu={class:"locale-name"},Ru={class:"locale-table__cell"},Hu={class:"locale-iso"},Uu={class:"locale-table__cell"},Bu={class:"direction-indicator"},Ku={class:"locale-table__cell"},zu={class:"base-url"},Wu={class:"locale-table__cell"},qu=_e(xe({__name:"LocaleTable",props:{locales:{type:Array}},setup(e){const t=[{key:"code",label:"Code",icon:"🏷️"},{key:"name",label:"Display Name",icon:"📝"},{key:"iso",label:"ISO Code",iconComponent:Ls},{key:"dir",label:"Direction",icon:"↔️"},{key:"baseUrl",label:"Base URL",icon:"🔗"},{key:"status",label:"Status",icon:"⚡"}];return(o,n)=>(y(),D("div",Ou,[g("div",$u,[g("table",Su,[g("thead",Cu,[g("tr",null,[(y(),D(te,null,Me(t,s=>g("th",{key:s.key,class:"locale-table__header-cell"},[g("div",Tu,[g("span",Du,[s.iconComponent?(y(),be(ei(s.iconComponent),{key:0})):(y(),D("span",Vu,G(s.icon),1))]),g("span",Au,G(s.label),1)])])),64))])]),g("tbody",Iu,[(y(!0),D(te,null,Me(e.locales,s=>(y(),D("tr",{key:s.code,class:"locale-table__row"},[g("td",Pu,[g("div",Mu,[g("span",ju,G(s.code),1)])]),g("td",Lu,[g("span",Fu,G(s.displayName||"—"),1)]),g("td",Ru,[g("span",Hu,G(s.iso||"—"),1)]),g("td",Uu,[g("div",Bu,[g("span",{class:ye(["direction-badge",`direction-badge--${s.dir||"ltr"}`])},G((s.dir||"ltr").toUpperCase()),3)])]),g("td",Ku,[g("span",zu,G(s.baseUrl||"—"),1)]),g("td",Wu,[Y(Hs,{status:s.disabled?"disabled":"active",label:s.disabled?"Disabled":"Active",size:"sm"},null,8,["status","label"])])]))),128))])])])]))}}),[["styles",['@reference "tailwindcss";.locale-table-container[data-v-96ef3218]{@apply border rounded-xl overflow-hidden shadow-xs bg-white;}.locale-table-wrapper[data-v-96ef3218]{@apply overflow-x-auto;}.locale-table[data-v-96ef3218]{@apply w-full border-collapse;}.locale-table__header[data-v-96ef3218]{@apply bg-gradient-to-r from-slate-50 to-blue-50;}.locale-table__header-cell[data-v-96ef3218]{@apply px-4 py-4 text-left;}.header-content[data-v-96ef3218]{@apply flex items-center gap-2;}.header-icon[data-v-96ef3218]{@apply text-lg flex items-center;}.header-text[data-v-96ef3218]{@apply text-sm font-semibold text-slate-700;}.locale-table__row[data-v-96ef3218]{@apply border-t border-slate-100 transition-colors duration-200 hover:bg-slate-50;}.locale-table__cell[data-v-96ef3218]{@apply px-4 py-4 text-sm;}.locale-code[data-v-96ef3218]{@apply inline-flex items-center;}.locale-code__text[data-v-96ef3218]{@apply font-mono text-sm px-3 py-1 bg-blue-50 text-blue-700 rounded-lg border border-blue-200;}.locale-name[data-v-96ef3218]{@apply text-slate-700 font-medium;}.locale-iso[data-v-96ef3218]{@apply text-slate-600 font-mono text-xs px-2 py-1 bg-slate-100 rounded-sm;}.direction-indicator[data-v-96ef3218]{@apply flex items-center;}.direction-badge[data-v-96ef3218]{@apply px-2 py-1 rounded-full text-xs font-medium;}.direction-badge--ltr[data-v-96ef3218]{@apply bg-purple-100 text-purple-800;}.direction-badge--rtl[data-v-96ef3218]{@apply bg-orange-100 text-orange-800;}.base-url[data-v-96ef3218]{@apply text-slate-600 font-mono text-xs;}.locale-table__row[data-v-96ef3218]{animation:slideInLeft-96ef3218 .3s ease-out}@keyframes slideInLeft-96ef3218{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.locale-table__row[data-v-96ef3218]:nth-child(1){animation-delay:.1s}.locale-table__row[data-v-96ef3218]:nth-child(2){animation-delay:.2s}.locale-table__row[data-v-96ef3218]:nth-child(3){animation-delay:.3s}.locale-table__row[data-v-96ef3218]:nth-child(4){animation-delay:.4s}.locale-table__row[data-v-96ef3218]:nth-child(5){animation-delay:.5s}']],["__scopeId","data-v-96ef3218"]]),Ju={class:"config-view"},Gu={key:1,class:"space-y-6"},Yu={class:"settings-grid"},Xu={class:"config-row"},Zu={class:"config-value"},Qu={class:"config-row"},ef={class:"config-value capitalize"},tf={class:"config-row"},of={class:"config-value"},nf={class:"config-row"},sf={class:"settings-grid"},rf={class:"config-row"},lf={class:"config-row"},af={class:"config-value font-mono text-sm"},cf={class:"config-row"},df={class:"config-value font-mono text-sm text-blue-600"},uf={class:"config-row"},ff={class:"config-value font-mono text-sm"},pf=_e(xe({__name:"ConfigView",setup(e){const{isLoading:t,configs:o}=jn();return(n,s)=>(y(),D("div",Ju,[fe(t)?(y(),be(Fs,{key:0})):(y(),D("div",Gu,[Y(Rs,{title:"General Configuration"},{icon:we(()=>[Y(wl)]),default:we(()=>[g("div",Yu,[g("div",Xu,[s[0]||(s[0]=g("span",{class:"config-label"},"Default Locale",-1)),g("span",Zu,G(fe(o).defaultLocale||"—"),1)]),g("div",Qu,[s[1]||(s[1]=g("span",{class:"config-label"},"Routing Strategy",-1)),g("span",ef,G(fe(o).strategy||"—"),1)]),g("div",tf,[s[2]||(s[2]=g("span",{class:"config-label"},"Fallback Locale",-1)),g("span",of,G(fe(o).fallbackLocale||"—"),1)]),g("div",nf,[s[3]||(s[3]=g("span",{class:"config-label"},"Debug Mode",-1)),Y(Hs,{status:fe(o).debug?"enabled":"disabled",label:fe(o).debug?"Active":"Inactive"},null,8,["status","label"])])])]),_:1}),Y(Rs,{title:"Configured Locales"},{icon:we(()=>[Y(Ls)]),default:we(()=>[Y(qu,{locales:fe(o).locales||[]},null,8,["locales"])]),_:1}),Y(Rs,{title:"Advanced Configuration"},{icon:we(()=>[Y(xl)]),default:we(()=>[g("div",sf,[g("div",rf,[s[4]||(s[4]=g("span",{class:"config-label"},"Auto Language Detection",-1)),Y(Hs,{status:fe(o).autoDetectLanguage?"enabled":"disabled",label:fe(o).autoDetectLanguage?"Enabled":"Disabled"},null,8,["status","label"])]),g("div",lf,[s[5]||(s[5]=g("span",{class:"config-label"},"Translation Directory",-1)),g("span",af,G(fe(o).translationDir||"—"),1)]),g("div",cf,[s[6]||(s[6]=g("span",{class:"config-label"},"API Base URL",-1)),g("span",df,G(fe(o).apiBaseUrl||"—"),1)]),g("div",uf,[s[7]||(s[7]=g("span",{class:"config-label"},"Locale Cookie",-1)),g("span",ff,G(fe(o).localeCookie||"—"),1)])])]),_:1})]))]))}}),[["styles",['@reference "tailwindcss";.config-view[data-v-ce2afc6d]{@apply h-full overflow-auto p-4;}.settings-grid[data-v-ce2afc6d]{@apply grid gap-3;}.config-row[data-v-ce2afc6d]{@apply flex items-center justify-between py-2 px-3 rounded-lg bg-gray-50 hover:bg-gray-100 transition-colors;}.config-label[data-v-ce2afc6d]{@apply text-sm font-medium text-gray-600;}.config-value[data-v-ce2afc6d]{@apply text-sm text-gray-800;}']],["__scopeId","data-v-ce2afc6d"]]),hf=["innerHTML"],gf={key:1},mf={class:"chevron"},bf={class:"icon",viewBox:"0 0 24 24"},_f={key:0,d:"M19 9l-7 7-7-7",fill:"none",stroke:"currentColor","stroke-width":"2"},vf={key:1,d:"M9 5l7 7-7 7",fill:"none",stroke:"currentColor","stroke-width":"2"},yf={class:"folder-name"},xf={key:0,class:"folder-children"},wf=_e(xe({__name:"TreeItem",props:{node:{type:Object},depth:{type:Number},locale:{type:String},selectedFile:{type:String},defaultExpanded:{type:Boolean},selected:{type:Boolean}},emits:["fileSelected"],setup(e,{emit:t}){const o=e,n=t,s=re(o.defaultExpanded||!1),r=oe(()=>o.selectedFile===o.node.fullPath),i=oe(()=>({paddingLeft:`${o.depth*20+8}px`}));function l(){s.value=!s.value}function a(){n("fileSelected",o.node.fullPath,o.locale)}Te(()=>o.defaultExpanded,c=>{s.value=c===!0},{immediate:!0});function u(c,d){n("fileSelected",c,d)}return(c,d)=>{const p=ic("TreeItem",!0);return y(),D("div",null,[e.node.isFile?(y(),D("div",{key:0,class:ye(["file-item",{selected:r.value}]),style:yt(i.value),onClick:a},[d[0]||(d[0]=Yc('<span class="file-icon" data-v-42ac6ca2><svg class="icon" viewBox="0 0 24 24" data-v-42ac6ca2><g transform="translate(4 4) scale(0.8)" data-v-42ac6ca2><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-width="1.5" data-v-42ac6ca2></circle><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" fill="none" stroke="currentColor" stroke-width="1" data-v-42ac6ca2></path><path d="M2 12h20M5 5.2l14 14M5 18.8l14-14" fill="none" stroke="currentColor" stroke-width="1" data-v-42ac6ca2></path></g></svg></span>',1)),g("span",{class:"file-name",innerHTML:e.node.name},null,8,hf)],6)):(y(),D("div",gf,[g("div",{class:ye(["folder-header",{expanded:s.value,selected:e.selected}]),style:yt(i.value),onClick:l},[g("span",mf,[(y(),D("svg",bf,[s.value?(y(),D("path",_f)):(y(),D("path",vf))]))]),d[1]||(d[1]=g("span",{class:"folder-icon"},[g("svg",{class:"icon",viewBox:"0 0 24 24"},[g("path",{d:"M20 6a2 2 0 0 0-2-2h-8L10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z",fill:"none",stroke:"currentColor","stroke-width":"2"})])],-1)),g("span",yf,G(e.node.name),1)],6),s.value?(y(),D("div",xf,[(y(!0),D(te,null,Me(e.node.children,b=>(y(),be(p,{key:b.fullPath,node:b,locale:e.locale,depth:e.depth+1,"selected-file":e.selectedFile,"default-expanded":!1,onFileSelected:u},null,8,["node","locale","depth","selected-file"]))),128))])):ie("",!0)]))])}}}),[["styles",['@reference "tailwindcss";.file-item[data-v-42ac6ca2]{@apply py-1 px-2 my-1 cursor-pointer flex items-center text-sm text-slate-700 bg-white rounded-md transition-all duration-200 border border-transparent;}.file-item[data-v-42ac6ca2]:hover{@apply bg-slate-50 transform translate-x-1;}.file-item.selected[data-v-42ac6ca2]{@apply bg-blue-50 border-blue-200 text-blue-700 font-medium;}.folder-header[data-v-42ac6ca2]{@apply py-1 px-2 my-1 cursor-pointer flex items-center text-sm text-slate-700 bg-white rounded-md transition-all duration-200 border border-transparent;}.folder-header[data-v-42ac6ca2]:hover{@apply bg-slate-50 transform translate-x-1;}.folder-header.expanded[data-v-42ac6ca2]{@apply font-medium text-blue-700;}.folder-header.selected[data-v-42ac6ca2]{@apply bg-blue-50 border-blue-200 text-blue-700 font-medium;}.icon[data-v-42ac6ca2]{@apply w-4 h-4 mr-2 shrink-0;}.chevron .icon[data-v-42ac6ca2]{@apply w-3 h-3 mr-2;}.folder-children[data-v-42ac6ca2]{@apply ml-3 border-l-2 border-slate-200 pl-3;}']],["__scopeId","data-v-42ac6ca2"]]),Ef={class:"flex flex-col h-full w-full bg-slate-50 rounded-lg overflow-hidden"},kf={class:"flex-1 min-h-0 overflow-y-auto overscroll-contain p-2"},Nf=_e(xe({__name:"LocalesList",props:{locales:{type:Object},selectedFile:{type:String}},emits:["fileSelected"],setup(e,{emit:t}){const o=e,n=t,s=oe(()=>{const a=Object.keys(o.locales),u=r(a),c={name:i(u)||"/",fullPath:u||"/",children:[]};a.forEach(p=>{const b=p.startsWith(u)?p.slice(u.length).split("/").filter(Boolean):p.split("/").filter(Boolean);let N=c;for(let v=0;v<b.length;v++){const F=b[v];if(!F)continue;const R=v===b.length-1;let H=N.children.find(B=>B.name===F);H||(H={name:F,fullPath:`${N.fullPath}/${F}`.replace(/\/+/g,"/"),isFile:R,children:[]},N.children.push(H)),H&&(N=H)}});const d=p=>{p.sort((b,N)=>b.isFile===N.isFile?b.name.localeCompare(N.name):b.isFile?1:-1);for(const b of p)d(b.children)};return d(c.children),c.children});function r(a){if(a.length===0)return"";const u=a.map(p=>p.split("/")),c=[],d=Math.min(...u.map(p=>p.length));for(let p=0;p<d;p++){const b=u[0]?.[p];if(b&&u.every(N=>N[p]===b))c.push(b);else break}return c.join("/")}function i(a){const u=a.split("/").filter(c=>c);return u[u.length-1]||""}function l(a){n("fileSelected",a)}return(a,u)=>(y(),D("div",Ef,[g("div",kf,[(y(!0),D(te,null,Me(s.value,c=>(y(),be(wf,{key:c.fullPath,locale:c.name,node:c,depth:0,"selected-file":e.selectedFile,"default-expanded":!1,onFileSelected:l},null,8,["locale","node","selected-file"]))),128))])]))}}),[["styles",['@reference "tailwindcss";']],["__scopeId","data-v-44e760cb"]]);function rt(e,t="",o={}){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=t?`${t}.${n}`:n,r=e[n];typeof r=="object"&&r!==null?Array.isArray(r)?r.forEach((i,l)=>{rt(i,`${s}.[]${l}`,o)}):rt(r,s,o):o[s]=r?.toString()??""}return o}const kl=e=>{const t={};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const n=o.split(".");let s=t,r=null,i=null;for(let l=0;l<n.length;l++){const a=n[l];if(!a)continue;const u=a.startsWith("[]"),c=u?Number(a.slice(2)):Number.NaN;if(l===n.length-1){if(typeof s=="object"&&s!==null&&a){const d=s,p=e[o];typeof p=="string"?p==="true"||p==="false"?d[a]=p==="true":!Number.isNaN(Number(p))&&p.trim()!==""?d[a]=Number(p):d[a]=p:d[a]=p}}else{(typeof s!="object"||s===null)&&(s={});const d=s;if(u){if(!Array.isArray(d)){const b=[];r!==null&&i!==null&&typeof i=="string"?r[i]=b:a&&(t[a]=b),s=b}const p=s;if(Number.isNaN(c))continue;p[c]===void 0&&(p[c]={}),r=p,i=c,s=p[c]}else a&&(d[a]===void 0&&(d[a]={}),r=d,i=a,s=d[a])}}}return t},Of={class:"diff-viewer"},$f={class:"filters"},Sf=["value"],Cf={class:"diff-list"},Tf={class:"key-row"},Df={class:"key-label"},Vf={class:"value-compare"},Af={class:"value old"},If={class:"value-content"},Pf={class:"value new"},Mf={class:"value-content"},jf={class:"value-content"},Lf=_e(xe({__name:"DiffViewer",props:{current:{type:Object},base:{type:Object}},setup(e){const t=e,o=re(["added","modified","removed"]),n=[{type:"added",label:"Added",class:"bg-green-100 text-green-800"},{type:"modified",label:"Modified",class:"bg-yellow-100 text-yellow-800"},{type:"removed",label:"Removed",class:"bg-red-100 text-red-800"}],s={added:"text-green-600",modified:"text-yellow-600",removed:"text-red-600"},r=oe(()=>{const a=rt(t.current),u=rt(t.base),c=new Set([...Object.keys(a),...Object.keys(u)]);return Array.from(c).map(d=>{const p=a[d],b=u[d];return!p&&b?{key:d,type:"removed",baseValue:b}:p&&!b?{key:d,type:"added",currentValue:p}:p!==b?{key:d,type:"modified",baseValue:b,currentValue:p}:null}).filter(Boolean)}),i=oe(()=>({added:r.value.filter(a=>a.type==="added").length,modified:r.value.filter(a=>a.type==="modified").length,removed:r.value.filter(a=>a.type==="removed").length})),l=oe(()=>r.value.filter(a=>o.value.includes(a.type)));return(a,u)=>(y(),D("div",Of,[g("div",$f,[(y(),D(te,null,Me(n,c=>g("label",{key:c.type,class:"filter-item"},[ut(g("input",{"onUpdate:modelValue":u[0]||(u[0]=d=>o.value=d),type:"checkbox",value:c.type,class:"sr-only"},null,8,Sf),[[Ld,o.value]]),g("span",{class:ye(["filter-badge",c.class])},G(c.label)+" ("+G(i.value[c.type])+") ",3)])),64))]),g("div",Cf,[(y(!0),D(te,null,Me(l.value,(c,d)=>(y(),D("div",{key:d,class:"diff-item"},[g("div",Tf,[g("span",Df,G(c.key),1),c.type?(y(),D("span",{key:0,class:ye(["change-type",s[c.type]])},G(c.type.toUpperCase()),3)):ie("",!0)]),g("div",Vf,[c.type==="modified"?(y(),D(te,{key:0},[g("div",Af,[u[1]||(u[1]=g("span",{class:"value-label"},"Default:",-1)),g("span",If,G(c.baseValue),1)]),g("div",Pf,[u[2]||(u[2]=g("span",{class:"value-label"},"Current:",-1)),g("span",Mf,G(c.currentValue),1)])],64)):(y(),D("div",{key:1,class:ye(["value",c.type])},[g("span",jf,G(c.currentValue||c.baseValue),1)],2))])]))),128))])]))}}),[["styles",['@reference "tailwindcss";.diff-viewer[data-v-78082a66]{@apply flex flex-col gap-4;}.filters[data-v-78082a66]{@apply flex gap-2;}.filter-item[data-v-78082a66]{@apply cursor-pointer;}.filter-badge[data-v-78082a66]{@apply px-3 py-1 rounded-full text-sm font-medium inline-flex items-center gap-2 transition-all;}.filter-item input:checked+.filter-badge[data-v-78082a66]{@apply ring-2 ring-inset ring-blue-500/50;}.diff-list[data-v-78082a66]{@apply space-y-4;}.diff-item[data-v-78082a66]{@apply bg-white rounded-lg shadow-xs border border-gray-100 p-4;}.key-row[data-v-78082a66]{@apply flex justify-between items-center mb-2;}.key-label[data-v-78082a66]{@apply font-mono text-sm text-gray-700 truncate;}.change-type[data-v-78082a66]{@apply text-xs font-semibold px-2 py-1 rounded-full;}.value-compare[data-v-78082a66]{@apply space-y-2;}.value[data-v-78082a66]{@apply p-2 rounded-md border border-transparent text-sm;}.value-label[data-v-78082a66]{@apply text-xs font-medium text-gray-500 mr-2;}.value-content[data-v-78082a66]{@apply break-words;}.old[data-v-78082a66]{@apply bg-red-50 border-red-200 text-red-700;}.new[data-v-78082a66]{@apply bg-green-50 border-green-200 text-green-700;}.added .value-content[data-v-78082a66]{@apply text-green-600;}.removed .value-content[data-v-78082a66]{@apply text-red-600 line-through;}']],["__scopeId","data-v-78082a66"]]),Ff={class:"text-sm font-medium text-gray-600 truncate"},Rf={key:1,class:"flex flex-col"},Hf={class:"text-sm font-medium text-gray-600"},Ln=xe({__name:"StatItem",props:{label:String,value:[String,Number],trend:Number,stacked:{type:Boolean,default:!1}},setup(e){const t=e,o=oe(()=>typeof t.value=="number"?t.value.toLocaleString():t.value),n=oe(()=>t.trend?t.trend>0?"text-green-500":"text-red-500":"");return(s,r)=>(y(),D("div",{class:ye(["p-3 bg-gray-50 rounded-lg transition-all duration-200 hover:bg-gray-100",e.stacked?"block":"flex items-center justify-between"])},[e.stacked?(y(),D("div",Rf,[g("span",Hf,G(e.label),1),g("span",{class:ye(["font-semibold mt-1",s.$attrs.class])},[nt(G(o.value)+" ",1),e.trend?(y(),D("span",{key:0,class:ye(["ml-2 text-xs",n.value])},G(e.trend)+"% ",3)):ie("",!0)],2)])):(y(),D(te,{key:0},[g("span",Ff,G(e.label),1),g("span",{class:ye(["font-semibold min-w-[60px] text-right",s.$attrs.class])},[nt(G(o.value)+" ",1),e.trend?(y(),D("span",{key:0,class:ye(["ml-2 text-xs",n.value])},G(e.trend)+"% ",3)):ie("",!0)],2)],64))],2))}}),Uf={class:"space-y-4 p-4 bg-white rounded-lg shadow-sm"},Bf={class:"grid grid-cols-2 gap-4"},Kf={key:0,class:"grid grid-cols-2 gap-4"},zf={class:"pt-4 mt-4 border-t border-gray-200"},Wf={class:"grid grid-cols-2 gap-4"},qf=_e(xe({__name:"Statistics",props:{content:{type:Object}},setup(e){const{getDefaultLocaleTranslation:t}=jn(),o=e,n=x=>typeof x=="string"?x.trim():"",s=x=>typeof x=="string",r=oe(()=>rt(o.content)),i=oe(()=>rt(t())),l=x=>oe(()=>Object.values(r.value).filter(P=>s(P)&&x(P)).length),a=oe(()=>Object.keys(r.value).length),u=oe(()=>Object.values(r.value).filter(x=>s(x)&&n(x)!=="").length),c=oe(()=>a.value?(u.value/a.value*100).toFixed(2):"0.00"),d=oe(()=>{const x={};return Object.values(r.value).forEach(P=>{s(P)&&(x[P]=(x[P]||0)+1)}),Object.values(x).filter(P=>P>1).length}),p=x=>oe(()=>{const P=Object.keys(r.value);return P.length<2?null:P.reduce((M,S)=>{const ce=r.value[M],ve=r.value[S],De=s(ce)?ce.length:0,Ee=s(ve)?ve.length:0;return x(De,Ee)?M:S})}),b=oe(()=>Object.keys(i.value).length),N=oe(()=>Object.keys(i.value).filter(x=>{const P=r.value[x];return s(P)&&n(P)!==""}).length),v=oe(()=>b.value?(N.value/b.value*100).toFixed(2):"0.00"),F=oe(()=>[{label:"Total Keys",value:a.value,class:"text-blue-600"},{label:"Translated Keys",value:`${u.value} (${c.value}%)`,class:"text-green-600"},{label:"Missing Translations",value:a.value-u.value,class:"text-red-600"},{label:"Duplicate Values",value:d.value,class:"text-orange-600"},{label:"Long Translations (>100 chars)",value:H?.value??0,class:"text-yellow-600"},{label:"Short Translations (<3 chars)",value:B?.value??0,class:"text-pink-600"},{label:"Keys with Special Chars",value:pe?.value??0,class:"text-indigo-600"},{label:"Keys with HTML Tags",value:I?.value??0,class:"text-teal-600"},{label:"Keys with Placeholders",value:L?.value??0,class:"text-cyan-600"}]),R=oe(()=>[{label:"Total Keys in Default",value:b.value,class:"text-blue-600"},{label:"Translated vs Default",value:`${N.value} (${v.value}%)`,class:"text-green-600"},{label:"Missing from Default",value:b.value-N.value,class:"text-red-600"},{label:"Extra Keys",value:Math.max(a.value-b.value,0),class:"text-orange-600"}]),[H,B,pe,I,L]=[x=>x.length>100,x=>x.length<3,x=>/[@#{}[\]]/.test(x),x=>/<[^>]+>/.test(x),x=>/\{[^}]+\}/.test(x)].map(x=>l(x)),q=p((x,P)=>x>P),U=p((x,P)=>x<P);return(x,P)=>(y(),D("div",Uf,[g("div",Bf,[(y(!0),D(te,null,Me(F.value,(M,S)=>(y(),be(Ln,{key:S,label:M.label,value:M.value,class:ye(M.class)},null,8,["label","value","class"]))),128))]),fe(q)||fe(U)?(y(),D("div",Kf,[fe(q)?(y(),be(Ln,{key:0,label:"Longest Key",value:fe(q),stacked:"",class:"text-purple-600 break-all"},null,8,["value"])):ie("",!0),fe(U)?(y(),be(Ln,{key:1,label:"Shortest Key",value:fe(U),stacked:"",class:"text-purple-600 break-all"},null,8,["value"])):ie("",!0)])):ie("",!0),g("div",zf,[P[0]||(P[0]=g("h3",{class:"text-lg font-semibold text-gray-800 mb-3"}," Comparison with Default Locale ",-1)),g("div",Wf,[(y(!0),D(te,null,Me(R.value,(M,S)=>(y(),be(Ln,{key:"compare-"+S,label:M.label,value:M.value,class:ye(M.class)},null,8,["label","value","class"]))),128))])]),Y(Lf,{ref:"diffModal",current:e.content,base:i.value},null,8,["current","base"])]))}}),[["styles",[".border-t[data-v-5a1d0272]{border-top-width:1px;border-top-color:#e5e7eb}.pt-4[data-v-5a1d0272]{padding-top:1rem}.mt-4[data-v-5a1d0272]{margin-top:1rem}.text-lg[data-v-5a1d0272]{font-size:1.125rem;line-height:1.75rem}.font-semibold[data-v-5a1d0272]{font-weight:600}.bg-white[data-v-5a1d0272]{background-color:#fff}.rounded-lg[data-v-5a1d0272]{border-radius:.5rem}.shadow[data-v-5a1d0272]{box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.grid[data-v-5a1d0272]{display:grid}.gap-4[data-v-5a1d0272]{gap:1rem}"]],["__scopeId","data-v-5a1d0272"]]);class Nl{constructor({apiKey:t,driver:o,options:n={}}){if(this.clearBuffer=[],this.apiKey=t,this.driver=o,this.options=n,o==="yandex-cloud"&&!n.folderId)throw new Error("Yandex Cloud Translator requires folderId in options.")}async translate(t,o,n){if(console.debug("Translating text...",{text:t,fromLang:o,toLang:n}),t==="")return t;const s=this.clearText(t);let r;switch(this.driver){case"google":r=await this.googleTranslate(s,o,n);break;case"yandex":r=await this.yandexTranslate(s,o,n);break;case"deepl":r=await this.deeplTranslate(s,o,n);break;case"openai":r=await this.openaiTranslate(t,o,n);break;case"deepseek":r=await this.deepseekTranslate(t,o,n);break;case"google-free":r=await this.googleFreeTranslate(s,o,n);break;case"yandex-cloud":r=await this.yandexCloudTranslate(s,o,n);break;default:throw new Error(`Unsupported driver: ${this.driver}`)}const i=this.revertText(r);return console.debug("Text was translated",{finalText:i}),i}clearText(t){const o=/:[a-zA-Z0-9]+|<[^>]*>|\{['"][@$|{}]['"]\}/gu,n=t.match(o)||[];return this.clearBuffer=n,n.reduce((s,r,i)=>s.replace(r,` _r${i}_`),t)}revertText(t){return this.clearBuffer.reduce((n,s,r)=>n.replace(`_r${r}_`,s),t).replace(/ {2,}|^ |^\xA0|\xA0{2,}|\xA0$/gmu,"").replace(/&nbsp;/g," ")}async googleTranslate(t,o,n){const s="https://translation.googleapis.com/language/translate/v2",r=new URLSearchParams({q:t,target:n,key:this.apiKey,format:"text",source:o}),l=await(await fetch(`${s}?${r.toString()}`)).json();if(l.error)throw new Error(`Google Translate error: ${l.error.message}`);return l.data.translations[0].translatedText}async yandexTranslate(t,o,n){const s="https://translate.api.cloud.yandex.net/translate/v2/translate",r={"Content-Type":"application/json",Authorization:`Api-Key ${this.apiKey}`},i=JSON.stringify({folderId:this.options.folderId,texts:[t],sourceLanguageCode:o,targetLanguageCode:n}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.message)throw new Error(`Yandex Translate error: ${a.message}`);return a.translations[0].text}async deeplTranslate(t,o,n){const s="https://api.deepl.com/v2/translate",r=new URLSearchParams({auth_key:this.apiKey,text:t,target_lang:n.toUpperCase(),source_lang:o.toUpperCase()}),l=await(await fetch(s,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:r.toString()})).json();if(l.message)throw new Error(`DeepL Translate error: ${l.message}`);return l.translations[0].text}async openaiTranslate(t,o,n){const s="https://api.openai.com/v1/chat/completions",r={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},i=JSON.stringify({model:this.options.model,messages:[{role:"system",content:`Translate the following text from ${o} to ${n}. Do not modify or translate placeholders like :placeholder, <tag>, or {special}.`},{role:"user",content:t}]}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.error)throw new Error(`OpenAI Translate error: ${a.error.message}`);return a.choices[0].message.content}async deepseekTranslate(t,o,n){const s="https://api.deepseek.com/chat/completions",r={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},i=JSON.stringify({model:this.options.model,messages:[{role:"system",content:`Translate the following text from ${o} to ${n}. Do not modify or translate placeholders like :placeholder, <tag>, or {special}.`},{role:"user",content:t}],stream:!1}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.error)throw new Error(`DeepSeek Translate error: ${a.error.message}`);return a.choices[0].message.content}async googleFreeTranslate(t,o,n){const s="https://translate.google.com/translate_a/single",r=new URLSearchParams({client:"gtx",sl:o,tl:n,hl:"en",dt:"t",ie:"UTF-8",oe:"UTF-8",q:t,tk:this.generateToken(t)}),l=await(await fetch(`${s}?${r.toString()}`)).json();if(!l||!Array.isArray(l[0]))throw new Error("Invalid response from Google Free Translate");return l[0].map(a=>a[0]?a[0]:"").join("")}async yandexCloudTranslate(t,o,n){const s="https://translate.api.cloud.yandex.net/translate/v2/translate",r={"Content-Type":"application/json",Authorization:`Api-Key ${this.apiKey}`},i=JSON.stringify({folderId:this.options.folderId,texts:[t],sourceLanguageCode:o,targetLanguageCode:n}),a=await(await fetch(s,{method:"POST",headers:r,body:i})).json();if(a.message)throw new Error(`Yandex Cloud Translate error: ${a.message}`);return a.translations[0].text}generateToken(t){const n=[];for(let r=0;r<t.length;r++){const i=t.charCodeAt(r);i<128?n.push(i):i<2048?n.push(i>>6|192):(n.push(i>>12|224),n.push(i>>6&63|128)),n.push(i&63|128)}let s=0;for(let r=0;r<n.length;r++){const i=n[r];i!==void 0&&(s+=i,s=this.tokenTransform(s,"+-a^+6"))}return s=this.tokenTransform(s,"+-3^+b+-f"),s^=0,s<0&&(s=(s&2147483647)+2147483648),s%=1e6,`${s.toString()}.${s^0}`}tokenTransform(t,o){for(let n=0;n<o.length-2;n+=3){const s=o.charCodeAt(n+2)>=97?o.charCodeAt(n+2)-87:Number(o.charAt(n+2));o.charAt(n+1)==="+"?t=t>>>s:t=t<<s,o.charAt(n)==="+"?t=t+s&4294967295:t=t^s}return t}}const Jf={class:"pagination"},Gf=["disabled"],Yf=["onClick"],Xf={key:0,class:"pagination-ellipsis"},Zf=["onClick"],Qf={key:0,class:"pagination-ellipsis"},ep=["onClick"],tp=["disabled"],op=_e(xe({__name:"Pagination",props:{currentPage:{type:Number},totalPages:{type:Number}},emits:["update:page"],setup(e,{emit:t}){const o=e,n=t,s=oe(()=>[1,2].filter(a=>a<=o.totalPages)),r=oe(()=>[o.totalPages-1,o.totalPages].filter(a=>a>=1)),i=oe(()=>{const a=[],u=Math.max(1,o.currentPage-2),c=Math.min(o.totalPages,o.currentPage+2);for(let d=u;d<=c;d++)a.push(d);return a}),l=a=>{a>=1&&a<=o.totalPages&&n("update:page",a)};return(a,u)=>(y(),D("div",Jf,[g("button",{disabled:e.currentPage===1,class:"pagination-button",onClick:u[0]||(u[0]=c=>l(e.currentPage-1))}," Previous ",8,Gf),e.currentPage>3?(y(),D(te,{key:0},[(y(!0),D(te,null,Me(s.value,c=>(y(),D("button",{key:c,class:"pagination-button",onClick:d=>l(c)},G(c),9,Yf))),128)),e.currentPage>4?(y(),D("span",Xf,"...")):ie("",!0)],64)):ie("",!0),(y(!0),D(te,null,Me(i.value,c=>(y(),D("button",{key:c,class:ye(["pagination-button",{active:e.currentPage===c}]),onClick:d=>l(c)},G(c),11,Zf))),128)),e.currentPage<e.totalPages-2?(y(),D(te,{key:1},[e.currentPage<e.totalPages-3?(y(),D("span",Qf,"...")):ie("",!0),(y(!0),D(te,null,Me(r.value,c=>(y(),D("button",{key:c,class:"pagination-button",onClick:d=>l(c)},G(c),9,ep))),128))],64)):ie("",!0),g("button",{disabled:e.currentPage===e.totalPages||e.totalPages===0,class:"pagination-button",onClick:u[1]||(u[1]=c=>l(e.currentPage+1))}," Next ",8,tp)]))}}),[["styles",[".pagination[data-v-7a26b7d7]{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:16px;flex-wrap:wrap}.pagination-button[data-v-7a26b7d7]{padding:6px 12px;min-width:32px;border:1px solid #ccc;border-radius:4px;background-color:#f8f9fa;cursor:pointer;font-size:13px;color:#333;text-align:center;transition:background-color .2s,border-color .2s}.pagination-button[data-v-7a26b7d7]:hover:not(:disabled){background-color:#e9ecef;border-color:#bbb}.pagination-button[data-v-7a26b7d7]:disabled{background-color:#e9ecef;cursor:not-allowed;color:#999}.pagination-button.active[data-v-7a26b7d7]{background-color:#007bff;border-color:#007bff;color:#fff}.pagination-ellipsis[data-v-7a26b7d7]{padding:6px 12px;font-size:13px;color:#666}"]],["__scopeId","data-v-7a26b7d7"]]),np={class:"translation-editor"},sp={class:"translation-list-container"},rp={class:"search-box"},ip={class:"translation-list"},lp={class:"key-header"},ap=["title"],cp=["onClick"],dp={class:"default-value"},up=["onUpdate:modelValue","placeholder"],fp={class:"pagination-wrapper"},Us=30,pp=_e(xe({__name:"TranslationEditor",props:{modelValue:{type:Object}},emits:["update:modelValue"],setup(e,{emit:t}){const o=e,n=t,{selectedFile:s,configs:r,getDefaultLocaleTranslation:i}=jn(),l=re(rt(o.modelValue)),a=re({}),u=re(""),c=re(1),d=re("disabled"),p=re(""),b=re({}),N=oe(()=>{const L=Object.keys(a.value);if(!u.value.trim())return F.value;const q=u.value.toLowerCase();return L.filter(U=>U.toLowerCase().includes(q)||a.value[U]?.toLowerCase().includes(q))}),v=oe(()=>Math.ceil(Object.keys(a.value).length/Us)),F=oe(()=>{const L=(c.value-1)*Us,q=L+Us;return Object.keys(a.value).slice(L,q)}),R=()=>{const L=i();a.value=rt(L)},H=()=>{n("update:modelValue",kl(l.value))},B=L=>{L>=1&&L<=v.value&&(c.value=L)},pe=async(L,q)=>{if(q)try{const U=r.value.defaultLocale,x=new Nl({apiKey:p.value,driver:d.value,options:b.value}),P=s.value.split("/").pop()??"";l.value[L]=await x.translate(q,U,P.replace(".json","")),H()}catch(U){console.error("Translation error:",U)}},I=()=>{const L=localStorage.getItem("translationSettings");if(L)try{const q=JSON.parse(L);d.value=q.driver||"disabled",p.value=q.token||"",b.value=q.options||{}}catch{localStorage.removeItem("translationSettings")}};return At(()=>{R(),I()}),Te(()=>o.modelValue,L=>{l.value=rt(L),R()}),Te(s,()=>{R(),c.value=1}),Te(()=>r.value.defaultLocale,()=>{R()}),(L,q)=>(y(),D("div",np,[g("div",sp,[g("div",rp,[ut(g("input",{"onUpdate:modelValue":q[0]||(q[0]=U=>u.value=U),placeholder:"Search keys or values...",class:"search-input"},null,512),[[Pn,u.value]])]),g("div",ip,[(y(!0),D(te,null,Me(N.value,U=>(y(),D("div",{key:U,class:ye(["translation-item",{missing:!l.value[U]?.trim()}])},[g("div",lp,[g("span",{class:"key-label",title:U},G(U),9,ap),d.value!=="disabled"?(y(),D("button",{key:0,class:"translate-btn",onClick:x=>pe(U,a.value[U]||"")},[...q[1]||(q[1]=[g("svg",{class:"translate-icon",viewBox:"0 0 24 24"},[g("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})],-1)])],8,cp)):ie("",!0)]),g("div",dp,G(a.value[U]||"No default value"),1),ut(g("textarea",{"onUpdate:modelValue":x=>l.value[U]=x,class:"translation-input",placeholder:a.value[U],rows:"1",onInput:H},null,40,up),[[Pn,l.value[U]]])],2))),128))])]),g("div",fp,[u.value?ie("",!0):(y(),be(op,{key:0,"current-page":c.value,"total-pages":v.value,"onUpdate:page":B},null,8,["current-page","total-pages"]))])]))}}),[["styles",['@reference "tailwindcss";.translation-editor[data-v-593b161e]{@apply flex flex-col h-full w-full overflow-hidden bg-gray-50;}.translation-list-container[data-v-593b161e]{@apply flex-1 flex flex-col min-h-0 overflow-hidden;}.search-box[data-v-593b161e]{@apply bg-white p-2 border-b border-gray-200 shrink-0;}.search-input[data-v-593b161e]{@apply w-full p-2 border border-gray-300 rounded-lg text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500;}.translation-list[data-v-593b161e]{@apply flex-1 overflow-y-auto overflow-x-hidden p-2 space-y-3;overscroll-behavior:contain}.translation-item[data-v-593b161e]{@apply p-3 bg-white rounded-lg shadow-sm border border-gray-200;}.translation-item.missing[data-v-593b161e]{@apply border-l-4 border-l-yellow-500 bg-yellow-50/30;}.key-header[data-v-593b161e]{@apply flex justify-between items-center mb-1;}.key-label[data-v-593b161e]{@apply font-mono text-xs font-semibold text-slate-700 truncate select-all;}.default-value[data-v-593b161e]{@apply text-xs text-gray-500 mb-2 truncate opacity-80;}.translation-input[data-v-593b161e]{@apply w-full p-2 border border-gray-300 rounded text-sm min-h-[38px] focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500;}.translate-btn[data-v-593b161e]{@apply p-1 text-gray-400 hover:text-blue-600 transition-colors rounded hover:bg-gray-100;}.translate-icon[data-v-593b161e]{@apply w-4 h-4 fill-current;}.pagination-wrapper[data-v-593b161e]{@apply shrink-0 p-2 border-t border-gray-200 bg-white;}']],["__scopeId","data-v-593b161e"]]),hp=["disabled","type"],Qt=_e(xe({__name:"Button",props:{variant:{default:"primary",type:String},size:{default:"md",type:String},disabled:{type:Boolean,default:!1},type:{default:"button",type:String}},emits:["click"],setup(e,{emit:t}){const o=e,n=t,s=r=>{o.disabled||n("click",r)};return(r,i)=>(y(),D("button",{class:ye(["btn",`btn--${e.variant}`,`btn--${e.size}`,{"btn--disabled":e.disabled}]),disabled:e.disabled,type:e.type,onClick:s},[ft(r.$slots,"default",{},void 0)],10,hp))}}),[["styles",['@reference "tailwindcss";.btn[data-v-4f279bb7]{@apply inline-flex items-center justify-center font-medium rounded-md transition-all duration-200 focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed;}.btn--sm[data-v-4f279bb7]{@apply px-2 py-1 text-xs;}.btn--md[data-v-4f279bb7]{@apply px-3 py-1.5 text-sm;}.btn--lg[data-v-4f279bb7]{@apply px-4 py-2 text-base;}.btn--primary[data-v-4f279bb7]{@apply bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500;}.btn--secondary[data-v-4f279bb7]{@apply bg-slate-200 text-slate-700 hover:bg-slate-300 focus:ring-slate-500;}.btn--danger[data-v-4f279bb7]{@apply bg-red-600 text-white hover:bg-red-700 focus:ring-red-500;}.btn--ghost[data-v-4f279bb7]{@apply bg-transparent text-slate-700 hover:bg-slate-100 focus:ring-slate-500;}']],["__scopeId","data-v-4f279bb7"]]),gp={class:"action-bar"},mp={class:"action-bar__left"},bp=_e(xe({__name:"ActionBar",props:{showTranslateButton:{type:Boolean}},emits:["export","import","show-stats","translate-missing","save"],setup(e,{emit:t}){const o=t;return(n,s)=>(y(),D("div",gp,[g("div",mp,[Y(Qt,{class:"action-btn action-btn--export",title:"Export",variant:"ghost",onClick:s[0]||(s[0]=r=>o("export"))},{default:we(()=>[...s[5]||(s[5]=[g("span",{class:"action-btn__icon"},"📤",-1)])]),_:1}),Y(Qt,{class:"action-btn action-btn--import",title:"Import",variant:"ghost",onClick:s[1]||(s[1]=r=>o("import"))},{default:we(()=>[...s[6]||(s[6]=[g("span",{class:"action-btn__icon"},"📥",-1)])]),_:1}),Y(Qt,{class:"action-btn action-btn--stats",title:"Stats",variant:"ghost",onClick:s[2]||(s[2]=r=>o("show-stats"))},{default:we(()=>[...s[7]||(s[7]=[g("span",{class:"action-btn__icon"},"📊",-1)])]),_:1}),e.showTranslateButton?(y(),be(Qt,{key:0,class:"action-btn action-btn--translate",title:"Translate",variant:"ghost",onClick:s[3]||(s[3]=r=>o("translate-missing"))},{default:we(()=>[...s[8]||(s[8]=[g("span",{class:"action-btn__icon"},"🌐",-1)])]),_:1})):ie("",!0)]),Y(Qt,{class:"action-btn action-btn--save",title:"Save",variant:"primary",onClick:s[4]||(s[4]=r=>o("save"))},{default:we(()=>[...s[9]||(s[9]=[g("span",{class:"action-btn__icon"},"💾",-1)])]),_:1})]))}}),[["styles",['@reference "tailwindcss";.action-bar[data-v-75c609c9]{@apply flex items-center justify-between p-3 bg-white border-b border-slate-200;}.action-bar__left[data-v-75c609c9]{@apply flex items-center gap-2 flex-wrap;}.action-btn[data-v-75c609c9]{@apply flex items-center gap-1.5;}.action-btn__icon[data-v-75c609c9]{@apply text-sm;}']],["__scopeId","data-v-75c609c9"]]),_p={key:0,class:"resize-overlay"},vp=_e(xe({__name:"SplitPane",props:{storageKey:{type:String},defaultLeftWidth:{default:"300px",type:String},minLeftWidth:{default:150,type:Number},minRightWidth:{default:300,type:Number}},setup(e){const t=e,o=re(t.defaultLeftWidth),n=re(!1);At(()=>{if(t.storageKey){const l=localStorage.getItem(`split-pane-${t.storageKey}`);l&&(o.value=l)}});const s=()=>{n.value=!0,document.body.style.cursor="col-resize",window.addEventListener("mousemove",r),window.addEventListener("mouseup",i)},r=l=>{if(!n.value||!l.target.closest(".split-pane"))return;const u=l.clientX;u>=t.minLeftWidth&&(o.value=`${u}px`)},i=()=>{n.value&&(n.value=!1,document.body.style.cursor="",t.storageKey&&localStorage.setItem(`split-pane-${t.storageKey}`,o.value),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",i))};return(l,a)=>(y(),D("div",{class:"split-pane",onMouseup:i,onMouseleave:i},[g("div",{class:"split-pane__left",style:yt({width:o.value})},[ft(l.$slots,"left",{},void 0)],4),g("div",{class:"split-pane__divider",style:yt({left:o.value}),onMousedown:bl(s,["prevent"])},[...a[0]||(a[0]=[g("div",{class:"divider-handle"},null,-1)])],36),g("div",{class:"split-pane__right",style:yt({left:o.value,paddingLeft:"4px"})},[ft(l.$slots,"right",{},void 0)],4),n.value?(y(),D("div",_p)):ie("",!0)],32))}}),[["styles",['@reference "tailwindcss";.split-pane[data-v-d964db95]{@apply relative w-full h-full bg-white overflow-hidden;}.split-pane__left[data-v-d964db95]{@apply absolute top-0 bottom-0 left-0 border-r border-slate-200 overflow-hidden bg-white z-0;}.split-pane__divider[data-v-d964db95]{@apply absolute top-0 bottom-0 w-4 cursor-col-resize z-50 flex justify-center hover:bg-blue-50/50 transition-colors;margin-left:-2px}.divider-handle[data-v-d964db95]{@apply w-[1px] h-full bg-slate-200 transition-colors;}.split-pane__divider:hover .divider-handle[data-v-d964db95],.split-pane__divider:active .divider-handle[data-v-d964db95]{@apply bg-blue-500 w-[2px];}.split-pane__right[data-v-d964db95]{@apply absolute top-0 bottom-0 right-0 overflow-hidden bg-white z-0;}.resize-overlay[data-v-d964db95]{@apply fixed inset-0 z-[100] cursor-col-resize;}']],["__scopeId","data-v-d964db95"]]),yp={class:"header-content"},xp={class:"modal-title"},wp={class:"modal-body"},Ep={key:0,class:"modal-footer"},Ol=_e(xe({__name:"Modal",props:{show:{type:Boolean},title:{type:String},size:{default:"md",type:String},width:{type:String},height:{type:String},disableOutsideClick:{type:Boolean,default:!1},disableEsc:{type:Boolean,default:!1},showCloseButton:{type:Boolean,default:!0},headerClass:{type:String}},emits:["update:show","close"],setup(e,{emit:t}){const o=e,n=t,s={sm:{width:"400px",height:"auto"},md:{width:"600px",height:"70vh"},lg:{width:"800px",height:"80vh"},xl:{width:"90vw",height:"90vh"},custom:{width:o.width||"auto",height:o.height||"auto"}},r=oe(()=>o.size==="custom"?o.width:null),i=oe(()=>o.size==="custom"?o.height:null),l=()=>{n("update:show",!1),n("close")},a=()=>{o.disableOutsideClick||l()},u=()=>{o.disableEsc||l()},c=p=>{p.key==="Escape"&&u()},d=re("");return At(()=>{if(document.addEventListener("keydown",c),o.show){const p=document.querySelector("i18n-devtools-ui");p&&(d.value=p.style.overflow||"",p.style.overflow="hidden")}}),hs(()=>{document.removeEventListener("keydown",c);const p=document.querySelector("i18n-devtools-ui");p&&(p.style.overflow=d.value)}),Te(()=>o.show,p=>{const b=document.querySelector("i18n-devtools-ui");b&&(p?(d.value=b.style.overflow||"",b.style.overflow="hidden"):b.style.overflow=d.value)}),(p,b)=>(y(),be(Wa,{to:"body"},[Y(As,{name:"modal"},{default:we(()=>[e.show?(y(),D("div",{key:0,class:"modal-overlay",onClick:bl(a,["self"]),onKeydown:Ud(u,["esc"])},[g("div",{class:"modal-content",style:yt({width:r.value||s[e.size].width,height:i.value||s[e.size].height})},[g("div",{class:ye(["modal-header",e.headerClass])},[g("div",yp,[ft(p.$slots,"header",{},()=>[g("h3",xp,G(e.title),1)],!0)]),e.showCloseButton?(y(),D("button",{key:0,class:"modal-close-button","aria-label":"Close modal",onClick:l},[...b[0]||(b[0]=[g("svg",{class:"close-icon",viewBox:"0 0 24 24"},[g("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1)])])):ie("",!0)],2),g("div",wp,[ft(p.$slots,"default",{},void 0,!0)]),p.$slots.footer?(y(),D("div",Ep,[ft(p.$slots,"footer",{},void 0,!0)])):ie("",!0)],4)],32)):ie("",!0)]),_:3})]))}}),[["styles",['@reference "tailwindcss";.modal-overlay[data-v-5cc833a6]{@apply fixed inset-0 bg-black/50 flex items-center justify-center p-4 z-[1000];-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content[data-v-5cc833a6]{@apply bg-white rounded-xl shadow-2xl flex flex-col;max-height:calc(100vh - 2rem)}.modal-header[data-v-5cc833a6]{@apply flex items-center justify-between px-6 py-4 border-b border-gray-100 shrink-0;}.header-content[data-v-5cc833a6]{@apply flex-1 min-w-0;}.modal-title[data-v-5cc833a6]{@apply text-xl font-semibold text-gray-900 truncate;}.modal-close-button[data-v-5cc833a6]{@apply p-2 ml-4 -mr-2 text-gray-400 hover:text-gray-600 transition-colors;}.close-icon[data-v-5cc833a6]{@apply w-6 h-6 fill-current;}.modal-body[data-v-5cc833a6]{@apply flex-1 p-6 overflow-y-auto;scrollbar-width:thin;scrollbar-color:theme("colors.gray.300") theme("colors.white")}.modal-body[data-v-5cc833a6]::-webkit-scrollbar{@apply w-2;}.modal-body[data-v-5cc833a6]::-webkit-scrollbar-track{@apply bg-gray-100 rounded-sm;}.modal-body[data-v-5cc833a6]::-webkit-scrollbar-thumb{@apply bg-gray-300 rounded-sm hover:bg-gray-400;}.modal-footer[data-v-5cc833a6]{@apply flex items-center justify-end px-6 py-4 space-x-3 border-t border-gray-100 shrink-0;}']],["__scopeId","data-v-5cc833a6"]]),kp={class:"i18n-view"},Np={class:"pane-inner"},Op={class:"pane-inner bg-white"},$p={key:0,class:"editor-layout"},Sp={class:"editor-header"},Cp={class:"breadcrumbs"},Tp={class:"breadcrumbs__path"},Dp={class:"action-bar-wrapper"},Vp={class:"editor-content-area"},Ap={class:"editor-scroll-container"},Ip={key:1,class:"empty-state"},Pp={class:"flex justify-end gap-2 mt-4"},Mp=_e(xe({__name:"I18nView",setup(e){const t=re("disabled"),o=re(""),n=re({}),{configs:s,isLoading:r,locales:i,selectedFile:l,selectedFileContent:a,handleFileSelected:u,exportTranslations:c,importTranslations:d,getDefaultLocaleTranslation:p,saveCurrent:b}=jn(),N=re(null),v=re({});At(()=>{x()}),Te(a,P=>{P&&(v.value={...P})},{deep:!0,immediate:!0});const F=oe(()=>i.value),R=()=>{N.value?.click()},H=async()=>{a.value={...v.value},await b()};Te(l,P=>{const M=P.replace(/^\/+/,"").replace(/\\/g,"/");v.value=i.value[M]??i.value[P]??(P.startsWith("/")?i.value[P.slice(1)]:{})??{}});const B=re(!1),pe=()=>{B.value=!0},I=re(!1),L=()=>{I.value=!0},q=async()=>{I.value=!1,await U()},U=async()=>{if(!v.value)return;const P=p(),M=rt(P),S=rt(v.value),ce=Object.keys(M).filter(ve=>!S[ve]);if(ce.length===0){alert("No missing keys.");return}try{const ve=s.value.defaultLocale,De=new Nl({apiKey:o.value,driver:t.value,options:n.value});for(const Ee of ce){const Z=M[Ee];if(Z){const Q=l.value.split("/").pop()??"";S[Ee]=await De.translate(Z,ve,Q.replace(".json",""))}}v.value=kl(S),alert("Translated.")}catch(ve){console.error(ve),alert("Error.")}},x=()=>{const P=localStorage.getItem("translationSettings");if(P)try{const M=JSON.parse(P);t.value=M.driver||"disabled",o.value=M.token||"",n.value=M.options||{}}catch{localStorage.removeItem("translationSettings")}};return(P,M)=>(y(),D("div",kp,[fe(r)?(y(),be(Fs,{key:0})):(y(),be(vp,{key:1,"storage-key":"tab-i18n-locales","default-left-width":"280px"},{left:we(()=>[g("div",Np,[Y(Nf,{locales:F.value,"selected-file":fe(l),onFileSelected:fe(u)},null,8,["locales","selected-file","onFileSelected"])])]),right:we(()=>[g("div",Op,[fe(l)?(y(),D("div",$p,[g("div",Sp,[g("div",Cp,[M[5]||(M[5]=g("span",{class:"breadcrumbs__icon"},"📄",-1)),g("span",Tp,G(fe(l)),1)]),g("div",Dp,[Y(bp,{"show-translate-button":t.value!=="disabled",onExport:fe(c),onImport:R,onShowStats:pe,onTranslateMissing:L,onSave:H},null,8,["show-translate-button","onExport"])])]),g("div",Vp,[g("div",Ap,[Y(pp,{modelValue:v.value,"onUpdate:modelValue":M[0]||(M[0]=S=>v.value=S),class:"h-full"},null,8,["modelValue"])])])])):(y(),D("div",Ip,[...M[6]||(M[6]=[g("div",{class:"empty-state__icon"}," 📁 ",-1),g("div",{class:"empty-state__title"}," No File Selected ",-1),g("div",{class:"empty-state__description"}," Select a file from the tree to edit ",-1)])]))])]),_:1})),B.value?(y(),be(Ol,{key:2,show:B.value,"onUpdate:show":M[1]||(M[1]=S=>B.value=S),title:"Statistics",size:"lg"},{default:we(()=>[v.value?(y(),be(qf,{key:0,content:v.value},null,8,["content"])):ie("",!0)]),_:1},8,["show"])):ie("",!0),I.value?(y(),be(Ol,{key:3,show:I.value,"onUpdate:show":M[3]||(M[3]=S=>I.value=S),title:"Confirm Translation",size:"md"},{default:we(()=>[M[9]||(M[9]=g("p",null,"Are you sure?",-1)),g("div",Pp,[Y(Qt,{variant:"danger",onClick:M[2]||(M[2]=S=>I.value=!1)},{default:we(()=>[...M[7]||(M[7]=[nt(" Cancel ",-1)])]),_:1}),Y(Qt,{variant:"primary",onClick:q},{default:we(()=>[...M[8]||(M[8]=[nt(" Confirm ",-1)])]),_:1})])]),_:1},8,["show"])):ie("",!0),ut(g("input",{ref_key:"file",ref:N,type:"file",accept:".json",onChange:M[4]||(M[4]=(...S)=>fe(d)&&fe(d)(...S))},null,544),[[yd,!1]])]))}}),[["styles",['@reference "tailwindcss";.i18n-view[data-v-8f020ee0]{@apply h-full w-full relative overflow-hidden;}.pane-inner[data-v-8f020ee0]{@apply w-full h-full overflow-hidden flex flex-col;}.editor-layout[data-v-8f020ee0]{@apply flex flex-col h-full w-full overflow-hidden;}.editor-header[data-v-8f020ee0]{@apply shrink-0 bg-white z-10;}.breadcrumbs[data-v-8f020ee0]{@apply px-4 py-2 bg-slate-50 border-b border-slate-200 text-xs font-mono text-slate-600 flex items-center gap-2;}.breadcrumbs__icon[data-v-8f020ee0]{@apply text-base;}.breadcrumbs__path[data-v-8f020ee0]{@apply truncate text-slate-700 font-medium;}.action-bar-wrapper[data-v-8f020ee0]{@apply border-b border-slate-200;}.editor-content-area[data-v-8f020ee0]{@apply flex-1 relative overflow-hidden;}.editor-scroll-container[data-v-8f020ee0]{@apply absolute inset-0 overflow-hidden;}.empty-state[data-v-8f020ee0],.welcome-card[data-v-8f020ee0]{@apply flex flex-col items-center justify-center h-full text-center p-8 text-slate-500;}.empty-state__icon[data-v-8f020ee0],.welcome-card__icon[data-v-8f020ee0]{@apply text-6xl mb-4 opacity-50;}.empty-state__title[data-v-8f020ee0],.welcome-card__title[data-v-8f020ee0]{@apply text-xl font-bold text-slate-700 mb-2;}']],["__scopeId","data-v-8f020ee0"]]),jp={class:"settings-card"},Lp={class:"settings-card__header"},Fp={class:"settings-card__icon"},Rp={key:0},Hp={class:"settings-card__title"},Up={class:"settings-card__content"},Bp=_e(xe({__name:"SettingsCard",props:{title:{type:String},icon:{type:String}},setup(e){return(t,o)=>(y(),D("div",jp,[g("div",Lp,[g("span",Fp,[ft(t.$slots,"icon",{},()=>[e.icon?(y(),D("span",Rp,G(e.icon),1)):ie("",!0)])]),g("h3",Hp,G(e.title),1)]),g("div",Up,[ft(t.$slots,"default",{},void 0)])]))}}),[["styles",['@reference "tailwindcss";.settings-card[data-v-502b3f8f]{@apply bg-white rounded-lg p-4 shadow-xs border border-slate-200 transition-all duration-200 hover:shadow-sm;}.settings-card__header[data-v-502b3f8f]{@apply flex items-center mb-4 pb-3 border-b border-slate-100;}.settings-card__icon[data-v-502b3f8f]{@apply text-lg mr-2 flex items-center;}.settings-card__title[data-v-502b3f8f]{@apply text-lg font-semibold text-slate-800;}.settings-card__content[data-v-502b3f8f]{@apply space-y-4;}']],["__scopeId","data-v-502b3f8f"]]),Kp={class:"translation-controls"},zp={class:"translation-controls__content"},Wp={class:"control-group"},qp={class:"control-select"},Jp=["value"],Gp={key:0,class:"control-group"},Yp={key:0,class:"driver-options"},Xp={key:0,class:"control-group"},Zp={key:1,class:"control-group"},Qp={class:"control-select"},eh={key:2,class:"control-group"},th={class:"control-select"},oh=["value"],nh={key:3,class:"control-group"},sh={class:"control-select"},rh=_e(xe({__name:"TranslationControls",props:{driver:{type:String},apiToken:{type:String},options:{type:Object}},emits:["update:driver","update:apiToken","update:options"],setup(e,{emit:t}){const o=e,n=t,s=re(o.driver),r=re(o.apiToken),i=re({...o.options});Te(()=>o.driver,async u=>{u!==s.value&&(await ct(),s.value=u)}),Te(()=>o.apiToken,async u=>{u!==r.value&&(await ct(),r.value=u)}),Te(()=>o.options,async u=>{JSON.stringify(u)!==JSON.stringify(i.value)&&(await ct(),i.value={...u})},{deep:!0}),Te(s,async u=>{u!==o.driver&&(await ct(),n("update:driver",u))}),Te(r,async u=>{u!==o.apiToken&&(await ct(),n("update:apiToken",u))}),Te(i,async u=>{JSON.stringify(u)!==JSON.stringify(o.options)&&(await ct(),n("update:options",{...u}))},{deep:!0});const l=[{label:"Disabled",value:"disabled"},{label:"OpenAI",value:"openai"},{label:"Google",value:"google"},{label:"Google Free",value:"google-free"},{label:"DeepL",value:"deepl"},{label:"DeepSeek",value:"deepseek"},{label:"Yandex",value:"yandex"},{label:"Yandex Cloud",value:"yandex-cloud"}],a=["gpt-5","gpt-5-mini","gpt-5-nano","gpt-5-chat-latest","gpt-5-2025-08-07","gpt-5-mini-2025-08-07","gpt-5-nano-2025-08-07","gpt-4.1","gpt-4.1-mini","gpt-4.1-nano","gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14","o3","o3-mini","o3-pro","o3-deep-research","o3-2025-04-16","o3-mini-2025-01-31","o3-pro-2025-06-10","o3-deep-research-2025-06-26","o4-mini","o4-mini-deep-research","o4-mini-2025-04-16","o4-mini-deep-research-2025-06-26","o1","o1-mini","o1-pro","o1-2024-12-17","o1-mini-2024-09-12","o1-pro-2025-03-19","gpt-4o","gpt-4o-mini","gpt-4o-2024-05-13","gpt-4o-mini-2024-07-18","gpt-4o-2024-08-06","gpt-4o-2024-11-20","gpt-4o-2025-03-11","chatgpt-4o-latest","gpt-4o-realtime-preview","gpt-4o-audio-preview","gpt-4o-mini-realtime-preview","gpt-4o-mini-audio-preview","gpt-4o-realtime-preview-2024-10-01","gpt-4o-audio-preview-2024-10-01","gpt-4o-realtime-preview-2024-12-17","gpt-4o-audio-preview-2024-12-17","gpt-4o-mini-realtime-preview-2024-12-17","gpt-4o-mini-audio-preview-2024-12-17","gpt-4o-realtime-preview-2025-06-03","gpt-4o-audio-preview-2025-06-03","gpt-4o-search-preview","gpt-4o-mini-search-preview","gpt-4o-search-preview-2025-03-11","gpt-4o-mini-search-preview-2025-03-11","gpt-4o-transcribe","gpt-4o-mini-transcribe","gpt-4o-mini-tts","gpt-4","gpt-4-turbo","gpt-4-turbo-preview","gpt-4-0613","gpt-4-1106-preview","gpt-4-0125-preview","gpt-4-turbo-2024-04-09","gpt-3.5-turbo","gpt-3.5-turbo-16k","gpt-3.5-turbo-instruct","gpt-3.5-turbo-instruct-0914","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125"];return(u,c)=>(y(),D("div",Kp,[g("div",zp,[g("div",Wp,[c[8]||(c[8]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🔧"),nt(" Translation Service ")],-1)),g("div",qp,[ut(g("select",{"onUpdate:modelValue":c[0]||(c[0]=d=>s.value=d),class:"select-input"},[c[6]||(c[6]=g("option",{value:"",disabled:"",hidden:""}," Select a translation driver ",-1)),(y(),D(te,null,Me(l,d=>g("option",{key:d.value,value:d.value},G(d.label),9,Jp)),64))],512),[[Mn,s.value]]),c[7]||(c[7]=g("div",{class:"select-arrow"}," ▼ ",-1))])]),Y(As,{name:"fade-slide"},{default:we(()=>[s.value!=="disabled"?(y(),D("div",Gp,[c[9]||(c[9]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🔑"),nt(" API Authorization ")],-1)),ut(g("input",{"onUpdate:modelValue":c[1]||(c[1]=d=>r.value=d),type:"password",placeholder:"Enter your secure API token",class:"styled-input"},null,512),[[Pn,r.value]])])):ie("",!0)]),_:1}),Y(As,{name:"fade-slide"},{default:we(()=>[s.value!=="disabled"?(y(),D("div",Yp,[s.value==="yandex-cloud"?(y(),D("div",Xp,[c[10]||(c[10]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"📁"),nt(" Cloud Folder ID ")],-1)),ut(g("input",{"onUpdate:modelValue":c[2]||(c[2]=d=>i.value.folderId=d),type:"text",placeholder:"Yandex Cloud folder identifier",class:"styled-input"},null,512),[[Pn,i.value.folderId]])])):ie("",!0),s.value==="deepl"?(y(),D("div",Zp,[c[13]||(c[13]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🎚️"),nt(" Tone Formality ")],-1)),g("div",Qp,[ut(g("select",{"onUpdate:modelValue":c[3]||(c[3]=d=>i.value.formality=d),class:"select-input"},[...c[11]||(c[11]=[g("option",{value:"default"}," Neutral (Default) ",-1),g("option",{value:"more"}," Formal Tone ",-1),g("option",{value:"less"}," Casual Tone ",-1)])],512),[[Mn,i.value.formality]]),c[12]||(c[12]=g("div",{class:"select-arrow"}," ▼ ",-1))])])):ie("",!0),s.value==="openai"?(y(),D("div",eh,[c[15]||(c[15]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🤖"),nt(" AI Model Selection ")],-1)),g("div",th,[ut(g("select",{"onUpdate:modelValue":c[4]||(c[4]=d=>i.value.model=d),class:"select-input"},[(y(),D(te,null,Me(a,d=>g("option",{key:d,value:d},G(d),9,oh)),64))],512),[[Mn,i.value.model]]),c[14]||(c[14]=g("div",{class:"select-arrow"}," ▼ ",-1))])])):ie("",!0),s.value==="deepseek"?(y(),D("div",nh,[c[18]||(c[18]=g("label",{class:"control-label"},[g("span",{class:"control-icon"},"🧠"),nt(" Reasoning Model ")],-1)),g("div",sh,[ut(g("select",{"onUpdate:modelValue":c[5]||(c[5]=d=>i.value.model=d),class:"select-input"},[...c[16]||(c[16]=[g("option",{value:"deepseek-chat"}," Chat Optimized ",-1),g("option",{value:"deepseek-reasoner"}," Advanced Reasoning ",-1)])],512),[[Mn,i.value.model]]),c[17]||(c[17]=g("div",{class:"select-arrow"}," ▼ ",-1))])])):ie("",!0)])):ie("",!0)]),_:1})])]))}}),[["styles",['@reference "tailwindcss";.translation-controls[data-v-946f5883],.translation-controls__content[data-v-946f5883]{@apply space-y-4;}.control-group[data-v-946f5883]{@apply space-y-2;}.control-label[data-v-946f5883]{@apply flex items-center text-sm font-medium text-slate-600;}.control-icon[data-v-946f5883]{@apply mr-2;}.control-select[data-v-946f5883]{@apply relative rounded-lg border border-slate-200 transition-all duration-200 hover:border-blue-400;}.select-input[data-v-946f5883]{@apply w-full px-3 py-2 pr-8 bg-transparent outline-hidden appearance-none text-slate-700 rounded-lg text-sm;}.select-arrow[data-v-946f5883]{@apply absolute right-2 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none text-xs;}.styled-input[data-v-946f5883]{@apply w-full px-3 py-2 rounded-lg border border-slate-200 outline-hidden transition-all duration-200 focus:ring-2 focus:ring-blue-200 focus:border-blue-400 placeholder-slate-400 text-sm;}.driver-options[data-v-946f5883]{@apply pl-4 border-l-2 border-blue-100 ml-2 space-y-3;}.fade-slide-enter-active[data-v-946f5883],.fade-slide-leave-active[data-v-946f5883]{transition:all .3s ease}.fade-slide-enter-from[data-v-946f5883],.fade-slide-leave-to[data-v-946f5883]{opacity:0;transform:translate(10px)}']],["__scopeId","data-v-946f5883"]]),ih={class:"settings-view"},lh={class:"space-y-6"},$l="translationSettings",ah=_e(xe({__name:"SettingsView",setup(e){const t=re("disabled"),o=re(""),n=re({folderId:"",formality:"default",model:"gpt-3.5-turbo"});return At(()=>{const s=localStorage.getItem($l);if(s){const{driver:r,token:i,options:l}=JSON.parse(s);t.value=r,o.value=i,n.value=l||{}}}),Te([t,o,n],async()=>{await ct();const s={driver:t.value,token:o.value,options:n.value};localStorage.setItem($l,JSON.stringify(s))},{deep:!0}),(s,r)=>(y(),D("div",ih,[g("div",lh,[Y(Bp,{title:"Auto-Translation Engine",icon:"🌐"},{default:we(()=>[Y(rh,{driver:t.value,"onUpdate:driver":r[0]||(r[0]=i=>t.value=i),"api-token":o.value,"onUpdate:apiToken":r[1]||(r[1]=i=>o.value=i),options:n.value,"onUpdate:options":r[2]||(r[2]=i=>n.value=i)},null,8,["driver","api-token","options"])]),_:1})])]))}}),[["styles",['@reference "tailwindcss";.settings-view[data-v-8ffb2606]{@apply h-full overflow-auto p-4;}']],["__scopeId","data-v-8ffb2606"]]),ch={class:"i18n-devtools"},dh={class:"header"},uh={class:"content-area"},fh={class:"view-container"},ph=_e(xe({__name:"App.ce",props:{bridge:{type:Object,required:!1}},setup(e){const t=e,o=_u();fi(El,o);const n=re("i18n"),s=[{label:"i18n",value:"i18n",icon:Ls},{label:"Settings",value:"settings",icon:wl},{label:"Server Info",value:"config",icon:xl}],r=async l=>{o.bridge.value||(console.log("[i18n-devtools] Bridge received, initializing..."),o.setBridge(l),await o.init())};Te(()=>t.bridge,l=>{l&&r(l)},{immediate:!0});const i=oe(()=>o.isLoading.value||!o.bridge.value);return At(()=>{t.bridge?r(t.bridge):console.log("[i18n-devtools] Waiting for bridge...")}),(l,a)=>(y(),D("div",ch,[i.value?(y(),be(Fs,{key:0})):(y(),D(te,{key:1},[g("div",dh,[Y(bu,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=u=>n.value=u),tabs:s},null,8,["modelValue"])]),g("div",uh,[g("div",fh,[n.value==="i18n"?(y(),be(Mp,{key:0})):ie("",!0),n.value==="settings"?(y(),be(ah,{key:1})):ie("",!0),n.value==="config"?(y(),be(pf,{key:2})):ie("",!0)])])],64))]))}}),[["styles",['@layer theme,base,components,utilities;@layer theme{@theme default{ --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --color-red-50: oklch(97.1% .013 17.38); --color-red-100: oklch(93.6% .032 17.717); --color-red-200: oklch(88.5% .062 18.334); --color-red-300: oklch(80.8% .114 19.571); --color-red-400: oklch(70.4% .191 22.216); --color-red-500: oklch(63.7% .237 25.331); --color-red-600: oklch(57.7% .245 27.325); --color-red-700: oklch(50.5% .213 27.518); --color-red-800: oklch(44.4% .177 26.899); --color-red-900: oklch(39.6% .141 25.723); --color-red-950: oklch(25.8% .092 26.042); --color-orange-50: oklch(98% .016 73.684); --color-orange-100: oklch(95.4% .038 75.164); --color-orange-200: oklch(90.1% .076 70.697); --color-orange-300: oklch(83.7% .128 66.29); --color-orange-400: oklch(75% .183 55.934); --color-orange-500: oklch(70.5% .213 47.604); --color-orange-600: oklch(64.6% .222 41.116); --color-orange-700: oklch(55.3% .195 38.402); --color-orange-800: oklch(47% .157 37.304); --color-orange-900: oklch(40.8% .123 38.172); --color-orange-950: oklch(26.6% .079 36.259); --color-amber-50: oklch(98.7% .022 95.277); --color-amber-100: oklch(96.2% .059 95.617); --color-amber-200: oklch(92.4% .12 95.746); --color-amber-300: oklch(87.9% .169 91.605); --color-amber-400: oklch(82.8% .189 84.429); --color-amber-500: oklch(76.9% .188 70.08); --color-amber-600: oklch(66.6% .179 58.318); --color-amber-700: oklch(55.5% .163 48.998); --color-amber-800: oklch(47.3% .137 46.201); --color-amber-900: oklch(41.4% .112 45.904); --color-amber-950: oklch(27.9% .077 45.635); --color-yellow-50: oklch(98.7% .026 102.212); --color-yellow-100: oklch(97.3% .071 103.193); --color-yellow-200: oklch(94.5% .129 101.54); --color-yellow-300: oklch(90.5% .182 98.111); --color-yellow-400: oklch(85.2% .199 91.936); --color-yellow-500: oklch(79.5% .184 86.047); --color-yellow-600: oklch(68.1% .162 75.834); --color-yellow-700: oklch(55.4% .135 66.442); --color-yellow-800: oklch(47.6% .114 61.907); --color-yellow-900: oklch(42.1% .095 57.708); --color-yellow-950: oklch(28.6% .066 53.813); --color-lime-50: oklch(98.6% .031 120.757); --color-lime-100: oklch(96.7% .067 122.328); --color-lime-200: oklch(93.8% .127 124.321); --color-lime-300: oklch(89.7% .196 126.665); --color-lime-400: oklch(84.1% .238 128.85); --color-lime-500: oklch(76.8% .233 130.85); --color-lime-600: oklch(64.8% .2 131.684); --color-lime-700: oklch(53.2% .157 131.589); --color-lime-800: oklch(45.3% .124 130.933); --color-lime-900: oklch(40.5% .101 131.063); --color-lime-950: oklch(27.4% .072 132.109); --color-green-50: oklch(98.2% .018 155.826); --color-green-100: oklch(96.2% .044 156.743); --color-green-200: oklch(92.5% .084 155.995); --color-green-300: oklch(87.1% .15 154.449); --color-green-400: oklch(79.2% .209 151.711); --color-green-500: oklch(72.3% .219 149.579); --color-green-600: oklch(62.7% .194 149.214); --color-green-700: oklch(52.7% .154 150.069); --color-green-800: oklch(44.8% .119 151.328); --color-green-900: oklch(39.3% .095 152.535); --color-green-950: oklch(26.6% .065 152.934); --color-emerald-50: oklch(97.9% .021 166.113); --color-emerald-100: oklch(95% .052 163.051); --color-emerald-200: oklch(90.5% .093 164.15); --color-emerald-300: oklch(84.5% .143 164.978); --color-emerald-400: oklch(76.5% .177 163.223); --color-emerald-500: oklch(69.6% .17 162.48); --color-emerald-600: oklch(59.6% .145 163.225); --color-emerald-700: oklch(50.8% .118 165.612); --color-emerald-800: oklch(43.2% .095 166.913); --color-emerald-900: oklch(37.8% .077 168.94); --color-emerald-950: oklch(26.2% .051 172.552); --color-teal-50: oklch(98.4% .014 180.72); --color-teal-100: oklch(95.3% .051 180.801); --color-teal-200: oklch(91% .096 180.426); --color-teal-300: oklch(85.5% .138 181.071); --color-teal-400: oklch(77.7% .152 181.912); --color-teal-500: oklch(70.4% .14 182.503); --color-teal-600: oklch(60% .118 184.704); --color-teal-700: oklch(51.1% .096 186.391); --color-teal-800: oklch(43.7% .078 188.216); --color-teal-900: oklch(38.6% .063 188.416); --color-teal-950: oklch(27.7% .046 192.524); --color-cyan-50: oklch(98.4% .019 200.873); --color-cyan-100: oklch(95.6% .045 203.388); --color-cyan-200: oklch(91.7% .08 205.041); --color-cyan-300: oklch(86.5% .127 207.078); --color-cyan-400: oklch(78.9% .154 211.53); --color-cyan-500: oklch(71.5% .143 215.221); --color-cyan-600: oklch(60.9% .126 221.723); --color-cyan-700: oklch(52% .105 223.128); --color-cyan-800: oklch(45% .085 224.283); --color-cyan-900: oklch(39.8% .07 227.392); --color-cyan-950: oklch(30.2% .056 229.695); --color-sky-50: oklch(97.7% .013 236.62); --color-sky-100: oklch(95.1% .026 236.824); --color-sky-200: oklch(90.1% .058 230.902); --color-sky-300: oklch(82.8% .111 230.318); --color-sky-400: oklch(74.6% .16 232.661); --color-sky-500: oklch(68.5% .169 237.323); --color-sky-600: oklch(58.8% .158 241.966); --color-sky-700: oklch(50% .134 242.749); --color-sky-800: oklch(44.3% .11 240.79); --color-sky-900: oklch(39.1% .09 240.876); --color-sky-950: oklch(29.3% .066 243.157); --color-blue-50: oklch(97% .014 254.604); --color-blue-100: oklch(93.2% .032 255.585); --color-blue-200: oklch(88.2% .059 254.128); --color-blue-300: oklch(80.9% .105 251.813); --color-blue-400: oklch(70.7% .165 254.624); --color-blue-500: oklch(62.3% .214 259.815); --color-blue-600: oklch(54.6% .245 262.881); --color-blue-700: oklch(48.8% .243 264.376); --color-blue-800: oklch(42.4% .199 265.638); --color-blue-900: oklch(37.9% .146 265.522); --color-blue-950: oklch(28.2% .091 267.935); --color-indigo-50: oklch(96.2% .018 272.314); --color-indigo-100: oklch(93% .034 272.788); --color-indigo-200: oklch(87% .065 274.039); --color-indigo-300: oklch(78.5% .115 274.713); --color-indigo-400: oklch(67.3% .182 276.935); --color-indigo-500: oklch(58.5% .233 277.117); --color-indigo-600: oklch(51.1% .262 276.966); --color-indigo-700: oklch(45.7% .24 277.023); --color-indigo-800: oklch(39.8% .195 277.366); --color-indigo-900: oklch(35.9% .144 278.697); --color-indigo-950: oklch(25.7% .09 281.288); --color-violet-50: oklch(96.9% .016 293.756); --color-violet-100: oklch(94.3% .029 294.588); --color-violet-200: oklch(89.4% .057 293.283); --color-violet-300: oklch(81.1% .111 293.571); --color-violet-400: oklch(70.2% .183 293.541); --color-violet-500: oklch(60.6% .25 292.717); --color-violet-600: oklch(54.1% .281 293.009); --color-violet-700: oklch(49.1% .27 292.581); --color-violet-800: oklch(43.2% .232 292.759); --color-violet-900: oklch(38% .189 293.745); --color-violet-950: oklch(28.3% .141 291.089); --color-purple-50: oklch(97.7% .014 308.299); --color-purple-100: oklch(94.6% .033 307.174); --color-purple-200: oklch(90.2% .063 306.703); --color-purple-300: oklch(82.7% .119 306.383); --color-purple-400: oklch(71.4% .203 305.504); --color-purple-500: oklch(62.7% .265 303.9); --color-purple-600: oklch(55.8% .288 302.321); --color-purple-700: oklch(49.6% .265 301.924); --color-purple-800: oklch(43.8% .218 303.724); --color-purple-900: oklch(38.1% .176 304.987); --color-purple-950: oklch(29.1% .149 302.717); --color-fuchsia-50: oklch(97.7% .017 320.058); --color-fuchsia-100: oklch(95.2% .037 318.852); --color-fuchsia-200: oklch(90.3% .076 319.62); --color-fuchsia-300: oklch(83.3% .145 321.434); --color-fuchsia-400: oklch(74% .238 322.16); --color-fuchsia-500: oklch(66.7% .295 322.15); --color-fuchsia-600: oklch(59.1% .293 322.896); --color-fuchsia-700: oklch(51.8% .253 323.949); --color-fuchsia-800: oklch(45.2% .211 324.591); --color-fuchsia-900: oklch(40.1% .17 325.612); --color-fuchsia-950: oklch(29.3% .136 325.661); --color-pink-50: oklch(97.1% .014 343.198); --color-pink-100: oklch(94.8% .028 342.258); --color-pink-200: oklch(89.9% .061 343.231); --color-pink-300: oklch(82.3% .12 346.018); --color-pink-400: oklch(71.8% .202 349.761); --color-pink-500: oklch(65.6% .241 354.308); --color-pink-600: oklch(59.2% .249 .584); --color-pink-700: oklch(52.5% .223 3.958); --color-pink-800: oklch(45.9% .187 3.815); --color-pink-900: oklch(40.8% .153 2.432); --color-pink-950: oklch(28.4% .109 3.907); --color-rose-50: oklch(96.9% .015 12.422); --color-rose-100: oklch(94.1% .03 12.58); --color-rose-200: oklch(89.2% .058 10.001); --color-rose-300: oklch(81% .117 11.638); --color-rose-400: oklch(71.2% .194 13.428); --color-rose-500: oklch(64.5% .246 16.439); --color-rose-600: oklch(58.6% .253 17.585); --color-rose-700: oklch(51.4% .222 16.935); --color-rose-800: oklch(45.5% .188 13.697); --color-rose-900: oklch(41% .159 10.272); --color-rose-950: oklch(27.1% .105 12.094); --color-slate-50: oklch(98.4% .003 247.858); --color-slate-100: oklch(96.8% .007 247.896); --color-slate-200: oklch(92.9% .013 255.508); --color-slate-300: oklch(86.9% .022 252.894); --color-slate-400: oklch(70.4% .04 256.788); --color-slate-500: oklch(55.4% .046 257.417); --color-slate-600: oklch(44.6% .043 257.281); --color-slate-700: oklch(37.2% .044 257.287); --color-slate-800: oklch(27.9% .041 260.031); --color-slate-900: oklch(20.8% .042 265.755); --color-slate-950: oklch(12.9% .042 264.695); --color-gray-50: oklch(98.5% .002 247.839); --color-gray-100: oklch(96.7% .003 264.542); --color-gray-200: oklch(92.8% .006 264.531); --color-gray-300: oklch(87.2% .01 258.338); --color-gray-400: oklch(70.7% .022 261.325); --color-gray-500: oklch(55.1% .027 264.364); --color-gray-600: oklch(44.6% .03 256.802); --color-gray-700: oklch(37.3% .034 259.733); --color-gray-800: oklch(27.8% .033 256.848); --color-gray-900: oklch(21% .034 264.665); --color-gray-950: oklch(13% .028 261.692); --color-zinc-50: oklch(98.5% 0 0); --color-zinc-100: oklch(96.7% .001 286.375); --color-zinc-200: oklch(92% .004 286.32); --color-zinc-300: oklch(87.1% .006 286.286); --color-zinc-400: oklch(70.5% .015 286.067); --color-zinc-500: oklch(55.2% .016 285.938); --color-zinc-600: oklch(44.2% .017 285.786); --color-zinc-700: oklch(37% .013 285.805); --color-zinc-800: oklch(27.4% .006 286.033); --color-zinc-900: oklch(21% .006 285.885); --color-zinc-950: oklch(14.1% .005 285.823); --color-neutral-50: oklch(98.5% 0 0); --color-neutral-100: oklch(97% 0 0); --color-neutral-200: oklch(92.2% 0 0); --color-neutral-300: oklch(87% 0 0); --color-neutral-400: oklch(70.8% 0 0); --color-neutral-500: oklch(55.6% 0 0); --color-neutral-600: oklch(43.9% 0 0); --color-neutral-700: oklch(37.1% 0 0); --color-neutral-800: oklch(26.9% 0 0); --color-neutral-900: oklch(20.5% 0 0); --color-neutral-950: oklch(14.5% 0 0); --color-stone-50: oklch(98.5% .001 106.423); --color-stone-100: oklch(97% .001 106.424); --color-stone-200: oklch(92.3% .003 48.717); --color-stone-300: oklch(86.9% .005 56.366); --color-stone-400: oklch(70.9% .01 56.259); --color-stone-500: oklch(55.3% .013 58.071); --color-stone-600: oklch(44.4% .011 73.639); --color-stone-700: oklch(37.4% .01 67.558); --color-stone-800: oklch(26.8% .007 34.298); --color-stone-900: oklch(21.6% .006 56.043); --color-stone-950: oklch(14.7% .004 49.25); --color-black: #000; --color-white: #fff; --spacing: .25rem; --breakpoint-sm: 40rem; --breakpoint-md: 48rem; --breakpoint-lg: 64rem; --breakpoint-xl: 80rem; --breakpoint-2xl: 96rem; --container-3xs: 16rem; --container-2xs: 18rem; --container-xs: 20rem; --container-sm: 24rem; --container-md: 28rem; --container-lg: 32rem; --container-xl: 36rem; --container-2xl: 42rem; --container-3xl: 48rem; --container-4xl: 56rem; --container-5xl: 64rem; --container-6xl: 72rem; --container-7xl: 80rem; --text-xs: .75rem; --text-xs--line-height: calc(1 / .75); --text-sm: .875rem; --text-sm--line-height: calc(1.25 / .875); --text-base: 1rem; --text-base--line-height: 1.5 ; --text-lg: 1.125rem; --text-lg--line-height: calc(1.75 / 1.125); --text-xl: 1.25rem; --text-xl--line-height: calc(1.75 / 1.25); --text-2xl: 1.5rem; --text-2xl--line-height: calc(2 / 1.5); --text-3xl: 1.875rem; --text-3xl--line-height: 1.2 ; --text-4xl: 2.25rem; --text-4xl--line-height: calc(2.5 / 2.25); --text-5xl: 3rem; --text-5xl--line-height: 1; --text-6xl: 3.75rem; --text-6xl--line-height: 1; --text-7xl: 4.5rem; --text-7xl--line-height: 1; --text-8xl: 6rem; --text-8xl--line-height: 1; --text-9xl: 8rem; --text-9xl--line-height: 1; --font-weight-thin: 100; --font-weight-extralight: 200; --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700; --font-weight-extrabold: 800; --font-weight-black: 900; --tracking-tighter: -.05em; --tracking-tight: -.025em; --tracking-normal: 0em; --tracking-wide: .025em; --tracking-wider: .05em; --tracking-widest: .1em; --leading-tight: 1.25; --leading-snug: 1.375; --leading-normal: 1.5; --leading-relaxed: 1.625; --leading-loose: 2; --radius-xs: .125rem; --radius-sm: .25rem; --radius-md: .375rem; --radius-lg: .5rem; --radius-xl: .75rem; --radius-2xl: 1rem; --radius-3xl: 1.5rem; --radius-4xl: 2rem; --shadow-2xs: 0 1px rgb(0 0 0 / .05); --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05); --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25); --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / .05); --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / .05); --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / .05); --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / .05); --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / .15); --drop-shadow-md: 0 3px 3px rgb(0 0 0 / .12); --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / .15); --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / .1); --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / .15); --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / .15); --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / .2); --text-shadow-sm: 0px 1px 0px rgb(0 0 0 / .075), 0px 1px 1px rgb(0 0 0 / .075), 0px 2px 2px rgb(0 0 0 / .075); --text-shadow-md: 0px 1px 1px rgb(0 0 0 / .1), 0px 1px 2px rgb(0 0 0 / .1), 0px 2px 4px rgb(0 0 0 / .1); --text-shadow-lg: 0px 1px 2px rgb(0 0 0 / .1), 0px 3px 2px rgb(0 0 0 / .1), 0px 4px 8px rgb(0 0 0 / .1); --ease-in: cubic-bezier(.4, 0, 1, 1); --ease-out: cubic-bezier(0, 0, .2, 1); --ease-in-out: cubic-bezier(.4, 0, .2, 1); --animate-spin: spin 1s linear infinite; --animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite; --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; --animate-bounce: bounce 1s infinite; @keyframes spin { to { transform: rotate(360deg); } } @keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } } @keyframes pulse { 50% { opacity: .5; } } @keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); } 50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); } } --blur-xs: 4px; --blur-sm: 8px; --blur-md: 12px; --blur-lg: 16px; --blur-xl: 24px; --blur-2xl: 40px; --blur-3xl: 64px; --perspective-dramatic: 100px; --perspective-near: 300px; --perspective-normal: 500px; --perspective-midrange: 800px; --perspective-distant: 1200px; --aspect-video: 16 / 9; --default-transition-duration: .15s; --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1); --default-font-family: --theme(--font-sans, initial); --default-font-feature-settings: --theme( --font-sans--font-feature-settings, initial ); --default-font-variation-settings: --theme( --font-sans--font-variation-settings, initial ); --default-mono-font-family: --theme(--font-mono, initial); --default-mono-font-feature-settings: --theme( --font-mono--font-feature-settings, initial ); --default-mono-font-variation-settings: --theme( --font-mono--font-variation-settings, initial ); }@theme default inline reference{ --blur: 8px; --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1); --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / .05); --drop-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 1px 1px rgb(0 0 0 / .06); --radius: .25rem; --max-width-prose: 65ch; }}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:--theme(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:--theme(--default-font-feature-settings,normal);font-variation-settings:--theme(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:--theme(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:--theme(--default-mono-font-feature-settings,normal);font-variation-settings:--theme(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{@tailwind utilities;}.i18n-devtools{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:host{display:block;width:100%;height:100vh;overflow:hidden}.i18n-devtools{@apply antialiased text-slate-700 bg-white flex flex-col w-full h-full overflow-hidden;}.header{@apply shrink-0 border-b border-slate-200 bg-white z-20 relative;}.content-area{@apply flex-1 relative w-full h-full overflow-hidden;}.view-container{@apply absolute inset-0 w-full h-full overflow-hidden;}']]]);function hh(e){const{adapter:t,locales:o=[],defaultLocale:n="en",translationDir:s="src/locales"}=e,r=()=>{const i={},l=t.getRouteCache();for(const[a,u]of Object.entries(l)){if(!u||typeof u!="object"||Array.isArray(u)||Object.keys(u).length===0)continue;const c=a.indexOf(":");if(c===-1)continue;const d=a.substring(0,c),p=a.substring(c+1);i[p==="index"?eo.buildSourceRootPath(d):eo.buildSourcePagePath(p,d)]=u}return i};return{async getLocalesAndTranslations(){return r()},async getConfigs(){return{defaultLocale:n||t.getCurrentLocale?.()||"en",fallbackLocale:t.getFallbackLocale?.()||n||"en",locales:o||[],translationDir:s||"locales"}},async saveTranslation(i,l){try{const a=i.replace(/^\/+/,"").replace(/\/+/g,"/"),u=Al.parseTranslationRelativePath(a);if(u.type==="page")t.addRouteTranslations(u.locale,u.pageName,l,!1);else if(u.type==="root")t.addTranslations(u.locale,l,!1);else throw new Error(`Unknown file path format: ${i}`);const c=s?`${s}/${a}`:a;try{const d=await fetch("/__i18n_api/save",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({file:c,content:l})});if(!d.ok){const p=await d.json().catch(()=>({error:"Unknown error"}));throw new Error(p.error||`Network response was not ok: ${d.statusText}`)}console.log(`[i18n-bridge] Saved to disk: ${c}`)}catch(d){if(typeof localStorage<"u"){console.warn("[i18n-bridge] Server save failed, falling back to localStorage:",d);const p=`i18n_save_${i}`;localStorage.setItem(p,JSON.stringify(l,null,2))}else throw d}}catch(a){throw new Error(`Failed to save: ${a instanceof Error?a.message:String(a)}`)}},onLocalesUpdate(i){return t.subscribe(()=>{i(r())})}}}function gh(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}function mh(){const e=new Map,t=new Set;window.addEventListener("message",n=>{const s=n.data;if(!(!s||s.jsonrpc!=="2.0"))if("id"in s&&s.id&&e.has(s.id)){const r=e.get(s.id);if(r){const{resolve:i,reject:l}=r;e.delete(s.id),s.error?l(new Error(s.error.message)):i(s.result)}}else"method"in s&&s.method==="localesUpdate"&&t.forEach(r=>{r(s.params)})});const o=(n,s)=>new Promise((r,i)=>{const l=gh();e.set(l,{resolve:r,reject:i});const a={jsonrpc:"2.0",id:l,method:n,params:s};window.parent.postMessage(a,"*")});return{getLocalesAndTranslations:()=>o("getLocalesAndTranslations"),getConfigs:()=>o("getConfigs"),saveTranslation:(n,s)=>o("saveTranslation",{file:n,content:s}),onLocalesUpdate:n=>(t.add(n),()=>{t.delete(n)})}}function bh(e,t){const o=async s=>{if(s.source!==e)return;const r=s.data;if(!r||r.jsonrpc!=="2.0"||!r.id)return;const i={jsonrpc:"2.0",id:r.id};try{switch(r.method){case"getLocalesAndTranslations":i.result=await t.getLocalesAndTranslations();break;case"getConfigs":i.result=await t.getConfigs();break;case"saveTranslation":{const l=r.params;await t.saveTranslation(l.file,l.content),i.result=!0;break}default:throw new Error(`Method ${r.method} not found`)}}catch(l){const a=l instanceof Error?l.message:String(l);i.error={code:-32603,message:a}}e.postMessage(i,"*")};window.addEventListener("message",o);const n=t.onLocalesUpdate(s=>{const r={jsonrpc:"2.0",method:"localesUpdate",params:s};e.postMessage(r,"*")});return()=>{window.removeEventListener("message",o),n()}}const Sl=Pd(ph);function _h(){customElements.get("i18n-devtools-ui")||customElements.define("i18n-devtools-ui",Sl)}We.I18nDevToolsElement=Sl,We.createBridge=hh,We.createRpcClient=mh,We.register=_h,We.setupRpcHost=bh,Object.defineProperty(We,Symbol.toStringTag,{value:"Module"})}));
10
10
  //# sourceMappingURL=index.umd.js.map