1var _i=Object.create;var Le=Object.defineProperty;var Ni=Object.getOwnPropertyDescriptor;var Ci=Object.getOwnPropertyNames;var Mi=Object.getPrototypeOf,Ri=Object.prototype.hasOwnProperty;var zi=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ki=(e,t)=>{for(var r in t)Le(e,r,{get:t[r],enumerable:!0})},ji=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ci(t))!Ri.call(e,n)&&n!==r&&Le(e,n,{get:()=>t[n],enumerable:!(i=Ni(t,n))||i.enumerable});return e};var Wi=(e,t,r)=>(r=e!=null?_i(Mi(e)):{},ji(t||!e||!e.__esModule?Le(r,"default",{value:e,enumerable:!0}):r,e));var Mr=zi(()=>{(function(){"use strict";var e=function(d,a){var h=function(A){for(var S=0,C=A.length;S<C;S++)w(A[S])},w=function(A){var S=A.target,C=A.attributeName,k=A.oldValue;S.attributeChangedCallback(C,k,S.getAttribute(C))};return function(E,A){var S=E.constructor.observedAttributes;return S&&d(A).then(function(){new a(h).observe(E,{attributes:!0,attributeOldValue:!0,attributeFilter:S});for(var C=0,k=S.length;C<k;C++)E.hasAttribute(S[C])&&w({target:E,attributeName:S[C],oldValue:null})}),E}};function t(d,a){if(d){if(typeof d=="string")return r(d,a);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,a)}}function r(d,a){(a==null||a>d.length)&&(a=d.length);for(var h=0,w=new Array(a);h<a;h++)w[h]=d[h];return w}function i(d,a){var h=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!h){if(Array.isArray(d)||(h=t(d))||a&&d&&typeof d.length=="number"){h&&(d=h);var w=0,E=function(){};return{s:E,n:function(){return w>=d.length?{done:!0}:{done:!1,value:d[w++]}},e:function(k){throw k},f:E}}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 A=!0,S=!1,C;return{s:function(){h=h.call(d)},n:function(){var k=h.next();return A=k.done,k},e:function(k){S=!0,C=k},f:function(){try{!A&&h.return!=null&&h.return()}finally{if(S)throw C}}}}var n=!0,o=!1,s="querySelectorAll",c=function(a){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],A=function k(st,at,q,O,M,j){var X=i(st),xt;try{for(X.s();!(xt=X.n()).done;){var $=xt.value;(j||s in $)&&(M?q.has($)||(q.add($),O.delete($),a($,M)):O.has($)||(O.add($),q.delete($),a($,M)),j||k($[s](at),at,q,O,M,n))}}catch(Ie){X.e(Ie)}finally{X.f()}},S=new w(function(k){if(E.length){var st=E.join(","),at=new Set,q=new Set,O=i(k),M;try{for(O.s();!(M=O.n()).done;){var j=M.value,X=j.addedNodes,xt=j.removedNodes;A(xt,st,at,q,o,o),A(X,st,at,q,n,o)}}catch($){O.e($)}finally{O.f()}}}),C=S.observe;return(S.observe=function(k){return C.call(S,k,{subtree:n,childList:n})})(h),S},p="querySelectorAll",f=self,b=f.document,v=f.Element,g=f.MutationObserver,I=f.Set,V=f.WeakMap,N=function(a){return p in a},_=[].filter,H=function(d){var a=new V,h=function(O){for(var M=0,j=O.length;M<j;M++)a.delete(O[M])},w=function(){for(var O=st.takeRecords(),M=0,j=O.length;M<j;M++)S(_.call(O[M].removedNodes,N),!1),S(_.call(O[M].addedNodes,N),!0)},E=function(O){return O.matches||O.webkitMatchesSelector||O.msMatchesSelector},A=function(O,M){var j;if(M)for(var X,xt=E(O),$=0,Ie=C.length;$<Ie;$++)xt.call(O,X=C[$])&&(a.has(O)||a.set(O,new I),j=a.get(O),j.has(X)||(j.add(X),d.handle(O,M,X)));else a.has(O)&&(j=a.get(O),a.delete(O),j.forEach(function(Fi){d.handle(O,M,Fi)}))},S=function(O){for(var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=0,X=O.length;j<X;j++)A(O[j],M)},C=d.query,k=d.root||b,st=c(A,k,g,C),at=v.prototype.attachShadow;return at&&(v.prototype.attachShadow=function(q){var O=at.call(this,q);return st.observe(O),O}),C.length&&S(k[p](C)),{drop:h,flush:w,observer:st,parse:S}},D=self,P=D.document,F=D.Map,U=D.MutationObserver,x=D.Object,u=D.Set,l=D.WeakMap,m=D.Element,y=D.HTMLElement,T=D.Node,L=D.Error,R=D.TypeError,G=D.Reflect,Z=x.defineProperty,J=x.keys,pt=x.getOwnPropertyNames,mt=x.setPrototypeOf,rt=!self.customElements,Et=function(a){for(var h=J(a),w=[],E=h.length,A=0;A<E;A++)w[A]=a[h[A]],delete a[h[A]];return function(){for(var S=0;S<E;S++)a[h[S]]=w[S]}};if(rt){var we=function(){var a=this.constructor;if(!Ee.has(a))throw new R("Illegal constructor");var h=Ee.get(a);if(Kt)return nr(Kt,h);var w=er.call(P,h);return nr(mt(w,a.prototype),h)}
2,er=P.createElement,Ee=new F,$t=new F,rr=new F,Tt=new F,ir=[],gi=function(a,h,w){var E=rr.get(w);if(h&&!E.isPrototypeOf(a)){var A=Et(a);Kt=mt(a,E);try{new E.constructor}finally{Kt=null,A()}}var S="".concat(h?"":"dis","connectedCallback");S in E&&a[S]()},yi=H({query:ir,handle:gi}),bi=yi.parse,Kt=null,xe=function(a){if(!$t.has(a)){var h,w=new Promise(function(E){h=E});$t.set(a,{$:w,_:h})}return $t.get(a).$},nr=e(xe,U);self.customElements={define:function(a,h){if(Tt.has(a))throw new L('the name "'.concat(a,'" has already been used with this registry'));Ee.set(h,a),rr.set(a,h.prototype),Tt.set(a,h),ir.push(a),xe(a).then(function(){bi(P.querySelectorAll(a))}),$t.get(a)._(h)},get:function(a){return Tt.get(a)},whenDefined:xe},Z(we.prototype=y.prototype,"constructor",{value:we}),self.HTMLElement=we,P.createElement=function(d,a){var h=a&&a.is,w=h?Tt.get(h):Tt.get(d);return w?new w:er.call(P,d)},"isConnected"in T.prototype||Z(T.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else if(rt=!self.customElements.get("extends-li"),rt)try{var or=function d(){return self.Reflect.construct(HTMLLIElement,[],d)};or.prototype=HTMLLIElement.prototype;var sr="extends-li";self.customElements.define("extends-li",or,{extends:"li"}),rt=P.createElement("li",{is:sr}).outerHTML.indexOf(sr)<0;var ar=self.customElements,wi=ar.get,Ei=ar.whenDefined;self.customElements.whenDefined=function(d){var a=this;return Ei.call(this,d).then(function(h){return h||wi.call(a,d)})}}catch{}if(rt){var lr=function(a){var h=Se.get(a);hr(h.querySelectorAll(this),a.isConnected)},tt=self.customElements,cr=P.createElement,xi=tt.define,Si=tt.get,Oi=tt.upgrade,Ti=G||{construct:function(a){return a.call(this)}},Ai=Ti.construct,Se=new l,Oe=new u,Ut=new F,qt=new F,ur=new F,Gt=new F,fr=[],Zt=[],dr=function(a){return Gt.get(a)||Si.call(tt,a)},Ii=function(a,h,w){var E=ur.get(w);if(h&&!E.isPrototypeOf(a)){var A=Et(a);Xt=mt(a,E);try{new E.constructor}finally{Xt=null,A()}}var S="".concat(h?"":"dis","connectedCallback");S in E&&a[S]()},Li=H({query:Zt,handle:Ii}),hr=Li.parse,Pi=H({query:fr,handle:function(a,h){Se.has(a)&&(h?Oe.add(a):Oe.delete(a),Zt.length&&lr.call(Zt,a))}}),Di=Pi.parse,pr=m.prototype.attachShadow;pr&&(m.prototype.attachShadow=function(d){var a=pr.call(this,d);return Se.set(this,a),a});var Te=function(a){if(!qt.has(a)){var h,w=new Promise(function(E){h=E});qt.set(a,{$:w,_:h})}return qt.get(a).$},Ae=e(Te,U),Xt=null;pt(self).filter(function(d){return/^HTML.*Element$/.test(d)}).forEach(function(d){var a=self[d];function h(){var w=this.constructor;if(!Ut.has(w))throw new R("Illegal constructor");var E=Ut.get(w),A=E.is,S=E.tag;if(A){if(Xt)return Ae(Xt,A);var C=cr.call(P,S);return C.setAttribute("is",A),Ae(mt(C,w.prototype),A)}else return Ai.call(this,a,[],w)}Z(h.prototype=a.prototype,"constructor",{value:h}),Z(self,d,{value:h})}),P.createElement=function(d,a){var h=a&&a.is;if(h){var w=Gt.get(h);if(w&&Ut.get(w).tag===d)return new w}var E=cr.call(P,d);return h&&E.setAttribute("is",h),E},tt.get=dr,tt.whenDefined=Te,tt.upgrade=function(d){var a=d.getAttribute("is");if(a){var h=Gt.get(a);if(h){Ae(mt(d,h.prototype),a);return}}Oi.call(tt,d)},tt.define=function(d,a,h){if(dr(d))throw new L("'".concat(d,"' has already been defined as a custom element"));var w,E=h&&h.extends;Ut.set(a,E?{is:d,tag:E}:{is:"",tag:d}),E?(w="".concat(E,'[is="').concat(d,'"]'),ur.set(w,a.prototype),Gt.set(d,a),Zt.push(w)):(xi.apply(tt,arguments),fr.push(w=d)),Te(d).then(function(){E?(hr(P.querySelectorAll(w)),Oe.forEach(lr,[w])):Di(P.querySelectorAll(w))}),qt.get(d)._(a)}}})()});var At,Fe,mr=new Set,Pe=document.createElement("link"),Vi=Pe.relList&&Pe.relList.supports&&Pe.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype,Hi="instantAllowQueryString"in document.body.dataset,Bi="instantAllowExternalLinks"in document.body.dataset,$i="instantWhitelist"in document.body.dataset,vr="instantMousedownShortcut"in document.body.dataset,gr=1111,yr=65,br=!1,wr=!1,De=!1;if("instantIntensity"in document.body.dataset){let e=document.body.dataset.instantIntensity;if(e.substr(0,9)=="mousedown")br=!0,e=="mousedown-only"&&(wr=!0);else if(e.substr(0,8)=="viewport")navigator.connection&&(navigator.connection.saveData||navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g"))||(e=="viewport"?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(De=!0):e=="viewport-all"&&(De=!0));else{let t=parseInt(e);isNaN(t)||(yr=t)}}if(Vi){let e={capture:!0,passive:!0};if(wr||document.addEventListener("touchstart",Ki,e),br?vr||document.addEventListener("mousedown",qi,e):document.addEventListener("mouseover",Ui,e),vr&&document.addEventListener("mousedown",Zi,e),De){let t;window.requestIdleCallback?t=r=>{requestIdleCallback(r,{timeout:1500})}:t=r=>{r()},t(()=>{let r=new IntersectionObserver(i=>
2{i.forEach(n=>{if(n.isIntersecting){let o=n.target;r.unobserve(o),Qt(o.href)}})});document.querySelectorAll("a").forEach(i=>{Yt(i)&&r.observe(i)})})}}function Ki(e){Fe=performance.now();let t=e.target.closest("a");Yt(t)&&Qt(t.href)}function Ui(e){if(performance.now()-Fe<gr||!("closest"in e.target))return;let t=e.target.closest("a");Yt(t)&&(t.addEventListener("mouseout",Gi,{passive:!0}),At=setTimeout(()=>{Qt(t.href),At=void 0},yr))}function qi(e){let t=e.target.closest("a");Yt(t)&&Qt(t.href)}function Gi(e){e.relatedTarget&&e.target.closest("a")==e.relatedTarget.closest("a")||At&&(clearTimeout(At),At=void 0)}function Zi(e){if(performance.now()-Fe<gr)return;let t=e.target.closest("a");if(e.which>1||e.metaKey||e.ctrlKey||!t)return;t.addEventListener("click",function(i){i.detail!=1337&&i.preventDefault()},{capture:!0,passive:!1,once:!0});let r=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});t.dispatchEvent(r)}function Yt(e){if(!(!e||!e.href)&&!($i&&!("instant"in e.dataset))&&!(!Bi&&e.origin!=location.origin&&!("instant"in e.dataset))&&["http:","https:"].includes(e.protocol)&&!(e.protocol=="http:"&&location.protocol=="https:")&&!(!Hi&&e.search&&!("instant"in e.dataset))&&!(e.hash&&e.pathname+e.search==location.pathname+location.search)&&!("noInstant"in e.dataset))return!0}function Qt(e){if(mr.has(e))return;let t=document.createElement("link");t.rel="prefetch",t.href=e,document.head.appendChild(t),mr.add(e)}var Ce={};ki(Ce,{createFocusTrap:()=>bn});var xr=["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])"],Jt=xr.join(","),Sr=typeof Element>"u",vt=Sr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,te=!Sr&&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},ee=function e(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"),o=n===""||n==="true",s=o||r&&t&&e(t.parentNode);return s},Xi=function(t){var r,i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return i===""||i==="true"},Or=function(t,r,i){if(ee(t))return[];var n=Array.prototype.slice.apply(t.querySelectorAll(Jt));return r&&vt.call(t,Jt)&&n.unshift(t),n=n.filter(i),n},Tr=function e(t,r,i){for(var n=[],o=Array.from(t);o.length;){var s=o.shift();if(!ee(s,!1))if(s.tagName==="SLOT"){var c=s.assignedElements(),p=c.length?c:s.children,f=e(p,!0,i);i.flatten?n.push.apply(n,f):n.push({scopeParent:s,candidates:f})}else{var b=vt.call(s,Jt);b&&i.filter(s)&&(r||!t.includes(s))&&n.push(s);var v=s.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(s),g=!ee(v,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(s));if(v&&g){var I=e(v===!0?s.children:v.children,!0,i);i.flatten?n.push.apply(n,I):n.push({scopeParent:s,candidates:I})}else o.unshift.apply(o,s.children)}}return n},Ar=function(t,r){return t.tabIndex<0&&(r||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Xi(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},Yi=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},Ir=function(t){return t.tagName==="INPUT"},Qi=function(t){return Ir(t)&&t.type==="hidden"},Ji=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(i){return i.tagName==="SUMMARY"});return r},tn=function(t,r){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===r)return t[i]},en=function(t){if(!t.name)return!0;var r=t.form||te(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(s){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",s.message),!1}var o=tn(n,t.form);return!o||o===t},rn=function(t){return Ir(t)&&t.type==="radio"},nn=function(t){return rn(t)&&!en(t)},on=function(t){var r,i=t&&te(t),n=(r=i)===null||r===void 0?void 0:r.host,o=!1;if(i&&i!==t){var s,c,p;for(o=!!((s=n)!==null&&s!==void 0&&(c=s.ownerDocument)!==null&&c!==void 0&&c.contains(n)||t!=null&&(p=t.ownerDocument)!==null&&p!==void 0&&p.contains(t));!o&&n;){var f,b,v;i=te(n),n=(f=i)===null||f===void 0?void 0:f.host,o=!!((b=n)!==null&&b!==void 0&&(v=b.ownerDocument)!==null&&v!==void 0&&v.contains(n))}}return o},Er=function(t){var r=t.getBoundingClientRect(),i=r.width,n=r.height;return i===0&&n===0},sn=function(t,r){var i=r.displayCheck,n=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=vt.call(t,"details>summary:first-of-type"),s=o?t.parentElement:t;if(vt.call(s,"details:not([open]) *"))return!0;
vendor: 10,069 bytes, line 2
2if(!i||i==="full"||i==="legacy-full"){if(typeof n=="function"){for(var c=t;t;){var p=t.parentElement,f=te(t);if(p&&!p.shadowRoot&&n(p)===!0)return Er(t);t.assignedSlot?t=t.assignedSlot:!p&&f!==t.ownerDocument?t=f.host:t=p}t=c}if(on(t))return!t.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return Er(t);return!1},an=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 vt.call(r,"fieldset[disabled] *")?!0:!n.contains(t)}return!0}r=r.parentElement}return!1},re=function(t,r){return!(r.disabled||ee(r)||Qi(r)||sn(r,t)||Ji(r)||an(r))},_e=function(t,r){return!(nn(r)||Ar(r)<0||!re(t,r))},ln=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},cn=function e(t){var r=[],i=[];return t.forEach(function(n,o){var s=!!n.scopeParent,c=s?n.scopeParent:n,p=Ar(c,s),f=s?e(n.candidates):c;p===0?s?r.push.apply(r,f):r.push(c):i.push({documentOrder:o,tabIndex:p,item:n,isScope:s,content:f})}),i.sort(Yi).reduce(function(n,o){return o.isScope?n.push.apply(n,o.content):n.push(o.content),n},[]).concat(r)},Lr=function(t,r){r=r||{};var i;return r.getShadowRoot?i=Tr([t],r.includeContainer,{filter:_e.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:ln}):i=Or(t,r.includeContainer,_e.bind(null,r)),cn(i)},Pr=function(t,r){r=r||{};var i;return r.getShadowRoot?i=Tr([t],r.includeContainer,{filter:re.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):i=Or(t,r.includeContainer,re.bind(null,r)),i},It=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return vt.call(t,Jt)===!1?!1:_e(r,t)},un=xr.concat("iframe").join(","),Ne=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return vt.call(t,un)===!1?!1:re(r,t)};function Dr(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 Fr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dr(Object(r),!0).forEach(function(i){fn(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dr(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function fn(e,t,r){return t=hn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dn(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hn(e){var t=dn(e,"string");return typeof t=="symbol"?t:String(t)}var _r={activateTrap:function(t,r){if(t.length>0){var i=t[t.length-1];i!==r&&i.pause()}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].unpause()}},pn=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},mn=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Pt=function(t){return t.key==="Tab"||t.keyCode===9},vn=function(t){return Pt(t)&&!t.shiftKey},gn=function(t){return Pt(t)&&t.shiftKey},Nr=function(t){return setTimeout(t,0)},Cr=function(t,r){var i=-1;return t.every(function(n,o){return r(n)?(i=o,!1):!0}),i},Lt=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},ie=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},yn=[],bn=function(t,r){var i=r?.document||document,n=r?.trapStack||yn,o=Fr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:vn,isKeyBackward:gn},r),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},c,p=function(u,l,m){return u&&u[l]!==void 0?u[l]:o[m||l]},f=function(u){return s.containerGroups.findIndex(function(l){var m=l.container,y=l.tabbableNodes;return m.contains(u)||y.find(function(T){return T===u})})},b=function(u){var l=o[u];if(typeof l=="function"){for(var m=arguments.length,y=new Array(m>1?m-1:0),T=1;T<m;T++)y[T-1]=arguments[T];l=l.apply(void 0,y)}if(l===!0&&(l=void 0),!l){if(l===void 0||l===!1)return l;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var L=l;if(typeof l=="string"&&(L=i.querySelector(l),!L))throw new Error("`".concat(u,"` as selector refers to no known node"));return L},v=function(){var u=b("initialFocus");if(u===!1)return!1;if(u===void 0)if(f(i.activeElement)>=0)u=i.activeElement;else{var l=s.tabbableGroups[0],m=l&&l.firstTabbableNode;u=m||b("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},g=function(){if(s.containerGroups=s.containers.map(function(u){var l=Lr(u,o.tabbableOptions),m=Pr(u,o.tabbableOptions);return{container:u,tabbableNodes:l,focusableNodes:m,firstTabbableNode:l.length>0?l[0]:null,lastTabbableNode:l.length>0?l[l.length-1]:null,nextTabbableNode:function(T){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,R=m.findIndex(function(G){return G===T});if(!(R<0))return L?m.slice(R+1).find(function(G){return It(G,o.tabbableOptions)}):m.slice(0,R).reverse().find(function(G){return It(G,o.tabbableOptions)})}}}),s.tabbableGroups=s.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},I=function x(u){if(u!==!1&&u!==i.activeElement){if(!u||!u.focus){x(v());return}u.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=u,pn(u)&&u.select()}},V=function(u){var l=b("setReturnFocus",u);return l||(l===!1?!1:u)},N=function(u){var l=ie(u);if(!(f(l)>=0)){if(Lt(o.clickOutsideDeactivates,u)){c.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Lt(o.allowOutsideClick,u)||u.preventDefault()}},_=function(u){var l=ie(u),m=f(l)>=0;m||l instanceof Document?m&&(s.mostRecentlyFocusedNode=l):(u.stopImmediatePropagation(),I(s.mostRecentlyFocusedNode||v()))},H=function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=ie(u);g();var y=null;if(s.tabbableGroups.length>0){var T=f(m),L=T>=0?s.containerGroups[T]:void 0;if(T<0)l?y=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:y=s.tabbableGroups[0].firstTabbableNode;else if(l){var R=Cr(s.tabbableGroups,function(rt){var Et=rt.firstTabbableNode;return m===Et});if(R<0&&(L.container===m||Ne(m,o.tabbableOptions)&&!It(m,o.tabbableOptions)&&!L.nextTabbableNode(m,!1))&&(R=T),R>=0){var G=R===0?s.tabbableGroups.length-1:R-1,Z=s.tabbableGroups[G];y=Z.lastTabbableNode}else Pt(u)||(y=L.nextTabbableNode(m,!1))}else{var J=Cr(s.tabbableGroups,function(rt){var Et=rt.lastTabbableNode;return m===Et});if(J<0&&(L.container===m||Ne(m,o.tabbableOptions)&&!It(m,o.tabbableOptions)&&!L.nextTabbableNode(m))&&(J=T),J>=0){var pt=J===s.tabbableGroups.length-1?0:J+1,mt=s.tabbableGroups[pt];y=mt.firstTabbableNode}else Pt(u)||(y=L.nextTabbableNode(m))}}else y=b("fallbackFocus");y&&(Pt(u)&&u.preventDefault(),I(y))},D=function(u){if(mn(u)&&Lt(o.escapeDeactivates,u)!==!1){u.preventDefault(),c.deactivate();return}(o.isKeyForward(u)||o.isKeyBackward(u))&&H(u,o.isKeyBackward(u))},P=function(u){var l=ie(u);f(l)>=0||Lt(o.clickOutsideDeactivates,u)||Lt(o.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},F=function(){if(s.active)return _r.activateTrap(n,c),s.delayInitialFocusTimer=o.delayInitialFocus?Nr(function(){I(v())}):I(v()),i.addEventListener("focusin",_,!0),i.addEventListener("mousedown",N,{capture:!0,passive:!1}),i.addEventListener("touchstart",N,{capture:!0,passive:!1}),i.addEventListener("click",P,{capture:!0,passive:!1}),i.addEventListener("keydown",D,{capture:!0,passive:!1}),c},U=function(){if(s.active)return i.removeEventListener("focusin",_,!0),i.removeEventListener("mousedown",N,!0),i.removeEventListener("touchstart",N,!0),i.removeEventListener("click",P,!0),i.removeEventListener("keydown",D,!0),c};return c={get active(){return s.active},get paused(){return s.paused},activate:function(u){if(s.active)return this;var l=p(u,"onActivate"),m=p(u,"onPostActivate"),y=p(u,"checkCanFocusTrap");y||g(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=i.activeElement,l?.();var T=function(){y&&g(),F(),m?.()};return y?(y(s.containers.concat()).then(T,T),this):(T(),this)},deactivate:function(u){if(!s.active)return this;var l=Fr({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},u);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,U(),s.active=!1,s.paused=!1,_r.deactivateTrap(n,c);var m=p(l,"onDeactivate"),y=p(l,"onPostDeactivate"),T=p(l,"checkCanReturnFocus"),L=p(l,"returnFocus","returnFocusOnDeactivate");m?.();var R=function(){Nr(function(){L&&I(V(s.nodeFocusedBeforeActivation)),y?.()})};return L&&T?(T(V(s.nodeFocusedBeforeActivation)).then(R,R),this):(R(),this)},pause:function(u){if(s.paused||!s.active)return this;var l=p(u,"onPause"),m=p(u,"onPostPause");return s.paused=!0,l?.(),U(),m?.(),this},unpause:function(u){if(!s.paused||!s.active)return this;var l=p(u,"onUnpause"),m=p(u,"onPostUnpause");return s.paused=!1,l?.(),g(),F(),m?.(),this},updateContainerElements:function(u){var l=[].concat(u).filter(Boolean);return s.containers=l.map(function(m){return typeof m=="string"?i.querySelector(m):m}),s.active&&g(),this}},c.updateContainerElements(t),c};var po=Wi(Mr());function Me(e,t){e.indexOf(t)===-1&&e.push(t)}function Re(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Dt=(e,t,r)=>
vendor: 8,838 bytes, line 2
2Math.min(Math.max(r,e),t);var z={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"};var K=e=>typeof e=="number";var et=e=>Array.isArray(e)&&!K(e[0]);var Rr=(e,t,r)=>{let i=t-e;return((r-e)%i+i)%i+e};function Ft(e,t){return et(e)?e[Rr(0,e.length,t)]:e}var gt=(e,t,r)=>-r*e+r*t+e;var _t=()=>{},B=e=>e;var Q=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function St(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=Q(0,t,i);e.push(gt(r,1,n))}}function yt(e){let t=[0];return St(t,e-1),t}function Nt(e,t=yt(e.length),r=B){let i=e.length,n=i-t.length;return n>0&&St(t,n),o=>{let s=0;for(;s<i-2&&!(o<t[s+1]);s++);let c=Dt(0,1,Q(t[s],t[s+1],o));return c=Ft(r,s)(c),gt(e[s],e[s+1],c)}}var Ct=e=>Array.isArray(e)&&K(e[0]);var lt=e=>typeof e=="object"&&!!e.createAnimation;var W=e=>typeof e=="function";var it=e=>typeof e=="string";var ct={ms:e=>e*1e3,s:e=>e/1e3};function ze(e,t){return t?e*(1e3/t):0}var zr=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,wn=1e-7,En=12;function xn(e,t,r,i,n){let o,s,c=0;do s=t+(r-t)/2,o=zr(s,i,n)-e,o>0?r=s:t=s;while(Math.abs(o)>wn&&++c<En);return s}function bt(e,t,r,i){if(e===t&&r===i)return B;let n=o=>xn(o,0,1,e,r);return o=>o===0||o===1?o:zr(n(o),t,i)}var ke=(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 Dt(0,1,n/e)};var kr={ease:bt(.25,.1,.25,1),"ease-in":bt(.42,0,1,1),"ease-in-out":bt(.42,0,.58,1),"ease-out":bt(0,0,.58,1)},Sn=/\((.*?)\)/;function Ot(e){if(W(e))return e;if(Ct(e))return bt(...e);if(kr[e])return kr[e];if(e.startsWith("steps")){let t=Sn.exec(e);if(t){let r=t[1].split(",");return ke(parseFloat(r[0]),r[1].trim())}}return B}var nt=class{constructor(t,r=[0,1],{easing:i,duration:n=z.duration,delay:o=z.delay,endDelay:s=z.endDelay,repeat:c=z.repeat,offset:p,direction:f="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=B,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((v,g)=>{this.resolve=v,this.reject=g}),i=i||z.easing,lt(i)){let v=i.createAnimation(r);i=v.easing,r=v.keyframes||r,n=v.duration||n}this.repeat=c,this.easing=et(i)?B:Ot(i),this.updateDuration(n);let b=Nt(r,p,et(i)?i.map(Ot):B);this.tick=v=>{var g;o=o;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-o,0),this.playState==="finished"&&this.pauseTime===void 0&&(I=this.totalDuration);let V=I/this.duration,N=Math.floor(V),_=V%1;!_&&V>=1&&(_=1),_===1&&N--;let H=N%2;(f==="reverse"||f==="alternate"&&H||f==="alternate-reverse"&&!H)&&(_=1-_);let D=I>=this.totalDuration?1:Math.min(_,1),P=b(this.easing(D));t(P),this.pauseTime===void 0&&(this.playState==="finished"||I>=this.totalDuration+s)?(this.playState="finished",(g=this.resolve)===null||g===void 0||g.call(this,P)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},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 Mt=function(){};var Rt=class{setAnimation(t){this.animation=t,t?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}};var je=new WeakMap;function ne(e){return je.has(e)||je.set(e,{transforms:[],values:new Map}),je.get(e)}function jr(e,t){return e.has(t)||e.set(t,new Rt),e.get(t)}var On=["","X","Y","Z"],Tn=["translate","scale","rotate","skew"],zt={x:"translateX",y:"translateY",z:"translateZ"},Wr={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},An={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:Wr,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:B},skew:Wr},ut=new Map,se=e=>`--motion-${e}`,oe=["x","y","z"];Tn.forEach(e=>{On.forEach(t=>{oe.push(e+t),ut.set(se(e+t),An[e])})});var In=(e,t)=>oe.indexOf(e)-oe.indexOf(t),Ln=new Set(oe),ae=e=>Ln.has(e),Vr=(e,t)=>{zt[t]&&(t=zt[t]);let{transforms:r}=ne(e);Me(r,t),e.style.transform=Pn(r)},Pn=e=>e.sort(In).reduce(Dn,"").trim(),Dn=(e,t)=>`${e} ${t}(var(${se(t)}))`;var kt=e=>e.startsWith("--"),Hr=new Set;function Br(e){if(!Hr.has(e)){Hr.add(e);try{let{syntax:t,initialValue:r}=ut.has(e)?ut.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}var We=(e,t)=>document.createElement("div").animate(e,t),$r={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{We({opacity:[1]})}catch{return!1}return!0},finished:()=>!!We({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{We({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},Ve={},ft={};for(let e in $r)ft[e]=()=>(Ve[e]===void 0&&(Ve[e]=$r[e]()),Ve[e]);var Fn=.015,_n=(e,t)=>{let r="",i=Math.round(t/Fn);for(let n=0;n<i;n++)r+=e(Q(0,i-1,n))+", ";return r.substring(0,r.length-2)},He=(e,t)=>W(e)?ft.linearEasing()?`linear(${_n(e,t)})`:z.easing:Ct(e)?Nn(e):e,Nn=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`;function Kr(e,t){for(let r=0;r<e.length;r++)e[r]===null&&(e[r]=r?e[r-1]:t());return e}var le=e=>Array.isArray(e)?e:[e];function jt(e){return zt[e]&&(e=zt[e]),ae(e)?se(e):e}var Wt={get:(e,t)=>{t=jt(t);let r=kt(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){let i=ut.get(t);i&&(r=i.initialValue)}return r},set:(e,t,r)=>{t=jt(t),kt(t)?e.style.setProperty(t,r):e.style[t]=r}};function ce(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function Ur(e,t){var r;let i=t?.toDefaultUnit||B,n=e[e.length-1];if(it(n)){let o=((r=n.match(/(-?[\d.]+)([a-z%]*)/))===null||r===void 0?void 0:r[2])||"";o&&(i=s=>s+o)}return i}function Cn(){return window.__MOTION_DEV_TOOLS_RECORD}function ue(e,t,r,i={},n){let o=Cn(),s=i.record!==!1&&o,c,{duration:p=z.duration,delay:f=z.delay,endDelay:b=z.endDelay,repeat:v=z.repeat,easing:g=z.easing,persist:I=!1,direction:V,offset:N,allowWebkitAcceleration:_=!1}=i,H=ne(e),D=ae(t),P=ft.waapi();D&&Vr(e,t);let F=jt(t),U=jr(H.values,F),x=ut.get(F);return ce(U.animation,!(lt(g)&&U.generator)&&i.record!==!1),()=>{let u=()=>{var y,T;return(T=(y=Wt.get(e,F))!==null&&y!==void 0?y:x?.initialValue)!==null&&T!==void 0?T:0},l=Kr(le(r),u),m=Ur(l,x);if(lt(g)){let y=g.createAnimation(l,t!=="opacity",u,F,U);g=y.easing,l=y.keyframes||l,p=y.duration||p}if(kt(F)&&(ft.cssRegisterProperty()?Br(F):P=!1),D&&!ft.linearEasing()&&(W(g)||et(g)&&g.some(W))&&(P=!1),P){x&&(l=l.map(L=>K(L)?x.toDefaultUnit(L):L)),l.length===1&&(!ft.partialKeyframes()||s)&&l.unshift(u());let y={delay:ct.ms(f),duration:ct.ms(p),endDelay:ct.ms(b),easing:et(g)?void 0:He(g,p),direction:V,iterations:v+1,fill:"both"};c=e.animate({[F]:l,offset:N,easing:et(g)?g.map(L=>He(L,p)):void 0},y),c.finished||(c.finished=new Promise((L,R)=>{c.onfinish=L,c.oncancel=R}));let T=l[l.length-1];c.finished.then(()=>{I||(Wt.set(e,F,T),c.cancel())}).catch(_t),_||(c.playbackRate=1.000001)}else if(n&&D)l=l.map(y=>typeof y=="string"?parseFloat(y):y),l.length===1&&l.unshift(parseFloat(u())),c=new n(y=>{Wt.set(e,F,m?m(y):y)},l,Object.assign(Object.assign({},i),{duration:p,easing:g}));else{let y=l[l.length-1];Wt.set(e,F,x&&K(y)?x.toDefaultUnit(y):y)}return s&&o(e,t,l,{duration:p,delay:f,easing:g,repeat:v,offset:N},"motion-one"),U.setAnimation(c),c}}var fe=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function dt(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 Mn=e=>e(),wt=(e,t,r=z.duration)=>new Proxy({animations:e.map(Mn).filter(Boolean),duration:r,options:t},zn),Rn=e=>e.animations[0],zn={get:(e,t)=>{let r=Rn(e);switch(t){case"duration":return e.duration;case"currentTime":return ct.s(r?.[t]||0);case"playbackRate":case"playState":return r?.[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(kn)).catch(_t)),e.finished;case"stop":return()=>{e.animations.forEach(i=>
2ce(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=ct.ms(r);case"currentTime":case"playbackRate":for(let i=0;i<e.animations.length;i++)e.animations[i][t]=r;return!0}return!1}},kn=e=>e.finished;function qr(e=.1,{start:t=0,from:r=0,easing:i}={}){return(n,o)=>{let s=K(r)?r:jn(r,o),c=Math.abs(s-n),p=e*c;if(i){let f=o*e;p=Ot(i)(p/f)*f}return t+p}}function jn(e,t){if(e==="first")return 0;{let r=t-1;return e==="last"?r:r/2}}function de(e,t,r){return W(e)?e(t,r):e}function Gr(e){return function(r,i,n={}){r=dt(r);let o=r.length;Mt(!!o,"No valid element provided."),Mt(!!i,"No keyframes defined.");let s=[];for(let c=0;c<o;c++){let p=r[c];for(let f in i){let b=fe(n,f);b.delay=de(b.delay,c,o);let v=ue(p,f,i[f],b,e);s.push(v)}}return wt(s,n,n.duration)}}var Be=Gr(nt);function he(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 $e(e,t,r,i){var n;return K(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 Wn(e,t,r){for(let i=0;i<e.length;i++){let n=e[i];n.at>t&&n.at<r&&(Re(e,n),i--)}}function Zr(e,t,r,i,n,o){Wn(e,n,o);for(let s=0;s<t.length;s++)e.push({value:t[s],at:gt(n,o,i[s]),easing:Ft(r,s)})}function Xr(e,t){return e.at===t.at?e.value===null?1:-1:e.at-t.at}function Yr(e,t={}){var r;let i=Vn(e,t),n=i.map(o=>ue(...o,nt)).filter(Boolean);return wt(n,t,(r=i[0])===null||r===void 0?void 0:r[3].duration)}function Vn(e,t={}){var{defaultOptions:r={}}=t,i=he(t,["defaultOptions"]);let n=[],o=new Map,s={},c=new Map,p=0,f=0,b=0;for(let v=0;v<e.length;v++){let g=e[v];if(it(g)){c.set(g,f);continue}else if(!Array.isArray(g)){c.set(g.name,$e(f,g.at,p,c));continue}let[I,V,N={}]=g;N.at!==void 0&&(f=$e(f,N.at,p,c));let _=0,H=dt(I,s),D=H.length;for(let P=0;P<D;P++){let F=H[P],U=Hn(F,o);for(let x in V){let u=Bn(x,U),l=le(V[x]),m=fe(N,x),{duration:y=r.duration||z.duration,easing:T=r.easing||z.easing}=m;if(lt(T)){Mt(x==="opacity"||l.length>1,"spring must be provided 2 keyframes within timeline()");let pt=T.createAnimation(l,x!=="opacity",()=>0,x);T=pt.easing,l=pt.keyframes||l,y=pt.duration||y}let L=de(N.delay,P,D)||0,R=f+L,G=R+y,{offset:Z=yt(l.length)}=m;Z.length===1&&Z[0]===0&&(Z[1]=1);let J=Z.length-l.length;J>0&&St(Z,J),l.length===1&&l.unshift(null),Zr(u,l,T,Z,R,G),_=Math.max(L+y,_),b=Math.max(G,b)}}p=f,f+=_}return o.forEach((v,g)=>{for(let I in v){let V=v[I];V.sort(Xr);let N=[],_=[],H=[];for(let D=0;D<V.length;D++){let{at:P,value:F,easing:U}=V[D];N.push(F),_.push(Q(0,b,P)),H.push(U||z.easing)}_[0]!==0&&(_.unshift(0),N.unshift(N[0]),H.unshift("linear")),_[_.length-1]!==1&&(_.push(1),N.push(null)),n.push([g,I,N,Object.assign(Object.assign(Object.assign({},r),{duration:b,easing:H,offset:_}),i)])}}),n}function Hn(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Bn(e,t){return t[e]||(t[e]=[]),t[e]}var $n={any:0,all:1};function Qr(e,t,{root:r,margin:i,amount:n="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let o=dt(e),s=new WeakMap,c=f=>{f.forEach(b=>{let v=s.get(b.target);if(b.isIntersecting!==!!v)if(b.isIntersecting){let g=t(b);W(g)?s.set(b.target,g):p.unobserve(b.target)}else v&&(v(b),s.delete(b.target))})},p=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:typeof n=="number"?n:$n[n]});return o.forEach(f=>p.observe(f)),()=>p.disconnect()}var pe=new WeakMap,ht;function Kn(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 Un({target:e,contentRect:t,borderBoxSize:r}){var i;(i=pe.get(e))===null||i===void 0||i.forEach(n=>{n({target:e,contentSize:t,get size(){return Kn(e,r)}})})}function qn(e){e.forEach(Un)}function Gn(){typeof ResizeObserver>
2"u"||(ht=new ResizeObserver(qn))}function Jr(e,t){ht||Gn();let r=dt(e);return r.forEach(i=>{let n=pe.get(i);n||(n=new Set,pe.set(i,n)),n.add(t),ht?.observe(i)}),()=>{r.forEach(i=>{let n=pe.get(i);n?.delete(t),n?.size||ht?.unobserve(i)})}}var me=new Set,Vt;function Zn(){Vt=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};me.forEach(r=>r(t))},window.addEventListener("resize",Vt)}function ti(e){return me.add(e),Vt||Zn(),()=>{me.delete(e),!me.size&&Vt&&(Vt=void 0)}}function ei(e,t){return W(e)?ti(e):Jr(e,t)}var Xn=50,ri=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ni=()=>({time:0,x:ri(),y:ri()}),Yn={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ii(e,t,r,i){let n=r[t],{length:o,position:s}=Yn[t],c=n.current,p=r.time;n.current=e["scroll"+s],n.scrollLength=e["scroll"+o]-e["client"+o],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=Q(0,n.scrollLength,n.current);let f=i-p;n.velocity=f>Xn?0:ze(n.current-c,f)}function oi(e,t,r){ii(e,"x",t,r),ii(e,"y",t,r),t.time=r}function si(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:o}=i.getBBox();for(r.x+=o,r.y+=n;i&&i.tagName!=="svg";)i=i.parentNode}return r}var ve={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var ge={start:0,center:.5,end:1};function Ke(e,t,r=0){let i=0;if(ge[e]!==void 0&&(e=ge[e]),it(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 K(e)&&(i=t*e),r+i}var Qn=[0,0];function ai(e,t,r,i){let n=Array.isArray(e)?e:Qn,o=0,s=0;return K(e)?n=[e,e]:it(e)&&(e=e.trim(),e.includes(" ")?n=e.split(" "):n=[e,ge[e]?e:"0"]),o=Ke(n[0],r,i),s=Ke(n[1],t),o-s}var Jn={x:0,y:0};function li(e,t,r){let{offset:i=ve.All}=r,{target:n=e,axis:o="y"}=r,s=o==="y"?"height":"width",c=n!==e?si(n,e):Jn,p=n===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:n.clientWidth,height:n.clientHeight},f={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let b=!t[o].interpolate,v=i.length;for(let g=0;g<v;g++){let I=ai(i[g],f[s],p[s],c[o]);!b&&I!==t[o].interpolatorOffsets[g]&&(b=!0),t[o].offset[g]=I}b&&(t[o].interpolate=Nt(yt(v),t[o].offset),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=t[o].interpolate(t[o].current)}function to(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 ci(e,t,r,i={}){let n=i.axis||"y";return{measure:()=>to(e,i.target,r),update:o=>{oi(e,r,o),(i.offset||i.target)&&li(e,r,i)},notify:W(t)?()=>t(r):eo(t,r[n])}}function eo(e,t){return e.pause(),e.forEachNative((r,{easing:i})=>{var n,o;if(r.updateDuration)i||(r.easing=B),r.updateDuration(1);else{let s={duration:1e3};i||(s.easing="linear"),(o=(n=r.effect)===null||n===void 0?void 0:n.updateTiming)===null||o===void 0||o.call(n,s)}}),()=>{e.currentTime=t.progress}}var Ht=new WeakMap,ui=new WeakMap,Ue=new WeakMap,fi=e=>e===document.documentElement?window:e;function di(e,t={}){var{container:r=document.documentElement}=t,i=he(t,["container"]);let n=Ue.get(r);n||(n=new Set,Ue.set(r,n));let o=ni(),s=ci(r,e,o,i);if(n.add(s),!Ht.has(r)){let f=()=>{let v=performance.now();for(let g of n)g.measure();for(let g of n)g.update(v);for(let g of n)g.notify()};Ht.set(r,f);let b=fi(r);window.addEventListener("resize",f,{passive:!0}),r!==document.documentElement&&ui.set(r,ei(r,f)),b.addEventListener("scroll",f,{passive:!0})}let c=Ht.get(r),p=requestAnimationFrame(c);return()=>{var f;typeof e!="function"&&e.stop(),cancelAnimationFrame(p);let b=Ue.get(r);if(!b||(b.delete(s),b.size))return;let v=Ht.get(r);Ht.delete(r),v&&(fi(r).removeEventListener("scroll",v),(f=ui.get(r))===null||f===void 0||f(),window.removeEventListener("resize",v))}}function ro(e,t={}){return wt([()=>{let r=new nt(e,[0,1],t);return r.finished.catch(()=>{}),r}],t,t.duration)}function hi(e,t,r){return(W(e)?ro:Be)(e,t,r)}function ot(e){this.listenerMap=[{},{}],e&&this.root(e),this.handle=ot.prototype.handle.bind(this),this._removedListeners=[]}ot.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};ot.prototype.captureForType=function(e){return["blur","error","focus","load","resize","scroll"].indexOf(e)!==-1};ot.prototype.on=function(e,t,r,i){let n,o,s,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,o=this.listenerMap[i?1:0],o[e]||(n&&n.addEventListener(e,this.handle,i),o[e]=[]),t?/^[a-z]+$/i.test(t)?(c=t,s=io):/^#[a-z0-9\-_]+$/i.test(t)?(c=t.slice(1),s=oo):(c=t,s=Element.prototype.matches):(c=null,s=no.bind(this)),o[e].push({selector:t,handler:r,matcher:s,matcherParam:c}),this};ot.prototype.off=function(e,t,r,i){let n,o,s,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(s=this.listenerMap[i?1:0],!e){for(p in s)s.hasOwnProperty(p)&&this.off(p,t,r);return this}
2if(c=s[e],!c||!c.length)return this;for(n=c.length-1;n>=0;n--)o=c[n],(!t||t===o.selector)&&(!r||r===o.handler)&&(this._removedListeners.push(o),c.splice(n,1));return c.length||(delete s[e],this.rootElement&&this.rootElement.removeEventListener(e,this.handle,i)),this};ot.prototype.handle=function(e){let t,r,i=e.type,n,o,s,c,p=[],f,b="ftLabsDelegateIgnore";if(e[b]===!0)return;switch(f=e.target,f.nodeType===3&&(f=f.parentNode),f.correspondingUseElement&&(f=f.correspondingUseElement),n=this.rootElement,o=e.eventPhase||(e.target!==e.currentTarget?3:2),o){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 v=[];for(r=p.length;f&&r;){for(t=0;t<r&&(s=p[t],!!s);t++)f.tagName&&["button","input","select","textarea"].indexOf(f.tagName.toLowerCase())>-1&&f.hasAttribute("disabled")?v=[]:s.matcher.call(f,s.matcherParam,f)&&v.push([e,f,s]);if(f===n||(r=p.length,f=f.parentElement||f.parentNode,f instanceof HTMLDocument))break}let g;for(t=0;t<v.length;t++)if(!(this._removedListeners.indexOf(v[t][2])>-1)&&(c=this.fire.apply(this,v[t]),c===!1)){v[t][0][b]=!0,v[t][0].preventDefault(),g=!1;break}return g};ot.prototype.fire=function(e,t,r){return r.handler.call(t,e,t)};function io(e,t){return e.toLowerCase()===t.tagName.toLowerCase()}function no(e,t){return this.rootElement===window?t===document||t===document.documentElement||t===window:this.rootElement===t}function oo(e,t){return e===t.id}ot.prototype.destroy=function(){this.off(),this.root()};var so=ot;function Bt(e,t,r){let i=document.createElement(t);return e&&(i.className=e),r&&r.appendChild(i),i}function ao(e,t,r){let i=`translate3d(${e}px,${t||0}px,0)`;return r!==void 0&&(i+=` scale3d(${r},${r},1)`),i}function qe(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}var Y={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function lo(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function be(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 co(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function pi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}var Ge=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){this._filters[t]||(this._filters[t]=[]),this._filters[t]?.push({fn:r,priority:i}),this._filters[t]?.sort((n,o)=>n.priority-o.priority),this.pswp?.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){return this._filters[t]?.forEach(i=>{r[0]=i.fn.apply(this,r)}),r[0]}on(t,r){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t]?.push(r),this.pswp?.on(t,r)}off(t,r){this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(i=>r!==i)),this.pswp?.off(t,r)}dispatch(t,r){if(this.pswp)return this.pswp.dispatch(t,r);let i=new Ge(t,r);return this._listeners[t]?.forEach(n=>{n.call(this,i)}),i}},Xe=class{constructor(t,r){if(this.element=Bt("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"?(qe(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=ao(0,0,t/250)):qe(this.element,t,r))}destroy(){this.element?.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=Y.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.t
vendor: 7,200 bytes, line 2
2ype="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=Bt("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=Bt("pswp__content","div"),this.element.innerHTML=this.data.html||""),r&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;let r=this.element;this.updateSrcsetSizes(),this.data.srcset&&(r.srcset=this.data.srcset),r.src=this.data.src??"",r.alt=this.data.alt??"",this.state=Y.LOADING,r.complete?this.onLoaded():(r.onload=()=>{this.onLoaded()},r.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=Y.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===Y.LOADED||this.state===Y.ERROR)&&this.removePlaceholder())}onError(){this.state=Y.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===Y.LOADING,this)}isError(){return this.state===Y.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&&(qe(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!==Y.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){let t=Bt("pswp__error-msg","div");t.innerText=this.instance.options?.errorMsg??"",t=this.instance.applyFilters("contentErrorElement",t,this),this.element=Bt("pswp__content pswp__error-msg-container","div"),this.element.appendChild(t),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===Y.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||pi())?(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&&!pi()?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===Y.LOADED||this.state===Y.ERROR)&&this.removePlaceholder()))}};function uo(e,t){if(e.getViewportSizeFn){let r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function ye(e,t,r,i,n){let o=0;if(t.paddingFn)o=t.paddingFn(r,i,n)[e];else if(t.padding)o=t.padding[e];else{let s="padding"+e[0].toUpperCase()+e.slice(1);t[s]&&(o=t[s])}return Number(o)||0}function fo(e,t,r,i){return{x:t.x-ye("left",e,t,r,i)-ye("right",e,t,r,i),y:t.y-ye("top",e,t,r,i)-ye("bottom",e,t,r,i)}}var mi=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 o=i.x/n.x,s=i.y/n.y;this.fit=Math.min(1,o<s?o:s),this.fill=Math.min(1,o>s?o:s),this.vFill=Math.min(1,s),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>mi&&(t=mi/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function vi(e,t,r){let i=t.createContentFromData(e,r),n,{options:o}=t;if(o){n=new Qe(o,e,-1);let s;
2t.pswp?s=t.pswp.viewportSize:s=uo(o,t);let c=fo(o,s,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 ho(e,t){let r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return vi(r,t,e)}var Je=class extends Ze{getNumItems(){let t=0,r=this.options?.dataSource;r&&"length"in r?t=r.length:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),r.items&&(t=r.items.length));let i=this.dispatch("numItems",{dataSource:r,numItems:t});return this.applyFilters("numItems",i.numItems,r)}createContentFromData(t,r){return new Ye(t,this,r)}getItemData(t){let r=this.options?.dataSource,i={};Array.isArray(r)?i=r[t]:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),i=r.items[t]);let n=i;n instanceof Element&&(n=this._domElementToItemData(n));let o=this.dispatch("itemData",{itemData:n||{},index:t});return this.applyFilters("itemData",o.itemData,t)}_getGalleryDOMElements(t){return this.options?.children||this.options?.childSelector?be(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 n=t.querySelector("img");n&&(r.msrc=n.currentSrc||n.src,r.alt=n.getAttribute("alt")??""),(i.dataset.pswpCropped||i.dataset.cropped)&&(r.thumbCropped=!0)}return this.applyFilters("domItemData",r,t,i)}lazyLoadData(t,r){return vi(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(){be(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(lo(t)||window.pswp||window.navigator.onLine===!1)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=be(this.options.children,this.options.childSelector,t.currentTarget).findIndex(o=>o===r||o.contains(r));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,r,i){return window.pswp?!1:(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=[],o=typeof i.pswpModule;if(co(i.pswpModule))n.push(Promise.resolve(i.pswpModule));else{if(o==="string")throw new Error("pswpModule as string is no longer supported");if(o==="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=ho(t,this));let s=++this._uid;Promise.all(n).then(c=>{if(this.shouldOpen){let p=c[0];this._openPhotoswipe(p,s)}})}_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=>{this._listeners[n]?.forEach(o=>{i.on(n,o)})}),Object.keys(this._filters).forEach(n=>{this._filters[n]?.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(){this.pswp?.destroy(),this.shouldOpen=!1,this._listeners={},be(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.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{po as CustomElementsPolyfill,so as Delegate,Ce as FocusTrap,tr as PhotoSwipeLightbox,ve as ScrollOffset,hi as animate,Qr as inView,di as scroll,qr as stagger,Yr as timeline}; 3/*! Bundled license information: 4 5@ungap/custom-elements/index.js: 6 (*! (c) Andrea Giammarchi @webreflection ISC *) 7 (*! (c) Andrea Giammarchi - ISC *) 8 9instant.page/instantpage.js:
10 (*! instant.page v5.1.1 - (C) 2019-2020 Alexandre Dieulot - https://instant.page/license *) 11 12tabbable/dist/index.esm.js: 13 (*! 14 * tabbable 6.1.1 15 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 16 *) 17 18focus-trap/dist/focus-trap.esm.js: 19 (*! 20 * focus-trap 7.4.0 21 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 22 *) 23 24photoswipe/dist/photoswipe-lightbox.esm.js: 25 (*! 26 * PhotoSwipe Lightbox 5.3.6 - https://photoswipe.com 27 * (c) 2023 Dmytro Semenov 28 *) 29*/
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.