@wikicasa-dev/components 1.2.10 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autoplay-l0sNRNKZ.js +1 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +24 -0
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +50 -0
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +69 -0
- package/dist/components.js +5 -135
- package/dist/components.umd.cjs +7 -1
- package/dist/controller-l0sNRNKZ.js +1 -0
- package/dist/free-mode-l0sNRNKZ.js +1 -0
- package/dist/index-4TomfCph.js +2444 -0
- package/dist/index-Brcl3KsS.js +900 -0
- package/dist/index.d.ts +4 -1
- package/dist/navigation-l0sNRNKZ.js +1 -0
- package/dist/pagination-l0sNRNKZ.js +1 -0
- package/dist/stories/Button.stories.d.ts +6 -6
- package/dist/style.css +1 -1
- package/dist/thumbs-l0sNRNKZ.js +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
observer: IntersectionObserver;
|
|
3
|
+
isVisible: boolean;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
observer: IntersectionObserver;
|
|
6
|
+
isVisible: boolean;
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
observable?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
interface IntersectionObserverProps {
|
|
2
|
+
observeOnce?: boolean;
|
|
3
|
+
skip?: boolean;
|
|
4
|
+
threshold?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IntersectionObserverProps>, {
|
|
7
|
+
observeOnce: boolean;
|
|
8
|
+
skip: boolean;
|
|
9
|
+
threshold: number;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
intersection: () => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IntersectionObserverProps>, {
|
|
13
|
+
observeOnce: boolean;
|
|
14
|
+
skip: boolean;
|
|
15
|
+
threshold: number;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onIntersection?: (() => any) | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
observeOnce: boolean;
|
|
20
|
+
skip: boolean;
|
|
21
|
+
threshold: number;
|
|
22
|
+
}, {}>, {
|
|
23
|
+
observer?(_: {
|
|
24
|
+
observer: any;
|
|
25
|
+
isVisible: true;
|
|
26
|
+
}): any;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Image } from "@wikicasa-dev/types";
|
|
2
|
+
import type { SwiperOptions } from "swiper/types/swiper-options";
|
|
3
|
+
import "swiper/css/bundle";
|
|
4
|
+
import "swiper/css/zoom";
|
|
5
|
+
interface SwiperCarouselProps {
|
|
6
|
+
id: string;
|
|
7
|
+
swiperOptions: SwiperOptions;
|
|
8
|
+
thumbSwiperOptions?: SwiperOptions;
|
|
9
|
+
lazyLoadImages?: boolean;
|
|
10
|
+
backgroundImage?: boolean;
|
|
11
|
+
images?: Image[];
|
|
12
|
+
artDirection?: Record<string, {
|
|
13
|
+
mq: string;
|
|
14
|
+
width: string;
|
|
15
|
+
}>;
|
|
16
|
+
shiftFirstImage?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SwiperCarouselProps>, {
|
|
19
|
+
lazyLoadImages: boolean;
|
|
20
|
+
backgroundImage: boolean;
|
|
21
|
+
shiftFirstImage: boolean;
|
|
22
|
+
}>, {
|
|
23
|
+
moveTo(index: number, speed?: number, runCallbacks?: boolean): void;
|
|
24
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
click: () => void;
|
|
26
|
+
moved: (args_0: {
|
|
27
|
+
activeIndex: number;
|
|
28
|
+
}) => void;
|
|
29
|
+
firstSlideLoaded: () => void;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SwiperCarouselProps>, {
|
|
31
|
+
lazyLoadImages: boolean;
|
|
32
|
+
backgroundImage: boolean;
|
|
33
|
+
shiftFirstImage: boolean;
|
|
34
|
+
}>>> & {
|
|
35
|
+
onClick?: (() => any) | undefined;
|
|
36
|
+
onMoved?: ((args_0: {
|
|
37
|
+
activeIndex: number;
|
|
38
|
+
}) => any) | undefined;
|
|
39
|
+
onFirstSlideLoaded?: (() => any) | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
backgroundImage: boolean;
|
|
42
|
+
lazyLoadImages: boolean;
|
|
43
|
+
shiftFirstImage: boolean;
|
|
44
|
+
}, {}>, {
|
|
45
|
+
swiper_slide?(_: {}): any;
|
|
46
|
+
}>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
+
} : {
|
|
53
|
+
type: import('vue').PropType<T[K]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type __VLS_WithDefaults<P, D> = {
|
|
58
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
+
default: D[K];
|
|
60
|
+
}> : P[K];
|
|
61
|
+
};
|
|
62
|
+
type __VLS_Prettify<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
package/dist/components.js
CHANGED
|
@@ -1,137 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const C = d({
|
|
3
|
-
name: "BaseIcon",
|
|
4
|
-
props: {
|
|
5
|
-
lazyLoading: { type: Boolean, default: !1 },
|
|
6
|
-
altAttribute: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: ""
|
|
9
|
-
},
|
|
10
|
-
iconName: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: ""
|
|
13
|
-
},
|
|
14
|
-
iconType: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: "icon-md"
|
|
17
|
-
},
|
|
18
|
-
iconClass: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "uikit-mr-5px"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}), g = (t, i) => {
|
|
24
|
-
const a = t.__vccOpts || t;
|
|
25
|
-
for (const [o, r] of i)
|
|
26
|
-
a[o] = r;
|
|
27
|
-
return a;
|
|
28
|
-
}, w = ["id", "alt", "src", "width", "height", "loading"];
|
|
29
|
-
function S(t, i, a, o, r, p) {
|
|
30
|
-
return l(), u("img", {
|
|
31
|
-
id: t.$attrs.id,
|
|
32
|
-
class: c(["uikit-inline-block", t.iconType, t.iconClass]),
|
|
33
|
-
alt: t.altAttribute || t.$attrs.alt,
|
|
34
|
-
style: v(t.$attrs.style),
|
|
35
|
-
src: t.$attrs.src ? t.$attrs.src : "",
|
|
36
|
-
width: t.$attrs.width,
|
|
37
|
-
height: t.$attrs.height,
|
|
38
|
-
loading: t.lazyLoading ? "lazy" : "eager"
|
|
39
|
-
}, null, 14, w);
|
|
40
|
-
}
|
|
41
|
-
const z = /* @__PURE__ */ g(C, [["render", S], ["__scopeId", "data-v-e98a91a0"]]), L = {
|
|
42
|
-
viewBox: "0 0 128 128",
|
|
43
|
-
class: "icon-spin uikit-h-6 uikit-w-6"
|
|
44
|
-
}, I = ["stroke-width"], M = /* @__PURE__ */ d({
|
|
45
|
-
__name: "StaticSpinner",
|
|
46
|
-
props: {
|
|
47
|
-
thickness: { default: 9 },
|
|
48
|
-
color: { default: "uikit-stroke-white" }
|
|
49
|
-
},
|
|
50
|
-
setup(t) {
|
|
51
|
-
return (i, a) => (l(), u("div", {
|
|
52
|
-
class: c(["uikit-m-auto uikit-flex uikit-items-center uikit-justify-center", i.color])
|
|
53
|
-
}, [
|
|
54
|
-
(l(), u("svg", L, [
|
|
55
|
-
$("circle", {
|
|
56
|
-
class: "path",
|
|
57
|
-
cx: "64",
|
|
58
|
-
cy: "64",
|
|
59
|
-
r: "42",
|
|
60
|
-
fill: "none",
|
|
61
|
-
"stroke-width": i.thickness
|
|
62
|
-
}, null, 8, I)
|
|
63
|
-
]))
|
|
64
|
-
], 2));
|
|
65
|
-
}
|
|
66
|
-
}), A = /* @__PURE__ */ g(M, [["__scopeId", "data-v-343b59c1"]]), E = ["id", "data-cy", "type", "data-active", "disabled", "aria-labelledby"], V = /* @__PURE__ */ d({
|
|
67
|
-
__name: "BaseButton",
|
|
68
|
-
props: {
|
|
69
|
-
lazyLoadIcon: { type: Boolean, default: !0 },
|
|
70
|
-
btnClass: { default: "" },
|
|
71
|
-
iconName: { default: "" },
|
|
72
|
-
iconNameHovering: { default: "" },
|
|
73
|
-
iconClass: { default: "uikit-mr-[5px]" },
|
|
74
|
-
isEmpty: { type: Boolean, default: !1 },
|
|
75
|
-
keepActive: { type: Boolean, default: !1 },
|
|
76
|
-
isLoading: { type: Boolean, default: !1 },
|
|
77
|
-
disabled: { type: Boolean, default: !1 }
|
|
78
|
-
},
|
|
79
|
-
emits: ["mouseover", "mouseout", "click"],
|
|
80
|
-
setup(t) {
|
|
81
|
-
const i = t, a = f(!1), o = f("");
|
|
82
|
-
h(() => {
|
|
83
|
-
o.value = i.iconName ?? "";
|
|
84
|
-
});
|
|
85
|
-
const r = () => {
|
|
86
|
-
a.value = !0, i.iconNameHovering && m(i.iconNameHovering);
|
|
87
|
-
}, p = () => {
|
|
88
|
-
a.value = !1, i.iconNameHovering && m(i.iconName);
|
|
89
|
-
}, m = (e) => {
|
|
90
|
-
o.value = e;
|
|
91
|
-
};
|
|
92
|
-
return (e, s) => (l(), u("button", {
|
|
93
|
-
id: e.$attrs.id,
|
|
94
|
-
"data-cy": e.$attrs["data-cy"],
|
|
95
|
-
type: e.$attrs.type,
|
|
96
|
-
class: c([
|
|
97
|
-
{
|
|
98
|
-
"uikit-btn": !e.isEmpty,
|
|
99
|
-
"uikit-btn-empty": e.isEmpty,
|
|
100
|
-
"active uikit-font-medium": e.keepActive,
|
|
101
|
-
"uikit-flex uikit-items-center uikit-justify-center": e.iconName || e.isLoading
|
|
102
|
-
},
|
|
103
|
-
e.btnClass
|
|
104
|
-
]),
|
|
105
|
-
style: v(e.$attrs.style),
|
|
106
|
-
"data-active": e.keepActive,
|
|
107
|
-
disabled: e.isLoading || e.disabled,
|
|
108
|
-
"aria-labelledby": e.$attrs.id,
|
|
109
|
-
onMouseover: s[0] || (s[0] = y((n) => {
|
|
110
|
-
r(), e.$emit("mouseover", n);
|
|
111
|
-
}, ["stop"])),
|
|
112
|
-
onMouseout: s[1] || (s[1] = y((n) => {
|
|
113
|
-
p(), e.$emit("mouseout", n);
|
|
114
|
-
}, ["stop"])),
|
|
115
|
-
onClick: s[2] || (s[2] = (n) => e.$emit("click", n))
|
|
116
|
-
}, [
|
|
117
|
-
e.iconName && !e.isLoading ? (l(), b(z, {
|
|
118
|
-
key: e.$attrs.id ? e.$attrs.id : `btn-${e.iconName}`,
|
|
119
|
-
"icon-name": o.value,
|
|
120
|
-
"icon-class": e.iconClass,
|
|
121
|
-
"alt-attribute": "button icon",
|
|
122
|
-
"lazy-loading": e.lazyLoadIcon
|
|
123
|
-
}, null, 8, ["icon-name", "icon-class", "lazy-loading"])) : B("", !0),
|
|
124
|
-
e.isLoading ? k(e.$slots, "spinner", { key: 2 }, () => [
|
|
125
|
-
N(A, {
|
|
126
|
-
color: e.btnClass.includes("uikit-btn-light") ? "uikit-stroke-black" : "uikit-stroke-white"
|
|
127
|
-
}, null, 8, ["color"])
|
|
128
|
-
]) : k(e.$slots, "default", {
|
|
129
|
-
key: 1,
|
|
130
|
-
hover: a.value
|
|
131
|
-
})
|
|
132
|
-
], 46, E));
|
|
133
|
-
}
|
|
134
|
-
});
|
|
1
|
+
import { _ as r, o as a, p as o, l as t } from "./index-4TomfCph.js";
|
|
135
2
|
export {
|
|
136
|
-
|
|
3
|
+
r as BaseButton,
|
|
4
|
+
a as IntersectionObservable,
|
|
5
|
+
o as IntersectionObserver,
|
|
6
|
+
t as SwiperCarousel
|
|
137
7
|
};
|
package/dist/components.umd.cjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
(function(a,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(a=typeof globalThis<"u"?globalThis:a||self,e(a.components={},a.Vue))})(this,function(a,e){"use strict";const f=e.defineComponent({name:"BaseIcon",props:{lazyLoading:{type:Boolean,default:!1},altAttribute:{type:String,default:""},iconName:{type:String,default:""},iconType:{type:String,default:"icon-md"},iconClass:{type:String,default:"uikit-mr-5px"}}}),c=(i,o)=>{const n=i.__vccOpts||i;for(const[s,d]of o)n[s]=d;return n},m=["id","alt","src","width","height","loading"];function k(i,o,n,s,d,u){return e.openBlock(),e.createElementBlock("img",{id:i.$attrs.id,class:e.normalizeClass(["uikit-inline-block",i.iconType,i.iconClass]),alt:i.altAttribute||i.$attrs.alt,style:e.normalizeStyle(i.$attrs.style),src:i.$attrs.src?i.$attrs.src:"",width:i.$attrs.width,height:i.$attrs.height,loading:i.lazyLoading?"lazy":"eager"},null,14,m)}const y=c(f,[["render",k],["__scopeId","data-v-e98a91a0"]]),g={viewBox:"0 0 128 128",class:"icon-spin uikit-h-6 uikit-w-6"},h=["stroke-width"],$=c(e.defineComponent({__name:"StaticSpinner",props:{thickness:{default:9},color:{default:"uikit-stroke-white"}},setup(i){return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["uikit-m-auto uikit-flex uikit-items-center uikit-justify-center",o.color])},[(e.openBlock(),e.createElementBlock("svg",g,[e.createElementVNode("circle",{class:"path",cx:"64",cy:"64",r:"42",fill:"none","stroke-width":o.thickness},null,8,h)]))],2))}}),[["__scopeId","data-v-343b59c1"]]),b=["id","data-cy","type","data-active","disabled","aria-labelledby"],B=e.defineComponent({__name:"BaseButton",props:{lazyLoadIcon:{type:Boolean,default:!0},btnClass:{default:""},iconName:{default:""},iconNameHovering:{default:""},iconClass:{default:"uikit-mr-[5px]"},isEmpty:{type:Boolean,default:!1},keepActive:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["mouseover","mouseout","click"],setup(i){const o=i,n=e.ref(!1),s=e.ref("");e.onBeforeMount(()=>{s.value=o.iconName??""});const d=()=>{n.value=!0,o.iconNameHovering&&p(o.iconNameHovering)},u=()=>{n.value=!1,o.iconNameHovering&&p(o.iconName)},p=t=>{s.value=t};return(t,l)=>(e.openBlock(),e.createElementBlock("button",{id:t.$attrs.id,"data-cy":t.$attrs["data-cy"],type:t.$attrs.type,class:e.normalizeClass([{"uikit-btn":!t.isEmpty,"uikit-btn-empty":t.isEmpty,"active uikit-font-medium":t.keepActive,"uikit-flex uikit-items-center uikit-justify-center":t.iconName||t.isLoading},t.btnClass]),style:e.normalizeStyle(t.$attrs.style),"data-active":t.keepActive,disabled:t.isLoading||t.disabled,"aria-labelledby":t.$attrs.id,onMouseover:l[0]||(l[0]=e.withModifiers(r=>{d(),t.$emit("mouseover",r)},["stop"])),onMouseout:l[1]||(l[1]=e.withModifiers(r=>{u(),t.$emit("mouseout",r)},["stop"])),onClick:l[2]||(l[2]=r=>t.$emit("click",r))},[t.iconName&&!t.isLoading?(e.openBlock(),e.createBlock(y,{key:t.$attrs.id?t.$attrs.id:`btn-${t.iconName}`,"icon-name":s.value,"icon-class":t.iconClass,"alt-attribute":"button icon","lazy-loading":t.lazyLoadIcon},null,8,["icon-name","icon-class","lazy-loading"])):e.createCommentVNode("",!0),t.isLoading?e.renderSlot(t.$slots,"spinner",{key:2},()=>[e.createVNode($,{color:t.btnClass.includes("uikit-btn-light")?"uikit-stroke-black":"uikit-stroke-white"},null,8,["color"])]):e.renderSlot(t.$slots,"default",{key:1,hover:n.value})],46,b))}});a.BaseButton=B,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(Y,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("vue"),require("swiper")):typeof define=="function"&&define.amd?define(["exports","vue","swiper"],b):(Y=typeof globalThis<"u"?globalThis:Y||self,b(Y.components={},Y.Vue,Y.swiper))})(this,function(Y,b,et){"use strict";const Xt=b.defineComponent({name:"BaseIcon",props:{lazyLoading:{type:Boolean,default:!1},altAttribute:{type:String,default:""},iconName:{type:String,default:""},iconType:{type:String,default:"icon-md"},iconClass:{type:String,default:"uikit-mr-5px"}}}),tt=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},Yt=["id","alt","src","width","height","loading"];function Wt(t,e,r,n,i,s){return b.openBlock(),b.createElementBlock("img",{id:t.$attrs.id,class:b.normalizeClass(["uikit-inline-block",t.iconType,t.iconClass]),alt:t.altAttribute||t.$attrs.alt,style:b.normalizeStyle(t.$attrs.style),src:t.$attrs.src?t.$attrs.src:"",width:t.$attrs.width,height:t.$attrs.height,loading:t.lazyLoading?"lazy":"eager"},null,14,Yt)}const Ht=tt(Xt,[["render",Wt],["__scopeId","data-v-e98a91a0"]]),Vt={viewBox:"0 0 128 128",class:"icon-spin uikit-h-6 uikit-w-6"},qt=["stroke-width"],Gt=tt(b.defineComponent({__name:"StaticSpinner",props:{thickness:{default:9},color:{default:"uikit-stroke-white"}},setup(t){return(e,r)=>(b.openBlock(),b.createElementBlock("div",{class:b.normalizeClass(["uikit-m-auto uikit-flex uikit-items-center uikit-justify-center",e.color])},[(b.openBlock(),b.createElementBlock("svg",Vt,[b.createElementVNode("circle",{class:"path",cx:"64",cy:"64",r:"42",fill:"none","stroke-width":e.thickness},null,8,qt)]))],2))}}),[["__scopeId","data-v-343b59c1"]]),Kt=["id","data-cy","type","data-active","disabled","aria-labelledby"],Jt=b.defineComponent({__name:"BaseButton",props:{lazyLoadIcon:{type:Boolean,default:!0},btnClass:{default:""},iconName:{default:""},iconNameHovering:{default:""},iconClass:{default:"uikit-mr-[5px]"},isEmpty:{type:Boolean,default:!1},keepActive:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["mouseover","mouseout","click"],setup(t){const e=t,r=b.ref(!1),n=b.ref("");b.onBeforeMount(()=>{n.value=e.iconName??""});const i=()=>{r.value=!0,e.iconNameHovering&&l(e.iconNameHovering)},s=()=>{r.value=!1,e.iconNameHovering&&l(e.iconName)},l=d=>{n.value=d};return(d,f)=>(b.openBlock(),b.createElementBlock("button",{id:d.$attrs.id,"data-cy":d.$attrs["data-cy"],type:d.$attrs.type,class:b.normalizeClass([{"uikit-btn":!d.isEmpty,"uikit-btn-empty":d.isEmpty,"active uikit-font-medium":d.keepActive,"uikit-flex uikit-items-center uikit-justify-center":d.iconName||d.isLoading},d.btnClass]),style:b.normalizeStyle(d.$attrs.style),"data-active":d.keepActive,disabled:d.isLoading||d.disabled,"aria-labelledby":d.$attrs.id,onMouseover:f[0]||(f[0]=b.withModifiers(p=>{i(),d.$emit("mouseover",p)},["stop"])),onMouseout:f[1]||(f[1]=b.withModifiers(p=>{s(),d.$emit("mouseout",p)},["stop"])),onClick:f[2]||(f[2]=p=>d.$emit("click",p))},[d.iconName&&!d.isLoading?(b.openBlock(),b.createBlock(Ht,{key:d.$attrs.id?d.$attrs.id:`btn-${d.iconName}`,"icon-name":n.value,"icon-class":d.iconClass,"alt-attribute":"button icon","lazy-loading":d.lazyLoadIcon},null,8,["icon-name","icon-class","lazy-loading"])):b.createCommentVNode("",!0),d.isLoading?b.renderSlot(d.$slots,"spinner",{key:2},()=>[b.createVNode(Gt,{color:d.btnClass.includes("uikit-btn-light")?"uikit-stroke-black":"uikit-stroke-white"},null,8,["color"])]):b.renderSlot(d.$slots,"default",{key:1,hover:r.value})],46,Kt))}}),Zt=b.defineComponent({__name:"IntersectionObservable",props:{observer:{},isVisible:{type:Boolean}},setup(t){const e=t,r=b.ref(null);return b.onMounted(()=>{!e.observer||!r.value||e.observer.observe(r.value)}),(n,i)=>n.isVisible?b.renderSlot(n.$slots,"observable",{key:1}):(b.openBlock(),b.createElementBlock("div",{key:0,ref_key:"root",ref:r,class:b.normalizeClass(n.$attrs["root-classes"])},[b.renderSlot(n.$slots,"observable")],2))}}),Qt=b.defineComponent({__name:"IntersectionObserver",props:{observeOnce:{type:Boolean,default:!0},skip:{type:Boolean,default:!1},threshold:{default:0}},emits:["intersection"],setup(t,{emit:e}){const r=e,n=t;let i=b.reactive({root:null,isVisible:!1});const s=b.ref(null),l=p=>{p.forEach(({target:c,isIntersecting:o})=>{o&&(i.isVisible=!0,r("intersection")),n.observeOnce&&o&&d(c)})},d=p=>{s.value&&s.value.unobserve(p)},f=()=>{s.value&&s.value.disconnect()};return b.onBeforeMount(()=>{if(n.skip){i.isVisible=!0;return}s.value=new IntersectionObserver(l,{root:null,threshold:n.threshold})}),b.onBeforeUnmount(()=>{f()}),(p,c)=>b.unref(i).isVisible?b.renderSlot(p.$slots,"observer",{key:1,observer:s.value,isVisible:b.unref(i).isVisible}):(b.openBlock(),b.createElementBlock("div",{key:0,ref:"root",class:b.normalizeClass(p.$attrs["root-classes"])},[b.renderSlot(p.$slots,"observer",{observer:s.value,isVisible:b.unref(i).isVisible})],2))}});function nt(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Be(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:nt(e[r])&&nt(t[r])&&Object.keys(e[r]).length>0&&Be(t[r],e[r])})}const rt={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 Q(){const t=typeof document<"u"?document:{};return Be(t,rt),t}const en={document:rt,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(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ee(){const t=typeof window<"u"?window:{};return Be(t,en),t}function tn(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function nn(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function $e(){return Date.now()}function rn(t){const e=ee();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function it(t,e){e===void 0&&(e="x");const r=ee();let n,i,s;const l=rn(t);return r.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(d=>d.replace(",",".")).join(", ")),s=new r.WebKitCSSMatrix(i==="none"?"":i)):(s=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?i=s.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),e==="y"&&(r.WebKitCSSMatrix?i=s.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function sn(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function fe(t,e){return e===void 0&&(e=""),[...t.children].filter(r=>r.matches(e))}function on(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:tn(e)),r}function ze(t){const e=ee(),r=Q(),n=t.getBoundingClientRect(),i=r.body,s=t.clientTop||i.clientTop||0,l=t.clientLeft||i.clientLeft||0,d=t===e?e.scrollY:t.scrollTop,f=t===e?e.scrollX:t.scrollLeft;return{top:n.top+d-s,left:n.left+f-l}}function st(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function te(t,e){const r=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&r.push(n):r.push(n),n=n.parentElement;return r}function me(t,e){function r(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",r))}e&&t.addEventListener("transitionend",r)}function an(t,e,r){const n=ee();return r?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function I(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function ln(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=Q(),l=ee();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function d(c){if(!e.enabled)return;const{rtlTranslate:o}=e;let a=c;a.originalEvent&&(a=a.originalEvent);const m=a.keyCode||a.charCode,h=e.params.keyboard.pageUpDown,C=h&&m===33,E=h&&m===34,u=m===37,g=m===39,S=m===38,w=m===40;if(!e.allowSlideNext&&(e.isHorizontal()&&g||e.isVertical()&&w||E)||!e.allowSlidePrev&&(e.isHorizontal()&&u||e.isVertical()&&S||C))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(C||E||u||g||S||w)){let L=!1;if(te(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&te(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,$=x.clientWidth,k=x.clientHeight,B=l.innerWidth,D=l.innerHeight,M=ze(x);o&&(M.left-=x.scrollLeft);const R=[[M.left,M.top],[M.left+$,M.top],[M.left,M.top+k],[M.left+$,M.top+k]];for(let P=0;P<R.length;P+=1){const A=R[P];if(A[0]>=0&&A[0]<=B&&A[1]>=0&&A[1]<=D){if(A[0]===0&&A[1]===0)continue;L=!0}}if(!L)return}e.isHorizontal()?((C||E||u||g)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((E||g)&&!o||(C||u)&&o)&&e.slideNext(),((C||u)&&!o||(E||g)&&o)&&e.slidePrev()):((C||E||S||w)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(E||w)&&e.slideNext(),(C||S)&&e.slidePrev()),i("keyPress",m)}}function f(){e.keyboard.enabled||(s.addEventListener("keydown",d),e.keyboard.enabled=!0)}function p(){e.keyboard.enabled&&(s.removeEventListener("keydown",d),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&f()}),n("destroy",()=>{e.keyboard.enabled&&p()}),Object.assign(e.keyboard,{enable:f,disable:p})}function ot(t,e,r,n){return t.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let s=fe(t.el,`.${n[i]}`)[0];s||(s=on("div",n[i]),s.className=n[i],t.el.append(s)),r[i]=s,e[i]=s}}),r}function cn(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function s(h){let C;return h&&typeof h=="string"&&e.isElement&&(C=e.el.querySelector(h),C)?C:(h&&(typeof h=="string"&&(C=[...document.querySelectorAll(h)]),e.params.uniqueNavElements&&typeof h=="string"&&C.length>1&&e.el.querySelectorAll(h).length===1&&(C=e.el.querySelector(h))),h&&!C?h:C)}function l(h,C){const E=e.params.navigation;h=I(h),h.forEach(u=>{u&&(u.classList[C?"add":"remove"](...E.disabledClass.split(" ")),u.tagName==="BUTTON"&&(u.disabled=C),e.params.watchOverflow&&e.enabled&&u.classList[e.isLocked?"add":"remove"](E.lockClass))})}function d(){const{nextEl:h,prevEl:C}=e.navigation;if(e.params.loop){l(C,!1),l(h,!1);return}l(C,e.isBeginning&&!e.params.rewind),l(h,e.isEnd&&!e.params.rewind)}function f(h){h.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function p(h){h.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const h=e.params.navigation;if(e.params.navigation=ot(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(h.nextEl||h.prevEl))return;let C=s(h.nextEl),E=s(h.prevEl);Object.assign(e.navigation,{nextEl:C,prevEl:E}),C=I(C),E=I(E);const u=(g,S)=>{g&&g.addEventListener("click",S==="next"?p:f),!e.enabled&&g&&g.classList.add(...h.lockClass.split(" "))};C.forEach(g=>u(g,"next")),E.forEach(g=>u(g,"prev"))}function o(){let{nextEl:h,prevEl:C}=e.navigation;h=I(h),C=I(C);const E=(u,g)=>{u.removeEventListener("click",g==="next"?p:f),u.classList.remove(...e.params.navigation.disabledClass.split(" "))};h.forEach(u=>E(u,"next")),C.forEach(u=>E(u,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?m():(c(),d())}),n("toEdge fromEdge lock unlock",()=>{d()}),n("destroy",()=>{o()}),n("enable disable",()=>{let{nextEl:h,prevEl:C}=e.navigation;if(h=I(h),C=I(C),e.enabled){d();return}[...h,...C].filter(E=>!!E).forEach(E=>E.classList.add(e.params.navigation.lockClass))}),n("click",(h,C)=>{let{nextEl:E,prevEl:u}=e.navigation;E=I(E),u=I(u);const g=C.target;if(e.params.navigation.hideOnClick&&!u.includes(g)&&!E.includes(g)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let S;E.length?S=E[0].classList.contains(e.params.navigation.hiddenClass):u.length&&(S=u[0].classList.contains(e.params.navigation.hiddenClass)),i(S===!0?"navigationShow":"navigationHide"),[...E,...u].filter(w=>!!w).forEach(w=>w.classList.toggle(e.params.navigation.hiddenClass))}});const a=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),d()},m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),o()};Object.assign(e.navigation,{enable:a,disable:m,update:d,init:c,destroy:o})}function se(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function un(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s="swiper-pagination";r({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:u=>u,formatFractionTotal:u=>u,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let l,d=0;function f(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function p(u,g){const{bulletActiveClass:S}=e.params.pagination;u&&(u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${S}-${g}`),u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${S}-${g}-${g}`)))}function c(u){const g=u.target.closest(se(e.params.pagination.bulletClass));if(!g)return;u.preventDefault();const S=st(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===S)return;e.slideToLoop(S)}else e.slideTo(S)}function o(){const u=e.rtl,g=e.params.pagination;if(f())return;let S=e.pagination.el;S=I(S);let w,L;const x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,$=e.params.loop?Math.ceil(x/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(L=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,L=e.previousSnapIndex):(L=e.previousIndex||0,w=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let B,D,M;if(g.dynamicBullets&&(l=an(k[0],e.isHorizontal()?"width":"height",!0),S.forEach(R=>{R.style[e.isHorizontal()?"width":"height"]=`${l*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&L!==void 0&&(d+=w-(L||0),d>g.dynamicMainBullets-1?d=g.dynamicMainBullets-1:d<0&&(d=0)),B=Math.max(w-d,0),D=B+(Math.min(k.length,g.dynamicMainBullets)-1),M=(D+B)/2),k.forEach(R=>{const P=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(A=>`${g.bulletActiveClass}${A}`)].map(A=>typeof A=="string"&&A.includes(" ")?A.split(" "):A).flat();R.classList.remove(...P)}),S.length>1)k.forEach(R=>{const P=st(R);P===w?R.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&R.setAttribute("part","bullet"),g.dynamicBullets&&(P>=B&&P<=D&&R.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),P===B&&p(R,"prev"),P===D&&p(R,"next"))});else{const R=k[w];if(R&&R.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&k.forEach((P,A)=>{P.setAttribute("part",A===w?"bullet-active":"bullet")}),g.dynamicBullets){const P=k[B],A=k[D];for(let U=B;U<=D;U+=1)k[U]&&k[U].classList.add(...`${g.bulletActiveClass}-main`.split(" "));p(P,"prev"),p(A,"next")}}if(g.dynamicBullets){const R=Math.min(k.length,g.dynamicMainBullets+4),P=(l*R-l)/2-M*l,A=u?"right":"left";k.forEach(U=>{U.style[e.isHorizontal()?A:"top"]=`${P}px`})}}S.forEach((k,B)=>{if(g.type==="fraction"&&(k.querySelectorAll(se(g.currentClass)).forEach(D=>{D.textContent=g.formatFractionCurrent(w+1)}),k.querySelectorAll(se(g.totalClass)).forEach(D=>{D.textContent=g.formatFractionTotal($)})),g.type==="progressbar"){let D;g.progressbarOpposite?D=e.isHorizontal()?"vertical":"horizontal":D=e.isHorizontal()?"horizontal":"vertical";const M=(w+1)/$;let R=1,P=1;D==="horizontal"?R=M:P=M,k.querySelectorAll(se(g.progressbarFillClass)).forEach(A=>{A.style.transform=`translate3d(0,0,0) scaleX(${R}) scaleY(${P})`,A.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(k.innerHTML=g.renderCustom(e,w+1,$),B===0&&i("paginationRender",k)):(B===0&&i("paginationRender",k),i("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](g.lockClass)})}function a(){const u=e.params.pagination;if(f())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let S=e.pagination.el;S=I(S);let w="";if(u.type==="bullets"){let L=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&L>g&&(L=g);for(let x=0;x<L;x+=1)u.renderBullet?w+=u.renderBullet.call(e,x,u.bulletClass):w+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?w=u.renderFraction.call(e,u.currentClass,u.totalClass):w=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?w=u.renderProgressbar.call(e,u.progressbarFillClass):w=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],S.forEach(L=>{u.type!=="custom"&&(L.innerHTML=w||""),u.type==="bullets"&&e.pagination.bullets.push(...L.querySelectorAll(se(u.bulletClass)))}),u.type!=="custom"&&i("paginationRender",S[0])}function m(){e.params.pagination=ot(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let g;typeof u.el=="string"&&e.isElement&&(g=e.el.querySelector(u.el)),!g&&typeof u.el=="string"&&(g=[...document.querySelectorAll(u.el)]),g||(g=u.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(u.el)],g.length>1&&(g=g.filter(S=>te(S,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=I(g),g.forEach(S=>{u.type==="bullets"&&u.clickable&&S.classList.add(...(u.clickableClass||"").split(" ")),S.classList.add(u.modifierClass+u.type),S.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(S.classList.add(`${u.modifierClass}${u.type}-dynamic`),d=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&S.classList.add(u.progressbarOppositeClass),u.clickable&&S.addEventListener("click",c),e.enabled||S.classList.add(u.lockClass)}))}function h(){const u=e.params.pagination;if(f())return;let g=e.pagination.el;g&&(g=I(g),g.forEach(S=>{S.classList.remove(u.hiddenClass),S.classList.remove(u.modifierClass+u.type),S.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(S.classList.remove(...(u.clickableClass||"").split(" ")),S.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(S=>S.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:g}=e.pagination;g=I(g),g.forEach(S=>{S.classList.remove(u.horizontalClass,u.verticalClass),S.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?E():(m(),a(),o())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&o()}),n("snapIndexChange",()=>{o()}),n("snapGridLengthChange",()=>{a(),o()}),n("destroy",()=>{h()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=I(u),u.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{o()}),n("click",(u,g)=>{const S=g.target,w=I(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!S.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&S===e.navigation.nextEl||e.navigation.prevEl&&S===e.navigation.prevEl))return;const L=w[0].classList.contains(e.params.pagination.hiddenClass);i(L===!0?"paginationShow":"paginationHide"),w.forEach(x=>x.classList.toggle(e.params.pagination.hiddenClass))}});const C=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=I(u),u.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),m(),a(),o()},E=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=I(u),u.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:C,disable:E,render:a,update:o,init:m,destroy:h})}function at(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=ee();r({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l=1,d=!1,f,p;const c=[],o={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},a={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:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let h=1;Object.defineProperty(e.zoom,"scale",{get(){return h},set(v){if(h!==v){const O=o.imageEl,T=o.slideEl;i("zoomChange",v,O,T)}h=v}});function C(){if(c.length<2)return 1;const v=c[0].pageX,O=c[0].pageY,T=c[1].pageX,N=c[1].pageY;return Math.sqrt((T-v)**2+(N-O)**2)}function E(){const v=e.params.zoom,O=o.imageWrapEl.getAttribute("data-swiper-zoom")||v.maxRatio;if(v.limitToOriginalSize&&o.imageEl&&o.imageEl.naturalWidth){const T=o.imageEl.naturalWidth/o.imageEl.offsetWidth;return Math.min(T,O)}return O}function u(){if(c.length<2)return{x:null,y:null};const v=o.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-v.x-s.scrollX)/l,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-v.y-s.scrollY)/l]}function g(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function S(v){const O=g();return!!(v.target.matches(O)||e.slides.filter(T=>T.contains(v.target)).length>0)}function w(v){const O=`.${e.params.zoom.containerClass}`;return!!(v.target.matches(O)||[...e.hostEl.querySelectorAll(O)].filter(T=>T.contains(v.target)).length>0)}function L(v){if(v.pointerType==="mouse"&&c.splice(0,c.length),!S(v))return;const O=e.params.zoom;if(f=!1,p=!1,c.push(v),!(c.length<2)){if(f=!0,o.scaleStart=C(),!o.slideEl){o.slideEl=v.target.closest(`.${e.params.slideClass}, swiper-slide`),o.slideEl||(o.slideEl=e.slides[e.activeIndex]);let T=o.slideEl.querySelector(`.${O.containerClass}`);if(T&&(T=T.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),o.imageEl=T,T?o.imageWrapEl=te(o.imageEl,`.${O.containerClass}`)[0]:o.imageWrapEl=void 0,!o.imageWrapEl){o.imageEl=void 0;return}o.maxRatio=E()}if(o.imageEl){const[T,N]=u();o.originX=T,o.originY=N,o.imageEl.style.transitionDuration="0ms"}d=!0}}function x(v){if(!S(v))return;const O=e.params.zoom,T=e.zoom,N=c.findIndex(_=>_.pointerId===v.pointerId);N>=0&&(c[N]=v),!(c.length<2)&&(p=!0,o.scaleMove=C(),o.imageEl&&(T.scale=o.scaleMove/o.scaleStart*l,T.scale>o.maxRatio&&(T.scale=o.maxRatio-1+(T.scale-o.maxRatio+1)**.5),T.scale<O.minRatio&&(T.scale=O.minRatio+1-(O.minRatio-T.scale+1)**.5),o.imageEl.style.transform=`translate3d(0,0,0) scale(${T.scale})`))}function $(v){if(!S(v)||v.pointerType==="mouse"&&v.type==="pointerout")return;const O=e.params.zoom,T=e.zoom,N=c.findIndex(_=>_.pointerId===v.pointerId);N>=0&&c.splice(N,1),!(!f||!p)&&(f=!1,p=!1,o.imageEl&&(T.scale=Math.max(Math.min(T.scale,o.maxRatio),O.minRatio),o.imageEl.style.transitionDuration=`${e.params.speed}ms`,o.imageEl.style.transform=`translate3d(0,0,0) scale(${T.scale})`,l=T.scale,d=!1,T.scale>1&&o.slideEl?o.slideEl.classList.add(`${O.zoomedSlideClass}`):T.scale<=1&&o.slideEl&&o.slideEl.classList.remove(`${O.zoomedSlideClass}`),T.scale===1&&(o.originX=0,o.originY=0,o.slideEl=void 0)))}function k(v){const O=e.device;if(!o.imageEl||a.isTouched)return;O.android&&v.cancelable&&v.preventDefault(),a.isTouched=!0;const T=c.length>0?c[0]:v;a.touchesStart.x=T.pageX,a.touchesStart.y=T.pageY}function B(v){if(!S(v)||!w(v))return;const O=e.zoom;if(!o.imageEl||!a.isTouched||!o.slideEl)return;a.isMoved||(a.width=o.imageEl.offsetWidth,a.height=o.imageEl.offsetHeight,a.startX=it(o.imageWrapEl,"x")||0,a.startY=it(o.imageWrapEl,"y")||0,o.slideWidth=o.slideEl.offsetWidth,o.slideHeight=o.slideEl.offsetHeight,o.imageWrapEl.style.transitionDuration="0ms");const T=a.width*O.scale,N=a.height*O.scale;if(T<o.slideWidth&&N<o.slideHeight)return;if(a.minX=Math.min(o.slideWidth/2-T/2,0),a.maxX=-a.minX,a.minY=Math.min(o.slideHeight/2-N/2,0),a.maxY=-a.minY,a.touchesCurrent.x=c.length>0?c[0].pageX:v.pageX,a.touchesCurrent.y=c.length>0?c[0].pageY:v.pageY,Math.max(Math.abs(a.touchesCurrent.x-a.touchesStart.x),Math.abs(a.touchesCurrent.y-a.touchesStart.y))>5&&(e.allowClick=!1),!a.isMoved&&!d){if(e.isHorizontal()&&(Math.floor(a.minX)===Math.floor(a.startX)&&a.touchesCurrent.x<a.touchesStart.x||Math.floor(a.maxX)===Math.floor(a.startX)&&a.touchesCurrent.x>a.touchesStart.x)){a.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.y<a.touchesStart.y||Math.floor(a.maxY)===Math.floor(a.startY)&&a.touchesCurrent.y>a.touchesStart.y)){a.isTouched=!1;return}}v.cancelable&&v.preventDefault(),v.stopPropagation(),a.isMoved=!0;const K=(O.scale-l)/(o.maxRatio-e.params.zoom.minRatio),{originX:J,originY:ie}=o;a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX+K*(a.width-J*2),a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY+K*(a.height-ie*2),a.currentX<a.minX&&(a.currentX=a.minX+1-(a.minX-a.currentX+1)**.8),a.currentX>a.maxX&&(a.currentX=a.maxX-1+(a.currentX-a.maxX+1)**.8),a.currentY<a.minY&&(a.currentY=a.minY+1-(a.minY-a.currentY+1)**.8),a.currentY>a.maxY&&(a.currentY=a.maxY-1+(a.currentY-a.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=a.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=a.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(a.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(a.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(a.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(a.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=a.touchesCurrent.x,m.prevPositionY=a.touchesCurrent.y,m.prevTime=Date.now(),o.imageWrapEl.style.transform=`translate3d(${a.currentX}px, ${a.currentY}px,0)`}function D(){const v=e.zoom;if(!o.imageEl)return;if(!a.isTouched||!a.isMoved){a.isTouched=!1,a.isMoved=!1;return}a.isTouched=!1,a.isMoved=!1;let O=300,T=300;const N=m.x*O,_=a.currentX+N,K=m.y*T,J=a.currentY+K;m.x!==0&&(O=Math.abs((_-a.currentX)/m.x)),m.y!==0&&(T=Math.abs((J-a.currentY)/m.y));const ie=Math.max(O,T);a.currentX=_,a.currentY=J;const Ae=a.width*v.scale,q=a.height*v.scale;a.minX=Math.min(o.slideWidth/2-Ae/2,0),a.maxX=-a.minX,a.minY=Math.min(o.slideHeight/2-q/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),o.imageWrapEl.style.transitionDuration=`${ie}ms`,o.imageWrapEl.style.transform=`translate3d(${a.currentX}px, ${a.currentY}px,0)`}function M(){const v=e.zoom;o.slideEl&&e.activeIndex!==e.slides.indexOf(o.slideEl)&&(o.imageEl&&(o.imageEl.style.transform="translate3d(0,0,0) scale(1)"),o.imageWrapEl&&(o.imageWrapEl.style.transform="translate3d(0,0,0)"),o.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),v.scale=1,l=1,o.slideEl=void 0,o.imageEl=void 0,o.imageWrapEl=void 0,o.originX=0,o.originY=0)}function R(v){const O=e.zoom,T=e.params.zoom;if(!o.slideEl){v&&v.target&&(o.slideEl=v.target.closest(`.${e.params.slideClass}, swiper-slide`)),o.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?o.slideEl=fe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:o.slideEl=e.slides[e.activeIndex]);let pe=o.slideEl.querySelector(`.${T.containerClass}`);pe&&(pe=pe.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),o.imageEl=pe,pe?o.imageWrapEl=te(o.imageEl,`.${T.containerClass}`)[0]:o.imageWrapEl=void 0}if(!o.imageEl||!o.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),o.slideEl.classList.add(`${T.zoomedSlideClass}`);let N,_,K,J,ie,Ae,q,Z,It,jt,Ft,_t,Me,Re,Ke,Je,Ze,Qe;typeof a.touchesStart.x>"u"&&v?(N=v.pageX,_=v.pageY):(N=a.touchesStart.x,_=a.touchesStart.y);const de=typeof v=="number"?v:null;l===1&&de&&(N=void 0,_=void 0);const Ut=E();O.scale=de||Ut,l=de||Ut,v&&!(l===1&&de)?(Ze=o.slideEl.offsetWidth,Qe=o.slideEl.offsetHeight,K=ze(o.slideEl).left+s.scrollX,J=ze(o.slideEl).top+s.scrollY,ie=K+Ze/2-N,Ae=J+Qe/2-_,It=o.imageEl.offsetWidth,jt=o.imageEl.offsetHeight,Ft=It*O.scale,_t=jt*O.scale,Me=Math.min(Ze/2-Ft/2,0),Re=Math.min(Qe/2-_t/2,0),Ke=-Me,Je=-Re,q=ie*O.scale,Z=Ae*O.scale,q<Me&&(q=Me),q>Ke&&(q=Ke),Z<Re&&(Z=Re),Z>Je&&(Z=Je)):(q=0,Z=0),de&&O.scale===1&&(o.originX=0,o.originY=0),o.imageWrapEl.style.transitionDuration="300ms",o.imageWrapEl.style.transform=`translate3d(${q}px, ${Z}px,0)`,o.imageEl.style.transitionDuration="300ms",o.imageEl.style.transform=`translate3d(0,0,0) scale(${O.scale})`}function P(){const v=e.zoom,O=e.params.zoom;if(!o.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?o.slideEl=fe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:o.slideEl=e.slides[e.activeIndex];let T=o.slideEl.querySelector(`.${O.containerClass}`);T&&(T=T.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),o.imageEl=T,T?o.imageWrapEl=te(o.imageEl,`.${O.containerClass}`)[0]:o.imageWrapEl=void 0}!o.imageEl||!o.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),v.scale=1,l=1,o.imageWrapEl.style.transitionDuration="300ms",o.imageWrapEl.style.transform="translate3d(0,0,0)",o.imageEl.style.transitionDuration="300ms",o.imageEl.style.transform="translate3d(0,0,0) scale(1)",o.slideEl.classList.remove(`${O.zoomedSlideClass}`),o.slideEl=void 0,o.originX=0,o.originY=0)}function A(v){const O=e.zoom;O.scale&&O.scale!==1?P():R(v)}function U(){const v=e.params.passiveListeners?{passive:!0,capture:!1}:!1,O=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:v,activeListenerWithCapture:O}}function Le(){const v=e.zoom;if(v.enabled)return;v.enabled=!0;const{passiveListener:O,activeListenerWithCapture:T}=U();e.wrapperEl.addEventListener("pointerdown",L,O),e.wrapperEl.addEventListener("pointermove",x,T),["pointerup","pointercancel","pointerout"].forEach(N=>{e.wrapperEl.addEventListener(N,$,O)}),e.wrapperEl.addEventListener("pointermove",B,T)}function Pe(){const v=e.zoom;if(!v.enabled)return;v.enabled=!1;const{passiveListener:O,activeListenerWithCapture:T}=U();e.wrapperEl.removeEventListener("pointerdown",L,O),e.wrapperEl.removeEventListener("pointermove",x,T),["pointerup","pointercancel","pointerout"].forEach(N=>{e.wrapperEl.removeEventListener(N,$,O)}),e.wrapperEl.removeEventListener("pointermove",B,T)}n("init",()=>{e.params.zoom.enabled&&Le()}),n("destroy",()=>{Pe()}),n("touchStart",(v,O)=>{e.zoom.enabled&&k(O)}),n("touchEnd",(v,O)=>{e.zoom.enabled&&D()}),n("doubleTap",(v,O)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&A(O)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&M()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&M()}),Object.assign(e.zoom,{enable:Le,disable:Pe,in:R,out:P,toggle:A})}function dn(t){let{swiper:e,extendParams:r,on:n}=t;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(p,c){const o=function(){let C,E,u;return(g,S)=>{for(E=-1,C=g.length;C-E>1;)u=C+E>>1,g[u]<=S?E=u:C=u;return C}}();this.x=p,this.y=c,this.lastIndex=p.length-1;let a,m;return this.interpolate=function(C){return C?(m=o(this.x,C),a=m-1,(C-this.x[a])*(this.y[m]-this.y[a])/(this.x[m]-this.x[a])+this.y[a]):0},this}function s(p){e.controller.spline=e.params.loop?new i(e.slidesGrid,p.slidesGrid):new i(e.snapGrid,p.snapGrid)}function l(p,c){const o=e.controller.control;let a,m;const h=e.constructor;function C(E){if(E.destroyed)return;const u=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(E),m=-e.controller.spline.interpolate(-u)),(!m||e.params.controller.by==="container")&&(a=(E.maxTranslate()-E.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(a)||!Number.isFinite(a))&&(a=1),m=(u-e.minTranslate())*a+E.minTranslate()),e.params.controller.inverse&&(m=E.maxTranslate()-m),E.updateProgress(m),E.setTranslate(m,e),E.updateActiveIndex(),E.updateSlidesClasses()}if(Array.isArray(o))for(let E=0;E<o.length;E+=1)o[E]!==c&&o[E]instanceof h&&C(o[E]);else o instanceof h&&c!==o&&C(o)}function d(p,c){const o=e.constructor,a=e.controller.control;let m;function h(C){C.destroyed||(C.setTransition(p,e),p!==0&&(C.transitionStart(),C.params.autoHeight&&nn(()=>{C.updateAutoHeight()}),me(C.wrapperEl,()=>{a&&C.transitionEnd()})))}if(Array.isArray(a))for(m=0;m<a.length;m+=1)a[m]!==c&&a[m]instanceof o&&h(a[m]);else a instanceof o&&c!==a&&h(a)}function f(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}n("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const p=document.querySelector(e.params.controller.control);if(p&&p.swiper)e.controller.control=p.swiper;else if(p){const c=o=>{e.controller.control=o.detail[0],e.update(),p.removeEventListener("init",c)};p.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),n("update",()=>{f()}),n("resize",()=>{f()}),n("observerUpdate",()=>{f()}),n("setTranslate",(p,c,o)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,o)}),n("setTransition",(p,c,o)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,o)}),Object.assign(e.controller,{setTranslate:l,setTransition:d})}function pn(t){let{swiper:e,extendParams:r,on:n,emit:i,params:s}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,d,f=s&&s.autoplay?s.autoplay.delay:3e3,p=s&&s.autoplay?s.autoplay.delay:3e3,c,o=new Date().getTime(),a,m,h,C,E,u,g;function S(v){!e||e.destroyed||!e.wrapperEl||v.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",S),!g&&D())}const w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?a=!0:a&&(p=c,a=!1);const v=e.autoplay.paused?c:o+p-new Date().getTime();e.autoplay.timeLeft=v,i("autoplayTimeLeft",v,v/f),d=requestAnimationFrame(()=>{w()})},L=()=>{let v;return e.virtual&&e.params.virtual.enabled?v=e.slides.filter(T=>T.classList.contains("swiper-slide-active"))[0]:v=e.slides[e.activeIndex],v?parseInt(v.getAttribute("data-swiper-autoplay"),10):void 0},x=v=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),w();let O=typeof v>"u"?e.params.autoplay.delay:v;f=e.params.autoplay.delay,p=e.params.autoplay.delay;const T=L();!Number.isNaN(T)&&T>0&&typeof v>"u"&&(O=T,f=T,p=T),c=O;const N=e.params.speed,_=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(N,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,N,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(N,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,N,!0,!0),i("autoplay")),e.params.cssMode&&(o=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return O>0?(clearTimeout(l),l=setTimeout(()=>{_()},O)):requestAnimationFrame(()=>{_()}),O},$=()=>{o=new Date().getTime(),e.autoplay.running=!0,x(),i("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(d),i("autoplayStop")},B=(v,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),v||(u=!0);const T=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",S):D()};if(e.autoplay.paused=!0,O){E&&(c=e.params.autoplay.delay),E=!1,T();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-o),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),T())},D=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(o=new Date().getTime(),u?(u=!1,x(c)):x(),e.autoplay.paused=!1,i("autoplayResume"))},M=()=>{if(e.destroyed||!e.autoplay.running)return;const v=Q();v.visibilityState==="hidden"&&(u=!0,B(!0)),v.visibilityState==="visible"&&D()},R=v=>{v.pointerType==="mouse"&&(u=!0,g=!0,!(e.animating||e.autoplay.paused)&&B(!0))},P=v=>{v.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&D())},A=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",R),e.el.addEventListener("pointerleave",P))},U=()=>{e.el.removeEventListener("pointerenter",R),e.el.removeEventListener("pointerleave",P)},Le=()=>{Q().addEventListener("visibilitychange",M)},Pe=()=>{Q().removeEventListener("visibilitychange",M)};n("init",()=>{e.params.autoplay.enabled&&(A(),Le(),$())}),n("destroy",()=>{U(),Pe(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(h||u)&&D()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():B(!0,!0)}),n("beforeTransitionStart",(v,O,T)=>{e.destroyed||!e.autoplay.running||(T||!e.params.autoplay.disableOnInteraction?B(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}m=!0,h=!1,u=!1,C=setTimeout(()=>{u=!0,h=!0,B(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(C),clearTimeout(l),e.params.autoplay.disableOnInteraction){h=!1,m=!1;return}h&&e.params.cssMode&&D(),h=!1,m=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(E=!0)}),Object.assign(e.autoplay,{start:$,stop:k,pause:B,resume:D})}function fn(t){let{swiper:e,extendParams:r,on:n}=t;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,s=!1;e.thumbs={swiper:null};function l(){const p=e.thumbs.swiper;if(!p||p.destroyed)return;const c=p.clickedIndex,o=p.clickedSlide;if(o&&o.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let a;p.params.loop?a=parseInt(p.clickedSlide.getAttribute("data-swiper-slide-index"),10):a=c,e.params.loop?e.slideToLoop(a):e.slideTo(a)}function d(){const{thumbs:p}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(p.swiper instanceof c)e.thumbs.swiper=p.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(sn(p.swiper)){const o=Object.assign({},p.swiper);Object.assign(o,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(o),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",l),!0}function f(p){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const o=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let a=1;const m=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(a=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),c.slides.forEach(E=>E.classList.remove(m)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let E=0;E<a;E+=1)fe(c.slidesEl,`[data-swiper-slide-index="${e.realIndex+E}"]`).forEach(u=>{u.classList.add(m)});else for(let E=0;E<a;E+=1)c.slides[e.realIndex+E]&&c.slides[e.realIndex+E].classList.add(m);const h=e.params.thumbs.autoScrollOffset,C=h&&!c.params.loop;if(e.realIndex!==c.realIndex||C){const E=c.activeIndex;let u,g;if(c.params.loop){const S=c.slides.filter(w=>w.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];u=c.slides.indexOf(S),g=e.activeIndex>e.previousIndex?"next":"prev"}else u=e.realIndex,g=u>e.previousIndex?"next":"prev";C&&(u+=g==="next"?h:-1*h),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(u)<0&&(c.params.centeredSlides?u>E?u=u-Math.floor(o/2)+1:u=u+Math.floor(o/2)-1:u>E&&c.params.slidesPerGroup,c.slideTo(u,p?0:void 0))}}n("beforeInit",()=>{const{thumbs:p}=e.params;if(!(!p||!p.swiper))if(typeof p.swiper=="string"||p.swiper instanceof HTMLElement){const c=Q(),o=()=>{const m=typeof p.swiper=="string"?c.querySelector(p.swiper):p.swiper;if(m&&m.swiper)p.swiper=m.swiper,d(),f(!0);else if(m){const h=C=>{p.swiper=C.detail[0],m.removeEventListener("init",h),d(),f(!0),p.swiper.update(),e.update()};m.addEventListener("init",h)}return m},a=()=>{if(e.destroyed)return;o()||requestAnimationFrame(a)};requestAnimationFrame(a)}else d(),f(!0)}),n("slideChange update resize observerUpdate",()=>{f()}),n("setTransition",(p,c)=>{const o=e.thumbs.swiper;!o||o.destroyed||o.setTransition(c)}),n("beforeDestroy",()=>{const p=e.thumbs.swiper;!p||p.destroyed||s&&p.destroy()}),Object.assign(e.thumbs,{init:d,update:f})}function mn(t){let{swiper:e,extendParams:r,emit:n,once:i}=t;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function s(){if(e.params.cssMode)return;const f=e.getTranslate();e.setTranslate(f),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function l(){if(e.params.cssMode)return;const{touchEventsData:f,touches:p}=e;f.velocities.length===0&&f.velocities.push({position:p[e.isHorizontal()?"startX":"startY"],time:f.touchStartTime}),f.velocities.push({position:p[e.isHorizontal()?"currentX":"currentY"],time:$e()})}function d(f){let{currentPos:p}=f;if(e.params.cssMode)return;const{params:c,wrapperEl:o,rtlTranslate:a,snapGrid:m,touchEventsData:h}=e,E=$e()-h.touchStartTime;if(p<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(p>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(h.velocities.length>1){const k=h.velocities.pop(),B=h.velocities.pop(),D=k.position-B.position,M=k.time-B.time;e.velocity=D/M,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(M>150||$e()-k.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,h.velocities.length=0;let u=1e3*c.freeMode.momentumRatio;const g=e.velocity*u;let S=e.translate+g;a&&(S=-S);let w=!1,L;const x=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let $;if(S<e.maxTranslate())c.freeMode.momentumBounce?(S+e.maxTranslate()<-x&&(S=e.maxTranslate()-x),L=e.maxTranslate(),w=!0,h.allowMomentumBounce=!0):S=e.maxTranslate(),c.loop&&c.centeredSlides&&($=!0);else if(S>e.minTranslate())c.freeMode.momentumBounce?(S-e.minTranslate()>x&&(S=e.minTranslate()+x),L=e.minTranslate(),w=!0,h.allowMomentumBounce=!0):S=e.minTranslate(),c.loop&&c.centeredSlides&&($=!0);else if(c.freeMode.sticky){let k;for(let B=0;B<m.length;B+=1)if(m[B]>-S){k=B;break}Math.abs(m[k]-S)<Math.abs(m[k-1]-S)||e.swipeDirection==="next"?S=m[k]:S=m[k-1],S=-S}if($&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(a?u=Math.abs((-S-e.translate)/e.velocity):u=Math.abs((S-e.translate)/e.velocity),c.freeMode.sticky){const k=Math.abs((a?-S:S)-e.translate),B=e.slidesSizesGrid[e.activeIndex];k<B?u=c.speed:k<2*B?u=c.speed*1.5:u=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&w?(e.updateProgress(L),e.setTransition(u),e.setTranslate(S),e.transitionStart(!0,e.swipeDirection),e.animating=!0,me(o,()=>{!e||e.destroyed||!h.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(L),me(o,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(S),e.setTransition(u),e.setTranslate(S),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,me(o,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(S),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||E>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:l,onTouchEnd:d}})}const oe=Object.freeze(Object.defineProperty({__proto__:null,Autoplay:pn,Controller:dn,FreeMode:mn,Keyboard:ln,Navigation:cn,Pagination:un,Thumbs:fn,Zoom:at},Symbol.toStringTag,{value:"Module"}));function lt(t,e){return function(){return t.apply(e,arguments)}}const{toString:hn}=Object.prototype,{getPrototypeOf:De}=Object,he=(t=>e=>{const r=hn.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),W=t=>(t=t.toLowerCase(),e=>he(e)===t),ge=t=>e=>typeof e===t,{isArray:ne}=Array,ae=ge("undefined");function gn(t){return t!==null&&!ae(t)&&t.constructor!==null&&!ae(t.constructor)&&X(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ct=W("ArrayBuffer");function yn(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ct(t.buffer),e}const bn=ge("string"),X=ge("function"),ut=ge("number"),ye=t=>t!==null&&typeof t=="object",wn=t=>t===!0||t===!1,be=t=>{if(he(t)!=="object")return!1;const e=De(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},vn=W("Date"),En=W("File"),Sn=W("Blob"),Cn=W("FileList"),Tn=t=>ye(t)&&X(t.pipe),On=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||X(t.append)&&((e=he(t))==="formdata"||e==="object"&&X(t.toString)&&t.toString()==="[object FormData]"))},xn=W("URLSearchParams"),kn=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function le(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),ne(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{const s=r?Object.getOwnPropertyNames(t):Object.keys(t),l=s.length;let d;for(n=0;n<l;n++)d=s[n],e.call(null,t[d],d,t)}}function dt(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,i;for(;n-- >0;)if(i=r[n],e===i.toLowerCase())return i;return null}const pt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ft=t=>!ae(t)&&t!==pt;function Ne(){const{caseless:t}=ft(this)&&this||{},e={},r=(n,i)=>{const s=t&&dt(e,i)||i;be(e[s])&&be(n)?e[s]=Ne(e[s],n):be(n)?e[s]=Ne({},n):ne(n)?e[s]=n.slice():e[s]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&le(arguments[n],r);return e}const Ln=(t,e,r,{allOwnKeys:n}={})=>(le(e,(i,s)=>{r&&X(i)?t[s]=lt(i,r):t[s]=i},{allOwnKeys:n}),t),Pn=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),An=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Mn=(t,e,r,n)=>{let i,s,l;const d={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)l=i[s],(!n||n(l,t,e))&&!d[l]&&(e[l]=t[l],d[l]=!0);t=r!==!1&&De(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Rn=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Bn=t=>{if(!t)return null;if(ne(t))return t;let e=t.length;if(!ut(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},$n=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&De(Uint8Array)),zn=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const i=n.value;e.call(t,i[0],i[1])}},Dn=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Nn=W("HTMLFormElement"),In=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,r,n){return r.toUpperCase()+n}),mt=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),jn=W("RegExp"),ht=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};le(r,(i,s)=>{e(i,s,t)!==!1&&(n[s]=i)}),Object.defineProperties(t,n)},Fn=t=>{ht(t,(e,r)=>{if(X(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(X(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},_n=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return ne(t)?n(t):n(String(t).split(e)),r},Un=()=>{},Xn=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ie="abcdefghijklmnopqrstuvwxyz",gt="0123456789",yt={DIGIT:gt,ALPHA:Ie,ALPHA_DIGIT:Ie+Ie.toUpperCase()+gt},Yn=(t=16,e=yt.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function Wn(t){return!!(t&&X(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Hn=t=>{const e=new Array(10),r=(n,i)=>{if(ye(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[i]=n;const s=ne(n)?[]:{};return le(n,(l,d)=>{const f=r(l,i+1);!ae(f)&&(s[d]=f)}),e[i]=void 0,s}}return n};return r(t,0)},Vn=W("AsyncFunction"),qn=t=>t&&(ye(t)||X(t))&&X(t.then)&&X(t.catch),y={isArray:ne,isArrayBuffer:ct,isBuffer:gn,isFormData:On,isArrayBufferView:yn,isString:bn,isNumber:ut,isBoolean:wn,isObject:ye,isPlainObject:be,isUndefined:ae,isDate:vn,isFile:En,isBlob:Sn,isRegExp:jn,isFunction:X,isStream:Tn,isURLSearchParams:xn,isTypedArray:$n,isFileList:Cn,forEach:le,merge:Ne,extend:Ln,trim:kn,stripBOM:Pn,inherits:An,toFlatObject:Mn,kindOf:he,kindOfTest:W,endsWith:Rn,toArray:Bn,forEachEntry:zn,matchAll:Dn,isHTMLForm:Nn,hasOwnProperty:mt,hasOwnProp:mt,reduceDescriptors:ht,freezeMethods:Fn,toObjectSet:_n,toCamelCase:In,noop:Un,toFiniteNumber:Xn,findKey:dt,global:pt,isContextDefined:ft,ALPHABET:yt,generateString:Yn,isSpecCompliantForm:Wn,toJSONObject:Hn,isAsyncFn:Vn,isThenable:qn};function z(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}y.inherits(z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const bt=z.prototype,wt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{wt[t]={value:t}}),Object.defineProperties(z,wt),Object.defineProperty(bt,"isAxiosError",{value:!0}),z.from=(t,e,r,n,i,s)=>{const l=Object.create(bt);return y.toFlatObject(t,l,function(d){return d!==Error.prototype},d=>d!=="isAxiosError"),z.call(l,t.message,e,r,n,i),l.cause=t,l.name=t.name,s&&Object.assign(l,s),l};const Gn=null;function je(t){return y.isPlainObject(t)||y.isArray(t)}function vt(t){return y.endsWith(t,"[]")?t.slice(0,-2):t}function Et(t,e,r){return t?t.concat(e).map(function(n,i){return n=vt(n),!r&&i?"["+n+"]":n}).join(r?".":""):e}function Kn(t){return y.isArray(t)&&!t.some(je)}const Jn=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function we(t,e,r){if(!y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,h){return!y.isUndefined(h[m])});const n=r.metaTokens,i=r.visitor||p,s=r.dots,l=r.indexes,d=(r.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(e);if(!y.isFunction(i))throw new TypeError("visitor must be a function");function f(m){if(m===null)return"";if(y.isDate(m))return m.toISOString();if(!d&&y.isBlob(m))throw new z("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(m)||y.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function p(m,h,C){let E=m;if(m&&!C&&typeof m=="object"){if(y.endsWith(h,"{}"))h=n?h:h.slice(0,-2),m=JSON.stringify(m);else if(y.isArray(m)&&Kn(m)||(y.isFileList(m)||y.endsWith(h,"[]"))&&(E=y.toArray(m)))return h=vt(h),E.forEach(function(u,g){!(y.isUndefined(u)||u===null)&&e.append(l===!0?Et([h],g,s):l===null?h:h+"[]",f(u))}),!1}return je(m)?!0:(e.append(Et(C,h,s),f(m)),!1)}const c=[],o=Object.assign(Jn,{defaultVisitor:p,convertValue:f,isVisitable:je});function a(m,h){if(!y.isUndefined(m)){if(c.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(m),y.forEach(m,function(C,E){(!(y.isUndefined(C)||C===null)&&i.call(e,C,y.isString(E)?E.trim():E,h,o))===!0&&a(C,h?h.concat(E):[E])}),c.pop()}}if(!y.isObject(t))throw new TypeError("data must be an object");return a(t),e}function St(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Fe(t,e){this._pairs=[],t&&we(t,this,e)}const Ct=Fe.prototype;Ct.append=function(t,e){this._pairs.push([t,e])},Ct.toString=function(t){const e=t?function(r){return t.call(this,r,St)}:St;return this._pairs.map(function(r){return e(r[0])+"="+e(r[1])},"").join("&")};function Zn(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tt(t,e,r){if(!e)return t;const n=r&&r.encode||Zn,i=r&&r.serialize;let s;if(i?s=i(e,r):s=y.isURLSearchParams(e)?e.toString():new Fe(e,r).toString(n),s){const l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Qn{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){y.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Ot=Qn,xt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},er=typeof URLSearchParams<"u"?URLSearchParams:Fe,tr=typeof FormData<"u"?FormData:null,nr=typeof Blob<"u"?Blob:null,rr=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ir=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",H={isBrowser:!0,classes:{URLSearchParams:er,FormData:tr,Blob:nr},isStandardBrowserEnv:rr,isStandardBrowserWebWorkerEnv:ir,protocols:["http","https","file","blob","url","data"]};function sr(t,e){return we(t,new H.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return H.isNode&&y.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function or(t){return y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ar(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],e[s]=t[s];return e}function kt(t){function e(r,n,i,s){let l=r[s++];const d=Number.isFinite(+l),f=s>=r.length;return l=!l&&y.isArray(i)?i.length:l,f?(y.hasOwnProp(i,l)?i[l]=[i[l],n]:i[l]=n,!d):((!i[l]||!y.isObject(i[l]))&&(i[l]=[]),e(r,n,i[l],s)&&y.isArray(i[l])&&(i[l]=ar(i[l])),!d)}if(y.isFormData(t)&&y.isFunction(t.entries)){const r={};return y.forEachEntry(t,(n,i)=>{e(or(n),i,r,0)}),r}return null}const lr={"Content-Type":void 0};function cr(t,e,r){if(y.isString(t))try{return(e||JSON.parse)(t),y.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const ve={transitional:xt,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,i=y.isObject(t);if(i&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return n&&n?JSON.stringify(kt(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return sr(t,this.formSerializer).toString();if((s=y.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return we(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||n?(e.setContentType("application/json",!1),cr(t)):t}],transformResponse:[function(t){const e=this.transitional||ve.transitional,r=e&&e.forcedJSONParsing,n=this.responseType==="json";if(t&&y.isString(t)&&(r&&!this.responseType||n)){const i=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?z.from(s,z.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};y.forEach(["delete","get","head"],function(t){ve.headers[t]={}}),y.forEach(["post","put","patch"],function(t){ve.headers[t]=y.merge(lr)});const _e=ve,ur=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),dr=t=>{const e={};let r,n,i;return t&&t.split(`
|
|
2
|
+
`).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||e[r]&&ur[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},Lt=Symbol("internals");function ce(t){return t&&String(t).trim().toLowerCase()}function Ee(t){return t===!1||t==null?t:y.isArray(t)?t.map(Ee):String(t)}function pr(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const fr=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ue(t,e,r,n,i){if(y.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!y.isString(e)){if(y.isString(n))return e.indexOf(n)!==-1;if(y.isRegExp(n))return n.test(e)}}function mr(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function hr(t,e){const r=y.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,l){return this[n].call(this,e,i,s,l)},configurable:!0})})}class Se{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(d,f,p){const c=ce(f);if(!c)throw new Error("header name must be a non-empty string");const o=y.findKey(i,c);(!o||i[o]===void 0||p===!0||p===void 0&&i[o]!==!1)&&(i[o||f]=Ee(d))}const l=(d,f)=>y.forEach(d,(p,c)=>s(p,c,f));return y.isPlainObject(e)||e instanceof this.constructor?l(e,r):y.isString(e)&&(e=e.trim())&&!fr(e)?l(dr(e),r):e!=null&&s(r,e,n),this}get(e,r){if(e=ce(e),e){const n=y.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return pr(i);if(y.isFunction(r))return r.call(this,i,n);if(y.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=ce(e),e){const n=y.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Ue(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(l){if(l=ce(l),l){const d=y.findKey(n,l);d&&(!r||Ue(n,n[d],d,r))&&(delete n[d],i=!0)}}return y.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Ue(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return y.forEach(this,(i,s)=>{const l=y.findKey(n,s);if(l){r[l]=Ee(i),delete r[s];return}const d=e?mr(s):String(s).trim();d!==s&&delete r[s],r[d]=Ee(i),n[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return y.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&y.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
|
|
3
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const r=(this[Lt]=this[Lt]={accessors:{}}).accessors,n=this.prototype;function i(s){const l=ce(s);r[l]||(hr(n,s),r[l]=!0)}return y.isArray(e)?e.forEach(i):i(e),this}}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.freezeMethods(Se.prototype),y.freezeMethods(Se);const V=Se;function Xe(t,e){const r=this||_e,n=e||r,i=V.from(n.headers);let s=n.data;return y.forEach(t,function(l){s=l.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function Pt(t){return!!(t&&t.__CANCEL__)}function ue(t,e,r){z.call(this,t??"canceled",z.ERR_CANCELED,e,r),this.name="CanceledError"}y.inherits(ue,z,{__CANCEL__:!0});function gr(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new z("Request failed with status code "+r.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const yr=H.isStandardBrowserEnv?function(){return{write:function(t,e,r,n,i,s){const l=[];l.push(t+"="+encodeURIComponent(e)),y.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),y.isString(n)&&l.push("path="+n),y.isString(i)&&l.push("domain="+i),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function br(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function wr(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function At(t,e){return t&&!br(e)?wr(t,e):e}const vr=H.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(i){let s=i;return t&&(e.setAttribute("href",s),s=e.href),e.setAttribute("href",s),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(i){const s=y.isString(i)?n(i):i;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function Er(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Sr(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,l;return e=e!==void 0?e:1e3,function(d){const f=Date.now(),p=n[s];l||(l=f),r[i]=d,n[i]=f;let c=s,o=0;for(;c!==i;)o+=r[c++],c=c%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),f-l<e)return;const a=p&&f-p;return a?Math.round(o*1e3/a):void 0}}function Mt(t,e){let r=0;const n=Sr(50,250);return i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,d=s-r,f=n(d),p=s<=l;r=s;const c={loaded:s,total:l,progress:l?s/l:void 0,bytes:d,rate:f||void 0,estimated:f&&l&&p?(l-s)/f:void 0,event:i};c[e?"download":"upload"]=!0,t(c)}}const Cr=typeof XMLHttpRequest<"u",Tr=Cr&&function(t){return new Promise(function(e,r){let n=t.data;const i=V.from(t.headers).normalize(),s=t.responseType;let l;function d(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}y.isFormData(n)&&(H.isStandardBrowserEnv||H.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let f=new XMLHttpRequest;if(t.auth){const a=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(a+":"+m))}const p=At(t.baseURL,t.url);f.open(t.method.toUpperCase(),Tt(p,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function c(){if(!f)return;const a=V.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:a,config:t,request:f};gr(function(h){e(h),d()},function(h){r(h),d()},m),f=null}if("onloadend"in f?f.onloadend=c:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(c)},f.onabort=function(){f&&(r(new z("Request aborted",z.ECONNABORTED,t,f)),f=null)},f.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let a=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||xt;t.timeoutErrorMessage&&(a=t.timeoutErrorMessage),r(new z(a,m.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,t,f)),f=null},H.isStandardBrowserEnv){const a=(t.withCredentials||vr(p))&&t.xsrfCookieName&&yr.read(t.xsrfCookieName);a&&i.set(t.xsrfHeaderName,a)}n===void 0&&i.setContentType(null),"setRequestHeader"in f&&y.forEach(i.toJSON(),function(a,m){f.setRequestHeader(m,a)}),y.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),s&&s!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",Mt(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Mt(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=a=>{f&&(r(!a||a.type?new ue(null,t,f):a),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const o=Er(p);if(o&&H.protocols.indexOf(o)===-1){r(new z("Unsupported protocol "+o+":",z.ERR_BAD_REQUEST,t));return}f.send(n||null)})},Ce={http:Gn,xhr:Tr};y.forEach(Ce,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Or={getAdapter:t=>{t=y.isArray(t)?t:[t];const{length:e}=t;let r,n;for(let i=0;i<e&&(r=t[i],!(n=y.isString(r)?Ce[r.toLowerCase()]:r));i++);if(!n)throw n===!1?new z(`Adapter ${r} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(y.hasOwnProp(Ce,r)?`Adapter '${r}' is not available in the build`:`Unknown adapter '${r}'`);if(!y.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:Ce};function Ye(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ue(null,t)}function Rt(t){return Ye(t),t.headers=V.from(t.headers),t.data=Xe.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Or.getAdapter(t.adapter||_e.adapter)(t).then(function(e){return Ye(t),e.data=Xe.call(t,t.transformResponse,e),e.headers=V.from(e.headers),e},function(e){return Pt(e)||(Ye(t),e&&e.response&&(e.response.data=Xe.call(t,t.transformResponse,e.response),e.response.headers=V.from(e.response.headers))),Promise.reject(e)})}const Bt=t=>t instanceof V?t.toJSON():t;function re(t,e){e=e||{};const r={};function n(p,c,o){return y.isPlainObject(p)&&y.isPlainObject(c)?y.merge.call({caseless:o},p,c):y.isPlainObject(c)?y.merge({},c):y.isArray(c)?c.slice():c}function i(p,c,o){if(y.isUndefined(c)){if(!y.isUndefined(p))return n(void 0,p,o)}else return n(p,c,o)}function s(p,c){if(!y.isUndefined(c))return n(void 0,c)}function l(p,c){if(y.isUndefined(c)){if(!y.isUndefined(p))return n(void 0,p)}else return n(void 0,c)}function d(p,c,o){if(o in e)return n(p,c);if(o in t)return n(void 0,p)}const f={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:d,headers:(p,c)=>i(Bt(p),Bt(c),!0)};return y.forEach(Object.keys(Object.assign({},t,e)),function(p){const c=f[p]||i,o=c(t[p],e[p],p);y.isUndefined(o)&&c!==d||(r[p]=o)}),r}const $t="1.4.0",We={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{We[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const zt={};We.transitional=function(t,e,r){function n(i,s){return"[Axios v"+$t+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new z(n(s," has been removed"+(e?" in "+e:"")),z.ERR_DEPRECATED);return e&&!zt[s]&&(zt[s]=!0,console.warn(n(s," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(i,s,l):!0}};function xr(t,e,r){if(typeof t!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],l=e[s];if(l){const d=t[s],f=d===void 0||l(d,s,t);if(f!==!0)throw new z("option "+s+" must be "+f,z.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new z("Unknown option "+s,z.ERR_BAD_OPTION)}}const He={assertOptions:xr,validators:We},G=He.validators;class Te{constructor(e){this.defaults=e,this.interceptors={request:new Ot,response:new Ot}}request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=re(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&He.assertOptions(n,{silentJSONParsing:G.transitional(G.boolean),forcedJSONParsing:G.transitional(G.boolean),clarifyTimeoutError:G.transitional(G.boolean)},!1),i!=null&&(y.isFunction(i)?r.paramsSerializer={serialize:i}:He.assertOptions(i,{encode:G.function,serialize:G.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l;l=s&&y.merge(s.common,s[r.method]),l&&y.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),r.headers=V.concat(l,s);const d=[];let f=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(f=f&&h.synchronous,d.unshift(h.fulfilled,h.rejected))});const p=[];this.interceptors.response.forEach(function(h){p.push(h.fulfilled,h.rejected)});let c,o=0,a;if(!f){const h=[Rt.bind(this),void 0];for(h.unshift.apply(h,d),h.push.apply(h,p),a=h.length,c=Promise.resolve(r);o<a;)c=c.then(h[o++],h[o++]);return c}a=d.length;let m=r;for(o=0;o<a;){const h=d[o++],C=d[o++];try{m=h(m)}catch(E){C.call(this,E);break}}try{c=Rt.call(this,m)}catch(h){return Promise.reject(h)}for(o=0,a=p.length;o<a;)c=c.then(p[o++],p[o++]);return c}getUri(e){e=re(this.defaults,e);const r=At(e.baseURL,e.url);return Tt(r,e.params,e.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(t){Te.prototype[t]=function(e,r){return this.request(re(r||{},{method:t,url:e,data:(r||{}).data}))}}),y.forEach(["post","put","patch"],function(t){function e(r){return function(n,i,s){return this.request(re(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Te.prototype[t]=e(),Te.prototype[t+"Form"]=e(!0)});const Oe=Te;class Ve{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(i=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const l=new Promise(d=>{n.subscribe(d),s=d}).then(i);return l.cancel=function(){n.unsubscribe(s)},l},e(function(i,s,l){n.reason||(n.reason=new ue(i,s,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new Ve(function(r){e=r}),cancel:e}}}const kr=Ve;function Lr(t){return function(e){return t.apply(null,e)}}function Pr(t){return y.isObject(t)&&t.isAxiosError===!0}const qe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qe).forEach(([t,e])=>{qe[e]=t});const Ar=qe;function Dt(t){const e=new Oe(t),r=lt(Oe.prototype.request,e);return y.extend(r,Oe.prototype,e,{allOwnKeys:!0}),y.extend(r,e,null,{allOwnKeys:!0}),r.create=function(n){return Dt(re(t,n))},r}const j=Dt(_e);j.Axios=Oe,j.CanceledError=ue,j.CancelToken=kr,j.isCancel=Pt,j.VERSION=$t,j.toFormData=we,j.AxiosError=z,j.Cancel=j.CanceledError,j.all=function(t){return Promise.all(t)},j.spread=Lr,j.isAxiosError=Pr,j.mergeConfig=re,j.AxiosHeaders=V,j.formToJSON=t=>kt(y.isHTMLForm(t)?new FormData(t):t),j.HttpStatusCode=Ar,j.default=j;function Mr(t,e){if(t)for(const r in t)e[r]=t[r]}let xe;const Rr=new Uint8Array(16);function Br(){if(!xe&&(xe=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xe))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xe(Rr)}const F=[];for(let t=0;t<256;++t)F.push((t+256).toString(16).slice(1));function $r(t,e=0){return(F[t[e+0]]+F[t[e+1]]+F[t[e+2]]+F[t[e+3]]+"-"+F[t[e+4]]+F[t[e+5]]+"-"+F[t[e+6]]+F[t[e+7]]+"-"+F[t[e+8]]+F[t[e+9]]+"-"+F[t[e+10]]+F[t[e+11]]+F[t[e+12]]+F[t[e+13]]+F[t[e+14]]+F[t[e+15]]).toLowerCase()}const zr=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Nt={randomUUID:zr};function Dr(t,e,r){if(Nt.randomUUID&&!e&&!t)return Nt.randomUUID();t=t||{};const n=t.random||(t.rng||Br)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(let i=0;i<16;++i)e[r+i]=n[i];return e}return $r(n)}Dr();/*! js-cookie v3.0.5 | MIT */function ke(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}var Nr={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Ge(t,e){function r(i,s,l){if(!(typeof document>"u")){l=ke({},e,l),typeof l.expires=="number"&&(l.expires=new Date(Date.now()+l.expires*864e5)),l.expires&&(l.expires=l.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var f in l)l[f]&&(d+="; "+f,l[f]!==!0&&(d+="="+l[f].split(";")[0]));return document.cookie=i+"="+t.write(s,i)+d}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var s=document.cookie?document.cookie.split("; "):[],l={},d=0;d<s.length;d++){var f=s[d].split("="),p=f.slice(1).join("=");try{var c=decodeURIComponent(f[0]);if(l[c]=t.read(p,c),i===c)break}catch{}}return i?l[i]:l}}return Object.create({set:r,get:n,remove:function(i,s){r(i,"",ke({},s,{expires:-1}))},withAttributes:function(i){return Ge(this.converter,ke({},this.attributes,i))},withConverter:function(i){return Ge(ke({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}Ge(Nr,{path:"/"});const Ir=["id"],jr=["id","data-cy"],Fr=["data-idx","loading","alt","width","height","onLoad"],_r=["id"],Ur=["loading","alt"],Xr=b.defineComponent({inheritAttrs:!1,__name:"SwiperCarousel",props:{id:{},swiperOptions:{},thumbSwiperOptions:{},lazyLoadImages:{type:Boolean,default:!0},backgroundImage:{type:Boolean,default:!1},images:{},artDirection:{},shiftFirstImage:{type:Boolean,default:!1}},emits:["moved","click","firstSlideLoaded"],setup(t,{expose:e,emit:r}){const n=t,i=r,s=b.reactive({swiperParams:{modules:[at]},swiper:null,initCarousel:!1}),l=b.ref(),d=b.computed(()=>{var w;return((w=n.swiperOptions)==null?void 0:w.slidesPerView)||1}),f=b.computed(()=>{var w;return((w=n.thumbSwiperOptions)==null?void 0:w.slidesPerView)||1}),p=b.computed(()=>{var w;return!!((w=n.swiperOptions)!=null&&w.keyboard)}),c=b.computed(()=>{const w=n.swiperOptions;return w?!!w.navigation:!1}),o=b.computed(()=>{const w=n.swiperOptions;return w?!!w.pagination:!1}),a=b.computed(()=>{const w=n.swiperOptions;return w?!!w.autoplay:!1}),m=b.computed(()=>{var w;return((w=n.swiperOptions)==null?void 0:w.effect)||"slider"}),h=()=>{n.swiperOptions&&Mr(n.swiperOptions,s.swiperParams)},C=(w,L=-1)=>{if(!w.images)return{src:w.src||""};let x="",$="",k="";if(n.artDirection){for(const M in n.artDirection){const{mq:R,width:P}=n.artDirection[M];P&&(k+=k?`,${R} ${parseInt(P)}px`:`${R} ${parseInt(P)}px`)}$=w.images.reduce((M,R,P)=>{const A=Object.values(n.artDirection)[P];return!A||!A.width||(M+=M?`, ${R.storagePath} ${A.width}`:`${R.storagePath} ${A.width}`),M},""),x=w.images[0].storagePath}else{let M=w.images;w.images.length>3?M=w.images.slice(2,5):n.shiftFirstImage&&(M[0]=M[1]),$=M.reduce((R,P,A)=>(A===0&&(x=`${P.storagePath}`),A>0&&(R+=", "),`${R}${P.storagePath} ${A+1}x`),"")}const B=x,D=$;return typeof d.value=="number"&&L>d.value?(x="",$="",{sizes:k,"data-src":B,"data-srcset":D}):{src:x,srcset:$,sizes:k}},E=[],u=w=>{if(typeof d.value=="string")return;const L=E[w];if(L&&!L.src&&(L.src=L.dataset.src||"",L.srcset=L.dataset.srcset||""),w<d.value||w+1>=(n.images??[]).length)return;const x=E[w+1];x&&!x.src&&(x.src=(x==null?void 0:x.dataset.src)||"",x.srcset=(x==null?void 0:x.dataset.srcset)||"")};e({moveTo(w,L=0,x=!0){s.swiper&&s.swiper.slideTo(w,L,x)}});const g=b.ref(null),S=w=>{w===0&&E&&E[w]&&b.nextTick(()=>{var L;(L=g.value)==null||L.setAttribute("data-first-slide-loaded","true"),i("firstSlideLoaded")})};return b.onMounted(async()=>{var x,$,k,B,D,M,R;if(h(),p.value){const{Keyboard:P}=await Promise.resolve().then(()=>oe);(x=s.swiperParams.modules)==null||x.push(P),s.swiperParams.keyboard=n.swiperOptions.keyboard}if(o.value){const{Pagination:P}=await Promise.resolve().then(()=>oe);($=s.swiperParams.modules)==null||$.push(P),await Promise.resolve().then(()=>Yr),s.swiperParams.pagination={el:".swiper-pagination",renderFraction:(A,U)=>`<div class="tw-rounded-xs tw-border-w-black tw-border tw-border-solid tw-px-3 tw-bg-white tw-pt-[3px] tw-pb-[3px]">
|
|
4
|
+
<span data-cy="swiper-pagination-current" class="${A}"></span>
|
|
5
|
+
/
|
|
6
|
+
<span data-cy="swiper-pagination-total" class="${U}"></span>
|
|
7
|
+
</div>`,...typeof s.swiperParams.pagination=="boolean"?{}:s.swiperParams.pagination}}if(c.value){const{Navigation:P}=await Promise.resolve().then(()=>oe);(k=s.swiperParams.modules)==null||k.push(P),await Promise.resolve().then(()=>Wr);const A={...n.swiperOptions.navigation.nextEl??{nextEl:".swiper-button-next"},...n.swiperOptions.navigation.prevEl??{prevEl:".swiper-button-prev"}};s.swiperParams.navigation={...typeof n.swiperOptions.navigation=="object"?n.swiperOptions.navigation:{},...A}}if(a.value){const{Autoplay:P}=await Promise.resolve().then(()=>oe);(B=s.swiperParams.modules)==null||B.push(P),await Promise.resolve().then(()=>Hr),s.swiperParams.autoplay=n.swiperOptions.autoplay}const w={...s.swiperParams,on:{slideChange:P=>{u(P.activeIndex),i("moved",{activeIndex:P.activeIndex})}}};let L=null;if(n.thumbSwiperOptions){const{Thumbs:P,FreeMode:A,Controller:U}=await Promise.resolve().then(()=>oe);(D=s.swiperParams.modules)==null||D.push(P),(M=s.swiperParams.modules)==null||M.push(U),await Promise.resolve().then(()=>Vr),await Promise.resolve().then(()=>qr),await Promise.resolve().then(()=>Gr),L=new et.Swiper(`#thumb_${n.id}`,{...n.thumbSwiperOptions,modules:[A]}),w.thumbs={swiper:L}}w.lazyPreloadPrevNext=1,s.swiper=new et.Swiper(`#${n.id}`,w),(R=l.value)==null||R.classList.remove("tw-hidden")}),(w,L)=>(b.openBlock(),b.createElementBlock("div",{id:`root-${w.id}`,ref_key:"root",ref:g,class:b.normalizeClass(["swiper-carousel-root",w.$attrs["root-classes"]])},[b.createElementVNode("div",{id:w.id,"data-cy":w.$attrs["data-cy"],class:b.normalizeClass(["swiper",w.$attrs["swiper-classes"]])},[b.createElementVNode("div",{ref_key:"swiperWrapper",ref:l,class:b.normalizeClass(["swiper-wrapper",[w.$attrs["swiper-wrapper-classes"],m.value==="none"&&"no-transition"]]),onClick:L[0]||(L[0]=x=>i("click"))},[b.renderSlot(w.$slots,"swiper_slide",{},()=>[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(w.images,(x,$)=>(b.openBlock(),b.createElementBlock("div",{key:`swiper_${w.id}_${$}`,class:b.normalizeClass(["swiper-slide",w.$attrs["swiper-slide-classes"]])},[b.createElementVNode("div",{class:b.normalizeClass(["swiper-zoom-container",w.$attrs["swiper-zoom-container-classes"]])},[w.backgroundImage?b.createCommentVNode("",!0):(b.openBlock(),b.createElementBlock("img",b.mergeProps({key:0,ref_for:!0,ref:k=>{E.push(k)},class:["disable-select",[w.$attrs["slide-img-classes"]||x.classes]],"data-idx":`${w.id}-slide-img-${$}`},C(x,$),{loading:w.lazyLoadImages||$>=d.value?"lazy":void 0,alt:x.alt,itemprop:"image",width:x.width,height:x.height,onLoad:k=>S($)}),null,16,Fr))],2)],2))),128))])],2),o.value?(b.openBlock(),b.createElementBlock("div",{key:0,class:b.normalizeClass([w.$attrs["swiper-pagination-classes"],"swiper-pagination [&.swiper-pagination-fraction]:tw-flex [&.swiper-pagination-fraction]:tw-justify-center"]),onClick:L[1]||(L[1]=b.withModifiers(()=>{},["stop"]))},null,2)):b.createCommentVNode("",!0),c.value?(b.openBlock(),b.createElementBlock(b.Fragment,{key:1},[b.createElementVNode("div",{class:"swiper-button-prev","data-cy":"swiper-button-prev",onClick:L[2]||(L[2]=b.withModifiers(()=>{},["stop"]))}),b.createElementVNode("div",{class:"swiper-button-next","data-cy":"swiper-button-next",onClick:L[3]||(L[3]=b.withModifiers(()=>{},["stop"]))})],64)):b.createCommentVNode("",!0)],10,jr),w.thumbSwiperOptions?(b.openBlock(),b.createElementBlock("div",{key:0,id:`thumb_${w.id}`,thumbsSlider:"",class:b.normalizeClass(["swiper",w.$attrs["thumb-swiper-classes"]])},[b.createElementVNode("div",{class:b.normalizeClass(["swiper-wrapper",w.$attrs["thumb-swiper-wrapper-classes"]])},[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(w.images,(x,$)=>(b.openBlock(),b.createElementBlock("div",{key:`thumb_${w.id}_${$}`,class:b.normalizeClass(["swiper-slide",w.$attrs["thumb-img-wrapper-classes"]])},[b.createElementVNode("img",b.mergeProps({class:w.$attrs["thumb-img-classes"]},C(x),{loading:$>=f.value?"lazy":void 0,alt:x.alt}),null,16,Ur)],2))),128))],2)],10,_r)):b.createCommentVNode("",!0)],10,Ir))}}),Yr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Wr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Hr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Vr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),qr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Gr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Y.BaseButton=Jt,Y.IntersectionObservable=Zt,Y.IntersectionObserver=Qt,Y.SwiperCarousel=Xr,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|