1var Ei=Object.create;var De=Object.defineProperty;var xi=Object.getOwnPropertyDescriptor;var Si=Object.getOwnPropertyNames;var Oi=Object.getPrototypeOf,Ti=Object.prototype.hasOwnProperty;var _i=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ai=(e,t)=>{for(var r in t)De(e,r,{get:t[r],enumerable:!0})},Ii=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Si(t))!Ti.call(e,n)&&n!==r&&De(e,n,{get:()=>t[n],enumerable:!(i=xi(t,n))||i.enumerable});return e};var Pi=(e,t,r)=>(r=e!=null?Ei(Oi(e)):{},Ii(t||!e||!e.__esModule?De(r,"default",{value:e,enumerable:!0}):r,e));var _r=_i(()=>{(function(){"use strict";var e=(function(d,l){var h=function(N){for(var E=0,F=N.length;E<F;E++)b(N[E])},b=function(N){var E=N.target,F=N.attributeName,G=N.oldValue;E.attributeChangedCallback(F,G,E.getAttribute(F))};return function(w,N){var E=w.constructor.observedAttributes;return E&&d(N).then(function(){new l(h).observe(w,{attributes:!0,attributeOldValue:!0,attributeFilter:E});for(var F=0,G=E.length;F<G;F++)w.hasAttribute(E[F])&&b({target:w,attributeName:E[F],oldValue:null})}),w}});function t(d,l){if(d){if(typeof d=="string")return r(d,l);var h=Object.prototype.toString.call(d).slice(8,-1);if(h==="Object"&&d.constructor&&(h=d.constructor.name),h==="Map"||h==="Set")return Array.from(d);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return r(d,l)}}function r(d,l){(l==null||l>d.length)&&(l=d.length);for(var h=0,b=new Array(l);h<l;h++)b[h]=d[h];return b}function i(d,l){var h=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!h){if(Array.isArray(d)||(h=t(d))||l&&d&&typeof d.length=="number"){h&&(d=h);var b=0,w=function(){};return{s:w,n:function(){return b>=d.length?{done:!0}:{done:!1,value:d[b++]}},e:function(G){throw G},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,E=!1,F;return{s:function(){h=h.call(d)},n:function(){var G=h.next();return N=G.done,G},e:function(G){E=!0,F=G},f:function(){try{!N&&h.return!=null&&h.return()}finally{if(E)throw F}}}}var n=!0,a=!1,o="querySelectorAll",c=function(l){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],N=function G(mt,vt,tt,O,B,q){var it=i(mt),Nt;try{for(it.s();!(Nt=it.n()).done;){var Q=Nt.value;(q||o in Q)&&(B?tt.has(Q)||(tt.add(Q),O.delete(Q),l(Q,B)):O.has(
2Q)||(O.add(Q),tt.delete(Q),l(Q,B)),q||G(Q[o](vt),vt,tt,O,B,n))}}catch(Ne){it.e(Ne)}finally{it.f()}},E=new b(function(G){if(w.length){var mt=w.join(","),vt=new Set,tt=new Set,O=i(G),B;try{for(O.s();!(B=O.n()).done;){var q=B.value,it=q.addedNodes,Nt=q.removedNodes;N(Nt,mt,vt,tt,a,a),N(it,mt,vt,tt,n,a)}}catch(Q){O.e(Q)}finally{O.f()}}}),F=E.observe;return(E.observe=function(G){return F.call(E,G,{subtree:n,childList:n})})(h),E},p="querySelectorAll",u=self,g=u.document,y=u.Element,v=u.MutationObserver,R=u.Set,I=u.WeakMap,k=function(l){return p in l},j=[].filter,M=(function(d){var l=new I,h=function(O){for(var B=0,q=O.length;B<q;B++)l.delete(O[B])},b=function(){for(var O=mt.takeRecords(),B=0,q=O.length;B<q;B++)E(j.call(O[B].removedNodes,k),!1),E(j.call(O[B].addedNodes,k),!0)},w=function(O){return O.matches||O.webkitMatchesSelector||O.msMatchesSelector},N=function(O,B){var q;if(B)for(var it,Nt=w(O),Q=0,Ne=F.length;Q<Ne;Q++)Nt.call(O,it=F[Q])&&(l.has(O)||l.set(O,new R),q=l.get(O),q.has(it)||(q.add(it),d.handle(O,B,it)));else l.has(O)&&(q=l.get(O),l.delete(O),q.forEach(function(wi){d.handle(O,B,wi)}))},E=function(O){for(var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,q=0,it=O.length;q<it;q++)N(O[q],B)},F=d.query,G=d.root||g,mt=c(N,G,v,F),vt=y.prototype.attachShadow;return vt&&(y.prototype.attachShadow=function(tt){var O=vt.call(this,tt);return mt.observe(O),O}),F.length&&E(G[p](F)),{drop:h,flush:b,observer:mt,parse:E}}),D=self,L=D.document,z=D.Map,V=D.MutationObserver,K=D.Object,Y=D.Set,U=D.WeakMap,C=D.Element,et=D.HTMLElement,A=D.Node,S=D.Error,s=D.TypeError,f=D.Reflect,m=K.defineProperty,T=K.keys,_=K.getOwnPropertyNames,P=K.setPrototypeOf,x=!self.customElements,$=function(l){for(var h=T(l),b=[],w=new Y,N=h.length,E=0;E<N;E++){b[E]=l[h[E]];try{delete l[h[E]]}catch{w.add(E)}}return function(){for(var F=0;F<N;F++)w.has(F)||(l[h[F]]=b[F])}};if(x){var W=function(){var l=this.constructor;if(!ct.has(l))throw new s("Illegal constructor");var h=ct.get(l);if(Jt)return er(Jt,h);var b=at.call(L,h);return er(P(b,l.prototype),h)},at=L.createElement,ct=new z,rt=new z,ht=new z,pt=new z,Ft=[],Ct=function(l,h,b){var w=ht.get(b);if(h&&!w.isPrototypeOf(l)){var N=$(l);Jt=P(l,w);try{new w.constructor}finally{Jt=null,N()}}var E="".concat(h?"":"dis","connectedCallback");E in w&&l[E]()},si=M({query:Ft,handle:Ct}),li=si.parse,Jt=null,_e=function(l){if(!rt.has(l)){var h,b=new Promise(function(w){h=w});rt.set(l,{$:b,_:h})}return rt.get(l).$},er=e(_e,V);self.customElements={define:function(l,h){if(pt.has(l))throw new S('the name "'.concat(l,'" has already been used with this registry'));ct.set(h,l),ht.set(l,h.prototype),pt.set(l,h),Ft.push(l),_e(l).then(function(){li(L.querySelectorAll(l))}),rt.get(l)._(h)},get:function(l){return pt.get(l)},whenDefined:_e},m(W.prototype=et.prototype,"constructor",{value:W}),self.HTMLElement=W,L.createElement=function(d,l){var h=l&&l.is,b=h?pt.get(h):pt.get(d);return b?new b:at.call(L,d)},"isConnected"in A.prototype||m(A.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else if(x=!self.customElements.get("extends-br"),x)try{var rr=function d(){return self.Reflect.construct(HTMLBRElement,[],d)};rr.prototype=HTMLLIElement.prototype;var ir="extends-br";self.customElements.define("extends-br",rr,{extends:"br"}),x=L.createElement("br",{is:ir}).outerHTML.indexOf(ir)<0;var nr=self.customElements,ci=nr.get,ui=nr.whenDefined;self.customElements.whenDefined=function(d){var l=this;return ui.call(this,d).then(function(h){return h||ci.call(l,d)})}}catch{}if(x){var or=function(l){var h=Ae.get(l);ur(h.querySelectorAll(this),l.isConnected)},st=self.customElements,ar=L.createElement,fi=st.define,di=st.get,hi=st.upgrade,pi=f||{construct:function(l){return l.call(this)}},mi=pi.construct,Ae=new U,Ie=new Y,te=new z,ee=new z,sr=new z,re=new z,lr=[],ie=[],cr=function(l){return re.get(l)||di.call(st,l)},vi=function(l,h,b){var w=sr.get(b);if(h&&!w.isPrototypeOf(l)){var N=$(l);ne=P(l,w);try{new w.constructor}finally{ne=null,N()}}var E="".concat(h?"":"dis","connectedCallback");E in w&&l[E]()},gi=M({query:ie,handle:vi}),ur=gi.parse,yi=M({query:lr,handle:function(l,h){Ae.has(l)&&(h?Ie.add(l):Ie.delete(l),ie.length&&or.call(ie,l))}}),bi=yi.parse,fr=C.prototype.attachShadow;fr&&(C.prototype.attachShadow=function(d){var l=fr.call(this,d);return Ae.set(this,l),l});var Pe=function(l){if(!ee.has(l)){var h,b=new Promise(function(w){h=w});ee.set(l,{$:b,_:h})}return ee.get(l).$},Fe=e(Pe,V),ne=null;_(self).filter(function(d){return/^HTML.*Element$/.test(d)}
2).forEach(function(d){var l=self[d];function h(){var b=this.constructor;if(!te.has(b))throw new s("Illegal constructor");var w=te.get(b),N=w.is,E=w.tag;if(N){if(ne)return Fe(ne,N);var F=ar.call(L,E);return F.setAttribute("is",N),Fe(P(F,b.prototype),N)}else return mi.call(this,l,[],b)}m(h.prototype=l.prototype,"constructor",{value:h}),m(self,d,{value:h})}),L.createElement=function(d,l){var h=l&&l.is;if(h){var b=re.get(h);if(b&&te.get(b).tag===d)return new b}var w=ar.call(L,d);return h&&w.setAttribute("is",h),w},st.get=cr,st.whenDefined=Pe,st.upgrade=function(d){var l=d.getAttribute("is");if(l){var h=re.get(l);if(h){Fe(P(d,h.prototype),l);return}}hi.call(st,d)},st.define=function(d,l,h){if(cr(d))throw new S("'".concat(d,"' has already been defined as a custom element"));var b,w=h&&h.extends;te.set(l,w?{is:d,tag:w}:{is:"",tag:d}),w?(b="".concat(w,'[is="').concat(d,'"]'),sr.set(b,l.prototype),re.set(d,l),ie.push(b)):(fi.apply(st,arguments),lr.push(b=d)),Pe(d).then(function(){w?(ur(L.querySelectorAll(b)),Ie.forEach(or,[b])):bi(L.querySelectorAll(b))}),ee.get(d)._(l)}}})()});var Tr={};Ai(Tr,{createFocusTrap:()=>nn});var hr=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],oe=hr.join(","),pr=typeof Element>"u",Ot=pr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ae=!pr&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Rt=function(t,r){var i;r===void 0&&(r=!0);var n=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"inert"),a=n===""||n==="true",o=a||r&&t&&Rt(t.parentNode);return o},Fi=function(t){var r,i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return i===""||i==="true"},mr=function(t,r,i){if(Rt(t))return[];var n=Array.prototype.slice.apply(t.querySelectorAll(oe));return r&&Ot.call(t,oe)&&n.unshift(t),n=n.filter(i),n},se=function(t,r,i){for(var n=[],a=Array.from(t);a.length;){var o=a.shift();if(!Rt(o,!1))if(o.tagName==="SLOT"){var c=o.assignedElements(),p=c.length?c:o.children,u=se(p,!0,i);i.flatten?n.push.apply(n,u):n.push({scopeParent:o,candidates:u})}else{var g=Ot.call(o,oe);g&&i.filter(o)&&(r||!t.includes(o))&&n.push(o);var y=o.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(o),v=!Rt(y,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o));if(y&&v){var R=se(y===!0?o.children:y.children,!0,i);i.flatten?n.push.apply(n,R):n.push({scopeParent:o,candidates:R})}else a.unshift.apply(a,o.children)}}return n},vr=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},gt=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Fi(t))&&!vr(t)?0:t.tabIndex},Ni=function(t,r){var i=gt(t);return i<0&&r&&!vr(t)?0:i},Di=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},gr=function(t){return t.tagName==="INPUT"},Li=function(t){return gr(t)&&t.type==="hidden"},Ci=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(i){return i.tagName==="SUMMARY"});return r},Ri=function(t,r){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===r)return t[i]},Mi=function(t){if(!t.name)return!0;var r=t.form||ae(t),i=function(c){return r.querySelectorAll('input[type="radio"][name="'+c+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=i(window.CSS.escape(t.name));else try{n=i(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var a=Ri(n,t.form);return!a||a===t},ki=function(t){return gr(t)&&t.type==="radio"},ji=function(t){return ki(t)&&!Mi(t)},zi=function(t){var r,i=t&&ae(t),n=(r=i)===null||r===void 0?void 0:r.host,a=!1;if(i&&i!==t){var o,c,p;for(a=!!((o=n)!==null&&o!==void 0&&(c=o.ownerDocument)!==null&&c!==void 0&&c.contains(n)||t!=null&&(p=t.ownerDocument)!==null&&p!==void 0&&p.contains(t));!a&&n;){var u,g,y;i=ae(n),n=(u=i)===null||u===void 0?void 0:u.host,a=!!((g=n)!==null&&g!==void 0&&(y=g.ownerDocument)!==null&&y!==void 0&&y.contains(n))}}return a},dr=function(t){var r=t.getBoundingClientRect(),i=r.width,n=r.height;return i===0&&n===0},$i=function(t,r){var i=r.displayCheck,n=r.getShadowRoot;if(i==="full-native"&&"checkVisibility"in t){var a=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!a}if(getComputedStyle(t).visibility==="hidden")return!0;var o=Ot.call(t,"details>summary:first-of-type"),c=o?t.parentElement:t;if(Ot.call(c,"details:not([open]) *"))return!0;
vendor: 17,756 bytes, lines 2-3
2if(!i||i==="full"||i==="full-native"||i==="legacy-full"){if(typeof n=="function"){for(var p=t;t;){var u=t.parentElement,g=ae(t);if(u&&!u.shadowRoot&&n(u)===!0)return dr(t);t.assignedSlot?t=t.assignedSlot:!u&&g!==t.ownerDocument?t=g.host:t=u}t=p}if(zi(t))return!t.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return dr(t);return!1},Wi=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var i=0;i<r.children.length;i++){var n=r.children.item(i);if(n.tagName==="LEGEND")return Ot.call(r,"fieldset[disabled] *")?!0:!n.contains(t)}return!0}r=r.parentElement}return!1},le=function(t,r){return!(r.disabled||Rt(r)||Li(r)||$i(r,t)||Ci(r)||Wi(r))},Le=function(t,r){return!(ji(r)||gt(r)<0||!le(t,r))},Bi=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},yr=function(t){var r=[],i=[];return t.forEach(function(n,a){var o=!!n.scopeParent,c=o?n.scopeParent:n,p=Ni(c,o),u=o?yr(n.candidates):c;p===0?o?r.push.apply(r,u):r.push(c):i.push({documentOrder:a,tabIndex:p,item:n,isScope:o,content:u})}),i.sort(Di).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(r)},br=function(t,r){r=r||{};var i;return r.getShadowRoot?i=se([t],r.includeContainer,{filter:Le.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Bi}):i=mr(t,r.includeContainer,Le.bind(null,r)),yr(i)},wr=function(t,r){r=r||{};var i;return r.getShadowRoot?i=se([t],r.includeContainer,{filter:le.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):i=mr(t,r.includeContainer,le.bind(null,r)),i},Tt=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return Ot.call(t,oe)===!1?!1:Le(r,t)},Vi=hr.concat("iframe").join(","),ce=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return Ot.call(t,Vi)===!1?!1:le(r,t)};function Ce(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function Hi(e){if(Array.isArray(e))return Ce(e)}function Ki(e,t,r){return(t=Xi(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gi(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Er(Object(r),!0).forEach(function(i){Ki(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function qi(e){return Hi(e)||Ui(e)||Yi(e)||Gi()}function Zi(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xi(e){var t=Zi(e,"string");return typeof t=="symbol"?t:t+""}function Yi(e,t){if(e){if(typeof e=="string")return Ce(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ce(e,t):void 0}}var Sr={activateTrap:function(t,r){if(t.length>0){var i=t[t.length-1];i!==r&&i._setPausedState(!0)}var n=t.indexOf(r);n===-1||t.splice(n,1),t.push(r)},deactivateTrap:function(t,r){var i=t.indexOf(r);i!==-1&&t.splice(i,1),t.length>0&&!t[t.length-1]._isManuallyPaused()&&t[t.length-1]._setPausedState(!1)}},Qi=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Ji=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},kt=function(t){return t?.key==="Tab"||t?.keyCode===9},tn=function(t){return kt(t)&&!t.shiftKey},en=function(t){return kt(t)&&t.shiftKey},Or=function(t){return setTimeout(t,0)},Mt=function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return typeof t=="function"?t.apply(void 0,i):t},ue=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},rn=[],nn=function(t,r){var i=r?.document||document,n=r?.trapStack||rn,a=xr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:tn,isKeyBackward:en},r),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},c,p=function(s,f,m){return s&&s[f]!==void 0?s[f]:a[m||f]},u=function(s,f){var m=typeof f?.composedPath=="function"?f.composedPath():void 0;return o.containerGroups.findIndex(function(T){var _=T.container,P=T.tabbableNodes;return _.contains(s)||m?.includes(_)||P.find(function(x){return x===s})})},g=function(s){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=f.hasFallback,T=m===void 0?!1:m,_=f.params,P=_===void 0?[]:_,x=a[s];if(typeof x=="function"&&(x=x.apply(void 0,qi(P))),x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var $=x;if(typeof x=="string"){try{$=i.querySelector(x)}catch(W){throw new Error("`".concat(s,'` appears to be an invalid selector; error="').concat(W.message,'"'))}if(!$&&!T)throw new Error("`".concat(s,"` as selector refers to no known node"))}return $},y=function(){var s=g("initialFocus",{hasFallback:!0});if(s===!1)return!1;if(s===void 0||s&&!ce(s,a.tabbableOptions))if(u(i.activeElement)>=0)s=i.activeElement;else{var f=o.tabbableGroups[0],m=f&&f.firstTabbableNode;s=m||g("fallbackFocus")}else s===null&&(s=g("fallbackFocus"));if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},v=function(){if(o.containerGroups=o.containers.map(function(s){var f=br(s,a.tabbableOptions),m=wr(s,a.tabbableOptions),T=f.length>0?f[0]:void 0,_=f.length>0?f[f.length-1]:void 0,P=m.find(function(W){return Tt(W)}),x=m.slice().reverse().find(function(W){return Tt(W)}),$=!!f.find(function(W){return gt(W)>0});return{container:s,tabbableNodes:f,focusableNodes:m,posTabIndexesFound:$,firstTabbableNode:T,lastTabbableNode:_,firstDomTabbableNode:P,lastDomTabbableNode:x,nextTabbableNode:function(at){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,rt=f.indexOf(at);return rt<0?ct?m.slice(m.indexOf(at)+1).find(function(ht){return Tt(ht)}):m.slice(0,m.indexOf(at)).reverse().find(function(ht){return Tt(ht)}):f[rt+(ct?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(s){return s.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},R=function(s){var f=s.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?R(f.shadowRoot):f},I=function(s){if(s!==!1&&s!==R(document)){if(!s||!s.focus){I(y());return}s.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=s,Qi(s)&&s.select()}},k=function(s){var f=g("setReturnFocus",{params:[s]});return f||(f===!1?!1:s)},j=function(s){var f=s.target,m=s.event,T=s.isBackward,_=T===void 0?!1:T;f=f||ue(m),v();var P=null;if(o.tabbableGroups.length>0){var x=u(f,m),$=x>=0?o.containerGroups[x]:void 0;if(x<0)_?P=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:P=o.tabbableGroups[0].firstTabbableNode;else if(_){var W=o.tabbableGroups.findIndex(function(Ft){var Ct=Ft.firstTabbableNode;return f===Ct});if(W<0&&($.container===f||ce(f,a.tabbableOptions)&&!Tt(f,a.tabbableOptions)&&!$.nextTabbableNode(f,!1))&&(W=x),W>=0){var at=W===0?o.tabbableGroups.length-1:W-1,ct=o.tabbableGroups[at];P=gt(f)>=0?ct.lastTabbableNode:ct.lastDomTabbableNode}else kt(m)||(P=$.nextTabbableNode(f,!1))}else{var rt=o.tabbableGroups.findIndex(function(Ft){var Ct=Ft.lastTabbableNode;return f===Ct});if(rt<0&&($.container===f||ce(f,a.tabbableOptions)&&!Tt(f,a.tabbableOptions)&&!$.nextTabbableNode(f))&&(rt=x),rt>=0){var ht=rt===o.tabbableGroups.length-1?0:rt+1,pt=o.tabbableGroups[ht];P=gt(f)>=0?pt.firstTabbableNode:pt.firstDomTabbableNode}else kt(m)||(P=$.nextTabbableNode(f))}}else P=g("fallbackFocus");return P},M=function(s){var f=ue(s);if(!(u(f,s)>=0)){if(Mt(a.clickOutsideDeactivates,s)){c.deactivate({returnFocus:a.returnFocusOnDeactivate});return}Mt(a.allowOutsideClick,s)||s.preventDefault()}},D=function(s){var f=ue(s),m=u(f,s)>=0;if(m||f instanceof Document)m&&(o.mostRecentlyFocusedNode=f);else{s.stopImmediatePropagation();var T,_=!0;if(o.mostRecentlyFocusedNode)if(gt(o.mostRecentlyFocusedNode)>0){var P=u(o.mostRecentlyFocusedNode),x=o.containerGroups[P].tabbableNodes;if(x.length>0){var $=x.findIndex(function(W){return W===o.mostRecentlyFocusedNode});$>=0&&(a.isKeyForward(o.recentNavEvent)?$+1<x.length&&(T=x[$+1],_=!1):$-1>=0&&(T=x[$-1],_=!1))}}else o.containerGroups.some(function(W){return W.tabbableNodes.some(function(at){return gt(at)>0})})||(_=!1);else _=!1;_&&(T=j({target:o.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(o.recentNavEvent)})),I(T||o.mostRecentlyFocusedNode||y())}o.recentNavEvent=void 0},L=function(s){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=s;var m=j({event:s,isBackward:f});m&&(kt(s)&&s.preventDefault(),I(m))},z=function(s){(a.isKeyForward(s)||a.isKeyBackward(s))&&L(s,a.isKeyBackward(s))},V=function(s){Ji(s)&&Mt(a.escapeDeactivates,s)!==!1&&(s.preventDefault(),c.deactivate())},K=function(s){var f=ue(s);u(f,s)>=0||Mt(a.clickOutsideDeactivates,s)||Mt(a.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},Y=function(){if(o.active)return Sr.activateTrap(n,c),o.delayInitialFocusTimer=a.delayInitialFocus?Or(function(){I(y())}):I(y()),i.addEventListener("focusin",D,!0),i.addEventListener("mousedown",M,{capture:!0,passive:!1}),i.addEventListener("touchstart",M,{capture:!0,passive:!1}),i.addEventListener("click",K,{capture:!0,passive:!1}),i.addEventListener("keydown",z,{capture:!0,passive:!1}),i.addEventListener("keydown",V),c},U=function(){if(o.active)return i.removeEventListener("focusin",D,!0),i.removeEventListener("mousedown",M,!0),i.removeEventListener("touchstart",M,!0),i.removeEventListener("click",K,!0),i.removeEventListener("keydown",z,!0),i.removeEventListener("keydown",V),c},C=function(s){var f=s.some(function(m){var T=Array.from(m.removedNodes);return T.some(function(_){return _===o.mostRecentlyFocusedNode})});f&&I(y())},et=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(C):void 0,A=function(){et&&(et.disconnect(),o.active&&!o.paused&&o.containers.map(function(s){et.observe(s,{subtree:!0,childList:!0})}))};return c={get active(){return o.active},get paused(){return o.paused},activate:function(s){if(o.active)return this;var f=p(s,"onActivate"),m=p(s,"onPostActivate"),T=p(s,"checkCanFocusTrap");T||v(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=R(i),f?.();var _=function(){T&&v(),Y(),A(),m?.()};return T?(T(o.containers.concat()).then(_,_),this):(_(),this)},deactivate:function(s){if(!o.active)return this;var f=xr({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},s);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,U(),o.active=!1,o.paused=!1,A(),Sr.deactivateTrap(n,c);var m=p(f,"onDeactivate"),T=p(f,"onPostDeactivate"),_=p(f,"checkCanReturnFocus"),P=p(f,"returnFocus","returnFocusOnDeactivate");m?.();var x=function(){Or(function(){P&&I(k(o.nodeFocusedBeforeActivation)),T?.()})};return P&&_?(_(k(o.nodeFocusedBeforeActivation)).then(x,x),this):(x(),this)},pause:function(s){return o.active?(o.manuallyPaused=!0,this._setPausedState(!0,s)):this},unpause:function(s){return o.active?(o.manuallyPaused=!1,n[n.length-1]!==this?this:this._setPausedState(!1,s)):this},updateContainerElements:function(s){var f=[].concat(s).filter(Boolean);return o.containers=f.map(function(m){return typeof m=="string"?i.querySelector(m):m}),o.active&&v(),A(),this}},Object.defineProperties(c,{_isManuallyPaused:{value:function(){return o.manuallyPaused}},_setPausedState:{value:function(s,f){if(o.paused===s)return this;if(o.paused=s,s){var m=p(f,"onPause"),T=p(f,"onPostPause");m?.(),U(),A(),T?.()}else{var _=p(f,"onUnpause"),P=p(f,"onPostUnpause");_?.(),v(),Y(),A(),P?.()}return this}}}),c.updateContainerElements(t),c};var Cl=Pi(_r());function Re(e,t){e.indexOf(t)===-1&&e.push(t)}function Me(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var jt=(e,t,r)=>Math.min(Math.max(r,e),t);var H={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"};var J=e=>typeof e=="number";var lt=e=>Array.isArray(e)&&!J(e[0]);var Ar=(e,t,r)=>{let i=t-e;return((r-e)%i+i)%i+e};function zt(e,t){return lt(e)?e[Ar(0,e.length,t)]:e}var _t=(e,t,r)=>-r*e+r*t+e;var $t=()=>{},X=e=>e;var ot=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function Dt(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=ot(0,t,i);e.push(_t(r,1,n))}}function At(e){let t=[0];return Dt(t,e-1),t}function Wt(e,t=At(e.length),r=X){let i=e.length,n=i-t.length;return n>0&&Dt(t,n),a=>{let o=0;for(;o<i-2&&!(a<t[o+1]);o++);let c=jt(0,1,ot(t[o],t[o+1],a));return c=zt(r,o)(c),_t(e[o],e[o+1],c)}}var Bt=e=>Array.isArray(e)&&J(e[0]);var yt=e=>typeof e=="object"&&!!e.createAnimation;var Z=e=>typeof e=="function";var ut=e=>typeof e=="string";var bt={ms:e=>e*1e3,s:e=>e/1e3};function ke(e,t){return t?e*(1e3/t):0}var Ir=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,on=1e-7,an=12;function sn(e,t,r,i,n){let a,o,c=0;do o=t+(r-t)/2,a=Ir(o,i,n)-e,a>0?r=o:t=o;while(Math.abs(a)>on&&++c<an);return o}function It(e,t,r,i){if(e===t&&r===i)return X;let n=a=>sn(a,0,1,e,r);return a=>a===0||a===1?a:Ir(n(a),t,i)}var je=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);let i=r*e,n=t==="end"?Math.floor(i):Math.ceil(i);return jt(0,1,n/e)};var ln={ease:It(.25,.1,.25,1),"ease-in":It(.42,0,1,1),"ease-in-out":It(.42,0,.58,1),"ease-out":It(0,0,.58,1)},cn=/\((.*?)\)/;function Lt(e){if(Z(e))return e;if(Bt(e))return It(...e);let t=ln[e];if(t)return t;if(e.startsWith("steps")){let r=cn.exec(e);if(r){let i=r[1].split(",");return je(parseFloat(i[0]),i[1].trim())}}return X}var ft=class{constructor(t,r=[0,1],{easing:i,duration:n=H.duration,delay:a=H.delay,endDelay:o=H.endDelay,repeat:c=H.repeat,offset:p,direction:u="normal",autoplay:g=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=X,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((v,R)=>{this.resolve=v,this.reject=R}),i=i||H.easing,yt(i)){let v=i.createAnimation(r);i=v.easing,r=v.keyframes||r,n=v.duration||n}this.repeat=c,this.easing=lt(i)?X:Lt(i),this.updateDuration(n);let y=Wt(r,p,lt(i)?i.map(Lt):X);this.tick=v=>{var R;a=a;let I=0;this.pauseTime!==void 0?I=this.pauseTime:I=(v-this.startTime)*this.rate,this.t=I,I/=1e3,I=Math.max(I-a,0),this.playState==="finished"&&this.pauseTime===void 0&&(I=this.totalDuration);let k=I/this.duration,j=Math.floor(k),M=k%1;!M&&k>=1&&(M=1),M===1&&j--;let D=j%2;(u==="reverse"||u==="alternate"&&D||u==="alternate-reverse"&&!D)&&(M=1-M);let L=I>=this.totalDuration?1:Math.min(M,1),z=y(this.easing(L));t(z),this.pauseTime===void 0&&(this.playState==="finished"||I>=this.totalDuration+o)?(this.playState="finished",(R=this.resolve)===null||R===void 0||R.call(this,z)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},g&&this.play()}play(){let t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}};var Vt=function(){};var Ht=class{setAnimation(t){this.animation=t,t?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}};var ze=new WeakMap;function fe(e){return ze.has(e)||ze.set(e,{transforms:[],values:new Map}),ze.get(e)}function Pr(e,t){return e.has(t)||e.set(t,new Ht),e.get(t)}var un=["","X","Y","Z"],fn=["translate","scale","rotate","skew"],Kt={x:"translateX",y:"translateY",z:"translateZ"},Fr={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},dn={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:Fr,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:X},skew:Fr}
vendor: 4,385 bytes, line 3
3,wt=new Map,he=e=>`--motion-${e}`,de=["x","y","z"];fn.forEach(e=>{un.forEach(t=>{de.push(e+t),wt.set(he(e+t),dn[e])})});var hn=(e,t)=>de.indexOf(e)-de.indexOf(t),pn=new Set(de),pe=e=>pn.has(e),Nr=(e,t)=>{Kt[t]&&(t=Kt[t]);let{transforms:r}=fe(e);Re(r,t),e.style.transform=mn(r)},mn=e=>e.sort(hn).reduce(vn,"").trim(),vn=(e,t)=>`${e} ${t}(var(${he(t)}))`;var Ut=e=>e.startsWith("--"),Dr=new Set;function Lr(e){if(!Dr.has(e)){Dr.add(e);try{let{syntax:t,initialValue:r}=wt.has(e)?wt.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}var $e=(e,t)=>document.createElement("div").animate(e,t),Cr={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{$e({opacity:[1]})}catch{return!1}return!0},finished:()=>!!$e({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{$e({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},We={},Et={};for(let e in Cr)Et[e]=()=>(We[e]===void 0&&(We[e]=Cr[e]()),We[e]);var gn=.015,yn=(e,t)=>{let r="",i=Math.round(t/gn);for(let n=0;n<i;n++)r+=e(ot(0,i-1,n))+", ";return r.substring(0,r.length-2)},Be=(e,t)=>Z(e)?Et.linearEasing()?`linear(${yn(e,t)})`:H.easing:Bt(e)?bn(e):e,bn=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`;function Rr(e,t){for(let r=0;r<e.length;r++)e[r]===null&&(e[r]=r?e[r-1]:t());return e}var me=e=>Array.isArray(e)?e:[e];function Gt(e){return Kt[e]&&(e=Kt[e]),pe(e)?he(e):e}var qt={get:(e,t)=>{t=Gt(t);let r=Ut(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){let i=wt.get(t);i&&(r=i.initialValue)}return r},set:(e,t,r)=>{t=Gt(t),Ut(t)?e.style.setProperty(t,r):e.style[t]=r}};function ve(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function Mr(e,t){var r;let i=t?.toDefaultUnit||X,n=e[e.length-1];if(ut(n)){let a=((r=n.match(/(-?[\d.]+)([a-z%]*)/))===null||r===void 0?void 0:r[2])||"";a&&(i=o=>o+a)}return i}function wn(){return window.__MOTION_DEV_TOOLS_RECORD}function ge(e,t,r,i={},n){let a=wn(),o=i.record!==!1&&a,c,{duration:p=H.duration,delay:u=H.delay,endDelay:g=H.endDelay,repeat:y=H.repeat,easing:v=H.easing,persist:R=!1,direction:I,offset:k,allowWebkitAcceleration:j=!1,autoplay:M=!0}=i,D=fe(e),L=pe(t),z=Et.waapi();L&&Nr(e,t);let V=Gt(t),K=Pr(D.values,V),Y=wt.get(V);return ve(K.animation,!(yt(v)&&K.generator)&&i.record!==!1),()=>{let U=()=>{var A,S;return(S=(A=qt.get(e,V))!==null&&A!==void 0?A:Y?.initialValue)!==null&&S!==void 0?S:0},C=Rr(me(r),U),et=Mr(C,Y);if(yt(v)){let A=v.createAnimation(C,t!=="opacity",U,V,K);v=A.easing,C=A.keyframes||C,p=A.duration||p}if(Ut(V)&&(Et.cssRegisterProperty()?Lr(V):z=!1),L&&!Et.linearEasing()&&(Z(v)||lt(v)&&v.some(Z))&&(z=!1),z){Y&&(C=C.map(s=>J(s)?Y.toDefaultUnit(s):s)),C.length===1&&(!Et.partialKeyframes()||o)&&C.unshift(U());let A={delay:bt.ms(u),duration:bt.ms(p),endDelay:bt.ms(g),easing:lt(v)?void 0:Be(v,p),direction:I,iterations:y+1,fill:"both"};c=e.animate({[V]:C,offset:k,easing:lt(v)?v.map(s=>Be(s,p)):void 0},A),c.finished||(c.finished=new Promise((s,f)=>{c.onfinish=s,c.oncancel=f}));let S=C[C.length-1];c.finished.then(()=>{R||(qt.set(e,V,S),c.cancel())}).catch($t),j||(c.playbackRate=1.000001)}else if(n&&L)C=C.map(A=>typeof A=="string"?parseFloat(A):A),C.length===1&&C.unshift(parseFloat(U())),c=new n(A=>{qt.set(e,V,et?et(A):A)},C,Object.assign(Object.assign({},i),{duration:p,easing:v}));else{let A=C[C.length-1];qt.set(e,V,Y&&J(A)?Y.toDefaultUnit(A):A)}return o&&a(e,t,C,{duration:p,delay:u,easing:v,repeat:y,offset:k},"motion-one"),K.setAnimation(c),c&&!M&&c.pause(),c}}var ye=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function xt(e,t){var r;return typeof e=="string"?t?((r=t[e])!==null&&r!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}var En=e=>e(),Pt=(e,t,r=H.duration)=>new Proxy({animations:e.map(En).filter(Boolean),duration:r,options:t},Sn),xn=e=>e.animations[0],Sn={get:(e,t)=>{let r=xn(e);switch(t){case"duration":return e.duration;case"currentTime":return bt.s(r?.[t]||0);case"playbackRate":case"playState":return r?.[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(On)).catch($t)),e.finished;case"stop":return()=>{e.animations.forEach(i=>
3ve(i))};case"forEachNative":return i=>{e.animations.forEach(n=>i(n,e))};default:return typeof r?.[t]>"u"?void 0:()=>e.animations.forEach(i=>i[t]())}},set:(e,t,r)=>{switch(t){case"currentTime":r=bt.ms(r);case"playbackRate":for(let i=0;i<e.animations.length;i++)e.animations[i][t]=r;return!0}return!1}},On=e=>e.finished;function kr(e=.1,{start:t=0,from:r=0,easing:i}={}){return(n,a)=>{let o=J(r)?r:Tn(r,a),c=Math.abs(o-n),p=e*c;if(i){let u=a*e;p=Lt(i)(p/u)*u}return t+p}}function Tn(e,t){if(e==="first")return 0;{let r=t-1;return e==="last"?r:r/2}}function be(e,t,r){return Z(e)?e(t,r):e}function jr(e){return function(r,i,n={}){r=xt(r);let a=r.length;Vt(!!a,"No valid element provided."),Vt(!!i,"No keyframes defined.");let o=[];for(let c=0;c<a;c++){let p=r[c];for(let u in i){let g=ye(n,u);g.delay=be(g.delay,c,a);let y=ge(p,u,i[u],g,e);o.push(y)}}return Pt(o,n,n.duration)}}var Ve=jr(ft);function we(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function He(e,t,r,i){var n;return J(t)?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?r:(n=i.get(t))!==null&&n!==void 0?n:e}function _n(e,t,r){for(let i=0;i<e.length;i++){let n=e[i];n.at>t&&n.at<r&&(Me(e,n),i--)}}function zr(e,t,r,i,n,a){_n(e,n,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:_t(n,a,i[o]),easing:zt(r,o)})}function $r(e,t){return e.at===t.at?e.value===null?1:-1:e.at-t.at}function Wr(e,t={}){var r;let i=An(e,t),n=i.map(a=>ge(...a,ft)).filter(Boolean);return Pt(n,t,(r=i[0])===null||r===void 0?void 0:r[3].duration)}function An(e,t={}){var{defaultOptions:r={}}=t,i=we(t,["defaultOptions"]);let n=[],a=new Map,o={},c=new Map,p=0,u=0,g=0;for(let y=0;y<e.length;y++){let v=e[y];if(ut(v)){c.set(v,u);continue}else if(!Array.isArray(v)){c.set(v.name,He(u,v.at,p,c));continue}let[R,I,k={}]=v;k.at!==void 0&&(u=He(u,k.at,p,c));let j=0,M=xt(R,o),D=M.length;for(let L=0;L<D;L++){let z=M[L],V=In(z,a);for(let K in I){let Y=Pn(K,V),U=me(I[K]),C=ye(k,K),{duration:et=r.duration||H.duration,easing:A=r.easing||H.easing}=C;if(yt(A)){Vt(K==="opacity"||U.length>1,"spring must be provided 2 keyframes within timeline()");let _=A.createAnimation(U,K!=="opacity",()=>0,K);A=_.easing,U=_.keyframes||U,et=_.duration||et}let S=be(k.delay,L,D)||0,s=u+S,f=s+et,{offset:m=At(U.length)}=C;m.length===1&&m[0]===0&&(m[1]=1);let T=m.length-U.length;T>0&&Dt(m,T),U.length===1&&U.unshift(null),zr(Y,U,A,m,s,f),j=Math.max(S+et,j),g=Math.max(f,g)}}p=u,u+=j}return a.forEach((y,v)=>{for(let R in y){let I=y[R];I.sort($r);let k=[],j=[],M=[];for(let D=0;D<I.length;D++){let{at:L,value:z,easing:V}=I[D];k.push(z),j.push(ot(0,g,L)),M.push(V||H.easing)}j[0]!==0&&(j.unshift(0),k.unshift(k[0]),M.unshift("linear")),j[j.length-1]!==1&&(j.push(1),k.push(null)),n.push([v,R,k,Object.assign(Object.assign(Object.assign({},r),{duration:g,easing:M,offset:j}),i)])}}),n}function In(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Pn(e,t){return t[e]||(t[e]=[]),t[e]}var Fn={any:0,all:1};function Br(e,t,{root:r,margin:i,amount:n="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let a=xt(e),o=new WeakMap,c=u=>{u.forEach(g=>{let y=o.get(g.target);if(g.isIntersecting!==!!y)if(g.isIntersecting){let v=t(g);Z(v)?o.set(g.target,v):p.unobserve(g.target)}else y&&(y(g),o.delete(g.target))})},p=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:typeof n=="number"?n:Fn[n]});return a.forEach(u=>p.observe(u)),()=>p.disconnect()}var Ee=new WeakMap,St;function Nn(e,t){if(t){let{inlineSize:r,blockSize:i}=t[0];return{width:r,height:i}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function Dn({target:e,contentRect:t,borderBoxSize:r}){var i;(i=Ee.get(e))===null||i===void 0||i.forEach(n=>{n({target:e,contentSize:t,get size(){return Nn(e,r)}})})}function Ln(e){e.forEach(Dn)}function Cn(){typeof ResizeObserver>"u"||(St=new ResizeObserver(Ln))}function Vr(e,t){St||Cn();let r=xt(e);return r.forEach(i=>
3{let n=Ee.get(i);n||(n=new Set,Ee.set(i,n)),n.add(t),St?.observe(i)}),()=>{r.forEach(i=>{let n=Ee.get(i);n?.delete(t),n?.size||St?.unobserve(i)})}}var xe=new Set,Zt;function Rn(){Zt=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};xe.forEach(r=>r(t))},window.addEventListener("resize",Zt)}function Hr(e){return xe.add(e),Zt||Rn(),()=>{xe.delete(e),!xe.size&&Zt&&(Zt=void 0)}}function Kr(e,t){return Z(e)?Hr(e):Vr(e,t)}var Mn=50,Ur=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),qr=()=>({time:0,x:Ur(),y:Ur()}),kn={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Gr(e,t,r,i){let n=r[t],{length:a,position:o}=kn[t],c=n.current,p=r.time;n.current=e[`scroll${o}`],n.scrollLength=e[`scroll${a}`]-e[`client${a}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=ot(0,n.scrollLength,n.current);let u=i-p;n.velocity=u>Mn?0:ke(n.current-c,u)}function Zr(e,t,r){Gr(e,"x",t,r),Gr(e,"y",t,r),t.time=r}function Xr(e,t){let r={x:0,y:0},i=e;for(;i&&i!==t;)if(i instanceof HTMLElement)r.x+=i.offsetLeft,r.y+=i.offsetTop,i=i.offsetParent;else if(i instanceof SVGGraphicsElement&&"getBBox"in i){let{top:n,left:a}=i.getBBox();for(r.x+=a,r.y+=n;i&&i.tagName!=="svg";)i=i.parentNode}return r}var Se={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var Oe={start:0,center:.5,end:1};function Ke(e,t,r=0){let i=0;if(Oe[e]!==void 0&&(e=Oe[e]),ut(e)){let n=parseFloat(e);e.endsWith("px")?i=n:e.endsWith("%")?e=n/100:e.endsWith("vw")?i=n/100*document.documentElement.clientWidth:e.endsWith("vh")?i=n/100*document.documentElement.clientHeight:e=n}return J(e)&&(i=t*e),r+i}var jn=[0,0];function Yr(e,t,r,i){let n=Array.isArray(e)?e:jn,a=0,o=0;return J(e)?n=[e,e]:ut(e)&&(e=e.trim(),e.includes(" ")?n=e.split(" "):n=[e,Oe[e]?e:"0"]),a=Ke(n[0],r,i),o=Ke(n[1],t),a-o}var zn={x:0,y:0};function Qr(e,t,r){let{offset:i=Se.All}=r,{target:n=e,axis:a="y"}=r,o=a==="y"?"height":"width",c=n!==e?Xr(n,e):zn,p=n===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:n.clientWidth,height:n.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let g=!t[a].interpolate,y=i.length;for(let v=0;v<y;v++){let R=Yr(i[v],u[o],p[o],c[a]);!g&&R!==t[a].interpolatorOffsets[v]&&(g=!0),t[a].offset[v]=R}g&&(t[a].interpolate=Wt(At(y),t[a].offset),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=t[a].interpolate(t[a].current)}function $n(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let i=t;for(;i&&i!=e;)r.x.targetOffset+=i.offsetLeft,r.y.targetOffset+=i.offsetTop,i=i.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}function Jr(e,t,r,i={}){let n=i.axis||"y";return{measure:()=>$n(e,i.target,r),update:a=>{Zr(e,r,a),(i.offset||i.target)&&Qr(e,r,i)},notify:Z(t)?()=>t(r):Wn(t,r[n])}}function Wn(e,t){return e.pause(),e.forEachNative((r,{easing:i})=>{var n,a;if(r.updateDuration)i||(r.easing=X),r.updateDuration(1);else{let o={duration:1e3};i||(o.easing="linear"),(a=(n=r.effect)===null||n===void 0?void 0:n.updateTiming)===null||a===void 0||a.call(n,o)}}),()=>{e.currentTime=t.progress}}var Xt=new WeakMap,ti=new WeakMap,Ue=new WeakMap,ei=e=>e===document.documentElement?window:e;function ri(e,t={}){var{container:r=document.documentElement}=t,i=we(t,["container"]);let n=Ue.get(r);n||(n=new Set,Ue.set(r,n));let a=qr(),o=Jr(r,e,a,i);if(n.add(o),!Xt.has(r)){let u=()=>{let y=performance.now();for(let v of n)v.measure();for(let v of n)v.update(y);for(let v of n)v.notify()};Xt.set(r,u);let g=ei(r);window.addEventListener("resize",u,{passive:!0}),r!==document.documentElement&&ti.set(r,Kr(r,u)),g.addEventListener("scroll",u,{passive:!0})}let c=Xt.get(r),p=requestAnimationFrame(c);return()=>{var u;typeof e!="function"&&e.stop(),cancelAnimationFrame(p);let g=Ue.get(r);if(!g||(g.delete(o),g.size))return;let y=Xt.get(r);Xt.delete(r),y&&(ei(r).removeEventListener("scroll",y),(u=ti.get(r))===null||u===void 0||u(),window.removeEventListener("resize",y))}}function Bn(e,t={}){return Pt([()=>{let r=new ft(e,[0,1],t);return r.finished.catch(()=>{}),r}],t,t.duration)}function ii(e,t,r){return(Z(e)?Bn:Ve)(e,t,r)}function dt(e){this.listenerMap=[{},{}],e&&this.root(e),this.handle=dt.prototype.handle.bind(this),this._removedListeners=[]}dt.prototype.root=function(e){let t=this.listenerMap,r;if(this.rootElement){for(r in t[1])t[1].hasOwnProperty(r)&&this.rootElement.removeEventListener(r,this.handle,!0);for(r in t[0])t[0].hasOwnProperty(r)&&this.rootElement.removeEventListener(r,this.handle,!1)}if(!e||!e.addEventListener)return this.rootElement&&delete this.rootElement,this;this.rootElement=e;for(r in t[1])t[1].hasOwnProperty(r)&&this.rootElement.addEventListener(r,this.handle,!0);for(r in t[0])t[0].hasOwnProperty(r)&&this.rootElement.addEventListener(r,this.handle,!1);return this};dt.prototype.captureForType=function(e){return["blur","error","focus","load","resize","scroll"].indexOf(e)!==-1};dt.prototype.on=function(e,t,r,i){let n,a,o,c;if(!e)throw new TypeError("Invalid event type: "+e);if(typeof t=="function"&&(i=r,r=t,t=null),i===void 0&&(i=this.captureForType(e)),typeof r!="function")throw new TypeError("Handler must be a type of Function");return n=this.rootElement,a=this.listenerMap[i?1:0],a[e]||(n&&n.addEventListener(e,this.handle,i),a[e]=[]),t?/^[a-z]+$/i.test(t)?(c=t,o=Vn):/^#[a-z0-9\-_]+$/i.test(t)?(c=t.slice(1),o=Kn):(c=t,o=Element.prototype.matches):(c=null,o=Hn.bind(this)),a[e].push({selector:t,handler:r,matcher:o,matcherParam:c}),this};dt.prototype.off=function(e,t,r,i){let n,a,o,c,p;if(typeof t=="function"&&(i=r,r=t,t=null),i===void 0)return this.off(e,t,r,!0),this.off(e,t,r,!1),this;if(o=this.listenerMap[i?1:0],!e){for(p in o)o.hasOwnProperty(p)&&this.off(p,t,r);return this}if(c=o[e],!c||!c.length)return this;for(n=c.length-1;n>=0;n--)a=c[n],(!t||t===a.selector)&&(!r||r===a.handler)&&(this._removedListeners.push(a),c.splice(n,1));return c.length||(delete o[e],this.rootElement&&this.rootElement.removeEventListener(e,this.handle,i)),this};dt.prototype.handle=function(e){let t,r,i=e.type,n,a,o,c,p=[],u,g="ftLabsDelegateIgnore";if(e[g]===!0)return;switch(u=e.target,u.nodeType===3&&(u=u.parentNode),u.correspondingUseElement&&(u=u.correspondingUseElement),n=this.rootElement,a=e.eventPhase||(e.target!==e.currentTarget?3:2),a){case 1:p=this.listenerMap[1][i];break;case 2:this.listenerMap[0]&&this.listenerMap[0][i]&&(p=p.concat(this.listenerMap[0][i])),this.listenerMap[1]&&this.listenerMap[1][i]&&(p=p.concat(this.listenerMap[1][i]));break;case 3:p=this.listenerMap[0][i];break}let y=[];for(r=p.length;u&&r;){for(t=0;t<r&&(o=p[t],!!o);t++)u.tagName&&["button","input","select","textarea"].indexOf(u.tagName.toLowerCase())>-1&&u.hasAttribute("disabled")?y=[]:o.matcher.call(u,o.matcherParam,u)&&y.push([e,u,o]);if(u===n||(r=p.length,u=u.parentElement||u.parentNode,u instanceof HTMLDocument))break}let v;for(t=0;t<y.length;t++)if(!(this._removedListeners.indexOf(y[t][2])>-1)&&(c=this.fire.apply(this,y[t]),c===!1)){y[t][0][g]=!0,y[t][0].preventDefault(),v=!1;break}return v};dt.prototype.fire=function(e,t,r){return r.handler.call(t,e,t)};function Vn(e,t){return e.toLowerCase()===t.tagName.toLowerCase()}function Hn(e,t){return this.rootElement===window?t===document||t===document.documentElement||t===window:this.rootElement===t}function Kn(e,t){return e===t.id}dt.prototype.destroy=function(){this.off(),this.root()};var Un=dt;function Yt(e,t,r){let i=document.createElement(t);return e&&(i.className=e),r&&r.appendChild(i),i}function Gn(e,t,r){let i=`translate3d(${e}px,${t||0}px,0)`;return r!==void 0&&(i+=` scale3d(${r},${r},1)`),i}function Ge(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}
vendor: 13,243 bytes, line 3
3var nt={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function qn(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function Qt(e,t,r=document){let i=[];if(e instanceof Element)i=[e];else if(e instanceof NodeList||Array.isArray(e))i=Array.from(e);else{let n=typeof e=="string"?e:t;n&&(i=Array.from(r.querySelectorAll(n)))}return i}function Zn(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function ni(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}var qe=class{constructor(t,r){this.type=t,this.defaultPrevented=!1,r&&Object.assign(this,r)}preventDefault(){this.defaultPrevented=!0}},Ze=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,r,i=100){var n,a,o;this._filters[t]||(this._filters[t]=[]),(n=this._filters[t])===null||n===void 0||n.push({fn:r,priority:i}),(a=this._filters[t])===null||a===void 0||a.sort((c,p)=>c.priority-p.priority),(o=this.pswp)===null||o===void 0||o.addFilter(t,r,i)}removeFilter(t,r){this._filters[t]&&(this._filters[t]=this._filters[t].filter(i=>i.fn!==r)),this.pswp&&this.pswp.removeFilter(t,r)}applyFilters(t,...r){var i;return(i=this._filters[t])===null||i===void 0||i.forEach(n=>{r[0]=n.fn.apply(this,r)}),r[0]}on(t,r){var i,n;this._listeners[t]||(this._listeners[t]=[]),(i=this._listeners[t])===null||i===void 0||i.push(r),(n=this.pswp)===null||n===void 0||n.on(t,r)}off(t,r){var i;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(n=>r!==n)),(i=this.pswp)===null||i===void 0||i.off(t,r)}dispatch(t,r){var i;if(this.pswp)return this.pswp.dispatch(t,r);let n=new qe(t,r);return(i=this._listeners[t])===null||i===void 0||i.forEach(a=>{a.call(this,n)}),n}},Xe=class{constructor(t,r){if(this.element=Yt("pswp__img pswp__img--placeholder",t?"img":"div",r),t){let i=this.element;i.decoding="async",i.alt="",i.src=t,i.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,r){this.element&&(this.element.tagName==="IMG"?(Ge(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=Gn(0,0,t/250)):Ge(this.element,t,r))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}},Ye=class{constructor(t,r,i){this.instance=r,this.data=t,this.index=i,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=nt.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,r){if(this.slide&&this.usePlaceholder())if(this.placeholder){let i=this.placeholder.element;i&&!i.parentElement&&this.slide.container.prepend(i)}else{let i=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new Xe(i,this.slide.container)}this.element&&!r||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=Yt("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=Yt("pswp__content","div"),this.element.innerHTML=this.data.html||""),r&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var r,i;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;let n=this.element;this.updateSrcsetSizes(),this.data.srcset&&(n.srcset=this.data.srcset),n.src=(r=this.data.src)!==null&&r!==void 0?r:"",n.alt=(i=this.data.alt)!==null&&i!==void 0?i:"",this.state=nt.LOADING,n.complete?this.onLoaded():(n.onload=()=>{this.onLoaded()},n.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=nt.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===nt.LOADED||this.state===nt.ERROR)&&this.removePlaceholder())}onError(){this.state=nt.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===nt.LOADING,this)}isError(){return this.state===nt.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,r){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,r),!this.instance.dispatch("contentResize",{content:this,width:t,height:r}).defaultPrevented&&(Ge(this.element,t,r),this.isImageContent()&&!this.isError()))){let i=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=r,i?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:r,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==nt.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let t=this.element,r=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||r>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=r+"px",t.dataset.largestUsedSize=String(r))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,r;let i=Yt("pswp__error-msg","div");i.innerText=(t=(r=this.instance.options)===null||r===void 0?void 0:r.errorMsg)!==null&&t!==void 0?t:"",i=this.instance.applyFilters("contentErrorElement",i,this),this.element=Yt("pswp__content pswp__error-msg-container","div"),this.element.appendChild(i),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===nt.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;let t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||ni())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!ni()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===nt.LOADED||this.state===nt.ERROR)&&this.removePlaceholder()))}};function Xn(e,t){if(e.getViewportSizeFn){let r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function Te(e,t,r,i,n){let a=0;if(t.paddingFn)a=t.paddingFn(r,i,n)[e];else if(t.padding)a=t.padding[e];else{let o="padding"+e[0].toUpperCase()+e.slice(1);t[o]&&(a=t[o])}return Number(a)||0}function Yn(e,t,r,i){return{x:t.x-Te("left",e,t,r,i)-Te("right",e,t,r,i),y:t.y-Te("top",e,t,r,i)-Te("bottom",e,t,r,i)}}var oi=4e3,Qe=class{constructor(t,r,i,n){this.pswp=n,this.options=t,this.itemData=r,this.index=i,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,r,i){let n={x:t,y:r};this.elementSize=n,this.panAreaSize=i;let a=i.x/n.x,o=i.y/n.y;this.fit=Math.min(1,a<o?a:o),this.fill=Math.min(1,a>o?a:o),this.vFill=Math.min(1,o),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){let r=t+"ZoomLevel",i=this.options[r];if(i)return typeof i=="function"?i(this):i==="fill"?this.fill:i==="fit"?this.fit:Number(i)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>oi&&(t=oi/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function ai(e,t,r){let i=t.createContentFromData(e,r),n,{options:a}=t;if(a){n=new Qe(a,e,-1);let o;t.pswp?o=t.pswp.viewportSize:o=Xn(a,t);let c=Yn(a,o,e,r);n.update(i.width,i.height,c)}return i.lazyLoad(),n&&i.setDisplayedSize(Math.ceil(i.width*n.initial),Math.ceil(i.height*n.initial)),i}function Qn(e,t){let r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return ai(r,t,e)}var Je=class extends Ze{getNumItems(){var t;let r=0,i=(t=this.options)===null||t===void 0?void 0:t.dataSource;i&&"length"in i?r=i.length:i&&"gallery"in i&&(i.items||(i.items=this._getGalleryDOMElements(i.gallery)),i.items&&(r=i.items.length));let n=this.dispatch("numItems",{dataSource:i,numItems:r});return this.applyFilters("numItems",n.numItems,i)}createContentFromData(t,r){return new Ye(t,this,r)}getItemData(t){var r;let i=(r=this.options)===null||r===void 0?void 0:r.dataSource,n={};Array.isArray(i)?n=i[t]:i&&"gallery"in i&&(i.items||(i.items=this._getGalleryDOMElements(i.gallery)),n=i.items[t]);let a=n;a instanceof Element&&(a=this._domElementToItemData(a));let o=this.dispatch("itemData",{itemData:a||{},index:t});return this.applyFilters("itemData",o.itemData,t)}_getGalleryDOMElements(t){var r,i;return(r=this.options)!==null&&r!==void 0&&r.children||(i=this.options)!==null&&i!==void 0&&i.childSelector?Qt(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){let r={element:t},i=t.tagName==="A"?t:t.querySelector("a");if(i){r.src=i.dataset.pswpSrc||i.href,i.dataset.pswpSrcset&&(r.srcset=i.dataset.pswpSrcset),r.width=i.dataset.pswpWidth?parseInt(i.dataset.pswpWidth,10):0,r.height=i.dataset.pswpHeight?parseInt(i.dataset.pswpHeight,10):0,r.w=r.width,r.h=r.height,i.dataset.pswpType&&(r.type=i.dataset.pswpType);let a=t.querySelector("img");if(a){var n;r.msrc=a.currentSrc||a.src,r.alt=(n=a.getAttribute("alt"))!==null&&n!==void 0?n:""}(i.dataset.pswpCropped||i.dataset.cropped)&&(r.thumbCropped=!0)}return this.applyFilters("domItemData",r,t,i)}lazyLoadData(t,r){return ai(t,this,r)}},tr=class extends Je{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){Qt(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(qn(t)||window.pswp)return;let r={x:t.clientX,y:t.clientY};!r.x&&!r.y&&(r=null);let i=this.getClickedIndex(t);i=this.applyFilters("clickedIndex",i,t,this);let n={gallery:t.currentTarget};i>=0&&(t.preventDefault(),this.loadAndOpen(i,n,r))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);let r=t.target,n=Qt(this.options.children,this.options.childSelector,t.currentTarget).findIndex(a=>a===r||a.contains(r));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,r,i){if(window.pswp||!this.options)return!1;if(!r&&this.options.gallery&&this.options.children){let n=Qt(this.options.gallery);n[0]&&(r={gallery:n[0]})}return this.options.index=t,this.options.initialPointerPos=i,this.shouldOpen=!0,this.preload(t,r),!0}preload(t,r){let{options:i}=this;r&&(i.dataSource=r);let n=[],a=typeof i.pswpModule;
3if(Zn(i.pswpModule))n.push(Promise.resolve(i.pswpModule));else{if(a==="string")throw new Error("pswpModule as string is no longer supported");if(a==="function")n.push(i.pswpModule());else throw new Error("pswpModule is not valid")}typeof i.openPromise=="function"&&n.push(i.openPromise()),i.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=Qn(t,this));let o=++this._uid;Promise.all(n).then(c=>{if(this.shouldOpen){let p=c[0];this._openPhotoswipe(p,o)}})}_openPhotoswipe(t,r){if(r!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;let i=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=i,window.pswp=i,Object.keys(this._listeners).forEach(n=>{var a;(a=this._listeners[n])===null||a===void 0||a.forEach(o=>{i.on(n,o)})}),Object.keys(this._filters).forEach(n=>{var a;(a=this._filters[n])===null||a===void 0||a.forEach(o=>{i.addFilter(n,o.fn,o.priority)})}),this._preloadedContent&&(i.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),i.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),i.init()}destroy(){var t;(t=this.pswp)===null||t===void 0||t.destroy(),this.shouldOpen=!1,this._listeners={},Qt(this.options.gallery,this.options.gallerySelector).forEach(r=>{r.removeEventListener("click",this.onThumbnailsClick,!1)})}};(function(){Node.prototype.replaceChildren===void 0&&(Node.prototype.replaceChildren=e=>{for(;this.lastChild;)this.removeChild(this.lastChild);e!==void 0&&this.append(e)})})();(function(){let e=!1;if(document.createElement("i").addEventListener("click",()=>{},{get signal(){e=!0}}),e||!window.AbortController)return;let t=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(r,i,n){if(n&&n.signal){if(n.signal.aborted)return;n.signal.addEventListener("abort",()=>this.removeEventListener(r,i,{...n}))}return t.call(this,r,i,n)}})();export{Cl as CustomElementsPolyfill,Un as Delegate,Tr as FocusTrap,tr as PhotoSwipeLightbox,Se as ScrollOffset,ii as animate,Br as inView,ri as scroll,kr as stagger,Wr as timeline}; 4/*! Bundled license information: 5 6@ungap/custom-elements/index.js: 7 (*! (c) Andrea Giammarchi @webreflection ISC *) 8 (*! (c) Andrea Giammarchi - ISC *) 9 10tabbable/dist/index.esm.js: 11 (*! 12 * tabbable 6.3.0 13 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 14 *) 15 16focus-trap/dist/focus-trap.esm.js: 17 (*! 18 * focus-trap 7.6.6 19 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 20 *) 21 22photoswipe/dist/photoswipe-lightbox.esm.js: 23 (*! 24 * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com 25 * (c) 2024 Dmytro Semenov 26 *) 27*/
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.