@wikicasa-dev/components 2.0.5-0.alpha-6 → 2.0.5

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.
Files changed (147) hide show
  1. package/dist/AccessibleSelect.js +1 -1
  2. package/dist/BaseAccordion.js +1 -1
  3. package/dist/BaseAccordionBtn.js +1 -1
  4. package/dist/BaseAccordionContent.js +1 -1
  5. package/dist/BaseAccordionItem.js +1 -1
  6. package/dist/BaseAlert.js +1 -1
  7. package/dist/BaseAutocomplete.js +1 -1
  8. package/dist/BaseBadge.js +1 -1
  9. package/dist/BaseBreadcrumb.js +1 -1
  10. package/dist/BaseButton.js +1 -1
  11. package/dist/BaseCard.js +16 -16
  12. package/dist/BaseComplexToggle.js +4 -4
  13. package/dist/BaseDropDown.js +1 -1
  14. package/dist/BaseFloatingLabel.js +19 -21
  15. package/dist/BaseIcon.js +4 -4
  16. package/dist/BaseInput.js +100 -106
  17. package/dist/BaseModal.js +1 -1
  18. package/dist/BasePagination.js +1 -1
  19. package/dist/BasePaper.js +2 -2
  20. package/dist/BaseShimmerLoader.js +2 -2
  21. package/dist/BaseSlider.js +222 -173
  22. package/dist/BaseSnackbar.js +3 -3
  23. package/dist/BaseTabList.js +1 -1
  24. package/dist/BaseTabPanel.js +1 -1
  25. package/dist/BaseTabView.js +1 -1
  26. package/dist/BaseTextarea.js +15 -16
  27. package/dist/BaseToggle.js +4 -4
  28. package/dist/BaseTooltip.js +3 -3
  29. package/dist/BaseUploadFile.js +1 -1
  30. package/dist/CheckboxBtn.js +6 -10
  31. package/dist/CheckboxGroup.js +1 -1
  32. package/dist/DoughnutChart.js +1 -1
  33. package/dist/IntersectionObservable.js +1 -1
  34. package/dist/IntersectionObserver.js +1 -1
  35. package/dist/LineChart.js +1 -1
  36. package/dist/RadioButton.js +1 -1
  37. package/dist/RadioGroup.js +1 -1
  38. package/dist/SelectItem.js +1 -1
  39. package/dist/ShimmerMultiLine.js +1 -1
  40. package/dist/StaticSpinner.js +2 -2
  41. package/dist/SwiperCarousel.js +1 -1
  42. package/dist/SwiperSlide.js +2 -2
  43. package/dist/UIKit/AccessibleSelect.vue.d.ts +103 -49
  44. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +12 -9
  45. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +17 -12
  46. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +14 -10
  47. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +33 -20
  48. package/dist/UIKit/BaseAlert.vue.d.ts +8 -8
  49. package/dist/UIKit/BaseAutocomplete.vue.d.ts +198 -39
  50. package/dist/UIKit/BaseBadge.vue.d.ts +7 -7
  51. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +10 -8
  52. package/dist/UIKit/BaseButton.vue.d.ts +30 -17
  53. package/dist/UIKit/BaseCard.vue.d.ts +23 -14
  54. package/dist/UIKit/BaseComplexToggle.vue.d.ts +6 -7
  55. package/dist/UIKit/BaseDropDown.vue.d.ts +40 -39
  56. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +13 -8
  57. package/dist/UIKit/BaseIcon.vue.d.ts +9 -3
  58. package/dist/UIKit/BaseInput.vue.d.ts +20 -20
  59. package/dist/UIKit/BaseModal.vue.d.ts +60 -35
  60. package/dist/UIKit/BasePagination.vue.d.ts +14 -7
  61. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +12 -10
  62. package/dist/UIKit/BaseSlider.vue.d.ts +175 -20
  63. package/dist/UIKit/BaseSnackbar.vue.d.ts +14 -7
  64. package/dist/UIKit/BaseTextarea.vue.d.ts +10 -9
  65. package/dist/UIKit/BaseToggle.vue.d.ts +5 -6
  66. package/dist/UIKit/BaseTooltip.vue.d.ts +20 -13
  67. package/dist/UIKit/BaseUploadFile.vue.d.ts +19 -13
  68. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +31 -18
  69. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +43 -23
  70. package/dist/UIKit/Radio/RadioButton.vue.d.ts +11 -7
  71. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +7 -8
  72. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
  73. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +8 -54
  74. package/dist/UIKit/StaticSpinner.vue.d.ts +5 -3
  75. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -8
  76. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +7 -5
  77. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -9
  78. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +8 -8
  79. package/dist/UIKit/types.d.ts +1 -4
  80. package/dist/assets/BaseAlert.css +1 -1
  81. package/dist/assets/BaseBadge.css +1 -1
  82. package/dist/assets/BaseCard.css +1 -1
  83. package/dist/assets/BaseFloatingLabel.css +1 -1
  84. package/dist/assets/BaseInput.css +1 -1
  85. package/dist/assets/BaseSlider.css +1 -1
  86. package/dist/assets/BaseTextarea.css +1 -1
  87. package/dist/assets/BaseTooltip.css +1 -1
  88. package/dist/assets/CheckboxBtn.css +1 -1
  89. package/dist/assets/SwiperCarousel.css +1 -1
  90. package/dist/assets/index.css +1 -1
  91. package/dist/chart/DoughnutChart.vue.d.ts +5 -3
  92. package/dist/chart/LineChart.vue.d.ts +6 -16
  93. package/dist/chart/composables/useChartjsModules.d.ts +1 -1
  94. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.YIp2u7gd.js +231 -0
  95. package/dist/chunks/{ArrowIcon.Bq6Xr3uH.js → ArrowIcon.CCFMdsq6.js} +1 -1
  96. package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js → BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js} +2 -2
  97. package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js} +4 -4
  98. package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js} +2 -2
  99. package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js} +8 -8
  100. package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js} +2 -2
  101. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.m5rScY4N.js} +84 -89
  102. package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js → BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js} +2 -2
  103. package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js} +18 -18
  104. package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js → BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js} +4 -4
  105. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js → BaseDropDown.vue_vue_type_script_setup_true_lang.BscSQ5bW.js} +46 -59
  106. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js +142 -0
  107. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js +163 -0
  108. package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js → BaseTabList.vue_vue_type_script_setup_true_lang.CohlLou1.js} +2 -2
  109. package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js} +2 -2
  110. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ar2KNVYH.js +95 -0
  111. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js} +1 -1
  112. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js} +37 -37
  113. package/dist/chunks/{CloseIcon.BZ4U3aiI.js → CloseIcon.DIkr4soH.js} +1 -1
  114. package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js → DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js} +3 -3
  115. package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js} +2 -2
  116. package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js} +2 -2
  117. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +37 -0
  118. package/dist/chunks/ObjectUtils.BOUbloeg.js +10 -0
  119. package/dist/chunks/PharmacyIcon.56ql_DYl.js +19 -0
  120. package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js} +2 -2
  121. package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js} +6 -6
  122. package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js} +2 -2
  123. package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js} +3 -3
  124. package/dist/chunks/SwiperCarousel.DWUl3bgn.js +718 -0
  125. package/dist/chunks/{index.D_1s8S8L.js → index.D6IWh9UY.js} +7 -9
  126. package/dist/chunks/{useBreakpoints.BXk8Xcw3.js → types-B0dZ7OiV.D29wNgoj.js} +832 -2812
  127. package/dist/chunks/useKeyboardController.CutKeclN.js +41 -0
  128. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +9 -10
  129. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +2 -5
  130. package/dist/components/carousel/SwiperCarousel.vue.d.ts +9 -9
  131. package/dist/components/carousel/SwiperSlide.vue.d.ts +2 -3
  132. package/dist/index.d.ts +1 -2
  133. package/dist/index.js +33 -35
  134. package/dist/useChartjsModules.js +1 -1
  135. package/package.json +28 -30
  136. package/dist/SimpleSlider.js +0 -83
  137. package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +0 -19
  138. package/dist/assets/SimpleSlider.css +0 -1
  139. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js +0 -246
  140. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js +0 -151
  141. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js +0 -164
  142. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +0 -105
  143. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +0 -42
  144. package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
  145. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
  146. package/dist/chunks/SwiperCarousel.C8hJ7R2K.js +0 -749
  147. package/dist/chunks/polyline.DjpLdMaW.js +0 -5256
@@ -0,0 +1,718 @@
1
+ import { defineComponent as Me, reactive as $e, ref as we, computed as k, onMounted as Te, openBlock as Y, createElementBlock as M, normalizeClass as $, createElementVNode as D, renderSlot as Ee, Fragment as re, renderList as ye, mergeProps as be, createCommentVNode as _, withModifiers as ne, nextTick as We } from "vue";
2
+ import { Swiper as Se } from "swiper";
3
+ import "./types-B0dZ7OiV.D29wNgoj.js";
4
+ import { i as Pe } from "./ObjectUtils.BOUbloeg.js";
5
+ import { _ as Le } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import '../assets/SwiperCarousel.css';function xe(r) {
7
+ return r !== null && typeof r == "object" && "constructor" in r && r.constructor === Object;
8
+ }
9
+ function ae(r, e) {
10
+ r === void 0 && (r = {}), e === void 0 && (e = {}), Object.keys(e).forEach((u) => {
11
+ typeof r[u] > "u" ? r[u] = e[u] : xe(e[u]) && xe(r[u]) && Object.keys(e[u]).length > 0 && ae(r[u], e[u]);
12
+ });
13
+ }
14
+ const Ye = {
15
+ body: {},
16
+ addEventListener() {
17
+ },
18
+ removeEventListener() {
19
+ },
20
+ activeElement: {
21
+ blur() {
22
+ },
23
+ nodeName: ""
24
+ },
25
+ querySelector() {
26
+ return null;
27
+ },
28
+ querySelectorAll() {
29
+ return [];
30
+ },
31
+ getElementById() {
32
+ return null;
33
+ },
34
+ createEvent() {
35
+ return {
36
+ initEvent() {
37
+ }
38
+ };
39
+ },
40
+ createElement() {
41
+ return {
42
+ children: [],
43
+ childNodes: [],
44
+ style: {},
45
+ setAttribute() {
46
+ },
47
+ getElementsByTagName() {
48
+ return [];
49
+ }
50
+ };
51
+ },
52
+ createElementNS() {
53
+ return {};
54
+ },
55
+ importNode() {
56
+ return null;
57
+ },
58
+ location: {
59
+ hash: "",
60
+ host: "",
61
+ hostname: "",
62
+ href: "",
63
+ origin: "",
64
+ pathname: "",
65
+ protocol: "",
66
+ search: ""
67
+ }
68
+ };
69
+ function Oe() {
70
+ const r = typeof document < "u" ? document : {};
71
+ return ae(r, Ye), r;
72
+ }
73
+ const ke = {
74
+ document: Ye,
75
+ navigator: {
76
+ userAgent: ""
77
+ },
78
+ location: {
79
+ hash: "",
80
+ host: "",
81
+ hostname: "",
82
+ href: "",
83
+ origin: "",
84
+ pathname: "",
85
+ protocol: "",
86
+ search: ""
87
+ },
88
+ history: {
89
+ replaceState() {
90
+ },
91
+ pushState() {
92
+ },
93
+ go() {
94
+ },
95
+ back() {
96
+ }
97
+ },
98
+ CustomEvent: function() {
99
+ return this;
100
+ },
101
+ addEventListener() {
102
+ },
103
+ removeEventListener() {
104
+ },
105
+ getComputedStyle() {
106
+ return {
107
+ getPropertyValue() {
108
+ return "";
109
+ }
110
+ };
111
+ },
112
+ Image() {
113
+ },
114
+ Date() {
115
+ },
116
+ screen: {},
117
+ setTimeout() {
118
+ },
119
+ clearTimeout() {
120
+ },
121
+ matchMedia() {
122
+ return {};
123
+ },
124
+ requestAnimationFrame(r) {
125
+ return typeof setTimeout > "u" ? (r(), null) : setTimeout(r, 0);
126
+ },
127
+ cancelAnimationFrame(r) {
128
+ typeof setTimeout > "u" || clearTimeout(r);
129
+ }
130
+ };
131
+ function V() {
132
+ const r = typeof window < "u" ? window : {};
133
+ return ae(r, ke), r;
134
+ }
135
+ function De(r) {
136
+ return r === void 0 && (r = ""), r.trim().split(" ").filter((e) => !!e.trim());
137
+ }
138
+ function _e(r, e) {
139
+ return e === void 0 && (e = 0), setTimeout(r, e);
140
+ }
141
+ function Je() {
142
+ return Date.now();
143
+ }
144
+ function Ie(r) {
145
+ const e = V();
146
+ let u;
147
+ return e.getComputedStyle && (u = e.getComputedStyle(r, null)), !u && r.currentStyle && (u = r.currentStyle), u || (u = r.style), u;
148
+ }
149
+ function Ce(r, e) {
150
+ e === void 0 && (e = "x");
151
+ const u = V();
152
+ let a, v, d;
153
+ const g = Ie(r);
154
+ return u.WebKitCSSMatrix ? (v = g.transform || g.webkitTransform, v.split(",").length > 6 && (v = v.split(", ").map((y) => y.replace(",", ".")).join(", ")), d = new u.WebKitCSSMatrix(v === "none" ? "" : v)) : (d = g.MozTransform || g.OTransform || g.MsTransform || g.msTransform || g.transform || g.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), a = d.toString().split(",")), e === "x" && (u.WebKitCSSMatrix ? v = d.m41 : a.length === 16 ? v = parseFloat(a[12]) : v = parseFloat(a[4])), e === "y" && (u.WebKitCSSMatrix ? v = d.m42 : a.length === 16 ? v = parseFloat(a[13]) : v = parseFloat(a[5])), v || 0;
155
+ }
156
+ function Qe(r) {
157
+ return typeof r == "object" && r !== null && r.constructor && Object.prototype.toString.call(r).slice(8, -1) === "Object";
158
+ }
159
+ function ze(r, e) {
160
+ e === void 0 && (e = "");
161
+ const u = [...r.children];
162
+ return r instanceof HTMLSlotElement && u.push(...r.assignedElements()), e ? u.filter((a) => a.matches(e)) : u;
163
+ }
164
+ function Ue(r, e) {
165
+ e === void 0 && (e = []);
166
+ const u = document.createElement(r);
167
+ return u.classList.add(...Array.isArray(e) ? e : De(e)), u;
168
+ }
169
+ function Xe(r) {
170
+ const e = V(), u = Oe(), a = r.getBoundingClientRect(), v = u.body, d = r.clientTop || v.clientTop || 0, g = r.clientLeft || v.clientLeft || 0, y = r === e ? e.scrollY : r.scrollTop, T = r === e ? e.scrollX : r.scrollLeft;
171
+ return {
172
+ top: a.top + y - d,
173
+ left: a.left + T - g
174
+ };
175
+ }
176
+ function et(r) {
177
+ let e = r, u;
178
+ if (e) {
179
+ for (u = 0; (e = e.previousSibling) !== null; )
180
+ e.nodeType === 1 && (u += 1);
181
+ return u;
182
+ }
183
+ }
184
+ function se(r, e) {
185
+ const u = [];
186
+ let a = r.parentElement;
187
+ for (; a; )
188
+ e ? a.matches(e) && u.push(a) : u.push(a), a = a.parentElement;
189
+ return u;
190
+ }
191
+ function tt(r, e) {
192
+ function u(a) {
193
+ a.target === r && (e.call(r, a), r.removeEventListener("transitionend", u));
194
+ }
195
+ e && r.addEventListener("transitionend", u);
196
+ }
197
+ function it(r, e, u) {
198
+ const a = V();
199
+ return r[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(a.getComputedStyle(r, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(a.getComputedStyle(r, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
200
+ }
201
+ function rt(r) {
202
+ return (Array.isArray(r) ? r : [r]).filter((e) => !!e);
203
+ }
204
+ function Re(r) {
205
+ let {
206
+ swiper: e,
207
+ extendParams: u,
208
+ on: a,
209
+ emit: v
210
+ } = r;
211
+ const d = V();
212
+ u({
213
+ zoom: {
214
+ enabled: !1,
215
+ limitToOriginalSize: !1,
216
+ maxRatio: 3,
217
+ minRatio: 1,
218
+ toggle: !0,
219
+ containerClass: "swiper-zoom-container",
220
+ zoomedSlideClass: "swiper-slide-zoomed"
221
+ }
222
+ }), e.zoom = {
223
+ enabled: !1
224
+ };
225
+ let g = 1, y = !1, T, I;
226
+ const m = [], t = {
227
+ originX: 0,
228
+ originY: 0,
229
+ slideEl: void 0,
230
+ slideWidth: void 0,
231
+ slideHeight: void 0,
232
+ imageEl: void 0,
233
+ imageWrapEl: void 0,
234
+ maxRatio: 3
235
+ }, i = {
236
+ isTouched: void 0,
237
+ isMoved: void 0,
238
+ currentX: void 0,
239
+ currentY: void 0,
240
+ minX: void 0,
241
+ minY: void 0,
242
+ maxX: void 0,
243
+ maxY: void 0,
244
+ width: void 0,
245
+ height: void 0,
246
+ startX: void 0,
247
+ startY: void 0,
248
+ touchesStart: {},
249
+ touchesCurrent: {}
250
+ }, p = {
251
+ x: void 0,
252
+ y: void 0,
253
+ prevPositionX: void 0,
254
+ prevPositionY: void 0,
255
+ prevTime: void 0
256
+ };
257
+ let H = 1;
258
+ Object.defineProperty(e.zoom, "scale", {
259
+ get() {
260
+ return H;
261
+ },
262
+ set(n) {
263
+ if (H !== n) {
264
+ const s = t.imageEl, o = t.slideEl;
265
+ v("zoomChange", n, s, o);
266
+ }
267
+ H = n;
268
+ }
269
+ });
270
+ function F() {
271
+ if (m.length < 2) return 1;
272
+ const n = m[0].pageX, s = m[0].pageY, o = m[1].pageX, w = m[1].pageY;
273
+ return Math.sqrt((o - n) ** 2 + (w - s) ** 2);
274
+ }
275
+ function W() {
276
+ const n = e.params.zoom, s = t.imageWrapEl.getAttribute("data-swiper-zoom") || n.maxRatio;
277
+ if (n.limitToOriginalSize && t.imageEl && t.imageEl.naturalWidth) {
278
+ const o = t.imageEl.naturalWidth / t.imageEl.offsetWidth;
279
+ return Math.min(o, s);
280
+ }
281
+ return s;
282
+ }
283
+ function J() {
284
+ if (m.length < 2) return {
285
+ x: null,
286
+ y: null
287
+ };
288
+ const n = t.imageEl.getBoundingClientRect();
289
+ return [(m[0].pageX + (m[1].pageX - m[0].pageX) / 2 - n.x - d.scrollX) / g, (m[0].pageY + (m[1].pageY - m[0].pageY) / 2 - n.y - d.scrollY) / g];
290
+ }
291
+ function N() {
292
+ return e.isElement ? "swiper-slide" : `.${e.params.slideClass}`;
293
+ }
294
+ function R(n) {
295
+ const s = N();
296
+ return !!(n.target.matches(s) || e.slides.filter((o) => o.contains(n.target)).length > 0);
297
+ }
298
+ function l(n) {
299
+ const s = `.${e.params.zoom.containerClass}`;
300
+ return !!(n.target.matches(s) || [...e.hostEl.querySelectorAll(s)].filter((o) => o.contains(n.target)).length > 0);
301
+ }
302
+ function f(n) {
303
+ if (n.pointerType === "mouse" && m.splice(0, m.length), !R(n)) return;
304
+ const s = e.params.zoom;
305
+ if (T = !1, I = !1, m.push(n), !(m.length < 2)) {
306
+ if (T = !0, t.scaleStart = F(), !t.slideEl) {
307
+ t.slideEl = n.target.closest(`.${e.params.slideClass}, swiper-slide`), t.slideEl || (t.slideEl = e.slides[e.activeIndex]);
308
+ let o = t.slideEl.querySelector(`.${s.containerClass}`);
309
+ if (o && (o = o.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = o, o ? t.imageWrapEl = se(t.imageEl, `.${s.containerClass}`)[0] : t.imageWrapEl = void 0, !t.imageWrapEl) {
310
+ t.imageEl = void 0;
311
+ return;
312
+ }
313
+ t.maxRatio = W();
314
+ }
315
+ if (t.imageEl) {
316
+ const [o, w] = J();
317
+ t.originX = o, t.originY = w, t.imageEl.style.transitionDuration = "0ms";
318
+ }
319
+ y = !0;
320
+ }
321
+ }
322
+ function c(n) {
323
+ if (!R(n)) return;
324
+ const s = e.params.zoom, o = e.zoom, w = m.findIndex((S) => S.pointerId === n.pointerId);
325
+ w >= 0 && (m[w] = n), !(m.length < 2) && (I = !0, t.scaleMove = F(), t.imageEl && (o.scale = t.scaleMove / t.scaleStart * g, o.scale > t.maxRatio && (o.scale = t.maxRatio - 1 + (o.scale - t.maxRatio + 1) ** 0.5), o.scale < s.minRatio && (o.scale = s.minRatio + 1 - (s.minRatio - o.scale + 1) ** 0.5), t.imageEl.style.transform = `translate3d(0,0,0) scale(${o.scale})`));
326
+ }
327
+ function h(n) {
328
+ if (!R(n) || n.pointerType === "mouse" && n.type === "pointerout") return;
329
+ const s = e.params.zoom, o = e.zoom, w = m.findIndex((S) => S.pointerId === n.pointerId);
330
+ w >= 0 && m.splice(w, 1), !(!T || !I) && (T = !1, I = !1, t.imageEl && (o.scale = Math.max(Math.min(o.scale, t.maxRatio), s.minRatio), t.imageEl.style.transitionDuration = `${e.params.speed}ms`, t.imageEl.style.transform = `translate3d(0,0,0) scale(${o.scale})`, g = o.scale, y = !1, o.scale > 1 && t.slideEl ? t.slideEl.classList.add(`${s.zoomedSlideClass}`) : o.scale <= 1 && t.slideEl && t.slideEl.classList.remove(`${s.zoomedSlideClass}`), o.scale === 1 && (t.originX = 0, t.originY = 0, t.slideEl = void 0)));
331
+ }
332
+ let E;
333
+ function j() {
334
+ e.touchEventsData.preventTouchMoveFromPointerMove = !1;
335
+ }
336
+ function Q() {
337
+ clearTimeout(E), e.touchEventsData.preventTouchMoveFromPointerMove = !0, E = setTimeout(() => {
338
+ e.destroyed || j();
339
+ });
340
+ }
341
+ function b(n) {
342
+ const s = e.device;
343
+ if (!t.imageEl || i.isTouched) return;
344
+ s.android && n.cancelable && n.preventDefault(), i.isTouched = !0;
345
+ const o = m.length > 0 ? m[0] : n;
346
+ i.touchesStart.x = o.pageX, i.touchesStart.y = o.pageY;
347
+ }
348
+ function x(n) {
349
+ if (!R(n) || !l(n))
350
+ return;
351
+ const s = e.zoom;
352
+ if (!t.imageEl || !i.isTouched || !t.slideEl)
353
+ return;
354
+ i.isMoved || (i.width = t.imageEl.offsetWidth || t.imageEl.clientWidth, i.height = t.imageEl.offsetHeight || t.imageEl.clientHeight, i.startX = Ce(t.imageWrapEl, "x") || 0, i.startY = Ce(t.imageWrapEl, "y") || 0, t.slideWidth = t.slideEl.offsetWidth, t.slideHeight = t.slideEl.offsetHeight, t.imageWrapEl.style.transitionDuration = "0ms");
355
+ const o = i.width * s.scale, w = i.height * s.scale;
356
+ if (i.minX = Math.min(t.slideWidth / 2 - o / 2, 0), i.maxX = -i.minX, i.minY = Math.min(t.slideHeight / 2 - w / 2, 0), i.maxY = -i.minY, i.touchesCurrent.x = m.length > 0 ? m[0].pageX : n.pageX, i.touchesCurrent.y = m.length > 0 ? m[0].pageY : n.pageY, Math.max(Math.abs(i.touchesCurrent.x - i.touchesStart.x), Math.abs(i.touchesCurrent.y - i.touchesStart.y)) > 5 && (e.allowClick = !1), !i.isMoved && !y) {
357
+ if (e.isHorizontal() && (Math.floor(i.minX) === Math.floor(i.startX) && i.touchesCurrent.x < i.touchesStart.x || Math.floor(i.maxX) === Math.floor(i.startX) && i.touchesCurrent.x > i.touchesStart.x)) {
358
+ i.isTouched = !1, j();
359
+ return;
360
+ }
361
+ if (!e.isHorizontal() && (Math.floor(i.minY) === Math.floor(i.startY) && i.touchesCurrent.y < i.touchesStart.y || Math.floor(i.maxY) === Math.floor(i.startY) && i.touchesCurrent.y > i.touchesStart.y)) {
362
+ i.isTouched = !1, j();
363
+ return;
364
+ }
365
+ }
366
+ n.cancelable && n.preventDefault(), n.stopPropagation(), Q(), i.isMoved = !0;
367
+ const P = (s.scale - g) / (t.maxRatio - e.params.zoom.minRatio), {
368
+ originX: L,
369
+ originY: A
370
+ } = t;
371
+ i.currentX = i.touchesCurrent.x - i.touchesStart.x + i.startX + P * (i.width - L * 2), i.currentY = i.touchesCurrent.y - i.touchesStart.y + i.startY + P * (i.height - A * 2), i.currentX < i.minX && (i.currentX = i.minX + 1 - (i.minX - i.currentX + 1) ** 0.8), i.currentX > i.maxX && (i.currentX = i.maxX - 1 + (i.currentX - i.maxX + 1) ** 0.8), i.currentY < i.minY && (i.currentY = i.minY + 1 - (i.minY - i.currentY + 1) ** 0.8), i.currentY > i.maxY && (i.currentY = i.maxY - 1 + (i.currentY - i.maxY + 1) ** 0.8), p.prevPositionX || (p.prevPositionX = i.touchesCurrent.x), p.prevPositionY || (p.prevPositionY = i.touchesCurrent.y), p.prevTime || (p.prevTime = Date.now()), p.x = (i.touchesCurrent.x - p.prevPositionX) / (Date.now() - p.prevTime) / 2, p.y = (i.touchesCurrent.y - p.prevPositionY) / (Date.now() - p.prevTime) / 2, Math.abs(i.touchesCurrent.x - p.prevPositionX) < 2 && (p.x = 0), Math.abs(i.touchesCurrent.y - p.prevPositionY) < 2 && (p.y = 0), p.prevPositionX = i.touchesCurrent.x, p.prevPositionY = i.touchesCurrent.y, p.prevTime = Date.now(), t.imageWrapEl.style.transform = `translate3d(${i.currentX}px, ${i.currentY}px,0)`;
372
+ }
373
+ function z() {
374
+ const n = e.zoom;
375
+ if (!t.imageEl) return;
376
+ if (!i.isTouched || !i.isMoved) {
377
+ i.isTouched = !1, i.isMoved = !1;
378
+ return;
379
+ }
380
+ i.isTouched = !1, i.isMoved = !1;
381
+ let s = 300, o = 300;
382
+ const w = p.x * s, S = i.currentX + w, P = p.y * o, L = i.currentY + P;
383
+ p.x !== 0 && (s = Math.abs((S - i.currentX) / p.x)), p.y !== 0 && (o = Math.abs((L - i.currentY) / p.y));
384
+ const A = Math.max(s, o);
385
+ i.currentX = S, i.currentY = L;
386
+ const G = i.width * n.scale, X = i.height * n.scale;
387
+ i.minX = Math.min(t.slideWidth / 2 - G / 2, 0), i.maxX = -i.minX, i.minY = Math.min(t.slideHeight / 2 - X / 2, 0), i.maxY = -i.minY, i.currentX = Math.max(Math.min(i.currentX, i.maxX), i.minX), i.currentY = Math.max(Math.min(i.currentY, i.maxY), i.minY), t.imageWrapEl.style.transitionDuration = `${A}ms`, t.imageWrapEl.style.transform = `translate3d(${i.currentX}px, ${i.currentY}px,0)`;
388
+ }
389
+ function C() {
390
+ const n = e.zoom;
391
+ t.slideEl && e.activeIndex !== e.slides.indexOf(t.slideEl) && (t.imageEl && (t.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), t.imageWrapEl && (t.imageWrapEl.style.transform = "translate3d(0,0,0)"), t.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`), n.scale = 1, g = 1, t.slideEl = void 0, t.imageEl = void 0, t.imageWrapEl = void 0, t.originX = 0, t.originY = 0);
392
+ }
393
+ function oe(n) {
394
+ const s = e.zoom, o = e.params.zoom;
395
+ if (!t.slideEl) {
396
+ n && n.target && (t.slideEl = n.target.closest(`.${e.params.slideClass}, swiper-slide`)), t.slideEl || (e.params.virtual && e.params.virtual.enabled && e.virtual ? t.slideEl = ze(e.slidesEl, `.${e.params.slideActiveClass}`)[0] : t.slideEl = e.slides[e.activeIndex]);
397
+ let B = t.slideEl.querySelector(`.${o.containerClass}`);
398
+ B && (B = B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = B, B ? t.imageWrapEl = se(t.imageEl, `.${o.containerClass}`)[0] : t.imageWrapEl = void 0;
399
+ }
400
+ if (!t.imageEl || !t.imageWrapEl) return;
401
+ e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), t.slideEl.classList.add(`${o.zoomedSlideClass}`);
402
+ let w, S, P, L, A, G, X, O, pe, fe, ge, he, K, Z, U, ee, te, ie;
403
+ typeof i.touchesStart.x > "u" && n ? (w = n.pageX, S = n.pageY) : (w = i.touchesStart.x, S = i.touchesStart.y);
404
+ const q = typeof n == "number" ? n : null;
405
+ g === 1 && q && (w = void 0, S = void 0, i.touchesStart.x = void 0, i.touchesStart.y = void 0);
406
+ const ve = W();
407
+ s.scale = q || ve, g = q || ve, n && !(g === 1 && q) ? (te = t.slideEl.offsetWidth, ie = t.slideEl.offsetHeight, P = Xe(t.slideEl).left + d.scrollX, L = Xe(t.slideEl).top + d.scrollY, A = P + te / 2 - w, G = L + ie / 2 - S, pe = t.imageEl.offsetWidth || t.imageEl.clientWidth, fe = t.imageEl.offsetHeight || t.imageEl.clientHeight, ge = pe * s.scale, he = fe * s.scale, K = Math.min(te / 2 - ge / 2, 0), Z = Math.min(ie / 2 - he / 2, 0), U = -K, ee = -Z, X = A * s.scale, O = G * s.scale, X < K && (X = K), X > U && (X = U), O < Z && (O = Z), O > ee && (O = ee)) : (X = 0, O = 0), q && s.scale === 1 && (t.originX = 0, t.originY = 0), t.imageWrapEl.style.transitionDuration = "300ms", t.imageWrapEl.style.transform = `translate3d(${X}px, ${O}px,0)`, t.imageEl.style.transitionDuration = "300ms", t.imageEl.style.transform = `translate3d(0,0,0) scale(${s.scale})`;
408
+ }
409
+ function le() {
410
+ const n = e.zoom, s = e.params.zoom;
411
+ if (!t.slideEl) {
412
+ e.params.virtual && e.params.virtual.enabled && e.virtual ? t.slideEl = ze(e.slidesEl, `.${e.params.slideActiveClass}`)[0] : t.slideEl = e.slides[e.activeIndex];
413
+ let o = t.slideEl.querySelector(`.${s.containerClass}`);
414
+ o && (o = o.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = o, o ? t.imageWrapEl = se(t.imageEl, `.${s.containerClass}`)[0] : t.imageWrapEl = void 0;
415
+ }
416
+ !t.imageEl || !t.imageWrapEl || (e.params.cssMode && (e.wrapperEl.style.overflow = "", e.wrapperEl.style.touchAction = ""), n.scale = 1, g = 1, i.touchesStart.x = void 0, i.touchesStart.y = void 0, t.imageWrapEl.style.transitionDuration = "300ms", t.imageWrapEl.style.transform = "translate3d(0,0,0)", t.imageEl.style.transitionDuration = "300ms", t.imageEl.style.transform = "translate3d(0,0,0) scale(1)", t.slideEl.classList.remove(`${s.zoomedSlideClass}`), t.slideEl = void 0, t.originX = 0, t.originY = 0);
417
+ }
418
+ function ue(n) {
419
+ const s = e.zoom;
420
+ s.scale && s.scale !== 1 ? le() : oe(n);
421
+ }
422
+ function ce() {
423
+ const n = e.params.passiveListeners ? {
424
+ passive: !0,
425
+ capture: !1
426
+ } : !1, s = e.params.passiveListeners ? {
427
+ passive: !1,
428
+ capture: !0
429
+ } : !0;
430
+ return {
431
+ passiveListener: n,
432
+ activeListenerWithCapture: s
433
+ };
434
+ }
435
+ function de() {
436
+ const n = e.zoom;
437
+ if (n.enabled) return;
438
+ n.enabled = !0;
439
+ const {
440
+ passiveListener: s,
441
+ activeListenerWithCapture: o
442
+ } = ce();
443
+ e.wrapperEl.addEventListener("pointerdown", f, s), e.wrapperEl.addEventListener("pointermove", c, o), ["pointerup", "pointercancel", "pointerout"].forEach((w) => {
444
+ e.wrapperEl.addEventListener(w, h, s);
445
+ }), e.wrapperEl.addEventListener("pointermove", x, o);
446
+ }
447
+ function me() {
448
+ const n = e.zoom;
449
+ if (!n.enabled) return;
450
+ n.enabled = !1;
451
+ const {
452
+ passiveListener: s,
453
+ activeListenerWithCapture: o
454
+ } = ce();
455
+ e.wrapperEl.removeEventListener("pointerdown", f, s), e.wrapperEl.removeEventListener("pointermove", c, o), ["pointerup", "pointercancel", "pointerout"].forEach((w) => {
456
+ e.wrapperEl.removeEventListener(w, h, s);
457
+ }), e.wrapperEl.removeEventListener("pointermove", x, o);
458
+ }
459
+ a("init", () => {
460
+ e.params.zoom.enabled && de();
461
+ }), a("destroy", () => {
462
+ me();
463
+ }), a("touchStart", (n, s) => {
464
+ e.zoom.enabled && b(s);
465
+ }), a("touchEnd", (n, s) => {
466
+ e.zoom.enabled && z();
467
+ }), a("doubleTap", (n, s) => {
468
+ !e.animating && e.params.zoom.enabled && e.zoom.enabled && e.params.zoom.toggle && ue(s);
469
+ }), a("transitionEnd", () => {
470
+ e.zoom.enabled && e.params.zoom.enabled && C();
471
+ }), a("slideChange", () => {
472
+ e.zoom.enabled && e.params.zoom.enabled && e.params.cssMode && C();
473
+ }), Object.assign(e.zoom, {
474
+ enable: de,
475
+ disable: me,
476
+ in: oe,
477
+ out: le,
478
+ toggle: ue
479
+ });
480
+ }
481
+ const Ae = ["id"], He = ["id", "data-cy"], Fe = ["data-idx", "loading", "alt", "width", "height", "onLoad"], je = ["id"], qe = ["loading", "alt"], Be = /* @__PURE__ */ Me({
482
+ inheritAttrs: !1,
483
+ __name: "SwiperCarousel",
484
+ props: {
485
+ id: {},
486
+ swiperOptions: {},
487
+ thumbSwiperOptions: {},
488
+ lazyLoadImages: { type: Boolean, default: !0 },
489
+ backgroundImage: { type: Boolean, default: !1 },
490
+ images: {},
491
+ artDirection: {},
492
+ shiftFirstImage: { type: Boolean, default: !1 }
493
+ },
494
+ emits: ["moved", "click", "firstSlideLoaded"],
495
+ setup(r, { expose: e, emit: u }) {
496
+ const a = r, v = u, d = $e({
497
+ swiperParams: { modules: [Re] },
498
+ swiper: null,
499
+ initCarousel: !1
500
+ }), g = we(), y = k(() => a.swiperOptions?.slidesPerView || 1), T = k(() => a.thumbSwiperOptions?.slidesPerView || 1), I = k(() => !!a.swiperOptions?.keyboard), m = k(() => {
501
+ const l = a.swiperOptions;
502
+ return l ? !!l.navigation : !1;
503
+ }), t = k(() => {
504
+ const l = a.swiperOptions;
505
+ return l ? !!l.pagination : !1;
506
+ }), i = k(() => {
507
+ const l = a.swiperOptions;
508
+ return l ? !!l.autoplay : !1;
509
+ }), p = k(
510
+ () => a.swiperOptions?.effect || "slider"
511
+ ), H = () => {
512
+ a.swiperOptions && Pe(a.swiperOptions, d.swiperParams);
513
+ }, F = (l, f = -1) => {
514
+ if (!l.images)
515
+ return { src: l.src || "" };
516
+ let c = "", h = "", E = "";
517
+ if (a.artDirection) {
518
+ for (const b in a.artDirection) {
519
+ const { mq: x, width: z } = a.artDirection[b];
520
+ z && (E += E ? `,${x} ${parseInt(z)}px` : `${x} ${parseInt(z)}px`);
521
+ }
522
+ h = l.images.reduce((b, x, z) => {
523
+ const C = Object.values(a.artDirection)[z];
524
+ return !C || !C.width || (b += b ? `, ${x.storagePath} ${C.width}` : `${x.storagePath} ${C.width}`), b;
525
+ }, ""), c = l.images[0].storagePath;
526
+ } else {
527
+ let b = l.images;
528
+ l.images.length > 3 ? b = l.images.slice(2, 5) : a.shiftFirstImage && (b[0] = b[1]), h = b.reduce((x, z, C) => (C === 0 && (c = `${z.storagePath}`), C > 0 && (x += ", "), `${x}${z.storagePath} ${C + 1}x`), "");
529
+ }
530
+ const j = c, Q = h;
531
+ return typeof y.value == "number" && f > y.value ? (c = "", h = "", { sizes: E, "data-src": j, "data-srcset": Q }) : { src: c, srcset: h, sizes: E };
532
+ }, W = [], J = (l) => {
533
+ if (typeof y.value == "string") return;
534
+ const f = W[l];
535
+ if (f && !f.src && (f.src = f.dataset.src || "", f.srcset = f.dataset.srcset || ""), l < y.value || l + 1 >= (a.images ?? []).length)
536
+ return;
537
+ const c = W[l + 1];
538
+ c && !c.src && (c.src = c?.dataset.src || "", c.srcset = c?.dataset.srcset || "");
539
+ };
540
+ e({
541
+ moveTo(l, f = 0, c = !0) {
542
+ d.swiper && d.swiper.slideTo(l, f, c);
543
+ }
544
+ });
545
+ const N = we(null), R = (l) => {
546
+ l === 0 && W && W[l] && We(() => {
547
+ N.value?.setAttribute("data-first-slide-loaded", "true"), v("firstSlideLoaded");
548
+ });
549
+ };
550
+ return Te(async () => {
551
+ if (H(), I.value) {
552
+ const { Keyboard: c } = await import("./index.D6IWh9UY.js");
553
+ d.swiperParams.modules?.push(c), d.swiperParams.keyboard = a.swiperOptions.keyboard;
554
+ }
555
+ if (t.value) {
556
+ const { Pagination: c } = await import("./index.D6IWh9UY.js");
557
+ d.swiperParams.modules?.push(c), d.swiperParams.pagination = {
558
+ el: ".swiper-pagination",
559
+ renderFraction: (h, E) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
560
+ <span data-cy="swiper-pagination-current" class="${h}"></span>
561
+ /
562
+ <span data-cy="swiper-pagination-total" class="${E}"></span>
563
+ </div>`,
564
+ ...typeof d.swiperParams.pagination == "boolean" ? {} : d.swiperParams.pagination
565
+ };
566
+ }
567
+ if (m.value) {
568
+ const { Navigation: c } = await import("./index.D6IWh9UY.js");
569
+ d.swiperParams.modules?.push(c);
570
+ const h = {
571
+ ...a.swiperOptions.navigation.nextEl ?? {
572
+ nextEl: ".swiper-button-next"
573
+ },
574
+ ...a.swiperOptions.navigation.prevEl ?? {
575
+ prevEl: ".swiper-button-prev"
576
+ }
577
+ };
578
+ d.swiperParams.navigation = {
579
+ ...typeof a.swiperOptions.navigation == "object" ? a.swiperOptions.navigation : {},
580
+ ...h
581
+ };
582
+ }
583
+ if (i.value) {
584
+ const { Autoplay: c } = await import("./index.D6IWh9UY.js");
585
+ d.swiperParams.modules?.push(c), d.swiperParams.autoplay = a.swiperOptions.autoplay;
586
+ }
587
+ const l = {
588
+ ...d.swiperParams,
589
+ on: {
590
+ slideChange: (c) => {
591
+ J(c.activeIndex), v("moved", { activeIndex: c.activeIndex });
592
+ }
593
+ }
594
+ };
595
+ let f = null;
596
+ if (a.thumbSwiperOptions) {
597
+ const { Thumbs: c, FreeMode: h, Controller: E } = await import("./index.D6IWh9UY.js");
598
+ d.swiperParams.modules?.push(c), d.swiperParams.modules?.push(E), f = new Se(`#thumb_${a.id}`, {
599
+ ...a.thumbSwiperOptions,
600
+ modules: [h]
601
+ }), l.thumbs = {
602
+ swiper: f
603
+ };
604
+ }
605
+ l.lazyPreloadPrevNext = 1, d.swiper = new Se(`#${a.id}`, l), g.value?.classList.remove("uikit-hidden");
606
+ }), (l, f) => (Y(), M("div", {
607
+ id: `root-${l.id}`,
608
+ ref_key: "root",
609
+ ref: N,
610
+ class: $(["swiper-carousel-root", l.$attrs["root-classes"]])
611
+ }, [
612
+ D("div", {
613
+ id: l.id,
614
+ "data-cy": l.$attrs["data-cy"],
615
+ class: $(["swiper", l.$attrs["swiper-classes"]])
616
+ }, [
617
+ D("div", {
618
+ ref_key: "swiperWrapper",
619
+ ref: g,
620
+ class: $(["swiper-wrapper", [
621
+ l.$attrs["swiper-wrapper-classes"],
622
+ p.value === "none" && "no-transition"
623
+ ]]),
624
+ onClick: f[0] || (f[0] = (c) => v("click"))
625
+ }, [
626
+ Ee(l.$slots, "default", {}, () => [
627
+ (Y(!0), M(re, null, ye(l.images, (c, h) => (Y(), M("div", {
628
+ key: `swiper_${l.id}_${h}`,
629
+ class: $(["swiper-slide", l.$attrs["swiper-slide-classes"]])
630
+ }, [
631
+ D("div", {
632
+ class: $(["swiper-zoom-container", l.$attrs["swiper-zoom-container-classes"]])
633
+ }, [
634
+ l.backgroundImage ? _("", !0) : (Y(), M("img", be({
635
+ key: 0,
636
+ ref_for: !0,
637
+ ref: (E) => {
638
+ W.push(E);
639
+ },
640
+ class: ["disable-select", [l.$attrs["slide-img-classes"] || c.classes]],
641
+ "data-idx": `${l.id}-slide-img-${h}`
642
+ }, F(c, h), {
643
+ loading: l.lazyLoadImages || h >= y.value ? "lazy" : void 0,
644
+ alt: c.alt,
645
+ itemprop: "image",
646
+ width: c.width,
647
+ height: c.height,
648
+ onLoad: (E) => R(h)
649
+ }), null, 16, Fe))
650
+ ], 2)
651
+ ], 2))), 128)),
652
+ Ee(l.$slots, "last_slide", {}, void 0, !0)
653
+ ], !0)
654
+ ], 2),
655
+ t.value ? (Y(), M("div", {
656
+ key: 0,
657
+ class: $([l.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
658
+ onClick: f[1] || (f[1] = ne(() => {
659
+ }, ["stop"]))
660
+ }, null, 2)) : _("", !0),
661
+ m.value ? (Y(), M(re, { key: 1 }, [
662
+ D("div", {
663
+ class: "swiper-button-prev",
664
+ "data-cy": "swiper-button-prev",
665
+ onClick: f[2] || (f[2] = ne(() => {
666
+ }, ["stop"]))
667
+ }),
668
+ D("div", {
669
+ class: "swiper-button-next",
670
+ "data-cy": "swiper-button-next",
671
+ onClick: f[3] || (f[3] = ne(() => {
672
+ }, ["stop"]))
673
+ })
674
+ ], 64)) : _("", !0)
675
+ ], 10, He),
676
+ l.thumbSwiperOptions ? (Y(), M("div", {
677
+ key: 0,
678
+ id: `thumb_${l.id}`,
679
+ thumbsSlider: "",
680
+ class: $(["swiper", l.$attrs["thumb-swiper-classes"]])
681
+ }, [
682
+ D("div", {
683
+ class: $(["swiper-wrapper", l.$attrs["thumb-swiper-wrapper-classes"]])
684
+ }, [
685
+ (Y(!0), M(re, null, ye(l.images, (c, h) => (Y(), M("div", {
686
+ key: `thumb_${l.id}_${h}`,
687
+ class: $(["swiper-slide", l.$attrs["thumb-img-wrapper-classes"]])
688
+ }, [
689
+ D("img", be({
690
+ class: l.$attrs["thumb-img-classes"],
691
+ ref_for: !0
692
+ }, F(c), {
693
+ loading: h >= T.value ? "lazy" : void 0,
694
+ alt: c.alt
695
+ }), null, 16, qe)
696
+ ], 2))), 128))
697
+ ], 2)
698
+ ], 10, je)) : _("", !0)
699
+ ], 10, Ae));
700
+ }
701
+ }), nt = /* @__PURE__ */ Le(Be, [["__scopeId", "data-v-78c82660"]]);
702
+ export {
703
+ nt as S,
704
+ Re as Z,
705
+ V as a,
706
+ Xe as b,
707
+ ze as c,
708
+ Ue as d,
709
+ se as e,
710
+ it as f,
711
+ Oe as g,
712
+ et as h,
713
+ tt as i,
714
+ Qe as j,
715
+ Je as k,
716
+ rt as m,
717
+ _e as n
718
+ };