@madgex/design-system-ce 5.1.1 → 5.2.0
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/CHANGELOG.md +30 -0
- package/components/internals/MdsIcon.vue +29 -0
- package/components/text-editor/TextEditor.ce.vue +68 -0
- package/components/text-editor/TextEditorButton.vue +60 -0
- package/components/text-editor/TextEditorContent.vue +69 -0
- package/components/text-editor/TextEditorToolbar.vue +149 -0
- package/custom-elements/mds-combobox.js +13 -0
- package/custom-elements/mds-text-editor.js +12 -0
- package/dist/custom-elements/mds-combobox.js +1 -0
- package/dist/custom-elements/mds-text-editor.js +92 -0
- package/dist/index.js +1 -2
- package/dist/manifest.json +25 -11
- package/dist/plugin-vue_export-helper.js +2 -0
- package/index.js +8 -11
- package/package.json +4 -2
- package/vite.config.js +7 -15
- package/dist/assets/polyfills-legacy.bfe7dd4c.js +0 -1
- package/dist/index-legacy.js +0 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=!0,$=!1,G;return{s:function(){y=y.call(I)},n:function(){var ne=y.next();return R=ne.done,ne},e:function(ne){$=!0,G=ne},f:function(){try{!R&&y.return!=null&&y.return()}finally{if($)throw G}}}}/*! (c) Andrea Giammarchi - ISC */var s=!0,i=!1,o="querySelectorAll",c=function(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],R=function ne(Ze,Qe,me,K,ee,re){var ve=r(Ze),Ot;try{for(ve.s();!(Ot=ve.n()).done;){var fe=Ot.value;(re||o in fe)&&(ee?me.has(fe)||(me.add(fe),K.delete(fe),h(fe,ee)):K.has(fe)||(K.add(fe),me.delete(fe),h(fe,ee)),re||ne(fe[o](Qe),Qe,me,K,ee,s))}}catch(Mn){ve.e(Mn)}finally{ve.f()}},$=new N(function(ne){if(P.length){var Ze=P.join(","),Qe=new Set,me=new Set,K=r(ne),ee;try{for(K.s();!(ee=K.n()).done;){var re=ee.value,ve=re.addedNodes,Ot=re.removedNodes;R(Ot,Ze,Qe,me,i,i),R(ve,Ze,Qe,me,s,i)}}catch(fe){K.e(fe)}finally{K.f()}}}),G=$.observe;return($.observe=function(ne){return G.call($,ne,{subtree:s,childList:s})})(y),$},f="querySelectorAll",a=self,m=a.document,w=a.Element,C=a.MutationObserver,F=a.Set,j=a.WeakMap,z=function(h){return f in h},S=[].filter,B=function(I){var h=new j,y=function(K){for(var ee=0,re=K.length;ee<re;ee++)h.delete(K[ee])},N=function(){for(var K=Ze.takeRecords(),ee=0,re=K.length;ee<re;ee++)$(S.call(K[ee].removedNodes,z),!1),$(S.call(K[ee].addedNodes,z),!0)},P=function(K){return K.matches||K.webkitMatchesSelector||K.msMatchesSelector},R=function(K,ee){var re;if(ee)for(var ve,Ot=P(K),fe=0,Mn=G.length;fe<Mn;fe++)Ot.call(K,ve=G[fe])&&(h.has(K)||h.set(K,new F),re=h.get(K),re.has(ve)||(re.add(ve),I.handle(K,ee,ve)));else h.has(K)&&(re=h.get(K),h.delete(K),re.forEach(function(Xs){I.handle(K,ee,Xs)}))},$=function(K){for(var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,re=0,ve=K.length;re<ve;re++)R(K[re],ee)},G=I.query,ne=I.root||m,Ze=c(R,ne,C,G),Qe=w.prototype.attachShadow;return Qe&&(w.prototype.attachShadow=function(me){var K=Qe.call(this,me);return Ze.observe(K),K}),G.length&&$(ne[f](G)),{drop:y,flush:N,observer:Ze,parse:$}},te=self,J=te.document,Z=te.Map,De=te.MutationObserver,ze=te.Object,St=te.Set,xt=te.WeakMap,Se=te.Element,ct=te.HTMLElement,Ke=te.Node,Je=te.Error,ut=te.TypeError,Xt=te.Reflect,ie=ze.defineProperty,ue=ze.keys,Q=ze.getOwnPropertyNames,V=ze.setPrototypeOf,ae=!self.customElements,yt=function(h){for(var y=ue(h),N=[],P=y.length,R=0;R<P;R++)N[R]=h[y[R]],delete h[y[R]];return function(){for(var $=0;$<P;$++)h[y[$]]=N[$]}};if(ae){var Ue=function(){var h=this.constructor;if(!Oe.has(h))throw new ut("Illegal constructor");var y=Oe.get(h);if(Xe)return l(Xe,y);var N=ke.call(J,y);return l(V(N,h.prototype),y)},ke=J.createElement,Oe=new Z,ft=new Z,Zt=new Z,at=new Z,Ce=[],wt=function(h,y,N){var P=Zt.get(N);if(y&&!P.isPrototypeOf(h)){var R=yt(h);Xe=V(h,P);try{new P.constructor}finally{Xe=null,R()}}var $="".concat(y?"":"dis","connectedCallback");$ in P&&h[$]()},Qt=B({query:Ce,handle:wt}),Ye=Qt.parse,Xe=null,dt=function(h){if(!ft.has(h)){var y,N=new Promise(function(P){y=P});ft.set(h,{$:N,_:y})}return ft.get(h).$},l=e(dt,De);ie(self,"customElements",{configurable:!0,value:{define:function(h,y){if(at.has(h))throw new Je('the name "'.concat(h,'" has already been used with this registry'));Oe.set(y,h),Zt.set(h,y.prototype),at.set(h,y),Ce.push(h),dt(h).then(function(){Ye(J.querySelectorAll(h))}),ft.get(h)._(y)},get:function(h){return at.get(h)},whenDefined:dt}}),ie(Ue.prototype=ct.prototype,"constructor",{value:Ue}),ie(self,"HTMLElement",{configurable:!0,value:Ue}),ie(J,"createElement",{configurable:!0,value:function(h,y){var N=y&&y.is,P=N?at.get(N):at.get(h);return P?new P:ke.call(J,h)}}),"isConnected"in Ke.prototype||ie(Ke.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else try{var u=function I(){return self.Reflect.construct(HTMLLIElement,[],I)};u.prototype=HTMLLIElement.prototype;var d="extends-li";self.customElements.define("extends-li",u,{extends:"li"}),ae=J.createElement("li",{is:d}).outerHTML.indexOf(d)<0;var p=self.customElements,g=p.get,v=p.whenDefined;ie(self.customElements,"whenDefined",{configurable:!0,value:function(h){var y=this;return v.call(this,h).then(function(N){return N||g.call(y,h)})}})}catch{ae=!ae}if(ae){var O=function(h){var y=D.get(h);Ht(y.querySelectorAll(this),h.isConnected)},_=self.customElements,x=J.createElement,b=_.define,T=_.get,E=_.upgrade,M=Xt||{construct:function(h){return h.call(this)}},A=M.construct,D=new xt,W=new St,k=new Z,q=new Z,ge=new Z,Pe=new Z,Rt=[],Re=[],Bt=function(h){return Pe.get(h)||T.call(_,h)},de=function(h,y,N){var P=ge.get(N);if(y&&!P.isPrototypeOf(h)){var R=yt(h);Gt=V(h,P);try{new P.constructor}finally{Gt=null,R()}}var $="".concat(y?"":"dis","connectedCallback");$ in P&&h[$]()},Ee=B({query:Re,handle:de}),Ht=Ee.parse,Js=B({query:Rt,handle:function(h,y){D.has(h)&&(y?W.add(h):W.delete(h),Re.length&&O.call(Re,h))}}),Ys=Js.parse,xr=Se.prototype.attachShadow;xr&&(Se.prototype.attachShadow=function(I){var h=xr.call(this,I);return D.set(this,h),h});var In=function(h){if(!q.has(h)){var y,N=new Promise(function(P){y=P});q.set(h,{$:N,_:y})}return q.get(h).$},Tn=e(In,De),Gt=null;Q(self).filter(function(I){return/^HTML.*Element$/.test(I)}).forEach(function(I){var h=self[I];function y(){var N=this.constructor;if(!k.has(N))throw new ut("Illegal constructor");var P=k.get(N),R=P.is,$=P.tag;if(R){if(Gt)return Tn(Gt,R);var G=x.call(J,$);return G.setAttribute("is",R),Tn(V(G,N.prototype),R)}else return A.call(this,h,[],N)}ie(y.prototype=h.prototype,"constructor",{value:y}),ie(self,I,{value:y})}),ie(J,"createElement",{configurable:!0,value:function(h,y){var N=y&&y.is;if(N){var P=Pe.get(N);if(P&&k.get(P).tag===h)return new P}var R=x.call(J,h);return N&&R.setAttribute("is",N),R}}),ie(_,"get",{configurable:!0,value:Bt}),ie(_,"whenDefined",{configurable:!0,value:In}),ie(_,"upgrade",{configurable:!0,value:function(h){var y=h.getAttribute("is");if(y){var N=Pe.get(y);if(N){Tn(V(h,N.prototype),y);return}}E.call(_,h)}}),ie(_,"define",{configurable:!0,value:function(h,y,N){if(Bt(h))throw new Je("'".concat(h,"' has already been defined as a custom element"));var P,R=N&&N.extends;k.set(y,R?{is:h,tag:R}:{is:"",tag:h}),R?(P="".concat(R,'[is="').concat(h,'"]'),ge.set(P,y.prototype),Pe.set(h,y),Re.push(P)):(b.apply(_,arguments),Rt.push(P=h)),In(h).then(function(){R?(Ht(J.querySelectorAll(P)),W.forEach(O,[P])):Ys(J.querySelectorAll(P))}),q.get(h)._(y)}})}})();function Gn(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Zs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qs=Gn(Zs);function Yr(e){return!!e||e===""}function er(e){if(L(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ce(r)?ti(r):er(r);if(s)for(const i in s)t[i]=s[i]}return t}else{if(ce(e))return e;if(se(e))return e}}const Gs=/;(?![^(]*\))/g,ei=/:(.+)/;function ti(e){const t={};return e.split(Gs).forEach(n=>{if(n){const r=n.split(ei);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Yt(e){let t="";if(ce(e))t=e;else if(L(e))for(let n=0;n<e.length;n++){const r=Yt(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Hn=e=>ce(e)?e:e==null?"":L(e)||se(e)&&(e.toString===Gr||!H(e.toString))?JSON.stringify(e,Xr,2):String(e),Xr=(e,t)=>t&&t.__v_isRef?Xr(e,t.value):Mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Zr(t)?{[`Set(${t.size})`]:[...t.values()]}:se(t)&&!L(t)&&!es(t)?String(t):t,X={},Tt=[],Fe=()=>{},ni=()=>!1,ri=/^on[^a-z]/,gn=e=>ri.test(e),tr=e=>e.startsWith("onUpdate:"),le=Object.assign,nr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},si=Object.prototype.hasOwnProperty,U=(e,t)=>si.call(e,t),L=Array.isArray,Mt=e=>mn(e)==="[object Map]",Zr=e=>mn(e)==="[object Set]",H=e=>typeof e=="function",ce=e=>typeof e=="string",rr=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Qr=e=>se(e)&&H(e.then)&&H(e.catch),Gr=Object.prototype.toString,mn=e=>Gr.call(e),ii=e=>mn(e).slice(8,-1),es=e=>mn(e)==="[object Object]",sr=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,on=Gn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oi=/-(\w)/g,Me=bn(e=>e.replace(oi,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,$e=bn(e=>e.replace(li,"-$1").toLowerCase()),_n=bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Pn=bn(e=>e?`on${_n(e)}`:""),cn=(e,t)=>!Object.is(e,t),An=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},un=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let yr;const ci=()=>yr||(yr=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let He;class ui{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&He&&(this.parent=He,this.index=(He.scopes||(He.scopes=[])).push(this)-1)}run(t){if(this.active){const n=He;try{return He=this,t()}finally{He=n}}}on(){He=this}off(){He=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function fi(e,t=He){t&&t.active&&t.effects.push(e)}const ir=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ts=e=>(e.w&ot)>0,ns=e=>(e.n&ot)>0,ai=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ot},di=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];ts(s)&&!ns(s)?s.delete(e):t[n++]=s,s.w&=~ot,s.n&=~ot}t.length=n}},$n=new WeakMap;let $t=0,ot=1;const Dn=30;let Ae;const _t=Symbol(""),Kn=Symbol("");class or{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,fi(this,r)}run(){if(!this.active)return this.fn();let t=Ae,n=nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ae,Ae=this,nt=!0,ot=1<<++$t,$t<=Dn?ai(this):wr(this),this.fn()}finally{$t<=Dn&&di(this),ot=1<<--$t,Ae=this.parent,nt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ae===this?this.deferStop=!0:this.active&&(wr(this),this.onStop&&this.onStop(),this.active=!1)}}function wr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let nt=!0;const rs=[];function Ft(){rs.push(nt),nt=!1}function Lt(){const e=rs.pop();nt=e===void 0?!0:e}function we(e,t,n){if(nt&&Ae){let r=$n.get(e);r||$n.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=ir()),ss(s)}}function ss(e,t){let n=!1;$t<=Dn?ns(e)||(e.n|=ot,n=!ts(e)):n=!e.has(Ae),n&&(e.add(Ae),Ae.deps.push(e))}function We(e,t,n,r,s,i){const o=$n.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&L(e))o.forEach((f,a)=>{(a==="length"||a>=r)&&c.push(f)});else switch(n!==void 0&&c.push(o.get(n)),t){case"add":L(e)?sr(n)&&c.push(o.get("length")):(c.push(o.get(_t)),Mt(e)&&c.push(o.get(Kn)));break;case"delete":L(e)||(c.push(o.get(_t)),Mt(e)&&c.push(o.get(Kn)));break;case"set":Mt(e)&&c.push(o.get(_t));break}if(c.length===1)c[0]&&Un(c[0]);else{const f=[];for(const a of c)a&&f.push(...a);Un(ir(f))}}function Un(e,t){const n=L(e)?e:[...e];for(const r of n)r.computed&&Or(r);for(const r of n)r.computed||Or(r)}function Or(e,t){(e!==Ae||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const hi=Gn("__proto__,__v_isRef,__isVue"),is=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rr)),pi=lr(),gi=lr(!1,!0),mi=lr(!0),Cr=bi();function bi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Y(this);for(let i=0,o=this.length;i<o;i++)we(r,"get",i+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Y)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ft();const r=Y(this)[t].apply(this,n);return Lt(),r}}),e}function lr(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?Li:fs:t?us:cs).get(r))return r;const o=L(r);if(!e&&o&&U(Cr,s))return Reflect.get(Cr,s,i);const c=Reflect.get(r,s,i);return(rr(s)?is.has(s):hi(s))||(e||we(r,"get",s),t)?c:pe(c)?o&&sr(s)?c:c.value:se(c)?e?as(c):fr(c):c}}const _i=os(),vi=os(!0);function os(e=!1){return function(n,r,s,i){let o=n[r];if(Wt(o)&&pe(o)&&!pe(s))return!1;if(!e&&!Wt(s)&&(kn(s)||(s=Y(s),o=Y(o)),!L(n)&&pe(o)&&!pe(s)))return o.value=s,!0;const c=L(n)&&sr(r)?Number(r)<n.length:U(n,r),f=Reflect.set(n,r,s,i);return n===Y(i)&&(c?cn(s,o)&&We(n,"set",r,s):We(n,"add",r,s)),f}}function xi(e,t){const n=U(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&We(e,"delete",t,void 0),r}function yi(e,t){const n=Reflect.has(e,t);return(!rr(t)||!is.has(t))&&we(e,"has",t),n}function wi(e){return we(e,"iterate",L(e)?"length":_t),Reflect.ownKeys(e)}const ls={get:pi,set:_i,deleteProperty:xi,has:yi,ownKeys:wi},Oi={get:mi,set(e,t){return!0},deleteProperty(e,t){return!0}},Ci=le({},ls,{get:gi,set:vi}),cr=e=>e,vn=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,r=!1){e=e.__v_raw;const s=Y(e),i=Y(t);n||(t!==i&&we(s,"get",t),we(s,"get",i));const{has:o}=vn(s),c=r?cr:n?hr:dr;if(o.call(s,t))return c(e.get(t));if(o.call(s,i))return c(e.get(i));e!==s&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,r=Y(n),s=Y(e);return t||(e!==s&&we(r,"has",e),we(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function nn(e,t=!1){return e=e.__v_raw,!t&&we(Y(e),"iterate",_t),Reflect.get(e,"size",e)}function Er(e){e=Y(e);const t=Y(this);return vn(t).has.call(t,e)||(t.add(e),We(t,"add",e,e)),this}function Ir(e,t){t=Y(t);const n=Y(this),{has:r,get:s}=vn(n);let i=r.call(n,e);i||(e=Y(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?cn(t,o)&&We(n,"set",e,t):We(n,"add",e,t),this}function Tr(e){const t=Y(this),{has:n,get:r}=vn(t);let s=n.call(t,e);s||(e=Y(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&We(t,"delete",e,void 0),i}function Mr(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&We(e,"clear",void 0,void 0),n}function rn(e,t){return function(r,s){const i=this,o=i.__v_raw,c=Y(o),f=t?cr:e?hr:dr;return!e&&we(c,"iterate",_t),o.forEach((a,m)=>r.call(s,f(a),f(m),i))}}function sn(e,t,n){return function(...r){const s=this.__v_raw,i=Y(s),o=Mt(i),c=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,a=s[e](...r),m=n?cr:t?hr:dr;return!t&&we(i,"iterate",f?Kn:_t),{next(){const{value:w,done:C}=a.next();return C?{value:w,done:C}:{value:c?[m(w[0]),m(w[1])]:m(w),done:C}},[Symbol.iterator](){return this}}}}function Ge(e){return function(...t){return e==="delete"?!1:this}}function Ei(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:Er,set:Ir,delete:Tr,clear:Mr,forEach:rn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:Er,set:Ir,delete:Tr,clear:Mr,forEach:rn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:rn(!0,!1)},r={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:rn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=sn(i,!1,!1),n[i]=sn(i,!0,!1),t[i]=sn(i,!1,!0),r[i]=sn(i,!0,!0)}),[e,n,t,r]}const[Ii,Ti,Mi,Pi]=Ei();function ur(e,t){const n=t?e?Pi:Mi:e?Ti:Ii;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(U(n,s)&&s in r?n:r,s,i)}const Ai={get:ur(!1,!1)},Ni={get:ur(!1,!0)},Fi={get:ur(!0,!1)},cs=new WeakMap,us=new WeakMap,fs=new WeakMap,Li=new WeakMap;function Si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ri(e){return e.__v_skip||!Object.isExtensible(e)?0:Si(ii(e))}function fr(e){return Wt(e)?e:ar(e,!1,ls,Ai,cs)}function Bi(e){return ar(e,!1,Ci,Ni,us)}function as(e){return ar(e,!0,Oi,Fi,fs)}function ar(e,t,n,r,s){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Ri(e);if(o===0)return e;const c=new Proxy(e,o===2?r:n);return s.set(e,c),c}function Pt(e){return Wt(e)?Pt(e.__v_raw):!!(e&&e.__v_isReactive)}function Wt(e){return!!(e&&e.__v_isReadonly)}function kn(e){return!!(e&&e.__v_isShallow)}function ds(e){return Pt(e)||Wt(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function hs(e){return un(e,"__v_skip",!0),e}const dr=e=>se(e)?fr(e):e,hr=e=>se(e)?as(e):e;function Hi(e){nt&&Ae&&(e=Y(e),ss(e.dep||(e.dep=ir())))}function ji(e,t){e=Y(e),e.dep&&Un(e.dep)}function pe(e){return!!(e&&e.__v_isRef===!0)}function $i(e){return pe(e)?e.value:e}const Di={get:(e,t,n)=>$i(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return pe(s)&&!pe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ps(e){return Pt(e)?e:new Proxy(e,Di)}class Ki{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new or(t,()=>{this._dirty||(this._dirty=!0,ji(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Y(this);return Hi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ui(e,t,n=!1){let r,s;const i=H(e);return i?(r=e,s=Fe):(r=e.get,s=e.set),new Ki(r,s,i||!s,n)}function rt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){xn(i,t,n)}return s}function Le(e,t,n,r){if(H(e)){const i=rt(e,t,n,r);return i&&Qr(i)&&i.catch(o=>{xn(o,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(Le(e[i],t,n,r));return s}function xn(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const a=i.ec;if(a){for(let m=0;m<a.length;m++)if(a[m](e,o,c)===!1)return}i=i.parent}const f=t.appContext.config.errorHandler;if(f){rt(f,null,10,[e,o,c]);return}}ki(e,n,s,r)}function ki(e,t,n,r=!0){console.error(e)}let fn=!1,Vn=!1;const xe=[];let Ve=0;const Kt=[];let Dt=null,Ct=0;const Ut=[];let et=null,Et=0;const gs=Promise.resolve();let pr=null,Wn=null;function ms(e){const t=pr||gs;return e?t.then(this?e.bind(this):e):t}function Vi(e){let t=Ve+1,n=xe.length;for(;t<n;){const r=t+n>>>1;qt(xe[r])<e?t=r+1:n=r}return t}function bs(e){(!xe.length||!xe.includes(e,fn&&e.allowRecurse?Ve+1:Ve))&&e!==Wn&&(e.id==null?xe.push(e):xe.splice(Vi(e.id),0,e),_s())}function _s(){!fn&&!Vn&&(Vn=!0,pr=gs.then(ys))}function Wi(e){const t=xe.indexOf(e);t>Ve&&xe.splice(t,1)}function vs(e,t,n,r){L(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),_s()}function qi(e){vs(e,Dt,Kt,Ct)}function zi(e){vs(e,et,Ut,Et)}function yn(e,t=null){if(Kt.length){for(Wn=t,Dt=[...new Set(Kt)],Kt.length=0,Ct=0;Ct<Dt.length;Ct++)Dt[Ct]();Dt=null,Ct=0,Wn=null,yn(e,t)}}function xs(e){if(yn(),Ut.length){const t=[...new Set(Ut)];if(Ut.length=0,et){et.push(...t);return}for(et=t,et.sort((n,r)=>qt(n)-qt(r)),Et=0;Et<et.length;Et++)et[Et]();et=null,Et=0}}const qt=e=>e.id==null?1/0:e.id;function ys(e){Vn=!1,fn=!0,yn(e),xe.sort((n,r)=>qt(n)-qt(r));const t=Fe;try{for(Ve=0;Ve<xe.length;Ve++){const n=xe[Ve];n&&n.active!==!1&&rt(n,null,14)}}finally{Ve=0,xe.length=0,xs(),fn=!1,pr=null,(xe.length||Kt.length||Ut.length)&&ys(e)}}function Ji(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||X;let s=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const m=`${o==="modelValue"?"model":o}Modifiers`,{number:w,trim:C}=r[m]||X;C&&(s=n.map(F=>F.trim())),w&&(s=n.map(jn))}let c,f=r[c=Pn(t)]||r[c=Pn(Me(t))];!f&&i&&(f=r[c=Pn($e(t))]),f&&Le(f,e,6,s);const a=r[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Le(a,e,6,s)}}function ws(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},c=!1;if(!H(e)){const f=a=>{const m=ws(a,t,!0);m&&(c=!0,le(o,m))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!c?(r.set(e,null),null):(L(i)?i.forEach(f=>o[f]=null):le(o,i),r.set(e,o),o)}function wn(e,t){return!e||!gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,$e(t))||U(e,t))}let _e=null,Os=null;function an(e){const t=_e;return _e=e,Os=e&&e.type.__scopeId||null,t}function Cs(e,t=_e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&jr(-1);const i=an(t),o=e(...s);return an(i),r._d&&jr(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Nn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:c,attrs:f,emit:a,render:m,renderCache:w,data:C,setupState:F,ctx:j,inheritAttrs:z}=e;let S,B;const te=an(e);try{if(n.shapeFlag&4){const Z=s||r;S=je(m.call(Z,Z,w,i,F,C,j)),B=f}else{const Z=t;S=je(Z.length>1?Z(i,{attrs:f,slots:c,emit:a}):Z(i,null)),B=t.props?f:Yi(f)}}catch(Z){Vt.length=0,xn(Z,e,1),S=ye(lt)}let J=S;if(B&&z!==!1){const Z=Object.keys(B),{shapeFlag:De}=J;Z.length&&De&7&&(o&&Z.some(tr)&&(B=Xi(B,o)),J=At(J,B))}return n.dirs&&(J=At(J),J.dirs=J.dirs?J.dirs.concat(n.dirs):n.dirs),n.transition&&(J.transition=n.transition),S=J,an(te),S}const Yi=e=>{let t;for(const n in e)(n==="class"||n==="style"||gn(n))&&((t||(t={}))[n]=e[n]);return t},Xi=(e,t)=>{const n={};for(const r in e)(!tr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zi(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:c,patchFlag:f}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return r?Pr(r,o,a):!!o;if(f&8){const m=t.dynamicProps;for(let w=0;w<m.length;w++){const C=m[w];if(o[C]!==r[C]&&!wn(a,C))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:r===o?!1:r?o?Pr(r,o,a):!0:!!o;return!1}function Pr(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!wn(n,i))return!0}return!1}function Qi({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Gi=e=>e.__isSuspense;function eo(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):zi(e)}function to(e,t){if(oe){let n=oe.provides;const r=oe.parent&&oe.parent.provides;r===n&&(n=oe.provides=Object.create(r)),n[e]=t}}function Fn(e,t,n=!1){const r=oe||_e;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&H(t)?t.call(r.proxy):t}}const Ar={};function Ln(e,t,n){return Es(e,t,n)}function Es(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=X){const c=oe;let f,a=!1,m=!1;if(pe(e)?(f=()=>e.value,a=kn(e)):Pt(e)?(f=()=>e,r=!0):L(e)?(m=!0,a=e.some(B=>Pt(B)||kn(B)),f=()=>e.map(B=>{if(pe(B))return B.value;if(Pt(B))return It(B);if(H(B))return rt(B,c,2)})):H(e)?t?f=()=>rt(e,c,2):f=()=>{if(!(c&&c.isUnmounted))return w&&w(),Le(e,c,3,[C])}:f=Fe,t&&r){const B=f;f=()=>It(B())}let w,C=B=>{w=S.onStop=()=>{rt(B,c,4)}};if(Jt)return C=Fe,t?n&&Le(t,c,3,[f(),m?[]:void 0,C]):f(),Fe;let F=m?[]:Ar;const j=()=>{if(!!S.active)if(t){const B=S.run();(r||a||(m?B.some((te,J)=>cn(te,F[J])):cn(B,F)))&&(w&&w(),Le(t,c,3,[B,F===Ar?void 0:F,C]),F=B)}else S.run()};j.allowRecurse=!!t;let z;s==="sync"?z=j:s==="post"?z=()=>be(j,c&&c.suspense):z=()=>qi(j);const S=new or(f,z);return t?n?j():F=S.run():s==="post"?be(S.run.bind(S),c&&c.suspense):S.run(),()=>{S.stop(),c&&c.scope&&nr(c.scope.effects,S)}}function no(e,t,n){const r=this.proxy,s=ce(e)?e.includes(".")?Is(r,e):()=>r[e]:e.bind(r,r);let i;H(t)?i=t:(i=t.handler,n=t);const o=oe;Nt(this);const c=Es(s,i.bind(r),n);return o?Nt(o):vt(),c}function Is(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function It(e,t){if(!se(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),pe(e))It(e.value,t);else if(L(e))for(let n=0;n<e.length;n++)It(e[n],t);else if(Zr(e)||Mt(e))e.forEach(n=>{It(n,t)});else if(es(e))for(const n in e)It(e[n],t);return e}function ro(e){return H(e)?{setup:e,name:e.name}:e}const kt=e=>!!e.type.__asyncLoader,Ts=e=>e.type.__isKeepAlive;function so(e,t){Ms(e,"a",t)}function io(e,t){Ms(e,"da",t)}function Ms(e,t,n=oe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(On(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ts(s.parent.vnode)&&oo(r,t,n,s),s=s.parent}}function oo(e,t,n,r){const s=On(t,e,r,!0);Ps(()=>{nr(r[t],s)},n)}function On(e,t,n=oe,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ft(),Nt(n);const c=Le(t,n,e,o);return vt(),Lt(),c});return r?s.unshift(i):s.push(i),i}}const qe=e=>(t,n=oe)=>(!Jt||e==="sp")&&On(e,t,n),lo=qe("bm"),co=qe("m"),uo=qe("bu"),fo=qe("u"),ao=qe("bum"),Ps=qe("um"),ho=qe("sp"),po=qe("rtg"),go=qe("rtc");function mo(e,t=oe){On("ec",e,t)}function ht(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const c=s[o];i&&(c.oldValue=i[o].value);let f=c.dir[r];f&&(Ft(),Le(f,n,8,[e.el,c,e,t]),Lt())}}const As="components";function Sn(e,t){return _o(As,e,!0,t)||e}const bo=Symbol();function _o(e,t,n=!0,r=!1){const s=_e||oe;if(s){const i=s.type;if(e===As){const c=Xo(i,!1);if(c&&(c===t||c===Me(t)||c===_n(Me(t))))return i}const o=Nr(s[e]||i[e],t)||Nr(s.appContext[e],t);return!o&&r?i:o}}function Nr(e,t){return e&&(e[t]||e[Me(t)]||e[_n(Me(t))])}function vo(e,t,n,r){let s;const i=n&&n[r];if(L(e)||ce(e)){s=new Array(e.length);for(let o=0,c=e.length;o<c;o++)s[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){s=new Array(e);for(let o=0;o<e;o++)s[o]=t(o+1,o,void 0,i&&i[o])}else if(se(e))if(e[Symbol.iterator])s=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);s=new Array(o.length);for(let c=0,f=o.length;c<f;c++){const a=o[c];s[c]=t(e[a],a,c,i&&i[c])}}else s=[];return n&&(n[r]=s),s}function xo(e,t,n={},r,s){if(_e.isCE||_e.parent&&kt(_e.parent)&&_e.parent.isCE)return ye("slot",t==="default"?null:{name:t},r&&r());let i=e[t];i&&i._c&&(i._d=!1),Te();const o=i&&Ns(i(n)),c=pn(Ie,{key:n.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!s&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ns(e){return e.some(t=>Us(t)?!(t.type===lt||t.type===Ie&&!Ns(t.children)):!0)?e:null}const qn=e=>e?Ws(e)?_r(e)||e.proxy:qn(e.parent):null,dn=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>qn(e.parent),$root:e=>qn(e.root),$emit:e=>e.emit,$options:e=>Ls(e),$forceUpdate:e=>e.f||(e.f=()=>bs(e.update)),$nextTick:e=>e.n||(e.n=ms.bind(e.proxy)),$watch:e=>no.bind(e)}),yo={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:c,appContext:f}=e;let a;if(t[0]!=="$"){const F=o[t];if(F!==void 0)switch(F){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(r!==X&&U(r,t))return o[t]=1,r[t];if(s!==X&&U(s,t))return o[t]=2,s[t];if((a=e.propsOptions[0])&&U(a,t))return o[t]=3,i[t];if(n!==X&&U(n,t))return o[t]=4,n[t];zn&&(o[t]=0)}}const m=dn[t];let w,C;if(m)return t==="$attrs"&&we(e,"get",t),m(e);if((w=c.__cssModules)&&(w=w[t]))return w;if(n!==X&&U(n,t))return o[t]=4,n[t];if(C=f.config.globalProperties,U(C,t))return C[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return s!==X&&U(s,t)?(s[t]=n,!0):r!==X&&U(r,t)?(r[t]=n,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let c;return!!n[o]||e!==X&&U(e,o)||t!==X&&U(t,o)||(c=i[0])&&U(c,o)||U(r,o)||U(dn,o)||U(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:U(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let zn=!0;function wo(e){const t=Ls(e),n=e.proxy,r=e.ctx;zn=!1,t.beforeCreate&&Fr(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:c,provide:f,inject:a,created:m,beforeMount:w,mounted:C,beforeUpdate:F,updated:j,activated:z,deactivated:S,beforeDestroy:B,beforeUnmount:te,destroyed:J,unmounted:Z,render:De,renderTracked:ze,renderTriggered:St,errorCaptured:xt,serverPrefetch:Se,expose:ct,inheritAttrs:Ke,components:Je,directives:ut,filters:Xt}=t;if(a&&Oo(a,r,null,e.appContext.config.unwrapInjectedRef),o)for(const Q in o){const V=o[Q];H(V)&&(r[Q]=V.bind(n))}if(s){const Q=s.call(n,n);se(Q)&&(e.data=fr(Q))}if(zn=!0,i)for(const Q in i){const V=i[Q],ae=H(V)?V.bind(n,n):H(V.get)?V.get.bind(n,n):Fe,yt=!H(V)&&H(V.set)?V.set.bind(n):Fe,Ue=Qo({get:ae,set:yt});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:ke=>Ue.value=ke})}if(c)for(const Q in c)Fs(c[Q],r,n,Q);if(f){const Q=H(f)?f.call(n):f;Reflect.ownKeys(Q).forEach(V=>{to(V,Q[V])})}m&&Fr(m,e,"c");function ue(Q,V){L(V)?V.forEach(ae=>Q(ae.bind(n))):V&&Q(V.bind(n))}if(ue(lo,w),ue(co,C),ue(uo,F),ue(fo,j),ue(so,z),ue(io,S),ue(mo,xt),ue(go,ze),ue(po,St),ue(ao,te),ue(Ps,Z),ue(ho,Se),L(ct))if(ct.length){const Q=e.exposed||(e.exposed={});ct.forEach(V=>{Object.defineProperty(Q,V,{get:()=>n[V],set:ae=>n[V]=ae})})}else e.exposed||(e.exposed={});De&&e.render===Fe&&(e.render=De),Ke!=null&&(e.inheritAttrs=Ke),Je&&(e.components=Je),ut&&(e.directives=ut)}function Oo(e,t,n=Fe,r=!1){L(e)&&(e=Jn(e));for(const s in e){const i=e[s];let o;se(i)?"default"in i?o=Fn(i.from||s,i.default,!0):o=Fn(i.from||s):o=Fn(i),pe(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):t[s]=o}}function Fr(e,t,n){Le(L(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fs(e,t,n,r){const s=r.includes(".")?Is(n,r):()=>n[r];if(ce(e)){const i=t[e];H(i)&&Ln(s,i)}else if(H(e))Ln(s,e.bind(n));else if(se(e))if(L(e))e.forEach(i=>Fs(i,t,n,r));else{const i=H(e.handler)?e.handler.bind(n):t[e.handler];H(i)&&Ln(s,i,e)}}function Ls(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let f;return c?f=c:!s.length&&!n&&!r?f=t:(f={},s.length&&s.forEach(a=>hn(f,a,o,!0)),hn(f,t,o)),i.set(t,f),f}function hn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&hn(e,i,n,!0),s&&s.forEach(o=>hn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const c=Co[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const Co={data:Lr,props:gt,emits:gt,methods:gt,computed:gt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:gt,directives:gt,watch:Io,provide:Lr,inject:Eo};function Lr(e,t){return t?e?function(){return le(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Eo(e,t){return gt(Jn(e),Jn(t))}function Jn(e){if(L(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function he(e,t){return e?[...new Set([].concat(e,t))]:t}function gt(e,t){return e?le(le(Object.create(null),e),t):t}function Io(e,t){if(!e)return t;if(!t)return e;const n=le(Object.create(null),e);for(const r in t)n[r]=he(e[r],t[r]);return n}function To(e,t,n,r=!1){const s={},i={};un(i,Cn,1),e.propsDefaults=Object.create(null),Ss(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Bi(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Mo(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,c=Y(s),[f]=e.propsOptions;let a=!1;if((r||o>0)&&!(o&16)){if(o&8){const m=e.vnode.dynamicProps;for(let w=0;w<m.length;w++){let C=m[w];if(wn(e.emitsOptions,C))continue;const F=t[C];if(f)if(U(i,C))F!==i[C]&&(i[C]=F,a=!0);else{const j=Me(C);s[j]=Yn(f,c,j,F,e,!1)}else F!==i[C]&&(i[C]=F,a=!0)}}}else{Ss(e,t,s,i)&&(a=!0);let m;for(const w in c)(!t||!U(t,w)&&((m=$e(w))===w||!U(t,m)))&&(f?n&&(n[w]!==void 0||n[m]!==void 0)&&(s[w]=Yn(f,c,w,void 0,e,!0)):delete s[w]);if(i!==c)for(const w in i)(!t||!U(t,w)&&!0)&&(delete i[w],a=!0)}a&&We(e,"set","$attrs")}function Ss(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,c;if(t)for(let f in t){if(on(f))continue;const a=t[f];let m;s&&U(s,m=Me(f))?!i||!i.includes(m)?n[m]=a:(c||(c={}))[m]=a:wn(e.emitsOptions,f)||(!(f in r)||a!==r[f])&&(r[f]=a,o=!0)}if(i){const f=Y(n),a=c||X;for(let m=0;m<i.length;m++){const w=i[m];n[w]=Yn(s,f,w,a[w],e,!U(a,w))}}return o}function Yn(e,t,n,r,s,i){const o=e[n];if(o!=null){const c=U(o,"default");if(c&&r===void 0){const f=o.default;if(o.type!==Function&&H(f)){const{propsDefaults:a}=s;n in a?r=a[n]:(Nt(s),r=a[n]=f.call(null,t),vt())}else r=f}o[0]&&(i&&!c?r=!1:o[1]&&(r===""||r===$e(n))&&(r=!0))}return r}function Rs(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},c=[];let f=!1;if(!H(e)){const m=w=>{f=!0;const[C,F]=Rs(w,t,!0);le(o,C),F&&c.push(...F)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!i&&!f)return r.set(e,Tt),Tt;if(L(i))for(let m=0;m<i.length;m++){const w=Me(i[m]);Sr(w)&&(o[w]=X)}else if(i)for(const m in i){const w=Me(m);if(Sr(w)){const C=i[m],F=o[w]=L(C)||H(C)?{type:C}:C;if(F){const j=Hr(Boolean,F.type),z=Hr(String,F.type);F[0]=j>-1,F[1]=z<0||j<z,(j>-1||U(F,"default"))&&c.push(w)}}}const a=[o,c];return r.set(e,a),a}function Sr(e){return e[0]!=="$"}function Rr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Br(e,t){return Rr(e)===Rr(t)}function Hr(e,t){return L(t)?t.findIndex(n=>Br(n,e)):H(t)&&Br(t,e)?0:-1}const Bs=e=>e[0]==="_"||e==="$stable",gr=e=>L(e)?e.map(je):[je(e)],Po=(e,t,n)=>{if(t._n)return t;const r=Cs((...s)=>gr(t(...s)),n);return r._c=!1,r},Hs=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Bs(s))continue;const i=e[s];if(H(i))t[s]=Po(s,i,r);else if(i!=null){const o=gr(i);t[s]=()=>o}}},js=(e,t)=>{const n=gr(t);e.slots.default=()=>n},Ao=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),un(t,"_",n)):Hs(t,e.slots={})}else e.slots={},t&&js(e,t);un(e.slots,Cn,1)},No=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=X;if(r.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(le(s,t),!n&&c===1&&delete s._):(i=!t.$stable,Hs(t,s)),o=t}else t&&(js(e,t),o={default:1});if(i)for(const c in s)!Bs(c)&&!(c in o)&&delete s[c]};function $s(){return{app:null,config:{isNativeTag:ni,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 Fo=0;function Lo(e,t){return function(r,s=null){H(r)||(r=Object.assign({},r)),s!=null&&!se(s)&&(s=null);const i=$s(),o=new Set;let c=!1;const f=i.app={_uid:Fo++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:Go,get config(){return i.config},set config(a){},use(a,...m){return o.has(a)||(a&&H(a.install)?(o.add(a),a.install(f,...m)):H(a)&&(o.add(a),a(f,...m))),f},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),f},component(a,m){return m?(i.components[a]=m,f):i.components[a]},directive(a,m){return m?(i.directives[a]=m,f):i.directives[a]},mount(a,m,w){if(!c){const C=ye(r,s);return C.appContext=i,m&&t?t(C,a):e(C,a,w),c=!0,f._container=a,a.__vue_app__=f,_r(C.component)||C.component.proxy}},unmount(){c&&(e(null,f._container),delete f._container.__vue_app__)},provide(a,m){return i.provides[a]=m,f}};return f}}function Xn(e,t,n,r,s=!1){if(L(e)){e.forEach((C,F)=>Xn(C,t&&(L(t)?t[F]:t),n,r,s));return}if(kt(r)&&!s)return;const i=r.shapeFlag&4?_r(r.component)||r.component.proxy:r.el,o=s?null:i,{i:c,r:f}=e,a=t&&t.r,m=c.refs===X?c.refs={}:c.refs,w=c.setupState;if(a!=null&&a!==f&&(ce(a)?(m[a]=null,U(w,a)&&(w[a]=null)):pe(a)&&(a.value=null)),H(f))rt(f,c,12,[o,m]);else{const C=ce(f),F=pe(f);if(C||F){const j=()=>{if(e.f){const z=C?m[f]:f.value;s?L(z)&&nr(z,i):L(z)?z.includes(i)||z.push(i):C?(m[f]=[i],U(w,f)&&(w[f]=m[f])):(f.value=[i],e.k&&(m[e.k]=f.value))}else C?(m[f]=o,U(w,f)&&(w[f]=o)):F&&(f.value=o,e.k&&(m[e.k]=o))};o?(j.id=-1,be(j,n)):j()}}}const be=eo;function So(e){return Ro(e)}function Ro(e,t){const n=ci();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:c,createComment:f,setText:a,setElementText:m,parentNode:w,nextSibling:C,setScopeId:F=Fe,cloneNode:j,insertStaticContent:z}=e,S=(l,u,d,p=null,g=null,v=null,O=!1,_=null,x=!!u.dynamicChildren)=>{if(l===u)return;l&&!jt(l,u)&&(p=wt(l),Oe(l,g,v,!0),l=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:b,ref:T,shapeFlag:E}=u;switch(b){case mr:B(l,u,d,p);break;case lt:te(l,u,d,p);break;case Rn:l==null&&J(u,d,p,O);break;case Ie:ut(l,u,d,p,g,v,O,_,x);break;default:E&1?ze(l,u,d,p,g,v,O,_,x):E&6?Xt(l,u,d,p,g,v,O,_,x):(E&64||E&128)&&b.process(l,u,d,p,g,v,O,_,x,Ye)}T!=null&&g&&Xn(T,l&&l.ref,v,u||l,!u)},B=(l,u,d,p)=>{if(l==null)r(u.el=c(u.children),d,p);else{const g=u.el=l.el;u.children!==l.children&&a(g,u.children)}},te=(l,u,d,p)=>{l==null?r(u.el=f(u.children||""),d,p):u.el=l.el},J=(l,u,d,p)=>{[l.el,l.anchor]=z(l.children,u,d,p,l.el,l.anchor)},Z=({el:l,anchor:u},d,p)=>{let g;for(;l&&l!==u;)g=C(l),r(l,d,p),l=g;r(u,d,p)},De=({el:l,anchor:u})=>{let d;for(;l&&l!==u;)d=C(l),s(l),l=d;s(u)},ze=(l,u,d,p,g,v,O,_,x)=>{O=O||u.type==="svg",l==null?St(u,d,p,g,v,O,_,x):ct(l,u,g,v,O,_,x)},St=(l,u,d,p,g,v,O,_)=>{let x,b;const{type:T,props:E,shapeFlag:M,transition:A,patchFlag:D,dirs:W}=l;if(l.el&&j!==void 0&&D===-1)x=l.el=j(l.el);else{if(x=l.el=o(l.type,v,E&&E.is,E),M&8?m(x,l.children):M&16&&Se(l.children,x,null,p,g,v&&T!=="foreignObject",O,_),W&&ht(l,null,p,"created"),E){for(const q in E)q!=="value"&&!on(q)&&i(x,q,null,E[q],v,l.children,p,g,Ce);"value"in E&&i(x,"value",null,E.value),(b=E.onVnodeBeforeMount)&&Be(b,p,l)}xt(x,l,l.scopeId,O,p)}W&&ht(l,null,p,"beforeMount");const k=(!g||g&&!g.pendingBranch)&&A&&!A.persisted;k&&A.beforeEnter(x),r(x,u,d),((b=E&&E.onVnodeMounted)||k||W)&&be(()=>{b&&Be(b,p,l),k&&A.enter(x),W&&ht(l,null,p,"mounted")},g)},xt=(l,u,d,p,g)=>{if(d&&F(l,d),p)for(let v=0;v<p.length;v++)F(l,p[v]);if(g){let v=g.subTree;if(u===v){const O=g.vnode;xt(l,O,O.scopeId,O.slotScopeIds,g.parent)}}},Se=(l,u,d,p,g,v,O,_,x=0)=>{for(let b=x;b<l.length;b++){const T=l[b]=_?tt(l[b]):je(l[b]);S(null,T,u,d,p,g,v,O,_)}},ct=(l,u,d,p,g,v,O)=>{const _=u.el=l.el;let{patchFlag:x,dynamicChildren:b,dirs:T}=u;x|=l.patchFlag&16;const E=l.props||X,M=u.props||X;let A;d&&pt(d,!1),(A=M.onVnodeBeforeUpdate)&&Be(A,d,u,l),T&&ht(u,l,d,"beforeUpdate"),d&&pt(d,!0);const D=g&&u.type!=="foreignObject";if(b?Ke(l.dynamicChildren,b,_,d,p,D,v):O||ae(l,u,_,null,d,p,D,v,!1),x>0){if(x&16)Je(_,u,E,M,d,p,g);else if(x&2&&E.class!==M.class&&i(_,"class",null,M.class,g),x&4&&i(_,"style",E.style,M.style,g),x&8){const W=u.dynamicProps;for(let k=0;k<W.length;k++){const q=W[k],ge=E[q],Pe=M[q];(Pe!==ge||q==="value")&&i(_,q,ge,Pe,g,l.children,d,p,Ce)}}x&1&&l.children!==u.children&&m(_,u.children)}else!O&&b==null&&Je(_,u,E,M,d,p,g);((A=M.onVnodeUpdated)||T)&&be(()=>{A&&Be(A,d,u,l),T&&ht(u,l,d,"updated")},p)},Ke=(l,u,d,p,g,v,O)=>{for(let _=0;_<u.length;_++){const x=l[_],b=u[_],T=x.el&&(x.type===Ie||!jt(x,b)||x.shapeFlag&70)?w(x.el):d;S(x,b,T,null,p,g,v,O,!0)}},Je=(l,u,d,p,g,v,O)=>{if(d!==p){for(const _ in p){if(on(_))continue;const x=p[_],b=d[_];x!==b&&_!=="value"&&i(l,_,b,x,O,u.children,g,v,Ce)}if(d!==X)for(const _ in d)!on(_)&&!(_ in p)&&i(l,_,d[_],null,O,u.children,g,v,Ce);"value"in p&&i(l,"value",d.value,p.value)}},ut=(l,u,d,p,g,v,O,_,x)=>{const b=u.el=l?l.el:c(""),T=u.anchor=l?l.anchor:c("");let{patchFlag:E,dynamicChildren:M,slotScopeIds:A}=u;A&&(_=_?_.concat(A):A),l==null?(r(b,d,p),r(T,d,p),Se(u.children,d,T,g,v,O,_,x)):E>0&&E&64&&M&&l.dynamicChildren?(Ke(l.dynamicChildren,M,d,g,v,O,_),(u.key!=null||g&&u===g.subTree)&&Ds(l,u,!0)):ae(l,u,d,T,g,v,O,_,x)},Xt=(l,u,d,p,g,v,O,_,x)=>{u.slotScopeIds=_,l==null?u.shapeFlag&512?g.ctx.activate(u,d,p,O,x):ie(u,d,p,g,v,O,x):ue(l,u,x)},ie=(l,u,d,p,g,v,O)=>{const _=l.component=Wo(l,p,g);if(Ts(l)&&(_.ctx.renderer=Ye),qo(_),_.asyncDep){if(g&&g.registerDep(_,Q),!l.el){const x=_.subTree=ye(lt);te(null,x,u,d)}return}Q(_,l,u,d,g,v,O)},ue=(l,u,d)=>{const p=u.component=l.component;if(Zi(l,u,d))if(p.asyncDep&&!p.asyncResolved){V(p,u,d);return}else p.next=u,Wi(p.update),p.update();else u.el=l.el,p.vnode=u},Q=(l,u,d,p,g,v,O)=>{const _=()=>{if(l.isMounted){let{next:T,bu:E,u:M,parent:A,vnode:D}=l,W=T,k;pt(l,!1),T?(T.el=D.el,V(l,T,O)):T=D,E&&An(E),(k=T.props&&T.props.onVnodeBeforeUpdate)&&Be(k,A,T,D),pt(l,!0);const q=Nn(l),ge=l.subTree;l.subTree=q,S(ge,q,w(ge.el),wt(ge),l,g,v),T.el=q.el,W===null&&Qi(l,q.el),M&&be(M,g),(k=T.props&&T.props.onVnodeUpdated)&&be(()=>Be(k,A,T,D),g)}else{let T;const{el:E,props:M}=u,{bm:A,m:D,parent:W}=l,k=kt(u);if(pt(l,!1),A&&An(A),!k&&(T=M&&M.onVnodeBeforeMount)&&Be(T,W,u),pt(l,!0),E&&dt){const q=()=>{l.subTree=Nn(l),dt(E,l.subTree,l,g,null)};k?u.type.__asyncLoader().then(()=>!l.isUnmounted&&q()):q()}else{const q=l.subTree=Nn(l);S(null,q,d,p,l,g,v),u.el=q.el}if(D&&be(D,g),!k&&(T=M&&M.onVnodeMounted)){const q=u;be(()=>Be(T,W,q),g)}(u.shapeFlag&256||W&&kt(W.vnode)&&W.vnode.shapeFlag&256)&&l.a&&be(l.a,g),l.isMounted=!0,u=d=p=null}},x=l.effect=new or(_,()=>bs(b),l.scope),b=l.update=()=>x.run();b.id=l.uid,pt(l,!0),b()},V=(l,u,d)=>{u.component=l;const p=l.vnode.props;l.vnode=u,l.next=null,Mo(l,u.props,p,d),No(l,u.children,d),Ft(),yn(void 0,l.update),Lt()},ae=(l,u,d,p,g,v,O,_,x=!1)=>{const b=l&&l.children,T=l?l.shapeFlag:0,E=u.children,{patchFlag:M,shapeFlag:A}=u;if(M>0){if(M&128){Ue(b,E,d,p,g,v,O,_,x);return}else if(M&256){yt(b,E,d,p,g,v,O,_,x);return}}A&8?(T&16&&Ce(b,g,v),E!==b&&m(d,E)):T&16?A&16?Ue(b,E,d,p,g,v,O,_,x):Ce(b,g,v,!0):(T&8&&m(d,""),A&16&&Se(E,d,p,g,v,O,_,x))},yt=(l,u,d,p,g,v,O,_,x)=>{l=l||Tt,u=u||Tt;const b=l.length,T=u.length,E=Math.min(b,T);let M;for(M=0;M<E;M++){const A=u[M]=x?tt(u[M]):je(u[M]);S(l[M],A,d,null,g,v,O,_,x)}b>T?Ce(l,g,v,!0,!1,E):Se(u,d,p,g,v,O,_,x,E)},Ue=(l,u,d,p,g,v,O,_,x)=>{let b=0;const T=u.length;let E=l.length-1,M=T-1;for(;b<=E&&b<=M;){const A=l[b],D=u[b]=x?tt(u[b]):je(u[b]);if(jt(A,D))S(A,D,d,null,g,v,O,_,x);else break;b++}for(;b<=E&&b<=M;){const A=l[E],D=u[M]=x?tt(u[M]):je(u[M]);if(jt(A,D))S(A,D,d,null,g,v,O,_,x);else break;E--,M--}if(b>E){if(b<=M){const A=M+1,D=A<T?u[A].el:p;for(;b<=M;)S(null,u[b]=x?tt(u[b]):je(u[b]),d,D,g,v,O,_,x),b++}}else if(b>M)for(;b<=E;)Oe(l[b],g,v,!0),b++;else{const A=b,D=b,W=new Map;for(b=D;b<=M;b++){const de=u[b]=x?tt(u[b]):je(u[b]);de.key!=null&&W.set(de.key,b)}let k,q=0;const ge=M-D+1;let Pe=!1,Rt=0;const Re=new Array(ge);for(b=0;b<ge;b++)Re[b]=0;for(b=A;b<=E;b++){const de=l[b];if(q>=ge){Oe(de,g,v,!0);continue}let Ee;if(de.key!=null)Ee=W.get(de.key);else for(k=D;k<=M;k++)if(Re[k-D]===0&&jt(de,u[k])){Ee=k;break}Ee===void 0?Oe(de,g,v,!0):(Re[Ee-D]=b+1,Ee>=Rt?Rt=Ee:Pe=!0,S(de,u[Ee],d,null,g,v,O,_,x),q++)}const Bt=Pe?Bo(Re):Tt;for(k=Bt.length-1,b=ge-1;b>=0;b--){const de=D+b,Ee=u[de],Ht=de+1<T?u[de+1].el:p;Re[b]===0?S(null,Ee,d,Ht,g,v,O,_,x):Pe&&(k<0||b!==Bt[k]?ke(Ee,d,Ht,2):k--)}}},ke=(l,u,d,p,g=null)=>{const{el:v,type:O,transition:_,children:x,shapeFlag:b}=l;if(b&6){ke(l.component.subTree,u,d,p);return}if(b&128){l.suspense.move(u,d,p);return}if(b&64){O.move(l,u,d,Ye);return}if(O===Ie){r(v,u,d);for(let E=0;E<x.length;E++)ke(x[E],u,d,p);r(l.anchor,u,d);return}if(O===Rn){Z(l,u,d);return}if(p!==2&&b&1&&_)if(p===0)_.beforeEnter(v),r(v,u,d),be(()=>_.enter(v),g);else{const{leave:E,delayLeave:M,afterLeave:A}=_,D=()=>r(v,u,d),W=()=>{E(v,()=>{D(),A&&A()})};M?M(v,D,W):W()}else r(v,u,d)},Oe=(l,u,d,p=!1,g=!1)=>{const{type:v,props:O,ref:_,children:x,dynamicChildren:b,shapeFlag:T,patchFlag:E,dirs:M}=l;if(_!=null&&Xn(_,null,d,l,!0),T&256){u.ctx.deactivate(l);return}const A=T&1&&M,D=!kt(l);let W;if(D&&(W=O&&O.onVnodeBeforeUnmount)&&Be(W,u,l),T&6)at(l.component,d,p);else{if(T&128){l.suspense.unmount(d,p);return}A&&ht(l,null,u,"beforeUnmount"),T&64?l.type.remove(l,u,d,g,Ye,p):b&&(v!==Ie||E>0&&E&64)?Ce(b,u,d,!1,!0):(v===Ie&&E&384||!g&&T&16)&&Ce(x,u,d),p&&ft(l)}(D&&(W=O&&O.onVnodeUnmounted)||A)&&be(()=>{W&&Be(W,u,l),A&&ht(l,null,u,"unmounted")},d)},ft=l=>{const{type:u,el:d,anchor:p,transition:g}=l;if(u===Ie){Zt(d,p);return}if(u===Rn){De(l);return}const v=()=>{s(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(l.shapeFlag&1&&g&&!g.persisted){const{leave:O,delayLeave:_}=g,x=()=>O(d,v);_?_(l.el,v,x):x()}else v()},Zt=(l,u)=>{let d;for(;l!==u;)d=C(l),s(l),l=d;s(u)},at=(l,u,d)=>{const{bum:p,scope:g,update:v,subTree:O,um:_}=l;p&&An(p),g.stop(),v&&(v.active=!1,Oe(O,l,u,d)),_&&be(_,u),be(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Ce=(l,u,d,p=!1,g=!1,v=0)=>{for(let O=v;O<l.length;O++)Oe(l[O],u,d,p,g)},wt=l=>l.shapeFlag&6?wt(l.component.subTree):l.shapeFlag&128?l.suspense.next():C(l.anchor||l.el),Qt=(l,u,d)=>{l==null?u._vnode&&Oe(u._vnode,null,null,!0):S(u._vnode||null,l,u,null,null,null,d),xs(),u._vnode=l},Ye={p:S,um:Oe,m:ke,r:ft,mt:ie,mc:Se,pc:ae,pbc:Ke,n:wt,o:e};let Xe,dt;return t&&([Xe,dt]=t(Ye)),{render:Qt,hydrate:Xe,createApp:Lo(Qt,Xe)}}function pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ds(e,t,n=!1){const r=e.children,s=t.children;if(L(r)&&L(s))for(let i=0;i<r.length;i++){const o=r[i];let c=s[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[i]=tt(s[i]),c.el=o.el),n||Ds(o,c))}}function Bo(e){const t=e.slice(),n=[0];let r,s,i,o,c;const f=e.length;for(r=0;r<f;r++){const a=e[r];if(a!==0){if(s=n[n.length-1],e[s]<a){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<a?i=c+1:o=c;a<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Ho=e=>e.__isTeleport,Ie=Symbol(void 0),mr=Symbol(void 0),lt=Symbol(void 0),Rn=Symbol(void 0),Vt=[];let Ne=null;function Te(e=!1){Vt.push(Ne=e?null:[])}function jo(){Vt.pop(),Ne=Vt[Vt.length-1]||null}let zt=1;function jr(e){zt+=e}function Ks(e){return e.dynamicChildren=zt>0?Ne||Tt:null,jo(),zt>0&&Ne&&Ne.push(e),e}function st(e,t,n,r,s,i){return Ks(it(e,t,n,r,s,i,!0))}function pn(e,t,n,r,s){return Ks(ye(e,t,n,r,s,!0))}function Us(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const Cn="__vInternal",ks=({key:e})=>e!=null?e:null,ln=({ref:e,ref_key:t,ref_for:n})=>e!=null?ce(e)||pe(e)||H(e)?{i:_e,r:e,k:t,f:!!n}:e:null;function it(e,t=null,n=null,r=0,s=null,i=e===Ie?0:1,o=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ks(t),ref:t&&ln(t),scopeId:Os,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return c?(br(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=ce(n)?8:16),zt>0&&!o&&Ne&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&Ne.push(f),f}const ye=$o;function $o(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===bo)&&(e=lt),Us(e)){const c=At(e,t,!0);return n&&br(c,n),zt>0&&!i&&Ne&&(c.shapeFlag&6?Ne[Ne.indexOf(e)]=c:Ne.push(c)),c.patchFlag|=-2,c}if(Zo(e)&&(e=e.__vccOpts),t){t=Do(t);let{class:c,style:f}=t;c&&!ce(c)&&(t.class=Yt(c)),se(f)&&(ds(f)&&!L(f)&&(f=le({},f)),t.style=er(f))}const o=ce(e)?1:Gi(e)?128:Ho(e)?64:se(e)?4:H(e)?2:0;return it(e,t,n,r,s,o,i,!0)}function Do(e){return e?ds(e)||Cn in e?le({},e):e:null}function At(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,c=t?Uo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ks(c),ref:t&&t.ref?n&&s?L(s)?s.concat(ln(t)):[s,ln(t)]:ln(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),el:e.el,anchor:e.anchor}}function Ko(e=" ",t=0){return ye(mr,null,e,t)}function Vs(e="",t=!1){return t?(Te(),pn(lt,null,e)):ye(lt,null,e)}function je(e){return e==null||typeof e=="boolean"?ye(lt):L(e)?ye(Ie,null,e.slice()):typeof e=="object"?tt(e):ye(mr,null,String(e))}function tt(e){return e.el===null||e.memo?e:At(e)}function br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Cn in t)?t._ctx=_e:s===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),r&64?(n=16,t=[Ko(t)]):n=8);e.children=t,e.shapeFlag|=n}function Uo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Yt([t.class,r.class]));else if(s==="style")t.style=er([t.style,r.style]);else if(gn(s)){const i=t[s],o=r[s];o&&i!==o&&!(L(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function Be(e,t,n,r=null){Le(e,t,7,[n,r])}const ko=$s();let Vo=0;function Wo(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||ko,i={uid:Vo++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ui(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rs(r,s),emitsOptions:ws(r,s),emit:null,emitted:null,propsDefaults:X,inheritAttrs:r.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,setupContext:null,suspense:n,suspenseId:n?n.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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Ji.bind(null,i),e.ce&&e.ce(i),i}let oe=null;const Nt=e=>{oe=e,e.scope.on()},vt=()=>{oe&&oe.scope.off(),oe=null};function Ws(e){return e.vnode.shapeFlag&4}let Jt=!1;function qo(e,t=!1){Jt=t;const{props:n,children:r}=e.vnode,s=Ws(e);To(e,n,s,t),Ao(e,r);const i=s?zo(e,t):void 0;return Jt=!1,i}function zo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hs(new Proxy(e.ctx,yo));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Yo(e):null;Nt(e),Ft();const i=rt(r,e,0,[e.props,s]);if(Lt(),vt(),Qr(i)){if(i.then(vt,vt),t)return i.then(o=>{$r(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else $r(e,i,t)}else qs(e,t)}function $r(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=ps(t)),qs(e,n)}let Dr;function qs(e,t,n){const r=e.type;if(!e.render){if(!t&&Dr&&!r.render){const s=r.template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:f}=r,a=le(le({isCustomElement:i,delimiters:c},o),f);r.render=Dr(s,a)}}e.render=r.render||Fe}Nt(e),Ft(),wo(e),Lt(),vt()}function Jo(e){return new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}})}function Yo(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Jo(e))},slots:e.slots,emit:e.emit,expose:t}}function _r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ps(hs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dn)return dn[n](e)}}))}function Xo(e,t=!0){return H(e)?e.displayName||e.name:e.name||t&&e.__name}function Zo(e){return H(e)&&"__vccOpts"in e}const Qo=(e,t)=>Ui(e,t,Jt),Go="3.2.37";/*! (c) Andrea Giammarchi - ISC */const el=(()=>{const e="DOMContentLoaded",t=new WeakMap,n=[],r=o=>{do if(o.nextSibling)return!0;while(o=o.parentNode);return!1},s=()=>{n.splice(0).forEach(o=>{t.get(o[0])!==!0&&(t.set(o[0],!0),o[0][o[1]]())})};document.addEventListener(e,s);class i extends HTMLElement{static withParsedCallback(c,f="parsed"){const{prototype:a}=c,{connectedCallback:m}=a,w=f+"Callback",C=(j,z,S,B)=>{z.disconnect(),S.removeEventListener(e,B),F(j)},F=j=>{n.length||requestAnimationFrame(s),n.push([j,w])};return Object.defineProperties(a,{connectedCallback:{configurable:!0,writable:!0,value(){if(m&&m.apply(this,arguments),w in this&&!t.has(this)){const j=this,{ownerDocument:z}=j;if(t.set(j,!1),z.readyState==="complete"||r(j))F(j);else{const S=()=>C(j,B,z,S);z.addEventListener(e,S);const B=new MutationObserver(()=>{r(j)&&C(j,B,z,S)});B.observe(j.parentNode,{childList:!0,subtree:!0})}}}},[f]:{configurable:!0,get(){return t.get(this)===!0}}}),c}}return i.withParsedCallback(i)})(),tl="http://www.w3.org/2000/svg",bt=typeof document!="undefined"?document:null,Kr=bt&&bt.createElement("template"),nl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?bt.createElementNS(tl,e):bt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Kr.innerHTML=r?`<svg>${e}</svg>`:e;const c=Kr.content;if(r){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function rl(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function sl(e,t,n){const r=e.style,s=ce(n);if(n&&!s){for(const i in n)Zn(r,i,n[i]);if(t&&!ce(t))for(const i in t)n[i]==null&&Zn(r,i,"")}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const Ur=/\s*!important$/;function Zn(e,t,n){if(L(n))n.forEach(r=>Zn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=il(e,t);Ur.test(n)?e.setProperty($e(r),n.replace(Ur,""),"important"):e[r]=n}}const kr=["Webkit","Moz","ms"],Bn={};function il(e,t){const n=Bn[t];if(n)return n;let r=Me(t);if(r!=="filter"&&r in e)return Bn[t]=r;r=_n(r);for(let s=0;s<kr.length;s++){const i=kr[s]+r;if(i in e)return Bn[t]=i}return t}const Vr="http://www.w3.org/1999/xlink";function ol(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Vr,t.slice(6,t.length)):e.setAttributeNS(Vr,t,n);else{const i=Qs(t);n==null||i&&!Yr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function ll(e,t,n,r,s,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,s,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const f=n==null?"":n;(e.value!==f||e.tagName==="OPTION")&&(e.value=f),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Yr(n):n==null&&f==="string"?(n="",c=!0):f==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}const[zs,cl]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Qn=0;const ul=Promise.resolve(),fl=()=>{Qn=0},al=()=>Qn||(ul.then(fl),Qn=zs());function dl(e,t,n,r){e.addEventListener(t,n,r)}function hl(e,t,n,r){e.removeEventListener(t,n,r)}function pl(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[c,f]=gl(t);if(r){const a=i[t]=ml(r,s);dl(e,c,a,f)}else o&&(hl(e,c,o,f),i[t]=void 0)}}const Wr=/(?:Once|Passive|Capture)$/;function gl(e){let t;if(Wr.test(e)){t={};let n;for(;n=e.match(Wr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[$e(e.slice(2)),t]}function ml(e,t){const n=r=>{const s=r.timeStamp||zs();(cl||s>=n.attached-1)&&Le(bl(r,n.value),t,5,[r])};return n.value=e,n.attached=al(),n}function bl(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const qr=/^on[a-z]/,_l=(e,t,n,r,s=!1,i,o,c,f)=>{t==="class"?rl(e,r,s):t==="style"?sl(e,n,r):gn(t)?tr(t)||pl(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vl(e,t,r,s))?ll(e,t,r,i,o,c,f):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ol(e,t,r,s))};function vl(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&qr.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||qr.test(t)&&ce(n)?!1:t in e}const xl=["ctrl","shift","alt","meta"],yl={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)=>xl.some(n=>e[`${n}Key`]&&!t.includes(n))},wl=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const i=yl[t[s]];if(i&&i(n,t))return}return e(n,...r)},Ol={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},mt=(e,t)=>n=>{if(!("key"in n))return;const r=$e(n.key);if(t.some(s=>s===r||Ol[s]===r))return e(n)},Cl=le({patchProp:_l},nl);let zr;function El(){return zr||(zr=So(Cl))}const Jr=(...e)=>{El().render(...e)},Il=typeof HTMLElement!="undefined"?el:class{};class vr extends Il{constructor(t,n={},r={},s){super(),this._def=t,this._props=n,this._config=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._config=le({shadowRoot:!0},this._config),this._config.shadowRoot?this.shadowRoot&&s?s(this._createVNode(),this._root):this.attachShadow({mode:"open"}):s&&s(this._createVNode(),this._root)}get _root(){return this._config.shadowRoot?this.shadowRoot:this}connectedCallback(){this._config.shadowRoot?this._connect():super.connectedCallback()}parsedCallback(){this._config.shadowRoot||this._connect()}_connect(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,ms(()=>{this._connected||(Jr(null,this._root),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=r=>{const{props:s,styles:i}=r,o=!L(s),c=s?o?Object.keys(s):s:[];let f;if(o&&s)for(const a in this._props){const m=s[a];(m===Number||m&&m.type===Number)&&(this._props[a]=jn(this._props[a]),(f||(f=Object.create(null)))[a]=!0)}this._numberProps=f;for(const a of Object.keys(this))a[0]!=="_"&&this._setProp(a,this[a],!0,!1);for(const a of c.map(Me))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(m){this._setProp(a,m)}});this._config.shadowRoot||(this._slots=Array.from(this.children).map(a=>a.cloneNode(!0)),this.replaceChildren()),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=jn(n)),this._setProp(Me(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute($e(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute($e(t),`${n}`):n||this.removeAttribute($e(t))))}_update(){Jr(this._createVNode(),this._root)}_createVNode(){let t=null;this._config.shadowRoot||(t=()=>{const r=s=>{const i={};for(let o=0,c=s.length;o<c;o++){const f=s[o];i[f.nodeName]=f.nodeValue}return i};return this._slots.map(s=>{const i=s.attributes?r(s.attributes):{};return i.innerHTML=s.innerHTML,ye(s.tagName,i,null)})});const n=ye(this._def,le({},this._props),t);return this._instance||(n.ce=r=>{this._instance=r,this._config.shadowRoot&&(r.isCE=!0),r.emit=(i,...o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof vr){r.parent=s._instance;break}}),n}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this._root.appendChild(r)})}}function Tl(e,t,n){const r=ro(e);class s extends vr{constructor(o){super(r,o,t,n)}}return s.def=r,s}var En=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const Ml={name:"ComboboxClear",inject:["iconPath","clearInput"]},Pl=["aria-label","title"],Al={"aria-hidden":"true",focusable:"false",class:"mds-icon mds-icon--close mds-icon--sm"},Nl=["href"];function Fl(e,t,n,r,s,i){return Te(),st("button",{class:"mds-combobox__clear mds-button mds-button--plain",type:"button",onClick:t[0]||(t[0]=o=>e.$emit("clear",o)),onKeydown:t[1]||(t[1]=mt(o=>e.$emit("clear",o),["enter"])),"aria-label":i.clearInput,title:i.clearInput},[(Te(),st("svg",Al,[it("use",{href:`${i.iconPath}#icon-close`},null,8,Nl)]))],40,Pl)}var Ll=En(Ml,[["render",Fl]]);const Sl={name:"ListBox",props:{hidden:{type:Boolean,default:!0},isLoading:{type:Boolean,default:!0},comboboxid:{type:String,required:!0}},inject:["iconPath","loadingText"]},Rl=["aria-labelledby","hidden"],Bl={key:0,class:"mds-combobox-loading"},Hl={"aria-hidden":"true",focusable:"true",class:"mds-icon mds-icon--spinner mds-icon--after"},jl=["href"],$l={class:"mds-visually-hidden"};function Dl(e,t,n,r,s,i){return Te(),st("ul",{class:"mds-combobox__listbox",role:"listbox","aria-labelledby":`${n.comboboxid}-label`,hidden:n.hidden},[n.isLoading?(Te(),st("li",Bl,[(Te(),st("svg",Hl,[it("use",{href:`${i.iconPath}#icon-spinner`},null,8,jl)])),it("span",$l,Hn(i.loadingText),1)])):Vs("",!0),xo(e.$slots,"default")],8,Rl)}var Kl=En(Sl,[["render",Dl]]);const Ul={name:"ListBoxOption",props:{option:{type:Object,required:!0},focused:{type:Boolean,default:!1},searchValue:{type:String,default:""}},watch:{searchValue(e){return e},focused(e){e&&this.$refs.listItem.scrollIntoView(!1)}},methods:{highlightOption(){return this.option.label.replace(new RegExp(this.searchValue,"gi"),t=>`<span class="mds-combobox__option--marked">${t}</span>`)}}},kl=["aria-selected","innerHTML"];function Vl(e,t,n,r,s,i){return Te(),st("li",{ref:"listItem",class:Yt(["mds-combobox__option",{"mds-combobox__option--focused":n.focused}]),role:"option","aria-selected":n.focused.toString(),onMousedown:t[0]||(t[0]=o=>e.$emit("mousedown",o)),innerHTML:i.highlightOption()},null,42,kl)}var Wl=En(Ul,[["render",Vl]]);const ql={name:"Combobox",components:{ComboboxClear:Ll,ListBox:Kl,ListBoxOption:Wl},emits:["search","select-option","clear-all"],props:{comboboxid:{type:String,required:!0},placeholder:{type:String,default:""},name:{type:[String,Boolean],default:!1},value:{type:String,default:""},options:{type:Array,default:()=>[]},filterOptions:{type:Boolean,default:!0},iconpath:{type:String,default:"/assets/icons.svg"},dataAriaInvalid:{type:String,default:""},i18n:{type:String,default:""}},data(){return{expanded:!1,selected:null,chosen:null,searchValue:this.$props.value,resultCountMessage:null}},provide(){return{iconPath:this.iconpath,loadingText:this.i18nText.loadingText,clearInput:this.i18nText.clearInput}},mounted(){var n,r,s,i;const e=(r=(n=this.$el.parentElement)==null?void 0:n.parentElement)==null?void 0:r.querySelector(".mds-form-element__fallback input"),t=(i=(s=this.$el.parentElement)==null?void 0:s.parentElement)==null?void 0:i.querySelector(".mds-form-element__fallback select");e&&e.remove(),t&&t.removeAttribute("id")},computed:{inputValue(){return this.chosenOption?this.chosenOption.label:this.searchValue},selectedOption:{get(){return this.selected},set(e){this.selected=e}},chosenOption:{get(){return this.chosen},set(e){this.chosen=e,this.selectedOption=e,this.$emit("select-option",this.chosen)}},visibleOptions(){return this.filterOptions?this.options.filter(e=>e.label.toLowerCase().includes(this.searchValue.toLowerCase())):this.options},listBoxId(){return`${this.comboboxid}-listbox`},optionId(){return`${this.comboboxid}-option`},describedBy(){return`${this.comboboxid}-assistiveHint`},isLoading(){return this.options.length===0&&this.expanded},selectedOptionId(){const e=this.visibleOptions.indexOf(this.selectedOption);if(e>-1)return`${this.optionId}-${e}`},listBoxHidden(){return!this.expanded},lastOptionIndex(){return this.visibleOptions.length-1},ariaExpanded(){return this.expanded?"true":"false"},ariaInvalid(){return this.dataAriaInvalid?"true":"false"},i18nText(){return this.i18n?JSON.parse(this.i18n):{loadingText:"Loading",describedByText:"When autocomplete results are available, use up and down arrows to review and enter to select.",resultsMessage:"{count} result available",resultsMessage_plural:"{count} results available",clearInput:"clear input"}}},methods:{makeActive(){this.expanded=!0},makeInactive(){this.expanded=!1},handleInput(e){this.chosenOption=null,this.searchValue=e.target?e.target.value:"",this.handleChange(),this.$emit("search",this.searchValue),this.visibleOptions.length>0&&this.updateCount()},handleChange(){this.searchValue.length===0&&this.clearField(),this.searchValue.length>1?(this.makeActive(),this.updateCount()):this.makeInactive()},handleFocus(){this.handleChange(),this.visibleOptions.length>1&&this.updateCount()},handleClear(){this.clearField(),this.$refs.comboInput.focus()},clearField(){this.searchValue="",this.chosenOption=null,this.$emit("clear-all")},clickOption(e=this.selectedOption){this.chosenOption=e,this.makeInactive()},chooseOption(){this.chosenOption=this.selectedOption,this.makeInactive(),this.clearCount()},hiddenGuard(e){this.listBoxHidden||e.call(this)},onInputBlur(){this.makeInactive(),this.clearCount()},onKeyDown(){if(this.selectedOption){const e=this.visibleOptions.findIndex(n=>n.value===this.selectedOption.value),t=e===this.lastOptionIndex?e:e+1;this.selectedOption=this.visibleOptions[t]}else[this.selectedOption]=this.visibleOptions},onKeyUp(){if(this.selectedOption){const e=this.visibleOptions.findIndex(n=>n.value===this.selectedOption.value),t=e===0?e:e-1;this.selectedOption=this.visibleOptions[t]}else this.selectedOption=this.visibleOptions[this.lastOptionIndex]},onKeyHome(){[this.selectedOption]=this.visibleOptions},onKeyEnd(){this.selectedOption=this.visibleOptions[this.lastOptionIndex]},updateCount(){this.clearCount(),setTimeout(()=>{const e=this.visibleOptions.length===1?this.i18nText.resultsMessage:this.i18nText.resultsMessage_plural;this.resultCountMessage=e.replace("{count}",this.visibleOptions.length)},1400)},clearCount(){this.resultCountMessage=null}}},zl=["value","id","name","placeholder","aria-owns","aria-expanded","aria-activedescendant","aria-invalid","aria-describedby"],Jl={"aria-live":"polite",role:"status",class:"mds-visually-hidden"},Yl=["id"];function Xl(e,t,n,r,s,i){const o=Sn("ComboboxClear"),c=Sn("ListBoxOption"),f=Sn("ListBox");return Te(),st("div",{class:Yt(["mds-combobox",{"mds-combobox--active":!i.listBoxHidden}]),onKeydown:[t[4]||(t[4]=mt(a=>i.hiddenGuard(i.onKeyDown),["down"])),t[5]||(t[5]=mt(a=>i.hiddenGuard(i.onKeyUp),["up"])),t[6]||(t[6]=mt(a=>i.hiddenGuard(i.onKeyHome),["home"])),t[7]||(t[7]=mt(a=>i.hiddenGuard(i.onKeyEnd),["end"])),t[8]||(t[8]=mt((...a)=>i.makeInactive&&i.makeInactive(...a),["esc"])),t[9]||(t[9]=mt(wl((...a)=>i.chooseOption&&i.chooseOption(...a),["stop","prevent"]),["enter"]))]},[it("input",{onInput:t[0]||(t[0]=(...a)=>i.handleInput&&i.handleInput(...a)),value:i.inputValue,class:"mds-form-control",autocomplete:"off",type:"text",role:"combobox",ref:"comboInput",id:n.comboboxid,name:n.name,placeholder:n.placeholder,"aria-owns":i.listBoxId,"aria-expanded":i.ariaExpanded,"aria-autocomplete":"list","aria-activedescendant":i.selectedOptionId,"aria-invalid":i.ariaInvalid,"aria-describedby":i.describedBy,onChange:t[1]||(t[1]=(...a)=>i.handleChange&&i.handleChange(...a)),onBlur:t[2]||(t[2]=(...a)=>i.onInputBlur&&i.onInputBlur(...a)),onFocus:t[3]||(t[3]=(...a)=>i.handleFocus&&i.handleFocus(...a))},null,40,zl),s.searchValue.length>0?(Te(),pn(o,{key:0,onClear:i.handleClear},null,8,["onClear"])):Vs("",!0),ye(f,{id:i.listBoxId,hidden:i.listBoxHidden,isLoading:i.isLoading,comboboxid:n.comboboxid},{default:Cs(()=>[(Te(!0),st(Ie,null,vo(i.visibleOptions,(a,m)=>{var w;return Te(),pn(c,{key:m,option:a,id:`${i.optionId}-${m}`,focused:((w=i.selectedOption)==null?void 0:w.value)===(a==null?void 0:a.value),onMousedown:C=>i.clickOption(a),searchValue:s.searchValue},null,8,["option","id","focused","onMousedown","searchValue"])}),128))]),_:1},8,["id","hidden","isLoading","comboboxid"]),it("div",Jl,Hn(s.resultCountMessage),1),it("span",{id:i.describedBy,style:{display:"none"}},Hn(i.i18nText.describedByText),9,Yl)],34)}var Zl=En(ql,[["render",Xl]]);customElements.define("mds-combobox",Tl(Zl,{shadowRoot:!1}));export{Ql as __vite_legacy_guard};
|
|
1
|
+
import o from"./custom-elements/mds-combobox.js";import t from"./custom-elements/mds-text-editor.js";import"./plugin-vue_export-helper.js";customElements.get("mds-combobox")||customElements.define("mds-combobox",o);customElements.get("mds-text-editor")||customElements.define("mds-text-editor",t);
|
package/dist/manifest.json
CHANGED
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"index-legacy.js": {
|
|
3
|
-
"file": "index-legacy.js",
|
|
4
|
-
"src": "index-legacy.js",
|
|
5
|
-
"isEntry": true
|
|
6
|
-
},
|
|
7
|
-
"vite/legacy-polyfills": {
|
|
8
|
-
"file": "assets/polyfills-legacy.bfe7dd4c.js",
|
|
9
|
-
"src": "vite/legacy-polyfills",
|
|
10
|
-
"isEntry": true
|
|
11
|
-
},
|
|
12
2
|
"index.js": {
|
|
13
3
|
"file": "index.js",
|
|
14
4
|
"src": "index.js",
|
|
15
|
-
"isEntry": true
|
|
5
|
+
"isEntry": true,
|
|
6
|
+
"imports": [
|
|
7
|
+
"custom-elements/mds-combobox.js",
|
|
8
|
+
"custom-elements/mds-text-editor.js",
|
|
9
|
+
"_plugin-vue_export-helper.js"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"custom-elements/mds-combobox.js": {
|
|
13
|
+
"file": "custom-elements/mds-combobox.js",
|
|
14
|
+
"src": "custom-elements/mds-combobox.js",
|
|
15
|
+
"isEntry": true,
|
|
16
|
+
"imports": [
|
|
17
|
+
"_plugin-vue_export-helper.js"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"custom-elements/mds-text-editor.js": {
|
|
21
|
+
"file": "custom-elements/mds-text-editor.js",
|
|
22
|
+
"src": "custom-elements/mds-text-editor.js",
|
|
23
|
+
"isEntry": true,
|
|
24
|
+
"imports": [
|
|
25
|
+
"_plugin-vue_export-helper.js"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"_plugin-vue_export-helper.js": {
|
|
29
|
+
"file": "plugin-vue_export-helper.js"
|
|
16
30
|
}
|
|
17
31
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! (c) Andrea Giammarchi @webreflection ISC */(function(){var e=function(O,p){var x=function(S){for(var D=0,ee=S.length;D<ee;D++)F(S[D])},F=function(S){var D=S.target,ee=S.attributeName,ne=S.oldValue;D.attributeChangedCallback(ee,ne,D.getAttribute(ee))};return function(I,S){var D=I.constructor.observedAttributes;return D&&O(S).then(function(){new p(x).observe(I,{attributes:!0,attributeOldValue:!0,attributeFilter:D});for(var ee=0,ne=D.length;ee<ne;ee++)I.hasAttribute(D[ee])&&F({target:I,attributeName:D[ee],oldValue:null})}),I}};function t(O,p){if(!!O){if(typeof O=="string")return n(O,p);var x=Object.prototype.toString.call(O).slice(8,-1);if(x==="Object"&&O.constructor&&(x=O.constructor.name),x==="Map"||x==="Set")return Array.from(O);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return n(O,p)}}function n(O,p){(p==null||p>O.length)&&(p=O.length);for(var x=0,F=new Array(p);x<p;x++)F[x]=O[x];return F}function r(O,p){var x=typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(!x){if(Array.isArray(O)||(x=t(O))||p&&O&&typeof O.length=="number"){x&&(O=x);var F=0,I=function(){};return{s:I,n:function(){return F>=O.length?{done:!0}:{done:!1,value:O[F++]}},e:function(ne){throw ne},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,D=!1,ee;return{s:function(){x=x.call(O)},n:function(){var ne=x.next();return S=ne.done,ne},e:function(ne){D=!0,ee=ne},f:function(){try{!S&&x.return!=null&&x.return()}finally{if(D)throw ee}}}}/*! (c) Andrea Giammarchi - ISC */var s=!0,o=!1,i="querySelectorAll",c=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],S=function ne(Ge,et,Ce,U,te,re){var Oe=r(Ge),yt;try{for(Oe.s();!(yt=Oe.n()).done;){var ae=yt.value;(re||i in ae)&&(te?Ce.has(ae)||(Ce.add(ae),U.delete(ae),p(ae,te)):U.has(ae)||(U.add(ae),Ce.delete(ae),p(ae,te)),re||ne(ae[i](et),et,Ce,U,te,s))}}catch(Tn){Oe.e(Tn)}finally{Oe.f()}},D=new F(function(ne){if(I.length){var Ge=I.join(","),et=new Set,Ce=new Set,U=r(ne),te;try{for(U.s();!(te=U.n()).done;){var re=te.value,Oe=re.addedNodes,yt=re.removedNodes;S(yt,Ge,et,Ce,o,o),S(Oe,Ge,et,Ce,s,o)}}catch(ae){U.e(ae)}finally{U.f()}}}),ee=D.observe;return(D.observe=function(ne){return ee.call(D,ne,{subtree:s,childList:s})})(x),D},f="querySelectorAll",a=self,d=a.document,v=a.Element,E=a.MutationObserver,M=a.Set,R=a.WeakMap,W=function(p){return f in p},L=[].filter,$=function(O){var p=new R,x=function(U){for(var te=0,re=U.length;te<re;te++)p.delete(U[te])},F=function(){for(var U=Ge.takeRecords(),te=0,re=U.length;te<re;te++)D(L.call(U[te].removedNodes,W),!1),D(L.call(U[te].addedNodes,W),!0)},I=function(U){return U.matches||U.webkitMatchesSelector||U.msMatchesSelector},S=function(U,te){var re;if(te)for(var Oe,yt=I(U),ae=0,Tn=ee.length;ae<Tn;ae++)yt.call(U,Oe=ee[ae])&&(p.has(U)||p.set(U,new M),re=p.get(U),re.has(Oe)||(re.add(Oe),O.handle(U,te,Oe)));else p.has(U)&&(re=p.get(U),p.delete(U),re.forEach(function(Vs){O.handle(U,te,Vs)}))},D=function(U){for(var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,re=0,Oe=U.length;re<Oe;re++)S(U[re],te)},ee=O.query,ne=O.root||d,Ge=c(S,ne,E,ee),et=v.prototype.attachShadow;return et&&(v.prototype.attachShadow=function(Ce){var U=et.call(this,Ce);return Ge.observe(U),U}),ee.length&&D(ne[f](ee)),{drop:x,flush:F,observer:Ge,parse:D}},G=self,J=G.document,X=G.Map,ve=G.MutationObserver,pe=G.Object,ye=G.Set,we=G.WeakMap,fe=G.Element,Re=G.HTMLElement,xe=G.Node,Xe=G.Error,ct=G.TypeError,Yt=G.Reflect,le=pe.defineProperty,ue=pe.keys,Q=pe.getOwnPropertyNames,q=pe.setPrototypeOf,ge=!self.customElements,_t=function(p){for(var x=ue(p),F=[],I=x.length,S=0;S<I;S++)F[S]=p[x[S]],delete p[x[S]];return function(){for(var D=0;D<I;D++)p[x[D]]=F[D]}};if(ge){var qe=function(){var p=this.constructor;if(!Me.has(p))throw new ct("Illegal constructor");var x=Me.get(p);if(Qe)return l(Qe,x);var F=ze.call(J,x);return l(q(F,p.prototype),x)},ze=J.createElement,Me=new X,ft=new X,Vt=new X,ut=new X,Ie=[],vt=function(p,x,F){var I=Vt.get(F);if(x&&!I.isPrototypeOf(p)){var S=_t(p);Qe=q(p,I);try{new I.constructor}finally{Qe=null,S()}}var D="".concat(x?"":"dis","connectedCallback");D in I&&p[D]()},Xt=$({query:Ie,handle:vt}),Ze=Xt.parse,Qe=null,at=function(p){if(!ft.has(p)){var x,F=new Promise(function(I){x=I});ft.set(p,{$:F,_:x})}return ft.get(p).$},l=e(at,ve);le(self,"customElements",{configurable:!0,value:{define:function(p,x){if(ut.has(p))throw new Xe('the name "'.concat(p,'" has already been used with this registry'));Me.set(x,p),Vt.set(p,x.prototype),ut.set(p,x),Ie.push(p),at(p).then(function(){Ze(J.querySelectorAll(p))}),ft.get(p)._(x)},get:function(p){return ut.get(p)},whenDefined:at}}),le(qe.prototype=Re.prototype,"constructor",{value:qe}),le(self,"HTMLElement",{configurable:!0,value:qe}),le(J,"createElement",{configurable:!0,value:function(p,x){var F=x&&x.is,I=F?ut.get(F):ut.get(p);return I?new I:ze.call(J,p)}}),"isConnected"in xe.prototype||le(xe.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else try{var u=function O(){return self.Reflect.construct(HTMLLIElement,[],O)};u.prototype=HTMLLIElement.prototype;var h="extends-li";self.customElements.define("extends-li",u,{extends:"li"}),ge=J.createElement("li",{is:h}).outerHTML.indexOf(h)<0;var g=self.customElements,m=g.get,y=g.whenDefined;le(self.customElements,"whenDefined",{configurable:!0,value:function(p){var x=this;return y.call(this,p).then(function(F){return F||m.call(x,p)})}})}catch{ge=!ge}if(ge){var C=function(p){var x=K.get(p);Rt(x.querySelectorAll(this),p.isConnected)},_=self.customElements,w=J.createElement,b=_.define,A=_.get,T=_.upgrade,P=Yt||{construct:function(p){return p.call(this)}},N=P.construct,K=new we,z=new ye,k=new X,Y=new X,Ee=new X,je=new X,Nt=[],Ke=[],Ft=function(p){return je.get(p)||A.call(_,p)},me=function(p,x,F){var I=Ee.get(F);if(x&&!I.isPrototypeOf(p)){var S=_t(p);Zt=q(p,I);try{new I.constructor}finally{Zt=null,S()}}var D="".concat(x?"":"dis","connectedCallback");D in I&&p[D]()},Ne=$({query:Ke,handle:me}),Rt=Ne.parse,Js=$({query:Nt,handle:function(p,x){K.has(p)&&(x?z.add(p):z.delete(p),Ke.length&&C.call(Ke,p))}}),Ys=Js.parse,yr=fe.prototype.attachShadow;yr&&(fe.prototype.attachShadow=function(O){var p=yr.call(this,O);return K.set(this,p),p});var En=function(p){if(!Y.has(p)){var x,F=new Promise(function(I){x=I});Y.set(p,{$:F,_:x})}return Y.get(p).$},Cn=e(En,ve),Zt=null;Q(self).filter(function(O){return/^HTML.*Element$/.test(O)}).forEach(function(O){var p=self[O];function x(){var F=this.constructor;if(!k.has(F))throw new ct("Illegal constructor");var I=k.get(F),S=I.is,D=I.tag;if(S){if(Zt)return Cn(Zt,S);var ee=w.call(J,D);return ee.setAttribute("is",S),Cn(q(ee,F.prototype),S)}else return N.call(this,p,[],F)}le(x.prototype=p.prototype,"constructor",{value:x}),le(self,O,{value:x})}),le(J,"createElement",{configurable:!0,value:function(p,x){var F=x&&x.is;if(F){var I=je.get(F);if(I&&k.get(I).tag===p)return new I}var S=w.call(J,p);return F&&S.setAttribute("is",F),S}}),le(_,"get",{configurable:!0,value:Ft}),le(_,"whenDefined",{configurable:!0,value:En}),le(_,"upgrade",{configurable:!0,value:function(p){var x=p.getAttribute("is");if(x){var F=je.get(x);if(F){Cn(q(p,F.prototype),x);return}}T.call(_,p)}}),le(_,"define",{configurable:!0,value:function(p,x,F){if(Ft(p))throw new Xe("'".concat(p,"' has already been defined as a custom element"));var I,S=F&&F.extends;k.set(x,S?{is:p,tag:S}:{is:"",tag:p}),S?(I="".concat(S,'[is="').concat(p,'"]'),Ee.set(I,x.prototype),je.set(p,x),Ke.push(I)):(b.apply(_,arguments),Nt.push(I=p)),En(p).then(function(){S?(Rt(J.querySelectorAll(I)),z.forEach(C,[I])):Ys(J.querySelectorAll(I))}),Y.get(p)._(x)}})}})();function Vn(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Xs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zs=Vn(Xs);function Xr(e){return!!e||e===""}function Xn(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ie(r)?eo(r):Xn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(ie(e))return e;if(se(e))return e}}const Qs=/;(?![^(]*\))/g,Gs=/:(.+)/;function eo(e){const t={};return e.split(Qs).forEach(n=>{if(n){const r=n.split(Gs);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Zn(e){let t="";if(ie(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const r=Zn(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Al=e=>ie(e)?e:e==null?"":j(e)||se(e)&&(e.toString===es||!H(e.toString))?JSON.stringify(e,Zr,2):String(e),Zr=(e,t)=>t&&t.__v_isRef?Zr(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Qr(t)?{[`Set(${t.size})`]:[...t.values()]}:se(t)&&!j(t)&&!ts(t)?String(t):t,Z={},Ct=[],He=()=>{},to=()=>!1,no=/^on[^a-z]/,dn=e=>no.test(e),Qn=e=>e.startsWith("onUpdate:"),ce=Object.assign,Gn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ro=Object.prototype.hasOwnProperty,B=(e,t)=>ro.call(e,t),j=Array.isArray,Tt=e=>pn(e)==="[object Map]",Qr=e=>pn(e)==="[object Set]",H=e=>typeof e=="function",ie=e=>typeof e=="string",er=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Gr=e=>se(e)&&H(e.then)&&H(e.catch),es=Object.prototype.toString,pn=e=>es.call(e),so=e=>pn(e).slice(8,-1),ts=e=>pn(e)==="[object Object]",tr=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,sn=Vn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oo=/-(\w)/g,Fe=gn(e=>e.replace(oo,(t,n)=>n?n.toUpperCase():"")),io=/\B([A-Z])/g,ke=gn(e=>e.replace(io,"-$1").toLowerCase()),mn=gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),On=gn(e=>e?`on${mn(e)}`:""),Bt=(e,t)=>!Object.is(e,t),An=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ln=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Rn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let wr;const lo=()=>wr||(wr=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Be;class co{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Be&&(this.parent=Be,this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Be;try{return Be=this,t()}finally{Be=n}}}on(){Be=this}off(){Be=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function fo(e,t=Be){t&&t.active&&t.effects.push(e)}const nr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ns=e=>(e.w&it)>0,rs=e=>(e.n&it)>0,uo=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=it},ao=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];ns(s)&&!rs(s)?s.delete(e):t[n++]=s,s.w&=~it,s.n&=~it}t.length=n}},jn=new WeakMap;let Lt=0,it=1;const Ln=30;let $e;const mt=Symbol(""),$n=Symbol("");class rr{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,fo(this,r)}run(){if(!this.active)return this.fn();let t=$e,n=st;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=$e,$e=this,st=!0,it=1<<++Lt,Lt<=Ln?uo(this):xr(this),this.fn()}finally{Lt<=Ln&&ao(this),it=1<<--Lt,$e=this.parent,st=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){$e===this?this.deferStop=!0:this.active&&(xr(this),this.onStop&&this.onStop(),this.active=!1)}}function xr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let st=!0;const ss=[];function Mt(){ss.push(st),st=!1}function It(){const e=ss.pop();st=e===void 0?!0:e}function Pe(e,t,n){if(st&&$e){let r=jn.get(e);r||jn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=nr()),os(s)}}function os(e,t){let n=!1;Lt<=Ln?rs(e)||(e.n|=it,n=!ns(e)):n=!e.has($e),n&&(e.add($e),$e.deps.push(e))}function Ye(e,t,n,r,s,o){const i=jn.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&j(e))i.forEach((f,a)=>{(a==="length"||a>=r)&&c.push(f)});else switch(n!==void 0&&c.push(i.get(n)),t){case"add":j(e)?tr(n)&&c.push(i.get("length")):(c.push(i.get(mt)),Tt(e)&&c.push(i.get($n)));break;case"delete":j(e)||(c.push(i.get(mt)),Tt(e)&&c.push(i.get($n)));break;case"set":Tt(e)&&c.push(i.get(mt));break}if(c.length===1)c[0]&&Sn(c[0]);else{const f=[];for(const a of c)a&&f.push(...a);Sn(nr(f))}}function Sn(e,t){const n=j(e)?e:[...e];for(const r of n)r.computed&&Er(r);for(const r of n)r.computed||Er(r)}function Er(e,t){(e!==$e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ho=Vn("__proto__,__v_isRef,__isVue"),is=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(er)),po=sr(),go=sr(!1,!0),mo=sr(!0),Cr=bo();function bo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=V(this);for(let o=0,i=this.length;o<i;o++)Pe(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(V)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Mt();const r=V(this)[t].apply(this,n);return It(),r}}),e}function sr(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Ro:as:t?us:fs).get(r))return r;const i=j(r);if(!e&&i&&B(Cr,s))return Reflect.get(Cr,s,o);const c=Reflect.get(r,s,o);return(er(s)?is.has(s):ho(s))||(e||Pe(r,"get",s),t)?c:he(c)?i&&tr(s)?c:c.value:se(c)?e?hs(c):lr(c):c}}const _o=ls(),vo=ls(!0);function ls(e=!1){return function(n,r,s,o){let i=n[r];if(Wt(i)&&he(i)&&!he(s))return!1;if(!e&&!Wt(s)&&(Hn(s)||(s=V(s),i=V(i)),!j(n)&&he(i)&&!he(s)))return i.value=s,!0;const c=j(n)&&tr(r)?Number(r)<n.length:B(n,r),f=Reflect.set(n,r,s,o);return n===V(o)&&(c?Bt(s,i)&&Ye(n,"set",r,s):Ye(n,"add",r,s)),f}}function yo(e,t){const n=B(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Ye(e,"delete",t,void 0),r}function wo(e,t){const n=Reflect.has(e,t);return(!er(t)||!is.has(t))&&Pe(e,"has",t),n}function xo(e){return Pe(e,"iterate",j(e)?"length":mt),Reflect.ownKeys(e)}const cs={get:po,set:_o,deleteProperty:yo,has:wo,ownKeys:xo},Eo={get:mo,set(e,t){return!0},deleteProperty(e,t){return!0}},Co=ce({},cs,{get:go,set:vo}),or=e=>e,bn=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,r=!1){e=e.__v_raw;const s=V(e),o=V(t);n||(t!==o&&Pe(s,"get",t),Pe(s,"get",o));const{has:i}=bn(s),c=r?or:n?fr:kt;if(i.call(s,t))return c(e.get(t));if(i.call(s,o))return c(e.get(o));e!==s&&e.get(t)}function Gt(e,t=!1){const n=this.__v_raw,r=V(n),s=V(e);return t||(e!==s&&Pe(r,"has",e),Pe(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function en(e,t=!1){return e=e.__v_raw,!t&&Pe(V(e),"iterate",mt),Reflect.get(e,"size",e)}function Tr(e){e=V(e);const t=V(this);return bn(t).has.call(t,e)||(t.add(e),Ye(t,"add",e,e)),this}function Or(e,t){t=V(t);const n=V(this),{has:r,get:s}=bn(n);let o=r.call(n,e);o||(e=V(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Bt(t,i)&&Ye(n,"set",e,t):Ye(n,"add",e,t),this}function Ar(e){const t=V(this),{has:n,get:r}=bn(t);let s=n.call(t,e);s||(e=V(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Ye(t,"delete",e,void 0),o}function Pr(){const e=V(this),t=e.size!==0,n=e.clear();return t&&Ye(e,"clear",void 0,void 0),n}function tn(e,t){return function(r,s){const o=this,i=o.__v_raw,c=V(i),f=t?or:e?fr:kt;return!e&&Pe(c,"iterate",mt),i.forEach((a,d)=>r.call(s,f(a),f(d),o))}}function nn(e,t,n){return function(...r){const s=this.__v_raw,o=V(s),i=Tt(o),c=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=s[e](...r),d=n?or:t?fr:kt;return!t&&Pe(o,"iterate",f?$n:mt),{next(){const{value:v,done:E}=a.next();return E?{value:v,done:E}:{value:c?[d(v[0]),d(v[1])]:d(v),done:E}},[Symbol.iterator](){return this}}}}function tt(e){return function(...t){return e==="delete"?!1:this}}function To(){const e={get(o){return Qt(this,o)},get size(){return en(this)},has:Gt,add:Tr,set:Or,delete:Ar,clear:Pr,forEach:tn(!1,!1)},t={get(o){return Qt(this,o,!1,!0)},get size(){return en(this)},has:Gt,add:Tr,set:Or,delete:Ar,clear:Pr,forEach:tn(!1,!0)},n={get(o){return Qt(this,o,!0)},get size(){return en(this,!0)},has(o){return Gt.call(this,o,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:tn(!0,!1)},r={get(o){return Qt(this,o,!0,!0)},get size(){return en(this,!0)},has(o){return Gt.call(this,o,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:tn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=nn(o,!1,!1),n[o]=nn(o,!0,!1),t[o]=nn(o,!1,!0),r[o]=nn(o,!0,!0)}),[e,n,t,r]}const[Oo,Ao,Po,Mo]=To();function ir(e,t){const n=t?e?Mo:Po:e?Ao:Oo;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(B(n,s)&&s in r?n:r,s,o)}const Io={get:ir(!1,!1)},No={get:ir(!1,!0)},Fo={get:ir(!0,!1)},fs=new WeakMap,us=new WeakMap,as=new WeakMap,Ro=new WeakMap;function jo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lo(e){return e.__v_skip||!Object.isExtensible(e)?0:jo(so(e))}function lr(e){return Wt(e)?e:cr(e,!1,cs,Io,fs)}function $o(e){return cr(e,!1,Co,No,us)}function hs(e){return cr(e,!0,Eo,Fo,as)}function cr(e,t,n,r,s){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Lo(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function Ot(e){return Wt(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function Wt(e){return!!(e&&e.__v_isReadonly)}function Hn(e){return!!(e&&e.__v_isShallow)}function ds(e){return Ot(e)||Wt(e)}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function ps(e){return ln(e,"__v_skip",!0),e}const kt=e=>se(e)?lr(e):e,fr=e=>se(e)?hs(e):e;function ur(e){st&&$e&&(e=V(e),os(e.dep||(e.dep=nr())))}function ar(e,t){e=V(e),e.dep&&Sn(e.dep)}function he(e){return!!(e&&e.__v_isRef===!0)}function Pl(e){return So(e,!1)}function So(e,t){return he(e)?e:new Ho(e,t)}class Ho{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:V(t),this._value=n?t:kt(t)}get value(){return ur(this),this._value}set value(t){t=this.__v_isShallow?t:V(t),Bt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:kt(t),ar(this))}}function Do(e){return he(e)?e.value:e}const Ko={get:(e,t,n)=>Do(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return he(s)&&!he(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function gs(e){return Ot(e)?e:new Proxy(e,Ko)}class Uo{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ur(this),()=>ar(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Ml(e){return new Uo(e)}class Bo{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new rr(t,()=>{this._dirty||(this._dirty=!0,ar(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=V(this);return ur(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Wo(e,t,n=!1){let r,s;const o=H(e);return o?(r=e,s=He):(r=e.get,s=e.set),new Bo(r,s,o||!s,n)}function ot(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){_n(o,t,n)}return s}function De(e,t,n,r){if(H(e)){const o=ot(e,t,n,r);return o&&Gr(o)&&o.catch(i=>{_n(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(De(e[o],t,n,r));return s}function _n(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,c=n;for(;o;){const a=o.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,i,c)===!1)return}o=o.parent}const f=t.appContext.config.errorHandler;if(f){ot(f,null,10,[e,i,c]);return}}ko(e,n,s,r)}function ko(e,t,n,r=!0){console.error(e)}let cn=!1,Dn=!1;const Ae=[];let Je=0;const St=[];let $t=null,wt=0;const Ht=[];let nt=null,xt=0;const ms=Promise.resolve();let hr=null,Kn=null;function bs(e){const t=hr||ms;return e?t.then(this?e.bind(this):e):t}function qo(e){let t=Je+1,n=Ae.length;for(;t<n;){const r=t+n>>>1;qt(Ae[r])<e?t=r+1:n=r}return t}function _s(e){(!Ae.length||!Ae.includes(e,cn&&e.allowRecurse?Je+1:Je))&&e!==Kn&&(e.id==null?Ae.push(e):Ae.splice(qo(e.id),0,e),vs())}function vs(){!cn&&!Dn&&(Dn=!0,hr=ms.then(xs))}function zo(e){const t=Ae.indexOf(e);t>Je&&Ae.splice(t,1)}function ys(e,t,n,r){j(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),vs()}function Jo(e){ys(e,$t,St,wt)}function Yo(e){ys(e,nt,Ht,xt)}function vn(e,t=null){if(St.length){for(Kn=t,$t=[...new Set(St)],St.length=0,wt=0;wt<$t.length;wt++)$t[wt]();$t=null,wt=0,Kn=null,vn(e,t)}}function ws(e){if(vn(),Ht.length){const t=[...new Set(Ht)];if(Ht.length=0,nt){nt.push(...t);return}for(nt=t,nt.sort((n,r)=>qt(n)-qt(r)),xt=0;xt<nt.length;xt++)nt[xt]();nt=null,xt=0}}const qt=e=>e.id==null?1/0:e.id;function xs(e){Dn=!1,cn=!0,vn(e),Ae.sort((n,r)=>qt(n)-qt(r));const t=He;try{for(Je=0;Je<Ae.length;Je++){const n=Ae[Je];n&&n.active!==!1&&ot(n,null,14)}}finally{Je=0,Ae.length=0,ws(),cn=!1,hr=null,(Ae.length||St.length||Ht.length)&&xs(e)}}function Vo(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Z;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:v,trim:E}=r[d]||Z;E&&(s=n.map(M=>M.trim())),v&&(s=n.map(Rn))}let c,f=r[c=On(t)]||r[c=On(Fe(t))];!f&&o&&(f=r[c=On(ke(t))]),f&&De(f,e,6,s);const a=r[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,De(a,e,6,s)}}function Es(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!H(e)){const f=a=>{const d=Es(a,t,!0);d&&(c=!0,ce(i,d))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!o&&!c?(r.set(e,null),null):(j(o)?o.forEach(f=>i[f]=null):ce(i,o),r.set(e,i),i)}function yn(e,t){return!e||!dn(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,ke(t))||B(e,t))}let _e=null,Cs=null;function fn(e){const t=_e;return _e=e,Cs=e&&e.type.__scopeId||null,t}function Xo(e,t=_e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Dr(-1);const o=fn(t),i=e(...s);return fn(o),r._d&&Dr(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function Pn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:c,attrs:f,emit:a,render:d,renderCache:v,data:E,setupState:M,ctx:R,inheritAttrs:W}=e;let L,$;const G=fn(e);try{if(n.shapeFlag&4){const X=s||r;L=We(d.call(X,X,v,o,M,E,R)),$=f}else{const X=t;L=We(X.length>1?X(o,{attrs:f,slots:c,emit:a}):X(o,null)),$=t.props?f:Zo(f)}}catch(X){Ut.length=0,_n(X,e,1),L=de(lt)}let J=L;if($&&W!==!1){const X=Object.keys($),{shapeFlag:ve}=J;X.length&&ve&7&&(i&&X.some(Qn)&&($=Qo($,i)),J=At(J,$))}return n.dirs&&(J=At(J),J.dirs=J.dirs?J.dirs.concat(n.dirs):n.dirs),n.transition&&(J.transition=n.transition),L=J,fn(G),L}const Zo=e=>{let t;for(const n in e)(n==="class"||n==="style"||dn(n))&&((t||(t={}))[n]=e[n]);return t},Qo=(e,t)=>{const n={};for(const r in e)(!Qn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Go(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:f}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return r?Mr(r,i,a):!!i;if(f&8){const d=t.dynamicProps;for(let v=0;v<d.length;v++){const E=d[v];if(i[E]!==r[E]&&!yn(a,E))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:r===i?!1:r?i?Mr(r,i,a):!0:!!i;return!1}function Mr(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!yn(n,o))return!0}return!1}function ei({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const ti=e=>e.__isSuspense;function ni(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Yo(e)}function ri(e,t){if(oe){let n=oe.provides;const r=oe.parent&&oe.parent.provides;r===n&&(n=oe.provides=Object.create(r)),n[e]=t}}function Mn(e,t,n=!1){const r=oe||_e;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&H(t)?t.call(r.proxy):t}}function Il(e,t){return dr(e,null,t)}const Ir={};function In(e,t,n){return dr(e,t,n)}function dr(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Z){const c=oe;let f,a=!1,d=!1;if(he(e)?(f=()=>e.value,a=Hn(e)):Ot(e)?(f=()=>e,r=!0):j(e)?(d=!0,a=e.some($=>Ot($)||Hn($)),f=()=>e.map($=>{if(he($))return $.value;if(Ot($))return Et($);if(H($))return ot($,c,2)})):H(e)?t?f=()=>ot(e,c,2):f=()=>{if(!(c&&c.isUnmounted))return v&&v(),De(e,c,3,[E])}:f=He,t&&r){const $=f;f=()=>Et($())}let v,E=$=>{v=L.onStop=()=>{ot($,c,4)}};if(Jt)return E=He,t?n&&De(t,c,3,[f(),d?[]:void 0,E]):f(),He;let M=d?[]:Ir;const R=()=>{if(!!L.active)if(t){const $=L.run();(r||a||(d?$.some((G,J)=>Bt(G,M[J])):Bt($,M)))&&(v&&v(),De(t,c,3,[$,M===Ir?void 0:M,E]),M=$)}else L.run()};R.allowRecurse=!!t;let W;s==="sync"?W=R:s==="post"?W=()=>Te(R,c&&c.suspense):W=()=>Jo(R);const L=new rr(f,W);return t?n?R():M=L.run():s==="post"?Te(L.run.bind(L),c&&c.suspense):L.run(),()=>{L.stop(),c&&c.scope&&Gn(c.scope.effects,L)}}function si(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?Ts(r,e):()=>r[e]:e.bind(r,r);let o;H(t)?o=t:(o=t.handler,n=t);const i=oe;Pt(this);const c=dr(s,o.bind(r),n);return i?Pt(i):bt(),c}function Ts(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Et(e,t){if(!se(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),he(e))Et(e.value,t);else if(j(e))for(let n=0;n<e.length;n++)Et(e[n],t);else if(Qr(e)||Tt(e))e.forEach(n=>{Et(n,t)});else if(ts(e))for(const n in e)Et(e[n],t);return e}function oi(e){return H(e)?{setup:e,name:e.name}:e}const Dt=e=>!!e.type.__asyncLoader,Os=e=>e.type.__isKeepAlive;function ii(e,t){As(e,"a",t)}function li(e,t){As(e,"da",t)}function As(e,t,n=oe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(wn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Os(s.parent.vnode)&&ci(r,t,n,s),s=s.parent}}function ci(e,t,n,r){const s=wn(t,e,r,!0);Ps(()=>{Gn(r[t],s)},n)}function wn(e,t,n=oe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Mt(),Pt(n);const c=De(t,n,e,i);return bt(),It(),c});return r?s.unshift(o):s.push(o),o}}const Ve=e=>(t,n=oe)=>(!Jt||e==="sp")&&wn(e,t,n),fi=Ve("bm"),ui=Ve("m"),ai=Ve("bu"),hi=Ve("u"),di=Ve("bum"),Ps=Ve("um"),pi=Ve("sp"),gi=Ve("rtg"),mi=Ve("rtc");function bi(e,t=oe){wn("ec",e,t)}function ht(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const c=s[i];o&&(c.oldValue=o[i].value);let f=c.dir[r];f&&(Mt(),De(f,n,8,[e.el,c,e,t]),It())}}const Ms="components";function Nl(e,t){return vi(Ms,e,!0,t)||e}const _i=Symbol();function vi(e,t,n=!0,r=!1){const s=_e||oe;if(s){const o=s.type;if(e===Ms){const c=Zi(o,!1);if(c&&(c===t||c===Fe(t)||c===mn(Fe(t))))return o}const i=Nr(s[e]||o[e],t)||Nr(s.appContext[e],t);return!i&&r?o:i}}function Nr(e,t){return e&&(e[t]||e[Fe(t)]||e[mn(Fe(t))])}function Fl(e,t,n,r){let s;const o=n&&n[r];if(j(e)||ie(e)){s=new Array(e.length);for(let i=0,c=e.length;i<c;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(se(e))if(e[Symbol.iterator])s=Array.from(e,(i,c)=>t(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);s=new Array(i.length);for(let c=0,f=i.length;c<f;c++){const a=i[c];s[c]=t(e[a],a,c,o&&o[c])}}else s=[];return n&&(n[r]=s),s}function Rl(e,t,n={},r,s){if(_e.isCE||_e.parent&&Dt(_e.parent)&&_e.parent.isCE)return de("slot",t==="default"?null:{name:t},r&&r());let o=e[t];o&&o._c&&(o._d=!1),Ds();const i=o&&Is(o(n)),c=Us(Le,{key:n.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function Is(e){return e.some(t=>hn(t)?!(t.type===lt||t.type===Le&&!Is(t.children)):!0)?e:null}const Un=e=>e?ks(e)?_r(e)||e.proxy:Un(e.parent):null,un=ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Un(e.parent),$root:e=>Un(e.root),$emit:e=>e.emit,$options:e=>Fs(e),$forceUpdate:e=>e.f||(e.f=()=>_s(e.update)),$nextTick:e=>e.n||(e.n=bs.bind(e.proxy)),$watch:e=>si.bind(e)}),yi={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:f}=e;let a;if(t[0]!=="$"){const M=i[t];if(M!==void 0)switch(M){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(r!==Z&&B(r,t))return i[t]=1,r[t];if(s!==Z&&B(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&B(a,t))return i[t]=3,o[t];if(n!==Z&&B(n,t))return i[t]=4,n[t];Bn&&(i[t]=0)}}const d=un[t];let v,E;if(d)return t==="$attrs"&&Pe(e,"get",t),d(e);if((v=c.__cssModules)&&(v=v[t]))return v;if(n!==Z&&B(n,t))return i[t]=4,n[t];if(E=f.config.globalProperties,B(E,t))return E[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return s!==Z&&B(s,t)?(s[t]=n,!0):r!==Z&&B(r,t)?(r[t]=n,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==Z&&B(e,i)||t!==Z&&B(t,i)||(c=o[0])&&B(c,i)||B(r,i)||B(un,i)||B(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Bn=!0;function wi(e){const t=Fs(e),n=e.proxy,r=e.ctx;Bn=!1,t.beforeCreate&&Fr(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:f,inject:a,created:d,beforeMount:v,mounted:E,beforeUpdate:M,updated:R,activated:W,deactivated:L,beforeDestroy:$,beforeUnmount:G,destroyed:J,unmounted:X,render:ve,renderTracked:pe,renderTriggered:ye,errorCaptured:we,serverPrefetch:fe,expose:Re,inheritAttrs:xe,components:Xe,directives:ct,filters:Yt}=t;if(a&&xi(a,r,null,e.appContext.config.unwrapInjectedRef),i)for(const Q in i){const q=i[Q];H(q)&&(r[Q]=q.bind(n))}if(s){const Q=s.call(n,n);se(Q)&&(e.data=lr(Q))}if(Bn=!0,o)for(const Q in o){const q=o[Q],ge=H(q)?q.bind(n,n):H(q.get)?q.get.bind(n,n):He,_t=!H(q)&&H(q.set)?q.set.bind(n):He,qe=Gi({get:ge,set:_t});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(c)for(const Q in c)Ns(c[Q],r,n,Q);if(f){const Q=H(f)?f.call(n):f;Reflect.ownKeys(Q).forEach(q=>{ri(q,Q[q])})}d&&Fr(d,e,"c");function ue(Q,q){j(q)?q.forEach(ge=>Q(ge.bind(n))):q&&Q(q.bind(n))}if(ue(fi,v),ue(ui,E),ue(ai,M),ue(hi,R),ue(ii,W),ue(li,L),ue(bi,we),ue(mi,pe),ue(gi,ye),ue(di,G),ue(Ps,X),ue(pi,fe),j(Re))if(Re.length){const Q=e.exposed||(e.exposed={});Re.forEach(q=>{Object.defineProperty(Q,q,{get:()=>n[q],set:ge=>n[q]=ge})})}else e.exposed||(e.exposed={});ve&&e.render===He&&(e.render=ve),xe!=null&&(e.inheritAttrs=xe),Xe&&(e.components=Xe),ct&&(e.directives=ct)}function xi(e,t,n=He,r=!1){j(e)&&(e=Wn(e));for(const s in e){const o=e[s];let i;se(o)?"default"in o?i=Mn(o.from||s,o.default,!0):i=Mn(o.from||s):i=Mn(o),he(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):t[s]=i}}function Fr(e,t,n){De(j(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ns(e,t,n,r){const s=r.includes(".")?Ts(n,r):()=>n[r];if(ie(e)){const o=t[e];H(o)&&In(s,o)}else if(H(e))In(s,e.bind(n));else if(se(e))if(j(e))e.forEach(o=>Ns(o,t,n,r));else{const o=H(e.handler)?e.handler.bind(n):t[e.handler];H(o)&&In(s,o,e)}}function Fs(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let f;return c?f=c:!s.length&&!n&&!r?f=t:(f={},s.length&&s.forEach(a=>an(f,a,i,!0)),an(f,t,i)),o.set(t,f),f}function an(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&an(e,o,n,!0),s&&s.forEach(i=>an(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=Ei[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Ei={data:Rr,props:pt,emits:pt,methods:pt,computed:pt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:pt,directives:pt,watch:Ti,provide:Rr,inject:Ci};function Rr(e,t){return t?e?function(){return ce(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Ci(e,t){return pt(Wn(e),Wn(t))}function Wn(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function pt(e,t){return e?ce(ce(Object.create(null),e),t):t}function Ti(e,t){if(!e)return t;if(!t)return e;const n=ce(Object.create(null),e);for(const r in t)n[r]=be(e[r],t[r]);return n}function Oi(e,t,n,r=!1){const s={},o={};ln(o,xn,1),e.propsDefaults=Object.create(null),Rs(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:$o(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Ai(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=V(s),[f]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let v=0;v<d.length;v++){let E=d[v];if(yn(e.emitsOptions,E))continue;const M=t[E];if(f)if(B(o,E))M!==o[E]&&(o[E]=M,a=!0);else{const R=Fe(E);s[R]=kn(f,c,R,M,e,!1)}else M!==o[E]&&(o[E]=M,a=!0)}}}else{Rs(e,t,s,o)&&(a=!0);let d;for(const v in c)(!t||!B(t,v)&&((d=ke(v))===v||!B(t,d)))&&(f?n&&(n[v]!==void 0||n[d]!==void 0)&&(s[v]=kn(f,c,v,void 0,e,!0)):delete s[v]);if(o!==c)for(const v in o)(!t||!B(t,v)&&!0)&&(delete o[v],a=!0)}a&&Ye(e,"set","$attrs")}function Rs(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,c;if(t)for(let f in t){if(sn(f))continue;const a=t[f];let d;s&&B(s,d=Fe(f))?!o||!o.includes(d)?n[d]=a:(c||(c={}))[d]=a:yn(e.emitsOptions,f)||(!(f in r)||a!==r[f])&&(r[f]=a,i=!0)}if(o){const f=V(n),a=c||Z;for(let d=0;d<o.length;d++){const v=o[d];n[v]=kn(s,f,v,a[v],e,!B(a,v))}}return i}function kn(e,t,n,r,s,o){const i=e[n];if(i!=null){const c=B(i,"default");if(c&&r===void 0){const f=i.default;if(i.type!==Function&&H(f)){const{propsDefaults:a}=s;n in a?r=a[n]:(Pt(s),r=a[n]=f.call(null,t),bt())}else r=f}i[0]&&(o&&!c?r=!1:i[1]&&(r===""||r===ke(n))&&(r=!0))}return r}function js(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},c=[];let f=!1;if(!H(e)){const d=v=>{f=!0;const[E,M]=js(v,t,!0);ce(i,E),M&&c.push(...M)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!f)return r.set(e,Ct),Ct;if(j(o))for(let d=0;d<o.length;d++){const v=Fe(o[d]);jr(v)&&(i[v]=Z)}else if(o)for(const d in o){const v=Fe(d);if(jr(v)){const E=o[d],M=i[v]=j(E)||H(E)?{type:E}:E;if(M){const R=Sr(Boolean,M.type),W=Sr(String,M.type);M[0]=R>-1,M[1]=W<0||R<W,(R>-1||B(M,"default"))&&c.push(v)}}}const a=[i,c];return r.set(e,a),a}function jr(e){return e[0]!=="$"}function Lr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function $r(e,t){return Lr(e)===Lr(t)}function Sr(e,t){return j(t)?t.findIndex(n=>$r(n,e)):H(t)&&$r(t,e)?0:-1}const Ls=e=>e[0]==="_"||e==="$stable",pr=e=>j(e)?e.map(We):[We(e)],Pi=(e,t,n)=>{if(t._n)return t;const r=Xo((...s)=>pr(t(...s)),n);return r._c=!1,r},$s=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ls(s))continue;const o=e[s];if(H(o))t[s]=Pi(s,o,r);else if(o!=null){const i=pr(o);t[s]=()=>i}}},Ss=(e,t)=>{const n=pr(t);e.slots.default=()=>n},Mi=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=V(t),ln(t,"_",n)):$s(t,e.slots={})}else e.slots={},t&&Ss(e,t);ln(e.slots,xn,1)},Ii=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Z;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(ce(s,t),!n&&c===1&&delete s._):(o=!t.$stable,$s(t,s)),i=t}else t&&(Ss(e,t),i={default:1});if(o)for(const c in s)!Ls(c)&&!(c in i)&&delete s[c]};function Hs(){return{app:null,config:{isNativeTag:to,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 Ni=0;function Fi(e,t){return function(r,s=null){H(r)||(r=Object.assign({},r)),s!=null&&!se(s)&&(s=null);const o=Hs(),i=new Set;let c=!1;const f=o.app={_uid:Ni++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:el,get config(){return o.config},set config(a){},use(a,...d){return i.has(a)||(a&&H(a.install)?(i.add(a),a.install(f,...d)):H(a)&&(i.add(a),a(f,...d))),f},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),f},component(a,d){return d?(o.components[a]=d,f):o.components[a]},directive(a,d){return d?(o.directives[a]=d,f):o.directives[a]},mount(a,d,v){if(!c){const E=de(r,s);return E.appContext=o,d&&t?t(E,a):e(E,a,v),c=!0,f._container=a,a.__vue_app__=f,_r(E.component)||E.component.proxy}},unmount(){c&&(e(null,f._container),delete f._container.__vue_app__)},provide(a,d){return o.provides[a]=d,f}};return f}}function qn(e,t,n,r,s=!1){if(j(e)){e.forEach((E,M)=>qn(E,t&&(j(t)?t[M]:t),n,r,s));return}if(Dt(r)&&!s)return;const o=r.shapeFlag&4?_r(r.component)||r.component.proxy:r.el,i=s?null:o,{i:c,r:f}=e,a=t&&t.r,d=c.refs===Z?c.refs={}:c.refs,v=c.setupState;if(a!=null&&a!==f&&(ie(a)?(d[a]=null,B(v,a)&&(v[a]=null)):he(a)&&(a.value=null)),H(f))ot(f,c,12,[i,d]);else{const E=ie(f),M=he(f);if(E||M){const R=()=>{if(e.f){const W=E?d[f]:f.value;s?j(W)&&Gn(W,o):j(W)?W.includes(o)||W.push(o):E?(d[f]=[o],B(v,f)&&(v[f]=d[f])):(f.value=[o],e.k&&(d[e.k]=f.value))}else E?(d[f]=i,B(v,f)&&(v[f]=i)):M&&(f.value=i,e.k&&(d[e.k]=i))};i?(R.id=-1,Te(R,n)):R()}}}const Te=ni;function Ri(e){return ji(e)}function ji(e,t){const n=lo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:f,setText:a,setElementText:d,parentNode:v,nextSibling:E,setScopeId:M=He,cloneNode:R,insertStaticContent:W}=e,L=(l,u,h,g=null,m=null,y=null,C=!1,_=null,w=!!u.dynamicChildren)=>{if(l===u)return;l&&!jt(l,u)&&(g=vt(l),Me(l,m,y,!0),l=null),u.patchFlag===-2&&(w=!1,u.dynamicChildren=null);const{type:b,ref:A,shapeFlag:T}=u;switch(b){case mr:$(l,u,h,g);break;case lt:G(l,u,h,g);break;case Nn:l==null&&J(u,h,g,C);break;case Le:ct(l,u,h,g,m,y,C,_,w);break;default:T&1?pe(l,u,h,g,m,y,C,_,w):T&6?Yt(l,u,h,g,m,y,C,_,w):(T&64||T&128)&&b.process(l,u,h,g,m,y,C,_,w,Ze)}A!=null&&m&&qn(A,l&&l.ref,y,u||l,!u)},$=(l,u,h,g)=>{if(l==null)r(u.el=c(u.children),h,g);else{const m=u.el=l.el;u.children!==l.children&&a(m,u.children)}},G=(l,u,h,g)=>{l==null?r(u.el=f(u.children||""),h,g):u.el=l.el},J=(l,u,h,g)=>{[l.el,l.anchor]=W(l.children,u,h,g,l.el,l.anchor)},X=({el:l,anchor:u},h,g)=>{let m;for(;l&&l!==u;)m=E(l),r(l,h,g),l=m;r(u,h,g)},ve=({el:l,anchor:u})=>{let h;for(;l&&l!==u;)h=E(l),s(l),l=h;s(u)},pe=(l,u,h,g,m,y,C,_,w)=>{C=C||u.type==="svg",l==null?ye(u,h,g,m,y,C,_,w):Re(l,u,m,y,C,_,w)},ye=(l,u,h,g,m,y,C,_)=>{let w,b;const{type:A,props:T,shapeFlag:P,transition:N,patchFlag:K,dirs:z}=l;if(l.el&&R!==void 0&&K===-1)w=l.el=R(l.el);else{if(w=l.el=i(l.type,y,T&&T.is,T),P&8?d(w,l.children):P&16&&fe(l.children,w,null,g,m,y&&A!=="foreignObject",C,_),z&&ht(l,null,g,"created"),T){for(const Y in T)Y!=="value"&&!sn(Y)&&o(w,Y,null,T[Y],y,l.children,g,m,Ie);"value"in T&&o(w,"value",null,T.value),(b=T.onVnodeBeforeMount)&&Ue(b,g,l)}we(w,l,l.scopeId,C,g)}z&&ht(l,null,g,"beforeMount");const k=(!m||m&&!m.pendingBranch)&&N&&!N.persisted;k&&N.beforeEnter(w),r(w,u,h),((b=T&&T.onVnodeMounted)||k||z)&&Te(()=>{b&&Ue(b,g,l),k&&N.enter(w),z&&ht(l,null,g,"mounted")},m)},we=(l,u,h,g,m)=>{if(h&&M(l,h),g)for(let y=0;y<g.length;y++)M(l,g[y]);if(m){let y=m.subTree;if(u===y){const C=m.vnode;we(l,C,C.scopeId,C.slotScopeIds,m.parent)}}},fe=(l,u,h,g,m,y,C,_,w=0)=>{for(let b=w;b<l.length;b++){const A=l[b]=_?rt(l[b]):We(l[b]);L(null,A,u,h,g,m,y,C,_)}},Re=(l,u,h,g,m,y,C)=>{const _=u.el=l.el;let{patchFlag:w,dynamicChildren:b,dirs:A}=u;w|=l.patchFlag&16;const T=l.props||Z,P=u.props||Z;let N;h&&dt(h,!1),(N=P.onVnodeBeforeUpdate)&&Ue(N,h,u,l),A&&ht(u,l,h,"beforeUpdate"),h&&dt(h,!0);const K=m&&u.type!=="foreignObject";if(b?xe(l.dynamicChildren,b,_,h,g,K,y):C||ge(l,u,_,null,h,g,K,y,!1),w>0){if(w&16)Xe(_,u,T,P,h,g,m);else if(w&2&&T.class!==P.class&&o(_,"class",null,P.class,m),w&4&&o(_,"style",T.style,P.style,m),w&8){const z=u.dynamicProps;for(let k=0;k<z.length;k++){const Y=z[k],Ee=T[Y],je=P[Y];(je!==Ee||Y==="value")&&o(_,Y,Ee,je,m,l.children,h,g,Ie)}}w&1&&l.children!==u.children&&d(_,u.children)}else!C&&b==null&&Xe(_,u,T,P,h,g,m);((N=P.onVnodeUpdated)||A)&&Te(()=>{N&&Ue(N,h,u,l),A&&ht(u,l,h,"updated")},g)},xe=(l,u,h,g,m,y,C)=>{for(let _=0;_<u.length;_++){const w=l[_],b=u[_],A=w.el&&(w.type===Le||!jt(w,b)||w.shapeFlag&70)?v(w.el):h;L(w,b,A,null,g,m,y,C,!0)}},Xe=(l,u,h,g,m,y,C)=>{if(h!==g){for(const _ in g){if(sn(_))continue;const w=g[_],b=h[_];w!==b&&_!=="value"&&o(l,_,b,w,C,u.children,m,y,Ie)}if(h!==Z)for(const _ in h)!sn(_)&&!(_ in g)&&o(l,_,h[_],null,C,u.children,m,y,Ie);"value"in g&&o(l,"value",h.value,g.value)}},ct=(l,u,h,g,m,y,C,_,w)=>{const b=u.el=l?l.el:c(""),A=u.anchor=l?l.anchor:c("");let{patchFlag:T,dynamicChildren:P,slotScopeIds:N}=u;N&&(_=_?_.concat(N):N),l==null?(r(b,h,g),r(A,h,g),fe(u.children,h,A,m,y,C,_,w)):T>0&&T&64&&P&&l.dynamicChildren?(xe(l.dynamicChildren,P,h,m,y,C,_),(u.key!=null||m&&u===m.subTree)&&gr(l,u,!0)):ge(l,u,h,A,m,y,C,_,w)},Yt=(l,u,h,g,m,y,C,_,w)=>{u.slotScopeIds=_,l==null?u.shapeFlag&512?m.ctx.activate(u,h,g,C,w):le(u,h,g,m,y,C,w):ue(l,u,w)},le=(l,u,h,g,m,y,C)=>{const _=l.component=zi(l,g,m);if(Os(l)&&(_.ctx.renderer=Ze),Ji(_),_.asyncDep){if(m&&m.registerDep(_,Q),!l.el){const w=_.subTree=de(lt);G(null,w,u,h)}return}Q(_,l,u,h,m,y,C)},ue=(l,u,h)=>{const g=u.component=l.component;if(Go(l,u,h))if(g.asyncDep&&!g.asyncResolved){q(g,u,h);return}else g.next=u,zo(g.update),g.update();else u.el=l.el,g.vnode=u},Q=(l,u,h,g,m,y,C)=>{const _=()=>{if(l.isMounted){let{next:A,bu:T,u:P,parent:N,vnode:K}=l,z=A,k;dt(l,!1),A?(A.el=K.el,q(l,A,C)):A=K,T&&An(T),(k=A.props&&A.props.onVnodeBeforeUpdate)&&Ue(k,N,A,K),dt(l,!0);const Y=Pn(l),Ee=l.subTree;l.subTree=Y,L(Ee,Y,v(Ee.el),vt(Ee),l,m,y),A.el=Y.el,z===null&&ei(l,Y.el),P&&Te(P,m),(k=A.props&&A.props.onVnodeUpdated)&&Te(()=>Ue(k,N,A,K),m)}else{let A;const{el:T,props:P}=u,{bm:N,m:K,parent:z}=l,k=Dt(u);if(dt(l,!1),N&&An(N),!k&&(A=P&&P.onVnodeBeforeMount)&&Ue(A,z,u),dt(l,!0),T&&at){const Y=()=>{l.subTree=Pn(l),at(T,l.subTree,l,m,null)};k?u.type.__asyncLoader().then(()=>!l.isUnmounted&&Y()):Y()}else{const Y=l.subTree=Pn(l);L(null,Y,h,g,l,m,y),u.el=Y.el}if(K&&Te(K,m),!k&&(A=P&&P.onVnodeMounted)){const Y=u;Te(()=>Ue(A,z,Y),m)}(u.shapeFlag&256||z&&Dt(z.vnode)&&z.vnode.shapeFlag&256)&&l.a&&Te(l.a,m),l.isMounted=!0,u=h=g=null}},w=l.effect=new rr(_,()=>_s(b),l.scope),b=l.update=()=>w.run();b.id=l.uid,dt(l,!0),b()},q=(l,u,h)=>{u.component=l;const g=l.vnode.props;l.vnode=u,l.next=null,Ai(l,u.props,g,h),Ii(l,u.children,h),Mt(),vn(void 0,l.update),It()},ge=(l,u,h,g,m,y,C,_,w=!1)=>{const b=l&&l.children,A=l?l.shapeFlag:0,T=u.children,{patchFlag:P,shapeFlag:N}=u;if(P>0){if(P&128){qe(b,T,h,g,m,y,C,_,w);return}else if(P&256){_t(b,T,h,g,m,y,C,_,w);return}}N&8?(A&16&&Ie(b,m,y),T!==b&&d(h,T)):A&16?N&16?qe(b,T,h,g,m,y,C,_,w):Ie(b,m,y,!0):(A&8&&d(h,""),N&16&&fe(T,h,g,m,y,C,_,w))},_t=(l,u,h,g,m,y,C,_,w)=>{l=l||Ct,u=u||Ct;const b=l.length,A=u.length,T=Math.min(b,A);let P;for(P=0;P<T;P++){const N=u[P]=w?rt(u[P]):We(u[P]);L(l[P],N,h,null,m,y,C,_,w)}b>A?Ie(l,m,y,!0,!1,T):fe(u,h,g,m,y,C,_,w,T)},qe=(l,u,h,g,m,y,C,_,w)=>{let b=0;const A=u.length;let T=l.length-1,P=A-1;for(;b<=T&&b<=P;){const N=l[b],K=u[b]=w?rt(u[b]):We(u[b]);if(jt(N,K))L(N,K,h,null,m,y,C,_,w);else break;b++}for(;b<=T&&b<=P;){const N=l[T],K=u[P]=w?rt(u[P]):We(u[P]);if(jt(N,K))L(N,K,h,null,m,y,C,_,w);else break;T--,P--}if(b>T){if(b<=P){const N=P+1,K=N<A?u[N].el:g;for(;b<=P;)L(null,u[b]=w?rt(u[b]):We(u[b]),h,K,m,y,C,_,w),b++}}else if(b>P)for(;b<=T;)Me(l[b],m,y,!0),b++;else{const N=b,K=b,z=new Map;for(b=K;b<=P;b++){const me=u[b]=w?rt(u[b]):We(u[b]);me.key!=null&&z.set(me.key,b)}let k,Y=0;const Ee=P-K+1;let je=!1,Nt=0;const Ke=new Array(Ee);for(b=0;b<Ee;b++)Ke[b]=0;for(b=N;b<=T;b++){const me=l[b];if(Y>=Ee){Me(me,m,y,!0);continue}let Ne;if(me.key!=null)Ne=z.get(me.key);else for(k=K;k<=P;k++)if(Ke[k-K]===0&&jt(me,u[k])){Ne=k;break}Ne===void 0?Me(me,m,y,!0):(Ke[Ne-K]=b+1,Ne>=Nt?Nt=Ne:je=!0,L(me,u[Ne],h,null,m,y,C,_,w),Y++)}const Ft=je?Li(Ke):Ct;for(k=Ft.length-1,b=Ee-1;b>=0;b--){const me=K+b,Ne=u[me],Rt=me+1<A?u[me+1].el:g;Ke[b]===0?L(null,Ne,h,Rt,m,y,C,_,w):je&&(k<0||b!==Ft[k]?ze(Ne,h,Rt,2):k--)}}},ze=(l,u,h,g,m=null)=>{const{el:y,type:C,transition:_,children:w,shapeFlag:b}=l;if(b&6){ze(l.component.subTree,u,h,g);return}if(b&128){l.suspense.move(u,h,g);return}if(b&64){C.move(l,u,h,Ze);return}if(C===Le){r(y,u,h);for(let T=0;T<w.length;T++)ze(w[T],u,h,g);r(l.anchor,u,h);return}if(C===Nn){X(l,u,h);return}if(g!==2&&b&1&&_)if(g===0)_.beforeEnter(y),r(y,u,h),Te(()=>_.enter(y),m);else{const{leave:T,delayLeave:P,afterLeave:N}=_,K=()=>r(y,u,h),z=()=>{T(y,()=>{K(),N&&N()})};P?P(y,K,z):z()}else r(y,u,h)},Me=(l,u,h,g=!1,m=!1)=>{const{type:y,props:C,ref:_,children:w,dynamicChildren:b,shapeFlag:A,patchFlag:T,dirs:P}=l;if(_!=null&&qn(_,null,h,l,!0),A&256){u.ctx.deactivate(l);return}const N=A&1&&P,K=!Dt(l);let z;if(K&&(z=C&&C.onVnodeBeforeUnmount)&&Ue(z,u,l),A&6)ut(l.component,h,g);else{if(A&128){l.suspense.unmount(h,g);return}N&&ht(l,null,u,"beforeUnmount"),A&64?l.type.remove(l,u,h,m,Ze,g):b&&(y!==Le||T>0&&T&64)?Ie(b,u,h,!1,!0):(y===Le&&T&384||!m&&A&16)&&Ie(w,u,h),g&&ft(l)}(K&&(z=C&&C.onVnodeUnmounted)||N)&&Te(()=>{z&&Ue(z,u,l),N&&ht(l,null,u,"unmounted")},h)},ft=l=>{const{type:u,el:h,anchor:g,transition:m}=l;if(u===Le){Vt(h,g);return}if(u===Nn){ve(l);return}const y=()=>{s(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(l.shapeFlag&1&&m&&!m.persisted){const{leave:C,delayLeave:_}=m,w=()=>C(h,y);_?_(l.el,y,w):w()}else y()},Vt=(l,u)=>{let h;for(;l!==u;)h=E(l),s(l),l=h;s(u)},ut=(l,u,h)=>{const{bum:g,scope:m,update:y,subTree:C,um:_}=l;g&&An(g),m.stop(),y&&(y.active=!1,Me(C,l,u,h)),_&&Te(_,u),Te(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Ie=(l,u,h,g=!1,m=!1,y=0)=>{for(let C=y;C<l.length;C++)Me(l[C],u,h,g,m)},vt=l=>l.shapeFlag&6?vt(l.component.subTree):l.shapeFlag&128?l.suspense.next():E(l.anchor||l.el),Xt=(l,u,h)=>{l==null?u._vnode&&Me(u._vnode,null,null,!0):L(u._vnode||null,l,u,null,null,null,h),ws(),u._vnode=l},Ze={p:L,um:Me,m:ze,r:ft,mt:le,mc:fe,pc:ge,pbc:xe,n:vt,o:e};let Qe,at;return t&&([Qe,at]=t(Ze)),{render:Xt,hydrate:Qe,createApp:Fi(Xt,Qe)}}function dt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function gr(e,t,n=!1){const r=e.children,s=t.children;if(j(r)&&j(s))for(let o=0;o<r.length;o++){const i=r[o];let c=s[o];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[o]=rt(s[o]),c.el=i.el),n||gr(i,c))}}function Li(e){const t=e.slice(),n=[0];let r,s,o,i,c;const f=e.length;for(r=0;r<f;r++){const a=e[r];if(a!==0){if(s=n[n.length-1],e[s]<a){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)c=o+i>>1,e[n[c]]<a?o=c+1:i=c;a<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const $i=e=>e.__isTeleport,Kt=e=>e&&(e.disabled||e.disabled===""),Hr=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,zn=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},Si={__isTeleport:!0,process(e,t,n,r,s,o,i,c,f,a){const{mc:d,pc:v,pbc:E,o:{insert:M,querySelector:R,createText:W,createComment:L}}=a,$=Kt(t.props);let{shapeFlag:G,children:J,dynamicChildren:X}=t;if(e==null){const ve=t.el=W(""),pe=t.anchor=W("");M(ve,n,r),M(pe,n,r);const ye=t.target=zn(t.props,R),we=t.targetAnchor=W("");ye&&(M(we,ye),i=i||Hr(ye));const fe=(Re,xe)=>{G&16&&d(J,Re,xe,s,o,i,c,f)};$?fe(n,pe):ye&&fe(ye,we)}else{t.el=e.el;const ve=t.anchor=e.anchor,pe=t.target=e.target,ye=t.targetAnchor=e.targetAnchor,we=Kt(e.props),fe=we?n:pe,Re=we?ve:ye;if(i=i||Hr(pe),X?(E(e.dynamicChildren,X,fe,s,o,i,c),gr(e,t,!0)):f||v(e,t,fe,Re,s,o,i,c,!1),$)we||rn(t,n,ve,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const xe=t.target=zn(t.props,R);xe&&rn(t,xe,null,a,0)}else we&&rn(t,pe,ye,a,1)}},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:c,children:f,anchor:a,targetAnchor:d,target:v,props:E}=e;if(v&&o(d),(i||!Kt(E))&&(o(a),c&16))for(let M=0;M<f.length;M++){const R=f[M];s(R,t,n,!0,!!R.dynamicChildren)}},move:rn,hydrate:Hi};function rn(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:c,shapeFlag:f,children:a,props:d}=e,v=o===2;if(v&&r(i,t,n),(!v||Kt(d))&&f&16)for(let E=0;E<a.length;E++)s(a[E],t,n,2);v&&r(c,t,n)}function Hi(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:c,querySelector:f}},a){const d=t.target=zn(t.props,f);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Kt(t.props))t.anchor=a(i(e),t,c(e),n,r,s,o),t.targetAnchor=v;else{t.anchor=i(e);let E=v;for(;E;)if(E=i(E),E&&E.nodeType===8&&E.data==="teleport anchor"){t.targetAnchor=E,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(v,t,d,n,r,s,o)}}return t.anchor&&i(t.anchor)}const jl=Si,Le=Symbol(void 0),mr=Symbol(void 0),lt=Symbol(void 0),Nn=Symbol(void 0),Ut=[];let Se=null;function Ds(e=!1){Ut.push(Se=e?null:[])}function Di(){Ut.pop(),Se=Ut[Ut.length-1]||null}let zt=1;function Dr(e){zt+=e}function Ks(e){return e.dynamicChildren=zt>0?Se||Ct:null,Di(),zt>0&&Se&&Se.push(e),e}function Ll(e,t,n,r,s,o){return Ks(Ws(e,t,n,r,s,o,!0))}function Us(e,t,n,r,s){return Ks(de(e,t,n,r,s,!0))}function hn(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const xn="__vInternal",Bs=({key:e})=>e!=null?e:null,on=({ref:e,ref_key:t,ref_for:n})=>e!=null?ie(e)||he(e)||H(e)?{i:_e,r:e,k:t,f:!!n}:e:null;function Ws(e,t=null,n=null,r=0,s=null,o=e===Le?0:1,i=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bs(t),ref:t&&on(t),scopeId:Cs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return c?(br(f,n),o&128&&e.normalize(f)):n&&(f.shapeFlag|=ie(n)?8:16),zt>0&&!i&&Se&&(f.patchFlag>0||o&6)&&f.patchFlag!==32&&Se.push(f),f}const de=Ki;function Ki(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===_i)&&(e=lt),hn(e)){const c=At(e,t,!0);return n&&br(c,n),zt>0&&!o&&Se&&(c.shapeFlag&6?Se[Se.indexOf(e)]=c:Se.push(c)),c.patchFlag|=-2,c}if(Qi(e)&&(e=e.__vccOpts),t){t=Ui(t);let{class:c,style:f}=t;c&&!ie(c)&&(t.class=Zn(c)),se(f)&&(ds(f)&&!j(f)&&(f=ce({},f)),t.style=Xn(f))}const i=ie(e)?1:ti(e)?128:$i(e)?64:se(e)?4:H(e)?2:0;return Ws(e,t,n,r,s,i,o,!0)}function Ui(e){return e?ds(e)||xn in e?ce({},e):e:null}function At(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,c=t?Wi(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Bs(c),ref:t&&t.ref?n&&s?j(s)?s.concat(on(t)):[s,on(t)]:on(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),el:e.el,anchor:e.anchor}}function Bi(e=" ",t=0){return de(mr,null,e,t)}function $l(e="",t=!1){return t?(Ds(),Us(lt,null,e)):de(lt,null,e)}function We(e){return e==null||typeof e=="boolean"?de(lt):j(e)?de(Le,null,e.slice()):typeof e=="object"?rt(e):de(mr,null,String(e))}function rt(e){return e.el===null||e.memo?e:At(e)}function br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(xn in t)?t._ctx=_e:s===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),r&64?(n=16,t=[Bi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wi(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Zn([t.class,r.class]));else if(s==="style")t.style=Xn([t.style,r.style]);else if(dn(s)){const o=t[s],i=r[s];i&&o!==i&&!(j(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Ue(e,t,n,r=null){De(e,t,7,[n,r])}const ki=Hs();let qi=0;function zi(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||ki,o={uid:qi++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new co(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:js(r,s),emitsOptions:Es(r,s),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:r.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,setupContext:null,suspense:n,suspenseId:n?n.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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Vo.bind(null,o),e.ce&&e.ce(o),o}let oe=null;const Sl=()=>oe||_e,Pt=e=>{oe=e,e.scope.on()},bt=()=>{oe&&oe.scope.off(),oe=null};function ks(e){return e.vnode.shapeFlag&4}let Jt=!1;function Ji(e,t=!1){Jt=t;const{props:n,children:r}=e.vnode,s=ks(e);Oi(e,n,s,t),Mi(e,r);const o=s?Yi(e,t):void 0;return Jt=!1,o}function Yi(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ps(new Proxy(e.ctx,yi));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Xi(e):null;Pt(e),Mt();const o=ot(r,e,0,[e.props,s]);if(It(),bt(),Gr(o)){if(o.then(bt,bt),t)return o.then(i=>{Kr(e,i,t)}).catch(i=>{_n(i,e,0)});e.asyncDep=o}else Kr(e,o,t)}else qs(e,t)}function Kr(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=gs(t)),qs(e,n)}let Ur;function qs(e,t,n){const r=e.type;if(!e.render){if(!t&&Ur&&!r.render){const s=r.template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:f}=r,a=ce(ce({isCustomElement:o,delimiters:c},i),f);r.render=Ur(s,a)}}e.render=r.render||He}Pt(e),Mt(),wi(e),It(),bt()}function Vi(e){return new Proxy(e.attrs,{get(t,n){return Pe(e,"get","$attrs"),t[n]}})}function Xi(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Vi(e))},slots:e.slots,emit:e.emit,expose:t}}function _r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gs(ps(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)}}))}function Zi(e,t=!0){return H(e)?e.displayName||e.name:e.name||t&&e.__name}function Qi(e){return H(e)&&"__vccOpts"in e}const Gi=(e,t)=>Wo(e,t,Jt);function Hl(e,t,n){const r=arguments.length;return r===2?se(t)&&!j(t)?hn(t)?de(e,null,[t]):de(e,t):de(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hn(n)&&(n=[n]),de(e,t,n))}const el="3.2.37";/*! (c) Andrea Giammarchi - ISC */const tl=(()=>{const e="DOMContentLoaded",t=new WeakMap,n=[],r=i=>{do if(i.nextSibling)return!0;while(i=i.parentNode);return!1},s=()=>{n.splice(0).forEach(i=>{t.get(i[0])!==!0&&(t.set(i[0],!0),i[0][i[1]]())})};document.addEventListener(e,s);class o extends HTMLElement{static withParsedCallback(c,f="parsed"){const{prototype:a}=c,{connectedCallback:d}=a,v=f+"Callback",E=(R,W,L,$)=>{W.disconnect(),L.removeEventListener(e,$),M(R)},M=R=>{n.length||requestAnimationFrame(s),n.push([R,v])};return Object.defineProperties(a,{connectedCallback:{configurable:!0,writable:!0,value(){if(d&&d.apply(this,arguments),v in this&&!t.has(this)){const R=this,{ownerDocument:W}=R;if(t.set(R,!1),W.readyState==="complete"||r(R))M(R);else{const L=()=>E(R,$,W,L);W.addEventListener(e,L);const $=new MutationObserver(()=>{r(R)&&E(R,$,W,L)});$.observe(R.parentNode,{childList:!0,subtree:!0})}}}},[f]:{configurable:!0,get(){return t.get(this)===!0}}}),c}}return o.withParsedCallback(o)})(),nl="http://www.w3.org/2000/svg",gt=typeof document!="undefined"?document:null,Br=gt&>.createElement("template"),rl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?gt.createElementNS(nl,e):gt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gt.createTextNode(e),createComment:e=>gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Br.innerHTML=r?`<svg>${e}</svg>`:e;const c=Br.content;if(r){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function sl(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ol(e,t,n){const r=e.style,s=ie(n);if(n&&!s){for(const o in n)Jn(r,o,n[o]);if(t&&!ie(t))for(const o in t)n[o]==null&&Jn(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Wr=/\s*!important$/;function Jn(e,t,n){if(j(n))n.forEach(r=>Jn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=il(e,t);Wr.test(n)?e.setProperty(ke(r),n.replace(Wr,""),"important"):e[r]=n}}const kr=["Webkit","Moz","ms"],Fn={};function il(e,t){const n=Fn[t];if(n)return n;let r=Fe(t);if(r!=="filter"&&r in e)return Fn[t]=r;r=mn(r);for(let s=0;s<kr.length;s++){const o=kr[s]+r;if(o in e)return Fn[t]=o}return t}const qr="http://www.w3.org/1999/xlink";function ll(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(qr,t.slice(6,t.length)):e.setAttributeNS(qr,t,n);else{const o=Zs(t);n==null||o&&!Xr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function cl(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const f=n==null?"":n;(e.value!==f||e.tagName==="OPTION")&&(e.value=f),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Xr(n):n==null&&f==="string"?(n="",c=!0):f==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}const[zs,fl]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Yn=0;const ul=Promise.resolve(),al=()=>{Yn=0},hl=()=>Yn||(ul.then(al),Yn=zs());function dl(e,t,n,r){e.addEventListener(t,n,r)}function pl(e,t,n,r){e.removeEventListener(t,n,r)}function gl(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[c,f]=ml(t);if(r){const a=o[t]=bl(r,s);dl(e,c,a,f)}else i&&(pl(e,c,i,f),o[t]=void 0)}}const zr=/(?:Once|Passive|Capture)$/;function ml(e){let t;if(zr.test(e)){t={};let n;for(;n=e.match(zr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[ke(e.slice(2)),t]}function bl(e,t){const n=r=>{const s=r.timeStamp||zs();(fl||s>=n.attached-1)&&De(_l(r,n.value),t,5,[r])};return n.value=e,n.attached=hl(),n}function _l(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Jr=/^on[a-z]/,vl=(e,t,n,r,s=!1,o,i,c,f)=>{t==="class"?sl(e,r,s):t==="style"?ol(e,n,r):dn(t)?Qn(t)||gl(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yl(e,t,r,s))?cl(e,t,r,o,i,c,f):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ll(e,t,r,s))};function yl(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Jr.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Jr.test(t)&&ie(n)?!1:t in e}const wl=["ctrl","shift","alt","meta"],xl={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)=>wl.some(n=>e[`${n}Key`]&&!t.includes(n))},Dl=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=xl[t[s]];if(o&&o(n,t))return}return e(n,...r)},El={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Kl=(e,t)=>n=>{if(!("key"in n))return;const r=ke(n.key);if(t.some(s=>s===r||El[s]===r))return e(n)},Cl=ce({patchProp:vl},rl);let Yr;function Tl(){return Yr||(Yr=Ri(Cl))}const Vr=(...e)=>{Tl().render(...e)},Ol=typeof HTMLElement!="undefined"?tl:class{};class vr extends Ol{constructor(t,n={},r={},s){super(),this._def=t,this._props=n,this._config=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._config=ce({shadowRoot:!0},this._config),this._config.shadowRoot?this.shadowRoot&&s?s(this._createVNode(),this._root):this.attachShadow({mode:"open"}):s&&s(this._createVNode(),this._root)}get _root(){return this._config.shadowRoot?this.shadowRoot:this}connectedCallback(){this._config.shadowRoot?this._connect():super.connectedCallback()}parsedCallback(){this._config.shadowRoot||this._connect()}_connect(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,bs(()=>{this._connected||(Vr(null,this._root),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=r=>{const{props:s,styles:o}=r,i=!j(s),c=s?i?Object.keys(s):s:[];let f;if(i&&s)for(const a in this._props){const d=s[a];(d===Number||d&&d.type===Number)&&(this._props[a]=Rn(this._props[a]),(f||(f=Object.create(null)))[a]=!0)}this._numberProps=f;for(const a of Object.keys(this))a[0]!=="_"&&this._setProp(a,this[a],!0,!1);for(const a of c.map(Fe))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(d){this._setProp(a,d)}});this._config.shadowRoot||(this._slots=Array.from(this.children).map(a=>a.cloneNode(!0)),this.replaceChildren()),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Rn(n)),this._setProp(Fe(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(ke(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ke(t),`${n}`):n||this.removeAttribute(ke(t))))}_update(){Vr(this._createVNode(),this._root)}_createVNode(){let t=null;this._config.shadowRoot||(t=()=>{const r=s=>{const o={};for(let i=0,c=s.length;i<c;i++){const f=s[i];o[f.nodeName]=f.nodeValue}return o};return this._slots.map(s=>{const o=s.attributes?r(s.attributes):{};return o.innerHTML=s.innerHTML,de(s.tagName,o,null)})});const n=de(this._def,ce({},this._props),t);return this._instance||(n.ce=r=>{this._instance=r,this._config.shadowRoot&&(r.isCE=!0),r.emit=(o,...i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof vr){r.parent=s._instance;break}}),n}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this._root.appendChild(r)})}}function Ul(e,t,n){const r=oi(e);class s extends vr{constructor(i){super(r,i,t,n)}}return s.def=r,s}var Bl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};export{Do as A,Le as F,jl as T,Bl as _,Ws as a,$l as b,Ll as c,Nl as d,Us as e,de as f,Xo as g,Dl as h,Fl as i,Ul as j,oi as k,Pl as l,ui as m,Zn as n,Ds as o,di as p,Hl as q,Rl as r,lr as s,Al as t,Ml as u,ps as v,Kl as w,Sl as x,Il as y,bs as z};
|
package/index.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
3
|
-
* We're using a modified `defineCustomElement` where we can choose not to use shadowDom
|
|
4
|
-
* shadowDom prevents access to external CSS, which is how design-system css works!
|
|
5
|
-
* https://github.com/vuejs/core/issues/4314#issuecomment-1021393430
|
|
6
|
-
*/
|
|
7
|
-
import { defineCustomElement } from './temp-define-custom-element';
|
|
8
|
-
// --- Components ---
|
|
9
|
-
import MdsCombobox from './components/combobox/Combobox.ce.vue';
|
|
1
|
+
import MdsCombobox from './custom-elements/mds-combobox';
|
|
2
|
+
import MdsTextEditor from './custom-elements/mds-text-editor';
|
|
10
3
|
|
|
11
|
-
|
|
12
|
-
customElements.define('mds-combobox',
|
|
4
|
+
if (!customElements.get('mds-combobox')) {
|
|
5
|
+
customElements.define('mds-combobox', MdsCombobox);
|
|
6
|
+
}
|
|
7
|
+
if (!customElements.get('mds-text-editor')) {
|
|
8
|
+
customElements.define('mds-text-editor', MdsTextEditor);
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madgex/design-system-ce",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Custom Elements built in Vue3",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"vue": "3.x"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@tiptap/starter-kit": "^2.0.0-beta.191",
|
|
23
|
+
"@tiptap/vue-3": "^2.0.0-beta.96",
|
|
22
24
|
"@vitejs/plugin-legacy": "1.x",
|
|
23
25
|
"@vitejs/plugin-vue": "2.x",
|
|
24
26
|
"@vue/eslint-config-prettier": "6.x",
|
|
@@ -36,5 +38,5 @@
|
|
|
36
38
|
},
|
|
37
39
|
"author": "",
|
|
38
40
|
"license": "UNLICENSED",
|
|
39
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "427e347d24d7204fb458242d6f98bc42032047ac"
|
|
40
42
|
}
|
package/vite.config.js
CHANGED
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
1
|
import path from 'path';
|
|
3
2
|
import { defineConfig } from 'vite';
|
|
4
3
|
import vue from '@vitejs/plugin-vue';
|
|
5
|
-
import legacy from '@vitejs/plugin-legacy';
|
|
6
|
-
|
|
7
|
-
const input =
|
|
8
|
-
process.env.NODE_ENV === 'production'
|
|
9
|
-
? path.resolve(__dirname, './index.js')
|
|
10
|
-
: path.resolve(__dirname, './index.html');
|
|
11
4
|
|
|
12
5
|
export default defineConfig({
|
|
13
6
|
server: {
|
|
14
7
|
port: 8112,
|
|
15
8
|
},
|
|
16
|
-
plugins: [
|
|
17
|
-
vue(),
|
|
18
|
-
legacy({
|
|
19
|
-
targets: ['defaults', 'not IE 11'],
|
|
20
|
-
}),
|
|
21
|
-
],
|
|
9
|
+
plugins: [vue()],
|
|
22
10
|
test: {
|
|
23
11
|
globals: true,
|
|
24
12
|
environment: 'jsdom',
|
|
@@ -27,15 +15,19 @@ export default defineConfig({
|
|
|
27
15
|
build: {
|
|
28
16
|
manifest: true,
|
|
29
17
|
// assetsDir: './dist/',
|
|
30
|
-
outDir: path.resolve(__dirname, './dist/'),
|
|
31
18
|
rollupOptions: {
|
|
32
19
|
// overwrite default .html entry
|
|
33
|
-
input
|
|
20
|
+
input: {
|
|
21
|
+
index: path.resolve(__dirname, './index.js'),
|
|
22
|
+
'custom-elements/mds-text-editor': path.resolve(__dirname, './custom-elements/mds-text-editor.js'),
|
|
23
|
+
'custom-elements/mds-combobox': path.resolve(__dirname, './custom-elements/mds-combobox.js'),
|
|
24
|
+
},
|
|
34
25
|
output: {
|
|
35
26
|
entryFileNames: `[name].js`,
|
|
36
27
|
chunkFileNames: `[name].js`,
|
|
37
28
|
assetFileNames: `[name].[ext]`,
|
|
38
29
|
},
|
|
30
|
+
preserveEntrySignatures: 'strict',
|
|
39
31
|
},
|
|
40
32
|
},
|
|
41
33
|
});
|