@mozaic-ds/web-components 0.12.0 → 0.14.0-beta.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 (501) hide show
  1. package/README.md +2 -1
  2. package/package.json +3 -3
  3. package/public/{adeo/EventForward-8492ff62.js → EventForward-422700d7.js} +2 -2
  4. package/public/{EventForward-8492ff62.js.map → EventForward-422700d7.js.map} +1 -1
  5. package/public/{EventHandler-02058705.js → EventHandler-f4efd23c.js} +2 -2
  6. package/public/{EventHandler-02058705.js.map → EventHandler-f4efd23c.js.map} +1 -1
  7. package/public/{bricoman/EventForward-8492ff62.js → adeo/EventForward-422700d7.js} +2 -2
  8. package/public/adeo/{EventForward-8492ff62.js.map → EventForward-422700d7.js.map} +1 -1
  9. package/public/adeo/{EventHandler-02058705.js → EventHandler-f4efd23c.js} +2 -2
  10. package/public/adeo/{EventHandler-02058705.js.map → EventHandler-f4efd23c.js.map} +1 -1
  11. package/public/adeo/bundle.js +20 -0
  12. package/public/adeo/components/accordion/Accordion.js +1 -1
  13. package/public/adeo/components/actionbar/ActionBar.js +2 -0
  14. package/public/adeo/components/actionbar/ActionBar.js.map +1 -0
  15. package/public/adeo/components/actionbar/ActionBar.svelte +97 -0
  16. package/public/adeo/components/autocomplete/Autocomplete.js +1 -1
  17. package/public/adeo/components/autocomplete/Autocomplete.js.map +1 -1
  18. package/public/adeo/components/badge/Badge.js +1 -1
  19. package/public/adeo/components/badge/Badge.nested.js +1 -1
  20. package/public/adeo/components/bottombar/BottomBar.js +2 -0
  21. package/public/adeo/components/bottombar/BottomBar.js.map +1 -0
  22. package/public/adeo/components/bottombar/BottomBar.svelte +18 -0
  23. package/public/adeo/components/breadcrumb/Breadcrumb.js +1 -1
  24. package/public/adeo/components/breadcrumb/Breadcrumb.nested.js +1 -1
  25. package/public/adeo/components/button/Button.js +1 -1
  26. package/public/adeo/components/button/Button.nested.js +2 -0
  27. package/public/adeo/components/button/Button.nested.js.map +1 -0
  28. package/public/adeo/components/button/Button.nested.svelte +173 -0
  29. package/public/adeo/components/card/Card.js +1 -1
  30. package/public/adeo/components/carousel/Carousel.js +2 -0
  31. package/public/adeo/components/carousel/Carousel.js.map +1 -0
  32. package/public/adeo/components/carousel/Carousel.svelte +414 -0
  33. package/public/adeo/components/carousel/CarouselCard.nested.js +2 -0
  34. package/public/adeo/components/carousel/CarouselCard.nested.js.map +1 -0
  35. package/public/adeo/components/carousel/carousel.types.d.ts +19 -0
  36. package/public/adeo/components/carousel/carousel.types.d.ts.map +1 -0
  37. package/public/adeo/components/carouselcard/CarouselCard.nested.svelte +37 -0
  38. package/public/adeo/components/chart/BarChart.js +1 -1
  39. package/public/adeo/components/chart/Donut.js +1 -1
  40. package/public/adeo/components/chart/GroupedBarChart.js +1 -1
  41. package/public/adeo/components/chart/LineChart.js +1 -1
  42. package/public/adeo/components/chart/Radar.js +1 -1
  43. package/public/adeo/components/chart/StackedBarChart.js +1 -1
  44. package/public/adeo/components/checkbox/Checkbox.js +1 -1
  45. package/public/adeo/components/checkboxgroup/checkboxGroup.js +1 -1
  46. package/public/adeo/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
  47. package/public/adeo/components/datatable/DataTable.js +1 -1
  48. package/public/adeo/components/datatable/DataTable.js.map +1 -1
  49. package/public/adeo/components/datatable/DataTable.svelte +9 -4
  50. package/public/adeo/components/datatable/DataTableDefaultAction.nested.js +1 -1
  51. package/public/adeo/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  52. package/public/adeo/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
  53. package/public/adeo/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
  54. package/public/adeo/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
  55. package/public/adeo/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
  56. package/public/adeo/components/datatable/DataTableDefaultSelection.nested.js +1 -1
  57. package/public/adeo/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
  58. package/public/adeo/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -1
  59. package/public/adeo/components/datatable/DataTableFooter.nested.js +1 -1
  60. package/public/adeo/components/datatable/datatable.types.d.ts +3 -0
  61. package/public/adeo/components/datatable/datatable.types.d.ts.map +1 -1
  62. package/public/adeo/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +6 -1
  63. package/public/adeo/components/datatabledefaultedtion/DataTableDefaultEdtion.nested.svelte +15 -10
  64. package/public/adeo/components/datatabledefaultselection/DataTableDefaultSelection.nested.svelte +0 -15
  65. package/public/adeo/components/dropdown/Dropdown.js +1 -1
  66. package/public/adeo/components/dropdown/Dropdown.js.map +1 -1
  67. package/public/adeo/components/field/Field.js +1 -1
  68. package/public/adeo/components/fileuploader/FileUploader.js +1 -1
  69. package/public/adeo/components/fileuploader/ResultFile.nested.js +1 -1
  70. package/public/adeo/components/flag/Flag.js +1 -1
  71. package/public/adeo/components/header/Header.js +1 -1
  72. package/public/adeo/components/header/Header.js.map +1 -1
  73. package/public/adeo/components/header/Header.svelte +1 -1
  74. package/public/adeo/components/header/Header.types.d.ts.map +1 -1
  75. package/public/adeo/components/header/_c.header.scss +310 -0
  76. package/public/adeo/components/header/_s.header.scss +28 -0
  77. package/public/adeo/components/hero/Hero.js +1 -1
  78. package/public/adeo/components/kpi/Kpi.js +1 -1
  79. package/public/adeo/components/layer/Layer.js +1 -1
  80. package/public/adeo/components/layer/Layer.js.map +1 -1
  81. package/public/adeo/components/layer/Layer.svelte +6 -3
  82. package/public/adeo/components/layer/layer.types.d.ts +2 -0
  83. package/public/adeo/components/layer/layer.types.d.ts.map +1 -0
  84. package/public/adeo/components/link/Link.js +1 -1
  85. package/public/adeo/components/link/Link.nested.js +2 -0
  86. package/public/adeo/components/link/Link.nested.js.map +1 -0
  87. package/public/adeo/components/link/Link.nested.svelte +78 -0
  88. package/public/adeo/components/listbox/Listbox.js +1 -1
  89. package/public/adeo/components/listbox/Listbox.nested.js +1 -1
  90. package/public/adeo/components/loader/Loader.js +1 -1
  91. package/public/adeo/components/loader/Loader.nested.js +1 -1
  92. package/public/adeo/components/loader/Loader.nested.js.map +1 -1
  93. package/public/adeo/components/menu/Menu.js +1 -1
  94. package/public/adeo/components/modal/Modal.js +1 -1
  95. package/public/adeo/components/notification/Notification.js +1 -1
  96. package/public/adeo/components/optionbutton/OptionButton.js +1 -1
  97. package/public/adeo/components/overlay/Overlay.js +1 -1
  98. package/public/adeo/components/overlay/OverlayLoader.js +1 -1
  99. package/public/adeo/components/pagination/Pagination.js +1 -1
  100. package/public/adeo/components/pagination/Pagination.js.map +1 -1
  101. package/public/adeo/components/passwordinput/PasswordInput.js +1 -1
  102. package/public/adeo/components/phonenumber/PhoneNumber.js +1 -1
  103. package/public/adeo/components/phonenumber/PhoneNumber.js.map +1 -1
  104. package/public/adeo/components/phonenumber/PhoneNumber.svelte +1 -1
  105. package/public/adeo/components/price/Price.js +1 -1
  106. package/public/adeo/components/progressbar/ProgressBar.js +1 -1
  107. package/public/adeo/components/progressbar/ProgressBar.js.map +1 -1
  108. package/public/adeo/components/progressbar/ProgressBar.svelte +5 -5
  109. package/public/adeo/components/quantityselector/QuantitySelector.js +1 -1
  110. package/public/adeo/components/quantityselector/QuantitySelector.js.map +1 -1
  111. package/public/adeo/components/quantityselector/QuantitySelector.svelte +1 -1
  112. package/public/adeo/components/radio/Radio.js +1 -1
  113. package/public/adeo/components/radiogroup/RadioGroup.js +1 -1
  114. package/public/adeo/components/radiogroup/radioGroup.types.d.ts.map +1 -1
  115. package/public/adeo/components/ratings/StarsInput.js +1 -1
  116. package/public/adeo/components/ratings/StarsResult.js +1 -1
  117. package/public/adeo/components/segmentedcontrol/SegmentedControl.js +1 -1
  118. package/public/adeo/components/select/Select.js +1 -1
  119. package/public/adeo/components/sidebar/Sidebar.js +1 -1
  120. package/public/adeo/components/sidebar/sidebar-feature-group.nested.js +1 -1
  121. package/public/adeo/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
  122. package/public/adeo/components/sidebar/sidebar-feature.nested.js +1 -1
  123. package/public/adeo/components/sidebar/sidebar-section.nested.js +1 -1
  124. package/public/adeo/components/sidebar/sidebar-segment.nested.js +1 -1
  125. package/public/adeo/components/sidebar/sidebar-segment.nested.js.map +1 -1
  126. package/public/adeo/components/sidebar/sidebar-separator.nested.js +1 -1
  127. package/public/adeo/components/sidebar/sidebar-service.d.ts.map +1 -1
  128. package/public/adeo/components/sidebar/sidebar-sub-features.nested.js +1 -1
  129. package/public/adeo/components/sidebar/sidebar-user.nested.js +1 -1
  130. package/public/adeo/components/sidebar/sidebar.types.d.ts.map +1 -1
  131. package/public/adeo/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +6 -4
  132. package/public/adeo/components/sidebar-segment/sidebar-segment.nested.svelte +9 -8
  133. package/public/adeo/components/stepper/Stepper.js +1 -1
  134. package/public/adeo/components/stepperbar/StepperBar.js +2 -0
  135. package/public/adeo/components/stepperbar/StepperBar.js.map +1 -0
  136. package/public/adeo/components/stepperbar/StepperBar.svelte +86 -0
  137. package/public/adeo/components/tabs/Tabs.js +1 -1
  138. package/public/adeo/components/tabs/Tabs.js.map +1 -1
  139. package/public/adeo/components/tabs/Tabs.nested.js +1 -1
  140. package/public/adeo/components/tag/Tag.js +1 -1
  141. package/public/adeo/components/tag/Tag.nested.js +1 -1
  142. package/public/adeo/components/taglist/TagList.js +1 -1
  143. package/public/adeo/components/textarea/Textarea.js +1 -1
  144. package/public/adeo/components/textinput/Textinput.js +1 -1
  145. package/public/adeo/components/textinput/Textinput.js.map +1 -1
  146. package/public/adeo/components/textinput/Textinput.nested.js +1 -1
  147. package/public/adeo/components/textinput/Textinput.nested.js.map +1 -1
  148. package/public/adeo/components/textinput/Textinput.svelte +8 -0
  149. package/public/adeo/components/toggle/Toggle.js +1 -1
  150. package/public/adeo/components/tooltip/Tooltip.js +1 -1
  151. package/public/adeo/components/undefined/sidebar-variables.scss +9 -0
  152. package/public/adeo/{index-c33b3772.js → index-52f16292.js} +2 -2
  153. package/public/adeo/{index-c33b3772.js.map → index-52f16292.js.map} +1 -1
  154. package/public/adeo/index-64cccc06-4c960e34.js +2 -0
  155. package/public/adeo/index-64cccc06-4c960e34.js.map +1 -0
  156. package/public/adeo/main.d.ts +4 -0
  157. package/public/adeo/main.d.ts.map +1 -1
  158. package/public/adeo/{sidebar-service-275bf9ef.js → sidebar-service-293d79ef.js} +2 -2
  159. package/public/adeo/{sidebar-service-275bf9ef.js.map → sidebar-service-293d79ef.js.map} +1 -1
  160. package/public/adeo/stories/carousel/items.d.ts +3 -0
  161. package/public/adeo/stories/carousel/items.d.ts.map +1 -0
  162. package/public/{EventForward-8492ff62.js → bricoman/EventForward-422700d7.js} +2 -2
  163. package/public/bricoman/{EventForward-8492ff62.js.map → EventForward-422700d7.js.map} +1 -1
  164. package/public/bricoman/{EventHandler-02058705.js → EventHandler-f4efd23c.js} +2 -2
  165. package/public/bricoman/{EventHandler-02058705.js.map → EventHandler-f4efd23c.js.map} +1 -1
  166. package/public/bricoman/bundle.js +20 -0
  167. package/public/bricoman/components/accordion/Accordion.js +1 -1
  168. package/public/bricoman/components/actionbar/ActionBar.js +2 -0
  169. package/public/bricoman/components/actionbar/ActionBar.js.map +1 -0
  170. package/public/bricoman/components/actionbar/ActionBar.svelte +97 -0
  171. package/public/bricoman/components/autocomplete/Autocomplete.js +1 -1
  172. package/public/bricoman/components/autocomplete/Autocomplete.js.map +1 -1
  173. package/public/bricoman/components/badge/Badge.js +1 -1
  174. package/public/bricoman/components/badge/Badge.nested.js +1 -1
  175. package/public/bricoman/components/bottombar/BottomBar.js +2 -0
  176. package/public/bricoman/components/bottombar/BottomBar.js.map +1 -0
  177. package/public/bricoman/components/bottombar/BottomBar.svelte +18 -0
  178. package/public/bricoman/components/breadcrumb/Breadcrumb.js +1 -1
  179. package/public/bricoman/components/breadcrumb/Breadcrumb.nested.js +1 -1
  180. package/public/bricoman/components/button/Button.js +1 -1
  181. package/public/bricoman/components/button/Button.nested.js +2 -0
  182. package/public/bricoman/components/button/Button.nested.js.map +1 -0
  183. package/public/bricoman/components/button/Button.nested.svelte +173 -0
  184. package/public/bricoman/components/card/Card.js +1 -1
  185. package/public/bricoman/components/carousel/Carousel.js +2 -0
  186. package/public/bricoman/components/carousel/Carousel.js.map +1 -0
  187. package/public/bricoman/components/carousel/Carousel.svelte +414 -0
  188. package/public/bricoman/components/carousel/CarouselCard.nested.js +2 -0
  189. package/public/bricoman/components/carousel/CarouselCard.nested.js.map +1 -0
  190. package/public/bricoman/components/carousel/carousel.types.d.ts +19 -0
  191. package/public/bricoman/components/carousel/carousel.types.d.ts.map +1 -0
  192. package/public/bricoman/components/carouselcard/CarouselCard.nested.svelte +37 -0
  193. package/public/bricoman/components/chart/BarChart.js +1 -1
  194. package/public/bricoman/components/chart/Donut.js +1 -1
  195. package/public/bricoman/components/chart/GroupedBarChart.js +1 -1
  196. package/public/bricoman/components/chart/LineChart.js +1 -1
  197. package/public/bricoman/components/chart/Radar.js +1 -1
  198. package/public/bricoman/components/chart/StackedBarChart.js +1 -1
  199. package/public/bricoman/components/checkbox/Checkbox.js +1 -1
  200. package/public/bricoman/components/checkboxgroup/checkboxGroup.js +1 -1
  201. package/public/bricoman/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
  202. package/public/bricoman/components/datatable/DataTable.js +1 -1
  203. package/public/bricoman/components/datatable/DataTable.js.map +1 -1
  204. package/public/bricoman/components/datatable/DataTable.svelte +9 -4
  205. package/public/bricoman/components/datatable/DataTableDefaultAction.nested.js +1 -1
  206. package/public/bricoman/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  207. package/public/bricoman/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
  208. package/public/bricoman/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
  209. package/public/bricoman/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
  210. package/public/bricoman/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
  211. package/public/bricoman/components/datatable/DataTableDefaultSelection.nested.js +1 -1
  212. package/public/bricoman/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
  213. package/public/bricoman/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -1
  214. package/public/bricoman/components/datatable/DataTableFooter.nested.js +1 -1
  215. package/public/bricoman/components/datatable/datatable.types.d.ts +3 -0
  216. package/public/bricoman/components/datatable/datatable.types.d.ts.map +1 -1
  217. package/public/bricoman/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +6 -1
  218. package/public/bricoman/components/datatabledefaultedtion/DataTableDefaultEdtion.nested.svelte +15 -10
  219. package/public/bricoman/components/datatabledefaultselection/DataTableDefaultSelection.nested.svelte +0 -15
  220. package/public/bricoman/components/dropdown/Dropdown.js +1 -1
  221. package/public/bricoman/components/dropdown/Dropdown.js.map +1 -1
  222. package/public/bricoman/components/field/Field.js +1 -1
  223. package/public/bricoman/components/fileuploader/FileUploader.js +1 -1
  224. package/public/bricoman/components/fileuploader/ResultFile.nested.js +1 -1
  225. package/public/bricoman/components/flag/Flag.js +1 -1
  226. package/public/bricoman/components/flag/Flag.js.map +1 -1
  227. package/public/bricoman/components/header/Header.js +1 -1
  228. package/public/bricoman/components/header/Header.js.map +1 -1
  229. package/public/bricoman/components/header/Header.svelte +1 -1
  230. package/public/bricoman/components/header/Header.types.d.ts.map +1 -1
  231. package/public/bricoman/components/header/_c.header.scss +310 -0
  232. package/public/bricoman/components/header/_s.header.scss +28 -0
  233. package/public/bricoman/components/hero/Hero.js +1 -1
  234. package/public/bricoman/components/kpi/Kpi.js +1 -1
  235. package/public/bricoman/components/layer/Layer.js +1 -1
  236. package/public/bricoman/components/layer/Layer.js.map +1 -1
  237. package/public/bricoman/components/layer/Layer.svelte +6 -3
  238. package/public/bricoman/components/layer/layer.types.d.ts +2 -0
  239. package/public/bricoman/components/layer/layer.types.d.ts.map +1 -0
  240. package/public/bricoman/components/link/Link.js +1 -1
  241. package/public/bricoman/components/link/Link.nested.js +2 -0
  242. package/public/bricoman/components/link/Link.nested.js.map +1 -0
  243. package/public/bricoman/components/link/Link.nested.svelte +78 -0
  244. package/public/bricoman/components/listbox/Listbox.js +1 -1
  245. package/public/bricoman/components/listbox/Listbox.nested.js +1 -1
  246. package/public/bricoman/components/loader/Loader.js +1 -1
  247. package/public/bricoman/components/loader/Loader.nested.js +1 -1
  248. package/public/bricoman/components/menu/Menu.js +1 -1
  249. package/public/bricoman/components/modal/Modal.js +1 -1
  250. package/public/bricoman/components/notification/Notification.js +1 -1
  251. package/public/bricoman/components/optionbutton/OptionButton.js +1 -1
  252. package/public/bricoman/components/overlay/Overlay.js +1 -1
  253. package/public/bricoman/components/overlay/OverlayLoader.js +1 -1
  254. package/public/bricoman/components/pagination/Pagination.js +1 -1
  255. package/public/bricoman/components/pagination/Pagination.js.map +1 -1
  256. package/public/bricoman/components/passwordinput/PasswordInput.js +1 -1
  257. package/public/bricoman/components/phonenumber/PhoneNumber.js +1 -1
  258. package/public/bricoman/components/phonenumber/PhoneNumber.js.map +1 -1
  259. package/public/bricoman/components/phonenumber/PhoneNumber.svelte +1 -1
  260. package/public/bricoman/components/price/Price.js +1 -1
  261. package/public/bricoman/components/progressbar/ProgressBar.js +1 -1
  262. package/public/bricoman/components/progressbar/ProgressBar.js.map +1 -1
  263. package/public/bricoman/components/progressbar/ProgressBar.svelte +5 -5
  264. package/public/bricoman/components/quantityselector/QuantitySelector.js +1 -1
  265. package/public/bricoman/components/quantityselector/QuantitySelector.js.map +1 -1
  266. package/public/bricoman/components/quantityselector/QuantitySelector.svelte +1 -1
  267. package/public/bricoman/components/radio/Radio.js +1 -1
  268. package/public/bricoman/components/radiogroup/RadioGroup.js +1 -1
  269. package/public/bricoman/components/radiogroup/radioGroup.types.d.ts.map +1 -1
  270. package/public/bricoman/components/ratings/StarsInput.js +1 -1
  271. package/public/bricoman/components/ratings/StarsResult.js +1 -1
  272. package/public/bricoman/components/segmentedcontrol/SegmentedControl.js +1 -1
  273. package/public/bricoman/components/select/Select.js +1 -1
  274. package/public/bricoman/components/sidebar/Sidebar.js +1 -1
  275. package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js +1 -1
  276. package/public/bricoman/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
  277. package/public/bricoman/components/sidebar/sidebar-feature.nested.js +1 -1
  278. package/public/bricoman/components/sidebar/sidebar-section.nested.js +1 -1
  279. package/public/bricoman/components/sidebar/sidebar-segment.nested.js +1 -1
  280. package/public/bricoman/components/sidebar/sidebar-segment.nested.js.map +1 -1
  281. package/public/bricoman/components/sidebar/sidebar-separator.nested.js +1 -1
  282. package/public/bricoman/components/sidebar/sidebar-service.d.ts.map +1 -1
  283. package/public/bricoman/components/sidebar/sidebar-sub-features.nested.js +1 -1
  284. package/public/bricoman/components/sidebar/sidebar-user.nested.js +1 -1
  285. package/public/bricoman/components/sidebar/sidebar-user.nested.js.map +1 -1
  286. package/public/bricoman/components/sidebar/sidebar.types.d.ts.map +1 -1
  287. package/public/bricoman/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +6 -4
  288. package/public/bricoman/components/sidebar-segment/sidebar-segment.nested.svelte +9 -8
  289. package/public/bricoman/components/stepper/Stepper.js +1 -1
  290. package/public/bricoman/components/stepperbar/StepperBar.js +2 -0
  291. package/public/bricoman/components/stepperbar/StepperBar.js.map +1 -0
  292. package/public/bricoman/components/stepperbar/StepperBar.svelte +86 -0
  293. package/public/bricoman/components/tabs/Tabs.js +1 -1
  294. package/public/bricoman/components/tabs/Tabs.js.map +1 -1
  295. package/public/bricoman/components/tabs/Tabs.nested.js +1 -1
  296. package/public/bricoman/components/tag/Tag.js +1 -1
  297. package/public/bricoman/components/tag/Tag.nested.js +1 -1
  298. package/public/bricoman/components/taglist/TagList.js +1 -1
  299. package/public/bricoman/components/textarea/Textarea.js +1 -1
  300. package/public/bricoman/components/textinput/Textinput.js +1 -1
  301. package/public/bricoman/components/textinput/Textinput.js.map +1 -1
  302. package/public/bricoman/components/textinput/Textinput.nested.js +1 -1
  303. package/public/bricoman/components/textinput/Textinput.nested.js.map +1 -1
  304. package/public/bricoman/components/textinput/Textinput.svelte +8 -0
  305. package/public/bricoman/components/toggle/Toggle.js +1 -1
  306. package/public/bricoman/components/tooltip/Tooltip.js +1 -1
  307. package/public/bricoman/components/undefined/sidebar-variables.scss +9 -0
  308. package/public/bricoman/{index-c33b3772.js → index-52f16292.js} +2 -2
  309. package/public/bricoman/{index-c33b3772.js.map → index-52f16292.js.map} +1 -1
  310. package/public/bricoman/index-64cccc06-4c960e34.js +2 -0
  311. package/public/bricoman/index-64cccc06-4c960e34.js.map +1 -0
  312. package/public/bricoman/main.d.ts +4 -0
  313. package/public/bricoman/main.d.ts.map +1 -1
  314. package/public/bricoman/{sidebar-service-275bf9ef.js → sidebar-service-293d79ef.js} +2 -2
  315. package/public/bricoman/{sidebar-service-275bf9ef.js.map → sidebar-service-293d79ef.js.map} +1 -1
  316. package/public/bricoman/stories/carousel/items.d.ts +3 -0
  317. package/public/bricoman/stories/carousel/items.d.ts.map +1 -0
  318. package/public/bundle.js +20 -0
  319. package/public/components/accordion/Accordion.js +1 -1
  320. package/public/components/actionbar/ActionBar.js +2 -0
  321. package/public/components/actionbar/ActionBar.js.map +1 -0
  322. package/public/components/actionbar/ActionBar.svelte +97 -0
  323. package/public/components/autocomplete/Autocomplete.js +1 -1
  324. package/public/components/autocomplete/Autocomplete.js.map +1 -1
  325. package/public/components/badge/Badge.js +1 -1
  326. package/public/components/badge/Badge.nested.js +1 -1
  327. package/public/components/bottombar/BottomBar.js +2 -0
  328. package/public/components/bottombar/BottomBar.js.map +1 -0
  329. package/public/components/bottombar/BottomBar.svelte +18 -0
  330. package/public/components/breadcrumb/Breadcrumb.js +1 -1
  331. package/public/components/breadcrumb/Breadcrumb.nested.js +1 -1
  332. package/public/components/button/Button.js +1 -1
  333. package/public/components/button/Button.nested.js +2 -0
  334. package/public/components/button/Button.nested.js.map +1 -0
  335. package/public/components/button/Button.nested.svelte +173 -0
  336. package/public/components/card/Card.js +1 -1
  337. package/public/components/carousel/Carousel.js +2 -0
  338. package/public/components/carousel/Carousel.js.map +1 -0
  339. package/public/components/carousel/Carousel.svelte +414 -0
  340. package/public/components/carousel/CarouselCard.nested.js +2 -0
  341. package/public/components/carousel/CarouselCard.nested.js.map +1 -0
  342. package/public/components/carousel/carousel.types.d.ts +19 -0
  343. package/public/components/carousel/carousel.types.d.ts.map +1 -0
  344. package/public/components/carouselcard/CarouselCard.nested.svelte +37 -0
  345. package/public/components/chart/BarChart.js +1 -1
  346. package/public/components/chart/Donut.js +1 -1
  347. package/public/components/chart/GroupedBarChart.js +1 -1
  348. package/public/components/chart/LineChart.js +1 -1
  349. package/public/components/chart/Radar.js +1 -1
  350. package/public/components/chart/StackedBarChart.js +1 -1
  351. package/public/components/checkbox/Checkbox.js +1 -1
  352. package/public/components/checkboxgroup/checkboxGroup.js +1 -1
  353. package/public/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
  354. package/public/components/datatable/DataTable.js +1 -1
  355. package/public/components/datatable/DataTable.js.map +1 -1
  356. package/public/components/datatable/DataTable.svelte +9 -4
  357. package/public/components/datatable/DataTableDefaultAction.nested.js +1 -1
  358. package/public/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
  359. package/public/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
  360. package/public/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
  361. package/public/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
  362. package/public/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
  363. package/public/components/datatable/DataTableDefaultSelection.nested.js +1 -1
  364. package/public/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
  365. package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -1
  366. package/public/components/datatable/DataTableFooter.nested.js +1 -1
  367. package/public/components/datatable/datatable.types.d.ts +3 -0
  368. package/public/components/datatable/datatable.types.d.ts.map +1 -1
  369. package/public/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +6 -1
  370. package/public/components/datatabledefaultedtion/DataTableDefaultEdtion.nested.svelte +15 -10
  371. package/public/components/datatabledefaultselection/DataTableDefaultSelection.nested.svelte +0 -15
  372. package/public/components/dropdown/Dropdown.js +1 -1
  373. package/public/components/dropdown/Dropdown.js.map +1 -1
  374. package/public/components/field/Field.js +1 -1
  375. package/public/components/fileuploader/FileUploader.js +1 -1
  376. package/public/components/fileuploader/ResultFile.nested.js +1 -1
  377. package/public/components/flag/Flag.js +1 -1
  378. package/public/components/flag/Flag.js.map +1 -1
  379. package/public/components/header/Header.js +1 -1
  380. package/public/components/header/Header.js.map +1 -1
  381. package/public/components/header/Header.svelte +1 -1
  382. package/public/components/header/Header.types.d.ts.map +1 -1
  383. package/public/components/header/_c.header.scss +310 -0
  384. package/public/components/header/_s.header.scss +28 -0
  385. package/public/components/hero/Hero.js +1 -1
  386. package/public/components/kpi/Kpi.js +1 -1
  387. package/public/components/layer/Layer.js +1 -1
  388. package/public/components/layer/Layer.js.map +1 -1
  389. package/public/components/layer/Layer.svelte +6 -3
  390. package/public/components/layer/layer.types.d.ts +2 -0
  391. package/public/components/layer/layer.types.d.ts.map +1 -0
  392. package/public/components/link/Link.js +1 -1
  393. package/public/components/link/Link.nested.js +2 -0
  394. package/public/components/link/Link.nested.js.map +1 -0
  395. package/public/components/link/Link.nested.svelte +78 -0
  396. package/public/components/listbox/Listbox.js +1 -1
  397. package/public/components/listbox/Listbox.nested.js +1 -1
  398. package/public/components/loader/Loader.js +1 -1
  399. package/public/components/loader/Loader.js.map +1 -1
  400. package/public/components/loader/Loader.nested.js +1 -1
  401. package/public/components/menu/Menu.js +1 -1
  402. package/public/components/modal/Modal.js +1 -1
  403. package/public/components/notification/Notification.js +1 -1
  404. package/public/components/optionbutton/OptionButton.js +1 -1
  405. package/public/components/overlay/Overlay.js +1 -1
  406. package/public/components/overlay/OverlayLoader.js +1 -1
  407. package/public/components/pagination/Pagination.js +1 -1
  408. package/public/components/pagination/Pagination.js.map +1 -1
  409. package/public/components/passwordinput/PasswordInput.js +1 -1
  410. package/public/components/phonenumber/PhoneNumber.js +1 -1
  411. package/public/components/phonenumber/PhoneNumber.js.map +1 -1
  412. package/public/components/phonenumber/PhoneNumber.svelte +1 -1
  413. package/public/components/price/Price.js +1 -1
  414. package/public/components/progressbar/ProgressBar.js +1 -1
  415. package/public/components/progressbar/ProgressBar.js.map +1 -1
  416. package/public/components/progressbar/ProgressBar.svelte +5 -5
  417. package/public/components/quantityselector/QuantitySelector.js +1 -1
  418. package/public/components/quantityselector/QuantitySelector.js.map +1 -1
  419. package/public/components/quantityselector/QuantitySelector.svelte +1 -1
  420. package/public/components/radio/Radio.js +1 -1
  421. package/public/components/radiogroup/RadioGroup.js +1 -1
  422. package/public/components/radiogroup/radioGroup.types.d.ts.map +1 -1
  423. package/public/components/ratings/StarsInput.js +1 -1
  424. package/public/components/ratings/StarsResult.js +1 -1
  425. package/public/components/segmentedcontrol/SegmentedControl.js +1 -1
  426. package/public/components/select/Select.js +1 -1
  427. package/public/components/sidebar/Sidebar.js +1 -1
  428. package/public/components/sidebar/sidebar-feature-group.nested.js +1 -1
  429. package/public/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
  430. package/public/components/sidebar/sidebar-feature.nested.js +1 -1
  431. package/public/components/sidebar/sidebar-section.nested.js +1 -1
  432. package/public/components/sidebar/sidebar-segment.nested.js +1 -1
  433. package/public/components/sidebar/sidebar-segment.nested.js.map +1 -1
  434. package/public/components/sidebar/sidebar-separator.nested.js +1 -1
  435. package/public/components/sidebar/sidebar-service.d.ts.map +1 -1
  436. package/public/components/sidebar/sidebar-sub-features.nested.js +1 -1
  437. package/public/components/sidebar/sidebar-user.nested.js +1 -1
  438. package/public/components/sidebar/sidebar.types.d.ts.map +1 -1
  439. package/public/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +6 -4
  440. package/public/components/sidebar-segment/sidebar-segment.nested.svelte +9 -8
  441. package/public/components/stepper/Stepper.js +1 -1
  442. package/public/components/stepperbar/StepperBar.js +2 -0
  443. package/public/components/stepperbar/StepperBar.js.map +1 -0
  444. package/public/components/stepperbar/StepperBar.svelte +86 -0
  445. package/public/components/tabs/Tabs.js +1 -1
  446. package/public/components/tabs/Tabs.js.map +1 -1
  447. package/public/components/tabs/Tabs.nested.js +1 -1
  448. package/public/components/tag/Tag.js +1 -1
  449. package/public/components/tag/Tag.nested.js +1 -1
  450. package/public/components/taglist/TagList.js +1 -1
  451. package/public/components/textarea/Textarea.js +1 -1
  452. package/public/components/textinput/Textinput.js +1 -1
  453. package/public/components/textinput/Textinput.js.map +1 -1
  454. package/public/components/textinput/Textinput.nested.js +1 -1
  455. package/public/components/textinput/Textinput.nested.js.map +1 -1
  456. package/public/components/textinput/Textinput.svelte +8 -0
  457. package/public/components/toggle/Toggle.js +1 -1
  458. package/public/components/tooltip/Tooltip.js +1 -1
  459. package/public/components/undefined/sidebar-variables.scss +9 -0
  460. package/public/{index-c33b3772.js → index-52f16292.js} +2 -2
  461. package/public/{index-c33b3772.js.map → index-52f16292.js.map} +1 -1
  462. package/public/index-64cccc06-4c960e34.js +2 -0
  463. package/public/index-64cccc06-4c960e34.js.map +1 -0
  464. package/public/main.d.ts +4 -0
  465. package/public/main.d.ts.map +1 -1
  466. package/public/{sidebar-service-275bf9ef.js → sidebar-service-293d79ef.js} +2 -2
  467. package/public/{sidebar-service-275bf9ef.js.map → sidebar-service-293d79ef.js.map} +1 -1
  468. package/public/stories/carousel/items.d.ts +3 -0
  469. package/public/stories/carousel/items.d.ts.map +1 -0
  470. package/public/utilities/components/carousel/carousel.types.d.ts +19 -0
  471. package/public/utilities/components/carousel/carousel.types.d.ts.map +1 -0
  472. package/public/utilities/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
  473. package/public/utilities/components/datatable/datatable.types.d.ts +3 -0
  474. package/public/utilities/components/datatable/datatable.types.d.ts.map +1 -1
  475. package/public/utilities/components/header/Header.types.d.ts.map +1 -1
  476. package/public/utilities/components/layer/layer.types.d.ts +2 -0
  477. package/public/utilities/components/layer/layer.types.d.ts.map +1 -0
  478. package/public/utilities/components/radiogroup/radioGroup.types.d.ts.map +1 -1
  479. package/public/utilities/components/sidebar/sidebar-service.d.ts.map +1 -1
  480. package/public/utilities/components/sidebar/sidebar.types.d.ts.map +1 -1
  481. package/public/utilities/main.d.ts +4 -0
  482. package/public/utilities/main.d.ts.map +1 -1
  483. package/public/utilities/stories/actionbar/ActionBar.stories.d.ts +7 -0
  484. package/public/utilities/stories/actionbar/ActionBar.stories.d.ts.map +1 -0
  485. package/public/utilities/stories/bottombar/BottomBar.stories.d.ts +6 -0
  486. package/public/utilities/stories/bottombar/BottomBar.stories.d.ts.map +1 -0
  487. package/public/utilities/stories/carousel/Carousel.stories.d.ts +8 -0
  488. package/public/utilities/stories/carousel/Carousel.stories.d.ts.map +1 -0
  489. package/public/utilities/stories/carousel/items.d.ts +3 -0
  490. package/public/utilities/stories/carousel/items.d.ts.map +1 -0
  491. package/public/utilities/stories/datatable/DataTable.stories.d.ts.map +1 -1
  492. package/public/utilities/stories/layer/Layer.stories.d.ts +1 -0
  493. package/public/utilities/stories/layer/Layer.stories.d.ts.map +1 -1
  494. package/public/utilities/stories/stepperbar/StepperBar.stories.d.ts +6 -0
  495. package/public/utilities/stories/stepperbar/StepperBar.stories.d.ts.map +1 -0
  496. package/public/DataTableDefaultAction.nested-e758217a.js +0 -2
  497. package/public/DataTableDefaultAction.nested-e758217a.js.map +0 -1
  498. package/public/adeo/DataTableDefaultAction.nested-be8d4e7b.js +0 -2
  499. package/public/adeo/DataTableDefaultAction.nested-be8d4e7b.js.map +0 -1
  500. package/public/bricoman/DataTableDefaultAction.nested-41f58b1f.js +0 -2
  501. package/public/bricoman/DataTableDefaultAction.nested-41f58b1f.js.map +0 -1
@@ -0,0 +1,173 @@
1
+ <svelte:options tag={null} />
2
+
3
+ <script lang="ts">
4
+ import { get_current_component } from 'svelte/internal';
5
+ import { createEventForwarder } from '../../utilities/EventForward';
6
+ import Loader from '../loader/Loader.nested.svelte';
7
+ import type {
8
+ ButtonIconMode,
9
+ ButtonSize,
10
+ ButtonTheme,
11
+ ButtonResponsiveSize,
12
+ ButtonResponsiveWidth,
13
+ ButtonType,
14
+ ButtonLoader,
15
+ } from './button.types';
16
+
17
+ export let bordered = false;
18
+ export let theme: ButtonTheme | undefined = undefined;
19
+ export let size: ButtonSize = 'm';
20
+ export let full = false;
21
+ export let label: string;
22
+ export let iconname: string | undefined;
23
+ export let iconmode: ButtonIconMode | undefined;
24
+ export let disabled = false;
25
+ export let responsivesize: ButtonResponsiveSize = undefined;
26
+ export let responsivewidth: ButtonResponsiveWidth = undefined;
27
+ export let type: ButtonType = 'button';
28
+ export let loader: string;
29
+
30
+ const forwardEvents = createEventForwarder(get_current_component());
31
+
32
+ $: loaderOpts = loader ? (JSON.parse(loader) as ButtonLoader) : undefined;
33
+ $: isLoading = loaderOpts?.enabled ?? false;
34
+ $: loaderPosition = loaderOpts?.position ?? 'left';
35
+ $: loaderTheme = loaderOpts?.theme ?? 'primary';
36
+ $: userClass = $$props.class;
37
+ $: attributes = { ...$$restProps };
38
+ $: delete attributes.class;
39
+
40
+ function generateIconName(
41
+ size: ButtonSize,
42
+ iconMode: ButtonIconMode,
43
+ iconName: string,
44
+ ): string {
45
+ const isIconOnly = iconMode === 'only';
46
+ let iconSize: string;
47
+
48
+ switch (size) {
49
+ case 's':
50
+ iconSize = '24px';
51
+ break;
52
+ case 'm':
53
+ iconSize = isIconOnly ? '32px' : '24px';
54
+ break;
55
+ case 'l':
56
+ iconSize = isIconOnly ? '100%' : '32px';
57
+ break;
58
+ }
59
+
60
+ return `${iconName} size="${iconSize}" class="no"`;
61
+ }
62
+
63
+ function getAppearanceClass(theme: ButtonTheme, isBordered: boolean): string {
64
+ if (!isBordered && !theme) {
65
+ return '';
66
+ }
67
+
68
+ const type = isBordered ? 'bordered' : 'solid';
69
+
70
+ if (theme) {
71
+ return `mc-button--${type}-${theme}`;
72
+ }
73
+ return `mc-button--${type}`;
74
+ }
75
+
76
+ function getClasses(
77
+ theme: ButtonTheme,
78
+ isBordered: boolean,
79
+ size: ButtonSize,
80
+ isFull: boolean,
81
+ ): string {
82
+ const classes = ['mc-button'];
83
+
84
+ const appearanceClass = getAppearanceClass(theme, isBordered);
85
+ if (appearanceClass) {
86
+ classes.push(appearanceClass);
87
+ }
88
+
89
+ if (size) {
90
+ classes.push(`mc-button--${size}`);
91
+ }
92
+
93
+ if (isFull) {
94
+ classes.push(`mc-button--full`);
95
+ } else {
96
+ classes.push(`mc-button--fit`);
97
+ }
98
+
99
+ if (iconmode === 'only') {
100
+ classes.push('mc-button--square');
101
+ }
102
+
103
+ if (responsivesize) {
104
+ classes.push(`mc-button--${responsivesize}`);
105
+ }
106
+
107
+ if (responsivewidth) {
108
+ classes.push(`mc-button--${responsivewidth}`);
109
+ }
110
+
111
+ return classes.join(' ');
112
+ }
113
+ </script>
114
+
115
+ <button
116
+ use:forwardEvents
117
+ {type}
118
+ class="{getClasses(theme, bordered, size, full)} {userClass}"
119
+ class:mc-button--square={iconmode}
120
+ {disabled}
121
+ {...attributes}
122
+ >
123
+ {#if iconname && iconmode === 'left'}
124
+ <span class="mc-button__icon">
125
+ {#if isLoading && loaderPosition === 'left'}
126
+ <Loader size="s" theme={loaderTheme} text="TEST" />
127
+ {:else}
128
+ {@html `<${generateIconName(size, iconmode, iconname)} />`}
129
+ {/if}
130
+ </span>
131
+ {/if}
132
+
133
+ {#if iconname && iconmode === 'only'}
134
+ <span class="mc-button__icon">
135
+ {#if isLoading}
136
+ <Loader size="m" theme={loaderTheme} text="" />
137
+ {:else}
138
+ {@html `<${generateIconName(size, iconmode, iconname)} size="100%" />`}
139
+ {/if}
140
+ </span>
141
+ {:else}
142
+ {#if isLoading && loaderPosition === 'left' && !iconname}
143
+ <span class="mc-button__icon">
144
+ <Loader size="s" theme={loaderTheme} text="" />
145
+ </span>
146
+ {/if}
147
+ <span class="mc-button__label">{label}</span>
148
+ {#if isLoading && loaderPosition === 'right' && !iconname}
149
+ <span class="mc-button__icon">
150
+ <Loader size="s" theme={loaderTheme} text="" />
151
+ </span>
152
+ {/if}
153
+ {/if}
154
+
155
+ {#if iconname && iconmode === 'right'}
156
+ <span class="mc-button__icon">
157
+ {#if isLoading && loaderPosition === 'right'}
158
+ <Loader size="s" theme={loaderTheme} text="" />
159
+ {:else}
160
+ {@html `<${generateIconName(size, iconmode, iconname)} />`}
161
+ {/if}
162
+ </span>
163
+ {/if}
164
+ </button>
165
+
166
+ <style lang="scss">
167
+ @import '@mozaic-ds/styles/settings-tools/_all-settings';
168
+ @import '@mozaic-ds/styles/components/c.button';
169
+
170
+ .mc-button__icon {
171
+ pointer-events: none;
172
+ }
173
+ </style>
@@ -1,2 +1,2 @@
1
- import{S as t,i,a as o,_ as e,b as r,f as m,s as n,c,e as l,d as a,n as d,$ as s,g as b,h,j as u,m as g,o as f,p,a0 as x,q as _,K as w,Z as k}from"../../index-c33b3772.js";function v(t){let i,o,e=`<${t[6]} class="mc-card__subtitle">${t[5]}</${t[6]}>`;return{c(){i=new k(!1),o=w(),i.a=o},m(t,m){i.m(e,t,m),r(t,o,m)},p(t,o){96&o&&e!==(e=`<${t[6]} class="mc-card__subtitle">${t[5]}</${t[6]}>`)&&i.p(e)},d(t){t&&f(o),t&&i.d()}}}function y(t){let i;return{c(){i=l("footer"),i.innerHTML='<slot name="footer"></slot>',b(i,"class","mc-card__footer")},m(t,o){r(t,i,o)},d(t){t&&f(i)}}}function $(t){let i,o,e,m,n,p,x,_,w,$,z,j,C,R=`<${t[3]} class="mc-card__title">${t[0]}</${t[3]}>`,q=t[5]&&v(t),Y=t[10].footer&&y(),E=[{class:C="mc-card"+(t[2]?" mc-card--bordered":"")+" "+t[9]},t[8]],H={};for(let t=0;t<E.length;t+=1)H=c(H,E[t]);return{c(){i=l("div"),o=l("figure"),e=l("img"),p=a(),x=l("article"),_=new k(!1),w=a(),q&&q.c(),$=a(),z=l("div"),z.innerHTML="<slot></slot>",j=a(),Y&&Y.c(),this.c=d,s(e.src,m=t[1])||b(e,"src",m),b(e,"alt",t[4]),b(e,"class","mc-card__img"),b(o,"class",n="mc-card__visual "+(t[7]?`mc-card__visual--${t[7]}`:"")),_.a=w,b(z,"class","mc-card__body"),b(x,"class","mc-card__content"),h(i,H)},m(t,m){r(t,i,m),u(i,o),u(o,e),u(i,p),u(i,x),_.m(R,x),u(x,w),q&&q.m(x,null),u(x,$),u(x,z),u(x,j),Y&&Y.m(x,null)},p(t,[r]){2&r&&!s(e.src,m=t[1])&&b(e,"src",m),16&r&&b(e,"alt",t[4]),128&r&&n!==(n="mc-card__visual "+(t[7]?`mc-card__visual--${t[7]}`:""))&&b(o,"class",n),9&r&&R!==(R=`<${t[3]} class="mc-card__title">${t[0]}</${t[3]}>`)&&_.p(R),t[5]?q?q.p(t,r):(q=v(t),q.c(),q.m(x,$)):q&&(q.d(1),q=null),t[10].footer?Y||(Y=y(),Y.c(),Y.m(x,null)):Y&&(Y.d(1),Y=null),h(i,H=g(E,[516&r&&C!==(C="mc-card"+(t[2]?" mc-card--bordered":"")+" "+t[9])&&{class:C},256&r&&t[8]]))},i:d,o:d,d(t){t&&f(i),q&&q.d(),Y&&Y.d()}}}function z(t,i,o){let e,r;const m=["title","imgsrc","outlined","titletag","imgalt","subtitle","subtitletag","imageratio"];let n=p(i,m),{$$slots:l={},$$scope:a}=i;const d=x(l);let{title:s}=i,{imgsrc:b}=i,{outlined:h=!1}=i,{titletag:u="h1"}=i,{imgalt:g}=i,{subtitle:f}=i,{subtitletag:w="h2"}=i,{imageratio:k="4x3"}=i;return t.$$set=t=>{o(12,i=c(c({},i),_(t))),o(11,n=p(i,m)),"title"in t&&o(0,s=t.title),"imgsrc"in t&&o(1,b=t.imgsrc),"outlined"in t&&o(2,h=t.outlined),"titletag"in t&&o(3,u=t.titletag),"imgalt"in t&&o(4,g=t.imgalt),"subtitle"in t&&o(5,f=t.subtitle),"subtitletag"in t&&o(6,w=t.subtitletag),"imageratio"in t&&o(7,k=t.imageratio)},t.$$.update=()=>{o(9,e=i.class),o(8,r=Object.assign({},n)),256&t.$$.dirty&&delete r.class},i=_(i),[s,b,h,u,g,f,w,k,r,e,d]}class j extends t{constructor(t){super();const c=document.createElement("style");c.textContent='.mc-button{margin:0;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;color:#ffffff;background-color:#007f8c;font-family:"Roboto", sans-serif;font-weight:700;font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;-webkit-transition:all ease 200ms;-o-transition:all ease 200ms;transition:all ease 200ms;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;fill:currentColor}.mc-button.is-hover,.mc-button:hover{background-color:#006974;color:#ffffff}.mc-button.is-active,.mc-button:active{background-color:#006974}.mc-button:disabled,.mc-button.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button .mc-button__icon:first-child,.mc-button .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button.is-focus,.mc-button:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-button--s{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s .mc-button__icon:first-child,.mc-button--s .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m .mc-button__icon:first-child,.mc-button--m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l .mc-button__icon{width:2rem;height:2rem}.mc-button--l .mc-button__icon:first-child,.mc-button--l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:0;padding:0}.mc-button__icon{-ms-flex-negative:0;flex-shrink:0}.mc-button__icon:last-child{margin-left:0.5rem;margin-right:-0.25rem}.mc-button__icon:first-child{margin-right:0.5rem;margin-left:-0.25rem}.mc-button__icon:only-child{margin:0}.mc-button__label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;pointer-events:none}.mc-button--solid-primary-02{background-color:#6a7081}.mc-button--solid-primary-02.is-hover,.mc-button--solid-primary-02:hover{background-color:#242938}.mc-button--solid-primary-02.is-active,.mc-button--solid-primary-02:active{background-color:#171b26}.mc-button--solid-primary-02:disabled,.mc-button--solid-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-neutral{background-color:#333333}.mc-button--solid-neutral.is-hover,.mc-button--solid-neutral:hover{background-color:#191919}.mc-button--solid-neutral.is-active,.mc-button--solid-neutral:active{background-color:#333333}.mc-button--solid-neutral:disabled,.mc-button--solid-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-danger{background-color:#c61112}.mc-button--solid-danger.is-hover,.mc-button--solid-danger:hover{background-color:#8c0003}.mc-button--solid-danger.is-active,.mc-button--solid-danger:active{background-color:#8c0003}.mc-button--solid-danger:disabled,.mc-button--solid-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered{color:#007f8c;border-color:#007f8c;background-color:#ffffff}.mc-button--bordered.is-hover,.mc-button--bordered:hover{background-color:#d9f0f3;color:#006974}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#91d5db;color:#004e57}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#91d5db;color:#004e57}.mc-button--bordered:disabled,.mc-button--bordered.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-primary-02{color:#6a7081;border-color:#6a7081;background-color:#ffffff}.mc-button--bordered-primary-02.is-hover,.mc-button--bordered-primary-02:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02.is-active,.mc-button--bordered-primary-02:active{background-color:#cfd2d8}.mc-button--bordered-primary-02:disabled,.mc-button--bordered-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-neutral{color:#333333;border-color:#333333;background-color:#ffffff}.mc-button--bordered-neutral.is-hover,.mc-button--bordered-neutral:hover{background-color:#e6e6e6;color:#333333}.mc-button--bordered-neutral.is-active,.mc-button--bordered-neutral:active{background-color:#cccccc}.mc-button--bordered-neutral:disabled,.mc-button--bordered-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-danger{color:#c61112;border-color:#c61112;background-color:#ffffff}.mc-button--bordered-danger.is-hover,.mc-button--bordered-danger:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger:disabled,.mc-button--bordered-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}@media screen and (min-width: 680px){.mc-button--s\\@from-m{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m .mc-button__icon:first-child,.mc-button--s\\@from-m .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m .mc-button__icon:first-child,.mc-button--m\\@from-m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-m{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-m .mc-button__icon:first-child,.mc-button--l\\@from-m .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-m{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-m{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-m{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l .mc-button__icon:first-child,.mc-button--s\\@from-l .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-l{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l .mc-button__icon:first-child,.mc-button--m\\@from-l .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-l .mc-button__icon:first-child,.mc-button--l\\@from-l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-l{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-l{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-l{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{padding:0}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl .mc-button__icon:first-child,.mc-button--s\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl .mc-button__icon:first-child,.mc-button--m\\@from-xl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xl .mc-button__icon:first-child,.mc-button--l\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl .mc-button__icon:first-child,.mc-button--s\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl .mc-button__icon:first-child,.mc-button--m\\@from-xxl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xxl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xxl .mc-button__icon:first-child,.mc-button--l\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xxl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xxl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xxl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-link{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:inherit;text-decoration:underline;-webkit-transition:color ease 200ms;-o-transition:color ease 200ms;transition:color ease 200ms;gap:0.25rem;color:#000000;position:relative;font-size:1rem;line-height:1.375}.mc-link:focus{outline:none}.mc-link:focus::after{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-link.is-visited,.mc-link:visited{color:#333333}.mc-link.is-hover,.mc-link:hover{color:#666666}.mc-link.is-active,.mc-link:active{color:#333333}.mc-link.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--s{font-size:0.875rem;line-height:1.2857142857}.mc-link--m{font-size:1rem;line-height:1.375}.mc-link::after{border-radius:2px;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent;content:"";display:block;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transition:-webkit-box-shadow 200ms ease;transition:-webkit-box-shadow 200ms ease;-o-transition:box-shadow 200ms ease;transition:box-shadow 200ms ease;transition:box-shadow 200ms ease, -webkit-box-shadow 200ms ease}.mc-link__icon{display:block;height:1rem;fill:currentColor;-ms-flex-negative:0;flex-shrink:0;width:1rem}.mc-link--light{color:#ffffff}.mc-link--light.is-visited,.mc-link--light:visited{color:#cccccc}.mc-link--light.is-hover,.mc-link--light:hover{color:#999999}.mc-link--light.is-active,.mc-link--light:active{color:#cccccc}.mc-link--light.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--primary{color:#007f8c}.mc-link--primary.is-visited,.mc-link--primary:visited{color:#006974}.mc-link--primary.is-hover,.mc-link--primary:hover{color:#004e57}.mc-link--primary.is-active,.mc-link--primary:active{color:#006974}.mc-link--primary.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--primary-02{color:#494f60}.mc-link--primary-02.is-visited,.mc-link--primary-02:visited{color:#343b4c}.mc-link--primary-02.is-hover,.mc-link--primary-02:hover{color:#171b26}.mc-link--primary-02.is-active,.mc-link--primary-02:active{color:#343b4c}.mc-link--primary-02.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--danger{color:#c61112}.mc-link--danger.is-visited,.mc-link--danger:visited{color:#8c0003}.mc-link--danger.is-hover,.mc-link--danger:hover{color:#530000}.mc-link--danger.is-active,.mc-link--danger:active{color:#8c0003}.mc-link--danger.is-disabled{color:#e6e6e6;cursor:not-allowed}@media screen and (min-width: 680px){.mc-link--s\\@from-m{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-m{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1024px){.mc-link--s\\@from-l{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-l{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1280px){.mc-link--s\\@from-xl{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-xl{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1920px){.mc-link--s\\@from-xxl{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-xxl{font-size:1rem;line-height:1.375}}.mc-card{font-family:"Roboto", sans-serif;max-width:17.75rem}.mc-card,.mc-card *{-webkit-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width: 680px){.mc-card{max-width:18.25rem}}@media screen and (min-width: 1024px){.mc-card{max-width:18rem}}@media screen and (min-width: 1280px){.mc-card{max-width:17.5rem}}@media screen and (min-width: 1920px){.mc-card{max-width:27.25rem}}.mc-card__visual{margin:0;overflow:hidden;position:relative}.mc-card__visual::before{content:"";display:block;width:100%;padding-top:75%}.mc-card__visual--1x1::before{padding-top:100%}.mc-card__visual--16x9::before{padding-top:56.25%}.mc-card__img{height:auto;left:0;position:absolute;top:50%;width:100%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.mc-card__content{padding-top:1rem}.mc-card__title,.mc-card__subtitle{margin-top:0;margin-bottom:0.5rem}.mc-card__title{font-size:1.125rem;line-height:1.3333333333;font-weight:700;color:#000000}.mc-card__subtitle{font-size:0.875rem;line-height:1.2857142857;font-weight:400;color:#333333}.mc-card__body{font-size:1rem;line-height:1.375;color:#191919}.mc-card__body:not(:last-child){margin-bottom:1rem}.mc-card--bordered{background:#ffffff;border:2px solid #808080;border-radius:0.25rem;overflow:hidden}.mc-card--bordered .mc-card__content{padding-bottom:1.5rem;padding-left:1rem;padding-right:1rem}.mc-card--fluid{max-width:none}',this.shadowRoot.appendChild(c),i(this,{target:this.shadowRoot,props:{...o(this.attributes),$$slots:e(this)},customElement:!0},z,$,n,{title:0,imgsrc:1,outlined:2,titletag:3,imgalt:4,subtitle:5,subtitletag:6,imageratio:7},null),t&&(t.target&&r(t.target,this,t.anchor),t.props&&(this.$set(t.props),m()))}static get observedAttributes(){return["title","imgsrc","outlined","titletag","imgalt","subtitle","subtitletag","imageratio"]}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),m()}get imgsrc(){return this.$$.ctx[1]}set imgsrc(t){this.$$set({imgsrc:t}),m()}get outlined(){return this.$$.ctx[2]}set outlined(t){this.$$set({outlined:t}),m()}get titletag(){return this.$$.ctx[3]}set titletag(t){this.$$set({titletag:t}),m()}get imgalt(){return this.$$.ctx[4]}set imgalt(t){this.$$set({imgalt:t}),m()}get subtitle(){return this.$$.ctx[5]}set subtitle(t){this.$$set({subtitle:t}),m()}get subtitletag(){return this.$$.ctx[6]}set subtitletag(t){this.$$set({subtitletag:t}),m()}get imageratio(){return this.$$.ctx[7]}set imageratio(t){this.$$set({imageratio:t}),m()}}export{j as default};
1
+ import{S as t,i,a as o,_ as e,b as r,f as m,s as n,c,e as l,d as a,n as d,$ as s,g as b,h,j as u,m as g,o as f,p,a0 as x,q as _,P as w,Z as k}from"../../index-52f16292.js";function v(t){let i,o,e=`<${t[6]} class="mc-card__subtitle">${t[5]}</${t[6]}>`;return{c(){i=new k(!1),o=w(),i.a=o},m(t,m){i.m(e,t,m),r(t,o,m)},p(t,o){96&o&&e!==(e=`<${t[6]} class="mc-card__subtitle">${t[5]}</${t[6]}>`)&&i.p(e)},d(t){t&&f(o),t&&i.d()}}}function y(t){let i;return{c(){i=l("footer"),i.innerHTML='<slot name="footer"></slot>',b(i,"class","mc-card__footer")},m(t,o){r(t,i,o)},d(t){t&&f(i)}}}function $(t){let i,o,e,m,n,p,x,_,w,$,z,j,C,R=`<${t[3]} class="mc-card__title">${t[0]}</${t[3]}>`,q=t[5]&&v(t),Y=t[10].footer&&y(),E=[{class:C="mc-card"+(t[2]?" mc-card--bordered":"")+" "+t[9]},t[8]],H={};for(let t=0;t<E.length;t+=1)H=c(H,E[t]);return{c(){i=l("div"),o=l("figure"),e=l("img"),p=a(),x=l("article"),_=new k(!1),w=a(),q&&q.c(),$=a(),z=l("div"),z.innerHTML="<slot></slot>",j=a(),Y&&Y.c(),this.c=d,s(e.src,m=t[1])||b(e,"src",m),b(e,"alt",t[4]),b(e,"class","mc-card__img"),b(o,"class",n="mc-card__visual "+(t[7]?`mc-card__visual--${t[7]}`:"")),_.a=w,b(z,"class","mc-card__body"),b(x,"class","mc-card__content"),h(i,H)},m(t,m){r(t,i,m),u(i,o),u(o,e),u(i,p),u(i,x),_.m(R,x),u(x,w),q&&q.m(x,null),u(x,$),u(x,z),u(x,j),Y&&Y.m(x,null)},p(t,[r]){2&r&&!s(e.src,m=t[1])&&b(e,"src",m),16&r&&b(e,"alt",t[4]),128&r&&n!==(n="mc-card__visual "+(t[7]?`mc-card__visual--${t[7]}`:""))&&b(o,"class",n),9&r&&R!==(R=`<${t[3]} class="mc-card__title">${t[0]}</${t[3]}>`)&&_.p(R),t[5]?q?q.p(t,r):(q=v(t),q.c(),q.m(x,$)):q&&(q.d(1),q=null),t[10].footer?Y||(Y=y(),Y.c(),Y.m(x,null)):Y&&(Y.d(1),Y=null),h(i,H=g(E,[516&r&&C!==(C="mc-card"+(t[2]?" mc-card--bordered":"")+" "+t[9])&&{class:C},256&r&&t[8]]))},i:d,o:d,d(t){t&&f(i),q&&q.d(),Y&&Y.d()}}}function z(t,i,o){let e,r;const m=["title","imgsrc","outlined","titletag","imgalt","subtitle","subtitletag","imageratio"];let n=p(i,m),{$$slots:l={},$$scope:a}=i;const d=x(l);let{title:s}=i,{imgsrc:b}=i,{outlined:h=!1}=i,{titletag:u="h1"}=i,{imgalt:g}=i,{subtitle:f}=i,{subtitletag:w="h2"}=i,{imageratio:k="4x3"}=i;return t.$$set=t=>{o(12,i=c(c({},i),_(t))),o(11,n=p(i,m)),"title"in t&&o(0,s=t.title),"imgsrc"in t&&o(1,b=t.imgsrc),"outlined"in t&&o(2,h=t.outlined),"titletag"in t&&o(3,u=t.titletag),"imgalt"in t&&o(4,g=t.imgalt),"subtitle"in t&&o(5,f=t.subtitle),"subtitletag"in t&&o(6,w=t.subtitletag),"imageratio"in t&&o(7,k=t.imageratio)},t.$$.update=()=>{o(9,e=i.class),o(8,r=Object.assign({},n)),256&t.$$.dirty&&delete r.class},i=_(i),[s,b,h,u,g,f,w,k,r,e,d]}class j extends t{constructor(t){super();const c=document.createElement("style");c.textContent='.mc-button{margin:0;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;color:#ffffff;background-color:#007f8c;font-family:"Roboto", sans-serif;font-weight:700;font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;-webkit-transition:all ease 200ms;-o-transition:all ease 200ms;transition:all ease 200ms;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;fill:currentColor}.mc-button.is-hover,.mc-button:hover{background-color:#006974;color:#ffffff}.mc-button.is-active,.mc-button:active{background-color:#006974}.mc-button:disabled,.mc-button.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button .mc-button__icon:first-child,.mc-button .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button.is-focus,.mc-button:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-button--s{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s .mc-button__icon:first-child,.mc-button--s .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m .mc-button__icon:first-child,.mc-button--m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l .mc-button__icon{width:2rem;height:2rem}.mc-button--l .mc-button__icon:first-child,.mc-button--l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:0;padding:0}.mc-button__icon{-ms-flex-negative:0;flex-shrink:0}.mc-button__icon:last-child{margin-left:0.5rem;margin-right:-0.25rem}.mc-button__icon:first-child{margin-right:0.5rem;margin-left:-0.25rem}.mc-button__icon:only-child{margin:0}.mc-button__label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;pointer-events:none}.mc-button--solid-primary-02{background-color:#6a7081}.mc-button--solid-primary-02.is-hover,.mc-button--solid-primary-02:hover{background-color:#242938}.mc-button--solid-primary-02.is-active,.mc-button--solid-primary-02:active{background-color:#171b26}.mc-button--solid-primary-02:disabled,.mc-button--solid-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-neutral{background-color:#333333}.mc-button--solid-neutral.is-hover,.mc-button--solid-neutral:hover{background-color:#191919}.mc-button--solid-neutral.is-active,.mc-button--solid-neutral:active{background-color:#333333}.mc-button--solid-neutral:disabled,.mc-button--solid-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-danger{background-color:#c61112}.mc-button--solid-danger.is-hover,.mc-button--solid-danger:hover{background-color:#8c0003}.mc-button--solid-danger.is-active,.mc-button--solid-danger:active{background-color:#8c0003}.mc-button--solid-danger:disabled,.mc-button--solid-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered{color:#007f8c;border-color:#007f8c;background-color:#ffffff}.mc-button--bordered.is-hover,.mc-button--bordered:hover{background-color:#d9f0f3;color:#006974}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#91d5db;color:#004e57}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#91d5db;color:#004e57}.mc-button--bordered:disabled,.mc-button--bordered.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-primary-02{color:#6a7081;border-color:#6a7081;background-color:#ffffff}.mc-button--bordered-primary-02.is-hover,.mc-button--bordered-primary-02:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02.is-active,.mc-button--bordered-primary-02:active{background-color:#cfd2d8}.mc-button--bordered-primary-02:disabled,.mc-button--bordered-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-neutral{color:#333333;border-color:#333333;background-color:#ffffff}.mc-button--bordered-neutral.is-hover,.mc-button--bordered-neutral:hover{background-color:#e6e6e6;color:#333333}.mc-button--bordered-neutral.is-active,.mc-button--bordered-neutral:active{background-color:#cccccc}.mc-button--bordered-neutral:disabled,.mc-button--bordered-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-danger{color:#c61112;border-color:#c61112;background-color:#ffffff}.mc-button--bordered-danger.is-hover,.mc-button--bordered-danger:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger:disabled,.mc-button--bordered-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}@media screen and (min-width: 680px){.mc-button--s\\@from-m{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m .mc-button__icon:first-child,.mc-button--s\\@from-m .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m .mc-button__icon:first-child,.mc-button--m\\@from-m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-m{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-m .mc-button__icon:first-child,.mc-button--l\\@from-m .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-m{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-m{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-m{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l .mc-button__icon:first-child,.mc-button--s\\@from-l .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-l{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l .mc-button__icon:first-child,.mc-button--m\\@from-l .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-l .mc-button__icon:first-child,.mc-button--l\\@from-l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-l{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-l{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-l{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{padding:0}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl .mc-button__icon:first-child,.mc-button--s\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl .mc-button__icon:first-child,.mc-button--m\\@from-xl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xl .mc-button__icon:first-child,.mc-button--l\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl .mc-button__icon:first-child,.mc-button--s\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl .mc-button__icon:first-child,.mc-button--m\\@from-xxl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xxl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xxl .mc-button__icon:first-child,.mc-button--l\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xxl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xxl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xxl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-link{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:inherit;text-decoration:underline;-webkit-transition:color ease 200ms;-o-transition:color ease 200ms;transition:color ease 200ms;gap:0.25rem;color:#000000;position:relative;font-size:1rem;line-height:1.375}.mc-link:focus{outline:none}.mc-link:focus::after{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}.mc-link.is-visited,.mc-link:visited{color:#333333}.mc-link.is-hover,.mc-link:hover{color:#666666}.mc-link.is-active,.mc-link:active{color:#333333}.mc-link.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--s{font-size:0.875rem;line-height:1.2857142857}.mc-link--m{font-size:1rem;line-height:1.375}.mc-link::after{border-radius:2px;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent;content:"";display:block;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transition:-webkit-box-shadow 200ms ease;transition:-webkit-box-shadow 200ms ease;-o-transition:box-shadow 200ms ease;transition:box-shadow 200ms ease;transition:box-shadow 200ms ease, -webkit-box-shadow 200ms ease}.mc-link__icon{display:block;height:1rem;fill:currentColor;-ms-flex-negative:0;flex-shrink:0;width:1rem}.mc-link--light{color:#ffffff}.mc-link--light.is-visited,.mc-link--light:visited{color:#cccccc}.mc-link--light.is-hover,.mc-link--light:hover{color:#999999}.mc-link--light.is-active,.mc-link--light:active{color:#cccccc}.mc-link--light.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--primary{color:#007f8c}.mc-link--primary.is-visited,.mc-link--primary:visited{color:#006974}.mc-link--primary.is-hover,.mc-link--primary:hover{color:#004e57}.mc-link--primary.is-active,.mc-link--primary:active{color:#006974}.mc-link--primary.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--primary-02{color:#494f60}.mc-link--primary-02.is-visited,.mc-link--primary-02:visited{color:#343b4c}.mc-link--primary-02.is-hover,.mc-link--primary-02:hover{color:#171b26}.mc-link--primary-02.is-active,.mc-link--primary-02:active{color:#343b4c}.mc-link--primary-02.is-disabled{color:#e6e6e6;cursor:not-allowed}.mc-link--danger{color:#c61112}.mc-link--danger.is-visited,.mc-link--danger:visited{color:#8c0003}.mc-link--danger.is-hover,.mc-link--danger:hover{color:#530000}.mc-link--danger.is-active,.mc-link--danger:active{color:#8c0003}.mc-link--danger.is-disabled{color:#e6e6e6;cursor:not-allowed}@media screen and (min-width: 680px){.mc-link--s\\@from-m{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-m{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1024px){.mc-link--s\\@from-l{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-l{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1280px){.mc-link--s\\@from-xl{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-xl{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1920px){.mc-link--s\\@from-xxl{font-size:0.875rem;line-height:1.2857142857}.mc-link--m\\@from-xxl{font-size:1rem;line-height:1.375}}.mc-card{font-family:"Roboto", sans-serif;max-width:17.75rem}.mc-card,.mc-card *{-webkit-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width: 680px){.mc-card{max-width:18.25rem}}@media screen and (min-width: 1024px){.mc-card{max-width:18rem}}@media screen and (min-width: 1280px){.mc-card{max-width:17.5rem}}@media screen and (min-width: 1920px){.mc-card{max-width:27.25rem}}.mc-card__visual{margin:0;overflow:hidden;position:relative}.mc-card__visual::before{content:"";display:block;width:100%;padding-top:75%}.mc-card__visual--1x1::before{padding-top:100%}.mc-card__visual--16x9::before{padding-top:56.25%}.mc-card__img{height:auto;left:0;position:absolute;top:50%;width:100%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.mc-card__content{padding-top:1rem}.mc-card__title,.mc-card__subtitle{margin-top:0;margin-bottom:0.5rem}.mc-card__title{font-size:1.125rem;line-height:1.3333333333;font-weight:700;color:#000000}.mc-card__subtitle{font-size:0.875rem;line-height:1.2857142857;font-weight:400;color:#333333}.mc-card__body{font-size:1rem;line-height:1.375;color:#191919}.mc-card__body:not(:last-child){margin-bottom:1rem}.mc-card--bordered{background:#ffffff;border:2px solid #808080;border-radius:0.25rem;overflow:hidden}.mc-card--bordered .mc-card__content{padding-bottom:1.5rem;padding-left:1rem;padding-right:1rem}.mc-card--fluid{max-width:none}',this.shadowRoot.appendChild(c),i(this,{target:this.shadowRoot,props:{...o(this.attributes),$$slots:e(this)},customElement:!0},z,$,n,{title:0,imgsrc:1,outlined:2,titletag:3,imgalt:4,subtitle:5,subtitletag:6,imageratio:7},null),t&&(t.target&&r(t.target,this,t.anchor),t.props&&(this.$set(t.props),m()))}static get observedAttributes(){return["title","imgsrc","outlined","titletag","imgalt","subtitle","subtitletag","imageratio"]}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),m()}get imgsrc(){return this.$$.ctx[1]}set imgsrc(t){this.$$set({imgsrc:t}),m()}get outlined(){return this.$$.ctx[2]}set outlined(t){this.$$set({outlined:t}),m()}get titletag(){return this.$$.ctx[3]}set titletag(t){this.$$set({titletag:t}),m()}get imgalt(){return this.$$.ctx[4]}set imgalt(t){this.$$set({imgalt:t}),m()}get subtitle(){return this.$$.ctx[5]}set subtitle(t){this.$$set({subtitle:t}),m()}get subtitletag(){return this.$$.ctx[6]}set subtitletag(t){this.$$set({subtitletag:t}),m()}get imageratio(){return this.$$.ctx[7]}set imageratio(t){this.$$set({imageratio:t}),m()}}export{j as default};
2
2
  //# sourceMappingURL=Card.js.map
@@ -0,0 +1,2 @@
1
+ import{S as e,i as t,a as i,b as s,f as a,s as o,e as l,d as n,B as r,n as c,g as d,J as m,j as u,C as p,l as b,y as h,x as f,w,o as x,D as _,O as g,a1 as $,Z as v,z as k,H as y}from"../../index-52f16292.js";import z from"../link/Link.nested.js";import j from"./CarouselCard.nested.js";import L from"../button/Button.nested.js";import{E as V}from"../../EventHandler-f4efd23c.js";import"../../EventForward-422700d7.js";import"../loader/Loader.nested.js";function W(e,t,i){const s=e.slice();return s[33]=t[i],s}function S(e){let t,i,a,o,c,m;function f(...t){return e[24](e[33],...t)}return i=new j({props:{title:e[33].title,imgSrc:e[33].imgSrc,imgAlt:e[33].imgAlt}}),{c(){t=l("button"),r(i.$$.fragment),a=n(),d(t,"class","mc-carousel__item")},m(e,l){s(e,t,l),p(i,t,null),u(t,a),o=!0,c||(m=b(t,"click",f),c=!0)},p(t,s){e=t;const a={};32&s[0]&&(a.title=e[33].title),32&s[0]&&(a.imgSrc=e[33].imgSrc),32&s[0]&&(a.imgAlt=e[33].imgAlt),i.$set(a)},i(e){o||(h(i.$$.fragment,e),o=!0)},o(e){w(i.$$.fragment,e),o=!1},d(e){e&&x(t),_(i),c=!1,m()}}}function H(e){let t,i,a,o,$,y,j,V,H,I,N,O,B,J,M,P,R,D,F,T=`<${e[1]} style="margin:0">${e[0]}</${e[1]}>`;j=new z({props:{href:"#layer",iconname:"navigation-arrow-arrow--right-24px",iconposition:"right",label:e[2],size:"s",target:"_self"}}),j.$on("click",e[16]),I=new L({props:{theme:"neutral",size:"s",bordered:!0,iconmode:"only",iconname:"navigation-arrow-arrow--left-32px","aria-label":"Previous page",disabled:e[7],label:"Previous",loader:""}}),I.$on("click",e[13]),O=new L({props:{theme:"neutral",size:"s",type:"button",bordered:!0,disabled:e[8],iconmode:"only",iconname:"navigation-arrow-arrow--right-32px","aria-label":"Next Page",label:"Next",loader:""}}),O.$on("click",e[12]);let Z=e[5],q=[];for(let t=0;t<Z.length;t+=1)q[t]=S(W(e,Z,t));const G=e=>w(q[e],1,1,(()=>{q[e]=null}));return{c(){t=l("div"),i=l("div"),a=l("div"),o=new v(!1),$=n(),y=l("div"),r(j.$$.fragment),V=n(),H=l("nav"),r(I.$$.fragment),N=n(),r(O.$$.fragment),J=n(),M=l("div"),P=l("div");for(let e=0;e<q.length;e+=1)q[e].c();this.c=c,o.a=$,d(y,"class","mc-carousel__subtitle"),d(a,"class","mc-carousel__titles"),d(H,"aria-label","pagination"),d(H,"class",B="mc-carousel__nav "+(e[3]?"mc-carousel__nav--mobile":"mc-carousel__nav--desktop")),d(i,"class","mc-carousel__header"),d(P,"class","mc-carousel__content"),m(P,"--carousel__container-width-space",e[10]+"px"),m(P,"--carousel__items-count",e[4]),m(P,"--carousel__item-width-space",e[11]+"px"),m(P,"--carousel__items-visible",e[9]),m(P,"--carousel__scrollbar-left",E),m(P,"--carousel__container-separate-item-size",A+"px"),d(M,"class","mc-carousel__body"),m(M,"--carousel__accessibility-focus-padding",C+"px"),d(t,"class","mc-carousel")},m(l,n){s(l,t,n),u(t,i),u(i,a),o.m(T,a),u(a,$),u(a,y),p(j,y,null),u(i,V),u(i,H),p(I,H,null),u(H,N),p(O,H,null),u(t,J),u(t,M),u(M,P);for(let e=0;e<q.length;e+=1)q[e]&&q[e].m(P,null);e[25](M),R=!0,D||(F=b(M,"scroll",e[14]),D=!0)},p(e,t){(!R||3&t[0])&&T!==(T=`<${e[1]} style="margin:0">${e[0]}</${e[1]}>`)&&o.p(T);const i={};4&t[0]&&(i.label=e[2]),j.$set(i);const s={};128&t[0]&&(s.disabled=e[7]),I.$set(s);const a={};if(256&t[0]&&(a.disabled=e[8]),O.$set(a),(!R||8&t[0]&&B!==(B="mc-carousel__nav "+(e[3]?"mc-carousel__nav--mobile":"mc-carousel__nav--desktop")))&&d(H,"class",B),32800&t[0]){let i;for(Z=e[5],i=0;i<Z.length;i+=1){const s=W(e,Z,i);q[i]?(q[i].p(s,t),h(q[i],1)):(q[i]=S(s),q[i].c(),h(q[i],1),q[i].m(P,null))}for(k(),i=Z.length;i<q.length;i+=1)G(i);f()}(!R||1024&t[0])&&m(P,"--carousel__container-width-space",e[10]+"px"),(!R||16&t[0])&&m(P,"--carousel__items-count",e[4]),(!R||2048&t[0])&&m(P,"--carousel__item-width-space",e[11]+"px"),(!R||512&t[0])&&m(P,"--carousel__items-visible",e[9])},i(e){if(!R){h(j.$$.fragment,e),h(I.$$.fragment,e),h(O.$$.fragment,e);for(let e=0;e<Z.length;e+=1)h(q[e]);R=!0}},o(e){w(j.$$.fragment,e),w(I.$$.fragment,e),w(O.$$.fragment,e),q=q.filter(Boolean);for(let e=0;e<q.length;e+=1)w(q[e]);R=!1},d(i){i&&x(t),_(j),_(I),_(O),g(q,i),e[25](null),D=!1,F()}}}let A=16,C=4,E=0;function I(e,t){return t?e*A:(e-1)*A}function N(e,t,i){let s,a,o,l,n,r,c,d,m,{title:u}=t,{titletag:p="h1"}=t,{subtitlelink:b}=t,{mobile:h=!1}=t,{options:f}=t,{items:w}=t;const x=window.matchMedia("(max-width: 679px)"),_=window.matchMedia("(min-width: 680px) and (max-width: 1279px)"),g=window.matchMedia("(min-width: 1280px)"),v={s:{itemsVisible:1,hasHalfItemVisible:!0},m:{itemsVisible:3,hasHalfItemVisible:!1},xl:{itemsVisible:5,hasHalfItemVisible:!1}};let k,z=new V,j=function(e,t){return t.matches?"xl":e.matches?"m":"s"}(_,g),L=!0,W=!1;function S(e){k.scrollTo({behavior:"smooth",left:function(){if(!n)return k.scrollLeft+e*(k.clientWidth+A-2*C);const t=function(){const e=I(l,n);return n?(k.clientWidth-e)/c:(k.clientWidth-e)/l}();return L?k.scrollLeft+(e*(k.clientWidth-3/4*t-A)+C):W?k.scrollLeft+e*(k.clientWidth-3/4*t-A):k.scrollLeft+e*(k.clientWidth-t/2-A+2*C)}()})}function H(e,t){return z.dispatch("carousel-item-clicked",e),t}function E(e,t){return e.matches&&i(19,j=t),e}$((()=>{x.onchange=e=>{E(e,"s")},_.onchange=e=>{E(e,"m")},g.onchange=e=>{E(e,"xl")}}));return e.$$set=e=>{"title"in e&&i(0,u=e.title),"titletag"in e&&i(1,p=e.titletag),"subtitlelink"in e&&i(2,b=e.subtitlelink),"mobile"in e&&i(3,h=e.mobile),"options"in e&&i(17,f=e.options),"items"in e&&i(18,w=e.items)},e.$$.update=()=>{262144&e.$$.dirty[0]&&i(5,s=w?JSON.parse(w):[]),131072&e.$$.dirty[0]&&i(23,a=f?Object.assign({},v,JSON.parse(f)):v),32&e.$$.dirty[0]&&i(22,o=null==s?void 0:s.length),8912896&e.$$.dirty[0]&&i(21,l=a[j].itemsVisible),8912896&e.$$.dirty[0]&&i(20,n=a[j].hasHalfItemVisible||!1),6291456&e.$$.dirty[0]&&i(4,r=o<l?l:o),3145728&e.$$.dirty[0]&&i(9,c=n?l+.5:l),3145728&e.$$.dirty[0]&&i(11,d=I(l,n)),16&e.$$.dirty[0]&&i(10,m=(r-1)*A)},[u,p,b,h,r,s,k,L,W,c,m,d,function(){S(1)},function(){S(-1)},function(){i(7,L=(null==k?void 0:k.scrollLeft)<=0),i(8,W=(null==k?void 0:k.scrollWidth)-(null==k?void 0:k.scrollLeft)<=k.offsetWidth)},H,function(e){return z.dispatch("carousel-link-clicked",{}),e},f,w,j,n,l,o,a,(e,t)=>H(e,t),function(e){y[e?"unshift":"push"]((()=>{k=e,i(6,k)}))}]}class O extends e{constructor(e){super();const l=document.createElement("style");l.textContent='@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){}@media screen and (min-width: 680px){@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){}}@media screen and (min-width: 1024px){@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){}}@media screen and (min-width: 1280px){@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){}}@media screen and (min-width: 1920px){@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){}}@media screen and (min-width: 680px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1280px){}@media screen and (min-width: 1920px){}@media screen and (min-width: 1024px){}.mc-carousel{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem}.mc-carousel__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mc-carousel__titles{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:0.25rem}.mc-carousel__nav{gap:0.5rem}.mc-carousel__nav--mobile{display:none}.mc-carousel__nav--desktop{display:-webkit-box;display:-ms-flexbox;display:flex}.mc-carousel__body{position:relative;overflow-x:auto;overflow-y:hidden;padding:var(--carousel__accessibility-focus-padding)}.mc-carousel__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-column-gap:var(--carousel__container-separate-item-size);-moz-column-gap:var(--carousel__container-separate-item-size);column-gap:var(--carousel__container-separate-item-size);width:calc((100% - var(--carousel__item-width-space)) / var(--carousel__items-visible) * var(--carousel__items-count) + var(--carousel__container-width-space));margin-bottom:1.25rem}.mc-carousel__item{display:-webkit-box;display:-ms-flexbox;display:flex;background:none;border:none;margin:0;padding:0;cursor:pointer;width:calc((100% - var(--carousel__item-width-space)) / var(--carousel__items-visible));position:relative}.mc-carousel__item::after{border-radius:2px;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent;content:"";display:block;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transition:-webkit-box-shadow 200ms ease;transition:-webkit-box-shadow 200ms ease;-o-transition:box-shadow 200ms ease;transition:box-shadow 200ms ease;transition:box-shadow 200ms ease, -webkit-box-shadow 200ms ease}.mc-carousel__item:focus::after{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #758992}::-webkit-scrollbar{border-radius:0.25rem;height:6px;background:#e6e6e6;border-top:1px solid white;border-bottom:1px solid white}::-webkit-scrollbar-thumb{background:#333333;border-radius:6px}',this.shadowRoot.appendChild(l),t(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},N,H,o,{title:0,titletag:1,subtitlelink:2,mobile:3,options:17,items:18},null,[-1,-1]),e&&(e.target&&s(e.target,this,e.anchor),e.props&&(this.$set(e.props),a()))}static get observedAttributes(){return["title","titletag","subtitlelink","mobile","options","items"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),a()}get titletag(){return this.$$.ctx[1]}set titletag(e){this.$$set({titletag:e}),a()}get subtitlelink(){return this.$$.ctx[2]}set subtitlelink(e){this.$$set({subtitlelink:e}),a()}get mobile(){return this.$$.ctx[3]}set mobile(e){this.$$set({mobile:e}),a()}get options(){return this.$$.ctx[17]}set options(e){this.$$set({options:e}),a()}get items(){return this.$$.ctx[18]}set items(e){this.$$set({items:e}),a()}}export{O as default};
2
+ //# sourceMappingURL=Carousel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Carousel.js","sources":["../../../../src/components/carousel/Carousel.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import type {\n CarouselDevice,\n CarouselItem,\n CarouselOptions,\n CarouselTitleTag,\n } from './carousel.types';\n import Link from '../link/Link.nested.svelte';\n import CarouselCard from './CarouselCard.nested.svelte';\n import Button from '../button/Button.nested.svelte';\n import { EventHandler } from '../../utilities/EventHandler';\n import { onMount } from 'svelte';\n\n export let title: string;\n export let titletag: CarouselTitleTag = 'h1';\n export let subtitlelink: string;\n export let mobile = false;\n export let options: string;\n export let items: string;\n\n const mediaQueryS: MediaQueryList = window.matchMedia('(max-width: 679px)');\n const mediaQueryM: MediaQueryList = window.matchMedia(\n '(min-width: 680px) and (max-width: 1279px)',\n );\n const mediaQueryXL: MediaQueryList = window.matchMedia('(min-width: 1280px)');\n\n // default options for all 3 screen sizes (s = <m ; m = >=m to <xl ; xl = >=xl)\n const defaultCarouselOptions: CarouselOptions = {\n s: {\n itemsVisible: 1,\n hasHalfItemVisible: true,\n },\n m: {\n itemsVisible: 3,\n hasHalfItemVisible: false,\n },\n xl: {\n itemsVisible: 5,\n hasHalfItemVisible: false,\n },\n };\n\n // size using to separate item. Useful for gap in css and for move the scroll.\n let betweenItemsPixelSize = 16;\n\n // needed padding to display the outlined focus border on carousel items\n let accessibilityFocusPadding = 4;\n\n let eventHandler = new EventHandler();\n\n let currentDevice: CarouselDevice = initCurrentDevice(\n mediaQueryM,\n mediaQueryXL,\n );\n\n let carouselContainer: HTMLDivElement;\n let carouselScrollbarLeft = 0;\n\n let isScrollBeginning = true;\n let isScrollEnd = false;\n\n $: carouselItems = items ? (JSON.parse(items) as CarouselItem[]) : [];\n $: carouselOptions = options\n ? Object.assign(\n {},\n defaultCarouselOptions,\n JSON.parse(options) as CarouselOptions,\n )\n : defaultCarouselOptions;\n $: carouselItemsSize = carouselItems?.length;\n\n $: carouselCurrentItemsVisible = carouselOptions[currentDevice].itemsVisible;\n $: carouselCurrentHasHalfItemVisible =\n carouselOptions[currentDevice].hasHalfItemVisible || false;\n $: carouselCurrentItemsSize =\n carouselItemsSize < carouselCurrentItemsVisible\n ? carouselCurrentItemsVisible\n : carouselItemsSize;\n\n $: carouselCurrentItemsVisibleAndHalf = carouselCurrentHasHalfItemVisible\n ? carouselCurrentItemsVisible + 0.5\n : carouselCurrentItemsVisible;\n\n $: carouselItemWidthSpace = getCarouselItemsWidthSpace(\n carouselCurrentItemsVisible,\n carouselCurrentHasHalfItemVisible,\n );\n $: carouselContainerWidthSpace = getCarouselContainerWidthSpace(\n carouselCurrentItemsSize,\n );\n\n /* returns the total size of the spacing between items for the big container */\n function getCarouselContainerWidthSpace(totalItems: number) {\n return (totalItems - 1) * betweenItemsPixelSize;\n }\n\n /* returns the total size of the spacing between items for the screen size */\n function getCarouselItemsWidthSpace(\n itemsVisible: number,\n itemsAndHalfVisible: boolean,\n ) {\n if (itemsAndHalfVisible) {\n return itemsVisible * betweenItemsPixelSize;\n }\n return (itemsVisible - 1) * betweenItemsPixelSize;\n }\n\n /* move the scroll to change the displaying items.\n 1 to move right, -1 to move left\n */\n function moveScroll(signe: 1 | -1) {\n /* returns the size in pixel of an item according to screen size and the number of items visible. */\n function getCarouselItemWidth() {\n const carouselItemsWidthSpace = getCarouselItemsWidthSpace(\n carouselCurrentItemsVisible,\n carouselCurrentHasHalfItemVisible,\n );\n if (carouselCurrentHasHalfItemVisible) {\n return (\n (carouselContainer.clientWidth - carouselItemsWidthSpace) /\n carouselCurrentItemsVisibleAndHalf\n );\n } else {\n return (\n (carouselContainer.clientWidth - carouselItemsWidthSpace) /\n carouselCurrentItemsVisible\n );\n }\n }\n\n /* returns the new left position of the scrollbar\n * in the case of visible half items, the calculation depends if the carousel is at the beginnind, at the end or in the middle.\n *\n */\n function getLeft() {\n if (!carouselCurrentHasHalfItemVisible) {\n return (\n carouselContainer.scrollLeft +\n signe *\n (carouselContainer.clientWidth +\n betweenItemsPixelSize -\n accessibilityFocusPadding * 2)\n );\n }\n const itemWidth = getCarouselItemWidth();\n if (isScrollBeginning) {\n return (\n carouselContainer.scrollLeft +\n (signe *\n (carouselContainer.clientWidth -\n (3 / 4) * itemWidth -\n betweenItemsPixelSize) +\n accessibilityFocusPadding)\n );\n }\n if (isScrollEnd) {\n return (\n carouselContainer.scrollLeft +\n signe *\n (carouselContainer.clientWidth -\n (3 / 4) * itemWidth -\n betweenItemsPixelSize)\n );\n }\n return (\n carouselContainer.scrollLeft +\n signe *\n (carouselContainer.clientWidth -\n itemWidth / 2 -\n betweenItemsPixelSize +\n accessibilityFocusPadding * 2)\n );\n }\n\n carouselContainer.scrollTo({ behavior: 'smooth', left: getLeft() });\n }\n\n function nextCards() {\n moveScroll(1);\n }\n\n function previousCards() {\n moveScroll(-1);\n }\n\n function handleScrollCarousel() {\n isScrollBeginning = carouselContainer?.scrollLeft <= 0;\n isScrollEnd =\n carouselContainer?.scrollWidth - carouselContainer?.scrollLeft <=\n carouselContainer.offsetWidth;\n }\n\n function handleClickCard(item: CarouselItem, event: MouseEvent): MouseEvent {\n eventHandler.dispatch('carousel-item-clicked', item);\n return event;\n }\n function handleClickLink(event: MouseEvent): MouseEvent {\n eventHandler.dispatch('carousel-link-clicked', {});\n return event;\n }\n\n // returns device according to screen size\n function initCurrentDevice(\n mediaQueryM: MediaQueryList,\n mediaQueryXL: MediaQueryList,\n ) {\n if (mediaQueryXL.matches) {\n return 'xl';\n }\n if (mediaQueryM.matches) {\n return 'm';\n }\n return 's';\n }\n\n function handleMediaQueryChange(\n event: MediaQueryListEvent,\n matchingDevice: CarouselDevice,\n ): MediaQueryListEvent {\n if (event.matches) {\n currentDevice = matchingDevice;\n }\n return event;\n }\n\n onMount(() => {\n mediaQueryS.onchange = (e) => {\n handleMediaQueryChange(e, 's');\n };\n mediaQueryM.onchange = (e) => {\n handleMediaQueryChange(e, 'm');\n };\n mediaQueryXL.onchange = (e) => {\n handleMediaQueryChange(e, 'xl');\n };\n });\n</script>\n\n<div class=\"mc-carousel\">\n <div class=\"mc-carousel__header\">\n <div class=\"mc-carousel__titles\">\n {@html `<${titletag} style=\"margin:0\">${title}</${titletag}>`}\n <div class=\"mc-carousel__subtitle\">\n <Link\n href=\"#layer\"\n iconname=\"navigation-arrow-arrow--right-24px\"\n iconposition=\"right\"\n label={subtitlelink}\n on:click={handleClickLink}\n size=\"s\"\n target=\"_self\"\n />\n </div>\n </div>\n <nav\n aria-label=\"pagination\"\n class=\"mc-carousel__nav {mobile\n ? 'mc-carousel__nav--mobile'\n : 'mc-carousel__nav--desktop'}\"\n >\n <Button\n theme=\"neutral\"\n size=\"s\"\n bordered={true}\n iconmode=\"only\"\n iconname=\"navigation-arrow-arrow--left-32px\"\n aria-label=\"Previous page\"\n disabled={isScrollBeginning}\n on:click={previousCards}\n label=\"Previous\"\n loader=\"\"\n />\n <Button\n theme=\"neutral\"\n size=\"s\"\n type=\"button\"\n bordered={true}\n disabled={isScrollEnd}\n iconmode=\"only\"\n iconname=\"navigation-arrow-arrow--right-32px\"\n aria-label=\"Next Page\"\n on:click={nextCards}\n label=\"Next\"\n loader=\"\"\n />\n </nav>\n </div>\n <div\n class=\"mc-carousel__body\"\n bind:this={carouselContainer}\n on:scroll={handleScrollCarousel}\n style=\"--carousel__accessibility-focus-padding: {accessibilityFocusPadding}px;\"\n >\n <div\n class=\"mc-carousel__content\"\n style=\"\n --carousel__container-width-space: {carouselContainerWidthSpace}px;\n --carousel__items-count: {carouselCurrentItemsSize};\n --carousel__item-width-space: {carouselItemWidthSpace}px;\n --carousel__items-visible: {carouselCurrentItemsVisibleAndHalf};\n --carousel__scrollbar-left: {carouselScrollbarLeft};\n --carousel__container-separate-item-size: {betweenItemsPixelSize}px;\"\n >\n {#each carouselItems as item}\n <button\n class=\"mc-carousel__item\"\n on:click={(event) => handleClickCard(item, event)}\n >\n <CarouselCard\n title={item.title}\n imgSrc={item.imgSrc}\n imgAlt={item.imgAlt}\n />\n </button>\n {/each}\n </div>\n </div>\n</div>\n\n<style lang=\"scss\">\n @import '@mozaic-ds/styles/settings-tools/_all-settings';\n @import '@mozaic-ds/styles/components/c.button';\n @import '@mozaic-ds/styles/components/c.links';\n @import '@mozaic-ds/styles/components/c.pagination';\n\n .mc-carousel {\n display: flex;\n flex-direction: column;\n gap: $mu100;\n\n &__header {\n /* Auto layout */\n\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n }\n &__titles {\n display: flex;\n flex-direction: column;\n gap: $mu025;\n }\n &__nav {\n gap: $mu050;\n &--mobile {\n display: none;\n }\n &--desktop {\n display: flex;\n }\n }\n\n &__body {\n position: relative;\n overflow-x: auto;\n overflow-y: hidden;\n padding: var(--carousel__accessibility-focus-padding);\n }\n\n &__content {\n display: flex;\n flex-wrap: nowrap;\n column-gap: var(--carousel__container-separate-item-size);\n // the total size of the big container for all items: taille d'un item * le nbre d'items + espace entre chaque item\n width: calc(\n (\n (100% - var(--carousel__item-width-space)) /\n var(--carousel__items-visible)\n ) * var(--carousel__items-count) +\n var(--carousel__container-width-space)\n );\n margin-bottom: $mu125;\n }\n\n &__item {\n display: flex;\n background: none;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n // taille d'un item: (100% - les espaces entre chaque item isible) / le nombre d'items visible\n width: calc(\n (100% - var(--carousel__item-width-space)) /\n var(--carousel__items-visible)\n );\n @include set-focus-floating-base();\n\n &:focus {\n @include set-focus-floating();\n }\n }\n\n &-footer {\n display: flex;\n flex-direction: column;\n }\n }\n\n ::-webkit-scrollbar {\n border-radius: $mu025;\n height: 6px;\n background: $color-grey-100;\n border-top: 1px solid white;\n border-bottom: 1px solid white;\n }\n\n ::-webkit-scrollbar-thumb {\n background: $color-grey-800;\n border-radius: 6px;\n }\n</style>\n"],"names":["title","ctx","imgSrc","imgAlt","insert","target","button","anchor","dirty","carouselcard_changes","length","i","carouselScrollbarLeft","betweenItemsPixelSize","accessibilityFocusPadding","div5","append","div2","div1","div0","nav","div4","div3","html_tag","p","raw_value","each_blocks","getCarouselItemsWidthSpace","itemsVisible","itemsAndHalfVisible","$$props","titletag","subtitlelink","mobile","options","items","mediaQueryS","window","matchMedia","mediaQueryM","mediaQueryXL","defaultCarouselOptions","s","hasHalfItemVisible","m","xl","carouselContainer","eventHandler","EventHandler","currentDevice","matches","initCurrentDevice","isScrollBeginning","isScrollEnd","moveScroll","signe","scrollTo","behavior","left","carouselCurrentHasHalfItemVisible","scrollLeft","clientWidth","itemWidth","carouselItemsWidthSpace","carouselCurrentItemsVisible","carouselCurrentItemsVisibleAndHalf","getCarouselItemWidth","getLeft","handleClickCard","item","event","dispatch","handleMediaQueryChange","matchingDevice","$$invalidate","onMount","onchange","e","carouselItems","JSON","parse","carouselOptions","Object","assign","carouselItemsSize","carouselCurrentItemsSize","carouselItemWidthSpace","carouselContainerWidthSpace","scrollWidth","offsetWidth","$$value"],"mappings":"4lBAuTmBA,MAAAC,MAAKD,MACJE,OAAAD,MAAKC,OACLC,OAAAF,MAAKE,6FAPjBC,EASQC,EAAAC,EAAAC,6EAJG,GAAAC,EAAA,KAAAC,EAAAT,MAAAC,MAAKD,OACJ,GAAAQ,EAAA,KAAAC,EAAAP,OAAAD,MAAKC,QACL,GAAAM,EAAA,KAAAC,EAAAN,OAAAF,MAAKE,+KAtERF,EAAQ,uBAAqBA,EAAK,OAAKA,EAAQ,6GAM/CA,EAAY,4CACTA,EAAe,wDAejB,qGAIAA,EAAiB,+CACjBA,EAAa,sEAQb,WACAA,EAAW,kIAIXA,EAAS,WAsBdA,EAAa,wBAAlBS,OAAIC,GAAA,yaA/CmBV,EAAA,GACrB,2BACA,6IAsCuCA,EAA2B,IAAA,oCACrCA,EAAwB,uCACnBA,EAAsB,IAAA,sCACzBA,EAAkC,qCACjCW,kDACcC,EAAqB,qFAVxBC,EAAyB,yCArD9EV,EA+EKC,EAAAU,EAAAR,GA9EHS,EA+CKD,EAAAE,GA9CHD,EAaKC,EAAAC,mBAXHF,EAUKE,EAAAC,sBAEPH,EA+BKC,EAAAG,yCAEPJ,EA6BKD,EAAAM,GAvBHL,EAsBKK,EAAAC,qFAzBMrB,EAAoB,4CAjDlBA,EAAQ,uBAAqBA,EAAK,OAAKA,EAAQ,QAAAsB,EAAAC,EAAAC,+BAM/CxB,EAAY,+CAoBXA,EAAiB,kDAUjBA,EAAW,uDArBEA,EAAA,GACrB,2BACA,uEA6CGA,EAAa,WAAlBS,OAAIC,GAAA,EAAA,yGAAJD,OAAIC,EAAAe,EAAAhB,OAAAC,GAAA,oEAPqCV,EAA2B,IAAA,mDACrCA,EAAwB,wDACnBA,EAAsB,IAAA,sDACzBA,EAAkC,0FAInES,OAAIC,GAAA,uMApQN,IAAAE,EAAwB,GAGxBC,EAA4B,EAU5BF,EAAwB,WAyCnBe,EACPC,EACAC,UAEIA,EACKD,EAAef,GAEhBe,EAAe,GAAKf,iDA3FnBb,GAAa8B,GACbC,SAAAA,EAA6B,MAAID,gBACjCE,GAAoBF,GACpBG,OAAAA,GAAS,GAAKH,WACdI,GAAeJ,SACfK,GAAaL,EAElB,MAAAM,EAA8BC,OAAOC,WAAW,sBAChDC,EAA8BF,OAAOC,WACzC,8CAEIE,EAA+BH,OAAOC,WAAW,uBAGjDG,EAAsB,CAC1BC,EAAC,CACCd,aAAc,EACde,oBAAoB,GAEtBC,EAAC,CACChB,aAAc,EACde,oBAAoB,GAEtBE,GAAE,CACAjB,aAAc,EACde,oBAAoB,IAUpB,IAOAG,EAPAC,MAAmBC,EAEnBC,WAyJFV,EACAC,GAEI,OAAAA,EAAaU,QACR,KAELX,EAAYW,QACP,IAEF,IAlK2BC,CAClCZ,EACAC,GAMEY,GAAoB,EACpBC,GAAc,EAmDT,SAAAC,EAAWC,GAgElBT,EAAkBU,SAAW,CAAAC,SAAU,SAAUC,oBAvC1CC,EAED,OAAAb,EAAkBc,WAClBL,GACGT,EAAkBe,YACjBhD,EAC4B,EAA5BC,GAGF,MAAAgD,aA/BA,MAAAC,EAA0BpC,EAC9BqC,EACAL,UAEEA,GAECb,EAAkBe,YAAcE,GACjCE,GAICnB,EAAkBe,YAAcE,GACjCC,EAmBcE,UACdd,EAEAN,EAAkBc,YACjBL,GACET,EAAkBe,YAChB,EAAI,EAAKC,EACVjD,GACFC,GAGFuC,EAEAP,EAAkBc,WAClBL,GACGT,EAAkBe,YAChB,EAAI,EAAKC,EACVjD,GAINiC,EAAkBc,WAClBL,GACGT,EAAkBe,YACjBC,EAAY,EACZjD,EAC4B,EAA5BC,GAI+CqD,cAkBhDC,EAAgBC,EAAoBC,UAC3CvB,EAAawB,SAAS,wBAAyBF,GACxCC,WAqBAE,EACPF,EACAG,UAEIH,EAAMpB,SACRwB,EAAA,GAAAzB,EAAgBwB,GAEXH,EAGTK,GAAO,KACLvC,EAAYwC,SAAYC,IACtBL,EAAuBK,EAAG,IAAG,EAE/BtC,EAAYqC,SAAYC,IACtBL,EAAuBK,EAAG,IAAG,EAE/BrC,EAAaoC,SAAYC,IACvBL,EAAuBK,EAAG,KAAI,oQA5KjCH,EAAA,EAAEI,EAAgB3C,EAAS4C,KAAKC,MAAM7C,GAAK,0BAC3CuC,EAAA,GAAEO,EAAkB/C,EACjBgD,OAAOC,OAEL,GAAA1C,EACAsC,KAAKC,MAAM9C,IAEbO,qBACHiC,EAAA,GAAEU,EAAoBN,eAAAA,EAAepE,oCAEnCsD,EAA8BiB,EAAgBhC,GAAerB,qCAC/D8C,EAAA,GAAEf,EACDsB,EAAgBhC,GAAeN,qBAAsB,0BACpD+B,EAAA,EAAAW,EACDD,EAAoBpB,EAChBA,EACAoB,0BAELV,EAAA,EAAET,EAAqCN,EACpCK,EAA8B,GAC9BA,+BAEDsB,EAAyB3D,EAC1BqC,EACAL,sBAECe,EAAA,GAAAa,GACDF,EAKqB,GAAKxE,wCAqF1ByC,EAAW,eAIXA,GAAY,eAIZoB,EAAA,EAAAtB,GAAoBN,eAAAA,EAAmBc,aAAc,GACrDc,EAAA,EAAArB,GACEP,eAAAA,EAAmB0C,cAAc1C,eAAAA,EAAmBc,aACpDd,EAAkB2C,gBAOb,SAAgBnB,UACvBvB,EAAawB,SAAS,wBAAuB,CAAA,GACtCD,iBA4GU,CAAAD,EAAAC,IAAUF,EAAgBC,EAAMC,2CAjBtCxB,EAAiB4C"}