"use strict";(globalThis.webpackChunksprachportal_at=globalThis.webpackChunksprachportal_at||[]).push([[380],{708:(e,t,n)=>{n.d(t,{A:()=>D});var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},l=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r=r.filter(n)},c=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var l=s.shift();if("SLOT"===l.tagName){var c=l.assignedElements(),u=e(c.length?c:l.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scope:l,candidates:u})}else{a.call(l,i)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var f=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),d=!r.shadowRootFilter||r.shadowRootFilter(l);if(f&&d){var p=e(!0===f?l.children:f.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scope:l,candidates:p})}else s.unshift.apply(s,l.children)}}return o},u=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},d=function(e){return"INPUT"===e.tagName},p=function(e){return function(e){return d(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)},h=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},_=function(e,t){return!(t.disabled||function(e){return d(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;var o=s(e).host,l=(null==o?void 0:o.ownerDocument.contains(o))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return h(e)}else{if("function"==typeof r){for(var c=e;e;){var u=e.parentElement,f=s(e);if(u&&!u.shadowRoot&&!0===r(u))return h(e);e=e.assignedSlot?e.assignedSlot:u||f===e.ownerDocument?u:f.host}e=c}if(l)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},v=function(e,t){return!(p(t)||u(t)<0||!_(e,t))},m=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scope,a=o?t.scope:t,s=u(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(f).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},g=function(e,t){var n;return n=(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:v.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:m}):l(e,t.includeContainer,v.bind(null,t)),b(n)},y=function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:_.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,_.bind(null,t))},x=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&v(t,e)},w=r.concat("iframe").join(","),E=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,w)&&_(t,e)};function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k,C=(k=[],{activateTrap:function(e){if(k.length>0){var t=k[k.length-1];t!==e&&t.pause()}var n=k.indexOf(e);-1===n||k.splice(n,1),k.push(e)},deactivateTrap:function(e){var t=k.indexOf(e);-1!==t&&k.splice(t,1),k.length>0&&k[k.length-1].unpause()}}),N=function(e){return setTimeout(e,0)},T=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},j=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},L=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},R=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=S({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e){return o.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},l=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];t=t.apply(void 0,o)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement)>=0)e=r.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(o.containerGroups=o.containers.map((function(e){var t=g(e,i.tabbableOptions),n=y(e,i.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.findIndex((function(t){return t===e}));if(!(r<0))return t?n.slice(r+1).find((function(e){return x(e,i.tabbableOptions)})):n.slice(0,r).reverse().find((function(e){return x(e,i.tabbableOptions)}))}}})),o.tabbableGroups=o.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),o.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},d=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},p=function(e){var t=L(e);s(t)>=0||(j(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!E(t,i.tabbableOptions)}):j(i.allowOutsideClick,e)||e.preventDefault())},h=function(e){var t=L(e),n=s(t)>=0;n||t instanceof Document?n&&(o.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),f(o.mostRecentlyFocusedNode||c()))},_=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==j(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=L(e);u();var n=null;if(o.tabbableGroups.length>0){var r=s(t),a=r>=0?o.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=T(o.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(a.container===t||E(t,i.tabbableOptions)&&!x(t,i.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(c=r),c>=0){var d=0===c?o.tabbableGroups.length-1:c-1;n=o.tabbableGroups[d].lastTabbableNode}}else{var p=T(o.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(p<0&&(a.container===t||E(t,i.tabbableOptions)&&!x(t,i.tabbableOptions)&&!a.nextTabbableNode(t))&&(p=r),p>=0){var h=p===o.tabbableGroups.length-1?0:p+1;n=o.tabbableGroups[h].firstTabbableNode}}}else n=l("fallbackFocus");n&&(e.preventDefault(),f(n))}(e)},v=function(e){var t=L(e);s(t)>=0||j(i.clickOutsideDeactivates,e)||j(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},m=function(){if(o.active)return C.activateTrap(n),o.delayInitialFocusTimer=i.delayInitialFocus?N((function(){f(c())})):f(c()),r.addEventListener("focusin",h,!0),r.addEventListener("mousedown",p,{capture:!0,passive:!1}),r.addEventListener("touchstart",p,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",_,{capture:!0,passive:!1}),n},b=function(){if(o.active)return r.removeEventListener("focusin",h,!0),r.removeEventListener("mousedown",p,!0),r.removeEventListener("touchstart",p,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",_,!0),n};return(n={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),i=a(e,"checkCanFocusTrap");i||u(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){i&&u(),m(),n&&n()};return i?(i(o.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!o.active)return this;var t=S({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,b(),o.active=!1,o.paused=!1,C.deactivateTrap(n);var r=a(t,"onDeactivate"),s=a(t,"onPostDeactivate"),l=a(t,"checkCanReturnFocus"),c=a(t,"returnFocus","returnFocusOnDeactivate");r&&r();var u=function(){N((function(){c&&f(d(o.nodeFocusedBeforeActivation)),s&&s()}))};return c&&l?(l(d(o.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(){return o.paused||!o.active||(o.paused=!0,b()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,u(),m(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),o.active&&u(),this}}).updateContainerElements(e),n};function $(e){let t=[];return P(e,(e=>{let n=e.hasAttribute("aria-hidden");e.setAttribute("aria-hidden","true"),t.push((()=>n||e.removeAttribute("aria-hidden")))})),()=>{for(;t.length;)t.pop()()}}function P(e,t){!e.isSameNode(document.body)&&e.parentNode&&Array.from(e.parentNode.children).forEach((n=>{n.isSameNode(e)?P(e.parentNode,t):t(n)}))}var D=function(e){let t,n;window.addEventListener("focusin",(()=>{t=n,n=document.activeElement})),e.magic("focus",(e=>{let r=e;return{__noscroll:!1,__wrapAround:!1,within(e){return r=e,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable:e=>E(e),previouslyFocused:()=>t,lastFocused:()=>t,focused:()=>n,focusables:()=>Array.isArray(r)?r:y(r,{displayCheck:"none"}),all(){return this.focusables()},isFirst(e){let t=this.all();return t[0]&&t[0].isSameNode(e)},isLast(e){let t=this.all();return t.length&&t.slice(-1)[0].isSameNode(e)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let e=this.all(),t=document.activeElement;if(-1!==e.indexOf(t))return this.__wrapAround&&e.indexOf(t)===e.length-1?e[0]:e[e.indexOf(t)+1]},getPrevious(){let e=this.all(),t=document.activeElement;if(-1!==e.indexOf(t))return this.__wrapAround&&0===e.indexOf(t)?e.slice(-1)[0]:e[e.indexOf(t)-1]},first(){this.focus(this.getFirst())},last(){this.focus(this.getLast())},next(){this.focus(this.getNext())},previous(){this.focus(this.getPrevious())},prev(){return this.previous()},focus(e){e&&setTimeout((()=>{e.hasAttribute("tabindex")||e.setAttribute("tabindex","0"),e.focus({preventScroll:this._noscroll})}))}}})),e.directive("trap",e.skipDuringClone(((e,{expression:t,modifiers:n},{effect:r,evaluateLater:i,cleanup:o})=>{let a=i(t),s=!1,l={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>e};if(n.includes("noautofocus"))l.initialFocus=!1;else{let t=e.querySelector("[autofocus]");t&&(l.initialFocus=t)}let c=R(e,l),u=()=>{},f=()=>{};const d=()=>{u(),u=()=>{},f(),f=()=>{},c.deactivate({returnFocus:!n.includes("noreturn")})};r((()=>a((t=>{s!==t&&(t&&!s&&(n.includes("noscroll")&&(f=function(){let e=document.documentElement.style.overflow,t=document.documentElement.style.paddingRight,n=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${n}px`,()=>{document.documentElement.style.overflow=e,document.documentElement.style.paddingRight=t}}()),n.includes("inert")&&(u=$(e)),setTimeout((()=>{c.activate()}),15)),!t&&s&&d(),s=!!t)})))),o(d)}),((e,{expression:t,modifiers:n},{evaluate:r})=>{n.includes("inert")&&r(t)&&$(e)})))};
/*! Bundled license information:

tabbable/dist/index.esm.js:
  (*!
  * tabbable 5.3.3
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
  *)

focus-trap/dist/focus-trap.esm.js:
  (*!
  * focus-trap 6.9.4
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
  *)
*/},533:(e,t,n)=>{function r(e){if(e.includes("full"))return.99;if(e.includes("half"))return.5;if(!e.includes("threshold"))return 0;let t=e[e.indexOf("threshold")+1];return"100"===t?1:"0"===t?0:Number(`.${t}`)}function i(e){let t=e.match(/^(-?[0-9]+)(px|%)?$/);return t?t[1]+(t[2]||"px"):void 0}function o(e){const t="0px 0px 0px 0px",n=e.indexOf("margin");if(-1===n)return t;let r=[];for(let t=1;t<5;t++)r.push(i(e[n+t]||""));return r=r.filter((e=>void 0!==e)),r.length?r.join(" ").trim():t}n.d(t,{A:()=>a});var a=function(e){e.directive("intersect",((e,{value:t,expression:n,modifiers:i},{evaluateLater:a,cleanup:s})=>{let l=a(n),c={rootMargin:o(i),threshold:r(i)},u=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting!==("leave"===t)&&(l(),i.includes("once")&&u.disconnect())}))}),c);u.observe(e),s((()=>{u.disconnect()}))}))}},705:(e,t,n)=>{n.d(t,{A:()=>En});var r,i,o,a,s=!1,l=!1,c=[];function u(e){!function(e){c.includes(e)||c.push(e);l||s||(s=!0,queueMicrotask(d))}(e)}function f(e){let t=c.indexOf(e);-1!==t&&c.splice(t,1)}function d(){s=!1,l=!0;for(let e=0;e<c.length;e++)c[e]();c.length=0,l=!1}var p=!0;function h(e){i=e}var _=[],v=[],m=[];function b(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,v.push(t))}function g(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach((([n,r])=>{(void 0===t||t.includes(n))&&(r.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var y=new MutationObserver(N),x=!1;function w(){y.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),x=!0}function E(){(O=O.concat(y.takeRecords())).length&&!S&&(S=!0,queueMicrotask((()=>{N(O),O.length=0,S=!1}))),y.disconnect(),x=!1}var O=[],S=!1;function A(e){if(!x)return e();E();let t=e();return w(),t}var k=!1,C=[];function N(e){if(k)return void(C=C.concat(e));let t=[],n=[],r=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&("childList"===e[o].type&&(e[o].addedNodes.forEach((e=>1===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)})},l=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(l(),s()):l()}i.forEach(((e,t)=>{g(t,e)})),r.forEach(((e,t)=>{_.forEach((n=>n(t,e)))}));for(let e of n)if(!t.includes(e)&&(v.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,m.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 T(e){return $(R(e))}function j(e,t,n){return e._x_dataStack=[t,...R(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function L(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach((([e,t])=>{n[e]=t}))}function R(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?R(e.host):e.parentNode?R(e.parentNode):[]}function $(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 P(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 l;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(e,s,i):"object"!=typeof(l=o)||Array.isArray(l)||null===l||o===n||o instanceof Element||t(o,s)}))};return t(e)}function D(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=>F(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 F(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]]={}),F(e[t[0]],t.slice(1),n)}e[t[0]]=n}var I={};function M(e,t){I[e]=t}function z(e,t){return Object.entries(I).forEach((([n,r])=>{Object.defineProperty(e,`$${n}`,{get(){let[e,n]=re(t);return e={interceptor:D,...e},b(t,n),r(t,e)},enumerable:!1})})),e}function q(e,t,n,...r){try{return n(...r)}catch(n){B(n,e,t)}}function B(e,t,n=void 0){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 G(e,t,n={}){let r;return W(e,t)((e=>r=e),n),r}function W(...e){return U(...e)}var U=K;function K(e,t){let n={};z(n,e);let r=[n,...R(e)];if("function"==typeof t)return function(e,t){return(n=(()=>{}),{scope:r={},params:i=[]}={})=>{Z(n,t.apply($([r,...e]),i))}}(r,t);let i=function(e,t,n){let r=function(e,t){if(V[e])return V[e];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(() => { ${e} })()`:e;const i=()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(n){return B(n,t,e),Promise.resolve()}};let o=i();return V[e]=o,o}(t,n);return(i=(()=>{}),{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=$([o,...e]);if("function"==typeof r){let e=r(r,s).catch((e=>B(e,n,t)));r.finished?(Z(i,r.result,s,a,n),r.result=void 0):e.then((e=>{Z(i,e,s,a,n)})).catch((e=>B(e,n,t))).finally((()=>r.result=void 0))}}}(r,t,e);return q.bind(null,e,t,i)}var V={};function Z(e,t,n,r,i){if("function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then((t=>Z(e,t,n,r))).catch((e=>B(e,i,t))):e(o)}else e(t)}var Y="x-";function H(e=""){return Y+e}var J={};function X(e,t){J[e]=t}function Q(e,t,n){let r={},i=Array.from(t).map(oe(((e,t)=>r[e]=t))).filter(le).map(function(e,t){return({name:n,value:r})=>{let i=n.match(ce()),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(de);return i.map((t=>function(e,t){let n=()=>{},r=J[t.type]||n,[i,o]=re(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||(r.inline&&r.inline(e,t,i),r=r.bind(r,e,t,i),ee?te.get(ne).push(r):r())};return a.runCleanups=o,a}(e,t)))}var ee=!1,te=new Map,ne=Symbol();function re(e){let t=[],[n,r]=function(e){let t=()=>{};return[n=>{let r=i(n);return 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),o(r))},r},()=>{t()}]}(e);t.push(r);return[{Alpine:Ze,effect:n,cleanup:e=>t.push(e),evaluateLater:W.bind(W,e),evaluate:G.bind(G,e)},()=>t.forEach((e=>e()))]}var ie=(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}=ae.reduce(((e,t)=>t(e)),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var ae=[];function se(e){ae.push(e)}function le({name:e}){return ce().test(e)}var ce=()=>new RegExp(`^${Y}([^:^.]+)\\b`);var ue="DEFAULT",fe=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ue,"teleport","element"];function de(e,t){let n=-1===fe.indexOf(e.type)?ue:e.type,r=-1===fe.indexOf(t.type)?ue:t.type;return fe.indexOf(n)-fe.indexOf(r)}function pe(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}var he=[],_e=!1;function ve(e){he.push(e),queueMicrotask((()=>{_e||setTimeout((()=>{me()}))}))}function me(){for(_e=!1;he.length;)he.shift()()}function be(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>be(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let r=e.firstElementChild;for(;r;)be(r,t),r=r.nextElementSibling}function ge(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var ye=[],xe=[];function we(){return ye.map((e=>e()))}function Ee(){return ye.concat(xe).map((e=>e()))}function Oe(e){ye.push(e)}function Se(e){xe.push(e)}function Ae(e,t=!1){return ke(e,(e=>{if((t?Ee():we()).some((t=>e.matches(t))))return!0}))}function ke(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return ke(e.parentElement,t)}}function Ce(e,t=be){!function(e){ee=!0;let t=Symbol();ne=t,te.set(t,[]);let n=()=>{for(;te.get(t).length;)te.get(t).shift()();te.delete(t)};e(n),ee=!1,n()}((()=>{t(e,((e,t)=>{Q(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Ne(e,t){return Array.isArray(t)?Te(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?Ne(e,t()):Te(e,t)}function Te(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 je(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],t.startsWith("--")||(t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),e.style.setProperty(t,r)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{je(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 Le(e,t=(()=>{})){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function Re(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=(()=>{})){Pe(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=(()=>{}),r=(()=>{})){Pe(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function $e(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:$e(t)}function Pe(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,l,c;!function(e,t){let n,r,i,o=Le((()=>{A((()=>{n=!0,r||t.before(),i||(t.end(),me()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:Le((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},A((()=>{t.start(),t.during()})),_e=!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",""))),A((()=>{t.before()})),r=!0,requestAnimationFrame((()=>{n||(A((()=>{t.end()})),me(),setTimeout(e._x_transitioning.finish,o+a),i=!0)}))}))}(e,{start(){s=t(e,r)},during(){l=t(e,n)},before:o,end(){s(),c=t(e,i)},after:a,cleanup(){l(),c()}})}function De(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}X("transition",((e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),r?function(e,t,n){Re(e,Ne,"");let r={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}};r[n](t)}(e,r,t):function(e,t,n){Re(e,je);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)=>n<t.indexOf("out"))));t.includes("out")&&!r&&(t=t.filter(((e,n)=>n>t.indexOf("out"))));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),l=a||t.includes("scale"),c=s?0:1,u=l?De(t,"scale",95)/100:1,f=De(t,"delay",0),d=De(t,"origin","center"),p="opacity, transform",h=De(t,"duration",150)/1e3,_=De(t,"duration",75)/1e3,v="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:d,transitionDelay:f,transitionProperty:p,transitionDuration:`${h}s`,transitionTimingFunction:v},e._x_transition.enter.start={opacity:c,transform:`scale(${u})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(e._x_transition.leave.during={transformOrigin:d,transitionDelay:f,transitionProperty:p,transitionDuration:`${_}s`,transitionTimingFunction:v},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:c,transform:`scale(${u})`})}(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=$e(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 Fe=!1;function Ie(e,t=(()=>{})){return(...n)=>Fe?t(...n):e(...n)}function Me(e,t,n,i=[]){switch(e._x_bindings||(e._x_bindings=r({})),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=ze(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=>ze(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=je(e,t)}(e,n);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Ne(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):(qe(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}(e,t,n)}}function ze(e,t){return e==t}function qe(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 Be(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,i)}),t)}}function Ge(e,t){let n;return function(){let r=this,i=arguments;n||(e.apply(r,i),n=!0,setTimeout((()=>n=!1),t))}}var We={},Ue=!1;var Ke={};var Ve={};var Ze={get reactive(){return r},get release(){return o},get effect(){return i},get raw(){return a},version:"3.9.2",flushAndStopDeferringMutations:function(){k=!1,N(C),C=[]},disableEffectScheduling:function(e){p=!1,e(),p=!0},setReactivityEngine:function(e){r=e.reactive,o=e.release,i=t=>e.effect(t,{scheduler:e=>{p?u(e):e()}}),a=e.raw},closestDataStack:R,skipDuringClone:Ie,addRootSelector:Oe,addInitSelector:Se,addScopeToNode:j,deferMutations:function(){k=!0},mapAttributes:se,evaluateLater:W,setEvaluator:function(e){U=e},mergeProxies:$,findClosest:ke,closestRoot:Ae,interceptor:D,transition:Pe,setStyles:je,mutateDom:A,directive:X,throttle:Ge,debounce:Be,evaluate:G,initTree:Ce,nextTick:ve,prefixed:H,prefix:function(e){Y=e},plugin:function(e){e(Ze)},magic:M,store:function(e,t){if(Ue||(We=r(We),Ue=!0),void 0===t)return We[e];We[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&We[e].init(),P(We[e])},start:function(){var e;document.body||ge("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),pe(document,"alpine:init"),pe(document,"alpine:initializing"),w(),e=e=>Ce(e,be),m.push(e),b((e=>{be(e,(e=>g(e)))})),function(e){_.push(e)}(((e,t)=>{Q(e,t).forEach((e=>e()))})),Array.from(document.querySelectorAll(Ee())).filter((e=>!Ae(e.parentElement,!0))).forEach((e=>{Ce(e)})),pe(document,"alpine:initialized")},clone:function(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),Fe=!0,function(e){let t=i;h(((e,n)=>{let r=t(e);return o(r),()=>{}})),e(),h(t)}((()=>{!function(e){let t=!1;Ce(e,((e,n)=>{be(e,((e,r)=>{if(t&&function(e){return we().some((t=>e.matches(t)))}(e))return r();t=!0,n(e,r)}))}))}(t)})),Fe=!1},bound:function(e,t,n){if(e._x_bindings&&void 0!==e._x_bindings[t])return e._x_bindings[t];let r=e.getAttribute(t);return null===r?"function"==typeof n?n():n:qe(t)?!![t,"true"].includes(r):""===r||r},$data:T,data:function(e,t){Ve[e]=t},bind:function(e,t){Ke[e]="function"!=typeof t?()=>t:t}};function Ye(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}var He,Je=Object.freeze({}),Xe=(Object.freeze([]),Object.assign),Qe=Object.prototype.hasOwnProperty,et=(e,t)=>Qe.call(e,t),tt=Array.isArray,nt=e=>"[object Map]"===at(e),rt=e=>"symbol"==typeof e,it=e=>null!==e&&"object"==typeof e,ot=Object.prototype.toString,at=e=>ot.call(e),st=e=>at(e).slice(8,-1),lt=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ct=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ut=/-(\w)/g,ft=(ct((e=>e.replace(ut,((e,t)=>t?t.toUpperCase():"")))),/\B([A-Z])/g),dt=(ct((e=>e.replace(ft,"-$1").toLowerCase())),ct((e=>e.charAt(0).toUpperCase()+e.slice(1)))),pt=(ct((e=>e?`on${dt(e)}`:"")),(e,t)=>e!==t&&(e==e||t==t)),ht=new WeakMap,_t=[],vt=Symbol("iterate"),mt=Symbol("Map key iterate");var bt=0;function gt(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var yt=!0,xt=[];function wt(){const e=xt.pop();yt=void 0===e||e}function Et(e,t,n){if(!yt||void 0===He)return;let r=ht.get(e);r||ht.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=new Set),i.has(He)||(i.add(He),He.deps.push(i),He.options.onTrack&&He.options.onTrack({effect:He,target:e,type:t,key:n}))}function Ot(e,t,n,r,i,o){const a=ht.get(e);if(!a)return;const s=new Set,l=e=>{e&&e.forEach((e=>{(e!==He||e.allowRecurse)&&s.add(e)}))};if("clear"===t)a.forEach(l);else if("length"===n&&tt(e))a.forEach(((e,t)=>{("length"===t||t>=r)&&l(e)}));else switch(void 0!==n&&l(a.get(n)),t){case"add":tt(e)?lt(n)&&l(a.get("length")):(l(a.get(vt)),nt(e)&&l(a.get(mt)));break;case"delete":tt(e)||(l(a.get(vt)),nt(e)&&l(a.get(mt)));break;case"set":nt(e)&&l(a.get(vt))}s.forEach((a=>{a.options.onTrigger&&a.options.onTrigger({effect:a,target:e,key:n,type:t,newValue:r,oldValue:i,oldTarget:o}),a.options.scheduler?a.options.scheduler(a):a()}))}var St=Ye("__proto__,__v_isRef,__isVue"),At=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(rt)),kt=Lt(),Ct=Lt(!1,!0),Nt=Lt(!0),Tt=Lt(!0,!0),jt={};function Lt(e=!1,t=!1){return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&i===(e?t?ln:sn:t?an:on).get(n))return n;const o=tt(n);if(!e&&o&&et(jt,r))return Reflect.get(jt,r,i);const a=Reflect.get(n,r,i);if(rt(r)?At.has(r):St(r))return a;if(e||Et(n,"get",r),t)return a;if(pn(a)){return!o||!lt(r)?a.value:a}return it(a)?e?un(a):cn(a):a}}function Rt(e=!1){return function(t,n,r,i){let o=t[n];if(!e&&(r=dn(r),o=dn(o),!tt(t)&&pn(o)&&!pn(r)))return o.value=r,!0;const a=tt(t)&&lt(n)?Number(n)<t.length:et(t,n),s=Reflect.set(t,n,r,i);return t===dn(i)&&(a?pt(r,o)&&Ot(t,"set",n,r,o):Ot(t,"add",n,r)),s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];jt[e]=function(...e){const n=dn(this);for(let e=0,t=this.length;e<t;e++)Et(n,"get",e+"");const r=t.apply(n,e);return-1===r||!1===r?t.apply(n,e.map(dn)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];jt[e]=function(...e){xt.push(yt),yt=!1;const n=t.apply(this,e);return wt(),n}}));var $t={get:kt,set:Rt(),deleteProperty:function(e,t){const n=et(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&Ot(e,"delete",t,void 0,r),i},has:function(e,t){const n=Reflect.has(e,t);return rt(t)&&At.has(t)||Et(e,"has",t),n},ownKeys:function(e){return Et(e,"iterate",tt(e)?"length":vt),Reflect.ownKeys(e)}},Pt={get:Nt,set:(e,t)=>(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)},Dt=(Xe({},$t,{get:Ct,set:Rt(!0)}),Xe({},Pt,{get:Tt}),e=>it(e)?cn(e):e),Ft=e=>it(e)?un(e):e,It=e=>e,Mt=e=>Reflect.getPrototypeOf(e);function zt(e,t,n=!1,r=!1){const i=dn(e=e.__v_raw),o=dn(t);t!==o&&!n&&Et(i,"get",t),!n&&Et(i,"get",o);const{has:a}=Mt(i),s=r?It:n?Ft:Dt;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function qt(e,t=!1){const n=this.__v_raw,r=dn(n),i=dn(e);return e!==i&&!t&&Et(r,"has",e),!t&&Et(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function Bt(e,t=!1){return e=e.__v_raw,!t&&Et(dn(e),"iterate",vt),Reflect.get(e,"size",e)}function Gt(e){e=dn(e);const t=dn(this);return Mt(t).has.call(t,e)||(t.add(e),Ot(t,"add",e,e)),this}function Wt(e,t){t=dn(t);const n=dn(this),{has:r,get:i}=Mt(n);let o=r.call(n,e);o?rn(n,r,e):(e=dn(e),o=r.call(n,e));const a=i.call(n,e);return n.set(e,t),o?pt(t,a)&&Ot(n,"set",e,t,a):Ot(n,"add",e,t),this}function Ut(e){const t=dn(this),{has:n,get:r}=Mt(t);let i=n.call(t,e);i?rn(t,n,e):(e=dn(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&Ot(t,"delete",e,void 0,o),a}function Kt(){const e=dn(this),t=0!==e.size,n=nt(e)?new Map(e):new Set(e),r=e.clear();return t&&Ot(e,"clear",void 0,void 0,n),r}function Vt(e,t){return function(n,r){const i=this,o=i.__v_raw,a=dn(o),s=t?It:e?Ft:Dt;return!e&&Et(a,"iterate",vt),o.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function Zt(e,t,n){return function(...r){const i=this.__v_raw,o=dn(i),a=nt(o),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=i[e](...r),u=n?It:t?Ft:Dt;return!t&&Et(o,"iterate",l?mt:vt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Yt(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${dt(e)} operation ${n}failed: target is readonly.`,dn(this))}return"delete"!==e&&this}}var Ht={get(e){return zt(this,e)},get size(){return Bt(this)},has:qt,add:Gt,set:Wt,delete:Ut,clear:Kt,forEach:Vt(!1,!1)},Jt={get(e){return zt(this,e,!1,!0)},get size(){return Bt(this)},has:qt,add:Gt,set:Wt,delete:Ut,clear:Kt,forEach:Vt(!1,!0)},Xt={get(e){return zt(this,e,!0)},get size(){return Bt(this,!0)},has(e){return qt.call(this,e,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Vt(!0,!1)},Qt={get(e){return zt(this,e,!0,!0)},get size(){return Bt(this,!0)},has(e){return qt.call(this,e,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Vt(!0,!0)};function en(e,t){const n=t?e?Qt:Jt:e?Xt:Ht;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(et(n,r)&&r in t?n:t,r,i)}["keys","values","entries",Symbol.iterator].forEach((e=>{Ht[e]=Zt(e,!1,!1),Xt[e]=Zt(e,!0,!1),Jt[e]=Zt(e,!1,!0),Qt[e]=Zt(e,!0,!0)}));var tn={get:en(!1,!1)},nn=(en(!1,!0),{get:en(!0,!1)});en(!0,!0);function rn(e,t,n){const r=dn(n);if(r!==n&&t.call(e,r)){const t=st(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 on=new WeakMap,an=new WeakMap,sn=new WeakMap,ln=new WeakMap;function cn(e){return e&&e.__v_isReadonly?e:fn(e,!1,$t,tn,on)}function un(e){return fn(e,!0,Pt,nn,sn)}function fn(e,t,n,r,i){if(!it(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(st(s));var s;if(0===a)return e;const l=new Proxy(e,2===a?r:n);return i.set(e,l),l}function dn(e){return e&&dn(e.__v_raw)||e}function pn(e){return Boolean(e&&!0===e.__v_isRef)}M("nextTick",(()=>ve)),M("dispatch",(e=>pe.bind(pe,e))),M("watch",((e,{evaluateLater:t,effect:n})=>(r,i)=>{let o,a=t(r),s=!0,l=n((()=>a((e=>{JSON.stringify(e),s?o=e:queueMicrotask((()=>{i(e,o),o=e})),s=!1}))));e._x_effects.delete(l)})),M("store",(function(){return We})),M("data",(e=>T(e))),M("root",(e=>Ae(e))),M("refs",(e=>(e._x_refs_proxy||(e._x_refs_proxy=$(function(e){let t=[],n=e;for(;n;)n._x_refs&&t.push(n._x_refs),n=n.parentNode;return t}(e))),e._x_refs_proxy)));var hn={};function _n(e){return hn[e]||(hn[e]=0),++hn[e]}M("id",(e=>(t,n=null)=>{let r=function(e,t){return ke(e,(e=>{if(e._x_ids&&e._x_ids[t])return!0}))}(e,t),i=r?r._x_ids[t]:_n(t);return n?`${t}-${i}-${n}`:`${t}-${i}`})),M("el",(e=>e)),X("modelable",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t),o=()=>{let e;return i((t=>e=t)),e},a=r(`${t} = __placeholder`),s=e=>a((()=>{}),{scope:{__placeholder:e}}),l=o();s(l),queueMicrotask((()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let t=e._x_model.get,r=e._x_model.set;n((()=>s(t()))),n((()=>r(o())))}))})),X("teleport",((e,{expression:t},{cleanup:n})=>{"template"!==e.tagName.toLowerCase()&&ge("x-teleport can only be used on a <template> tag",e);let r=document.querySelector(t);r||ge(`Cannot find x-teleport element for selector: "${t}"`);let i=e.content.cloneNode(!0).firstElementChild;e._x_teleport=i,i._x_teleportBack=e,e._x_forwardEvents&&e._x_forwardEvents.forEach((t=>{i.addEventListener(t,(t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))}))})),j(i,{},e),A((()=>{r.appendChild(i),Ce(i),i._x_ignore=!0})),n((()=>i.remove()))}));var vn=()=>{};function mn(e,t,n,r){let i=e,o=e=>r(e),a={},s=(e,t)=>n=>t(e,n);if(n.includes("dot")&&(t=t.replace(/-/g,".")),n.includes("camel")&&(t=function(e){return e.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase()))}(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("prevent")&&(o=s(o,((e,t)=>{t.preventDefault(),e(t)}))),n.includes("stop")&&(o=s(o,((e,t)=>{t.stopPropagation(),e(t)}))),n.includes("self")&&(o=s(o,((t,n)=>{n.target===e&&t(n)}))),(n.includes("away")||n.includes("outside"))&&(i=document,o=s(o,((t,n)=>{e.contains(n.target)||!1!==n.target.isConnected&&(e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&t(n))}))),n.includes("once")&&(o=s(o,((e,n)=>{e(n),i.removeEventListener(t,o,a)}))),o=s(o,((e,r)=>{(function(e){return["keydown","keyup"].includes(e)})(t)&&function(e,t){let n=t.filter((e=>!["window","document","prevent","stop","once"].includes(e)));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,bn((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length)return!1;if(1===n.length&&gn(e.key).includes(n[0]))return!1;const r=["ctrl","shift","alt","meta","cmd","super"].filter((e=>n.includes(e)));if(n=n.filter((e=>!r.includes(e))),r.length>0){if(r.filter((t=>("cmd"!==t&&"super"!==t||(t="meta"),e[`${t}Key`]))).length===r.length&&gn(e.key).includes(n[0]))return!1}return!0}(r,n)||e(r)})),n.includes("debounce")){let e=n[n.indexOf("debounce")+1]||"invalid-wait",t=bn(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=Be(o,t)}if(n.includes("throttle")){let e=n[n.indexOf("throttle")+1]||"invalid-wait",t=bn(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=Ge(o,t)}return i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function bn(e){return!Array.isArray(e)&&!isNaN(e)}function gn(e){if(!e)return[];e=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let t={ctrl:"control",slash:"/",space:"-",spacebar:"-",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"="};return t[e]=e,Object.keys(t).map((n=>{if(t[n]===e)return n})).filter((e=>e))}function yn(e){let t=e?parseFloat(e):null;return n=t,Array.isArray(n)||isNaN(n)?e:t;var n}function xn(e,t,n,r){let i={};if(/^\[.*\]$/.test(e.item)&&Array.isArray(t)){e.item.replace("[","").replace("]","").split(",").map((e=>e.trim())).forEach(((e,n)=>{i[e]=t[n]}))}else if(/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&"object"==typeof t){e.item.replace("{","").replace("}","").split(",").map((e=>e.trim())).forEach((e=>{i[e]=t[e]}))}else i[e.item]=t;return e.index&&(i[e.index]=n),e.collection&&(i[e.collection]=r),i}function wn(){}vn.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n((()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore}))},X("ignore",vn),X("effect",((e,{expression:t},{effect:n})=>n(W(e,t)))),X("model",((e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o=W(e,n),a=W(e,`${n} = rightSideOfExpression($event, ${n})`);var s="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let l=function(e,t,n){"radio"===e.type&&A((()=>{e.hasAttribute("name")||e.setAttribute("name",n)}));return(n,r)=>A((()=>{if(n instanceof CustomEvent&&void 0!==n.detail)return n.detail||n.target.value;if("checkbox"===e.type){if(Array.isArray(r)){let e=t.includes("number")?yn(n.target.value):n.target.value;return n.target.checked?r.concat([e]):r.filter((t=>!(t==e)))}return n.target.checked}if("select"===e.tagName.toLowerCase()&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map((e=>yn(e.value||e.text))):Array.from(n.target.selectedOptions).map((e=>e.value||e.text));{let e=n.target.value;return t.includes("number")?yn(e):t.includes("trim")?e.trim():e}}))}(e,t,n),c=mn(e,s,t,(e=>{a((()=>{}),{scope:{$event:e,rightSideOfExpression:l}})}));e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=c,i((()=>e._x_removeModelListeners.default()));let u=W(e,`${n} = __placeholder`);e._x_model={get(){let e;return o((t=>e=t)),e},set(e){u((()=>{}),{scope:{__placeholder:e}})}},e._x_forceModelUpdate=()=>{o((t=>{void 0===t&&n.match(/\./)&&(t=""),window.fromModel=!0,A((()=>Me(e,"value",t))),delete window.fromModel}))},r((()=>{t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate()}))})),X("cloak",(e=>queueMicrotask((()=>A((()=>e.removeAttribute(H("cloak")))))))),Se((()=>`[${H("init")}]`)),X("init",Ie(((e,{expression:t},{evaluate:n})=>"string"==typeof t?!!t.trim()&&n(t,{},!1):n(t,{},!1)))),X("text",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{A((()=>{e.textContent=t}))}))}))})),X("html",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{e.innerHTML=t}))}))})),se(ie(":",H("bind:"))),X("bind",((e,{value:t,modifiers:n,expression:r,original:i},{effect:o})=>{if(!t)return function(e,t,n,r){let i={};o=i,Object.entries(Ke).forEach((([e,t])=>{Object.defineProperty(o,e,{get:()=>(...e)=>t(...e)})}));var o;let a=W(e,t),s=[];for(;s.length;)s.pop()();a((t=>{let r=Object.entries(t).map((([e,t])=>({name:e,value:t}))),i=function(e){return Array.from(e).map(oe()).filter((e=>!le(e)))}(r);r=r.map((e=>i.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),Q(e,r,n).map((e=>{s.push(e.runCleanups),e()}))}),{scope:i})}(e,r,i);if("key"===t)return function(e,t){e._x_keyExpression=t}(e,r);let a=W(e,r);o((()=>a((i=>{void 0===i&&r.match(/\./)&&(i=""),A((()=>Me(e,t,i,n)))}))))})),Oe((()=>`[${H("data")}]`)),X("data",Ie(((e,{expression:t},{cleanup:n})=>{t=""===t?"{}":t;let i={};z(i,e);let o={};var a,s;a=o,s=i,Object.entries(Ve).forEach((([e,t])=>{Object.defineProperty(a,e,{get:()=>(...e)=>t.bind(s)(...e),enumerable:!1})}));let l=G(e,t,{scope:o});void 0===l&&(l={}),z(l,e);let c=r(l);P(c);let u=j(e,c);c.init&&G(e,c.init),n((()=>{c.destroy&&G(e,c.destroy),u()}))}))),X("show",((e,{modifiers:t,expression:n},{effect:r})=>{let i,o=W(e,n),a=()=>A((()=>{e.style.display="none",e._x_isShown=!1})),s=()=>A((()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display"),e._x_isShown=!0})),l=()=>setTimeout(s),c=Le((e=>e?s():a()),(t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,s,a):t?l():a()})),u=!0;r((()=>o((e=>{(u||e!==i)&&(t.includes("immediate")&&(e?l():a()),c(e),i=e,u=!1)}))))})),X("for",((e,{expression:t},{effect:n,cleanup:i})=>{let o=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(r);if(!i)return;let o={};o.items=i[2].trim();let a=i[1].replace(n,"").trim(),s=a.match(t);s?(o.item=a.replace(t,"").trim(),o.index=s[1].trim(),s[2]&&(o.collection=s[2].trim())):o.item=a;return o}(t),a=W(e,o.items),s=W(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n((()=>function(e,t,n,i){let o=e=>"object"==typeof e&&!Array.isArray(e),a=e;n((n=>{var s;s=n,!Array.isArray(s)&&!isNaN(s)&&n>=0&&(n=Array.from(Array(n).keys(),(e=>e+1))),void 0===n&&(n=[]);let l=e._x_lookup,c=e._x_prevKeys,u=[],d=[];if(o(n))n=Object.entries(n).map((([e,r])=>{let o=xn(t,r,e,n);i((e=>d.push(e)),{scope:{index:e,...o}}),u.push(o)}));else for(let e=0;e<n.length;e++){let r=xn(t,n[e],e,n);i((e=>d.push(e)),{scope:{index:e,...r}}),u.push(r)}let p=[],h=[],_=[],v=[];for(let e=0;e<c.length;e++){let t=c[e];-1===d.indexOf(t)&&_.push(t)}c=c.filter((e=>!_.includes(e)));let m="template";for(let e=0;e<d.length;e++){let t=d[e],n=c.indexOf(t);if(-1===n)c.splice(e,0,t),p.push([m,e]);else if(n!==e){let t=c.splice(e,1)[0],r=c.splice(n-1,1)[0];c.splice(e,0,r),c.splice(n,0,t),h.push([t,r])}else v.push(t);m=t}for(let e=0;e<_.length;e++){let t=_[e];l[t]._x_effects&&l[t]._x_effects.forEach(f),l[t].remove(),l[t]=null,delete l[t]}for(let e=0;e<h.length;e++){let[t,n]=h[e],r=l[t],i=l[n],o=document.createElement("div");A((()=>{i.after(o),r.after(i),i._x_currentIfEl&&i.after(i._x_currentIfEl),o.before(r),r._x_currentIfEl&&r.after(r._x_currentIfEl),o.remove()})),L(i,u[d.indexOf(n)])}for(let e=0;e<p.length;e++){let[t,n]=p[e],i="template"===t?a:l[t];i._x_currentIfEl&&(i=i._x_currentIfEl);let o=u[n],s=d[n],c=document.importNode(a.content,!0).firstElementChild;j(c,r(o),a),A((()=>{i.after(c),Ce(c)})),"object"==typeof s&&ge("x-for key cannot be an object, it must be a string or an integer",a),l[s]=c}for(let e=0;e<v.length;e++)L(l[v[e]],u[d.indexOf(v[e])]);a._x_prevKeys=d}))}(e,o,a,s))),i((()=>{Object.values(e._x_lookup).forEach((e=>e.remove())),delete e._x_prevKeys,delete e._x_lookup}))})),wn.inline=(e,{expression:t},{cleanup:n})=>{let r=Ae(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n((()=>delete r._x_refs[t]))},X("ref",wn),X("if",((e,{expression:t},{effect:n,cleanup:r})=>{let i=W(e,t);n((()=>i((t=>{t?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;j(t,{},e),A((()=>{e.after(t),Ce(t)})),e._x_currentIfEl=t,e._x_undoIf=()=>{be(t,(e=>{e._x_effects&&e._x_effects.forEach(f)})),t.remove(),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})))),r((()=>e._x_undoIf&&e._x_undoIf()))})),X("id",((e,{expression:t},{evaluate:n})=>{n(t).forEach((t=>function(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=_n(t))}(e,t)))})),se(ie("@",H("on:"))),X("on",Ie(((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?W(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=mn(e,t,n,(e=>{o((()=>{}),{scope:{$event:e},params:[e]})}));i((()=>a()))}))),Ze.setEvaluator(K),Ze.setReactivityEngine({reactive:cn,effect:function(e,t=Je){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return e();if(!_t.includes(n)){gt(n);try{return xt.push(yt),yt=!0,_t.push(n),He=n,e()}finally{_t.pop(),wt(),He=_t[_t.length-1]}}};return n.id=bt++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n},release:function(e){e.active&&(gt(e),e.options.onStop&&e.options.onStop(),e.active=!1)},raw:dn});var En=Ze}}]);