PageSourceSearch

https://engadin-skimarathon.ch/build/assets/@alpinejs-XdMnWbkU.js

js engadin-skimarathon.ch collected 2026-10-02 10:52:52 UTC 22,874 bytes, 1 lines download raw bytes

1function ge(a){a.directive("collapse",e),e.inline=(t,{modifiers:n})=>{n.includes("min")&&(t._x_doShow=()=>{},t._x_doHide=()=>{})};function e(t,{modifiers:n}){let r=W(n,"duration",250)/1e3,i=W(n,"min",0),o=!n.includes("min");t._x_isShown||(t.style.height=`${i}px`),!t._x_isShown&&o&&(t.hidden=!0),t._x_isShown||(t.style.overflow="hidden");let d=(u,v)=>{let f=a.setStyles(u,v);return v.height?()=>{}:f},c={transitionProperty:"height",transitionDuration:`${r}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};t._x_transition={in(u=()=>{},v=()=>{}){o&&(t.hidden=!1),o&&(t.style.display=null);let f=t.getBoundingClientRect().height;t.style.height="auto";let p=t.getBoundingClientRect().height;f===p&&(f=i),a.transition(t,a.setStyles,{during:c,start:{height:f+"px"},end:{height:p+"px"}},()=>t._x_isShown=!0,()=>{Math.abs(t.getBoundingClientRect().height-p)<1&&(t.style.overflow=null)})},out(u=()=>{},v=()=>{}){let f=t.getBoundingClientRect().height;a.transition(t,d,{during:c,start:{height:f+"px"},end:{height:i+"px"}},()=>t.style.overflow="hidden",()=>{t._x_isShown=!1,t.style.height==`${i}px`&&o&&(t.style.display="none",t.hidden=!0)})}}}}function W(a,e,t){if(a.indexOf(e)===-1)return t;const n=a[a.indexOf(e)+1];if(!n)return t;if(e==="duration"){let r=n.match(/([0-9]+)ms/);if(r)return r[1]}if(e==="min"){let r=n.match(/([0-9]+)px/);if(r)return r[1]}return n}var ze=ge,ae=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],$=ae.join(","),oe=typeof Element>"u",F=oe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,V=!oe&&Element.prototype.getRootNode?function(a){return a.getRootNode()}:function(a){return a.ownerDocument},ue=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll($));return t&&F.call(e,$)&&r.unshift(e),r=r.filter(n),r},le=function a(e,t,n){for(var r=[],i=Array.from(e);i.length;){var o=i.shift();if(o.tagName==="SLOT"){var d=o.assignedElements(),c=d.length?d:o.children,u=a(c,!0,n);
vendor: 4,239 bytes, line 1
1n.flatten?r.push.apply(r,u):r.push({scope:o,candidates:u})}else{var v=F.call(o,$);v&&n.filter(o)&&(t||!e.includes(o))&&r.push(o);var f=o.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(o),p=!n.shadowRootFilter||n.shadowRootFilter(o);if(f&&p){var x=a(f===!0?o.children:f.children,!0,n);n.flatten?r.push.apply(r,x):r.push({scope:o,candidates:x})}else i.unshift.apply(i,o.children)}}return r},se=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},me=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ce=function(e){return e.tagName==="INPUT"},ye=function(e){return ce(e)&&e.type==="hidden"},we=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Se=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},xe=function(e){if(!e.name)return!0;var t=e.form||V(e),n=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(o){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",o.message),!1}var i=Se(r,e.form);return!i||i===e},Te=function(e){return ce(e)&&e.type==="radio"},Ce=function(e){return Te(e)&&!xe(e)},q=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Ne=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var i=F.call(e,"details>summary:first-of-type"),o=i?e.parentElement:e;if(F.call(o,"details:not([open]) *"))return!0;var d=V(e).host,c=d?.ownerDocument.contains(d)||e.ownerDocument.contains(e);if(!n||n==="full"){if(typeof r=="function"){for(var u=e;e;){var v=e.parentElement,f=V(e);if(v&&!v.shadowRoot&&r(v)===!0)return q(e);e.assignedSlot?e=e.assignedSlot:!v&&f!==e.ownerDocument?e=f.host:e=v}e=u}if(c)return!e.getClientRects().length}else if(n==="non-zero-area")return q(e);return!1},Ee=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return F.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||ye(t)||Ne(t,e)||we(t)||Ee(t))},G=function(e,t){return!(Ce(t)||se(t)<0||!M(e,t))},ke=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Fe=function a(e){var t=[],n=[];return e.forEach(function(r,i){var o=!!r.scope,d=o?r.scope:r,c=se(d,o),u=o?a(r.candidates):d;c===0?o?t.push.apply(t,u):t.push(d):n.push({documentOrder:i,tabIndex:c,item:r,isScope:o,content:u})}),n.sort(me).reduce(function(r,i){return i.isScope?r.push.apply(r,i.content):r.push(i.content),r},[]).concat(t)},Ae=function(e,t){t=t||{};var n;return t.getShadowRoot?n=le([e],t.includeContainer,{filter:G.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ke}):n=ue(e,t.includeContainer,G.bind(null,t)),Fe(n)},de=function(e,t){t=t||{};var n;return t.getShadowRoot?n=le([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=ue(e,t.includeContainer,M.bind(null,t)),n},L=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return F.call(e,$)===!1?!1:G(t,e)},_e=ae.concat("iframe").join(","),K=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return F.call(e,_e)===!1?!1:M(t,e)};function Y(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),t.push.apply(t,n)}return t}function z(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Y(Object(t),!0).forEach(function(n){De(a,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEac
1h(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(t,n))})}return a}function De(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var J=(function(){var a=[];return{activateTrap:function(t){if(a.length>0){var n=a[a.length-1];n!==t&&n.pause()}var r=a.indexOf(t);r===-1||a.splice(r,1),a.push(t)},deactivateTrap:function(t){var n=a.indexOf(t);n!==-1&&a.splice(n,1),a.length>0&&a[a.length-1].unpause()}}})(),Oe=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Re=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},Ie=function(e){return e.key==="Tab"||e.keyCode===9},Z=function(e){return setTimeout(e,0)},Q=function(e,t){var n=-1;return e.every(function(r,i){return t(r)?(n=i,!1):!0}),n},_=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 typeof e=="function"?e.apply(void 0,n):e},P=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Be=function(e,t){var n=t?.document||document,r=z({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o,d=function(s,l,b){return s&&s[l]!==void 0?s[l]:r[b||l]},c=function(s){return i.containerGroups.findIndex(function(l){var b=l.container,y=l.tabbableNodes;return b.contains(s)||y.find(function(m){return m===s})})},u=function(s){var l=r[s];if(typeof l=="function"){for(var b=arguments.length,y=new Array(b>1?b-1:0),m=1;m<b;m++)y[m-1]=arguments[m];l=l.apply(void 0,y)}if(l===!0&&(l=void 0),!l){if(l===void 0||l===!1)return l;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var w=l;if(typeof l=="string"&&(w=n.querySelector(l),!w))throw new Error("`".concat(s,"` as selector refers to no known node"));return w},v=function(){var s=u("initialFocus");if(s===!1)return!1;if(s===void 0)if(c(n.activeElement)>=0)s=n.activeElement;else{var l=i.tabbableGroups[0],b=l&&l.firstTabbableNode;s=b||u("fallbackFocus")}if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},f=function(){if(i.containerGroups=i.containers.map(function(s){var l=Ae(s,r.tabbableOptions),b=de(s,r.tabbableOptions);return{container:s,tabbableNodes:l,focusableNodes:b,firstTabbableNode:l.length>0?l[0]:null,lastTabbableNode:l.length>0?l[l.length-1]:null,nextTabbableNode:function(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,N=b.findIndex(function(E){return E===m});if(!(N<0))return w?b.slice(N+1).find(function(E){return L(E,r.tabbableOptions)}):b.slice(0,N).reverse().find(function(E){return L(E,r.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function g(s){if(s!==!1&&s!==n.activeElement){if(!s||!s.focus){g(v());return}s.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=s,Oe(s)&&s.select()}},x=function(s){var l=u("setReturnFocus",s);return l||(l===!1?!1:s)},T=function(s){var l=P(s);if(!(c(l)>=0)){if(_(r.clickOutsideDeactivates,s)){o.deactivate({returnFocus:r.returnFocusOnDeactivate&&!K(l,r.tabbableOptions)});return}_(r.allowOutsideClick,s)||s.preventDefault()}},k=function(s){var l=P(s),b=c(l)>=0;b||l instanceof Document?b&&(i.mostRecentlyFocusedNode=l):(s.stopImmediatePropagation(),p(i.mostRecentlyFocusedNode||v()))},h=function(s){var l=P(s);f();var b=null;if(i.tabbableGroups.length>0){var y=c(l),m=y>=0?i.containerGroups[y]:void 0;if(y<0)s.shiftKey?b=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:b=i.tabbableGroups[0].firstTabbableNode;else if(s.shiftKey){var w=Q(i.tabbableGroups,function(j){var U=j.firstTabbableNode;return l===U});if(w<0&&(m.container===l||K(l,r.tabbableOptions)&&!L(l,r.tabbableOptions)&&!m.nextTabbableNode(l,!1))&&(w=y),w>=0){var N=w===0?i.tabbableGroups.length-1:w-1,E=i.tabbableGroups[N];b=E.lastTabbableNode}}else{var A=Q(i.tabbableGroups,function(j){var U=j.lastTabbableNode;return l===U});if(A<0&&(m.container===l||K(l,r.tabbableOptions)&&!L(l,r.tabbableOptions)&&!m.nextTabbableNode(l))&&(A=y),A>=0){var be=A===i.tabbableGroups.length-1?0:A+1,pe=i.tabbableGroups[be];b=pe.firstTabbableNode}}}else b=u("fallbackFocus");b&&(s.preventDefault(),p(b))},C=function(s){if(Re(s)&&_(r.escapeDeactivates,s)!==!1){s.preventDefault(),o.deactivate();return}if(Ie(s)){h(s);return}},R=function(s){var l=P(s);c(l)>
1=0||_(r.clickOutsideDeactivates,s)||_(r.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},I=function(){if(i.active)return J.activateTrap(o),i.delayInitialFocusTimer=r.delayInitialFocus?Z(function(){p(v())}):p(v()),n.addEventListener("focusin",k,!0),n.addEventListener("mousedown",T,{capture:!0,passive:!1}),n.addEventListener("touchstart",T,{capture:!0,passive:!1}),n.addEventListener("click",R,{capture:!0,passive:!1}),n.addEventListener("keydown",C,{capture:!0,passive:!1}),o},B=function(){if(i.active)return n.removeEventListener("focusin",k,!0),n.removeEventListener("mousedown",T,!0),n.removeEventListener("touchstart",T,!0),n.removeEventListener("click",R,!0),n.removeEventListener("keydown",C,!0),o};return o={get active(){return i.active},get paused(){return i.paused},activate:function(s){if(i.active)return this;var l=d(s,"onActivate"),b=d(s,"onPostActivate"),y=d(s,"checkCanFocusTrap");y||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=n.activeElement,l&&l();var m=function(){y&&f(),I(),b&&b()};return y?(y(i.containers.concat()).then(m,m),this):(m(),this)},deactivate:function(s){if(!i.active)return this;var l=z({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},s);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,B(),i.active=!1,i.paused=!1,J.deactivateTrap(o);var b=d(l,"onDeactivate"),y=d(l,"onPostDeactivate"),m=d(l,"checkCanReturnFocus"),w=d(l,"returnFocus","returnFocusOnDeactivate");b&&b();var N=function(){Z(function(){w&&p(x(i.nodeFocusedBeforeActivation)),y&&y()})};return w&&m?(m(x(i.nodeFocusedBeforeActivation)).then(N,N),this):(N(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,B(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,f(),I(),this)},updateContainerElements:function(s){var l=[].concat(s).filter(Boolean);return i.containers=l.map(function(b){return typeof b=="string"?n.querySelector(b):b}),i.active&&f(),this}},o.updateContainerElements(e),o};function Le(a){let e,t;window.addEventListener("focusin",()=>{e=t,t=document.activeElement}),a.magic("focus",n=>{let r=n;return{__noscroll:!1,__wrapAround:!1,within(i){return r=i,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable(i){return K(i)},previouslyFocused(){return e},lastFocused(){return e},focused(){return t},focusables(){return Array.isArray(r)?r:de(r,{displayCheck:"none"})},all(){return this.focusables()},isFirst(i){let o=this.all();return o[0]&&o[0].isSameNode(i)},isLast(i){let o=this.all();return o.length&&o.slice(-1)[0].isSameNode(i)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let i=this.all(),o=document.activeElement;if(i.indexOf(o)!==-1)return this.__wrapAround&&i.indexOf(o)===i.length-1?i[0]:i[i.indexOf(o)+1]},getPrevious(){let i=this.all(),o=document.activeElement;if(i.indexOf(o)!==-1)return this.__wrapAround&&i.indexOf(o)===0?i.slice(-1)[0]:i[i.indexOf(o)-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(i){i&&setTimeout(()=>{i.hasAttribute("tabindex")||i.setAttribute("tabindex","0"),i.focus({preventScroll:this.__noscroll})})}}}),a.directive("trap",a.skipDuringClone((n,{expression:r,modifiers:i},{effect:o,evaluateLater:d,cleanup:c})=>{let u=d(r),v=!1,f={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>n},p=()=>{};if(i.includes("noautofocus"))f.initialFocus=!1;else{let h=n.querySelector("[autofocus]");h&&(f.initialFocus=h)}i.includes("inert")&&(f.onPostActivate=()=>{a.nextTick(()=>{p=X(n)})});let x=Be(n,f),T=()=>{};const k=()=>{p(),p=()=>{},T(),T=()=>{},x.deactivate({returnFocus:!i.includes("noreturn")})};o(()=>u(h=>{v!==h&&(h&&!v&&(i.includes("noscroll")&&(T=Pe()),setTimeout(()=>{x.activate()},15)),!h&&v&&k(),v=!!h)})),c(k)},(n,{expression:r,modifiers:i},{evaluate:o})=>{i.includes("inert")&&o(r)&&X(n)}))}function X(a){let e=[];return fe(a,t=>{let n=t.hasAttribute("aria-hidden");t.setAttribute("aria-hidden","true"),e.push(()=>n||t.removeAttribute("aria-hidden"))}),()=>{for(;e.length;)e.pop()()}}function fe(a,e){a.isSameNode(document.body)||!a.parentNode||Array.from(a.parentNode.children).forEac
vendor: 4,698 bytes, line 1
1h(t=>{t.isSameNode(a)?fe(a.parentNode,e):e(t)})}function Pe(){let a=document.documentElement.style.overflow,e=document.documentElement.style.paddingRight,t=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${t}px`,()=>{document.documentElement.style.overflow=a,document.documentElement.style.paddingRight=e}}var Je=Le;function H(a,e,t){ve();let n=he(t),r=typeof e=="string"?Me(e):e;return window.Alpine&&window.Alpine.closestDataStack&&!a._x_dataStack&&(r._x_dataStack=window.Alpine.closestDataStack(a),r._x_dataStack&&window.Alpine.cloneNode(a,r)),n.patch(a,r),a}function Ke(a,e,t,n={}){ve();let r=he(n),i=a.parentNode,o=new O(a,e),d=typeof t=="string"?(()=>{let f=document.createElement("div");return f.insertAdjacentHTML("beforeend",t),f})():t,c=document.createComment("[morph-start]"),u=document.createComment("[morph-end]");d.insertBefore(c,d.firstChild),d.appendChild(u);let v=new O(c,u);window.Alpine&&window.Alpine.closestDataStack&&(d._x_dataStack=window.Alpine.closestDataStack(i),d._x_dataStack&&window.Alpine.cloneNode(i,d)),r.patchChildren(o,v)}function he(a={}){let e=r=>r.getAttribute("key"),t=()=>{},n={key:a.key||e,lookahead:a.lookahead||!1,updating:a.updating||t,updated:a.updated||t,removing:a.removing||t,removed:a.removed||t,adding:a.adding||t,added:a.added||t};return n.patch=function(r,i){if(n.differentElementNamesTypesOrKeys(r,i))return n.swapElements(r,i);let o=!1,d=!1,c=u=>n.skipUntilCondition=u;if(!$e(n.updating,()=>d=!0,c,r,i,()=>o=!0)){if(r.nodeType===1&&window.Alpine&&(window.Alpine.cloneNode(r,i),r._x_teleport&&i._x_teleport&&n.patch(r._x_teleport,i._x_teleport)),je(i)){n.patchNodeValue(r,i),n.updated(r,i);return}o||n.patchAttributes(r,i),n.updated(r,i),d||n.patchChildren(r,i)}},n.differentElementNamesTypesOrKeys=function(r,i){return r.nodeType!=i.nodeType||r.nodeName!=i.nodeName||n.getKey(r)!=n.getKey(i)},n.swapElements=function(r,i){if(D(n.removing,r))return;let o=i.cloneNode(!0);D(n.adding,o)||(r.replaceWith(o),n.removed(r),n.added(o))},n.patchNodeValue=function(r,i){let o=i.nodeValue;r.nodeValue!==o&&(r.nodeValue=o)},n.patchAttributes=function(r,i){if(r._x_transitioning||r._x_isShown&&!i._x_isShown||!r._x_isShown&&i._x_isShown)return;let o=Array.from(r.attributes),d=Array.from(i.attributes);for(let c=o.length-1;c>=0;c--){let u=o[c].name;i.hasAttribute(u)||r.removeAttribute(u)}for(let c=d.length-1;c>=0;c--){let u=d[c].name,v=d[c].value;r.getAttribute(u)!==v&&r.setAttribute(u,v)}},n.patchChildren=function(r,i){let o=n.keyToMap(r.children),d={},c=te(i),u=te(r);for(;c;){Ue(c,u);let f=n.getKey(c),p=n.getKey(u);if(n.skipUntilCondition){let h=!u||n.skipUntilCondition(u),C=!c||n.skipUntilCondition(c);if(h&&C)n.skipUntilCondition=null;else{h||(u=u&&S(r,u)),C||(c=c&&S(i,c));continue}}if(!u)if(f&&d[f]){let h=d[f];r.appendChild(h),u=h,p=n.getKey(u)}else{if(!D(n.adding,c)){let h=c.cloneNode(!0);r.appendChild(h),n.added(h)}c=S(i,c);continue}let x=h=>h&&h.nodeType===8&&h.textContent==="[if BLOCK]><![endif]",T=h=>h&&h.nodeType===8&&h.textContent==="[if ENDBLOCK]><![endif]";if(x(c)&&x(u)){let h=0,C=u;for(;u;){let l=S(r,u);if(x(l))h++;else if(T(l)&&h>0)h--;else if(T(l)&&h===0){u=l;break}u=l}let R=u;h=0;let I=c;for(;c;){let l=S(i,c);if(x(l))h++;else if(T(l)&&h>0)h--;else if(T(l)&&h===0){c=l;break}c=l}let B=c,g=new O(C,R),s=new O(I,B);n.patchChildren(g,s);continue}if(u.nodeType===1&&n.lookahead&&!u.isEqualNode(c)){let h=S(i,c),C=!1;for(;!C&&h;)h.nodeType===1&&u.isEqualNode(h)&&(C=!0,u=n.addNodeBefore(r,c,u),p=n.getKey(u)),h=S(i,h)}if(f!==p){if(!f&&p){d[p]=u,u=n.addNodeBefore(r,c,u),d[p].remove(),u=S(r,u),c=S(i,c);continue}if(f&&!p&&o[f]&&(u.replaceWith(o[f]),u=o[f],p=n.getKey(u)),f&&p){let h=o[f];if(h)d[p]=u,u.replaceWith(h),u=h,p=n.getKey(u);else{d[p]=u,u=n.addNodeBefore(r,c,u),d[p].remove(),u=S(r,u),c=S(i,c);continue}}}let k=u&&S(r,u);n.patch(u,c),c=c&&S(i,c),u=k}let v=[];for(;u;)D(n.removing,u)||v.push(u),u=S(r,u);for(;v.length;){let f=v.shift();f.remove(),n.removed(f)}},n.getKey=function(r){return r&&r.nodeType===1&&n.key(r)},n.keyToMap=function(r){let i={};for(let o of r){let d=n.getKey(o);d&&(i[d]=o)}return i},n.addNodeBefore=function(r,i,o){if(!D(n.adding,i)){let d=i.cloneNode(!0);return r.insertBefore(d,o),n.added(d),d}return i},n}H.step=()=>{};H.log=()=>{};function D(a,...e){let t=!1;return a(...e,()=>t=!0),t}function $e(a,e,t,...n){let r=!1;return a(...n,()=>r=!0,e,t),r}var ee=!1;function Me(a){const e=document.createElement("template");return e.innerHTML=a,e.content.firstElementChild}function je(a){return a.nodeType===3||a.nodeType===8}var O=class{constructor(a,e){this.startComment=a,this.endComment=e}
1get children(){let a=[],e=this.startComment.nextSibling;for(;e&&e!==this.endComment;)a.push(e),e=e.nextSibling;return a}appendChild(a){this.endComment.before(a)}get firstChild(){let a=this.startComment.nextSibling;if(a!==this.endComment)return a}nextNode(a){let e=a.nextSibling;if(e!==this.endComment)return e}insertBefore(a,e){return e.before(a),a}};function te(a){return a.firstChild}function S(a,e){let t;return a instanceof O?t=a.nextNode(e):t=e.nextSibling,t}function ve(){if(ee)return;ee=!0;let a=Element.prototype.setAttribute,e=document.createElement("div");Element.prototype.setAttribute=function(n,r){if(!n.includes("@"))return a.call(this,n,r);e.innerHTML=`<span ${n}="${r}"></span>`;let i=e.firstElementChild.getAttributeNode(n);e.firstElementChild.removeAttributeNode(i),this.setAttributeNode(i)}}function Ue(a,e){let t=e&&e._x_bindings&&e._x_bindings.id;t&&a.setAttribute&&(a.setAttribute("id",t),a.id=t)}function Ve(a){a.morph=H,a.morphBetween=Ke}var Ze=Ve;function Ge(a){let e=()=>{let t,n;try{n=localStorage}catch(r){console.error(r),console.warn("Alpine: $persist is using temporary storage since localStorage is unavailable.");let i=new Map;n={getItem:i.get.bind(i),setItem:i.set.bind(i)}}return a.interceptor((r,i,o,d,c)=>{let u=t||`_x_${d}`,v=ne(u,n)?re(u,n):r;return o(v),a.effect(()=>{let f=i();ie(u,f,n),o(f)}),v},r=>{r.as=i=>(t=i,r),r.using=i=>(n=i,r)})};Object.defineProperty(a,"$persist",{get:()=>e()}),a.magic("persist",e),a.persist=(t,{get:n,set:r},i=localStorage)=>{let o=ne(t,i)?re(t,i):n();r(o),a.effect(()=>{let d=n();ie(t,d,i),r(d)})}}function ne(a,e){return e.getItem(a)!==null}function re(a,e){let t=e.getItem(a);if(t!==void 0)return JSON.parse(t)}function ie(a,e,t){t.setItem(a,JSON.stringify(e))}var Qe=Ge;function He(a){a.directive("intersect",a.skipDuringClone((e,{value:t,expression:n,modifiers:r},{evaluateLater:i,cleanup:o})=>{let d=i(n),c={rootMargin:Ye(r),threshold:We(r)},u=new IntersectionObserver(v=>{v.forEach(f=>{f.isIntersecting!==(t==="leave")&&(d(),r.includes("once")&&u.disconnect())})},c);u.observe(e),o(()=>{u.disconnect()})}))}function We(a){if(a.includes("full"))return .99;if(a.includes("half"))return .5;if(!a.includes("threshold"))return 0;let e=a[a.indexOf("threshold")+1];return e==="100"?1:e==="0"?0:+`.${e}`}function qe(a){let e=a.match(/^(-?[0-9]+)(px|%)?$/);return e?e[1]+(e[2]||"px"):void 0}function Ye(a){const e="margin",t="0px 0px 0px 0px",n=a.indexOf(e);if(n===-1)return t;let r=[];for(let i=1;i<5;i++)r.push(qe(a[n+i]||""));return r=r.filter(i=>i!==void 0),r.length?r.join(" ").trim():t}var Xe=He;export{Je as a,Ze as b,Qe as c,Xe as d,ze as m};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.