PageSourceSearch

https://bnovo.ru/wp-content/themes/bnovoNew/scripts-new.js?ver=1.0.8

js bnovo.ru collected 2026-09-24 11:44:57 UTC 327,022 bytes, 87 lines download raw bytes

1const $h=()=>{const n=()=>{const e=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${e}px`)};n(),window.addEventListener("resize",n)},Yh="utm_",Uh=["gclid","yclid","ymclid","fbclid","roistat"],Xh=["bnovo.ru","bnovo.pro"],jh=["mailto:","tel:","javascript:"],Kh=/^(https?:)?\/\//i,Zh=()=>{const n=new URLSearchParams(window.location.search),e=new URLSearchParams;return n.forEach((t,r)=>{(r.startsWith(Yh)||Uh.includes(r))&&e.set(r,t)}),e},Qh=n=>n===window.location.hostname||Xh.some(e=>n===e||n.endsWith(`.${e}`)),Jh=n=>{const e=n.getAttribute("href")?.trim().toLowerCase();return!e||e.startsWith("#")||jh.some(t=>e.startsWith(t))?!1:Qh(n.hostname)},id=(n=document.body)=>{const e=Zh();if(Array.from(e.keys()).length===0)return;n.querySelectorAll("a[href]").forEach(r=>{if(!Jh(r))return;const i=r.getAttribute("href")??"",s=new URL(r.href);e.forEach((a,o)=>{s.searchParams.has(o)||s.searchParams.set(o,a)}),r.setAttribute("href",Kh.test(i)?s.toString():`${s.pathname}${s.search}${s.hash}`)})},ep=()=>id();class tp{constructor(){this._openHeight=0,this._windowWidth=window.innerWidth,this._documentClickHandler=this._documentClickHandler.bind(this),this._windowResizeHandler=this._windowResizeHandler.bind(this),this._init()}_init(){this.fullUpdate(),document.addEventListener("click",this._documentClickHandler),window.addEventListener("resize",this._windowResizeHandler)}_documentClickHandler(e){const t=e.target;if(!t.closest('[data-accordion="button"]'))return;const r=t.closest('[data-accordion="parent"]');if(r.dataset.destroy&&!window.matchMedia(r.dataset.destroy).matches)return;e.preventDefault();const i=t.closest('[data-accordion="element"]');if(i.classList.contains("is-active")){this.closeAccordion(i);return}this.openAccordion(i)}_windowResizeHandler(){this._windowWidth!==window.innerWidth&&(this._windowWidth=window.innerWidth,this.updateAccordionsHeight())}closeAllAccordion(e){e.querySelectorAll('[data-accordion="element"]').forEach(r=>{r.closest('[data-accordion="parent"]')===e&&this.closeAccordion(r)})}updateAccordionsHeight(e=null){if(e){const i=e.querySelector('[data-accordion="content"]');i.style.transition="none",i.style.maxHeight=`${i.scrollHeight}px`,setTimeout(()=>{i.style.transition=null});return}document.querySelectorAll('[data-accordion="element"]:not(.is-active)').forEach(i=>{const s=i.closest('[data-accordion="parent"]'),a=i.querySelector('[data-accordion="content"]');if(s.dataset.destroy&&!window.matchMedia(s.dataset.destroy).matches){a.style.maxHeight="";return}a.style.maxHeight=null}),document.querySelectorAll('[data-accordion="element"].is-active').forEach(i=>{const s=i.querySelector('[data-accordion="content"]'),a=i.closest('[data-accordion="parent"]');if(a.dataset.destroy&&!window.matchMedia(a.dataset.destroy).matches){s.style.maxHeight="";return}s.style.transition="none",s.style.maxHeight=`${s.scrollHeight}px`,setTimeout(()=>{s.style.transition=null})})}fullUpdate(e=null,t=!1){let r;e?r=e.querySelectorAll('[data-accordion="element"].is-active'):r=document.querySelectorAll('[data-accordion="element"].is-active'),r.forEach(i=>{i.querySelector('[data-accordion="parent"]')||this.openAccordion(i,t)}),this.updateAccordionsHeight()}openAccordion(e,t=!0){const r=e.closest('[data-accordion="parent"]'),i=e.querySelector('[data-accordion="content"]');if(this._openHeight+=i.scrollHeight,r.hasAttribute("data-single")&&this.closeAllAccordion(r),e.classList.add("is-active"),t?i.style.maxHeight=`${this._openHeight}px`:(i.style.transition="none",i.style.maxHeight=`${this._openHeight}px`,setTimeout(()=>{i.style.transition=null})),r.closest('[data-accordion="element"]')){this.openAccordion(r.closest('[data-accordion="element"]'),t);return}this._openHeight=0}closeAccordion(e,t=!0){const r=e.querySelector('[data-accordion="content"]');r&&(e.classList.remove("is-active"),t?r.style.maxHeight="0":(r.style.transition="none",r.style.maxHeight="0",setTimeout(()=>{r.style.transition=null})))}}let Ca;const rp=()=>{Ca=new tp,window.accordions=Ca};class np{constructor(e){this.type=e,this._baseWindowWidth="767"}init(){this._objectsArray=[],this._daClassName="dynamic-adaptive",this._nodes=document.querySelectorAll("[data-da]"),this._nodes.forEac
1h(e=>{if(e.hasAttribute("data-adaptive-inited"))return;e.setAttribute("data-adaptive-inited","true");const i=e.dataset.da.trim().split(","),s={};s.element=e,s.parent=e.parentNode,s.destination=document.querySelector(i[0].trim()),s.breakpoint=i[1]?i[1].trim():this._baseWindowWidth,s.place=i[2]?i[2].trim():"last",s.index=this._indexInParent(s.parent,s.element),this._objectsArray.push(s)}),this._arraySort(),this._mediaQueries=this._objectsArray.map(e=>`(${this.type}-width: ${e.breakpoint}px),${e.breakpoint}`),this._mediaQueries=this._objectsArray.map(e=>`(width ${this.type==="max"?"<":">="} ${e.breakpoint}px),${e.breakpoint}`),this._mediaQueries=this._mediaQueries.filter((e,t)=>this._mediaQueries.indexOf(e)===t),this._mediaQueries.forEach(e=>{const t=String(e).split(","),r=window.matchMedia(t[0]),i=t[1],s=this._objectsArray.filter(a=>a.breakpoint===i);r.addListener(()=>{this._mediaHandler(r,s)}),this._mediaHandler(r,s)})}_mediaHandler(e,t){if(e.matches){t.forEach(r=>{r.index=this._indexInParent(r.parent,r.element),this._moveTo(r.place,r.element,r.destination)});return}t.forEach(r=>{r.element.classList.contains(this._daClassName)&&this._moveBack(r.parent,r.element,r.index)})}_moveTo(e,t,r){if(t.classList.add(this._daClassName),e==="last"||e>=r.children.length){r.append(t);return}if(e==="first"){r.prepend(t);return}r.children[e].before(t)}_moveBack(e,t,r){if(r=t.dataset.daIndex||r,t.classList.remove(this._daClassName),e.children[r]){e.children[r].before(t);return}e.append(t)}_indexInParent(e,t){return Array.from(e.children).slice().indexOf(t)}_arraySort(){this.type==="min"&&this._objectsArray.sort((e,t)=>e.breakpoint===t.breakpoint?e.place===t.place?0:e.place==="first"||t.place==="last"?-1:e.place==="last"||t.place==="first"?1:e.place-t.place:e.breakpoint-t.breakpoint),this.type==="max"&&this._objectsArray.sort((e,t)=>e.breakpoint===t.breakpoint?e.place===t.place?0:e.place==="first"||t.place==="last"?1:e.place==="last"||t.place==="first"?-1:t.place-e.place:t.breakpoint-e.breakpoint)}}const ip=()=>{new np("max").init()};let Lr=null,fi=null;const sp=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'];function sd(n,e=!0){fi!==null&&Fl(!1),n&&(fi=document.activeElement,Lr=n.querySelectorAll(sp.join(",")),Lr.length!==0&&setTimeout(()=>{fi?.blur(),e&&Lr[0].focus(),document.addEventListener("keydown",ad)},100))}function Fl(n=!0){n&&fi&&fi.focus(),fi=null,Lr=null,document.removeEventListener("keydown",ad)}function ad(n){if(n.key==="Tab"){if(n.shiftKey&&document.activeElement===Lr[0]){n.preventDefault(),Lr[Lr.length-1].focus();return}!n.shiftKey&&document.activeElement===Lr[Lr.length-1]&&(n.preventDefault(),Lr[0].focus())}}class ap{#e=[];constructor(){this.#e=[]}subscribe(e){this.#e.push(e)}unsubscribe(e){this.#e=this.#e.filter(t=>t!==e)}fire(e){this.#e.forEach(t=>t(e))}}const op=new ap,lp=new ResizeObserver(()=>setTimeout(()=>op.fire("resize"),10));lp.observe(document.documentElement);const up={Mobile:375,Desktop:{SMALL:1024,MEDIUM:1440}},cp={Escape:"Escape",Enter:"Enter",Tab:"Tab"},or=16,xa="/wp-json/bnovo/v1/",$e=window.matchMedia(`(min-width: ${up.Desktop.SMALL}px)`),xt=n=>n*parseFloat(getComputedStyle(document.documentElement).fontSize);var dp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},od={exports:{}};(function(n,e){(function(r,i){n.exports=i()})(dp,function(){return function(t){var r={};function i(s){if(r[s])return r[s].exports;var a=r[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=r,i.d=function(s,a,o){i.o(s,a)||Object.defineProperty(s,a,{enumerable:!0,get:o})},i.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},i.t=function(s,a){if(a&1&&(s=i(s)),a&8||a&4&&typeof s=="object"&&s&&s.__esModule)return s;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:s}
1),a&2&&typeof s!="string")for(var l in s)i.d(o,l,function(u){return s[u]}.bind(null,l));return o},i.n=function(s){var a=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(a,"a",a),a},i.o=function(s,a){return Object.prototype.hasOwnProperty.call(s,a)},i.p="",i(i.s=0)}([function(t,r,i){i.r(r);var s=function(L){return Array.isArray(L)?L:[L]},a=function(L){return L instanceof Node},o=function(L){return L instanceof NodeList},l=function(L,q){if(L&&q){L=o(L)?L:[L];for(var W=0;W<L.length&&q(L[W],W,L.length)!==!0;W++);}},u=function(L){return console.error("[scroll-lock] ".concat(L))},c=function(L){if(Array.isArray(L)){var q=L.join(", ");return q}},f=function(L){var q=[];return l(L,function(W){return q.push(W)}),q},g=function(L,q){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:document;if(W&&f($.querySelectorAll(q)).indexOf(L)!==-1)return L;for(;(L=L.parentElement)&&f($.querySelectorAll(q)).indexOf(L)===-1;);return L},d=function(L,q){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document,$=f(W.querySelectorAll(q)).indexOf(L)!==-1;return $},p=function(L){if(L){var q=getComputedStyle(L),W=q.overflow==="hidden";return W}},h=function(L){if(L){if(p(L))return!0;var q=L.scrollTop;return q<=0}},y=function(L){if(L){if(p(L))return!0;var q=L.scrollTop,W=L.scrollHeight,$=q+L.offsetHeight;return $>=W}},v=function(L){if(L){if(p(L))return!0;var q=L.scrollLeft;return q<=0}},m=function(L){if(L){if(p(L))return!0;var q=L.scrollLeft,W=L.scrollWidth,$=q+L.offsetWidth;return $>=W}},_=function(L){var q='textarea, [contenteditable="true"]';return d(L,q)},D=function(L){var q='input[type="range"]';return d(L,q)};i.d(r,"disablePageScroll",function(){return x}),i.d(r,"enablePageScroll",function(){return M}),i.d(r,"getScrollState",function(){return w}),i.d(r,"clearQueueScrollLocks",function(){return O}),i.d(r,"getTargetScrollBarWidth",function(){return I}),i.d(r,"getCurrentTargetScrollBarWidth",function(){return N}),i.d(r,"getPageScrollBarWidth",function(){return F}),i.d(r,"getCurrentPageScrollBarWidth",function(){return P}),i.d(r,"addScrollableTarget",function(){return k}),i.d(r,"removeScrollableTarget",function(){return R}),i.d(r,"addScrollableSelector",function(){return T}),i.d(r,"removeScrollableSelector",function(){return z}),i.d(r,"addLockableTarget",function(){return X}),i.d(r,"addLockableSelector",function(){return U}),i.d(r,"setFillGapMethod",function(){return K}),i.d(r,"addFillGapTarget",function(){return de}),i.d(r,"removeFillGapTarget",function(){return V}),i.d(r,"addFillGapSelector",function(){return Q}),i.d(r,"removeFillGapSelector",function(){return ge}),i.d(r,"refillGaps",function(){return ie});function E(H){for(var L=1;L<arguments.length;L++){var q=arguments[L]!=null?arguments[L]:{},W=Object.keys(q);typeof Object.getOwnPropertySymbols=="function"&&(W=W.concat(Object.getOwnPropertySymbols(q).filter(function($){return Object.getOwnPropertyDescriptor(q,$).enumerable}))),W.forEach(function($){A(H,$,q[$])})}return H}function A(H,L,q){return L in H?Object.defineProperty(H,L,{value:q,enumerable:!0,configurable:!0,writable:!0}):H[L]=q,H}var S=["padding","margin","width","max-width","none"],b=3,C={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:S[0],startTouchY:0,startTouchX:0},x=function(L){C.queue<=0&&(C.scroll=!1,De(),Oe()),k(L),C.queue++},M=function(L){C.queue>0&&C.queue--,C.queue<=0&&(C.scroll=!0,Ye(),B()),R(L)},w=function(){return C.scroll},O=function(){C.queue=0},I=function(L){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(a(L)){var W=L.style.overflowY;q?w()||(L.style.overflowY=L.getAttribute("data-scroll-lock-saved-overflow-y-property")):L.style.overflowY="scroll";var $=N(L);return L.style.overflowY=W,$}else return 0},N=function(L){if(a(L))if(L===document.body){var q=document.documentElement.clientWidth,W=window.innerWidth,$=W-q;return $}else{var wt=L.style.borderLeftWidth,tt=L.style.borderRightWidth;L.style.borderLeftWidth="0px",L.style.borderRightWidth="0px";var _t=L.offsetWidth-L.clientWidth;return L.style.borderLeftWidth=wt,L.style.borderRightWidth=tt,_t}else return 0},F=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return I(document.body,L)},P=function(){return N(document.body)},k=function(L){if(L){var q=s(L);q.map(function(W){l(W,function($){a($)?$.setAttribute("data-scroll-lock-scrollable",""):u('"'.concat($,'" is not a Element.'))})})}},R=function(L){if(L){var q=s(L);q.map(function(W){l(W,function($){a($)?$.removeAttribute("data-scroll-lock-scrollable"):u('"'.concat($,'" is not a Element.'))})})}},T=function(L){if(L){var q=s(L);q.map(function(W){C.scrollableSelectors.push(W)})}},z=function(L){if(L){var q=s(L);q.map(function(W){C.scrollableSelectors=C.scrollableSelectors.filter(function($){return $!==W})})}},X=function(L){if(L){var q=s(L);q.map(function(W){l(W,function($){a($)?$.setAttribute("data-scroll-lock-lockable",""):u('"'.concat($,'" is not a Element.'))})}),w()||De()}},U=function(L){if(L){var q=s(L);q.map(function(W){C.lockableSelectors.push(W)}),w()||De(),Q(L)}},K=function(L){if(L)if(S.indexOf(L)!==-1)C.fillGapMethod=L,ie();else{var q=S.join(", ");u('"'.concat(L,`" method is not available!
2Available fill gap methods: `).concat(q,"."))}},de=function(L){if(L){var q=s(L);q.map(function(W){l(W,function($){a($)?($.setAttribute("data-scroll-lock-fill-gap",""),C.scroll||Kt($)):u('"'.concat($,'" is not a Element.'))})})}},V=function(L){if(L){var q=s(L);q.map(function(W){l(W,function($){a($)?($.removeAttribute("data-scroll-lock-fill-gap"),C.scroll||be($)):u('"'.concat($,'" is not a Element.'))})})}},Q=function(L){if(L){var q=s(L);q.map(function(W){C.fillGapSelectors.indexOf(W)===-1&&(C.fillGapSelectors.push(W),C.scroll||at(W))})}},ge=function(L){if(L){var q=s(L);q.map(function(W){C.fillGapSelectors=C.fillGapSelectors.filter(function($){return $!==W}),C.scroll||ur(W)})}},ie=function(){C.scroll||Oe()},De=function(){var L=c(C.lockableSelectors);Ve(L)},Ye=function(){var L=c(C.lockableSelectors);G(L)},Ve=function(L){var q=document.querySelectorAll(L);l(q,function(W){te(W)})},G=function(L){var q=document.querySelectorAll(L);l(q,function(W){Ce(W)})},te=function(L){if(a(L)&&L.getAttribute("data-scroll-lock-locked")!=="true"){var q=window.getComputedStyle(L);L.setAttribute("data-scroll-lock-saved-overflow-y-property",q.overflowY),L.setAttribute("data-scroll-lock-saved-inline-overflow-property",L.style.overflow),L.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",L.style.overflowY),L.style.overflow="hidden",L.setAttribute("data-scroll-lock-locked","true")}},Ce=function(L){a(L)&&L.getAttribute("data-scroll-lock-locked")==="true"&&(L.style.overflow=L.getAttribute("data-scroll-lock-saved-inline-overflow-property"),L.style.overflowY=L.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),L.removeAttribute("data-scroll-lock-saved-overflow-property"),L.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),L.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),L.removeAttribute("data-scroll-lock-locked"))},Oe=function(){C.fillGapSelectors.map(function(L){at(L)})},B=function(){C.fillGapSelectors.map(function(L){ur(L)})},at=function(L){var q=document.querySelectorAll(L),W=C.lockableSelectors.indexOf(L)!==-1;l(q,function($){Kt($,W)})},Kt=function(L){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(a(L)){var W;if(L.getAttribute("data-scroll-lock-lockable")===""||q)W=I(L,!0);else{var $=g(L,c(C.lockableSelectors));W=I($,!0)}L.getAttribute("data-scroll-lock-filled-gap")==="true"&&be(L);var wt=window.getComputedStyle(L);if(L.setAttribute("data-scroll-lock-filled-gap","true"),L.setAttribute("data-scroll-lock-current-fill-gap-method",C.fillGapMethod),C.fillGapMethod==="margin"){var tt=parseFloat(wt.marginRight);L.style.marginRight="".concat(tt+W,"px")}else if(C.fillGapMethod==="width")L.style.width="calc(100% - ".concat(W,"px)");else if(C.fillGapMethod==="max-width")L.style.maxWidth="calc(100% - ".concat(W,"px)");else if(C.fillGapMethod==="padding"){var _t=parseFloat(wt.paddingRight);L.style.paddingRight="".concat(_t+W,"px")}}},ur=function(L){var q=document.querySelectorAll(L);l(q,function(W){be(W)})},be=function(L){if(a(L)&&L.getAttribute("data-scroll-lock-filled-gap")==="true"){var q=L.getAttribute("data-scroll-lock-current-fill-gap-method");L.removeAttribute("data-scroll-lock-filled-gap"),L.removeAttribute("data-scroll-lock-current-fill-gap-method"),q==="margin"?L.style.marginRight="":q==="width"?L.style.width="":q==="max-width"?L.style.maxWidth="":q==="padding"&&(L.style.paddingRight="")}},cr=function(L){ie()},yr=function(L){C.scroll||(C.startTouchY=L.touches[0].clientY,C.startTouchX=L.touches[0].clientX)},Gr=function(L){if(!C.scroll){var q=C.startTouchY,W=C.startTouchX,$=L.touches[0].clientY,wt=L.touches[0].clientX;if(L.touches.length<2){var tt=c(C.scrollableSelectors),_t={up:q<$,down:q>$,left:W<wt,right:W>wt},dr={up:q+b<$,down:q-b>$,left:W+b<wt,right:W-b>wt},Sr=function br(Z){var Vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Z){var Dt=g(Z,tt,!1);if(D(Z))return!1;if(Vr||_(Z)&&g(Z,tt)||d(Z,tt)){var ot=!1;v(Z)&&m(Z)?(_t.up&&h(Z)||_t.down&&y(Z))&&(ot=!0):h(Z)&&y(Z)?(_t.left&&v(Z)||_t.right&&m(Z))&&(ot=!0):(dr.up&&h(Z)||dr.down&&y(Z)||dr.left&&v(Z)||dr.right&&m(Z))&&(ot=!0),ot&&(Dt?br(Dt,!0):L.cancelable&&L.preventDefault())}else br(Dt)}else L.cancelable&&L.preventDefault()};Sr(L.target)}}},qe=function(L){C.scroll||(C.startTouchY=0,C.startTouchX=0)};typeof window<"u"&&window.addEventListener("resize",cr),typeof document<"u"&&(document.addEventListener("touchstart",yr),document.addEventListener("touchmove",Gr,{passive:!1}),document.addEventListener("touchend",qe));var Er={hide:function(L){u(`"hide" is deprecated! Use "disablePageScroll" instead. 
3 https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget`),x(L)},show:function(L){u(`"show" is deprecated! Use "enablePageScroll" instead. 
4 https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget`),M(L)},toggle:function(L){u('"toggle" is deprecated! Do not use it.'),w()?x():M(L)},getState:function(){return u(`"getState" is deprecated! Use "getScrollState" instead. 
5 https://github.com/FL3NKEY/scroll-lock#getscrollstate`),w()},getWidth:function(){return u(`"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. 
6 https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth`),F()},getCurrentWidth:function(){return u(`"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. 
7 https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth`),P()},setScrollableTargets:function(L){u(`"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. 
8 https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget`),k(L)},setFillGapSelectors:function(L){u(`"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. 
9 https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector`),Q(L)},setFillGapTargets:function(L){u(`"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. 
10 https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget`),de(L)},clearQueue:function(){u(`"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. 
11 https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks`),O()}},Ae=E({disablePageScroll:x,enablePageScroll:M,getScrollState:w,clearQueueScrollLocks:O,getTargetScrollBarWidth:I,getCurrentTargetScrollBarWidth:N,getPageScrollBarWidth:F,getCurrentPageScrollBarWidth:P,addScrollableSelector:T,removeScrollableSelector:z,addScrollableTarget:k,removeScrollableTarget:R,addLockableSelector:U,addLockableTarget:X,addFillGapSelector:Q,removeFillGapSelector:ge,addFillGapTarget:de,removeFillGapTarget:V,setFillGapMethod:K,refillGaps:ie,_state:C},Er);r.default=Ae}]).default})})(od);var Xa=od.exports;let ht,wa,Hi,ld,ud,ja=!1;const mo=[],vo=new Map,cd=()=>{document.body.classList.remove("is-loading")},fp=()=>
11{if(ht=document.querySelector("[data-header]"),!ht){cd();return}ld=Array.from(ht.querySelectorAll("[data-header-menu-button]")),ud=Array.from(ht.querySelectorAll("[data-header-menu]"));const n=ht.querySelector("[data-burger]");wa=ht.querySelector("[data-scroll-lock-scrollable]"),Hi=wa?.querySelector('[data-accordion="parent"]'),wu(),dd(),n.addEventListener("click",hp),$e.addEventListener("change",mp),window.addEventListener("resize",()=>{setTimeout(()=>{wu()},0)})},wu=()=>{document.documentElement.style.setProperty("--headerHeight",`${ht.offsetHeight}px`),cd()},dd=()=>{ld.forEach((n,e)=>{const t=ud[e];if(!t)return;if(!vo.has(n)){const o=t.querySelector("[data-menu-scrollable]"),l=()=>{clearTimeout(mo[e]),t.classList.add("is-open")},u=()=>{mo[e]=setTimeout(()=>{t.classList.remove("is-open"),setTimeout(()=>{o.scrollTo({top:0})},300)},200)},c=()=>clearTimeout(mo[e]);vo.set(n,{open:l,close:u,cancel:c,scrollable:wa})}const r=vo.get(n);if(!r)return;const{open:i,close:s,cancel:a}=r;$e.matches?(n.addEventListener("mouseenter",i),n.addEventListener("mouseleave",s),t.addEventListener("mouseenter",a),t.addEventListener("mouseleave",s)):(n.removeEventListener("mouseenter",i),n.removeEventListener("mouseleave",s),t.removeEventListener("mouseenter",a),t.removeEventListener("mouseleave",s))})},hp=()=>{ja?Ka():pp()},fd=n=>{n.target.closest("a")&&Ka()},pp=()=>{ja=!0,ht.classList.add("is-open"),Xa.disablePageScroll(ht),ht.addEventListener("click",fd),document.addEventListener("keydown",hd),sd(ht,!1)},Ka=(n=!1)=>{ja=!1,ht.classList.remove("is-open"),Xa.enablePageScroll(ht),Fl(),ht.removeEventListener("click",fd),document.removeEventListener("keydown",hd),gp(!n),setTimeout(()=>{wa.scrollTo({top:0})},300)},gp=n=>{Hi&&(n?setTimeout(()=>{Ca.closeAllAccordion(Hi)},300):(Ca.closeAllAccordion(Hi),Hi.querySelectorAll('[data-accordion="content"]').forEach(e=>{e.style.maxHeight="unset"})))},mp=()=>{_o(),dd(),$e.matches?(_o(),ja&&Ka(!0)):_o()},hd=n=>{n.key===cp.Escape&&Ka()},_o=()=>{ht.classList.add("no-transition"),setTimeout(()=>{ht.classList.remove("no-transition")},500)},vp=n=>{console.error(`Переданный формат ограничения(data-limitation="${n}") - не поддерживается. Проверьте корректность введённых значений.`)},_p=n=>{switch(n){case"digit":return/[^\d]/g;case"name":return/[^a-zA-Zа-яёА-ЯЁ\-\s]/g;case"letters":return/[^a-zA-Zа-яёА-ЯЁ\s]/g;case"letters-and-digit":return/[^a-zA-Zа-яёА-ЯЁ\s\d]/g;case"cyrillic":return/[^а-яёА-ЯЁ\s]/g;case"latin":return/[^a-zA-Z\s]/g;default:return vp(n)}},Dp=n=>{switch(n){case"digit":return/[^\d]/g;case"name":return/[^\а-яё\А-ЯЁ\a-z\A-Z\-]]/g;case"letters":return/[^\а-яё\А-ЯЁ\a-z\A-Z]/g;case"letters-and-digit":return/[^\а-яё\А-ЯЁ\a-z\A-Z\d]/g;case"cyrillic":return/[^\а-яё\А-ЯЁ]/g;case"latin":return/[^\a-z\A-Z]/g;default:return!1}},yp=()=>/[a-zA-Zа-яёА-ЯЁ0-9]{1}([a-zA-Zа-яёА-ЯЁ0-9\-_\.]{1,})?@[a-zA-Zа-яёА-ЯЁ0-9\-]{1}([a-zA-Zа-яёА-ЯЁ0-9.\-]{1,})?[a-zA-Zа-яёА-ЯЁ0-9\-]{1}\.[a-zA-Zа-яёА-ЯЁ]{2,6}/,Ep=(n,e,t)=>{if(!e){console.error('При валидации по матрице обязательно указывать формат матрицы: data-matrix=""'),n.value="";return}if(!t){console.error('При валидации по матрице обязательно указывать формат ограничений: data-matrix-limitations=""'),n.value="";return}const r=e.replace(t,"");let i=n.value.replace(t,""),s=0;r.length>=i.length&&(i=r),n.value=e.replace(/./g,a=>/[_\^]/.test(a)&&s<i.length?i.charAt(s++):s>=i.length?"":a)};class Sp{constructor(){this._baseErrorText="Это поле является обязательным"}_messageTemplate(e,t){return`<span class="input-message ${t==="valid"?"is-valid":"is-invalid"}">${e}</span>`}removeMessage(e){const t=e.querySelector(".input-message");t&&t.remove()}renderMessage(e,t,r){this.removeMessage(e),e.insertAdjacentHTML("beforeend",this._messageTemplate(t,r))}}class bp{constructor(){this._getLimitationsRegEx=_p,this._getMatrixLimitationsRegEx=Dp,this._getMailRegEx=yp,this._matrixReplace=Ep,this._message=new Sp,this._invalidNotEmpty=!1,this._val
11idState=!0,this._submitEvent=!1}_createStates(e){this._validState=!0,this._invalidNotEmpty=!1;const t=e.closest("[data-form-validate]");t.querySelectorAll("input","select","textarea").forEach(i=>{i.getAttribute("aria-invalid")==="true"&&(this._validState=!1,i.value&&(this._invalidNotEmpty=!0))}),this._validateFormParent(t)}_renderMessage(e,t,r){!t.hasAttribute("data-required")&&!r.value||(e?t.hasAttribute("data-message-success")?this._message.renderMessage(t,t.dataset.messageSuccess,"valid"):this._message.removeMessage(t):(t.classList.add("is-invalid"),t.hasAttribute("data-message-base")&&!r.value?this._message.renderMessage(t,t.dataset.messageBase,"invalid"):t.hasAttribute("data-message-extra")&&r.value?this._message.renderMessage(t,t.dataset.messageExtra,"invalid"):!t.hasAttribute("data-message-extra")&&t.hasAttribute("data-message-base")&&r.value?this._message.renderMessage(t,t.dataset.messageBase,"invalid"):this._message.removeMessage(t)))}_setItemValidState(e,t){!e.hasAttribute("data-required")&&!t.value||(e.classList.add("is-valid"),e.classList.remove("is-invalid"),t.setAttribute("aria-invalid","false"),this._message.removeMessage(e))}_setItemInvalidState(e,t){!e.hasAttribute("data-required")&&!t.value||(e.classList.remove("is-valid"),t.setAttribute("aria-invalid","true"))}_simpleLimitation(e,t){e.value=e.value.replace(this._getLimitationsRegEx(t),"")}_matrixLimitation(e,t,r){this._matrixReplace(e,t,r)}_validateTextInput(e,t){let r=!0;return t.value.length>=(+t.getAttribute("minlength")||1)?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),r=!1),r}_validateMatrixInput(e,t){let r=!0;return t.value.length===t.closest("[data-matrix]").dataset.matrix.length?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),r=!1),r}_validateEmailInput(e,t){let r=!0;return new RegExp(this._getMailRegEx(),"").test(t.value)?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),r=!1),r}_validatePhoneInput(e,t){let r=!0;return t.value.length>=+e.dataset.phoneLength?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),r=!1),r}_validateCheckbox(e,t){let r=!0;return t.checked?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),r=!1),r}_findSelectedOption(e){let t=!1;return e.forEach(r=>{r.value&&r.selected&&(t=!0)}),t}_validateSelect(e,t){const r=t.querySelectorAll("option"),i=e.querySelector(".custom-select__text");t.setAttribute("aria-invalid","false");let s=!0;return this._findSelectedOption(r)?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),e.classList.remove("not-empty"),i.innerHTML="",s=!1),s}_returnCheckedElements(e){let t=!1;return e.forEach(r=>{r.checked&&(t=!0)}),t}_removeGroupAria(e){e.forEach(t=>{t.checked?(t.setAttribute("aria-required",!0),t.setAttribute("aria-invalid",!1)):(t.removeAttribute("aria-required"),t.removeAttribute("aria-invalid"))})}_setGroupAria(e){e.forEach(t=>{t.setAttribute("aria-required",!0),t.setAttribute("aria-invalid",!0)})}_validateToggleGroup(e){const t=e.querySelectorAll("input");let r=!0;return this._returnCheckedElements(t)?(this._removeGroupAria(t),e.classList.remove("is-invalid"),e.classList.add("is-valid"),this._message.removeMessage(e)):(this._setGroupAria(t),e.classList.remove("is-valid"),r=!1),r}_customExample(e,t){let r=!0;return t.value.length?t.value.length<t.minLength?(e.dataset.messageBase=`Осталось ввести ещё ${t.minLength-t.value.length} символов`,this._setItemInvalidState(e,t),r=!1):t.value.length>t.minLength?(e.dataset.messageBase=`Вы ввели ${t.value.length-t.minLength} лишних символов`,this._setItemInvalidState(e,t),r=!1):(e.dataset.messageSuccess="Поле заполнено корректно",this._setItemValidState(e,t),r=!0):(e.dataset.messageBase="Поле обязательно к заполнению",this._setItemInvalidState(e,t),r=!1),r}_validateFile(e,t){let r=!0;const i=e.dataset.maxSize&&t.files[0]?t.files[0].size<+e.dataset.maxSize:!0;return t.value&&i?this._setItemValidState(e,t):(this._setItemInvalidState(e,t),r=!1),r}_customUpload(e,t){let r=!0;return(e.classList.contains("is-invalid")||!t.files[0])&&(r=!1),r}
11_validateInput(e,t,r){switch(e){case"text":return this._validateTextInput(t,r);case"matrix":return this._validateMatrixInput(t,r);case"email":return this._validateEmailInput(t,r);case"phone":return this._validatePhoneInput(t,r);case"checkbox":return this._validateCheckbox(t,r);case"select":return this._validateSelect(t,r);case"toggle-group":return this._validateToggleGroup(t,r);case"file":return this._validateFile(t,r);case"custom-upload":return this._customUpload(t,r);case"custom-example":return this._customExample(t,r);default:return!1}}_baseParentValidate(e){if(this._submitEvent){if(!this._invalidNotEmpty&&!this._validState){this._message.renderMessage(e,e.dataset.messageBase,"invalid");return}if(this._invalidNotEmpty&&!this._validState){this._message.renderMessage(e,e.dataset.messageExtra||e.dataset.messageBase,"invalid");return}if(this._validState){this._message.removeMessage(e);return}}}_validateParent(e,t){switch(t){case"base":return this._baseParentValidate(e);default:return!1}}validateFormElement(e,t=!1){const r=e.closest("[data-validate-type]");if(!r)return;r.hasAttribute("data-required")||(r.querySelector("input")||r.querySelector("select")||r.querySelector("textarea")).value||(r.classList.remove("is-valid"),r.classList.remove("is-invalid"));const i=r.hasAttribute("data-on-input-validate");r.hasAttribute("data-limitation")&&this._simpleLimitation(e,r.dataset.limitation),r.dataset.validateType==="matrix"&&this._matrixLimitation(e,r.dataset.matrix,this._getMatrixLimitationsRegEx(r.dataset.matrixLimitation));const s=this._validateInput(r.dataset.validateType,r,e);(i||t)&&this._renderMessage(s,r,e)}_fullValidate(e){let t=!0;return e.forEach(r=>{const i=r.querySelector("input")||r.querySelector("select")||r.querySelector("textarea");this.validateFormElement(i,!0),r.classList.contains("is-invalid")&&(t=!1)}),t}validateForm(e){e.type==="submit"&&(this._submitEvent=!0);const t=e.target.querySelectorAll("[data-validate-type]"),r=this._fullValidate(t);return this._createStates(e.target),r}_reset(){this._submitEvent=!1}_validateFormParent(e){const t=e.closest("[data-form-validate]");t.dataset.parentValidate&&this._validateParent(t,t.dataset.parentValidate)}}const Tp=n=>{n.target.submit()},Cp=n=>{n.preventDefault()},xp={base:{reset:!1,successCallback:Tp,errorCallback:Cp}},Za="+7",pd=" (___) ___-__-__",wp=Za.length+pd.length,gd=n=>{const e=`${Za}${pd}`,t=e.replace(/\D/g,"");let r=0,i=n.target.value.replace(/\D/g,"");t.length>=i.length&&(i=t),n.target.value=e.replace(/./g,s=>/[_\d]/.test(s)&&r<i.length?i.charAt(r++):r>=i.length?"":s)},Ap=({target:n})=>{n.value||(n.value=Za),n.addEventListener("input",gd),n.addEventListener("blur",Dd),n.addEventListener("keydown",_d),n.addEventListener("paste",vd),n.addEventListener("click",md)},md=n=>{n.target.selectionStart<4&&(n.preventDefault(),n.target.setSelectionRange(3,3))},vd=n=>{n.target.setSelectionRange(0,0),n.target.selectionStart||setTimeout(()=>{if(!n.target.value.startsWith("+7")){if(n.target.value.startsWith("+8")){n.target.value=`+7 ${n.target.value.slice(3)}`;return}n.target.value=""}})},_d=n=>{n.target.selectionStart<4&&(n.keyCode===37||n.keyCode===13)&&(n.preventDefault(),n.target.setSelectionRange(3,3))},Dd=({target:n})=>{if(n.value===Za){const e=n.closest('[data-validate-type="phone"]');if(n.value="",!e.hasAttribute("data-required")){e.classList.remove("is-valid"),e.classList.remove("is-invalid");const t=e.querySelector(".input-message");t&&t.remove()}e.classList.remove("not-empty"),n.removeEventListener("input",gd),n.removeEventListener("blur",Dd),n.removeEventListener("keydown",_d),n.removeEventListener("paste",vd),n.removeEventListener("click",md)}},Lp=n=>{const e=n.querySelector("input");n.dataset.phoneLength=wp,e.addEventListener("focus",Ap)};class Pp{constructor(){this._validator=new bp,this._initPhoneInput=Lp,this._callbacks=xp,this._validState=!1}_resetSelect(e){const t=e.querySelector("select"),r=t.options.selectedIndex,i=t.options[r],s=e.querySelector(".custom-select__text"),a=e.querySelectorAll(".custom-select__item");s.textContent=i.textContent,a.forEach((o,l)=>{if(l===r-1){o.setAttribute("aria-selected","true");return}o.setAttribute("aria-selected","false")}),t.value||(e.classList.remove("not-empty"),e.classList.remove("is-valid"))}_resetSelects(e){e.querySelectorAll("[data-select]").forEach(r=>{this._resetSelect(r)})}
11reset(e){this._validator._reset();const t=e.closest("[data-form-validate]");e.reset(),e.querySelectorAll(".is-invalid").forEach(r=>r.classList.remove("is-invalid")),e.querySelectorAll(".is-valid").forEach(r=>r.classList.remove("is-valid")),e.querySelectorAll(".input-message").forEach(r=>r.remove()),t.querySelectorAll(".input-message").forEach(r=>r.remove()),setTimeout(()=>{this._resetSelects(e)})}initPhoneInput(e){this._initPhoneInput(e)}validateForm(e){return this._validator.validateForm(e)}validateFormElement(e){return this._validator.validateFormElement(e)}createStates(e){return this._validator._createStates(e)}_onFormSubmit(e,t=null){if(e.preventDefault(),this._validState=this.validateForm(e),this._validState&&t){this._callbacks[t].successCallback(e),this._callbacks[t].reset&&setTimeout(()=>{this.reset(e.target)},this._callbacks[t].resetTimeout?this._callbacks[t].resetTimeout:500);return}if(!this._validState&&t){this._callbacks[t].errorCallback(e);return}}_onFormInput(e){this.validateFormElement(e),this.createStates(e)}_initValidate(e){const t=e.querySelector("form");if(!t||t.classList.contains("frm-fluent-form"))return;t.querySelectorAll('[data-validate-type="phone"]').forEach(s=>this._initPhoneInput(s));const i=e.dataset.callback;t.noValidate=!0,t.addEventListener("submit",s=>{this._onFormSubmit(s,i)}),t.addEventListener("input",s=>{this._onFormInput(s.target)}),t.addEventListener("reset",s=>{this.reset(s.target)})}init(){this._validateParent=document.querySelectorAll("[data-form-validate]"),this._validateParent.length&&this._validateParent.forEach(e=>this._initValidate(e))}}const Mp=()=>{window.addEventListener("load",()=>{const n=new Pp;window.form=n,n.init()})};function Fp(n,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(n,r.key,r)}}function kp(n,e,t){return e&&Fp(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}/*!
12 * Splide.js
13 * Version  : 4.1.4
14 * License  : MIT
15 * Copyright: 2022 Naotoshi Fujita
16 */var Au="(prefers-reduced-motion: reduce)",li=1,Op=2,Si=3,Mi=4,Os=5,da=6,Aa=7,Ip={CREATED:li,MOUNTED:Op,IDLE:Si,MOVING:Mi,SCROLLING:Os,DRAGGING:da,DESTROYED:Aa};function Jr(n){n.length=0}function bn(n,e,t){return Array.prototype.slice.call(n,e,t)}function Te(n){return n.bind.apply(n,[null].concat(bn(arguments,1)))}var yd=setTimeout,jo=function(){};function Lu(n){return requestAnimationFrame(n)}function Qa(n,e){return typeof e===n}function hs(n){return!Ol(n)&&Qa("object",n)}var kl=Array.isArray,Ed=Te(Qa,"function"),mn=Te(Qa,"string"),Is=Te(Qa,"undefined");function Ol(n){return n===null}function Sd(n){try{return n instanceof(n.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function Rs(n){return kl(n)?n:[n]}
vendor: 7,255 bytes, line 16
16function lr(n,e){Rs(n).forEach(e)}function Il(n,e){return n.indexOf(e)>-1}function fa(n,e){return n.push.apply(n,Rs(e)),n}function Xr(n,e,t){n&&lr(e,function(r){r&&n.classList[t?"add":"remove"](r)})}function Ir(n,e){Xr(n,mn(e)?e.split(" "):e,!0)}function Bs(n,e){lr(e,n.appendChild.bind(n))}function Rl(n,e){lr(n,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function ps(n,e){return Sd(n)&&(n.msMatchesSelector||n.matches).call(n,e)}function bd(n,e){var t=n?bn(n.children):[];return e?t.filter(function(r){return ps(r,e)}):t}function Ns(n,e){return e?bd(n,e)[0]:n.firstElementChild}var gs=Object.keys;function Rn(n,e,t){return n&&(t?gs(n).reverse():gs(n)).forEach(function(r){r!=="__proto__"&&e(n[r],r)}),n}function ms(n){return bn(arguments,1).forEach(function(e){Rn(e,function(t,r){n[r]=e[r]})}),n}function an(n){return bn(arguments,1).forEach(function(e){Rn(e,function(t,r){kl(t)?n[r]=t.slice():hs(t)?n[r]=an({},hs(n[r])?n[r]:{},t):n[r]=t})}),n}function Pu(n,e){lr(e||gs(n),function(t){delete n[t]})}function Rr(n,e){lr(n,function(t){lr(e,function(r){t&&t.removeAttribute(r)})})}function ae(n,e,t){hs(e)?Rn(e,function(r,i){ae(n,i,r)}):lr(n,function(r){Ol(t)||t===""?Rr(r,e):r.setAttribute(e,String(t))})}function hi(n,e,t){var r=document.createElement(n);return e&&(mn(e)?Ir(r,e):ae(r,e)),t&&Bs(t,r),r}function gr(n,e,t){if(Is(t))return getComputedStyle(n)[e];Ol(t)||(n.style[e]=""+t)}function vs(n,e){gr(n,"display",e)}function Td(n){n.setActive&&n.setActive()||n.focus({preventScroll:!0})}function mr(n,e){return n.getAttribute(e)}function Mu(n,e){return n&&n.classList.contains(e)}function Jt(n){return n.getBoundingClientRect()}function Wn(n){lr(n,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Cd(n){return Ns(new DOMParser().parseFromString(n,"text/html").body)}function Wr(n,e){n.preventDefault(),e&&(n.stopPropagation(),n.stopImmediatePropagation())}function xd(n,e){return n&&n.querySelector(e)}function Bl(n,e){return e?bn(n.querySelectorAll(e)):[]}function jr(n,e){Xr(n,e,!1)}function Ko(n){return n.timeStamp}function An(n){return mn(n)?n:n?n+"px":""}var zs="splide",Nl="data-"+zs;function Ji(n,e){if(!n)throw new Error("["+zs+"] "+(e||""))}var vn=Math.min,La=Math.max,Pa=Math.floor,_s=Math.ceil,Pt=Math.abs;function wd(n,e,t){return Pt(n-e)<t}function ha(n,e,t,r){var i=vn(e,t),s=La(e,t);return r?i<n&&n<s:i<=n&&n<=s}function ii(n,e,t){var r=vn(e,t),i=La(e,t);return vn(La(r,n),i)}function Zo(n){return+(n>0)-+(n<0)}function Qo(n,e){return lr(e,function(t){n=n.replace("%s",""+t)}),n}function zl(n){return n<10?"0"+n:""+n}var Fu={};function Rp(n){return""+n+zl(Fu[n]=(Fu[n]||0)+1)}function Ad(){var n=[];function e(a,o,l,u){i(a,o,function(c,f,g){var d="addEventListener"in c,p=d?c.removeEventListener.bind(c,f,l,u):c.removeListener.bind(c,l);d?c.addEventListener(f,l,u):c.addListener(l),n.push([c,f,g,l,p])})}function t(a,o,l){i(a,o,function(u,c,f){n=n.filter(function(g){return g[0]===u&&g[1]===c&&g[2]===f&&(!l||g[3]===l)?(g[4](),!1):!0})})}function r(a,o,l){var u,c=!0;return typeof CustomEvent=="function"?u=new CustomEvent(o,{bubbles:c,detail:l}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(o,c,!1,l)),a.dispatchEvent(u),u}function i(a,o,l){lr(a,function(u){u&&lr(o,function(c){c.split(" ").forEach(function(f){var g=f.split(".");l(u,g[0],g[1])})})})}function s(){n.forEach(function(a){a[4]()}),Jr(n)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var jn="mounted",ku="ready",_n="move",Gs="moved",Ld="click",Bp="active",Np="inactive",zp="visible",Gp="hidden",Ke="refresh",It="updated",Ds="resize",Gl="resized",Vp="drag",qp="dragging",Hp="dragged",Vl="scroll",Fi="scrolled",Wp="overflow",Pd="destroy",$p="arrows:mounted",Yp="arrows:updated",Up="pagination:mounted",Xp="pagination:updated",Md="navigation:mounted",Fd="autoplay:play",jp="autoplay:playing",kd="autoplay:pause",Od="lazyload:loaded",Id="sk",Rd="sh",Ma="ei";function ke(n){var e=n?n.event.bus:document.createDocumentFragment(),t=Ad();function r(s,a){t.bind(e,Rs(s).join(" "),function(o){a.apply(a,kl(o.detail)?o.detail:[])})}function i(s){t.dispatch(e,s,bn(arguments,1))}return n&&n.event.on(Pd,t.destroy),ms(t,{bus:e,on:r,off:Te(t.unbind,e),emit:i})}function Ja(n,e,t,r){var i=Date.now,s,a=0,o,l=!0,u=0;function c(){if(!l){if(a=n?vn((i()-s)/n,1):1,t&&t(a),a>=1&&(e(),s=i(),r&&++u>=r))return g();o=Lu(c)}}function f(v){v||p(),s=i()-(v?a*n:0),l=!1,o=Lu(c)}function g(){l=!0}function d(){s=i(),a=0,t&&t(a)}function p(){o&&cancelAnimationFrame(o),a=0,o=0,l=!0}function h(v){n=v}function y(){return l}return{start:f,rewind:d,pause:g,cancel:p,set:h,isPaused:y}}function Kp(n){var e=n;function t(i){e=i}function r(i){return Il(Rs(i),e)}return{set:t,is:r}}function Zp(n,e){var t=Ja(0,n,null,1);return function(){t.isPaused()&&t.start()}}function Qp(n,e,t){var r=n.state,i=t.breakpoints||{},s=t.reducedMotion||{},a=Ad(),o=[];function l(){var p=t.mediaQuery==="min";gs(i).sort(function(h,y){return p?+h-+y:+y-+h}).forEach(function(h){c(i[h],"("+(p?"min":"max")+"-width:"+h+"px)")}),c(s,Au),f()}function u(p){p&&a.destroy()}function c(p,h){var y=matchMedia(h);a.bind(y,"change",f),o.push([p,y])}function f(){var p=r.is(Aa),h=t.direction,y=o.reduce(function(v,m){return an(v,m[1].matches?m[0]:{})},{});Pu(t),d(y),t.destroy?n.destroy(t.destroy==="completely"):p?(u(!0),n.mount()):h!==t.direction&&n.refresh()}function g(p){matchMedia(Au).matches&&(p?an(t,s):Pu(t,gs(s)))}function d(p,h,y){an(t,p),h&&an(Object.getPrototypeOf(t),p),(y||!r.is(li))&&n.emit(It,t)}return{setup:l,destroy:u,reduce:g,set:d}}var eo="Arrow",to=eo+"Left",ro=eo+"Right",Bd=eo+"Up",Nd=eo+"Down",Ou="rtl",no="ttb",Do={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Bd,ro],ArrowRight:[Nd,to]};function Jp(n,e,t){function r(s,a,o){o=o||t.direction;var l=o===Ou&&!a?1:o===no?0:-1;return Do[s]&&Do[s][l]||s.replace(/width|left|right/i,function(u,c){var f=Do[u.toLowerCase()][l]||u;return c>0?f.charAt(0).toUpperCase()+f.slice(1):f})}function i(s){return s*(t.direction===Ou?1:-1)}return{resolve:r,orient:i}}var Zr="role",pi="tabindex",eg="disabled",vr="aria-",Vs=vr+"controls",zd=vr+"current",Iu=vr+"selected",rr=vr+"label",ql=vr+"labelledby",Gd=vr+"hidden",Hl=vr+"orientation",ys=vr+"roledescription",Ru=vr+"live",Bu=vr+"busy",Nu=vr+"atomic",Wl=[Zr,pi,eg,Vs,zd,rr,ql,Gd,Hl,ys],Nr=zs+"__",Tn="is-",yo=zs,zu=Nr+"track",tg=Nr+"list",io=Nr+"slide",Vd=io+"--clone",rg=io+"__container",$l=Nr+"arrows",so=Nr+"arrow",qd=so+"--prev",Hd=so+"--next",ao=Nr+"pagination",Wd=ao+"__page",ng=Nr+"progress",ig=ng+"__bar",sg=Nr+"toggle",ag=Nr+"spinner",og=Nr+"sr",lg=Tn+"initialized",$n=Tn+"active",$d=Tn+"prev",Yd=Tn+"next",Jo=Tn+"visible",el=Tn+"loading",Ud=Tn+"focus-in",Xd=Tn+"overflow",ug=[$n,Jo,$d,Yd,el,Ud,Xd],cg={slide:io,clone:Vd,arrows:$l,arrow:so,prev:qd,next:Hd,pagination:ao,page:Wd,spinner:ag};function dg(n,e){if(Ed(n.closest))return n.closest(e);for(var t=n;t&&t.nodeType===1&&!ps(t,e);)t=t.parentElement;return t}var fg=5,Gu=200,jd="touchstart mousedown",Eo="touchmove mousemove",So="touchend touchcancel mouseup click";function hg(n,e,t){var r=ke(n),i=r.on,s=r.bind,a=n.root,o=t.i18n,l={},u=[],c=[],f=[],g,d,p;function h(){_(),D(),m()}function y(){i(Ke,v),i(Ke,h),i(It,m),s(document,jd+" keydown",function(S){p=S.type==="
16keydown"},{capture:!0}),s(a,"focusin",function(){Xr(a,Ud,!!p)})}function v(S){var b=Wl.concat("style");Jr(u),jr(a,c),jr(g,f),Rr([g,d],b),Rr(a,S?b:["style",ys])}function m(){jr(a,c),jr(g,f),c=A(yo),f=A(zu),Ir(a,c),Ir(g,f),ae(a,rr,t.label),ae(a,ql,t.labelledby)}function _(){g=E("."+zu),d=Ns(g,"."+tg),Ji(g&&d,"A track/list element is missing."),fa(u,bd(d,"."+io+":not(."+Vd+")")),Rn({arrows:$l,pagination:ao,prev:qd,next:Hd,bar:ig,toggle:sg},function(S,b){l[b]=E("."+S)}),ms(l,{root:a,track:g,list:d,slides:u})}function D(){var S=a.id||Rp(zs),b=t.role;a.id=S,g.id=g.id||S+"-track",d.id=d.id||S+"-list",!mr(a,Zr)&&a.tagName!=="SECTION"&&b&&ae(a,Zr,b),ae(a,ys,o.carousel),ae(d,Zr,"presentation")}function E(S){var b=xd(a,S);return b&&dg(b,"."+yo)===a?b:void 0}function A(S){return[S+"--"+t.type,S+"--"+t.direction,t.drag&&S+"--draggable",t.isNavigation&&S+"--nav",S===yo&&$n]}return ms(l,{setup:h,mount:y,destroy:v})}var bi="slide",ki="loop",qs="fade";function pg(n,e,t,r){var i=ke(n),s=i.on,a=i.emit,o=i.bind,l=n.Components,u=n.root,c=n.options,f=c.isNavigation,g=c.updateOnMove,d=c.i18n,p=c.pagination,h=c.slideFocus,y=l.Direction.resolve,v=mr(r,"style"),m=mr(r,rr),_=t>-1,D=Ns(r,"."+rg),E;function A(){_||(r.id=u.id+"-slide"+zl(e+1),ae(r,Zr,p?"tabpanel":"group"),ae(r,ys,d.slide),ae(r,rr,m||Qo(d.slideLabel,[e+1,n.length]))),S()}function S(){o(r,"click",Te(a,Ld,k)),o(r,"keydown",Te(a,Id,k)),s([Gs,Rd,Fi],M),s(Md,C),g&&s(_n,x)}function b(){E=!0,i.destroy(),jr(r,ug),Rr(r,Wl),ae(r,"style",v),ae(r,rr,m||"")}function C(){var R=n.splides.map(function(T){var z=T.splide.Components.Slides.getAt(e);return z?z.slide.id:""}).join(" ");ae(r,rr,Qo(d.slideX,(_?t:e)+1)),ae(r,Vs,R),ae(r,Zr,h?"button":""),h&&Rr(r,ys)}function x(){E||M()}function M(){if(!E){var R=n.index;w(),O(),Xr(r,$d,e===R-1),Xr(r,Yd,e===R+1)}}function w(){var R=N();R!==Mu(r,$n)&&(Xr(r,$n,R),ae(r,zd,f&&R||""),a(R?Bp:Np,k))}function O(){var R=F(),T=!R&&(!N()||_);if(n.state.is([Mi,Os])||ae(r,Gd,T||""),ae(Bl(r,c.focusableNodes||""),pi,T?-1:""),h&&ae(r,pi,T?-1:0),R!==Mu(r,Jo)&&(Xr(r,Jo,R),a(R?zp:Gp,k)),!R&&document.activeElement===r){var z=l.Slides.getAt(n.index);z&&Td(z.slide)}}function I(R,T,z){gr(z&&D||r,R,T)}function N(){var R=n.index;return R===e||c.cloneStatus&&R===t}function F(){if(n.is(qs))return N();var R=Jt(l.Elements.track),T=Jt(r),z=y("left",!0),X=y("right",!0);return Pa(R[z])<=_s(T[z])&&Pa(T[X])<=_s(R[X])}function P(R,T){var z=Pt(R-e);return!_&&(c.rewind||n.is(ki))&&(z=vn(z,n.length-z)),z<=T}var k={index:e,slideIndex:t,slide:r,container:D,isClone:_,mount:A,destroy:b,update:M,style:I,isWithin:P};return k}function gg(n,e,t){var r=ke(n),i=r.on,s=r.emit,a=r.bind,o=e.Elements,l=o.slides,u=o.list,c=[];function f(){g(),i(Ke,d),i(Ke,g)}function g(){l.forEach(function(M,w){h(M,w,-1)})}function d(){E(function(M){M.destroy()}),Jr(c)}function p(){E(function(M){M.update()})}function h(M,w,O){var I=pg(n,w,O,M);I.mount(),c.push(I),c.sort(function(N,F){return N.index-F.index})}function y(M){return M?A(function(w){return!w.isClone}):c}function v(M){var w=e.Controller,O=w.toIndex(M),I=w.hasFocus()?1:t.perPage;return A(function(N){return ha(N.index,O,O+I-1)})}function m(M){return A(M)[0]}function _(M,w){lr(M,function(O){if(mn(O)&&(O=Cd(O)),Sd(O)){var I=l[w];I?Rl(O,I):Bs(u,O),Ir(O,t.classes.slide),b(O,Te(s,Ds))}}),s(Ke)}function D(M){Wn(A(M).map(function(w){return w.slide})),s(Ke)}function E(M,w){y(w).forEach(M)}function A(M){return c.filter(Ed(M)?M:function(w){return mn(M)?ps(w.slide,M):Il(Rs(M),w.index)})}function S(M,w,O){E(function(I){I.style(M,w,O)})}function b(M,w){var O=Bl(M,"img"),I=O.length;I?O.forEach(function(N){a(N,"load error",function(){--I||w()})}):w()}function C(M){return M?l.length:c.length}function x(){return c.length>t.perPage}return{mount:f,destroy:d,update:p,register:h,get:y,getIn:v,getAt:m,add:_,remove:D,forEach:E,filter:A,style:S,getLength:C,isEnough:x}}function mg(n,e,t){var r=ke(n),i=r.on,s=r.bind,a=r.emit,o=e.Slides,l=e.Direction.resolve,u=e.Elements,c=u.root,f=u.track,g=u.list,d=o.getAt,p=o.style,h,y,v;function m(){_(),s(window,"resize load",Zp(Te(a,Ds))),i([It,Ke],_),i(Ds,D)}function _(){h=t.direction===no,gr(c,"maxWidth",An(t.width)),gr(f,l("paddingLeft"),E(!1)),gr(f,l("paddingRight"),E(!0)),D(!0)}function D(k){var R=Jt(c);(k||y.width!==R.width||y.height!==R.height)&&(gr(f,"height",A()),p(l("marginRight"),An(t.gap)),p("width",b()),p("height",C(),!0),y=R,a(Gl),v!==(v=P())&&(Xr(c,Xd,v),a(Wp,v)))}function E(k){var R=t.padding,T=l(k?"right":"left");return R&&An(R[T]||(hs(R)?0:R))||"0px"}function A(){var k="";return h&&(k=S(),Ji(k,"height or heightRatio is missing."),k="calc("+k+" - "+E(!1)+" - "+E(!0)+")"),k}function S(){return An(t.height||Jt(g).width*t.heightRatio)}function b(){return t.autoWidth?null:An(t.fixedWidth)||(h?"":x())}function C(){return An(t.fixedHeight)||(h?t.autoHeight?null:x():S())}function x(){var k=An(t.gap);return"calc((100%"+(k&&" + "+k)+")/"+(t.perPage||1)+(k&&" - "+k)+")"}function M(){return Jt(g)[l("width")]}function w(k,R){var T=d(k||0);return T?Jt(T.slide)[l("width")]+(R?0:N()):0}function O(k,R){var T=d(k);if(T){var z=Jt(T.slide)[l("right")],X=Jt(g)[l("left")];return Pt(z-X)+(R?0:N())}return 0}function I(k){return O(n.length-1)-O(0)+w(0,k)}function N(){var k=d(0);return k&&parseFloat(gr(k.slide,l("marginRight")))||0}function F(k){return parseFloat(gr(f,l("padding"+(k?"Right":"Left"))))||0}function P(){return n.is(qs)||I(!0)>M()}return{mount:m,resize:D,listSize:M,slideSize:w,sliderSize:I,totalSize:O,getPadding:F,isOverflow:P}}var vg=2;function _g(n,e,t){var r=ke(n),i=r.on,s=e.Elements,a=e.Slides,o=e.Direction.resolve,l=[],u;function c(){i(Ke,f),i([It,Ds],d),(u=y())&&(p(u),e.Layout.resize(!0))}function f(){g(),c()}function g(){Wn(l),Jr(l),r.destroy()}function d(){var v=y();u!==v&&(u<v||!v)&&r.emit(Ke)}function p(v){var m=a.get().slice(),_=m.length;if(_){for(;m.length<v;)fa(m,m);
vendor: 18,710 bytes, lines 16-21
16fa(m.slice(-v),m.slice(0,v)).forEach(function(D,E){var A=E<v,S=h(D.slide,E);A?Rl(S,m[0].slide):Bs(s.list,S),fa(l,S),a.register(S,E-v+(A?0:_),D.index)})}}function h(v,m){var _=v.cloneNode(!0);return Ir(_,t.classes.clone),_.id=n.root.id+"-clone"+zl(m+1),_}function y(){var v=t.clones;if(!n.is(ki))v=0;else if(Is(v)){var m=t[o("fixedWidth")]&&e.Layout.slideSize(0),_=m&&_s(Jt(s.track)[o("width")]/m);v=_||t[o("autoWidth")]&&n.length||t.perPage*vg}return v}return{mount:c,destroy:g}}function Dg(n,e,t){var r=ke(n),i=r.on,s=r.emit,a=n.state.set,o=e.Layout,l=o.slideSize,u=o.getPadding,c=o.totalSize,f=o.listSize,g=o.sliderSize,d=e.Direction,p=d.resolve,h=d.orient,y=e.Elements,v=y.list,m=y.track,_;function D(){_=e.Transition,i([jn,Gl,It,Ke],E)}function E(){e.Controller.isBusy()||(e.Scroll.cancel(),S(n.index),e.Slides.update())}function A(T,z,X,U){T!==z&&k(T>X)&&(M(),b(x(I(),T>X),!0)),a(Mi),s(_n,z,X,T),_.start(z,function(){a(Si),s(Gs,z,X,T),U&&U()})}function S(T){b(O(T,!0))}function b(T,z){if(!n.is(qs)){var X=z?T:C(T);gr(v,"transform","translate"+p("X")+"("+X+"px)"),T!==X&&s(Rd)}}function C(T){if(n.is(ki)){var z=w(T),X=z>e.Controller.getEnd(),U=z<0;(U||X)&&(T=x(T,X))}return T}function x(T,z){var X=T-P(z),U=g();return T-=h(U*(_s(Pt(X)/U)||1))*(z?1:-1),T}function M(){b(I(),!0),_.cancel()}function w(T){for(var z=e.Slides.get(),X=0,U=1/0,K=0;K<z.length;K++){var de=z[K].index,V=Pt(O(de,!0)-T);if(V<=U)U=V,X=de;else break}return X}function O(T,z){var X=h(c(T-1)-F(T));return z?N(X):X}function I(){var T=p("left");return Jt(v)[T]-Jt(m)[T]+h(u(!1))}function N(T){return t.trimSpace&&n.is(bi)&&(T=ii(T,0,h(g(!0)-f()))),T}function F(T){var z=t.focus;return z==="center"?(f()-l(T,!0))/2:+z*l(T)||0}function P(T){return O(T?e.Controller.getEnd():0,!!t.trimSpace)}function k(T){var z=h(x(I(),T));return T?z>=0:z<=v[p("scrollWidth")]-Jt(m)[p("width")]}function R(T,z){z=Is(z)?I():z;var X=T!==!0&&h(z)<h(P(!1)),U=T!==!1&&h(z)>h(P(!0));return X||U}return{mount:D,move:A,jump:S,translate:b,shift:x,cancel:M,toIndex:w,toPosition:O,getPosition:I,getLimit:P,exceededLimit:R,reposition:E}}function yg(n,e,t){var r=ke(n),i=r.on,s=r.emit,a=e.Move,o=a.getPosition,l=a.getLimit,u=a.toPosition,c=e.Slides,f=c.isEnough,g=c.getLength,d=t.omitEnd,p=n.is(ki),h=n.is(bi),y=Te(I,!1),v=Te(I,!0),m=t.start||0,_,D=m,E,A,S;function b(){C(),i([It,Ke,Ma],C),i(Gl,x)}function C(){E=g(!0),A=t.perMove,S=t.perPage,_=k();var V=ii(m,0,d?_:E-1);V!==m&&(m=V,a.reposition())}function x(){_!==k()&&s(Ma)}function M(V,Q,ge){if(!de()){var ie=O(V),De=P(ie);De>-1&&(Q||De!==m)&&(X(De),a.move(ie,De,D,ge))}}function w(V,Q,ge,ie){e.Scroll.scroll(V,Q,ge,function(){var De=P(a.toIndex(o()));X(d?vn(De,_):De),ie&&ie()})}function O(V){var Q=m;if(mn(V)){var ge=V.match(/([+\-<>])(\d+)?/)||[],ie=ge[1],De=ge[2];ie==="+"||ie==="-"?Q=N(m+ +(""+ie+(+De||1)),m):ie===">"?Q=De?R(+De):y(!0):ie==="<"&&(Q=v(!0))}else Q=p?V:ii(V,0,_);return Q}function I(V,Q){var ge=A||(K()?1:S),ie=N(m+ge*(V?-1:1),m,!(A||K()));return ie===-1&&h&&!wd(o(),l(!V),1)?V?0:_:Q?ie:P(ie)}function N(V,Q,ge){if(f()||K()){var ie=F(V);ie!==V&&(Q=V,V=ie,ge=!1),V<0||V>_?!A&&(ha(0,V,Q,!0)||ha(_,Q,V,!0))?V=R(T(V)):p?V=ge?V<0?-(E%S||S):E:V:t.rewind?V=V<0?_:0:V=-1:ge&&V!==Q&&(V=R(T(Q)+(V<Q?-1:1)))}else V=-1;return V}function F(V){if(h&&t.trimSpace==="move"&&V!==m)for(var Q=o();Q===u(V,!0)&&ha(V,0,n.length-1,!t.rewind);)V<m?--V:++V;return V}function P(V){return p?(V+E)%E||0:V}function k(){for(var V=E-(K()||p&&A?1:S);d&&V-- >0;)if(u(E-1,!0)!==u(V,!0)){V++;break}return ii(V,0,E-1)}function R(V){return ii(K()?V:S*V,0,_)}function T(V){return K()?vn(V,_):Pa((V>=_?E-1:V)/S)}function z(V){var Q=a.toIndex(V);return h?ii(Q,0,_):Q}function X(V){V!==m&&(D=m,m=V)}function U(V){return V?D:m}function K(){return!Is(t.focus)||t.isNavigation}function de(){return n.state.is([Mi,Os])&&!!t.waitForTransition}return{mount:b,go:M,scroll:w,getNext:y,getPrev:v,getAdjacent:I,getEnd:k,setIndex:X,getIndex:U,toIndex:R,toPage:T,toDest:z,hasFocus:K,isBusy:de}}var Eg="http://www.w3.org/2000/svg",Sg="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",js=40;function bg(n,e,t){var r=ke(n),i=r.on,s=r.bind,a=r.emit,o=t.classes,l=t.i18n,u=e.Elements,c=e.Controller,f=u.arrows,g=u.track,d=f,p=u.prev,h=u.next,y,v,m={};function _(){E(),i(It,D)}function D(){A(),_()}function E(){var w=t.arrows;w&&!(p&&h)&&C(),p&&h&&(ms(m,{prev:p,next:h}),vs(d,w?"":"none"),Ir(d,v=$l+"--"+t.direction),w&&(S(),M(),ae([p,h],Vs,g.id),a($p,p,h)))}function A(){r.destroy(),jr(d,v),y?(Wn(f?[p,h]:d),p=h=null):Rr([p,h],Wl)}function S(){i([jn,Gs,Ke,Fi,Ma],M),s(h,"click",Te(b,">")),s(p,"click",Te(b,"<"))}function b(w){c.go(w,!0)}function C(){d=f||hi("div",o.arrows),p=x(!0),h=x(!1),y=!0,Bs(d,[p,h]),!f&&Rl(d,g)}function x(w){var O='<button class="'+o.arrow+" "+(w?o.prev:o.next)+'" type="button"><svg xmlns="'+Eg+'" viewBox="0 0 '+js+" "+js+'" width="'+js+'" height="'+js+'" focusable="false"><path d="'+(t.arrowPath||Sg)+'" />';return Cd(O)}function M(){if(p&&h){var w=n.index,O=c.getPrev(),I=c.getNext(),N=O>-1&&w<O?l.last:l.prev,F=I>-1&&w>I?l.first:l.next;p.disabled=O<0,h.disabled=I<0,ae(p,rr,N),ae(h,rr,F),a(Yp,p,h,O,I)}}return{arrows:m,mount:_,destroy:A,update:M}}var Tg=Nl+"-interval";function Cg(n,e,t){var r=ke(n),i=r.on,s=r.bind,a=r.emit,o=Ja(t.interval,n.go.bind(n,">"),S),l=o.isPaused,u=e.Elements,c=e.Elements,f=c.root,g=c.toggle,d=t.autoplay,p,h,y=d==="pause";function v(){d&&(m(),g&&ae(g,Vs,u.track.id),y||_(),A())}function m(){t.pauseOnHover&&s(f,"mouseenter mouseleave",function(C){p=C.type==="mouseenter",E()}),t.pauseOnFocus&&s(f,"focusin focusout",function(C){h=C.type==="focusin",E()}),g&&s(g,"click",function(){y?_():D(!0)}),i([_n,Vl,Ke],o.rewind),i(_n,b)}function _(){l()&&e.Slides.isEnough()&&(o.start(!t.resetProgress),h=p=y=!1,A(),a(Fd))}function D(C){C===void 0&&(C=!0),y=!!C,A(),l()||(o.pause(),a(kd))}function E(){y||(p||h?D(!1):_())}function A(){g&&(Xr(g,$n,!y),ae(g,rr,t.i18n[y?"play":"pause"]))}function S(C){var x=u.bar;x&&gr(x,"width",C*100+"%"),a(jp,C)}function b(C){var x=e.Slides.getAt(C);o.set(x&&+mr(x.slide,Tg)||t.interval)}return{mount:v,destroy:o.cancel,play:_,pause:D,isPaused:l}}function xg(n,e,t){var r=ke(n),i=r.on;function s(){t.cover&&(i(Od,Te(o,!0)),i([jn,It,Ke],Te(a,!0)))}function a(l){e.Slides.forEach(function(u){var c=Ns(u.container||u.slide,"img");c&&c.src&&o(l,c,u)})}function o(l,u,c){c.style("background",l?'center/cover no-repeat url("'+u.src+'")':"",!0),vs(u,l?"none":"")}return{mount:s,destroy:Te(a,!1)}}var wg=10,Ag=600,Lg=.6,Pg=1.5,Mg=800;function Fg(n,e,t){var r=ke(n),i=r.on,s=r.emit,a=n.state.set,o=e.Move,l=o.getPosition,u=o.getLimit,c=o.exceededLimit,f=o.translate,g=n.is(bi),d,p,h=1;function y(){i(_n,D),i([It,Ke],E)}function v(S,b,C,x,M){var w=l();if(D(),C&&(!g||!c())){var O=e.Layout.sliderSize(),I=Zo(S)*O*Pa(Pt(S)/O)||0;S=o.toPosition(e.Controller.toDest(S%O))+I}var N=wd(w,S,1);h=1,b=N?0:b||La(Pt(S-w)/Pg,Mg),p=x,d=Ja(b,m,Te(_,w,S,M),1),a(Os),s(Vl),d.start()}function m(){a(Si),p&&p(),s(Fi)}function _(S,b,C,x){var M=l(),w=S+(b-S)*A(x),O=(w-M)*h;f(M+O),g&&!C&&c()&&(h*=Lg,Pt(O)<wg&&v(u(c(!0)),Ag,!1,p,!0))}function D(){d&&d.cancel()}function E(){d&&!d.isPaused()&&(D(),m())}function A(S){var b=t.easingFunc;return b?b(S):1-Math.pow(1-S,4)}return{mount:y,destroy:D,scroll:v,cancel:E}}var si={passive:!1,capture:!0};function kg(n,e,t){var r=ke(n),i=r.on,s=r.emit,a=r.bind,o=r.unbind,l=n.state,u=e.Move,c=e.Scroll,f=e.Controller,g=e.Elements.track,d=e.Media.reduce,p=e.Direction,h=p.resolve,y=p.orient,v=u.getPosition,m=u.exceededLimit,_,D,E,A,S,b=!1,C,x,M;function w(){a(g,Eo,jo,si),a(g,So,jo,si),a(g,jd,I,si),a(g,"click",P,{capture:!0}),a(g,"dragstart",Wr),i([jn,It],O)}function O(){var G=t.drag;Ve(!G),A=G==="free"}function I(G){if(C=!1,!x){var te=De(G);ie(G.target)&&(te||!G.button)&&(f.isBusy()?Wr(G,!0):(M=te?g:window,S=l.is([Mi,Os]),E=null,a(M,Eo,N,si),a(M,So,F,si),u.cancel(),c.cancel(),k(G)))}}function N(G){if(l.is(da)||(l.set(da),s(Vp)),G.cancelable)if(S){u.translate(_+ge(K(G)));var te=de(G)>Gu,Ce=b!==(b=m());(te||Ce)&&k(G),C=!0,s(qp),Wr(G)}else z(G)&&(S=T(G),Wr(G))}function F(G){l.is(da)&&(l.set(Si),s(Hp)),S&&(R(G),Wr(G)),o(M,Eo,N),o(M,So,F),S=!1}function P(G){!x&&C&&Wr(G,!0)}function k(G){E=D,D=G,_=v()}function R(G){var te=X(G),Ce=U(te),Oe=t.rewind&&t.rewindByDrag;d(!1),A?f.scroll(Ce,0,t.snap):n.is(qs)?f.go(y(Zo(te))<0?Oe?"<":"-":Oe?">":"+"):n.is(bi)&&b&&Oe?f.go(m(!0)?">":"<"):f.go(f.toDest(Ce),!0),d(!0)}function T(G){var te=t.dragMinThreshold,Ce=hs(te),Oe=Ce&&te.mouse||0,B=(Ce?te.touch:+te)||10;return Pt(K(G))>(De(G)?B:Oe)}function z(G){return Pt(K(G))>Pt(K(G,!0))}function X(G){if(n.is(ki)||!b){var te=de(G);if(te&&te<Gu)return K(G)/te}return 0}function U(G){return v()+Zo(G)*vn(Pt(G)*(t.flickPower||600),A?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function K(G,te){return Q(G,te)-Q(V(G),te)}function de(G){return Ko(G)-Ko(V(G))}function V(G){return D===G&&E||D}function Q(G,te){return(De(G)?G.changedTouches[0]:G)["page"+h(te?"Y":"X")]}function ge(G){return G/(b&&n.is(bi)?fg:1)}function ie(G){var te=t.noDrag;return!ps(G,"."+Wd+", ."+so)&&(!te||!ps(G,te))}function De(G){return typeof TouchEvent<"u"&&G instanceof TouchEvent}function Ye(){return S}function Ve(G){x=G}return{mount:w,disable:Ve,isDragging:Ye}}var Og={Spacebar:" ",Right:ro,Left:to,Up:Bd,Down:Nd};function Yl(n){return n=mn(n)?n:n.key,Og[n]||n}var Vu="keydown";function Ig(n,e,t){var r=ke(n),i=r.on,s=r.bind,a=r.unbind,o=n.root,l=e.Direction.resolve,u,c;function f(){g(),i(It,d),i(It,g),i(_n,h)}function g(){var v=t.keyboard;v&&(u=v==="global"?window:o,s(u,Vu,y))}function d(){a(u,Vu)}function p(v){c=v}function h(){var v=c;c=!0,yd(function(){c=v})}function y(v){if(!c){var m=Yl(v);m===l(to)?n.go("<"):m===l(ro)&&n.go(">")}}return{mount:f,destroy:d,disable:p}}var es=Nl+"-lazy",pa=es+"-srcset",Rg="["+es+"], ["+pa+"]";function Bg(n,e,t){var r=ke(n),i=r.on,s=r.off,a=r.bind,o=r.emit,l=t.lazyLoad==="sequential",u=[Gs,Fi],c=[];function f(){t.lazyLoad&&(g(),i(Ke,g))}function g(){Jr(c),d(),l?v():(s(u),i(u,p),p())}function d(){e.Slides.forEach(function(m){Bl(m.slide,Rg).forEach(function(_){var D=mr(_,es),E=mr(_,pa);if(D!==_.src||E!==_.srcset){var A=t.classes.spinner,S=_.parentElement,b=Ns(S,"."+A)||hi("span",A,S);c.push([_,m,b]),_.src||vs(_,"none")}})})}function p(){c=c.filter(function(m){var _=t.perPage*((t.preloadPages||1)+1)-1;return m[1].isWithin(n.index,_)?h(m):!0}),c.length||s(u)}function h(m){var _=m[0];Ir(m[1].slide,el),a(_,"load error",Te(y,m)),ae(_,"src",mr(_,es)),ae(_,"srcset",mr(_,pa)),Rr(_,es),Rr(_,pa)}function y(m,_){var D=m[0],E=m[1];jr(E.slide,el),_.type!=="error"&&(Wn(m[2]),vs(D,""),o(Od,D,E),o(Ds)),l&&v()}function v(){c.length&&h(c.shift())}return{mount:f,destroy:Te(Jr,c),check:p}}function Ng(n,e,t){var r=ke(n),i=r.on,s=r.emit,a=r.bind,o=e.Slides,l=e.Elements,u=e.Controller,c=u.hasFocus,f=u.getIndex,g=u.go,d=e.Direction.resolve,p=l.pagination,h=[],y,v;function m(){_(),i([It,Ke,Ma],m);var x=t.pagination;p&&vs(p,x?"":"none"),x&&(i([_n,Vl,Fi],C),D(),C(),s(Up,{list:y,items:h},b(n.index)))}function _(){y&&(Wn(p?bn(y.children):y),jr(y,v),Jr(h),y=null),r.destroy()}function D(){var x=n.length,M=t.classes,w=t.i18n,O=t.perPage,I=c()?u.getEnd()+1:_s(x/O);y=p||hi("ul",M.pagination,l.track.parentElement),Ir(y,v=ao+"--"+S()),ae(y,Zr,"tablist"),ae(y,rr,w.select),ae(y,Hl,S()===no?"vertical":"");for(var N=0;N<I;N++){var F=hi("li",null,y),P=hi("button",{class:M.page,type:"button"},F),k=o.getIn(N).map(function(T){return T.slide.id}),R=!c()&&O>1?w.pageX:w.slideX;a(P,"click",Te(E,N)),t.paginationKeyboard&&a(P,"keydown",Te(A,N)),ae(F,Zr,"presentation"),ae(P,Zr,"tab"),ae(P,Vs,k.join(" ")),ae(P,rr,Qo(R,N+1)),ae(P,pi,-1),h.push({li:F,button:P,page:N})}}function E(x){g(">"+x,!0)}function A(x,M){var w=h.length,O=Yl(M),I=S(),N=-1;O===d(ro,!1,I)?N=++x%w:O===d(to,!1,I)?N=(--x+w)%w:O==="Home"?N=0:O==="End"&&(N=w-1);var F=h[N];F&&(Td(F.button),g(">"+N),Wr(M,!0))}function S(){return t.paginationDirection||t.direction}function b(x){return h[u.toPage(x)]}function C(){var x=b(f(!0)),M=b(f());if(x){var w=x.button;jr(w,$n),Rr(w,Iu),ae(w,pi,-1)}if(M){var O=M.button;Ir(O,$n),ae(O,Iu,!0),ae(O,pi,"")}s(Xp,{list:y,items:h},x,M)}return{items:h,mount:m,destroy:_,getAt:b,update:C}}var zg=[" ","Enter"];function Gg(n,e,t){var r=t.isNavigation,i=t.slideFocus,s=[];function a(){n.splides.forEach(function(p){p.isParent||(u(n,p.splide),u(p.splide,n))}),r&&c()}function o(){s.forEach(function(p){p.destroy()}),Jr(s)}function l(){o(),a()}function u(p,h){var y=ke(p);y.on(_n,function(v,m,_){h.go(h.is(ki)?_:v)}),s.push(y)}function c(){var p=ke(n),h=p.on;h(Ld,g),h(Id,d),h([jn,It],f),s.push(p),p.emit(Md,n.splides)}function f(){ae(e.Elements.list,Hl,t.direction===no?"vertical":"")}function g(p){n.go(p.index)}function d(p,h){Il(zg,Yl(h))&&(g(p),Wr(h))}return{setup:Te(e.Media.set,{slideFocus:Is(i)?r:i},!0),mount:a,destroy:o,remount:l}}function Vg(n,e,t){var r=ke(n),i=r.bind,s=0;function a(){t.wheel&&i(e.Elements.track,"wheel",o,si)}function o(u){if(u.cancelable){var c=u.deltaY,f=c<0,g=Ko(u),d=t.wheelMinThreshold||0,p=t.wheelSleep||0;Pt(c)>d&&g-s>p&&(n.go(f?"<":">"),s=g),l(f)&&Wr(u)}}function l(u){return!t.releaseWheel||n.state.is(Mi)||e.Controller.getAdjacent(u)!==-1}return{mount:a}}var qg=90;function Hg(n,e,t){var r=ke(n),i=r.on,s=e.Elements.track,a=t.live&&!t.isNavigation,o=hi("span",og),l=Ja(qg,Te(c,!1));function u(){a&&(g(!e.Autoplay.isPaused()),ae(s,Nu,!0),o.textContent="…",i(Fd,Te(g,!0)),i(kd,Te(g,!1)),i([Gs,Fi],Te(c,!0)))}function c(d){ae(s,Bu,d),d?(Bs(s,o),l.start()):(Wn(o),l.cancel())}function f(){Rr(s,[Ru,Nu,Bu]),Wn(o)}function g(d){a&&ae(s,Ru,d?"off":"polite")}return{mount:u,disable:g,destroy:f}}var Wg=Object.freeze({__proto__:null,Media:Qp,Direction:Jp,Elements:hg,Slides:gg,Layout:mg,Clones:_g,Move:Dg,Controller:yg,Arrows:bg,Autoplay:Cg,Cover:xg,Scroll:Fg,Drag:kg,Keyboard:Ig,LazyLoad:Bg,Pagination:Ng,Sync:Gg,Wheel:Vg,Live:Hg}),$g={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},Yg={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:cg,i18n:$g,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ug(n,e,t){var r=e.Slides;function i(){ke(n).on([jn,Ke],s)}function s(){r.forEach(function(o){o.style("transform","translateX(-"+100*o.index+"%)")})}function a(o,l){r.style("transition","opacity "+t.speed+"ms "+t.easing),yd(l)}return{mount:i,start:a,cancel:jo}}function Xg(n,e,t){var r=e.Move,i=e.Controller,s=e.Scroll,a=e.Elements.list,o=Te(gr,a,"transition"),l;function u(){ke(n).bind(a,"transitionend",function(d){d.target===a&&l&&(f(),l())})}function c(d,p){var h=r.toPosition(d,!0),y=r.getPosition(),v=g(d);Pt(h-y)>=1&&v>=1?t.useScroll?s.scroll(h,v,!1,p):(o("transform "+v+"ms "+t.easing),r.translate(h,!0),l=p):(r.jump(d),p())}function f(){o(""),s.cancel()}function g(d){var p=t.rewindSpeed;if(n.is(bi)&&p){var h=i.getIndex(!0),y=i.getEnd();if(h===0&&d>=y||h>=y&&d===0)return p}return t.speed}return{mount:u,start:c,cancel:f}}var jg=function(){function n(t,r){this.event=ke(),this.Components={},this.state=Kp(li),this.splides=[],this._o={},this._E={};var i=mn(t)?xd(document,t):t;Ji(i,i+" is invalid."),this.root=i,r=an({label:mr(i,rr)||"",labelledby:mr(i,ql)||""},Yg,n.defaults,r||{});try{an(r,JSON.parse(mr(i,Nl)))}catch{Ji(!1,"Invalid JSON")}this._o=Object.create(an({},r))}var e=n.prototype;return e.mount=function(r,i){var s=this,a=this.state,o=this.Components;Ji(a.is([li,Aa]),"Already mounted!"),a.set(li),this._C=o,this._T=i||this._T||(this.is(qs)?Ug:Xg),this._E=r||this._E;var l=ms({},Wg,this._E,{Transition:this._T});return Rn(l,function(u,c){var f=u(s,o,s._o);o[c]=f,f.setup&&f.setup()}),Rn(o,function(u){u.mount&&u.mount()}),this.emit(jn),Ir(this.root,lg),a.set(Si),this.emit(ku),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Si)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,i){return this.event.on(r,i),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var i;return(i=this.event).emit.apply(i,[r].concat(bn(arguments,1))),this},e.add=function(r,i){return this._C.Slides.add(r,i),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(Ke),this},e.destroy=function(r){r===void 0&&(r=!0);var i=this.event,s=this.state;return s.is(li)?ke(this).on(ku,this.destroy.bind(this,r)):(Rn(this._C,function(a){a.destroy&&a.destroy(r)},!0),i.emit(Pd),i.destroy(),r&&Jr(this.splides),s.set(Aa)),this},kp(n,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),n}(),oo=jg;oo.defaults={};oo.STATES=Ip;/*!
17 * @splidejs/splide-extension-auto-scroll
18 * Version  : 0.5.3
19 * License  : MIT
20 * Copyright: 2022 Naotoshi Fujita
21 */function Kg(n){n.length=0}function Ul(n,e,t){return Array.prototype.slice.call(n,e,t)}function lo(n){return n.bind.apply(n,[null].concat(Ul(arguments,1)))}function qu(n){return requestAnimationFrame(n)}function Xl(n,e){return typeof e===n}var Kd=Array.isArray;lo(Xl,"function");lo(Xl,"string");lo(Xl,"undefined");function Zd(n){return Kd(n)?n:[n]}function Hu(n,e){Zd(n).forEach(e)}var Zg=Object.keys;function Qg(n,e,t){if(n){var r=Zg(n);r=r;for(var i=0;i<r.length;i++){var s=r[i];if(s!=="__proto__"&&e(n[s],s)===!1)break}}return n}function Jg(n){return Ul(arguments,1).forEach(function(e){Qg(e,function(t,r){n[r]=e[r]})}),n}var em=Math.min;function tm(){var n=[];function e(a,o,l,u){i(a,o,function(c,f,g){var d="addEventListener"in c,p=d?c.removeEventListener.bind(c,f,l,u):c.removeListener.bind(c,l);d?c.addEventListener(f,l,u):c.addListener(l),n.push([c,f,g,l,p])})}function t(a,o,l){i(a,o,function(u,c,f){n=n.filter(function(g){return g[0]===u&&g[1]===c&&g[2]===f&&(!l||g[3]===l)?(g[4](),!1):!0})})}function r(a,o,l){var u,c=!0;return typeof CustomEvent=="function"?u=new CustomEvent(o,{bubbles:c,detail:l}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(o,c,!1,l)),a.dispatchEvent(u),u}function i(a,o,l){Hu(a,function(u){u&&Hu(o,function(c){c.split(" ").forEach(function(f){var g=f.split(".");l(u,g[0],g[1])})})})}
21function s(){n.forEach(function(a){a[4]()}),Kg(n)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var Wu="move",$u="moved",rm="updated",Yu="drag",nm="dragged",Uu="scroll",Xu="scrolled",im="destroy";function sm(n){var e=n?n.event.bus:document.createDocumentFragment(),t=tm();function r(s,a){t.bind(e,Zd(s).join(" "),function(o){a.apply(a,Kd(o.detail)?o.detail:[])})}function i(s){t.dispatch(e,s,Ul(arguments,1))}return n&&n.event.on(im,t.destroy),Jg(t,{bus:e,on:r,off:lo(t.unbind,e),emit:i})}function Qd(n,e,t,r){var i=Date.now,s,a=0,o,l=!0,u=0;function c(){if(!l){if(a=n?em((i()-s)/n,1):1,t&&t(a),a>=1&&(e(),s=i(),r&&++u>=r))return g();qu(c)}}function f(v){!v&&p(),s=i()-(v?a*n:0),l=!1,qu(c)}function g(){l=!0}function d(){s=i(),a=0,t&&t(a)}function p(){o&&cancelAnimationFrame(o),a=0,o=0,l=!0}function h(v){n=v}function y(){return l}return{start:f,rewind:d,pause:g,cancel:p,set:h,isPaused:y}}function am(n,e){var t;function r(){t||(t=Qd(e,function(){n(),t=null},null,1),t.start())}return r}var om="is-active",lm="slide",um="fade";function Jd(n,e,t){return Array.prototype.slice.call(n,e,t)}function jl(n){return n.bind(null,...Jd(arguments,1))}function uo(n,e){return typeof e===n}function tl(n){return!ef(n)&&uo("object",n)}const cm=Array.isArray;jl(uo,"function");jl(uo,"string");const dm=jl(uo,"undefined");function ef(n){return n===null}function fm(n){return cm(n)?n:[n]}function Fa(n,e){fm(n).forEach(e)}function hm(n,e,t){n&&Fa(e,r=>{r&&n.classList[t?"add":"remove"](r)})}const pm=Object.keys;function tf(n,e,t){if(n){let r=pm(n);r=r;for(let i=0;i<r.length;i++){const s=r[i];if(s!=="__proto__"&&e(n[s],s)===!1)break}}return n}function ju(n){return Jd(arguments,1).forEach(e=>{tf(e,(t,r)=>{n[r]=e[r]})}),n}function gm(n,e){Fa(n,t=>{Fa(e,r=>{t&&t.removeAttribute(r)})})}function rf(n,e,t){tl(e)?tf(e,(r,i)=>{rf(n,i,r)}):Fa(n,r=>{ef(t)||t===""?gm(r,e):r.setAttribute(e,String(t))})}const{min:Ku,max:Zu,floor:AD,ceil:LD,abs:PD}=Math;function mm(n,e,t){const r=Ku(e,t),i=Zu(e,t);return Ku(Zu(r,n),i)}const vm={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},_m={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function nf(n,e,t){const{on:r,off:i,bind:s,unbind:a}=sm(n),{translate:o,getPosition:l,toIndex:u,getLimit:c}=e.Move,{setIndex:f,getIndex:g}=e.Controller,{orient:d}=e.Direction,{toggle:p}=e.Elements,{Live:h}=e,{root:y}=n,v=am(e.Arrows.update,500);let m={},_,D,E,A,S,b;function C(){const{autoScroll:U}=t;m=ju({},vm,tl(U)?U:{})}function x(){n.is(um)||!_&&t.autoScroll!==!1&&(_=Qd(0,k),w(),I())}function M(){_&&(_.cancel(),_=null,b=void 0,i([Wu,Yu,Uu,$u,Xu]),a(y,"mouseenter mouseleave focusin focusout"),a(p,"click"))}function w(){m.pauseOnHover&&s(y,"mouseenter mouseleave",U=>{E=U.type==="mouseenter",P()}),m.pauseOnFocus&&s(y,"focusin focusout",U=>{A=U.type==="focusin",P()}),m.useToggleButton&&s(p,"click",()=>{D?N():F()}),r(rm,O),r([Wu,Yu,Uu],()=>{S=!0,F(!1)}),r([$u,nm,Xu],()=>{S=!1,P()})}function O(){const{autoScroll:U}=t;U!==!1?(m=ju({},m,tl(U)?U:{}),x()):M(),_&&!dm(b)&&o(b)}function I(){m.autoStart&&(document.readyState==="complete"?N():s(window,"load",N))}function N(){X()&&(_.start(!0),h.disable(!0),A=E=D=!1,z())}function F(U=!0){D||(D=U,z(),X()||(_.pause(),h.disable(!1)))}function P(){D||(E||A||S?F(!1):N())}function k(){const U=l(),K=R(U);U!==K?(o(K),T(b=l())):(F(!1),m.rewind&&n.go(m.speed>0?0:e.Controller.getEnd())),v()}function R(U){const K=m.speed||1;return U+=d(K),n.is(lm)&&(U=mm(U,c(!1),c(!0))),U}function T(U){const{length:K}=n,de=(u(U)+K)%K;de!==g()&&(f(de),e.Slides.update(),e.Pagination.update(),t.lazyLoad==="nearby"&&e.LazyLoad.check())}function z(){if(p){const U=D?"startScroll":"pauseScroll";hm(p,om,!D),rf(p,"aria-label",t.i18n[U]||_m[U])}}function X(){return!_||_.isPaused()}return{setup:C,mount:x,destroy:M,play:N,pause:F,isPaused:X}}const Dm=n=>{const e=n.querySelectorAll(".splide");return Array.from(e).map((t,r)=>{const i=r%2!==0,s=Number(t.getAttribute("data-marquee-gap"))||.5,a=new oo(t,{type:"loop",drag:!1,arrows:!1,pagination:!1,autoWidth:!0,clones:10,gap:xt(s),autoScroll:{speed:i?-.8:.8,pauseOnHover:!1,pauseOnFocus:!1}});return a.mount({AutoScroll:nf}),a})},Qu=n=>
21{n.length&&n.forEach(e=>e.destroy(!0))},ym=()=>{const n=document.querySelectorAll(".marquee");n.length&&n.forEach(e=>{let t=[],r=window.innerWidth;const i=()=>{if($e.matches){Qu(t),t=[];return}Qu(t),t=Dm(e)},s=()=>{const a=window.innerWidth;a!==r&&(r=a,i())};i(),window.addEventListener("resize",s)})},_r={firstSlideMessage:"Это первый слайд",lastSlideMessage:"Это последний слайд",paginationBulletMessage:"Переход к слайду {{index}}",prevSlideMessage:"Предыдущий слайд",nextSlideMessage:"Следующий слайд"};function Ju(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function Kl(n={},e={}){const t=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>t.indexOf(r)<0).forEach(r=>{typeof n[r]>"u"?n[r]=e[r]:Ju(e[r])&&Ju(n[r])&&Object.keys(e[r]).length>0&&Kl(n[r],e[r])})}const sf={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 sr(){const n=typeof document<"u"?document:{};return Kl(n,sf),n}const Em={document:sf,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(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function vt(){const n=typeof window<"u"?window:{};return Kl(n,Em),n}function Sm(n=""){return n.trim().split(" ").filter(e=>!!e.trim())}function bm(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function ka(n,e=0){return setTimeout(n,e)}function Yr(){return Date.now()}function Tm(n){const e=vt();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function Cm(n,e="x"){const t=vt();let r,i,s;const a=Tm(n);return t.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(o=>o.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix(i==="none"?"":i)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(t.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Ks(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function xm(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function Gt(...n){const e=Object(n[0]);for(let t=1;t<n.length;t+=1){const r=n[t];if(r!=null&&!xm(r)){const i=Object.keys(Object(r)).filter(s=>s!=="__proto__"&&s!=="constructor"&&s!=="prototype");for(let s=0,a=i.length;s<a;s+=1){const o=i[s],l=Object.getOwnPropertyDescriptor(r,o);l!==void 0&&l.enumerable&&(Ks(e[o])&&Ks(r[o])?r[o].__swiper__?e[o]=r[o]:Gt(e[o],r[o]):!Ks(e[o])&&Ks(r[o])?(e[o]={},r[o].__swiper__?e[o]=r[o]:Gt(e[o],r[o])):e[o]=r[o])}}}return e}function Qn(n,e,t){n.style.setProperty(e,t)}function af({swiper:n,targetPosition:e,side:t}){const r=vt(),i=-n.translate;let s=null,a;const o=n.params.speed;n.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(n.cssModeFrameID);const l=e>i?"next":"prev",u=(f,g)=>l==="next"&&f>=g||l==="prev"&&f<=g,c=()=>{a=new Date().getTime(),s===null&&(s=a);const f=Math.max(Math.min((a-s)/o,1),0),g=.5-Math.cos(f*Math.PI)/2;let d=i+g*(e-i);
21if(u(d,e)&&(d=e),n.wrapperEl.scrollTo({[t]:d}),u(d,e)){n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(()=>{n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo({[t]:d})}),r.cancelAnimationFrame(n.cssModeFrameID);return}n.cssModeFrameID=r.requestAnimationFrame(c)};c()}function Mr(n,e=""){const t=vt(),r=[...n.children];return t.HTMLSlotElement&&n instanceof HTMLSlotElement&&r.push(...n.assignedElements()),e?r.filter(i=>i.matches(e)):r}function wm(n,e){const t=[e];for(;t.length>0;){const r=t.shift();if(n===r)return!0;t.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function Am(n,e){const t=vt();let r=e.contains(n);return!r&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(r=[...e.assignedElements()].includes(n),r||(r=wm(n,e))),r}function Oa(n){try{console.warn(n);return}catch{}}function Es(n,e=[]){const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:Sm(e)),t}function Lm(n,e){const t=[];for(;n.previousElementSibling;){const r=n.previousElementSibling;e?r.matches(e)&&t.push(r):t.push(r),n=r}return t}function Pm(n,e){const t=[];for(;n.nextElementSibling;){const r=n.nextElementSibling;e?r.matches(e)&&t.push(r):t.push(r),n=r}return t}function on(n,e){return vt().getComputedStyle(n,null).getPropertyValue(e)}function Ss(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function of(n,e){const t=[];let r=n.parentElement;for(;r;)e?r.matches(e)&&t.push(r):t.push(r),r=r.parentElement;return t}function rl(n,e,t){const r=vt();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function fe(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}function Ia(n,e=""){typeof trustedTypes<"u"?n.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):n.innerHTML=e}let bo;function Mm(){const n=vt(),e=sr();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function lf(){return bo||(bo=Mm()),bo}let To;function Fm({userAgent:n}={}){const e=lf(),t=vt(),r=t.navigator.platform,i=n||t.navigator.userAgent,s={ios:!1,android:!1},a=t.screen.width,o=t.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const c=i.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=r==="Win32";let d=r==="MacIntel";const p=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&d&&e.touch&&p.indexOf(`${a}x${o}`)>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),d=!1),l&&!g&&(s.os="android",s.android=!0),(u||f||c)&&(s.os="ios",s.ios=!0),s}function uf(n={}){return To||(To=Fm(n)),To}let Co;function km(){const n=vt(),e=uf();let t=!1;function r(){const o=n.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(r()){const o=String(n.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(n.navigator.userAgent),s=r(),a=s||i&&e.ios;return{isSafari:t||s,needPerspectiveFix:t,need3dFix:a,isWebView:i}}function cf(){return Co||(Co=km()),Co}function Om({swiper:n,on:e,emit:t}){const r=vt();let i=null,s=null;const a=()=>{!n||n.destroyed||!n.initialized||(t("beforeResize"),t("resize"))},o=()=>{!n||n.destroyed||!n.initialized||(i=new ResizeObserver(c=>{s=r.requestAnimationFrame(()=>{const{width:f,height:g}=n;let d=f,p=g;c.forEach(({contentBoxSize:h,contentRect:y,target:v})=>{v&&v!==n.el||(d=y?y.width:(h[0]||h).inlineSize,p=y?y.height:(h[0]||h).blockSize)}),(d!==f||p!==g)&&a()})}),i.observe(n.el))},l=()=>{s&&r.cancelAnimationFrame(s),i&&i.unobserve&&n.el&&(i.unobserve(n.el),i=null)},u=()=>{!n||n.destroyed||!n.initialized||t("orientationchange")};e("init",()=>{if(n.params.resizeObserver&&typeof r.ResizeObserver<"u"){o();return}r.addEventListener("resize",a),r.addEventListener("orientationchange",u)}),e("destroy",()=>{l(),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",u)})}function Im({swiper:n,extendParams:e,on:t,emit:r}){const i=[],s=vt(),a=(u,c={})=>{const f=s.MutationObserver||s.WebkitMutationObserver,g=new f(d=>{if(n.__preventObserver__)return;if(d.length===1){r("observerUpdate",d[0]);return}const p=function(){r("observerUpdate",d[0])};s.requestAnimationFrame?s.requestAnimationFrame(p):s.setTimeout(p,0)});g.observe(u,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:n.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),i.push(g)},o=()=>
vendor: 4,398 bytes, line 21
21{if(n.params.observer){if(n.params.observeParents){const u=of(n.hostEl);for(let c=0;c<u.length;c+=1)a(u[c])}a(n.hostEl,{childList:n.params.observeSlideChildren}),a(n.wrapperEl,{attributes:!1})}},l=()=>{i.forEach(u=>{u.disconnect()}),i.splice(0,i.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",o),t("destroy",l)}var Rm={on(n,e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const i=t?"unshift":"push";return n.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](e)}),r},once(n,e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function i(...s){r.off(n,i),i.__emitterProxy&&delete i.__emitterProxy,e.apply(r,s)}return i.__emitterProxy=e,r.on(n,i,t)},onAny(n,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof n!="function")return t;const r=e?"unshift":"push";return t.eventsAnyListeners.indexOf(n)<0&&t.eventsAnyListeners[r](n),t},offAny(n){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(n);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(n,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(r=>{typeof e>"u"?t.eventsListeners[r]=[]:t.eventsListeners[r]&&t.eventsListeners[r].forEach((i,s)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&t.eventsListeners[r].splice(s,1)})}),t},emit(...n){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,r,i;return typeof n[0]=="string"||Array.isArray(n[0])?(t=n[0],r=n.slice(1,n.length),i=e):(t=n[0].events,r=n[0].data,i=n[0].context||e),r.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach(a=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(o=>{o.apply(i,[a,...r])}),e.eventsListeners&&e.eventsListeners[a]&&e.eventsListeners[a].forEach(o=>{o.apply(i,r)})}),e}};function Bm(){const n=this;let e,t;const r=n.el;typeof n.params.width<"u"&&n.params.width!==null?e=n.params.width:e=r.clientWidth,typeof n.params.height<"u"&&n.params.height!==null?t=n.params.height:t=r.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(on(r,"padding-left")||0,10)-parseInt(on(r,"padding-right")||0,10),t=t-parseInt(on(r,"padding-top")||0,10)-parseInt(on(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))}function Nm(){const n=this;function e(x,M){return parseFloat(x.getPropertyValue(n.getDirectionLabel(M))||0)}const t=n.params,{wrapperEl:r,slidesEl:i,rtlTranslate:s,wrongRTL:a}=n,o=n.virtual&&t.virtual.enabled,l=o?n.virtual.slides.length:n.slides.length,u=Mr(i,`.${n.params.slideClass}, swiper-slide`),c=o?n.virtual.slides.length:u.length;let f=[];const g=[],d=[];let p=t.slidesOffsetBefore;typeof p=="function"&&(p=t.slidesOffsetBefore.call(n));let h=t.slidesOffsetAfter;typeof h=="function"&&(h=t.slidesOffsetAfter.call(n));const y=n.snapGrid.length,v=n.slidesGrid.length,m=n.size-p-h;let _=t.spaceBetween,D=-p,E=0,A=0;if(typeof m>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*m:typeof _=="string"&&(_=parseFloat(_)),n.virtualSize=-_-p-h,u.forEach(x=>{s?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Qn(r,"--swiper-centered-offset-before",""),Qn(r,"--swiper-centered-offset-after","")),t.cssMode&&(Qn(r,"--swiper-slides-offset-before",`${p}px`),Qn(r,"--swiper-slides-offset-after",`${h}px`));const S=t.grid&&t.grid.rows>1&&n.grid;S?n.grid.initSlides(u):n.grid&&n.grid.unsetSlides();let b;const C=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(x=>typeof t.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<c;x+=1){b=0;const M=u[x];if(!(M&&(S&&n.grid.updateSlide(x,M,u),on(M,"display")==="none"))){if(o&&t.slidesPerView==="auto")t.virtual.slidesPerViewAutoSlideSize&&(b=t.virtual.slidesPerViewAutoSlideSize),b&&M&&(t.roundLengths&&(b=Math.floor(b)),M.style[n.getDirectionLabel("width")]=`${b}px`);else if(t.slidesPerView==="auto"){C&&(M.style[n.getDirectionLabel("width")]="");const w=getComputedStyle(M),O=M.style.transform,I=M.style.webkitTransform;if(O&&(M.style.transform="none"),I&&(M.style.webkitTransform="none"),t.roundLengths)b=n.isHorizontal()?rl(M,"width"):rl(M,"he
21ight");else{const N=e(w,"width"),F=e(w,"padding-left"),P=e(w,"padding-right"),k=e(w,"margin-left"),R=e(w,"margin-right"),T=w.getPropertyValue("box-sizing");if(T&&T==="border-box")b=N+k+R;else{const{clientWidth:z,offsetWidth:X}=M;b=N+F+P+k+R+(X-z)}}O&&(M.style.transform=O),I&&(M.style.webkitTransform=I),t.roundLengths&&(b=Math.floor(b))}else b=(m-(t.slidesPerView-1)*_)/t.slidesPerView,t.roundLengths&&(b=Math.floor(b)),M&&(M.style[n.getDirectionLabel("width")]=`${b}px`);M&&(M.swiperSlideSize=b),d.push(b),t.centeredSlides?(D=D+b/2+E/2+_,E===0&&x!==0&&(D=D-m/2-_),x===0&&(D=D-m/2-_),Math.abs(D)<1/1e3&&(D=0),t.roundLengths&&(D=Math.floor(D)),A%t.slidesPerGroup===0&&f.push(D),g.push(D)):(t.roundLengths&&(D=Math.floor(D)),(A-Math.min(n.params.slidesPerGroupSkip,A))%n.params.slidesPerGroup===0&&f.push(D),g.push(D),D=D+b+_),n.virtualSize+=b+_,E=b,A+=1}}if(n.virtualSize=Math.max(n.virtualSize,m)+h,s&&a&&(t.effect==="slide"||t.effect==="coverflow")&&(r.style.width=`${n.virtualSize+_}px`),t.setWrapperSize&&(r.style[n.getDirectionLabel("width")]=`${n.virtualSize+_}px`),S&&n.grid.updateWrapperSize(b,f),!t.centeredSlides){const x=t.slidesPerView!=="auto"&&t.slidesPerView%1!==0,M=t.snapToSlideEdge&&!t.loop&&(t.slidesPerView==="auto"||x);let w=f.length;if(M){let I;if(t.slidesPerView==="auto"){I=1;let N=0;for(let F=d.length-1;F>=0&&(N+=d[F]+(F<d.length-1?_:0),N<=m);F-=1)I=d.length-F}else I=Math.floor(t.slidesPerView);w=Math.max(c-I,0)}const O=[];for(let I=0;I<f.length;I+=1){let N=f[I];t.roundLengths&&(N=Math.floor(N)),M?I<=w&&O.push(N):f[I]<=n.virtualSize-m&&O.push(N)}f=O,Math.floor(n.virtualSize-m)-Math.floor(f[f.length-1])>1&&(M||f.push(n.virtualSize-m))}if(o&&t.loop){const x=d[0]+_;if(t.slidesPerGroup>1){const M=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),w=x*t.slidesPerGroup;for(let O=0;O<M;O+=1)f.push(f[f.length-1]+w)}for(let M=0;M<n.virtual.slidesBefore+n.virtual.slidesAfter;M+=1)t.slidesPerGroup===1&&f.push(f[f.length-1]+x),g.push(g[g.length-1]+x),n.virtualSize+=x}if(f.length===0&&(f=[0]),_!==0){const x=n.isHorizontal()&&s?"marginLeft":n.getDirectionLabel("marginRight");u.filter((M,w)=>!t.cssMode||t.loop?!0:w!==u.length-1).forEach(M=>{M.style[x]=`${_}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let x=0;d.forEach(w=>{x+=w+(_||0)}),x-=_;const M=x>m?x-m:0;f=f.map(w=>w<=0?-p:w>M?M+h:w)}if(t.centerInsufficientSlides){let x=0;if(d.forEach(M=>{x+=M+(_||0)}),x-=_,x<m){const M=(m-x)/2;f.forEach((w,O)=>{f[O]=w-M}),g.forEach((w,O)=>{g[O]=w+M})}}if(Object.assign(n,{slides:u,snapGrid:f,slidesGrid:g,slidesSizesGrid:d}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Qn(r,"--swiper-centered-offset-before",`${-f[0]}px`),Qn(r,"--swiper-centered-offset-after",`${n.size/2-d[d.length-1]/2}px`);const x=-n.snapGrid[0],M=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(w=>w+x),n.slidesGrid=n.slidesGrid.map(w=>w+M)}if(c!==l&&n.emit("slidesLengthChange"),f.length!==y&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),g.length!==v&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!o&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const x=`${t.containerModifierClass}backface-hidden`,M=n.el.classList.contains(x);c<=t.maxBackfaceHiddenSlides?M||n.el.classList.add(x):M&&n.el.classList.remove(x)}}function zm(n){const e=this,t=[],r=e.virtual&&e.params.virtual.enabled;let i=0,s;typeof n=="number"?e.setTransition(n):n===!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(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){const o=e.activeIndex+s;if(o>e.slides.length&&!r)break;t.push(a(o))}else t.push(a(e.activeIndex));for(s=0;s<t.length;s+=1)if(typeof t[s]<"u"){const o=t[s].offsetHeight;i=o>i?o:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function Gm(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(n.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-n.cssOverflowAdjustment()}const ec=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function Vm(n=this&&this.translate||0){const e=this,t=e.params,{slides:r,rtlTranslate:i,snapGrid:s}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-n;i&&(a=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;
vendor: 17,281 bytes, line 21
21typeof 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 f=(a+(t.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+o),g=(a-s[0]+(t.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+o),d=-(a-c),p=d+e.slidesSizesGrid[l],h=d>=0&&d<=e.size-e.slidesSizesGrid[l],y=d>=0&&d<e.size-1||p>1&&p<=e.size||d<=0&&p>=e.size;y&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),ec(u,y,t.slideVisibleClass),ec(u,h,t.slideFullyVisibleClass),u.progress=i?-f:f,u.originalProgress=i?-g:g}}function qm(n){const e=this;if(typeof n>"u"){const c=e.rtlTranslate?-1:1;n=e&&e.translate&&e.translate*c||0}const t=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:s,isEnd:a,progressLoop:o}=e;const l=s,u=a;if(r===0)i=0,s=!0,a=!0;else{i=(n-e.minTranslate())/r;const c=Math.abs(n-e.minTranslate())<1,f=Math.abs(n-e.maxTranslate())<1;s=c||i<=0,a=f||i>=1,c&&(i=0),f&&(i=1)}if(t.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[c],d=e.slidesGrid[f],p=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(n);h>=g?o=(h-g)/p:o=(h+p-d)/p,o>1&&(o-=1)}Object.assign(e,{progress:i,progressLoop:o,isBeginning:s,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),s&&!l&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(l&&!s||u&&!a)&&e.emit("fromEdge"),e.emit("progress",i)}const xo=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function Hm(){const n=this,{slides:e,params:t,slidesEl:r,activeIndex:i}=n,s=n.virtual&&t.virtual.enabled,a=n.grid&&t.grid&&t.grid.rows>1,o=f=>Mr(r,`.${t.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(s)if(t.loop){let f=i-n.virtual.slidesBefore;f<0&&(f=n.virtual.slides.length+f),f>=n.virtual.slides.length&&(f-=n.virtual.slides.length),l=o(`[data-swiper-slide-index="${f}"]`)}else l=o(`[data-swiper-slide-index="${i}"]`);else a?(l=e.find(f=>f.column===i),c=e.find(f=>f.column===i+1),u=e.find(f=>f.column===i-1)):l=e[i];l&&(a||(c=Pm(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),u=Lm(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{xo(f,f===l,t.slideActiveClass),xo(f,f===c,t.slideNextClass),xo(f,f===u,t.slidePrevClass)}),n.emitSlidesClasses()}const ga=(n,e)=>{if(!n||n.destroyed||!n.params)return;const t=()=>n.isElement?"swiper-slide":`.${n.params.slideClass}`,r=e.closest(t());if(r){let i=r.querySelector(`.${n.params.lazyPreloaderClass}`);!i&&n.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),i&&!i.lazyPreloaderManaged&&i.remove())})),i&&!i.lazyPreloaderManaged&&i.remove()}},wo=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},nl=n=>{if(!n||n.destroyed||!n.params)return;let e=n.params.lazyPreloadPrevNext;const t=n.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const r=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),i=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const a=i,o=[a-e];o.push(...Array.from({length:e}).map((l,u)=>a+r+u)),n.slides.forEach((l,u)=>{o.includes(l.column)&&wo(n,u)});return}const s=i+r-1;if(n.params.rewind||n.params.loop)for(let a=i-e;a<=s+e;a+=1){const o=(a%t+t)%t;(o<i||o>s)&&wo(n,o)}else for(let a=Math.max(i-e,0);a<=Math.min(s+e,t-1);a+=1)a!==i&&(a>s||a<i)&&wo(n,a)};function Wm(n){const{slidesGrid:e,params:t}=n,r=n.rtlTranslate?n.translate:-n.translate;let i;for(let s=0;s<e.length;s+=1)typeof e[s+1]<"u"?r>=e[s]&&r<e[s+1]-(e[s+1]-e[s])/2?i=s:r>=e[s]&&r<e[s+1]&&(i=s+1):r>=e[s]&&(i=s);return t.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function $m(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:a,snapIndex:o}=e;let l=n,u;const c=d=>{let p=d-e.virtual.slidesBefore;return p<0&&(p=e.virtual.slides.length+p),p>=e.virtual.slides.length&&(p-=e.virtual.slides.length),p};if(typeof l>"u"&&(l=Wm(e)),r.indexOf(t)>=0)u=r.indexOf(t);else{const d=Math.min(i.slidesPerGroupSkip,l);u=d+Math.floor((l-d)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===s&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const f=e.grid&&i.grid&&i.grid.rows>1;let g;if(e.virtual&&i.virtual.enabled)i.loop?g=c(l):g=l;else if(f){const d=e.slides.find(h=>h.column===l);let p=parseInt(d.getAttribute("data-swiper-slide-index"),10);Number.isNaN(p)&&(p=Math.max(e.slides.indexOf(d),0)),g=Math.floor(p/i.grid.rows)}else if(e.slides[l]){const d=e.slides[l].getAttribute("data-swiper-slide-index");d?g=parseInt(d,10):g=l}else g=l;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:a,realIndex:g,previousIndex:s,activeIndex:l}),e.initialized&&nl(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ym(n,e){const t=this,r=t.params;let i=n.closest(`.${r.slideClass}, swiper-slide`);!i&&t.isElement&&e&&e.length>1&&e.includes(n)&&[...e.slice(e.indexOf(n)+1,e.length)].forEach(o=>{!i&&o.matches&&o.matches(`.${r.slideClass}, swiper-slide`)&&(i=o)});let s=!1,a;if(i){for(let o=0;o<t.slides.length;o+=1)if(t.slides[o]===i){s=!0,a=o;break}}if(i&&s)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 Um={updateSize:Bm,updateSlides:Nm,updateAutoHeight:zm,updateSlidesOffset:Gm,updateSlidesProgress:Vm,updateProgress:qm,updateSlidesClasses:Hm,updateActiveIndex:$m,updateClickedSlide:Ym};function Xm(n=this.isHorizontal()?"x":"y"){const e=this,{params:t,rtlTranslate:r,translate:i,wrapperEl:s}=e;if(t.virtualTranslate)return r?-i:i;if(t.cssMode)return i;let a=Cm(s,n);return a+=e.cssOverflowAdjustment(),r&&(a=-a),a||0}function jm(n,e){const t=this,{rtlTranslate:r,params:i,wrapperEl:s,progress:a}=t;let o=0,l=0;const u=0;t.isHorizontal()?o=r?-n:n:l=n,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?o:l,i.cssMode?s[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-o:-l:i.virtualTranslate||(t.isHorizontal()?o-=t.cssOverflowAdjustment():l-=t.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${l}px, ${u}px)`);let c;const f=t.maxTranslate()-t.minTranslate();f===0?c=0:c=(n-t.minTranslate())/f,c!==a&&t.updateProgress(n),t.emit("setTranslate",t.translate,e)}function Km(){return-this.snapGrid[0]}function Zm(){return-this.snapGrid[this.snapGrid.length-1]}function Qm(n=0,e=this.params.speed,t=!0,r=!0,i){const s=this,{params:a,wrapperEl:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const l=s.minTranslate(),u=s.maxTranslate();let c;if(r&&n>l?c=l:r&&n<u?c=u:c=n,s.updateProgress(c),a.cssMode){const f=s.isHorizontal();if(e===0)o[f?"scrollLeft":"scrollTop"]=-c;else{if(!s.support.smoothScroll)return af({swiper:s,targetPosition:-c,side:f?"left":"top"}),!0;o.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(s.setTransition(0),s.setTranslate(c),t&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(c),t&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(g){!s||s.destroyed||g.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,t&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var Jm={getTranslate:Xm,setTranslate:jm,minTranslate:Km,maxTranslate:Zm,translateTo:Qm};function ev(n,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${n}ms`,t.wrapperEl.style.transitionDelay=n===0?"0ms":""),t.emit("setTransition",n,e)}function df({swiper:n,runCallbacks:e,direction:t,step:r}){const{activeIndex:i,previousIndex:s}=n;let a=t;a||(i>s?a="next":i<s?a="prev":a="reset"),n.emit(`transition${r}`),e&&a==="reset"?n.emit(`slideResetTransition${r}`):e&&i!==s&&(n.emit(`slideChangeTransition${r}`),a==="next"?n.emit(`slideNextTransition${r}`):n.emit(`slidePrevTransition${r}`))}function tv(n=!0,e){const t=this,{params:r}=t;r.cssMode||(r.autoHeight&&t.updateAutoHeight(),df({swiper:t,runCallbacks:n,direction:e,step:"Start"}))}function rv(n=!0,e){const t=this,{params:r}=t;t.animating=!1,!r.cssMode&&(t.setTransition(0),df({swiper:t,runCallbacks:n,direction:e,step:"End"}))}var nv={setTransition:ev,transitionStart:tv,transitionEnd:rv};function iv(n=0,e,t=!0,r,i){typeof n=="string"&&(n=parseInt(n,10));const s=this;let a=n;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:g,wrapperEl:d,enabled:p}=s;if(!p&&!r&&!i||s.destroyed||s.animating&&o.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=s.params.speed);const h=Math.min(s.params.slidesPerGroupSkip,a);let y=h+Math.floor((a-h)/s.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const v=-l[y];if(o.normalizeSlideIndex)for(let S=0;S<u.length;S+=1){const b=-Math.floor(v*100),C=Math.floor(u[S]*100),x=Math.floor(u[S+1]*100);typeof u[S+1]<"u"?b>=C&&b<x-(x-C)/2?a=S:b>=C&&b<x&&(a=S+1):b>=C&&(a=S)}if(s.initialized&&a!==f&&(!s.allowSlideNext&&(g?v>s.translate&&v>s.minTranslate():v<s.translate&&v<s.minTranslate())||!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(v);let m;a>f?m="next":a<f?m="prev":m="reset";const _=s.virtual&&s.params.virtual.enabled;if(!(_&&i)&&(g&&-v===s.translate||!g&&v===s.translate))return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),o.effect!=="slide"&&s.setTranslate(v),m!=="reset"&&(s.transitionStart(t,m),s.transitionEnd(t,m)),!1;if(o.cssMode){const S=s.isHorizontal(),b=g?v:-v;if(e===0)_&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),_&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{d[S?"scrollLeft":"scrollTop"]=b})):d[S?"scrollLeft":"scrollTop"]=b,_&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return af({swiper:s,targetPosition:b,side:S?"left":"top"}),!0;d.scrollTo({[S?"left":"top"]:b,behavior:"smooth"})}return!0}const A=cf().isSafari;return _&&!i&&A&&s.isElement&&s.virtual.update(!1,!1,a),s.setTransition(e),s.setTranslate(v),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,r),s.transitionStart(t,m),e===0?s.transitionEnd(t,m):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(b){!s||s.destroyed||b.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,m))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function sv(n=0,e,t=!0,r){typeof n=="string"&&(n=parseInt(n,10));const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=n;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a=a+i.virtual.slidesBefore;else{let o;if(s){const h=a*i.params.grid.rows;o=i.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===h).column}else o=i.getSlideIndexByData(a);const l=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u,slidesOffsetBefore:c,slidesOffsetAfter:f}=i.params,g=u||!!c||!!f;let d=i.params.slidesPerView;d==="auto"?d=i.slidesPerViewDynamic():(d=Math.ceil(parseFloat(i.params.slidesPerView,10)),g&&d%2===0&&(d=d+1));let p=l-o<d;if(g&&(p=p||o<Math.ceil(d/2)),r&&g&&i.params.slidesPerView!=="auto"&&!s&&(p=!1),p){const h=g?o<i.activeIndex?"prev":"next":o-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?o+1:o-l+1,slideRealIndex:h==="next"?i.realIndex:void 0})}if(s){const h=a*i.params.grid.rows;a=i.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===h).column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame(()=>{i.slideTo(a,e,t,r)}),i}function av(n,e=!0,t){const r=this,{enabled:i,params:s,animating:a}=r;if(!i||r.destroyed)return r;typeof n>"u"&&(n=r.params.speed);let o=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<s.slidesPerGroupSkip?1:o,u=r.virtual&&s.virtual.enabled;if(s.loop){if(a&&!u&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,n,e,t)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,n,e,t):r.slideTo(r.activeIndex+l,n,e,t)}function ov(n,e=!0,t){const r=this,{params:i,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof n>"u"&&(n=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 f=o?r.translate:-r.translate;function g(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const d=g(f),p=s.map(m=>g(m)),h=i.freeMode&&i.freeMode.enabled;let y=s[p.indexOf(d)-1];if(typeof y>"u"&&(i.cssMode||h)){let m;s.forEach((_,D)=>{d>=_&&(m=D)}),typeof m<"u"&&(y=h?s[m]:s[m>0?m-1:m])}let v=0;if(typeof y<"u"&&(v=a.indexOf(y),v<0&&(v=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(v=v-r.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&r.isBeginning){const m=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(m,n,e,t)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(v,n,e,t)}),!0;return r.slideTo(v,n,e,t)}function lv(n,e=!0,t){const r=this;if(!r.destroyed)return typeof n>"u"&&(n=r.params.speed),r.slideTo(r.activeIndex,n,e,t)}function uv(n,e=!0,t,r=.5){const i=this;if(i.destroyed)return;typeof n>"u"&&(n=i.params.speed);let s=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,s),o=a+Math.floor((s-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&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[o-1],c=i.snapGrid[o];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,n,e,t)}function cv(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,r=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let i=n.getSlideIndexWhenGrid(n.clickedIndex),s;const a=n.isElement?"swiper-slide":`.${e.slideClass}`,o=n.grid&&n.params.grid&&n.params.grid.rows>1;if(e.loop){if(n.animating)return;s=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?n.slideToLoop(s):i>(o?(n.slides.length-r)/2-(n.params.grid.rows-1):n.slides.length-r)?(n.loopFix(),i=n.getSlideIndex(Mr(t,`${a}[data-swiper-slide-index="${s}"]`)[0]),ka(()=>{n.slideTo(i)})):n.slideTo(i)}else n.slideTo(i)}var dv={slideTo:iv,slideToLoop:sv,slideNext:av,slidePrev:ov,slideReset:lv,slideToClosest:uv,slideToClickedSlide:cv};function fv(n,e){const t=this,{params:r,slidesEl:i}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const s=()=>{Mr(i,`.${r.slideClass}, swiper-slide`).forEach((p,h)=>{p.setAttribute("data-swiper-slide-index",h)})},a=()=>{const d=Mr(i,`.${r.slideBlankClass}`);d.forEach(p=>{p.remove()}),d.length>0&&(t.recalcSlides(),t.updateSlides())},o=t.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||o)&&a();const l=r.slidesPerGroup*(o?r.grid.rows:1),u=t.slides.length%l!==0,c=o&&t.slides.length%r.grid.rows!==0,f=d=>{for(let p=0;p<d;p+=1){const h=t.isElement?Es("swiper-slide",[r.slideBlankClass]):Es("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(h)}};if(u){if(r.loopAddBlankSlides){const d=l-t.slides.length%l;f(d),t.recalcSlides(),t.updateSlides()}else Oa("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)");s()}else if(c){if(r.loopAddBlankSlides){const d=r.grid.rows-t.slides.length%r.grid.rows;f(d),t.recalcSlides(),t.updateSlides()}else Oa("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may 
21not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();const g=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;t.loopFix({slideRealIndex:n,direction:g?void 0:"next",initial:e})}function hv({slideRealIndex:n,slideTo:e=!0,direction:t,setTranslate:r,activeSlideIndex:i,initial:s,byController:a,byMousewheel:o}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:f,slidesEl:g,params:d}=l,{centeredSlides:p,slidesOffsetBefore:h,slidesOffsetAfter:y,initialSlide:v}=d,m=p||!!h||!!y;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&d.virtual.enabled){e&&(!m&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):m&&l.snapIndex<d.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=f,l.emit("loopFix");return}let _=d.slidesPerView;_==="auto"?_=l.slidesPerViewDynamic():(_=Math.ceil(parseFloat(d.slidesPerView,10)),m&&_%2===0&&(_=_+1));const D=d.slidesPerGroupAuto?_:d.slidesPerGroup;let E=m?Math.max(D,Math.ceil(_/2)):D;E%D!==0&&(E+=D-E%D),E+=d.loopAdditionalSlides,l.loopedSlides=E;const A=l.grid&&d.grid&&d.grid.rows>1;u.length<_+E||l.params.effect==="cards"&&u.length<_+E*2?Oa("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):A&&d.grid.fill==="row"&&Oa("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const S=[],b=[],C=A?Math.ceil(u.length/d.grid.rows):u.length,x=s&&C-v<_&&!m;let M=x?v:l.activeIndex;typeof i>"u"?i=l.getSlideIndex(u.find(k=>k.classList.contains(d.slideActiveClass))):M=i;const w=t==="next"||!t,O=t==="prev"||!t;let I=0,N=0;const P=(A?u[i].column:i)+(m&&typeof r>"u"?-_/2+.5:0);if(P<E){I=Math.max(E-P,D);for(let k=0;k<E-P;k+=1){const R=k-Math.floor(k/C)*C;if(A){const T=C-R-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===T&&S.push(z)}else S.push(C-R-1)}}else if(P+_>C-E){N=Math.max(P-(C-E*2),D),x&&(N=Math.max(N,_-C+v+1));for(let k=0;k<N;k+=1){const R=k-Math.floor(k/C)*C;A?u.forEach((T,z)=>{T.column===R&&b.push(z)}):b.push(R)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&u.length<_+E*2&&(b.includes(i)&&b.splice(b.indexOf(i),1),S.includes(i)&&S.splice(S.indexOf(i),1)),O&&S.forEach(k=>{u[k].swiperLoopMoveDOM=!0,g.prepend(u[k]),u[k].swiperLoopMoveDOM=!1}),w&&b.forEach(k=>{u[k].swiperLoopMoveDOM=!0,g.append(u[k]),u[k].swiperLoopMoveDOM=!1}),l.recalcSlides(),d.slidesPerView==="auto"?l.updateSlides():A&&(S.length>0&&O||b.length>0&&w)&&l.slides.forEach((k,R)=>{l.grid.updateSlide(R,k,l.slides)}),d.watchSlidesProgress&&l.updateSlidesOffset(),e){if(S.length>0&&O){if(typeof n>"u"){const k=l.slidesGrid[M],T=l.slidesGrid[M+I]-k;o?l.setTranslate(l.translate-T):(l.slideTo(M+Math.ceil(I),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-T,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-T))}else if(r){const k=A?S.length/d.grid.rows:S.length;l.slideTo(l.activeIndex+k,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(b.length>0&&w)if(typeof n>"u"){const k=l.slidesGrid[M],T=l.slidesGrid[M-N]-k;o?l.setTranslate(l.translate-T):(l.slideTo(M-N,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-T,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-T))}else{const k=A?b.length/d.grid.rows:b.length;l.slideTo(l.activeIndex-k,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!a){const k={slideRealIndex:n,direction:t,setTranslate:r,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(R=>{!R.destroyed&&R.params.loop&&R.loopFix({...k,slideTo:R.params.slidesPerView===d.slidesPerView?e:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...k,slideTo:l.controller.control.params.slidesPerView===d.slidesPerView?e:!1})}l.emit("loopFix")}function pv(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||!t||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const r=[];
vendor: 38,559 bytes, line 21
21n.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),n.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{t.append(i)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}var gv={loopCreate:fv,loopFix:hv,loopDestroy:pv};function mv(n){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=n?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function vv(){const n=this;n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.isElement&&(n.__preventObserver__=!0),n[n.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1}))}var _v={setGrabCursor:mv,unsetGrabCursor:vv};function Dv(n,e=this){function t(r){if(!r||r===sr()||r===vt())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(n);return!i&&!r.getRootNode?null:i||t(r.getRootNode().host)}return t(e)}function tc(n,e,t){const r=vt(),{params:i}=n,s=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return s&&(t<=a||t>=r.innerWidth-a)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function yv(n){const e=this,t=sr();let r=n;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"){tc(e,r,r.targetTouches[0].pageX);return}const{params:s,touches:a,enabled:o}=e;if(!o||!s.simulateTouch&&r.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=r.target;if(s.touchEventsTarget==="wrapper"&&!Am(l,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,g=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(g?Dv(f,l):l.closest(f))){e.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const d=a.currentX,p=a.currentY;if(!tc(e,r,d))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=d,a.startY=p,i.touchStartTime=Yr(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let h=!0;l.matches(i.focusableElements)&&(h=!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 y=h&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||y)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function Ev(n){const e=sr(),t=this,r=t.touchEventsData,{params:i,touches:s,rtlTranslate:a,enabled:o}=t;if(!o||!i.simulateTouch&&n.pointerType==="mouse")return;let l=n;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].find(A=>A.identifier===r.touchId),!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,f=u.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=f;return}if(!t.allowTouchMove){l.target.matches(r.focusableElements)||(t.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f}),r.touchStartTime=Yr());return}if(i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(f<s.startY&&t.translate<=t.maxTranslate()||f>s.startY&&t.translate>=t.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(a&&(c>s.startX&&-t.translate<=t.maxTranslate()||c<s.startX&&-t.translate>=t.minTranslate()))return;if(!a&&(c<s.startX&&t.translate<=t.maxTranslate()||c>s.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),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=f;const g=s.currentX-s.startX,d=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(g**2+d**2)<t.params.threshold)return;if(typeof r.isScrolling>"u"){let A;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:g*g+d*d>=25&&(A=Math.atan2(Math.abs(d),Math.abs(g))*180/Math.PI,r.isScrolling=t.isHorizontal()?A>i.touchAngle:90-A>i.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.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 p=t.isHorizontal()?g:d,h=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(p=Math.abs(p)*(a?1:-1),h=Math.abs(h)*(a?1:-1)),s.diff=p,p*=i.touchRatio,a&&(p=-p,h=-h);const y=t.touchesDirection;t.swipeDirection=p>0?"prev":"next",t.touchesDirection=h>0?"prev":"next";const v=t.params.loop&&!i.cssMode,m=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!r.isMoved){if(v&&m&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(A)}r.allowMomentumBounce=!1,i.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}let _;if(new Date().getTime(),i._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&y!==t.touchesDirection&&v&&m&&Math.abs(p)>=1){Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}t.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=p+r.startTranslate;let D=!0,E=i.resistanceRatio;if(i.touchReleaseOnEdges&&(E=0),p>0?(v&&m&&!_&&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()&&(D=!1,i.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+p)**E))):p<0&&(v&&m&&!_&&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()&&(D=!1,i.resistance&&(r.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-r.startTranslate-p)**E))),D&&(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(p)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.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 Sv(n){const e=this,t=e.touchEventsData;let r=n;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].find(E=>E.identifier===t.touchId),!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 f=Yr(),g=f-t.touchStartTime;if(e.allowClick){const E=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(E&&E[0]||r.target,E),e.emit("tap click",r),g<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(t.lastClickTime=Yr(),ka(()=>{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 d;if(a.followFinger?d=l?e.translate:-e.translate:d=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}const p=d>=-e.maxTranslate()&&!e.params.loop;let h=0,y=e.slidesSizesGrid[0];for(let E=0;E<u.length;E+=E<a.slidesPerGroupSkip?1:a.slidesPerGroup){const A=E<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[E+A]<"u"?(p||d>=u[E]&&d<u[E+A])&&(h=E,y=u[E+A]-u[E]):(p||d>=u[E])&&(h=E,y=u[u.length-1]-u[u.length-2])}let v=null,m=null;a.rewind&&(e.isBeginning?m=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));const _=(d-u[h])/y,D=h<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(g>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(_>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?v:h+D):e.slideTo(h)),e.swipeDirection==="prev"&&(_>1-a.longSwipesRatio?e.slideTo(h+D):m!==null&&_<0&&Math.abs(_)>a.longSwipesRatio?e.slideTo(m):e.slideTo(h))}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(h+D):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(v!==null?v:h+D),e.swipeDirection==="prev"&&e.slideTo(m!==null?m:h))}}function rc(){const n=this,{params:e,el:t}=n;if(t&&t.offsetWidth===0)return;e.breakpoints&&n.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=n,a=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const o=a&&e.loop;if((e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!o){const l=a?n.virtual.slides:n.slides;n.slideTo(l.length-1,0,!1,!0)}else n.params.loop&&!a?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0);n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=i,n.allowSlideNext=r,n.params.watchOverflow&&s!==n.snapGrid&&n.checkOverflow()}function bv(n){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Tv(){const n=this,{wrapperEl:e,rtlTranslate:t,enabled:r}=n;if(!r)return;n.previousTranslate=n.translate,n.isHorizontal()?n.translate=-e.scrollLeft:n.translate=-e.scrollTop,n.translate===0&&(n.translate=0),n.updateActiveIndex(),n.updateSlidesClasses();let i;const s=n.maxTranslate()-n.minTranslate();s===0?i=0:i=(n.translate-n.minTranslate())/s,i!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function Cv(n){const e=this;ga(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function xv(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const ff=(n,e)=>{const t=sr(),{params:r,el:i,wrapperEl:s,device:a}=n,o=!!r.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!i||typeof i=="string"||(t[l]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:o}),i[l]("touchstart",n.onTouchStart,{passive:!1}),i[l]("pointerdown",n.onTouchStart,{passive:!1}),t[l]("touchmove",n.onTouchMove,{passive:!1,capture:o}),t[l]("pointermove",n.onTouchMove,{passive:!1,capture:o}),t[l]("touchend",n.onTouchEnd,{passive:!0}),t[l]("pointerup",n.onTouchEnd,{passive:!0}),t[l]("pointercancel",n.onTouchEnd,{passive:!0}),t[l]("touchcancel",n.onTouchEnd,{passive:!0}),t[l]("pointerout",n.onTouchEnd,{passive:!0}),t[l]("pointerleave",n.onTouchEnd,{passive:!0}),t[l]("contextmenu",n.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",n.onClick,!0),r.cssMode&&s[l]("scroll",n.onScroll),r.updateOnWindowResize?n[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",rc,!0):n[u]("observerUpdate",rc,!0),i[l]("load",n.onLoad,{capture:!0}))};function wv(){const n=this,{params:e}=n;n.onTouchStart=yv.bind(n),n.onTouchMove=Ev.bind(n),n.onTouchEnd=Sv.bind(n),n.onDocumentTouchStart=xv.bind(n),e.cssMode&&(n.onScroll=Tv.bind(n)),n.onClick=bv.bind(n),n.onLoad=Cv.bind(n),ff(n,"on")}function Av(){ff(this,"off")}var Lv={attachEvents:wv,detachEvents:Av};const nc=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function Pv(){const n=this,{realIndex:e,initialized:t,params:r,el:i}=n,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const a=sr(),o=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?n.el:a.querySelector(r.breakpointsBase),u=n.getBreakpoint(s,o,l);if(!u||n.currentBreakpoint===u)return;const f=(u in s?s[u]:void 0)||n.originalParams,g=nc(n,r),d=nc(n,f),p=n.params.grabCursor,h=f.grabCursor,y=r.enabled;g&&!d?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),n.emitContainerClasses()):!g&&d&&(i.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),n.emitContainerClasses()),p&&!h?n.unsetGrabCursor():!p&&h&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(A=>{if(typeof f[A]>"u")return;const S=r[A]&&r[A].enabled,b=f[A]&&f[A].enabled;S&&!b&&n[A].disable(),!S&&b&&n[A].enable()});const v=f.direction&&f.direction!==r.direction,m=r.loop&&(f.slidesPerView!==r.slidesPerView||v),_=r.loop;v&&t&&n.changeDirection(),Gt(n.params,f);const D=n.params.enabled,E=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),y&&!D?n.disable():!y&&D&&n.enable(),n.currentBreakpoint=u,n.emit("_beforeBreakpoint",f),t&&(m?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!_&&E?(n.loopCreate(e),n.updateSlides()):_&&!E&&n.loopDestroy()),n.emit("breakpoint",f)}function Mv(n,e="window",t){if(!n||e==="container"&&!t)return;let r=!1;const i=vt(),s=e==="window"?i.innerHeight:t.clientHeight,a=Object.keys(n).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:s*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>parseInt(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 Fv={setBreakpoint:Pv,getBreakpoint:Mv};function kv(n,e){const t=[];return n.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 Ov(){const n=this,{classNames:e,params:t,rtl:r,el:i,device:s}=n,a=kv(["initialized",t.direction,{"free-mode":n.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:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),i.classList.add(...e),n.emitContainerClasses()}function Iv(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var Rv={addClasses:Ov,removeClasses:Iv};function Bv(){const n=this,{isLocked:e,params:t}=n,{slidesOffsetBefore:r}=t;if(r){const i=n.slides.length-1,s=n.slidesGrid[i]+n.slidesSizesGrid[i]+r*2;n.isLocked=n.size>s}else n.isLocked=n.snapGrid.length===1;t.allowSlideNext===!0&&(n.allowSlideNext=!n.isLocked),t.allowSlidePrev===!0&&(n.allowSlidePrev=!n.isLocked),e&&e!==n.isLocked&&(n.isEnd=!1),e!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock")}var Nv={checkOverflow:Bv},ic={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,snapToSlideEdge:!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 zv(n,e){return function(r={}){const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){Gt(e,r);return}if(n[i]===!0&&(n[i]={enabled:!0}),i==="navigation"&&n[i]&&n[i].enabled&&!n[i].prevEl&&!n[i].nextEl&&(n[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&n[i]&&n[i].enabled&&!n[i].el&&(n[i].auto=!0),!(i in n&&"enabled"in s)){Gt(e,r);return}typeof n[i]=="object"&&!("enabled"in n[i])&&(n[i].enabled=!0),n[i]||(n[i]={enabled:!1}),Gt(e,r)}}const Ao={eventsEmitter:Rm,update:Um,translate:Jm,transition:nv,slide:dv,loop:gv,grabCursor:_v,events:Lv,breakpoints:Fv,checkOverflow:Nv,classes:Rv},Lo={};class Re{constructor(...e){let t,r;e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?r=e[0]:[t,r]=e,r||(r={}),r=Gt({},r),t&&!r.el&&(r.el=t);const i=sr();if(r.el&&typeof r.el=="string"&&i.querySelectorAll(r.el).length>1){const l=[];return i.querySelectorAll(r.el).forEach(u=>{const c=Gt({},r,{el:u});l.push(new Re(c))}),l}const s=this;s.__swiper__=!0,s.support=lf(),s.device=uf({userAgent:r.userAgent}),s.browser=cf(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],r.modules&&Array.isArray(r.modules)&&r.modules.forEach(l=>{typeof l=="function"&&s.modules.indexOf(l)<0&&s.modules.push(l)});const a={};s.modules.forEach(l=>{l({params:r,swiper:s,extendParams:zv(r,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const o=Gt({},ic,a);return s.params=Gt({},o,Lo,r),s.originalParams=Gt({},s.params),s.passedParams=Gt({},r),s.params&&s.params.on&&Object.keys(s.params.on).forEach(l=>{s.on(l,s.params.on[l])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.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:s.params.allowSlideNext,allowSlidePrev:s.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:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}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=Mr(t,`.${r.slideClass}, swiper-slide`),s=Ss(i[0]);return Ss(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:t,params:r}=e;e.slides=Mr(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="current",t=!1){const r=this,{params:i,slides:s,slidesGrid:a,slidesSizesGrid:o,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let f=s[u]?Math.ceil(s[u].swiperSlideSize):0,g;for(let d=u+1;d<s.length;d+=1)s[d]&&!g&&(f+=Math.ceil(s[d].swiperSlideSize),c+=1,f>l&&(g=!0));for(let d=u-1;d>=0;d-=1)s[d]&&!g&&(f+=s[d].swiperSlideSize,c+=1,f>l&&(g=!0))}else if(e==="current")for(let f=u+1;f<s.length;f+=1)(t?a[f]+o[f]-a[u]<l:a[f]-a[u]<l)&&(c+=1);else for(let f=u-1;f>=0;f-=1)a[u]-a[f]<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&&ga(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 s;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;s=e.slideTo(a.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,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.forEach(s=>{e==="vertical"?s.style.width="":s.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()):Mr(r,i())[0];return!a&&t.params.createElements&&(a=Es("div",t.params.wrapperClass),r.append(a),Mr(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"||on(r,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||on(r,"direction")==="rtl"),wrongRTL:on(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(void 0,!0),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?ga(t,s):s.addEventListener("load",a=>{ga(t,a.target)})}),nl(t),t.initialized=!0,nl(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const r=this,{params:i,el:s,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(),s&&typeof s!="string"&&s.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),bm(r)),r.destroyed=!0),null}static extendDefaults(e){Gt(Lo,e)}static get extendedDefaults(){return Lo}static get defaults(){return ic}static installModule(e){Re.prototype.__modules__||(Re.prototype.__modules__=[]);const t=Re.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>Re.installModule(t)),Re):(Re.installModule(e),Re)}}Object.keys(Ao).forEach(n=>{Object.keys(Ao[n]).forEach(e=>{Re.prototype[e]=Ao[n][e]})});Re.use([Om,Im]);function zr({swiper:n,extendParams:e,on:t,emit:r}){const i=vt();e({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),n.mousewheel={enabled:!1};let s,a=Yr(),o;const l=[];function u(m){let A=0,S=0,b=0,C=0;return"detail"in m&&(S=m.detail),"wheelDelta"in m&&(S=-m.wheelDelta/120),"wheelDeltaY"in m&&(S=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(A=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(A=S,S=0),b=A*10,C=S*10,"deltaY"in m&&(C=m.deltaY),"deltaX"in m&&(b=m.deltaX),m.shiftKey&&!b&&(b=C,C=0),(b||C)&&m.deltaMode&&(m.deltaMode===1?(b*=40,C*=40):(b*=800,C*=800)),b&&!A&&(A=b<1?-1:1),C&&!S&&(S=C<1?-1:1),{spinX:A,spinY:S,pixelX:b,pixelY:C}}function c(){n.enabled&&(n.mouseEntered=!0)}function f(){n.enabled&&(n.mouseEntered=!1)}function g(m){return n.params.mousewheel.thresholdDelta&&m.delta<n.params.mousewheel.thresholdDelta||n.params.mousewheel.thresholdTime&&Yr()-a<n.params.mousewheel.thresholdTime?!1:m.delta>=6&&Yr()-a<60?!0:(m.direction<0?(!n.isEnd||n.params.loop)&&!n.animating&&(n.slideNext(),r("scroll",m.raw)):(!n.isBeginning||n.params.loop)&&!n.animating&&(n.slidePrev(),r("scroll",m.raw)),a=new i.Date().getTime(),!1)}function d(m){const _=n.params.mousewheel;if(m.direction<0){if(n.isEnd&&!n.params.loop&&_.releaseOnEdges)return!0}else if(n.isBeginning&&!n.params.loop&&_.releaseOnEdges)return!0;return!1}function p(m){let _=m,D=!0;if(!n.enabled||m.target.closest(`.${n.params.mousewheel.noMousewheelClass}`))return;const E=n.params.mousewheel;n.params.cssMode&&_.preventDefault();let A=n.el;n.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(n.params.mousewheel.eventsTarget));const S=A&&A.contains(_.target);if(!n.mouseEntered&&!S&&!E.releaseOnEdges)return!0;_.originalEvent&&(_=_.originalEvent);let b=0;const C=n.rtlTranslate?-1:1,x=u(_);if(E.forceToAxis)if(n.isHorizontal())if(Math.abs(x.pixelX)>Math.abs(x.pixelY))b=-x.pixelX*C;else return!0;else if(Math.abs(x.pixelY)>Math.abs(x.pixelX))b=-x.pixelY;else return!0;else b=Math.abs(x.pixelX)>Math.abs(x.pixelY)?-x.pixelX*C:-x.pixelY;if(b===0)return!0;E.invert&&(b=-b);let M=n.getTranslate()+b*E.sensitivity;if(M>=n.minTranslate()&&(M=n.minTranslate()),M<=n.maxTranslate()&&(M=n.maxTranslate()),D=n.params.loop?!0:!(M===n.minTranslate()||M===n.maxTranslate()),D&&n.params.nested&&_.stopPropagation(),!n.params.freeMode||!n.params.freeMode.enabled){const w={time:Yr(),delta:Math.abs(b),direction:Math.sign(b),raw:m};l.length>=2&&l.shift();const O=l.length?l[l.length-1]:void 0;if(l.push(w),O?(w.direction!==O.direction||w.delta>O.delta||w.time>O.time+150)&&g(w):g(w),d(w))return!0}else{const w={time:Yr(),delta:Math.abs(b),direction:Math.sign(b)},O=o&&w.time<o.time+500&&w.delta<=o.delta&&w.direction===o.direction;if(!O){o=void 0;let I=n.getTranslate()+b*E.sensitivity;const N=n.isBeginning,F=n.isEnd;if(I>=n.minTranslate()&&(I=n.minTranslate()),I<=n.maxTranslate()&&(I=n.maxTranslate()),n.setTransition(0),n.setTranslate(I),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!N&&n.isBeginning||!F&&n.isEnd)&&n.updateSlidesClasses(),n.params.loop&&n.loopFix({direction:w.direction<0?"next":"prev",byMousewheel:!0}),n.params.freeMode.sticky){clearTimeout(s),s=void 0,l.length>=15&&l.shift();const P=l.length?l[l.length-1]:void 0,k=l[0];if(l.push(w),P&&(w.delta>P.delta||w.direction!==P.direction))l.splice(0);else if(l.length>=15&&w.time-k.time<500&&k.delta-w.delta>=1&&w.delta<=6){const R=b>0?.8:.2;o=w,l.splice(0),s=ka(()=>{n.destroyed||!n.params||n.slideToClosest(n.params.speed,!0,void 0,R)},0)}s||(s=ka(()=>{if(n.destroyed||!n.params)return;const R=.5;o=w,l.splice(0),n.slideToClosest(n.params.speed,!0,void 0,R)},500))}if(O||r("scroll",_),n.params.autoplay&&n.params.autoplay.disableOnInteraction&&n.autoplay.stop(),E.releaseOnEdges&&(I===n.minTranslate()||I===n.maxTranslate()))return!0}}return _.preventDefault?_.preventDefault():_.returnValue=!1,!1}function h(m){let _=n.el;n.params.mousewheel.eventsTarget!=="container"&&(_=document.querySelector(n.params.mousewheel.eventsTarget)),_[m]("mouseenter",c),_[m]("mouseleave",f),_[m]("wheel",p)}function y(){return n.params.cssMode?(n.wrapperEl.removeEventListener("wheel",p),!0):n.mousewheel.enabled?!1:(h("addEventListener"),n.mousewheel.enabled=!0,!0)}function v(){return n.params.cssMode?(n.wrapperEl.addEventListener(event,p),!0):n.mousewheel.enabled?(h("removeEventListener"),n.mousewheel.enabled=!1,!0):!1}t("init",()=>{!n.params.mousewheel.enabled&&n.params.cssMode&&v(),n.params.mousewheel.enabled&&y()}),t("destroy",()=>{n.params.cssMode&&y(),n.mousewheel.enabled&&v()}),Object.assign(n.mousewheel,{enable:y,disable:v})}function hf(n,e,t,r){return n.params.createElements&&Object.keys(r).forEach(i=>{if(!t[i]&&t.auto===!0){let s=Mr(n.el,`.${r[i]}`)[0];s||(s=Es("div",r[i]),s.className=r[i],n.el.append(s)),t[i]=s,e[i]=s}}),t}const sc='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Hs({swiper:n,extendParams:e,on:t,emit:r}){e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),n.navigation={nextEl:null,prevEl:null,arrowSvg:sc};function i(d){let p;return d&&typeof d=="string"&&n.isElement&&(p=n.el.querySelector(d)||n.hostEl.querySelector(d),p)?p:(d&&(typeof d=="string"&&(p=[...document.querySelectorAll(d)]),n.params.uniqueNavElements&&typeof d=="string"&&p&&p.length>1&&n.el.querySelectorAll(d).length===1?p=n.el.querySelector(d):p&&p.length===1&&(p=p[0])),d&&!p?d:p)}function s(d,p){const h=n.params.navigation;d=fe(d),d.forEach(y=>{y&&(y.classList[p?"add":"remove"](...h.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=p),n.params.watchOverflow&&n.enabled&&y.classList[n.isLocked?"add":"remove"](h.lockClass))})}function a(){const{nextEl:d,prevEl:p}=n.navigation;if(n.params.loop){s(p,!1),s(d,!1);return}s(p,n.isBeginning&&!n.params.rewind),s(d,n.isEnd&&!n.params.rewind)}function o(d){d.preventDefault(),!(n.isBeginning&&!n.params.loop&&!n.params.rewind)&&(n.slidePrev(),r("navigationPrev"))}function l(d){d.preventDefault(),!(n.isEnd&&!n.params.loop&&!n.params.rewind)&&(n.slideNext(),r("navigationNext"))}function u(){const d=n.params.navigation;if(n.params.navigation=hf(n,n.originalParams.navigation,n.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let p=i(d.nextEl),h=i(d.prevEl);Object.assign(n.navigation,{nextEl:p,prevEl:h}),p=fe(p),h=fe(h);const y=(v,m)=>{if(v){if(d.addIcons&&v.matches(".swiper-button-next,.swiper-button-prev")&&!v.querySelector("svg")){const _=document.createElement("div");Ia(_,sc),v.appendChild(_.querySelector("svg")),_.remove()}v.addEventListener("click",m==="next"?l:o)}!n.enabled&&v&&v.classList.add(...d.lockClass.split(" "))};p.forEach(v=>y(v,"next")),h.forEach(v=>y(v,"prev"))}function c(){let{nextEl:d,prevEl:p}=n.navigation;d=fe(d),p=fe(p);const h=(y,v)=>{y.removeEventListener("click",v==="next"?l:o),y.classList.remove(...n.params.navigation.disabledClass.split(" "))};d.forEach(y=>h(y,"next")),p.forEach(y=>h(y,"prev"))}t("init",()=>{n.params.navigation.enabled===!1?g():(u(),a())}),t("toEdge fromEdge lock unlock",()=>{a()}),t("destroy",()=>{c()}),t("enable disable",()=>{let{nextEl:d,prevEl:p}=n.navigation;if(d=fe(d),p=fe(p),n.enabled){a();return}[...d,...p].filter(h=>!!h).forEach(h=>h.classList.add(n.params.navigation.lockClass))}),t("click",(d,p)=>{let{nextEl:h,prevEl:y}=n.navigation;h=fe(h),y=fe(y);const v=p.target;let m=y.includes(v)||h.includes(v);if(n.isElement&&!m){const _=p.path||p.composedPath&&p.composedPath();_&&(m=_.find(D=>h.includes(D)||y.includes(D)))}if(n.params.navigation.hideOnClick&&!m){if(n.pagination&&n.params.pagination&&n.params.pagination.clickable&&(n.pagination.el===v||n.pagination.el.contains(v)))return;let _;h.length?_=h[0].classList.contains(n.params.navigation.hiddenClass):y.length&&(_=y[0].classList.contains(n.params.navigation.hiddenClass)),r(_===!0?"navigationShow":"navigationHide"),[...h,...y].filter(D=>
21!!D).forEach(D=>D.classList.toggle(n.params.navigation.hiddenClass))}});const f=()=>{n.el.classList.remove(...n.params.navigation.navigationDisabledClass.split(" ")),u(),a()},g=()=>{n.el.classList.add(...n.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(n.navigation,{enable:f,disable:g,update:a,init:u,destroy:c})}function sn(n=""){return`.${n.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function Zl({swiper:n,extendParams:e,on:t,emit:r}){const i="swiper-pagination";e({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:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),n.pagination={el:null,bullets:[]};let s,a=0;function o(){return!n.params.pagination.el||!n.pagination.el||Array.isArray(n.pagination.el)&&n.pagination.el.length===0}function l(v,m){const{bulletActiveClass:_}=n.params.pagination;v&&(v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${_}-${m}`),v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${_}-${m}-${m}`)))}function u(v,m,_){if(v=v%_,m=m%_,m===v+1)return"next";if(m===v-1)return"previous"}function c(v){const m=v.target.closest(sn(n.params.pagination.bulletClass));if(!m)return;v.preventDefault();const _=Ss(m)*n.params.slidesPerGroup;if(n.params.loop){if(n.realIndex===_)return;const D=u(n.realIndex,_,n.slides.length);D==="next"?n.slideNext():D==="previous"?n.slidePrev():n.slideToLoop(_)}else n.slideTo(_)}function f(){const v=n.rtl,m=n.params.pagination;if(o())return;let _=n.pagination.el;_=fe(_);let D,E;const A=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,S=n.params.loop?Math.ceil(A/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(E=n.previousRealIndex||0,D=n.params.slidesPerGroup>1?Math.floor(n.realIndex/n.params.slidesPerGroup):n.realIndex):typeof n.snapIndex<"u"?(D=n.snapIndex,E=n.previousSnapIndex):(E=n.previousIndex||0,D=n.activeIndex||0),m.type==="bullets"&&n.pagination.bullets&&n.pagination.bullets.length>0){const b=n.pagination.bullets;let C,x,M;if(m.dynamicBullets&&(s=rl(b[0],n.isHorizontal()?"width":"height"),_.forEach(w=>{w.style[n.isHorizontal()?"width":"height"]=`${s*(m.dynamicMainBullets+4)}px`}),m.dynamicMainBullets>1&&E!==void 0&&(a+=D-(E||0),a>m.dynamicMainBullets-1?a=m.dynamicMainBullets-1:a<0&&(a=0)),C=Math.max(D-a,0),x=C+(Math.min(b.length,m.dynamicMainBullets)-1),M=(x+C)/2),b.forEach(w=>{const O=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${m.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();w.classList.remove(...O)}),_.length>1)b.forEach(w=>{const O=Ss(w);O===D?w.classList.add(...m.bulletActiveClass.split(" ")):n.isElement&&w.setAttribute("part","bullet"),m.dynamicBullets&&(O>=C&&O<=x&&w.classList.add(...`${m.bulletActiveClass}-main`.split(" ")),O===C&&l(w,"prev"),O===x&&l(w,"next"))});else{const w=b[D];if(w&&w.classList.add(...m.bulletActiveClass.split(" ")),n.isElement&&b.forEach((O,I)=>{O.setAttribute("part",I===D?"bullet-active":"bullet")}),m.dynamicBullets){const O=b[C],I=b[x];for(let N=C;N<=x;N+=1)b[N]&&b[N].classList.add(...`${m.bulletActiveClass}-main`.split(" "));l(O,"prev"),l(I,"next")}}if(m.dynamicBullets){const w=Math.min(b.length,m.dynamicMainBullets+4),O=(s*w-s)/2-M*s,I=v?"right":"left";b.forEach(N=>{N.style[n.isHorizontal()?I:"top"]=`${O}px`})}}_.forEach((b,C)=>{if(m.type==="fraction"&&(b.querySelectorAll(sn(m.currentClass)).forEach(x=>{x.textContent=m.formatFractionCurrent(D+1)}
21),b.querySelectorAll(sn(m.totalClass)).forEach(x=>{x.textContent=m.formatFractionTotal(S)})),m.type==="progressbar"){let x;m.progressbarOpposite?x=n.isHorizontal()?"vertical":"horizontal":x=n.isHorizontal()?"horizontal":"vertical";const M=(D+1)/S;let w=1,O=1;x==="horizontal"?w=M:O=M,b.querySelectorAll(sn(m.progressbarFillClass)).forEach(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${w}) scaleY(${O})`,I.style.transitionDuration=`${n.params.speed}ms`})}m.type==="custom"&&m.renderCustom?(Ia(b,m.renderCustom(n,D+1,S)),C===0&&r("paginationRender",b)):(C===0&&r("paginationRender",b),r("paginationUpdate",b)),n.params.watchOverflow&&n.enabled&&b.classList[n.isLocked?"add":"remove"](m.lockClass)})}function g(){const v=n.params.pagination;if(o())return;const m=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.grid&&n.params.grid.rows>1?n.slides.length/Math.ceil(n.params.grid.rows):n.slides.length;let _=n.pagination.el;_=fe(_);let D="";if(v.type==="bullets"){let E=n.params.loop?Math.ceil(m/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&E>m&&(E=m);for(let A=0;A<E;A+=1)v.renderBullet?D+=v.renderBullet.call(n,A,v.bulletClass):D+=`<${v.bulletElement} ${n.isElement?'part="bullet"':""} class="${v.bulletClass}"></${v.bulletElement}>`}v.type==="fraction"&&(v.renderFraction?D=v.renderFraction.call(n,v.currentClass,v.totalClass):D=`<span class="${v.currentClass}"></span> / <span class="${v.totalClass}"></span>`),v.type==="progressbar"&&(v.renderProgressbar?D=v.renderProgressbar.call(n,v.progressbarFillClass):D=`<span class="${v.progressbarFillClass}"></span>`),n.pagination.bullets=[],_.forEach(E=>{v.type!=="custom"&&Ia(E,D||""),v.type==="bullets"&&n.pagination.bullets.push(...E.querySelectorAll(sn(v.bulletClass)))}),v.type!=="custom"&&r("paginationRender",_[0])}function d(){n.params.pagination=hf(n,n.originalParams.pagination,n.params.pagination,{el:"swiper-pagination"});const v=n.params.pagination;if(!v.el)return;let m;typeof v.el=="string"&&n.isElement&&(m=n.el.querySelector(v.el)),!m&&typeof v.el=="string"&&(m=[...document.querySelectorAll(v.el)]),m||(m=v.el),!(!m||m.length===0)&&(n.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(m)&&m.length>1&&(m=[...n.el.querySelectorAll(v.el)],m.length>1&&(m=m.find(_=>of(_,".swiper")[0]===n.el))),Array.isArray(m)&&m.length===1&&(m=m[0]),Object.assign(n.pagination,{el:m}),m=fe(m),m.forEach(_=>{v.type==="bullets"&&v.clickable&&_.classList.add(...(v.clickableClass||"").split(" ")),_.classList.add(v.modifierClass+v.type),_.classList.add(n.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(_.classList.add(`${v.modifierClass}${v.type}-dynamic`),a=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&_.classList.add(v.progressbarOppositeClass),v.clickable&&_.addEventListener("click",c),n.enabled||_.classList.add(v.lockClass)}))}function p(){const v=n.params.pagination;if(o())return;let m=n.pagination.el;m&&(m=fe(m),m.forEach(_=>{_.classList.remove(v.hiddenClass),_.classList.remove(v.modifierClass+v.type),_.classList.remove(n.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(_.classList.remove(...(v.clickableClass||"").split(" ")),_.removeEventListener("click",c))})),n.pagination.bullets&&n.pagination.bullets.forEach(_=>_.classList.remove(...v.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!n.pagination||!n.pagination.el)return;const v=n.params.pagination;let{el:m}=n.pagination;m=fe(m),m.forEach(_=>{_.classList.remove(v.horizontalClass,v.verticalClass),_.classList.add(n.isHorizontal()?v.horizontalClass:v.verticalClass)})}),t("init",()=>{n.params.pagination.enabled===!1?y():(d(),g(),f())}),t("activeIndexChange",()=>{typeof n.snapIndex>"u"&&f()}),t("snapIndexChange",()=>{f()}),t("snapGridLengthChange",()=>{g(),f()}),t("destroy",()=>{p()}),t("enable disable",()=>{let{el:v}=n.pagination;v&&(v=fe(v),v.forEach(m=>m.classList[n.enabled?"remove":"add"](n.params.pagination.lockClass)))}),t("lock unlock",()=>{f()}),t("click",(v,m)=>{const _=m.target,D=fe(n.pagination.el);if(n.params.pagination.el&&n.params.pagination.hideOnClick&&D&&D.length>0&&!_.classList.contains(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&_===n.navigation.nextEl||n.navigation.prevEl&&_===n.navigation.prevEl))return;const E=D[0].classList.contains(n.params.pagination.hiddenClass);r(E===!0?"paginationShow":"paginationHide"),D.forEach(A=>A.classList.toggle(n.params.pagination.hiddenClass))}});const h=()=>{n.el.classList.remove(n.params.pagination.paginationDisabledClass);let{el:v}=n.pagination;v&&(v=fe(v),v.forEach(m=>m.classList.remove(n.params.pagination.paginationDisabledClass))),d(),g(),f()},y=()=>{n.el.classList.add(n.params.pagination.paginationDisabledClass);let{el:v}=n.pagination;v&&(v=fe(v),v.forEach(m=>m.classList.add(n.params.pagination.paginationDisabledClass))),p()};Object.assign(n.pagination,{enable:h,disable:y,render:g,update:f,init:d,destroy:p})}function Dr({swiper:n,extendParams:e,on:t}){e({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,
21scrollOnFocus:!0,wrapperLiveRegion:!0}}),n.a11y={clicked:!1};let r=null,i,s,a=new Date().getTime();function o(F){const P=r;P.length!==0&&Ia(P,F)}function l(F=16){const P=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(F).replace(/x/g,P)}function u(F){F=fe(F),F.forEach(P=>{P.setAttribute("tabIndex","0")})}function c(F){F=fe(F),F.forEach(P=>{P.setAttribute("tabIndex","-1")})}function f(F,P){F=fe(F),F.forEach(k=>{k.setAttribute("role",P)})}function g(F,P){F=fe(F),F.forEach(k=>{k.setAttribute("aria-roledescription",P)})}function d(F,P){F=fe(F),F.forEach(k=>{k.setAttribute("aria-controls",P)})}function p(F,P){F=fe(F),F.forEach(k=>{k.setAttribute("aria-label",P)})}function h(F,P){F=fe(F),F.forEach(k=>{k.setAttribute("id",P)})}function y(F,P){F=fe(F),F.forEach(k=>{k.setAttribute("aria-live",P)})}function v(F){F=fe(F),F.forEach(P=>{P.setAttribute("aria-disabled",!0)})}function m(F){F=fe(F),F.forEach(P=>{P.setAttribute("aria-disabled",!1)})}function _(F){if(F.keyCode!==13&&F.keyCode!==32)return;const P=n.params.a11y,k=F.target;if(!(n.pagination&&n.pagination.el&&(k===n.pagination.el||n.pagination.el.contains(F.target))&&!F.target.matches(sn(n.params.pagination.bulletClass)))){if(n.navigation&&n.navigation.prevEl&&n.navigation.nextEl){const R=fe(n.navigation.prevEl);fe(n.navigation.nextEl).includes(k)&&(n.isEnd&&!n.params.loop||n.slideNext(),n.isEnd?o(P.lastSlideMessage):o(P.nextSlideMessage)),R.includes(k)&&(n.isBeginning&&!n.params.loop||n.slidePrev(),n.isBeginning?o(P.firstSlideMessage):o(P.prevSlideMessage))}n.pagination&&k.matches(sn(n.params.pagination.bulletClass))&&k.click()}}function D(){if(n.params.loop||n.params.rewind||!n.navigation)return;const{nextEl:F,prevEl:P}=n.navigation;P&&(n.isBeginning?(v(P),c(P)):(m(P),u(P))),F&&(n.isEnd?(v(F),c(F)):(m(F),u(F)))}function E(){return n.pagination&&n.pagination.bullets&&n.pagination.bullets.length}function A(){return E()&&n.params.pagination.clickable}function S(){const F=n.params.a11y;E()&&n.pagination.bullets.forEach(P=>{n.params.pagination.clickable&&(u(P),n.params.pagination.renderBullet||(f(P,"button"),p(P,F.paginationBulletMessage.replace(/\{\{index\}\}/,Ss(P)+1)))),P.matches(sn(n.params.pagination.bulletActiveClass))?P.setAttribute("aria-current","true"):P.removeAttribute("aria-current")})}const b=(F,P,k)=>{u(F),F.tagName!=="BUTTON"&&(f(F,"button"),F.addEventListener("keydown",_)),p(F,k),d(F,P)},C=F=>{s&&s!==F.target&&!s.contains(F.target)&&(i=!0),n.a11y.clicked=!0},x=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{n.destroyed||(n.a11y.clicked=!1)})})},M=F=>{a=new Date().getTime()},w=F=>{if(n.a11y.clicked||!n.params.a11y.scrollOnFocus||new Date().getTime()-a<100)return;const P=F.target.closest(`.${n.params.slideClass}, swiper-slide`);if(!P||!n.slides.includes(P))return;s=P;const k=n.virtual&&n.params.virtual.enabled,R=(k?parseInt(P.getAttribute("data-swiper-slide-index"),10):n.slides.indexOf(P))===n.activeIndex,T=n.params.watchSlidesProgress&&n.visibleSlides&&n.visibleSlides.includes(P);R||T||F.sourceCapabilities&&F.sourceCapabilities.firesTouchEvents||(n.isHorizontal()?n.el.scrollLeft=0:n.el.scrollTop=0,requestAnimationFrame(()=>{i||(n.params.loop?n.slideToLoop(n.getSlideIndexWhenGrid(parseInt(P.getAttribute("data-swiper-slide-index"))),0):k?n.slideTo(n.getSlideIndexWhenGrid(parseInt(P.getAttribute("data-swiper-slide-index"),10)),0):n.slideTo(n.getSlideIndexWhenGrid(n.slides.indexOf(P)),0),i=!1)}))},O=()=>{const F=n.params.a11y;F.itemRoleDescriptionMessage&&g(n.slides,F.itemRoleDescriptionMessage),F.slideRole&&f(n.slides,F.slideRole);const P=n.slides.length;F.slideLabelMessage&&n.slides.forEach((k,R)=>{const T=n.params.loop?parseInt(k.getAttribute("data-swiper-slide-index"),10):R,z=F.slideLabelMessage.replace(/\{\{index\}\}/,T+1).replace(/\{\{slidesLength\}\}/,P);p(k,z)})},I=()=>{const F=n.params.a11y;n.el.append(r);const P=n.el;F.containerRoleDescriptionMessage&&g(P,F.containerRoleDescriptionMessage),F.containerMessage&&p(P,F.containerMessage),F.containerRole&&f(P,F.containerRole);const k=n.wrapperEl,R=F.id||k.getAttribute("id")||`swiper-wrapper-${l(16)}`;if(h(k,R),F.wrapperLiveRegion){const U=n.params.autoplay&&n.params.autoplay.enabled?"off":"polite";y(k,U)}O();let{nextEl:T,prevEl:z}=n.navigation?n.navigation:{};T=fe(T),z=fe(z),T&&T.forEach(U=>b(U,R,F.nextSlideMessage)),z&&z.forEach(U=>b(U,R,F.prevSlideMessage)),A()&&fe(n.pagination.el).forEach(K=>{K.addEventListener("keydown",_)}),sr().addEventListener("visibilitychange",M),n.el.addEventListener("focus",w,!0),n.el.addEventListener("pointerdown",C,!0),n.el.addEventListener("pointerup",x,!0)};function N(){r&&r.remove();let{nextEl:F,prevEl:P}=n.navigation?n.navigation:{};F=fe(F),P=fe(P),F&&F.forEach(R=>R.removeEventListener("keydown",_)),P&&P.forEach(R=>R.removeEventListener("keydown",_)),A()&&fe(n.pagination.el).forEach(T=>{T.removeEventListener("keydown",_)}),sr().removeEventListener("visibilitychange",M),n.el&&typeof n.el!="string"&&(n.el.removeEventListener("focus",w,!0),n.el.removeEventListener("pointerdown",C,!0),n.el.removeEventListener("pointerup",x,!0))}t("beforeInit",()=>{r=Es("span",n.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),t("afterInit",()=>{n.params.a11y.enabled&&I()}),t("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{n.params.a11y.enabled&&O()}),t("fromEdge toEdge afterInit lock unlock",()=>{n.params.a11y.enabled&&D()}),t("paginationUpdate",()=>{n.params.a11y.enabled&&S()}),t("destroy",()=>{n.params.a11y.enabled&&N()})}function pf({swiper:n,extendParams:e,on:t,emit:r,params:i}){n.autoplay={running:!1,paused:!1,timeLeft:0}
21,e({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,o=i&&i.autoplay?i.autoplay.delay:3e3,l=i&&i.autoplay?i.autoplay.delay:3e3,u,c=new Date().getTime(),f,g,d,p,h,y;function v(P){!n||n.destroyed||!n.wrapperEl||P.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",v),!(y||P.detail&&P.detail.bySwiperTouchMove)&&C())}const m=()=>{if(n.destroyed||!n.autoplay.running)return;n.autoplay.paused?f=!0:f&&(l=u,f=!1);const P=n.autoplay.paused?u:c+l-new Date().getTime();n.autoplay.timeLeft=P,r("autoplayTimeLeft",P,P/o),a=requestAnimationFrame(()=>{m()})},_=()=>{let P;return n.virtual&&n.params.virtual.enabled?P=n.slides.find(R=>R.classList.contains("swiper-slide-active")):P=n.slides[n.activeIndex],P?parseInt(P.getAttribute("data-swiper-autoplay"),10):void 0},D=()=>{let P=n.params.autoplay.delay;const k=_();return!Number.isNaN(k)&&k>0&&(P=k),P},E=P=>{if(n.destroyed||!n.autoplay.running)return;cancelAnimationFrame(a),m();let k=P;typeof k>"u"&&(k=D(),o=k,l=k),u=k;const R=n.params.speed,T=()=>{!n||n.destroyed||(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(R,!0,!0),r("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,R,!0,!0),r("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(R,!0,!0),r("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,R,!0,!0),r("autoplay")),n.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return k>0?(clearTimeout(s),s=setTimeout(()=>{T()},k)):requestAnimationFrame(()=>{T()}),k},A=()=>{c=new Date().getTime(),n.autoplay.running=!0,E(),r("autoplayStart")},S=()=>{n.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),r("autoplayStop")},b=(P,k)=>{if(n.destroyed||!n.autoplay.running)return;clearTimeout(s),P||(h=!0);const R=()=>{r("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",v):C()};if(n.autoplay.paused=!0,k){R();return}u=(u||n.params.autoplay.delay)-(new Date().getTime()-c),!(n.isEnd&&u<0&&!n.params.loop)&&(u<0&&(u=0),R())},C=()=>{n.isEnd&&u<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(c=new Date().getTime(),h?(h=!1,E(u)):E(),n.autoplay.paused=!1,r("autoplayResume"))},x=()=>{if(n.destroyed||!n.autoplay.running)return;const P=sr();P.visibilityState==="hidden"&&(h=!0,b(!0)),P.visibilityState==="visible"&&C()},M=P=>{P.pointerType==="mouse"&&(h=!0,y=!0,!(n.animating||n.autoplay.paused)&&b(!0))},w=P=>{P.pointerType==="mouse"&&(y=!1,n.autoplay.paused&&C())},O=()=>{n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",M),n.el.addEventListener("pointerleave",w))},I=()=>{n.el&&typeof n.el!="string"&&(n.el.removeEventListener("pointerenter",M),n.el.removeEventListener("pointerleave",w))},N=()=>{sr().addEventListener("visibilitychange",x)},F=()=>{sr().removeEventListener("visibilitychange",x)};t("init",()=>{n.params.autoplay.enabled&&(O(),N(),A())}),t("destroy",()=>{I(),F(),n.autoplay.running&&S()}),t("_freeModeStaticRelease",()=>{(d||h)&&C()}),t("_freeModeNoMomentumRelease",()=>{n.params.autoplay.disableOnInteraction?S():b(!0,!0)}),t("beforeTransitionStart",(P,k,R)=>{n.destroyed||!n.autoplay.running||(R||!n.params.autoplay.disableOnInteraction?b(!0,!0):S())}),t("sliderFirstMove",()=>{if(!(n.destroyed||!n.autoplay.running)){if(n.params.autoplay.disableOnInteraction){S();return}g=!0,d=!1,h=!1,p=setTimeout(()=>{h=!0,d=!0,b(!0)},200)}}),t("touchEnd",()=>{if(!(n.destroyed||!n.autoplay.running||!g)){if(clearTimeout(p),clearTimeout(s),n.params.autoplay.disableOnInteraction){d=!1,g=!1;return}d&&n.params.cssMode&&C(),d=!1,g=!1}}),t("slideChange",()=>{n.destroyed||!n.autoplay.running||n.autoplay.paused&&(u=D(),o=D())}),Object.assign(n.autoplay,{start:A,stop:S,pause:b,resume:C})}const Gv=()=>{const n=document.querySelectorAll('[data-slider="feedback-block"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{t||(t=new Re(e,{modules:[Dr,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,freeMode:!0,speed:600,loop:!1,spaceBetween:xt(1.25),slidesPerView:"auto"}))},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>
21{if($e.matches){i();return}i(),r()};s(),window.addEventListener("resize",s)})},Vv=()=>{const n=document.querySelectorAll('[data-slider="booking-promo"]');n.length!==0&&n.forEach(e=>{const t=Array.from(e.querySelectorAll(".booking-promo__slide"));let r;const i=()=>{e.querySelectorAll(".booking-promo__pagination-item").forEach(u=>{u.removeAttribute("tabindex")})},s=()=>{r||(r=new Re(e,{modules:[Dr,zr,Zl,pf],a11y:{..._r,slideRole:null},allowTouchMove:!0,loop:!1,centeredSlides:!0,autoplay:{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0,waitForTransition:!1},pagination:{el:e.querySelector('[data-slider-pagination="booking-promo"]'),clickable:!0,bulletClass:"booking-promo__pagination-item",bulletActiveClass:"booking-promo__pagination-item--active",renderBullet:(u,c)=>{const g=t[u]?.dataset.paginationLabel??"";return`
22            <li class="${c}">
23              <span class="booking-promo__pagination-bullet-underlay">
24                <button class="booking-promo__pagination-bullet" type="button" aria-label="Перейти к шагу ${u+1}">
25                  ${u+1}
26                </button>
27              </span>
28              <span class="booking-promo__pagination-label">
29                ${g}
30              </span>
31            </li>`}},on:{afterInit(u){i(),u.autoplay.stop()},paginationUpdate:i,setTranslate(u){u.params.virtualTranslate&&u.emit("transitionEnd")}},breakpoints:{0:{spaceBetween:xt(44/or),slidesPerView:"auto",virtualTranslate:!1,slideToClickedSlide:!1},1024:{spaceBetween:xt(40/or),slidesPerView:3,virtualTranslate:!0,slideToClickedSlide:!0}}}))},a=new IntersectionObserver(u=>{u[0].isIntersecting&&(r?.autoplay.start(),a.disconnect())},{threshold:.3}),o=()=>{r&&(r.destroy(!0,!0),r=null)},l=()=>{o(),s()};l(),a.observe(e),window.addEventListener("resize",l)})};function Hr(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function gf(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*!
32 * GSAP 3.15.0
33 * https://gsap.com
34 *
35 * @license Copyright 2008-2026, GreenSock. All rights reserved.
36 * Subject to the terms at https://gsap.com/standard-license
37 * @author: Jack Doyle, [email protected]
38*/var Ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},bs={duration:.5,overwrite:!1,delay:0},Ql,st,we,nr=1e8,Se=1/nr,il=Math.PI*2,qv=il/4,Hv=0,mf=Math.sqrt,Wv=Math.cos,$v=Math.sin,et=function(e){return typeof e=="string"},Be=function(e){return typeof e=="function"},en=function(e){return typeof e=="number"},Jl=function(e){return typeof e>"u"},Br=function(e){return typeof e=="object"},Mt=function(e){return e!==!1},eu=function(){return typeof window<"u"},Zs=function(e){return Be(e)||et(e)},vf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},mt=Array.isArray,Yv=/random\([^)]+\)/g,Uv=/,\s*/g,ac=/(?:-?\.?\d|\.)+/gi,_f=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ui=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Po=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Df=/[+-]=-?[.\d]+/,Xv=/[^,'"\[\]\s]+/gi,jv=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Me,wr,sl,tu,Xt={},Ra={},yf,Ef=function(e){return(Ra=Ti(e,Xt))&&Rt},ru=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Ts=function(e,t){return!t&&console.warn(e)},Sf=function(e,t){return e&&(Xt[e]=t)&&Ra&&(Ra[e]=t)||Xt},Cs=function(){return 0},Kv={suppressEvents:!0,isStart:!0,kill:!1},ma={suppressEvents:!0,kill:!1},Zv={suppressEvents:!0},nu={},hn=[],al={},bf,Vt={},Mo={},oc=30,va=[],iu="",su=function(e){var t=e[0],r,i;if(Br(t)||Be(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=va.length;i--&&!va[i].targetTest(t););r=va[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new $f(e[i],r)))||e.splice(i,1);return e},Bn=function(e){return e._gsap||su(ir(e))[0]._gsap},Tf=function(e,t,r){return(r=e[t])&&Be(r)?e[t]():Jl(r)&&e.getAttribute&&e.getAttribute(t)||r},Ft=function(e,t){return(e=e.split(",")).forEach(t)||e},ze=function(e){return Math.round(e*1e5)/1e5||0},Pe=function(e){return Math.round(e*1e7)/1e7||0},gi=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},Qv=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},Ba=function(){var e=hn.length,t=hn.slice(0),r,i;for(al={},hn.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},au=function(e){return!!(e._initted||e._startAt||e.add)},Cf=function(e,t,r,i){hn.length&&!st&&Ba(),e.render(t,r,!!(st&&t<0&&au(e))),hn.length&&!st&&Ba()},xf=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Xv).length<2?t:et(e)?e.trim():e},wf=function(e){return e},jt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Jv=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},Ti=function(e,t){for(var r in t)e[r]=t[r];return e},lc=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Br(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},Na=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},ts=function(e){var t=e.parent||Me,r=e.keyframes?Jv(mt(e.keyframes)):jt;if(Mt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},e0=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Af=function(e,t,r,i,s){var a=e[i],o;
vendor: 7,582 bytes, line 38
38if(s)for(o=t[s];a&&a[s]>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},co=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=t._prev,a=t._next;s?s._next=a:e[r]===t&&(e[r]=a),a?a._prev=s:e[i]===t&&(e[i]=s),t._next=t._prev=t.parent=null},Dn=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Nn=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},t0=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ol=function(e,t,r,i){return e._startAt&&(st?e._startAt.revert(ma):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},r0=function n(e){return!e||e._ts&&n(e.parent)},uc=function(e){return e._repeat?Ci(e._tTime,e=e.duration()+e._rDelay)*e:0},Ci=function(e,t){var r=Math.floor(e=Pe(e/t));return e&&r===e?r-1:r},za=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},fo=function(e){return e._end=Pe(e._start+(e._tDur/Math.abs(e._ts||e._rts||Se)||0))},ho=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Pe(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),fo(e),r._dirty||Nn(r,e)),e},Lf=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=za(e.rawTime(),t),(!t._dur||Ws(0,t.totalDuration(),r)-t._tTime>Se)&&t.render(r,!0)),Nn(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=-Se}},Pr=function(e,t,r,i){return t.parent&&Dn(t),t._start=Pe((en(r)?r:r||e!==Me?Zt(e,r,t):e._time)+t._delay),t._end=Pe(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Af(e,t,"_first","_last",e._sort?"_start":0),ll(t)||(e._recent=t),i||Lf(e,t),e._ts<0&&ho(e,e._tTime),e},Pf=function(e,t){return(Xt.ScrollTrigger||ru("scrollTrigger",t))&&Xt.ScrollTrigger.create(t,e)},Mf=function(e,t,r,i,s){if(lu(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!st&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&bf!==Ht.frame)return hn.push(e),e._lazy=[s,i],1},n0=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},ll=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},i0=function(e,t,r,i){var s=e.ratio,a=t<0||!t&&(!e._start&&n0(e)&&!(!e._initted&&ll(e))||(e._ts<0||e._dp._ts<0)&&!ll(e))?0:1,o=e._rDelay,l=0,u,c,f;if(o&&e._repeat&&(l=Ws(0,e._tDur,t),c=Ci(l,o),e._yoyo&&c&1&&(a=1-a),c!==Ci(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||st||i||e._zTime===Se||!t&&e._zTime){if(!e._initted&&Mf(e,t,i,r,l))return;for(f=e._zTime,e._zTime=t||(r?Se:0),r||(r=t&&!f),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&&ol(e,t,r,!0),e._onUpdate&&!r&&$t(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&$t(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Dn(e,1),!r&&!st&&($t(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},s0=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}},xi=function(e,t,r,i){var s=e._repeat,a=Pe(t)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=a/e._dur),e._dur=a,e._tDur=s?s<0?1e10:Pe(a*(s+1)+e._rDelay*s):a,o>0&&!i&&ho(e,e._tTime=e._tDur*o),e.parent&&fo(e),r||Nn(e.parent,e),e},cc=function(e){return e instanceof Lt?Nn(e):xi(e,e._dur)},a0={_start:0,endTime:Cs,totalDuration:Cs},Zt=function n(e,t,r){var i=e.labels,s=e._recent||a0,a=e.duration()>=nr?s.endTime(!1):e._dur,o,l,u;return et(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==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?s: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*(mt(r)?r[0]:r).totalDuration()),o>1?n(e,t.substr(0,o-1),r)+l:a+l)):t==null?a:+t},rs=function(e,t,r){var i=en(t[1]),s=(i?2:1)+(e<2?0:1),a=t[s],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=Mt(l.vars.inherit)&&l.parent;a.immediateRender=Mt(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new We(t[0],a,t[s+1])},Cn=function(e,t){return e||e===0?t(e):t},Ws=function(e,t,r){return r<e?e:r>t?t:r},pt=function(e,t){return!et(e)||!(t=jv.exec(e))?"":t[1]},o0=function(e,t,r){return Cn(r,function(i){return Ws(e,t,i)})},ul=[].slice,Ff=function(e,t){return e&&Br(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Br(e[0]))&&!e.nodeType&&e!==wr},l0=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return et(i)&&!t||Ff(i,1)?(s=r).push.apply(s,ir(i)):r.push(i)})||r},ir=function(e,t,r){return we&&!t&&we.selector?we.selector(e):et(e)&&!r&&(sl||!wi())?ul.call((t||tu).querySelectorAll(e),0):mt(e)?l0(e,r):Ff(e)?ul.call(e,0):e?[e]:[]},cl=function(e){return e=ir(e)[0]||Ts("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return ir(t,r.querySelectorAll?r:r===e?Ts("Invalid scope")||tu.createElement("div"):e)}},kf=function(e){return e.sort(function(){return .5-Math.random()})},Of=function(e){if(Be(e))return e;var t=Br(e)?e:{each:e},r=zn(t.ease),i=t.from||0,s=parseFloat(t.base)||0,a={},o=i>0&&i<1,l=isNaN(i)||o,u=t.axis,c=i,f=i;return et(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(c=i[0],f=i[1]),function(g,d,p){var h=(p||t).length,y=a[h],v,m,_,D,E,A,S,b,C;if(!y){if(C=t.grid==="auto"?0:(t.grid||[1,nr])[1],!C){for(S=-nr;S<(S=p[C++].getBoundingClientRect().left)&&C<h;);C<h&&C--}for(y=a[h]=[],v=l?Math.min(C,h)*c-.5:i%C,m=C===nr?0:l?h*f/C-.5:i/C|0,S=0,b=nr,A=0;A<h;A++)_=A%C-v,D=m-(A/C|0),y[A]=E=u?Math.abs(u==="y"?D:_):mf(_*_+D*D),E>S&&(S=E),E<b&&(b=E);i==="random"&&kf(y),y.max=S-b,y.min=b,y.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(C>h?h-1:u?u==="y"?h/C:C:Math.max(C,h/C))||0)*(i==="edges"?-1:1),y.b=h<0?s-h:s,y.u=pt(t.amount||t.each)||0,r=r&&h<0?E0(r):r}return h=(y[g]-y.min)/y.max||0,Pe(y.b+(r?r(h):h)*y.v)+y.u}},dl=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Pe(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(en(r)?0:pt(r))}},If=function(e,t){var r=mt(e),i,s;return!r&&Br(e)&&(i=r=e.radius||nr,e.values?(e=ir(e.values),(s=!en(e[0]))&&(i*=i)):e=dl(e.increment)),Cn(t,r?Be(e)?function(a){return s=e(a),Math.abs(s-a)<=i?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),u=nr,c=0,f=e.length,g,d;f--;)s?(g=e[f].x-o,d=e[f].y-l,g=g*g+d*d):g=Math.abs(e[f]-o),g<u&&(u=g,c=f);return c=!i||u<=i?e[c]:a,s||c===a||en(a)?c:c+pt(a)}:dl(e))},Rf=function(e,t,r,i){return Cn(mt(e)?!t:r===!0?!!(r=0):!i,function(){return mt(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})},u0=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(s,a){return a(s)},i)}},c0=function(e,t){return function(r){return e(parseFloat(r))+(t||pt(r))}},d0=function(e,t,r){return Nf(e,t,0,1,r)},Bf=function(e,t,r){return Cn(r,function(i){return e[~~t(i)]})},f0=function n(e,t,r){var i=t-e;return mt(e)?Bf(e,n(0,e.length),t):Cn(r,function(s){return(i+(s-e)%i)%i+e})},h0=function n(e,t,r){var i=t-e,s=i*2;return mt(e)?Bf(e,n(0,e.length-1),t):Cn(r,function(a){return a=(s+(a-e)%s)%s||
380,e+(a>i?s-a:a)})},xs=function(e){return e.replace(Yv,function(t){var r=t.indexOf("[")+1,i=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Uv);return Rf(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},Nf=function(e,t,r,i,s){var a=t-e,o=i-r;return Cn(s,function(l){return r+((l-e)/a*o||0)})},p0=function n(e,t,r,i){var s=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!s){var a=et(e),o={},l,u,c,f,g;if(r===!0&&(i=1)&&(r=null),a)e={p:e},t={p:t};else if(mt(e)&&!mt(t)){for(c=[],f=e.length,g=f-2,u=1;u<f;u++)c.push(n(e[u-1],e[u]));f--,s=function(p){p*=f;var h=Math.min(g,~~p);return c[h](p-h)},r=t}else i||(e=Ti(mt(e)?[]:{},e));if(!c){for(l in t)ou.call(o,e,l,"get",t[l]);s=function(p){return du(p,o)||(a?e.p:e)}}}return Cn(r,s)},dc=function(e,t,r){var i=e.labels,s=nr,a,o,l;for(a in i)o=i[a]-t,o<0==!!r&&o&&s>(o=Math.abs(o))&&(l=a,s=o);return l},$t=function(e,t,r){var i=e.vars,s=i[t],a=we,o=e._ctx,l,u,c;if(s)return l=i[t+"Params"],u=i.callbackScope||e,r&&hn.length&&Ba(),o&&(we=o),c=l?s.apply(u,l):s.call(u),we=a,c},Wi=function(e){return Dn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!st),e.progress()<1&&$t(e,"onInterrupt"),e},ci,zf=[],Gf=function(e){if(e)if(e=!e.name&&e.default||e,eu()||e.headless){var t=e.name,r=Be(e),i=t&&!r&&e.init?function(){this._props=[]}:e,s={init:Cs,render:du,add:ou,kill:M0,modifier:P0,rawVars:0},a={targetTest:0,get:0,getSetter:cu,aliases:{},register:0};if(wi(),e!==i){if(Vt[t])return;jt(i,jt(Na(e,s),a)),Ti(i.prototype,Ti(s,Na(e,a))),Vt[i.prop=t]=i,e.targetTest&&(va.push(i),nu[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Sf(t,i),e.register&&e.register(Rt,i,kt)}else zf.push(e)},Ee=255,$i={aqua:[0,Ee,Ee],lime:[0,Ee,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ee],navy:[0,0,128],white:[Ee,Ee,Ee],olive:[128,128,0],yellow:[Ee,Ee,0],orange:[Ee,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ee,0,0],pink:[Ee,192,203],cyan:[0,Ee,Ee],transparent:[Ee,Ee,Ee,0]},Fo=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)*Ee+.5|0},Vf=function(e,t,r){var i=e?en(e)?[e>>16,e>>8&Ee,e&Ee]:0:$i.black,s,a,o,l,u,c,f,g,d,p;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),$i[e])i=$i[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+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&Ee,i&Ee,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Ee,e&Ee]}else if(e.substr(0,3)==="hsl"){if(i=p=e.match(ac),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,a=c<=.5?c*(u+1):c+u-c*u,s=c*2-a,i.length>3&&(i[3]*=1),i[0]=Fo(l+1/3,s,a),i[1]=Fo(l,s,a),i[2]=Fo(l-1/3,s,a);else if(~e.indexOf("="))return i=e.match(_f),r&&i.length<4&&(i[3]=1),i}else i=e.match(ac)||$i.transparent;i=i.map(Number)}return t&&!p&&(s=i[0]/Ee,a=i[1]/Ee,o=i[2]/Ee,f=Math.max(s,a,o),g=Math.min(s,a,o),c=(f+g)/2,f===g?l=u=0:(d=f-g,u=c>.5?d/(2-f-g):d/(f+g),l=f===s?(a-o)/d+(a<o?6:0):f===a?(o-s)/d+2:(s-a)/d+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},qf=function(e){var t=[],r=[],i=-1;return e.split(pn).forEach(function(s){var a=s.match(ui)||[];t.push.apply(t,a),r.push(i+=a.length+1)}),t.c=r,t},fc=function(e,t,r){var i="",s=(e+i).match(pn),a=t?"hsla(":"rgba(",o=0,l,u,c,f;if(!s)return e;if(s=s.map(function(g){return(g=Vf(g,t,1))&&a+(t?g[0]+","+g[1]+"%,"+g[2]+"%,"+g[3]:g.join(","))+")"}),r&&(c=qf(e),l=r.c,l.join(i)!==c.c.join(i)))for(u=e.replace(pn,"1").split(ui),f=u.length-1;o<f;o++)i+=u[o]+(~l.indexOf(o)?s.shift()||a+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!u)for(u=e.split(pn),f=u.length-1;o<f;o++)i+=u[o]+s[o];return i+u[f]},pn=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in $i)n+="|"+e+"\\b";return new RegExp(n+")","gi")}(),g0=/hsl[a]?\(/,Hf=function(e){var t=e.join(" "),r;if(pn.lastIndex=0,pn.test(t))return r=g0.test(t),e[1]=fc(e[1],r),e[0]=fc(e[0],r,qf(e[1])),!0},ws,Ht=function(){var n=Date.now,e=500,t=33,r=n(),i=r,s=1e3/240,a=s,o=[],l,u,c,f,g,d,p=function h(y){var v=n()-i,m=y===!0,_,D,E,A;if((v>e||v<0)&&(r+=v-t),i+=v,E=i-r,_=E-a,(_>0||m)&&(A=++f.frame,g=E-f.time*1e3,f.time=E=E/1e3,a+=_+(_>=s?4:s-_),D=1),m||(l=u(h)),D)for(d=0;d<o.length;d++)o[d](E,g,A,y)};return f={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(y){return g/(1e3/(y||60))},wake:function(){yf&&(!sl&&eu()&&(wr=sl=window,tu=wr.document||{},Xt.gsap=Rt,(wr.gsapVersions||(wr.gsapVersions=[])).push(Rt.version),Ef(Ra||wr.GreenSockGlobals||!wr.gsap&&wr||{}),zf.forEach(Gf)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(y){return setTimeout(y,a-f.t
vendor: 21,660 bytes, line 38
38ime*1e3+1|0)},ws=1,p(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),ws=0,u=Cs},lagSmoothing:function(y,v){e=y||1/0,t=Math.min(v||33,e)},fps:function(y){s=1e3/(y||240),a=f.time*1e3+s},add:function(y,v,m){var _=v?function(D,E,A,S){y(D,E,A,S),f.remove(_)}:y;return f.remove(y),o[m?"unshift":"push"](_),wi(),_},remove:function(y,v){~(v=o.indexOf(y))&&o.splice(v,1)&&d>=v&&d--},_listeners:o},f}(),wi=function(){return!ws&&Ht.wake()},pe={},m0=/^[\d.\-M][\d.\-,\s]/,v0=/["']/g,_0=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,a=r.length,o,l,u;s<a;s++)l=r[s],o=s!==a-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),t[i]=isNaN(u)?u.replace(v0,"").trim():+u,i=l.substr(o+1).trim();return t},D0=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)},y0=function(e){var t=(e+"").split("("),r=pe[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[_0(t[1])]:D0(e).split(",").map(xf)):pe._CE&&m0.test(e)?pe._CE("",e):r},E0=function(e){return function(t){return 1-e(1-t)}},zn=function(e,t){return e&&(Be(e)?e:pe[e]||y0(e))||t},Kn=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 s={easeIn:t,easeOut:r,easeInOut:i},a;return Ft(e,function(o){pe[o]=Xt[o]=s,pe[a=o.toLowerCase()]=r;for(var l in s)pe[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=pe[o+"."+l]=s[l]}),s},Wf=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ko=function n(e,t,r){var i=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),a=s/il*(Math.asin(1/i)||0),o=function(c){return c===1?1:i*Math.pow(2,-10*c)*$v((c-a)*s)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:Wf(o);return s=il/s,l.config=function(u,c){return n(e,u,c)},l},Oo=function n(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(s){return 1-r(1-s)}:Wf(r);return i.config=function(s){return n(e,s)},i};Ft("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;Kn(n+",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})});pe.Linear.easeNone=pe.none=pe.Linear.easeIn;Kn("Elastic",ko("in"),ko("out"),ko());(function(n,e){var t=1/e,r=2*t,i=2.5*t,s=function(o){return o<t?n*o*o:o<r?n*Math.pow(o-1.5/e,2)+.75:o<i?n*(o-=2.25/e)*o+.9375:n*Math.pow(o-2.625/e,2)+.984375};Kn("Bounce",function(a){return 1-s(1-a)},s)})(7.5625,2.75);Kn("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)});Kn("Circ",function(n){return-(mf(1-n*n)-1)});Kn("Sine",function(n){return n===1?1:-Wv(n*qv)+1});Kn("Back",Oo("in"),Oo("out"),Oo());pe.SteppedEase=pe.steps=Xt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),s=t?1:0,a=1-Se;return function(o){return((i*Ws(0,a,o)|0)+s)*r}}};bs.ease=pe["quad.out"];Ft("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return iu+=n+","+n+"Params,"});var $f=function(e,t){this.id=Hv++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Tf,this.set=t?t.getSetter:cu},As=function(){function n(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,xi(this,+t.duration,1,1),this.data=t.data,we&&(this._ctx=we,we.data.push(this)),ws||Ht.wake()}var e=n.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,xi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(wi(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(ho(this,r),!s._dp||s.parent||Lf(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Pr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===Se||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Cf(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+uc(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&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+uc(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Ci(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-Se?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?za(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-Se?0:this._rts,this.totalTime(Ws(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),fo(this),t0(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):(wi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Se&&(this._tTime-=Se)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Pe(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Pr(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Mt(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?za(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Zv);var i=st;return st=r,au(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),st=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,cc(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,cc(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(Zt(this,r),Mt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Mt(i)),this._dur||(this._zTime=-Se),this},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?-Se:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Se,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-Se)},e.eventCallback=function(r,i,s){var a=this.vars;return arguments.length>1?(i?(a[r]=i,s&&(a[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete a[r],this):a[r]},e.then=function(r){var i=this,s=i._prom;return new Promise(function(a){var o=Be(r)?r:wf,l=function(){var c=i.then;i.then=null,s&&s(),Be(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=c),a(o),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){Wi(this)},n}();jt(As.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:-Se,_prom:0,_ps:!1,_rts:1});var Lt=function(n){gf(e,n);function e(r,i){var s;return r===void 0&&(r={}),s=n.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=Mt(r.sortChildren),Me&&Pr(r.parent||Me,Hr(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Pf(Hr(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(i,s,a){return rs(0,arguments,this),this},t.from=function(i,s,a){return rs(1,arguments,this),this},t.fromTo=function(i,s,a,o){return rs(2,arguments,this),this},t.set=function(i,s,a){return s.duration=0,s.parent=this,ts(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new We(i,s,Zt(this,a),1),this},t.call=function(i,s,a){return Pr(this,We.delayedCall(0,i,s),a)},t.staggerTo=function(i,s,a,o,l,u,c){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new We(i,a,Zt(this,l)),this},t.staggerFrom=function(i,s,a,o,l,u,c){return a.runBackwards=1,ts(a).immediateRender=Mt(a.immediateRender),this.staggerTo(i,s,a,o,l,u,c)},t.staggerFromTo=function(i,s,a,o,l,u,c,f){return o.startAt=a,ts(o).immediateRender=Mt(o.immediateRender),this.staggerTo(i,s,o,l,u,c,f)},t.render=function(i,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Pe(i),f=this._zTime<0!=i<0&&(this._initted||!u),g,d,p,h,y,v,m,_,D,E,A,S;if(this!==Me&&c>l&&i>=0&&(c=l),c!==this._tTime||a||f){if(o!==this._time&&u&&(c+=this._time-o,i+=this._time-o),g=c,D=this._start,_=this._ts,v=!_,f&&(u||(o=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(A=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,s,a);if(g=Pe(c%y),c===l?(h=this._repeat,g=u):(E=Pe(c/y),h=~~E,h&&h===E&&(g=u,h--),g>u&&(g=u)),E=Ci(this._tTime,y),!o&&this._tTime&&E!==h&&this._tTime-E*y-this._dur<=0&&(E=h),A&&h&1&&(g=u-g,S=1),h!==E&&!this._lock){var b=A&&E&1,C=b===(A&&h&1);if(h<E&&(b=!b),o=b?0:c%u?u:c,this._lock=1,this.render(o||(S?0:Pe(h*y)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&$t(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,E=h),o&&o!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,C&&(this._lock=2,o=b?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!v)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=s0(this,Pe(o),Pe(g)),m&&(c-=g-(g=m._start))),this._tTime=c,this._time=g,this._act=!!_,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&c&&u&&!s&&!E&&($t(this,"onStart"),this._tTime!==c))return this;if(g>=o&&i>=0)for(d=this._first;d;){if(p=d._next,(d._act||g>=d._start)&&d._ts&&m!==d){if(d.parent!==this)return this.render(i,s,a);if(d.render(d._ts>0?(g-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(g-d._start)*d._ts,s,a),g!==this._time||!this._ts&&!v){m=0,p&&(c+=this._zTime=-Se);break}}d=p}else{d=this._last;for(var x=i<0?i:g;d;){if(p=d._prev,(d._act||x<=d._end)&&d._ts&&m!==d){if(d.parent!==this)return this.render(i,s,a);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,s,a||st&&au(d)),g!==this._time||!this._ts&&!v){m=0,p&&(c+=this._zTime=x?-Se:Se);break}}d=p}}if(m&&!s&&(this.pause(),m.render(g>=o?0:-Se)._zTime=g>=o?1:-1,this._ts))return this._start=D,fo(this),this.render(i,s,a);this._onUpdate&&!s&&$t(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(D===this._start||Math.abs(_)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Dn(this,1),!s&&!(i<0&&!o)&&(c||o||!l)&&($t(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,s){var a=this;if(en(s)||(s=Zt(this,s,i)),!(i instanceof As)){if(mt(i))return i.forEach(function(o){return a.add(o,s)}),this;if(et(i))return this.addLabel(i,s);if(Be(i))i=We.delayedCall(0,i);else return this}return this!==i?Pr(this,i,s):this},t.getChildren=function(i,s,a,o){i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-nr);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof We?s&&l.push(u):(a&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,a)))),u=u._next;return l},t.getById=function(i){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===i)return s[a]},t.remove=function(i){return et(i)?this.removeLabel(i):Be(i)?this.killTweensOf(i):(i.parent===this&&co(this,i),i===this._recent&&(this._recent=this._last),Nn(this))},t.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Pe(Ht.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},t.addLabel=function(i,s){return this.labels[i]=Zt(this,s),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,s,a){var o=We.delayedCall(0,s||Cs,a);return o.data="isPause",this._hasPause=1,Pr(this,o,Zt(this,i))},t.removePause=function(i){var s=this._first;for(i=Zt(this,i);s;)s._start===i&&s.data==="isPause"&&Dn(s),s=s._next},t.killTweensOf=function(i,s,a){for(var o=this.getTweensOf(i,a),l=o.length;l--;)ln!==o[l]&&o[l].kill(i,s);return this},t.getTweensOf=function(i,s){for(var a=[],o=ir(i),l=this._first,u=en(s),c;l;)l instanceof We?Qv(l._targets,o)&&(u?(!ln||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(c=l.getTweensOf(o,s)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(i,s){s=s||{};var a=this,o=Zt(a,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,g=l.immediateRender,d,p=We.to(a,jt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||Se,onStart:function(){if(a.pause(),!d){var y=s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());p._dur!==y&&xi(p,y,0,1).render(p._time,!0,!0),d=1}c&&c.apply(p,f||[])}},s));return g?p.render(0):p},t.tweenFromTo=function(i,s,a){return this.tweenTo(s,jt({startAt:{time:Zt(this,i)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),dc(this,Zt(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),dc(this,Zt(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+Se)},t.shiftChildren=function(i,s,a){a===void 0&&(a=0);var o=this._first,l=this.labels,u;for(i=Pe(i);o;)o._start>=a&&(o._start+=i,o._end+=i),o=o._next;if(s)for(u in l)l[u]>=a&&(l[u]+=i);return Nn(this)},t.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Nn(this)},t.totalDuration=function(i){var s=0,a=this,o=a._last,l=nr,u,c,f;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-i:i));if(a._dirty){for(f=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,Pr(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(s-=c,(!f&&!a._dp||f&&f.smoothChildTiming)&&(a._start+=Pe(c/a._ts),a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=u;xi(a,a===Me&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(i){if(Me._ts&&(Cf(Me,za(i,Me)),bf=Ht.frame),Ht.frame>=oc){oc+=Ut.autoSleep||120;var s=Me._first;if((!s||!s._ts)&&Ut.autoSleep&&Ht._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Ht.sleep()}}},e}(As);jt(Lt.prototype,{_lock:0,_hasPause:0,_forcing:0});var S0=function(e,t,r,i,s,a,o){var l=new kt(this._pt,e,t,0,1,Zf,null,s),u=0,c=0,f,g,d,p,h,y,v,m;for(l.b=r,l.e=i,r+="",i+="",(v=~i.indexOf("random("))&&(i=xs(i)),a&&(m=[r,i],a(m,e,t),r=m[0],i=m[1]),g=r.match(Po)||[];f=Po.exec(i);)p=f[0],h=i.substring(u,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==g[c++]&&(y=parseFloat(g[c-1])||0,l._pt={_next:l._pt,p:h||c===1?h:",",s:y,c:p.charAt(1)==="="?gi(y,p)-y:parseFloat(p)-y,m:d&&d<4?Math.round:0},u=Po.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(Df.test(i)||v)&&(l.e=0),this._pt=l,l},ou=function(e,t,r,i,s,a,o,l,u,c){Be(i)&&(i=i(s||0,e,a));var f=e[t],g=r!=="get"?r:Be(f)?u?e[t.indexOf("set")||!Be(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():f,d=Be(f)?u?w0:jf:uu,p;if(et(i)&&(~i.indexOf("random(")&&(i=xs(i)),i.charAt(1)==="="&&(p=gi(g,i)+(pt(g)||0),(p||p===0)&&(i=p))),!c||g!==i||fl)return!isNaN(g*i)&&i!==""?(p=new kt(this._pt,e,t,+g||0,i-(g||0),typeof f=="boolean"?L0:Kf,0,d),u&&(p.fp=u),o&&p.modifier(o,this,e),this._pt=p):(!f&&!(t in e)&&ru(t,i),S0.call(this,e,t,g,i,d,l||Ut.stringFilter,u))},b0=function(e,t,r,i,s){if(Be(e)&&(e=ns(e,s,t,r,i)),!Br(e)||e.style&&e.nodeType||mt(e)||vf(e))return et(e)?ns(e,s,t,r,i):e;var a={},o;for(o in e)a[o]=ns(e[o],s,t,r,i);return a},Yf=function(e,t,r,i,s,a){var o,l,u,c;if(Vt[e]&&(o=new Vt[e]).init(s,o.rawVars?t[e]:b0(t[e],i,s,a,r),r,i,a)!==!1&&(r._pt=l=new kt(r._pt,s,e,0,1,o.render,o,0,o.priority),r!==ci))for(u=r._ptLookup[r._targets.indexOf(s)],c=o._props.length;c--;)u[o._props[c]]=l;return o},ln,fl,lu=function n(e,t,r){var i=e.vars,s=i.ease,a=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,f=i.yoyoEase,g=i.keyframes,d=i.autoRevert,p=e._dur,h=e._startAt,y=e._targets,v=e.parent,m=v&&v.data==="nested"?v.vars.targets:y,_=e._overwrite==="auto"&&!Ql,D=e.timeline,E=i.easeReverse||f,A,S,b,C,x,M,w,O,I,N,F,P,k;if(D&&(!g||!s)&&(s="none"),e._ease=zn(s,bs.ease),e._rEase=E&&(zn(E)||e._ease),e._from=!D&&!!i.runBackwards,e._from&&(e.ratio=1),!D||g&&!i.stagger){if(O=y[0]?Bn(y[0]).harness:0,P=O&&i[O.prop],A=Na(i,nu),h&&(h._zTime<0&&h.progress(1),t<0&&c&&o&&!d?h.render(-1,!0):h.revert(c&&p?ma:Kv),h._lazy=0),a){if(Dn(e._startAt=We.set(y,jt({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!h&&Mt(l),startAt:null,delay:0,onUpdate:u&&function(){return $t(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(st||!o&&!d)&&e._startAt.revert(ma),o&&p&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&p&&!h){if(t&&(o=!1),b=jt({overwrite:!1,data:"isFromStart",lazy:o&&!h&&Mt(l),immediateRender:o,stagger:0,parent:v},A),P&&(b[O.prop]=P),Dn(e._startAt=We.set(y,b)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(st?e._startAt.revert(ma):e._startAt.render(-1,!0)),e._zTime=t,!o)n(e._startAt,Se,Se);else if(!t)return}for(e._pt=e._ptCache=0,l=p&&Mt(l)||l&&!p,S=0;S<y.length;S++){if(x=y[S],w=x._gsap||su(y)[S]._gsap,e._ptLookup[S]=N={},al[w.id]&&hn.length&&Ba(),F=m===y?S:m.indexOf(x),O&&(I=new O).init(x,P||A,e,F,m)!==!1&&(e._pt=C=new kt(e._pt,x,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(R){N[R]=C}),I.priority&&(M=1)),!O||P)for(b in A)Vt[b]&&(I=Yf(b,A,e,F,x,m))?I.priority&&(M=1):N[b]=C=ou.call(e,x,b,"get",A[b],F,m,0,i.stringFilter);e._op&&e._op[S]&&e.kill(x,e._op[S]),_&&e._pt&&(ln=e,Me.killTweensOf(x,N,e.globalTime(t)),k=!e.parent,ln=0),e._pt&&l&&(al[w.id]=1)}M&&Qf(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!k,g&&t<=0&&D.render(nr,!0,!0)},T0=function(e,t,r,i,s,a,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,f,g,d;if(!u)for(u=e._ptCache[t]=[],g=e._ptLookup,d=e._targets.length;d--;){if(c=g[d][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 fl=1,e.vars[t]="+=0",lu(e,o),fl=0,l?Ts(t+" not eligible for reset. Try splitting into individual properties"):1;u.push(c)}for(d=u.length;d--;)f=u[d],c=f._pt||f,c.s=(i||i===0)&&!s?i:c.s+(i||0)+a*c.c,c.c=r-c.s,f.e&&(f.e=ze(r)+pt(f.e)),f.b&&(f.b=c.s+pt(f.b))},C0=function(e,t){var r=e[0]?Bn(e[0]).harness:0,i=r&&r.aliases,s,a,o,l;if(!i)return t;s=Ti({},t);for(a in i)if(a in s)for(l=i[a].split(","),o=l.length;o--;)s[l[o]]=s[a];return s},x0=function(e,t,r,i){var s=t.ease||i||"power1.inOut",a,o;if(mt(t))o=r[e]||(r[e]=[]),t.forEach(function(l,u){return o.push({t:u/(t.length-1)*100,v:l,e:s})});else for(a in t)o=r[a]||(r[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:t[a],e:s})},ns=function(e,t,r,i,s){return Be(e)?e.call(t,r,i,s):et(e)&&~e.indexOf("random(")?xs(e):e},Uf=iu+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Xf={};Ft(Uf+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return Xf[n]=1});var We=function(n){gf(e,n);function e(r,i,s,a){var o;typeof i=="number"&&(s.duration=i,i=s,s=null),o=n.call(this,a?i:ts(i))||this;var l=o.vars,u=l.duration,c=l.delay,f=l.immediateRender,g=l.stagger,d=l.overwrite,p=l.keyframes,h=l.defaults,y=l.scrollTrigger,v=i.parent||Me,m=(mt(r)||vf(r)?en(r[0]):"length"in i)?[r]:ir(r),_,D,E,A,S,b,C,x;if(o._targets=m.length?su(m):Ts("GSAP target "+r+" not found. https://gsap.com",!Ut.nullTargetWarn)||[],o._ptLookup=[],o._over
38write=d,p||g||Zs(u)||Zs(c)){i=o.vars;var M=i.easeReverse||i.yoyoEase;if(_=o.timeline=new Lt({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:m}),_.kill(),_.parent=_._dp=Hr(o),_._start=0,g||Zs(u)||Zs(c)){if(A=m.length,C=g&&Of(g),Br(g))for(S in g)~Uf.indexOf(S)&&(x||(x={}),x[S]=g[S]);for(D=0;D<A;D++)E=Na(i,Xf),E.stagger=0,M&&(E.easeReverse=M),x&&Ti(E,x),b=m[D],E.duration=+ns(u,Hr(o),D,b,m),E.delay=(+ns(c,Hr(o),D,b,m)||0)-o._delay,!g&&A===1&&E.delay&&(o._delay=c=E.delay,o._start+=c,E.delay=0),_.to(b,E,C?C(D,b,m):0),_._ease=pe.none;_.duration()?u=c=0:o.timeline=0}else if(p){ts(jt(_.vars.defaults,{ease:"none"})),_._ease=zn(p.ease||i.ease||"none");var w=0,O,I,N;if(mt(p))p.forEach(function(F){return _.to(m,F,">")}),_.duration();else{E={};for(S in p)S==="ease"||S==="easeEach"||x0(S,p[S],E,p.easeEach);for(S in E)for(O=E[S].sort(function(F,P){return F.t-P.t}),w=0,D=0;D<O.length;D++)I=O[D],N={ease:I.e,duration:(I.t-(D?O[D-1].t:0))/100*u},N[S]=I.v,_.to(m,N,w),w+=N.duration;_.duration()<u&&_.to({},{duration:u-_.duration()})}}u||o.duration(u=_.duration())}else o.timeline=0;return d===!0&&!Ql&&(ln=Hr(o),Me.killTweensOf(m),ln=0),Pr(v,Hr(o),s),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(f||!u&&!p&&o._start===Pe(v._time)&&Mt(f)&&r0(Hr(o))&&v.data!=="nested")&&(o._tTime=-Se,o.render(Math.max(0,-c)||0)),y&&Pf(Hr(o),y),o}var t=e.prototype;return t.render=function(i,s,a){var o=this._time,l=this._tDur,u=this._dur,c=i<0,f=i>l-Se&&!c?l:i<Se?0:i,g,d,p,h,y,v,m,_;if(!u)i0(this,i,s,a);else if(f!==this._tTime||!i||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(g=f,_=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+i,s,a);if(g=Pe(f%h),f===l?(p=this._repeat,g=u):(y=Pe(f/h),p=~~y,p&&p===y?(g=u,p--):g>u&&(g=u)),v=this._yoyo&&p&1,v&&(g=u-g),y=Ci(this._tTime,h),g===o&&!a&&this._initted&&p===y)return this._tTime=f,this;p!==y&&this.vars.repeatRefresh&&!v&&!this._lock&&g!==h&&this._initted&&(this._lock=a=1,this.render(Pe(h*p),!0).invalidate()._lock=0)}if(!this._initted){if(Mf(this,c?i:g,a,s,f))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&p!==y))return this;if(u!==this._dur)return this.render(i,s,a)}if(this._rEase){var D=g<o;if(D!==this._inv){var E=D?o:u-o;this._inv=D,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=o,this._invRecip=E?(D?-1:1)/E:0,this._invScale=D?-this.ratio:1-this.ratio,this._invEase=D?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((g-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(g/u);if(this._from&&(this.ratio=m=1-m),this._tTime=f,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),!o&&f&&!s&&!y&&($t(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(m,d.d),d=d._next;_&&_.render(i<0?i:_._dur*_._ease(g/this._dur),s,a)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&ol(this,i,s,a),$t(this,"onUpdate")),this._repeat&&p!==y&&this.vars.onRepeat&&!s&&this.parent&&$t(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&ol(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Dn(this,1),!s&&!(c&&!o)&&(f||o||v)&&($t(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<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),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,s,a,o,l){ws||Ht.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||lu(this,u),c=this._ease(u/this._dur),T0(this,i,s,a,o,c,u,l)?this.resetTo(i,s,a,o,1):(ho(this,0),this.parent||Af(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Wi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!st),this;if(this.timeline){var a=this.timeline.totalDuration();
38return this.timeline.killTweensOf(i,s,ln&&ln.vars.overwrite!==!0)._first||Wi(this),this.parent&&a!==this.timeline.totalDuration()&&xi(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=i?ir(i):o,u=this._ptLookup,c=this._pt,f,g,d,p,h,y,v;if((!s||s==="all")&&e0(o,l))return s==="all"&&(this._pt=0),Wi(this);for(f=this._op=this._op||[],s!=="all"&&(et(s)&&(h={},Ft(s,function(m){return h[m]=1}),s=h),s=C0(o,s)),v=o.length;v--;)if(~l.indexOf(o[v])){g=u[v],s==="all"?(f[v]=s,p=g,d={}):(d=f[v]=f[v]||{},p=s);for(h in p)y=g&&g[h],y&&((!("kill"in y.d)||y.d.kill(h)===!0)&&co(this,y,"_pt"),delete g[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&c&&Wi(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return rs(1,arguments)},e.delayedCall=function(i,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(i,s,a){return rs(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,a){return Me.killTweensOf(i,s,a)},e}(As);jt(We.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Ft("staggerTo,staggerFrom,staggerFromTo",function(n){We[n]=function(){var e=new Lt,t=ul.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var uu=function(e,t,r){return e[t]=r},jf=function(e,t,r){return e[t](r)},w0=function(e,t,r,i){return e[t](i.fp,r)},A0=function(e,t,r){return e.setAttribute(t,r)},cu=function(e,t){return Be(e[t])?jf:Jl(e[t])&&e.setAttribute?A0:uu},Kf=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},L0=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Zf=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)},du=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},P0=function(e,t,r,i){for(var s=this._pt,a;s;)a=s._next,s.p===i&&s.modifier(e,t,r),s=a},M0=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?co(this,t,"_pt"):t.dep||(r=1),t=i;return!r},F0=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},Qf=function(e){for(var t=e._pt,r,i,s,a;t;){for(r=t._next,i=s;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:a)?t._prev._next=t:s=t,(t._next=i)?i._prev=t:a=t,t=r}e._pt=s},kt=function(){function n(t,r,i,s,a,o,l,u,c){this.t=r,this.s=s,this.c=a,this.p=i,this.r=o||Kf,this.d=l||this,this.set=u||uu,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=F0,this.m=r,this.mt=s,this.tween=i},n}();Ft(iu+"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,easeReverse",function(n){return nu[n]=1});Xt.TweenMax=Xt.TweenLite=We;Xt.TimelineLite=Xt.TimelineMax=Lt;Me=new Lt({sortChildren:!1,defaults:bs,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ut.stringFilter=Hf;var Gn=[],_a={},k0=[],hc=0,O0=0,Io=function(e){return(_a[e]||k0).map(function(t){return t()})},hl=function(){var e=Date.now(),t=[];e-hc>2&&(Io("matchMediaInit"),Gn.forEach(function(r){var i=r.queries,s=r.conditions,a,o,l,u;for(o in i)a=wr.matchMedia(i[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,u=1);u&&(r.revert(),l&&t.push(r))}),Io("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),hc=e,Io("matchMedia"))},Jf=function(){function n(t,r){this.selector=r&&cl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=O0++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,s){Be(r)&&(s=i,i=r,r=Be);var a=this,o=function(){var u=we,c=a.selector,f;return u&&u!==a&&u.data.push(a),s&&(a.selector=cl(s)),we=a,f=i.apply(a,arguments),Be(f)&&a._r.push(f),we=u,a.selector=c,a.isReverted=!1,f};return a.last=o,r===Be?o(a,function(l){return a.add(null,l)}):r?a[r]=o:o},e.ignore=function(r){var i=we;we=null,r(this),we=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof We&&!(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 s=this;if(r?function(){for(var o=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEac
38h(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,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof Lt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof We)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var a=Gn.length;a--;)Gn[a].id===this.id&&Gn.splice(a,1)},e.revert=function(r){this.kill(r||{})},n}(),I0=function(){function n(t){this.contexts=[],this.scope=t,we&&we.data.push(this)}var e=n.prototype;return e.add=function(r,i,s){Br(r)||(r={matches:r});var a=new Jf(0,s||this.scope),o=a.conditions={},l,u,c;we&&!a.selector&&(a.selector=we.selector),this.contexts.push(a),i=a.add("onMatch",i),a.queries=r;for(u in r)u==="all"?c=1:(l=wr.matchMedia(r[u]),l&&(Gn.indexOf(a)<0&&Gn.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(hl):l.addEventListener("change",hl)));return c&&i(a,function(f){return a.add(null,f)}),this},e.revert=function(r){this.kill(r||{})}
vendor: 6,900 bytes, lines 38-45
38,e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n}(),Ga={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 Gf(i)})},timeline:function(e){return new Lt(e)},getTweensOf:function(e,t){return Me.getTweensOf(e,t)},getProperty:function(e,t,r,i){et(e)&&(e=ir(e)[0]);var s=Bn(e||{}).get,a=r?wf:xf;return r==="native"&&(r=""),e&&(t?a((Vt[t]&&Vt[t].get||s)(e,t,r,i)):function(o,l,u){return a((Vt[o]&&Vt[o].get||s)(e,o,l,u))})},quickSetter:function(e,t,r){if(e=ir(e),e.length>1){var i=e.map(function(c){return Rt.quickSetter(c,t,r)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var a=Vt[t],o=Bn(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var f=new a;ci._pt=0,f.init(e,r?c+r:c,ci,0,[e]),f.render(1,f),ci._pt&&du(1,ci)}: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,s=Rt.to(e,jt((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),a=function(l,u,c){return s.resetTo(t,l,u,c)};return a.tween=s,a},isTweening:function(e){return Me.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=zn(e.ease,bs.ease)),lc(bs,e||{})},config:function(e){return lc(Ut,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,s=e.defaults,a=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!Vt[o]&&!Xt[o]&&Ts(t+" effect requires "+o+" plugin.")}),Mo[t]=function(o,l,u){return r(ir(o),jt(l||{},s),u)},a&&(Lt.prototype[t]=function(o,l,u){return this.add(Mo[t](o,Br(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){pe[e]=zn(t)},parseEase:function(e,t){return arguments.length?zn(e,t):pe},getById:function(e){return Me.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Lt(e),i,s;for(r.smoothChildTiming=Mt(e.smoothChildTiming),Me.remove(r),r._dp=0,r._time=r._tTime=Me._time,i=Me._first;i;)s=i._next,(t||!(!i._dur&&i instanceof We&&i.vars.onComplete===i._targets[0]))&&Pr(r,i,i._start-i._delay),i=s;return Pr(Me,r,0),r},context:function(e,t){return e?new Jf(e,t):we},matchMedia:function(e){return new I0(e)},matchMediaRefresh:function(){return Gn.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||hl()},addEventListener:function(e,t){var r=_a[e]||(_a[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=_a[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:f0,wrapYoyo:h0,distribute:Of,random:Rf,snap:If,normalize:d0,getUnit:pt,clamp:o0,splitColor:Vf,toArray:ir,selector:cl,mapRange:Nf,pipe:u0,unitize:c0,interpolate:p0,shuffle:kf},install:Ef,effects:Mo,ticker:Ht,updateRoot:Lt.updateRoot,plugins:Vt,globalTimeline:Me,core:{PropTween:kt,globals:Sf,Tween:We,Timeline:Lt,Animation:As,getCache:Bn,_removeLinkedListItem:co,reverting:function(){return st},context:function(e){return e&&we&&(we.data.push(e),e._ctx=we),we},suppressOverwrites:function(e){return Ql=e}}};Ft("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Ga[n]=We[n]});Ht.add(Lt.updateRoot);ci=Ga.to({},{duration:0});var R0=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},B0=function(e,t){var r=e._targets,i,s,a;for(i in t)for(s=r.length;s--;)a=e._ptLookup[s][i],a&&(a=a.d)&&(a._pt&&(a=R0(a,i)),a&&a.modifier&&a.modifier(t[i],e,r[s],i))},Ro=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,s,a){a._onInit=function(o){var l,u;if(et(s)&&(l={},Ft(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}B0(o,s)}}}},Rt=Ga.registerPlugin({name:"attr",init:function(e,t,r,i,s){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,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var r=t._pt;r;)st?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,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)}},Ro("roundProps",dl),Ro("modifiers"),Ro("snap",If))||Ga;We.version=Lt.version=Rt.version="3.15.0";yf=1;eu()&&wi();pe.Power0;pe.Power1;pe.Power2;pe.Power3;pe.Power4;pe.Linear;pe.Quad;pe.Cubic;pe.Quart;pe.Quint;pe.Strong;pe.Elastic;pe.Back;pe.SteppedEase;pe.Bounce;pe.Sine;pe.Expo;pe.Circ;/*!
39 * CSSPlugin 3.15.0
40 * https://gsap.com
41 *
42 * Copyright 2008-2026, GreenSock. All rights reserved.
43 * Subject to the terms at https://gsap.com/standard-license
44 * @author: Jack Doyle, [email protected]
45*/var pc,un,mi,fu,On,gc,hu,N0=function(){return typeof window<"u"},tn={},Mn=180/Math.PI,vi=Math.PI/180,Jn=Math.atan2,mc=1e8,pu=/([A-Z])/g,z0=/(left|right|width|margin|padding|x)/i,G0=/[\s,\(]\S/,Fr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},pl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},V0=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)},q0=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)},H0=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},W0=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},eh=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},th=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},$0=function(e,t,r){return e.style[t]=r},Y0=function(e,t,r){return e.style.setProperty(t,r)},U0=function(e,t,r){return e._gsap[t]=r},X0=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},j0=function(e,t,r,i,s){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(s,a)},K0=function(e,t,r,i,s){var a=e._gsap;a[t]=r,a.renderTransform(s,a)},Fe="transform",Ot=Fe+"Origin",Z0=function n(e,t){var r=this,i=this.target,s=i.style,a=i._gsap;if(e in tn&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Fr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=$r(i,o)}):this.tfm[e]=a.x?a[e]:$r(i,e),e===Ot&&(this.tfm.zOrigin=a.zOrigin);else return Fr.transform.split(",").forEach(function(o){return n.call(r,o,t)});if(this.props.indexOf(Fe)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ot,t,"")),e=Fe}(s||t)&&this.props.push(e,t,s[e])},rh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Q0=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,s,a;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?t[e[s]](e[s+2]):t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(pu,"-$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||"")),s=hu(),(!s||!s.isStart)&&!r[Fe]&&(rh(r),i.zOrigin&&r[Ot]&&(r[Ot]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},nh=function(e,t){var r={target:e,props:[],revert:Q0,save:Z0};return e._gsap||Rt.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.s
45ave(i)}),r},ih,gl=function(e,t){var r=un.createElementNS?un.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):un.createElement(e);return r&&r.style?r:un.createElement(e)},Yt=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(pu,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,Ai(t)||t,1)||""},vc="O,Moz,ms,Ms,Webkit".split(","),Ai=function(e,t,r){var i=t||On,s=i.style,a=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(vc[a]+e in s););return a<0?null:(a===3?"ms":a>=0?vc[a]:"")+e},ml=function(){N0()&&window.document&&(pc=window,un=pc.document,mi=un.documentElement,On=gl("div")||{style:{}},gl("div"),Fe=Ai(Fe),Ot=Fe+"Origin",On.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ih=!!Ai("perspective"),hu=Rt.core.reverting,fu=1)},_c=function(e){var t=e.ownerSVGElement,r=gl("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),mi.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),mi.removeChild(r),s},Dc=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},sh=function(e){var t,r;try{t=e.getBBox()}catch{t=_c(e),r=1}return t&&(t.width||t.height)||r||(t=_c(e)),t&&!t.width&&!t.x&&!t.y?{x:+Dc(e,["x","cx","x1"])||0,y:+Dc(e,["y","cy","y1"])||0,width:0,height:0}:t},ah=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&sh(e))},yn=function(e,t){if(t){var r=e.style,i;t in tn&&t!==Ot&&(t=Fe),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(pu,"-$1").toLowerCase())):r.removeAttribute(t)}},cn=function(e,t,r,i,s,a){var o=new kt(e._pt,t,r,0,1,a?th:eh);return e._pt=o,o.b=i,o.e=s,e._props.push(r),o},yc={deg:1,rad:1,turn:1},J0={grid:1,flex:1},En=function n(e,t,r,i){var s=parseFloat(r)||0,a=(r+"").trim().substr((s+"").length)||"px",o=On.style,l=z0.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,g=i==="px",d=i==="%",p,h,y,v;if(i===a||!s||yc[i]||yc[a])return s;if(a!=="px"&&!g&&(s=n(e,t,r,"px")),v=e.getCTM&&ah(e),(d||a==="%")&&(tn[t]||~t.indexOf("adius")))return p=v?e.getBBox()[l?"width":"height"]:e[c],ze(d?s/p*f:s/100*p);if(o[l?"width":"height"]=f+(g?a:i),h=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,v&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===un||!h.appendChild)&&(h=un.body),y=h._gsap,y&&d&&y.width&&l&&y.time===Ht.time&&!y.uncache)return ze(s/y.width*f);if(d&&(t==="height"||t==="width")){var m=e.style[t];e.style[t]=f+i,p=e[c],m?e.style[t]=m:yn(e,t)}else(d||a==="%")&&!J0[Yt(h,"display")]&&(o.position=Yt(e,"position")),h===e&&(o.position="static"),h.appendChild(On),p=On[c],h.removeChild(On),o.position="absolute";return l&&d&&(y=Bn(h),y.time=Ht.time,y.width=h[c]),ze(g?p*s/f:p&&s?f/p*s:0)},$r=function(e,t,r,i){var s;return fu||ml(),t in Fr&&t!=="transform"&&(t=Fr[t],~t.indexOf(",")&&(t=t.split(",")[0])),tn[t]&&t!=="transform"?(s=Ps(e,i),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:qa(Yt(e,Ot))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Va[t]&&Va[t](e,t,r)||Yt(e,t)||Tf(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?En(e,t,s,r)+r:s},e_=function(e,t,r,i){if(!r||r==="none"){var s=Ai(t,e,1),a=s&&Yt(e,s,1);a&&a!==r?(t=s,r=a):t==="borderColor"&&(r=Yt(e,"borderTopColor"))}var o=new kt(this._pt,e.style,t,0,1,Zf),l=0,u=0,c,f,g,d,p,h,y,v,m,_,D,E;if(o.b=r,o.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=Yt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=e.style[t],e.style[t]=i,i=Yt(e,t)||i,h?e.style[t]=h:yn(e,t)),c=[r,i],Hf(c),r=c[0],i=c[1],g=r.match(ui)||[],E=i.match(ui)||[],E.length){for(;f=ui.exec(i);)y=f[0],m=i.substring(l,f.index),p?p=(p+1)%5:(m.substr(-5)==="rgba("||m.substr(-5)==="hsla(")&&(p=1),y!==(h=g[u++]||"")&&(d=parseFloat(h)||0,D=h.substr((d+"").length),y.charAt(1)==="="&&(y=gi(d,y)+D),v=parseFloat(y),_=y.substr((v+"").length),l=ui.lastIndex-_.length,_||(_=_||Ut.units[t]||D,l===i.length&&(i+=_,o.e+=_)),D!==_&&(d=En(e,t,h,_)||0),o._pt={_next:o._pt,p:m||u===1?m:",",s:d,c:v-d,m:p&&p<4||t==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=t==="display"&&i==="none"?th:eh;return Df.test(i)&&(o.e=0),this._pt=o,o},Ec={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},t_=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]=Ec[r]||r,t[1]=Ec[i]||i,t.join(" ")}
45,r_=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,s=t.u,a=r._gsap,o,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)o=s[u],tn[o]&&(l=1,o=o==="transformOrigin"?Ot:Fe),yn(r,o);l&&(yn(r,Fe),a&&(a.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Ps(r,1),a.uncache=1,rh(i)))}},Va={clearProps:function(e,t,r,i,s){if(s.data!=="isFromStart"){var a=e._pt=new kt(e._pt,t,r,0,0,r_);return a.u=i,a.pr=-10,a.tween=s,e._props.push(r),1}}},Ls=[1,0,0,1,0,0],oh={},lh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Sc=function(e){var t=Yt(e,Fe);return lh(t)?Ls:t.substr(7).match(_f).map(ze)},gu=function(e,t){var r=e._gsap||Bn(e),i=e.style,s=Sc(e),a,o,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?Ls:s):(s===Ls&&!e.offsetParent&&e!==mi&&!r.svg&&(l=i.display,i.display="block",a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,mi.appendChild(e)),s=Sc(e),l?i.display=l:yn(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):mi.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},vl=function(e,t,r,i,s,a){var o=e._gsap,l=s||gu(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,f=o.xOffset||0,g=o.yOffset||0,d=l[0],p=l[1],h=l[2],y=l[3],v=l[4],m=l[5],_=t.split(" "),D=parseFloat(_[0])||0,E=parseFloat(_[1])||0,A,S,b,C;r?l!==Ls&&(S=d*y-p*h)&&(b=D*(y/S)+E*(-h/S)+(h*m-y*v)/S,C=D*(-p/S)+E*(d/S)-(d*m-p*v)/S,D=b,E=C):(A=sh(e),D=A.x+(~_[0].indexOf("%")?D/100*A.width:D),E=A.y+(~(_[1]||_[0]).indexOf("%")?E/100*A.height:E)),i||i!==!1&&o.smooth?(v=D-u,m=E-c,o.xOffset=f+(v*d+m*h)-v,o.yOffset=g+(v*p+m*y)-m):o.xOffset=o.yOffset=0,o.xOrigin=D,o.yOrigin=E,o.smooth=!!i,o.origin=t,o.originIsAbsolute=!!r,e.style[Ot]="0px 0px",a&&(cn(a,o,"xOrigin",u,D),cn(a,o,"yOrigin",c,E),cn(a,o,"xOffset",f,o.xOffset),cn(a,o,"yOffset",g,o.yOffset)),e.setAttribute("data-svg-origin",D+" "+E)},Ps=function(e,t){var r=e._gsap||new $f(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=Yt(e,Ot)||"0",c,f,g,d,p,h,y,v,m,_,D,E,A,S,b,C,x,M,w,O,I,N,F,P,k,R,T,z,X,U,K,de;return c=f=g=h=y=v=m=_=D=0,d=p=1,r.svg=!!(e.getCTM&&ah(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Fe]=(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[Fe]!=="none"?l[Fe]:"")),i.scale=i.rotate=i.translate="none"),S=gu(e,r.svg),r.svg&&(r.uncache?(k=e.getBBox(),u=r.xOrigin-k.x+"px "+(r.yOrigin-k.y)+"px",P=""):P=!t&&e.getAttribute("data-svg-origin"),vl(e,P||u,!!P||r.originIsAbsolute,r.smooth!==!1,S)),E=r.xOrigin||0,A=r.yOrigin||0,S!==Ls&&(M=S[0],w=S[1],O=S[2],I=S[3],c=N=S[4],f=F=S[5],S.length===6?(d=Math.sqrt(M*M+w*w),p=Math.sqrt(I*I+O*O),h=M||w?Jn(w,M)*Mn:0,m=O||I?Jn(O,I)*Mn+h:0,m&&(p*=Math.abs(Math.cos(m*vi))),r.svg&&(c-=E-(E*M+A*O),f-=A-(E*w+A*I))):(de=S[6],U=S[7],T=S[8],z=S[9],X=S[10],K=S[11],c=S[12],f=S[13],g=S[14],b=Jn(de,X),y=b*Mn,b&&(C=Math.cos(-b),x=Math.sin(-b),P=N*C+T*x,k=F*C+z*x,R=de*C+X*x,T=N*-x+T*C,z=F*-x+z*C,X=de*-x+X*C,K=U*-x+K*C,N=P,F=k,de=R),b=Jn(-O,X),v=b*Mn,b&&(C=Math.cos(-b),x=Math.sin(-b),P=M*C-T*x,k=w*C-z*x,R=O*C-X*x,K=I*x+K*C,M=P,w=k,O=R),b=Jn(w,M),h=b*Mn,b&&(C=Math.cos(b),x=Math.sin(b),P=M*C+w*x,k=N*C+F*x,w=w*C-M*x,F=F*C-N*x,M=P,N=k),y&&Math.abs(y)+Math.abs(h)>359.9&&(y=h=0,v=180-v),d=ze(Math.sqrt(M*M+w*w+O*O)),p=ze(Math.sqrt(F*F+de*de)),b=Jn(N,F),m=Math.abs(b)>2e-4?b*Mn:0,D=K?1/(K<0?-K:K):0),r.svg&&(P=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!lh(Yt(e,Fe)),P&&e.setAttribute("transform",P))),Math.abs(m)>90&&Math.abs(m)<270&&(s?(d*=-1,m+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,m+=m<=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=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=g+a,r.scaleX=ze(d),r.scaleY=ze(p),r.rotation=ze(h)+o,r.rotationX=ze(y)+o,r.rotationY=ze(v)+o,r.skewX=m+o,r.skewY=_+o,r.transformPerspective=D+a,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Ot]=qa(u)),r.xOffset=r.yOffset=0,r.force3D=Ut.force3D,r.renderTransform=r.svg?i_:ih?uh:n_,r.uncache=0,r},qa=function(e){return(e=e.split(" "))[0]+" "+e[1]},Bo=function(e,t,r){var i=pt(t);return ze(parseFloat(t)+parseFloat(En(e,"x",r+"px",i)))+i},n_=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,uh(e,t)},Ln="0deg",Bi="0px",Pn=") ",uh=function(e,t){var r=t||this,i=r.xPercent,s=r.yPercent,a=r.x,o=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,g=r.skewX,d=r.skewY,p=r.scaleX,h=r.scaleY,y=r.transformPerspective,v=r.force3D,m=r.target,_=r.zOrigin,D="",E=v==="auto"&&e&&e!==1||v===!0;if(_&&(f!==Ln||c!==Ln)){var A=parseFloat(c)*vi,S=Math.sin(A),b=Math.cos(A),C;A=parseFloat(f)*vi,C=Math.cos(A),a=Bo(m,a,S*C*-_),o=Bo(m,o,-Math.sin(A)*-_),l=Bo(m,l,b*C*-_+_)}y!==Bi&&(D+="perspective("+y+Pn),(i||s)&&(D+="translate("+i+"%, "+s+"%) "),(E||a!==Bi||o!==Bi||l!==Bi)&&(D+=l!==Bi||E?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+Pn),u!==Ln&&(D+="rotate("+u+Pn),c!==Ln&&(D+="rotateY("+c+Pn),f!==Ln&&(D+="rotateX("+f+Pn),(g
45!==Ln||d!==Ln)&&(D+="skew("+g+", "+d+Pn),(p!==1||h!==1)&&(D+="scale("+p+", "+h+Pn),m.style[Fe]=D||"translate(0, 0)"},i_=function(e,t){var r=t||this,i=r.xPercent,s=r.yPercent,a=r.x,o=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,g=r.scaleY,d=r.target,p=r.xOrigin,h=r.yOrigin,y=r.xOffset,v=r.yOffset,m=r.forceCSS,_=parseFloat(a),D=parseFloat(o),E,A,S,b,C;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=vi,u*=vi,E=Math.cos(l)*f,A=Math.sin(l)*f,S=Math.sin(l-u)*-g,b=Math.cos(l-u)*g,u&&(c*=vi,C=Math.tan(u-c),C=Math.sqrt(1+C*C),S*=C,b*=C,c&&(C=Math.tan(c),C=Math.sqrt(1+C*C),E*=C,A*=C)),E=ze(E),A=ze(A),S=ze(S),b=ze(b)):(E=f,b=g,A=S=0),(_&&!~(a+"").indexOf("px")||D&&!~(o+"").indexOf("px"))&&(_=En(d,"x",a,"px"),D=En(d,"y",o,"px")),(p||h||y||v)&&(_=ze(_+p-(p*E+h*S)+y),D=ze(D+h-(p*A+h*b)+v)),(i||s)&&(C=d.getBBox(),_=ze(_+i/100*C.width),D=ze(D+s/100*C.height)),C="matrix("+E+","+A+","+S+","+b+","+_+","+D+")",d.setAttribute("transform",C),m&&(d.style[Fe]=C)},s_=function(e,t,r,i,s){var a=360,o=et(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?Mn:1),u=l-i,c=i+u+"deg",f,g;return o&&(f=s.split("_")[1],f==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),f==="cw"&&u<0?u=(u+a*mc)%a-~~(u/a)*a:f==="ccw"&&u>0&&(u=(u-a*mc)%a-~~(u/a)*a)),e._pt=g=new kt(e._pt,t,r,i,u,V0),g.e=c,g.u="deg",e._props.push(r),g},bc=function(e,t){for(var r in t)e[r]=t[r];return e},a_=function(e,t,r){var i=bc({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=r.style,o,l,u,c,f,g,d,p;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),a[Fe]=t,o=Ps(r,1),yn(r,Fe),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Fe],a[Fe]=t,o=Ps(r,1),a[Fe]=u);for(l in tn)u=i[l],c=o[l],u!==c&&s.indexOf(l)<0&&(d=pt(u),p=pt(c),f=d!==p?En(r,l,u,p):parseFloat(u),g=parseFloat(c),e._pt=new kt(e._pt,o,l,f,g-f,pl),e._pt.u=p||0,e._props.push(l));bc(o,i)};Ft("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",s="Left",a=(e<3?[t,r,i,s]:[t+s,t+r,i+r,i+s]).map(function(o){return e<2?n+o:"border"+o+n});Va[e>1?"border"+n:n]=function(o,l,u,c,f){var g,d;if(arguments.length<4)return g=a.map(function(p){return $r(o,p,u)}),d=g.join(" "),d.split(g[0]).length===5?g[0]:d;g=(c+"").split(" "),d={},a.forEach(function(p,h){return d[p]=g[h]=g[h]||g[(h-1)/2|0]}),o.init(l,d,f)}});var ch={name:"css",register:ml,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,s){var a=this._props,o=e.style,l=r.vars.startAt,u,c,f,g,d,p,h,y,v,m,_,D,E,A,S,b,C;fu||ml(),this.styles=this.styles||nh(e),b=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Vt[h]&&Yf(h,t,r,i,e,s)))){if(d=typeof c,p=Va[h],d==="function"&&(c=c.call(r,i,e,s),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=xs(c)),p)p(this,e,h,c,r)&&(S=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",pn.lastIndex=0,pn.test(u)||(y=pt(u),v=pt(c),v?y!==v&&(u=En(e,h,u,v)+v):y&&(c+=y)),this.add(o,"setProperty",u,c,i,s,0,0,h),a.push(h),b.push(h,0,o[h]);else if(d!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(r,i,e,s):l[h],et(u)&&~u.indexOf("random(")&&(u=xs(u)),pt(u+"")||u==="auto"||(u+=Ut.units[h]||pt($r(e,h))||""),(u+"").charAt(1)==="="&&(u=$r(e,h))):u=$r(e,h),g=parseFloat(u),m=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),m&&(c=c.substr(2)),f=parseFloat(c),h in Fr&&(h==="autoAlpha"&&(g===1&&$r(e,"visibility")==="hidden"&&f&&(g=0),b.push("visibility",0,o.visibility),cn(this,o,"visibility",g?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=Fr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),_=h in tn,_){if(this.styles.save(h),C=c,d==="string"&&c.substring(0,6)==="var(--"){if(c=Yt(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=c,c=Yt(e,"perspective"),x?e.style.perspective=x:yn(e,"perspective")}f=parseFloat(c)}if(D||(E=e._gsap,E.renderTransform&&!t.parseTransform||Ps(e,t.parseTransform),A=t.smoothOrigin!==!1&&E.smooth,D=this._pt=new kt(this._pt,o,Fe,0,1,E.renderTransform,E,0,-1),D.dep=1),h==="scale")this._pt=new kt(this._pt,E,"scaleY",E.scaleY,(m?gi(E.scaleY,m+f):f)-E.scaleY||0,pl),this._pt.u=0,a.push("scaleY",h),h+="X";else if(h==="transformOrigin"){b.push(Ot,0,o[Ot]),c=t_(c),E.svg?vl(e,c,0,A,0,this):(v=parseFloat(c.split(" ")[2])||0,v!==E.zOrigin&&cn(this,E,"zOrigin",E.zOrigin,v),
45cn(this,o,h,qa(u),qa(c)));continue}else if(h==="svgOrigin"){vl(e,c,1,A,0,this);continue}else if(h in oh){s_(this,E,h,g,m?gi(g,m+c):c);continue}else if(h==="smoothOrigin"){cn(this,E,"smooth",E.smooth,c);continue}else if(h==="force3D"){E[h]=c;continue}else if(h==="transform"){a_(this,c,e);continue}}else h in o||(h=Ai(h)||h);if(_||(f||f===0)&&(g||g===0)&&!G0.test(c)&&h in o)y=(u+"").substr((g+"").length),f||(f=0),v=pt(c)||(h in Ut.units?Ut.units[h]:y),y!==v&&(g=En(e,h,u,v)),this._pt=new kt(this._pt,_?E:o,h,g,(m?gi(g,m+f):f)-g,!_&&(v==="px"||h==="zIndex")&&t.autoRound!==!1?W0:pl),this._pt.u=v||0,_&&C!==c?(this._pt.b=u,this._pt.e=C,this._pt.r=H0):y!==v&&v!=="%"&&(this._pt.b=u,this._pt.r=q0);else if(h in o)e_.call(this,e,h,u,m?m+c:c);else if(h in e)this.add(e,h,u||e[h],m?m+c:c,i,s);else if(h!=="parseTransform"){ru(h,c);continue}_||(h in o?b.push(h,0,o[h]):typeof e[h]=="function"?b.push(h,2,e[h]()):b.push(h,1,u||e[h])),a.push(h)}}S&&Qf(this)},render:function(e,t){if(t.tween._time||!hu())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:$r,aliases:Fr,getSetter:function(e,t,r){var i=Fr[t];return i&&i.indexOf(",")<0&&(t=i),t in tn&&t!==Ot&&(e._gsap.x||$r(e,"x"))?r&&gc===r?t==="scale"?X0:U0:(gc=r||{})&&(t==="scale"?j0:K0):e.style&&!Jl(e.style[t])?$0:~t.indexOf("-")?Y0:cu(e,t)},core:{_removeProperty:yn,_getMatrix:gu}};Rt.utils.checkPrefix=Ai;Rt.core.getStyleSaver=nh;(function(n,e,t,r){var i=Ft(n+","+e+","+t,function(s){tn[s]=1});Ft(e,function(s){Ut.units[s]="deg",oh[s]=1}),Fr[i[13]]=n+","+e,Ft(r,function(s){var a=s.split(":");Fr[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");Ft("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ut.units[n]="px"});Rt.registerPlugin(ch);var $s=Rt.registerPlugin(ch)||Rt;$s.core.Tween;function o_(n,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(n,r.key,r)}}function l_(n,e,t){return e&&o_(n.prototype,e),n}/*!
46 * Observer 3.15.0
47 * https://gsap.com
48 *
49 * @license Copyright 2008-2026, GreenSock. All rights reserved.
50 * Subject to the terms at https://gsap.com/standard-license
51 * @author: Jack Doyle, [email protected]
52*/var it,Da,Wt,dn,fn,_i,dh,Fn,Di,fh,Kr,pr,hh,ph=function(){return it||typeof window<"u"&&(it=window.gsap)&&it.registerPlugin&&it},gh=1,di=[],ue=[],Or=[],is=Date.now,_l=function(e,t){return t},u_=function(){var e=Di.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,ue),i.push.apply(i,Or),ue=r,Or=i,_l=function(a,o){return t[a](o)}},gn=function(e,t){return~Or.indexOf(e)&&Or[Or.indexOf(e)+1][t]},ss=function(e){return!!~fh.indexOf(e)},Et=function(e,t,r,i,s){return e.addEventListener(t,r,{passive:i!==!1,capture:!!s})},yt=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},Qs="scrollLeft",Js="scrollTop",Dl=function(){return Kr&&Kr.isPressed||ue.cache++},Ha=function(e,t){var r=function i(s){if(s||s===0){gh&&(Wt.history.scrollRestoration="manual");var a=Kr&&Kr.isPressed;s=i.v=Math.round(s)||(Kr&&Kr.iOS?1:0),e(s),i.cacheID=ue.cache,a&&_l("ss",s)}else(t||ue.cache!==i.cacheID||_l("ref"))&&(i.cacheID=ue.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},Ct={s:Qs,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ha(function(n){return arguments.length?Wt.scrollTo(n,je.sc()):Wt.pageXOffset||dn[Qs]||fn[Qs]||_i[Qs]||0})},je={s:Js,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Ct,sc:Ha(function(n){return arguments.length?Wt.scrollTo(Ct.sc(),n):Wt.pageYOffset||dn[Js]||fn[Js]||_i[Js]||0})},At=function(e,t){return(t&&t._ctx&&t._ctx.selector||it.utils.toArray)(e)[0]||(typeof e=="string"&&it.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},c_=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},Sn=function(e,t){var r=t.s,i=t.sc;ss(e)&&(e=dn.scrollingElement||fn);var s=ue.indexOf(e),a=i===je.sc?1:2;!~s&&(s=ue.push(e)-1),ue[s+a]||Et(e,"scroll",Dl);var o=ue[s+a],l=o||(ue[s+a]=Ha(gn(e,r),!0)||(ss(e)?i:Ha(function(u){return arguments.length?e[r]=u:e[r]})));return l.target=e,o||(l.smooth=it.getProperty(e,"scrollBehavior")==="smooth"),l},yl=function(e,t,r){var i=e,s=e,a=is(),o=a,l=t||50,u=Math.max(500,l*3),c=function(p,h){var y=is();h||y-a>l?(s=i,i=p,o=a,a=y):r?i+=p:i=s+(p-s)/(y-o)*(a-o)},f=function(){s=i=r?0:i,o=a=0},g=function(p){var h=o,y=s,v=is();return(p||p===0)&&p!==i&&c(p),a===o||v-o>
52u?0:(i+(r?y:-y))/((r?v:a)-h)*1e3};return{update:c,reset:f,getVelocity:g}},Ni=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Tc=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},mh=function(){Di=it.core.globals().ScrollTrigger,Di&&Di.core&&u_()},vh=function(e){return it=e||ph(),!Da&&it&&typeof document<"u"&&document.body&&(Wt=window,dn=document,fn=dn.documentElement,_i=dn.body,fh=[Wt,dn,fn,_i],it.utils.clamp,hh=it.core.context||function(){},Fn="onpointerenter"in _i?"pointer":"mouse",dh=Ge.isTouch=Wt.matchMedia&&Wt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Wt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,pr=Ge.eventTypes=("ontouchstart"in fn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in fn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return gh=0},500),Da=1),Di||mh(),Da};Ct.op=je;ue.cache=0;var Ge=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(r){Da||vh(it)||console.warn("Please gsap.registerPlugin(Observer)"),Di||mh();var i=r.tolerance,s=r.dragMinimum,a=r.type,o=r.target,l=r.lineHeight,u=r.debounce,c=r.preventDefault,f=r.onStop,g=r.onStopDelay,d=r.ignore,p=r.wheelSpeed,h=r.event,y=r.onDragStart,v=r.onDragEnd,m=r.onDrag,_=r.onPress,D=r.onRelease,E=r.onRight,A=r.onLeft,S=r.onUp,b=r.onDown,C=r.onChangeX,x=r.onChangeY,M=r.onChange,w=r.onToggleX,O=r.onToggleY,I=r.onHover,N=r.onHoverEnd,F=r.onMove,P=r.ignoreCheck,k=r.isNormalizer,R=r.onGestureStart,T=r.onGestureEnd,z=r.onWheel,X=r.onEnable,U=r.onDisable,K=r.onClick,de=r.scrollSpeed,V=r.capture,Q=r.allowClicks,ge=r.lockAxis,ie=r.onLockAxis;this.target=o=At(o)||fn,this.vars=r,d&&(d=it.utils.toArray(d)),i=i||1e-9,s=s||0,p=p||1,de=de||1,a=a||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Wt.getComputedStyle(_i).lineHeight)||22);var De,Ye,Ve,G,te,Ce,Oe,B=this,at=0,Kt=0,ur=r.passive||!c&&r.passive!==!1,be=Sn(o,Ct),cr=Sn(o,je),yr=be(),Gr=cr(),qe=~a.indexOf("touch")&&!~a.indexOf("pointer")&&pr[0]==="pointerdown",Er=ss(o),Ae=o.ownerDocument||dn,H=[0,0,0],L=[0,0,0],q=0,W=function(){return q=is()},$=function(ee,me){return(B.event=ee)&&d&&c_(ee.target,d)||me&&qe&&ee.pointerType!=="touch"||P&&P(ee,me)},wt=function(){B._vx.reset(),B._vy.reset(),Ye.pause(),f&&f(B)},tt=function(){var ee=B.deltaX=Tc(H),me=B.deltaY=Tc(L),Y=Math.abs(ee)>=i,re=Math.abs(me)>=i;M&&(Y||re)&&M(B,ee,me,H,L),Y&&(E&&B.deltaX>0&&E(B),A&&B.deltaX<0&&A(B),C&&C(B),w&&B.deltaX<0!=at<0&&w(B),at=B.deltaX,H[0]=H[1]=H[2]=0),re&&(b&&B.deltaY>0&&b(B),S&&B.deltaY<0&&S(B),x&&x(B),O&&B.deltaY<0!=Kt<0&&O(B),Kt=B.deltaY,L[0]=L[1]=L[2]=0),(G||Ve)&&(F&&F(B),Ve&&(y&&Ve===1&&y(B),m&&m(B),Ve=0),G=!1),Ce&&!(Ce=!1)&&ie&&ie(B),te&&(z(B),te=!1),De=0},_t=function(ee,me,Y){H[Y]+=ee,L[Y]+=me,B._vx.update(ee),B._vy.update(me),u?De||(De=requestAnimationFrame(tt)):tt()},dr=function(ee,me){ge&&!Oe&&(B.axis=Oe=Math.abs(ee)>Math.abs(me)?"x":"y",Ce=!0),Oe!=="y"&&(H[2]+=ee,B._vx.update(ee,!0)),Oe!=="x"&&(L[2]+=me,B._vy.update(me,!0)),u?De||(De=requestAnimationFrame(tt)):tt()},Sr=function(ee){if(!$(ee,1)){ee=Ni(ee,c);var me=ee.clientX,Y=ee.clientY,re=me-B.x,J=Y-B.y,ne=B.isDragging;B.x=me,B.y=Y,(ne||(re||J)&&(Math.abs(B.startX-me)>=s||Math.abs(B.startY-Y)>=s))&&(Ve||(Ve=ne?2:1),ne||(B.isDragging=!0),dr(re,J))}},br=B.onPress=function(se){$(se,1)||se&&se.button||(B.axis=Oe=null,Ye.pause(),B.isPressed=!0,se=Ni(se),at=Kt=0,B.startX=B.x=se.clientX,B.startY=B.y=se.clientY,B._vx.reset(),B._vy.reset(),Et(k?o:Ae,pr[1],Sr,ur,!0),B.deltaX=B.deltaY=0,_&&_(B))},Z=B.onRelease=function(se){if(!$(se,1)){yt(k?o:Ae,pr[1],Sr,!0);var ee=!isNaN(B.y-B.startY),me=B.isDragging,Y=me&&(Math.abs(B.x-B.startX)>3||Math.abs(B.y-B.startY)>3),re=Ni(se);!Y&&ee&&(B._vx.reset(),B._vy.reset(),c&&Q&&it.delayedCall(.08,function(){if(is()-q>300&&!se.defaultPrevented){if(se.target.click)se.target.click();else if(Ae.createEvent){var J=Ae.createEvent("MouseEvents");J.initMouseEvent("click",!0,!0,Wt,1,re.screenX,re.screenY,re.clientX,re.clientY,!1,!1,!1,!1,0,null),se.target.dispatchEvent(J)}}})),B.isDragging=B.isGesturing=B.isPressed=!1,f&&me&&!k&&Ye.restart(!0),Ve&&tt(),v&&me&&v(B),D&&D(B,Y)}},Vr=function(ee){return ee.touches&&ee.touches.length>1&&(B.isGesturing=!0)&&R(ee,B.isDragging)},Dt=function(){return(B.isGesturing=!1)||T(B)},ot=function(ee){if(!$(ee)){var me=be(),Y=cr();_t((me-yr)*de,(Y-Gr)*de,1),yr=me,Gr=Y,f&&Ye.restart(!0)}},fr=function(ee){if(!$(ee)){ee=Ni(ee,c),z&&(te=!0);
52var me=(ee.deltaMode===1?l:ee.deltaMode===2?Wt.innerHeight:1)*p;_t(ee.deltaX*me,ee.deltaY*me,0),f&&!k&&Ye.restart(!0)}},xn=function(ee){if(!$(ee)){var me=ee.clientX,Y=ee.clientY,re=me-B.x,J=Y-B.y;B.x=me,B.y=Y,G=!0,f&&Ye.restart(!0),(re||J)&&dr(re,J)}},Zn=function(ee){B.event=ee,I(B)},qr=function(ee){B.event=ee,N(B)},Oi=function(ee){return $(ee)||Ni(ee,c)&&K(B)};Ye=B._dc=it.delayedCall(g||.25,wt).pause(),B.deltaX=B.deltaY=0,B._vx=yl(0,50,!0),B._vy=yl(0,50,!0),B.scrollX=be,B.scrollY=cr,B.isDragging=B.isGesturing=B.isPressed=!1,hh(this),B.enable=function(se){return B.isEnabled||(Et(Er?Ae:o,"scroll",Dl),a.indexOf("scroll")>=0&&Et(Er?Ae:o,"scroll",ot,ur,V),a.indexOf("wheel")>=0&&Et(o,"wheel",fr,ur,V),(a.indexOf("touch")>=0&&dh||a.indexOf("pointer")>=0)&&(Et(o,pr[0],br,ur,V),Et(Ae,pr[2],Z),Et(Ae,pr[3],Z),Q&&Et(o,"click",W,!0,!0),K&&Et(o,"click",Oi),R&&Et(Ae,"gesturestart",Vr),T&&Et(Ae,"gestureend",Dt),I&&Et(o,Fn+"enter",Zn),N&&Et(o,Fn+"leave",qr),F&&Et(o,Fn+"move",xn)),B.isEnabled=!0,B.isDragging=B.isGesturing=B.isPressed=G=Ve=!1,B._vx.reset(),B._vy.reset(),yr=be(),Gr=cr(),se&&se.type&&br(se),X&&X(B)),B},B.disable=function(){B.isEnabled&&(di.filter(function(se){return se!==B&&ss(se.target)}).length||yt(Er?Ae:o,"scroll",Dl),B.isPressed&&(B._vx.reset(),B._vy.reset(),yt(k?o:Ae,pr[1],Sr,!0)),yt(Er?Ae:o,"scroll",ot,V),yt(o,"wheel",fr,V),yt(o,pr[0],br,V),yt(Ae,pr[2],Z),yt(Ae,pr[3],Z),yt(o,"click",W,!0),yt(o,"click",Oi),yt(Ae,"gesturestart",Vr),yt(Ae,"gestureend",Dt),yt(o,Fn+"enter",Zn),yt(o,Fn+"leave",qr),yt(o,Fn+"move",xn),B.isEnabled=B.isPressed=B.isDragging=!1,U&&U(B))},B.kill=B.revert=function(){B.disable();var se=di.indexOf(B);se>=0&&di.splice(se,1),Kr===B&&(Kr=0)},di.push(B),k&&ss(o)&&(Kr=B),B.enable(h)},l_(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();Ge.version="3.15.0";Ge.create=function(n){return new Ge(n)};Ge.register=vh;Ge.getAll=function(){return di.slice()};Ge.getById=function(n){return di.filter(function(e){return e.vars.id===n})[0]};ph()&&it.registerPlugin(Ge);/*!
53 * ScrollTrigger 3.15.0
54 * https://gsap.com
55 *
56 * @license Copyright 2008-2026, GreenSock. All rights reserved.
57 * Subject to the terms at https://gsap.com/standard-license
58 * @author: Jack Doyle, [email protected]
59*/var j,ai,le,_e,qt,ve,mu,Wa,Ms,as,Yi,ea,dt,po,El,bt,Cc,xc,oi,_h,No,Dh,St,Sl,yh,Eh,nn,bl,vu,yi,_u,os,Tl,zo,ta=1,ft=Date.now,Go=ft(),ar=0,Ui=0,wc=function(e,t,r){var i=zt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Ac=function(e,t){return t&&(!zt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},d_=function n(){return Ui&&requestAnimationFrame(n)},Lc=function(){return po=1},Pc=function(){return po=0},Ar=function(e){return e},Xi=function(e){return Math.round(e*1e5)/1e5||0},Sh=function(){return typeof window<"u"},bh=function(){return j||Sh()&&(j=window.gsap)&&j.registerPlugin&&j},Yn=function(e){return!!~mu.indexOf(e)},Th=function(e){return(e==="Height"?_u:le["inner"+e])||qt["client"+e]||ve["client"+e]},Ch=function(e){return gn(e,"getBoundingClientRect")||(Yn(e)?function(){return Ta.width=le.innerWidth,Ta.height=_u,Ta}:function(){return Ur(e)})},f_=function(e,t,r){var i=r.d,s=r.d2,a=r.a;return(a=gn(e,"getBoundingClientRect"))?function(){return a()[i]}:function(){return(t?Th(s):e["client"+s])||0}},h_=function(e,t){return!t||~Or.indexOf(e)?Ch(e):function(){return Ta}},kr=function(e,t){var r=t.s,i=t.d2,s=t.d,a=t.a;return Math.max(0,(r="scroll"+i)&&(a=gn(e,r))?a()-Ch(e)()[s]:Yn(e)?(qt[r]||ve[r])-Th(i):e[r]-e["offset"+i])},ra=function(e,t){for(var r=0;r<oi.length;r+=3)(!t||~t.indexOf(oi[r+1]))&&e(oi[r],oi[r+1],oi[r+2])},zt=function(e){return typeof e=="string"},gt=function(e){return typeof e=="function"},ji=function(e){return typeof e=="number"},kn=function(e){return typeof e=="object"},zi=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},ei=function(e,t,r){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);i&&i.totalTime&&(e.callbackAnimation=i)}},ti=Math.abs,xh="left",wh="top",Du="right",yu="bottom",Vn="width",qn="height",ls="Right",us="Left",cs="Top",ds="Bottom",He="padding",er="margin",Li="Width",Eu="Height",Xe="px",tr=function(e){return le.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},p_=function(e){var t=tr(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Mc=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Ur=function(e,t){var r=t&&tr(e)[El]!=="matrix(1, 0, 0, 1, 0, 0)"&&j.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?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),i},$a=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Ah=function(e){var t=[],r=e.labels,i=e.duration(),s;for(s in r)t.push(r[s]/i);return t},g_=function(e){return function(t){return j.utils.snap(Ah(e),t)}},Su=function(e){var t=j.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,s){return i-s});return r?function(i,s,a){a===void 0&&(a=.001);var o;if(!s)return t(i);if(s>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,s,a){a===void 0&&(a=.001);var o=t(i);return!s||Math.abs(o-i)<a||o-i<0==s<0?o:t(s<0?i-e:i+e)}},m_=function(e){return function(t,r){return Su(Ah(e))(t,r.direction)}},na=function(e,t,r,i){return r.split(",").forEach(function(s){return e(t,s,i)})},Je=function(e,t,r,i,s){return e.addEventListener(t,r,{passive:!i,capture:!!s})},Qe=function(e,t,r,i){return e.removeEventListener(t,r,!!i)},ia=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Fc={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},sa={toggleActions:"play",anticipatePin:0},Ya={top:0,left:0,center:.5,bottom:1,right:1},ya=function(e,t){if(zt(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 Ya?Ya[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},aa=function(e,t,r,i,s,a,o,l){var u=s.startColor,c=s.endColor,f=s.fontSize,g=s.indent,d=s.fontWeight,p=_e.createElement("div"),h=Yn(r)||gn(r,"pinType")==="fixed",y=e.indexOf("scroller")!==-1,v=h?ve:r.tagName==="IFRAME"?r.contentDocument.body:r,m=e.indexOf("start")!==-1,_=m?u:c,D="border-color:"+_+";font-size:"+f+";color:"+_+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return D+="position:"+((y||l)&&h?"fixed;":"absolute;"),(y||l||!h)&&(D+=(i===je?Du:yu)+":"+(a+parseFloat(g))+"px;"),o&&(D+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=m,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=D,p.innerText=t||t===0?e+"-"+t:e,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+i.op.d2],Ea(p,0,i,m),p},Ea=function(e,t,r,i){var s={display:"block"},a=r[i?"os2":"p2"],o=r[i?"p2":"os2"];e._isFlipped=i,s[r.a+"Percent"]=i?-100:0,s[r.a]=i?"1px":0,s["border"+a+Li]=1,s["border"+o+Li]=0,s[r.p]=t+"px",j.set(e,s)},oe=[],Cl={},Fs,kc=function(){return ft()-ar>34&&(Fs||(Fs=requestAnimationFrame(Qr)))},ri=function(){(!St||!St.isPressed||St.startX>ve.clientWidth)&&(ue.cache++,St?Fs||(Fs=requestAnimationFrame(Qr)):Qr(),ar||Xn("scrollStart"),ar=ft())}
59,Vo=function(){Eh=le.innerWidth,yh=le.innerHeight},Ki=function(e){ue.cache++,(e===!0||!dt&&!Dh&&!_e.fullscreenElement&&!_e.webkitFullscreenElement&&(!Sl||Eh!==le.innerWidth||Math.abs(le.innerHeight-yh)>le.innerHeight*.25))&&Wa.restart(!0)},Un={},v_=[],Lh=function n(){return Qe(ce,"scrollEnd",n)||In(!0)},Xn=function(e){return Un[e]&&Un[e].map(function(t){return t()})||v_},Nt=[],Ph=function(e){for(var t=0;t<Nt.length;t+=5)(!e||Nt[t+4]&&Nt[t+4].query===e)&&(Nt[t].style.cssText=Nt[t+1],Nt[t].getBBox&&Nt[t].setAttribute("transform",Nt[t+2]||""),Nt[t+3].uncache=1)},Mh=function(){return ue.forEach(function(e){return gt(e)&&++e.cacheID&&(e.rec=e())})},bu=function(e,t){var r;for(bt=0;bt<oe.length;bt++)r=oe[bt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));os=!0,t&&Ph(t),t||Xn("revert")},Fh=function(e,t){ue.cache++,(t||!Tt)&&ue.forEach(function(r){return gt(r)&&r.cacheID++&&(r.rec=0)}),zt(e)&&(le.history.scrollRestoration=vu=e)},Tt,Hn=0,Oc,__=function(){if(Oc!==Hn){var e=Oc=Hn;requestAnimationFrame(function(){return e===Hn&&In(!0)})}},kh=function(){ve.appendChild(yi),_u=!St&&yi.offsetHeight||le.innerHeight,ve.removeChild(yi)},Ic=function(e){return Ms(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},In=function(e,t){if(qt=_e.documentElement,ve=_e.body,mu=[le,_e,qt,ve],ar&&!e&&!os){Je(ce,"scrollEnd",Lh);return}kh(),Tt=ce.isRefreshing=!0,os||Mh();var r=Xn("refreshInit");_h&&ce.sort(),t||bu(),ue.forEach(function(i){gt(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),oe.slice(0).forEach(function(i){return i.refresh()}),os=!1,oe.forEach(function(i){if(i._subPinOffset&&i.pin){var s=i.vars.horizontal?"offsetWidth":"offsetHeight",a=i.pin[s];i.revert(!0,1),i.adjustPinSpacing(i.pin[s]-a),i.refresh()}}),Tl=1,Ic(!0),oe.forEach(function(i){var s=kr(i.scroller,i._dir),a=i.vars.end==="max"||i._endClamp&&i.end>s,o=i._startClamp&&i.start>=s;(a||o)&&i.setPositions(o?s-1:i.start,a?Math.max(o?s:i.start+1,s):i.end,!0)}),Ic(!1),Tl=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),ue.forEach(function(i){gt(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),Fh(vu,1),Wa.pause(),Hn++,Tt=2,Qr(2),oe.forEach(function(i){return gt(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Tt=ce.isRefreshing=!1,Xn("refresh")},xl=0,Sa=1,fs,Qr=function(e){if(e===2||!Tt&&!os){ce.isUpdating=!0,fs&&fs.update(0);var t=oe.length,r=ft(),i=r-Go>=50,s=t&&oe[0].scroll();if(Sa=xl>s?-1:1,Tt||(xl=s),i&&(ar&&!po&&r-ar>200&&(ar=0,Xn("scrollEnd")),Yi=Go,Go=r),Sa<0){for(bt=t;bt-- >0;)oe[bt]&&oe[bt].update(0,i);Sa=1}else for(bt=0;bt<t;bt++)oe[bt]&&oe[bt].update(0,i);ce.isUpdating=!1}Fs=0},wl=[xh,wh,yu,Du,er+ds,er+ls,er+cs,er+us,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ba=wl.concat([Vn,qn,"boxSizing","max"+Li,"max"+Eu,"position",er,He,He+cs,He+ls,He+ds,He+us]),D_=function(e,t,r){Ei(r);var i=e._gsap;if(i.spacerIsNative)Ei(i.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},qo=function(e,t,r,i){if(!e._gsap.swappedIn){for(var s=wl.length,a=t.style,o=e.style,l;s--;)l=wl[s],a[l]=r[l];a.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(a.display="inline-block"),o[yu]=o[Du]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[Vn]=$a(e,Ct)+Xe,a[qn]=$a(e,je)+Xe,a[He]=o[er]=o[wh]=o[xh]="0",Ei(i),o[Vn]=o["max"+Li]=r[Vn],o[qn]=o["max"+Eu]=r[qn],o[He]=r[He],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},y_=/([A-Z])/g,Ei=function(e){if(e){var t=e.t.style,r=e.length,i=0,s,a;for((e.t._gsap||j.core.getCache(e.t)).uncache=1;i<r;i+=2)a=e[i+1],s=e[i],a?t[s]=a:t[s]&&t.removeProperty(s.replace(y_,"-$1").toLowerCase())}},oa=function(e){for(var t=ba.length,r=e.style,i=[],s=0;s<t;s++)i.push(ba[s],r[ba[s]]);return i.t=e,i},E_=function(e,t,r){for(var i=[],s=e.length,a=r?8:0,o;a<s;a+=2)o=e[a],i.push(o,o in t?t[o]:e[a+1]);return i.t=e.t,i},Ta={left:0,top:0},Rc=function(e,t,r,i,s,a,o,l,u,c,f,g,d,p){gt(e)&&(e=e(l)),zt(e)&&e.substr(0,3)==="max"&&(e=g+(e.charAt(4)==="="?ya("0"+e.substr(3),r):0));var h=d?d.time():0,y,v,m;if(d&&d.seek(0),isNaN(e)||(e=+e),ji(e))d&&(e=j.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,g,e)),o&&Ea(o,r,i,!0);else{gt(t)&&(t=t(l));var _=(e||"0").split(" "),D,E,A,S;m=At(t,l)||ve,D=Ur(m)||{},(!D||!D.left&&!D.top)&&tr(m).display==="none"&&(S=m.style.display,m.style.display="block",D=Ur(m),S?m.style.display=S:m.style.removeProperty("display")),E=ya(_[0],D[i.d]),A=ya(_[1]||"0",r),e=D[i.p]-u[i.p]-c+E+s-A,o&&Ea(o,A,i,r-A<20||o._isStart&&A>20),r-=r-A}if(p&&(l[p]=e||-.001,e<0&&(e=0)),a){var b=e+r,C=a._isStart;y="scroll"+i.d2,Ea(a,b,i,C&&b>20||!C&&(f?Math.max(ve[y],qt[y]):a.parentNode[y])<=b+1),f&&(u=Ur(o),f&&(a.style[i.op.p]=u[i.op.p]-i.op.m-a._offset+Xe))}return d&&m&&(y=Ur(m),d.seek(g),v=Ur(m),d._caScrollDist=y[i.p]-v[i.p],e=e/d._caScrollDist*g),d&&d.seek(h),d?e:Math.round(e)},S_=/(webkit|moz|length|cssText|inset)/i,Bc=function(e,t,r,i){if(e.parentNode!==t){var s=e.style,a,o;if(t===ve){e._stOrig=s.cssText,o=tr(e);for(a in o)!+a&&!S_.test(a)&&o[a]&&typeof s[a]=="string"&&a!=="0"&&(s[a]=o[a]);s.top=r,s.left=i}else s.cssText=e._stOrig;j.core.getCache(e).uncache=1,t.appendChild(e)}},Oh=function(e,t,r){var i=t,s=i;return function(a){var o=Math.round(e());return o!==i&&o!==s&&Math.abs(o-i)>3&&Math.abs(o-s)>
593&&(a=o,r&&r()),s=i,i=Math.round(a),i}},la=function(e,t,r){var i={};i[t.p]="+="+r,j.set(e,i)},Nc=function(e,t){var r=Sn(e,t),i="_scroll"+t.p2,s=function a(o,l,u,c,f){var g=a.tween,d=l.onComplete,p={};u=u||r();var h=Oh(r,u,function(){g.kill(),a.tween=0});return f=c&&f||0,c=c||o-u,g&&g.kill(),l[i]=o,l.inherit=!1,l.modifiers=p,p[i]=function(){return h(u+c*g.ratio+f*g.ratio*g.ratio)},l.onUpdate=function(){ue.cache++,a.tween&&Qr()},l.onComplete=function(){a.tween=0,d&&d.call(g)},g=a.tween=j.to(e,l),g};return e[i]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Je(e,"wheel",r.wheelHandler),ce.isTouch&&Je(e,"touchmove",r.wheelHandler),s},ce=function(){function n(t,r){ai||n.register(j)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),bl(this),this.init(t,r)}var e=n.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Ui){this.update=this.refresh=this.kill=Ar;return}r=Mc(zt(r)||ji(r)||r.nodeType?{trigger:r}:r,sa);var s=r,a=s.onUpdate,o=s.toggleClass,l=s.id,u=s.onToggle,c=s.onRefresh,f=s.scrub,g=s.trigger,d=s.pin,p=s.pinSpacing,h=s.invalidateOnRefresh,y=s.anticipatePin,v=s.onScrubComplete,m=s.onSnapComplete,_=s.once,D=s.snap,E=s.pinReparent,A=s.pinSpacer,S=s.containerAnimation,b=s.fastScrollEnd,C=s.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Ct:je,M=!f&&f!==0,w=At(r.scroller||le),O=j.core.getCache(w),I=Yn(w),N=("pinType"in r?r.pinType:gn(w,"pinType")||I&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],P=M&&r.toggleActions.split(" "),k="markers"in r?r.markers:sa.markers,R=I?0:parseFloat(tr(w)["border"+x.p2+Li])||0,T=this,z=r.onRefreshInit&&function(){return r.onRefreshInit(T)},X=f_(w,I,x),U=h_(w,I),K=0,de=0,V=0,Q=Sn(w,x),ge,ie,De,Ye,Ve,G,te,Ce,Oe,B,at,Kt,ur,be,cr,yr,Gr,qe,Er,Ae,H,L,q,W,$,wt,tt,_t,dr,Sr,br,Z,Vr,Dt,ot,fr,xn,Zn,qr;if(T._startClamp=T._endClamp=!1,T._dir=x,y*=45,T.scroller=w,T.scroll=S?S.time.bind(S):Q,Ye=Q(),T.vars=r,i=i||r.animation,"refreshPriority"in r&&(_h=1,r.refreshPriority===-9999&&(fs=T)),O.tweenScroll=O.tweenScroll||{top:Nc(w,je),left:Nc(w,Ct)},T.tweenTo=ge=O.tweenScroll[x.p],T.scrubDuration=function(Y){Vr=ji(Y)&&Y,Vr?Z?Z.duration(Y):Z=j.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Vr,paused:!0,onComplete:function(){return v&&v(T)}}):(Z&&Z.progress(1).kill(),Z=0)},i&&(i.vars.lazy=!1,i._initted&&!T.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),T.animation=i.pause(),i.scrollTrigger=T,T.scrubDuration(f),Sr=0,l||(l=i.vars.id)),D&&((!kn(D)||D.push)&&(D={snapTo:D}),"scrollBehavior"in ve.style&&j.set(I?[ve,qt]:w,{scrollBehavior:"auto"}),ue.forEach(function(Y){return gt(Y)&&Y.target===(I?_e.scrollingElement||qt:w)&&(Y.smooth=!1)}),De=gt(D.snapTo)?D.snapTo:D.snapTo==="labels"?g_(i):D.snapTo==="labelsDirectional"?m_(i):D.directional!==!1?function(Y,re){return Su(D.snapTo)(Y,ft()-de<500?0:re.direction)}:j.utils.snap(D.snapTo),Dt=D.duration||{min:.1,max:2},Dt=kn(Dt)?as(Dt.min,Dt.max):as(Dt,Dt),ot=j.delayedCall(D.delay||Vr/2||.1,function(){var Y=Q(),re=ft()-de<500,J=ge.tween;if((re||Math.abs(T.getVelocity())<10)&&!J&&!po&&K!==Y){var ne=(Y-G)/be,Ze=i&&!M?i.totalProgress():ne,he=re?0:(Ze-br)/(ft()-Yi)*1e3||0,Ne=j.utils.clamp(-ne,1-ne,ti(he/2)*he/.185),lt=ne+(D.inertia===!1?0:Ne),Ie,xe,ye=D,hr=ye.onStart,Le=ye.onInterrupt,Bt=ye.onComplete;if(Ie=De(lt,T),ji(Ie)||(Ie=lt),xe=Math.max(0,Math.round(G+Ie*be)),Y<=te&&Y>=G&&xe!==Y){if(J&&!J._initted&&J.data<=ti(xe-Y))return;D.inertia===!1&&(Ne=Ie-ne),ge(xe,{duration:Dt(ti(Math.max(ti(lt-Ze),ti(Ie-Ze))*.185/he/.05||0)),ease:D.ease||"power3",data:ti(xe-Y),onInterrupt:function(){return ot.restart(!0)&&Le&&ei(T,Le)},onComplete:function(){T.update(),K=Q(),i&&!M&&(Z?Z.resetTo("totalProgress",Ie,i._tTime/i._tDur):i.progress(Ie)),Sr=br=i&&!M?i.totalProgress():T.progress,m&&m(T),Bt&&ei(T,Bt)}},Y,Ne*be,xe-Y-Ne*be),hr&&ei(T,hr,ge.tween)}}else T.isActive&&K!==Y&&ot.restart(!0)}).pause()),l&&(Cl[l]=T),g=T.trigger=At(g||d!==!0&&d),qr=g&&g._gsap&&g._gsap.stRevert,qr&&(qr=qr(T)),d=d===!0?g:At(d),zt(o)&&(o={targets:g,className:o}),d&&(p===!1||p===er||(p=!p&&d.parentNode&&d.parentNode.style&&tr(d.parentNode).display==="flex"?!1:He),T.pin=d,ie=j.core.getCache(d),ie.spacer?
59cr=ie.pinState:(A&&(A=At(A),A&&!A.nodeType&&(A=A.current||A.nativeElement),ie.spacerIsNative=!!A,A&&(ie.spacerState=oa(A))),ie.spacer=qe=A||_e.createElement("div"),qe.classList.add("pin-spacer"),l&&qe.classList.add("pin-spacer-"+l),ie.pinState=cr=oa(d)),r.force3D!==!1&&j.set(d,{force3D:!0}),T.spacer=qe=ie.spacer,dr=tr(d),W=dr[p+x.os2],Ae=j.getProperty(d),H=j.quickSetter(d,x.a,Xe),qo(d,qe,dr),Gr=oa(d)),k){Kt=kn(k)?Mc(k,Fc):Fc,B=aa("scroller-start",l,w,x,Kt,0),at=aa("scroller-end",l,w,x,Kt,0,B),Er=B["offset"+x.op.d2];var Oi=At(gn(w,"content")||w);Ce=this.markerStart=aa("start",l,Oi,x,Kt,Er,0,S),Oe=this.markerEnd=aa("end",l,Oi,x,Kt,Er,0,S),S&&(Zn=j.quickSetter([Ce,Oe],x.a,Xe)),!N&&!(Or.length&&gn(w,"fixedMarkers")===!0)&&(p_(I?ve:w),j.set([B,at],{force3D:!0}),wt=j.quickSetter(B,x.a,Xe),_t=j.quickSetter(at,x.a,Xe))}if(S){var se=S.vars.onUpdate,ee=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){T.update(0,0,1),se&&se.apply(S,ee||[])})}if(T.previous=function(){return oe[oe.indexOf(T)-1]},T.next=function(){return oe[oe.indexOf(T)+1]},T.revert=function(Y,re){if(!re)return T.kill(!0);var J=Y!==!1||!T.enabled,ne=dt;J!==T.isReverted&&(J&&(fr=Math.max(Q(),T.scroll.rec||0),V=T.progress,xn=i&&i.progress()),Ce&&[Ce,Oe,B,at].forEach(function(Ze){return Ze.style.display=J?"none":"block"}),J&&(dt=T,T.update(J)),d&&(!E||!T.isActive)&&(J?D_(d,qe,cr):qo(d,qe,tr(d),$)),J||T.update(J),dt=ne,T.isReverted=J)},T.refresh=function(Y,re,J,ne){if(!((dt||!T.enabled)&&!re)){if(d&&Y&&ar){Je(n,"scrollEnd",Lh);return}!Tt&&z&&z(T),dt=T,ge.tween&&!J&&(ge.tween.kill(),ge.tween=0),Z&&Z.pause(),h&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(rn){return rn.vars.immediateRender&&rn.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),T.isReverted||T.revert(!0,!0),T._subPinOffset=!1;var Ze=X(),he=U(),Ne=S?S.duration():kr(w,x),lt=be<=.01||!be,Ie=0,xe=ne||0,ye=kn(J)?J.end:r.end,hr=r.endTrigger||g,Le=kn(J)?J.start:r.start||(r.start===0||!g?0:d?"0 0":"0 100%"),Bt=T.pinnedContainer=r.pinnedContainer&&At(r.pinnedContainer,T),Tr=g&&Math.max(0,oe.indexOf(T))||0,rt=Tr,nt,ut,wn,Us,ct,Ue,Cr,go,xu,Ii,xr,Ri,Xs;for(k&&kn(J)&&(Ri=j.getProperty(B,x.p),Xs=j.getProperty(at,x.p));rt-- >0;)Ue=oe[rt],Ue.end||Ue.refresh(0,1)||(dt=T),Cr=Ue.pin,Cr&&(Cr===g||Cr===d||Cr===Bt)&&!Ue.isReverted&&(Ii||(Ii=[]),Ii.unshift(Ue),Ue.revert(!0,!0)),Ue!==oe[rt]&&(Tr--,rt--);for(gt(Le)&&(Le=Le(T)),Le=wc(Le,"start",T),G=Rc(Le,g,Ze,x,Q(),Ce,B,T,he,R,N,Ne,S,T._startClamp&&"_startClamp")||(d?-.001:0),gt(ye)&&(ye=ye(T)),zt(ye)&&!ye.indexOf("+=")&&(~ye.indexOf(" ")?ye=(zt(Le)?Le.split(" ")[0]:"")+ye:(Ie=ya(ye.substr(2),Ze),ye=zt(Le)?Le:(S?j.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,G):G)+Ie,hr=g)),ye=wc(ye,"end",T),te=Math.max(G,Rc(ye||(hr?"100% 0":Ne),hr,Ze,x,Q()+Ie,Oe,at,T,he,R,N,Ne,S,T._endClamp&&"_endClamp"))||-.001,Ie=0,rt=Tr;rt--;)Ue=oe[rt]||{},Cr=Ue.pin,Cr&&Ue.start-Ue._pinPush<=G&&!S&&Ue.end>0&&(nt=Ue.end-(T._startClamp?Math.max(0,Ue.start):Ue.start),(Cr===g&&Ue.start-Ue._pinPush<G||Cr===Bt)&&isNaN(Le)&&(Ie+=nt*(1-Ue.progress)),Cr===d&&(xe+=nt));if(G+=Ie,te+=Ie,T._startClamp&&(T._startClamp+=Ie),T._endClamp&&!Tt&&(T._endClamp=te||-.001,te=Math.min(te,kr(w,x))),be=te-G||(G-=.01)&&.001,lt&&(V=j.utils.clamp(0,1,j.utils.normalize(G,te,fr))),T._pinPush=xe,Ce&&Ie&&(nt={},nt[x.a]="+="+Ie,Bt&&(nt[x.p]="-="+Q()),j.set([Ce,Oe],nt)),d&&!(Tl&&T.end>=kr(w,x)))nt=tr(d),Us=x===je,wn=Q(),L=parseFloat(Ae(x.a))+xe,!Ne&&te>1&&(xr=(I?_e.scrollingElement||qt:w).style,xr={style:xr,value:xr["overflow"+x.a.toUpperCase()]},I&&tr(ve)["overflow"+x.a.toUpperCase()]!=="scroll"&&(xr.style["overflow"+x.a.toUpperCase()]="scroll")),qo(d,qe,nt),Gr=oa(d),ut=Ur(d,!0),go=N&&Sn(w,Us?Ct:je)(),p?($=[p+x.os2,be+xe+Xe],$.t=qe,rt=p===He?$a(d,x)+be+xe:0,rt&&($.push(x.d,rt+Xe),qe.style.flexBasis!=="auto"&&(qe.style.flexBasis=rt+Xe)),Ei($),Bt&&oe.forEach(function(rn){rn.pin===Bt&&rn.vars.pinSpacing!==!1&&(rn._subPinOffset=!0)}),N&&Q(fr)):(rt=$a(d,x),rt&&qe.style.flexBasis!=="auto"&&(qe.style.flexBasis=rt+Xe)),N&&(ct={top:ut.top+(Us?wn-G:go)+Xe,left:ut.left+(Us?go:wn-G)+Xe,boxSizing:"border-box",position:"fixed"},ct[Vn]=ct["max"+Li]=Math.ceil(ut.width)+Xe,ct[qn]=ct["max"+Eu]=Math.ceil(ut.height)+Xe,ct[er]=ct[er+cs]=ct[er+ls]=ct[er+ds]=ct[er+us]="0",ct[He]=nt[He],ct[He+cs]=nt[He+cs],ct[He+ls]=nt[He+ls],ct[He+ds]=nt[He+ds],ct[He+us]=nt[He+us],yr=E_(cr,ct,E),Tt&&Q(0)),i?(xu=i._initted,No(1),i.render(i.duration(),!0,!0),q=Ae(x.a)-L+be+xe,tt=Math.abs(be-q)>1,N&&tt&&yr.splice(yr.length-2,2),i.render(0,!0,!0),xu||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),No(0)):q=be,xr&&(xr.value?xr.style["overflow"+x.a.toUpperCase()]=xr.value:xr.style.removeProperty("overflow-"+x.a));else if(g&&Q()&&!S)for(ut=g.parentNode;ut&&ut!==ve;)ut._pinOffset&&(G-=ut._pinOffset,te-=ut._pinOffset),ut=ut.parentNode;Ii&&Ii.forEach(function(rn){return rn.revert(!1,!0)}),T.start=G,T.end=te,Ye=Ve=Tt?fr:Q(),!S&&!Tt&&(Ye<fr&&Q(fr),T.scroll.rec=0),T.revert(!1,!0),de=ft(),ot&&(K=-1,ot.restart(!0)),dt=0,i&&M&&(i._initted||xn)&&i.progress()!==xn&&i.progress(xn||0,!0).render(i.time(),!0,!0),(lt||V!==T.progress||S||h||i&&!i._initted)&&(i&&!M&&(i._initted||V||i.vars.immediateRender!==!1)&&i.totalProgress(S&&G<-.001&&!V?j.utils.normalize(G,te,0):V,!0),T.progress=lt||(Ye-G)/be===V?0:V),d&&p&&(qe._pinOffset=Math.round(T.progress*q)),Z&&Z.invalidate(),isNaN(Ri)||(Ri-=j.getProperty(B,x.p),Xs-=j.getProperty(at,x.p),la(B,x,Ri),la(Ce,x,Ri-(ne||0)),la(at,x,Xs),la(Oe,x,Xs-(ne||0))),lt&&!Tt&&T.update(
59),c&&!Tt&&!ur&&(ur=!0,c(T),ur=!1)}},T.getVelocity=function(){return(Q()-Ve)/(ft()-Yi)*1e3||0},T.endAnimation=function(){zi(T.callbackAnimation),i&&(Z?Z.progress(1):i.paused()?M||zi(i,T.direction<0,1):zi(i,i.reversed()))},T.labelToScroll=function(Y){return i&&i.labels&&(G||T.refresh()||G)+i.labels[Y]/i.duration()*be||0},T.getTrailing=function(Y){var re=oe.indexOf(T),J=T.direction>0?oe.slice(0,re).reverse():oe.slice(re+1);return(zt(Y)?J.filter(function(ne){return ne.vars.preventOverlaps===Y}):J).filter(function(ne){return T.direction>0?ne.end<=G:ne.start>=te})},T.update=function(Y,re,J){if(!(S&&!J&&!Y)){var ne=Tt===!0?fr:T.scroll(),Ze=Y?0:(ne-G)/be,he=Ze<0?0:Ze>1?1:Ze||0,Ne=T.progress,lt,Ie,xe,ye,hr,Le,Bt,Tr;if(re&&(Ve=Ye,Ye=S?Q():ne,D&&(br=Sr,Sr=i&&!M?i.totalProgress():he)),y&&d&&!dt&&!ta&&ar&&(!he&&G<ne+(ne-Ve)/(ft()-Yi)*y?he=1e-4:he===1&&te>ne+(ne-Ve)/(ft()-Yi)*y&&(he=.9999)),he!==Ne&&T.enabled){if(lt=T.isActive=!!he&&he<1,Ie=!!Ne&&Ne<1,Le=lt!==Ie,hr=Le||!!he!=!!Ne,T.direction=he>Ne?1:-1,T.progress=he,hr&&!dt&&(xe=he&&!Ne?0:he===1?1:Ne===1?2:3,M&&(ye=!Le&&P[xe+1]!=="none"&&P[xe+1]||P[xe],Tr=i&&(ye==="complete"||ye==="reset"||ye in i))),C&&(Le||Tr)&&(Tr||f||!i)&&(gt(C)?C(T):T.getTrailing(C).forEach(function(wn){return wn.endAnimation()})),M||(Z&&!dt&&!ta?(Z._dp._time-Z._start!==Z._time&&Z.render(Z._dp._time-Z._start),Z.resetTo?Z.resetTo("totalProgress",he,i._tTime/i._tDur):(Z.vars.totalProgress=he,Z.invalidate().restart())):i&&i.totalProgress(he,!!(dt&&(de||Y)))),d){if(Y&&p&&(qe.style[p+x.os2]=W),!N)H(Xi(L+q*he));else if(hr){if(Bt=!Y&&he>Ne&&te+1>ne&&ne+1>=kr(w,x),E)if(!Y&&(lt||Bt)){var rt=Ur(d,!0),nt=ne-G;Bc(d,ve,rt.top+(x===je?nt:0)+Xe,rt.left+(x===je?0:nt)+Xe)}else Bc(d,qe);Ei(lt||Bt?yr:Gr),tt&&he<1&&lt||H(L+(he===1&&!Bt?q:0))}}D&&!ge.tween&&!dt&&!ta&&ot.restart(!0),o&&(Le||_&&he&&(he<1||!zo))&&Ms(o.targets).forEach(function(wn){return wn.classList[lt||_?"add":"remove"](o.className)}),a&&!M&&!Y&&a(T),hr&&!dt?(M&&(Tr&&(ye==="complete"?i.pause().totalProgress(1):ye==="reset"?i.restart(!0).pause():ye==="restart"?i.restart(!0):i[ye]()),a&&a(T)),(Le||!zo)&&(u&&Le&&ei(T,u),F[xe]&&ei(T,F[xe]),_&&(he===1?T.kill(!1,1):F[xe]=0),Le||(xe=he===1?1:3,F[xe]&&ei(T,F[xe]))),b&&!lt&&Math.abs(T.getVelocity())>(ji(b)?b:2500)&&(zi(T.callbackAnimation),Z?Z.progress(1):zi(i,ye==="reverse"?1:!he,1))):M&&a&&!dt&&a(T)}if(_t){var ut=S?ne/S.duration()*(S._caScrollDist||0):ne;wt(ut+(B._isFlipped?1:0)),_t(ut)}Zn&&Zn(-ne/S.duration()*(S._caScrollDist||0))}},T.enable=function(Y,re){T.enabled||(T.enabled=!0,Je(w,"resize",Ki),I||Je(w,"scroll",ri),z&&Je(n,"refreshInit",z),Y!==!1&&(T.progress=V=0,Ye=Ve=K=Q()),re!==!1&&T.refresh())},T.getTween=function(Y){return Y&&ge?ge.tween:Z},T.setPositions=function(Y,re,J,ne){if(S){var Ze=S.scrollTrigger,he=S.duration(),Ne=Ze.end-Ze.start;Y=Ze.start+Ne*Y/he,re=Ze.start+Ne*re/he}T.refresh(!1,!1,{start:Ac(Y,J&&!!T._startClamp),end:Ac(re,J&&!!T._endClamp)},ne),T.update()},T.adjustPinSpacing=function(Y){if($&&Y){var re=$.indexOf(x.d)+1;$[re]=parseFloat($[re])+Y+Xe,$[1]=parseFloat($[1])+Y+Xe,Ei($)}},T.disable=function(Y,re){if(Y!==!1&&T.revert(!0,!0),T.enabled&&(T.enabled=T.isActive=!1,re||Z&&Z.pause(),fr=0,ie&&(ie.uncache=1),z&&Qe(n,"refreshInit",z),ot&&(ot.pause(),ge.tween&&ge.tween.kill()&&(ge.tween=0)),!I)){for(var J=oe.length;J--;)if(oe[J].scroller===w&&oe[J]!==T)return;Qe(w,"resize",Ki),I||Qe(w,"scroll",ri)}},T.kill=function(Y,re){T.disable(Y,re),Z&&!re&&Z.kill(),l&&delete Cl[l];var J=oe.indexOf(T);J>=0&&oe.splice(J,1),J===bt&&Sa>0&&bt--,J=0,oe.forEach(function(ne){return ne.scroller===T.scroller&&(J=1)}),J||Tt||(T.scroll.rec=0),i&&(i.scrollTrigger=null,Y&&i.revert({kill:!1}),re||i.kill()),Ce&&[Ce,Oe,B,at].forEach(function(ne){return ne.parentNode&&ne.parentNode.removeChild(ne)}),fs===T&&(fs=0),d&&(ie&&(ie.uncache=1),J=0,oe.forEach(function(ne){return ne.pin===d&&J++}),J||(ie.spacer=0)),r.onKill&&r.onKill(T)},oe.push(T),T.enable(!1,!1),qr&&qr(T),i&&i.add&&!be){var me=T.update;T.update=function(){T.update=me,ue.cache++,G||te||T.refresh()},j.delayedCall(.01,T.update),be=.01,G=te=0}else T.refresh();d&&__()},n.register=function(r){return ai||(j=r||bh(),Sh()&&window.document&&n.enable(),ai=Ui),ai},n.defaults=function(r){if(r)for(var i in r)sa[i]=r[i];return sa},n.disable=function(r,i){Ui=0,oe.forEach(function(a){return a[i?"kill":"disable"](r)}),Qe(le,"wheel",ri),Qe(_e,"scroll",ri),clearInterval(ea),Qe(_e,"touchcancel",Ar),Qe(ve,"touchstart",Ar),na(Qe,_e,"pointerdown,touchstart,mousedown",Lc),na(Qe,_e,"pointerup,touchend,mouseup",Pc),Wa.kill(),ra(Qe);for(var s=0;s<ue.length;s+=3)ia(Qe,ue[s],ue[s+1]),ia(Qe,ue[s],ue[s+2])},n.enable=function(){if(le=window,_e=document,qt=_e.documentElement,ve=_e.body,j){if
59(Ms=j.utils.toArray,as=j.utils.clamp,bl=j.core.context||Ar,No=j.core.suppressOverwrites||Ar,vu=le.history.scrollRestoration||"auto",xl=le.pageYOffset||0,j.core.globals("ScrollTrigger",n),ve){Ui=1,yi=document.createElement("div"),yi.style.height="100vh",yi.style.position="absolute",kh(),d_(),Ge.register(j),n.isTouch=Ge.isTouch,nn=Ge.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Sl=Ge.isTouch===1,Je(le,"wheel",ri),mu=[le,_e,qt,ve],j.matchMedia?(n.matchMedia=function(c){var f=j.matchMedia(),g;for(g in c)f.add(g,c[g]);return f},j.addEventListener("matchMediaInit",function(){Mh(),bu()}),j.addEventListener("matchMediaRevert",function(){return Ph()}),j.addEventListener("matchMedia",function(){In(0,1),Xn("matchMedia")}),j.matchMedia().add("(orientation: portrait)",function(){return Vo(),Vo})):console.warn("Requires GSAP 3.11.0 or later"),Vo(),Je(_e,"scroll",ri);var r=ve.hasAttribute("style"),i=ve.style,s=i.borderTopStyle,a=j.core.Animation.prototype,o,l;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",o=Ur(ve),je.m=Math.round(o.top+je.sc())||0,Ct.m=Math.round(o.left+Ct.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),r||(ve.setAttribute("style",""),ve.removeAttribute("style")),ea=setInterval(kc,250),j.delayedCall(.5,function(){return ta=0}),Je(_e,"touchcancel",Ar),Je(ve,"touchstart",Ar),na(Je,_e,"pointerdown,touchstart,mousedown",Lc),na(Je,_e,"pointerup,touchend,mouseup",Pc),El=j.utils.checkPrefix("transform"),ba.push(El),ai=ft(),Wa=j.delayedCall(.2,In).pause(),oi=[_e,"visibilitychange",function(){var c=le.innerWidth,f=le.innerHeight;_e.hidden?(Cc=c,xc=f):(Cc!==c||xc!==f)&&Ki()},_e,"DOMContentLoaded",In,le,"load",In,le,"resize",Ki],ra(Je),oe.forEach(function(c){return c.enable(0,1)}),l=0;l<ue.length;l+=3)ia(Qe,ue[l],ue[l+1]),ia(Qe,ue[l],ue[l+2])}else if(_e){var u=function c(){n.enable(),_e.removeEventListener("DOMContentLoaded",c)};_e.addEventListener("DOMContentLoaded",u)}}},n.config=function(r){"limitCallbacks"in r&&(zo=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(ea)||(ea=i)&&setInterval(kc,i),"ignoreMobileResize"in r&&(Sl=n.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(ra(Qe)||ra(Je,r.autoRefreshEvents||"none"),Dh=(r.autoRefreshEvents+"").indexOf("resize")===-1)},n.scrollerProxy=function(r,i){var s=At(r),a=ue.indexOf(s),o=Yn(s);~a&&ue.splice(a,o?6:2),i&&(o?Or.unshift(le,i,ve,i,qt,i):Or.unshift(s,i))},n.clearMatchMedia=function(r){oe.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},n.isInViewport=function(r,i,s){var a=(zt(r)?At(r):r).getBoundingClientRect(),o=a[s?Vn:qn]*i||0;return s?a.right-o>0&&a.left+o<le.innerWidth:a.bottom-o>0&&a.top+o<le.innerHeight},n.positionInViewport=function(r,i,s){zt(r)&&(r=At(r));var a=r.getBoundingClientRect(),o=a[s?Vn:qn],l=i==null?o/2:i in Ya?Ya[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return s?(a.left+l)/le.innerWidth:(a.top+l)/le.innerHeight},n.killAll=function(r){if(oe.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var i=Un.killAll||[];Un={},i.forEach(function(s){return s()})}},n}();ce.version="3.15.0";
59ce.saveStyles=function(n){return n?Ms(n).forEach(function(e){if(e&&e.style){var t=Nt.indexOf(e);t>=0&&Nt.splice(t,5),Nt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),j.core.getCache(e),bl())}}):Nt};ce.revert=function(n,e){return bu(!n,e)};ce.create=function(n,e){return new ce(n,e)};ce.refresh=function(n){return n?Ki(!0):(ai||ce.register())&&In(!0)};ce.update=function(n){return++ue.cache&&Qr(n===!0?2:0)};ce.clearScrollMemory=Fh;ce.maxScroll=function(n,e){return kr(n,e?Ct:je)};ce.getScrollFunc=function(n,e){return Sn(At(n),e?Ct:je)};ce.getById=function(n){return Cl[n]};ce.getAll=function(){return oe.filter(function(n){return n.vars.id!=="ScrollSmoother"})};ce.isScrolling=function(){return!!ar};ce.snapDirectional=Su;ce.addEventListener=function(n,e){var t=Un[n]||(Un[n]=[]);~t.indexOf(e)||t.push(e)};ce.removeEventListener=function(n,e){var t=Un[n],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};ce.batch=function(n,e){var t=[],r={},i=e.interval||.016,s=e.batchMax||1e9,a=function(u,c){var f=[],g=[],d=j.delayedCall(i,function(){c(f,g),f=[],g=[]}).pause();return function(p){f.length||d.restart(!0),f.push(p.trigger),g.push(p),s<=f.length&&d.progress(1)}},o;for(o in e)r[o]=o.substr(0,2)==="on"&&gt(e[o])&&o!=="onRefreshInit"?a(o,e[o]):e[o];return gt(s)&&(s=s(),Je(ce,"refresh",function(){return s=e.batchMax()}
59)),Ms(n).forEach(function(l){var u={};for(o in r)u[o]=r[o];u.trigger=l,t.push(ce.create(u))}),t};var zc=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},Ho=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Ge.isTouch?" pinch-zoom":""):"none",e===qt&&n(ve,t)},ua={auto:1,scroll:1},b_=function(e){var t=e.event,r=e.target,i=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,a=s._gsap||j.core.getCache(s),o=ft(),l;if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==ve&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ua[(l=tr(s)).overflowY]||ua[l.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==r&&!Yn(s)&&(ua[(l=tr(s)).overflowY]||ua[l.overflowX]),a._isScrollT=o}(a._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Ih=function(e,t,r,i){return Ge.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&b_,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Je(_e,Ge.eventTypes[0],Vc,!1,!0)},onDisable:function(){return Qe(_e,Ge.eventTypes[0],Vc,!0)}})},T_=/(input|label|select|textarea)/i,Gc,Vc=function(e){var t=T_.test(e.target.tagName);(t||Gc)&&(e._gsapAllow=!0,Gc=t)},C_=function(e){kn(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,s=t.allowNestedScroll,a=t.onRelease,o,l,u=At(e.target)||qt,c=j.core.globals().ScrollSmoother,f=c&&c.get(),g=nn&&(e.content&&At(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=Sn(u,je),p=Sn(u,Ct),h=1,y=(Ge.isTouch&&le.visualViewport?le.visualViewport.scale*le.visualViewport.width:le.outerWidth)/le.innerWidth,v=0,m=gt(i)?function(){return i(o)}:function(){return i||2.8},_,D,E=Ih(u,e.type,!0,s),A=function(){return D=!1},S=Ar,b=Ar,C=function(){l=kr(u,je),b=as(nn?1:0,l),r&&(S=as(0,kr(u,Ct))),_=Hn},x=function(){g._gsap.y=Xi(parseFloat(g._gsap.y)+d.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},M=function(){if(D){requestAnimationFrame(A);var k=Xi(o.deltaY/2),R=b(d.v-k);if(g&&R!==d.v+d.offset){d.offset=R-d.v;var T=Xi((parseFloat(g&&g._gsap.y)||0)-d.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+T+", 0, 1)",g._gsap.y=T+"px",d.cacheID=ue.cache,Qr()}return!0}d.offset&&x(),D=!0},w,O,I,N,F=function(){C(),w.isActive()&&w.vars.scrollY>l&&(d()>l?w.progress(1)&&d(l):w.resetTo("scrollY",l))};return g&&j.set(g,{y:"+=0"}),e.ignoreCheck=function(P){return nn&&P.type==="touchmove"&&M()||h>1.05&&P.type!=="touchstart"||o.isGesturing||P.touches&&P.touches.length>1},e.onPress=function(){D=!1;var P=h;h=Xi((le.visualViewport&&le.visualViewport.scale||1)/y),w.pause(),P!==h&&Ho(u,h>1.01?!0:r?!1:"x"),O=p(),I=d(),C(),_=Hn},e.onRelease=e.onGestureStart=function(P,k){if(d.offset&&x(),!k)N.restart(!0);else{ue.cache++;var R=m(),T,z;r&&(T=p(),z=T+R*.05*-P.velocityX/.227,R*=zc(p,T,z,kr(u,Ct)),w.vars.scrollX=S(z)),T=d(),z=T+R*.05*-P.velocityY/.227,R*=zc(d,T,z,kr(u,je)),w.vars.scrollY=b(z),w.invalidate().duration(R).play(.01),(nn&&w.vars.scrollY>=l||T>=l-1)&&j.to({},{onUpdate:F,duration:R})}a&&a(P)},e.onWheel=function(){w._ts&&w.pause(),ft()-v>1e3&&(_=0,v=ft())},e.onChange=function(P,k,R,T,z){if(Hn!==_&&C(),k&&r&&p(S(T[2]===k?O+(P.startX-P.x):p()+k-T[1])),R){d.offset&&x();var X=z[2]===R,U=X?I+P.startY-P.y:d()+R-z[1],K=b(U);X&&U!==K&&(I+=K-U),d(K)}(R||k)&&Qr()},e.onEnable=function(){Ho(u,r?!1:"x"),ce.addEventListener("refresh",F),Je(le,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=p.smooth=!1),E.enable()},e.onDisable=function(){Ho(u,!0),Qe(le,"resize",F),ce.removeEventListener("refresh",F),E.kill()},e.lockAxis=e.lockAxis!==!1,o=new Ge(e),o.iOS=nn,nn&&!d()&&d(1),nn&&j.ticker.add(Ar),N=o._dc,w=j.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Oh(d,d(),function(){return w.pause()})},onUpdate:Qr,onComplete:N.vars.onComplete}),o};ce.sort=function(n){if(gt(n))return oe.sort(n);var e=le.pageYOffset||0;
vendor: 4,911 bytes, lines 59-67
59return ce.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+le.innerHeight}),oe.sort(n||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};ce.observe=function(n){return new Ge(n)};ce.normalizeScroll=function(n){if(typeof n>"u")return St;if(n===!0&&St)return St.enable();if(n===!1){St&&St.kill(),St=n;return}var e=n instanceof Ge?n:C_(n);return St&&St.target===e.target&&St.kill(),Yn(e.target)&&(St=e),e};ce.core={_getVelocityProp:yl,_inputObserver:Ih,_scrollers:ue,_proxies:Or,bridge:{ss:function(){ar||Xn("scrollStart"),ar=ft()},ref:function(){return dt}}};bh()&&j.registerPlugin(ce);/*!
60 * SplitText 3.15.0
61 * https://gsap.com
62 *
63 * @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
64 * @author: Jack Doyle
65 */let Gi,Vi,qc=typeof Symbol=="function"?Symbol():"_split",Al,x_=()=>Al||Tu.register(window.gsap),Hc=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,ks=n=>n?typeof n=="string"?ks(document.querySelectorAll(n)):"length"in n?Array.from(n).reduce((e,t)=>(typeof t=="string"?e.push(...ks(t)):e.push(t),e),[]):[n]:[],Wc=n=>ks(n).filter(e=>e&&e.nodeType===1),Ll=[],Wo=function(){},w_={add:n=>n()},A_=/\s+/g,$c=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Ua={left:0,top:0,width:0,height:0},L_=(n,e)=>{for(;++e<n.length&&n[e]===Ua;);return n[e]||Ua},Yc=({element:n,html:e,ariaL:t,ariaH:r})=>{n.innerHTML=e,t?n.setAttribute("aria-label",t):n.removeAttribute("aria-label"),r?n.setAttribute("aria-hidden",r):n.removeAttribute("aria-hidden")},Uc=(n,e)=>{if(e){let t=new Set(n.join("").match(e)||Ll),r=n.length,i,s,a,o;if(t.size)for(;--r>-1;){s=n[r];for(a of t)if(a.startsWith(s)&&a.length>s.length){for(i=0,o=s;a.startsWith(o+=n[r+ ++i])&&o.length<a.length;);if(i&&o.length===a.length){n[r]=a,n.splice(r+1,i);break}}}}return n},Xc=n=>window.getComputedStyle(n).display==="inline"&&(n.style.display="inline-block"),ni=(n,e,t)=>e.insertBefore(typeof n=="string"?document.createTextNode(n):n,t),Pl=(n,e,t)=>{let r=e[n+"sClass"]||"",{tag:i="div",aria:s="auto",propIndex:a=!1}=e,o=n==="line"?"block":"inline-block",l=r.indexOf("++")>-1,u=c=>{let f=document.createElement(i),g=t.length+1;return r&&(f.className=r+(l?" "+r+g:"")),a&&f.style.setProperty("--"+n,g+""),s!=="none"&&f.setAttribute("aria-hidden","true"),i!=="span"&&(f.style.position="relative",f.style.display=o),f.textContent=c,t.push(f),f};return l&&(r=r.replace("++","")),u.collection=t,u},P_=(n,e,t,r)=>{let i=Pl("line",t,r),s=window.getComputedStyle(n).textAlign||"left";return(a,o)=>{let l=i("");for(l.style.textAlign=s,n.insertBefore(l,e[a]);a<o;a++)l.appendChild(e[a]);l.normalize()}},Rh=(n,e,t,r,i,s,a,o,l,u)=>{var c;let f=Array.from(n.childNodes),g=0,{wordDelimiter:d,reduceWhiteSpace:p=!0,prepareText:h}=e,y=n.getBoundingClientRect(),v=y,m=!p&&window.getComputedStyle(n).whiteSpace.substring(0,3)==="pre",_=0,D=t.collection,E,A,S,b,C,x,M,w,O,I,N,F,P,k,R,T,z,X;for(typeof d=="object"?(S=d.delimiter||d,A=d.replaceWith||""):A=d===""?"":d||" ",E=A!==" ";g<f.length;g++)if(b=f[g],b.nodeType===3){for(R=b.textContent||"",p?R=R.replace(A_," "):m&&(R=R.replace(/\n/g,A+`
66`)),h&&(R=h(R,n)),b.textContent=R,C=A||S?R.split(S||A):R.match(o)||Ll,z=C[C.length-1],w=E?z.slice(-1)===" ":!z,z||C.pop(),v=y,M=E?C[0].charAt(0)===" ":!C[0],M&&ni(" ",n,b),C[0]||C.shift(),Uc(C,l),s&&u||(b.textContent=""),O=1;O<=C.length;O++)if(T=C[O-1],!p&&m&&T.charAt(0)===`
67`&&((c=b.previousSibling)==null||c.remove(),ni(document.createElement("br"),n,b),T=T.slice(1)),!p&&T==="")ni(A,n,b);else if(T===" ")n.insertBefore(document.createTextNode(" "),b);else{if(E&&T.charAt(0)===" "&&ni(" ",n,b),_&&O===1&&!M&&D.indexOf(_.parentNode)>-1?(x=D[D.length-1],x.appendChild(document.createTextNode(r?"":T))):(x=t(r?"":T),ni(x,n,b),_&&O===1&&!M&&x.insertBefore(_,x.firstChild)),r)for(N=Hc?Uc([...Hc.segment(T)].map(U=>U.segment),l):T.match(o)||Ll,X=0;X<N.length;X++)x.appendChild(N[X]===" "?document.createTextNode(" "):r(N[X]));if(s&&u){if(R=b.textContent=R.substring(T.length+1,R.length),I=x.getBoundingClientRect(),I.top>v.top&&I.left<=v.left){for(F=n.cloneNode(),P=n.childNodes[0];P&&P!==x;)k=P,P=P.nextSibling,F.appendChild(k);n.parentNode.insertBefore(F,n),i&&Xc(F)}v=I}(O<C.length||w)&&ni(O>=C.length?" ":E&&T.slice(-1)===" "?" "+A:A,n,b)}n.removeChild(b),_=0}else b.nodeType===1&&(a&&a.indexOf(b)>-1?(D.indexOf(b.previousSibling)>-1&&D[D.length-1].appendChild(b),_=b):(Rh(b,e,t,r,i,s,a,o,l,!0),_=0),i&&Xc(b))};const Bh=class Nh{constructor(e,t){this.isSplit=!1,x_(),this.elements=Wc(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEac
67h(a=>{var o;t.overwrite!==!1&&((o=a[qc])==null||o._data.orig.filter(({element:l})=>l===a).forEach(Yc)),a[qc]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r=[],i,s=()=>{let a=r.length,o;for(;a--;){o=r[a];let l=o.element.offsetWidth;if(l!==o.width){o.width=l,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(s,200)})},Wo(this),this.split(t)}split(e){return(this._ctx||w_).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:i=!0,smartWrap:s,onSplit:a,autoSplit:o=!1,specialChars:l,mask:u}=this.vars,c=t.indexOf("lines")>-1,f=t.indexOf("chars")>-1,g=t.indexOf("words")>-1,d=f&&!g&&!c,p=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),h=p?new RegExp(p.source+"|"+$c.source,"gu"):$c,y=!!e.ignore&&Wc(e.ignore),{orig:v,animTime:m,obs:_}=this._data,D;(f||g||c)&&(this.elements.forEach((E,A)=>{v[A]={element:E,html:E.innerHTML,ariaL:E.getAttribute("aria-label"),ariaH:E.getAttribute("aria-hidden")},r==="auto"?E.setAttribute("aria-label",(E.textContent||"").trim()):r==="hidden"&&E.setAttribute("aria-hidden","true");let S=[],b=[],C=[],x=f?Pl("char",e,S):null,M=Pl("word",e,b),w,O,I,N;if(Rh(E,e,M,x,d,i&&(c||d),y,h,p,!1),c){let F=ks(E.childNodes),P=P_(E,F,e,C),k,R=[],T=0,z=F.map(K=>K.nodeType===1?K.getBoundingClientRect():Ua),X=Ua,U;for(w=0;w<F.length;w++)k=F[w],k.nodeType===1&&(k.nodeName==="BR"?((!w||F[w-1].nodeName!=="BR")&&(R.push(k),P(T,w+1)),T=w+1,X=L_(z,w)):(U=z[w],w&&U.top>X.top&&U.left<X.left+X.width-1&&(P(T,w),T=w),X=U));T<w&&P(T,w),R.forEach(K=>{var de;return(de=K.parentNode)==null?void 0:de.removeChild(K)})}if(!g){for(w=0;w<b.length;w++)if(O=b[w],f||!O.nextSibling||O.nextSibling.nodeType!==3)if(s&&!c){for(I=document.createElement("span"),I.style.whiteSpace="nowrap";O.firstChild;)I.appendChild(O.firstChild);O.replaceWith(I)}else O.replaceWith(...O.childNodes);else N=O.nextSibling,N&&N.nodeType===3&&(N.textContent=(O.textContent||"")+(N.textContent||""),O.remove());b.length=0,E.normalize()}this.lines.push(...C),this.words.push(...b),this.chars.push(...S)}),u&&this[u]&&this.masks.push(...this[u].map(E=>{let A=E.cloneNode();return E.replaceWith(A),A.appendChild(E),E.className&&(A.className=E.className.trim().split(" ").map(S=>S+"-mask").join(" ")),A.style.overflow="clip",A}))),this.isSplit=!0,Vi&&c&&o&&Vi.addEventListener("loadingdone",this._split),(D=a&&a(this))&&D.totalTime&&(this._data.anim=m?D.totalTime(m):D),c&&o&&this.elements.forEach((E,A)=>{v[A].width=E.offsetWidth,_&&_.observe(E)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),Vi?.removeEventListener("loadingdone",this._split)}revert(){var e,t;if(this.isSplit){let{orig:r,anim:i}=this._data;this.kill(),r.forEach(Yc),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,i&&(this._data.animTime=i.totalTime(),i.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this)}return this}static create(e,t){return new Nh(e,t)}static register(e){Gi=Gi||e||window.gsap,Gi&&(ks=Gi.utils.toArray,Wo=Gi.core.context||Wo),!Al&&window.innerWidth>0&&(Vi=document.fonts,Al=!0)}};Bh.version="3.15.0";let Tu=Bh;const $o="";$s.registerPlugin(ce,Tu);const M_=n=>{n.querySelectorAll("[data-accent-animation]").forEach(t=>{const r=t.textContent?.split(/\s+/).filter(Boolean)||[],i=document.createDocumentFragment();r.forEach(s=>{const a=document.createElement("span");a.className="animated-text__accent",a.textContent=s,i.appendChild(a),i.appendChild(document.createTextNode(" "))}),t.replaceWith(i)})},F_=()=>{const n=Array.from(document.querySelectorAll(".animated-text")),e=new WeakMap,t=[],r=()=>{n.forEach(s=>{e.has(s)||e.set(s,s.innerHTML);const a=e.get(s);s.innerHTML=a,s.innerHTML=s.innerHTML.replaceAll("&nbsp;",$o),s.innerHTML=s.innerHTML.replaceAll(" ",$o),M_(s);const o=Tu.create(s,{type:"lines",linesClass:"animated-text__line",tag:"span",aria:"none"}),l=[];o.lines.forEach(u=>{u.innerHTML=u.innerHTML.replaceAll($o," ");const c=$s.to(u,{"--mask-width":"0%",ease:"none",scrollTrigger:{trigger:u,start:"top 65%",end:"top 50%",scrub:1}});c.scrollTrigger&&l.push(c.scrollTrigger)}),t.push({split:o,triggers:l})})},i=()=>{t.forEach(({split:s,triggers:a})=>{a.forEach(o=>o.kill()),s.revert()}),t.length=0};r(),$e.addEventListener("change",()=>{i(),requestAnimationFrame(()=>{requestAnimationFrame(()=>{r(),ce.refresh()})})})};/*!
68 * strings: 3.15.0
69 * https://gsap.com
70 *
71 * Copyright 2008-2026, GreenSock. All rights reserved.
72 * Subject to the terms at https://gsap.com/standard-license
73 * @author: Jack Doyle, [email protected]
74*/var k_=/(?:^\s+|\s+$)/g,O_=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2642\u2640]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDD27\uDCBC\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCC\uDFCB]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uD
74FC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function zh(n){var e=n.nodeType,t="";if(e===1||e===9||e===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)t+=zh(n)}else if(e===3||e===4)return n.nodeValue;return t}function Ml(n,e,t,r,i){for(var s=n.firstChild,a=[],o;s;)s.nodeType===3?(o=(s.nodeValue+"").replace(/^\n+/g,""),r||(o=o.replace(/\s+/g," ")),a.push.apply(a,Gh(o,e,t,r,i))):(s.nodeName+"").toLowerCase()==="br"?a[a.length-1]+="<br>":a.push(s.outerHTML),s=s.nextSibling;if(!i)for(o=a.length;o--;)a[o]==="&"&&a.splice(o,1,"&amp;");return a}function Gh(n,e,t,r,i){if(n+="",t&&(n=n.trim?n.trim():n.replace(k_,"")),e&&e!=="")return n.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(e);for(var s=[],a=n.length,o=0,l,u;o<a;o++)u=n.charAt(o),(u.charCodeAt(0)>=55296&&u.charCodeAt(0)<=56319||n.charCodeAt(o+1)>=65024&&n.charCodeAt(o+1)<=65039)&&(l=((n.substr(o,12).split(O_)||[])[1]||"").length||2,u=n.substr(o,l),s.emoji=1,o+=l-1),s.push(i?u:u===">"?"&gt;":u==="<"?"&lt;":r&&u===" "&&(n.charAt(o-1)===" "||n.charAt(o+1)===" ")?"&nbsp;":u);return s}/*!
75 * TextPlugin 3.15.0
76 * https://gsap.com
77 *
78 * @license Copyright 2008-2026, GreenSock. All rights reserved.
79 * Subject to the terms at https://gsap.com/standard-license
80 * @author: Jack Doyle, [email protected]
81*/var Zi,ca,I_=function(){return Zi||typeof window<"u"&&(Zi=window.gsap)&&Zi.registerPlugin&&Zi},Ys={version:"3.15.0",name:"text",init:function(e,t,r){typeof t!="object"&&(t={value:t});var i=e.nodeName.toUpperCase(),s=this,a=t,o=a.newClass,l=a.oldClass,u=a.preserveSpaces,c=a.rtl,f=s.delimiter=t.delimiter||"",g=s.fillChar=t.fillChar||(t.padSpace?"&nbsp;":""),d,p,h,y,v,m,_,D;if(s.svg=e.getBBox&&(i==="TEXT"||i==="TSPAN"),!("innerHTML"in e)&&!s.svg)return!1;if(s.target=e,!("value"in t)){s.text=s.original=[""];return}for(h=Ml(e,f,!1,u,s.svg),ca||(ca=document.createElement("div")),ca.innerHTML=t.value,p=Ml(ca,f,!1,u,s.svg),s.from=r._from,(s.from||c)&&!(c&&s.from)&&(i=h,h=p,p=i),s.hasClass=!!(o||l),s.newClass=c?l:o,s.oldClass=c?o:l,i=h.length-p.length,d=i<0?h:p,i<0&&(i=-i);--i>-1;)d.push(g);
81if(t.type==="diff"){for(y=0,v=[],m=[],_="",i=0;i<p.length;i++)D=p[i],D===h[i]?_+=D:(v[y]=_+D,m[y++]=_+h[i],_="");p=v,h=m,_&&(p.push(_),h.push(_))}t.speed&&r.duration(Math.min(.05/t.speed*d.length,t.maxDuration||9999)),s.rtl=c,s.original=h,s.text=p,s._props.push("text")},render:function(e,t){e>1?e=1:e<0&&(e=0),t.from&&(e=1-e);var r=t.text,i=t.hasClass,s=t.newClass,a=t.oldClass,o=t.delimiter,l=t.target,u=t.fillChar,c=t.original,f=t.rtl,g=r.length,d=(f?1-e:e)*g+.5|0,p,h,y;i&&e?(p=s&&d,h=a&&d!==g,y=(p?"<span class='"+s+"'>":"")+r.slice(0,d).join(o)+(p?"</span>":"")+(h?"<span class='"+a+"'>":"")+o+c.slice(d).join(o)+(h?"</span>":"")):y=r.slice(0,d).join(o)+o+c.slice(d).join(o),t.svg?l.textContent=y:l.innerHTML=u==="&nbsp;"&&~y.indexOf("  ")?y.split("  ").join("&nbsp;&nbsp;"):y}};Ys.splitInnerHTML=Ml;Ys.emojiSafeSplit=Gh;Ys.getText=zh;I_()&&Zi.registerPlugin(Ys);$s.registerPlugin(Ys);const jc=.04,R_=1,B_=.2,Kc=2,N_=n=>(n||"").split(",").map(e=>e.trim()).filter(Boolean),z_=(n,e)=>{n.querySelectorAll("[data-typing-ghost]").forEach(r=>r.remove());const t=document.createDocumentFragment();e.forEach(r=>{const i=document.createElement("span");i.className="typing-text__ghost",i.dataset.typingGhost="",i.textContent=r,t.appendChild(i)}),n.prepend(t)},G_=(n,e,t)=>{const r=$s.timeline({repeat:-1});return t.forEach(i=>{r.to(n,{duration:i.length*jc,text:{value:i,delimiter:""},ease:"none"}).fromTo(e,{opacity:1},{opacity:0,duration:R_/Kc,repeat:Kc-1,yoyo:!0,ease:"steps(1)"}).to(n,{duration:i.length*jc,text:{value:"",delimiter:"",rtl:!0},ease:"none"}).to({},{duration:B_})}),r},V_=n=>{const e=n.querySelector("[data-typing-value]"),t=n.querySelector("[data-typing-caret]"),r=N_(n.getAttribute("data-typing-words"));!e||!t||r.length<2||(z_(n,r),n.classList.add("is-animated"),e.textContent="",G_(e,t,r))},q_=()=>{const n=document.querySelectorAll("[data-typing]");n.length&&n.forEach(V_)},H_=5,W_=()=>{const n=document.querySelectorAll('[data-slider="cases"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelector('[data-slider-pagination="cases"]'),o=e.querySelectorAll(".swiper-slide").length;t=new Re(e,{modules:[Dr,Zl,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,spaceBetween:xt(20/or),slidesPerView:"auto",centeredSlides:!$e.matches&&o===1,pagination:{el:a,clickable:!0,bulletClass:"cases__pagination-item",bulletActiveClass:"cases__pagination-item--active",renderBullet:(l,u)=>`
82            <li class="${u}">
83              <button class="cases__pagination-bullet" type="button" aria-label="Перейти к шагу ${l+1}"></button>
84            </li>`},on:{afterInit(l){e.querySelectorAll(".cases__pagination-item").forEach(u=>{u.removeAttribute("tabindex")}),a&&(a.style.display=l.slides.length<H_?"none":"")},paginationUpdate(){e.querySelectorAll(".cases__pagination-item").forEach(l=>{l.removeAttribute("tabindex")})}}})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>{i(),r()};s(),window.addEventListener("resize",s)})},$_=n=>n/parseFloat(getComputedStyle(document.documentElement).fontSize),Y_=()=>{const n=document.querySelectorAll("[data-accordion-cards]");n.length!==0&&n.forEach(e=>{let t=0;const r=e.querySelectorAll(".accordion-cards__card"),i=e.querySelector("[data-button-prev]"),s=e.querySelector("[data-button-next]");a(),i?.addEventListener("click",()=>{t<=0?o(r.length-1):o(t-1)}),s?.addEventListener("click",()=>{t>=r.length-1?o(0):o(t+1)}),r.forEach((d,p)=>{d.addEventListener("mouseenter",()=>{o(p)})});function a(){e.style.setProperty("--card-max-height","");let d=525;r.forEach(p=>{p.classList.add("active"),d<p.offsetHeight&&(d=p.offsetHeight),p.classList.remove("active"),d<p.offsetHeight&&(d=p.offsetHeight)}),r[0].classList.add("active"),e.style.setProperty("--card-max-height",`${$_(d)}rem`)}function o(d){t=d,r.forEach((p,h)=>{p.classList.remove("active"),h===d&&p.classList.add("active")})}const l=e.querySelector(".accordion-cards__cards-wrapper");let u;const c=()=>{u||!l||(u=new Re(l,{modules:[Dr,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,freeMode:!0,speed:600,loop:!1,spaceBetween:xt(1.25),slidesPerView:"auto"}))},f=()=>{u&&(u.destroy(!0,!0),u=null)},g=()=>{if($e.matches){f(),a();return}f(),c()};g(),window.addEventListener("resize",g)})},Zc={default:{preventDefault:!0,stopPlay:!0,lockFocus:!0,startFocus:!0,focusBack:!0,resetScrollPos:!1,eventTimeout:400,openCallback:null,closeCallback:null}};let Qt={},Pi=null;const Qi=[];function U_(){j_(),X_()}function X_(){document.querySelectorAll("[data-open-modal]").forEach(e
84=>{e.addEventListener("click",t=>{const i=t.target.closest("[data-open-modal]").dataset.openModal;i&&Hh(i)})})}function j_(){const n=document.querySelectorAll(".modal");n.length&&n.forEach(e=>{setTimeout(()=>{e.classList.remove("modal--preload")},100)})}function K_(n){n.addEventListener("click",Vh),window.addEventListener("keydown",qh)}function Z_(n){n.removeEventListener("click",Vh),window.removeEventListener("keydown",qh)}function Vh(n){n.target.closest("[data-close-modal]")&&Cu(Pi)}function qh(n){(n.key==="Escape"||n.key==="Esc")&&(n.preventDefault(),Cu(Pi))}function Q_(n){Qt.stopPlay&&(n.querySelectorAll("video, audio").forEach(e=>e.pause()),n.querySelectorAll("iframe").forEach(e=>{e.contentWindow.postMessage('{"event": "command", "func": "pauseVideo", "args": ""}',"*")}))}function J_(n){n.querySelectorAll("[data-auto-play]").forEach(t=>{t.querySelector("iframe")?.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"),t.querySelector("video, audio")?.play()})}function Hh(n,e={}){const t=document.querySelector(`[data-modal="${n}"]`);if(!t||t.classList.contains("is-active"))return;const r=document.querySelector(".modal.is-active");r&&Wh(r.dataset.modal,!1,!1),Pi=n,Qt={...Zc.default,...Zc[n],...e},t.classList.add("is-active"),Xa.disablePageScroll(t),Qt.openCallback?.(),Qt.lockFocus&&sd(t,Qt.startFocus),Qi.push({modalName:n,settings:Qt}),Qt.resetScrollPos&&window.scrollTo(0,0),setTimeout(()=>{K_(t),J_(t)},Qt.eventTimeout)}function Cu(n=Pi){Wh(n)}function Wh(n=Pi,e=!0,t=!0){const r=document.querySelector(`[data-modal="${n}"]`);if(!(!r||!r.classList.contains("is-active"))&&(r.classList.remove("is-active"),Z_(r),Q_(r),Qt.lockFocus&&Fl(),Qt.closeCallback?.(),setTimeout(()=>{Xa.enablePageScroll(r)},Qt.eventTimeout),Pi=null,Qt={},t))if(r.querySelector('[data-close-modal="back"]')){if(Qi.pop(),Qi.length>0){const{modalName:s,settings:a}=Qi.pop();Hh(s,a)}}else e&&(Qi.length=0)}const eD=()=>{const n=document.querySelectorAll("[data-filter]");n.length!==0&&n.forEach(e=>{const t=e.querySelector("[data-filter-button]"),r=t.querySelector("[data-filter-value]"),i=e.querySelectorAll("[data-filter-option]");let s=!1;const a=()=>{e.classList.add("open"),s=!0,t.setAttribute("aria-expanded","true")},o=()=>{e.classList.remove("open"),s=!1,t.setAttribute("aria-expanded","false")},l=()=>{s?o():a()},u=v=>{const m=v.querySelector("[data-filter-text]").textContent.trim();r&&(r.textContent=m),i.forEach(_=>_.classList.remove("selected")),v.classList.add("selected"),$e.matches||o()},c=v=>{const _=v.target.closest("[data-filter-option]");_&&u(_)},f=v=>{s&&v.key==="Escape"&&(v.preventDefault(),o(),t.focus())},g=v=>{const m=v.target;if(t.contains(m)){l();return}!e.contains(m)&&s&&o()},d=v=>{const m=v.relatedTarget;(!m||!e.contains(m))&&o()},p=()=>{document.addEventListener("keydown",f),document.addEventListener("click",g),e.addEventListener("focusout",d)},h=()=>{document.removeEventListener("keydown",f),document.removeEventListener("click",g),e.removeEventListener("focusout",d)},y=v=>{v.matches?h():p()};e.addEventListener("click",c),y($e),$e.addEventListener("change",y)})},tD=()=>{const n=document.querySelector("[data-cards-catalog]"),e=n?.querySelector("[data-catalog-list]"),t=n?.dataset.endpoint;if(!n||!t||!e)return;const r=`${xa}${t}`,i=l=>{const u=new URL(window.location.href);l?u.searchParams.set("category",l):u.searchParams.delete("category"),window.history.pushState(null,"",u)},s=l=>{const u=l?`${r}?category=${l}`:r;fetch(u).then(c=>{if(!c.ok)throw new Error(`Ошибка запроса: ${c.status}`);return c.json()}).then(c=>{e.innerHTML=c.content,id(e)}).catch(c=>{console.error(c)})},a=l=>{const u=n.querySelectorAll("[data-filter-option]"),c=Array.from(u).find(d=>d.dataset.category===l);if(!c)return;const f=n.querySelector("[data-filter-value]"),g=c.querySelector("[data-filter-text]")?.textContent?.trim();u.forEach(d=>d.classList.remove("selected")),c.classList.add("selected"),f&&g&&(f.textContent=g)};n.addEventListener("click",l=>{const c=l.target.closest("[data-filter-option][data-category]");if(!c)return;const f=c.dataset.category??"";s(f),i(f)});const o=new URL(window.location.href).searchParams.get("category");o&&a(o)},Qc="cases",Yo="cases-filters",qi="all",rD=()=>{const n=document.querySelector("[data-cases-filters]"),e=document.querySelector("[data-catalog-list]");if(!n||!e)return;const t=Array.from(document.querySelectorAll("[data-filter-group]")),r=document.querySelector(`[data-modal="${Yo}"]`),i=document.querySelector("#cases-filters-form"),s=document.querySelector("[data-catalog-pagination]"),a=document.querySelector("[data-catalog-empty]");let o=1,l=0;const u=D=>Array.from(D.querySelectorAll('input[type="checkbox"]')),c=(D,E)=>{const A=u(D),S=A.find(C=>C.value===qi);if(E?.value===qi&&E.checked&&A.filter(C=>
84C.value!==qi).forEach(C=>{C.checked=!1}),S){const C=A.some(x=>x.checked&&x.value!==qi);S.checked=!C}},f=()=>{const D=new URLSearchParams;return t.forEach(E=>{const A=E.dataset.filterGroup,S=u(E).filter(b=>b.checked&&b.value!==qi).map(b=>b.value);A&&S.length>0&&D.set(A,S.join(","))}),o>1&&D.set("paged",String(o)),D.toString()},g=D=>{const E=new URL(window.location.href);E.search=D,window.history.pushState(null,"",E)},d=()=>{const D=f(),E=D?`${xa}${Qc}?${D}`:`${xa}${Qc}`,A=l+=1;fetch(E).then(S=>{if(!S.ok)throw new Error(`Ошибка запроса: ${S.status}`);return S.json()}).then(S=>{if(A!==l)return;const b=S.content??"";e.innerHTML=b,s&&(s.innerHTML=S.content_pagination??""),a&&(a.hidden=b.trim()!=="")}).catch(S=>{console.error(S)}),g(D)},p=()=>{const D=new URL(window.location.href).searchParams,E=Number(D.get("paged"));E>1&&(o=E),t.forEach(S=>{const b=S.dataset.filterGroup,C=b?(D.get(b)??"").split(","):[];u(S).forEach(x=>{x.checked=C.includes(x.value)}),c(S)}),["type","rooms","region","paged"].some(S=>D.has(S))&&d()},h=()=>{t.filter(D=>!D.hidden).forEach(D=>{u(D).forEach(E=>{E.checked=!1}),c(D)}),o=1,d()},y=D=>{const E=D.target,A=E.closest("[data-filter-group]");A&&(c(A,E),o=1,$e.matches&&d())},v=D=>{const E=D.target.closest("a");if(!E||!s?.contains(E))return;D.preventDefault();const A=E.getAttribute("href")?.match(/\/page\/(\d+)/);o=A?Number(A[1]):1,d(),e.scrollIntoView({behavior:"smooth",block:"start"})},m=D=>{const E=D.target;if(E.closest("[data-filters-reset]")){h();return}const A=E.closest(`[data-open-modal="${Yo}"]`);if(!A)return;const S=A.dataset.filterTarget;t.forEach(b=>{b.hidden=!!S&&b.dataset.filterGroup!==S}),r?.toggleAttribute("data-filters-full",!S)},_=D=>{D.preventDefault(),d(),Cu(Yo)};i?.addEventListener("submit",_),s?.addEventListener("click",v),document.addEventListener("change",y),document.addEventListener("click",m),p()},nD=()=>{const n=document.querySelectorAll("[data-search]");n.length!==0&&n.forEach(e=>{const t=e.querySelector(".search__input"),r=e.querySelector(".search__clear");!t||!r||r.addEventListener("click",()=>{t.value="",t.focus()})})},iD=3,sD=()=>{const n=document.querySelectorAll('[data-slider="how-it-works"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelectorAll(".swiper-slide").length,o=document.querySelector('[data-buttons="how-it-works"]');o&&(o.style.display=a<iD?"none":""),t=new Re(e,{modules:[Dr,Hs,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,spaceBetween:xt(20/or),slidesPerView:"auto",centeredSlides:!$e.matches&&a===1,navigation:{prevEl:o.querySelector('[data-button-prev="how-it-works"]'),nextEl:o.querySelector('[data-button-next="how-it-works"]')}})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>{i(),r()};s(),window.addEventListener("resize",s)})},aD=2,oD=()=>{const n=document.querySelectorAll('[data-slider="hoteliers-cases"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelectorAll(".swiper-slide").length,o=document.querySelector('[data-buttons="hoteliers-cases"]');o&&(o.style.display=a<aD?"none":""),t=new Re(e,{modules:[Dr,Hs,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,breakpoints:{0:{spaceBetween:xt(20/or)},1024:{spaceBetween:xt(40/or)}},slidesPerView:"auto",centeredSlides:!$e.matches&&a===1,navigation:{prevEl:o.querySelector('[data-button-prev="hoteliers-cases"]'),nextEl:o.querySelector('[data-button-next="hoteliers-cases"]')}})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>{i(),r()};s(),window.addEventListener("resize",s)})},lD=4,uD=()=>{const n=document.querySelectorAll('[data-slider="milestones"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelectorAll(".swiper-slide").length,o=document.querySelector('[data-buttons="milestones"]');o&&(o.style.display=a<lD?"none":""),t=new Re(e,{modules:[Dr,Hs,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,spaceBetween:xt(20/or),slidesPerView:"auto",centeredSlides:!$e.matches&&a===1,navigation:{prevEl:o.querySelector('[data-button-prev="milestones"]'),nextEl:o.querySelector('[data-button-next="milestones"]')}})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>
84{if(!$e.matches){i();return}i(),r()};s(),window.addEventListener("resize",s)})},cD=()=>{const n=document.querySelectorAll('[data-slider="gallery"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelectorAll(".swiper-slide").length;t=new Re(e,{modules:[Dr,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,spaceBetween:xt(20/or),slidesPerView:"auto",centeredSlides:!$e.matches&&a===1})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>{i(),r()};s(),window.addEventListener("resize",s)})},dD=()=>{const n=document.querySelectorAll('[data-slider="join-us"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelectorAll(".swiper-slide").length;t=new Re(e,{modules:[Dr,Hs,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,spaceBetween:xt(20/or),slidesPerView:"auto",centeredSlides:!$e.matches&&a===1})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>{if($e.matches){i();return}i(),r()};s(),window.addEventListener("resize",s)})},fD=2,hD=()=>{const n=document.querySelectorAll('[data-slider="article-gallery"]');n.length!==0&&n.forEach(e=>{let t;const r=()=>{if(t)return;const a=e.querySelectorAll(".swiper-slide").length,o=e.closest(".article-gallery")?.querySelector('[data-buttons="article-gallery"]');o&&(o.style.display=a<fD?"none":""),t=new Re(e,{modules:[Dr,Hs,zr],a11y:{..._r,slideRole:null},mousewheel:{forceToAxis:!0},allowTouchMove:!0,speed:600,loop:!1,spaceBetween:xt(20/or),slidesPerView:"auto",centeredSlides:!$e.matches&&a===1,navigation:{prevEl:o?.querySelector('[data-button-prev="article-gallery"]'),nextEl:o?.querySelector('[data-button-next="article-gallery"]')}})},i=()=>{t&&(t.destroy(!0,!0),t=null)},s=()=>{i(),r()};s(),window.addEventListener("resize",s)})},pD="https://rutube.ru/play/embed",gD=()=>{const n=document.querySelectorAll("[data-article-cover]");n.length!==0&&n.forEach(e=>{const t=e.dataset.videoId;if(!t)return;const r=()=>{const i=document.createElement("iframe");i.className="article-cover__iframe",i.src=`${pD}/${t}?autoplay=1`,i.title="Видео",i.allow="clipboard-write; autoplay",i.allowFullscreen=!0;const s=a=>{if(a.source!==i.contentWindow)return;let o;try{o=JSON.parse(a.data)}catch{return}o.type==="player:ready"&&(i.contentWindow?.postMessage(JSON.stringify({type:"player:play",data:{}}),"*"),window.removeEventListener("message",s))};window.addEventListener("message",s),e.innerHTML="",e.appendChild(i)};e.addEventListener("click",r,{once:!0})})},mD=()=>{const n=document.querySelectorAll('[data-slider="reviews-slider"]');n.length!==0&&n.forEach(e=>{const t=e.querySelector(".swiper");if(!t)return;const r=e.querySelector('[data-slider-pagination="reviews-slider"]'),i=()=>{e.querySelectorAll(".reviews-slider__pagination-item").forEach(u=>{u.removeAttribute("tabindex")})};let s;const a=()=>{s||(s=new Re(t,{modules:[Dr,Zl,pf],a11y:{..._r,slideRole:null},loop:!0,autoplay:{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},slidesPerView:1,initialSlide:1,breakpoints:{0:{spaceBetween:xt(22/or)},1024:{spaceBetween:xt(42/or)}},pagination:r?{el:r,clickable:!0,bulletClass:"reviews-slider__pagination-item",bulletActiveClass:"reviews-slider__pagination-item--active",renderBullet:(u,c)=>`
85            <li class="${c}">
86              <button class="reviews-slider__pagination-bullet" type="button" aria-label="Перейти к слайду ${u+1}"></button>
87            </li>`}:!1,on:{afterInit:i,paginationUpdate:i}}))},o=()=>{s&&(s.destroy(!0,!0),s=null)},l=()=>{o(),a()};l(),window.addEventListener("resize",l)})},vD=()=>{const n=document.querySelectorAll('[data-slider="logo-slider"]');n.length!==0&&n.forEach(e=>{new oo(e,{type:"loop",drag:!1,arrows:!1,pagination:!1,autoWidth:!0,clones:20,autoScroll:{speed:.8,pauseOnHover:!0,pauseOnFocus:!1}}).mount({AutoScroll:nf})})},_D=24452,DD=(n,e)=>{if(e===0){n.dataset.row="head";return}const t=n.querySelector("td:not(:first-child) .hover-item");n.dataset.row=t?"feature":"category"},yD=()=>{const n=document.querySelector(`table.ninja_tables_builder_class_${_D}
87`),e=n?.closest(".ntb_table_wrapper"),t=document.querySelector("#ninja-price-switch");if(!n||!e||!t||e.classList.contains("ninja-price"))return;n.querySelectorAll("tbody > tr").forEach(DD),e.classList.add("ninja-price"),e.prepend(t.content.cloneNode(!0))},ED=()=>{const n=document.querySelectorAll("[data-tooltip]");if(n.length===0)return;const e=()=>n.forEach(t=>t.classList.remove("is-open"));n.forEach(t=>{const r=t.querySelector("[data-tooltip-trigger]");r&&r.addEventListener("click",()=>{const i=t.classList.contains("is-open");e(),i||t.classList.add("is-open")})}),document.addEventListener("keydown",t=>{t.key==="Escape"&&e()}),document.addEventListener("click",t=>{t.target.closest("[data-tooltip]")||e()})},Jc=1,Uo=99999,SD=12,bD="calculator--loading",ed="data-calculator-period",td="data-calculator-plan",Xo=n=>n.toLocaleString("ru-RU"),rd=(n,e)=>Math.round(n*(1-e/100)),nd=(n,{name:e,hook:t,value:r,label:i,checked:s,discount:a=0})=>{const o=n.content.cloneNode(!0),l=o.querySelector("[data-calculator-input]"),u=o.querySelector("[data-calculator-option-text]"),c=o.querySelector("[data-calculator-badge]"),f=o.querySelector("[data-calculator-badge-text]");return!l||!u||!c||!f?null:(l.name=e,l.value=r,l.checked=s,l.setAttribute(t,""),u.textContent=i,a>0?f.textContent=`-${a}%`:c.remove(),o)},TD=(n,e)=>{const t=n.querySelector("[data-calculator-option-template]"),r=n.querySelector("[data-calculator-periods]"),i=n.querySelector("[data-calculator-plans]"),s=n.querySelector("[data-calculator-rooms]"),a=n.querySelector("[data-calculator-total]"),o=n.querySelector("[data-calculator-saving]"),l=n.querySelector("[data-calculator-fee]"),u=n.querySelector("[data-calculator-note]"),c=Array.from(n.querySelectorAll("[data-calculator-image]"));if(!t||!r||!i||!s||!a||!o||!l||!u)return;e.periods.forEach(_=>{const D=nd(t,{name:"calculator-period",hook:ed,value:_.id,label:_.label,checked:_.id===e.defaults.period,discount:_.discount});D&&r.append(D)}),e.plans.forEach(_=>{const D=nd(t,{name:"calculator-plan",hook:td,value:_.id,label:_.label,checked:_.id===e.defaults.plan});D&&i.append(D)});const f=Array.from(r.querySelectorAll(`[${ed}]`)),g=Array.from(i.querySelectorAll(`[${td}]`));if(f.length===0||g.length===0)return;s.value=String(e.defaults.rooms),s.disabled=!1;const d=()=>{const _=f.find(D=>D.checked);return e.periods.find(D=>D.id===_?.value)??e.periods[0]},p=()=>{const _=g.find(D=>D.checked);return e.plans.find(D=>D.id===_?.value)??e.plans[0]},h=()=>{const _=Number.parseInt(s.value,10);return Number.isNaN(_)?0:_},y=_=>{c.forEach(D=>{D.hidden=D.dataset.calculatorImage!==_})},v=()=>{const _=d(),D=p(),E=h(),A=rd(D.perRoom,_.discount),S=rd(D.minPayment,_.discount),b=A*E,C=b<S,x=C?S:b,w=(Math.max(D.perRoom*E,D.minPayment)-x)*SD;if(a.textContent=Xo(x),o.hidden=w<=0,o.textContent=`Экономия за год — ${Xo(w)} ₽`,l.hidden=!D.salesFee,l.textContent=D.salesFee??"",C){const O=Math.floor(S/A)-E;u.textContent=`Действует минимальный платеж — ${Xo(S)} ₽/мес.`+(O>0?` Вы можете подключить еще ${O} номеров без увеличения стоимости`:"")}else u.textContent=_.paymentNote;y(_.id)};s.addEventListener("input",()=>{s.value=s.value.replace(/\D/g,"").replace(/^0+/,"").slice(0,String(Uo).length),v()}),s.addEventListener("blur",()=>{const _=h();_<Jc&&(s.value=String(Jc)),_>Uo&&(s.value=String(Uo)),v()}),[...f,...g].forEach(_=>{_.addEventListener("change",v)}),v(),n.classList.remove(bD)},CD=n=>{const e=n;return!!(e&&e.defaults&&Array.isArray(e.periods)&&Array.isArray(e.plans)&&e.periods.length>0&&e.plans.length>0)},xD=n=>n.startsWith("/")?n:`${xa}${n}`,wD=()=>{const n=document.querySelector("[data-calculator]"),e=n?.dataset.endpoint;!n||!e||fetch(xD(e)).then(t=>{if(!t.ok)throw new Error(`Ошибка запроса: ${t.status}`);return t.json()}).then(t=>{if(!CD(t))throw new Error("Некорректный конфиг калькулятора");TD(n,t)}).catch(t=>{n.hidden=!0,console.error(t)})};document.addEventListener("DOMContentLoaded",()=>{$h(),ip(),U_(),fp(),rp(),Mp(),ym(),Gv(),Vv(),F_(),q_(),W_(),Y_(),eD(),tD(),rD(),nD(),sD(),oD(),uD(),cD(),dD(),hD(),gD(),mD(),vD(),yD(),ED(),wD(),ep()},!0);

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.