1 2(function(){"use strict";var _o=document.createElement("style");_o.textContent=`.tf-v1-widget{width:100%;height:100%;min-height:inherit;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;min-height:inherit}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100%!important;height:100%!important}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:400;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1}.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}@media (min-width: 481px){.tf-v1-widget-fullscreen .tf-v1-widget-close{color:#fff!important}}.tf-v1-widget-fullscreen iframe{border-radius:0}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000bf;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out;z-index:10001;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:400;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:-34px;right:0;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}@media (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff!important}}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media (max-width: 480px){.tf-v1-popup{width:100%!important;height:100%!important}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:400;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}}@media (max-width: 480px)and (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff!important}} 3/*$vite$:1*/`,document.head.appendChild(_o);var Gs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xo={exports:{}};(function(s,e){(function(t,r){s.exports=r()})(Gs,function(){return function(){var t={8027:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DEFAULT_DOMAIN=n.POPUP_SIZE=n.SLIDER_WIDTH=n.SLIDER_POSITION=n.LIVE_EMBED_ATTRIBUTE=n.SIDETAB_ATTRIBUTE=n.WIDGET_ATTRIBUTE=n.SLIDER_ATTRIBUTE=n.POPUP_ATTRIBUTE=n.POPOVER_ATTRIBUTE=void 0,n.POPOVER_ATTRIBUTE="data-tf-popover",n.POPUP_ATTRIBUTE="data-tf-popup",n.SLIDER_ATTRIBUTE="data-tf-slider",n.WIDGET_ATTRIBUTE="data-tf-widget",n.SIDETAB_ATTRIBUTE="data-tf-sidetab",n.LIVE_EMBED_ATTRIBUTE="data-tf-live",n.SLIDER_POSITION="right",n.SLIDER_WIDTH=800,n.POPUP_SIZE=100,n.DEFAULT_DOMAIN="form.typeform.com"},7528:function(i,n,a){var o=this&&this.__assign||function(){return o=Object.assign||function(h){for(var m,g=1,b=arguments.length;g<b;g++)for(var v in m=arguments[g])Object.prototype.hasOwnProperty.call(m,v)&&(h[v]=m[v]);return h},o.apply(this,arguments)},l=this&&this.__rest||function(h,m){var g={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(g[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function"){var v=0;for(b=Object.getOwnPropertySymbols(h);v<b.length;v++)m.indexOf(b[v])<0&&Object.prototype.propertyIsEnumerable.call(h,b[v])&&(g[b[v]]=h[b[v]])}return g};Object.defineProperty(n,"__esModule",{value:!0}),n.createPopover=void 0;var u=a(6797),c=a(1320),d=function(h,m){var g=h.parentNode;g&&(g.removeChild(h),g.appendChild(m))},f=function(h,m){h===void 0&&(h="span"),m===void 0&&(m="tf-v1-popover-button-icon");var g=document.createElement(h);return g.className="".concat(m," tf-v1-close-icon"),g.innerHTML="×",g.dataset.testid=m,g},p={buttonColor:"#3a7685"};n.createPopover=function(h,m){m===void 0&&(m={});var g,b,v,y=o(o({},p),m),w=y.domain,_=l(y,["domain"]),P=(0,u.createIframe)("popover",{formId:h,domain:w,options:_}),O=P.iframe,E=P.embedId,S=P.refresh,C=P.focus,D=function($,B){var j=document.createElement("div");return j.className="tf-v1-popover",j.dataset.testid="tf-v1-popover",(0,u.setElementSize)(j,{width:$,height:B})}(_.width,_.height),x=function(){var $=document.createElement("div");return $.className="tf-v1-popover-wrapper",$.dataset.testid="tf-v1-popover-wrapper",$}(),T=function($,B){var j=(0,u.getTextColor)(B),H=document.createElement("div");H.className="tf-v1-popover-button-icon";var Y=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 4 <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 6 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 8 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="`.concat(j,`"></path> 9 </svg>`),U=$==null?void 0:$.startsWith("http");return H.innerHTML=U?"<img alt='popover trigger icon button' src='".concat($,"'/>"):$??Y,H.dataset.testid="default-icon",H}(_.customIcon,_.buttonColor||p.buttonColor),M=function(){var $=document.createElement("div");$.className="tf-v1-spinner";var B=document.createElement("div");return B.className="tf-v1-popover-button-icon",B.dataset.testid="spinner-icon",B.append($),B}(),L=f(),z=f("button","tf-v1-popover-close"),k=function($,B){B===void 0&&(B={});var j=(0,u.getTextColor)($),H=document.createElement("button");return H.className="tf-v1-popover-button",H.dataset.testid="tf-v1-popover-button",H.style.backgroundColor=$,H.style.color=j,(0,u.addAttributesToElement)(H,B),H}(_.buttonColor||p.buttonColor,_.buttonProps);(_.container||document.body).append(D),x.append(O),D.append(k),D.append(z),k.append(T);var A=function(){b&&b.parentNode&&(b.classList.add("closing"),setTimeout(function(){(0,u.unmountElement)(b)},250))};_.tooltip&&_.tooltip.length>0&&(b=function($,B){var j=document.createElement("span");j.className="tf-v1-popover-tooltip-close",j.dataset.testid="tf-v1-popover-tooltip-close",j.innerHTML="×",j.onclick=B;var H=document.createElement("div");H.className="tf-v1-popover-tooltip-text",H.innerHTML=$;var Y=document.createElement("div");return Y.className="tf-v1-popover-tooltip",Y.dataset.testid="tf-v1-popover-tooltip",Y.appendChild(H
vendor: 11,456 bytes, lines 9-11
9),Y.appendChild(j),Y}(_.tooltip,A),D.append(b)),_.notificationDays&&(_.enableSandbox||(0,c.canBuildNotificationDot)(h))&&(v=(0,c.buildNotificationDot)(),k.append(v)),O.onload=function($){$!=null&&$.isTrusted&&(D.classList.add("open"),x.style.opacity="1",z.style.opacity="1",d(M,L),(0,u.addCustomKeyboardListener)(I))};var R=function(){(0,u.isOpen)(x)||(A(),v&&(v.classList.add("closing"),_.notificationDays&&!_.enableSandbox&&(0,c.saveNotificationDotHideUntilTime)(h,_.notificationDays),setTimeout(function(){(0,u.unmountElement)(v)},250)),setTimeout(function(){(0,u.isInPage)(x)?(x.style.opacity="0",z.style.opacity="0",x.style.display="flex",setTimeout(function(){D.classList.add("open"),x.style.opacity="1",z.style.opacity="1"}),d(T,L)):(D.append(x),d(T,M),x.style.opacity="0",z.style.opacity="0")}))},I=function(){var $;(0,u.isOpen)(D)&&((0,u.handlePreventReopenOnClose)(_,h),($=m.onClose)===null||$===void 0||$.call(m),setTimeout(function(){_.keepSession?x.style.display="none":(0,u.unmountElement)(x),D.classList.remove("open"),d(L,T)},250))};(0,u.setAutoClose)(E,_.autoClose,I);var F=function(){(0,u.isOpen)(x)?I():R()};return k.onclick=(0,u.invokeWithoutDefault)(F),z.onclick=(0,u.invokeWithoutDefault)(I),_.open&&!(0,u.isOpen)(x)&&(g=(0,u.handleCustomOpen)(R,_,h)),{open:R,close:I,toggle:F,refresh:S,focus:C,unmount:function(){(0,u.unmountElement)(D),_.open&&(g!=null&&g.remove)&&g.remove()}}}},1797:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(7528),n),l(a(6100),n)},1320:function(i,n){var a=this&&this.__assign||function(){return a=Object.assign||function(c){for(var d,f=1,p=arguments.length;f<p;f++)for(var h in d=arguments[f])Object.prototype.hasOwnProperty.call(d,h)&&(c[h]=d[h]);return c},a.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.buildNotificationDot=n.canBuildNotificationDot=n.saveNotificationDotHideUntilTime=void 0;var o="tfNotificationData",l=function(){var c=localStorage.getItem(o);return c?JSON.parse(c):{}},u=function(c){c&&localStorage.setItem(o,JSON.stringify(c))};n.saveNotificationDotHideUntilTime=function(c,d){var f,p=new Date;p.setDate(p.getDate()+d),u(a(a({},l()),((f={})[c]={hideUntilTime:p.getTime()},f)))},n.canBuildNotificationDot=function(c){var d=function(f){var p;return((p=l()[f])===null||p===void 0?void 0:p.hideUntilTime)||0}(c);return new Date().getTime()>d&&(d&&function(f){var p=l();delete p[f],u(p)}(c),!0)},n.buildNotificationDot=function(){var c=document.createElement("span");return c.className="tf-v1-popover-unread-dot",c.dataset.testid="tf-v1-popover-unread-dot",c}},6100:function(i,n){Object.defineProperty(n,"__esModule",{value:!0})},9630:function(i,n,a){var o=this&&this.__rest||function(d,f){var p={};for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&f.indexOf(h)<0&&(p[h]=d[h]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function"){var m=0;for(h=Object.getOwnPropertySymbols(d);m<h.length;m++)f.indexOf(h[m])<0&&Object.prototype.propertyIsEnumerable.call(d,h[m])&&(p[h[m]]=d[h[m]])}return p};Object.defineProperty(n,"__esModule",{value:!0}),n.createPopup=void 0;var l=a(6797),u=a(8027),c=a(6797);n.createPopup=function(d,f){if(f===void 0&&(f={}),!(0,l.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var p,h=f.width,m=f.height,g=f.size,b=g===void 0?u.POPUP_SIZE:g,v=f.onClose,y=f.domain,w=o(f,["width","height","size","onClose","domain"]),_=(0,l.createIframe)("popup",{formId:d,domain:y,options:w}),P=_.iframe,O=_.embedId,E=_.refresh,S=_.focus,C=document.body.style.overflow,D=function(){var A=document.createElement("div");return A.className="tf-v1-popup",A.dataset.testid="tf-v1-popup",A.style.opacity="0",A}(),x=function(){var A=document.createElement("div");return A.className="tf-v1-spinner",A}(),T=function(A,R,I){var F=document.createElement("div");return F.className="tf-v1-iframe-wrapper",F.style.opacity="0",(0,l.isDefined)(A)&&(0,l.isDefined)(R)?(0,l.setElementSize)(F,{width:A,height:R}):(F.style.width="calc(".concat(I,"% - 80px)"),F.style.height="calc(".concat(I,"% - 80px)"),F)}(h,m,b);T.append(P),D.append(x),D.append(T);var M=w.container||document.body;P.onload=function(A){A!=null&&A.isTrusted&&(T.style.opacity="1",setTimeout(function(){x.style.display="none"},250),(0,l.addCustomKeyboardListener)(z))};var L=function(){(0,c.isOpen)(D)||((0,c.isInPage)(D)?D.style.display="flex":(x.style.display="block",M.append(D)),document.body.style.overflow="hidden",setTimeout(function(){D.style.opacity="1"}))},z=function(){(0,c.isOpen)(D)&&((0,l.handlePreventReopenOnClose)(w,d),v==null||v(),D.style.opacity="0",document.body.style.overflow=C,setTimeout(function(){w.keepSession?D.style.display="none":k()},250))};T.append(function(A){var R=document.createElement("button");return R.className="tf-v1-close tf-v1-close-icon",R.innerHTML="×",R.ariaLabel="Close",R.onclick=(0,l.invokeWithoutDefault)(A),R}(z)),(0,l.setAutoClose)(O,w.autoClose,z),w.open&&!(0,c.isOpen)(D)&&(p=(0,l.handleCustomOpen)(L,w,d));var k=function(){(0,l.unmountElement)(D),w.open&&(p!=null&&p.remove)&&p.remove()};return{open:L,close:z,toggle:function(){(0,c.isOpen)(D)?z():L()},refresh:E,focus:S,unmount:k}}},5970:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(9630),n),l(a(7394),n)},7394:function(i,n){Object.defineProperty(n,"__esModule",{value:!0})},382:function(i,n,a){var o=this&&this.__assign||function(){return o=Object.assign||function(p){for(var h,m=1,g=arguments.length;m<g;m++)for(var b in h=arguments[m])Object.prototype.hasOwnProperty.call(h,b)&&(p[b]=h[b]);return p},o.apply(this,arguments)},l=this&&this.__rest||function(p,h){var m={};for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&h.indexOf(g)<0&&(m[g]=p[g]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var b=0;for(g=Object.getOwnPropertySymbols(p);b<g.length;b++)h.indexOf(g[b])<0&&Object.prototype.propertyIsEnumerable.call(p,g[b])&&(m[g[b]]=p[g[b]])}return m};Object.defineProperty(n,"__esModule",{value:!0}),n.createSidetab=void 0;var u=a(6797),c={buttonColor:"#3a7685",buttonText:"Launch me"},d=function(p,h){p===void 0&&(p="div"),h===void 0&&(h="tf-v1-sidetab-button-icon");var m=document.createElement(p);return m.className="".concat(h," tf-v1-close-icon"),m.innerHTML="×",m.dataset.testid=h,m},f=function(p,h){var m=p.parentNode;m&&(m.removeChild(p),m.appendChild(h))};n.createSidetab=function(p,h){h===void 0&&(h={});var m,g=o(o({},c),h),b=g.domain,v=l(g,["domain"]),y=(0,u.createIframe)("side-tab",{formId:p,domain:b,options:v}),w=y.iframe,_=y.embedId,P=y.refresh,O=y.focus,E=function(R,I,F,$){var B=document.createElement("div");return B.className="tf-v1-sidetab",B.dataset.testid="tf-v1-sidetab",(0,u.setElementSize)(B,{width:R,height:I}),F!==void 0?(B.style.top="calc(".concat((0,u.getValueWithUnits)(F)," + ").concat((0,u.getValueWithUnits)(I||580)," / 2)"),B.style.bottom="auto"):$!==void 0&&(B.style.top="auto",B.style.bottom="calc(".concat((0,u.getValueWithUnits)($)," - ").concat((0,u.getValueWithUnits)(I||580)," / 2)")),B}(v.width,v.height,v.top,v.bottom),S=function(){var R=document.createElement("div");return R.className="tf-v1-sidetab-wrapper",R.dataset.testid="tf-v1-sidetab-wrapper",R}(),C=function(){var R=document.createElement("div");R.className="tf-v1-spinner";var I=document.createElement("div");return I.className="tf-v1-sidetab-button-icon",I.dataset.testid="spinner-icon",I.append(R),I}(),D=function(R){var I=R.backgroundColor,F=R.textColor,$=R.width,B=R.height,j=R.align,H=j===void 0?"center":j,Y=R.buttonProps,U=Y===void 0?{}:Y,re=document.createElement("button");return re.className="tf-v1-sidetab-button",re.style.backgroundColor=I,re.style.color=F||(0,u.getTextColor)(I),(0,u.addAttributesToElement)(re,U),(0,u.setElementSize)(re,{width:$,height:B}),B&&(re.style.left="-".concat((0,u.getValueWithUnits)(B))),H==="top"?(re.style.transform="rotate(-90deg) translateX(-100%)",re.style.top="0"):H==="bottom"&&(re.style.transform="rotate(-90deg) translateX(0)",re.style.top="auto",re.style.bottom="-".concat((0,u.getValueWithUnits)(B||48))),re}({backgroundColor:v.buttonColor||c.buttonColor,textColor:v.buttonTextColor,width:v.buttonHeight,height:v.buttonWidth,align:v.buttonAlign,buttonProps:v.buttonProps}),x=function(R,I){var F=document.createElement("span");return F.className="tf-v1-sidetab-button-text",F.innerHTML=R,I&&(F.style.fontSize=(0,u.getValueWithUnits)(I)),F}(v.buttonText||c.buttonText,v.buttonTextSize),T=function(R,I,F,$){var B=F||(0,u.getTextColor)(I),j=document.createElement("div");j.className="tf-v1-sidetab-button-icon",$&&(j.style.width=(0,u.getValueWithUnits)($),j.style.height=(0,u.getValueWithUnits)($));var H=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 10 <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="`.concat(B,`"></path> 11 </svg>`),Y=R==null?void 0:R.startsWith("http");return j.innerHTML=Y?"<img alt='popover trigger icon button' src='".concat(R,"'/>"):R??H,j.dataset.testid="default-icon",j}(v.customIcon,v.buttonColor||c.buttonColor,v.buttonTextColor,v.buttonTextSize),M=d(),L=d("button","tf-v1-sidetab-close");(v.container||document.body).append(E),S.append(w),E.append(D),E.append(L),D.append(T),D.append(x),setTimeout(function(){E.classList.add("ready")},250),w.onload=function(R){R!=null&&R.isTrusted&&(E.classList.add("open"),f(C,M),(0,u.addCustomKeyboardListener)(k))};var z=function(){(0,u.isOpen)(S)||((0,u.isInPage)(S)?(S.style.display="flex",E.classList.add("open"),f(T,M)):(E.append(S),f(T,C)))},k=function(){var R;(0,u.isOpen)(S)&&((0,u.handlePreventReopenOnClose)(v,p),(R=v.onClose)===null||R===void 0||R.call(v),E.classList.remove("open"),setTimeout(function(){v.keepSession?S.style.display="none":(0,u.unmountElement)(S),f(M,T)},250))};(0,u.setAutoClose)(_,v.autoClose,k);var A=function(){(0,u.isOpen)(S)?k():z()};return D.onclick=(0,u.invokeWithoutDefault)(A),L.onclick=(0,u.invokeWithoutDefault)(k),v.open&&!(0,u.isOpen)(S)&&(m=(0,u.handleCustomOpen)(z,v,p)),{open:z,close:k,toggle:A,refresh:P,focus:O,unmount:function(){(0,u.unmountElement)(E),v.o
11pen&&(m!=null&&m.remove)&&m.remove()}}}},1434:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(382),n),l(a(7668),n)},7668:function(i,n){Object.defineProperty(n,"__esModule",{value:!0})},2603:function(i,n,a){var o=this&&this.__rest||function(c,d){var f={};for(var p in c)Object.prototype.hasOwnProperty.call(c,p)&&d.indexOf(p)<0&&(f[p]=c[p]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function"){var h=0;for(p=Object.getOwnPropertySymbols(c);h<p.length;h++)d.indexOf(p[h])<0&&Object.prototype.propertyIsEnumerable.call(c,p[h])&&(f[p[h]]=c[p[h]])}return f};Object.defineProperty(n,"__esModule",{value:!0}),n.createSlider=void 0;var l=a(6797),u=a(8027);n.createSlider=function(c,d){if(d===void 0&&(d={}),!(0,l.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var f,p=d.position,h=p===void 0?u.SLIDER_POSITION:p,m=d.width,g=m===void 0?u.SLIDER_WIDTH:m,b=d.onClose,v=d.domain,y=o(d,["position","width","onClose","domain"]),w=(0,l.createIframe)("slider",{formId:c,domain:v,options:y}),_=w.iframe,P=w.embedId,O=w.refresh,E=w.focus,S=document.body.style.overflow,C=function(k){var A=document.createElement("div");return A.className="tf-v1-slider ".concat(k),A.dataset.testid="tf-v1-slider",A.style.opacity="0",A}(h),D=function(){var k=document.createElement("div");return k.className="tf-v1-spinner",k}(),x=function(k,A){var R=document.createElement("div");return R.className="tf-v1-iframe-wrapper",R.style[k]="-100%",(0,l.setElementSize)(R,{width:A})}(h,g);x.append(_),C.append(D),C.append(x);var T=y.container||document.body;_.onload=function(k){k!=null&&k.isTrusted&&(x.style[h]="0",setTimeout(function(){D.style.display="none"},500),(0,l.addCustomKeyboardListener)(L))};var M=function(){(0,l.isOpen)(C)||((0,l.isInPage)(C)?(C.style.display="flex",setTimeout(function(){x.style[h]="0"})):(T.append(C),D.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){C.style.opacity="1"}))},L=function(){(0,l.isOpen)(C)&&((0,l.handlePreventReopenOnClose)(y,c),b==null||b(),C.style.opacity="0",x.style[h]="-100%",document.body.style.overflow=S,setTimeout(function(){y.keepSession?C.style.display="none":z()},500))};(0,l.setAutoClose)(P,y.autoClose,L),x.append(function(k){var A=document.createElement("button");return A.className="tf-v1-close tf-v1-close-icon",A.innerHTML="×",A.ariaLabel="Close",A.onclick=(0,l.invokeWithoutDefault)(k),A}(L)),y.open&&!(0,l.isOpen)(C)&&(f=(0,l.handleCustomOpen)(M,y,c));var z=function(){(0,l.unmountElement)(C),y.open&&(f!=null&&f.remove)&&f.remove()};return{open:M,close:L,toggle:function(){(0,l.isOpen)(C)?L():M()},refresh:O,focus:E,unmount:z}}},4071:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(2603),n),l(a(3162),n)},3162:function(i,n){Object.defineProperty(n,"__esModule",{value:!0})},718:function(i,n,a){var o=this&&this.__rest||function(p,h){var m={};for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&h.indexOf(g)<0&&(m[g]=p[g]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var b=0;for(g=Object.getOwnPropertySymbols(p);b<g.length;b++)h.indexOf(g[b])<0&&Object.prototype.propertyIsEnumerable.call(p,g[b])&&(m[g[b]]=p[g[b]])}return m},l=this&&this.__read||function(p,h){var m=typeof Symbol=="function"&&p[Symbol.iterator];if(!m)return p;var g,b,v=m.call(p),y=[];try{for(;(h===void 0||h-->0)&&!(g=v.next()).done;)y.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(m=v.return)&&m.call(v)}finally{if(b)throw b.error}}return y};Object.defineProperty(n,"__esModule",{value:!0}),n.createWidget=void 0;var u=a(6797),c=a(8554),d=a(2313),f=a(1126);n.createWidget=function(p,h){if(!(0,u.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var m=h.domain,g=o(h,["domain"]);
11g.inlineOnMobile=h.inlineOnMobile||h.fullScreen,g.inlineOnMobile||!g.forceTouch&&!(0,u.isFullscreen)()||(g.displayAsFullScreenModal=!0,g.forceTouch=!0,g.autoResize=!1);var b=(0,u.createIframe)("widget",{formId:p,domain:m,options:g}),v=b.embedId,y=b.iframe,w=b.refresh,_=b.focus,P=(0,d.buildWidget)(y,g.width,g.height);if(g.fullScreen&&(0,f.overrideFullScreenStyles)(h.container,y),g.autoResize){var O=l(typeof g.autoResize=="string"?g.autoResize.split(",").map(function(z){return parseInt(z)}):[],2),E=O[0],S=O[1];window.addEventListener("message",(0,c.getFormHeightChangedHandler)(v,function(z){var k=Math.max(z.height,E||0);S&&(k=Math.min(k,S)),h.container.style.height="".concat(k,"px")}))}g.autoFocus&&window.addEventListener("message",(0,c.getFormReadyHandler)(v,function(){setTimeout(function(){_()},1e3)}));var C,D=function(){return h.container.append(P)};if(h.container.innerHTML="",h.lazy?(0,u.lazyInitialize)(h.container,D):D(),g.displayAsFullScreenModal){var x="",T=h.container,M=T.style.height;window.addEventListener("message",(0,c.getWelcomeScreenHiddenHandler)(v,function(){T.classList.add("tf-v1-widget-fullscreen"),h.opacity!==void 0&&(T.style.backgroundColor=x)})),window.addEventListener("message",(0,c.getFormThemeHandler)(v,function(z){var k;x=(0,u.changeColorOpacity)((k=z==null?void 0:z.theme)===null||k===void 0?void 0:k.backgroundColor)}));var L=((C=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",C.innerHTML="×",C.ariaLabel="Close",C);L.onclick=(0,u.invokeWithoutDefault)(function(){var z;if(T.style.height=M,(z=h.onClose)===null||z===void 0||z.call(h),T.classList.remove("tf-v1-widget-fullscreen"),T.style.backgroundColor="",h.keepSession){var k=document.createElement("div");k.className="tf-v1-widget-iframe-overlay",k.onclick=function(){T.classList.add("tf-v1-widget-fullscreen"),(0,u.unmountElement)(k)},P.append(k)}else h.container.innerHTML="",D(),T.append(L)}),T.append(L)}return{refresh:w,focus:_,unmount:function(){(0,u.unmountElement)(P)}}}},1419:function(i,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.buildWidget=void 0;var o=a(6797);n.buildWidget=function(l,u,c){var d=document.createElement("div");return d.className="tf-v1-widget",d.dataset.testid="tf-v1-widget",d.append(l),(0,o.setElementSize)(d,{width:u,height:c})}},2313:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(1419),n)},1126:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.overrideFullScreenStyles=void 0,n.overrideFullScreenStyles=function(a,o){Object.assign(a.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),o.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(718),n),l(a(4058),n)},4058:function(i,n){Object.defineProperty(n,"__esModule",{value:!0})},1920:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(1797),n),l(a(5970),n),l(a(4071),n),l(a(9321),n),l(a(1434),n)},5084:function(i,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.addAttributesToElement=void 0;var o=a(7377);n.addAttributesToElement=function(l,u){u===void 0&&(u={}),Object.keys(u).forEach(function(c){l.setAttribute((0,o.camelCaseToKebabCase)(c),u[c])})}},3626:function(i,n,a){var o=this&&this.__assign||function(){return o=Object.assign||function(m){for(var g,b=1,v=arguments.length;b<v;b++)for(var y in g=arguments[b])Object.prototype.hasOwnProperty.call(g,y)&&(m[y]=g[y]);return m},o.apply(this,arguments)},l=this&&this.__read||function(m,g){var b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var v,y,w=b.call(m),_=[];try{for(;(g===void 0||g-->0)&&!(v=w.next()).done;)_.push(v.value)}catch(P){y={error:P}}finally{try{v&&!v.done&&(b=w.return)&&b.call(w)}finally{if(y)throw y.error}}return _};Object.defineProperty(n,"__esModule",{value:!0}),n.buildIframeSrc=void 0;var u=a(8027),c=a(4527),d=a(2346),f=a(2698),p=a(863),h={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};n.buildIframeSrc=function(m){var g=m.domain,b=m.formId,v=m.type,y=m.embedId,w=m.options,_=function(E,S,C){var D=C.transitiveSearchParams,x=C.source,T=C.medium,M=C.mediumVersion,L=C.hideFooter,z=C.hideHeaders,k=C.opacity,A=C.disableTracking,R=C.enableSandbox,I=C.shareGaInstance,F=C.forceTouch,$=C.displayAsFullScreenModal,B=C.tracking,j=C.redirectTarget,H=C.autoResize,Y=C.disableScroll,U=C.onEndingButtonClick,re=C.noHeading,be=C.noScrollbars,Le=(0,f.getTransitiveSearchParams)(D);return o(o(o({},{"typeform-embed-id":S,"typeform-embed":h[E],"typeform-source":x,"typeform-medium":T,"typeform-medium-version":M,"embed-hide-footer":L?"true":void 0,"embed-hide-headers":z?"true":void 0,"embed-opacity":k,"disable-tracking":A||R?"true":void 0,"__dangerous-disable-submissions":R?"true":void 0,"share-ga-instance":I?"true":void 0,"force-touch":F?"true":void 0,"add-placeholder-ws":E==="widget"&&$?"true":void 0,"typeform-embed-redirect-target":j,"typeform-embed-handles-redirect":1,"typeform-embed-auto-resize":H?"true":void 0,"typeform-embed-disable-scroll":Y?"true":void 0,"typeform-embed-handle-ending-button-click":U?"true":void 0,"typeform-embed-no-heading":re?"true":void 0,"typeform-embed-no-scrollbars":be?"true":void 0}),Le),B)}(v,y,function(E){return E.noHeading||(E.noHeading=document.querySelectorAll("h1").length>0),o(o({},{source:(S=window==null?void 0:window.location)===null||S===void 0?void 0:S.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,c.removeUndefinedKeys)(E));var S}(w)),P=function(E,S){return S===void 0&&(S=u.DEFAULT_DOMAIN),E.startsWith("http://")||E.startsWith("https://")?new URL(E):new URL("https://".concat(S,"/to/").concat(E))}(b,g);if(Object.entries(_).filter(function(E){var S=l(E,2)[1];return(0,d.isDefined)(S)}
11).forEach(function(E){var S=l(E,2),C=S[0],D=S[1];P.searchParams.set(C,D)}),w.hubspot){var O=(0,p.getHubspotHiddenFields)();w.hidden=o(o({},w.hidden),O)}return P.hash=function(E,S){var C=new URLSearchParams;S.hidden&&Object.entries(S.hidden).filter(function(M){var L=l(M,2)[1];return(0,d.isDefined)(L)&&L!==""}).forEach(function(M){var L=l(M,2),z=L[0],k=L[1];typeof S.transitiveSearchParams=="boolean"&&E.searchParams.delete(z),C.set(z,k)});var D=function(M){if(!M)return null;var L=Object.keys(M).at(0),z=L&&M[L]||void 0;return L===void 0||z===void 0?null:{key:"answers-".concat(L),value:z}}(S.preselect);if(D){var x=D.key,T=D.value;C.set(x,T)}return C.toString()}(P,w),P.href}},2391:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.changeColorOpacity=void 0,n.changeColorOpacity=function(a,o){return a===void 0&&(a=""),o===void 0&&(o=255),a.startsWith("rgba(")?a==null?void 0:a.replace(/, [\d.]+\)$/,", ".concat(o,")")):a}},8972:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.handleCustomOpen=n.handlePreventReopenOnClose=void 0;var a={remove:function(){}};n.handlePreventReopenOnClose=function(u,c){u.preventReopenOnClose&&l(c)},n.handleCustomOpen=function(u,c,d){var f=c.open,p=c.openValue,h=c.preventReopenOnClose,m=function(g,b,v,y){return function(){var w,_;if(!(y&&o(b)||v==="all"&&(_=document.querySelector(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper"),(_==null?void 0:_.offsetHeight)||(_==null?void 0:_.offsetWidth)||((w=_==null?void 0:_.getClientRects())===null||w===void 0?void 0:w.length))||v==="same"&&function(P){var O=document.querySelectorAll(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper");return Array.from(O).some(function(E){var S,C=(S=E.querySelector("iframe"))===null||S===void 0?void 0:S.src;return(C==null?void 0:C.includes("typeform.com/to/".concat(P)))||(C==null?void 0:C.startsWith(P))})}(b)))return g()}}(u,d,c.respectOpenModals,h);switch(f){case"load":return m(),a;case"exit":return p?function(g,b){var v=0,y=function(w){w.clientY<g&&w.clientY<v?(document.removeEventListener("mousemove",y,!0),b()):v=w.clientY};return document.addEventListener("mousemove",y,!0),{remove:function(){return document.removeEventListener("mousemove",y,!0)}}}(p,m):a;case"time":return setTimeout(function(){m()},p),a;case"scroll":return p?function(g,b){function v(){var y=window.pageYOffset||document.documentElement.scrollTop,w=document.documentElement.clientTop||0,_=document.documentElement.scrollHeight,P=y-w,O=P/_*100,E=P+window.innerHeight>=_;(O>=g||E)&&(b(),document.removeEventListener("scroll",v))}return document.addEventListener("scroll",v),{remove:function(){return document.removeEventListener("scroll",v)}}}(p,m):a;default:return a}};var o=function(u){return document.cookie.includes("tf-".concat(u,"-closed=true"))},l=function(u){document.cookie="tf-".concat(u,"-closed=true;Path=/")}},1553:function(i,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.createIframe=void 0;var o=a(3626),l=a(6797),u=a(8866),c=a(8554),d=a(2256),f=a(7144),p=a(5511);n.createIframe=function(h,m){var g=m.formId,b=m.domain,v=m.options,y=(0,u.generateEmbedId)(),w=v.iframeProps,_=w===void 0?{}:w,P=v.onReady,O=v.onStarted,E=v.onQuestionChanged,S=v.onHeightChanged,C=v.onSubmit,D=v.onEndingButtonClick,x=v.onDuplicateDetected,T=v.shareGaInstance,M=(0,o.buildIframeSrc)({formId:g,domain:b,embedId:y,type:h,options:v}),L=document.createElement("iframe");return L.src=M,L.dataset.testid="iframe",L.style.border="0px",L.allow="microphone; camera",(0,l.addAttributesToElement)(L,_),L.addEventListener("load",d.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,c.getFormReadyHandler)(y,P)),window.addEventListener("message",(0,c.getFormStartedHandler)(y,O)),window.addEventListener("message",(0,c.getFormQuestionChangedH
11andler)(y,E)),window.addEventListener("message",(0,c.getFormHeightChangedHandler)(y,S)),window.addEventListener("message",(0,c.getFormSubmitHandler)(y,C)),window.addEventListener("message",(0,c.getFormThemeHandler)(y,function(z){var k;if(z!=null&&z.theme){var A=document.querySelector(".tf-v1-close-icon");A&&(A.style.color=(k=z.theme)===null||k===void 0?void 0:k.color)}})),window.addEventListener("message",(0,c.getThankYouScreenButtonClickHandler)(y,D)),window.addEventListener("message",(0,c.getRedirectHandler)(y,L)),window.addEventListener("message",(0,c.getDuplicateDetectedHandler)(y,x)),h!=="widget"&&window.addEventListener("message",f.dispatchCustomKeyEventFromIframe),T&&window.addEventListener("message",(0,c.getFormReadyHandler)(y,function(){(0,l.setupGaInstance)(L,y,T)})),{iframe:L,embedId:y,refresh:function(){return(0,p.refreshIframe)(L)},focus:function(){var z;(z=L.contentWindow)===null||z===void 0||z.postMessage("embed-focus","*")}}}},8866:function(i,n){var a=this&&this.__read||function(o,l){var u=typeof Symbol=="function"&&o[Symbol.iterator];if(!u)return o;var c,d,f=u.call(o),p=[];try{for(;(l===void 0||l-->0)&&!(c=f.next()).done;)p.push(c.value)}catch(h){d={error:h}}finally{try{c&&!c.done&&(u=f.return)&&u.call(f)}finally{if(d)throw d.error}}return p};Object.defineProperty(n,"__esModule",{value:!0}),n.generateEmbedId=void 0,n.generateEmbedId=function(){var o=Math.random();return a(String(o).split("."),2)[1]}},8554:function(i,n,a){var o=this&&this.__rest||function(d,f){var p={};for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&f.indexOf(h)<0&&(p[h]=d[h]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function"){var m=0;for(h=Object.getOwnPropertySymbols(d);m<h.length;m++)f.indexOf(h[m])<0&&Object.prototype.propertyIsEnumerable.call(d,h[m])&&(p[h[m]]=d[h[m]])}return p};Object.defineProperty(n,"__esModule",{value:!0}),n.getRedirectHandler=n.getThankYouScreenButtonClickHandler=n.getFormThemeHandler=n.getWelcomeScreenHiddenHandler=n.getDuplicateDetectedHandler=n.getFormSubmitHandler=n.getFormHeightChangedHandler=n.getFormQuestionChangedH
11andler=n.getFormStartedHandler=n.getFormReadyHandler=void 0;var l=a(8743);n.getFormReadyHandler=function(d,f){return c("form-ready",d,f)},n.getFormStartedHandler=function(d,f){return c("form-started",d,f)},n.getFormQuestionChangedHandler=function(d,f){return c("form-screen-changed",d,f)},n.getFormHeightChangedHandler=function(d,f){return c("form-height-changed",d,f)},n.getFormSubmitHandler=function(d,f){return c("form-submit",d,f)},n.getDuplicateDetectedHandler=function(d,f){return c("duplicate-detected",d,f)},n.getWelcomeScreenHiddenHandler=function(d,f){return c("welcome-screen-hidden",d,f)},n.getFormThemeHandler=function(d,f){return c("form-theme",d,f)},n.getThankYouScreenButtonClickHandler=function(d,f){return c("thank-you-screen-button-click",d,f)},n.getRedirectHandler=function(d,f){return c(["redirect-after-submit","thank-you-screen-redirect"],d,(0,l.handleFormRedirect)(f))};var u=function(d,f){return Array.isArray(d)?d.includes(f):d===f};function c(d,f,p){return function(h){var m=h.data,g=m.type,b=m.embedId,v=o(m,["type","embedId"]);u(d,g)&&b===f&&(p==null||p(v))}}},8743:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.handleFormRedirect=void 0,n.handleFormRedirect=function(a){return function(o){var l,u,c=o.url,d=o.target;if(c)switch(d===void 0?"_parent":d){case"_self":a.src=(l=a.src,(u=c).includes("#")&&u.startsWith("".concat(l,"#"))?u.includes("?")?u.replace("#","&tf-embed-ts=".concat(Date.now(),"#")):u.replace("#","?tf-embed-ts=".concat(Date.now(),"#")):u);break;case"_blank":window.open(c,"_blank");break;case"_top":var f=document.createElement("a");f.href=c,f.target="_top",document.body.appendChild(f),f.click(),document.body.removeChild(f);break;default:window.location.href=c}else console.error("Redirect failed, no URL provided")}}},339:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(1553),n),l(a(7144),n)},5511:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.refreshIframe=void 0,n.refreshIframe=function(a){if(a){var o=a.src;if(o.includes("&refresh")){var l=o.split("&refresh#");a.src=l.join("#")}else(l=o.split("#"))[0]="".concat(l[0],"&refresh"),a.src=l.join("#")}}},7144:function(i,n){var a=this&&this.__awaiter||function(c,d,f,p){return new(f||(f=Promise))(function(h,m){function g(y){try{v(p.next(y))}catch(w){m(w)}}function b(y){try{v(p.throw(y))}catch(w){m(w)}}function v(y){var w;y.done?h(y.value):(w=y.value,w instanceof f?w:new f(function(_){_(w)})).then(g,b)}v((p=p.apply(c,d||[])).next())})},o=this&&this.__generator||function(c,d){var f,p,h,m,g={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return m={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function b(v){return function(y){return function(w){if(f)throw new TypeError("Generator is already executing.");for(;m&&(m=0,w[0]&&(g=0)),g;)try{if(f=1,p&&(h=2&w[0]?p.return:w[0]?p.throw||((h=p.return)&&h.call(p),0):p.next)&&!(h=h.call(p,w[1])).done)return h;switch(p=0,h&&(w=[2&w[0],h.value]),w[0]){case 0:case 1:h=w;break;case 4:return g.label++,{value:w[1],done:!1};case 5:g.label++,p=w[1],w=[0];continue;case 7:w=g.ops.pop(),g.trys.pop();continue;default:if(!((h=(h=g.trys).length>0&&h[h.length-1])||w[0]!==6&&w[0]!==2)){g=0;continue}if(w[0]===3&&(!h||w[1]>h[0]&&w[1]<h[3])){g.label=w[1];break}if(w[0]===6&&g.label<h[1]){g.label=h[1],h=w;break}if(h&&g.label<h[2]){g.label=h[2],g.ops.push(w);break}h[2]&&g.ops.pop(),g.trys.pop();continue}w=d.call(c,g)}catch(_){w=[6,_],p=0}finally{f=h=0}if(5&w[0])throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}([v,y])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.dispatchCustomKeyEventFromIframe=n.removeCustomKeyboardListener=n.addCustomKeyboardListener=void 0;var l="Escape",u=function(c,d){return a(void 0,void 0,void 0,function(){return o(this,function(f){return c.code===l&&typeof d=="function"&&(d(),(0,n.removeCustomKeyboardListener)()),[2]})})};n.addCustomKeyboardListener=function(c){return window.document.addEventListener("keydown",function(d){return u(d,c)})},n.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",u)},n.dispatchCustomKeyEventFromIframe=function(c){c.data.type==="form-close"&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:l}))}},2256:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.triggerIframeRedraw=void 0,n.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(i,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.getTextColor=void 0;var o=a(2938);n.getTextColor=function(l){if(!l)return"#FFFFFF";var u=l.startsWith("#")?(0,o.hexRgb)(l):function(p){var h={red:0,green:0,blue:0},m=p.match(/\d+/g);return m&&(h.red=parseInt(m[0],10),h.green=parseInt(m[0],10),h.blue=parseInt(m[0],10)),h}(l),c=u.red,d=u.green,f=u.blue;return Math.round((299*c+587*d+114*f)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(i,n){var a=this&&this.__assign||function(){return a=Object.assign||function(o){for(var l,u=1,c=arguments.length;u<c;u++)for(var d in l=arguments[u])Object.prototype.hasOwnProperty.call(l,d)&&(o[d]=l[d]);return o},a.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.getTransitiveSearchParams=void 0,n.getTransitiveSearchParams=function(o){var l=new URL(window.location.href);return typeof o=="boolean"&&o?Object.fromEntries(l.searchParams.entr
11ies()):Array.isArray(o)&&o.length>0?o.reduce(function(u,c){var d,f=l.searchParams.get(c);return f?a(a({},u),((d={})[c]=f,d)):u},{}):{}}},8252:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hasDom=void 0,n.hasDom=function(){return typeof document<"u"&&typeof window<"u"}},2938:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hexRgb=void 0;var a="a-f\\d",o="#?[".concat(a,"]{3}[").concat(a,"]?"),l="#?[".concat(a,"]{6}([").concat(a,"]{2})?"),u=new RegExp("[^#".concat(a,"]"),"gi"),c=new RegExp("^".concat(o,"$|^").concat(l,"$"),"i");n.hexRgb=function(d){if(typeof d!="string"||u.test(d)||!c.test(d))throw new TypeError("Expected a valid hex string");(d=d.replace(/^#/,"")).length===8&&(d=d.slice(0,6)),d.length===4&&(d=d.slice(0,3)),d.length===3&&(d=d[0]+d[0]+d[1]+d[1]+d[2]+d[2]);var f=Number.parseInt(d,16);return{red:f>>16,green:f>>8&255,blue:255&f}}},863:function(i,n,a){var o=this&&this.__awaiter||function(c,d,f,p){return new(f||(f=Promise))(function(h,m){function g(y){try{v(p.next(y))}catch(w){m(w)}}function b(y){try{v(p.throw(y))}catch(w){m(w)}}function v(y){var w;y.done?h(y.value):(w=y.value,w instanceof f?w:new f(function(_){_(w)})).then(g,b)}v((p=p.apply(c,d||[])).next())})},l=this&&this.__generator||function(c,d){var f,p,h,m,g={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return m={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function b(v){return function(y){return function(w){if(f)throw new TypeError("Generator is already executing.");for(;m&&(m=0,w[0]&&(g=0)),g;)try{if(f=1,p&&(h=2&w[0]?p.return:w[0]?p.throw||((h=p.return)&&h.call(p),0):p.next)&&!(h=h.call(p,w[1])).done)return h;switch(p=0,h&&(w=[2&w[0],h.value]),w[0]){case 0:case 1:h=w;break;case 4:return g.label++,{value:w[1],done:!1};case 5:g.label++,p=w[1],w=[0];continue;case 7:w=g.ops.pop(),g.trys.pop();continue;default:if(!((h=(h=g.trys).length>0&&h[h.length-1])||w[0]!==6&&w[0]!==2)){g=0;continue}if(w[0]===3&&(!h||w[1]>h[0]&&w[1]<h[3])){g.label=w[1];break}if(w[0]===6&&g.label<h[1]){g.label=h[1],h=w;break}if(h&&g.label<h[2]){g.label=h[2],g.ops.push(w);break}h[2]&&g.ops.pop(),g.trys.pop();continue}w=d.call(c,g)}catch(_){w=[6,_],p=0}finally{f=h=0}if(5&w[0])throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}([v,y])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.waitForHubspotCookie=n.getHubspotHiddenFields=n.getHubspotCookieValue=void 0;var u=a(4623);n.getHubspotCookieValue=function(){var c=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return c&&c[2]||void 0},n.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:(0,n.getHubspotCookieValue)()}},n.waitForHubspotCookie=function(){return o(void 0,void 0,void 0,function(){var c,d;return l(this,function(f){switch(f.label){case 0:c=10,d=0,f.label=1;case 1:return!(0,n.getHubspotCookieValue)()&&d<c?[4,(0,u.sleep)(250)]:[3,4];case 2:f.sent(),f.label=3;case 3:return d++,[3,1];case 4:return[2]}})})}},9071:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.includeCss=void 0,n.includeCss=function(a){var o=function(u){return"".concat("https://embed.typeform.com/next/css/").concat(u)}(a);if(!document.querySelector('link[href="'.concat(o,'"]'))){var l=document.createElement("link");l.rel="stylesheet",l.href=o,document.head.append(l)}}},6797:function(i,n,a){var o=this&&this.__createBinding||(Object.create?function(u,c,d,f){f===void 0&&(f=d);var p=Object.getOwnPropertyDescriptor(c,d);p&&!("get"in p?!c.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(u,f,p)}:function(u,c,d,f){f===void 0&&(f=d),u[f]=c[d]}),l=this&&this.__exportStar||function(u,c){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(c,d)||o(c,u,d)};Object.defineProperty(n,"__esModule",{value:!0}),l(a(3626),n),l(a(339),n),l(a(8252),n),l(a(9071),n),l(a(2346),n),l(a(7377),n),l(a(6563),n),l(a(4527),n),l(a(9533),n),l(a(1451),n),l(a(8972),n),l(a(4748),n),l(a(4392),n),l(a(8939),n),l(a(9917),n),l(a(1987),n),l(a(2391),n),l(a(863),n),l(a(6890),n),l(a(5084),n)},6890:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.invokeWithoutDefault=void 0,n.invokeWithoutDefault=function(a){return function(o){o==null||o.preventDefault(),a()}}},2346:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isDefined=void 0,n.isDefined=function(a){return a!=null}},1987:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isVisible=n.isInPage=n.isOpen=void 0,n.isOpen=function(a){return(0,n.isInPage)(a)&&(0,n.isVisible)(a)},n.isInPage=function(a){return!!a.parentNode},n.isVisible=function(a){return a.style.display!=="none"}},9917:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.lazyInitialize=void 0,n.lazyInitialize=function(a,o){var l=new IntersectionObserver(function(u){u.forEach(function(c){c.isIntersecting&&(o(),l.unobserve(c.target))})});l.observe(a)}},7377:function(i,n){var a=this&&this.__assign||function(){return a=Object.assign||function(p){for(var h,m=1,g=arguments.length;m<g;m++)for(var b in h=arguments[m])Object.prototype.hasOwnProperty.call(h,b)&&(p[b]=h[b]);return p},a.apply(this,arguments)},o=this&&this.__read||function(p,h){var m=typeof Symbol=="function"&&p[Symbol.iterator];if(!m)return p;var g,b,v=m.call(p),y=[];try{for(;(h===void 0||h-->0)&&!(g=v.next()).done;)y.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(m=v.return)&&m.call(v)}finally{if(b)throw b.error}}return y};Object.defineProperty(n,"__esModule",{value:!0}),n.loadOptionsFromAttributes=n.transformAttributeValue=n.camelCaseToKebabCase=void 0,n.camel
11CaseToKebabCase=function(p){return p.split("").map(function(h,m){return h.toUpperCase()===h?"".concat(m!==0?"-":"").concat(h.toLowerCase()):h}).join("")};var l=function(p){return p||void 0},u=function(p){if(p!==null)return p===""||p==="yes"||p==="true"},c=function(p){var h=p?parseInt(p,10):NaN;return isNaN(h)?void 0:h},d="%ESCAPED_COMMA%",f=function(p){if(p)return p.replace(/\s/g,"").replace(/\\,/g,d).split(",").filter(function(h){return!!h}).map(function(h){return h.replace(d,",")})};n.transformAttributeValue=function(p,h){var m,g,b;switch(h){case"string":return l(p);case"boolean":return u(p);case"integer":return c(p);case"function":return function(v){var y=v&&v in window?window[v]:void 0;return typeof y=="function"?y:void 0}(p);case"array":return f(p);case"record":return function(v){if(v)return v.replace(/\\,/g,d).split(",").filter(function(y){return!!y}).map(function(y){return y.replace(d,",")}).reduce(function(y,w){var _,P=w.match(/^([^=]+)=(.*)$/);if(P){var O=o(P,3),E=O[1],S=O[2];return a(a({},y),((_={})[E.trim()]=S,_))}return y},{})}(p);case"integerOrString":return function(v){if(v)return v.match(/^[0-9]+$/)?c(v):l(v)}(p);case"integerOrBoolean":return(m=c(p))!==null&&m!==void 0?m:u(p);case"stringOrBoolean":return(g=l(p))!==null&&g!==void 0?g:u(p);case"arrayOrBoolean":return(b=f(p))!==null&&b!==void 0?b:u(p);default:throw new Error("Invalid attribute transformation ".concat(h))}},n.loadOptionsFromAttributes=function(p,h){return Object.keys(h).reduce(function(m,g){var b;return a(a({},m),((b={})[g]=(0,n.transformAttributeValue)(p.getAttribute("data-tf-".concat((0,n.camel
11CaseToKebabCase)(g))),h[g]),b))},{})}},6563:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isFullscreen=n.isMobile=n.isBigScreen=void 0,n.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},n.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},n.isFullscreen=function(){return(0,n.isMobile)()&&!(0,n.isBigScreen)()}},4527:function(i,n,a){var o=this&&this.__assign||function(){return o=Object.assign||function(c){for(var d,f=1,p=arguments.length;f<p;f++)for(var h in d=arguments[f])Object.prototype.hasOwnProperty.call(d,h)&&(c[h]=d[h]);return c},o.apply(this,arguments)},l=this&&this.__read||function(c,d){var f=typeof Symbol=="function"&&c[Symbol.iterator];if(!f)return c;var p,h,m=f.call(c),g=[];try{for(;(d===void 0||d-->0)&&!(p=m.next()).done;)g.push(p.value)}catch(b){h={error:b}}finally{try{p&&!p.done&&(f=m.return)&&f.call(m)}finally{if(h)throw h.error}}return g};Object.defineProperty(n,"__esModule",{value:!0}),n.removeUndefinedKeys=void 0;var u=a(2346);n.removeUndefinedKeys=function(c){return Object.entries(c).filter(function(d){var f=l(d,2)[1];return(0,u.isDefined)(f)}).reduce(function(d,f){var p,h=l(f,2),m=h[0],g=h[1];return o(o({},d),((p={})[m]=g,p))},{})}},4748:function(i,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.setAutoClose=n.DEFAULT_AUTO_CLOSE_TIME=void 0;var o=a(8554);n.DEFAULT_AUTO_CLOSE_TIME=500,n.setAutoClose=function(l,u,c){u&&c&&window.addEventListener("message",(0,o.getFormSubmitHandler)(l,function(){return setTimeout(c,(f=typeof(d=u)=="number"?d:0,Math.max(f,n.DEFAULT_AUTO_CLOSE_TIME)));var d,f}))}},9533:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.setElementSize=n.getValueWithUnits=void 0,n.getValueWithUnits=function(a){return typeof a!="string"||a.match(/^[0-9]+$/)?"".concat(a,"px"):a},n.setElementSize=function(a,o){var l=o.width,u=o.height;return l&&(a.style.width=(0,n.getValueWithUnits)(l)),u&&(a.style.height=(0,n.getValueWithUnits)(u)),a}},4392:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.setupGaInstance=n.sendGaIdMessage=void 0,n.sendGaIdMessage=function(l,u,c){var d={embedId:l,gaClientId:u};setTimeout(function(){c&&c.contentWindow&&c.contentWindow.postMessage({type:"ga-client-id",data:d},"*")},0)};var a=function(l){console.error(l)},o=function(l){a("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(l,`. 12 13`)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID. 14 15It is also possible the Google Analytics was blocked by your adblock plugin.`)};n.setupGaInstance=function(l,u,c){var d=typeof c=="string"?c:void 0;if(window.gtag){if(d||(d=function(){if(window.dataLayer){var h=window.dataLayer.find(function(m){return m.length>1&&m[0]==="config"});return h&&h[1]}}()),!d)return void o("the tracking ID could not be retrieved");var f=!1;window.gtag("get",d,"client_id",function(h){f=!0,(0,n.sendGaIdMessage)(u,h,l)}),setTimeout(function(){f||o("the tracker with ID ".concat(d," was not found"))},3e3)}else try{var p=function(h,m){return m?h.find(function(g){return g.get("trackingId")===m}):h[0]}(window.ga.getAll(),d);p?(0,n.sendGaIdMessage)(u,p.get("clientId"),l):o("the tracker with ID ".concat(d," was not found"))}catch(h){o("the Google Analytics object was not found"),a(h)}}},4623:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.sleep=void 0,n.sleep=function(a){return new Promise(function(o){return setTimeout(o,a)})}},1451:function(i,n){Object.defineProperty(n,"__esModule",{value:!0}),n.unmountElement=void 0,n.unmountElement=function(a){var o;(o=a.parentNode)===null||o===void 0||o.removeChild(a)}}},r={};return function i(n){var a=r[n];if(a!==void 0)return a.exports;var o=r[n]={exports:{}};return t[n].call(o.exports,o,o.exports,i),o.exports}(1920)}()})})(xo);var To=xo.exports;/*! @vimeo/player v2.24.0 | (c) 2024 Vimeo | MIT License | https://github.com/vimeo/player.js */function So(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(s);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable})),t.push.apply(t,r)}return t}function Eo(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};
vendor: 4,649 bytes, line 15
15e%2?So(Object(t),!0).forEach(function(r){Gn(s,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):So(Object(t)).forEach(function(r){Object.defineProperty(s,r,Object.getOwnPropertyDescriptor(t,r))})}return s}function st(){st=function(){return s};var s={},e=Object.prototype,t=e.hasOwnProperty,r=Object.defineProperty||function(x,T,M){x[T]=M.value},i=typeof Symbol=="function"?Symbol:{},n=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",o=i.toStringTag||"@@toStringTag";function l(x,T,M){return Object.defineProperty(x,T,{value:M,enumerable:!0,configurable:!0,writable:!0}),x[T]}try{l({},"")}catch{l=function(T,M,L){return T[M]=L}}function u(x,T,M,L){var z=T&&T.prototype instanceof f?T:f,k=Object.create(z.prototype),A=new S(L||[]);return r(k,"_invoke",{value:_(x,M,A)}),k}function c(x,T,M){try{return{type:"normal",arg:x.call(T,M)}}catch(L){return{type:"throw",arg:L}}}s.wrap=u;var d={};function f(){}function p(){}function h(){}var m={};l(m,n,function(){return this});var g=Object.getPrototypeOf,b=g&&g(g(C([])));b&&b!==e&&t.call(b,n)&&(m=b);var v=h.prototype=f.prototype=Object.create(m);function y(x){["next","throw","return"].forEach(function(T){l(x,T,function(M){return this._invoke(T,M)})})}function w(x,T){function M(z,k,A,R){var I=c(x[z],x,k);if(I.type!=="throw"){var F=I.arg,$=F.value;return $&&typeof $=="object"&&t.call($,"__await")?T.resolve($.__await).then(function(B){M("next",B,A,R)},function(B){M("throw",B,A,R)}):T.resolve($).then(function(B){F.value=B,A(F)},function(B){return M("throw",B,A,R)})}R(I.arg)}var L;r(this,"_invoke",{value:function(z,k){function A(){return new T(function(R,I){M(z,k,R,I)})}return L=L?L.then(A,A):A()}})}function _(x,T,M){var L="suspendedStart";return function(z,k){if(L==="executing")throw new Error("Generator is already running");if(L==="completed"){if(z==="throw")throw k;return D()}for(M.method=z,M.arg=k;;){var A=M.delegate;if(A){var R=P(A,M);if(R){if(R===d)continue;return R}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(L==="suspendedStart")throw L="completed",M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);L="executing";var I=c(x,T,M);if(I.type==="normal"){if(L=M.done?"completed":"suspendedYield",I.arg===d)continue;return{value:I.arg,done:M.done}}I.type==="throw"&&(L="completed",M.method="throw",M.arg=I.arg)}}}function P(x,T){var M=T.method,L=x.iterator[M];if(L===void 0)return T.delegate=null,M==="throw"&&x.iterator.return&&(T.method="return",T.arg=void 0,P(x,T),T.method==="throw")||M!=="return"&&(T.method="throw",T.arg=new TypeError("The iterator does not provide a '"+M+"' method")),d;var z=c(L,x.iterator,T.arg);if(z.type==="throw")return T.method="throw",T.arg=z.arg,T.delegate=null,d;var k=z.arg;return k?k.done?(T[x.resultName]=k.value,T.next=x.nextLoc,T.method!=="return"&&(T.method="next",T.arg=void 0),T.delegate=null,d):k:(T.method="throw",T.arg=new TypeError("iterator result is not an object"),T.delegate=null,d)}function O(x){var T={tryLoc:x[0]};1 in x&&(T.catchLoc=x[1]),2 in x&&(T.finallyLoc=x[2],T.afterLoc=x[3]),this.tryEntries.push(T)}function E(x){var T=x.completion||{};T.type="normal",delete T.arg,x.completion=T}function S(x){this.tryEntries=[{tryLoc:"root"}],x.forEach(O,this),this.reset(!0)}function C(x){if(x){var T=x[n];if(T)return T.call(x);if(typeof x.next=="function")return x;if(!isNaN(x.length)){var M=-1,L=function z(){for(;++M<x.length;)if(t.call(x,M))return z.value=x[M],z.done=!1,z;return z.value=void 0,z.done=!0,z};return L.next=L}}return{next:D}}function D(){return{value:void 0,done:!0}}return p.prototype=h,r(v,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=l(h,o,"GeneratorFunction"),s.isGeneratorFunction=function(x){var T=typeof x=="function"&&x.constructor;return!!T&&(T===p||(T.displayName||T.name)==="GeneratorFunction")},s.mark=function(x){return Object.setPrototypeOf?Object.setPrototypeOf(x,h):(x.__proto__=h,l(x,o,"GeneratorFunction")),x.prototype=Object.create(v),x},s.awrap=function(x){return{__await:x}},y(w.prototype),l(w.prototype,a,function(){return this}),s.AsyncIterator=w,s.async=function(x,T,M,L,z){z===void 0&&(z=Promise);var k=new w(u(x,T,M,L),z);return s.isGeneratorFunction(T)?k:k.next().then(function(A){return A.done?A.value:k.next()})},y(v),l(v,o,"Generator"),l(v,n,function(){return this}),l(v,"toString",function(){return"[object Generator]"}),s.keys=function(x){var T=Object(x),M=[];for(var L in T)M.push(L);return M.reverse(),function z(){for(;M.length;){var k=M.pop();if(k in T)return z.value=k,z.done=!1,z}return z.done=!0,z}}
15,s.values=C,S.prototype={constructor:S,reset:function(x){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!x)for(var T in this)T.charAt(0)==="t"&&t.call(this,T)&&!isNaN(+T.slice(1))&&(this[T]=void 0)},stop:function(){this.done=!0;var x=this.tryEntries[0].completion;if(x.type==="throw")throw x.arg;return this.rval},dispatchException:function(x){if(this.done)throw x;var T=this;function M(I,F){return k.type="throw",k.arg=x,T.next=I,F&&(T.method="next",T.arg=void 0),!!F}for(var L=this.tryEntries.length-1;L>=0;--L){var z=this.tryEntries[L],k=z.completion;if(z.tryLoc==="root")return M("end");if(z.tryLoc<=this.prev){var A=t.call(z,"catchLoc"),R=t.call(z,"finallyLoc");if(A&&R){if(this.prev<z.catchLoc)return M(z.catchLoc,!0);if(this.prev<z.finallyLoc)return M(z.finallyLoc)}else if(A){if(this.prev<z.catchLoc)return M(z.catchLoc,!0)}else{if(!R)throw new Error("try statement without catch or finally");if(this.prev<z.finallyLoc)return M(z.finallyLoc)}}}},abrupt:function(x,T){for(var M=this.tryEntries.length-1;M>=0;--M){var L=this.tryEntries[M];if(L.tryLoc<=this.prev&&t.call(L,"finallyLoc")&&this.prev<L.finallyLoc){var z=L;break}}z&&(x==="break"||x==="continue")&&z.tryLoc<=T&&T<=z.finallyLoc&&(z=null);var k=z?z.completion:{};return k.type=x,k.arg=T,z?(this.method="next",this.next=z.finallyLoc,d):this.complete(k)},complete:function(x,T){if(x.type==="throw")throw x.arg;return x.type==="break"||x.type==="continue"?this.next=x.arg:x.type==="return"?(this.rval=this.arg=x.arg,this.method="return",this.next="end"):x.type==="normal"&&T&&(this.next=T),d},finish:function(x){for(var T=this.tryEntries.length-1;T>=0;--T){var M=this.tryEntries[T];if(M.finallyLoc===x)return this.complete(M.completion,M.afterLoc),E(M),d}},catch:function(x){for(var T=this.tryEntries.length-1;T>=0;--T){var M=this.tryEntries[T];if(M.tryLoc===x){var L=M.completion;if(L.type==="throw"){var z=L.arg;E(M)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(x,T,M){return this.delegate={iterator:C(x),resultName:T,nextLoc:M},this.method==="next"&&(this.arg=void 0),d}},s}function Po(s,e,t,r,i,n,a){try{var o=s[n](a),l=o.value}catch(u){t(u);return}o.done?e(l):Promise.resolve(l).then(r,i)}function Wr(s){return function(){var e=this,t=arguments;return new Promise(function(r,i){var n=s.apply(e,t);function a(l){Po(n,r,i,a,o,"next",l)}function o(l){Po(n,r,i,a,o,"throw",l)}a(void 0)})}}function Co(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}function fc(s,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(s,ko(r.key),r)}}function Mo(s,e,t){return e&&fc(s.prototype,e),Object.defineProperty(s,"prototype",{writable:!1}),s}function Gn(s,e,t){return e=ko(e),e in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function pc(s,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&Ki(s,e)}function Ui(s){return Ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ui(s)}function Ki(s,e){return Ki=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ki(s,e)}function Oo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Yn(s,e,t){return Oo()?Yn=Reflect.construct.bind():Yn=function(i,n,a){var o=[null];o.push.apply(o,n);var l=Function.bind.apply(i,o),u=new l;return a&&Ki(u,a.prototype),u},Yn.apply(null,arguments)}function hc(s){return Function.toString.call(s).indexOf("[native code]")!==-1}function Ys(s){var e=typeof Map=="function"?new Map:void 0;return Ys=function(r){if(r===null||!hc(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return Yn(r,arguments,Ui(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ki(i,r)},Ys(s)}
15function Wn(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function mc(s,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wn(s)}function gc(s){var e=Oo();return function(){var r=Ui(s),i;if(e){var n=Ui(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return mc(this,i)}}function vc(s,e){if(typeof s!="object"||s===null)return s;var t=s[Symbol.toPrimitive];if(t!==void 0){var r=t.call(s,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(s)}function ko(s){var e=vc(s,"string");return typeof e=="symbol"?e:String(e)}var Io=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Lo(s,e){return s.indexOf(e.toLowerCase())===0?s:"".concat(e.toLowerCase()).concat(s.substr(0,1).toUpperCase()).concat(s.substr(1))}function yc(s){return!!(s&&s.nodeType===1&&"nodeName"in s&&s.ownerDocument&&s.ownerDocument.defaultView)}function wc(s){return!isNaN(parseFloat(s))&&isFinite(s)&&Math.floor(s)==s}function Xr(s){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(s)}function Ao(s){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(s)}function bc(s){for(var e=(s||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,n=r;i<n.length;i++){var a=n[i];if(t.endsWith(a))return t}return"vimeo.com"}function Do(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=s.id,t=s.url,r=e||t;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(wc(r))return"https://vimeo.com/".concat(r);if(Xr(r))return r.replace("http:","https:");throw e?new TypeError("â".concat(e,"â is not a valid video id.")):new TypeError("â".concat(r,"â is not a vimeo.com url."))}var zo=function(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",a=typeof t=="string"?[t]:t;return a.forEach(function(o){e[i](o,r)}),{cancel:function(){return a.forEach(function(l){return e[n](l,r)})}}},_c=typeof Array.prototype.indexOf<"u",xc=typeof window<"u"&&typeof window.postMessage<"u";if(!Io&&(!_c||!xc))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var xi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tc(s,e){return e={exports:{}},s(e,e.exports),e.exports}/*! 16 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill 17 * https://github.com/polygonplanet/weakmap-polyfill 18 * Copyright (c) 2015-2021 polygonplanet <[email protected]> 19 * @license MIT 20 */(function(s){if(s.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),r=function(n,a,o){t?Object.defineProperty(n,a,{configurable:!0,writable:!0,value:o}):n[a]=o};s.WeakMap=function(){function n(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",o("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}r(n.prototype,"delete",function(u){if(a(this,"delete"),!i(u))return!1;var c=u[this._id];return c&&c[0]===u?(delete u[this._id],!0):!1}),r(n.prototype,"get",function(u){if(a(this,"get"),!!i(u)){var c=u[this._id];if(c&&c[0]===u)return c[1]}}),r(n.prototype,"has",function(u){if(a(this,"has"),!i(u))return!1;var c=u[this._id];return!!(c&&c[0]===u)}),r(n.prototype,"set",function(u,c){if(a(this,"set"),!i(u))throw new TypeError("Invalid value used as weak map key");var d=u[this._id];return d&&d[0]===u?(d[1]=c,this):(r(u,this._id,[u,c]),this)});function a(u,c){if(!i(u)||!e.call(u,"_id"))throw new TypeError(c+" method called on incompatible receiver "+typeof u)}function o(u){return u+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return r(n,"_polyfill",!0),n}();function i(n){return Object(n)===n}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:xi);var Ft=Tc(function(s){/*! Native Promise Only 21 v0.8.1 (c) Kyle Simpson 22 MIT License: http://getify.mit-license.org 23*/(function(t,r,i){r[t]=r[t]||i(),s.exports&&(s.exports=r[t])})("Promise",xi,function(){var t,r,i,n=Object.prototype.toString,a=typeof setImmediate<"u"?function(y){return setImmediate(y)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(y,w,_,P){return Object.defineProperty(y,w,{value:_,writable:!0,configurable:P!==!1})}}catch{t=function(w,_,P){return w[_]=P,w}}i=function(){var y,w,_;function P(O,E){this.fn=O,this.self=E,this.next=void 0}return{add:function(E,S){_=new P(E,S),w?w.next=_:y=_,w=_,_=void 0},drain:function(){var E=y;for(y=w=r=void 0;E;)E.fn.call(E.self),E=E.next}}}();function o(v,y){i.add(v,y),r||(r=a(i.drain))}function l(v){var y,w=typeof v;return v!=null&&(w=="object"||w=="function")&&(y=v.then),typeof y=="function"?y:!1}function u(){for(var v=0;v<this.chain.length;v++)c(this,this.state===1?this.chain[v].success:this.chain[v].failure,this.chain[v]);this.chain.length=0}function c(v,y,w){var _,P;try{y===!1?w.reject(v.msg):(y===!0?_=v.msg:_=y.call(void 0,v.msg),_===w.promise?w.reject(TypeError("Promise-chain cycle")):(P=l(_))?P.call(_,w.resolve,w.reject):w.resolve(_))}catch(O){w.reject(O)}}function d(v){var y,w=this;if(!w.triggered){w.triggered=!0,w.def&&(w=w.def);try{(y=l(v))?o(function(){var _=new h(w);try{y.call(v,function(){d.apply(_,arguments)},function(){f.apply(_,arguments)})}catch(P){f.call(_,P)}}):(w.msg=v,w.state=1,w.chain.length>0&&o(u,w))}catch(_){f.call(new h(w),_)}}}function f(v){var y=this;y.triggered||(y.triggered=!0,y.def&&(y=y.def),y.msg=v,y.state=2,y.chain.length>0&&o(u,y))}function p(v,y,w,_){for(var P=0;P<y.length;P++)(function(E){v.resolve(y[E]).then(function(C){w(E,C)},_)})(P)}function h(v){this.def=v,this.triggered=!1}function m(v){this.promise=v,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(v){if(typeof v!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var y=new m(this);this.then=function(_,P){var O={success:typeof _=="function"?_:!0,failure:typeof P=="function"?P:!1};return O.promise=new this.constructor(function(S,C){if(typeof S!="function"||typeof C!="function")throw TypeError("Not a function");O.resolve=S,O.reject=C}),y.chain.push(O),y.state!==0&&o(u,y),O.promise},this.catch=function(_){return this.then(void 0,_)};try{v.call(void 0,function(_){d.call(y,_)},function(_){f.call(y,_)})}catch(w){f.call(y,w)}}var b=t({},"constructor",g,!1);return g.prototype=b,t(b,"__NPO__",0,!1),t(g,"resolve",function(y){var w=this;return y&&typeof y=="object"&&y.__NPO__===1?y:new w(function(P,O){if(typeof P!="function"||typeof O!="function")throw TypeError("Not a function");P(y)})}),t(g,"reject",function(y){return new this(function(_,P){if(typeof _!="function"||typeof P!="function")throw TypeError("Not a function");P(y)})}),t(g,"all",function(y){var w=this;return n.call(y)!="[object Array]"?w.reject(TypeError("Not an array")):y.length===0?w.resolve([]):new w(function(P,O){if(typeof P!="function"||typeof O!="function")throw TypeError("Not a function");var E=y.length,S=Array(E),C=0;p(w,y,function(x,T){S[x]=T,++C===E&&P(S)},O)})}),t(g,"race",function(y){var w=this;return n.call(y)!="[object Array]"?w.reject(TypeError("Not an array")):new w(function(P,O){if(typeof P!="function"||typeof O!="function")throw TypeError("Not a function");p(w,y,function(S,C){P(C)},O)})}),g})}),mr=new WeakMap;function Zi(s,e,t){var r=mr.get(s.element)||{};e in r||(r[e]=[]),r[e].push(t),mr.set(s.element,r)}function Xn(s,e){var t=mr.get(s.element)||{};return t[e]||[]}function qn(s,e,t){var r=mr.get(s.element)||{};if(!r[e])return!0;
23if(!t)return r[e]=[],mr.set(s.element,r),!0;var i=r[e].indexOf(t);return i!==-1&&r[e].splice(i,1),mr.set(s.element,r),r[e]&&r[e].length===0}function Sc(s,e){var t=Xn(s,e);if(t.length<1)return!1;var r=t.shift();return qn(s,e,r),r}function Ec(s,e){var t=mr.get(s);mr.set(e,t),mr.delete(s)}function Un(s){if(typeof s=="string")try{s=JSON.parse(s)}catch(e){return console.warn(e),{}}return s}function qr(s,e,t){if(!(!s.element.contentWindow||!s.element.contentWindow.postMessage)){var r={method:e};t!==void 0&&(r.value=t);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),s.element.contentWindow.postMessage(r,s.origin)}}function Pc(s,e){e=Un(e);var t=[],r;if(e.event){if(e.event==="error"){var i=Xn(s,e.data.method);i.forEach(function(a){var o=new Error(e.data.message);o.name=e.data.name,a.reject(o),qn(s,e.data.method,a)})}t=Xn(s,"event:".concat(e.event)),r=e.data}else if(e.method){var n=Sc(s,e.method);n&&(t.push(n),r=e.value)}t.forEach(function(a){try{if(typeof a=="function"){a.call(s,r);return}a.resolve(r)}catch{}})}var Cc=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Ro(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Cc.reduce(function(t,r){var i=s.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(t[r]=i===""?1:i),t},e)}function Ws(s,e){var t=s.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=t,e.appendChild(r.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Fo(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,i){if(!Xr(s))throw new TypeError("â".concat(s,"â is not a vimeo.com url."));var n=bc(s),a="https://".concat(n,"/api/oembed.json?url=").concat(encodeURIComponent(s));for(var o in e)e.hasOwnProperty(o)&&(a+="&".concat(o,"=").concat(encodeURIComponent(e[o])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",a,!0),l.onload=function(){if(l.status===404){i(new Error("â".concat(s,"â was not found.")));return}if(l.status===403){i(new Error("â".concat(s,"â is not embeddable.")));return}try{var u=JSON.parse(l.responseText);if(u.domain_status_code===403){Ws(u,t),i(new Error("â".concat(s,"â is not embeddable.")));return}r(u)}catch(c){i(c)}},l.onerror=function(){var u=l.status?" (".concat(l.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(u,".")))},l.send()})}function Mc(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(s.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};e.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=Ro(r),n=Do(i);Fo(n,i,r).then(function(a){return Ws(a,r)}).catch(t)}catch(a){t(a)}})}function Oc(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(r){if(Xr(r.origin)&&!(!r.data||r.data.event!=="spacechange")){for(var i=s.querySelectorAll("iframe"),n=0;n<i.length;n++)if(i[n].contentWindow===r.source){var a=i[n].parentElement;a.style.paddingBottom="".concat(r.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function kc(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(r){if(Xr(r.origin)){var i=Un(r.data);if(!(!i||i.event!=="ready"))for(var n=s.querySelectorAll("iframe"),a=0;a<n.length;a++){var o=n[a],l=o.contentWindow===r.source;if(Ao(o.src)&&l){var u=new qs(o);u.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function Ic(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
23=!0;var e=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},t=function(i){if(Xr(i.origin)){var n=Un(i.data);if(!(!n||n.event!=="ready"))for(var a=s.querySelectorAll("iframe"),o=function(){var c=a[l],d=c.contentWindow===i.source;if(Ao(c.src)&&d){var f=new qs(c);f.getVideoId().then(function(p){var h=new RegExp("[?&]vimeo_t_".concat(p,"=([^&#]*)")).exec(window.location.href);if(h&&h[1]){var m=decodeURI(h[1]);f.setCurrentTime(m)}}).catch(e)}},l=0;l<a.length;l++)o()}};window.addEventListener("message",t)}}function Lc(){var s=function(){for(var r,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,a=i.length,o={};n<a;n++)if(r=i[n],r&&r[1]in document){for(n=0;n<r.length;n++)o[i[0][n]]=r[n];return o}return!1}(),e={fullscreenchange:s.fullscreenchange,fullscreenerror:s.fullscreenerror},t={request:function(i){return new Promise(function(n,a){var o=function u(){t.off("fullscreenchange",u),n()};t.on("fullscreenchange",o),i=i||document.documentElement;var l=i[s.requestFullscreen]();l instanceof Promise&&l.then(o).catch(a)})},exit:function(){return new Promise(function(i,n){if(!t.isFullscreen){i();return}var a=function l(){t.off("fullscreenchange",l),i()};t.on("fullscreenchange",a);var o=document[s.exitFullscreen]();o instanceof Promise&&o.then(a).catch(n)})},on:function(i,n){var a=e[i];a&&document.addEventListener(a,n)},off:function(i,n){var a=e[i];a&&document.removeEventListener(a,n)}};return Object.defineProperties(t,{isFullscreen:{get:function(){return!!document[s.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[s.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[s.fullscreenEnabled]}}}),t}var Ac={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},Dc=function(s){pc(t,s);var e=gc(t);function t(r,i){var n,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;return Co(this,t),n=e.call(this),Gn(Wn(n),"logger",void 0),Gn(Wn(n),"speedAdjustment",0),Gn(Wn(n),"adjustSpeed",function(){var l=Wr(st().mark(function u(c,d){var f;return st().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(n.speedAdjustment!==d){h.next=2;break}return h.abrupt("return");case 2:return h.next=4,c.getPlaybackRate();case 4:return h.t0=h.sent,h.t1=n.speedAdjustment,h.t2=h.t0-h.t1,h.t3=d,f=h.t2+h.t3,n.log("New playbackRate: ".concat(f)),h.next=12,c.setPlaybackRate(f);case 12:n.speedAdjustment=d;case 13:case"end":return h.stop()}},u)}));return function(u,c){return l.apply(this,arguments)}}()),n.logger=o,n.init(i,r,Eo(Eo({},Ac),a)),n}return Mo(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var r=Wr(st().mark(function n(a,o,l){var u=this,c,d,f;return st().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,this.waitForTOReadyState(a,"open");case 2:if(l.role!=="viewer"){h.next=10;break}return h.next=5,this.updatePlayer(a,o,l);case 5:c=zo(a,"change",function(){return u.updatePlayer(a,o,l)}),d=this.maintainPlaybackPosition(a,o,l),this.addEventListener("disconnect",function(){d.cancel(),c.cancel()}),h.next=14;break;case 10:return h.next=12,this.updateTimingObject(a,o);case 12:f=zo(o,["seeked","play","pause","ratechange"],function(){return u.updateTimingObject(a,o)},"on","off"),this.addEventListener("disconnect",function(){return f.cancel()});case 14:case"end":return h.stop()}},n,this)}));function i(n,a,o){return r.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var r=Wr(st().mark(function n(a,o){return st().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=a,u.next=3,o.getCurrentTime();case 3:return u.t1=u.sent,u.next=6,o.getPaused();case 6:if(!u.sent){u.next=10;break}u.t2=0,u.next=13;break;case 10:return u.next=12,o.getPlaybackRate();case 12:u.t2=u.sent;case 13:u.t3=u.t2,u.t4={position:u.t1,velocity:u.t3},u.t0.update.call(u.t0,u.t4);case 16:case"end":return u.stop()}},n)}));function i(n,a){return r.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var r=Wr(st().mark(function n(a,o,l){var u,c,d;return st().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(u=a.query(),c=u.position,d=u.velocity,typeof c=="number"&&o.setCurrentTime(c),typeof d!="number"){p.next=25;break}if(d!==0){p.next=11;break}return p.next=6,o.getPaused();case 6:if(p.t0=p.sent,p.t0!==!1){p.next=9;break}o.pause();case 9:p.next=25;break;case 11:if(!(d>0)){p.next=25;break}return p.next=14,o.getPaused();case 14:if(p.t1=p.sent,p.t1!==!0){p.next=19;break}return p.next=18,o.play().catch(function(){var h=Wr(st().mark(function m(g){return st().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(!(g.name==="NotAllowedError"&&l.autoPlayMuted)){v.next=5;break}return v.next=3,o.setMuted(!0);case 3:return v.next=5,o.play().catch(function(y){return console.error("Couldn't play the video from TimingSrcConnector. Error:",y)});case 5:case"end":return v.stop()}},m)}));return function(m){return h.apply(this,arguments)}}());case 18:this.updatePlayer(a,o,l);case 19:return p.next=21,o.getPlaybackRate();
23case 21:if(p.t2=p.sent,p.t3=d,p.t2===p.t3){p.next=25;break}o.setPlaybackRate(d);case 25:case"end":return p.stop()}},n,this)}));function i(n,a,o){return r.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,n,a){var o=this,l=a.allowedDrift,u=a.maxAllowedDrift,c=a.minCheckInterval,d=a.maxRateAdjustment,f=a.maxTimeToCatchUp,p=Math.min(f,Math.max(c,u))*1e3,h=function(){var g=Wr(st().mark(function b(){var v,y,w,_,P;return st().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(E.t0=i.query().velocity===0,E.t0){E.next=6;break}return E.next=4,n.getPaused();case 4:E.t1=E.sent,E.t0=E.t1===!0;case 6:if(!E.t0){E.next=8;break}return E.abrupt("return");case 8:return E.t2=i.query().position,E.next=11,n.getCurrentTime();case 11:if(E.t3=E.sent,v=E.t2-E.t3,y=Math.abs(v),o.log("Drift: ".concat(v)),!(y>u)){E.next=22;break}return E.next=18,o.adjustSpeed(n,0);case 18:n.setCurrentTime(i.query().position),o.log("Resync by currentTime"),E.next=29;break;case 22:if(!(y>l)){E.next=29;break}return w=y/f,_=d,P=w<_?(_-w)/2:_,E.next=28,o.adjustSpeed(n,P*Math.sign(v));case 28:o.log("Resync by playbackRate");case 29:case"end":return E.stop()}},b)}));return function(){return g.apply(this,arguments)}}(),m=setInterval(function(){return h()},p);return{cancel:function(){return clearInterval(m)}}}},{key:"log",value:function(i){var n;(n=this.logger)===null||n===void 0||n.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,n){return new Promise(function(a){var o=function l(){i.readyState===n?a():i.addEventListener("readystatechange",l,{once:!0})};o()})}}]),t}(Ys(EventTarget)),Ti=new WeakMap,Xs=new WeakMap,mt={},qs=function(){function s(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Co(this,s),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!yc(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var i=e.querySelector("iframe");
23i&&(e=i)}if(e.nodeName==="IFRAME"&&!Xr(e.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(Ti.has(e))return Ti.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var n=new Ft(function(o,l){if(t._onMessage=function(d){if(!(!Xr(d.origin)||t.element.contentWindow!==d.source)){t.origin==="*"&&(t.origin=d.origin);var f=Un(d.data),p=f&&f.event==="error",h=p&&f.data&&f.data.method==="ready";if(h){var m=new Error(f.data.message);m.name=f.data.name,l(m);return}var g=f&&f.event==="ready",b=f&&f.method==="ping";if(g||b){t.element.setAttribute("data-ready","true"),o();return}Pc(t,f)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var u=Ro(e,r),c=Do(u);Fo(c,u,e).then(function(d){var f=Ws(d,e);return t.element=f,t._originalElement=e,Ec(e,f),Ti.set(t.element,t),d}).catch(l)}});if(Xs.set(this,n),Ti.set(this.element,this),this.element.nodeName==="IFRAME"&&qr(this,"ping"),mt.isEnabled){var a=function(){return mt.exit()};this.fullscreenchangeHandler=function(){mt.isFullscreen?Zi(t,"event:exitFullscreen",a):qn(t,"event:exitFullscreen",a),t.ready().then(function(){qr(t,"fullscreenchange",mt.isFullscreen)})},mt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Mo(s,[{key:"callMethod",value:function(t){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Ft(function(n,a){return r.ready().then(function(){Zi(r,t,{resolve:n,reject:a}),qr(r,t,i)}).catch(a)})}},{key:"get",value:function(t){var r=this;return new Ft(function(i,n){return t=Lo(t,"get"),r.ready().then(function(){Zi(r,t,{resolve:i,reject:n}),qr(r,t)}).catch(n)})}},{key:"set",value:function(t,r){var i=this;return new Ft(function(n,a){if(t=Lo(t,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){Zi(i,t,{resolve:n,reject:a}),qr(i,t,r)}).catch(a)})}},{key:"on",value:function(t,r){if(!t)throw new TypeError("You must pass an event name.");if(!r)throw new TypeError("You must pass a callback function.");if(typeof r!="function")throw new TypeError("The callback must be a function.");var i=Xn(this,"event:".concat(t));i.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Zi(this,"event:".concat(t),r)}},{key:"off",value:function(t,r){if(!t)throw new TypeError("You must pass an event name.");if(r&&typeof r!="function")throw new TypeError("The callback must be a function.");var i=qn(this,"event:".concat(t),r);i&&this.callMethod("removeEventListener",t).catch(function(n){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=Xs.get(this)||new Ft(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return Ft.resolve(t)}},{key:"addCuePoint",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:r})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,r){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:r})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return mt.isEnabled?mt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return mt.isEnabled?mt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return mt.isEnabled?Ft.resolve(mt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new Ft(function(r){if(Xs.delete(t),Ti.delete(t.element),t._originalElement&&(Ti.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var i=t.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&t._originalElement&&t._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}t._window.removeEventListener("message",t._onMessage),mt.isEnabled&&mt.off("fullscreenchange",t.fullscreenchangeHandler),r()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Ft.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new Ft(function(n,a){return a(new TypeError("Argument must be an array."))});var r=new Ft(function(n){return n(null)}),i=[t[0]?this.set("colorOne",t[0]):r,t[1]?this.set("colorTwo",t[1]):r,t[2]?this.set("colorThree",t[2]):r,t[3]?this.set("colorFour",t[3]):r];return Ft.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}
23},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:function(){var e=Wr(st().mark(function r(i,n){var a=this,o;return st().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i){u.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return u.next=4,this.ready();case 4:return o=new Dc(this,i,n),qr(this,"notifyTimingObjectConnect"),o.addEventListener("disconnect",function(){return qr(a,"notifyTimingObjectDisconnect")}),u.abrupt("return",o);case 8:case"end":return u.stop()}},r,this)}));function t(r,i){return e.apply(this,arguments)}return t}()}]),s}();Io||(mt=Lc(),Mc(),Oc(),kc(),Ic());function $o(s){return s!==null&&typeof s=="object"&&"constructor"in s&&s.constructor===Object}function Us(s,e){s===void 0&&(s={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof s[t]>"u"?s[t]=e[t]:$o(e[t])&&$o(s[t])&&Object.keys(e[t]).length>0&&Us(s[t],e[t])})}const No={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ge(){const s=typeof document<"u"?document:{};return Us(s,No),s}const zc={document:No,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(s){return typeof setTimeout>"u"?(s(),null):setTimeout(s,0)},cancelAnimationFrame(s){typeof setTimeout>"u"||clearTimeout(s)}};function Te(){const s=typeof window<"u"?window:{};return Us(s,zc),s}function Cr(s){return s===void 0&&(s=""),s.trim().split(" ").filter(e=>!!e.trim())}function Rc(s){const e=s;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Ur(s,e){return e===void 0&&(e=0),setTimeout(s,e)}function $t(){return Date.now()}function Fc(s){const e=Te();let t;return e.getComputedStyle&&(t=e.getComputedStyle(s,null)),!t&&s.currentStyle&&(t=s.currentStyle),t||(t=s.style),t}function Ks(s,e){e===void 0&&(e="x");const t=Te();let r,i,n;const a=Fc(s);return t.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(o=>o.replace(",",".")).join(", ")),n=new t.WebKitCSSMatrix(i==="none"?"":i)):(n=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=n.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?i=n.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(t.WebKitCSSMatrix?i=n.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Qi(s){return typeof s=="object"&&s!==null&&s.constructor&&Object.prototype.toString.call(s).slice(8,-1)==="Object"}function $c(s){return typeof window<"u"&&typeof window.HTMLElement<"u"?s instanceof HTMLElement:s&&(s.nodeType===1||s.nodeType===11)}function St(){const s=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const r=t<0||arguments.length<=t?void 0:arguments[t];if(r!=null&&!$c(r)){const i=Object.keys(Object(r)).filter(n=>e.indexOf(n)<0);for(let n=0,a=i.length;n<a;n+=1){const o=i[n],l=Object.getOwnPropertyDescriptor(r,o);l!==void 0&&l.enumerable&&(Qi(s[o])&&Qi(r[o])?r[o].__swiper__?s[o]=r[o]:St(s[o],r[o]):!Qi(s[o])&&Qi(r[o])?(s[o]={},r[o].__swiper__?s[o]=r[o]:St(s[o],r[o])):s[o]=r[o])}}}return s}function Ji(s,e,t){s.style.setProperty(e,t)}function Bo(s){let{swiper:e,targetPosition:t,side:r}=s;const i=Te(),n=-e.translate;let a=null,o;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const u=t>n?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{o=new Date().getTime(),a===null&&(a=o);const f=Math.max(Math.min((o-a)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=n+p*(t-n);if(c(h,t)&&(h=t),e.wrapperEl.scrollTo({[r]:h}),c(h,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:h})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(d)};d()}function Kr(s){return s.querySelector(".swiper-slide-transform")||s.shadowRoot&&s.shadowRoot.querySelector(".swiper-slide-transform")||s}function Ye(s,e){e===void 0&&(e="");const t=[...s.children];return s instanceof HTMLSlotElement&&t.push(...s.assignedElements()),e?t.filter(r=>r.matches(e)):t}function Nc(s,e){const t=e.contains(s);return!t&&e instanceof HTMLSlotElement?[...e.assignedElements()].includes(s):t}function Kn(s){try{console.warn(s);return}catch{}}function Et(s,e){e===void 0&&(e=[]);const t=document.createElement(s);return t.classList.add(...Array.isArray(e)?e:Cr(e)),t}function Zn(s){const e=Te(),t=Ge(),r=s.getBoundingClientRect(),i=t.body,n=s.clientTop||i.clientTop||0,a=s.clientLeft||i.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,l=s===e?e.scrollX:s.scrollLeft;return{top:r.top+o-n,left:r.left+l-a}}function Bc(s,e){const t=[];for(;s.previousElementSibling;){const r=s.previousElementSibling;e?r.matches(e)&&t.push(r):t.push(r),s=r}return t}function Hc(s,e){const t=[];for(;s.nextElementSibling;){const r=s.nextElementSibling;e?r.matches(e)&&t.push(r):t.push(r),s=r}return t}function Mr(s,e){return Te().getComputedStyle(s,null).getPropertyValue(e)}function en(s){let e=s,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Zr(s,e){const t=[];let r=s.parentElement;for(;r;)e?r.matches(e)&&t.push(r):t.push(r),r=r.parentElement;return t}function tn(s,e){function t(r){r.target===s&&(e.call(s,r),s.removeEventListener("transitionend",t))}e&&s.addEventListener("transitionend",t)}function Zs(s,e,t){const r=Te();return s[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function J(s){return(Array.isArray(s)?s:[s]).filter(e=>!!e)}function Qn(s){return e=>Math.abs(e)>0&&s.browser&&s.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}let Qs;function jc(){const s=Te(),e=Ge();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in s||s.DocumentTouch&&e instanceof s.DocumentTouch)}}function Ho(){return Qs||(Qs=jc()),Qs}let Js;function Vc(s){let{userAgent:e}=s===void 0?{}:s;const t=Ho(),r=Te(),i=r.navigator.platform,n=e||r.navigator.userAgent,a={ios:!1,android:!1},o=r.screen.width,l=r.screen.height,u=n.match(/(Android);?[\s\/]+([\d.]+)?/);let c=n.match(/(iPad).*OS\s([\d_]+)/);const d=n.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let h=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&t.touch&&m.indexOf(`${o}x${l}`)>
23=0&&(c=n.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(a.os="android",a.android=!0),(c||f||d)&&(a.os="ios",a.ios=!0),a}function jo(s){return s===void 0&&(s={}),Js||(Js=Vc(s)),Js}let ea;function Gc(){const s=Te(),e=jo();let t=!1;function r(){const o=s.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(r()){const o=String(s.navigator.userAgent);if(o.includes("Version/")){const[l,u]=o.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent),n=r(),a=n||i&&e.ios;return{isSafari:t||n,needPerspectiveFix:t,need3dFix:a,isWebView:i}}function Yc(){return ea||(ea=Gc()),ea}function Wc(s){let{swiper:e,on:t,emit:r}=s;const i=Te();let n=null,a=null;const o=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(d=>{a=i.requestAnimationFrame(()=>{const{width:f,height:p}=e;let h=f,m=p;d.forEach(g=>{let{contentBoxSize:b,contentRect:v,target:y}=g;y&&y!==e.el||(h=v?v.width:(b[0]||b).inlineSize,m=v?v.height:(b[0]||b).blockSize)}),(h!==f||m!==p)&&o()})}),n.observe(e.el))},u=()=>{a&&i.cancelAnimationFrame(a),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},c=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",o),i.addEventListener("orientationchange",c)}),t("destroy",()=>{u(),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",c)})}function Xc(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;const n=[],a=Te(),o=function(c,d){d===void 0&&(d={});const f=a.MutationObserver||a.WebkitMutationObserver,p=new f(h=>{if(e.__preventObserver__)return;if(h.length===1){i("observerUpdate",h[0]);return}const m=function(){i("observerUpdate",h[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:e.isElement||(typeof d.childList>"u"?!0:d).childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),n.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const c=Zr(e.hostEl);for(let d=0;d<c.length;d+=1)o(c[d])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},u=()=>{n.forEach(c=>{c.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var qc={on(s,e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const i=t?"unshift":"push";return s.split(" ").forEach(n=>{r.eventsListeners[n]||(r.eventsListeners[n]=[]),r.eventsListeners[n][i](e)}),r},once(s,e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function i(){r.off(s,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];e.apply(r,a)}return i.__emitterProxy=e,r.on(s,i,t)},onAny(s,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof s!="function")return t;const r=e?"unshift":"push";return t.eventsAnyListeners.indexOf(s)<0&&t.eventsAnyListeners[r](s),t},offAny(s){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(s);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(s,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||s.split(" ").forEach(r=>{typeof e>"u"?t.eventsListeners[r]=[]:t.eventsListeners[r]&&t.eventsListeners[r].forEach((i,n)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&t.eventsListeners[r].splice(n,1)})}),t},emit(){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let e,t,r;for(var i=arguments.length,n=new Array(i),a=0;a<i;a++)n[a]=arguments[a];return typeof n[0]=="string"||Array.isArray(n[0])?(e=n[0],t=n.slice(1,n.length),r=s):(e=n[0].events,t=n[0].data,r=n[0].context||s),t.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEach(l=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEac
23h(u=>{u.apply(r,[l,...t])}),s.eventsListeners&&s.eventsListeners[l]&&s.eventsListeners[l].forEach(u=>{u.apply(r,t)})}),s}};function Uc(){const s=this;let e,t;const r=s.el;typeof s.params.width<"u"&&s.params.width!==null?e=s.params.width:e=r.clientWidth,typeof s.params.height<"u"&&s.params.height!==null?t=s.params.height:t=r.clientHeight,!(e===0&&s.isHorizontal()||t===0&&s.isVertical())&&(e=e-parseInt(Mr(r,"padding-left")||0,10)-parseInt(Mr(r,"padding-right")||0,10),t=t-parseInt(Mr(r,"padding-top")||0,10)-parseInt(Mr(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(s,{width:e,height:t,size:s.isHorizontal()?e:t}))}function Kc(){const s=this;function e(C,D){return parseFloat(C.getPropertyValue(s.getDirectionLabel(D))||0)}const t=s.params,{wrapperEl:r,slidesEl:i,size:n,rtlTranslate:a,wrongRTL:o}=s,l=s.virtual&&t.virtual.enabled,u=l?s.virtual.slides.length:s.slides.length,c=Ye(i,`.${s.params.slideClass}, swiper-slide`),d=l?s.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=t.slidesOffsetBefore;typeof m=="function"&&(m=t.slidesOffsetBefore.call(s));let g=t.slidesOffsetAfter;typeof g=="function"&&(g=t.slidesOffsetAfter.call(s));const b=s.snapGrid.length,v=s.slidesGrid.length;let y=t.spaceBetween,w=-m,_=0,P=0;if(typeof n>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*n:typeof y=="string"&&(y=parseFloat(y)),s.virtualSize=-y,c.forEach(C=>{a?C.style.marginLeft="":C.style.marginRight="",C.style.marginBottom="",C.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Ji(r,"--swiper-centered-offset-before",""),Ji(r,"--swiper-centered-offset-after",""));const O=t.grid&&t.grid.rows>1&&s.grid;O?s.grid.initSlides(c):s.grid&&s.grid.unsetSlides();let E;const S=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(C=>typeof t.breakpoints[C].slidesPerView<"u").length>0;for(let C=0;C<d;C+=1){E=0;let D;if(c[C]&&(D=c[C]),O&&s.grid.updateSlide(C,D,c),!(c[C]&&Mr(D,"display")==="none")){if(t.slidesPerView==="auto"){S&&(c[C].style[s.getDirectionLabel("width")]="");const x=getComputedStyle(D),T=D.style.transform,M=D.style.webkitTransform;if(T&&(D.style.transform="none"),M&&(D.style.webkitTransform="none"),t.roundLengths)E=s.isHorizontal()?Zs(D,"width"):Zs(D,"height");else{const L=e(x,"width"),z=e(x,"padding-left"),k=e(x,"padding-right"),A=e(x,"margin-left"),R=e(x,"margin-right"),I=x.getPropertyValue("box-sizing");if(I&&I==="border-box")E=L+A+R;else{const{clientWidth:F,offsetWidth:$}=D;E=L+z+k+A+R+($-F)}}T&&(D.style.transform=T),M&&(D.style.webkitTransform=M),t.roundLengths&&(E=Math.floor(E))}else E=(n-(t.slidesPerView-1)*y)/t.slidesPerView,t.roundLengths&&(E=Math.floor(E)),c[C]&&(c[C].style[s.getDirectionLabel("width")]=`${E}px`);c[C]&&(c[C].swiperSlideSize=E),h.push(E),t.centeredSlides?(w=w+E/2+_/2+y,_===0&&C!==0&&(w=w-n/2-y),C===0&&(w=w-n/2-y),Math.abs(w)<1/1e3&&(w=0),t.roundLengths&&(w=Math.floor(w)),P%t.slidesPerGroup===0&&f.push(w),p.push(w)):(t.roundLengths&&(w=Math.floor(w)),(P-Math.min(s.params.slidesPerGroupSkip,P))%s.params.slidesPerGroup===0&&f.push(w),p.push(w),w=w+E+y),s.virtualSize+=E+y,_=E,P+=1}}if(s.virtualSize=Math.max(s.virtualSize,n)+g,a&&o&&(t.effect==="slide"||t.effect==="coverflow")&&(r.style.width=`${s.virtualSize+y}px`),t.setWrapperSize&&(r.style[s.getDirectionLabel("width")]=`${s.virtualSize+y}px`),O&&s.grid.updateWrapperSize(E,f),!t.centeredSlides){const C=[];for(let D=0;D<f.length;D+=1){let x=f[D];t.roundLengths&&(x=Math.floor(x)),f[D]<=s.virtualSize-n&&C.push(x)}f=C,Math.floor(s.virtualSize-n)-Math.floor(f[f.length-1])>1&&f.push(s.virtualSize-n)}if(l&&t.loop){const C=h[0]+y;if(t.slidesPerGroup>1){const D=Math.ceil((s.virtual.slidesBefore+s.virtual.slidesAfter)/t.slidesPerGroup),x=C*t.slidesPerGroup;for(let T=0;T<D;T+=1)f.push(f[f.length-1]+x)}for(let D=0;D<s.virtual.slidesBefore+s.virtual.slidesAfter;D+=1)t.slidesPerGroup===1&&f.push(f[f.length-1]+C),p.push(p[p.length-1]+C),s.virtualSize+=C}if(f.length===0&&(f=[0]),y!==0){const C=s.isHorizontal()&&a?"marginLeft":s.getDirectionLabel("marginRight");c.filter((D,x)=>
vendor: 7,940 bytes, line 23
23!t.cssMode||t.loop?!0:x!==c.length-1).forEach(D=>{D.style[C]=`${y}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let C=0;h.forEach(x=>{C+=x+(y||0)}),C-=y;const D=C>n?C-n:0;f=f.map(x=>x<=0?-m:x>D?D+g:x)}if(t.centerInsufficientSlides){let C=0;h.forEach(x=>{C+=x+(y||0)}),C-=y;const D=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(C+D<n){const x=(n-C-D)/2;f.forEach((T,M)=>{f[M]=T-x}),p.forEach((T,M)=>{p[M]=T+x})}}if(Object.assign(s,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Ji(r,"--swiper-centered-offset-before",`${-f[0]}px`),Ji(r,"--swiper-centered-offset-after",`${s.size/2-h[h.length-1]/2}px`);const C=-s.snapGrid[0],D=-s.slidesGrid[0];s.snapGrid=s.snapGrid.map(x=>x+C),s.slidesGrid=s.slidesGrid.map(x=>x+D)}if(d!==u&&s.emit("slidesLengthChange"),f.length!==b&&(s.params.watchOverflow&&s.checkOverflow(),s.emit("snapGridLengthChange")),p.length!==v&&s.emit("slidesGridLengthChange"),t.watchSlidesProgress&&s.updateSlidesOffset(),s.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const C=`${t.containerModifierClass}backface-hidden`,D=s.el.classList.contains(C);d<=t.maxBackfaceHiddenSlides?D||s.el.classList.add(C):D&&s.el.classList.remove(C)}}function Zc(s){const e=this,t=[],r=e.virtual&&e.params.virtual.enabled;let i=0,n;typeof s=="number"?e.setTransition(s):s===!0&&e.setTransition(e.params.speed);const a=o=>r?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{t.push(o)});else for(n=0;n<Math.ceil(e.params.slidesPerView);n+=1){const o=e.activeIndex+n;if(o>e.slides.length&&!r)break;t.push(a(o))}else t.push(a(e.activeIndex));for(n=0;n<t.length;n+=1)if(typeof t[n]<"u"){const o=t[n].offsetHeight;i=o>i?o:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function Qc(){const s=this,e=s.slides,t=s.isElement?s.isHorizontal()?s.wrapperEl.offsetLeft:s.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(s.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-s.cssOverflowAdjustment()}const Vo=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function Jc(s){s===void 0&&(s=this&&this.translate||0);const e=this,t=e.params,{slides:r,rtlTranslate:i,snapGrid:n}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-s;i&&(a=s),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l<r.length;l+=1){const u=r[l];let c=u.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(c-=r[0].swiperSlideOffset);const d=(a+(t.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+o),f=(a-n[0]+(t.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+o),p=-(a-c),h=p+e.slidesSizesGrid[l],m=p>=0&&p<=e.size-e.slidesSizesGrid[l],g=p>=0&&p<e.size-1||h>1&&h<=e.size||p<=0&&h>=e.size;g&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),Vo(u,g,t.slideVisibleClass),Vo(u,m,t.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function ed(s){const e=this;if(typeof s>"u"){const c=e.rtlTranslate?-1:1;s=e&&e.translate&&e.translate*c||0}const t=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:n,isEnd:a,progressLoop:o}=e;const l=n,u=a;if(r===0)i=0,n=!0,a=!0;else{i=(s-e.minTranslate())/r;const c=Math.abs(s-e.minTranslate())<1,d=Math.abs(s-e.maxTranslate())<1;n=c||i<=0,a=d||i>=1,c&&(i=0),d&&(i=1)}if(t.loop){const c=e.getSlideIndexByData(0),d=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],p=e.slidesGrid[d],h=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(s);m>=f?o=(m-f)/h:o=(m+h-p)/h,o>1&&(o-=1)}Object.assign(e,{progress:i,progressLoop:o,isBeginning:n,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(s),n&&!l&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(l&&!n||u&&!a)&&e.emit("fromEdge"),e.emit("progress",i)}const ta=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function td(){const s=this,{slides:e,params:t,slidesEl:r,activeIndex:i}=s,n=s.virtual&&t.virtual.enabled,a=s.grid&&t.grid&&t.grid.rows>1,o=d=>Ye(r,`.${t.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(n)if(t.loop){let d=i-s.virtual.slidesBefore;d<0&&(d=s.virtual.slides.length+d),d>=s.virtual.slides.length&&(d-=s.virtual.slides.length),l=o(`[data-swiper-slide-index="${d}"]`)}else l=o(`[data-swiper-slide-index="${i}"]`);else a?(l=e.filter(d=>d.column===i)[0],c=e.filter(d=>d.column===i+1)[0],u=e.filter(d=>d.column===i-1)[0]):l=e[i];l&&(a||(c=Hc(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),u=Bc(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(d=>{ta(d,d===l,t.slideActiveClass),ta(d,d===c,t.slideNextClass),ta(d,d===u,t.slidePrevClass)}),s.emitSlidesClasses()}const Jn=(s,e)=>{if(!s||s.destroyed||!s.params)return;const t=()=>s.isElement?"swiper-slide":`.${s.params.slideClass}`,r=e.closest(t());if(r){let i=r.querySelector(`.${s.params.lazyPreloaderClass}`);!i&&s.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},ra=(s,e)=>{if(!s.slides[e])return;const t=s.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},ia=s=>{if(!s||s.destroyed||!s.params)return;let e=s.params.lazyPreloadPrevNext;const t=s.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const r=s.params.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(s.params.slidesPerView),i=s.activeIndex;if(s.params.grid&&s.params.grid.rows>1){const a=i,o=[a-e];o.push(...Array.from({length:e}).map((l,u)=>a+r+u)),s.slides.forEach((l,u)=>{o.includes(l.column)&&ra(s,u)});return}const n=i+r-1;if(s.params.rewind||s.params.loop)for(let a=i-e;a<=n+e;a+=1){const o=(a%t+t)%t;(o<i||o>n)&&ra(s,o)}else for(let a=Math.max(i-e,0);a<=Math.min(n+e,t-1);a+=1)a!==i&&(a>n||a<i)&&ra(s,a)};function rd(s){const{slidesGrid:e,params:t}=s,r=s.rtlTranslate?s.translate:-s.translate;let i;for(let n=0;n<e.length;n+=1)typeof e[n+1]<"u"?r>=e[n]&&r<e[n+1]-(e[n+1]-e[n])/2?i=n:r>=e[n]&&r<e[n+1]&&(i=n+1):r>=e[n]&&(i=n);return t.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function id(s){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:i,activeIndex:n,realIndex:a,snapIndex:o}=e;let l=s,u;const c=p=>{let h=p-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof l>"u"&&(l=rd(e)),r.indexOf(t)>=0)u=r.indexOf(t);else{const p=Math.min(i.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===n&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const d=e.grid&&i.grid&&i.grid.rows>1;let f;if(e.virtual&&i.virtual.enabled&&i.loop)f=c(l);else if(d){const p=e.slides.filter(m=>m.column===l)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(p),0)),f=Math.floor(h/i.grid.rows)}else if(e.slides[l]){const p=e.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:a,realIndex:f,previousIndex:n,activeIndex:l}),e.initialized&&ia(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function nd(s,e){const t=this,r=t.params;let i=s.closest(`.${r.slideClass}, swiper-slide`);!i&&t.isElement&&e&&e.length>
231&&e.includes(s)&&[...e.slice(e.indexOf(s)+1,e.length)].forEach(o=>{!i&&o.matches&&o.matches(`.${r.slideClass}, swiper-slide`)&&(i=o)});let n=!1,a;if(i){for(let o=0;o<t.slides.length;o+=1)if(t.slides[o]===i){n=!0,a=o;break}}if(i&&n)t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=a;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}r.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var sd={updateSize:Uc,updateSlides:Kc,updateAutoHeight:Zc,updateSlidesOffset:Qc,updateSlidesProgress:Jc,updateProgress:ed,updateSlidesClasses:td,updateActiveIndex:id,updateClickedSlide:nd};function ad(s){s===void 0&&(s=this.isHorizontal()?"x":"y");const e=this,{params:t,rtlTranslate:r,translate:i,wrapperEl:n}=e;if(t.virtualTranslate)return r?-i:i;if(t.cssMode)return i;let a=Ks(n,s);return a+=e.cssOverflowAdjustment(),r&&(a=-a),a||0}function od(s,e){const t=this,{rtlTranslate:r,params:i,wrapperEl:n,progress:a}=t;let o=0,l=0;const u=0;t.isHorizontal()?o=r?-s:s:l=s,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?o:l,i.cssMode?n[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-o:-l:i.virtualTranslate||(t.isHorizontal()?o-=t.cssOverflowAdjustment():l-=t.cssOverflowAdjustment(),n.style.transform=`translate3d(${o}px, ${l}px, ${u}px)`);let c;const d=t.maxTranslate()-t.minTranslate();d===0?c=0:c=(s-t.minTranslate())/d,c!==a&&t.updateProgress(s),t.emit("setTranslate",t.translate,e)}function ld(){return-this.snapGrid[0]}function ud(){return-this.snapGrid[this.snapGrid.length-1]}function cd(s,e,t,r,i){s===void 0&&(s=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),r===void 0&&(r=!0);const n=this,{params:a,wrapperEl:o}=n;if(n.animating&&a.preventInteractionOnTransition)return!1;const l=n.minTranslate(),u=n.maxTranslate();let c;if(r&&s>l?c=l:r&&s<u?c=u:c=s,n.updateProgress(c),a.cssMode){const d=n.isHorizontal();if(e===0)o[d?"scrollLeft":"scrollTop"]=-c;else{if(!n.support.smoothScroll)return Bo({swiper:n,targetPosition:-c,side:d?"left":"top"}),!0;o.scrollTo({[d?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(n.setTransition(0),n.setTranslate(c),t&&(n.emit("beforeTransitionStart",e,i),n.emit("transitionEnd"))):(n.setTransition(e),n.setTranslate(c),t&&(n.emit("beforeTransitionStart",e,i),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(f){!n||n.destroyed||f.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,t&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}var dd={getTranslate:ad,setTranslate:od,minTranslate:ld,maxTranslate:ud,translateTo:cd};function fd(s,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${s}ms`,t.wrapperEl.style.transitionDelay=s===0?"0ms":""),t.emit("setTransition",s,e)}function Go(s){let{swiper:e,runCallbacks:t,direction:r,step:i}=s;const{activeIndex:n,previousIndex:a}=e;let o=r;if(o||(n>a?o="next":n<a?o="prev":o="reset"),e.emit(`transition${i}`),t&&n!==a){if(o==="reset"){e.emit(`slideResetTransition${i}`);return}e.emit(`slideChangeTransition${i}`),o==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}function pd(s,e){s===void 0&&(s=!0);const t=this,{params:r}=t;r.cssMode||(r.autoHeight&&t.updateAutoHeight(),Go({swiper:t,runCallbacks:s,direction:e,step:"Start"}))}function hd(s,e){s===void 0&&(s=!0);const t=this,{params:r}=t;t.animating=!1,!r.cssMode&&(t.setTransition(0),Go({swiper:t,runCallbacks:s,direction:e,step:"End"}))}var md={setTransition:fd,transitionStart:pd,transitionEnd:hd};function gd(s,e,t,r,i){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));const n=this;let a=s;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:d,rtlTranslate:f,wrapperEl:p,enabled:h}=n;
vendor: 4,241 bytes, line 23
23if(!h&&!r&&!i||n.destroyed||n.animating&&o.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=n.params.speed);const m=Math.min(n.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/n.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const b=-l[g];if(o.normalizeSlideIndex)for(let _=0;_<u.length;_+=1){const P=-Math.floor(b*100),O=Math.floor(u[_]*100),E=Math.floor(u[_+1]*100);typeof u[_+1]<"u"?P>=O&&P<E-(E-O)/2?a=_:P>=O&&P<E&&(a=_+1):P>=O&&(a=_)}if(n.initialized&&a!==d&&(!n.allowSlideNext&&(f?b>n.translate&&b>n.minTranslate():b<n.translate&&b<n.minTranslate())||!n.allowSlidePrev&&b>n.translate&&b>n.maxTranslate()&&(d||0)!==a))return!1;a!==(c||0)&&t&&n.emit("beforeSlideChangeStart"),n.updateProgress(b);let v;a>d?v="next":a<d?v="prev":v="reset";const y=n.virtual&&n.params.virtual.enabled;if(!(y&&i)&&(f&&-b===n.translate||!f&&b===n.translate))return n.updateActiveIndex(a),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),o.effect!=="slide"&&n.setTranslate(b),v!=="reset"&&(n.transitionStart(t,v),n.transitionEnd(t,v)),!1;if(o.cssMode){const _=n.isHorizontal(),P=f?b:-b;if(e===0)y&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),y&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[_?"scrollLeft":"scrollTop"]=P})):p[_?"scrollLeft":"scrollTop"]=P,y&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return Bo({swiper:n,targetPosition:P,side:_?"left":"top"}),!0;p.scrollTo({[_?"left":"top"]:P,behavior:"smooth"})}return!0}return n.setTransition(e),n.setTranslate(b),n.updateActiveIndex(a),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,r),n.transitionStart(t,v),e===0?n.transitionEnd(t,v):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(P){!n||n.destroyed||P.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(t,v))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function vd(s,e,t,r){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);const n=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=s;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a=a+i.virtual.slidesBefore;else{let o;if(n){const f=a*i.params.grid.rows;o=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else o=i.getSlideIndexByData(a);const l=n?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=l-o<c;if(u&&(d=d||o<Math.ceil(c/2)),r&&u&&i.params.slidesPerView!=="auto"&&!n&&(d=!1),d){const f=u?o<i.activeIndex?"prev":"next":o-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?o+1:o-l+1,slideRealIndex:f==="next"?i.realIndex:void 0})}if(n){const f=a*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame(()=>{i.slideTo(a,e,t,r)}),i}function yd(s,e,t){e===void 0&&(e=!0);const r=this,{enabled:i,params:n,animating:a}=r;if(!i||r.destroyed)return r;typeof s>"u"&&(s=r.params.speed);let o=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<n.slidesPerGroupSkip?1:o,u=r.virtual&&n.virtual.enabled;if(n.loop){if(a&&!u&&n.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&n.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,s,e,t)}),!0}return n.rewind&&r.isEnd?r.slideTo(0,s,e,t):r.slideTo(r.activeIndex+l,s,e,t)}function wd(s,e,t){e===void 0&&(e=!0);const r=this,{params:i,snapGrid:n,slidesGrid:a,rtlTranslate:o,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;
23typeof s>"u"&&(s=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=o?r.translate:-r.translate;function f(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const p=f(d),h=n.map(b=>f(b));let m=n[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let b;n.forEach((v,y)=>{p>=v&&(b=y)}),typeof b<"u"&&(m=n[b>0?b-1:b])}let g=0;if(typeof m<"u"&&(g=a.indexOf(m),g<0&&(g=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(g=g-r.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),i.rewind&&r.isBeginning){const b=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(b,s,e,t)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(g,s,e,t)}),!0;return r.slideTo(g,s,e,t)}function bd(s,e,t){e===void 0&&(e=!0);const r=this;if(!r.destroyed)return typeof s>"u"&&(s=r.params.speed),r.slideTo(r.activeIndex,s,e,t)}function _d(s,e,t,r){e===void 0&&(e=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof s>"u"&&(s=i.params.speed);let n=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,n),o=a+Math.floor((n-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){const u=i.snapGrid[o],c=i.snapGrid[o+1];l-u>(c-u)*r&&(n+=i.params.slidesPerGroup)}else{const u=i.snapGrid[o-1],c=i.snapGrid[o];l-u<=(c-u)*r&&(n-=i.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,i.slidesGrid.length-1),i.slideTo(n,s,e,t)}function xd(){const s=this;if(s.destroyed)return;const{params:e,slidesEl:t}=s,r=e.slidesPerView==="auto"?s.slidesPerViewDynamic():e.slidesPerView;let i=s.clickedIndex,n;const a=s.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(s.animating)return;n=parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?i<s.loopedSlides-r/2||i>s.slides.length-s.loopedSlides+r/2?(s.loopFix(),i=s.getSlideIndex(Ye(t,`${a}[data-swiper-slide-index="${n}"]`)[0]),Ur(()=>{s.slideTo(i)})):s.slideTo(i):i>s.slides.length-r?(s.loopFix(),i=s.getSlideIndex(Ye(t,`${a}[data-swiper-slide-index="${n}"]`)[0]),Ur(()=>{s.slideTo(i)})):s.slideTo(i)}else s.slideTo(i)}var Td={slideTo:gd,slideToLoop:vd,slideNext:yd,slidePrev:wd,slideReset:bd,slideToClosest:_d,slideToClickedSlide:xd};function Sd(s){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const i=()=>{Ye(r,`.${t.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},n=e.grid&&t.grid&&t.grid.rows>1,a=t.slidesPerGroup*(n?t.grid.rows:1),o=e.slides.length%a!==0,l=n&&e.slides.length%t.grid.rows!==0,u=c=>{for(let d=0;d<c;d+=1){const f=e.isElement?Et("swiper-slide",[t.slideBlankClass]):Et("div",[t.slideClass,t.slideBlankClass]);e.slidesEl.append(f)}};if(o){if(t.loopAddBlankSlides){const c=a-e.slides.length%a;u(c),e.recalcSlides(),e.updateSlides()}else Kn("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(l){if(t.loopAddBlankSlides){const c=t.grid.rows-e.slides.length%t.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else Kn("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();e.loopFix({slideRealIndex:s,direction:t.centeredSlides?void 0:"next"})}function Ed(s){let{slideRealIndex:e,slideTo:t=!0,direction:r,setTranslate:i,activeSlideIndex:n,byController:a,byMousewheel:o}=s===void 0?{}:s;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:d,slidesEl:f,params:p}=l,{centeredSlides:h}=p;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){t&&(!p.centeredSlides&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=d,l.emit("loopFix");return}let m=p.slidesPerView;m==="auto"?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(p.slidesPerView,10)),h&&m%2===0&&(m=m+1));const g=p.slidesPerGroupAuto?m:p.slidesPerGroup;let b=g;b%g!==0&&(b+=g-b%g),b+=p.loopAdditionalSlides,l.loopedSlides=b;const v=l.grid&&p.grid&&p.grid.rows>1;u.length<m+b?Kn("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):v&&p.grid.fill==="row"&&Kn("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],w=[];let _=l.activeIndex;typeof n>"u"?n=l.getSlideIndex(u.filter(T=>T.classList.contains(p.slideActiveClass))[0]):_=n;const P=r==="next"||!r,O=r==="prev"||!r;let E=0,S=0;const C=v?Math.ceil(u.length/p.grid.rows):u.length,x=(v?u[n].column:n)+(h&&typeof i>"u"?-m/2+.5:0);if(x<b){E=Math.max(b-x,g);for(let T=0;T<b-x;T+=1){const M=T-Math.floor(T/C)*C;if(v){const L=C-M-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===L&&y.push(z)}else y.push(C-M-1)}}else if(x+m>C-b){S=Math.max(x-(C-b*2),g);for(let T=0;T<S;T+=1){const M=T-Math.floor(T/C)*C;v?u.forEach((L,z)=>{L.column===M&&w.push(z)}):w.push(M)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}
vendor: 18,362 bytes, line 23
23),O&&y.forEach(T=>{u[T].swiperLoopMoveDOM=!0,f.prepend(u[T]),u[T].swiperLoopMoveDOM=!1}),P&&w.forEach(T=>{u[T].swiperLoopMoveDOM=!0,f.append(u[T]),u[T].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():v&&(y.length>0&&O||w.length>0&&P)&&l.slides.forEach((T,M)=>{l.grid.updateSlide(M,T,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(y.length>0&&O){if(typeof e>"u"){const T=l.slidesGrid[_],L=l.slidesGrid[_+E]-T;o?l.setTranslate(l.translate-L):(l.slideTo(_+Math.ceil(E),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-L,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-L))}else if(i){const T=v?y.length/p.grid.rows:y.length;l.slideTo(l.activeIndex+T,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&P)if(typeof e>"u"){const T=l.slidesGrid[_],L=l.slidesGrid[_-S]-T;o?l.setTranslate(l.translate-L):(l.slideTo(_-S,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-L,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-L))}else{const T=v?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-T,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!a){const T={slideRealIndex:e,direction:r,setTranslate:i,activeSlideIndex:n,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(M=>{!M.destroyed&&M.params.loop&&M.loopFix({...T,slideTo:M.params.slidesPerView===p.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...T,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}l.emit("loopFix")}function Pd(){const s=this,{params:e,slidesEl:t}=s;if(!e.loop||s.virtual&&s.params.virtual.enabled)return;s.recalcSlides();const r=[];s.slides.forEach(i=>{const n=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[n]=i}),s.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{t.append(i)}),s.recalcSlides(),s.slideTo(s.realIndex,0)}var Cd={loopCreate:Sd,loopFix:Ed,loopDestroy:Pd};function Md(s){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=s?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Od(){const s=this;s.params.watchOverflow&&s.isLocked||s.params.cssMode||(s.isElement&&(s.__preventObserver__=!0),s[s.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1}))}var kd={setGrabCursor:Md,unsetGrabCursor:Od};function Id(s,e){e===void 0&&(e=this);function t(r){if(!r||r===Ge()||r===Te())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(s);return!i&&!r.getRootNode?null:i||t(r.getRootNode().host)}return t(e)}function Yo(s,e,t){const r=Te(),{params:i}=s,n=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return n&&(t<=a||t>=r.innerWidth-a)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function Ld(s){const e=this,t=Ge();let r=s;r.originalEvent&&(r=r.originalEvent);const i=e.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Yo(e,r,r.targetTouches[0].pageX);return}const{params:n,touches:a,enabled:o}=e;if(!o||!n.simulateTouch&&r.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let l=r.target;if(n.touchEventsTarget==="wrapper"&&!Nc(l,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!n.noSwipingClass&&n.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(n.noSwiping&&(f?Id(d,l):l.closest(d))){e.allowClick=!0;return}if(n.swipeHandler&&!l.closest(n.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const p=a.currentX,h=a.currentY;if(!Yo(e,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=h,i.touchStartTime=$t(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(i.focusableElements))&&t.activeElement.blur();const g=m&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||g)&&!l.isContentEditable&&r.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function Ad(s){const e=Ge(),t=this,r=t.touchEventsData,{params:i,touches:n,rtlTranslate:a,enabled:o}=t;if(!o||!i.simulateTouch&&s.pointerType==="mouse")return;let l=s;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(P=>P.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&t.emit("touchMoveOpposite",l);return}const c=u.pageX,d=u.pageY;if(l.preventedByNestedSwiper){n.startX=c,n.startY=d;return}if(!t.allowTouchMove){l.target.matches(r.focusableElements)||(t.allowClick=!1),r.isTouched&&(Object.assign(n,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=$t());return}if(i.touchReleaseOnEdges&&!i.loop){if(t.isVertical()){if(d<n.startY&&t.translate<=t.maxTranslate()||d>n.startY&&t.translate>=t.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(c<n.startX&&t.translate<=t.maxTranslate()||c>n.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(r.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,t.allowClick=!1;return}r.allowTouchCallbacks&&t.emit("touchMove",l),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=c,n.currentY=d;const f=n.currentX-n.startX,p=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(f**2+p**2)<t.params.threshold)return;if(typeof r.isScrolling>"u"){let P;t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?r.isScrolling=!1:f*f+p*p>=25&&(P=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=t.isHorizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;t.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let h=t.isHorizontal()?f:p,m=t.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;i.oneWayMovement&&(h=Math.abs(h)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),n.diff=h,h*=i.touchRatio,a&&(h=-h,m=-m);const g=t.touchesDirection;t.swipeDirection=h>0?"prev":"next",t.touchesDirection=m>0?"prev":"next";const b=t.params.loop&&!i.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!r.isMoved){if(b&&v&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(P)}r.allowMomentumBounce=!1,i.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}let y;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&g!==t.touchesDirection&&b&&v&&Math.abs(h)>=1){Object.assign(n,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}t.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=h+r.startTranslate;let w=!0,_=i.resistanceRatio;if(i.touchReleaseOnEdges&&(_=0),h>0?(b&&v&&!y&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(i.slidesPerView!=="auto"&&t.slides.length-i.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>t.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+h)**_))):h<0&&(b&&v&&!y&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(i.slidesPerView!=="auto"&&t.slides.length-i.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(i.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<t.maxTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-r.startTranslate-h)**_))),w&&(l.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(h)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,r.currentTranslate=r.startTranslate,n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&t.freeMode||i.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(r.currentTranslate),t.setTranslate(r.currentTranslate))}function Dd(s){const e=this,t=e.touchEventsData;let r=s;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(_=>_.identifier===t.touchId)[0],!i||i.identifier!==t.touchId)return}else{if(t.touchId!==null||r.pointerId!==t.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:a,touches:o,rtlTranslate:l,slidesGrid:u,enabled:c}=e;if(!c||!a.simulateTouch&&r.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",r),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&a.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}a.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const d=$t(),f=d-t.touchStartTime;if(e.allowClick){const _=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(_&&_[0]||r.target,_),e.emit("tap click",r),f<300&&d-t.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(t.lastClickTime=$t(),Ur(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(a.followFinger?p=l?e.translate:-e.translate:p=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-e.maxTranslate()&&!e.params.loop;let m=0,g=e.slidesSizesGrid[0];for(let _=0;_<u.length;_+=_<a.slidesPerGroupSkip?1:a.slidesPerGroup){const P=_<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[_+P]<"u"?(h||p>=u[_]&&p<u[_+P])&&(m=_,g=u[_+P]-u[_]):(h||p>=u[_])&&(m=_,g=u[u.length-1]-u[u.length-2])}let b=null,v=null;a.rewind&&(e.isBeginning?v=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(b=0));const y=(p-u[m])/g,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?b:m+w):e.slideTo(m)),e.swipeDirection==="prev"&&(y>1-a.longSwipesRatio?e.slideTo(m+w):v!==null&&y<0&&Math.abs(y)>a.longSwipesRatio?e.slideTo(v):e.slideTo(m))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(m+w):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(b!==null?b:m+w),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:m))}}function Wo(){const s=this,{params:e,el:t}=s;if(t&&t.offsetWidth===0)return;e.breakpoints&&s.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:n}=s,a=s.virtual&&s.params.virtual.enabled;s.allowSlideNext=!0,s.allowSlidePrev=!0,s.updateSize(),s.updateSlides(),s.updateSlidesClasses();const o=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&s.isEnd&&!s.isBeginning&&!s.params.centeredSlides&&!o?s.slideTo(s.slides.length-1,0,!1,!0):s.params.loop&&!a?s.slideToLoop(s.realIndex,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0),s.autoplay&&s.autoplay.running&&s.autoplay.paused&&(clearTimeout(s.autoplay.resizeTimeout),s.autoplay.resizeTimeout=setTimeout(()=>{s.autoplay&&s.autoplay.running&&s.autoplay.paused&&s.autoplay.resume()},500)),s.allowSlidePrev=i,s.allowSlideNext=r,s.params.watchOverflow&&n!==s.snapGrid&&s.checkOverflow()}function zd(s){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&s.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(s.stopPropagation(),s.stopImmediatePropagation())))}function Rd(){const s=this,{wrapperEl:e,rtlTranslate:t,enabled:r}=s;if(!r)return;s.previousTranslate=s.translate,s.isHorizontal()?s.translate=-e.scrollLeft:s.translate=-e.scrollTop,s.translate===0&&(s.translate=0),s.updateActiveIndex(),s.updateSlidesClasses();let i;const n=s.maxTranslate()-s.minTranslate();n===0?i=0:i=(s.translate-s.minTranslate())/n,i!==s.progress&&s.updateProgress(t?-s.translate:s.translate),s.emit("setTranslate",s.translate,!1)}function Fd(s){const e=this;Jn(e,s.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function $d(){const s=this;s.documentTouchHandlerProceeded||(s.documentTouchHandlerProceeded=!0,s.params.touchReleaseOnEdges&&(s.el.style.touchAction="auto"))}const Xo=(s,e)=>{const t=Ge(),{params:r,el:i,wrapperEl:n,device:a}=s,o=!!r.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!i||typeof i=="string"||(t[l]("touchstart",s.onDocumentTouchStart,{passive:!1,capture:o}),i[l]("touchstart",s.onTouchStart,{passive:!1}),i[l]("pointerdown",s.onTouchStart,{passive:!1}),t[l]("touchmove",s.onTouchMove,{passive:!1,capture:o}),t[l]("pointermove",s.onTouchMove,{passive:!1,capture:o}),t[l]("touchend",s.onTouchEnd,{passive:!0}),t[l]("pointerup",s.onTouchEnd,{passive:!0}),t[l]("pointercancel",s.onTouchEnd,{passive:!0}),t[l]("touchcancel",s.onTouchEnd,{passive:!0}),t[l]("pointerout",s.onTouchEnd,{passive:!0}),t[l]("pointerleave",s.onTouchEnd,{passive:!0}),t[l]("contextmenu",s.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",s.onClick,!0),r.cssMode&&n[l]("scroll",s.onScroll),r.updateOnWindowResize?s[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Wo,!0):s[u]("observerUpdate",Wo,!0),i[l]("load",s.onLoad,{capture:!0}))};function Nd(){const s=this,{params:e}=s;s.onTouchStart=Ld.bind(s),s.onTouchMove=Ad.bind(s),s.onTouchEnd=Dd.bind(s),s.onDocumentTouchStart=$d.bind(s),e.cssMode&&(s.onScroll=Rd.bind(s)),s.onClick=zd.bind(s),s.onLoad=Fd.bind(s),Xo(s,"on")}function Bd(){Xo(this,"off")}var Hd={attachEvents:Nd,detachEvents:Bd};const qo=(s,e)=>s.grid&&e.grid&&e.grid.rows>1;function jd(){const s=this,{realIndex:e,initialized:t,params:r,el:i}=s,n=r.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const a=s.getBreakpoint(n,s.params.breakpointsBase,s.el);if(!a||s.currentBreakpoint===a)return;const l=(a in n?n[a]:void 0)||s.originalParams,u=qo(s,r),c=qo(s,l),d=s.params.grabCursor,f=l.grabCursor,p=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),s.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),s.emitContainerClasses()),d&&!f?s.unsetGrabCursor():!d&&f&&s.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(y=>{if(typeof l[y]>"u")return;const w=r[y]&&r[y].enabled,_=l[y]&&l[y].enabled;w&&!_&&s[y].disable(),!w&&_&&s[y].enable()});const h=l.direction&&l.direction!==r.direction,m=r.loop&&(l.slidesPerView!==r.slidesPerView||h),g=r.loop;h&&t&&s.changeDirection(),St(s.params,l);const b=s.params.enabled,v=s.params.loop;Object.assign(s,{allowTouchMove:s.params.allowTouchMove,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev}),p&&!b?s.disable():!p&&b&&s.enable(),s.currentBreakpoint=a,s.emit("_beforeBreakpoint",l),t&&(m?(s.loopDestroy(),s.loopCreate(e),s.updateSlides()):!g&&v?(s.loopCreate(e),s.updateSlides()):g&&!v&&s.loopDestroy()),s.emit("breakpoint",l)}function Vd(s,e,t){if(e===void 0&&(e="window"),!s||e==="container"&&!t)return;let r=!1;const i=Te(),n=e==="window"?i.innerHeight:t.clientHeight,a=Object.keys(s).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:n*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>
vendor: 4,748 bytes, line 23
23parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o<a.length;o+=1){const{point:l,value:u}=a[o];e==="window"?i.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=t.clientWidth&&(r=l)}return r||"max"}var Gd={setBreakpoint:jd,getBreakpoint:Vd};function Yd(s,e){const t=[];return s.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&t.push(e+i)}):typeof r=="string"&&t.push(e+r)}),t}function Wd(){const s=this,{classNames:e,params:t,rtl:r,el:i,device:n}=s,a=Yd(["initialized",t.direction,{"free-mode":s.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),i.classList.add(...e),s.emitContainerClasses()}function Xd(){const s=this,{el:e,classNames:t}=s;!e||typeof e=="string"||(e.classList.remove(...t),s.emitContainerClasses())}var qd={addClasses:Wd,removeClasses:Xd};function Ud(){const s=this,{isLocked:e,params:t}=s,{slidesOffsetBefore:r}=t;if(r){const i=s.slides.length-1,n=s.slidesGrid[i]+s.slidesSizesGrid[i]+r*2;s.isLocked=s.size>n}else s.isLocked=s.snapGrid.length===1;t.allowSlideNext===!0&&(s.allowSlideNext=!s.isLocked),t.allowSlidePrev===!0&&(s.allowSlidePrev=!s.isLocked),e&&e!==s.isLocked&&(s.isEnd=!1),e!==s.isLocked&&s.emit(s.isLocked?"lock":"unlock")}var Kd={checkOverflow:Ud},Uo={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Zd(s,e){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],n=r[i];if(typeof n!="object"||n===null){St(e,r);return}if(s[i]===!0&&(s[i]={enabled:!0}),i==="navigation"&&s[i]&&s[i].enabled&&!s[i].prevEl&&!s[i].nextEl&&(s[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&s[i]&&s[i].enabled&&!s[i].el&&(s[i].auto=!0),!(i in s&&"enabled"in n)){St(e,r);return}typeof s[i]=="object"&&!("enabled"in s[i])&&(s[i].enabled=!0),s[i]||(s[i]={enabled:!1}),St(e,r)}}const na={eventsEmitter:qc,update:sd,translate:dd,transition:md,slide:Td,loop:Cd,grabCursor:kd,events:Hd,breakpoints:Gd,checkOverflow:Kd,classes:qd},sa={};class Pt{constructor(){let e,t;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?t=i[0]:[e,t]=i,t||(t={}),t=St({},t),e&&!t.el&&(t.el=e);const a=Ge();if(t.el&&typeof t.el=="string"&&a.querySelectorAll(t.el).length>1){const c=[];return a.querySelectorAll(t.el).forEach(d=>{const f=St({},t,{el:d});c.push(new Pt(f))}),c}const o=this;o.__swiper__=!0,o.support=Ho(),o.device=jo({userAgent:t.userAgent}),o.browser=Yc(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};
vendor: 4,865 bytes, line 23
23o.modules.forEach(c=>{c({params:t,swiper:o,extendParams:Zd(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=St({},Uo,l);return o.params=St({},u,sa,t),o.originalParams=St({},o.params),o.passedParams=St({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(c=>{o.on(c,o.params.on[c])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:r}=this,i=Ye(t,`.${r.slideClass}, swiper-slide`),n=en(i[0]);return en(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>t.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:r}=e;e.slides=Ye(t,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const i=r.minTranslate(),a=(r.maxTranslate()-i)*e+i;r.translateTo(a,typeof t>"u"?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(r=>{const i=e.getSlideClasses(r);t.push({slideEl:r,classNames:i}),e.emit("_slideClass",r,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const r=this,{params:i,slides:n,slidesGrid:a,slidesSizesGrid:o,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=n[u]?Math.ceil(n[u].swiperSlideSize):0,f;for(let p=u+1;p<n.length;p+=1)n[p]&&!f&&(d+=Math.ceil(n[p].swiperSlideSize),c+=1,d>l&&(f=!0));for(let p=u-1;p>=0;p-=1)n[p]&&!f&&(d+=n[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(e==="current")for(let d=u+1;d<n.length;d+=1)(t?a[d]+o[d]-a[u]<l:a[d]-a[u]<l)&&(c+=1);else for(let d=u-1;d>=0;d-=1)a[u]-a[d]<l&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:r}=e;r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Jn(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const a=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const a=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(a.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||i()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const r=this,i=r.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEac
vendor: 15,182 bytes, line 23
23h(n=>{e==="vertical"?n.style.width="":n.style.height=""}),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Ye(r,i())[0];return!a&&t.params.createElements&&(a=Et("div",t.params.wrapperClass),r.append(a),Ye(r,`.${t.params.slideClass}`).forEach(o=>{a.append(o)})),Object.assign(t,{el:r,wrapperEl:a,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:a,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Mr(r,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Mr(r,"direction")==="rtl"),wrongRTL:Mr(a,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(n=>{n.complete?Jn(t,n):n.addEventListener("load",a=>{Jn(t,a.target)})}),ia(t),t.initialized=!0,ia(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const r=this,{params:i,el:n,wrapperEl:a,slides:o}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),t&&(r.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),e!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),Rc(r)),r.destroyed=!0),null}static extendDefaults(e){St(sa,e)}static get extendedDefaults(){return sa}static get defaults(){return Uo}static installModule(e){Pt.prototype.__modules__||(Pt.prototype.__modules__=[]);const t=Pt.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>Pt.installModule(t)),Pt):(Pt.installModule(e),Pt)}}Object.keys(na).forEach(s=>{Object.keys(na[s]).forEach(e=>{Pt.prototype[e]=na[s][e]})}),Pt.use([Wc,Xc]);function Qd(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let n;const a=Ge();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=a.createElement("div");function l(h,m){const g=e.params.virtual;if(g.cache&&e.virtual.cache[m])return e.virtual.cache[m];let b;return g.renderSlide?(b=g.renderSlide.call(e,h,m),typeof b=="string"&&(o.innerHTML=b,b=o.children[0])):e.isElement?b=Et("swiper-slide"):b=Et("div",e.params.slideClass),b.setAttribute("data-swiper-slide-index",m),g.renderSlide||(b.innerHTML=h),g.cache&&(e.virtual.cache[m]=b),b}function u(h,m){const{slidesPerView:g,slidesPerGroup:b,centeredSlides:v,loop:y,initialSlide:w}=e.params;if(m&&!y&&w>0)return;const{addSlidesBefore:_,addSlidesAfter:P}=e.params.virtual,{from:O,to:E,slides:S,slidesGrid:C,offset:D}=e.virtual;e.params.cssMode||e.updateActiveIndex();const x=e.activeIndex||0;let T;e.rtlTranslate?T="right":T=e.isHorizontal()?"left":"top";let M,L;v?(M=Math.floor(g/2)+b+P,L=Math.floor(g/2)+b+_):(M=g+(b-1)+P,L=(y?g:b)+_);let z=x-L,k=x+M;y||(z=Math.max(z,0),k=Math.min(k,S.length-1));let A=(e.slidesGrid[z]||0)-(e.slidesGrid[0]||0);y&&x>=L?(z-=L,v||(A+=e.slidesGrid[0])):y&&x<L&&(z=-L,v&&(A+=e.slidesGrid[0])),Object.assign(e.virtual,{from:z,to:k,offset:A,slidesGrid:e.slidesGrid,slidesBefore:L,slidesAfter:M});function R(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(O===z&&E===k&&!h){e.slidesGrid!==C&&A!==D&&e.slides.forEach(H=>{H.style[T]=`${A-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:A,from:z,to:k,slides:function(){const Y=[];for(let U=z;U<=k;U+=1)Y.push(S[U]);return Y}()}),e.params.virtual.renderExternalUpdate?R():i("virtualUpdate");return}const I=[],F=[],$=H=>{let Y=H;return H<0?Y=S.length+H:Y>=S.length&&(Y=Y-S.length),Y};if(h)e.slides.filter(H=>H.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(H=>{H.remove()});else for(let H=O;H<=E;H+=1)if(H<z||H>k){const Y=$(H);e.slides.filter(U=>U.matches(`.${e.params.slideClass}[data-swiper-slide-index="${Y}"], swiper-slide[data-swiper-slide-index="${Y}"]`)).forEach(U=>{U.remove()})}const B=y?-S.length:0,j=y?S.length*2:S.length;for(let H=B;H<j;H+=1)if(H>=z&&H<=k){const Y=$(H);typeof E>"u"||h?F.push(Y):(H>E&&F.push(Y),H<O&&I.push(Y))}if(F.forEach(H=>{e.slidesEl.append(l(S[H],H))}),y)for(let H=I.length-1;H>=0;H-=1){const Y=I[H];e.slidesEl.prepend(l(S[Y],Y))}else I.sort((H,Y)=>Y-H),I.forEach(H=>{e.slidesEl.prepend(l(S[H],H))});Ye(e.slidesEl,".swiper-slide, swiper-slide").forEach(H=>{H.style[T]=`${A-Math.abs(e.cssOverflowAdjustment())}px`}),R()}function c(h){if(typeof h=="object"&&"length"in h)for(let m=0;m<h.length;m+=1)h[m]&&e.virtual.slides.push(h[m]);else e.virtual.slides.push(h);u(!0)}function d(h){const m=e.activeIndex;let g=m+1,b=1;if(Array.isArray(h)){for(let v=0;v<h.length;v+=1)h[v]&&e.virtual.slides.unshift(h[v]);g=m+h.length,b=h.length}else e.virtual.slides.unshift(h);if(e.params.virtual.cache){const v=e.virtual.cache,y={};Object.keys(v).forEach(w=>{const _=v[w],P=_.getAttribute("data-swiper-slide-index");P&&_.setAttribute("data-swiper-slide-index",parseInt(P,10)+b),y[parseInt(w,10)+b]=_}),e.virtual.cache=y}u(!0),e.slideTo(g,0)}function f(h){if(typeof h>"u"||h===null)return;let m=e.activeIndex;if(Array.isArray(h))for(let g=h.length-1;g>=0;g-=1)e.params.virtual.cache&&(delete e.virtual.cache[h[g]],Object.keys(e.virtual.cache).forEach(b=>{b>h&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(h[g],1),h[g]<m&&(m-=1),m=Math.max(m,0);else e.params.virtual.cache&&(delete e.virtual.cache[h],Object.keys(e.virtual.cache).forEach(g=>{g>h&&(e.virtual.cache[g-1]=e.virtual.cache[g],e.virtual.cache[g-1].setAttribute("data-swiper-slide-index",g-1),delete e.virtual.cache[g])})),e.virtual.slides.splice(h,1),h<m&&(m-=1),m=Math.max(m,0);u(!0),e.slideTo(m,0)}function p(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),u(!0),e.slideTo(0,0)}r("beforeInit",()=>{if(!e.params.virtual.enabled)return;let h;if(typeof e.passedParams.virtual.slides>"u"){const m=[...e.slidesEl.children].filter(g=>g.matches(`.${e.params.slideClass}, swiper-slide`));m&&m.length&&(e.virtual.slides=[...m],h=!0,m.forEach((g,b)=>{g.setAttribute("data-swiper-slide-index",b),e.virtual.cache[b]=g,g.remove()}))}h||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u(!1,!0)}),r("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout(()=>{u()},100)):u())}),r("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Ji(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:d,removeSlide:f,removeAllSlides:p,update:u})}function Jd(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;const n=Ge(),a=Te();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function o(c){if(!e.enabled)return;const{rtlTranslate:d}=e;let f=c;f.originalEvent&&(f=f.originalEvent);const p=f.keyCode||f.charCode,h=e.params.keyboard.pageUpDown,m=h&&p===33,g=h&&p===34,b=p===37,v=p===39,y=p===38,w=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&v||e.isVertical()&&w||g)||!e.allowSlidePrev&&(e.isHorizontal()&&b||e.isVertical()&&y||m))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(n.activeElement&&n.activeElement.nodeName&&(n.activeElement.nodeName.toLowerCase()==="input"||n.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(m||g||b||v||y||w)){let _=!1;if(Zr(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Zr(e.el,`.${e.params.slideActiveClass}`).length===0)return;const P=e.el,O=P.clientWidth,E=P.clientHeight,S=a.innerWidth,C=a.innerHeight,D=Zn(P);d&&(D.left-=P.scrollLeft);const x=[[D.left,D.top],[D.left+O,D.top],[D.left,D.top+E],[D.left+O,D.top+E]];for(let T=0;T<x.length;T+=1){const M=x[T];if(M[0]>=0&&M[0]<=S&&M[1]>=0&&M[1]<=C){if(M[0]===0&&M[1]===0)continue;_=!0}}if(!_)return}e.isHorizontal()?((m||g||b||v)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((g||v)&&!d||(m||b)&&d)&&e.slideNext(),((m||b)&&!d||(g||v)&&d)&&e.slidePrev()):((m||g||y||w)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(g||w)&&e.slideNext(),(m||y)&&e.slidePrev()),i("keyPress",p)}}function l(){e.keyboard.enabled||(n.addEventListener("keydown",o),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(n.removeEventListener("keydown",o),e.keyboard.enabled=!1)}r("init",()=>{e.params.keyboard.enabled&&l()}),r("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:l,disable:u})}function ef(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;const n=Te();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,o=$t(),l;const u=[];function c(y){let O=0,E=0,S=0,C=0;return"detail"in y&&(E=y.detail),"wheelDelta"in y&&(E=-y.wheelDelta/120),"wheelDeltaY"in y&&(E=-y.wheelDeltaY/120),"wheelDeltaX"in y&&(O=-y.wheelDeltaX/120),"axis"in y&&y.axis===y.HORIZONTAL_AXIS&&(O=E,E=0),S=O*10,C=E*10,"deltaY"in y&&(C=y.deltaY),"deltaX"in y&&(S=y.deltaX),y.shiftKey&&!S&&(S=C,C=0),(S||C)&&y.deltaMode&&(y.deltaMode===1?(S*=40,C*=40):(S*=800,C*=800)),S&&!O&&(O=S<1?-1:1),C&&!E&&(E=C<1?-1:1),{spinX:O,spinY:E,pixelX:S,pixelY:C}}function d(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function p(y){return e.params.mousewheel.thresholdDelta&&y.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&$t()-o<e.params.mousewheel.thresholdTime?!1:y.delta>=6&&$t()-o<60?!0:(y.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",y.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",y.raw)),o=new n.Date().getTime(),!1)}function h(y){const w=e.params.mousewheel;if(y.direction<0){if(e.isEnd&&!e.params.loop&&w.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&w.releaseOnEdges)return!0;return!1}function m(y){let w=y,_=!0;if(!e.enabled||y.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&w.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const E=O&&O.contains(w.target);if(!e.mouseEntered&&!E&&!P.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let S=0;const C=e.rtlTranslate?-1:1,D=c(w);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))S=-D.pixelX*C;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))S=-D.pixelY;else return!0;else S=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*C:-D.pixelY;if(S===0)return!0;P.invert&&(S=-S);let x=e.getTranslate()+S*P.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),_=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),_&&e.params.nested&&w.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const T={time:$t(),delta:Math.abs(S),direction:Math.sign(S),raw:y};u.length>=2&&u.shift();const M=u.length?u[u.length-1]:void 0;if(u.push(T),M?(T.direction!==M.direction||T.delta>M.delta||T.time>M.time+150)&&p(T):p(T),h(T))return!0}else{const T={time:$t(),delta:Math.abs(S),direction:Math.sign(S)},M=l&&T.time<l.time+500&&T.delta<=l.delta&&T.direction===l.direction;if(!M){l=void 0;let L=e.getTranslate()+S*P.sensitivity;const z=e.isBeginning,k=e.isEnd;if(L>=e.minTranslate()&&(L=e.minTranslate()),L<=e.maxTranslate()&&(L=e.maxTranslate()),e.setTransition(0),e.setTranslate(L),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!k&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:T.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();const A=u.length?u[u.length-1]:void 0,R=u[0];if(u.push(T),A&&(T.delta>A.delta||T.direction!==A.direction))u.splice(0);else if(u.length>=15&&T.time-R.time<500&&R.delta-T.delta>=1&&T.delta<=6){const I=S>0?.8:.2;l=T,u.splice(0),a=Ur(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,I)},0)}a||(a=Ur(()=>{if(e.destroyed||!e.params)return;const I=.5;l=T,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,I)},500))}if(M||i("scroll",w),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function g(y){let w=e.el;e.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(e.params.mousewheel.eventsTarget)),w[y]("mouseenter",d),w[y]("mouseleave",f),w[y]("wheel",m)}function b(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(g("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(g("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}r("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&b()}),r("destroy",()=>{e.params.cssMode&&b(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:b,disable:v})}function aa(s,e,t,r){return s.params.createElements&&Object.keys(r).forEach(i=>
vendor: 5,335 bytes, line 23
23{if(!t[i]&&t.auto===!0){let n=Ye(s.el,`.${r[i]}`)[0];n||(n=Et("div",r[i]),n.className=r[i],s.el.append(n)),t[i]=n,e[i]=n}}),t}function tf(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function n(h){let m;return h&&typeof h=="string"&&e.isElement&&(m=e.el.querySelector(h)||e.hostEl.querySelector(h),m)?m:(h&&(typeof h=="string"&&(m=[...document.querySelectorAll(h)]),e.params.uniqueNavElements&&typeof h=="string"&&m&&m.length>1&&e.el.querySelectorAll(h).length===1?m=e.el.querySelector(h):m&&m.length===1&&(m=m[0])),h&&!m?h:m)}function a(h,m){const g=e.params.navigation;h=J(h),h.forEach(b=>{b&&(b.classList[m?"add":"remove"](...g.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=m),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](g.lockClass))})}function o(){const{nextEl:h,prevEl:m}=e.navigation;if(e.params.loop){a(m,!1),a(h,!1);return}a(m,e.isBeginning&&!e.params.rewind),a(h,e.isEnd&&!e.params.rewind)}function l(h){h.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function u(h){h.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const h=e.params.navigation;if(e.params.navigation=aa(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(h.nextEl||h.prevEl))return;let m=n(h.nextEl),g=n(h.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:g}),m=J(m),g=J(g);const b=(v,y)=>{v&&v.addEventListener("click",y==="next"?u:l),!e.enabled&&v&&v.classList.add(...h.lockClass.split(" "))};m.forEach(v=>b(v,"next")),g.forEach(v=>b(v,"prev"))}function d(){let{nextEl:h,prevEl:m}=e.navigation;h=J(h),m=J(m);const g=(b,v)=>{b.removeEventListener("click",v==="next"?u:l),b.classList.remove(...e.params.navigation.disabledClass.split(" "))};h.forEach(b=>g(b,"next")),m.forEach(b=>g(b,"prev"))}r("init",()=>{e.params.navigation.enabled===!1?p():(c(),o())}),r("toEdge fromEdge lock unlock",()=>{o()}),r("destroy",()=>{d()}),r("enable disable",()=>{let{nextEl:h,prevEl:m}=e.navigation;if(h=J(h),m=J(m),e.enabled){o();return}[...h,...m].filter(g=>!!g).forEach(g=>g.classList.add(e.params.navigation.lockClass))}),r("click",(h,m)=>{let{nextEl:g,prevEl:b}=e.navigation;g=J(g),b=J(b);const v=m.target;let y=b.includes(v)||g.includes(v);if(e.isElement&&!y){const w=m.path||m.composedPath&&m.composedPath();w&&(y=w.find(_=>g.includes(_)||b.includes(_)))}if(e.params.navigation.hideOnClick&&!y){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===v||e.pagination.el.contains(v)))return;let w;g.length?w=g[0].classList.contains(e.params.navigation.hiddenClass):b.length&&(w=b[0].classList.contains(e.params.navigation.hiddenClass)),i(w===!0?"navigationShow":"navigationHide"),[...g,...b].filter(_=>!!_).forEach(_=>_.classList.toggle(e.params.navigation.hiddenClass))}});const f=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),o()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:f,disable:p,update:o,init:c,destroy:d})}function gr(s){return s===void 0&&(s=""),`.${s.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function rf(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;const n="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:v=>v,formatFractionTotal:v=>v,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let a,o=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(v,y){const{bulletActiveClass:w}=e.params.pagination;v&&(v=v[`${y==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${w}-${y}`),v=v[`${y==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${w}-${y}-${y}`)))}function c(v,y,w){if(v=v%w,y=y%w,y===v+1)return"next";if(y===v-1)return"previous"}function d(v){const y=v.target.closest(gr(e.params.pagination.bulletClass));if(!y)return;v.preventDefault();const w=en(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===w)return;const _=c(e.realIndex,w,e.slides.length);_==="next"?e.slideNext():_==="previous"?e.slidePrev():e.slideToLoop(w)}else e.slideTo(w)}function f(){const v=e.rtl,y=e.params.pagination;if(l())return;let w=e.pagination.el;w=J(w);let _,P;const O=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,E=e.params.loop?Math.
23ceil(O/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(P=e.previousRealIndex||0,_=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(_=e.snapIndex,P=e.previousSnapIndex):(P=e.previousIndex||0,_=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const S=e.pagination.bullets;let C,D,x;if(y.dynamicBullets&&(a=Zs(S[0],e.isHorizontal()?"width":"height"),w.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${a*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&P!==void 0&&(o+=_-(P||0),o>y.dynamicMainBullets-1?o=y.dynamicMainBullets-1:o<0&&(o=0)),C=Math.max(_-o,0),D=C+(Math.min(S.length,y.dynamicMainBullets)-1),x=(D+C)/2),S.forEach(T=>{const M=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${y.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();T.classList.remove(...M)}),w.length>1)S.forEach(T=>{const M=en(T);M===_?T.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),y.dynamicBullets&&(M>=C&&M<=D&&T.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),M===C&&u(T,"prev"),M===D&&u(T,"next"))});else{const T=S[_];if(T&&T.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&S.forEach((M,L)=>{M.setAttribute("part",L===_?"bullet-active":"bullet")}),y.dynamicBullets){const M=S[C],L=S[D];for(let z=C;z<=D;z+=1)S[z]&&S[z].classList.add(...`${y.bulletActiveClass}-main`.split(" "));u(M,"prev"),u(L,"next")}}if(y.dynamicBullets){const T=Math.min(S.length,y.dynamicMainBullets+4),M=(a*T-a)/2-x*a,L=v?"right":"left";S.forEach(z=>{z.style[e.isHorizontal()?L:"top"]=`${M}px`})}}w.forEach((S,C)=>{if(y.type==="fraction"&&(S.querySelectorAll(gr(y.currentClass)).forEach(D=>{D.textContent=y.formatFractionCurrent(_+1)}),S.querySelectorAll(gr(y.totalClass)).forEach(D=>{D.textContent=y.formatFractionTotal(E)})),y.type==="progressbar"){let D;y.progressbarOpposite?D=e.isHorizontal()?"vertical":"horizontal":D=e.isHorizontal()?"horizontal":"vertical";const x=(_+1)/E;let T=1,M=1;D==="horizontal"?T=x:M=x,S.querySelectorAll(gr(y.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${M})`,L.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(S.innerHTML=y.renderCustom(e,_+1,E),C===0&&i("paginationRender",S)):(C===0&&i("paginationRender",S),i("paginationUpdate",S)),e.params.watchOverflow&&e.enabled&&S.classList[e.isLocked?"add":"remove"](y.lockClass)})}function p(){const v=e.params.pagination;if(l())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let w=e.pagination.el;w=J(w);let _="";if(v.type==="bullets"){let P=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&P>y&&(P=y);for(let O=0;O<P;O+=1)v.renderBullet?_+=v.renderBullet.call(e,O,v.bulletClass):_+=`<${v.bulletElement} ${e.isElement?'part="bullet"':""} class="${v.bulletClass}"></${v.bulletElement}>`}v.type==="fraction"&&(v.renderFraction?_=v.renderFraction.call(e,v.currentClass,v.totalClass):_=`<span class="${v.currentClass}"></span> / <span class="${v.totalClass}"></span>`),v.type==="progressbar"&&(v.renderProgressbar?_=v.renderProgressbar.call(e,v.progressbarFillClass):_=`<span class="${v.progressbarFillClass}"></span>`),e.pagination.bullets=[],w.forEach(P=>{v.type!=="custom"&&(P.innerHTML=_||""),v.type==="bullets"&&e.pagination.bullets.push(...P.querySelectorAll(gr(v.bulletClass)))}),v.type!=="custom"&&i("paginationRender",w[0])}function h(){e.params.pagination=aa(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let y;typeof v.el=="string"&&e.isElement&&(y=e.el.querySelector(v.el)),!y&&typeof v.el=="string"&&(y=[...document.querySelectorAll(v.el)]),y||(y=v.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(v.el)],y.length>1&&(y=y.filter(w=>Zr(w,".swiper")[0]===e.el)[0])),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}
vendor: 10,926 bytes, line 23
23),y=J(y),y.forEach(w=>{v.type==="bullets"&&v.clickable&&w.classList.add(...(v.clickableClass||"").split(" ")),w.classList.add(v.modifierClass+v.type),w.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(w.classList.add(`${v.modifierClass}${v.type}-dynamic`),o=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&w.classList.add(v.progressbarOppositeClass),v.clickable&&w.addEventListener("click",d),e.enabled||w.classList.add(v.lockClass)}))}function m(){const v=e.params.pagination;if(l())return;let y=e.pagination.el;y&&(y=J(y),y.forEach(w=>{w.classList.remove(v.hiddenClass),w.classList.remove(v.modifierClass+v.type),w.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(w.classList.remove(...(v.clickableClass||"").split(" ")),w.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(w=>w.classList.remove(...v.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:y}=e.pagination;y=J(y),y.forEach(w=>{w.classList.remove(v.horizontalClass,v.verticalClass),w.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?b():(h(),p(),f())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),r("snapIndexChange",()=>{f()}),r("snapGridLengthChange",()=>{p(),f()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{el:v}=e.pagination;v&&(v=J(v),v.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{f()}),r("click",(v,y)=>{const w=y.target,_=J(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&_&&_.length>0&&!w.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&w===e.navigation.nextEl||e.navigation.prevEl&&w===e.navigation.prevEl))return;const P=_[0].classList.contains(e.params.pagination.hiddenClass);i(P===!0?"paginationShow":"paginationHide"),_.forEach(O=>O.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=J(v),v.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),h(),p(),f()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=J(v),v.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:g,disable:b,render:p,update:f,init:h,destroy:m})}function nf(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;const n=Ge();let a=!1,o=null,l=null,u,c,d,f;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:T}=e,{dragEl:M,el:L}=x,z=e.params.scrollbar,k=e.params.loop?e.progressLoop:e.progress;let A=c,R=(d-c)*k;T?(R=-R,R>0?(A=c-R,R=0):-R+c>d&&(A=d+R)):R<0?(A=c+R,R=0):R+c>d&&(A=d-R),e.isHorizontal()?(M.style.transform=`translate3d(${R}px, 0, 0)`,M.style.width=`${A}px`):(M.style.transform=`translate3d(0px, ${R}px, 0)`,M.style.height=`${A}px`),z.hide&&(clearTimeout(o),L.style.opacity=1,o=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function h(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:T,el:M}=x;T.style.width="",T.style.height="",d=e.isHorizontal()?M.offsetWidth:M.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=d*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?T.style.width=`${c}px`:T.style.height=`${c}px`,f>=1?M.style.display="none":M.style.display="",e.params.scrollbar.hide&&(M.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function g(x){return e.isHorizontal()?x.clientX:x.clientY}function b(x){const{scrollbar:T,rtlTranslate:M}=e,{el:L}=T;let z;z=(g(x)-Zn(L)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(d-c),z=Math.max(Math.min(z,1),0),M&&(z=1-z);const k=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(k),e.setTranslate(k),e.updateActiveIndex(),e.updateSlidesClasses()}function v(x){const T=e.params.scrollbar,{scrollbar:M,wrapperEl:L}=e,{el:z,dragEl:k}=M;a=!0,u=x.target===k?g(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),L.style.transitionDuration="100ms",k.style.transitionDuration="100ms",b(x),clearTimeout(l),z.style.transitionDuration="0ms",T.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",x)}function y(x){const{scrollbar:T,wrapperEl:M}=e,{el:L,dragEl:z}=T;a&&(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,b(x),M.style.transitionDuration="0ms",L.style.transitionDuration="0ms",z.style.transitionDuration="0ms",i("scrollbarDragMove",x))}function w(x){const T=e.params.scrollbar,{scrollbar:M,wrapperEl:L}=e,{el:z}=M;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),T.hide&&(clearTimeout(l),l=Ur(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",x),T.snapOnRelease&&e.slideToClosest())}function _(x){const{scrollbar:T,params:M}=e,L=T.el;if(!L)return;const z=L,k=M.passiveListeners?{passive:!1,capture:!1}:!1,A=M.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const R=x==="on"?"addEventListener":"removeEventListener";z[R]("pointerdown",v,k),n[R]("pointermove",y,k),n[R]("pointerup",w,A)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function E(){const{scrollbar:x,el:T}=e;e.params.scrollbar=aa(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const M=e.params.scrollbar;if(!M.el)return;let L;if(typeof M.el=="string"&&e.isElement&&(L=e.el.querySelector(M.el)),!L&&typeof M.el=="string"){if(L=n.querySelectorAll(M.el),!L.length)return}else L||(L=M.el);e.params.uniqueNavElements&&typeof M.el=="string"&&L.length>1&&T.querySelectorAll(M.el).length===1&&(L=T.querySelector(M.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?M.horizontalClass:M.verticalClass);let z;L&&(z=L.querySelector(gr(e.params.scrollbar.dragClass)),z||(z=Et("div",e.params.scrollbar.dragClass),L.append(z))),Object.assign(x,{el:L,dragEl:z}),M.draggable&&P(),L&&L.classList[e.enabled?"remove":"add"](...Cr(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,T=e.scrollbar.el;T&&T.classList.remove(...Cr(e.isHorizontal()?x.horizontalClass:x.verticalClass)),O()}r("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:T}=e.scrollbar;T=J(T),T.forEach(M=>{M.classList.remove(x.horizontalClass,x.verticalClass),M.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),r("init",()=>{e.params.scrollbar.enabled===!1?D():(E(),m(),p())}),r("update resize observerUpdate lock unlock changeDirection",()=>{m()}),r("setTranslate",()=>{p()}),r("setTransition",(x,T)=>{h(T)}),r("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Cr(e.params.scrollbar.lockClass))}),r("destroy",()=>{S()});const C=()=>{e.el.classList.remove(...Cr(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Cr(e.params.scrollbar.scrollbarDisabledClass)),E(),m(),p()},D=()=>{e.el.classList.add(...Cr(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Cr(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:C,disable:D,updateSize:m,setTranslate:p,init:E,destroy:S})}function sf(s){let{swiper:e,extendParams:t,on:r}=s;t({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",n=(l,u)=>{const{rtl:c}=e,d=c?-1:1,f=l.getAttribute("data-swiper-parallax")||"0";let p=l.getAttribute("data-swiper-parallax-x"),h=l.getAttribute("data-swiper-parallax-y");const m=l.getAttribute("data-swiper-parallax-scale"),g=l.getAttribute("data-swiper-parallax-opacity"),b=l.getAttribute("data-swiper-parallax-rotate");if(p||h?(p=p||"0",h=h||"0"):e.isHorizontal()?(p=f,h="0"):(h=f,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*d}%`:p=`${p*u*d}px`,h.indexOf("%")>=0?h=`${parseInt(h,10)*u}%`:h=`${h*u}px`,typeof g<"u"&&g!==null){const y=g-(g-1)*(1-Math.abs(u));l.style.opacity=y}let v=`translate3d(${p}, ${h}, 0px)`;if(typeof m<"u"&&m!==null){const y=m-(m-1)*(1-Math.abs(u));v+=` scale(${y})`}if(b&&typeof b<"u"&&b!==null){const y=b*u*-1;v+=` rotate(${y}deg)`}l.style.transform=v},a=()=>{const{el:l,slides:u,progress:c,snapGrid:d,isElement:f}=e,p=Ye(l,i);e.isElement&&p.push(...Ye(e.hostEl,i)),p.forEach(h=>{n(h,c)}),u.forEach((h,m)=>{let g=h.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(g+=Math.ceil(m/2)-c*(d.length-1)),g=Math.min(Math.max(g,-1),1),h.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(b=>{n(b,g)})})},o=function(l){l===void 0&&(l=e.params.speed);const{el:u,hostEl:c}=e,d=[...u.querySelectorAll(i)];e.isElement&&d.push(...c.querySelectorAll(i)),d.forEach(f=>{let p=parseInt(f.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(p=0),f.style.transitionDuration=`${p}ms`})};r("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),r("init",()=>{e.params.parallax.enabled&&a()}),r("setTranslate",()=>{e.params.parallax.enabled&&a()}),r("setTransition",(l,u)=>{e.params.parallax.enabled&&o(u)})}function af(s){let{swiper:e,extendParams:t,on:r,emit:i}=s;const n=Te();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let a=1,o=!1,l,u;const c=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let h=1;Object.defineProperty(e.zoom,"scale",{get(){return h}
23,set(F){if(h!==F){const $=d.imageEl,B=d.slideEl;i("zoomChange",F,$,B)}h=F}});function m(){if(c.length<2)return 1;const F=c[0].pageX,$=c[0].pageY,B=c[1].pageX,j=c[1].pageY;return Math.sqrt((B-F)**2+(j-$)**2)}function g(){const F=e.params.zoom,$=d.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio;if(F.limitToOriginalSize&&d.imageEl&&d.imageEl.naturalWidth){const B=d.imageEl.naturalWidth/d.imageEl.offsetWidth;return Math.min(B,$)}return $}function b(){if(c.length<2)return{x:null,y:null};const F=d.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-F.x-n.scrollX)/a,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-F.y-n.scrollY)/a]}function v(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function y(F){const $=v();return!!(F.target.matches($)||e.slides.filter(B=>B.contains(F.target)).length>0)}function w(F){const $=`.${e.params.zoom.containerClass}`;return!!(F.target.matches($)||[...e.hostEl.querySelectorAll($)].filter(B=>B.contains(F.target)).length>0)}function _(F){if(F.pointerType==="mouse"&&c.splice(0,c.length),!y(F))return;const $=e.params.zoom;if(l=!1,u=!1,c.push(F),!(c.length<2)){if(l=!0,d.scaleStart=m(),!d.slideEl){d.slideEl=F.target.closest(`.${e.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=e.slides[e.activeIndex]);let B=d.slideEl.querySelector(`.${$.containerClass}`);if(B&&(B=B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=B,B?d.imageWrapEl=Zr(d.imageEl,`.${$.containerClass}`)[0]:d.imageWrapEl=void 0,!d.imageWrapEl){d.imageEl=void 0;return}d.maxRatio=g()}if(d.imageEl){const[B,j]=b();d.originX=B,d.originY=j,d.imageEl.style.transitionDuration="0ms"}o=!0}}function P(F){if(!y(F))return;const $=e.params.zoom,B=e.zoom,j=c.findIndex(H=>H.pointerId===F.pointerId);j>=0&&(c[j]=F),!(c.length<2)&&(u=!0,d.scaleMove=m(),d.imageEl&&(B.scale=d.scaleMove/d.scaleStart*a,B.scale>d.maxRatio&&(B.scale=d.maxRatio-1+(B.scale-d.maxRatio+1)**.5),B.scale<$.minRatio&&(B.scale=$.minRatio+1-($.minRatio-B.scale+1)**.5),d.imageEl.style.transform=`translate3d(0,0,0) scale(${B.scale})`))}function O(F){if(!y(F)||F.pointerType==="mouse"&&F.type==="pointerout")return;const $=e.params.zoom,B=e.zoom,j=c.findIndex(H=>H.pointerId===F.pointerId);j>=0&&c.splice(j,1),!(!l||!u)&&(l=!1,u=!1,d.imageEl&&(B.scale=Math.max(Math.min(B.scale,d.maxRatio),$.minRatio),d.imageEl.style.transitionDuration=`${e.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${B.scale})`,a=B.scale,o=!1,B.scale>1&&d.slideEl?d.slideEl.classList.add(`${$.zoomedSlideClass}`):B.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${$.zoomedSlideClass}`),B.scale===1&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}let E;function S(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function C(){clearTimeout(E),e.touchEventsData.preventTouchMoveFromPointerMove=!0,E=setTimeout(()=>{e.destroyed||S()})}function D(F){const $=e.device;if(!d.imageEl||f.isTouched)return;$.android&&F.cancelable&&F.preventDefault(),f.isTouched=!0;const B=c.length>0?c[0]:F;f.touchesStart.x=B.pageX,f.touchesStart.y=B.pageY}function x(F){if(!y(F)||!w(F))return;const $=e.zoom;if(!d.imageEl||!f.isTouched||!d.slideEl)return;f.isMoved||(f.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,f.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,f.startX=Ks(d.imageWrapEl,"x")||0,f.startY=Ks(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const B=f.width*$.scale,j=f.height*$.scale;if(f.minX=Math.min(d.slideWidth/2-B/2,0),f.maxX=-f.minX,f.minY=Math.min(d.slideHeight/2-j/2,0),f.maxY=-f.minY,f.touchesCurrent.x=c.length>0?c[0].pageX:F.pageX,f.touchesCurrent.y=c.length>0?c[0].pageY:F.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!o){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x)){f.isTouched=!1,S();return}if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y)){f.isTouched=!1,S();return}}F.cancelable&&F.preventDefault(),F.stopPropagation(),C(),f.isMoved=!0;
vendor: 4,579 bytes, line 23
23const Y=($.scale-a)/(d.maxRatio-e.params.zoom.minRatio),{originX:U,originY:re}=d;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+Y*(f.width-U*2),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+Y*(f.height-re*2),f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=f.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=f.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(f.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(f.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(f.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(f.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=f.touchesCurrent.x,p.prevPositionY=f.touchesCurrent.y,p.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function T(){const F=e.zoom;if(!d.imageEl)return;if(!f.isTouched||!f.isMoved){f.isTouched=!1,f.isMoved=!1;return}f.isTouched=!1,f.isMoved=!1;let $=300,B=300;const j=p.x*$,H=f.currentX+j,Y=p.y*B,U=f.currentY+Y;p.x!==0&&($=Math.abs((H-f.currentX)/p.x)),p.y!==0&&(B=Math.abs((U-f.currentY)/p.y));const re=Math.max($,B);f.currentX=H,f.currentY=U;const be=f.width*F.scale,Le=f.height*F.scale;f.minX=Math.min(d.slideWidth/2-be/2,0),f.maxX=-f.minX,f.minY=Math.min(d.slideHeight/2-Le/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),d.imageWrapEl.style.transitionDuration=`${re}ms`,d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function M(){const F=e.zoom;d.slideEl&&e.activeIndex!==e.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),F.scale=1,a=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function L(F){const $=e.zoom,B=e.params.zoom;if(!d.slideEl){F&&F.target&&(d.slideEl=F.target.closest(`.${e.params.slideClass}, swiper-slide`)),d.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Ye(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex]);let Xt=d.slideEl.querySelector(`.${B.containerClass}`);Xt&&(Xt=Xt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=Xt,Xt?d.imageWrapEl=Zr(d.imageEl,`.${B.containerClass}`)[0]:d.imageWrapEl=void 0}if(!d.imageEl||!d.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${B.zoomedSlideClass}`);let j,H,Y,U,re,be,Le,_e,xt,ae,he,Xe,He,N,qe,zt,Wt,me;typeof f.touchesStart.x>"u"&&F?(j=F.pageX,H=F.pageY):(j=f.touchesStart.x,H=f.touchesStart.y);const Tt=typeof F=="number"?F:null;a===1&&Tt&&(j=void 0,H=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0);const dr=g();$.scale=Tt||dr,a=Tt||dr,F&&!(a===1&&Tt)?(Wt=d.slideEl.offsetWidth,me=d.slideEl.offsetHeight,Y=Zn(d.slideEl).left+n.scrollX,U=Zn(d.slideEl).top+n.scrollY,re=Y+Wt/2-j,be=U+me/2-H,xt=d.imageEl.offsetWidth||d.imageEl.clientWidth,ae=d.imageEl.offsetHeight||d.imageEl.clientHeight,he=xt*$.scale,Xe=ae*$.scale,He=Math.min(Wt/2-he/2,0),N=Math.min(me/2-Xe/2,0),qe=-He,zt=-N,Le=re*$.scale,_e=be*$.scale,Le<He&&(Le=He),Le>qe&&(Le=qe),_e<N&&(_e=N),_e>zt&&(_e=zt)):(Le=0,_e=0),Tt&&$.scale===1&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${Le}px, ${_e}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`}function z(){const F=e.zoom,$=e.params.zoom;if(!d.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Ye(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex];let B=d.slideEl.querySelector(`.${$.containerClass}`);B&&(B=B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=B,B?d.imageWrapEl=Zr(d.imageEl,`.${$.containerClass}`)[0]:d.imageWrapEl=void 0}!d.imageEl||!d.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),F.scale=1,a=1,f.touchesStart.x=void 0,f.touchesStart.y=void 0,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,
230,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${$.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0)}function k(F){const $=e.zoom;$.scale&&$.scale!==1?z():L(F)}function A(){const F=e.params.passiveListeners?{passive:!0,capture:!1}:!1,$=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:F,activeListenerWithCapture:$}}function R(){const F=e.zoom;if(F.enabled)return;F.enabled=!0;const{passiveListener:$,activeListenerWithCapture:B}=A();e.wrapperEl.addEventListener("pointerdown",_,$),e.wrapperEl.addEventListener("pointermove",P,B),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.addEventListener(j,O,$)}),e.wrapperEl.addEventListener("pointermove",x,B)}function I(){const F=e.zoom;if(!F.enabled)return;F.enabled=!1;const{passiveListener:$,activeListenerWithCapture:B}=A();e.wrapperEl.removeEventListener("pointerdown",_,$),e.wrapperEl.removeEventListener("pointermove",P,B),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.removeEventListener(j,O,$)}),e.wrapperEl.removeEventListener("pointermove",x,B)}r("init",()=>{e.params.zoom.enabled&&R()}),r("destroy",()=>{I()}),r("touchStart",(F,$)=>{e.zoom.enabled&&D($)}),r("touchEnd",(F,$)=>{e.zoom.enabled&&T()}),r("doubleTap",(F,$)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&k($)}),r("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&M()}),r("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&M()}),Object.assign(e.zoom,{enable:R,disable:I,in:L,out:z,toggle:k})}function of(s){let{swiper:e,extendParams:t,on:r}=s;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(u,c){const d=function(){let m,g,b;return(v,y)=>{for(g=-1,m=v.length;m-g>1;)b=m+g>>1,v[b]<=y?g=b:m=b;return m}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let f,p;return this.interpolate=function(m){return m?(p=d(this.x,m),f=p-1,(m-this.x[f])*(this.y[p]-this.y[f])/(this.x[p]-this.x[f])+this.y[f]):0},this}function n(u){e.controller.spline=e.params.loop?new i(e.slidesGrid,u.slidesGrid):new i(e.snapGrid,u.snapGrid)}function a(u,c){const d=e.controller.control;let f,p;const h=e.constructor;function m(g){if(g.destroyed)return;const b=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(n(g),p=-e.controller.spline.interpolate(-b)),(!p||e.params.controller.by==="container")&&(f=(g.maxTranslate()-g.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(f)||!Number.isFinite(f))&&(f=1),p=(b-e.minTranslate())*f+g.minTranslate()),e.params.controller.inverse&&(p=g.maxTranslate()-p),g.updateProgress(p),g.setTranslate(p,e),g.updateActiveIndex(),g.updateSlidesClasses()}if(Array.isArray(d))for(let g=0;g<d.length;g+=1)d[g]!==c&&d[g]instanceof h&&m(d[g]);else d instanceof h&&c!==d&&m(d)}function o(u,c){const d=e.constructor,f=e.controller.control;let p;function h(m){m.destroyed||(m.setTransition(u,e),u!==0&&(m.transitionStart(),m.params.autoHeight&&Ur(()=>{m.updateAutoHeight()}),tn(m.wrapperEl,()=>{f&&m.transitionEnd()})))}if(Array.isArray(f))for(p=0;p<f.length;p+=1)f[p]!==c&&f[p]instanceof d&&h(f[p]);else f instanceof d&&c!==f&&h(f)}function l(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}r("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(c=>{if(e.controller.control||(e.controller.control=[]),c&&c.swiper)e.controller.control.push(c.swiper);else if(c){const d=`${e.params.eventsPrefix}init`,f=p=>{e.controller.control.push(p.detail[0]),e.update(),c.removeEventListener(d,f)};c.addEventListener(d,f)}});return}e.controller.control=e.params.controller.control}),r("update",()=>{l()}),r("resize",()=>{l()}),r("observerUpdate",()=>{l()}),r("setTranslate",(u,c,d)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,d)}),r("setTransition",(u,c,d)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,d)}),Object.assign(e.controller,{setTranslate:a,setTransition:o})}function lf(s){let{swiper:e,extendParams:t,on:r}=s;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,
23scrollOnFocus:!0}}),e.a11y={clicked:!1};let i=null,n,a,o=new Date().getTime();function l(k){const A=i;A.length!==0&&(A.innerHTML="",A.innerHTML=k)}function u(k){const A=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(k).replace(/x/g,A)}function c(k){k=J(k),k.forEach(A=>{A.setAttribute("tabIndex","0")})}function d(k){k=J(k),k.forEach(A=>{A.setAttribute("tabIndex","-1")})}function f(k,A){k=J(k),k.forEach(R=>{R.setAttribute("role",A)})}function p(k,A){k=J(k),k.forEach(R=>{R.setAttribute("aria-roledescription",A)})}function h(k,A){k=J(k),k.forEach(R=>{R.setAttribute("aria-controls",A)})}function m(k,A){k=J(k),k.forEach(R=>{R.setAttribute("aria-label",A)})}function g(k,A){k=J(k),k.forEach(R=>{R.setAttribute("id",A)})}function b(k,A){k=J(k),k.forEach(R=>{R.setAttribute("aria-live",A)})}function v(k){k=J(k),k.forEach(A=>{A.setAttribute("aria-disabled",!0)})}function y(k){k=J(k),k.forEach(A=>{A.setAttribute("aria-disabled",!1)})}function w(k){if(k.keyCode!==13&&k.keyCode!==32)return;const A=e.params.a11y,R=k.target;if(!(e.pagination&&e.pagination.el&&(R===e.pagination.el||e.pagination.el.contains(k.target))&&!k.target.matches(gr(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const I=J(e.navigation.prevEl);J(e.navigation.nextEl).includes(R)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(A.lastSlideMessage):l(A.nextSlideMessage)),I.includes(R)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(A.firstSlideMessage):l(A.prevSlideMessage))}e.pagination&&R.matches(gr(e.params.pagination.bulletClass))&&R.click()}}function _(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:k,prevEl:A}=e.navigation;A&&(e.isBeginning?(v(A),d(A)):(y(A),c(A))),k&&(e.isEnd?(v(k),d(k)):(y(k),c(k)))}function P(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function O(){return P()&&e.params.pagination.clickable}function E(){const k=e.params.a11y;P()&&e.pagination.bullets.forEach(A=>{e.params.pagination.clickable&&(c(A),e.params.pagination.renderBullet||(f(A,"button"),m(A,k.paginationBulletMessage.replace(/\{\{index\}\}/,en(A)+1)))),A.matches(gr(e.params.pagination.bulletActiveClass))?A.setAttribute("aria-current","true"):A.removeAttribute("aria-current")})}const S=(k,A,R)=>{c(k),k.tagName!=="BUTTON"&&(f(k,"button"),k.addEventListener("keydown",w)),m(k,R),h(k,A)},C=k=>{a&&a!==k.target&&!a.contains(k.target)&&(n=!0),e.a11y.clicked=!0},D=()=>{n=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},x=k=>{o=new Date().getTime()},T=k=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-o<100)return;const A=k.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!A||!e.slides.includes(A))return;a=A;const R=e.slides.indexOf(A)===e.activeIndex,I=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(A);R||I||k.sourceCapabilities&&k.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{n||(e.params.loop?e.slideToLoop(parseInt(A.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(A),0),n=!1)}))},M=()=>{const k=e.params.a11y;k.itemRoleDescriptionMessage&&p(e.slides,k.itemRoleDescriptionMessage),k.slideRole&&f(e.slides,k.slideRole);const A=e.slides.length;k.slideLabelMessage&&e.slides.forEach((R,I)=>{const F=e.params.loop?parseInt(R.getAttribute("data-swiper-slide-index"),10):I,$=k.slideLabelMessage.replace(/\{\{index\}\}/,F+1).replace(/\{\{slidesLength\}\}/,A);m(R,$)})},L=()=>{const k=e.params.a11y;e.el.append(i);const A=e.el;k.containerRoleDescriptionMessage&&p(A,k.containerRoleDescriptionMessage),k.containerMessage&&m(A,k.containerMessage),k.containerRole&&f(A,k.containerRole);const R=e.wrapperEl,I=k.id||R.getAttribute("id")||`swiper-wrapper-${u(16)}`,F=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";g(R,I),b(R,F),M();let{nextEl:$,prevEl:B}=e.navigation?e.navigation:{};$=J($),B=J(B),$&&$.forEach(H=>S(H,I,k.nextSlideMessage)),B&&B.forEach(H=>S(H,I,k.prevSlideMessage)),O()&&J(e.pagination.el).forEach(Y=>{Y.addEventListener("keydown",w)}),Ge().addEventListener("visibilitychange",x),e.el.addEventListener("focus",T,!0),e.el.addEventListener("focus",T,!0),e.el.addEventListener("pointerdown",C,!0),e.el.addEventListener("pointerup",D,!0)};function z(){i&&i.remove();let{nextEl:k,prevEl:A}=e.navigation?e.navigation:{};
23k=J(k),A=J(A),k&&k.forEach(I=>I.removeEventListener("keydown",w)),A&&A.forEach(I=>I.removeEventListener("keydown",w)),O()&&J(e.pagination.el).forEach(F=>{F.removeEventListener("keydown",w)}),Ge().removeEventListener("visibilitychange",x),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",T,!0),e.el.removeEventListener("pointerdown",C,!0),e.el.removeEventListener("pointerup",D,!0))}r("beforeInit",()=>{i=Et("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),r("afterInit",()=>{e.params.a11y.enabled&&L()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&M()}),r("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&_()}),r("paginationUpdate",()=>{e.params.a11y.enabled&&E()}),r("destroy",()=>{e.params.a11y.enabled&&z()})}function uf(s){let{swiper:e,extendParams:t,on:r}=s;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const a=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=p=>{const h=Te();let m;p?m=new URL(p):m=h.location;const g=m.pathname.slice(1).split("/").filter(w=>w!==""),b=g.length,v=g[b-2],y=g[b-1];return{key:v,value:y}},l=(p,h)=>{const m=Te();if(!i||!e.params.history.enabled)return;let g;e.params.url?g=new URL(e.params.url):g=m.location;const b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${h}"]`):e.slides[h];let v=a(b.getAttribute("data-history"));if(e.params.history.root.length>0){let w=e.params.history.root;w[w.length-1]==="/"&&(w=w.slice(0,w.length-1)),v=`${w}/${p?`${p}/`:""}${v}`}else g.pathname.includes(p)||(v=`${p?`${p}/`:""}${v}`);e.params.history.keepQuery&&(v+=g.search);const y=m.history.state;y&&y.value===v||(e.params.history.replaceState?m.history.replaceState({value:v},null,v):m.history.pushState({value:v},null,v))},u=(p,h,m)=>{if(h)for(let g=0,b=e.slides.length;g<b;g+=1){const v=e.slides[g];if(a(v.getAttribute("data-history"))===h){const w=e.getSlideIndex(v);e.slideTo(w,p,m)}}else e.slideTo(0,p,m)},c=()=>{n=o(e.params.url),u(e.params.speed,n.value,!1)},d=()=>{const p=Te();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,n=o(e.params.url),!n.key&&!n.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}u(0,n.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},f=()=>{const p=Te();e.params.history.replaceState||p.removeEventListener("popstate",c)};r("init",()=>{e.params.history.enabled&&d()}),r("destroy",()=>{e.params.history.enabled&&f()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{i&&l(e.params.history.key,e.activeIndex)}),r("slideChange",()=>{i&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function cf(s){let{swiper:e,extendParams:t,emit:r,on:i}=s,n=!1;const a=Ge(),o=Te();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(f,p){if(e.virtual&&e.params.virtual.enabled){const h=e.slides.filter(g=>g.getAttribute("data-hash")===p)[0];return h?parseInt(h.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Ye(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const l=()=>{r("hashChange");const f=a.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],h=p?p.getAttribute("data-hash"):"";if(f!==h){const m=e.params.hashNavigation.getSlideIndex(e,f);if(typeof m>"u"||Number.isNaN(m))return;e.slideTo(m)}},u=()=>{if(!n||!e.params.hashNavigation.enabled)return;const f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=f?f.getAttribute("data-hash")||f.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?(o.history.replaceState(null,null,`#${p}`||""),r("hashSet")):(a.location.hash=p||"",r("hashSet"))},c=()=>
vendor: 4,245 bytes, line 23
23{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const f=a.location.hash.replace("#","");if(f){const h=e.params.hashNavigation.getSlideIndex(e,f);e.slideTo(h||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&o.addEventListener("hashchange",l)},d=()=>{e.params.hashNavigation.watchState&&o.removeEventListener("hashchange",l)};i("init",()=>{e.params.hashNavigation.enabled&&c()}),i("destroy",()=>{e.params.hashNavigation.enabled&&d()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{n&&u()}),i("slideChange",()=>{n&&e.params.cssMode&&u()})}function df(s){let{swiper:e,extendParams:t,on:r,emit:i,params:n}=s;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,o,l=n&&n.autoplay?n.autoplay.delay:3e3,u=n&&n.autoplay?n.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,g,b,v;function y(A){!e||e.destroyed||!e.wrapperEl||A.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",y),!(v||A.detail&&A.detail.bySwiperTouchMove)&&C())}const w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(u=c,f=!1);const A=e.autoplay.paused?c:d+u-new Date().getTime();e.autoplay.timeLeft=A,i("autoplayTimeLeft",A,A/l),o=requestAnimationFrame(()=>{w()})},_=()=>{let A;return e.virtual&&e.params.virtual.enabled?A=e.slides.filter(I=>I.classList.contains("swiper-slide-active"))[0]:A=e.slides[e.activeIndex],A?parseInt(A.getAttribute("data-swiper-autoplay"),10):void 0},P=A=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),w();let R=typeof A>"u"?e.params.autoplay.delay:A;l=e.params.autoplay.delay,u=e.params.autoplay.delay;const I=_();!Number.isNaN(I)&&I>0&&typeof A>"u"&&(R=I,l=I,u=I),c=R;const F=e.params.speed,$=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(F,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,F,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(F,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,F,!0,!0),i("autoplay")),e.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return R>0?(clearTimeout(a),a=setTimeout(()=>{$()},R)):requestAnimationFrame(()=>{$()}),R},O=()=>{d=new Date().getTime(),e.autoplay.running=!0,P(),i("autoplayStart")},E=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),i("autoplayStop")},S=(A,R)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),A||(b=!0);const I=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):C()};if(e.autoplay.paused=!0,R){g&&(c=e.params.autoplay.delay),g=!1,I();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-d),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),I())},C=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(d=new Date().getTime(),b?(b=!1,P(c)):P(),e.autoplay.paused=!1,i("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const A=Ge();A.visibilityState==="hidden"&&(b=!0,S(!0)),A.visibilityState==="visible"&&C()},x=A=>{A.pointerType==="mouse"&&(b=!0,v=!0,!(e.animating||e.autoplay.paused)&&S(!0))},T=A=>{A.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&C())},M=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",T))},L=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",T))},z=()=>{Ge().addEventListener("visibilitychange",D)},k=()=>{Ge().removeEventListener("visibilitychange",D)};r("init",()=>{e.params.autoplay.enabled&&(M(),z(),O())}),r("destroy",()=>{L(),k(),e.autoplay.running&&E()}),r("_freeModeStaticRelease",()=>{(h||b)&&C()}),r("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?E():S(!0,!0)}),r("beforeTransitionStart",(A,R,I)=>{e.destroyed||!e.autoplay.running||(I||!e.params.autoplay.disableOnInteraction?S(!0,!0):E())}),r("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){
23E();return}p=!0,h=!1,b=!1,m=setTimeout(()=>{b=!0,h=!0,S(!0)},200)}}),r("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&e.params.cssMode&&C(),h=!1,p=!1}}),r("slideChange",()=>{e.destroyed||!e.autoplay.running||(g=!0)}),Object.assign(e.autoplay,{start:O,stop:E,pause:S,resume:C})}function ff(s){let{swiper:e,extendParams:t,on:r}=s;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,n=!1;e.thumbs={swiper:null};function a(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,d=u.clickedSlide;if(d&&d.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let f;u.params.loop?f=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):f=c,e.params.loop?e.slideToLoop(f):e.slideTo(f)}function o(){const{thumbs:u}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Qi(u.swiper)){const d=Object.assign({},u.swiper);Object.assign(d,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(d),n=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function l(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const d=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let f=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(f=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),c.slides.forEach(g=>g.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let g=0;g<f;g+=1)Ye(c.slidesEl,`[data-swiper-slide-index="${e.realIndex+g}"]`).forEach(b=>{b.classList.add(p)});else for(let g=0;g<f;g+=1)c.slides[e.realIndex+g]&&c.slides[e.realIndex+g].classList.add(p);const h=e.params.thumbs.autoScrollOffset,m=h&&!c.params.loop;if(e.realIndex!==c.realIndex||m){const g=c.activeIndex;let b,v;if(c.params.loop){const y=c.slides.filter(w=>w.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];b=c.slides.indexOf(y),v=e.activeIndex>e.previousIndex?"next":"prev"}else b=e.realIndex,v=b>e.previousIndex?"next":"prev";m&&(b+=v==="next"?h:-1*h),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(b)<0&&(c.params.centeredSlides?b>g?b=b-Math.floor(d/2)+1:b=b+Math.floor(d/2)-1:b>g&&c.params.slidesPerGroup,c.slideTo(b,u?0:void 0))}}r("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=Ge(),d=()=>{const p=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(p&&p.swiper)u.swiper=p.swiper,o(),l(!0);else if(p){const h=`${e.params.eventsPrefix}init`,m=g=>{u.swiper=g.detail[0],p.removeEventListener(h,m),o(),l(!0),u.swiper.update(),e.update()};p.addEventListener(h,m)}return p},f=()=>{if(e.destroyed)return;d()||requestAnimationFrame(f)};requestAnimationFrame(f)}else o(),l(!0)}),r("slideChange update resize observerUpdate",()=>{l()}),r("setTransition",(u,c)=>{const d=e.thumbs.swiper;!d||d.destroyed||d.setTransition(c)}),r("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||n&&u.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}function pf(s){let{swiper:e,extendParams:t,emit:r,once:i}=s;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function n(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:$t()})}function o(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:c,wrapperEl:d,rtlTranslate:f,snapGrid:p,touchEventsData:h}=e,g=$t()-h.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<p.length?e.slideTo(p.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(h.velocities.length>1){const E=h.velocities.pop(),S=h.velocities.pop(),C=E.position-S.position,D=E.time-S.time;
23e.velocity=C/D,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(D>150||$t()-E.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,h.velocities.length=0;let b=1e3*c.freeMode.momentumRatio;const v=e.velocity*b;let y=e.translate+v;f&&(y=-y);let w=!1,_;const P=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let O;if(y<e.maxTranslate())c.freeMode.momentumBounce?(y+e.maxTranslate()<-P&&(y=e.maxTranslate()-P),_=e.maxTranslate(),w=!0,h.allowMomentumBounce=!0):y=e.maxTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(y>e.minTranslate())c.freeMode.momentumBounce?(y-e.minTranslate()>P&&(y=e.minTranslate()+P),_=e.minTranslate(),w=!0,h.allowMomentumBounce=!0):y=e.minTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(c.freeMode.sticky){let E;for(let S=0;S<p.length;S+=1)if(p[S]>-y){E=S;break}Math.abs(p[E]-y)<Math.abs(p[E-1]-y)||e.swipeDirection==="next"?y=p[E]:y=p[E-1],y=-y}if(O&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?b=Math.abs((-y-e.translate)/e.velocity):b=Math.abs((y-e.translate)/e.velocity),c.freeMode.sticky){const E=Math.abs((f?-y:y)-e.translate),S=e.slidesSizesGrid[e.activeIndex];E<S?b=c.speed:E<2*S?b=c.speed*1.5:b=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&w?(e.updateProgress(_),e.setTransition(b),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,tn(d,()=>{!e||e.destroyed||!h.allowMomentumBounce||(r("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(_),tn(d,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(b),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,tn(d,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&r("_freeModeNoMomentumRelease");(!c.freeMode.momentum||g>=c.longSwipesMs)&&(r("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:n,onTouchMove:a,onTouchEnd:o}})}function hf(s){let{swiper:e,extendParams:t,on:r}=s;t({grid:{rows:1,fill:"column"}});let i,n,a,o;const l=()=>{let m=e.params.spaceBetween;return typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*e.size:typeof m=="string"&&(m=parseFloat(m)),m},u=m=>{const{slidesPerView:g}=e.params,{rows:b,fill:v}=e.params.grid,y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:m.length;a=Math.floor(y/b),Math.floor(y/b)===y/b?i=y:i=Math.ceil(y/b)*b,g!=="auto"&&v==="row"&&(i=Math.max(i,g*b)),n=i/b},c=()=>{e.slides&&e.slides.forEach(m=>{m.swiperSlideGridSet&&(m.style.height="",m.style[e.getDirectionLabel("margin-top")]="")})},d=(m,g,b)=>{const{slidesPerGroup:v}=e.params,y=l(),{rows:w,fill:_}=e.params.grid,P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;let O,E,S;if(_==="row"&&v>1){const C=Math.floor(m/(v*w)),D=m-w*v*C,x=C===0?v:Math.min(Math.ceil((P-C*w*v)/w),v);S=Math.floor(D/x),E=D-S*x+C*v,O=E+S*i/w,g.style.order=O}else _==="column"?(E=Math.floor(m/w),S=m-E*w,(E>a||E===a&&S===w-1)&&(S+=1,S>=w&&(S=0,E+=1))):(S=Math.floor(m/n),E=m-S*n);g.row=S,g.column=E,g.style.height=`calc((100% - ${(w-1)*y}px) / ${w})`,g.style[e.getDirectionLabel("margin-top")]=S!==0?y&&`${y}px`:"",g.swiperSlideGridSet=!0},f=(m,g)=>{const{centeredSlides:b,roundLengths:v}=e.params,y=l(),{rows:w}=e.params.grid;if(e.virtualSize=(m+y)*i,e.virtualSize=Math.ceil(e.virtualSize/w)-y,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+y}px`),b){const _=[];for(let P=0;P<g.length;P+=1){let O=g[P];v&&(O=Math.floor(O)),g[P]<e.virtualSize+g[0]&&_.push(O)}g.splice(0,g.length),g.push(..._)}},p=()=>{o=e.params.grid&&e.params.grid.rows>1},h=()=>{const{params:m,el:g}=e,b=m.grid&&m.grid.rows>1;o&&!b?(g.classList.remove(`${m.containerModifierClass}grid`,`${m.containerModifierClass}grid-column`),a=1,e.emitContainerClasses()):!o&&b&&(g.classList.add(`${m.containerModifierClass}grid`),m.grid.fill==="column"&&g.classList.add(`${m.containerModifierClass}grid-column`),e.emitContainerClasses()),o=b};r("init",p),r("update",h),e.grid={initSlides:u,unsetSlides:c,updateSlide:d,updateWrapperSize:f}}function mf(s){const e=this,{params:t,slidesEl:r}=e;t.loop&&e.loopDestroy();const i=n=>{if(typeof n=="string"){const a=document.createElement("div");a.innerHTML=n,r.append(a.children[0]),a.innerHTML=""}else r.append(n)};if(typeof s=="object"&&"length"in s)for(let n=0;n<s.length;n+=1)s[n]&&i(s[n]);else i(s);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(
23)}function gf(s){const e=this,{params:t,activeIndex:r,slidesEl:i}=e;t.loop&&e.loopDestroy();let n=r+1;const a=o=>{if(typeof o=="string"){const l=document.createElement("div");l.innerHTML=o,i.prepend(l.children[0]),l.innerHTML=""}else i.prepend(o)};if(typeof s=="object"&&"length"in s){for(let o=0;o<s.length;o+=1)s[o]&&a(s[o]);n=r+s.length}else a(s);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),e.slideTo(n,0,!1)}function vf(s,e){const t=this,{params:r,activeIndex:i,slidesEl:n}=t;let a=i;r.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const o=t.slides.length;if(s<=0){t.prependSlide(e);return}if(s>=o){t.appendSlide(e);return}let l=a>s?a+1:a;const u=[];for(let c=o-1;c>=s;c-=1){const d=t.slides[c];d.remove(),u.unshift(d)}if(typeof e=="object"&&"length"in e){for(let c=0;c<e.length;c+=1)e[c]&&n.append(e[c]);l=a>s?a+e.length:a}else n.append(e);for(let c=0;c<u.length;c+=1)n.append(u[c]);t.recalcSlides(),r.loop&&t.loopCreate(),(!r.observer||t.isElement)&&t.update(),r.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)}function yf(s){const e=this,{params:t,activeIndex:r}=e;let i=r;t.loop&&(i-=e.loopedSlides,e.loopDestroy());let n=i,a;if(typeof s=="object"&&"length"in s){for(let o=0;o<s.length;o+=1)a=s[o],e.slides[a]&&e.slides[a].remove(),a<n&&(n-=1);n=Math.max(n,0)}else a=s,e.slides[a]&&e.slides[a].remove(),a<n&&(n-=1),n=Math.max(n,0);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),t.loop?e.slideTo(n+e.loopedSlides,0,!1):e.slideTo(n,0,!1)}function wf(){const s=this,e=[];for(let t=0;t<s.slides.length;t+=1)e.push(t);s.removeSlide(e)}function bf(s){let{swiper:e}=s;Object.assign(e,{appendSlide:mf.bind(e),prependSlide:gf.bind(e),addSlide:vf.bind(e),removeSlide:yf.bind(e),removeAllSlides:wf.bind(e)})}function Si(s){const{effect:e,swiper:t,on:r,setTranslate:i,setTransition:n,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:u}=s;r("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),o&&o()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const d=a?a():{};Object.assign(t.params,d),Object.assign(t.originalParams,d)}),r("setTranslate",()=>{t.params.effect===e&&i()}),r("setTransition",(d,f)=>{t.params.effect===e&&n(f)}),r("transitionEnd",()=>{if(t.params.effect===e&&l){if(!u||!u().slideShadows)return;t.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let c;r("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(c=!0),requestAnimationFrame(()=>{c&&t.slides&&t.slides.length&&(i(),c=!1)}))})}function rn(s,e){const t=Kr(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function es(s){let{swiper:e,duration:t,transformElements:r,allSlides:i}=s;const{activeIndex:n}=e,a=o=>o.parentElement?o.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===o.parentNode)[0];if(e.params.virtualTranslate&&t!==0){let o=!1,l;i?l=r:l=r.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?a(u):u;return e.getSlideIndex(c)===n}),l.forEach(u=>{tn(u,()=>{if(o||!e||e.destroyed)return;o=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function _f(s){let{swiper:e,extendParams:t,on:r}=s;t({fadeEffect:{crossFade:!1}}),Si({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:a}=e,o=e.params.fadeEffect;for(let l=0;l<a.length;l+=1){const u=e.slides[l];let d=-u.swiperSlideOffset;e.params.virtualTranslate||(d-=e.translate);let f=0;e.isHorizontal()||(f=d,d=0);const p=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(u.progress),0):1+Math.min(Math.max(u.progress,-1),0),h=rn(o,u);h.style.opacity=p,h.style.transform=`translate3d(${d}px, ${f}px, 0px)`}},setTransition:a=>{const o=e.slides.map(l=>Kr(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`}),es({swiper:e,duration:a,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function xf(s){let{swiper:e,extendParams:t,on:r}=s;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(l,u,c)=>{let d=c?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),f=c?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");d||(d=Et("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),l.append(d)),f||(f=Et("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),l.append(f)),d&&(d.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};Si({effect:"cube",swiper:e,on:r,setTranslate:()=>{const{el:l,wrapperEl:u,slides:c,width:d,height:f,rtlTranslate:p,size:h,browser:m}=e,g=Qn(e),b=e.params.cubeEffect,v=e.isHorizontal(),y=e.virtual&&e.params.virtual.enabled;let w=0,_;b.shadow&&(v?(_=e.wrapperEl.querySelector(".swiper-cube-shadow"),_||(_=Et("div","swiper-cube-shadow"),e.wrapperEl.append(_)),_.style.height=`${d}px`):(_=l.querySelector(".swiper-cube-shadow"),_||(_=Et("div","swiper-cube-shadow"),l.a
23ppend(_))));for(let O=0;O<c.length;O+=1){const E=c[O];let S=O;y&&(S=parseInt(E.getAttribute("data-swiper-slide-index"),10));let C=S*90,D=Math.floor(C/360);p&&(C=-C,D=Math.floor(-C/360));const x=Math.max(Math.min(E.progress,1),-1);let T=0,M=0,L=0;S%4===0?(T=-D*4*h,L=0):(S-1)%4===0?(T=0,L=-D*4*h):(S-2)%4===0?(T=h+D*4*h,L=h):(S-3)%4===0&&(T=-h,L=3*h+h*4*D),p&&(T=-T),v||(M=T,T=0);const z=`rotateX(${g(v?0:-C)}deg) rotateY(${g(v?C:0)}deg) translate3d(${T}px, ${M}px, ${L}px)`;x<=1&&x>-1&&(w=S*90+x*90,p&&(w=-S*90-x*90)),E.style.transform=z,b.slideShadows&&i(E,x,v)}if(u.style.transformOrigin=`50% 50% -${h/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${h/2}px`,b.shadow)if(v)_.style.transform=`translate3d(0px, ${d/2+b.shadowOffset}px, ${-d/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${b.shadowScale})`;else{const O=Math.abs(w)-Math.floor(Math.abs(w)/90)*90,E=1.5-(Math.sin(O*2*Math.PI/360)/2+Math.cos(O*2*Math.PI/360)/2),S=b.shadowScale,C=b.shadowScale/E,D=b.shadowOffset;_.style.transform=`scale3d(${S}, 1, ${C}) translate3d(0px, ${f/2+D}px, ${-f/2/C}px) rotateX(-89.99deg)`}const P=(m.isSafari||m.isWebView)&&m.needPerspectiveFix?-h/2:0;u.style.transform=`translate3d(0px,0,${P}px) rotateX(${g(e.isHorizontal()?0:w)}deg) rotateY(${g(e.isHorizontal()?-w:0)}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${P}px`)},setTransition:l=>{const{el:u,slides:c}=e;if(c.forEach(d=>{d.style.transitionDuration=`${l}ms`,d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const d=u.querySelector(".swiper-cube-shadow");d&&(d.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{const l=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);i(u,c,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Ei(s,e,t){const r=`swiper-slide-shadow${t?`-${t}`:""}${s?` swiper-slide-shadow-${s}`:""}`,i=Kr(e);let n=i.querySelector(`.${r.split(" ").join(".")}`);return n||(n=Et("div",r.split(" ")),i.append(n)),n}function Tf(s){let{swiper:e,extendParams:t,on:r}=s;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(l,u)=>{let c=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),d=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");c||(c=Ei("flip",l,e.isHorizontal()?"left":"top")),d||(d=Ei("flip",l,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};Si({effect:"flip",swiper:e,on:r,setTranslate:()=>{const{slides:l,rtlTranslate:u}=e,c=e.params.flipEffect,d=Qn(e);for(let f=0;f<l.length;f+=1){const p=l[f];let h=p.progress;e.params.flipEffect.limitRotation&&(h=Math.max(Math.min(p.progress,1),-1));const m=p.swiperSlideOffset;let b=-180*h,v=0,y=e.params.cssMode?-m-e.translate:-m,w=0;e.isHorizontal()?u&&(b=-b):(w=y,y=0,v=-b,b=0),p.style.zIndex=-Math.abs(Math.round(h))+l.length,c.slideShadows&&i(p,h);const _=`translate3d(${y}px, ${w}px, 0px) rotateX(${d(v)}deg) rotateY(${d(b)}deg)`,P=rn(c,p);P.style.transform=_}},setTransition:l=>{const u=e.slides.map(c=>Kr(c));u.forEach(c=>{c.style.transitionDuration=`${l}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${l}ms`})}),es({swiper:e,duration:l,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let u=l.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(l.progress,1),-1)),i(l,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Sf(s){let{swiper:e,extendParams:t,on:r}=s;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Si({effect:"coverflow",swiper:e,on:r,setTranslate:()=>{const{width:a,height:o,slides:l,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,d=e.isHorizontal(),f=e.translate,p=d?-f+a/2:-f+o/2,h=d?c.rotate:-c.rotate,m=c.depth,g=Qn(e);for(let b=0,v=l.length;b<v;b+=1){const y=l[b],w=u[b],_=y.swiperSlideOffset,P=(p-_-w/2)/w,O=typeof c.modifier=="function"?c.modifier(P):P*c.modifier;let E=d?h*O:0,S=d?0:h*O,C=-m*Math.abs(O),D=c.stretch;
23typeof D=="string"&&D.indexOf("%")!==-1&&(D=parseFloat(c.stretch)/100*w);let x=d?0:D*O,T=d?D*O:0,M=1-(1-c.scale)*Math.abs(O);Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(C)<.001&&(C=0),Math.abs(E)<.001&&(E=0),Math.abs(S)<.001&&(S=0),Math.abs(M)<.001&&(M=0);const L=`translate3d(${T}px,${x}px,${C}px) rotateX(${g(S)}deg) rotateY(${g(E)}deg) scale(${M})`,z=rn(c,y);if(z.style.transform=L,y.style.zIndex=-Math.abs(Math.round(O))+1,c.slideShadows){let k=d?y.querySelector(".swiper-slide-shadow-left"):y.querySelector(".swiper-slide-shadow-top"),A=d?y.querySelector(".swiper-slide-shadow-right"):y.querySelector(".swiper-slide-shadow-bottom");k||(k=Ei("coverflow",y,d?"left":"top")),A||(A=Ei("coverflow",y,d?"right":"bottom")),k&&(k.style.opacity=O>0?O:0),A&&(A.style.opacity=-O>0?-O:0)}}},setTransition:a=>{e.slides.map(l=>Kr(l)).forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${a}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Ef(s){let{swiper:e,extendParams:t,on:r}=s;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=o=>typeof o=="string"?o:`${o}px`;Si({effect:"creative",swiper:e,on:r,setTranslate:()=>{const{slides:o,wrapperEl:l,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:d}=c,f=e.params.centeredSlides,p=Qn(e);if(f){const h=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${h}px))`}for(let h=0;h<o.length;h+=1){const m=o[h],g=m.progress,b=Math.min(Math.max(m.progress,-c.limitProgress),c.limitProgress);let v=b;f||(v=Math.min(Math.max(m.originalProgress,-c.limitProgress),c.limitProgress));const y=m.swiperSlideOffset,w=[e.params.cssMode?-y-e.translate:-y,0,0],_=[0,0,0];let P=!1;e.isHorizontal()||(w[1]=w[0],w[0]=0);let O={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};b<0?(O=c.next,P=!0):b>0&&(O=c.prev,P=!0),w.forEach((M,L)=>{w[L]=`calc(${M}px + (${i(O.translate[L])} * ${Math.abs(b*d)}))`}),_.forEach((M,L)=>{let z=O.rotate[L]*Math.abs(b*d);_[L]=z}),m.style.zIndex=-Math.abs(Math.round(g))+o.length;const E=w.join(", "),S=`rotateX(${p(_[0])}deg) rotateY(${p(_[1])}deg) rotateZ(${p(_[2])}deg)`,C=v<0?`scale(${1+(1-O.scale)*v*d})`:`scale(${1-(1-O.scale)*v*d})`,D=v<0?1+(1-O.opacity)*v*d:1-(1-O.opacity)*v*d,x=`translate3d(${E}) ${S} ${C}`;if(P&&O.shadow||!P){let M=m.querySelector(".swiper-slide-shadow");if(!M&&O.shadow&&(M=Ei("creative",m)),M){const L=c.shadowPerProgress?b*(1/c.limitProgress):b;M.style.opacity=Math.min(Math.max(Math.abs(L),0),1)}}const T=rn(c,m);T.style.transform=x,T.style.opacity=D,O.origin&&(T.style.transformOrigin=O.origin)}},setTransition:o=>{const l=e.slides.map(u=>Kr(u));l.forEach(u=>{u.style.transitionDuration=`${o}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${o}ms`})}),es({swiper:e,duration:o,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Pf(s){let{swiper:e,extendParams:t,on:r}=s;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Si({effect:"cards",swiper:e,on:r,setTranslate:()=>{const{slides:a,activeIndex:o,rtlTranslate:l}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:d}=e.touchEventsData,f=l?-e.translate:e.translate;for(let p=0;p<a.length;p+=1){const h=a[p],m=h.progress,g=Math.min(Math.max(m,-4),4);let b=h.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(b-=a[0].swiperSlideOffset);let v=e.params.cssMode?-b-e.translate:-b,y=0;const w=-100*Math.abs(g);let _=1,P=-u.perSlideRotate*g,O=u.perSlideOffset-Math.abs(g)*.75;const E=e.virtual&&e.params.virtual.enabled?e.virtual.from+p:p,S=(E===o||E===o-1)&&g>0&&g<1&&(d||e.params.cssMode)&&f<c,C=(E===o||E===o+1)&&g<0&&g>
vendor: 4,702 bytes, lines 23-35
23-1&&(d||e.params.cssMode)&&f>c;if(S||C){const M=(1-Math.abs((Math.abs(g)-.5)/.5))**.5;P+=-28*g*M,_+=-.5*M,O+=96*M,y=`${-25*M*Math.abs(g)}%`}if(g<0?v=`calc(${v}px ${l?"-":"+"} (${O*Math.abs(g)}%))`:g>0?v=`calc(${v}px ${l?"-":"+"} (-${O*Math.abs(g)}%))`:v=`${v}px`,!e.isHorizontal()){const M=y;y=v,v=M}const D=g<0?`${1+(1-_)*g}`:`${1-(1-_)*g}`,x=` 24 translate3d(${v}, ${y}, ${w}px) 25 rotateZ(${u.rotate?l?-P:P:0}deg) 26 scale(${D}) 27 `;if(u.slideShadows){let M=h.querySelector(".swiper-slide-shadow");M||(M=Ei("cards",h)),M&&(M.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1))}h.style.zIndex=-Math.abs(Math.round(m))+a.length;const T=rn(u,h);T.style.transform=x}},setTransition:a=>{const o=e.slides.map(l=>Kr(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),es({swiper:e,duration:a,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const Cf=[Qd,Jd,ef,tf,rf,nf,sf,af,of,lf,uf,cf,df,ff,pf,hf,bf,_f,xf,Tf,Sf,Ef,Pf];Pt.use(Cf);function vr(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Ko(s,e){s.prototype=Object.create(e.prototype),s.prototype.constructor=s,s.__proto__=e}/*! 28 * GSAP 3.12.5 29 * https://gsap.com 30 * 31 * @license Copyright 2008-2024, GreenSock. All rights reserved. 32 * Subject to the terms at https://gsap.com/standard-license or for 33 * Club GSAP members, the agreement issued with that membership. 34 * @author: Jack Doyle, [email protected] 35*/var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Pi={duration:.5,overwrite:!1,delay:0},oa,Ze,pe,Nt=1e8,de=1/Nt,la=Math.PI*2,Mf=la/4,Of=0,Zo=Math.sqrt,kf=Math.cos,If=Math.sin,Fe=function(e){return typeof e=="string"},Se=function(e){return typeof e=="function"},yr=function(e){return typeof e=="number"},ua=function(e){return typeof e>"u"},rr=function(e){return typeof e=="object"},gt=function(e){return e!==!1},ca=function(){return typeof window<"u"},ts=function(e){return Se(e)||Fe(e)},Qo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Qe=Array.isArray,da=/(?:-?\.?\d|\.)+/gi,Jo=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fa=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,el=/[+-]=-?[.\d]+/,tl=/[^,'"\[\]\s]+/gi,Lf=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ve,ir,pa,ha,Mt={},rs={},rl,il=function(e){return(rs=Jr(e,Mt))&&wt},ma=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},nn=function(e,t){return!t&&console.warn(e)},nl=function(e,t){return e&&(Mt[e]=t)&&rs&&(rs[e]=t)||Mt},sn=function(){return 0},Af={suppressEvents:!0,isStart:!0,kill:!1},is={suppressEvents:!0,kill:!1},Df={suppressEvents:!0},ga={},Or=[],va={},sl,Ot={},ya={},al=30,ns=[],wa="",ba=function(e){var t=e[0],r,i;if(rr(t)||Se(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=ns.length;i--&&!ns[i].targetTest(t););r=ns[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new zl(e[i],r)))||e.splice(i,1);return e},Qr=function(e){return e._gsap||ba(jt(e))[0]._gsap},ol=function(e,t,r){return(r=e[t])&&Se(r)?e[t]():ua(r)&&e.getAttribute&&e.getAttribute(t)||r},vt=function(e,t){return(e=e.split(",")).forEach(t)||e},Pe=function(e){return Math.round(e*1e5)/1e5||0},$e=function(e){return Math.round(e*1e7)/1e7||0},Mi=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},zf=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},ss=function(){var e=Or.length,t=Or.slice(0),r,i;for(va={},Or.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},ll=function(e,t,r,i){Or.length&&!Ze&&ss(),e.render(t,r,Ze&&t<0&&(e._initted||e._startAt)),Or.length&&!Ze&&ss()},ul=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(tl).length<2?t:Fe(e)?e.trim():e},cl=function(e){return e},Bt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Rf=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},Jr=function(e,t){for(var r in t)e[r]=t[r];return e},dl=function s(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=rr(t[r])?s(e[r]||(e[r]={}),t[r]):t[r]);return e},as=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},an=function(e){var t=e.parent||ve,r=e.keyframes?Rf(Qe(e.keyframes)):Bt;if(gt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Ff=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},fl=function(e,t,r,i,n){var a=e[i],o;
vendor: 14,381 bytes, line 35
35if(n)for(o=t[n];a&&a[n]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=a,t.parent=t._dp=e,t},os=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=t._prev,a=t._next;n?n._next=a:e[r]===t&&(e[r]=a),a?a._prev=n:e[i]===t&&(e[i]=n),t._next=t._prev=t.parent=null},kr=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ei=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},$f=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},_a=function(e,t,r,i){return e._startAt&&(Ze?e._startAt.revert(is):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Nf=function s(e){return!e||e._ts&&s(e.parent)},pl=function(e){return e._repeat?Oi(e._tTime,e=e.duration()+e._rDelay)*e:0},Oi=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},ls=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},us=function(e){return e._end=$e(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},cs=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=$e(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),us(e),r._dirty||ei(r,e)),e},hl=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=ls(e.rawTime(),t),(!t._dur||ln(0,t.totalDuration(),r)-t._tTime>de)&&t.render(r,!0)),ei(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-de}},nr=function(e,t,r,i){return t.parent&&kr(t),t._start=$e((yr(r)?r:r||e!==ve?Ht(e,r,t):e._time)+t._delay),t._end=$e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),fl(e,t,"_first","_last",e._sort?"_start":0),xa(t)||(e._recent=t),i||hl(e,t),e._ts<0&&cs(e,e._tTime),e},ml=function(e,t){return(Mt.ScrollTrigger||ma("scrollTrigger",t))&&Mt.ScrollTrigger.create(t,e)},gl=function(e,t,r,i,n){if(Ia(e,t,n),!e._initted)return 1;if(!r&&e._pt&&!Ze&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&sl!==It.frame)return Or.push(e),e._lazy=[n,i],1},Bf=function s(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||s(t))},xa=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Hf=function(e,t,r,i){var n=e.ratio,a=t<0||!t&&(!e._start&&Bf(e)&&!(!e._initted&&xa(e))||(e._ts<0||e._dp._ts<0)&&!xa(e))?0:1,o=e._rDelay,l=0,u,c,d;if(o&&e._repeat&&(l=ln(0,e._tDur,t),c=Oi(l,o),e._yoyo&&c&1&&(a=1-a),c!==Oi(e._tTime,o)&&(n=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==n||Ze||i||e._zTime===de||!t&&e._zTime){if(!e._initted&&gl(e,t,i,r,l))return;for(d=e._zTime,e._zTime=t||(r?de:0),r||(r=t&&!d),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,u=e._pt;u;)u.r(a,u.d),u=u._next;t<0&&_a(e,t,r,!0),e._onUpdate&&!r&&kt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&kt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&kr(e,1),!r&&!Ze&&(kt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},jf=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},ki=function(e,t,r,i){var n=e._repeat,a=$e(t)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=a/e._dur),e._dur=a,e._tDur=n?n<0?1e10:$e(a*(n+1)+e._rDelay*n):a,o>0&&!i&&cs(e,e._tTime=e._tDur*o),e.parent&&us(e),r||ei(e.parent,e),e},vl=function(e){return e instanceof at?ei(e):ki(e,e._dur)},Vf={_start:0,endTime:sn,totalDuration:sn},Ht=function s(e,t,r){var i=e.labels,n=e._recent||Vf,a=e.duration()>=Nt?n.endTime(!1):e._dur,o,l,u;return Fe(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?n:r).totalDuration()/100:1)):o<0?(t in i||(i[t]=a),i[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),u&&r&&(l=l/100*(Qe(r)?r[0]:r).totalDuration()),o>1?s(e,t.substr(0,o-1),r)+l:a+l)):t==null?a:+t},on=function(e,t,r){var i=yr(t[1]),n=(i?2:1)+(e<2?0:1),a=t[n],o,l;if(i&&(a.duration=t[1]),a.parent=r,e){for(o=a,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=gt(l.vars.inherit)&&l.parent;a.immediateRender=gt(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[n-1]}return new ke(t[0],a,t[n+1])},Ir=function(e,t){return e||e===0?t(e):t},ln=function(e,t,r){return r<e?e:r>t?t:r},Je=function(e,t){return!Fe(e)||!(t=Lf.exec(e))?"":t[1]},Gf=function(e,t,r){return Ir(r,function(i){return ln(e,t,i)})},Ta=[].slice,yl=function(e,t){return e&&rr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&rr(e[0]))&&!e.nodeType&&e!==ir},Yf=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var n;return Fe(i)&&!t||yl(i,1)?(n=r).push.apply(n,jt(i)):r.push(i)})||r},jt=function(e,t,r){return pe&&!t&&pe.selector?pe.selector(e):Fe(e)&&!r&&(pa||!Li())?Ta.call((t||ha).querySelectorAll(e),0):Qe(e)?Yf(e,r):yl(e)?Ta.call(e,0):e?[e]:[]},Sa=function(e){return e=jt(e)[0]||nn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return jt(t,r.querySelectorAll?r:r===e?nn("Invalid scope")||ha.createElement("div"):e)}},wl=function(e){return e.sort(function(){return.5-Math.random()})},bl=function(e){if(Se(e))return e;var t=rr(e)?e:{each:e},r=ti(t.ease),i=t.from||0,n=parseFloat(t.base)||0,a={},o=i>0&&i<1,l=isNaN(i)||o,u=t.axis,c=i,d=i;return Fe(i)?c=d={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(c=i[0],d=i[1]),function(f,p,h){var m=(h||t).length,g=a[m],b,v,y,w,_,P,O,E,S;if(!g){if(S=t.grid==="auto"?0:(t.grid||[1,Nt])[1],!S){for(O=-Nt;O<(O=h[S++].getBoundingClientRect().left)&&S<m;);S<m&&S--}for(g=a[m]=[],b=l?Math.min(S,m)*c-.5:i%S,v=S===Nt?0:l?m*d/S-.5:i/S|0,O=0,E=Nt,P=0;P<m;P++)y=P%S-b,w=v-(P/S|0),g[P]=_=u?Math.abs(u==="y"?w:y):Zo(y*y+w*w),_>O&&(O=_),_<E&&(E=_);i==="random"&&wl(g),g.max=O-E,g.min=E,g.v=m=(parseFloat(t.amount)||parseFloat(t.each)*(S>m?m-1:u?u==="y"?m/S:S:Math.max(S,m/S))||0)*(i==="edges"?-1:1),g.b=m<0?n-m:n,g.u=Je(t.amount||t.each)||0,r=r&&m<0?Ll(r):r}return m=(g[f]-g.min)/g.max||0,$e(g.b+(r?r(m):m)*g.v)+g.u}},Ea=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=$e(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(yr(r)?0:Je(r))}},_l=function(e,t){var r=Qe(e),i,n;return!r&&rr(e)&&(i=r=e.radius||Nt,e.values?(e=jt(e.values),(n=!yr(e[0]))&&(i*=i)):e=Ea(e.increment)),Ir(t,r?Se(e)?function(a){return n=e(a),Math.abs(n-a)<=i?n:a}:function(a){for(var o=parseFloat(n?a.x:a),l=parseFloat(n?a.y:0),u=Nt,c=0,d=e.length,f,p;d--;)n?(f=e[d].x-o,p=e[d].y-l,f=f*f+p*p):f=Math.abs(e[d]-o),f<u&&(u=f,c=d);return c=!i||u<=i?e[c]:a,n||c===a||yr(a)?c:c+Je(a)}:Ea(e))},xl=function(e,t,r,i){return Ir(Qe(e)?!t:r===!0?!!(r=0):!i,function(){return Qe(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},Wf=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(n,a){return a(n)},i)}},Xf=function(e,t){return function(r){return e(parseFloat(r))+(t||Je(r))}},qf=function(e,t,r){return Sl(e,t,0,1,r)},Tl=function(e,t,r){return Ir(r,function(i){return e[~~t(i)]})},Uf=function s(e,t,r){var i=t-e;return Qe(e)?Tl(e,s(0,e.length),t):Ir(r,function(n){return(i+(n-e)%i)%i+e})},Kf=function s(e,t,r){var i=t-e,n=i*2;return Qe(e)?Tl(e,s(0,e.length-1),t):Ir(r,function(a){return a=(n+(a-e)%n)%n||0,e+(a>i?n-a:a)})},un=function(e){for(var t=0,r="",i,n,a,o;~(i=e.indexOf("random(",t));)a=e.indexOf(")",i),o=e.charAt(i+7)==="[",n=e.substr(i+7,a-i-7).match(o?tl:da),r+=e.substr(t,i-t)+xl(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),t=a+1;return r+e.substr(t,e.length-t)},Sl=function(e,t,r,i,n){var a=t-e,o=i-r;return Ir(n,function(l){return r+((l-e)/a*o||0)})},Zf=function s(e,t,r,i){var n=isNaN(e+t)?0:function(p){return(1-p)*e+p*t};if(!n){var a=Fe(e),o={},l,u,c,d,f;if(r===!0&&(i=1)&&(r=null),a)e={p:e},t={p:t};else if(Qe(e)&&!Qe(t)){for(c=[],d=e.length,f=d-2,u=1;u<d;u++)c.push(s(e[u-1],e[u]));d--,n=function(h){h*=d;var m=Math.min(f,~~h);return c[m](h-m)},r=t}else i||(e=Jr(Qe(e)?[]:{},e));if(!c){for(l in t)Oa.call(o,e,l,"get",t[l]);n=function(h){return Da(h,o)||(a?e.p:e)}}}return Ir(r,n)},El=function(e,t,r){var i=e.labels,n=Nt,a,o,l;for(a in i)o=i[a]-t,o<0==!!r&&o&&n>(o=Math.abs(o))&&(l=a,n=o);return l},kt=function(e,t,r){var i=e.vars,n=i[t],a=pe,o=e._ctx,l,u,c;if(n)return l=i[t+"Params"],u=i.callbackScope||e,r&&Or.length&&ss(),o&&(pe=o),c=l?n.apply(u,l):n.call(u),pe=a,c},cn=function(e){return kr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ze),e.progress()<1&&kt(e,"onInterrupt"),e},Ii,Pl=[],Cl=function(e){if(e)if(e=!e.name&&e.default||e,ca()||e.headless){var t=e.name,r=Se(e),i=t&&!r&&e.init?function(){this._props=[]}:e,n={init:sn,render:Da,add:Oa,kill:pp,modifier:fp,rawVars:0},a={targetTest:0,get:0,getSetter:Aa,aliases:{},register:0};if(Li(),e!==i){if(Ot[t])return;Bt(i,Bt(as(e,n),a)),Jr(i.prototype,Jr(n,as(e,a))),Ot[i.prop=t]=i,e.targetTest&&(ns.push(i),ga[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}nl(t,i),e.register&&e.register(wt,i,yt)}else Pl.push(e)},ue=255,dn={aqua:[0,ue,ue],lime:[0,ue,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ue],navy:[0,0,128],white:[ue,ue,ue],olive:[128,128,0],yellow:[ue,ue,0],orange:[ue,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ue,0,0],pink:[ue,192,203],cyan:[0,ue,ue],transparent:[ue,ue,ue,0]},Pa=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*ue+.5|0},Ml=function(e,t,r){var i=e?yr(e)?[e>>16,e>>8&ue,e&ue]:0:dn.black,n,a,o,l,u,c,d,f,p,h;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),dn[e])i=dn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+n+n+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&ue,i&ue,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&ue,e&ue]}else if(e.substr(0,3)==="hsl"){if(i=h=e.match(da),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,a=c<=.5?c*(u+1):c+u-c*u,n=c*2-a,i.length>3&&(i[3]*=1),i[0]=Pa(l+1/3,n,a),i[1]=Pa(l,n,a),i[2]=Pa(l-1/3,n,a);else if(~e.indexOf("="))return i=e.match(Jo),r&&i.length<4&&(i[3]=1),i}else i=e.match(da)||dn.transparent;i=i.map(Number)}return t&&!h&&(n=i[0]/ue,a=i[1]/ue,o=i[2]/ue,d=Math.max(n,a,o),f=Math.min(n,a,o),c=(d+f)/2,d===f?l=u=0:(p=d-f,u=c>.5?p/(2-d-f):p/(d+f),l=d===n?(a-o)/p+(a<o?6:0):d===a?(o-n)/p+2:(n-a)/p+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(c*100+.5)),r&&i.length<4&&(i[3]=1),i},Ol=function(e){var t=[],r=[],i=-1;return e.split(Lr).forEach(function(n){var a=n.match(Ci)||[];t.push.apply(t,a),r.push(i+=a.length+1)}),t.c=r,t},kl=function(e,t,r){var i="",n=(e+i).match(Lr),a=t?"hsla(":"rgba(",o=0,l,u,c,d;if(!n)return e;if(n=n.map(function(f){return(f=Ml(f,t,1))&&a+(t?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(c=Ol(e),l=r.c,l.join(i)!==c.c.join(i)))for(u=e.replace(Lr,"1").split(Ci),d=u.length-1;o<d;o++)i+=u[o]+(~l.indexOf(o)?n.shift()||a+"0,0,0,0)":(c.length?c:n.length?n:r).shift());if(!u)for(u=e.split(Lr),d=u.length-1;o<d;o++)i+=u[o]+n[o];return i+u[d]},Lr=function(){var s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in dn)s+="|"+e+"\\b";return new RegExp(s+")","gi")}(),Qf=/hsl[a]?\(/,Il=function(e){var t=e.join(" "),r;if(Lr.lastIndex=0,Lr.test(t))return r=Qf.test(t),e[1]=kl(e[1],r),e[0]=kl(e[0],r,Ol(e[1])),!0},fn,It=function(){var s=Date.now,e=500,t=33,r=s(),i=r,n=1e3/240,a=n,o=[],l,u,c,d,f,p,h=function m(g){var b=s()-i,v=g===!0,y,w,_,P;if((b>e||b<0)&&(r+=b-t),i+=b,_=i-r,y=_-a,(y>0||v)&&(P=++d.frame,f=_-d.time*1e3,d.time=_=_/1e3,a+=y+(y>=n?4:n-y),w=1),v||(l=u(m)),w)for(p=0;p<o.length;p++)o[p](_,f,P,g)};return d={time:0,frame:0,tick:function(){h(!0)},deltaRatio:function(g){return f/(1e3/(g||60))},wake:function(){rl&&(!pa&&ca()&&(ir=pa=window,ha=ir.document||{},Mt.gsap=wt,(ir.gsapVersions||(ir.gsapVersions=[])).push(wt.version),il(rs||ir.GreenSockGlobals||!ir.gsap&&ir||{}),Pl.forEach(Cl)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),u=c||function(g){return setTimeout(g,a-d.time*1e3+1|0)},fn=1,h(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),fn=0,u=sn},lagSmoothing:function(g,b){e=g||1/0,t=Math.min(b||33,e)},fps:function(g){n=1e3/(g||240),a=d.time*1e3+n},add:function(g,b,v){var y=b?function(w,_,P,O){g(w,_,P,O),d.remove(y)}:g;return d.remove(g),o[v?"unshift":"push"](y),Li(),y},remove:function(g,b){~(b=o.indexOf(g))&&o.splice(b,1)&&p>=b&&p--},_listeners:o},d}(),Li=function(){return!fn&&It.wake()},ne={},Jf=/^[\d.\-M][\d.\-,\s]/,ep=/["']/g,tp=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],n=1,a=r.length,o,l,u;n<a;n++)l=r[n],o=n!==a-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),t[i]=isNaN(u)?u.replace(ep,"").trim():+u,i=l.substr(o+1).trim();return t},rp=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},ip=function(e){var t=(e+"").split("("),r=ne[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[tp(t[1])]:rp(e).split(",").map(ul)):ne._CE&&Jf.test(e)?ne._CE("",e):r},Ll=function(e){return function(t){return 1-e(1-t)}},Al=function s(e,t){for(var r=e._first,i;r;)r instanceof at?s(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?s(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},ti=function(e,t){return e&&(Se(e)?e:ne[e]||ip(e))||t},ri=function(e,t,r,i){r===void 0&&(r=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var n={easeIn:t,easeOut:r,easeInOut:i},a;return vt(e,function(o){ne[o]=Mt[o]=n,ne[a=o.toLowerCase()]=r;for(var l in n)ne[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ne[o+"."+l]=n[l]}),n},Dl=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Ca=function s(e,t,r){var i=t>=1?t:1,n=(r||(e?.3:.45))/(t<1?t:1),a=n/la*(Math.asin(1/i)||0),o=function(c){return c===1?1:i*Math.pow(2,-10*c)*If((c-a)*n)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:Dl(o);return n=la/n,l.config=function(u,c){return s(e,u,c)},l}
vendor: 4,953 bytes, line 35
35,Ma=function s(e,t){t===void 0&&(t=1.70158);var r=function(a){return a?--a*a*((t+1)*a+t)+1:0},i=e==="out"?r:e==="in"?function(n){return 1-r(1-n)}:Dl(r);return i.config=function(n){return s(e,n)},i};vt("Linear,Quad,Cubic,Quart,Quint,Strong",function(s,e){var t=e<5?e+1:e;ri(s+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),ne.Linear.easeNone=ne.none=ne.Linear.easeIn,ri("Elastic",Ca("in"),Ca("out"),Ca()),function(s,e){var t=1/e,r=2*t,i=2.5*t,n=function(o){return o<t?s*o*o:o<r?s*Math.pow(o-1.5/e,2)+.75:o<i?s*(o-=2.25/e)*o+.9375:s*Math.pow(o-2.625/e,2)+.984375};ri("Bounce",function(a){return 1-n(1-a)},n)}(7.5625,2.75),ri("Expo",function(s){return s?Math.pow(2,10*(s-1)):0}),ri("Circ",function(s){return-(Zo(1-s*s)-1)}),ri("Sine",function(s){return s===1?1:-kf(s*Mf)+1}),ri("Back",Ma("in"),Ma("out"),Ma()),ne.SteppedEase=ne.steps=Mt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),n=t?1:0,a=1-de;return function(o){return((i*ln(0,a,o)|0)+n)*r}}},Pi.ease=ne["quad.out"],vt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(s){return wa+=s+","+s+"Params,"});var zl=function(e,t){this.id=Of++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ol,this.set=t?t.getSetter:Aa},pn=function(){function s(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ki(this,+t.duration,1,1),this.data=t.data,pe&&(this._ctx=pe,pe.data.push(this)),fn||It.wake()}var e=s.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,ki(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Li(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(cs(this,r),!n._dp||n.parent||hl(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&nr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===de||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ll(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+pl(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+pl(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?Oi(this._tTime,n)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-de?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?ls(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(ln(-Math.abs(this._delay),this._tDur,n),i!==!1),us(this),$f(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Li(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==de&&(this._tTime-=de)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&nr(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(gt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ls(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Df);var i=Ze;return Ze=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ze=i,this},e.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;
vendor: 17,575 bytes, line 35
35)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):n},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,vl(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,vl(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Ht(this,r),gt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,gt(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-de:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-de,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-de)},e.eventCallback=function(r,i,n){var a=this.vars;return arguments.length>1?(i?(a[r]=i,n&&(a[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete a[r],this):a[r]},e.then=function(r){var i=this;return new Promise(function(n){var a=Se(r)?r:cl,o=function(){var u=i.then;i.then=null,Se(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),n(a),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},e.kill=function(){cn(this)},s}();Bt(pn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-de,_prom:0,_ps:!1,_rts:1});var at=function(s){Ko(e,s);function e(r,i){var n;return r===void 0&&(r={}),n=s.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=gt(r.sortChildren),ve&&nr(r.parent||ve,vr(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&ml(vr(n),r.scrollTrigger),n}var t=e.prototype;return t.to=function(i,n,a){return on(0,arguments,this),this},t.from=function(i,n,a){return on(1,arguments,this),this},t.fromTo=function(i,n,a,o){return on(2,arguments,this),this},t.set=function(i,n,a){return n.duration=0,n.parent=this,an(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new ke(i,n,Ht(this,a),1),this},t.call=function(i,n,a){return nr(this,ke.delayedCall(0,i,n),a)},t.staggerTo=function(i,n,a,o,l,u,c){return a.duration=n,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new ke(i,a,Ht(this,l)),this},t.staggerFrom=function(i,n,a,o,l,u,c){return a.runBackwards=1,an(a).immediateRender=gt(a.immediateRender),this.staggerTo(i,n,a,o,l,u,c)},t.staggerFromTo=function(i,n,a,o,l,u,c,d){return o.startAt=a,an(o).immediateRender=gt(o.immediateRender),this.staggerTo(i,n,o,l,u,c,d)},t.render=function(i,n,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:$e(i),d=this._zTime<0!=i<0&&(this._initted||!u),f,p,h,m,g,b,v,y,w,_,P,O;if(this!==ve&&c>l&&i>=0&&(c=l),c!==this._tTime||a||d){if(o!==this._time&&u&&(c+=this._time-o,i+=this._time-o),f=c,w=this._start,y=this._ts,b=!y,d&&(u||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(P=this._yoyo,g=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(g*100+i,n,a);if(f=$e(c%g),c===l?(m=this._repeat,f=u):(m=~~(c/g),m&&m===c/g&&(f=u,m--),f>u&&(f=u)),_=Oi(this._tTime,g),!o&&this._tTime&&_!==m&&this._tTime-_*g-this._dur<=0&&(_=m),P&&m&1&&(f=u-f,O=1),m!==_&&!this._lock){var E=P&&_&1,S=E===(P&&m&1);if(m<_&&(E=!E),o=E?0:c%u?u:c,this._lock=1,this.render(o||(O?0:$e(m*g)),n,!u)._lock=0,this._tTime=c,!n&&this.parent&&kt(this,"onRepeat"),this.vars.repeatRefresh&&!O&&(this.invalidate()._lock=1),o&&o!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,S&&(this._lock=2,o=E?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!O&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;Al(this,O)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=jf(this,$e(o),$e(f)),v&&(c-=f-(f=v._start))),this._tTime=c,this._time=f,this._act=!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&f&&!n&&!m&&(kt(this,"onStart"),this._tTime!==c))return this;if(f>=o&&i>=0)for(p=this._first;p;){if(h=p._next,(p._act||f>=p._start)&&p._ts&&v!==p){if(p.parent!==this)return this.render(i,n,a);if(p.render(p._ts>0?(f-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(f-p._start)*p._ts,n,a),f!==this._time||!this._ts&&!b){v=0,h&&(c+=this._zTime=-de);break}}p=h}else{p=this._last;for(var C=i<0?i:f;p;){if(h=p._prev,(p._act||C<=p._end)&&p._ts&&v!==p){if(p.parent!==this)return this.render(i,n,a);if(p.render(p._ts>0?(C-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(C-p._start)*p._ts,n,a||Ze&&(p._initted||p._startAt)),f!==this._time||!this._ts&&!b){v=0,h&&(c+=this._zTime=C?-de:de);break}}p=h}}if(v&&!n&&(this.pause(),v.render(f>=o?0:-de)._zTime=f>=o?1:-1,this._ts))return this._start=w,us(this),this.render(i,n,a);this._onUpdate&&!n&&kt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(w===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&kr(this,1),!n&&!(i<0&&!o)&&(c||o||!l)&&(kt(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,n){var a=this;if(yr(n)||(n=Ht(this,n,i)),!(i instanceof pn)){if(Qe(i))return i.forEach(function(o){return a.add(o,n)}),this;if(Fe(i))return this.addLabel(i,n);if(Se(i))i=ke.delayedCall(0,i);else return this}return this!==i?nr(this,i,n):this},t.getChildren=function(i,n,a,o){i===void 0&&(i=!0),n===void 0&&(n=!0),a===void 0&&(a=!0),o===void 0&&(o=-Nt);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof ke?n&&l.push(u):(a&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,a)))),u=u._next;return l},t.getById=function(i){for(var n=this.getChildren(1,1,1),a=n.length;a--;)if(n[a].vars.id===i)return n[a]},t.remove=function(i){return Fe(i)?this.removeLabel(i):Se(i)?this.killTweensOf(i):(os(this,i),i===this._recent&&(this._recent=this._last),ei(this))},t.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$e(It.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),s.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},t.addLabel=function(i,n){return this.labels[i]=Ht(this,n),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,n,a){var o=ke.delayedCall(0,n||sn,a);return o.data="isPause",this._hasPause=1,nr(this,o,Ht(this,i))},t.removePause=function(i){var n=this._first;for(i=Ht(this,i);n;)n._start===i&&n.data==="isPause"&&kr(n),n=n._next},t.killTweensOf=function(i,n,a){for(var o=this.getTweensOf(i,a),l=o.length;l--;)Ar!==o[l]&&o[l].kill(i,n);return this},t.getTweensOf=function(i,n){for(var a=[],o=jt(i),l=this._first,u=yr(n),c;l;)l instanceof ke?zf(l._targets,o)&&(u?(!Ar||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&a.push(l):(c=l.getTweensOf(o,n)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(i,n){n=n||{};var a=this,o=Ht(a,i),l=n,u=l.startAt,c=l.onStart,d=l.onStartParams,f=l.immediateRender,p,h=ke.to(a,Bt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||de,onStart:function(){if(a.pause(),!p){var g=n.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());h._dur!==g&&ki(h,g,0,1).render(h._time,!0,!0),p=1}c&&c.apply(h,d||[])}},n));return f?h.render(0):h},t.tweenFromTo=function(i,n,a){return this.tweenTo(n,Bt({startAt:{time:Ht(this,i)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),El(this,Ht(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),El(this,Ht(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+de)},t.shiftChildren=function(i,n,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,u;o;)o._start>=a&&(o._start+=i,o._end+=i),o=o._next;if(n)for(u in l)l[u]>=a&&(l[u]+=i);return ei(this)},t.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return s.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,a;n;)a=n._next,this.remove(n),n=a;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),ei(this)},t.totalDuration=function(i){var n=0,a=this,o=a._last,l=Nt,u,c,d;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-i:i));if(a._dirty){for(d=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,nr(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(n-=c,(!d&&!a._dp||d&&d.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>n&&o._ts&&(n=o._end),o=u;ki(a,a===ve&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(i){if(ve._ts&&(ll(ve,ls(i,ve)),sl=It.frame),It.frame>=al){al+=Ct.autoSleep||120;var n=ve._first;if((!n||!n._ts)&&Ct.autoSleep&&It._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||It.sleep()}}},e}(pn);Bt(at.prototype,{_lock:0,_hasPause:0,_forcing:0});var np=function(e,t,r,i,n,a,o){var l=new yt(this._pt,e,t,0,1,Hl,null,n),u=0,c=0,d,f,p,h,m,g,b,v;for(l.b=r,l.e=i,r+="",i+="",(b=~i.indexOf("random("))&&(i=un(i)),a&&(v=[r,i],a(v,e,t),r=v[0],i=v[1]),f=r.match(fa)||[];d=fa.exec(i);)h=d[0],m=i.substring(u,d.index),p?p=(p+1)%5:m.substr(-5)==="rgba("&&(p=1),h!==f[c++]&&(g=parseFloat(f[c-1])||0,l._pt={_next:l._pt,p:m||c===1?m:",",s:g,c:h.charAt(1)==="="?Mi(g,h)-g:parseFloat(h)-g,m:p&&p<4?Math.round:0},u=fa.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(el.test(i)||b)&&(l.e=0),this._pt=l,l},Oa=function(e,t,r,i,n,a,o,l,u,c){Se(i)&&(i=i(n||0,e,a));var d=e[t],f=r!=="get"?r:Se(d)?u?e[t.indexOf("set")||!Se(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():d,p=Se(d)?u?up:Nl:La,h;if(Fe(i)&&(~i.indexOf("random(")&&(i=un(i)),i.charAt(1)==="="&&(h=Mi(f,i)+(Je(f)||0),(h||h===0)&&(i=h))),!c||f!==i||ka)return!isNaN(f*i)&&i!==""?(h=new yt(this._pt,e,t,+f||0,i-(f||0),typeof d=="boolean"?dp:Bl,0,p),u&&(h.fp=u),o&&h.modifier(o,this,e),this._pt=h):(!d&&!(t in e)&&ma(t,i),np.call(this,e,t,f,i,p,l||Ct.stringFilter,u))},sp=function(e,t,r,i,n){if(Se(e)&&(e=hn(e,n,t,r,i)),!rr(e)||e.style&&e.nodeType||Qe(e)||Qo(e))return Fe(e)?hn(e,n,t,r,i):e;var a={},o;for(o in e)a[o]=hn(e[o],n,t,r,i);return a},Rl=function(e,t,r,i,n,a){var o,l,u,c;if(Ot[e]&&(o=new Ot[e]).init(n,o.rawVars?t[e]:sp(t[e],i,n,a,r),r,i,a)!==!1&&(r._pt=l=new yt(r._pt,n,e,0,1,o.render,o,0,o.priority),r!==Ii))for(u=r._ptLookup[r._targets.indexOf(n)],c=o._props.length;c--;)u[o._props[c]]=l;return o},Ar,ka,Ia=function s(e,t,r){var i=e.vars,n=i.ease,a=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,h=e._dur,m=e._startAt,g=e._targets,b=e.parent,v=b&&b.data==="nested"?b.vars.targets:g,y=e._overwrite==="auto"&&!oa,w=e.timeline,_,P,O,E,S,C,D,x,T,M,L,z,k;if(w&&(!f||!n)&&(n="none"),e._ease=ti(n,Pi.ease),e._yEase=d?Ll(ti(d===!0?n:d,Pi.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!w&&!!i.runBackwards,!w||f&&!i.stagger){if(x=g[0]?Qr(g[0]).harness:0,z=x&&i[x.prop],_=as(i,ga),m&&(m._zTime<0&&m.progress(1),t<0&&c&&o&&!p?m.render(-1,!0):m.revert(c&&h?is:Af),m._lazy=0),a){if(kr(e._startAt=ke.set(g,Bt({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!m&>(l),startAt:null,delay:0,onUpdate:u&&function(){return kt(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ze||!o&&!p)&&e._startAt.revert(is),o&&h&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&h&&!m){if(t&&(o=!1),O=Bt({overwrite:!1,data:"isFromStart",lazy:o&&!m&>(l),immediateRender:o,stagger:0,parent:b},_),z&&(O[x.prop]=z),kr(e._startAt=ke.set(g,O)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ze?e._startAt.revert(is):e._startAt.render(-1,!0)),e._zTime=t,!o)s(e._startAt,de,de);else if(!t)return}for(e._pt=e._ptCache=0,l=h&>(l)||l&&!h,P=0;P<g.length;P++){if(S=g[P],D=S._gsap||ba(g)[P]._gsap,e._ptLookup[P]=M={},va[D.id]&&Or.length&&ss(),L=v===g?P:v.indexOf(S),x&&(T=new x).init(S,z||_,e,L,v)!==!1&&(e._pt=E=new yt(e._pt,S,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(A){M[A]=E}),T.priority&&(C=1)),!x||z)for(O in _)Ot[O]&&(T=Rl(O,_,e,L,S,v))?T.priority&&(C=1):M[O]=E=Oa.call(e,S,O,"get",_[O],L,v,0,i.stringFilter);e._op&&e._op[P]&&e.kill(S,e._op[P]),y&&e._pt&&(Ar=e,ve.killTweensOf(S,M,e.globalTime(t)),k=!e.parent,Ar=0),e._pt&&l&&(va[D.id]=1)}C&&jl(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!k,f&&t<=0&&w.render(Nt,!0,!0)},ap=function(e,t,r,i,n,a,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,f,p;if(!u)for(u=e._ptCache[t]=[],f=e._ptLookup,p=e._targets.length;p--;){if(c=f[p][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return ka=1,e.vars[t]="+=0",Ia(e,o),ka=0,l?nn(t+" not eligible for reset"):1;u.push(c)}for(p=u.length;p--;)d=u[p],c=d._pt||d,c.s=(i||i===0)&&!n?i:c.s+(i||0)+a*c.c,c.c=r-c.s,d.e&&(d.e=Pe(r)+Je(d.e)),d.b&&(d.b=c.s+Je(d.b))},op=function(e,t){var r=e[0]?Qr(e[0]).harness:0,i=r&&r.aliases,n,a,o,l;if(!i)return t;n=Jr({},t);for(a in i)if(a in n)for(l=i[a].split(","),o=l.length;o--;)n[l[o]]=n[a];return n},lp=function(e,t,r,i){var n=t.ease||i||"power1.inOut",a,o;if(Qe(t))o=r[e]||(r[e]=[]),t.forEach(function(l,u){return o.push({t:u/(t.length-1)*100,v:l,e:n})});else for(a in t)o=r[a]||(r[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:t[a],e:n})},hn=function(e,t,r,i,n){return Se(e)?e.call(t,r,i,n):Fe(e)&&~e.indexOf("random(")?un(e):e},Fl=wa+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",$l={};vt(Fl+",id,stagger,delay,duration,paused,scrollTrigger",function(s){return $l[s]=1});var ke=function(s){Ko(e,s);function e(r,i,n,a){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=s.call(this,a?i:an(i))||this;var l=o.vars,u=l.duration,c=l.delay,d=l.immediateRender,f=l.stagger,p=l.overwrite,h=l.keyframes,m=l.defaults,g=l.scrollTrigger,b=l.yoyoEase,v=i.parent||ve,y=(Qe(r)||Qo(r)?yr(r[0]):"length"in i)?[r]:jt(r),w,_,P,O,E,S,C,D;if(o._targets=y.length?ba(y):nn("GSAP target "+r+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=p,h||f||ts(u)||ts(c)){if(i=o.vars,w=o.timeline=new at({data:"nested",defaults:m||{},targets:v&&v.data==="nested"?v.vars.targets:y}),w.kill(),w.parent=w._dp=vr(o),w._start=0,f||ts(u)||ts(c)){if(O=y.length,C=f&&bl(f),rr(f))for(E in f)~Fl.indexOf(E)&&(D||(D={}),D[E]=f[E]);for(_=0;_<O;_++)P=as(i,$l),P.stagger=0,b&&(P.yoyoEase=b),D&&Jr(P,D),S=y[_],P.duration=+hn(u,vr(o),_,S,y),P.delay=(+hn(c,vr(o),_,S,y)||0)-o._delay,!f&&O===1&&P.delay&&(o._delay=c=P.delay,o._start+=c,P.delay=0),w.to(S,P,C?C(_,S,y):0),w._ease=ne.none;w.duration()?u=c=0:o.timeline=0}else if(h){an(Bt(w.vars.defaults,{ease:"none"})),w._ease=ti(h.ease||i.ease||"none");var x=0,T,M,L;if(Qe(h))h.forEach(function(z){return w.to(y,z,">")}),w.duration();else{P={};for(E in h)E==="ease"||E==="easeEach"||lp(E,h[E],P,h.easeEach);for(E in P)for(T=P[E].sort(function(z,k){return z.t-k.t}),x=0,_=0;_<T.length;_++)M=T[_],L={ease:M.e,duration:(M.t-(_?T[_-1].t:0))/100*u},L[E]=M.v,w.to(y,L,x),x+=L.duration;w.duration()<u&&w.to({},{duration:u-w.duration()})}}u||o.duration(u=w.duration())}else o.timeline=0;return p===!0&&!oa&&(Ar=vr(o),ve.killTweensOf(y),Ar=0),nr(v,vr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(d||!u&&!h&&o._start===$e(v._time)&>(d)&&Nf(vr(o))&&v.data!=="nested")&&(o._tTime=-de,o.render(Math.max(0,-c)||0)),g&&ml(vr(o),g),o}var t=e.prototype;return t.render=function(i,n,a){var o=this._time,l=this._tDur,u=this._dur,c=i<0,d=i>l-de&&!c?l:i<de?0:i,f,p,h,m,g,b,v,y,w;if(!u)Hf(this,i,n,a);else if(d!==this._tTime||!i||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(f=d,y=this.timeline,this._repeat){if(m=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(m*100+i,n,a);if(f=$e(d%m),d===l?(h=this._repeat,f=u):(h=~~(d/m),h&&h===$e(d/m)&&(f=u,h--),f>u&&(f=u)),b=this._yoyo&&h&1,b&&(w=this._yEase,f=u-f),g=Oi(this._tTime,m),f===o&&!a&&this._initted&&h===g)return this._tTime=d,this;h!==g&&(y&&this._yEase&&Al(y,b),this.vars.repeatRefresh&&!b&&!this._lock&&this._time!==m&&this._initted&&(this._lock=a=1,this.render($e(m*h),!0).invalidate()._lock=0))}if(!this._initted){if(gl(this,c?i:f,a,n,d))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&h!==g))return this;if(u!==this._dur)return this.render(i,n,a)}if(this._tTime=d,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(w||this._ease)(f/u),this._from&&(this.ratio=v=1-v),f&&!o&&!n&&!h&&(kt(this,"onStart"),this._tTime!==d))return this;for(p=this._pt;p;)p.r(v,p.d),p=p._next;y&&y.render(i<0?i:y._dur*y._ease(f/this._dur),n,a)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(c&&_a(this,i,n,a),kt(this,"onUpdate")),this._repeat&&h!==g&&this.vars.onRepeat&&!n&&this.parent&&kt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&_a(this,i,!0,!0),(i||!u)&&(d===this._tDur&&this._ts>
vendor: 5,527 bytes, line 35
350||!d&&this._ts<0)&&kr(this,1),!n&&!(c&&!o)&&(d||o||b)&&(kt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),s.prototype.invalidate.call(this,i)},t.resetTo=function(i,n,a,o,l){fn||It.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Ia(this,u),c=this._ease(u/this._dur),ap(this,i,n,a,o,c,u,l)?this.resetTo(i,n,a,o,1):(cs(this,0),this.parent||fl(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?cn(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Ar&&Ar.vars.overwrite!==!0)._first||cn(this),this.parent&&a!==this.timeline.totalDuration()&&ki(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=i?jt(i):o,u=this._ptLookup,c=this._pt,d,f,p,h,m,g,b;if((!n||n==="all")&&Ff(o,l))return n==="all"&&(this._pt=0),cn(this);for(d=this._op=this._op||[],n!=="all"&&(Fe(n)&&(m={},vt(n,function(v){return m[v]=1}),n=m),n=op(o,n)),b=o.length;b--;)if(~l.indexOf(o[b])){f=u[b],n==="all"?(d[b]=n,h=f,p={}):(p=d[b]=d[b]||{},h=n);for(m in h)g=f&&f[m],g&&((!("kill"in g.d)||g.d.kill(m)===!0)&&os(this,g,"_pt"),delete f[m]),p!=="all"&&(p[m]=1)}return this._initted&&!this._pt&&c&&cn(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return on(1,arguments)},e.delayedCall=function(i,n,a,o){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(i,n,a){return on(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,a){return ve.killTweensOf(i,n,a)},e}(pn);Bt(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),vt("staggerTo,staggerFrom,staggerFromTo",function(s){ke[s]=function(){var e=new at,t=Ta.call(arguments,0);return t.splice(s==="staggerFromTo"?5:4,0,0),e[s].apply(e,t)}});var La=function(e,t,r){return e[t]=r},Nl=function(e,t,r){return e[t](r)},up=function(e,t,r,i){return e[t](i.fp,r)},cp=function(e,t,r){return e.setAttribute(t,r)},Aa=function(e,t){return Se(e[t])?Nl:ua(e[t])&&e.setAttribute?cp:La},Bl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},dp=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Hl=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},Da=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},fp=function(e,t,r,i){for(var n=this._pt,a;n;)a=n._next,n.p===i&&n.modifier(e,t,r),n=a},pp=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?os(this,t,"_pt"):t.dep||(r=1),t=i;return!r},hp=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},jl=function(e){for(var t=e._pt,r,i,n,a;t;){for(r=t._next,i=n;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:a)?t._prev._next=t:n=t,(t._next=i)?i._prev=t:a=t,t=r}e._pt=n},yt=function(){function s(t,r,i,n,a,o,l,u,c){this.t=r,this.s=n,this.c=a,this.p=i,this.r=o||Bl,this.d=l||this,this.set=u||La,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=s.prototype;return e.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=hp,this.m=r,this.mt=n,this.tween=i},s}();vt(wa+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(s){return ga[s]=1}),Mt.TweenMax=Mt.TweenLite=ke,Mt.TimelineLite=Mt.TimelineMax=at,ve=new at({sortChildren:!1,defaults:Pi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ct.stringFilter=Il;var ii=[],ds={},mp=[],Vl=0,gp=0,za=function(e){return(ds[e]||mp).map(function(t){return t()})},Ra=function(){var e=Date.now(),t=[];e-Vl>2&&(za("matchMediaInit"),ii.forEach(function(r){var i=r.queries,n=r.conditions,a,o,l,u;for(o in i)a=ir.matchMedia(i[o]).matches,a&&(l=1),a!==n[o]&&(n[o]=a,u=1);u&&(r.revert(),l&&t.push(r))}),za("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Vl=e,za("matchMedia"))},Gl=function(){function s(t,r){this.selector=r&&Sa(r),this.data=[],this._r=[],this.isReverted=!1,this.id=gp++,t&&this.add(t)}var e=s.prototype;return e.add=function(r,i,n){Se(r)&&(n=i,i=r,r=Se);var a=this,o=function(){var u=pe,c=a.selector,d;return u&&u!==a&&u.data.push(a),n&&(a.selector=Sa(n)),pe=a,d=i.apply(a,arguments),Se(d)&&a._r.push(d),pe=u,a.selector=c,a.isReverted=!1,d};return a.last=o,r===Se?o(a,function(l){return a.add(null,l)}):r?a[r]=o:o},e.ignore=function(r){var i=pe;pe=null,r(this),pe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof s?r.push.apply(r,i.getTweens()):i instanceof ke&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var n=this;if(r?function(){for(var o=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEac
vendor: 1,212 bytes, line 35
35h(function(c){return o.splice(o.indexOf(c),1)}));for(o.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=n.data.length;l--;)u=n.data[l],u instanceof at?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof ke)&&u.revert&&u.revert(r);n._r.forEach(function(c){return c(r,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var a=ii.length;a--;)ii[a].id===this.id&&ii.splice(a,1)},e.revert=function(r){this.kill(r||{})},s}(),vp=function(){function s(t){this.contexts=[],this.scope=t,pe&&pe.data.push(this)}var e=s.prototype;return e.add=function(r,i,n){rr(r)||(r={matches:r});var a=new Gl(0,n||this.scope),o=a.conditions={},l,u,c;pe&&!a.selector&&(a.selector=pe.selector),this.contexts.push(a),i=a.add("onMatch",i),a.queries=r;for(u in r)u==="all"?c=1:(l=ir.matchMedia(r[u]),l&&(ii.indexOf(a)<0&&ii.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(Ra):l.addEventListener("change",Ra)));return c&&i(a,function(d){return a.add(null,d)}),this},e.revert=function(r){this.kill(r||{})}
vendor: 11,521 bytes, lines 35-43
35,e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},s}(),fs={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return Cl(i)})},timeline:function(e){return new at(e)},getTweensOf:function(e,t){return ve.getTweensOf(e,t)},getProperty:function(e,t,r,i){Fe(e)&&(e=jt(e)[0]);var n=Qr(e||{}).get,a=r?cl:ul;return r==="native"&&(r=""),e&&(t?a((Ot[t]&&Ot[t].get||n)(e,t,r,i)):function(o,l,u){return a((Ot[o]&&Ot[o].get||n)(e,o,l,u))})},quickSetter:function(e,t,r){if(e=jt(e),e.length>1){var i=e.map(function(c){return wt.quickSetter(c,t,r)}),n=i.length;return function(c){for(var d=n;d--;)i[d](c)}}e=e[0]||{};var a=Ot[t],o=Qr(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var d=new a;Ii._pt=0,d.init(e,r?c+r:c,Ii,0,[e]),d.render(1,d),Ii._pt&&Da(1,Ii)}:o.set(e,l);return a?u:function(c){return u(e,l,r?c+r:c,o,1)}},quickTo:function(e,t,r){var i,n=wt.to(e,Jr((i={},i[t]="+=0.1",i.paused=!0,i),r||{})),a=function(l,u,c){return n.resetTo(t,l,u,c)};return a.tween=n,a},isTweening:function(e){return ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ti(e.ease,Pi.ease)),dl(Pi,e||{})},config:function(e){return dl(Ct,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,n=e.defaults,a=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!Ot[o]&&!Mt[o]&&nn(t+" effect requires "+o+" plugin.")}),ya[t]=function(o,l,u){return r(jt(o),Bt(l||{},n),u)},a&&(at.prototype[t]=function(o,l,u){return this.add(ya[t](o,rr(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){ne[e]=ti(t)},parseEase:function(e,t){return arguments.length?ti(e,t):ne},getById:function(e){return ve.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new at(e),i,n;for(r.smoothChildTiming=gt(e.smoothChildTiming),ve.remove(r),r._dp=0,r._time=r._tTime=ve._time,i=ve._first;i;)n=i._next,(t||!(!i._dur&&i instanceof ke&&i.vars.onComplete===i._targets[0]))&&nr(r,i,i._start-i._delay),i=n;return nr(ve,r,0),r},context:function(e,t){return e?new Gl(e,t):pe},matchMedia:function(e){return new vp(e)},matchMediaRefresh:function(){return ii.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||Ra()},addEventListener:function(e,t){var r=ds[e]||(ds[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=ds[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:Uf,wrapYoyo:Kf,distribute:bl,random:xl,snap:_l,normalize:qf,getUnit:Je,clamp:Gf,splitColor:Ml,toArray:jt,selector:Sa,mapRange:Sl,pipe:Wf,unitize:Xf,interpolate:Zf,shuffle:wl},install:il,effects:ya,ticker:It,updateRoot:at.updateRoot,plugins:Ot,globalTimeline:ve,core:{PropTween:yt,globals:nl,Tween:ke,Timeline:at,Animation:pn,getCache:Qr,_removeLinkedListItem:os,reverting:function(){return Ze},context:function(e){return e&&pe&&(pe.data.push(e),e._ctx=pe),pe},suppressOverwrites:function(e){return oa=e}}};vt("to,from,fromTo,delayedCall,set,killTweensOf",function(s){return fs[s]=ke[s]}),It.add(at.updateRoot),Ii=fs.to({},{duration:0});var yp=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},wp=function(e,t){var r=e._targets,i,n,a;for(i in t)for(n=r.length;n--;)a=e._ptLookup[n][i],a&&(a=a.d)&&(a._pt&&(a=yp(a,i)),a&&a.modifier&&a.modifier(t[i],e,r[n],i))},Fa=function(e,t){return{name:e,rawVars:1,init:function(i,n,a){a._onInit=function(o){var l,u;if(Fe(n)&&(l={},vt(n,function(c){return l[c]=1}),n=l),t){l={};for(u in n)l[u]=t(n[u]);n=l}wp(o,n)}}}},wt=fs.registerPlugin({name:"attr",init:function(e,t,r,i,n){var a,o,l;this.tween=r;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],i,n,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var r=t._pt;r;)Ze?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Fa("roundProps",Ea),Fa("modifiers"),Fa("snap",_l))||fs;ke.version=at.version=wt.version="3.12.5",rl=1,ca()&&Li(),ne.Power0,ne.Power1,ne.Power2,ne.Power3,ne.Power4,ne.Linear,ne.Quad,ne.Cubic,ne.Quart,ne.Quint,ne.Strong,ne.Elastic,ne.Back,ne.SteppedEase,ne.Bounce,ne.Sine,ne.Expo,ne.Circ;/*! 36 * CSSPlugin 3.12.5 37 * https://gsap.com 38 * 39 * Copyright 2008-2024, GreenSock. All rights reserved. 40 * Subject to the terms at https://gsap.com/standard-license or for 41 * Club GSAP members, the agreement issued with that membership. 42 * @author: Jack Doyle, [email protected] 43*/var Yl,Dr,Ai,$a,ni,Wl,Na,bp=function(){return typeof window<"u"},wr={},si=180/Math.PI,Di=Math.PI/180,zi=Math.atan2,Xl=1e8,Ba=/([A-Z])/g,_p=/(left|right|width|margin|padding|x)/i,xp=/[\s,\(]\S/,sr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ha=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Tp=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Sp=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Ep=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ql=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Ul=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Pp=function(e,t,r){return e.style[t]=r},Cp=function(e,t,r){return e.style.setProperty(t,r)},Mp=function(e,t,r){return e._gsap[t]=r},Op=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},kp=function(e,t,r,i,n){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)},Ip=function(e,t,r,i,n){var a=e._gsap;a[t]=r,a.renderTransform(n,a)},ye="transform",bt=ye+"Origin",Lp=function s(e,t){var r=this,i=this.target,n=i.style,a=i._gsap;if(e in wr&&n){if(this.tfm=this.tfm||{},e!=="transform")e=sr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=br(i,o)}):this.tfm[e]=a.x?a[e]:br(i,e),e===bt&&(this.tfm.zOrigin=a.zOrigin);else return sr.transform.split(",").forEach(function(o){return s.call(r,o,t)});if(this.props.indexOf(ye)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(bt,t,"")),e=ye}(n||t)&&this.props.push(e,t,n[e])},Kl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ap=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,n,a;for(n=0;n<e.length;n+=3)e[n+1]?t[e[n]]=e[n+2]:e[n+2]?r[e[n]]=e[n+2]:r.removeProperty(e[n].substr(0,2)==="--"?e[n]:e[n].replace(Ba,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)i[a]=this.tfm[a];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),n=Na(),(!n||!n.isStart)&&!r[ye]&&(Kl(r),i.zOrigin&&r[bt]&&(r[bt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Zl=function(e,t){var r={target:e,props:[],revert:Ap,save:Lp};return e._gsap||wt.core.getCache(e),t&&t.split(",").forEach(function(i){return r.save(i)}),r},Ql,ja=function(e,t){var r=Dr.createElementNS?Dr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Dr.createElement(e);return r&&r.style?r:Dr.createElement(e)},ar=function s(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Ba,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&s(e,Ri(t)||t,1)||""},Jl="O,Moz,ms,Ms,Webkit".split(","),Ri=function(e,t,r){var i=t||ni,n=i.style,a=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(Jl[a]+e in n););return a<0?null:(a===3?"ms":a>=0?Jl[a]:"")+e},Va=function(){bp()&&window.document&&(Yl=window,Dr=Yl.document,Ai=Dr.documentElement,ni=ja("div")||{style:{}},ja("div"),ye=Ri(ye),bt=ye+"Origin",ni.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ql=!!Ri("perspective"),Na=wt.core.reverting,$a=1)},Ga=function s(e){var t=ja("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,n=this.style.cssText,a;if(Ai.appendChild(t),t.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=s}catch{}else this._gsapBBox&&(a=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),Ai.removeChild(t),this.style.cssText=n,a},eu=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},tu=function(e){var t;try{t=e.getBBox()}catch{t=Ga.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Ga||(t=Ga.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+eu(e,["x","cx","x1"])||0,y:+eu(e,["y","cy","y1"])||0,width:0,height:0}:t},ru=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&tu(e))},ai=function(e,t){if(t){var r=e.style,i;t in wr&&t!==bt&&(t=ye),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Ba,"-$1").toLowerCase())):r.removeAttribute(t)}},zr=function(e,t,r,i,n,a){var o=new yt(e._pt,t,r,0,1,a?Ul:ql);return e._pt=o,o.b=i,o.e=n,e._props.push(r),o},iu={deg:1,rad:1,turn:1},Dp={grid:1,flex:1},Rr=function s(e,t,r,i){var n=parseFloat(r)||0,a=(r+"").trim().substr((n+"").length)||"px",o=ni.style,l=_p.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),d=100,f=i==="px",p=i==="%",h,m,g,b;if(i===a||!n||iu[i]||iu[a])return n;if(a!=="px"&&!f&&(n=s(e,t,r,"px")),b=e.getCTM&&ru(e),(p||a==="%")&&(wr[t]||~t.indexOf("adius")))return h=b?e.getBBox()[l?"width":"height"]:e[c],Pe(p?n/h*d:n/100*h);if(o[l?"width":"height"]=d+(f?a:i),m=~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,b&&(m=(e.ownerSVGElement||{}).parentNode),(!m||m===Dr||!m.appendChild)&&(m=Dr.body),g=m._gsap,g&&p&&g.width&&l&&g.time===It.time&&!g.uncache)return Pe(n/g.width*d);if(p&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=d+i,h=e[c],v?e.style[t]=v:ai(e,t)}else(p||a==="%")&&!Dp[ar(m,"display")]&&(o.position=ar(e,"position")),m===e&&(o.position="static"),m.appendChild(ni),h=ni[c],m.removeChild(ni),o.position="absolute";return l&&p&&(g=Qr(m),g.time=It.time,g.width=m[c]),Pe(f?h*n/d:h&&n?d/h*n:0)},br=function(e,t,r,i){var n;return $a||Va(),t in sr&&t!=="transform"&&(t=sr[t],~t.indexOf(",")&&(t=t.split(",")[0])),wr[t]&&t!=="transform"?(n=gn(e,i),n=t!=="transformOrigin"?n[t]:n.svg?n.origin:hs(ar(e,bt))+" "+n.zOrigin+"px"):(n=e.style[t],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=ps[t]&&ps[t](e,t,r)||ar(e,t)||ol(e,t)||(t==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Rr(e,t,n,r)+r:n},zp=function(e,t,r,i){if(!r||r==="none"){var n=Ri(t,e,1),a=n&&ar(e,n,1);a&&a!==r?(t=n,r=a):t==="borderColor"&&(r=ar(e,"borderTopColor"))}var o=new yt(this._pt,e.style,t,0,1,Hl),l=0,u=0,c,d,f,p,h,m,g,b,v,y,w,_;if(o.b=r,o.e=i,r+="",i+="",i==="auto"&&(m=e.style[t],e.style[t]=i,i=ar(e,t)||i,m?e.style[t]=m:ai(e,t)),c=[r,i],Il(c),r=c[0],i=c[1],f=r.match(Ci)||[],_=i.match(Ci)||[],_.length){for(;d=Ci.exec(i);)g=d[0],v=i.substring(l,d.index),h?h=(h+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(h=1),g!==(m=f[u++]||"")&&(p=parseFloat(m)||0,w=m.substr((p+"").length),g.charAt(1)==="="&&(g=Mi(p,g)+w),b=parseFloat(g),y=g.substr((b+"").length),l=Ci.lastIndex-y.length,y||(y=y||Ct.units[t]||w,l===i.length&&(i+=y,o.e+=y)),w!==y&&(p=Rr(e,t,m,y)||0),o._pt={_next:o._pt,p:v||u===1?v:",",s:p,c:b-p,m:h&&h<4||t==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=t==="display"&&i==="none"?Ul:ql;return el.test(i)&&(o.e=0),this._pt=o,o},nu={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Rp=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=nu[r]||r,t[1]=nu[i]||i,t.join(" ")}
vendor: 9,796 bytes, line 43
43,Fp=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,n=t.u,a=r._gsap,o,l,u;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],wr[o]&&(l=1,o=o==="transformOrigin"?bt:ye),ai(r,o);l&&(ai(r,ye),a&&(a.svg&&r.removeAttribute("transform"),gn(r,1),a.uncache=1,Kl(i)))}},ps={clearProps:function(e,t,r,i,n){if(n.data!=="isFromStart"){var a=e._pt=new yt(e._pt,t,r,0,0,Fp);return a.u=i,a.pr=-10,a.tween=n,e._props.push(r),1}}},mn=[1,0,0,1,0,0],su={},au=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ou=function(e){var t=ar(e,ye);return au(t)?mn:t.substr(7).match(Jo).map(Pe)},Ya=function(e,t){var r=e._gsap||Qr(e),i=e.style,n=ou(e),a,o,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?mn:n):(n===mn&&!e.offsetParent&&e!==Ai&&!r.svg&&(l=i.display,i.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(u=1,o=e.nextElementSibling,Ai.appendChild(e)),n=ou(e),l?i.display=l:ai(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):Ai.removeChild(e))),t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Wa=function(e,t,r,i,n,a){var o=e._gsap,l=n||Ya(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,d=o.xOffset||0,f=o.yOffset||0,p=l[0],h=l[1],m=l[2],g=l[3],b=l[4],v=l[5],y=t.split(" "),w=parseFloat(y[0])||0,_=parseFloat(y[1])||0,P,O,E,S;r?l!==mn&&(O=p*g-h*m)&&(E=w*(g/O)+_*(-m/O)+(m*v-g*b)/O,S=w*(-h/O)+_*(p/O)-(p*v-h*b)/O,w=E,_=S):(P=tu(e),w=P.x+(~y[0].indexOf("%")?w/100*P.width:w),_=P.y+(~(y[1]||y[0]).indexOf("%")?_/100*P.height:_)),i||i!==!1&&o.smooth?(b=w-u,v=_-c,o.xOffset=d+(b*p+v*m)-b,o.yOffset=f+(b*h+v*g)-v):o.xOffset=o.yOffset=0,o.xOrigin=w,o.yOrigin=_,o.smooth=!!i,o.origin=t,o.originIsAbsolute=!!r,e.style[bt]="0px 0px",a&&(zr(a,o,"xOrigin",u,w),zr(a,o,"yOrigin",c,_),zr(a,o,"xOffset",d,o.xOffset),zr(a,o,"yOffset",f,o.yOffset)),e.setAttribute("data-svg-origin",w+" "+_)},gn=function(e,t){var r=e._gsap||new zl(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,n=r.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=ar(e,bt)||"0",c,d,f,p,h,m,g,b,v,y,w,_,P,O,E,S,C,D,x,T,M,L,z,k,A,R,I,F,$,B,j,H;return c=d=f=m=g=b=v=y=w=0,p=h=1,r.svg=!!(e.getCTM&&ru(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ye]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ye]!=="none"?l[ye]:"")),i.scale=i.rotate=i.translate="none"),O=Ya(e,r.svg),r.svg&&(r.uncache?(A=e.getBBox(),u=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",k=""):k=!t&&e.getAttribute("data-svg-origin"),Wa(e,k||u,!!k||r.originIsAbsolute,r.smooth!==!1,O)),_=r.xOrigin||0,P=r.yOrigin||0,O!==mn&&(D=O[0],x=O[1],T=O[2],M=O[3],c=L=O[4],d=z=O[5],O.length===6?(p=Math.sqrt(D*D+x*x),h=Math.sqrt(M*M+T*T),m=D||x?zi(x,D)*si:0,v=T||M?zi(T,M)*si+m:0,v&&(h*=Math.abs(Math.cos(v*Di))),r.svg&&(c-=_-(_*D+P*T),d-=P-(_*x+P*M))):(H=O[6],B=O[7],I=O[8],F=O[9],$=O[10],j=O[11],c=O[12],d=O[13],f=O[14],E=zi(H,$),g=E*si,E&&(S=Math.cos(-E),C=Math.sin(-E),k=L*S+I*C,A=z*S+F*C,R=H*S+$*C,I=L*-C+I*S,F=z*-C+F*S,$=H*-C+$*S,j=B*-C+j*S,L=k,z=A,H=R),E=zi(-T,$),b=E*si,E&&(S=Math.cos(-E),C=Math.sin(-E),k=D*S-I*C,A=x*S-F*C,R=T*S-$*C,j=M*C+j*S,D=k,x=A,T=R),E=zi(x,D),m=E*si,E&&(S=Math.cos(E),C=Math.sin(E),k=D*S+x*C,A=L*S+z*C,x=x*S-D*C,z=z*S-L*C,D=k,L=A),g&&Math.abs(g)+Math.abs(m)>359.9&&(g=m=0,b=180-b),p=Pe(Math.sqrt(D*D+x*x+T*T)),h=Pe(Math.sqrt(z*z+H*H)),E=zi(L,z),v=Math.abs(E)>2e-4?E*si:0,w=j?1/(j<0?-j:j):0),r.svg&&(k=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!au(ar(e,ye)),k&&e.setAttribute("transform",k))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(p*=-1,v+=m<=0?180:-180,m+=m<=0?180:-180):(h*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=Pe(p),r.scaleY=Pe(h),r.rotation=Pe(m)+o,r.rotationX=Pe(g)+o,r.rotationY=Pe(b)+o,r.skewX=v+o,r.skewY=y+o,r.transformPerspective=w+a,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[bt]=hs(u)),r.xOffset=r.yOffset=0,r.force3D=Ct.force3D,r.renderTransform=r.svg?Np:Ql?lu:$p,r.uncache=0,r},hs=function(e){return(e=e.split(" "))[0]+" "+e[1]},Xa=function(e,t,r){var i=Je(t);return Pe(parseFloat(t)+parseFloat(Rr(e,"x",r+"px",i)))+i},$p=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,lu(e,t)},oi="0deg",vn="0px",li=") ",lu=function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,a=r.x,o=r.y,l=r.z,u=r.rotation,c=r.rotationY,d=r.rotationX,f=r.skewX,p=r.skewY,h=r.scaleX,m=r.scaleY,g=r.transformPerspective,b=r.force3D,v=r.target,y=r.zOrigin,w="",_=b==="auto"&&e&&e!==1||b===!0;if(y&&(d!==oi||c!==oi)){var P=parseFloat(c)*Di,O=Math.sin(P),E=Math.cos(P),S;P=parseFloat(d)*Di,S=Math.cos(P),a=Xa(v,a,O*S*-y),o=Xa(v,o,-Math.sin(P)*-y),l=Xa(v,l,E*S*-y+y)}g!==vn&&(w+="perspective("+g+li),(i||n)&&(w+="translate("+i+"%, "+n+"%) "),(_||a!==vn||o!==vn||l!==vn)&&(w+=l!==vn||_?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+li),u!==oi&&(w+="rotate("+u+li),c!==oi&&(w+="rotateY("+c+li),d!==oi&&(w+="rotateX("+d+li),(f!==oi||p!==oi)&&(w+="skew("+f+", "+p+li),(h!==1||m!==1)&&(w+="scale("+h+", "+m+li),v.style[ye]=w||"translate(0, 0)"},Np=function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,a=r.x,o=r.y,l=r.rotation,u=r.skewX,c=r.skewY,d=r.scaleX,f=r.scaleY,p=r.target,h=r.xOrigin,m=r.yOrigin,g=r.xOffset,b=r.yOffset,v=r.forceCSS,y=parseFloat(a),w=parseFloat(o),_,P,O,E,S;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Di,u*=Di,_=Math.cos(l)*d,P=Math.sin(l)*d,O=Math.sin(l-u)*-f,E=Math.cos(l-u)*f,u&&(c*=Di,S=Math.tan(u-c),S=Math.sqrt(1+S*S),O*=S,E*=S,c&&(S=Math.tan(c),S=Math.sqrt(1+S*S),_*=S,P*=S)),_=Pe(_),P=Pe(P),O=Pe(O),E=Pe(E)):(_=d,E=f,P=O=0),(y&&!~(a+"").indexOf("px")||w&&!~(o+"").indexOf("px"))&&(y=Rr(p,"x",a,"px"),w=Rr(p,"y",o,"px")),(h||m||g||b)&&(y=Pe(y+h-(h*_+m*O)+g),w=Pe(w+m-(h*P+m*E)+b)),(i||n)&&(S=p.getBBox(),y=Pe(y+i/100*S.width),w=Pe(w+n/100*S.height)),S="matrix("+_+","+P+","+O+","+E+","+y+","+w+")",p.setAttribute("transform",S),v&&(p.style[ye]=S)},Bp=function(e,t,r,i,n){var a=360,o=Fe(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?si:1),u=l-i,c=i+u+"deg",d,f;return o&&(d=n.split("_")[1],d==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),d==="cw"&&u<0?u=(u+a*Xl)%a-~~(u/a)*a:d==="ccw"&&u>0&&(u=(u-a*Xl)%a-~~(u/a)*a)),e._pt=f=new yt(e._pt,t,r,i,u,Tp),f.e=c,f.u="deg",e._props.push(r),f},uu=function(e,t){for(var r in t)e[r]=t[r];return e},Hp=function(e,t,r){var i=uu({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",a=r.style,o,l,u,c,d,f,p,h;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),a[ye]=t,o=gn(r,1),ai(r,ye),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ye],a[ye]=t,o=gn(r,1),a[ye]=u);for(l in wr)u=i[l],c=o[l],u!==c&&n.indexOf(l)<0&&(p=Je(u),h=Je(c),d=p!==h?Rr(r,l,u,h):parseFloat(u),f=parseFloat(c),e._pt=new yt(e._pt,o,l,d,f-d,Ha),e._pt.u=h||0,e._props.push(l));uu(o,i)};vt("padding,margin,Width,Radius",function(s,e){var t="Top",r="Right",i="Bottom",n="Left",a=(e<3?[t,r,i,n]:[t+n,t+r,i+r,i+n]).map(function(o){return e<2?s+o:"border"+o+s});ps[e>1?"border"+s:s]=function(o,l,u,c,d){var f,p;if(arguments.length<4)return f=a.map(function(h){return br(o,h,u)}),p=f.join(" "),p.split(f[0]).length===5?f[0]:p;f=(c+"").split(" "),p={},a.forEach(function(h,m){return p[h]=f[m]=f[m]||f[(m-1)/2|0]}),o.init(l,p,d)}});var cu={name:"css",register:Va,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,n){var a=this._props,o=e.style,l=r.vars.startAt,u,c,d,f,p,h,m,g,b,v,y,w,_,P,O,E;$a||Va(),this.styles=this.styles||Zl(e),E=this.styles.props,this.tween=r;for(m in t)if(m!=="autoRound"&&(c=t[m],!(Ot[m]&&Rl(m,t,r,i,e,n)))){if(p=typeof c,h=ps[m],p==="function"&&(c=c.call(r,i,e,n),p=typeof c),p==="string"&&~c.indexOf("random(")&&(c=un(c)),h)h(this,e,m,c,r)&&(O=1);else if(m.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(m)+"").trim(),c+="",Lr.lastIndex=0,Lr.test(u)||(g=Je(u),b=Je(c)),b?g!==b&&(u=Rr(e,m,u,b)+b):g&&(c+=g),this.add(o,"setProperty",u,c,i,n,0,0,m),a.push(m),E.push(m,0,o[m]);else if(p!=="undefined"){if(l&&m in l?(u=typeof l[m]=="function"?l[m].call(r,i,e,n):l[m],Fe(u)&&~u.indexOf("random(")&&(u=un(u)),Je(u+"")||u==="auto"||(u+=Ct.units[m]||Je(br(e,m))||""),(u+"").charAt(1)==="="&&(u=br(e,m))):u=br(e,m),f=parseFloat(u),v=p==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),m in sr&&(m==="autoAlpha"&&(f===1&&br(e,"visibility")==="hidden"&&d&&(f=0),E.push("visibility",0,o.visibility),zr(this,o,"visibility",f?"inherit":"hidden",d?"inherit":"hidden",!d)),m!=="scale"&&m!=="transform"&&(m=sr[m],~m.indexOf(",")&&(m=m.split(",")[0]))),y=m in wr,y){if(this.styles.save(m),w||(_=e._gsap,_.renderTransform&&!t.parseTransform||gn(e,t.parseTransform),P=t.smoothOrigin!==!1&&_.smooth,w=this._pt=new yt(this._pt,o,ye,0,1,_.renderTransform,_,0,-1),w.dep=1),m==="scale")this._pt=new yt(this._pt,_,"scaleY",_.scaleY,(v?Mi(_.scaleY,v+d):d)-_.scaleY||0,Ha),this._pt.u=0,a.push("scaleY",m),m+="X";else if(m==="transformOrigin"){E.push(bt,0,o[bt]),c=Rp(c),_.svg?Wa(e,c,0,P,0,this):(b=parseFloat(c.split(" ")[2])||0,b!==_.zOrigin&&zr(this,_,"zOrigin",_.zOrigin,b),zr(this,o,m,hs(u),hs(c)));continue}else if(m==="svgOrigin"){Wa(e,c,1,P,0,this);continue}else if(m in su){Bp(this,_,m,f,v?Mi(f,v+c):c);continue}else if(m==="smoothOrigin"){zr(this,_,"smooth",_.smooth,c);continue}else if(m==="force3D"){_[m]=c;continue}else if(m==="transform"){Hp(this,c,e);continue}}else m in o||(m=Ri(m)||m);
vendor: 14,232 bytes, lines 43-59
43if(y||(d||d===0)&&(f||f===0)&&!xp.test(c)&&m in o)g=(u+"").substr((f+"").length),d||(d=0),b=Je(c)||(m in Ct.units?Ct.units[m]:g),g!==b&&(f=Rr(e,m,u,b)),this._pt=new yt(this._pt,y?_:o,m,f,(v?Mi(f,v+d):d)-f,!y&&(b==="px"||m==="zIndex")&&t.autoRound!==!1?Ep:Ha),this._pt.u=b||0,g!==b&&b!=="%"&&(this._pt.b=u,this._pt.r=Sp);else if(m in o)zp.call(this,e,m,u,v?v+c:c);else if(m in e)this.add(e,m,u||e[m],v?v+c:c,i,n);else if(m!=="parseTransform"){ma(m,c);continue}y||(m in o?E.push(m,0,o[m]):E.push(m,1,u||e[m])),a.push(m)}}O&&jl(this)},render:function(e,t){if(t.tween._time||!Na())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:br,aliases:sr,getSetter:function(e,t,r){var i=sr[t];return i&&i.indexOf(",")<0&&(t=i),t in wr&&t!==bt&&(e._gsap.x||br(e,"x"))?r&&Wl===r?t==="scale"?Op:Mp:(Wl=r||{})&&(t==="scale"?kp:Ip):e.style&&!ua(e.style[t])?Pp:~t.indexOf("-")?Cp:Aa(e,t)},core:{_removeProperty:ai,_getMatrix:Ya}};wt.utils.checkPrefix=Ri,wt.core.getStyleSaver=Zl,function(s,e,t,r){var i=vt(s+","+e+","+t,function(n){wr[n]=1});vt(e,function(n){Ct.units[n]="deg",su[n]=1}),sr[i[13]]=s+","+e,vt(r,function(n){var a=n.split(":");sr[a[1]]=i[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),vt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(s){Ct.units[s]="px"}),wt.registerPlugin(cu);var ms=wt.registerPlugin(cu)||wt;ms.core.Tween;function jp(s,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(s,r.key,r)}}function Vp(s,e,t){return e&&jp(s.prototype,e),s}/*! 44 * Observer 3.12.5 45 * https://gsap.com 46 * 47 * @license Copyright 2008-2024, GreenSock. All rights reserved. 48 * Subject to the terms at https://gsap.com/standard-license or for 49 * Club GSAP members, the agreement issued with that membership. 50 * @author: Jack Doyle, [email protected] 51*/var We,gs,Lt,Fr,$r,Fi,du,ui,yn,fu,_r,Ut,pu,hu=function(){return We||typeof window<"u"&&(We=window.gsap)&&We.registerPlugin&&We},mu=1,$i=[],ee=[],or=[],wn=Date.now,qa=function(e,t){return t},Gp=function(){var e=yn.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,ee),i.push.apply(i,or),ee=r,or=i,qa=function(a,o){return t[a](o)}},Nr=function(e,t){return~or.indexOf(e)&&or[or.indexOf(e)+1][t]},bn=function(e){return!!~fu.indexOf(e)},ot=function(e,t,r,i,n){return e.addEventListener(t,r,{passive:i!==!1,capture:!!n})},lt=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},vs="scrollLeft",ys="scrollTop",Ua=function(){return _r&&_r.isPressed||ee.cache++},ws=function(e,t){var r=function i(n){if(n||n===0){mu&&(Lt.history.scrollRestoration="manual");var a=_r&&_r.isPressed;n=i.v=Math.round(n)||(_r&&_r.iOS?1:0),e(n),i.cacheID=ee.cache,a&&qa("ss",n)}else(t||ee.cache!==i.cacheID||qa("ref"))&&(i.cacheID=ee.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},ut={s:vs,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ws(function(s){return arguments.length?Lt.scrollTo(s,De.sc()):Lt.pageXOffset||Fr[vs]||$r[vs]||Fi[vs]||0})},De={s:ys,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ut,sc:ws(function(s){return arguments.length?Lt.scrollTo(ut.sc(),s):Lt.pageYOffset||Fr[ys]||$r[ys]||Fi[ys]||0})},_t=function(e,t){return(t&&t._ctx&&t._ctx.selector||We.utils.toArray)(e)[0]||(typeof e=="string"&&We.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Br=function(e,t){var r=t.s,i=t.sc;bn(e)&&(e=Fr.scrollingElement||$r);var n=ee.indexOf(e),a=i===De.sc?1:2;!~n&&(n=ee.push(e)-1),ee[n+a]||ot(e,"scroll",Ua);var o=ee[n+a],l=o||(ee[n+a]=ws(Nr(e,r),!0)||(bn(e)?i:ws(function(u){return arguments.length?e[r]=u:e[r]})));return l.target=e,o||(l.smooth=We.getProperty(e,"scrollBehavior")==="smooth"),l},Ka=function(e,t,r){var i=e,n=e,a=wn(),o=a,l=t||50,u=Math.max(500,l*3),c=function(h,m){var g=wn();m||g-a>l?(n=i,i=h,o=a,a=g):r?i+=h:i=n+(h-n)/(g-o)*(a-o)},d=function(){n=i=r?0:i,o=a=0},f=function(h){var m=o,g=n,b=wn();return(h||h===0)&&h!==i&&c(h),a===o||b-o>u?0:(i+(r?g:-g))/((r?b:a)-m)*1e3};return{update:c,reset:d,getVelocity:f}},_n=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},gu=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},vu=function(){yn=We.core.globals().ScrollTrigger,yn&&yn.core&&Gp()},yu=function(e){return We=e||hu(),!gs&&We&&typeof document<"u"&&document.body&&(Lt=window,Fr=document,$r=Fr.documentElement,Fi=Fr.body,fu=[Lt,Fr,$r,Fi],We.utils.clamp,pu=We.core.context||function(){},ui="onpointerenter"in Fi?"pointer":"mouse",du=Ce.isTouch=Lt.matchMedia&&Lt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ut=Ce.eventTypes=("ontouchstart"in $r?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in $r?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return mu=0},500),vu(),gs=1),gs};ut.op=De,ee.cache=0;var Ce=function(){function s(t){this.init(t)}var e=s.prototype;return e.init=function(r){gs||yu(We)||console.warn("Please gsap.registerPlugin(Observer)"),yn||vu();var i=r.tolerance,n=r.dragMinimum,a=r.type,o=r.target,l=r.lineHeight,u=r.debounce,c=r.preventDefault,d=r.onStop,f=r.onStopDelay,p=r.ignore,h=r.wheelSpeed,m=r.event,g=r.onDragStart,b=r.onDragEnd,v=r.onDrag,y=r.onPress,w=r.onRelease,_=r.onRight,P=r.onLeft,O=r.onUp,E=r.onDown,S=r.onChangeX,C=r.onChangeY,D=r.onChange,x=r.onToggleX,T=r.onToggleY,M=r.onHover,L=r.onHoverEnd,z=r.onMove,k=r.ignoreCheck,A=r.isNormalizer,R=r.onGestureStart,I=r.onGestureEnd,F=r.onWheel,$=r.onEnable,B=r.onDisable,j=r.onClick,H=r.scrollSpeed,Y=r.capture,U=r.allowClicks,re=r.lockAxis,be=r.onLockAxis;this.target=o=_t(o)||$r,this.vars=r,p&&(p=We.utils.toArray(p)),i=i||1e-9,n=n||0,h=h||1,H=H||1,a=a||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Lt.getComputedStyle(Fi).lineHeight)||22);var Le,_e,xt,ae,he,Xe,He,N=this,qe=0,zt=0,Wt=r.passive||!c,me=Br(o,ut),Tt=Br(o,De),dr=me(),Xt=Tt(),je=~a.indexOf("touch")&&!~a.indexOf("pointer")&&Ut[0]==="pointerdown",Vr=bn(o),Me=o.ownerDocument||Fr,Zt=[0,0,0],qt=[0,0,0],Er=0,Nn=function(){return Er=wn()},Ae=function(X,le){return(N.event=X)&&p&&~p.indexOf(X.target)||le&&je&&X.pointerType!=="touch"||k&&k(X,le)},Hs=function(){N._vx.reset(),N._vy.reset(),_e.pause(),d&&d(N)},Gr=function(){var X=N.deltaX=gu(Zt),le=N.deltaY=gu(qt),V=Math.abs(X)>=i,Z=Math.abs(le)>=i;D&&(V||Z)&&D(N,X,le,Zt,qt),V&&(_&&N.deltaX>0&&_(N),P&&N.deltaX<0&&P(N),S&&S(N),x&&N.deltaX<0!=qe<0&&x(N),qe=N.deltaX,Zt[0]=Zt[1]=Zt[2]=0),Z&&(E&&N.deltaY>0&&E(N),O&&N.deltaY<0&&O(N),C&&C(N),T&&N.deltaY<0!=zt<0&&T(N),zt=N.deltaY,qt[0]=qt[1]=qt[2]=0),(ae||xt)&&(z&&z(N),xt&&(v(N),xt=!1),ae=!1),Xe&&!(Xe=!1)&&be&&be(N),he&&(F(N),he=!1),Le=0},Wi=function(X,le,V){Zt[V]+=X,qt[V]+=le,N._vx.update(X),N._vy.update(le),u?Le||(Le=requestAnimationFrame(Gr)):Gr()},Xi=function(X,le){re&&!He&&(N.axis=He=Math.abs(X)>Math.abs(le)?"x":"y",Xe=!0),He!=="y"&&(Zt[2]+=X,N._vx.update(X,!0)),He!=="x"&&(qt[2]+=le,N._vy.update(le,!0)),u?Le||(Le=requestAnimationFrame(Gr)):Gr()},Yr=function(X){if(!Ae(X,1)){X=_n(X,c);var le=X.clientX,V=X.clientY,Z=le-N.x,W=V-N.y,q=N.isDragging;N.x=le,N.y=V,(q||Math.abs(N.startX-le)>=n||Math.abs(N.startY-V)>=n)&&(v&&(xt=!0),q||(N.isDragging=!0),Xi(Z,W),q||g&&g(N))}},yi=N.onPress=function(K){Ae(K,1)||K&&K.button||(N.axis=He=null,_e.pause(),N.isPressed=!0,K=_n(K),qe=zt=0,N.startX=N.x=K.clientX,N.startY=N.y=K.clientY,N._vx.reset(),N._vy.reset(),ot(A?o:Me,Ut[1],Yr,Wt,!0),N.deltaX=N.deltaY=0,y&&y(N))},ie=N.onRelease=function(K){if(!Ae(K,1)){lt(A?o:Me,Ut[1],Yr,!0);var X=!isNaN(N.y-N.startY),le=N.isDragging,V=le&&(Math.abs(N.x-N.startX)>3||Math.abs(N.y-N.startY)>3),Z=_n(K);!V&&X&&(N._vx.reset(),N._vy.reset(),c&&U&&We.delayedCall(.08,function(){if(wn()-Er>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(Me.createEvent){var W=Me.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Lt,1,Z.screenX,Z.screenY,Z.clientX,Z.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(W)}}})),N.isDragging=N.isGesturing=N.isPressed=!1,d&&le&&!A&&_e.restart(!0),b&&le&&b(N),w&&w(N,V)}},wi=function(X){return X.touches&&X.touches.length>1&&(N.isGesturing=!0)&&R(X,N.isDragging)},Qt=function(){return(N.isGesturing=!1)||I(N)},Jt=function(X){if(!Ae(X)){var le=me(),V=Tt();Wi((le-dr)*H,(V-Xt)*H,1),dr=le,Xt=V,d&&_e.restart(!0)}},er=function(X){if(!Ae(X)){X=_n(X,c),F&&(he=!0);var le=(X.deltaMode===1?l:X.deltaMode===2?Lt.innerHeight:1)*h;Wi(X.deltaX*le,X.deltaY*le,0),d&&!A&&_e.restart(!0)}},bi=function(X){if(!Ae(X)){var le=X.clientX,V=X.clientY,Z=le-N.x,W=V-N.y;N.x=le,N.y=V,ae=!0,d&&_e.restart(!0),(Z||W)&&Xi(Z,W)}},qi=function(X){N.event=X,M(N)},Pr=function(X){N.event=X,L(N)},Bn=function(X){return Ae(X)||_n(X,c)&&j(N)};_e=N._dc=We.delayedCall(f||.25,Hs).pause(),N.deltaX=N.deltaY=0,N._vx=Ka(0,50,!0),N._vy=Ka(0,50,!0),N.scrollX=me,N.scrollY=Tt,N.isDragging=N.isGesturing=N.isPressed=!1,pu(this),N.enable=function(K){return N.isEnabled||(ot(Vr?Me:o,"scroll",Ua),a.indexOf("scroll")>=0&&ot(Vr?Me:o,"scroll",Jt,Wt,Y),a.indexOf("wheel")>=0&&ot(o,"wheel",er,Wt,Y),(a.indexOf("touch")>=0&&du||a.indexOf("pointer")>=0)&&(ot(o,Ut[0],yi,Wt,Y),ot(Me,Ut[2],ie),ot(Me,Ut[3],ie),U&&ot(o,"click",Nn,!0,!0),j&&ot(o,"click",Bn),R&&ot(Me,"gesturestart",wi),I&&ot(Me,"gestureend",Qt),M&&ot(o,ui+"enter",qi),L&&ot(o,ui+"leave",Pr),z&&ot(o,ui+"move",bi)),N.isEnabled=!0,K&&K.type&&yi(K),$&&$(N)),N},N.disable=function(){N.isEnabled&&($i.filter(function(K){return K!==N&&bn(K.target)}).length||lt(Vr?Me:o,"scroll",Ua),N.isPressed&&(N._vx.reset(),N._vy.reset(),lt(A?o:Me,Ut[1],Yr,!0)),lt(Vr?Me:o,"scroll",Jt,Y),lt(o,"wheel",er,Y),lt(o,Ut[0],yi,Y),lt(Me,Ut[2],ie),lt(Me,Ut[3],ie),lt(o,"click",Nn,!0),lt(o,"click",Bn),lt(Me,"gesturestart",wi),lt(Me,"gestureend",Qt),lt(o,ui+"enter",qi),lt(o,ui+"leave",Pr),lt(o,ui+"move",bi),N.isEnabled=N.isPressed=N.isDragging=!1,B&&B(N))},N.kill=N.revert=function(){N.disable();var K=$i.indexOf(N);K>=0&&$i.splice(K,1),_r===N&&(_r=0)},$i.push(N),A&&bn(o)&&(_r=N),N.enable(m)},Vp(s,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),s}();Ce.version="3.12.5",Ce.create=function(s){return new Ce(s)},Ce.register=yu,Ce.getAll=function(){return $i.slice()},Ce.getById=function(s){return $i.filter(function(e){return e.vars.id===s})[0]},hu()&&We.registerPlugin(Ce);/*! 52 * ScrollTrigger 3.12.5 53 * https://gsap.com 54 * 55 * @license Copyright 2008-2024, GreenSock. All rights reserved. 56 * Subject to the terms at https://gsap.com/standard-license or for 57 * Club GSAP members, the agreement issued with that membership. 58 * @author: Jack Doyle, [email protected] 59*/var G,Ni,se,we,Kt,fe,wu,bs,xn,Tn,Sn,_s,et,xs,Za,ct,bu,_u,Bi,xu,Qa,Tu,dt,Ja,Su,Eu,Hr,eo,to,Hi,ro,Ts,io,no,Ss=1,tt=Date.now,so=tt(),Vt=0,En=0,Pu=function(e,t,r){var i=At(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Cu=function(e,t){return t&&(!At(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Yp=function s(){return En&&requestAnimationFrame(s)},Mu=function(){return xs=1},Ou=function(){return xs=0},lr=function(e){return e},Pn=function(e){return Math.round(e*1e5)/1e5||0},ku=function(){return typeof window<"u"},Iu=function(){return G||ku()&&(G=window.gsap)&&G.registerPlugin&&G},ci=function(e){return!!~wu.indexOf(e)},Lu=function(e){return(e==="Height"?ro:se["inner"+e])||Kt["client"+e]||fe["client"+e]},Au=function(e){return Nr(e,"getBoundingClientRect")||(ci(e)?function(){return Fs.width=se.innerWidth,Fs.height=ro,Fs}:function(){return xr(e)})},Wp=function(e,t,r){var i=r.d,n=r.d2,a=r.a;return(a=Nr(e,"getBoundingClientRect"))?function(){return a()[i]}:function(){return(t?Lu(n):e["client"+n])||0}},Xp=function(e,t){return!t||~or.indexOf(e)?Au(e):function(){return Fs}},ur=function(e,t){var r=t.s,i=t.d2,n=t.d,a=t.a;return Math.max(0,(r="scroll"+i)&&(a=Nr(e,r))?a()-Au(e)()[n]:ci(e)?(Kt[r]||fe[r])-Lu(i):e[r]-e["offset"+i])},Es=function(e,t){for(var r=0;r<Bi.length;r+=3)(!t||~t.indexOf(Bi[r+1]))&&e(Bi[r],Bi[r+1],Bi[r+2])},At=function(e){return typeof e=="string"},ft=function(e){return typeof e=="function"},Cn=function(e){return typeof e=="number"},di=function(e){return typeof e=="object"},Mn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},ao=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},ji=Math.abs,Du="left",zu="top",oo="right",lo="bottom",fi="width",pi="height",On="Right",kn="Left",In="Top",Ln="Bottom",Ie="padding",Gt="margin",Vi="Width",uo="Height",ze="px",Yt=function(e){return se.getComputedStyle(e)},qp=function(e){var t=Yt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Ru=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},xr=function(e,t){var r=t&&Yt(e)[Za]!=="matrix(1, 0, 0, 1, 0, 0)"&&G.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},Ps=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Fu=function(e){var t=[],r=e.labels,i=e.duration(),n;for(n in r)t.push(r[n]/i);return t},Up=function(e){return function(t){return G.utils.snap(Fu(e),t)}},co=function(e){var t=G.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return r?function(i,n,a){a===void 0&&(a=.001);var o;if(!n)return t(i);if(n>0){for(i-=a,o=0;o<r.length;o++)if(r[o]>=i)return r[o];return r[o-1]}else for(o=r.length,i+=a;o--;)if(r[o]<=i)return r[o];return r[0]}:function(i,n,a){a===void 0&&(a=.001);var o=t(i);return!n||Math.abs(o-i)<a||o-i<0==n<0?o:t(n<0?i-e:i+e)}},Kp=function(e){return function(t,r){return co(Fu(e))(t,r.direction)}},Cs=function(e,t,r,i){return r.split(",").forEach(function(n){return e(t,n,i)})},Ne=function(e,t,r,i,n){return e.addEventListener(t,r,{passive:!i,capture:!!n}
vendor: 4,953 bytes, line 59
59)},Be=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},Ms=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},$u={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Os={toggleActions:"play",anticipatePin:0},ks={top:0,left:0,center:.5,bottom:1,right:1},Is=function(e,t){if(At(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in ks?ks[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ls=function(e,t,r,i,n,a,o,l){var u=n.startColor,c=n.endColor,d=n.fontSize,f=n.indent,p=n.fontWeight,h=we.createElement("div"),m=ci(r)||Nr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,b=m?fe:r,v=e.indexOf("start")!==-1,y=v?u:c,w="border-color:"+y+";font-size:"+d+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((g||l)&&m?"fixed;":"absolute;"),(g||l||!m)&&(w+=(i===De?oo:lo)+":"+(a+parseFloat(f))+"px;"),o&&(w+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),h._isStart=v,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=w,h.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(h,b.children[0]):b.appendChild(h),h._offset=h["offset"+i.op.d2],As(h,0,i,v),h},As=function(e,t,r,i){var n={display:"block"},a=r[i?"os2":"p2"],o=r[i?"p2":"os2"];e._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+a+Vi]=1,n["border"+o+Vi]=0,n[r.p]=t+"px",G.set(e,n)},Q=[],fo={},An,Nu=function(){return tt()-Vt>34&&(An||(An=requestAnimationFrame(Tr)))},Gi=function(){(!dt||!dt.isPressed||dt.startX>fe.clientWidth)&&(ee.cache++,dt?An||(An=requestAnimationFrame(Tr)):Tr(),Vt||mi("scrollStart"),Vt=tt())},po=function(){Eu=se.innerWidth,Su=se.innerHeight},Dn=function(){ee.cache++,!et&&!Tu&&!we.fullscreenElement&&!we.webkitFullscreenElement&&(!Ja||Eu!==se.innerWidth||Math.abs(se.innerHeight-Su)>se.innerHeight*.25)&&bs.restart(!0)},hi={},Zp=[],Bu=function s(){return Be(te,"scrollEnd",s)||vi(!0)},mi=function(e){return hi[e]&&hi[e].map(function(t){return t()})||Zp},Dt=[],Hu=function(e){for(var t=0;t<Dt.length;t+=5)(!e||Dt[t+4]&&Dt[t+4].query===e)&&(Dt[t].style.cssText=Dt[t+1],Dt[t].getBBox&&Dt[t].setAttribute("transform",Dt[t+2]||""),Dt[t+3].uncache=1)},ho=function(e,t){var r;for(ct=0;ct<Q.length;ct++)r=Q[ct],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));Ts=!0,t&&Hu(t),t||mi("revert")},ju=function(e,t){ee.cache++,(t||!pt)&&ee.forEach(function(r){return ft(r)&&r.cacheID++&&(r.rec=0)}),At(e)&&(se.history.scrollRestoration=to=e)},pt,gi=0,Vu,Qp=function(){if(Vu!==gi){var e=Vu=gi;requestAnimationFrame(function(){return e===gi&&vi(!0)})}},Gu=function(){fe.appendChild(Hi),ro=!dt&&Hi.offsetHeight||se.innerHeight,fe.removeChild(Hi)},Yu=function(e){return xn(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},vi=function(e,t){if(Vt&&!e&&!Ts){Ne(te,"scrollEnd",Bu);return}Gu(),pt=te.isRefreshing=!0,ee.forEach(function(i){return ft(i)&&++i.cacheID&&(i.rec=i())});var r=mi("refreshInit");xu&&te.sort(),t||ho(),ee.forEach(function(i){ft(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),Q.slice(0).forEach(function(i){return i.refresh()}),Ts=!1,Q.forEach(function(i){if(i._subPinOffset&&i.pin){var n=i.vars.horizontal?"offsetWidth":"offsetHeight",a=i.pin[n];i.revert(!0,1),i.adjustPinSpacing(i.pin[n]-a),i.refresh()}}),io=1,Yu(!0),Q.forEach(function(i){var n=ur(i.scroller,i._dir),a=i.vars.end==="max"||i._endClamp&&i.end>n,o=i._startClamp&&i.start>=n;(a||o)&&i.setPositions(o?n-1:i.start,a?Math.max(o?n:i.start+1,n):i.end,!0)}),Yu(!1),io=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),ee.forEach(function(i){ft(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),ju(to,1),bs.pause(),gi++,pt=2,Tr(2),Q.forEach(function(i){return ft(i.vars.onRefresh)&&i.vars.onRefresh(i)}),pt=te.isRefreshing=!1,mi("refresh")},mo=0,Ds=1,zn,Tr=function(e){if(e===2||!pt&&!Ts){te.isUpdating=!0,zn&&zn.update(0);var t=Q.length,r=tt(),i=r-so>=50,n=t&&Q[0].scroll();if(Ds=mo>n?-1:1,pt||(mo=n),i&&(Vt&&!xs&&r-Vt>200&&(Vt=0,mi("scrollEnd")),Sn=so,so=r),Ds<0){for(ct=t;ct-->0;)Q[ct]&&Q[ct].update(0,i);Ds=1}else for(ct=0;ct<t;ct++)Q[ct]&&Q[ct].update(0,i);te.isUpdating=!1}An=0},go=[Du,zu,lo,oo,Gt+Ln,Gt+On,Gt+In,Gt+kn,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],zs=go.concat([fi,pi,"boxSizing","max"+Vi,"max"+uo,"position",Gt,Ie,Ie+In,Ie+On,Ie+Ln,Ie+kn]),Jp=function(e,t,r){Yi(r);var i=e._gsap;if(i.spacerIsNative)Yi(i.spacerState);else if(e._gsap.swappedIn){var n=t.parentNode;n&&(n.insertBefore(e,t),n.removeChild(t))}
vendor: 23,618 bytes, line 59
59e._gsap.swappedIn=!1},vo=function(e,t,r,i){if(!e._gsap.swappedIn){for(var n=go.length,a=t.style,o=e.style,l;n--;)l=go[n],a[l]=r[l];a.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(a.display="inline-block"),o[lo]=o[oo]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[fi]=Ps(e,ut)+ze,a[pi]=Ps(e,De)+ze,a[Ie]=o[Gt]=o[zu]=o[Du]="0",Yi(i),o[fi]=o["max"+Vi]=r[fi],o[pi]=o["max"+uo]=r[pi],o[Ie]=r[Ie],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},eh=/([A-Z])/g,Yi=function(e){if(e){var t=e.t.style,r=e.length,i=0,n,a;for((e.t._gsap||G.core.getCache(e.t)).uncache=1;i<r;i+=2)a=e[i+1],n=e[i],a?t[n]=a:t[n]&&t.removeProperty(n.replace(eh,"-$1").toLowerCase())}},Rs=function(e){for(var t=zs.length,r=e.style,i=[],n=0;n<t;n++)i.push(zs[n],r[zs[n]]);return i.t=e,i},th=function(e,t,r){for(var i=[],n=e.length,a=r?8:0,o;a<n;a+=2)o=e[a],i.push(o,o in t?t[o]:e[a+1]);return i.t=e.t,i},Fs={left:0,top:0},Wu=function(e,t,r,i,n,a,o,l,u,c,d,f,p,h){ft(e)&&(e=e(l)),At(e)&&e.substr(0,3)==="max"&&(e=f+(e.charAt(4)==="="?Is("0"+e.substr(3),r):0));var m=p?p.time():0,g,b,v;if(p&&p.seek(0),isNaN(e)||(e=+e),Cn(e))p&&(e=G.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,f,e)),o&&As(o,r,i,!0);else{ft(t)&&(t=t(l));var y=(e||"0").split(" "),w,_,P,O;v=_t(t,l)||fe,w=xr(v)||{},(!w||!w.left&&!w.top)&&Yt(v).display==="none"&&(O=v.style.display,v.style.display="block",w=xr(v),O?v.style.display=O:v.style.removeProperty("display")),_=Is(y[0],w[i.d]),P=Is(y[1]||"0",r),e=w[i.p]-u[i.p]-c+_+n-P,o&&As(o,P,i,r-P<20||o._isStart&&P>20),r-=r-P}if(h&&(l[h]=e||-.001,e<0&&(e=0)),a){var E=e+r,S=a._isStart;g="scroll"+i.d2,As(a,E,i,S&&E>20||!S&&(d?Math.max(fe[g],Kt[g]):a.parentNode[g])<=E+1),d&&(u=xr(o),d&&(a.style[i.op.p]=u[i.op.p]-i.op.m-a._offset+ze))}return p&&v&&(g=xr(v),p.seek(f),b=xr(v),p._caScrollDist=g[i.p]-b[i.p],e=e/p._caScrollDist*f),p&&p.seek(m),p?e:Math.round(e)},rh=/(webkit|moz|length|cssText|inset)/i,Xu=function(e,t,r,i){if(e.parentNode!==t){var n=e.style,a,o;if(t===fe){e._stOrig=n.cssText,o=Yt(e);for(a in o)!+a&&!rh.test(a)&&o[a]&&typeof n[a]=="string"&&a!=="0"&&(n[a]=o[a]);n.top=r,n.left=i}else n.cssText=e._stOrig;G.core.getCache(e).uncache=1,t.appendChild(e)}},qu=function(e,t,r){var i=t,n=i;return function(a){var o=Math.round(e());return o!==i&&o!==n&&Math.abs(o-i)>3&&Math.abs(o-n)>3&&(a=o,r&&r()),n=i,i=a,a}},$s=function(e,t,r){var i={};i[t.p]="+="+r,G.set(e,i)},Uu=function(e,t){var r=Br(e,t),i="_scroll"+t.p2,n=function a(o,l,u,c,d){var f=a.tween,p=l.onComplete,h={};u=u||r();var m=qu(r,u,function(){f.kill(),a.tween=0});return d=c&&d||0,c=c||o-u,f&&f.kill(),l[i]=o,l.inherit=!1,l.modifiers=h,h[i]=function(){return m(u+c*f.ratio+d*f.ratio*f.ratio)},l.onUpdate=function(){ee.cache++,a.tween&&Tr()},l.onComplete=function(){a.tween=0,p&&p.call(f)},f=a.tween=G.to(e,l),f};return e[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Ne(e,"wheel",r.wheelHandler),te.isTouch&&Ne(e,"touchmove",r.wheelHandler),n},te=function(){function s(t,r){Ni||s.register(G)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),eo(this),this.init(t,r)}var e=s.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!En){this.update=this.refresh=this.kill=lr;return}r=Ru(At(r)||Cn(r)||r.nodeType?{trigger:r}:r,Os);var n=r,a=n.onUpdate,o=n.toggleClass,l=n.id,u=n.onToggle,c=n.onRefresh,d=n.scrub,f=n.trigger,p=n.pin,h=n.pinSpacing,m=n.invalidateOnRefresh,g=n.anticipatePin,b=n.onScrubComplete,v=n.onSnapComplete,y=n.once,w=n.snap,_=n.pinReparent,P=n.pinSpacer,O=n.containerAnimation,E=n.fastScrollEnd,S=n.preventOverlaps,C=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ut:De,D=!d&&d!==0,x=_t(r.scroller||se),T=G.core.getCache(x),M=ci(x),L=("pinType"in r?r.pinType:Nr(x,"pinType")||M&&"fixed")==="fixed",z=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],k=D&&r.toggleActions.split(" "),A="markers"in r?r.markers:Os.markers,R=M?0:parseFloat(Yt(x)["border"+C.p2+Vi])||0,I=this,F=r.onRefreshInit&&function(){return r.onRefreshInit(I)},$=Wp(x,M,C),B=Xp(x,M),j=0,H=0,Y=0,U=Br(x,C),re,be,Le,_e,xt,ae,he,Xe,He,N,qe,zt,Wt,me,Tt,dr,Xt,je,Vr,Me,Zt,qt,Er,Nn,Ae,Hs,Gr,Wi,Xi,Yr,yi,ie,wi,Qt,Jt,er,bi,qi,Pr;if(I._startClamp=I._endClamp=!1,I._dir=C,g*=45,I.scroller=x,I.scroll=O?O.time.bind(O):U,_e=U(),I.vars=r,i=i||r.animation,"refreshPriority"in r&&(xu=1,r.refreshPriority===-9999&&(zn=I)),T.tweenScroll=T.tweenScroll||{top:Uu(x,De),left:Uu(x,ut)},I.tweenTo=re=T.tweenScroll[C.p],I.scrubDuration=function(V){wi=Cn(V)&&V,wi?ie?ie.duration(V):ie=G.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:wi,paused:!0,onComplete:function(){return b&&b(I)}}):(ie&&ie.progress(1).kill(),ie=0)},i&&(i.vars.lazy=!1,i._initted&&!I.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),I.animation=i.pause(),i.scrollTrigger=I,I.scrubDuration(d),Yr=0,l||(l=i.vars.id)),w&&((!di(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in fe.style&&G.set(M?[fe,Kt]:x,{scrollBehavior:"auto"}),ee.forEach(function(V){return ft(V)&&V.target===(M?we.scrollingElement||Kt:x)&&(V.smooth=!1)}),Le=ft(w.snapTo)?w.snapTo:w.snapTo==="labels"?Up(i):w.snapTo==="labelsDirectional"?Kp(i):w.directional!==!1?function(V,Z){return co(w.snapTo)(V,tt()-H<500?0:Z.direction)}:G.utils.snap(w.snapTo),Qt=w.duration||{min:.1,max:2},Qt=di(Qt)?Tn(Qt.min,Qt.max):Tn(Qt,Qt),Jt=G.delayedCall(w.delay||wi/2||.1,function(){var V=U(),Z=tt()-H<500,W=re.tween;if((Z||Math.abs(I.getVelocity())<10)&&!W&&!xs&&j!==V){var q=(V-ae)/me,Ve=i&&!D?i.totalProgress():q,oe=Z?0:(Ve-yi)/(tt()-Sn)*1e3||0,Oe=G.utils.clamp(-q,1-q,ji(oe/2)*oe/.185),rt=q+(w.inertia===!1?0:Oe),Ee,ge,ce=w,tr=ce.onStart,xe=ce.onInterrupt,Rt=ce.onComplete;if(Ee=Le(rt,I),Cn(Ee)||(Ee=rt),ge=Math.round(ae+Ee*me),V<=he&&V>=ae&&ge!==V){if(W&&!W._initted&&W.data<=ji(ge-V))return;w.inertia===!1&&(Oe=Ee-q),re(ge,{duration:Qt(ji(Math.max(ji(rt-Ve),ji(Ee-Ve))*.185/oe/.05||0)),ease:w.ease||"power3",data:ji(ge-V),onInterrupt:function(){return Jt.restart(!0)&&xe&&xe(I)},onComplete:function(){I.update(),j=U(),i&&(ie?ie.resetTo("totalProgress",Ee,i._tTime/i._tDur):i.progress(Ee)),Yr=yi=i&&!D?i.totalProgress():I.progress,v&&v(I),Rt&&Rt(I)}},V,Oe*me,ge-V-Oe*me),tr&&tr(I,re.tween)}}else I.isActive&&j!==V&&Jt.restart(!0)}).pause()),l&&(fo[l]=I),f=I.trigger=_t(f||p!==!0&&p),Pr=f&&f._gsap&&f._gsap.stRevert,Pr&&(Pr=Pr(I)),p=p===!0?f:_t(p),At(o)&&(o={targets:f,className:o}),p&&(h===!1||h===Gt||(h=!h&&p.parentNode&&p.parentNode.style&&Yt(p.parentNode).display==="flex"?!1:Ie),I.pin=p,be=G.core.getCache(p),be.spacer?Tt=be.pinState:(P&&(P=_t(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),be.spacerIsNative=!!P,P&&(be.spacerState=Rs(P))),be.spacer=je=P||we.createElement("div"),je.classList.add("pin-spacer"),l&&je.classList.add("pin-spacer-"+l),be.pinState=Tt=Rs(p)),r.force3D!==!1&&G.set(p,{force3D:!0}),I.spacer=je=be.spacer,Xi=Yt(p),Nn=Xi[h+C.os2],Me=G.getProperty(p),Zt=G.quickSetter(p,C.a,ze),vo(p,je,Xi),Xt=Rs(p)),A){zt=di(A)?Ru(A,$u):$u,N=Ls("scroller-start",l,x,C,zt,0),qe=Ls("scroller-end",l,x,C,zt,0,N),Vr=N["offset"+C.op.d2];var Bn=_t(Nr(x,"content")||x);Xe=this.markerStart=Ls("start",l,Bn,C,zt,Vr,0,O),He=this.markerEnd=Ls("end",l,Bn,C,zt,Vr,0,O),O&&(qi=G.quickSetter([Xe,He],C.a,ze)),!L&&!(or.length&&Nr(x,"fixedMarkers")===!0)&&(qp(M?fe:x),G.set([N,qe],{force3D:!0}),Hs=G.quickSetter(N,C.a,ze),Wi=G.quickSetter(qe,C.a,ze))}if(O){var K=O.vars.onUpdate,X=O.vars.onUpdateParams;O.eventCallback("onUpdate",function(){I.update(0,0,1),K&&K.apply(O,X||[])})}if(I.previous=function(){return Q[Q.indexOf(I)-1]},I.next=function(){return Q[Q.indexOf(I)+1]},I.revert=function(V,Z){if(!Z)return I.kill(!0);var W=V!==!1||!I.enabled,q=et;W!==I.isReverted&&(W&&(er=Math.max(U(),I.scroll.rec||0),Y=I.progress,bi=i&&i.progress()),Xe&&[Xe,He,N,qe].forEach(function(Ve){return Ve.style.display=W?"none":"block"}),W&&(et=I,I.update(W)),p&&(!_||!I.isActive)&&(W?Jp(p,je,Tt):vo(p,je,Yt(p),Ae)),W||I.update(W),et=q,I.isReverted=W)},I.refresh=function(V,Z,W,q){if(!((et||!I.enabled)&&!Z)){if(p&&V&&Vt){Ne(s,"scrollEnd",Bu);return}!pt&&F&&F(I),et=I,re.tween&&!W&&(re.tween.kill(),re.tween=0),ie&&ie.pause(),m&&i&&i.revert({kill:!1}).invalidate(),I.isReverted||I.revert(!0,!0),I._subPinOffset=!1;var Ve=$(),oe=B(),Oe=O?O.duration():ur(x,C),rt=me<=.01,Ee=0,ge=q||0,ce=di(W)?W.end:r.end,tr=r.endTrigger||f,xe=di(W)?W.start:r.start||(r.start===0||!f?0:p?"0 0":"0 100%"),Rt=I.pinnedContainer=r.pinnedContainer&&_t(r.pinnedContainer,I),fr=f&&Math.max(0,Q.indexOf(I))||0,Ue=fr,Ke,it,_i,js,nt,Re,pr,bo,dc,Hn,hr,jn,Vs;for(A&&di(W)&&(jn=G.getProperty(N,C.p),Vs=G.getProperty(qe,C.p));Ue--;)Re=Q[Ue],Re.end||Re.refresh(0,1)||(et=I),pr=Re.pin,pr&&(pr===f||pr===p||pr===Rt)&&!Re.isReverted&&(Hn||(Hn=[]),Hn.unshift(Re),Re.revert(!0,!0)),Re!==Q[Ue]&&(fr--,Ue--);for(ft(xe)&&(xe=xe(I)),xe=Pu(xe,"start",I),ae=Wu(xe,f,Ve,C,U(),Xe,N,I,oe,R,L,Oe,O,I._startClamp&&"_startClamp")||(p?-.001:0),ft(ce)&&(ce=ce(I)),At(ce)&&!ce.indexOf("+=")&&(~ce.indexOf(" ")?ce=(At(xe)?xe.split(" ")[0]:"")+ce:(Ee=Is(ce.substr(2),Ve),ce=At(xe)?xe:(O?G.utils.mapRange(0,O.duration(),O.scrollTrigger.start,O.scrollTrigger.end,ae):ae)+Ee,tr=f)),ce=Pu(ce,"end",I),he=Math.max(ae,Wu(ce||(tr?"100% 0":Oe),tr,Ve,C,U()+Ee,He,qe,I,oe,R,L,Oe,O,I._endClamp&&"_endClamp"))||-.001,Ee=0,Ue=fr;Ue--;)Re=Q[Ue],pr=Re.pin,pr&&Re.start-Re._pinPush<=ae&&!O&&Re.end>0&&(Ke=Re.end-(I._startClamp?Math.max(0,Re.start):Re.start),(pr===f&&Re.start-Re._pinPush<ae||pr===Rt)&&isNaN(xe)&&(Ee+=Ke*(1-Re.progress)),pr===p&&(ge+=Ke));if(ae+=Ee,he+=Ee,I._startClamp&&(I._startClamp+=Ee),I._endClamp&&!pt&&(I._endClamp=he||-.001,he=Math.min(he,ur(x,C))),me=he-ae||(ae-=.01)&&.001,rt&&(Y=G.utils.clamp(0,1,G.utils.normalize(ae,he,er))),I._pinPush=ge,Xe&&Ee&&(Ke={},Ke[C.a]="+="+Ee,Rt&&(Ke[C.p]="-="+U()),G.set([Xe,He],Ke)),p&&!(io&&I.end>=ur(x,C)))Ke=Yt(p),js=C===De,_i=U(),qt=parseFloat(Me(C.a))+ge,!Oe&&he>1&&(hr=(M?we.scrollingElement||Kt:x).style,hr={style:hr,value:hr["overflow"+C.a.toUpperCase()]},M&&Yt(fe)["overflow"+C.a.toUpperCase()]!=="scroll"&&(hr.style["overflow"+C.a.toUpperCase()]="scroll")),vo(p,je,Ke),Xt=Rs(p),it=xr(p,!0),bo=L&&Br(x,js?ut:De)(),h?(Ae=[h+C.os2,me+ge+ze],Ae.t=je,Ue=h===Ie?Ps(p,C)+me+ge:0,Ue&&(Ae.push(C.d,Ue+ze),je.style.flexBasis!=="auto"&&(je.style.flexBasis=Ue+ze)),Yi(Ae),Rt&&Q.forEach(function(Vn){Vn.pin===Rt&&Vn.vars.pinSpacing!==!1&&(Vn._subPinOffset=!0)}),L&&U(er)):(Ue=Ps(p,C),Ue&&je.style.flexBasis!=="auto"&&(je.style.flexBasis=Ue+ze)),L&&(nt={top:it.top+(js?_i-ae:bo)+ze,left:it.left+(js?bo:_i-ae)+ze,boxSizing:"border-box",position:"fixed"},nt[fi]=nt["max"+Vi]=Math.ceil(it.width)+ze,nt[pi]=nt["max"+uo]=Math.ceil(it.height)+ze,nt[Gt]=nt[Gt+In]=nt[Gt+On]=nt[Gt+Ln]=nt[Gt+kn]="0",nt[Ie]=Ke[Ie],nt[Ie+In]=Ke[Ie+In],nt[Ie+On]=Ke[Ie+On],nt[Ie+Ln]=Ke[Ie+Ln],nt[Ie+kn]=Ke[Ie+kn],dr=th(Tt,nt,_),pt&&U(0)),i?(dc=i._initted,Qa(1),i.render(i.duration(),!0,!0),Er=Me(C.a)-qt+me+ge,Gr=Math.abs(me-Er)>1,L&&Gr&&dr.splice(dr.length-2,2),i.render(0,!0,!0),dc||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Qa(0)):Er=me,hr&&(hr.value?hr.style["overflow"+C.a.toUpperCase()]=hr.value:hr.style.removeProperty("overflow-"+C.a));else if(f&&U()&&!O)for(it=f.parentNode;it&&it!==fe;)it._pinOffset&&(ae-=it._pinOffset,he-=it._pinOffset),it=it.parentNode;Hn&&Hn.forEach(function(Vn){return Vn.revert(!1,!0)}),I.start=ae,I.end=he,_e=xt=pt?er:U(),!O&&!pt&&(_e<er&&U(er),I.scroll.rec=0),I.revert(!1,!0),H=tt(),Jt&&(j=-1,Jt.restart(!0)),et=0,i&&D&&(i._initted||bi)&&i.progress()!==bi&&i.progress(bi||0,!0).render(i.time(),!0,!0),(rt||Y!==I.progress||O||m)&&(i&&!D&&i.totalProgress(O&&ae<-.001&&!Y?G.utils.normalize(ae,he,0):Y,!0),I.progress=rt||(_e-ae)/me===Y?0:Y),p&&h&&(je._pinOffset=Math.round(I.progress*Er)),ie&&ie.invalidate(),isNaN(jn)||(jn-=G.getProperty(N,C.p),Vs-=G.getProperty(qe,C.p),$s(N,C,jn),$s(Xe,C,jn-(q||0)),$s(qe,C,Vs),$s(He,C,Vs-(q||0))),rt&&!pt&&I.update(),c&&!pt&&!Wt&&(Wt=!0,c(I),Wt=!1)}},I.getVelocity=function(){return(U()-xt)/(tt()-Sn)*1e3||0},I.endAnimation=function(){Mn(I.callbackAnimation),i&&(ie?ie.progress(1):i.paused()?D||Mn(i,I.direction<0,1):Mn(i,i.reversed()))},I.labelToScroll=function(V){return i&&i.labels&&(ae||I.refresh()||ae)+i.labels[V]/i.duration()*me||0},I.getTrailing=function(V){var Z=Q.indexOf(I),W=I.direction>0?Q.slice(0,Z).reverse():Q.slice(Z+1);return(At(V)?W.filter(function(q){return q.vars.preventOverlaps===V}):W).filter(function(q){return I.direction>0?q.end<=ae:q.start>=he})},I.update=function(V,Z,W){if(!(O&&!W&&!V)){var q=pt===!0?er:I.scroll(),Ve=V?0:(q-ae)/me,oe=Ve<0?0:Ve>1?1:Ve||0,Oe=I.progress,rt,Ee,ge,ce,tr,xe,Rt,fr;if(Z&&(xt=_e,_e=O?U():q,w&&(yi=Yr,Yr=i&&!D?i.totalProgress():oe)),g&&p&&!et&&!Ss&&Vt&&(!oe&&ae<q+(q-xt)/(tt()-Sn)*g?oe=1e-4:oe===1&&he>q+(q-xt)/(tt()-Sn)*g&&(oe=.9999)),oe!==Oe&&I.enabled){if(rt=I.isActive=!!oe&&oe<1,Ee=!!Oe&&Oe<1,xe=rt!==Ee,tr=xe||!!oe!=!!Oe,I.direction=oe>Oe?1:-1,I.progress=oe,tr&&!et&&(ge=oe&&!Oe?0:oe===1?1:Oe===1?2:3,D&&(ce=!xe&&k[ge+1]!=="none"&&k[ge+1]||k[ge],fr=i&&(ce==="complete"||ce==="reset"||ce in i))),S&&(xe||fr)&&(fr||d||!i)&&(ft(S)?S(I):I.getTrailing(S).forEach(function(_i){return _i.endAnimation()})),D||(ie&&!et&&!Ss?(ie._dp._time-ie._start!==ie._time&&ie.render(ie._dp._time-ie._start),ie.resetTo?ie.resetTo("totalProgress",oe,i._tTime/i._tDur):(ie.vars.totalProgress=oe,ie.invalidate().restart())):i&&i.totalProgress(oe,!!(et&&(H||V)))),p){if(V&&h&&(je.style[h+C.os2]=Nn),!L)Zt(Pn(qt+Er*oe));else if(tr){if(Rt=!V&&oe>Oe&&he+1>q&&q+1>=ur(x,C),_)if(!V&&(rt||Rt)){var Ue=xr(p,!0),Ke=q-ae;Xu(p,fe,Ue.top+(C===De?Ke:0)+ze,Ue.left+(C===De?0:Ke)+ze)}else Xu(p,je);Yi(rt||Rt?dr:Xt),Gr&&oe<1&&rt||Zt(qt+(oe===1&&!Rt?Er:0))}}w&&!re.tween&&!et&&!Ss&&Jt.restart(!0),o&&(xe||y&&oe&&(oe<1||!no))&&xn(o.targets).forEach(function(_i){return _i.classList[rt||y?"add":"remove"](o.className)}),a&&!D&&!V&&a(I),tr&&!et?(D&&(fr&&(ce==="complete"?i.pause().totalProgress(1):ce==="reset"?i.restart(!0).pause():ce==="restart"?i.restart(!0):i[ce]()),a&&a(I)),(xe||!no)&&(u&&xe&&ao(I,u),z[ge]&&ao(I,z[ge]),y&&(oe===1?I.kill(!1,1):z[ge]=0),xe||(ge=oe===1?1:3,z[ge]&&ao(I,z[ge]))),E&&!rt&&Math.abs(I.getVelocity())>(Cn(E)?E:2500)&&(Mn(I.callbackAnimation),ie?ie.progress(1):Mn(i,ce==="reverse"?1:!oe,1))):D&&a&&!et&&a(I)}if(Wi){var it=O?q/O.duration()*(O._caScrollDist||0):q;Hs(it+(N._isFlipped?1:0)),Wi(it)}qi&&qi(-q/O.duration()*(O._caScrollDist||0))}},I.enable=function(V,Z){I.enabled||(I.enabled=!0,Ne(x,"resize",Dn),M||Ne(x,"scroll",Gi),F&&Ne(s,"refreshInit",F),V!==!1&&(I.progress=Y=0,_e=xt=j=U()),Z!==!1&&I.refresh())},I.getTween=function(V){return V&&re?re.tween:ie},I.setPositions=function(V,Z,W,q){if(O){var Ve=O.scrollTrigger,oe=O.duration(),Oe=Ve.end-Ve.start;V=Ve.start+Oe*V/oe,Z=Ve.start+Oe*Z/oe}I.refresh(!1,!1,{start:Cu(V,W&&!!I._startClamp),end:Cu(Z,W&&!!I._endClamp)},q),I.update()},I.adjustPinSpacing=function(V){if(Ae&&V){var Z=Ae.indexOf(C.d)+1;Ae[Z]=parseFloat(Ae[Z])+V+ze,Ae[1]=parseFloat(Ae[1])+V+ze,Yi(Ae)}},I.disable=function(V,Z){if(I.enabled&&(V!==!1&&I.revert(!0,!0),I.enabled=I.isActive=!1,Z||ie&&ie.pause(),er=0,be&&(be.uncache=1),F&&Be(s,"refreshInit",F),Jt&&(Jt.pause(),re.tween&&re.tween.kill()&&(re.tween=0)),!M)){for(var W=Q.length;W--;)if(Q[W].scroller===x&&Q[W]!==I)return;Be(x,"resize",Dn),M||Be(x,"scroll",Gi)}},I.kill=function(V,Z){I.disable(V,Z),ie&&!Z&&ie.kill(),l&&delete fo[l];var W=Q.indexOf(I);W>=0&&Q.splice(W,1),W===ct&&Ds>0&&ct--,W=0,Q.forEach(function(q){return q.scroller===I.scroller&&(W=1)}),W||pt||(I.scroll.rec=0),i&&(i.scrollTrigger=null,V&&i.revert({kill:!1}),Z||i.kill()),Xe&&[Xe,He,N,qe].forEach(function(q){return q.parentNode&&q.parentNode.removeChild(q)}),zn===I&&(zn=0),p&&(be&&(be.uncache=1),W=0,Q.forEach(function(q){return q.pin===p&&W++}),W||(be.spacer=0)),r.onKill&&r.onKill(I)},Q.push(I),I.enable(!1,!1),Pr&&Pr(I),i&&i.add&&!me){var le=I.update;I.update=function(){I.update=le,ae||he||I.refresh()},G.delayedCall(.01,I.update),me=.01,ae=he=0}else I.refresh();p&&Qp()},s.register=function(r){return Ni||(G=r||Iu(),ku()&&window.document&&s.enable(),Ni=En),Ni},s.defaults=function(r){if(r)for(var i in r)Os[i]=r[i];return Os},s.disable=function(r,i){En=0,Q.forEach(function(a){return a[i?"kill":"disable"](r)}),Be(se,"wheel",Gi),Be(we,"scroll",Gi),clearInterval(_s),Be(we,"touchcancel",lr),Be(fe,"touchstart",lr),Cs(Be,we,"pointerdown,touchstart,mousedown",Mu),Cs(Be,we,"pointerup,touchend,mouseup",Ou),bs.kill(),Es(Be);for(var n=0;n<ee.length;n+=3)Ms(Be,ee[n],ee[n+1]),Ms(Be,ee[n],ee[n+2])},s.enable=function(){if(se=window,we=document,Kt=we.documentElement,fe=we.body,G&&(xn=G.utils.toArray,Tn=G.utils.clamp,eo=G.core.context||lr,Qa=G.core.suppressOverwrites||lr,to=se.history.scrollRestoration||"auto",mo=se.pageYOffset,G.core.globals("ScrollTrigger",s),fe)){En=1,Hi=document.createElement("div"),Hi.style.height="100vh",Hi.style.position="absolute",Gu(),Yp(),Ce.register(G),s.isTouch=Ce.isTouch,Hr=Ce.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ja=Ce.isTouch===1,Ne(se,"wheel",Gi),wu=[se,we,Kt,fe],G.matchMedia?(s.matchMedia=function(l){var u=G.matchMedia(),c;for(c in l)u.add(c,l[c]);return u},G.addEventListener("matchMediaInit",function(){return ho()}),G.addEventListener("matchMediaRevert",function(){return Hu()}),G.addEventListener("matchMedia",function(){vi(0,1),mi("matchMedia")}),G.matchMedia("(orientation: portrait)",function(){return po(),po})):console.warn("Requires GSAP 3.11.0 or later"),po(),Ne(we,"scroll",Gi);var r=fe.style,i=r.borderTopStyle,n=G.core.Animation.prototype,a,o;for(n.revert||Object.defineProperty(n,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",a=xr(fe),De.m=Math.round(a.top+De.sc())||0,ut.m=Math.round(a.left+ut.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),_s=setInterval(Nu,250),G.delayedCall(.5,function(){return Ss=0}),Ne(we,"touchcancel",lr),Ne(fe,"touchstart",lr),Cs(Ne,we,"pointerdown,touchstart,mousedown",Mu),Cs(Ne,we,"pointerup,touchend,mouseup",Ou),Za=G.utils.checkPrefix("transform"),zs.push(Za),Ni=tt(),bs=G.delayedCall(.2,vi).pause(),Bi=[we,"visibilitychange",function(){var l=se.innerWidth,u=se.innerHeight;we.hidden?(bu=l,_u=u):(bu!==l||_u!==u)&&Dn()},we,"DOMContentLoaded",vi,se,"load",vi,se,"resize",Dn],Es(Ne),Q.forEach(function(l){return l.enable(0,1)}),o=0;o<ee.length;o+=3)Ms(Be,ee[o],ee[o+1]),Ms(Be,ee[o],ee[o+2])}},s.config=function(r){"limitCallbacks"in r&&(no=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(_s)||(_s=i)&&setInterval(Nu,i),"ignoreMobileResize"in r&&(Ja=s.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Es(Be)||Es(Ne,r.autoRefreshEvents||"none"),Tu=(r.autoRefreshEvents+"").indexOf("resize")===-1)},s.scrollerProxy=function(r,i){var n=_t(r),a=ee.indexOf(n),o=ci(n);~a&&ee.splice(a,o?6:2),i&&(o?or.unshift(se,i,fe,i,Kt,i):or.unshift(n,i))},s.clearMatchMedia=function(r){Q.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},s.isInViewport=function(r,i,n){var a=(At(r)?_t(r):r).getBoundingClientRect(),o=a[n?fi:pi]*i||0;return n?a.right-o>0&&a.left+o<se.innerWidth:a.bottom-o>0&&a.top+o<se.innerHeight},s.positionInViewport=function(r,i,n){At(r)&&(r=_t(r));var a=r.getBoundingClientRect(),o=a[n?fi:pi],l=i==null?o/2:i in ks?ks[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(a.left+l)/se.innerWidth:(a.top+l)/se.innerHeight},s.killAll=function(r){if(Q.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),r!==!0){var i=hi.killAll||[];hi={},i.forEach(function(n){return n()})}},s}();te.version="3.12.5",te.saveStyles=function(s){return s?xn(s).forEach(function(e){if(e&&e.style){var t=Dt.indexOf(e);t>=0&&Dt.splice(t,5),Dt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),G.core.getCache(e),eo())}}):Dt},te.revert=function(s,e){return ho(!s,e)},te.create=function(s,e){return new te(s,e)},te.refresh=function(s){return s?Dn():(Ni||te.register())&&vi(!0)},te.update=function(s){return++ee.cache&&Tr(s===!0?2:0)},te.clearScrollMemory=ju,te.maxScroll=function(s,e){return ur(s,e?ut:De)},te.getScrollFunc=function(s,e){return Br(_t(s),e?ut:De)},te.getById=function(s){return fo[s]},te.getAll=function(){return Q.filter(function(s){return s.vars.id!=="ScrollSmoother"})},te.isScrolling=function(){return!!Vt},te.snapDirectional=co,te.addEventListener=function(s,e){var t=hi[s]||(hi[s]=[]);~t.indexOf(e)||t.push(e)},te.removeEventListener=function(s,e){var t=hi[s],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)},te.batch=function(s,e){var t=[],r={},i=e.interval||.016,n=e.batchMax||1e9,a=function(u,c){var d=[],f=[],p=G.delayedCall(i,function(){c(d,f),d=[],f=[]}).pause();return function(h){d.length||p.restart(!0),d.push(h.trigger),f.push(h),n<=d.length&&p.progress(1)}},o;for(o in e)r[o]=o.substr(0,2)==="on"&&ft(e[o])&&o!=="onRefreshInit"?a(o,e[o]):e[o];return ft(n)&&(n=n(),Ne(te,"refresh",function(){return n=e.batchMax()})),xn(s).forEach(function(l){var u={};for(o in r)u[o]=r[o];u.trigger=l,t.push(te.create(u))}),t};var Ku=function(e,t,r,i){return t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1},yo=function s(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Ce.isTouch?" pinch-zoom":""):"none",e===Kt&&s(fe,t)},Ns={auto:1,scroll:1},ih=function(e){var t=e.event,r=e.target,i=e.axis,n=(t.changedTouches?t.changedTouches[0]:t).target,a=n._gsap||G.core.getCache(n),o=tt(),l;if(!a._isScrollT||o-a._isScrollT>2e3){for(;n&&n!==fe&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Ns[(l=Yt(n)).overflowY]||Ns[l.overflowX]));)n=n.parentNode;a._isScroll=n&&n!==r&&!ci(n)&&(Ns[(l=Yt(n)).overflowY]||Ns[l.overflowX]),a._isScrollT=o}(a._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Zu=function(e,t,r,i){return Ce.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&ih,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Ne(we,Ce.eventTypes[0],Ju,!1,!0)},onDisable:function(){return Be(we,Ce.eventTypes[0],Ju,!0)}})},nh=/(input|label|select|textarea)/i,Qu,Ju=function(e){var t=nh.test(e.target.tagName);(t||Qu)&&(e._gsapAllow=!0,Qu=t)},sh=function(e){di(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,i=t.momentum,n=t.allowNestedScroll,a=t.onRelease,o,l,u=_t(e.target)||Kt,c=G.core.globals().ScrollSmoother,d=c&&c.get(),f=Hr&&(e.content&&_t(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),p=Br(u,De),h=Br(u,ut),m=1,g=(Ce.isTouch&&se.visualViewport?se.visualViewport.scale*se.visualViewport.width:se.outerWidth)/se.innerWidth,b=0,v=ft(i)?function(){return i(o)}:function(){return i||2.8},y,w,_=Zu(u,e.type,!0,n),P=function(){return w=!1},O=lr,E=lr,S=function(){l=ur(u,De),E=Tn(Hr?1:0,l),r&&(O=Tn(0,ur(u,ut))),y=gi},C=function(){f._gsap.y=Pn(parseFloat(f._gsap.y)+p.offset)+"px",f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(f._gsap.y)+", 0, 1)",p.offset=p.cacheID=0},D=function(){if(w){requestAnimationFrame(P);var A=Pn(o.deltaY/2),R=E(p.v-A);if(f&&R!==p.v+p.offset){p.offset=R-p.v;var I=Pn((parseFloat(f&&f._gsap.y)||0)-p.offset);f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+I+", 0, 1)",f._gsap.y=I+"px",p.cacheID=ee.cache,Tr()}return!0}p.offset&&C(),w=!0},x,T,M,L,z=function(){S(),x.isActive()&&x.vars.scrollY>l&&(p()>l?x.progress(1)&&p(l):x.resetTo("scrollY",l))};return f&&G.set(f,{y:"+=0"}),e.ignoreCheck=function(k){return Hr&&k.type==="touchmove"&&D()||m>1.05&&k.type!=="touchstart"||o.isGesturing||k.touches&&k.touches.length>1},e.onPress=function(){w=!1;var k=m;
vendor: 5,051 bytes, lines 59-67
59m=Pn((se.visualViewport&&se.visualViewport.scale||1)/g),x.pause(),k!==m&&yo(u,m>1.01?!0:r?!1:"x"),T=h(),M=p(),S(),y=gi},e.onRelease=e.onGestureStart=function(k,A){if(p.offset&&C(),!A)L.restart(!0);else{ee.cache++;var R=v(),I,F;r&&(I=h(),F=I+R*.05*-k.velocityX/.227,R*=Ku(h,I,F,ur(u,ut)),x.vars.scrollX=O(F)),I=p(),F=I+R*.05*-k.velocityY/.227,R*=Ku(p,I,F,ur(u,De)),x.vars.scrollY=E(F),x.invalidate().duration(R).play(.01),(Hr&&x.vars.scrollY>=l||I>=l-1)&&G.to({},{onUpdate:z,duration:R})}a&&a(k)},e.onWheel=function(){x._ts&&x.pause(),tt()-b>1e3&&(y=0,b=tt())},e.onChange=function(k,A,R,I,F){if(gi!==y&&S(),A&&r&&h(O(I[2]===A?T+(k.startX-k.x):h()+A-I[1])),R){p.offset&&C();var $=F[2]===R,B=$?M+k.startY-k.y:p()+R-F[1],j=E(B);$&&B!==j&&(M+=j-B),p(j)}(R||A)&&Tr()},e.onEnable=function(){yo(u,r?!1:"x"),te.addEventListener("refresh",z),Ne(se,"resize",z),p.smooth&&(p.target.style.scrollBehavior="auto",p.smooth=h.smooth=!1),_.enable()},e.onDisable=function(){yo(u,!0),Be(se,"resize",z),te.removeEventListener("refresh",z),_.kill()},e.lockAxis=e.lockAxis!==!1,o=new Ce(e),o.iOS=Hr,Hr&&!p()&&p(1),Hr&&G.ticker.add(lr),L=o._dc,x=G.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:qu(p,p(),function(){return x.pause()})},onUpdate:Tr,onComplete:L.vars.onComplete}),o};te.sort=function(s){return Q.sort(s||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})},te.observe=function(s){return new Ce(s)},te.normalizeScroll=function(s){if(typeof s>"u")return dt;if(s===!0&&dt)return dt.enable();if(s===!1){dt&&dt.kill(),dt=s;return}var e=s instanceof Ce?s:sh(s);return dt&&dt.target===e.target&&dt.kill(),ci(e.target)&&(dt=e),e},te.core={_getVelocityProp:Ka,_inputObserver:Zu,_scrollers:ee,_proxies:or,bridge:{ss:function(){Vt||mi("scrollStart"),Vt=tt()},ref:function(){return et}}},Iu()&&G.registerPlugin(te);/*! 60 * ScrollToPlugin 3.12.5 61 * https://gsap.com 62 * 63 * @license Copyright 2008-2024, GreenSock. All rights reserved. 64 * Subject to the terms at https://gsap.com/standard-license or for 65 * Club GSAP members, the agreement issued with that membership. 66 * @author: Jack Doyle, [email protected] 67*/var ht,ec,Sr,cr,jr,tc,rc,Bs,ic=function(){return typeof window<"u"},nc=function(){return ht||ic()&&(ht=window.gsap)&&ht.registerPlugin&&ht},sc=function(e){return typeof e=="string"},ac=function(e){return typeof e=="function"},Rn=function(e,t){var r=t==="x"?"Width":"Height",i="scroll"+r,n="client"+r;return e===Sr||e===cr||e===jr?Math.max(cr[i],jr[i])-(Sr["inner"+r]||cr[n]||jr[n]):e[i]-e["offset"+r]},Fn=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Sr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=cr[r]!=null?cr:jr),function(){return e[r]}},ah=function(e,t,r,i){if(ac(e)&&(e=e(t,r,i)),typeof e!="object")return sc(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var n={},a;for(a in e)n[a]=a!=="onAutoKill"&&ac(e[a])?e[a](t,r,i):e[a];return n},oc=function(e,t){if(e=tc(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),i=!t||t===Sr||t===jr,n=i?{top:cr.clientTop-(Sr.pageYOffset||cr.scrollTop||jr.scrollTop||0),left:cr.clientLeft-(Sr.pageXOffset||cr.scrollLeft||jr.scrollLeft||0)}:t.getBoundingClientRect(),a={x:r.left-n.left,y:r.top-n.top};return!i&&t&&(a.x+=Fn(t,"x")(),a.y+=Fn(t,"y")()),a},lc=function(e,t,r,i,n){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-n:sc(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+i-n:e==="max"?Rn(t,r)-n:Math.min(Rn(t,r),oc(e,t)[r]-n)},uc=function(){ht=nc(),ic()&&ht&&typeof document<"u"&&document.body&&(Sr=window,jr=document.body,cr=document.documentElement,tc=ht.utils.toArray,ht.config({autoKillThreshold:7}),rc=ht.config(),ec=1)},$n={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(e){ht=e,uc()},init:function(e,t,r,i,n){ec||uc();var a=this,o=ht.getProperty(e,"scrollSnapType");a.isWin=e===Sr,a.target=e,a.tween=r,t=ah(t,i,e,n),a.vars=t,a.autoKill=!!t.autoKill,a.getX=Fn(e,"x"),a.getY=Fn(e,"y"),a.x=a.xPrev=a.getX(),a.y=a.yPrev=a.getY(),Bs||(Bs=ht.core.globals().ScrollTrigger),ht.getProperty(e,"scrollBehavior")==="smooth"&&ht.set(e,{scrollBehavior:"auto"}),o&&o!=="none"&&(a.snap=1,a.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(a.add(a,"x",a.x,lc(t.x,e,"x",a.x,t.offsetX||0),i,n),a._props.push("scrollTo_x")):a.skipX=1,t.y!=null?(a.add(a,"y",a.y,lc(t.y,e,"y",a.y,t.offsetY||0),i,n),a._props.push("scrollTo_y")):a.skipY=1},render:function(e,t){for(var r=t._pt,i=t.target,n=t.tween,a=t.autoKill,o=t.xPrev,l=t.yPrev,u=t.isWin,c=t.snap,d=t.snapInline,f,p,h,m,g;r;)r.r(e,r.d),r=r._next;f=u||!t.skipX?t.getX():o,p=u||!t.skipY?t.getY():l,h=p-l,m=f-o,g=rc.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),a&&(!t.skipX&&(m>g||m<-g)&&f<Rn(i,"x")&&(t.skipX=1),!t.skipY&&(h>g||h<-g)&&p<Rn(i,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(n.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(n,t.vars.onAutoKillParam
67s||[]))),u?Sr.scrollTo(t.skipX?f:t.x,t.skipY?p:t.y):(t.skipY||(i.scrollTop=t.y),t.skipX||(i.scrollLeft=t.x)),c&&(e===1||e===0)&&(p=i.scrollTop,f=i.scrollLeft,d?i.style.scrollSnapType=d:i.style.removeProperty("scroll-snap-type"),i.scrollTop=p+1,i.scrollLeft=f+1,i.scrollTop=p,i.scrollLeft=f),t.xPrev=t.x,t.yPrev=t.y,Bs&&Bs.update()},kill:function(e){var t=e==="scrollTo",r=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};$n.max=Rn,$n.getOffset=oc,$n.buildGetter=Fn,nc()&&ht.registerPlugin($n);var oh={exports:{}},wo={exports:{}},cc;function lh(){return cc||(cc=1,function(s){(function(e,t){s.exports?s.exports=t():e.EvEmitter=t()})(typeof window<"u"?window:Gs,function(){function e(){}let t=e.prototype;return t.on=function(r,i){if(!r||!i)return this;let n=this._events=this._events||{},a=n[r]=n[r]||[];return a.includes(i)||a.push(i),this},t.once=function(r,i){if(!r||!i)return this;this.on(r,i);let n=this._onceEvents=this._onceEvents||{},a=n[r]=n[r]||{};return a[i]=!0,this},t.off=function(r,i){let n=this._events&&this._events[r];if(!n||!n.length)return this;let a=n.indexOf(i);return a!=-1&&n.splice(a,1),this},t.emitEvent=function(r,i){let n=this._events&&this._events[r];if(!n||!n.length)return this;n=n.slice(0),i=i||[];let a=this._onceEvents&&this._onceEvents[r];for(let o of n)a&&a[o]&&(this.off(r,o),delete a[o]),o.apply(this,i);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e})}(wo)),wo.exports}/*! 68 * imagesLoaded v5.0.0 69 * JavaScript is all like "You images are done yet or what?" 70 * MIT License 71 */(function(s){(function(e,t){s.exports?s.exports=t(e,lh()):e.imagesLoaded=t(e,e.EvEmitter)})(typeof window<"u"?window:Gs,function(t,r){let i=t.jQuery,n=t.console;function a(f){return Array.isArray(f)?f:typeof f=="object"&&typeof f.length=="number"?[...f]:[f]}function o(f,p,h){if(!(this instanceof o))return new o(f,p,h);let m=f;if(typeof f=="string"&&(m=document.querySelectorAll(f)),!m){n.error(`Bad element for imagesLoaded ${m||f}`);return}this.elements=a(m),this.options={},typeof p=="function"?h=p:Object.assign(this.options,p),h&&this.on("always",h),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))}o.prototype=Object.create(r.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const l=[1,9,11];o.prototype.addElementImages=function(f){f.nodeName==="IMG"&&this.addImage(f),this.options.background===!0&&this.addElementBackgroundImages(f);let{nodeType:p}=f;if(!p||!l.includes(p))return;let h=f.querySelectorAll("img");for(let m of h)this.addImage(m);if(typeof this.options.background=="string"){let m=f.querySelectorAll(this.options.background);for(let g of m)this.addElementBackgroundImages(g)}};const u=/url\((['"])?(.*?)\1\)/gi;o.prototype.addElementBackgroundImages=function(f){let p=getComputedStyle(f);if(!p)return;let h=u.exec(p.backgroundImage);for(;h!==null;){let m=h&&h[2];m&&this.addBackground(m,f),h=u.exec(p.backgroundImage)}},o.prototype.addImage=function(f){let p=new c(f);this.images.push(p)},o.prototype.addBackground=function(f,p){let h=new d(f,p);this.images.push(h)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let f=(p,h,m)=>{setTimeout(()=>{this.progress(p,h,m)})};this.images.forEach(function(p){p.once("progress",f),p.check()})},o.prototype.progress=function(f,p,h){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!f.isLoaded,this.emitEvent("progress",[this,f,p]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,f),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&n&&n.log(`progress: ${h}`,f,p)},o.prototype.complete=function(){let f=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(f,[this]),this.emitEvent("always",[this]),this.jqDeferred){let p=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[p](this)}};function c(f){this.img=f}c.prototype=Object.create(r.prototype),c.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(this.img.naturalWi
71dth!==0,"naturalWidth");return}this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src},c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},c.prototype.confirm=function(f,p){this.isLoaded=f;let{parentNode:h}=this.img,m=h.nodeName==="PICTURE"?h:this.img;this.emitEvent("progress",[this,m,p])},c.prototype.handleEvent=function(f){let p="on"+f.type;this[p]&&this[p](f)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)};function d(f,p){this.url=f,this.element=p,this.img=new Image}return d.prototype=Object.create(c.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(this.img.naturalWidth!==0,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(f,p){this.isLoaded=f,this.emitEvent("progress",[this,this.element,p])},o.makeJQueryPlugin=function(f){f=f||t.jQuery,f&&(i=f,i.fn.imagesLoaded=function(p,h){return new o(this,p,h).jqDeferred.promise(i(this))})},o.makeJQueryPlugin(),o})})(oh),ms.registerPlugin(te,$n),function(s){const e=s(document),t=s("html"),r=s("body"),i=window.matchMedia("(min-width: 64rem)"),n=window.matchMedia("(orientation: landscape)");var a={scrolled:!1,pauseScrolling:!1,resized:!1,resizedWidth:!1,resizedHeight:!1,pauseResizing:!1},o={scroll:-1,resize:-1,delta:16.67},l={width:window.innerWidth,lastWidth:window.innerWidth,height:window.innerHeight,lastHeight:window.innerHeight,scrollX:window.pageXOffset,lastScrollX:0,scrollY:window.pageYOffset,lastScrollY:0,scrollingDown:!0};window.addEventListener("scroll",function(){a.scrolled=!0,l.scrollX=window.pageXOffset,l.scrollY=window.pageYOffset,l.scrollY<=l.lastScrollY?l.scrollingDown=!1:l.scrollingDown=!0,l.lastScrollY=l.scrollY,o.scroll!==-1&&clearTimeout(o.scroll),o.scroll=window.setTimeout(function(){a.scrolled=!1},o.delta)}),window.addEventListener("resize",function(){a.resized=!0,l.width=window.innerWidth,l.height=window.innerHeight,l.width!==l.lastWidth&&(a.resizedWidth=!0),l.lastWidth=l.width,l.height!==l.lastHeight&&(a.resizedHeight=!0),l.lastHeight=l.height,o.resize!==-1&&clearTimeout(o.resize),o.resize=window.setTimeout(function(){a.resized=!1,a.resizedWidth=!1,a.resizedHeight=!1},o.delta)});var u=function(g,b){return b=b||o.delta,setInterval(function(){a.resized&&window.requestAnimationFrame(g)},b)};function c(g){for(var b=g+"=",v=document.cookie.split(";"),y=0;y<v.length;y++){for(var w=v[y];w.charAt(0)===" ";)w=w.substring(1,w.length);if(w.indexOf(b)===0)return w.substring(b.length,w.length)}return!1}s("[data-vimeo]").length===0&&r.imagesLoaded(function(){r.addClass("loaded")}),e.on("click",".site-header_nav-toggle",function(g){g.preventDefault(),t.hasClass("state--nav-open")?(t.removeClass("state--nav-open"),d()):t.addClass("state--nav-open")}),e.on("click",".menu-item-has-children > a",function(g){g.preventDefault();let b=s(this).parent(),v=b.find("> a"),y=b.find("> .sub-menu");b.hasClass("state--sub-menu-open")?(b.removeClass("state--sub-menu-open"),v.attr("aria-expanded",!1),y.attr("aria-hidden",!0)):(b.addClass("state--sub-menu-open"),v.attr("aria-expanded",!0),y.attr("aria-hidden",!1))});function d(){s(".menu-item-has-children.state--sub-menu-open").each(function(){var g=s(this),b=g.find("> a"),v=g.find("> .sub-menu");g.removeClass("state--sub-menu-open"),b.attr("aria-expanded",!1),v.attr("aria-hidden",!0)})}e.on("click",function(g){i.matches&&s(".menu-item-has-children").each(function(){var b=s(this);if(!b.is(g.target)&&b.has(g.target).length===0){var v=b.find("> a"),y=b.find("> .sub-menu");b.removeClass("state--sub-menu-open"),v.attr("aria-expanded",!1),y.attr("aria-hidden",!0)}})}),s('a[href^="https://form.typeform.com/"]').each(function(){let g=s(this),b=g.attr("href"),{open:v}=To.createPopup(b,{hideHeaders:!0,hideFooter:!0});g.click(v)}),s('a[href^="https://form.typeform.com/"]').click(function(g){g.preventDefault()}),s("[data-tf-widget]").each(function(){var g=s(this),b=g.attr("data-tf-widget");To.createWidget(b,{container:g[0],autoResize:!0,open:"load"})});var f=s(".announcement-bar");if(f.length>0){let g=function(){t.hasClass("state--show-announcement-bar")?t[0].style.setProperty("--announcement-bar-height",f.outerHeight()+"px"):t[0].style.setProperty("--announcement-bar-height","0px")};var p=c(f.attr("id"));p?(f.attr("aria-hidden",!0),f.remove()):(t.addClass("state--show-announcement-bar"),f.attr("aria-hidden",!1),g()),s(".announcement-bar_close").click(function(b){b.preventDefault(),t.removeClass("state--show-announcement-bar"),f.attr("aria-hidden",!0),f.remove()}),u(g)}function h(g){var b=g.split("#");if(b.length>1){var v=s("#"+b[1]);if(v.length){var y=v.offset().top,w=t.hasClass("state--show-sticky-header")?
71s(".site-header").outerHeight():0;return ms.to(window,{duration:.4,scrollTo:{y,offsetY:w}}),!0}}return!1}e.on("click",'a[href^="#"]',function(g){var b=s(this).attr("href");h(b)&&g.preventDefault()}),h(window.location.href);function m(g){let b=g.find("iframe"),v=parseInt(b.attr("width")),y=parseInt(b.attr("height")),w=v>y?v/y:y/v,_=g.width(),P=g.height(),O=v>y?_/P:P/_,E=_,S=P;v>y?O>w?(E=_,S=E*w):(S=P,E=S*w):O>w?(S=P,E=S*w):(E=_,S=E*w),b.css({width:E,height:S})}s("[data-vimeo]").each(function(){let g=s(this),b=g.attr("data-vimeo-desktop-only"),v=g.attr("data-vimeo-landscape"),y=g.attr("data-vimeo-portrait"),w={background:!0,muted:!0};b!==void 0?i.matches?w.url=b:w.url=!1:(n.matches?w.url=v:w.url=y,n.addEventListener("change",()=>{n.matches?_.loadVideo(v):_.loadVideo(y)}));let _=new qs(g[0],w);_.on("loaded",function(){r.addClass("loaded"),Promise.all([_.getVideoWidth(),_.getVideoHeight()]).then(function(P){var O=P[0],E=P[1];g.css("aspect-ratio",O/E),g.find("iframe").attr("width",O).attr("height",E),m(g)})}),u(function(){m(g)})}),s(".testimonials-block").length&&new Pt(".testimonials-block .swiper",{loop:!0,autoplay:{delay:5e3,disableOnInteraction:!0},effect:"fade",fadeEffect:{crossFade:!0},speed:1e3,navigation:{nextEl:".testimonials-block .swiper-button-next",prevEl:".testimonials-block .swiper-button-prev"},pagination:{el:".testimonials-block .swiper-pagination",type:"bullets",clickable:!0}}),s(".mixed-content-block").each(function(){let g=s(this),b=g.find(".page-block_media img, .page-block_media iframe");te.create({trigger:g[0],start:"top bottom",end:"bottom top",onUpdate:v=>{ms.set(b[0],{scale:1+v.progress*.25})}})}),e.on("click",".popout",function(g){g.preventDefault();let b=s(this),v=b.next();s(".popout.active").removeClass("active"),b.addClass("active"),s(".popout-container > .popout-content").html(v.html()).fadeIn()})}(jQuery)})(); 72 73
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.