PageSourceSearch

https://chancerylaneproject.org/wp-content/plugins/contracts-for-c…/cfc-site-theme.js?ver=d7d170cd4d2d8dbd6f81

js chancerylaneproject.org collected 2026-10-03 23:50:32 UTC 96,446 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t,n,r,i=!1,o=!1,a=[],s=-1;function c(e){let t=a.indexOf(e);-1!==t&&t>s&&a.splice(t,1)}function u(){i=!1,o=!0;for(let e=0;e<a.length;e++)a[e](),s=e;a.length=0,s=-1,o=!1}var l=!0;function f(e){t=e}function d(e,r){let i,o=!0,a=t(()=>{let t=e();JSON.stringify(t),o?i=t:queueMicrotask(()=>{r(t,i),i=t}),o=!1});return()=>n(a)}var p=[],h=[],m=[];function v(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,h.push(t))}function g(e){p.push(e)}function b(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function y(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 _=new MutationObserver(C),x=!1;function w(){_.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),x=!0}function E(){!function(){let e=_.takeRecords();O.push(()=>e.length>0&&C(e));let t=O.length;queueMicrotask(()=>{if(O.length===t)for(;O.length>0;)O.shift()()})}(),_.disconnect(),x=!1}var O=[];function A(e){if(!x)return e();E();let t=e();return w(),t}var k=!1,S=[];function C(e){if(k)return void(S=S.concat(e));let t=[],n=new Set,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].removedNodes.forEach(e=>{1===e.nodeType&&e._x_marker&&n.add(e)}),e[o].addedNodes.forEach(e=>{1===e.nodeType&&(n.has(e)?n.delete(e):e._x_marker||t.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)})},c=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(c(),s()):c()}i.forEach((e,t)=>{y(t,e)}),r.forEach((e,t)=>{p.forEach(n=>n(t,e))});for(let e of n)t.some(t=>t.contains(e))||h.forEach(t=>t(e));for(let e of t)e.isConnected&&m.forEach(t=>t(e));t=null,n=null,r=null,i=null}function T(e){return N(L(e))}function j(e,t,n){return e._x_dataStack=[t,...L(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==t)}}function L(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?L(e.host):e.parentNode?L(e.parentNode):[]}function N(e){return new Proxy({objects:e},D)}var D={ownKeys:({objects:e})=>Array.from(new Set(e.flatMap(e=>Object.keys(e)))),has:({objects:e},t)=>t!=Symbol.unscopables&&e.some(e=>Object.prototype.hasOwnProperty.call(e,t)||Reflect.has(e,t)),get:({objects:e},t,n)=>"toJSON"==t?R:Reflect.get(e.find(e=>Reflect.has(e,t))||{},t,n),set({objects:e},t,n,r){const i=e.find(e=>Object.prototype.hasOwnProperty.call(e,t))||e[e.length-1],o=Object.getOwnPropertyDescriptor(i,t);return o?.set&&o?.get?o.set.call(r,n)||!0:Reflect.set(i,t,n)}};function R(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function M(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;if("object"==typeof o&&null!==o&&o.__v_skip)return;let s=""===r?i:`${r}.${i}`;var c;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(e,s,i):"object"!=typeof(c=o)||Array.isArray(c)||null===c||o===n||o instanceof Element||t(o,s)})};return t(e)}function P(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=>$(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 $(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]]={}),$(e[t[0]],t.slice(1),n)}e[t[0]]=n}var I={};function F(e,t){I[e]=t}function B(e,t){let n=function(e){let[t,n]=ae(e),r={interceptor:P,...t};return v(e,n),r}(t);return Object.entries(I).forEach(([r,i])=>{Object.defineProperty(e,`$${r}`,{get:()=>i(t,n),enumerable:!1})}),e}function W(e,t,n,...r){try{return n(...r)}catch(n){V(n,e,t)}}function V(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout(()=>{throw e},0)}var q=!0;function H(e){let t=q;q=!1;let n=e();return q=t,n}function z(e,t,n={}){let r;return U(e,t)(e=>r=e,n),r}function U(...e){return G(...e)}var G=K;function K(e,t){let n={};B(n,e);let r=[n,...L(e)],i="function"==typeof t?function(e,t){return(n=()=>{},{scope:r={},params:i=[],context:o}={})=>{Y(n,t.apply(N([r,...e]),i))}}(r,t):function(e,t,n){let r=function(e,t){if(J[e])return J[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e;let i=(()=>{try{let t=new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(n){return V(n,t,e),Promise.resolve()}})();return J[e]=i,i}(t,n);return(i=()=>{},{scope:o={},params:a=[],context:s}={})=>{r.result=void 0,r.finished=!1;let c=N([o,...e]);if("function"==typeof r){let e=r.call(s,r,c).catch(e=>V(e,n,t));r.finished?(Y(i,r.result,c,a,n),r.result=void 0):e.then(e=>{Y(i,e,c,a,n)}).catch(e=>V(e,n,t)).finally(()=>r.result=void 0)}}}(r,t,e);return W.bind(null,e,t,i)}var J={};function Y(e,t,n,r,i){if(q&&"function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then(t=>Y(e,t,n,r)).catch(e=>V(e,i,t)):e(o)}else"object"==typeof t&&t instanceof Promise?t.then(t=>e(t)):e(t)}var X="x-";function Z(e=""){return X+e}var Q={};function ee(e,t){return Q[e]=t,{before(t){if(!Q[t])return void console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);const n=he.indexOf(t);he.splice(n>=0?n:he.indexOf("DEFAULT"),0,e)}}}function te(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map(([e,t])=>({name:e,value:t})),r=ne(n);n=n.map(e=>r.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),t=t.concat(n)}let r={},i=t.map(ce((e,t)=>
1r[e]=t)).filter(fe).map(function(e,t){return({name:n,value:r})=>{let i=n.match(de()),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(me);return i.map(t=>function(e,t){let n=Q[t.type]||(()=>{}),[r,i]=ae(e);b(e,t.original,i);let o=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,r),n=n.bind(n,e,t,r),re?ie.get(oe).push(n):n())};return o.runCleanups=i,o}(e,t))}function ne(e){return Array.from(e).map(ce()).filter(e=>!fe(e))}var re=!1,ie=new Map,oe=Symbol();function ae(e){let r=[],[i,o]=function(e){let r=()=>{};return[i=>{let o=t(i);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(o),r=()=>{void 0!==o&&(e._x_effects.delete(o),n(o))},o},()=>{r()}]}(e);return r.push(o),[{Alpine:ht,effect:i,cleanup:e=>r.push(e),evaluateLater:U.bind(U,e),evaluate:z.bind(z,e)},()=>r.forEach(e=>e())]}var se=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function ce(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:i}=ue.reduce((e,t)=>t(e),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var ue=[];function le(e){ue.push(e)}function fe({name:e}){return de().test(e)}var de=()=>new RegExp(`^${X}([^:^.]+)\\b`),pe="DEFAULT",he=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",pe,"teleport"];function me(e,t){let n=-1===he.indexOf(e.type)?pe:e.type,r=-1===he.indexOf(t.type)?pe:t.type;return he.indexOf(n)-he.indexOf(r)}function ve(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function ge(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach(e=>ge(e,t));let n=!1;if(t(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)ge(r,t),r=r.nextElementSibling}function be(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var ye=!1,_e=[],xe=[];function we(){return _e.map(e=>e())}function Ee(){return _e.concat(xe).map(e=>e())}function Oe(e){_e.push(e)}function Ae(e){xe.push(e)}function ke(e,t=!1){return Se(e,e=>{if((t?Ee():we()).some(t=>e.matches(t)))return!0})}function Se(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return Se(e.parentElement,t)}}var Ce=[],Te=1;function je(e,t=ge,n=()=>{}){Se(e,e=>e._x_ignore)||function(){re=!0;let r=Symbol();oe=r,ie.set(r,[]);let i=()=>{for(;ie.get(r).length;)ie.get(r).shift()();ie.delete(r)};t(e,(e,t)=>{e._x_marker||(n(e,t),Ce.forEach(n=>n(e,t)),te(e,e.attributes).forEach(e=>e()),e._x_ignore||(e._x_marker=Te++),e._x_ignore&&t())}),re=!1,i()}()}function Le(e,t=ge){t(e,e=>{!function(e){for(e._x_effects?.forEach(c);e._x_cleanups?.length;)e._x_cleanups.pop()()}(e),y(e),delete e._x_marker})}var Ne=[],De=!1;function Re(e=()=>{}){return queueMicrotask(()=>{De||setTimeout(()=>{Me()})}),new Promise(t=>{Ne.push(()=>{e(),t()})})}function Me(){for(De=!1;Ne.length;)Ne.shift()()}function Pe(e,t){return Array.isArray(t)?$e(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?Pe(e,t()):$e(e,t)}function $e(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 Ie(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")}),()=>{Ie(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 Fe(e,t=()=>{}){let n=!1;
1return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function Be(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=()=>{}){Ve(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=()=>{},r=()=>{}){Ve(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function We(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:We(t)}function Ve(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,c,u;!function(e,t){let n,r,i,o=Fe(()=>{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:Fe(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},A(()=>{t.start(),t.during()}),De=!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(){c=t(e,n)},before:o,end(){s(),u=t(e,i)},after:a,cleanup(){c(),u()}})}function qe(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||"delay"===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}ee("transition",(e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),!1!==r&&(r&&"boolean"!=typeof r?function(e,t,n){Be(e,Pe,""),{enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}}[n](t)}(e,r,t):function(e,t,n){Be(e,Ie);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")?0:1,c=a||t.includes("scale")?qe(t,"scale",95)/100:1,u=qe(t,"delay",0)/1e3,l=qe(t,"origin","center"),f="opacity, transform",d=qe(t,"duration",150)/1e3,p=qe(t,"duration",75)/1e3,h="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:l,transitionDelay:`${u}s`,transitionProperty:f,transitionDuration:`${d}s`,transitionTimingFunction:h},e._x_transition.enter.start={opacity:s,transform:`scale(${c})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(e._x_transition.leave.during={transformOrigin:l,transitionDelay:`${u}s`,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:h},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:s,transform:`scale(${c})`})}(e,n,t))}),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){const i="visible"===document.visibilityState?requestAnimationFrame:setTimeout;let o=()=>i(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):o():e._x_transition?e._x_transition.in(n):o():(e._x_hidePromise=e._x_transition?new Promise((t,n)=>{e._x_transition.out(()=>{},()=>t(r)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>n({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let t=We(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):i(()=>{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 He=!1;
1function ze(e,t=()=>{}){return(...n)=>He?t(...n):e(...n)}var Ue=[];function Ge(e){Ue.push(e)}var Ke=!1;function Je(e){let r=t;f((e,t)=>{let i=r(e);return n(i),()=>{}}),e(),f(r)}function Ye(t,n,r,i=[]){switch(t._x_bindings||(t._x_bindings=e({})),t._x_bindings[n]=r,n=i.includes("camel")?n.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase()):n){case"value":!function(e,t){if(it(e))void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked="boolean"==typeof t?Qe(e.value)===t:Ze(e.value,t));else if(rt(e))Number.isInteger(t)?e.value=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=void 0===t?"":t}}(t,r);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=Ie(e,t)}(t,r);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=Pe(e,t)}(t,r);break;case"selected":case"checked":!function(e,t,n){Xe(e,t,n),function(e,t,n){e[t]!==n&&(e[t]=n)}(e,t,n)}(t,n,r);break;default:Xe(t,n,r)}}function Xe(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):(tt(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}function Ze(e,t){return e==t}function Qe(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?Boolean(e):null)}var et=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function tt(e){return et.has(e)}function nt(e,t,n){let r=e.getAttribute(t);return null===r?"function"==typeof n?n():n:""===r||(tt(t)?!![t,"true"].includes(r):r)}function rt(e){return"checkbox"===e.type||"ui-checkbox"===e.localName||"ui-switch"===e.localName}function it(e){return"radio"===e.type||"ui-radio"===e.localName}function ot(e,t){let n;return function(){const r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(r,i)},t)}}function at(e,t){let n;return function(){let r=arguments;n||(e.apply(this,r),n=!0,setTimeout(()=>n=!1,t))}}function st({get:e,set:r},{get:i,set:o}){let a,s,c=!0,u=t(()=>{let t=e(),n=i();if(c)o(ct(t)),c=!1;else{let e=JSON.stringify(t),i=JSON.stringify(n);e!==a?o(ct(t)):e!==i&&r(ct(n))}a=JSON.stringify(e()),s=JSON.stringify(i())});return()=>{n(u)}}function ct(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var ut={},lt=!1,ft={};function dt(e,t,n){let r=[];for(;r.length;)r.pop()();let i=Object.entries(t).map(([e,t])=>({name:e,value:t})),o=ne(i);return i=i.map(e=>o.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),te(e,i,n).map(e=>{r.push(e.runCleanups),e()}),()=>{for(;r.length;)r.pop()()}}var pt={},ht={get reactive(){return e},get release(){return n},get effect(){return t},get raw(){return r},version:"3.15.0",flushAndStopDeferringMutations:function(){k=!1,C(S),S=[]},dontAutoEvaluateFunctions:H,disableEffectScheduling:function(e){l=!1,e(),l=!0},startObservingMutations:w,stopObservingMutations:E,setReactivityEngine:function(s){e=s.reactive,n=s.release,t=e=>s.effect(e,{scheduler:e=>{l?function(e){var t;t=e,a.includes(t)||a.push(t),o||i||(i=!0,queueMicrotask(u))}(e):e()}}),r=s.raw},onAttributeRemoved:b,onAttributesAdded:g,closestDataStack:L,skipDuringClone:ze,onlyDuringClone:function(e){return(...t)=>He&&e(...t)},addRootSelector:Oe,addInitSelector:Ae,interceptClone:Ge,addScopeToNode:j,deferMutations:function(){k=!0},mapAttributes:le,evaluateLater:U,interceptInit:function(e){Ce.push(e)},setEvaluator:function(e){G=e},mergeProxies:N,extractProp:function(e,t,n,r=!0){if(e._x_bindings&&void 0!==e._x_bindings[t])return e._x_bindings[t];if(e._x_inlineBindings&&void 0!==e._x_inlineBindings[t]){let n=e._x_inlineBindings[t];return n.extract=r,H(()=>z(e,n.expression))}return nt(e,t,n)},findClosest:Se,onElRemoved:v,closestRoot:ke,destroyTree:Le,interceptor:P,transition:Ve,setStyles:Ie,mutateDom:A,directive:ee,entangle:st,throttle:at,debounce:ot,evaluate:z,initTree:je,nextTick:Re,prefixed:Z,prefix:function(e){X=e}
1,plugin:function(e){(Array.isArray(e)?e:[e]).forEach(e=>e(ht))},magic:F,store:function(t,n){if(lt||(ut=e(ut),lt=!0),void 0===n)return ut[t];ut[t]=n,M(ut[t]),"object"==typeof n&&null!==n&&n.hasOwnProperty("init")&&"function"==typeof n.init&&ut[t].init()},start:function(){var e;ye&&be("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),ye=!0,document.body||be("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),ve(document,"alpine:init"),ve(document,"alpine:initializing"),w(),e=e=>je(e,ge),m.push(e),v(e=>Le(e)),g((e,t)=>{te(e,t).forEach(e=>e())}),Array.from(document.querySelectorAll(Ee().join(","))).filter(e=>!ke(e.parentElement,!0)).forEach(e=>{je(e)}),ve(document,"alpine:initialized"),setTimeout(()=>{[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([e,t,n])=>{var r;r=t,Object.keys(Q).includes(r)||n.some(t=>{if(document.querySelector(t))return be(`found "${t}", but missing ${e} plugin`),!0})})})},clone:function(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),He=!0,Ke=!0,Je(()=>{!function(e){let t=!1;je(e,(e,n)=>{ge(e,(e,r)=>{if(t&&function(e){return we().some(t=>e.matches(t))}(e))return r();t=!0,n(e,r)})})}(t)}),He=!1,Ke=!1},cloneNode:function(e,t){Ue.forEach(n=>n(e,t)),He=!0,Je(()=>{je(t,(e,t)=>{t(e,()=>{})})}),He=!1},bound:function(e,t,n){return e._x_bindings&&void 0!==e._x_bindings[t]?e._x_bindings[t]:nt(e,t,n)},$data:T,watch:d,walk:ge,data:function(e,t){pt[e]=t},bind:function(e,t){let n="function"!=typeof t?()=>t:t;return e instanceof Element?dt(e,n()):(ft[e]=n,()=>{})}};function mt(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 vt,gt=Object.freeze({}),bt=(Object.freeze([]),Object.prototype.hasOwnProperty),yt=(e,t)=>bt.call(e,t),_t=Array.isArray,xt=e=>"[object Map]"===At(e),wt=e=>"symbol"==typeof e,Et=e=>null!==e&&"object"==typeof e,Ot=Object.prototype.toString,At=e=>Ot.call(e),kt=e=>At(e).slice(8,-1),St=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))},Tt=/-(\w)/g,jt=(Ct(e=>e.replace(Tt,(e,t)=>t?t.toUpperCase():"")),/\B([A-Z])/g),Lt=(Ct(e=>e.replace(jt,"-$1").toLowerCase()),Ct(e=>e.charAt(0).toUpperCase()+e.slice(1))),Nt=(Ct(e=>e?`on${Lt(e)}`:""),(e,t)=>e!==t&&(e==e||t==t)),Dt=new WeakMap,Rt=[],Mt=Symbol("iterate"),Pt=Symbol("Map key iterate"),$t=0;function It(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var Ft=!0,Bt=[];function Wt(){const e=Bt.pop();Ft=void 0===e||e}function Vt(e,t,n){if(!Ft||void 0===vt)return;let r=Dt.get(e);r||Dt.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=new Set),i.has(vt)||(i.add(vt),vt.deps.push(i),vt.options.onTrack&&vt.options.onTrack({effect:vt,target:e,type:t,key:n}))}function qt(e,t,n,r,i,o){const a=Dt.get(e);if(!a)return;const s=new Set,c=e=>{e&&e.forEach(e=>{(e!==vt||e.allowRecurse)&&s.add(e)})};if("clear"===t)a.forEach(c);else if("length"===n&&_t(e))a.forEach((e,t)=>{("length"===t||t>=r)&&c(e)});else switch(void 0!==n&&c(a.get(n)),t){case"add":_t(e)?St(n)&&c(a.get("length")):(c(a.get(Mt)),xt(e)&&c(a.get(Pt)));break;case"delete":_t(e)||(c(a.get(Mt)),xt(e)&&c(a.get(Pt)));break;case"set":xt(e)&&c(a.get(Mt))}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 Ht=mt("__proto__,__v_isRef,__isVue"),zt=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(wt)),Ut=Yt(),Gt=Yt(!0),Kt=Jt();function Jt(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Nn(this);for(let e=0,t=this.length;e<t;e++)Vt(n,"get",e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Nn)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){Bt.push(Ft),Ft=!1;const n=Nn(this)[t].apply(this,e);return Wt(),n}}),e}function Yt(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?Cn:Sn:t?kn:An).get(n))return n;const o=_t(n);if(!e&&o&&yt(Kt,r))return Reflect.get(Kt,r,i);const a=Reflect.get(n,r,i);return(wt(r)?zt.has(r):Ht(r))?a:(e||Vt(n,"get",r),t?a:Dn(a)?o&&St(r)?a:a.value:Et(a)?e?jn(a):Tn(a):a)}}function Xt(e=!1){return function(t,n,r,i){let o=t[n];if(!e&&(r=Nn(r),o=Nn(o),!_t(t)&&Dn(o)&&!Dn(r)))return o.value=r,!0;const a=_t(t)&&St(n)?Number(n)<t.length:yt(t,n),s=Reflect.set(t,n,r,i);return t===Nn(i)&&(a?Nt(r,o)&&qt(t,"set",n,r,o):qt(t,"add",n,r)),s}}var Zt={get:Ut,set:Xt(),deleteProperty:function(e,t){const n=yt(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&qt(e,"delete",t,void 0,r),i},has:function(e,t){const n=Reflect.has(e,t);return wt(t)&&zt.has(t)||Vt(e,"has",t),n},ownKeys:function(e){return Vt(e,"iterate",_t(e)?"length":Mt),Reflect.ownKeys(e)}},Qt={get:Gt,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)},en=e=>Et(e)?Tn(e):e,tn=e=>Et(e)?jn(e):e,nn=e=>e,rn=e=>Reflect.getPrototypeOf(e);function on(e,t,n=!1,r=!1){const i=Nn(e=e.__v_raw),o=Nn(t);t!==o&&!n&&Vt(i,"get",t),!n&&Vt(i,"get",o);const{has:a}=rn(i),s=r?nn:n?tn:en;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function an(e,t=!1){const n=this.__v_raw,r=Nn(n),i=Nn(e);return e!==i&&!t&&Vt(r,"has",e),!t&&Vt(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function sn(e,t=!1){return e=e.__v_raw,!t&&Vt(Nn(e),"iterate",Mt),Reflect.get(e,"size",e)}function cn(e){e=Nn(e);const t=Nn(this);return rn(t).has.call(t,e)||(t.add(e),qt(t,"add",e,e)),this}
1function un(e,t){t=Nn(t);const n=Nn(this),{has:r,get:i}=rn(n);let o=r.call(n,e);o?On(n,r,e):(e=Nn(e),o=r.call(n,e));const a=i.call(n,e);return n.set(e,t),o?Nt(t,a)&&qt(n,"set",e,t,a):qt(n,"add",e,t),this}function ln(e){const t=Nn(this),{has:n,get:r}=rn(t);let i=n.call(t,e);i?On(t,n,e):(e=Nn(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&qt(t,"delete",e,void 0,o),a}function fn(){const e=Nn(this),t=0!==e.size,n=xt(e)?new Map(e):new Set(e),r=e.clear();return t&&qt(e,"clear",void 0,void 0,n),r}function dn(e,t){return function(n,r){const i=this,o=i.__v_raw,a=Nn(o),s=t?nn:e?tn:en;return!e&&Vt(a,"iterate",Mt),o.forEach((e,t)=>n.call(r,s(e),s(t),i))}}function pn(e,t,n){return function(...r){const i=this.__v_raw,o=Nn(i),a=xt(o),s="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,u=i[e](...r),l=n?nn:t?tn:en;return!t&&Vt(o,"iterate",c?Pt:Mt),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Lt(e)} operation ${n}failed: target is readonly.`,Nn(this))}return"delete"!==e&&this}}function mn(){const e={get(e){return on(this,e)},get size(){return sn(this)},has:an,add:cn,set:un,delete:ln,clear:fn,forEach:dn(!1,!1)},t={get(e){return on(this,e,!1,!0)},get size(){return sn(this)},has:an,add:cn,set:un,delete:ln,clear:fn,forEach:dn(!1,!0)},n={get(e){return on(this,e,!0)},get size(){return sn(this,!0)},has(e){return an.call(this,e,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:dn(!0,!1)},r={get(e){return on(this,e,!0,!0)},get size(){return sn(this,!0)},has(e){return an.call(this,e,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=pn(i,!1,!1),n[i]=pn(i,!0,!1),t[i]=pn(i,!1,!0),r[i]=pn(i,!0,!0)}),[e,n,t,r]}var[vn,gn,bn,yn]=mn();function xn(e,t){const n=t?e?yn:bn:e?gn:vn;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(yt(n,r)&&r in t?n:t,r,i)}var wn={get:xn(!1,!1)},En={get:xn(!0,!1)};function On(e,t,n){const r=Nn(n);if(r!==n&&t.call(e,r)){const t=kt(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 An=new WeakMap,kn=new WeakMap,Sn=new WeakMap,Cn=new WeakMap;function Tn(e){return e&&e.__v_isReadonly?e:Ln(e,!1,Zt,wn,An)}function jn(e){return Ln(e,!0,Qt,En,Sn)}function Ln(e,t,n,r,i){if(!Et(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}}(kt(s));var s;if(0===a)return e;const c=new Proxy(e,2===a?r:n);return i.set(e,c),c}function Nn(e){return e&&Nn(e.__v_raw)||e}function Dn(e){return Boolean(e&&!0===e.__v_isRef)}F("nextTick",()=>Re),F("dispatch",e=>ve.bind(ve,e)),F("watch",(e,{evaluateLater:t,cleanup:n})=>(e,r)=>{let i=t(e),o=d(()=>{let e;return i(t=>e=t),e},r);n(o)}),F("store",function(){return ut}),F("data",e=>T(e)),F("root",e=>ke(e)),F("refs",e=>(e._x_refs_proxy||(e._x_refs_proxy=N(function(e){let t=[];return Se(e,e=>{e._x_refs&&t.push(e._x_refs)}),t}(e))),e._x_refs_proxy));var Rn={};function Mn(e){return Rn[e]||(Rn[e]=0),++Rn[e]}function Pn(e,t,n){F(t,r=>be(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}F("id",(e,{cleanup:t})=>(n,r=null)=>function(e,t,n,r){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let i=r();return e._x_id[t]=i,n(()=>{delete e._x_id[t]}),i}(e,`${n}${r?`-${r}`:""}`,t,()=>{let t=function(e,t){return Se(e,e=>{if(e._x_ids&&e._x_ids[t])return!0})}(e,n),i=t?t._x_ids[n]:Mn(n);return r?`${n}-${i}-${r}`:`${n}-${i}`})),Ge((e,t)=>{e._x_id&&(t._x_id=e._x_id)}),F("el",e=>e),Pn("Focus","focus","focus"),Pn("Persist","persist","persist"),ee("modelable",(e,{expression:t},{effect:n,evaluateLater:r,cleanup:i})=>
1{let o=r(t),a=()=>{let e;return o(t=>e=t),e},s=r(`${t} = __placeholder`),c=e=>s(()=>{},{scope:{__placeholder:e}}),u=a();c(u),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let t=e._x_model.get,n=e._x_model.set,r=st({get:()=>t(),set(e){n(e)}},{get:()=>a(),set(e){c(e)}});i(r)})}),ee("teleport",(e,{modifiers:t,expression:n},{cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&be("x-teleport can only be used on a <template> tag",e);let i=In(n),o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(t=>{o.addEventListener(t,t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))})}),j(o,{},e);let a=(e,t,n)=>{n.includes("prepend")?t.parentNode.insertBefore(e,t):n.includes("append")?t.parentNode.insertBefore(e,t.nextSibling):t.appendChild(e)};A(()=>{a(o,i,t),ze(()=>{je(o)})()}),e._x_teleportPutBack=()=>{let r=In(n);A(()=>{a(e._x_teleport,r,t)})},r(()=>A(()=>{o.remove(),Le(o)}))});var $n=document.createElement("div");function In(e){let t=ze(()=>document.querySelector(e),()=>$n)();return t||be(`Cannot find x-teleport element for selector: "${e}"`),t}var Fn=()=>{};function Bn(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=t.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("debounce")){let e=n[n.indexOf("debounce")+1]||"invalid-wait",t=Wn(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=ot(o,t)}if(n.includes("throttle")){let e=n[n.indexOf("throttle")+1]||"invalid-wait",t=Wn(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=at(o,t)}return 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("once")&&(o=s(o,(e,n)=>{e(n),i.removeEventListener(t,o,a)})),(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("self")&&(o=s(o,(t,n)=>{n.target===e&&t(n)})),(function(e){return["keydown","keyup"].includes(e)}(t)||Vn(t))&&(o=s(o,(e,t)=>{(function(e,t){let n=t.filter(e=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll"].includes(e));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,Wn((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let e=n.indexOf("throttle");n.splice(e,Wn((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length)return!1;if(1===n.length&&qn(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&&r.filter(t=>("cmd"!==t&&"super"!==t||(t="meta"),e[`${t}Key`])).length===r.length){if(Vn(e.type))return!1;if(qn(e.key).includes(n[0]))return!1}return!0})(t,n)||e(t)})),i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function Wn(e){return!Array.isArray(e)&&!isNaN(e)}function Vn(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function qn(e){if(!e)return[];var t;e=[" ","_"].includes(t=e)?t:t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let n={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return n[e]=e,Object.keys(n).map(t=>{if(n[t]===e)return t}).filter(e=>e)}function Hn(e,t,n,r){return A(()=>{if(n instanceof CustomEvent&&void 0!==n.detail)return null!==n.detail&&void 0!==n.detail?n.detail:n.target.value;if(rt(e)){if(Array.isArray(r)){let e=null;return e=t.includes("number")?zn(n.target.value):t.includes("boolean")?Qe(n.target.value):n.target.value,n.target.checked?r.includes(e)?r: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=>zn(e.value||e.text)):t.includes("boolean")?Array.from(n.target.selectedOptions).map(e=>Qe(e.value||e.text)):Array.from(n.target.selectedOptions).map(e=>e.value||e.text);{let i;return i=it(e)?n.target.checked?n.target.value:r:n.target.value,t.includes("number")?zn(i):t.includes("boolean")?Qe(i):t.includes("trim")?i.trim():i}})}function zn(e){let t=e?parseFloat(e):null;return n=t,Array.isArray(n)||isNaN(n)?e:t;var n}function Un(e){return null!==e&&"object"==typeof e&&"function"==typeof e.get&&"function"==typeof e.set}Fn.inline=(e,{modifiers:t},{cleanup:n})=>
1{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})},ee("ignore",Fn),ee("effect",ze((e,{expression:t},{effect:n})=>{n(U(e,t))})),ee("model",(e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o=e;t.includes("parent")&&(o=e.parentNode);let a,s=U(o,n);a="string"==typeof n?U(o,`${n} = __placeholder`):"function"==typeof n&&"string"==typeof n()?U(o,`${n()} = __placeholder`):()=>{};let c=()=>{let e;return s(t=>e=t),Un(e)?e.get():e},u=e=>{let t;s(e=>t=e),Un(t)?t.set(e):a(()=>{},{scope:{__placeholder:e}})};"string"==typeof n&&"radio"===e.type&&A(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});let l="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input",f=He?()=>{}:Bn(e,l,t,n=>{u(Hn(e,t,n,c()))});if(t.includes("fill")&&([void 0,null,""].includes(c())||rt(e)&&Array.isArray(c())||"select"===e.tagName.toLowerCase()&&e.multiple)&&u(Hn(e,t,{target:e},c())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=f,i(()=>e._x_removeModelListeners.default()),e.form){let n=Bn(e.form,"reset",[],n=>{Re(()=>e._x_model&&e._x_model.set(Hn(e,t,{target:e},c())))});i(()=>n())}e._x_model={get:()=>c(),set(e){u(e)}},e._x_forceModelUpdate=t=>{void 0===t&&"string"==typeof n&&n.match(/\./)&&(t=""),window.fromModel=!0,A(()=>Ye(e,"value",t)),delete window.fromModel},r(()=>{let n=c();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(n)})}),ee("cloak",e=>queueMicrotask(()=>A(()=>e.removeAttribute(Z("cloak"))))),Ae(()=>`[${Z("init")}]`),ee("init",ze((e,{expression:t},{evaluate:n})=>"string"==typeof t?!!t.trim()&&n(t,{},!1):n(t,{},!1))),ee("text",(e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n(()=>{i(t=>{A(()=>{e.textContent=t})})})}),ee("html",(e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n(()=>{i(t=>{A(()=>{e.innerHTML=t,e._x_ignoreSelf=!0,je(e),delete e._x_ignoreSelf})})})}),le(se(":",Z("bind:")));var Gn=(e,{value:t,modifiers:n,expression:r,original:i},{effect:o,cleanup:a})=>{if(!t){let t={};return s=t,Object.entries(ft).forEach(([e,t])=>{Object.defineProperty(s,e,{get:()=>(...e)=>t(...e)})}),void U(e,r)(t=>{dt(e,t,i)},{scope:t})}var s;if("key"===t)return function(e,t){e._x_keyExpression=t}(e,r);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let c=U(e,r);o(()=>c(i=>{void 0===i&&"string"==typeof r&&r.match(/\./)&&(i=""),A(()=>Ye(e,t,i,n))})),a(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};function Kn(e,t,n,r){let i={};return/^\[.*\]$/.test(e.item)&&Array.isArray(t)?e.item.replace("[","").replace("]","").split(",").map(e=>e.trim()).forEach((e,n)=>{i[e]=t[n]}):/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&"object"==typeof t?e.item.replace("{","").replace("}","").split(",").map(e=>e.trim()).forEach(e=>{i[e]=t[e]}):i[e.item]=t,e.index&&(i[e.index]=n),e.collection&&(i[e.collection]=r),i}function Jn(){}function Yn(e,t,n){ee(t,r=>be(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}Gn.inline=(e,{value:t,modifiers:n,expression:r})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:r,extract:!1})},ee("bind",Gn),Oe(()=>`[${Z("data")}]`),ee("data",(t,{expression:n},{cleanup:r})=>{if(function(e){return!!He&&(!!Ke||e.hasAttribute("data-has-alpine-state"))}(t))return;n=""===n?"{}":n;let i={};B(i,t);let o={};var a,s;a=o,s=i,Object.entries(pt).forEach(([e,t])=>{Object.defineProperty(a,e,{get:()=>(...e)=>t.bind(s)(...e),enumerable:!1})});let c=z(t,n,{scope:o});void 0!==c&&!0!==c||(c={}),B(c,t);let u=e(c);M(u);let l=j(t,u);u.init&&z(t,u.init),r(()=>{u.destroy&&z(t,u.destroy),l()})}),Ge((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))}),ee("show",(e,{modifiers:t,expression:n},{effect:r})=>{let i=U(e,n);e._x_doHide||(e._x_doHide=()=>{A(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{A(()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display")})});let o,a=()=>{e._x_doHide(),e._x_isShown=!1},s=()=>{e._x_doShow(),e._x_isShown=!0},c=()=>setTimeout(s),u=Fe(e=>e?s():a(),t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,s,a):t?c():a()}),l=!0;r(()=>i(e=>{(l||e!==o)&&(t.includes("immediate")&&(e?c():a()),u(e),o=e,l=!1)}))}),ee("for",(t,{expression:n},{effect:r,cleanup:i})=>{let o=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=e.match(/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/);if(!n)return;let r={};r.items=n[2].trim();let i=n[1].replace(/^\s*\(|\)\s*$/g,"").trim(),o=i.match(t);return o?(r.item=i.replace(t,"").trim(),r.index=o[1].trim(),o[2]&&(r.collection=o[2].trim())):r.item=i,r}(n),a=U(t,o.items),s=U(t,t._x_keyExpression||"index");t._x_prevKeys=[],t._x_lookup={},r(()=>function(t,n,r,i){let o=t;r(r=>{var a;a=r,!Array.isArray(a)&&!isNaN(a)&&r>=0&&(r=Array.from(Array(r).keys(),e=>e+1)),void 0===r&&(r=[]);let s=t._x_lookup,c=t._x_prevKeys,u=[],l=[];
1if("object"!=typeof(f=r)||Array.isArray(f))for(let e=0;e<r.length;e++){let o=Kn(n,r[e],e,r);i(e=>{l.includes(e)&&be("Duplicate key on x-for",t),l.push(e)},{scope:{index:e,...o}}),u.push(o)}else r=Object.entries(r).map(([e,o])=>{let a=Kn(n,o,e,r);i(e=>{l.includes(e)&&be("Duplicate key on x-for",t),l.push(e)},{scope:{index:e,...a}}),u.push(a)});var f;let d=[],p=[],h=[],m=[];for(let e=0;e<c.length;e++){let t=c[e];-1===l.indexOf(t)&&h.push(t)}c=c.filter(e=>!h.includes(e));let v="template";for(let e=0;e<l.length;e++){let t=l[e],n=c.indexOf(t);if(-1===n)c.splice(e,0,t),d.push([v,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),p.push([t,r])}else m.push(t);v=t}for(let e=0;e<h.length;e++){let t=h[e];t in s&&(A(()=>{Le(s[t]),s[t].remove()}),delete s[t])}for(let e=0;e<p.length;e++){let[t,n]=p[e],r=s[t],i=s[n],a=document.createElement("div");A(()=>{i||be('x-for ":key" is undefined or invalid',o,n,s),i.after(a),r.after(i),i._x_currentIfEl&&i.after(i._x_currentIfEl),a.before(r),r._x_currentIfEl&&r.after(r._x_currentIfEl),a.remove()}),i._x_refreshXForScope(u[l.indexOf(n)])}for(let t=0;t<d.length;t++){let[n,r]=d[t],i="template"===n?o:s[n];i._x_currentIfEl&&(i=i._x_currentIfEl);let a=u[r],c=l[r],f=document.importNode(o.content,!0).firstElementChild,p=e(a);j(f,p,o),f._x_refreshXForScope=e=>{Object.entries(e).forEach(([e,t])=>{p[e]=t})},A(()=>{i.after(f),ze(()=>je(f))()}),"object"==typeof c&&be("x-for key cannot be an object, it must be a string or an integer",o),s[c]=f}for(let e=0;e<m.length;e++)s[m[e]]._x_refreshXForScope(u[l.indexOf(m[e])]);o._x_prevKeys=l})}(t,o,a,s)),i(()=>{Object.values(t._x_lookup).forEach(e=>A(()=>{Le(e),e.remove()})),delete t._x_prevKeys,delete t._x_lookup})}),Jn.inline=(e,{expression:t},{cleanup:n})=>{let r=ke(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n(()=>delete r._x_refs[t])},ee("ref",Jn),ee("if",(e,{expression:t},{effect:n,cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&be("x-if can only be used on a <template> tag",e);let i=U(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),ze(()=>je(t))()}),e._x_currentIfEl=t,e._x_undoIf=()=>{A(()=>{Le(t),t.remove()}),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})),r(()=>e._x_undoIf&&e._x_undoIf())}),ee("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]=Mn(t))}(e,t))}),Ge((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)}),le(se("@",Z("on:"))),ee("on",ze((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?U(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=Bn(e,t,n,e=>{o(()=>{},{scope:{$event:e},params:[e]})});i(()=>a())})),Yn("Collapse","collapse","collapse"),Yn("Intersect","intersect","intersect"),Yn("Focus","trap","focus"),Yn("Mask","mask","mask"),ht.setEvaluator(K),ht.setReactivityEngine({reactive:Tn,effect:function(e,t=gt){(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(!Rt.includes(n)){It(n);try{return Bt.push(Ft),Ft=!0,Rt.push(n),vt=n,e()}finally{Rt.pop(),Wt(),vt=Rt[Rt.length-1]}}};return n.id=$t++,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&&(It(e),e.options.onStop&&e.options.onStop(),e.active=!1)},raw:Nn});var Xn=ht;function Zn(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 Qn(e){let t=e.match(/^(-?[0-9]+)(px|%)?$/);return t?t[1]+(t[2]||"px"):void 0}function er(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(Qn(e[n+t]||""));return r=r.filter(e=>void 0!==e),r.length?r.join(" ").trim():t}var tr=["input","select","textarea","a[href]","button","[tabindex]:not
1(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],nr=tr.join(","),rr="undefined"==typeof Element,ir=rr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,or=!rr&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},ar=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(nr));return t&&ir.call(e,nr)&&r.unshift(e),r.filter(n)},sr=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var a=o.shift();if("SLOT"===a.tagName){var s=a.assignedElements(),c=e(s.length?s:a.children,!0,r);r.flatten?i.push.apply(i,c):i.push({scope:a,candidates:c})}else{ir.call(a,nr)&&r.filter(a)&&(n||!t.includes(a))&&i.push(a);var u=a.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(a),l=!r.shadowRootFilter||r.shadowRootFilter(a);if(u&&l){var f=e(!0===u?a.children:u.children,!0,r);r.flatten?i.push.apply(i,f):i.push({scope:a,candidates:f})}else o.unshift.apply(o,a.children)}}return i},cr=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},ur=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},lr=function(e){return"INPUT"===e.tagName},fr=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},dr=function(e,t){return!(t.disabled||function(e){return lr(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=ir.call(e,"details>summary:first-of-type")?e.parentElement:e;if(ir.call(i,"details:not([open]) *"))return!0;var o=or(e).host,a=(null==o?void 0:o.ownerDocument.contains(o))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return fr(e)}else{if("function"==typeof r){for(var s=e;e;){var c=e.parentElement,u=or(e);if(c&&!c.shadowRoot&&!0===r(c))return fr(e);e=e.assignedSlot?e.assignedSlot:c||u===e.ownerDocument?c:u.host}e=s}if(a)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!!ir.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},pr=function(e,t){return!(function(e){return function(e){return lr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||or(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)}(t)||cr(t)<0||!dr(e,t))},hr=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},mr=function e(t){var n=[],r=[];return t.forEach(function(t,i){var o=!!t.scope,a=o?t.scope:t,s=cr(a,o),c=o?e(t.candidates):a;0===s?o?n.push.apply(n,c):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:c})}),r.sort(ur).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},vr=function(e,t){var n;return n=(t=t||{}).getShadowRoot?sr([e],t.includeContainer,{filter:pr.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:hr}):ar(e,t.includeContainer,pr.bind(null,t)),mr(n)},gr=function(e,t){return(t=t||{}).getShadowRoot?sr([e],t.includeContainer,{filter:dr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):ar(e,t.includeContainer,dr.bind(null,t))},br=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==ir.call(e,nr)&&pr(t,e)},yr=tr.concat("iframe").join(","),_r=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==ir.call(e,yr)&&dr(t,e)};function xr(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 wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?xr(Object(n),!0).forEach(function(t){Er(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Or,Ar=(Or=[],{activateTrap:function(e){if(Or.length>0){var t=Or[Or.length-1];t!==e&&t.pause()}var n=Or.indexOf(e);-1===n||Or.splice(n,1),Or.push(e)},deactivateTrap:function(e){var t=Or.indexOf(e);-1!==t&&Or.splice(t,1),Or.length>0&&Or[Or.length-1].unpause()}}),kr=function(e){return setTimeout(e,0)},Sr=function(e,t){var n=-1;return e.every(function(e,r){return!t(e)||(n=r,!1)}),n},Cr=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},Tr=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target};function jr(e){let t=[];return Lr(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 Lr(e,t){!e.isSameNode(document.body)&&e.parentNode&&Array.from(e.parentNode.children).forEach(n=>{n.isSameNode(e)?Lr(e.parentNode,t):t(n)})}function Nr(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Dr(e){return e instanceof Nr(e).Element||e instanceof Element}function Rr(e){return e instanceof Nr(e).HTMLElement||e instanceof HTMLElement}function Mr(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Nr(e).ShadowRoot||e instanceof ShadowRoot)}var Pr=Math.max,$r=Math.min,Ir=Math.round;function Fr(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Br(){return!/^((?!chrome|android).)*safari/i.test(Fr())}function Wr(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Rr(e)&&(i=e.offsetWidth>0&&Ir(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ir(r.height)/e.offsetHeight||1);var a=(Dr(e)?Nr(e):window).visualViewport,s=!Br()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,u=(r.top+(s&&a?a.offsetTop:0))/o,l=r.width/i,f=r.height/o;return{width:l,height:f,top:u,right:c+l,bottom:u+f,left:c,x:c,y:u}}function Vr(e){var t=Nr(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qr(e){return e?(e.nodeName||"").toLowerCase():null}function Hr(e){return((Dr(e)?e.ownerDocument:e.document)||window.document).documentElement}function zr(e){return Wr(Hr(e)).left+Vr(e).scrollLeft}function Ur(e){return Nr(e).getComputedStyle(e)}function Gr(e){var t=Ur(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Kr(e,t,n){void 0===n&&(n=!1);var r,i,o=Rr(t),a=Rr(t)&&function(e){var t=e.getBoundingClientRect(),n=Ir(t.width)/e.offsetWidth||1,r=Ir(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Hr(t),c=Wr(e,a,n),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==qr(t)||Gr(s))&&(u=(r=t)!==Nr(r)&&Rr(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Vr(r)),Rr(t)?((l=Wr(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=zr(s))),{x:c.left+u.scrollLeft-l.x,y:c.top+u.scrollTop-l.y,width:c.width,height:c.height}}function Jr(e){var t=Wr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Yr(e){return"html"===qr(e)?e:e.assignedSlot||e.parentNode||(Mr(e)?e.host:null)||Hr(e)}function Xr(e){return["html","body","#document"].indexOf(qr(e))>=0?e.ownerDocument.body:Rr(e)&&Gr(e)?e:Xr(Yr(e))}function Zr(e,t){var n;void 0===t&&(t=[]);var r=Xr(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Nr(r),a=i?[o].concat(o.visualViewport||[],Gr(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Zr(Yr(a)))}function Qr(e){return["table","td","th"].indexOf(qr(e))>=0}function ei(e){return Rr(e)&&"fixed"!==Ur(e).position?e.offsetParent:null}function ti(e){for(var t=Nr(e),n=ei(e);n&&Qr(n)&&"static"===Ur(n).position;)n=ei(n);return n&&("html"===qr(n)||"body"===qr(n)&&"static"===Ur(n).position)?t:n||function(e){var t=/firefox/i.test(Fr());if(/Trident/i.test(Fr())&&Rr(e)&&"fixed"===Ur(e).position)return null;var n=Yr(e);for(Mr(n)&&(n=n.host);Rr(n)&&["html","body"].indexOf(qr(n))<0;){var r=Ur(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ni="top",ri="bottom",ii="right",oi="left",ai="auto",si=[ni,ri,ii,oi],ci="start",ui="end",li="viewport",fi="popper",di=si.reduce(function(e,t){return e.concat([t+"-"+ci,t+"-"+ui])},[]),pi=[].concat(si,[ai]).reduce(function(e,t){return e.concat([t,t+"-"+ci,t+"-"+ui])},[]),hi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function mi(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
vendor: 4,420 bytes, line 1
1h(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var vi={placement:"bottom",modifiers:[],strategy:"absolute"};function gi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function bi(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?vi:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},vi,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,l={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:Dr(e)?Zr(e):e.contextElement?Zr(e.contextElement):[],popper:Zr(t)};var a,u,d=function(e){var t=mi(e);return hi.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=d.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:l,options:r});c.push(o||function(){})}}),l.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(gi(t,n)){s.rects={reference:Kr(t,ti(n),"fixed"===s.options.strategy),popper:Jr(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){l.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){f(),u=!0}};if(!gi(e,t))return l;function f(){c.forEach(function(e){return e()}),c=[]}return l.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}var yi={passive:!0};function _i(e){return e.split("-")[0]}function xi(e){return e.split("-")[1]}function wi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ei(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?_i(i):null,a=i?xi(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case ni:t={x:s,y:n.y-r.height};break;case ri:t={x:s,y:n.y+n.height};break;case ii:t={x:n.x+n.width,y:c};break;case oi:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=o?wi(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case ci:t[u]=t[u]-(n[l]/2-r[l]/2);break;case ui:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var Oi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ai(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=a.x,p=void 0===d?0:d,h=a.y,m=void 0===h?0:h,v="function"==typeof l?l({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=oi,_=ni,x=window;if(u){var w=ti(n),E="clientHeight",O="clientWidth";w===Nr(n)&&"static"!==Ur(w=Hr(n)).position&&"absolute"===s&&(E="scrollHeight",O="scrollWidth"),(i===ni||(i===oi||i===ii)&&o===ui)&&(_=ri,m-=(f&&w===x&&x.visualViewport?x.visualViewport.height:w[E])-r.height,m*=c?1:-1),i!==oi&&(i!==ni&&i!==ri||o!==ui)||(y=ii,p-=(f&&w===x&&x.visualViewport?x.visualViewport.width:w[O])-r.width,p*=c?1:-1)}var A,k=Object.assign({position:s},u&&Oi),S=!0===l?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Ir(n*i)/i||0,y:Ir(r*i)/i||0}}({x:p,y:m},Nr(n)):{x:p,y:m};return p=S.x,m=S.y,c?Object.assign({},k,((A={})[_]=b?"0":"",A[y]=g?"0":"",A.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",A)):Object.assign({},k,((t={})[_]=b?m+"px":"",t[y]=g?p+"px":"",t.transform="",t))}const ki={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 5,357 bytes, line 1
1Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];Rr(i)&&qr(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Rr(r)&&qr(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};var Si={left:"right",right:"left",bottom:"top",top:"bottom"};function Ci(e){return e.replace(/left|right|bottom|top/g,function(e){return Si[e]})}var Ti={start:"end",end:"start"};function ji(e){return e.replace(/start|end/g,function(e){return Ti[e]})}function Li(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ni(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Di(e,t,n){return t===li?Ni(function(e,t){var n=Nr(e),r=Hr(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var u=Br();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+zr(e),y:c}}(e,n)):Dr(t)?function(e,t){var n=Wr(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ni(function(e){var t,n=Hr(e),r=Vr(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=Pr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Pr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+zr(e),c=-r.scrollTop;return"rtl"===Ur(i||n).direction&&(s+=Pr(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(Hr(e)))}function Ri(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Mi(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function Pi(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,c=void 0===s?"clippingParents":s,u=n.rootBoundary,l=void 0===u?li:u,f=n.elementContext,d=void 0===f?fi:f,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Ri("number"!=typeof v?v:Mi(v,si)),b=d===fi?"reference":fi,y=e.rects.popper,_=e.elements[h?b:d],x=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=Zr(Yr(e)),n=["absolute","fixed"].indexOf(Ur(e).position)>=0&&Rr(e)?ti(e):e;return Dr(n)?t.filter(function(e){return Dr(e)&&Li(e,n)&&"body"!==qr(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=Di(e,n,r);return t.top=Pr(i.top,t.top),t.right=$r(i.right,t.right),t.bottom=$r(i.bottom,t.bottom),t.left=Pr(i.left,t.left),t},Di(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Dr(_)?_:_.contextElement||Hr(e.elements.popper),c,l,a),w=Wr(e.elements.reference),E=Ei({reference:w,element:y,strategy:"absolute",placement:i}),O=Ni(Object.assign({},y,E)),A=d===fi?O:w,k={top:x.top-A.top+g.top,bottom:A.bottom-x.bottom+g.bottom,left:x.left-A.left+g.left,right:A.right-x.right+g.right},S=e.modifiersData.offset;if(d===fi&&S){var C=S[i];Object.keys(k).forEach(function(e){var t=[ii,ri].indexOf(e)>=0?1:-1,n=[ni,ri].indexOf(e)>=0?"y":"x";k[e]+=C[n]*t})}return k}function $i(e,t,n){return Pr(e,$r(t,n))}function Ii(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Fi(e){return[ni,ii,ri,oi].some(function(t){return e[t]>=0})}var Bi=bi({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=Nr(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,yi)}),s&&c.addEventListener("resize",n.update,yi),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,yi)}),s&&c.removeEventListener("resize",n.update,yi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ei({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:_i(t.placement),variation:xi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ai(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roun
vendor: 4,265 bytes, line 1
1dOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ai(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ki,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=pi.reduce(function(e,n){return e[n]=function(e,t,n){var r=_i(e),i=[oi,ni].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[oi,ii].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=_i(v),b=c||(g!==v&&h?function(e){if(_i(e)===ai)return[];var t=Ci(e);return[ji(e),t,ji(t)]}(v):[Ci(v)]),y=[v].concat(b).reduce(function(e,n){return e.concat(_i(n)===ai?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?pi:c,l=xi(r),f=l?s?di:di.filter(function(e){return xi(e)===l}):si,d=f.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=f);var p=d.reduce(function(t,n){return t[n]=Pi(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[_i(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)},[]),_=t.rects.reference,x=t.rects.popper,w=new Map,E=!0,O=y[0],A=0;A<y.length;A++){var k=y[A],S=_i(k),C=xi(k)===ci,T=[ni,ri].indexOf(S)>=0,j=T?"width":"height",L=Pi(t,{placement:k,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),N=T?C?ii:oi:C?ri:ni;_[j]>x[j]&&(N=Ci(N));var D=Ci(N),R=[];if(o&&R.push(L[S]<=0),s&&R.push(L[N]<=0,L[D]<=0),R.every(function(e){return e})){O=k,E=!1;break}w.set(k,R)}if(E)for(var M=function(e){var t=y.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return O=t,"break"},P=h?3:1;P>0&&"break"!==M(P);P--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,v=Pi(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),g=_i(t.placement),b=xi(t.placement),y=!b,_=wi(g),x="x"===_?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,O=t.rects.popper,A="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(w){if(o){var T,j="y"===_?ni:oi,L="y"===_?ri:ii,N="y"===_?"height":"width",D=w[_],R=D+v[j],M=D-v[L],P=p?-O[N]/2:0,$=b===ci?E[N]:O[N],I=b===ci?-O[N]:-E[N],F=t.elements.arrow,B=p&&F?Jr(F):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=W[j],q=W[L],H=$i(0,E[N],B[N]),z=y?E[N]/2-P-H-V-k.mainAxis:$-H-V-k.mainAxis,U=y?-E[N]/2+P+H+q+k.mainAxis:I+H+q+k.mainAxis,G=t.elements.arrow&&ti(t.elements.arrow),K=G?"y"===_?G.clientTop||0:G.clientLeft||0:0,J=null!=(T=null==S?void 0:S[_])?T:0,Y=D+U-J,X=$i(p?$r(R,D+z-J-K):R,D,p?Pr(M,Y):M);w[_]=X,C[_]=X-D}if(s){var Z,Q="x"===_?ni:oi,ee="x"===_?ri:ii,te=w[x],ne="y"===x?"height":"width",re=te+v[Q],ie=te-v[ee],oe=-1!==[ni,oi].indexOf(g),ae=null!=(Z=null==S?void 0:S[x])?Z:0,se=oe?re:te-E[ne]-O[ne]-ae+k.altAxis,ce=oe?te+E[ne]+O[ne]-ae-k.altAxis:ie,ue=p&&oe?function(e,t,n){var r=$i(e,t,n
vendor: 4,232 bytes, line 1
1);return r>n?n:r}(se,te,ce):$i(p?se:re,te,p?ce:ie);w[x]=ue,C[x]=ue-te}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=_i(n.placement),c=wi(s),u=[oi,ii].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return Ri("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Mi(e,si))}(i.padding,n),f=Jr(o),d="y"===c?ni:oi,p="y"===c?ri:ii,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],v=ti(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,b=h/2-m/2,y=l[d],_=g-f[u]-l[p],x=g/2-f[u]/2+b,w=$i(y,x,_),E=c;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Li(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Pi(t,{elementContext:"reference"}),s=Pi(t,{altBoundary:!0}),c=Ii(a,r),u=Ii(s,i,o),l=Fi(c),f=Fi(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Wi="tippy-content",Vi="tippy-arrow",qi="tippy-svg-arrow",Hi={passive:!0,capture:!0},zi=function(){return document.body};function Ui(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Gi(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ki(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ji(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Yi(e){return[].concat(e)}function Xi(e,t){-1===e.indexOf(t)&&e.push(t)}function Zi(e){return[].slice.call(e)}function Qi(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function eo(){return document.createElement("div")}function to(e){return["Element","Fragment"].some(function(t){return Gi(e,t)})}function no(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function ro(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function io(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function oo(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var ao={isTouch:!1},so=0;function co(){ao.isTouch||(ao.isTouch=!0,window.performance&&document.addEventListener("mousemove",uo))}function uo(){var e=performance.now();e-so<20&&(ao.isTouch=!1,document.removeEventListener("mousemove",uo)),so=e}function lo(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var fo=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),po=Object.assign({appendTo:zi,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ho=Object.keys(po);function mo(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;
vendor: 4,938 bytes, line 1
1return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=po[i])?r:o),t},{});return Object.assign({},e,t)}function vo(e,t){var n=Object.assign({},t,{content:Ki(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(mo(Object.assign({},po,{plugins:t}))):ho).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},po.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function go(e,t){e.innerHTML=t}function bo(e){var t=eo();return!0===e?t.className=Vi:(t.className=qi,to(e)?t.appendChild(e):go(t,e)),t}function yo(e,t){to(t.content)?(go(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?go(e,t.content):e.textContent=t.content)}function _o(e){var t=e.firstElementChild,n=Zi(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(Wi)}),arrow:n.find(function(e){return e.classList.contains(Vi)||e.classList.contains(qi)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function xo(e){var t=eo(),n=eo();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=eo();function i(n,r){var i=_o(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||yo(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(bo(r.arrow))):o.appendChild(bo(r.arrow)):s&&o.removeChild(s)}return r.className=Wi,r.setAttribute("data-state","hidden"),yo(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}xo.$$tippy=!0;var wo=1,Eo=[],Oo=[];function Ao(e,t){var n,r,i,o,a,s,c,u,l=vo(e,Object.assign({},po,mo(Qi(t)))),f=!1,d=!1,p=!1,h=!1,m=[],v=Ji(G,l.interactiveDebounce),g=wo++,b=(u=l.plugins).filter(function(e,t){return u.indexOf(e)===t}),y={id:g,reference:e,popper:eo(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(!y.state.isDestroyed){D("onBeforeUpdate",[y,t]),z();var n=y.props,r=vo(e,Object.assign({},n,Qi(t),{ignoreAttributes:!0}));y.props=r,H(),n.interactiveDebounce!==r.interactiveDebounce&&(P(),v=Ji(G,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Yi(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),M(),N(),w&&w(n,r),y.popperInstance&&(X(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),D("onAfterUpdate",[y,t])}},setContent:function(e){y.setProps({content:e})},show:function(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=ao.isTouch&&!y.props.touch,i=Ui(y.props.duration,0,po.duration);if(!(e||t||n||r||C().hasAttribute("disabled")||(D("onShow",[y],!1),!1===y.props.onShow(y)))){if(y.state.isVisible=!0,S()&&(x.style.visibility="visible"),N(),B(),y.state.isMounted||(x.style.transition="none"),S()){var o=j();no([o.box,o.content],0)}var a,c,u;s=function(){var e;if(y.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=y.props.moveTransition,S()&&y.props.animation){var t=j(),n=t.box,r=t.content;no([n,r],i),ro([n,r],"visible")}R(),M(),Xi(Oo,y),null==(e=y.popperInstance)||e.forceUpdate(),D("onMount",[y]),y.props.animation&&S()&&function(e){V(e,function(){y.state.isShown=!0,D("onShown",[y])})}(i)}},c=y.props.appendTo,u=C(),(a=y.props.interactive&&c===zi||"parent"===c?u.parentNode:Ki(c,[u])).contains(x)||a.appendChild(x),y.state.isMounted=!0,X()}},hide:function(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=Ui(y.props.duration,1,po.duration);if(!(e||t||n)&&(D("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,h=!1,f=!1,S()&&(x.style.visibility="hidden"),P(),W(),N(!0),S()){var i=j(),o=i.box,a=i.content;y.props.animation&&(no([o,a],r),ro([o,a],"hidden"))}R(),M(),y.props.animation?S()&&function(e,t){V(e,function(){!y.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,y.unmount):y.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",v),Xi(Eo,v),v(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){y.state.isVisible&&y.hide(),y.state.isMounted&&(Z(),Q().forEac
vendor: 4,341 bytes, line 1
1h(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),Oo=Oo.filter(function(e){return e!==y}),y.state.isMounted=!1,D("onHidden",[y]))},destroy:function(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),z(),delete e._tippy,y.state.isDestroyed=!0,D("onDestroy",[y]))}};if(!l.render)return y;var _=l.render(y),x=_.popper,w=_.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+y.id,y.popper=x,e._tippy=y,x._tippy=y;var E=b.map(function(e){return e.fn(y)}),O=e.hasAttribute("aria-expanded");return H(),M(),N(),D("onCreate",[y]),l.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",v)}),y;function A(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===A()[0]}function S(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function C(){return c||e}function T(){var e,t,n=C().parentNode;return n?null!=(t=Yi(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function j(){return _o(x)}function L(e){return y.state.isMounted&&!y.state.isVisible||ao.isTouch||o&&"focus"===o.type?0:Ui(y.props.delay,e?0:1,po.delay)}function N(e){void 0===e&&(e=!1),x.style.pointerEvents=y.props.interactive&&!e?"":"none",x.style.zIndex=""+y.props.zIndex}function D(e,t,n){var r;void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n&&(r=y.props)[e].apply(r,t)}function R(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Yi(y.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function M(){!O&&y.props.aria.expanded&&Yi(y.props.triggerTarget||e).forEach(function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function P(){T().removeEventListener("mousemove",v),Eo=Eo.filter(function(e){return e!==v})}function $(t){if(!ao.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!oo(x,n)){if(Yi(y.props.triggerTarget||e).some(function(e){return oo(e,n)})){if(ao.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),d=!0,setTimeout(function(){d=!1}),y.state.isMounted||W())}}}function I(){p=!0}function F(){p=!1}function B(){var e=T();e.addEventListener("mousedown",$,!0),e.addEventListener("touchend",$,Hi),e.addEventListener("touchstart",F,Hi),e.addEventListener("touchmove",I,Hi)}function W(){var e=T();e.removeEventListener("mousedown",$,!0),e.removeEventListener("touchend",$,Hi),e.removeEventListener("touchstart",F,Hi),e.removeEventListener("touchmove",I,Hi)}function V(e,t){var n=j().box;function r(e){e.target===n&&(io(n,"remove",r),t())}if(0===e)return t();io(n,"remove",a),io(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Yi(y.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function H(){var e;k()&&(q("touchstart",U,{passive:!0}),q("touchend",K,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,U),e){case"mouseenter":q("mouseleave",K);break;case"focus":q(fo?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function z(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function U(e){var t,n=!1;if(y.state.isEnabled&&!Y(e)&&!d){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,M(),!y.state.isVisible&&Gi(e,"MouseEvent")&&Eo.forEach(function(t){return t(e)}),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||f)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null}
1).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=t.top-r+c>o,p=r-t.bottom-u>o,h=t.left-n+l>o,m=n-t.right-f>o;return d||p||h||m})})(r,e)&&(P(),te(e))}}function K(e){Y(e)||y.props.trigger.indexOf("click")>=0&&f||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function J(e){y.props.trigger.indexOf("focusin")<0&&e.target!==C()||y.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Y(e){return!!ao.isTouch&&k()!==e.type.indexOf("touch")>=0}function X(){Z();var t=y.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=S()?_o(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||C()}:e,l=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(S()){var n=j().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];S()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),y.popperInstance=Bi(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function Z(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Q(){return Zi(x.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&D("onTrigger",[y,e]),B();var t=L(!0),r=A(),i=r[0],o=r[1];ao.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){y.show()},t):y.show()}function te(e){if(y.clearDelayTimeouts(),D("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?r=setTimeout(function(){y.state.isVisible&&y.hide()},t):i=requestAnimationFrame(function(){y.hide()})}}else W()}}function ko(e,t){void 0===t&&(t={});var n=po.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",co,Hi),window.addEventListener("blur",lo);var r,i=Object.assign({},t,{plugins:n}),o=(r=e,to(r)?[r]:function(e){return Gi(e,"NodeList")}(r)?Zi(r):Array.isArray(r)?r:Zi(document.querySelectorAll(r))).reduce(function(e,t){var n=t&&Ao(t,i);return n&&e.push(n),e},[]);return to(e)?o[0]:o}ko.defaultProps=po,ko.setDefaultProps=function(e){Object.keys(e).forEach(function(t){po[t]=e[t]})},ko.currentInput=ao,Object.assign({},ki,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ko.setDefaultProps({render:xo});const So=ko;window.Alpine=Xn,Xn.plugin(function(e){e.directive("intersect",e.skipDuringClone((e,{value:t,expression:n,modifiers:r},{evaluateLater:i,cleanup:o})=>{let a=i(n),s={rootMargin:er(r),threshold:Zn(r)},c=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting!==("leave"===t)&&(a(),r.includes("once")&&c.disconnect())})},s);c.observe(e),o(()=>{c.disconnect()})}))}),Xn.plugin(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=>_r(e),previouslyFocused:()=>t,lastFocused:()=>t,focused:()=>n,focusables:()=>Array.isArray(r)?r:gr(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((t,{expression:n,modifiers:r},{effect:i,evaluateLater:o,cleanup:a})=>{let s=o(n),c=!1,u={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>t},l=()=>{};if(r.includes("noautofocus"))u.initialFocus=!1;else{let e=t.querySelector("[autofocus]");e&&(u.initialFocus=e)}r.includes("inert")&&(u.onPostActivate=()=>{e.nextTick(()=>{l=jr(t)})});let f=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=wr({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})})},c=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},u=function(){var e=c("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||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},l=function(){if(o.containerGroups=o.containers.map(function(e){var t=vr(e,i.tabbableOptions),n=gr(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 br(e,i.tabbableOptions)}):n.slice(0,r).reverse().find(function(e){return br(e,i.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!c("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(u()))},d=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},p=function(e){var t=Tr(e);s(t)>=0||(Cr(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!_r(t,i.tabbableOptions)}):Cr(i.allowOutsideClick,e)||e.preventDefault())},h=function(e){var t=Tr(e),n=s(t)>=0;n||t instanceof Document?n&&(o.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),f(o.mostRecentlyFocusedNode||u()))},m=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.ke
1yCode}(e)&&!1!==Cr(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Tr(e);l();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 u=Sr(o.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n});if(u<0&&(a.container===t||_r(t,i.tabbableOptions)&&!br(t,i.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(u=r),u>=0){var d=0===u?o.tabbableGroups.length-1:u-1;n=o.tabbableGroups[d].lastTabbableNode}}else{var p=Sr(o.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n});if(p<0&&(a.container===t||_r(t,i.tabbableOptions)&&!br(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=c("fallbackFocus");n&&(e.preventDefault(),f(n))}(e)},v=function(e){var t=Tr(e);s(t)>=0||Cr(i.clickOutsideDeactivates,e)||Cr(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},g=function(){if(o.active)return Ar.activateTrap(n),o.delayInitialFocusTimer=i.delayInitialFocus?kr(function(){f(u())}):f(u()),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",m,{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",m,!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||l(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){i&&l(),g(),n&&n()};return i?(i(o.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!o.active)return this;var t=wr({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,b(),o.active=!1,o.paused=!1,Ar.deactivateTrap(n);var r=a(t,"onDeactivate"),s=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),u=a(t,"returnFocus","returnFocusOnDeactivate");r&&r();var l=function(){kr(function(){u&&f(d(o.nodeFocusedBeforeActivation)),s&&s()})};return u&&c?(c(d(o.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(){return o.paused||!o.active||(o.paused=!0,b()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,l(),g(),this):this}
1,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&&l(),this}}).updateContainerElements(e),n}(t,u),d=()=>{};const p=()=>{l(),l=()=>{},d(),d=()=>{},f.deactivate({returnFocus:!r.includes("noreturn")})};i(()=>s(e=>{c!==e&&(e&&!c&&(r.includes("noscroll")&&(d=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}}()),setTimeout(()=>{f.activate()},15)),!e&&c&&p(),c=!!e)})),a(p)},(e,{expression:t,modifiers:n},{evaluate:r})=>{n.includes("inert")&&r(t)&&jr(e)}))});const Co=()=>{So("[data-tippy-content]",{trigger:"mouseenter click",allowHTML:!0,interactive:!0})};Xn.data("scrollSpy",function(){return{activeSection:null,sections:[],observer:null,intersecting:{}
1,rootMarginValue:"0px 0px -80% 0px",init(){this.sections=Array.from(this.$el.querySelectorAll(".cfc-contents-list__link")).map(e=>decodeURIComponent((e.hash||"").slice(1))).filter(e=>e&&document.getElementById(e)),this.sections.length&&(this.activeSection=this.sections[0],this.observer=new IntersectionObserver((e,t)=>{e.forEach(e=>{this.intersecting[e.target.id]=e.isIntersecting});for(let e=this.sections.length-1;e>=0;e--){const t=this.sections[e];if(this.intersecting[t]){this.activeSection=t;break}}},{threshold:.9,rootMargin:this.rootMarginValue}),this.sections.forEach(e=>{this.observer.observe(document.getElementById(e))}))}}}),document.addEventListener("DOMContentLoaded",()=>{Co(),(()=>{const e=document.querySelectorAll(".is-style-cfc-code-prompt");e.length&&(e.forEach(e=>{const t=e.textContent||e.innerText,n=document.createElement("div");n.className="cfc-code-prompt__wrapper";const r=document.createElement("div");r.className="cfc-code-prompt__header";const i=document.createElement("span");i.className="cfc-code-prompt__tooltip",i.setAttribute("data-tippy-content",'<a style="text-decoration:none" href="https://chancerylaneproject.org/disclaimer-using-ai-for-climate-aligned-legal-content/" target="_blank">Learn how to prompt Large Language Models (LLMs) for developing and using climate-aligned legal content, while understanding your responsibilities and limitations of AI.</a>'),i.innerHTML='\n            <svg class="icon icon-info" aria-hidden="true" role="img">\n                <use xlink:href="#icon-info"></use>\n            </svg>\n            <span>Info</span>\n        ';const o=document.createElement("button");o.className="cfc-code-prompt__copy",o.setAttribute("data-code",t),o.setAttribute("aria-label","Copy code to clipboard"),o.innerHTML='\n            <svg class="icon icon-copy" aria-hidden="true" role="img">\n                <use xlink:href="#icon-copy"></use>\n            </svg>\n            <span>Copy</span>\n        ',r.appendChild(i),r.appendChild(o),e.parentNode.insertBefore(n,e),n.appendChild(r),n.appendChild(e)}),document.querySelectorAll(".cfc-code-prompt__copy").forEach(e=>{e.addEventListener("click",async t=>{const n=e.getAttribute("data-code");try{await navigator.clipboard.writeText(n),e.classList.add("copied"),setTimeout(()=>{e.classList.remove("copied")},2e3)}catch(t){console.error("Failed to copy text: ",t);const r=document.createElement("textarea");r.classList.add("visually-hidden"),r.value=n,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),e.classList.add("copied"),setTimeout(()=>{e.classList.remove("copied")},2e3)}})}),Co())})()}),Xn.start()})();

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.