!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 i{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let r=0;r=0;e-=1){i=t.children[e];const r=i.getAttribute("data-hotkey-scope");if(!a&&!r||a&&n.id===r){o=!0;break}}i&&o&&(!function(e,t){const n=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:t}});!e.dispatchEvent(n)||(r(e)?e.focus():e.click())}(i,l),e.preventDefault()),f()}}else f()}function p(e,t){0===Object.keys(a.children).length&&document.addEventListener("keydown",d);const n=function(e){return e.split(",").map((e=>e.split(" ")))}(t||e.getAttribute("data-hotkey")||""),i=n.map((t=>a.insert(t).add(e)));s.set(e,i)}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),i=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}Object.defineProperty(t,"__esModule",{value:!0});var i={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"},r={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"),d=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 p=/;(?![^(]*\))/g,h=/:(.+)/;function m(e){const t={};return e.split(p).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=/^-?>||--!>|M(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:j(t)?{[`Set(${t.size})`]:[...t.values()]}:!D(t)||C(t)||I(t)?t:String(t),E=Object.freeze({}),k=Object.freeze([]),S=/^on[^a-z]/,T=Object.assign,A=Object.prototype.hasOwnProperty,C=Array.isArray,M=e=>"[object Map]"===W(e),j=e=>"[object Set]"===W(e),L=e=>e instanceof Date,P=e=>"function"==typeof e,R=e=>"string"==typeof e,D=e=>null!==e&&"object"==typeof e,z=Object.prototype.toString,W=e=>z.call(e),I=e=>"[object Object]"===W(e),$=n(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,F=N((e=>e.replace(H,((e,t)=>t?t.toUpperCase():"")))),V=/\B([A-Z])/g,B=N((e=>e.replace(V,"-$1").toLowerCase())),q=N((e=>e.charAt(0).toUpperCase()+e.slice(1))),G=N((e=>e?`on${q(e)}`:""));t.EMPTY_ARR=k,t.EMPTY_OBJ=E,t.NO=()=>!1,t.NOOP=()=>{},t.PatchFlagNames=i,t.babelParserDefaultPlugins=["bigInt","optionalChaining","nullishCoalescingOperator"],t.camelize=F,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 i,r,o="",a=0;for(r=n.index;r=t){for(let a=e-2;a<=e+2||n>r;a++){if(a<0||a>=i.length)continue;const s=a+1;o.push(`${s}${" ".repeat(Math.max(3-String(s).length,0))}| ${i[a]}`);const c=i[a].length;if(a===e){const e=t-(r-c)+1,i=Math.max(1,n>r?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(i))}else if(a>e){if(n>r){const e=Math.max(Math.min(n-r,c),1);o.push(" | "+"^".repeat(e))}r+=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)=>A.call(e,t),t.hyphenate=B,t.invokeArrayFns=(e,t)=>{for(let n=0;nR(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,t.isKnownAttr=d,t.isMap=M,t.isModelListener=e=>e.startsWith("onUpdate:"),t.isNoUnitNumericStyleProp=f,t.isObject=D,t.isOn=e=>S.test(e),t.isPlainObject=I,t.isPromise=e=>D(e)&&P(e.then)&&P(e.catch),t.isReservedProp=$,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=j,t.isSpecialBooleanAttr=s,t.isString=R,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(R(t))n=t;else if(C(t))for(let i=0;i{const n=e.indexOf(t);n>-1&&e.splice(n,1)},t.slotFlagsText=r,t.stringifyStyle=function(e){let t="";if(!e)return t;for(const n in e){const i=e[n],r=n.startsWith("--")?n:B(n);(R(i)||"number"==typeof i&&f(r))&&(t+=`${r}:${i};`)}return t},t.toDisplayString=e=>null==e?"":D(e)?JSON.stringify(e,O,2):String(e),t.toHandlerKey=G,t.toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},t.toRawType=e=>W(e).slice(8,-1),t.toTypeString=W})),S=E(((e,t)=>{t.exports=k()})),T=E((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t,n=S(),i=new WeakMap,r=[],o=Symbol("iterate"),a=Symbol("Map key iterate");function s(e,i=n.EMPTY_OBJ){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const o=function(e,n){const i=function(){if(!i.active)return e();if(!r.includes(i)){u(i);try{return p(),r.push(i),t=i,e()}finally{r.pop(),h(),t=r[r.length-1]}}};return i.id=c++,i.allowRecurse=!!n.allowRecurse,i._isEffect=!0,i.active=!0,i.raw=e,i.deps=[],i.options=n,i}(e,i);return i.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)&&d.add(e)}))};if("clear"===r)f.forEach(p);else if("length"===s&&n.isArray(e))f.forEach(((e,t)=>{("length"===t||t>=c)&&p(e)}));else switch(void 0!==s&&p(f.get(s)),r){case"add":n.isArray(e)?n.isIntegerKey(s)&&p(f.get("length")):(p(f.get(o)),n.isMap(e)&&p(f.get(a)));break;case"delete":n.isArray(e)||(p(f.get(o)),n.isMap(e)&&p(f.get(a)));break;case"set":n.isMap(e)&&p(f.get(o))}d.forEach((t=>{t.options.onTrigger&&t.options.onTrigger({effect:t,target:e,key:s,type:r,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(i,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&o===(e?t?ae:oe:t?re:ie).get(i))return i;const a=n.isArray(i);if(!e&&a&&n.hasOwn(O,r))return Reflect.get(O,r,o);const s=Reflect.get(i,r,o);if(n.isSymbol(r)?y.has(r):v(r))return s;if(e||m(i,"get",r),t)return s;if(me(s)){return!a||!n.isIntegerKey(r)?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=pe(this);for(let e=0,t=this.length;e{const t=Array.prototype[e];O[e]=function(...e){d();const n=t.apply(this,e);return h(),n}}));var k=A(),T=A(!0);function A(e=!1){return function(t,i,r,o){let a=t[i];if(!e&&(r=pe(r),a=pe(a),!n.isArray(t)&&me(a)&&!me(r)))return a.value=r,!0;const s=n.isArray(t)&&n.isIntegerKey(i)?Number(i)(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)},j=n.extend({},C,{get:w,set:T}),L=n.extend({},M,{get:_}),P=e=>n.isObject(e)?se(e):e,R=e=>n.isObject(e)?ce(e):e,D=e=>e,z=e=>Reflect.getPrototypeOf(e);function W(e,t,n=!1,i=!1){const r=pe(e=e.__v_raw),o=pe(t);t!==o&&!n&&m(r,"get",t),!n&&m(r,"get",o);const{has:a}=z(r),s=i?D:n?R:P;return a.call(r,t)?s(e.get(t)):a.call(r,o)?s(e.get(o)):void(e!==r&&e.get(t))}function I(e,t=!1){const n=this.__v_raw,i=pe(n),r=pe(e);return e!==r&&!t&&m(i,"has",e),!t&&m(i,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function $(e,t=!1){return e=e.__v_raw,!t&&m(pe(e),"iterate",o),Reflect.get(e,"size",e)}function N(e){e=pe(e);const t=pe(this);return z(t).has.call(t,e)||(t.add(e),g(t,"add",e,e)),this}function H(e,t){t=pe(t);const i=pe(this),{has:r,get:o}=z(i);let a=r.call(i,e);a?ne(i,r,e):(e=pe(e),a=r.call(i,e));const s=o.call(i,e);return i.set(e,t),a?n.hasChanged(t,s)&&g(i,"set",e,t,s):g(i,"add",e,t),this}function F(e){const t=pe(this),{has:n,get:i}=z(t);let r=n.call(t,e);r?ne(t,n,e):(e=pe(e),r=n.call(t,e));const o=i?i.call(t,e):void 0,a=t.delete(e);return r&&g(t,"delete",e,void 0,o),a}function V(){const e=pe(this),t=0!==e.size,i=n.isMap(e)?new Map(e):new Set(e),r=e.clear();return t&&g(e,"clear",void 0,void 0,i),r}function B(e,t){return function(n,i){const r=this,a=r.__v_raw,s=pe(a),c=t?D:e?R:P;return!e&&m(s,"iterate",o),a.forEach(((e,t)=>n.call(i,c(e),c(t),r)))}}function q(e,t,i){return function(...r){const s=this.__v_raw,c=pe(s),u=n.isMap(c),l="entries"===e||e===Symbol.iterator&&u,f="keys"===e&&u,d=s[e](...r),p=i?D:t?R:P;return!t&&m(c,"iterate",f?a:o),{next(){const{value:e,done:t}=d.next();return t?{value:e,done:t}:{value:l?[p(e[0]),p(e[1])]:p(e),done:t}},[Symbol.iterator](){return this}}}}function G(e){return function(...t){{const i=t[0]?`on key "${t[0]}" `:"";console.warn(`${n.capitalize(e)} operation ${i}failed: target is readonly.`,pe(this))}return"delete"!==e&&this}}var U={get(e){return W(this,e)},get size(){return $(this)},has:I,add:N,set:H,delete:F,clear:V,forEach:B(!1,!1)},Y={get(e){return W(this,e,!1,!0)},get size(){return $(this)},has:I,add:N,set:H,delete:F,clear:V,forEach:B(!1,!0)},X={get(e){return W(this,e,!0)},get size(){return $(this,!0)},has(e){return I.call(this,e,!0)},add:G("add"),set:G("set"),delete:G("delete"),clear:G("clear"),forEach:B(!0,!1)},K={get(e){return W(this,e,!0,!0)},get size(){return $(this,!0)},has(e){return I.call(this,e,!0)},add:G("add"),set:G("set"),delete:G("delete"),clear:G("clear"),forEach:B(!0,!0)};function J(e,t){const i=t?e?K:Y:e?X:U;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(n.hasOwn(i,r)&&r in t?i:t,r,o)}["keys","values","entries",Symbol.iterator].forEach((e=>{U[e]=q(e,!1,!1),X[e]=q(e,!0,!1),Y[e]=q(e,!1,!0),K[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,i){const r=pe(i);if(r!==i&&t.call(e,r)){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 ie=new WeakMap,re=new WeakMap,oe=new WeakMap,ae=new WeakMap;function se(e){return e&&e.__v_isReadonly?e:ue(e,!1,C,Z,ie)}function ce(e){return ue(e,!0,M,ee,oe)}function ue(e,t,i,r,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?r:i);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 de(e){return le(e)||fe(e)}function pe(e){return e&&pe(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(pe(this),"get","value"),this._value}set value(e){n.hasChanged(pe(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:he(e),g(pe(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,i)=>{const r=e[t];return me(r)&&!me(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};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,i;return n.isFunction(e)?(t=e,i=()=>{console.warn("Write operation failed: computed value is readonly")}):(t=e.get,i=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(pe(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=pe(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),m(e,"get","value"),e._value}set value(e){this._setter(e)}}(t,i,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=p,e.isProxy=de,e.isReactive=le,e.isReadonly=fe,e.isRef=me,e.markRaw=function(e){return n.def(e,"__v_skip",!0),e},e.pauseTracking=d,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,j,Q,re)},e.shallowReadonly=function(e){return ue(e,!0,L,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=pe,e.toRef=be,e.toRefs=function(e){de(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(pe(e),"set","value",e.value)},e.unref=ve})),A=E(((e,t)=>{t.exports=T()})),C=!1,M=!1,j=[];function L(e){!function(e){j.includes(e)||j.push(e);M||C||(C=!0,queueMicrotask(R))}(e)}function P(e){let t=j.indexOf(e);-1!==t&&j.splice(t,1)}function R(){C=!1,M=!0;for(let e=0;e{(void 0===t||t.includes(n))&&(i.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var F=new MutationObserver(J),V=!1;function B(){F.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),V=!0}function q(){(G=G.concat(F.takeRecords())).length&&!U&&(U=!0,queueMicrotask((()=>{J(G),G.length=0,U=!1}))),F.disconnect(),V=!1}var G=[],U=!1;function Y(e){if(!V)return e();q();let t=e();return B(),t}var X=!1,K=[];function J(e){if(X)return void(K=K.concat(e));let t=[],n=[],i=new Map,r=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=()=>{i.has(t)||i.set(t,[]),i.get(t).push({name:n,value:t.getAttribute(n)})},c=()=>{r.has(t)||r.set(t,[]),r.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(c(),s()):c()}r.forEach(((e,t)=>{H(t,e)})),i.forEach(((e,t)=>{W.forEach((n=>n(t,e)))}));for(let e of n)if(!t.includes(e)&&(I.forEach((t=>t(e))),e._x_cleanups))for(;e._x_cleanups.length;)e._x_cleanups.pop()();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,$.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,i=null,r=null}function Z(e){return ne(te(e))}function Q(e,t,n){return e._x_dataStack=[t,...te(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function ee(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach((([e,t])=>{n[e]=t}))}function te(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?te(e.host):e.parentNode?te(e.parentNode):[]}function ne(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,i)=>(e.find((e=>{if(e.hasOwnProperty(i)){let n=Object.getOwnPropertyDescriptor(e,i);if(n.get&&n.get._x_alreadyBound||n.set&&n.set._x_alreadyBound)return!0;if((n.get||n.set)&&n.enumerable){let r=n.get,o=n.set,a=n;r=r&&r.bind(t),o=o&&o.bind(t),r&&(r._x_alreadyBound=!0),o&&(o._x_alreadyBound=!0),Object.defineProperty(e,i,{...a,get:r,set:o})}return!0}return!1}))||{})[i],set:(t,n,i)=>{let r=e.find((e=>e.hasOwnProperty(n)));return r?r[n]=i:e[e.length-1][n]=i,!0}});return t}function ie(e){let t=(n,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([r,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;let s=""===i?r:`${i}.${r}`;var c;"object"==typeof o&&null!==o&&o._x_interceptor?n[r]=o.initialize(e,s,r):"object"!=typeof(c=o)||Array.isArray(c)||null===c||o===n||o instanceof Element||t(o,s)}))};return t(e)}function re(e,t=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,i){return e(this.initialValue,(()=>function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}(t,n)),(e=>oe(t,n,e)),n,i)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(i,r,o)=>{let a=e.initialize(i,r,o);return n.initialValue=a,t(i,r,o)}}else n.initialValue=e;return n}}function oe(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]]={}),oe(e[t[0]],t.slice(1),n)}e[t[0]]=n}var ae={};function se(e,t){ae[e]=t}function ce(e,t){return Object.entries(ae).forEach((([n,i])=>{Object.defineProperty(e,`$${n}`,{get(){let[e,n]=ke(t);return e={interceptor:re,...e},N(t,n),i(t,e)},enumerable:!1})})),e}function ue(e,t,n,...i){try{return n(...i)}catch(n){le(n,e,t)}}function le(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 fe(e,t,n={}){let i;return de(e,t)((e=>i=e),n),i}function de(...e){return pe(...e)}var pe=he;function he(e,t){let n={};ce(n,e);let i=[n,...te(e)];if("function"==typeof t)return function(e,t){return(n=(()=>{}),{scope:i={},params:r=[]}={})=>{ge(n,t.apply(ne([i,...e]),r))}}(i,t);let r=function(e,t,n){let i=function(e,t){if(me[e])return me[e];let n=Object.getPrototypeOf((async function(){})).constructor,i=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(() => { ${e} })()`:e;let r=(()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`)}catch(n){return le(n,t,e),Promise.resolve()}})();return me[e]=r,r}(t,n);return(r=(()=>{}),{scope:o={},params:a=[]}={})=>{i.result=void 0,i.finished=!1;let s=ne([o,...e]);if("function"==typeof i){let e=i(i,s).catch((e=>le(e,n,t)));i.finished?(ge(r,i.result,s,a,n),i.result=void 0):e.then((e=>{ge(r,e,s,a,n)})).catch((e=>le(e,n,t))).finally((()=>i.result=void 0))}}}(i,t,e);return ue.bind(null,e,t,r)}var me={};function ge(e,t,n,i,r){if("function"==typeof t){let o=t.apply(n,i);o instanceof Promise?o.then((t=>ge(e,t,n,i))).catch((e=>le(e,r,t))):e(o)}else e(t)}var ve="x-";function ye(e=""){return ve+e}var be={};function we(e,t){be[e]=t}function xe(e,t,n){let i={},r=Array.from(t).map(Te(((e,t)=>i[e]=t))).filter(Me).map(function(e,t){return({name:n,value:i})=>{let r=n.match(je()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:r?r[1]:null,value:o?o[1]:null,modifiers:a.map((e=>e.replace(".",""))),expression:i,original:s}}}(i,n)).sort(Re);return r.map((t=>function(e,t){let n=()=>{},i=be[t.type]||n,[r,o]=ke(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,o);let a=()=>{e._x_ignore||e._x_ignoreSelf||(i.inline&&i.inline(e,t,r),i=i.bind(i,e,t,r),_e?Oe.get(Ee).push(i):i())};return a.runCleanups=o,a}(e,t)))}var _e=!1,Oe=new Map,Ee=Symbol();function ke(e){let t=[],[n,i]=function(e){let t=()=>{};return[n=>{let i=m(n);e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(i),t=()=>{void 0!==i&&(e._x_effects.delete(i),g(i))}},()=>{t()}]}(e);t.push(i);return[{Alpine:bt,effect:n,cleanup:e=>t.push(e),evaluateLater:de.bind(de,e),evaluate:fe.bind(fe,e)},()=>t.forEach((e=>e()))]}var Se=(e,t)=>({name:n,value:i})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:i});function Te(e=(()=>{})){return({name:t,value:n})=>{let{name:i,value:r}=Ae.reduce(((e,t)=>t(e)),{name:t,value:n});return i!==t&&e(i,t),{name:i,value:r}}}var Ae=[];function Ce(e){Ae.push(e)}function Me({name:e}){return je().test(e)}var je=()=>new RegExp(`^${ve}([^:^.]+)\\b`);var Le="DEFAULT",Pe=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Le,"teleport","element"];function Re(e,t){let n=-1===Pe.indexOf(e.type)?Le:e.type,i=-1===Pe.indexOf(t.type)?Le:t.type;return Pe.indexOf(n)-Pe.indexOf(i)}function De(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}var ze=[],We=!1;function Ie(e){ze.push(e),queueMicrotask((()=>{We||setTimeout((()=>{$e()}))}))}function $e(){for(We=!1;ze.length;)ze.shift()()}function Ne(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>Ne(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let i=e.firstElementChild;for(;i;)Ne(i,t),i=i.nextElementSibling}function He(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Fe=[],Ve=[];function Be(){return Fe.map((e=>e()))}function qe(){return Fe.concat(Ve).map((e=>e()))}function Ge(e){Fe.push(e)}function Ue(e){Ve.push(e)}function Ye(e,t=!1){return Xe(e,(e=>{if((t?qe():Be()).some((t=>e.matches(t))))return!0}))}function Xe(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return Xe(e.parentElement,t)}}function Ke(e,t=Ne){!function(e){_e=!0;let t=Symbol();Ee=t,Oe.set(t,[]);let n=()=>{for(;Oe.get(t).length;)Oe.get(t).shift()();Oe.delete(t)};e(n),_e=!1,n()}((()=>{t(e,((e,t)=>{xe(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Je(e,t){return Array.isArray(t)?Ze(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),i=Object.entries(t).flatMap((([e,t])=>!!t&&n(e))).filter(Boolean),r=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),o=[],a=[];return r.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),a.push(t))})),i.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?Je(e,t()):Ze(e,t)}function Ze(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 Qe(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach((([t,i])=>{n[t]=e.style[t],t.startsWith("--")||(t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),e.style.setProperty(t,i)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{Qe(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 et(e,t=(()=>{})){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function tt(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=(()=>{}),i=(()=>{})){it(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,i)},out(n=(()=>{}),i=(()=>{})){it(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,i)}})}function nt(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:nt(t)}function it(e,t,{during:n,start:i,end:r}={},o=(()=>{}),a=(()=>{})){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(i).length&&0===Object.keys(r).length)return o(),void a();let s,c,u;!function(e,t){let n,i,r,o=et((()=>{Y((()=>{n=!0,i||t.before(),r||(t.end(),$e()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:et((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},Y((()=>{t.start(),t.during()})),We=!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",""))),Y((()=>{t.before()})),i=!0,requestAnimationFrame((()=>{n||(Y((()=>{t.end()})),$e(),setTimeout(e._x_transitioning.finish,o+a),r=!0)}))}))}(e,{start(){s=t(e,i)},during(){c=t(e,n)},before:o,end(){s(),u=t(e,r)},after:a,cleanup(){c(),u()}})}function rt(e,t,n){if(-1===e.indexOf(t))return n;const i=e[e.indexOf(t)+1];if(!i)return n;if("scale"===t&&isNaN(i))return n;if("duration"===t){let e=i.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[i,e[e.indexOf(t)+2]].join(" "):i}we("transition",((e,{value:t,modifiers:n,expression:i},{evaluate:r})=>{"function"==typeof i&&(i=r(i)),i?function(e,t,n){tt(e,Je,""),{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,i,t):function(e,t,n){tt(e,Qe);let i=!t.includes("in")&&!t.includes("out")&&!n,r=i||t.includes("in")||["enter"].includes(n),o=i||t.includes("out")||["leave"].includes(n);t.includes("in")&&!i&&(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?rt(t,"scale",95)/100:1,f=rt(t,"delay",0),d=rt(t,"origin","center"),p="opacity, transform",h=rt(t,"duration",150)/1e3,m=rt(t,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";r&&(e._x_transition.enter.during={transformOrigin:d,transitionDelay:f,transitionProperty:p,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:d,transitionDelay:f,transitionProperty:p,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,i){let r=()=>{"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):r():e._x_transition?e._x_transition.in(n):r():(e._x_hidePromise=e._x_transition?new Promise(((t,n)=>{e._x_transition.out((()=>{}),(()=>t(i))),e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(i),queueMicrotask((()=>{let t=nt(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 ot=!1;function at(e,t=(()=>{})){return(...n)=>ot?t(...n):e(...n)}function st(e,t,n,i=[]){switch(e._x_bindings||(e._x_bindings=h({})),e._x_bindings[t]=n,t=i.includes("camel")?t.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase())):t){case"value":!function(e,t){if("radio"===e.type)void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked=ct(e.value,t));else if("checkbox"===e.type)Number.isInteger(t)?e.value=t:Number.isInteger(t)||Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some((t=>ct(t,e.value))):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName)!function(e,t){const n=[].concat(t).map((e=>e+""));Array.from(e.options).forEach((e=>{e.selected=n.includes(e.value)}))}(e,t);else{if(e.value===t)return;e.value=t}}(e,n);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles();e._x_undoAddedStyles=Qe(e,t)}(e,n);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Je(e,t)}(e,n);break;default:!function(e,t,n){[null,void 0,!1].includes(n)&&function(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}(t)?e.removeAttribute(t):(ut(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}(e,t,n)}}function ct(e,t){return e==t}function ut(e){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function lt(e,t){var n;return function(){var i=this,r=arguments,o=function(){n=null,e.apply(i,r)};clearTimeout(n),n=setTimeout(o,t)}}function ft(e,t){let n;return function(){let i=this,r=arguments;n||(e.apply(i,r),n=!0,setTimeout((()=>n=!1),t))}}var dt={},pt=!1;var ht={};var mt={};var gt,vt,yt={get reactive(){return h},get release(){return g},get effect(){return m},get raw(){return v},version:"3.9.1",flushAndStopDeferringMutations:function(){X=!1,J(K),K=[]},disableEffectScheduling:function(e){D=!1,e(),D=!0},setReactivityEngine:function(e){h=e.reactive,g=e.release,m=t=>e.effect(t,{scheduler:e=>{D?L(e):e()}}),v=e.raw},closestDataStack:te,skipDuringClone:at,addRootSelector:Ge,addInitSelector:Ue,addScopeToNode:Q,deferMutations:function(){X=!0},mapAttributes:Ce,evaluateLater:de,setEvaluator:function(e){pe=e},mergeProxies:ne,findClosest:Xe,closestRoot:Ye,interceptor:re,transition:it,setStyles:Qe,mutateDom:Y,directive:we,throttle:ft,debounce:lt,evaluate:fe,initTree:Ke,nextTick:Ie,prefixed:ye,prefix:function(e){ve=e},plugin:function(e){e(bt)},magic:se,store:function(e,t){if(pt||(dt=h(dt),pt=!0),void 0===t)return dt[e];dt[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&dt[e].init(),ie(dt[e])},start:function(){var e;document.body||He("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `