diff --git a/assets/css/frame.css b/assets/css/frame.css index b38a7c4..6b2a413 100644 --- a/assets/css/frame.css +++ b/assets/css/frame.css @@ -1 +1 @@ -:root{--paver-color-primary:#0891b2;--paver-color-primary-light:#06b6d4;--paver-color-secondary:#155e75;--paver-color-light:#f1f5f9;--paver-color-dark:#3c434a;--paver-border-radius:4px;--paver-border-color:#e5e7eb}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes indictor{0%,to{opacity:30%}50%{opacity:100%}}@keyframes expandWidth{0%{width:50%}to{width:90%}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.paver__bg-light{background-color:var(--paver-color-light)}.paver__bg-white{background-color:#fff}.paver__cursor-grab{cursor:grab}.paver__hidden{display:none}.paver__flex{display:flex}.paver__items-center{align-items:center}.paver__sticky{position:sticky;top:0}.paver__sortable-item.paver__hover-block>.paver__block-toolbar{display:flex}.paver__block-toolbar{animation:fadeIn .2s ease-in-out;border:1px solid #000;border-radius:3px;color:#000;display:none;position:absolute;right:5px;top:5px;z-index:100}.paver__block-toolbar button:last-of-type{border-radius:0 3px 3px 0;border-right:none}.paver__block-toolbar button:first-of-type{border-radius:3px 0 0 3px}.paver__block-toolbar button{align-items:center;background-color:#f9f9f9;border:none;border-right:1px solid #000;display:flex;height:30px;justify-content:space-between;padding:0 7px}.paver__block-toolbar button:hover{color:var(--paver-color-primary)}.paver__block-toolbar button svg{height:14px;width:14px}.paver__sortable-ghost .paver__block-toolbar{background:red}.paver__editor-frame,body,html{width:100%}.paver__sortable{min-height:50px}.paver__editor-root{min-height:300px}.paver__sortable-ghost{align-items:center;display:flex;font-size:0;height:50px;justify-content:center;line-height:0;overflow:hidden;text-indent:-9999px}.paver__sortable-ghost>*{display:none}.paver__sortable-ghost:after{animation:expandWidth .2s forwards,indictor 1s linear infinite;background:var(--paver-color-primary);border-radius:2px;content:"";display:block;height:3px}.paver__handle:hover{cursor:grab}.paver__sortable-item{box-sizing:border-box;position:relative}.paver__sortable-item.paver__hover-block:not(.paver__active-block):after{border:1px solid transparent;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.paver__sortable-item.paver__hover-block:not(.paver__active-block):hover:after{border-color:rgba(3,124,186,.25)}.paver__active-block:after{border:1px solid #037cba;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.paver__sortable-chosen{background:#fff} +:root{--paver-color-primary:#0891b2;--paver-color-primary-light:#06b6d4;--paver-color-secondary:#155e75;--paver-color-light:#f1f5f9;--paver-color-dark:#3c434a;--paver-border-radius:4px;--paver-border-color:#e5e7eb}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes indictor{0%,to{opacity:30%}50%{opacity:100%}}@keyframes expandWidth{0%{width:50%}to{width:90%}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.paver__bg-light{background-color:var(--paver-color-light)}.paver__bg-white{background-color:#fff}.paver__cursor-grab{cursor:grab}.paver__hidden{display:none}.paver__flex{display:flex}.paver__items-center{align-items:center}.paver__sticky{position:sticky;top:0}.paver__sortable-item.paver__hover-block>.paver__block-toolbar{display:flex}.paver__block-toolbar{animation:fadeIn .2s ease-in-out;border:1px solid #000;border-radius:3px;color:#000;display:none;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;position:absolute;right:5px;top:5px;z-index:100}.paver__block-toolbar button:last-of-type{border-radius:0 3px 3px 0;border-right:none}.paver__block-toolbar button:first-of-type{border-radius:3px 0 0 3px}.paver__block-toolbar button{align-items:center;background-color:#f9f9f9;border:none;border-right:1px solid #000;display:flex;height:30px;justify-content:space-between;padding:0 7px}.paver__block-toolbar button:hover{color:var(--paver-color-primary)}.paver__block-toolbar button svg{height:14px;width:14px}.paver__sortable-ghost .paver__block-toolbar{background:red}.paver__editor-frame,body,html{width:100%}.paver__sortable{min-height:50px}.paver__editor-root{min-height:300px}.paver__sortable-ghost{align-items:center;display:flex;font-size:0;height:50px;justify-content:center;line-height:0;overflow:hidden;text-indent:-9999px}.paver__sortable-ghost>*{display:none}.paver__sortable-ghost:after{animation:expandWidth .2s forwards,indictor 1s linear infinite;background:var(--paver-color-primary);border-radius:2px;content:"";display:block;height:3px}.paver__handle:hover{cursor:grab}.paver__sortable-item{box-sizing:border-box;position:relative}.paver__sortable-item.paver__hover-block:not(.paver__active-block):after{border:1px solid transparent;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.paver__sortable-item.paver__hover-block:not(.paver__active-block):hover:after{border-color:rgba(3,124,186,.25)}.paver__active-block:after{border:1px solid #037cba;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.paver__sortable-chosen{background:#fff} diff --git a/assets/js/paver.js b/assets/js/paver.js index 2a579ba..324c37c 100644 --- a/assets/js/paver.js +++ b/assets/js/paver.js @@ -1,2 +1,2 @@ /*! For license information please see paver.js.LICENSE.txt */ -(()=>{var e,t={32:()=>{document.addEventListener("alpine:init",(function(){Alpine.directive("tooltip",(function(e,t,n){var r=t.expression,o=n.effect,i=(0,n.evaluate)(r);o((function(){tippy(e,{content:i})}))}))}))},820:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}var s=Math.max,l=Math.min,c=Math.round;function u(){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 f(){return!/^((?!chrome|android).)*safari/i.test(u())}function d(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,l=1;t&&i(e)&&(s=e.offsetWidth>0&&c(a.width)/e.offsetWidth||1,l=e.offsetHeight>0&&c(a.height)/e.offsetHeight||1);var u=(o(e)?r(e):window).visualViewport,d=!f()&&n,p=(a.left+(d&&u?u.offsetLeft:0))/s,h=(a.top+(d&&u?u.offsetTop:0))/l,v=a.width/s,m=a.height/l;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function p(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return d(v(e)).left+p(e).scrollLeft}function g(e){return r(e).getComputedStyle(e)}function y(e){var t=g(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var o,a,s=i(t),l=i(t)&&function(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=v(t),f=d(e,l,n),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!n)&&(("body"!==h(t)||y(u))&&(g=(o=t)!==r(o)&&i(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}:p(o)),i(t)?((b=d(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=m(u))),{x:f.left+g.scrollLeft-b.x,y:f.top+g.scrollTop-b.y,width:f.width,height:f.height}}function _(e){var t=d(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 w(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||v(e)}function x(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:i(e)&&y(e)?e:x(w(e))}function E(e,t){var n;void 0===t&&(t=[]);var o=x(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],y(o)?o:[]):o,l=t.concat(s);return i?l:l.concat(E(w(s)))}function O(e){return["table","td","th"].indexOf(h(e))>=0}function S(e){return i(e)&&"fixed"!==g(e).position?e.offsetParent:null}function k(e){for(var t=r(e),n=S(e);n&&O(n)&&"static"===g(n).position;)n=S(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===g(n).position)?t:n||function(e){var t=/firefox/i.test(u());if(/Trident/i.test(u())&&i(e)&&"fixed"===g(e).position)return null;var n=w(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(h(n))<0;){var r=g(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 A="top",C="bottom",T="right",D="left",L="auto",j=[A,C,T,D],N="start",P="end",M="clippingParents",I="viewport",B="popper",R="reference",F=j.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+P])}),[]),$=[].concat(j,[L]).reduce((function(e,t){return e.concat([t,t+"-"+N,t+"-"+P])}),[]),W=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function V(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function K(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?U(o):null,a=o?G(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case A:t={x:s,y:n.y-r.height};break;case C:t={x:s,y:n.y+n.height};break;case T:t={x:n.x+n.width,y:l};break;case D:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?J(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case N:t[c]=t[c]-(n[u]/2-r[u]/2);break;case P:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=s.x,m=void 0===h?0:h,y=s.y,b=void 0===y?0:y,_="function"==typeof d?d({x:m,y:b}):{x:m,y:b};m=_.x,b=_.y;var w=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),E=D,O=A,S=window;if(f){var L=k(n),j="clientHeight",N="clientWidth";if(L===r(n)&&"static"!==g(L=v(n)).position&&"absolute"===l&&(j="scrollHeight",N="scrollWidth"),i===A||(i===D||i===T)&&a===P)O=C,b-=(p&&L===S&&S.visualViewport?S.visualViewport.height:L[j])-o.height,b*=u?1:-1;if(i===D||(i===A||i===C)&&a===P)E=T,m-=(p&&L===S&&S.visualViewport?S.visualViewport.width:L[N])-o.width,m*=u?1:-1}var M,I=Object.assign({position:l},f&&Z),B=!0===d?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:c(n*o)/o||0,y:c(r*o)/o||0}}({x:m,y:b},r(n)):{x:m,y:b};return m=B.x,b=B.y,u?Object.assign({},I,((M={})[O]=x?"0":"",M[E]=w?"0":"",M.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",M)):Object.assign({},I,((t={})[O]=x?b+"px":"",t[E]=w?m+"px":"",t.transform="",t))}const ee={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:U(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const te={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.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],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const ne={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=$.reduce((function(e,n){return e[n]=function(e,t,n){var r=U(e),o=[D,A].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[D,T].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var re={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var ie={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return ie[e]}))}function se(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function le(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ce(e,t,n){return t===I?le(function(e,t){var n=r(e),o=v(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;var u=f();(u||!u&&"fixed"===t)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l+m(e),y:c}}(e,n)):o(t)?function(e,t){var n=d(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):le(function(e){var t,n=v(e),r=p(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+m(e),c=-r.scrollTop;return"rtl"===g(o||n).direction&&(l+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:c}}(v(e)))}function ue(e,t,n,r){var a="clippingParents"===t?function(e){var t=E(w(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&i(e)?k(e):e;return o(n)?t.filter((function(e){return o(e)&&se(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),c=[].concat(a,[n]),u=c[0],f=c.reduce((function(t,n){var o=ce(e,n,r);return t.top=s(o.top,t.top),t.right=l(o.right,t.right),t.bottom=l(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),ce(e,u,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function fe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function de(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function pe(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,l=n.boundary,c=void 0===l?M:l,u=n.rootBoundary,f=void 0===u?I:u,p=n.elementContext,h=void 0===p?B:p,m=n.altBoundary,g=void 0!==m&&m,y=n.padding,b=void 0===y?0:y,_=fe("number"!=typeof b?b:de(b,j)),w=h===B?R:B,x=e.rects.popper,E=e.elements[g?w:h],O=ue(o(E)?E:E.contextElement||v(e.elements.popper),c,f,s),S=d(e.elements.reference),k=K({reference:S,element:x,strategy:"absolute",placement:i}),D=le(Object.assign({},x,k)),L=h===B?D:S,N={top:O.top-L.top+_.top,bottom:L.bottom-O.bottom+_.bottom,left:O.left-L.left+_.left,right:L.right-O.right+_.right},P=e.modifiersData.offset;if(h===B&&P){var F=P[i];Object.keys(N).forEach((function(e){var t=[T,C].indexOf(e)>=0?1:-1,n=[A,C].indexOf(e)>=0?"y":"x";N[e]+=F[n]*t}))}return N}const he={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 o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,m=t.options.placement,g=U(m),y=l||(g===m||!h?[oe(m)]:function(e){if(U(e)===L)return[];var t=oe(e);return[ae(e),t,ae(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(U(n)===L?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?$:l,u=G(r),f=u?s?F:F.filter((function(e){return G(e)===u})):j,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=pe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[U(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),_=t.rects.reference,w=t.rects.popper,x=new Map,E=!0,O=b[0],S=0;S=0,B=I?"width":"height",R=pe(t,{placement:k,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),W=I?M?T:D:M?C:A;_[B]>w[B]&&(W=oe(W));var H=oe(W),q=[];if(i&&q.push(R[P]<=0),s&&q.push(R[W]<=0,R[H]<=0),q.every((function(e){return e}))){O=k,E=!1;break}x.set(k,q)}if(E)for(var V=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},z=h?3:1;z>0;z--){if("break"===V(z))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(e,t,n){return s(e,l(t,n))}const me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,v=void 0===h||h,m=n.tetherOffset,g=void 0===m?0:m,y=pe(t,{boundary:u,rootBoundary:f,padding:p,altBoundary:d}),b=U(t.placement),w=G(t.placement),x=!w,E=J(b),O="x"===E?"y":"x",S=t.modifiersData.popperOffsets,L=t.rects.reference,j=t.rects.popper,P="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,M="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(S){if(i){var R,F="y"===E?A:D,$="y"===E?C:T,W="y"===E?"height":"width",H=S[E],q=H+y[F],V=H-y[$],z=v?-j[W]/2:0,Y=w===N?L[W]:j[W],X=w===N?-j[W]:-L[W],K=t.elements.arrow,Z=v&&K?_(K):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[F],te=Q[$],ne=ve(0,L[W],Z[W]),re=x?L[W]/2-z-ne-ee-M.mainAxis:Y-ne-ee-M.mainAxis,oe=x?-L[W]/2+z+ne+te+M.mainAxis:X+ne+te+M.mainAxis,ie=t.elements.arrow&&k(t.elements.arrow),ae=ie?"y"===E?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(R=null==I?void 0:I[E])?R:0,le=H+oe-se,ce=ve(v?l(q,H+re-se-ae):q,H,v?s(V,le):V);S[E]=ce,B[E]=ce-H}if(c){var ue,fe="x"===E?A:D,de="x"===E?C:T,he=S[O],me="y"===O?"height":"width",ge=he+y[fe],ye=he-y[de],be=-1!==[A,D].indexOf(b),_e=null!=(ue=null==I?void 0:I[O])?ue:0,we=be?ge:he-L[me]-j[me]-_e+M.altAxis,xe=be?he+L[me]+j[me]-_e-M.altAxis:ye,Ee=v&&be?function(e,t,n){var r=ve(e,t,n);return r>n?n:r}(we,he,xe):ve(v?we:ge,he,v?xe:ye);S[O]=Ee,B[O]=Ee-he}t.modifiersData[r]=B}},requiresIfExists:["offset"]};const ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=U(n.placement),l=J(s),c=[D,T].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return fe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:de(e,j))}(o.padding,n),f=_(i),d="y"===l?A:D,p="y"===l?C:T,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],v=a[l]-n.rects.reference[l],m=k(i),g=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=h/2-v/2,b=u[d],w=g-f[c]-u[p],x=g/2-f[c]/2+y,E=ve(b,x,w),O=l;n.modifiersData[r]=((t={})[O]=E,t.centerOffset=E-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)))&&se(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ye(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 be(e){return[A,T,C,D].some((function(t){return e[t]>=0}))}var _e=z({defaultModifiers:[X,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ee,te,ne,he,me,ge,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=pe(t,{elementContext:"reference"}),s=pe(t,{altBoundary:!0}),l=ye(a,r),c=ye(s,o,i),u=be(l),f=be(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),we="tippy-content",xe="tippy-backdrop",Ee="tippy-arrow",Oe="tippy-svg-arrow",Se={passive:!0,capture:!0},ke=function(){return document.body};function Ae(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ce(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Te(e,t){return"function"==typeof e?e.apply(void 0,t):e}function De(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Le(e){return[].concat(e)}function je(e,t){-1===e.indexOf(t)&&e.push(t)}function Ne(e){return e.split("-")[0]}function Pe(e){return[].slice.call(e)}function Me(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ie(){return document.createElement("div")}function Be(e){return["Element","Fragment"].some((function(t){return Ce(e,t)}))}function Re(e){return Ce(e,"MouseEvent")}function Fe(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function $e(e){return Be(e)?[e]:function(e){return Ce(e,"NodeList")}(e)?Pe(e):Array.isArray(e)?e:Pe(document.querySelectorAll(e))}function We(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function He(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function qe(e){var t,n=Le(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ve(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function ze(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 Ye={isTouch:!1},Xe=0;function Ue(){Ye.isTouch||(Ye.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ge))}function Ge(){var e=performance.now();e-Xe<20&&(Ye.isTouch=!1,document.removeEventListener("mousemove",Ge)),Xe=e}function Je(){var e=document.activeElement;if(Fe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Ke=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Ze={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Qe=Object.assign({appendTo:ke,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},Ze,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),et=Object.keys(Qe);function tt(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Qe[o])?r:i);return t}),{});return Object.assign({},e,t)}function nt(e,t){var n=Object.assign({},t,{content:Te(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(tt(Object.assign({},Qe,{plugins:t}))):et).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({},Qe.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}var rt=function(){return"innerHTML"};function ot(e,t){e[rt()]=t}function it(e){var t=Ie();return!0===e?t.className=Ee:(t.className=Oe,Be(e)?t.appendChild(e):ot(t,e)),t}function at(e,t){Be(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function st(e){var t=e.firstElementChild,n=Pe(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(we)})),arrow:n.find((function(e){return e.classList.contains(Ee)||e.classList.contains(Oe)})),backdrop:n.find((function(e){return e.classList.contains(xe)}))}}function lt(e){var t=Ie(),n=Ie();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ie();function o(n,r){var o=st(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||at(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(it(r.arrow))):i.appendChild(it(r.arrow)):s&&i.removeChild(s)}return r.className=we,r.setAttribute("data-state","hidden"),at(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}lt.$$tippy=!0;var ct=1,ut=[],ft=[];function dt(e,t){var n,r,o,i,a,s,l,c,u=nt(e,Object.assign({},Qe,tt(Me(t)))),f=!1,d=!1,p=!1,h=!1,v=[],m=De(X,u.interactiveDebounce),g=ct++,y=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:g,reference:e,popper:Ie(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(b.state.isDestroyed)return;N("onBeforeUpdate",[b,t]),z();var n=b.props,r=nt(e,Object.assign({},n,Me(t),{ignoreAttributes:!0}));b.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(I(),m=De(X,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Le(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");M(),j(),x&&x(n,r);b.popperInstance&&(K(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));N("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ye.isTouch&&!b.props.touch,o=Ae(b.props.duration,0,Qe.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(N("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(w.style.visibility="visible");j(),$(),b.state.isMounted||(w.style.transition="none");if(A()){var i=D();We([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=D(),n=t.box,r=t.content;We([n,r],o),He([n,r],"visible")}P(),M(),je(ft,b),null==(e=b.popperInstance)||e.forceUpdate(),N("onMount",[b]),b.props.animation&&A()&&function(e,t){H(e,t)}(o,(function(){b.state.isShown=!0,N("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===ke||"parent"===t?n.parentNode:Te(t,[n]);e.contains(w)||e.appendChild(w);b.state.isMounted=!0,K(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ae(b.props.duration,1,Qe.duration);if(e||t||n)return;if(N("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,f=!1,A()&&(w.style.visibility="hidden");if(I(),W(),j(!0),A()){var o=D(),i=o.box,a=o.content;b.props.animation&&(We([i,a],r),He([i,a],"hidden"))}P(),M(),b.props.animation?A()&&function(e,t){H(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",m),je(ut,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Z(),Q().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);ft=ft.filter((function(e){return e!==b})),b.state.isMounted=!1,N("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,N("onDestroy",[b])}};if(!u.render)return b;var _=u.render(b),w=_.popper,x=_.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var E=y.map((function(e){return e.fn(b)})),O=e.hasAttribute("aria-expanded");return V(),M(),j(),N("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",m)})),b;function S(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===S()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return l||e}function T(){var e=C().parentNode;return e?qe(e):document}function D(){return st(w)}function L(e){return b.state.isMounted&&!b.state.isVisible||Ye.isTouch||i&&"focus"===i.type?0:Ae(b.props.delay,e?0:1,Qe.delay)}function j(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function N(e,t,n){var r;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=w.id;Le(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function M(){!O&&b.props.aria.expanded&&Le(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function I(){T().removeEventListener("mousemove",m),ut=ut.filter((function(e){return e!==m}))}function B(t){if(!Ye.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!ze(w,n)){if(Le(b.props.triggerTarget||e).some((function(e){return ze(e,n)}))){if(Ye.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else N("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||W())}}}function R(){p=!0}function F(){p=!1}function $(){var e=T();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,Se),e.addEventListener("touchstart",F,Se),e.addEventListener("touchmove",R,Se)}function W(){var e=T();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,Se),e.removeEventListener("touchstart",F,Se),e.removeEventListener("touchmove",R,Se)}function H(e,t){var n=D().box;function r(e){e.target===n&&(Ve(n,"remove",r),t())}if(0===e)return t();Ve(n,"remove",a),Ve(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Le(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function V(){var e;k()&&(q("touchstart",Y,{passive:!0}),q("touchend",U,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,Y),e){case"mouseenter":q("mouseleave",U);break;case"focus":q(Ke?"focusout":"blur",G);break;case"focusin":q("focusout",G)}}))}function z(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function Y(e){var t,n=!1;if(b.state.isEnabled&&!J(e)&&!d){var r="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,M(),!b.state.isVisible&&Re(e)&&ut.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function X(e){var t=e.target,n=C().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(w).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=Ne(o.placement),s=o.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=t.top-r+l>i,p=r-t.bottom-c>i,h=t.left-n+u>i,v=n-t.right-f>i;return d||p||h||v}))})(r,e)&&(I(),te(e))}}function U(e){J(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function J(e){return!!Ye.isTouch&&k()!==e.type.indexOf("touch")>=0}function K(){Z();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,l=A()?st(w).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=D().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={}}}},f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];A()&&l&&f.push({name:"arrow",options:{element:l,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=_e(c,w,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Pe(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&N("onTrigger",[b,e]),$();var t=L(!0),r=S(),o=r[0],i=r[1];Ye.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),N("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else W()}}function pt(e,t){void 0===t&&(t={});var n=Qe.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ue,Se),window.addEventListener("blur",Je);var r=Object.assign({},t,{plugins:n}),o=$e(e).reduce((function(e,t){var n=t&&dt(t,r);return n&&e.push(n),e}),[]);return Be(e)?o[0]:o}pt.defaultProps=Qe,pt.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Qe[t]=e[t]}))},pt.currentInput=Ye;Object.assign({},te,{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)}});pt.setDefaultProps({render:lt});const ht=pt;var vt,mt,gt,yt,bt=!1,_t=!1,wt=[],xt=-1;function Et(e){!function(e){wt.includes(e)||wt.push(e);_t||bt||(bt=!0,queueMicrotask(St))}(e)}function Ot(e){let t=wt.indexOf(e);-1!==t&&t>xt&&wt.splice(t,1)}function St(){bt=!1,_t=!0;for(let e=0;e{let o=e();JSON.stringify(o),r?n=o:queueMicrotask((()=>{t(o,n),n=o})),r=!1}));return()=>gt(o)}var Tt=[],Dt=[],Lt=[];function jt(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Dt.push(t))}function Nt(e){Tt.push(e)}function Pt(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function Mt(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 It=new MutationObserver(Vt),Bt=!1;function Rt(){It.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Bt=!0}function Ft(){!function(){let e=It.takeRecords();$t.push((()=>e.length>0&&Vt(e)));let t=$t.length;queueMicrotask((()=>{if($t.length===t)for(;$t.length>0;)$t.shift()()}))}(),It.disconnect(),Bt=!1}var $t=[];function Wt(e){if(!Bt)return e();Ft();let t=e();return Rt(),t}var Ht=!1,qt=[];function Vt(e){if(Ht)return void(qt=qt.concat(e));let t=new Set,n=new Set,r=new Map,o=new Map;for(let i=0;i1===e.nodeType&&t.add(e))),e[i].removedNodes.forEach((e=>1===e.nodeType&&n.add(e)))),"attributes"===e[i].type)){let t=e[i].target,n=e[i].attributeName,a=e[i].oldValue,s=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},l=()=>{o.has(t)||o.set(t,[]),o.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(l(),s()):l()}o.forEach(((e,t)=>{Mt(t,e)})),r.forEach(((e,t)=>{Tt.forEach((n=>n(t,e)))}));for(let e of n)t.has(e)||Dt.forEach((t=>t(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,Lt.forEach((t=>t(e))),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach((e=>{delete e._x_ignoreSelf,delete e._x_ignore})),t=null,n=null,r=null,o=null}function zt(e){return Ut(Xt(e))}function Yt(e,t,n){return e._x_dataStack=[t,...Xt(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function Xt(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?Xt(e.host):e.parentNode?Xt(e.parentNode):[]}function Ut(e){return new Proxy({objects:e},Gt)}var Gt={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?Jt:Reflect.get(e.find((e=>Reflect.has(e,t)))||{},t,n),set({objects:e},t,n,r){const o=e.find((e=>Object.prototype.hasOwnProperty.call(e,t)))||e[e.length-1],i=Object.getOwnPropertyDescriptor(o,t);return i?.set&&i?.get?i.set.call(r,n)||!0:Reflect.set(o,t,n)}};function Jt(){return Reflect.ownKeys(this).reduce(((e,t)=>(e[t]=Reflect.get(this,t),e)),{})}function Kt(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([o,{value:i,enumerable:a}])=>{if(!1===a||void 0===i)return;if("object"==typeof i&&null!==i&&i.__v_skip)return;let s=""===r?o:`${r}.${o}`;var l;"object"==typeof i&&null!==i&&i._x_interceptor?n[o]=i.initialize(e,s,o):"object"!=typeof(l=i)||Array.isArray(l)||null===l||i===n||i instanceof Element||t(i,s)}))};return t(e)}function Zt(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=>Qt(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,o,i)=>{let a=e.initialize(r,o,i);return n.initialValue=a,t(r,o,i)}}else n.initialValue=e;return n}}function Qt(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]]={}),Qt(e[t[0]],t.slice(1),n)}e[t[0]]=n}var en={};function tn(e,t){en[e]=t}function nn(e,t){return Object.entries(en).forEach((([n,r])=>{let o=null;Object.defineProperty(e,`$${n}`,{get:()=>r(t,function(){if(o)return o;{let[e,n]=En(t);return o={interceptor:Zt,...e},jt(t,n),o}}()),enumerable:!1})})),e}function rn(e,t,n,...r){try{return n(...r)}catch(n){on(n,e,t)}}function on(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 an=!0;function sn(e){let t=an;an=!1;let n=e();return an=t,n}function ln(e,t,n={}){let r;return cn(e,t)((e=>r=e),n),r}function cn(...e){return un(...e)}var un=fn;function fn(e,t){let n={};nn(n,e);let r=[n,...Xt(e)],o="function"==typeof t?function(e,t){return(n=()=>{},{scope:r={},params:o=[]}={})=>{pn(n,t.apply(Ut([r,...e]),o))}}(r,t):function(e,t,n){let r=function(e,t){if(dn[e])return dn[e];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e;const o=()=>{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 on(n,t,e),Promise.resolve()}};let i=o();return dn[e]=i,i}(t,n);return(o=()=>{},{scope:i={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=Ut([i,...e]);if("function"==typeof r){let e=r(r,s).catch((e=>on(e,n,t)));r.finished?(pn(o,r.result,s,a,n),r.result=void 0):e.then((e=>{pn(o,e,s,a,n)})).catch((e=>on(e,n,t))).finally((()=>r.result=void 0))}}}(r,t,e);return rn.bind(null,e,t,o)}var dn={};function pn(e,t,n,r,o){if(an&&"function"==typeof t){let i=t.apply(n,r);i instanceof Promise?i.then((t=>pn(e,t,n,r))).catch((e=>on(e,o,t))):e(i)}else"object"==typeof t&&t instanceof Promise?t.then((t=>e(t))):e(t)}var hn="x-";function vn(e=""){return hn+e}var mn={};function gn(e,t){return mn[e]=t,{before(t){if(!mn[t])return void console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);const n=Ln.indexOf(t);Ln.splice(n>=0?n:Ln.indexOf("DEFAULT"),0,e)}}}function yn(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=bn(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={},o=t.map(Sn(((e,t)=>r[e]=t))).filter(Cn).map(function(e,t){return({name:n,value:r})=>{let o=n.match(Tn()),i=n.match(/:([a-zA-Z0-9\-_:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:o?o[1]:null,value:i?i[1]:null,modifiers:a.map((e=>e.replace(".",""))),expression:r,original:s}}}(r,n)).sort(jn);return o.map((t=>function(e,t){let n=()=>{},r=mn[t.type]||n,[o,i]=En(e);Pt(e,t.original,i);let a=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,o),r=r.bind(r,e,t,o),_n?wn.get(xn).push(r):r())};return a.runCleanups=i,a}(e,t)))}function bn(e){return Array.from(e).map(Sn()).filter((e=>!Cn(e)))}var _n=!1,wn=new Map,xn=Symbol();function En(e){let t=[],[n,r]=function(e){let t=()=>{};return[n=>{let r=mt(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(r),t=()=>{void 0!==r&&(e._x_effects.delete(r),gt(r))},r},()=>{t()}]}(e);t.push(r);return[{Alpine:Ar,effect:n,cleanup:e=>t.push(e),evaluateLater:cn.bind(cn,e),evaluate:ln.bind(ln,e)},()=>t.forEach((e=>e()))]}var On=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function Sn(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:o}=kn.reduce(((e,t)=>t(e)),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:o}}}var kn=[];function An(e){kn.push(e)}function Cn({name:e}){return Tn().test(e)}var Tn=()=>new RegExp(`^${hn}([^:^.]+)\\b`);var Dn="DEFAULT",Ln=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",Dn,"teleport"];function jn(e,t){let n=-1===Ln.indexOf(e.type)?Dn:e.type,r=-1===Ln.indexOf(t.type)?Dn:t.type;return Ln.indexOf(n)-Ln.indexOf(r)}function Nn(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function Pn(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>Pn(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let r=e.firstElementChild;for(;r;)Pn(r,t),r=r.nextElementSibling}function Mn(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var In=!1;var Bn=[],Rn=[];function Fn(){return Bn.map((e=>e()))}function $n(){return Bn.concat(Rn).map((e=>e()))}function Wn(e){Bn.push(e)}function Hn(e){Rn.push(e)}function qn(e,t=!1){return Vn(e,(e=>{if((t?$n():Fn()).some((t=>e.matches(t))))return!0}))}function Vn(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return Vn(e.parentElement,t)}}var zn=[];function Yn(e,t=Pn,n=()=>{}){!function(e){_n=!0;let t=Symbol();xn=t,wn.set(t,[]);let n=()=>{for(;wn.get(t).length;)wn.get(t).shift()();wn.delete(t)};e(n),_n=!1,n()}((()=>{t(e,((e,t)=>{n(e,t),zn.forEach((n=>n(e,t))),yn(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Xn(e,t=Pn){t(e,(e=>{Mt(e),function(e){if(e._x_cleanups)for(;e._x_cleanups.length;)e._x_cleanups.pop()()}(e)}))}var Un=[],Gn=!1;function Jn(e=()=>{}){return queueMicrotask((()=>{Gn||setTimeout((()=>{Kn()}))})),new Promise((t=>{Un.push((()=>{e(),t()}))}))}function Kn(){for(Gn=!1;Un.length;)Un.shift()()}function Zn(e,t){return Array.isArray(t)?Qn(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),o=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),i=[],a=[];return o.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),a.push(t))})),r.forEach((t=>{e.classList.contains(t)||(e.classList.add(t),i.push(t))})),()=>{a.forEach((t=>e.classList.add(t))),i.forEach((t=>e.classList.remove(t)))}}(e,t):"function"==typeof t?Zn(e,t()):Qn(e,t)}function Qn(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 er(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")})),()=>{er(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 tr(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function nr(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=()=>{}){or(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=()=>{},r=()=>{}){or(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function rr(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:rr(t)}function or(e,t,{during:n,start:r,end:o}={},i=()=>{},a=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(o).length)return i(),void a();let s,l,c;!function(e,t){let n,r,o,i=tr((()=>{Wt((()=>{n=!0,r||t.before(),o||(t.end(),Kn()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:tr((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();i()})),finish:i},Wt((()=>{t.start(),t.during()})),Gn=!0,requestAnimationFrame((()=>{if(n)return;let i=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),a=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===i&&(i=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),Wt((()=>{t.before()})),r=!0,requestAnimationFrame((()=>{n||(Wt((()=>{t.end()})),Kn(),setTimeout(e._x_transitioning.finish,i+a),o=!0)}))}))}(e,{start(){s=t(e,r)},during(){l=t(e,n)},before:i,end(){s(),c=t(e,o)},after:a,cleanup(){l(),c()}})}function ir(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}gn("transition",((e,{value:t,modifiers:n,expression:r},{evaluate:o})=>{"function"==typeof r&&(r=o(r)),!1!==r&&(r&&"boolean"!=typeof r?function(e,t,n){nr(e,Zn,"");let r={enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}};r[n](t)}(e,r,t):function(e,t,n){nr(e,er);let r=!t.includes("in")&&!t.includes("out")&&!n,o=r||t.includes("in")||["enter"].includes(n),i=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter(((e,n)=>nn>t.indexOf("out"))));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),l=a||t.includes("scale"),c=s?0:1,u=l?ir(t,"scale",95)/100:1,f=ir(t,"delay",0)/1e3,d=ir(t,"origin","center"),p="opacity, transform",h=ir(t,"duration",150)/1e3,v=ir(t,"duration",75)/1e3,m="cubic-bezier(0.4, 0.0, 0.2, 1)";o&&(e._x_transition.enter.during={transformOrigin:d,transitionDelay:`${f}s`,transitionProperty:p,transitionDuration:`${h}s`,transitionTimingFunction:m},e._x_transition.enter.start={opacity:c,transform:`scale(${u})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});i&&(e._x_transition.leave.during={transformOrigin:d,transitionDelay:`${f}s`,transitionProperty:p,transitionDuration:`${v}s`,transitionTimingFunction:m},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:c,transform:`scale(${u})`})}(e,n,t))})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){const o="visible"===document.visibilityState?requestAnimationFrame:setTimeout;let i=()=>o(n);t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i():(e._x_hidePromise=e._x_transition?new Promise(((t,n)=>{e._x_transition.out((()=>{}),(()=>t(r))),e._x_transitioning&&e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let t=rr(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):o((()=>{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 ar=!1;function sr(e,t=()=>{}){return(...n)=>ar?t(...n):e(...n)}var lr=[];function cr(e){lr.push(e)}var ur=!1;function fr(e){let t=mt;At(((e,n)=>{let r=t(e);return gt(r),()=>{}})),e(),At(t)}function dr(e,t,n,r=[]){switch(e._x_bindings||(e._x_bindings=vt({})),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?vr(e.value)===t:hr(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=>hr(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=er(e,t)}(e,n);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Zn(e,t)}(e,n);break;case"selected":case"checked":!function(e,t,n){pr(e,t,n),function(e,t,n){e[t]!==n&&(e[t]=n)}(e,t,n)}(e,t,n);break;default:pr(e,t,n)}}function pr(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):(mr(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}function hr(e,t){return e==t}function vr(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?Boolean(e):null)}function mr(e){return["disabled","checked","required","readonly","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function gr(e,t,n){let r=e.getAttribute(t);return null===r?"function"==typeof n?n():n:""===r||(mr(t)?!![t,"true"].includes(r):r)}function yr(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,o)}),t)}}function br(e,t){let n;return function(){let r=this,o=arguments;n||(e.apply(r,o),n=!0,setTimeout((()=>n=!1),t))}}function _r({get:e,set:t},{get:n,set:r}){let o,i,a=!0,s=mt((()=>{let s=e(),l=n();if(a)r(wr(s)),a=!1;else{let e=JSON.stringify(s),n=JSON.stringify(l);e!==o?r(wr(s)):e!==n&&t(wr(l))}o=JSON.stringify(e()),i=JSON.stringify(n())}));return()=>{gt(s)}}function wr(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var xr={},Er=!1;var Or={};function Sr(e,t,n){let r=[];for(;r.length;)r.pop()();let o=Object.entries(t).map((([e,t])=>({name:e,value:t}))),i=bn(o);return o=o.map((e=>i.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),yn(e,o,n).map((e=>{r.push(e.runCleanups),e()})),()=>{for(;r.length;)r.pop()()}}var kr={};var Ar={get reactive(){return vt},get release(){return gt},get effect(){return mt},get raw(){return yt},version:"3.14.1",flushAndStopDeferringMutations:function(){Ht=!1,Vt(qt),qt=[]},dontAutoEvaluateFunctions:sn,disableEffectScheduling:function(e){kt=!1,e(),kt=!0},startObservingMutations:Rt,stopObservingMutations:Ft,setReactivityEngine:function(e){vt=e.reactive,gt=e.release,mt=t=>e.effect(t,{scheduler:e=>{kt?Et(e):e()}}),yt=e.raw},onAttributeRemoved:Pt,onAttributesAdded:Nt,closestDataStack:Xt,skipDuringClone:sr,onlyDuringClone:function(e){return(...t)=>ar&&e(...t)},addRootSelector:Wn,addInitSelector:Hn,interceptClone:cr,addScopeToNode:Yt,deferMutations:function(){Ht=!0},mapAttributes:An,evaluateLater:cn,interceptInit:function(e){zn.push(e)},setEvaluator:function(e){un=e},mergeProxies:Ut,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,sn((()=>ln(e,n.expression)))}return gr(e,t,n)},findClosest:Vn,onElRemoved:jt,closestRoot:qn,destroyTree:Xn,interceptor:Zt,transition:or,setStyles:er,mutateDom:Wt,directive:gn,entangle:_r,throttle:br,debounce:yr,evaluate:ln,initTree:Yn,nextTick:Jn,prefixed:vn,prefix:function(e){hn=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach((e=>e(Ar)))},magic:tn,store:function(e,t){if(Er||(xr=vt(xr),Er=!0),void 0===t)return xr[e];xr[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&xr[e].init(),Kt(xr[e])},start:function(){var e;In&&Mn("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),In=!0,document.body||Mn("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `