/*! For license information please see storiescarousel-bundle.js.LICENSE.txt */ (()=>{var t={6289:t=>{var e;self,e=()=>(()=>{"use strict";var t={d:(e,i)=>{for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{CarouselElement:()=>ei});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},i(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var n=function(){return n=Object.assign||function(t){for(var e,i=1,r=arguments.length;i=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s}function s(t,e,i){if(i||2===arguments.length)for(var r,n=0,o=e.length;n{if(h)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=a.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}},u=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new d("string"==typeof t?t:t+"",void 0,l))(e)})(t):t,{is:m,defineProperty:f,getOwnPropertyDescriptor:g,getOwnPropertyNames:b,getOwnPropertySymbols:v,getPrototypeOf:y}=Object,E=globalThis,_=E.trustedTypes,x=_?_.emptyScript:"",A=E.reactiveElementPolyfillSupport,H=(t,e)=>t,T={toAttribute(t,e){switch(e){case Boolean:t=t?x:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},P=(t,e)=>!m(t,e),S={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:P};Symbol.metadata??=Symbol("metadata"),E.litPropertyMetadata??=new WeakMap;class B extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);void 0!==r&&f(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:n}=g(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const o=r?.call(this);n.call(this,e),this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(H("elementProperties")))return;const t=y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(H("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(H("properties"))){const t=this.properties,e=[...b(t),...v(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return p(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:T).toAttribute(e,i.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const i=this.constructor,r=i._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:T;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??P)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}B.elementStyles=[],B.shadowRootOptions={mode:"open"},B[H("elementProperties")]=new Map,B[H("finalized")]=new Map,A?.({ReactiveElement:B}),(E.reactiveElementVersions??=[]).push("2.0.4");const w=globalThis,C=w.trustedTypes,$=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",N=`lit$${(Math.random()+"").slice(9)}$`,M="?"+N,I=`<${M}>`,O=document,R=()=>O.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,D="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,j=/>/g,V=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,W=/"/g,X=/^(?:script|style|textarea|title)$/i,K=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Y=K(1),Z=K(2),q=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Q=new WeakMap,tt=O.createTreeWalker(O,129);function et(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(e):e}const it=(t,e)=>{const i=t.length-1,r=[];let n,o=2===e?"":"",s=G;for(let e=0;e"===h[0]?(s=n??G,l=-1):void 0===h[1]?l=-2:(l=s.lastIndex-h[2].length,a=h[1],s=void 0===h[3]?V:'"'===h[3]?W:z):s===W||s===z?s=V:s===F||s===j?s=G:(s=V,n=void 0);const d=s===V&&t[e+1].startsWith("/>")?" ":"";o+=s===G?i+I:l>=0?(r.push(a),i.slice(0,l)+L+i.slice(l)+N+d):i+N+(-2===l?e:d)}return[et(t,o+(t[i]||"")+(2===e?"":"")),r]};class rt{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let n=0,o=0;const s=t.length-1,a=this.parts,[h,l]=it(t,e);if(this.el=rt.createElement(h,i),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=tt.nextNode())&&a.length0){r.textContent=C?C.emptyScript:"";for(let i=0;ik(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==J&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=rt.createElement(et(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ot(r,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new rt(t)),e}k(t){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of t)r===e.length?e.push(i=new st(this.S(R()),this.S(R()),this,this.options)):i=e[r],i._$AI(n),r++;r2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}_$AI(t,e=this,i,r){const n=this.strings;let o=!1;if(void 0===n)t=nt(this,t,e,0),o=!U(t)||t!==this._$AH&&t!==q,o&&(this._$AH=t);else{const r=t;let s,a;for(t=n[0],s=0;s{const r=i?.renderBefore??e;let n=r._$litPart$;if(void 0===n){const t=i?.renderBefore??null;r._$litPart$=n=new st(e.insertBefore(R(),t),t,void 0,i??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return q}}ut._$litElement$=!0,ut.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ut});const mt=globalThis.litElementPolyfillSupport;mt?.({LitElement:ut}),(globalThis.litElementVersions??=[]).push("4.0.4");const ft={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:P},gt=(t=ft,e,i)=>{const{kind:r,metadata:n}=i;let o=globalThis.litPropertyMetadata.get(n);if(void 0===o&&globalThis.litPropertyMetadata.set(n,o=new Map),o.set(i.name,t),"accessor"===r){const{name:r}=i;return{set(i){const n=e.get.call(this);e.set.call(this,i),this.requestUpdate(r,n,t)},init(e){return void 0!==e&&this.P(r,void 0,t),e}}}if("setter"===r){const{name:r}=i;return function(i){const n=this[r];e.call(this,i),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};function bt(t){return(e,i)=>"object"==typeof i?gt(t,e,i):((t,e,i)=>{const r=e.hasOwnProperty(i);return e.constructor.createProperty(i,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}function vt(t){return bt({...t,state:!0,attribute:!1})}const yt=Symbol.for(""),Et=t=>{if(t?.r===yt)return t?._$litStatic$},_t=new Map,xt=t=>(e,...i)=>{const r=i.length;let n,o;const s=[],a=[];let h,l=0,c=!1;for(;l((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i))(e,i,{get(){return(this.renderRoot??(Ht??=document.createDocumentFragment())).querySelectorAll(t)}})}xt(Z);const Pt=((t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new d(i,t,l)})` .carousel-container { display: flex; height: 100%; } .modal-close-btn::after, .modal-close-btn::before { top: 13px; left: 9px; } .theme-night { background: #0a0520 !important; color: #fff !important; } .theme-night .dot.active { background-color: #3dcbff; } .theme-night .dot { background-color: #d2d2d2; } .theme-night .pagination-container button { color: #fff; box-shadow: -1.5px 0px #3dcbff !important; background: linear-gradient( 105.36deg, #253054 0.61%, rgba(51, 48, 61, 0.5) 169.87% ) !important; } .theme-night .modal-box { background: #0a0520; } .theme-night .modal-box h1 { color: #1c1e49; } .theme-theme .modal-close-btn { background: linear-gradient(rgb(48, 46, 60), rgb(48, 46, 60)) padding-box padding-box, linear-gradient(to right, rgb(175, 173, 255), rgb(84, 64, 241)) border-box border-box !important; } .carousel { display: flex; transition: transform 0.5s ease-in-out; padding-bottom: 24px; gap: 10px; } .carousel-component.carousel-dark { background: #000; } ::slotted(.carousel-content__heading), ::slotted([slot='title']) { font-size: 71px; line-height: 84px; margin: 0; } @media only screen and (min-width: 360px) { .carousel img { width: 276px; height: 376px; object-fit: cover; margin-right: 12px; margin-left: 12px; border-radius: 5%; } .carousel-title { font-size: 32px; line-height: 38px; font-weight: 600; margin: 0; padding: 0; margin-bottom: 16px; color: #171717; } .content-container { width: 100%; padding: 20px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; } .carousel-container { flex-direction: column; align-items: center; } .image-container { width: 100%; overflow: hidden; } .pagination-container { display: flex; gap: 20px; padding-left: 20px; max-width: 100%; } :host([dir='rtl']) .pagination-container { padding-left: 0; padding-right: 20px; } .carousel-content { align-items: center; } .slide-img-title { font-size: 21px; line-height: 26px; padding: 0; margin: 10px 0; font-weight: 600; } } @media only screen and (min-width: 540px) { .carousel img { width: 292px; height: 397px; object-fit: cover; margin: 12px; border-radius: 5%; } } @media only screen and (min-width: 860px) { .carousel img { width: 478px; height: 645px; object-fit: cover; margin: 12px; border-radius: 5%; } } @media only screen and (min-width: 1084px) { .carousel img { width: 280px; height: 381px; object-fit: cover; margin: 12px; border-radius: 5%; } .modal-box { padding: 40px 54px; } .carousel-title { font-size: 56px; line-height: 67px; font-weight: 600; margin: 0; padding: 0; margin-bottom: 16px; color: #171717; } .content-container { width: 509px; padding: 20px; box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start; } .carousel-container { flex-direction: row; align-items: center; } .pagination-container { display: flex; align-items: center; gap: 20px; padding-left: 20px; max-width: 90%; } :host([dir='rtl']) .pagination-container { padding-left: 0; padding-right: 20px; } .slide-img-title { font-size: 29px; line-height: 34px; padding: 0; margin: 10px 0; font-weight: 600; } .carousel-component { padding: 40px 0px 40px 54px; } :host([dir='rtl']) .carousel-component { padding: 40px 54px 40px 0; } } @media only screen and (max-width: 1083.98px) { .pagination-container { flex-direction: column; gap: 8px; margin-bottom: 16px; } #nav-buttons { order: 1; } .pagination-container .dots-container { width: 97%; } .modal-box-video__container { display: flex; width: 100%; margin-top: 30px; z-index: 1; flex-wrap: wrap; } .modal-box-video__content { flex: initial !important; order: 1; display: flex; flex-direction: column; } .modal-box-video__container h2 { order: 1 !important; } .modal-box-video__content p { order: 2 !important; } .modal-box-video__play-screen { order: 0; } .modal-box .modal-box-video__container { top: 50px; } .modal-box { padding: 30px 24px !important; box-sizing: border-box; } .modal-box-video__container { flex-wrap: wrap; } .modal-box h1 { line-height: 132px; position: absolute; top: 0; } } @media only screen and (min-width: 1400px) { .carousel-component { padding: 40px 0px 40px 70px; } :host([dir='rtl']) .carousel-component { padding: 40px 70px 40px 0; } .carousel img { width: 360px; height: 488px; object-fit: cover; margin: 12px; border-radius: 5%; } .carousel-title { font-size: 71px; line-height: 84px; font-weight: 600; margin: 0; padding: 0; margin-bottom: 16px; color: #171717; } .content-container { width: 40%; padding-right: 48px; box-sizing: border-box; display: flex; align-items: center; } .image-container { width: 65%; overflow: hidden; } .pagination-container { display: flex; align-items: center; gap: 20px; padding-left: 20px; max-width: 90%; } } .carousel-content { display: flex; flex-direction: column; } .dots-container { display: flex; justify-content: center; align-items: center; margin-top: 10px; } .dot { height: 2px; width: 100%; margin: 0 5px; background-color: #757575; border-radius: 6px; display: inline-block; } .dot.active { background-color: #5440f1; height: 6px; } .dots-container { width: 88%; } #nav-buttons { margin-top: 10px; display: flex; gap: 10px; } .carousel-desc { font-size: 16px; line-height: 24px; font-weight: 400; color: #171717; } .slide { position: relative; } .slide.active .slider-content { position: absolute; bottom: 0; padding: 0px 36px; color: #fff; } .slider-content { position: absolute; bottom: 30px; padding: 40px 48px 24px 24px; color: rgb(242, 242, 242); margin-bottom: 36px; margin-right: 12px; margin-left: 13px; width: 286px; background: linear-gradient( to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) ); border-top-right-radius: 0; border-top-left-radius: 0; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; } .slide:nth-child(2n) .slider-content { bottom: 0px; padding-bottom: 24px; margin-bottom: 19px; } .slider-content a { color: white; text-decoration: none; font-size: 16px; line-height: 24px; cursor: pointer; font-weight: 600; text-align: center; transition: all 200ms ease-in-out 0s; } .slider-content a::after { font-size: 12px; display: inline-block; position: relative; right: 0; content: ''; vertical-align: top; transition: all 200ms ease-in-out; text-decoration: none; font-family: 'MWF-MDL2'; } .slider-content a:hover, .slider-content a:focus { text-decoration: underline; } :host([dir='rtl']) .slider-content a::after { transform: rotate(180deg); } .slider-content a:hover::after { right: -4px !important; } :host([dir='rtl']) .slider-content a:hover::after { right: 4px !important; } .slide-img-pretitle { font-size: 16px; line-height: 24px; } .pagination-container button { background-color: #fff; color: #000; border-radius: 50%; width: 40px; height: 40px; } .pagination-container button { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); width: 36px; height: 36px; border: 2px solid #666; border-radius: 50%; box-shadow: -1px 0px #5440f1 !important; cursor: pointer; } .pagination-container button#next::after { content: ''; display: block; box-sizing: border-box; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid; border-right: 2px solid; transform: rotate(-45deg); right: 12px; top: 11px; } :host([dir='rtl']) .pagination-container button#next::after { transform: rotate(-225deg); right: 10px; } .pagination-container button#prev::after { content: ''; display: block; box-sizing: border-box; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid; border-left: 2px solid; transform: rotate(45deg); left: 12px; top: 11px; } :host([dir='rtl']) .pagination-container button#prev::after { transform: rotate(225deg); left: 10px; } .nav-btn-pause { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); width: 22px; height: 22px; border: 2px solid; border-radius: 22px; } .nav-btn-pause::before { content: ''; display: block; box-sizing: border-box; position: absolute; width: 6px; height: 6px; left: 13px; top: 13px; border-left: 2px solid; border-right: 2px solid; } .nav-btn-play { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); width: 22px; height: 22px; border: 2px solid red; border-radius: 22px; } .nav-btn-play { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); width: 22px; height: 22px; border: 2px solid; border-radius: 20px; } .nav-btn-play::before { content: ''; display: block; box-sizing: border-box; position: absolute; width: 0; height: 10px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid; top: 12px; left: 13px; } .slide:nth-child(even) { margin-top: 48px; } .horz-line { width: 1px; height: 32px; border: 1px solid #000; } .modal-box-video__container { display: flex; width: 100%; margin-top: 100px; align-items: flex-end; z-index: 1; position: relative; } .modal-box-video__container .pagination-container { padding-left: 0; } .modal-box-video__container h2 { padding: 0; margin: 0; } .modal-box-video__container #nav-buttons { margin-top: 10px; display: flex; gap: 10px; align-items: center; } .modal-box-video__content { flex: 0 0 30%; padding-right: 40px; } video { border-radius: 20px; } .modal-close-btn { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); width: 32px; height: 32px; border: 2px solid; border-radius: 40px; box-shadow: -1px 0px blue; cursor: pointer; } .modal-close-btn::after, .modal-close-btn::before { content: ''; display: block; box-sizing: border-box; position: absolute; width: 12px; height: 2px; background: currentColor; transform: rotate(45deg); border-radius: 5px; top: 13px; left: 9px; } .modal-close-btn::after { transform: rotate(-45deg); } .modal-close-wrapp { width: 100%; display: flex; justify-content: flex-end; padding-right: 0; position: relative; z-index: 1; } /* Styling for the overlay */ .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); } /* Styling for the modal box */ .modal-box { display: none; position: fixed; top: 0; left: 0; background: #fff; width: 100%; height: 100%; padding: 30px 40px; overflow-y: scroll; overflow-x: hidden; scrollbar-width: none; } .modal-box h1 { font-size: 360px; font-style: normal; font-weight: 600; line-height: normal; letter-spacing: -12px; margin-left: -30px; margin-top: 76px; margin-left: -95px; margin: 0; } @media only screen and (min-width: 360px) { .modal-box h1 { text-align: left; font-family: 'Segoe UI'; font-size: 230px; font-style: normal; font-weight: 600; line-height: 100%; letter-spacing: -9.2px; color: #dbd7f7; } } @media only screen and (min-width: 768px) { } @media only screen and (min-width: 1280px) { .modal-box h1 { font-size: 300px; font-style: normal; font-weight: 600; line-height: 100%; letter-spacing: -12px; margin-top: -75px; margin-left: -30px; } } @media only screen and (min-width: 1084px) { .modal-box { padding: 40px 70px 40px 70px; background: #fff; z-index: 1000; width: -webkit-fill-available; height: -webkit-fill-available; margin: 0; position: fixed; } .modal-box h1 { font-size: 360px; font-style: normal; font-weight: 600; line-height: 360px; letter-spacing: -12px; top: -75px; left: 0; margin: 0; position: absolute; } } @media only screen and (max-width: 1399px) { .slider-content { width: 232px; padding: 30px 24px 20px; border-radius: 16px; margin-left: 12px; } } @media only screen and (max-width: 1084px) { .slider-content { width: 430px; border-radius: 28px; } } @media only screen and (max-width: 859px) { .slider-content { width: 244px; border-radius: 17px; } } @media only screen and (max-width: 540px) { .slider-content { bottom: 17px; width: 228px; border-radius: 17px; } .slide:nth-child(2n) .slider-content { bottom: -12px; } } @media (forced-colors: active) { .pagination-container button { forced-color-adjust: none; background-image: linear-gradient(#000, #000), radial-gradient(circle at bottom right, #fff, #fff); } .pagination-container button#next::after { forced-color-adjust: none; color: #fff; } .pagination-container button#prev::after { forced-color-adjust: none; color: #fff; } .pagination-container .dot { forced-color-adjust: none; background-color: #f2f2f2; } .pagination-container .dot.active { forced-color-adjust: none; background-color: white !important; } } .slider-content a.video-popup-btn { display: inline-block; margin-right: 1rem; margin-bottom: 1rem; } @media only screen and (max-width: 1084px) { .carousel-component.theme-night { padding-bottom: 10px; } } `,St=Object.freeze({PLACEHOLDER_IMAGEURL:"http://approjects.co.za/?big=onerfstatics/marketingsites-wcus-prod/_h/9be151e5/coreui.staticshttps://www.microsoft.com/images/1x1clear.gif",COMPONENT_TAG_ALPHA:"Alpha",COMPONENT_TAG_PROD:"Prod",DEFAULT_BREAKPOINTS:[1400,1084,860,540,320]});var Bt,wt,Ct;function $t(t){return t.type===wt.literal}function Lt(t){return t.type===wt.argument}function Nt(t){return t.type===wt.number}function Mt(t){return t.type===wt.date}function It(t){return t.type===wt.time}function Ot(t){return t.type===wt.select}function Rt(t){return t.type===wt.plural}function Ut(t){return t.type===wt.pound}function kt(t){return t.type===wt.tag}function Dt(t){return!(!t||"object"!=typeof t||t.type!==Ct.number)}function Gt(t){return!(!t||"object"!=typeof t||t.type!==Ct.dateTime)}!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Bt||(Bt={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(wt||(wt={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(Ct||(Ct={}));var Ft=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,jt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Vt(t){var e={};return t.replace(jt,(function(t){var i=t.length;switch(t[0]){case"G":e.era=4===i?"long":5===i?"narrow":"short";break;case"y":e.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===i?"long":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][i-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][i-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][i-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][i-1];break;case"s":e.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}var zt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Wt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Xt=/^(@+)?(\+|#+)?[rs]?$/g,Kt=/(\*)(0+)|(#+)(0+)|(0+)/g,Yt=/^(0+)$/;function Zt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Xt,(function(t,i,r){return"string"!=typeof r?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):"+"===r?e.minimumSignificantDigits=i.length:"#"===i[0]?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),e}function qt(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Jt(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var i=t.slice(0,2);if("+!"===i?(e.signDisplay="always",t=t.slice(2)):"+?"===i&&(e.signDisplay="exceptZero",t=t.slice(2)),!Yt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Qt(t){return qt(t)||{}}function te(t){for(var e={},i=0,r=t;i1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Kt,(function(t,i,r,n,o,s){if(i)e.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Yt.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(Wt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Wt,(function(t,i,r,n,o,s){return"*"===r?e.minimumFractionDigits=i.length:n&&"#"===n[0]?e.maximumFractionDigits=n.length:o&&s?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+s.length):(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length),""}));var s=o.options[0];"w"===s?e=n(n({},e),{trailingZeroDisplay:"stripIfInteger"}):s&&(e=n(n({},e),Zt(s)))}else if(Xt.test(o.stem))e=n(n({},e),Zt(o.stem));else{var a=qt(o.stem);a&&(e=n(n({},e),a));var h=Jt(o.stem);h&&(e=n(n({},e),h))}}return e}var ee,ie={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function re(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,r=t.language;return"root"!==r&&(i=t.maximize().region),(ie[i||""]||ie[r||""]||ie["".concat(r,"-001")]||ie["001"])[0]}var ne=new RegExp("^".concat(Ft.source,"*")),oe=new RegExp("".concat(Ft.source,"*$"));function se(t,e){return{start:t,end:e}}var ae=!!String.prototype.startsWith&&"_a".startsWith("a",1),he=!!String.fromCodePoint,le=!!Object.fromEntries,ce=!!String.prototype.codePointAt,de=!!String.prototype.trimStart,pe=!!String.prototype.trimEnd,ue=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},me=!0;try{me="a"===(null===(ee=xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ee?void 0:ee[0])}catch(j){me=!1}var fe,ge=ae?function(t,e,i){return t.startsWith(e,i)}:function(t,e,i){return t.slice(i,i+e.length)===e},be=he?String.fromCodePoint:function(){for(var t=[],e=0;eo;){if((i=t[o++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},ve=le?Object.fromEntries:function(t){for(var e={},i=0,r=t;i=i)){var r,n=t.charCodeAt(e);return n<55296||n>56319||e+1===i||(r=t.charCodeAt(e+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},Ee=de?function(t){return t.trimStart()}:function(t){return t.replace(ne,"")},_e=pe?function(t){return t.trimEnd()}:function(t){return t.replace(oe,"")};function xe(t,e){return new RegExp(t,e)}if(me){var Ae=xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fe=function(t,e){var i;return Ae.lastIndex=e,null!==(i=Ae.exec(t)[1])&&void 0!==i?i:""}}else fe=function(t,e){for(var i=[];;){var r=ye(t,e);if(void 0===r||Se(r)||Be(r))break;i.push(r),e+=r>=65536?2:1}return be.apply(void 0,i)};var He=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,i){for(var r=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(t,i)).err)return o;r.push(o.val)}else{if(125===n&&t>0)break;if(35!==n||"plural"!==e&&"selectordinal"!==e){if(60===n&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Bt.UNMATCHED_CLOSING_TAG,se(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Te(this.peek()||0)){if((o=this.parseTag(t,e)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(t,e)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:wt.pound,location:se(s,this.clonePosition())})}}}return{val:r,err:null}},t.prototype.parseTag=function(t,e){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:wt.literal,value:"<".concat(r,"/>"),location:se(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:wt.tag,value:r,children:o,location:se(i,this.clonePosition())},err:null}:this.error(Bt.INVALID_TAG,se(s,this.clonePosition())))}return this.error(Bt.UNCLOSED_TAG,se(i,this.clonePosition()))}return this.error(Bt.INVALID_TAG,se(i,this.clonePosition()))},t.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Pe(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var i=this.clonePosition(),r="";;){var n=this.tryParseQuote(e);if(n)r+=n;else{var o=this.tryParseUnquoted(t,e);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=se(i,this.clonePosition());return{val:{type:wt.literal,value:r,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Te(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(i);this.bump()}return be.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===e||"selectordinal"===e)||125===i&&t>0?null:(this.bump(),be(i))},t.prototype.parseArgument=function(t,e){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,se(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Bt.EMPTY_ARGUMENT,se(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Bt.MALFORMED_ARGUMENT,se(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,se(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:wt.argument,value:r,location:se(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,se(i,this.clonePosition())):this.parseArgumentOptions(t,e,r,i);default:return this.error(Bt.MALFORMED_ARGUMENT,se(i,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),i=fe(this.message,e),r=e+i.length;return this.bumpTo(r),{value:i,location:se(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,i,r){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(a){case"":return this.error(Bt.EXPECT_ARGUMENT_TYPE,se(s,h));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(m=_e(v.val)).length)return this.error(Bt.EXPECT_ARGUMENT_STYLE,se(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:se(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var d=se(r,this.clonePosition());if(l&&ge(null==l?void 0:l.style,"::",0)){var p=Ee(l.style.slice(2));if("number"===a)return(v=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?v:{val:{type:wt.number,value:i,location:d,style:v.val},err:null};if(0===p.length)return this.error(Bt.EXPECT_DATE_TIME_SKELETON,d);var u=p;this.locale&&(u=function(t,e){for(var i="",r=0;r>1),h=re(e);for("H"!=h&&"k"!=h||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=h+i}else i+="J"===n?"H":n}return i}(p,this.locale));var m={type:Ct.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Vt(u):{}};return{val:{type:"date"===a?wt.date:wt.time,value:i,location:d,style:m},err:null}}return{val:{type:"number"===a?wt.number:"date"===a?wt.date:wt.time,value:i,location:d,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Bt.EXPECT_SELECT_ARGUMENT_OPTIONS,se(f,n({},f)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),b=0;if("select"!==a&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(Bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,se(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Bt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),g=this.parseIdentifierIfPossible(),b=v.val}var y,E=this.tryParsePluralOrSelectOptions(t,a,e,g);if(E.err)return E;if((y=this.tryParseArgumentClose(r)).err)return y;var _=se(r,this.clonePosition());return"select"===a?{val:{type:wt.select,value:i,options:ve(E.val),location:_},err:null}:{val:{type:wt.plural,value:i,options:ve(E.val),offset:b,pluralType:"plural"===a?"cardinal":"ordinal",location:_},err:null};default:return this.error(Bt.INVALID_ARGUMENT_TYPE,se(s,h))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Bt.EXPECT_ARGUMENT_CLOSING_BRACE,se(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Bt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,se(i,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var i=[];try{i=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=t.split(zt).filter((function(t){return t.length>0})),i=[],r=0,n=e;r=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=se(r,this.clonePosition());return n?ue(o*=i)?{val:o,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=ye(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(ge(this.message,t,this.offset())){for(var e=0;e=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Se(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),i=this.message.charCodeAt(e+(t>=65536?2:1));return null!=i?i:null},t}();function Te(t){return t>=97&&t<=122||t>=65&&t<=90}function Pe(t){return 45===t||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Se(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function Be(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function we(t){t.forEach((function(t){if(delete t.location,Ot(t)||Rt(t))for(var e in t.options)delete t.options[e].location,we(t.options[e].value);else Nt(t)&&Dt(t.style)||(Mt(t)||It(t))&&Gt(t.style)?delete t.style.location:kt(t)&&we(t.children)}))}function Ce(t,e){void 0===e&&(e={}),e=n({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var i=new He(t,e).parse();if(i.err){var r=SyntaxError(Bt[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return(null==e?void 0:e.captureLocation)||we(i.val),i.val}function $e(t,e){var i=e&&e.cache?e.cache:ke,r=e&&e.serializer?e.serializer:Oe;return(e&&e.strategy?e.strategy:Ie)(t,{cache:i,serializer:r})}function Le(t,e,i,r){var n,o=null==(n=r)||"number"==typeof n||"boolean"==typeof n?r:i(r),s=e.get(o);return void 0===s&&(s=t.call(this,r),e.set(o,s)),s}function Ne(t,e,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=e.get(n);return void 0===o&&(o=t.apply(this,r),e.set(n,o)),o}function Me(t,e,i,r,n){return i.bind(e,t,r,n)}function Ie(t,e){return Me(t,this,1===t.length?Le:Ne,e.cache.create(),e.serializer)}var Oe=function(){return JSON.stringify(arguments)};function Re(){this.cache=Object.create(null)}Re.prototype.get=function(t){return this.cache[t]},Re.prototype.set=function(t,e){this.cache[t]=e};var Ue,ke={create:function(){return new Re}},De={variadic:function(t,e){return Me(t,this,Ne,e.cache.create(),e.serializer)},monadic:function(t,e){return Me(t,this,Le,e.cache.create(),e.serializer)}};!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(Ue||(Ue={}));var Ge,Fe=function(t){function e(e,i,r){var n=t.call(this,e)||this;return n.code=i,n.originalMessage=r,n}return r(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),je=function(t){function e(e,i,r,n){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Ue.INVALID_VALUE,n)||this}return r(e,t),e}(Fe),Ve=function(t){function e(e,i,r){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(i),Ue.INVALID_VALUE,r)||this}return r(e,t),e}(Fe),ze=function(t){function e(e,i){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(i,'"'),Ue.MISSING_VALUE,i)||this}return r(e,t),e}(Fe);function We(t){return"function"==typeof t}function Xe(t,e,i,r,n,o,s){if(1===t.length&&$t(t[0]))return[{type:Ge.literal,value:t[0].value}];for(var a=[],h=0,l=t;h0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=Ce,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const Ze=Ye;class qe{constructor(){this.lang=Je("lang",document?.documentElement?.getAttribute("lang")),this.dir=Je("dir",document?.documentElement?.getAttribute("dir")),new MutationObserver((()=>{document.dispatchEvent(new CustomEvent("localeChanged",{detail:{lang:this.lang=Je("lang",document.documentElement.lang),dir:this.dir=Je("dir",document.documentElement.dir)}}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}}function Je(t,e){return"lang"===t?e&&e.includes("-")&&e.length>=5?e.toLowerCase():"en-us":"dir"===t?e&&e.match(/^(ltr|rtl)$/i)?e.toLowerCase():"ltr":(console.warn("Invalid validation type!"),"")}const Qe=function(){let t;return function(){return t||(t=new qe),t}}(),ti=(t=>{class e extends t{constructor(){super(...arguments),this.i18nManager=Qe(),this.locChangeHandler=t=>{this.lang=t.detail.lang,this.dir=t.detail.dir,this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.lang=this.i18nManager?.lang||"en-us",this.dir=this.i18nManager?.dir||"ltr",document.addEventListener("localeChanged",this.locChangeHandler)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("localeChanged",this.locChangeHandler)}msg(t,e){if(!t||!this.lang)return"";let i=this.translations?.[t];const r=this.constructor.dict;return i||(i=r?.[t]||""),this.format(i,e)}format(t,e){return new Ze(t,this.lang).format(e)}}return e.dict={},o([bt({type:Object,reflect:!1})],e.prototype,"translations",void 0),e})(ut);let ei=class extends ti{constructor(){super(...arguments),this.placeholderImage=St.PLACEHOLDER_IMAGEURL,this.darkTheme=!1,this.currentPosition=0,this.totalSlides=0,this.totalWidth=0,this.itemWidth=0,this.isMobile=!1,this.numImages=0,this.containerWidth=0,this.cardsPerSlide=0,this.modalNumber=0,this.wasMobile=!1}firstUpdated(){this.numImages=this._carouselImg.length,this.totalSlides=Math.ceil(this.numImages/this.cardsPerSlide),this.itemWidth=this._carouselImg[0]?.clientWidth||0,this.totalWidth=this.numImages*this.itemWidth,this.containerWidth=this._carouselContainer[0]?.clientWidth||0,this.cardsPerSlide=this.isMobile?1:2,this.modalNumber=0}updateMobileSize(){const t=this.isMobile;this.isMobile=window.innerWidth<=860,t!==this.isMobile&&(this.currentPosition=0,this._carouselElement[0].style.transform=`translateX(${this.currentPosition}px)`),this.firstUpdated(),this.updateDots()}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",(()=>this.updateMobileSize())),this.updateMobileSize()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",(()=>this.updateMobileSize()))}_setupEventListeners(t){const e=Number(t.currentTarget.getAttribute("data-index"))||this.modalNumber;this._showPopup(t,e),this._modalCloseBtn[e]?.addEventListener("click",(()=>{this._pauseVideo(e),this._navBtnPause[e].style.display="none",this._navBtnPlay[e].style.display="block",this._hidePopup(e)})),this._navBtnPause[e]&&(this._navBtnPause[e].style.display="none",this._navBtnPlay[e]?.addEventListener("click",(()=>{this._playVideo(e),this._navBtnPlay[e].style.display="none",this._navBtnPause[e].style.display="block"})),this._navBtnPause[e].addEventListener("click",(()=>{this._pauseVideo(e),this._navBtnPause[e].style.display="none",this._navBtnPlay[e].style.display="block"})))}_showPopup(t,e){this._overlay[0]&&this._modalBox[e]&&(!t||t instanceof PointerEvent)&&(this._overlay[0].style.display="block",this._modalBox[e].style.display="block")}_hidePopup(t){this._overlay[0]&&this._modalBox[t]&&(this._overlay[0].style.display="none",this._modalBox[t].style.display="none")}_playVideo(t){this._popupVideo[t].play()}_pauseVideo(t){this._popupVideo[t].pause()}renderDetailTitle(t,e){return""===t?J:At` `}renderImage(t){return At` ${t.alt} `}renderCarouselVideo(t){return At` `}renderCardLinks(t,e){return void 0!==t.video.metadata?At` ${t.watchVideoText} `:""}renderSlides(){return At` ${this.itemsContent.items?.map(((t,e)=>At`
${this.renderImage(t.image)}
${this.renderCardLinks(t,e)} this.handleFocusIn(e)} name="slide-links-${e}" >
`))} `}handleFocusIn(t){const e=Math.max(Math.floor(t/this.cardsPerSlide),0);this.currentPosition=-e*this.itemWidth*this.cardsPerSlide,this.slide()}renderDots(){return At` ${this.itemsContent?.items?.map(((t,e)=>e `:At``))}`}updateDots(){for(const t of this._dots)t.classList.remove("active"),t.style&&(t.style.background="");const t=Math.ceil(Math.abs(this.currentPosition)/(this.itemWidth*this.cardsPerSlide));this._dots[t]?.classList.add("active"),this._dots[t]&&(this._dots[t].style.background=this.itemsContent.paginationButtonBorderGradient?this.itemsContent.paginationButtonBorderGradient:this.itemsContent.paginationActiveDotColor)}slide(t){if("next"===t)this.currentPosition-=this.cardsPerSlide*this.itemWidth,this.currentPosition<=-this.numImages*this.itemWidth&&(this.currentPosition=0);else if("prev"===t){const t=this.numImages-1;this.currentPosition+=this.cardsPerSlide*this.itemWidth,this.currentPosition>0&&(this.currentPosition=t*-this.itemWidth)}this._carouselElement[0].style.transform="rtl"===this.dir?`translateX(${-this.currentPosition}px)`:`translateX(${this.currentPosition}px)`,this.updateDots()}renderModal(t){return At` ${t?.map(((t,e)=>At` ${void 0!==t.video?At` `:""} `))} `}render(){return At` `}};var ii;return ei.styles=Pt,o([bt({type:Object})],ei.prototype,"itemsContent",void 0),o([bt({attribute:"dark-theme"})],ei.prototype,"darkTheme",void 0),o([vt()],ei.prototype,"currentPosition",void 0),o([vt()],ei.prototype,"totalSlides",void 0),o([vt()],ei.prototype,"totalWidth",void 0),o([vt()],ei.prototype,"itemWidth",void 0),o([vt()],ei.prototype,"isMobile",void 0),o([vt()],ei.prototype,"numImages",void 0),o([vt()],ei.prototype,"containerWidth",void 0),o([vt()],ei.prototype,"cardsPerSlide",void 0),o([vt()],ei.prototype,"modalNumber",void 0),o([vt()],ei.prototype,"wasMobile",void 0),o([Tt(".dot")],ei.prototype,"_dots",void 0),o([Tt(".carousel")],ei.prototype,"_carouselElement",void 0),o([Tt(".carousel-container")],ei.prototype,"_carouselContainer",void 0),o([Tt(".carousel img")],ei.prototype,"_carouselImg",void 0),o([Tt(".video-popup-btn")],ei.prototype,"_videoPopupBtn",void 0),o([Tt(".modal-close-btn")],ei.prototype,"_modalCloseBtn",void 0),o([Tt(".nav-btn-play")],ei.prototype,"_navBtnPlay",void 0),o([Tt(".nav-btn-pause")],ei.prototype,"_navBtnPause",void 0),o([Tt(".overlay")],ei.prototype,"_overlay",void 0),o([Tt(".modal-box")],ei.prototype,"_modalBox",void 0),o([Tt(".cmp-popup-video")],ei.prototype,"_popupVideo",void 0),ei=o([(ii="cascade-stories-carousel",(t,e)=>{customElements.get(ii)?console.warn(`${ii} is already defined.`):void 0!==e?e.addInitializer((()=>{customElements.define(ii,t)})):customElements.define(ii,t)})],ei),e})(),t.exports=e()}},e={};function i(r){var n=e[r];if(void 0!==n)return n.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";i(6289)})()})();