!function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function t(e){return e&&e.__esModule?e.default:e}class n{constructor(e){this.children=[],this.parent=e}delete(e){const t=this.children.indexOf(e);return-1!==t&&(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),0===this.children.length&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}}class r{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let i=0;i=0;e-=1){r=t.children[e];const i=r.getAttribute("data-hotkey-scope");if(!a&&!i||a&&n.id===i){o=!0;break}}r&&o&&(!function(e,t){const n=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:t}});!e.dispatchEvent(n)||(i(e)?e.focus():e.click())}(r,l),e.preventDefault()),f()}}else f()}function d(e,t){0===Object.keys(a.children).length&&document.addEventListener("keydown",p);const n=function(e){return e.split(",").map((e=>e.split(" ")))}(t||e.getAttribute("data-hotkey")||""),r=n.map((t=>a.insert(t).add(e)));s.set(e,r)}var h,m,g,v,y=Object.create,b=Object.defineProperty,w=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,_=Object.getOwnPropertyNames,O=Object.getOwnPropertyDescriptor,E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),k=E((t=>{function n(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}Object.defineProperty(t,"__esModule",{value:!0});var r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},o=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");var a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=n(a),c=n(a+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),u=/[>/="'\u0009\u000a\u000c\u0020]/,l={};var f=n("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),p=n("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap");var d=/;(?![^(]*\))/g,h=/:(.+)/;function m(e){const t={};return e.split(d).forEach((e=>{if(e){const n=e.split(h);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}var g=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),v=n("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),y=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),b=/["'&<>]/;var w=/^-?>||--!>|j(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||C(t)||I(t)?t:String(t),E=Object.freeze({}),k=Object.freeze([]),S=/^on[^a-z]/,A=Object.assign,T=Object.prototype.hasOwnProperty,C=Array.isArray,j=e=>"[object Map]"===N(e),L=e=>"[object Set]"===N(e),P=e=>e instanceof Date,D=e=>"function"==typeof e,M=e=>"string"==typeof e,R=e=>null!==e&&"object"==typeof e,$=Object.prototype.toString,N=e=>$.call(e),I=e=>"[object Object]"===N(e),W=n(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),z=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,V=z((e=>e.replace(H,((e,t)=>t?t.toUpperCase():"")))),B=/\B([A-Z])/g,G=z((e=>e.replace(B,"-$1").toLowerCase())),q=z((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=z((e=>e?`on${q(e)}`:""));t.EMPTY_ARR=k,t.EMPTY_OBJ=E,t.NO=()=>!1,t.NOOP=()=>{},t.PatchFlagNames=r,t.babelParserDefaultPlugins=["bigInt","optionalChaining","nullishCoalescingOperator"],t.camelize=V,t.capitalize=q,t.def=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},t.escapeHtml=function(e){const t=""+e,n=b.exec(t);if(!n)return t;let r,i,o="",a=0;for(i=n.index;i=t){for(let a=e-2;a<=e+2||n>i;a++){if(a<0||a>=r.length)continue;const s=a+1;o.push(`${s}${" ".repeat(Math.max(3-String(s).length,0))}| ${r[a]}`);const c=r[a].length;if(a===e){const e=t-(i-c)+1,r=Math.max(1,n>i?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>i){const e=Math.max(Math.min(n-i,c),1);o.push(" | "+"^".repeat(e))}i+=c+1}}break}return o.join("\n")},t.getGlobalThis=()=>_||(_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),t.hasChanged=(e,t)=>e!==t&&(e==e||t==t),t.hasOwn=(e,t)=>T.call(e,t),t.hyphenate=G,t.invokeArrayFns=(e,t)=>{for(let n=0;nM(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,t.isKnownAttr=p,t.isMap=j,t.isModelListener=e=>e.startsWith("onUpdate:"),t.isNoUnitNumericStyleProp=f,t.isObject=R,t.isOn=e=>S.test(e),t.isPlainObject=I,t.isPromise=e=>R(e)&&D(e.then)&&D(e.catch),t.isReservedProp=W,t.isSSRSafeAttrName=function(e){if(l.hasOwnProperty(e))return l[e];const t=u.test(e);return t&&console.error(`unsafe attribute name: ${e}`),l[e]=!t},t.isSVGTag=v,t.isSet=L,t.isSpecialBooleanAttr=s,t.isString=M,t.isSymbol=e=>"symbol"==typeof e,t.isVoidTag=y,t.looseEqual=x,t.looseIndexOf=function(e,t){return e.findIndex((e=>x(e,t)))},t.makeMap=n,t.normalizeClass=function e(t){let n="";if(M(t))n=t;else if(C(t))for(let r=0;r{const n=e.indexOf(t);n>-1&&e.splice(n,1)},t.slotFlagsText=i,t.stringifyStyle=function(e){let t="";if(!e)return t;for(const n in e){const r=e[n],i=n.startsWith("--")?n:G(n);(M(r)||"number"==typeof r&&f(i))&&(t+=`${i}:${r};`)}return t},t.toDisplayString=e=>null==e?"":R(e)?JSON.stringify(e,O,2):String(e),t.toHandlerKey=F,t.toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},t.toRawType=e=>N(e).slice(8,-1),t.toTypeString=N})),S=E(((e,t)=>{t.exports=k()})),A=E((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t,n=S(),r=new WeakMap,i=[],o=Symbol("iterate"),a=Symbol("Map key iterate");function s(e,r=n.EMPTY_OBJ){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const o=function(e,n){const r=function(){if(!r.active)return e();if(!i.includes(r)){u(r);try{return d(),i.push(r),t=r,e()}finally{i.pop(),h(),t=i[i.length-1]}}};return r.id=c++,r.allowRecurse=!!n.allowRecurse,r._isEffect=!0,r.active=!0,r.raw=e,r.deps=[],r.options=n,r}(e,r);return r.lazy||o(),o}var c=0;function u(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==t||e.allowRecurse)&&p.add(e)}))};if("clear"===i)f.forEach(d);else if("length"===s&&n.isArray(e))f.forEach(((e,t)=>{("length"===t||t>=c)&&d(e)}));else switch(void 0!==s&&d(f.get(s)),i){case"add":n.isArray(e)?n.isIntegerKey(s)&&d(f.get("length")):(d(f.get(o)),n.isMap(e)&&d(f.get(a)));break;case"delete":n.isArray(e)||(d(f.get(o)),n.isMap(e)&&d(f.get(a)));break;case"set":n.isMap(e)&&d(f.get(o))}p.forEach((t=>{t.options.onTrigger&&t.options.onTrigger({effect:t,target:e,key:s,type:i,newValue:c,oldValue:u,oldTarget:l}),t.options.scheduler?t.options.scheduler(t):t()}))}var v=n.makeMap("__proto__,__v_isRef,__isVue"),y=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(n.isSymbol)),b=E(),w=E(!1,!0),x=E(!0),_=E(!0,!0),O={};function E(e=!1,t=!1){return function(r,i,o){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_raw"===i&&o===(e?t?ae:oe:t?ie:re).get(r))return r;const a=n.isArray(r);if(!e&&a&&n.hasOwn(O,i))return Reflect.get(O,i,o);const s=Reflect.get(r,i,o);if(n.isSymbol(i)?y.has(i):v(i))return s;if(e||m(r,"get",i),t)return s;if(me(s)){return!a||!n.isIntegerKey(i)?s.value:s}return n.isObject(s)?e?ce(s):se(s):s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){const n=de(this);for(let e=0,t=this.length;e{const t=Array.prototype[e];O[e]=function(...e){p();const n=t.apply(this,e);return h(),n}}));var k=T(),A=T(!0);function T(e=!1){return function(t,r,i,o){let a=t[r];if(!e&&(i=de(i),a=de(a),!n.isArray(t)&&me(a)&&!me(i)))return a.value=i,!0;const s=n.isArray(t)&&n.isIntegerKey(r)?Number(r)(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},L=n.extend({},C,{get:w,set:A}),P=n.extend({},j,{get:_}),D=e=>n.isObject(e)?se(e):e,M=e=>n.isObject(e)?ce(e):e,R=e=>e,$=e=>Reflect.getPrototypeOf(e);function N(e,t,n=!1,r=!1){const i=de(e=e.__v_raw),o=de(t);t!==o&&!n&&m(i,"get",t),!n&&m(i,"get",o);const{has:a}=$(i),s=r?R:n?M:D;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function I(e,t=!1){const n=this.__v_raw,r=de(n),i=de(e);return e!==i&&!t&&m(r,"has",e),!t&&m(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function W(e,t=!1){return e=e.__v_raw,!t&&m(de(e),"iterate",o),Reflect.get(e,"size",e)}function z(e){e=de(e);const t=de(this);return $(t).has.call(t,e)||(t.add(e),g(t,"add",e,e)),this}function H(e,t){t=de(t);const r=de(this),{has:i,get:o}=$(r);let a=i.call(r,e);a?ne(r,i,e):(e=de(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,t),a?n.hasChanged(t,s)&&g(r,"set",e,t,s):g(r,"add",e,t),this}function V(e){const t=de(this),{has:n,get:r}=$(t);let i=n.call(t,e);i?ne(t,n,e):(e=de(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&g(t,"delete",e,void 0,o),a}function B(){const e=de(this),t=0!==e.size,r=n.isMap(e)?new Map(e):new Set(e),i=e.clear();return t&&g(e,"clear",void 0,void 0,r),i}function G(e,t){return function(n,r){const i=this,a=i.__v_raw,s=de(a),c=t?R:e?M:D;return!e&&m(s,"iterate",o),a.forEach(((e,t)=>n.call(r,c(e),c(t),i)))}}function q(e,t,r){return function(...i){const s=this.__v_raw,c=de(s),u=n.isMap(c),l="entries"===e||e===Symbol.iterator&&u,f="keys"===e&&u,p=s[e](...i),d=r?R:t?M:D;return!t&&m(c,"iterate",f?a:o),{next(){const{value:e,done:t}=p.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function F(e){return function(...t){{const r=t[0]?`on key "${t[0]}" `:"";console.warn(`${n.capitalize(e)} operation ${r}failed: target is readonly.`,de(this))}return"delete"!==e&&this}}var U={get(e){return N(this,e)},get size(){return W(this)},has:I,add:z,set:H,delete:V,clear:B,forEach:G(!1,!1)},Y={get(e){return N(this,e,!1,!0)},get size(){return W(this)},has:I,add:z,set:H,delete:V,clear:B,forEach:G(!1,!0)},K={get(e){return N(this,e,!0)},get size(){return W(this,!0)},has(e){return I.call(this,e,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:G(!0,!1)},X={get(e){return N(this,e,!0,!0)},get size(){return W(this,!0)},has(e){return I.call(this,e,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:G(!0,!0)};function J(e,t){const r=t?e?X:Y:e?K:U;return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(n.hasOwn(r,i)&&i in t?r:t,i,o)}["keys","values","entries",Symbol.iterator].forEach((e=>{U[e]=q(e,!1,!1),K[e]=q(e,!0,!1),Y[e]=q(e,!1,!0),X[e]=q(e,!0,!0)}));var Z={get:J(!1,!1)},Q={get:J(!1,!0)},ee={get:J(!0,!1)},te={get:J(!0,!0)};function ne(e,t,r){const i=de(r);if(i!==r&&t.call(e,i)){const t=n.toRawType(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var re=new WeakMap,ie=new WeakMap,oe=new WeakMap,ae=new WeakMap;function se(e){return e&&e.__v_isReadonly?e:ue(e,!1,C,Z,re)}function ce(e){return ue(e,!0,j,ee,oe)}function ue(e,t,r,i,o){if(!n.isObject(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const s=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(n.toRawType(c));var c;if(0===s)return e;const u=new Proxy(e,2===s?i:r);return o.set(e,u),u}function le(e){return fe(e)?le(e.__v_raw):!(!e||!e.__v_isReactive)}function fe(e){return!(!e||!e.__v_isReadonly)}function pe(e){return le(e)||fe(e)}function de(e){return e&&de(e.__v_raw)||e}var he=e=>n.isObject(e)?se(e):e;function me(e){return Boolean(e&&!0===e.__v_isRef)}function ge(e,t=!1){return me(e)?e:new class{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:he(e)}get value(){return m(de(this),"get","value"),this._value}set value(e){n.hasChanged(de(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:he(e),g(de(this),"set","value",e))}}(e,t)}function ve(e){return me(e)?e.value:e}var ye={get:(e,t,n)=>ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return me(i)&&!me(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function be(e,t){return me(e[t])?e[t]:new class{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}(e,t)}e.ITERATE_KEY=o,e.computed=function(e){let t,r;return n.isFunction(e)?(t=e,r=()=>{console.warn("Write operation failed: computed value is readonly")}):(t=e.get,r=e.set),new class{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=s(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,g(de(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=de(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),m(e,"get","value"),e._value}set value(e){this._setter(e)}}(t,r,n.isFunction(e)||!e.set)},e.customRef=function(e){return new class{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>m(this,"get","value")),(()=>g(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}(e)},e.effect=s,e.enableTracking=d,e.isProxy=pe,e.isReactive=le,e.isReadonly=fe,e.isRef=me,e.markRaw=function(e){return n.def(e,"__v_skip",!0),e},e.pauseTracking=p,e.proxyRefs=function(e){return le(e)?e:new Proxy(e,ye)},e.reactive=se,e.readonly=ce,e.ref=function(e){return ge(e)},e.resetTracking=h,e.shallowReactive=function(e){return ue(e,!1,L,Q,ie)},e.shallowReadonly=function(e){return ue(e,!0,P,te,ae)},e.shallowRef=function(e){return ge(e,!0)},e.stop=function(e){e.active&&(u(e),e.options.onStop&&e.options.onStop(),e.active=!1)},e.toRaw=de,e.toRef=be,e.toRefs=function(e){pe(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=n.isArray(e)?new Array(e.length):{};for(const n in e)t[n]=be(e,n);return t},e.track=m,e.trigger=g,e.triggerRef=function(e){g(de(e),"set","value",e.value)},e.unref=ve})),T=E(((e,t)=>{t.exports=A()})),C=!1,j=!1,L=[];function P(e){!function(e){L.includes(e)||L.push(e);j||C||(C=!0,queueMicrotask(D))}(e)}function D(){C=!1,j=!0;for(let e=0;e{(void 0===t||t.includes(n))&&(r.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var z=new MutationObserver(K),H=!1;function V(){z.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),H=!0}function B(){(G=G.concat(z.takeRecords())).length&&!q&&(q=!0,queueMicrotask((()=>{K(G),G.length=0,q=!1}))),z.disconnect(),H=!1}var G=[],q=!1;function F(e){if(!H)return e();B();let t=e();return V(),t}var U=!1,Y=[];function K(e){if(U)return void(Y=Y.concat(e));let t=[],n=[],r=new Map,i=new Map;for(let o=0;o1===e.nodeType&&t.push(e))),e[o].removedNodes.forEach((e=>1===e.nodeType&&n.push(e)))),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,a=e[o].oldValue,s=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},c=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(c(),s()):c()}i.forEach(((e,t)=>{W(t,e)})),r.forEach(((e,t)=>{$.forEach((n=>n(t,e)))}));for(let e of n)t.includes(e)||N.forEach((t=>t(e)));t.forEach((e=>{e._x_ignoreSelf=!0,e._x_ignore=!0}));for(let e of t)n.includes(e)||e.isConnected&&(delete e._x_ignoreSelf,delete e._x_ignore,I.forEach((t=>t(e))),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach((e=>{delete e._x_ignoreSelf,delete e._x_ignore})),t=null,n=null,r=null,i=null}function X(e,t,n){return e._x_dataStack=[t,...Z(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function J(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach((([e,t])=>{n[e]=t}))}function Z(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?Z(e.host):e.parentNode?Z(e.parentNode):[]}function Q(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap((e=>Object.keys(e))))),has:(t,n)=>e.some((e=>e.hasOwnProperty(n))),get:(n,r)=>(e.find((e=>{if(e.hasOwnProperty(r)){let n=Object.getOwnPropertyDescriptor(e,r);if(n.get&&n.get._x_alreadyBound||n.set&&n.set._x_alreadyBound)return!0;if((n.get||n.set)&&n.enumerable){let i=n.get,o=n.set,a=n;i=i&&i.bind(t),o=o&&o.bind(t),i&&(i._x_alreadyBound=!0),o&&(o._x_alreadyBound=!0),Object.defineProperty(e,r,{...a,get:i,set:o})}return!0}return!1}))||{})[r],set:(t,n,r)=>{let i=e.find((e=>e.hasOwnProperty(n)));return i?i[n]=r:e[e.length-1][n]=r,!0}});return t}function ee(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;let s=""===r?i:`${r}.${i}`;var c;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(e,s,i):"object"!=typeof(c=o)||Array.isArray(c)||null===c||o===n||o instanceof Element||t(o,s)}))};return t(e)}function te(e,t=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,r){return e(this.initialValue,(()=>function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}(t,n)),(e=>ne(t,n,e)),n,r)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(r,i,o)=>{let a=e.initialize(r,i,o);return n.initialValue=a,t(r,i,o)}}else n.initialValue=e;return n}}function ne(e,t,n){if("string"==typeof t&&(t=t.split(".")),1!==t.length){if(0===t.length)throw error;return e[t[0]]||(e[t[0]]={}),ne(e[t[0]],t.slice(1),n)}e[t[0]]=n}var re={};function ie(e,t){re[e]=t}function oe(e,t){return Object.entries(re).forEach((([n,r])=>{Object.defineProperty(e,`$${n}`,{get:()=>r(t,{Alpine:ft,interceptor:te}),enumerable:!1})})),e}function ae(e,t,n,...r){try{return n(...r)}catch(n){se(n,e,t)}}function se(e,t,n){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout((()=>{throw e}),0)}function ce(e,t,n={}){let r;return ue(e,t)((e=>r=e),n),r}function ue(...e){return le(...e)}var le=fe;function fe(e,t){let n={};oe(n,e);let r=[n,...Z(e)];if("function"==typeof t)return function(e,t){return(n=(()=>{}),{scope:r={},params:i=[]}={})=>{de(n,t.apply(Q([r,...e]),i))}}(r,t);let i=function(e,t,n){let r=function(e,t){if(pe[e])return pe[e];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(() => { ${e} })()`:e;let i=(()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(n){return se(n,t,e),Promise.resolve()}})();return pe[e]=i,i}(t,n);return(i=(()=>{}),{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=Q([o,...e]);if("function"==typeof r){let e=r(r,s).catch((e=>se(e,n,t)));r.finished?(de(i,r.result,s,a,n),r.result=void 0):e.then((e=>{de(i,e,s,a,n)})).catch((e=>se(e,n,t))).finally((()=>r.result=void 0))}}}(r,t,e);return ae.bind(null,e,t,i)}var pe={};function de(e,t,n,r,i){if("function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then((t=>de(e,t,n,r))).catch((e=>se(e,i,t))):e(o)}else e(t)}var he="x-";function me(e=""){return he+e}var ge={};function ve(e,t){ge[e]=t}function ye(e,t,n){let r={},i=Array.from(t).map(Oe(((e,t)=>r[e]=t))).filter(Se).map(function(e,t){return({name:n,value:r})=>{let i=n.match(Ae()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:a.map((e=>e.replace(".",""))),expression:r,original:s}}}(r,n)).sort(je);return i.map((t=>function(e,t){let n=()=>{},r=ge[t.type]||n,i=[],o=e=>i.push(e),[a,s]=function(e){let t=()=>{};return[n=>{let r=m(n);e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(r),t=()=>{void 0!==r&&(e._x_effects.delete(r),g(r))}},()=>{t()}]}(e);i.push(s);let c={Alpine:ft,effect:a,cleanup:o,evaluateLater:ue.bind(ue,e),evaluate:ce.bind(ce,e)},u=()=>i.forEach((e=>e()));!function(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}(e,t.original,u);let l=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,c),r=r.bind(r,e,t,c),be?we.get(xe).push(r):r())};return l.runCleanups=u,l}(e,t)))}var be=!1,we=new Map,xe=Symbol();var _e=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function Oe(e=(()=>{})){return({name:t,value:n})=>{let{name:r,value:i}=Ee.reduce(((e,t)=>t(e)),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var Ee=[];function ke(e){Ee.push(e)}function Se({name:e}){return Ae().test(e)}var Ae=()=>new RegExp(`^${he}([^:^.]+)\\b`);var Te="DEFAULT",Ce=["ignore","ref","data","id","bind","init","for","model","transition","show","if",Te,"teleport","element"];function je(e,t){let n=-1===Ce.indexOf(e.type)?Te:e.type,r=-1===Ce.indexOf(t.type)?Te:t.type;return Ce.indexOf(n)-Ce.indexOf(r)}function Le(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}var Pe=[],De=!1;function Me(e){Pe.push(e),queueMicrotask((()=>{De||setTimeout((()=>{Re()}))}))}function Re(){for(De=!1;Pe.length;)Pe.shift()()}function $e(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>$e(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let r=e.firstElementChild;for(;r;)$e(r,t),r=r.nextElementSibling}function Ne(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Ie=[],We=[];function ze(){return Ie.map((e=>e()))}function He(){return Ie.concat(We).map((e=>e()))}function Ve(e){Ie.push(e)}function Be(e){We.push(e)}function Ge(e,t=!1){return qe(e,(e=>{if((t?He():ze()).some((t=>e.matches(t))))return!0}))}function qe(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return qe(e.parentElement,t)}}function Fe(e,t=$e){!function(e){be=!0;let t=Symbol();xe=t,we.set(t,[]);let n=()=>{for(;we.get(t).length;)we.get(t).shift()();we.delete(t)};e(n),be=!1,n()}((()=>{t(e,((e,t)=>{ye(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Ue(e,t){return Array.isArray(t)?Ye(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),r=Object.entries(t).flatMap((([e,t])=>!!t&&n(e))).filter(Boolean),i=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),o=[],a=[];return i.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),a.push(t))})),r.forEach((t=>{e.classList.contains(t)||(e.classList.add(t),o.push(t))})),()=>{a.forEach((t=>e.classList.add(t))),o.forEach((t=>e.classList.remove(t)))}}(e,t):"function"==typeof t?Ue(e,t()):Ye(e,t)}function Ye(e,t){return t=!0===t?t="":t||"",n=t.split(" ").filter((t=>!e.classList.contains(t))).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)};var n}function Ke(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach((([t,r])=>{n[t]=e.style[t],e.style.setProperty(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{Ke(e,n)}}(e,t):function(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n)}}(e,t)}function Xe(e,t=(()=>{})){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function Je(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=(()=>{}),r=(()=>{})){Qe(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=(()=>{}),r=(()=>{})){Qe(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function Ze(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ze(t)}function Qe(e,t,{during:n,start:r,end:i}={},o=(()=>{}),a=(()=>{})){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(i).length)return o(),void a();let s,c,u;!function(e,t){let n,r,i,o=Xe((()=>{F((()=>{n=!0,r||t.before(),i||(t.end(),Re()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:Xe((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},F((()=>{t.start(),t.during()})),De=!0,requestAnimationFrame((()=>{if(n)return;let o=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),a=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),F((()=>{t.before()})),r=!0,requestAnimationFrame((()=>{n||(F((()=>{t.end()})),Re(),setTimeout(e._x_transitioning.finish,o+a),i=!0)}))}))}(e,{start(){s=t(e,r)},during(){c=t(e,n)},before:o,end(){s(),u=t(e,i)},after:a,cleanup(){c(),u()}})}function et(e,t,n){if(-1===e.indexOf(t))return n;const r=e[e.indexOf(t)+1];if(!r)return n;if("scale"===t&&isNaN(r))return n;if("duration"===t){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}ve("transition",((e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),r?function(e,t,n){Je(e,Ue,""),{enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}}[n](t)}(e,r,t):function(e,t,n){Je(e,Ke);let r=!t.includes("in")&&!t.includes("out")&&!n,i=r||t.includes("in")||["enter"].includes(n),o=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter(((e,n)=>nn>t.indexOf("out"))));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),c=a||t.includes("scale"),u=s?0:1,l=c?et(t,"scale",95)/100:1,f=et(t,"delay",0),p=et(t,"origin","center"),d="opacity, transform",h=et(t,"duration",150)/1e3,m=et(t,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:p,transitionDelay:f,transitionProperty:d,transitionDuration:`${h}s`,transitionTimingFunction:g},e._x_transition.enter.start={opacity:u,transform:`scale(${l})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(e._x_transition.leave.during={transformOrigin:p,transitionDelay:f,transitionProperty:d,transitionDuration:`${m}s`,transitionTimingFunction:g},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:u,transform:`scale(${l})`})}(e,n,t)})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){let i=()=>{"visible"===document.visibilityState?requestAnimationFrame(n):setTimeout(n)};t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i():(e._x_hidePromise=e._x_transition?new Promise(((t,n)=>{e._x_transition.out((()=>{}),(()=>t(r))),e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let t=Ze(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):queueMicrotask((()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then((([e])=>e()));return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch((e=>{if(!e.isFromCancelledTransition)throw e}))}))})))};var tt=!1;function nt(e,t=(()=>{})){return(...n)=>tt?t(...n):e(...n)}function rt(e,t){var n;return function(){var r=this,i=arguments,o=function(){n=null,e.apply(r,i)};clearTimeout(n),n=setTimeout(o,t)}}function it(e,t){let n;return function(){let r=this,i=arguments;n||(e.apply(r,i),n=!0,setTimeout((()=>n=!1),t))}}var ot={},at=!1;var st={};var ct,ut,lt={get reactive(){return h},get release(){return g},get effect(){return m},get raw(){return v},version:"3.7.0",flushAndStopDeferringMutations:function(){U=!1,K(Y),Y=[]},disableEffectScheduling:function(e){M=!1,e(),M=!0},setReactivityEngine:function(e){h=e.reactive,g=e.release,m=t=>e.effect(t,{scheduler:e=>{M?P(e):e()}}),v=e.raw},closestDataStack:Z,skipDuringClone:nt,addRootSelector:Ve,addInitSelector:Be,addScopeToNode:X,deferMutations:function(){U=!0},mapAttributes:ke,evaluateLater:ue,setEvaluator:function(e){le=e},mergeProxies:Q,closestRoot:Ge,interceptor:te,transition:Qe,setStyles:Ke,mutateDom:F,directive:ve,throttle:it,debounce:rt,evaluate:ce,initTree:Fe,nextTick:Me,prefixed:me,prefix:function(e){he=e},plugin:function(e){e(ft)},magic:ie,store:function(e,t){if(at||(ot=h(ot),at=!0),void 0===t)return ot[e];ot[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&ot[e].init(),ee(ot[e])},start:function(){var e;document.body||Ne("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `