var Hg=Object.defineProperty;var Wg=(ti,Ue,Ki)=>Ue in ti?Hg(ti,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ki}):ti[Ue]=Ki;var V=(ti,Ue,Ki)=>Wg(ti,typeof Ue!="symbol"?Ue+"":Ue,Ki);(function(ti){typeof define=="function"&&define.amd?define(ti):ti()})(function(){"use strict";var ti=document.createElement("style");ti.textContent=`body{margin:0;padding:0}[data-show=auth],[data-show=guest]{transition:opacity .3s ease;opacity:0;pointer-events:none;display:none!important}[auth-visible]{opacity:1;pointer-events:all;display:block!important}[auth-visible][data-display=flex]{display:flex!important}[auth-visible][data-display=grid]{display:grid!important}[auth-visible][data-display=inline]{display:inline!important}@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:translateZ(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{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.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)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}: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"}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden} /*$vite$:1*/`,document.head.appendChild(ti);function Ue(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Ki(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*! * GSAP 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Pr={duration:.5,overwrite:!1,delay:0},la,Ze,be,li=1e8,it=1/li,ca=Math.PI*2,ad=ca/4,od=0,tl=Math.sqrt,ld=Math.cos,cd=Math.sin,We=function(e){return typeof e=="string"},ke=function(e){return typeof e=="function"},_i=function(e){return typeof e=="number"},ua=function(e){return typeof e>"u"},ci=function(e){return typeof e=="object"},_t=function(e){return e!==!1},da=function(){return typeof window<"u"},ns=function(e){return ke(e)||We(e)},il=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},rt=Array.isArray,fa=/(?:-?\.?\d|\.)+/gi,rl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Or=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,pa=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,nl=/[+-]=-?[.\d]+/,sl=/[^,'"\[\]\s]+/gi,ud=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,xe,ui,ha,ma,Pt={},ss={},al,ol=function(e){return(ss=Lr(e,Pt))&&Et},ga=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},cn=function(e,t){return!t&&console.warn(e)},ll=function(e,t){return e&&(Pt[e]=t)&&ss&&(ss[e]=t)||Pt},un=function(){return 0},dd={suppressEvents:!0,isStart:!0,kill:!1},as={suppressEvents:!0,kill:!1},fd={suppressEvents:!0},va={},Ii=[],wa={},cl,Ot={},ya={},ul=30,os=[],ba="",_a=function(e){var t=e[0],i,r;if(ci(t)||ke(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(r=os.length;r--&&!os[r].targetTest(t););i=os[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Bl(e[r],i)))||e.splice(r,1);return e},Ji=function(e){return e._gsap||_a(Gt(e))[0]._gsap},dl=function(e,t,i){return(i=e[t])&&ke(i)?e[t]():ua(i)&&e.getAttribute&&e.getAttribute(t)||i},St=function(e,t){return(e=e.split(",")).forEach(t)||e},Oe=function(e){return Math.round(e*1e5)/1e5||0},De=function(e){return Math.round(e*1e7)/1e7||0},Ir=function(e,t){var i=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),i==="+"?e+r:i==="-"?e-r:i==="*"?e*r:e/r},pd=function(e,t){for(var i=t.length,r=0;e.indexOf(t[r])<0&&++ro;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},us=function(e,t,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var s=t._prev,a=t._next;s?s._next=a:e[i]===t&&(e[i]=a),a?a._prev=s:e[r]===t&&(e[r]=s),t._next=t._prev=t.parent=null},Li=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Qi=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},gd=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ta=function(e,t,i,r){return e._startAt&&(Ze?e._startAt.revert(as):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},vd=function n(e){return!e||e._ts&&n(e.parent)},vl=function(e){return e._repeat?Dr(e._tTime,e=e.duration()+e._rDelay)*e:0},Dr=function(e,t){var i=Math.floor(e=De(e/t));return e&&i===e?i-1:i},ds=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},fs=function(e){return e._end=De(e._start+(e._tDur/Math.abs(e._ts||e._rts||it)||0))},ps=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=De(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),fs(e),i._dirty||Qi(i,e)),e},wl=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._startit)&&t.render(i,!0)),Qi(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-1e-8}},di=function(e,t,i,r){return t.parent&&Li(t),t._start=De((_i(i)?i:i||e!==xe?qt(e,i,t):e._time)+t._delay),t._end=De(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),gl(e,t,"_first","_last",e._sort?"_start":0),Ea(t)||(e._recent=t),r||wl(e,t),e._ts<0&&ps(e,e._tTime),e},yl=function(e,t){return(Pt.ScrollTrigger||ga("scrollTrigger",t))&&Pt.ScrollTrigger.create(t,e)},bl=function(e,t,i,r,s){if(La(e,t,s),!e._initted)return 1;if(!i&&e._pt&&!Ze&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&cl!==Dt.frame)return Ii.push(e),e._lazy=[s,r],1},wd=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},Ea=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},yd=function(e,t,i,r){var s=e.ratio,a=t<0||!t&&(!e._start&&wd(e)&&!(!e._initted&&Ea(e))||(e._ts<0||e._dp._ts<0)&&!Ea(e))?0:1,o=e._rDelay,l=0,c,u,h;if(o&&e._repeat&&(l=pn(0,e._tDur,t),u=Dr(l,o),e._yoyo&&u&1&&(a=1-a),u!==Dr(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||Ze||r||e._zTime===it||!t&&e._zTime){if(!e._initted&&bl(e,t,r,i,l))return;for(h=e._zTime,e._zTime=t||(i?it:0),i||(i=t&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Ta(e,t,i,!0),e._onUpdate&&!i&&Lt(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&Lt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Li(e,1),!i&&!Ze&&(Lt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},bd=function(e,t,i){var r;if(i>t)for(r=e._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start0&&!r&&ps(e,e._tTime=e._tDur*o),e.parent&&fs(e),i||Qi(e.parent,e),e},_l=function(e){return e instanceof pt?Qi(e):zr(e,e._dur)},_d={_start:0,endTime:un,totalDuration:un},qt=function n(e,t,i){var r=e.labels,s=e._recent||_d,a=e.duration()>=li?s.endTime(!1):e._dur,o,l,c;return We(t)&&(isNaN(t)||t in r)?(l=t.charAt(0),c=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(o<0?s:i).totalDuration()/100:1)):o<0?(t in r||(r[t]=a),r[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),c&&i&&(l=l/100*(rt(i)?i[0]:i).totalDuration()),o>1?n(e,t.substr(0,o-1),i)+l:a+l)):t==null?a:+t},fn=function(e,t,i){var r=_i(t[1]),s=(r?2:1)+(e<2?0:1),a=t[s],o,l;if(r&&(a.duration=t[1]),a.parent=i,e){for(o=a,l=i;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=_t(l.vars.inherit)&&l.parent;a.immediateRender=_t(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new ze(t[0],a,t[s+1])},Di=function(e,t){return e||e===0?t(e):t},pn=function(e,t,i){return it?t:i},nt=function(e,t){return!We(e)||!(t=ud.exec(e))?"":t[1]},Sd=function(e,t,i){return Di(i,function(r){return pn(e,t,r)})},xa=[].slice,Sl=function(e,t){return e&&ci(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&ci(e[0]))&&!e.nodeType&&e!==ui},Td=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(r){var s;return We(r)&&!t||Sl(r,1)?(s=i).push.apply(s,Gt(r)):i.push(r)})||i},Gt=function(e,t,i){return be&&!t&&be.selector?be.selector(e):We(e)&&!i&&(ha||!Nr())?xa.call((t||ma).querySelectorAll(e),0):rt(e)?Td(e,i):Sl(e)?xa.call(e,0):e?[e]:[]},Aa=function(e){return e=Gt(e)[0]||cn("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return Gt(t,i.querySelectorAll?i:i===e?cn("Invalid scope")||ma.createElement("div"):e)}},Tl=function(e){return e.sort(function(){return .5-Math.random()})},El=function(e){if(ke(e))return e;var t=ci(e)?e:{each:e},i=er(t.ease),r=t.from||0,s=parseFloat(t.base)||0,a={},o=r>0&&r<1,l=isNaN(r)||o,c=t.axis,u=r,h=r;return We(r)?u=h={center:.5,edges:.5,end:1}[r]||0:!o&&l&&(u=r[0],h=r[1]),function(m,p,d){var f=(d||t).length,v=a[f],b,w,g,y,_,M,A,E,k;if(!v){if(k=t.grid==="auto"?0:(t.grid||[1,li])[1],!k){for(A=-1e8;A<(A=d[k++].getBoundingClientRect().left)&&kA&&(A=_),_f?f-1:c?c==="y"?f/k:k:Math.max(k,f/k))||0)*(r==="edges"?-1:1),v.b=f<0?s-f:s,v.u=nt(t.amount||t.each)||0,i=i&&f<0?Rl(i):i}return f=(v[m]-v.min)/v.max||0,De(v.b+(i?i(f):f)*v.v)+v.u}},Ma=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var r=De(Math.round(parseFloat(i)/e)*e*t);return(r-r%1)/t+(_i(i)?0:nt(i))}},xl=function(e,t){var i=rt(e),r,s;return!i&&ci(e)&&(r=i=e.radius||li,e.values?(e=Gt(e.values),(s=!_i(e[0]))&&(r*=r)):e=Ma(e.increment)),Di(t,i?ke(e)?function(a){return s=e(a),Math.abs(s-a)<=r?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),c=li,u=0,h=e.length,m,p;h--;)s?(m=e[h].x-o,p=e[h].y-l,m=m*m+p*p):m=Math.abs(e[h]-o),mr?s-a:a)})},hn=function(e){for(var t=0,i="",r,s,a,o;~(r=e.indexOf("random(",t));)a=e.indexOf(")",r),o=e.charAt(r+7)==="[",s=e.substr(r+7,a-r-7).match(o?sl:fa),i+=e.substr(t,r-t)+Al(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),t=a+1;return i+e.substr(t,e.length-t)},kl=function(e,t,i,r,s){var a=t-e,o=r-i;return Di(s,function(l){return i+((l-e)/a*o||0)})},Cd=function n(e,t,i,r){var s=isNaN(e+t)?0:function(p){return(1-p)*e+p*t};if(!s){var a=We(e),o={},l,c,u,h,m;if(i===!0&&(r=1)&&(i=null),a)e={p:e},t={p:t};else if(rt(e)&&!rt(t)){for(u=[],h=e.length,m=h-2,c=1;c(o=Math.abs(o))&&(l=a,s=o);return l},Lt=function(e,t,i){var r=e.vars,s=r[t],a=be,o=e._ctx,l,c,u;if(s)return l=r[t+"Params"],c=r.callbackScope||e,i&&Ii.length&&ls(),o&&(be=o),u=l?s.apply(c,l):s.call(c),be=a,u},mn=function(e){return Li(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ze),e.progress()<1&&Lt(e,"onInterrupt"),e},Rr,Pl=[],Ol=function(e){if(e)if(e=!e.name&&e.default||e,da()||e.headless){var t=e.name,i=ke(e),r=t&&!i&&e.init?function(){this._props=[]}:e,s={init:un,render:Ra,add:Oa,kill:qd,modifier:Vd,rawVars:0},a={targetTest:0,get:0,getSetter:za,aliases:{},register:0};if(Nr(),e!==r){if(Ot[t])return;It(r,It(cs(e,s),a)),Lr(r.prototype,Lr(s,cs(e,a))),Ot[r.prop=t]=r,e.targetTest&&(os.push(r),va[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ll(t,r),e.register&&e.register(Et,r,Tt)}else Pl.push(e)},me=255,gn={aqua:[0,me,me],lime:[0,me,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,me],navy:[0,0,128],white:[me,me,me],olive:[128,128,0],yellow:[me,me,0],orange:[me,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[me,0,0],pink:[me,192,203],cyan:[0,me,me],transparent:[me,me,me,0]},ka=function(e,t,i){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(i-t)*e*6:e<.5?i:e*3<2?t+(i-t)*(2/3-e)*6:t)*me+.5|0},Il=function(e,t,i){var r=e?_i(e)?[e>>16,e>>8&me,e&me]:0:gn.black,s,a,o,l,c,u,h,m,p,d;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),gn[e])r=gn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&me,r&me,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&me,e&me]}else if(e.substr(0,3)==="hsl"){if(r=d=e.match(fa),!t)l=+r[0]%360/360,c=+r[1]/100,u=+r[2]/100,a=u<=.5?u*(c+1):u+c-u*c,s=u*2-a,r.length>3&&(r[3]*=1),r[0]=ka(l+1/3,s,a),r[1]=ka(l,s,a),r[2]=ka(l-1/3,s,a);else if(~e.indexOf("="))return r=e.match(rl),i&&r.length<4&&(r[3]=1),r}else r=e.match(fa)||gn.transparent;r=r.map(Number)}return t&&!d&&(s=r[0]/me,a=r[1]/me,o=r[2]/me,h=Math.max(s,a,o),m=Math.min(s,a,o),u=(h+m)/2,h===m?l=c=0:(p=h-m,c=u>.5?p/(2-h-m):p/(h+m),l=h===s?(a-o)/p+(ae||b<0)&&(i+=b-t),r+=b,_=r-i,g=_-a,(g>0||w)&&(M=++h.frame,m=_-h.time*1e3,h.time=_=_/1e3,a+=g+(g>=s?4:s-g),y=1),w||(l=c(f)),y)for(p=0;p=b&&p--},_listeners:o},h}(),Nr=function(){return!vn&&Dt.wake()},oe={},Od=/^[\d.\-M][\d.\-,\s]/,Id=/["']/g,Ld=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),r=i[0],s=1,a=i.length,o,l,c;s1&&i.config?i.config.apply(null,~e.indexOf("{")?[Ld(t[1])]:Dd(e).split(",").map(pl)):oe._CE&&Od.test(e)?oe._CE("",e):i},Rl=function(e){return function(t){return 1-e(1-t)}},Nl=function n(e,t){for(var i=e._first,r;i;)i instanceof pt?n(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?n(i.timeline,t):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=t)),i=i._next},er=function(e,t){return e&&(ke(e)?e:oe[e]||zd(e))||t},tr=function(e,t,i,r){i===void 0&&(i=function(l){return 1-t(1-l)}),r===void 0&&(r=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:i,easeInOut:r},a;return St(e,function(o){oe[o]=Pt[o]=s,oe[a=o.toLowerCase()]=i;for(var l in s)oe[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=oe[o+"."+l]=s[l]}),s},Fl=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Ca=function n(e,t,i){var r=t>=1?t:1,s=(i||(e?.3:.45))/(t<1?t:1),a=s/ca*(Math.asin(1/r)||0),o=function(u){return u===1?1:r*Math.pow(2,-10*u)*cd((u-a)*s)+1},l=e==="out"?o:e==="in"?function(c){return 1-o(1-c)}:Fl(o);return s=ca/s,l.config=function(c,u){return n(e,c,u)},l},Pa=function n(e,t){t===void 0&&(t=1.70158);var i=function(a){return a?--a*a*((t+1)*a+t)+1:0},r=e==="out"?i:e==="in"?function(s){return 1-i(1-s)}:Fl(i);return r.config=function(s){return n(e,s)},r};St("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;tr(n+",Power"+(t-1),e?function(i){return Math.pow(i,t)}:function(i){return i},function(i){return 1-Math.pow(1-i,t)},function(i){return i<.5?Math.pow(i*2,t)/2:1-Math.pow((1-i)*2,t)/2})}),oe.Linear.easeNone=oe.none=oe.Linear.easeIn,tr("Elastic",Ca("in"),Ca("out"),Ca()),function(n,e){var t=1/e,i=2*t,r=2.5*t,s=function(o){return o0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,zr(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,r){if(Nr(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(ps(this,i),!s._dp||s.parent||wl(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&&i0||!this._tDur&&!i)&&di(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===it||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),fl(this,i,r)),this},e.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+vl(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},e.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+vl(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(i,r){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*s,r):this._repeat?Dr(this._tTime,s)+1:1},e.timeScale=function(i,r){if(!arguments.length)return this._rts===-1e-8?0:this._rts;if(this._rts===i)return this;var s=this.parent&&this._ts?ds(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-1e-8?0:this._rts,this.totalTime(pn(-Math.abs(this._delay),this.totalDuration(),s),r!==!1),fs(this),gd(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Nr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==it&&(this._tTime-=it)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&di(r,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(_t(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ds(r.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=fd);var r=Ze;return Ze=i,Sa(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),Ze=r,this},e.globalTime=function(i){for(var r=this,s=arguments.length?i:r.rawTime();r;)s=r._start+s/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):s},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,_l(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,_l(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,r){return this.totalTime(qt(this,i),_t(r))},e.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,_t(r)),this._dur||(this._zTime=-1e-8),this},e.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},e.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var i=this.parent||this._dp,r=this._start,s;return!!(!i||this._ts&&this._initted&&i.isActive()&&(s=i.rawTime(!0))>=r&&s1?(r?(a[i]=r,s&&(a[i+"Params"]=s),i==="onUpdate"&&(this._onUpdate=r)):delete a[i],this):a[i]},e.then=function(i){var r=this;return new Promise(function(s){var a=ke(i)?i:hl,o=function(){var c=r.then;r.then=null,ke(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=c),s(a),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},e.kill=function(){mn(this)},n}();It(wn.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:-1e-8,_prom:0,_ps:!1,_rts:1});var pt=function(n){Ki(e,n);function e(i,r){var s;return i===void 0&&(i={}),s=n.call(this,i)||this,s.labels={},s.smoothChildTiming=!!i.smoothChildTiming,s.autoRemoveChildren=!!i.autoRemoveChildren,s._sort=_t(i.sortChildren),xe&&di(i.parent||xe,Ue(s),r),i.reversed&&s.reverse(),i.paused&&s.paused(!0),i.scrollTrigger&&yl(Ue(s),i.scrollTrigger),s}var t=e.prototype;return t.to=function(r,s,a){return fn(0,arguments,this),this},t.from=function(r,s,a){return fn(1,arguments,this),this},t.fromTo=function(r,s,a,o){return fn(2,arguments,this),this},t.set=function(r,s,a){return s.duration=0,s.parent=this,dn(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new ze(r,s,qt(this,a),1),this},t.call=function(r,s,a){return di(this,ze.delayedCall(0,r,s),a)},t.staggerTo=function(r,s,a,o,l,c,u){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=c,a.onCompleteParams=u,a.parent=this,new ze(r,a,qt(this,l)),this},t.staggerFrom=function(r,s,a,o,l,c,u){return a.runBackwards=1,dn(a).immediateRender=_t(a.immediateRender),this.staggerTo(r,s,a,o,l,c,u)},t.staggerFromTo=function(r,s,a,o,l,c,u,h){return o.startAt=a,dn(o).immediateRender=_t(o.immediateRender),this.staggerTo(r,s,o,l,c,u,h)},t.render=function(r,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=r<=0?0:De(r),h=this._zTime<0!=r<0&&(this._initted||!c),m,p,d,f,v,b,w,g,y,_,M,A;if(this!==xe&&u>l&&r>=0&&(u=l),u!==this._tTime||a||h){if(o!==this._time&&c&&(u+=this._time-o,r+=this._time-o),m=u,y=this._start,g=this._ts,b=!g,h&&(c||(o=this._zTime),(r||!s)&&(this._zTime=r)),this._repeat){if(M=this._yoyo,v=c+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(v*100+r,s,a);if(m=De(u%v),u===l?(f=this._repeat,m=c):(_=De(u/v),f=~~_,f&&f===_&&(m=c,f--),m>c&&(m=c)),_=Dr(this._tTime,v),!o&&this._tTime&&_!==f&&this._tTime-_*v-this._dur<=0&&(_=f),M&&f&1&&(m=c-m,A=1),f!==_&&!this._lock){var E=M&&_&1,k=E===(M&&f&1);if(f<_&&(E=!E),o=E?0:u%c?c:u,this._lock=1,this.render(o||(A?0:De(f*v)),s,!c)._lock=0,this._tTime=u,!s&&this.parent&&Lt(this,"onRepeat"),this.vars.repeatRefresh&&!A&&(this.invalidate()._lock=1),o&&o!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,k&&(this._lock=2,o=E?c:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!A&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;Nl(this,A)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=bd(this,De(o),De(m)),w&&(u-=m-(m=w._start))),this._tTime=u,this._time=m,this._act=!g,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,o=0),!o&&u&&!s&&!_&&(Lt(this,"onStart"),this._tTime!==u))return this;if(m>=o&&r>=0)for(p=this._first;p;){if(d=p._next,(p._act||m>=p._start)&&p._ts&&w!==p){if(p.parent!==this)return this.render(r,s,a);if(p.render(p._ts>0?(m-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(m-p._start)*p._ts,s,a),m!==this._time||!this._ts&&!b){w=0,d&&(u+=this._zTime=-1e-8);break}}p=d}else{p=this._last;for(var x=r<0?r:m;p;){if(d=p._prev,(p._act||x<=p._end)&&p._ts&&w!==p){if(p.parent!==this)return this.render(r,s,a);if(p.render(p._ts>0?(x-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(x-p._start)*p._ts,s,a||Ze&&Sa(p)),m!==this._time||!this._ts&&!b){w=0,d&&(u+=this._zTime=x?-1e-8:it);break}}p=d}}if(w&&!s&&(this.pause(),w.render(m>=o?0:-1e-8)._zTime=m>=o?1:-1,this._ts))return this._start=y,fs(this),this.render(r,s,a);this._onUpdate&&!s&&Lt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&o)&&(y===this._start||Math.abs(g)!==Math.abs(this._ts))&&(this._lock||((r||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Li(this,1),!s&&!(r<0&&!o)&&(u||o||!l)&&(Lt(this,u===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u0)&&this._prom())))}return this},t.add=function(r,s){var a=this;if(_i(s)||(s=qt(this,s,r)),!(r instanceof wn)){if(rt(r))return r.forEach(function(o){return a.add(o,s)}),this;if(We(r))return this.addLabel(r,s);if(ke(r))r=ze.delayedCall(0,r);else return this}return this!==r?di(this,r,s):this},t.getChildren=function(r,s,a,o){r===void 0&&(r=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-1e8);for(var l=[],c=this._first;c;)c._start>=o&&(c instanceof ze?s&&l.push(c):(a&&l.push(c),r&&l.push.apply(l,c.getChildren(!0,s,a)))),c=c._next;return l},t.getById=function(r){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===r)return s[a]},t.remove=function(r){return We(r)?this.removeLabel(r):ke(r)?this.killTweensOf(r):(r.parent===this&&us(this,r),r===this._recent&&(this._recent=this._last),Qi(this))},t.totalTime=function(r,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=De(Dt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),n.prototype.totalTime.call(this,r,s),this._forcing=0,this):this._tTime},t.addLabel=function(r,s){return this.labels[r]=qt(this,s),this},t.removeLabel=function(r){return delete this.labels[r],this},t.addPause=function(r,s,a){var o=ze.delayedCall(0,s||un,a);return o.data="isPause",this._hasPause=1,di(this,o,qt(this,r))},t.removePause=function(r){var s=this._first;for(r=qt(this,r);s;)s._start===r&&s.data==="isPause"&&Li(s),s=s._next},t.killTweensOf=function(r,s,a){for(var o=this.getTweensOf(r,a),l=o.length;l--;)Ri!==o[l]&&o[l].kill(r,s);return this},t.getTweensOf=function(r,s){for(var a=[],o=Gt(r),l=this._first,c=_i(s),u;l;)l instanceof ze?pd(l._targets,o)&&(c?(!Ri||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(u=l.getTweensOf(o,s)).length&&a.push.apply(a,u),l=l._next;return a},t.tweenTo=function(r,s){s=s||{};var a=this,o=qt(a,r),l=s,c=l.startAt,u=l.onStart,h=l.onStartParams,m=l.immediateRender,p,d=ze.to(a,It({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(c&&"time"in c?c.time:a._time))/a.timeScale())||it,onStart:function(){if(a.pause(),!p){var v=s.duration||Math.abs((o-(c&&"time"in c?c.time:a._time))/a.timeScale());d._dur!==v&&zr(d,v,0,1).render(d._time,!0,!0),p=1}u&&u.apply(d,h||[])}},s));return m?d.render(0):d},t.tweenFromTo=function(r,s,a){return this.tweenTo(s,It({startAt:{time:qt(this,r)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(r){return r===void 0&&(r=this._time),Cl(this,qt(this,r))},t.previousLabel=function(r){return r===void 0&&(r=this._time),Cl(this,qt(this,r),1)},t.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+it)},t.shiftChildren=function(r,s,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,c;o;)o._start>=a&&(o._start+=r,o._end+=r),o=o._next;if(s)for(c in l)l[c]>=a&&(l[c]+=r);return Qi(this)},t.invalidate=function(r){var s=this._first;for(this._lock=0;s;)s.invalidate(r),s=s._next;return n.prototype.invalidate.call(this,r)},t.clear=function(r){r===void 0&&(r=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Qi(this)},t.totalDuration=function(r){var s=0,a=this,o=a._last,l=li,c,u,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-r:r));if(a._dirty){for(h=a.parent;o;)c=o._prev,o._dirty&&o.totalDuration(),u=o._start,u>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,di(a,o,u-o._delay,1)._lock=0):l=u,u<0&&o._ts&&(s-=u,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=u/a._ts,a._time-=u,a._tTime-=u),a.shiftChildren(-u,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=c;zr(a,a===xe&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(r){if(xe._ts&&(fl(xe,ds(r,xe)),cl=Dt.frame),Dt.frame>=ul){ul+=Ct.autoSleep||120;var s=xe._first;if((!s||!s._ts)&&Ct.autoSleep&&Dt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Dt.sleep()}}},e}(wn);It(pt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rd=function(e,t,i,r,s,a,o){var l=new Tt(this._pt,e,t,0,1,ql,null,s),c=0,u=0,h,m,p,d,f,v,b,w;for(l.b=i,l.e=r,i+="",r+="",(b=~r.indexOf("random("))&&(r=hn(r)),a&&(w=[i,r],a(w,e,t),i=w[0],r=w[1]),m=i.match(pa)||[];h=pa.exec(r);)d=h[0],f=r.substring(c,h.index),p?p=(p+1)%5:f.substr(-5)==="rgba("&&(p=1),d!==m[u++]&&(v=parseFloat(m[u-1])||0,l._pt={_next:l._pt,p:f||u===1?f:",",s:v,c:d.charAt(1)==="="?Ir(v,d)-v:parseFloat(d)-v,m:p&&p<4?Math.round:0},c=pa.lastIndex);return l.c=c")}),y.duration();else{M={};for(E in d)E==="ease"||E==="easeEach"||$d(E,d[E],M,d.easeEach);for(E in M)for(T=M[E].sort(function(z,O){return z.t-O.t}),S=0,_=0;_l-it&&!u?l:rc&&(m=c)),b=this._yoyo&&d&1,b&&(y=this._yEase,m=c-m),v=Dr(this._tTime,f),m===o&&!a&&this._initted&&d===v)return this._tTime=h,this;d!==v&&(g&&this._yEase&&Nl(g,b),this.vars.repeatRefresh&&!b&&!this._lock&&m!==f&&this._initted&&(this._lock=a=1,this.render(De(f*d),!0).invalidate()._lock=0))}if(!this._initted){if(bl(this,u?r:m,a,s,h))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&d!==v))return this;if(c!==this._dur)return this.render(r,s,a)}if(this._tTime=h,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(y||this._ease)(m/c),this._from&&(this.ratio=w=1-w),!o&&h&&!s&&!v&&(Lt(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(w,p.d),p=p._next;g&&g.render(r<0?r:g._dur*g._ease(m/this._dur),s,a)||this._startAt&&(this._zTime=r),this._onUpdate&&!s&&(u&&Ta(this,r,s,a),Lt(this,"onUpdate")),this._repeat&&d!==v&&this.vars.onRepeat&&!s&&this.parent&&Lt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&Ta(this,r,!0,!0),(r||!c)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Li(this,1),!s&&!(u&&!o)&&(h||o||b)&&(Lt(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),n.prototype.invalidate.call(this,r)},t.resetTo=function(r,s,a,o,l){vn||Dt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||La(this,c),u=this._ease(c/this._dur),Fd(this,r,s,a,o,u,c,l)?this.resetTo(r,s,a,o,1):(ps(this,0),this.parent||gl(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(r,s){if(s===void 0&&(s="all"),!r&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?mn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ze),this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(r,s,Ri&&Ri.vars.overwrite!==!0)._first||mn(this),this.parent&&a!==this.timeline.totalDuration()&&zr(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=r?Gt(r):o,c=this._ptLookup,u=this._pt,h,m,p,d,f,v,b;if((!s||s==="all")&&md(o,l))return s==="all"&&(this._pt=0),mn(this);for(h=this._op=this._op||[],s!=="all"&&(We(s)&&(f={},St(s,function(w){return f[w]=1}),s=f),s=Bd(o,s)),b=o.length;b--;)if(~l.indexOf(o[b])){m=c[b],s==="all"?(h[b]=s,d=m,p={}):(p=h[b]=h[b]||{},d=s);for(f in d)v=m&&m[f],v&&((!("kill"in v.d)||v.d.kill(f)===!0)&&us(this,v,"_pt"),delete m[f]),p!=="all"&&(p[f]=1)}return this._initted&&!this._pt&&u&&mn(this),this},e.to=function(r,s){return new e(r,s,arguments[2])},e.from=function(r,s){return fn(1,arguments)},e.delayedCall=function(r,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(r,s,a){return fn(2,arguments)},e.set=function(r,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(r,s)},e.killTweensOf=function(r,s,a){return xe.killTweensOf(r,s,a)},e}(wn);It(ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),St("staggerTo,staggerFrom,staggerFromTo",function(n){ze[n]=function(){var e=new pt,t=xa.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Da=function(e,t,i){return e[t]=i},Wl=function(e,t,i){return e[t](i)},Yd=function(e,t,i,r){return e[t](r.fp,i)},Hd=function(e,t,i){return e.setAttribute(t,i)},za=function(e,t){return ke(e[t])?Wl:ua(e[t])&&e.setAttribute?Hd:Da},Vl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Wd=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ql=function(e,t){var i=t._pt,r="";if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+r,i=i._next;r+=t.c}t.set(t.t,t.p,r,t)},Ra=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},Vd=function(e,t,i,r){for(var s=this._pt,a;s;)a=s._next,s.p===r&&s.modifier(e,t,i),s=a},qd=function(e){for(var t=this._pt,i,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?us(this,t,"_pt"):t.dep||(i=1),t=r;return!i},Gd=function(e,t,i,r){r.mSet(e,t,r.m.call(r.tween,i,r.mt),r)},Gl=function(e){for(var t=e._pt,i,r,s,a;t;){for(i=t._next,r=s;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:s=t,(t._next=r)?r._prev=t:a=t,t=i}e._pt=s},Tt=function(){function n(t,i,r,s,a,o,l,c,u){this.t=i,this.s=s,this.c=a,this.p=r,this.r=o||Vl,this.d=l||this,this.set=c||Da,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(i,r,s){this.mSet=this.mSet||this.set,this.set=Gd,this.m=i,this.mt=s,this.tween=r},n}();St(ba+"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 va[n]=1}),Pt.TweenMax=Pt.TweenLite=ze,Pt.TimelineLite=Pt.TimelineMax=pt,xe=new pt({sortChildren:!1,defaults:Pr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ct.stringFilter=zl;var ir=[],hs={},jd=[],jl=0,Xd=0,Na=function(e){return(hs[e]||jd).map(function(t){return t()})},Fa=function(){var e=Date.now(),t=[];e-jl>2&&(Na("matchMediaInit"),ir.forEach(function(i){var r=i.queries,s=i.conditions,a,o,l,c;for(o in r)a=ui.matchMedia(r[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,c=1);c&&(i.revert(),l&&t.push(i))}),Na("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),jl=e,Na("matchMedia"))},Xl=function(){function n(t,i){this.selector=i&&Aa(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Xd++,t&&this.add(t)}var e=n.prototype;return e.add=function(i,r,s){ke(i)&&(s=r,r=i,i=ke);var a=this,o=function(){var c=be,u=a.selector,h;return c&&c!==a&&c.data.push(a),s&&(a.selector=Aa(s)),be=a,h=r.apply(a,arguments),ke(h)&&a._r.push(h),be=c,a.selector=u,a.isReverted=!1,h};return a.last=o,i===ke?o(a,function(l){return a.add(null,l)}):i?a[i]=o:o},e.ignore=function(i){var r=be;be=null,i(this),be=r},e.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof n?i.push.apply(i,r.getTweens()):r instanceof ze&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,r){var s=this;if(i?function(){for(var o=s.getTweens(),l=s.data.length,c;l--;)c=s.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}));for(o.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(i)}),l=s.data.length;l--;)c=s.data[l],c instanceof pt?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof ze)&&c.revert&&c.revert(i);s._r.forEach(function(u){return u(i,s)}),s.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),r)for(var a=ir.length;a--;)ir[a].id===this.id&&ir.splice(a,1)},e.revert=function(i){this.kill(i||{})},n}(),Ud=function(){function n(t){this.contexts=[],this.scope=t,be&&be.data.push(this)}var e=n.prototype;return e.add=function(i,r,s){ci(i)||(i={matches:i});var a=new Xl(0,s||this.scope),o=a.conditions={},l,c,u;be&&!a.selector&&(a.selector=be.selector),this.contexts.push(a),r=a.add("onMatch",r),a.queries=i;for(c in i)c==="all"?u=1:(l=ui.matchMedia(i[c]),l&&(ir.indexOf(a)<0&&ir.push(a),(o[c]=l.matches)&&(u=1),l.addListener?l.addListener(Fa):l.addEventListener("change",Fa)));return u&&r(a,function(h){return a.add(null,h)}),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},n}(),ms={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i1){var r=e.map(function(u){return Et.quickSetter(u,t,i)}),s=r.length;return function(u){for(var h=s;h--;)r[h](u)}}e=e[0]||{};var a=Ot[t],o=Ji(e),l=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(u){var h=new a;Rr._pt=0,h.init(e,i?u+i:u,Rr,0,[e]),h.render(1,h),Rr._pt&&Ra(1,Rr)}:o.set(e,l);return a?c:function(u){return c(e,l,i?u+i:u,o,1)}},quickTo:function(e,t,i){var r,s=Et.to(e,It((r={},r[t]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),a=function(l,c,u){return s.resetTo(t,l,c,u)};return a.tween=s,a},isTweening:function(e){return xe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=er(e.ease,Pr.ease)),ml(Pr,e||{})},config:function(e){return ml(Ct,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,r=e.plugins,s=e.defaults,a=e.extendTimeline;(r||"").split(",").forEach(function(o){return o&&!Ot[o]&&!Pt[o]&&cn(t+" effect requires "+o+" plugin.")}),ya[t]=function(o,l,c){return i(Gt(o),It(l||{},s),c)},a&&(pt.prototype[t]=function(o,l,c){return this.add(ya[t](o,ci(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){oe[e]=er(t)},parseEase:function(e,t){return arguments.length?er(e,t):oe},getById:function(e){return xe.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var i=new pt(e),r,s;for(i.smoothChildTiming=_t(e.smoothChildTiming),xe.remove(i),i._dp=0,i._time=i._tTime=xe._time,r=xe._first;r;)s=r._next,(t||!(!r._dur&&r instanceof ze&&r.vars.onComplete===r._targets[0]))&&di(i,r,r._start-r._delay),r=s;return di(xe,i,0),i},context:function(e,t){return e?new Xl(e,t):be},matchMedia:function(e){return new Ud(e)},matchMediaRefresh:function(){return ir.forEach(function(e){var t=e.conditions,i,r;for(r in t)t[r]&&(t[r]=!1,i=1);i&&e.revert()})||Fa()},addEventListener:function(e,t){var i=hs[e]||(hs[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=hs[e],r=i&&i.indexOf(t);r>=0&&i.splice(r,1)},utils:{wrap:Md,wrapYoyo:kd,distribute:El,random:Al,snap:xl,normalize:Ad,getUnit:nt,clamp:Sd,splitColor:Il,toArray:Gt,selector:Aa,mapRange:kl,pipe:Ed,unitize:xd,interpolate:Cd,shuffle:Tl},install:ol,effects:ya,ticker:Dt,updateRoot:pt.updateRoot,plugins:Ot,globalTimeline:xe,core:{PropTween:Tt,globals:ll,Tween:ze,Timeline:pt,Animation:wn,getCache:Ji,_removeLinkedListItem:us,reverting:function(){return Ze},context:function(e){return e&&be&&(be.data.push(e),e._ctx=be),be},suppressOverwrites:function(e){return la=e}}};St("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return ms[n]=ze[n]}),Dt.add(pt.updateRoot),Rr=ms.to({},{duration:0});var Zd=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},Kd=function(e,t){var i=e._targets,r,s,a;for(r in t)for(s=i.length;s--;)a=e._ptLookup[s][r],a&&(a=a.d)&&(a._pt&&(a=Zd(a,r)),a&&a.modifier&&a.modifier(t[r],e,i[s],r))},Ba=function(e,t){return{name:e,headless:1,rawVars:1,init:function(r,s,a){a._onInit=function(o){var l,c;if(We(s)&&(l={},St(s,function(u){return l[u]=1}),s=l),t){l={};for(c in s)l[c]=t(s[c]);s=l}Kd(o,s)}}}},Et=ms.registerPlugin({name:"attr",init:function(e,t,i,r,s){var a,o,l;this.tween=i;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],r,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var i=t._pt;i;)Ze?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",headless:1,init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},Ba("roundProps",Ma),Ba("modifiers"),Ba("snap",xl))||ms;ze.version=pt.version=Et.version="3.13.0",al=1,da()&&Nr(),oe.Power0,oe.Power1,oe.Power2,oe.Power3,oe.Power4,oe.Linear,oe.Quad,oe.Cubic,oe.Quart,oe.Quint,oe.Strong,oe.Elastic,oe.Back,oe.SteppedEase,oe.Bounce,oe.Sine,oe.Expo,oe.Circ;/*! * CSSPlugin 3.13.0 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var Ul,Ni,Fr,$a,rr,Zl,Ya,Jd=function(){return typeof window<"u"},Si={},nr=180/Math.PI,Br=Math.PI/180,$r=Math.atan2,Kl=1e8,Ha=/([A-Z])/g,Qd=/(left|right|width|margin|padding|x)/i,ef=/[\s,\(]\S/,fi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Wa=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},tf=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)},rf=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)},nf=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},Jl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Ql=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},sf=function(e,t,i){return e.style[t]=i},af=function(e,t,i){return e.style.setProperty(t,i)},of=function(e,t,i){return e._gsap[t]=i},lf=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},cf=function(e,t,i,r,s){var a=e._gsap;a.scaleX=a.scaleY=i,a.renderTransform(s,a)},uf=function(e,t,i,r,s){var a=e._gsap;a[t]=i,a.renderTransform(s,a)},Ae="transform",xt=Ae+"Origin",df=function n(e,t){var i=this,r=this.target,s=r.style,a=r._gsap;if(e in Si&&s){if(this.tfm=this.tfm||{},e!=="transform")e=fi[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return i.tfm[o]=Ti(r,o)}):this.tfm[e]=a.x?a[e]:Ti(r,e),e===xt&&(this.tfm.zOrigin=a.zOrigin);else return fi.transform.split(",").forEach(function(o){return n.call(i,o,t)});if(this.props.indexOf(Ae)>=0)return;a.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(xt,t,"")),e=Ae}(s||t)&&this.props.push(e,t,s[e])},ec=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ff=function(){var e=this.props,t=this.target,i=t.style,r=t._gsap,s,a;for(s=0;s=0?rc[a]:"")+e},qa=function(){Jd()&&window.document&&(Ul=window,Ni=Ul.document,Fr=Ni.documentElement,rr=Va("div")||{style:{}},Va("div"),Ae=Yr(Ae),xt=Ae+"Origin",rr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ic=!!Yr("perspective"),Ya=Et.core.reverting,$a=1)},nc=function(e){var t=e.ownerSVGElement,i=Va("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0),s;r.style.display="block",i.appendChild(r),Fr.appendChild(i);try{s=r.getBBox()}catch{}return i.removeChild(r),Fr.removeChild(i),s},sc=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},ac=function(e){var t,i;try{t=e.getBBox()}catch{t=nc(e),i=1}return t&&(t.width||t.height)||i||(t=nc(e)),t&&!t.width&&!t.x&&!t.y?{x:+sc(e,["x","cx","x1"])||0,y:+sc(e,["y","cy","y1"])||0,width:0,height:0}:t},oc=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ac(e))},sr=function(e,t){if(t){var i=e.style,r;t in Si&&t!==xt&&(t=Ae),i.removeProperty?(r=t.substr(0,2),(r==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(r==="--"?t:t.replace(Ha,"-$1").toLowerCase())):i.removeAttribute(t)}},Fi=function(e,t,i,r,s,a){var o=new Tt(e._pt,t,i,0,1,a?Ql:Jl);return e._pt=o,o.b=r,o.e=s,e._props.push(i),o},lc={deg:1,rad:1,turn:1},pf={grid:1,flex:1},Bi=function n(e,t,i,r){var s=parseFloat(i)||0,a=(i+"").trim().substr((s+"").length)||"px",o=rr.style,l=Qd.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),h=100,m=r==="px",p=r==="%",d,f,v,b;if(r===a||!s||lc[r]||lc[a])return s;if(a!=="px"&&!m&&(s=n(e,t,i,"px")),b=e.getCTM&&oc(e),(p||a==="%")&&(Si[t]||~t.indexOf("adius")))return d=b?e.getBBox()[l?"width":"height"]:e[u],Oe(p?s/d*h:s/100*d);if(o[l?"width":"height"]=h+(m?a:r),f=r!=="rem"&&~t.indexOf("adius")||r==="em"&&e.appendChild&&!c?e:e.parentNode,b&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===Ni||!f.appendChild)&&(f=Ni.body),v=f._gsap,v&&p&&v.width&&l&&v.time===Dt.time&&!v.uncache)return Oe(s/v.width*h);if(p&&(t==="height"||t==="width")){var w=e.style[t];e.style[t]=h+r,d=e[u],w?e.style[t]=w:sr(e,t)}else(p||a==="%")&&!pf[jt(f,"display")]&&(o.position=jt(e,"position")),f===e&&(o.position="static"),f.appendChild(rr),d=rr[u],f.removeChild(rr),o.position="absolute";return l&&p&&(v=Ji(f),v.time=Dt.time,v.width=f[u]),Oe(m?d*s/h:d&&s?h/d*s:0)},Ti=function(e,t,i,r){var s;return $a||qa(),t in fi&&t!=="transform"&&(t=fi[t],~t.indexOf(",")&&(t=t.split(",")[0])),Si[t]&&t!=="transform"?(s=_n(e,r),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:vs(jt(e,xt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||r||~(s+"").indexOf("calc("))&&(s=gs[t]&&gs[t](e,t,i)||jt(e,t)||dl(e,t)||(t==="opacity"?1:0))),i&&!~(s+"").trim().indexOf(" ")?Bi(e,t,s,i)+i:s},hf=function(e,t,i,r){if(!i||i==="none"){var s=Yr(t,e,1),a=s&&jt(e,s,1);a&&a!==i?(t=s,i=a):t==="borderColor"&&(i=jt(e,"borderTopColor"))}var o=new Tt(this._pt,e.style,t,0,1,ql),l=0,c=0,u,h,m,p,d,f,v,b,w,g,y,_;if(o.b=i,o.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=jt(e,r.substring(4,r.indexOf(")")))),r==="auto"&&(f=e.style[t],e.style[t]=r,r=jt(e,t)||r,f?e.style[t]=f:sr(e,t)),u=[i,r],zl(u),i=u[0],r=u[1],m=i.match(Or)||[],_=r.match(Or)||[],_.length){for(;h=Or.exec(r);)v=h[0],w=r.substring(l,h.index),d?d=(d+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(d=1),v!==(f=m[c++]||"")&&(p=parseFloat(f)||0,y=f.substr((p+"").length),v.charAt(1)==="="&&(v=Ir(p,v)+y),b=parseFloat(v),g=v.substr((b+"").length),l=Or.lastIndex-g.length,g||(g=g||Ct.units[t]||y,l===r.length&&(r+=g,o.e+=g)),y!==g&&(p=Bi(e,t,f,g)||0),o._pt={_next:o._pt,p:w||c===1?w:",",s:p,c:b-p,m:d&&d<4||t==="zIndex"?Math.round:0});o.c=l-1;)o=s[c],Si[o]&&(l=1,o=o==="transformOrigin"?xt:Ae),sr(i,o);l&&(sr(i,Ae),a&&(a.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",_n(i,1),a.uncache=1,ec(r)))}},gs={clearProps:function(e,t,i,r,s){if(s.data!=="isFromStart"){var a=e._pt=new Tt(e._pt,t,i,0,0,gf);return a.u=r,a.pr=-10,a.tween=s,e._props.push(i),1}}},bn=[1,0,0,1,0,0],uc={},dc=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},fc=function(e){var t=jt(e,Ae);return dc(t)?bn:t.substr(7).match(rl).map(Oe)},Ga=function(e,t){var i=e._gsap||Ji(e),r=e.style,s=fc(e),a,o,l,c;return i.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"?bn:s):(s===bn&&!e.offsetParent&&e!==Fr&&!i.svg&&(l=r.display,r.display="block",a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Fr.appendChild(e)),s=fc(e),l?r.display=l:sr(e,"display"),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Fr.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},ja=function(e,t,i,r,s,a){var o=e._gsap,l=s||Ga(e,!0),c=o.xOrigin||0,u=o.yOrigin||0,h=o.xOffset||0,m=o.yOffset||0,p=l[0],d=l[1],f=l[2],v=l[3],b=l[4],w=l[5],g=t.split(" "),y=parseFloat(g[0])||0,_=parseFloat(g[1])||0,M,A,E,k;i?l!==bn&&(A=p*v-d*f)&&(E=y*(v/A)+_*(-f/A)+(f*w-v*b)/A,k=y*(-d/A)+_*(p/A)-(p*w-d*b)/A,y=E,_=k):(M=ac(e),y=M.x+(~g[0].indexOf("%")?y/100*M.width:y),_=M.y+(~(g[1]||g[0]).indexOf("%")?_/100*M.height:_)),r||r!==!1&&o.smooth?(b=y-c,w=_-u,o.xOffset=h+(b*p+w*f)-b,o.yOffset=m+(b*d+w*v)-w):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=_,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!i,e.style[xt]="0px 0px",a&&(Fi(a,o,"xOrigin",c,y),Fi(a,o,"yOrigin",u,_),Fi(a,o,"xOffset",h,o.xOffset),Fi(a,o,"yOffset",m,o.yOffset)),e.setAttribute("data-svg-origin",y+" "+_)},_n=function(e,t){var i=e._gsap||new Bl(e);if("x"in i&&!t&&!i.uncache)return i;var r=e.style,s=i.scaleX<0,a="px",o="deg",l=getComputedStyle(e),c=jt(e,xt)||"0",u,h,m,p,d,f,v,b,w,g,y,_,M,A,E,k,x,D,S,T,C,L,z,O,I,N,P,H,G,re,de,B;return u=h=m=f=v=b=w=g=y=0,p=d=1,i.svg=!!(e.getCTM&&oc(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[Ae]=(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[Ae]!=="none"?l[Ae]:"")),r.scale=r.rotate=r.translate="none"),A=Ga(e,i.svg),i.svg&&(i.uncache?(I=e.getBBox(),c=i.xOrigin-I.x+"px "+(i.yOrigin-I.y)+"px",O=""):O=!t&&e.getAttribute("data-svg-origin"),ja(e,O||c,!!O||i.originIsAbsolute,i.smooth!==!1,A)),_=i.xOrigin||0,M=i.yOrigin||0,A!==bn&&(D=A[0],S=A[1],T=A[2],C=A[3],u=L=A[4],h=z=A[5],A.length===6?(p=Math.sqrt(D*D+S*S),d=Math.sqrt(C*C+T*T),f=D||S?$r(S,D)*nr:0,w=T||C?$r(T,C)*nr+f:0,w&&(d*=Math.abs(Math.cos(w*Br))),i.svg&&(u-=_-(_*D+M*T),h-=M-(_*S+M*C))):(B=A[6],re=A[7],P=A[8],H=A[9],G=A[10],de=A[11],u=A[12],h=A[13],m=A[14],E=$r(B,G),v=E*nr,E&&(k=Math.cos(-E),x=Math.sin(-E),O=L*k+P*x,I=z*k+H*x,N=B*k+G*x,P=L*-x+P*k,H=z*-x+H*k,G=B*-x+G*k,de=re*-x+de*k,L=O,z=I,B=N),E=$r(-T,G),b=E*nr,E&&(k=Math.cos(-E),x=Math.sin(-E),O=D*k-P*x,I=S*k-H*x,N=T*k-G*x,de=C*x+de*k,D=O,S=I,T=N),E=$r(S,D),f=E*nr,E&&(k=Math.cos(E),x=Math.sin(E),O=D*k+S*x,I=L*k+z*x,S=S*k-D*x,z=z*k-L*x,D=O,L=I),v&&Math.abs(v)+Math.abs(f)>359.9&&(v=f=0,b=180-b),p=Oe(Math.sqrt(D*D+S*S+T*T)),d=Oe(Math.sqrt(z*z+B*B)),E=$r(L,z),w=Math.abs(E)>2e-4?E*nr:0,y=de?1/(de<0?-de:de):0),i.svg&&(O=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!dc(jt(e,Ae)),O&&e.setAttribute("transform",O))),Math.abs(w)>90&&Math.abs(w)<270&&(s?(p*=-1,w+=f<=0?180:-180,f+=f<=0?180:-180):(d*=-1,w+=w<=0?180:-180)),t=t||i.uncache,i.x=u-((i.xPercent=u&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+a,i.y=h-((i.yPercent=h&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+a,i.z=m+a,i.scaleX=Oe(p),i.scaleY=Oe(d),i.rotation=Oe(f)+o,i.rotationX=Oe(v)+o,i.rotationY=Oe(b)+o,i.skewX=w+o,i.skewY=g+o,i.transformPerspective=y+a,(i.zOrigin=parseFloat(c.split(" ")[2])||!t&&i.zOrigin||0)&&(r[xt]=vs(c)),i.xOffset=i.yOffset=0,i.force3D=Ct.force3D,i.renderTransform=i.svg?wf:ic?pc:vf,i.uncache=0,i},vs=function(e){return(e=e.split(" "))[0]+" "+e[1]},Xa=function(e,t,i){var r=nt(t);return Oe(parseFloat(t)+parseFloat(Bi(e,"x",i+"px",r)))+r},vf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,pc(e,t)},ar="0deg",Sn="0px",or=") ",pc=function(e,t){var i=t||this,r=i.xPercent,s=i.yPercent,a=i.x,o=i.y,l=i.z,c=i.rotation,u=i.rotationY,h=i.rotationX,m=i.skewX,p=i.skewY,d=i.scaleX,f=i.scaleY,v=i.transformPerspective,b=i.force3D,w=i.target,g=i.zOrigin,y="",_=b==="auto"&&e&&e!==1||b===!0;if(g&&(h!==ar||u!==ar)){var M=parseFloat(u)*Br,A=Math.sin(M),E=Math.cos(M),k;M=parseFloat(h)*Br,k=Math.cos(M),a=Xa(w,a,A*k*-g),o=Xa(w,o,-Math.sin(M)*-g),l=Xa(w,l,E*k*-g+g)}v!==Sn&&(y+="perspective("+v+or),(r||s)&&(y+="translate("+r+"%, "+s+"%) "),(_||a!==Sn||o!==Sn||l!==Sn)&&(y+=l!==Sn||_?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+or),c!==ar&&(y+="rotate("+c+or),u!==ar&&(y+="rotateY("+u+or),h!==ar&&(y+="rotateX("+h+or),(m!==ar||p!==ar)&&(y+="skew("+m+", "+p+or),(d!==1||f!==1)&&(y+="scale("+d+", "+f+or),w.style[Ae]=y||"translate(0, 0)"},wf=function(e,t){var i=t||this,r=i.xPercent,s=i.yPercent,a=i.x,o=i.y,l=i.rotation,c=i.skewX,u=i.skewY,h=i.scaleX,m=i.scaleY,p=i.target,d=i.xOrigin,f=i.yOrigin,v=i.xOffset,b=i.yOffset,w=i.forceCSS,g=parseFloat(a),y=parseFloat(o),_,M,A,E,k;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Br,c*=Br,_=Math.cos(l)*h,M=Math.sin(l)*h,A=Math.sin(l-c)*-m,E=Math.cos(l-c)*m,c&&(u*=Br,k=Math.tan(c-u),k=Math.sqrt(1+k*k),A*=k,E*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),_*=k,M*=k)),_=Oe(_),M=Oe(M),A=Oe(A),E=Oe(E)):(_=h,E=m,M=A=0),(g&&!~(a+"").indexOf("px")||y&&!~(o+"").indexOf("px"))&&(g=Bi(p,"x",a,"px"),y=Bi(p,"y",o,"px")),(d||f||v||b)&&(g=Oe(g+d-(d*_+f*A)+v),y=Oe(y+f-(d*M+f*E)+b)),(r||s)&&(k=p.getBBox(),g=Oe(g+r/100*k.width),y=Oe(y+s/100*k.height)),k="matrix("+_+","+M+","+A+","+E+","+g+","+y+")",p.setAttribute("transform",k),w&&(p.style[Ae]=k)},yf=function(e,t,i,r,s){var a=360,o=We(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?nr:1),c=l-r,u=r+c+"deg",h,m;return o&&(h=s.split("_")[1],h==="short"&&(c%=a,c!==c%(a/2)&&(c+=c<0?a:-360)),h==="cw"&&c<0?c=(c+a*Kl)%a-~~(c/a)*a:h==="ccw"&&c>0&&(c=(c-a*Kl)%a-~~(c/a)*a)),e._pt=m=new Tt(e._pt,t,i,r,c,tf),m.e=u,m.u="deg",e._props.push(i),m},hc=function(e,t){for(var i in t)e[i]=t[i];return e},bf=function(e,t,i){var r=hc({},i._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,l,c,u,h,m,p,d;r.svg?(c=i.getAttribute("transform"),i.setAttribute("transform",""),a[Ae]=t,o=_n(i,1),sr(i,Ae),i.setAttribute("transform",c)):(c=getComputedStyle(i)[Ae],a[Ae]=t,o=_n(i,1),a[Ae]=c);for(l in Si)c=r[l],u=o[l],c!==u&&s.indexOf(l)<0&&(p=nt(c),d=nt(u),h=p!==d?Bi(i,l,c,d):parseFloat(c),m=parseFloat(u),e._pt=new Tt(e._pt,o,l,h,m-h,Wa),e._pt.u=d||0,e._props.push(l));hc(o,r)};St("padding,margin,Width,Radius",function(n,e){var t="Top",i="Right",r="Bottom",s="Left",a=(e<3?[t,i,r,s]:[t+s,t+i,r+i,r+s]).map(function(o){return e<2?n+o:"border"+o+n});gs[e>1?"border"+n:n]=function(o,l,c,u,h){var m,p;if(arguments.length<4)return m=a.map(function(d){return Ti(o,d,c)}),p=m.join(" "),p.split(m[0]).length===5?m[0]:p;m=(u+"").split(" "),p={},a.forEach(function(d,f){return p[d]=m[f]=m[f]||m[(f-1)/2|0]}),o.init(l,p,h)}});var mc={name:"css",register:qa,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,r,s){var a=this._props,o=e.style,l=i.vars.startAt,c,u,h,m,p,d,f,v,b,w,g,y,_,M,A,E;$a||qa(),this.styles=this.styles||tc(e),E=this.styles.props,this.tween=i;for(f in t)if(f!=="autoRound"&&(u=t[f],!(Ot[f]&&$l(f,t,i,r,e,s)))){if(p=typeof u,d=gs[f],p==="function"&&(u=u.call(i,r,e,s),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=hn(u)),d)d(this,e,f,u,i)&&(A=1);else if(f.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",zi.lastIndex=0,zi.test(c)||(v=nt(c),b=nt(u)),b?v!==b&&(c=Bi(e,f,c,b)+b):v&&(u+=v),this.add(o,"setProperty",c,u,r,s,0,0,f),a.push(f),E.push(f,0,o[f]);else if(p!=="undefined"){if(l&&f in l?(c=typeof l[f]=="function"?l[f].call(i,r,e,s):l[f],We(c)&&~c.indexOf("random(")&&(c=hn(c)),nt(c+"")||c==="auto"||(c+=Ct.units[f]||nt(Ti(e,f))||""),(c+"").charAt(1)==="="&&(c=Ti(e,f))):c=Ti(e,f),m=parseFloat(c),w=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),h=parseFloat(u),f in fi&&(f==="autoAlpha"&&(m===1&&Ti(e,"visibility")==="hidden"&&h&&(m=0),E.push("visibility",0,o.visibility),Fi(this,o,"visibility",m?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=fi[f],~f.indexOf(",")&&(f=f.split(",")[0]))),g=f in Si,g){if(this.styles.save(f),p==="string"&&u.substring(0,6)==="var(--"&&(u=jt(e,u.substring(4,u.indexOf(")"))),h=parseFloat(u)),y||(_=e._gsap,_.renderTransform&&!t.parseTransform||_n(e,t.parseTransform),M=t.smoothOrigin!==!1&&_.smooth,y=this._pt=new Tt(this._pt,o,Ae,0,1,_.renderTransform,_,0,-1),y.dep=1),f==="scale")this._pt=new Tt(this._pt,_,"scaleY",_.scaleY,(w?Ir(_.scaleY,w+h):h)-_.scaleY||0,Wa),this._pt.u=0,a.push("scaleY",f),f+="X";else if(f==="transformOrigin"){E.push(xt,0,o[xt]),u=mf(u),_.svg?ja(e,u,0,M,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==_.zOrigin&&Fi(this,_,"zOrigin",_.zOrigin,b),Fi(this,o,f,vs(c),vs(u)));continue}else if(f==="svgOrigin"){ja(e,u,1,M,0,this);continue}else if(f in uc){yf(this,_,f,m,w?Ir(m,w+u):u);continue}else if(f==="smoothOrigin"){Fi(this,_,"smooth",_.smooth,u);continue}else if(f==="force3D"){_[f]=u;continue}else if(f==="transform"){bf(this,u,e);continue}}else f in o||(f=Yr(f)||f);if(g||(h||h===0)&&(m||m===0)&&!ef.test(u)&&f in o)v=(c+"").substr((m+"").length),h||(h=0),b=nt(u)||(f in Ct.units?Ct.units[f]:v),v!==b&&(m=Bi(e,f,c,b)),this._pt=new Tt(this._pt,g?_:o,f,m,(w?Ir(m,w+h):h)-m,!g&&(b==="px"||f==="zIndex")&&t.autoRound!==!1?nf:Wa),this._pt.u=b||0,v!==b&&b!=="%"&&(this._pt.b=c,this._pt.r=rf);else if(f in o)hf.call(this,e,f,c,w?w+u:u);else if(f in e)this.add(e,f,c||e[f],w?w+u:u,r,s);else if(f!=="parseTransform"){ga(f,u);continue}g||(f in o?E.push(f,0,o[f]):typeof e[f]=="function"?E.push(f,2,e[f]()):E.push(f,1,c||e[f])),a.push(f)}}A&&Gl(this)},render:function(e,t){if(t.tween._time||!Ya())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:Ti,aliases:fi,getSetter:function(e,t,i){var r=fi[t];return r&&r.indexOf(",")<0&&(t=r),t in Si&&t!==xt&&(e._gsap.x||Ti(e,"x"))?i&&Zl===i?t==="scale"?lf:of:(Zl=i||{})&&(t==="scale"?cf:uf):e.style&&!ua(e.style[t])?sf:~t.indexOf("-")?af:za(e,t)},core:{_removeProperty:sr,_getMatrix:Ga}};Et.utils.checkPrefix=Yr,Et.core.getStyleSaver=tc,function(n,e,t,i){var r=St(n+","+e+","+t,function(s){Si[s]=1});St(e,function(s){Ct.units[s]="deg",uc[s]=1}),fi[r[13]]=n+","+e,St(i,function(s){var a=s.split(":");fi[a[1]]=r[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),St("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ct.units[n]="px"}),Et.registerPlugin(mc);var ue=Et.registerPlugin(mc)||Et;ue.core.Tween;class _f{constructor(){var e;this.elements={header:document.querySelector(".page_header"),banner:document.querySelector(".page_banner_wrap"),nav:document.querySelector(".page_navigation"),navTop:document.querySelector(".page_navigation_top"),navBridge:document.querySelector(".page_navigation_bridge"),navMenu:document.querySelector(".page_navigation_menu_component"),navMenuContent:document.querySelectorAll(".page_navigation_menu_content_item"),navMenuLinks:document.querySelectorAll(".page_navigation_link_component"),pageOverlay:document.querySelector(".page_overlay")},Array.from(this.elements.navMenuContent).forEach((t,i)=>{t.style.setProperty("--index",i)}),this.states={isOpen:!1,isAnimating:!1,activeMenuLink:null,activeMenuContent:null,isOverTrigger:!1,closeTimeout:null,resizeTimeout:null},this.config={closeDelay:50,resizeDelay:150,menuBottomSpacing:"2.5rem",menuClosedHeight:"auto",hasOriginalDarkTheme:((e=document.querySelector(".page_header"))==null?void 0:e.classList.contains("u-theme-dark"))||!1},this.handleMouseMove=this.handleMouseMove.bind(this),this.handleResize=this.handleResize.bind(this),this.handleEscape=this.handleEscape.bind(this),this.handleTriggerEnter=this.handleTriggerEnter.bind(this),this.handleTriggerLeave=this.handleTriggerLeave.bind(this),this.handleMouseEnter=this.handleMouseEnter.bind(this),this.handleMouseLeave=this.handleMouseLeave.bind(this),this.handleTouchStart=this.handleTouchStart.bind(this),this.handleTouchEnd=this.handleTouchEnd.bind(this),this.init()}init(){if(!this.validateElements()){console.error("Main Nav Component is missing required elements");return}this.setupEventListeners(),this.setVariables()}validateElements(){return this.elements.header&&this.elements.banner&&this.elements.nav&&this.elements.navTop&&this.elements.navBridge&&this.elements.navMenu&&this.elements.navMenuContent&&this.elements.navMenuLinks&&this.elements.pageOverlay}calculateNavHeight(){const e=this.elements.navTop.offsetHeight,t=this.states.activeMenuContent?this.states.activeMenuContent.scrollHeight:0,i=parseFloat(this.config.menuBottomSpacing)*parseFloat(getComputedStyle(document.documentElement).fontSize);return{navTopHeight:e,activeMenuContentHeight:t,bottomSpacing:i}}setVariables(){const{navTopHeight:e,activeMenuContentHeight:t,bottomSpacing:i}=this.calculateNavHeight(),r=this.states.isOpen?e+t+i:e;this.elements.nav.style.setProperty("height",`${r}px`),this.states.activeMenuContent&&this.states.activeMenuContent.style.setProperty("height",`${t}px`),Array.from(this.elements.navMenuContent).filter(s=>s!==this.states.activeMenuContent).forEach(s=>{s.style.setProperty("height",this.config.menuClosedHeight)})}shouldKeepOpen(e){var i;const t=Array.from(this.elements.navMenuLinks).filter(r=>{const s=r.getAttribute("nav-link");return s&&Array.from(this.elements.navMenuContent).some(a=>a.getAttribute("nav-content")===s)});return this.elements.navMenu.contains(e.target)||this.elements.navBridge.contains(e.target)||Array.from(this.elements.navMenuContent).some(r=>r.contains(e.target))||t.some(r=>r.contains(e.target))||((i=this.states.activeMenuLink)==null?void 0:i.contains(e.target))||this.states.isOverTrigger}openNavMenu(){this.clearCloseTimeout(),Object.values(this.elements).forEach(e=>{e instanceof NodeList?e.forEach(t=>t.classList.add("is-open")):e&&e.classList.add("is-open")}),this.elements.navMenu.setAttribute("menu-state","open"),this.elements.navMenu.setAttribute("aria-expanded","true"),this.elements.header.classList.remove("u-theme-dark"),this.elements.header.classList.add("u-theme-light"),this.elements.pageOverlay.setAttribute("page-overlay","active"),this.states.activeMenuContent&&this.states.activeMenuContent.setAttribute("menu-content","active"),this.states.activeMenuLink&&this.states.activeMenuLink.setAttribute("menu-link","active"),this.states.isOpen=!0,this.setVariables()}closeNavMenu(){Object.values(this.elements).forEach(e=>{e instanceof NodeList?e.forEach(t=>t.classList.remove("is-open")):e&&e.classList.remove("is-open")}),this.elements.navMenu.setAttribute("menu-state","closed"),this.elements.navMenu.setAttribute("aria-expanded","false"),this.elements.header.classList.remove("u-theme-light"),this.config.hasOriginalDarkTheme&&this.elements.header.classList.add("u-theme-dark"),this.elements.pageOverlay.setAttribute("page-overlay","inactive"),this.states.activeMenuContent&&(this.states.activeMenuContent.setAttribute("menu-content","inactive"),this.states.activeMenuContent.style.setProperty("height",this.config.menuClosedHeight)),this.states.activeMenuLink&&this.states.activeMenuLink.setAttribute("menu-link","inactive"),this.states.isOpen=!1,this.states.activeMenuLink=null,this.states.activeMenuContent=null,this.setVariables()}clearCloseTimeout(){this.states.closeTimeout&&(clearTimeout(this.states.closeTimeout),this.states.closeTimeout=null)}handleTriggerEnter(){this.states.isOverTrigger=!0,this.clearCloseTimeout(),this.states.isOpen&&this.openNavMenu()}handleTriggerLeave(){this.states.isOverTrigger=!1,this.clearCloseTimeout()}handleMouseMove(e){this.states.isOpen&&(this.shouldKeepOpen(e)?this.clearCloseTimeout():this.states.closeTimeout||(this.states.closeTimeout=setTimeout(()=>{this.closeNavMenu(),this.states.closeTimeout=null},this.config.closeDelay)))}handleResize(){clearTimeout(this.states.resizeTimeout),this.states.resizeTimeout=setTimeout(()=>{this.setVariables(),this.states.isOpen},this.config.resizeDelay)}handleEscape(e){e.key==="Escape"&&this.states.isOpen&&this.closeNavMenu()}handleMouseEnter(){this.states.isOverTrigger=!0,this.states.isOpen||this.openNavMenu()}handleMouseLeave(){this.states.isOverTrigger=!1,this.states.isOpen&&(this.states.closeTimeout=setTimeout(()=>{this.closeNavMenu(),this.states.closeTimeout=null},this.config.closeDelay))}handleTouchStart(){this.states.isOpen||this.openNavMenu()}handleTouchEnd(){this.states.isOpen&&this.closeNavMenu()}handleMenuLinkInteraction(e){const t=e.getAttribute("nav-link");if(!t)return;const i=Array.from(this.elements.navMenuContent).find(r=>r.getAttribute("nav-content")===t);i&&(this.states.activeMenuLink&&this.states.activeMenuLink.setAttribute("menu-link","inactive"),this.states.activeMenuContent&&this.states.activeMenuContent.setAttribute("menu-content","inactive"),this.states.activeMenuLink=e,this.states.activeMenuContent=i,this.openNavMenu())}setupEventListeners(){document.addEventListener("keydown",this.handleEscape),window.addEventListener("resize",this.handleResize),document.addEventListener("mousemove",this.handleMouseMove),this.elements.navMenu.addEventListener("touchstart",this.handleTouchStart),this.elements.navMenu.addEventListener("touchend",this.handleTouchEnd),this.elements.navMenu.addEventListener("mouseenter",this.handleTriggerEnter),this.elements.navMenu.addEventListener("mouseleave",this.handleTriggerLeave),this.elements.navMenuLinks.forEach(e=>{e.addEventListener("mouseenter",()=>{this.handleMenuLinkInteraction(e)}),e.addEventListener("mouseleave",t=>{this.shouldKeepOpen(t)||this.handleMouseLeave()}),e.addEventListener("touchstart",()=>{this.handleMenuLinkInteraction(e)})})}destroy(){document.removeEventListener("keydown",this.handleEscape),window.removeEventListener("resize",this.handleResize),document.removeEventListener("mousemove",this.handleMouseMove),this.elements.navMenu.removeEventListener("touchstart",this.handleTouchStart),this.elements.navMenu.removeEventListener("touchend",this.handleTouchEnd),this.elements.navMenu.removeEventListener("mouseenter",this.handleTriggerEnter),this.elements.navMenu.removeEventListener("mouseleave",this.handleTriggerLeave),this.elements.navMenuLinks.forEach(e=>{e.removeEventListener("mouseenter",()=>{this.handleMenuLinkInteraction(e)}),e.removeEventListener("mouseleave",this.handleMouseLeave),e.removeEventListener("touchstart",()=>{this.handleMenuLinkInteraction(e)})}),this.clearCloseTimeout(),this.states.resizeTimeout&&(clearTimeout(this.states.resizeTimeout),this.states.resizeTimeout=null)}}function Sf(){return console.log("Main Nav Component Animation Starter Initialized"),new _f}function Tf(){console.log("Button Component Animation Starter Initialized")}function Ef(){document.querySelectorAll("[data-skeleton]").forEach(e=>{setTimeout(()=>{e.setAttribute("data-skeleton","hidden")},100)})}class xf{constructor(){this.elements={contentWrap:document.querySelector("[banner='content-wrap']"),contentItems:document.querySelectorAll("[banner='content-item']")},this.state={currentIndex:0,itemCount:this.elements.contentItems.length,isAnimating:!1},this.config={animationDuration:1,displayDuration:3,yOffsetHidden:100,ease:"elastic.out(1.4, 1)"},this.state.itemCount>1&&this.init()}init(){this.setItemStates(),this.elements.contentItems.forEach((e,t)=>{e.style.setProperty("--banner-index",t)}),this.startAnimationLoop()}setItemStates(){this.elements.contentItems.forEach((e,t)=>{t===this.state.currentIndex?(e.setAttribute("banner-status","active"),ue.set(e,{y:"0%",opacity:1})):(e.setAttribute("banner-status","inactive"),ue.set(e,{y:"100%",opacity:0}))})}startAnimationLoop(){ue.timeline({onComplete:()=>this.advanceToNextItem()}).to({},this.config.displayDuration,{})}advanceToNextItem(){if(this.state.isAnimating)return;this.state.isAnimating=!0;const e=this.elements.contentItems[this.state.currentIndex];this.state.currentIndex=(this.state.currentIndex+1)%this.state.itemCount;const t=this.elements.contentItems[this.state.currentIndex],i=ue.timeline({onComplete:()=>{this.state.isAnimating=!1,this.startAnimationLoop()}});i.to(e,{y:`-${this.config.yOffsetHidden}%`,opacity:0,duration:this.config.animationDuration,ease:this.config.ease}),i.fromTo(t,{y:`${this.config.yOffsetHidden}%`,opacity:0},{y:"0%",opacity:1,duration:this.config.animationDuration,ease:this.config.ease},"-=0.6"),i.add(()=>{e.setAttribute("banner-status","inactive"),t.setAttribute("banner-status","active")}),i.set(e,{y:`${this.config.yOffsetHidden}%`})}}const Af=()=>new xf;class Mf{constructor(e=document){this.container=e,this.accordions=[],this.container.querySelectorAll("[accordion='main']").forEach(i=>{this.accordions.push({element:i,items:i.querySelectorAll("[accordion='item']"),itemContents:i.querySelectorAll("[accordion='item-content']"),closeSiblings:i.getAttribute("close-siblings")===""||i.getAttribute("close-siblings")==="true"})}),this.init()}init(){this.accordions.length&&this.accordions.forEach(e=>{e.items.length&&(e.element.addEventListener("click",t=>this.handleClick(t,e)),e.items.forEach((t,i)=>{const r=t.querySelector("[accordion='header']"),s=t.querySelector("[accordion='item-content']");if(r&&s){const a=t.hasAttribute("open");t.setAttribute("state",a?"open":"closed");const o=`accordion-${this._generateId()}-${i}`;s.id=o,r.setAttribute("aria-expanded",a?"true":"false"),r.setAttribute("aria-controls",o),r.setAttribute("role","button"),r.setAttribute("tabindex","0"),r.addEventListener("keydown",l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),this._toggleItem(t,e))})}}))})}handleClick(e,t){const i=e.target.closest("[accordion='item']"),r=e.target.closest("[accordion='header']");!i||!r||this._toggleItem(i,t)}_toggleItem(e,t){const r=e.getAttribute("state")==="open",s=e.querySelector("[accordion='header']");e.setAttribute("state",r?"closed":"open"),s&&s.setAttribute("aria-expanded",r?"false":"true"),t.closeSiblings&&!r&&t.items.forEach(a=>{if(a!==e&&a.getAttribute("state")==="open"){a.setAttribute("state","closed");const o=a.querySelector("[accordion='header']");o&&o.setAttribute("aria-expanded","false")}})}_generateId(){return Math.random().toString(36).substring(2,10)}}const kf=(n=document)=>new Mf(n);class Cf{constructor(){this.footer=document.querySelectorAll("[footer-year]")}init(){this.footer.forEach(e=>{e.innerHTML=new Date().getFullYear()})}}const Pf=()=>{new Cf().init()};class Of{constructor(){this.elements={marquee:document.querySelectorAll("[marquee=component]"),marqueeList:document.querySelectorAll("[marquee=list]"),marqueeItem:document.querySelectorAll("[marquee=item]")},this.defaultSpeed=75,this.init()}init(){this.elements.marquee.forEach(e=>{e.querySelectorAll("[marquee=list]").forEach(t=>{const i=t.cloneNode(!0);e.appendChild(i)}),this.createObserver(e),this.setAnimationDuration(e)})}createObserver(e){new IntersectionObserver(i=>{i.forEach(r=>{r.target.querySelectorAll("[marquee=list]").forEach(s=>s.style.animationPlayState=r.isIntersecting?"running":"paused")})},{threshold:0}).observe(e)}getMarqueeSpeed(e){const t=e.getAttribute("marquee-speed");return t&&!isNaN(parseInt(t))?parseInt(t):this.defaultSpeed}setAnimationDuration(e){const t=this.getMarqueeSpeed(e);e.querySelectorAll("[marquee=list]").forEach(i=>{i.style.animationDuration=i.offsetWidth/t+"s",i.style.animationPlayState="paused"})}}const If=()=>{new Of};function Lf(n,e){for(var t=0;tl?(s=r,r=d,o=a,a=v):i?r+=d:r=s+(d-s)/(v-o)*(a-o)},h=function(){s=r=i?0:r,o=a=0},m=function(d){var f=o,v=s,b=En();return(d||d===0)&&d!==r&&u(d),a===o||b-o>c?0:(r+(i?v:-v))/((i?b:a)-f)*1e3};return{update:u,reset:h,getVelocity:m}},An=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},_c=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},Sc=function(){Tn=Ke.core.globals().ScrollTrigger,Tn&&Tn.core&&zf()},Tc=function(e){return Ke=e||yc(),!ws&&Ke&&typeof document<"u"&&document.body&&(zt=window,$i=document,Yi=$i.documentElement,Hr=$i.body,vc=[zt,$i,Yi,Hr],Ke.utils.clamp,wc=Ke.core.context||function(){},lr="onpointerenter"in Hr?"pointer":"mouse",gc=Ie.isTouch=zt.matchMedia&&zt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in zt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ii=Ie.eventTypes=("ontouchstart"in Yi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Yi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return bc=0},500),Sc(),ws=1),ws};gt.op=Be,te.cache=0;var Ie=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(i){ws||Tc(Ke)||console.warn("Please gsap.registerPlugin(Observer)"),Tn||Sc();var r=i.tolerance,s=i.dragMinimum,a=i.type,o=i.target,l=i.lineHeight,c=i.debounce,u=i.preventDefault,h=i.onStop,m=i.onStopDelay,p=i.ignore,d=i.wheelSpeed,f=i.event,v=i.onDragStart,b=i.onDragEnd,w=i.onDrag,g=i.onPress,y=i.onRelease,_=i.onRight,M=i.onLeft,A=i.onUp,E=i.onDown,k=i.onChangeX,x=i.onChangeY,D=i.onChange,S=i.onToggleX,T=i.onToggleY,C=i.onHover,L=i.onHoverEnd,z=i.onMove,O=i.ignoreCheck,I=i.isNormalizer,N=i.onGestureStart,P=i.onGestureEnd,H=i.onWheel,G=i.onEnable,re=i.onDisable,de=i.onClick,B=i.scrollSpeed,F=i.capture,$=i.allowClicks,j=i.lockAxis,ce=i.onLockAxis;this.target=o=At(o)||Yi,this.vars=i,p&&(p=Ke.utils.toArray(p)),r=r||1e-9,s=s||0,d=d||1,B=B||1,a=a||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(zt.getComputedStyle(Hr).lineHeight)||22);var Qe,Se,Te,J,ne,ye,Ye,R=this,Ne=0,ct=0,Ht=i.passive||!u&&i.passive!==!1,ge=Wi(o,gt),Wt=Wi(o,Be),Qt=ge(),ri=Wt(),Ce=~a.indexOf("touch")&&!~a.indexOf("pointer")&&ii[0]==="pointerdown",ei=xn(o),he=o.ownerDocument||$i,kt=[0,0,0],je=[0,0,0],Ci=0,es=function(){return Ci=En()},Fe=function(X,fe){return(R.event=X)&&p&&Rf(X.target,p)||fe&&Ce&&X.pointerType!=="touch"||O&&O(X,fe)},sa=function(){R._vx.reset(),R._vy.reset(),Se.pause(),h&&h(R)},Pi=function(){var X=R.deltaX=_c(kt),fe=R.deltaY=_c(je),Y=Math.abs(X)>=r,U=Math.abs(fe)>=r;D&&(Y||U)&&D(R,X,fe,kt,je),Y&&(_&&R.deltaX>0&&_(R),M&&R.deltaX<0&&M(R),k&&k(R),S&&R.deltaX<0!=Ne<0&&S(R),Ne=R.deltaX,kt[0]=kt[1]=kt[2]=0),U&&(E&&R.deltaY>0&&E(R),A&&R.deltaY<0&&A(R),x&&x(R),T&&R.deltaY<0!=ct<0&&T(R),ct=R.deltaY,je[0]=je[1]=je[2]=0),(J||Te)&&(z&&z(R),Te&&(v&&Te===1&&v(R),w&&w(R),Te=0),J=!1),ye&&!(ye=!1)&&ce&&ce(R),ne&&(H(R),ne=!1),Qe=0},an=function(X,fe,Y){kt[Y]+=X,je[Y]+=fe,R._vx.update(X),R._vy.update(fe),c?Qe||(Qe=requestAnimationFrame(Pi)):Pi()},on=function(X,fe){j&&!Ye&&(R.axis=Ye=Math.abs(X)>Math.abs(fe)?"x":"y",ye=!0),Ye!=="y"&&(kt[2]+=X,R._vx.update(X,!0)),Ye!=="x"&&(je[2]+=fe,R._vy.update(fe,!0)),c?Qe||(Qe=requestAnimationFrame(Pi)):Pi()},Ui=function(X){if(!Fe(X,1)){X=An(X,u);var fe=X.clientX,Y=X.clientY,U=fe-R.x,q=Y-R.y,Z=R.isDragging;R.x=fe,R.y=Y,(Z||(U||q)&&(Math.abs(R.startX-fe)>=s||Math.abs(R.startY-Y)>=s))&&(Te=Z?2:1,Z||(R.isDragging=!0),on(U,q))}},Ar=R.onPress=function(Q){Fe(Q,1)||Q&&Q.button||(R.axis=Ye=null,Se.pause(),R.isPressed=!0,Q=An(Q),Ne=ct=0,R.startX=R.x=Q.clientX,R.startY=R.y=Q.clientY,R._vx.reset(),R._vy.reset(),ht(I?o:he,ii[1],Ui,Ht,!0),R.deltaX=R.deltaY=0,g&&g(R))},ae=R.onRelease=function(Q){if(!Fe(Q,1)){mt(I?o:he,ii[1],Ui,!0);var X=!isNaN(R.y-R.startY),fe=R.isDragging,Y=fe&&(Math.abs(R.x-R.startX)>3||Math.abs(R.y-R.startY)>3),U=An(Q);!Y&&X&&(R._vx.reset(),R._vy.reset(),u&&$&&Ke.delayedCall(.08,function(){if(En()-Ci>300&&!Q.defaultPrevented){if(Q.target.click)Q.target.click();else if(he.createEvent){var q=he.createEvent("MouseEvents");q.initMouseEvent("click",!0,!0,zt,1,U.screenX,U.screenY,U.clientX,U.clientY,!1,!1,!1,!1,0,null),Q.target.dispatchEvent(q)}}})),R.isDragging=R.isGesturing=R.isPressed=!1,h&&fe&&!I&&Se.restart(!0),Te&&Pi(),b&&fe&&b(R),y&&y(R,Y)}},Mr=function(X){return X.touches&&X.touches.length>1&&(R.isGesturing=!0)&&N(X,R.isDragging)},ni=function(){return(R.isGesturing=!1)||P(R)},si=function(X){if(!Fe(X)){var fe=ge(),Y=Wt();an((fe-Qt)*B,(Y-ri)*B,1),Qt=fe,ri=Y,h&&Se.restart(!0)}},ai=function(X){if(!Fe(X)){X=An(X,u),H&&(ne=!0);var fe=(X.deltaMode===1?l:X.deltaMode===2?zt.innerHeight:1)*d;an(X.deltaX*fe,X.deltaY*fe,0),h&&!I&&Se.restart(!0)}},kr=function(X){if(!Fe(X)){var fe=X.clientX,Y=X.clientY,U=fe-R.x,q=Y-R.y;R.x=fe,R.y=Y,J=!0,h&&Se.restart(!0),(U||q)&&on(U,q)}},ln=function(X){R.event=X,C(R)},Oi=function(X){R.event=X,L(R)},ts=function(X){return Fe(X)||An(X,u)&&de(R)};Se=R._dc=Ke.delayedCall(m||.25,sa).pause(),R.deltaX=R.deltaY=0,R._vx=Ka(0,50,!0),R._vy=Ka(0,50,!0),R.scrollX=ge,R.scrollY=Wt,R.isDragging=R.isGesturing=R.isPressed=!1,wc(this),R.enable=function(Q){return R.isEnabled||(ht(ei?he:o,"scroll",Za),a.indexOf("scroll")>=0&&ht(ei?he:o,"scroll",si,Ht,F),a.indexOf("wheel")>=0&&ht(o,"wheel",ai,Ht,F),(a.indexOf("touch")>=0&&gc||a.indexOf("pointer")>=0)&&(ht(o,ii[0],Ar,Ht,F),ht(he,ii[2],ae),ht(he,ii[3],ae),$&&ht(o,"click",es,!0,!0),de&&ht(o,"click",ts),N&&ht(he,"gesturestart",Mr),P&&ht(he,"gestureend",ni),C&&ht(o,lr+"enter",ln),L&&ht(o,lr+"leave",Oi),z&&ht(o,lr+"move",kr)),R.isEnabled=!0,R.isDragging=R.isGesturing=R.isPressed=J=Te=!1,R._vx.reset(),R._vy.reset(),Qt=ge(),ri=Wt(),Q&&Q.type&&Ar(Q),G&&G(R)),R},R.disable=function(){R.isEnabled&&(Wr.filter(function(Q){return Q!==R&&xn(Q.target)}).length||mt(ei?he:o,"scroll",Za),R.isPressed&&(R._vx.reset(),R._vy.reset(),mt(I?o:he,ii[1],Ui,!0)),mt(ei?he:o,"scroll",si,F),mt(o,"wheel",ai,F),mt(o,ii[0],Ar,F),mt(he,ii[2],ae),mt(he,ii[3],ae),mt(o,"click",es,!0),mt(o,"click",ts),mt(he,"gesturestart",Mr),mt(he,"gestureend",ni),mt(o,lr+"enter",ln),mt(o,lr+"leave",Oi),mt(o,lr+"move",kr),R.isEnabled=R.isPressed=R.isDragging=!1,re&&re(R))},R.kill=R.revert=function(){R.disable();var Q=Wr.indexOf(R);Q>=0&&Wr.splice(Q,1),Ei===R&&(Ei=0)},Wr.push(R),I&&xn(o)&&(Ei=R),R.enable(f)},Df(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();Ie.version="3.13.0",Ie.create=function(n){return new Ie(n)},Ie.register=Tc,Ie.getAll=function(){return Wr.slice()},Ie.getById=function(n){return Wr.filter(function(e){return e.vars.id===n})[0]},yc()&&Ke.registerPlugin(Ie);/*! * ScrollTrigger 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var W,Vr,ie,we,Rt,pe,Ja,Ss,Mn,kn,Cn,Ts,st,Es,Qa,vt,Ec,xc,qr,Ac,eo,Mc,wt,to,kc,Cc,Vi,io,ro,Gr,no,xs,so,ao,As=1,at=Date.now,oo=at(),Xt=0,Pn=0,Pc=function(e,t,i){var r=Nt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},Oc=function(e,t){return t&&(!Nt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Nf=function n(){return Pn&&requestAnimationFrame(n)},Ic=function(){return Es=1},Lc=function(){return Es=0},hi=function(e){return e},On=function(e){return Math.round(e*1e5)/1e5||0},Dc=function(){return typeof window<"u"},zc=function(){return W||Dc()&&(W=window.gsap)&&W.registerPlugin&&W},cr=function(e){return!!~Ja.indexOf(e)},Rc=function(e){return(e==="Height"?no:ie["inner"+e])||Rt["client"+e]||pe["client"+e]},Nc=function(e){return Hi(e,"getBoundingClientRect")||(cr(e)?function(){return Bs.width=ie.innerWidth,Bs.height=no,Bs}:function(){return xi(e)})},Ff=function(e,t,i){var r=i.d,s=i.d2,a=i.a;return(a=Hi(e,"getBoundingClientRect"))?function(){return a()[r]}:function(){return(t?Rc(s):e["client"+s])||0}},Bf=function(e,t){return!t||~pi.indexOf(e)?Nc(e):function(){return Bs}},mi=function(e,t){var i=t.s,r=t.d2,s=t.d,a=t.a;return Math.max(0,(i="scroll"+r)&&(a=Hi(e,i))?a()-Nc(e)()[s]:cr(e)?(Rt[i]||pe[i])-Rc(r):e[i]-e["offset"+r])},Ms=function(e,t){for(var i=0;i0){for(r-=a,o=0;o=r)return i[o];return i[o-1]}else for(o=i.length,r+=a;o--;)if(i[o]<=r)return i[o];return i[0]}:function(r,s,a){a===void 0&&(a=.001);var o=t(r);return!s||Math.abs(o-r)i&&(r*=t/100),e=e.substr(0,i-1)),e=r+(e in Is?Is[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ds=function(e,t,i,r,s,a,o,l){var c=s.startColor,u=s.endColor,h=s.fontSize,m=s.indent,p=s.fontWeight,d=we.createElement("div"),f=cr(i)||Hi(i,"pinType")==="fixed",v=e.indexOf("scroller")!==-1,b=f?pe:i,w=e.indexOf("start")!==-1,g=w?c:u,y="border-color:"+g+";font-size:"+h+";color:"+g+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((v||l)&&f?"fixed;":"absolute;"),(v||l||!f)&&(y+=(r===Be?co:uo)+":"+(a+parseFloat(m))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),d._isStart=w,d.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),d.style.cssText=y,d.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(d,b.children[0]):b.appendChild(d),d._offset=d["offset"+r.op.d2],zs(d,0,r,w),d},zs=function(e,t,i,r){var s={display:"block"},a=i[r?"os2":"p2"],o=i[r?"p2":"os2"];e._isFlipped=r,s[i.a+"Percent"]=r?-100:0,s[i.a]=r?"1px":0,s["border"+a+Xr]=1,s["border"+o+Xr]=0,s[i.p]=t+"px",W.set(e,s)},ee=[],ho={},Fn,Wc=function(){return at()-Xt>34&&(Fn||(Fn=requestAnimationFrame(Ai)))},Ur=function(){(!wt||!wt.isPressed||wt.startX>pe.clientWidth)&&(te.cache++,wt?Fn||(Fn=requestAnimationFrame(Ai)):Ai(),Xt||hr("scrollStart"),Xt=at())},mo=function(){Cc=ie.innerWidth,kc=ie.innerHeight},Bn=function(e){te.cache++,(e===!0||!st&&!Mc&&!we.fullscreenElement&&!we.webkitFullscreenElement&&(!to||Cc!==ie.innerWidth||Math.abs(ie.innerHeight-kc)>ie.innerHeight*.25))&&Ss.restart(!0)},pr={},Wf=[],Vc=function n(){return qe(K,"scrollEnd",n)||gr(!0)},hr=function(e){return pr[e]&&pr[e].map(function(t){return t()})||Wf},Ft=[],qc=function(e){for(var t=0;ts,o=r._startClamp&&r.start>=s;(a||o)&&r.setPositions(o?s-1:r.start,a?Math.max(o?s:r.start+1,s):r.end,!0)}),Uc(!1),so=0,i.forEach(function(r){return r&&r.render&&r.render(-1)}),te.forEach(function(r){ot(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),Gc(ro,1),Ss.pause(),mr++,yt=2,Ai(2),ee.forEach(function(r){return ot(r.vars.onRefresh)&&r.vars.onRefresh(r)}),yt=K.isRefreshing=!1,hr("refresh")},vo=0,Rs=1,$n,Ai=function(e){if(e===2||!yt&&!xs){K.isUpdating=!0,$n&&$n.update(0);var t=ee.length,i=at(),r=i-oo>=50,s=t&&ee[0].scroll();if(Rs=vo>s?-1:1,yt||(vo=s),r&&(Xt&&!Es&&i-Xt>200&&(Xt=0,hr("scrollEnd")),Cn=oo,oo=i),Rs<0){for(vt=t;vt-- >0;)ee[vt]&&ee[vt].update(0,r);Rs=1}else for(vt=0;vt20),i-=i-M}if(d&&(l[d]=e||-.001,e<0&&(e=0)),a){var E=e+i,k=a._isStart;v="scroll"+r.d2,zs(a,E,r,k&&E>20||!k&&(h?Math.max(pe[v],Rt[v]):a.parentNode[v])<=E+1),h&&(c=xi(o),h&&(a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+$e))}return p&&w&&(v=xi(w),p.seek(m),b=xi(w),p._caScrollDist=v[r.p]-b[r.p],e=e/p._caScrollDist*m),p&&p.seek(f),p?e:Math.round(e)},Xf=/(webkit|moz|length|cssText|inset)/i,Kc=function(e,t,i,r){if(e.parentNode!==t){var s=e.style,a,o;if(t===pe){e._stOrig=s.cssText,o=Zt(e);for(a in o)!+a&&!Xf.test(a)&&o[a]&&typeof s[a]=="string"&&a!=="0"&&(s[a]=o[a]);s.top=i,s.left=r}else s.cssText=e._stOrig;W.core.getCache(e).uncache=1,t.appendChild(e)}},Jc=function(e,t,i){var r=t,s=r;return function(a){var o=Math.round(e());return o!==r&&o!==s&&Math.abs(o-r)>3&&Math.abs(o-s)>3&&(a=o,i&&i()),s=r,r=Math.round(a),r}},$s=function(e,t,i){var r={};r[t.p]="+="+i,W.set(e,r)},Qc=function(e,t){var i=Wi(e,t),r="_scroll"+t.p2,s=function a(o,l,c,u,h){var m=a.tween,p=l.onComplete,d={};c=c||i();var f=Jc(i,c,function(){m.kill(),a.tween=0});return h=u&&h||0,u=u||o-c,m&&m.kill(),l[r]=o,l.inherit=!1,l.modifiers=d,d[r]=function(){return f(c+u*m.ratio+h*m.ratio*m.ratio)},l.onUpdate=function(){te.cache++,a.tween&&Ai()},l.onComplete=function(){a.tween=0,p&&p.call(m)},m=a.tween=W.to(e,l),m};return e[r]=i,i.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Ve(e,"wheel",i.wheelHandler),K.isTouch&&Ve(e,"touchmove",i.wheelHandler),s},K=function(){function n(t,i){Vr||n.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),io(this),this.init(t,i)}var e=n.prototype;return e.init=function(i,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Pn){this.update=this.refresh=this.kill=hi;return}i=$c(Nt(i)||In(i)||i.nodeType?{trigger:i}:i,Os);var s=i,a=s.onUpdate,o=s.toggleClass,l=s.id,c=s.onToggle,u=s.onRefresh,h=s.scrub,m=s.trigger,p=s.pin,d=s.pinSpacing,f=s.invalidateOnRefresh,v=s.anticipatePin,b=s.onScrubComplete,w=s.onSnapComplete,g=s.once,y=s.snap,_=s.pinReparent,M=s.pinSpacer,A=s.containerAnimation,E=s.fastScrollEnd,k=s.preventOverlaps,x=i.horizontal||i.containerAnimation&&i.horizontal!==!1?gt:Be,D=!h&&h!==0,S=At(i.scroller||ie),T=W.core.getCache(S),C=cr(S),L=("pinType"in i?i.pinType:Hi(S,"pinType")||C&&"fixed")==="fixed",z=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],O=D&&i.toggleActions.split(" "),I="markers"in i?i.markers:Os.markers,N=C?0:parseFloat(Zt(S)["border"+x.p2+Xr])||0,P=this,H=i.onRefreshInit&&function(){return i.onRefreshInit(P)},G=Ff(S,C,x),re=Bf(S,C),de=0,B=0,F=0,$=Wi(S,x),j,ce,Qe,Se,Te,J,ne,ye,Ye,R,Ne,ct,Ht,ge,Wt,Qt,ri,Ce,ei,he,kt,je,Ci,es,Fe,sa,Pi,an,on,Ui,Ar,ae,Mr,ni,si,ai,kr,ln,Oi;if(P._startClamp=P._endClamp=!1,P._dir=x,v*=45,P.scroller=S,P.scroll=A?A.time.bind(A):$,Se=$(),P.vars=i,r=r||i.animation,"refreshPriority"in i&&(Ac=1,i.refreshPriority===-9999&&($n=P)),T.tweenScroll=T.tweenScroll||{top:Qc(S,Be),left:Qc(S,gt)},P.tweenTo=j=T.tweenScroll[x.p],P.scrubDuration=function(Y){Mr=In(Y)&&Y,Mr?ae?ae.duration(Y):ae=W.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Mr,paused:!0,onComplete:function(){return b&&b(P)}}):(ae&&ae.progress(1).kill(),ae=0)},r&&(r.vars.lazy=!1,r._initted&&!P.isReverted||r.vars.immediateRender!==!1&&i.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),P.animation=r.pause(),r.scrollTrigger=P,P.scrubDuration(h),Ui=0,l||(l=r.vars.id)),y&&((!ur(y)||y.push)&&(y={snapTo:y}),"scrollBehavior"in pe.style&&W.set(C?[pe,Rt]:S,{scrollBehavior:"auto"}),te.forEach(function(Y){return ot(Y)&&Y.target===(C?we.scrollingElement||Rt:S)&&(Y.smooth=!1)}),Qe=ot(y.snapTo)?y.snapTo:y.snapTo==="labels"?Yf(r):y.snapTo==="labelsDirectional"?Hf(r):y.directional!==!1?function(Y,U){return po(y.snapTo)(Y,at()-B<500?0:U.direction)}:W.utils.snap(y.snapTo),ni=y.duration||{min:.1,max:2},ni=ur(ni)?kn(ni.min,ni.max):kn(ni,ni),si=W.delayedCall(y.delay||Mr/2||.1,function(){var Y=$(),U=at()-B<500,q=j.tween;if((U||Math.abs(P.getVelocity())<10)&&!q&&!Es&&de!==Y){var Z=(Y-J)/ge,Xe=r&&!D?r.totalProgress():Z,le=U?0:(Xe-Ar)/(at()-Cn)*1e3||0,Le=W.utils.clamp(-Z,1-Z,jr(le/2)*le/.185),ut=Z+(y.inertia===!1?0:Le),Pe,Ee,ve=y,oi=ve.onStart,Me=ve.onInterrupt,Vt=ve.onComplete;if(Pe=Qe(ut,P),In(Pe)||(Pe=ut),Ee=Math.max(0,Math.round(J+Pe*ge)),Y<=ne&&Y>=J&&Ee!==Y){if(q&&!q._initted&&q.data<=jr(Ee-Y))return;y.inertia===!1&&(Le=Pe-Z),j(Ee,{duration:ni(jr(Math.max(jr(ut-Xe),jr(Pe-Xe))*.185/le/.05||0)),ease:y.ease||"power3",data:jr(Ee-Y),onInterrupt:function(){return si.restart(!0)&&Me&&Me(P)},onComplete:function(){P.update(),de=$(),r&&!D&&(ae?ae.resetTo("totalProgress",Pe,r._tTime/r._tDur):r.progress(Pe)),Ui=Ar=r&&!D?r.totalProgress():P.progress,w&&w(P),Vt&&Vt(P)}},Y,Le*ge,Ee-Y-Le*ge),oi&&oi(P,j.tween)}}else P.isActive&&de!==Y&&si.restart(!0)}).pause()),l&&(ho[l]=P),m=P.trigger=At(m||p!==!0&&p),Oi=m&&m._gsap&&m._gsap.stRevert,Oi&&(Oi=Oi(P)),p=p===!0?m:At(p),Nt(o)&&(o={targets:m,className:o}),p&&(d===!1||d===Ut||(d=!d&&p.parentNode&&p.parentNode.style&&Zt(p.parentNode).display==="flex"?!1:Re),P.pin=p,ce=W.core.getCache(p),ce.spacer?Wt=ce.pinState:(M&&(M=At(M),M&&!M.nodeType&&(M=M.current||M.nativeElement),ce.spacerIsNative=!!M,M&&(ce.spacerState=Fs(M))),ce.spacer=Ce=M||we.createElement("div"),Ce.classList.add("pin-spacer"),l&&Ce.classList.add("pin-spacer-"+l),ce.pinState=Wt=Fs(p)),i.force3D!==!1&&W.set(p,{force3D:!0}),P.spacer=Ce=ce.spacer,on=Zt(p),es=on[d+x.os2],he=W.getProperty(p),kt=W.quickSetter(p,x.a,$e),yo(p,Ce,on),ri=Fs(p)),I){ct=ur(I)?$c(I,Hc):Hc,R=Ds("scroller-start",l,S,x,ct,0),Ne=Ds("scroller-end",l,S,x,ct,0,R),ei=R["offset"+x.op.d2];var ts=At(Hi(S,"content")||S);ye=this.markerStart=Ds("start",l,ts,x,ct,ei,0,A),Ye=this.markerEnd=Ds("end",l,ts,x,ct,ei,0,A),A&&(ln=W.quickSetter([ye,Ye],x.a,$e)),!L&&!(pi.length&&Hi(S,"fixedMarkers")===!0)&&($f(C?pe:S),W.set([R,Ne],{force3D:!0}),sa=W.quickSetter(R,x.a,$e),an=W.quickSetter(Ne,x.a,$e))}if(A){var Q=A.vars.onUpdate,X=A.vars.onUpdateParams;A.eventCallback("onUpdate",function(){P.update(0,0,1),Q&&Q.apply(A,X||[])})}if(P.previous=function(){return ee[ee.indexOf(P)-1]},P.next=function(){return ee[ee.indexOf(P)+1]},P.revert=function(Y,U){if(!U)return P.kill(!0);var q=Y!==!1||!P.enabled,Z=st;q!==P.isReverted&&(q&&(ai=Math.max($(),P.scroll.rec||0),F=P.progress,kr=r&&r.progress()),ye&&[ye,Ye,R,Ne].forEach(function(Xe){return Xe.style.display=q?"none":"block"}),q&&(st=P,P.update(q)),p&&(!_||!P.isActive)&&(q?qf(p,Ce,Wt):yo(p,Ce,Zt(p),Fe)),q||P.update(q),st=Z,P.isReverted=q)},P.refresh=function(Y,U,q,Z){if(!((st||!P.enabled)&&!U)){if(p&&Y&&Xt){Ve(n,"scrollEnd",Vc);return}!yt&&H&&H(P),st=P,j.tween&&!q&&(j.tween.kill(),j.tween=0),ae&&ae.pause(),f&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren&&r.getChildren(!0,!0,!1).forEach(function(Zi){return Zi.vars.immediateRender&&Zi.render(0,!0,!0)})),P.isReverted||P.revert(!0,!0),P._subPinOffset=!1;var Xe=G(),le=re(),Le=A?A.duration():mi(S,x),ut=ge<=.01||!ge,Pe=0,Ee=Z||0,ve=ur(q)?q.end:i.end,oi=i.endTrigger||m,Me=ur(q)?q.start:i.start||(i.start===0||!m?0:p?"0 0":"0 100%"),Vt=P.pinnedContainer=i.pinnedContainer&&At(i.pinnedContainer,P),wi=m&&Math.max(0,ee.indexOf(P))||0,et=wi,tt,dt,Cr,aa,ft,He,yi,el,nd,is,bi,rs,oa;for(I&&ur(q)&&(rs=W.getProperty(R,x.p),oa=W.getProperty(Ne,x.p));et-- >0;)He=ee[et],He.end||He.refresh(0,1)||(st=P),yi=He.pin,yi&&(yi===m||yi===p||yi===Vt)&&!He.isReverted&&(is||(is=[]),is.unshift(He),He.revert(!0,!0)),He!==ee[et]&&(wi--,et--);for(ot(Me)&&(Me=Me(P)),Me=Pc(Me,"start",P),J=Zc(Me,m,Xe,x,$(),ye,R,P,le,N,L,Le,A,P._startClamp&&"_startClamp")||(p?-.001:0),ot(ve)&&(ve=ve(P)),Nt(ve)&&!ve.indexOf("+=")&&(~ve.indexOf(" ")?ve=(Nt(Me)?Me.split(" ")[0]:"")+ve:(Pe=Ls(ve.substr(2),Xe),ve=Nt(Me)?Me:(A?W.utils.mapRange(0,A.duration(),A.scrollTrigger.start,A.scrollTrigger.end,J):J)+Pe,oi=m)),ve=Pc(ve,"end",P),ne=Math.max(J,Zc(ve||(oi?"100% 0":Le),oi,Xe,x,$()+Pe,Ye,Ne,P,le,N,L,Le,A,P._endClamp&&"_endClamp"))||-.001,Pe=0,et=wi;et--;)He=ee[et],yi=He.pin,yi&&He.start-He._pinPush<=J&&!A&&He.end>0&&(tt=He.end-(P._startClamp?Math.max(0,He.start):He.start),(yi===m&&He.start-He._pinPush=mi(S,x)))tt=Zt(p),aa=x===Be,Cr=$(),je=parseFloat(he(x.a))+Ee,!Le&&ne>1&&(bi=(C?we.scrollingElement||Rt:S).style,bi={style:bi,value:bi["overflow"+x.a.toUpperCase()]},C&&Zt(pe)["overflow"+x.a.toUpperCase()]!=="scroll"&&(bi.style["overflow"+x.a.toUpperCase()]="scroll")),yo(p,Ce,tt),ri=Fs(p),dt=xi(p,!0),el=L&&Wi(S,aa?gt:Be)(),d?(Fe=[d+x.os2,ge+Ee+$e],Fe.t=Ce,et=d===Re?ks(p,x)+ge+Ee:0,et&&(Fe.push(x.d,et+$e),Ce.style.flexBasis!=="auto"&&(Ce.style.flexBasis=et+$e)),Zr(Fe),Vt&&ee.forEach(function(Zi){Zi.pin===Vt&&Zi.vars.pinSpacing!==!1&&(Zi._subPinOffset=!0)}),L&&$(ai)):(et=ks(p,x),et&&Ce.style.flexBasis!=="auto"&&(Ce.style.flexBasis=et+$e)),L&&(ft={top:dt.top+(aa?Cr-J:el)+$e,left:dt.left+(aa?el:Cr-J)+$e,boxSizing:"border-box",position:"fixed"},ft[dr]=ft["max"+Xr]=Math.ceil(dt.width)+$e,ft[fr]=ft["max"+fo]=Math.ceil(dt.height)+$e,ft[Ut]=ft[Ut+Rn]=ft[Ut+Dn]=ft[Ut+Nn]=ft[Ut+zn]="0",ft[Re]=tt[Re],ft[Re+Rn]=tt[Re+Rn],ft[Re+Dn]=tt[Re+Dn],ft[Re+Nn]=tt[Re+Nn],ft[Re+zn]=tt[Re+zn],Qt=jf(Wt,ft,_),yt&&$(0)),r?(nd=r._initted,eo(1),r.render(r.duration(),!0,!0),Ci=he(x.a)-je+ge+Ee,Pi=Math.abs(ge-Ci)>1,L&&Pi&&Qt.splice(Qt.length-2,2),r.render(0,!0,!0),nd||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),eo(0)):Ci=ge,bi&&(bi.value?bi.style["overflow"+x.a.toUpperCase()]=bi.value:bi.style.removeProperty("overflow-"+x.a));else if(m&&$()&&!A)for(dt=m.parentNode;dt&&dt!==pe;)dt._pinOffset&&(J-=dt._pinOffset,ne-=dt._pinOffset),dt=dt.parentNode;is&&is.forEach(function(Zi){return Zi.revert(!1,!0)}),P.start=J,P.end=ne,Se=Te=yt?ai:$(),!A&&!yt&&(Se0?ee.slice(0,U).reverse():ee.slice(U+1);return(Nt(Y)?q.filter(function(Z){return Z.vars.preventOverlaps===Y}):q).filter(function(Z){return P.direction>0?Z.end<=J:Z.start>=ne})},P.update=function(Y,U,q){if(!(A&&!q&&!Y)){var Z=yt===!0?ai:P.scroll(),Xe=Y?0:(Z-J)/ge,le=Xe<0?0:Xe>1?1:Xe||0,Le=P.progress,ut,Pe,Ee,ve,oi,Me,Vt,wi;if(U&&(Te=Se,Se=A?$():Z,y&&(Ar=Ui,Ui=r&&!D?r.totalProgress():le)),v&&p&&!st&&!As&&Xt&&(!le&&JZ+(Z-Te)/(at()-Cn)*v&&(le=.9999)),le!==Le&&P.enabled){if(ut=P.isActive=!!le&&le<1,Pe=!!Le&&Le<1,Me=ut!==Pe,oi=Me||!!le!=!!Le,P.direction=le>Le?1:-1,P.progress=le,oi&&!st&&(Ee=le&&!Le?0:le===1?1:Le===1?2:3,D&&(ve=!Me&&O[Ee+1]!=="none"&&O[Ee+1]||O[Ee],wi=r&&(ve==="complete"||ve==="reset"||ve in r))),k&&(Me||wi)&&(wi||h||!r)&&(ot(k)?k(P):P.getTrailing(k).forEach(function(Cr){return Cr.endAnimation()})),D||(ae&&!st&&!As?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",le,r._tTime/r._tDur):(ae.vars.totalProgress=le,ae.invalidate().restart())):r&&r.totalProgress(le,!!(st&&(B||Y)))),p){if(Y&&d&&(Ce.style[d+x.os2]=es),!L)kt(On(je+Ci*le));else if(oi){if(Vt=!Y&&le>Le&&ne+1>Z&&Z+1>=mi(S,x),_)if(!Y&&(ut||Vt)){var et=xi(p,!0),tt=Z-J;Kc(p,pe,et.top+(x===Be?tt:0)+$e,et.left+(x===Be?0:tt)+$e)}else Kc(p,Ce);Zr(ut||Vt?Qt:ri),Pi&&le<1&&ut||kt(je+(le===1&&!Vt?Ci:0))}}y&&!j.tween&&!st&&!As&&si.restart(!0),o&&(Me||g&&le&&(le<1||!ao))&&Mn(o.targets).forEach(function(Cr){return Cr.classList[ut||g?"add":"remove"](o.className)}),a&&!D&&!Y&&a(P),oi&&!st?(D&&(wi&&(ve==="complete"?r.pause().totalProgress(1):ve==="reset"?r.restart(!0).pause():ve==="restart"?r.restart(!0):r[ve]()),a&&a(P)),(Me||!ao)&&(c&&Me&&lo(P,c),z[Ee]&&lo(P,z[Ee]),g&&(le===1?P.kill(!1,1):z[Ee]=0),Me||(Ee=le===1?1:3,z[Ee]&&lo(P,z[Ee]))),E&&!ut&&Math.abs(P.getVelocity())>(In(E)?E:2500)&&(Ln(P.callbackAnimation),ae?ae.progress(1):Ln(r,ve==="reverse"?1:!le,1))):D&&a&&!st&&a(P)}if(an){var dt=A?Z/A.duration()*(A._caScrollDist||0):Z;sa(dt+(R._isFlipped?1:0)),an(dt)}ln&&ln(-Z/A.duration()*(A._caScrollDist||0))}},P.enable=function(Y,U){P.enabled||(P.enabled=!0,Ve(S,"resize",Bn),C||Ve(S,"scroll",Ur),H&&Ve(n,"refreshInit",H),Y!==!1&&(P.progress=F=0,Se=Te=de=$()),U!==!1&&P.refresh())},P.getTween=function(Y){return Y&&j?j.tween:ae},P.setPositions=function(Y,U,q,Z){if(A){var Xe=A.scrollTrigger,le=A.duration(),Le=Xe.end-Xe.start;Y=Xe.start+Le*Y/le,U=Xe.start+Le*U/le}P.refresh(!1,!1,{start:Oc(Y,q&&!!P._startClamp),end:Oc(U,q&&!!P._endClamp)},Z),P.update()},P.adjustPinSpacing=function(Y){if(Fe&&Y){var U=Fe.indexOf(x.d)+1;Fe[U]=parseFloat(Fe[U])+Y+$e,Fe[1]=parseFloat(Fe[1])+Y+$e,Zr(Fe)}},P.disable=function(Y,U){if(P.enabled&&(Y!==!1&&P.revert(!0,!0),P.enabled=P.isActive=!1,U||ae&&ae.pause(),ai=0,ce&&(ce.uncache=1),H&&qe(n,"refreshInit",H),si&&(si.pause(),j.tween&&j.tween.kill()&&(j.tween=0)),!C)){for(var q=ee.length;q--;)if(ee[q].scroller===S&&ee[q]!==P)return;qe(S,"resize",Bn),C||qe(S,"scroll",Ur)}},P.kill=function(Y,U){P.disable(Y,U),ae&&!U&&ae.kill(),l&&delete ho[l];var q=ee.indexOf(P);q>=0&&ee.splice(q,1),q===vt&&Rs>0&&vt--,q=0,ee.forEach(function(Z){return Z.scroller===P.scroller&&(q=1)}),q||yt||(P.scroll.rec=0),r&&(r.scrollTrigger=null,Y&&r.revert({kill:!1}),U||r.kill()),ye&&[ye,Ye,R,Ne].forEach(function(Z){return Z.parentNode&&Z.parentNode.removeChild(Z)}),$n===P&&($n=0),p&&(ce&&(ce.uncache=1),q=0,ee.forEach(function(Z){return Z.pin===p&&q++}),q||(ce.spacer=0)),i.onKill&&i.onKill(P)},ee.push(P),P.enable(!1,!1),Oi&&Oi(P),r&&r.add&&!ge){var fe=P.update;P.update=function(){P.update=fe,te.cache++,J||ne||P.refresh()},W.delayedCall(.01,P.update),ge=.01,J=ne=0}else P.refresh();p&&Vf()},n.register=function(i){return Vr||(W=i||zc(),Dc()&&window.document&&n.enable(),Vr=Pn),Vr},n.defaults=function(i){if(i)for(var r in i)Os[r]=i[r];return Os},n.disable=function(i,r){Pn=0,ee.forEach(function(a){return a[r?"kill":"disable"](i)}),qe(ie,"wheel",Ur),qe(we,"scroll",Ur),clearInterval(Ts),qe(we,"touchcancel",hi),qe(pe,"touchstart",hi),Cs(qe,we,"pointerdown,touchstart,mousedown",Ic),Cs(qe,we,"pointerup,touchend,mouseup",Lc),Ss.kill(),Ms(qe);for(var s=0;s0&&a.left+o0&&a.top+o=0&&Ft.splice(t,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),W.core.getCache(e),io())}}):Ft},K.revert=function(n,e){return go(!n,e)},K.create=function(n,e){return new K(n,e)},K.refresh=function(n){return n?Bn(!0):(Vr||K.register())&&gr(!0)},K.update=function(n){return++te.cache&&Ai(n===!0?2:0)},K.clearScrollMemory=Gc,K.maxScroll=function(n,e){return mi(n,e?gt:Be)},K.getScrollFunc=function(n,e){return Wi(At(n),e?gt:Be)},K.getById=function(n){return ho[n]},K.getAll=function(){return ee.filter(function(n){return n.vars.id!=="ScrollSmoother"})},K.isScrolling=function(){return!!Xt},K.snapDirectional=po,K.addEventListener=function(n,e){var t=pr[n]||(pr[n]=[]);~t.indexOf(e)||t.push(e)},K.removeEventListener=function(n,e){var t=pr[n],i=t&&t.indexOf(e);i>=0&&t.splice(i,1)},K.batch=function(n,e){var t=[],i={},r=e.interval||.016,s=e.batchMax||1e9,a=function(c,u){var h=[],m=[],p=W.delayedCall(r,function(){u(h,m),h=[],m=[]}).pause();return function(d){h.length||p.restart(!0),h.push(d.trigger),m.push(d),s<=h.length&&p.progress(1)}},o;for(o in e)i[o]=o.substr(0,2)==="on"&&ot(e[o])&&o!=="onRefreshInit"?a(o,e[o]):e[o];return ot(s)&&(s=s(),Ve(K,"refresh",function(){return s=e.batchMax()})),Mn(n).forEach(function(l){var c={};for(o in i)c[o]=i[o];c.trigger=l,t.push(K.create(c))}),t};var eu=function(e,t,i,r){return t>r?e(r):t<0&&e(0),i>r?(r-t)/(i-t):i<0?t/(t-i):1},bo=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Ie.isTouch?" pinch-zoom":""):"none",e===Rt&&n(pe,t)},Ys={auto:1,scroll:1},Uf=function(e){var t=e.event,i=e.target,r=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,a=s._gsap||W.core.getCache(s),o=at(),l;if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==pe&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(Ys[(l=Zt(s)).overflowY]||Ys[l.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==i&&!cr(s)&&(Ys[(l=Zt(s)).overflowY]||Ys[l.overflowX]),a._isScrollT=o}(a._isScroll||r==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},tu=function(e,t,i,r){return Ie.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&Uf,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return i&&Ve(we,Ie.eventTypes[0],ru,!1,!0)},onDisable:function(){return qe(we,Ie.eventTypes[0],ru,!0)}})},Zf=/(input|label|select|textarea)/i,iu,ru=function(e){var t=Zf.test(e.target.tagName);(t||iu)&&(e._gsapAllow=!0,iu=t)},Kf=function(e){ur(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,i=t.normalizeScrollX,r=t.momentum,s=t.allowNestedScroll,a=t.onRelease,o,l,c=At(e.target)||Rt,u=W.core.globals().ScrollSmoother,h=u&&u.get(),m=Vi&&(e.content&&At(e.content)||h&&e.content!==!1&&!h.smooth()&&h.content()),p=Wi(c,Be),d=Wi(c,gt),f=1,v=(Ie.isTouch&&ie.visualViewport?ie.visualViewport.scale*ie.visualViewport.width:ie.outerWidth)/ie.innerWidth,b=0,w=ot(r)?function(){return r(o)}:function(){return r||2.8},g,y,_=tu(c,e.type,!0,s),M=function(){return y=!1},A=hi,E=hi,k=function(){l=mi(c,Be),E=kn(Vi?1:0,l),i&&(A=kn(0,mi(c,gt))),g=mr},x=function(){m._gsap.y=On(parseFloat(m._gsap.y)+p.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",p.offset=p.cacheID=0},D=function(){if(y){requestAnimationFrame(M);var I=On(o.deltaY/2),N=E(p.v-I);if(m&&N!==p.v+p.offset){p.offset=N-p.v;var P=On((parseFloat(m&&m._gsap.y)||0)-p.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+P+", 0, 1)",m._gsap.y=P+"px",p.cacheID=te.cache,Ai()}return!0}p.offset&&x(),y=!0},S,T,C,L,z=function(){k(),S.isActive()&&S.vars.scrollY>l&&(p()>l?S.progress(1)&&p(l):S.resetTo("scrollY",l))};return m&&W.set(m,{y:"+=0"}),e.ignoreCheck=function(O){return Vi&&O.type==="touchmove"&&D()||f>1.05&&O.type!=="touchstart"||o.isGesturing||O.touches&&O.touches.length>1},e.onPress=function(){y=!1;var O=f;f=On((ie.visualViewport&&ie.visualViewport.scale||1)/v),S.pause(),O!==f&&bo(c,f>1.01?!0:i?!1:"x"),T=d(),C=p(),k(),g=mr},e.onRelease=e.onGestureStart=function(O,I){if(p.offset&&x(),!I)L.restart(!0);else{te.cache++;var N=w(),P,H;i&&(P=d(),H=P+N*.05*-O.velocityX/.227,N*=eu(d,P,H,mi(c,gt)),S.vars.scrollX=A(H)),P=p(),H=P+N*.05*-O.velocityY/.227,N*=eu(p,P,H,mi(c,Be)),S.vars.scrollY=E(H),S.invalidate().duration(N).play(.01),(Vi&&S.vars.scrollY>=l||P>=l-1)&&W.to({},{onUpdate:z,duration:N})}a&&a(O)},e.onWheel=function(){S._ts&&S.pause(),at()-b>1e3&&(g=0,b=at())},e.onChange=function(O,I,N,P,H){if(mr!==g&&k(),I&&i&&d(A(P[2]===I?T+(O.startX-O.x):d()+I-P[1])),N){p.offset&&x();var G=H[2]===N,re=G?C+O.startY-O.y:p()+N-H[1],de=E(re);G&&re!==de&&(C+=de-re),p(de)}(N||I)&&Ai()},e.onEnable=function(){bo(c,i?!1:"x"),K.addEventListener("refresh",z),Ve(ie,"resize",z),p.smooth&&(p.target.style.scrollBehavior="auto",p.smooth=d.smooth=!1),_.enable()},e.onDisable=function(){bo(c,!0),qe(ie,"resize",z),K.removeEventListener("refresh",z),_.kill()},e.lockAxis=e.lockAxis!==!1,o=new Ie(e),o.iOS=Vi,Vi&&!p()&&p(1),Vi&&W.ticker.add(hi),L=o._dc,S=W.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Jc(p,p(),function(){return S.pause()})},onUpdate:Ai,onComplete:L.vars.onComplete}),o};K.sort=function(n){if(ot(n))return ee.sort(n);var e=ie.pageYOffset||0;return K.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+ie.innerHeight}),ee.sort(n||function(t,i){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((i.vars.containerAnimation?1e6:i._sortY)+(i.vars.refreshPriority||0)*-1e6)})},K.observe=function(n){return new Ie(n)},K.normalizeScroll=function(n){if(typeof n>"u")return wt;if(n===!0&&wt)return wt.enable();if(n===!1){wt&&wt.kill(),wt=n;return}var e=n instanceof Ie?n:Kf(n);return wt&&wt.target===e.target&&wt.kill(),cr(e.target)&&(wt=e),e},K.core={_getVelocityProp:Ka,_inputObserver:tu,_scrollers:te,_proxies:pi,bridge:{ss:function(){Xt||hr("scrollStart"),Xt=at()},ref:function(){return st}}},zc()&&W.registerPlugin(K);var Jf="1.2.3";function nu(n,e,t){return Math.max(n,Math.min(e,t))}function Qf(n,e,t){return(1-t)*n+t*e}function ep(n,e,t,i){return Qf(n,e,1-Math.exp(-t*i))}function tp(n,e){return(n%e+e)%e}var ip=class{constructor(){V(this,"isRunning",!1);V(this,"value",0);V(this,"from",0);V(this,"to",0);V(this,"currentTime",0);V(this,"lerp");V(this,"duration");V(this,"easing");V(this,"onUpdate")}advance(n){var t;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=n;const i=nu(0,this.currentTime/this.duration,1);e=i>=1;const r=e?1:this.easing(i);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=ep(this.value,this.to,this.lerp*60,n),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(t=this.onUpdate)==null||t.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(n,e,{lerp:t,duration:i,easing:r,onStart:s,onUpdate:a}){this.from=this.value=n,this.to=e,this.lerp=t,this.duration=i,this.easing=r,this.currentTime=0,this.isRunning=!0,s==null||s(),this.onUpdate=a}};function rp(n,e){let t;return function(...i){let r=this;clearTimeout(t),t=setTimeout(()=>{t=void 0,n.apply(r,i)},e)}}var np=class{constructor(n,e,{autoResize:t=!0,debounce:i=250}={}){V(this,"width",0);V(this,"height",0);V(this,"scrollHeight",0);V(this,"scrollWidth",0);V(this,"debouncedResize");V(this,"wrapperResizeObserver");V(this,"contentResizeObserver");V(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});V(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});V(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=n,this.content=e,t&&(this.debouncedResize=rp(this.resize,i),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var n,e;(n=this.wrapperResizeObserver)==null||n.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},su=class{constructor(){V(this,"events",{})}emit(n,...e){var i;let t=this.events[n]||[];for(let r=0,s=t.length;r{var i;this.events[n]=(i=this.events[n])==null?void 0:i.filter(r=>e!==r)}}off(n,e){var t;this.events[n]=(t=this.events[n])==null?void 0:t.filter(i=>e!==i)}destroy(){this.events={}}},au=100/6,qi={passive:!1},sp=class{constructor(n,e={wheelMultiplier:1,touchMultiplier:1}){V(this,"touchStart",{x:0,y:0});V(this,"lastDelta",{x:0,y:0});V(this,"window",{width:0,height:0});V(this,"emitter",new su);V(this,"onTouchStart",n=>{const{clientX:e,clientY:t}=n.targetTouches?n.targetTouches[0]:n;this.touchStart.x=e,this.touchStart.y=t,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:n})});V(this,"onTouchMove",n=>{const{clientX:e,clientY:t}=n.targetTouches?n.targetTouches[0]:n,i=-(e-this.touchStart.x)*this.options.touchMultiplier,r=-(t-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=t,this.lastDelta={x:i,y:r},this.emitter.emit("scroll",{deltaX:i,deltaY:r,event:n})});V(this,"onTouchEnd",n=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:n})});V(this,"onWheel",n=>{let{deltaX:e,deltaY:t,deltaMode:i}=n;const r=i===1?au:i===2?this.window.width:1,s=i===1?au:i===2?this.window.height:1;e*=r,t*=s,e*=this.options.wheelMultiplier,t*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:t,event:n})});V(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=n,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,qi),this.element.addEventListener("touchstart",this.onTouchStart,qi),this.element.addEventListener("touchmove",this.onTouchMove,qi),this.element.addEventListener("touchend",this.onTouchEnd,qi)}on(n,e){return this.emitter.on(n,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,qi),this.element.removeEventListener("touchstart",this.onTouchStart,qi),this.element.removeEventListener("touchmove",this.onTouchMove,qi),this.element.removeEventListener("touchend",this.onTouchEnd,qi)}},ap=class{constructor({wrapper:n=window,content:e=document.documentElement,eventsTarget:t=n,smoothWheel:i=!0,syncTouch:r=!1,syncTouchLerp:s=.075,touchInertiaMultiplier:a=35,duration:o,easing:l=M=>Math.min(1,1.001-Math.pow(2,-10*M)),lerp:c=.1,infinite:u=!1,orientation:h="vertical",gestureOrientation:m="vertical",touchMultiplier:p=1,wheelMultiplier:d=1,autoResize:f=!0,prevent:v,virtualScroll:b,overscroll:w=!0,autoRaf:g=!1,anchors:y=!1,__experimental__naiveDimensions:_=!1}={}){V(this,"_isScrolling",!1);V(this,"_isStopped",!1);V(this,"_isLocked",!1);V(this,"_preventNextNativeScrollEvent",!1);V(this,"_resetVelocityTimeout",null);V(this,"__rafID",null);V(this,"isTouching");V(this,"time",0);V(this,"userData",{});V(this,"lastVelocity",0);V(this,"velocity",0);V(this,"direction",0);V(this,"options");V(this,"targetScroll");V(this,"animatedScroll");V(this,"animate",new ip);V(this,"emitter",new su);V(this,"dimensions");V(this,"virtualScroll");V(this,"onScrollEnd",n=>{n instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&n.stopPropagation()});V(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});V(this,"onClick",n=>{const t=n.composedPath().find(i=>{var r,s,a;return i instanceof HTMLAnchorElement&&(((r=i.getAttribute("href"))==null?void 0:r.startsWith("#"))||((s=i.getAttribute("href"))==null?void 0:s.startsWith("/#"))||((a=i.getAttribute("href"))==null?void 0:a.startsWith("./#")))});if(t){const i=t.getAttribute("href");if(i){const r=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0;this.scrollTo(`#${i.split("#")[1]}`,r)}}});V(this,"onPointerDown",n=>{n.button===1&&this.reset()});V(this,"onVirtualScroll",n=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(n)===!1)return;const{deltaX:e,deltaY:t,event:i}=n;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:t,event:i}),i.ctrlKey||i.lenisStopPropagation)return;const r=i.type.includes("touch"),s=i.type.includes("wheel");this.isTouching=i.type==="touchstart"||i.type==="touchmove";const a=e===0&&t===0;if(this.options.syncTouch&&r&&i.type==="touchstart"&&a&&!this.isStopped&&!this.isLocked){this.reset();return}const l=this.options.gestureOrientation==="vertical"&&t===0||this.options.gestureOrientation==="horizontal"&&e===0;if(a||l)return;let c=i.composedPath();c=c.slice(0,c.indexOf(this.rootElement));const u=this.options.prevent;if(c.find(v=>{var b,w,g;return v instanceof HTMLElement&&(typeof u=="function"&&(u==null?void 0:u(v))||((b=v.hasAttribute)==null?void 0:b.call(v,"data-lenis-prevent"))||r&&((w=v.hasAttribute)==null?void 0:w.call(v,"data-lenis-prevent-touch"))||s&&((g=v.hasAttribute)==null?void 0:g.call(v,"data-lenis-prevent-wheel")))}))return;if(this.isStopped||this.isLocked){i.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),i.lenisStopPropagation=!0;return}let m=t;this.options.gestureOrientation==="both"?m=Math.abs(t)>Math.abs(e)?t:e:this.options.gestureOrientation==="horizontal"&&(m=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&t<0))&&(i.lenisStopPropagation=!0),i.preventDefault();const p=r&&this.options.syncTouch,f=r&&i.type==="touchend"&&Math.abs(m)>5;f&&(m=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+m,{programmatic:!1,...p?{lerp:f?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});V(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const n=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-n,this.direction=Math.sign(this.animatedScroll-n),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});V(this,"raf",n=>{const e=n-(this.time||n);this.time=n,this.animate.advance(e*.001),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))});window.lenisVersion=Jf,(!n||n===document.documentElement)&&(n=window),this.options={wrapper:n,content:e,eventsTarget:t,smoothWheel:i,syncTouch:r,syncTouchLerp:s,touchInertiaMultiplier:a,duration:o,easing:l,lerp:c,infinite:u,gestureOrientation:m,orientation:h,touchMultiplier:p,wheelMultiplier:d,autoResize:f,prevent:v,virtualScroll:b,overscroll:w,autoRaf:g,anchors:y,__experimental__naiveDimensions:_},this.dimensions=new np(n,e,{autoResize:f}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new sp(t,{touchMultiplier:p,wheelMultiplier:d}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(n,e){return this.emitter.on(n,e)}off(n,e){return this.emitter.off(n,e)}setScroll(n){this.isHorizontal?this.options.wrapper.scrollTo({left:n,behavior:"instant"}):this.options.wrapper.scrollTo({top:n,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.reset(),this.isStopped=!1)}stop(){this.isStopped||(this.reset(),this.isStopped=!0)}scrollTo(n,{offset:e=0,immediate:t=!1,lock:i=!1,duration:r=this.options.duration,easing:s=this.options.easing,lerp:a=this.options.lerp,onStart:o,onComplete:l,force:c=!1,programmatic:u=!0,userData:h}={}){if(!((this.isStopped||this.isLocked)&&!c)){if(typeof n=="string"&&["top","left","start"].includes(n))n=0;else if(typeof n=="string"&&["bottom","right","end"].includes(n))n=this.limit;else{let m;if(typeof n=="string"?m=document.querySelector(n):n instanceof HTMLElement&&(n!=null&&n.nodeType)&&(m=n),m){if(this.options.wrapper!==window){const d=this.rootElement.getBoundingClientRect();e-=this.isHorizontal?d.left:d.top}const p=m.getBoundingClientRect();n=(this.isHorizontal?p.left:p.top)+this.animatedScroll}}if(typeof n=="number"){if(n+=e,n=Math.round(n),this.options.infinite?u&&(this.targetScroll=this.animatedScroll=this.scroll):n=nu(0,n,this.limit),n===this.targetScroll){o==null||o(this),l==null||l(this);return}if(this.userData=h??{},t){this.animatedScroll=this.targetScroll=n,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),l==null||l(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}u||(this.targetScroll=n),this.animate.fromTo(this.animatedScroll,n,{duration:r,easing:s,lerp:a,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling="smooth",o==null||o(this)},onUpdate:(m,p)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=m-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=m,this.setScroll(this.scroll),u&&(this.targetScroll=m),p||this.emit(),p&&(this.reset(),this.emit(),l==null||l(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const n=this.options.wrapper;return this.isHorizontal?n.scrollX??n.scrollLeft:n.scrollY??n.scrollTop}get scroll(){return this.options.infinite?tp(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(n){this._isScrolling!==n&&(this._isScrolling=n,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(n){this._isStopped!==n&&(this._isStopped=n,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(n){this._isLocked!==n&&(this._isLocked=n,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let n="lenis";return this.isStopped&&(n+=" lenis-stopped"),this.isLocked&&(n+=" lenis-locked"),this.isScrolling&&(n+=" lenis-scrolling"),this.isScrolling==="smooth"&&(n+=" lenis-smooth"),n}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};class op{constructor(){this.lenis=new ap({}),window.lenis=this.lenis,this.lenis.on("scroll",K.update),ue.ticker.add(e=>{this.lenis.raf(e*1e3)}),ue.ticker.lagSmoothing(0),this.initScrollLinks()}getLenis(){return this.lenis}initScrollLinks(){document.addEventListener("click",e=>{const t=e.target.closest("[data-scrolllink]");if(!t)return;e.preventDefault();const i=t.getAttribute("data-scrolllink"),r=document.querySelector(i);r&&(document.querySelectorAll(".w--current").forEach(s=>{s.classList.remove("w--current")}),t.classList.add("w--current"),this.lenis.scrollTo(r,{offset:-200,immediate:!1,duration:1.2,easing:s=>Math.min(1,1.001-Math.pow(2,-10*s))}))})}}const lp=()=>new op;/*! * SplitText 3.13.0 * https://gsap.com * * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license. * @author: Jack Doyle */let Yn,Kr,_o,cp=()=>_o||Qr.register(window.gsap),ou=typeof Intl<"u"?new Intl.Segmenter:0,Hs=n=>typeof n=="string"?Hs(document.querySelectorAll(n)):"length"in n?Array.from(n):[n],lu=n=>Hs(n).filter(e=>e instanceof HTMLElement),So=[],To=function(){},up=/\s+/g,cu=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),uu={left:0,top:0,width:0,height:0},du=(n,e)=>{if(e){let t=new Set(n.join("").match(e)||So),i=n.length,r,s,a,o;if(t.size)for(;--i>-1;){s=n[i];for(a of t)if(a.startsWith(s)&&a.length>s.length){for(r=0,o=s;a.startsWith(o+=n[i+ ++r])&&o.lengthwindow.getComputedStyle(n).display==="inline"&&(n.style.display="inline-block"),Jr=(n,e,t)=>e.insertBefore(typeof n=="string"?document.createTextNode(n):n,t),Eo=(n,e,t)=>{let i=e[n+"sClass"]||"",{tag:r="div",aria:s="auto",propIndex:a=!1}=e,o=n==="line"?"block":"inline-block",l=i.indexOf("++")>-1,c=u=>{let h=document.createElement(r),m=t.length+1;return i&&(h.className=i+(l?" "+i+m:"")),a&&h.style.setProperty("--"+n,m+""),s!=="none"&&h.setAttribute("aria-hidden","true"),r!=="span"&&(h.style.position="relative",h.style.display=o),h.textContent=u,t.push(h),h};return l&&(i=i.replace("++","")),c.collection=t,c},dp=(n,e,t,i)=>{let r=Eo("line",t,i),s=window.getComputedStyle(n).textAlign||"left";return(a,o)=>{let l=r("");for(l.style.textAlign=s,n.insertBefore(l,e[a]);a{var u;let h=Array.from(n.childNodes),m=0,{wordDelimiter:p,reduceWhiteSpace:d=!0,prepareText:f}=e,v=n.getBoundingClientRect(),b=v,w=!d&&window.getComputedStyle(n).whiteSpace.substring(0,3)==="pre",g=0,y=t.collection,_,M,A,E,k,x,D,S,T,C,L,z,O,I,N,P,H,G;for(typeof p=="object"?(A=p.delimiter||p,M=p.replaceWith||""):M=p===""?"":p||" ",_=M!==" ";m-1?(x=y[y.length-1],x.appendChild(document.createTextNode(i?"":P))):(x=t(i?"":P),Jr(x,n,E),g&&T===1&&!D&&x.insertBefore(g,x.firstChild)),i)for(L=ou?du([...ou.segment(P)].map(re=>re.segment),l):P.match(o)||So,G=0;Gb.top&&C.left<=b.left){for(z=n.cloneNode(),O=n.childNodes[0];O&&O!==x;)I=O,O=O.nextSibling,z.appendChild(I);n.parentNode.insertBefore(z,n),r&&fu(z)}b=C}(T=k.length?" ":_&&P.slice(-1)===" "?" "+M:M,n,E)}n.removeChild(E),g=0}else E.nodeType===1&&(a&&a.indexOf(E)>-1?(y.indexOf(E.previousSibling)>-1&&y[y.length-1].appendChild(E),g=E):(pu(E,e,t,i,r,s,a,o,l,!0),g=0),r&&fu(E))};const hu=class sd{constructor(e,t){this.isSplit=!1,cp(),this.elements=lu(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let i=[],r,s=()=>{let a=i.length,o;for(;a--;){o=i[a];let l=o.element.offsetWidth;if(l!==o.width){o.width=l,this._split();return}}};this._data={orig:i,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(r),r=setTimeout(s,200)})},To(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:i="auto",deepSlice:r=!0,smartWrap:s,onSplit:a,autoSplit:o=!1,specialChars:l,mask:c}=this.vars,u=t.indexOf("lines")>-1,h=t.indexOf("chars")>-1,m=t.indexOf("words")>-1,p=h&&!m&&!u,d=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),f=d?new RegExp(d.source+"|"+cu.source,"gu"):cu,v=!!e.ignore&&lu(e.ignore),{orig:b,animTime:w,obs:g}=this._data,y;return(h||m||u)&&(this.elements.forEach((_,M)=>{b[M]={element:_,html:_.innerHTML,ariaL:_.getAttribute("aria-label"),ariaH:_.getAttribute("aria-hidden")},i==="auto"?_.setAttribute("aria-label",(_.textContent||"").trim()):i==="hidden"&&_.setAttribute("aria-hidden","true");let A=[],E=[],k=[],x=h?Eo("char",e,A):null,D=Eo("word",e,E),S,T,C,L;if(pu(_,e,D,x,p,r&&(u||p),v,f,d,!1),u){let z=Hs(_.childNodes),O=dp(_,z,e,k),I,N=[],P=0,H=z.map(re=>re.nodeType===1?re.getBoundingClientRect():uu),G=uu;for(S=0;SG.top&&H[S].left<=G.left&&(O(P,S),P=S),G=H[S]));P{var de;return(de=re.parentNode)==null?void 0:de.removeChild(re)})}if(!m){for(S=0;S{let M=_.cloneNode();return _.replaceWith(M),M.appendChild(_),_.className&&(M.className=_.className.replace(/(\b\w+\b)/g,"$1-mask")),M.style.overflow="clip",M}))),this.isSplit=!0,Kr&&(o?Kr.addEventListener("loadingdone",this._split):Kr.status==="loading"&&console.warn("SplitText called before fonts loaded")),(y=a&&a(this))&&y.totalTime&&(this._data.anim=w?y.totalTime(w):y),u&&o&&this.elements.forEach((_,M)=>{b[M].width=_.offsetWidth,g&&g.observe(_)}),this}revert(){var e,t;let{orig:i,anim:r,obs:s}=this._data;return s&&s.disconnect(),i.forEach(({element:a,html:o,ariaL:l,ariaH:c})=>{a.innerHTML=o,l?a.setAttribute("aria-label",l):a.removeAttribute("aria-label"),c?a.setAttribute("aria-hidden",c):a.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=i.length=this.masks.length=0,this.isSplit=!1,Kr==null||Kr.removeEventListener("loadingdone",this._split),r&&(this._data.animTime=r.totalTime(),r.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this),this}static create(e,t){return new sd(e,t)}static register(e){Yn=Yn||e||window.gsap,Yn&&(Hs=Yn.utils.toArray,To=Yn.core.context||To),!_o&&window.innerWidth>0&&(Kr=document.fonts,_o=!0)}};hu.version="3.13.0";let Qr=hu;ue.registerPlugin(K,Qr);const fp=async()=>{try{await document.fonts.ready,console.log("Fonts loaded successfully")}catch(s){console.error("Error loading fonts:",s)}const n=document.querySelectorAll("[split-text]");let e=[];function t(){e.forEach(s=>{s.revert&&s.revert()}),e=[],n.forEach(s=>{const a=window.getComputedStyle(s).textWrap,o=s.getAttribute("split-text"),l=new Qr(s,{type:"lines",linesClass:"split-line"}),c=new Qr(s,{type:"lines",linesClass:"mask-line"});e.push(l,c),ue.set(c.lines,{overflow:"clip",paddingBottom:"0.08em"});let u;switch(o){case"head":u={yPercent:105,opacity:.5,rotateZ:.1,rotateY:50,duration:1.4,ease:"expo.out",stagger:.1,scrollTrigger:{trigger:s,start:"top 80%",toggleActions:"play none none reverse"}};break;case"left-head":u={yPercent:105,opacity:.5,rotateZ:.1,rotateY:30,transformOrigin:"left center",duration:1.4,ease:"expo.out",stagger:.1,scrollTrigger:{trigger:s,start:"top 80%",toggleActions:"play none none reverse"}};break;case"eyebrow":u={yPercent:105,opacity:.5,rotateZ:.1,rotateY:50,duration:1.4,ease:"expo.out",stagger:.1,scrollTrigger:{trigger:s,start:"top 90%",toggleActions:"play none none reverse"}};break;default:u={yPercent:105,opacity:.5,rotateY:20,rotateZ:.6,duration:1,ease:"power3.out",stagger:.06,scrollTrigger:{trigger:s,start:"top 90%",toggleActions:"play none none reverse"}}}ue.from(l.lines,u).eventCallback("onComplete",()=>{a&&setTimeout(()=>{ue.set(s,{textWrap:a})},250)})})}t();let i;const r=()=>{clearTimeout(i),i=setTimeout(t,250)};return window.addEventListener("resize",r),window.addEventListener("orientationchange",t),()=>{window.removeEventListener("resize",r),window.removeEventListener("orientationchange",t),e.forEach(s=>{s.revert&&s.revert()})}},pp=()=>fp();ue.registerPlugin(K);const Ws=()=>{K.getAll().forEach(i=>{i.vars&&i.vars.trigger&&i.vars.trigger.hasAttribute&&(i.vars.trigger.hasAttribute("split-text")||i.vars.trigger.hasAttribute("motion")||i.vars.trigger.hasAttribute("motion-group-container"))&&i.kill(!0)});const n={duration:1.4,ease:"power3.out",stagger:.1,start:"top 80%",markers:!1,moveValue:100,moveXValue:50,scaleValue:.5,opacityValue:0},e=document.querySelectorAll("[motion]");if(e.length===0){console.log("No motion elements found");return}const t={};e.forEach(i=>{const r=i.getAttribute("motion"),s=i.getAttribute("motion-group"),a=i.getAttribute("motion-duration")?parseFloat(i.getAttribute("motion-duration")):n.duration,o=i.getAttribute("motion-delay")?parseFloat(i.getAttribute("motion-delay")):0,l=i.getAttribute("motion-ease")||n.ease,c=i.getAttribute("motion-start")||n.start,u=i.getAttribute("move-value")?parseFloat(i.getAttribute("move-value")):n.moveValue,h=i.getAttribute("move-x-value")?parseFloat(i.getAttribute("move-x-value")):n.moveXValue,m=i.getAttribute("scale-value")?parseFloat(i.getAttribute("scale-value")):n.scaleValue,p=i.getAttribute("opacity-value")?parseFloat(i.getAttribute("opacity-value")):n.opacityValue;if(r==="fade")ue.set(i,{opacity:p});else if(r==="move-up")ue.set(i,{opacity:p,y:u});else if(r==="move-down")ue.set(i,{opacity:p,y:-u});else if(r==="move-left")ue.set(i,{opacity:p,x:h});else if(r==="move-right")ue.set(i,{opacity:p,x:-h});else if(r==="scale")ue.set(i,{opacity:p,scale:m});else{console.warn(`Unknown motion type: ${r} on element`,i);return}s?(t[s]||(t[s]=[]),t[s].push({element:i,motionType:r,duration:a,delay:o,ease:l})):hp(i,r,a,o,l,c)}),Object.keys(t).forEach(i=>{const r=t[i];if(r.length>0){const s=document.querySelectorAll(`[motion-group="${i}"]`);let a=null,o=n.stagger,l=n.start,c="play none none reverse";const u=document.querySelector(`[motion-group-container="${i}"]`);if(u)a=u,o=u.getAttribute("motion-stagger")?parseFloat(u.getAttribute("motion-stagger")):n.stagger,l=u.getAttribute("motion-start")||n.start,c=u.getAttribute("motion-toggle-actions")||c;else{for(const p of s)p.hasAttribute("motion-stagger")&&(o=parseFloat(p.getAttribute("motion-stagger"))),p.hasAttribute("motion-start")&&(l=p.getAttribute("motion-start")),p.hasAttribute("motion-toggle-actions")&&(c=p.getAttribute("motion-toggle-actions"));a=s[0]}const h=ue.timeline({scrollTrigger:{trigger:a,start:l,toggleActions:c,markers:n.markers}}),m={fade:[],"move-up":[],"move-down":[],"move-left":[],"move-right":[],scale:[]};r.forEach(p=>{m[p.motionType]&&m[p.motionType].push(p.element)}),m.fade.length>0&&h.to(m.fade,{opacity:1,duration:r[0].duration,stagger:o,ease:r[0].ease,delay:r[0].delay},0),m["move-up"].length>0&&h.to(m["move-up"],{opacity:1,y:0,duration:r[0].duration,stagger:o,ease:r[0].ease,delay:r[0].delay},0),m["move-down"].length>0&&h.to(m["move-down"],{opacity:1,y:0,duration:r[0].duration,stagger:o,ease:r[0].ease,delay:r[0].delay},0),m["move-left"].length>0&&h.to(m["move-left"],{opacity:1,x:0,duration:r[0].duration,stagger:o,ease:r[0].ease,delay:r[0].delay},0),m["move-right"].length>0&&h.to(m["move-right"],{opacity:1,x:0,duration:r[0].duration,stagger:o,ease:r[0].ease,delay:r[0].delay},0),m.scale.length>0&&h.to(m.scale,{opacity:1,scale:1,duration:r[0].duration,stagger:o,ease:r[0].ease,delay:r[0].delay},0)}})},hp=(n,e,t,i,r,s)=>{const a=n.getAttribute("motion-toggle-actions")||"play none none reverse",o=ue.timeline({scrollTrigger:{trigger:n,start:s,toggleActions:a,markers:!1}});e==="fade"?o.to(n,{opacity:1,duration:t,delay:i,ease:r}):e==="move-up"||e==="move-down"?o.to(n,{opacity:1,y:0,duration:t,delay:i,ease:r}):e==="move-left"||e==="move-right"?o.to(n,{opacity:1,x:0,duration:t,delay:i,ease:r}):e==="scale"&&o.to(n,{opacity:1,scale:1,duration:t,delay:i,ease:r})},mp=()=>{document.readyState==="complete"||document.readyState==="interactive"?Ws():window.addEventListener("DOMContentLoaded",Ws);let n;const e=()=>{clearTimeout(n),n=setTimeout(Ws,250)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("DOMContentLoaded",Ws)}};function gp(){console.log("Initializing general animations"),lp(),Sf(),Tf(),Ef(),Af(),kf(),Pf(),If(),pp(),mp()}class vp{constructor(){this.elements={searchComponent:document.querySelectorAll("[search-component='main']"),searchInput:document.querySelector("[search-component='input']"),searchResultsWrap:document.querySelector("[search-component='results-wrap']"),searchResults:document.querySelector("[search-component='results']"),searchClear:document.querySelector("[search-component='clear']"),searchPageResults:document.querySelector("[search-component='page-results']"),searchLoading:document.querySelector("[search-component='loader']")},this.state={isOpen:!1},this.setInitialStatus(),this.init()}setInitialStatus(){this.elements.searchComponent&&this.elements.searchComponent.forEach(t=>{t.setAttribute("search-component-status","inactive")}),["searchInput","searchResults","searchClear","searchPageResults","searchResultsWrap"].forEach(t=>{this.elements[t]&&this.elements[t].setAttribute("search-component-status","inactive")})}init(){this.elements.searchInput.addEventListener("input",this.handleInput.bind(this)),this.elements.searchClear&&this.elements.searchClear.addEventListener("click",this.handleClear.bind(this))}handleInput(e){const t=e.target.value;t.length?(this.openSearchComponent(),this.fetchSearchResults(t)):this.closeSearchComponent()}openSearchComponent(){this.elements.searchComponent&&this.elements.searchComponent.forEach(t=>{t.setAttribute("search-component-status","active")}),["searchInput","searchResults","searchClear","searchPageResults","searchResultsWrap"].forEach(t=>{this.elements[t]&&this.elements[t].setAttribute("search-component-status","active")}),this.state.isOpen=!0}closeSearchComponent(){this.elements.searchComponent&&this.elements.searchComponent.forEach(t=>{t.setAttribute("search-component-status","inactive")}),["searchInput","searchResults","searchClear","searchPageResults","searchResultsWrap"].forEach(t=>{this.elements[t]&&this.elements[t].setAttribute("search-component-status","inactive")}),this.state.isOpen=!1}fetchSearchResults(e){this.elements.searchLoading&&this.elements.searchLoading.setAttribute("search-component-status","loading"),fetch(`/search?query=${e.replaceAll(" ","+")}`).then(t=>t.text()).then(t=>{const s=new DOMParser().parseFromString(t,"text/html").querySelector("[search-component='page-results']");this.elements.searchResults&&s&&(this.elements.searchResults.innerHTML="",this.elements.searchResults.appendChild(s)),this.elements.searchLoading&&this.elements.searchLoading.setAttribute("search-component-status","loaded")}).catch(t=>{console.error("Error fetching search results:",t),this.elements.searchLoading&&this.elements.searchLoading.setAttribute("search-component-status","loaded")})}handleClear(){this.elements.searchInput&&(this.elements.searchInput.value=""),this.elements.searchLoading&&this.elements.searchLoading.setAttribute("search-component-status","inactive"),this.closeSearchComponent()}}const wp=()=>{new vp};function gi(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function"){var r=0;for(i=Object.getOwnPropertySymbols(n);r0&&d[d.length-1])||y[0]!==6&&y[0]!==2)){v=0;continue}if(y[0]===3&&(!d||y[1]>d[0]&&y[1]0?setTimeout(p,g):p(null)}}window.addEventListener("storage",b),u.addToWaiting(b);var w=setTimeout(b,Math.max(0,h-Date.now()))})];case 1:return m.sent(),[2]}})})},u.addToWaiting=function(h){this.removeFromWaiting(h),u.waiters!==void 0&&u.waiters.push(h)},u.removeFromWaiting=function(h){u.waiters!==void 0&&(u.waiters=u.waiters.filter(function(m){return m!==h}))},u.notifyWaiters=function(){u.waiters!==void 0&&u.waiters.slice().forEach(function(h){return h()})},u.prototype.releaseLock=function(h){return t(this,void 0,void 0,function(){return i(this,function(m){switch(m.label){case 0:return[4,this.releaseLock__private__(h)];case 1:return[2,m.sent()]}})})},u.prototype.releaseLock__private__=function(h){return t(this,void 0,void 0,function(){var m,p,d,f;return i(this,function(v){switch(v.label){case 0:return m=this.storageHandler===void 0?a:this.storageHandler,p=s+"-"+h,(d=m.getItemSync(p))===null?[2]:(f=JSON.parse(d)).id!==this.id?[3,2]:[4,wr.default().lock(f.iat)];case 1:v.sent(),this.acquiredIatSet.delete(f.iat),m.removeItemSync(p),wr.default().unlock(f.iat),u.notifyWaiters(),v.label=2;case 2:return[2]}})})},u.lockCorrector=function(h){for(var m=Date.now()-5e3,p=h,d=[],f=0;;){var v=p.keySync(f);if(v===null)break;d.push(v),f++}for(var b=!1,w=0;wDate.now();class lt extends Error{constructor(e,t){super(t),this.error=e,this.error_description=t,Object.setPrototypeOf(this,lt.prototype)}static fromPayload({error:e,error_description:t}){return new lt(e,t)}}class Mo extends lt{constructor(e,t,i,r=null){super(e,t),this.state=i,this.appState=r,Object.setPrototypeOf(this,Mo.prototype)}}class Hn extends lt{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,Hn.prototype)}}class ko extends Hn{constructor(e){super(),this.popup=e,Object.setPrototypeOf(this,ko.prototype)}}class Co extends lt{constructor(e){super("cancelled","Popup closed"),this.popup=e,Object.setPrototypeOf(this,Co.prototype)}}class Po extends lt{constructor(e,t,i){super(e,t),this.mfa_token=i,Object.setPrototypeOf(this,Po.prototype)}}class Vs extends lt{constructor(e,t){super("missing_refresh_token",`Missing Refresh Token (audience: '${vu(e,["default"])}', scope: '${vu(t)}')`),this.audience=e,this.scope=t,Object.setPrototypeOf(this,Vs.prototype)}}function vu(n,e=[]){return n&&!e.includes(n)?n:""}const qs=()=>window.crypto,Oo=()=>{const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";let e="";return Array.from(qs().getRandomValues(new Uint8Array(43))).forEach(t=>e+=n[t%n.length]),e},wu=n=>btoa(n),Io=n=>{var{clientId:e}=n,t=gi(n,["clientId"]);return new URLSearchParams((i=>Object.keys(i).filter(r=>i[r]!==void 0).reduce((r,s)=>Object.assign(Object.assign({},r),{[s]:i[s]}),{}))(Object.assign({client_id:e},t))).toString()},yu=n=>(e=>decodeURIComponent(atob(e).split("").map(t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)).join("")))(n.replace(/_/g,"/").replace(/-/g,"+")),_p=async(n,e)=>{const t=await fetch(n,e);return{ok:t.ok,json:await t.json()}},Sp=async(n,e,t)=>{const i=new AbortController;let r;return e.signal=i.signal,Promise.race([_p(n,e),new Promise((s,a)=>{r=setTimeout(()=>{i.abort(),a(new Error("Timeout when executing 'fetch'"))},t)})]).finally(()=>{clearTimeout(r)})},Tp=async(n,e,t,i,r,s,a)=>{return o={auth:{audience:e,scope:t},timeout:r,fetchUrl:n,fetchOptions:i,useFormData:a},l=s,new Promise(function(c,u){const h=new MessageChannel;h.port1.onmessage=function(m){m.data.error?u(new Error(m.data.error)):c(m.data),h.port1.close()},l.postMessage(o,[h.port2])});var o,l},Ep=async(n,e,t,i,r,s,a=1e4)=>r?Tp(n,e,t,i,a,r,s):Sp(n,i,a);async function xp(n,e){var{baseUrl:t,timeout:i,audience:r,scope:s,auth0Client:a,useFormData:o}=n,l=gi(n,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);const c=o?Io(l):JSON.stringify(l);return await async function(u,h,m,p,d,f,v){let b,w=null;for(let E=0;E<3;E++)try{b=await Ep(u,m,p,d,f,v,h),w=null;break}catch(k){w=k}if(w)throw w;const g=b.json,{error:y,error_description:_}=g,M=gi(g,["error","error_description"]),{ok:A}=b;if(!A){const E=_||`HTTP error. Unable to fetch ${u}`;throw y==="mfa_required"?new Po(y,E,M.mfa_token):y==="missing_refresh_token"?new Vs(m,p):new lt(y||"request_error",E)}return M}(`${t}/oauth/token`,i,r||"default",s,{method:"POST",body:c,headers:{"Content-Type":o?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(a||mu))}},e,o)}const Gs=(...n)=>{return(e=n.filter(Boolean).join(" ").trim().split(/\s+/),Array.from(new Set(e))).join(" ");var e};class vi{constructor(e,t="@@auth0spajs@@",i){this.prefix=t,this.suffix=i,this.clientId=e.clientId,this.scope=e.scope,this.audience=e.audience}toKey(){return[this.prefix,this.clientId,this.audience,this.scope,this.suffix].filter(Boolean).join("::")}static fromKey(e){const[t,i,r,s]=e.split("::");return new vi({clientId:i,scope:s,audience:r},t)}static fromCacheEntry(e){const{scope:t,audience:i,client_id:r}=e;return new vi({scope:t,audience:i,clientId:r})}}class Ap{set(e,t){localStorage.setItem(e,JSON.stringify(t))}get(e){const t=window.localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return}}remove(e){localStorage.removeItem(e)}allKeys(){return Object.keys(window.localStorage).filter(e=>e.startsWith("@@auth0spajs@@"))}}class bu{constructor(){this.enclosedCache=function(){let e={};return{set(t,i){e[t]=i},get(t){const i=e[t];if(i)return i},remove(t){delete e[t]},allKeys:()=>Object.keys(e)}}()}}class Mp{constructor(e,t,i){this.cache=e,this.keyManifest=t,this.nowProvider=i||gu}async setIdToken(e,t,i){var r;const s=this.getIdTokenCacheKey(e);await this.cache.set(s,{id_token:t,decodedToken:i}),await((r=this.keyManifest)===null||r===void 0?void 0:r.add(s))}async getIdToken(e){const t=await this.cache.get(this.getIdTokenCacheKey(e.clientId));if(!t&&e.scope&&e.audience){const i=await this.get(e);return!i||!i.id_token||!i.decodedToken?void 0:{id_token:i.id_token,decodedToken:i.decodedToken}}if(t)return{id_token:t.id_token,decodedToken:t.decodedToken}}async get(e,t=0){var i;let r=await this.cache.get(e.toKey());if(!r){const o=await this.getCacheKeys();if(!o)return;const l=this.matchExistingCacheKey(e,o);l&&(r=await this.cache.get(l))}if(!r)return;const s=await this.nowProvider(),a=Math.floor(s/1e3);return r.expiresAt-t!e||r.includes(e)).reduce(async(r,s)=>{await r,await this.cache.remove(s)},Promise.resolve()),await((t=this.keyManifest)===null||t===void 0?void 0:t.clear()))}async wrapCacheEntry(e){const t=await this.nowProvider();return{body:e,expiresAt:Math.floor(t/1e3)+e.expires_in}}async getCacheKeys(){var e;return this.keyManifest?(e=await this.keyManifest.get())===null||e===void 0?void 0:e.keys:this.cache.allKeys?this.cache.allKeys():void 0}getIdTokenCacheKey(e){return new vi({clientId:e},"@@auth0spajs@@","@@user@@").toKey()}matchExistingCacheKey(e,t){return t.filter(i=>{var r;const s=vi.fromKey(i),a=new Set(s.scope&&s.scope.split(" ")),o=((r=e.scope)===null||r===void 0?void 0:r.split(" "))||[],l=s.scope&&o.reduce((c,u)=>c&&a.has(u),!0);return s.prefix==="@@auth0spajs@@"&&s.clientId===e.clientId&&s.audience===e.audience&&l})[0]}}class kp{constructor(e,t,i){this.storage=e,this.clientId=t,this.cookieDomain=i,this.storageKey=`a0.spajs.txs.${this.clientId}`}create(e){this.storage.save(this.storageKey,e,{daysUntilExpire:1,cookieDomain:this.cookieDomain})}get(){return this.storage.get(this.storageKey)}remove(){this.storage.remove(this.storageKey,{cookieDomain:this.cookieDomain})}}const Wn=n=>typeof n=="number",Cp=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],Pp=n=>{if(!n.id_token)throw new Error("ID token is required but missing");const e=(s=>{const a=s.split("."),[o,l,c]=a;if(a.length!==3||!o||!l||!c)throw new Error("ID token could not be decoded");const u=JSON.parse(yu(l)),h={__raw:s},m={};return Object.keys(u).forEach(p=>{h[p]=u[p],Cp.includes(p)||(m[p]=u[p])}),{encoded:{header:o,payload:l,signature:c},header:JSON.parse(yu(o)),claims:h,user:m}})(n.id_token);if(!e.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(e.claims.iss!==n.iss)throw new Error(`Issuer (iss) claim mismatch in the ID token; expected "${n.iss}", found "${e.claims.iss}"`);if(!e.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if(e.header.alg!=="RS256")throw new Error(`Signature algorithm of "${e.header.alg}" is not supported. Expected the ID token to be signed with "RS256".`);if(!e.claims.aud||typeof e.claims.aud!="string"&&!Array.isArray(e.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(e.claims.aud)){if(!e.claims.aud.includes(n.aud))throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${n.aud}" but was not one of "${e.claims.aud.join(", ")}"`);if(e.claims.aud.length>1){if(!e.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(e.claims.azp!==n.aud)throw new Error(`Authorized Party (azp) claim mismatch in the ID token; expected "${n.aud}", found "${e.claims.azp}"`)}}else if(e.claims.aud!==n.aud)throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${n.aud}" but found "${e.claims.aud}"`);if(n.nonce){if(!e.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(e.claims.nonce!==n.nonce)throw new Error(`Nonce (nonce) claim mismatch in the ID token; expected "${n.nonce}", found "${e.claims.nonce}"`)}if(n.max_age&&!Wn(e.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(e.claims.exp==null||!Wn(e.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!Wn(e.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");const t=n.leeway||60,i=new Date(n.now||Date.now()),r=new Date(0);if(r.setUTCSeconds(e.claims.exp+t),i>r)throw new Error(`Expiration Time (exp) claim error in the ID token; current time (${i}) is after expiration time (${r})`);if(e.claims.nbf!=null&&Wn(e.claims.nbf)){const s=new Date(0);if(s.setUTCSeconds(e.claims.nbf-t),is)throw new Error(`Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time (${i}) is after last auth at ${s}`)}if(n.organization){const s=n.organization.trim();if(s.startsWith("org_")){const a=s;if(!e.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(a!==e.claims.org_id)throw new Error(`Organization ID (org_id) claim mismatch in the ID token; expected "${a}", found "${e.claims.org_id}"`)}else{const a=s.toLowerCase();if(!e.claims.org_name)throw new Error("Organization Name (org_name) claim must be a string present in the ID token");if(a!==e.claims.org_name)throw new Error(`Organization Name (org_name) claim mismatch in the ID token; expected "${a}", found "${e.claims.org_name}"`)}}return e};var yr=Ao(function(n,e){var t=vr&&vr.__assign||function(){return t=Object.assign||function(l){for(var c,u=1,h=arguments.length;u"u")return;const e=sessionStorage.getItem(n);return e!=null?JSON.parse(e):void 0},save(n,e){sessionStorage.setItem(n,JSON.stringify(e))},remove(n){sessionStorage.removeItem(n)}};function Dp(n,e,t){var i=e===void 0?null:e,r=function(l,c){var u=atob(l);if(c){for(var h=new Uint8Array(u.length),m=0,p=u.length;m0?await this.cache.set(this.manifestKey,{keys:[...i]}):await this.cache.remove(this.manifestKey)}}get(){return this.cache.get(this.manifestKey)}clear(){return this.cache.remove(this.manifestKey)}createManifestKeyFrom(e){return`@@auth0spajs@@::${e}`}}const Np={memory:()=>new bu().enclosedCache,localstorage:()=>new Ap},Au=n=>Np[n],Mu=n=>{const{openUrl:e,onRedirect:t}=n,i=gi(n,["openUrl","onRedirect"]);return Object.assign(Object.assign({},i),{openUrl:e===!1||e?e:t})},zo=new yp;class Fp{constructor(e){let t,i;if(this.userCache=new bu().enclosedCache,this.defaultOptions={authorizationParams:{scope:"openid profile email"},useRefreshTokensFallback:!1,useFormData:!0},this._releaseLockOnPageHide=async()=>{await zo.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)},this.options=Object.assign(Object.assign(Object.assign({},this.defaultOptions),e),{authorizationParams:Object.assign(Object.assign({},this.defaultOptions.authorizationParams),e.authorizationParams)}),typeof window<"u"&&(()=>{if(!qs())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(qs().subtle===void 0)throw new Error(` auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information. `)})(),e.cache&&e.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),e.cache)i=e.cache;else{if(t=e.cacheLocation||"memory",!Au(t))throw new Error(`Invalid cache location "${t}"`);i=Au(t)()}this.httpTimeoutMs=e.httpTimeoutInSeconds?1e3*e.httpTimeoutInSeconds:1e4,this.cookieStorage=e.legacySameSiteCookie===!1?en:Ip,this.orgHintCookieName=`auth0.${this.options.clientId}.organization_hint`,this.isAuthenticatedCookieName=(a=>`auth0.${a}.is.authenticated`)(this.options.clientId),this.sessionCheckExpiryDays=e.sessionCheckExpiryDays||1;const r=e.useCookiesForTransactions?this.cookieStorage:Lp;var s;this.scope=Gs("openid",this.options.authorizationParams.scope,this.options.useRefreshTokens?"offline_access":""),this.transactionManager=new kp(r,this.options.clientId,this.options.cookieDomain),this.nowProvider=this.options.nowProvider||gu,this.cacheManager=new Mp(i,i.allKeys?void 0:new Rp(i,this.options.clientId),this.nowProvider),this.domainUrl=(s=this.options.domain,/^https?:\/\//.test(s)?s:`https://${s}`),this.tokenIssuer=((a,o)=>a?a.startsWith("https://")?a:`https://${a}/`:`${o}/`)(this.options.issuer,this.domainUrl),typeof window<"u"&&window.Worker&&this.options.useRefreshTokens&&t==="memory"&&(this.options.workerUrl?this.worker=new Worker(this.options.workerUrl):this.worker=new zp)}_url(e){const t=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||mu)));return`${this.domainUrl}${e}&auth0Client=${t}`}_authorizeUrl(e){return this._url(`/authorize?${Io(e)}`)}async _verifyIdToken(e,t,i){const r=await this.nowProvider();return Pp({iss:this.tokenIssuer,aud:this.options.clientId,id_token:e,nonce:t,organization:i,leeway:this.options.leeway,max_age:(s=this.options.authorizationParams.max_age,typeof s!="string"?s:parseInt(s,10)||void 0),now:r});var s}_processOrgHint(e){e?this.cookieStorage.save(this.orgHintCookieName,e,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})}async _prepareAuthorizeUrl(e,t,i){const r=wu(Oo()),s=wu(Oo()),a=Oo(),o=(u=>{const h=new Uint8Array(u);return(m=>{const p={"+":"-","/":"_","=":""};return m.replace(/[+/=]/g,d=>p[d])})(window.btoa(String.fromCharCode(...Array.from(h))))})(await(async u=>await qs().subtle.digest({name:"SHA-256"},new TextEncoder().encode(u)))(a)),l=((u,h,m,p,d,f,v,b)=>Object.assign(Object.assign(Object.assign({client_id:u.clientId},u.authorizationParams),m),{scope:Gs(h,m.scope),response_type:"code",response_mode:b||"query",state:p,nonce:d,redirect_uri:v||u.authorizationParams.redirect_uri,code_challenge:f,code_challenge_method:"S256"}))(this.options,this.scope,e,r,s,o,e.redirect_uri||this.options.authorizationParams.redirect_uri||i,t==null?void 0:t.response_mode),c=this._authorizeUrl(l);return{nonce:s,code_verifier:a,scope:l.scope,audience:l.audience||"default",redirect_uri:l.redirect_uri,state:r,url:c}}async loginWithPopup(e,t){var i;if(e=e||{},!(t=t||{}).popup&&(t.popup=(o=>{const l=window.screenX+(window.innerWidth-400)/2,c=window.screenY+(window.innerHeight-600)/2;return window.open(o,"auth0:authorize:popup",`left=${l},top=${c},width=400,height=600,resizable,scrollbars=yes,status=1`)})(""),!t.popup))throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");const r=await this._prepareAuthorizeUrl(e.authorizationParams||{},{response_mode:"web_message"},window.location.origin);t.popup.location.href=r.url;const s=await(o=>new Promise((l,c)=>{let u;const h=setInterval(()=>{o.popup&&o.popup.closed&&(clearInterval(h),clearTimeout(m),window.removeEventListener("message",u,!1),c(new Co(o.popup)))},1e3),m=setTimeout(()=>{clearInterval(h),c(new ko(o.popup)),window.removeEventListener("message",u,!1)},1e3*(o.timeoutInSeconds||60));u=function(p){if(p.data&&p.data.type==="authorization_response"){if(clearTimeout(m),clearInterval(h),window.removeEventListener("message",u,!1),o.popup.close(),p.data.response.error)return c(lt.fromPayload(p.data.response));l(p.data.response)}},window.addEventListener("message",u)}))(Object.assign(Object.assign({},t),{timeoutInSeconds:t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}));if(r.state!==s.state)throw new lt("state_mismatch","Invalid state");const a=((i=e.authorizationParams)===null||i===void 0?void 0:i.organization)||this.options.authorizationParams.organization;await this._requestToken({audience:r.audience,scope:r.scope,code_verifier:r.code_verifier,grant_type:"authorization_code",code:s.code,redirect_uri:r.redirect_uri},{nonceIn:r.nonce,organization:a})}async getUser(){var e;const t=await this._getIdTokenFromCache();return(e=t==null?void 0:t.decodedToken)===null||e===void 0?void 0:e.user}async getIdTokenClaims(){var e;const t=await this._getIdTokenFromCache();return(e=t==null?void 0:t.decodedToken)===null||e===void 0?void 0:e.claims}async loginWithRedirect(e={}){var t;const i=Mu(e),{openUrl:r,fragment:s,appState:a}=i,o=gi(i,["openUrl","fragment","appState"]),l=((t=o.authorizationParams)===null||t===void 0?void 0:t.organization)||this.options.authorizationParams.organization,c=await this._prepareAuthorizeUrl(o.authorizationParams||{}),{url:u}=c,h=gi(c,["url"]);this.transactionManager.create(Object.assign(Object.assign(Object.assign({},h),{appState:a}),l&&{organization:l}));const m=s?`${u}#${s}`:u;r?await r(m):window.location.assign(m)}async handleRedirectCallback(e=window.location.href){const t=e.split("?").slice(1);if(t.length===0)throw new Error("There are no query params available for parsing.");const{state:i,code:r,error:s,error_description:a}=(h=>{h.indexOf("#")>-1&&(h=h.substring(0,h.indexOf("#")));const m=new URLSearchParams(h);return{state:m.get("state"),code:m.get("code")||void 0,error:m.get("error")||void 0,error_description:m.get("error_description")||void 0}})(t.join("")),o=this.transactionManager.get();if(!o)throw new lt("missing_transaction","Invalid state");if(this.transactionManager.remove(),s)throw new Mo(s,a||s,i,o.appState);if(!o.code_verifier||o.state&&o.state!==i)throw new lt("state_mismatch","Invalid state");const l=o.organization,c=o.nonce,u=o.redirect_uri;return await this._requestToken(Object.assign({audience:o.audience,scope:o.scope,code_verifier:o.code_verifier,grant_type:"authorization_code",code:r},u?{redirect_uri:u}:{}),{nonceIn:c,organization:l}),{appState:o.appState}}async checkSession(e){if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return;this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove("auth0.is.authenticated")}try{await this.getTokenSilently(e)}catch{}}async getTokenSilently(e={}){var t;const i=Object.assign(Object.assign({cacheMode:"on"},e),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),e.authorizationParams),{scope:Gs(this.scope,(t=e.authorizationParams)===null||t===void 0?void 0:t.scope)})}),r=await((s,a)=>{let o=Do[a];return o||(o=s().finally(()=>{delete Do[a],o=null}),Do[a]=o),o})(()=>this._getTokenSilently(i),`${this.options.clientId}::${i.authorizationParams.audience}::${i.authorizationParams.scope}`);return e.detailedResponse?r:r==null?void 0:r.access_token}async _getTokenSilently(e){const{cacheMode:t}=e,i=gi(e,["cacheMode"]);if(t!=="off"){const r=await this._getEntryFromCache({scope:i.authorizationParams.scope,audience:i.authorizationParams.audience||"default",clientId:this.options.clientId});if(r)return r}if(t!=="cache-only"){if(!await(async(r,s=3)=>{for(let a=0;azo.acquireLock("auth0.lock.getTokenSilently",5e3),10))throw new Hn;try{if(window.addEventListener("pagehide",this._releaseLockOnPageHide),t!=="off"){const c=await this._getEntryFromCache({scope:i.authorizationParams.scope,audience:i.authorizationParams.audience||"default",clientId:this.options.clientId});if(c)return c}const r=this.options.useRefreshTokens?await this._getTokenUsingRefreshToken(i):await this._getTokenFromIFrame(i),{id_token:s,access_token:a,oauthTokenScope:o,expires_in:l}=r;return Object.assign(Object.assign({id_token:s,access_token:a},o?{scope:o}:null),{expires_in:l})}finally{await zo.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)}}}async getTokenWithPopup(e={},t={}){var i;const r=Object.assign(Object.assign({},e),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),e.authorizationParams),{scope:Gs(this.scope,(i=e.authorizationParams)===null||i===void 0?void 0:i.scope)})});return t=Object.assign(Object.assign({},bp),t),await this.loginWithPopup(r,t),(await this.cacheManager.get(new vi({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||"default",clientId:this.options.clientId}))).access_token}async isAuthenticated(){return!!await this.getUser()}_buildLogoutUrl(e){e.clientId!==null?e.clientId=e.clientId||this.options.clientId:delete e.clientId;const t=e.logoutParams||{},{federated:i}=t,r=gi(t,["federated"]),s=i?"&federated":"";return this._url(`/v2/logout?${Io(Object.assign({clientId:e.clientId},r))}`)+s}async logout(e={}){const t=Mu(e),{openUrl:i}=t,r=gi(t,["openUrl"]);e.clientId===null?await this.cacheManager.clear():await this.cacheManager.clear(e.clientId||this.options.clientId),this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(this.isAuthenticatedCookieName,{cookieDomain:this.options.cookieDomain}),this.userCache.remove("@@user@@");const s=this._buildLogoutUrl(r);i?await i(s):i!==!1&&window.location.assign(s)}async _getTokenFromIFrame(e){const t=Object.assign(Object.assign({},e.authorizationParams),{prompt:"none"}),i=this.cookieStorage.get(this.orgHintCookieName);i&&!t.organization&&(t.organization=i);const{url:r,state:s,nonce:a,code_verifier:o,redirect_uri:l,scope:c,audience:u}=await this._prepareAuthorizeUrl(t,{response_mode:"web_message"},window.location.origin);try{if(window.crossOriginIsolated)throw new lt("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");const h=e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,m=await((d,f,v=60)=>new Promise((b,w)=>{const g=window.document.createElement("iframe");g.setAttribute("width","0"),g.setAttribute("height","0"),g.style.display="none";const y=()=>{window.document.body.contains(g)&&(window.document.body.removeChild(g),window.removeEventListener("message",_,!1))};let _;const M=setTimeout(()=>{w(new Hn),y()},1e3*v);_=function(A){if(A.origin!=f||!A.data||A.data.type!=="authorization_response")return;const E=A.source;E&&E.close(),A.data.response.error?w(lt.fromPayload(A.data.response)):b(A.data.response),clearTimeout(M),window.removeEventListener("message",_,!1),setTimeout(y,2e3)},window.addEventListener("message",_,!1),window.document.body.appendChild(g),g.setAttribute("src",d)}))(r,this.domainUrl,h);if(s!==m.state)throw new lt("state_mismatch","Invalid state");const p=await this._requestToken(Object.assign(Object.assign({},e.authorizationParams),{code_verifier:o,code:m.code,grant_type:"authorization_code",redirect_uri:l,timeout:e.authorizationParams.timeout||this.httpTimeoutMs}),{nonceIn:a,organization:t.organization});return Object.assign(Object.assign({},p),{scope:c,oauthTokenScope:p.scope,audience:u})}catch(h){throw h.error==="login_required"&&this.logout({openUrl:!1}),h}}async _getTokenUsingRefreshToken(e){const t=await this.cacheManager.get(new vi({scope:e.authorizationParams.scope,audience:e.authorizationParams.audience||"default",clientId:this.options.clientId}));if(!(t&&t.refresh_token||this.worker)){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(e);throw new Vs(e.authorizationParams.audience||"default",e.authorizationParams.scope)}const i=e.authorizationParams.redirect_uri||this.options.authorizationParams.redirect_uri||window.location.origin,r=typeof e.timeoutInSeconds=="number"?1e3*e.timeoutInSeconds:null;try{const s=await this._requestToken(Object.assign(Object.assign(Object.assign({},e.authorizationParams),{grant_type:"refresh_token",refresh_token:t&&t.refresh_token,redirect_uri:i}),r&&{timeout:r}));return Object.assign(Object.assign({},s),{scope:e.authorizationParams.scope,oauthTokenScope:s.scope,audience:e.authorizationParams.audience||"default"})}catch(s){if((s.message.indexOf("Missing Refresh Token")>-1||s.message&&s.message.indexOf("invalid refresh token")>-1)&&this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(e);throw s}}async _saveEntryInCache(e){const{id_token:t,decodedToken:i}=e,r=gi(e,["id_token","decodedToken"]);this.userCache.set("@@user@@",{id_token:t,decodedToken:i}),await this.cacheManager.setIdToken(this.options.clientId,e.id_token,e.decodedToken),await this.cacheManager.set(r)}async _getIdTokenFromCache(){const e=this.options.authorizationParams.audience||"default",t=await this.cacheManager.getIdToken(new vi({clientId:this.options.clientId,audience:e,scope:this.scope})),i=this.userCache.get("@@user@@");return t&&t.id_token===(i==null?void 0:i.id_token)?i:(this.userCache.set("@@user@@",t),t)}async _getEntryFromCache({scope:e,audience:t,clientId:i}){const r=await this.cacheManager.get(new vi({scope:e,audience:t,clientId:i}),60);if(r&&r.access_token){const{access_token:s,oauthTokenScope:a,expires_in:o}=r,l=await this._getIdTokenFromCache();return l&&Object.assign(Object.assign({id_token:l.id_token,access_token:s},a?{scope:a}:null),{expires_in:o})}}async _requestToken(e,t){const{nonceIn:i,organization:r}=t||{},s=await xp(Object.assign({baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},e),this.worker),a=await this._verifyIdToken(s.id_token,i,r);return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({},s),{decodedToken:a,scope:e.scope,audience:e.audience||"default"}),s.scope?{oauthTokenScope:s.scope}:null),{client_id:this.options.clientId})),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgHint(r||a.claims.org_id),Object.assign(Object.assign({},s),{decodedToken:a})}}const Ro={domain:"dev-4byffv68pjm24xxs.us.auth0.com",clientId:"U89PtuKBLIluKKIQOI8hPIA9CfQYkpb6",redirectUri:window.location.origin,audience:"strive-v2-api"},Vn=new Fp({domain:Ro.domain,clientId:Ro.clientId,authorizationParams:{redirect_uri:Ro.redirectUri,scope:"openid profile email offline_access",audience:"strive-v2-api",response_type:"code"},cacheLocation:"localstorage",useRefreshTokens:!0,useCookiesForTransactions:!1,advancedOptions:{defaultScope:"openid profile email",useFormData:!0},errorPath:"/error",legacySameSiteCookie:!1,httpTimeoutInSeconds:60}),ku=async()=>{try{return await Vn.isAuthenticated()}catch(n){return console.error("Error checking authentication:",n),!1}},Bp=async(n={})=>{try{if(!await Vn.isAuthenticated())return null;const t={authorizationParams:{audience:"strive-v2-api",scope:"openid profile email offline_access"},timeoutInSeconds:60,...n};return await Vn.getTokenSilently(t)}catch(e){return console.error("Error getting token silently:",e),null}},$p=async()=>{const n=window.location.search;if(n.includes("code=")&&n.includes("state="))try{sessionStorage.removeItem("auth_state"),localStorage.removeItem("auth0.is.authenticated"),console.log("Starting Auth0 callback handling...");const e=await Vn.handleRedirectCallback();return console.log("Auth0 callback handled successfully",e),window.history.replaceState({},document.title,window.location.pathname),e==null?void 0:e.appState}catch(e){return console.error("Error handling Auth0 callback:",{error:e,message:e.message,errorCode:e.error,description:e.error_description,stack:e.stack}),sessionStorage.removeItem("auth_state"),localStorage.removeItem("auth0.is.authenticated"),localStorage.removeItem("auth0.is.authenticated"),Object.keys(localStorage).forEach(t=>{t.startsWith("auth0.")&&localStorage.removeItem(t)}),{error:!0,message:e.message||"Authentication failed",code:e.error||"unknown_error"}}return null},Yp=async()=>{try{return await ku()?await Vn.getUser():null}catch(n){return console.error("Error getting user profile:",n),null}},Gi={ATTRIBUTES:{PAGE:"data-page-auth"},REQUIREMENTS:{REQUIRED:"required",PUBLIC:"public"},PROTECTED_ROUTES:["/dashboard","/account","/settings","/mock/dashboard"],REDIRECTS:{UNAUTHORIZED:"/login",SUCCESS:"/mock/dashboard"}};class Hp{constructor(){this.currentPath=window.location.pathname}requiresAuth(){const e=document.querySelector(`[${Gi.ATTRIBUTES.PAGE}]`);return e?e.getAttribute(Gi.ATTRIBUTES.PAGE)===Gi.REQUIREMENTS.REQUIRED:Gi.PROTECTED_ROUTES.includes(this.currentPath)}async checkPageAccess(e){if(this.currentPath.startsWith("/error")||this.currentPath===Gi.REDIRECTS.UNAUTHORIZED)return!0;if(this.requiresAuth()&&!e)return sessionStorage.setItem("authRedirect",this.currentPath),window.location.href=Gi.REDIRECTS.UNAUTHORIZED,!1;if(e&&this.currentPath===Gi.REDIRECTS.UNAUTHORIZED){const t=sessionStorage.getItem("authRedirect")||Gi.REDIRECTS.SUCCESS;return window.location.href=t,!1}return!0}handleAuthenticatedRedirect(){const e=sessionStorage.getItem("authRedirect");return e?(sessionStorage.removeItem("authRedirect"),window.location.href=e,!0):!1}}const Wp=async()=>{const n=document.querySelectorAll('[data-show="auth"]'),e=document.querySelectorAll('[data-show="guest"]'),t=(r,s)=>{r.forEach(a=>{if(s){a.setAttribute("auth-visible","");const o=a.dataset.display;o&&(a.style.display=o)}else a.removeAttribute("auth-visible")})},i=r=>{["name","email","picture"].forEach(a=>{document.querySelectorAll(`[data-auth-profile="${a}"]`).forEach(l=>{r[a]&&(l.tagName.toLowerCase()==="img"?(l.src=r[a],l.alt=`${r.name}'s profile picture`):l.textContent=r[a])})})};try{if(!await ku())return t(n,!1),t(e,!0),{authenticated:!1};const s=await Bp(),a=await Yp();if(!s||!a)throw new Error("Failed to get token or user profile");return t(n,!0),t(e,!1),i(a),{authenticated:!0,token:s,user:a}}catch(r){return console.error("Auth state error:",r),t(n,!1),t(e,!0),{authenticated:!1}}};async function Vp(){const n=new Hp;try{const e=window.location.search.includes("code=")?await $p():null;if(e!=null&&e.error){sessionStorage.setItem("authError",JSON.stringify(e)),window.location.href=`/error?code=${encodeURIComponent(e.code)}&message=${encodeURIComponent(e.message)}`;return}const{authenticated:t}=await Wp();if(!await n.checkPageAccess(t))return;if(t){const r=sessionStorage.getItem("preAuthPath")||sessionStorage.getItem("authRedirect"),s=window.location.pathname,a=r&&r!==s;sessionStorage.removeItem("preAuthPath"),sessionStorage.removeItem("authRedirect"),a&&(window.location.href=r)}}catch(e){console.error("Auth initialization error:",e),sessionStorage.setItem("authError",JSON.stringify({code:"init_error",message:e.message})),window.location.href=`/error?code=init_error&message=${encodeURIComponent(e.message)}`}}class qp{constructor(){this.elements={searchModal:document.querySelector("[search-modal='main']"),searchModalComponent:document.querySelector("[search-modal='component']"),searchModalClose:document.querySelectorAll("[search-modal='close-btn']"),searchModalOpen:document.querySelectorAll("[search-modal='open-btn']"),pageOverlay:document.querySelector("[page-overlay]")},this.state={isOpen:!1},this.lenis=window.lenis,this.init()}init(){this.elements.searchModalComponent&&this.elements.searchModalComponent.setAttribute("search-modal-status","inactive"),this.elements.searchModal&&this.elements.searchModal.setAttribute("search-modal-status","inactive"),this.elements.searchModalOpen&&this.elements.searchModalOpen.length>0&&this.elements.searchModalOpen.forEach(e=>{e.addEventListener("click",()=>{this.openModal(),this.lenis&&this.lenis.stop()})}),this.elements.searchModalClose&&this.elements.searchModalClose.forEach(e=>{e.addEventListener("click",()=>{this.closeModal(),this.lenis&&this.lenis.start()})}),this.elements.pageOverlay&&this.elements.pageOverlay.addEventListener("click",()=>{this.state.isOpen&&(this.closeModal(),this.lenis&&this.lenis.start())}),this.elements.searchModal&&this.elements.searchModal.addEventListener("click",e=>{if(this.state.isOpen){const t=this.elements.searchModalComponent.contains(e.target);(e.target===this.elements.searchModal||!t)&&(this.closeModal(),this.lenis&&this.lenis.start())}})}openModal(){this.state.isOpen||(this.state.isOpen=!0,this.elements.searchModalComponent&&this.elements.searchModalComponent.setAttribute("search-modal-status","active"),this.elements.searchModal&&this.elements.searchModal.setAttribute("search-modal-status","active"),this.elements.pageOverlay&&this.elements.pageOverlay.setAttribute("page-overlay","active"))}closeModal(){this.state.isOpen&&(this.state.isOpen=!1,this.elements.searchModalComponent&&this.elements.searchModalComponent.setAttribute("search-modal-status","inactive"),this.elements.searchModal&&this.elements.searchModal.setAttribute("search-modal-status","inactive"),this.elements.pageOverlay&&this.elements.pageOverlay.setAttribute("page-overlay","inactive"))}}const Gp=()=>{new qp};class jp{constructor(){this.elements={pageMenu:document.querySelector("[page-menu='main']"),pageMenuOpen:document.querySelectorAll("[page-menu='open-btn']"),pageMenuClose:document.querySelectorAll("[page-menu='close-btn']"),pageMenuComponent:document.querySelectorAll("[page-menu='component']"),pageMenuOverlay:document.querySelector("[page-menu='overlay']"),pageMenuList:document.querySelectorAll("[page-menu-list]"),pageMenuModal:document.querySelectorAll("[page-menu-modal]"),pageMenuBackBtn:document.querySelectorAll("[page-menu='back-btn']"),pageMenuHeader:document.querySelector("[page-menu='header']"),pageMenuDefault:document.querySelector("[page-menu='default']"),pageMenuSearchWrap:document.querySelector("[page-menu='search-wrap']")},this.state={isOpen:!1,activeModal:null},this.lenis=window.lenis,this.init()}init(){this.elements.pageMenu&&this.elements.pageMenu.setAttribute("page-menu-status","inactive"),this.elements.pageMenuComponent&&this.elements.pageMenuComponent.forEach(e=>{e.setAttribute("page-menu-status","inactive")}),this.elements.pageMenuModal&&this.elements.pageMenuModal.forEach(e=>{e.setAttribute("menu-modal-status","inactive")}),this.elements.pageMenuHeader&&(this.elements.pageMenuHeader.textContent="MENU"),this.elements.pageMenuDefault&&this.elements.pageMenuDefault.setAttribute("page-menu-status","active"),this.elements.pageMenuBackBtn&&this.elements.pageMenuBackBtn.forEach(e=>{e.setAttribute("page-menu-btn-status","inactive")}),this.elements.pageMenuOpen&&this.elements.pageMenuOpen.length>0&&this.elements.pageMenuOpen.forEach(e=>{e.addEventListener("click",()=>{this.openMenu(),this.lenis&&this.lenis.stop()})}),this.elements.pageMenuClose&&this.elements.pageMenuClose.length>0&&this.elements.pageMenuClose.forEach(e=>{e.addEventListener("click",()=>{this.closeMenu(),this.lenis&&this.lenis.start()})}),this.elements.pageMenuOverlay&&this.elements.pageMenuOverlay.addEventListener("click",()=>{this.closeMenu(),this.lenis&&this.lenis.start()}),this.elements.pageMenuList&&this.elements.pageMenuList.length>0&&this.elements.pageMenuList.forEach(e=>{e.addEventListener("click",()=>{const t=e.getAttribute("page-menu-list");this.openModal(t)})}),this.elements.pageMenuBackBtn&&this.elements.pageMenuBackBtn.length>0&&this.elements.pageMenuBackBtn.forEach(e=>{e.addEventListener("click",()=>{this.closeModal()})}),this.elements.pageMenu&&this.elements.pageMenu.addEventListener("click",e=>{if(this.state.isOpen){const t=e.target===this.elements.pageMenu,i=Array.from(this.elements.pageMenuComponent).some(r=>r.contains(e.target));(t||!i)&&(this.closeMenu(),this.lenis&&this.lenis.start())}}),this.elements.pageMenuSearchWrap&&this.elements.pageMenuSearchWrap.setAttribute("page-menu-search-status","active")}openMenu(){this.state.isOpen||(this.state.isOpen=!0,this.elements.pageMenuComponent&&this.elements.pageMenuComponent.forEach(e=>{e.setAttribute("page-menu-status","active")}),this.elements.pageMenu&&this.elements.pageMenu.setAttribute("page-menu-status","active"),this.elements.pageMenuOverlay&&this.elements.pageMenuOverlay.setAttribute("page-menu-overlay","active"),this.elements.pageMenuHeader&&(this.elements.pageMenuHeader.textContent="MENU"),this.elements.pageMenuDefault&&this.elements.pageMenuDefault.setAttribute("page-menu-status","active"))}openModal(e){this.closeModal(),this.state.activeModal=e;const t=Array.from(this.elements.pageMenuModal).find(i=>i.getAttribute("page-menu-modal")===e);t&&(t.setAttribute("menu-modal-status","active"),this.elements.pageMenuHeader&&(this.elements.pageMenuHeader.textContent=e.toUpperCase()),this.elements.pageMenuDefault&&this.elements.pageMenuDefault.setAttribute("page-menu-status","inactive"),this.elements.pageMenuBackBtn&&this.elements.pageMenuBackBtn.forEach(i=>{i.setAttribute("page-menu-btn-status","active")}),this.elements.pageMenuSearchWrap&&this.elements.pageMenuSearchWrap.setAttribute("page-menu-search-status","inactive"))}closeModal(){if(this.state.activeModal){const e=Array.from(this.elements.pageMenuModal).find(t=>t.getAttribute("page-menu-modal")===this.state.activeModal);e&&e.setAttribute("menu-modal-status","inactive"),this.state.activeModal=null,this.elements.pageMenuHeader&&(this.elements.pageMenuHeader.textContent="MENU"),this.elements.pageMenuDefault&&this.elements.pageMenuDefault.setAttribute("page-menu-status","active"),this.elements.pageMenuBackBtn&&this.elements.pageMenuBackBtn.forEach(t=>{t.setAttribute("page-menu-btn-status","inactive")}),this.elements.pageMenuSearchWrap&&this.elements.pageMenuSearchWrap.setAttribute("page-menu-search-status","active")}}closeMenu(){this.state.isOpen&&(this.state.isOpen=!1,this.closeModal(),this.elements.pageMenuComponent&&this.elements.pageMenuComponent.forEach(e=>{e.setAttribute("page-menu-status","inactive")}),this.elements.pageMenu&&this.elements.pageMenu.setAttribute("page-menu-status","inactive"),this.elements.pageMenuOverlay&&this.elements.pageMenuOverlay.setAttribute("page-menu-overlay","inactive"),this.elements.pageMenuBackBtn&&this.elements.pageMenuBackBtn.forEach(e=>{e.setAttribute("page-menu-btn-status","inactive")}))}}const Xp=()=>{new jp};async function Up(){gp(),await Vp(),wp(),Gp(),Xp()}function Zp(){console.log("Home Component Starter Initialized")}function Cu(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function No(n,e){n===void 0&&(n={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof n[i]>"u"?n[i]=e[i]:Cu(e[i])&&Cu(n[i])&&Object.keys(e[i]).length>0&&No(n[i],e[i])})}const Pu={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ge(){const n=typeof document<"u"?document:{};return No(n,Pu),n}const Kp={document:Pu,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function _e(){const n=typeof window<"u"?window:{};return No(n,Kp),n}function ji(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function Jp(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function br(n,e){return e===void 0&&(e=0),setTimeout(n,e)}function Kt(){return Date.now()}function Qp(n){const e=_e();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function Fo(n,e){e===void 0&&(e="x");const t=_e();let i,r,s;const a=Qp(n);return t.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix(r==="none"?"":r)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=s.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?r=s.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function qn(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function eh(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function Bt(){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,a=r.length;ss?"next":"prev",u=(m,p)=>c==="next"&&m>=p||c==="prev"&&m<=p,h=()=>{o=new Date().getTime(),a===null&&(a=o);const m=Math.max(Math.min((o-a)/l,1),0),p=.5-Math.cos(m*Math.PI)/2;let d=s+p*(t-s);if(u(d,t)&&(d=t),e.wrapperEl.scrollTo({[i]:d}),u(d,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:d})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(h)};h()}function _r(n){return n.querySelector(".swiper-slide-transform")||n.shadowRoot&&n.shadowRoot.querySelector(".swiper-slide-transform")||n}function Je(n,e){e===void 0&&(e="");const t=_e(),i=[...n.children];return t.HTMLSlotElement&&n instanceof HTMLSlotElement&&i.push(...n.assignedElements()),e?i.filter(r=>r.matches(e)):i}function th(n,e){const t=[e];for(;t.length>0;){const i=t.shift();if(n===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function ih(n,e){const t=_e();let i=e.contains(n);return!i&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(n),i||(i=th(n,e))),i}function js(n){try{console.warn(n);return}catch{}}function $t(n,e){e===void 0&&(e=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:ji(e)),t}function Xs(n){const e=_e(),t=Ge(),i=n.getBoundingClientRect(),r=t.body,s=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,o=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:i.top+o-s,left:i.left+l-a}}function rh(n,e){const t=[];for(;n.previousElementSibling;){const i=n.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function nh(n,e){const t=[];for(;n.nextElementSibling;){const i=n.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function Xi(n,e){return _e().getComputedStyle(n,null).getPropertyValue(e)}function jn(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Sr(n,e){const t=[];let i=n.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function Xn(n,e){function t(i){i.target===n&&(e.call(n,i),n.removeEventListener("transitionend",t))}e&&n.addEventListener("transitionend",t)}function Bo(n,e,t){const i=_e();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function se(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}function Us(n){return e=>Math.abs(e)>0&&n.browser&&n.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}let $o;function sh(){const n=_e(),e=Ge();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function Iu(){return $o||($o=sh()),$o}let Yo;function ah(n){let{userAgent:e}=n===void 0?{}:n;const t=Iu(),i=_e(),r=i.navigator.platform,s=e||i.navigator.userAgent,a={ios:!1,android:!1},o=i.screen.width,l=i.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let u=s.match(/(iPad).*OS\s([\d_]+)/);const h=s.match(/(iPod)(.*OS\s([\d_]+))?/),m=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let d=r==="MacIntel";const f=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&d&&t.touch&&f.indexOf(`${o}x${l}`)>=0&&(u=s.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),d=!1),c&&!p&&(a.os="android",a.android=!0),(u||m||h)&&(a.os="ios",a.ios=!0),a}function Lu(n){return n===void 0&&(n={}),Yo||(Yo=ah(n)),Yo}let Ho;function oh(){const n=_e(),e=Lu();let t=!1;function i(){const o=n.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(n.navigator.userAgent);if(o.includes("Version/")){const[l,c]=o.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));t=l<16||l===16&&c<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent),s=i(),a=s||r&&e.ios;return{isSafari:t||s,needPerspectiveFix:t,need3dFix:a,isWebView:r}}function Du(){return Ho||(Ho=oh()),Ho}function lh(n){let{swiper:e,on:t,emit:i}=n;const r=_e();let s=null,a=null;const o=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(h=>{a=r.requestAnimationFrame(()=>{const{width:m,height:p}=e;let d=m,f=p;h.forEach(v=>{let{contentBoxSize:b,contentRect:w,target:g}=v;g&&g!==e.el||(d=w?w.width:(b[0]||b).inlineSize,f=w?w.height:(b[0]||b).blockSize)}),(d!==m||f!==p)&&o()})}),s.observe(e.el))},c=()=>{a&&r.cancelAnimationFrame(a),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},u=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){l();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",u)}),t("destroy",()=>{c(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",u)})}function ch(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=[],a=_e(),o=function(u,h){h===void 0&&(h={});const m=a.MutationObserver||a.WebkitMutationObserver,p=new m(d=>{if(e.__preventObserver__)return;if(d.length===1){r("observerUpdate",d[0]);return}const f=function(){r("observerUpdate",d[0])};a.requestAnimationFrame?a.requestAnimationFrame(f):a.setTimeout(f,0)});p.observe(u,{attributes:typeof h.attributes>"u"?!0:h.attributes,childList:e.isElement||(typeof h.childList>"u"?!0:h).childList,characterData:typeof h.characterData>"u"?!0:h.characterData}),s.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const u=Sr(e.hostEl);for(let h=0;h{s.forEach(u=>{u.disconnect()}),s.splice(0,s.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",c)}var uh={on(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const r=t?"unshift":"push";return n.split(" ").forEach(s=>{i.eventsListeners[s]||(i.eventsListeners[s]=[]),i.eventsListeners[s][r](e)}),i},once(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function r(){i.off(n,r),r.__emitterProxy&&delete r.__emitterProxy;for(var s=arguments.length,a=new Array(s),o=0;o=0&&e.eventsAnyListeners.splice(t,1),e},off(n,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((r,s)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[i].splice(s,1)})}),t},emit(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let e,t,i;for(var r=arguments.length,s=new Array(r),a=0;a{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(c=>{c.apply(i,[l,...t])}),n.eventsListeners&&n.eventsListeners[l]&&n.eventsListeners[l].forEach(c=>{c.apply(i,t)})}),n}};function dh(){const n=this;let e,t;const i=n.el;typeof n.params.width<"u"&&n.params.width!==null?e=n.params.width:e=i.clientWidth,typeof n.params.height<"u"&&n.params.height!==null?t=n.params.height:t=i.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(Xi(i,"padding-left")||0,10)-parseInt(Xi(i,"padding-right")||0,10),t=t-parseInt(Xi(i,"padding-top")||0,10)-parseInt(Xi(i,"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 fh(){const n=this;function e(x,D){return parseFloat(x.getPropertyValue(n.getDirectionLabel(D))||0)}const t=n.params,{wrapperEl:i,slidesEl:r,size:s,rtlTranslate:a,wrongRTL:o}=n,l=n.virtual&&t.virtual.enabled,c=l?n.virtual.slides.length:n.slides.length,u=Je(r,`.${n.params.slideClass}, swiper-slide`),h=l?n.virtual.slides.length:u.length;let m=[];const p=[],d=[];let f=t.slidesOffsetBefore;typeof f=="function"&&(f=t.slidesOffsetBefore.call(n));let v=t.slidesOffsetAfter;typeof v=="function"&&(v=t.slidesOffsetAfter.call(n));const b=n.snapGrid.length,w=n.slidesGrid.length;let g=t.spaceBetween,y=-f,_=0,M=0;if(typeof s>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*s:typeof g=="string"&&(g=parseFloat(g)),n.virtualSize=-g,u.forEach(x=>{a?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Gn(i,"--swiper-centered-offset-before",""),Gn(i,"--swiper-centered-offset-after",""));const A=t.grid&&t.grid.rows>1&&n.grid;A?n.grid.initSlides(u):n.grid&&n.grid.unsetSlides();let E;const k=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(x=>typeof t.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x1&&m.push(n.virtualSize-s)}if(l&&t.loop){const x=d[0]+g;if(t.slidesPerGroup>1){const D=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),S=x*t.slidesPerGroup;for(let T=0;T!t.cssMode||t.loop?!0:S!==u.length-1).forEach(D=>{D.style[x]=`${g}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let x=0;d.forEach(S=>{x+=S+(g||0)}),x-=g;const D=x>s?x-s:0;m=m.map(S=>S<=0?-f:S>D?D+v:S)}if(t.centerInsufficientSlides){let x=0;d.forEach(S=>{x+=S+(g||0)}),x-=g;const D=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(x+D{m[C]=T-S}),p.forEach((T,C)=>{p[C]=T+S})}}if(Object.assign(n,{slides:u,snapGrid:m,slidesGrid:p,slidesSizesGrid:d}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Gn(i,"--swiper-centered-offset-before",`${-m[0]}px`),Gn(i,"--swiper-centered-offset-after",`${n.size/2-d[d.length-1]/2}px`);const x=-n.snapGrid[0],D=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(S=>S+x),n.slidesGrid=n.slidesGrid.map(S=>S+D)}if(h!==c&&n.emit("slidesLengthChange"),m.length!==b&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),p.length!==w&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const x=`${t.containerModifierClass}backface-hidden`,D=n.el.classList.contains(x);h<=t.maxBackfaceHiddenSlides?D||n.el.classList.add(x):D&&n.el.classList.remove(x)}}function ph(n){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let r=0,s;typeof n=="number"?e.setTransition(n):n===!0&&e.setTransition(e.params.speed);const a=o=>i?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{t.push(o)});else for(s=0;se.slides.length&&!i)break;t.push(a(o))}else t.push(a(e.activeIndex));for(s=0;sr?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function hh(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let i=0;i{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function mh(n){n===void 0&&(n=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:r,snapGrid:s}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-n;r&&(a=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l=0&&p<=e.size-e.slidesSizesGrid[l],v=p>=0&&p1&&d<=e.size||p<=0&&d>=e.size;v&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(l)),zu(c,v,t.slideVisibleClass),zu(c,f,t.slideFullyVisibleClass),c.progress=r?-h:h,c.originalProgress=r?-m:m}}function gh(n){const e=this;if(typeof n>"u"){const u=e.rtlTranslate?-1:1;n=e&&e.translate&&e.translate*u||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:s,isEnd:a,progressLoop:o}=e;const l=s,c=a;if(i===0)r=0,s=!0,a=!0;else{r=(n-e.minTranslate())/i;const u=Math.abs(n-e.minTranslate())<1,h=Math.abs(n-e.maxTranslate())<1;s=u||r<=0,a=h||r>=1,u&&(r=0),h&&(r=1)}if(t.loop){const u=e.getSlideIndexByData(0),h=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[u],p=e.slidesGrid[h],d=e.slidesGrid[e.slidesGrid.length-1],f=Math.abs(n);f>=m?o=(f-m)/d:o=(f+d-p)/d,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:s,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),s&&!l&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(l&&!s||c&&!a)&&e.emit("fromEdge"),e.emit("progress",r)}const Wo=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function vh(){const n=this,{slides:e,params:t,slidesEl:i,activeIndex:r}=n,s=n.virtual&&t.virtual.enabled,a=n.grid&&t.grid&&t.grid.rows>1,o=h=>Je(i,`.${t.slideClass}${h}, swiper-slide${h}`)[0];let l,c,u;if(s)if(t.loop){let h=r-n.virtual.slidesBefore;h<0&&(h=n.virtual.slides.length+h),h>=n.virtual.slides.length&&(h-=n.virtual.slides.length),l=o(`[data-swiper-slide-index="${h}"]`)}else l=o(`[data-swiper-slide-index="${r}"]`);else a?(l=e.find(h=>h.column===r),u=e.find(h=>h.column===r+1),c=e.find(h=>h.column===r-1)):l=e[r];l&&(a||(u=nh(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u&&(u=e[0]),c=rh(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(h=>{Wo(h,h===l,t.slideActiveClass),Wo(h,h===u,t.slideNextClass),Wo(h,h===c,t.slidePrevClass)}),n.emitSlidesClasses()}const Zs=(n,e)=>{if(!n||n.destroyed||!n.params)return;const t=()=>n.isElement?"swiper-slide":`.${n.params.slideClass}`,i=e.closest(t());if(i){let r=i.querySelector(`.${n.params.lazyPreloaderClass}`);!r&&n.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Vo=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},qo=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 i=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),r=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const a=r,o=[a-e];o.push(...Array.from({length:e}).map((l,c)=>a+i+c)),n.slides.forEach((l,c)=>{o.includes(l.column)&&Vo(n,c)});return}const s=r+i-1;if(n.params.rewind||n.params.loop)for(let a=r-e;a<=s+e;a+=1){const o=(a%t+t)%t;(os)&&Vo(n,o)}else for(let a=Math.max(r-e,0);a<=Math.min(s+e,t-1);a+=1)a!==r&&(a>s||a=e[s]&&i=e[s]&&i=e[s]&&(r=s);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function yh(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:a,snapIndex:o}=e;let l=n,c;const u=p=>{let d=p-e.virtual.slidesBefore;return d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),d};if(typeof l>"u"&&(l=wh(e)),i.indexOf(t)>=0)c=i.indexOf(t);else{const p=Math.min(r.slidesPerGroupSkip,l);c=p+Math.floor((l-p)/r.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),l===s&&!e.params.loop){c!==o&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(l===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(l);return}const h=e.grid&&r.grid&&r.grid.rows>1;let m;if(e.virtual&&r.virtual.enabled&&r.loop)m=u(l);else if(h){const p=e.slides.find(f=>f.column===l);let d=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(d)&&(d=Math.max(e.slides.indexOf(p),0)),m=Math.floor(d/r.grid.rows)}else if(e.slides[l]){const p=e.slides[l].getAttribute("data-swiper-slide-index");p?m=parseInt(p,10):m=l}else m=l;Object.assign(e,{previousSnapIndex:o,snapIndex:c,previousRealIndex:a,realIndex:m,previousIndex:s,activeIndex:l}),e.initialized&&qo(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function bh(n,e){const t=this,i=t.params;let r=n.closest(`.${i.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(n)&&[...e.slice(e.indexOf(n)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(r=o)});let s=!1,a;if(r){for(let o=0;ol?u=l:i&&na?o="next":s"u"&&(e=s.params.speed);const f=Math.min(s.params.slidesPerGroupSkip,a);let v=f+Math.floor((a-f)/s.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const b=-l[v];if(o.normalizeSlideIndex)for(let A=0;A=k&&E=k&&E=k&&(a=A)}if(s.initialized&&a!==h&&(!s.allowSlideNext&&(m?b>s.translate&&b>s.minTranslate():bs.translate&&b>s.maxTranslate()&&(h||0)!==a))return!1;a!==(u||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(b);let w;a>h?w="next":a0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[A?"scrollLeft":"scrollTop"]=E})):p[A?"scrollLeft":"scrollTop"]=E,g&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return Ou({swiper:s,targetPosition:E,side:A?"left":"top"}),!0;p.scrollTo({[A?"left":"top"]:E,behavior:"smooth"})}return!0}const M=Du().isSafari;return g&&!r&&M&&s.isElement&&s.virtual.update(!1,!1,a),s.setTransition(e),s.setTranslate(b),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,i),s.transitionStart(t,w),e===0?s.transitionEnd(t,w):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(E){!s||s.destroyed||E.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,w))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Lh(n,e,t,i){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let a=n;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a=a+r.virtual.slidesBefore;else{let o;if(s){const m=a*r.params.grid.rows;o=r.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===m).column}else o=r.getSlideIndexByData(a);const l=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:c}=r.params;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),c&&u%2===0&&(u=u+1));let h=l-op.getAttribute("data-swiper-slide-index")*1===m).column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,e,t,i)}),r}function Dh(n,e,t){e===void 0&&(e=!0);const i=this,{enabled:r,params:s,animating:a}=i;if(!r||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);let o=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex{i.slideTo(i.activeIndex+l,n,e,t)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,n,e,t):i.slideTo(i.activeIndex+l,n,e,t)}function zh(n,e,t){e===void 0&&(e=!0);const i=this,{params:r,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);const u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const h=o?i.translate:-i.translate;function m(w){return w<0?-Math.floor(Math.abs(w)):Math.floor(w)}const p=m(h),d=s.map(w=>m(w)),f=r.freeMode&&r.freeMode.enabled;let v=s[d.indexOf(p)-1];if(typeof v>"u"&&(r.cssMode||f)){let w;s.forEach((g,y)=>{p>=g&&(w=y)}),typeof w<"u"&&(v=f?s[w]:s[w>0?w-1:w])}let b=0;if(typeof v<"u"&&(b=a.indexOf(v),b<0&&(b=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(b=b-i.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),r.rewind&&i.isBeginning){const w=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(w,n,e,t)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(b,n,e,t)}),!0;return i.slideTo(b,n,e,t)}function Rh(n,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof n>"u"&&(n=i.params.speed),i.slideTo(i.activeIndex,n,e,t)}function Nh(n,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const r=this;if(r.destroyed)return;typeof n>"u"&&(n=r.params.speed);let s=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,s),o=a+Math.floor((s-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const c=r.snapGrid[o],u=r.snapGrid[o+1];l-c>(u-c)*i&&(s+=r.params.slidesPerGroup)}else{const c=r.snapGrid[o-1],u=r.snapGrid[o];l-c<=(u-c)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,n,e,t)}function Fh(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,i=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let r=n.clickedIndex,s;const a=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?rn.slides.length-n.loopedSlides+i/2?(n.loopFix(),r=n.getSlideIndex(Je(t,`${a}[data-swiper-slide-index="${s}"]`)[0]),br(()=>{n.slideTo(r)})):n.slideTo(r):r>n.slides.length-i?(n.loopFix(),r=n.getSlideIndex(Je(t,`${a}[data-swiper-slide-index="${s}"]`)[0]),br(()=>{n.slideTo(r)})):n.slideTo(r)}else n.slideTo(r)}var Bh={slideTo:Ih,slideToLoop:Lh,slideNext:Dh,slidePrev:zh,slideReset:Rh,slideToClosest:Nh,slideToClickedSlide:Fh};function $h(n){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{Je(i,`.${t.slideClass}, swiper-slide`).forEach((h,m)=>{h.setAttribute("data-swiper-slide-index",m)})},s=e.grid&&t.grid&&t.grid.rows>1,a=t.slidesPerGroup*(s?t.grid.rows:1),o=e.slides.length%a!==0,l=s&&e.slides.length%t.grid.rows!==0,c=u=>{for(let h=0;h1;c.length"u"?s=l.getSlideIndex(c.find(T=>T.classList.contains(p.slideActiveClass))):_=s;const M=i==="next"||!i,A=i==="prev"||!i;let E=0,k=0;const x=w?Math.ceil(c.length/p.grid.rows):c.length,S=(w?c[s].column:s)+(d&&typeof r>"u"?-f/2+.5:0);if(S=0;z-=1)c[z].column===L&&g.push(z)}else g.push(x-C-1)}}else if(S+f>x-b){k=Math.max(S-(x-b*2),v);for(let T=0;T{L.column===C&&y.push(z)}):y.push(C)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),A&&g.forEach(T=>{c[T].swiperLoopMoveDOM=!0,m.prepend(c[T]),c[T].swiperLoopMoveDOM=!1}),M&&y.forEach(T=>{c[T].swiperLoopMoveDOM=!0,m.append(c[T]),c[T].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():w&&(g.length>0&&A||y.length>0&&M)&&l.slides.forEach((T,C)=>{l.grid.updateSlide(C,T,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(g.length>0&&A){if(typeof e>"u"){const T=l.slidesGrid[_],L=l.slidesGrid[_+E]-T;o?l.setTranslate(l.translate-L):(l.slideTo(_+Math.ceil(E),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-L,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-L))}else if(r){const T=w?g.length/p.grid.rows:g.length;l.slideTo(l.activeIndex+T,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(y.length>0&&M)if(typeof e>"u"){const T=l.slidesGrid[_],L=l.slidesGrid[_-k]-T;o?l.setTranslate(l.translate-L):(l.slideTo(_-k,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-L,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-L))}else{const T=w?y.length/p.grid.rows:y.length;l.slideTo(l.activeIndex-T,0,!1,!0)}}if(l.allowSlidePrev=u,l.allowSlideNext=h,l.controller&&l.controller.control&&!a){const T={slideRealIndex:e,direction:i,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(C=>{!C.destroyed&&C.params.loop&&C.loopFix({...T,slideTo:C.params.slidesPerView===p.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...T,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}l.emit("loopFix")}function Hh(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||!t||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const i=[];n.slides.forEach(r=>{const s=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[s]=r}),n.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{t.append(r)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}var Wh={loopCreate:$h,loopFix:Yh,loopDestroy:Hh};function Vh(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 qh(){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 Gh={setGrabCursor:Vh,unsetGrabCursor:qh};function jh(n,e){e===void 0&&(e=this);function t(i){if(!i||i===Ge()||i===_e())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(n);return!r&&!i.getRootNode?null:r||t(i.getRootNode().host)}return t(e)}function Nu(n,e,t){const i=_e(),{params:r}=n,s=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return s&&(t<=a||t>=i.innerWidth-a)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function Xh(n){const e=this,t=Ge();let i=n;i.originalEvent&&(i=i.originalEvent);const r=e.touchEventsData;if(i.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(r.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){Nu(e,i,i.targetTouches[0].pageX);return}const{params:s,touches:a,enabled:o}=e;if(!o||!s.simulateTouch&&i.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=i.target;if(s.touchEventsTarget==="wrapper"&&!ih(l,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const c=!!s.noSwipingClass&&s.noSwipingClass!=="",u=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&u&&(l=u[0]);const h=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!!(i.target&&i.target.shadowRoot);if(s.noSwiping&&(m?jh(h,l):l.closest(h))){e.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const p=a.currentX,d=a.currentY;if(!Nu(e,i,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=d,r.touchStartTime=Kt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let f=!0;l.matches(r.focusableElements)&&(f=!1,l.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!l.matches(r.focusableElements))&&t.activeElement.blur();const v=f&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||v)&&!l.isContentEditable&&i.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function Uh(n){const e=Ge(),t=this,i=t.touchEventsData,{params:r,touches:s,rtlTranslate:a,enabled:o}=t;if(!o||!r.simulateTouch&&n.pointerType==="mouse")return;let l=n;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(i.touchId!==null||l.pointerId!==i.pointerId))return;let c;if(l.type==="touchmove"){if(c=[...l.changedTouches].find(_=>_.identifier===i.touchId),!c||c.identifier!==i.touchId)return}else c=l;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l);return}const u=c.pageX,h=c.pageY;if(l.preventedByNestedSwiper){s.startX=u,s.startY=h;return}if(!t.allowTouchMove){l.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(s,{startX:u,startY:h,currentX:u,currentY:h}),i.touchStartTime=Kt());return}if(r.touchReleaseOnEdges&&!r.loop){if(t.isVertical()){if(hs.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(us.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=u,s.currentY=h;const m=s.currentX-s.startX,p=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(m**2+p**2)"u"){let _;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:m*m+p*p>=25&&(_=Math.atan2(Math.abs(p),Math.abs(m))*180/Math.PI,i.isScrolling=t.isHorizontal()?_>r.touchAngle:90-_>r.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(i.startMoving=!0),i.isScrolling||l.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation();let d=t.isHorizontal()?m:p,f=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(d=Math.abs(d)*(a?1:-1),f=Math.abs(f)*(a?1:-1)),s.diff=d,d*=r.touchRatio,a&&(d=-d,f=-f);const v=t.touchesDirection;t.swipeDirection=d>0?"prev":"next",t.touchesDirection=f>0?"prev":"next";const b=t.params.loop&&!r.cssMode,w=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(b&&w&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const _=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(_)}i.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}if(new Date().getTime(),r._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&v!==t.touchesDirection&&b&&w&&Math.abs(d)>=1){Object.assign(s,{startX:u,startY:h,currentX:u,currentY:h,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=d+i.startTranslate;let g=!0,y=r.resistanceRatio;if(r.touchReleaseOnEdges&&(y=0),d>0?(b&&w&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(g=!1,r.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+d)**y))):d<0&&(b&&w&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),r.threshold>0)if(Math.abs(d)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{i.currentTranslate=i.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Zh(n){const e=this,t=e.touchEventsData;let i=n;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].find(_=>_.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:a,touches:o,rtlTranslate:l,slidesGrid:c,enabled:u}=e;if(!u||!a.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&a.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}a.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const h=Kt(),m=h-t.touchStartTime;if(e.allowClick){const _=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(_&&_[0]||i.target,_),e.emit("tap click",i),m<300&&h-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=Kt(),br(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(a.followFinger?p=l?e.translate:-e.translate:p=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const d=p>=-e.maxTranslate()&&!e.params.loop;let f=0,v=e.slidesSizesGrid[0];for(let _=0;_=c[_]&&p=c[_])&&(f=_,v=c[c.length-1]-c[c.length-2])}let b=null,w=null;a.rewind&&(e.isBeginning?w=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(b=0));const g=(p-c[f])/v,y=fa.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?b:f+y):e.slideTo(f)),e.swipeDirection==="prev"&&(g>1-a.longSwipesRatio?e.slideTo(f+y):w!==null&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(w):e.slideTo(f))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(f+y):e.slideTo(f):(e.swipeDirection==="next"&&e.slideTo(b!==null?b:f+y),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:f))}}function Fu(){const n=this,{params:e,el:t}=n;if(t&&t.offsetWidth===0)return;e.breakpoints&&n.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=n,a=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const o=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!o?n.slideTo(n.slides.length-1,0,!1,!0):n.params.loop&&!a?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=r,n.allowSlideNext=i,n.params.watchOverflow&&s!==n.snapGrid&&n.checkOverflow()}function Kh(n){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Jh(){const n=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=n;if(!i)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 r;const s=n.maxTranslate()-n.minTranslate();s===0?r=0:r=(n.translate-n.minTranslate())/s,r!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function Qh(n){const e=this;Zs(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function em(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const Bu=(n,e)=>{const t=Ge(),{params:i,el:r,wrapperEl:s,device:a}=n,o=!!i.nested,l=e==="on"?"addEventListener":"removeEventListener",c=e;!r||typeof r=="string"||(t[l]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",n.onTouchStart,{passive:!1}),r[l]("pointerdown",n.onTouchStart,{passive:!1}),t[l]("touchmove",n.onTouchMove,{passive:!1,capture:o}),t[l]("pointermove",n.onTouchMove,{passive:!1,capture:o}),t[l]("touchend",n.onTouchEnd,{passive:!0}),t[l]("pointerup",n.onTouchEnd,{passive:!0}),t[l]("pointercancel",n.onTouchEnd,{passive:!0}),t[l]("touchcancel",n.onTouchEnd,{passive:!0}),t[l]("pointerout",n.onTouchEnd,{passive:!0}),t[l]("pointerleave",n.onTouchEnd,{passive:!0}),t[l]("contextmenu",n.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",n.onClick,!0),i.cssMode&&s[l]("scroll",n.onScroll),i.updateOnWindowResize?n[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Fu,!0):n[c]("observerUpdate",Fu,!0),r[l]("load",n.onLoad,{capture:!0}))};function tm(){const n=this,{params:e}=n;n.onTouchStart=Xh.bind(n),n.onTouchMove=Uh.bind(n),n.onTouchEnd=Zh.bind(n),n.onDocumentTouchStart=em.bind(n),e.cssMode&&(n.onScroll=Jh.bind(n)),n.onClick=Kh.bind(n),n.onLoad=Qh.bind(n),Bu(n,"on")}function im(){Bu(this,"off")}var rm={attachEvents:tm,detachEvents:im};const $u=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function nm(){const n=this,{realIndex:e,initialized:t,params:i,el:r}=n,s=i.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const a=Ge(),o=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?n.el:a.querySelector(i.breakpointsBase),c=n.getBreakpoint(s,o,l);if(!c||n.currentBreakpoint===c)return;const h=(c in s?s[c]:void 0)||n.originalParams,m=$u(n,i),p=$u(n,h),d=n.params.grabCursor,f=h.grabCursor,v=i.enabled;m&&!p?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),n.emitContainerClasses()):!m&&p&&(r.classList.add(`${i.containerModifierClass}grid`),(h.grid.fill&&h.grid.fill==="column"||!h.grid.fill&&i.grid.fill==="column")&&r.classList.add(`${i.containerModifierClass}grid-column`),n.emitContainerClasses()),d&&!f?n.unsetGrabCursor():!d&&f&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(M=>{if(typeof h[M]>"u")return;const A=i[M]&&i[M].enabled,E=h[M]&&h[M].enabled;A&&!E&&n[M].disable(),!A&&E&&n[M].enable()});const b=h.direction&&h.direction!==i.direction,w=i.loop&&(h.slidesPerView!==i.slidesPerView||b),g=i.loop;b&&t&&n.changeDirection(),Bt(n.params,h);const y=n.params.enabled,_=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),v&&!y?n.disable():!v&&y&&n.enable(),n.currentBreakpoint=c,n.emit("_beforeBreakpoint",h),t&&(w?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!g&&_?(n.loopCreate(e),n.updateSlides()):g&&!_&&n.loopDestroy()),n.emit("breakpoint",h)}function sm(n,e,t){if(e===void 0&&(e="window"),!n||e==="container"&&!t)return;let i=!1;const r=_e(),s=e==="window"?r.innerHeight:t.clientHeight,a=Object.keys(n).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:s*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o{typeof i=="object"?Object.keys(i).forEach(r=>{i[r]&&t.push(e+r)}):typeof i=="string"&&t.push(e+i)}),t}function lm(){const n=this,{classNames:e,params:t,rtl:i,el:r,device:s}=n,a=om(["initialized",t.direction,{"free-mode":n.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),r.classList.add(...e),n.emitContainerClasses()}function cm(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var um={addClasses:lm,removeClasses:cm};function dm(){const n=this,{isLocked:e,params:t}=n,{slidesOffsetBefore:i}=t;if(i){const r=n.slides.length-1,s=n.slidesGrid[r]+n.slidesSizesGrid[r]+i*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 fm={checkOverflow:dm},Yu={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 pm(n,e){return function(i){i===void 0&&(i={});const r=Object.keys(i)[0],s=i[r];if(typeof s!="object"||s===null){Bt(e,i);return}if(n[r]===!0&&(n[r]={enabled:!0}),r==="navigation"&&n[r]&&n[r].enabled&&!n[r].prevEl&&!n[r].nextEl&&(n[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&n[r]&&n[r].enabled&&!n[r].el&&(n[r].auto=!0),!(r in n&&"enabled"in s)){Bt(e,i);return}typeof n[r]=="object"&&!("enabled"in n[r])&&(n[r].enabled=!0),n[r]||(n[r]={enabled:!1}),Bt(e,i)}}const Go={eventsEmitter:uh,update:_h,translate:Mh,transition:Oh,slide:Bh,loop:Wh,grabCursor:Gh,events:rm,breakpoints:am,checkOverflow:fm,classes:um},jo={};class Yt{constructor(){let e,t;for(var i=arguments.length,r=new Array(i),s=0;s1){const u=[];return a.querySelectorAll(t.el).forEach(h=>{const m=Bt({},t,{el:h});u.push(new Yt(m))}),u}const o=this;o.__swiper__=!0,o.support=Iu(),o.device=Lu({userAgent:t.userAgent}),o.browser=Du(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach(u=>{u({params:t,swiper:o,extendParams:pm(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const c=Bt({},Yu,l);return o.params=Bt({},c,jo,t),o.originalParams=Bt({},o.params),o.passedParams=Bt({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(u=>{o.on(u,o.params.on[u])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,r=Je(t,`.${i.slideClass}, swiper-slide`),s=jn(r[0]);return jn(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:i}=e;e.slides=Je(t,`.${i.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 i=this;e=Math.min(Math.max(e,0),1);const r=i.minTranslate(),a=(i.maxTranslate()-r)*e+r;i.translateTo(a,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const r=e.getSlideClasses(i);t.push({slideEl:i,classNames:r}),e.emit("_slideClass",i,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const i=this,{params:r,slides:s,slidesGrid:a,slidesSizesGrid:o,size:l,activeIndex:c}=i;let u=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let h=s[c]?Math.ceil(s[c].swiperSlideSize):0,m;for(let p=c+1;pl&&(m=!0));for(let p=c-1;p>=0;p-=1)s[p]&&!m&&(h+=s[p].swiperSlideSize,u+=1,h>l&&(m=!0))}else if(e==="current")for(let h=c+1;h=0;h-=1)a[c]-a[h]{a.complete&&Zs(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const a=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const a=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(a.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||r()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const i=this,r=i.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${r}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(s=>{e==="vertical"?s.style.width="":s.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}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 i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):Je(i,r())[0];return!a&&t.params.createElements&&(a=$t("div",t.params.wrapperClass),i.append(a),Je(i,`.${t.params.slideClass}`).forEach(o=>{a.append(o)})),Object.assign(t,{el:i,wrapperEl:a,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:a,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||Xi(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||Xi(i,"direction")==="rtl"),wrongRTL:Xi(a,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(s=>{s.complete?Zs(t,s):s.addEventListener("load",a=>{Zs(t,a.target)})}),qo(t),t.initialized=!0,qo(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const i=this,{params:r,el:s,wrapperEl:a,slides:o}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Jp(i)),i.destroyed=!0),null}static extendDefaults(e){Bt(jo,e)}static get extendedDefaults(){return jo}static get defaults(){return Yu}static installModule(e){Yt.prototype.__modules__||(Yt.prototype.__modules__=[]);const t=Yt.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>Yt.installModule(t)),Yt):(Yt.installModule(e),Yt)}}Object.keys(Go).forEach(n=>{Object.keys(Go[n]).forEach(e=>{Yt.prototype[e]=Go[n][e]})}),Yt.use([lh,ch]);function hm(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let s;const a=Ge();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=a.createElement("div");function l(d,f){const v=e.params.virtual;if(v.cache&&e.virtual.cache[f])return e.virtual.cache[f];let b;return v.renderSlide?(b=v.renderSlide.call(e,d,f),typeof b=="string"&&(o.innerHTML=b,b=o.children[0])):e.isElement?b=$t("swiper-slide"):b=$t("div",e.params.slideClass),b.setAttribute("data-swiper-slide-index",f),v.renderSlide||(b.innerHTML=d),v.cache&&(e.virtual.cache[f]=b),b}function c(d,f,v){const{slidesPerView:b,slidesPerGroup:w,centeredSlides:g,loop:y,initialSlide:_}=e.params;if(f&&!y&&_>0)return;const{addSlidesBefore:M,addSlidesAfter:A}=e.params.virtual,{from:E,to:k,slides:x,slidesGrid:D,offset:S}=e.virtual;e.params.cssMode||e.updateActiveIndex();const T=typeof v>"u"?e.activeIndex||0:v;let C;e.rtlTranslate?C="right":C=e.isHorizontal()?"left":"top";let L,z;g?(L=Math.floor(b/2)+w+A,z=Math.floor(b/2)+w+M):(L=b+(w-1)+A,z=(y?b:w)+M);let O=T-z,I=T+L;y||(O=Math.max(O,0),I=Math.min(I,x.length-1));let N=(e.slidesGrid[O]||0)-(e.slidesGrid[0]||0);y&&T>=z?(O-=z,g||(N+=e.slidesGrid[0])):y&&T{F.style[C]=`${N-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),r("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:N,from:O,to:I,slides:function(){const $=[];for(let j=O;j<=I;j+=1)$.push(x[j]);return $}()}),e.params.virtual.renderExternalUpdate?P():r("virtualUpdate");return}const H=[],G=[],re=F=>{let $=F;return F<0?$=x.length+F:$>=x.length&&($=$-x.length),$};if(d)e.slides.filter(F=>F.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(F=>{F.remove()});else for(let F=E;F<=k;F+=1)if(FI){const $=re(F);e.slides.filter(j=>j.matches(`.${e.params.slideClass}[data-swiper-slide-index="${$}"], swiper-slide[data-swiper-slide-index="${$}"]`)).forEach(j=>{j.remove()})}const de=y?-x.length:0,B=y?x.length*2:x.length;for(let F=de;F=O&&F<=I){const $=re(F);typeof k>"u"||d?G.push($):(F>k&&G.push($),F{e.slidesEl.append(l(x[F],F))}),y)for(let F=H.length-1;F>=0;F-=1){const $=H[F];e.slidesEl.prepend(l(x[$],$))}else H.sort((F,$)=>$-F),H.forEach(F=>{e.slidesEl.prepend(l(x[F],F))});Je(e.slidesEl,".swiper-slide, swiper-slide").forEach(F=>{F.style[C]=`${N-Math.abs(e.cssOverflowAdjustment())}px`}),P()}function u(d){if(typeof d=="object"&&"length"in d)for(let f=0;f{const _=w[y],M=_.getAttribute("data-swiper-slide-index");M&&_.setAttribute("data-swiper-slide-index",parseInt(M,10)+b),g[parseInt(y,10)+b]=_}),e.virtual.cache=g}c(!0),e.slideTo(v,0)}function m(d){if(typeof d>"u"||d===null)return;let f=e.activeIndex;if(Array.isArray(d))for(let v=d.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[d[v]],Object.keys(e.virtual.cache).forEach(b=>{b>d&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(d[v],1),d[v]{v>d&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(d,1),d{if(!e.params.virtual.enabled)return;let d;if(typeof e.passedParams.virtual.slides>"u"){const f=[...e.slidesEl.children].filter(v=>v.matches(`.${e.params.slideClass}, swiper-slide`));f.length&&(e.virtual.slides=[...f],d=!0,f.forEach((v,b)=>{v.setAttribute("data-swiper-slide-index",b),e.virtual.cache[b]=v,v.remove()}))}d||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,c(!1,!0)}),i("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(s),s=setTimeout(()=>{c()},100)):c())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Gn(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:u,prependSlide:h,removeSlide:m,removeAllSlides:p,update:c})}function mm(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=Ge(),a=_e();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function o(u){if(!e.enabled)return;const{rtlTranslate:h}=e;let m=u;m.originalEvent&&(m=m.originalEvent);const p=m.keyCode||m.charCode,d=e.params.keyboard.pageUpDown,f=d&&p===33,v=d&&p===34,b=p===37,w=p===39,g=p===38,y=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&w||e.isVertical()&&y||v)||!e.allowSlidePrev&&(e.isHorizontal()&&b||e.isVertical()&&g||f))return!1;if(!(m.shiftKey||m.altKey||m.ctrlKey||m.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(f||v||b||w||g||y)){let _=!1;if(Sr(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Sr(e.el,`.${e.params.slideActiveClass}`).length===0)return;const M=e.el,A=M.clientWidth,E=M.clientHeight,k=a.innerWidth,x=a.innerHeight,D=Xs(M);h&&(D.left-=M.scrollLeft);const S=[[D.left,D.top],[D.left+A,D.top],[D.left,D.top+E],[D.left+A,D.top+E]];for(let T=0;T=0&&C[0]<=k&&C[1]>=0&&C[1]<=x){if(C[0]===0&&C[1]===0)continue;_=!0}}if(!_)return}e.isHorizontal()?((f||v||b||w)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),((v||w)&&!h||(f||b)&&h)&&e.slideNext(),((f||b)&&!h||(v||w)&&h)&&e.slidePrev()):((f||v||g||y)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),(v||y)&&e.slideNext(),(f||g)&&e.slidePrev()),r("keyPress",p)}}function l(){e.keyboard.enabled||(s.addEventListener("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(s.removeEventListener("keydown",o),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&l()}),i("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:l,disable:c})}function gm(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=_e();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,o=Kt(),l;const c=[];function u(g){let A=0,E=0,k=0,x=0;return"detail"in g&&(E=g.detail),"wheelDelta"in g&&(E=-g.wheelDelta/120),"wheelDeltaY"in g&&(E=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(A=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(A=E,E=0),k=A*10,x=E*10,"deltaY"in g&&(x=g.deltaY),"deltaX"in g&&(k=g.deltaX),g.shiftKey&&!k&&(k=x,x=0),(k||x)&&g.deltaMode&&(g.deltaMode===1?(k*=40,x*=40):(k*=800,x*=800)),k&&!A&&(A=k<1?-1:1),x&&!E&&(E=x<1?-1:1),{spinX:A,spinY:E,pixelX:k,pixelY:x}}function h(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function p(g){return e.params.mousewheel.thresholdDelta&&g.delta=6&&Kt()-o<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),r("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),r("scroll",g.raw)),o=new s.Date().getTime(),!1)}function d(g){const y=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function f(g){let y=g,_=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const M=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let A=e.el;e.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(e.params.mousewheel.eventsTarget));const E=A&&A.contains(y.target);if(!e.mouseEntered&&!E&&!M.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let k=0;const x=e.rtlTranslate?-1:1,D=u(y);if(M.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))k=-D.pixelX*x;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))k=-D.pixelY;else return!0;else k=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*x:-D.pixelY;if(k===0)return!0;M.invert&&(k=-k);let S=e.getTranslate()+k*M.sensitivity;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),_=e.params.loop?!0:!(S===e.minTranslate()||S===e.maxTranslate()),_&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const T={time:Kt(),delta:Math.abs(k),direction:Math.sign(k),raw:g};c.length>=2&&c.shift();const C=c.length?c[c.length-1]:void 0;if(c.push(T),C?(T.direction!==C.direction||T.delta>C.delta||T.time>C.time+150)&&p(T):p(T),d(T))return!0}else{const T={time:Kt(),delta:Math.abs(k),direction:Math.sign(k)},C=l&&T.time=e.minTranslate()&&(L=e.minTranslate()),L<=e.maxTranslate()&&(L=e.maxTranslate()),e.setTransition(0),e.setTranslate(L),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!O&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:T.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const I=c.length?c[c.length-1]:void 0,N=c[0];if(c.push(T),I&&(T.delta>I.delta||T.direction!==I.direction))c.splice(0);else if(c.length>=15&&T.time-N.time<500&&N.delta-T.delta>=1&&T.delta<=6){const P=k>0?.8:.2;l=T,c.splice(0),a=br(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,P)},0)}a||(a=br(()=>{if(e.destroyed||!e.params)return;const P=.5;l=T,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,P)},500))}if(C||r("scroll",y),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),M.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function v(g){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[g]("mouseenter",h),y[g]("mouseleave",m),y[g]("wheel",f)}function b(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):e.mousewheel.enabled?!1:(v("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):e.mousewheel.enabled?(v("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&b()}),i("destroy",()=>{e.params.cssMode&&b(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:b,disable:w})}function Xo(n,e,t,i){return n.params.createElements&&Object.keys(i).forEach(r=>{if(!t[r]&&t.auto===!0){let s=Je(n.el,`.${i[r]}`)[0];s||(s=$t("div",i[r]),s.className=i[r],n.el.append(s)),t[r]=s,e[r]=s}}),t}function vm(n){let{swiper:e,extendParams:t,on:i,emit:r}=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(d){let f;return d&&typeof d=="string"&&e.isElement&&(f=e.el.querySelector(d)||e.hostEl.querySelector(d),f)?f:(d&&(typeof d=="string"&&(f=[...document.querySelectorAll(d)]),e.params.uniqueNavElements&&typeof d=="string"&&f&&f.length>1&&e.el.querySelectorAll(d).length===1?f=e.el.querySelector(d):f&&f.length===1&&(f=f[0])),d&&!f?d:f)}function a(d,f){const v=e.params.navigation;d=se(d),d.forEach(b=>{b&&(b.classList[f?"add":"remove"](...v.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=f),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](v.lockClass))})}function o(){const{nextEl:d,prevEl:f}=e.navigation;if(e.params.loop){a(f,!1),a(d,!1);return}a(f,e.isBeginning&&!e.params.rewind),a(d,e.isEnd&&!e.params.rewind)}function l(d){d.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(d){d.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const d=e.params.navigation;if(e.params.navigation=Xo(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let f=s(d.nextEl),v=s(d.prevEl);Object.assign(e.navigation,{nextEl:f,prevEl:v}),f=se(f),v=se(v);const b=(w,g)=>{w&&w.addEventListener("click",g==="next"?c:l),!e.enabled&&w&&w.classList.add(...d.lockClass.split(" "))};f.forEach(w=>b(w,"next")),v.forEach(w=>b(w,"prev"))}function h(){let{nextEl:d,prevEl:f}=e.navigation;d=se(d),f=se(f);const v=(b,w)=>{b.removeEventListener("click",w==="next"?c:l),b.classList.remove(...e.params.navigation.disabledClass.split(" "))};d.forEach(b=>v(b,"next")),f.forEach(b=>v(b,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?p():(u(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{nextEl:d,prevEl:f}=e.navigation;if(d=se(d),f=se(f),e.enabled){o();return}[...d,...f].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),i("click",(d,f)=>{let{nextEl:v,prevEl:b}=e.navigation;v=se(v),b=se(b);const w=f.target;let g=b.includes(w)||v.includes(w);if(e.isElement&&!g){const y=f.path||f.composedPath&&f.composedPath();y&&(g=y.find(_=>v.includes(_)||b.includes(_)))}if(e.params.navigation.hideOnClick&&!g){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===w||e.pagination.el.contains(w)))return;let y;v.length?y=v[0].classList.contains(e.params.navigation.hiddenClass):b.length&&(y=b[0].classList.contains(e.params.navigation.hiddenClass)),r(y===!0?"navigationShow":"navigationHide"),[...v,...b].filter(_=>!!_).forEach(_=>_.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),o()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),h()};Object.assign(e.navigation,{enable:m,disable:p,update:o,init:u,destroy:h})}function Mi(n){return n===void 0&&(n=""),`.${n.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function wm(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:w=>w,formatFractionTotal:w=>w,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let a,o=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(w,g){const{bulletActiveClass:y}=e.params.pagination;w&&(w=w[`${g==="prev"?"previous":"next"}ElementSibling`],w&&(w.classList.add(`${y}-${g}`),w=w[`${g==="prev"?"previous":"next"}ElementSibling`],w&&w.classList.add(`${y}-${g}-${g}`)))}function u(w,g,y){if(w=w%y,g=g%y,g===w+1)return"next";if(g===w-1)return"previous"}function h(w){const g=w.target.closest(Mi(e.params.pagination.bulletClass));if(!g)return;w.preventDefault();const y=jn(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const _=u(e.realIndex,y,e.slides.length);_==="next"?e.slideNext():_==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function m(){const w=e.rtl,g=e.params.pagination;if(l())return;let y=e.pagination.el;y=se(y);let _,M;const A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,E=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(M=e.previousRealIndex||0,_=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(_=e.snapIndex,M=e.previousSnapIndex):(M=e.previousIndex||0,_=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let x,D,S;if(g.dynamicBullets&&(a=Bo(k[0],e.isHorizontal()?"width":"height"),y.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&M!==void 0&&(o+=_-(M||0),o>g.dynamicMainBullets-1?o=g.dynamicMainBullets-1:o<0&&(o=0)),x=Math.max(_-o,0),D=x+(Math.min(k.length,g.dynamicMainBullets)-1),S=(D+x)/2),k.forEach(T=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${g.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();T.classList.remove(...C)}),y.length>1)k.forEach(T=>{const C=jn(T);C===_?T.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),g.dynamicBullets&&(C>=x&&C<=D&&T.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),C===x&&c(T,"prev"),C===D&&c(T,"next"))});else{const T=k[_];if(T&&T.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&k.forEach((C,L)=>{C.setAttribute("part",L===_?"bullet-active":"bullet")}),g.dynamicBullets){const C=k[x],L=k[D];for(let z=x;z<=D;z+=1)k[z]&&k[z].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(C,"prev"),c(L,"next")}}if(g.dynamicBullets){const T=Math.min(k.length,g.dynamicMainBullets+4),C=(a*T-a)/2-S*a,L=w?"right":"left";k.forEach(z=>{z.style[e.isHorizontal()?L:"top"]=`${C}px`})}}y.forEach((k,x)=>{if(g.type==="fraction"&&(k.querySelectorAll(Mi(g.currentClass)).forEach(D=>{D.textContent=g.formatFractionCurrent(_+1)}),k.querySelectorAll(Mi(g.totalClass)).forEach(D=>{D.textContent=g.formatFractionTotal(E)})),g.type==="progressbar"){let D;g.progressbarOpposite?D=e.isHorizontal()?"vertical":"horizontal":D=e.isHorizontal()?"horizontal":"vertical";const S=(_+1)/E;let T=1,C=1;D==="horizontal"?T=S:C=S,k.querySelectorAll(Mi(g.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${C})`,L.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(k.innerHTML=g.renderCustom(e,_+1,E),x===0&&r("paginationRender",k)):(x===0&&r("paginationRender",k),r("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](g.lockClass)})}function p(){const w=e.params.pagination;if(l())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let y=e.pagination.el;y=se(y);let _="";if(w.type==="bullets"){let M=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&M>g&&(M=g);for(let A=0;A`}w.type==="fraction"&&(w.renderFraction?_=w.renderFraction.call(e,w.currentClass,w.totalClass):_=` / `),w.type==="progressbar"&&(w.renderProgressbar?_=w.renderProgressbar.call(e,w.progressbarFillClass):_=``),e.pagination.bullets=[],y.forEach(M=>{w.type!=="custom"&&(M.innerHTML=_||""),w.type==="bullets"&&e.pagination.bullets.push(...M.querySelectorAll(Mi(w.bulletClass)))}),w.type!=="custom"&&r("paginationRender",y[0])}function d(){e.params.pagination=Xo(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const w=e.params.pagination;if(!w.el)return;let g;typeof w.el=="string"&&e.isElement&&(g=e.el.querySelector(w.el)),!g&&typeof w.el=="string"&&(g=[...document.querySelectorAll(w.el)]),g||(g=w.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof w.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(w.el)],g.length>1&&(g=g.find(y=>Sr(y,".swiper")[0]===e.el))),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=se(g),g.forEach(y=>{w.type==="bullets"&&w.clickable&&y.classList.add(...(w.clickableClass||"").split(" ")),y.classList.add(w.modifierClass+w.type),y.classList.add(e.isHorizontal()?w.horizontalClass:w.verticalClass),w.type==="bullets"&&w.dynamicBullets&&(y.classList.add(`${w.modifierClass}${w.type}-dynamic`),o=0,w.dynamicMainBullets<1&&(w.dynamicMainBullets=1)),w.type==="progressbar"&&w.progressbarOpposite&&y.classList.add(w.progressbarOppositeClass),w.clickable&&y.addEventListener("click",h),e.enabled||y.classList.add(w.lockClass)}))}function f(){const w=e.params.pagination;if(l())return;let g=e.pagination.el;g&&(g=se(g),g.forEach(y=>{y.classList.remove(w.hiddenClass),y.classList.remove(w.modifierClass+w.type),y.classList.remove(e.isHorizontal()?w.horizontalClass:w.verticalClass),w.clickable&&(y.classList.remove(...(w.clickableClass||"").split(" ")),y.removeEventListener("click",h))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...w.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const w=e.params.pagination;let{el:g}=e.pagination;g=se(g),g.forEach(y=>{y.classList.remove(w.horizontalClass,w.verticalClass),y.classList.add(e.isHorizontal()?w.horizontalClass:w.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?b():(d(),p(),m())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),i("snapIndexChange",()=>{m()}),i("snapGridLengthChange",()=>{p(),m()}),i("destroy",()=>{f()}),i("enable disable",()=>{let{el:w}=e.pagination;w&&(w=se(w),w.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{m()}),i("click",(w,g)=>{const y=g.target,_=se(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&_&&_.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const M=_[0].classList.contains(e.params.pagination.hiddenClass);r(M===!0?"paginationShow":"paginationHide"),_.forEach(A=>A.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:w}=e.pagination;w&&(w=se(w),w.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),d(),p(),m()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:w}=e.pagination;w&&(w=se(w),w.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),f()};Object.assign(e.pagination,{enable:v,disable:b,render:p,update:m,init:d,destroy:f})}function ym(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=Ge();let a=!1,o=null,l=null,c,u,h,m;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S,rtlTranslate:T}=e,{dragEl:C,el:L}=S,z=e.params.scrollbar,O=e.params.loop?e.progressLoop:e.progress;let I=u,N=(h-u)*O;T?(N=-N,N>0?(I=u-N,N=0):-N+u>h&&(I=h+N)):N<0?(I=u+N,N=0):N+u>h&&(I=h-N),e.isHorizontal()?(C.style.transform=`translate3d(${N}px, 0, 0)`,C.style.width=`${I}px`):(C.style.transform=`translate3d(0px, ${N}px, 0)`,C.style.height=`${I}px`),z.hide&&(clearTimeout(o),L.style.opacity=1,o=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function d(S){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S}=e,{dragEl:T,el:C}=S;T.style.width="",T.style.height="",h=e.isHorizontal()?C.offsetWidth:C.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?u=h*m:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?T.style.width=`${u}px`:T.style.height=`${u}px`,m>=1?C.style.display="none":C.style.display="",e.params.scrollbar.hide&&(C.style.opacity=0),e.params.watchOverflow&&e.enabled&&S.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(S){return e.isHorizontal()?S.clientX:S.clientY}function b(S){const{scrollbar:T,rtlTranslate:C}=e,{el:L}=T;let z;z=(v(S)-Xs(L)[e.isHorizontal()?"left":"top"]-(c!==null?c:u/2))/(h-u),z=Math.max(Math.min(z,1),0),C&&(z=1-z);const O=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(O),e.setTranslate(O),e.updateActiveIndex(),e.updateSlidesClasses()}function w(S){const T=e.params.scrollbar,{scrollbar:C,wrapperEl:L}=e,{el:z,dragEl:O}=C;a=!0,c=S.target===O?v(S)-S.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),L.style.transitionDuration="100ms",O.style.transitionDuration="100ms",b(S),clearTimeout(l),z.style.transitionDuration="0ms",T.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",S)}function g(S){const{scrollbar:T,wrapperEl:C}=e,{el:L,dragEl:z}=T;a&&(S.preventDefault&&S.cancelable?S.preventDefault():S.returnValue=!1,b(S),C.style.transitionDuration="0ms",L.style.transitionDuration="0ms",z.style.transitionDuration="0ms",r("scrollbarDragMove",S))}function y(S){const T=e.params.scrollbar,{scrollbar:C,wrapperEl:L}=e,{el:z}=C;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),T.hide&&(clearTimeout(l),l=br(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",S),T.snapOnRelease&&e.slideToClosest())}function _(S){const{scrollbar:T,params:C}=e,L=T.el;if(!L)return;const z=L,O=C.passiveListeners?{passive:!1,capture:!1}:!1,I=C.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const N=S==="on"?"addEventListener":"removeEventListener";z[N]("pointerdown",w,O),s[N]("pointermove",g,O),s[N]("pointerup",y,I)}function M(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function A(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function E(){const{scrollbar:S,el:T}=e;e.params.scrollbar=Xo(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const C=e.params.scrollbar;if(!C.el)return;let L;if(typeof C.el=="string"&&e.isElement&&(L=e.el.querySelector(C.el)),!L&&typeof C.el=="string"){if(L=s.querySelectorAll(C.el),!L.length)return}else L||(L=C.el);e.params.uniqueNavElements&&typeof C.el=="string"&&L.length>1&&T.querySelectorAll(C.el).length===1&&(L=T.querySelector(C.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass);let z;L&&(z=L.querySelector(Mi(e.params.scrollbar.dragClass)),z||(z=$t("div",e.params.scrollbar.dragClass),L.append(z))),Object.assign(S,{el:L,dragEl:z}),C.draggable&&M(),L&&L.classList[e.enabled?"remove":"add"](...ji(e.params.scrollbar.lockClass))}function k(){const S=e.params.scrollbar,T=e.scrollbar.el;T&&T.classList.remove(...ji(e.isHorizontal()?S.horizontalClass:S.verticalClass)),A()}i("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const S=e.params.scrollbar;let{el:T}=e.scrollbar;T=se(T),T.forEach(C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),i("init",()=>{e.params.scrollbar.enabled===!1?D():(E(),f(),p())}),i("update resize observerUpdate lock unlock changeDirection",()=>{f()}),i("setTranslate",()=>{p()}),i("setTransition",(S,T)=>{d(T)}),i("enable disable",()=>{const{el:S}=e.scrollbar;S&&S.classList[e.enabled?"remove":"add"](...ji(e.params.scrollbar.lockClass))}),i("destroy",()=>{k()});const x=()=>{e.el.classList.remove(...ji(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ji(e.params.scrollbar.scrollbarDisabledClass)),E(),f(),p()},D=()=>{e.el.classList.add(...ji(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ji(e.params.scrollbar.scrollbarDisabledClass)),k()};Object.assign(e.scrollbar,{enable:x,disable:D,updateSize:f,setTranslate:p,init:E,destroy:k})}function bm(n){let{swiper:e,extendParams:t,on:i}=n;t({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(l,c)=>{const{rtl:u}=e,h=u?-1:1,m=l.getAttribute("data-swiper-parallax")||"0";let p=l.getAttribute("data-swiper-parallax-x"),d=l.getAttribute("data-swiper-parallax-y");const f=l.getAttribute("data-swiper-parallax-scale"),v=l.getAttribute("data-swiper-parallax-opacity"),b=l.getAttribute("data-swiper-parallax-rotate");if(p||d?(p=p||"0",d=d||"0"):e.isHorizontal()?(p=m,d="0"):(d=m,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*c*h}%`:p=`${p*c*h}px`,d.indexOf("%")>=0?d=`${parseInt(d,10)*c}%`:d=`${d*c}px`,typeof v<"u"&&v!==null){const g=v-(v-1)*(1-Math.abs(c));l.style.opacity=g}let w=`translate3d(${p}, ${d}, 0px)`;if(typeof f<"u"&&f!==null){const g=f-(f-1)*(1-Math.abs(c));w+=` scale(${g})`}if(b&&typeof b<"u"&&b!==null){const g=b*c*-1;w+=` rotate(${g}deg)`}l.style.transform=w},a=()=>{const{el:l,slides:c,progress:u,snapGrid:h,isElement:m}=e,p=Je(l,r);e.isElement&&p.push(...Je(e.hostEl,r)),p.forEach(d=>{s(d,u)}),c.forEach((d,f)=>{let v=d.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(f/2)-u*(h.length-1)),v=Math.min(Math.max(v,-1),1),d.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(b=>{s(b,v)})})},o=function(l){l===void 0&&(l=e.params.speed);const{el:c,hostEl:u}=e,h=[...c.querySelectorAll(r)];e.isElement&&h.push(...u.querySelectorAll(r)),h.forEach(m=>{let p=parseInt(m.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(p=0),m.style.transitionDuration=`${p}ms`})};i("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),i("init",()=>{e.params.parallax.enabled&&a()}),i("setTranslate",()=>{e.params.parallax.enabled&&a()}),i("setTransition",(l,c)=>{e.params.parallax.enabled&&o(c)})}function _m(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=_e();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let a=1,o=!1,l=!1,c={x:0,y:0};const u=-3;let h,m;const p=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},v={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let b=1;Object.defineProperty(e.zoom,"scale",{get(){return b},set(B){if(b!==B){const F=d.imageEl,$=d.slideEl;r("zoomChange",B,F,$)}b=B}});function w(){if(p.length<2)return 1;const B=p[0].pageX,F=p[0].pageY,$=p[1].pageX,j=p[1].pageY;return Math.sqrt(($-B)**2+(j-F)**2)}function g(){const B=e.params.zoom,F=d.imageWrapEl.getAttribute("data-swiper-zoom")||B.maxRatio;if(B.limitToOriginalSize&&d.imageEl&&d.imageEl.naturalWidth){const $=d.imageEl.naturalWidth/d.imageEl.offsetWidth;return Math.min($,F)}return F}function y(){if(p.length<2)return{x:null,y:null};const B=d.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-B.x-s.scrollX)/a,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-B.y-s.scrollY)/a]}function _(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function M(B){const F=_();return!!(B.target.matches(F)||e.slides.filter($=>$.contains(B.target)).length>0)}function A(B){const F=`.${e.params.zoom.containerClass}`;return!!(B.target.matches(F)||[...e.hostEl.querySelectorAll(F)].filter($=>$.contains(B.target)).length>0)}function E(B){if(B.pointerType==="mouse"&&p.splice(0,p.length),!M(B))return;const F=e.params.zoom;if(h=!1,m=!1,p.push(B),!(p.length<2)){if(h=!0,d.scaleStart=w(),!d.slideEl){d.slideEl=B.target.closest(`.${e.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=e.slides[e.activeIndex]);let $=d.slideEl.querySelector(`.${F.containerClass}`);if($&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=$,$?d.imageWrapEl=Sr(d.imageEl,`.${F.containerClass}`)[0]:d.imageWrapEl=void 0,!d.imageWrapEl){d.imageEl=void 0;return}d.maxRatio=g()}if(d.imageEl){const[$,j]=y();d.originX=$,d.originY=j,d.imageEl.style.transitionDuration="0ms"}o=!0}}function k(B){if(!M(B))return;const F=e.params.zoom,$=e.zoom,j=p.findIndex(ce=>ce.pointerId===B.pointerId);j>=0&&(p[j]=B),!(p.length<2)&&(m=!0,d.scaleMove=w(),d.imageEl&&($.scale=d.scaleMove/d.scaleStart*a,$.scale>d.maxRatio&&($.scale=d.maxRatio-1+($.scale-d.maxRatio+1)**.5),$.scalece.pointerId===B.pointerId);j>=0&&p.splice(j,1),!(!h||!m)&&(h=!1,m=!1,d.imageEl&&($.scale=Math.max(Math.min($.scale,d.maxRatio),F.minRatio),d.imageEl.style.transitionDuration=`${e.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`,a=$.scale,o=!1,$.scale>1&&d.slideEl?d.slideEl.classList.add(`${F.zoomedSlideClass}`):$.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${F.zoomedSlideClass}`),$.scale===1&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}let D;function S(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function T(){clearTimeout(D),e.touchEventsData.preventTouchMoveFromPointerMove=!0,D=setTimeout(()=>{e.destroyed||S()})}function C(B){const F=e.device;if(!d.imageEl||f.isTouched)return;F.android&&B.cancelable&&B.preventDefault(),f.isTouched=!0;const $=p.length>0?p[0]:B;f.touchesStart.x=$.pageX,f.touchesStart.y=$.pageY}function L(B){const $=B.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!M(B)||!A(B))return;const j=e.zoom;if(!d.imageEl)return;if(!f.isTouched||!d.slideEl){$&&I(B);return}if($){I(B);return}f.isMoved||(f.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,f.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,f.startX=Fo(d.imageWrapEl,"x")||0,f.startY=Fo(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const ce=f.width*j.scale,Qe=f.height*j.scale;if(f.minX=Math.min(d.slideWidth/2-ce/2,0),f.maxX=-f.minX,f.minY=Math.min(d.slideHeight/2-Qe/2,0),f.maxY=-f.minY,f.touchesCurrent.x=p.length>0?p[0].pageX:B.pageX,f.touchesCurrent.y=p.length>0?p[0].pageY:B.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!o){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.xf.touchesStart.x)){f.isTouched=!1,S();return}if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.yf.touchesStart.y)){f.isTouched=!1,S();return}}B.cancelable&&B.preventDefault(),B.stopPropagation(),T(),f.isMoved=!0;const Te=(j.scale-a)/(d.maxRatio-e.params.zoom.minRatio),{originX:J,originY:ne}=d;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+Te*(f.width-J*2),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+Te*(f.height-ne*2),f.currentXf.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentYf.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),v.prevPositionX||(v.prevPositionX=f.touchesCurrent.x),v.prevPositionY||(v.prevPositionY=f.touchesCurrent.y),v.prevTime||(v.prevTime=Date.now()),v.x=(f.touchesCurrent.x-v.prevPositionX)/(Date.now()-v.prevTime)/2,v.y=(f.touchesCurrent.y-v.prevPositionY)/(Date.now()-v.prevTime)/2,Math.abs(f.touchesCurrent.x-v.prevPositionX)<2&&(v.x=0),Math.abs(f.touchesCurrent.y-v.prevPositionY)<2&&(v.y=0),v.prevPositionX=f.touchesCurrent.x,v.prevPositionY=f.touchesCurrent.y,v.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function z(){const B=e.zoom;if(p.length=0,!d.imageEl)return;if(!f.isTouched||!f.isMoved){f.isTouched=!1,f.isMoved=!1;return}f.isTouched=!1,f.isMoved=!1;let F=300,$=300;const j=v.x*F,ce=f.currentX+j,Qe=v.y*$,Se=f.currentY+Qe;v.x!==0&&(F=Math.abs((ce-f.currentX)/v.x)),v.y!==0&&($=Math.abs((Se-f.currentY)/v.y));const Te=Math.max(F,$);f.currentX=ce,f.currentY=Se;const J=f.width*B.scale,ne=f.height*B.scale;f.minX=Math.min(d.slideWidth/2-J/2,0),f.maxX=-f.minX,f.minY=Math.min(d.slideHeight/2-ne/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),d.imageWrapEl.style.transitionDuration=`${Te}ms`,d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function O(){const B=e.zoom;d.slideEl&&e.activeIndex!==e.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),B.scale=1,a=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function I(B){if(a<=1||!d.imageWrapEl||!M(B)||!A(B))return;const F=s.getComputedStyle(d.imageWrapEl).transform,$=new s.DOMMatrix(F);if(!l){l=!0,c.x=B.clientX,c.y=B.clientY,f.startX=$.e,f.startY=$.f,f.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,f.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight;return}const j=(B.clientX-c.x)*u,ce=(B.clientY-c.y)*u,Qe=f.width*a,Se=f.height*a,Te=d.slideWidth,J=d.slideHeight,ne=Math.min(Te/2-Qe/2,0),ye=-ne,Ye=Math.min(J/2-Se/2,0),R=-Ye,Ne=Math.max(Math.min(f.startX+j,ye),ne),ct=Math.max(Math.min(f.startY+ce,R),Ye);d.imageWrapEl.style.transitionDuration="0ms",d.imageWrapEl.style.transform=`translate3d(${Ne}px, ${ct}px, 0)`,c.x=B.clientX,c.y=B.clientY,f.startX=Ne,f.startY=ct,f.currentX=Ne,f.currentY=ct}function N(B){const F=e.zoom,$=e.params.zoom;if(!d.slideEl){B&&B.target&&(d.slideEl=B.target.closest(`.${e.params.slideClass}, swiper-slide`)),d.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Je(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex]);let je=d.slideEl.querySelector(`.${$.containerClass}`);je&&(je=je.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=je,je?d.imageWrapEl=Sr(d.imageEl,`.${$.containerClass}`)[0]:d.imageWrapEl=void 0}if(!d.imageEl||!d.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${$.zoomedSlideClass}`);let j,ce,Qe,Se,Te,J,ne,ye,Ye,R,Ne,ct,Ht,ge,Wt,Qt,ri,Ce;typeof f.touchesStart.x>"u"&&B?(j=B.pageX,ce=B.pageY):(j=f.touchesStart.x,ce=f.touchesStart.y);const ei=a,he=typeof B=="number"?B:null;a===1&&he&&(j=void 0,ce=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0);const kt=g();F.scale=he||kt,a=he||kt,B&&!(a===1&&he)?(ri=d.slideEl.offsetWidth,Ce=d.slideEl.offsetHeight,Qe=Xs(d.slideEl).left+s.scrollX,Se=Xs(d.slideEl).top+s.scrollY,Te=Qe+ri/2-j,J=Se+Ce/2-ce,Ye=d.imageEl.offsetWidth||d.imageEl.clientWidth,R=d.imageEl.offsetHeight||d.imageEl.clientHeight,Ne=Ye*F.scale,ct=R*F.scale,Ht=Math.min(ri/2-Ne/2,0),ge=Math.min(Ce/2-ct/2,0),Wt=-Ht,Qt=-ge,ei>0&&he&&typeof f.currentX=="number"&&typeof f.currentY=="number"?(ne=f.currentX*F.scale/ei,ye=f.currentY*F.scale/ei):(ne=Te*F.scale,ye=J*F.scale),neWt&&(ne=Wt),yeQt&&(ye=Qt)):(ne=0,ye=0),he&&F.scale===1&&(d.originX=0,d.originY=0),f.currentX=ne,f.currentY=ye,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${ne}px, ${ye}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`}function P(){const B=e.zoom,F=e.params.zoom;if(!d.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Je(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex];let $=d.slideEl.querySelector(`.${F.containerClass}`);$&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=$,$?d.imageWrapEl=Sr(d.imageEl,`.${F.containerClass}`)[0]:d.imageWrapEl=void 0}!d.imageEl||!d.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),B.scale=1,a=1,f.currentX=void 0,f.currentY=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${F.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0,e.params.zoom.panOnMouseMove&&(c={x:0,y:0},l&&(l=!1,f.startX=0,f.startY=0)))}function H(B){const F=e.zoom;F.scale&&F.scale!==1?P():N(B)}function G(){const B=e.params.passiveListeners?{passive:!0,capture:!1}:!1,F=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:B,activeListenerWithCapture:F}}function re(){const B=e.zoom;if(B.enabled)return;B.enabled=!0;const{passiveListener:F,activeListenerWithCapture:$}=G();e.wrapperEl.addEventListener("pointerdown",E,F),e.wrapperEl.addEventListener("pointermove",k,$),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.addEventListener(j,x,F)}),e.wrapperEl.addEventListener("pointermove",L,$)}function de(){const B=e.zoom;if(!B.enabled)return;B.enabled=!1;const{passiveListener:F,activeListenerWithCapture:$}=G();e.wrapperEl.removeEventListener("pointerdown",E,F),e.wrapperEl.removeEventListener("pointermove",k,$),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.removeEventListener(j,x,F)}),e.wrapperEl.removeEventListener("pointermove",L,$)}i("init",()=>{e.params.zoom.enabled&&re()}),i("destroy",()=>{de()}),i("touchStart",(B,F)=>{e.zoom.enabled&&C(F)}),i("touchEnd",(B,F)=>{e.zoom.enabled&&z()}),i("doubleTap",(B,F)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&H(F)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&O()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&O()}),Object.assign(e.zoom,{enable:re,disable:de,in:N,out:P,toggle:H})}function Sm(n){let{swiper:e,extendParams:t,on:i}=n;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function r(c,u){const h=function(){let f,v,b;return(w,g)=>{for(v=-1,f=w.length;f-v>1;)b=f+v>>1,w[b]<=g?v=b:f=b;return f}}();this.x=c,this.y=u,this.lastIndex=c.length-1;let m,p;return this.interpolate=function(f){return f?(p=h(this.x,f),m=p-1,(f-this.x[m])*(this.y[p]-this.y[m])/(this.x[p]-this.x[m])+this.y[m]):0},this}function s(c){e.controller.spline=e.params.loop?new r(e.slidesGrid,c.slidesGrid):new r(e.snapGrid,c.snapGrid)}function a(c,u){const h=e.controller.control;let m,p;const d=e.constructor;function f(v){if(v.destroyed)return;const b=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(v),p=-e.controller.spline.interpolate(-b)),(!p||e.params.controller.by==="container")&&(m=(v.maxTranslate()-v.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(m)||!Number.isFinite(m))&&(m=1),p=(b-e.minTranslate())*m+v.minTranslate()),e.params.controller.inverse&&(p=v.maxTranslate()-p),v.updateProgress(p),v.setTranslate(p,e),v.updateActiveIndex(),v.updateSlidesClasses()}if(Array.isArray(h))for(let v=0;v{f.updateAutoHeight()}),Xn(f.wrapperEl,()=>{m&&f.transitionEnd()})))}if(Array.isArray(m))for(p=0;p{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(u=>{if(e.controller.control||(e.controller.control=[]),u&&u.swiper)e.controller.control.push(u.swiper);else if(u){const h=`${e.params.eventsPrefix}init`,m=p=>{e.controller.control.push(p.detail[0]),e.update(),u.removeEventListener(h,m)};u.addEventListener(h,m)}});return}e.controller.control=e.params.controller.control}),i("update",()=>{l()}),i("resize",()=>{l()}),i("observerUpdate",()=>{l()}),i("setTranslate",(c,u,h)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(u,h)}),i("setTransition",(c,u,h)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(u,h)}),Object.assign(e.controller,{setTranslate:a,setTransition:o})}function Tm(n){let{swiper:e,extendParams:t,on:i}=n;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let r=null,s,a,o=new Date().getTime();function l(O){const I=r;I.length!==0&&(I.innerHTML="",I.innerHTML=O)}function c(O){const I=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(O).replace(/x/g,I)}function u(O){O=se(O),O.forEach(I=>{I.setAttribute("tabIndex","0")})}function h(O){O=se(O),O.forEach(I=>{I.setAttribute("tabIndex","-1")})}function m(O,I){O=se(O),O.forEach(N=>{N.setAttribute("role",I)})}function p(O,I){O=se(O),O.forEach(N=>{N.setAttribute("aria-roledescription",I)})}function d(O,I){O=se(O),O.forEach(N=>{N.setAttribute("aria-controls",I)})}function f(O,I){O=se(O),O.forEach(N=>{N.setAttribute("aria-label",I)})}function v(O,I){O=se(O),O.forEach(N=>{N.setAttribute("id",I)})}function b(O,I){O=se(O),O.forEach(N=>{N.setAttribute("aria-live",I)})}function w(O){O=se(O),O.forEach(I=>{I.setAttribute("aria-disabled",!0)})}function g(O){O=se(O),O.forEach(I=>{I.setAttribute("aria-disabled",!1)})}function y(O){if(O.keyCode!==13&&O.keyCode!==32)return;const I=e.params.a11y,N=O.target;if(!(e.pagination&&e.pagination.el&&(N===e.pagination.el||e.pagination.el.contains(O.target))&&!O.target.matches(Mi(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const P=se(e.navigation.prevEl);se(e.navigation.nextEl).includes(N)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(I.lastSlideMessage):l(I.nextSlideMessage)),P.includes(N)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(I.firstSlideMessage):l(I.prevSlideMessage))}e.pagination&&N.matches(Mi(e.params.pagination.bulletClass))&&N.click()}}function _(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:O,prevEl:I}=e.navigation;I&&(e.isBeginning?(w(I),h(I)):(g(I),u(I))),O&&(e.isEnd?(w(O),h(O)):(g(O),u(O)))}function M(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function A(){return M()&&e.params.pagination.clickable}function E(){const O=e.params.a11y;M()&&e.pagination.bullets.forEach(I=>{e.params.pagination.clickable&&(u(I),e.params.pagination.renderBullet||(m(I,"button"),f(I,O.paginationBulletMessage.replace(/\{\{index\}\}/,jn(I)+1)))),I.matches(Mi(e.params.pagination.bulletActiveClass))?I.setAttribute("aria-current","true"):I.removeAttribute("aria-current")})}const k=(O,I,N)=>{u(O),O.tagName!=="BUTTON"&&(m(O,"button"),O.addEventListener("keydown",y)),f(O,N),d(O,I)},x=O=>{a&&a!==O.target&&!a.contains(O.target)&&(s=!0),e.a11y.clicked=!0},D=()=>{s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},S=O=>{o=new Date().getTime()},T=O=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-o<100)return;const I=O.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!I||!e.slides.includes(I))return;a=I;const N=e.slides.indexOf(I)===e.activeIndex,P=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(I);N||P||O.sourceCapabilities&&O.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{s||(e.params.loop?e.slideToLoop(parseInt(I.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(I),0),s=!1)}))},C=()=>{const O=e.params.a11y;O.itemRoleDescriptionMessage&&p(e.slides,O.itemRoleDescriptionMessage),O.slideRole&&m(e.slides,O.slideRole);const I=e.slides.length;O.slideLabelMessage&&e.slides.forEach((N,P)=>{const H=e.params.loop?parseInt(N.getAttribute("data-swiper-slide-index"),10):P,G=O.slideLabelMessage.replace(/\{\{index\}\}/,H+1).replace(/\{\{slidesLength\}\}/,I);f(N,G)})},L=()=>{const O=e.params.a11y;e.el.append(r);const I=e.el;O.containerRoleDescriptionMessage&&p(I,O.containerRoleDescriptionMessage),O.containerMessage&&f(I,O.containerMessage),O.containerRole&&m(I,O.containerRole);const N=e.wrapperEl,P=O.id||N.getAttribute("id")||`swiper-wrapper-${c(16)}`,H=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";v(N,P),b(N,H),C();let{nextEl:G,prevEl:re}=e.navigation?e.navigation:{};G=se(G),re=se(re),G&&G.forEach(B=>k(B,P,O.nextSlideMessage)),re&&re.forEach(B=>k(B,P,O.prevSlideMessage)),A()&&se(e.pagination.el).forEach(F=>{F.addEventListener("keydown",y)}),Ge().addEventListener("visibilitychange",S),e.el.addEventListener("focus",T,!0),e.el.addEventListener("focus",T,!0),e.el.addEventListener("pointerdown",x,!0),e.el.addEventListener("pointerup",D,!0)};function z(){r&&r.remove();let{nextEl:O,prevEl:I}=e.navigation?e.navigation:{};O=se(O),I=se(I),O&&O.forEach(P=>P.removeEventListener("keydown",y)),I&&I.forEach(P=>P.removeEventListener("keydown",y)),A()&&se(e.pagination.el).forEach(H=>{H.removeEventListener("keydown",y)}),Ge().removeEventListener("visibilitychange",S),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",T,!0),e.el.removeEventListener("pointerdown",x,!0),e.el.removeEventListener("pointerup",D,!0))}i("beforeInit",()=>{r=$t("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&L()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&C()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&_()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&E()}),i("destroy",()=>{e.params.a11y.enabled&&z()})}function Em(n){let{swiper:e,extendParams:t,on:i}=n;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,s={};const a=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=p=>{const d=_e();let f;p?f=new URL(p):f=d.location;const v=f.pathname.slice(1).split("/").filter(y=>y!==""),b=v.length,w=v[b-2],g=v[b-1];return{key:w,value:g}},l=(p,d)=>{const f=_e();if(!r||!e.params.history.enabled)return;let v;e.params.url?v=new URL(e.params.url):v=f.location;const b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${d}"]`):e.slides[d];let w=a(b.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),w=`${y}/${p?`${p}/`:""}${w}`}else v.pathname.includes(p)||(w=`${p?`${p}/`:""}${w}`);e.params.history.keepQuery&&(w+=v.search);const g=f.history.state;g&&g.value===w||(e.params.history.replaceState?f.history.replaceState({value:w},null,w):f.history.pushState({value:w},null,w))},c=(p,d,f)=>{if(d)for(let v=0,b=e.slides.length;v{s=o(e.params.url),c(e.params.speed,s.value,!1)},h=()=>{const p=_e();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(r=!0,s=o(e.params.url),!s.key&&!s.value){e.params.history.replaceState||p.addEventListener("popstate",u);return}c(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",u)}},m=()=>{const p=_e();e.params.history.replaceState||p.removeEventListener("popstate",u)};i("init",()=>{e.params.history.enabled&&h()}),i("destroy",()=>{e.params.history.enabled&&m()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{r&&l(e.params.history.key,e.activeIndex)}),i("slideChange",()=>{r&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function xm(n){let{swiper:e,extendParams:t,emit:i,on:r}=n,s=!1;const a=Ge(),o=_e();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(m,p){if(e.virtual&&e.params.virtual.enabled){const d=e.slides.find(v=>v.getAttribute("data-hash")===p);return d?parseInt(d.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Je(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const l=()=>{i("hashChange");const m=a.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],d=p?p.getAttribute("data-hash"):"";if(m!==d){const f=e.params.hashNavigation.getSlideIndex(e,m);if(typeof f>"u"||Number.isNaN(f))return;e.slideTo(f)}},c=()=>{if(!s||!e.params.hashNavigation.enabled)return;const m=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=m?m.getAttribute("data-hash")||m.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?(o.history.replaceState(null,null,`#${p}`||""),i("hashSet")):(a.location.hash=p||"",i("hashSet"))},u=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const m=a.location.hash.replace("#","");if(m){const d=e.params.hashNavigation.getSlideIndex(e,m);e.slideTo(d||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&o.addEventListener("hashchange",l)},h=()=>{e.params.hashNavigation.watchState&&o.removeEventListener("hashchange",l)};r("init",()=>{e.params.hashNavigation.enabled&&u()}),r("destroy",()=>{e.params.hashNavigation.enabled&&h()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{s&&c()}),r("slideChange",()=>{s&&e.params.cssMode&&c()})}function Am(n){let{swiper:e,extendParams:t,on:i,emit:r,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 a,o,l=s&&s.autoplay?s.autoplay.delay:3e3,c=s&&s.autoplay?s.autoplay.delay:3e3,u,h=new Date().getTime(),m,p,d,f,v,b,w;function g(I){!e||e.destroyed||!e.wrapperEl||I.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!(w||I.detail&&I.detail.bySwiperTouchMove)&&x())}const y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(c=u,m=!1);const I=e.autoplay.paused?u:h+c-new Date().getTime();e.autoplay.timeLeft=I,r("autoplayTimeLeft",I,I/l),o=requestAnimationFrame(()=>{y()})},_=()=>{let I;return e.virtual&&e.params.virtual.enabled?I=e.slides.find(P=>P.classList.contains("swiper-slide-active")):I=e.slides[e.activeIndex],I?parseInt(I.getAttribute("data-swiper-autoplay"),10):void 0},M=I=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),y();let N=typeof I>"u"?e.params.autoplay.delay:I;l=e.params.autoplay.delay,c=e.params.autoplay.delay;const P=_();!Number.isNaN(P)&&P>0&&typeof I>"u"&&(N=P,l=P,c=P),u=N;const H=e.params.speed,G=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(H,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,H,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(H,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,H,!0,!0),r("autoplay")),e.params.cssMode&&(h=new Date().getTime(),requestAnimationFrame(()=>{M()})))};return N>0?(clearTimeout(a),a=setTimeout(()=>{G()},N)):requestAnimationFrame(()=>{G()}),N},A=()=>{h=new Date().getTime(),e.autoplay.running=!0,M(),r("autoplayStart")},E=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),r("autoplayStop")},k=(I,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),I||(b=!0);const P=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):x()};if(e.autoplay.paused=!0,N){v&&(u=e.params.autoplay.delay),v=!1,P();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-h),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),P())},x=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(h=new Date().getTime(),b?(b=!1,M(u)):M(),e.autoplay.paused=!1,r("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const I=Ge();I.visibilityState==="hidden"&&(b=!0,k(!0)),I.visibilityState==="visible"&&x()},S=I=>{I.pointerType==="mouse"&&(b=!0,w=!0,!(e.animating||e.autoplay.paused)&&k(!0))},T=I=>{I.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&x())},C=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",T))},L=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",T))},z=()=>{Ge().addEventListener("visibilitychange",D)},O=()=>{Ge().removeEventListener("visibilitychange",D)};i("init",()=>{e.params.autoplay.enabled&&(C(),z(),A())}),i("destroy",()=>{L(),O(),e.autoplay.running&&E()}),i("_freeModeStaticRelease",()=>{(d||b)&&x()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?E():k(!0,!0)}),i("beforeTransitionStart",(I,N,P)=>{e.destroyed||!e.autoplay.running||(P||!e.params.autoplay.disableOnInteraction?k(!0,!0):E())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){E();return}p=!0,d=!1,b=!1,f=setTimeout(()=>{b=!0,d=!0,k(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(f),clearTimeout(a),e.params.autoplay.disableOnInteraction){d=!1,p=!1;return}d&&e.params.cssMode&&x(),d=!1,p=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:A,stop:E,pause:k,resume:x})}function Mm(n){let{swiper:e,extendParams:t,on:i}=n;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,s=!1;e.thumbs={swiper:null};function a(){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const u=c.clickedIndex,h=c.clickedSlide;if(h&&h.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof u>"u"||u===null)return;let m;c.params.loop?m=parseInt(c.clickedSlide.getAttribute("data-swiper-slide-index"),10):m=u,e.params.loop?e.slideToLoop(m):e.slideTo(m)}function o(){const{thumbs:c}=e.params;if(r)return!1;r=!0;const u=e.constructor;if(c.swiper instanceof u){if(c.swiper.destroyed)return r=!1,!1;e.thumbs.swiper=c.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(qn(c.swiper)){const h=Object.assign({},c.swiper);Object.assign(h,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new u(h),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function l(c){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const h=u.params.slidesPerView==="auto"?u.slidesPerViewDynamic():u.params.slidesPerView;let m=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(m=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(m=1),m=Math.floor(m),u.slides.forEach(v=>v.classList.remove(p)),u.params.loop||u.params.virtual&&u.params.virtual.enabled)for(let v=0;v{b.classList.add(p)});else for(let v=0;vy.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);b=u.slides.indexOf(g),w=e.activeIndex>e.previousIndex?"next":"prev"}else b=e.realIndex,w=b>e.previousIndex?"next":"prev";f&&(b+=w==="next"?d:-1*d),u.visibleSlidesIndexes&&u.visibleSlidesIndexes.indexOf(b)<0&&(u.params.centeredSlides?b>v?b=b-Math.floor(h/2)+1:b=b+Math.floor(h/2)-1:b>v&&u.params.slidesPerGroup,u.slideTo(b,c?0:void 0))}}i("beforeInit",()=>{const{thumbs:c}=e.params;if(!(!c||!c.swiper))if(typeof c.swiper=="string"||c.swiper instanceof HTMLElement){const u=Ge(),h=()=>{const p=typeof c.swiper=="string"?u.querySelector(c.swiper):c.swiper;if(p&&p.swiper)c.swiper=p.swiper,o(),l(!0);else if(p){const d=`${e.params.eventsPrefix}init`,f=v=>{c.swiper=v.detail[0],p.removeEventListener(d,f),o(),l(!0),c.swiper.update(),e.update()};p.addEventListener(d,f)}return p},m=()=>{if(e.destroyed)return;h()||requestAnimationFrame(m)};requestAnimationFrame(m)}else o(),l(!0)}),i("slideChange update resize observerUpdate",()=>{l()}),i("setTransition",(c,u)=>{const h=e.thumbs.swiper;!h||h.destroyed||h.setTransition(u)}),i("beforeDestroy",()=>{const c=e.thumbs.swiper;!c||c.destroyed||s&&c.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}function km(n){let{swiper:e,extendParams:t,emit:i,once:r}=n;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function s(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:l,touches:c}=e;l.velocities.length===0&&l.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Kt()})}function o(l){let{currentPos:c}=l;if(e.params.cssMode)return;const{params:u,wrapperEl:h,rtlTranslate:m,snapGrid:p,touchEventsData:d}=e,v=Kt()-d.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length1){const E=d.velocities.pop(),k=d.velocities.pop(),x=E.position-k.position,D=E.time-k.time;e.velocity=x/D,e.velocity/=2,Math.abs(e.velocity)150||Kt()-E.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=u.freeMode.momentumVelocityRatio,d.velocities.length=0;let b=1e3*u.freeMode.momentumRatio;const w=e.velocity*b;let g=e.translate+w;m&&(g=-g);let y=!1,_;const M=Math.abs(e.velocity)*20*u.freeMode.momentumBounceRatio;let A;if(ge.minTranslate())u.freeMode.momentumBounce?(g-e.minTranslate()>M&&(g=e.minTranslate()+M),_=e.minTranslate(),y=!0,d.allowMomentumBounce=!0):g=e.minTranslate(),u.loop&&u.centeredSlides&&(A=!0);else if(u.freeMode.sticky){let E;for(let k=0;k-g){E=k;break}Math.abs(p[E]-g){e.loopFix()}),e.velocity!==0){if(m?b=Math.abs((-g-e.translate)/e.velocity):b=Math.abs((g-e.translate)/e.velocity),u.freeMode.sticky){const E=Math.abs((m?-g:g)-e.translate),k=e.slidesSizesGrid[e.activeIndex];E{!e||e.destroyed||!d.allowMomentumBounce||(i("momentumBounce"),e.setTransition(u.speed),setTimeout(()=>{e.setTranslate(_),Xn(h,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(b),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Xn(h,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(u.freeMode.sticky){e.slideToClosest();return}else u.freeMode&&i("_freeModeNoMomentumRelease");(!u.freeMode.momentum||v>=u.longSwipesMs)&&(i("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:a,onTouchEnd:o}})}function Cm(n){let{swiper:e,extendParams:t,on:i}=n;t({grid:{rows:1,fill:"column"}});let r,s,a,o;const l=()=>{let f=e.params.spaceBetween;return typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*e.size:typeof f=="string"&&(f=parseFloat(f)),f},c=f=>{const{slidesPerView:v}=e.params,{rows:b,fill:w}=e.params.grid,g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:f.length;a=Math.floor(g/b),Math.floor(g/b)===g/b?r=g:r=Math.ceil(g/b)*b,v!=="auto"&&w==="row"&&(r=Math.max(r,v*b)),s=r/b},u=()=>{e.slides&&e.slides.forEach(f=>{f.swiperSlideGridSet&&(f.style.height="",f.style[e.getDirectionLabel("margin-top")]="")})},h=(f,v,b)=>{const{slidesPerGroup:w}=e.params,g=l(),{rows:y,fill:_}=e.params.grid,M=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;let A,E,k;if(_==="row"&&w>1){const x=Math.floor(f/(w*y)),D=f-y*w*x,S=x===0?w:Math.min(Math.ceil((M-x*y*w)/y),w);k=Math.floor(D/S),E=D-k*S+x*w,A=E+k*r/y,v.style.order=A}else _==="column"?(E=Math.floor(f/y),k=f-E*y,(E>a||E===a&&k===y-1)&&(k+=1,k>=y&&(k=0,E+=1))):(k=Math.floor(f/s),E=f-k*s);v.row=k,v.column=E,v.style.height=`calc((100% - ${(y-1)*g}px) / ${y})`,v.style[e.getDirectionLabel("margin-top")]=k!==0?g&&`${g}px`:"",v.swiperSlideGridSet=!0},m=(f,v)=>{const{centeredSlides:b,roundLengths:w}=e.params,g=l(),{rows:y}=e.params.grid;if(e.virtualSize=(f+g)*r,e.virtualSize=Math.ceil(e.virtualSize/y)-g,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+g}px`),b){const _=[];for(let M=0;M{o=e.params.grid&&e.params.grid.rows>1},d=()=>{const{params:f,el:v}=e,b=f.grid&&f.grid.rows>1;o&&!b?(v.classList.remove(`${f.containerModifierClass}grid`,`${f.containerModifierClass}grid-column`),a=1,e.emitContainerClasses()):!o&&b&&(v.classList.add(`${f.containerModifierClass}grid`),f.grid.fill==="column"&&v.classList.add(`${f.containerModifierClass}grid-column`),e.emitContainerClasses()),o=b};i("init",p),i("update",d),e.grid={initSlides:c,unsetSlides:u,updateSlide:h,updateWrapperSize:m}}function Pm(n){const e=this,{params:t,slidesEl:i}=e;t.loop&&e.loopDestroy();const r=s=>{if(typeof s=="string"){const a=document.createElement("div");a.innerHTML=s,i.append(a.children[0]),a.innerHTML=""}else i.append(s)};if(typeof n=="object"&&"length"in n)for(let s=0;s{if(typeof o=="string"){const l=document.createElement("div");l.innerHTML=o,r.prepend(l.children[0]),l.innerHTML=""}else r.prepend(o)};if(typeof n=="object"&&"length"in n){for(let o=0;o=o){t.appendSlide(e);return}let l=a>n?a+1:a;const c=[];for(let u=o-1;u>=n;u-=1){const h=t.slides[u];h.remove(),c.unshift(h)}if(typeof e=="object"&&"length"in e){for(let u=0;un?a+e.length:a}else s.append(e);for(let u=0;u{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),o&&o()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const h=a?a():{};Object.assign(t.params,h),Object.assign(t.originalParams,h)}),i("setTranslate",()=>{t.params.effect===e&&r()}),i("setTransition",(h,m)=>{t.params.effect===e&&s(m)}),i("transitionEnd",()=>{if(t.params.effect===e&&l){if(!c||!c().slideShadows)return;t.slides.forEach(h=>{h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>m.remove())}),l()}});let u;i("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(u=!0),requestAnimationFrame(()=>{u&&t.slides&&t.slides.length&&(r(),u=!1)}))})}function Un(n,e){const t=_r(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function Ks(n){let{swiper:e,duration:t,transformElements:i,allSlides:r}=n;const{activeIndex:s}=e,a=o=>o.parentElement?o.parentElement:e.slides.find(c=>c.shadowRoot&&c.shadowRoot===o.parentNode);if(e.params.virtualTranslate&&t!==0){let o=!1,l;r?l=i:l=i.filter(c=>{const u=c.classList.contains("swiper-slide-transform")?a(c):c;return e.getSlideIndex(u)===s}),l.forEach(c=>{Xn(c,()=>{if(o||!e||e.destroyed)return;o=!0,e.animating=!1;const u=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(u)})})}}function Rm(n){let{swiper:e,extendParams:t,on:i}=n;t({fadeEffect:{crossFade:!1}}),tn({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:a}=e,o=e.params.fadeEffect;for(let l=0;l{const o=e.slides.map(l=>_r(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`}),Ks({swiper:e,duration:a,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Nm(n){let{swiper:e,extendParams:t,on:i}=n;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(l,c,u)=>{let h=u?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),m=u?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");h||(h=$t("div",`swiper-slide-shadow-cube swiper-slide-shadow-${u?"left":"top"}`.split(" ")),l.append(h)),m||(m=$t("div",`swiper-slide-shadow-cube swiper-slide-shadow-${u?"right":"bottom"}`.split(" ")),l.append(m)),h&&(h.style.opacity=Math.max(-c,0)),m&&(m.style.opacity=Math.max(c,0))};tn({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{el:l,wrapperEl:c,slides:u,width:h,height:m,rtlTranslate:p,size:d,browser:f}=e,v=Us(e),b=e.params.cubeEffect,w=e.isHorizontal(),g=e.virtual&&e.params.virtual.enabled;let y=0,_;b.shadow&&(w?(_=e.wrapperEl.querySelector(".swiper-cube-shadow"),_||(_=$t("div","swiper-cube-shadow"),e.wrapperEl.append(_)),_.style.height=`${h}px`):(_=l.querySelector(".swiper-cube-shadow"),_||(_=$t("div","swiper-cube-shadow"),l.append(_))));for(let A=0;A-1&&(y=k*90+S*90,p&&(y=-k*90-S*90)),E.style.transform=z,b.slideShadows&&r(E,S,w)}if(c.style.transformOrigin=`50% 50% -${d/2}px`,c.style["-webkit-transform-origin"]=`50% 50% -${d/2}px`,b.shadow)if(w)_.style.transform=`translate3d(0px, ${h/2+b.shadowOffset}px, ${-h/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${b.shadowScale})`;else{const A=Math.abs(y)-Math.floor(Math.abs(y)/90)*90,E=1.5-(Math.sin(A*2*Math.PI/360)/2+Math.cos(A*2*Math.PI/360)/2),k=b.shadowScale,x=b.shadowScale/E,D=b.shadowOffset;_.style.transform=`scale3d(${k}, 1, ${x}) translate3d(0px, ${m/2+D}px, ${-m/2/x}px) rotateX(-89.99deg)`}const M=(f.isSafari||f.isWebView)&&f.needPerspectiveFix?-d/2:0;c.style.transform=`translate3d(0px,0,${M}px) rotateX(${v(e.isHorizontal()?0:y)}deg) rotateY(${v(e.isHorizontal()?-y:0)}deg)`,c.style.setProperty("--swiper-cube-translate-z",`${M}px`)},setTransition:l=>{const{el:c,slides:u}=e;if(u.forEach(h=>{h.style.transitionDuration=`${l}ms`,h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>{m.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const h=c.querySelector(".swiper-cube-shadow");h&&(h.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{const l=e.isHorizontal();e.slides.forEach(c=>{const u=Math.max(Math.min(c.progress,1),-1);r(c,u,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function rn(n,e,t){const i=`swiper-slide-shadow${t?`-${t}`:""}${n?` swiper-slide-shadow-${n}`:""}`,r=_r(e);let s=r.querySelector(`.${i.split(" ").join(".")}`);return s||(s=$t("div",i.split(" ")),r.append(s)),s}function Fm(n){let{swiper:e,extendParams:t,on:i}=n;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(l,c)=>{let u=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),h=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");u||(u=rn("flip",l,e.isHorizontal()?"left":"top")),h||(h=rn("flip",l,e.isHorizontal()?"right":"bottom")),u&&(u.style.opacity=Math.max(-c,0)),h&&(h.style.opacity=Math.max(c,0))};tn({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:l,rtlTranslate:c}=e,u=e.params.flipEffect,h=Us(e);for(let m=0;m{const c=e.slides.map(u=>_r(u));c.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(h=>{h.style.transitionDuration=`${l}ms`})}),Ks({swiper:e,duration:l,transformElements:c})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let c=l.progress;e.params.flipEffect.limitRotation&&(c=Math.max(Math.min(l.progress,1),-1)),r(l,c)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Bm(n){let{swiper:e,extendParams:t,on:i}=n;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),tn({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:a,height:o,slides:l,slidesSizesGrid:c}=e,u=e.params.coverflowEffect,h=e.isHorizontal(),m=e.translate,p=h?-m+a/2:-m+o/2,d=h?u.rotate:-u.rotate,f=u.depth,v=Us(e);for(let b=0,w=l.length;b0?A:0),I&&(I.style.opacity=-A>0?-A:0)}}},setTransition:a=>{e.slides.map(l=>_r(l)).forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(c=>{c.style.transitionDuration=`${a}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function $m(n){let{swiper:e,extendParams:t,on:i}=n;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=o=>typeof o=="string"?o:`${o}px`;tn({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:o,wrapperEl:l,slidesSizesGrid:c}=e,u=e.params.creativeEffect,{progressMultiplier:h}=u,m=e.params.centeredSlides,p=Us(e);if(m){const d=c[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${d}px))`}for(let d=0;d0&&(A=u.prev,M=!0),y.forEach((C,L)=>{y[L]=`calc(${C}px + (${r(A.translate[L])} * ${Math.abs(b*h)}))`}),_.forEach((C,L)=>{let z=A.rotate[L]*Math.abs(b*h);_[L]=z}),f.style.zIndex=-Math.abs(Math.round(v))+o.length;const E=y.join(", "),k=`rotateX(${p(_[0])}deg) rotateY(${p(_[1])}deg) rotateZ(${p(_[2])}deg)`,x=w<0?`scale(${1+(1-A.scale)*w*h})`:`scale(${1-(1-A.scale)*w*h})`,D=w<0?1+(1-A.opacity)*w*h:1-(1-A.opacity)*w*h,S=`translate3d(${E}) ${k} ${x}`;if(M&&A.shadow||!M){let C=f.querySelector(".swiper-slide-shadow");if(!C&&A.shadow&&(C=rn("creative",f)),C){const L=u.shadowPerProgress?b*(1/u.limitProgress):b;C.style.opacity=Math.min(Math.max(Math.abs(L),0),1)}}const T=Un(u,f);T.style.transform=S,T.style.opacity=D,A.origin&&(T.style.transformOrigin=A.origin)}},setTransition:o=>{const l=e.slides.map(c=>_r(c));l.forEach(c=>{c.style.transitionDuration=`${o}ms`,c.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${o}ms`})}),Ks({swiper:e,duration:o,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Ym(n){let{swiper:e,extendParams:t,on:i}=n;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),tn({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:a,activeIndex:o,rtlTranslate:l}=e,c=e.params.cardsEffect,{startTranslate:u,isTouched:h}=e.touchEventsData,m=l?-e.translate:e.translate;for(let p=0;p0&&v<1&&(h||e.params.cssMode)&&m-1&&(h||e.params.cssMode)&&m>u;if(k||x){const C=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;M+=-28*v*C,_+=-.5*C,A+=96*C,g=`${-25*C*Math.abs(v)}%`}if(v<0?w=`calc(${w}px ${l?"-":"+"} (${A*Math.abs(v)}%))`:v>0?w=`calc(${w}px ${l?"-":"+"} (-${A*Math.abs(v)}%))`:w=`${w}px`,!e.isHorizontal()){const C=g;g=w,w=C}const D=v<0?`${1+(1-_)*v}`:`${1-(1-_)*v}`,S=` translate3d(${w}, ${g}, ${y}px) rotateZ(${c.rotate?l?-M:M:0}deg) scale(${D}) `;if(c.slideShadows){let C=d.querySelector(".swiper-slide-shadow");C||(C=rn("cards",d)),C&&(C.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(f))+a.length;const T=Un(c,d);T.style.transform=S}},setTransition:a=>{const o=e.slides.map(l=>_r(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${a}ms`})}),Ks({swiper:e,duration:a,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:3,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}const Hm=[hm,mm,gm,vm,wm,ym,bm,_m,Sm,Tm,Em,xm,Am,Mm,km,Cm,zm,Rm,Nm,Fm,Bm,$m,Ym];Yt.use(Hm);class Wm{constructor(e={}){this.instances=[],this.globalOptions=e,this.defaultConfig={slidesPerView:1.2,spaceBetween:20,breakpoints:{480:{slidesPerView:1.2},768:{slidesPerView:2.2},1024:{slidesPerView:3.2},1280:{slidesPerView:3.8}}}}init(){return document.querySelectorAll('[data-swiper="container"]').forEach(e=>{const t=this.createSwiperInstance(e);t&&this.instances.push(t)}),this.instances}createSwiperInstance(e){const t=e.querySelector('[data-swiper="main"]');if(!t)return null;try{const i=this.parseConfigFromAttributes(e,t);return new Yt(t,i)}catch(i){return console.error("Swiper initialization error:",i),null}}parseConfigFromAttributes(e,t){const i={slidesPerView:this.getDataAttribute(t,"slides-per-view",this.defaultConfig.slidesPerView),spaceBetween:this.getDataAttribute(t,"space-between",this.defaultConfig.spaceBetween),loop:this.getDataAttribute(t,"loop",!1),autoplay:this.parseAutoplay(t),effect:this.getDataAttribute(t,"effect","slide")},r=e.querySelector('[data-swiper="button-next"]'),s=e.querySelector('[data-swiper="button-prev"]');(r||s)&&(i.navigation={nextEl:r,prevEl:s});const a=e.querySelector('[data-swiper="pagination"]');a&&(i.pagination={el:a,clickable:this.getDataAttribute(a,"clickable",!0),dynamicBullets:this.getDataAttribute(a,"dynamic-bullets",!1),type:this.getDataAttribute(a,"type","bullets")});const o=e.querySelector('[data-swiper="scrollbar"]');o&&(i.scrollbar={el:o,draggable:this.getDataAttribute(o,"draggable",!0),hide:this.getDataAttribute(o,"hide",!1)}),i.breakpoints=this.parseBreakpoints(t);const l={...this.defaultConfig};return i.breakpoints&&Object.keys(i.breakpoints).length>0&&delete l.breakpoints,{...l,...i,...this.globalOptions}}parseAutoplay(e){return this.getDataAttribute(e,"autoplay",!1)?{delay:this.getDataAttribute(e,"autoplay-delay",3e3),disableOnInteraction:this.getDataAttribute(e,"autoplay-disable-on-interaction",!0),pauseOnMouseEnter:this.getDataAttribute(e,"autoplay-pause-on-mouse-enter",!1)}:!1}parseBreakpoints(e){const t={480:{slidesPerView:1.2},768:{slidesPerView:2.2},1024:{slidesPerView:3.2},1280:{slidesPerView:3.8}},i=this.getDataAttribute(e,"use-default-breakpoints",!0),r=i?{...t}:{};return[480,768,1024,1280].forEach(a=>{const o=this.getDataAttribute(e,`slides-per-view-${a}`,null),l=this.getDataAttribute(e,`space-between-${a}`,null);(o!==null||l!==null)&&(r[a]||(r[a]={}),o!==null&&(r[a].slidesPerView=o),l!==null&&(r[a].spaceBetween=l))}),i||Object.keys(r).length>0?r:null}getDataAttribute(e,t,i){const r=`data-swiper-${t}`;if(!e.hasAttribute(r))return i;const s=e.getAttribute(r);return s==="true"?!0:s==="false"?!1:s==="null"?null:!isNaN(s)&&s!==""?Number(s):s}destroy(){this.instances.forEach(e=>{e&&typeof e.destroy=="function"&&e.destroy()}),this.instances=[]}}function Zn(n={}){return new Wm(n).init()}function Vm(){Zp(),Zn()}ue.registerPlugin(K);const qm=()=>{const n=document.querySelector('[hero-image-reveal="wrapper"]'),e=document.querySelector('[hero-image-reveal="middle"]'),t=document.querySelector('[hero-image-reveal="left"]'),i=document.querySelector('[hero-image-reveal="right"]'),r=document.querySelectorAll('[hero-image-reveal="img"]'),s=document.querySelector('[hero-image-reveal="scroll"]'),a=document.querySelector('[hero-image-reveal="marquee"]');ue.timeline({scrollTrigger:{trigger:n,start:"top 0%",end:"top -=100%",scrub:1.2,markers:!1}}).fromTo(r,{scale:1.1},{scale:1,duration:1.8,ease:"power2.out"},"<").to(s,{yPercent:100,duration:1.8,ease:"power2.out"},"<").fromTo(a,{opacity:0,yPercent:100},{opacity:1,yPercent:0,duration:1.8,ease:"power2.out"},"<").fromTo(e,{scale:.95,yPercent:6.5},{scale:1,yPercent:0,duration:1.8,ease:"power2.out"},"<").fromTo(t,{xPercent:0,scale:.9,rotate:"0deg"},{xPercent:-60,duration:1.5,rotate:"-10deg",ease:"power2.out"},"<").fromTo(i,{xPercent:0,scale:.9,rotate:"0deg"},{xPercent:60,scale:1,rotate:"10deg",duration:1.5,ease:"power2.out"},"<")},Gm=()=>{qm()};function jm(){Vm(),Gm()}function Xm(){console.log("About Component Animation Starter Initialized")}function Um(){Xm()}/*! @vimeo/player v2.26.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Hu(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,i)}return t}function Wu(n){for(var e=1;e=0;--L){var z=this.tryEntries[L],O=z.completion;if(z.tryLoc==="root")return C("end");if(z.tryLoc<=this.prev){var I=t.call(z,"catchLoc"),N=t.call(z,"finallyLoc");if(I&&N){if(this.prev=0;--C){var L=this.tryEntries[C];if(L.tryLoc<=this.prev&&t.call(L,"finallyLoc")&&this.prev=0;--T){var C=this.tryEntries[T];if(C.finallyLoc===S)return this.complete(C.completion,C.afterLoc),E(C),h}},catch:function(S){for(var T=this.tryEntries.length-1;T>=0;--T){var C=this.tryEntries[T];if(C.tryLoc===S){var L=C.completion;if(L.type==="throw"){var z=L.arg;E(C)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(S,T,C){return this.delegate={iterator:x(S),resultName:T,nextLoc:C},this.method==="next"&&(this.arg=void 0),h}},n}function Vu(n,e,t,i,r,s,a){try{var o=n[s](a),l=o.value}catch(c){t(c);return}o.done?e(l):Promise.resolve(l).then(i,r)}function Tr(n){return function(){var e=this,t=arguments;return new Promise(function(i,r){var s=n.apply(e,t);function a(l){Vu(s,i,r,a,o,"next",l)}function o(l){Vu(s,i,r,a,o,"throw",l)}a(void 0)})}}function qu(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Zm(n,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Qs(n,e,t){return ju()?Qs=Reflect.construct.bind():Qs=function(r,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(r,o),c=new l;return a&&Jn(c,a.prototype),c},Qs.apply(null,arguments)}function Jm(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function Uo(n){var e=typeof Map=="function"?new Map:void 0;return Uo=function(i){if(i===null||!Jm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,r)}function r(){return Qs(i,arguments,Kn(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Jn(r,i)},Uo(n)}function ea(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Qm(n,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ea(n)}function eg(n){var e=ju();return function(){var i=Kn(n),r;if(e){var s=Kn(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Qm(this,r)}}function tg(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function Xu(n){var e=tg(n,"string");return typeof e=="symbol"?e:String(e)}var Uu=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Zu(n,e){return n.indexOf(e.toLowerCase())===0?n:"".concat(e.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function ig(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function rg(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function Er(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function Ku(n){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(n)}function ng(n){for(var e=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),i=[".videoji.hk",".vimeo.work",".videoji.cn"],r=0,s=i;r0&&arguments[0]!==void 0?arguments[0]:{},e=n.id,t=n.url,i=e||t;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(rg(i))return"https://vimeo.com/".concat(i);if(Er(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var Qu=function(e,t,i){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",a=typeof t=="string"?[t]:t;return a.forEach(function(o){e[r](o,i)}),{cancel:function(){return a.forEach(function(l){return e[s](l,i)})}}},sg=typeof Array.prototype.indexOf<"u",ag=typeof window<"u"&&typeof window.postMessage<"u";if(!Uu&&(!sg||!ag))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var nn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function og(n,e){return e={exports:{}},n(e,e.exports),e.exports}/*! * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill * https://github.com/polygonplanet/weakmap-polyfill * Copyright (c) 2015-2021 polygonplanet * @license MIT */(function(n){if(n.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),i=function(s,a,o){t?Object.defineProperty(s,a,{configurable:!0,writable:!0,value:o}):s[a]=o};n.WeakMap=function(){function s(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(i(this,"_id",o("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}i(s.prototype,"delete",function(c){if(a(this,"delete"),!r(c))return!1;var u=c[this._id];return u&&u[0]===c?(delete c[this._id],!0):!1}),i(s.prototype,"get",function(c){if(a(this,"get"),!!r(c)){var u=c[this._id];if(u&&u[0]===c)return u[1]}}),i(s.prototype,"has",function(c){if(a(this,"has"),!r(c))return!1;var u=c[this._id];return!!(u&&u[0]===c)}),i(s.prototype,"set",function(c,u){if(a(this,"set"),!r(c))throw new TypeError("Invalid value used as weak map key");var h=c[this._id];return h&&h[0]===c?(h[1]=u,this):(i(c,this._id,[c,u]),this)});function a(c,u){if(!r(c)||!e.call(c,"_id"))throw new TypeError(u+" method called on incompatible receiver "+typeof c)}function o(c){return c+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return i(s,"_polyfill",!0),s}();function r(s){return Object(s)===s}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:nn);var Jt=og(function(n){/*! Native Promise Only v0.8.1 (c) Kyle Simpson MIT License: http://getify.mit-license.org */(function(t,i,r){i[t]=i[t]||r(),n.exports&&(n.exports=i[t])})("Promise",nn,function(){var t,i,r,s=Object.prototype.toString,a=typeof setImmediate<"u"?function(g){return setImmediate(g)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(g,y,_,M){return Object.defineProperty(g,y,{value:_,writable:!0,configurable:M!==!1})}}catch{t=function(y,_,M){return y[_]=M,y}}r=function(){var g,y,_;function M(A,E){this.fn=A,this.self=E,this.next=void 0}return{add:function(E,k){_=new M(E,k),y?y.next=_:g=_,y=_,_=void 0},drain:function(){var E=g;for(g=y=i=void 0;E;)E.fn.call(E.self),E=E.next}}}();function o(w,g){r.add(w,g),i||(i=a(r.drain))}function l(w){var g,y=typeof w;return w!=null&&(y=="object"||y=="function")&&(g=w.then),typeof g=="function"?g:!1}function c(){for(var w=0;w0&&o(c,y))}catch(_){m.call(new d(y),_)}}}function m(w){var g=this;g.triggered||(g.triggered=!0,g.def&&(g=g.def),g.msg=w,g.state=2,g.chain.length>0&&o(c,g))}function p(w,g,y,_){for(var M=0;M=8&&r<10&&(i=JSON.stringify(i)),n.element.contentWindow.postMessage(i,n.origin)}}function ug(n,e){e=ra(e);var t=[],i;if(e.event){if(e.event==="error"){var r=ta(n,e.data.method);r.forEach(function(a){var o=new Error(e.data.message);o.name=e.data.name,a.reject(o),ia(n,e.data.method,a)})}t=ta(n,"event:".concat(e.event)),i=e.data}else if(e.method){var s=lg(n,e.method);s&&(t.push(s),i=e.value)}t.forEach(function(a){try{if(typeof a=="function"){a.call(n,i);return}a.resolve(i)}catch{}})}var dg=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function ed(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return dg.reduce(function(t,i){var r=n.getAttribute("data-vimeo-".concat(i));return(r||r==="")&&(t[i]=r===""?1:r),t},e)}function Zo(n,e){var t=n.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var i=document.createElement("div");return i.innerHTML=t,e.appendChild(i.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function td(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(i,r){if(!Er(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var s=ng(n),a="https://".concat(s,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var o in e)e.hasOwnProperty(o)&&(a+="&".concat(o,"=").concat(encodeURIComponent(e[o])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",a,!0),l.onload=function(){if(l.status===404){r(new Error("“".concat(n,"” was not found.")));return}if(l.status===403){r(new Error("“".concat(n,"” is not embeddable.")));return}try{var c=JSON.parse(l.responseText);if(c.domain_status_code===403){Zo(c,t),r(new Error("“".concat(n,"” is not embeddable.")));return}i(c)}catch(u){r(u)}},l.onerror=function(){var c=l.status?" (".concat(l.status,")"):"";r(new Error("There was an error fetching the embed code from Vimeo".concat(c,".")))},l.send()})}function fg(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(r){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(r))};e.forEach(function(i){try{if(i.getAttribute("data-vimeo-defer")!==null)return;var r=ed(i),s=Ju(r);td(s,r,i).then(function(a){return Zo(a,i)}).catch(t)}catch(a){t(a)}})}function pg(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(i){if(Er(i.origin)&&!(!i.data||i.data.event!=="spacechange")){for(var r=n.querySelectorAll("iframe"),s=0;s0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(i){if(Er(i.origin)){var r=ra(i.data);if(!(!r||r.event!=="ready"))for(var s=n.querySelectorAll("iframe"),a=0;a0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(r){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(r))},t=function(r){if(Er(r.origin)){var s=ra(r.data);if(!(!s||s.event!=="ready"))for(var a=n.querySelectorAll("iframe"),o=function(){var u=a[l],h=u.contentWindow===r.source;if(Ku(u.src)&&h){var m=new na(u);m.getVideoId().then(function(p){var d=new RegExp("[?&]vimeo_t_".concat(p,"=([^&#]*)")).exec(window.location.href);if(d&&d[1]){var f=decodeURI(d[1]);m.setCurrentTime(f)}}).catch(e)}},l=0;l2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;return qu(this,t),s=e.call(this),Js(ea(s),"logger",void 0),Js(ea(s),"speedAdjustment",0),Js(ea(s),"adjustSpeed",function(){var l=Tr(bt().mark(function c(u,h){var m;return bt().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(s.speedAdjustment!==h){d.next=2;break}return d.abrupt("return");case 2:return d.next=4,u.getPlaybackRate();case 4:return d.t0=d.sent,d.t1=s.speedAdjustment,d.t2=d.t0-d.t1,d.t3=h,m=d.t2+d.t3,s.log("New playbackRate: ".concat(m)),d.next=12,u.setPlaybackRate(m);case 12:s.speedAdjustment=h;case 13:case"end":return d.stop()}},c)}));return function(c,u){return l.apply(this,arguments)}}()),s.logger=o,s.init(r,i,Wu(Wu({},vg),a)),s}return Gu(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var i=Tr(bt().mark(function s(a,o,l){var c=this,u,h,m;return bt().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,this.waitForTOReadyState(a,"open");case 2:if(l.role!=="viewer"){d.next=10;break}return d.next=5,this.updatePlayer(a,o,l);case 5:u=Qu(a,"change",function(){return c.updatePlayer(a,o,l)}),h=this.maintainPlaybackPosition(a,o,l),this.addEventListener("disconnect",function(){h.cancel(),u.cancel()}),d.next=14;break;case 10:return d.next=12,this.updateTimingObject(a,o);case 12:m=Qu(o,["seeked","play","pause","ratechange"],function(){return c.updateTimingObject(a,o)},"on","off"),this.addEventListener("disconnect",function(){return m.cancel()});case 14:case"end":return d.stop()}},s,this)}));function r(s,a,o){return i.apply(this,arguments)}return r}()},{key:"updateTimingObject",value:function(){var i=Tr(bt().mark(function s(a,o){return bt().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.t0=a,c.next=3,o.getCurrentTime();case 3:return c.t1=c.sent,c.next=6,o.getPaused();case 6:if(!c.sent){c.next=10;break}c.t2=0,c.next=13;break;case 10:return c.next=12,o.getPlaybackRate();case 12:c.t2=c.sent;case 13:c.t3=c.t2,c.t4={position:c.t1,velocity:c.t3},c.t0.update.call(c.t0,c.t4);case 16:case"end":return c.stop()}},s)}));function r(s,a){return i.apply(this,arguments)}return r}()},{key:"updatePlayer",value:function(){var i=Tr(bt().mark(function s(a,o,l){var c,u,h;return bt().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(c=a.query(),u=c.position,h=c.velocity,typeof u=="number"&&o.setCurrentTime(u),typeof h!="number"){p.next=25;break}if(h!==0){p.next=11;break}return p.next=6,o.getPaused();case 6:if(p.t0=p.sent,p.t0!==!1){p.next=9;break}o.pause();case 9:p.next=25;break;case 11:if(!(h>0)){p.next=25;break}return p.next=14,o.getPaused();case 14:if(p.t1=p.sent,p.t1!==!0){p.next=19;break}return p.next=18,o.play().catch(function(){var d=Tr(bt().mark(function f(v){return bt().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(!(v.name==="NotAllowedError"&&l.autoPlayMuted)){w.next=5;break}return w.next=3,o.setMuted(!0);case 3:return w.next=5,o.play().catch(function(g){return console.error("Couldn't play the video from TimingSrcConnector. Error:",g)});case 5:case"end":return w.stop()}},f)}));return function(f){return d.apply(this,arguments)}}());case 18:this.updatePlayer(a,o,l);case 19:return p.next=21,o.getPlaybackRate();case 21:if(p.t2=p.sent,p.t3=h,p.t2===p.t3){p.next=25;break}o.setPlaybackRate(h);case 25:case"end":return p.stop()}},s,this)}));function r(s,a,o){return i.apply(this,arguments)}return r}()},{key:"maintainPlaybackPosition",value:function(r,s,a){var o=this,l=a.allowedDrift,c=a.maxAllowedDrift,u=a.minCheckInterval,h=a.maxRateAdjustment,m=a.maxTimeToCatchUp,p=Math.min(m,Math.max(u,c))*1e3,d=function(){var v=Tr(bt().mark(function b(){var w,g,y,_,M;return bt().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(E.t0=r.query().velocity===0,E.t0){E.next=6;break}return E.next=4,s.getPaused();case 4:E.t1=E.sent,E.t0=E.t1===!0;case 6:if(!E.t0){E.next=8;break}return E.abrupt("return");case 8:return E.t2=r.query().position,E.next=11,s.getCurrentTime();case 11:if(E.t3=E.sent,w=E.t2-E.t3,g=Math.abs(w),o.log("Drift: ".concat(w)),!(g>c)){E.next=22;break}return E.next=18,o.adjustSpeed(s,0);case 18:s.setCurrentTime(r.query().position),o.log("Resync by currentTime"),E.next=29;break;case 22:if(!(g>l)){E.next=29;break}return y=g/m,_=h,M=y<_?(_-y)/2:_,E.next=28,o.adjustSpeed(s,M*Math.sign(w));case 28:o.log("Resync by playbackRate");case 29:case"end":return E.stop()}},b)}));return function(){return v.apply(this,arguments)}}(),f=setInterval(function(){return d()},p);return{cancel:function(){return clearInterval(f)}}}},{key:"log",value:function(r){var s;(s=this.logger)===null||s===void 0||s.call(this,"TimingSrcConnector: ".concat(r))}},{key:"waitForTOReadyState",value:function(r,s){return new Promise(function(a){var o=function l(){r.readyState===s?a():r.addEventListener("readystatechange",l,{once:!0})};o()})}}]),t}(Uo(EventTarget)),sn=new WeakMap,Ko=new WeakMap,Mt={},na=function(){function n(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(qu(this,n),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!ig(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var r=e.querySelector("iframe");r&&(e=r)}if(e.nodeName==="IFRAME"&&!Er(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(sn.has(e))return sn.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var s=new Jt(function(o,l){if(t._onMessage=function(h){if(!(!Er(h.origin)||t.element.contentWindow!==h.source)){t.origin==="*"&&(t.origin=h.origin);var m=ra(h.data),p=m&&m.event==="error",d=p&&m.data&&m.data.method==="ready";if(d){var f=new Error(m.data.message);f.name=m.data.name,l(f);return}var v=m&&m.event==="ready",b=m&&m.method==="ping";if(v||b){t.element.setAttribute("data-ready","true"),o();return}ug(t,m)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var c=ed(e,i),u=Ju(c);td(u,c,e).then(function(h){var m=Zo(h,e);return t.element=m,t._originalElement=e,cg(e,m),sn.set(t.element,t),h}).catch(l)}});if(Ko.set(this,s),sn.set(this.element,this),this.element.nodeName==="IFRAME"&&xr(this,"ping"),Mt.isEnabled){var a=function(){return Mt.exit()};this.fullscreenchangeHandler=function(){Mt.isFullscreen?Qn(t,"event:exitFullscreen",a):ia(t,"event:exitFullscreen",a),t.ready().then(function(){xr(t,"fullscreenchange",Mt.isFullscreen)})},Mt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Gu(n,[{key:"callMethod",value:function(t){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Jt(function(s,a){return i.ready().then(function(){Qn(i,t,{resolve:s,reject:a}),xr(i,t,r)}).catch(a)})}},{key:"get",value:function(t){var i=this;return new Jt(function(r,s){return t=Zu(t,"get"),i.ready().then(function(){Qn(i,t,{resolve:r,reject:s}),xr(i,t)}).catch(s)})}},{key:"set",value:function(t,i){var r=this;return new Jt(function(s,a){if(t=Zu(t,"set"),i==null)throw new TypeError("There must be a value to set.");return r.ready().then(function(){Qn(r,t,{resolve:s,reject:a}),xr(r,t,i)}).catch(a)})}},{key:"on",value:function(t,i){if(!t)throw new TypeError("You must pass an event name.");if(!i)throw new TypeError("You must pass a callback function.");if(typeof i!="function")throw new TypeError("The callback must be a function.");var r=ta(this,"event:".concat(t));r.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Qn(this,"event:".concat(t),i)}},{key:"off",value:function(t,i){if(!t)throw new TypeError("You must pass an event name.");if(i&&typeof i!="function")throw new TypeError("The callback must be a function.");var r=ia(this,"event:".concat(t),i);r&&this.callMethod("removeEventListener",t).catch(function(s){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=Ko.get(this)||new Jt(function(i,r){r(new Error("Unknown player. Probably unloaded."))});return Jt.resolve(t)}},{key:"addCuePoint",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:i})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,i){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:i})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Mt.isEnabled?Mt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Mt.isEnabled?Mt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Mt.isEnabled?Jt.resolve(Mt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new Jt(function(i){if(Ko.delete(t),sn.delete(t.element),t._originalElement&&(sn.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var r=t.element.querySelector("iframe");r&&r.parentNode&&(r.parentNode.parentNode&&t._originalElement&&t._originalElement!==r.parentNode?r.parentNode.parentNode.removeChild(r.parentNode):r.parentNode.removeChild(r))}t._window.removeEventListener("message",t._onMessage),Mt.isEnabled&&Mt.off("fullscreenchange",t.fullscreenchangeHandler),i()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Jt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new Jt(function(s,a){return a(new TypeError("Argument must be an array."))});var i=new Jt(function(s){return s(null)}),r=[t[0]?this.set("colorOne",t[0]):i,t[1]?this.set("colorTwo",t[1]):i,t[2]?this.set("colorThree",t[2]):i,t[3]?this.set("colorFour",t[3]):i];return Jt.all(r)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:function(){var e=Tr(bt().mark(function i(r,s){var a=this,o;return bt().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(r){c.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return c.next=4,this.ready();case 4:return o=new wg(this,r,s),xr(this,"notifyTimingObjectConnect"),o.addEventListener("disconnect",function(){return xr(a,"notifyTimingObjectDisconnect")}),c.abrupt("return",o);case 8:case"end":return c.stop()}},i,this)}));function t(i,r){return e.apply(this,arguments)}return t}()}]),n}();Uu||(Mt=gg(),fg(),pg(),hg(),mg());class yg{constructor(){typeof na<"u"?this.init():console.error("Vimeo Player SDK not available")}init(){document.querySelectorAll("[data-vimeo-player-init]").length>0&&this.initVimeoPlayer()}initVimeoPlayer(){document.querySelectorAll("[data-vimeo-player-init]").forEach((t,i)=>{try{let w=function(x){let D=Math.floor(x/3600);x-=D*3600;let S=Math.floor(x/60);return x-=S*60,S+":"+(x<10?"0"+x:x)},M=function(){c.getDuration().then(function(){const x=y.value;c.setCurrentTime(x),_&&(_.value=x)})},E=function(){t.setAttribute("data-vimeo-hover","false")},k=function(){t.setAttribute("data-vimeo-activated","false"),t.setAttribute("data-vimeo-playing","false"),c.unload()};const r=t.getAttribute("data-vimeo-video-id");if(!r)return;const s=t.querySelector("iframe");if(!s){console.error("No iframe found in vimeo player element",t);return}const a=`https://player.vimeo.com/video/${r}?api=1&background=1&autoplay=0&loop=0&muted=1`;s.setAttribute("src",a);const o="vimeo-player-index-"+i;t.setAttribute("id",o);const l=t.id,c=new na(s);if(t.getAttribute("data-vimeo-update-size")==="true"&&c.getVideoWidth().then(function(x){c.getVideoHeight().then(function(D){const S=t.querySelector(".vimeo-player__before");S&&(S.style.paddingTop=D/x*100+"%")})}),c.on("play",function(){t.setAttribute("data-vimeo-loaded","true")}),t.getAttribute("data-vimeo-autoplay")==="false")c.setVolume(1),c.pause();else if(c.setVolume(0),t.setAttribute("data-vimeo-muted","true"),t.getAttribute("data-vimeo-paused-by-user")==="false"){const x=()=>{const D=t.getBoundingClientRect();D.top0?u():h()};x(),window.addEventListener("scroll",x)}const u=()=>{t.setAttribute("data-vimeo-activated","true"),t.setAttribute("data-vimeo-playing","true"),c.play()},h=()=>{t.setAttribute("data-vimeo-playing","false"),c.pause()},m=t.querySelector('[data-vimeo-control="play"]');m&&m.addEventListener("click",function(){c.setVolume(0),u(),t.getAttribute("data-vimeo-muted")==="true"?c.setVolume(0):c.setVolume(1)});const p=t.querySelector('[data-vimeo-control="pause"]');p&&p.addEventListener("click",function(){h(),t.getAttribute("data-vimeo-autoplay")==="true"&&(t.setAttribute("data-vimeo-paused-by-user","true"),window.removeEventListener("scroll",checkVisibility))});const d=t.querySelector('[data-vimeo-control="mute"]');d&&d.addEventListener("click",function(){t.getAttribute("data-vimeo-muted")==="false"?(c.setVolume(0),t.setAttribute("data-vimeo-muted","true")):(c.setVolume(1),t.setAttribute("data-vimeo-muted","false"))});const f=!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled),v=t.querySelector('[data-vimeo-control="fullscreen"]');!f&&v&&(v.style.display="none"),v&&v.addEventListener("click",()=>{const x=document.getElementById(l);if(!x)return;document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement?(t.setAttribute("data-vimeo-fullscreen","false"),(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)):(t.setAttribute("data-vimeo-fullscreen","true"),(x.requestFullscreen||x.webkitRequestFullscreen||x.mozRequestFullScreen||x.msRequestFullscreen).call(x))});const b=()=>{const x=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement;t.setAttribute("data-vimeo-fullscreen",x?"true":"false")};["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","msfullscreenchange"].forEach(x=>{document.addEventListener(x,b)});const g=t.querySelector("[data-vimeo-duration]");c.getDuration().then(function(x){g&&(g.textContent=w(x)),t.querySelectorAll('[data-vimeo-control="timeline"], progress').forEach(S=>{S.setAttribute("max",x)})});const y=t.querySelector('[data-vimeo-control="timeline"]'),_=t.querySelector("progress");y&&["input","change"].forEach(x=>{y.addEventListener(x,M)}),c.on("timeupdate",function(x){y&&(y.value=x.seconds),_&&(_.value=x.seconds),g&&(g.textContent=w(Math.trunc(x.seconds)))});let A;t.addEventListener("mousemove",function(){t.getAttribute("data-vimeo-hover")==="false"&&t.setAttribute("data-vimeo-hover","true"),clearTimeout(A),A=setTimeout(E,3e3)}),c.on("ended",k)}catch(r){console.error("Error initializing Vimeo player:",r)}})}}const bg=()=>{new yg};ue.registerPlugin(K,Qr);const _g=()=>{const n=document.querySelectorAll("[text-reveal]");n.length!==0&&n.forEach(e=>{const i=new Qr(e,{type:"chars, words",charsClass:"char++",wordsClass:"word++"}).chars;ue.fromTo(i,{"will-change":"opacity",opacity:.2},{ease:"power4",opacity:1,stagger:.04,scrollTrigger:{trigger:e,start:"center+=10% bottom",end:"+=50%",scrub:!0,markers:!1}})})},Jo=()=>{_g()};function Sg(){Um(),bg(),Jo()}const id="https://boards-api.greenhouse.io/v1/boards/strivepharmacy";class Qo{constructor(e=`${id}/departments`){this.apiEndpoint=e,this.dataType=this.determineDataType(e)}determineDataType(e){return e.includes("/departments")?"departments":e.includes("/jobs")?"jobs":null}async fetchData(){if(!this.apiEndpoint||!this.dataType)return;const e={method:"GET",redirect:"follow",headers:{"Content-Type":"application/json"}};try{const t=await fetch(this.apiEndpoint,e);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);const i=await t.json();if(this.dataType==="departments"&&!i.departments||this.dataType==="jobs"&&!i.jobs)return;this.data=i,this.dataType==="departments"?this.populateDepartments(i.departments):this.populateJobs(i.jobs)}catch(t){console.error("Error fetching Greenhouse data:",t)}}populateDepartments(e){const t=document.querySelector("[gw-departments-container]");if(!t||!e||e.length===0){t&&(t.textContent="No departments found.");return}const i=document.querySelector("[gw-departments-item]");i&&(i.remove(),e.forEach(r=>{const s=i.cloneNode(!0);if(s.style.display="",!r.jobs||r.jobs.length===0){s.style.display="none";return}s.setAttribute("gw-department-item",r.name);const a=s.querySelector("[gw-departments-quantity]");a&&(a.textContent=`(${r.jobs.length})`);const o=s.querySelector("[gw-departments-title]");o&&(o.textContent=r.name),t.appendChild(s);const l=s.querySelector("[gw-jobs-container]");r.jobs&&r.jobs.length>0&&l&&this.populateJobs(r.jobs,l)}))}populateJobs(e,t=document.querySelector("[gw-jobs-container]")){if(!t)return;const i=t.querySelector("[gw-jobs-item]");i&&(i.remove(),e.forEach(r=>{const s=i.cloneNode(!0);s.style.display="";const a=s.querySelector("[gw-jobs-title]");a&&(a.textContent=r.title);const o=s.querySelector("[gw-jobs-location]");o&&r.location&&(o.textContent=r.location.name);const l=s.querySelector("[gw-jobs-apply]");l&&(l.href=r.absolute_url,l.target="_blank"),t.appendChild(s)}))}filterDepartments(e){if(!e)return;const t=document.querySelector("[gw-filter-departments]");if(t){for(;t.options.length>1;)t.remove(1);if(t.options.length===0||t.options[0].value!==""){const i=new Option("All Departments","",!0,!0);t.add(i,t.options[0])}e.forEach(i=>{if(i.jobs&&i.jobs.length>0){const r=new Option(i.name,i.name);t.add(r)}}),t.addEventListener("change",i=>{const r=i.target.value;document.querySelectorAll("[gw-departments-item]").forEach(s=>{s.style.display=r===""||s.getAttribute("gw-department-item")===r?"":"none"})})}}static init(e=`${id}/departments`){const t=new Qo(e);return document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{t.dataType==="departments"&&document.querySelector("[gw-departments-item]")?t.fetchData().then(()=>{var i;(i=t.data)!=null&&i.departments&&t.filterDepartments(t.data.departments)}):t.dataType==="jobs"&&document.querySelector("[gw-jobs-item]")&&t.fetchData()}):t.dataType==="departments"&&document.querySelector("[gw-departments-item]")?t.fetchData().then(()=>{var i;(i=t.data)!=null&&i.departments&&t.filterDepartments(t.data.departments)}):t.dataType==="jobs"&&document.querySelector("[gw-jobs-item]")&&t.fetchData(),t}}Qo.init();function Tg(){Jo()}class Eg{constructor(){this.elements={providerTabLinkList:document.querySelector("[provider-tab='link-list']"),providerTabLinkItems:document.querySelectorAll("[provider-tab-link-item]"),providerTabContentList:document.querySelector("[provider-tab='content-list']"),providerTabContentItems:document.querySelectorAll("[provider-tab-content-item]")},this.init()}init(){this.elements.providerTabLinkItems.length&&(this.setupTabs(),this.setupClickHandlers(),this.activateTab(0))}setupTabs(){this.elements.providerTabLinkItems.forEach((e,t)=>{e.setAttribute("data-tab-index",t),e.setAttribute("link-status","inactive")}),this.elements.providerTabContentItems.forEach((e,t)=>{e.setAttribute("data-tab-index",t),e.setAttribute("content-status","inactive")})}setupClickHandlers(){this.elements.providerTabLinkItems.forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const i=parseInt(e.getAttribute("data-tab-index"));this.activateTab(i)})})}activateTab(e){this.elements.providerTabLinkItems.forEach(r=>{r.setAttribute("link-status","inactive")}),this.elements.providerTabContentItems.forEach(r=>{r.setAttribute("content-status","inactive")});const t=this.elements.providerTabLinkItems[e],i=this.elements.providerTabContentItems[e];t&&i&&(t.setAttribute("link-status","active"),i.setAttribute("content-status","active"))}}const xg=()=>new Eg;function Ag(){Zn(),xg()}function Mg(){Zn()}function kg(){Jo()}async function Cg(){Zn()}const rd={PREVIEWABLE_TYPES:[".pdf",".jpg",".jpeg",".png",".gif",".bmp",".webp"],init:function(){this.downloadButtons=document.querySelectorAll('[download-file="button"]'),this.attachEventListeners()},attachEventListeners:function(){this.downloadButtons.forEach(n=>{n.addEventListener("click",this.handleClick.bind(this))})},formatFileName:function(n){const e=n.getAttribute("download-file-name"),t=n.getAttribute("pharmacy-name")||"Strive";if(e){const i=e.replace(/\.[^/.]+$/,"");return`${t}_${i}_Guide.pdf`}return`${t}_Instructional_Guide.pdf`},isPreviewableFile:function(n){return n?this.PREVIEWABLE_TYPES.some(e=>n.toLowerCase().endsWith(e)):!1},handleClick:async function(n){n.preventDefault();const e=n.currentTarget,t=e.getAttribute("download-file-link");t&&(this.isPreviewableFile(t)&&window.open(t,"_blank"),await this.handleDownload(e))},handleDownload:async function(n){const e=n.getAttribute("download-file-link");if(!e)return;const t=this.formatFileName(n);try{n.disabled=!0;const i=await fetch(e);if(!i.ok)throw new Error("Download failed");const r=await i.blob(),s=window.URL.createObjectURL(r),a=document.createElement("a");a.style.display="none",a.href=s,a.download=t,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(s),document.body.removeChild(a)}catch(i){console.error("Download error:",i)}finally{n.disabled=!1}},destroy:function(){this.downloadButtons.forEach(n=>{n.removeEventListener("click",this.handleClick.bind(this))})}},Pg=()=>(rd.init(),rd),Og=()=>{Pg()};class Ig{constructor(){this.elements={mapDot:document.querySelectorAll("[map-dot='component']"),mapDotGlow:document.querySelectorAll("[map-dot='glow']"),mapDotSmall:document.querySelectorAll("[map-dot='small']"),mapDotLarge:document.querySelectorAll("[map-dot='large']"),mapDotTag:document.querySelectorAll("[map-dot='tag']")},this.state={activeIndex:null,timelines:[]},this.init()}init(){console.log("initLocationMapHover"),this.elements.mapDot.forEach((e,t)=>{ue.set(this.elements.mapDotTag[t],{scale:0,y:20,opacity:0}),ue.set(this.elements.mapDotGlow[t],{opacity:.3,scale:1}),ue.set(this.elements.mapDotLarge[t],{scale:1,backgroundColor:"var(--swatch--light-faded)"}),this.createIdleAnimation(t),e.addEventListener("mouseenter",()=>this.handleHover(t,!0)),e.addEventListener("mouseleave",()=>this.handleHover(t,!1))})}createIdleAnimation(e){this.state.timelines[e]&&this.state.timelines[e].kill();const t=ue.timeline({repeat:-1}),i=1.2+Math.random()*.4,r=1.5+Math.random()*.5,s=Math.random()*.8;t.to(this.elements.mapDotGlow[e],{scale:i,opacity:.5,duration:r/2,ease:"power2.inOut",delay:s}).to(this.elements.mapDotGlow[e],{scale:1,opacity:.3,duration:r/2,ease:"power2.inOut"}),this.state.timelines[e]=t}handleHover(e,t){if(this.state.activeIndex!==null&&this.state.activeIndex!==e&&this.forceExitHover(this.state.activeIndex),this.state.timelines[e]&&this.state.timelines[e].pause(),t){this.state.activeIndex=e;const i=ue.timeline();i.to(this.elements.mapDotGlow[e],{scale:1.5,opacity:.7,duration:.5,ease:"power2.out"},0).to(this.elements.mapDotGlow[e],{scale:1.8,opacity:0,duration:.5,ease:"power2.out"},.2),i.to(this.elements.mapDotLarge[e],{scale:1.3,backgroundColor:"var(--swatch--brand)",duration:.8,ease:"back.out(2)"},0),i.to(this.elements.mapDotSmall[e],{scale:.8,duration:.6,ease:"back.out(1.7)"},0),i.to(this.elements.mapDotTag[e],{opacity:1,scale:1,y:-10,duration:.5,ease:"back.out(1.2)"},.1)}else this.forceExitHover(e)}forceExitHover(e){e===this.state.activeIndex&&(this.state.activeIndex=null),ue.killTweensOf([this.elements.mapDotGlow[e],this.elements.mapDotLarge[e],this.elements.mapDotSmall[e],this.elements.mapDotTag[e]]);const t=ue.timeline({onComplete:()=>{this.createIdleAnimation(e)}});t.to(this.elements.mapDotLarge[e],{scale:1,backgroundColor:"var(--swatch--light-faded)",duration:.5,ease:"power3.out"},0),t.to(this.elements.mapDotSmall[e],{scale:1,duration:.5,ease:"power3.out"},0),t.to(this.elements.mapDotTag[e],{opacity:0,scale:.8,y:10,duration:.25,ease:"power3.in"},0),t.to(this.elements.mapDotGlow[e],{scale:1,opacity:.3,duration:.4,ease:"power2.inOut"},.1)}pauseAll(){this.state.timelines.forEach(e=>{e&&e.pause()})}resumeAll(){this.state.timelines.forEach((e,t)=>{e&&this.state.activeIndex!==t&&e.play()})}}const Lg=()=>new Ig,Dg=()=>{Lg()},zg=()=>{Dg()},Rg=()=>{document.querySelectorAll('[filter-accordion="wrap"]').forEach(e=>{const t=e.querySelector('[filter-accordion="trigger"]'),i=e.querySelector('[filter-accordion="content"]'),r=e.querySelector('[filter-accordion="icon-vertical"]'),s=e.querySelector('[filter-accordion="icon-horizontal"]'),a=[i,r,s,t];a.forEach(l=>{l&&l.setAttribute("filter-accordion-status","inactive")});const o=()=>{const c=i.getAttribute("filter-accordion-status")==="active"?"inactive":"active";a.forEach(u=>{u&&u.setAttribute("filter-accordion-status",c)})};t.addEventListener("click",o)})},Ng=()=>{Rg()};function Fg(){Ng()}function Bg(){Zn()}const $g={home:{init:jm},about:{init:Sg},career:{init:Tg},provider_cms:{init:Ag},patient_cms:{init:Mg},blog_cms:{init:Cg},team:{init:kg},guide:{init:Og},location:{init:zg},shop_medication:{init:Fg},products:{init:Bg},dashboard:{init:()=>console.log("Dashboard initialized")},login:{init:()=>console.log("Login initialized")},medication_cms:{init:()=>console.log("Medication CMS initialized")},error:{init:()=>{const n=new URLSearchParams(window.location.search),e=n.get("code"),t=n.get("message");console.error("Auth Error:",e,t)}}};async function Yg(){try{await Up();const n=document.querySelector("[data-page]");if(!n)return;const e=n.getAttribute("data-page"),t=$g[e];t!=null&&t.init&&await t.init()}catch(n){console.error("Page initialization error:",n)}}document.addEventListener("DOMContentLoaded",()=>{Yg()})});