@swisspost/design-system-components 1.7.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{index-c07c0cdb.js → index-13695f3f.js} +55 -2
  3. package/dist/cjs/index-13695f3f.js.map +1 -0
  4. package/dist/cjs/index.cjs.js +12 -12
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/package-8152e25e.js +7 -0
  7. package/dist/cjs/package-8152e25e.js.map +1 -0
  8. package/dist/cjs/post-accordion-9877919c.js +88 -0
  9. package/dist/cjs/post-accordion-9877919c.js.map +1 -0
  10. package/dist/cjs/post-accordion-item.cjs.entry.js +55 -0
  11. package/dist/cjs/post-accordion-item.cjs.entry.js.map +1 -0
  12. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  13. package/dist/cjs/{post-alert-6d0b5e58.js → post-alert-d87e6132.js} +4 -4
  14. package/dist/cjs/{post-alert-6d0b5e58.js.map → post-alert-d87e6132.js.map} +1 -1
  15. package/dist/cjs/post-alert.cjs.entry.js +3 -3
  16. package/dist/cjs/post-collapsible-ef0561b4.js +84 -0
  17. package/dist/cjs/post-collapsible-ef0561b4.js.map +1 -0
  18. package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
  19. package/dist/cjs/post-components.cjs.js +3 -3
  20. package/dist/cjs/post-components.cjs.js.map +1 -1
  21. package/dist/cjs/{post-icon-3dbb7728.js → post-icon-e9dcd643.js} +3 -3
  22. package/dist/cjs/{post-icon-3dbb7728.js.map → post-icon-e9dcd643.js.map} +1 -1
  23. package/dist/cjs/post-icon.cjs.entry.js +3 -3
  24. package/dist/cjs/{post-popover-ea22d235.js → post-popover-e114ebe7.js} +3 -3
  25. package/dist/cjs/{post-popover-ea22d235.js.map → post-popover-e114ebe7.js.map} +1 -1
  26. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  27. package/dist/cjs/{post-popovercontainer-42e4ab15.js → post-popovercontainer-20fb22ee.js} +3 -3
  28. package/dist/cjs/{post-popovercontainer-42e4ab15.js.map → post-popovercontainer-20fb22ee.js.map} +1 -1
  29. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  30. package/dist/cjs/{post-tab-header-09074905.js → post-tab-header-34c1cc21.js} +3 -3
  31. package/dist/cjs/{post-tab-header-09074905.js.map → post-tab-header-34c1cc21.js.map} +1 -1
  32. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  33. package/dist/cjs/{post-tab-panel-9547b9ac.js → post-tab-panel-95cf7092.js} +3 -3
  34. package/dist/cjs/{post-tab-panel-9547b9ac.js.map → post-tab-panel-95cf7092.js.map} +1 -1
  35. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  36. package/dist/cjs/{post-tabs-2ec2778e.js → post-tabs-dbe7c341.js} +3 -3
  37. package/dist/cjs/{post-tabs-2ec2778e.js.map → post-tabs-dbe7c341.js.map} +1 -1
  38. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  39. package/dist/cjs/{post-tooltip-c802c51f.js → post-tooltip-659af1e3.js} +9 -6
  40. package/dist/cjs/post-tooltip-659af1e3.js.map +1 -0
  41. package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
  42. package/dist/collection/animations/collapse.js +10 -5
  43. package/dist/collection/animations/collapse.js.map +1 -1
  44. package/dist/collection/collection-manifest.json +4 -3
  45. package/dist/collection/components/post-accordion/post-accordion.js +37 -36
  46. package/dist/collection/components/post-accordion/post-accordion.js.map +1 -1
  47. package/dist/collection/components/post-accordion-item/heading-levels.js.map +1 -0
  48. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -0
  49. package/dist/collection/components/post-accordion-item/post-accordion-item.js +142 -0
  50. package/dist/collection/components/post-accordion-item/post-accordion-item.js.map +1 -0
  51. package/dist/collection/components/post-alert/post-alert.css +1 -1
  52. package/dist/collection/components/post-alert/post-alert.js.map +1 -1
  53. package/dist/collection/components/post-collapsible/post-collapsible.css +1 -1
  54. package/dist/collection/components/post-collapsible/post-collapsible.js +7 -48
  55. package/dist/collection/components/post-collapsible/post-collapsible.js.map +1 -1
  56. package/dist/collection/components/post-popover/post-popover.js.map +1 -1
  57. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js.map +1 -1
  58. package/dist/collection/components/post-tabs/post-tabs.js.map +1 -1
  59. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  60. package/dist/collection/components/post-tooltip/post-tooltip.js +23 -2
  61. package/dist/collection/components/post-tooltip/post-tooltip.js.map +1 -1
  62. package/dist/collection/utils/property-checkers/check-non-empty.js.map +1 -1
  63. package/dist/collection/utils/property-checkers/check-type.js.map +1 -1
  64. package/dist/components/package.js +1 -1
  65. package/dist/components/post-accordion-item.d.ts +11 -0
  66. package/dist/components/post-accordion-item.js +82 -0
  67. package/dist/components/post-accordion-item.js.map +1 -0
  68. package/dist/components/post-accordion2.js +33 -32
  69. package/dist/components/post-accordion2.js.map +1 -1
  70. package/dist/components/post-alert2.js +1 -1
  71. package/dist/components/post-alert2.js.map +1 -1
  72. package/dist/components/post-collapsible2.js +16 -29
  73. package/dist/components/post-collapsible2.js.map +1 -1
  74. package/dist/components/post-tooltip2.js +7 -3
  75. package/dist/components/post-tooltip2.js.map +1 -1
  76. package/dist/docs.json +189 -72
  77. package/dist/esm/{index-35998e08.js → index-74cf5c9d.js} +55 -2
  78. package/dist/esm/index-74cf5c9d.js.map +1 -0
  79. package/dist/esm/index.js +12 -12
  80. package/dist/esm/loader.js +3 -3
  81. package/dist/esm/package-af0ef704.js +5 -0
  82. package/dist/esm/package-af0ef704.js.map +1 -0
  83. package/dist/esm/post-accordion-3b137073.js +86 -0
  84. package/dist/esm/post-accordion-3b137073.js.map +1 -0
  85. package/dist/esm/post-accordion-item.entry.js +51 -0
  86. package/dist/esm/post-accordion-item.entry.js.map +1 -0
  87. package/dist/esm/post-accordion.entry.js +3 -3
  88. package/dist/esm/{post-alert-7254a70f.js → post-alert-0dcc6ac7.js} +4 -4
  89. package/dist/esm/{post-alert-7254a70f.js.map → post-alert-0dcc6ac7.js.map} +1 -1
  90. package/dist/esm/post-alert.entry.js +3 -3
  91. package/dist/esm/post-collapsible-a418570f.js +82 -0
  92. package/dist/esm/post-collapsible-a418570f.js.map +1 -0
  93. package/dist/esm/post-collapsible.entry.js +3 -3
  94. package/dist/esm/post-components.js +4 -4
  95. package/dist/esm/post-components.js.map +1 -1
  96. package/dist/esm/{post-icon-e0bbf0f5.js → post-icon-302d1767.js} +3 -3
  97. package/dist/esm/{post-icon-e0bbf0f5.js.map → post-icon-302d1767.js.map} +1 -1
  98. package/dist/esm/post-icon.entry.js +3 -3
  99. package/dist/esm/{post-popover-25eb3f76.js → post-popover-5725afc7.js} +3 -3
  100. package/dist/esm/{post-popover-25eb3f76.js.map → post-popover-5725afc7.js.map} +1 -1
  101. package/dist/esm/post-popover.entry.js +3 -3
  102. package/dist/esm/{post-popovercontainer-54117eea.js → post-popovercontainer-1c050e83.js} +3 -3
  103. package/dist/esm/{post-popovercontainer-54117eea.js.map → post-popovercontainer-1c050e83.js.map} +1 -1
  104. package/dist/esm/post-popovercontainer.entry.js +3 -3
  105. package/dist/esm/{post-tab-header-1684b507.js → post-tab-header-ede9f078.js} +3 -3
  106. package/dist/esm/{post-tab-header-1684b507.js.map → post-tab-header-ede9f078.js.map} +1 -1
  107. package/dist/esm/post-tab-header.entry.js +3 -3
  108. package/dist/esm/{post-tab-panel-add26fe5.js → post-tab-panel-16796ee3.js} +3 -3
  109. package/dist/esm/{post-tab-panel-add26fe5.js.map → post-tab-panel-16796ee3.js.map} +1 -1
  110. package/dist/esm/post-tab-panel.entry.js +3 -3
  111. package/dist/esm/{post-tabs-d738e61f.js → post-tabs-16f99043.js} +3 -3
  112. package/dist/esm/{post-tabs-d738e61f.js.map → post-tabs-16f99043.js.map} +1 -1
  113. package/dist/esm/post-tabs.entry.js +3 -3
  114. package/dist/esm/{post-tooltip-57928808.js → post-tooltip-03a6d578.js} +9 -6
  115. package/dist/esm/post-tooltip-03a6d578.js.map +1 -0
  116. package/dist/esm/post-tooltip.entry.js +3 -3
  117. package/dist/post-components/index.esm.js +1 -1
  118. package/dist/post-components/p-06566f88.js +2 -0
  119. package/dist/post-components/p-06566f88.js.map +1 -0
  120. package/dist/post-components/{p-7d32dfb7.js → p-12a0f4b9.js} +2 -2
  121. package/dist/post-components/{p-7d32dfb7.js.map → p-12a0f4b9.js.map} +1 -1
  122. package/dist/post-components/{p-09892ad1.js → p-26dad3c3.js} +2 -2
  123. package/dist/post-components/p-299a3e41.entry.js +2 -0
  124. package/dist/post-components/p-3241987a.entry.js +2 -0
  125. package/dist/post-components/p-3fd14a00.js +2 -0
  126. package/dist/post-components/p-3fd14a00.js.map +1 -0
  127. package/dist/post-components/p-4b950d70.js +2 -0
  128. package/dist/post-components/p-503ac49b.entry.js +2 -0
  129. package/dist/post-components/{p-9bd5f824.js → p-6391f970.js} +2 -2
  130. package/dist/post-components/p-6d0226cd.entry.js +2 -0
  131. package/dist/post-components/p-775859cc.entry.js +2 -0
  132. package/dist/post-components/p-78589fac.entry.js +2 -0
  133. package/dist/post-components/p-78589fac.entry.js.map +1 -0
  134. package/dist/post-components/{p-f994dce8.js → p-803284de.js} +3 -3
  135. package/dist/post-components/{p-f994dce8.js.map → p-803284de.js.map} +1 -1
  136. package/dist/post-components/p-83cedb31.entry.js +2 -0
  137. package/dist/post-components/p-88481640.entry.js +2 -0
  138. package/dist/post-components/p-8f37921c.entry.js +2 -0
  139. package/dist/post-components/{p-6e3158e8.js → p-91236c61.js} +2 -2
  140. package/dist/post-components/{p-bd032124.js → p-91f2291a.js} +2 -2
  141. package/dist/post-components/{p-1f55663e.js → p-93ab273b.js} +2 -2
  142. package/dist/post-components/{p-81591ad0.js → p-b4f01350.js} +1 -1
  143. package/dist/post-components/p-b4f01350.js.map +1 -0
  144. package/dist/post-components/p-d96fbe33.entry.js +2 -0
  145. package/dist/post-components/p-de4704fc.js +2 -0
  146. package/dist/post-components/p-fe7650bc.entry.js +2 -0
  147. package/dist/post-components/post-components.esm.js +1 -1
  148. package/dist/post-components/post-components.esm.js.map +1 -1
  149. package/dist/types/components/post-accordion/post-accordion.d.ts +8 -8
  150. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +24 -0
  151. package/dist/types/components/post-collapsible/post-collapsible.d.ts +4 -10
  152. package/dist/types/components/post-tooltip/post-tooltip.d.ts +4 -0
  153. package/dist/types/components.d.ts +51 -18
  154. package/package.json +11 -3
  155. package/dist/cjs/index-c07c0cdb.js.map +0 -1
  156. package/dist/cjs/package-cd0e9960.js +0 -7
  157. package/dist/cjs/package-cd0e9960.js.map +0 -1
  158. package/dist/cjs/post-accordion-f2e00198.js +0 -87
  159. package/dist/cjs/post-accordion-f2e00198.js.map +0 -1
  160. package/dist/cjs/post-collapsible-0b8dce97.js +0 -93
  161. package/dist/cjs/post-collapsible-0b8dce97.js.map +0 -1
  162. package/dist/cjs/post-tooltip-c802c51f.js.map +0 -1
  163. package/dist/collection/components/post-collapsible/heading-levels.js.map +0 -1
  164. package/dist/esm/index-35998e08.js.map +0 -1
  165. package/dist/esm/package-337354c3.js +0 -5
  166. package/dist/esm/package-337354c3.js.map +0 -1
  167. package/dist/esm/post-accordion-c2013bb3.js +0 -85
  168. package/dist/esm/post-accordion-c2013bb3.js.map +0 -1
  169. package/dist/esm/post-collapsible-4464cc98.js +0 -91
  170. package/dist/esm/post-collapsible-4464cc98.js.map +0 -1
  171. package/dist/esm/post-tooltip-57928808.js.map +0 -1
  172. package/dist/post-components/p-05e85f2b.entry.js +0 -2
  173. package/dist/post-components/p-08abd53e.entry.js +0 -2
  174. package/dist/post-components/p-1e9ec4a9.entry.js +0 -2
  175. package/dist/post-components/p-30c60b6c.entry.js +0 -2
  176. package/dist/post-components/p-38d97f62.entry.js +0 -2
  177. package/dist/post-components/p-4c188911.entry.js +0 -2
  178. package/dist/post-components/p-568bb469.entry.js +0 -2
  179. package/dist/post-components/p-65c8bd5c.entry.js +0 -2
  180. package/dist/post-components/p-81591ad0.js.map +0 -1
  181. package/dist/post-components/p-b4b4f59a.js +0 -2
  182. package/dist/post-components/p-c5858d52.entry.js +0 -2
  183. package/dist/post-components/p-dbd07f20.js +0 -2
  184. package/dist/post-components/p-dbd07f20.js.map +0 -1
  185. package/dist/post-components/p-de493e36.js +0 -2
  186. package/dist/post-components/p-eaddd6cc.js +0 -2
  187. package/dist/post-components/p-eaddd6cc.js.map +0 -1
  188. package/dist/post-components/p-ed73d4c0.entry.js +0 -2
  189. /package/dist/collection/components/{post-collapsible → post-accordion-item}/heading-levels.js +0 -0
  190. /package/dist/post-components/{p-09892ad1.js.map → p-26dad3c3.js.map} +0 -0
  191. /package/dist/post-components/{p-05e85f2b.entry.js.map → p-299a3e41.entry.js.map} +0 -0
  192. /package/dist/post-components/{p-08abd53e.entry.js.map → p-3241987a.entry.js.map} +0 -0
  193. /package/dist/post-components/{p-b4b4f59a.js.map → p-4b950d70.js.map} +0 -0
  194. /package/dist/post-components/{p-1e9ec4a9.entry.js.map → p-503ac49b.entry.js.map} +0 -0
  195. /package/dist/post-components/{p-9bd5f824.js.map → p-6391f970.js.map} +0 -0
  196. /package/dist/post-components/{p-30c60b6c.entry.js.map → p-6d0226cd.entry.js.map} +0 -0
  197. /package/dist/post-components/{p-38d97f62.entry.js.map → p-775859cc.entry.js.map} +0 -0
  198. /package/dist/post-components/{p-4c188911.entry.js.map → p-83cedb31.entry.js.map} +0 -0
  199. /package/dist/post-components/{p-568bb469.entry.js.map → p-88481640.entry.js.map} +0 -0
  200. /package/dist/post-components/{p-65c8bd5c.entry.js.map → p-8f37921c.entry.js.map} +0 -0
  201. /package/dist/post-components/{p-6e3158e8.js.map → p-91236c61.js.map} +0 -0
  202. /package/dist/post-components/{p-bd032124.js.map → p-91f2291a.js.map} +0 -0
  203. /package/dist/post-components/{p-1f55663e.js.map → p-93ab273b.js.map} +0 -0
  204. /package/dist/post-components/{p-c5858d52.entry.js.map → p-d96fbe33.entry.js.map} +0 -0
  205. /package/dist/post-components/{p-de493e36.js.map → p-de4704fc.js.map} +0 -0
  206. /package/dist/post-components/{p-ed73d4c0.entry.js.map → p-fe7650bc.entry.js.map} +0 -0
  207. /package/dist/types/components/{post-collapsible → post-accordion-item}/heading-levels.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ export{P as post_collapsible}from"./p-06566f88.js";import"./p-b4f01350.js";import"./p-de4704fc.js";import"./p-96f4ebc4.js";import"./p-440193f4.js";
2
+ //# sourceMappingURL=p-83cedb31.entry.js.map
@@ -0,0 +1,2 @@
1
+ export{P as post_alert}from"./p-12a0f4b9.js";import"./p-b4f01350.js";import"./p-de4704fc.js";import"./p-2737eaf5.js";import"./p-96f4ebc4.js";import"./p-440193f4.js";import"./p-b095519d.js";
2
+ //# sourceMappingURL=p-88481640.entry.js.map
@@ -0,0 +1,2 @@
1
+ export{P as post_tabs}from"./p-26dad3c3.js";import"./p-b4f01350.js";import"./p-de4704fc.js";import"./p-2737eaf5.js";
2
+ //# sourceMappingURL=p-8f37921c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,h as t,H as r,g as a}from"./p-81591ad0.js";import{v as b}from"./p-de493e36.js";import{c as e}from"./p-b095519d.js";const c='.tab-title[role=tab]{display:inline-block;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:#fff;color:var(--post-contrast-color)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:#fff;color:var(--post-contrast-color);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:is(.bg-dark,.bg-primary,.bg-black,.bg-success,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.bg-error-red) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-primary,.bg-black,.bg-success,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.bg-error-red) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success .tab-title{background-color:#2c911c}.bg-success .tab-title.active{background-color:#2c911c}.bg-success .nav-item{background-color:#2c911c}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-danger .tab-title{background-color:#a51728}.bg-danger .tab-title.active{background-color:#a51728}.bg-danger .nav-item{background-color:#a51728}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}.bg-success-green .tab-title{background-color:#2c871d}.bg-success-green .tab-title.active{background-color:#2c871d}.bg-success-green .nav-item{background-color:#2c871d}.bg-error-red .tab-title{background-color:#a51728}.bg-error-red .tab-title.active{background-color:#a51728}.bg-error-red .nav-item{background-color:#a51728}.bg-warning-orange .tab-title{background-color:#f49e00}.bg-warning-orange .tab-title.active{background-color:#f49e00}.bg-warning-orange .nav-item{background-color:#f49e00}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:button;appearance:button}';const l=class{constructor(t){o(this,t);this.tabId=undefined;this.panel=undefined}validateFor(o){e(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{"data-version":b},t("button",{"aria-selected":"false",class:"tab-title",id:this.tabId,role:"tab",tabindex:"-1",type:"button"},t("slot",null)))}get host(){return a(this)}static get watchers(){return{panel:["validateFor"]}}};l.style=c;export{l as P};
2
- //# sourceMappingURL=p-6e3158e8.js.map
1
+ import{r as o,h as t,H as r,g as b}from"./p-b4f01350.js";import{v as a}from"./p-de4704fc.js";import{c as e}from"./p-b095519d.js";const c='.tab-title[role=tab]{display:inline-block;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:#fff;color:var(--post-contrast-color)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:#fff;color:var(--post-contrast-color);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:is(.bg-dark,.bg-primary,.bg-black,.bg-success,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.bg-error-red) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-primary,.bg-black,.bg-success,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.bg-error-red) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success .tab-title{background-color:#2c911c}.bg-success .tab-title.active{background-color:#2c911c}.bg-success .nav-item{background-color:#2c911c}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-danger .tab-title{background-color:#a51728}.bg-danger .tab-title.active{background-color:#a51728}.bg-danger .nav-item{background-color:#a51728}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}.bg-success-green .tab-title{background-color:#2c871d}.bg-success-green .tab-title.active{background-color:#2c871d}.bg-success-green .nav-item{background-color:#2c871d}.bg-error-red .tab-title{background-color:#a51728}.bg-error-red .tab-title.active{background-color:#a51728}.bg-error-red .nav-item{background-color:#a51728}.bg-warning-orange .tab-title{background-color:#f49e00}.bg-warning-orange .tab-title.active{background-color:#f49e00}.bg-warning-orange .nav-item{background-color:#f49e00}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:button;appearance:button}';const l=class{constructor(t){o(this,t);this.tabId=undefined;this.panel=undefined}validateFor(o){e(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{"data-version":a},t("button",{"aria-selected":"false",class:"tab-title",id:this.tabId,role:"tab",tabindex:"-1",type:"button"},t("slot",null)))}get host(){return b(this)}static get watchers(){return{panel:["validateFor"]}}};l.style=c;export{l as P};
2
+ //# sourceMappingURL=p-91236c61.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as t,H as a,g as n}from"./p-81591ad0.js";import{b as e,d as o,c as s}from"./p-96f4ebc4.js";import{v as r}from"./p-de493e36.js";import{c as l}from"./p-b095519d.js";const m=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";const c="https://unpkg.com/@swisspost/design-system-icons/public/post-icons";const h=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"];const p=[...h];const f=class{constructor(t){i(this,t);this.svgStyles=undefined;this.svgOutput=undefined;this.animation=null;this.base=null;this.flipH=false;this.flipV=false;this.name=undefined;this.rotate=null;this.scale=null}validateAnimation(i=this.animation){if(i!==undefined)e(i,p,`The post-icon "animation" prop requires one of the following values: ${p.join(", ")}.`)}validateBase(i=this.base){o(i,"string",'The post-icon "base" prop should be a string.')}validateFlipH(i=this.flipH){o(i,"boolean",'The post-icon "flipH" prop should be a boolean.')}validateFlipV(i=this.flipV){o(i,"boolean",'The post-icon "flipV" prop should be a boolean.')}validateName(i=this.name){l(i,'The post-icon "name" prop is required!.');s(i,"string",'The post-icon "name" prop should be a string.')}validateRotate(i=this.rotate){o(i,"number",'The post-icon "rotate" prop should be a number.')}validateScale(i=this.scale){o(i,"number",'The post-icon "scale" prop should be a number.')}componentWillLoad(){this.validateBase();this.validateName();this.validateFlipH();this.validateFlipV();this.validateScale();this.validateRotate();this.validateAnimation()}componentWillRender(){this.setPath()}setPath(){var i,t,a,n;const e=(t=(i=document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]'))===null||i===void 0?void 0:i.getAttribute("data-post-icon-base"))!==null&&t!==void 0?t:null;const o=`${(n=(a=this.base)!==null&&a!==void 0?a:e)!==null&&n!==void 0?n:c}/`.replace(/\/\/$/,"/");const s=`${this.name}.svg#icon`;const r=`${o}${s}`;this.path=new URL(r,window.location.origin).toString()}render(){const i=Object.entries({"-webkit-mask-image":`url('${this.path}')`,"mask-image":`url('${this.path}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([i,t])=>t!==null)).reduce(((i,[t,a])=>Object.assign(i,{[t]:a})),{});return t(a,{"data-version":r},t("span",{style:i}))}get host(){return n(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};f.style=m;export{f as P};
2
- //# sourceMappingURL=p-bd032124.js.map
1
+ import{r as i,h as t,H as a,g as n}from"./p-b4f01350.js";import{b as e,d as o,c as s}from"./p-96f4ebc4.js";import{v as r}from"./p-de4704fc.js";import{c as l}from"./p-b095519d.js";const m=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";const c="https://unpkg.com/@swisspost/design-system-icons/public/post-icons";const h=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"];const p=[...h];const f=class{constructor(t){i(this,t);this.svgStyles=undefined;this.svgOutput=undefined;this.animation=null;this.base=null;this.flipH=false;this.flipV=false;this.name=undefined;this.rotate=null;this.scale=null}validateAnimation(i=this.animation){if(i!==undefined)e(i,p,`The post-icon "animation" prop requires one of the following values: ${p.join(", ")}.`)}validateBase(i=this.base){o(i,"string",'The post-icon "base" prop should be a string.')}validateFlipH(i=this.flipH){o(i,"boolean",'The post-icon "flipH" prop should be a boolean.')}validateFlipV(i=this.flipV){o(i,"boolean",'The post-icon "flipV" prop should be a boolean.')}validateName(i=this.name){l(i,'The post-icon "name" prop is required!.');s(i,"string",'The post-icon "name" prop should be a string.')}validateRotate(i=this.rotate){o(i,"number",'The post-icon "rotate" prop should be a number.')}validateScale(i=this.scale){o(i,"number",'The post-icon "scale" prop should be a number.')}componentWillLoad(){this.validateBase();this.validateName();this.validateFlipH();this.validateFlipV();this.validateScale();this.validateRotate();this.validateAnimation()}componentWillRender(){this.setPath()}setPath(){var i,t,a,n;const e=(t=(i=document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]'))===null||i===void 0?void 0:i.getAttribute("data-post-icon-base"))!==null&&t!==void 0?t:null;const o=`${(n=(a=this.base)!==null&&a!==void 0?a:e)!==null&&n!==void 0?n:c}/`.replace(/\/\/$/,"/");const s=`${this.name}.svg#icon`;const r=`${o}${s}`;this.path=new URL(r,window.location.origin).toString()}render(){const i=Object.entries({"-webkit-mask-image":`url('${this.path}')`,"mask-image":`url('${this.path}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([i,t])=>t!==null)).reduce(((i,[t,a])=>Object.assign(i,{[t]:a})),{});return t(a,{"data-version":r},t("span",{style:i}))}get host(){return n(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};f.style=m;export{f as P};
2
+ //# sourceMappingURL=p-91f2291a.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,h as t,H as e,g as s}from"./p-81591ad0.js";import{v as i}from"./p-de493e36.js";const r="/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:button;appearance:button;outline:none;outline-offset:2px;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/g%3E%3C/svg%3E\");background-color:currentColor;content:\"\";display:block;height:1.5rem;width:1.5rem}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;max-width:min(66vw,60rem)}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em}";const n=class{constructor(t){o(this,t);this.placement="top";this.closeButtonCaption=undefined;this.arrow=true;this.localTogglePopover=o=>this.toggle(o.target);this.localEnterTogglePopover=o=>{if(o.key==="Enter")this.toggle(o.target)};this.localTouchTogglePopover=o=>{o.preventDefault();this.toggle(o.target)}}connectedCallback(){if(!this.triggers){throw new Error(`No trigger found for <post-popover popover-id="${this.host.id}`)}this.triggers.forEach((o=>{o.addEventListener("mouseup",this.localTogglePopover,{once:true});o.addEventListener("keypress",this.localEnterTogglePopover);o.addEventListener("touch",this.localTouchTogglePopover,{once:true});o.setAttribute("aria-expanded","false")}))}disconnectedCallback(){this.triggers.forEach((o=>{o.removeEventListener("mouseup",this.localTogglePopover);o.removeEventListener("keypress",this.localEnterTogglePopover);o.removeEventListener("touch",this.localTouchTogglePopover);o.removeAttribute("aria-expanded")}))}async show(o){this.currentTarget=o;this.popoverRef.show(o);o.setAttribute("aria-expanded","true")}async hide(){this.popoverRef.hide();this.triggers.forEach((o=>o.setAttribute("aria-expanded","false")))}async toggle(o,t){this.currentTarget=o;const e=await this.popoverRef.toggle(o,t);o.setAttribute("aria-expanded",`${e}`)}get triggers(){return document.querySelectorAll(`[data-popover-target="${this.host.id}"]`)}onToggle(o){if(this.currentTarget){this.currentTarget.setAttribute("aria-expanded",`${o.detail}`)}if(!o.detail){window.requestAnimationFrame((()=>{this.triggers.forEach((o=>{o.addEventListener("mouseup",this.localTogglePopover,{once:true});o.addEventListener("touch",this.localTouchTogglePopover,{once:true})}))}));if(this.currentTarget){this.currentTarget.focus();this.currentTarget=null}}}stopImmediatePropagation(o){o.stopImmediatePropagation()}render(){return t(e,{"data-version":i},t("post-popovercontainer",{arrow:this.arrow,placement:this.placement,ref:o=>this.popoverRef=o,onPostPopoverToggled:o=>this.onToggle(o)},t("div",{class:"popover-container",onPointerDown:o=>this.stopImmediatePropagation(o),onPointerUp:o=>this.stopImmediatePropagation(o)},t("div",{class:"popover-content"},t("slot",null)),t("button",{class:"btn-close",onClick:()=>this.hide()},t("span",{class:"visually-hidden"},this.closeButtonCaption)))))}get host(){return s(this)}};n.style=r;export{n as P};
2
- //# sourceMappingURL=p-1f55663e.js.map
1
+ import{r as o,h as t,H as e,g as s}from"./p-b4f01350.js";import{v as i}from"./p-de4704fc.js";const r="/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:button;appearance:button;outline:none;outline-offset:2px;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/g%3E%3C/svg%3E\");background-color:currentColor;content:\"\";display:block;height:1.5rem;width:1.5rem}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;max-width:min(66vw,60rem)}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em}";const n=class{constructor(t){o(this,t);this.placement="top";this.closeButtonCaption=undefined;this.arrow=true;this.localTogglePopover=o=>this.toggle(o.target);this.localEnterTogglePopover=o=>{if(o.key==="Enter")this.toggle(o.target)};this.localTouchTogglePopover=o=>{o.preventDefault();this.toggle(o.target)}}connectedCallback(){if(!this.triggers){throw new Error(`No trigger found for <post-popover popover-id="${this.host.id}`)}this.triggers.forEach((o=>{o.addEventListener("mouseup",this.localTogglePopover,{once:true});o.addEventListener("keypress",this.localEnterTogglePopover);o.addEventListener("touch",this.localTouchTogglePopover,{once:true});o.setAttribute("aria-expanded","false")}))}disconnectedCallback(){this.triggers.forEach((o=>{o.removeEventListener("mouseup",this.localTogglePopover);o.removeEventListener("keypress",this.localEnterTogglePopover);o.removeEventListener("touch",this.localTouchTogglePopover);o.removeAttribute("aria-expanded")}))}async show(o){this.currentTarget=o;this.popoverRef.show(o);o.setAttribute("aria-expanded","true")}async hide(){this.popoverRef.hide();this.triggers.forEach((o=>o.setAttribute("aria-expanded","false")))}async toggle(o,t){this.currentTarget=o;const e=await this.popoverRef.toggle(o,t);o.setAttribute("aria-expanded",`${e}`)}get triggers(){return document.querySelectorAll(`[data-popover-target="${this.host.id}"]`)}onToggle(o){if(this.currentTarget){this.currentTarget.setAttribute("aria-expanded",`${o.detail}`)}if(!o.detail){window.requestAnimationFrame((()=>{this.triggers.forEach((o=>{o.addEventListener("mouseup",this.localTogglePopover,{once:true});o.addEventListener("touch",this.localTouchTogglePopover,{once:true})}))}));if(this.currentTarget){this.currentTarget.focus();this.currentTarget=null}}}stopImmediatePropagation(o){o.stopImmediatePropagation()}render(){return t(e,{"data-version":i},t("post-popovercontainer",{arrow:this.arrow,placement:this.placement,ref:o=>this.popoverRef=o,onPostPopoverToggled:o=>this.onToggle(o)},t("div",{class:"popover-container",onPointerDown:o=>this.stopImmediatePropagation(o),onPointerUp:o=>this.stopImmediatePropagation(o)},t("div",{class:"popover-content"},t("slot",null)),t("button",{class:"btn-close",onClick:()=>this.hide()},t("span",{class:"visually-hidden"},this.closeButtonCaption)))))}get host(){return s(this)}};n.style=r;export{n as P};
2
+ //# sourceMappingURL=p-93ab273b.js.map
@@ -1,3 +1,3 @@
1
1
  const t="post-components";let n;let e;let s=false;let o=false;const l=(t,n="")=>{{return()=>{}}};const c=(t,n)=>{{return()=>{}}};const i="{visibility:hidden}.hydrated{visibility:inherit}";const f="slot-fb{display:contents}slot-fb[hidden]{display:none}";const r={};const u=t=>t!=null;const a=t=>{t=typeof t;return t==="object"||t==="function"};function d(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const v=(t,n,...e)=>{let s=null;let o=null;let l=false;let c=false;const i=[];const f=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(l=typeof t!=="function"&&!a(s)){s=String(s)}if(l&&c){i[i.length-1].t+=s}else{i.push(l?p(null,s):s)}c=l}}};f(e);if(n){if(n.key){o=n.key}{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}if(typeof t==="function"){return t(n===null?{}:n,i,m)}const r=p(t,null);r.o=n;if(i.length>0){r.l=i}{r.i=o}return r};const p=(t,n)=>{const e={u:0,v:t,t:n,p:null,l:null};{e.o=null}{e.i=null}return e};const y={};const h=t=>t&&t.v===y;const m={forEach:(t,n)=>t.map(b).forEach(n),map:(t,n)=>t.map(b).map(n).map($)};const b=t=>({vattrs:t.o,vchildren:t.l,vkey:t.i,vname:t.h,vtag:t.v,vtext:t.t});const $=t=>{if(typeof t.vtag==="function"){const n=Object.assign({},t.vattrs);if(t.vkey){n.key=t.vkey}if(t.vname){n.name=t.vname}return v(t.vtag,n,...t.vchildren||[])}const n=p(t.vtag,t.vtext);n.o=t.vattrs;n.l=t.vchildren;n.i=t.vkey;n.h=t.vname;return n};const w=(t,n)=>{if(t!=null&&!a(t)){if(n&4){return t==="false"?false:t===""||!!t}if(n&2){return parseFloat(t)}if(n&1){return String(t)}return t}return t};const S=t=>pt(t).$hostElement$;const g=(t,n,e)=>{const s=S(t);return{emit:t=>j(s,n,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:t})}};const j=(t,n,e)=>{const s=kt.ce(n,e);t.dispatchEvent(s);return s};const k=new WeakMap;const C=(t,n,e)=>{let s=St.get(t);if(Ot&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}St.set(t,s)};const O=(t,n,e)=>{var s;const o=P(n);const l=St.get(o);t=t.nodeType===11?t:jt;if(l){if(typeof l==="string"){t=t.head||t;let e=k.get(t);let c;if(!e){k.set(t,e=new Set)}if(!e.has(o)){{c=jt.createElement("style");c.innerHTML=l;const n=(s=kt.m)!==null&&s!==void 0?s:d(jt);if(n!=null){c.setAttribute("nonce",n)}t.insertBefore(c,t.querySelector("link"))}if(n.u&4){c.innerHTML+=f}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const M=t=>{const n=t.$;const e=t.$hostElement$;const s=n.u;const o=l("attachStyles",n.S);const c=O(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=c;e.classList.add(c+"-h")}o()};const P=(t,n)=>"sc-"+t.S;const x=(t,n,e,s,o,l)=>{if(e!==s){let c=mt(t,n);let i=n.toLowerCase();if(n==="class"){const n=t.classList;const o=L(e);const l=L(s);n.remove(...o.filter((t=>t&&!l.includes(t))));n.add(...l.filter((t=>t&&!o.includes(t))))}else if(n==="style"){{for(const n in e){if(!s||s[n]==null){if(n.includes("-")){t.style.removeProperty(n)}else{t.style[n]=""}}}}for(const n in s){if(!e||s[n]!==e[n]){if(n.includes("-")){t.style.setProperty(n,s[n])}else{t.style[n]=s[n]}}}}else if(n==="key");else if(n==="ref"){if(s){s(t)}}else if(!c&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(mt(gt,i)){n=i.slice(2)}else{n=i[2]+n.slice(3)}if(e||s){const o=n.endsWith(R);n=n.replace(U,"");if(e){kt.rel(t,n,e,o)}if(s){kt.ael(t,n,s,o)}}}else{const i=a(s);if((c||i&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(n==="list"){c=false}else if(e==null||t[n]!=o){t[n]=o}}else{t[n]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){{t.removeAttribute(n)}}}else if((!c||l&4||o)&&!i){s=s===true?"":s;{t.setAttribute(n,s)}}}}};const E=/\s/;const L=t=>!t?[]:t.split(E);const R="Capture";const U=new RegExp(R+"$");const W=(t,n,e,s)=>{const o=n.p.nodeType===11&&n.p.host?n.p.host:n.p;const l=t&&t.o||r;const c=n.o||r;{for(s in l){if(!(s in c)){x(o,s,l[s],undefined,e,n.u)}}}for(s in c){x(o,s,l[s],c[s],e,n.u)}};const A=(t,o,l,c)=>{const i=o.l[l];let f=0;let r;let a;if(i.t!==null){r=i.p=jt.createTextNode(i.t)}else{r=i.p=jt.createElement(i.v);{W(null,i,s)}if(u(n)&&r["s-si"]!==n){r.classList.add(r["s-si"]=n)}if(i.l){for(f=0;f<i.l.length;++f){a=A(t,i,f);if(a){r.appendChild(a)}}}}r["s-hn"]=e;return r};const N=(t,n,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===e){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=A(null,s,l);if(f){o[l].p=f;i.insertBefore(f,n)}}}};const T=(t,n,e)=>{for(let s=n;s<=e;++s){const n=t[s];if(n){const t=n.p;D(n);if(t){t.remove()}}}};const F=(t,n,e,s,o=false)=>{let l=0;let c=0;let i=0;let f=0;let r=n.length-1;let u=n[0];let a=n[r];let d=s.length-1;let v=s[0];let p=s[d];let y;let h;while(l<=r&&c<=d){if(u==null){u=n[++l]}else if(a==null){a=n[--r]}else if(v==null){v=s[++c]}else if(p==null){p=s[--d]}else if(H(u,v,o)){q(u,v,o);u=n[++l];v=s[++c]}else if(H(a,p,o)){q(a,p,o);a=n[--r];p=s[--d]}else if(H(u,p,o)){q(u,p,o);t.insertBefore(u.p,a.p.nextSibling);u=n[++l];p=s[--d]}else if(H(a,v,o)){q(a,v,o);t.insertBefore(a.p,u.p);a=n[--r];v=s[++c]}else{i=-1;{for(f=l;f<=r;++f){if(n[f]&&n[f].i!==null&&n[f].i===v.i){i=f;break}}}if(i>=0){h=n[i];if(h.v!==v.v){y=A(n&&n[c],e,i)}else{q(h,v,o);n[i]=undefined;y=h.p}v=s[++c]}else{y=A(n&&n[c],e,c);v=s[++c]}if(y){{u.p.parentNode.insertBefore(y,u.p)}}}}if(l>r){N(t,s[d+1]==null?null:s[d+1].p,e,s,c,d)}else if(c>d){T(n,l,r)}};const H=(t,n,e=false)=>{if(t.v===n.v){if(!e){return t.i===n.i}return true}return false};const q=(t,n,e=false)=>{const o=n.p=t.p;const l=t.l;const c=n.l;const i=n.v;const f=n.t;if(f===null){{if(i==="slot");else{W(t,n,s)}}if(l!==null&&c!==null){F(o,l,n,c,e)}else if(c!==null){if(t.t!==null){o.textContent=""}N(o,null,n,c,0,c.length-1)}else if(l!==null){T(l,0,l.length-1)}}else if(t.t!==f){o.data=f}};const D=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.l&&t.l.map(D)}};const I=(t,s,o=false)=>{const l=t.$hostElement$;const c=t.j||p(null,null);const i=h(s)?s:v(null,null,s);e=l.tagName;if(o&&i.o){for(const t of Object.keys(i.o)){if(l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){i.o[t]=l[t]}}}i.v=null;i.u|=4;t.j=i;i.p=c.p=l.shadowRoot||l;{n=l["s-sc"]}q(c,i,o)};const V=(t,n)=>{if(n&&!t.k&&n["s-p"]){n["s-p"].push(new Promise((n=>t.k=n)))}};const _=(t,n)=>{{t.u|=16}if(t.u&4){t.u|=512;return}V(t,t.C);const e=()=>z(t,n);return Ut(e)};const z=(t,n)=>{const e=l("scheduleUpdate",t.$.S);const s=t.O;let o;if(n){{t.u|=256;if(t.M){t.M.map((([t,n])=>Y(s,t,n)));t.M=undefined}}{o=Y(s,"componentWillLoad")}}{o=B(o,(()=>Y(s,"componentWillRender")))}e();return B(o,(()=>J(t,s,n)))};const B=(t,n)=>G(t)?t.then(n):n();const G=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const J=async(t,n,e)=>{var s;const o=t.$hostElement$;const c=l("update",t.$.S);const i=o["s-rc"];if(e){M(t)}const f=l("render",t.$.S);{K(t,n,o,e)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();c();{const n=(s=o["s-p"])!==null&&s!==void 0?s:[];const e=()=>Q(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.u|=4;n.length=0}}};const K=(t,n,e,s)=>{try{n=n.render();{t.u&=~16}{t.u|=2}{{{I(t,n,s)}}}}catch(n){bt(n,t.$hostElement$)}return null};const Q=t=>{const n=t.$.S;const e=t.$hostElement$;const s=l("postUpdate",n);const o=t.O;const c=t.C;if(!(t.u&64)){t.u|=64;{Z(e)}{Y(o,"componentDidLoad")}s();{t.P(e);if(!c){X()}}}else{s()}{t.L(e)}{if(t.k){t.k();t.k=undefined}if(t.u&512){Rt((()=>_(t,false)))}t.u&=~(4|512)}};const X=n=>{{Z(jt.documentElement)}Rt((()=>j(gt,"appload",{detail:{namespace:t}})))};const Y=(t,n,e)=>{if(t&&t[n]){try{return t[n](e)}catch(t){bt(t)}}return undefined};const Z=t=>t.classList.add("hydrated");const tt=(t,n)=>pt(t).R.get(n);const nt=(t,n,e,s)=>{const o=pt(t);const l=o.$hostElement$;const c=o.R.get(n);const i=o.u;const f=o.O;e=w(e,s.U[n][0]);const r=Number.isNaN(c)&&Number.isNaN(e);const u=e!==c&&!r;if((!(i&8)||c===undefined)&&u){o.R.set(n,e);if(f){if(s.W&&i&128){const t=s.W[n];if(t){t.map((t=>{try{f[t](e,c,n)}catch(t){bt(t,l)}}))}}if((i&(2|16))===2){_(o,false)}}}};const et=(t,n,e)=>{var s;const o=t.prototype;if(n.U){if(t.watchers){n.W=t.watchers}const l=Object.entries(n.U);l.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(o,t,{get(){return tt(this,t)},set(e){nt(this,t,e,n)},configurable:true,enumerable:true})}else if(e&1&&s&64){Object.defineProperty(o,t,{value(...n){var e;const s=pt(this);return(e=s===null||s===void 0?void 0:s.A)===null||e===void 0?void 0:e.then((()=>{var e;return(e=s.O)===null||e===void 0?void 0:e[t](...n)}))}})}}));if(e&1){const e=new Map;o.attributeChangedCallback=function(t,s,l){kt.jmp((()=>{var c;const i=e.get(t);if(this.hasOwnProperty(i)){l=this[i];delete this[i]}else if(o.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==l){return}else if(i==null){const e=pt(this);const o=e===null||e===void 0?void 0:e.u;if(o&&!(o&8)&&o&128&&l!==s){const o=e.O;const i=(c=n.W)===null||c===void 0?void 0:c[t];i===null||i===void 0?void 0:i.forEach((n=>{if(o[n]!=null){o[n].call(o,l,s,t)}}))}return}this[i]=l===null&&typeof this[i]==="boolean"?false:l}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=n.W)!==null&&s!==void 0?s:{}),...l.filter((([t,n])=>n[0]&15)).map((([t,n])=>{const s=n[1]||t;e.set(s,t);return s}))]))}}return t};const st=async(t,n,e,s)=>{let o;if((n.u&32)===0){n.u|=32;{o=wt(e);if(o.then){const t=c();o=await o;t()}if(!o.isProxied){{e.W=o.watchers}et(o,e,2);o.isProxied=true}const t=l("createInstance",e.S);{n.u|=8}try{new o(n)}catch(t){bt(t)}{n.u&=~8}{n.u|=128}t();ot(n.O)}if(o.style){let t=o.style;const n=P(e);if(!St.has(n)){const s=l("registerStyles",e.S);C(n,t,!!(e.u&1));s()}}}const i=n.C;const f=()=>_(n,true);if(i&&i["s-rc"]){i["s-rc"].push(f)}else{f()}};const ot=t=>{{Y(t,"connectedCallback")}};const lt=t=>{if((kt.u&1)===0){const n=pt(t);const e=n.$;const s=l("connectedCallback",e.S);if(!(n.u&1)){n.u|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){V(n,n.C=e);break}}}if(e.U){Object.entries(e.U).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{st(t,n,e)}}else{rt(t,n,e.N);if(n===null||n===void 0?void 0:n.O){ot(n.O)}else if(n===null||n===void 0?void 0:n.T){n.T.then((()=>ot(n.O)))}}s()}};const ct=t=>{{Y(t,"disconnectedCallback")}};const it=async t=>{if((kt.u&1)===0){const n=pt(t);{if(n.F){n.F.map((t=>t()));n.F=undefined}}if(n===null||n===void 0?void 0:n.O){ct(n.O)}else if(n===null||n===void 0?void 0:n.T){n.T.then((()=>ct(n.O)))}}};const ft=(t,n={})=>{var e;const s=l();const o=[];const c=n.exclude||[];const r=gt.customElements;const u=jt.head;const a=u.querySelector("meta[charset]");const v=jt.createElement("style");const p=[];let y;let h=true;Object.assign(kt,n);kt.H=new URL(n.resourcesUrl||"./",jt.baseURI).href;let m=false;t.map((t=>{t[1].map((n=>{var e;const s={u:n[0],S:n[1],U:n[2],N:n[3]};if(s.u&4){m=true}{s.U=n[2]}{s.N=n[3]}{s.W=(e=n[4])!==null&&e!==void 0?e:{}}const l=s.S;const i=class extends HTMLElement{constructor(t){super(t);t=this;ht(t,s);if(s.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(y){clearTimeout(y);y=null}if(h){p.push(this)}else{kt.jmp((()=>lt(this)))}}disconnectedCallback(){kt.jmp((()=>it(this)))}componentOnReady(){return pt(this).T}};s.q=t[0];if(!c.includes(l)&&!r.get(l)){o.push(l);r.define(l,et(i,s,1))}}))}));if(m){v.innerHTML+=f}{v.innerHTML+=o+i}if(v.innerHTML.length){v.setAttribute("data-styles","");const t=(e=kt.m)!==null&&e!==void 0?e:d(jt);if(t!=null){v.setAttribute("nonce",t)}u.insertBefore(v,a?a.nextSibling:u.firstChild)}h=false;if(p.length){p.map((t=>t.connectedCallback()))}else{{kt.jmp((()=>y=setTimeout(X,30)))}}s()};const rt=(t,n,e,s)=>{if(e){e.map((([e,s,o])=>{const l=t;const c=ut(n,o);const i=at(e);kt.ael(l,s,c,i);(n.F=n.F||[]).push((()=>kt.rel(l,s,c,i)))}))}};const ut=(t,n)=>e=>{try{{if(t.u&256){t.O[n](e)}else{(t.M=t.M||[]).push([n,e])}}}catch(t){bt(t)}};const at=t=>(t&2)!==0;const dt=t=>kt.m=t;const vt=new WeakMap;const pt=t=>vt.get(t);const yt=(t,n)=>vt.set(n.O=t,n);const ht=(t,n)=>{const e={u:0,$hostElement$:t,$:n,R:new Map};{e.A=new Promise((t=>e.L=t))}{e.T=new Promise((t=>e.P=t));t["s-p"]=[];t["s-rc"]=[]}rt(t,e,n.N);return vt.set(t,e)};const mt=(t,n)=>n in t;const bt=(t,n)=>(0,console.error)(t,n);const $t=new Map;const wt=(t,n,e)=>{const s=t.S.replace(/-/g,"_");const o=t.q;const l=$t.get(o);if(l){return l[s]}
2
2
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{$t.set(o,t)}return t[s]}),bt)};const St=new Map;const gt=typeof window!=="undefined"?window:{};const jt=gt.document||{head:{}};const kt={u:0,H:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const Ct=t=>Promise.resolve(t);const Ot=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Mt=[];const Pt=[];const xt=(t,n)=>e=>{t.push(e);if(!o){o=true;if(n&&kt.u&4){Rt(Lt)}else{kt.raf(Lt)}}};const Et=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){bt(t)}}t.length=0};const Lt=()=>{Et(Mt);{Et(Pt);if(o=Mt.length>0){kt.raf(Lt)}}};const Rt=t=>Ct().then(t);const Ut=xt(Pt,true);export{y as H,ft as b,g as c,S as g,v as h,Ct as p,yt as r,dt as s};
3
- //# sourceMappingURL=p-81591ad0.js.map
3
+ //# sourceMappingURL=p-b4f01350.js.map