@spw-ds/spw-stencil-library 1.2.2 → 1.2.3

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 (469) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/spw-accordion.spw-accordion-content.spw-accordion-item.spw-accordion-title.entry.cjs.js.map +1 -1
  3. package/dist/cjs/spw-accordion_4.cjs.entry.js +2 -2
  4. package/dist/cjs/spw-accordion_4.cjs.entry.js.map +1 -1
  5. package/dist/cjs/spw-button_2.cjs.entry.js +1 -1
  6. package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
  7. package/dist/cjs/spw-card-content.cjs.entry.js.map +1 -1
  8. package/dist/cjs/spw-card-content.entry.cjs.js.map +1 -1
  9. package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
  10. package/dist/cjs/spw-card-excerpt.cjs.entry.js.map +1 -1
  11. package/dist/cjs/spw-card-excerpt.entry.cjs.js.map +1 -1
  12. package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
  13. package/dist/cjs/spw-card-image.cjs.entry.js.map +1 -1
  14. package/dist/cjs/spw-card-image.entry.cjs.js.map +1 -1
  15. package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
  16. package/dist/cjs/spw-card-title.cjs.entry.js.map +1 -1
  17. package/dist/cjs/spw-card-title.entry.cjs.js.map +1 -1
  18. package/dist/cjs/spw-card.cjs.entry.js +39 -9
  19. package/dist/cjs/spw-card.cjs.entry.js.map +1 -1
  20. package/dist/cjs/spw-card.entry.cjs.js.map +1 -1
  21. package/dist/cjs/spw-field-label_6.cjs.entry.js +3 -3
  22. package/dist/cjs/spw-header-lang-item.cjs.entry.js +1 -1
  23. package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
  24. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
  25. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
  26. package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
  27. package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
  28. package/dist/cjs/spw-header-persona.cjs.entry.js +3 -1
  29. package/dist/cjs/spw-header-persona.cjs.entry.js.map +1 -1
  30. package/dist/cjs/spw-header-persona.entry.cjs.js.map +1 -1
  31. package/dist/cjs/spw-header.cjs.entry.js +20 -2
  32. package/dist/cjs/spw-header.cjs.entry.js.map +1 -1
  33. package/dist/cjs/spw-header.entry.cjs.js.map +1 -1
  34. package/dist/cjs/spw-hero.cjs.entry.js +16 -2
  35. package/dist/cjs/spw-hero.cjs.entry.js.map +1 -1
  36. package/dist/cjs/spw-hero.entry.cjs.js.map +1 -1
  37. package/dist/cjs/spw-iodda.cjs.entry.js +1 -1
  38. package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
  39. package/dist/cjs/spw-list-item.cjs.entry.js +6 -2
  40. package/dist/cjs/spw-list-item.cjs.entry.js.map +1 -1
  41. package/dist/cjs/spw-list-item.entry.cjs.js.map +1 -1
  42. package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
  43. package/dist/cjs/spw-list-title.cjs.entry.js.map +1 -1
  44. package/dist/cjs/spw-list-title.entry.cjs.js.map +1 -1
  45. package/dist/cjs/spw-list.cjs.entry.js +20 -1
  46. package/dist/cjs/spw-list.cjs.entry.js.map +1 -1
  47. package/dist/cjs/spw-list.entry.cjs.js.map +1 -1
  48. package/dist/cjs/spw-modal.cjs.entry.js +9 -2
  49. package/dist/cjs/spw-modal.cjs.entry.js.map +1 -1
  50. package/dist/cjs/spw-modal.entry.cjs.js.map +1 -1
  51. package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
  52. package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
  53. package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
  54. package/dist/cjs/spw-radio.cjs.entry.js +1 -1
  55. package/dist/cjs/spw-search-field.cjs.entry.js +2 -2
  56. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
  57. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
  58. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
  59. package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
  60. package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-socials.cjs.entry.js +1 -1
  62. package/dist/cjs/spw-stencil-library.cjs.js +1 -1
  63. package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
  64. package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
  65. package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
  66. package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
  67. package/dist/cjs/spw-table-header.cjs.entry.js +2 -2
  68. package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
  69. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
  70. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js.map +1 -1
  71. package/dist/cjs/spw-tabs-navigation-item.entry.cjs.js.map +1 -1
  72. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
  73. package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
  74. package/dist/cjs/spw-tag.cjs.entry.js +1 -1
  75. package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
  76. package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
  77. package/dist/cjs/spw-tile-description.cjs.entry.js +1 -1
  78. package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
  79. package/dist/cjs/spw-tile-title.cjs.entry.js.map +1 -1
  80. package/dist/cjs/spw-tile-title.entry.cjs.js.map +1 -1
  81. package/dist/cjs/spw-tile.cjs.entry.js +1 -1
  82. package/dist/cjs/spw-tooltip.cjs.entry.js +1 -1
  83. package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
  84. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +1 -1
  85. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +1 -1
  86. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +1 -1
  87. package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.css +1 -1
  88. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +1 -1
  89. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +1 -1
  90. package/dist/collection/components/spw-card/spw-card.css +1 -1
  91. package/dist/collection/components/spw-card/spw-card.js +38 -8
  92. package/dist/collection/components/spw-card/spw-card.js.map +1 -1
  93. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  94. package/dist/collection/components/spw-header/spw-header-lang-item/spw-header-lang-item.js +1 -1
  95. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
  96. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  97. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  98. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +27 -1
  99. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js.map +1 -1
  100. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  101. package/dist/collection/components/spw-header/spw-header.css +1 -1
  102. package/dist/collection/components/spw-header/spw-header.js +199 -1
  103. package/dist/collection/components/spw-header/spw-header.js.map +1 -1
  104. package/dist/collection/components/spw-hero/spw-hero.css +1 -1
  105. package/dist/collection/components/spw-hero/spw-hero.js +54 -1
  106. package/dist/collection/components/spw-hero/spw-hero.js.map +1 -1
  107. package/dist/collection/components/spw-iodda/spw-iodda.js +1 -1
  108. package/dist/collection/components/spw-link/spw-link.js +1 -1
  109. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  110. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.css +1 -1
  111. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +25 -1
  112. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js.map +1 -1
  113. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.css +1 -1
  114. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  115. package/dist/collection/components/spw-list/spw-list.js +49 -1
  116. package/dist/collection/components/spw-list/spw-list.js.map +1 -1
  117. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  118. package/dist/collection/components/spw-modal/spw-modal.css +1 -1
  119. package/dist/collection/components/spw-modal/spw-modal.js +8 -1
  120. package/dist/collection/components/spw-modal/spw-modal.js.map +1 -1
  121. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  122. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  123. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  124. package/dist/collection/components/spw-radio/spw-radio.js +1 -1
  125. package/dist/collection/components/spw-search-field/spw-search-field.js +2 -2
  126. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  127. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  128. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  129. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  130. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  131. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  132. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  133. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  134. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  135. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  136. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  137. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  138. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  139. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  140. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +1 -1
  141. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  142. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  143. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  144. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  145. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  146. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  147. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  148. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +1 -1
  149. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  150. package/dist/collection/components/spw-tile/spw-tile.js +1 -1
  151. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  152. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  153. package/dist/components/{p-BvWTgY8c.js → p-B-sLKmnT.js} +3 -3
  154. package/dist/components/{p-BvWTgY8c.js.map → p-B-sLKmnT.js.map} +1 -1
  155. package/dist/components/{p-z27d6ASx.js → p-B3OQ2nRI.js} +3 -3
  156. package/dist/components/p-B3OQ2nRI.js.map +1 -0
  157. package/dist/components/{p-DPUqdUk8.js → p-BDRCqK1w.js} +3 -3
  158. package/dist/components/{p-DPUqdUk8.js.map → p-BDRCqK1w.js.map} +1 -1
  159. package/dist/components/{p-BQKQ0k0G.js → p-DIhULKFM.js} +3 -3
  160. package/dist/components/{p-BQKQ0k0G.js.map → p-DIhULKFM.js.map} +1 -1
  161. package/dist/components/{p-CMFyBNvH.js → p-DaosfSzT.js} +9 -9
  162. package/dist/components/{p-CMFyBNvH.js.map → p-DaosfSzT.js.map} +1 -1
  163. package/dist/components/{p-5qcE_Ljw.js → p-Dku0Cksp.js} +3 -3
  164. package/dist/components/{p-5qcE_Ljw.js.map → p-Dku0Cksp.js.map} +1 -1
  165. package/dist/components/{p-BsulPKjc.js → p-GUYao_6w.js} +3 -3
  166. package/dist/components/{p-BsulPKjc.js.map → p-GUYao_6w.js.map} +1 -1
  167. package/dist/components/{p-BbuJ0hsQ.js → p-c0hJPgjJ.js} +3 -3
  168. package/dist/components/p-c0hJPgjJ.js.map +1 -0
  169. package/dist/components/{p-8jCY8rtJ.js → p-fNRoK67L.js} +3 -3
  170. package/dist/components/{p-8jCY8rtJ.js.map → p-fNRoK67L.js.map} +1 -1
  171. package/dist/components/spw-accordion-item.js +1 -1
  172. package/dist/components/spw-accordion-title.js +1 -1
  173. package/dist/components/spw-breadcrumb-item.js +1 -1
  174. package/dist/components/spw-button.js +1 -1
  175. package/dist/components/spw-card-content.js +1 -1
  176. package/dist/components/spw-card-content.js.map +1 -1
  177. package/dist/components/spw-card-excerpt.js +1 -1
  178. package/dist/components/spw-card-excerpt.js.map +1 -1
  179. package/dist/components/spw-card-image.js +1 -1
  180. package/dist/components/spw-card-image.js.map +1 -1
  181. package/dist/components/spw-card-title.js +1 -1
  182. package/dist/components/spw-card-title.js.map +1 -1
  183. package/dist/components/spw-card.js +39 -9
  184. package/dist/components/spw-card.js.map +1 -1
  185. package/dist/components/spw-cookies.js +4 -4
  186. package/dist/components/spw-file-upload.js +2 -2
  187. package/dist/components/spw-header-lang-item.js +1 -1
  188. package/dist/components/spw-header-lang.js +3 -3
  189. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  190. package/dist/components/spw-header-navigation-item.js +1 -1
  191. package/dist/components/spw-header-navigation.js +1 -1
  192. package/dist/components/spw-header-persona-item.js +1 -1
  193. package/dist/components/spw-header-persona.js +4 -1
  194. package/dist/components/spw-header-persona.js.map +1 -1
  195. package/dist/components/spw-header.js +31 -4
  196. package/dist/components/spw-header.js.map +1 -1
  197. package/dist/components/spw-hero.js +25 -3
  198. package/dist/components/spw-hero.js.map +1 -1
  199. package/dist/components/spw-iodda.js +4 -4
  200. package/dist/components/spw-link.js +1 -1
  201. package/dist/components/spw-list-description.js +1 -1
  202. package/dist/components/spw-list-item.js +8 -3
  203. package/dist/components/spw-list-item.js.map +1 -1
  204. package/dist/components/spw-list-title.js +2 -2
  205. package/dist/components/spw-list-title.js.map +1 -1
  206. package/dist/components/spw-list.js +23 -3
  207. package/dist/components/spw-list.js.map +1 -1
  208. package/dist/components/spw-loading.js +1 -1
  209. package/dist/components/spw-message.js +1 -1
  210. package/dist/components/spw-modal.js +9 -2
  211. package/dist/components/spw-modal.js.map +1 -1
  212. package/dist/components/spw-mosaic-item.js +1 -1
  213. package/dist/components/spw-mosaic.js +1 -1
  214. package/dist/components/spw-pagination.js +1 -1
  215. package/dist/components/spw-radio.js +1 -1
  216. package/dist/components/spw-search-field.js +3 -3
  217. package/dist/components/spw-separator.js +1 -1
  218. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  219. package/dist/components/spw-sidebar-navigation-item.js +4 -4
  220. package/dist/components/spw-sidebar-navigation-separator.js +2 -2
  221. package/dist/components/spw-sidebar.js +1 -1
  222. package/dist/components/spw-skeleton.js +1 -1
  223. package/dist/components/spw-socials.js +1 -1
  224. package/dist/components/spw-table-body.js +1 -1
  225. package/dist/components/spw-table-cell.js +1 -1
  226. package/dist/components/spw-table-footer.js +1 -1
  227. package/dist/components/spw-table-head.js +1 -1
  228. package/dist/components/spw-table-header.js +3 -3
  229. package/dist/components/spw-table-row.js +1 -1
  230. package/dist/components/spw-tabs-navigation-item.js +3 -3
  231. package/dist/components/spw-tabs-navigation-item.js.map +1 -1
  232. package/dist/components/spw-tabs-navigation.js +1 -1
  233. package/dist/components/spw-tabs.js +1 -1
  234. package/dist/components/spw-tag.js +1 -1
  235. package/dist/components/spw-text-field.js +1 -1
  236. package/dist/components/spw-textarea.js +1 -1
  237. package/dist/components/spw-theme-provider.js +1 -1
  238. package/dist/components/spw-tile-description.js +1 -1
  239. package/dist/components/spw-tile-title.js +2 -2
  240. package/dist/components/spw-tile-title.js.map +1 -1
  241. package/dist/components/spw-tile.js +1 -1
  242. package/dist/components/spw-tooltip.js +1 -1
  243. package/dist/components/spw-topbar.js +1 -1
  244. package/dist/components_json.json +367 -5
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/spw-accordion.spw-accordion-content.spw-accordion-item.spw-accordion-title.entry.js.map +1 -1
  247. package/dist/esm/spw-accordion_4.entry.js +2 -2
  248. package/dist/esm/spw-accordion_4.entry.js.map +1 -1
  249. package/dist/esm/spw-button_2.entry.js +1 -1
  250. package/dist/esm/spw-card-content.entry.js +1 -1
  251. package/dist/esm/spw-card-content.entry.js.map +1 -1
  252. package/dist/esm/spw-card-excerpt.entry.js +1 -1
  253. package/dist/esm/spw-card-excerpt.entry.js.map +1 -1
  254. package/dist/esm/spw-card-image.entry.js +1 -1
  255. package/dist/esm/spw-card-image.entry.js.map +1 -1
  256. package/dist/esm/spw-card-title.entry.js +1 -1
  257. package/dist/esm/spw-card-title.entry.js.map +1 -1
  258. package/dist/esm/spw-card.entry.js +39 -9
  259. package/dist/esm/spw-card.entry.js.map +1 -1
  260. package/dist/esm/spw-field-label_6.entry.js +3 -3
  261. package/dist/esm/spw-header-lang-item.entry.js +1 -1
  262. package/dist/esm/spw-header-lang.entry.js +1 -1
  263. package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
  264. package/dist/esm/spw-header-navigation-item.entry.js +1 -1
  265. package/dist/esm/spw-header-navigation.entry.js +1 -1
  266. package/dist/esm/spw-header-persona-item.entry.js +1 -1
  267. package/dist/esm/spw-header-persona.entry.js +3 -1
  268. package/dist/esm/spw-header-persona.entry.js.map +1 -1
  269. package/dist/esm/spw-header.entry.js +20 -2
  270. package/dist/esm/spw-header.entry.js.map +1 -1
  271. package/dist/esm/spw-hero.entry.js +16 -2
  272. package/dist/esm/spw-hero.entry.js.map +1 -1
  273. package/dist/esm/spw-iodda.entry.js +1 -1
  274. package/dist/esm/spw-list-description.entry.js +1 -1
  275. package/dist/esm/spw-list-item.entry.js +6 -2
  276. package/dist/esm/spw-list-item.entry.js.map +1 -1
  277. package/dist/esm/spw-list-title.entry.js +2 -2
  278. package/dist/esm/spw-list-title.entry.js.map +1 -1
  279. package/dist/esm/spw-list.entry.js +21 -2
  280. package/dist/esm/spw-list.entry.js.map +1 -1
  281. package/dist/esm/spw-modal.entry.js +9 -2
  282. package/dist/esm/spw-modal.entry.js.map +1 -1
  283. package/dist/esm/spw-mosaic-item.entry.js +1 -1
  284. package/dist/esm/spw-mosaic.entry.js +1 -1
  285. package/dist/esm/spw-pagination.entry.js +6 -6
  286. package/dist/esm/spw-radio.entry.js +1 -1
  287. package/dist/esm/spw-search-field.entry.js +2 -2
  288. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
  289. package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
  290. package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
  291. package/dist/esm/spw-sidebar.entry.js +1 -1
  292. package/dist/esm/spw-skeleton.entry.js +1 -1
  293. package/dist/esm/spw-socials.entry.js +1 -1
  294. package/dist/esm/spw-stencil-library.js +1 -1
  295. package/dist/esm/spw-table-body.entry.js +1 -1
  296. package/dist/esm/spw-table-cell.entry.js +1 -1
  297. package/dist/esm/spw-table-footer.entry.js +1 -1
  298. package/dist/esm/spw-table-head.entry.js +1 -1
  299. package/dist/esm/spw-table-header.entry.js +2 -2
  300. package/dist/esm/spw-table-row.entry.js +1 -1
  301. package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
  302. package/dist/esm/spw-tabs-navigation-item.entry.js.map +1 -1
  303. package/dist/esm/spw-tabs-navigation.entry.js +1 -1
  304. package/dist/esm/spw-tabs.entry.js +1 -1
  305. package/dist/esm/spw-tag.entry.js +1 -1
  306. package/dist/esm/spw-text-field.entry.js +1 -1
  307. package/dist/esm/spw-textarea.entry.js +1 -1
  308. package/dist/esm/spw-tile-description.entry.js +1 -1
  309. package/dist/esm/spw-tile-title.entry.js +2 -2
  310. package/dist/esm/spw-tile-title.entry.js.map +1 -1
  311. package/dist/esm/spw-tile.entry.js +1 -1
  312. package/dist/esm/spw-tooltip.entry.js +1 -1
  313. package/dist/esm/spw-topbar.entry.js +1 -1
  314. package/dist/spw-stencil-library/p-02151d7e.entry.js +2 -0
  315. package/dist/spw-stencil-library/p-02151d7e.entry.js.map +1 -0
  316. package/dist/spw-stencil-library/{p-e1a459eb.entry.js → p-0226ad72.entry.js} +2 -2
  317. package/dist/spw-stencil-library/{p-328fb48c.entry.js → p-04274072.entry.js} +2 -2
  318. package/dist/spw-stencil-library/{p-2c8e65e5.entry.js → p-09a2d080.entry.js} +2 -2
  319. package/dist/spw-stencil-library/{p-5426464a.entry.js → p-09d27c4b.entry.js} +2 -2
  320. package/dist/spw-stencil-library/{p-b726755c.entry.js → p-11805364.entry.js} +2 -2
  321. package/dist/spw-stencil-library/{p-96fac544.entry.js → p-181ae002.entry.js} +2 -2
  322. package/dist/spw-stencil-library/p-181ae002.entry.js.map +1 -0
  323. package/dist/spw-stencil-library/{p-274ce2d2.entry.js → p-19a69f36.entry.js} +2 -2
  324. package/dist/spw-stencil-library/p-1d93e0d8.entry.js +2 -0
  325. package/dist/spw-stencil-library/p-1d93e0d8.entry.js.map +1 -0
  326. package/dist/spw-stencil-library/p-1d9ef3d5.entry.js +2 -0
  327. package/dist/spw-stencil-library/p-1d9ef3d5.entry.js.map +1 -0
  328. package/dist/spw-stencil-library/{p-991d5382.entry.js → p-1f382434.entry.js} +2 -2
  329. package/dist/spw-stencil-library/{p-49be45a2.entry.js → p-272dc0ee.entry.js} +2 -2
  330. package/dist/spw-stencil-library/{p-44124a37.entry.js → p-2fd3eb76.entry.js} +2 -2
  331. package/dist/spw-stencil-library/{p-c1a30fb7.entry.js → p-3450855b.entry.js} +2 -2
  332. package/dist/spw-stencil-library/p-3450855b.entry.js.map +1 -0
  333. package/dist/spw-stencil-library/{p-4526bef6.entry.js → p-376b1e84.entry.js} +2 -2
  334. package/dist/spw-stencil-library/{p-228a413d.entry.js → p-403fe46c.entry.js} +2 -2
  335. package/dist/spw-stencil-library/p-403fe46c.entry.js.map +1 -0
  336. package/dist/spw-stencil-library/{p-573393ab.entry.js → p-42658e0a.entry.js} +2 -2
  337. package/dist/spw-stencil-library/{p-aa364a44.entry.js → p-44d87d3f.entry.js} +2 -2
  338. package/dist/spw-stencil-library/{p-be3b1d65.entry.js → p-4d61f200.entry.js} +2 -2
  339. package/dist/spw-stencil-library/p-532314d2.entry.js +2 -0
  340. package/dist/spw-stencil-library/p-532314d2.entry.js.map +1 -0
  341. package/dist/spw-stencil-library/{p-f2008faa.entry.js → p-554af1e3.entry.js} +2 -2
  342. package/dist/spw-stencil-library/{p-4e7df891.entry.js → p-5a034423.entry.js} +2 -2
  343. package/dist/spw-stencil-library/{p-57851ceb.entry.js → p-5f82570e.entry.js} +2 -2
  344. package/dist/spw-stencil-library/{p-b64a003c.entry.js → p-64670b2e.entry.js} +2 -2
  345. package/dist/spw-stencil-library/{p-35ef6489.entry.js → p-74b4aea0.entry.js} +2 -2
  346. package/dist/spw-stencil-library/p-74b4aea0.entry.js.map +1 -0
  347. package/dist/spw-stencil-library/{p-a2b3dd47.entry.js → p-7cd55113.entry.js} +2 -2
  348. package/dist/spw-stencil-library/{p-ca672774.entry.js → p-7d80a44e.entry.js} +2 -2
  349. package/dist/spw-stencil-library/p-817e139e.entry.js +2 -0
  350. package/dist/spw-stencil-library/p-817e139e.entry.js.map +1 -0
  351. package/dist/spw-stencil-library/{p-8d94697c.entry.js → p-8c6c9db5.entry.js} +2 -2
  352. package/dist/spw-stencil-library/p-8dca994a.entry.js +2 -0
  353. package/dist/spw-stencil-library/p-8dca994a.entry.js.map +1 -0
  354. package/dist/spw-stencil-library/{p-74d118ec.entry.js → p-8ef8864e.entry.js} +2 -2
  355. package/dist/spw-stencil-library/{p-ad5f01e4.entry.js → p-9219fe7c.entry.js} +2 -2
  356. package/dist/spw-stencil-library/{p-1e725439.entry.js → p-9356f8c9.entry.js} +2 -2
  357. package/dist/spw-stencil-library/p-9356f8c9.entry.js.map +1 -0
  358. package/dist/spw-stencil-library/{p-d8078491.entry.js → p-a30563ff.entry.js} +2 -2
  359. package/dist/spw-stencil-library/{p-a27ed650.entry.js → p-a8311acd.entry.js} +2 -2
  360. package/dist/spw-stencil-library/{p-3cfcf070.entry.js → p-a93f21f9.entry.js} +2 -2
  361. package/dist/spw-stencil-library/{p-4fa98537.entry.js → p-a950bce8.entry.js} +2 -2
  362. package/dist/spw-stencil-library/{p-0e310e7a.entry.js → p-ba27b9b0.entry.js} +2 -2
  363. package/dist/spw-stencil-library/{p-e5c9fb8e.entry.js → p-bf2d0cf4.entry.js} +2 -2
  364. package/dist/spw-stencil-library/{p-af49292e.entry.js → p-c2de4206.entry.js} +2 -2
  365. package/dist/spw-stencil-library/{p-5cb1344b.entry.js → p-c54fee67.entry.js} +2 -2
  366. package/dist/spw-stencil-library/{p-68f9c5bf.entry.js → p-cb269271.entry.js} +2 -2
  367. package/dist/spw-stencil-library/p-cb269271.entry.js.map +1 -0
  368. package/dist/spw-stencil-library/{p-c7fecad8.entry.js → p-db2354cf.entry.js} +2 -2
  369. package/dist/spw-stencil-library/{p-3240c1a4.entry.js → p-dd4bf12d.entry.js} +2 -2
  370. package/dist/spw-stencil-library/p-e00468aa.entry.js +2 -0
  371. package/dist/spw-stencil-library/p-e00468aa.entry.js.map +1 -0
  372. package/dist/spw-stencil-library/{p-10269c11.entry.js → p-e2f03a02.entry.js} +2 -2
  373. package/dist/spw-stencil-library/p-e2f03a02.entry.js.map +1 -0
  374. package/dist/spw-stencil-library/{p-e1c4d94e.entry.js → p-e72c6410.entry.js} +2 -2
  375. package/dist/spw-stencil-library/{p-1e07197c.entry.js → p-f5de314e.entry.js} +2 -2
  376. package/dist/spw-stencil-library/{p-07cadb86.entry.js → p-fabf41a2.entry.js} +2 -2
  377. package/dist/spw-stencil-library/{p-a093ab2f.entry.js → p-fbe468de.entry.js} +2 -2
  378. package/dist/spw-stencil-library/p-fda153e0.entry.js +2 -0
  379. package/dist/spw-stencil-library/p-fda153e0.entry.js.map +1 -0
  380. package/dist/spw-stencil-library/spw-accordion.spw-accordion-content.spw-accordion-item.spw-accordion-title.entry.esm.js.map +1 -1
  381. package/dist/spw-stencil-library/spw-card-content.entry.esm.js.map +1 -1
  382. package/dist/spw-stencil-library/spw-card-excerpt.entry.esm.js.map +1 -1
  383. package/dist/spw-stencil-library/spw-card-image.entry.esm.js.map +1 -1
  384. package/dist/spw-stencil-library/spw-card-title.entry.esm.js.map +1 -1
  385. package/dist/spw-stencil-library/spw-card.entry.esm.js.map +1 -1
  386. package/dist/spw-stencil-library/spw-header-persona.entry.esm.js.map +1 -1
  387. package/dist/spw-stencil-library/spw-header.entry.esm.js.map +1 -1
  388. package/dist/spw-stencil-library/spw-hero.entry.esm.js.map +1 -1
  389. package/dist/spw-stencil-library/spw-list-item.entry.esm.js.map +1 -1
  390. package/dist/spw-stencil-library/spw-list-title.entry.esm.js.map +1 -1
  391. package/dist/spw-stencil-library/spw-list.entry.esm.js.map +1 -1
  392. package/dist/spw-stencil-library/spw-modal.entry.esm.js.map +1 -1
  393. package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
  394. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  395. package/dist/spw-stencil-library/spw-tabs-navigation-item.entry.esm.js.map +1 -1
  396. package/dist/spw-stencil-library/spw-tile-title.entry.esm.js.map +1 -1
  397. package/dist/stats.json +1063 -410
  398. package/dist/types/components/spw-card/spw-card.d.ts +5 -0
  399. package/dist/types/components/spw-header/spw-header-persona/spw-header-persona.d.ts +2 -0
  400. package/dist/types/components/spw-header/spw-header.d.ts +18 -0
  401. package/dist/types/components/spw-hero/spw-hero.d.ts +6 -0
  402. package/dist/types/components/spw-list/spw-list-item/spw-list-item.d.ts +2 -0
  403. package/dist/types/components/spw-list/spw-list.d.ts +6 -0
  404. package/dist/types/components/spw-modal/spw-modal.d.ts +1 -0
  405. package/dist/types/components.d.ts +112 -0
  406. package/hydrate/index.js +189 -81
  407. package/hydrate/index.mjs +189 -81
  408. package/package.json +1 -1
  409. package/dist/components/p-BbuJ0hsQ.js.map +0 -1
  410. package/dist/components/p-z27d6ASx.js.map +0 -1
  411. package/dist/spw-stencil-library/p-10269c11.entry.js.map +0 -1
  412. package/dist/spw-stencil-library/p-1e725439.entry.js.map +0 -1
  413. package/dist/spw-stencil-library/p-228a413d.entry.js.map +0 -1
  414. package/dist/spw-stencil-library/p-35ef6489.entry.js.map +0 -1
  415. package/dist/spw-stencil-library/p-57d83f8b.entry.js +0 -2
  416. package/dist/spw-stencil-library/p-57d83f8b.entry.js.map +0 -1
  417. package/dist/spw-stencil-library/p-68f9c5bf.entry.js.map +0 -1
  418. package/dist/spw-stencil-library/p-6b291009.entry.js +0 -2
  419. package/dist/spw-stencil-library/p-6b291009.entry.js.map +0 -1
  420. package/dist/spw-stencil-library/p-6d08bcc3.entry.js +0 -2
  421. package/dist/spw-stencil-library/p-6d08bcc3.entry.js.map +0 -1
  422. package/dist/spw-stencil-library/p-6ee69164.entry.js +0 -2
  423. package/dist/spw-stencil-library/p-6ee69164.entry.js.map +0 -1
  424. package/dist/spw-stencil-library/p-96fac544.entry.js.map +0 -1
  425. package/dist/spw-stencil-library/p-aaffdc4f.entry.js +0 -2
  426. package/dist/spw-stencil-library/p-aaffdc4f.entry.js.map +0 -1
  427. package/dist/spw-stencil-library/p-bf14b880.entry.js +0 -2
  428. package/dist/spw-stencil-library/p-bf14b880.entry.js.map +0 -1
  429. package/dist/spw-stencil-library/p-bf43d61c.entry.js +0 -2
  430. package/dist/spw-stencil-library/p-bf43d61c.entry.js.map +0 -1
  431. package/dist/spw-stencil-library/p-c1a30fb7.entry.js.map +0 -1
  432. package/dist/spw-stencil-library/p-f1d04cc1.entry.js +0 -2
  433. package/dist/spw-stencil-library/p-f1d04cc1.entry.js.map +0 -1
  434. /package/dist/spw-stencil-library/{p-e1a459eb.entry.js.map → p-0226ad72.entry.js.map} +0 -0
  435. /package/dist/spw-stencil-library/{p-328fb48c.entry.js.map → p-04274072.entry.js.map} +0 -0
  436. /package/dist/spw-stencil-library/{p-2c8e65e5.entry.js.map → p-09a2d080.entry.js.map} +0 -0
  437. /package/dist/spw-stencil-library/{p-5426464a.entry.js.map → p-09d27c4b.entry.js.map} +0 -0
  438. /package/dist/spw-stencil-library/{p-b726755c.entry.js.map → p-11805364.entry.js.map} +0 -0
  439. /package/dist/spw-stencil-library/{p-274ce2d2.entry.js.map → p-19a69f36.entry.js.map} +0 -0
  440. /package/dist/spw-stencil-library/{p-991d5382.entry.js.map → p-1f382434.entry.js.map} +0 -0
  441. /package/dist/spw-stencil-library/{p-49be45a2.entry.js.map → p-272dc0ee.entry.js.map} +0 -0
  442. /package/dist/spw-stencil-library/{p-44124a37.entry.js.map → p-2fd3eb76.entry.js.map} +0 -0
  443. /package/dist/spw-stencil-library/{p-4526bef6.entry.js.map → p-376b1e84.entry.js.map} +0 -0
  444. /package/dist/spw-stencil-library/{p-573393ab.entry.js.map → p-42658e0a.entry.js.map} +0 -0
  445. /package/dist/spw-stencil-library/{p-aa364a44.entry.js.map → p-44d87d3f.entry.js.map} +0 -0
  446. /package/dist/spw-stencil-library/{p-be3b1d65.entry.js.map → p-4d61f200.entry.js.map} +0 -0
  447. /package/dist/spw-stencil-library/{p-f2008faa.entry.js.map → p-554af1e3.entry.js.map} +0 -0
  448. /package/dist/spw-stencil-library/{p-4e7df891.entry.js.map → p-5a034423.entry.js.map} +0 -0
  449. /package/dist/spw-stencil-library/{p-57851ceb.entry.js.map → p-5f82570e.entry.js.map} +0 -0
  450. /package/dist/spw-stencil-library/{p-b64a003c.entry.js.map → p-64670b2e.entry.js.map} +0 -0
  451. /package/dist/spw-stencil-library/{p-a2b3dd47.entry.js.map → p-7cd55113.entry.js.map} +0 -0
  452. /package/dist/spw-stencil-library/{p-ca672774.entry.js.map → p-7d80a44e.entry.js.map} +0 -0
  453. /package/dist/spw-stencil-library/{p-8d94697c.entry.js.map → p-8c6c9db5.entry.js.map} +0 -0
  454. /package/dist/spw-stencil-library/{p-74d118ec.entry.js.map → p-8ef8864e.entry.js.map} +0 -0
  455. /package/dist/spw-stencil-library/{p-ad5f01e4.entry.js.map → p-9219fe7c.entry.js.map} +0 -0
  456. /package/dist/spw-stencil-library/{p-d8078491.entry.js.map → p-a30563ff.entry.js.map} +0 -0
  457. /package/dist/spw-stencil-library/{p-a27ed650.entry.js.map → p-a8311acd.entry.js.map} +0 -0
  458. /package/dist/spw-stencil-library/{p-3cfcf070.entry.js.map → p-a93f21f9.entry.js.map} +0 -0
  459. /package/dist/spw-stencil-library/{p-4fa98537.entry.js.map → p-a950bce8.entry.js.map} +0 -0
  460. /package/dist/spw-stencil-library/{p-0e310e7a.entry.js.map → p-ba27b9b0.entry.js.map} +0 -0
  461. /package/dist/spw-stencil-library/{p-e5c9fb8e.entry.js.map → p-bf2d0cf4.entry.js.map} +0 -0
  462. /package/dist/spw-stencil-library/{p-af49292e.entry.js.map → p-c2de4206.entry.js.map} +0 -0
  463. /package/dist/spw-stencil-library/{p-5cb1344b.entry.js.map → p-c54fee67.entry.js.map} +0 -0
  464. /package/dist/spw-stencil-library/{p-c7fecad8.entry.js.map → p-db2354cf.entry.js.map} +0 -0
  465. /package/dist/spw-stencil-library/{p-3240c1a4.entry.js.map → p-dd4bf12d.entry.js.map} +0 -0
  466. /package/dist/spw-stencil-library/{p-e1c4d94e.entry.js.map → p-e72c6410.entry.js.map} +0 -0
  467. /package/dist/spw-stencil-library/{p-1e07197c.entry.js.map → p-f5de314e.entry.js.map} +0 -0
  468. /package/dist/spw-stencil-library/{p-07cadb86.entry.js.map → p-fabf41a2.entry.js.map} +0 -0
  469. /package/dist/spw-stencil-library/{p-a093ab2f.entry.js.map → p-fbe468de.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["spwHeaderPersonaCss","SpwHeaderPersona","constructor","hostRef","this","personaLabel","activePersona","options","handleButtonClick","_a","selectEl","click","handleButtonKeyDown","event","key","preventDefault","componentWillLoad","setInitialPersona","componentDidLoad","moveOptionsToSelect","selected","el","querySelector","textContent","trim","lightDomOptions","Array","from","querySelectorAll","forEach","option","appendChild","handleChange","select","target","selectedOption","selectedOptions","link","getAttribute","window","location","href","render","h","Host","class","onClick","onKeyDown","icon","ref","onChange","e","tabIndex"],"sources":["src/components/spw-header/spw-header-persona/spw-header-persona.scss?tag=spw-header-persona&encapsulation=shadow","src/components/spw-header/spw-header-persona/spw-header-persona.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.spw-header-persona {\n position: relative;\n @include under-breakpoint(lg) {\n border-bottom: 1px solid var(--spw-colors-support-grey-grey-300);\n padding-top: 24px;\n padding-bottom: 24px;\n }\n @include breakpoint(lg) {\n padding-left: 24px;\n margin-left: 24px;\n border-left: 1px solid var(--spw-colors-support-grey-grey-300);\n }\n\n &__label {\n font-size: 14px;\n margin-bottom: 2px;\n display: block;\n color: var(--spw-colors-support-grey-grey-700);\n @include under-breakpoint(lg) {\n display: none;\n }\n }\n\n &__active-persona {\n position: relative;\n display: flex;\n gap: 6px;\n justify-content: space-between;\n cursor: pointer;\n font-weight: bold;\n text-decoration: none;\n color: var(--spw-colors-support-grey-grey-900);\n @include breakpoint(lg) {\n text-decoration: underline;\n .spw-header-persona:hover & {\n text-decoration: none;\n }\n }\n }\n\n &__trigger {\n display: block;\n .spw-header-persona--opened & {\n transform: rotate(180deg);\n }\n }\n\n &__select {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n z-index: 2;\n }\n\n &__dropdown {\n display: none;\n overflow: hidden;\n .spw-header-persona--opened & {\n display: block;\n @include breakpoint(lg) {\n position: absolute;\n width: max-content;\n z-index: 99999;\n background: white;\n border-radius: 4px;\n box-shadow: var(--spw-effect-elevation-8);\n }\n }\n }\n}\n","import { Component, h, Prop, Host, Element, State } from '@stencil/core';\n\n@Component({\n tag: 'spw-header-persona',\n styleUrl: 'spw-header-persona.scss',\n shadow: true,\n})\nexport class SpwHeaderPersona {\n /** Label pour le choix du persona (à appliquer sur spw-header-persona) */\n @Prop() personaLabel?: string = 'Je suis :';\n\n @Element() el!: HTMLElement;\n @State() activePersona: string = '';\n @State() options: HTMLOptionElement[] = [];\n\n private selectEl!: HTMLSelectElement;\n\n componentWillLoad() {\n this.setInitialPersona();\n }\n\n componentDidLoad() {\n this.moveOptionsToSelect();\n }\n\n private setInitialPersona() {\n const selected = this.el.querySelector('option[selected]');\n this.activePersona = selected?.textContent?.trim() || '';\n }\n\n private moveOptionsToSelect() {\n const lightDomOptions = Array.from(this.el.querySelectorAll('option'));\n this.options = lightDomOptions;\n lightDomOptions.forEach(option => {\n this.selectEl.appendChild(option);\n });\n }\n\n private handleChange(event: Event) {\n const select = event.target as HTMLSelectElement;\n const selectedOption = select.selectedOptions[0];\n this.activePersona = selectedOption?.textContent?.trim() || '';\n const link = selectedOption?.getAttribute('data-link');\n if (link) {\n window.location.href = link;\n }\n }\n\n private handleButtonClick = () => {\n this.selectEl?.click();\n };\n\n private handleButtonKeyDown = (event: KeyboardEvent) => {\n if (event.key === ' ' || event.key === 'Enter') {\n event.preventDefault();\n this.selectEl?.click();\n }\n };\n\n render() {\n return (\n <Host>\n <div class=\"spw-header-persona\" onClick={this.handleButtonClick} onKeyDown={this.handleButtonKeyDown}>\n <span class=\"spw-header-persona__label\">{this.personaLabel}</span>\n <div class=\"spw-header-persona__active-persona\">\n {this.activePersona} <spw-icon icon=\"fa-chevron-down\"></spw-icon>\n </div>\n <select class=\"spw-header-persona__select\" ref={el => (this.selectEl = el as HTMLSelectElement)} onChange={e => this.handleChange(e)} tabIndex={-1} />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAsB,qjI,MCOfC,EAAgB,MAL7B,WAAAC,CAAAC,G,UAOUC,KAAYC,aAAY,YAGvBD,KAAaE,cAAW,GACxBF,KAAOG,QAAwB,GAmChCH,KAAiBI,kBAAG,K,OAC1BC,EAAAL,KAAKM,YAAU,MAAAD,SAAA,SAAAA,EAAAE,OAAO,EAGhBP,KAAAQ,oBAAuBC,I,MAC7B,GAAIA,EAAMC,MAAQ,KAAOD,EAAMC,MAAQ,QAAS,CAC9CD,EAAME,kBACNN,EAAAL,KAAKM,YAAU,MAAAD,SAAA,SAAAA,EAAAE,O,EAiBpB,CAvDC,iBAAAK,GACEZ,KAAKa,mB,CAGP,gBAAAC,GACEd,KAAKe,qB,CAGC,iBAAAF,G,MACN,MAAMG,EAAWhB,KAAKiB,GAAGC,cAAc,oBACvClB,KAAKE,gBAAgBG,EAAAW,IAAA,MAAAA,SAAA,SAAAA,EAAUG,eAAW,MAAAd,SAAA,SAAAA,EAAEe,SAAU,E,CAGhD,mBAAAL,GACN,MAAMM,EAAkBC,MAAMC,KAAKvB,KAAKiB,GAAGO,iBAAiB,WAC5DxB,KAAKG,QAAUkB,EACfA,EAAgBI,SAAQC,IACtB1B,KAAKM,SAASqB,YAAYD,EAAO,G,CAI7B,YAAAE,CAAanB,G,MACnB,MAAMoB,EAASpB,EAAMqB,OACrB,MAAMC,EAAiBF,EAAOG,gBAAgB,GAC9ChC,KAAKE,gBAAgBG,EAAA0B,IAAA,MAAAA,SAAA,SAAAA,EAAgBZ,eAAW,MAAAd,SAAA,SAAAA,EAAEe,SAAU,GAC5D,MAAMa,EAAOF,IAAc,MAAdA,SAAc,SAAdA,EAAgBG,aAAa,aAC1C,GAAID,EAAM,CACRE,OAAOC,SAASC,KAAOJ,C,EAe3B,MAAAK,GACE,OACEC,EAACC,EAAI,CAAA9B,IAAA,4CACH6B,EAAA,OAAA7B,IAAA,2CAAK+B,MAAM,qBAAqBC,QAAS1C,KAAKI,kBAAmBuC,UAAW3C,KAAKQ,qBAC/E+B,EAAA,QAAA7B,IAAA,2CAAM+B,MAAM,6BAA6BzC,KAAKC,cAC9CsC,EAAK,OAAA7B,IAAA,2CAAA+B,MAAM,sCACRzC,KAAKE,cAAa,IAAEqC,EAAA,YAAA7B,IAAA,2CAAUkC,KAAK,qBAEtCL,EAAA,UAAA7B,IAAA,2CAAQ+B,MAAM,6BAA6BI,IAAK5B,GAAOjB,KAAKM,SAAWW,EAA0B6B,SAAUC,GAAK/C,KAAK4B,aAAamB,GAAIC,UAAU,K","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as n}from"./p-BYM_CUUH.js";const s="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-skeleton__article-image,.spw-skeleton__button,.spw-skeleton__line,.spw-skeleton__text-block{animation:shimmer 5s linear infinite;background:linear-gradient(90deg,#fff 0,var(--spw-color-themes-grey-grey-300) 50%,#fff 100%);background-size:200% 100%}.spw-skeleton{display:flex;flex-direction:column;gap:1rem}.spw-skeleton__line{border-radius:4px;height:1rem;width:100%}.spw-skeleton__line--even{width:85%}.spw-skeleton__line--last{width:50%!important}.spw-skeleton__buttons{align-items:center;display:flex;gap:24px;justify-content:center;margin-top:24px}.spw-skeleton__button{border-radius:40px;height:40px;width:200px}.spw-skeleton__article-image{border-radius:8px;height:170px;margin-bottom:24px}.spw-skeleton__text-block{border-radius:4px;height:60px;margin:24px 0}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}";const i=class{constructor(t){e(this,t);this.blocks=1;this.variant="lines"}renderLines(){return Array.from({length:this.blocks},((e,n)=>{const s=n===this.blocks-1;const i=n%2===1;const o=n%2===0;return t("div",{class:{"spw-skeleton__line":true,"spw-skeleton__line--last":s,"spw-skeleton__line--even":!s&&i,"spw-skeleton__line--odd":!s&&o}})}))}renderText(){return t("div",{class:"spw-skeleton__text"},t("spw-skeleton",{variant:"lines",blocks:5}),t("div",{class:"spw-skeleton__text-block"}),t("spw-skeleton",{variant:"lines",blocks:2}))}renderArticle(){return t("div",{class:"spw-skeleton__article"},t("div",{class:"spw-skeleton__article-image"}),t("spw-skeleton",{variant:"lines",blocks:7}))}renderTextButtons(){return t("div",{class:"spw-skeleton__text-buttons"},t("spw-skeleton",{variant:"lines",blocks:3}),t("div",{class:"spw-skeleton__buttons"},t("div",{class:"spw-skeleton__button"}),t("div",{class:"spw-skeleton__button"})))}renderVariant(){switch(this.variant){case"text":return this.renderText();case"article":return this.renderArticle();case"layout":return this.renderTextButtons();case"lines":default:return this.renderLines()}}render(){return t(n,{key:"71f854e837c78403df7e34e4f52e6ee27defd411"},t("div",{key:"124c92061c0afdfb16ed3b54cc7a90088177d6f4",class:"spw-skeleton"},this.renderVariant(),t("slot",{key:"3c83184ae810cd9e169e7af560a8d17ec446bcc1"})))}};i.style=s;export{i as spw_skeleton};
2
- //# sourceMappingURL=p-573393ab.entry.js.map
1
+ import{r as e,h as t,H as n}from"./p-BYM_CUUH.js";const s="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-skeleton__article-image,.spw-skeleton__button,.spw-skeleton__line,.spw-skeleton__text-block{animation:shimmer 5s linear infinite;background:linear-gradient(90deg,#fff 0,var(--spw-color-themes-grey-grey-300) 50%,#fff 100%);background-size:200% 100%}.spw-skeleton{display:flex;flex-direction:column;gap:1rem}.spw-skeleton__line{border-radius:4px;height:1rem;width:100%}.spw-skeleton__line--even{width:85%}.spw-skeleton__line--last{width:50%!important}.spw-skeleton__buttons{align-items:center;display:flex;gap:24px;justify-content:center;margin-top:24px}.spw-skeleton__button{border-radius:40px;height:40px;width:200px}.spw-skeleton__article-image{border-radius:8px;height:170px;margin-bottom:24px}.spw-skeleton__text-block{border-radius:4px;height:60px;margin:24px 0}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}";const i=class{constructor(t){e(this,t);this.blocks=1;this.variant="lines"}renderLines(){return Array.from({length:this.blocks},((e,n)=>{const s=n===this.blocks-1;const i=n%2===1;const o=n%2===0;return t("div",{class:{"spw-skeleton__line":true,"spw-skeleton__line--last":s,"spw-skeleton__line--even":!s&&i,"spw-skeleton__line--odd":!s&&o}})}))}renderText(){return t("div",{class:"spw-skeleton__text"},t("spw-skeleton",{variant:"lines",blocks:5}),t("div",{class:"spw-skeleton__text-block"}),t("spw-skeleton",{variant:"lines",blocks:2}))}renderArticle(){return t("div",{class:"spw-skeleton__article"},t("div",{class:"spw-skeleton__article-image"}),t("spw-skeleton",{variant:"lines",blocks:7}))}renderTextButtons(){return t("div",{class:"spw-skeleton__text-buttons"},t("spw-skeleton",{variant:"lines",blocks:3}),t("div",{class:"spw-skeleton__buttons"},t("div",{class:"spw-skeleton__button"}),t("div",{class:"spw-skeleton__button"})))}renderVariant(){switch(this.variant){case"text":return this.renderText();case"article":return this.renderArticle();case"layout":return this.renderTextButtons();case"lines":default:return this.renderLines()}}render(){return t(n,{key:"d09d57159d888a28edca9d579ee00fef11871279"},t("div",{key:"6220d349418650cfb4dd368e692f85aa1b304b36",class:"spw-skeleton"},this.renderVariant(),t("slot",{key:"d830f7f5c7ed120e0aab5f81919947a26357fd5e"})))}};i.style=s;export{i as spw_skeleton};
2
+ //# sourceMappingURL=p-42658e0a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as o}from"./p-BYM_CUUH.js";const n="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host([data-row-style=odd]) .spw-table-row{background-color:var(--spw-color-themes-grey-grey-50)}.spw-table-row{position:relative}.spw-table-row--disabled{cursor:not-allowed;opacity:.3;pointer-events:none}.spw-table-row--selected{background-color:var(--spw-color-themes-blue-blue-50);box-shadow:inset 3px 0 0 var(--spw-color-themes-blue-blue-500)}";const i=class{constructor(t){e(this,t);this.state="default"}get elementClass(){return{"spw-table-row":true,[`spw-table-row--${this.state}`]:true}}render(){return t(o,{key:"6588a65b1ac2c3b0c23f8e7813a2707e8db10e4a",part:"row"},t("tr",{key:"ca45cb4571a20c8f3247a4c08875d044ae6c370e",class:this.elementClass,part:"row"},t("slot",{key:"ad45be90213047d7a656f425f97117d9e3702712"})))}};i.style=n;export{i as spw_table_row};
2
- //# sourceMappingURL=p-aa364a44.entry.js.map
1
+ import{r as e,h as t,H as o}from"./p-BYM_CUUH.js";const n="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host([data-row-style=odd]) .spw-table-row{background-color:var(--spw-color-themes-grey-grey-50)}.spw-table-row{position:relative}.spw-table-row--disabled{cursor:not-allowed;opacity:.3;pointer-events:none}.spw-table-row--selected{background-color:var(--spw-color-themes-blue-blue-50);box-shadow:inset 3px 0 0 var(--spw-color-themes-blue-blue-500)}";const i=class{constructor(t){e(this,t);this.state="default"}get elementClass(){return{"spw-table-row":true,[`spw-table-row--${this.state}`]:true}}render(){return t(o,{key:"82bcb6eecb5b6cc9bf3fb574194e53dbbd09aef0",part:"row"},t("tr",{key:"9cdb6e60f3205b925ac678ec9de3b4919b358acd",class:this.elementClass,part:"row"},t("slot",{key:"26d507c09d3e15a7862f7f2467891f393fc88081"})))}};i.style=n;export{i as spw_table_row};
2
+ //# sourceMappingURL=p-44d87d3f.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as s}from"./p-BYM_CUUH.js";async function i(t=1,e,s="",i){const o=(t-1)*e;const n=Object.entries(i).filter((([t,e])=>e===true)).map((([t,e])=>`${t}=${e}`)).join("&");try{const t=await fetch(`https://api.spaceflightnewsapi.net/v4/articles/?limit=${e}&offset=${o}&search=${s}&${n}`);if(!t.ok){throw new Error("Network response was not ok")}return await t.json()}catch(t){console.error("Error fetching data:",t);throw t}}const o='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-list-item{margin-bottom:2.5rem}.spw-list-item:last-child{margin-bottom:0}.spw-list-item:hover .spw-list-item__title{color:var(--spw-ds-primary)}.spw-list-item a{color:inherit;display:block;text-decoration:none}.spw-list-item a:focus-visible{box-shadow:0 0 0 6px #000;outline:3px solid #fff;outline-offset:0}.spw-list-item__title{color:var(--spw-color-themes-grey-grey-900);font-size:20px;font-weight:600;line-height:1.3;position:relative;transition:all .3s}.spw-list-item__title:before{color:var(--spw-ds-primary);content:"\\f061";font-family:var(--spw-ds-font-icons-solid);font-size:1.25rem;font-weight:700;left:0;margin-right:.5rem}.spw-list-item__text{font-size:16px;line-height:1.3;margin-top:.5rem}.spw-list-item__text,.spw-results{color:var(--spw-color-themes-grey-grey-600)}.spw-results{margin-bottom:2.5rem}.spw-no-results__title{color:var(--spw-color-themes-grey-grey-900);font-weight:600;margin-bottom:16px}.spw-no-results__list{color:var(--spw-color-themes-grey-grey-600);list-style-type:disc;padding-left:20px}.spw-no-results__list li{margin-bottom:8px}.spw-no-results__list li:last-child{margin-bottom:0}.spw-search-input{margin-bottom:1.5rem;max-width:480px;position:relative;width:100%}.spw-tw-mb-10{margin-bottom:2.5rem}.spw-tw-mb-6{margin-bottom:1.5rem}.spw-tw-ml-2{margin-left:.5rem}.spw-tw-mr-4{margin-right:1rem}.spw-tw-mt-12{margin-top:3rem}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}';const n=class{constructor(e){t(this,e);this.items=[];this.currentPage=1;this.totalItems=0;this.isLoading=false;this.searchTerm="";this.filters={};this.itemsPerPage=3}componentWillLoad(){this.filters={is_featured:false,has_launch:false};this.initFiltersFromURL();this.loadData(this.currentPage)}debounce(t,e){return(...s)=>{clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>t.apply(this,s)),e)}}initFiltersFromURL(){const t=new URLSearchParams(window.location.search);const e=Object.assign({},this.filters);this.searchTerm=t.get("search")||"";Object.keys(e).forEach((s=>{if(t.has(s)){e[s]=t.get(s)==="true"}}));this.filters=e}updateURLWithFilters(){const t=new URLSearchParams;if(this.searchTerm){t.set("search",this.searchTerm)}Object.keys(this.filters).forEach((e=>{if(this.filters[e]){t.set(e,"true")}}));const e=`${window.location.pathname}?${t.toString()}`;window.history.pushState({},"",e)}async loadData(t){this.items=[];this.isLoading=true;const e=await i(t,this.itemsPerPage,this.searchTerm,this.filters);setTimeout((()=>{try{this.items=e.results;this.totalItems=e.count}catch(t){console.error("Could not load data:",t)}finally{this.isLoading=false}}),0)}handleFilterChange(t,e){this.filters=Object.assign(Object.assign({},this.filters),{[t]:e});this.updateURLWithFilters();this.loadData(this.currentPage)}handleSearchInput(t){this.searchTerm=t.detail;this.debounce((()=>{this.currentPage=1;this.updateURLWithFilters();this.loadData(1)}),500)()}handlePageChanged(t){this.currentPage=t.detail;this.loadData(this.currentPage)}render(){const t=Math.ceil(this.totalItems/this.itemsPerPage);const i=this.totalItems>1?"résultats trouvés":"résultat trouvé";return e(s,{key:"8b93f0d1c5c4bf1342c5c682dbea11ce56dc46ed"},e("div",{key:"f4740474c17a39f506607ee35dad07ad47352855",class:"spw-search-input"},e("spw-text-field",{key:"eb72520ce9dd50d2bdef6144140c3b8c0cc56801","is-search":"true",size:"large",type:"text",value:this.searchTerm,placeholder:"Rechercher une démarche",onValueChanged:t=>this.handleSearchInput(t)})),e("div",{key:"0cb2c12aad184da141a85c2d424f0b03d709d3ca",hidden:true,class:"spw-filter spw-tw-mb-6"},Object.keys(this.filters).map((t=>e("label",{class:"spw-tw-mr-4"},e("input",{type:"checkbox",checked:this.filters[t],onChange:e=>this.handleFilterChange(t,e.target.checked)}),e("span",{class:"spw-tw-ml-2"},t))))),this.totalItems===0&&!this.isLoading?e("div",{class:"spw-no-results"},e("h3",{class:"spw-no-results__title"},"Aucun résultat ne correspond à votre recherche."),e("ul",{class:"spw-no-results__list"},e("li",null,"Vérifiez si votre orthographe est correcte"),e("li",null,"Supprimez des filtres"),e("li",null,"Essayez d’autres termes de recherche"))):null,this.totalItems>0&&!this.isLoading?e("p",{class:"spw-results"},this.totalItems," ",i):null,this.isLoading?e("spw-loading",{class:"spw-tw-mb-10"}):null,e("ul",{key:"18710131fdbeca1577c901894821453dbc45aee3",class:"spw-list"},this.items.map((t=>e("li",{class:"spw-list-item",key:t.name},e("a",{href:t.url,target:"_blank"},e("h3",{class:"spw-list-item__title"},t.title),e("p",{class:"spw-list-item__text"},t.summary)))))),t>1&&e("spw-pagination",{key:"5a6a34b5ab2f271e10c4ab16f96f1e2872f5f74b",class:"spw-tw-mt-12",currentPage:this.currentPage,"is-disabled":this.isLoading,totalItems:this.totalItems,itemsPerPage:this.itemsPerPage,onPageChanged:this.handlePageChanged.bind(this)}))}};n.style=o;export{n as spw_iodda};
2
- //# sourceMappingURL=p-be3b1d65.entry.js.map
1
+ import{r as t,h as e,H as s}from"./p-BYM_CUUH.js";async function i(t=1,e,s="",i){const o=(t-1)*e;const n=Object.entries(i).filter((([t,e])=>e===true)).map((([t,e])=>`${t}=${e}`)).join("&");try{const t=await fetch(`https://api.spaceflightnewsapi.net/v4/articles/?limit=${e}&offset=${o}&search=${s}&${n}`);if(!t.ok){throw new Error("Network response was not ok")}return await t.json()}catch(t){console.error("Error fetching data:",t);throw t}}const o='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-list-item{margin-bottom:2.5rem}.spw-list-item:last-child{margin-bottom:0}.spw-list-item:hover .spw-list-item__title{color:var(--spw-ds-primary)}.spw-list-item a{color:inherit;display:block;text-decoration:none}.spw-list-item a:focus-visible{box-shadow:0 0 0 6px #000;outline:3px solid #fff;outline-offset:0}.spw-list-item__title{color:var(--spw-color-themes-grey-grey-900);font-size:20px;font-weight:600;line-height:1.3;position:relative;transition:all .3s}.spw-list-item__title:before{color:var(--spw-ds-primary);content:"\\f061";font-family:var(--spw-ds-font-icons-solid);font-size:1.25rem;font-weight:700;left:0;margin-right:.5rem}.spw-list-item__text{font-size:16px;line-height:1.3;margin-top:.5rem}.spw-list-item__text,.spw-results{color:var(--spw-color-themes-grey-grey-600)}.spw-results{margin-bottom:2.5rem}.spw-no-results__title{color:var(--spw-color-themes-grey-grey-900);font-weight:600;margin-bottom:16px}.spw-no-results__list{color:var(--spw-color-themes-grey-grey-600);list-style-type:disc;padding-left:20px}.spw-no-results__list li{margin-bottom:8px}.spw-no-results__list li:last-child{margin-bottom:0}.spw-search-input{margin-bottom:1.5rem;max-width:480px;position:relative;width:100%}.spw-tw-mb-10{margin-bottom:2.5rem}.spw-tw-mb-6{margin-bottom:1.5rem}.spw-tw-ml-2{margin-left:.5rem}.spw-tw-mr-4{margin-right:1rem}.spw-tw-mt-12{margin-top:3rem}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}';const n=class{constructor(e){t(this,e);this.items=[];this.currentPage=1;this.totalItems=0;this.isLoading=false;this.searchTerm="";this.filters={};this.itemsPerPage=3}componentWillLoad(){this.filters={is_featured:false,has_launch:false};this.initFiltersFromURL();this.loadData(this.currentPage)}debounce(t,e){return(...s)=>{clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>t.apply(this,s)),e)}}initFiltersFromURL(){const t=new URLSearchParams(window.location.search);const e=Object.assign({},this.filters);this.searchTerm=t.get("search")||"";Object.keys(e).forEach((s=>{if(t.has(s)){e[s]=t.get(s)==="true"}}));this.filters=e}updateURLWithFilters(){const t=new URLSearchParams;if(this.searchTerm){t.set("search",this.searchTerm)}Object.keys(this.filters).forEach((e=>{if(this.filters[e]){t.set(e,"true")}}));const e=`${window.location.pathname}?${t.toString()}`;window.history.pushState({},"",e)}async loadData(t){this.items=[];this.isLoading=true;const e=await i(t,this.itemsPerPage,this.searchTerm,this.filters);setTimeout((()=>{try{this.items=e.results;this.totalItems=e.count}catch(t){console.error("Could not load data:",t)}finally{this.isLoading=false}}),0)}handleFilterChange(t,e){this.filters=Object.assign(Object.assign({},this.filters),{[t]:e});this.updateURLWithFilters();this.loadData(this.currentPage)}handleSearchInput(t){this.searchTerm=t.detail;this.debounce((()=>{this.currentPage=1;this.updateURLWithFilters();this.loadData(1)}),500)()}handlePageChanged(t){this.currentPage=t.detail;this.loadData(this.currentPage)}render(){const t=Math.ceil(this.totalItems/this.itemsPerPage);const i=this.totalItems>1?"résultats trouvés":"résultat trouvé";return e(s,{key:"c1353d0c8a29550c67b2f83dd0bddd752b0a0674"},e("div",{key:"ce92cfc99ca781dd2ca3405ed3fcd818b4d94871",class:"spw-search-input"},e("spw-text-field",{key:"dd7210af00ccecc065d981bf522aebd52a4679c1","is-search":"true",size:"large",type:"text",value:this.searchTerm,placeholder:"Rechercher une démarche",onValueChanged:t=>this.handleSearchInput(t)})),e("div",{key:"cdf23f410c86d0aeeaa19a79835db6fa30127353",hidden:true,class:"spw-filter spw-tw-mb-6"},Object.keys(this.filters).map((t=>e("label",{class:"spw-tw-mr-4"},e("input",{type:"checkbox",checked:this.filters[t],onChange:e=>this.handleFilterChange(t,e.target.checked)}),e("span",{class:"spw-tw-ml-2"},t))))),this.totalItems===0&&!this.isLoading?e("div",{class:"spw-no-results"},e("h3",{class:"spw-no-results__title"},"Aucun résultat ne correspond à votre recherche."),e("ul",{class:"spw-no-results__list"},e("li",null,"Vérifiez si votre orthographe est correcte"),e("li",null,"Supprimez des filtres"),e("li",null,"Essayez d’autres termes de recherche"))):null,this.totalItems>0&&!this.isLoading?e("p",{class:"spw-results"},this.totalItems," ",i):null,this.isLoading?e("spw-loading",{class:"spw-tw-mb-10"}):null,e("ul",{key:"9381849e2c9cab463b381f94b4a1f783311c541e",class:"spw-list"},this.items.map((t=>e("li",{class:"spw-list-item",key:t.name},e("a",{href:t.url,target:"_blank"},e("h3",{class:"spw-list-item__title"},t.title),e("p",{class:"spw-list-item__text"},t.summary)))))),t>1&&e("spw-pagination",{key:"d7c09b91b3056bc5fcea01630f28727fc0e544bd",class:"spw-tw-mt-12",currentPage:this.currentPage,"is-disabled":this.isLoading,totalItems:this.totalItems,itemsPerPage:this.itemsPerPage,onPageChanged:this.handlePageChanged.bind(this)}))}};n.style=o;export{n as spw_iodda};
2
+ //# sourceMappingURL=p-4d61f200.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,H as i,g as s}from"./p-BYM_CUUH.js";const o="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-list-item{color:var(--spw-color-themes-grey-grey-900);position:relative;text-decoration:none;transition:all .3s ease-in-out}:host(.--dark) .spw-list-item{color:var(--spw-ds-white)}.spw-list-item--hoverable:hover{transform:translateX(5px)}.spw-list-item a{text-decoration:none}.spw-list-item--icon{padding-left:28px}.spw-list-item__category{color:var(--spw-ds-primary);display:inline-block;font-size:16px;font-weight:700;line-height:1.5;margin-bottom:6px;position:relative}.spw-list-item__category spw-icon{left:-28px;position:absolute;top:2px}.spw-list-item__category--hoverable{cursor:pointer}.spw-list-item__category--hoverable:hover{text-decoration:underline}";const n=class{constructor(e){t(this,e);this.variant="default";this.target="_self";this.icon="fa-arrow-right";this.lineClamp="3";this.categoryIcon="fa-file-signature";this.surface="light"}componentWillLoad(){this.applyVariantToChildren()}slotChanged(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const t=`--${this.variant}`;const e=`--${this.surface}`;const i=`--icon`;const s=this.el.querySelector("spw-list-title");const o=this.el.querySelector("spw-list-description");s&&s.classList.add(t);s&&s.classList.add(e);s&&this.icon&&s.setAttribute("icon",this.icon);s&&s.setAttribute("line-clamp",this.lineClamp);o&&o.classList.add(t);o&&this.icon&&o.classList.add(i);o&&o.setAttribute("line-clamp",this.lineClamp)}))}onMouseEnter(){this.setHovered(true)}onMouseLeave(){this.setHovered(false);this.setActive(false)}onTouchStart(){this.setActive(true)}onTouchEnd(){this.setActive(false)}onMouseDown(){this.setActive(true)}onMouseUp(){this.setActive(false)}onBlur(){this.setActive(false)}onFocus(){this.setActive(true)}setHovered(t){const e=this.el.querySelector("spw-list-title");if(e&&this.href){e.classList.toggle("--hovered",t)}}setActive(t){const e=this.el.querySelector("spw-list-title");if(e&&this.href){e.classList.toggle("--active",t)}}get elementClass(){return{"spw-list-item":true,"spw-list-item--hoverable":!!this.href,"spw-list-item--icon":!!this.icon||!!this.categoryIcon,[`spw-list-item--${this.variant}`]:true}}get elementCatClass(){return{"spw-list-item__category":true,"spw-list-item__category--icon":!!this.categoryIcon,"spw-list-item__category--hoverable":!!this.categoryLink}}handleClick(){if(this.categoryLink){window.location.href=this.categoryLink}}render(){const{href:t,target:s}=this;const o=this.href===undefined?"div":"a";const n=o==="div"?{}:{href:t,target:s};return e(i,{key:"cf44e83320eeb1d76cdb2c51113f3187c5cef26b"},e("li",{key:"2b435c624101d6ec54875058d01bfd490904a653",class:this.elementClass},this.category&&e("span",{key:"9aee595f1075dbb647644469f09cc9cbfdf9d284",class:this.elementCatClass,onClick:()=>this.handleClick()},this.categoryIcon&&e("spw-icon",{key:"a685ed3160b5ebb0818fdf950af96ad418fbd23d",icon:this.categoryIcon})," ",this.category),e(o,Object.assign({key:"3a68352ba83fd33cdeba3cd3004cb5bb7a2434cf"},n),e("slot",{key:"d1d59b9eca0167f30917a757a5154dcdb70ba795"}))))}get el(){return s(this)}};n.style=o;export{n as spw_list_item};
2
+ //# sourceMappingURL=p-532314d2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["spwListItemCss","SpwListItem","constructor","hostRef","this","variant","target","icon","lineClamp","categoryIcon","surface","componentWillLoad","applyVariantToChildren","slotChanged","requestAnimationFrame","variantClass","surfaceClass","iconClass","titleElement","el","querySelector","descriptionElement","classList","add","setAttribute","onMouseEnter","setHovered","onMouseLeave","setActive","onTouchStart","onTouchEnd","onMouseDown","onMouseUp","onBlur","onFocus","isHovered","href","toggle","isActive","elementClass","elementCatClass","categoryLink","handleClick","window","location","render","TagType","undefined","attrs","h","Host","key","class","category","onClick","Object","assign"],"sources":["src/components/spw-list/spw-list-item/spw-list-item.scss?tag=spw-list-item&encapsulation=shadow","src/components/spw-list/spw-list-item/spw-list-item.tsx"],"sourcesContent":[":host {\n display: contents;\n}\n\n.spw-list-item {\n position: relative;\n color: var(--spw-color-themes-grey-grey-900);\n transition: all 0.3s ease-in-out;\n text-decoration: none;\n :host(.--dark) & {\n color: var(--spw-ds-white);\n }\n &--hoverable:hover {\n transform: translateX(5px);\n }\n a {\n text-decoration: none;\n }\n &--icon {\n padding-left: 28px;\n }\n &__category {\n display: inline-block;\n position: relative;\n margin-bottom: 6px;\n color: var(--spw-ds-primary);\n font-weight: 700;\n font-size: 16px;\n line-height: 1.5;\n spw-icon {\n position: absolute;\n top: 2px;\n left: -28px;\n }\n &--hoverable {\n cursor: pointer;\n &:hover {\n text-decoration: underline;\n }\n }\n }\n}\n","import { Component, Host, Element, Listen, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-list-item',\n styleUrl: 'spw-list-item.scss',\n shadow: true,\n})\nexport class SpwListItem {\n @Element() el: HTMLSpwListItemElement;\n\n /** Type de variante d'élément de liste */\n @Prop() variant?: 'shortcut' | 'default' = 'default';\n /** Spécifie le lien si nécessaire */\n @Prop() href?: string;\n /** Attribut target, s'applique uniquement si href est rempli */\n @Prop() target: string = '_self';\n /** Spécifie une icône à côté du titre */\n @Prop() icon?: string = 'fa-arrow-right';\n /** Permet de limiter le nombre de lignes du titre et de la description */\n @Prop() lineClamp: string | 'none' = '3';\n /** Permet de spécifier une catégorie pour l'élément de liste */\n @Prop() category?: string;\n /** Permet de spécifier un lien pour la catégorie */\n @Prop() categoryLink?: string;\n /** Permet de spécifier une icône pour la catégorie */\n @Prop() categoryIcon?: string = 'fa-file-signature';\n /** Permet de choisir la surface d'arrière-plan de la liste */\n @Prop() surface?: 'light' | 'dark' = 'light';\n\n componentWillLoad() {\n this.applyVariantToChildren();\n }\n\n @Listen('slotchange')\n slotChanged() {\n this.applyVariantToChildren();\n }\n\n private applyVariantToChildren() {\n requestAnimationFrame(() => {\n const variantClass = `--${this.variant}`;\n const surfaceClass = `--${this.surface}`;\n const iconClass = `--icon`;\n const titleElement = this.el.querySelector('spw-list-title');\n const descriptionElement = this.el.querySelector('spw-list-description');\n\n titleElement && titleElement.classList.add(variantClass);\n titleElement && titleElement.classList.add(surfaceClass);\n titleElement && this.icon && titleElement.setAttribute('icon', this.icon);\n titleElement && titleElement.setAttribute('line-clamp', this.lineClamp);\n descriptionElement && descriptionElement.classList.add(variantClass);\n descriptionElement && this.icon && descriptionElement.classList.add(iconClass);\n descriptionElement && descriptionElement.setAttribute('line-clamp', this.lineClamp);\n });\n }\n\n @Listen('mouseenter')\n onMouseEnter() {\n this.setHovered(true);\n }\n\n @Listen('mouseleave')\n onMouseLeave() {\n this.setHovered(false);\n this.setActive(false);\n }\n\n @Listen('touchstart', { passive: true })\n onTouchStart() {\n this.setActive(true);\n }\n\n @Listen('touchend')\n onTouchEnd() {\n this.setActive(false);\n }\n\n @Listen('mousedown')\n onMouseDown() {\n this.setActive(true);\n }\n\n @Listen('mouseup')\n onMouseUp() {\n this.setActive(false);\n }\n\n @Listen('blur')\n onBlur() {\n this.setActive(false);\n }\n\n @Listen('focus')\n onFocus() {\n this.setActive(true);\n }\n\n private setHovered(isHovered: boolean) {\n const titleElement = this.el.querySelector('spw-list-title');\n if (titleElement && this.href) {\n titleElement.classList.toggle('--hovered', isHovered);\n }\n }\n\n private setActive(isActive: boolean) {\n const titleElement = this.el.querySelector('spw-list-title');\n if (titleElement && this.href) {\n titleElement.classList.toggle('--active', isActive);\n }\n }\n\n private get elementClass(): { [className: string]: boolean } {\n return {\n 'spw-list-item': true,\n 'spw-list-item--hoverable': !!this.href,\n 'spw-list-item--icon': !!this.icon || !!this.categoryIcon,\n [`spw-list-item--${this.variant}`]: true,\n };\n }\n\n private get elementCatClass(): { [className: string]: boolean } {\n return {\n 'spw-list-item__category': true,\n 'spw-list-item__category--icon': !!this.categoryIcon,\n 'spw-list-item__category--hoverable': !!this.categoryLink,\n };\n }\n\n handleClick() {\n if (this.categoryLink) {\n window.location.href = this.categoryLink;\n }\n }\n\n render() {\n const { href, target } = this;\n const TagType = this.href === undefined ? 'div' : 'a';\n const attrs =\n TagType === 'div'\n ? {}\n : {\n href,\n target,\n };\n return (\n <Host>\n <li class={this.elementClass}>\n {this.category && (\n <span class={this.elementCatClass} onClick={() => this.handleClick()}>\n {this.categoryIcon && <spw-icon icon={this.categoryIcon}></spw-icon>} {this.category}\n </span>\n )}\n <TagType {...attrs}>\n <slot></slot>\n </TagType>\n </li>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAiB,2uG,MCOVC,EAAW,MALxB,WAAAC,CAAAC,G,UASUC,KAAOC,QAA4B,UAInCD,KAAME,OAAW,QAEjBF,KAAIG,KAAY,iBAEhBH,KAASI,UAAoB,IAM7BJ,KAAYK,aAAY,oBAExBL,KAAOM,QAAsB,OAoItC,CAlIC,iBAAAC,GACEP,KAAKQ,wB,CAIP,WAAAC,GACET,KAAKQ,wB,CAGC,sBAAAA,GACNE,uBAAsB,KACpB,MAAMC,EAAe,KAAKX,KAAKC,UAC/B,MAAMW,EAAe,KAAKZ,KAAKM,UAC/B,MAAMO,EAAY,SAClB,MAAMC,EAAed,KAAKe,GAAGC,cAAc,kBAC3C,MAAMC,EAAqBjB,KAAKe,GAAGC,cAAc,wBAEjDF,GAAgBA,EAAaI,UAAUC,IAAIR,GAC3CG,GAAgBA,EAAaI,UAAUC,IAAIP,GAC3CE,GAAgBd,KAAKG,MAAQW,EAAaM,aAAa,OAAQpB,KAAKG,MACpEW,GAAgBA,EAAaM,aAAa,aAAcpB,KAAKI,WAC7Da,GAAsBA,EAAmBC,UAAUC,IAAIR,GACvDM,GAAsBjB,KAAKG,MAAQc,EAAmBC,UAAUC,IAAIN,GACpEI,GAAsBA,EAAmBG,aAAa,aAAcpB,KAAKI,UAAU,G,CAKvF,YAAAiB,GACErB,KAAKsB,WAAW,K,CAIlB,YAAAC,GACEvB,KAAKsB,WAAW,OAChBtB,KAAKwB,UAAU,M,CAIjB,YAAAC,GACEzB,KAAKwB,UAAU,K,CAIjB,UAAAE,GACE1B,KAAKwB,UAAU,M,CAIjB,WAAAG,GACE3B,KAAKwB,UAAU,K,CAIjB,SAAAI,GACE5B,KAAKwB,UAAU,M,CAIjB,MAAAK,GACE7B,KAAKwB,UAAU,M,CAIjB,OAAAM,GACE9B,KAAKwB,UAAU,K,CAGT,UAAAF,CAAWS,GACjB,MAAMjB,EAAed,KAAKe,GAAGC,cAAc,kBAC3C,GAAIF,GAAgBd,KAAKgC,KAAM,CAC7BlB,EAAaI,UAAUe,OAAO,YAAaF,E,EAIvC,SAAAP,CAAUU,GAChB,MAAMpB,EAAed,KAAKe,GAAGC,cAAc,kBAC3C,GAAIF,GAAgBd,KAAKgC,KAAM,CAC7BlB,EAAaI,UAAUe,OAAO,WAAYC,E,EAI9C,gBAAYC,GACV,MAAO,CACL,gBAAiB,KACjB,6BAA8BnC,KAAKgC,KACnC,wBAAyBhC,KAAKG,QAAUH,KAAKK,aAC7C,CAAC,kBAAkBL,KAAKC,WAAY,K,CAIxC,mBAAYmC,GACV,MAAO,CACL,0BAA2B,KAC3B,kCAAmCpC,KAAKK,aACxC,uCAAwCL,KAAKqC,a,CAIjD,WAAAC,GACE,GAAItC,KAAKqC,aAAc,CACrBE,OAAOC,SAASR,KAAOhC,KAAKqC,Y,EAIhC,MAAAI,GACE,MAAMT,KAAEA,EAAI9B,OAAEA,GAAWF,KACzB,MAAM0C,EAAU1C,KAAKgC,OAASW,UAAY,MAAQ,IAClD,MAAMC,EACJF,IAAY,MACR,GACA,CACEV,OACA9B,UAER,OACE2C,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,MAAAE,IAAA,2CAAIC,MAAOhD,KAAKmC,cACbnC,KAAKiD,UACJJ,EAAM,QAAAE,IAAA,2CAAAC,MAAOhD,KAAKoC,gBAAiBc,QAAS,IAAMlD,KAAKsC,eACpDtC,KAAKK,cAAgBwC,EAAA,YAAAE,IAAA,2CAAU5C,KAAMH,KAAKK,eAAyB,IAAGL,KAAKiD,UAGhFJ,EAACH,EAAOS,OAAAC,OAAA,CAAAL,IAAA,4CAAKH,GACXC,EAAA,QAAAE,IAAA,+C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./p-BYM_CUUH.js";const n="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}";const i=class{constructor(t){e(this,t)}render(){return t("thead",{key:"dd31d34bce826c1323e3854368dba8ae2b7a12af",part:"thead"},t("slot",{key:"0ac289e948a70f0cdec975ee473e974aa1e50050"}))}};i.style=n;export{i as spw_table_head};
2
- //# sourceMappingURL=p-f2008faa.entry.js.map
1
+ import{r as e,h as t}from"./p-BYM_CUUH.js";const n="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}";const i=class{constructor(t){e(this,t)}render(){return t("thead",{key:"7fd39cbc3b58714346445724888d74a323439236",part:"thead"},t("slot",{key:"6757983499e293fc47b1a6b216ecac27181b74ab"}))}};i.style=n;export{i as spw_table_head};
2
+ //# sourceMappingURL=p-554af1e3.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as i}from"./p-BYM_CUUH.js";const n='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-header-navigation{background:#fff;border-top:1px solid var(--spw-colors-support-grey-grey-300);display:none;height:calc(100% - 80px);left:0;order:2;overflow-y:auto;width:100%;z-index:9999}:host(.spw-ds-nav-open) .spw-header-navigation{display:flex;flex-direction:column}@media (min-width:1024px){.spw-header-navigation{display:block;height:auto;left:auto;order:0;overflow-y:initial;top:auto;width:auto;z-index:30}:host(.spw-ds-search-open) .spw-header-navigation{display:none}}.spw-header-navigation__list{align-items:center;display:flex;flex:1;flex-direction:column;margin-left:-16px;margin-right:-16px;position:relative;width:calc(100% + 32px)}@media (min-width:1024px){.spw-header-navigation__list{flex-direction:row}}@media (min-width:1350px){.spw-header-navigation__list{gap:24px}}.spw-header-navigation__list-back{display:flex;justify-content:left;padding:24px 16px 0;position:relative;width:100%;z-index:3}.spw-header-navigation__list-back:after{background:#fff;bottom:-1px;content:"";height:1px;left:0;position:absolute;width:100%}.spw-header-navigation__list-back a{align-items:center;color:var(--spw-colors-support-grey-grey-900);display:flex;font-size:14px;font-weight:700;gap:8px;justify-content:left;text-decoration:none}.spw-header-navigation__list-back a span{text-decoration:underline}.spw-header-navigation__list-back a spw-icon{font-size:18px}@media (min-width:1024px){.spw-header-navigation__list-back{display:none}}';const a=class{constructor(t){e(this,t);this.level=0;this.element=null}redirectToHome(e){e.preventDefault();window.location.href="/"}handleNavigation(e){e.stopPropagation();this.element=e.detail.element;this.level=e.detail.level;setTimeout((()=>{this.updateNavigationItems()}),0)}updateNavigationItems(){const e=this.getAllNavigationItems();e.forEach(((e,t)=>{e.setAttribute("data-id",`${t+1}`);e.setAttribute("data-level-visible",`${this.level}`)}))}getAllNavigationItems(){const e=[];const t=document.querySelectorAll("spw-header-navigation-item");t.forEach((t=>{e.push(t);const i=t.shadowRoot;if(i){const t=i.querySelectorAll("spw-header-navigation-item");t.forEach((t=>e.push(t)))}}));return e}render(){return t(i,{key:"bd68d1001c9bb608fecd7396ec818ee3f279a513"},t("nav",{key:"146786df585b7615ad5a3653908c21fa6f3defd3",class:"spw-header-navigation"},t("div",{key:"3660d8598952e16ea93bd604ba2479ed4ad97128",class:"spw-ds-container"},t("ul",{key:"1ba050224c0beb7fe8a67c7d42f3e9b9545dc2ae",class:"spw-header-navigation__list"},t("li",{key:"96fd2965ec8a6e1e02241253851537920e472af5",class:"spw-header-navigation__list-back"},t("a",{key:"acfe35127f2251ffcced761e8beb23d6ef17d461",href:"#",onClick:e=>this.redirectToHome(e)},t("spw-icon",{key:"a32b2fcb062deeecc5d0f44c9dba4e96b53e81fa",icon:"fa-chevron-left"})," ",t("span",{key:"f376ba511566217b08900ad3ddefc3ffb2ffda20"},"Page d'accueil"))),t("slot",{key:"03c467eae6e32ced04d7815d784f409783c624a5"})))))}};a.style=n;export{a as spw_header_navigation};
2
- //# sourceMappingURL=p-4e7df891.entry.js.map
1
+ import{r as e,h as t,H as i}from"./p-BYM_CUUH.js";const n='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-header-navigation{background:#fff;border-top:1px solid var(--spw-colors-support-grey-grey-300);display:none;height:calc(100% - 80px);left:0;order:2;overflow-y:auto;width:100%;z-index:9999}:host(.spw-ds-nav-open) .spw-header-navigation{display:flex;flex-direction:column}@media (min-width:1024px){.spw-header-navigation{display:block;height:auto;left:auto;order:0;overflow-y:initial;top:auto;width:auto;z-index:30}:host(.spw-ds-search-open) .spw-header-navigation{display:none}}.spw-header-navigation__list{align-items:center;display:flex;flex:1;flex-direction:column;margin-left:-16px;margin-right:-16px;position:relative;width:calc(100% + 32px)}@media (min-width:1024px){.spw-header-navigation__list{flex-direction:row}}@media (min-width:1350px){.spw-header-navigation__list{gap:24px}}.spw-header-navigation__list-back{display:flex;justify-content:left;padding:24px 16px 0;position:relative;width:100%;z-index:3}.spw-header-navigation__list-back:after{background:#fff;bottom:-1px;content:"";height:1px;left:0;position:absolute;width:100%}.spw-header-navigation__list-back a{align-items:center;color:var(--spw-colors-support-grey-grey-900);display:flex;font-size:14px;font-weight:700;gap:8px;justify-content:left;text-decoration:none}.spw-header-navigation__list-back a span{text-decoration:underline}.spw-header-navigation__list-back a spw-icon{font-size:18px}@media (min-width:1024px){.spw-header-navigation__list-back{display:none}}';const a=class{constructor(t){e(this,t);this.level=0;this.element=null}redirectToHome(e){e.preventDefault();window.location.href="/"}handleNavigation(e){e.stopPropagation();this.element=e.detail.element;this.level=e.detail.level;setTimeout((()=>{this.updateNavigationItems()}),0)}updateNavigationItems(){const e=this.getAllNavigationItems();e.forEach(((e,t)=>{e.setAttribute("data-id",`${t+1}`);e.setAttribute("data-level-visible",`${this.level}`)}))}getAllNavigationItems(){const e=[];const t=document.querySelectorAll("spw-header-navigation-item");t.forEach((t=>{e.push(t);const i=t.shadowRoot;if(i){const t=i.querySelectorAll("spw-header-navigation-item");t.forEach((t=>e.push(t)))}}));return e}render(){return t(i,{key:"fbb659c46a4f2020ff043a8ac15b432eabe788fd"},t("nav",{key:"235ab2e873b91b51ce4657f0f9bca9f93a6c4f1f",class:"spw-header-navigation"},t("div",{key:"4f9eb3b0aa07907d29a866df99c803874c2ae389",class:"spw-ds-container"},t("ul",{key:"bd6d5958529b16fc8b91b5f998f63912d164704a",class:"spw-header-navigation__list"},t("li",{key:"68d5ca52774ddfecdf460ec58ab4b61a729cec61",class:"spw-header-navigation__list-back"},t("a",{key:"9e317cd130a1918b37a6b7851030b2d070b477b5",href:"#",onClick:e=>this.redirectToHome(e)},t("spw-icon",{key:"e3e041d4e79f28fa3f756b112618fdb77ecbd53a",icon:"fa-chevron-left"})," ",t("span",{key:"9c51890d66cdf1239e187bb234e0e0e92ee86f7d"},"Page d'accueil"))),t("slot",{key:"cd919f0bb080b23d935b04e52713eb71006ce36b"})))))}};a.style=n;export{a as spw_header_navigation};
2
+ //# sourceMappingURL=p-5a034423.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t}from"./p-BYM_CUUH.js";const o="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-table-footer{align-items:center;caption-side:bottom;color:var(--spw-color-themes-grey-grey-900);display:flex;font-size:14px;gap:16px;justify-content:space-between;padding:16px 24px}.spw-table-footer ::slotted([slot=right]){align-items:center;display:inline-flex;gap:8px}";const n=class{constructor(t){e(this,t)}render(){return t("caption",{key:"c390cdfc0af090bd7ff85d5957cced25a315b3a0",part:"tfoot",style:{captionSide:"bottom"}},t("div",{key:"440957edfb93f404ac4c22810373850b51897a3c",class:"spw-table-footer"},t("slot",{key:"b3367ba9afd49c16e581af245acf1f074fd05a07",name:"left"}),t("slot",{key:"e64c7fccee16b814306d14335db18433e90201ea",name:"center"}),t("slot",{key:"13f4c7627eac60b91770d00ec021b9ba3ed122dc",name:"right"})))}};n.style=o;export{n as spw_table_footer};
2
- //# sourceMappingURL=p-57851ceb.entry.js.map
1
+ import{r as e,h as t}from"./p-BYM_CUUH.js";const o="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-table-footer{align-items:center;caption-side:bottom;color:var(--spw-color-themes-grey-grey-900);display:flex;font-size:14px;gap:16px;justify-content:space-between;padding:16px 24px}.spw-table-footer ::slotted([slot=right]){align-items:center;display:inline-flex;gap:8px}";const n=class{constructor(t){e(this,t)}render(){return t("caption",{key:"371360f1cabe50b249ae97f7ef41c0e986911210",part:"tfoot",style:{captionSide:"bottom"}},t("div",{key:"ff27c3dc299a24afe1e151d3de68ef8b0d71f1b3",class:"spw-table-footer"},t("slot",{key:"857eaeb3f06c1423e6054a1106b62802668d63f9",name:"left"}),t("slot",{key:"903b67687303e5e10afeab79a08f685d70c9730e",name:"center"}),t("slot",{key:"db93cf7d801589a9c4bf471257d5f12334c73332",name:"right"})))}};n.style=o;export{n as spw_table_footer};
2
+ //# sourceMappingURL=p-5f82570e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as e,F as a,H as n}from"./p-BYM_CUUH.js";const s="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-pagination__item button,.spw-pagination__item--dots{border-radius:32px;font-size:14px;font-weight:700;height:32px;line-height:32px;min-width:32px;text-align:center}.spw-pagination__item button:focus-visible,.spw-pagination__item--dots:focus-visible{box-shadow:0 0 0 5px #000;outline:3px solid #fff;outline-offset:-1px}.spw-pagination{align-items:center;display:flex;flex-direction:column}@media (min-width:768px){.spw-pagination{align-items:flex-start}}.spw-pagination ul{align-items:center;display:flex;padding:0}.spw-pagination__item{margin-right:12px}.spw-pagination__item spw-icon{font-size:18px}.spw-pagination__item button{background:none;border:none;color:var(--spw-color-themes-grey-grey-900);cursor:pointer;margin:0;padding:0 6px}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):hover button{background:var(--spw-color-themes-grey-grey-200)}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):active button{background:var(--spw-color-themes-grey-grey-300)}.spw-pagination__item--arrow button{align-items:center;display:flex;gap:8px;padding:0 12px;text-decoration:underline}.spw-pagination__item--arrow button:hover{text-decoration:none}.spw-pagination__item--dots{align-items:center;background:none;color:var(--spw-color-themes-grey-grey-400);cursor:default;display:inline-flex;justify-content:center;position:relative;top:3px}.spw-pagination__item--dots spw-icon{font-size:16px}.spw-pagination__item--desktop{display:none}@media (min-width:768px){.spw-pagination__item--desktop{display:inline-block}}.spw-pagination__item--active button{background:var(--spw-ds-primary);color:#fff}.spw-pagination__input spw-text-field{--spw-input-height:32px;--spw-input-padding:0 4px;--spw-input-text-align:center;--spw-input-font-size:14px;width:3ch}.spw-pagination__mobile-arrows{margin-top:12px}@media (min-width:768px){.spw-pagination__mobile-arrows{display:none!important}}.spw-pagination__total-pages{font-size:14px;margin:0 12px 0 6px}.spw-tw-mb-10{margin-bottom:2.5rem}.spw-tw-mb-6{margin-bottom:1.5rem}.spw-tw-ml-2{margin-left:.5rem}.spw-tw-mr-4{margin-right:1rem}.spw-tw-mt-12{margin-top:3rem}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}";const o=class{constructor(e){t(this,e);this.pageChanged=i(this,"pageChanged");this.isDisabled=false;this.variant="numbers";this.currentPage=1;this.inputPageValue="";this.isMobile=window.innerWidth<800;this.updateIsMobile=()=>{this.isMobile=window.innerWidth<800}}componentWillLoad(){this.calculateTotalPages();this.inputPageValue=this.currentPage.toString();window.addEventListener("resize",this.updateIsMobile)}disconnectedCallback(){window.removeEventListener("resize",this.updateIsMobile)}calculateTotalPages(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)}goToPage(t){if(t!==this.currentPage&&!this.isDisabled&&t>=1&&t<=this.totalPages){this.currentPage=t;this.inputPageValue=this.currentPage.toString();this.pageChanged.emit(this.currentPage)}}handleInputChange(t){const i=t.target.value;this.inputPageValue=i;const e=parseInt(i,10);if(!isNaN(e)&&e>=1&&e<=this.totalPages){clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>{this.goToPage(e)}),500)}}getPaginationClass(){var t,i;const e=this.calculatePageRange();const a=e.filter((({page:t})=>t==="...")).length;const n=a>0&&((t=e[1])===null||t===void 0?void 0:t.page)==="...";const s=a>0&&((i=e[e.length-2])===null||i===void 0?void 0:i.page)==="...";let o=`spw-pagination spw-pagination--${this.currentPage} spw-pagination--total-${this.totalPages}`;if(a===2){o+=" spw-pagination--double-ellipsis"}else if(n){o+=" spw-pagination--ellipsis-start"}else if(s){o+=" spw-pagination--ellipsis-end"}return o}handleKeyDown(t){if(t.key==="Enter"){const t=parseInt(this.inputPageValue,10);if(!isNaN(t)){this.goToPage(t)}}}calculateWidth(){const t=this.inputPageValue.length;if(t<=1){return"3ch"}return`${t+1}ch`}calculatePageRange(){const t=[];const{currentPage:i,totalPages:e,isMobile:a}=this;if(a){if(e<=5){for(let i=1;i<=e;i++){t.push({page:i,class:"spw-pagination__item--small-range"})}}else if(i<=3){for(let i=1;i<=3;i++){t.push({page:i,class:"spw-pagination__item--start-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}else if(i>=e-2){t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let i=e-2;i<=e;i++){t.push({page:i,class:"spw-pagination__item--end-range"})}}else{t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let e=i-1;e<=i+1;e++){t.push({page:e,class:"spw-pagination__item--middle-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}}else{if(e<=7){for(let i=1;i<=e;i++){t.push({page:i,class:"spw-pagination__item--small-range"})}}else if(i<=4){for(let i=1;i<=4;i++){t.push({page:i,class:"spw-pagination__item--start-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}else if(i>=e-3){t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let i=e-3;i<=e;i++){t.push({page:i,class:"spw-pagination__item--end-range"})}}else{t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let e=i-2;e<=i+2;e++){t.push({page:e,class:"spw-pagination__item--middle-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}}return t}render(){const t=this.calculatePageRange();const i=this.currentPage>1;const s=this.currentPage<this.totalPages;const o=i&&e("li",{key:"93b7b7b7e63a0f412ba0cd3ce24184fe82e1dd97",class:"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow"},e("button",{key:"d72f5565596f08444ad3faa718e4ce482f5444eb",onClick:()=>this.goToPage(this.currentPage-1)},e("spw-icon",{key:"088d91e7c6e7cb046473cf89a4e0e7679d2050f4",icon:"fa-chevron-left"})," ",e("span",{key:"08cc3c30ed90e5606e30d2782a2cc03668d465c1",class:"spw-pagination__item-arrow-text"},"Précédent")));const p=s&&e("li",{key:"cbf1b440f1eb2635e30cb80da5d8a1ffdd1f87bd",class:"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow"},e("button",{key:"835ecbf9ca6769b4b254719b02465c7e1fdc1914",onClick:()=>this.goToPage(this.currentPage+1)},e("span",{key:"583807dca336b9c5cb6ec86e1feb6907c6495797",class:"spw-pagination__item-arrow-text"},"Suivant")," ",e("spw-icon",{key:"43fb4e649edba05cba2ed79ce47e81fc68ab2f8c",icon:"fa-chevron-right"})));const c=this.currentPage>1&&e("li",{key:"8a5ad0c164c4cfa61c189e4dbcf89932b97b8c06",class:"spw-pagination__item spw-pagination__item--arrow"},e("button",{key:"63fc9e75e422091c7d1def40d194b7effc7afec3",onClick:()=>this.goToPage(this.currentPage-1)},e("spw-icon",{key:"174ff450acf99500bee370850ac30d045ec324cc",icon:"fa-chevron-left"})," ",e("span",{key:"442d67afa7c34c5c8cd3b8dc8d1d1f555ed1223b"},"Précédent")));const r=this.currentPage<this.totalPages&&e("li",{key:"7b031cd5000f95c4b921d848b634e2dc4c9289be",class:"spw-pagination__item spw-pagination__item--arrow"},e("button",{key:"d8c57c1604f2638ee44657ff8f3f4617b4ff38d5",onClick:()=>this.goToPage(this.currentPage+1),disabled:this.currentPage>=this.totalPages},e("span",{key:"29d978a4bf52f7c146401442821b7b3336ec0217"},"Suivant")," ",e("spw-icon",{key:"14559f10203814d0b42fc6567a15b6ed3a993bda",icon:"fa-chevron-right"})));const l=e("ul",{key:"ca42a18d13d6533e18b89f1cb6131e31a14d41fc",class:"spw-pagination__mobile-arrows"},c,r);return e(n,{key:"a2ed6883a1af9b1750e4833c4c559c6d958a74b5"},e("div",{key:"6e7361afa017fe41525d67414346bca67471ab33",class:this.getPaginationClass()},this.variant==="input"&&e(a,{key:"64316a6450d4cd29f6064bcba7d3a161a84a69a3"},e("ul",{key:"c576be59dc85a343c423aa53c2688028d4f6b0af"},o,e("li",{key:"38b2dac9f26e71fc4cf95c48c8e6accdf7f9d41f",class:"spw-pagination__input"},e("spw-text-field",{key:"c87191808ecce0ab90343d1f920acf6b0df1deea",value:this.inputPageValue,type:"text",onInput:t=>this.handleInputChange(t),onKeyDown:t=>this.handleKeyDown(t),disabled:this.isDisabled,style:{width:this.calculateWidth()}})),e("li",{key:"612f6734bbe6ba502797545a3336d0e4392d164e",class:"spw-pagination__total-pages"},"sur ",this.totalPages," pages"),p),l),this.variant==="numbers"&&e(a,{key:"efa601b474e1e77bb2ece97e9a93a8c20cc7e216"},e("ul",{key:"6d31ecbb8d703920c38d2eb6da9e55e0e5b99eae"},o,t.map((({page:t,class:i})=>{if(t==="..."){return e("li",{class:`spw-pagination__item spw-pagination__item--dots ${i}`},e("spw-icon",{icon:"fa-ellipsis"}))}return e("li",{class:{"spw-pagination__item":true,"spw-pagination__item--active":t===this.currentPage,[i]:true}},e("button",{onClick:()=>this.goToPage(t),disabled:t===this.currentPage},t))})),p),l)))}static get watchers(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"],currentPage:["calculateTotalPages"]}}};o.style=s;export{o as spw_pagination};
2
- //# sourceMappingURL=p-b64a003c.entry.js.map
1
+ import{r as t,c as i,h as e,F as a,H as n}from"./p-BYM_CUUH.js";const s="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-pagination__item button,.spw-pagination__item--dots{border-radius:32px;font-size:14px;font-weight:700;height:32px;line-height:32px;min-width:32px;text-align:center}.spw-pagination__item button:focus-visible,.spw-pagination__item--dots:focus-visible{box-shadow:0 0 0 5px #000;outline:3px solid #fff;outline-offset:-1px}.spw-pagination{align-items:center;display:flex;flex-direction:column}@media (min-width:768px){.spw-pagination{align-items:flex-start}}.spw-pagination ul{align-items:center;display:flex;padding:0}.spw-pagination__item{margin-right:12px}.spw-pagination__item spw-icon{font-size:18px}.spw-pagination__item button{background:none;border:none;color:var(--spw-color-themes-grey-grey-900);cursor:pointer;margin:0;padding:0 6px}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):hover button{background:var(--spw-color-themes-grey-grey-200)}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):active button{background:var(--spw-color-themes-grey-grey-300)}.spw-pagination__item--arrow button{align-items:center;display:flex;gap:8px;padding:0 12px;text-decoration:underline}.spw-pagination__item--arrow button:hover{text-decoration:none}.spw-pagination__item--dots{align-items:center;background:none;color:var(--spw-color-themes-grey-grey-400);cursor:default;display:inline-flex;justify-content:center;position:relative;top:3px}.spw-pagination__item--dots spw-icon{font-size:16px}.spw-pagination__item--desktop{display:none}@media (min-width:768px){.spw-pagination__item--desktop{display:inline-block}}.spw-pagination__item--active button{background:var(--spw-ds-primary);color:#fff}.spw-pagination__input spw-text-field{--spw-input-height:32px;--spw-input-padding:0 4px;--spw-input-text-align:center;--spw-input-font-size:14px;width:3ch}.spw-pagination__mobile-arrows{margin-top:12px}@media (min-width:768px){.spw-pagination__mobile-arrows{display:none!important}}.spw-pagination__total-pages{font-size:14px;margin:0 12px 0 6px}.spw-tw-mb-10{margin-bottom:2.5rem}.spw-tw-mb-6{margin-bottom:1.5rem}.spw-tw-ml-2{margin-left:.5rem}.spw-tw-mr-4{margin-right:1rem}.spw-tw-mt-12{margin-top:3rem}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}";const o=class{constructor(e){t(this,e);this.pageChanged=i(this,"pageChanged");this.isDisabled=false;this.variant="numbers";this.currentPage=1;this.inputPageValue="";this.isMobile=window.innerWidth<800;this.updateIsMobile=()=>{this.isMobile=window.innerWidth<800}}componentWillLoad(){this.calculateTotalPages();this.inputPageValue=this.currentPage.toString();window.addEventListener("resize",this.updateIsMobile)}disconnectedCallback(){window.removeEventListener("resize",this.updateIsMobile)}calculateTotalPages(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)}goToPage(t){if(t!==this.currentPage&&!this.isDisabled&&t>=1&&t<=this.totalPages){this.currentPage=t;this.inputPageValue=this.currentPage.toString();this.pageChanged.emit(this.currentPage)}}handleInputChange(t){const i=t.target.value;this.inputPageValue=i;const e=parseInt(i,10);if(!isNaN(e)&&e>=1&&e<=this.totalPages){clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>{this.goToPage(e)}),500)}}getPaginationClass(){var t,i;const e=this.calculatePageRange();const a=e.filter((({page:t})=>t==="...")).length;const n=a>0&&((t=e[1])===null||t===void 0?void 0:t.page)==="...";const s=a>0&&((i=e[e.length-2])===null||i===void 0?void 0:i.page)==="...";let o=`spw-pagination spw-pagination--${this.currentPage} spw-pagination--total-${this.totalPages}`;if(a===2){o+=" spw-pagination--double-ellipsis"}else if(n){o+=" spw-pagination--ellipsis-start"}else if(s){o+=" spw-pagination--ellipsis-end"}return o}handleKeyDown(t){if(t.key==="Enter"){const t=parseInt(this.inputPageValue,10);if(!isNaN(t)){this.goToPage(t)}}}calculateWidth(){const t=this.inputPageValue.length;if(t<=1){return"3ch"}return`${t+1}ch`}calculatePageRange(){const t=[];const{currentPage:i,totalPages:e,isMobile:a}=this;if(a){if(e<=5){for(let i=1;i<=e;i++){t.push({page:i,class:"spw-pagination__item--small-range"})}}else if(i<=3){for(let i=1;i<=3;i++){t.push({page:i,class:"spw-pagination__item--start-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}else if(i>=e-2){t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let i=e-2;i<=e;i++){t.push({page:i,class:"spw-pagination__item--end-range"})}}else{t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let e=i-1;e<=i+1;e++){t.push({page:e,class:"spw-pagination__item--middle-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}}else{if(e<=7){for(let i=1;i<=e;i++){t.push({page:i,class:"spw-pagination__item--small-range"})}}else if(i<=4){for(let i=1;i<=4;i++){t.push({page:i,class:"spw-pagination__item--start-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}else if(i>=e-3){t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let i=e-3;i<=e;i++){t.push({page:i,class:"spw-pagination__item--end-range"})}}else{t.push({page:1,class:"spw-pagination__item--start"});t.push({page:"...",class:"spw-pagination__item--ellipsis"});for(let e=i-2;e<=i+2;e++){t.push({page:e,class:"spw-pagination__item--middle-range"})}t.push({page:"...",class:"spw-pagination__item--ellipsis"});t.push({page:e,class:"spw-pagination__item--end"})}}return t}render(){const t=this.calculatePageRange();const i=this.currentPage>1;const s=this.currentPage<this.totalPages;const o=i&&e("li",{key:"23e8fe7cb9bf88f35c1f1f99a3c6bcaa7af2fc96",class:"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow"},e("button",{key:"6a647a7f177e3889cdcd190dddbbd5885dccc892",onClick:()=>this.goToPage(this.currentPage-1)},e("spw-icon",{key:"d4fae743d7651d8e95dbe7a221275d9be131185b",icon:"fa-chevron-left"})," ",e("span",{key:"3be1084c190aeb0a9ba59d0ba2068d5eb7dc0e21",class:"spw-pagination__item-arrow-text"},"Précédent")));const p=s&&e("li",{key:"3256bbafc49646f669217c2d7282eceea1c1ac9c",class:"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow"},e("button",{key:"02e3536426a160343e0e0b34f140ae3e457c513c",onClick:()=>this.goToPage(this.currentPage+1)},e("span",{key:"26a62ad836a7131c780963c5ab5e95f178cc2343",class:"spw-pagination__item-arrow-text"},"Suivant")," ",e("spw-icon",{key:"0431aa80be22ce6585cf68766a225d0a8844aa27",icon:"fa-chevron-right"})));const r=this.currentPage>1&&e("li",{key:"b5a3c4e674f893d4c8334dfa477003af35853532",class:"spw-pagination__item spw-pagination__item--arrow"},e("button",{key:"13427b7d0284a79d2c832de2dbbce46eb055d300",onClick:()=>this.goToPage(this.currentPage-1)},e("spw-icon",{key:"a32885548c3dabefd4907138dc676e9c6c1ef436",icon:"fa-chevron-left"})," ",e("span",{key:"c8ec154db3bb084a1cc3fe42de20fdeee18e8050"},"Précédent")));const l=this.currentPage<this.totalPages&&e("li",{key:"e85fc334e74d0924f74f1ad6b8f748291917c378",class:"spw-pagination__item spw-pagination__item--arrow"},e("button",{key:"b9f9150062da23f9a86651d7e967343781887627",onClick:()=>this.goToPage(this.currentPage+1),disabled:this.currentPage>=this.totalPages},e("span",{key:"6b9cfe60c786a19eacdd8457b82b6182d7cee3ab"},"Suivant")," ",e("spw-icon",{key:"0862e8d7e6ae9097e5221643e86638b0e79b5363",icon:"fa-chevron-right"})));const c=e("ul",{key:"f7efec01971ca4afeedfee572c82f8957c470e2b",class:"spw-pagination__mobile-arrows"},r,l);return e(n,{key:"04b18ee37c26515723429eb4844f1609d587b7e8"},e("div",{key:"4a8a8484cdf6506f9b6fffd64cba8b433d7f95d6",class:this.getPaginationClass()},this.variant==="input"&&e(a,{key:"54dedb6e5d280a02aa652f6ca703cfd784c0565f"},e("ul",{key:"53aa2e0bec339e9f6a0625f8c055637166090933"},o,e("li",{key:"92df3c5a2fb15a9e02d3e47be5dbbc65a81e704b",class:"spw-pagination__input"},e("spw-text-field",{key:"39205d9ce11a9a84b1e75f33efe605e80cd4b409",value:this.inputPageValue,type:"text",onInput:t=>this.handleInputChange(t),onKeyDown:t=>this.handleKeyDown(t),disabled:this.isDisabled,style:{width:this.calculateWidth()}})),e("li",{key:"6700f9ec12c9311d7bb49feba4674735ac45074f",class:"spw-pagination__total-pages"},"sur ",this.totalPages," pages"),p),c),this.variant==="numbers"&&e(a,{key:"7e1b28fe5ab3d9451b88e90eb7bda30522b305f4"},e("ul",{key:"4e0c92397b92fd9247db02b3915ea430e40c7001"},o,t.map((({page:t,class:i})=>{if(t==="..."){return e("li",{class:`spw-pagination__item spw-pagination__item--dots ${i}`},e("spw-icon",{icon:"fa-ellipsis"}))}return e("li",{class:{"spw-pagination__item":true,"spw-pagination__item--active":t===this.currentPage,[i]:true}},e("button",{onClick:()=>this.goToPage(t),disabled:t===this.currentPage},t))})),p),c)))}static get watchers(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"],currentPage:["calculateTotalPages"]}}};o.style=s;export{o as spw_pagination};
2
+ //# sourceMappingURL=p-64670b2e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as o}from"./p-BYM_CUUH.js";const i="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-card-title{color:var(--spw-color-themes-grey-grey-900);font-size:20px;font-weight:700;line-height:1.3;transition:all .3s ease}:host(.--hovered:not(.--video)) .spw-card-title{color:var(--spw-ds-primary)}:host(.--video) .spw-card-title{color:#fff}:host(.--people) .spw-card-title{border-bottom:1px solid var(--spw-color-themes-grey-grey-300);padding:0 24px}:host(.--people) .spw-card-title__text{border-bottom:4px solid var(--spw-card-title-border-color,var(--spw-ds-primary));display:inline-block;padding:18px 0}";const n=class{constructor(t){e(this,t);this.borderColor=""}render(){return t(o,{key:"fee3f93429299a55ce235a0b87abc7168570491c",style:{"--spw-card-title-border-color":this.borderColor}},t("h3",{key:"2d6995704e9656b954a0b2d0eb5a06d25ac41133",class:"spw-card-title"},t("span",{key:"801aafb6917dd8233e644cfad05bbf3009fdb44c",class:"spw-card-title__text"},t("slot",{key:"0bd326fa65f7cbe4bb8db95321fdd16a39562dd5"}))))}};n.style=i;export{n as spw_card_title};
2
- //# sourceMappingURL=p-35ef6489.entry.js.map
1
+ import{r as e,h as t,H as o}from"./p-BYM_CUUH.js";const i="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-card-title{color:var(--spw-color-themes-grey-grey-900);font-size:20px;font-weight:700;line-height:1.3;transition:all .3s ease}:host(.--hovered:not(.--video):not(.--people)) .spw-card-title{color:var(--spw-ds-primary)}:host(.--video) .spw-card-title{color:#fff}:host(.--sidebar) .spw-card-title{font-size:18px;line-height:1.2}:host(.--people) .spw-card-title{border-bottom:1px solid var(--spw-color-themes-grey-grey-300);padding:0 24px}:host(.--people) .spw-card-title__text{border-bottom:4px solid var(--spw-card-title-border-color,var(--spw-ds-primary));display:inline-block;padding:18px 0}";const n=class{constructor(t){e(this,t);this.borderColor=""}render(){return t(o,{key:"fee3f93429299a55ce235a0b87abc7168570491c",style:{"--spw-card-title-border-color":this.borderColor}},t("h3",{key:"2d6995704e9656b954a0b2d0eb5a06d25ac41133",class:"spw-card-title"},t("span",{key:"801aafb6917dd8233e644cfad05bbf3009fdb44c",class:"spw-card-title__text"},t("slot",{key:"0bd326fa65f7cbe4bb8db95321fdd16a39562dd5"}))))}};n.style=i;export{n as spw_card_title};
2
+ //# sourceMappingURL=p-74b4aea0.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["spwCardTitleCss","SpwCardTitle","constructor","hostRef","this","borderColor","render","h","Host","key","style","class"],"sources":["src/components/spw-card/spw-card-title/spw-card-title.scss?tag=spw-card-title&encapsulation=shadow","src/components/spw-card/spw-card-title/spw-card-title.tsx"],"sourcesContent":[".spw-card-title {\n line-height: 1.3;\n font-weight: 700;\n font-size: 20px;\n transition: all 0.3s ease;\n color: var(--spw-color-themes-grey-grey-900);\n :host(.--hovered:not(.--video):not(.--people)) & {\n color: var(--spw-ds-primary);\n }\n :host(.--video) & {\n color: white;\n }\n :host(.--sidebar) & {\n font-size: 18px;\n line-height: 1.2;\n }\n :host(.--people) & {\n padding: 0 24px;\n border-bottom: 1px solid var(--spw-color-themes-grey-grey-300);\n }\n &__text {\n :host(.--people) & {\n display: inline-block;\n padding: 18px 0;\n border-bottom: 4px solid var(--spw-card-title-border-color, var(--spw-ds-primary));\n }\n }\n}\n","import { Component, Prop, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-card-title',\n styleUrl: 'spw-card-title.scss',\n shadow: true,\n})\nexport class SpwCardTitle {\n /** Code hexadécimal de la bordure sous le titre (à appliquer sur spw-card-title si la variante de la carte est \"people\") */\n @Prop() borderColor?: string = '';\n\n render() {\n return (\n <Host style={{ '--spw-card-title-border-color': this.borderColor }}>\n <h3 class=\"spw-card-title\">\n <span class=\"spw-card-title__text\">\n <slot></slot>\n </span>\n </h3>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAkB,mpG,MCOXC,EAAY,MALzB,WAAAC,CAAAC,G,UAOUC,KAAWC,YAAY,EAahC,CAXC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAO,CAAE,gCAAiCN,KAAKC,cACnDE,EAAI,MAAAE,IAAA,2CAAAE,MAAM,kBACRJ,EAAM,QAAAE,IAAA,2CAAAE,MAAM,wBACVJ,EAAA,QAAAE,IAAA,+C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as o}from"./p-BYM_CUUH.js";const i="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:inline-block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-tag{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;gap:6px;justify-content:center;line-height:1;padding:6px 12px;text-decoration:none;white-space:nowrap}.spw-tag--hoverable{position:relative;transition:all .2s linear}.spw-tag--hoverable:hover{transform:translateY(-5px)}.spw-tag--default{background:#fff;border-color:var(--spw-colors-support-grey-grey-300);color:var(--spw-colors-support-grey-grey-900)}.spw-tag--grey{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-800)}.spw-tag--blue{background:#e6f3ff;color:#002e6b}.spw-tag--green{background:#e2fde3;color:#026100}.spw-tag--orange{background:#ffeee0;color:#702000}.spw-tag--red{background:#ffebed;color:#70000d}.spw-tag--purple{background:#f7ebff;color:#45036d}.spw-tag--surface-dark{box-shadow:0 2px 3px 0 rgba(0,0,0,.15)}.spw-tag--size-small{font-size:14px}.spw-tag--size-medium{font-size:16px}.spw-tag--size-large{font-size:18px}";const n=class{constructor(t){e(this,t);this.variant="default";this.surface="light";this.hasIcon=true;this.target="_self";this.size="medium";this.getIcon=e=>{const t={default:"fa-bell",grey:"fa-ellipsis",blue:"fa-loader",green:"fa-check",orange:"fa-triangle-exclamation",red:"fa-octagon-xmark",purple:"fa-sparkles"};return t[e]||t["default"]}}get elementClass(){return{"spw-tag":true,"spw-tag--hoverable":!!this.href,"spw-tag--icon":this.hasIcon,[`spw-tag--${this.variant}`]:true,[`spw-tag--size-${this.size}`]:true,[`spw-tag--surface-${this.surface}`]:true}}render(){const{href:e,target:i}=this;const n=this.href===undefined?"div":"a";const a=n==="div"?{}:{href:e,target:i};return t(o,{key:"9ec9574f02aeba913bdf40729fd96c24d1844fe4"},t(n,Object.assign({key:"3c812a9f5885d71089202f5c74cd9611789a41cc"},a,{class:this.elementClass}),this.hasIcon&&t("spw-icon",{key:"87bd304e0fa35f8c92a48cc7069706c7a8563a66",icon:this.getIcon(this.variant)}),t("slot",{key:"e72629f59002e3684293a0a69e342a43d2739cba"})))}};n.style=i;export{n as spw_tag};
2
- //# sourceMappingURL=p-a2b3dd47.entry.js.map
1
+ import{r as e,h as t,H as o}from"./p-BYM_CUUH.js";const i="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:inline-block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-tag{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;gap:6px;justify-content:center;line-height:1;padding:6px 12px;text-decoration:none;white-space:nowrap}.spw-tag--hoverable{position:relative;transition:all .2s linear}.spw-tag--hoverable:hover{transform:translateY(-5px)}.spw-tag--default{background:#fff;border-color:var(--spw-colors-support-grey-grey-300);color:var(--spw-colors-support-grey-grey-900)}.spw-tag--grey{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-800)}.spw-tag--blue{background:#e6f3ff;color:#002e6b}.spw-tag--green{background:#e2fde3;color:#026100}.spw-tag--orange{background:#ffeee0;color:#702000}.spw-tag--red{background:#ffebed;color:#70000d}.spw-tag--purple{background:#f7ebff;color:#45036d}.spw-tag--surface-dark{box-shadow:0 2px 3px 0 rgba(0,0,0,.15)}.spw-tag--size-small{font-size:14px}.spw-tag--size-medium{font-size:16px}.spw-tag--size-large{font-size:18px}";const n=class{constructor(t){e(this,t);this.variant="default";this.surface="light";this.hasIcon=true;this.target="_self";this.size="medium";this.getIcon=e=>{const t={default:"fa-bell",grey:"fa-ellipsis",blue:"fa-loader",green:"fa-check",orange:"fa-triangle-exclamation",red:"fa-octagon-xmark",purple:"fa-sparkles"};return t[e]||t["default"]}}get elementClass(){return{"spw-tag":true,"spw-tag--hoverable":!!this.href,"spw-tag--icon":this.hasIcon,[`spw-tag--${this.variant}`]:true,[`spw-tag--size-${this.size}`]:true,[`spw-tag--surface-${this.surface}`]:true}}render(){const{href:e,target:i}=this;const n=this.href===undefined?"div":"a";const s=n==="div"?{}:{href:e,target:i};return t(o,{key:"e39bdac7b1f1c2b9aa57a674a723c077a45000b9"},t(n,Object.assign({key:"3e6d035f2cbafdf273b2f9ade083d97737587146"},s,{class:this.elementClass}),this.hasIcon&&t("spw-icon",{key:"d3a8a2640087200026838eb0912d9d9cda9c0ec3",icon:this.getIcon(this.variant)}),t("slot",{key:"d2d3c7f8c5b37f3c51665c9f2b22cb7022bbd78b"})))}};n.style=i;export{n as spw_tag};
2
+ //# sourceMappingURL=p-7cd55113.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as s}from"./p-BYM_CUUH.js";const i="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-textarea{position:relative}.spw-textarea__input{border:1px solid var(--spw-color-themes-grey-grey-800);border-radius:4px;flex:1;min-height:40px;padding:12px;resize:vertical;width:100%}.spw-textarea__input:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-textarea__input:focus,.spw-textarea__input:focus-visible{box-shadow:0 0 0 6px #000;outline:3px solid #fff;outline-offset:0}.spw-textarea--disabled .spw-textarea__input{background:var(--spw-color-themes-grey-grey-100);border-color:var(--spw-color-themes-grey-grey-400);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-textarea--disabled .spw-textarea__input::-moz-placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-textarea--disabled .spw-textarea__input::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-textarea--disabled .spw-textarea__input:focus,.spw-textarea--disabled .spw-textarea__input:focus-visible,.spw-textarea--disabled .spw-textarea__input:hover{outline:none}.spw-textarea--is-error .spw-textarea__input{border-color:var(--spw-colors-states-error-error-300)}.spw-textarea--large .spw-textarea__input{height:60px;line-height:60px;padding:0 24px}.spw-textarea--is-search .spw-textarea__input{padding-right:80px}.spw-textarea__container{align-items:center;display:flex}.spw-textarea__indicator{padding-left:.75rem}.spw-textarea__icon{color:var(--spw-ds-primary);font-size:24px;pointer-events:none;position:absolute;right:30px;top:50%;transform:translateY(-50%)}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}";const a=class{constructor(s){e(this,s);this.valueChanged=t(this,"valueChanged");if(s.$hostElement$["s-ei"]){this.internals=s.$hostElement$["s-ei"]}else{this.internals=s.$hostElement$.attachInternals();s.$hostElement$["s-ei"]=this.internals}this.internalValue="";this.label="";this.rows=3;this.isSearch=false;this.required=false;this.size="medium";this.error="";this.hint="";this.success="";this.warning="";this.showErrorIcon=true;this.showHintIcon=true;this.showSuccessIcon=true;this.showWarningIcon=true}valueChangedHandler(e){this.setValue(e)}setValue(e){this.internalValue=e!==null&&e!==void 0?e:"";this.value=this.internalValue;if(this.textareaElement){this.textareaElement.value=this.internalValue}this.internals.setFormValue(this.internalValue||null);this.valueChanged.emit(this.internalValue)}componentWillLoad(){var e;this.internalValue=(e=this.value)!==null&&e!==void 0?e:""}componentDidLoad(){this.internals.setFormValue(this.internalValue?this.internalValue:null)}formResetCallback(){this.setValue("")}handleChange(e){this.internalValue=e.target.value;this.value=this.internalValue;this.internals.setFormValue(this.internalValue?this.internalValue:null);this.valueChanged.emit(this.internalValue)}renderErrorMessage(){if(this.error){return s("spw-field-message",{variant:"error",showIcon:this.showErrorIcon},this.error)}}renderHintMessage(){if(this.hint){return s("spw-field-message",{variant:"hint",showIcon:this.showHintIcon},this.hint)}}renderSuccessMessage(){if(this.success){return s("spw-field-message",{variant:"success",showIcon:this.showSuccessIcon},this.success)}}renderWarningMessage(){if(this.warning){return s("spw-field-message",{variant:"warning",showIcon:this.showWarningIcon},this.warning)}}get elementClass(){return{"spw-textarea":true,[`spw-textarea--${this.size}`]:true,"spw-textarea--is-search":this.isSearch,"spw-textarea--is-error":!!this.error,"spw-textarea--disabled":this.disabled}}render(){return s("div",{key:"ad0252f8485e8101e6b2af0bb47c2985b1023b5c",class:this.elementClass},this.label&&s("spw-field-label",{key:"8b4f2c373a7a2dac405a765cefbd0c2435804683",label:this.label,name:this.name,required:this.required}),this.assistiveText&&s("spw-field-message",{key:"fca83015e42172dffa5f7bbee76b18515897f734",class:"spw-tw-mb-2 -spw-tw-mt-1",variant:"hint",showIcon:false},this.assistiveText),s("div",{key:"68fa356bc0aa6ea3f7365989d5f268a498435f62",class:"spw-textarea__container"},s("textarea",{key:"b0843158e1ee2bc53583e789ecb1df50a8f244a1",class:"spw-textarea__input",value:this.internalValue,placeholder:this.placeholder,disabled:this.disabled,name:this.name,id:this.name,rows:this.rows,minLength:this.minLength,maxLength:this.maxLength,required:this.required,onInput:e=>this.handleChange(e)})),this.renderErrorMessage(),this.renderHintMessage(),this.renderSuccessMessage(),this.renderWarningMessage())}static get formAssociated(){return true}static get watchers(){return{value:["valueChangedHandler"]}}};a.style=i;export{a as spw_textarea};
2
- //# sourceMappingURL=p-ca672774.entry.js.map
1
+ import{r as e,c as t,h as s}from"./p-BYM_CUUH.js";const i="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-textarea{position:relative}.spw-textarea__input{border:1px solid var(--spw-color-themes-grey-grey-800);border-radius:4px;flex:1;min-height:40px;padding:12px;resize:vertical;width:100%}.spw-textarea__input:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-textarea__input:focus,.spw-textarea__input:focus-visible{box-shadow:0 0 0 6px #000;outline:3px solid #fff;outline-offset:0}.spw-textarea--disabled .spw-textarea__input{background:var(--spw-color-themes-grey-grey-100);border-color:var(--spw-color-themes-grey-grey-400);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-textarea--disabled .spw-textarea__input::-moz-placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-textarea--disabled .spw-textarea__input::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-textarea--disabled .spw-textarea__input:focus,.spw-textarea--disabled .spw-textarea__input:focus-visible,.spw-textarea--disabled .spw-textarea__input:hover{outline:none}.spw-textarea--is-error .spw-textarea__input{border-color:var(--spw-colors-states-error-error-300)}.spw-textarea--large .spw-textarea__input{height:60px;line-height:60px;padding:0 24px}.spw-textarea--is-search .spw-textarea__input{padding-right:80px}.spw-textarea__container{align-items:center;display:flex}.spw-textarea__indicator{padding-left:.75rem}.spw-textarea__icon{color:var(--spw-ds-primary);font-size:24px;pointer-events:none;position:absolute;right:30px;top:50%;transform:translateY(-50%)}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}";const a=class{constructor(s){e(this,s);this.valueChanged=t(this,"valueChanged");if(s.$hostElement$["s-ei"]){this.internals=s.$hostElement$["s-ei"]}else{this.internals=s.$hostElement$.attachInternals();s.$hostElement$["s-ei"]=this.internals}this.internalValue="";this.label="";this.rows=3;this.isSearch=false;this.required=false;this.size="medium";this.error="";this.hint="";this.success="";this.warning="";this.showErrorIcon=true;this.showHintIcon=true;this.showSuccessIcon=true;this.showWarningIcon=true}valueChangedHandler(e){this.setValue(e)}setValue(e){this.internalValue=e!==null&&e!==void 0?e:"";this.value=this.internalValue;if(this.textareaElement){this.textareaElement.value=this.internalValue}this.internals.setFormValue(this.internalValue||null);this.valueChanged.emit(this.internalValue)}componentWillLoad(){var e;this.internalValue=(e=this.value)!==null&&e!==void 0?e:""}componentDidLoad(){this.internals.setFormValue(this.internalValue?this.internalValue:null)}formResetCallback(){this.setValue("")}handleChange(e){this.internalValue=e.target.value;this.value=this.internalValue;this.internals.setFormValue(this.internalValue?this.internalValue:null);this.valueChanged.emit(this.internalValue)}renderErrorMessage(){if(this.error){return s("spw-field-message",{variant:"error",showIcon:this.showErrorIcon},this.error)}}renderHintMessage(){if(this.hint){return s("spw-field-message",{variant:"hint",showIcon:this.showHintIcon},this.hint)}}renderSuccessMessage(){if(this.success){return s("spw-field-message",{variant:"success",showIcon:this.showSuccessIcon},this.success)}}renderWarningMessage(){if(this.warning){return s("spw-field-message",{variant:"warning",showIcon:this.showWarningIcon},this.warning)}}get elementClass(){return{"spw-textarea":true,[`spw-textarea--${this.size}`]:true,"spw-textarea--is-search":this.isSearch,"spw-textarea--is-error":!!this.error,"spw-textarea--disabled":this.disabled}}render(){return s("div",{key:"0ff13f1ec6fa85e33883f5d5ee0221fd9b1f879a",class:this.elementClass},this.label&&s("spw-field-label",{key:"996ff4e532bb1530376dffc78ee5efc11cd2513e",label:this.label,name:this.name,required:this.required}),this.assistiveText&&s("spw-field-message",{key:"63b261a9c1fdf05e6528d1c22a919e18e989f85c",class:"spw-tw-mb-2 -spw-tw-mt-1",variant:"hint",showIcon:false},this.assistiveText),s("div",{key:"f70dfed5261dbb0bf99dc70a9a88ffa629f2da08",class:"spw-textarea__container"},s("textarea",{key:"bc947a51165bb6536b01c940a90fd48d598831d0",class:"spw-textarea__input",value:this.internalValue,placeholder:this.placeholder,disabled:this.disabled,name:this.name,id:this.name,rows:this.rows,minLength:this.minLength,maxLength:this.maxLength,required:this.required,onInput:e=>this.handleChange(e)})),this.renderErrorMessage(),this.renderHintMessage(),this.renderSuccessMessage(),this.renderWarningMessage())}static get formAssociated(){return true}static get watchers(){return{value:["valueChangedHandler"]}}};a.style=i;export{a as spw_textarea};
2
+ //# sourceMappingURL=p-7d80a44e.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,H as i,g as s}from"./p-BYM_CUUH.js";const a="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;--spw-card-background:var(--spw-ds-white);--spw-card-box-shadow:var(--spw-effect-elevation-6);--spw-card-border:none;box-sizing:border-box;display:block;font-size:100%;line-height:1.3;position:relative;width:100%}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host[data-modal-trigger]{cursor:pointer}:host(.--is-full-height){height:100%}.spw-card{background:var(--spw-card-background);border:var(--spw-card-border);border-radius:5px;box-shadow:var(--spw-card-box-shadow);display:block;transition:all .3s ease-in-out}:host(.--is-full-height) .spw-card{height:100%}.spw-card--hoverable:hover{box-shadow:var(--spw-effect-elevation-4);transform:translateY(-5px)}.spw-card__dates{align-items:center;background:var(--spw-ds-primary);border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex-direction:column;font-size:18px;height:80px;justify-content:center;left:0;line-height:1.1;position:absolute;text-align:center;text-decoration:none;top:50%;transform:translate(-50%,-50%);width:80px;z-index:2}.spw-card__date-item span:first-of-type{font-weight:700}.spw-card__link{color:inherit;display:block;height:100%;text-decoration:none;width:100%}.spw-card--no-image .spw-card__link{padding-top:15px}.spw-card__link:focus-visible{border-radius:5px;box-shadow:0 0 0 5px #000;outline:3px solid #fff;outline-offset:-1px}.spw-card--vertical .spw-card__link,.spw-card--video .spw-card__link{display:flex;min-height:240px}.spw-card--event .spw-card__link{display:flex}.spw-card--sidebar,.spw-card--sidebar:hover{box-shadow:none}.spw-card--sidebar .spw-card__link{display:flex;gap:16px}.spw-card--event{left:40px;position:relative;width:calc(100% - 40px)}";const n=class{constructor(e){t(this,e);this.hasImage=false;this.childHoveredCount=0;this.variant="news";this.elementType="a";this.target="_self";this.fullHeight=false;this.disabled=false;this.onNestedCardEnter=()=>{this.childHoveredCount++;this.setImageHovered(false)};this.onNestedCardLeave=()=>{this.childHoveredCount=Math.max(0,this.childHoveredCount-1);if(this.childHoveredCount===0&&this.isPointerInside(this.el)){this.setImageHovered(true)}}}componentWillLoad(){this.checkForImage();this.applyVariantToChildren();this.attachNestedCardListeners()}slotChanged(){this.checkForImage();this.applyVariantToChildren();this.attachNestedCardListeners()}onMouseEnter(){if(this.childHoveredCount===0){this.setImageHovered(true)}}onMouseLeave(){this.setImageHovered(false)}attachNestedCardListeners(){requestAnimationFrame((()=>{const t=this.el.querySelectorAll("spw-card");t.forEach((t=>{t.addEventListener("mouseenter",this.onNestedCardEnter.bind(this),true);t.addEventListener("mouseleave",this.onNestedCardLeave.bind(this),true)}))}))}isPointerInside(t){const e=t.getBoundingClientRect();const{left:i,top:s,right:a,bottom:n}=e;const{clientX:o,clientY:r}=window;return o>=i&&o<=a&&r>=s&&r<=n}checkForImage(){requestAnimationFrame((()=>{const t=this.el.querySelector("spw-card-image");const e=this.el.querySelector("spw-card-content");this.hasImage=!!t;if(!this.hasImage){e===null||e===void 0?void 0:e.classList.add("--no-image")}}))}formatDate(t){if(!t)return[];const i=t.split("/");return i.flatMap(((t,s)=>s<i.length-1?[e("span",null,t),e("span",null,"/")]:[e("span",null,t)]))}applyVariantToChildren(){requestAnimationFrame((()=>{const t=`--${this.variant}`;const e=this.el.querySelector("spw-card-content");const i=this.el.querySelector("spw-card-image");const s=this.el.querySelector("spw-card-title");const a=this.el.querySelector("spw-card-excerpt");const n=this.el.querySelector("spw-card-subtags");e===null||e===void 0?void 0:e.classList.add(t);i===null||i===void 0?void 0:i.classList.add(t);s===null||s===void 0?void 0:s.classList.add(t);a===null||a===void 0?void 0:a.classList.add(t);n===null||n===void 0?void 0:n.classList.add(t)}))}setImageHovered(t){const e=this.el.querySelector("spw-card-image");const i=this.el.querySelector("spw-card-title");if(e&&this.href){e.classList.toggle("--hovered",t)}if(i&&this.href){i.classList.toggle("--hovered",t)}}get elementClass(){return{"spw-card":true,"spw-card--hoverable":!!this.href,"spw-card--no-image":!this.hasImage,[`spw-card--${this.variant}`]:true}}render(){const{href:t,rel:s,target:a,dateStart:n,dateEnd:o,variant:r}=this;const d=this.href===undefined?"div":"a";const c=d==="div"?{}:{href:t,rel:s,target:a};const l={"aria-label":this===null||this===void 0?void 0:this.accAriaLabel,"aria-disabled":this.disabled?"true":null};return e(i,{key:"3a6d060458c1301b3935fca45fbd75f75d331435",class:{"--is-full-height":this.fullHeight}},e("article",{key:"4fb9f4c2dcdfeadee146559a49881392171352a8",class:this.elementClass},r==="event"&&e(d,Object.assign({key:"7bc364652cfcc22b7e03fc21383247161d6a0a17"},c,{class:"spw-card__dates"}),n&&e("div",{key:"07f9aa4a3396cb4b7f376c5f0d6f7a7c167a4855",class:"spw-card__date-item"},this.formatDate(n)),o&&e("div",{key:"96db297358b7b797da1b24b7809313df3092480d",class:"spw-card__date-item"},this.formatDate(o))),e(d,Object.assign({key:"61e28cbd7629917f5f82e192be5080f7a905fe81"},c,l,{class:"spw-card__link"}),e("slot",{key:"3bdecad5580ae21af4da15d2710d787a081a95d0"}))))}get el(){return s(this)}};n.style=a;export{n as spw_card};
2
+ //# sourceMappingURL=p-817e139e.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["spwCardCss","SpwCard","constructor","hostRef","this","hasImage","childHoveredCount","variant","elementType","target","fullHeight","disabled","onNestedCardEnter","setImageHovered","onNestedCardLeave","Math","max","isPointerInside","el","componentWillLoad","checkForImage","applyVariantToChildren","attachNestedCardListeners","slotChanged","onMouseEnter","onMouseLeave","requestAnimationFrame","nestedCards","querySelectorAll","forEach","card","addEventListener","bind","element","rect","getBoundingClientRect","left","top","right","bottom","clientX","clientY","window","imageElement","querySelector","contentElement","classList","add","formatDate","date","parts","split","flatMap","part","index","length","h","variantClass","titleElement","excerptElement","subtagsElement","isHovered","href","toggle","elementClass","render","rel","dateStart","dateEnd","TagType","undefined","attrs","ariaAttributes","accAriaLabel","Host","key","class","Object","assign"],"sources":["src/components/spw-card/spw-card.scss?tag=spw-card&encapsulation=shadow","src/components/spw-card/spw-card.tsx"],"sourcesContent":[":host {\n display: block;\n position: relative;\n width: 100%;\n --spw-card-background: var(--spw-ds-white);\n --spw-card-box-shadow: var(--spw-effect-elevation-6);\n --spw-card-border: none;\n &[data-modal-trigger] {\n cursor: pointer;\n }\n}\n\n:host(.--is-full-height) {\n height: 100%;\n}\n\n.spw-card {\n display: block;\n border-radius: 5px;\n background: var(--spw-card-background);\n box-shadow: var(--spw-card-box-shadow);\n border: var(--spw-card-border);\n transition: all 0.3s ease-in-out;\n\n :host(.--is-full-height) & {\n height: 100%;\n }\n\n &--hoverable:hover {\n box-shadow: var(--spw-effect-elevation-4);\n transform: translateY(-5px);\n }\n\n &__dates {\n cursor: pointer;\n position: absolute;\n top: 50%;\n left: 0;\n transform: translate(-50%, -50%);\n flex-direction: column;\n line-height: 1.1;\n width: 80px;\n height: 80px;\n text-align: center;\n color: white;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: var(--spw-ds-primary);\n border-radius: 50%;\n font-size: 18px;\n text-decoration: none;\n z-index: 2;\n }\n &__date-item {\n span:first-of-type {\n font-weight: bold;\n }\n }\n}\n\n.spw-card__link {\n display: block;\n height: 100%;\n width: 100%;\n color: inherit;\n text-decoration: none;\n\n .spw-card--no-image & {\n padding-top: 15px;\n }\n\n &:focus-visible {\n outline: 3px solid white;\n outline-offset: -1px;\n box-shadow: 0 0 0 5px black;\n border-radius: 5px;\n }\n}\n\n.spw-card--vertical,\n.spw-card--video {\n .spw-card__link {\n display: flex;\n min-height: 240px;\n }\n}\n\n.spw-card--event {\n .spw-card__link {\n display: flex;\n }\n}\n\n.spw-card--sidebar {\n box-shadow: none;\n &:hover {\n box-shadow: none;\n }\n .spw-card__link {\n display: flex;\n gap: 16px;\n }\n}\n\n.spw-card--event {\n position: relative;\n width: calc(100% - 40px);\n left: 40px;\n}\n","import { Element, Listen, State, Component, Prop, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-card',\n styleUrl: 'spw-card.scss',\n shadow: true,\n})\nexport class SpwCard {\n @Element() el: HTMLSpwCardElement;\n @State() hasImage: boolean = false;\n private childHoveredCount = 0; // <-- Ajouté : pour suivre le nombre de sous-cartes survolées\n\n /** Type de variante de carte */\n @Prop() variant?: 'news' | 'vertical' | 'video' | 'event' | 'sidebar' | 'people' = 'news';\n /** Type d'élément du bouton */\n @Prop() elementType: string = 'a';\n /** Spécifie le lien si nécessaire */\n @Prop() href?: string;\n /** Attribut target, s'applique uniquement si href est rempli */\n @Prop() target: string = '_self';\n /** Remplit l'attribut rel */\n @Prop() rel?: string;\n /** Définir une date de début si la carte est un évènement */\n @Prop() dateStart?: string;\n /** Définir une date de fin si la carte est un évènement */\n @Prop() dateEnd?: string;\n\n /** Si vrai, les cartes ont la même hauteur */\n @Prop() fullHeight: boolean = false;\n /** Si désactivée, la carte n'est pas utilisable */\n @Prop() disabled: boolean = false;\n /** Remplit l'attribut aria-label, utilisé à des fins d'accessibilité */\n @Prop() accAriaLabel?: string;\n\n componentWillLoad() {\n this.checkForImage();\n this.applyVariantToChildren();\n this.attachNestedCardListeners();\n }\n\n @Listen('slotchange')\n slotChanged() {\n this.checkForImage();\n this.applyVariantToChildren();\n this.attachNestedCardListeners();\n }\n\n @Listen('mouseenter')\n onMouseEnter() {\n if (this.childHoveredCount === 0) {\n this.setImageHovered(true);\n }\n }\n\n @Listen('mouseleave')\n onMouseLeave() {\n this.setImageHovered(false);\n }\n\n private attachNestedCardListeners() {\n requestAnimationFrame(() => {\n const nestedCards = this.el.querySelectorAll('spw-card');\n\n nestedCards.forEach(card => {\n card.addEventListener('mouseenter', this.onNestedCardEnter.bind(this), true);\n card.addEventListener('mouseleave', this.onNestedCardLeave.bind(this), true);\n });\n });\n }\n\n private onNestedCardEnter = () => {\n this.childHoveredCount++;\n this.setImageHovered(false);\n };\n\n private onNestedCardLeave = () => {\n this.childHoveredCount = Math.max(0, this.childHoveredCount - 1);\n if (this.childHoveredCount === 0 && this.isPointerInside(this.el)) {\n this.setImageHovered(true);\n }\n };\n\n private isPointerInside(element: HTMLElement): boolean {\n const rect = element.getBoundingClientRect();\n const { left, top, right, bottom } = rect;\n const { clientX, clientY } = window as any;\n return clientX >= left && clientX <= right && clientY >= top && clientY <= bottom;\n }\n\n private checkForImage() {\n requestAnimationFrame(() => {\n const imageElement = this.el.querySelector('spw-card-image');\n const contentElement = this.el.querySelector('spw-card-content');\n this.hasImage = !!imageElement;\n if (!this.hasImage) {\n contentElement?.classList.add('--no-image');\n }\n });\n }\n\n private formatDate(date?: string): any[] {\n if (!date) return [];\n const parts = date.split('/');\n return parts.flatMap((part, index) => (index < parts.length - 1 ? [<span>{part}</span>, <span>/</span>] : [<span>{part}</span>]));\n }\n\n private applyVariantToChildren() {\n requestAnimationFrame(() => {\n const variantClass = `--${this.variant}`;\n const contentElement = this.el.querySelector('spw-card-content');\n const imageElement = this.el.querySelector('spw-card-image');\n const titleElement = this.el.querySelector('spw-card-title');\n const excerptElement = this.el.querySelector('spw-card-excerpt');\n const subtagsElement = this.el.querySelector('spw-card-subtags');\n\n contentElement?.classList.add(variantClass);\n imageElement?.classList.add(variantClass);\n titleElement?.classList.add(variantClass);\n excerptElement?.classList.add(variantClass);\n subtagsElement?.classList.add(variantClass);\n });\n }\n\n private setImageHovered(isHovered: boolean) {\n const imageElement = this.el.querySelector('spw-card-image');\n const titleElement = this.el.querySelector('spw-card-title');\n if (imageElement && this.href) {\n imageElement.classList.toggle('--hovered', isHovered);\n }\n if (titleElement && this.href) {\n titleElement.classList.toggle('--hovered', isHovered);\n }\n }\n\n private get elementClass(): { [className: string]: boolean } {\n return {\n 'spw-card': true,\n 'spw-card--hoverable': !!this.href,\n 'spw-card--no-image': !this.hasImage,\n [`spw-card--${this.variant}`]: true,\n };\n }\n\n render() {\n const { href, rel, target, dateStart, dateEnd, variant } = this;\n const TagType = this.href === undefined ? 'div' : 'a';\n const attrs =\n TagType === 'div'\n ? {}\n : {\n href,\n rel,\n target,\n };\n\n const ariaAttributes = {\n 'aria-label': this?.accAriaLabel,\n 'aria-disabled': this.disabled ? 'true' : null,\n };\n\n return (\n <Host class={{ '--is-full-height': this.fullHeight }}>\n <article class={this.elementClass}>\n {variant === 'event' && (\n <TagType {...attrs} class=\"spw-card__dates\">\n {dateStart && <div class=\"spw-card__date-item\">{this.formatDate(dateStart)}</div>}\n {dateEnd && <div class=\"spw-card__date-item\">{this.formatDate(dateEnd)}</div>}\n </TagType>\n )}\n <TagType {...attrs} {...ariaAttributes} class=\"spw-card__link\">\n <slot></slot>\n </TagType>\n </article>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAa,4kI,MCONC,EAAO,MALpB,WAAAC,CAAAC,G,UAOWC,KAAQC,SAAY,MACrBD,KAAAE,kBAAoB,EAGpBF,KAAOG,QAAoE,OAE3EH,KAAWI,YAAW,IAItBJ,KAAMK,OAAW,QASjBL,KAAUM,WAAY,MAEtBN,KAAQO,SAAY,MAwCpBP,KAAiBQ,kBAAG,KAC1BR,KAAKE,oBACLF,KAAKS,gBAAgB,MAAM,EAGrBT,KAAiBU,kBAAG,KAC1BV,KAAKE,kBAAoBS,KAAKC,IAAI,EAAGZ,KAAKE,kBAAoB,GAC9D,GAAIF,KAAKE,oBAAsB,GAAKF,KAAKa,gBAAgBb,KAAKc,IAAK,CACjEd,KAAKS,gBAAgB,K,EAkG1B,CA9IC,iBAAAM,GACEf,KAAKgB,gBACLhB,KAAKiB,yBACLjB,KAAKkB,2B,CAIP,WAAAC,GACEnB,KAAKgB,gBACLhB,KAAKiB,yBACLjB,KAAKkB,2B,CAIP,YAAAE,GACE,GAAIpB,KAAKE,oBAAsB,EAAG,CAChCF,KAAKS,gBAAgB,K,EAKzB,YAAAY,GACErB,KAAKS,gBAAgB,M,CAGf,yBAAAS,GACNI,uBAAsB,KACpB,MAAMC,EAAcvB,KAAKc,GAAGU,iBAAiB,YAE7CD,EAAYE,SAAQC,IAClBA,EAAKC,iBAAiB,aAAc3B,KAAKQ,kBAAkBoB,KAAK5B,MAAO,MACvE0B,EAAKC,iBAAiB,aAAc3B,KAAKU,kBAAkBkB,KAAK5B,MAAO,KAAK,GAC5E,G,CAgBE,eAAAa,CAAgBgB,GACtB,MAAMC,EAAOD,EAAQE,wBACrB,MAAMC,KAAEA,EAAIC,IAAEA,EAAGC,MAAEA,EAAKC,OAAEA,GAAWL,EACrC,MAAMM,QAAEA,EAAOC,QAAEA,GAAYC,OAC7B,OAAOF,GAAWJ,GAAQI,GAAWF,GAASG,GAAWJ,GAAOI,GAAWF,C,CAGrE,aAAAnB,GACNM,uBAAsB,KACpB,MAAMiB,EAAevC,KAAKc,GAAG0B,cAAc,kBAC3C,MAAMC,EAAiBzC,KAAKc,GAAG0B,cAAc,oBAC7CxC,KAAKC,WAAasC,EAClB,IAAKvC,KAAKC,SAAU,CAClBwC,IAAc,MAAdA,SAAc,SAAdA,EAAgBC,UAAUC,IAAI,a,KAK5B,UAAAC,CAAWC,GACjB,IAAKA,EAAM,MAAO,GAClB,MAAMC,EAAQD,EAAKE,MAAM,KACzB,OAAOD,EAAME,SAAQ,CAACC,EAAMC,IAAWA,EAAQJ,EAAMK,OAAS,EAAI,CAACC,EAAA,YAAOH,GAAcG,EAAA,kBAAkB,CAACA,EAAO,YAAAH,K,CAG5G,sBAAAhC,GACNK,uBAAsB,KACpB,MAAM+B,EAAe,KAAKrD,KAAKG,UAC/B,MAAMsC,EAAiBzC,KAAKc,GAAG0B,cAAc,oBAC7C,MAAMD,EAAevC,KAAKc,GAAG0B,cAAc,kBAC3C,MAAMc,EAAetD,KAAKc,GAAG0B,cAAc,kBAC3C,MAAMe,EAAiBvD,KAAKc,GAAG0B,cAAc,oBAC7C,MAAMgB,EAAiBxD,KAAKc,GAAG0B,cAAc,oBAE7CC,IAAc,MAAdA,SAAc,SAAdA,EAAgBC,UAAUC,IAAIU,GAC9Bd,IAAY,MAAZA,SAAY,SAAZA,EAAcG,UAAUC,IAAIU,GAC5BC,IAAY,MAAZA,SAAY,SAAZA,EAAcZ,UAAUC,IAAIU,GAC5BE,IAAc,MAAdA,SAAc,SAAdA,EAAgBb,UAAUC,IAAIU,GAC9BG,IAAc,MAAdA,SAAc,SAAdA,EAAgBd,UAAUC,IAAIU,EAAa,G,CAIvC,eAAA5C,CAAgBgD,GACtB,MAAMlB,EAAevC,KAAKc,GAAG0B,cAAc,kBAC3C,MAAMc,EAAetD,KAAKc,GAAG0B,cAAc,kBAC3C,GAAID,GAAgBvC,KAAK0D,KAAM,CAC7BnB,EAAaG,UAAUiB,OAAO,YAAaF,E,CAE7C,GAAIH,GAAgBtD,KAAK0D,KAAM,CAC7BJ,EAAaZ,UAAUiB,OAAO,YAAaF,E,EAI/C,gBAAYG,GACV,MAAO,CACL,WAAY,KACZ,wBAAyB5D,KAAK0D,KAC9B,sBAAuB1D,KAAKC,SAC5B,CAAC,aAAaD,KAAKG,WAAY,K,CAInC,MAAA0D,GACE,MAAMH,KAAEA,EAAII,IAAEA,EAAGzD,OAAEA,EAAM0D,UAAEA,EAASC,QAAEA,EAAO7D,QAAEA,GAAYH,KAC3D,MAAMiE,EAAUjE,KAAK0D,OAASQ,UAAY,MAAQ,IAClD,MAAMC,EACJF,IAAY,MACR,GACA,CACEP,OACAI,MACAzD,UAGR,MAAM+D,EAAiB,CACrB,aAAcpE,OAAI,MAAJA,YAAA,SAAAA,KAAMqE,aACpB,gBAAiBrE,KAAKO,SAAW,OAAS,MAG5C,OACE6C,EAACkB,EAAI,CAAAC,IAAA,2CAACC,MAAO,CAAE,mBAAoBxE,KAAKM,aACtC8C,EAAA,WAAAmB,IAAA,2CAASC,MAAOxE,KAAK4D,cAClBzD,IAAY,SACXiD,EAACa,EAAOQ,OAAAC,OAAA,CAAAH,IAAA,4CAAKJ,EAAK,CAAEK,MAAM,oBACvBT,GAAaX,EAAA,OAAAmB,IAAA,2CAAKC,MAAM,uBAAuBxE,KAAK4C,WAAWmB,IAC/DC,GAAWZ,EAAA,OAAAmB,IAAA,2CAAKC,MAAM,uBAAuBxE,KAAK4C,WAAWoB,KAGlEZ,EAACa,EAAOQ,OAAAC,OAAA,CAAAH,IAAA,4CAAKJ,EAAWC,EAAgB,CAAAI,MAAM,mBAC5CpB,EAAA,QAAAmB,IAAA,+C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as i}from"./p-BYM_CUUH.js";const n="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-list-description{color:var(--spw-color-themes-grey-grey-800);font-size:16px;line-height:1.5;margin-top:6px}.spw-list-description--has-clamp{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.spw-list-description--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-list-description--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-list-description--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-list-description--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-list-description--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-list-description--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-list-description--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-list-description--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-list-description--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-list-description--clamp-10{-webkit-line-clamp:10;line-clamp:10}";const o=class{constructor(t){e(this,t)}get elementClass(){const e=this.lineClamp!=="none";return{"spw-list-description":true,[`spw-list-description--has-clamp`]:e,[`spw-list-description--clamp-${this.lineClamp}`]:true}}render(){return t(i,{key:"634518836c0811971bc09f5962e223dbd4bffae7"},t("div",{key:"a90b29ba3c0d604be9eb5f818626d7f9ff77757e",class:this.elementClass},t("slot",{key:"22d52ddbdc1ce1bec163b8dcb8e8ff8684b89e8b"})))}};o.style=n;export{o as spw_list_description};
2
- //# sourceMappingURL=p-8d94697c.entry.js.map
1
+ import{r as e,h as t,H as i}from"./p-BYM_CUUH.js";const n="/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-list-description{color:var(--spw-color-themes-grey-grey-800);font-size:16px;line-height:1.5;margin-top:6px}.spw-list-description--has-clamp{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.spw-list-description--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-list-description--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-list-description--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-list-description--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-list-description--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-list-description--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-list-description--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-list-description--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-list-description--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-list-description--clamp-10{-webkit-line-clamp:10;line-clamp:10}";const o=class{constructor(t){e(this,t)}get elementClass(){const e=this.lineClamp!=="none";return{"spw-list-description":true,[`spw-list-description--has-clamp`]:e,[`spw-list-description--clamp-${this.lineClamp}`]:true}}render(){return t(i,{key:"520d9fe437d25953a394a7cae5ff8c7cbcb7c69e"},t("div",{key:"c8c21d648320ed07fda21f57f4e51c5c00596227",class:this.elementClass},t("slot",{key:"825f74bd367dd654a84ec9fd40010199362b1825"})))}};o.style=n;export{o as spw_list_description};
2
+ //# sourceMappingURL=p-8c6c9db5.entry.js.map