@content-blocks/js 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/content-accordion.cjs.entry.js +1 -1
- package/dist/cjs/content-blocks.cjs.js +2 -2
- package/dist/cjs/content-blocks.cjs.js.map +1 -1
- package/dist/cjs/content-button_10.cjs.entry.js +1 -1
- package/dist/cjs/content-button_10.cjs.entry.js.map +1 -1
- package/dist/cjs/{content-carousel-c8e0a9a9.js → content-carousel-d866cb77.js} +27 -22
- package/dist/cjs/content-carousel-d866cb77.js.map +1 -0
- package/dist/cjs/content-carousel.cjs.entry.js +2 -2
- package/dist/cjs/content-navigation-block.cjs.entry.js +4 -6
- package/dist/cjs/content-navigation-block.cjs.entry.js.map +1 -1
- package/dist/cjs/content-split-block.cjs.entry.js +1 -1
- package/dist/cjs/content-split-block.cjs.entry.js.map +1 -1
- package/dist/cjs/content-tabs.cjs.entry.js +1 -1
- package/dist/cjs/{index-e93f381a.js → index-239b1c46.js} +232 -102
- package/dist/cjs/index-239b1c46.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{swiper-d0296c76.js → swiper-2fe1b80b.js} +421 -149
- package/dist/cjs/swiper-2fe1b80b.js.map +1 -0
- package/dist/collection/blocks/content-hero-block/content-hero-block.js.map +1 -1
- package/dist/collection/blocks/content-split-block/content-split-block.js.map +1 -1
- package/dist/collection/blocks/content-text-block/content-text-block.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/content-carousel/content-carousel.css +3 -3
- package/dist/collection/components/content-navigation-block/content-navigation-block.js +3 -5
- package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +1 -1
- package/dist/collection/elements/content-button/content-button.js.map +1 -1
- package/dist/collection/elements/content-line/content-line.js.map +1 -1
- package/dist/collection/elements/content-video/content-video.js.map +1 -1
- package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js.map +1 -1
- package/dist/components/content-button.js.map +1 -1
- package/dist/components/content-carousel.js +24 -20
- package/dist/components/content-carousel.js.map +1 -1
- package/dist/components/content-grid-formatter2.js.map +1 -1
- package/dist/components/content-hero-block.js.map +1 -1
- package/dist/components/content-line.js.map +1 -1
- package/dist/components/content-navigation-block.js +3 -5
- package/dist/components/content-navigation-block.js.map +1 -1
- package/dist/components/content-split-block.js.map +1 -1
- package/dist/components/content-text-block.js.map +1 -1
- package/dist/components/content-video.js.map +1 -1
- package/dist/components/swiper.js +419 -147
- package/dist/components/swiper.js.map +1 -1
- package/dist/content-blocks/content-blocks.esm.js +1 -1
- package/dist/content-blocks/content-blocks.esm.js.map +1 -1
- package/dist/content-blocks/p-08143d3f.js +2 -0
- package/dist/content-blocks/p-08143d3f.js.map +1 -0
- package/dist/content-blocks/{p-057c0e4d.entry.js → p-14dd6549.entry.js} +2 -2
- package/dist/content-blocks/p-14dd6549.entry.js.map +1 -0
- package/dist/content-blocks/{p-b1300b9a.entry.js → p-1947500c.entry.js} +2 -2
- package/dist/content-blocks/p-1947500c.entry.js.map +1 -0
- package/dist/content-blocks/p-26ff44fc.js +6 -6
- package/dist/content-blocks/{p-01952c81.entry.js → p-3732482d.entry.js} +2 -2
- package/dist/content-blocks/p-3732482d.entry.js.map +1 -0
- package/dist/content-blocks/p-3b4be54b.js +2 -0
- package/dist/content-blocks/p-3b4be54b.js.map +1 -0
- package/dist/content-blocks/{p-914e3550.entry.js → p-8d44f285.entry.js} +2 -2
- package/dist/content-blocks/p-a802c984.entry.js +2 -0
- package/dist/content-blocks/{p-2ec7fda2.entry.js → p-b27f84ad.entry.js} +2 -2
- package/dist/content-blocks/p-dc53dda7.js +3 -0
- package/dist/content-blocks/p-dc53dda7.js.map +1 -0
- package/dist/esm/content-accordion.entry.js +1 -1
- package/dist/esm/content-blocks.js +3 -3
- package/dist/esm/content-blocks.js.map +1 -1
- package/dist/esm/content-button_10.entry.js +1 -1
- package/dist/esm/content-button_10.entry.js.map +1 -1
- package/dist/esm/{content-carousel-f971cfcd.js → content-carousel-af580def.js} +27 -23
- package/dist/esm/content-carousel-af580def.js.map +1 -0
- package/dist/esm/content-carousel.entry.js +2 -2
- package/dist/esm/content-navigation-block.entry.js +4 -6
- package/dist/esm/content-navigation-block.entry.js.map +1 -1
- package/dist/esm/content-split-block.entry.js +1 -1
- package/dist/esm/content-split-block.entry.js.map +1 -1
- package/dist/esm/content-tabs.entry.js +1 -1
- package/dist/esm/{index-9501de67.js → index-6e48707b.js} +232 -102
- package/dist/esm/index-6e48707b.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{swiper-7d87458d.js → swiper-3d1a80cc.js} +421 -149
- package/dist/esm/swiper-3d1a80cc.js.map +1 -0
- package/dist/types/blocks/content-hero-block/content-hero-block.d.ts +0 -2
- package/dist/types/blocks/content-text-block/content-text-block.d.ts +0 -2
- package/dist/types/components/content-navigation-block/content-navigation-block.d.ts +0 -2
- package/dist/types/components.d.ts +11 -0
- package/dist/types/elements/content-button/content-button.d.ts +0 -2
- package/dist/types/elements/content-line/content-line.d.ts +0 -2
- package/dist/types/elements/content-video/content-video.d.ts +0 -2
- package/dist/types/formatters/content-grid-formatter/content-grid-formatter.d.ts +0 -2
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/package.json +11 -11
- package/dist/cjs/content-carousel-c8e0a9a9.js.map +0 -1
- package/dist/cjs/index-e93f381a.js.map +0 -1
- package/dist/cjs/swiper-d0296c76.js.map +0 -1
- package/dist/content-blocks/p-01952c81.entry.js.map +0 -1
- package/dist/content-blocks/p-057c0e4d.entry.js.map +0 -1
- package/dist/content-blocks/p-3f3a30b1.entry.js +0 -2
- package/dist/content-blocks/p-8a8f13fb.js +0 -2
- package/dist/content-blocks/p-8a8f13fb.js.map +0 -1
- package/dist/content-blocks/p-b1300b9a.entry.js.map +0 -1
- package/dist/content-blocks/p-cd3c0fce.js +0 -3
- package/dist/content-blocks/p-cd3c0fce.js.map +0 -1
- package/dist/content-blocks/p-d8dc8d1e.js +0 -2
- package/dist/content-blocks/p-d8dc8d1e.js.map +0 -1
- package/dist/esm/content-carousel-f971cfcd.js.map +0 -1
- package/dist/esm/index-9501de67.js.map +0 -1
- package/dist/esm/swiper-7d87458d.js.map +0 -1
- /package/dist/content-blocks/{p-914e3550.entry.js.map → p-8d44f285.entry.js.map} +0 -0
- /package/dist/content-blocks/{p-3f3a30b1.entry.js.map → p-a802c984.entry.js.map} +0 -0
- /package/dist/content-blocks/{p-2ec7fda2.entry.js.map → p-b27f84ad.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as n,H as o,g as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as n,H as o,g as e}from"./p-dc53dda7.js";import{W as i}from"./p-7c392ce7.js";import"./p-6b439c9f.js";import"./p-cd552ce2.js";const a="body.content-navigation-block-open{overflow:hidden}content-navigation-block{visibility:hidden}content-navigation-block.hydrated{visibility:inherit}content-navigation-block[hamburger=fixed],content-navigation-block[hamburger=absolute],content-navigation-block[hamburger=static]{display:inline-block}content-navigation-block[hamburger=fixed][aria-expanded=false] [slot=closeButton],content-navigation-block[hamburger=absolute][aria-expanded=false] [slot=closeButton],content-navigation-block[hamburger=static][aria-expanded=false] [slot=closeButton]{display:none}content-navigation-block[hamburger=fixed] [slot=openButton],content-navigation-block[hamburger=fixed] [slot=closeButton],content-navigation-block[hamburger=absolute] [slot=openButton],content-navigation-block[hamburger=absolute] [slot=closeButton],content-navigation-block[hamburger=static] [slot=openButton],content-navigation-block[hamburger=static] [slot=closeButton]{cursor:pointer}content-navigation-block[hamburger=fixed] [slot=content],content-navigation-block[hamburger=absolute] [slot=content],content-navigation-block[hamburger=static] [slot=content]{display:none;background:white}content-navigation-block[hamburger=fixed] [slot=content][hidden=false],content-navigation-block[hamburger=absolute] [slot=content][hidden=false],content-navigation-block[hamburger=static] [slot=content][hidden=false]{display:block}content-navigation-block[hamburger=fixed] [slot=content]{position:fixed;left:0;top:0;width:100vw;height:100%;z-index:100}content-navigation-block[hamburger=absolute] [slot=content]{position:absolute;z-index:100}content-navigation-block[hamburger=static] [slot=content]{position:static}content-navigation-block[hamburger=none]{display:block}content-navigation-block[hamburger=none] [slot=openButton],content-navigation-block[hamburger=none] [slot=closeButton]{display:none}";const s=class{constructor(n){t(this,n);this.hamburger="fixed|none";this.classes=undefined;this.classString=undefined;this.ariaExpanded="false";this.bodyToggle=false}componentWillLoad(){let t=[];t.push(i.registerProp(this.classes).subscribe((t=>{this.classString=t})));t.push(i.registerProp(this.hamburger).subscribe((t=>{this.hamburger=t;this.bodyToggle=this.hamburger==="fixed";document.body.classList.remove("content-navigation-block-open")})));return Promise.allSettled(t)}componentDidLoad(){let t=this.hostElement.querySelector('[slot="openButton"]');let n=this.hostElement.querySelector('[slot="closeButton"]');let o=this.hostElement.querySelector('[slot="content"]');t.onclick=()=>{this.ariaExpanded=this.ariaExpanded==="true"?"false":"true";o.setAttribute("hidden",this.ariaExpanded==="false"?"true":"false");if(this.ariaExpanded==="false"){document.body.classList.remove("content-navigation-block-open")}else if(this.bodyToggle){document.body.classList.add("content-navigation-block-open")}setTimeout((()=>n.focus()),1)};n.onclick=()=>{this.ariaExpanded="false";o.setAttribute("hidden","true");document.body.classList.remove("content-navigation-block-open");setTimeout((()=>t.focus()),1)}}render(){return n(o,{class:this.classString,"aria-expanded":this.ariaExpanded},n("slot",null),n("slot",{name:"openButton"}),n("slot",{name:"closeButton"}),n("slot",{name:"content"}))}get hostElement(){return e(this)}};s.style=a;export{s as content_navigation_block};
|
|
2
|
+
//# sourceMappingURL=p-3732482d.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["contentNavigationBlockCss","ContentNavigationBlock","componentWillLoad","promises","push","WindowResizeService","registerProp","this","classes","subscribe","newValue","classString","hamburger","bodyToggle","document","body","classList","remove","Promise","allSettled","componentDidLoad","openButton","hostElement","querySelector","closeButton","content","onclick","ariaExpanded","setAttribute","add","setTimeout","focus","render","h","Host","class","name"],"sources":["src/components/content-navigation-block/content-navigation-block.scss?tag=content-navigation-block","src/components/content-navigation-block/content-navigation-block.tsx"],"sourcesContent":["body.content-navigation-block-open {\n overflow: hidden;\n}\ncontent-navigation-block {\n visibility: hidden;\n &.hydrated {\n visibility: inherit;\n }\n \n &[hamburger=\"fixed\"],\n &[hamburger=\"absolute\"],\n &[hamburger=\"static\"] {\n display: inline-block;\n &[aria-expanded=\"false\"] {\n [slot=\"closeButton\"] {\n display: none;\n }\n }\n [slot=\"openButton\"],\n [slot=\"closeButton\"] {\n cursor: pointer;\n }\n \n [slot=\"content\"] {\n display: none;\n background: white;\n &[hidden=\"false\"] {\n display: block;\n }\n }\n }\n\n &[hamburger=\"fixed\"] {\n [slot=\"content\"] {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100%;\n z-index: 100;\n }\n }\n &[hamburger=\"absolute\"] {\n [slot=\"content\"] {\n position: absolute;\n z-index: 100;\n }\n }\n &[hamburger=\"static\"] {\n [slot=\"content\"] {\n position: static;\n }\n }\n \n &[hamburger=\"none\"] {\n display: block;\n [slot=\"openButton\"],\n [slot=\"closeButton\"] {\n display: none;\n }\n }\n}","import { Component, Prop, Host, h, State, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\n\n/**\n * @slot openButton - This slot will expand the navigation when clicked.\n * @slot closeButton - This slot will close the navigation when clicked.\n * @slot content - Default slot\n */\n@Component({\n tag: 'content-navigation-block',\n styleUrl: 'content-navigation-block.scss',\n shadow: false,\n})\nexport class ContentNavigationBlock {\n /**\n * @type Select\n * @responsive\n * @options fixed\n * @options absolute\n * @options static\n * @options none\n */\n @Prop({\n mutable: true,\n reflect: true\n }) hamburger: ResponsiveString = 'fixed|none';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true\n }) classes: ResponsiveString;\n @State() classString;\n @Element() hostElement: HTMLStencilElement;\n @State() ariaExpanded: string = 'false';\n @State() bodyToggle: boolean = false;\n\n componentWillLoad() {\n let promises = [];\n promises.push(WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n }));\n promises.push(WindowResizeService.registerProp(this.hamburger).subscribe(newValue => {\n this.hamburger = newValue as string;\n this.bodyToggle = this.hamburger === 'fixed';\n document.body.classList.remove('content-navigation-block-open');\n }));\n return Promise.allSettled(promises);\n }\n componentDidLoad() {\n let openButton = this.hostElement.querySelector('[slot=\"openButton\"]') as HTMLElement;\n let closeButton = this.hostElement.querySelector('[slot=\"closeButton\"]') as HTMLElement;\n let content = this.hostElement.querySelector('[slot=\"content\"]') as HTMLElement;\n\n openButton.onclick = () => {\n this.ariaExpanded = this.ariaExpanded === 'true' ? 'false' : 'true';\n content.setAttribute('hidden', this.ariaExpanded === 'false' ? 'true' : 'false');\n if (this.ariaExpanded === 'false') {\n document.body.classList.remove('content-navigation-block-open');\n } else if (this.bodyToggle) {\n document.body.classList.add('content-navigation-block-open');\n }\n setTimeout(() => closeButton.focus(), 1);\n };\n closeButton.onclick = () => {\n this.ariaExpanded = 'false';\n content.setAttribute('hidden', 'true');\n document.body.classList.remove('content-navigation-block-open');\n setTimeout(() => openButton.focus(), 1);\n };\n }\n \n render() {\n return (\n <Host class={this.classString} aria-expanded={this.ariaExpanded}>\n <slot></slot>\n <slot name=\"openButton\"></slot>\n <slot name=\"closeButton\"></slot>\n <slot name=\"content\"></slot>\n </Host>\n );\n }\n\n}\n"],"mappings":"6IAAA,MAAMA,EAA4B,k0D,MCerBC,EAAsB,M,wCAYA,a,oEAYD,Q,gBACD,K,CAE/B,iBAAAC,GACE,IAAIC,EAAW,GACfA,EAASC,KAAKC,EAAoBC,aAAaC,KAAKC,SAASC,WAAUC,IACrEH,KAAKI,YAAcD,CAAkB,KAEvCP,EAASC,KAAKC,EAAoBC,aAAaC,KAAKK,WAAWH,WAAUC,IACvEH,KAAKK,UAAYF,EACjBH,KAAKM,WAAaN,KAAKK,YAAc,QACrCE,SAASC,KAAKC,UAAUC,OAAO,gCAAgC,KAEjE,OAAOC,QAAQC,WAAWhB,E,CAE5B,gBAAAiB,GACE,IAAIC,EAAad,KAAKe,YAAYC,cAAc,uBAChD,IAAIC,EAAcjB,KAAKe,YAAYC,cAAc,wBACjD,IAAIE,EAAUlB,KAAKe,YAAYC,cAAc,oBAE7CF,EAAWK,QAAU,KACnBnB,KAAKoB,aAAepB,KAAKoB,eAAiB,OAAS,QAAU,OAC7DF,EAAQG,aAAa,SAAUrB,KAAKoB,eAAiB,QAAU,OAAS,SACxE,GAAIpB,KAAKoB,eAAiB,QAAS,CACjCb,SAASC,KAAKC,UAAUC,OAAO,gC,MAC1B,GAAIV,KAAKM,WAAY,CAC1BC,SAASC,KAAKC,UAAUa,IAAI,gC,CAE9BC,YAAW,IAAMN,EAAYO,SAAS,EAAE,EAE1CP,EAAYE,QAAU,KACpBnB,KAAKoB,aAAe,QACpBF,EAAQG,aAAa,SAAU,QAC/Bd,SAASC,KAAKC,UAAUC,OAAO,iCAC/Ba,YAAW,IAAMT,EAAWU,SAAS,EAAE,C,CAI3C,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAO5B,KAAKI,YAAW,gBAAiBJ,KAAKoB,cAC/CM,EAAA,aACAA,EAAA,QAAMG,KAAK,eACXH,EAAA,QAAMG,KAAK,gBACbH,EAAA,QAAMG,KAAK,Y"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e,h as i,H as t,g as r}from"./p-dc53dda7.js";import{B as s}from"./p-cd552ce2.js";function n(e){return e!==null&&typeof e==="object"&&"constructor"in e&&e.constructor===Object}function a(e,i){if(e===void 0){e={}}if(i===void 0){i={}}Object.keys(i).forEach((t=>{if(typeof e[t]==="undefined")e[t]=i[t];else if(n(i[t])&&n(e[t])&&Object.keys(i[t]).length>0){a(e[t],i[t])}}))}const o={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 p(){const e=typeof document!=="undefined"?document:{};a(e,o);return e}const l={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function e(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){if(typeof setTimeout==="undefined"){e();return null}return setTimeout(e,0)},cancelAnimationFrame(e){if(typeof setTimeout==="undefined"){return}clearTimeout(e)}};function c(){const e=typeof window!=="undefined"?window:{};a(e,l);return e}function w(e){if(e===void 0){e=""}return e.trim().split(" ").filter((e=>!!e.trim()))}function d(e){const i=e;Object.keys(i).forEach((e=>{try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}}))}function f(e,i){if(i===void 0){i=0}return setTimeout(e,i)}function u(){return Date.now()}function g(e){const i=c();let t;if(i.getComputedStyle){t=i.getComputedStyle(e,null)}if(!t&&e.currentStyle){t=e.currentStyle}if(!t){t=e.style}return t}function b(e,i){if(i===void 0){i="x"}const t=c();let r;let s;let n;const a=g(e);if(t.WebKitCSSMatrix){s=a.transform||a.webkitTransform;if(s.split(",").length>6){s=s.split(", ").map((e=>e.replace(",","."))).join(", ")}n=new t.WebKitCSSMatrix(s==="none"?"":s)}else{n=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,");r=n.toString().split(",")}if(i==="x"){if(t.WebKitCSSMatrix)s=n.m41;else if(r.length===16)s=parseFloat(r[12]);else s=parseFloat(r[4])}if(i==="y"){if(t.WebKitCSSMatrix)s=n.m42;else if(r.length===16)s=parseFloat(r[13]);else s=parseFloat(r[5])}return s||0}function A(e){return typeof e==="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function h(e){if(typeof window!=="undefined"&&typeof window.HTMLElement!=="undefined"){return e instanceof HTMLElement}return e&&(e.nodeType===1||e.nodeType===11)}function v(){const e=Object(arguments.length<=0?undefined:arguments[0]);const i=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const r=t<0||arguments.length<=t?undefined:arguments[t];if(r!==undefined&&r!==null&&!h(r)){const t=Object.keys(Object(r)).filter((e=>i.indexOf(e)<0));for(let i=0,s=t.length;i<s;i+=1){const s=t[i];const n=Object.getOwnPropertyDescriptor(r,s);if(n!==undefined&&n.enumerable){if(A(e[s])&&A(r[s])){if(r[s].__swiper__){e[s]=r[s]}else{v(e[s],r[s])}}else if(!A(e[s])&&A(r[s])){e[s]={};if(r[s].__swiper__){e[s]=r[s]}else{v(e[s],r[s])}}else{e[s]=r[s]}}}}}return e}function m(e,i,t){e.style.setProperty(i,t)}function y(e){let{swiper:i,targetPosition:t,side:r}=e;const s=c();const n=-i.translate;let a=null;let o;const p=i.params.speed;i.wrapperEl.style.scrollSnapType="none";s.cancelAnimationFrame(i.cssModeFrameID);const l=t>n?"next":"prev";const w=(e,i)=>l==="next"&&e>=i||l==="prev"&&e<=i;const d=()=>{o=(new Date).getTime();if(a===null){a=o}const e=Math.max(Math.min((o-a)/p,1),0);const l=.5-Math.cos(e*Math.PI)/2;let c=n+l*(t-n);if(w(c,t)){c=t}i.wrapperEl.scrollTo({[r]:c});if(w(c,t)){i.wrapperEl.style.overflow="hidden";i.wrapperEl.style.scrollSnapType="";setTimeout((()=>{i.wrapperEl.style.overflow="";i.wrapperEl.scrollTo({[r]:c})}));s.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=s.requestAnimationFrame(d)};d()}function x(e,i){if(i===void 0){i=""}return[...e.children].filter((e=>e.matches(i)))}function k(e){try{console.warn(e);return}catch(e){}}function z(e,i){if(i===void 0){i=[]}const t=document.createElement(e);t.classList.add(...Array.isArray(i)?i:w(i));return t}function E(e,i){const t=[];while(e.previousElementSibling){const r=e.previousElementSibling;if(i){if(r.matches(i))t.push(r)}else t.push(r);e=r}return t}function B(e,i){const t=[];while(e.nextElementSibling){const r=e.nextElementSibling;if(i){if(r.matches(i))t.push(r)}else t.push(r);e=r}return t}function Y(e,i){const t=c();return t.getComputedStyle(e,null).getPropertyValue(i)}function C(e){let i=e;let t;if(i){t=0;while((i=i.previousSibling)!==null){if(i.nodeType===1)t+=1}return t}return undefined}function M(e,i){const t=[];let r=e.parentElement;while(r){if(i){if(r.matches(i))t.push(r)}else{t.push(r)}r=r.parentElement}return t}function G(e,i,t){const r=c();if(t){return e[i==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(i==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(i==="width"?"margin-left":"margin-bottom"))}return e.offsetWidth}function j(e,i,t,r){if(e.params.createElements){Object.keys(r).forEach((s=>{if(!t[s]&&t.auto===true){let n=x(e.el,`.${r[s]}`)[0];if(!n){n=z("div",r[s]);n.className=r[s];e.el.append(n)}t[s]=n;i[s]=n}}))}return t}function O(e){let{swiper:i,extendParams:t,on:r,emit:s}=e;t({navigation:{nextEl:null,prevEl:null,hideOnClick:false,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}});i.navigation={nextEl:null,prevEl:null};const n=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function a(e){let t;if(e&&typeof e==="string"&&i.isElement){t=i.el.querySelector(e);if(t)return t}if(e){if(typeof e==="string")t=[...document.querySelectorAll(e)];if(i.params.uniqueNavElements&&typeof e==="string"&&t.length>1&&i.el.querySelectorAll(e).length===1){t=i.el.querySelector(e)}}if(e&&!t)return e;return t}function o(e,t){const r=i.params.navigation;e=n(e);e.forEach((e=>{if(e){e.classList[t?"add":"remove"](...r.disabledClass.split(" "));if(e.tagName==="BUTTON")e.disabled=t;if(i.params.watchOverflow&&i.enabled){e.classList[i.isLocked?"add":"remove"](r.lockClass)}}}))}function p(){const{nextEl:e,prevEl:t}=i.navigation;if(i.params.loop){o(t,false);o(e,false);return}o(t,i.isBeginning&&!i.params.rewind);o(e,i.isEnd&&!i.params.rewind)}function l(e){e.preventDefault();if(i.isBeginning&&!i.params.loop&&!i.params.rewind)return;i.slidePrev();s("navigationPrev")}function c(e){e.preventDefault();if(i.isEnd&&!i.params.loop&&!i.params.rewind)return;i.slideNext();s("navigationNext")}function w(){const e=i.params.navigation;i.params.navigation=j(i,i.originalParams.navigation,i.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"});if(!(e.nextEl||e.prevEl))return;let t=a(e.nextEl);let r=a(e.prevEl);Object.assign(i.navigation,{nextEl:t,prevEl:r});t=n(t);r=n(r);const s=(t,r)=>{if(t){t.addEventListener("click",r==="next"?c:l)}if(!i.enabled&&t){t.classList.add(...e.lockClass.split(" "))}};t.forEach((e=>s(e,"next")));r.forEach((e=>s(e,"prev")))}function d(){let{nextEl:e,prevEl:t}=i.navigation;e=n(e);t=n(t);const r=(e,t)=>{e.removeEventListener("click",t==="next"?c:l);e.classList.remove(...i.params.navigation.disabledClass.split(" "))};e.forEach((e=>r(e,"next")));t.forEach((e=>r(e,"prev")))}r("init",(()=>{if(i.params.navigation.enabled===false){u()}else{w();p()}}));r("toEdge fromEdge lock unlock",(()=>{p()}));r("destroy",(()=>{d()}));r("enable disable",(()=>{let{nextEl:e,prevEl:t}=i.navigation;e=n(e);t=n(t);if(i.enabled){p();return}[...e,...t].filter((e=>!!e)).forEach((e=>e.classList.add(i.params.navigation.lockClass)))}));r("click",((e,t)=>{let{nextEl:r,prevEl:a}=i.navigation;r=n(r);a=n(a);const o=t.target;if(i.params.navigation.hideOnClick&&!a.includes(o)&&!r.includes(o)){if(i.pagination&&i.params.pagination&&i.params.pagination.clickable&&(i.pagination.el===o||i.pagination.el.contains(o)))return;let e;if(r.length){e=r[0].classList.contains(i.params.navigation.hiddenClass)}else if(a.length){e=a[0].classList.contains(i.params.navigation.hiddenClass)}if(e===true){s("navigationShow")}else{s("navigationHide")}[...r,...a].filter((e=>!!e)).forEach((e=>e.classList.toggle(i.params.navigation.hiddenClass)))}}));const f=()=>{i.el.classList.remove(...i.params.navigation.navigationDisabledClass.split(" "));w();p()};const u=()=>{i.el.classList.add(...i.params.navigation.navigationDisabledClass.split(" "));d()};Object.assign(i.navigation,{enable:f,disable:u,update:p,init:w,destroy:d})}function F(e){if(e===void 0){e=""}return`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function D(e){let{swiper:i,extendParams:t,on:r,emit:s}=e;const n="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:false,hideOnClick:false,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:false,type:"bullets",dynamicBullets:false,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}});i.pagination={el:null,bullets:[]};let a;let o=0;const p=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function l(){return!i.params.pagination.el||!i.pagination.el||Array.isArray(i.pagination.el)&&i.pagination.el.length===0}function c(e,t){const{bulletActiveClass:r}=i.params.pagination;if(!e)return;e=e[`${t==="prev"?"previous":"next"}ElementSibling`];if(e){e.classList.add(`${r}-${t}`);e=e[`${t==="prev"?"previous":"next"}ElementSibling`];if(e){e.classList.add(`${r}-${t}-${t}`)}}}function w(e){const t=e.target.closest(F(i.params.pagination.bulletClass));if(!t){return}e.preventDefault();const r=C(t)*i.params.slidesPerGroup;if(i.params.loop){if(i.realIndex===r)return;i.slideToLoop(r)}else{i.slideTo(r)}}function d(){const e=i.rtl;const t=i.params.pagination;if(l())return;let r=i.pagination.el;r=p(r);let n;let w;const d=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length;const f=i.params.loop?Math.ceil(d/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.loop){w=i.previousRealIndex||0;n=i.params.slidesPerGroup>1?Math.floor(i.realIndex/i.params.slidesPerGroup):i.realIndex}else if(typeof i.snapIndex!=="undefined"){n=i.snapIndex;w=i.previousSnapIndex}else{w=i.previousIndex||0;n=i.activeIndex||0}if(t.type==="bullets"&&i.pagination.bullets&&i.pagination.bullets.length>0){const s=i.pagination.bullets;let p;let l;let d;if(t.dynamicBullets){a=G(s[0],i.isHorizontal()?"width":"height",true);r.forEach((e=>{e.style[i.isHorizontal()?"width":"height"]=`${a*(t.dynamicMainBullets+4)}px`}));if(t.dynamicMainBullets>1&&w!==undefined){o+=n-(w||0);if(o>t.dynamicMainBullets-1){o=t.dynamicMainBullets-1}else if(o<0){o=0}}p=Math.max(n-o,0);l=p+(Math.min(s.length,t.dynamicMainBullets)-1);d=(l+p)/2}s.forEach((e=>{const i=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${t.bulletActiveClass}${e}`))].map((e=>typeof e==="string"&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...i)}));if(r.length>1){s.forEach((e=>{const r=C(e);if(r===n){e.classList.add(...t.bulletActiveClass.split(" "))}else if(i.isElement){e.setAttribute("part","bullet")}if(t.dynamicBullets){if(r>=p&&r<=l){e.classList.add(...`${t.bulletActiveClass}-main`.split(" "))}if(r===p){c(e,"prev")}if(r===l){c(e,"next")}}}))}else{const e=s[n];if(e){e.classList.add(...t.bulletActiveClass.split(" "))}if(i.isElement){s.forEach(((e,i)=>{e.setAttribute("part",i===n?"bullet-active":"bullet")}))}if(t.dynamicBullets){const e=s[p];const i=s[l];for(let e=p;e<=l;e+=1){if(s[e]){s[e].classList.add(...`${t.bulletActiveClass}-main`.split(" "))}}c(e,"prev");c(i,"next")}}if(t.dynamicBullets){const r=Math.min(s.length,t.dynamicMainBullets+4);const n=(a*r-a)/2-d*a;const o=e?"right":"left";s.forEach((e=>{e.style[i.isHorizontal()?o:"top"]=`${n}px`}))}}r.forEach(((e,r)=>{if(t.type==="fraction"){e.querySelectorAll(F(t.currentClass)).forEach((e=>{e.textContent=t.formatFractionCurrent(n+1)}));e.querySelectorAll(F(t.totalClass)).forEach((e=>{e.textContent=t.formatFractionTotal(f)}))}if(t.type==="progressbar"){let r;if(t.progressbarOpposite){r=i.isHorizontal()?"vertical":"horizontal"}else{r=i.isHorizontal()?"horizontal":"vertical"}const s=(n+1)/f;let a=1;let o=1;if(r==="horizontal"){a=s}else{o=s}e.querySelectorAll(F(t.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`;e.style.transitionDuration=`${i.params.speed}ms`}))}if(t.type==="custom"&&t.renderCustom){e.innerHTML=t.renderCustom(i,n+1,f);if(r===0)s("paginationRender",e)}else{if(r===0)s("paginationRender",e);s("paginationUpdate",e)}if(i.params.watchOverflow&&i.enabled){e.classList[i.isLocked?"add":"remove"](t.lockClass)}}))}function f(){const e=i.params.pagination;if(l())return;const t=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.grid&&i.params.grid.rows>1?i.slides.length/Math.ceil(i.params.grid.rows):i.slides.length;let r=i.pagination.el;r=p(r);let n="";if(e.type==="bullets"){let r=i.params.loop?Math.ceil(t/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.freeMode&&i.params.freeMode.enabled&&r>t){r=t}for(let t=0;t<r;t+=1){if(e.renderBullet){n+=e.renderBullet.call(i,t,e.bulletClass)}else{n+=`<${e.bulletElement} ${i.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}}}if(e.type==="fraction"){if(e.renderFraction){n=e.renderFraction.call(i,e.currentClass,e.totalClass)}else{n=`<span class="${e.currentClass}"></span>`+" / "+`<span class="${e.totalClass}"></span>`}}if(e.type==="progressbar"){if(e.renderProgressbar){n=e.renderProgressbar.call(i,e.progressbarFillClass)}else{n=`<span class="${e.progressbarFillClass}"></span>`}}i.pagination.bullets=[];r.forEach((t=>{if(e.type!=="custom"){t.innerHTML=n||""}if(e.type==="bullets"){i.pagination.bullets.push(...t.querySelectorAll(F(e.bulletClass)))}}));if(e.type!=="custom"){s("paginationRender",r[0])}}function u(){i.params.pagination=j(i,i.originalParams.pagination,i.params.pagination,{el:"swiper-pagination"});const e=i.params.pagination;if(!e.el)return;let t;if(typeof e.el==="string"&&i.isElement){t=i.el.querySelector(e.el)}if(!t&&typeof e.el==="string"){t=[...document.querySelectorAll(e.el)]}if(!t){t=e.el}if(!t||t.length===0)return;if(i.params.uniqueNavElements&&typeof e.el==="string"&&Array.isArray(t)&&t.length>1){t=[...i.el.querySelectorAll(e.el)];if(t.length>1){t=t.filter((e=>{if(M(e,".swiper")[0]!==i.el)return false;return true}))[0]}}if(Array.isArray(t)&&t.length===1)t=t[0];Object.assign(i.pagination,{el:t});t=p(t);t.forEach((t=>{if(e.type==="bullets"&&e.clickable){t.classList.add(...(e.clickableClass||"").split(" "))}t.classList.add(e.modifierClass+e.type);t.classList.add(i.isHorizontal()?e.horizontalClass:e.verticalClass);if(e.type==="bullets"&&e.dynamicBullets){t.classList.add(`${e.modifierClass}${e.type}-dynamic`);o=0;if(e.dynamicMainBullets<1){e.dynamicMainBullets=1}}if(e.type==="progressbar"&&e.progressbarOpposite){t.classList.add(e.progressbarOppositeClass)}if(e.clickable){t.addEventListener("click",w)}if(!i.enabled){t.classList.add(e.lockClass)}}))}function g(){const e=i.params.pagination;if(l())return;let t=i.pagination.el;if(t){t=p(t);t.forEach((t=>{t.classList.remove(e.hiddenClass);t.classList.remove(e.modifierClass+e.type);t.classList.remove(i.isHorizontal()?e.horizontalClass:e.verticalClass);if(e.clickable){t.classList.remove(...(e.clickableClass||"").split(" "));t.removeEventListener("click",w)}}))}if(i.pagination.bullets)i.pagination.bullets.forEach((i=>i.classList.remove(...e.bulletActiveClass.split(" "))))}r("changeDirection",(()=>{if(!i.pagination||!i.pagination.el)return;const e=i.params.pagination;let{el:t}=i.pagination;t=p(t);t.forEach((t=>{t.classList.remove(e.horizontalClass,e.verticalClass);t.classList.add(i.isHorizontal()?e.horizontalClass:e.verticalClass)}))}));r("init",(()=>{if(i.params.pagination.enabled===false){A()}else{u();f();d()}}));r("activeIndexChange",(()=>{if(typeof i.snapIndex==="undefined"){d()}}));r("snapIndexChange",(()=>{d()}));r("snapGridLengthChange",(()=>{f();d()}));r("destroy",(()=>{g()}));r("enable disable",(()=>{let{el:e}=i.pagination;if(e){e=p(e);e.forEach((e=>e.classList[i.enabled?"remove":"add"](i.params.pagination.lockClass)))}}));r("lock unlock",(()=>{d()}));r("click",((e,t)=>{const r=t.target;const n=p(i.pagination.el);if(i.params.pagination.el&&i.params.pagination.hideOnClick&&n&&n.length>0&&!r.classList.contains(i.params.pagination.bulletClass)){if(i.navigation&&(i.navigation.nextEl&&r===i.navigation.nextEl||i.navigation.prevEl&&r===i.navigation.prevEl))return;const e=n[0].classList.contains(i.params.pagination.hiddenClass);if(e===true){s("paginationShow")}else{s("paginationHide")}n.forEach((e=>e.classList.toggle(i.params.pagination.hiddenClass)))}}));const b=()=>{i.el.classList.remove(i.params.pagination.paginationDisabledClass);let{el:e}=i.pagination;if(e){e=p(e);e.forEach((e=>e.classList.remove(i.params.pagination.paginationDisabledClass)))}u();f();d()};const A=()=>{i.el.classList.add(i.params.pagination.paginationDisabledClass);let{el:e}=i.pagination;if(e){e=p(e);e.forEach((e=>e.classList.add(i.params.pagination.paginationDisabledClass)))}g()};Object.assign(i.pagination,{enable:b,disable:A,render:f,update:d,init:u,destroy:g})}function N(e){let{swiper:i,extendParams:t,on:r}=e;t({a11y:{enabled:true,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,itemRoleDescriptionMessage:null,slideRole:"group",id:null}});i.a11y={clicked:false};let s=null;function n(e){const i=s;if(i.length===0)return;i.innerHTML="";i.innerHTML=e}const a=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function o(e){if(e===void 0){e=16}const i=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,i)}function p(e){e=a(e);e.forEach((e=>{e.setAttribute("tabIndex","0")}))}function l(e){e=a(e);e.forEach((e=>{e.setAttribute("tabIndex","-1")}))}function c(e,i){e=a(e);e.forEach((e=>{e.setAttribute("role",i)}))}function w(e,i){e=a(e);e.forEach((e=>{e.setAttribute("aria-roledescription",i)}))}function d(e,i){e=a(e);e.forEach((e=>{e.setAttribute("aria-controls",i)}))}function f(e,i){e=a(e);e.forEach((e=>{e.setAttribute("aria-label",i)}))}function u(e,i){e=a(e);e.forEach((e=>{e.setAttribute("id",i)}))}function g(e,i){e=a(e);e.forEach((e=>{e.setAttribute("aria-live",i)}))}function b(e){e=a(e);e.forEach((e=>{e.setAttribute("aria-disabled",true)}))}function A(e){e=a(e);e.forEach((e=>{e.setAttribute("aria-disabled",false)}))}function h(e){if(e.keyCode!==13&&e.keyCode!==32)return;const t=i.params.a11y;const r=e.target;if(i.pagination&&i.pagination.el&&(r===i.pagination.el||i.pagination.el.contains(e.target))){if(!e.target.matches(F(i.params.pagination.bulletClass)))return}if(i.navigation&&i.navigation.nextEl&&r===i.navigation.nextEl){if(!(i.isEnd&&!i.params.loop)){i.slideNext()}if(i.isEnd){n(t.lastSlideMessage)}else{n(t.nextSlideMessage)}}if(i.navigation&&i.navigation.prevEl&&r===i.navigation.prevEl){if(!(i.isBeginning&&!i.params.loop)){i.slidePrev()}if(i.isBeginning){n(t.firstSlideMessage)}else{n(t.prevSlideMessage)}}if(i.pagination&&r.matches(F(i.params.pagination.bulletClass))){r.click()}}function v(){if(i.params.loop||i.params.rewind||!i.navigation)return;const{nextEl:e,prevEl:t}=i.navigation;if(t){if(i.isBeginning){b(t);l(t)}else{A(t);p(t)}}if(e){if(i.isEnd){b(e);l(e)}else{A(e);p(e)}}}function m(){return i.pagination&&i.pagination.bullets&&i.pagination.bullets.length}function y(){return m()&&i.params.pagination.clickable}function x(){const e=i.params.a11y;if(!m())return;i.pagination.bullets.forEach((t=>{if(i.params.pagination.clickable){p(t);if(!i.params.pagination.renderBullet){c(t,"button");f(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,C(t)+1))}}if(t.matches(F(i.params.pagination.bulletActiveClass))){t.setAttribute("aria-current","true")}else{t.removeAttribute("aria-current")}}))}const k=(e,i,t)=>{p(e);if(e.tagName!=="BUTTON"){c(e,"button");e.addEventListener("keydown",h)}f(e,t);d(e,i)};const E=()=>{i.a11y.clicked=true};const B=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(!i.destroyed){i.a11y.clicked=false}}))}))};const Y=e=>{if(i.a11y.clicked)return;const t=e.target.closest(`.${i.params.slideClass}, swiper-slide`);if(!t||!i.slides.includes(t))return;const r=i.slides.indexOf(t)===i.activeIndex;const s=i.params.watchSlidesProgress&&i.visibleSlides&&i.visibleSlides.includes(t);if(r||s)return;if(e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents)return;if(i.isHorizontal()){i.el.scrollLeft=0}else{i.el.scrollTop=0}i.slideTo(i.slides.indexOf(t),0)};const M=()=>{const e=i.params.a11y;if(e.itemRoleDescriptionMessage){w(i.slides,e.itemRoleDescriptionMessage)}if(e.slideRole){c(i.slides,e.slideRole)}const t=i.slides.length;if(e.slideLabelMessage){i.slides.forEach(((r,s)=>{const n=i.params.loop?parseInt(r.getAttribute("data-swiper-slide-index"),10):s;const a=e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,t);f(r,a)}))}};const G=()=>{const e=i.params.a11y;i.el.append(s);const t=i.el;if(e.containerRoleDescriptionMessage){w(t,e.containerRoleDescriptionMessage)}if(e.containerMessage){f(t,e.containerMessage)}const r=i.wrapperEl;const n=e.id||r.getAttribute("id")||`swiper-wrapper-${o(16)}`;const p=i.params.autoplay&&i.params.autoplay.enabled?"off":"polite";u(r,n);g(r,p);M();let{nextEl:l,prevEl:c}=i.navigation?i.navigation:{};l=a(l);c=a(c);if(l){l.forEach((i=>k(i,n,e.nextSlideMessage)))}if(c){c.forEach((i=>k(i,n,e.prevSlideMessage)))}if(y()){const e=Array.isArray(i.pagination.el)?i.pagination.el:[i.pagination.el];e.forEach((e=>{e.addEventListener("keydown",h)}))}i.el.addEventListener("focus",Y,true);i.el.addEventListener("pointerdown",E,true);i.el.addEventListener("pointerup",B,true)};function j(){if(s)s.remove();let{nextEl:e,prevEl:t}=i.navigation?i.navigation:{};e=a(e);t=a(t);if(e){e.forEach((e=>e.removeEventListener("keydown",h)))}if(t){t.forEach((e=>e.removeEventListener("keydown",h)))}if(y()){const e=Array.isArray(i.pagination.el)?i.pagination.el:[i.pagination.el];e.forEach((e=>{e.removeEventListener("keydown",h)}))}i.el.removeEventListener("focus",Y,true);i.el.removeEventListener("pointerdown",E,true);i.el.removeEventListener("pointerup",B,true)}r("beforeInit",(()=>{s=z("span",i.params.a11y.notificationClass);s.setAttribute("aria-live","assertive");s.setAttribute("aria-atomic","true")}));r("afterInit",(()=>{if(!i.params.a11y.enabled)return;G()}));r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{if(!i.params.a11y.enabled)return;M()}));r("fromEdge toEdge afterInit lock unlock",(()=>{if(!i.params.a11y.enabled)return;v()}));r("paginationUpdate",(()=>{if(!i.params.a11y.enabled)return;x()}));r("destroy",(()=>{if(!i.params.a11y.enabled)return;j()}))}const P="@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+gAEQFEAAAAK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a8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/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:translate3d(0px,0,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-cube-shadow,.swiper-3d .swiper-slide{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-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .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(0deg)}100%{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-next,.swiper-button-prev{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-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev: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:translate3d(0,0,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-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{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{transform:scale(1)}.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;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-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-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:translateX(-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-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{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-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{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>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{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{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.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:0px;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-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.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-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{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-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}content-carousel{display:block;overflow:hidden;visibility:hidden}content-carousel.hydrated{visibility:inherit}";const Q=class{constructor(i){e(this,i);this.loadStatus=new s(false);this.initMethod="load";this.swiperOptions='{"slidesPerView": 1, "slidesPerGroup": 1, "autoplay": true, "loop": false}'}getSwiperOptions(e){return Object.assign({observer:true,observeParents:true,pagination:{el:this.swiperPagination},navigation:{nextEl:this.swiperNextElement,prevEl:this.swiperPrevElement},scrollbar:{el:this.swiperScrollbar}},e)}componentDidLoad(){if(this.initMethod==="load"){if(this.swiperOptions){this.swiperOptionsFinal=this.getSwiperOptions(JSON.parse(this.swiperOptions||""))}let e={root:null,rootMargin:"0px",threshold:.1};let i=new IntersectionObserver((e=>{e.forEach((async e=>{if(e.isIntersecting&&!this.loadStatus.getValue()){await this.initSwiper();this.loadStatus.next(true)}}))}),e);i.observe(this.hostElement)}}setSwiperOptionsCallback(e){this.loadStatus.subscribe((async()=>{let i=this.loadStatus.value;if(i){this.swiperOptionsFinal=this.getSwiperOptions(e.detail);await this.initSwiper()}}))}async initSwiper(){let e=await import("./p-08143d3f.js");for(const e of this.swiperWrapper.children){e.classList.add("swiper-slide")}this.swiperCarousel=new e.Swiper(this.swiper,Object.assign(Object.assign({},this.swiperOptionsFinal),{modules:[N,O,D]}))}render(){return i(t,null,i("div",{class:"swiper",ref:e=>this.swiper=e},i("div",{class:"swiper-wrapper",ref:e=>this.swiperWrapper=e},i("slot",{name:"content"}),i("slot",null)),i("div",{class:"swiper-pagination",ref:e=>this.swiperPagination=e}),i("div",{class:"swiper-button-prev",ref:e=>this.swiperPrevElement=e}),i("div",{class:"swiper-button-next",ref:e=>this.swiperNextElement=e}),i("div",{class:"swiper-scrollbar",ref:e=>this.swiperScrollbar=e})))}get hostElement(){return r(this)}};Q.style=P;export{Q as C,x as a,C as b,z as c,Y as d,v as e,d as f,p as g,c as h,M as i,G as j,B as k,E as l,b as m,y as n,f as o,k as p,u as q,m as s};
|
|
2
|
+
//# sourceMappingURL=p-3b4be54b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isObject","obj","constructor","Object","extend","target","src","keys","forEach","key","length","ssrDocument","body","addEventListener","removeEventListener","activeElement","blur","nodeName","querySelector","querySelectorAll","getElementById","createEvent","initEvent","createElement","children","childNodes","style","setAttribute","getElementsByTagName","createElementNS","importNode","location","hash","host","hostname","href","origin","pathname","protocol","search","getDocument","doc","document","ssrWindow","navigator","userAgent","history","replaceState","pushState","go","back","CustomEvent","this","getComputedStyle","getPropertyValue","Image","Date","screen","setTimeout","clearTimeout","matchMedia","requestAnimationFrame","callback","cancelAnimationFrame","id","getWindow","win","window","classesToTokens","classes","trim","split","filter","c","deleteProps","object","e","nextTick","delay","now","el","currentStyle","getTranslate","axis","matrix","curTransform","transformMatrix","curStyle","WebKitCSSMatrix","transform","webkitTransform","map","a","replace","join","MozTransform","OTransform","MsTransform","msTransform","toString","m41","parseFloat","m42","o","prototype","call","slice","isNode","node","HTMLElement","nodeType","to","arguments","undefined","noExtend","i","nextSource","keysArray","indexOf","nextIndex","len","nextKey","desc","getOwnPropertyDescriptor","enumerable","__swiper__","setCSSProperty","varName","varValue","setProperty","animateCSSModeScroll","_ref","swiper","targetPosition","side","startPosition","translate","startTime","time","duration","params","speed","wrapperEl","scrollSnapType","cssModeFrameID","dir","isOutOfBound","current","animate","getTime","progress","Math","max","min","easeProgress","cos","PI","currentPosition","scrollTo","overflow","elementChildren","element","selector","matches","showWarning","text","console","warn","err","tag","classList","add","Array","isArray","elementPrevAll","prevEls","previousElementSibling","prev","push","elementNextAll","nextEls","nextElementSibling","next","elementStyle","prop","elementIndex","child","previousSibling","elementParents","parents","parent","parentElement","elementOuterSize","size","includeMargins","offsetWidth","createElementIfNotDefined","originalParams","checkProps","createElements","auto","className","append","Navigation","extendParams","on","emit","navigation","nextEl","prevEl","hideOnClick","disabledClass","hiddenClass","lockClass","navigationDisabledClass","makeElementsArray","getEl","res","isElement","uniqueNavElements","toggleEl","disabled","subEl","tagName","watchOverflow","enabled","isLocked","update","loop","isBeginning","rewind","isEnd","onPrevClick","preventDefault","slidePrev","onNextClick","slideNext","init","assign","initButton","destroy","destroyButton","remove","disable","_s","targetEl","includes","pagination","clickable","contains","isHidden","toggle","enable","classesToSelector","Pagination","pfx","bulletElement","renderBullet","renderProgressbar","renderFraction","renderCustom","progressbarOpposite","type","dynamicBullets","dynamicMainBullets","formatFractionCurrent","number","formatFractionTotal","bulletClass","bulletActiveClass","modifierClass","currentClass","totalClass","progressbarFillClass","progressbarOppositeClass","clickableClass","horizontalClass","verticalClass","paginationDisabledClass","bullets","bulletSize","dynamicBulletIndex","isPaginationDisabled","setSideBullets","bulletEl","position","onBulletClick","closest","index","slidesPerGroup","realIndex","slideToLoop","slideTo","rtl","previousIndex","slidesLength","virtual","slides","total","ceil","snapGrid","previousRealIndex","floor","snapIndex","previousSnapIndex","activeIndex","firstIndex","lastIndex","midIndex","isHorizontal","classesToRemove","suffix","s","flat","bullet","bulletIndex","firstDisplayedBullet","lastDisplayedBullet","dynamicBulletsLength","bulletsOffset","offsetProp","subElIndex","fractionEl","textContent","totalEl","progressbarDirection","scale","scaleX","scaleY","progressEl","transitionDuration","innerHTML","render","grid","rows","paginationHTML","numberOfBullets","freeMode","A11y","a11y","notificationClass","prevSlideMessage","nextSlideMessage","firstSlideMessage","lastSlideMessage","paginationBulletMessage","slideLabelMessage","containerMessage","containerRoleDescriptionMessage","itemRoleDescriptionMessage","slideRole","clicked","liveRegion","notify","message","notification","getRandomNumber","randomChar","round","random","repeat","makeElFocusable","makeElNotFocusable","addElRole","role","addElRoleDescription","description","addElControls","controls","addElLabel","label","addElId","addElLive","live","disableEl","enableEl","onEnterOrSpaceKey","keyCode","click","updateNavigation","hasPagination","hasClickablePagination","updatePagination","removeAttribute","initNavEl","wrapperId","handlePointerDown","handlePointerUp","destroyed","handleFocus","slideEl","slideClass","isActive","isVisible","watchSlidesProgress","visibleSlides","sourceCapabilities","firesTouchEvents","scrollLeft","scrollTop","initSlides","slideIndex","parseInt","getAttribute","ariaLabelMessage","containerEl","autoplay","paginationEl","contentCarouselCss","ContentCarousel","loadStatus","BehaviorSubject","getSwiperOptions","newOptions","observer","observeParents","swiperPagination","swiperNextElement","swiperPrevElement","scrollbar","swiperScrollbar","componentDidLoad","initMethod","swiperOptions","swiperOptionsFinal","JSON","parse","options","root","rootMargin","threshold","IntersectionObserver","entries","async","entry","isIntersecting","getValue","initSwiper","observe","hostElement","setSwiperOptionsCallback","event","subscribe","loaded","value","detail","Swiper","import","slide","swiperWrapper","swiperCarousel","modules","h","Host","class","ref","name"],"sources":["../../node_modules/swiper/shared/ssr-window.esm.mjs","../../node_modules/swiper/shared/utils.mjs","../../node_modules/swiper/shared/create-element-if-not-defined.mjs","../../node_modules/swiper/modules/navigation.mjs","../../node_modules/swiper/shared/classes-to-selector.mjs","../../node_modules/swiper/modules/pagination.mjs","../../node_modules/swiper/modules/a11y.mjs","src/components/content-carousel/content-carousel.scss?tag=content-carousel","src/components/content-carousel/content-carousel.tsx"],"sourcesContent":["/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n Object.keys(src).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n","import { a as getWindow, g as getDocument } from './ssr-window.esm.mjs';\n\nfunction classesToTokens(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return classes.trim().split(' ').filter(c => !!c.trim());\n}\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {\n // no getter for object\n }\n try {\n delete object[key];\n } catch (e) {\n // something got wrong\n }\n });\n}\nfunction nextTick(callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return setTimeout(callback, delay);\n}\nfunction now() {\n return Date.now();\n}\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n if (!style) {\n style = el.style;\n }\n return style;\n}\nfunction getTranslate(el, axis) {\n if (axis === void 0) {\n axis = 'x';\n }\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el);\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n }\n // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n return curTransform || 0;\n}\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\nfunction extend() {\n const to = Object(arguments.length <= 0 ? undefined : arguments[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n for (let i = 1; i < arguments.length; i += 1) {\n const nextSource = i < 0 || arguments.length <= i ? undefined : arguments[i];\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n return to;\n}\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\nfunction animateCSSModeScroll(_ref) {\n let {\n swiper,\n targetPosition,\n side\n } = _ref;\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n const animate = () => {\n time = new Date().getTime();\n if (startTime === null) {\n startTime = time;\n }\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n animate();\n}\nfunction getSlideTransformEl(slideEl) {\n return slideEl.querySelector('.swiper-slide-transform') || slideEl.shadowRoot && slideEl.shadowRoot.querySelector('.swiper-slide-transform') || slideEl;\n}\nfunction elementChildren(element, selector) {\n if (selector === void 0) {\n selector = '';\n }\n return [...element.children].filter(el => el.matches(selector));\n}\nfunction showWarning(text) {\n try {\n console.warn(text);\n return;\n } catch (err) {\n // err\n }\n}\nfunction createElement(tag, classes) {\n if (classes === void 0) {\n classes = [];\n }\n const el = document.createElement(tag);\n el.classList.add(...(Array.isArray(classes) ? classes : classesToTokens(classes)));\n return el;\n}\nfunction elementOffset(el) {\n const window = getWindow();\n const document = getDocument();\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n}\nfunction elementPrevAll(el, selector) {\n const prevEls = [];\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n if (selector) {\n if (prev.matches(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n el = prev;\n }\n return prevEls;\n}\nfunction elementNextAll(el, selector) {\n const nextEls = [];\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n if (selector) {\n if (next.matches(selector)) nextEls.push(next);\n } else nextEls.push(next);\n el = next;\n }\n return nextEls;\n}\nfunction elementStyle(el, prop) {\n const window = getWindow();\n return window.getComputedStyle(el, null).getPropertyValue(prop);\n}\nfunction elementIndex(el) {\n let child = el;\n let i;\n if (child) {\n i = 0;\n // eslint-disable-next-line\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n return i;\n }\n return undefined;\n}\nfunction elementParents(el, selector) {\n const parents = []; // eslint-disable-line\n let parent = el.parentElement; // eslint-disable-line\n while (parent) {\n if (selector) {\n if (parent.matches(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n parent = parent.parentElement;\n }\n return parents;\n}\nfunction elementTransitionEnd(el, callback) {\n function fireCallBack(e) {\n if (e.target !== el) return;\n callback.call(el, e);\n el.removeEventListener('transitionend', fireCallBack);\n }\n if (callback) {\n el.addEventListener('transitionend', fireCallBack);\n }\n}\nfunction elementOuterSize(el, size, includeMargins) {\n const window = getWindow();\n if (includeMargins) {\n return el[size === 'width' ? 'offsetWidth' : 'offsetHeight'] + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-right' : 'margin-top')) + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-left' : 'margin-bottom'));\n }\n return el.offsetWidth;\n}\n\nexport { elementParents as a, elementOffset as b, createElement as c, now as d, elementChildren as e, elementOuterSize as f, elementIndex as g, classesToTokens as h, getTranslate as i, elementTransitionEnd as j, isObject as k, getSlideTransformEl as l, elementStyle as m, nextTick as n, elementNextAll as o, elementPrevAll as p, animateCSSModeScroll as q, showWarning as r, setCSSProperty as s, extend as t, deleteProps as u };\n","import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n","import { c as createElementIfNotDefined } from '../shared/create-element-if-not-defined.mjs';\n\nfunction Navigation(_ref) {\n let {\n swiper,\n extendParams,\n on,\n emit\n } = _ref;\n extendParams({\n navigation: {\n nextEl: null,\n prevEl: null,\n hideOnClick: false,\n disabledClass: 'swiper-button-disabled',\n hiddenClass: 'swiper-button-hidden',\n lockClass: 'swiper-button-lock',\n navigationDisabledClass: 'swiper-navigation-disabled'\n }\n });\n swiper.navigation = {\n nextEl: null,\n prevEl: null\n };\n const makeElementsArray = el => (Array.isArray(el) ? el : [el]).filter(e => !!e);\n function getEl(el) {\n let res;\n if (el && typeof el === 'string' && swiper.isElement) {\n res = swiper.el.querySelector(el);\n if (res) return res;\n }\n if (el) {\n if (typeof el === 'string') res = [...document.querySelectorAll(el)];\n if (swiper.params.uniqueNavElements && typeof el === 'string' && res.length > 1 && swiper.el.querySelectorAll(el).length === 1) {\n res = swiper.el.querySelector(el);\n }\n }\n if (el && !res) return el;\n // if (Array.isArray(res) && res.length === 1) res = res[0];\n return res;\n }\n function toggleEl(el, disabled) {\n const params = swiper.params.navigation;\n el = makeElementsArray(el);\n el.forEach(subEl => {\n if (subEl) {\n subEl.classList[disabled ? 'add' : 'remove'](...params.disabledClass.split(' '));\n if (subEl.tagName === 'BUTTON') subEl.disabled = disabled;\n if (swiper.params.watchOverflow && swiper.enabled) {\n subEl.classList[swiper.isLocked ? 'add' : 'remove'](params.lockClass);\n }\n }\n });\n }\n function update() {\n // Update Navigation Buttons\n const {\n nextEl,\n prevEl\n } = swiper.navigation;\n if (swiper.params.loop) {\n toggleEl(prevEl, false);\n toggleEl(nextEl, false);\n return;\n }\n toggleEl(prevEl, swiper.isBeginning && !swiper.params.rewind);\n toggleEl(nextEl, swiper.isEnd && !swiper.params.rewind);\n }\n function onPrevClick(e) {\n e.preventDefault();\n if (swiper.isBeginning && !swiper.params.loop && !swiper.params.rewind) return;\n swiper.slidePrev();\n emit('navigationPrev');\n }\n function onNextClick(e) {\n e.preventDefault();\n if (swiper.isEnd && !swiper.params.loop && !swiper.params.rewind) return;\n swiper.slideNext();\n emit('navigationNext');\n }\n function init() {\n const params = swiper.params.navigation;\n swiper.params.navigation = createElementIfNotDefined(swiper, swiper.originalParams.navigation, swiper.params.navigation, {\n nextEl: 'swiper-button-next',\n prevEl: 'swiper-button-prev'\n });\n if (!(params.nextEl || params.prevEl)) return;\n let nextEl = getEl(params.nextEl);\n let prevEl = getEl(params.prevEl);\n Object.assign(swiper.navigation, {\n nextEl,\n prevEl\n });\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n const initButton = (el, dir) => {\n if (el) {\n el.addEventListener('click', dir === 'next' ? onNextClick : onPrevClick);\n }\n if (!swiper.enabled && el) {\n el.classList.add(...params.lockClass.split(' '));\n }\n };\n nextEl.forEach(el => initButton(el, 'next'));\n prevEl.forEach(el => initButton(el, 'prev'));\n }\n function destroy() {\n let {\n nextEl,\n prevEl\n } = swiper.navigation;\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n const destroyButton = (el, dir) => {\n el.removeEventListener('click', dir === 'next' ? onNextClick : onPrevClick);\n el.classList.remove(...swiper.params.navigation.disabledClass.split(' '));\n };\n nextEl.forEach(el => destroyButton(el, 'next'));\n prevEl.forEach(el => destroyButton(el, 'prev'));\n }\n on('init', () => {\n if (swiper.params.navigation.enabled === false) {\n // eslint-disable-next-line\n disable();\n } else {\n init();\n update();\n }\n });\n on('toEdge fromEdge lock unlock', () => {\n update();\n });\n on('destroy', () => {\n destroy();\n });\n on('enable disable', () => {\n let {\n nextEl,\n prevEl\n } = swiper.navigation;\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n if (swiper.enabled) {\n update();\n return;\n }\n [...nextEl, ...prevEl].filter(el => !!el).forEach(el => el.classList.add(swiper.params.navigation.lockClass));\n });\n on('click', (_s, e) => {\n let {\n nextEl,\n prevEl\n } = swiper.navigation;\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n const targetEl = e.target;\n if (swiper.params.navigation.hideOnClick && !prevEl.includes(targetEl) && !nextEl.includes(targetEl)) {\n if (swiper.pagination && swiper.params.pagination && swiper.params.pagination.clickable && (swiper.pagination.el === targetEl || swiper.pagination.el.contains(targetEl))) return;\n let isHidden;\n if (nextEl.length) {\n isHidden = nextEl[0].classList.contains(swiper.params.navigation.hiddenClass);\n } else if (prevEl.length) {\n isHidden = prevEl[0].classList.contains(swiper.params.navigation.hiddenClass);\n }\n if (isHidden === true) {\n emit('navigationShow');\n } else {\n emit('navigationHide');\n }\n [...nextEl, ...prevEl].filter(el => !!el).forEach(el => el.classList.toggle(swiper.params.navigation.hiddenClass));\n }\n });\n const enable = () => {\n swiper.el.classList.remove(...swiper.params.navigation.navigationDisabledClass.split(' '));\n init();\n update();\n };\n const disable = () => {\n swiper.el.classList.add(...swiper.params.navigation.navigationDisabledClass.split(' '));\n destroy();\n };\n Object.assign(swiper.navigation, {\n enable,\n disable,\n update,\n init,\n destroy\n });\n}\n\nexport { Navigation as default };\n","function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n","import { c as classesToSelector } from '../shared/classes-to-selector.mjs';\nimport { c as createElementIfNotDefined } from '../shared/create-element-if-not-defined.mjs';\nimport { f as elementOuterSize, g as elementIndex, a as elementParents } from '../shared/utils.mjs';\n\nfunction Pagination(_ref) {\n let {\n swiper,\n extendParams,\n on,\n emit\n } = _ref;\n const pfx = 'swiper-pagination';\n extendParams({\n pagination: {\n el: null,\n bulletElement: 'span',\n clickable: false,\n hideOnClick: false,\n renderBullet: null,\n renderProgressbar: null,\n renderFraction: null,\n renderCustom: null,\n progressbarOpposite: false,\n type: 'bullets',\n // 'bullets' or 'progressbar' or 'fraction' or 'custom'\n dynamicBullets: false,\n dynamicMainBullets: 1,\n formatFractionCurrent: number => number,\n formatFractionTotal: number => number,\n bulletClass: `${pfx}-bullet`,\n bulletActiveClass: `${pfx}-bullet-active`,\n modifierClass: `${pfx}-`,\n currentClass: `${pfx}-current`,\n totalClass: `${pfx}-total`,\n hiddenClass: `${pfx}-hidden`,\n progressbarFillClass: `${pfx}-progressbar-fill`,\n progressbarOppositeClass: `${pfx}-progressbar-opposite`,\n clickableClass: `${pfx}-clickable`,\n lockClass: `${pfx}-lock`,\n horizontalClass: `${pfx}-horizontal`,\n verticalClass: `${pfx}-vertical`,\n paginationDisabledClass: `${pfx}-disabled`\n }\n });\n swiper.pagination = {\n el: null,\n bullets: []\n };\n let bulletSize;\n let dynamicBulletIndex = 0;\n const makeElementsArray = el => (Array.isArray(el) ? el : [el]).filter(e => !!e);\n function isPaginationDisabled() {\n return !swiper.params.pagination.el || !swiper.pagination.el || Array.isArray(swiper.pagination.el) && swiper.pagination.el.length === 0;\n }\n function setSideBullets(bulletEl, position) {\n const {\n bulletActiveClass\n } = swiper.params.pagination;\n if (!bulletEl) return;\n bulletEl = bulletEl[`${position === 'prev' ? 'previous' : 'next'}ElementSibling`];\n if (bulletEl) {\n bulletEl.classList.add(`${bulletActiveClass}-${position}`);\n bulletEl = bulletEl[`${position === 'prev' ? 'previous' : 'next'}ElementSibling`];\n if (bulletEl) {\n bulletEl.classList.add(`${bulletActiveClass}-${position}-${position}`);\n }\n }\n }\n function onBulletClick(e) {\n const bulletEl = e.target.closest(classesToSelector(swiper.params.pagination.bulletClass));\n if (!bulletEl) {\n return;\n }\n e.preventDefault();\n const index = elementIndex(bulletEl) * swiper.params.slidesPerGroup;\n if (swiper.params.loop) {\n if (swiper.realIndex === index) return;\n swiper.slideToLoop(index);\n } else {\n swiper.slideTo(index);\n }\n }\n function update() {\n // Render || Update Pagination bullets/items\n const rtl = swiper.rtl;\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n let el = swiper.pagination.el;\n el = makeElementsArray(el);\n // Current/Total\n let current;\n let previousIndex;\n const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.slides.length;\n const total = swiper.params.loop ? Math.ceil(slidesLength / swiper.params.slidesPerGroup) : swiper.snapGrid.length;\n if (swiper.params.loop) {\n previousIndex = swiper.previousRealIndex || 0;\n current = swiper.params.slidesPerGroup > 1 ? Math.floor(swiper.realIndex / swiper.params.slidesPerGroup) : swiper.realIndex;\n } else if (typeof swiper.snapIndex !== 'undefined') {\n current = swiper.snapIndex;\n previousIndex = swiper.previousSnapIndex;\n } else {\n previousIndex = swiper.previousIndex || 0;\n current = swiper.activeIndex || 0;\n }\n // Types\n if (params.type === 'bullets' && swiper.pagination.bullets && swiper.pagination.bullets.length > 0) {\n const bullets = swiper.pagination.bullets;\n let firstIndex;\n let lastIndex;\n let midIndex;\n if (params.dynamicBullets) {\n bulletSize = elementOuterSize(bullets[0], swiper.isHorizontal() ? 'width' : 'height', true);\n el.forEach(subEl => {\n subEl.style[swiper.isHorizontal() ? 'width' : 'height'] = `${bulletSize * (params.dynamicMainBullets + 4)}px`;\n });\n if (params.dynamicMainBullets > 1 && previousIndex !== undefined) {\n dynamicBulletIndex += current - (previousIndex || 0);\n if (dynamicBulletIndex > params.dynamicMainBullets - 1) {\n dynamicBulletIndex = params.dynamicMainBullets - 1;\n } else if (dynamicBulletIndex < 0) {\n dynamicBulletIndex = 0;\n }\n }\n firstIndex = Math.max(current - dynamicBulletIndex, 0);\n lastIndex = firstIndex + (Math.min(bullets.length, params.dynamicMainBullets) - 1);\n midIndex = (lastIndex + firstIndex) / 2;\n }\n bullets.forEach(bulletEl => {\n const classesToRemove = [...['', '-next', '-next-next', '-prev', '-prev-prev', '-main'].map(suffix => `${params.bulletActiveClass}${suffix}`)].map(s => typeof s === 'string' && s.includes(' ') ? s.split(' ') : s).flat();\n bulletEl.classList.remove(...classesToRemove);\n });\n if (el.length > 1) {\n bullets.forEach(bullet => {\n const bulletIndex = elementIndex(bullet);\n if (bulletIndex === current) {\n bullet.classList.add(...params.bulletActiveClass.split(' '));\n } else if (swiper.isElement) {\n bullet.setAttribute('part', 'bullet');\n }\n if (params.dynamicBullets) {\n if (bulletIndex >= firstIndex && bulletIndex <= lastIndex) {\n bullet.classList.add(...`${params.bulletActiveClass}-main`.split(' '));\n }\n if (bulletIndex === firstIndex) {\n setSideBullets(bullet, 'prev');\n }\n if (bulletIndex === lastIndex) {\n setSideBullets(bullet, 'next');\n }\n }\n });\n } else {\n const bullet = bullets[current];\n if (bullet) {\n bullet.classList.add(...params.bulletActiveClass.split(' '));\n }\n if (swiper.isElement) {\n bullets.forEach((bulletEl, bulletIndex) => {\n bulletEl.setAttribute('part', bulletIndex === current ? 'bullet-active' : 'bullet');\n });\n }\n if (params.dynamicBullets) {\n const firstDisplayedBullet = bullets[firstIndex];\n const lastDisplayedBullet = bullets[lastIndex];\n for (let i = firstIndex; i <= lastIndex; i += 1) {\n if (bullets[i]) {\n bullets[i].classList.add(...`${params.bulletActiveClass}-main`.split(' '));\n }\n }\n setSideBullets(firstDisplayedBullet, 'prev');\n setSideBullets(lastDisplayedBullet, 'next');\n }\n }\n if (params.dynamicBullets) {\n const dynamicBulletsLength = Math.min(bullets.length, params.dynamicMainBullets + 4);\n const bulletsOffset = (bulletSize * dynamicBulletsLength - bulletSize) / 2 - midIndex * bulletSize;\n const offsetProp = rtl ? 'right' : 'left';\n bullets.forEach(bullet => {\n bullet.style[swiper.isHorizontal() ? offsetProp : 'top'] = `${bulletsOffset}px`;\n });\n }\n }\n el.forEach((subEl, subElIndex) => {\n if (params.type === 'fraction') {\n subEl.querySelectorAll(classesToSelector(params.currentClass)).forEach(fractionEl => {\n fractionEl.textContent = params.formatFractionCurrent(current + 1);\n });\n subEl.querySelectorAll(classesToSelector(params.totalClass)).forEach(totalEl => {\n totalEl.textContent = params.formatFractionTotal(total);\n });\n }\n if (params.type === 'progressbar') {\n let progressbarDirection;\n if (params.progressbarOpposite) {\n progressbarDirection = swiper.isHorizontal() ? 'vertical' : 'horizontal';\n } else {\n progressbarDirection = swiper.isHorizontal() ? 'horizontal' : 'vertical';\n }\n const scale = (current + 1) / total;\n let scaleX = 1;\n let scaleY = 1;\n if (progressbarDirection === 'horizontal') {\n scaleX = scale;\n } else {\n scaleY = scale;\n }\n subEl.querySelectorAll(classesToSelector(params.progressbarFillClass)).forEach(progressEl => {\n progressEl.style.transform = `translate3d(0,0,0) scaleX(${scaleX}) scaleY(${scaleY})`;\n progressEl.style.transitionDuration = `${swiper.params.speed}ms`;\n });\n }\n if (params.type === 'custom' && params.renderCustom) {\n subEl.innerHTML = params.renderCustom(swiper, current + 1, total);\n if (subElIndex === 0) emit('paginationRender', subEl);\n } else {\n if (subElIndex === 0) emit('paginationRender', subEl);\n emit('paginationUpdate', subEl);\n }\n if (swiper.params.watchOverflow && swiper.enabled) {\n subEl.classList[swiper.isLocked ? 'add' : 'remove'](params.lockClass);\n }\n });\n }\n function render() {\n // Render Container\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.grid && swiper.params.grid.rows > 1 ? swiper.slides.length / Math.ceil(swiper.params.grid.rows) : swiper.slides.length;\n let el = swiper.pagination.el;\n el = makeElementsArray(el);\n let paginationHTML = '';\n if (params.type === 'bullets') {\n let numberOfBullets = swiper.params.loop ? Math.ceil(slidesLength / swiper.params.slidesPerGroup) : swiper.snapGrid.length;\n if (swiper.params.freeMode && swiper.params.freeMode.enabled && numberOfBullets > slidesLength) {\n numberOfBullets = slidesLength;\n }\n for (let i = 0; i < numberOfBullets; i += 1) {\n if (params.renderBullet) {\n paginationHTML += params.renderBullet.call(swiper, i, params.bulletClass);\n } else {\n // prettier-ignore\n paginationHTML += `<${params.bulletElement} ${swiper.isElement ? 'part=\"bullet\"' : ''} class=\"${params.bulletClass}\"></${params.bulletElement}>`;\n }\n }\n }\n if (params.type === 'fraction') {\n if (params.renderFraction) {\n paginationHTML = params.renderFraction.call(swiper, params.currentClass, params.totalClass);\n } else {\n paginationHTML = `<span class=\"${params.currentClass}\"></span>` + ' / ' + `<span class=\"${params.totalClass}\"></span>`;\n }\n }\n if (params.type === 'progressbar') {\n if (params.renderProgressbar) {\n paginationHTML = params.renderProgressbar.call(swiper, params.progressbarFillClass);\n } else {\n paginationHTML = `<span class=\"${params.progressbarFillClass}\"></span>`;\n }\n }\n swiper.pagination.bullets = [];\n el.forEach(subEl => {\n if (params.type !== 'custom') {\n subEl.innerHTML = paginationHTML || '';\n }\n if (params.type === 'bullets') {\n swiper.pagination.bullets.push(...subEl.querySelectorAll(classesToSelector(params.bulletClass)));\n }\n });\n if (params.type !== 'custom') {\n emit('paginationRender', el[0]);\n }\n }\n function init() {\n swiper.params.pagination = createElementIfNotDefined(swiper, swiper.originalParams.pagination, swiper.params.pagination, {\n el: 'swiper-pagination'\n });\n const params = swiper.params.pagination;\n if (!params.el) return;\n let el;\n if (typeof params.el === 'string' && swiper.isElement) {\n el = swiper.el.querySelector(params.el);\n }\n if (!el && typeof params.el === 'string') {\n el = [...document.querySelectorAll(params.el)];\n }\n if (!el) {\n el = params.el;\n }\n if (!el || el.length === 0) return;\n if (swiper.params.uniqueNavElements && typeof params.el === 'string' && Array.isArray(el) && el.length > 1) {\n el = [...swiper.el.querySelectorAll(params.el)];\n // check if it belongs to another nested Swiper\n if (el.length > 1) {\n el = el.filter(subEl => {\n if (elementParents(subEl, '.swiper')[0] !== swiper.el) return false;\n return true;\n })[0];\n }\n }\n if (Array.isArray(el) && el.length === 1) el = el[0];\n Object.assign(swiper.pagination, {\n el\n });\n el = makeElementsArray(el);\n el.forEach(subEl => {\n if (params.type === 'bullets' && params.clickable) {\n subEl.classList.add(...(params.clickableClass || '').split(' '));\n }\n subEl.classList.add(params.modifierClass + params.type);\n subEl.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n if (params.type === 'bullets' && params.dynamicBullets) {\n subEl.classList.add(`${params.modifierClass}${params.type}-dynamic`);\n dynamicBulletIndex = 0;\n if (params.dynamicMainBullets < 1) {\n params.dynamicMainBullets = 1;\n }\n }\n if (params.type === 'progressbar' && params.progressbarOpposite) {\n subEl.classList.add(params.progressbarOppositeClass);\n }\n if (params.clickable) {\n subEl.addEventListener('click', onBulletClick);\n }\n if (!swiper.enabled) {\n subEl.classList.add(params.lockClass);\n }\n });\n }\n function destroy() {\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n let el = swiper.pagination.el;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.classList.remove(params.hiddenClass);\n subEl.classList.remove(params.modifierClass + params.type);\n subEl.classList.remove(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n if (params.clickable) {\n subEl.classList.remove(...(params.clickableClass || '').split(' '));\n subEl.removeEventListener('click', onBulletClick);\n }\n });\n }\n if (swiper.pagination.bullets) swiper.pagination.bullets.forEach(subEl => subEl.classList.remove(...params.bulletActiveClass.split(' ')));\n }\n on('changeDirection', () => {\n if (!swiper.pagination || !swiper.pagination.el) return;\n const params = swiper.params.pagination;\n let {\n el\n } = swiper.pagination;\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.classList.remove(params.horizontalClass, params.verticalClass);\n subEl.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n });\n });\n on('init', () => {\n if (swiper.params.pagination.enabled === false) {\n // eslint-disable-next-line\n disable();\n } else {\n init();\n render();\n update();\n }\n });\n on('activeIndexChange', () => {\n if (typeof swiper.snapIndex === 'undefined') {\n update();\n }\n });\n on('snapIndexChange', () => {\n update();\n });\n on('snapGridLengthChange', () => {\n render();\n update();\n });\n on('destroy', () => {\n destroy();\n });\n on('enable disable', () => {\n let {\n el\n } = swiper.pagination;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => subEl.classList[swiper.enabled ? 'remove' : 'add'](swiper.params.pagination.lockClass));\n }\n });\n on('lock unlock', () => {\n update();\n });\n on('click', (_s, e) => {\n const targetEl = e.target;\n const el = makeElementsArray(swiper.pagination.el);\n if (swiper.params.pagination.el && swiper.params.pagination.hideOnClick && el && el.length > 0 && !targetEl.classList.contains(swiper.params.pagination.bulletClass)) {\n if (swiper.navigation && (swiper.navigation.nextEl && targetEl === swiper.navigation.nextEl || swiper.navigation.prevEl && targetEl === swiper.navigation.prevEl)) return;\n const isHidden = el[0].classList.contains(swiper.params.pagination.hiddenClass);\n if (isHidden === true) {\n emit('paginationShow');\n } else {\n emit('paginationHide');\n }\n el.forEach(subEl => subEl.classList.toggle(swiper.params.pagination.hiddenClass));\n }\n });\n const enable = () => {\n swiper.el.classList.remove(swiper.params.pagination.paginationDisabledClass);\n let {\n el\n } = swiper.pagination;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => subEl.classList.remove(swiper.params.pagination.paginationDisabledClass));\n }\n init();\n render();\n update();\n };\n const disable = () => {\n swiper.el.classList.add(swiper.params.pagination.paginationDisabledClass);\n let {\n el\n } = swiper.pagination;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => subEl.classList.add(swiper.params.pagination.paginationDisabledClass));\n }\n destroy();\n };\n Object.assign(swiper.pagination, {\n enable,\n disable,\n render,\n update,\n init,\n destroy\n });\n}\n\nexport { Pagination as default };\n","import { c as classesToSelector } from '../shared/classes-to-selector.mjs';\nimport { c as createElement, g as elementIndex } from '../shared/utils.mjs';\n\nfunction A11y(_ref) {\n let {\n swiper,\n extendParams,\n on\n } = _ref;\n extendParams({\n a11y: {\n enabled: true,\n notificationClass: 'swiper-notification',\n prevSlideMessage: 'Previous slide',\n nextSlideMessage: 'Next slide',\n firstSlideMessage: 'This is the first slide',\n lastSlideMessage: 'This is the last slide',\n paginationBulletMessage: 'Go to slide {{index}}',\n slideLabelMessage: '{{index}} / {{slidesLength}}',\n containerMessage: null,\n containerRoleDescriptionMessage: null,\n itemRoleDescriptionMessage: null,\n slideRole: 'group',\n id: null\n }\n });\n swiper.a11y = {\n clicked: false\n };\n let liveRegion = null;\n function notify(message) {\n const notification = liveRegion;\n if (notification.length === 0) return;\n notification.innerHTML = '';\n notification.innerHTML = message;\n }\n const makeElementsArray = el => (Array.isArray(el) ? el : [el]).filter(e => !!e);\n function getRandomNumber(size) {\n if (size === void 0) {\n size = 16;\n }\n const randomChar = () => Math.round(16 * Math.random()).toString(16);\n return 'x'.repeat(size).replace(/x/g, randomChar);\n }\n function makeElFocusable(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('tabIndex', '0');\n });\n }\n function makeElNotFocusable(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('tabIndex', '-1');\n });\n }\n function addElRole(el, role) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('role', role);\n });\n }\n function addElRoleDescription(el, description) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-roledescription', description);\n });\n }\n function addElControls(el, controls) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-controls', controls);\n });\n }\n function addElLabel(el, label) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-label', label);\n });\n }\n function addElId(el, id) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('id', id);\n });\n }\n function addElLive(el, live) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-live', live);\n });\n }\n function disableEl(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-disabled', true);\n });\n }\n function enableEl(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-disabled', false);\n });\n }\n function onEnterOrSpaceKey(e) {\n if (e.keyCode !== 13 && e.keyCode !== 32) return;\n const params = swiper.params.a11y;\n const targetEl = e.target;\n if (swiper.pagination && swiper.pagination.el && (targetEl === swiper.pagination.el || swiper.pagination.el.contains(e.target))) {\n if (!e.target.matches(classesToSelector(swiper.params.pagination.bulletClass))) return;\n }\n if (swiper.navigation && swiper.navigation.nextEl && targetEl === swiper.navigation.nextEl) {\n if (!(swiper.isEnd && !swiper.params.loop)) {\n swiper.slideNext();\n }\n if (swiper.isEnd) {\n notify(params.lastSlideMessage);\n } else {\n notify(params.nextSlideMessage);\n }\n }\n if (swiper.navigation && swiper.navigation.prevEl && targetEl === swiper.navigation.prevEl) {\n if (!(swiper.isBeginning && !swiper.params.loop)) {\n swiper.slidePrev();\n }\n if (swiper.isBeginning) {\n notify(params.firstSlideMessage);\n } else {\n notify(params.prevSlideMessage);\n }\n }\n if (swiper.pagination && targetEl.matches(classesToSelector(swiper.params.pagination.bulletClass))) {\n targetEl.click();\n }\n }\n function updateNavigation() {\n if (swiper.params.loop || swiper.params.rewind || !swiper.navigation) return;\n const {\n nextEl,\n prevEl\n } = swiper.navigation;\n if (prevEl) {\n if (swiper.isBeginning) {\n disableEl(prevEl);\n makeElNotFocusable(prevEl);\n } else {\n enableEl(prevEl);\n makeElFocusable(prevEl);\n }\n }\n if (nextEl) {\n if (swiper.isEnd) {\n disableEl(nextEl);\n makeElNotFocusable(nextEl);\n } else {\n enableEl(nextEl);\n makeElFocusable(nextEl);\n }\n }\n }\n function hasPagination() {\n return swiper.pagination && swiper.pagination.bullets && swiper.pagination.bullets.length;\n }\n function hasClickablePagination() {\n return hasPagination() && swiper.params.pagination.clickable;\n }\n function updatePagination() {\n const params = swiper.params.a11y;\n if (!hasPagination()) return;\n swiper.pagination.bullets.forEach(bulletEl => {\n if (swiper.params.pagination.clickable) {\n makeElFocusable(bulletEl);\n if (!swiper.params.pagination.renderBullet) {\n addElRole(bulletEl, 'button');\n addElLabel(bulletEl, params.paginationBulletMessage.replace(/\\{\\{index\\}\\}/, elementIndex(bulletEl) + 1));\n }\n }\n if (bulletEl.matches(classesToSelector(swiper.params.pagination.bulletActiveClass))) {\n bulletEl.setAttribute('aria-current', 'true');\n } else {\n bulletEl.removeAttribute('aria-current');\n }\n });\n }\n const initNavEl = (el, wrapperId, message) => {\n makeElFocusable(el);\n if (el.tagName !== 'BUTTON') {\n addElRole(el, 'button');\n el.addEventListener('keydown', onEnterOrSpaceKey);\n }\n addElLabel(el, message);\n addElControls(el, wrapperId);\n };\n const handlePointerDown = () => {\n swiper.a11y.clicked = true;\n };\n const handlePointerUp = () => {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (!swiper.destroyed) {\n swiper.a11y.clicked = false;\n }\n });\n });\n };\n const handleFocus = e => {\n if (swiper.a11y.clicked) return;\n const slideEl = e.target.closest(`.${swiper.params.slideClass}, swiper-slide`);\n if (!slideEl || !swiper.slides.includes(slideEl)) return;\n const isActive = swiper.slides.indexOf(slideEl) === swiper.activeIndex;\n const isVisible = swiper.params.watchSlidesProgress && swiper.visibleSlides && swiper.visibleSlides.includes(slideEl);\n if (isActive || isVisible) return;\n if (e.sourceCapabilities && e.sourceCapabilities.firesTouchEvents) return;\n if (swiper.isHorizontal()) {\n swiper.el.scrollLeft = 0;\n } else {\n swiper.el.scrollTop = 0;\n }\n swiper.slideTo(swiper.slides.indexOf(slideEl), 0);\n };\n const initSlides = () => {\n const params = swiper.params.a11y;\n if (params.itemRoleDescriptionMessage) {\n addElRoleDescription(swiper.slides, params.itemRoleDescriptionMessage);\n }\n if (params.slideRole) {\n addElRole(swiper.slides, params.slideRole);\n }\n const slidesLength = swiper.slides.length;\n if (params.slideLabelMessage) {\n swiper.slides.forEach((slideEl, index) => {\n const slideIndex = swiper.params.loop ? parseInt(slideEl.getAttribute('data-swiper-slide-index'), 10) : index;\n const ariaLabelMessage = params.slideLabelMessage.replace(/\\{\\{index\\}\\}/, slideIndex + 1).replace(/\\{\\{slidesLength\\}\\}/, slidesLength);\n addElLabel(slideEl, ariaLabelMessage);\n });\n }\n };\n const init = () => {\n const params = swiper.params.a11y;\n swiper.el.append(liveRegion);\n\n // Container\n const containerEl = swiper.el;\n if (params.containerRoleDescriptionMessage) {\n addElRoleDescription(containerEl, params.containerRoleDescriptionMessage);\n }\n if (params.containerMessage) {\n addElLabel(containerEl, params.containerMessage);\n }\n\n // Wrapper\n const wrapperEl = swiper.wrapperEl;\n const wrapperId = params.id || wrapperEl.getAttribute('id') || `swiper-wrapper-${getRandomNumber(16)}`;\n const live = swiper.params.autoplay && swiper.params.autoplay.enabled ? 'off' : 'polite';\n addElId(wrapperEl, wrapperId);\n addElLive(wrapperEl, live);\n\n // Slide\n initSlides();\n\n // Navigation\n let {\n nextEl,\n prevEl\n } = swiper.navigation ? swiper.navigation : {};\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n if (nextEl) {\n nextEl.forEach(el => initNavEl(el, wrapperId, params.nextSlideMessage));\n }\n if (prevEl) {\n prevEl.forEach(el => initNavEl(el, wrapperId, params.prevSlideMessage));\n }\n\n // Pagination\n if (hasClickablePagination()) {\n const paginationEl = Array.isArray(swiper.pagination.el) ? swiper.pagination.el : [swiper.pagination.el];\n paginationEl.forEach(el => {\n el.addEventListener('keydown', onEnterOrSpaceKey);\n });\n }\n\n // Tab focus\n swiper.el.addEventListener('focus', handleFocus, true);\n swiper.el.addEventListener('pointerdown', handlePointerDown, true);\n swiper.el.addEventListener('pointerup', handlePointerUp, true);\n };\n function destroy() {\n if (liveRegion) liveRegion.remove();\n let {\n nextEl,\n prevEl\n } = swiper.navigation ? swiper.navigation : {};\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n if (nextEl) {\n nextEl.forEach(el => el.removeEventListener('keydown', onEnterOrSpaceKey));\n }\n if (prevEl) {\n prevEl.forEach(el => el.removeEventListener('keydown', onEnterOrSpaceKey));\n }\n\n // Pagination\n if (hasClickablePagination()) {\n const paginationEl = Array.isArray(swiper.pagination.el) ? swiper.pagination.el : [swiper.pagination.el];\n paginationEl.forEach(el => {\n el.removeEventListener('keydown', onEnterOrSpaceKey);\n });\n }\n\n // Tab focus\n swiper.el.removeEventListener('focus', handleFocus, true);\n swiper.el.removeEventListener('pointerdown', handlePointerDown, true);\n swiper.el.removeEventListener('pointerup', handlePointerUp, true);\n }\n on('beforeInit', () => {\n liveRegion = createElement('span', swiper.params.a11y.notificationClass);\n liveRegion.setAttribute('aria-live', 'assertive');\n liveRegion.setAttribute('aria-atomic', 'true');\n });\n on('afterInit', () => {\n if (!swiper.params.a11y.enabled) return;\n init();\n });\n on('slidesLengthChange snapGridLengthChange slidesGridLengthChange', () => {\n if (!swiper.params.a11y.enabled) return;\n initSlides();\n });\n on('fromEdge toEdge afterInit lock unlock', () => {\n if (!swiper.params.a11y.enabled) return;\n updateNavigation();\n });\n on('paginationUpdate', () => {\n if (!swiper.params.a11y.enabled) return;\n updatePagination();\n });\n on('destroy', () => {\n if (!swiper.params.a11y.enabled) return;\n destroy();\n });\n}\n\nexport { A11y as default };\n","@import \"~swiper/swiper-bundle.min.css\";\ncontent-carousel {\n display: block;\n overflow: hidden;\n visibility: hidden;\n &.hydrated {\n visibility: inherit;\n }\n}","import { Component, h, Host, Prop, Listen, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { BehaviorSubject } from 'rxjs';\nimport { A11y, Navigation, Pagination } from 'swiper/modules';\n\n/**\n * @slot content - This slot will usually serve a content hero block or image.\n * @slot - Default slot, same as content slot.\n */\nexport type InitMethodType = 'load' | 'event';\n@Component({\n tag: 'content-carousel',\n styleUrl: 'content-carousel.scss',\n shadow: false,\n})\nexport class ContentCarousel {\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type Select\n * @options load\n * @options init\n */\n @Prop() initMethod: InitMethodType = 'load';\n /**\n * @type JSON\n * @schema Swiper Options\n */\n @Prop() swiperOptions: string = '{\"slidesPerView\": 1, \"slidesPerGroup\": 1, \"autoplay\": true, \"loop\": false}';\n public swiperCarousel: any;\n public swiper?: HTMLDivElement;\n public swiperWrapper?: HTMLDivElement;\n public swiperPagination?: HTMLDivElement;\n public swiperPrevElement?: HTMLDivElement;\n public swiperNextElement?: HTMLDivElement;\n public swiperScrollbar?: HTMLDivElement;\n public swiperOptionsFinal;\n\n loadStatus: BehaviorSubject<boolean> = new BehaviorSubject(false);\n\n getSwiperOptions(newOptions: string): string {\n return Object.assign({\n observer: true,\n observeParents: true,\n pagination: {\n el: this.swiperPagination,\n },\n navigation: {\n nextEl: this.swiperNextElement,\n prevEl: this.swiperPrevElement,\n },\n scrollbar: {\n el: this.swiperScrollbar,\n },\n }, newOptions);\n }\n componentDidLoad() {\n if (this.initMethod === 'load') {\n if (this.swiperOptions) {\n this.swiperOptionsFinal = this.getSwiperOptions(JSON.parse(this.swiperOptions as string || ''));\n }\n \n let options = {\n root: null,\n rootMargin: '0px',\n threshold: 0.1,\n }\n \n let observer = new IntersectionObserver((entries) => {\n entries.forEach(async entry => {\n if (entry.isIntersecting && !this.loadStatus.getValue()) {\n await this.initSwiper();\n this.loadStatus.next(true);\n }\n });\n }, options);\n observer.observe(this.hostElement);\n }\n }\n\n @Listen('setSwiperOptions')\n setSwiperOptionsCallback(event: CustomEvent) {\n this.loadStatus.subscribe(async () => {\n let loaded = this.loadStatus.value;\n if (loaded) {\n this.swiperOptionsFinal = this.getSwiperOptions(event.detail);\n await this.initSwiper();\n }\n });\n }\n\n async initSwiper() {\n let Swiper = await import('swiper');\n for (const slide of this.swiperWrapper.children as any) {\n slide.classList.add('swiper-slide');\n }\n // configure Swiper to use modules\n this.swiperCarousel = new Swiper.Swiper(this.swiper, {\n ...this.swiperOptionsFinal, ...{\n modules: [A11y, Navigation, Pagination]\n }\n });\n }\n\n render() {\n return (\n <Host>\n <div class=\"swiper\" ref={el => this.swiper = el as HTMLDivElement}>\n <div class=\"swiper-wrapper\" ref={el => this.swiperWrapper = el as HTMLDivElement}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <div class=\"swiper-pagination\" ref={el => this.swiperPagination = el as HTMLDivElement}></div>\n\n <div class=\"swiper-button-prev\" ref={el => this.swiperPrevElement = el as HTMLDivElement}></div>\n <div class=\"swiper-button-next\" ref={el => this.swiperNextElement = el as HTMLDivElement}></div>\n\n <div class=\"swiper-scrollbar\" ref={el => this.swiperScrollbar = el as HTMLDivElement}></div>\n </div>\n </Host>\n );\n }\n\n}\n"],"mappings":"6FAYA,SAASA,EAASC,GAChB,OAAOA,IAAQ,aAAeA,IAAQ,UAAY,gBAAiBA,GAAOA,EAAIC,cAAgBC,MAChG,CACA,SAASC,EAAOC,EAAQC,GACtB,GAAID,SAAgB,EAAG,CACrBA,EAAS,EACb,CACE,GAAIC,SAAa,EAAG,CAClBA,EAAM,EACV,CACEH,OAAOI,KAAKD,GAAKE,SAAQC,IACvB,UAAWJ,EAAOI,KAAS,YAAaJ,EAAOI,GAAOH,EAAIG,QAAU,GAAIT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AMvI,EAAYmD,K,CAKlC,MAAA8E,GACE,OACEwH,EAACC,EAAI,KACHD,EAAA,OAAKE,MAAM,SAASC,IAAKvX,GAAM5B,KAAKgF,OAASpD,GAC3CoX,EAAA,OAAKE,MAAM,iBAAiBC,IAAKvX,GAAM5B,KAAK6Y,cAAgBjX,GAC1DoX,EAAA,QAAMI,KAAK,YACXJ,EAAA,cAEFA,EAAA,OAAKE,MAAM,oBAAoBC,IAAKvX,GAAM5B,KAAK4W,iBAAmBhV,IAElEoX,EAAA,OAAKE,MAAM,qBAAqBC,IAAKvX,GAAM5B,KAAK8W,kBAAoBlV,IACpEoX,EAAA,OAAKE,MAAM,qBAAqBC,IAAKvX,GAAM5B,KAAK6W,kBAAoBjV,IAEpEoX,EAAA,OAAKE,MAAM,mBAAmBC,IAAKvX,GAAM5B,KAAKgX,gBAAkBpV,K"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as t,H as n,g as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as t,H as n,g as a}from"./p-dc53dda7.js";class r{constructor(e){var t=e.querySelectorAll('[role="tablist"]')[0];var n;var a;r();function r(){n=e.querySelectorAll('[role="tab"]');a=e.querySelectorAll('[role="tabpanel"]')}var o={end:35,home:36,left:37,up:38,right:39,down:40,delete:46,enter:13,space:32};var i={37:-1,38:-1,39:1,40:1};for(var c=0;c<n.length;++c){s(c)}function s(e){n[e].addEventListener("click",l);n[e].addEventListener("keydown",d);n[e].addEventListener("keyup",f);n[e].index=e}function l(e){let t=e.target.closest("button");e.preventDefault();v(t,false)}function d(e){var t=e.keyCode;switch(t){case o.end:e.preventDefault();k();break;case o.home:e.preventDefault();p();break;case o.up:case o.down:u(e);break}}function f(e){var t=e.keyCode;switch(t){case o.left:case o.right:u(e);break;case o.delete:m(e);break;case o.enter:case o.space:e.preventDefault();v(e.target);break}}function u(e){var n=e.keyCode;var a=t.getAttribute("aria-orientation")=="vertical";var r=false;if(a){if(n===o.up||n===o.down){e.preventDefault();r=true}}else{if(n===o.left||n===o.right){r=true}}if(r){b(e)}}function b(e){var t=e.keyCode;if(i[t]){var a=e.target;if(a.index!==undefined){if(n[a.index+i[t]]){n[a.index+i[t]].focus()}else if(t===o.left||t===o.up){k()}else if(t===o.right||t==o.down){p()}}}}function v(e,t){t=t||true;h();e.removeAttribute("tabindex");e.setAttribute("aria-selected","true");var n=e.getAttribute("aria-controls");document.getElementById(n).removeAttribute("hidden");if(t){e.focus()}}function h(){for(var e=0;e<n.length;e++){n[e].setAttribute("tabindex","-1");n[e].setAttribute("aria-selected","false")}for(var t=0;t<a.length;t++){a[t].setAttribute("hidden","hidden")}}function p(){n[0].focus()}function k(){n[n.length-1].focus()}function m(e){var t=e.target;if(t.getAttribute("data-deletable")!==null){y(e);r();if(t.index-1<0){v(n[0])}else{v(n[t.index-1])}}}function y(e){var t=e.target;var n=document.getElementById(t.getAttribute("aria-controls"));t.parentElement.removeChild(t);n.parentElement.removeChild(n)}}}const o="content-tabs{display:block;visibility:hidden}content-tabs.hydrated{visibility:inherit}content-tabs button[role=tab]{padding:0;border:none;font:inherit;color:inherit;background-color:inherit;cursor:pointer;border-bottom:1px solid transparent}content-tabs button[role=tab][aria-selected=true]{border-bottom:1px solid black}";const i=class{constructor(t){e(this,t)}componentDidLoad(){new r(this.element)}render(){return t(n,null,t("slot",{name:"content"}),t("slot",null))}get element(){return a(this)}};i.style=o;export{i as content_tabs};
|
|
2
|
+
//# sourceMappingURL=p-8d44f285.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,g as n}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as i,H as s,g as n}from"./p-dc53dda7.js";var o=function(t){this.domNode=t;this.keyCode=Object.freeze({RETURN:13})};o.prototype.init=function(){this.controlledNode=false;var t=this.domNode.getAttribute("aria-controls");if(t){this.controlledNode=document.getElementById(t)}this.domNode.addEventListener("keydown",this.handleKeydown.bind(this));this.domNode.addEventListener("click",this.handleClick.bind(this));this.domNode.addEventListener("focus",this.handleFocus.bind(this));this.domNode.addEventListener("blur",this.handleBlur.bind(this));if(this.domNode.getAttribute("aria-expanded")==="false"){this.domNode.setAttribute("aria-expanded","false");this.hideContent()}};o.prototype.showContent=function(){if(this.controlledNode){this.controlledNode.style.display="block"}};o.prototype.hideContent=function(){if(this.controlledNode){this.controlledNode.style.display="none"}};o.prototype.toggleExpand=function(){if(this.domNode.getAttribute("aria-expanded")==="true"){this.domNode.setAttribute("aria-expanded","false");this.hideContent()}else{this.domNode.setAttribute("aria-expanded","true");this.showContent()}};o.prototype.handleKeydown=function(t){switch(t.keyCode){case this.keyCode.RETURN:this.toggleExpand();t.stopPropagation();t.preventDefault();break}};o.prototype.handleClick=function(t){t.preventDefault();this.toggleExpand()};o.prototype.handleFocus=function(){this.domNode.classList.add("focus")};o.prototype.handleBlur=function(){this.domNode.classList.remove("focus")};class r{constructor(t){var i=t.querySelectorAll('button[aria-controls], a[role="button"][aria-controls]');for(var s=0;s<i.length;s++){var n=new o(i[s]);n.init()}}}const a="content-accordion{display:block}content-accordion button[aria-expanded][aria-controls]{padding:0;border:none;font:inherit;color:inherit;background-color:transparent;cursor:pointer}";const e=class{constructor(i){t(this,i);this.initialized=false}componentDidRender(){if(!this.initialized){this.initialized=true;new r(this.hostElement)}}render(){return i(s,null,i("slot",{name:"content"}),i("slot",null))}get hostElement(){return n(this)}};e.style=a;export{e as content_accordion};
|
|
2
|
+
//# sourceMappingURL=p-b27f84ad.entry.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const e="content-blocks";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:true,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:false,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};let n;let s;let o=false;let l=false;let i=false;let c=false;let f=false;const r=(e,t="")=>{{return()=>{}}};const a=(e,t)=>{{return()=>{}}};const u="{visibility:hidden}.hydrated{visibility:inherit}";const d={};const p=e=>{e=typeof e;return e==="object"||e==="function"};function m(e){var t,n,s;return(s=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const v=(e,t,...n)=>{let s=null;let o=null;let l=false;let i=false;const c=[];const f=t=>{for(let n=0;n<t.length;n++){s=t[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(l=typeof e!=="function"&&!p(s)){s=String(s)}if(l&&i){c[c.length-1].t+=s}else{c.push(l?h(null,s):s)}i=l}}};f(n);if(t){if(t.name){o=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,$)}const r=h(e,null);r.o=t;if(c.length>0){r.l=c}{r.i=o}return r};const h=(e,t)=>{const n={u:0,p:e,t,m:null,l:null};{n.o=null}{n.i=null}return n};const y={};const b=e=>e&&e.p===y;const $={forEach:(e,t)=>e.map(w).forEach(t),map:(e,t)=>e.map(w).map(t).map(S)};const w=e=>({vattrs:e.o,vchildren:e.l,vkey:e.v,vname:e.i,vtag:e.p,vtext:e.t});const S=e=>{if(typeof e.vtag==="function"){const t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return v(e.vtag,t,...e.vchildren||[])}const t=h(e.vtag,e.vtext);t.o=e.vattrs;t.l=e.vchildren;t.v=e.vkey;t.i=e.vname;return t};const g=(e,t)=>{if(e!=null&&!p(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};const k=e=>Re(e).$hostElement$;const C=(e,t,n)=>{const s=k(e);return{emit:e=>R(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};const R=(e,t,n)=>{const s=Ne.ce(t,n);e.dispatchEvent(s);return s};const T=new WeakMap;const L=(e,t,n)=>{let s=Fe.get(e);if(Ue&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=t}else{s.replaceSync(t)}}else{s=t}Fe.set(e,s)};const x=(e,t,n)=>{var s;const o=D(t);const l=Fe.get(o);e=e.nodeType===11?e:Ae;if(l){if(typeof l==="string"){e=e.head||e;let t=T.get(e);let n;if(!t){T.set(e,t=new Set)}if(!t.has(o)){{n=Ae.createElement("style");n.innerHTML=l;const t=(s=Ne.h)!==null&&s!==void 0?s:m(Ae);if(t!=null){n.setAttribute("nonce",t)}e.insertBefore(n,e.querySelector("link"))}if(t){t.add(o)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]}}return o};const j=e=>{const t=e.$;const n=e.$hostElement$;const s=r("attachStyles",t.S);x(n.getRootNode(),t);s()};const D=(e,t)=>"sc-"+e.S;const O=(e,t,n,s,o,l)=>{if(n!==s){let i=xe(e,t);let c=t.toLowerCase();if(t==="class"){const t=e.classList;const o=M(n);const l=M(s);t.remove(...o.filter((e=>e&&!l.includes(e))));t.add(...l.filter((e=>e&&!o.includes(e))))}else if(t==="style"){{for(const t in n){if(!s||s[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in s){if(!n||s[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,s[t])}else{e.style[t]=s[t]}}}}else if(t==="ref"){if(s){s(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(xe(Me,c)){t=c.slice(2)}else{t=c[2]+t.slice(3)}if(n||s){const o=t.endsWith(A);t=t.replace(N,"");if(n){Ne.rel(e,t,n,o)}if(s){Ne.ael(e,t,s,o)}}}else{const c=p(s);if((i||c&&s!==null)&&!o){try{if(!e.tagName.includes("-")){const o=s==null?"":s;if(t==="list"){i=false}else if(n==null||e[t]!=o){e[t]=o}}else{e[t]=s}}catch(e){}}if(s==null||s===false){if(s!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!i||l&4||o)&&!c){s=s===true?"":s;{e.setAttribute(t,s)}}}}};const F=/\s/;const M=e=>!e?[]:e.split(F);const A="Capture";const N=new RegExp(A+"$");const P=(e,t,n,s)=>{const o=t.m.nodeType===11&&t.m.host?t.m.host:t.m;const l=e&&e.o||d;const i=t.o||d;{for(s in l){if(!(s in i)){O(o,s,l[s],undefined,n,t.u)}}}for(s in i){O(o,s,l[s],i[s],n,t.u)}};const U=(e,t,l,f)=>{var r;const a=t.l[l];let u=0;let d;let p;let m;if(!o){i=true;if(a.p==="slot"){a.u|=a.l?2:1}}if(a.t!==null){d=a.m=Ae.createTextNode(a.t)}else if(a.u&1){d=a.m=Ae.createTextNode("")}else{d=a.m=Ae.createElement(a.u&2?"slot-fb":a.p);{P(null,a,c)}if(a.l){for(u=0;u<a.l.length;++u){p=U(e,a,u);if(p){d.appendChild(p)}}}}{d["s-hn"]=s;if(a.u&(2|1)){d["s-sr"]=true;d["s-fs"]=(r=a.o)===null||r===void 0?void 0:r.slot;d["s-cr"]=n;d["s-sn"]=a.i||"";m=e&&e.l&&e.l[l];if(m&&m.p===a.p&&e.m){W(e.m,false)}}}return d};const W=(e,t)=>{var n;Ne.u|=1;const o=e.childNodes;for(let e=o.length-1;e>=0;e--){const l=o[e];if(l["s-hn"]!==s&&l["s-ol"]){q(l).insertBefore(l,Q(l));l["s-ol"].remove();l["s-ol"]=undefined;l["s-sh"]=undefined;if(l.nodeType===1){l.setAttribute("slot",(n=l["s-sn"])!==null&&n!==void 0?n:"")}i=true}if(t){W(l,t)}}Ne.u&=~1};const E=(e,t,n,s,o,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e;let c;for(;o<=l;++o){if(s[o]){c=U(null,n,o);if(c){s[o].m=c;i.insertBefore(c,Q(t))}}}};const z=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.m;G(t);if(e){{l=true;if(e["s-ol"]){e["s-ol"].remove()}else{W(e,true)}}e.remove()}}}};const B=(e,t,n,s)=>{let o=0;let l=0;let i=t.length-1;let c=t[0];let f=t[i];let r=s.length-1;let a=s[0];let u=s[r];let d;while(o<=i&&l<=r){if(c==null){c=t[++o]}else if(f==null){f=t[--i]}else if(a==null){a=s[++l]}else if(u==null){u=s[--r]}else if(H(c,a)){I(c,a);c=t[++o];a=s[++l]}else if(H(f,u)){I(f,u);f=t[--i];u=s[--r]}else if(H(c,u)){if(c.p==="slot"||u.p==="slot"){W(c.m.parentNode,false)}I(c,u);e.insertBefore(c.m,f.m.nextSibling);c=t[++o];u=s[--r]}else if(H(f,a)){if(c.p==="slot"||u.p==="slot"){W(f.m.parentNode,false)}I(f,a);e.insertBefore(f.m,c.m);f=t[--i];a=s[++l]}else{{d=U(t&&t[l],n,l);a=s[++l]}if(d){{q(c.m).insertBefore(d,Q(c.m))}}}}if(o>i){E(e,s[r+1]==null?null:s[r+1].m,n,s,l,r)}else if(l>r){z(t,o,i)}};const H=(e,t)=>{if(e.p===t.p){if(e.p==="slot"){return e.i===t.i}return true}return false};const Q=e=>e&&e["s-ol"]||e;const q=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;const I=(e,t)=>{const n=t.m=e.m;const s=e.l;const o=t.l;const l=t.p;const i=t.t;let f;if(i===null){{if(l==="slot");else{P(e,t,c)}}if(s!==null&&o!==null){B(n,s,t,o)}else if(o!==null){if(e.t!==null){n.textContent=""}E(n,null,t,o,0,o.length-1)}else if(s!==null){z(s,0,s.length-1)}}else if(f=n["s-cr"]){f.parentNode.textContent=i}else if(e.t!==i){n.data=i}};const K=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const n=e["s-sn"];e.hidden=false;for(const s of t){if(s!==e){if(s["s-hn"]!==e["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){e.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){e.hidden=true;break}}}}}K(e)}}};const V=[];const X=e=>{let n;let s;let o;for(const i of e.childNodes){if(i["s-sr"]&&(n=i["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=i["s-sn"];for(o=s.length-1;o>=0;o--){n=s[o];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==i["s-hn"]&&!t.experimentalSlotFixes){if(_(n,e)){let t=V.find((e=>e.k===n));l=true;n["s-sn"]=n["s-sn"]||e;if(t){t.k["s-sh"]=i["s-hn"];t.C=i}else{n["s-sh"]=i["s-hn"];V.push({C:i,k:n})}if(n["s-sr"]){V.map((e=>{if(_(e.k,n["s-sn"])){t=V.find((e=>e.k===n));if(t&&!e.C){e.C=t.C}}}))}}else if(!V.some((e=>e.k===n))){V.push({k:n})}}}}if(i.nodeType===1){X(i)}}};const _=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};const G=e=>{{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(G)}};const J=(e,t,c=false)=>{var f,r;const a=e.$hostElement$;const u=e.$;const d=e.R||h(null,null);const p=b(t)?t:v(null,null,t);s=a.tagName;if(u.T){p.o=p.o||{};u.T.map((([e,t])=>p.o[t]=a[e]))}if(c&&p.o){for(const e of Object.keys(p.o)){if(a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){p.o[e]=a[e]}}}p.p=null;p.u|=4;e.R=p;p.m=d.m=a;{n=a["s-cr"];o=(u.u&1)!==0;l=false}I(d,p);{Ne.u|=1;if(i){X(p.m);for(const e of V){const t=e.k;if(!t["s-ol"]){const e=Ae.createTextNode("");e["s-nr"]=t;t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of V){const t=e.k;const n=e.C;if(n){const e=n.parentNode;let s=n.nextSibling;{let n=(f=t["s-ol"])===null||f===void 0?void 0:f.previousSibling;while(n){let o=(r=n["s-nr"])!==null&&r!==void 0?r:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}n=n.previousSibling}}if(!s&&e!==t.parentNode||t.nextSibling!==s){if(t!==s){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}e.insertBefore(t,s)}}}else{if(t.nodeType===1){t.hidden=true}}}}if(l){K(p.m)}Ne.u&=~1;V.length=0}};const Y=(e,t)=>{if(t&&!e.L&&t["s-p"]){t["s-p"].push(new Promise((t=>e.L=t)))}};const Z=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}Y(e,e.j);const n=()=>ee(e,t);return qe(n)};const ee=(e,t)=>{const n=r("scheduleUpdate",e.$.S);const s=e.D;let o;if(t){{e.u|=256;if(e.O){e.O.map((([e,t])=>ce(s,e,t)));e.O=undefined}}{o=ce(s,"componentWillLoad")}}{o=te(o,(()=>ce(s,"componentWillRender")))}n();return te(o,(()=>se(e,s,t)))};const te=(e,t)=>ne(e)?e.then(t):t();const ne=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";const se=async(e,t,n)=>{var s;const o=e.$hostElement$;const l=r("update",e.$.S);const i=o["s-rc"];if(n){j(e)}const c=r("render",e.$.S);{oe(e,t,o,n)}if(i){i.map((e=>e()));o["s-rc"]=undefined}c();l();{const t=(s=o["s-p"])!==null&&s!==void 0?s:[];const n=()=>le(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.u|=4;t.length=0}}};const oe=(e,t,n,s)=>{try{t=t.render();{e.u&=~16}{e.u|=2}{{{J(e,t,s)}}}}catch(t){je(t,e.$hostElement$)}return null};const le=e=>{const t=e.$.S;const n=e.$hostElement$;const s=r("postUpdate",t);const o=e.D;const l=e.j;{ce(o,"componentDidRender")}if(!(e.u&64)){e.u|=64;{fe(n)}{ce(o,"componentDidLoad")}s();{e.F(n);if(!l){ie()}}}else{s()}{e.M(n)}{if(e.L){e.L();e.L=undefined}if(e.u&512){Qe((()=>Z(e,false)))}e.u&=~(4|512)}};const ie=t=>{{fe(Ae.documentElement)}Qe((()=>R(Me,"appload",{detail:{namespace:e}})))};const ce=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){je(e)}}return undefined};const fe=e=>e.classList.add("hydrated");const re=(e,t)=>Re(e).A.get(t);const ae=(e,t,n,s)=>{const o=Re(e);const l=o.$hostElement$;const i=o.A.get(t);const c=o.u;const f=o.D;n=g(n,s.N[t][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const a=n!==i&&!r;if((!(c&8)||i===undefined)&&a){o.A.set(t,n);if(f){if(s.P&&c&128){const e=s.P[t];if(e){e.map((e=>{try{f[e](n,i,t)}catch(e){je(e,l)}}))}}if((c&(2|16))===2){Z(o,false)}}}};const ue=(e,t,n)=>{var s;if(t.N){if(e.watchers){t.P=e.watchers}const o=Object.entries(t.N);const l=e.prototype;o.map((([e,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,e,{get(){return re(this,e)},set(n){ae(this,e,n,t)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,e,{value(...t){const n=Re(this);return n.U.then((()=>n.D[e](...t)))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(e,s,o){Ne.jmp((()=>{const i=n.get(e);if(this.hasOwnProperty(i)){o=this[i];delete this[i]}else if(l.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==o){return}else if(i==null){const n=Re(this);const l=n===null||n===void 0?void 0:n.u;if(!(l&8)&&l&128&&o!==s){const l=n.D;const i=t.P[e];i===null||i===void 0?void 0:i.forEach((t=>{if(l[t]!=null){l[t].call(l,o,s,e)}}))}return}this[i]=o===null&&typeof this[i]==="boolean"?false:o}))};e.observedAttributes=Array.from(new Set([...Object.keys((s=t.P)!==null&&s!==void 0?s:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,s])=>{const o=s[1]||e;n.set(o,e);if(s[0]&512){t.T.push([e,o])}return o}))]))}}return e};const de=async(e,t,n,s)=>{let o;if((t.u&32)===0){t.u|=32;{o=Oe(n);if(o.then){const e=a();o=await o;e()}if(!o.isProxied){{n.P=o.watchers}ue(o,n,2);o.isProxied=true}const e=r("createInstance",n.S);{t.u|=8}try{new o(t)}catch(e){je(e)}{t.u&=~8}{t.u|=128}e()}if(o.style){let e=o.style;const t=D(n);if(!Fe.has(t)){const s=r("registerStyles",n.S);L(t,e,!!(n.u&1));s()}}}const l=t.j;const i=()=>Z(t,true);if(l&&l["s-rc"]){l["s-rc"].push(i)}else{i()}};const pe=e=>{};const me=e=>{if((Ne.u&1)===0){const t=Re(e);const n=t.$;const s=r("connectedCallback",n.S);if(!(t.u&1)){t.u|=1;{if(n.u&(4|8)){ve(e)}}{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){Y(t,t.j=n);break}}}if(n.N){Object.entries(n.N).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{de(e,t,n)}}else{$e(e,t,n.W);if(t===null||t===void 0?void 0:t.D);else if(t===null||t===void 0?void 0:t.B){t.B.then((()=>pe()))}}s()}};const ve=e=>{const t=e["s-cr"]=Ae.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};const he=e=>{};const ye=async e=>{if((Ne.u&1)===0){const t=Re(e);{if(t.H){t.H.map((e=>e()));t.H=undefined}}if(t===null||t===void 0?void 0:t.D);else if(t===null||t===void 0?void 0:t.B){t.B.then((()=>he()))}}};const be=(e,t={})=>{var n;const s=r();const o=[];const l=t.exclude||[];const i=Me.customElements;const c=Ae.head;const f=c.querySelector("meta[charset]");const a=Ae.createElement("style");const d=[];let p;let v=true;Object.assign(Ne,t);Ne.q=new URL(t.resourcesUrl||"./",Ae.baseURI).href;e.map((e=>{e[1].map((t=>{var n;const s={u:t[0],S:t[1],N:t[2],W:t[3]};{s.N=t[2]}{s.W=t[3]}{s.T=[]}{s.P=(n=t[4])!==null&&n!==void 0?n:{}}const c=s.S;const f=class extends HTMLElement{constructor(e){super(e);e=this;Le(e,s)}connectedCallback(){if(p){clearTimeout(p);p=null}if(v){d.push(this)}else{Ne.jmp((()=>me(this)))}}disconnectedCallback(){Ne.jmp((()=>ye(this)))}componentOnReady(){return Re(this).B}};s.I=e[0];if(!l.includes(c)&&!i.get(c)){o.push(c);i.define(c,ue(f,s,1))}}))}));{a.innerHTML=o+u;a.setAttribute("data-styles","");const e=(n=Ne.h)!==null&&n!==void 0?n:m(Ae);if(e!=null){a.setAttribute("nonce",e)}c.insertBefore(a,f?f.nextSibling:c.firstChild)}v=false;if(d.length){d.map((e=>e.connectedCallback()))}else{{Ne.jmp((()=>p=setTimeout(ie,30)))}}s()};const $e=(e,t,n,s)=>{if(n){n.map((([n,s,o])=>{const l=Se(e,n);const i=we(t,o);const c=ge(n);Ne.ael(l,s,i,c);(t.H=t.H||[]).push((()=>Ne.rel(l,s,i,c)))}))}};const we=(e,t)=>n=>{try{{if(e.u&256){e.D[t](n)}else{(e.O=e.O||[]).push([t,n])}}}catch(e){je(e)}};const Se=(e,t)=>{if(t&8)return Me;return e};const ge=e=>(e&2)!==0;const ke=e=>Ne.h=e;const Ce=new WeakMap;const Re=e=>Ce.get(e);const Te=(e,t)=>Ce.set(t.D=e,t);const Le=(e,t)=>{const n={u:0,$hostElement$:e,$:t,A:new Map};{n.U=new Promise((e=>n.M=e))}{n.B=new Promise((e=>n.F=e));e["s-p"]=[];e["s-rc"]=[]}$e(e,n,t.W);return Ce.set(e,n)};const xe=(e,t)=>t in e;const je=(e,t)=>(0,console.error)(e,t);const De=new Map;const Oe=(e,t,n)=>{const s=e.S.replace(/-/g,"_");const o=e.I;const l=De.get(o);if(l){return l[s]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((e=>{{De.set(o,e)}return e[s]}),je)};const Fe=new Map;const Me=typeof window!=="undefined"?window:{};const Ae=Me.document||{head:{}};const Ne={u:0,q:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};const Pe=e=>Promise.resolve(e);const Ue=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();const We=[];const Ee=[];const ze=(e,t)=>n=>{e.push(n);if(!f){f=true;if(t&&Ne.u&4){Qe(He)}else{Ne.raf(He)}}};const Be=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){je(e)}}e.length=0};const He=()=>{Be(We);{Be(Ee);if(f=We.length>0){Ne.raf(He)}}};const Qe=e=>Pe().then(e);const qe=ze(Ee,true);export{y as H,be as b,C as c,k as g,v as h,Pe as p,Te as r,ke as s};
|
|
3
|
+
//# sourceMappingURL=p-dc53dda7.js.map
|