ai-question-pro 0.0.2 → 0.0.4
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/components/demo/utils/request.js +1 -1
- package/dist/ai-question-pro.common.js +5468 -0
- package/dist/ai-question-pro.common.js.map +1 -0
- package/dist/ai-question-pro.umd.js +5479 -0
- package/dist/ai-question-pro.umd.js.map +1 -0
- package/dist/ai-question-pro.umd.min.js +4 -0
- package/dist/ai-question-pro.umd.min.js.map +1 -0
- package/dist/demo.html +1 -0
- package/package.json +2 -2
- package/dist/dist.zip +0 -0
- package/dist/example.pdf +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +0 -1
- package/dist/static/css/app.db516013.css +0 -1
- package/dist/static/css/chunk-0b2f36dc.d2c51001.css +0 -1
- package/dist/static/css/chunk-1017c38b.37c79086.css +0 -1
- package/dist/static/css/chunk-14486df2.67cf2e83.css +0 -1
- package/dist/static/css/chunk-50ed24be.d542543c.css +0 -1
- package/dist/static/css/chunk-52b6529f.234184df.css +0 -1
- package/dist/static/css/chunk-afedda78.11e9ac00.css +0 -1
- package/dist/static/css/chunk-bf085792.820db3ee.css +0 -1
- package/dist/static/css/chunk-commons.fa19746a.css +0 -1
- package/dist/static/css/chunk-elementUI.540b74b2.css +0 -1
- package/dist/static/css/chunk-f95d4b14.6b1d6d18.css +0 -1
- package/dist/static/fonts/bdzy.898f1701.ttf +0 -0
- package/dist/static/fonts/element-icons.535877f5.woff +0 -0
- package/dist/static/fonts/element-icons.732389de.ttf +0 -0
- package/dist/static/img/1.d7943ab3.svg +0 -12
- package/dist/static/img/10.0d977081.svg +0 -12
- package/dist/static/img/11.e706123f.svg +0 -12
- package/dist/static/img/12.6dcda471.svg +0 -12
- package/dist/static/img/13.de32d16b.svg +0 -12
- package/dist/static/img/14.96b60a4d.svg +0 -12
- package/dist/static/img/15.d0763a02.svg +0 -12
- package/dist/static/img/16.7c1a3fa6.svg +0 -12
- package/dist/static/img/17.6dcda471.svg +0 -12
- package/dist/static/img/18.d7943ab3.svg +0 -12
- package/dist/static/img/19.0d977081.svg +0 -12
- package/dist/static/img/2.d0763a02.svg +0 -12
- package/dist/static/img/3.96b60a4d.svg +0 -12
- package/dist/static/img/4.d0763a02.svg +0 -12
- package/dist/static/img/5.d7943ab3.svg +0 -12
- package/dist/static/img/6.7c1a3fa6.svg +0 -12
- package/dist/static/img/7.de32d16b.svg +0 -12
- package/dist/static/img/8.923e4a7d.svg +0 -12
- package/dist/static/img/9.0d977081.svg +0 -12
- package/dist/static/img/ai-back-image.c38ae0b5.png +0 -0
- package/dist/static/img/ai-logo.1be55bae.png +0 -0
- package/dist/static/img/dengpao.ca465f52.png +0 -0
- package/dist/static/img/dengpao.f43dfca8.png +0 -0
- package/dist/static/img/dongqilai.712e94ae.gif +0 -0
- package/dist/static/img/hot-icon.a31c2f87.png +0 -0
- package/dist/static/img/jingtai.f5c980ac.png +0 -0
- package/dist/static/img/left-bg.b32f62c0.png +0 -0
- package/dist/static/img/logo.73c01bbf.png +0 -0
- package/dist/static/img/major-art.038427a4.png +0 -0
- package/dist/static/img/major-art.8f8971f6.png +0 -0
- package/dist/static/img/major-beach.5b0d4c98.png +0 -0
- package/dist/static/img/major-beach.cd37c56f.png +0 -0
- package/dist/static/img/major-build.2584e41e.png +0 -0
- package/dist/static/img/major-build.9710a9ae.png +0 -0
- package/dist/static/img/major-car.81f0d328.png +0 -0
- package/dist/static/img/major-car.95e29dda.png +0 -0
- package/dist/static/img/major-chemistry.a194ecc7.png +0 -0
- package/dist/static/img/major-chemistry.cf86f0b0.png +0 -0
- package/dist/static/img/major-clothes.a38fcb95.png +0 -0
- package/dist/static/img/major-clothes.ad3d09b3.png +0 -0
- package/dist/static/img/major-course.73cfde3d.png +0 -0
- package/dist/static/img/major-course.d54a2b68.png +0 -0
- package/dist/static/img/major-energy.17da75b9.png +0 -0
- package/dist/static/img/major-energy.240153c8.png +0 -0
- package/dist/static/img/major-equipment.125cfe04.png +0 -0
- package/dist/static/img/major-equipment.2e956d55.png +0 -0
- package/dist/static/img/major-food.a37aa08c.png +0 -0
- package/dist/static/img/major-food.e49f5d14.png +0 -0
- package/dist/static/img/major-law.677ccd0c.png +0 -0
- package/dist/static/img/major-law.a2d1b745.png +0 -0
- package/dist/static/img/major-leaf.1021f366.png +0 -0
- package/dist/static/img/major-leaf.b0870c73.png +0 -0
- package/dist/static/img/major-medicine.f264ece0.png +0 -0
- package/dist/static/img/major-news.936832bb.png +0 -0
- package/dist/static/img/major-news.d31048b3.png +0 -0
- package/dist/static/img/money-round-stroke.67895d51.png +0 -0
- package/dist/static/img/money-round-stroke.ee9436d7.png +0 -0
- package/dist/static/img/more-stroke.74ae9863.png +0 -0
- package/dist/static/img/more-stroke.7e984cc7.png +0 -0
- package/dist/static/img/people.fe3487b8.png +0 -0
- package/dist/static/img/report.1d8a13b4.png +0 -0
- package/dist/static/img/robot-bg.a75d7295.svg +0 -11
- package/dist/static/img/set-stroke.c4e498bb.png +0 -0
- package/dist/static/img/set-stroke.d920c9ae.png +0 -0
- package/dist/static/img/shadow.c2a31dee.png +0 -0
- package/dist/static/img/user.5dce8aa5.png +0 -0
- package/dist/static/img/wodexuexiao.62ab2bca.png +0 -0
- package/dist/static/img/wodexuexiao.c7746992.png +0 -0
- package/dist/static/img/zhayan.c018580c.gif +0 -0
- package/dist/static/img/zjywLogo.c55aaa3f.png +0 -0
- package/dist/static/js/app.72c8491b.js +0 -1
- package/dist/static/js/chunk-0b2f36dc.ced75230.js +0 -1
- package/dist/static/js/chunk-1017c38b.706050ac.js +0 -1
- package/dist/static/js/chunk-14486df2.ed19075f.js +0 -1
- package/dist/static/js/chunk-50ed24be.e3f3a857.js +0 -1
- package/dist/static/js/chunk-52b6529f.4b11538e.js +0 -1
- package/dist/static/js/chunk-568fd996.a3befc0d.js +0 -1
- package/dist/static/js/chunk-705c7d06.86ee8d8d.js +0 -1
- package/dist/static/js/chunk-afedda78.f860b7d8.js +0 -1
- package/dist/static/js/chunk-bf085792.a34bb220.js +0 -1
- package/dist/static/js/chunk-c9150686.095a89c8.js +0 -1
- package/dist/static/js/chunk-commons.b6db4c07.js +0 -1
- package/dist/static/js/chunk-elementUI.fb941a35.js +0 -9
- package/dist/static/js/chunk-f95d4b14.4fbb0af7.js +0 -1
- package/dist/static/js/chunk-libs.9ab992e5.js +0 -320
- package/dist/static/js/runtime.42a91043.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-568fd996"],{b220:function(e,t,s){"use strict";function i(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function a(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(s=>{"undefined"===typeof e[s]?e[s]=t[s]:i(t[s])&&i(e[s])&&Object.keys(t[s]).length>0&&a(e[s],t[s])})}s.d(t,"a",(function(){return ds}));const r={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 n(){const e="undefined"!==typeof document?document:{};return a(e,r),e}const l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function o(){const e="undefined"!==typeof window?window:{};return a(e,l),e}function d(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}function p(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(s){}try{delete t[e]}catch(s){}})}function c(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function u(){return Date.now()}function m(e){const t=o();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}function h(e,t){void 0===t&&(t="x");const s=o();let i,a,r;const n=m(e);return s.WebKitCSSMatrix?(a=n.transform||n.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix("none"===a?"":a)):(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===t&&(a=s.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=s.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}function f(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function g(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function v(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const i=s<0||arguments.length<=s?void 0:arguments[s];if(void 0!==i&&null!==i&&!g(i)){const s=Object.keys(Object(i)).filter(e=>t.indexOf(e)<0);for(let t=0,a=s.length;t<a;t+=1){const a=s[t],r=Object.getOwnPropertyDescriptor(i,a);void 0!==r&&r.enumerable&&(f(e[a])&&f(i[a])?i[a].__swiper__?e[a]=i[a]:v(e[a],i[a]):!f(e[a])&&f(i[a])?(e[a]={},i[a].__swiper__?e[a]=i[a]:v(e[a],i[a])):e[a]=i[a])}}}return e}function w(e,t,s){e.style.setProperty(t,s)}function b(e){let{swiper:t,targetPosition:s,side:i}=e;const a=o(),r=-t.translate;let n,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const p=s>r?"next":"prev",c=(e,t)=>"next"===p&&e>=t||"prev"===p&&e<=t,u=()=>{n=(new Date).getTime(),null===l&&(l=n);const e=Math.max(Math.min((n-l)/d,1),0),o=.5-Math.cos(e*Math.PI)/2;let p=r+o*(s-r);if(c(p,s)&&(p=s),t.wrapperEl.scrollTo({[i]:p}),c(p,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:p})}),void a.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=a.requestAnimationFrame(u)};u()}function y(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function x(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function E(e){try{return void console.warn(e)}catch(t){}}function S(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:d(t)),s}function T(e){const t=o(),s=n(),i=e.getBoundingClientRect(),a=s.body,r=e.clientTop||a.clientTop||0,l=e.clientLeft||a.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,p=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-r,left:i.left+p-l}}function M(e,t){const s=[];while(e.previousElementSibling){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}function C(e,t){const s=[];while(e.nextElementSibling){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}function P(e,t){const s=o();return s.getComputedStyle(e,null).getPropertyValue(t)}function L(e){let t,s=e;if(s){t=0;while(null!==(s=s.previousSibling))1===s.nodeType&&(t+=1);return t}}function z(e,t){const s=[];let i=e.parentElement;while(i)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function k(e,t){function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))}t&&e.addEventListener("transitionend",s)}function A(e,t,s){const i=o();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function I(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function O(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90===0?t+.001:t}let D,_,$;function G(){const e=o(),t=n();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function N(){return D||(D=G()),D}function B(e){let{userAgent:t}=void 0===e?{}:e;const s=N(),i=o(),a=i.navigator.platform,r=t||i.navigator.userAgent,n={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,p=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===a;let f="MacIntel"===a;const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&f&&s.touch&&g.indexOf(`${l}x${d}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),f=!1),p&&!h&&(n.os="android",n.android=!0),(c||m||u)&&(n.os="ios",n.ios=!0),n}function H(e){return void 0===e&&(e={}),_||(_=B(e)),_}function R(){const e=o(),t=H();let s=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));s=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=i(),n=r||a&&t.ios;return{isSafari:s||r,needPerspectiveFix:s,need3dFix:n,isWebView:a}}function X(){return $||($=R()),$}function Y(e){let{swiper:t,on:s,emit:i}=e;const a=o();let r=null,n=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver(e=>{n=a.requestAnimationFrame(()=>{const{width:s,height:i}=t;let a=s,r=i;e.forEach(e=>{let{contentBoxSize:s,contentRect:i,target:n}=e;n&&n!==t.el||(a=i?i.width:(s[0]||s).inlineSize,r=i?i.height:(s[0]||s).blockSize)}),a===s&&r===i||l()})}),r.observe(t.el))},p=()=>{n&&a.cancelAnimationFrame(n),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null)},c=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",()=>{t.params.resizeObserver&&"undefined"!==typeof a.ResizeObserver?d():(a.addEventListener("resize",l),a.addEventListener("orientationchange",c))}),s("destroy",()=>{p(),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",c)})}function j(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const r=[],n=o(),l=function(e,s){void 0===s&&(s={});const i=n.MutationObserver||n.WebkitMutationObserver,l=new i(e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const s=function(){a("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(s):n.setTimeout(s,0)});l.observe(e,{attributes:"undefined"===typeof s.attributes||s.attributes,childList:t.isElement||("undefined"===typeof s.childList||s).childList,characterData:"undefined"===typeof s.characterData||s.characterData}),r.push(l)},d=()=>{if(t.params.observer){if(t.params.observeParents){const e=z(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}},p=()=>{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",d),i("destroy",p)}var q={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!==typeof t)return i;const a=s?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)}),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!==typeof t)return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];t.apply(i,r)}return a.__emitterProxy=t,i.on(e,a,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!==typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach(e=>{"undefined"===typeof t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(a,1)})}),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,i;for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];"string"===typeof r[0]||Array.isArray(r[0])?(t=r[0],s=r.slice(1,r.length),i=e):(t=r[0].events,s=r[0].data,i=r[0].context||e),s.unshift(i);const l=Array.isArray(t)?t:t.split(" ");return l.forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(i,[t,...s])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(i,s)})}),e}};function F(){const e=this;let t,s;const i=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(P(i,"padding-left")||0,10)-parseInt(P(i,"padding-right")||0,10),s=s-parseInt(P(i,"padding-top")||0,10)-parseInt(P(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))}function V(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:i,slidesEl:a,size:r,rtlTranslate:n,wrongRTL:l}=e,o=e.virtual&&s.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,p=x(a,`.${e.params.slideClass}, swiper-slide`),c=o?e.virtual.slides.length:p.length;let u=[];const m=[],h=[];let f=s.slidesOffsetBefore;"function"===typeof f&&(f=s.slidesOffsetBefore.call(e));let g=s.slidesOffsetAfter;"function"===typeof g&&(g=s.slidesOffsetAfter.call(e));const v=e.snapGrid.length,b=e.slidesGrid.length;let y=s.spaceBetween,E=-f,S=0,T=0;if("undefined"===typeof r)return;"string"===typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*r:"string"===typeof y&&(y=parseFloat(y)),e.virtualSize=-y,p.forEach(e=>{n?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(w(i,"--swiper-centered-offset-before",""),w(i,"--swiper-centered-offset-after",""));const M=s.grid&&s.grid.rows>1&&e.grid;let C;M?e.grid.initSlides(p):e.grid&&e.grid.unsetSlides();const L="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter(e=>"undefined"!==typeof s.breakpoints[e].slidesPerView).length>0;for(let w=0;w<c;w+=1){let i;if(C=0,p[w]&&(i=p[w]),M&&e.grid.updateSlide(w,i,p),!p[w]||"none"!==P(i,"display")){if("auto"===s.slidesPerView){L&&(p[w].style[e.getDirectionLabel("width")]="");const a=getComputedStyle(i),r=i.style.transform,n=i.style.webkitTransform;if(r&&(i.style.transform="none"),n&&(i.style.webkitTransform="none"),s.roundLengths)C=e.isHorizontal()?A(i,"width",!0):A(i,"height",!0);else{const e=t(a,"width"),s=t(a,"padding-left"),r=t(a,"padding-right"),n=t(a,"margin-left"),l=t(a,"margin-right"),o=a.getPropertyValue("box-sizing");if(o&&"border-box"===o)C=e+n+l;else{const{clientWidth:t,offsetWidth:a}=i;C=e+s+r+n+l+(a-t)}}r&&(i.style.transform=r),n&&(i.style.webkitTransform=n),s.roundLengths&&(C=Math.floor(C))}else C=(r-(s.slidesPerView-1)*y)/s.slidesPerView,s.roundLengths&&(C=Math.floor(C)),p[w]&&(p[w].style[e.getDirectionLabel("width")]=C+"px");p[w]&&(p[w].swiperSlideSize=C),h.push(C),s.centeredSlides?(E=E+C/2+S/2+y,0===S&&0!==w&&(E=E-r/2-y),0===w&&(E=E-r/2-y),Math.abs(E)<.001&&(E=0),s.roundLengths&&(E=Math.floor(E)),T%s.slidesPerGroup===0&&u.push(E),m.push(E)):(s.roundLengths&&(E=Math.floor(E)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup===0&&u.push(E),m.push(E),E=E+C+y),e.virtualSize+=C+y,S=C,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+g,n&&l&&("slide"===s.effect||"coverflow"===s.effect)&&(i.style.width=e.virtualSize+y+"px"),s.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=e.virtualSize+y+"px"),M&&e.grid.updateWrapperSize(C,u),!s.centeredSlides){const t=[];for(let i=0;i<u.length;i+=1){let a=u[i];s.roundLengths&&(a=Math.floor(a)),u[i]<=e.virtualSize-r&&t.push(a)}u=t,Math.floor(e.virtualSize-r)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-r)}if(o&&s.loop){const t=h[0]+y;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),a=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)u.push(u[u.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&u.push(u[u.length-1]+t),m.push(m[m.length-1]+t),e.virtualSize+=t}if(0===u.length&&(u=[0]),0!==y){const t=e.isHorizontal()&&n?"marginLeft":e.getDirectionLabel("marginRight");p.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==p.length-1).forEach(e=>{e.style[t]=y+"px"})}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(y||0)}),e-=y;const t=e-r;u=u.map(e=>e<=0?-f:e>t?t+g:e)}if(s.centerInsufficientSlides){let e=0;h.forEach(t=>{e+=t+(y||0)}),e-=y;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t<r){const s=(r-e-t)/2;u.forEach((e,t)=>{u[t]=e-s}),m.forEach((e,t)=>{m[t]=e+s})}}if(Object.assign(e,{slides:p,snapGrid:u,slidesGrid:m,slidesSizesGrid:h}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){w(i,"--swiper-centered-offset-before",-u[0]+"px"),w(i,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+s)}if(c!==d&&e.emit("slidesLengthChange"),u.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!o&&!s.cssMode&&("slide"===s.effect||"fade"===s.effect)){const t=s.containerModifierClass+"backface-hidden",i=e.el.classList.contains(t);c<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}}function W(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let a,r=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{s.push(e)});else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;s.push(n(e))}else s.push(n(t.activeIndex));for(a=0;a<s.length;a+=1)if("undefined"!==typeof s[a]){const e=s[a].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height=r+"px")}function U(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-s-e.cssOverflowAdjustment()}const K=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};function Z(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:i,rtlTranslate:a,snapGrid:r}=t;if(0===i.length)return;"undefined"===typeof i[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;a&&(n=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=s.spaceBetween;"string"===typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"===typeof l&&(l=parseFloat(l));for(let o=0;o<i.length;o+=1){const e=i[o];let d=e.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const p=(n+(s.centeredSlides?t.minTranslate():0)-d)/(e.swiperSlideSize+l),c=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-d)/(e.swiperSlideSize+l),u=-(n-d),m=u+t.slidesSizesGrid[o],h=u>=0&&u<=t.size-t.slidesSizesGrid[o],f=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;f&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(o)),K(e,f,s.slideVisibleClass),K(e,h,s.slideFullyVisibleClass),e.progress=a?-p:p,e.originalProgress=a?-c:c}}function J(e){const t=this;if("undefined"===typeof e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:r,isEnd:n,progressLoop:l}=t;const o=r,d=n;if(0===i)a=0,r=!0,n=!0;else{a=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;r=s||a<=0,n=l||a>=1,s&&(a=0),l&&(a=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[s],r=t.slidesGrid[i],n=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=a?(o-a)/n:(o+n-r)/n,l>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",a)}const Q=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};function ee(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:a}=e,r=e.virtual&&s.virtual.enabled,n=e.grid&&s.grid&&s.grid.rows>1,l=e=>x(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let o,d,p;if(r)if(s.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${t}"]`)}else o=l(`[data-swiper-slide-index="${a}"]`);else n?(o=t.filter(e=>e.column===a)[0],p=t.filter(e=>e.column===a+1)[0],d=t.filter(e=>e.column===a-1)[0]):o=t[a];o&&(n||(p=C(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!p&&(p=t[0]),d=M(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach(e=>{Q(e,e===o,s.slideActiveClass),Q(e,e===p,s.slideNextClass),Q(e,e===d,s.slidePrevClass)}),e.emitSlidesClasses()}const te=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=()=>e.isElement?"swiper-slide":"."+e.params.slideClass,i=t.closest(s());if(i){let t=i.querySelector("."+e.params.lazyPreloaderClass);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector("."+e.params.lazyPreloaderClass):requestAnimationFrame(()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector("."+e.params.lazyPreloaderClass),t&&t.remove())})),t&&t.remove()}},se=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},ie=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=a,r=[s-t];return r.push(...Array.from({length:t}).map((e,t)=>s+i+t)),void e.slides.forEach((t,s)=>{r.includes(t.column)&&se(e,s)})}const r=a+i-1;if(e.params.rewind||e.params.loop)for(let n=a-t;n<=r+t;n+=1){const t=(n%s+s)%s;(t<a||t>r)&&se(e,t)}else for(let n=Math.max(a-t,0);n<=Math.min(r+t,s-1);n+=1)n!==a&&(n>r||n<a)&&se(e,n)};function ae(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;for(let r=0;r<t.length;r+=1)"undefined"!==typeof t[r+1]?i>=t[r]&&i<t[r+1]-(t[r+1]-t[r])/2?a=r:i>=t[r]&&i<t[r+1]&&(a=r+1):i>=t[r]&&(a=r);return s.normalizeSlideIndex&&(a<0||"undefined"===typeof a)&&(a=0),a}function re(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:r,realIndex:n,snapIndex:l}=t;let o,d=e;const p=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if("undefined"===typeof d&&(d=ae(t)),i.indexOf(s)>=0)o=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,d);o=e+Math.floor((d-e)/a.slidesPerGroup)}if(o>=i.length&&(o=i.length-1),d===r&&!t.params.loop)return void(o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=p(d));const c=t.grid&&a.grid&&a.grid.rows>1;let u;if(t.virtual&&a.virtual.enabled&&a.loop)u=p(d);else if(c){const e=t.slides.filter(e=>e.column===d)[0];let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/a.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");u=e?parseInt(e,10):d}else u=d;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:n,realIndex:u,previousIndex:r,activeIndex:d}),t.initialized&&ie(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(n!==u&&t.emit("realIndexChange"),t.emit("slideChange"))}function ne(e,t){const s=this,i=s.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)});let r,n=!1;if(a)for(let l=0;l<s.slides.length;l+=1)if(s.slides[l]===a){n=!0,r=l;break}if(!a||!n)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=r,i.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}var le={updateSize:F,updateSlides:V,updateAutoHeight:W,updateSlidesOffset:U,updateSlidesProgress:Z,updateProgress:J,updateSlidesClasses:ee,updateActiveIndex:re,updateClickedSlide:ne};function oe(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const t=this,{params:s,rtlTranslate:i,translate:a,wrapperEl:r}=t;if(s.virtualTranslate)return i?-a:a;if(s.cssMode)return a;let n=h(r,e);return n+=t.cssOverflowAdjustment(),i&&(n=-n),n||0}function de(e,t){const s=this,{rtlTranslate:i,params:a,wrapperEl:r,progress:n}=s;let l=0,o=0;const d=0;let p;s.isHorizontal()?l=i?-e:e:o=e,a.roundLengths&&(l=Math.floor(l),o=Math.floor(o)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:o,a.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-o:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():o-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${o}px, ${d}px)`);const c=s.maxTranslate()-s.minTranslate();p=0===c?0:(e-s.minTranslate())/c,p!==n&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)}function pe(){return-this.snapGrid[0]}function ce(){return-this.snapGrid[this.snapGrid.length-1]}function ue(e,t,s,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let p;if(p=i&&e>o?o:i&&e<d?d:e,r.updateProgress(p),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-p;else{if(!r.support.smoothScroll)return b({swiper:r,targetPosition:-p,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-p,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(p),s&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(p),s&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var me={getTranslate:oe,setTranslate:de,minTranslate:pe,maxTranslate:ce,translateTo:ue};function he(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=e+"ms",s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)}function fe(e){let{swiper:t,runCallbacks:s,direction:i,step:a}=e;const{activeIndex:r,previousIndex:n}=t;let l=i;if(l||(l=r>n?"next":r<n?"prev":"reset"),t.emit("transition"+a),s&&r!==n){if("reset"===l)return void t.emit("slideResetTransition"+a);t.emit("slideChangeTransition"+a),"next"===l?t.emit("slideNextTransition"+a):t.emit("slidePrevTransition"+a)}}function ge(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),fe({swiper:s,runCallbacks:e,direction:t,step:"Start"}))}function ve(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),fe({swiper:s,runCallbacks:e,direction:t,step:"End"}))}var we={setTransition:he,transitionStart:ge,transitionEnd:ve};function be(e,t,s,i,a){void 0===e&&(e=0),void 0===s&&(s=!0),"string"===typeof e&&(e=parseInt(e,10));const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:p,activeIndex:c,rtlTranslate:u,wrapperEl:m,enabled:h}=r;if(!h&&!i&&!a||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;"undefined"===typeof t&&(t=r.params.speed);const f=Math.min(r.params.slidesPerGroupSkip,n);let g=f+Math.floor((n-f)/r.params.slidesPerGroup);g>=o.length&&(g=o.length-1);const v=-o[g];if(l.normalizeSlideIndex)for(let b=0;b<d.length;b+=1){const e=-Math.floor(100*v),t=Math.floor(100*d[b]),s=Math.floor(100*d[b+1]);"undefined"!==typeof d[b+1]?e>=t&&e<s-(s-t)/2?n=b:e>=t&&e<s&&(n=b+1):e>=t&&(n=b)}if(r.initialized&&n!==c){if(!r.allowSlideNext&&(u?v>r.translate&&v>r.minTranslate():v<r.translate&&v<r.minTranslate()))return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(c||0)!==n)return!1}let w;if(n!==(p||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),w=n>c?"next":n<c?"prev":"reset",u&&-v===r.translate||!u&&v===r.translate)return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(v),"reset"!==w&&(r.transitionStart(s,w),r.transitionEnd(s,w)),!1;if(l.cssMode){const e=r.isHorizontal(),s=u?v:-v;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),t&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=s})):m[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return b({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(s,w),0===t?r.transitionEnd(s,w):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,w))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function ye(e,t,s,i){if(void 0===e&&(e=0),void 0===s&&(s=!0),"string"===typeof e){const t=parseInt(e,10);e=t}const a=this;if(a.destroyed)return;"undefined"===typeof t&&(t=a.params.speed);const r=a.grid&&a.params.grid&&a.params.grid.rows>1;let n=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)n+=a.virtual.slidesBefore;else{let e;if(r){const t=n*a.params.grid.rows;e=a.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else e=a.getSlideIndexByData(n);const t=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:s}=a.params;let l=a.params.slidesPerView;"auto"===l?l=a.slidesPerViewDynamic():(l=Math.ceil(parseFloat(a.params.slidesPerView,10)),s&&l%2===0&&(l+=1));let o=t-e<l;if(s&&(o=o||e<Math.ceil(l/2)),i&&s&&"auto"!==a.params.slidesPerView&&!r&&(o=!1),o){const i=s?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?a.realIndex:void 0})}if(r){const e=n*a.params.grid.rows;n=a.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else n=a.getSlideIndexByData(n)}return requestAnimationFrame(()=>{a.slideTo(n,t,s,i)}),a}function xe(e,t,s){void 0===t&&(t=!0);const i=this,{enabled:a,params:r,animating:n}=i;if(!a||i.destroyed)return i;"undefined"===typeof e&&(e=i.params.speed);let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(i.slidesPerViewDynamic("current",!0),1));const o=i.activeIndex<r.slidesPerGroupSkip?1:l,d=i.virtual&&r.virtual.enabled;if(r.loop){if(n&&!d&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+o,e,t,s)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+o,e,t,s)}function Ee(e,t,s){void 0===t&&(t=!0);const i=this,{params:a,snapGrid:r,slidesGrid:n,rtlTranslate:l,enabled:o,animating:d}=i;if(!o||i.destroyed)return i;"undefined"===typeof e&&(e=i.params.speed);const p=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!p&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const c=l?i.translate:-i.translate;function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const m=u(c),h=r.map(e=>u(e));let f=r[h.indexOf(m)-1];if("undefined"===typeof f&&a.cssMode){let e;r.forEach((t,s)=>{m>=t&&(e=s)}),"undefined"!==typeof e&&(f=r[e>0?e-1:e])}let g=0;if("undefined"!==typeof f&&(g=n.indexOf(f),g<0&&(g=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,s)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,s)}),!0):i.slideTo(g,e,t,s)}function Se(e,t,s){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return"undefined"===typeof e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,s)}function Te(e,t,s,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const a=this;if(a.destroyed)return;"undefined"===typeof e&&(e=a.params.speed);let r=a.activeIndex;const n=Math.min(a.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/a.params.slidesPerGroup),o=a.rtlTranslate?a.translate:-a.translate;if(o>=a.snapGrid[l]){const e=a.snapGrid[l],t=a.snapGrid[l+1];o-e>(t-e)*i&&(r+=a.params.slidesPerGroup)}else{const e=a.snapGrid[l-1],t=a.snapGrid[l];o-e<=(t-e)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,s)}function Me(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,r=e.clickedIndex;const n=e.isElement?"swiper-slide":"."+t.slideClass;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-i/2||r>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),r=e.getSlideIndex(x(s,`${n}[data-swiper-slide-index="${a}"]`)[0]),c(()=>{e.slideTo(r)})):e.slideTo(r):r>e.slides.length-i?(e.loopFix(),r=e.getSlideIndex(x(s,`${n}[data-swiper-slide-index="${a}"]`)[0]),c(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}var Ce={slideTo:be,slideToLoop:ye,slideNext:xe,slidePrev:Ee,slideReset:Se,slideToClosest:Te,slideToClickedSlide:Me};function Pe(e){const t=this,{params:s,slidesEl:i}=t;if(!s.loop||t.virtual&&t.params.virtual.enabled)return;const a=()=>{const e=x(i,`.${s.slideClass}, swiper-slide`);e.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},r=t.grid&&s.grid&&s.grid.rows>1,n=s.slidesPerGroup*(r?s.grid.rows:1),l=t.slides.length%n!==0,o=r&&t.slides.length%s.grid.rows!==0,d=e=>{for(let i=0;i<e;i+=1){const e=t.isElement?S("swiper-slide",[s.slideBlankClass]):S("div",[s.slideClass,s.slideBlankClass]);t.slidesEl.append(e)}};if(l){if(s.loopAddBlankSlides){const e=n-t.slides.length%n;d(e),t.recalcSlides(),t.updateSlides()}else E("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(o){if(s.loopAddBlankSlides){const e=s.grid.rows-t.slides.length%s.grid.rows;d(e),t.recalcSlides(),t.updateSlides()}else E("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();t.loopFix({slideRealIndex:e,direction:s.centeredSlides?void 0:"next"})}function Le(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:a,activeSlideIndex:r,byController:n,byMousewheel:l}=void 0===e?{}:e;const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:d,allowSlidePrev:p,allowSlideNext:c,slidesEl:u,params:m}=o,{centeredSlides:h}=m;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&m.virtual.enabled)return s&&(m.centeredSlides||0!==o.snapIndex?m.centeredSlides&&o.snapIndex<m.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0):o.slideTo(o.virtual.slides.length,0,!1,!0)),o.allowSlidePrev=p,o.allowSlideNext=c,void o.emit("loopFix");let f=m.slidesPerView;"auto"===f?f=o.slidesPerViewDynamic():(f=Math.ceil(parseFloat(m.slidesPerView,10)),h&&f%2===0&&(f+=1));const g=m.slidesPerGroupAuto?f:m.slidesPerGroup;let v=g;v%g!==0&&(v+=g-v%g),v+=m.loopAdditionalSlides,o.loopedSlides=v;const w=o.grid&&m.grid&&m.grid.rows>1;d.length<f+v?E("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===m.grid.fill&&E("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],y=[];let x=o.activeIndex;"undefined"===typeof r?r=o.getSlideIndex(d.filter(e=>e.classList.contains(m.slideActiveClass))[0]):x=r;const S="next"===i||!i,T="prev"===i||!i;let M=0,C=0;const P=w?Math.ceil(d.length/m.grid.rows):d.length,L=w?d[r].column:r,z=L+(h&&"undefined"===typeof a?-f/2+.5:0);if(z<v){M=Math.max(v-z,g);for(let e=0;e<v-z;e+=1){const t=e-Math.floor(e/P)*P;if(w){const e=P-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&b.push(t)}else b.push(P-t-1)}}else if(z+f>P-v){C=Math.max(z-(P-2*v),g);for(let e=0;e<C;e+=1){const t=e-Math.floor(e/P)*P;w?d.forEach((e,s)=>{e.column===t&&y.push(s)}):y.push(t)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),T&&b.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),S&&y.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.append(d[e]),d[e].swiperLoopMoveDOM=!1}),o.recalcSlides(),"auto"===m.slidesPerView?o.updateSlides():w&&(b.length>0&&T||y.length>0&&S)&&o.slides.forEach((e,t)=>{o.grid.updateSlide(t,e,o.slides)}),m.watchSlidesProgress&&o.updateSlidesOffset(),s)if(b.length>0&&T){if("undefined"===typeof t){const e=o.slidesGrid[x],t=o.slidesGrid[x+M],s=t-e;l?o.setTranslate(o.translate-s):(o.slideTo(x+Math.ceil(M),0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-s,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-s))}else if(a){const e=w?b.length/m.grid.rows:b.length;o.slideTo(o.activeIndex+e,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(y.length>0&&S)if("undefined"===typeof t){const e=o.slidesGrid[x],t=o.slidesGrid[x-C],s=t-e;l?o.setTranslate(o.translate-s):(o.slideTo(x-C,0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-s,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-s))}else{const e=w?y.length/m.grid.rows:y.length;o.slideTo(o.activeIndex-e,0,!1,!0)}if(o.allowSlidePrev=p,o.allowSlideNext=c,o.controller&&o.controller.control&&!n){const e={slideRealIndex:t,direction:i,setTranslate:a,activeSlideIndex:r,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&s})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...e,slideTo:o.controller.control.params.slidesPerView===m.slidesPerView&&s})}o.emit("loopFix")}function ze(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{s.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var ke={loopCreate:Pe,loopFix:Le,loopDestroy:ze};function Ae(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function Ie(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Oe={setGrabCursor:Ae,unsetGrabCursor:Ie};function De(e,t){function s(t){if(!t||t===n()||t===o())return null;t.assignedSlot&&(t=t.assignedSlot);const i=t.closest(e);return i||t.getRootNode?i||s(t.getRootNode().host):null}return void 0===t&&(t=this),s(t)}function _e(e,t,s){const i=o(),{params:a}=e,r=a.edgeSwipeDetection,n=a.edgeSwipeThreshold;return!r||!(s<=n||s>=i.innerWidth-n)||"prevent"===r&&(t.preventDefault(),!0)}function $e(e){const t=this,s=n();let i=e;i.originalEvent&&(i=i.originalEvent);const a=t.touchEventsData;if("pointerdown"===i.type){if(null!==a.pointerId&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(a.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void _e(t,i,i.targetTouches[0].pageX);const{params:r,touches:l,enabled:o}=t;if(!o)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let d=i.target;if("wrapper"===r.touchEventsTarget&&!t.wrapperEl.contains(d))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(a.isTouched&&a.isMoved)return;const p=!!r.noSwipingClass&&""!==r.noSwipingClass,c=i.composedPath?i.composedPath():i.path;p&&i.target&&i.target.shadowRoot&&c&&(d=c[0]);const m=r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass,h=!(!i.target||!i.target.shadowRoot);if(r.noSwiping&&(h?De(m,d):d.closest(m)))return void(t.allowClick=!0);if(r.swipeHandler&&!d.closest(r.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const f=l.currentX,g=l.currentY;if(!_e(t,i,f))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=g,a.touchStartTime=u(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let v=!0;d.matches(a.focusableElements)&&(v=!1,"SELECT"===d.nodeName&&(a.isTouched=!1)),s.activeElement&&s.activeElement.matches(a.focusableElements)&&s.activeElement!==d&&s.activeElement.blur();const w=v&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!w||d.isContentEditable||i.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function Ge(e){const t=n(),s=this,i=s.touchEventsData,{params:a,touches:r,rtlTranslate:l,enabled:o}=s;if(!o)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let d,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;const e=p.pointerId;if(e!==i.pointerId)return}if("touchmove"===p.type){if(d=[...p.changedTouches].filter(e=>e.identifier===i.touchId)[0],!d||d.identifier!==i.touchId)return}else d=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const c=d.pageX,m=d.pageY;if(p.preventedByNestedSwiper)return r.startX=c,void(r.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:c,startY:m,currentX:c,currentY:m}),i.touchStartTime=u()));if(a.touchReleaseOnEdges&&!a.loop)if(s.isVertical()){if(m<r.startY&&s.translate<=s.maxTranslate()||m>r.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(c<r.startX&&s.translate<=s.maxTranslate()||c>r.startX&&s.translate>=s.minTranslate())return;if(t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=m;const h=r.currentX-r.startX,f=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(h**2+f**2)<s.params.threshold)return;if("undefined"===typeof i.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=s.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),"undefined"===typeof i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!a.cssMode&&p.cancelable&&p.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&p.stopPropagation();let g=s.isHorizontal()?h:f,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),r.diff=g,g*=a.touchRatio,l&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!a.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!a.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}let x;if((new Date).getTime(),i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(r,{startX:c,startY:m,currentX:c,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,S=a.resistanceRatio;if(a.touchReleaseOnEdges&&(S=0),g>0?(b&&y&&!x&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,a.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**S))):g<0&&(b&&y&&!x&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]:s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===a.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,a.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**S))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&s.freeMode||a.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Ne(e){const t=this,s=t.touchEventsData;let i,a=e;a.originalEvent&&(a=a.originalEvent);const r="touchend"===a.type||"touchcancel"===a.type;if(r){if(i=[...a.changedTouches].filter(e=>e.identifier===s.touchId)[0],!i||i.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(a.pointerId!==s.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)){const e=["pointercancel","contextmenu"].includes(a.type)&&(t.browser.isSafari||t.browser.isWebView);if(!e)return}s.pointerId=null,s.touchId=null;const{params:n,touches:l,rtlTranslate:o,slidesGrid:d,enabled:p}=t;if(!p)return;if(!n.simulateTouch&&"mouse"===a.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const m=u(),h=m-s.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),h<300&&m-s.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(s.lastClickTime=u(),c(()=>{t.destroyed||(t.allowClick=!0)}),!s.isTouched||!s.isMoved||!t.swipeDirection||0===l.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let f;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,f=n.followFinger?o?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const g=f>=-t.maxTranslate()&&!t.params.loop;let v=0,w=t.slidesSizesGrid[0];for(let c=0;c<d.length;c+=c<n.slidesPerGroupSkip?1:n.slidesPerGroup){const e=c<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;"undefined"!==typeof d[c+e]?(g||f>=d[c]&&f<d[c+e])&&(v=c,w=d[c+e]-d[c]):(g||f>=d[c])&&(v=c,w=d[d.length-1]-d[d.length-2])}let b=null,y=null;n.rewind&&(t.isBeginning?y=n.virtual&&n.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const x=(f-d[v])/w,E=v<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(h>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(x>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?b:v+E):t.slideTo(v)),"prev"===t.swipeDirection&&(x>1-n.longSwipesRatio?t.slideTo(v+E):null!==y&&x<0&&Math.abs(x)>n.longSwipesRatio?t.slideTo(y):t.slideTo(v))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);const e=t.navigation&&(a.target===t.navigation.nextEl||a.target===t.navigation.prevEl);e?a.target===t.navigation.nextEl?t.slideTo(v+E):t.slideTo(v):("next"===t.swipeDirection&&t.slideTo(null!==b?b:v+E),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:v))}}function Be(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=n&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=a,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function He(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Re(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();a=0===r?0:(e.translate-e.minTranslate())/r,a!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Xe(e){const t=this;te(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Ye(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const je=(e,t)=>{const s=n(),{params:i,el:a,wrapperEl:r,device:l}=e,o=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",p=t;a&&"string"!==typeof a&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),a[d]("touchstart",e.onTouchStart,{passive:!1}),a[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:o}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&a[d]("click",e.onClick,!0),i.cssMode&&r[d]("scroll",e.onScroll),i.updateOnWindowResize?e[p](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",Be,!0):e[p]("observerUpdate",Be,!0),a[d]("load",e.onLoad,{capture:!0}))};function qe(){const e=this,{params:t}=e;e.onTouchStart=$e.bind(e),e.onTouchMove=Ge.bind(e),e.onTouchEnd=Ne.bind(e),e.onDocumentTouchStart=Ye.bind(e),t.cssMode&&(e.onScroll=Re.bind(e)),e.onClick=He.bind(e),e.onLoad=Xe.bind(e),je(e,"on")}function Fe(){const e=this;je(e,"off")}var Ve={attachEvents:qe,detachEvents:Fe};const We=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function Ue(){const e=this,{realIndex:t,initialized:s,params:i,el:a}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const n=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!n||e.currentBreakpoint===n)return;const l=n in r?r[n]:void 0,o=l||e.originalParams,d=We(e,i),p=We(e,o),c=e.params.grabCursor,u=o.grabCursor,m=i.enabled;d&&!p?(a.classList.remove(i.containerModifierClass+"grid",i.containerModifierClass+"grid-column"),e.emitContainerClasses()):!d&&p&&(a.classList.add(i.containerModifierClass+"grid"),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&a.classList.add(i.containerModifierClass+"grid-column"),e.emitContainerClasses()),c&&!u?e.unsetGrabCursor():!c&&u&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if("undefined"===typeof o[t])return;const s=i[t]&&i[t].enabled,a=o[t]&&o[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()});const h=o.direction&&o.direction!==i.direction,f=i.loop&&(o.slidesPerView!==i.slidesPerView||h),g=i.loop;h&&s&&e.changeDirection(),v(e.params,o);const w=e.params.enabled,b=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!w?e.disable():!m&&w&&e.enable(),e.currentBreakpoint=n,e.emit("_beforeBreakpoint",o),s&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&b?(e.loopCreate(t),e.updateSlides()):g&&!b&&e.loopDestroy()),e.emit("breakpoint",o)}function Ke(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1;const a=o(),r="window"===t?a.innerHeight:s.clientHeight,n=Object.keys(e).map(e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1)),s=r*t;return{value:s,point:e}}return{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let l=0;l<n.length;l+=1){const{point:e,value:r}=n[l];"window"===t?a.matchMedia(`(min-width: ${r}px)`).matches&&(i=e):r<=s.clientWidth&&(i=e)}return i||"max"}var Ze={setBreakpoint:Ue,getBreakpoint:Ke};function Je(e,t){const s=[];return e.forEach(e=>{"object"===typeof e?Object.keys(e).forEach(i=>{e[i]&&s.push(t+i)}):"string"===typeof e&&s.push(t+e)}),s}function Qe(){const e=this,{classNames:t,params:s,rtl:i,el:a,device:r}=e,n=Je(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...n),a.classList.add(...t),e.emitContainerClasses()}function et(){const e=this,{el:t,classNames:s}=e;t&&"string"!==typeof t&&(t.classList.remove(...s),e.emitContainerClasses())}var tt={addClasses:Qe,removeClasses:et};function st(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var it={checkOverflow:st},at={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function rt(e,t){return function(s){void 0===s&&(s={});const i=Object.keys(s)[0],a=s[i];"object"===typeof a&&null!==a?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in a?("object"!==typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),v(t,s)):v(t,s)):v(t,s)}}const nt={eventsEmitter:q,update:le,translate:me,transition:we,slide:Ce,loop:ke,grabCursor:Oe,events:Ve,breakpoints:Ze,checkOverflow:it,classes:tt},lt={};class ot{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),a=0;a<s;a++)i[a]=arguments[a];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=v({},t),e&&!t.el&&(t.el=e);const r=n();if(t.el&&"string"===typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach(s=>{const i=v({},t,{el:s});e.push(new ot(i))}),e}const l=this;l.__swiper__=!0,l.support=N(),l.device=H({userAgent:t.userAgent}),l.browser=X(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const o={};l.modules.forEach(e=>{e({params:t,swiper:l,extendParams:rt(t,o),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const d=v({},at,o);return l.params=v({},d,lt,t),l.originalParams=v({},l.params),l.passedParams=v({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(e=>{l.on(e,l.params.on[e])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===l.params.direction},isVertical(){return"vertical"===l.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,i=x(t,`.${s.slideClass}, swiper-slide`),a=L(i[0]);return L(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:s}=e;e.slides=x(t,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),a=s.maxTranslate(),r=(a-i)*e+i;s.translateTo(r,"undefined"===typeof t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const s=this,{params:i,slides:a,slidesGrid:r,slidesSizesGrid:n,size:l,activeIndex:o}=s;let d=1;if("number"===typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=a[o]?Math.ceil(a[o].swiperSlideSize):0;for(let s=o+1;s<a.length;s+=1)a[s]&&!e&&(t+=Math.ceil(a[s].swiperSlideSize),d+=1,t>l&&(e=!0));for(let s=o-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,d+=1,t>l&&(e=!0))}else if("current"===e)for(let p=o+1;p<a.length;p+=1){const e=t?r[p]+n[p]-r[o]<l:r[p]-r[o]<l;e&&(d+=1)}else for(let p=o-1;p>=0;p-=1){const e=r[o]-r[p]<l;e&&(d+=1)}return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&te(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.el.classList.remove(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"===typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>"."+(t.params.wrapperClass||"").trim().split(" ").join("."),a=()=>{if(s&&s.shadowRoot&&s.shadowRoot.querySelector){const e=s.shadowRoot.querySelector(i());return e}return x(s,i())[0]};let r=a();return!r&&t.params.createElements&&(r=S("div",t.params.wrapperClass),s.append(r),x(s,"."+t.params.slideClass).forEach(e=>{r.append(e)})),Object.assign(t,{el:s,wrapperEl:r,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:r,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===P(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===P(s,"direction")),wrongRTL:"-webkit-box"===P(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;const s=t.mount(e);if(!1===s)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(e=>{e.complete?te(t,e):e.addEventListener("load",e=>{te(t,e.target)})}),ie(t),t.initialized=!0,ie(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:i,el:a,wrapperEl:r,slides:n}=s;return"undefined"===typeof s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),a&&"string"!==typeof a&&a.removeAttribute("style"),r&&r.removeAttribute("style"),n&&n.length&&n.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(e=>{s.off(e)}),!1!==e&&(s.el&&"string"!==typeof s.el&&(s.el.swiper=null),p(s)),s.destroyed=!0),null}static extendDefaults(e){v(lt,e)}static get extendedDefaults(){return lt}static get defaults(){return at}static installModule(e){ot.prototype.__modules__||(ot.prototype.__modules__=[]);const t=ot.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>ot.installModule(e)),ot):(ot.installModule(e),ot)}}function dt(e){let t,{swiper:s,extendParams:i,on:a,emit:r}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const l=n();s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=l.createElement("div");function d(e,t){const i=s.params.virtual;if(i.cache&&s.virtual.cache[t])return s.virtual.cache[t];let a;return i.renderSlide?(a=i.renderSlide.call(s,e,t),"string"===typeof a&&(o.innerHTML=a,a=o.children[0])):a=s.isElement?S("swiper-slide"):S("div",s.params.slideClass),a.setAttribute("data-swiper-slide-index",t),i.renderSlide||(a.innerHTML=e),i.cache&&(s.virtual.cache[t]=a),a}function p(e,t){const{slidesPerView:i,slidesPerGroup:a,centeredSlides:n,loop:l,initialSlide:o}=s.params;if(t&&!l&&o>0)return;const{addSlidesBefore:p,addSlidesAfter:c}=s.params.virtual,{from:u,to:m,slides:h,slidesGrid:f,offset:g}=s.virtual;s.params.cssMode||s.updateActiveIndex();const v=s.activeIndex||0;let w,b,y;w=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",n?(b=Math.floor(i/2)+a+c,y=Math.floor(i/2)+a+p):(b=i+(a-1)+c,y=(l?i:a)+p);let E=v-y,S=v+b;l||(E=Math.max(E,0),S=Math.min(S,h.length-1));let T=(s.slidesGrid[E]||0)-(s.slidesGrid[0]||0);function M(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),r("virtualUpdate")}if(l&&v>=y?(E-=y,n||(T+=s.slidesGrid[0])):l&&v<y&&(E=-y,n&&(T+=s.slidesGrid[0])),Object.assign(s.virtual,{from:E,to:S,offset:T,slidesGrid:s.slidesGrid,slidesBefore:y,slidesAfter:b}),u===E&&m===S&&!e)return s.slidesGrid!==f&&T!==g&&s.slides.forEach(e=>{e.style[w]=T-Math.abs(s.cssOverflowAdjustment())+"px"}),s.updateProgress(),void r("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:T,from:E,to:S,slides:function(){const e=[];for(let t=E;t<=S;t+=1)e.push(h[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?M():r("virtualUpdate"));const C=[],P=[],L=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(e)s.slides.filter(e=>e.matches(`.${s.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let r=u;r<=m;r+=1)if(r<E||r>S){const e=L(r);s.slides.filter(t=>t.matches(`.${s.params.slideClass}[data-swiper-slide-index="${e}"], swiper-slide[data-swiper-slide-index="${e}"]`)).forEach(e=>{e.remove()})}const z=l?-h.length:0,k=l?2*h.length:h.length;for(let s=z;s<k;s+=1)if(s>=E&&s<=S){const t=L(s);"undefined"===typeof m||e?P.push(t):(s>m&&P.push(t),s<u&&C.push(t))}if(P.forEach(e=>{s.slidesEl.append(d(h[e],e))}),l)for(let r=C.length-1;r>=0;r-=1){const e=C[r];s.slidesEl.prepend(d(h[e],e))}else C.sort((e,t)=>t-e),C.forEach(e=>{s.slidesEl.prepend(d(h[e],e))});x(s.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[w]=T-Math.abs(s.cssOverflowAdjustment())+"px"}),M()}function c(e){if("object"===typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.push(e[t]);else s.virtual.slides.push(e);p(!0)}function u(e){const t=s.activeIndex;let i=t+1,a=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.unshift(e[t]);i=t+e.length,a=e.length}else s.virtual.slides.unshift(e);if(s.params.virtual.cache){const e=s.virtual.cache,t={};Object.keys(e).forEach(s=>{const i=e[s],r=i.getAttribute("data-swiper-slide-index");r&&i.setAttribute("data-swiper-slide-index",parseInt(r,10)+a),t[parseInt(s,10)+a]=i}),s.virtual.cache=t}p(!0),s.slideTo(i,0)}function m(e){if("undefined"===typeof e||null===e)return;let t=s.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)s.params.virtual.cache&&(delete s.virtual.cache[e[i]],Object.keys(s.virtual.cache).forEach(t=>{t>e&&(s.virtual.cache[t-1]=s.virtual.cache[t],s.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete s.virtual.cache[t])})),s.virtual.slides.splice(e[i],1),e[i]<t&&(t-=1),t=Math.max(t,0);else s.params.virtual.cache&&(delete s.virtual.cache[e],Object.keys(s.virtual.cache).forEach(t=>{t>e&&(s.virtual.cache[t-1]=s.virtual.cache[t],s.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete s.virtual.cache[t])})),s.virtual.slides.splice(e,1),e<t&&(t-=1),t=Math.max(t,0);p(!0),s.slideTo(t,0)}function h(){s.virtual.slides=[],s.params.virtual.cache&&(s.virtual.cache={}),p(!0),s.slideTo(0,0)}a("beforeInit",()=>{if(!s.params.virtual.enabled)return;let e;if("undefined"===typeof s.passedParams.virtual.slides){const t=[...s.slidesEl.children].filter(e=>e.matches(`.${s.params.slideClass}, swiper-slide`));t&&t.length&&(s.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),s.virtual.cache[t]=e,e.remove()}))}e||(s.virtual.slides=s.params.virtual.slides),s.classNames.push(s.params.containerModifierClass+"virtual"),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,p(!1,!0)}),a("setTranslate",()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{p()},100)):p())}),a("init update resize",()=>{s.params.virtual.enabled&&s.params.cssMode&&w(s.wrapperEl,"--swiper-virtual-size",s.virtualSize+"px")}),Object.assign(s.virtual,{appendSlide:c,prependSlide:u,removeSlide:m,removeAllSlides:h,update:p})}function pt(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const r=n(),l=o();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const n=i.keyCode||i.charCode,o=t.params.keyboard.pageUpDown,d=o&&33===n,p=o&&34===n,c=37===n,u=39===n,m=38===n,h=40===n;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&h||p))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&c||t.isVertical()&&m||d))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey)&&(!r.activeElement||!r.activeElement.nodeName||"input"!==r.activeElement.nodeName.toLowerCase()&&"textarea"!==r.activeElement.nodeName.toLowerCase())){if(t.params.keyboard.onlyInViewport&&(d||p||c||u||m||h)){let e=!1;if(z(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===z(t.el,"."+t.params.slideActiveClass).length)return;const i=t.el,a=i.clientWidth,r=i.clientHeight,n=l.innerWidth,o=l.innerHeight,d=T(i);s&&(d.left-=i.scrollLeft);const p=[[d.left,d.top],[d.left+a,d.top],[d.left,d.top+r],[d.left+a,d.top+r]];for(let t=0;t<p.length;t+=1){const s=p[t];if(s[0]>=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||p||c||u)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((p||u)&&!s||(d||c)&&s)&&t.slideNext(),((d||c)&&!s||(p||u)&&s)&&t.slidePrev()):((d||p||m||h)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(p||h)&&t.slideNext(),(d||m)&&t.slidePrev()),a("keyPress",n)}}function p(){t.keyboard.enabled||(r.addEventListener("keydown",d),t.keyboard.enabled=!0)}function c(){t.keyboard.enabled&&(r.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{t.params.keyboard.enabled&&p()}),i("destroy",()=>{t.keyboard.enabled&&c()}),Object.assign(t.keyboard,{enable:p,disable:c})}function ct(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const r=o();let n;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let l,d=u();const p=[];function m(e){const t=10,s=40,i=800;let a=0,r=0,n=0,l=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(a=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(a=r,r=0),n=a*t,l=r*t,"deltaY"in e&&(l=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=l,l=0),(n||l)&&e.deltaMode&&(1===e.deltaMode?(n*=s,l*=s):(n*=i,l*=i)),n&&!a&&(a=n<1?-1:1),l&&!r&&(r=l<1?-1:1),{spinX:a,spinY:r,pixelX:n,pixelY:l}}function h(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function g(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta)&&(!(t.params.mousewheel.thresholdTime&&u()-d<t.params.mousewheel.thresholdTime)&&(e.delta>=6&&u()-d<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),a("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),a("scroll",e.raw)),d=(new r.Date).getTime(),!1)))}function v(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}function w(e){let s=e,i=!0;if(!t.enabled)return;if(e.target.closest("."+t.params.mousewheel.noMousewheelClass))return;const r=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let o=t.el;"container"!==t.params.mousewheel.eventsTarget&&(o=document.querySelector(t.params.mousewheel.eventsTarget));const d=o&&o.contains(s.target);if(!t.mouseEntered&&!d&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let h=0;const f=t.rtlTranslate?-1:1,w=m(s);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(w.pixelX)>Math.abs(w.pixelY)))return!0;h=-w.pixelX*f}else{if(!(Math.abs(w.pixelY)>Math.abs(w.pixelX)))return!0;h=-w.pixelY}else h=Math.abs(w.pixelX)>Math.abs(w.pixelY)?-w.pixelX*f:-w.pixelY;if(0===h)return!0;r.invert&&(h=-h);let b=t.getTranslate()+h*r.sensitivity;if(b>=t.minTranslate()&&(b=t.minTranslate()),b<=t.maxTranslate()&&(b=t.maxTranslate()),i=!!t.params.loop||!(b===t.minTranslate()||b===t.maxTranslate()),i&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:u(),delta:Math.abs(h),direction:Math.sign(h)},i=l&&e.time<l.time+500&&e.delta<=l.delta&&e.direction===l.direction;if(!i){l=void 0;let o=t.getTranslate()+h*r.sensitivity;const d=t.isBeginning,u=t.isEnd;if(o>=t.minTranslate()&&(o=t.minTranslate()),o<=t.maxTranslate()&&(o=t.maxTranslate()),t.setTransition(0),t.setTranslate(o),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(n),n=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,i=p[0];if(p.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))p.splice(0);else if(p.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const s=h>0?.8:.2;l=e,p.splice(0),n=c(()=>{t.slideToClosest(t.params.speed,!0,void 0,s)},0)}n||(n=c(()=>{const s=.5;l=e,p.splice(0),t.slideToClosest(t.params.speed,!0,void 0,s)},500))}if(i||a("scroll",s),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),r.releaseOnEdges&&(o===t.minTranslate()||o===t.maxTranslate()))return!0}}else{const t={time:u(),delta:Math.abs(h),direction:Math.sign(h),raw:e};p.length>=2&&p.shift();const s=p.length?p[p.length-1]:void 0;if(p.push(t),s?(t.direction!==s.direction||t.delta>s.delta||t.time>s.time+150)&&g(t):g(t),v(t))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function b(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",h),s[e]("mouseleave",f),s[e]("wheel",w)}function y(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",w),!0):!t.mousewheel.enabled&&(b("addEventListener"),t.mousewheel.enabled=!0,!0)}function x(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,w),!0):!!t.mousewheel.enabled&&(b("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&x(),t.params.mousewheel.enabled&&y()}),i("destroy",()=>{t.params.cssMode&&y(),t.mousewheel.enabled&&x()}),Object.assign(t.mousewheel,{enable:y,disable:x})}function ut(e,t,s,i){return e.params.createElements&&Object.keys(i).forEach(a=>{if(!s[a]&&!0===s.auto){let r=x(e.el,"."+i[a])[0];r||(r=S("div",i[a]),r.className=i[a],e.el.append(r)),s[a]=r,t[a]=r}}),s}function mt(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;function r(e){let s;return e&&"string"===typeof e&&t.isElement&&(s=t.el.querySelector(e),s)?s:(e&&("string"===typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"===typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function n(e,s){const i=t.params.navigation;e=I(e),e.forEach(e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function l(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return n(s,!1),void n(e,!1);n(s,t.isBeginning&&!t.params.rewind),n(e,t.isEnd&&!t.params.rewind)}function o(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function p(){const e=t.params.navigation;if(t.params.navigation=ut(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=r(e.nextEl),i=r(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=I(s),i=I(i);const a=(s,i)=>{s&&s.addEventListener("click","next"===i?d:o),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach(e=>a(e,"next")),i.forEach(e=>a(e,"prev"))}function c(){let{nextEl:e,prevEl:s}=t.navigation;e=I(e),s=I(s);const i=(e,s)=>{e.removeEventListener("click","next"===s?d:o),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),s.forEach(e=>i(e,"prev"))}s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?m():(p(),l())}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{c()}),i("enable disable",()=>{let{nextEl:e,prevEl:s}=t.navigation;e=I(e),s=I(s),t.enabled?l():[...e,...s].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,s)=>{let{nextEl:i,prevEl:r}=t.navigation;i=I(i),r=I(r);const n=s.target;let l=r.includes(n)||i.includes(n);if(t.isElement&&!l){const e=s.path||s.composedPath&&s.composedPath();e&&(l=e.find(e=>i.includes(e)||r.includes(e)))}if(t.params.navigation.hideOnClick&&!l){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),a(!0===e?"navigationShow":"navigationHide"),[...i,...r].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const u=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),p(),l()},m=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(t.navigation,{enable:u,disable:m,update:l,init:p,destroy:c})}function ht(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function ft(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const r="swiper-pagination";let n;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:r+"-bullet",bulletActiveClass:r+"-bullet-active",modifierClass:r+"-",currentClass:r+"-current",totalClass:r+"-total",hiddenClass:r+"-hidden",progressbarFillClass:r+"-progressbar-fill",progressbarOppositeClass:r+"-progressbar-opposite",clickableClass:r+"-clickable",lockClass:r+"-lock",horizontalClass:r+"-horizontal",verticalClass:r+"-vertical",paginationDisabledClass:r+"-disabled"}}),t.pagination={el:null,bullets:[]};let l=0;function o(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"],e&&(e.classList.add(`${i}-${s}`),e=e[("prev"===s?"previous":"next")+"ElementSibling"],e&&e.classList.add(`${i}-${s}-${s}`)))}function p(e){const s=e.target.closest(ht(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const i=L(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;t.slideToLoop(i)}else t.slideTo(i)}function c(){const e=t.rtl,s=t.params.pagination;if(o())return;let i,r,p=t.pagination.el;p=I(p);const c=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(c/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):"undefined"!==typeof t.snapIndex?(i=t.snapIndex,r=t.previousSnapIndex):(r=t.previousIndex||0,i=t.activeIndex||0),"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let o,c,u;if(s.dynamicBullets&&(n=A(a[0],t.isHorizontal()?"width":"height",!0),p.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=n*(s.dynamicMainBullets+4)+"px"}),s.dynamicMainBullets>1&&void 0!==r&&(l+=i-(r||0),l>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),o=Math.max(i-l,0),c=o+(Math.min(a.length,s.dynamicMainBullets)-1),u=(c+o)/2),a.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${s.bulletActiveClass}${e}`)].map(e=>"string"===typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),p.length>1)a.forEach(e=>{const a=L(e);a===i?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(a>=o&&a<=c&&e.classList.add(...(s.bulletActiveClass+"-main").split(" ")),a===o&&d(e,"prev"),a===c&&d(e,"next"))});else{const e=a[i];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&a.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),s.dynamicBullets){const e=a[o],t=a[c];for(let i=o;i<=c;i+=1)a[i]&&a[i].classList.add(...(s.bulletActiveClass+"-main").split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),r=(n*i-n)/2-u*n,l=e?"right":"left";a.forEach(e=>{e.style[t.isHorizontal()?l:"top"]=r+"px"})}}p.forEach((e,r)=>{if("fraction"===s.type&&(e.querySelectorAll(ht(s.currentClass)).forEach(e=>{e.textContent=s.formatFractionCurrent(i+1)}),e.querySelectorAll(ht(s.totalClass)).forEach(e=>{e.textContent=s.formatFractionTotal(u)})),"progressbar"===s.type){let a;a=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(i+1)/u;let n=1,l=1;"horizontal"===a?n=r:l=r,e.querySelectorAll(ht(s.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${l})`,e.style.transitionDuration=t.params.speed+"ms"})}"custom"===s.type&&s.renderCustom?(e.innerHTML=s.renderCustom(t,i+1,u),0===r&&a("paginationRender",e)):(0===r&&a("paginationRender",e),a("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)})}function u(){const e=t.params.pagination;if(o())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let i=t.pagination.el;i=I(i);let r="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?r+=e.renderBullet.call(t,s,e.bulletClass):r+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach(s=>{"custom"!==e.type&&(s.innerHTML=r||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(ht(e.bulletClass)))}),"custom"!==e.type&&a("paginationRender",i[0])}function m(){t.params.pagination=ut(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"===typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!==typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"===typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.filter(e=>z(e,".swiper")[0]===t.el)[0])),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=I(s),s.forEach(s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",p),t.enabled||s.classList.add(e.lockClass)}))}function h(){const e=t.params.pagination;if(o())return;let s=t.pagination.el;s&&(s=I(s),s.forEach(s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",p))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:s}=t.pagination;s=I(s),s.forEach(s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.pagination.enabled?g():(m(),u(),c())}),i("activeIndexChange",()=>{"undefined"===typeof t.snapIndex&&c()}),i("snapIndexChange",()=>{c()}),i("snapGridLengthChange",()=>{u(),c()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{el:e}=t.pagination;e&&(e=I(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{c()}),i("click",(e,s)=>{const i=s.target,r=I(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);a(!0===e?"paginationShow":"paginationHide"),r.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const f=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=I(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),m(),u(),c()},g=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=I(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),h()};Object.assign(t.pagination,{enable:f,disable:g,render:u,update:c,init:m,destroy:h})}function gt(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const r=n();let l,o,p,u,m=!1,h=null,f=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:i,el:a}=e,r=t.params.scrollbar,n=t.params.loop?t.progressLoop:t.progress;let l=o,d=(p-o)*n;s?(d=-d,d>0?(l=o-d,d=0):-d+o>p&&(l=p+d)):d<0?(l=o+d,d=0):d+o>p&&(l=p-d),t.isHorizontal()?(i.style.transform=`translate3d(${d}px, 0, 0)`,i.style.width=l+"px"):(i.style.transform=`translate3d(0px, ${d}px, 0)`,i.style.height=l+"px"),r.hide&&(clearTimeout(h),a.style.opacity=1,h=setTimeout(()=>{a.style.opacity=0,a.style.transitionDuration="400ms"},1e3))}function v(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=e+"ms")}function w(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:i}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?i.offsetWidth:i.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),o="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=o+"px":s.style.height=o+"px",i.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function b(e){return t.isHorizontal()?e.clientX:e.clientY}function y(e){const{scrollbar:s,rtlTranslate:i}=t,{el:a}=s;let r;r=(b(e)-T(a)[t.isHorizontal()?"left":"top"]-(null!==l?l:o/2))/(p-o),r=Math.max(Math.min(r,1),0),i&&(r=1-r);const n=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(n),t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:r}=t,{el:n,dragEl:o}=i;m=!0,l=e.target===o?b(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.style.transitionDuration="100ms",o.style.transitionDuration="100ms",y(e),clearTimeout(f),n.style.transitionDuration="0ms",s.hide&&(n.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",e)}function E(e){const{scrollbar:s,wrapperEl:i}=t,{el:r,dragEl:n}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,y(e),i.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n.style.transitionDuration="0ms",a("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:r}=t,{el:n}=i;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),s.hide&&(clearTimeout(f),f=c(()=>{n.style.opacity=0,n.style.transitionDuration="400ms"},1e3)),a("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function C(e){const{scrollbar:s,params:i}=t,a=s.el;if(!a)return;const n=a,l=!!i.passiveListeners&&{passive:!1,capture:!1},o=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===e?"addEventListener":"removeEventListener";n[d]("pointerdown",x,l),r[d]("pointermove",E,l),r[d]("pointerup",M,o)}function P(){t.params.scrollbar.el&&t.scrollbar.el&&C("on")}function L(){t.params.scrollbar.el&&t.scrollbar.el&&C("off")}function z(){const{scrollbar:e,el:s}=t;t.params.scrollbar=ut(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let a,n;if("string"===typeof i.el&&t.isElement&&(a=t.el.querySelector(i.el)),a||"string"!==typeof i.el)a||(a=i.el);else if(a=r.querySelectorAll(i.el),!a.length)return;t.params.uniqueNavElements&&"string"===typeof i.el&&a.length>1&&1===s.querySelectorAll(i.el).length&&(a=s.querySelector(i.el)),a.length>0&&(a=a[0]),a.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),a&&(n=a.querySelector(ht(t.params.scrollbar.dragClass)),n||(n=S("div",t.params.scrollbar.dragClass),a.append(n))),Object.assign(e,{el:a,dragEl:n}),i.draggable&&P(),a&&a.classList[t.enabled?"remove":"add"](...d(t.params.scrollbar.lockClass))}function k(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...d(t.isHorizontal()?e.horizontalClass:e.verticalClass)),L()}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=I(s),s.forEach(s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.scrollbar.enabled?O():(z(),w(),g())}),i("update resize observerUpdate lock unlock changeDirection",()=>{w()}),i("setTranslate",()=>{g()}),i("setTransition",(e,t)=>{v(t)}),i("enable disable",()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...d(t.params.scrollbar.lockClass))}),i("destroy",()=>{k()});const A=()=>{t.el.classList.remove(...d(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...d(t.params.scrollbar.scrollbarDisabledClass)),z(),w(),g()},O=()=>{t.el.classList.add(...d(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...d(t.params.scrollbar.scrollbarDisabledClass)),k()};Object.assign(t.scrollbar,{enable:A,disable:O,updateSize:w,setTranslate:g,init:z,destroy:k})}function vt(e){let{swiper:t,extendParams:s,on:i}=e;s({parallax:{enabled:!1}});const a="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(e,s)=>{const{rtl:i}=t,a=i?-1:1,r=e.getAttribute("data-swiper-parallax")||"0";let n=e.getAttribute("data-swiper-parallax-x"),l=e.getAttribute("data-swiper-parallax-y");const o=e.getAttribute("data-swiper-parallax-scale"),d=e.getAttribute("data-swiper-parallax-opacity"),p=e.getAttribute("data-swiper-parallax-rotate");if(n||l?(n=n||"0",l=l||"0"):t.isHorizontal()?(n=r,l="0"):(l=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*s*a+"%":n*s*a+"px",l=l.indexOf("%")>=0?parseInt(l,10)*s+"%":l*s+"px","undefined"!==typeof d&&null!==d){const t=d-(d-1)*(1-Math.abs(s));e.style.opacity=t}let c=`translate3d(${n}, ${l}, 0px)`;if("undefined"!==typeof o&&null!==o){const e=o-(o-1)*(1-Math.abs(s));c+=` scale(${e})`}if(p&&"undefined"!==typeof p&&null!==p){const e=p*s*-1;c+=` rotate(${e}deg)`}e.style.transform=c},n=()=>{const{el:e,slides:s,progress:i,snapGrid:n,isElement:l}=t,o=x(e,a);t.isElement&&o.push(...x(t.hostEl,a)),o.forEach(e=>{r(e,i)}),s.forEach((e,s)=>{let l=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(l+=Math.ceil(s/2)-i*(n.length-1)),l=Math.min(Math.max(l,-1),1),e.querySelectorAll(a+", [data-swiper-parallax-rotate]").forEach(e=>{r(e,l)})})},l=function(e){void 0===e&&(e=t.params.speed);const{el:s,hostEl:i}=t,r=[...s.querySelectorAll(a)];t.isElement&&r.push(...i.querySelectorAll(a)),r.forEach(t=>{let s=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),t.style.transitionDuration=s+"ms"})};i("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),i("init",()=>{t.params.parallax.enabled&&n()}),i("setTranslate",()=>{t.params.parallax.enabled&&n()}),i("setTransition",(e,s)=>{t.params.parallax.enabled&&l(s)})}function wt(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;const r=o();s({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let n,l,d=1,p=!1;const c=[],u={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g,v=1;function w(){if(c.length<2)return 1;const e=c[0].pageX,t=c[0].pageY,s=c[1].pageX,i=c[1].pageY,a=Math.sqrt((s-e)**2+(i-t)**2);return a}function b(){const e=t.params.zoom,s=u.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&u.imageEl&&u.imageEl.naturalWidth){const e=u.imageEl.naturalWidth/u.imageEl.offsetWidth;return Math.min(e,s)}return s}function y(){if(c.length<2)return{x:null,y:null};const e=u.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-e.x-r.scrollX)/d,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-e.y-r.scrollY)/d]}function E(){return t.isElement?"swiper-slide":"."+t.params.slideClass}function S(e){const s=E();return!!e.target.matches(s)||t.slides.filter(t=>t.contains(e.target)).length>0}function M(e){const s="."+t.params.zoom.containerClass;return!!e.target.matches(s)||[...t.hostEl.querySelectorAll(s)].filter(t=>t.contains(e.target)).length>0}function C(e){if("mouse"===e.pointerType&&c.splice(0,c.length),!S(e))return;const s=t.params.zoom;if(n=!1,l=!1,c.push(e),!(c.length<2)){if(n=!0,u.scaleStart=w(),!u.slideEl){u.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),u.slideEl||(u.slideEl=t.slides[t.activeIndex]);let i=u.slideEl.querySelector("."+s.containerClass);if(i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=i,u.imageWrapEl=i?z(u.imageEl,"."+s.containerClass)[0]:void 0,!u.imageWrapEl)return void(u.imageEl=void 0);u.maxRatio=b()}if(u.imageEl){const[e,t]=y();u.originX=e,u.originY=t,u.imageEl.style.transitionDuration="0ms"}p=!0}}function P(e){if(!S(e))return;const s=t.params.zoom,i=t.zoom,a=c.findIndex(t=>t.pointerId===e.pointerId);a>=0&&(c[a]=e),c.length<2||(l=!0,u.scaleMove=w(),u.imageEl&&(i.scale=u.scaleMove/u.scaleStart*d,i.scale>u.maxRatio&&(i.scale=u.maxRatio-1+(i.scale-u.maxRatio+1)**.5),i.scale<s.minRatio&&(i.scale=s.minRatio+1-(s.minRatio-i.scale+1)**.5),u.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`))}function L(e){if(!S(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const s=t.params.zoom,i=t.zoom,a=c.findIndex(t=>t.pointerId===e.pointerId);a>=0&&c.splice(a,1),n&&l&&(n=!1,l=!1,u.imageEl&&(i.scale=Math.max(Math.min(i.scale,u.maxRatio),s.minRatio),u.imageEl.style.transitionDuration=t.params.speed+"ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,d=i.scale,p=!1,i.scale>1&&u.slideEl?u.slideEl.classList.add(""+s.zoomedSlideClass):i.scale<=1&&u.slideEl&&u.slideEl.classList.remove(""+s.zoomedSlideClass),1===i.scale&&(u.originX=0,u.originY=0,u.slideEl=void 0)))}function k(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function A(){clearTimeout(g),t.touchEventsData.preventTouchMoveFromPointerMove=!0,g=setTimeout(()=>{k()})}function I(e){const s=t.device;if(!u.imageEl)return;if(m.isTouched)return;s.android&&e.cancelable&&e.preventDefault(),m.isTouched=!0;const i=c.length>0?c[0]:e;m.touchesStart.x=i.pageX,m.touchesStart.y=i.pageY}function O(e){if(!S(e)||!M(e))return;const s=t.zoom;if(!u.imageEl)return;if(!m.isTouched||!u.slideEl)return;m.isMoved||(m.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,m.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,m.startX=h(u.imageWrapEl,"x")||0,m.startY=h(u.imageWrapEl,"y")||0,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight,u.imageWrapEl.style.transitionDuration="0ms");const i=m.width*s.scale,a=m.height*s.scale;m.minX=Math.min(u.slideWidth/2-i/2,0),m.maxX=-m.minX,m.minY=Math.min(u.slideHeight/2-a/2,0),m.maxY=-m.minY,m.touchesCurrent.x=c.length>0?c[0].pageX:e.pageX,m.touchesCurrent.y=c.length>0?c[0].pageY:e.pageY;const r=Math.max(Math.abs(m.touchesCurrent.x-m.touchesStart.x),Math.abs(m.touchesCurrent.y-m.touchesStart.y));if(r>5&&(t.allowClick=!1),!m.isMoved&&!p){if(t.isHorizontal()&&(Math.floor(m.minX)===Math.floor(m.startX)&&m.touchesCurrent.x<m.touchesStart.x||Math.floor(m.maxX)===Math.floor(m.startX)&&m.touchesCurrent.x>m.touchesStart.x))return m.isTouched=!1,void k();if(!t.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.y<m.touchesStart.y||Math.floor(m.maxY)===Math.floor(m.startY)&&m.touchesCurrent.y>m.touchesStart.y))return m.isTouched=!1,void k()}e.cancelable&&e.preventDefault(),e.stopPropagation(),A(),m.isMoved=!0;const n=(s.scale-d)/(u.maxRatio-t.params.zoom.minRatio),{originX:l,originY:o}=u;m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX+n*(m.width-2*l),m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY+n*(m.height-2*o),m.currentX<m.minX&&(m.currentX=m.minX+1-(m.minX-m.currentX+1)**.8),m.currentX>m.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentY<m.minY&&(m.currentY=m.minY+1-(m.minY-m.currentY+1)**.8),m.currentY>m.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),u.imageWrapEl.style.transform=`translate3d(${m.currentX}px, ${m.currentY}px,0)`}function D(){const e=t.zoom;if(!u.imageEl)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let s=300,i=300;const a=f.x*s,r=m.currentX+a,n=f.y*i,l=m.currentY+n;0!==f.x&&(s=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(i=Math.abs((l-m.currentY)/f.y));const o=Math.max(s,i);m.currentX=r,m.currentY=l;const d=m.width*e.scale,p=m.height*e.scale;m.minX=Math.min(u.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(u.slideHeight/2-p/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),u.imageWrapEl.style.transitionDuration=o+"ms",u.imageWrapEl.style.transform=`translate3d(${m.currentX}px, ${m.currentY}px,0)`}function _(){const e=t.zoom;u.slideEl&&t.activeIndex!==t.slides.indexOf(u.slideEl)&&(u.imageEl&&(u.imageEl.style.transform="translate3d(0,0,0) scale(1)"),u.imageWrapEl&&(u.imageWrapEl.style.transform="translate3d(0,0,0)"),u.slideEl.classList.remove(""+t.params.zoom.zoomedSlideClass),e.scale=1,d=1,u.slideEl=void 0,u.imageEl=void 0,u.imageWrapEl=void 0,u.originX=0,u.originY=0)}function $(e){const s=t.zoom,i=t.params.zoom;if(!u.slideEl){e&&e.target&&(u.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),u.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?u.slideEl=x(t.slidesEl,"."+t.params.slideActiveClass)[0]:u.slideEl=t.slides[t.activeIndex]);let s=u.slideEl.querySelector("."+i.containerClass);s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=s,u.imageWrapEl=s?z(u.imageEl,"."+i.containerClass)[0]:void 0}if(!u.imageEl||!u.imageWrapEl)return;let a,n,l,o,p,c,h,f,g,v,w,y,E,S,M,C,P,L;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),u.slideEl.classList.add(""+i.zoomedSlideClass),"undefined"===typeof m.touchesStart.x&&e?(a=e.pageX,n=e.pageY):(a=m.touchesStart.x,n=m.touchesStart.y);const k="number"===typeof e?e:null;1===d&&k&&(a=void 0,n=void 0);const A=b();s.scale=k||A,d=k||A,!e||1===d&&k?(h=0,f=0):(P=u.slideEl.offsetWidth,L=u.slideEl.offsetHeight,l=T(u.slideEl).left+r.scrollX,o=T(u.slideEl).top+r.scrollY,p=l+P/2-a,c=o+L/2-n,g=u.imageEl.offsetWidth||u.imageEl.clientWidth,v=u.imageEl.offsetHeight||u.imageEl.clientHeight,w=g*s.scale,y=v*s.scale,E=Math.min(P/2-w/2,0),S=Math.min(L/2-y/2,0),M=-E,C=-S,h=p*s.scale,f=c*s.scale,h<E&&(h=E),h>M&&(h=M),f<S&&(f=S),f>C&&(f=C)),k&&1===s.scale&&(u.originX=0,u.originY=0),u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform=`translate3d(${h}px, ${f}px,0)`,u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`}function G(){const e=t.zoom,s=t.params.zoom;if(!u.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?u.slideEl=x(t.slidesEl,"."+t.params.slideActiveClass)[0]:u.slideEl=t.slides[t.activeIndex];let e=u.slideEl.querySelector("."+s.containerClass);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=e,u.imageWrapEl=e?z(u.imageEl,"."+s.containerClass)[0]:void 0}u.imageEl&&u.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,d=1,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform="translate3d(0,0,0)",u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform="translate3d(0,0,0) scale(1)",u.slideEl.classList.remove(""+s.zoomedSlideClass),u.slideEl=void 0,u.originX=0,u.originY=0)}function N(e){const s=t.zoom;s.scale&&1!==s.scale?G():$(e)}function B(){const e=!!t.params.passiveListeners&&{passive:!0,capture:!1},s=!t.params.passiveListeners||{passive:!1,capture:!0};return{passiveListener:e,activeListenerWithCapture:s}}function H(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:s,activeListenerWithCapture:i}=B();t.wrapperEl.addEventListener("pointerdown",C,s),t.wrapperEl.addEventListener("pointermove",P,i),["pointerup","pointercancel","pointerout"].forEach(e=>{t.wrapperEl.addEventListener(e,L,s)}),t.wrapperEl.addEventListener("pointermove",O,i)}function R(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:s,activeListenerWithCapture:i}=B();t.wrapperEl.removeEventListener("pointerdown",C,s),t.wrapperEl.removeEventListener("pointermove",P,i),["pointerup","pointercancel","pointerout"].forEach(e=>{t.wrapperEl.removeEventListener(e,L,s)}),t.wrapperEl.removeEventListener("pointermove",O,i)}Object.defineProperty(t.zoom,"scale",{get(){return v},set(e){if(v!==e){const t=u.imageEl,s=u.slideEl;a("zoomChange",e,t,s)}v=e}}),i("init",()=>{t.params.zoom.enabled&&H()}),i("destroy",()=>{R()}),i("touchStart",(e,s)=>{t.zoom.enabled&&I(s)}),i("touchEnd",(e,s)=>{t.zoom.enabled&&D()}),i("doubleTap",(e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&N(s)}),i("transitionEnd",()=>{t.zoom.enabled&&t.params.zoom.enabled&&_()}),i("slideChange",()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&_()}),Object.assign(t.zoom,{enable:H,disable:R,in:$,out:G,toggle:N})}function bt(e){let{swiper:t,extendParams:s,on:i}=e;function a(e,t){const s=function(){let e,t,s;return(i,a)=>{t=-1,e=i.length;while(e-t>1)s=e+t>>1,i[s]<=a?t=s:e=s;return e}}();let i,a;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=s(this.x,e),i=a-1,(e-this.x[i])*(this.y[a]-this.y[i])/(this.x[a]-this.x[i])+this.y[i]):0},this}function r(e){t.controller.spline=t.params.loop?new a(t.slidesGrid,e.slidesGrid):new a(t.snapGrid,e.snapGrid)}function n(e,s){const i=t.controller.control;let a,n;const l=t.constructor;function o(e){if(e.destroyed)return;const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(r(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(a)&&Number.isFinite(a)||(a=1),n=(s-t.minTranslate())*a+e.minTranslate()),t.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let t=0;t<i.length;t+=1)i[t]!==s&&i[t]instanceof l&&o(i[t]);else i instanceof l&&s!==i&&o(i)}function l(e,s){const i=t.constructor,a=t.controller.control;let r;function n(s){s.destroyed||(s.setTransition(e,t),0!==e&&(s.transitionStart(),s.params.autoHeight&&c(()=>{s.updateAutoHeight()}),k(s.wrapperEl,()=>{a&&s.transitionEnd()})))}if(Array.isArray(a))for(r=0;r<a.length;r+=1)a[r]!==s&&a[r]instanceof i&&n(a[r]);else a instanceof i&&s!==a&&n(a)}function o(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",()=>{if("undefined"!==typeof window&&("string"===typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const s=i=>{t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",s)};e.addEventListener("init",s)}}else t.controller.control=t.params.controller.control}),i("update",()=>{o()}),i("resize",()=>{o()}),i("observerUpdate",()=>{o()}),i("setTranslate",(e,s,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(s,i)}),i("setTransition",(e,s,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(s,i)}),Object.assign(t.controller,{setTranslate:n,setTransition:l})}function yt(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let a,r,l=null,o=(new Date).getTime();function d(e){const t=l;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}function p(e){void 0===e&&(e=16);const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function c(e){e=I(e),e.forEach(e=>{e.setAttribute("tabIndex","0")})}function u(e){e=I(e),e.forEach(e=>{e.setAttribute("tabIndex","-1")})}function m(e,t){e=I(e),e.forEach(e=>{e.setAttribute("role",t)})}function h(e,t){e=I(e),e.forEach(e=>{e.setAttribute("aria-roledescription",t)})}function f(e,t){e=I(e),e.forEach(e=>{e.setAttribute("aria-controls",t)})}function g(e,t){e=I(e),e.forEach(e=>{e.setAttribute("aria-label",t)})}function v(e,t){e=I(e),e.forEach(e=>{e.setAttribute("id",t)})}function w(e,t){e=I(e),e.forEach(e=>{e.setAttribute("aria-live",t)})}function b(e){e=I(e),e.forEach(e=>{e.setAttribute("aria-disabled",!0)})}function y(e){e=I(e),e.forEach(e=>{e.setAttribute("aria-disabled",!1)})}function x(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(ht(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=I(t.navigation.prevEl),a=I(t.navigation.nextEl);a.includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&i.matches(ht(t.params.pagination.bulletClass))&&i.click()}}function E(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(b(s),u(s)):(y(s),c(s))),e&&(t.isEnd?(b(e),u(e)):(y(e),c(e)))}function T(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function M(){return T()&&t.params.pagination.clickable}function C(){const e=t.params.a11y;T()&&t.pagination.bullets.forEach(s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(m(s,"button"),g(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,L(s)+1)))),s.matches(ht(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")})}const P=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(m(e,"button"),e.addEventListener("keydown",x)),g(e,s),f(e,t)},z=e=>{r&&r!==e.target&&!r.contains(e.target)&&(a=!0),t.a11y.clicked=!0},k=()=>{a=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},A=e=>{o=(new Date).getTime()},O=e=>{if(t.a11y.clicked)return;if((new Date).getTime()-o<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;r=s;const i=t.slides.indexOf(s)===t.activeIndex,n=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);i||n||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{a||(t.params.loop?t.slideToLoop(parseInt(s.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(s),0),a=!1)}))},D=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&h(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&m(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach((i,a)=>{const r=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a,n=e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,s);g(i,n)})},_=()=>{const e=t.params.a11y;t.el.append(l);const s=t.el;e.containerRoleDescriptionMessage&&h(s,e.containerRoleDescriptionMessage),e.containerMessage&&g(s,e.containerMessage);const i=t.wrapperEl,a=e.id||i.getAttribute("id")||"swiper-wrapper-"+p(16),r=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";v(i,a),w(i,r),D();let{nextEl:o,prevEl:d}=t.navigation?t.navigation:{};if(o=I(o),d=I(d),o&&o.forEach(t=>P(t,a,e.nextSlideMessage)),d&&d.forEach(t=>P(t,a,e.prevSlideMessage)),M()){const e=I(t.pagination.el);e.forEach(e=>{e.addEventListener("keydown",x)})}const c=n();c.addEventListener("visibilitychange",A),t.el.addEventListener("focus",O,!0),t.el.addEventListener("focus",O,!0),t.el.addEventListener("pointerdown",z,!0),t.el.addEventListener("pointerup",k,!0)};function $(){l&&l.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};if(e=I(e),s=I(s),e&&e.forEach(e=>e.removeEventListener("keydown",x)),s&&s.forEach(e=>e.removeEventListener("keydown",x)),M()){const e=I(t.pagination.el);e.forEach(e=>{e.removeEventListener("keydown",x)})}const i=n();i.removeEventListener("visibilitychange",A),t.el&&"string"!==typeof t.el&&(t.el.removeEventListener("focus",O,!0),t.el.removeEventListener("pointerdown",z,!0),t.el.removeEventListener("pointerup",k,!0))}i("beforeInit",()=>{l=S("span",t.params.a11y.notificationClass),l.setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),i("afterInit",()=>{t.params.a11y.enabled&&_()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&D()}),i("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&E()}),i("paginationUpdate",()=>{t.params.a11y.enabled&&C()}),i("destroy",()=>{t.params.a11y.enabled&&$()})}function xt(e){let{swiper:t,extendParams:s,on:i}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let a=!1,r={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=o();let s;s=e?new URL(e):t.location;const i=s.pathname.slice(1).split("/").filter(e=>""!==e),a=i.length,r=i[a-2],n=i[a-1];return{key:r,value:n}},d=(e,s)=>{const i=o();if(!a||!t.params.history.enabled)return;let r;r=t.params.url?new URL(t.params.url):i.location;const l=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${s}"]`):t.slides[s];let d=n(l.getAttribute("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e?e+"/":""}${d}`}else r.pathname.includes(e)||(d=`${e?e+"/":""}${d}`);t.params.history.keepQuery&&(d+=r.search);const p=i.history.state;p&&p.value===d||(t.params.history.replaceState?i.history.replaceState({value:d},null,d):i.history.pushState({value:d},null,d))},p=(e,s,i)=>{if(s)for(let a=0,r=t.slides.length;a<r;a+=1){const r=t.slides[a],l=n(r.getAttribute("data-history"));if(l===s){const s=t.getSlideIndex(r);t.slideTo(s,e,i)}}else t.slideTo(0,e,i)},c=()=>{r=l(t.params.url),p(t.params.speed,r.value,!1)},u=()=>{const e=o();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);a=!0,r=l(t.params.url),r.key||r.value?(p(0,r.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",c)):t.params.history.replaceState||e.addEventListener("popstate",c)}},m=()=>{const e=o();t.params.history.replaceState||e.removeEventListener("popstate",c)};i("init",()=>{t.params.history.enabled&&u()}),i("destroy",()=>{t.params.history.enabled&&m()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{a&&d(t.params.history.key,t.activeIndex)}),i("slideChange",()=>{a&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)})}function Et(e){let{swiper:t,extendParams:s,emit:i,on:a}=e,r=!1;const l=n(),d=o();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,s){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.filter(e=>e.getAttribute("data-hash")===s)[0];if(!e)return 0;const i=parseInt(e.getAttribute("data-swiper-slide-index"),10);return i}return t.getSlideIndex(x(t.slidesEl,`.${t.params.slideClass}[data-hash="${s}"], swiper-slide[data-hash="${s}"]`)[0])}}});const p=()=>{i("hashChange");const e=l.location.hash.replace("#",""),s=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],a=s?s.getAttribute("data-hash"):"";if(e!==a){const s=t.params.hashNavigation.getSlideIndex(t,e);if("undefined"===typeof s||Number.isNaN(s))return;t.slideTo(s)}},c=()=>{if(!r||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],s=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,"#"+s||""),i("hashSet")):(l.location.hash=s||"",i("hashSet"))},u=()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;r=!0;const e=l.location.hash.replace("#","");if(e){const s=0,i=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(i||0,s,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&d.addEventListener("hashchange",p)},m=()=>{t.params.hashNavigation.watchState&&d.removeEventListener("hashchange",p)};a("init",()=>{t.params.hashNavigation.enabled&&u()}),a("destroy",()=>{t.params.hashNavigation.enabled&&m()}),a("transitionEnd _freeModeNoMomentumRelease",()=>{r&&c()}),a("slideChange",()=>{r&&t.params.cssMode&&c()})}function St(e){let t,s,{swiper:i,extendParams:a,on:r,emit:l,params:o}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,p,c,u,m,h,f,g,v=o&&o.autoplay?o.autoplay.delay:3e3,w=o&&o.autoplay?o.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||P())}const x=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?p=!0:p&&(w=d,p=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/v),s=requestAnimationFrame(()=>{x()})},E=()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:i.slides[i.activeIndex],!e)return;const t=parseInt(e.getAttribute("data-swiper-autoplay"),10);return t},S=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),x();let a="undefined"===typeof e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const r=E();!Number.isNaN(r)&&r>0&&"undefined"===typeof e&&(a=r,v=r,w=r),d=a;const n=i.params.speed,o=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,n,!0,!0),l("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,n,!0,!0),l("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame(()=>{S()})))};return a>0?(clearTimeout(t),t=setTimeout(()=>{o()},a)):requestAnimationFrame(()=>{o()}),a},T=()=>{b=(new Date).getTime(),i.autoplay.running=!0,S(),l("autoplayStart")},M=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),l("autoplayStop")},C=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(f=!0);const a=()=>{l("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):P()};if(i.autoplay.paused=!0,s)return h&&(d=i.params.autoplay.delay),h=!1,void a();const r=d||i.params.autoplay.delay;d=r-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},P=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),f?(f=!1,S(d)):S(),i.autoplay.paused=!1,l("autoplayResume"))},L=()=>{if(i.destroyed||!i.autoplay.running)return;const e=n();"hidden"===e.visibilityState&&(f=!0,C(!0)),"visible"===e.visibilityState&&P()},z=e=>{"mouse"===e.pointerType&&(f=!0,g=!0,i.animating||i.autoplay.paused||C(!0))},k=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&P())},A=()=>{i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",z),i.el.addEventListener("pointerleave",k))},I=()=>{i.el&&"string"!==typeof i.el&&(i.el.removeEventListener("pointerenter",z),i.el.removeEventListener("pointerleave",k))},O=()=>{const e=n();e.addEventListener("visibilitychange",L)},D=()=>{const e=n();e.removeEventListener("visibilitychange",L)};r("init",()=>{i.params.autoplay.enabled&&(A(),O(),T())}),r("destroy",()=>{I(),D(),i.autoplay.running&&M()}),r("_freeModeStaticRelease",()=>{(u||f)&&P()}),r("_freeModeNoMomentumRelease",()=>{i.params.autoplay.disableOnInteraction?M():C(!0,!0)}),r("beforeTransitionStart",(e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?C(!0,!0):M())}),r("sliderFirstMove",()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?M():(c=!0,u=!1,f=!1,m=setTimeout(()=>{f=!0,u=!0,C(!0)},200)))}),r("touchEnd",()=>{if(!i.destroyed&&i.autoplay.running&&c){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(c=!1);u&&i.params.cssMode&&P(),u=!1,c=!1}}),r("slideChange",()=>{!i.destroyed&&i.autoplay.running&&(h=!0)}),Object.assign(i.autoplay,{start:T,stop:M,pause:C,resume:P})}function Tt(e){let{swiper:t,extendParams:s,on:i}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let a=!1,r=!1;function l(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,i=e.clickedSlide;if(i&&i.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if("undefined"===typeof s||null===s)return;let a;a=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,t.params.loop?t.slideToLoop(a):t.slideTo(a)}function o(){const{thumbs:e}=t.params;if(a)return!1;a=!0;const s=t.constructor;if(e.swiper instanceof s)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(f(e.swiper)){const i=Object.assign({},e.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(i),r=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",l),!0}function d(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const i="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let a=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(a=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),s.slides.forEach(e=>e.classList.remove(r)),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let o=0;o<a;o+=1)x(s.slidesEl,`[data-swiper-slide-index="${t.realIndex+o}"]`).forEach(e=>{e.classList.add(r)});else for(let o=0;o<a;o+=1)s.slides[t.realIndex+o]&&s.slides[t.realIndex+o].classList.add(r);const n=t.params.thumbs.autoScrollOffset,l=n&&!s.params.loop;if(t.realIndex!==s.realIndex||l){const a=s.activeIndex;let r,o;if(s.params.loop){const e=s.slides.filter(e=>e.getAttribute("data-swiper-slide-index")===""+t.realIndex)[0];r=s.slides.indexOf(e),o=t.activeIndex>t.previousIndex?"next":"prev"}else r=t.realIndex,o=r>t.previousIndex?"next":"prev";l&&(r+="next"===o?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(r)<0&&(s.params.centeredSlides?r=r>a?r-Math.floor(i/2)+1:r+Math.floor(i/2)-1:r>a&&s.params.slidesPerGroup,s.slideTo(r,e?0:void 0))}}t.thumbs={swiper:null},i("beforeInit",()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"===typeof e.swiper||e.swiper instanceof HTMLElement){const s=n(),i=()=>{const i="string"===typeof e.swiper?s.querySelector(e.swiper):e.swiper;if(i&&i.swiper)e.swiper=i.swiper,o(),d(!0);else if(i){const s=a=>{e.swiper=a.detail[0],i.removeEventListener("init",s),o(),d(!0),e.swiper.update(),t.update()};i.addEventListener("init",s)}return i},a=()=>{if(t.destroyed)return;const e=i();e||requestAnimationFrame(a)};requestAnimationFrame(a)}else o(),d(!0)}),i("slideChange update resize observerUpdate",()=>{d()}),i("setTransition",(e,s)=>{const i=t.thumbs.swiper;i&&!i.destroyed&&i.setTransition(s)}),i("beforeDestroy",()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()}),Object.assign(t.thumbs,{init:o,update:d})}function Mt(e){let{swiper:t,extendParams:s,emit:i,once:a}=e;function r(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function n(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:u()})}function l(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:r,wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=t,p=u(),c=p-d.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1);else{if(r.freeMode.momentum){if(d.velocities.length>1){const e=d.velocities.pop(),s=d.velocities.pop(),i=e.position-s.position,a=e.time-s.time;t.velocity=i/a,t.velocity/=2,Math.abs(t.velocity)<r.freeMode.minimumVelocity&&(t.velocity=0),(a>150||u()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;l&&(p=-p);let c,m=!1;const h=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;let f;if(p<t.maxTranslate())r.freeMode.momentumBounce?(p+t.maxTranslate()<-h&&(p=t.maxTranslate()-h),c=t.maxTranslate(),m=!0,d.allowMomentumBounce=!0):p=t.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(p>t.minTranslate())r.freeMode.momentumBounce?(p-t.minTranslate()>h&&(p=t.minTranslate()+h),c=t.minTranslate(),m=!0,d.allowMomentumBounce=!0):p=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let e;for(let t=0;t<o.length;t+=1)if(o[t]>-p){e=t;break}p=Math.abs(o[e]-p)<Math.abs(o[e-1]-p)||"next"===t.swipeDirection?o[e]:o[e-1],p=-p}if(f&&a("transitionEnd",()=>{t.loopFix()}),0!==t.velocity){if(e=l?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?r.speed:s<2*i?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode.momentumBounce&&m?(t.updateProgress(c),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,k(n,()=>{t&&!t.destroyed&&d.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(r.speed),setTimeout(()=>{t.setTranslate(c),k(n,()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,k(n,()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode&&i("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:r,onTouchMove:n,onTouchEnd:l}})}function Ct(e){let t,s,i,a,{swiper:r,extendParams:n,on:l}=e;n({grid:{rows:1,fill:"column"}});const o=()=>{let e=r.params.spaceBetween;return"string"===typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*r.size:"string"===typeof e&&(e=parseFloat(e)),e},d=e=>{const{slidesPerView:a}=r.params,{rows:n,fill:l}=r.params.grid,o=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:e.length;i=Math.floor(o/n),t=Math.floor(o/n)===o/n?o:Math.ceil(o/n)*n,"auto"!==a&&"row"===l&&(t=Math.max(t,a*n)),s=t/n},p=()=>{r.slides&&r.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[r.getDirectionLabel("margin-top")]="")})},c=(e,a,n)=>{const{slidesPerGroup:l}=r.params,d=o(),{rows:p,fill:c}=r.params.grid,u=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:n.length;let m,h,f;if("row"===c&&l>1){const s=Math.floor(e/(l*p)),i=e-p*l*s,r=0===s?l:Math.min(Math.ceil((u-s*p*l)/p),l);f=Math.floor(i/r),h=i-f*r+s*l,m=h+f*t/p,a.style.order=m}else"column"===c?(h=Math.floor(e/p),f=e-h*p,(h>i||h===i&&f===p-1)&&(f+=1,f>=p&&(f=0,h+=1))):(f=Math.floor(e/s),h=e-f*s);a.row=f,a.column=h,a.style.height=`calc((100% - ${(p-1)*d}px) / ${p})`,a.style[r.getDirectionLabel("margin-top")]=0!==f?d&&d+"px":"",a.swiperSlideGridSet=!0},u=(e,s)=>{const{centeredSlides:i,roundLengths:a}=r.params,n=o(),{rows:l}=r.params.grid;if(r.virtualSize=(e+n)*t,r.virtualSize=Math.ceil(r.virtualSize/l)-n,r.params.cssMode||(r.wrapperEl.style[r.getDirectionLabel("width")]=r.virtualSize+n+"px"),i){const e=[];for(let t=0;t<s.length;t+=1){let i=s[t];a&&(i=Math.floor(i)),s[t]<r.virtualSize+s[0]&&e.push(i)}s.splice(0,s.length),s.push(...e)}},m=()=>{a=r.params.grid&&r.params.grid.rows>1},h=()=>{const{params:e,el:t}=r,s=e.grid&&e.grid.rows>1;a&&!s?(t.classList.remove(e.containerModifierClass+"grid",e.containerModifierClass+"grid-column"),i=1,r.emitContainerClasses()):!a&&s&&(t.classList.add(e.containerModifierClass+"grid"),"column"===e.grid.fill&&t.classList.add(e.containerModifierClass+"grid-column"),r.emitContainerClasses()),a=s};l("init",m),l("update",h),r.grid={initSlides:d,unsetSlides:p,updateSlide:c,updateWrapperSize:u}}function Pt(e){const t=this,{params:s,slidesEl:i}=t;s.loop&&t.loopDestroy();const a=e=>{if("string"===typeof e){const t=document.createElement("div");t.innerHTML=e,i.append(t.children[0]),t.innerHTML=""}else i.append(e)};if("object"===typeof e&&"length"in e)for(let r=0;r<e.length;r+=1)e[r]&&a(e[r]);else a(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update()}function Lt(e){const t=this,{params:s,activeIndex:i,slidesEl:a}=t;s.loop&&t.loopDestroy();let r=i+1;const n=e=>{if("string"===typeof e){const t=document.createElement("div");t.innerHTML=e,a.prepend(t.children[0]),t.innerHTML=""}else a.prepend(e)};if("object"===typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n(e[t]);r=i+e.length}else n(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),t.slideTo(r,0,!1)}function zt(e,t){const s=this,{params:i,activeIndex:a,slidesEl:r}=s;let n=a;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.recalcSlides());const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let p=l-1;p>=e;p-=1){const e=s.slides[p];e.remove(),d.unshift(e)}if("object"===typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);o=n>e?n+t.length:n}else r.append(t);for(let p=0;p<d.length;p+=1)r.append(d[p]);s.recalcSlides(),i.loop&&s.loopCreate(),i.observer&&!s.isElement||s.update(),i.loop?s.slideTo(o+s.loopedSlides,0,!1):s.slideTo(o,0,!1)}function kt(e){const t=this,{params:s,activeIndex:i}=t;let a=i;s.loop&&(a-=t.loopedSlides,t.loopDestroy());let r,n=a;if("object"===typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)r=e[s],t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1),n=Math.max(n,0);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),s.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function At(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function It(e){let{swiper:t}=e;Object.assign(t,{appendSlide:Pt.bind(t),prependSlide:Lt.bind(t),addSlide:zt.bind(t),removeSlide:kt.bind(t),removeAllSlides:At.bind(t)})}function Ot(e){const{effect:t,swiper:s,on:i,setTranslate:a,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let p;i("beforeInit",()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(s.params.containerModifierClass+"3d");const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)}),i("setTranslate",()=>{s.params.effect===t&&a()}),i("setTransition",(e,i)=>{s.params.effect===t&&r(i)}),i("transitionEnd",()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),o()}}),i("virtualUpdate",()=>{s.params.effect===t&&(s.slides.length||(p=!0),requestAnimationFrame(()=>{p&&s.slides&&s.slides.length&&(a(),p=!1)}))})}function Dt(e,t){const s=y(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function _t(e){let{swiper:t,duration:s,transformElements:i,allSlides:a}=e;const{activeIndex:r}=t,n=e=>{if(!e.parentElement){const s=t.slides.filter(t=>t.shadowRoot&&t.shadowRoot===e.parentNode)[0];return s}return e.parentElement};if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=a?i:i.filter(e=>{const s=e.classList.contains("swiper-slide-transform")?n(e):e;return t.getSlideIndex(s)===r}),e.forEach(e=>{k(e,()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)})})}}function $t(e){let{swiper:t,extendParams:s,on:i}=e;s({fadeEffect:{crossFade:!1}});const a=()=>{const{slides:e}=t,s=t.params.fadeEffect;for(let i=0;i<e.length;i+=1){const e=t.slides[i],a=e.swiperSlideOffset;let r=-a;t.params.virtualTranslate||(r-=t.translate);let n=0;t.isHorizontal()||(n=r,r=0);const l=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),o=Dt(s,e);o.style.opacity=l,o.style.transform=`translate3d(${r}px, ${n}px, 0px)`}},r=e=>{const s=t.slides.map(e=>y(e));s.forEach(t=>{t.style.transitionDuration=e+"ms"}),_t({swiper:t,duration:e,transformElements:s,allSlides:!0})};Ot({effect:"fade",swiper:t,on:i,setTranslate:a,setTransition:r,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Gt(e){let{swiper:t,extendParams:s,on:i}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=S("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),a||(a=S("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))},r=()=>{const e=t.isHorizontal();t.slides.forEach(t=>{const s=Math.max(Math.min(t.progress,1),-1);a(t,s,e)})},n=()=>{const{el:e,wrapperEl:s,slides:i,width:r,height:n,rtlTranslate:l,size:o,browser:d}=t,p=O(t),c=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let h,f=0;c.shadow&&(u?(h=t.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=S("div","swiper-cube-shadow"),t.wrapperEl.append(h)),h.style.height=r+"px"):(h=e.querySelector(".swiper-cube-shadow"),h||(h=S("div","swiper-cube-shadow"),e.append(h))));for(let t=0;t<i.length;t+=1){const e=i[t];let s=t;m&&(s=parseInt(e.getAttribute("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(e.progress,1),-1);let h=0,g=0,v=0;s%4===0?(h=4*-n*o,v=0):(s-1)%4===0?(h=0,v=4*-n*o):(s-2)%4===0?(h=o+4*n*o,v=o):(s-3)%4===0&&(h=-o,v=3*o+4*o*n),l&&(h=-h),u||(g=h,h=0);const w=`rotateX(${p(u?0:-r)}deg) rotateY(${p(u?r:0)}deg) translate3d(${h}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),e.style.transform=w,c.slideShadows&&a(e,d,u)}if(s.style.transformOrigin=`50% 50% -${o/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${o/2}px`,c.shadow)if(u)h.style.transform=`translate3d(0px, ${r/2+c.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=c.shadowScale,i=c.shadowScale/t,a=c.shadowOffset;h.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${n/2+a}px, ${-n/2/i}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-o/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${p(t.isHorizontal()?0:f)}deg) rotateY(${p(t.isHorizontal()?-f:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",g+"px")},l=e=>{const{el:s,slides:i}=t;if(i.forEach(t=>{t.style.transitionDuration=e+"ms",t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=e+"ms"})}),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=e+"ms")}};Ot({effect:"cube",swiper:t,on:i,setTranslate:n,setTransition:l,recreateShadows:r,getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Nt(e,t,s){const i=`swiper-slide-shadow${s?"-"+s:""}${e?" swiper-slide-shadow-"+e:""}`,a=y(t);let r=a.querySelector("."+i.split(" ").join("."));return r||(r=S("div",i.split(" ")),a.append(r)),r}function Bt(e){let{swiper:t,extendParams:s,on:i}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(e,s)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=Nt("flip",e,t.isHorizontal()?"left":"top")),a||(a=Nt("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),a&&(a.style.opacity=Math.max(s,0))},r=()=>{t.params.flipEffect,t.slides.forEach(e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),a(e,s)})},n=()=>{const{slides:e,rtlTranslate:s}=t,i=t.params.flipEffect,r=O(t);for(let n=0;n<e.length;n+=1){const l=e[n];let o=l.progress;t.params.flipEffect.limitRotation&&(o=Math.max(Math.min(l.progress,1),-1));const d=l.swiperSlideOffset,p=-180*o;let c=p,u=0,m=t.params.cssMode?-d-t.translate:-d,h=0;t.isHorizontal()?s&&(c=-c):(h=m,m=0,u=-c,c=0),l.style.zIndex=-Math.abs(Math.round(o))+e.length,i.slideShadows&&a(l,o);const f=`translate3d(${m}px, ${h}px, 0px) rotateX(${r(u)}deg) rotateY(${r(c)}deg)`,g=Dt(i,l);g.style.transform=f}},l=e=>{const s=t.slides.map(e=>y(e));s.forEach(t=>{t.style.transitionDuration=e+"ms",t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=e+"ms"})}),_t({swiper:t,duration:e,transformElements:s})};Ot({effect:"flip",swiper:t,on:i,setTranslate:n,setTransition:l,recreateShadows:r,getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function Ht(e){let{swiper:t,extendParams:s,on:i}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}});const a=()=>{const{width:e,height:s,slides:i,slidesSizesGrid:a}=t,r=t.params.coverflowEffect,n=t.isHorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,p=r.depth,c=O(t);for(let t=0,u=i.length;t<u;t+=1){const e=i[t],s=a[t],l=e.swiperSlideOffset,u=(o-l-s/2)/s,m="function"===typeof r.modifier?r.modifier(u):u*r.modifier;let h=n?d*m:0,f=n?0:d*m,g=-p*Math.abs(m),v=r.stretch;"string"===typeof v&&-1!==v.indexOf("%")&&(v=parseFloat(r.stretch)/100*s);let w=n?0:v*m,b=n?v*m:0,y=1-(1-r.scale)*Math.abs(m);Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0),Math.abs(g)<.001&&(g=0),Math.abs(h)<.001&&(h=0),Math.abs(f)<.001&&(f=0),Math.abs(y)<.001&&(y=0);const x=`translate3d(${b}px,${w}px,${g}px) rotateX(${c(f)}deg) rotateY(${c(h)}deg) scale(${y})`,E=Dt(r,e);if(E.style.transform=x,e.style.zIndex=1-Math.abs(Math.round(m)),r.slideShadows){let t=n?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),s=n?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");t||(t=Nt("coverflow",e,n?"left":"top")),s||(s=Nt("coverflow",e,n?"right":"bottom")),t&&(t.style.opacity=m>0?m:0),s&&(s.style.opacity=-m>0?-m:0)}}},r=e=>{const s=t.slides.map(e=>y(e));s.forEach(t=>{t.style.transitionDuration=e+"ms",t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=e+"ms"})})};Ot({effect:"coverflow",swiper:t,on:i,setTranslate:a,setTransition:r,perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Rt(e){let{swiper:t,extendParams:s,on:i}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"===typeof e?e:e+"px",r=()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:i}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides,o=O(t);if(l){const e=i[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let d=0;d<e.length;d+=1){const s=e[d],i=s.progress,p=Math.min(Math.max(s.progress,-r.limitProgress),r.limitProgress);let c=p;l||(c=Math.min(Math.max(s.originalProgress,-r.limitProgress),r.limitProgress));const u=s.swiperSlideOffset,m=[t.params.cssMode?-u-t.translate:-u,0,0],h=[0,0,0];let f=!1;t.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};p<0?(g=r.next,f=!0):p>0&&(g=r.prev,f=!0),m.forEach((e,t)=>{m[t]=`calc(${e}px + (${a(g.translate[t])} * ${Math.abs(p*n)}))`}),h.forEach((e,t)=>{let s=g.rotate[t]*Math.abs(p*n);h[t]=s}),s.style.zIndex=-Math.abs(Math.round(i))+e.length;const v=m.join(", "),w=`rotateX(${o(h[0])}deg) rotateY(${o(h[1])}deg) rotateZ(${o(h[2])}deg)`,b=c<0?`scale(${1+(1-g.scale)*c*n})`:`scale(${1-(1-g.scale)*c*n})`,y=c<0?1+(1-g.opacity)*c*n:1-(1-g.opacity)*c*n,x=`translate3d(${v}) ${w} ${b}`;if(f&&g.shadow||!f){let e=s.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=Nt("creative",s)),e){const t=r.shadowPerProgress?p*(1/r.limitProgress):p;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const E=Dt(r,s);E.style.transform=x,E.style.opacity=y,g.origin&&(E.style.transformOrigin=g.origin)}},n=e=>{const s=t.slides.map(e=>y(e));s.forEach(t=>{t.style.transitionDuration=e+"ms",t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=e+"ms"})}),_t({swiper:t,duration:e,transformElements:s,allSlides:!0})};Ot({effect:"creative",swiper:t,on:i,setTranslate:r,setTransition:n,perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function Xt(e){let{swiper:t,extendParams:s,on:i}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}});const a=()=>{const{slides:e,activeIndex:s,rtlTranslate:i}=t,a=t.params.cardsEffect,{startTranslate:r,isTouched:n}=t.touchEventsData,l=i?-t.translate:t.translate;for(let o=0;o<e.length;o+=1){const d=e[o],p=d.progress,c=Math.min(Math.max(p,-4),4);let u=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset);let m=t.params.cssMode?-u-t.translate:-u,h=0;const f=-100*Math.abs(c);let g=1,v=-a.perSlideRotate*c,w=a.perSlideOffset-.75*Math.abs(c);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+o:o,y=(b===s||b===s-1)&&c>0&&c<1&&(n||t.params.cssMode)&&l<r,x=(b===s||b===s+1)&&c<0&&c>-1&&(n||t.params.cssMode)&&l>r;if(y||x){const e=(1-Math.abs((Math.abs(c)-.5)/.5))**.5;v+=-28*c*e,g+=-.5*e,w+=96*e,h=-25*e*Math.abs(c)+"%"}if(c<0?m=`calc(${m}px ${i?"-":"+"} (${w*Math.abs(c)}%))`:c>0?m=`calc(${m}px ${i?"-":"+"} (-${w*Math.abs(c)}%))`:m+="px",!t.isHorizontal()){const e=h;h=m,m=e}const E=c<0?""+(1+(1-g)*c):""+(1-(1-g)*c),S=`\n translate3d(${m}, ${h}, ${f}px)\n rotateZ(${a.rotate?i?-v:v:0}deg)\n scale(${E})\n `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=Nt("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(c)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(p))+e.length;const T=Dt(a,d);T.style.transform=S}},r=e=>{const s=t.slides.map(e=>y(e));s.forEach(t=>{t.style.transitionDuration=e+"ms",t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=e+"ms"})}),_t({swiper:t,duration:e,transformElements:s})};Ot({effect:"cards",swiper:t,on:i,setTranslate:a,setTransition:r,perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}Object.keys(nt).forEach(e=>{Object.keys(nt[e]).forEach(t=>{ot.prototype[t]=nt[e][t]})}),ot.use([Y,j]);const Yt=[dt,pt,ct,mt,ft,gt,vt,wt,bt,yt,xt,Et,St,Tt,Mt,Ct,It,$t,Gt,Bt,Ht,Rt,Xt];ot.use(Yt);const jt=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function qt(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function Ft(e,t){const s=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>s.indexOf(e)<0).forEach(s=>{"undefined"===typeof e[s]?e[s]=t[s]:qt(t[s])&&qt(e[s])&&Object.keys(t[s]).length>0?t[s].__swiper__?e[s]=t[s]:Ft(e[s],t[s]):e[s]=t[s]})}function Vt(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function Wt(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function Ut(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function Kt(e){return void 0===e&&(e=""),e.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function Zt(e){let{swiper:t,slides:s,passedParams:i,changedParams:a,nextEl:r,prevEl:n,scrollbarEl:l,paginationEl:o}=e;const d=a.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:p,pagination:c,navigation:u,scrollbar:m,virtual:h,thumbs:f}=t;let g,v,w,b,y,x,E,S;a.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&p.thumbs&&!p.thumbs.swiper&&(g=!0),a.includes("controller")&&i.controller&&i.controller.control&&p.controller&&!p.controller.control&&(v=!0),a.includes("pagination")&&i.pagination&&(i.pagination.el||o)&&(p.pagination||!1===p.pagination)&&c&&!c.el&&(w=!0),a.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||l)&&(p.scrollbar||!1===p.scrollbar)&&m&&!m.el&&(b=!0),a.includes("navigation")&&i.navigation&&(i.navigation.prevEl||n)&&(i.navigation.nextEl||r)&&(p.navigation||!1===p.navigation)&&u&&!u.prevEl&&!u.nextEl&&(y=!0);const T=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),p[e].prevEl=void 0,p[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),p[e].el=void 0,t[e].el=void 0))};if(a.includes("loop")&&t.isElement&&(p.loop&&!i.loop?x=!0:!p.loop&&i.loop?E=!0:S=!0),d.forEach(e=>{if(qt(p[e])&&qt(i[e]))Object.assign(p[e],i[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in i[e])||i[e].enabled||T(e);else{const t=i[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?p[e]=i[e]:!1===t&&T(e)}}),d.includes("controller")&&!v&&t.controller&&t.controller.control&&p.controller&&p.controller.control&&(t.controller.control=p.controller.control),a.includes("children")&&s&&h&&p.virtual.enabled?(h.slides=s,h.update(!0)):a.includes("virtual")&&h&&p.virtual.enabled&&(s&&(h.slides=s),h.update(!0)),a.includes("children")&&s&&p.loop&&(S=!0),g){const e=f.init();e&&f.update(!0)}v&&(t.controller.control=p.controller.control),w&&(!t.isElement||o&&"string"!==typeof o||(o=document.createElement("div"),o.classList.add("swiper-pagination"),o.part.add("pagination"),t.el.appendChild(o)),o&&(p.pagination.el=o),c.init(),c.render(),c.update()),b&&(!t.isElement||l&&"string"!==typeof l||(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),t.el.appendChild(l)),l&&(p.scrollbar.el=l),m.init(),m.updateSize(),m.setTranslate()),y&&(t.isElement&&(r&&"string"!==typeof r||(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=t.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),t.el.appendChild(r)),n&&"string"!==typeof n||(n=document.createElement("div"),n.classList.add("swiper-button-prev"),n.innerHTML=t.hostEl.constructor.prevButtonSvg,n.part.add("button-prev"),t.el.appendChild(n))),r&&(p.navigation.nextEl=r),n&&(p.navigation.prevEl=n),u.init(),u.update()),a.includes("allowSlideNext")&&(t.allowSlideNext=i.allowSlideNext),a.includes("allowSlidePrev")&&(t.allowSlidePrev=i.allowSlidePrev),a.includes("direction")&&t.changeDirection(i.direction,!1),(x||S)&&t.loopDestroy(),(E||S)&&t.loopCreate(),t.update()}const Jt=e=>{if(parseFloat(e)===Number(e))return Number(e);if("true"===e)return!0;if(""===e)return!0;if("false"===e)return!1;if("null"===e)return null;if("undefined"!==e){if("string"===typeof e&&e.includes("{")&&e.includes("}")&&e.includes('"')){let s;try{s=JSON.parse(e)}catch(t){s=e}return s}return e}},Qt=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function es(e,t,s){const i={},a={};Ft(i,at);const r=[...jt,"on"],n=r.map(e=>e.replace(/_/,""));r.forEach(t=>{t=t.replace("_",""),"undefined"!==typeof e[t]&&(a[t]=e[t])});const l=[...e.attributes];return"string"===typeof t&&"undefined"!==typeof s&&l.push({name:t,value:qt(s)?{...s}:s}),l.forEach(e=>{const t=Qt.filter(t=>0===e.name.indexOf(t+"-"))[0];if(t){const s=Kt(t),i=Kt(e.name.split(t+"-")[1]);"undefined"===typeof a[s]&&(a[s]={}),!0===a[s]&&(a[s]={enabled:!0}),a[s][i]=Jt(e.value)}else{const t=Kt(e.name);if(!n.includes(t))return;const s=Jt(e.value);a[t]&&Qt.includes(e.name)&&!qt(s)?(a[t].constructor!==Object&&(a[t]={}),a[t].enabled=!!s):a[t]=s}}),Ft(i,a),i.navigation?i.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==i.navigation?i.navigation:{}}:!1===i.navigation&&delete i.navigation,i.scrollbar?i.scrollbar={el:".swiper-scrollbar",...!0!==i.scrollbar?i.scrollbar:{}}:!1===i.scrollbar&&delete i.scrollbar,i.pagination?i.pagination={el:".swiper-pagination",...!0!==i.pagination?i.pagination:{}}:!1===i.pagination&&delete i.pagination,{params:i,passedParams:a}}const ts=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;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 ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(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 ::slotted(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 ::slotted(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 ::slotted(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 ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(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 ::slotted(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-virtual ::slotted(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)}:host{--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-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}::slotted(.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 ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(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 ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.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 ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",ss="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;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}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class is{}const as="undefined"===typeof window||"undefined"===typeof HTMLElement?is:HTMLElement,rs='<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>\n ',ns=(e,t)=>{if("undefined"!==typeof CSSStyleSheet&&e.adoptedStyleSheets){const s=new CSSStyleSheet;s.replaceSync(t),e.adoptedStyleSheets=[s]}else{const s=document.createElement("style");s.rel="stylesheet",s.textContent=t,e.appendChild(s)}};class ls extends as{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return rs}static get prevButtonSvg(){return rs.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[ts,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,t=[...this.querySelectorAll("[slot^=slide-]")].map(e=>parseInt(e.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=t.length?Math.max(...t)+1:0,this.rendered)if(this.slideSlots>e)for(let s=e;s<this.slideSlots;s+=1){const e=document.createElement("swiper-slide");e.setAttribute("part","slide slide-"+(s+1));const t=document.createElement("slot");t.setAttribute("name","slide-"+(s+1)),e.appendChild(t),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(e)}else if(this.slideSlots<e){const e=this.swiper.slides;for(let t=e.length-1;t>=0;t-=1)t>this.slideSlots&&e[t].remove()}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&ns(this.shadowRoot,e),this.cssLinks().forEach(e=>{const t=this.shadowRoot.querySelector(`link[href="${e}"]`);if(t)return;const s=document.createElement("link");s.rel="stylesheet",s.href=e,this.shadowRoot.appendChild(s)});const t=document.createElement("div");t.classList.add("swiper"),t.part="container",t.innerHTML=`\n <slot name="container-start"></slot>\n <div class="swiper-wrapper" part="wrapper">\n <slot></slot>\n ${Array.from({length:this.slideSlots}).map((e,t)=>`\n <swiper-slide part="slide slide-${t}">\n <slot name="slide-${t}"></slot>\n </swiper-slide>\n `).join("")}\n </div>\n <slot name="container-end"></slot>\n ${Vt(this.passedParams)?`\n <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div>\n <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div>\n `:""}\n ${Wt(this.passedParams)?'\n <div part="pagination" class="swiper-pagination"></div>\n ':""}\n ${Ut(this.passedParams)?'\n <div part="scrollbar" class="swiper-scrollbar"></div>\n ':""}\n `,this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;const{params:t,passedParams:s}=es(this);this.swiperParams=t,this.passedParams=s,delete this.swiperParams.init,this.render(),this.swiper=new ot(this.shadowRoot.querySelector(".swiper"),{...t.virtual?{}:{observer:!0},...t,touchEventsTarget:"container",onAny:function(s){"observerUpdate"===s&&e.calcSlideSlots();const i=t.eventsPrefix?`${t.eventsPrefix}${s.toLowerCase()}`:s.toLowerCase();for(var a=arguments.length,r=new Array(a>1?a-1:0),n=1;n<a;n++)r[n-1]=arguments[n];const l=new CustomEvent(i,{detail:r,bubbles:"hashChange"!==s,cancelable:!0});e.dispatchEvent(l)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||!1!==this.init&&"false"!==this.getAttribute("init")&&this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(e,t){const{params:s,passedParams:i}=es(this,e,t);this.passedParams=i,this.swiperParams=s,this.swiper&&this.swiper.params[e]===t||Zt({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Kt(e)],..."navigation"===e&&i[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===e&&i[e]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===e&&i[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,t,s){this.initialized&&("true"===t&&null===s&&(s=!1),this.updateSwiperOnPropChange(e,s))}static get observedAttributes(){const e=jt.filter(e=>e.includes("_")).map(e=>e.replace(/[A-Z]/g,e=>"-"+e).replace("_","").toLowerCase());return e}}jt.forEach(e=>{"init"!==e&&(e=e.replace("_",""),Object.defineProperty(ls.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(t){this.passedParams||(this.passedParams={}),this.passedParams[e]=t,this.initialized&&this.updateSwiperOnPropChange(e,t)}}))});class os extends as{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(ns(this.shadowRoot,ss),this.shadowRoot.appendChild(document.createElement("slot")),e){const e=document.createElement("div");e.classList.add("swiper-lazy-preloader"),e.part.add("preloader"),this.shadowRoot.appendChild(e)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const ds=()=>{"undefined"!==typeof window&&(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",ls),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",os))};"undefined"!==typeof window&&(window.SwiperElementRegisterParams=e=>{jt.push(...e)})},f2a0:function(e,t,s){"use strict";async function i(e,t){const s=e.getReader();let i;while(!(i=await s.read()).done)t(i.value)}function a(e){let t,s,i,a=!1;return function(r){void 0===t?(t=r,s=0,i=-1):t=n(t,r);const l=t.length;let o=0;while(s<l){a&&(10===t[s]&&(o=++s),a=!1);let r=-1;for(;s<l&&-1===r;++s)switch(t[s]){case 58:-1===i&&(i=s-o);break;case 13:a=!0;case 10:r=s;break}if(-1===r)break;e(t.subarray(o,r),i),o=s,i=-1}o===l?t=void 0:0!==o&&(t=t.subarray(o),s-=o)}}function r(e,t,s){let i=l();const a=new TextDecoder;return function(r,n){if(0===r.length)null===s||void 0===s||s(i),i=l();else if(n>0){const s=a.decode(r.subarray(0,n)),l=n+(32===r[n+1]?2:1),o=a.decode(r.subarray(l));switch(s){case"data":i.data=i.data?i.data+"\n"+o:o;break;case"event":i.event=o;break;case"id":e(i.id=o);break;case"retry":const s=parseInt(o,10);isNaN(s)||t(i.retry=s);break}}}}function n(e,t){const s=new Uint8Array(e.length+t.length);return s.set(e),s.set(t,e.length),s}function l(){return{data:"",event:"",id:"",retry:void 0}}s.d(t,"a",(function(){return u}));var o=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(s[i[a]]=e[i[a]])}return s};const d="text/event-stream",p=1e3,c="last-event-id";function u(e,t){var{signal:s,headers:n,onopen:l,onmessage:u,onclose:h,onerror:f,openWhenHidden:g,fetch:v}=t,w=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{const b=Object.assign({},n);let y;function x(){y.abort(),document.hidden||P()}b.accept||(b.accept=d),g||document.addEventListener("visibilitychange",x);let E=p,S=0;function T(){document.removeEventListener("visibilitychange",x),window.clearTimeout(S),y.abort()}null===s||void 0===s||s.addEventListener("abort",()=>{T(),t()});const M=null!==v&&void 0!==v?v:window.fetch,C=null!==l&&void 0!==l?l:m;async function P(){var s;y=new AbortController;try{const s=await M(e,Object.assign(Object.assign({},w),{headers:b,signal:y.signal}));await C(s),await i(s.body,a(r(e=>{e?b[c]=e:delete b[c]},e=>{E=e},u))),null===h||void 0===h||h(),T(),t()}catch(n){if(!y.signal.aborted)try{const e=null!==(s=null===f||void 0===f?void 0:f(n))&&void 0!==s?s:E;window.clearTimeout(S),S=window.setTimeout(P,e)}catch(l){T(),o(l)}}}P()})}function m(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(d)))throw new Error(`Expected content-type to be ${d}, Actual: ${t}`)}}}]);
|