(()=>{var e,t={47457:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return i};var n,i={},r=Object.prototype,o=r.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(n){d=function(e,t,n){return e[t]=n}}function h(e,t,n,i){var r=t&&t.prototype instanceof b?t:b,o=Object.create(r.prototype),a=new N(i||[]);return s(o,"_invoke",{value:L(e,n,a)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}i.wrap=h;var p="suspendedStart",v="suspendedYield",g="executing",m="completed",y={};function b(){}function _(){}function x(){}var w={};d(w,l,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(T([])));S&&S!==r&&o.call(S,l)&&(w=S);var C=x.prototype=b.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(t,n){function i(r,s,a,l){var c=f(t[r],t,s);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==e(d)&&o.call(d,"__await")?n.resolve(d.__await).then((function(e){i("next",e,a,l)}),(function(e){i("throw",e,a,l)})):n.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return i("throw",e,a,l)}))}l(c.arg)}var r;s(this,"_invoke",{value:function(e,t){function o(){return new n((function(n,r){i(e,t,n,r)}))}return r=r?r.then(o,o):o()}})}function L(e,t,i){var r=p;return function(o,s){if(r===g)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw s;return{value:n,done:!0}}for(i.method=o,i.arg=s;;){var a=i.delegate;if(a){var l=D(a,i);if(l){if(l===y)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=g;var c=f(e,t,i);if("normal"===c.type){if(r=i.done?m:v,c.arg===y)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=m,i.method="throw",i.arg=c.arg)}}}function D(e,t){var i=t.method,r=e.iterator[i];if(r===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=n,D(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y;var s=o.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,y):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,s=function e(){for(;++r=0;--r){var s=this.tryEntries[r],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=o.call(s,"catchLoc"),c=o.call(s,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:T(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),y}},i}function n(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}!function(){var e,i,r,o=0;function s(e,t,n){if(0===e.length||0===t.length&&0===n.length)a();else if(t.forEach((function(t){var n=e.shift();void 0!==n&&(t.innerHTML=n,t.firstChild.dataset.eligible&&c(t.firstChild.dataset.eligible),r.observe(t))})),0!==e.length&&0!==n.length){var i=0;n.forEach((function(t){if(0===e.length)return!1;var n=t.querySelectorAll([":scope > p:not(:empty)",":scope > ul:not(:empty)",":scope > ol:not(:empty)",":scope > table:not(:empty)",":scope > blockquote:not(:empty)",":scope > figure:not(:empty)",":scope > object:not(:empty)",":scope > iframe:not(:empty)"].join(", "));0===n.length?o(t):n.forEach((function(t){if(0===e.length)return!1;o(t)}))}))}function o(t){var n;if(++i<5)return!0;var o=l(t);if(["h1","h2","h3","h4","h5","h6"].indexOf(null==o?void 0:o.nodeName.toLowerCase())>-1)return i=4,!0;var s=document.createElement("div");s.innerHTML=e.shift().trim();var a=s.firstChild;t.insertAdjacentElement&&t.insertAdjacentElement("beforeBegin",a),(null===(n=a.dataset)||void 0===n?void 0:n.eligible)&&c(a.dataset.eligible),r.observe(a),i=0}}function a(){document.querySelectorAll(".image-link-wrapper").forEach((function(e){e.remove()}))}function l(e){var t;return e.previousSibling?"#text"===(null===(t=e.previousSibling)||void 0===t?void 0:t.nodeName.toLowerCase())?l(e.previousSibling):e.previousSibling:null}function c(e){fetch(e)}window.addEventListener("load",(function(){if(e=document.querySelectorAll(".image-link, .inject-slot"),i=document.querySelectorAll([".has-image-links > p:not(:empty)",".has-image-links > ul:not(:empty)",".has-image-links > ol:not(:empty)",".has-image-links > table:not(:empty)",".has-image-links > blockquote:not(:empty)",".has-image-links > figure:not(:empty)",".has-image-links > object:not(:empty)",".has-image-links > iframe:not(:empty)"].join(", ")),r=new IntersectionObserver((function(e){e.forEach((function(e){var t;e.isIntersecting&&(fetch((null===(t=e.target.firstChild.dataset)||void 0===t?void 0:t.viewable)||e.target.dataset.viewable),r.unobserve(e.target))}))}),{threshold:.5}),0!==(o=Math.floor(i.length/5)+e.length)){var l=new URLSearchParams({limit:o,keywords:window.keywords||null});fetch(new Request("/image-links-filtered?".concat(l.toString()),{method:"get",headers:new Headers({"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":document.head.querySelector('meta[name="csrf-token"]').content})})).then(function(){var r,o=(r=t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r.ok){t.next=3;break}return a(),t.abrupt("return");case 3:return t.t0=s,t.next=6,r.json();case 6:t.t1=t.sent,t.t2=e,t.t3=i,(0,t.t0)(t.t1,t.t2,t.t3);case 10:case"end":return t.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(i,o){var s=r.apply(e,t);function a(e){n(s,i,o,a,l,"next",e)}function l(e){n(s,i,o,a,l,"throw",e)}a(void 0)}))});return function(e){return o.apply(this,arguments)}}())}}))}()},87959:(e,t,n)=>{"use strict";var i,r,o,s,a=!1,l=!1,c=[],u=-1;function d(e){!function(e){c.includes(e)||c.push(e);l||a||(a=!0,queueMicrotask(f))}(e)}function h(e){let t=c.indexOf(e);-1!==t&&t>u&&c.splice(t,1)}function f(){a=!1,l=!0;for(let e=0;e{let r=e();JSON.stringify(r),i?n=r:queueMicrotask((()=>{t(r,n),n=r})),i=!1}));return()=>o(s)}function m(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function y(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>y(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let i=e.firstElementChild;for(;i;)y(i,t),i=i.nextElementSibling}function b(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var _=!1;var x=[],w=[];function E(){return x.map((e=>e()))}function S(){return x.concat(w).map((e=>e()))}function C(e){x.push(e)}function A(e){w.push(e)}function k(e,t=!1){return L(e,(e=>{if((t?S():E()).some((t=>e.matches(t))))return!0}))}function L(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return L(e.parentElement,t)}}var D=[];function P(e,t=y,n=(()=>{})){!function(e){we=!0;let t=Symbol();Se=t,Ee.set(t,[]);let n=()=>{for(;Ee.get(t).length;)Ee.get(t).shift()();Ee.delete(t)},i=()=>{we=!1,n()};e(n),i()}((()=>{t(e,((e,t)=>{n(e,t),D.forEach((n=>n(e,t))),_e(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function O(e){y(e,(e=>{z(e),function(e){if(e._x_cleanups)for(;e._x_cleanups.length;)e._x_cleanups.pop()()}(e)}))}var N=[],T=[],I=[];function M(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,T.push(t))}function j(e){N.push(e)}function F(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function z(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach((([n,i])=>{(void 0===t||t.includes(n))&&(i.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var R=new MutationObserver(X),q=!1;function $(){R.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),q=!0}function W(){!function(){let e=R.takeRecords();B.push((()=>e.length>0&&X(e)));let t=B.length;queueMicrotask((()=>{if(B.length===t)for(;B.length>0;)B.shift()()}))}(),R.disconnect(),q=!1}var B=[];function G(e){if(!q)return e();W();let t=e();return $(),t}var H=!1,U=[];function X(e){if(H)return void(U=U.concat(e));let t=new Set,n=new Set,i=new Map,r=new Map;for(let o=0;o1===e.nodeType&&t.add(e))),e[o].removedNodes.forEach((e=>1===e.nodeType&&n.add(e)))),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,s=e[o].oldValue,a=()=>{i.has(t)||i.set(t,[]),i.get(t).push({name:n,value:t.getAttribute(n)})},l=()=>{r.has(t)||r.set(t,[]),r.get(t).push(n)};t.hasAttribute(n)&&null===s?a():t.hasAttribute(n)?(l(),a()):l()}r.forEach(((e,t)=>{z(t,e)})),i.forEach(((e,t)=>{N.forEach((n=>n(t,e)))}));for(let e of n)t.has(e)||(T.forEach((t=>t(e))),O(e));t.forEach((e=>{e._x_ignoreSelf=!0,e._x_ignore=!0}));for(let e of t)n.has(e)||e.isConnected&&(delete e._x_ignoreSelf,delete e._x_ignore,I.forEach((t=>t(e))),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach((e=>{delete e._x_ignoreSelf,delete e._x_ignore})),t=null,n=null,i=null,r=null}function V(e){return K(J(e))}function Y(e,t,n){return e._x_dataStack=[t,...J(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function J(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?J(e.host):e.parentNode?J(e.parentNode):[]}function K(e){return new Proxy({objects:e},Q)}var Q={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))),get:({objects:e},t,n)=>"toJSON"==t?Z:Reflect.get(e.find((e=>Object.prototype.hasOwnProperty.call(e,t)))||{},t,n),set({objects:e},t,n,i){const r=e.find((e=>Object.prototype.hasOwnProperty.call(e,t)))||e[e.length-1],o=Object.getOwnPropertyDescriptor(r,t);return o?.set&&o?.get?Reflect.set(r,t,n,i):Reflect.set(r,t,n)}};function Z(){return Reflect.ownKeys(this).reduce(((e,t)=>(e[t]=Reflect.get(this,t),e)),{})}function ee(e){let t=(n,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([r,{value:o,enumerable:s}])=>{if(!1===s||void 0===o)return;let a=""===i?r:`${i}.${r}`;var l;"object"==typeof o&&null!==o&&o._x_interceptor?n[r]=o.initialize(e,a,r):"object"!=typeof(l=o)||Array.isArray(l)||null===l||o===n||o instanceof Element||t(o,a)}))};return t(e)}function te(e,t=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,i){return e(this.initialValue,(()=>function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}(t,n)),(e=>ne(t,n,e)),n,i)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(i,r,o)=>{let s=e.initialize(i,r,o);return n.initialValue=s,t(i,r,o)}}else n.initialValue=e;return n}}function ne(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]]={}),ne(e[t[0]],t.slice(1),n)}e[t[0]]=n}var ie={};function re(e,t){ie[e]=t}function oe(e,t){return Object.entries(ie).forEach((([n,i])=>{let r=null;Object.defineProperty(e,`$${n}`,{get:()=>i(t,function(){if(r)return r;{let[e,n]=Ce(t);return r={interceptor:te,...e},M(t,n),r}}()),enumerable:!1})})),e}function se(e,t,n,...i){try{return n(...i)}catch(n){ae(n,e,t)}}function ae(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 le=!0;function ce(e){let t=le;le=!1;let n=e();return le=t,n}function ue(e,t,n={}){let i;return de(e,t)((e=>i=e),n),i}function de(...e){return he(...e)}var he=fe;function fe(e,t){let n={};oe(n,e);let i=[n,...J(e)],r="function"==typeof t?function(e,t){return(n=(()=>{}),{scope:i={},params:r=[]}={})=>{ve(n,t.apply(K([i,...e]),r))}}(i,t):function(e,t,n){let i=function(e,t){if(pe[e])return pe[e];let n=Object.getPrototypeOf((async function(){})).constructor,i=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e;const r=()=>{try{let t=new n(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(n){return ae(n,t,e),Promise.resolve()}};let o=r();return pe[e]=o,o}(t,n);return(r=(()=>{}),{scope:o={},params:s=[]}={})=>{i.result=void 0,i.finished=!1;let a=K([o,...e]);if("function"==typeof i){let e=i(i,a).catch((e=>ae(e,n,t)));i.finished?(ve(r,i.result,a,s,n),i.result=void 0):e.then((e=>{ve(r,e,a,s,n)})).catch((e=>ae(e,n,t))).finally((()=>i.result=void 0))}}}(i,t,e);return se.bind(null,e,t,r)}var pe={};function ve(e,t,n,i,r){if(le&&"function"==typeof t){let o=t.apply(n,i);o instanceof Promise?o.then((t=>ve(e,t,n,i))).catch((e=>ae(e,r,t))):e(o)}else"object"==typeof t&&t instanceof Promise?t.then((t=>e(t))):e(t)}var ge="x-";function me(e=""){return ge+e}var ye={};function be(e,t){return ye[e]=t,{before(t){if(!ye[t])return void console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);const n=Te.indexOf(t);Te.splice(n>=0?n:Te.indexOf("DEFAULT"),0,e)}}}function _e(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}))),i=xe(n);n=n.map((e=>i.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),t=t.concat(n)}let i={},r=t.map(ke(((e,t)=>i[e]=t))).filter(Pe).map(function(e,t){return({name:n,value:i})=>{let r=n.match(Oe()),o=n.match(/:([a-zA-Z0-9\-_:]+)/),s=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[n]||n;return{type:r?r[1]:null,value:o?o[1]:null,modifiers:s.map((e=>e.replace(".",""))),expression:i,original:a}}}(i,n)).sort(Ie);return r.map((t=>function(e,t){let n=()=>{},i=ye[t.type]||n,[r,o]=Ce(e);F(e,t.original,o);let s=()=>{e._x_ignore||e._x_ignoreSelf||(i.inline&&i.inline(e,t,r),i=i.bind(i,e,t,r),we?Ee.get(Se).push(i):i())};return s.runCleanups=o,s}(e,t)))}function xe(e){return Array.from(e).map(ke()).filter((e=>!Pe(e)))}var we=!1,Ee=new Map,Se=Symbol();function Ce(e){let t=[],[n,i]=function(e){let t=()=>{};return[n=>{let i=r(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(i),t=()=>{void 0!==i&&(e._x_effects.delete(i),o(i))},i},()=>{t()}]}(e);t.push(i);return[{Alpine:pt,effect:n,cleanup:e=>t.push(e),evaluateLater:de.bind(de,e),evaluate:ue.bind(ue,e)},()=>t.forEach((e=>e()))]}var Ae=(e,t)=>({name:n,value:i})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:i});function ke(e=(()=>{})){return({name:t,value:n})=>{let{name:i,value:r}=Le.reduce(((e,t)=>t(e)),{name:t,value:n});return i!==t&&e(i,t),{name:i,value:r}}}var Le=[];function De(e){Le.push(e)}function Pe({name:e}){return Oe().test(e)}var Oe=()=>new RegExp(`^${ge}([^:^.]+)\\b`);var Ne="DEFAULT",Te=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",Ne,"teleport"];function Ie(e,t){let n=-1===Te.indexOf(e.type)?Ne:e.type,i=-1===Te.indexOf(t.type)?Ne:t.type;return Te.indexOf(n)-Te.indexOf(i)}var Me=[],je=!1;function Fe(e=(()=>{})){return queueMicrotask((()=>{je||setTimeout((()=>{ze()}))})),new Promise((t=>{Me.push((()=>{e(),t()}))}))}function ze(){for(je=!1;Me.length;)Me.shift()()}function Re(e,t){return Array.isArray(t)?qe(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),i=Object.entries(t).flatMap((([e,t])=>!!t&&n(e))).filter(Boolean),r=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),o=[],s=[];return r.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),s.push(t))})),i.forEach((t=>{e.classList.contains(t)||(e.classList.add(t),o.push(t))})),()=>{s.forEach((t=>e.classList.add(t))),o.forEach((t=>e.classList.remove(t)))}}(e,t):"function"==typeof t?Re(e,t()):qe(e,t)}function qe(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 $e(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach((([t,i])=>{n[t]=e.style[t],t.startsWith("--")||(t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),e.style.setProperty(t,i)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{$e(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 We(e,t=(()=>{})){let n=!1;return 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=(()=>{}),i=(()=>{})){He(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,i)},out(n=(()=>{}),i=(()=>{})){He(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,i)}})}function Ge(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ge(t)}function He(e,t,{during:n,start:i,end:r}={},o=(()=>{}),s=(()=>{})){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(i).length&&0===Object.keys(r).length)return o(),void s();let a,l,c;!function(e,t){let n,i,r,o=We((()=>{G((()=>{n=!0,i||t.before(),r||(t.end(),ze()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:We((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},G((()=>{t.start(),t.during()})),je=!0,requestAnimationFrame((()=>{if(n)return;let o=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),s=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),G((()=>{t.before()})),i=!0,requestAnimationFrame((()=>{n||(G((()=>{t.end()})),ze(),setTimeout(e._x_transitioning.finish,o+s),r=!0)}))}))}(e,{start(){a=t(e,i)},during(){l=t(e,n)},before:o,end(){a(),c=t(e,r)},after:s,cleanup(){l(),c()}})}function Ue(e,t,n){if(-1===e.indexOf(t))return n;const i=e[e.indexOf(t)+1];if(!i)return n;if("scale"===t&&isNaN(i))return n;if("duration"===t||"delay"===t){let e=i.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[i,e[e.indexOf(t)+2]].join(" "):i}be("transition",((e,{value:t,modifiers:n,expression:i},{evaluate:r})=>{"function"==typeof i&&(i=r(i)),!1!==i&&(i&&"boolean"!=typeof i?function(e,t,n){Be(e,Re,"");let i={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}};i[n](t)}(e,i,t):function(e,t,n){Be(e,$e);let i=!t.includes("in")&&!t.includes("out")&&!n,r=i||t.includes("in")||["enter"].includes(n),o=i||t.includes("out")||["leave"].includes(n);t.includes("in")&&!i&&(t=t.filter(((e,n)=>nn>t.indexOf("out"))));let s=!t.includes("opacity")&&!t.includes("scale"),a=s||t.includes("opacity"),l=s||t.includes("scale"),c=a?0:1,u=l?Ue(t,"scale",95)/100:1,d=Ue(t,"delay",0)/1e3,h=Ue(t,"origin","center"),f="opacity, transform",p=Ue(t,"duration",150)/1e3,v=Ue(t,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";r&&(e._x_transition.enter.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:g},e._x_transition.enter.start={opacity:c,transform:`scale(${u})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(e._x_transition.leave.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${v}s`,transitionTimingFunction:g},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:c,transform:`scale(${u})`})}(e,n,t))})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,i){const r="visible"===document.visibilityState?requestAnimationFrame:setTimeout;let o=()=>r(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(i))),e._x_transitioning&&e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(i),queueMicrotask((()=>{let t=Ge(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):r((()=>{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 Xe=!1;function Ve(e,t=(()=>{})){return(...n)=>Xe?t(...n):e(...n)}var Ye=[];function Je(e){Ye.push(e)}var Ke=!1;function Qe(e){let t=r;v(((e,n)=>{let i=t(e);return o(i),()=>{}})),e(),v(t)}function Ze(e,t,n,r=[]){switch(e._x_bindings||(e._x_bindings=i({})),e._x_bindings[t]=n,t=r.includes("camel")?t.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase())):t){case"value":!function(e,t){if("radio"===e.type)void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked="boolean"==typeof t?nt(e.value)===t:tt(e.value,t));else if("checkbox"===e.type)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=>tt(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}}(e,n);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles();e._x_undoAddedStyles=$e(e,t)}(e,n);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Re(e,t)}(e,n);break;case"selected":case"checked":!function(e,t,n){et(e,t,n),function(e,t,n){e[t]!==n&&(e[t]=n)}(e,t,n)}(e,t,n);break;default:et(e,t,n)}}function et(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):(it(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}function tt(e,t){return e==t}function nt(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?Boolean(e):null)}function it(e){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function rt(e,t,n){let i=e.getAttribute(t);return null===i?"function"==typeof n?n():n:""===i||(it(t)?!![t,"true"].includes(i):i)}function ot(e,t){var n;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout((function(){n=null,e.apply(i,r)}),t)}}function st(e,t){let n;return function(){let i=this,r=arguments;n||(e.apply(i,r),n=!0,setTimeout((()=>n=!1),t))}}function at({get:e,set:t},{get:n,set:i}){let s,a,l=!0,c=r((()=>{let r=e(),o=n();if(l)i(lt(r)),l=!1;else{let e=JSON.stringify(r),n=JSON.stringify(o);e!==s?i(lt(r)):e!==n&&t(lt(o))}s=JSON.stringify(e()),a=JSON.stringify(n())}));return()=>{o(c)}}function lt(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var ct={},ut=!1;var dt={};function ht(e,t,n){let i=[];for(;i.length;)i.pop()();let r=Object.entries(t).map((([e,t])=>({name:e,value:t}))),o=xe(r);return r=r.map((e=>o.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),_e(e,r,n).map((e=>{i.push(e.runCleanups),e()})),()=>{for(;i.length;)i.pop()()}}var ft={};var pt={get reactive(){return i},get release(){return o},get effect(){return r},get raw(){return s},version:"3.13.5",flushAndStopDeferringMutations:function(){H=!1,X(U),U=[]},dontAutoEvaluateFunctions:ce,disableEffectScheduling:function(e){p=!1,e(),p=!0},startObservingMutations:$,stopObservingMutations:W,setReactivityEngine:function(e){i=e.reactive,o=e.release,r=t=>e.effect(t,{scheduler:e=>{p?d(e):e()}}),s=e.raw},onAttributeRemoved:F,onAttributesAdded:j,closestDataStack:J,skipDuringClone:Ve,onlyDuringClone:function(e){return(...t)=>Xe&&e(...t)},addRootSelector:C,addInitSelector:A,interceptClone:Je,addScopeToNode:Y,deferMutations:function(){H=!0},mapAttributes:De,evaluateLater:de,interceptInit:function(e){D.push(e)},setEvaluator:function(e){he=e},mergeProxies:K,extractProp:function(e,t,n,i=!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=i,ce((()=>ue(e,n.expression)))}return rt(e,t,n)},findClosest:L,onElRemoved:M,closestRoot:k,destroyTree:O,interceptor:te,transition:He,setStyles:$e,mutateDom:G,directive:be,entangle:at,throttle:st,debounce:ot,evaluate:ue,initTree:P,nextTick:Fe,prefixed:me,prefix:function(e){ge=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach((e=>e(pt)))},magic:re,store:function(e,t){if(ut||(ct=i(ct),ut=!0),void 0===t)return ct[e];ct[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&ct[e].init(),ee(ct[e])},start:function(){var e;_&&b("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),_=!0,document.body||b("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `