PageSourceSearch

https://hunderunde.shop/cdn/shop/t/333/assets/vendor.min.js?v=21549124608892486191759740242

js hunderunde.shop collected 2026-09-26 00:47:36 UTC 63,795 bytes, 29 lines download raw bytes

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