@leaflink/stash 48.16.1 → 48.17.0

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 (270) hide show
  1. package/dist/Accordion.js +1 -1
  2. package/dist/Accordion.js.map +1 -1
  3. package/dist/Accordion.vue.d.ts +8 -9
  4. package/dist/ActionsDropdown.js.map +1 -1
  5. package/dist/ActionsDropdown.vue.d.ts +7 -8
  6. package/dist/AddressSelect.js +42 -38
  7. package/dist/AddressSelect.js.map +1 -1
  8. package/dist/AddressSelect.vue.d.ts +10 -11
  9. package/dist/Alert.js.map +1 -1
  10. package/dist/Alert.vue.d.ts +6 -7
  11. package/dist/AppNavigationItem.js +2 -2
  12. package/dist/AppNavigationItem.js.map +1 -1
  13. package/dist/AppNavigationItem.vue.d.ts +7 -8
  14. package/dist/AppSidebar.js +42 -42
  15. package/dist/AppSidebar.js.map +1 -1
  16. package/dist/AppSidebar.vue.d.ts +8 -9
  17. package/dist/AppTopbar.js +16 -16
  18. package/dist/AppTopbar.js.map +1 -1
  19. package/dist/AppTopbar.vue.d.ts +8 -9
  20. package/dist/Avatar.js.map +1 -1
  21. package/dist/Avatar.vue.d.ts +7 -8
  22. package/dist/Backdrop.vue.d.ts +3 -5
  23. package/dist/Badge.js +1 -1
  24. package/dist/Badge.js.map +1 -1
  25. package/dist/Badge.vue.d.ts +7 -8
  26. package/dist/Box.vue.d.ts +6 -7
  27. package/dist/Box.vue_vue_type_script_setup_true_lang-69e5176b.js.map +1 -1
  28. package/dist/Button.js.map +1 -1
  29. package/dist/Button.vue.d.ts +7 -8
  30. package/dist/ButtonGroup.js +29 -29
  31. package/dist/ButtonGroup.js.map +1 -1
  32. package/dist/ButtonGroup.vue.d.ts +8 -9
  33. package/dist/Card.js.map +1 -1
  34. package/dist/Card.vue.d.ts +6 -7
  35. package/dist/CardContent.vue.d.ts +3 -5
  36. package/dist/CardFooter.vue.d.ts +3 -5
  37. package/dist/CardHeader.js.map +1 -1
  38. package/dist/CardHeader.vue.d.ts +3 -4
  39. package/dist/CardMedia.js +6 -6
  40. package/dist/CardMedia.js.map +1 -1
  41. package/dist/CardMedia.vue.d.ts +3 -4
  42. package/dist/Carousel.js +249 -249
  43. package/dist/Carousel.js.map +1 -1
  44. package/dist/Carousel.vue.d.ts +9 -9
  45. package/dist/Checkbox.js +27 -27
  46. package/dist/Checkbox.js.map +1 -1
  47. package/dist/Checkbox.vue.d.ts +11 -12
  48. package/dist/ChevronToggle.js +1 -1
  49. package/dist/ChevronToggle.vue.d.ts +8 -9
  50. package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-1591294c.js → ChevronToggle.vue_vue_type_script_setup_true_lang-fcdf0c19.js} +11 -11
  51. package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-1591294c.js.map → ChevronToggle.vue_vue_type_script_setup_true_lang-fcdf0c19.js.map} +1 -1
  52. package/dist/Chip.js +30 -30
  53. package/dist/Chip.js.map +1 -1
  54. package/dist/Chip.vue.d.ts +9 -10
  55. package/dist/ConfirmationCodeInput.js +128 -105
  56. package/dist/ConfirmationCodeInput.js.map +1 -1
  57. package/dist/ConfirmationCodeInput.vue.d.ts +36 -11
  58. package/dist/ContextSwitcher.js +18 -18
  59. package/dist/ContextSwitcher.js.map +1 -1
  60. package/dist/ContextSwitcher.vue.d.ts +9 -10
  61. package/dist/Copy.js.map +1 -1
  62. package/dist/Copy.vue.d.ts +6 -7
  63. package/dist/CurrencyInput.js +93 -93
  64. package/dist/CurrencyInput.js.map +1 -1
  65. package/dist/CurrencyInput.vue.d.ts +10 -11
  66. package/dist/CustomRender.vue.d.ts +3 -15
  67. package/dist/DataView.js +97 -97
  68. package/dist/DataView.js.map +1 -1
  69. package/dist/DataView.vue.d.ts +9 -10
  70. package/dist/DataViewFilters.js +153 -150
  71. package/dist/DataViewFilters.js.map +1 -1
  72. package/dist/DataViewFilters.vue.d.ts +9 -10
  73. package/dist/DataViewSortButton.js.map +1 -1
  74. package/dist/DataViewSortButton.vue.d.ts +6 -7
  75. package/dist/DataViewToolbar.js +27 -27
  76. package/dist/DataViewToolbar.js.map +1 -1
  77. package/dist/DataViewToolbar.vue.d.ts +8 -9
  78. package/dist/DatePicker.js +738 -738
  79. package/dist/DatePicker.js.map +1 -1
  80. package/dist/DatePicker.vue.d.ts +11 -12
  81. package/dist/DescriptionList.js.map +1 -1
  82. package/dist/DescriptionList.vue.d.ts +6 -7
  83. package/dist/DescriptionListDetail.vue.d.ts +3 -5
  84. package/dist/DescriptionListGroup.vue.d.ts +3 -5
  85. package/dist/DescriptionListTerm.vue.d.ts +3 -5
  86. package/dist/Dialog.js +44 -44
  87. package/dist/Dialog.js.map +1 -1
  88. package/dist/Dialog.vue.d.ts +10 -11
  89. package/dist/Divider.vue.d.ts +3 -5
  90. package/dist/Dropdown.js +38 -38
  91. package/dist/Dropdown.js.map +1 -1
  92. package/dist/Dropdown.vue.d.ts +9 -10
  93. package/dist/EmptyState.js +20 -20
  94. package/dist/EmptyState.js.map +1 -1
  95. package/dist/EmptyState.vue.d.ts +6 -7
  96. package/dist/Expand.js +1 -1
  97. package/dist/Expand.vue.d.ts +8 -9
  98. package/dist/{Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js → Expand.vue_vue_type_script_setup_true_lang-0f236267.js} +19 -19
  99. package/dist/Expand.vue_vue_type_script_setup_true_lang-0f236267.js.map +1 -0
  100. package/dist/Field.vue.d.ts +6 -7
  101. package/dist/Field.vue_vue_type_script_setup_true_lang-e1e4ff03.js.map +1 -1
  102. package/dist/FileUpload.js +65 -65
  103. package/dist/FileUpload.js.map +1 -1
  104. package/dist/FileUpload.vue.d.ts +10 -11
  105. package/dist/FilterChip.js +27 -27
  106. package/dist/FilterChip.js.map +1 -1
  107. package/dist/FilterChip.vue.d.ts +8 -9
  108. package/dist/FilterDrawerItem.js +26 -26
  109. package/dist/FilterDrawerItem.js.map +1 -1
  110. package/dist/FilterDrawerItem.vue.d.ts +5 -6
  111. package/dist/FilterDropdown.js +49 -49
  112. package/dist/FilterDropdown.js.map +1 -1
  113. package/dist/FilterDropdown.vue.d.ts +8 -9
  114. package/dist/FilterSelect.js +23 -23
  115. package/dist/FilterSelect.js.map +1 -1
  116. package/dist/FilterSelect.vue.d.ts +8 -9
  117. package/dist/Filters.js +112 -104
  118. package/dist/Filters.js.map +1 -1
  119. package/dist/Filters.vue.d.ts +2204 -65
  120. package/dist/HttpError.js +42 -42
  121. package/dist/HttpError.js.map +1 -1
  122. package/dist/HttpError.vue.d.ts +6 -7
  123. package/dist/Icon.js.map +1 -1
  124. package/dist/Icon.vue.d.ts +7 -8
  125. package/dist/IconLabel.js.map +1 -1
  126. package/dist/IconLabel.vue.d.ts +8 -9
  127. package/dist/Illustration.vue.d.ts +6 -7
  128. package/dist/Illustration.vue_vue_type_script_setup_true_lang-e26c3841.js.map +1 -1
  129. package/dist/Image.js +47 -47
  130. package/dist/Image.js.map +1 -1
  131. package/dist/Image.vue.d.ts +6 -7
  132. package/dist/InlineEdit.js +34 -34
  133. package/dist/InlineEdit.js.map +1 -1
  134. package/dist/InlineEdit.vue.d.ts +9 -10
  135. package/dist/Input.js +35 -35
  136. package/dist/Input.js.map +1 -1
  137. package/dist/Input.vue.d.ts +13 -14
  138. package/dist/InputOptions.js +33 -33
  139. package/dist/InputOptions.js.map +1 -1
  140. package/dist/InputOptions.vue.d.ts +8 -9
  141. package/dist/IntegrationIcon.js.map +1 -1
  142. package/dist/IntegrationIcon.vue.d.ts +7 -8
  143. package/dist/Label.vue.d.ts +6 -7
  144. package/dist/Label.vue_vue_type_script_setup_true_lang-4b02087f.js.map +1 -1
  145. package/dist/LicenseChip.js.map +1 -1
  146. package/dist/LicenseChip.vue.d.ts +6 -7
  147. package/dist/ListItem.vue.d.ts +225 -95
  148. package/dist/ListItemCell.vue.d.ts +4 -16
  149. package/dist/ListView.js +1 -1
  150. package/dist/ListView.vue.d.ts +5072 -470
  151. package/dist/Loading.js +16 -16
  152. package/dist/Loading.js.map +1 -1
  153. package/dist/Loading.vue.d.ts +3 -5
  154. package/dist/Logo.js +1 -1
  155. package/dist/Logo.vue.d.ts +9 -10
  156. package/dist/Logo.vue_vue_type_script_setup_true_lang-2a2597cb.js +196 -0
  157. package/dist/Logo.vue_vue_type_script_setup_true_lang-2a2597cb.js.map +1 -0
  158. package/dist/Menu.vue.d.ts +3 -5
  159. package/dist/MenuItem.vue.d.ts +3 -5
  160. package/dist/Metric.js.map +1 -1
  161. package/dist/Metric.vue.d.ts +6 -7
  162. package/dist/Modal.js +29 -29
  163. package/dist/Modal.js.map +1 -1
  164. package/dist/Modal.vue.d.ts +8 -9
  165. package/dist/Modals.js +8 -7
  166. package/dist/Modals.js.map +1 -1
  167. package/dist/Modals.vue.d.ts +3 -5
  168. package/dist/Module.js.map +1 -1
  169. package/dist/Module.vue.d.ts +7 -8
  170. package/dist/ModuleContent.vue.d.ts +3 -5
  171. package/dist/ModuleFooter.vue.d.ts +3 -5
  172. package/dist/ModuleHeader.js.map +1 -1
  173. package/dist/ModuleHeader.vue.d.ts +6 -7
  174. package/dist/ObfuscateText.js +1 -1
  175. package/dist/ObfuscateText.js.map +1 -1
  176. package/dist/ObfuscateText.vue.d.ts +6 -7
  177. package/dist/PageContent.vue.d.ts +3 -5
  178. package/dist/PageHeader.js.map +1 -1
  179. package/dist/PageHeader.vue.d.ts +6 -7
  180. package/dist/PageNavigation.js +30 -27
  181. package/dist/PageNavigation.js.map +1 -1
  182. package/dist/PageNavigation.vue.d.ts +8 -9
  183. package/dist/Paginate.js +32 -32
  184. package/dist/Paginate.js.map +1 -1
  185. package/dist/Paginate.vue.d.ts +8 -9
  186. package/dist/PlaidLink.js +29 -29
  187. package/dist/PlaidLink.js.map +1 -1
  188. package/dist/PlaidLink.vue.d.ts +11 -12
  189. package/dist/QuickAction.js.map +1 -1
  190. package/dist/QuickAction.vue.d.ts +4 -5
  191. package/dist/Radio.vue.d.ts +20 -1
  192. package/dist/RadioGroup.js +123 -123
  193. package/dist/RadioGroup.js.map +1 -1
  194. package/dist/RadioGroup.vue.d.ts +10 -11
  195. package/dist/RadioNew.js +102 -102
  196. package/dist/RadioNew.js.map +1 -1
  197. package/dist/RadioNew.vue.d.ts +10 -11
  198. package/dist/RangeInput.vue.d.ts +3 -5
  199. package/dist/SearchBar.js +36 -36
  200. package/dist/SearchBar.js.map +1 -1
  201. package/dist/SearchBar.vue.d.ts +9 -10
  202. package/dist/Select.js +792 -774
  203. package/dist/Select.js.map +1 -1
  204. package/dist/Select.vue.d.ts +14 -15
  205. package/dist/SelectStatus.js +27 -27
  206. package/dist/SelectStatus.js.map +1 -1
  207. package/dist/SelectStatus.vue.d.ts +12 -13
  208. package/dist/Skeleton.js.map +1 -1
  209. package/dist/Skeleton.vue.d.ts +7 -8
  210. package/dist/Step.js.map +1 -1
  211. package/dist/Step.vue.d.ts +7 -8
  212. package/dist/Stepper.js +19 -19
  213. package/dist/Stepper.js.map +1 -1
  214. package/dist/Stepper.vue.d.ts +9 -10
  215. package/dist/Switch.js +25 -25
  216. package/dist/Switch.js.map +1 -1
  217. package/dist/Switch.vue.d.ts +11 -12
  218. package/dist/Tab.js +2 -2
  219. package/dist/Tab.vue.d.ts +3 -4
  220. package/dist/{Tab.vue_vue_type_script_setup_true_lang-69d1b046.js → Tab.vue_vue_type_script_setup_true_lang-9aa53203.js} +5 -3
  221. package/dist/Tab.vue_vue_type_script_setup_true_lang-9aa53203.js.map +1 -0
  222. package/dist/Table.js +3 -3
  223. package/dist/Table.js.map +1 -1
  224. package/dist/{Table.keys-cf93df19.js → Table.keys-83e4f09b.js} +11 -11
  225. package/dist/{Table.keys-cf93df19.js.map → Table.keys-83e4f09b.js.map} +1 -1
  226. package/dist/Table.vue.d.ts +6 -7
  227. package/dist/TableCell.js +1 -1
  228. package/dist/TableCell.js.map +1 -1
  229. package/dist/TableCell.vue.d.ts +6 -7
  230. package/dist/TableHeaderCell.js +12 -12
  231. package/dist/TableHeaderCell.js.map +1 -1
  232. package/dist/TableHeaderCell.vue.d.ts +6 -7
  233. package/dist/TableHeaderRow.js +21 -21
  234. package/dist/TableHeaderRow.js.map +1 -1
  235. package/dist/TableHeaderRow.vue.d.ts +8 -9
  236. package/dist/TableRow.js +42 -42
  237. package/dist/TableRow.js.map +1 -1
  238. package/dist/TableRow.vue.d.ts +8 -9
  239. package/dist/Tabs.js +2 -2
  240. package/dist/Tabs.vue.d.ts +8 -9
  241. package/dist/{Tabs.vue_used_vue_type_style_index_0_lang.module-2a131332.js → Tabs.vue_used_vue_type_style_index_0_lang.module-3aa36673.js} +37 -37
  242. package/dist/Tabs.vue_used_vue_type_style_index_0_lang.module-3aa36673.js.map +1 -0
  243. package/dist/TextEditor.js +565 -565
  244. package/dist/TextEditor.js.map +1 -1
  245. package/dist/TextEditor.vue.d.ts +12 -13
  246. package/dist/Textarea.js +28 -28
  247. package/dist/Textarea.js.map +1 -1
  248. package/dist/Textarea.vue.d.ts +10 -11
  249. package/dist/Timeline.js.map +1 -1
  250. package/dist/Timeline.vue.d.ts +6 -7
  251. package/dist/TimelineItem.js +21 -21
  252. package/dist/TimelineItem.js.map +1 -1
  253. package/dist/TimelineItem.vue.d.ts +13 -6
  254. package/dist/Toast.js +134 -134
  255. package/dist/Toast.js.map +1 -1
  256. package/dist/Toast.vue.d.ts +6 -7
  257. package/dist/Toasts.vue.d.ts +3 -5
  258. package/dist/components.css +1 -1
  259. package/dist/index.js.map +1 -1
  260. package/dist/tailwind-base.js.map +1 -1
  261. package/dist/usePlaidLink.d.ts +1 -6
  262. package/dist/useScriptTag.d.ts +3 -8
  263. package/dist/useStepper.d.ts +7 -2
  264. package/package.json +1 -1
  265. package/tailwind-base.ts +13 -6
  266. package/dist/Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js.map +0 -1
  267. package/dist/Logo.vue_vue_type_script_setup_true_lang-d7da48a0.js +0 -196
  268. package/dist/Logo.vue_vue_type_script_setup_true_lang-d7da48a0.js.map +0 -1
  269. package/dist/Tab.vue_vue_type_script_setup_true_lang-69d1b046.js.map +0 -1
  270. package/dist/Tabs.vue_used_vue_type_style_index_0_lang.module-2a131332.js.map +0 -1
package/dist/Carousel.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as Y, inject as b, reactive as L, ref as d, h as y, provide as C, onMounted as Le, nextTick as Ie, onUnmounted as Ee, computed as ye, watch as oe, cloneVNode as xe, Fragment as B, useAttrs as Be, useCssModule as De, openBlock as k, createElementBlock as j, createVNode as Re, unref as S, mergeProps as Pe, withCtx as ae, createBlock as ke, createCommentVNode as Te, renderList as le, renderSlot as Ve, createElementVNode as Ae, normalizeClass as H } from "vue";
2
- import { t as E } from "./locale.js";
1
+ import { defineComponent as Y, inject as b, reactive as L, ref as c, h as y, provide as C, onMounted as Le, nextTick as Ie, onUnmounted as Ee, computed as ye, watch as oe, cloneVNode as xe, Fragment as D, useAttrs as Be, useCssModule as De, openBlock as k, createElementBlock as j, createVNode as Re, unref as S, mergeProps as Pe, withCtx as ae, createBlock as ke, createCommentVNode as Te, renderList as le, renderSlot as Ve, createElementVNode as Ae, normalizeClass as H } from "vue";
2
+ import { t as B } from "./locale.js";
3
3
  import { _ as $e } from "./_plugin-vue_export-helper-dad06003.js";
4
4
  import "lodash-es/get";
5
5
  /**
@@ -7,7 +7,7 @@ import "lodash-es/get";
7
7
  * (c) 2023
8
8
  * @license MIT
9
9
  */
10
- const p = {
10
+ const f = {
11
11
  itemsToShow: 1,
12
12
  itemsToScroll: 1,
13
13
  modelValue: 0,
@@ -35,49 +35,49 @@ const p = {
35
35
  }, Ce = {
36
36
  // count of items to showed per view
37
37
  itemsToShow: {
38
- default: p.itemsToShow,
38
+ default: f.itemsToShow,
39
39
  type: Number
40
40
  },
41
41
  // count of items to be scrolled
42
42
  itemsToScroll: {
43
- default: p.itemsToScroll,
43
+ default: f.itemsToScroll,
44
44
  type: Number
45
45
  },
46
46
  // control infinite scrolling mode
47
47
  wrapAround: {
48
- default: p.wrapAround,
48
+ default: f.wrapAround,
49
49
  type: Boolean
50
50
  },
51
51
  // control max drag
52
52
  throttle: {
53
- default: p.throttle,
53
+ default: f.throttle,
54
54
  type: Number
55
55
  },
56
56
  // control snap position alignment
57
57
  snapAlign: {
58
- default: p.snapAlign,
59
- validator(t) {
60
- return ["start", "end", "center", "center-even", "center-odd"].includes(t);
58
+ default: f.snapAlign,
59
+ validator(e) {
60
+ return ["start", "end", "center", "center-even", "center-odd"].includes(e);
61
61
  }
62
62
  },
63
63
  // sliding transition time in ms
64
64
  transition: {
65
- default: p.transition,
65
+ default: f.transition,
66
66
  type: Number
67
67
  },
68
68
  // an object to store breakpoints
69
69
  breakpoints: {
70
- default: p.breakpoints,
70
+ default: f.breakpoints,
71
71
  type: Object
72
72
  },
73
73
  // time to auto advance slides in ms
74
74
  autoplay: {
75
- default: p.autoplay,
75
+ default: f.autoplay,
76
76
  type: Number
77
77
  },
78
78
  // pause autoplay when mouse hover over the carousel
79
79
  pauseAutoplayOnHover: {
80
- default: p.pauseAutoplayOnHover,
80
+ default: f.pauseAutoplayOnHover,
81
81
  type: Boolean
82
82
  },
83
83
  // slide number number of initial slide
@@ -87,24 +87,24 @@ const p = {
87
87
  },
88
88
  // toggle mouse dragging.
89
89
  mouseDrag: {
90
- default: p.mouseDrag,
90
+ default: f.mouseDrag,
91
91
  type: Boolean
92
92
  },
93
93
  // toggle mouse dragging.
94
94
  touchDrag: {
95
- default: p.touchDrag,
95
+ default: f.touchDrag,
96
96
  type: Boolean
97
97
  },
98
98
  // control snap position alignment
99
99
  dir: {
100
- default: p.dir,
101
- validator(t) {
102
- return ["rtl", "ltr"].includes(t);
100
+ default: f.dir,
101
+ validator(e) {
102
+ return ["rtl", "ltr"].includes(e);
103
103
  }
104
104
  },
105
105
  // aria-labels and additional text labels
106
106
  i18n: {
107
- default: p.i18n,
107
+ default: f.i18n,
108
108
  type: Object
109
109
  },
110
110
  // an object to pass all settings
@@ -115,171 +115,171 @@ const p = {
115
115
  type: Object
116
116
  }
117
117
  };
118
- function Ue({ config: t, slidesCount: n }) {
119
- const { snapAlign: e, wrapAround: a, itemsToShow: r = 1 } = t;
118
+ function Ue({ config: e, slidesCount: n }) {
119
+ const { snapAlign: t, wrapAround: a, itemsToShow: s = 1 } = e;
120
120
  if (a)
121
121
  return Math.max(n - 1, 0);
122
- let i;
123
- switch (e) {
122
+ let r;
123
+ switch (t) {
124
124
  case "start":
125
- i = n - r;
125
+ r = n - s;
126
126
  break;
127
127
  case "end":
128
- i = n - 1;
128
+ r = n - 1;
129
129
  break;
130
130
  case "center":
131
131
  case "center-odd":
132
- i = n - Math.ceil((r - 0.5) / 2);
132
+ r = n - Math.ceil((s - 0.5) / 2);
133
133
  break;
134
134
  case "center-even":
135
- i = n - Math.ceil(r / 2);
135
+ r = n - Math.ceil(s / 2);
136
136
  break;
137
137
  default:
138
- i = 0;
138
+ r = 0;
139
139
  break;
140
140
  }
141
- return Math.max(i, 0);
141
+ return Math.max(r, 0);
142
142
  }
143
- function Xe({ config: t, slidesCount: n }) {
144
- const { wrapAround: e, snapAlign: a, itemsToShow: r = 1 } = t;
145
- let i = 0;
146
- if (e || r > n)
147
- return i;
143
+ function Xe({ config: e, slidesCount: n }) {
144
+ const { wrapAround: t, snapAlign: a, itemsToShow: s = 1 } = e;
145
+ let r = 0;
146
+ if (t || s > n)
147
+ return r;
148
148
  switch (a) {
149
149
  case "start":
150
- i = 0;
150
+ r = 0;
151
151
  break;
152
152
  case "end":
153
- i = r - 1;
153
+ r = s - 1;
154
154
  break;
155
155
  case "center":
156
156
  case "center-odd":
157
- i = Math.floor((r - 1) / 2);
157
+ r = Math.floor((s - 1) / 2);
158
158
  break;
159
159
  case "center-even":
160
- i = Math.floor((r - 2) / 2);
160
+ r = Math.floor((s - 2) / 2);
161
161
  break;
162
162
  default:
163
- i = 0;
163
+ r = 0;
164
164
  break;
165
165
  }
166
- return i;
166
+ return r;
167
167
  }
168
- function ie({ val: t, max: n, min: e }) {
169
- return n < e ? t : Math.min(Math.max(t, e), n);
168
+ function ie({ val: e, max: n, min: t }) {
169
+ return n < t ? e : Math.min(Math.max(e, t), n);
170
170
  }
171
- function ze({ config: t, currentSlide: n, slidesCount: e }) {
172
- const { snapAlign: a, wrapAround: r, itemsToShow: i = 1 } = t;
173
- let m = n;
171
+ function ze({ config: e, currentSlide: n, slidesCount: t }) {
172
+ const { snapAlign: a, wrapAround: s, itemsToShow: r = 1 } = e;
173
+ let p = n;
174
174
  switch (a) {
175
175
  case "center":
176
176
  case "center-odd":
177
- m -= (i - 1) / 2;
177
+ p -= (r - 1) / 2;
178
178
  break;
179
179
  case "center-even":
180
- m -= (i - 2) / 2;
180
+ p -= (r - 2) / 2;
181
181
  break;
182
182
  case "end":
183
- m -= i - 1;
183
+ p -= r - 1;
184
184
  break;
185
185
  }
186
- return r ? m : ie({
187
- val: m,
188
- max: e - i,
186
+ return s ? p : ie({
187
+ val: p,
188
+ max: t - r,
189
189
  min: 0
190
190
  });
191
191
  }
192
- function je(t) {
193
- return t ? t.reduce((n, e) => {
192
+ function je(e) {
193
+ return e ? e.reduce((n, t) => {
194
194
  var a;
195
- return e.type === B ? [...n, ...je(e.children)] : ((a = e.type) === null || a === void 0 ? void 0 : a.name) === "CarouselSlide" ? [...n, e] : n;
195
+ return t.type === D ? [...n, ...je(t.children)] : ((a = t.type) === null || a === void 0 ? void 0 : a.name) === "CarouselSlide" ? [...n, t] : n;
196
196
  }, []) : [];
197
197
  }
198
- function re({ val: t, max: n, min: e = 0 }) {
199
- return t > n ? re({ val: t - (n + 1), max: n, min: e }) : t < e ? re({ val: t + (n + 1), max: n, min: e }) : t;
198
+ function re({ val: e, max: n, min: t = 0 }) {
199
+ return e > n ? re({ val: e - (n + 1), max: n, min: t }) : e < t ? re({ val: e + (n + 1), max: n, min: t }) : e;
200
200
  }
201
- function He(t, n) {
202
- let e;
201
+ function He(e, n) {
202
+ let t;
203
203
  return n ? function(...a) {
204
- const r = this;
205
- e || (t.apply(r, a), e = !0, setTimeout(() => e = !1, n));
206
- } : t;
204
+ const s = this;
205
+ t || (e.apply(s, a), t = !0, setTimeout(() => t = !1, n));
206
+ } : e;
207
207
  }
208
- function Ye(t, n) {
209
- let e;
208
+ function Ye(e, n) {
209
+ let t;
210
210
  return function(...a) {
211
- e && clearTimeout(e), e = setTimeout(() => {
212
- t(...a), e = null;
211
+ t && clearTimeout(t), t = setTimeout(() => {
212
+ e(...a), t = null;
213
213
  }, n);
214
214
  };
215
215
  }
216
- function We(t = "", n = {}) {
217
- return Object.entries(n).reduce((e, [a, r]) => e.replace(`{${a}}`, String(r)), t);
216
+ function We(e = "", n = {}) {
217
+ return Object.entries(n).reduce((t, [a, s]) => t.replace(`{${a}}`, String(s)), e);
218
218
  }
219
219
  var Ge = Y({
220
220
  name: "ARIA",
221
221
  setup() {
222
- const t = b("config", L(Object.assign({}, p))), n = b("currentSlide", d(0)), e = b("slidesCount", d(0));
222
+ const e = b("config", L(Object.assign({}, f))), n = b("currentSlide", c(0)), t = b("slidesCount", c(0));
223
223
  return () => y("div", {
224
224
  class: ["carousel__liveregion", "carousel__sr-only"],
225
225
  "aria-live": "polite",
226
226
  "aria-atomic": "true"
227
- }, We(t.i18n.itemXofY, {
227
+ }, We(e.i18n.itemXofY, {
228
228
  currentSlide: n.value + 1,
229
- slidesCount: e.value
229
+ slidesCount: t.value
230
230
  }));
231
231
  }
232
232
  }), Fe = Y({
233
233
  name: "Carousel",
234
234
  props: Ce,
235
- setup(t, { slots: n, emit: e, expose: a }) {
236
- var r;
237
- const i = d(null), m = d([]), c = d(0), v = d(0), l = L(Object.assign({}, p));
238
- let w = Object.assign({}, p), s;
239
- const u = d((r = t.modelValue) !== null && r !== void 0 ? r : 0), g = d(0), _ = d(0), T = d(0), D = d(0);
240
- let I, W;
241
- C("config", l), C("slidesCount", v), C("currentSlide", u), C("maxSlide", T), C("minSlide", D), C("slideWidth", c);
235
+ setup(e, { slots: n, emit: t, expose: a }) {
236
+ var s;
237
+ const r = c(null), p = c([]), g = c(0), u = c(0), i = L(Object.assign({}, f));
238
+ let h = Object.assign({}, f), _;
239
+ const l = c((s = e.modelValue) !== null && s !== void 0 ? s : 0), T = c(0), w = c(0), d = c(0), I = c(0);
240
+ let E, W;
241
+ C("config", i), C("slidesCount", u), C("currentSlide", l), C("maxSlide", d), C("minSlide", I), C("slideWidth", g);
242
242
  function G() {
243
- s = Object.assign({}, t.breakpoints), w = Object.assign(Object.assign(Object.assign({}, w), t), { i18n: Object.assign(Object.assign({}, w.i18n), t.i18n), breakpoints: void 0 }), ce(w);
243
+ _ = Object.assign({}, e.breakpoints), h = Object.assign(Object.assign(Object.assign({}, h), e), { i18n: Object.assign(Object.assign({}, h.i18n), e.i18n), breakpoints: void 0 }), ce(h);
244
244
  }
245
245
  function V() {
246
- if (!s || !Object.keys(s).length)
246
+ if (!_ || !Object.keys(_).length)
247
247
  return;
248
- const o = Object.keys(s).map((f) => Number(f)).sort((f, A) => +A - +f);
249
- let h = Object.assign({}, w);
250
- o.some((f) => {
251
- const A = window.matchMedia(`(min-width: ${f}px)`).matches;
252
- return A && (h = Object.assign(Object.assign({}, h), s[f])), A;
253
- }), ce(h);
248
+ const o = Object.keys(_).map((v) => Number(v)).sort((v, A) => +A - +v);
249
+ let m = Object.assign({}, h);
250
+ o.some((v) => {
251
+ const A = window.matchMedia(`(min-width: ${v}px)`).matches;
252
+ return A && (m = Object.assign(Object.assign({}, m), _[v])), A;
253
+ }), ce(m);
254
254
  }
255
255
  function ce(o) {
256
- Object.entries(o).forEach(([h, f]) => l[h] = f);
256
+ Object.entries(o).forEach(([m, v]) => i[m] = v);
257
257
  }
258
258
  const de = Ye(() => {
259
259
  V(), R();
260
260
  }, 16);
261
261
  function R() {
262
- if (!i.value)
262
+ if (!r.value)
263
263
  return;
264
- const o = i.value.getBoundingClientRect();
265
- c.value = o.width / l.itemsToShow;
264
+ const o = r.value.getBoundingClientRect();
265
+ g.value = o.width / i.itemsToShow;
266
266
  }
267
267
  function F() {
268
- v.value <= 0 || (_.value = Math.ceil((v.value - 1) / 2), T.value = Ue({ config: l, slidesCount: v.value }), D.value = Xe({ config: l, slidesCount: v.value }), l.wrapAround || (u.value = ie({
269
- val: u.value,
270
- max: T.value,
271
- min: D.value
268
+ u.value <= 0 || (w.value = Math.ceil((u.value - 1) / 2), d.value = Ue({ config: i, slidesCount: u.value }), I.value = Xe({ config: i, slidesCount: u.value }), i.wrapAround || (l.value = ie({
269
+ val: l.value,
270
+ max: d.value,
271
+ min: I.value
272
272
  })));
273
273
  }
274
274
  Le(() => {
275
- Ie(() => R()), setTimeout(() => R(), 1e3), V(), me(), window.addEventListener("resize", de, { passive: !0 }), e("init");
275
+ Ie(() => R()), setTimeout(() => R(), 1e3), V(), me(), window.addEventListener("resize", de, { passive: !0 }), t("init");
276
276
  }), Ee(() => {
277
- W && clearTimeout(W), I && clearInterval(I), window.removeEventListener("resize", de, {
277
+ W && clearTimeout(W), E && clearInterval(E), window.removeEventListener("resize", de, {
278
278
  passive: !0
279
279
  });
280
280
  });
281
281
  let x = !1;
282
- const $ = { x: 0, y: 0 }, U = { x: 0, y: 0 }, M = L({ x: 0, y: 0 }), X = d(!1), q = d(!1), Me = () => {
282
+ const $ = { x: 0, y: 0 }, U = { x: 0, y: 0 }, M = L({ x: 0, y: 0 }), X = c(!1), q = c(!1), Me = () => {
283
283
  X.value = !0;
284
284
  }, Ne = () => {
285
285
  X.value = !1;
@@ -289,78 +289,78 @@ var Ge = Y({
289
289
  }
290
290
  const fe = He((o) => {
291
291
  q.value = !0, U.x = x ? o.touches[0].clientX : o.clientX, U.y = x ? o.touches[0].clientY : o.clientY;
292
- const h = U.x - $.x, f = U.y - $.y;
293
- M.y = f, M.x = h;
294
- }, l.throttle);
292
+ const m = U.x - $.x, v = U.y - $.y;
293
+ M.y = v, M.x = m;
294
+ }, i.throttle);
295
295
  function pe() {
296
- const o = l.dir === "rtl" ? -1 : 1, h = Math.sign(M.x) * 0.4, f = Math.round(M.x / c.value + h) * o;
297
- if (f && !x) {
296
+ const o = i.dir === "rtl" ? -1 : 1, m = Math.sign(M.x) * 0.4, v = Math.round(M.x / g.value + m) * o;
297
+ if (v && !x) {
298
298
  const A = (Z) => {
299
299
  Z.stopPropagation(), window.removeEventListener("click", A, !0);
300
300
  };
301
301
  window.addEventListener("click", A, !0);
302
302
  }
303
- O(u.value - f), M.x = 0, M.y = 0, q.value = !1, document.removeEventListener(x ? "touchmove" : "mousemove", fe, !0), document.removeEventListener(x ? "touchend" : "mouseup", pe, !0);
303
+ O(l.value - v), M.x = 0, M.y = 0, q.value = !1, document.removeEventListener(x ? "touchmove" : "mousemove", fe, !0), document.removeEventListener(x ? "touchend" : "mouseup", pe, !0);
304
304
  }
305
305
  function me() {
306
- !l.autoplay || l.autoplay <= 0 || (I = setInterval(() => {
307
- l.pauseAutoplayOnHover && X.value || z();
308
- }, l.autoplay));
306
+ !i.autoplay || i.autoplay <= 0 || (E = setInterval(() => {
307
+ i.pauseAutoplayOnHover && X.value || z();
308
+ }, i.autoplay));
309
309
  }
310
310
  function ge() {
311
- I && (clearInterval(I), I = null), me();
311
+ E && (clearInterval(E), E = null), me();
312
312
  }
313
- const N = d(!1);
313
+ const N = c(!1);
314
314
  function O(o) {
315
- const h = l.wrapAround ? o : ie({
315
+ const m = i.wrapAround ? o : ie({
316
316
  val: o,
317
- max: T.value,
318
- min: D.value
317
+ max: d.value,
318
+ min: I.value
319
319
  });
320
- u.value === h || N.value || (e("slide-start", {
320
+ l.value === m || N.value || (t("slide-start", {
321
321
  slidingToIndex: o,
322
- currentSlideIndex: u.value,
323
- prevSlideIndex: g.value,
324
- slidesCount: v.value
325
- }), N.value = !0, g.value = u.value, u.value = h, W = setTimeout(() => {
326
- if (l.wrapAround) {
327
- const f = re({
328
- val: h,
329
- max: T.value,
322
+ currentSlideIndex: l.value,
323
+ prevSlideIndex: T.value,
324
+ slidesCount: u.value
325
+ }), N.value = !0, T.value = l.value, l.value = m, W = setTimeout(() => {
326
+ if (i.wrapAround) {
327
+ const v = re({
328
+ val: m,
329
+ max: d.value,
330
330
  min: 0
331
331
  });
332
- f !== u.value && (u.value = f, e("loop", {
333
- currentSlideIndex: u.value,
332
+ v !== l.value && (l.value = v, t("loop", {
333
+ currentSlideIndex: l.value,
334
334
  slidingToIndex: o
335
335
  }));
336
336
  }
337
- e("update:modelValue", u.value), e("slide-end", {
338
- currentSlideIndex: u.value,
339
- prevSlideIndex: g.value,
340
- slidesCount: v.value
337
+ t("update:modelValue", l.value), t("slide-end", {
338
+ currentSlideIndex: l.value,
339
+ prevSlideIndex: T.value,
340
+ slidesCount: u.value
341
341
  }), N.value = !1, ge();
342
- }, l.transition));
342
+ }, i.transition));
343
343
  }
344
344
  function z() {
345
- O(u.value + l.itemsToScroll);
345
+ O(l.value + i.itemsToScroll);
346
346
  }
347
347
  function J() {
348
- O(u.value - l.itemsToScroll);
348
+ O(l.value - i.itemsToScroll);
349
349
  }
350
350
  const he = { slideTo: O, next: z, prev: J };
351
351
  C("nav", he), C("isSliding", N);
352
352
  const we = ye(() => ze({
353
- config: l,
354
- currentSlide: u.value,
355
- slidesCount: v.value
353
+ config: i,
354
+ currentSlide: l.value,
355
+ slidesCount: u.value
356
356
  }));
357
357
  C("slidesToScroll", we);
358
358
  const Oe = ye(() => {
359
- const o = l.dir === "rtl" ? -1 : 1, h = we.value * c.value * o;
359
+ const o = i.dir === "rtl" ? -1 : 1, m = we.value * g.value * o;
360
360
  return {
361
- transform: `translateX(${M.x - h}px)`,
362
- transition: `${N.value ? l.transition : 0}ms`,
363
- margin: l.wrapAround ? `0 -${v.value * c.value}px` : "",
361
+ transform: `translateX(${M.x - m}px)`,
362
+ transition: `${N.value ? i.transition : 0}ms`,
363
+ margin: i.wrapAround ? `0 -${u.value * g.value}px` : "",
364
364
  width: "100%"
365
365
  };
366
366
  });
@@ -368,21 +368,21 @@ var Ge = Y({
368
368
  G(), V(), F(), R(), ge();
369
369
  }
370
370
  Object.keys(Ce).forEach((o) => {
371
- ["modelValue"].includes(o) || oe(() => t[o], _e);
372
- }), oe(() => t.modelValue, (o) => {
373
- o !== u.value && O(Number(o));
374
- }), oe(v, F), e("before-init"), G();
371
+ ["modelValue"].includes(o) || oe(() => e[o], _e);
372
+ }), oe(() => e.modelValue, (o) => {
373
+ o !== l.value && O(Number(o));
374
+ }), oe(u, F), t("before-init"), G();
375
375
  const Se = {
376
- config: l,
377
- slidesCount: v,
378
- slideWidth: c,
376
+ config: i,
377
+ slidesCount: u,
378
+ slideWidth: g,
379
379
  next: z,
380
380
  prev: J,
381
381
  slideTo: O,
382
- currentSlide: u,
383
- maxSlide: T,
384
- minSlide: D,
385
- middleSlide: _
382
+ currentSlide: l,
383
+ maxSlide: d,
384
+ minSlide: I,
385
+ middleSlide: w
386
386
  };
387
387
  a({
388
388
  updateBreakpointsConfigs: V,
@@ -398,10 +398,10 @@ var Ge = Y({
398
398
  });
399
399
  const K = n.default || n.slides, Q = n.addons, be = L(Se);
400
400
  return () => {
401
- const o = je(K == null ? void 0 : K(be)), h = (Q == null ? void 0 : Q(be)) || [];
401
+ const o = je(K == null ? void 0 : K(be)), m = (Q == null ? void 0 : Q(be)) || [];
402
402
  o.forEach((ee, te) => ee.props.index = te);
403
- let f = o;
404
- if (l.wrapAround) {
403
+ let v = o;
404
+ if (i.wrapAround) {
405
405
  const ee = o.map((ne, P) => xe(ne, {
406
406
  index: -o.length + P,
407
407
  isClone: !0,
@@ -411,35 +411,35 @@ var Ge = Y({
411
411
  isClone: !0,
412
412
  key: `clone-after-${P}`
413
413
  }));
414
- f = [...ee, ...o, ...te];
414
+ v = [...ee, ...o, ...te];
415
415
  }
416
- m.value = o, v.value = Math.max(o.length, 1);
416
+ p.value = o, u.value = Math.max(o.length, 1);
417
417
  const A = y("ol", {
418
418
  class: "carousel__track",
419
419
  style: Oe.value,
420
- onMousedownCapture: l.mouseDrag ? ve : null,
421
- onTouchstartPassiveCapture: l.touchDrag ? ve : null
422
- }, f), Z = y("div", { class: "carousel__viewport" }, A);
420
+ onMousedownCapture: i.mouseDrag ? ve : null,
421
+ onTouchstartPassiveCapture: i.touchDrag ? ve : null
422
+ }, v), Z = y("div", { class: "carousel__viewport" }, A);
423
423
  return y("section", {
424
- ref: i,
424
+ ref: r,
425
425
  class: {
426
426
  carousel: !0,
427
427
  "is-sliding": N.value,
428
428
  "is-dragging": q.value,
429
429
  "is-hover": X.value,
430
- "carousel--rtl": l.dir === "rtl"
430
+ "carousel--rtl": i.dir === "rtl"
431
431
  },
432
- dir: l.dir,
433
- "aria-label": l.i18n.ariaGallery,
432
+ dir: i.dir,
433
+ "aria-label": i.i18n.ariaGallery,
434
434
  tabindex: "0",
435
435
  onMouseenter: Me,
436
436
  onMouseleave: Ne
437
- }, [Z, h, y(Ge)]);
437
+ }, [Z, m, y(Ge)]);
438
438
  };
439
439
  }
440
440
  }), se;
441
- (function(t) {
442
- t.arrowUp = "arrowUp", t.arrowDown = "arrowDown", t.arrowRight = "arrowRight", t.arrowLeft = "arrowLeft";
441
+ (function(e) {
442
+ e.arrowUp = "arrowUp", e.arrowDown = "arrowDown", e.arrowRight = "arrowRight", e.arrowLeft = "arrowLeft";
443
443
  })(se || (se = {}));
444
444
  const qe = {
445
445
  arrowUp: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",
@@ -447,43 +447,43 @@ const qe = {
447
447
  arrowRight: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",
448
448
  arrowLeft: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
449
449
  };
450
- function Je(t) {
451
- return t in se;
450
+ function Je(e) {
451
+ return e in se;
452
452
  }
453
- const ue = (t) => {
454
- const n = b("config", L(Object.assign({}, p))), e = String(t.name), a = `icon${e.charAt(0).toUpperCase() + e.slice(1)}`;
455
- if (!e || typeof e != "string" || !Je(e))
453
+ const ue = (e) => {
454
+ const n = b("config", L(Object.assign({}, f))), t = String(e.name), a = `icon${t.charAt(0).toUpperCase() + t.slice(1)}`;
455
+ if (!t || typeof t != "string" || !Je(t))
456
456
  return;
457
- const r = qe[e], i = y("path", { d: r }), m = n.i18n[a] || t.title || e, c = y("title", m);
457
+ const s = qe[t], r = y("path", { d: s }), p = n.i18n[a] || e.title || t, g = y("title", p);
458
458
  return y("svg", {
459
459
  class: "carousel__icon",
460
460
  viewBox: "0 0 24 24",
461
461
  role: "img",
462
- "aria-label": m
463
- }, [c, i]);
462
+ "aria-label": p
463
+ }, [g, r]);
464
464
  };
465
465
  ue.props = { name: String, title: String };
466
- const Ke = (t, { slots: n, attrs: e }) => {
467
- const { next: a, prev: r } = n || {}, i = b("config", L(Object.assign({}, p))), m = b("maxSlide", d(1)), c = b("minSlide", d(1)), v = b("currentSlide", d(1)), l = b("nav", {}), { dir: w, wrapAround: s, i18n: u } = i, g = w === "rtl", _ = y("button", {
466
+ const Ke = (e, { slots: n, attrs: t }) => {
467
+ const { next: a, prev: s } = n || {}, r = b("config", L(Object.assign({}, f))), p = b("maxSlide", c(1)), g = b("minSlide", c(1)), u = b("currentSlide", c(1)), i = b("nav", {}), { dir: h, wrapAround: _, i18n: l } = r, T = h === "rtl", w = y("button", {
468
468
  type: "button",
469
469
  class: [
470
470
  "carousel__prev",
471
- !s && v.value <= c.value && "carousel__prev--disabled",
472
- e == null ? void 0 : e.class
471
+ !_ && u.value <= g.value && "carousel__prev--disabled",
472
+ t == null ? void 0 : t.class
473
473
  ],
474
- "aria-label": u.ariaPreviousSlide,
475
- onClick: l.prev
476
- }, (r == null ? void 0 : r()) || y(ue, { name: g ? "arrowRight" : "arrowLeft" })), T = y("button", {
474
+ "aria-label": l.ariaPreviousSlide,
475
+ onClick: i.prev
476
+ }, (s == null ? void 0 : s()) || y(ue, { name: T ? "arrowRight" : "arrowLeft" })), d = y("button", {
477
477
  type: "button",
478
478
  class: [
479
479
  "carousel__next",
480
- !s && v.value >= m.value && "carousel__next--disabled",
481
- e == null ? void 0 : e.class
480
+ !_ && u.value >= p.value && "carousel__next--disabled",
481
+ t == null ? void 0 : t.class
482
482
  ],
483
- "aria-label": u.ariaNextSlide,
484
- onClick: l.next
485
- }, (a == null ? void 0 : a()) || y(ue, { name: g ? "arrowLeft" : "arrowRight" }));
486
- return [_, T];
483
+ "aria-label": l.ariaNextSlide,
484
+ onClick: i.next
485
+ }, (a == null ? void 0 : a()) || y(ue, { name: T ? "arrowLeft" : "arrowRight" }));
486
+ return [w, d];
487
487
  };
488
488
  var Qe = Y({
489
489
  name: "CarouselSlide",
@@ -497,26 +497,26 @@ var Qe = Y({
497
497
  default: !1
498
498
  }
499
499
  },
500
- setup(t, { slots: n }) {
501
- const e = b("config", L(Object.assign({}, p))), a = b("currentSlide", d(0)), r = b("slidesToScroll", d(0)), i = b("isSliding", d(!1)), m = () => t.index === a.value, c = () => t.index === a.value - 1, v = () => t.index === a.value + 1, l = () => {
502
- const w = Math.floor(r.value), s = Math.ceil(r.value + e.itemsToShow - 1);
503
- return t.index >= w && t.index <= s;
500
+ setup(e, { slots: n }) {
501
+ const t = b("config", L(Object.assign({}, f))), a = b("currentSlide", c(0)), s = b("slidesToScroll", c(0)), r = b("isSliding", c(!1)), p = () => e.index === a.value, g = () => e.index === a.value - 1, u = () => e.index === a.value + 1, i = () => {
502
+ const h = Math.floor(s.value), _ = Math.ceil(s.value + t.itemsToShow - 1);
503
+ return e.index >= h && e.index <= _;
504
504
  };
505
505
  return () => {
506
- var w;
506
+ var h;
507
507
  return y("li", {
508
- style: { width: `${100 / e.itemsToShow}%` },
508
+ style: { width: `${100 / t.itemsToShow}%` },
509
509
  class: {
510
510
  carousel__slide: !0,
511
- "carousel__slide--clone": t.isClone,
512
- "carousel__slide--visible": l(),
513
- "carousel__slide--active": m(),
514
- "carousel__slide--prev": c(),
515
- "carousel__slide--next": v(),
516
- "carousel__slide--sliding": i.value
511
+ "carousel__slide--clone": e.isClone,
512
+ "carousel__slide--visible": i(),
513
+ "carousel__slide--active": p(),
514
+ "carousel__slide--prev": g(),
515
+ "carousel__slide--next": u(),
516
+ "carousel__slide--sliding": r.value
517
517
  },
518
- "aria-hidden": !l()
519
- }, (w = n.default) === null || w === void 0 ? void 0 : w.call(n));
518
+ "aria-hidden": !i()
519
+ }, (h = n.default) === null || h === void 0 ? void 0 : h.call(n));
520
520
  };
521
521
  }
522
522
  });
@@ -542,76 +542,76 @@ const Ze = ["src", "title"], et = {
542
542
  staticPaginationDots: { type: Boolean, default: !1 }
543
543
  },
544
544
  emits: ["click", "transition", "transition:multi"],
545
- setup(t, { expose: n, emit: e }) {
546
- const a = t, r = Be(), i = De(), m = d();
545
+ setup(e, { expose: n, emit: t }) {
546
+ const a = e, s = Be(), r = De(), p = c();
547
547
  n({
548
548
  next: () => {
549
- var s;
550
- return (s = m.value) == null ? void 0 : s.next();
549
+ var l;
550
+ return (l = p.value) == null ? void 0 : l.next();
551
551
  },
552
552
  prev: () => {
553
- var s;
554
- return (s = m.value) == null ? void 0 : s.prev();
553
+ var l;
554
+ return (l = p.value) == null ? void 0 : l.prev();
555
555
  }
556
556
  });
557
- const c = d(0), v = () => {
558
- w();
559
- }, l = () => {
560
- e("click", a.slides[c.value]);
561
- }, w = () => {
557
+ const g = t, u = c(0), i = () => {
558
+ _();
559
+ }, h = () => {
560
+ g("click", a.slides[u.value]);
561
+ }, _ = () => {
562
562
  if (a.itemsToShow === 1) {
563
- e("transition", a.slides[c.value]);
563
+ g("transition", a.slides[u.value]);
564
564
  return;
565
565
  }
566
- const s = a.slides.slice(c.value, c.value + a.itemsToShow);
567
- e("transition:multi", s);
566
+ const l = a.slides.slice(u.value, u.value + a.itemsToShow);
567
+ g("transition:multi", l);
568
568
  };
569
- return (s, u) => (k(), j(B, null, [
569
+ return (l, T) => (k(), j(D, null, [
570
570
  Re(S(Fe), Pe({
571
571
  ref_key: "carouselRef",
572
- ref: m,
573
- modelValue: c.value,
574
- "onUpdate:modelValue": u[0] || (u[0] = (g) => c.value = g),
572
+ ref: p,
573
+ modelValue: u.value,
574
+ "onUpdate:modelValue": T[0] || (T[0] = (w) => u.value = w),
575
575
  "aria-live": "polite",
576
576
  "aria-roledescription": "carousel",
577
- class: ["stash-carousel tw-mb-6", S(i).root],
577
+ class: ["stash-carousel tw-mb-6", S(r).root],
578
578
  "data-test": "stash-carousel",
579
- autoplay: s.autoplayInterval,
579
+ autoplay: l.autoplayInterval,
580
580
  i18n: {
581
- ariaNextSlide: S(E)("ll.next"),
582
- ariaPreviousSlide: S(E)("ll.previous"),
583
- iconArrowLeft: S(E)("ll.previous"),
584
- iconArrowRight: S(E)("ll.next")
581
+ ariaNextSlide: S(B)("ll.next"),
582
+ ariaPreviousSlide: S(B)("ll.previous"),
583
+ iconArrowLeft: S(B)("ll.previous"),
584
+ iconArrowRight: S(B)("ll.next")
585
585
  },
586
586
  "items-to-scroll": a.itemsToScroll,
587
587
  "items-to-show": a.itemsToShow,
588
- "pause-autoplay-on-hover": s.pauseAutoplayOnHover,
588
+ "pause-autoplay-on-hover": l.pauseAutoplayOnHover,
589
589
  "wrap-around": a.loop
590
- }, S(r), {
591
- onInit: v,
592
- onSlideEnd: w
590
+ }, S(s), {
591
+ onInit: i,
592
+ onSlideEnd: _
593
593
  }), {
594
594
  addons: ae(() => [
595
595
  a.slides.length > 1 && !a.hideNavigation ? (k(), ke(S(Ke), { key: 0 })) : Te("", !0)
596
596
  ]),
597
597
  default: ae(() => [
598
- (k(!0), j(B, null, le(a.slides, (g, _) => (k(), ke(S(Qe), {
599
- key: g.id,
598
+ (k(!0), j(D, null, le(a.slides, (w, d) => (k(), ke(S(Qe), {
599
+ key: w.id,
600
600
  "data-test": "stash-carousel|slide",
601
601
  class: "tw-cursor-pointer",
602
- onClick: l
602
+ onClick: h
603
603
  }, {
604
604
  default: ae(() => [
605
- Ve(s.$slots, "slide", {
606
- slide: g,
607
- index: _
605
+ Ve(l.$slots, "slide", {
606
+ slide: w,
607
+ index: d
608
608
  }, () => [
609
609
  Ae("img", {
610
610
  class: H(["tw-h-full tw-w-full", [{ "tw-rounded": a.roundBorders }]]),
611
- src: g.imageUrl,
612
- title: S(E)("ll.carousel.imageLabel", {
613
- index: _ + 1,
614
- total: s.slides.length
611
+ src: w.imageUrl,
612
+ title: S(B)("ll.carousel.imageLabel", {
613
+ index: d + 1,
614
+ total: l.slides.length
615
615
  })
616
616
  }, null, 10, Ze)
617
617
  ])
@@ -621,35 +621,35 @@ const Ze = ["src", "title"], et = {
621
621
  ]),
622
622
  _: 3
623
623
  }, 16, ["modelValue", "autoplay", "class", "i18n", "items-to-scroll", "items-to-show", "pause-autoplay-on-hover", "wrap-around"]),
624
- a.hidePagination ? Te("", !0) : (k(), j(B, { key: 0 }, [
624
+ a.hidePagination ? Te("", !0) : (k(), j(D, { key: 0 }, [
625
625
  a.pagination === "tile" ? (k(), j("ul", et, [
626
- (k(!0), j(B, null, le(s.slides, (g, _) => (k(), j("li", {
627
- key: g.imageUrl,
626
+ (k(!0), j(D, null, le(l.slides, (w, d) => (k(), j("li", {
627
+ key: w.imageUrl,
628
628
  class: "tw-mr-3 tw-cursor-pointer",
629
- "aria-current": c.value === _,
630
- onClick: (T) => c.value = _
629
+ "aria-current": u.value === d,
630
+ onClick: (I) => u.value = d
631
631
  }, [
632
632
  Ae("img", {
633
633
  class: H(["tw-rounded", [
634
- S(i)["pagination-tile"],
634
+ S(r)["pagination-tile"],
635
635
  {
636
- "is-current-tile": c.value === _,
636
+ "is-current-tile": u.value === d,
637
637
  "tw-rounded-full": a.paginationTileRadius === "full"
638
638
  }
639
639
  ]]),
640
- "data-test": `stash-carousel|pagination-tile-${_}`,
641
- src: g.imageUrl,
642
- title: S(E)("ll.carousel.paginationLabel", { index: _ + 1 })
640
+ "data-test": `stash-carousel|pagination-tile-${d}`,
641
+ src: w.imageUrl,
642
+ title: S(B)("ll.carousel.paginationLabel", { index: d + 1 })
643
643
  }, null, 10, nt)
644
644
  ], 8, tt))), 128))
645
645
  ])) : (k(), j("ul", {
646
646
  key: 1,
647
- class: H(["tw-text-center", [!s.staticPaginationDots && "lg:tw-hidden"]]),
647
+ class: H(["tw-text-center", [!l.staticPaginationDots && "lg:tw-hidden"]]),
648
648
  "data-test": "stash-carousel|pagination-dots"
649
649
  }, [
650
- (k(!0), j(B, null, le(s.slides, (g, _) => (k(), j("li", {
651
- key: g.imageUrl,
652
- class: H(["tw-inline-block tw-rounded-full", [S(i)["pagination-dot"], [c.value === _ ? "tw-bg-blue-500" : "tw-bg-blue-100"]]])
650
+ (k(!0), j(D, null, le(l.slides, (w, d) => (k(), j("li", {
651
+ key: w.imageUrl,
652
+ class: H(["tw-inline-block tw-rounded-full", [S(r)["pagination-dot"], [u.value === d ? "tw-bg-blue-500" : "tw-bg-blue-100"]]])
653
653
  }, null, 2))), 128))
654
654
  ], 2))
655
655
  ], 64))