1function je(n){n.directive("collapse",e),e.inline=(t,{modifiers:r})=>{r.includes("min")&&(t._x_doShow=()=>{},t._x_doHide=()=>{})};function e(t,{modifiers:r}){let i=ve(r,"duration",250)/1e3,o=ve(r,"min",0),a=!r.includes("min");t._x_isShown||(t.style.height=`${o}px`),!t._x_isShown&&a&&(t.hidden=!0),t._x_isShown||(t.style.overflow="hidden");let d=(s,p)=>{let v=n.setStyles(s,p);return p.height?()=>{}:v},c={transitionProperty:"height",transitionDuration:`${i}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};t._x_transition={in(s=()=>{},p=()=>{}){a&&(t.hidden=!1),a&&(t.style.display=null);let v=t.getBoundingClientRect().height;t.style.height="auto";let S=t.getBoundingClientRect().height;v===S&&(v=o),n.transition(t,n.setStyles,{during:c,start:{height:v+"px"},end:{height:S+"px"}},()=>t._x_isShown=!0,()=>{Math.abs(t.getBoundingClientRect().height-S)<1&&(t.style.overflow=null)})},out(s=()=>{},p=()=>{}){let v=t.getBoundingClientRect().height;n.transition(t,d,{during:c,start:{height:v+"px"},end:{height:o+"px"}},()=>t.style.overflow="hidden",()=>{t._x_isShown=!1,t.style.height==`${o}px`&&a&&(t.style.display="none",t.hidden=!0)})}}}}function ve(n,e,t){if(n.indexOf(e)===-1)return t;const r=n[n.indexOf(e)+1];if(!r)return t;if(e==="duration"){let i=r.match(/([0-9]+)ms/);if(i)return i[1]}if(e==="min"){let i=r.match(/([0-9]+)px/);if(i)return i[1]}return r}var Tt=je,Fe=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],ne=Fe.join(","),_e=typeof Element>"u",U=_e?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ae=!_e&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},ie=function(e,t){var r;t===void 0&&(t=!0);var i=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),o=i===""||i==="true",a=o||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):ie(e.parentNode));return a},Le=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},xe=function(e,t,r){if(ie(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(ne));return t&&U.call(e,ne)&&i.unshift(e),i=i.filter(r),i},oe=function(e,t,r){for(var i=[],o=Array.from(e);o.length;){var a=o.shift();if(!ie(a,!1))if(a.tagName==="SLOT"){var d=a.assignedElements(),c=d.length?d:a.children,s=oe(c,!0,r);r.flatten?i.push.apply(i,s):i.push({scopeParent:a,candidates:s})}else{var p=U.call(a,ne);p&&r.filter(a)&&(t||!e.includes(a))&&i.push(a);var v=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),S=!ie(v,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(v&&S){var k=oe(v===!0?a.children:v.children,!0,r);r.flatten?i.push.apply(i,k):i.push({scopeParent:a,candidates:k})}else o.unshift.apply(o,a.children)}}return i},Ce=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},$=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Le(e))&&!Ce(e)?0:e.tabIndex},Ge=function(e,t){var r=$(e);return r<0&&t&&!Ce(e)?0:r},Me=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Oe=function(e){return e.tagName==="INPUT"},Ve=function(e){return Oe(e)&&e.type==="hidden"},$e=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Ue=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},We=function(e){if(!e.name)return!0;var t=e.form||ae(e),r=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(e.name));else try{i=r(e.name)}
vendor: 10,161 bytes, lines 1-3
1catch(a){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",a.message),!1}var o=Ue(i,e.form);return!o||o===e},qe=function(e){return Oe(e)&&e.type==="radio"},He=function(e){return qe(e)&&!We(e)},Ye=function(e){var t,r=e&&ae(e),i=(t=r)===null||t===void 0?void 0:t.host,o=!1;if(r&&r!==e){var a,d,c;for(o=!!((a=i)!==null&&a!==void 0&&(d=a.ownerDocument)!==null&&d!==void 0&&d.contains(i)||e!=null&&(c=e.ownerDocument)!==null&&c!==void 0&&c.contains(e));!o&&i;){var s,p,v;r=ae(i),i=(s=r)===null||s===void 0?void 0:s.host,o=!!((p=i)!==null&&p!==void 0&&(v=p.ownerDocument)!==null&&v!==void 0&&v.contains(i))}}return o},he=function(e){var t=e.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},ze=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(r==="full-native"&&"checkVisibility"in e){var o=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!o}if(getComputedStyle(e).visibility==="hidden")return!0;var a=U.call(e,"details>summary:first-of-type"),d=a?e.parentElement:e;if(U.call(d,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof i=="function"){for(var c=e;e;){var s=e.parentElement,p=ae(e);if(s&&!s.shadowRoot&&i(s)===!0)return he(e);e.assignedSlot?e=e.assignedSlot:!s&&p!==e.ownerDocument?e=p.host:e=s}e=c}if(Ye(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return he(e);return!1},Je=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var i=t.children.item(r);if(i.tagName==="LEGEND")return U.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},ue=function(e,t){return!(t.disabled||Ve(t)||ze(t,e)||$e(t)||Je(t))},ce=function(e,t){return!(He(t)||$(t)<0||!ue(e,t))},Ze=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ie=function(e){var t=[],r=[];return e.forEach(function(i,o){var a=!!i.scopeParent,d=a?i.scopeParent:i,c=Ge(d,a),s=a?Ie(i.candidates):d;c===0?a?t.push.apply(t,s):t.push(d):r.push({documentOrder:o,tabIndex:c,item:i,isScope:a,content:s})}),r.sort(Me).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(t)},Xe=function(e,t){t=t||{};var r;return t.getShadowRoot?r=oe([e],t.includeContainer,{filter:ce.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ze}):r=xe(e,t.includeContainer,ce.bind(null,t)),Ie(r)},Re=function(e,t){t=t||{};var r;return t.getShadowRoot?r=oe([e],t.includeContainer,{filter:ue.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=xe(e,t.includeContainer,ue.bind(null,t)),r},H=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return U.call(e,ne)===!1?!1:ce(t,e)},Qe=Fe.concat("iframe:not([inert]):not([inert] *)").join(","),re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return U.call(e,Qe)===!1?!1:ue(t,e)};function de(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function et(n){if(Array.isArray(n))return de(n)}function be(n,e,t,r,i,o,a){try{var d=n[o](a),c=d.value}catch(s){return void t(s)}d.done?e(c):Promise.resolve(c).then(r,i)}function pe(n){return function(){var e=this,t=arguments;return new Promise(function(r,i){var o=n.apply(e,t);function a(c){be(o,r,i,a,d,"next",c)}function d(c){be(o,r,i,a,d,"throw",c)}a(void 0)})}}function ye(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Pe(n))||e){t&&(n=t);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,d=!1;return{s:function(){t=t.call(n)},n:function(){var c=t.next();return a=c.done,c},e:function(c){d=!0,o=c},f:function(){try{a||t.return==null||t.return()}finally{if(d)throw o}}}}function tt(n,e,t){return(e=ot(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function rt(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function nt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function me(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function ge(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?me(Object(t),!0).forEach(function(r){tt(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):me(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Z(){var n,e,t=typeof Symbol=="function"?Symbol:{},r=t.iterator||"@@iterator",i=t.toStringTag||"@@toStringTag";function o(k,A,K,h){var O=A&&A.prototype instanceof d?A:d,G=Object.create(O.prototype);return D(G,"_invoke",(function(Y,W,q){var I,w,x,M=0,ee=q||[],B=!1,_={p:0,n:0,v:n,a:T,f:T.bind(n,4),d:function(u,l){return I=u,w=0,x=n,_.n=l,a}};function T(u,l){for(w=u,x=l,e=0;!B&&M&&!f&&e<ee.length;e++){var f,b=ee[e],m=_.p,g=b[2];u>3?(f=g===l)&&(x=b[(w=b[4])?5:(w=3,3)],b[4]=b[5]=n):b[0]<=m&&((f=u<2&&m<b[1])?(w=0,_.v=l,_.n=b[1]):m<g&&(f=u<3||b[0]>l||l>g)&&(b[4]=u,b[5]=l,_.n=g,w=0))}if(f||u>1)return a;throw B=!0,l}return function(u,l,f){if(M>1)throw TypeError("Generator is already running");for(B&&l===1&&T(l,f),w=l,x=f;(e=w<2?n:x)||!B;){I||(w?w<3?(w>1&&(_.n=-1),T(w,x)):_.n=x:_.v=x);try{if(M=2,I){if(w||(u="next"),e=I[u]){if(!(e=e.call(I,x)))throw TypeError("iterator result is not an object");if(!e.done)return e;x=e.value,w<2&&(w=0)}else w===1&&(e=I.return)&&e.call(I),w<2&&(x=TypeError("The iterator does not provide a '"+u+"' method"),w=1);I=n}else if((e=(B=_.n<0)?x:Y.call(W,_))!==a)break}catch(b){I=n,w=1,x=b}finally{M=1}}return{value:e,done:B}}})(k,K,h),!0),G}var a={};function d(){}function c(){}function s(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(D(e={},r,function(){return this}),e),v=s.prototype=d.prototype=Object.create(p);function S(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,s):(k.__proto__=s,D(k,i,"GeneratorFunction")),k.prototype=Object.create(v),k}return c.prototype=s,D(v,"constructor",s),D(s,"constructor",c),c.displayName="GeneratorFunction",D(s,i,"GeneratorFunction"),D(v),D(v,i,"Generator"),D(v,r,function(){return this}),D(v,"toString",function(){return"[object Generator]"}),(Z=function(){return{w:o,m:S}})()}function D(n,e,t,r){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}D=function(o,a,d,c){function s(p,v){D(o,p,function(S){return this._invoke(p,v,S)})}a?i?i(o,a,{value:d,enumerable:!c,configurable:!c,writable:!c}):o[a]=d:(s("next",0),s("throw",1),s("return",2))},D(n,e,t,r)}function at(n){return et(n)||rt(n)||Pe(n)||nt()}function it(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function ot(n){var e=it(n,"string");return typeof e=="symbol"?e:e+""}function Pe(n,e){if(n){if(typeof n=="string")return de(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?de(n,e):void 0}}var j={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){var r=j.getActiveTrap(e);t!==r&&j.pauseTrap(e);var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),j.unpauseTrap(e)},pauseTrap:function(e){var t=j.getActiveTrap(e);t?._setPausedState(!0)},unpauseTrap:function(e){var t=j.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},ut=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},lt=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},X=function(e){return e?.key==="Tab"||e?.keyCode===9},st=function(e){return X(e)&&!e.shiftKey},ct=function(e){return X(e)&&e.shiftKey},we=function(e){return setTimeout(e,0)},z=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,r):e},te=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},dt=[],ft=function(e,t){var r=t?.document||document,i=t?.trapStack||dt,o=ge({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:st,isKeyBackward:ct},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,c=function(u,l,f){return u&&u[l]!==void 0?u[l]:o[f||l]},s=function(u,l){var f=typeof l?.composedPath=="function"?l.composedPath():void 0;return a.containerGroups.findIndex(function(b){var m=b.container,g=b.tabbableNodes;return m.contains(u)||f?.includes(m)||g.find(function(y){return y===u})})},p=function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=l.hasFallback,b=f===void 0?!1:f,m=l.params,g=m===void 0?[]:m,y=o[u];if(typeof y=="function"&&(y=y.apply(void 0,at(g))),y===!0&&(y=void 0),!y){if(y===void 0||y===!1)return y;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var N=y;if(typeof y=="string"){try{N=r.querySelector(y)}catch(E){throw new Error("`".concat(u,'` appears to be an invali
3d selector; error="').concat(E.message,'"'))}if(!N&&!b)throw new Error("`".concat(u,"` as selector refers to no known node"))}return N},v=function(){var u=p("initialFocus",{hasFallback:!0});if(u===!1)return!1;if(u===void 0||u&&!re(u,o.tabbableOptions))if(s(r.activeElement)>=0)u=r.activeElement;else{var l=a.tabbableGroups[0],f=l&&l.firstTabbableNode;u=f||p("fallbackFocus")}else u===null&&(u=p("fallbackFocus"));if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},S=function(){if(a.containerGroups=a.containers.map(function(u){var l=Xe(u,o.tabbableOptions),f=Re(u,o.tabbableOptions),b=l.length>0?l[0]:void 0,m=l.length>0?l[l.length-1]:void 0,g=f.find(function(E){return H(E)}),y=f.slice().reverse().find(function(E){return H(E)}),N=!!l.find(function(E){return $(E)>0});return{container:u,tabbableNodes:l,focusableNodes:f,posTabIndexesFound:N,firstTabbableNode:b,lastTabbableNode:m,firstDomTabbableNode:g,lastDomTabbableNode:y,nextTabbableNode:function(F){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=l.indexOf(F);return C<0?P?f.slice(f.indexOf(F)+1).find(function(V){return H(V)}):f.slice(0,f.indexOf(F)).reverse().find(function(V){return H(V)}):l[C+(P?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!p("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find(function(u){return u.posTabIndexesFound})&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},k=function(u){var l=u.activeElement;if(l)return l.shadowRoot&&l.shadowRoot.activeElement!==null?k(l.shadowRoot):l},A=function(u){if(u!==!1&&u!==k(document)){if(!u||!u.focus){A(v());return}u.focus({preventScroll:!!o.preventScroll}),a.mostRecentlyFocusedNode=u,ut(u)&&u.select()}},K=function(u){var l=p("setReturnFocus",{params:[u]});return l||(l===!1?!1:u)},h=function(u){var l=u.target,f=u.event,b=u.isBackward,m=b===void 0?!1:b;l=l||te(f),S();var g=null;if(a.tabbableGroups.length>0){var y=s(l,f),N=y>=0?a.containerGroups[y]:void 0;if(y<0)m?g=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:g=a.tabbableGroups[0].firstTabbableNode;else if(m){var E=a.tabbableGroups.findIndex(function(le){var se=le.firstTabbableNode;return l===se});if(E<0&&(N.container===l||re(l,o.tabbableOptions)&&!H(l,o.tabbableOptions)&&!N.nextTabbableNode(l,!1))&&(E=y),E>=0){var F=E===0?a.tabbableGroups.length-1:E-1,P=a.tabbableGroups[F];g=$(l)>=0?P.lastTabbableNode:P.lastDomTabbableNode}else X(f)||(g=N.nextTabbableNode(l,!1))}else{var C=a.tabbableGroups.findIndex(function(le){var se=le.lastTabbableNode;return l===se});if(C<0&&(N.container===l||re(l,o.tabbableOptions)&&!H(l,o.tabbableOptions)&&!N.nextTabbableNode(l))&&(C=y),C>=0){var V=C===a.tabbableGroups.length-1?0:C+1,L=a.tabbableGroups[V];g=$(l)>=0?L.firstTabbableNode:L.firstDomTabbableNode}else X(f)||(g=N.nextTabbableNode(l))}}else g=p("fallbackFocus");return g},O=function(u){var l=te(u);if(!(s(l,u)>=0)){if(z(o.clickOutsideDeactivates,u)){d.deactivate({returnFocus:o.returnFocusOnDeactivate});return}z(o.allowOutsideClick,u)||u.preventDefault()}},G=function(u){var l=te(u),f=s(l,u)>=0;if(f||l instanceof Document)f&&(a.mostRecentlyFocusedNode=l);else{u.stopImmediatePropagation();var b,m=!0;if(a.mostRecentlyFocusedNode)if($(a.mostRecentlyFocusedNode)>0){var g=s(a.mostRecentlyFocusedNode),y=a.containerGroups[g].tabbableNodes;if(y.length>0){var N=y.findIndex(function(E){return E===a.mostRecentlyFocusedNode});N>=0&&(o.isKeyForward(a.recentNavEvent)?N+1<y.length&&(b=y[N+1],m=!1):N-1>=0&&(b=y[N-1],m=!1))}}else a.containerGroups.some(function(E){return E.tabbableNodes.some(function(F){return $(F)>0})})||(m=!1);else m=!1;m&&(b=h({target:a.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(a.recentNavEvent)})),A(b||a.mostRecentlyFocusedNode||v())}a.recentNavEvent=void 0},Y=function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;a.recentNavEvent=u;var f=h({event:u,isBackward:l});f&&(X(u)&&u.preventDefault(),A(f))},W=function(u){(o.isKeyForward(u)||o.isKeyBackward(u))&&Y(u,o.isKeyBackward(u))},q=function(u){lt(u)&&z(o.escapeDeactivates,u)!==!1&&(u.preventDefault(),d.deactivate())},I=function(u){var l=te(u);s(l,u)>=0||z(o.clickOutsideDeactivates,u)||z(o.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},w=function(){if(!a.active)return Promise.resolve();j.activateTrap(i,d);var u;
vendor: 4,178 bytes, line 3
3return o.delayInitialFocus?u=new Promise(function(l){a.delayInitialFocusTimer=we(function(){A(v()),l()})}):(u=Promise.resolve(),A(v())),r.addEventListener("focusin",G,!0),r.addEventListener("mousedown",O,{capture:!0,passive:!1}),r.addEventListener("touchstart",O,{capture:!0,passive:!1}),r.addEventListener("click",I,{capture:!0,passive:!1}),r.addEventListener("keydown",W,{capture:!0,passive:!1}),r.addEventListener("keydown",q),u},x=function(u){a.active&&!a.paused&&d._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var l=new Set,f=new Set,b=ye(u),m;try{for(b.s();!(m=b.n()).done;){var g=m.value;l.add(g);for(var y=typeof ShadowRoot<"u"&&g.getRootNode()instanceof ShadowRoot,N=g;N;){l.add(N);var E=N.parentElement,F=[];E?F=E.children:!E&&y&&(F=N.getRootNode().children,E=N.getRootNode().host,y=typeof ShadowRoot<"u"&&E.getRootNode()instanceof ShadowRoot);var P=ye(F),C;try{for(P.s();!(C=P.n()).done;){var V=C.value;f.add(V)}}catch(L){P.e(L)}finally{P.f()}N=E}}}catch(L){b.e(L)}finally{b.f()}l.forEach(function(L){f.delete(L)}),a.adjacentElements=f},M=function(){if(a.active)return r.removeEventListener("focusin",G,!0),r.removeEventListener("mousedown",O,!0),r.removeEventListener("touchstart",O,!0),r.removeEventListener("click",I,!0),r.removeEventListener("keydown",W,!0),r.removeEventListener("keydown",q),d},ee=function(u){var l=u.some(function(f){var b=Array.from(f.removedNodes);return b.some(function(m){return m===a.mostRecentlyFocusedNode})});l&&A(v())},B=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ee):void 0,_=function(){B&&(B.disconnect(),a.active&&!a.paused&&a.containers.map(function(u){B.observe(u,{subtree:!0,childList:!0})}))};return d={get active(){return a.active},get paused(){return a.paused},activate:function(u){if(a.active)return this;var l=c(u,"onActivate"),f=c(u,"onPostActivate"),b=c(u,"checkCanFocusTrap"),m=j.getActiveTrap(i),g=!1;if(m&&!m.paused){var y;(y=m._setSubtreeIsolation)===null||y===void 0||y.call(m,!1),g=!0}try{b||S(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=k(r),l?.();var N=(function(){var F=pe(Z().m(function P(){return Z().w(function(C){for(;;)switch(C.n){case 0:return b&&S(),C.n=1,w();case 1:d._setSubtreeIsolation(!0),_(),f?.();case 2:return C.a(2)}},P)}));return function(){return F.apply(this,arguments)}})();if(b)return b(a.containers.concat()).then(N,N),this;N()}catch(F){if(m===j.getActiveTrap(i)&&g){var E;(E=m._setSubtreeIsolation)===null||E===void 0||E.call(m,!0)}throw F}return this},deactivate:function(u){if(!a.active)return this;var l=ge({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},u);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||d._setSubtreeIsolation(!1),a.alreadySilent.clear(),M(),a.active=!1,a.paused=!1,_(),j.deactivateTrap(i,d);var f=c(l,"onDeactivate"),b=c(l,"onPostDeactivate"),m=c(l,"checkCanReturnFocus"),g=c(l,"returnFocus","returnFocusOnDeactivate");f?.();var y=function(){we(function(){g&&A(K(a.nodeFocusedBeforeActivation)),b?.()})};return g&&m?(m(K(a.nodeFocusedBeforeActivation)).then(y,y),this):(y(),this)},pause:function(u){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,u)):this},unpause:function(u){return a.active?(a.manuallyPaused=!1,i[i.length-1]!==this?this:this._setPausedState(!1,u)):this},updateContainerElements:function(u){var l=[].concat(u).filter(Boolean);return a.containers=l.map(function(f){return typeof f=="string"?r.querySelector(f):f}),o.isolateSubtrees&&x(a.containers),a.active&&(S(),a.paused||d._setSubtreeIsolation(!0)),_(),this}},Object.defineProperties(d,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(u,l){if(a.paused===u)return this;if(a.paused=u,u){var f=c(l,"onPause"),b=c(l,"onPostPause");f?.(),M(),d._setSubtreeIsolation(!1),_(),b?.()}else{var m=c(l,"onUnpause"),g=c(l,"onPostUnpause");m?.();var y=(function(){var N=pe(Z().m(function E(){return Z().w(function(F){for(;;)switch(F.n){case 0:return S(),F.n=1,w();case 1:d._setSubtreeIsolation(!0),_(),g?.();case 2:return F.a(2)}},E)}));return function(){return N.apply(this,arguments)}})();
3y()}return this}},_setSubtreeIsolation:{value:function(u){o.isolateSubtrees&&a.adjacentElements.forEach(function(l){var f;u?o.isolateSubtrees==="aria-hidden"?((l.ariaHidden==="true"||((f=l.getAttribute("aria-hidden"))===null||f===void 0?void 0:f.toLowerCase())==="true")&&a.alreadySilent.add(l),l.setAttribute("aria-hidden","true")):((l.inert||l.hasAttribute("inert"))&&a.alreadySilent.add(l),l.setAttribute("inert",!0)):a.alreadySilent.has(l)||(o.isolateSubtrees==="aria-hidden"?l.removeAttribute("aria-hidden"):l.removeAttribute("inert"))})}}}),d.updateContainerElements(e),d};function vt(n){let e,t;window.addEventListener("focusin",()=>{e=t,t=document.activeElement}),n.magic("focus",r=>{let i=r;return{__noscroll:!1,__wrapAround:!1,within(o){return i=o,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable(o){return re(o)},previouslyFocused(){return e},lastFocused(){return e},focused(){return t},focusables(){return Array.isArray(i)?i:Re(i,{displayCheck:"none"})},all(){return this.focusables()},isFirst(o){let a=this.all();return a[0]&&a[0].isSameNode(o)},isLast(o){let a=this.all();return a.length&&a.slice(-1)[0].isSameNode(o)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let o=this.all(),a=document.activeElement;if(o.indexOf(a)!==-1)return this.__wrapAround&&o.indexOf(a)===o.length-1?o[0]:o[o.indexOf(a)+1]},getPrevious(){let o=this.all(),a=document.activeElement;if(o.indexOf(a)!==-1)return this.__wrapAround&&o.indexOf(a)===0?o.slice(-1)[0]:o[o.indexOf(a)-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(o){o&&setTimeout(()=>{o.hasAttribute("tabindex")||o.setAttribute("tabindex","0"),o.focus({preventScroll:this.__noscroll})})}}}),n.directive("trap",n.skipDuringClone((r,{expression:i,modifiers:o},{effect:a,evaluateLater:d,cleanup:c})=>{let s=d(i),p=!1,v={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>r},S=()=>{};if(o.includes("noautofocus"))v.initialFocus=!1;else{let h=r.querySelector("[autofocus]");h&&(v.initialFocus=h)}o.includes("inert")&&(v.onPostActivate=()=>{n.nextTick(()=>{S=Se(r)})});let k=ft(r,v),A=()=>{};const K=()=>{S(),S=()=>{},A(),A=()=>{},k.deactivate({returnFocus:!o.includes("noreturn")})};a(()=>s(h=>{p!==h&&(h&&!p&&(o.includes("noscroll")&&(A=ht()),setTimeout(()=>{k.activate()},15)),!h&&p&&K(),p=!!h)})),c(K)},(r,{expression:i,modifiers:o},{evaluate:a})=>{o.includes("inert")&&a(i)&&Se(r)}))}function Se(n){let e=[];return De(n,t=>{let r=t.hasAttribute("aria-hidden");t.setAttribute("aria-hidden","true"),e.push(()=>r||t.removeAttribute("aria-hidden"))}),()=>{for(;e.length;)e.pop()()}}function De(n,e){n.isSameNode(document.body)||!n.parentNode||Array.from(n.parentNode.children).forEach(t=>{t.isSameNode(n)?De(n.parentNode,e):e(t)})}function ht(){let n=document.documentElement.style.overflow,e=document.documentElement.style.paddingRight,t=window.innerWidth-document.documentElement.clientWidth,r=window.getComputedStyle(document.documentElement).scrollbarGutter;return document.documentElement.style.overflow="hidden",r&&r!=="auto"?()=>{document.documentElement.style.overflow=n}:(document.documentElement.style.paddingRight=`${t}px`,()=>{document.documentElement.style.overflow=n,document.documentElement.style.paddingRight=e})}var Nt=vt;function fe(n,e,t){Ke();let r=Be(t),i=typeof e=="string"?yt(e):e;return window.Alpine&&window.Alpine.closestDataStack&&!n._x_dataStack&&(i._x_dataStack=window.Alpine.closestDataStack(n),i._x_dataStack&&window.Alpine.cloneNode(n,i)),r.patch(n,i),n}function bt(n,e,t,r={}){Ke();let i=Be(r),o=n.parentNode,a=new Q(n,e),d=typeof t=="string"?(()=>{let v=document.createElement("div");return v.insertAdjacentHTML("beforeend",t),v})():t,c=document.createComment("[morph-start]"),s=document.createComment("[morph-end]");d.insertBefore(c,d.firstChild),d.appendChild(s);let p=new Q(c,s);window.Alpine&&window.Alpine.closestDataStack&&(d._x_dataStack=window.Alpine.closestDataStack(o),d._x_dataStack&&window.Alpine.cloneNode(o,d)),i.patchChildren(a,p)}function Be(n={}){let e=i=>i.getAttribute("key"),t=()=>{},r={key:n.key||e,lookahead:n.lookahead||!1,updating:n.updating||t,updated:n.updated||t,removing:n.remov
vendor: 1,471 bytes, line 3
3ing||t,removed:n.removed||t,adding:n.adding||t,added:n.added||t};return r.patch=function(i,o){if(r.differentElementNamesTypesOrKeys(i,o))return r.swapElements(i,o);let a=!1,d=!1,c=s=>r.skipUntilCondition=s;if(!pt(r.updating,()=>d=!0,c,i,o,()=>a=!0)){if(i.nodeType===1&&window.Alpine&&(window.Alpine.cloneNode(i,o),i._x_teleport&&o._x_teleport&&r.patch(i._x_teleport,o._x_teleport)),mt(o)){r.patchNodeValue(i,o),r.updated(i,o);return}a||r.patchAttributes(i,o),r.updated(i,o),d||r.patchChildren(i,o)}},r.differentElementNamesTypesOrKeys=function(i,o){return i.nodeType!=o.nodeType||i.nodeName!=o.nodeName||r.getKey(i)!=r.getKey(o)},r.swapElements=function(i,o){if(J(r.removing,i))return;let a=o.cloneNode(!0);J(r.adding,a)||(i.replaceWith(a),r.removed(i),r.added(a))},r.patchNodeValue=function(i,o){let a=o.nodeValue;i.nodeValue!==a&&(i.nodeValue=a)},r.patchAttributes=function(i,o){if(i._x_transitioning||i._x_isShown&&!o._x_isShown||!i._x_isShown&&o._x_isShown)return;let a=Array.from(i.attributes),d=Array.from(o.attributes);for(let c=a.length-1;c>=0;c--){let s=a[c].name;o.hasAttribute(s)||(s==="open"&&i.nodeName==="DIALOG"&&i.open?i.close():i.removeAttribute(s))}for(let c=d.length-1;c>=0;c--){let s=d[c].name,p=d[c].value;i.getAttribute(s)!==p&&i.setAttribute(s,p)}},r.patchChildren=function(i,o){let a=r.keyToMap(i.children),d={},c=Ne(o),s=Ne(i);for(;c;){gt(c,s);let v=r.getKey(c),S=r.getKey(s);if(r.skipUntilCondition){let h=!s||r.skipUntilCondition(s),O=!c||r.ski
3pUntilCondition(c);if(h&&O)r.skipUntilCondition=null;else{h||(s=s&&R(i,s)),O||(c=c&&R(o,c));continue}}if(!s)if(v&&d[v]){let h=d[v];i.appendChild(h),s=h,S=r.getKey(s)}else{if(!J(r.adding,c)){let h=c.cloneNode(!0);i.appendChild(h),r.added(h)}c=R(o,c);continue}let k=h=>h&&h.nodeType===8&&h.textContent==="[if BLOCK]><![endif]",A=h=>h&&h.nodeType===8&&h.textContent==="[if ENDBLOCK]><![endif]";if(k(c)&&k(s)){let h=0,O=s;for(;s;){let w=R(i,s);if(k(w))h++;else if(A(w)&&h>0)h--;else if(A(w)&&h===0){s=w;break}s=w}let G=s;h=0;let Y=c;for(;c;){let w=R(o,c);if(k(w))h++;else if(A(w)&&h>0)h--;else if(A(w)&&h===0){c=w;break}c=w}let W=c,q=new Q(O,G),I=new Q(Y,W);r.patchChildren(q,I);continue}if(s.nodeType===1&&r.lookahead&&!s.isEqualNode(c)){let h=R(o,c),O=!1;for(;!O&&h;)h.nodeType===1&&s.isEqualNode(h)&&(O=!0,s=r.addNodeBefore(i,c,s),S=r.getKey(s)),h=R(o,h)}if(v!==S){if(!v&&S){d[S]=s,s=r.addNodeBefore(i,c,s),d[S].remove(),s=R(i,s),c=R(o,c);continue}if(v&&!S&&a[v]&&(s.replaceWith(a[v]),s=a[v],S=r.getKey(s)),v&&S){let h=a[v];if(h)d[S]=s,s.replaceWith(h),s=h,S=r.getKey(s);else{d[S]=s,s=r.addNodeBefore(i,c,s),d[S].remove(),s=R(i,s),c=R(o,c);continue}}}let K=s&&R(i,s);r.patch(s,c),c=c&&R(o,c),s=K}let p=[];for(;s;)J(r.removing,s)||p.push(s),s=R(i,s);for(;p.length;){let v=p.shift();v.remove(),r.removed(v)}},r.getKey=function(i){return i&&i.nodeType===1&&r.key(i)},r.keyToMap=function(i){let o={};for(let a of i){let d=r.getKey(a);d&&(o[d]=a)}return o},r.addNodeBefore=function(i,o,a){if(!J(r.adding,o)){let d=o.cloneNode(!0);return i.insertBefore(d,a),r.added(d),d}return o},r}fe.step=()=>{};fe.log=()=>{};function J(n,...e){let t=!1;return n(...e,()=>t=!0),t}function pt(n,e,t,...r){let i=!1;return n(...r,()=>i=!0,e,t),i}var Te=!1;function yt(n){const e=document.createElement("template");return e.innerHTML=n,e.content.firstElementChild}function mt(n){return n.nodeType===3||n.nodeType===8}var Q=class{constructor(n,e){this.startComment=n,this.endComment=e}get children(){let n=[],e=this.startComment.nextSibling;for(;e&&e!==this.endComment;)n.push(e),e=e.nextSibling;return n}appendChild(n){this.endComment.before(n)}get firstChild(){let n=this.startComment.nextSibling;if(n!==this.endComment)return n}nextNode(n){let e=n.nextSibling;if(e!==this.endComment)return e}insertBefore(n,e){return e.before(n),n}};function Ne(n){return n.firstChild}function R(n,e){let t;return n instanceof Q?t=n.nextNode(e):t=e.nextSibling,t}function Ke(){if(Te)return;Te=!0;let n=Element.prototype.setAttribute,e=document.createElement("div");Element.prototype.setAttribute=function(r,i){if(!r.includes("@"))return n.call(this,r,i);let o=i.replace(/&/g,"&").replace(/"/g,""");e.innerHTML=`<span ${r}="${o}"></span>`;let a=e.firstElementChild.getAttributeNode(r);e.firstElementChild.removeAttributeNode(a),this.setAttributeNode(a)}}function gt(n,e){let t=e&&e._x_bindings&&e._x_bindings.id;t&&n.setAttribute&&(n.setAttribute("id",t),n.id=t)}function wt(n){n.morph=fe,n.morphBetween=bt}var Et=wt;function St(n){let e=()=>{let t,r;try{r=localStorage}catch(i){console.error(i),console.warn("Alpine: $persist is using temporary storage since localStorage is unavailable.");let o=new Map;r={getItem:o.get.bind(o),setItem:o.set.bind(o)}}return n.interceptor((i,o,a,d,c)=>{let s=t||`_x_${d}`,p=Ee(s,r)?ke(s,r):i;return a(p),n.effect(()=>{let v=o();Ae(s,v,r),a(v)}),p},i=>{i.as=o=>(t=o,i),i.using=o=>(r=o,i)})};Object.defineProperty(n,"$persist",{get:()=>e()}),n.magic("persist",e),n.persist=(t,{get:r,set:i},o=localStorage)=>{let a=Ee(t,o)?ke(t,o):r();i(a),n.effect(()=>{let d=r();Ae(t,d,o),i(d)})}}function Ee(n,e){return e.getItem(n)!==null}function ke(n,e){let t=e.getItem(n);if(t!==void 0)return JSON.parse(t)}function Ae(n,e,t){t.setItem(n,JSON.stringify(e))}var kt=St;export{Nt as a,Et as b,kt as c,Tt 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.