1var Or=Object.create,hr=Object.defineProperty,Er=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty,xr=Object.getOwnPropertyNames,Sr=Object.getOwnPropertyDescriptor,Tr=g=>hr(g,"__esModule",{value:!0}),yr=(g,O)=>()=>(O||(O={exports:{}},g(O.exports,O)),O.exports),Cr=(g,O,F)=>{if(O&&typeof O=="object"||typeof O=="function")for(let X of xr(O))!Pr.call(g,X)&&X!=="default"&&hr(g,X,{get:()=>O[X],enumerable:!(F=Sr(O,X))||F.enumerable});return g},br=g=>Cr(Tr(hr(g!=null?Or(Er(g)):{},"default",g&&g.__esModule&&"default"in g?{get:()=>g.default,enumerable:!0}:{value:g,enumerable:!0})),g),Ar=yr(g=>{Object.defineProperty(g,"__esModule",{value:!0});function O(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function F(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function X(t){var e=F(t),n=e.pageXOffset,c=e.pageYOffset;return{scrollLeft:n,scrollTop:c}}function ye(t){var e=F(t).Element;return t instanceof e||t instanceof Element}function le(t){var e=F(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function de(t){if(typeof ShadowRoot>"u")return!1;var e=F(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function V(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function x(t){return t===F(t)||!le(t)?X(t):V(t)}function A(t){return t?(t.nodeName||"").toLowerCase():null}function $(t){return((ye(t)?t.ownerDocument:t.document)||window.document).documentElement}function j(t){return O($(t)).left+X(t).scrollLeft}function U(t){return F(t).getComputedStyle(t)}function ue(t){var e=U(t),n=e.overflow,c=e.overflowX,l=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+l+c)}function Ae(t,e,n){n===void 0&&(n=!1);var c=$(e),l=O(t),f=le(e),h={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(f||!f&&!n)&&((A(e)!=="body"||ue(c))&&(h=x(e)),le(e)?(d=O(e),d.x+=e.clientLeft,d.y+=e.clientTop):c&&(d.x=j(c))),{x:l.left+h.scrollLeft-d.x,y:l.top+h.scrollTop-d.y,width:l.width,height:l.height}}function ke(t){var e=O(t),n=t.offsetWidth,c=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-c)<=1&&(c=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:c}}function be(t){return A(t)==="html"?t:t.assignedSlot||t.parentNode||(de(t)?t.host:null)||$(t)}function lt(t){return["html","body","#document"].indexOf(A(t))>=0?t.ownerDocument.body:le(t)&&ue(t)?t:lt(be(t))}function Ie(t,e){var n;e===void 0&&(e=[]);var c=lt(t),l=c===((n=t.ownerDocument)==null?void 0:n.body),f=F(c),h=l?[f].concat(f.visualViewport||[],ue(c)?c:[]):c,d=e.concat(h);return l?d:d.concat(Ie(be(h)))}function we(t){return["table","td","th"].indexOf(A(t))>=0}function qe(t){return!le(t)||U(t).position==="fixed"?null:t.offsetParent}function Xt(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&le(t)){var c=U(t);if(c.position==="fixed")return null}for(var l=be(t);le(l)&&["html","body"].indexOf(A(l))<0;){var f=U(l);if(f.transform!=="none"||f.perspective!=="none"||f.contain==="paint"||["transform","perspective"].indexOf(f.willChange)!==-1||e&&f.willChange==="filter"||e&&f.filter&&f.filter!=="none")return l;l=l.parentNode}return null}function De(t){for(var e=F(t),n=qe(t);n&&we(n)&&U(n).position==="static";)n=qe(n);return n&&(A(n)==="html"||A(n)==="body"&&U(n).position==="static")?e:n||Xt(t)||e}var ge="top",Le="bottom",xe="right",Se="left",gt="auto",Ye=[ge,Le,xe,Se],Re="start",yt="end",Gt="clippingParents",bt="viewport",Oe="popper",jt="reference",_t=Ye.reduce(function(t,e){return t.concat([e+"-"+Re,e+"-"+yt])},[]),Ct=[].concat(Ye,[gt]).reduce(function(t,e){return t.concat([e,e+"-"+Re,e+"-"+yt])},[]),Kt="beforeRead",Jt="read",Qt="afterRead",Zt="beforeMain",er="main",Je="afterMain",Bt="beforeWrite",tr="write",Nt="afterWrite",ze=[Kt,Jt,Qt,Zt,er,Je,Bt,tr,Nt];function rr(t){var e=new Map,n=new Set,c=[];t.forEach(function(f){e.set(f.name,f)});function l(f){n.add(f.name);var h=[].concat(f.requires||[],f.requiresIfExists||[]);h.forEach(function(d){if(!n.has(d)){var b=e.get(d);b&&l(b)}}),c.push(f)}return t.forEach(function(f){n.has(f.name)||l(f)}),c}function _e(t){var e=rr(t);return ze.reduce(function(n,c){return n.concat(e.filter(function(l){return l.phase===c}))},[])}function Qe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function $e(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),c=1;c<e;c++)n[c-1]=arguments[c];return[].concat(n).reduce(function(l,f){return l.replace(/%s/,f)},t)}
vendor: 35,116 bytes, lines 1-20
1var We='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',nr='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Ee=["name","enabled","phase","fn","effect","requires","options"];function ir(t){t.forEach(function(e){Object.keys(e).forEach(function(n){switch(n){case"name":typeof e.name!="string"&&console.error($e(We,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error($e(We,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));case"phase":ze.indexOf(e.phase)<0&&console.error($e(We,e.name,'"phase"',"either "+ze.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error($e(We,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":typeof e.effect!="function"&&console.error($e(We,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":Array.isArray(e.requires)||console.error($e(We,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error($e(We,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+Ee.map(function(c){return'"'+c+'"'}).join(", ")+'; but "'+n+'" was provided.')}e.requires&&e.requires.forEach(function(c){t.find(function(l){return l.name===c})==null&&console.error($e(nr,String(e.name),c,c))})})})}function or(t,e){var n=new Set;return t.filter(function(c){var l=e(c);if(!n.has(l))return n.add(l),!0})}function Ce(t){return t.split("-")[0]}function ar(t){var e=t.reduce(function(n,c){var l=n[c.name];return n[c.name]=l?Object.assign({},l,c,{options:Object.assign({},l.options,c.options),data:Object.assign({},l.data,c.data)}):c,n},{});return Object.keys(e).map(function(n){return e[n]})}function Ht(t){var e=F(t),n=$(t),c=e.visualViewport,l=n.clientWidth,f=n.clientHeight,h=0,d=0;return c&&(l=c.width,f=c.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(h=c.offsetLeft,d=c.offsetTop)),{width:l,height:f,x:h+j(t),y:d}}var Be=Math.max,ut=Math.min,Ze=Math.round;function Vt(t){var e,n=$(t),c=X(t),l=(e=t.ownerDocument)==null?void 0:e.body,f=Be(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),h=Be(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-c.scrollLeft+j(t),b=-c.scrollTop;return U(l||n).direction==="rtl"&&(d+=Be(n.clientWidth,l?l.clientWidth:0)-f),{width:f,height:h,x:d,y:b}}function At(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&de(n)){var c=e;do{if(c&&t.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function et(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $t(t){var e=O(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function Wt(t,e){return e===bt?et(Ht(t)):le(e)?$t(e):et(Vt($(t)))}function wt(t){var e=Ie(be(t)),n=["absolute","fixed"].indexOf(U(t).position)>=0,c=n&&le(t)?De(t):t;return ye(c)?e.filter(function(l){return ye(l)&&At(l,c)&&A(l)!=="body"}):[]}function Ot(t,e,n){var c=e==="clippingParents"?wt(t):[].concat(e),l=[].concat(c,[n]),f=l[0],h=l.reduce(function(d,b){var C=Wt(t,b);return d.top=Be(C.top,d.top),d.right=ut(C.right,d.right),d.bottom=ut(C.bottom,d.bottom),d.left=Be(C.left,d.left),d},Wt(t,f));return h.width=h.right-h.left,h.height=h.bottom-h.top,h.x=h.left,h.y=h.top,h}function ft(t){return t.split("-")[1]}function je(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ft(t){var e=t.reference,n=t.element,c=t.placement,l=c?Ce(c):null,f=c?ft(c):null,h=e.x+e.width/2-n.width/2,d=e.y+e.height/2-n.height/2,b;switch(l){case ge:b={x:h,y:e.y-n.height};break;case Le:b={x:h,y:e.y+e.height};break;case xe:b={x:e.x+e.width,y:d};break;case Se:b={x:e.x-n.width,y:d};break;default:b={x:e.x,y:e.y}}var C=l?je(l):null;if(C!=null){var m=C==="y"?"height":"width";switch(f){case Re:b[C]=b[C]-(e[m]/2-n[m]/2);break;case yt:b[C]=b[C]+(e[m]/2-n[m]/2);break}}return b}function Ut(){return{top:0,right:0,bottom:0,left:0}}function qt(t){return Object.assign({},Ut(),t)}function Yt(t,e){return e.reduce(function(n,c){return n[c]=t,n},{})}function tt(t,e){e===void 0&&(e={});var n=e,c=n.placement,l=c===void 0?t.placement:c,f=n.boundary,h=f===void 0?Gt:f,d=n.rootBoundary,b=d===void 0?bt:d,C=n.elementContext,m=C===void 0?Oe:C,G=n.altBoundary,ne=G===void 0?!1:G,z=n.padding,W=z===void 0?0:z,Z=qt(typeof W!="number"?W:Yt(W,Ye)),q=m===Oe?jt:Oe,ae=t.elements.reference,ee=t.rects.popper,se=t.elements[ne?q:m],L=Ot(ye(se)?se:se.contextElement||$(t.elements.popper),h,b),Q=O(ae),K=Ft({reference:Q,element:ee,placement:l}),ie=et(Object.assign({},ee,K)),re=m===Oe?ie:Q,pe={top:L.top-re.top+Z.top,bottom:re.bottom-L.bottom+Z.bottom,left:L.left-re.left+Z.left,right:re.right-L.right+Z.right},ce=t.modifiersData.offset;if(m===Oe&&ce){var fe=ce[l];Object.keys(pe).forEach(function(Ve){var Pe=[xe,Le].indexOf(Ve)>=0?1:-1,Ge=[ge,Le].indexOf(Ve)>=0?"y":"x";pe[Ve]+=fe[Ge]*Pe})}return pe}var zt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",sr="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Et={placement:"bottom",modifiers:[],strategy:"absolute"};function pt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(c){return!(c&&typeof c.getBoundingClientRect=="function")})}function Pt(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,c=n===void 0?[]:n,l=e.defaultOptions,f=l===void 0?Et:l;return function(d,b,C){C===void 0&&(C=f);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},Et,f),modifiersData:{},elements:{reference:d,popper:b},attributes:{},styles:{}},G=[],ne=!1,z={state:m,setOptions:function(ae){Z(),m.options=Object.assign({},f,m.options,ae),m.scrollParents={reference:ye(d)?Ie(d):d.contextElement?Ie(d.contextElement):[],popper:Ie(b)};var ee=_e(ar([].concat(c,m.options.modifiers)));m.orderedModifiers=ee.filter(function(ce){return ce.enabled});{var se=or([].concat(ee,m.options.modifiers),function(ce){var fe=ce.name;return fe});if(ir(se),Ce(m.options.placement)===gt){var L=m.orderedModifiers.find(function(ce){var fe=ce.name;return fe==="flip"});L||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var Q=U(b),K=Q.marginTop,ie=Q.marginRight,re=Q.marginBottom,pe=Q.marginLeft;[K,ie,re,pe].some(function(ce){return parseFloat(ce)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return W(),z.update()},forceUpdate:function(){if(!ne){var ae=m.elements,ee=ae.reference,se=ae.popper;if(!pt(ee,se)){console.error(zt);return}m.rects={reference:Ae(ee,De(se),m.options.strategy==="fixed"),popper:ke(se)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(fe){return m.modifiersData[fe.name]=Object.assign({},fe.data)});for(var L=0,Q=0;Q<m.orderedModifiers.length;Q++){if(L+=1,L>100){console.error(sr);break}if(m.reset===!0){m.reset=!1,Q=-1;continue}var K=m.orderedModifiers[Q],ie=K.fn,re=K.options,pe=re===void 0?{}:re,ce=K.name;typeof ie=="function"&&(m=ie({state:m,options:pe,name:ce,instance:z})||m)}}},update:Qe(function(){return new Promise(function(q){z.forceUpdate(),q(m)})}),destroy:function(){Z(),ne=!0}};if(!pt(d,b))return console.error(zt),z;z.setOptions(C).then(function(q){!ne&&C.onFirstUpdate&&C.onFirstUpdate(q)});function W(){m.orderedModifiers.forEach(function(q){var ae=q.name,ee=q.options,se=ee===void 0?{}:ee,L=q.effect;if(typeof L=="function"){var Q=L({state:m,name:ae,instance:z,options:se}),K=function(){};G.push(Q||K)}})}function Z(){G.forEach(function(q){return q()}),G=[]}return z}}var xt={passive:!0};function cr(t){var e=t.state,n=t.instance,c=t.options,l=c.scroll,f=l===void 0?!0:l,h=c.resize,d=h===void 0?!0:h,b=F(e.elements.popper),C=[].concat(e.scrollParents.reference,e.scrollParents.popper);return f&&C.forEach(function(m){m.addEventListener("scroll",n.update,xt)}),d&&b.addEventListener("resize",n.update,xt),function(){f&&C.forEach(function(m){m.removeEventListener("scroll",n.update,xt)}),d&&b.removeEventListener("resize",n.update,xt)}}var Dt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:cr,data:{}};function lr(t){var e=t.state,n=t.name;e.modifiersData[n]=Ft({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}var Lt={name:"popperOffsets",enabled:!0,phase:"read",fn:lr,data:{}},ur={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fr(t){var e=t.x,n=t.y,c=window,l=c.devicePixelRatio||1;return{x:Ze(Ze(e*l)/l)||0,y:Ze(Ze(n*l)/l)||0}}function Mt(t){var e,n=t.popper,c=t.popperRect,l=t.placement,f=t.offsets,h=t.position,d=t.gpuAcceleration,b=t.adaptive,C=t.roundOffsets,m=C===!0?fr(f):typeof C=="function"?C(f):f,G=m.x,ne=G===void 0?0:G,z=m.y,W=z===void 0?0:z,Z=f.hasOwnProperty("x"),q=f.hasOwnProperty("y"),ae=Se,ee=ge,se=window;if(b){var L=De(n),Q="clientHeight",K="clientWidth";L===F(n)&&(L=$(n),U(L).position!=="static"&&(Q="scrollHeight",K="scrollWidth")),L=L,l===ge&&(ee=Le,W-=L[Q]-c.height,W*=d?1:-1),l===Se&&(ae=xe,ne-=L[K]-c.width,ne*=d?1:-1)}var ie=Object.assign({position:h},b&&ur);if(d){var re;return Object.assign({},ie,(re={},re[ee]=q?"0":"",re[ae]=Z?"0":"",re.transform=(se.devicePixelRatio||1)<2?"translate("+ne+"px, "+W+"px)":"translate3d("+ne+"px, "+W+"px, 0)",re))}return Object.assign({},ie,(e={},e[ee]=q?W+"px":"",e[ae]=Z?ne+"px":"",e.transform="",e))}function r(t){var e=t.state,n=t.options,c=n.gpuAcceleration,l=c===void 0?!0:c,f=n.adaptive,h=f===void 0?!0:f,d=n.roundOffsets,b=d===void 0?!0:d;{var C=U(e.elements.popper).transitionProperty||"";h&&["transform","top","right","bottom","left"].some(function(G){return C.indexOf(G)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',` 2 3`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",` 4 5`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var m={placement:Ce(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:l};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Mt(Object.assign({},m,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:h,roundOffsets:b})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Mt(Object.assign({},m,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var i={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:r,data:{}};function a(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var c=e.styles[n]||{},l=e.attributes[n]||{},f=e.elements[n];!le(f)||!A(f)||(Object.assign(f.style,c),Object.keys(l).forEach(function(h){var d=l[h];d===!1?f.removeAttribute(h):f.setAttribute(h,d===!0?"":d)}))})}function u(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(c){var l=e.elements[c],f=e.attributes[c]||{},h=Object.keys(e.styles.hasOwnProperty(c)?e.styles[c]:n[c]),d=h.reduce(function(b,C){return b[C]="",b},{});!le(l)||!A(l)||(Object.assign(l.style,d),Object.keys(f).forEach(function(b){l.removeAttribute(b)}))})}}var y={name:"applyStyles",enabled:!0,phase:"write",fn:a,effect:u,requires:["computeStyles"]};function v(t,e,n){var c=Ce(t),l=[Se,ge].indexOf(c)>=0?-1:1,f=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,h=f[0],d=f[1];return h=h||0,d=(d||0)*l,[Se,xe].indexOf(c)>=0?{x:d,y:h}:{x:h,y:d}}function p(t){var e=t.state,n=t.options,c=t.name,l=n.offset,f=l===void 0?[0,0]:l,h=Ct.reduce(function(m,G){return m[G]=v(G,e.rects,f),m},{}),d=h[e.placement],b=d.x,C=d.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=b,e.modifiersData.popperOffsets.y+=C),e.modifiersData[c]=h}var B={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:p},D={left:"right",right:"left",bottom:"top",top:"bottom"};function k(t){return t.replace(/left|right|bottom|top/g,function(e){return D[e]})}var N={start:"end",end:"start"};function J(t){return t.replace(/start|end/g,function(e){return N[e]})}function oe(t,e){e===void 0&&(e={});var n=e,c=n.placement,l=n.boundary,f=n.rootBoundary,h=n.padding,d=n.flipVariations,b=n.allowedAutoPlacements,C=b===void 0?Ct:b,m=ft(c),G=m?d?_t:_t.filter(function(W){return ft(W)===m}):Ye,ne=G.filter(function(W){return C.indexOf(W)>=0});ne.length===0&&(ne=G,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var z=ne.reduce(function(W,Z){return W[Z]=tt(t,{placement:Z,boundary:l,rootBoundary:f,padding:h})[Ce(Z)],W},{});return Object.keys(z).sort(function(W,Z){return z[W]-z[Z]})}function Y(t){if(Ce(t)===gt)return[];var e=k(t);return[J(t),e,J(e)]}function te(t){var e=t.state,n=t.options,c=t.name;if(!e.modifiersData[c]._skip){for(var l=n.mainAxis,f=l===void 0?!0:l,h=n.altAxis,d=h===void 0?!0:h,b=n.fallbackPlacements,C=n.padding,m=n.boundary,G=n.rootBoundary,ne=n.altBoundary,z=n.flipVariations,W=z===void 0?!0:z,Z=n.allowedAutoPlacements,q=e.options.placement,ae=Ce(q),ee=ae===q,se=b||(ee||!W?[k(q)]:Y(q)),L=[q].concat(se).reduce(function(P,_){return P.concat(Ce(_)===gt?oe(e,{placement:_,boundary:m,rootBoundary:G,padding:C,flipVariations:W,allowedAutoPlacements:Z}):_)},[]),Q=e.rects.reference,K=e.rects.popper,ie=new Map,re=!0,pe=L[0],ce=0;ce<L.length;ce++){var fe=L[ce],Ve=Ce(fe),Pe=ft(fe)===Re,Ge=[ge,Le].indexOf(Ve)>=0,vt=Ge?"width":"height",ot=tt(e,{placement:fe,boundary:m,rootBoundary:G,altBoundary:ne,padding:C}),Ke=Ge?Pe?xe:Se:Pe?Le:ge;Q[vt]>K[vt]&&(Ke=k(Ke));var kt=k(Ke),at=[];if(f&&at.push(ot[Ve]<=0),d&&at.push(ot[Ke]<=0,ot[kt]<=0),at.every(function(P){return P})){pe=fe,re=!1;break}ie.set(fe,at)}if(re)for(var St=W?3:1,It=function(_){var H=L.find(function(he){var me=ie.get(he);if(me)return me.slice(0,_).every(function(Fe){return Fe})});if(H)return pe=H,"break"},s=St;s>0;s--){var w=It(s);if(w==="break")break}e.placement!==pe&&(e.modifiersData[c]._skip=!0,e.placement=pe,e.reset=!0)}}var S={name:"flip",enabled:!0,phase:"main",fn:te,requiresIfExists:["offset"],data:{_skip:!1}};function I(t){return t==="x"?"y":"x"}function R(t,e,n){return Be(t,ut(e,n))}function E(t){var e=t.state,n=t.options,c=t.name,l=n.mainAxis,f=l===void 0?!0:l,h=n.altAxis,d=h===void 0?!1:h,b=n.boundary,C=n.rootBoundary,m=n.altBoundary,G=n.padding,ne=n.tether,z=ne===void 0?!0:ne,W=n.tetherOffset,Z=W===void 0?0:W,q=tt(e,{boundary:b,rootBoundary:C,padding:G,altBoundary:m}),ae=Ce(e.placement),ee=ft(e.placement),se=!ee,L=je(ae),Q=I(L),K=e.modifiersData.popperOffsets,ie=e.rects.reference,re=e.rects.popper,pe=typeof Z=="function"?Z(Object.assign({},e.rects,{placement:e.placement})):Z,ce={x:0,y:0};if(K){if(f||d){var fe=L==="y"?ge:Se,Ve=L==="y"?Le:xe,Pe=L==="y"?"height":"width",Ge=K[L],vt=K[L]+q[fe],ot=K[L]-q[Ve],Ke=z?-re[Pe]/2:0,kt=ee===Re?ie[Pe]:re[Pe],at=ee===Re?-re[Pe]:-ie[Pe],St=e.elements.arrow,It=z&&St?ke(St):{width:0,height:0},s=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ut(),w=s[fe],P=s[Ve],_=R(0,ie[Pe],It[Pe]),H=se?ie[Pe]/2-Ke-_-w-pe:kt-_-w-pe,he=se?-ie[Pe]/2+Ke+_+P+pe:at+_+P+pe,me=e.elements.arrow&&De(e.elements.arrow),Fe=me?L==="y"?me.clientTop||0:me.clientLeft||0:0,Rt=e.modifiersData.offset?e.modifiersData.offset[e.placement][L]:0,Ue=K[L]+H-Rt-Fe,Tt=K[L]+he-Rt;if(f){var ht=R(z?ut(vt,Ue):vt,Ge,z?Be(ot,Tt):ot);K[L]=ht,ce[L]=ht-Ge}if(d){var st=L==="x"?ge:Se,pr=L==="x"?Le:xe,ct=K[Q],mt=ct+q[st],mr=ct-q[pr],gr=R(z?ut(mt,Ue):mt,ct,z?Be(mr,Tt):mr);K[Q]=gr,ce[Q]=gr-ct}}e.modifiersData[c]=ce}}var T={name:"preventOverflow",enabled:!0,phase:"main",fn:E,requiresIfExists:["offset"]},o=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,qt(typeof e!="number"?e:Yt(e,Ye))};function ve(t){var e,n=t.state,c=t.name,l=t.options,f=n.elements.arrow,h=n.modifiersData.popperOffsets,d=Ce(n.placement),b=je(d),C=[Se,xe].indexOf(d)>=0,m=C?"height":"width";if(!(!f||!h)){var G=o(l.padding,n),ne=ke(f),z=b==="y"?ge:Se,W=b==="y"?Le:xe,Z=n.rects.reference[m]+n.rects.reference[b]-h[b]-n.rects.popper[m],q=h[b]-n.rects.reference[b],ae=De(f),ee=ae?b==="y"?ae.clientHeight||0:ae.clientWidth||0:0,se=Z/2-q/2,L=G[z],Q=ee-ne[m]-G[W],K=ee/2-ne[m]/2+se,ie=R(L,K,Q),re=b;n.modifiersData[c]=(e={},e[re]=ie,e.centerOffset=ie-K,e)}}function M(t){var e=t.state,n=t.options,c=n.element,l=c===void 0?"[data-popper-arrow]":c;if(l!=null&&!(typeof l=="string"&&(l=e.elements.popper.querySelector(l),!l))){if(le(l)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),!At(e.elements.popper,l)){console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=l}}var Xe={name:"arrow",enabled:!0,phase:"main",fn:ve,effect:M,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ne(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function rt(t){return[ge,xe,Le,Se].some(function(e){return t[e]>=0})}function nt(t){var e=t.state,n=t.name,c=e.rects.reference,l=e.rects.popper,f=e.modifiersData.preventOverflow,h=tt(e,{elementContext:"reference"}),d=tt(e,{altBoundary:!0}),b=Ne(h,c),C=Ne(d,l,f),m=rt(b),G=rt(C);e.modifiersData[n]={referenceClippingOffsets:b,popperEscapeOffsets:C,isReferenceHidden:m,hasPopperEscaped:G},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":G})}var it={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nt},Te=[Dt,Lt,i,y],Me=Pt({defaultModifiers:Te}),He=[Dt,Lt,i,y,B,S,T,Xe,it],dt=Pt({defaultModifiers:He});g.applyStyles=y,g.arrow=Xe,g.computeStyles=i,g.createPopper=dt,g.createPopperLite=Me,g.defaultModifiers=He,g.detectOverflow=tt,g.eventListeners=Dt,g.flip=S,g.hide=it,g.offset=B,g.popperGenerator=Pt,g.popperOffsets=Lt,g.preventOverflow=T}),wr=yr(g=>{Object.defineProperty(g,"__esModule",{value:!0});var O=Ar(),F='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',X="tippy-box",ye="tippy-content",le="tippy-backdrop",de="tippy-arrow",V="tippy-svg-arrow",x={passive:!0,capture:!0};function A(r,i){return{}.hasOwnProperty.call(r,i)}function $(r,i,a){if(Array.isArray(r)){var u=r[i];return u??(Array.isArray(a)?a[i]:a)}return r}function j(r,i){var a={}.toString.call(r);return a.indexOf("[object")===0&&a.indexOf(i+"]")>-1}function U(r,i){return typeof r=="function"?r.apply(void 0,i):r}function ue(r,i){if(i===0)return r;var a;return function(u){clearTimeout(a),a=setTimeout(function(){r(u)},i)}}function Ae(r,i){var a=Object.assign({},r);return i.forEach(function(u){delete a[u]}),a}function ke(r){return r.split(/\s+/).filter(Boolean)}function be(r){return[].concat(r)}function lt(r,i){r.indexOf(i)===-1&&r.push(i)}function Ie(r){return r.filter(function(i,a){return r.indexOf(i)===a})}function we(r){return r.split("-")[0]}function qe(r){return[].slice.call(r)}function Xt(r){return Object.keys(r).reduce(function(i,a){return r[a]!==void 0&&(i[a]=r[a]),i},{})}function De(){return document.createElement("div")}function ge(r){return["Element","Fragment"].some(function(i){return j(r,i)})}function Le(r){return j(r,"NodeList")}function xe(r){return j(r,"MouseEvent")}function Se(r){return!!(r&&r._tippy&&r._tippy.reference===r)}function gt(r){return ge(r)?[r]:Le(r)?qe(r):Array.isArray(r)?r:qe(document.querySelectorAll(r))}function Ye(r,i){r.forEach(function(a){a&&(a.style.transitionDuration=i+"ms")})}function Re(r,i){r.forEach(function(a){a&&a.setAttribute("data-state",i)})}function yt(r){var i,a=be(r),u=a[0];return!(u==null||(i=u.ownerDocument)==null)&&i.body?u.ownerDocument:document}function Gt(r,i){var a=i.clientX,u=i.clientY;return r.every(function(y){var v=y.popperRect,p=y.popperState,B=y.props,D=B.interactiveBorder,k=we(p.placement),N=p.modifiersData.offset;if(!N)return!0;var J=k==="bottom"?N.top.y:0,oe=k==="top"?N.bottom.y:0,Y=k==="right"?N.left.x:0,te=k==="left"?N.right.x:0,S=v.top-u+J>D,I=u-v.bottom-oe>D,R=v.left-a+Y>D,E=a-v.right-te>D;return S||I||R||E})}function bt(r,i,a){var u=i+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(y){r[u](y,a)})}var Oe={isTouch:!1},jt=0;function _t(){Oe.isTouch||(Oe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ct))}function Ct(){var r=performance.now();r-jt<20&&(Oe.isTouch=!1,document.removeEventListener("mousemove",Ct)),jt=r}function Kt(){var r=document.activeElement;if(Se(r)){var i=r._tippy;r.blur&&!i.state.isVisible&&r.blur()}}function Jt(){document.addEventListener("touchstart",_t,x),window.addEventListener("blur",Kt)}var Qt=typeof window<"u"&&typeof document<"u",Zt=Qt?navigator.userAgent:"",er=/MSIE |Trident\//.test(Zt);function Je(r){var i=r==="destroy"?"n already-":" ";return[r+"() was called on a"+i+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Bt(r){var i=/[ \t]{2,}/g,a=/^[ \t]*/gm;return r.replace(i," ").replace(a,"").trim()}function tr(r){return Bt(` 6 %ctippy.js 7 8 %c`+Bt(r)+` 9 10 %cð·â This is a development-only message. It will be removed in production. 11 `)}function Nt(r){return[tr(r),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var ze;rr();function rr(){ze=new Set}function _e(r,i){if(r&&!ze.has(i)){var a;ze.add(i),(a=console).warn.apply(a,Nt(i))}}function Qe(r,i){if(r&&!ze.has(i)){var a;ze.add(i),(a=console).error.apply(a,Nt(i))}}function $e(r){var i=!r,a=Object.prototype.toString.call(r)==="[object Object]"&&!r.addEventListener;Qe(i,["tippy() was passed","`"+String(r)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Qe(a,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var We={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},nr={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ee=Object.assign({appendTo:function(){return document.body},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},We,{},nr),ir=Object.keys(Ee),or=function(i){Be(i,[]);var a=Object.keys(i);a.forEach(function(u){Ee[u]=i[u]})};function Ce(r){var i=r.plugins||[],a=i.reduce(function(u,y){var v=y.name,p=y.defaultValue;return v&&(u[v]=r[v]!==void 0?r[v]:p),u},{});return Object.assign({},r,{},a)}function ar(r,i){var a=i?Object.keys(Ce(Object.assign({},Ee,{plugins:i}))):ir,u=a.reduce(function(y,v){var p=(r.getAttribute("data-tippy-"+v)||"").trim();if(!p)return y;if(v==="content")y[v]=p;else try{y[v]=JSON.parse(p)}catch{y[v]=p}return y},{});return u}function Ht(r,i){var a=Object.assign({},i,{content:U(i.content,[r])},i.ignoreAttributes?{}:ar(r,i.plugins));return a.aria=Object.assign({},Ee.aria,{},a.aria),a.aria={expanded:a.aria.expanded==="auto"?i.interactive:a.aria.expanded,content:a.aria.content==="auto"?i.interactive?null:"describedby":a.aria.content},a}function Be(r,i){r===void 0&&(r={}),i===void 0&&(i=[]);var a=Object.keys(r);a.forEach(function(u){var y=Ae(Ee,Object.keys(We)),v=!A(y,u);v&&(v=i.filter(function(p){return p.name===u}).length===0),_e(v,["`"+u+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",` 12 13`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/ 14`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var ut=function(){return"innerHTML"};function Ze(r,i){r[ut()]=i}function Vt(r){var i=De();return r===!0?i.className=de:(i.className=V,ge(r)?i.appendChild(r):Ze(i,r)),i}function At(r,i){ge(i.content)?(Ze(r,""),r.appendChild(i.content)):typeof i.content!="function"&&(i.allowHTML?Ze(r,i.content):r.textContent=i.content)}function et(r){var i=r.firstElementChild,a=qe(i.children);return{box:i,content:a.find(function(u){return u.classList.contains(ye)}),arrow:a.find(function(u){return u.classList.contains(de)||u.classList.contains(V)}),backdrop:a.find(function(u){return u.classList.contains(le)})}}function $t(r){var i=De(),a=De();a.className=X,a.setAttribute("data-state","hidden"),a.setAttribute("tabindex","-1");var u=De();u.className=ye,u.setAttribute("data-state","hidden"),At(u,r.props),i.appendChild(a),a.appendChild(u),y(r.props,r.props);function y(v,p){var B=et(i),D=B.box,k=B.content,N=B.arrow;p.theme?D.setAttribute("data-theme",p.theme):D.removeAttribute("data-theme"),typeof p.animation=="string"?D.setAttribute("data-animation",p.animation):D.removeAttribute("data-animation"),p.inertia?D.setAttribute("data-inertia",""):D.removeAttribute("data-inertia"),D.style.maxWidth=typeof p.maxWidth=="number"?p.maxWidth+"px":p.maxWidth,p.role?D.setAttribute("role",p.role):D.removeAttribute("role"),(v.content!==p.content||v.allowHTML!==p.allowHTML)&&At(k,r.props),p.arrow?N?v.arrow!==p.arrow&&(D.removeChild(N),D.appendChild(Vt(p.arrow))):D.appendChild(Vt(p.arrow)):N&&D.removeChild(N)}return{popper:i,onUpdate:y}}$t.$$tippy=!0;var Wt=1,wt=[],Ot=[];function ft(r,i){var a=Ht(r,Object.assign({},Ee,{},Ce(Xt(i)))),u,y,v,p=!1,B=!1,D=!1,k=!1,N,J,oe,Y=[],te=ue(ee,a.interactiveDebounce),S,I=Wt++,R=null,E=Ie(a.plugins),T={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},o={id:I,reference:r,popper:De(),popperInstance:R,props:a,state:T,plugins:E,clearDelayTimeouts:Ge,setProps:vt,setContent:ot,show:Ke,hide:kt,hideWithInteractivity:at,enable:Ve,disable:Pe,unmount:St,destroy:It};if(!a.render)return Qe(!0,"render() function has not been supplied."),o;var ve=a.render(o),M=ve.popper,Xe=ve.onUpdate;M.setAttribute("data-tippy-root",""),M.id="tippy-"+o.id,o.popper=M,r._tippy=o,M._tippy=o;var Ne=E.map(function(s){return s.fn(o)}),rt=r.hasAttribute("aria-expanded");return Z(),l(),e(),n("onCreate",[o]),a.showOnCreate&&ce(),M.addEventListener("mouseenter",function(){o.props.interactive&&o.state.isVisible&&o.clearDelayTimeouts()}),M.addEventListener("mouseleave",function(s){o.props.interactive&&o.props.trigger.indexOf("mouseenter")>=0&&(He().addEventListener("mousemove",te),te(s))}),o;function nt(){var s=o.props.touch;return Array.isArray(s)?s:[s,0]}function it(){return nt()[0]==="hold"}function Te(){var s;return!!((s=o.props.render)!=null&&s.$$tippy)}function Me(){return S||r}function He(){var s=Me().parentNode;return s?yt(s):document}function dt(){return et(M)}function t(s){return o.state.isMounted&&!o.state.isVisible||Oe.isTouch||N&&N.type==="focus"?0:$(o.props.delay,s?0:1,Ee.delay)}function e(){M.style.pointerEvents=o.props.interactive&&o.state.isVisible?"":"none",M.style.zIndex=""+o.props.zIndex}function n(s,w,P){if(P===void 0&&(P=!0),Ne.forEach(function(H){H[s]&&H[s].apply(void 0,w)}),P){var _;(_=o.props)[s].apply(_,w)}}function c(){var s=o.props.aria;if(s.content){var w="aria-"+s.content,P=M.id,_=be(o.props.triggerTarget||r);_.forEach(function(H){var he=H.getAttribute(w);if(o.state.isVisible)H.setAttribute(w,he?he+" "+P:P);else{var me=he&&he.replace(P,"").trim();me?H.setAttribute(w,me):H.removeAttribute(w)}})}}function l(){if(!(rt||!o.props.aria.expanded)){var s=be(o.props.triggerTarget||r);s.forEach(function(w){o.props.interactive?w.setAttribute("aria-expanded",o.state.isVisible&&w===Me()?"true":"false"):w.removeAttribute("aria-expanded")})}}function f(){He().removeEventListener("mousemove",te),wt=wt.filter(function(s){return s!==te})}function h(s){if(!(Oe.isTouch&&(D||s.type==="mousedown"))&&!(o.props.interactive&&M.contains(s.target))){if(Me().contains(s.target)){if(Oe.isTouch||o.state.isVisible&&o.props.trigger.indexOf("click")>=0)return}else n("onClickOutside",[o,s]);o.props.hideOnClick===!0&&(o.clearDelayTimeouts(),o.hide(),B=!0,setTimeout(function(){B=!1}),o.state.isMounted||m())}}function d(){D=!0}function b(){D=!1}function C(){var s=He();s.addEventListener("mousedown",h,!0),s.addEventListener("touchend",h,x),s.addEventListener("touchstart",b,x),s.addEventListener("touchmove",d,x)}function m(){var s=He();s.removeEventListener("mousedown",h,!0),s.removeEventListener("touchend",h,x),s.removeEventListener("touchstart",b,x),s.removeEventListener("touchmove",d,x)}function G(s,w){z(s,function(){!o.state.isVisible&&M.parentNode&&M.parentNode.contains(M)&&w()})}function ne(s,w){z(s,w)}function z(s,w){var P=dt().box;function _(H){H.target===P&&(bt(P,"remove",_),w())}if(s===0)return w();bt(P,"remove",J),bt(P,"add",_),J=_}function W(s,w,P){P===void 0&&(P=!1);var _=be(o.props.triggerTarget||r);_.forEach(function(H){H.addEventListener(s,w,P),Y.push({node:H,eventType:s,handler:w,options:P})})}function Z(){it()&&(W("touchstart",ae,{passive:!0}),W("touchend",se,{passive:!0})),ke(o.props.trigger).forEach(function(s){if(s!=="manual")switch(W(s,ae),s){case"mouseenter":W("mouseleave",se);break;case"focus":W(er?"focusout":"blur",L);break;case"focusin":W("focusout",L);break}})}function q(){Y.forEach(function(s){var w=s.node,P=s.eventType,_=s.handler,H=s.options;w.removeEventListener(P,_,H)}),Y=[]}function ae(s){var w,P=!1;if(!(!o.state.isEnabled||Q(s)||B)){var _=((w=N)==null?void 0:w.type)==="focus";N=s,S=s.currentTarget,l(),!o.state.isVisible&&xe(s)&&wt.forEach(function(H){return H(s)}),s.type==="click"&&(o.props.trigger.indexOf("mouseenter")<0||p)&&o.props.hideOnClick!==!1&&o.state.isVisible?P=!0:ce(s),s.type==="click"&&(p=!P),P&&!_&&fe(s)}}function ee(s){var w=s.target,P=Me().contains(w)||M.contains(w);if(!(s.type==="mousemove"&&P)){var _=pe().concat(M).map(function(H){var he,me=H._tippy,Fe=(he=me.popperInstance)==null?void 0:he.state;return Fe?{popperRect:H.getBoundingClientRect(),popperState:Fe,props:a}:null}).filter(Boolean);Gt(_,s)&&(f(),fe(s))}}function se(s){var w=Q(s)||o.props.trigger.indexOf("click")>=0&&p;if(!w){if(o.props.interactive){o.hideWithInteractivity(s);return}fe(s)}}function L(s){o.props.trigger.indexOf("focusin")<0&&s.target!==Me()||o.props.interactive&&s.relatedTarget&&M.contains(s.relatedTarget)||fe(s)}function Q(s){return Oe.isTouch?it()!==s.type.indexOf("touch")>=0:!1}function K(){ie();var s=o.props,w=s.popperOptions,P=s.placement,_=s.offset,H=s.getReferenceClientRect,he=s.moveTransition,me=Te()?et(M).arrow:null,Fe=H?{getBoundingClientRect:H,contextElement:H.contextElement||Me()}:r,Rt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(ht){var st=ht.state;if(Te()){var pr=dt(),ct=pr.box;["placement","reference-hidden","escaped"].forEach(function(mt){mt==="placement"?ct.setAttribute("data-placement",st.placement):st.attributes.popper["data-popper-"+mt]?ct.setAttribute("data-"+mt,""):ct.removeAttribute("data-"+mt)}),st.attributes.popper={}}}},Ue=[{name:"offset",options:{offset:_}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!he}},Rt];Te()&&me&&Ue.push({name:"arrow",options:{element:me,padding:3}}),Ue.push.apply(Ue,w?.modifiers||[]),o.popperInstance=O.createPopper(Fe,M,Object.assign({},w,{placement:P,onFirstUpdate:oe,modifiers:Ue}))}function ie(){o.popperInstance&&(o.popperInstance.destroy(),o.popperInstance=null)}function re(){var s=o.props.appendTo,w,P=Me();o.props.interactive&&s===Ee.appendTo||s==="parent"?w=P.parentNode:w=U(s,[P]),w.contains(M)||w.appendChild(M),K(),_e(o.props.interactive&&s===Ee.appendTo&&P.nextElementSibling!==M,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",` 15 16`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",` 17 18`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",` 19 20`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function pe(){return qe(M.querySelectorAll("[data-tippy-root]"))}function ce(s){o.clearDelayTimeouts(),s&&n("onTrigger",[o,s]),C();var w=t(!0),P=nt(),_=P[0],H=P[1];Oe.isTouch&&_==="hold"&&H&&(w=H),w?u=setTimeout(function(){o.show()},w):o.show()}function fe(s){if(o.clearDelayTimeouts(),n("onUntrigger",[o,s]),!o.state.isVisible){m();return}if(!(o.props.trigger.indexOf("mouseenter")>=0&&o.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(s.type)>=0&&p)){var w=t(!1);w?y=setTimeout(function(){o.state.isVisible&&o.hide()},w):v=requestAnimationFrame(function(){o.hide()})}}function Ve(){o.state.isEnabled=!0}function Pe(){o.hide(),o.state.isEnabled=!1}function Ge(){clearTimeout(u),clearTimeout(y),cancelAnimationFrame(v)}function vt(s){if(_e(o.state.isDestroyed,Je("setProps")),!o.state.isDestroyed){n("onBeforeUpdate",[o,s]),q();var w=o.props,P=Ht(r,Object.assign({},o.props,{},s,{ignoreAttributes:!0}));o.props=P,Z(),w.interactiveDebounce!==P.interactiveDebounce&&(f(),te=ue(ee,P.interactiveDebounce)),w.triggerTarget&&!P.triggerTarget?be(w.triggerTarget).forEach(function(_){_.removeAttribute("aria-expanded")}
20):P.triggerTarget&&r.removeAttribute("aria-expanded"),l(),e(),Xe&&Xe(w,P),o.popperInstance&&(K(),pe().forEach(function(_){requestAnimationFrame(_._tippy.popperInstance.forceUpdate)})),n("onAfterUpdate",[o,s])}}function ot(s){o.setProps({content:s})}function Ke(){_e(o.state.isDestroyed,Je("show"));var s=o.state.isVisible,w=o.state.isDestroyed,P=!o.state.isEnabled,_=Oe.isTouch&&!o.props.touch,H=$(o.props.duration,0,Ee.duration);if(!(s||w||P||_)&&!Me().hasAttribute("disabled")&&(n("onShow",[o],!1),o.props.onShow(o)!==!1)){if(o.state.isVisible=!0,Te()&&(M.style.visibility="visible"),e(),C(),o.state.isMounted||(M.style.transition="none"),Te()){var he=dt(),me=he.box,Fe=he.content;Ye([me,Fe],0)}oe=function(){var Ue;if(!(!o.state.isVisible||k)){if(k=!0,M.offsetHeight,M.style.transition=o.props.moveTransition,Te()&&o.props.animation){var Tt=dt(),ht=Tt.box,st=Tt.content;Ye([ht,st],H),Re([ht,st],"visible")}c(),l(),lt(Ot,o),(Ue=o.popperInstance)==null||Ue.forceUpdate(),o.state.isMounted=!0,n("onMount",[o]),o.props.animation&&Te()&&ne(H,function(){o.state.isShown=!0,n("onShown",[o])})}},re()}}function kt(){_e(o.state.isDestroyed,Je("hide"));var s=!o.state.isVisible,w=o.state.isDestroyed,P=!o.state.isEnabled,_=$(o.props.duration,1,Ee.duration);if(!(s||w||P)&&(n("onHide",[o],!1),o.props.onHide(o)!==!1)){if(o.state.isVisible=!1,o.state.isShown=!1,k=!1,p=!1,Te()&&(M.style.visibility="hidden"),f(),m(),e(),Te()){var H=dt(),he=H.box,me=H.content;o.props.animation&&(Ye([he,me],_),Re([he,me],"hidden"))}c(),l(),o.props.animation?Te()&&G(_,o.unmount):o.unmount()}}function at(s){_e(o.state.isDestroyed,Je("hideWithInteractivity")),He().addEventListener("mousemove",te),lt(wt,te),te(s)}function St(){_e(o.state.isDestroyed,Je("unmount")),o.state.isVisible&&o.hide(),o.state.isMounted&&(ie(),pe().forEach(function(s){s._tippy.unmount()}),M.parentNode&&M.parentNode.removeChild(M),Ot=Ot.filter(function(s){return s!==o}),o.state.isMounted=!1,n("onHidden",[o]))}function It(){_e(o.state.isDestroyed,Je("destroy")),!o.state.isDestroyed&&(o.clearDelayTimeouts(),o.unmount(),q(),delete r._tippy,o.state.isDestroyed=!0,n("onDestroy",[o]))}}function je(r,i){i===void 0&&(i={});var a=Ee.plugins.concat(i.plugins||[]);$e(r),Be(i,a),Jt();var u=Object.assign({},i,{plugins:a}),y=gt(r);{var v=ge(u.content),p=y.length>1;_e(v&&p,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",` 21 22`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",` 23 24`,`1) content: element.innerHTML 25`,"2) content: () => element.cloneNode(true)"].join(" "))}var B=y.reduce(function(D,k){var N=k&&ft(k,u);return N&&D.push(N),D},[]);return ge(r)?B[0]:B}je.defaultProps=Ee,je.setDefaultProps=or,je.currentInput=Oe;var Ft=function(i){var a=i===void 0?{}:i,u=a.exclude,y=a.duration;Ot.forEach(function(v){var p=!1;if(u&&(p=Se(u)?v.reference===u:v.popper===u.popper),!p){var B=v.props.duration;v.setProps({duration:y}),v.hide(),v.state.isDestroyed||v.setProps({duration:B})}})},Ut=Object.assign({},O.applyStyles,{effect:function(i){var a=i.state,u={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(a.elements.popper.style,u.popper),a.styles=u,a.elements.arrow&&Object.assign(a.elements.arrow.style,u.arrow)}}),qt=function(i,a){var u;a===void 0&&(a={}),Qe(!Array.isArray(i),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(i)].join(" "));var y=i,v=[],p,B=a.overrides,D=[],k=!1;function N(){v=y.map(function(E){return E.reference})}function J(E){y.forEach(function(T){E?T.enable():T.disable()})}function oe(E){return y.map(function(T){var o=T.setProps;return T.setProps=function(ve){o(ve),T.reference===p&&E.setProps(ve)},function(){T.setProps=o}})}function Y(E,T){var o=v.indexOf(T);if(T!==p){p=T;var ve=(B||[]).concat("content").reduce(function(M,Xe){return M[Xe]=y[o].props[Xe],M},{});E.setProps(Object.assign({},ve,{getReferenceClientRect:typeof ve.getReferenceClientRect=="function"?ve.getReferenceClientRect:function(){return T.getBoundingClientRect()}}))}}J(!1),N();var te={fn:function(){return{onDestroy:function(){J(!0)},onHidden:function(){p=null},onClickOutside:function(o){o.props.showOnCreate&&!k&&(k=!0,p=null)},onShow:function(o){o.props.showOnCreate&&!k&&(k=!0,Y(o,v[0]))},onTrigger:function(o,ve){Y(o,ve.currentTarget)}}}},S=je(De(),Object.assign({},Ae(a,["overrides"]),{plugins:[te].concat(a.plugins||[]),triggerTarget:v,popperOptions:Object.assign({},a.popperOptions,{modifiers:[].concat(((u=a.popperOptions)==null?void 0:u.modifiers)||[],[Ut])})})),I=S.show;S.show=function(E){if(I(),!p&&E==null)return Y(S,v[0]);if(!(p&&E==null)){if(typeof E=="number")return v[E]&&Y(S,v[E]);if(y.includes(E)){var T=E.reference;return Y(S,T)}if(v.includes(E))return Y(S,E)}},S.showNext=function(){var E=v[0];if(!p)return S.show(0);var T=v.indexOf(p);S.show(v[T+1]||E)},S.showPrevious=function(){var E=v[v.length-1];if(!p)return S.show(E);var T=v.indexOf(p),o=v[T-1]||E;S.show(o)};var R=S.setProps;return S.setProps=function(E){B=E.overrides||B,R(E)},S.setInstances=function(E){J(!0),D.forEach(function(T){return T()}),y=E,J(!1),N(),oe(S),S.setProps({triggerTarget:v})},D=oe(S),S}
vendor: 4,427 bytes, line 25
25,Yt={mouseover:"mouseenter",focusin:"focus",click:"click"};function tt(r,i){Qe(!(i&&i.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var a=[],u=[],y=!1,v=i.target,p=Ae(i,["target"]),B=Object.assign({},p,{trigger:"manual",touch:!1}),D=Object.assign({},p,{showOnCreate:!0}),k=je(r,B),N=be(k);function J(I){if(!(!I.target||y)){var R=I.target.closest(v);if(R){var E=R.getAttribute("data-tippy-trigger")||i.trigger||Ee.trigger;if(!R._tippy&&!(I.type==="touchstart"&&typeof D.touch=="boolean")&&!(I.type!=="touchstart"&&E.indexOf(Yt[I.type])<0)){var T=je(R,D);T&&(u=u.concat(T))}}}}function oe(I,R,E,T){T===void 0&&(T=!1),I.addEventListener(R,E,T),a.push({node:I,eventType:R,handler:E,options:T})}function Y(I){var R=I.reference;oe(R,"touchstart",J,x),oe(R,"mouseover",J),oe(R,"focusin",J),oe(R,"click",J)}function te(){a.forEach(function(I){var R=I.node,E=I.eventType,T=I.handler,o=I.options;R.removeEventListener(E,T,o)}),a=[]}function S(I){var R=I.destroy,E=I.enable,T=I.disable;I.destroy=function(o){o===void 0&&(o=!0),o&&u.forEach(function(ve){ve.destroy()}),u=[],te(),R()},I.enable=function(){E(),u.forEach(function(o){return o.enable()}),y=!1},I.disable=function(){T(),u.forEach(function(o){return o.disable()}),y=!0},Y(I)}return N.forEach(S),k}var zt={name:"animateFill",defaultValue:!1,fn:function(i){var a;if(!((a=i.props.render)!=null&&a.$$tippy))return Qe(i.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var u=et(i.popper),y=u.box,v=u.content,p=i.props.animateFill?sr():null;return{onCreate:function(){p&&(y.insertBefore(p,y.firstElementChild),y.setAttribute("data-animatefill",""),y.style.overflow="hidden",i.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(p){var D=y.style.transitionDuration,k=Number(D.replace("ms",""));v.style.transitionDelay=Math.round(k/10)+"ms",p.style.transitionDuration=D,Re([p],"visible")}},onShow:function(){p&&(p.style.transitionDuration="0ms")},onHide:function(){p&&Re([p],"hidden")}}}};function sr(){var r=De();return r.className=le,Re([r],"hidden"),r}var Et={clientX:0,clientY:0},pt=[];function Pt(r){var i=r.clientX,a=r.clientY;Et={clientX:i,clientY:a}}function xt(r){r.addEventListener("mousemove",Pt)}function cr(r){r.removeEventListener("mousemove",Pt)}var Dt={name:"followCursor",defaultValue:!1,fn:function(i){var a=i.reference,u=yt(i.props.triggerTarget||a),y=!1,v=!1,p=!0,B=i.props;function D(){return i.props.followCursor==="initial"&&i.state.isVisible}function k(){u.addEventListener("mousemove",oe)}function N(){u.removeEventListener("mousemove",oe)}function J(){y=!0,i.setProps({getReferenceClientRect:null}),y=!1}function oe(S){var I=S.target?a.contains(S.target):!0,R=i.props.followCursor,E=S.clientX,T=S.clientY,o=a.getBoundingClientRect(),ve=E-o.left,M=T-o.top;(I||!i.props.interactive)&&i.setProps({getReferenceClientRect:function(){var Ne=a.getBoundingClientRect(),rt=E,nt=T;R==="initial"&&(rt=Ne.left+ve,nt=Ne.top+M);var it=R==="horizontal"?Ne.top:nt,Te=R==="vertical"?Ne.right:rt,Me=R==="horizontal"?Ne.bottom:nt,He=R==="vertical"?Ne.left:rt;return{width:Te-He,height:Me-it,top:it,right:Te,bottom:Me,left:He}}})}function Y(){i.props.followCursor&&(pt.push({instance:i,doc:u}),xt(u))}function te(){pt=pt.filter(function(S){return S.instance!==i}),pt.filter(function(S){return S.doc===u}).length===0&&cr(u)}return{onCreate:Y,onDestroy:te,onBeforeUpdate:function(){B=i.props},onAfterUpdate:function(I,R){var E=R.followCursor;y||E!==void 0&&B.followCursor!==E&&(te(),E?(Y(),i.state.isMounted&&!v&&!D()&&k()):(N(),J()))},onMount:function(){i.props.followCursor&&!v&&(p&&(oe(Et),p=!1),D()||k())},onTrigger:function(I,R){xe(R)&&(Et={clientX:R.clientX,clientY:R.clientY}),v=R.type==="focus"},onHidden:function(){i.props.followCursor&&(J(),N(),p=!0)}}}};function lr(r,i){var a;return{popperOptions:Object.assign({},r.popperOptions,{modifiers:[].concat((((a=r.popperOptions)==null?void 0:a.modifiers)||[]).filter(function(u){var y=u.name;return y!==i.name}),[i])})}}var Lt={name:"inlinePositioning",defaultValue:!1,fn:function(i){var a=i.reference;function u(){return!!i.props.inlinePositioning}var y,v=-1,p=!1,B={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(oe){var Y=oe.state;u()&&(y!==Y.placement&&i.setProps({getReferenceClientRect:function(){return D(Y.placement)}}),y=Y.placement)}};
25function D(J){return ur(we(J),a.getBoundingClientRect(),qe(a.getClientRects()),v)}function k(J){p=!0,i.setProps(J),p=!1}function N(){p||k(lr(i.props,B))}return{onCreate:N,onAfterUpdate:N,onTrigger:function(oe,Y){if(xe(Y)){var te=qe(i.reference.getClientRects()),S=te.find(function(I){return I.left-2<=Y.clientX&&I.right+2>=Y.clientX&&I.top-2<=Y.clientY&&I.bottom+2>=Y.clientY});v=te.indexOf(S)}},onUntrigger:function(){v=-1}}}};function ur(r,i,a,u){if(a.length<2||r===null)return i;if(a.length===2&&u>=0&&a[0].left>a[1].right)return a[u]||i;switch(r){case"top":case"bottom":{var y=a[0],v=a[a.length-1],p=r==="top",B=y.top,D=v.bottom,k=p?y.left:v.left,N=p?y.right:v.right,J=N-k,oe=D-B;return{top:B,bottom:D,left:k,right:N,width:J,height:oe}}case"left":case"right":{var Y=Math.min.apply(Math,a.map(function(M){return M.left})),te=Math.max.apply(Math,a.map(function(M){return M.right})),S=a.filter(function(M){return r==="left"?M.left===Y:M.right===te}),I=S[0].top,R=S[S.length-1].bottom,E=Y,T=te,o=T-E,ve=R-I;return{top:I,bottom:R,left:E,right:T,width:o,height:ve}}default:return i}}var fr={name:"sticky",defaultValue:!1,fn:function(i){var a=i.reference,u=i.popper;function y(){return i.popperInstance?i.popperInstance.state.elements.reference:a}function v(k){return i.props.sticky===!0||i.props.sticky===k}var p=null,B=null;function D(){var k=v("reference")?y().getBoundingClientRect():null,N=v("popper")?u.getBoundingClientRect():null;(k&&Mt(p,k)||N&&Mt(B,N))&&i.popperInstance&&i.popperInstance.update(),p=k,B=N,i.state.isMounted&&requestAnimationFrame(D)}return{onMount:function(){i.props.sticky&&D()}}}};function Mt(r,i){return r&&i?r.top!==i.top||r.right!==i.right||r.bottom!==i.bottom||r.left!==i.left:!0}je.setDefaultProps({render:$t}),g.animateFill=zt,g.createSingleton=qt,g.default=je,g.delegate=tt,g.followCursor=Dt,g.hideAll=Ft,g.inlinePositioning=Lt,g.roundArrow=F,g.sticky=fr}),dr=br(wr()),Dr=br(wr()),Lr=g=>{const O={plugins:[]},F=X=>g[g.indexOf(X)+1];if(g.includes("animation")&&(O.animation=F("animation")),g.includes("duration")&&(O.duration=parseInt(F("duration"))),g.includes("delay")){const X=F("delay");O.delay=X.includes("-")?X.split("-").map(ye=>parseInt(ye)):parseInt(X)}if(g.includes("cursor")){O.plugins.push(Dr.followCursor);const X=F("cursor");["x","initial"].includes(X)?O.followCursor=X==="x"?"horizontal":"initial":O.followCursor=!0}return g.includes("on")&&(O.trigger=F("on")),g.includes("arrowless")&&(O.arrow=!1),g.includes("html")&&(O.allowHTML=!0),g.includes("interactive")&&(O.interactive=!0),g.includes("border")&&O.interactive&&(O.interactiveBorder=parseInt(F("border"))),g.includes("debounce")&&O.interactive&&(O.interactiveDebounce=parseInt(F("debounce"))),g.includes("max-width")&&(O.maxWidth=parseInt(F("max-width"))),g.includes("theme")&&(O.theme=F("theme")),g.includes("placement")&&(O.placement=F("placement")),O};function vr(g){g.magic("tooltip",O=>(F,X={})=>{const ye=X.timeout;delete X.timeout;const le=(0,dr.default)(O,{content:F,trigger:"manual",...X});le.show(),setTimeout(()=>{le.hide(),setTimeout(()=>le.destroy(),X.duration||300)},ye||2e3)}),g.directive("tooltip",(O,{modifiers:F,expression:X},{evaluateLater:ye,effect:le})=>{const de=F.length>0?Lr(F):{};O.__x_tippy||(O.__x_tippy=(0,dr.default)(O,de));const V=()=>O.__x_tippy.enable(),x=()=>O.__x_tippy.disable(),A=$=>{$?(V(),O.__x_tippy.setContent($)):x()};if(F.includes("raw"))A(X);else{const $=ye(X);le(()=>{$(j=>{typeof j=="object"?(O.__x_tippy.setProps(j),V()):A(j)})})}})}vr.defaultProps=g=>(dr.default.setDefaultProps(g),vr);var Mr=vr,kr=Mr;window.xShopCheckoutSection=function(g=0,O=[],F="$",X=null,ye=null){const de="special";return{os:!1,selectedPlanIndex:g,processedPlans:O,currency:F,specialOfferPlan:ye,selectedPlan:X||(g===de?ye||O[0]||{}:O[g]||O[0]||{}),get isSpecialOfferSelected(){return this.selectedPlanIndex===de},lottieAnimations:[],init(){const V=Alpine.store("shopCheckout");V?V.selectedPlan=this.selectedPlan:Alpine.store("shopCheckout",{selectedPlan:this.selectedPlan}
25);const x=j=>!isNaN(j)&&!isNaN(parseFloat(j)),A=this.getCookie("selected_plan"),$=this.selectedPlanIndex;if(A!==null&&!(A===de&&$===de||x(A)&&parseInt(A,10)===$)){if(A===de)this.specialOfferPlan?this.selectedPlanIndex=de:$!==de&&$>=0?this.selectedPlanIndex=$:(this.selectedPlanIndex=0,this.setCookie("selected_plan","0"));else if(x(A)){const U=parseInt(A,10);U>=0&&U<this.processedPlans.length?this.selectedPlanIndex=U:$>=0&&$<this.processedPlans.length?this.selectedPlanIndex=$:(this.selectedPlanIndex=0,this.setCookie("selected_plan","0"))}}this.selectedPlanIndex===de?this.specialOfferPlan?this.selectedPlan={...this.specialOfferPlan}:(this.selectedPlanIndex=0,this.processedPlans.length>0&&(this.selectedPlan={...this.processedPlans[0]},this.setCookie("selected_plan","0"),this.processedPlans.forEach((j,U)=>{j.isSelected=U===0}))):!this.selectedPlan||Object.keys(this.selectedPlan).length===0?this.processedPlans.length>0&&this.processedPlans[this.selectedPlanIndex]?(this.selectedPlan={...this.processedPlans[this.selectedPlanIndex]},this.processedPlans.forEach((j,U)=>{j.isSelected=U===this.selectedPlanIndex})):this.processedPlans.length>0&&(this.selectedPlan={...this.processedPlans[0]},this.selectedPlanIndex=0,this.processedPlans.forEach((j,U)=>{j.isSelected=U===0})):this.processedPlans.forEach((j,U)=>{j.isSelected=U===this.selectedPlanIndex}),this.initScrollingContainer(),this.trackCheckoutReady(),this.$nextTick(()=>{this.initLottieAnimations()}),this.$watch("isSpecialOfferSelected",j=>{this.controlLottieAnimations(j)}),this.$watch("specialOfferPlan",j=>{j&&this.$nextTick(()=>{this.initLottieAnimations()})}),this.$watch("selectedPlan",j=>{try{const U=Alpine.store("shopCheckout");U&&(U.selectedPlan=j)}catch{}})},initLottieAnimations(){if(!this.specialOfferPlan)return;if(!window.lottie){setTimeout(()=>this.initLottieAnimations(),100);return}const V="https://s3.amazonaws.com/src.metaflow.co/Pages/Cart Widget/main-gallery/checkout section/christmas_ornaments_v2.json",x=["lottie1","lottie2","lottie3","lottie4"];let A=0;const $=50,j=()=>{this.$nextTick(()=>{if(x.every(ue=>this.$refs[ue])){let ue=0;const Ae=x.length;x.forEach(ke=>{const be=this.$refs[ke];if(be&&!be.dataset.lottieInitialized){be.dataset.lottieInitialized="true";const lt=()=>{try{const Ie=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),we=window.lottie.loadAnimation({container:be,renderer:"svg",autoplay:!1,loop:!0,path:V,rendererSettings:Ie?{preserveAspectRatio:"xMidYMid meet",clearCanvas:!0,progressiveLoad:!1,hideOnTransparent:!0}:{preserveAspectRatio:"xMidYMid meet"}});this.lottieAnimations.push(we),this.isSpecialOfferSelected&&we.play(),Ie&&we&&setTimeout(()=>{we&&we.resize&&we.resize()},100),ue++,ue===Ae&&this.controlLottieAnimations(this.isSpecialOfferSelected)}catch(Ie){if(console.error("Error loading Lottie animation:",Ie),/^((?!chrome|android).)*safari/i.test(navigator.userAgent))try{const we=window.lottie.loadAnimation({container:be,renderer:"canvas",autoplay:!1,loop:!0,path:V});this.lottieAnimations.push(we),this.isSpecialOfferSelected&&we.play()}catch(we){console.error("Error loading Lottie animation with canvas fallback:",we)}ue++,ue===Ae&&this.controlLottieAnimations(this.isSpecialOfferSelected)}};this.$nextTick(()=>{setTimeout(lt,50)})}else ue++}),ue===Ae&&this.controlLottieAnimations(this.isSpecialOfferSelected)}else A++,A<$?setTimeout(j,100):console.warn("Lottie refs not found after maximum retries")})};j()},controlLottieAnimations(V){this.lottieAnimations.forEach(x=>{x&&(V?x.play():x.pause())})},trackCheckoutReady(){this.$nextTick(()=>{const V=document.getElementById("shop-checkout-section");if(!V){setTimeout(()=>{window.dispatchEvent(new CustomEvent("checkout-ready"))},100);return}let x=!1,A=!1;const $=()=>{x&&A&&window.dispatchEvent(new CustomEvent("checkout-ready"))},j=V.querySelectorAll("img");if(j.length===0)x=!0;else{let ue=0;const Ae=j.length;j.forEach(ke=>{ke.complete&&ke.naturalHeight>0?ue++:(ke.addEventListener("load",()=>{ue++,ue>=Ae&&(x=!0,$())},{once:!0}),ke.addEventListener("error",()=>{ue++,ue>=Ae&&(x=!0,$())},{once:!0}))}),ue>=Ae&&(x=!0)}
25V.querySelector('.device-slider, [class*="swiper"]')?window.addEventListener("slider-ready",()=>{A=!0,$()},{once:!0}):(A=!0,$()),setTimeout(()=>{(!x||!A)&&(x=!0,A=!0,$())},3e3)})},get computedSelectedPlan(){return this.selectedPlanIndex===de?this.specialOfferPlan||this.processedPlans[0]:this.processedPlans[this.selectedPlanIndex]||this.processedPlans[0]},selectPlan(V){this.selectedPlanIndex=V,this.selectedPlan={...this.processedPlans[V]||this.processedPlans[0]},this.setCookie("selected_plan",String(V)),this.processedPlans.forEach((x,A)=>{x.isSelected=A===V}),this.specialOfferPlan&&(this.specialOfferPlan.isSelected=!1)},selectSpecialOffer(){this.specialOfferPlan&&(this.selectedPlanIndex=de,this.selectedPlan={...this.specialOfferPlan},this.setCookie("selected_plan",de),this.processedPlans.forEach(V=>{V.isSelected=!1}),this.specialOfferPlan.isSelected=!0)},open(){this.os=!!window.Trustpilot,this.os||window.open("https://www.trustpilot.com/review/www.lumen.me","_blank")},scrollToCartWidget(){const V=document.getElementById("shop-checkout");if(!V)return;const x=document.querySelector("#marketing-banner-wrapper>div")?document.querySelector("#marketing-banner-wrapper>div").clientHeight:0,A=V.getBoundingClientRect().top+window.scrollY-x*2;window.scrollTo({top:A,behavior:"smooth"})},initScrollingContainer(){const V=()=>{const x=document.querySelector(".scrolling-container");if(!x||x.dataset.scrollingInitialized)return;x.dataset.scrollingInitialized="true";let A=1,$=1,j=!1;function U(){j||(x.scrollLeft+=A*$,x.scrollLeft+x.clientWidth>=x.scrollWidth-5?A=-1:x.scrollLeft<=0&&(A=1)),setTimeout(()=>requestAnimationFrame(U),20)}x.addEventListener("mouseenter",()=>{j=!0}),x.addEventListener("mouseleave",()=>{j=!1}),U()};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",V):V()},getCookie(V){const A=`; ${document.cookie}`.split(`; ${V}=`);return A.length===2?A.pop().split(";").shift():null},setCookie(V,x){const A=new Date;A.setTime(A.getTime()+2592e6),document.cookie=`${V}=${x};expires=${A.toUTCString()};path=/`}}};export{kr as m};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.