New `mobile` Django app mounted at /app/ -- the installed PWA for Member mode (M1-M7, see design_handoff_rosterchief_platform/README.md). Coach mode (C1-C6) is a later phase and has no routes yet. Foundation pieces: - assets/mobile.css: Tailwind v4 theme reusing management.css's design tokens (same per-club --tenant-* theming pattern), plus the ice/coach accent and mobile's 14px card radius. - PushSubscription model + pywebpush-based sender (mobile/services/push.py), wired to notifications.Notification via a post_save signal so the existing notification system gains a push channel without knowing about PWAs itself. - Per-club manifest.webmanifest + service worker (served at /app/sw.js) + a server-rendered fallback home-screen icon (club initials on secondary_color) for clubs without an uploaded logo -- confirmed with the user as the fallback, never a generic RosterChief mark. - App shell (base.html): navy header, person switcher (every child a signed-in parent manages, plus "Me"), bottom tab bar, safe-area insets. Vendored htmx + Alpine for the screens built on top of it. - Placeholder views/routes for all seven M1-M7 screens so the shell is fully wired end-to-end before each screen is built out individually. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ECGMEwrc2k4D8VQuwjstj9
22 lines
53 KiB
JavaScript
22 lines
53 KiB
JavaScript
(()=>{var _t=!1,gt=!1,$=[],xt=-1,je=!1,yt=!1;function mr(e){ri(e)}function _r(){yt=!0}function gr(){yt=!1,yr()}function ri(e){$.includes(e)||($.push(e),e._x_schedulerPriority!==void 0&&(je=!0)),yr()}function xr(e){let t=$.indexOf(e);t!==-1&&t>xt&&$.splice(t,1)}function yr(){if(!gt&&!_t){if(yt)return;_t=!0,queueMicrotask(ni)}}function ni(){_t=!1,gt=!0;for(let e=0;e<$.length;e++)je&&ii(e),$[e](),xt=e;$.length=0,xt=-1,je=!1,gt=!1}function ii(e){let t=new Map,r=$.slice(e).sort((n,i)=>oi(n,i,t));for(let n=0;n<r.length;n++)$[e+n]=r[n];je=!1}function oi(e,t,r){return mt(e)?mt(t)?hr(e._x_schedulerPriority.el,r)-hr(t._x_schedulerPriority.el,r)||e._x_schedulerPriority.order-t._x_schedulerPriority.order:-1:mt(t)?1:0}function mt(e){return e._x_schedulerPriority!==void 0}function hr(e,t){if(t.has(e))return t.get(e);let r=0,n=e;for(;e;)r++,e._x_teleportBack?e=e._x_teleportBack:typeof ShadowRoot=="function"&&e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentElement;return t.set(n,r),r}var R,P,B,Et,si=0,bt=!0;function br(e){bt=!1,e(),bt=!0}function Er(e){R=e.reactive,B=e.release,P=t=>e.effect(t,{scheduler:r=>{bt?mr(r):r()}}),Et=e.raw}function vt(e){P=e}function vr(e){let t=()=>{};return[(n,i)=>{let o=i?.priority==="structural"?si++:void 0,s=P(n);return o!==void 0&&s!==void 0&&(s._x_schedulerPriority={el:e,order:o}),e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(a=>a())}),e._x_effects.add(s),t=()=>{s!==void 0&&(e._x_effects.delete(s),B(s))},s},()=>{t()}]}function Fe(e,t){let r=!0,n,i,o=P(()=>{let s=e(),a=JSON.stringify(s);if(!r&&(typeof s=="object"||s!==n)){let c=typeof n=="object"?JSON.parse(i):n;queueMicrotask(()=>{t(s,c)})}n=s,i=a,r=!1});return()=>B(o)}async function wr(e){_r();try{await e(),await Promise.resolve()}finally{gr()}}var Sr=[],Ar=[],Or=[];function Tr(e){Or.push(e)}function ce(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Ar.push(t))}function $e(e){Sr.push(e)}function Be(e,t,r){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(r)}function wt(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([r,n])=>{(t===void 0||t.includes(r))&&(n.forEach(i=>i()),delete e._x_attributeCleanups[r])})}function Nr(e){for(e._x_effects?.forEach(xr);e._x_cleanups?.length;)e._x_cleanups.pop()()}var St=new MutationObserver(Nt),At=!1;function Ee(){St.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),At=!0}function Ot(){ai(),St.disconnect(),At=!1}var be=[];function ai(){let e=St.takeRecords();be.push(()=>e.length>0&&Nt(e));let t=be.length;queueMicrotask(()=>{if(be.length===t)for(;be.length>0;)be.shift()()})}function h(e){if(!At)return e();Ot();let t=e();return Ee(),t}var Tt=!1,Ve=[];function Cr(){Tt=!0}function Rr(){Tt=!1,Nt(Ve),Ve=[]}function Nt(e){if(Tt){Ve=Ve.concat(e);return}let t=[],r=new Set,n=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&(e[o].type==="childList"&&(e[o].removedNodes.forEach(s=>{s.nodeType===1&&s._x_marker&&r.add(s)}),e[o].addedNodes.forEach(s=>{if(s.nodeType===1){if(r.has(s)){r.delete(s);return}s._x_marker||t.push(s)}})),e[o].type==="attributes")){let s=e[o].target,a=e[o].attributeName,c=e[o].oldValue,l=()=>{n.has(s)||n.set(s,[]),n.get(s).push({name:a,value:s.getAttribute(a)})},f=()=>{i.has(s)||i.set(s,[]),i.get(s).push(a)};s.hasAttribute(a)&&c===null?l():s.hasAttribute(a)?(f(),l()):f()}i.forEach((o,s)=>{wt(s,o)}),n.forEach((o,s)=>{Sr.forEach(a=>a(s,o))});for(let o of r)t.some(s=>s.contains(o))||Ar.forEach(s=>s(o));for(let o of t)o.isConnected&&Or.forEach(s=>s(o));t=null,r=null,n=null,i=null}function He(e){return L(H(e))}function k(e,t,r){return e._x_dataStack=[t,...H(r||e)],()=>{e._x_dataStack=e._x_dataStack.filter(n=>n!==t)}}function H(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?H(e.host):e.parentNode?H(e.parentNode):[]}function L(e){return new Proxy({objects:e},ci)}function Dr(e,t){return e===null||e===Object.prototype?null:Object.prototype.hasOwnProperty.call(e,t)?e:Dr(Object.getPrototypeOf(e),t)}var ci={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(r=>Object.prototype.hasOwnProperty.call(r,t)||Reflect.has(r,t))},get({objects:e},t,r){return t=="toJSON"?li:Reflect.get(e.find(n=>Reflect.has(n,t))||{},t,r)},set({objects:e},t,r,n){let i;for(let s of e)if(i=Dr(s,t),i)break;i||(i=e[e.length-1]);let o=Object.getOwnPropertyDescriptor(i,t);return o?.set&&o?.get?o.set.call(n,r)||!0:Reflect.set(i,t,r)}};function li(){return Reflect.ownKeys(this).reduce((t,r)=>(t[r]=Reflect.get(this,r),t),{})}function le(e,t=()=>{}){let r=i=>typeof i=="object"&&!Array.isArray(i)&&i!==null,n=(i,o="")=>{Object.entries(Object.getOwnPropertyDescriptors(i)).forEach(([s,{value:a,enumerable:c}])=>{if(c===!1||a===void 0||typeof a=="object"&&a!==null&&a.__v_skip)return;let l=o===""?s:`${o}.${s}`;typeof a=="object"&&a!==null&&a._x_interceptor?i[s]=a.initialize(e,l,s,t):r(a)&&a!==i&&!(a instanceof Element)&&n(a,l)})};return n(e)}function Ue(e,t=()=>{}){let r={initialValue:void 0,_x_interceptor:!0,initialize(n,i,o,s){return e(this.initialValue,()=>fi(n,i),a=>Ct(n,i,a),i,o,s)}};return t(r),n=>{if(typeof n=="object"&&n!==null&&n._x_interceptor){let i=r.initialize.bind(r);r.initialize=(o,s,a,c)=>{let l=n.initialize(o,s,a,c);return r.initialValue=l,i(o,s,a,c)}}else r.initialValue=n;return r}}function fi(e,t){return t.split(".").reduce((r,n)=>r[n],e)}function Ct(e,t,r){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=r;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),Ct(e[t[0]],t.slice(1),r)}}var Mr={};function b(e,t){Mr[e]=t}function q(e,t){let r=ui(t);return Object.entries(Mr).forEach(([n,i])=>{Object.defineProperty(e,`$${n}`,{get(){return i(t,r)},enumerable:!1})}),e}function ui(e){let[t,r]=Rt(e),n={interceptor:Ue,...t};return ce(e,r),n}function Pr(e,t,r,...n){try{return r(...n)}catch(i){fe(i,e,t)}}function fe(...e){return kr(...e)}var kr=pi;function Lr(e){kr=e}function pi(e,t,r=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:r}),console.warn(`Alpine Expression Error: ${e.message}
|
|
|
|
${r?'Expression: "'+r+`"
|
|
|
|
`:""}`,t),setTimeout(()=>{throw e},0)}var ue=!0;function ze(e){let t=ue;ue=!1;let r=e();return ue=t,r}function D(e,t,r={}){let n;return x(e,t)(i=>n=i,r),n}function x(...e){return Ir(...e)}var Ir=()=>{};function jr(e){Ir=e}var Fr;function Vr(e){Fr=e}function $r(e,t){let r={};q(r,e);let n=[r,...H(e)],i=typeof t=="function"?di(n,t):mi(n,t,e);return Pr.bind(null,e,t,i)}function di(e,t){return(r=()=>{},{scope:n={},params:i=[],context:o}={})=>{if(!ue){ve(r,t,L([n,...e]),i);return}let s=t.apply(L([n,...e]),i);ve(r,s)}}var Dt={};function hi(e,t){if(Dt[e])return Dt[e];let r=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,o=(()=>{try{let s=new r(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${e}`}),s}catch(s){return fe(s,t,e),Promise.resolve()}})();return Dt[e]=o,o}function mi(e,t,r){let n=hi(t,r);return(i=()=>{},{scope:o={},params:s=[],context:a}={})=>{n.result=void 0,n.finished=!1;let c=L([o,...e]);if(typeof n=="function"){let l=n.call(a,n,c).catch(f=>fe(f,r,t));n.finished?(ve(i,n.result,c,s,r),n.result=void 0):l.then(f=>{ve(i,f,c,s,r)}).catch(f=>fe(f,r,t)).finally(()=>n.result=void 0)}}}function ve(e,t,r,n,i){if(ue&&typeof t=="function"){let o=t.apply(r,n);o instanceof Promise?o.then(s=>ve(e,s,r,n)).catch(s=>fe(s,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}function Br(...e){return Fr(...e)}function Hr(e,t,r={}){let n={};q(n,e);let i=[n,...H(e)],o=L([r.scope??{},...i]),s=r.params??[];if(t.includes("await")){let a=Object.getPrototypeOf(async function(){}).constructor,c=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(async()=>{ ${t} })()`:t;return new a(["scope"],`with (scope) { let __result = ${c}; return __result }`).call(r.context,o)}else{let a=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(()=>{ ${t} })()`:t,l=new Function(["scope"],`with (scope) { let __result = ${a}; return __result }`).call(r.context,o);return typeof l=="function"&&ue?l.apply(o,s):l}}var kt="x-";function N(e=""){return kt+e}function Ur(e){kt=e}var We={};function d(e,t){return We[e]=t,{before(r){if(!We[r]){console.warn(String.raw`Cannot find directive \`${r}\`. \`${e}\` will use the default order of execution`);return}let n=X.indexOf(r);X.splice(n>=0?n:X.indexOf("DEFAULT"),0,e)}}}function zr(e){return Object.keys(We).includes(e)}function Se(e,t,r){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([a,c])=>({name:a,value:c})),s=Lt(o);o=o.map(a=>s.find(c=>c.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(o)}let n={};return t.map(qr((o,s)=>n[o]=s)).filter(Yr).map(gi(n,r)).sort(xi).map(o=>_i(e,o))}function Lt(e){return Array.from(e).map(qr()).filter(t=>!Yr(t))}var Mt=!1,we=new Map,Wr=Symbol();function Kr(e){Mt=!0;let t=Symbol();Wr=t,we.set(t,[]);let r=()=>{for(;we.get(t).length;)we.get(t).shift()();we.delete(t)},n=()=>{Mt=!1,r()};e(r),n()}function Rt(e){let t=[],r=a=>t.push(a),[n,i]=vr(e);return t.push(i),[{Alpine:U,effect:n,cleanup:r,evaluateLater:x.bind(x,e),evaluate:D.bind(D,e)},()=>t.forEach(a=>a())]}function _i(e,t){let r=()=>{},n=We[t.type]||r,[i,o]=Rt(e);Be(e,t.original,o);let s=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,i),n=n.bind(n,e,t,i),Mt?we.get(Wr).push(n):n())};return s.runCleanups=o,s}var Ke=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),qe=e=>e;function qr(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=Gr.reduce((o,s)=>s(o),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:i}}}var Gr=[];function pe(e){Gr.push(e)}function Yr({name:e}){return Jr().test(e)}var Jr=()=>new RegExp(`^${kt}([^:^.]+)\\b`);function gi(e,t){return({name:r,value:n})=>{r===n&&(n="");let i=r.match(Jr()),o=r.match(/:([a-zA-Z0-9\-_:]+)/),s=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[r]||r;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:s.map(c=>c.replace(".","")),expression:n,original:a}}}var Pt="DEFAULT",X=["ignore","ref","id","data","anchor","bind","init","for","model","modelable","transition","show","if",Pt,"teleport"];function xi(e,t){let r=X.indexOf(e.type)===-1?Pt:e.type,n=X.indexOf(t.type)===-1?Pt:t.type;return X.indexOf(r)-X.indexOf(n)}function Z(e,t,r={},n={}){return e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0,...n}))}function I(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>I(i,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)I(n,t,!1),n=n.nextElementSibling}function w(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Xr=!1;function Zr(){Xr&&w("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Xr=!0,document.body||w("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),Z(document,"alpine:init"),Z(document,"alpine:initializing"),Ee(),Tr(t=>S(t,I)),ce(t=>C(t)),$e((t,r)=>{Se(t,r).forEach(n=>n())});let e=t=>!Q(t.parentElement,!0);Array.from(document.querySelectorAll(tn().join(","))).filter(e).forEach(t=>{S(t)}),Z(document,"alpine:initialized"),setTimeout(()=>{bi()})}var It=[],Qr=[];function en(){return It.map(e=>e())}function tn(){return It.concat(Qr).map(e=>e())}function Ge(e){It.push(e)}function Ye(e){Qr.push(e)}function Q(e,t=!1){return T(e,r=>{if((t?tn():en()).some(i=>r.matches(i)))return!0})}function T(e,t){if(e){if(t(e))return e;if(e._x_teleportBack)return T(e._x_teleportBack,t);if(e.parentNode instanceof ShadowRoot)return T(e.parentNode.host,t);if(e.parentElement)return T(e.parentElement,t)}}function rn(e){return en().some(t=>e.matches(t))}var nn=[];function on(e){nn.push(e)}var yi=1;function S(e,t=I,r=()=>{}){T(e,n=>n._x_ignore)||Kr(()=>{t(e,(n,i)=>{n._x_marker||(r(n,i),nn.forEach(o=>o(n,i)),Se(n,n.attributes).forEach(o=>o()),n._x_ignore||(n._x_marker=yi++),n._x_ignore&&i())})})}function C(e,t=I){t(e,r=>{Nr(r),wt(r),delete r._x_marker})}function bi(){[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([t,r,n])=>{zr(r)||n.some(i=>{if(document.querySelector(i))return w(`found "${i}", but missing ${t} plugin`),!0})})}var jt=[],Ft=!1;function de(e=()=>{}){return queueMicrotask(()=>{Ft||setTimeout(()=>{Je()})}),new Promise(t=>{jt.push(()=>{e(),t()})})}function Je(){for(Ft=!1;jt.length;)jt.shift()()}function sn(){Ft=!0}function Ae(e,t){return Array.isArray(t)?an(e,t.join(" ")):typeof t=="object"&&t!==null?Ei(e,t):typeof t=="function"?Ae(e,t()):an(e,t)}function Vt(e){return e.split(/\s/).filter(Boolean)}function an(e,t){let r=i=>Vt(i).filter(o=>!e.classList.contains(o)).filter(Boolean),n=i=>(e.classList.add(...i),()=>{e.classList.remove(...i)});return t=t===!0?t="":t||"",n(r(t))}function Ei(e,t){let r=Object.entries(t).flatMap(([s,a])=>a?Vt(s):!1).filter(Boolean),n=Object.entries(t).flatMap(([s,a])=>a?!1:Vt(s)).filter(Boolean),i=[],o=[];return n.forEach(s=>{e.classList.contains(s)&&(e.classList.remove(s),o.push(s))}),r.forEach(s=>{e.classList.contains(s)||(e.classList.add(s),i.push(s))}),()=>{o.forEach(s=>e.classList.add(s)),i.forEach(s=>e.classList.remove(s))}}function ee(e,t){return typeof t=="object"&&t!==null?vi(e,t):wi(e,t)}function vi(e,t){let r={};return Object.entries(t).forEach(([n,i])=>{r[n]=e.style[n],n.startsWith("--")||(n=Si(n)),e.style.setProperty(n,i)}),setTimeout(()=>{e.style.length===0&&e.removeAttribute("style")}),()=>{ee(e,r)}}function wi(e,t){let r=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",r||"")}}function Si(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Oe(e,t=()=>{}){let r=!1;return function(){r?t.apply(this,arguments):(r=!0,e.apply(this,arguments))}}d("transition",(e,{value:t,modifiers:r,expression:n},{evaluate:i})=>{typeof n=="function"&&(n=i(n)),n!==!1&&(!n||typeof n=="boolean"?Oi(e,r,t):Ai(e,n,t))});function Ai(e,t,r){cn(e,Ae,""),{enter:i=>{e._x_transition.enter.during=i},"enter-start":i=>{e._x_transition.enter.start=i},"enter-end":i=>{e._x_transition.enter.end=i},leave:i=>{e._x_transition.leave.during=i},"leave-start":i=>{e._x_transition.leave.start=i},"leave-end":i=>{e._x_transition.leave.end=i}}[r](t)}function Oi(e,t,r){cn(e,ee);let n=!t.includes("in")&&!t.includes("out")&&!r,i=n||t.includes("in")||["enter"].includes(r),o=n||t.includes("out")||["leave"].includes(r);t.includes("in")&&!n&&(t=t.filter((v,ae)=>ae<t.indexOf("out"))),t.includes("out")&&!n&&(t=t.filter((v,ae)=>ae>t.indexOf("out")));let s=!t.includes("opacity")&&!t.includes("scale"),a=s||t.includes("opacity"),c=s||t.includes("scale"),l=a?0:1,f=c?Te(t,"scale",95)/100:1,u=Te(t,"delay",0)/1e3,g=Te(t,"origin","center"),y="opacity, transform",V=Te(t,"duration",150)/1e3,p=Te(t,"duration",75)/1e3,E="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:g,transitionDelay:`${u}s`,transitionProperty:y,transitionDuration:`${V}s`,transitionTimingFunction:E},e._x_transition.enter.start={opacity:l,transform:`scale(${f})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(e._x_transition.leave.during={transformOrigin:g,transitionDelay:`${u}s`,transitionProperty:y,transitionDuration:`${p}s`,transitionTimingFunction:E},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:l,transform:`scale(${f})`})}function cn(e,t,r={}){e._x_transition||(e._x_transition={enter:{during:r,start:r,end:r},leave:{during:r,start:r,end:r},in(n=()=>{},i=()=>{}){Xe(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,i)},out(n=()=>{},i=()=>{}){Xe(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,i)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,r,n){let i=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>i(r);if(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(r):o():e._x_transition?e._x_transition.in(r):o();return}e._x_hidePromise=e._x_transition?new Promise((s,a)=>{e._x_transition.out(()=>{},()=>s(n)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(n),queueMicrotask(()=>{let s=ln(e);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(e)):i(()=>{let a=c=>{let l=Promise.all([c._x_hidePromise,...(c._x_hideChildren||[]).map(a)]).then(([f])=>f?.());return delete c._x_hidePromise,delete c._x_hideChildren,l};a(e).catch(c=>{if(!c.isFromCancelledTransition)throw c})})})};function ln(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:ln(t)}function Xe(e,t,{during:r,start:n,end:i}={},o=()=>{},s=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),Object.keys(r).length===0&&Object.keys(n).length===0&&Object.keys(i).length===0){o(),s();return}let a,c,l;Ti(e,{start(){a=t(e,n)},during(){c=t(e,r)},before:o,end(){a(),l=t(e,i)},after:s,cleanup(){c(),l()}})}function Ti(e,t){let r,n,i,o=Oe(()=>{h(()=>{r=!0,n||t.before(),i||(t.end(),Je()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:Oe(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},h(()=>{t.start(),t.during()}),sn(),requestAnimationFrame(()=>{if(r)return;let s=Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(e).animationDuration.replace("s",""))*1e3),h(()=>{t.before()}),n=!0,requestAnimationFrame(()=>{r||(h(()=>{t.end()}),Je(),setTimeout(e._x_transitioning.finish,s+a),i=!0)})})}function Te(e,t,r){if(e.indexOf(t)===-1)return r;let n=e[e.indexOf(t)+1];if(!n||t==="scale"&&isNaN(n))return r;if(t==="duration"||t==="delay"){let i=n.match(/([0-9]+)ms/);if(i)return i[1]}return t==="origin"&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[n,e[e.indexOf(t)+2]].join(" "):n}var j=!1;function A(e,t=()=>{}){return(...r)=>j?t(...r):e(...r)}function fn(e){return(...t)=>j&&e(...t)}var un=[];function G(e){un.push(e)}function pn(e,t){un.forEach(r=>r(e,t)),j=!0,hn(()=>{S(t,(r,n)=>{n(r,()=>{})})}),j=!1}var Ze=!1;function dn(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),j=!0,Ze=!0,hn(()=>{Ni(t)}),j=!1,Ze=!1}function Ni(e){let t=!1;S(e,(n,i)=>{I(n,(o,s)=>{if(t&&rn(o))return s();t=!0,i(o,s)})})}function hn(e){let t=P;vt((r,n)=>{let i=t(r);return B(i),()=>{}}),e(),vt(t)}function Ne(e,t,r,n=[]){switch(e._x_bindings||(e._x_bindings=R({})),e._x_bindings[t]=r,t=n.includes("camel")?Ii(t):t,t){case"value":Ci(e,r);break;case"style":Di(e,r);break;case"class":Ri(e,r);break;case"selected":case"checked":Mi(e,t,r);break;default:$t(e,t,r);break}}function Ci(e,t){if(Qe(e))e.attributes.value===void 0&&(e.value=t);else if(Re(e))Number.isInteger(t)?e.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?e.value=String(t):Array.isArray(t)?e.checked=t.some(r=>ji(r,e.value)):e.checked=!!t;else if(e.tagName==="SELECT")Li(e,t);else if(e.tagName==="OPTION")$t(e,"value",t);else{if(e.value===t&&(typeof t!="object"||t===null))return;e.value=t===void 0?"":t}}function Ri(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=Ae(e,t)}function Di(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=ee(e,t)}function Mi(e,t,r){$t(e,t,r),ki(e,t,r)}function $t(e,t,r){[null,void 0,!1].includes(r)&&Vi(t)?e.removeAttribute(t):(mn(t)&&(r=t),$i(r)&&(r=JSON.stringify(r)),Pi(e,t,r))}function Pi(e,t,r){e.getAttribute(t)!=r&&e.setAttribute(t,r)}function ki(e,t,r){e[t]!==r&&(e[t]=r)}function Li(e,t){let r=[].concat(t).map(n=>n+"");Array.from(e.options).forEach(n=>{n.selected=r.includes(n.value)})}function Ii(e){return e.toLowerCase().replace(/-(\w)/g,(t,r)=>r.toUpperCase())}function ji(e,t){return e==t}function Ce(e){return[1,"1","true","on","yes",!0].includes(e)?!0:[0,"0","false","off","no",!1].includes(e)?!1:e?Boolean(e):null}var Fi=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function mn(e){return Fi.has(e)}function Vi(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}function $i(e){return typeof e=="object"&&e!==null}function _n(e,t,r){return e._x_bindings&&e._x_bindings[t]!==void 0?e._x_bindings[t]:xn(e,t,r)}function gn(e,t,r,n=!0){if(e._x_bindings&&e._x_bindings[t]!==void 0)return e._x_bindings[t];if(e._x_inlineBindings&&e._x_inlineBindings[t]!==void 0){let i=e._x_inlineBindings[t];return i.extract=n,ze(()=>D(e,i.expression))}return xn(e,t,r)}function xn(e,t,r){let n=e.getAttribute(t);return n===null?typeof r=="function"?r():r:n===""?!0:mn(t)?!![t,"true"].includes(n):n}function Re(e){return e.type==="checkbox"||e.localName==="ui-checkbox"||e.localName==="ui-switch"}function Qe(e){return e.type==="radio"||e.localName==="ui-radio"}function et(e,t){let r;return function(){let n=this,i=arguments,o=function(){r=null,e.apply(n,i)};clearTimeout(r),r=setTimeout(o,t)}}function tt(e,t){let r;return function(){let n=this,i=arguments;r||(e.apply(n,i),r=!0,setTimeout(()=>r=!1,t))}}function rt({get:e,set:t},{get:r,set:n}){let i=!0,o,s,a=P(()=>{let c=e(),l=r();if(i)n(Bt(c)),i=!1;else{let f=JSON.stringify(c),u=JSON.stringify(l);f!==o?n(Bt(c)):f!==u&&t(Bt(l))}o=JSON.stringify(e()),s=JSON.stringify(r())});return()=>{B(a)}}function Bt(e){return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function yn(e){(Array.isArray(e)?e:[e]).forEach(r=>r(U))}var z={},bn=!1;function En(e,t){if(bn||(z=R(z),bn=!0),t===void 0)return z[e];z[e]=t,typeof t=="object"&&t!==null&&t._x_interceptor?z[e]=t.initialize(z,e,e,()=>{}):le(z[e]),typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&z[e].init()}function vn(){return z}var wn={};function Sn(e,t){let r=typeof t!="function"?()=>t:t;return e instanceof Element?Ht(e,r()):(wn[e]=r,()=>{})}function An(e){return Object.entries(wn).forEach(([t,r])=>{Object.defineProperty(e,t,{get(){return(...n)=>r(...n)}})}),e}function Ht(e,t,r){let n=[];for(;n.length;)n.pop()();let i=Object.entries(t).map(([s,a])=>({name:s,value:a})),o=Lt(i);return i=i.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),Se(e,i,r).map(s=>{n.push(s.runCleanups),s()}),()=>{for(;n.length;)n.pop()()}}var On={};function Tn(e,t){On[e]=t}function Nn(e,t){return Object.entries(On).forEach(([r,n])=>{Object.defineProperty(e,r,{get(){return(...i)=>n.bind(t)(...i)},enumerable:!1})}),e}var Bi={get reactive(){return R},get release(){return B},get effect(){return P},get raw(){return Et},get transaction(){return wr},version:"3.16.2",flushAndStopDeferringMutations:Rr,dontAutoEvaluateFunctions:ze,disableEffectScheduling:br,startObservingMutations:Ee,stopObservingMutations:Ot,setReactivityEngine:Er,onAttributeRemoved:Be,onAttributesAdded:$e,closestDataStack:H,skipDuringClone:A,onlyDuringClone:fn,addRootSelector:Ge,addInitSelector:Ye,setErrorHandler:Lr,interceptClone:G,addScopeToNode:k,deferMutations:Cr,mapAttributes:pe,evaluateLater:x,interceptInit:on,initInterceptors:le,injectMagics:q,setEvaluator:jr,setRawEvaluator:Vr,mergeProxies:L,extractProp:gn,findClosest:T,onElRemoved:ce,closestRoot:Q,destroyTree:C,interceptor:Ue,transition:Xe,setStyles:ee,mutateDom:h,directive:d,entangle:rt,throttle:tt,debounce:et,evaluate:D,evaluateRaw:Br,initTree:S,nextTick:de,prefixed:N,prefix:Ur,plugin:yn,magic:b,store:En,start:Zr,clone:dn,cloneNode:pn,bound:_n,$data:He,watch:Fe,walk:I,data:Tn,bind:Sn},U=Bi;function Ut(e){let t=Object.create(null);for(let r of e.split(","))t[r]=1;return r=>r in t}var Hi=Object.freeze({}),pa=Object.freeze([]);var he=Object.assign;var Ui=Object.prototype.hasOwnProperty,nt=(e,t)=>Ui.call(e,t),me=Array.isArray,_e=e=>Cn(e)==="[object Map]";var zi=e=>typeof e=="string",ge=e=>typeof e=="symbol",xe=e=>e!==null&&typeof e=="object";var Wi=Object.prototype.toString,Cn=e=>Wi.call(e),zt=e=>Cn(e).slice(8,-1);var it=e=>zi(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e;var ot=e=>{let t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ki=/-\w/g,da=ot(e=>e.replace(Ki,t=>t.slice(1).toUpperCase())),qi=/\B([A-Z])/g,ha=ot(e=>e.replace(qi,"-$1").toLowerCase()),Wt=ot(e=>e.charAt(0).toUpperCase()+e.slice(1)),ma=ot(e=>e?`on${Wt(e)}`:""),Y=(e,t)=>!Object.is(e,t);var Gi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly";var _a=Ut(Gi+",async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function re(e,...t){console.warn(`[Vue warn] ${e}`,...t)}var Kt;var m;var qt=new WeakSet,ct=class{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Kt&&(Kt.active?Kt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qt.has(this)&&(qt.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Rn(this),kn(this);let t=m,r=M;m=this,M=!0;try{return this.fn()}finally{m!==this&&re("Active effect was not restored correctly - this is likely a Vue internal bug."),Ln(this),m=t,M=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ar(t);this.deps=this.depsTail=void 0,Rn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Jt(this)&&this.run()}get dirty(){return Jt(this)}},Pn=0,Me,Pe;function Yi(e,t=!1){if(e.flags|=8,t){e.next=Pe,Pe=e;return}e.next=Me,Me=e}function or(){Pn++}function sr(){if(--Pn>0)return;if(Pe){let t=Pe;for(Pe=void 0;t;){let r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Me;){let t=Me;for(Me=void 0;t;){let r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function kn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ln(e){let t,r=e.depsTail,n=r;for(;n;){let i=n.prevDep;n.version===-1?(n===r&&(r=i),ar(n),Xi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=r}function Jt(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ji(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ji(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===lt)||(e.globalVersion=lt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Jt(e))))return;e.flags|=2;let t=e.dep,r=m,n=M;m=e,M=!0;try{kn(e);let i=e.fn(e._value);(t.version===0||Y(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{m=r,M=n,Ln(e),e.flags&=-3}}function ar(e,t=!1){let{dep:r,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),r.subsHead===e&&(r.subsHead=i),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let o=r.computed.deps;o;o=o.nextDep)ar(o,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function Xi(e){let{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function In(e,t){e.effect instanceof ct&&(e=e.effect.fn);let r=new ct(e);t&&he(r,t);try{r.run()}catch(i){throw r.stop(),i}let n=r.run.bind(r);return n.effect=r,n}function jn(e){e.effect.stop()}var M=!0,Fn=[];function Zi(){Fn.push(M),M=!1}function Qi(){let e=Fn.pop();M=e===void 0?!0:e}function Rn(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let r=m;m=void 0;try{t()}finally{m=r}}}var lt=0,Xt=class{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Zt=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,this.subsHead=void 0}track(t){if(!m||!M||m===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==m)r=this.activeLink=new Xt(m,this),m.deps?(r.prevDep=m.depsTail,m.depsTail.nextDep=r,m.depsTail=r):m.deps=m.depsTail=r,Vn(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){let n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=m.depsTail,r.nextDep=void 0,m.depsTail.nextDep=r,m.depsTail=r,m.deps===r&&(m.deps=n)}return m.onTrack&&m.onTrack(he({effect:m},t)),r}trigger(t){this.version++,lt++,this.notify(t)}notify(t){or();try{for(let r=this.subsHead;r;r=r.nextSub)r.sub.onTrigger&&!(r.sub.flags&8)&&r.sub.onTrigger(he({effect:r.sub},t));for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{sr()}}};function Vn(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Vn(n)}let r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}var Qt=new WeakMap,te=Symbol("Object iterate"),er=Symbol("Map keys iterate"),Le=Symbol("Array iterate");function O(e,t,r){if(M&&m){let n=Qt.get(e);n||Qt.set(e,n=new Map);let i=n.get(r);i||(n.set(r,i=new Zt),i.map=n,i.key=r),i.track({target:e,type:t,key:r})}}function J(e,t,r,n,i,o){let s=Qt.get(e);if(!s){lt++;return}let a=c=>{c&&c.trigger({target:e,type:t,key:r,newValue:n,oldValue:i,oldTarget:o})};if(or(),t==="clear")s.forEach(a);else{let c=me(e),l=c&&it(r);if(c&&r==="length"){let f=Number(n);s.forEach((u,g)=>{(g==="length"||g===Le||!ge(g)&&g>=f)&&a(u)})}else switch((r!==void 0||s.has(void 0))&&a(s.get(r)),l&&a(s.get(Le)),t){case"add":c?l&&a(s.get("length")):(a(s.get(te)),_e(e)&&a(s.get(er)));break;case"delete":c||(a(s.get(te)),_e(e)&&a(s.get(er)));break;case"set":_e(e)&&a(s.get(te));break}}sr()}function ye(e){let t=_(e);return t===e?t:(O(t,"iterate",Le),ie(e)?t:t.map(oe))}function cr(e){return O(e=_(e),"iterate",Le),e}function F(e,t){return ne(e)?Wn(e)?Ie(oe(t)):Ie(t):oe(t)}var eo={__proto__:null,[Symbol.iterator](){return Gt(this,Symbol.iterator,e=>F(this,e))},concat(...e){return ye(this).concat(...e.map(t=>me(t)?ye(t):t))},entries(){return Gt(this,"entries",e=>(e[1]=F(this,e[1]),e))},every(e,t){return W(this,"every",e,t,void 0,arguments)},filter(e,t){return W(this,"filter",e,t,r=>r.map(n=>F(this,n)),arguments)},find(e,t){return W(this,"find",e,t,r=>F(this,r),arguments)},findIndex(e,t){return W(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return W(this,"findLast",e,t,r=>F(this,r),arguments)},findLastIndex(e,t){return W(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return W(this,"forEach",e,t,void 0,arguments)},includes(...e){return Yt(this,"includes",e)},indexOf(...e){return Yt(this,"indexOf",e)},join(e){return ye(this).join(e)},lastIndexOf(...e){return Yt(this,"lastIndexOf",e)},map(e,t){return W(this,"map",e,t,void 0,arguments)},pop(){return De(this,"pop")},push(...e){return De(this,"push",e)},reduce(e,...t){return Dn(this,"reduce",e,t)},reduceRight(e,...t){return Dn(this,"reduceRight",e,t)},shift(){return De(this,"shift")},some(e,t){return W(this,"some",e,t,void 0,arguments)},splice(...e){return De(this,"splice",e)},toReversed(){return ye(this).toReversed()},toSorted(e){return ye(this).toSorted(e)},toSpliced(...e){return ye(this).toSpliced(...e)},unshift(...e){return De(this,"unshift",e)},values(){return Gt(this,"values",e=>F(this,e))}};function Gt(e,t,r){let n=cr(e),i=n[t]();return n!==e&&!ie(e)&&(i._next=i.next,i.next=()=>{let o=i._next();return o.done||(o.value=r(o.value)),o}),i}var to=Array.prototype;function W(e,t,r,n,i,o){let s=cr(e),a=s!==e&&!ie(e),c=s[t];if(c!==to[t]){let u=c.apply(e,o);return a?oe(u):u}let l=r;s!==e&&(a?l=function(u,g){return r.call(this,F(e,u),g,e)}:r.length>2&&(l=function(u,g){return r.call(this,u,g,e)}));let f=c.call(s,l,n);return a&&i?i(f):f}function Dn(e,t,r,n){let i=cr(e),o=i!==e&&!ie(e),s=r,a=!1;i!==e&&(o?(a=n.length===0,s=function(l,f,u){return a&&(a=!1,l=F(e,l)),r.call(this,l,F(e,f),u,e)}):r.length>3&&(s=function(l,f,u){return r.call(this,l,f,u,e)}));let c=i[t](s,...n);return a?F(e,c):c}function Yt(e,t,r){let n=_(e);O(n,"iterate",Le);let i=n[t](...r);return(i===-1||i===!1)&&ho(r[0])?(r[0]=_(r[0]),n[t](...r)):i}function De(e,t,r=[]){Zi(),or();let n=_(e)[t].apply(e,r);return sr(),Qi(),n}var ro=Ut("__proto__,__v_isRef,__isVue"),$n=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ge));function no(e){ge(e)||(e=String(e));let t=_(this);return O(t,"has",e),t.hasOwnProperty(e)}var ft=class{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;let i=this._isReadonly,o=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return o;if(r==="__v_raw")return n===(i?o?uo:Un:o?fo:Hn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;let s=me(t);if(!i){let c;if(s&&(c=eo[r]))return c;if(r==="hasOwnProperty")return no}let a=Reflect.get(t,r,ke(t)?t:n);if((ge(r)?$n.has(r):ro(r))||(i||O(t,"get",r),o))return a;if(ke(a)){let c=s&&it(r)?a:a.value;return i&&xe(c)?ir(c):c}return xe(a)?i?ir(a):ut(a):a}},tr=class extends ft{constructor(t=!1){super(!1,t)}set(t,r,n,i){let o=t[r],s=me(t)&&it(r);if(!this._isShallow){let l=ne(o);if(!ie(n)&&!ne(n)&&(o=_(o),n=_(n)),!s&&ke(o)&&!ke(n))return l?(re(`Set operation on key "${String(r)}" failed: target is readonly.`,t[r]),!0):(o.value=n,!0)}let a=s?Number(r)<t.length:nt(t,r),c=Reflect.set(t,r,n,ke(t)?t:i);return t===_(i)&&c&&(a?Y(n,o)&&J(t,"set",r,n,o):J(t,"add",r,n)),c}deleteProperty(t,r){let n=nt(t,r),i=t[r],o=Reflect.deleteProperty(t,r);return o&&n&&J(t,"delete",r,void 0,i),o}has(t,r){let n=Reflect.has(t,r);return(!ge(r)||!$n.has(r))&&O(t,"has",r),n}ownKeys(t){return O(t,"iterate",me(t)?"length":te),Reflect.ownKeys(t)}},rr=class extends ft{constructor(t=!1){super(!0,t)}set(t,r){return re(`Set operation on key "${String(r)}" failed: target is readonly.`,t),!0}deleteProperty(t,r){return re(`Delete operation on key "${String(r)}" failed: target is readonly.`,t),!0}},io=new tr,oo=new rr;var nr=e=>e,st=e=>Reflect.getPrototypeOf(e);function so(e,t,r){return function(...n){let i=this.__v_raw,o=_(i),s=_e(o),a=e==="entries"||e===Symbol.iterator&&s,c=e==="keys"&&s,l=i[e](...n),f=r?nr:t?Ie:oe;return!t&&O(o,"iterate",c?er:te),he(Object.create(l),{next(){let{value:u,done:g}=l.next();return g?{value:u,done:g}:{value:a?[f(u[0]),f(u[1])]:f(u),done:g}}})}}function at(e){return function(...t){{let r=t[0]?`on key "${t[0]}" `:"";re(`${Wt(e)} operation ${r}failed: target is readonly.`,_(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function ao(e,t){let r={get(i){let o=this.__v_raw,s=_(o),a=_(i);e||(Y(i,a)&&O(s,"get",i),O(s,"get",a));let{has:c}=st(s),l=t?nr:e?Ie:oe;if(c.call(s,i))return l(o.get(i));if(c.call(s,a))return l(o.get(a));o!==s&&o.get(i)},get size(){let i=this.__v_raw;return!e&&O(_(i),"iterate",te),i.size},has(i){let o=this.__v_raw,s=_(o),a=_(i);return e||(Y(i,a)&&O(s,"has",i),O(s,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){let s=this,a=s.__v_raw,c=_(a),l=t?nr:e?Ie:oe;return!e&&O(c,"iterate",te),a.forEach((f,u)=>i.call(o,l(f),l(u),s))}};return he(r,e?{add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear")}:{add(i){let o=_(this),s=st(o),a=_(i),c=!t&&!ie(i)&&!ne(i)?a:i;return s.has.call(o,c)||Y(i,c)&&s.has.call(o,i)||Y(a,c)&&s.has.call(o,a)||(o.add(c),J(o,"add",c,c)),this},set(i,o){!t&&!ie(o)&&!ne(o)&&(o=_(o));let s=_(this),{has:a,get:c}=st(s),l=a.call(s,i);l?Mn(s,a,i):(i=_(i),l=a.call(s,i));let f=c.call(s,i);return s.set(i,o),l?Y(o,f)&&J(s,"set",i,o,f):J(s,"add",i,o),this},delete(i){let o=_(this),{has:s,get:a}=st(o),c=s.call(o,i);c?Mn(o,s,i):(i=_(i),c=s.call(o,i));let l=a?a.call(o,i):void 0,f=o.delete(i);return c&&J(o,"delete",i,void 0,l),f},clear(){let i=_(this),o=i.size!==0,s=_e(i)?new Map(i):new Set(i),a=i.clear();return o&&J(i,"clear",void 0,void 0,s),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{r[i]=so(i,e,t)}),r}function Bn(e,t){let r=ao(e,t);return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(nt(r,i)&&i in n?r:n,i,o)}var co={get:Bn(!1,!1)};var lo={get:Bn(!0,!1)};function Mn(e,t,r){let n=_(r);if(n!==r&&t.call(e,n)){let i=zt(e);re(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var Hn=new WeakMap,fo=new WeakMap,Un=new WeakMap,uo=new WeakMap;function po(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ut(e){return ne(e)?e:zn(e,!1,io,co,Hn)}function ir(e){return zn(e,!0,oo,lo,Un)}function zn(e,t,r,n,i){if(!xe(e))return re(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let o=i.get(e);if(o)return o;let s=po(zt(e));if(s===0)return e;let a=new Proxy(e,s===2?n:r);return i.set(e,a),a}function Wn(e){return ne(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function ne(e){return!!(e&&e.__v_isReadonly)}function ie(e){return!!(e&&e.__v_isShallow)}function ho(e){return e?!!e.__v_raw:!1}function _(e){let t=e&&e.__v_raw;return t?_(t):e}var oe=e=>xe(e)?ut(e):e,Ie=e=>xe(e)?ir(e):e;function ke(e){return e?e.__v_isRef===!0:!1}b("nextTick",()=>de);b("dispatch",e=>Z.bind(Z,e));b("watch",(e,{evaluateLater:t,cleanup:r})=>(n,i)=>{let o=t(n),a=Fe(()=>{let c;return o(l=>c=l),c},i);r(a)});b("store",vn);b("data",e=>He(e));b("root",e=>Q(e));b("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=L(mo(e))),e._x_refs_proxy));function mo(e){let t=[];return T(e,r=>{r._x_refs&&t.push(r._x_refs)}),t}var lr={};function fr(e){return lr[e]||(lr[e]=0),++lr[e]}function Kn(e,t){return T(e,r=>{if(r._x_ids&&r._x_ids[t])return!0})}function qn(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=fr(t))}b("id",(e,{cleanup:t})=>(r,n=null)=>{let i=`${r}${n?`-${n}`:""}`;return _o(e,i,t,()=>{let o=Kn(e,r),s=o?o._x_ids[r]:fr(r);return n?`${r}-${s}-${n}`:`${r}-${s}`})});G((e,t)=>{e._x_id&&(t._x_id=e._x_id)});function _o(e,t,r,n){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let i=n();return e._x_id[t]=i,r(()=>{delete e._x_id[t]}),i}b("el",e=>e);Gn("Focus","focus","focus");Gn("Persist","persist","persist");function Gn(e,t,r){b(t,n=>w(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${r}`,n))}d("modelable",(e,{expression:t},{effect:r,evaluateLater:n,cleanup:i})=>{let o=n(t),s=()=>{let f;return o(u=>f=u),f},a=n(`${t} = __placeholder`),c=f=>a(()=>{},{scope:{__placeholder:f}}),l=s();c(l),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let f=e._x_model.get,u=e._x_model.setWithModifiers,g=rt({get(){return f()},set(y){u(y)}},{get(){return s()},set(y){c(y)}});i(g)})});d("teleport",(e,{modifiers:t,expression:r},{cleanup:n})=>{e.tagName.toLowerCase()!=="template"&&w("x-teleport can only be used on a <template> tag",e);let i=Yn(r),o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(a=>{o.addEventListener(a,c=>{c.stopPropagation(),e.dispatchEvent(new c.constructor(c.type,c))})}),k(o,{},e);let s=(a,c,l)=>{l.includes("prepend")?c.parentNode.insertBefore(a,c):l.includes("append")?c.parentNode.insertBefore(a,c.nextSibling):c.appendChild(a)};h(()=>{A(()=>{s(o,i,t),S(o)})()}),e._x_teleportPutBack=()=>{let a=Yn(r);h(()=>{s(e._x_teleport,a,t)})},n(()=>h(()=>{o.remove(),C(o)}))});var go=document.createElement("div");function Yn(e){let t=A(()=>document.querySelector(e),()=>go)();return t||w(`Cannot find x-teleport element for selector: "${e}"`),t}var Jn=()=>{};Jn.inline=(e,{modifiers:t},{cleanup:r})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,r(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})};d("ignore",Jn);d("effect",A((e,{expression:t},{effect:r})=>{r(x(e,t))}));function K(e,t,r,n){let i=e,o=c=>n(c),s={},a=(c,l)=>f=>l(c,f);return r.includes("dot")&&(t=xo(t)),r.includes("camel")&&(t=yo(t)),r.includes("capture")&&(s.capture=!0),r.includes("window")&&(i=window),r.includes("document")&&(i=document),r.includes("passive")&&(s.passive=r[r.indexOf("passive")+1]!=="false"),o=ur(r,o),r.includes("prevent")&&(o=a(o,(c,l)=>{l.preventDefault(),c(l)})),r.includes("stop")&&(o=a(o,(c,l)=>{l.stopPropagation(),c(l)})),r.includes("once")&&(o=a(o,(c,l)=>{c(l),i.removeEventListener(t,o,s)})),(r.includes("away")||r.includes("outside"))&&(i=document,o=a(o,(c,l)=>{e.contains(l.target)||l.target.isConnected!==!1&&(e.offsetWidth<1&&e.offsetHeight<1||e._x_isShown!==!1&&c(l))})),r.includes("self")&&(o=a(o,(c,l)=>{l.target===e&&c(l)})),t==="submit"&&(o=a(o,(c,l)=>{l.target._x_pendingModelUpdates&&l.target._x_pendingModelUpdates.forEach(f=>f()),c(l)})),(Eo(t)||Zn(t))&&(o=a(o,(c,l)=>{vo(l,r)||c(l)})),i.addEventListener(t,o,s),()=>{i.removeEventListener(t,o,s)}}function ur(e,t){if(e.includes("debounce")){let r=e[e.indexOf("debounce")+1]||"invalid-wait",n=pt(r.split("ms")[0])?Number(r.split("ms")[0]):250;t=et(t,n)}if(e.includes("throttle")){let r=e[e.indexOf("throttle")+1]||"invalid-wait",n=pt(r.split("ms")[0])?Number(r.split("ms")[0]):250;t=tt(t,n)}return t}function xo(e){return e.replace(/-/g,".")}function yo(e){return e.toLowerCase().replace(/-(\w)/g,(t,r)=>r.toUpperCase())}function pt(e){return!Array.isArray(e)&&!isNaN(e)}function bo(e){return[" ","_"].includes(e)?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function Eo(e){return["keydown","keyup"].includes(e)}function Zn(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function vo(e,t){let r=t.filter(o=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll","blur","change","lazy"].includes(o));if(r.includes("debounce")){let o=r.indexOf("debounce");r.splice(o,pt((r[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(r.includes("throttle")){let o=r.indexOf("throttle");r.splice(o,pt((r[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(r.length===0||r.length===1&&Xn(e.key).includes(r[0]))return!1;let i=["ctrl","shift","alt","meta","cmd","super"].filter(o=>r.includes(o));return r=r.filter(o=>!i.includes(o)),!(i.length>0&&i.filter(s=>((s==="cmd"||s==="super")&&(s="meta"),e[`${s}Key`])).length===i.length&&(Zn(e.type)||Xn(e.key).includes(r[0])))}function Xn(e){if(!e)return[];e=bo(e);let t={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return t[e]=e,Object.keys(t).map(r=>{if(t[r]===e)return r}).filter(r=>r)}d("model",(e,{modifiers:t,expression:r},{effect:n,cleanup:i})=>{let o=e;t.includes("parent")&&(o=T(e,p=>p!==e));let s=x(o,r),a;typeof r=="string"?a=x(o,`${r} = __placeholder`):typeof r=="function"&&typeof r()=="string"?a=x(o,`${r()} = __placeholder`):a=()=>{};let c=()=>{let p;return s(E=>p=E),Qn(p)?p.get():p},l=p=>{let E;s(v=>E=v),Qn(E)?E.set(p):a(()=>{},{scope:{__placeholder:p}})};typeof r=="string"&&e.type==="radio"&&h(()=>{e.hasAttribute("name")||e.setAttribute("name",r)});let f=t.includes("change")||t.includes("lazy"),u=t.includes("blur"),g=t.includes("enter"),y=f||u||g,V;if(j)V=()=>{};else if(y){let p=[],E=v=>l(dt(e,t,v,c()));if(f&&p.push(K(e,"change",t,E)),u&&(p.push(K(e,"blur",t,E)),e.form)){let v=e.form,ae=()=>E({target:e});v._x_pendingModelUpdates||(v._x_pendingModelUpdates=[]),v._x_pendingModelUpdates.push(ae),i(()=>{v._x_pendingModelUpdates&&v._x_pendingModelUpdates.splice(v._x_pendingModelUpdates.indexOf(ae),1)})}g&&p.push(K(e,"keydown",t,v=>{v.key==="Enter"&&E(v)})),V=()=>p.forEach(v=>v())}else{let p=e.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(e.type)?"change":"input";V=K(e,p,t,E=>{l(dt(e,t,E,c()))})}if(t.includes("fill")&&([void 0,null,""].includes(c())||Re(e)&&Array.isArray(c())||e.tagName.toLowerCase()==="select"&&e.multiple)&&l(dt(e,t,{target:e},c())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=V,i(()=>e._x_removeModelListeners.default()),e.form){let p=K(e.form,"reset",[],E=>{de(()=>e._x_model&&e._x_model.set(dt(e,t,{target:e},c())))});i(()=>p())}if(e._x_model={get(){return c()},set(p){l(p)},setWithModifiers:ur(t,l)},e._x_forceModelUpdate=p=>{p===void 0&&typeof r=="string"&&r.match(/\./)&&(p=""),h(()=>{Re(e)?Array.isArray(p)?e.checked=p.some(E=>E==e.value):e.checked=!!p:Qe(e)?typeof p=="boolean"?e.checked=Ce(e.value)===p:e.checked=e.value==p:Ne(e,"value",p)})},e.tagName==="SELECT"){let p=new MutationObserver(()=>{e._x_forceModelUpdate(c())});p.observe(e,{childList:!0}),i(()=>p.disconnect())}n(()=>{let p=c();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(p)})});function dt(e,t,r,n){return h(()=>{if(r instanceof CustomEvent&&r.detail!==void 0)return r.detail!==null&&r.detail!==void 0?r.detail:r.target.value;if(Re(e))if(Array.isArray(n)){let i=null;return t.includes("number")?i=pr(r.target.value):t.includes("boolean")?i=Ce(r.target.value):i=r.target.value,r.target.checked?n.includes(i)?n:n.concat([i]):n.filter(o=>!wo(o,i))}else return r.target.checked;else{if(e.tagName.toLowerCase()==="select"&&e.multiple)return t.includes("number")?Array.from(r.target.selectedOptions).map(i=>{let o=i.value||i.text;return pr(o)}):t.includes("boolean")?Array.from(r.target.selectedOptions).map(i=>{let o=i.value||i.text;return Ce(o)}):Array.from(r.target.selectedOptions).map(i=>i.value||i.text);{let i;return Qe(e)?r.target.checked?i=r.target.value:i=n:i=r.target.value,t.includes("number")?pr(i):t.includes("boolean")?Ce(i):t.includes("trim")?i.trim():i}}})}function pr(e){let t=e?parseFloat(e):null;return So(t)?t:e}function wo(e,t){return e==t}function So(e){return!Array.isArray(e)&&!isNaN(e)}function Qn(e){return e!==null&&typeof e=="object"&&typeof e.get=="function"&&typeof e.set=="function"}d("cloak",e=>queueMicrotask(()=>h(()=>e.removeAttribute(N("cloak")))));Ye(()=>`[${N("init")}]`);d("init",A((e,{expression:t},{evaluate:r})=>typeof t=="string"?!!t.trim()&&r(t,{},!1):r(t,{},!1)));d("text",(e,{expression:t},{effect:r,evaluateLater:n})=>{let i=n(t);r(()=>{i(o=>{h(()=>{e.textContent=o})})})});d("html",(e,{expression:t},{effect:r,evaluateLater:n})=>{let i=n(t);r(()=>{i(o=>{h(()=>{Array.from(e.children).forEach(s=>C(s)),e.innerHTML=o??"",e._x_ignoreSelf=!0,S(e),delete e._x_ignoreSelf})})},{priority:"structural"})});pe(Ke(":",qe(N("bind:"))));var ei=(e,{value:t,modifiers:r,expression:n,original:i},{effect:o,cleanup:s})=>{if(!t){let c={};An(c),x(e,n)(f=>{Ht(e,f,i)},{scope:c});return}if(t==="key")return Ao(e,n);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let a=x(e,n);o(()=>a(c=>{c===void 0&&typeof n=="string"&&n.match(/\./)&&(c=""),h(()=>Ne(e,t,c,r))})),s(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};ei.inline=(e,{value:t,modifiers:r,expression:n})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:n,extract:!1})};d("bind",ei);function Ao(e,t){e._x_keyExpression=t}Ge(()=>`[${N("data")}]`);var se=Symbol();d("data",(e,{expression:t},{cleanup:r})=>{if(To(e))return;let n=e[se];if(n?.expression===t)return;t=t===""?"{}":t;let i={};q(i,e);let o={};Nn(o,i);let s=D(e,t,{scope:o});(s===void 0||s===!0)&&(s={}),q(s,e);let a;if(n?.reactiveData){a=n.reactiveData,Oo(a,s);let l={expression:t};e[se]=l,queueMicrotask(()=>{e[se]===l&&delete e[se]})}else a=R(s);le(a,r);let c=k(e,a);a.init&&D(e,a.init),r(()=>{a.destroy&&D(e,a.destroy),c();let l={reactiveData:a};e[se]=l,queueMicrotask(()=>{e[se]===l&&delete e[se]})})});function Oo(e,t){Object.keys(t).forEach(r=>{let n=Object.getOwnPropertyDescriptor(t,r),i=Object.getOwnPropertyDescriptor(e,r);n.get||n.set||i?.get||i?.set?(i&&delete e[r],i||(e[r]=void 0),n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]):e[r]=t[r]}),Object.keys(e).filter(r=>!Object.prototype.hasOwnProperty.call(t,r)).forEach(r=>delete e[r])}G((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))});function To(e){return j?Ze?!0:e.hasAttribute("data-has-alpine-state"):!1}d("show",(e,{modifiers:t,expression:r},{effect:n})=>{let i=x(e,r);e._x_doHide||(e._x_doHide=()=>{h(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{h(()=>{e.style.length===1&&e.style.display==="none"?e.removeAttribute("style"):e.style.removeProperty("display")})});let o=()=>{e._x_doHide(),e._x_isShown=!1},s=()=>{e._x_doShow(),e._x_isShown=!0},a=()=>setTimeout(s),c=Oe(u=>u?s():o(),u=>{typeof e._x_toggleAndCascadeWithTransitions=="function"?e._x_toggleAndCascadeWithTransitions(e,u,s,o):u?a():o()}),l,f=!0;n(()=>i(u=>{!f&&u===l||(t.includes("immediate")&&(u?a():o()),c(u),l=u,f=!1)}))});d("for",A((e,{expression:t},{effect:r,cleanup:n})=>{let i=Ro(t),o=x(e,i.items),s=x(e,e._x_keyExpression||"index");e._x_lookup=new Map,r(()=>Co(e,i,o,s),{priority:"structural"}),n(()=>{e._x_lookup.forEach(a=>h(()=>{C(a),a.remove()})),delete e._x_lookup,delete e._x_lastRenderedEl})}));function No(e){return t=>{Object.entries(t).forEach(([r,n])=>{e[r]=n})}}function Co(e,t,r,n){r(i=>{Mo(i)&&(i=Array.from({length:i},(l,f)=>f+1)),i==null&&(i=[]),i instanceof Set&&(i=Array.from(i)),i instanceof Map&&(i=Array.from(i));let o=e._x_lookup,s=new Map;e._x_lookup=s;let a=Po(i),c=Object.entries(i).map(([l,f])=>{a||(l=parseInt(l));let u=Do(t,f,l,i),g;return n(y=>{typeof y=="object"&&w("x-for key cannot be an object, it must be a string or an integer",e),o.has(y)&&(s.set(y,o.get(y)),o.delete(y)),g=y},{scope:{index:l,...u}}),[g,u]});h(()=>{o.forEach(u=>{C(u),u.remove()});let l=new Set,f=e;c.forEach(([u,g])=>{if(s.has(u)){let p=s.get(u);p._x_refreshXForScope(g),f.nextElementSibling!==p&&(f.nextElementSibling&&p.replaceWith(f.nextElementSibling),f.after(p)),f=p,p._x_currentIfEl&&(p.nextElementSibling!==p._x_currentIfEl&&f.after(p._x_currentIfEl),f=p._x_currentIfEl);return}e.content.children.length>1&&w("x-for templates require a single root element, additional elements will be ignored.",e);let y=document.importNode(e.content,!0).firstElementChild,V=R(g);k(y,V,e),y._x_refreshXForScope=No(V),s.set(u,y),l.add(y),f.after(y),f=y}),l.forEach(u=>S(u)),f!==e?e._x_lastRenderedEl=f:delete e._x_lastRenderedEl})})}function Ro(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,r=/^\s*\(|\)\s*$/g,n=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(n);if(!i)return;let o={};o.items=i[2].trim();let s=i[1].replace(r,"").trim(),a=s.match(t);return a?(o.item=s.replace(t,"").trim(),o.index=a[1].trim(),a[2]&&(o.collection=a[2].trim())):o.item=s,o}function Do(e,t,r,n){let i={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{i[s]=t[a]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&typeof t=="object"?e.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{i[s]=t[s]}):i[e.item]=t,e.index&&(i[e.index]=r),e.collection&&(i[e.collection]=n),i}function Mo(e){return typeof e!="object"&&!isNaN(e)}function Po(e){return typeof e=="object"&&!Array.isArray(e)}function ti(){}ti.inline=(e,{expression:t},{cleanup:r})=>{let n=Q(e);n&&(n._x_refs||(n._x_refs={}),n._x_refs[t]=e,r(()=>delete n._x_refs[t]))};d("ref",ti);d("if",A((e,{expression:t},{effect:r,cleanup:n})=>{e.tagName.toLowerCase()!=="template"&&w("x-if can only be used on a <template> tag",e);let i=x(e,t),o=()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let a=e.content.cloneNode(!0).firstElementChild;return k(a,{},e),h(()=>{e.after(a),S(a)}),e._x_currentIfEl=a,e._x_lastRenderedEl=a,e._x_undoIf=()=>{h(()=>{C(a),a.remove()}),delete e._x_currentIfEl,delete e._x_lastRenderedEl},a},s=()=>{e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)};r(()=>i(a=>{a?o():s()}),{priority:"structural"}),n(()=>e._x_undoIf&&e._x_undoIf())}));d("id",(e,{expression:t},{evaluate:r})=>{r(t).forEach(i=>qn(e,i))});G((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)});pe(Ke("@",qe(N("on:"))));d("on",A((e,{value:t,modifiers:r,expression:n},{cleanup:i})=>{let o=n?x(e,n):()=>{};e.tagName.toLowerCase()==="template"&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let s=K(e,t,r,a=>{o(()=>{},{scope:{$event:a},params:[a]})});i(()=>s())}));ht("Collapse","collapse","collapse");ht("Intersect","intersect","intersect");ht("Focus","trap","focus");ht("Mask","mask","mask");function ht(e,t,r){d(t,n=>w(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${r}`,n))}U.setEvaluator($r);U.setRawEvaluator(Hr);U.setReactivityEngine({reactive:ut,effect:(e,t={})=>{let r;return r=In(e,{scheduler:()=>{r&&(t.scheduler?t.scheduler(r):r())}}),r},release:jn,raw:_});var dr=U;window.Alpine=dr;queueMicrotask(()=>{dr.start()});})();
|
|
/*! Bundled license information:
|
|
|
|
@vue/shared/dist/shared.esm-bundler.js:
|
|
(**
|
|
* @vue/shared v3.5.41
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**)
|
|
|
|
@vue/reactivity/dist/reactivity.esm-bundler.js:
|
|
(**
|
|
* @vue/reactivity v3.5.41
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**)
|
|
*/
|