var wp=Object.defineProperty,yp=Object.defineProperties;var bp=Object.getOwnPropertyDescriptors;var $c=Object.getOwnPropertySymbols;var xp=Object.prototype.hasOwnProperty,Tp=Object.prototype.propertyIsEnumerable;var Hc=(Bt,bt,Jt)=>bt in Bt?wp(Bt,bt,{enumerable:!0,configurable:!0,writable:!0,value:Jt}):Bt[bt]=Jt,ra=(Bt,bt)=>{for(var Jt in bt||(bt={}))xp.call(bt,Jt)&&Hc(Bt,Jt,bt[Jt]);if($c)for(var Jt of $c(bt))Tp.call(bt,Jt)&&Hc(Bt,Jt,bt[Jt]);return Bt},ia=(Bt,bt)=>yp(Bt,bp(bt));var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`.isotope-pager .next,.isotope-pager .prev{border:1px solid}.isotope-pager{display:flex;align-items:center;justify-content:center}.prev:has(+ .pager.active),.pager.active+.next{opacity:.5;pointer-events:none}.pager{background-color:transparent;transition:color .3s ease-in-out}.pager:hover{color:var(--primary--red)}.pager.active{font-weight:700;color:var(--primary--navy)}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"} `;document.head.appendChild(__vite_style__);(function(Bt){typeof define=="function"&&define.amd?define(Bt):Bt()})(function(){"use strict";var Bt="",bt={exports:{}};(function(n){(function(e){let t=0;const r=function(i,s){const o=this;let a=!1;if(Array.isArray(i))return!!i.length&&i.map(c=>new r(c,s));const l={init(){this.options=Object.assign({duration:500,ariaEnabled:!0,collapse:!0,showMultiple:!1,onlyChildNodes:!0,openOnInit:[],elementClass:"ac",triggerClass:"ac-trigger",panelClass:"ac-panel",activeClass:"is-active",beforeOpen:()=>{},onOpen:()=>{},beforeClose:()=>{},onClose:()=>{}},s);const c=typeof i=="string";this.container=c?document.querySelector(i):i,this.createDefinitions(),o.attachEvents()},createDefinitions(){const{elementClass:c,openOnInit:f,onlyChildNodes:p}=this.options,d=p?this.container.childNodes:this.container.querySelectorAll(u(c));this.elements=Array.from(d).filter(g=>g.classList&&g.classList.contains(c)),this.firstElement=this.elements[0],this.lastElement=this.elements[this.elements.length-1],this.elements.filter(g=>!g.classList.contains("js-enabled")).forEach(g=>{g.classList.add("js-enabled"),this.generateIDs(g),this.setARIA(g),this.setTransition(g);const h=this.elements.indexOf(g);t++,f.includes(h)?this.showElement(g,!1):this.closeElement(g,!1)})},setTransition(c){let f=arguments.length>1&&arguments[1]!==void 0&&arguments[1];const{duration:p,panelClass:d}=this.options;c.querySelector(u(d)).style.transitionDuration=f?null:"".concat(p,"ms")},generateIDs(c){const{triggerClass:f,panelClass:p}=this.options,d=c.querySelector(u(f)),g=c.querySelector(u(p));c.setAttribute("id",c.id||"ac-".concat(t)),d.setAttribute("id",d.id||"ac-trigger-".concat(t)),g.setAttribute("id",g.id||"ac-panel-".concat(t))},removeIDs(c){const{triggerClass:f,panelClass:p}=this.options,d=c.querySelector(u(f)),g=c.querySelector(u(p));c.id.startsWith("ac-")&&c.removeAttribute("id"),d.id.startsWith("ac-")&&d.removeAttribute("id"),g.id.startsWith("ac-")&&g.removeAttribute("id")},setARIA(c){const{ariaEnabled:f,triggerClass:p,panelClass:d}=this.options;if(!f)return;const g=c.querySelector(u(p)),h=c.querySelector(u(d));g.setAttribute("role","button"),g.setAttribute("aria-controls",h.id),g.setAttribute("aria-disabled",!1),g.setAttribute("aria-expanded",!1),h.setAttribute("role","region"),h.setAttribute("aria-labelledby",g.id)},updateARIA(c,f){let{ariaExpanded:p,ariaDisabled:d}=f;const{ariaEnabled:g,triggerClass:h}=this.options;if(!g)return;const m=c.querySelector(u(h));m.setAttribute("aria-expanded",p),m.setAttribute("aria-disabled",d)},removeARIA(c){const{ariaEnabled:f,triggerClass:p,panelClass:d}=this.options;if(!f)return;const g=c.querySelector(u(p)),h=c.querySelector(u(d));g.removeAttribute("role"),g.removeAttribute("aria-controls"),g.removeAttribute("aria-disabled"),g.removeAttribute("aria-expanded"),h.removeAttribute("role"),h.removeAttribute("aria-labelledby")},focus(c,f){c.preventDefault();const{triggerClass:p}=this.options;f.querySelector(u(p)).focus()},focusFirstElement(c){this.focus(c,this.firstElement),this.currFocusedIdx=0},focusLastElement(c){this.focus(c,this.lastElement),this.currFocusedIdx=this.elements.length-1},focusNextElement(c){const f=this.currFocusedIdx+1;if(f>this.elements.length-1)return this.focusFirstElement(c);this.focus(c,this.elements[f]),this.currFocusedIdx=f},focusPrevElement(c){const f=this.currFocusedIdx-1;if(f<0)return this.focusLastElement(c);this.focus(c,this.elements[f]),this.currFocusedIdx=f},showElement(c){let f=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];const{panelClass:p,activeClass:d,collapse:g,beforeOpen:h}=this.options;f&&h(c);const m=c.querySelector(u(p)),_=m.scrollHeight;c.classList.add(d),requestAnimationFrame(()=>{requestAnimationFrame(()=>{m.style.height=f?"".concat(_,"px"):"auto"})}),this.updateARIA(c,{ariaExpanded:!0,ariaDisabled:!g})},closeElement(c){let f=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];const{panelClass:p,activeClass:d,beforeClose:g}=this.options,h=c.querySelector(u(p)),m=h.scrollHeight;c.classList.remove(d),f?(g(c),requestAnimationFrame(()=>{h.style.height="".concat(m,"px"),requestAnimationFrame(()=>{h.style.height=0})})):h.style.height=0,this.updateARIA(c,{ariaExpanded:!1,ariaDisabled:!1})},toggleElement(c){const{activeClass:f,collapse:p}=this.options,d=c.classList.contains(f);if(!d||p)return d?this.closeElement(c):this.showElement(c)},closeElements(){const{activeClass:c,showMultiple:f}=this.options;f||this.elements.forEach((p,d)=>{p.classList.contains(c)&&d!==this.currFocusedIdx&&this.closeElement(p)})},handleClick(c){const f=c.currentTarget;this.elements.forEach((p,d)=>{p.contains(f)&&c.target.nodeName!=="A"&&(this.currFocusedIdx=d,this.closeElements(),this.focus(c,p),this.toggleElement(p))})},handleKeydown(c){switch(c.key){case"ArrowUp":return this.focusPrevElement(c);case"ArrowDown":return this.focusNextElement(c);case"Home":return this.focusFirstElement(c);case"End":return this.focusLastElement(c);default:return null}},handleFocus(c){const f=c.currentTarget,p=this.elements.find(d=>d.contains(f));this.currFocusedIdx=this.elements.indexOf(p)},handleTransitionEnd(c){if(c.stopPropagation(),c.propertyName!=="height")return;const{onOpen:f,onClose:p}=this.options,d=c.currentTarget,g=parseInt(d.style.height),h=this.elements.find(m=>m.contains(d));g>0?(d.style.height="auto",f(h)):p(h)}};this.attachEvents=()=>{if(a)return;const{triggerClass:c,panelClass:f}=l.options;l.handleClick=l.handleClick.bind(l),l.handleKeydown=l.handleKeydown.bind(l),l.handleFocus=l.handleFocus.bind(l),l.handleTransitionEnd=l.handleTransitionEnd.bind(l),l.elements.forEach(p=>{const d=p.querySelector(u(c)),g=p.querySelector(u(f));d.addEventListener("click",l.handleClick),d.addEventListener("keydown",l.handleKeydown),d.addEventListener("focus",l.handleFocus),g.addEventListener("transitionend",l.handleTransitionEnd)}),a=!0},this.detachEvents=()=>{if(!a)return;const{triggerClass:c,panelClass:f}=l.options;l.elements.forEach(p=>{const d=p.querySelector(u(c)),g=p.querySelector(u(f));d.removeEventListener("click",l.handleClick),d.removeEventListener("keydown",l.handleKeydown),d.removeEventListener("focus",l.handleFocus),g.removeEventListener("transitionend",l.handleTransitionEnd)}),a=!1},this.toggle=c=>{const f=l.elements[c];f&&l.toggleElement(f)},this.open=c=>{const f=l.elements[c];f&&l.showElement(f)},this.openAll=()=>{const{activeClass:c,onOpen:f}=l.options;l.elements.forEach(p=>{p.classList.contains(c)||(l.showElement(p,!1),f(p))})},this.close=c=>{const f=l.elements[c];f&&l.closeElement(f)},this.closeAll=()=>{const{activeClass:c,onClose:f}=l.options;l.elements.forEach(p=>{p.classList.contains(c)&&(l.closeElement(p,!1),f(p))})},this.destroy=()=>{this.detachEvents(),this.openAll(),l.elements.forEach(c=>{l.removeIDs(c),l.removeARIA(c),l.setTransition(c,!0)}),a=!0},this.update=()=>{l.createDefinitions(),this.detachEvents(),this.attachEvents()};const u=c=>".".concat(CSS.escape(c));l.init()};n.exports!==void 0?n.exports=r:e.Accordion=r})(window)})(bt);var Jt=bt.exports;function na(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function Ls(n,e){n===void 0&&(n={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>t.indexOf(r)<0).forEach(r=>{typeof n[r]=="undefined"?n[r]=e[r]:na(e[r])&&na(n[r])&&Object.keys(e[r]).length>0&&Ls(n[r],e[r])})}const sa={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 er(){const n=typeof document!="undefined"?document:{};return Ls(n,sa),n}const Wc={document:sa,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=="undefined"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout!="undefined"&&clearTimeout(n)}};function ct(){const n=typeof window!="undefined"?window:{};return Ls(n,Wc),n}function Yr(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function Xc(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Qi(n,e){return e===void 0&&(e=0),setTimeout(n,e)}function Bn(){return Date.now()}function Uc(n){const e=ct();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function jc(n,e){e===void 0&&(e="x");const t=ct();let r,i,s;const o=Uc(n);return t.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.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 Nn(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function Kc(n){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function Nt(){const n=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(p,d)=>u==="next"&&p>=d||u==="prev"&&p<=d,f=()=>{a=new Date().getTime(),o===null&&(o=a);const p=Math.max(Math.min((a-o)/l,1),0),d=.5-Math.cos(p*Math.PI)/2;let g=s+d*(t-s);if(c(g,t)&&(g=t),e.wrapperEl.scrollTo({[r]:g}),c(g,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:g})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(f)};f()}function hr(n,e){e===void 0&&(e="");const t=ct(),r=[...n.children];return t.HTMLSlotElement&&n instanceof HTMLSlotElement&&r.push(...n.assignedElements()),e?r.filter(i=>i.matches(e)):r}function Qc(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 Zc(n,e){const t=ct();let r=e.contains(n);return!r&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(r=[...e.assignedElements()].includes(n),r||(r=Qc(n,e))),r}function Yn(n){try{console.warn(n);return}catch{}}function Zi(n,e){e===void 0&&(e=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:Yr(e)),t}function Jc(n){const e=ct(),t=er(),r=n.getBoundingClientRect(),i=t.body,s=n.clientTop||i.clientTop||0,o=n.clientLeft||i.clientLeft||0,a=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+a-s,left:r.left+l-o}}function eu(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 tu(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 Vr(n,e){return ct().getComputedStyle(n,null).getPropertyValue(e)}function aa(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function ru(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 iu(n,e){function t(r){r.target===n&&(e.call(n,r),n.removeEventListener("transitionend",t))}e&&n.addEventListener("transitionend",t)}function la(n,e,t){const r=ct();return t?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")):n.offsetWidth}function gr(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}let Ds;function nu(){const n=ct(),e=er();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function ca(){return Ds||(Ds=nu()),Ds}let Is;function su(n){let{userAgent:e}=n===void 0?{}:n;const t=ca(),r=ct(),i=r.navigator.platform,s=e||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d=i==="Win32";let g=i==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&t.touch&&h.indexOf(`${a}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!d&&(o.os="android",o.android=!0),(c||p||f)&&(o.os="ios",o.ios=!0),o}function ua(n){return n===void 0&&(n={}),Is||(Is=su(n)),Is}let zs;function ou(){const n=ct(),e=ua();let t=!1;function r(){const a=n.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(n.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.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(),o=s||i&&e.ios;return{isSafari:t||s,needPerspectiveFix:t,need3dFix:o,isWebView:i}}function fa(){return zs||(zs=ou()),zs}function au(n){let{swiper:e,on:t,emit:r}=n;const i=ct();let s=null,o=null;const a=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(f=>{o=i.requestAnimationFrame(()=>{const{width:p,height:d}=e;let g=p,h=d;f.forEach(m=>{let{contentBoxSize:_,contentRect:v,target:b}=m;b&&b!==e.el||(g=v?v.width:(_[0]||_).inlineSize,h=v?v.height:(_[0]||_).blockSize)}),(g!==p||h!==d)&&a()})}),s.observe(e.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver!="undefined"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),t("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function lu(n){let{swiper:e,extendParams:t,on:r,emit:i}=n;const s=[],o=ct(),a=function(c,f){f===void 0&&(f={});const p=o.MutationObserver||o.WebkitMutationObserver,d=new p(g=>{if(e.__preventObserver__)return;if(g.length===1){i("observerUpdate",g[0]);return}const h=function(){i("observerUpdate",g[0])};o.requestAnimationFrame?o.requestAnimationFrame(h):o.setTimeout(h,0)});d.observe(c,{attributes:typeof f.attributes=="undefined"?!0:f.attributes,childList:e.isElement||(typeof f.childList=="undefined"?!0:f).childList,characterData:typeof f.characterData=="undefined"?!0:f.characterData}),s.push(d)},l=()=>{if(!!e.params.observer){if(e.params.observeParents){const c=ru(e.hostEl);for(let f=0;f{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var cu={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(){r.off(n,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),a=0;a=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=="undefined"?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(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let e,t,r;for(var i=arguments.length,s=new Array(i),o=0;o{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...t])}),n.eventsListeners&&n.eventsListeners[l]&&n.eventsListeners[l].forEach(u=>{u.apply(r,t)})}),n}};function uu(){const n=this;let e,t;const r=n.el;typeof n.params.width!="undefined"&&n.params.width!==null?e=n.params.width:e=r.clientWidth,typeof n.params.height!="undefined"&&n.params.height!==null?t=n.params.height:t=r.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(Vr(r,"padding-left")||0,10)-parseInt(Vr(r,"padding-right")||0,10),t=t-parseInt(Vr(r,"padding-top")||0,10)-parseInt(Vr(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 fu(){const n=this;function e(S,D){return parseFloat(S.getPropertyValue(n.getDirectionLabel(D))||0)}const t=n.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=n,l=n.virtual&&t.virtual.enabled,u=l?n.virtual.slides.length:n.slides.length,c=hr(i,`.${n.params.slideClass}, swiper-slide`),f=l?n.virtual.slides.length:c.length;let p=[];const d=[],g=[];let h=t.slidesOffsetBefore;typeof h=="function"&&(h=t.slidesOffsetBefore.call(n));let m=t.slidesOffsetAfter;typeof m=="function"&&(m=t.slidesOffsetAfter.call(n));const _=n.snapGrid.length,v=n.slidesGrid.length;let b=t.spaceBetween,w=-h,T=0,P=0;if(typeof s=="undefined")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*s:typeof b=="string"&&(b=parseFloat(b)),n.virtualSize=-b,c.forEach(S=>{o?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Gn(r,"--swiper-centered-offset-before",""),Gn(r,"--swiper-centered-offset-after",""));const E=t.grid&&t.grid.rows>1&&n.grid;E?n.grid.initSlides(c):n.grid&&n.grid.unsetSlides();let M;const O=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(S=>typeof t.breakpoints[S].slidesPerView!="undefined").length>0;for(let S=0;S1&&p.push(n.virtualSize-s)}if(l&&t.loop){const S=g[0]+b;if(t.slidesPerGroup>1){const D=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),x=S*t.slidesPerGroup;for(let k=0;k!t.cssMode||t.loop?!0:x!==c.length-1).forEach(D=>{D.style[S]=`${b}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let S=0;g.forEach(x=>{S+=x+(b||0)}),S-=b;const D=S>s?S-s:0;p=p.map(x=>x<=0?-h:x>D?D+m:x)}if(t.centerInsufficientSlides){let S=0;g.forEach(x=>{S+=x+(b||0)}),S-=b;const D=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(S+D{p[L]=k-x}),d.forEach((k,L)=>{d[L]=k+x})}}if(Object.assign(n,{slides:c,snapGrid:p,slidesGrid:d,slidesSizesGrid:g}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Gn(r,"--swiper-centered-offset-before",`${-p[0]}px`),Gn(r,"--swiper-centered-offset-after",`${n.size/2-g[g.length-1]/2}px`);const S=-n.snapGrid[0],D=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(x=>x+S),n.slidesGrid=n.slidesGrid.map(x=>x+D)}if(f!==u&&n.emit("slidesLengthChange"),p.length!==_&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),d.length!==v&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const S=`${t.containerModifierClass}backface-hidden`,D=n.el.classList.contains(S);f<=t.maxBackfaceHiddenSlides?D||n.el.classList.add(S):D&&n.el.classList.remove(S)}}function du(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 o=a=>r?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{t.push(a)});else for(s=0;se.slides.length&&!r)break;t.push(o(a))}else t.push(o(e.activeIndex));for(s=0;si?a:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function pu(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let r=0;r{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function hu(n){n===void 0&&(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=="undefined"&&e.updateSlidesOffset();let o=-n;i&&(o=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=t.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&d<=e.size-e.slidesSizesGrid[l],m=d>=0&&d1&&g<=e.size||d<=0&&g>=e.size;m&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),da(u,m,t.slideVisibleClass),da(u,h,t.slideFullyVisibleClass),u.progress=i?-f:f,u.originalProgress=i?-p:p}}function gu(n){const e=this;if(typeof n=="undefined"){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:o,progressLoop:a}=e;const l=s,u=o;if(r===0)i=0,s=!0,o=!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,o=f||i>=1,c&&(i=0),f&&(i=1)}if(t.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[c],d=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(n);h>=p?a=(h-p)/g:a=(h+g-d)/g,a>1&&(a-=1)}Object.assign(e,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),s&&!l&&e.emit("reachBeginning toEdge"),o&&!u&&e.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&e.emit("fromEdge"),e.emit("progress",i)}const Rs=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function mu(){const n=this,{slides:e,params:t,slidesEl:r,activeIndex:i}=n,s=n.virtual&&t.virtual.enabled,o=n.grid&&t.grid&&t.grid.rows>1,a=f=>hr(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=a(`[data-swiper-slide-index="${f}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else o?(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&&(o||(c=tu(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),u=eu(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{Rs(f,f===l,t.slideActiveClass),Rs(f,f===c,t.slideNextClass),Rs(f,f===u,t.slidePrevClass)}),n.emitSlidesClasses()}const Vn=(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.remove())})),i&&i.remove()}},Fs=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},Bs=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 o=i,a=[o-e];a.push(...Array.from({length:e}).map((l,u)=>o+r+u)),n.slides.forEach((l,u)=>{a.includes(l.column)&&Fs(n,u)});return}const s=i+r-1;if(n.params.rewind||n.params.loop)for(let o=i-e;o<=s+e;o+=1){const a=(o%t+t)%t;(as)&&Fs(n,a)}else for(let o=Math.max(i-e,0);o<=Math.min(s+e,t-1);o+=1)o!==i&&(o>s||o=e[s]&&r=e[s]&&r=e[s]&&(i=s);return t.normalizeSlideIndex&&(i<0||typeof i=="undefined")&&(i=0),i}function vu(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=e;let l=n,u;const c=d=>{let g=d-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l=="undefined"&&(l=_u(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!==a&&(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 p;if(e.virtual&&i.virtual.enabled&&i.loop)p=c(l);else if(f){const d=e.slides.find(h=>h.column===l);let g=parseInt(d.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(d),0)),p=Math.floor(g/i.grid.rows)}else if(e.slides[l]){const d=e.slides[l].getAttribute("data-swiper-slide-index");d?p=parseInt(d,10):p=l}else p=l;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:p,previousIndex:s,activeIndex:l}),e.initialized&&Bs(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function wu(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(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let s=!1,o;if(i){for(let a=0;al?c=l:r&&no?a="next":s=l.length&&(m=l.length-1);const _=-l[m];if(a.normalizeSlideIndex)for(let E=0;E=O&&M=O&&M=O&&(o=E)}if(s.initialized&&o!==f&&(!s.allowSlideNext&&(p?_>s.translate&&_>s.minTranslate():_s.translate&&_>s.maxTranslate()&&(f||0)!==o))return!1;o!==(c||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(_);let v;o>f?v="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{d[E?"scrollLeft":"scrollTop"]=M})):d[E?"scrollLeft":"scrollTop"]=M,b&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return oa({swiper:s,targetPosition:M,side:E?"left":"top"}),!0;d.scrollTo({[E?"left":"top"]:M,behavior:"smooth"})}return!0}const P=fa().isSafari;return b&&!i&&P&&s.isElement&&s.virtual.update(!1,!1,o),s.setTransition(e),s.setTranslate(_),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,r),s.transitionStart(t,v),e===0?s.transitionEnd(t,v):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(M){!s||s.destroyed||M.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,v))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Lu(n,e,t,r){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const i=this;if(i.destroyed)return;typeof e=="undefined"&&(e=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=n;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const p=o*i.params.grid.rows;a=i.slides.find(d=>d.getAttribute("data-swiper-slide-index")*1===p).column}else a=i.getSlideIndexByData(o);const l=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2==0&&(c=c+1));let f=l-ad.getAttribute("data-swiper-slide-index")*1===p).column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,e,t,r)}),i}function Du(n,e,t){e===void 0&&(e=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof n=="undefined"&&(n=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{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 Iu(n,e,t){e===void 0&&(e=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof n=="undefined"&&(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=a?r.translate:-r.translate;function p(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const d=p(f),g=s.map(v=>p(v)),h=i.freeMode&&i.freeMode.enabled;let m=s[g.indexOf(d)-1];if(typeof m=="undefined"&&(i.cssMode||h)){let v;s.forEach((b,w)=>{d>=b&&(v=w)}),typeof v!="undefined"&&(m=h?s[v]:s[v>0?v-1:v])}let _=0;if(typeof m!="undefined"&&(_=o.indexOf(m),_<0&&(_=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(_=_-r.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),i.rewind&&r.isBeginning){const v=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(v,n,e,t)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(_,n,e,t)}),!0;return r.slideTo(_,n,e,t)}function zu(n,e,t){e===void 0&&(e=!0);const r=this;if(!r.destroyed)return typeof n=="undefined"&&(n=r.params.speed),r.slideTo(r.activeIndex,n,e,t)}function Ru(n,e,t,r){e===void 0&&(e=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof n=="undefined"&&(n=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];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 Fu(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,r=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let i=n.clickedIndex,s;const o=n.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(n.animating)return;s=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?in.slides.length-n.loopedSlides+r/2?(n.loopFix(),i=n.getSlideIndex(hr(t,`${o}[data-swiper-slide-index="${s}"]`)[0]),Qi(()=>{n.slideTo(i)})):n.slideTo(i):i>n.slides.length-r?(n.loopFix(),i=n.getSlideIndex(hr(t,`${o}[data-swiper-slide-index="${s}"]`)[0]),Qi(()=>{n.slideTo(i)})):n.slideTo(i)}else n.slideTo(i)}var Bu={slideTo:Ou,slideToLoop:Lu,slideNext:Du,slidePrev:Iu,slideReset:zu,slideToClosest:Ru,slideToClickedSlide:Fu};function Nu(n){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const i=()=>{hr(r,`.${t.slideClass}, swiper-slide`).forEach((f,p)=>{f.setAttribute("data-swiper-slide-index",p)})},s=e.grid&&t.grid&&t.grid.rows>1,o=t.slidesPerGroup*(s?t.grid.rows:1),a=e.slides.length%o!=0,l=s&&e.slides.length%t.grid.rows!=0,u=c=>{for(let f=0;f1;u.lengthk.classList.contains(d.slideActiveClass))):T=s;const P=r==="next"||!r,E=r==="prev"||!r;let M=0,O=0;const S=v?Math.ceil(u.length/d.grid.rows):u.length,x=(v?u[s].column:s)+(g&&typeof i=="undefined"?-h/2+.5:0);if(x<_){M=Math.max(_-x,m);for(let k=0;k<_-x;k+=1){const L=k-Math.floor(k/S)*S;if(v){const z=S-L-1;for(let F=u.length-1;F>=0;F-=1)u[F].column===z&&b.push(F)}else b.push(S-L-1)}}else if(x+h>S-_){O=Math.max(x-(S-_*2),m);for(let k=0;k{z.column===L&&w.push(F)}):w.push(L)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),E&&b.forEach(k=>{u[k].swiperLoopMoveDOM=!0,p.prepend(u[k]),u[k].swiperLoopMoveDOM=!1}),P&&w.forEach(k=>{u[k].swiperLoopMoveDOM=!0,p.append(u[k]),u[k].swiperLoopMoveDOM=!1}),l.recalcSlides(),d.slidesPerView==="auto"?l.updateSlides():v&&(b.length>0&&E||w.length>0&&P)&&l.slides.forEach((k,L)=>{l.grid.updateSlide(L,k,l.slides)}),d.watchSlidesProgress&&l.updateSlidesOffset(),t){if(b.length>0&&E){if(typeof e=="undefined"){const k=l.slidesGrid[T],z=l.slidesGrid[T+M]-k;a?l.setTranslate(l.translate-z):(l.slideTo(T+Math.ceil(M),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-z,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-z))}else if(i){const k=v?b.length/d.grid.rows:b.length;l.slideTo(l.activeIndex+k,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&P)if(typeof e=="undefined"){const k=l.slidesGrid[T],z=l.slidesGrid[T-O]-k;a?l.setTranslate(l.translate-z):(l.slideTo(T-O,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-z,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-z))}else{const k=v?w.length/d.grid.rows:w.length;l.slideTo(l.activeIndex-k,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!o){const k={slideRealIndex:e,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix(ia(ra({},k),{slideTo:L.params.slidesPerView===d.slidesPerView?t:!1}))}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(ia(ra({},k),{slideTo:l.controller.control.params.slidesPerView===d.slidesPerView?t:!1}))}l.emit("loopFix")}function Yu(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const r=[];n.slides.forEach(i=>{const s=typeof i.swiperSlideIndex=="undefined"?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 Vu={loopCreate:Nu,loopFix:Gu,loopDestroy:Yu};function qu(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 $u(){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 Hu={setGrabCursor:qu,unsetGrabCursor:$u};function Wu(n,e){e===void 0&&(e=this);function t(r){if(!r||r===er()||r===ct())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 ha(n,e,t){const r=ct(),{params:i}=n,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(t<=o||t>=r.innerWidth-o)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function Xu(n){const e=this,t=er();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"){ha(e,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=e;if(!a||!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"&&!Zc(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}`,p=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(p?Wu(f,l):l.closest(f))){e.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const d=o.currentX,g=o.currentY;if(!ha(e,r,d))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=d,o.startY=g,i.touchStartTime=Bn(),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 m=h&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||m)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function Uu(n){const e=er(),t=this,r=t.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=t;if(!a||!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(P=>P.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=Bn());return}if(i.touchReleaseOnEdges&&!i.loop){if(t.isVertical()){if(fs.startY&&t.translate>=t.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.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 p=s.currentX-s.startX,d=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(p**2+d**2)=25&&(P=Math.atan2(Math.abs(d),Math.abs(p))*180/Math.PI,r.isScrolling=t.isHorizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",l),typeof r.startMoving=="undefined"&&(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 g=t.isHorizontal()?p:d,h=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),h=Math.abs(h)*(o?1:-1)),s.diff=g,g*=i.touchRatio,o&&(g=-g,h=-h);const m=t.touchesDirection;t.swipeDirection=g>0?"prev":"next",t.touchesDirection=h>0?"prev":"next";const _=t.params.loop&&!i.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!r.isMoved){if(_&&v&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(P)}r.allowMomentumBounce=!1,i.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}let b;if(new Date().getTime(),i._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&m!==t.touchesDirection&&_&&v&&Math.abs(g)>=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=g+r.startTranslate;let w=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),g>0?(_&&v&&!b&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(i.slidesPerView!=="auto"&&t.slides.length-i.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>t.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+g)**T))):g<0&&(_&&v&&!b&&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.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(g)>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 ju(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(T=>T.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:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=e;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",r),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&o.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}o.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=Bn(),p=f-t.touchStartTime;if(e.allowClick){const T=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(T&&T[0]||r.target,T),e.emit("tap click",r),p<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(t.lastClickTime=Bn(),Qi(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||a.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(o.followFinger?d=l?e.translate:-e.translate:d=-t.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}const g=d>=-e.maxTranslate()&&!e.params.loop;let h=0,m=e.slidesSizesGrid[0];for(let T=0;T=u[T]&&d=u[T])&&(h=T,m=u[u.length-1]-u[u.length-2])}let _=null,v=null;o.rewind&&(e.isBeginning?v=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(_=0));const b=(d-u[h])/m,w=ho.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?_:h+w):e.slideTo(h)),e.swipeDirection==="prev"&&(b>1-o.longSwipesRatio?e.slideTo(h+w):v!==null&&b<0&&Math.abs(b)>o.longSwipesRatio?e.slideTo(v):e.slideTo(h))}else{if(!o.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+w):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(_!==null?_:h+w),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:h))}}function ga(){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,o=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const a=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!a?n.slideTo(n.slides.length-1,0,!1,!0):n.params.loop&&!o?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 Ku(n){const e=this;!e.enabled||e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation()))}function Qu(){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 Zu(n){const e=this;Vn(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Ju(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const ma=(n,e)=>{const t=er(),{params:r,el:i,wrapperEl:s,device:o}=n,a=!!r.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!i||typeof i=="string"||(t[l]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",n.onTouchStart,{passive:!1}),i[l]("pointerdown",n.onTouchStart,{passive:!1}),t[l]("touchmove",n.onTouchMove,{passive:!1,capture:a}),t[l]("pointermove",n.onTouchMove,{passive:!1,capture:a}),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](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ga,!0):n[u]("observerUpdate",ga,!0),i[l]("load",n.onLoad,{capture:!0}))};function ef(){const n=this,{params:e}=n;n.onTouchStart=Xu.bind(n),n.onTouchMove=Uu.bind(n),n.onTouchEnd=ju.bind(n),n.onDocumentTouchStart=Ju.bind(n),e.cssMode&&(n.onScroll=Qu.bind(n)),n.onClick=Ku.bind(n),n.onLoad=Zu.bind(n),ma(n,"on")}function tf(){ma(this,"off")}var rf={attachEvents:ef,detachEvents:tf};const _a=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function nf(){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 o=er(),a=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?n.el:o.querySelector(r.breakpointsBase),u=n.getBreakpoint(s,a,l);if(!u||n.currentBreakpoint===u)return;const f=(u in s?s[u]:void 0)||n.originalParams,p=_a(n,r),d=_a(n,f),g=n.params.grabCursor,h=f.grabCursor,m=r.enabled;p&&!d?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),n.emitContainerClasses()):!p&&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()),g&&!h?n.unsetGrabCursor():!g&&h&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(P=>{if(typeof f[P]=="undefined")return;const E=r[P]&&r[P].enabled,M=f[P]&&f[P].enabled;E&&!M&&n[P].disable(),!E&&M&&n[P].enable()});const _=f.direction&&f.direction!==r.direction,v=r.loop&&(f.slidesPerView!==r.slidesPerView||_),b=r.loop;_&&t&&n.changeDirection(),Nt(n.params,f);const w=n.params.enabled,T=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),m&&!w?n.disable():!m&&w&&n.enable(),n.currentBreakpoint=u,n.emit("_beforeBreakpoint",f),t&&(v?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!b&&T?(n.loopCreate(e),n.updateSlides()):b&&!T&&n.loopDestroy()),n.emit("breakpoint",f)}function sf(n,e,t){if(e===void 0&&(e="window"),!n||e==="container"&&!t)return;let r=!1;const i=ct(),s=e==="window"?i.innerHeight:t.clientHeight,o=Object.keys(n).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&t.push(e+i)}):typeof r=="string"&&t.push(e+r)}),t}function lf(){const n=this,{classNames:e,params:t,rtl:r,el:i,device:s}=n,o=af(["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(...o),i.classList.add(...e),n.emitContainerClasses()}function cf(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var uf={addClasses:lf,removeClasses:cf};function ff(){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 df={checkOverflow:ff},va={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function pf(n,e){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){Nt(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)){Nt(e,r);return}typeof n[i]=="object"&&!("enabled"in n[i])&&(n[i].enabled=!0),n[i]||(n[i]={enabled:!1}),Nt(e,r)}}const Ns={eventsEmitter:cu,update:yu,translate:Eu,transition:ku,slide:Bu,loop:Vu,grabCursor:Hu,events:rf,breakpoints:of,checkOverflow:df,classes:uf},Gs={};class it{constructor(){let e,t;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(t.el).forEach(f=>{const p=Nt({},t,{el:f});c.push(new it(p))}),c}const a=this;a.__swiper__=!0,a.support=ca(),a.device=ua({userAgent:t.userAgent}),a.browser=fa(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const l={};a.modules.forEach(c=>{c({params:t,swiper:a,extendParams:pf(t,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Nt({},va,l);return a.params=Nt({},u,Gs,t),a.originalParams=Nt({},a.params),a.passedParams=Nt({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.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:a.params.allowSlideNext,allowSlidePrev:a.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:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}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=hr(t,`.${r.slideClass}, swiper-slide`),s=aa(i[0]);return aa(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:t,params:r}=e;e.slides=hr(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(),o=(r.maxTranslate()-i)*e+i;r.translateTo(o,typeof t=="undefined"?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(r=>{const i=e.getSlideClasses(r);t.push({slideEl:r,classNames:i}),e.emit("_slideClass",r,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:a,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,p;for(let d=u+1;dl&&(p=!0));for(let d=u-1;d>=0;d-=1)s[d]&&!p&&(f+=s[d].swiperSlideSize,c+=1,f>l&&(p=!0))}else if(e==="current")for(let f=u+1;f=0;f-=1)o[u]-o[f]{o.complete&&Vn(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const o=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(a),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 o=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(o.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){t===void 0&&(t=!0);const r=this,i=r.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.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 o=(()=>r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):hr(r,i())[0])();return!o&&t.params.createElements&&(o=Zi("div",t.params.wrapperClass),r.append(o),hr(r,`.${t.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(t,{el:r,wrapperEl:o,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Vr(r,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Vr(r,"direction")==="rtl"),wrongRTL:Vr(o,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Vn(t,s):s.addEventListener("load",o=>{Vn(t,o.target)})}),Bs(t),t.initialized=!0,Bs(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:a}=r;return typeof r.params=="undefined"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),t&&(r.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.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),Xc(r)),r.destroyed=!0),null}static extendDefaults(e){Nt(Gs,e)}static get extendedDefaults(){return Gs}static get defaults(){return va}static installModule(e){it.prototype.__modules__||(it.prototype.__modules__=[]);const t=it.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>it.installModule(t)),it):(it.installModule(e),it)}}Object.keys(Ns).forEach(n=>{Object.keys(Ns[n]).forEach(e=>{it.prototype[e]=Ns[n][e]})}),it.use([au,lu]);function wa(n,e,t,r){return n.params.createElements&&Object.keys(r).forEach(i=>{if(!t[i]&&t.auto===!0){let s=hr(n.el,`.${r[i]}`)[0];s||(s=Zi("div",r[i]),s.className=r[i],n.el.append(s)),t[i]=s,e[i]=s}}),t}function ya(n){let{swiper:e,extendParams:t,on:r,emit:i}=n;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function s(g){let h;return g&&typeof g=="string"&&e.isElement&&(h=e.el.querySelector(g)||e.hostEl.querySelector(g),h)?h:(g&&(typeof g=="string"&&(h=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&h&&h.length>1&&e.el.querySelectorAll(g).length===1?h=e.el.querySelector(g):h&&h.length===1&&(h=h[0])),g&&!h?g:h)}function o(g,h){const m=e.params.navigation;g=gr(g),g.forEach(_=>{_&&(_.classList[h?"add":"remove"](...m.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=h),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](m.lockClass))})}function a(){const{nextEl:g,prevEl:h}=e.navigation;if(e.params.loop){o(h,!1),o(g,!1);return}o(h,e.isBeginning&&!e.params.rewind),o(g,e.isEnd&&!e.params.rewind)}function l(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function u(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const g=e.params.navigation;if(e.params.navigation=wa(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let h=s(g.nextEl),m=s(g.prevEl);Object.assign(e.navigation,{nextEl:h,prevEl:m}),h=gr(h),m=gr(m);const _=(v,b)=>{v&&v.addEventListener("click",b==="next"?u:l),!e.enabled&&v&&v.classList.add(...g.lockClass.split(" "))};h.forEach(v=>_(v,"next")),m.forEach(v=>_(v,"prev"))}function f(){let{nextEl:g,prevEl:h}=e.navigation;g=gr(g),h=gr(h);const m=(_,v)=>{_.removeEventListener("click",v==="next"?u:l),_.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(_=>m(_,"next")),h.forEach(_=>m(_,"prev"))}r("init",()=>{e.params.navigation.enabled===!1?d():(c(),a())}),r("toEdge fromEdge lock unlock",()=>{a()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:g,prevEl:h}=e.navigation;if(g=gr(g),h=gr(h),e.enabled){a();return}[...g,...h].filter(m=>!!m).forEach(m=>m.classList.add(e.params.navigation.lockClass))}),r("click",(g,h)=>{let{nextEl:m,prevEl:_}=e.navigation;m=gr(m),_=gr(_);const v=h.target;let b=_.includes(v)||m.includes(v);if(e.isElement&&!b){const w=h.path||h.composedPath&&h.composedPath();w&&(b=w.find(T=>m.includes(T)||_.includes(T)))}if(e.params.navigation.hideOnClick&&!b){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===v||e.pagination.el.contains(v)))return;let w;m.length?w=m[0].classList.contains(e.params.navigation.hiddenClass):_.length&&(w=_[0].classList.contains(e.params.navigation.hiddenClass)),i(w===!0?"navigationShow":"navigationHide"),[...m,..._].filter(T=>!!T).forEach(T=>T.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},d=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:p,disable:d,update:a,init:c,destroy:f})}function hf(n){return n===void 0&&(n=""),`.${n.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ys(n){let{swiper:e,extendParams:t,on:r,emit:i}=n;const s=er();let o=!1,a=null,l=null,u,c,f,p;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function d(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:k}=e,{dragEl:L,el:z}=x,F=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress;let B=c,V=(f-c)*G;k?(V=-V,V>0?(B=c-V,V=0):-V+c>f&&(B=f+V)):V<0?(B=c+V,V=0):V+c>f&&(B=f-V),e.isHorizontal()?(L.style.transform=`translate3d(${V}px, 0, 0)`,L.style.width=`${B}px`):(L.style.transform=`translate3d(0px, ${V}px, 0)`,L.style.height=`${B}px`),F.hide&&(clearTimeout(a),z.style.opacity=1,a=setTimeout(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3))}function g(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:k,el:L}=x;k.style.width="",k.style.height="",f=e.isHorizontal()?L.offsetWidth:L.offsetHeight,p=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*p:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?k.style.width=`${c}px`:k.style.height=`${c}px`,p>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function m(x){return e.isHorizontal()?x.clientX:x.clientY}function _(x){const{scrollbar:k,rtlTranslate:L}=e,{el:z}=k;let F;F=(m(x)-Jc(z)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),F=Math.max(Math.min(F,1),0),L&&(F=1-F);const G=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(G),e.setTranslate(G),e.updateActiveIndex(),e.updateSlidesClasses()}function v(x){const k=e.params.scrollbar,{scrollbar:L,wrapperEl:z}=e,{el:F,dragEl:G}=L;o=!0,u=x.target===G?m(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),z.style.transitionDuration="100ms",G.style.transitionDuration="100ms",_(x),clearTimeout(l),F.style.transitionDuration="0ms",k.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",x)}function b(x){const{scrollbar:k,wrapperEl:L}=e,{el:z,dragEl:F}=k;!o||(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,_(x),L.style.transitionDuration="0ms",z.style.transitionDuration="0ms",F.style.transitionDuration="0ms",i("scrollbarDragMove",x))}function w(x){const k=e.params.scrollbar,{scrollbar:L,wrapperEl:z}=e,{el:F}=L;!o||(o=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",z.style.transitionDuration=""),k.hide&&(clearTimeout(l),l=Qi(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",x),k.snapOnRelease&&e.slideToClosest())}function T(x){const{scrollbar:k,params:L}=e,z=k.el;if(!z)return;const F=z,G=L.passiveListeners?{passive:!1,capture:!1}:!1,B=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const V=x==="on"?"addEventListener":"removeEventListener";F[V]("pointerdown",v,G),s[V]("pointermove",b,G),s[V]("pointerup",w,B)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||T("on")}function E(){!e.params.scrollbar.el||!e.scrollbar.el||T("off")}function M(){const{scrollbar:x,el:k}=e;e.params.scrollbar=wa(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let z;if(typeof L.el=="string"&&e.isElement&&(z=e.el.querySelector(L.el)),!z&&typeof L.el=="string"){if(z=s.querySelectorAll(L.el),!z.length)return}else z||(z=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&z.length>1&&k.querySelectorAll(L.el).length===1&&(z=k.querySelector(L.el)),z.length>0&&(z=z[0]),z.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let F;z&&(F=z.querySelector(hf(e.params.scrollbar.dragClass)),F||(F=Zi("div",e.params.scrollbar.dragClass),z.append(F))),Object.assign(x,{el:z,dragEl:F}),L.draggable&&P(),z&&z.classList[e.enabled?"remove":"add"](...Yr(e.params.scrollbar.lockClass))}function O(){const x=e.params.scrollbar,k=e.scrollbar.el;k&&k.classList.remove(...Yr(e.isHorizontal()?x.horizontalClass:x.verticalClass)),E()}r("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:k}=e.scrollbar;k=gr(k),k.forEach(L=>{L.classList.remove(x.horizontalClass,x.verticalClass),L.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),r("init",()=>{e.params.scrollbar.enabled===!1?D():(M(),h(),d())}),r("update resize observerUpdate lock unlock changeDirection",()=>{h()}),r("setTranslate",()=>{d()}),r("setTransition",(x,k)=>{g(k)}),r("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Yr(e.params.scrollbar.lockClass))}),r("destroy",()=>{O()});const S=()=>{e.el.classList.remove(...Yr(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Yr(e.params.scrollbar.scrollbarDisabledClass)),M(),h(),d()},D=()=>{e.el.classList.add(...Yr(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Yr(e.params.scrollbar.scrollbarDisabledClass)),O()};Object.assign(e.scrollbar,{enable:S,disable:D,updateSize:h,setTranslate:d,init:M,destroy:O})}function gf(n){let{swiper:e,extendParams:t,on:r}=n;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(u,c){const f=function(){let h,m,_;return(v,b)=>{for(m=-1,h=v.length;h-m>1;)_=h+m>>1,v[_]<=b?m=_:h=_;return h}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let p,d;return this.interpolate=function(h){return h?(d=f(this.x,h),p=d-1,(h-this.x[p])*(this.y[d]-this.y[p])/(this.x[d]-this.x[p])+this.y[p]):0},this}function s(u){e.controller.spline=e.params.loop?new i(e.slidesGrid,u.slidesGrid):new i(e.snapGrid,u.snapGrid)}function o(u,c){const f=e.controller.control;let p,d;const g=e.constructor;function h(m){if(m.destroyed)return;const _=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(m),d=-e.controller.spline.interpolate(-_)),(!d||e.params.controller.by==="container")&&(p=(m.maxTranslate()-m.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(p)||!Number.isFinite(p))&&(p=1),d=(_-e.minTranslate())*p+m.minTranslate()),e.params.controller.inverse&&(d=m.maxTranslate()-d),m.updateProgress(d),m.setTranslate(d,e),m.updateActiveIndex(),m.updateSlidesClasses()}if(Array.isArray(f))for(let m=0;m{h.updateAutoHeight()}),iu(h.wrapperEl,()=>{!p||h.transitionEnd()})))}if(Array.isArray(p))for(d=0;d{if(typeof window!="undefined"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(c=>{if(e.controller.control||(e.controller.control=[]),c&&c.swiper)e.controller.control.push(c.swiper);else if(c){const f=`${e.params.eventsPrefix}init`,p=d=>{e.controller.control.push(d.detail[0]),e.update(),c.removeEventListener(f,p)};c.addEventListener(f,p)}});return}e.controller.control=e.params.controller.control}),r("update",()=>{l()}),r("resize",()=>{l()}),r("observerUpdate",()=>{l()}),r("setTranslate",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,f)}),r("setTransition",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,f)}),Object.assign(e.controller,{setTranslate:o,setTransition:a})}function ba(n){let{swiper:e,extendParams:t,on:r,emit:i,params:s}=n;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,a,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,f=new Date().getTime(),p,d,g,h,m,_,v;function b(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!(v||B.detail&&B.detail.bySwiperTouchMove)&&S())}const w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?p=!0:p&&(u=c,p=!1);const B=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=B,i("autoplayTimeLeft",B,B/l),a=requestAnimationFrame(()=>{w()})},T=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.find(y=>y.classList.contains("swiper-slide-active")):B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},P=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),w();let V=typeof B=="undefined"?e.params.autoplay.delay:B;l=e.params.autoplay.delay,u=e.params.autoplay.delay;const y=T();!Number.isNaN(y)&&y>0&&typeof B=="undefined"&&(V=y,l=y,u=y),c=V;const oe=e.params.speed,Te=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(oe,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,oe,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(oe,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,oe,!0,!0),i("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return V>0?(clearTimeout(o),o=setTimeout(()=>{Te()},V)):requestAnimationFrame(()=>{Te()}),V},E=()=>{f=new Date().getTime(),e.autoplay.running=!0,P(),i("autoplayStart")},M=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},O=(B,V)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),B||(_=!0);const y=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):S()};if(e.autoplay.paused=!0,V){m&&(c=e.params.autoplay.delay),m=!1,y();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),y())},S=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),_?(_=!1,P(c)):P(),e.autoplay.paused=!1,i("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const B=er();B.visibilityState==="hidden"&&(_=!0,O(!0)),B.visibilityState==="visible"&&S()},x=B=>{B.pointerType==="mouse"&&(_=!0,v=!0,!(e.animating||e.autoplay.paused)&&O(!0))},k=B=>{B.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&S())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",k))},z=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",k))},F=()=>{er().addEventListener("visibilitychange",D)},G=()=>{er().removeEventListener("visibilitychange",D)};r("init",()=>{e.params.autoplay.enabled&&(L(),F(),E())}),r("destroy",()=>{z(),G(),e.autoplay.running&&M()}),r("_freeModeStaticRelease",()=>{(g||_)&&S()}),r("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?M():O(!0,!0)}),r("beforeTransitionStart",(B,V,y)=>{e.destroyed||!e.autoplay.running||(y||!e.params.autoplay.disableOnInteraction?O(!0,!0):M())}),r("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){M();return}d=!0,g=!1,_=!1,h=setTimeout(()=>{_=!0,g=!0,O(!0)},200)}}),r("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!d)){if(clearTimeout(h),clearTimeout(o),e.params.autoplay.disableOnInteraction){g=!1,d=!1;return}g&&e.params.cssMode&&S(),g=!1,d=!1}}),r("slideChange",()=>{e.destroyed||!e.autoplay.running||(m=!0)}),Object.assign(e.autoplay,{start:E,stop:M,pause:O,resume:S})}var Sp="",Ap="";function Or(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function xa(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*! * GSAP 3.12.7 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Pi={duration:.5,overwrite:!1,delay:0},Vs,nt,Se,tr=1e8,ve=1/tr,qs=Math.PI*2,mf=qs/4,_f=0,Ta=Math.sqrt,vf=Math.cos,wf=Math.sin,Xe=function(e){return typeof e=="string"},Le=function(e){return typeof e=="function"},Lr=function(e){return typeof e=="number"},$s=function(e){return typeof e=="undefined"},mr=function(e){return typeof e=="object"},Ot=function(e){return e!==!1},Hs=function(){return typeof window!="undefined"},qn=function(e){return Le(e)||Xe(e)},Sa=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,Ws=/(?:-?\.?\d|\.)+/gi,Aa=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Mi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Xs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ea=/[+-]=-?[.\d]+/,Ca=/[^,'"\[\]\s]+/gi,yf=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ce,_r,Us,js,Yt={},$n={},Pa,Ma=function(e){return($n=Oi(e,Yt))&&It},Ks=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Ji=function(e,t){return!t&&console.warn(e)},ka=function(e,t){return e&&(Yt[e]=t)&&$n&&($n[e]=t)||Yt},en=function(){return 0},bf={suppressEvents:!0,isStart:!0,kill:!1},Hn={suppressEvents:!0,kill:!1},xf={suppressEvents:!0},Qs={},qr=[],Zs={},Oa,Vt={},Js={},La=30,Wn=[],eo="",to=function(e){var t=e[0],r,i;if(mr(t)||Le(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Wn.length;i--&&!Wn[i].targetTest(t););r=Wn[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new al(e[i],r)))||e.splice(i,1);return e},oi=function(e){return e._gsap||to(ir(e))[0]._gsap},Da=function(e,t,r){return(r=e[t])&&Le(r)?e[t]():$s(r)&&e.getAttribute&&e.getAttribute(t)||r},Lt=function(e,t){return(e=e.split(",")).forEach(t)||e},ze=function(e){return Math.round(e*1e5)/1e5||0},Ne=function(e){return Math.round(e*1e7)/1e7||0},ki=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},Tf=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++ia;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},jn=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=t._prev,o=t._next;s?s._next=o:e[r]===t&&(e[r]=o),o?o._prev=s:e[i]===t&&(e[i]=s),t._next=t._prev=t.parent=null},$r=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ai=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},Ef=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ro=function(e,t,r,i){return e._startAt&&(nt?e._startAt.revert(Hn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Cf=function n(e){return!e||e._ts&&n(e.parent)},Na=function(e){return e._repeat?Li(e._tTime,e=e.duration()+e._rDelay)*e:0},Li=function(e,t){var r=Math.floor(e=Ne(e/t));return e&&r===e?r-1:r},Kn=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Qn=function(e){return e._end=Ne(e._start+(e._tDur/Math.abs(e._ts||e._rts||ve)||0))},Zn=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ne(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Qn(e),r._dirty||ai(r,e)),e},Ga=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._startve)&&t.render(r,!0)),ai(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-ve}},vr=function(e,t,r,i){return t.parent&&$r(t),t._start=Ne((Lr(r)?r:r||e!==Ce?rr(e,r,t):e._time)+t._delay),t._end=Ne(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ba(e,t,"_first","_last",e._sort?"_start":0),io(t)||(e._recent=t),i||Ga(e,t),e._ts<0&&Zn(e,e._tTime),e},Ya=function(e,t){return(Yt.ScrollTrigger||Ks("scrollTrigger",t))&&Yt.ScrollTrigger.create(t,e)},Va=function(e,t,r,i,s){if(po(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!nt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Oa!==Ht.frame)return qr.push(e),e._lazy=[s,i],1},Pf=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},io=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Mf=function(e,t,r,i){var s=e.ratio,o=t<0||!t&&(!e._start&&Pf(e)&&!(!e._initted&&io(e))||(e._ts<0||e._dp._ts<0)&&!io(e))?0:1,a=e._rDelay,l=0,u,c,f;if(a&&e._repeat&&(l=nn(0,e._tDur,t),c=Li(l,a),e._yoyo&&c&1&&(o=1-o),c!==Li(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||nt||i||e._zTime===ve||!t&&e._zTime){if(!e._initted&&Va(e,t,i,r,l))return;for(f=e._zTime,e._zTime=t||(r?ve:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;t<0&&ro(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===o&&(o&&$r(e,1),!r&&!nt&&($t(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},kf=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._start0&&!i&&Zn(e,e._tTime=e._tDur*a),e.parent&&Qn(e),r||ai(e.parent,e),e},qa=function(e){return e instanceof xt?ai(e):Di(e,e._dur)},Of={_start:0,endTime:en,totalDuration:en},rr=function n(e,t,r){var i=e.labels,s=e._recent||Of,o=e.duration()>=tr?s.endTime(!1):e._dur,a,l,u;return Xe(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?s:r).totalDuration()/100:1)):a<0?(t in i||(i[t]=o),i[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&r&&(l=l/100*(ut(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+l:o+l)):t==null?o:+t},rn=function(e,t,r){var i=Lr(t[1]),s=(i?2:1)+(e<2?0:1),o=t[s],a,l;if(i&&(o.duration=t[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Ot(l.vars.inherit)&&l.parent;o.immediateRender=Ot(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Ge(t[0],o,t[s+1])},Hr=function(e,t){return e||e===0?t(e):t},nn=function(e,t,r){return rt?t:r},ft=function(e,t){return!Xe(e)||!(t=yf.exec(e))?"":t[1]},Lf=function(e,t,r){return Hr(r,function(i){return nn(e,t,i)})},no=[].slice,$a=function(e,t){return e&&mr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&mr(e[0]))&&!e.nodeType&&e!==_r},Df=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return Xe(i)&&!t||$a(i,1)?(s=r).push.apply(s,ir(i)):r.push(i)})||r},ir=function(e,t,r){return Se&&!t&&Se.selector?Se.selector(e):Xe(e)&&!r&&(Us||!zi())?no.call((t||js).querySelectorAll(e),0):ut(e)?Df(e,r):$a(e)?no.call(e,0):e?[e]:[]},so=function(e){return e=ir(e)[0]||Ji("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return ir(t,r.querySelectorAll?r:r===e?Ji("Invalid scope")||js.createElement("div"):e)}},Ha=function(e){return e.sort(function(){return .5-Math.random()})},Wa=function(e){if(Le(e))return e;var t=mr(e)?e:{each:e},r=li(t.ease),i=t.from||0,s=parseFloat(t.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,u=t.axis,c=i,f=i;return Xe(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(c=i[0],f=i[1]),function(p,d,g){var h=(g||t).length,m=o[h],_,v,b,w,T,P,E,M,O;if(!m){if(O=t.grid==="auto"?0:(t.grid||[1,tr])[1],!O){for(E=-tr;E<(E=g[O++].getBoundingClientRect().left)&&OE&&(E=T),Th?h-1:u?u==="y"?h/O:O:Math.max(O,h/O))||0)*(i==="edges"?-1:1),m.b=h<0?s-h:s,m.u=ft(t.amount||t.each)||0,r=r&&h<0?nl(r):r}return h=(m[p]-m.min)/m.max||0,Ne(m.b+(r?r(h):h)*m.v)+m.u}},oo=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Ne(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Lr(r)?0:ft(r))}},Xa=function(e,t){var r=ut(e),i,s;return!r&&mr(e)&&(i=r=e.radius||tr,e.values?(e=ir(e.values),(s=!Lr(e[0]))&&(i*=i)):e=oo(e.increment)),Hr(t,r?Le(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=tr,c=0,f=e.length,p,d;f--;)s?(p=e[f].x-a,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-a),pi?s-o:o)})},sn=function(e){for(var t=0,r="",i,s,o,a;~(i=e.indexOf("random(",t));)o=e.indexOf(")",i),a=e.charAt(i+7)==="[",s=e.substr(i+7,o-i-7).match(a?Ca:Ws),r+=e.substr(t,i-t)+Ua(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Ka=function(e,t,r,i,s){var o=t-e,a=i-r;return Hr(s,function(l){return r+((l-e)/o*a||0)})},Nf=function n(e,t,r,i){var s=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!s){var o=Xe(e),a={},l,u,c,f,p;if(r===!0&&(i=1)&&(r=null),o)e={p:e},t={p:t};else if(ut(e)&&!ut(t)){for(c=[],f=e.length,p=f-2,u=1;u(a=Math.abs(a))&&(l=o,s=a);return l},$t=function(e,t,r){var i=e.vars,s=i[t],o=Se,a=e._ctx,l,u,c;if(!!s)return l=i[t+"Params"],u=i.callbackScope||e,r&&qr.length&&Xn(),a&&(Se=a),c=l?s.apply(u,l):s.call(u),Se=o,c},on=function(e){return $r(e),e.scrollTrigger&&e.scrollTrigger.kill(!!nt),e.progress()<1&&$t(e,"onInterrupt"),e},Ii,Za=[],Ja=function(e){if(!!e)if(e=!e.name&&e.default||e,Hs()||e.headless){var t=e.name,r=Le(e),i=t&&!r&&e.init?function(){this._props=[]}:e,s={init:en,render:mo,add:uo,kill:td,modifier:ed,rawVars:0},o={targetTest:0,get:0,getSetter:go,aliases:{},register:0};if(zi(),e!==i){if(Vt[t])return;qt(i,qt(Un(e,s),o)),Oi(i.prototype,Oi(s,Un(e,o))),Vt[i.prop=t]=i,e.targetTest&&(Wn.push(i),Qs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ka(t,i),e.register&&e.register(It,i,Dt)}else Za.push(e)},we=255,an={aqua:[0,we,we],lime:[0,we,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,we],navy:[0,0,128],white:[we,we,we],olive:[128,128,0],yellow:[we,we,0],orange:[we,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[we,0,0],pink:[we,192,203],cyan:[0,we,we],transparent:[we,we,we,0]},ao=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)*we+.5|0},el=function(e,t,r){var i=e?Lr(e)?[e>>16,e>>8&we,e&we]:0:an.black,s,o,a,l,u,c,f,p,d,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),an[e])i=an[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&we,i&we,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&we,e&we]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(Ws),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,s=c*2-o,i.length>3&&(i[3]*=1),i[0]=ao(l+1/3,s,o),i[1]=ao(l,s,o),i[2]=ao(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Aa),r&&i.length<4&&(i[3]=1),i}else i=e.match(Ws)||an.transparent;i=i.map(Number)}return t&&!g&&(s=i[0]/we,o=i[1]/we,a=i[2]/we,f=Math.max(s,o,a),p=Math.min(s,o,a),c=(f+p)/2,f===p?l=u=0:(d=f-p,u=c>.5?d/(2-f-p):d/(f+p),l=f===s?(o-a)/d+(oe||_<0)&&(r+=_-t),i+=_,T=i-r,b=T-o,(b>0||v)&&(P=++f.frame,p=T-f.time*1e3,f.time=T=T/1e3,o+=b+(b>=s?4:s-b),w=1),v||(l=u(h)),w)for(d=0;d=_&&d--},_listeners:a},f}(),zi=function(){return!ln&&Ht.wake()},ce={},Yf=/^[\d.\-M][\d.\-,\s]/,Vf=/["']/g,qf=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,u;s1&&r.config?r.config.apply(null,~e.indexOf("{")?[qf(t[1])]:$f(e).split(",").map(za)):ce._CE&&Yf.test(e)?ce._CE("",e):r},nl=function(e){return function(t){return 1-e(1-t)}},sl=function n(e,t){for(var r=e._first,i;r;)r instanceof xt?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},li=function(e,t){return e&&(Le(e)?e:ce[e]||Hf(e))||t},ci=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},o;return Lt(e,function(a){ce[a]=Yt[a]=s,ce[o=a.toLowerCase()]=r;for(var l in s)ce[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ce[a+"."+l]=s[l]}),s},ol=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},lo=function n(e,t,r){var i=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/qs*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*wf((c-o)*s)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:ol(a);return s=qs/s,l.config=function(u,c){return n(e,u,c)},l},co=function n(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:ol(r);return i.config=function(s){return n(e,s)},i};Lt("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;ci(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})}),ce.Linear.easeNone=ce.none=ce.Linear.easeIn,ci("Elastic",lo("in"),lo("out"),lo()),function(n,e){var t=1/e,r=2*t,i=2.5*t,s=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Di(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(zi(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Zn(this,r),!s._dp||s.parent||Ga(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&&r0||!this._tDur&&!r)&&vr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ve||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ia(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Na(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)+Na(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?Li(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-ve?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Kn(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ve?0:this._rts,this.totalTime(nn(-Math.abs(this._delay),this._tDur,s),i!==!1),Qn(this),Ef(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):(zi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ve&&(this._tTime-=ve)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&vr(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Ot(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?Kn(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=xf);var i=nt;return nt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),nt=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,qa(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,qa(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(rr(this,r),Ot(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Ot(i)),this._dur||(this._zTime=-ve),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?-ve:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ve,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&&s1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(s){var o=Le(r)?r:Ra,a=function(){var u=i.then;i.then=null,Le(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=u),s(o),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){on(this)},n}();qt(cn.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:-ve,_prom:0,_ps:!1,_rts:1});var xt=function(n){xa(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=Ot(r.sortChildren),Ce&&vr(r.parent||Ce,Or(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Ya(Or(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(i,s,o){return rn(0,arguments,this),this},t.from=function(i,s,o){return rn(1,arguments,this),this},t.fromTo=function(i,s,o,a){return rn(2,arguments,this),this},t.set=function(i,s,o){return s.duration=0,s.parent=this,tn(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ge(i,s,rr(this,o),1),this},t.call=function(i,s,o){return vr(this,Ge.delayedCall(0,i,s),o)},t.staggerTo=function(i,s,o,a,l,u,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new Ge(i,o,rr(this,l)),this},t.staggerFrom=function(i,s,o,a,l,u,c){return o.runBackwards=1,tn(o).immediateRender=Ot(o.immediateRender),this.staggerTo(i,s,o,a,l,u,c)},t.staggerFromTo=function(i,s,o,a,l,u,c,f){return a.startAt=o,tn(a).immediateRender=Ot(a.immediateRender),this.staggerTo(i,s,a,l,u,c,f)},t.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Ne(i),f=this._zTime<0!=i<0&&(this._initted||!u),p,d,g,h,m,_,v,b,w,T,P,E;if(this!==Ce&&c>l&&i>=0&&(c=l),c!==this._tTime||o||f){if(a!==this._time&&u&&(c+=this._time-a,i+=this._time-a),p=c,w=this._start,b=this._ts,_=!b,f&&(u||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(P=this._yoyo,m=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,s,o);if(p=Ne(c%m),c===l?(h=this._repeat,p=u):(T=Ne(c/m),h=~~T,h&&h===T&&(p=u,h--),p>u&&(p=u)),T=Li(this._tTime,m),!a&&this._tTime&&T!==h&&this._tTime-T*m-this._dur<=0&&(T=h),P&&h&1&&(p=u-p,E=1),h!==T&&!this._lock){var M=P&&T&1,O=M===(P&&h&1);if(h=a&&i>=0)for(d=this._first;d;){if(g=d._next,(d._act||p>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,s,o),p!==this._time||!this._ts&&!_){v=0,g&&(c+=this._zTime=-ve);break}}d=g}else{d=this._last;for(var S=i<0?i:p;d;){if(g=d._prev,(d._act||S<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(S-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(S-d._start)*d._ts,s,o||nt&&(d._initted||d._startAt)),p!==this._time||!this._ts&&!_){v=0,g&&(c+=this._zTime=S?-ve:ve);break}}d=g}}if(v&&!s&&(this.pause(),v.render(p>=a?0:-ve)._zTime=p>=a?1:-1,this._ts))return this._start=w,Qn(this),this.render(i,s,o);this._onUpdate&&!s&&$t(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&$r(this,1),!s&&!(i<0&&!a)&&(c||a||!l)&&($t(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},t.add=function(i,s){var o=this;if(Lr(s)||(s=rr(this,s,i)),!(i instanceof cn)){if(ut(i))return i.forEach(function(a){return o.add(a,s)}),this;if(Xe(i))return this.addLabel(i,s);if(Le(i))i=Ge.delayedCall(0,i);else return this}return this!==i?vr(this,i,s):this},t.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-tr);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Ge?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},t.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},t.remove=function(i){return Xe(i)?this.removeLabel(i):Le(i)?this.killTweensOf(i):(i.parent===this&&jn(this,i),i===this._recent&&(this._recent=this._last),ai(this))},t.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ne(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]=rr(this,s),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,s,o){var a=Ge.delayedCall(0,s||en,o);return a.data="isPause",this._hasPause=1,vr(this,a,rr(this,i))},t.removePause=function(i){var s=this._first;for(i=rr(this,i);s;)s._start===i&&s.data==="isPause"&&$r(s),s=s._next},t.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)Xr!==a[l]&&a[l].kill(i,s);return this},t.getTweensOf=function(i,s){for(var o=[],a=ir(i),l=this._first,u=Lr(s),c;l;)l instanceof Ge?Tf(l._targets,a)&&(u?(!Xr||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(c=l.getTweensOf(a,s)).length&&o.push.apply(o,c),l=l._next;return o},t.tweenTo=function(i,s){s=s||{};var o=this,a=rr(o,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,p=l.immediateRender,d,g=Ge.to(o,qt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||ve,onStart:function(){if(o.pause(),!d){var m=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());g._dur!==m&&Di(g,m,0,1).render(g._time,!0,!0),d=1}c&&c.apply(g,f||[])}},s));return p?g.render(0):g},t.tweenFromTo=function(i,s,o){return this.tweenTo(s,qt({startAt:{time:rr(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Qa(this,rr(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Qa(this,rr(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ve)},t.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,u;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=i);return ai(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,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),ai(this)},t.totalDuration=function(i){var s=0,o=this,a=o._last,l=tr,u,c,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,vr(o,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(s-=c,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Di(o,o===Ce&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(Ce._ts&&(Ia(Ce,Kn(i,Ce)),Oa=Ht.frame),Ht.frame>=La){La+=Gt.autoSleep||120;var s=Ce._first;if((!s||!s._ts)&&Gt.autoSleep&&Ht._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Ht.sleep()}}},e}(cn);qt(xt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Wf=function(e,t,r,i,s,o,a){var l=new Dt(this._pt,e,t,0,1,pl,null,s),u=0,c=0,f,p,d,g,h,m,_,v;for(l.b=r,l.e=i,r+="",i+="",(_=~i.indexOf("random("))&&(i=sn(i)),o&&(v=[r,i],o(v,e,t),r=v[0],i=v[1]),p=r.match(Xs)||[];f=Xs.exec(i);)g=f[0],h=i.substring(u,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),g!==p[c++]&&(m=parseFloat(p[c-1])||0,l._pt={_next:l._pt,p:h||c===1?h:",",s:m,c:g.charAt(1)==="="?ki(m,g)-m:parseFloat(g)-m,m:d&&d<4?Math.round:0},u=Xs.lastIndex);return l.c=u")}),w.duration();else{P={};for(M in g)M==="ease"||M==="easeEach"||Kf(M,g[M],P,g.easeEach);for(M in P)for(k=P[M].sort(function(F,G){return F.t-G.t}),x=0,T=0;Tl-ve&&!c?l:iu&&(p=u)),_=this._yoyo&&g&1,_&&(w=this._yEase,p=u-p),m=Li(this._tTime,h),p===a&&!o&&this._initted&&g===m)return this._tTime=f,this;g!==m&&(b&&this._yEase&&sl(b,_),this.vars.repeatRefresh&&!_&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(Ne(h*g),!0).invalidate()._lock=0))}if(!this._initted){if(Va(this,c?i:p,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==m))return this;if(u!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(w||this._ease)(p/u),this._from&&(this.ratio=v=1-v),p&&!a&&!s&&!g&&($t(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;b&&b.render(i<0?i:b._dur*b._ease(p/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&ro(this,i,s,o),$t(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!s&&this.parent&&$t(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&ro(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&$r(this,1),!s&&!(c&&!a)&&(f||a||_)&&($t(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f0)&&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,o,a,l){ln||Ht.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||po(this,u),c=this._ease(u/this._dur),Uf(this,i,s,o,a,c,u,l)?this.resetTo(i,s,o,a,1):(Zn(this,0),this.parent||Ba(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?on(this):this.scrollTrigger&&this.scrollTrigger.kill(!!nt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Xr&&Xr.vars.overwrite!==!0)._first||on(this),this.parent&&o!==this.timeline.totalDuration()&&Di(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?ir(i):a,u=this._ptLookup,c=this._pt,f,p,d,g,h,m,_;if((!s||s==="all")&&Af(a,l))return s==="all"&&(this._pt=0),on(this);for(f=this._op=this._op||[],s!=="all"&&(Xe(s)&&(h={},Lt(s,function(v){return h[v]=1}),s=h),s=jf(a,s)),_=a.length;_--;)if(~l.indexOf(a[_])){p=u[_],s==="all"?(f[_]=s,g=p,d={}):(d=f[_]=f[_]||{},g=s);for(h in g)m=p&&p[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&jn(this,m,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&c&&on(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return rn(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return rn(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,o){return Ce.killTweensOf(i,s,o)},e}(cn);qt(Ge.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Lt("staggerTo,staggerFrom,staggerFromTo",function(n){Ge[n]=function(){var e=new xt,t=no.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var ho=function(e,t,r){return e[t]=r},fl=function(e,t,r){return e[t](r)},Qf=function(e,t,r,i){return e[t](i.fp,r)},Zf=function(e,t,r){return e.setAttribute(t,r)},go=function(e,t){return Le(e[t])?fl:$s(e[t])&&e.setAttribute?Zf:ho},dl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Jf=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},pl=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)},mo=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},ed=function(e,t,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,t,r),s=o},td=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?jn(this,t,"_pt"):t.dep||(r=1),t=i;return!r},rd=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},hl=function(e){for(var t=e._pt,r,i,s,o;t;){for(r=t._next,i=s;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:s=t,(t._next=i)?i._prev=t:o=t,t=r}e._pt=s},Dt=function(){function n(t,r,i,s,o,a,l,u,c){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||dl,this.d=l||this,this.set=u||ho,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=rd,this.m=r,this.mt=s,this.tween=i},n}();Lt(eo+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return Qs[n]=1}),Yt.TweenMax=Yt.TweenLite=Ge,Yt.TimelineLite=Yt.TimelineMax=xt,Ce=new xt({sortChildren:!1,defaults:Pi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Gt.stringFilter=il;var ui=[],Jn={},id=[],gl=0,nd=0,_o=function(e){return(Jn[e]||id).map(function(t){return t()})},vo=function(){var e=Date.now(),t=[];e-gl>2&&(_o("matchMediaInit"),ui.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,u;for(a in i)o=_r.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(r.revert(),l&&t.push(r))}),_o("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),gl=e,_o("matchMedia"))},ml=function(){function n(t,r){this.selector=r&&so(r),this.data=[],this._r=[],this.isReverted=!1,this.id=nd++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,s){Le(r)&&(s=i,i=r,r=Le);var o=this,a=function(){var u=Se,c=o.selector,f;return u&&u!==o&&u.data.push(o),s&&(o.selector=so(s)),Se=o,f=i.apply(o,arguments),Le(f)&&o._r.push(f),Se=u,o.selector=c,o.isReverted=!1,f};return o.last=a,r===Le?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var i=Se;Se=null,r(this),Se=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof Ge&&!(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 a=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.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 xt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Ge)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=ui.length;o--;)ui[o].id===this.id&&ui.splice(o,1)},e.revert=function(r){this.kill(r||{})},n}(),sd=function(){function n(t){this.contexts=[],this.scope=t,Se&&Se.data.push(this)}var e=n.prototype;return e.add=function(r,i,s){mr(r)||(r={matches:r});var o=new ml(0,s||this.scope),a=o.conditions={},l,u,c;Se&&!o.selector&&(o.selector=Se.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(u in r)u==="all"?c=1:(l=_r.matchMedia(r[u]),l&&(ui.indexOf(o)<0&&ui.push(o),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(vo):l.addEventListener("change",vo)));return c&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n}(),es={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r1){var i=e.map(function(c){return It.quickSetter(c,t,r)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var o=Vt[t],a=oi(e),l=a.harness&&(a.harness.aliases||{})[t]||t,u=o?function(c){var f=new o;Ii._pt=0,f.init(e,r?c+r:c,Ii,0,[e]),f.render(1,f),Ii._pt&&mo(1,Ii)}:a.set(e,l);return o?u:function(c){return u(e,l,r?c+r:c,a,1)}},quickTo:function(e,t,r){var i,s=It.to(e,qt((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,u,c){return s.resetTo(t,l,u,c)};return o.tween=s,o},isTweening:function(e){return Ce.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=li(e.ease,Pi.ease)),Fa(Pi,e||{})},config:function(e){return Fa(Gt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!Vt[a]&&!Yt[a]&&Ji(t+" effect requires "+a+" plugin.")}),Js[t]=function(a,l,u){return r(ir(a),qt(l||{},s),u)},o&&(xt.prototype[t]=function(a,l,u){return this.add(Js[t](a,mr(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){ce[e]=li(t)},parseEase:function(e,t){return arguments.length?li(e,t):ce},getById:function(e){return Ce.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new xt(e),i,s;for(r.smoothChildTiming=Ot(e.smoothChildTiming),Ce.remove(r),r._dp=0,r._time=r._tTime=Ce._time,i=Ce._first;i;)s=i._next,(t||!(!i._dur&&i instanceof Ge&&i.vars.onComplete===i._targets[0]))&&vr(r,i,i._start-i._delay),i=s;return vr(Ce,r,0),r},context:function(e,t){return e?new ml(e,t):Se},matchMedia:function(e){return new sd(e)},matchMediaRefresh:function(){return ui.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||vo()},addEventListener:function(e,t){var r=Jn[e]||(Jn[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Jn[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:Ff,wrapYoyo:Bf,distribute:Wa,random:Ua,snap:Xa,normalize:Rf,getUnit:ft,clamp:Lf,splitColor:el,toArray:ir,selector:so,mapRange:Ka,pipe:If,unitize:zf,interpolate:Nf,shuffle:Ha},install:Ma,effects:Js,ticker:Ht,updateRoot:xt.updateRoot,plugins:Vt,globalTimeline:Ce,core:{PropTween:Dt,globals:ka,Tween:Ge,Timeline:xt,Animation:cn,getCache:oi,_removeLinkedListItem:jn,reverting:function(){return nt},context:function(e){return e&&Se&&(Se.data.push(e),e._ctx=Se),Se},suppressOverwrites:function(e){return Vs=e}}};Lt("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return es[n]=Ge[n]}),Ht.add(xt.updateRoot),Ii=es.to({},{duration:0});var od=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},ad=function(e,t){var r=e._targets,i,s,o;for(i in t)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=od(o,i)),o&&o.modifier&&o.modifier(t[i],e,r[s],i))},wo=function(e,t){return{name:e,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,u;if(Xe(s)&&(l={},Lt(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}ad(a,s)}}}},It=es.registerPlugin({name:"attr",init:function(e,t,r,i,s){var o,a,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",t[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)nt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},wo("roundProps",oo),wo("modifiers"),wo("snap",Xa))||es;Ge.version=xt.version=It.version="3.12.7",Pa=1,Hs()&&zi(),ce.Power0,ce.Power1,ce.Power2,ce.Power3,ce.Power4,ce.Linear,ce.Quad,ce.Cubic,ce.Quart,ce.Quint,ce.Strong,ce.Elastic,ce.Back,ce.SteppedEase,ce.Bounce,ce.Sine,ce.Expo,ce.Circ;/*! * CSSPlugin 3.12.7 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var _l,Ur,Ri,yo,fi,vl,bo,ld=function(){return typeof window!="undefined"},Dr={},di=180/Math.PI,Fi=Math.PI/180,Bi=Math.atan2,wl=1e8,xo=/([A-Z])/g,cd=/(left|right|width|margin|padding|x)/i,ud=/[\s,\(]\S/,wr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},To=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},fd=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)},dd=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)},pd=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},bl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},hd=function(e,t,r){return e.style[t]=r},gd=function(e,t,r){return e.style.setProperty(t,r)},md=function(e,t,r){return e._gsap[t]=r},_d=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},vd=function(e,t,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},wd=function(e,t,r,i,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},Pe="transform",zt=Pe+"Origin",yd=function n(e,t){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in Dr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=wr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Ir(i,a)}):this.tfm[e]=o.x?o[e]:Ir(i,e),e===zt&&(this.tfm.zOrigin=o.zOrigin);else return wr.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(Pe)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(zt,t,"")),e=Pe}(s||t)&&this.props.push(e,t,s[e])},xl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},bd=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,s,o;for(s=0;s=0?Al[o]:"")+e},Ao=function(){ld()&&window.document&&(_l=window,Ur=_l.document,Ri=Ur.documentElement,fi=So("div")||{style:{}},So("div"),Pe=Ni(Pe),zt=Pe+"Origin",fi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sl=!!Ni("perspective"),bo=It.core.reverting,yo=1)},El=function(e){var t=e.ownerSVGElement,r=So("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),Ri.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),Ri.removeChild(r),s},Cl=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Pl=function(e){var t,r;try{t=e.getBBox()}catch{t=El(e),r=1}return t&&(t.width||t.height)||r||(t=El(e)),t&&!t.width&&!t.x&&!t.y?{x:+Cl(e,["x","cx","x1"])||0,y:+Cl(e,["y","cy","y1"])||0,width:0,height:0}:t},Ml=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Pl(e))},pi=function(e,t){if(t){var r=e.style,i;t in Dr&&t!==zt&&(t=Pe),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(xo,"-$1").toLowerCase())):r.removeAttribute(t)}},jr=function(e,t,r,i,s,o){var a=new Dt(e._pt,t,r,0,1,o?bl:yl);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},kl={deg:1,rad:1,turn:1},xd={grid:1,flex:1},Kr=function n(e,t,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=fi.style,l=cd.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,p=i==="px",d=i==="%",g,h,m,_;if(i===o||!s||kl[i]||kl[o])return s;if(o!=="px"&&!p&&(s=n(e,t,r,"px")),_=e.getCTM&&Ml(e),(d||o==="%")&&(Dr[t]||~t.indexOf("adius")))return g=_?e.getBBox()[l?"width":"height"]:e[c],ze(d?s/g*f:s/100*g);if(a[l?"width":"height"]=f+(p?o:i),h=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,_&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Ur||!h.appendChild)&&(h=Ur.body),m=h._gsap,m&&d&&m.width&&l&&m.time===Ht.time&&!m.uncache)return ze(s/m.width*f);if(d&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=f+i,g=e[c],v?e.style[t]=v:pi(e,t)}else(d||o==="%")&&!xd[yr(h,"display")]&&(a.position=yr(e,"position")),h===e&&(a.position="static"),h.appendChild(fi),g=fi[c],h.removeChild(fi),a.position="absolute";return l&&d&&(m=oi(h),m.time=Ht.time,m.width=h[c]),ze(p?g*s/f:g&&s?f/g*s:0)},Ir=function(e,t,r,i){var s;return yo||Ao(),t in wr&&t!=="transform"&&(t=wr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Dr[t]&&t!=="transform"?(s=dn(e,i),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:rs(yr(e,zt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=ts[t]&&ts[t](e,t,r)||yr(e,t)||Da(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Kr(e,t,s,r)+r:s},Td=function(e,t,r,i){if(!r||r==="none"){var s=Ni(t,e,1),o=s&&yr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=yr(e,"borderTopColor"))}var a=new Dt(this._pt,e.style,t,0,1,pl),l=0,u=0,c,f,p,d,g,h,m,_,v,b,w,T;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(h=e.style[t],e.style[t]=i,i=yr(e,t)||i,h?e.style[t]=h:pi(e,t)),c=[r,i],il(c),r=c[0],i=c[1],p=r.match(Mi)||[],T=i.match(Mi)||[],T.length){for(;f=Mi.exec(i);)m=f[0],v=i.substring(l,f.index),g?g=(g+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(g=1),m!==(h=p[u++]||"")&&(d=parseFloat(h)||0,w=h.substr((d+"").length),m.charAt(1)==="="&&(m=ki(d,m)+w),_=parseFloat(m),b=m.substr((_+"").length),l=Mi.lastIndex-b.length,b||(b=b||Gt.units[t]||w,l===i.length&&(i+=b,a.e+=b)),w!==b&&(d=Kr(e,t,h,b)||0),a._pt={_next:a._pt,p:v||u===1?v:",",s:d,c:_-d,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=l-1;)a=s[u],Dr[a]&&(l=1,a=a==="transformOrigin"?zt:Pe),pi(r,a);l&&(pi(r,Pe),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",dn(r,1),o.uncache=1,xl(i)))}},ts={clearProps:function(e,t,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new Dt(e._pt,t,r,0,0,Ad);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},fn=[1,0,0,1,0,0],Ll={},Dl=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Il=function(e){var t=yr(e,Pe);return Dl(t)?fn:t.substr(7).match(Aa).map(ze)},Eo=function(e,t){var r=e._gsap||oi(e),i=e.style,s=Il(e),o,a,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"?fn:s):(s===fn&&!e.offsetParent&&e!==Ri&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Ri.appendChild(e)),s=Il(e),l?i.display=l:pi(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):Ri.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Co=function(e,t,r,i,s,o){var a=e._gsap,l=s||Eo(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,d=l[0],g=l[1],h=l[2],m=l[3],_=l[4],v=l[5],b=t.split(" "),w=parseFloat(b[0])||0,T=parseFloat(b[1])||0,P,E,M,O;r?l!==fn&&(E=d*m-g*h)&&(M=w*(m/E)+T*(-h/E)+(h*v-m*_)/E,O=w*(-g/E)+T*(d/E)-(d*v-g*_)/E,w=M,T=O):(P=Pl(e),w=P.x+(~b[0].indexOf("%")?w/100*P.width:w),T=P.y+(~(b[1]||b[0]).indexOf("%")?T/100*P.height:T)),i||i!==!1&&a.smooth?(_=w-u,v=T-c,a.xOffset=f+(_*d+v*h)-_,a.yOffset=p+(_*g+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=T,a.smooth=!!i,a.origin=t,a.originIsAbsolute=!!r,e.style[zt]="0px 0px",o&&(jr(o,a,"xOrigin",u,w),jr(o,a,"yOrigin",c,T),jr(o,a,"xOffset",f,a.xOffset),jr(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+T)},dn=function(e,t){var r=e._gsap||new al(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),u=yr(e,zt)||"0",c,f,p,d,g,h,m,_,v,b,w,T,P,E,M,O,S,D,x,k,L,z,F,G,B,V,y,oe,Te,mt,_e,De;return c=f=p=h=m=_=v=b=w=0,d=g=1,r.svg=!!(e.getCTM&&Ml(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Pe]=(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[Pe]!=="none"?l[Pe]:"")),i.scale=i.rotate=i.translate="none"),E=Eo(e,r.svg),r.svg&&(r.uncache?(B=e.getBBox(),u=r.xOrigin-B.x+"px "+(r.yOrigin-B.y)+"px",G=""):G=!t&&e.getAttribute("data-svg-origin"),Co(e,G||u,!!G||r.originIsAbsolute,r.smooth!==!1,E)),T=r.xOrigin||0,P=r.yOrigin||0,E!==fn&&(D=E[0],x=E[1],k=E[2],L=E[3],c=z=E[4],f=F=E[5],E.length===6?(d=Math.sqrt(D*D+x*x),g=Math.sqrt(L*L+k*k),h=D||x?Bi(x,D)*di:0,v=k||L?Bi(k,L)*di+h:0,v&&(g*=Math.abs(Math.cos(v*Fi))),r.svg&&(c-=T-(T*D+P*k),f-=P-(T*x+P*L))):(De=E[6],mt=E[7],y=E[8],oe=E[9],Te=E[10],_e=E[11],c=E[12],f=E[13],p=E[14],M=Bi(De,Te),m=M*di,M&&(O=Math.cos(-M),S=Math.sin(-M),G=z*O+y*S,B=F*O+oe*S,V=De*O+Te*S,y=z*-S+y*O,oe=F*-S+oe*O,Te=De*-S+Te*O,_e=mt*-S+_e*O,z=G,F=B,De=V),M=Bi(-k,Te),_=M*di,M&&(O=Math.cos(-M),S=Math.sin(-M),G=D*O-y*S,B=x*O-oe*S,V=k*O-Te*S,_e=L*S+_e*O,D=G,x=B,k=V),M=Bi(x,D),h=M*di,M&&(O=Math.cos(M),S=Math.sin(M),G=D*O+x*S,B=z*O+F*S,x=x*O-D*S,F=F*O-z*S,D=G,z=B),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,_=180-_),d=ze(Math.sqrt(D*D+x*x+k*k)),g=ze(Math.sqrt(F*F+De*De)),M=Bi(z,F),v=Math.abs(M)>2e-4?M*di:0,w=_e?1/(_e<0?-_e:_e):0),r.svg&&(G=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Dl(yr(e,Pe)),G&&e.setAttribute("transform",G))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,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)+o,r.z=p+o,r.scaleX=ze(d),r.scaleY=ze(g),r.rotation=ze(h)+a,r.rotationX=ze(m)+a,r.rotationY=ze(_)+a,r.skewX=v+a,r.skewY=b+a,r.transformPerspective=w+o,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[zt]=rs(u)),r.xOffset=r.yOffset=0,r.force3D=Gt.force3D,r.renderTransform=r.svg?Cd:Sl?zl:Ed,r.uncache=0,r},rs=function(e){return(e=e.split(" "))[0]+" "+e[1]},Po=function(e,t,r){var i=ft(t);return ze(parseFloat(t)+parseFloat(Kr(e,"x",r+"px",i)))+i},Ed=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,zl(e,t)},hi="0deg",pn="0px",gi=") ",zl=function(e,t){var r=t||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,g=r.scaleX,h=r.scaleY,m=r.transformPerspective,_=r.force3D,v=r.target,b=r.zOrigin,w="",T=_==="auto"&&e&&e!==1||_===!0;if(b&&(f!==hi||c!==hi)){var P=parseFloat(c)*Fi,E=Math.sin(P),M=Math.cos(P),O;P=parseFloat(f)*Fi,O=Math.cos(P),o=Po(v,o,E*O*-b),a=Po(v,a,-Math.sin(P)*-b),l=Po(v,l,M*O*-b+b)}m!==pn&&(w+="perspective("+m+gi),(i||s)&&(w+="translate("+i+"%, "+s+"%) "),(T||o!==pn||a!==pn||l!==pn)&&(w+=l!==pn||T?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+gi),u!==hi&&(w+="rotate("+u+gi),c!==hi&&(w+="rotateY("+c+gi),f!==hi&&(w+="rotateX("+f+gi),(p!==hi||d!==hi)&&(w+="skew("+p+", "+d+gi),(g!==1||h!==1)&&(w+="scale("+g+", "+h+gi),v.style[Pe]=w||"translate(0, 0)"},Cd=function(e,t){var r=t||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,g=r.xOrigin,h=r.yOrigin,m=r.xOffset,_=r.yOffset,v=r.forceCSS,b=parseFloat(o),w=parseFloat(a),T,P,E,M,O;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Fi,u*=Fi,T=Math.cos(l)*f,P=Math.sin(l)*f,E=Math.sin(l-u)*-p,M=Math.cos(l-u)*p,u&&(c*=Fi,O=Math.tan(u-c),O=Math.sqrt(1+O*O),E*=O,M*=O,c&&(O=Math.tan(c),O=Math.sqrt(1+O*O),T*=O,P*=O)),T=ze(T),P=ze(P),E=ze(E),M=ze(M)):(T=f,M=p,P=E=0),(b&&!~(o+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(b=Kr(d,"x",o,"px"),w=Kr(d,"y",a,"px")),(g||h||m||_)&&(b=ze(b+g-(g*T+h*E)+m),w=ze(w+h-(g*P+h*M)+_)),(i||s)&&(O=d.getBBox(),b=ze(b+i/100*O.width),w=ze(w+s/100*O.height)),O="matrix("+T+","+P+","+E+","+M+","+b+","+w+")",d.setAttribute("transform",O),v&&(d.style[Pe]=O)},Pd=function(e,t,r,i,s){var o=360,a=Xe(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?di:1),u=l-i,c=i+u+"deg",f,p;return a&&(f=s.split("_")[1],f==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),f==="cw"&&u<0?u=(u+o*wl)%o-~~(u/o)*o:f==="ccw"&&u>0&&(u=(u-o*wl)%o-~~(u/o)*o)),e._pt=p=new Dt(e._pt,t,r,i,u,fd),p.e=c,p.u="deg",e._props.push(r),p},Rl=function(e,t){for(var r in t)e[r]=t[r];return e},Md=function(e,t,r){var i=Rl({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,u,c,f,p,d,g;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[Pe]=t,a=dn(r,1),pi(r,Pe),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Pe],o[Pe]=t,a=dn(r,1),o[Pe]=u);for(l in Dr)u=i[l],c=a[l],u!==c&&s.indexOf(l)<0&&(d=ft(u),g=ft(c),f=d!==g?Kr(r,l,u,g):parseFloat(u),p=parseFloat(c),e._pt=new Dt(e._pt,a,l,f,p-f,To),e._pt.u=g||0,e._props.push(l));Rl(a,i)};Lt("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",s="Left",o=(e<3?[t,r,i,s]:[t+s,t+r,i+r,i+s]).map(function(a){return e<2?n+a:"border"+a+n});ts[e>1?"border"+n:n]=function(a,l,u,c,f){var p,d;if(arguments.length<4)return p=o.map(function(g){return Ir(a,g,u)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(c+"").split(" "),d={},o.forEach(function(g,h){return d[g]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(l,d,f)}});var Fl={name:"css",register:Ao,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,u,c,f,p,d,g,h,m,_,v,b,w,T,P,E,M;yo||Ao(),this.styles=this.styles||Tl(e),M=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Vt[h]&&ll(h,t,r,i,e,s)))){if(d=typeof c,g=ts[h],d==="function"&&(c=c.call(r,i,e,s),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=sn(c)),g)g(this,e,h,c,r)&&(E=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",Wr.lastIndex=0,Wr.test(u)||(m=ft(u),_=ft(c)),_?m!==_&&(u=Kr(e,h,u,_)+_):m&&(c+=m),this.add(a,"setProperty",u,c,i,s,0,0,h),o.push(h),M.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(r,i,e,s):l[h],Xe(u)&&~u.indexOf("random(")&&(u=sn(u)),ft(u+"")||u==="auto"||(u+=Gt.units[h]||ft(Ir(e,h))||""),(u+"").charAt(1)==="="&&(u=Ir(e,h))):u=Ir(e,h),p=parseFloat(u),v=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),f=parseFloat(c),h in wr&&(h==="autoAlpha"&&(p===1&&Ir(e,"visibility")==="hidden"&&f&&(p=0),M.push("visibility",0,a.visibility),jr(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=wr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),b=h in Dr,b){if(this.styles.save(h),w||(T=e._gsap,T.renderTransform&&!t.parseTransform||dn(e,t.parseTransform),P=t.smoothOrigin!==!1&&T.smooth,w=this._pt=new Dt(this._pt,a,Pe,0,1,T.renderTransform,T,0,-1),w.dep=1),h==="scale")this._pt=new Dt(this._pt,T,"scaleY",T.scaleY,(v?ki(T.scaleY,v+f):f)-T.scaleY||0,To),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){M.push(zt,0,a[zt]),c=Sd(c),T.svg?Co(e,c,0,P,0,this):(_=parseFloat(c.split(" ")[2])||0,_!==T.zOrigin&&jr(this,T,"zOrigin",T.zOrigin,_),jr(this,a,h,rs(u),rs(c)));continue}else if(h==="svgOrigin"){Co(e,c,1,P,0,this);continue}else if(h in Ll){Pd(this,T,h,p,v?ki(p,v+c):c);continue}else if(h==="smoothOrigin"){jr(this,T,"smooth",T.smooth,c);continue}else if(h==="force3D"){T[h]=c;continue}else if(h==="transform"){Md(this,c,e);continue}}else h in a||(h=Ni(h)||h);if(b||(f||f===0)&&(p||p===0)&&!ud.test(c)&&h in a)m=(u+"").substr((p+"").length),f||(f=0),_=ft(c)||(h in Gt.units?Gt.units[h]:m),m!==_&&(p=Kr(e,h,u,_)),this._pt=new Dt(this._pt,b?T:a,h,p,(v?ki(p,v+f):f)-p,!b&&(_==="px"||h==="zIndex")&&t.autoRound!==!1?pd:To),this._pt.u=_||0,m!==_&&_!=="%"&&(this._pt.b=u,this._pt.r=dd);else if(h in a)Td.call(this,e,h,u,v?v+c:c);else if(h in e)this.add(e,h,u||e[h],v?v+c:c,i,s);else if(h!=="parseTransform"){Ks(h,c);continue}b||(h in a?M.push(h,0,a[h]):typeof e[h]=="function"?M.push(h,2,e[h]()):M.push(h,1,u||e[h])),o.push(h)}}E&&hl(this)},render:function(e,t){if(t.tween._time||!bo())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Ir,aliases:wr,getSetter:function(e,t,r){var i=wr[t];return i&&i.indexOf(",")<0&&(t=i),t in Dr&&t!==zt&&(e._gsap.x||Ir(e,"x"))?r&&vl===r?t==="scale"?_d:md:(vl=r||{})&&(t==="scale"?vd:wd):e.style&&!$s(e.style[t])?hd:~t.indexOf("-")?gd:go(e,t)},core:{_removeProperty:pi,_getMatrix:Eo}};It.utils.checkPrefix=Ni,It.core.getStyleSaver=Tl,function(n,e,t,r){var i=Lt(n+","+e+","+t,function(s){Dr[s]=1});Lt(e,function(s){Gt.units[s]="deg",Ll[s]=1}),wr[i[13]]=n+","+e,Lt(r,function(s){var o=s.split(":");wr[o[1]]=i[o[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"),Lt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Gt.units[n]="px"}),It.registerPlugin(Fl);var br=It.registerPlugin(Fl)||It;br.core.Tween;function Bl(n,e){for(var t=0;tl?(s=i,i=g,a=o,o=m):r?i+=g:i=s+(g-s)/(m-a)*(o-a)},f=function(){s=i=r?0:i,a=o=0},p=function(g){var h=a,m=s,_=gn();return(g||g===0)&&g!==i&&c(g),o===a||_-a>u?0:(i+(r?m:-m))/((r?_:o)-h)*1e3};return{update:c,reset:f,getVelocity:p}},_n=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},$l=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Hl=function(){hn=st.core.globals().ScrollTrigger,hn&&hn.core&&Od()},Wl=function(e){return st=e||Vl(),!is&&st&&typeof document!="undefined"&&document.body&&(Wt=window,Qr=document,Zr=Qr.documentElement,Gi=Qr.body,Gl=[Wt,Qr,Zr,Gi],st.utils.clamp,Yl=st.core.context||function(){},mi="onpointerenter"in Gi?"pointer":"mouse",Nl=Re.isTouch=Wt.matchMedia&&Wt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Wt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,lr=Re.eventTypes=("ontouchstart"in Zr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Zr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return ql=0},500),Hl(),is=1),is};At.op=qe,ne.cache=0;var Re=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(r){is||Wl(st)||console.warn("Please gsap.registerPlugin(Observer)"),hn||Hl();var i=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,l=r.lineHeight,u=r.debounce,c=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,g=r.wheelSpeed,h=r.event,m=r.onDragStart,_=r.onDragEnd,v=r.onDrag,b=r.onPress,w=r.onRelease,T=r.onRight,P=r.onLeft,E=r.onUp,M=r.onDown,O=r.onChangeX,S=r.onChangeY,D=r.onChange,x=r.onToggleX,k=r.onToggleY,L=r.onHover,z=r.onHoverEnd,F=r.onMove,G=r.ignoreCheck,B=r.isNormalizer,V=r.onGestureStart,y=r.onGestureEnd,oe=r.onWheel,Te=r.onEnable,mt=r.onDisable,_e=r.onClick,De=r.scrollSpeed,Ke=r.capture,Me=r.allowClicks,Qe=r.lockAxis,Ze=r.onLockAxis;this.target=a=Rt(a)||Zr,this.vars=r,d&&(d=st.utils.toArray(d)),i=i||1e-9,s=s||0,g=g||1,De=De||1,o=o||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Wt.getComputedStyle(Gi).lineHeight)||22);var cr,Je,et,ue,ke,ot,kt,C=this,_t=0,R=0,A=r.passive||!c&&r.passive!==!1,I=ei(a,At),H=ei(a,qe),U=I(),Z=H(),ae=~o.indexOf("touch")&&!~o.indexOf("pointer")&&lr[0]==="pointerdown",Fe=mn(a),re=a.ownerDocument||Qr,xe=[0,0,0],de=[0,0,0],le=0,He=function(){return le=gn()},q=function(X,pe){return(C.event=X)&&d&&~d.indexOf(X.target)||pe&&ae&&X.pointerType!=="touch"||G&&G(X,pe)},si=function(){C._vx.reset(),C._vy.reset(),Je.pause(),f&&f(C)},Ft=function(){var X=C.deltaX=$l(xe),pe=C.deltaY=$l(de),N=Math.abs(X)>=i,J=Math.abs(pe)>=i;D&&(N||J)&&D(C,X,pe,xe,de),N&&(T&&C.deltaX>0&&T(C),P&&C.deltaX<0&&P(C),O&&O(C),x&&C.deltaX<0!=_t<0&&x(C),_t=C.deltaX,xe[0]=xe[1]=xe[2]=0),J&&(M&&C.deltaY>0&&M(C),E&&C.deltaY<0&&E(C),S&&S(C),k&&C.deltaY<0!=R<0&&k(C),R=C.deltaY,de[0]=de[1]=de[2]=0),(ue||et)&&(F&&F(C),et&&(m&&et===1&&m(C),v&&v(C),et=0),ue=!1),ot&&!(ot=!1)&&Ze&&Ze(C),ke&&(oe(C),ke=!1),cr=0},Kt=function(X,pe,N){xe[N]+=X,de[N]+=pe,C._vx.update(X),C._vy.update(pe),u?cr||(cr=requestAnimationFrame(Ft)):Ft()},Gr=function(X,pe){Qe&&!kt&&(C.axis=kt=Math.abs(X)>Math.abs(pe)?"x":"y",ot=!0),kt!=="y"&&(xe[2]+=X,C._vx.update(X,!0)),kt!=="x"&&(de[2]+=pe,C._vy.update(pe,!0)),u?cr||(cr=requestAnimationFrame(Ft)):Ft()},ar=function(X){if(!q(X,1)){X=_n(X,c);var pe=X.clientX,N=X.clientY,J=pe-C.x,W=N-C.y,ee=C.isDragging;C.x=pe,C.y=N,(ee||(J||W)&&(Math.abs(C.startX-pe)>=s||Math.abs(C.startY-N)>=s))&&(et=ee?2:1,ee||(C.isDragging=!0),Gr(J,W))}},ur=C.onPress=function(j){q(j,1)||j&&j.button||(C.axis=kt=null,Je.pause(),C.isPressed=!0,j=_n(j),_t=R=0,C.startX=C.x=j.clientX,C.startY=C.y=j.clientY,C._vx.reset(),C._vy.reset(),Tt(B?a:re,lr[1],ar,A,!0),C.deltaX=C.deltaY=0,b&&b(C))},Q=C.onRelease=function(j){if(!q(j,1)){St(B?a:re,lr[1],ar,!0);var X=!isNaN(C.y-C.startY),pe=C.isDragging,N=pe&&(Math.abs(C.x-C.startX)>3||Math.abs(C.y-C.startY)>3),J=_n(j);!N&&X&&(C._vx.reset(),C._vy.reset(),c&&Me&&st.delayedCall(.08,function(){if(gn()-le>300&&!j.defaultPrevented){if(j.target.click)j.target.click();else if(re.createEvent){var W=re.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Wt,1,J.screenX,J.screenY,J.clientX,J.clientY,!1,!1,!1,!1,0,null),j.target.dispatchEvent(W)}}})),C.isDragging=C.isGesturing=C.isPressed=!1,f&&pe&&!B&&Je.restart(!0),et&&Ft(),_&&pe&&_(C),w&&w(C,N)}},Cr=function(X){return X.touches&&X.touches.length>1&&(C.isGesturing=!0)&&V(X,C.isDragging)},tt=function(){return(C.isGesturing=!1)||y(C)},me=function(X){if(!q(X)){var pe=I(),N=H();Kt((pe-U)*De,(N-Z)*De,1),U=pe,Z=N,f&&Je.restart(!0)}},Ae=function(X){if(!q(X)){X=_n(X,c),oe&&(ke=!0);var pe=(X.deltaMode===1?l:X.deltaMode===2?Wt.innerHeight:1)*g;Kt(X.deltaX*pe,X.deltaY*pe,0),f&&!B&&Je.restart(!0)}},Qt=function(X){if(!q(X)){var pe=X.clientX,N=X.clientY,J=pe-C.x,W=N-C.y;C.x=pe,C.y=N,ue=!0,f&&Je.restart(!0),(J||W)&&Gr(J,W)}},fr=function(X){C.event=X,L(C)},Ve=function(X){C.event=X,z(C)},dr=function(X){return q(X)||_n(X,c)&&_e(C)};Je=C._dc=st.delayedCall(p||.25,si).pause(),C.deltaX=C.deltaY=0,C._vx=Oo(0,50,!0),C._vy=Oo(0,50,!0),C.scrollX=I,C.scrollY=H,C.isDragging=C.isGesturing=C.isPressed=!1,Yl(this),C.enable=function(j){return C.isEnabled||(Tt(Fe?re:a,"scroll",ko),o.indexOf("scroll")>=0&&Tt(Fe?re:a,"scroll",me,A,Ke),o.indexOf("wheel")>=0&&Tt(a,"wheel",Ae,A,Ke),(o.indexOf("touch")>=0&&Nl||o.indexOf("pointer")>=0)&&(Tt(a,lr[0],ur,A,Ke),Tt(re,lr[2],Q),Tt(re,lr[3],Q),Me&&Tt(a,"click",He,!0,!0),_e&&Tt(a,"click",dr),V&&Tt(re,"gesturestart",Cr),y&&Tt(re,"gestureend",tt),L&&Tt(a,mi+"enter",fr),z&&Tt(a,mi+"leave",Ve),F&&Tt(a,mi+"move",Qt)),C.isEnabled=!0,C.isDragging=C.isGesturing=C.isPressed=ue=et=!1,C._vx.reset(),C._vy.reset(),U=I(),Z=H(),j&&j.type&&ur(j),Te&&Te(C)),C},C.disable=function(){C.isEnabled&&(Yi.filter(function(j){return j!==C&&mn(j.target)}).length||St(Fe?re:a,"scroll",ko),C.isPressed&&(C._vx.reset(),C._vy.reset(),St(B?a:re,lr[1],ar,!0)),St(Fe?re:a,"scroll",me,Ke),St(a,"wheel",Ae,Ke),St(a,lr[0],ur,Ke),St(re,lr[2],Q),St(re,lr[3],Q),St(a,"click",He,!0),St(a,"click",dr),St(re,"gesturestart",Cr),St(re,"gestureend",tt),St(a,mi+"enter",fr),St(a,mi+"leave",Ve),St(a,mi+"move",Qt),C.isEnabled=C.isPressed=C.isDragging=!1,mt&&mt(C))},C.kill=C.revert=function(){C.disable();var j=Yi.indexOf(C);j>=0&&Yi.splice(j,1),zr===C&&(zr=0)},Yi.push(C),B&&mn(a)&&(zr=C),C.enable(h)},kd(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();Re.version="3.12.7",Re.create=function(n){return new Re(n)},Re.register=Wl,Re.getAll=function(){return Yi.slice()},Re.getById=function(n){return Yi.filter(function(e){return e.vars.id===n})[0]},Vl()&&st.registerPlugin(Re);/*! * ScrollTrigger 3.12.7 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Y,Vi,se,be,Xt,he,Lo,as,vn,wn,yn,ls,dt,cs,Do,Et,Xl,Ul,qi,jl,Io,Kl,Ct,zo,Ql,Zl,ti,Ro,Fo,$i,Bo,us,No,Go,fs=1,pt=Date.now,Yo=pt(),nr=0,bn=0,Jl=function(e,t,r){var i=Ut(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},ec=function(e,t){return t&&(!Ut(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Ld=function n(){return bn&&requestAnimationFrame(n)},tc=function(){return cs=1},rc=function(){return cs=0},Tr=function(e){return e},xn=function(e){return Math.round(e*1e5)/1e5||0},ic=function(){return typeof window!="undefined"},nc=function(){return Y||ic()&&(Y=window.gsap)&&Y.registerPlugin&&Y},_i=function(e){return!!~Lo.indexOf(e)},sc=function(e){return(e==="Height"?Bo:se["inner"+e])||Xt["client"+e]||he["client"+e]},oc=function(e){return Jr(e,"getBoundingClientRect")||(_i(e)?function(){return Ss.width=se.innerWidth,Ss.height=Bo,Ss}:function(){return Rr(e)})},Dd=function(e,t,r){var i=r.d,s=r.d2,o=r.a;return(o=Jr(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(t?sc(s):e["client"+s])||0}},Id=function(e,t){return!t||~xr.indexOf(e)?oc(e):function(){return Ss}},Sr=function(e,t){var r=t.s,i=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+i)&&(o=Jr(e,r))?o()-oc(e)()[s]:_i(e)?(Xt[r]||he[r])-sc(i):e[r]-e["offset"+i])},ds=function(e,t){for(var r=0;r0){for(i-=o,a=0;a=i)return r[a];return r[a-1]}else for(a=r.length,i+=o;a--;)if(r[a]<=i)return r[a];return r[0]}:function(i,s,o){o===void 0&&(o=.001);var a=t(i);return!s||Math.abs(a-i)r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in _s?_s[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ws=function(e,t,r,i,s,o,a,l){var u=s.startColor,c=s.endColor,f=s.fontSize,p=s.indent,d=s.fontWeight,g=be.createElement("div"),h=_i(r)||Jr(r,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,_=h?he:r,v=e.indexOf("start")!==-1,b=v?u:c,w="border-color:"+b+";font-size:"+f+";color:"+b+";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 w+="position:"+((m||l)&&h?"fixed;":"absolute;"),(m||l||!h)&&(w+=(i===qe?qo:$o)+":"+(o+parseFloat(p))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=v,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=w,g.innerText=t||t===0?e+"-"+t:e,_.children[0]?_.insertBefore(g,_.children[0]):_.appendChild(g),g._offset=g["offset"+i.op.d2],ys(g,0,i,v),g},ys=function(e,t,r,i){var s={display:"block"},o=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,s[r.a+"Percent"]=i?-100:0,s[r.a]=i?"1px":0,s["border"+o+Wi]=1,s["border"+a+Wi]=0,s[r.p]=t+"px",Y.set(e,s)},ie=[],Xo={},Mn,dc=function(){return pt()-nr>34&&(Mn||(Mn=requestAnimationFrame(Fr)))},Xi=function(){(!Ct||!Ct.isPressed||Ct.startX>he.clientWidth)&&(ne.cache++,Ct?Mn||(Mn=requestAnimationFrame(Fr)):Fr(),nr||xi("scrollStart"),nr=pt())},Uo=function(){Zl=se.innerWidth,Ql=se.innerHeight},kn=function(e){ne.cache++,(e===!0||!dt&&!Kl&&!be.fullscreenElement&&!be.webkitFullscreenElement&&(!zo||Zl!==se.innerWidth||Math.abs(se.innerHeight-Ql)>se.innerHeight*.25))&&as.restart(!0)},bi={},Bd=[],pc=function n(){return je(K,"scrollEnd",n)||Si(!0)},xi=function(e){return bi[e]&&bi[e].map(function(t){return t()})||Bd},jt=[],hc=function(e){for(var t=0;ts,a=i._startClamp&&i.start>=s;(o||a)&&i.setPositions(a?s-1:i.start,o?Math.max(a?s:i.start+1,s):i.end,!0)}),vc(!1),No=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),ne.forEach(function(i){ht(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),gc(Fo,1),as.pause(),Ti++,Pt=2,Fr(2),ie.forEach(function(i){return ht(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Pt=K.isRefreshing=!1,xi("refresh")},Ko=0,bs=1,On,Fr=function(e){if(e===2||!Pt&&!us){K.isUpdating=!0,On&&On.update(0);var t=ie.length,r=pt(),i=r-Yo>=50,s=t&&ie[0].scroll();if(bs=Ko>s?-1:1,Pt||(Ko=s),i&&(nr&&!cs&&r-nr>200&&(nr=0,xi("scrollEnd")),yn=Yo,Yo=r),bs<0){for(Et=t;Et-- >0;)ie[Et]&&ie[Et].update(0,i);bs=1}else for(Et=0;Et20),r-=r-P}if(g&&(l[g]=e||-.001,e<0&&(e=0)),o){var M=e+r,O=o._isStart;m="scroll"+i.d2,ys(o,M,i,O&&M>20||!O&&(f?Math.max(he[m],Xt[m]):o.parentNode[m])<=M+1),f&&(u=Rr(a),f&&(o.style[i.op.p]=u[i.op.p]-i.op.m-o._offset+$e))}return d&&v&&(m=Rr(v),d.seek(p),_=Rr(v),d._caScrollDist=m[i.p]-_[i.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},qd=/(webkit|moz|length|cssText|inset)/i,yc=function(e,t,r,i){if(e.parentNode!==t){var s=e.style,o,a;if(t===he){e._stOrig=s.cssText,a=or(e);for(o in a)!+o&&!qd.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=i}else s.cssText=e._stOrig;Y.core.getCache(e).uncache=1,t.appendChild(e)}},bc=function(e,t,r){var i=t,s=i;return function(o){var a=Math.round(e());return a!==i&&a!==s&&Math.abs(a-i)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=i,i=Math.round(o),i}},As=function(e,t,r){var i={};i[t.p]="+="+r,Y.set(e,i)},xc=function(e,t){var r=ei(e,t),i="_scroll"+t.p2,s=function o(a,l,u,c,f){var p=o.tween,d=l.onComplete,g={};u=u||r();var h=bc(r,u,function(){p.kill(),o.tween=0});return f=c&&f||0,c=c||a-u,p&&p.kill(),l[i]=a,l.inherit=!1,l.modifiers=g,g[i]=function(){return h(u+c*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){ne.cache++,o.tween&&Fr()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=Y.to(e,l),p};return e[i]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Ue(e,"wheel",r.wheelHandler),K.isTouch&&Ue(e,"touchmove",r.wheelHandler),s},K=function(){function n(t,r){Vi||n.register(Y)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ro(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),!bn){this.update=this.refresh=this.kill=Tr;return}r=cc(Ut(r)||Tn(r)||r.nodeType?{trigger:r}:r,ms);var s=r,o=s.onUpdate,a=s.toggleClass,l=s.id,u=s.onToggle,c=s.onRefresh,f=s.scrub,p=s.trigger,d=s.pin,g=s.pinSpacing,h=s.invalidateOnRefresh,m=s.anticipatePin,_=s.onScrubComplete,v=s.onSnapComplete,b=s.once,w=s.snap,T=s.pinReparent,P=s.pinSpacer,E=s.containerAnimation,M=s.fastScrollEnd,O=s.preventOverlaps,S=r.horizontal||r.containerAnimation&&r.horizontal!==!1?At:qe,D=!f&&f!==0,x=Rt(r.scroller||se),k=Y.core.getCache(x),L=_i(x),z=("pinType"in r?r.pinType:Jr(x,"pinType")||L&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],G=D&&r.toggleActions.split(" "),B="markers"in r?r.markers:ms.markers,V=L?0:parseFloat(or(x)["border"+S.p2+Wi])||0,y=this,oe=r.onRefreshInit&&function(){return r.onRefreshInit(y)},Te=Dd(x,L,S),mt=Id(x,L),_e=0,De=0,Ke=0,Me=ei(x,S),Qe,Ze,cr,Je,et,ue,ke,ot,kt,C,_t,R,A,I,H,U,Z,ae,Fe,re,xe,de,le,He,q,si,Ft,Kt,Gr,ar,ur,Q,Cr,tt,me,Ae,Qt,fr,Ve;if(y._startClamp=y._endClamp=!1,y._dir=S,m*=45,y.scroller=x,y.scroll=E?E.time.bind(E):Me,Je=Me(),y.vars=r,i=i||r.animation,"refreshPriority"in r&&(jl=1,r.refreshPriority===-9999&&(On=y)),k.tweenScroll=k.tweenScroll||{top:xc(x,qe),left:xc(x,At)},y.tweenTo=Qe=k.tweenScroll[S.p],y.scrubDuration=function(N){Cr=Tn(N)&&N,Cr?Q?Q.duration(N):Q=Y.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Cr,paused:!0,onComplete:function(){return _&&_(y)}}):(Q&&Q.progress(1).kill(),Q=0)},i&&(i.vars.lazy=!1,i._initted&&!y.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),y.animation=i.pause(),i.scrollTrigger=y,y.scrubDuration(f),ar=0,l||(l=i.vars.id)),w&&((!vi(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in he.style&&Y.set(L?[he,Xt]:x,{scrollBehavior:"auto"}),ne.forEach(function(N){return ht(N)&&N.target===(L?be.scrollingElement||Xt:x)&&(N.smooth=!1)}),cr=ht(w.snapTo)?w.snapTo:w.snapTo==="labels"?Rd(i):w.snapTo==="labelsDirectional"?Fd(i):w.directional!==!1?function(N,J){return Wo(w.snapTo)(N,pt()-De<500?0:J.direction)}:Y.utils.snap(w.snapTo),tt=w.duration||{min:.1,max:2},tt=vi(tt)?wn(tt.min,tt.max):wn(tt,tt),me=Y.delayedCall(w.delay||Cr/2||.1,function(){var N=Me(),J=pt()-De<500,W=Qe.tween;if((J||Math.abs(y.getVelocity())<10)&&!W&&!cs&&_e!==N){var ee=(N-ue)/I,rt=i&&!D?i.totalProgress():ee,fe=J?0:(rt-ur)/(pt()-yn)*1e3||0,Be=Y.utils.clamp(-ee,1-ee,Hi(fe/2)*fe/.185),vt=ee+(w.inertia===!1?0:Be),Ie,Ee,ye=w,pr=ye.onStart,Oe=ye.onInterrupt,Zt=ye.onComplete;if(Ie=cr(vt,y),Tn(Ie)||(Ie=vt),Ee=Math.max(0,Math.round(ue+Ie*I)),N<=ke&&N>=ue&&Ee!==N){if(W&&!W._initted&&W.data<=Hi(Ee-N))return;w.inertia===!1&&(Be=Ie-ee),Qe(Ee,{duration:tt(Hi(Math.max(Hi(vt-rt),Hi(Ie-rt))*.185/fe/.05||0)),ease:w.ease||"power3",data:Hi(Ee-N),onInterrupt:function(){return me.restart(!0)&&Oe&&Oe(y)},onComplete:function(){y.update(),_e=Me(),i&&!D&&(Q?Q.resetTo("totalProgress",Ie,i._tTime/i._tDur):i.progress(Ie)),ar=ur=i&&!D?i.totalProgress():y.progress,v&&v(y),Zt&&Zt(y)}},N,Be*I,Ee-N-Be*I),pr&&pr(y,Qe.tween)}}else y.isActive&&_e!==N&&me.restart(!0)}).pause()),l&&(Xo[l]=y),p=y.trigger=Rt(p||d!==!0&&d),Ve=p&&p._gsap&&p._gsap.stRevert,Ve&&(Ve=Ve(y)),d=d===!0?p:Rt(d),Ut(a)&&(a={targets:p,className:a}),d&&(g===!1||g===sr||(g=!g&&d.parentNode&&d.parentNode.style&&or(d.parentNode).display==="flex"?!1:Ye),y.pin=d,Ze=Y.core.getCache(d),Ze.spacer?H=Ze.pinState:(P&&(P=Rt(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Ze.spacerIsNative=!!P,P&&(Ze.spacerState=Ts(P))),Ze.spacer=ae=P||be.createElement("div"),ae.classList.add("pin-spacer"),l&&ae.classList.add("pin-spacer-"+l),Ze.pinState=H=Ts(d)),r.force3D!==!1&&Y.set(d,{force3D:!0}),y.spacer=ae=Ze.spacer,Gr=or(d),He=Gr[g+S.os2],re=Y.getProperty(d),xe=Y.quickSetter(d,S.a,$e),Zo(d,ae,Gr),Z=Ts(d)),B){R=vi(B)?cc(B,fc):fc,C=ws("scroller-start",l,x,S,R,0),_t=ws("scroller-end",l,x,S,R,0,C),Fe=C["offset"+S.op.d2];var dr=Rt(Jr(x,"content")||x);ot=this.markerStart=ws("start",l,dr,S,R,Fe,0,E),kt=this.markerEnd=ws("end",l,dr,S,R,Fe,0,E),E&&(fr=Y.quickSetter([ot,kt],S.a,$e)),!z&&!(xr.length&&Jr(x,"fixedMarkers")===!0)&&(zd(L?he:x),Y.set([C,_t],{force3D:!0}),si=Y.quickSetter(C,S.a,$e),Kt=Y.quickSetter(_t,S.a,$e))}if(E){var j=E.vars.onUpdate,X=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){y.update(0,0,1),j&&j.apply(E,X||[])})}if(y.previous=function(){return ie[ie.indexOf(y)-1]},y.next=function(){return ie[ie.indexOf(y)+1]},y.revert=function(N,J){if(!J)return y.kill(!0);var W=N!==!1||!y.enabled,ee=dt;W!==y.isReverted&&(W&&(Ae=Math.max(Me(),y.scroll.rec||0),Ke=y.progress,Qt=i&&i.progress()),ot&&[ot,kt,C,_t].forEach(function(rt){return rt.style.display=W?"none":"block"}),W&&(dt=y,y.update(W)),d&&(!T||!y.isActive)&&(W?Gd(d,ae,H):Zo(d,ae,or(d),q)),W||y.update(W),dt=ee,y.isReverted=W)},y.refresh=function(N,J,W,ee){if(!((dt||!y.enabled)&&!J)){if(d&&N&&nr){Ue(n,"scrollEnd",pc);return}!Pt&&oe&&oe(y),dt=y,Qe.tween&&!W&&(Qe.tween.kill(),Qe.tween=0),Q&&Q.pause(),h&&i&&i.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var rt=Te(),fe=mt(),Be=E?E.duration():Sr(x,S),vt=I<=.01,Ie=0,Ee=ee||0,ye=vi(W)?W.end:r.end,pr=r.endTrigger||p,Oe=vi(W)?W.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),Zt=y.pinnedContainer=r.pinnedContainer&&Rt(r.pinnedContainer,y),Pr=p&&Math.max(0,ie.indexOf(y))||0,at=Pr,lt,wt,Ci,ks,yt,We,Mr,ta,qc,zn,kr,Rn,Os;for(B&&vi(W)&&(Rn=Y.getProperty(C,S.p),Os=Y.getProperty(_t,S.p));at-- >0;)We=ie[at],We.end||We.refresh(0,1)||(dt=y),Mr=We.pin,Mr&&(Mr===p||Mr===d||Mr===Zt)&&!We.isReverted&&(zn||(zn=[]),zn.unshift(We),We.revert(!0,!0)),We!==ie[at]&&(Pr--,at--);for(ht(Oe)&&(Oe=Oe(y)),Oe=Jl(Oe,"start",y),ue=wc(Oe,p,rt,S,Me(),ot,C,y,fe,V,z,Be,E,y._startClamp&&"_startClamp")||(d?-.001:0),ht(ye)&&(ye=ye(y)),Ut(ye)&&!ye.indexOf("+=")&&(~ye.indexOf(" ")?ye=(Ut(Oe)?Oe.split(" ")[0]:"")+ye:(Ie=vs(ye.substr(2),rt),ye=Ut(Oe)?Oe:(E?Y.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,ue):ue)+Ie,pr=p)),ye=Jl(ye,"end",y),ke=Math.max(ue,wc(ye||(pr?"100% 0":Be),pr,rt,S,Me()+Ie,kt,_t,y,fe,V,z,Be,E,y._endClamp&&"_endClamp"))||-.001,Ie=0,at=Pr;at--;)We=ie[at],Mr=We.pin,Mr&&We.start-We._pinPush<=ue&&!E&&We.end>0&&(lt=We.end-(y._startClamp?Math.max(0,We.start):We.start),(Mr===p&&We.start-We._pinPush=Sr(x,S)))lt=or(d),ks=S===qe,Ci=Me(),de=parseFloat(re(S.a))+Ee,!Be&&ke>1&&(kr=(L?be.scrollingElement||Xt:x).style,kr={style:kr,value:kr["overflow"+S.a.toUpperCase()]},L&&or(he)["overflow"+S.a.toUpperCase()]!=="scroll"&&(kr.style["overflow"+S.a.toUpperCase()]="scroll")),Zo(d,ae,lt),Z=Ts(d),wt=Rr(d,!0),ta=z&&ei(x,ks?At:qe)(),g?(q=[g+S.os2,I+Ee+$e],q.t=ae,at=g===Ye?ps(d,S)+I+Ee:0,at&&(q.push(S.d,at+$e),ae.style.flexBasis!=="auto"&&(ae.style.flexBasis=at+$e)),Ui(q),Zt&&ie.forEach(function(Fn){Fn.pin===Zt&&Fn.vars.pinSpacing!==!1&&(Fn._subPinOffset=!0)}),z&&Me(Ae)):(at=ps(d,S),at&&ae.style.flexBasis!=="auto"&&(ae.style.flexBasis=at+$e)),z&&(yt={top:wt.top+(ks?Ci-ue:ta)+$e,left:wt.left+(ks?ta:Ci-ue)+$e,boxSizing:"border-box",position:"fixed"},yt[wi]=yt["max"+Wi]=Math.ceil(wt.width)+$e,yt[yi]=yt["max"+Ho]=Math.ceil(wt.height)+$e,yt[sr]=yt[sr+Cn]=yt[sr+An]=yt[sr+Pn]=yt[sr+En]="0",yt[Ye]=lt[Ye],yt[Ye+Cn]=lt[Ye+Cn],yt[Ye+An]=lt[Ye+An],yt[Ye+Pn]=lt[Ye+Pn],yt[Ye+En]=lt[Ye+En],U=Vd(H,yt,T),Pt&&Me(0)),i?(qc=i._initted,Io(1),i.render(i.duration(),!0,!0),le=re(S.a)-de+I+Ee,Ft=Math.abs(I-le)>1,z&&Ft&&U.splice(U.length-2,2),i.render(0,!0,!0),qc||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Io(0)):le=I,kr&&(kr.value?kr.style["overflow"+S.a.toUpperCase()]=kr.value:kr.style.removeProperty("overflow-"+S.a));else if(p&&Me()&&!E)for(wt=p.parentNode;wt&&wt!==he;)wt._pinOffset&&(ue-=wt._pinOffset,ke-=wt._pinOffset),wt=wt.parentNode;zn&&zn.forEach(function(Fn){return Fn.revert(!1,!0)}),y.start=ue,y.end=ke,Je=et=Pt?Ae:Me(),!E&&!Pt&&(Je0?ie.slice(0,J).reverse():ie.slice(J+1);return(Ut(N)?W.filter(function(ee){return ee.vars.preventOverlaps===N}):W).filter(function(ee){return y.direction>0?ee.end<=ue:ee.start>=ke})},y.update=function(N,J,W){if(!(E&&!W&&!N)){var ee=Pt===!0?Ae:y.scroll(),rt=N?0:(ee-ue)/I,fe=rt<0?0:rt>1?1:rt||0,Be=y.progress,vt,Ie,Ee,ye,pr,Oe,Zt,Pr;if(J&&(et=Je,Je=E?Me():ee,w&&(ur=ar,ar=i&&!D?i.totalProgress():fe)),m&&d&&!dt&&!fs&&nr&&(!fe&&ueee+(ee-et)/(pt()-yn)*m&&(fe=.9999)),fe!==Be&&y.enabled){if(vt=y.isActive=!!fe&&fe<1,Ie=!!Be&&Be<1,Oe=vt!==Ie,pr=Oe||!!fe!=!!Be,y.direction=fe>Be?1:-1,y.progress=fe,pr&&!dt&&(Ee=fe&&!Be?0:fe===1?1:Be===1?2:3,D&&(ye=!Oe&&G[Ee+1]!=="none"&&G[Ee+1]||G[Ee],Pr=i&&(ye==="complete"||ye==="reset"||ye in i))),O&&(Oe||Pr)&&(Pr||f||!i)&&(ht(O)?O(y):y.getTrailing(O).forEach(function(Ci){return Ci.endAnimation()})),D||(Q&&!dt&&!fs?(Q._dp._time-Q._start!==Q._time&&Q.render(Q._dp._time-Q._start),Q.resetTo?Q.resetTo("totalProgress",fe,i._tTime/i._tDur):(Q.vars.totalProgress=fe,Q.invalidate().restart())):i&&i.totalProgress(fe,!!(dt&&(De||N)))),d){if(N&&g&&(ae.style[g+S.os2]=He),!z)xe(xn(de+le*fe));else if(pr){if(Zt=!N&&fe>Be&&ke+1>ee&&ee+1>=Sr(x,S),T)if(!N&&(vt||Zt)){var at=Rr(d,!0),lt=ee-ue;yc(d,he,at.top+(S===qe?lt:0)+$e,at.left+(S===qe?0:lt)+$e)}else yc(d,ae);Ui(vt||Zt?U:Z),Ft&&fe<1&&vt||xe(de+(fe===1&&!Zt?le:0))}}w&&!Qe.tween&&!dt&&!fs&&me.restart(!0),a&&(Oe||b&&fe&&(fe<1||!Go))&&vn(a.targets).forEach(function(Ci){return Ci.classList[vt||b?"add":"remove"](a.className)}),o&&!D&&!N&&o(y),pr&&!dt?(D&&(Pr&&(ye==="complete"?i.pause().totalProgress(1):ye==="reset"?i.restart(!0).pause():ye==="restart"?i.restart(!0):i[ye]()),o&&o(y)),(Oe||!Go)&&(u&&Oe&&Vo(y,u),F[Ee]&&Vo(y,F[Ee]),b&&(fe===1?y.kill(!1,1):F[Ee]=0),Oe||(Ee=fe===1?1:3,F[Ee]&&Vo(y,F[Ee]))),M&&!vt&&Math.abs(y.getVelocity())>(Tn(M)?M:2500)&&(Sn(y.callbackAnimation),Q?Q.progress(1):Sn(i,ye==="reverse"?1:!fe,1))):D&&o&&!dt&&o(y)}if(Kt){var wt=E?ee/E.duration()*(E._caScrollDist||0):ee;si(wt+(C._isFlipped?1:0)),Kt(wt)}fr&&fr(-ee/E.duration()*(E._caScrollDist||0))}},y.enable=function(N,J){y.enabled||(y.enabled=!0,Ue(x,"resize",kn),L||Ue(x,"scroll",Xi),oe&&Ue(n,"refreshInit",oe),N!==!1&&(y.progress=Ke=0,Je=et=_e=Me()),J!==!1&&y.refresh())},y.getTween=function(N){return N&&Qe?Qe.tween:Q},y.setPositions=function(N,J,W,ee){if(E){var rt=E.scrollTrigger,fe=E.duration(),Be=rt.end-rt.start;N=rt.start+Be*N/fe,J=rt.start+Be*J/fe}y.refresh(!1,!1,{start:ec(N,W&&!!y._startClamp),end:ec(J,W&&!!y._endClamp)},ee),y.update()},y.adjustPinSpacing=function(N){if(q&&N){var J=q.indexOf(S.d)+1;q[J]=parseFloat(q[J])+N+$e,q[1]=parseFloat(q[1])+N+$e,Ui(q)}},y.disable=function(N,J){if(y.enabled&&(N!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,J||Q&&Q.pause(),Ae=0,Ze&&(Ze.uncache=1),oe&&je(n,"refreshInit",oe),me&&(me.pause(),Qe.tween&&Qe.tween.kill()&&(Qe.tween=0)),!L)){for(var W=ie.length;W--;)if(ie[W].scroller===x&&ie[W]!==y)return;je(x,"resize",kn),L||je(x,"scroll",Xi)}},y.kill=function(N,J){y.disable(N,J),Q&&!J&&Q.kill(),l&&delete Xo[l];var W=ie.indexOf(y);W>=0&&ie.splice(W,1),W===Et&&bs>0&&Et--,W=0,ie.forEach(function(ee){return ee.scroller===y.scroller&&(W=1)}),W||Pt||(y.scroll.rec=0),i&&(i.scrollTrigger=null,N&&i.revert({kill:!1}),J||i.kill()),ot&&[ot,kt,C,_t].forEach(function(ee){return ee.parentNode&&ee.parentNode.removeChild(ee)}),On===y&&(On=0),d&&(Ze&&(Ze.uncache=1),W=0,ie.forEach(function(ee){return ee.pin===d&&W++}),W||(Ze.spacer=0)),r.onKill&&r.onKill(y)},ie.push(y),y.enable(!1,!1),Ve&&Ve(y),i&&i.add&&!I){var pe=y.update;y.update=function(){y.update=pe,ne.cache++,ue||ke||y.refresh()},Y.delayedCall(.01,y.update),I=.01,ue=ke=0}else y.refresh();d&&Nd()},n.register=function(r){return Vi||(Y=r||nc(),ic()&&window.document&&n.enable(),Vi=bn),Vi},n.defaults=function(r){if(r)for(var i in r)ms[i]=r[i];return ms},n.disable=function(r,i){bn=0,ie.forEach(function(o){return o[i?"kill":"disable"](r)}),je(se,"wheel",Xi),je(be,"scroll",Xi),clearInterval(ls),je(be,"touchcancel",Tr),je(he,"touchstart",Tr),hs(je,be,"pointerdown,touchstart,mousedown",tc),hs(je,be,"pointerup,touchend,mouseup",rc),as.kill(),ds(je);for(var s=0;s0&&o.left+a0&&o.top+a=0&&jt.splice(t,5),jt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Y.core.getCache(e),Ro())}}):jt},K.revert=function(n,e){return jo(!n,e)},K.create=function(n,e){return new K(n,e)},K.refresh=function(n){return n?kn(!0):(Vi||K.register())&&Si(!0)},K.update=function(n){return++ne.cache&&Fr(n===!0?2:0)},K.clearScrollMemory=gc,K.maxScroll=function(n,e){return Sr(n,e?At:qe)},K.getScrollFunc=function(n,e){return ei(Rt(n),e?At:qe)},K.getById=function(n){return Xo[n]},K.getAll=function(){return ie.filter(function(n){return n.vars.id!=="ScrollSmoother"})},K.isScrolling=function(){return!!nr},K.snapDirectional=Wo,K.addEventListener=function(n,e){var t=bi[n]||(bi[n]=[]);~t.indexOf(e)||t.push(e)},K.removeEventListener=function(n,e){var t=bi[n],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)},K.batch=function(n,e){var t=[],r={},i=e.interval||.016,s=e.batchMax||1e9,o=function(u,c){var f=[],p=[],d=Y.delayedCall(i,function(){c(f,p),f=[],p=[]}).pause();return function(g){f.length||d.restart(!0),f.push(g.trigger),p.push(g),s<=f.length&&d.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&ht(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return ht(s)&&(s=s(),Ue(K,"refresh",function(){return s=e.batchMax()})),vn(n).forEach(function(l){var u={};for(a in r)u[a]=r[a];u.trigger=l,t.push(K.create(u))}),t};var Tc=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},Jo=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Re.isTouch?" pinch-zoom":""):"none",e===Xt&&n(he,t)},Es={auto:1,scroll:1},$d=function(e){var t=e.event,r=e.target,i=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||Y.core.getCache(s),a=pt(),l;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==he&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(Es[(l=or(s)).overflowY]||Es[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!_i(s)&&(Es[(l=or(s)).overflowY]||Es[l.overflowX]),o._isScrollT=a}(o._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Sc=function(e,t,r,i){return Re.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&$d,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Ue(be,Re.eventTypes[0],Ec,!1,!0)},onDisable:function(){return je(be,Re.eventTypes[0],Ec,!0)}})},Hd=/(input|label|select|textarea)/i,Ac,Ec=function(e){var t=Hd.test(e.target.tagName);(t||Ac)&&(e._gsapAllow=!0,Ac=t)},Wd=function(e){vi(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,o=t.onRelease,a,l,u=Rt(e.target)||Xt,c=Y.core.globals().ScrollSmoother,f=c&&c.get(),p=ti&&(e.content&&Rt(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=ei(u,qe),g=ei(u,At),h=1,m=(Re.isTouch&&se.visualViewport?se.visualViewport.scale*se.visualViewport.width:se.outerWidth)/se.innerWidth,_=0,v=ht(i)?function(){return i(a)}:function(){return i||2.8},b,w,T=Sc(u,e.type,!0,s),P=function(){return w=!1},E=Tr,M=Tr,O=function(){l=Sr(u,qe),M=wn(ti?1:0,l),r&&(E=wn(0,Sr(u,At))),b=Ti},S=function(){p._gsap.y=xn(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},D=function(){if(w){requestAnimationFrame(P);var B=xn(a.deltaY/2),V=M(d.v-B);if(p&&V!==d.v+d.offset){d.offset=V-d.v;var y=xn((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",p._gsap.y=y+"px",d.cacheID=ne.cache,Fr()}return!0}d.offset&&S(),w=!0},x,k,L,z,F=function(){O(),x.isActive()&&x.vars.scrollY>l&&(d()>l?x.progress(1)&&d(l):x.resetTo("scrollY",l))};return p&&Y.set(p,{y:"+=0"}),e.ignoreCheck=function(G){return ti&&G.type==="touchmove"&&D()||h>1.05&&G.type!=="touchstart"||a.isGesturing||G.touches&&G.touches.length>1},e.onPress=function(){w=!1;var G=h;h=xn((se.visualViewport&&se.visualViewport.scale||1)/m),x.pause(),G!==h&&Jo(u,h>1.01?!0:r?!1:"x"),k=g(),L=d(),O(),b=Ti},e.onRelease=e.onGestureStart=function(G,B){if(d.offset&&S(),!B)z.restart(!0);else{ne.cache++;var V=v(),y,oe;r&&(y=g(),oe=y+V*.05*-G.velocityX/.227,V*=Tc(g,y,oe,Sr(u,At)),x.vars.scrollX=E(oe)),y=d(),oe=y+V*.05*-G.velocityY/.227,V*=Tc(d,y,oe,Sr(u,qe)),x.vars.scrollY=M(oe),x.invalidate().duration(V).play(.01),(ti&&x.vars.scrollY>=l||y>=l-1)&&Y.to({},{onUpdate:F,duration:V})}o&&o(G)},e.onWheel=function(){x._ts&&x.pause(),pt()-_>1e3&&(b=0,_=pt())},e.onChange=function(G,B,V,y,oe){if(Ti!==b&&O(),B&&r&&g(E(y[2]===B?k+(G.startX-G.x):g()+B-y[1])),V){d.offset&&S();var Te=oe[2]===V,mt=Te?L+G.startY-G.y:d()+V-oe[1],_e=M(mt);Te&&mt!==_e&&(L+=_e-mt),d(_e)}(V||B)&&Fr()},e.onEnable=function(){Jo(u,r?!1:"x"),K.addEventListener("refresh",F),Ue(se,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=g.smooth=!1),T.enable()},e.onDisable=function(){Jo(u,!0),je(se,"resize",F),K.removeEventListener("refresh",F),T.kill()},e.lockAxis=e.lockAxis!==!1,a=new Re(e),a.iOS=ti,ti&&!d()&&d(1),ti&&Y.ticker.add(Tr),z=a._dc,x=Y.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:bc(d,d(),function(){return x.pause()})},onUpdate:Fr,onComplete:z.vars.onComplete}),a};K.sort=function(n){if(ht(n))return ie.sort(n);var e=se.pageYOffset||0;return K.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+se.innerHeight}),ie.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)})},K.observe=function(n){return new Re(n)},K.normalizeScroll=function(n){if(typeof n=="undefined")return Ct;if(n===!0&&Ct)return Ct.enable();if(n===!1){Ct&&Ct.kill(),Ct=n;return}var e=n instanceof Re?n:Wd(n);return Ct&&Ct.target===e.target&&Ct.kill(),_i(e.target)&&(Ct=e),e},K.core={_getVelocityProp:Oo,_inputObserver:Sc,_scrollers:ne,_proxies:xr,bridge:{ss:function(){nr||xi("scrollStart"),nr=pt()},ref:function(){return dt}}},nc()&&Y.registerPlugin(K);function Cc(n,e){for(var t=0;tMath.abs(a)?o:a)/(1-t),u=-l*t,c,f;return l>0&&(c=s.height/(Mt.innerHeight+s.height),f=c===.5?s.height*2:Math.min(s.height,Math.abs(-l*c/(2*c-1)))*2*(t||1),u+=t?-f*t:-f/2,l+=f),{change:l,offset:u}},Kd=function(e){var t=ri.querySelector(".ScrollSmoother-wrapper");return t||(t=ri.createElement("div"),t.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t},Ei=function(){function n(e){var t=this;Cs||n.register(ge)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},Ar&&Ar.kill(),Ar=this,Oc(this);var r=e,i=r.smoothTouch,s=r.onUpdate,o=r.onStop,a=r.smooth,l=r.onFocusIn,u=r.normalizeScroll,c=r.wholePixels,f,p,d,g,h,m,_,v,b,w,T,P,E,M,O=this,S=e.effectsPrefix||"",D=te.getScrollFunc(Mt),x=te.isTouch===1?i===!0?.8:parseFloat(i)||0:a===0||a===!1?0:parseFloat(a)||.8,k=x&&+e.speed||1,L=0,z=0,F=1,G=Mc(0),B=function(){return G.update(-L)},V={y:0},y=function(){return f.style.overflow="visible"},oe,Te=function(A){A.update();var I=A.getTween();I&&(I.pause(),I._time=I._dur,I._tTime=I._tDur),oe=!1,A.animation.progress(A.progress,!0)},mt=function(A,I){(A!==L&&!w||I)&&(c&&(A=Math.round(A)),x&&(f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+A+", 0, 1)",f._gsap.y=A+"px"),z=A-L,L=A,te.isUpdating||n.isRefreshing||te.update())},_e=function(A){return arguments.length?(A<0&&(A=0),V.y=-A,oe=!0,w?L=-A:mt(-A),te.isRefreshing?g.update():D(A/k),this):-L},De=typeof ResizeObserver!="undefined"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!te.isRefreshing){var R=ii(p)*k;R<-L&&_e(R),Lc.restart(!0)}}),Ke,Me=function(A){p.scrollTop=0,!(A.target.contains&&A.target.contains(p)||l&&l(t,A)===!1)&&(te.isInViewport(A.target)||A.target===Ke||t.scrollTo(A.target,!1,"center center"),Ke=A.target)},Qe=function(A,I){if(A0?re+(le-de):Qe(le,A),q.setPositions(re,xe,!0,(q._startClamp?Math.max(0,re):re)-de),q.markerStart&&Z.push(ge.quickSetter([q.markerStart,q.markerEnd],"y","px")),q.pin&&q.end>0&&!H)){if(ae=q.end-q.start,Fe=A._startClamp&&q.start<0,Fe){if(A.start>0){A.setPositions(0,A.end+(A._startNative-A.start),!0),R(A,I);return}ae+=q.start,U.offset=-q.start}U.push({start:q.start,nativeStart:de,end:q.end,distance:ae,trig:q}),A.setPositions(A.start,A.end+(Fe?-q.start:ae),!0)}},cr=function(A,I){h.forEach(function(H){return Ze(H,A,I)})},Je=function(){Ln=ri.documentElement,Br=ri.body,y(),requestAnimationFrame(y),h&&(te.getAll().forEach(function(A){A._startNative=A.start,A._endNative=A.end}),h.forEach(function(A){var I=A._startClamp||A.start,H=A.autoSpeed?Math.min(ii(),A.end):I+Math.abs((A.end-I)/A.ratio),U=H-A.end;if(I-=U/2,H-=U/2,I>H){var Z=I;I=H,H=Z}A._startClamp&&I<0?(H=A.ratio<0?ii():A.end/A.ratio,U=H-A.end,I=0):(A.ratio<0||A._endClamp&&H>=ii())&&(H=ii(),I=A.ratio<0||A.ratio>1?0:H-(H-A.start)/A.ratio,U=(H-I)*A.ratio-(A.end-A.start)),A.offset=U||1e-4,A.pins.length=A.pins.offset=0,A.setPositions(I,H,!0)}),cr(te.sort())),G.reset()},et=function(){return te.addEventListener("refresh",Je)},ue=function(){return h&&h.forEach(function(A){return A.vars.onRefresh(A)})},ke=function(){return h&&h.forEach(function(A){return A.vars.onRefreshInit(A)}),ue},ot=function(A,I,H,U){return function(){var Z=typeof I=="function"?I(H,U):I;Z||Z===0||(Z=U.getAttribute("data-"+S+A)||(A==="speed"?1:0)),U.setAttribute("data-"+S+A,Z);var ae=(Z+"").substr(0,6)==="clamp(";return{clamp:ae,value:ae?Z.substr(6,Z.length-7):Z}}},kt=function(A,I,H,U,Z){Z=(typeof Z=="function"?Z(U,A):Z)||0;var ae=ot("speed",I,U,A),Fe=ot("lag",H,U,A),re=ge.getProperty(A,"y"),xe=A._gsap,de,le,He,q,si,Ft,Kt=[],Gr=function(){I=ae(),H=parseFloat(Fe().value),de=parseFloat(I.value)||1,He=I.value==="auto",si=He||le&&le._startClamp&&le.start<=0||Kt.offset?0:le&&le._endClamp&&le.end===ii()?1:.5,q&&q.kill(),q=H&&ge.to(A,{ease:Ps,overwrite:!1,y:"+=0",duration:H}),le&&(le.ratio=de,le.autoSpeed=He)},ar=function(){xe.y=re+"px",xe.renderTransform(1),Gr()},ur=[],Q=0,Cr=function(me){if(He){ar();var Ae=jd(A,Pc(0,1,-me.start/(me.end-me.start)));Q=Ae.change,Ft=Ae.offset}else Ft=Kt.offset||0,Q=(me.end-me.start-Ft)*(1-de);Kt.forEach(function(Qt){return Q-=Qt.distance*(1-de)}),me.offset=Q||.001,me.vars.onUpdate(me),q&&q.progress(1)};return Gr(),(de!==1||He||q)&&(le=te.create({trigger:He?A.parentNode:A,start:function(){return I.clamp?"clamp(top bottom+="+Z+")":"top bottom+="+Z},end:function(){return I.value<0?"max":I.clamp?"clamp(bottom top-="+Z+")":"bottom top-="+Z},scroller:p,scrub:!0,refreshPriority:-999,onRefreshInit:ar,onRefresh:Cr,onKill:function(me){var Ae=h.indexOf(me);Ae>=0&&h.splice(Ae,1),ar()},onUpdate:function(me){var Ae=re+Q*(me.progress-si),Qt=Kt.length,fr=0,Ve,dr,j;if(me.offset){if(Qt){for(dr=-L,j=me.end;Qt--;){if(Ve=Kt[Qt],Ve.trig.isActive||dr>=Ve.start&&dr<=Ve.end){q&&(Ve.trig.progress+=Ve.trig.direction<0?.001:-.001,Ve.trig.update(0,0,1),q.resetTo("y",parseFloat(xe.y),-z,!0),F&&q.progress(1));return}dr>Ve.end&&(fr+=Ve.distance),j-=Ve.distance}Ae=re+fr+Q*((ge.utils.clamp(me.start,me.end,dr)-me.start-fr)/(j-me.start)-si)}ur.length&&!He&&ur.forEach(function(X){return X(Ae-fr)}),Ae=Ud(Ae+Ft),q?(q.resetTo("y",Ae,-z,!0),F&&q.progress(1)):(xe.y=Ae+"px",xe.renderTransform(1))}}}),Cr(le),ge.core.getCache(le.trigger).stRevert=ke,le.startY=re,le.pins=Kt,le.markers=ur,le.ratio=de,le.autoSpeed=He,A.style.willChange="transform"),le};et(),te.addEventListener("killAll",et),ge.delayedCall(.5,function(){return F=0}),this.scrollTop=_e,this.scrollTo=function(R,A,I){var H=ge.utils.clamp(0,ii(),isNaN(R)?t.offset(R,I,!!A&&!w):+R);A?w?ge.to(t,{duration:x,scrollTop:H,overwrite:"auto",ease:Ps}):D(H):_e(H)},this.offset=function(R,A,I){R=Ai(R)[0];var H=R.style.cssText,U=te.create({trigger:R,start:A||"top top"}),Z;return h&&(F?te.refresh():cr([U],!0)),Z=U.start/(I?k:1),U.kill(!1),R.style.cssText=H,ge.core.getCache(R).uncache=1,Z};function C(){return d=f.clientHeight,f.style.overflow="visible",Br.style.height=Mt.innerHeight+(d-Mt.innerHeight)/k+"px",d-Mt.innerHeight}this.content=function(R){if(arguments.length){var A=Ai(R||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||Br.children[0];return A!==f&&(f=A,b=f.getAttribute("style")||"",De&&De.observe(f),ge.set(f,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),x||ge.set(f,{clearProps:"transform"})),this}return f},this.wrapper=function(R){return arguments.length?(p=Ai(R||"#smooth-wrapper")[0]||Kd(f),v=p.getAttribute("style")||"",C(),ge.set(p,x?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):p},this.effects=function(R,A){var I;if(h||(h=[]),!R)return h.slice(0);R=Ai(R),R.forEach(function(de){for(var le=h.length;le--;)h[le].trigger===de&&h[le].kill()}),A=A||{};var H=A,U=H.speed,Z=H.lag,ae=H.effectsPadding,Fe=[],re,xe;for(re=0;reH._dp._time,P=L,V.y=0,x&&(te.isTouch===1&&(p.style.position="absolute"),p.scrollTop=0,te.isTouch===1&&(p.style.position="fixed"))}},onRefresh:function(A){A.animation.invalidate(),A.setPositions(A.start,C()/k),E||Te(A),V.y=-D()*k,mt(V.y),F||(E&&(oe=!1),A.animation.progress(ge.utils.clamp(0,1,P/k/-A.end))),E&&(A.progress-=.001,A.update()),n.isRefreshing=!1},id:"ScrollSmoother",scroller:Mt,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return C()/k},onScrubComplete:function(){G.reset(),o&&o(t)},scrub:x||!0}),this.smooth=function(R){return arguments.length&&(x=R||0,k=x&&+e.speed||1,g.scrubDuration(R)),g.getTween()?g.getTween().duration():0},g.getTween()&&(g.getTween().vars.ease=e.ease||Ps),this.scrollTrigger=g,e.effects&&this.effects(e.effects===!0?"[data-"+S+"speed], [data-"+S+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),_t.forEach(function(R){R.vars.scroller=p,R.revert(!1,!0),R.init(R.vars,R.animation)}),this.paused=function(R,A){return arguments.length?(!!w!==R&&(R?(g.getTween()&&g.getTween().pause(),D(-L/k),G.reset(),T=te.normalizeScroll(),T&&T.disable(),w=te.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return _e(-L)}}),w.nested=kc(Ln,"wheel,touch,scroll",!0,A!==!1)):(w.nested.kill(),w.kill(),w=0,T&&T.enable(),g.progress=(-L/k-g.start)/(g.end-g.start),Te(g))),this):!!w},this.kill=this.revert=function(){t.paused(!1),Te(g),g.kill();for(var R=(h||[]).concat(m||[]),A=R.length;A--;)R[A].kill();te.scrollerProxy(p),te.removeEventListener("killAll",et),te.removeEventListener("refresh",Je),p.style.cssText=v,f.style.cssText=b;var I=te.defaults({});I&&I.scroller===p&&te.defaults({scroller:Mt}),t.normalizer&&te.normalizeScroll(!1),clearInterval(_),Ar=null,De&&De.disconnect(),Br.style.removeProperty("height"),Mt.removeEventListener("focusin",Me)},this.refresh=function(R,A){return g.refresh(R,A)},u&&(this.normalizer=te.normalizeScroll(u===!0?{debounce:!0,content:!x&&f}:u)),te.config(e),"scrollBehavior"in Mt.getComputedStyle(Br)&&ge.set([Br,Ln],{scrollBehavior:"auto"}),Mt.addEventListener("focusin",Me),_=setInterval(B,250),ri.readyState==="loading"||requestAnimationFrame(function(){return te.refresh()})}return n.register=function(t){return Cs||(ge=t||Ic(),Dc()&&window.document&&(Mt=window,ri=document,Ln=ri.documentElement,Br=ri.body),ge&&(Ai=ge.utils.toArray,Pc=ge.utils.clamp,Ps=ge.parseEase("expo"),Oc=ge.core.context||function(){},te=ge.core.globals().ScrollTrigger,ge.core.globals("ScrollSmoother",n),Br&&te&&(Lc=ge.delayedCall(.2,function(){return te.isRefreshing||Ar&&Ar.refresh()}).pause(),Mc=te.core._getVelocityProp,kc=te.core._inputObserver,n.refresh=te.refresh,Cs=1))),Cs},Xd(n,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),n}();Ei.version="3.12.7",Ei.create=function(n){return Ar&&n&&Ar.content()===Ai(n.content)[0]?Ar:new Ei(n)},Ei.get=function(){return Ar},Ic()&&ge.registerPlugin(Ei);/*! * ScrollToPlugin 3.12.7 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var gt,zc,Nr,Er,ni,Rc,ji,Ms,Fc=function(){return typeof window!="undefined"},Bc=function(){return gt||Fc()&&(gt=window.gsap)&>.registerPlugin&>},Nc=function(e){return typeof e=="string"},Gc=function(e){return typeof e=="function"},Dn=function(e,t){var r=t==="x"?"Width":"Height",i="scroll"+r,s="client"+r;return e===Nr||e===Er||e===ni?Math.max(Er[i],ni[i])-(Nr["inner"+r]||Er[s]||ni[s]):e[i]-e["offset"+r]},In=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Nr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=Er[r]!=null?Er:ni),function(){return e[r]}},Qd=function(e,t,r,i){if(Gc(e)&&(e=e(t,r,i)),typeof e!="object")return Nc(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s={},o;for(o in e)s[o]=o!=="onAutoKill"&&Gc(e[o])?e[o](t,r,i):e[o];return s},Yc=function(e,t){if(e=Rc(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),i=!t||t===Nr||t===ni,s=i?{top:Er.clientTop-(Nr.pageYOffset||Er.scrollTop||ni.scrollTop||0),left:Er.clientLeft-(Nr.pageXOffset||Er.scrollLeft||ni.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!i&&t&&(o.x+=In(t,"x")(),o.y+=In(t,"y")()),o},Vc=function(e,t,r,i,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:Nc(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+i-s:e==="max"?Dn(t,r)-s:Math.min(Dn(t,r),Yc(e,t)[r]-s)},ea=function(){gt=Bc(),Fc()&>&&typeof document!="undefined"&&document.body&&(Nr=window,ni=document.body,Er=document.documentElement,Rc=gt.utils.toArray,gt.config({autoKillThreshold:7}),ji=gt.config(),zc=1)},Ki={version:"3.12.7",name:"scrollTo",rawVars:1,register:function(e){gt=e,ea()},init:function(e,t,r,i,s){zc||ea();var o=this,a=gt.getProperty(e,"scrollSnapType");o.isWin=e===Nr,o.target=e,o.tween=r,t=Qd(t,i,e,s),o.vars=t,o.autoKill=!!("autoKill"in t?t:ji).autoKill,o.getX=In(e,"x"),o.getY=In(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),Ms||(Ms=gt.core.globals().ScrollTrigger),gt.getProperty(e,"scrollBehavior")==="smooth"&>.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(o.add(o,"x",o.x,Vc(t.x,e,"x",o.x,t.offsetX||0),i,s),o._props.push("scrollTo_x")):o.skipX=1,t.y!=null?(o.add(o,"y",o.y,Vc(t.y,e,"y",o.y,t.offsetY||0),i,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,t){for(var r=t._pt,i=t.target,s=t.tween,o=t.autoKill,a=t.xPrev,l=t.yPrev,u=t.isWin,c=t.snap,f=t.snapInline,p,d,g,h,m;r;)r.r(e,r.d),r=r._next;p=u||!t.skipX?t.getX():a,d=u||!t.skipY?t.getY():l,g=d-l,h=p-a,m=ji.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(h>m||h<-m)&&pm||g<-m)&&d-1&&this._props.splice(r,1),!this._props.length}};Ki.max=Dn,Ki.getOffset=Yc,Ki.buildGetter=In,Ki.config=function(n){ji||ea()||(ji=gt.config());for(var e in n)ji[e]=n[e]},Bc()&>.registerPlugin(Ki),document.addEventListener("DOMContentLoaded",()=>{mp(),vp(),_p(),gp(),hp(),dp(),fp(),up(),cp(),lp(),ap(),op(),pp(),sp(),np(),ip(),tp(),rp(),ep(),Jd(),Zd()}),br.registerPlugin(Ei,K,Ki);const Zd=()=>{const n=document.querySelectorAll('input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea');if(n.length===0)return;const e=()=>{n==null||n.forEach(t=>{t.value=""})};window.addEventListener("load",e)},Jd=()=>{const n=document.querySelectorAll("input[type=number]");n.length!==0&&(n==null||n.forEach(e=>{e.addEventListener("input",()=>{e.value=e.value.replace(/[^0-9]/g,"")})}))},ep=()=>{const n=80,e=o=>{var l;if(!o)return;const a=(l=o.textContent)==null?void 0:l.trim();a&&a.length>n&&(o.textContent=a.slice(0,n)+"...")},t=()=>{document.querySelectorAll(".resource-collection").forEach(o=>{o.querySelectorAll(".resource-item").forEach(a=>{e(a.querySelector(".trim-heading")),e(a.querySelector(".trim-text"))})})};t(),window.addEventListener("load",()=>{setTimeout(()=>{t()},1e3)});const r=document.querySelector(".filter");if(!r)return;const i=r.querySelector("form"),s=r.querySelector(".pagination");i==null||i.querySelectorAll('input[type="checkbox"]').forEach(o=>{o.addEventListener("click",()=>{setTimeout(()=>{t()},1e3)})}),s==null||s.addEventListener("click",o=>{o.target.matches(".prev, .next, .page-counter-number")&&setTimeout(()=>{t()},1e3)})},tp=()=>{const n=e=>{const{openerEl:t,activeClass:r,closerEl:i,outsideClick:s,popupEl:o}=e,a=document.querySelectorAll(`[${t}]`);if(a.length===0)return;const l=document.querySelectorAll(`.${i}`),u=document.querySelectorAll(`.${o}`),c=g=>{const h=g.target.getAttribute(`${t}`),m=document.querySelector(`#${h}`);m&&(m.setAttribute("aria-hidden","false"),m.setAttribute("tabindex","0"),m.classList.add(r),s&&document.addEventListener("click",p))},f=g=>{g.preventDefault();const h=g.target.closest(`.${o}`);h&&(h.setAttribute("aria-hidden","true"),h.setAttribute("tabindex","-1"),h.classList.remove(r),s&&document.removeEventListener("click",p))},p=g=>{g.target.classList.contains(r)&&u.forEach(h=>{h.setAttribute("aria-hidden","true"),h.setAttribute("tabindex","-1"),h.classList.remove(r)})};(()=>{u.forEach(g=>{g.setAttribute("tabindex","-1"),g.setAttribute("aria-hidden","true")})})(),a==null||a.forEach(g=>{g.setAttribute("aria-label","Open popup"),g.addEventListener("click",c)}),l==null||l.forEach(g=>{g.setAttribute("aria-label","Close popup"),g.addEventListener("click",f)})};setTimeout(()=>{n({openerEl:"data-popup",activeClass:"popup-active",closerEl:"popup-closer",outsideClick:!0,popupEl:"popup"})},100)},rp=()=>{const n=()=>{const t=document.querySelectorAll("[data-scroll-block]");t.length!==0&&(K.getAll().forEach(r=>r.kill()),t.forEach(r=>{const i=r.querySelector("[data-scroll-wrap]");if(!i)return;const s=i.querySelectorAll("[data-scroll-item]"),o=r.querySelector(".card-end");if(!o)return;const a=()=>{let u=0;return s.forEach(c=>{var p;const f=((p=c.querySelector(".solution-card"))==null?void 0:p.offsetHeight)||0;u{if(u.progress<=.01){s.forEach(f=>f.classList.remove("active"));return}let c=Math.floor(u.progress*s.length);s.forEach((f,p)=>{f.classList.toggle("active",p===c)})}}}),br.matchMedia().add("(min-width: 992px)",()=>{s.forEach((u,c)=>{K.create({trigger:u,start:`top-=${(window.innerHeight-a())/2} top`,pin:!0,end:"bottom bottom",endTrigger:o,invalidateOnRefresh:!0,pinSpacing:s.length-1===c})})}),setTimeout(()=>{K.refresh()},200)}))};n();let e;window.addEventListener("resize",()=>{clearTimeout(e),e=setTimeout(()=>{br.matchMedia().revert(),K.getAll().forEach(t=>t.kill()),n(),setTimeout(()=>K.refresh(),200)},300)})},ip=()=>{let n=br.matchMedia(),e=null;function t(){return/MSIE 10.*Touch/.test(navigator.userAgent)||"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}n.add("(min-width: 992px)",()=>(t()?document.body.classList.add("is-touch"):e=Ei.create({wrapper:"#smooth-wrapper",content:"#smooth-content",smooth:2,normalizeScroll:!0,ignoreMobileResize:!0,effect:!0}),document.querySelectorAll(".leadership-grid").forEach(s=>{const o=s.querySelector(".leadership-heading-wrap");!o||br.to(o,{scrollTrigger:{trigger:s,start:"top top",invalidateOnRefresh:!0,end:()=>`bottom-=${o.offsetHeight} top+=80px`,pin:o,pinSpacing:!1}})}),document.querySelectorAll(".board-grid").forEach(s=>{const o=s.querySelector(".board-heading");!o||br.to(o,{scrollTrigger:{trigger:s,invalidateOnRefresh:!0,start:"top top",end:()=>`bottom-=${o.offsetHeight} top+=80px`,pin:o,pinSpacing:!1}})}),requestAnimationFrame(()=>{setTimeout(()=>{K.refresh()},100)}),()=>{K.getAll().forEach(s=>s.kill()),e&&(e.kill(),e=null)}))},np=()=>{((e,t,r,i,s)=>{setTimeout(()=>{const o=document.querySelector(e);if(!o)return;(o==null?void 0:o.querySelector(t)).addEventListener("click",l=>{l.target.matches(`${r}, ${i}, ${s}`)&&(o.classList.add("loading"),window.smoother?br.to(window,{scrollTo:o.offsetTop-100,duration:.7,ease:"power2.inOut"}):window.scrollTo({top:o.offsetTop-100,left:0,behavior:"smooth"}),setTimeout(()=>{o.classList.remove("loading")},1e3))})},200)})(".filter",".pagination",".prev",".next",".page-counter-number")},sp=()=>{const n=document.querySelectorAll(".nav-link-ab, .nav-link");n.length!==0&&n.forEach(e=>{e.addEventListener("click",()=>{document.body.classList.contains("nav-active")&&document.body.classList.remove("nav-active")})})},op=()=>{$(document).ready(function(){var n=".resource-item",e=$(".leadership-container"),t=$(".leadership"),r=5,i=1,s=e.children(n).length,o=Math.ceil(s/r),a="isotope-pager";let l=!1,u=!1;function c(){var h=window.innerWidth<768;h?u||(f(),p(1,!1),u=!0):(e.children(n).show(),$("."+a).remove(),u=!1)}function f(){$("."+a).remove();var h=$('
'),m=$(''),_=$('');m.click(function(w){w.preventDefault(),i>1&&p(i-1)}),_.click(function(w){w.preventDefault(),i'+v+"");b.attr("data-page",v),h.append(b)}h.append(_),e.after(h),h.on("click",".pager",function(){const w=parseInt($(this).attr("data-page"));p(w)})}function p(h,m=!0){m&&!l?(l=!0,$("html, body").animate({scrollTop:t.offset().top-100},500,function(){d(h),l=!1})):d(h)}function d(h){i=h,e.children(n).hide();var m=(i-1)*r,_=m+r;e.children(n).slice(m,_).show(),$(".pager").removeClass("active").removeAttr("aria-current"),$('.pager[data-page="'+i+'"]').addClass("active").attr("aria-current","page")}c();let g;$(window).resize(function(){clearTimeout(g),g=setTimeout(c,200)})})},ap=()=>{const n=document.querySelector(".header"),e=()=>{window.pageYOffset>0?n.classList.add("sticky"):n.classList.remove("sticky")};window.addEventListener("scroll",e)},lp=()=>{const n=document.querySelector(".filter");if(!n)return;const e=n==null?void 0:n.querySelector("form"),t=e==null?void 0:e.querySelectorAll('input[type="checkbox"]'),r=e==null?void 0:e.querySelector(".filter-reset-btn a"),i=new URLSearchParams(window.location.search);console.log(i.get("case studies"));const s=()=>{t.forEach(l=>{const u=l.getAttribute("name");console.log(u),l.checked?i.set(u,!0):i.delete(u)});const a=`${window.location.pathname}?${i.toString()}`;window.history.replaceState({},"",a)};t.forEach(a=>{a.setAttribute("name",a.id.toLocaleLowerCase()),i.has(a.name)&&(a.checked=!0,a.closest(".checkbox-field").querySelector(".checkbox").classList.add("w--redirected-checked")),a.addEventListener("change",s)});const o=()=>{history.pushState(null,null,"?"+new URLSearchParams().toString())};r.addEventListener("click",o)},cp=()=>{const n=document.querySelector(".contact-form");if(!n)return;const e=n.querySelector(".submit-button"),t=n.querySelectorAll('.text-field[wr-type="required-field"]'),r=n.querySelector(".select-dropdown"),i=r==null?void 0:r.querySelector("select"),s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;t.forEach(o=>{o.addEventListener("keyup",a=>{const l=a.target.closest(".form-group");!l||(a.target.value===""?l.classList.add("error"):l.classList.remove("error"),o.type==="email"&&!s.test(o.value)?l.classList.add("error"):l.classList.remove("error"))})}),r&&i&&r.addEventListener("click",o=>{const a=o.target.closest(".form-group");!a||(i.value!==""?a.classList.remove("error"):a.classList.add("error"))}),e.addEventListener("click",o=>{t.forEach(a=>{if(a.value===""){o.preventDefault();const l=a.closest(".form-group");if(!l)return;l.classList.add("error")}})})},up=()=>{const n=document.querySelector(".journey-swiper");if(!n)return;const e=new it(n,{modules:[Ys],slidesPerView:1,centeredSlides:!0,spaceBetween:20,initialSlide:1,centerInsufficientSlides:!0,scrollbar:{el:".swiper-scrollbar",hide:!1,dragSize:55,draggable:!0},breakpoints:{992:{slidesPerView:1,centeredSlides:!0,spaceBetween:65}}});window.addEventListener("resize",()=>{e.update()})},fp=()=>{const n=document.querySelector(".header");if(!n)return;const e=n.querySelector(".menu-button"),t=document.querySelector("body");e.addEventListener("click",()=>{t.classList.toggle("nav-active")})},dp=()=>{const n=document.querySelector(".nav-sm-btn");if(!n)return;const t=n.querySelector("a").cloneNode(!0),r=document.querySelector(".menu-btn-sm");r==null||r.appendChild(t)},pp=()=>{const n=document.querySelector(".benefit-swiper.v2");if(!n)return;const e=window.matchMedia("(min-width:768px)");let t;const r=function(){if(e.matches===!0){t!==void 0&&t.destroy(!0,!0);return}else e.matches||(t=new it(n,{modules:[Ys],slidesPerView:1.5,spaceBetween:20,centeredSlides:!0,centerInsufficientSlides:!0,scrollbar:{el:".swiper-scrollbar",hide:!1,draggable:!0}}))};r(),e.addEventListener("change",r)},hp=()=>{const n=document.querySelector(".benefit-swiper");if(!n)return;const e=window.matchMedia("(min-width:768px)");let t;const r=function(){if(e.matches===!0){t!==void 0&&t.destroy(!0,!0);return}else e.matches||(t=new it(n,{modules:[Ys],slidesPerView:1.5,spaceBetween:20,centeredSlides:!0,initialSlide:1,centerInsufficientSlides:!0,scrollbar:{el:".swiper-scrollbar",hide:!1,draggable:!0}}))};r(),e.addEventListener("change",r)},gp=()=>{setTimeout(()=>{const n=window.matchMedia("(min-width:992px)"),e=document.querySelector(".tech-tabs");if(!e)return;const t=document.querySelector(".ac-container"),r=e.querySelectorAll(".tech-tab-link");e.querySelectorAll(".w-tab-pane").forEach((l,u)=>{var _;const c=(_=l.querySelector(".acc-header"))==null?void 0:_.innerHTML,f=r[u].innerHTML,p=l.querySelector(".tech-tab-content").innerHTML;let d=document.createElement("div");d.classList.add("ac");let g=document.createElement("div");if(g.classList.add("ac-header"),c)g.innerHTML=c;else{let v=document.createElement("div");v.classList.add("ac-trigger"),v.innerHTML=f,g.appendChild(v)}d.appendChild(g);let h=document.createElement("div");h.classList.add("ac-panel");let m=document.createElement("div");m.classList.add("ac-panel-inner"),m.innerHTML=p,h.appendChild(m),d.appendChild(h),t.appendChild(d)});let s;const o=()=>{t.querySelectorAll(".ac").forEach((u,c)=>{u.classList.contains("is-active")&&c>0&&(u.querySelector(".ac-panel").setAttribute("style","height: 0px;"),u.classList.remove("is-active"))})},a=l=>{if(l.matches)s&&(s.destroy(),s=null);else{if(!s){s=new Jt(t,{openOnInit:[0]});const u=t.querySelectorAll(".ac-trigger"),c=document.querySelector(".ac-wrapper");if(!c)return;const f=c.getBoundingClientRect().top+window.scrollY-100;u.forEach(p=>{p.addEventListener("click",()=>{window.smoother?br.to(window,{scrollTo:f,duration:.7,ease:"power2.inOut"}):window.scrollTo({top:f,left:0,behavior:"smooth"})})})}o()}};a(n),n.addEventListener("change",l=>a(l))},1e3)},mp=()=>{it.use([ba,gf,ya]);const n=document.querySelector(".testimonial");if(!n)return;const e=n.querySelectorAll(".swiper");let t,r;e.forEach(i=>{const s=i.parentElement;if(s.className==="logo-slider"){const o=s.querySelector(".swiper-wrapper");Array.from(o.children).forEach(l=>{const u=l.cloneNode(!0);o.appendChild(u)}),t=new it(i,{modules:[ba,ya],direction:"vertical",slidesPerView:4,centeredSlides:!0,loop:!0,navigation:{nextEl:".swiper-arrow-next",prevEl:".swiper-arrow-prev"},autoplay:{delay:6e3,disableOnInteraction:!1}})}if(s.className==="tech-slider"){const tw=s.querySelector(".swiper-wrapper");Array.from(tw.children).forEach(a=>{const l=a.cloneNode(!0);tw.appendChild(l)});r=new it(i,{slidesPerView:1,loop:!0})}});t.on("slideChange",function(){let i=t.realIndex;r.slideToLoop(i)})},_p=()=>{setTimeout(()=>{if(!document.querySelector(".tech"))return;const e=document.querySelector(".w-tab-menu"),t=document.querySelectorAll(".tech-tab-link"),r=document.querySelector(".tabs-content"),i=document.querySelector(":root"),s=document.createElement("div");s.classList.add("tech-tab-decor"),e.appendChild(s);let o=0;const a={},l=()=>{t.forEach((c,f)=>{const p=c.offsetLeft+"px",d=c.offsetWidth+"px";a[f]={offsetLeft:p,offsetWidth:d},f===o&&(i.style.setProperty("--offsetLeft",a[f].offsetLeft),i.style.setProperty("--offsetWidth",a[f].offsetWidth),r.style.borderTopLeftRadius=f===0?"0px":"30px")})};l(),t.forEach((c,f)=>{c.addEventListener("click",()=>{o=f,i.style.setProperty("--offsetLeft",a[o].offsetLeft),i.style.setProperty("--offsetWidth",a[o].offsetWidth),r.style.borderTopLeftRadius=o===0?"0px":"30px"})});let u;window.addEventListener("resize",()=>{clearTimeout(u),u=setTimeout(l,150)})},1e3)},vp=()=>{const n=document.querySelectorAll(".logo-scroller");n.length!==0&&n.forEach(e=>{e.setAttribute("data-animated",!0);const t=e.querySelector(".logo-marqee");Array.from(t.children).forEach(i=>{const s=i.cloneNode(!0);s.setAttribute("aria-hidden",!0),t.appendChild(s)})})}});