@helvetia-design/core 0.0.6 → 0.1.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 (197) hide show
  1. package/README.md +10 -10
  2. package/components/ds-accordion.js +1 -1
  3. package/components/ds-app-footer.js +1 -1
  4. package/components/ds-app-navbar.js +1 -1
  5. package/components/ds-badge.js +1 -1
  6. package/components/ds-brand-icon.js +1 -1
  7. package/components/ds-button.js +1 -1
  8. package/components/ds-card-subtitle.js +1 -1
  9. package/components/ds-card-title.js +1 -1
  10. package/components/ds-carousel.js +1 -1
  11. package/components/ds-checkbox-group.js +1 -1
  12. package/components/ds-close.js +1 -1
  13. package/components/ds-content.js +1 -1
  14. package/components/ds-counter.js +1 -1
  15. package/components/ds-data-item.js +1 -1
  16. package/components/ds-datepicker.js +1 -1
  17. package/components/ds-divider.js +1 -1
  18. package/components/ds-drawer.js +1 -1
  19. package/components/ds-file-upload.js +1 -1
  20. package/components/ds-heading.js +1 -1
  21. package/components/ds-hint.js +1 -1
  22. package/components/ds-icon.js +1 -1
  23. package/components/ds-input.js +1 -1
  24. package/components/ds-item.js +1 -1
  25. package/components/ds-modal.js +1 -1
  26. package/components/ds-notification.js +1 -1
  27. package/components/ds-number-input.js +1 -1
  28. package/components/ds-pagination.js +1 -1
  29. package/components/ds-phone-input.js +1 -1
  30. package/components/ds-popup.js +1 -1
  31. package/components/ds-radio-group.js +1 -1
  32. package/components/ds-segment.js +1 -1
  33. package/components/ds-select.js +1 -1
  34. package/components/ds-slider.js +1 -1
  35. package/components/ds-snackbar.js +1 -1
  36. package/components/ds-stack.js +1 -1
  37. package/components/ds-step.js +1 -1
  38. package/components/ds-tabs.js +1 -1
  39. package/components/ds-tag.js +1 -1
  40. package/components/ds-textarea.js +1 -1
  41. package/components/ds-toast.js +1 -1
  42. package/components/ds-toggle.js +1 -1
  43. package/components/{p-BWrjPWjt.js → p-B0Z95Hj1.js} +1 -1
  44. package/components/p-B9El_sPq.js +1 -1
  45. package/components/p-BB4SRrRj.js +4 -0
  46. package/components/{p-B3VN_5Hp.js → p-BPtibja3.js} +1 -1
  47. package/components/{p-B1celIGd.js → p-C0OHfTQ0.js} +1 -1
  48. package/components/{p-BJ2D8QfA.js → p-CTSANrsO.js} +1 -1
  49. package/components/{p-DgLUmdPH.js → p-CjK_T5vp.js} +1 -1
  50. package/components/p-DBqTFl8O.js +4 -0
  51. package/components/p-DFgZk16R.js +6 -0
  52. package/components/{p-Ce1uMkAI.js → p-DO00xKgx.js} +1 -1
  53. package/components/{p-CJycEnj5.js → p-Dj9PaUM0.js} +1 -1
  54. package/components/{p-Bd5NhwlZ.js → p-DyfdPmyS.js} +1 -1
  55. package/components/p-V50XCJTN.js +4 -0
  56. package/components/{p-BJK2OSM1.js → p-hhVbp_AN.js} +1 -1
  57. package/components/{p-D6jvX9E6.js → p-qIRMq8Bl.js} +1 -1
  58. package/components/{p-CsftG7WI.js → p-xUHc9oRK.js} +1 -1
  59. package/dist/cjs/design-system.cjs.js +1 -1
  60. package/dist/cjs/ds-badge.cjs.entry.js +1 -1
  61. package/dist/cjs/ds-brand-icon_3.cjs.entry.js +17 -3
  62. package/dist/cjs/ds-card-subtitle.cjs.entry.js +3 -11
  63. package/dist/cjs/ds-card-title.cjs.entry.js +1 -1
  64. package/dist/cjs/ds-content_2.cjs.entry.js +9 -7
  65. package/dist/cjs/ds-counter.cjs.entry.js +4 -4
  66. package/dist/cjs/ds-datepicker.cjs.entry.js +1 -1
  67. package/dist/cjs/ds-divider_2.cjs.entry.js +3 -3
  68. package/dist/cjs/ds-file-upload.cjs.entry.js +1 -1
  69. package/dist/cjs/ds-heading.cjs.entry.js +5 -24
  70. package/dist/cjs/ds-icon_2.cjs.entry.js +2 -2
  71. package/dist/cjs/ds-input.cjs.entry.js +2 -2
  72. package/dist/cjs/ds-number-input.cjs.entry.js +1 -1
  73. package/dist/cjs/ds-phone-input.cjs.entry.js +1 -1
  74. package/dist/cjs/ds-select.cjs.entry.js +1 -1
  75. package/dist/cjs/ds-slider.cjs.entry.js +1 -1
  76. package/dist/cjs/ds-snackbar.cjs.entry.js +1 -1
  77. package/dist/cjs/ds-tag.cjs.entry.js +1 -1
  78. package/dist/cjs/ds-textarea.cjs.entry.js +1 -1
  79. package/dist/cjs/ds-toast.cjs.entry.js +1 -1
  80. package/dist/cjs/ds-toggle.cjs.entry.js +1 -1
  81. package/dist/cjs/{heading.interfaces-C-G-ZqUa.js → heading.interfaces-BGskP9PB.js} +0 -2
  82. package/dist/cjs/index-CyaxwkZQ.js +1 -1
  83. package/dist/cjs/loader.cjs.js +1 -1
  84. package/dist/cjs/{svg-Cs3pO28w.js → svg-CH7qWfV-.js} +272 -195
  85. package/dist/cjs/{t-shirt-DWHArrUC.js → t-shirt-DqirWTL2.js} +2 -6
  86. package/dist/collection/components/actions/button/button.js +36 -2
  87. package/dist/collection/components/actions/button/test/button.component.play.js +53 -0
  88. package/dist/collection/components/forms/counter/counter.host.css +1 -1
  89. package/dist/collection/components/forms/counter/counter.js +5 -3
  90. package/dist/collection/components/forms/datepicker/datepicker.host.css +1 -1
  91. package/dist/collection/components/forms/file-upload/file-upload.host.css +1 -1
  92. package/dist/collection/components/forms/input/input.host.css +1 -1
  93. package/dist/collection/components/forms/input/input.js +3 -1
  94. package/dist/collection/components/forms/number-input/number-input.host.css +1 -1
  95. package/dist/collection/components/forms/phone-input/phone-input.host.css +1 -1
  96. package/dist/collection/components/forms/select/select.host.css +1 -1
  97. package/dist/collection/components/forms/slider/slider.host.css +1 -1
  98. package/dist/collection/components/forms/textarea/textarea.host.css +1 -1
  99. package/dist/collection/components/forms/toggle/toggle.host.css +1 -1
  100. package/dist/collection/components/structure/card/card-subtitle/card-subtitle.js +5 -37
  101. package/dist/collection/components/structure/content/content.js +3 -3
  102. package/dist/collection/components/structure/divider/divider.js +3 -3
  103. package/dist/collection/components/structure/heading/heading.const.js +0 -8
  104. package/dist/collection/components/structure/heading/heading.host.css +1 -1
  105. package/dist/collection/components/structure/heading/heading.interfaces.js +0 -1
  106. package/dist/collection/components/structure/heading/heading.js +5 -42
  107. package/dist/collection/components/structure/heading/test/heading.a11y.play.js +3 -8
  108. package/dist/collection/components/structure/stack/stack.interfaces.js +2 -2
  109. package/dist/collection/components/structure/stack/stack.js +10 -8
  110. package/dist/collection/components/structure/stack/test/stack.component.play.js +27 -1
  111. package/dist/collection/foundation/normalize.component.play.js +39 -0
  112. package/dist/collection/global/constants/version.constant.js +1 -1
  113. package/dist/collection/utils/t-shirt.js +7 -6
  114. package/dist/design-system/design-system.esm.js +1 -1
  115. package/dist/design-system/{p-f67413bb28.entry.js → p-083f25371d.entry.js} +1 -1
  116. package/dist/design-system/{p-89418d345c.entry.js → p-1ca8c93650.entry.js} +1 -1
  117. package/dist/design-system/{p-6c9ebf73a3.entry.js → p-2b04230249.entry.js} +1 -1
  118. package/dist/design-system/p-3790705fde.entry.js +4 -0
  119. package/dist/design-system/{p-6b6fdc57c1.entry.js → p-4722d55123.entry.js} +1 -1
  120. package/dist/design-system/p-49ec36993d.entry.js +4 -0
  121. package/dist/design-system/{p-94a2067cb2.entry.js → p-68c0b49d0f.entry.js} +1 -1
  122. package/dist/design-system/{p-870e3c0138.entry.js → p-6d133bb1c4.entry.js} +1 -1
  123. package/dist/design-system/{p-65913aa877.entry.js → p-707ddadb07.entry.js} +1 -1
  124. package/dist/design-system/{p-a6709bd6a4.entry.js → p-812fca6694.entry.js} +1 -1
  125. package/dist/design-system/{p-1832a8b10c.entry.js → p-8d919b39a2.entry.js} +1 -1
  126. package/dist/design-system/p-9705c44121.entry.js +4 -0
  127. package/dist/design-system/{p-42bc0ecdea.entry.js → p-98a83e848d.entry.js} +1 -1
  128. package/dist/design-system/{p-B3VN_5Hp.js → p-BPtibja3.js} +1 -1
  129. package/dist/design-system/p-BZEWgXed.js +1 -1
  130. package/dist/design-system/p-CZXt-zTQ.js +4 -0
  131. package/dist/design-system/p-DFgZk16R.js +6 -0
  132. package/dist/design-system/{p-03f71b802d.entry.js → p-a2921f8048.entry.js} +1 -1
  133. package/dist/design-system/{p-68f1c98ef3.entry.js → p-a3755079c9.entry.js} +1 -1
  134. package/dist/design-system/{p-d5c0b5ddf3.entry.js → p-a99f6b63d3.entry.js} +1 -1
  135. package/dist/design-system/{p-76551271c7.entry.js → p-ac0d1f82c0.entry.js} +1 -1
  136. package/dist/design-system/{p-8c18e03816.entry.js → p-ba7800f8e6.entry.js} +1 -1
  137. package/dist/design-system/p-d2c33fa11f.entry.js +4 -0
  138. package/dist/design-system/{p-d12febf08e.entry.js → p-d85136052d.entry.js} +1 -1
  139. package/dist/design-system/{p-af756319ff.entry.js → p-f799b1412c.entry.js} +1 -1
  140. package/dist/esm/design-system.js +1 -1
  141. package/dist/esm/ds-badge.entry.js +1 -1
  142. package/dist/esm/ds-brand-icon_3.entry.js +17 -3
  143. package/dist/esm/ds-card-subtitle.entry.js +3 -11
  144. package/dist/esm/ds-card-title.entry.js +1 -1
  145. package/dist/esm/ds-content_2.entry.js +9 -7
  146. package/dist/esm/ds-counter.entry.js +4 -4
  147. package/dist/esm/ds-datepicker.entry.js +1 -1
  148. package/dist/esm/ds-divider_2.entry.js +3 -3
  149. package/dist/esm/ds-file-upload.entry.js +1 -1
  150. package/dist/esm/ds-heading.entry.js +5 -24
  151. package/dist/esm/ds-icon_2.entry.js +2 -2
  152. package/dist/esm/ds-input.entry.js +2 -2
  153. package/dist/esm/ds-number-input.entry.js +1 -1
  154. package/dist/esm/ds-phone-input.entry.js +1 -1
  155. package/dist/esm/ds-select.entry.js +1 -1
  156. package/dist/esm/ds-slider.entry.js +1 -1
  157. package/dist/esm/ds-snackbar.entry.js +1 -1
  158. package/dist/esm/ds-tag.entry.js +1 -1
  159. package/dist/esm/ds-textarea.entry.js +1 -1
  160. package/dist/esm/ds-toast.entry.js +1 -1
  161. package/dist/esm/ds-toggle.entry.js +1 -1
  162. package/dist/esm/{heading.interfaces-QyQjrb1P.js → heading.interfaces-CZXt-zTQ.js} +1 -2
  163. package/dist/esm/index-BZEWgXed.js +1 -1
  164. package/dist/esm/loader.js +1 -1
  165. package/dist/esm/{svg-BNUaCToz.js → svg-DFgZk16R.js} +272 -195
  166. package/dist/esm/{t-shirt-B3VN_5Hp.js → t-shirt-BPtibja3.js} +2 -6
  167. package/dist/types/components/actions/button/button.d.ts +4 -0
  168. package/dist/types/components/forms/counter/counter.d.ts +2 -0
  169. package/dist/types/components/forms/input/input.d.ts +2 -0
  170. package/dist/types/components/structure/card/card-subtitle/card-subtitle.d.ts +1 -6
  171. package/dist/types/components/structure/content/content.d.ts +1 -1
  172. package/dist/types/components/structure/divider/divider.d.ts +1 -1
  173. package/dist/types/components/structure/heading/heading.const.d.ts +0 -3
  174. package/dist/types/components/structure/heading/heading.d.ts +1 -6
  175. package/dist/types/components/structure/heading/heading.interfaces.d.ts +0 -2
  176. package/dist/types/components/structure/stack/stack.interfaces.d.ts +2 -2
  177. package/dist/types/components.d.ts +21 -28
  178. package/dist/types/foundation/normalize.component.play.d.ts +1 -0
  179. package/dist/types/utils/t-shirt.d.ts +5 -0
  180. package/docs/cem.json +50 -76
  181. package/docs/components.json +103 -134
  182. package/docs/html.html-data.json +25 -45
  183. package/hydrate/index.js +350 -283
  184. package/hydrate/index.mjs +350 -283
  185. package/package.json +6 -6
  186. package/sbom.cdx.json +9610 -9319
  187. package/components/p-B4PwKlaW.js +0 -4
  188. package/components/p-BNUaCToz.js +0 -6
  189. package/components/p-QyQjrb1P.js +0 -4
  190. package/components/p-VnJFXLI2.js +0 -4
  191. package/components/p-kwr2iIN4.js +0 -4
  192. package/dist/design-system/p-199e5794f9.entry.js +0 -4
  193. package/dist/design-system/p-97670520d2.entry.js +0 -4
  194. package/dist/design-system/p-BNUaCToz.js +0 -6
  195. package/dist/design-system/p-QyQjrb1P.js +0 -4
  196. package/dist/design-system/p-bee20202e4.entry.js +0 -4
  197. package/dist/design-system/p-d65c14d35e.entry.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- import{p as e,H as i,d as a,h,c as d,t as n}from"./p-DOP4fM2o.js";import{_ as g,L as t,a as l}from"./p-C8OqQuJ7.js";import{h as o}from"./p-CEPnyz7c.js";import{c as s,b as r,d as v,H as m}from"./p-QyQjrb1P.js";import{O as f}from"./p-DaqLtBr3.js";import{T as p}from"./p-DEnVBHne.js";const y={display:"h1","display-2":"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",span:"span",p:"p","5xl":"h1","4xl":"h1","3xl":"h1","2xl":"h1",xl:"h2",lg:"h3",md:"h4",base:"h5"},b=["5xl","4xl","3xl","2xl","xl","lg","md","base"],w={display:"5xl","display-2":"4xl",h1:"3xl",h2:"2xl",h3:"xl",h4:"lg",h5:"base",p:"base",span:"base","5xl":"5xl","4xl":"4xl","3xl":"3xl","2xl":"2xl",xl:"xl",lg:"lg",md:"md",base:"base"},_={primary:"primary",info:"info",success:"success",warning:"warning",danger:"danger",white:"white"},c=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.level="h1",this.noWrap=!1,this.subtitle=!1,this.inverted=!1,this.shadow=!1}createLogger(e){this.log=e}levelChanged(){this.updateAutoFontSize()}visualLevelChanged(){this.updateAutoFontSize()}autoLevelChanged(){this.updateAutoFontSize()}componentWillLoad(){this.updateAutoFontSize()}componentDidRender(){const e=this.autoLevel;if(e&&this.autoFontSize&&this.rows>1&&w[e]!==this.autoFontSize){const e=b.indexOf(this.autoFontSize)+1;this.autoFontSize=b[e]}}updateAutoFontSize(){this.autoFontSize=this.fontSize}get rows(){if(this.headingEl&&a.hasWindow){const e=window.getComputedStyle(this.headingEl),i=parseInt(e.lineHeight.slice(0,-2),10);return this.headingEl.offsetHeight/i}return 1}get fontColor(){if(this.inverted)return"inverted";const e=this.color;return e?_[e]:void 0}get fontSize(){return w[this.visualLevel?this.visualLevel:this.level]}get tag(){return y[this.level]}render(){const e=this.tag;return h(d,{key:"eb6a9d39d3060e7776363272e86413b0c95a807a",class:{[`is-${this.autoFontSize}`]:void 0!==this.autoFontSize,[`is-${this.fontColor}`]:o(this.fontColor),"is-subtitle":this.subtitle,[`has-space-${this.space}`]:o(this.space),"has-no-wrap":this.noWrap,"has-shadow":this.shadow}},h(e,{key:"961c539735e2a0719ae8e2369ebf568718226385",id:"heading",part:"heading",ref:e=>this.headingEl=e},h("slot",{key:"911e161ed5bb682cfcffc8ee7f6242c1984dfe23"})))}get el(){return this}static get watchers(){return{level:[{levelChanged:0}],visualLevel:[{visualLevelChanged:0}],autoLevel:[{autoLevelChanged:0}]}}static get style(){return":host{--_heading-position:var(--heading-position, var(--mod-heading-position, static));--_heading-top:var(--heading-top, var(--mod-heading-top));--_heading-right:var(--heading-right, var(--mod-heading-right));--_heading-bottom:var(--heading-bottom, var(--mod-heading-bottom));--_heading-left:var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m:var(--heading-m, var(--mod-heading-m, 0));--_heading-my:var(--heading-my, var(--mod-heading-my));--_heading-mx:var(--heading-mx, var(--mod-heading-mx));--_heading-ml:var(--heading-ml, var(--mod-heading-ml));--_heading-mr:var(--heading-mr, var(--mod-heading-mr));--_heading-mt:var(--heading-mt, var(--mod-heading-mt));--_heading-mb:var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-level-1-font-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-level-1-font-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-level-1-line-height)));--_heading-size:var(--heading-size, var(--mod-heading-size, var(--ds-heading-level-1-font-size)));--_heading-color:var(--heading-color, var(--mod-heading-color, var(--ds-heading-color-primary)));--_heading-margin:var(--heading-margin, var(--mod-heading-margin, var(--ds-device-space-xs)));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}:host{--_heading-position:var(--heading-position, var(--mod-heading-position, static));--_heading-top:var(--heading-top, var(--mod-heading-top));--_heading-right:var(--heading-right, var(--mod-heading-right));--_heading-bottom:var(--heading-bottom, var(--mod-heading-bottom));--_heading-left:var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m:var(--heading-m, var(--mod-heading-m, 0));--_heading-my:var(--heading-my, var(--mod-heading-my));--_heading-mx:var(--heading-mx, var(--mod-heading-mx));--_heading-ml:var(--heading-ml, var(--mod-heading-ml));--_heading-mr:var(--heading-mr, var(--mod-heading-mr));--_heading-mt:var(--heading-mt, var(--mod-heading-mt));--_heading-mb:var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-level-light1-font-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-level-light1-font-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-level-light1-line-height)));--_heading-size:var(--heading-size, var(--mod-heading-size, var(--ds-heading-level-light1-font-size)));--_heading-color:var(--heading-color, var(--mod-heading-color, var(--ds-heading-color-primary)));--_heading-margin:var(--heading-margin, var(--mod-heading-margin, var(--ds-device-space-xs)));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}#heading{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;color:var(--_heading-color);font-family:var(--_heading-family);font-weight:var(--_heading-weight);font-size:var(--_heading-size);line-height:var(--_heading-line-height);text-align:var(--_heading-text-align);text-shadow:var(--_heading-shadow)}#heading em:not(.ds-text),#heading span:not(.ds-text){font-weight:inherit}#heading b,#heading strong,#heading .is-bold{font-weight:var(--ds-alias-text-weight-bold)}:host(.has-no-wrap) #heading{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.has-shadow){--mod-heading-shadow:var(--ds-heading-shadow)}:host(.is-primary){--mod-heading-color:var(--ds-heading-color-primary)}:host(.is-inverted){--mod-heading-color:var(--ds-heading-color-inverted)}:host(.is-5xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-display1-font-family);--mod-heading-weight:var(--ds-heading-level-display1-font-weight);--mod-heading-line-height:var(--ds-heading-level-display1-line-height);--mod-heading-size:var(--ds-heading-level-display1-font-size)}:host(.is-5xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light-display1-font-family);--mod-heading-weight:var(--ds-heading-level-light-display1-font-weight);--mod-heading-line-height:var(--ds-heading-level-light-display1-line-height);--mod-heading-size:var(--ds-heading-level-light-display1-font-size)}:host(.is-4xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-display2-font-family);--mod-heading-weight:var(--ds-heading-level-display2-font-weight);--mod-heading-line-height:var(--ds-heading-level-display2-line-height);--mod-heading-size:var(--ds-heading-level-display2-font-size)}:host(.is-4xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light-display2-font-family);--mod-heading-weight:var(--ds-heading-level-light-display2-font-weight);--mod-heading-line-height:var(--ds-heading-level-light-display2-line-height);--mod-heading-size:var(--ds-heading-level-light-display2-font-size)}:host(.is-3xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-1-font-family);--mod-heading-weight:var(--ds-heading-level-1-font-weight);--mod-heading-line-height:var(--ds-heading-level-1-line-height);--mod-heading-size:var(--ds-heading-level-1-font-size)}:host(.is-3xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light1-font-family);--mod-heading-weight:var(--ds-heading-level-light1-font-weight);--mod-heading-line-height:var(--ds-heading-level-light1-line-height);--mod-heading-size:var(--ds-heading-level-light1-font-size)}:host(.is-2xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-2-font-family);--mod-heading-weight:var(--ds-heading-level-2-font-weight);--mod-heading-line-height:var(--ds-heading-level-2-line-height);--mod-heading-size:var(--ds-heading-level-2-font-size)}:host(.is-2xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light2-font-family);--mod-heading-weight:var(--ds-heading-level-light2-font-weight);--mod-heading-line-height:var(--ds-heading-level-light2-line-height);--mod-heading-size:var(--ds-heading-level-light2-font-size)}:host(.is-xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-3-font-family);--mod-heading-weight:var(--ds-heading-level-3-font-weight);--mod-heading-line-height:var(--ds-heading-level-3-line-height);--mod-heading-size:var(--ds-heading-level-3-font-size)}:host(.is-xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light3-font-family);--mod-heading-weight:var(--ds-heading-level-light3-font-weight);--mod-heading-line-height:var(--ds-heading-level-light3-line-height);--mod-heading-size:var(--ds-heading-level-light3-font-size)}:host(.is-lg:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-4-font-family);--mod-heading-weight:var(--ds-heading-level-4-font-weight);--mod-heading-line-height:var(--ds-heading-level-4-line-height);--mod-heading-size:var(--ds-heading-level-4-font-size)}:host(.is-lg.is-subtitle){--mod-heading-family:var(--ds-heading-level-light4-font-family);--mod-heading-weight:var(--ds-heading-level-light4-font-weight);--mod-heading-line-height:var(--ds-heading-level-light4-line-height);--mod-heading-size:var(--ds-heading-level-light4-font-size)}:host(.is-base:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-5-font-family);--mod-heading-weight:var(--ds-heading-level-5-font-weight);--mod-heading-line-height:var(--ds-heading-level-5-line-height);--mod-heading-size:var(--ds-heading-level-5-font-size)}:host(.is-base.is-subtitle){--mod-heading-family:var(--ds-heading-level-light5-font-family);--mod-heading-weight:var(--ds-heading-level-light5-font-weight);--mod-heading-line-height:var(--ds-heading-level-light5-line-height);--mod-heading-size:var(--ds-heading-level-light5-font-size)}:host(.has-space-all){--heading-mt:var(--_heading-margin);--heading-mb:var(--_heading-margin)}:host(.has-space-top){--heading-mt:var(--_heading-margin);--heading-mb:0}:host(.has-space-bottom){--heading-mt:0;--heading-mb:var(--_heading-margin)}:host(.has-space-none){--heading-mt:0;--heading-mb:0}:host{display:block}"}},[257,"ds-heading",{level:[513],visualLevel:[513,"visual-level"],autoLevel:[513,"auto-level"],noWrap:[516,"no-wrap"],subtitle:[516],space:[513],color:[513],inverted:[516],shadow:[516],autoFontSize:[32]},void 0,{level:[{levelChanged:0}],visualLevel:[{visualLevelChanged:0}],autoLevel:[{autoLevelChanged:0}]}]);function x(){"undefined"!=typeof customElements&&["ds-heading"].forEach((e=>{"ds-heading"===e&&(customElements.get(n(e))||customElements.define(n(e),c))}))}g([t("heading"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],c.prototype,"createLogger",null),g([f(s),l("design:type",String)],c.prototype,"level",void 0),g([f(r),l("design:type",String)],c.prototype,"visualLevel",void 0),g([f(r),l("design:type",String)],c.prototype,"autoLevel",void 0),g([p("boolean"),l("design:type",Boolean)],c.prototype,"noWrap",void 0),g([p("boolean"),l("design:type",Boolean)],c.prototype,"subtitle",void 0),g([f(v),l("design:type",String)],c.prototype,"space",void 0),g([f(m),l("design:type",String)],c.prototype,"color",void 0),g([p("boolean"),l("design:type",Boolean)],c.prototype,"inverted",void 0),g([p("boolean"),l("design:type",Boolean)],c.prototype,"shadow",void 0);export{c as H,x as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- /*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
5
- function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}const e=Object.entries,n=Object.setPrototypeOf,r=Object.isFrozen,o=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor;let a=Object.freeze,l=Object.seal,c=Object.create,s="undefined"!=typeof Reflect&&Reflect,u=s.apply,f=s.construct;a||(a=function(t){return t}),l||(l=function(t){return t}),u||(u=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(e,r)}),f||(f=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const p=j(Array.prototype.forEach),m=j(Array.prototype.lastIndexOf),d=j(Array.prototype.pop),h=j(Array.prototype.push),y=j(Array.prototype.splice),g=Array.isArray,b=j(String.prototype.toLowerCase),w=j(String.prototype.toString),v=j(String.prototype.match),x=j(String.prototype.replace),S=j(String.prototype.indexOf),k=j(String.prototype.trim),T=j(Number.prototype.toString),A=j(Boolean.prototype.toString),E="undefined"==typeof BigInt?null:j(BigInt.prototype.toString),O="undefined"==typeof Symbol?null:j(Symbol.prototype.toString),z=j(Object.prototype.hasOwnProperty),D=j(Object.prototype.toString),R=j(RegExp.prototype.test),_=(L=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return f(L,e)});var L;function j(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return u(t,e,r)}}function M(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;if(n&&n(t,null),!g(e))return t;let i=e.length;for(;i--;){let n=e[i];if("string"==typeof n){const t=o(n);t!==n&&(r(e)||(e[i]=t),n=t)}t[n]=!0}return t}function N(t){for(let e=0;e<t.length;e++)z(t,e)||(t[e]=null);return t}function I(n){const r=c(null);for(const l of e(n)){var o=(a=2,function(t){if(Array.isArray(t))return t}(i=l)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e);else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(i,a)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
6
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */());const e=o[0],c=o[1];z(n,e)&&(r[e]=g(c)?N(c):c&&"object"==typeof c&&c.constructor===Object?I(c):c)}var i,a;return r}function C(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}t=o(t)}return function(){return null}}const F=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),G=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Y=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=a(["#text"]),q=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),H=a(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=a(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=l(/{{[\w\W]*|^[\w\W]*}}/g),X=l(/<%[\w\W]*|^[\w\W]*%>/g),J=l(/\${[\w\W]*/g),Q=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),Z=l(/^aria-[\-\w]+$/),tt=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),et=l(/^(?:\w+script|data):/i),nt=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rt=l(/^html$/i),ot=l(/^[a-z][.\w]*(-[.\w]+)+$/i),it=l(/<[/\w!]/g),at=l(/<[/\w]/g),lt=l(/<\/no(script|embed|frames)/i),ct=l(/\/>/i),st=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ut=a(M({},st)),ft=function(){const t={};return p(st,(e=>{t[e]=l(new RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))})),a(t)}(),pt=function(){return"undefined"==typeof window?null:window},mt=function(t,e,n,r){return z(t,e)&&g(t[e])?M(r.base?I(r.base):{},t[e],r.transform):n},dt=function(t,e,n){const r=z(t,e)?t[e]:void 0;return r&&"object"==typeof r?I(r):n()};var ht=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt();const r=e=>t(e);if(r.version="3.4.16",r.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return r.isSupported=!1,r;let o=n.document;const i=o,s=i.currentScript,u=n.HTMLTemplateElement,f=n.Node,L=n.NodeFilter,j=n.DOMParser,N=n.trustedTypes,st=n.Element.prototype,ht=C(st,"cloneNode"),yt=C(st,"remove"),gt=C(st,"removeAttributeNode"),bt=C(st,"nextSibling"),wt=C(st,"childNodes"),vt=C(st,"parentNode"),xt=C(st,"shadowRoot"),St=C(st,"attributes"),kt=f&&f.prototype?C(f.prototype,"nodeType"):null,Tt=f&&f.prototype?C(f.prototype,"nodeName"):null,At=f&&f.prototype?C(f.prototype,"ownerDocument"):null,Et=function(t){return kt?kt(t):t.nodeType},Ot=function(t){return Tt?Tt(t):t.nodeName};if("function"==typeof u){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let zt,Dt,Rt="",_t=!1,Lt=0;const jt=function(){if(Lt>0)throw _('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Mt=function(t){jt(),Lt++;try{return zt.createHTML(t)}finally{Lt--}},Nt=o.implementation,It=o.createNodeIterator,Ct=o.createDocumentFragment,Ft=o.getElementsByTagName,Bt=i.importNode;let Pt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof e&&"function"==typeof vt&&Nt&&void 0!==Nt.createHTMLDocument;const Ut=K,Gt=X,Yt=J,$t=Q,qt=Z,Ht=et,Wt=nt,Vt=ot;let Kt=tt,Xt=null;const Jt=M({},[...F,...B,...P,...G,...$]);let Qt=null;const Zt=M({},[...q,...H,...W,...V]);let te=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ee=null,ne=null;const re=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let oe=!0,ie=!0,ae=!1,le=!0,ce=!1,se=!0,ue=!1,fe=!1,pe=null,me=null,de=!1,he=!1,ye=!1,ge=!1,be=!0,we=!1;const ve="user-content-";let xe=!0,Se=!1,ke={},Te=null;const Ae=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ee=null;const Oe=M({},["audio","video","img","source","image","track"]);let ze=null;const De=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Re="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",Le="http://www.w3.org/1999/xhtml";let je=Le,Me=!1,Ne=null;const Ie=M({},[Re,_e,Le],w),Ce=a(["mi","mo","mn","ms","mtext"]);let Fe=M({},Ce);const Be=a(["annotation-xml"]);let Pe=M({},Be);const Ue=M({},["title","style","font","a","script"]);let Ge=null;const Ye=["application/xhtml+xml","text/html"];let $e=null,qe=null;const He=o.createElement("form"),We=function(t){return t instanceof RegExp||t instanceof Function},Ve=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(qe&&qe===t)return;t&&"object"==typeof t||(t={}),t=I(t),Ge=-1===Ye.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,$e="application/xhtml+xml"===Ge?w:b,Xt=mt(t,"ALLOWED_TAGS",Jt,{transform:$e}),Qt=mt(t,"ALLOWED_ATTR",Zt,{transform:$e}),Ne=mt(t,"ALLOWED_NAMESPACES",Ie,{transform:w}),ze=mt(t,"ADD_URI_SAFE_ATTR",De,{transform:$e,base:De}),Ee=mt(t,"ADD_DATA_URI_TAGS",Oe,{transform:$e,base:Oe}),Te=mt(t,"FORBID_CONTENTS",Ae,{transform:$e}),ee=mt(t,"FORBID_TAGS",I({}),{transform:$e}),ne=mt(t,"FORBID_ATTR",I({}),{transform:$e}),ke=!!z(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?I(t.USE_PROFILES):t.USE_PROFILES),oe=!1!==t.ALLOW_ARIA_ATTR,ie=!1!==t.ALLOW_DATA_ATTR,ae=t.ALLOW_UNKNOWN_PROTOCOLS||!1,le=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ce=t.SAFE_FOR_TEMPLATES||!1,se=!1!==t.SAFE_FOR_XML,ue=t.WHOLE_DOCUMENT||!1,he=t.RETURN_DOM||!1,ye=t.RETURN_DOM_FRAGMENT||!1,ge=t.RETURN_TRUSTED_TYPE||!1,de=t.FORCE_BODY||!1,be=!1!==t.SANITIZE_DOM,we=t.SANITIZE_NAMED_PROPS||!1,xe=!1!==t.KEEP_CONTENT,Se=t.IN_PLACE||!1,Kt=function(t){try{return R(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:tt,je="string"==typeof t.NAMESPACE?t.NAMESPACE:Le,Fe=dt(t,"MATHML_TEXT_INTEGRATION_POINTS",(()=>M({},Ce))),Pe=dt(t,"HTML_INTEGRATION_POINTS",(()=>M({},Be)));const e=dt(t,"CUSTOM_ELEMENT_HANDLING",(()=>c(null)));if(te=c(null),z(e,"tagNameCheck")&&We(e.tagNameCheck)&&(te.tagNameCheck=e.tagNameCheck),z(e,"attributeNameCheck")&&We(e.attributeNameCheck)&&(te.attributeNameCheck=e.attributeNameCheck),z(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(te.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),l(te),ce&&(ie=!1),ye&&(he=!0),ke&&(Xt=M({},$),Qt=c(null),!0===ke.html&&(M(Xt,F),M(Qt,q)),!0===ke.svg&&(M(Xt,B),M(Qt,H),M(Qt,V)),!0===ke.svgFilters&&(M(Xt,P),M(Qt,H),M(Qt,V)),!0===ke.mathMl&&(M(Xt,G),M(Qt,W),M(Qt,V))),re.tagCheck=null,re.attributeCheck=null,z(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?re.tagCheck=t.ADD_TAGS:g(t.ADD_TAGS)&&(Xt===Jt&&(Xt=I(Xt)),M(Xt,t.ADD_TAGS,$e))),z(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?re.attributeCheck=t.ADD_ATTR:g(t.ADD_ATTR)&&(Qt===Zt&&(Qt=I(Qt)),M(Qt,t.ADD_ATTR,$e))),z(t,"ADD_FORBID_CONTENTS")&&g(t.ADD_FORBID_CONTENTS)&&(Te===Ae&&(Te=I(Te)),M(Te,t.ADD_FORBID_CONTENTS,$e)),xe&&(Xt["#text"]=!0),ue&&M(Xt,["html","head","body"]),Xt.table&&(M(Xt,["tbody"]),delete ee.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=zt;zt=t.TRUSTED_TYPES_POLICY;try{Rt=Mt("")}catch(t){throw zt=e,t}}else null===t.TRUSTED_TYPES_POLICY?(zt=void 0,Rt=""):(void 0===zt&&(_t||(Dt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(N,s),_t=!0),zt=Dt),zt&&"string"==typeof Rt&&(Rt=Mt("")));a&&a(t),qe=t},Ke=M({},[...B,...P,...U]),Xe=M({},[...G,...Y]),Je=function(t){h(r.removed,{element:t});try{vt(t).removeChild(t)}catch(e){if(yt(t),!vt(t))throw _("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Qe=function(t,e,n){try{gt(t,e)}catch(e){try{t.removeAttribute(n)}catch(t){}}},Ze=function(t){nn(t);const e=wt(t);if(e){const t=[];p(e,(e=>{h(t,e)})),p(t,(t=>{try{yt(t)}catch(t){}}))}const n=St(t);if(n)for(let e=n.length-1;e>=0;--e){const r=n[e],o=r&&r.name;"string"==typeof o&&Qe(t,r,o)}},tn=function(t,e,n){if(!n)try{n=e.getAttributeNode(t)}catch(t){n=null}h(r.removed,{attribute:n||null,from:e});try{n?gt(e,n):e.removeAttribute(t)}catch(n){try{e.removeAttribute(t)}catch(t){}}if("is"===t)if(he||ye)try{Je(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},en=function(t){const e=St(t);if(e)for(let n=e.length-1;n>=0;--n){const r=e[n],o=r&&r.name;"string"!=typeof o||Qt[$e(o)]||Qe(t,r,o)}},nn=function(t){const e=[t];for(;e.length>0;){const t=e.pop();1===Et(t)&&en(t);const n=wt(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},rn=function(t,e){return!!se&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},on=function(t){let e=null,n=null;if(de)t="<remove></remove>"+t;else{const e=v(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Ge&&je===Le&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=zt?Mt(t):t;if(je===Le)try{e=(new j).parseFromString(r,Ge)}catch(t){}if(!e||!e.documentElement){e=Nt.createDocument(je,"template",null);try{e.documentElement.innerHTML=Me?Rt:r}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),je===Le?Ft.call(e,ue?"html":"body")[0]:ue?e.documentElement:i},an=function(t){const e=At?At(t):t.ownerDocument;return It.call(e||t,t,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},ln=function(t){return t=x(t,Ut," "),t=x(t,Gt," "),x(t,Yt," ")},cn=function(t){var e;t.normalize();const n=At?At(t):t.ownerDocument,r=It.call(n||t,t,L.SHOW_TEXT|L.SHOW_COMMENT|L.SHOW_CDATA_SECTION|L.SHOW_PROCESSING_INSTRUCTION,null);let o=r.nextNode();for(;o;)o.data=ln(o.data),o=r.nextNode();const i=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");i&&p(i,(t=>{un(t.content)&&cn(t.content)}))},sn=function(t){const e=Tt?Tt(t):null;return"string"==typeof e&&"form"===$e(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==St(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==kt(t)||t.childNodes!==wt(t))},un=function(t){if(!kt||"object"!=typeof t||null===t)return!1;try{return 11===kt(t)}catch(t){return!1}},fn=function(t){if(!kt||"object"!=typeof t||null===t)return!1;try{return"number"==typeof kt(t)}catch(t){return!1}};function pn(t,e,n){0!==t.length&&p(t,(t=>{t.call(r,e,n,qe)}))}const mn=function(t,e){if(t instanceof RegExp)return R(t,e);if(t instanceof Function){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Boolean(t(e,...r))}return!1},dn=function(t,e,n,r){return 0===t.length?e:e===n||e===r?I(e):e},hn=function(t,e){return t!==e&&null===vt(t)&&(Se&&nn(t),!0)},yn=function(t,e){if(pn(Pt.beforeSanitizeElements,t,null),hn(t,e))return!0;if(sn(t))return Je(t),!0;const n=$e(Ot(t));if(Xt=dn(Pt.uponSanitizeElement,Xt,Jt,pe),pn(Pt.uponSanitizeElement,t,{tagName:n,allowedTags:Xt}),hn(t,e))return!0;if(function(t,e){return!!(se&&t.hasChildNodes()&&!fn(t.firstElementChild)&&R(it,t.textContent)&&R(it,t.innerHTML))||!!(se&&t.namespaceURI===Le&&ut[e]&&(fn(t.firstElementChild)||"string"==typeof t.textContent&&R(ft[e],t.textContent)))||7===t.nodeType||!(!se||8!==t.nodeType||!R(at,t.data))}(t,n))return Je(t),!0;if(ee[n]||!(re.tagCheck instanceof Function&&re.tagCheck(n))&&!Xt[n]){const r=function(t,e,n){if(!ee[e]&&wn(e)&&mn(te.tagNameCheck,e))return!1;if(xe&&!Te[e]){const e=vt(t),r=wt(t);if(r&&e)for(let o=r.length-1;o>=0;--o){const i=t===n?ht(r[o],!0):r[o];e.insertBefore(i,bt(t))}}return Je(t),!0}(t,n,e);return!(!1!==r||(pn(Pt.afterSanitizeElements,t,null),!hn(t,e)))||r}if(1===Et(t)&&!function(t){let e=vt(t);e&&e.tagName||(e={namespaceURI:je,tagName:"template"});const n=b(t.tagName),r=b(e.tagName);return!!Ne[t.namespaceURI]&&(t.namespaceURI===_e?function(t,e,n){return e.namespaceURI===Le?"svg"===t:e.namespaceURI===Re?"svg"===t&&("annotation-xml"===n||Fe[n]):Boolean(Ke[t])}(n,e,r):t.namespaceURI===Re?function(t,e,n){return e.namespaceURI===Le?"math"===t:e.namespaceURI===_e?"math"===t&&Pe[n]:Boolean(Xe[t])}(n,e,r):t.namespaceURI===Le?function(t,e,n){return!(e.namespaceURI===_e&&!Pe[n])&&!(e.namespaceURI===Re&&!Fe[n])&&!Xe[t]&&(Ue[t]||!Ke[t])}(n,e,r):!("application/xhtml+xml"!==Ge||!Ne[t.namespaceURI]))}(t))return Je(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&R(lt,t.innerHTML))return Je(t),!0;if(ce&&3===t.nodeType){const e=ln(t.textContent);t.textContent!==e&&(h(r.removed,{element:t.cloneNode()}),t.textContent=e)}return pn(Pt.afterSanitizeElements,t,null),hn(t,e)},gn=function(t,e,n){if(ne[e])return!1;if(rn(e,t))return!1;if(be&&("id"===e||"name"===e)&&(n in o||n in He))return!1;const r=Qt[e]||re.attributeCheck instanceof Function&&re.attributeCheck(e,t);return!(!ie||!R($t,e))||!(!oe||!R(qt,e))||(r?!(!ze[e]&&!R(Kt,x(n,Wt,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==S(n,"data:")||!Ee[t])&&(!ae||R(Ht,x(n,Wt,"")))&&n):wn(t)&&mn(te.tagNameCheck,t)&&mn(te.attributeNameCheck,e,t)||"is"===e&&te.allowCustomizedBuiltInElements&&mn(te.tagNameCheck,n))},bn=M({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),wn=function(t){return!bn[b(t)]&&R(Vt,t)},vn=function(t,e,n,r){if(zt&&"object"==typeof N&&"function"==typeof N.getAttributeType&&!n)switch(N.getAttributeType(t,e)){case"TrustedHTML":return Mt(r);case"TrustedScriptURL":return function(t){jt(),Lt++;try{return zt.createScriptURL(t)}finally{Lt--}}(r)}return r},xn=function(t,e,n,r){try{return n?t.setAttributeNS(n,e,r):t.setAttribute(e,r),!sn(t)||(Je(t),!1)}catch(n){return tn(e,t),!1}},Sn=function(t,e){if(pn(Pt.beforeSanitizeAttributes,t,null),hn(t,e))return;const n=t.attributes;if(!n||sn(t))return;Qt=dn(Pt.uponSanitizeAttribute,Qt,Zt,me);const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Qt,forceKeepAttr:void 0};let i=n.length;const a=$e(t.nodeName);for(;i--;){const e=n[i],l=e.name,c=e.namespaceURI,s=e.value,u=$e(l),f=s;let p="value"===l?f:k(f),m=!1;o.attrName=u,o.attrValue=p,o.keepAttr=!0,o.forceKeepAttr=void 0,pn(Pt.uponSanitizeAttribute,t,o),p=o.attrValue,!we||"id"!==u&&"name"!==u||0===S(p,ve)||(tn(l,t,e),p=ve+p,m=!0),se&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)||"attributename"===u&&v(p,"href")?tn(l,t,e):o.forceKeepAttr||(!o.keepAttr||!le&&R(ct,p)?tn(l,t,e):(ce&&(p=ln(p)),gn(a,u,p)?(p=vn(a,u,c,p),p!==f&&xn(t,l,c,p)&&m&&d(r.removed)):tn(l,t,e)))}pn(Pt.afterSanitizeAttributes,t,null),hn(t,e)},kn=function(t){let e=null;const n=an(t);for(pn(Pt.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(pn(Pt.uponSanitizeShadowNode,e,null),yn(e,t),Sn(e,t),un(e.content)&&kn(e.content),1===Et(e)){const t=xt(e);un(t)&&(Tn(t),kn(t))}pn(Pt.afterSanitizeShadowDOM,t,null)},Tn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){kn(t.shadow);continue}const n=t.node,r=1===Et(n),o=wt(n);if(o)for(let t=o.length-1;t>=0;--t)e.push({node:o[t],shadow:null});if(r){const t=Tt?Tt(n):null;if("string"==typeof t&&"template"===$e(t)){const t=n.content;un(t)&&e.push({node:t,shadow:null})}}if(r){const t=xt(n);un(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,a=null,l=null;if(Me=!t,Me&&(t="\x3c!--\x3e"),"string"!=typeof t&&!fn(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return T(t);case"boolean":return A(t);case"bigint":return E?E(t):"0";case"symbol":return O?O(t):"Symbol()";case"undefined":default:return D(t);case"function":case"object":{if(null===t)return D(t);const e=t,n=C(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:D(t)}return D(t)}}}(t)))throw _("dirty is not a string, aborting");if(!r.isSupported)return t;fe?(Xt=pe,Qt=me):Ve(e),(Pt.uponSanitizeElement.length>0||Pt.uponSanitizeAttribute.length>0)&&(Xt=I(Xt)),Pt.uponSanitizeAttribute.length>0&&(Qt=I(Qt)),r.removed=[];const c=Se&&"string"!=typeof t&&fn(t);if(c){!function(t){if(!se)return;const e=[t];for(;e.length>0;){const t=e.pop(),n=Et(t);if(7===n||8===n&&R(at,t.data)){try{yt(t)}catch(t){}continue}if(1===n){const e=t,n=$e(Ot(t));try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&rn("for",n)&&e.removeAttribute("for")}catch(t){}}const r=wt(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}}(t);const e=Ot(t);if("string"==typeof e){const n=$e(e);if(!Xt[n]||ee[n])throw Ze(t),_("root node is forbidden and cannot be sanitized in-place")}if(sn(t))throw Ze(t),_("root node is clobbered and cannot be sanitized in-place");try{Tn(t)}catch(e){throw Ze(t),e}}else if(fn(t))n=on("\x3c!----\x3e"),o=n.ownerDocument.importNode(t,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o),Tn(n);else{if(!he&&!ce&&!ue&&-1===t.indexOf("<"))return zt&&ge?Mt(t):t;if(n=on(t),!n)return he?null:ge?Rt:""}n&&de&&Je(n.firstChild);const s=c?t:n;try{const t=an(s);for(;a=t.nextNode();)yn(a,s),Sn(a,s),un(a.content)&&kn(a.content)}catch(e){throw c&&(Ze(t),p(r.removed,(t=>{t.element&&nn(t.element)}))),e}if(c){let e=!1;if(p(r.removed,(n=>{n.element&&(n.element===t&&(e=!0),nn(n.element))})),e)throw _("a node selected for removal could not be safely returned; refusing to sanitize in place");return ce&&cn(t),t}if(he){if(ce&&cn(n),ye)for(l=Ct.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Qt.shadowroot||Qt.shadowrootmode)&&(l=Bt.call(i,l,!0)),l}let u=ue?n.outerHTML:n.innerHTML;return ue&&Xt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(rt,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ce&&(u=ln(u)),zt&&ge?Mt(u):u},r.setConfig=function(){Ve(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),fe=!0,pe=Xt,me=Qt},r.clearConfig=function(){qe=null,fe=!1,pe=null,me=null,zt=Dt,Rt=""},r.isValidAttribute=function(t,e,n){qe||Ve({});const r=$e(t),o=$e(e);return gn(r,o,n)},r.addHook=function(t,e){"function"==typeof e&&z(Pt,t)&&h(Pt[t],e)},r.removeHook=function(t,e){if(z(Pt,t)){if(void 0!==e){const n=m(Pt[t],e);return-1===n?void 0:y(Pt[t],n,1)[0]}return d(Pt[t])}},r.removeHooks=function(t){z(Pt,t)&&(Pt[t]=[])},r.removeAllHooks=function(){Pt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const yt=t=>ht.sanitize(t,{USE_PROFILES:{svg:!0},FORBID_ATTR:["height","width"]}),gt=new Map,bt=t=>{if(!gt.has(t)){const e=new URL(t,document.baseURI).href;gt.set(t,fetch(e).then((e=>{if(!e.ok)throw new Error(`ds-icon: failed to fetch SVG "${t}" (${e.status})`);return e.text()})).then((t=>yt(t))).catch((e=>(console.error(e),gt.delete(t),""))))}return gt.get(t)};export{bt as f,yt as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- const a=["display","display-2","h1","h2","h3","h4","h5","5xl","4xl","3xl","2xl","xl","lg","md","base"],h=["primary","inverted"],s=["h1","h2","h3","h4","h5","span","p"],l=["display","display-2","h1","h2","h3","h4","h5","span","p"],p=["none","bottom","top","all"];export{h as H,s as a,a as b,l as c,p as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- import{p as o,H as t,e as r,h as e,c as n,t as d}from"./p-DOP4fM2o.js";import{_ as a,L as b,a as i}from"./p-C8OqQuJ7.js";import{a as s}from"./p-Bo-aKWH3.js";import{i as c}from"./p-ChyhE5ro.js";import{h as u}from"./p-CEPnyz7c.js";import{B as l,a as v,b as h,c as m,d as g}from"./p-BoHP-k4E.js";import{d as x}from"./p-Bd5NhwlZ.js";import{d as p}from"./p-BWrjPWjt.js";import{d as k}from"./p-D8RaAucx.js";import{O as y}from"./p-DaqLtBr3.js";import{R as f}from"./p-VwgiuJog.js";import{T as w}from"./p-DEnVBHne.js";const _=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsClick=r(this,"dsClick"),this.dsNavigate=r(this,"dsNavigate"),this.dsFocus=r(this,"dsFocus"),this.dsBlur=r(this,"dsBlur"),this.dsDidRender=r(this,"dsDidRender"),this.internals=this.attachInternals(),this.inheritAttributes={},this.color="primary",this.elementType="button",this.disabled=!1,this.href="",this.target="_self",this.rel="",this.download="",this.shadow=!1,this.square=!1,this.wide=!1,this.flat=!1,this.outlined=!1,this.inverted=!1,this.loading=!1,this.icon="",this.iconTurn=!1,this.iconRight="",this.brandIcon="",this.noWrap=!1,this.name="",this.value="",this.a11yControls="",this.a11yTitle="",this.a11yLabel="",this.a11yHaspopup="",this.handleHostClick=o=>{this.disabled&&(o.preventDefault(),o.stopPropagation())},this.handleFocus=()=>{this.dsFocus.emit()},this.handleBlur=()=>{this.dsBlur.emit()},this.handleClick=o=>{var t,r;this.disabled||("submit"===this.elementType&&(null===(t=this.internals.form)||void 0===t||t.requestSubmit()),"reset"===this.elementType&&(null===(r=this.internals.form)||void 0===r||r.reset()),this.dsClick.emit(o),u(this.href)&&this.dsNavigate.emit(o))}}createLogger(o){this.log=o}componentWillLoad(){this.inheritAttributes=c(this.el,["title","aria-label","aria-controls","aria-hidden","tabindex","aria-haspopup"]),this.el.hasAttribute("ds-popup")&&!this.a11yHaspopup&&(this.a11yHaspopup="true")}componentDidRender(){this.dsDidRender.emit()}listenToClick(o){this.disabled&&o.target&&o.target===this.el&&(o.preventDefault(),o.stopPropagation())}get isIconInverted(){return this.inverted}get hasBrandIcon(){return u(this.brandIcon)}get isBrandIconSvg(){return this.brandIcon.trim().startsWith("<")}get brandIconColor(){const o=this.color.match(/^brand-(purple|red|yellow|green)$/);return o?o[1]:void 0}get leftIconAttrs(){return!u(this.icon)||this.loading?{style:{display:"none"}}:{}}get leftRightAttrs(){return!u(this.iconRight)||this.loading?{style:{display:"none"}}:{}}get loadingAttrs(){return this.loading?{}:{style:{display:"none"}}}render(){const{elementType:o,download:t,href:r,rel:d,target:a,name:b,value:i}=this,c=this.size||void 0,l=u(this.href)?"a":"button",v="button"===l?{type:o,name:b,value:i}:{download:t,href:r,rel:d,target:a},h={title:this.a11yTitle||this.inheritAttributes.title,"aria-label":this.a11yLabel||this.inheritAttributes["aria-label"]||this.a11yTitle||this.inheritAttributes.title,"aria-controls":this.a11yControls||this.inheritAttributes["aria-controls"],"aria-haspopup":this.a11yHaspopup||this.inheritAttributes["aria-haspopup"]};return e(n,{key:"1aa7a5df160205f1afd6ff9259126f57cfd93540",onClick:this.handleHostClick,class:{"is-wide":this.wide,[`is-${this.color||"primary"}`]:!0,[`is-${c}`]:u(c),"is-inverted":this.inverted,"is-disabled":this.disabled,"is-loading":this.loading,"is-flat":this.flat,"is-square":this.square,"has-shadow":this.shadow,"has-no-wrap":this.noWrap,"has-brand-icon":this.hasBrandIcon}},e(l,Object.assign({key:"407cbc66f40e0b119d3eb3789e3b0594bdd3e9f0"},v,this.inheritAttributes,{type:this.elementType,id:"button",part:"native",disabled:this.disabled||this.loading,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,"aria-busy":s(!!this.loading),"aria-disabled":s(this.disabled||this.loading)},h),this.loading?e("ds-spinner",Object.assign({},this.loadingAttrs,{part:"spinner",size:"sm",deactivated:!this.loading})):"",this.hasBrandIcon?e("ds-brand-icon",{part:"icon",svg:this.isBrandIconSvg?this.brandIcon:"",src:this.isBrandIconSvg?"":this.brandIcon,size:this.brandSize,color:this.brandIconColor}):u(this.icon)?e("ds-icon",Object.assign({},this.leftIconAttrs,{part:"icon",class:this.square?"":"icon-left",name:this.icon,size:c,turn:this.iconTurn,inverted:this.isIconInverted})):"",e("span",{key:"c18d7f77a05c20807d783ea1b6eeca05c03f57d2",part:"label"},e("slot",{key:"8adcfbb2c77f630fc2acd66480993200559bd617"})),!this.hasBrandIcon&&u(this.iconRight)?e("ds-icon",Object.assign({},this.leftRightAttrs,{part:"icon-right",class:"icon-right",name:this.iconRight,size:"sm",turn:this.iconTurn,inverted:this.isIconInverted})):""))}static get formAssociated(){return!0}get el(){return this}static get style(){return":host{--_button-position:var(--button-position, var(--mod-button-position, static));--_button-top:var(--button-top, var(--mod-button-top));--_button-right:var(--button-right, var(--mod-button-right));--_button-bottom:var(--button-bottom, var(--mod-button-bottom));--_button-left:var(--button-left, var(--mod-button-left));position:var(--_button-position);top:var(--_button-top);right:var(--_button-right);bottom:var(--_button-bottom);left:var(--_button-left);--_button-m:var(--button-m, var(--mod-button-m, 0));--_button-my:var(--button-my, var(--mod-button-my));--_button-mx:var(--button-mx, var(--mod-button-mx));--_button-ml:var(--button-ml, var(--mod-button-ml));--_button-mr:var(--button-mr, var(--mod-button-mr));--_button-mt:var(--button-mt, var(--mod-button-mt));--_button-mb:var(--button-mb, var(--mod-button-mb));margin:var(--_button-m);margin-inline:var(--_button-mx);margin-block:var(--_button-my);margin-left:var(--_button-ml);margin-right:var(--_button-mr);margin-top:var(--_button-mt);margin-bottom:var(--_button-mb);--_button-font-family:var(--button-font-family, var(--mod-button-font-family, var(--ds-button-size-base-font-family)));--_button-font-weight:var(--button-font-weight, var(--mod-button-font-weight, var(--ds-button-size-base-font-weight)));--_button-font-size:var(--button-font-size, var(--mod-button-font-size, var(--ds-button-size-base-font-size)));--_button-line-height:var(--button-line-height, var(--mod-button-line-height, var(--ds-button-size-base-line-height)));--_button-radius:var(--button-radius, var(--mod-button-radius, var(--ds-button-size-base-radius)));--_button-color-text:var(--button-color-text, var(--mod-button-color-text, var(--ds-button-color-primary-base-text)));--_button-color-border:var(--button-color-border, var(--mod-button-color-border, var(--ds-button-color-primary-base-border)));--_button-color-background:var(--button-color-background, var(--mod-button-color-background, var(--ds-button-color-primary-base-background)));--_button-color-text-hover:var(--button-color-text-hover, var(--mod-button-color-text-hover, var(--ds-button-color-primary-hover-text)));--_button-color-border-hover:var(--button-color-border-hover, var(--mod-button-color-border-hover, var(--ds-button-color-primary-hover-border)));--_button-color-background-hover:var(--button-color-background-hover, var(--mod-button-color-background-hover, var(--ds-button-color-primary-hover-background)));--_button-color-text-active:var(--button-color-text-active, var(--mod-button-color-text-active, var(--ds-button-color-primary-active-text)));--_button-color-border-active:var(--button-color-border-active, var(--mod-button-color-border-active, var(--ds-button-color-primary-active-border)));--_button-color-background-active:var(--button-color-background-active, var(--mod-button-color-background-active, var(--ds-button-color-primary-active-background)));--_button-width:var(--button-width, var(--mod-button-width, fit-content));--_button-gap:var(--button-gap, var(--mod-button-gap, var(--ds-button-size-base-gap)));--_button-min-height:var(--button-min-height, var(--mod-button-min-height, var(--ds-button-size-base-min-height)));--_button-min-width:var(--button-min-width, var(--mod-button-min-width, var(--ds-button-size-base-min-width)));--_button-px:var(--button-px, var(--mod-button-px, var(--ds-button-size-base-padding-x)));--_button-box-shadow:var(--button-box-shadow, var(--mod-button-box-shadow, none));--_button-text-shadow:var(--button-text-shadow, var(--mod-button-text-shadow, none));--_button-focus-shadow:var(--button-focus-shadow, var(--mod-button-focus-shadow, var(--ds-alias-interaction-focus-color-base)))}#button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}@media print{#button{display:none !important}}#button{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;vertical-align:middle;cursor:pointer;word-break:normal;outline:none;-webkit-box-sizing:border-box;box-sizing:border-box;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-shadow:var(--_button-box-shadow);box-shadow:var(--_button-box-shadow);text-shadow:var(--_button-text-shadow);-ms-touch-action:manipulation;touch-action:manipulation;-webkit-transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow,-webkit-box-shadow;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);font-size:var(--_button-font-size);font-family:var(--_button-font-family);font-weight:var(--_button-font-weight);line-height:var(--_button-line-height);border-radius:var(--_button-radius);width:var(--_button-width, -webkit-fit-content);width:var(--_button-width, -moz-fit-content);width:var(--_button-width, fit-content);min-width:var(--_button-min-width);min-height:var(--_button-min-height);gap:var(--_button-gap);padding-inline:var(--_button-px);background-color:var(--_button-color-background);color:var(--_button-color-text);border:var(--_button-color-border)}#button::-moz-focus-inner{border:0}#button{--spinner-logo-size:1.5rem;--icon-color:var(--_button-color-text)}#button:focus,#button:active{outline:none}@media (hover: hover)and (pointer: fine){#button:focus-visible:not(:active),#button.is-focused:not(:active){-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_button-focus-shadow) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_button-focus-shadow) 0 0 0 5px !important}}@media (hover: hover)and (pointer: fine){#button:hover,#button.is-hovered{--icon-color:var(--_button-color-text-hover);color:var(--_button-color-text-hover);background-color:var(--_button-color-background-hover);border:var(--_button-color-border-hover)}}#button:active,#button.is-pressed{--icon-color:var(--_button-color-text-active);background-color:var(--_button-color-background-active);color:var(--_button-color-text-active);border:var(--_button-color-border-active);translate:0 .5px}:host(.is-wide){width:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host(.is-wide) #button{width:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host(.has-brand-icon){-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.has-brand-icon) #button{-ms-flex-direction:column;flex-direction:column;text-align:center;padding:calc(var(--ds-button-size-base-padding-x)/2)}@media screen and (min-width: 769px){:host(.has-brand-icon) #button{padding:calc(var(--ds-button-size-base-padding-x))}}:host(.is-link) #button{text-decoration:underline;text-underline-offset:.25rem;text-decoration-thickness:var(--ds-link-underline-width)}:host ::slotted(ds-badge),:host ::slotted(.ds-badge){--badge-position:absolute;--badge-top:-0.5rem;--badge-right:-0.5rem}:host(.is-primary:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-primary-base-text);--mod-button-color-background:var(--ds-button-color-primary-base-background);--mod-button-color-border:var(--ds-button-color-primary-base-border);--mod-button-color-text-hover:var(--ds-button-color-primary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-primary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-primary-hover-border);--mod-button-color-text-active:var(--ds-button-color-primary-active-text);--mod-button-color-background-active:var(--ds-button-color-primary-active-background);--mod-button-color-border-active:var(--ds-button-color-primary-active-border)}:host(.is-secondary:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-secondary-base-text);--mod-button-color-background:var(--ds-button-color-secondary-base-background);--mod-button-color-border:var(--ds-button-color-secondary-base-border);--mod-button-color-text-hover:var(--ds-button-color-secondary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-secondary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-secondary-hover-border);--mod-button-color-text-active:var(--ds-button-color-secondary-active-text);--mod-button-color-background-active:var(--ds-button-color-secondary-active-background);--mod-button-color-border-active:var(--ds-button-color-secondary-active-border)}:host(.is-tertiary:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-tertiary-base-text);--mod-button-color-background:var(--ds-button-color-tertiary-base-background);--mod-button-color-border:var(--ds-button-color-tertiary-base-border);--mod-button-color-text-hover:var(--ds-button-color-tertiary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-tertiary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-tertiary-hover-border);--mod-button-color-text-active:var(--ds-button-color-tertiary-active-text);--mod-button-color-background-active:var(--ds-button-color-tertiary-active-background);--mod-button-color-border-active:var(--ds-button-color-tertiary-active-border)}:host(.is-ghost:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-ghost-base-text);--mod-button-color-background:var(--ds-button-color-ghost-base-background);--mod-button-color-border:var(--ds-button-color-ghost-base-border);--mod-button-color-text-hover:var(--ds-button-color-ghost-hover-text);--mod-button-color-background-hover:var(--ds-button-color-ghost-hover-background);--mod-button-color-border-hover:var(--ds-button-color-ghost-hover-border);--mod-button-color-text-active:var(--ds-button-color-ghost-active-text);--mod-button-color-background-active:var(--ds-button-color-ghost-active-background);--mod-button-color-border-active:var(--ds-button-color-ghost-active-border)}:host(.is-brand-purple:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-purple-base-text);--mod-button-color-background:var(--ds-button-color-brand-purple-base-background);--mod-button-color-border:var(--ds-button-color-brand-purple-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-purple-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-purple-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-purple-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-purple-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-purple-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-purple-active-border)}:host(.is-brand-red:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-red-base-text);--mod-button-color-background:var(--ds-button-color-brand-red-base-background);--mod-button-color-border:var(--ds-button-color-brand-red-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-red-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-red-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-red-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-red-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-red-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-red-active-border)}:host(.is-brand-yellow:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-yellow-base-text);--mod-button-color-background:var(--ds-button-color-brand-yellow-base-background);--mod-button-color-border:var(--ds-button-color-brand-yellow-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-yellow-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-yellow-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-yellow-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-yellow-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-yellow-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-yellow-active-border)}:host(.is-brand-green:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-green-base-text);--mod-button-color-background:var(--ds-button-color-brand-green-base-background);--mod-button-color-border:var(--ds-button-color-brand-green-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-green-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-green-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-green-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-green-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-green-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-green-active-border)}:host(.is-info:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-info-base-text);--mod-button-color-background:var(--ds-button-color-info-base-background);--mod-button-color-border:var(--ds-button-color-info-base-border);--mod-button-color-text-hover:var(--ds-button-color-info-hover-text);--mod-button-color-background-hover:var(--ds-button-color-info-hover-background);--mod-button-color-border-hover:var(--ds-button-color-info-hover-border);--mod-button-color-text-active:var(--ds-button-color-info-active-text);--mod-button-color-background-active:var(--ds-button-color-info-active-background);--mod-button-color-border-active:var(--ds-button-color-info-active-border)}:host(.is-success:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-success-base-text);--mod-button-color-background:var(--ds-button-color-success-base-background);--mod-button-color-border:var(--ds-button-color-success-base-border);--mod-button-color-text-hover:var(--ds-button-color-success-hover-text);--mod-button-color-background-hover:var(--ds-button-color-success-hover-background);--mod-button-color-border-hover:var(--ds-button-color-success-hover-border);--mod-button-color-text-active:var(--ds-button-color-success-active-text);--mod-button-color-background-active:var(--ds-button-color-success-active-background);--mod-button-color-border-active:var(--ds-button-color-success-active-border)}:host(.is-warning:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-warning-base-text);--mod-button-color-background:var(--ds-button-color-warning-base-background);--mod-button-color-border:var(--ds-button-color-warning-base-border);--mod-button-color-text-hover:var(--ds-button-color-warning-hover-text);--mod-button-color-background-hover:var(--ds-button-color-warning-hover-background);--mod-button-color-border-hover:var(--ds-button-color-warning-hover-border);--mod-button-color-text-active:var(--ds-button-color-warning-active-text);--mod-button-color-background-active:var(--ds-button-color-warning-active-background);--mod-button-color-border-active:var(--ds-button-color-warning-active-border)}:host(.is-danger:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-danger-base-text);--mod-button-color-background:var(--ds-button-color-danger-base-background);--mod-button-color-border:var(--ds-button-color-danger-base-border);--mod-button-color-text-hover:var(--ds-button-color-danger-hover-text);--mod-button-color-background-hover:var(--ds-button-color-danger-hover-background);--mod-button-color-border-hover:var(--ds-button-color-danger-hover-border);--mod-button-color-text-active:var(--ds-button-color-danger-active-text);--mod-button-color-background-active:var(--ds-button-color-danger-active-background);--mod-button-color-border-active:var(--ds-button-color-danger-active-border)}:host(.is-link:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-link-base-text);--mod-button-color-background:var(--ds-button-color-link-base-background);--mod-button-color-border:var(--ds-button-color-link-base-border);--mod-button-color-text-hover:var(--ds-button-color-link-hover-text);--mod-button-color-background-hover:var(--ds-button-color-link-hover-background);--mod-button-color-border-hover:var(--ds-button-color-link-hover-border);--mod-button-color-text-active:var(--ds-button-color-link-active-text);--mod-button-color-background-active:var(--ds-button-color-link-active-background);--mod-button-color-border-active:var(--ds-button-color-link-active-border)}:host(.is-text:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-text-base-text);--mod-button-color-background:var(--ds-button-color-text-base-background);--mod-button-color-border:var(--ds-button-color-text-base-border);--mod-button-color-text-hover:var(--ds-button-color-text-hover-text);--mod-button-color-background-hover:var(--ds-button-color-text-hover-background);--mod-button-color-border-hover:var(--ds-button-color-text-hover-border);--mod-button-color-text-active:var(--ds-button-color-text-active-text);--mod-button-color-background-active:var(--ds-button-color-text-active-background);--mod-button-color-border-active:var(--ds-button-color-text-active-border)}:host(.is-primary.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-purple.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-red.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-yellow.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-green.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-info.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-success.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-warning.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-danger.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-secondary.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-secondary-base-text);--mod-button-color-background:var(--ds-button-color-inverted-secondary-base-background);--mod-button-color-border:var(--ds-button-color-inverted-secondary-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-secondary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-secondary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-secondary-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-secondary-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-secondary-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-secondary-active-border)}:host(.is-tertiary.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-tertiary-base-text);--mod-button-color-background:var(--ds-button-color-inverted-tertiary-base-background);--mod-button-color-border:var(--ds-button-color-inverted-tertiary-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-tertiary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-tertiary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-tertiary-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-tertiary-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-tertiary-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-tertiary-active-border)}:host(.is-ghost.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-ghost-base-text);--mod-button-color-background:var(--ds-button-color-inverted-ghost-base-background);--mod-button-color-border:var(--ds-button-color-inverted-ghost-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-ghost-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-ghost-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-ghost-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-ghost-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-ghost-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-ghost-active-border)}:host(.is-text.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-text-base-text);--mod-button-color-background:var(--ds-button-color-inverted-text-base-background);--mod-button-color-border:var(--ds-button-color-inverted-text-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-text-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-text-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-text-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-text-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-text-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-text-active-border)}:host(.is-link.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-link-base-text);--mod-button-color-background:var(--ds-button-color-inverted-link-base-background);--mod-button-color-border:var(--ds-button-color-inverted-link-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-link-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-link-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-link-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-link-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-link-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-link-active-border)}:host(.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-focus-shadow:var(--ds-alias-interaction-focus-color-inverted)}:host(.is-sm){--mod-button-font-family:var(--ds-button-size-sm-font-family);--mod-button-font-weight:var(--ds-button-size-sm-font-weight);--mod-button-font-size:var(--ds-button-size-sm-font-size);--mod-button-line-height:var(--ds-button-size-sm-line-height);--mod-button-radius:var(--ds-button-size-sm-radius);--mod-button-gap:var(--ds-button-size-sm-gap);--mod-button-min-height:var(--ds-button-size-sm-min-height);--mod-button-min-width:var(--ds-button-size-sm-min-width);--mod-button-px:var(--ds-button-size-sm-padding-x)}:host(.is-lg){--mod-button-font-family:var(--ds-button-size-lg-font-family);--mod-button-font-weight:var(--ds-button-size-lg-font-weight);--mod-button-font-size:var(--ds-button-size-lg-font-size);--mod-button-line-height:var(--ds-button-size-lg-line-height);--mod-button-radius:var(--ds-button-size-lg-radius);--mod-button-gap:var(--ds-button-size-lg-gap);--mod-button-min-height:var(--ds-button-size-lg-min-height);--mod-button-min-width:var(--ds-button-size-lg-min-width);--mod-button-px:var(--ds-button-size-lg-padding-x)}:host(.is-flat){--mod-button-px:0;--mod-button-min-height:1.75rem}:host(.is-square:not(.is-sm)){--mod-button-px:0;--mod-button-gap:0;--mod-button-min-height:3rem;--mod-button-min-width:3rem;--icon-size:1.5rem}:host(.is-square.is-sm){--mod-button-px:0;--mod-button-gap:0;--mod-button-min-height:2rem;--mod-button-min-width:2rem;--icon-size:var(--ds-icon-size-sm)}:host(.has-shadow:not(.is-link):not(.is-ghost)){--mod-button-box-shadow:var(--ds-alias-shadow-box-base)}:host(.is-ghost.has-shadow),:host(.is-link.has-shadow){--mod-button-text-shadow:var(--ds-alias-shadow-text)}:host(.has-no-wrap){max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}:host(.has-no-wrap) #button{display:inline-block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}:host #button[disabled],:host #button[disabled]:hover,:host #button[disabled].is-hovered,:host #button[disabled]:active,:host #button[disabled].is-pressed,:host #button[disabled]:focus,:host #button[disabled].is-focused{pointer-events:none;opacity:1;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;cursor:default;translate:0 0;background-color:var(--ds-button-color-disabled-base-background);border:var(--ds-button-color-disabled-base-border);color:var(--ds-button-color-disabled-base-text)}:host #button[disabled]>ds-icon,:host #button[disabled]:hover>ds-icon,:host #button[disabled].is-hovered>ds-icon,:host #button[disabled]:active>ds-icon,:host #button[disabled].is-pressed>ds-icon,:host #button[disabled]:focus>ds-icon,:host #button[disabled].is-focused>ds-icon{--icon-color:var(--ds-button-color-disabled-base-text)}:host #button[disabled]>ds-spinner,:host #button[disabled]:hover>ds-spinner,:host #button[disabled].is-hovered>ds-spinner,:host #button[disabled]:active>ds-spinner,:host #button[disabled].is-pressed>ds-spinner,:host #button[disabled]:focus>ds-spinner,:host #button[disabled].is-focused>ds-spinner{--spinner-color:var(--ds-button-color-disabled-base-text)}:host #button[disabled]>ds-spinner.is-circle,:host #button[disabled]:hover>ds-spinner.is-circle,:host #button[disabled].is-hovered>ds-spinner.is-circle,:host #button[disabled]:active>ds-spinner.is-circle,:host #button[disabled].is-pressed>ds-spinner.is-circle,:host #button[disabled]:focus>ds-spinner.is-circle,:host #button[disabled].is-focused>ds-spinner.is-circle{--spinner-circle-color-border-background:var(--ds-global-color-grey-4);--spinner-circle-color-border-progress:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button,:host(.is-loading) #button:hover,:host(.is-loading) #button.is-hovered,:host(.is-loading) #button:active,:host(.is-loading) #button.is-pressed,:host(.is-loading) #button:focus,:host(.is-loading) #button.is-focused{pointer-events:none;opacity:1;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;cursor:default;translate:0 0;background-color:var(--ds-button-color-disabled-base-background);border:var(--ds-button-color-disabled-base-border);color:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button>ds-icon,:host(.is-loading) #button:hover>ds-icon,:host(.is-loading) #button.is-hovered>ds-icon,:host(.is-loading) #button:active>ds-icon,:host(.is-loading) #button.is-pressed>ds-icon,:host(.is-loading) #button:focus>ds-icon,:host(.is-loading) #button.is-focused>ds-icon{--icon-color:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button>ds-spinner,:host(.is-loading) #button:hover>ds-spinner,:host(.is-loading) #button.is-hovered>ds-spinner,:host(.is-loading) #button:active>ds-spinner,:host(.is-loading) #button.is-pressed>ds-spinner,:host(.is-loading) #button:focus>ds-spinner,:host(.is-loading) #button.is-focused>ds-spinner{--spinner-color:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button>ds-spinner.is-circle,:host(.is-loading) #button:hover>ds-spinner.is-circle,:host(.is-loading) #button.is-hovered>ds-spinner.is-circle,:host(.is-loading) #button:active>ds-spinner.is-circle,:host(.is-loading) #button.is-pressed>ds-spinner.is-circle,:host(.is-loading) #button:focus>ds-spinner.is-circle,:host(.is-loading) #button.is-focused>ds-spinner.is-circle{--spinner-circle-color-border-background:var(--ds-global-color-grey-4);--spinner-circle-color-border-progress:var(--ds-button-color-disabled-base-text)}:host{display:inline-block;width:var(--_button-width)}:host #button{margin:0 !important;width:100%}"}},[321,"ds-button",{color:[1],elementType:[513,"element-type"],disabled:[516],size:[1],href:[1],target:[1],rel:[1],download:[1],shadow:[4],square:[4],wide:[4],flat:[4],outlined:[4],inverted:[516],loading:[516],icon:[1],iconTurn:[4,"icon-turn"],iconRight:[1,"icon-right"],brandIcon:[1,"brand-icon"],brandSize:[1,"brand-size"],noWrap:[4,"no-wrap"],name:[513],value:[1],a11yControls:[1,"a-1-1y-controls"],a11yTitle:[1,"a-1-1y-title"],a11yLabel:[1,"a-1-1y-label"],a11yHaspopup:[1025,"a-1-1y-haspopup"]},[[6,"click","listenToClick"]]]);function z(){"undefined"!=typeof customElements&&["ds-button","ds-brand-icon","ds-icon","ds-spinner"].forEach((o=>{switch(o){case"ds-button":customElements.get(d(o))||customElements.define(d(o),_);break;case"ds-brand-icon":customElements.get(d(o))||x();break;case"ds-icon":customElements.get(d(o))||p();break;case"ds-spinner":customElements.get(d(o))||k()}}))}a([b("button"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],_.prototype,"createLogger",null),a([y(l),i("design:type",String)],_.prototype,"color",void 0),a([f(),y(v),i("design:type",String)],_.prototype,"elementType",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"disabled",void 0),a([y(h),i("design:type",Object)],_.prototype,"size",void 0),a([w("string"),i("design:type",String)],_.prototype,"href",void 0),a([f(),y(m),i("design:type",String)],_.prototype,"target",void 0),a([w("string"),i("design:type",String)],_.prototype,"rel",void 0),a([w("string"),i("design:type",String)],_.prototype,"download",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"shadow",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"square",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"wide",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"flat",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"outlined",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"inverted",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"loading",void 0),a([w("string"),i("design:type",String)],_.prototype,"icon",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"iconTurn",void 0),a([w("string"),i("design:type",String)],_.prototype,"iconRight",void 0),a([w("string"),i("design:type",String)],_.prototype,"brandIcon",void 0),a([y(g),i("design:type",Object)],_.prototype,"brandSize",void 0),a([w("boolean"),i("design:type",Boolean)],_.prototype,"noWrap",void 0),a([w("string"),i("design:type",String)],_.prototype,"name",void 0),a([w("string"),i("design:type",String)],_.prototype,"value",void 0),a([w("string"),i("design:type",String)],_.prototype,"a11yControls",void 0),a([w("string"),i("design:type",String)],_.prototype,"a11yTitle",void 0),a([w("string"),i("design:type",String)],_.prototype,"a11yLabel",void 0),a([w("string"),i("design:type",String)],_.prototype,"a11yHaspopup",void 0);export{_ as B,z as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- import{p as s,H as t,h as e,c as a,t as n}from"./p-DOP4fM2o.js";import{_ as o,L as r,a as c}from"./p-C8OqQuJ7.js";import{h as i}from"./p-CEPnyz7c.js";import{n as d}from"./p-B3VN_5Hp.js";import{a as l,b as g,c as p,d as k}from"./p-CsftG7WI.js";import{O as h}from"./p-DaqLtBr3.js";import{T as w}from"./p-DEnVBHne.js";const v=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost(),this.fitContent=!1,this.space="base",this.useWrap=!1}createLogger(s){this.log=s}render(){const s=i(this.align),t=i(this.alignment),n=d(this.space)||"",o=d(this.spaceRow)||"",r=d(this.spaceColumn)||"",c=d(this.p)||"",l=d(this.px)||"",g=d(this.py)||"";let p=this.align?this.align.split(" ").join("-"):void 0;return this.alignment&&(p=this.alignment.split(" ").join("-")),e(a,{key:"9d2f5fd3de8f6cf59064882572af921214b1e046",class:{"ds-stack":!0,"as-row":"row"===this.direction,"as-col":"column"===this.direction,"has-wrap":!0===this.useWrap,"fit-content":!0===this.fitContent,[`align-${p}`]:s||t,[`has-space-${n}`]:i(this.space),[`has-space-row-${o}`]:i(this.spaceRow),[`has-space-col-${r}`]:i(this.spaceColumn),[`p-${c}`]:i(this.p),[`px-${l}`]:i(this.px),[`py-${g}`]:i(this.py)}},e("slot",{key:"1dfe4af03e413819e9f0091fed1045806e2ea858"}))}get el(){return this}static get style(){return".ds-stack,.ds-stack-content{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.ds-stack{gap:1rem}.ds-stack-content{-ms-flex:1;flex:1;height:100%;gap:.25rem}.ds-stack>.ds-stack,.ds-stack>.ds-stack-content{-ms-flex-item-align:stretch;align-self:stretch}.ds-stack.is-horizontal>.ds-stack-content{-ms-flex-item-align:center;align-self:center}.ds-stack.has-wrap,.ds-stack-content.has-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.ds-stack.as-row,.ds-stack.is-horizontal,.ds-stack.has-direction-row,.ds-stack-content.as-row,.ds-stack-content.is-horizontal,.ds-stack-content.has-direction-row{-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:center;align-items:center}.ds-stack.as-row-reverse,.ds-stack.is-horizontal-reverse,.ds-stack.has-direction-row-reverse,.ds-stack-content.as-row-reverse,.ds-stack-content.is-horizontal-reverse,.ds-stack-content.has-direction-row-reverse{-ms-flex-flow:row-reverse nowrap;flex-flow:row-reverse nowrap;-ms-flex-align:center;align-items:center}.ds-stack.as-col-reverse,.ds-stack.is-vertical-reverse,.ds-stack.has-direction-column-reverse,.ds-stack-content.as-col-reverse,.ds-stack-content.is-vertical-reverse,.ds-stack-content.has-direction-column-reverse{-ms-flex-flow:column-reverse nowrap;flex-flow:column-reverse nowrap}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-left,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-start,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-left,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-start{-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-center,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-center{-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-right,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-end,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-right,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-top-end{-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:end;align-items:flex-end}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-start,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-left,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-start,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-start,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-left,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-start{-ms-flex-pack:center;justify-content:center;-ms-flex-align:start;align-items:flex-start}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-end,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-right,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-end,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-end,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-right,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-center-end{-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-left,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-start,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-left,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-start{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:start;align-items:flex-start}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-center,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-center{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-right,.ds-stack:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-end,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-right,.ds-stack-content:not(.as-row,.as-row-reverse,.has-direction-row,.has-direction-row-reverse,.is-horizontal,.is-horizontal-reverse).align-bottom-end{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:end;align-items:flex-end}.ds-stack.as-row.align-top-left,.ds-stack.as-row.align-top-start,.ds-stack.is-horizontal.align-top-left,.ds-stack.is-horizontal.align-top-start,.ds-stack.has-direction-row.align-top-left,.ds-stack.has-direction-row.align-top-start,.ds-stack.as-row-reverse.align-top-left,.ds-stack.as-row-reverse.align-top-start,.ds-stack.is-horizontal-reverse.align-top-left,.ds-stack.is-horizontal-reverse.align-top-start,.ds-stack.has-direction-row-reverse.align-top-left,.ds-stack.has-direction-row-reverse.align-top-start,.ds-stack-content.as-row.align-top-left,.ds-stack-content.as-row.align-top-start,.ds-stack-content.is-horizontal.align-top-left,.ds-stack-content.is-horizontal.align-top-start,.ds-stack-content.has-direction-row.align-top-left,.ds-stack-content.has-direction-row.align-top-start,.ds-stack-content.as-row-reverse.align-top-left,.ds-stack-content.as-row-reverse.align-top-start,.ds-stack-content.is-horizontal-reverse.align-top-left,.ds-stack-content.is-horizontal-reverse.align-top-start,.ds-stack-content.has-direction-row-reverse.align-top-left,.ds-stack-content.has-direction-row-reverse.align-top-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.ds-stack.as-row.align-top,.ds-stack.as-row.align-top-center,.ds-stack.is-horizontal.align-top,.ds-stack.is-horizontal.align-top-center,.ds-stack.has-direction-row.align-top,.ds-stack.has-direction-row.align-top-center,.ds-stack.as-row-reverse.align-top,.ds-stack.as-row-reverse.align-top-center,.ds-stack.is-horizontal-reverse.align-top,.ds-stack.is-horizontal-reverse.align-top-center,.ds-stack.has-direction-row-reverse.align-top,.ds-stack.has-direction-row-reverse.align-top-center,.ds-stack-content.as-row.align-top,.ds-stack-content.as-row.align-top-center,.ds-stack-content.is-horizontal.align-top,.ds-stack-content.is-horizontal.align-top-center,.ds-stack-content.has-direction-row.align-top,.ds-stack-content.has-direction-row.align-top-center,.ds-stack-content.as-row-reverse.align-top,.ds-stack-content.as-row-reverse.align-top-center,.ds-stack-content.is-horizontal-reverse.align-top,.ds-stack-content.is-horizontal-reverse.align-top-center,.ds-stack-content.has-direction-row-reverse.align-top,.ds-stack-content.has-direction-row-reverse.align-top-center{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.ds-stack.as-row.align-top-right,.ds-stack.as-row.align-top-end,.ds-stack.is-horizontal.align-top-right,.ds-stack.is-horizontal.align-top-end,.ds-stack.has-direction-row.align-top-right,.ds-stack.has-direction-row.align-top-end,.ds-stack.as-row-reverse.align-top-right,.ds-stack.as-row-reverse.align-top-end,.ds-stack.is-horizontal-reverse.align-top-right,.ds-stack.is-horizontal-reverse.align-top-end,.ds-stack.has-direction-row-reverse.align-top-right,.ds-stack.has-direction-row-reverse.align-top-end,.ds-stack-content.as-row.align-top-right,.ds-stack-content.as-row.align-top-end,.ds-stack-content.is-horizontal.align-top-right,.ds-stack-content.is-horizontal.align-top-end,.ds-stack-content.has-direction-row.align-top-right,.ds-stack-content.has-direction-row.align-top-end,.ds-stack-content.as-row-reverse.align-top-right,.ds-stack-content.as-row-reverse.align-top-end,.ds-stack-content.is-horizontal-reverse.align-top-right,.ds-stack-content.is-horizontal-reverse.align-top-end,.ds-stack-content.has-direction-row-reverse.align-top-right,.ds-stack-content.has-direction-row-reverse.align-top-end{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:end;justify-content:flex-end}.ds-stack.as-row.align-start,.ds-stack.as-row.align-center-left,.ds-stack.as-row.align-center-start,.ds-stack.is-horizontal.align-start,.ds-stack.is-horizontal.align-center-left,.ds-stack.is-horizontal.align-center-start,.ds-stack.has-direction-row.align-start,.ds-stack.has-direction-row.align-center-left,.ds-stack.has-direction-row.align-center-start,.ds-stack.as-row-reverse.align-start,.ds-stack.as-row-reverse.align-center-left,.ds-stack.as-row-reverse.align-center-start,.ds-stack.is-horizontal-reverse.align-start,.ds-stack.is-horizontal-reverse.align-center-left,.ds-stack.is-horizontal-reverse.align-center-start,.ds-stack.has-direction-row-reverse.align-start,.ds-stack.has-direction-row-reverse.align-center-left,.ds-stack.has-direction-row-reverse.align-center-start,.ds-stack-content.as-row.align-start,.ds-stack-content.as-row.align-center-left,.ds-stack-content.as-row.align-center-start,.ds-stack-content.is-horizontal.align-start,.ds-stack-content.is-horizontal.align-center-left,.ds-stack-content.is-horizontal.align-center-start,.ds-stack-content.has-direction-row.align-start,.ds-stack-content.has-direction-row.align-center-left,.ds-stack-content.has-direction-row.align-center-start,.ds-stack-content.as-row-reverse.align-start,.ds-stack-content.as-row-reverse.align-center-left,.ds-stack-content.as-row-reverse.align-center-start,.ds-stack-content.is-horizontal-reverse.align-start,.ds-stack-content.is-horizontal-reverse.align-center-left,.ds-stack-content.is-horizontal-reverse.align-center-start,.ds-stack-content.has-direction-row-reverse.align-start,.ds-stack-content.has-direction-row-reverse.align-center-left,.ds-stack-content.has-direction-row-reverse.align-center-start{-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.ds-stack.as-row.align-center,.ds-stack.is-horizontal.align-center,.ds-stack.has-direction-row.align-center,.ds-stack.as-row-reverse.align-center,.ds-stack.is-horizontal-reverse.align-center,.ds-stack.has-direction-row-reverse.align-center,.ds-stack-content.as-row.align-center,.ds-stack-content.is-horizontal.align-center,.ds-stack-content.has-direction-row.align-center,.ds-stack-content.as-row-reverse.align-center,.ds-stack-content.is-horizontal-reverse.align-center,.ds-stack-content.has-direction-row-reverse.align-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.ds-stack.as-row.align-end,.ds-stack.as-row.align-center-right,.ds-stack.as-row.align-center-end,.ds-stack.is-horizontal.align-end,.ds-stack.is-horizontal.align-center-right,.ds-stack.is-horizontal.align-center-end,.ds-stack.has-direction-row.align-end,.ds-stack.has-direction-row.align-center-right,.ds-stack.has-direction-row.align-center-end,.ds-stack.as-row-reverse.align-end,.ds-stack.as-row-reverse.align-center-right,.ds-stack.as-row-reverse.align-center-end,.ds-stack.is-horizontal-reverse.align-end,.ds-stack.is-horizontal-reverse.align-center-right,.ds-stack.is-horizontal-reverse.align-center-end,.ds-stack.has-direction-row-reverse.align-end,.ds-stack.has-direction-row-reverse.align-center-right,.ds-stack.has-direction-row-reverse.align-center-end,.ds-stack-content.as-row.align-end,.ds-stack-content.as-row.align-center-right,.ds-stack-content.as-row.align-center-end,.ds-stack-content.is-horizontal.align-end,.ds-stack-content.is-horizontal.align-center-right,.ds-stack-content.is-horizontal.align-center-end,.ds-stack-content.has-direction-row.align-end,.ds-stack-content.has-direction-row.align-center-right,.ds-stack-content.has-direction-row.align-center-end,.ds-stack-content.as-row-reverse.align-end,.ds-stack-content.as-row-reverse.align-center-right,.ds-stack-content.as-row-reverse.align-center-end,.ds-stack-content.is-horizontal-reverse.align-end,.ds-stack-content.is-horizontal-reverse.align-center-right,.ds-stack-content.is-horizontal-reverse.align-center-end,.ds-stack-content.has-direction-row-reverse.align-end,.ds-stack-content.has-direction-row-reverse.align-center-right,.ds-stack-content.has-direction-row-reverse.align-center-end{-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.ds-stack.as-row.align-bottom-left,.ds-stack.as-row.align-bottom-start,.ds-stack.is-horizontal.align-bottom-left,.ds-stack.is-horizontal.align-bottom-start,.ds-stack.has-direction-row.align-bottom-left,.ds-stack.has-direction-row.align-bottom-start,.ds-stack.as-row-reverse.align-bottom-left,.ds-stack.as-row-reverse.align-bottom-start,.ds-stack.is-horizontal-reverse.align-bottom-left,.ds-stack.is-horizontal-reverse.align-bottom-start,.ds-stack.has-direction-row-reverse.align-bottom-left,.ds-stack.has-direction-row-reverse.align-bottom-start,.ds-stack-content.as-row.align-bottom-left,.ds-stack-content.as-row.align-bottom-start,.ds-stack-content.is-horizontal.align-bottom-left,.ds-stack-content.is-horizontal.align-bottom-start,.ds-stack-content.has-direction-row.align-bottom-left,.ds-stack-content.has-direction-row.align-bottom-start,.ds-stack-content.as-row-reverse.align-bottom-left,.ds-stack-content.as-row-reverse.align-bottom-start,.ds-stack-content.is-horizontal-reverse.align-bottom-left,.ds-stack-content.is-horizontal-reverse.align-bottom-start,.ds-stack-content.has-direction-row-reverse.align-bottom-left,.ds-stack-content.has-direction-row-reverse.align-bottom-start{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.ds-stack.as-row.align-bottom,.ds-stack.as-row.align-bottom-center,.ds-stack.is-horizontal.align-bottom,.ds-stack.is-horizontal.align-bottom-center,.ds-stack.has-direction-row.align-bottom,.ds-stack.has-direction-row.align-bottom-center,.ds-stack.as-row-reverse.align-bottom,.ds-stack.as-row-reverse.align-bottom-center,.ds-stack.is-horizontal-reverse.align-bottom,.ds-stack.is-horizontal-reverse.align-bottom-center,.ds-stack.has-direction-row-reverse.align-bottom,.ds-stack.has-direction-row-reverse.align-bottom-center,.ds-stack-content.as-row.align-bottom,.ds-stack-content.as-row.align-bottom-center,.ds-stack-content.is-horizontal.align-bottom,.ds-stack-content.is-horizontal.align-bottom-center,.ds-stack-content.has-direction-row.align-bottom,.ds-stack-content.has-direction-row.align-bottom-center,.ds-stack-content.as-row-reverse.align-bottom,.ds-stack-content.as-row-reverse.align-bottom-center,.ds-stack-content.is-horizontal-reverse.align-bottom,.ds-stack-content.is-horizontal-reverse.align-bottom-center,.ds-stack-content.has-direction-row-reverse.align-bottom,.ds-stack-content.has-direction-row-reverse.align-bottom-center{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.ds-stack.as-row.align-bottom-right,.ds-stack.as-row.align-bottom-end,.ds-stack.is-horizontal.align-bottom-right,.ds-stack.is-horizontal.align-bottom-end,.ds-stack.has-direction-row.align-bottom-right,.ds-stack.has-direction-row.align-bottom-end,.ds-stack.as-row-reverse.align-bottom-right,.ds-stack.as-row-reverse.align-bottom-end,.ds-stack.is-horizontal-reverse.align-bottom-right,.ds-stack.is-horizontal-reverse.align-bottom-end,.ds-stack.has-direction-row-reverse.align-bottom-right,.ds-stack.has-direction-row-reverse.align-bottom-end,.ds-stack-content.as-row.align-bottom-right,.ds-stack-content.as-row.align-bottom-end,.ds-stack-content.is-horizontal.align-bottom-right,.ds-stack-content.is-horizontal.align-bottom-end,.ds-stack-content.has-direction-row.align-bottom-right,.ds-stack-content.has-direction-row.align-bottom-end,.ds-stack-content.as-row-reverse.align-bottom-right,.ds-stack-content.as-row-reverse.align-bottom-end,.ds-stack-content.is-horizontal-reverse.align-bottom-right,.ds-stack-content.is-horizontal-reverse.align-bottom-end,.ds-stack-content.has-direction-row-reverse.align-bottom-right,.ds-stack-content.has-direction-row-reverse.align-bottom-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.ds-stack-content,.ds-stack-content.align-top-left,.ds-stack-content.align-top-start,.ds-stack-content.align-start,.ds-stack-content.align-center-left,.ds-stack-content.align-center-start,.ds-stack-content.align-bottom-left,.ds-stack-content.align-bottom-start{text-align:left}.ds-stack-content.align-top,.ds-stack-content.align-top-center,.ds-stack-content.align-center,.ds-stack-content.align-bottom,.ds-stack-content.align-bottom-center{text-align:center}.ds-stack-content.align-top-right,.ds-stack-content.align-top-end,.ds-stack-content.align-end,.ds-stack-content.align-center-right,.ds-stack-content.align-center-end,.ds-stack-content.align-bottom-right,.ds-stack-content.align-bottom-end{text-align:right}.ds-stack-content.text-left{text-align:left !important}.ds-stack-content.text-center{text-align:center !important}.ds-stack-content.text-right{text-align:right !important}.ds-stack.fit-content,.ds-stack-content.fit-content{-ms-flex:unset;flex:unset;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ds-stack.p-2xs,.ds-stack-content.p-2xs{padding:var(--ds-device-space-2xs)}.ds-stack.p-xs,.ds-stack-content.p-xs{padding:var(--ds-device-space-xs)}.ds-stack.p-sm,.ds-stack-content.p-sm{padding:var(--ds-device-space-sm)}.ds-stack.p-base,.ds-stack-content.p-base{padding:var(--ds-device-space-base)}.ds-stack.p-md,.ds-stack-content.p-md{padding:var(--ds-device-space-md)}.ds-stack.p-lg,.ds-stack-content.p-lg{padding:var(--ds-device-space-lg)}.ds-stack.p-xl,.ds-stack-content.p-xl{padding:var(--ds-device-space-xl)}.ds-stack.p-2xl,.ds-stack-content.p-2xl{padding:var(--ds-device-space-2xl)}.ds-stack.px-2xs,.ds-stack-content.px-2xs{padding-left:var(--ds-device-space-2xs);padding-right:var(--ds-device-space-2xs)}.ds-stack.px-xs,.ds-stack-content.px-xs{padding-left:var(--ds-device-space-xs);padding-right:var(--ds-device-space-xs)}.ds-stack.px-sm,.ds-stack-content.px-sm{padding-left:var(--ds-device-space-sm);padding-right:var(--ds-device-space-sm)}.ds-stack.px-base,.ds-stack-content.px-base{padding-left:var(--ds-device-space-base);padding-right:var(--ds-device-space-base)}.ds-stack.px-md,.ds-stack-content.px-md{padding-left:var(--ds-device-space-md);padding-right:var(--ds-device-space-md)}.ds-stack.px-lg,.ds-stack-content.px-lg{padding-left:var(--ds-device-space-lg);padding-right:var(--ds-device-space-lg)}.ds-stack.px-xl,.ds-stack-content.px-xl{padding-left:var(--ds-device-space-xl);padding-right:var(--ds-device-space-xl)}.ds-stack.px-2xl,.ds-stack-content.px-2xl{padding-left:var(--ds-device-space-2xl);padding-right:var(--ds-device-space-2xl)}.ds-stack.py-2xs,.ds-stack-content.py-2xs{padding-top:var(--ds-device-space-2xs);padding-bottom:var(--ds-device-space-2xs)}.ds-stack.py-xs,.ds-stack-content.py-xs{padding-top:var(--ds-device-space-xs);padding-bottom:var(--ds-device-space-xs)}.ds-stack.py-sm,.ds-stack-content.py-sm{padding-top:var(--ds-device-space-sm);padding-bottom:var(--ds-device-space-sm)}.ds-stack.py-base,.ds-stack-content.py-base{padding-top:var(--ds-device-space-base);padding-bottom:var(--ds-device-space-base)}.ds-stack.py-md,.ds-stack-content.py-md{padding-top:var(--ds-device-space-md);padding-bottom:var(--ds-device-space-md)}.ds-stack.py-lg,.ds-stack-content.py-lg{padding-top:var(--ds-device-space-lg);padding-bottom:var(--ds-device-space-lg)}.ds-stack.py-xl,.ds-stack-content.py-xl{padding-top:var(--ds-device-space-xl);padding-bottom:var(--ds-device-space-xl)}.ds-stack.py-2xl,.ds-stack-content.py-2xl{padding-top:var(--ds-device-space-2xl);padding-bottom:var(--ds-device-space-2xl)}.ds-stack.p-none,.ds-stack-content.p-none{padding:0}.ds-stack.px-none,.ds-stack-content.px-none{padding-left:0;padding-right:0}.ds-stack.py-none,.ds-stack-content.py-none{padding-top:0;padding-bottom:0}.ds-stack.gap-auto,.ds-stack.gap-x-auto,.ds-stack.gap-col-auto,.ds-stack.gap-y-auto,.ds-stack.gap-row-auto,.ds-stack.has-space-auto,.ds-stack.has-space-col-auto,.ds-stack.has-space-row-auto,.ds-stack-content.gap-auto,.ds-stack-content.gap-x-auto,.ds-stack-content.gap-col-auto,.ds-stack-content.gap-y-auto,.ds-stack-content.gap-row-auto,.ds-stack-content.has-space-auto,.ds-stack-content.has-space-col-auto,.ds-stack-content.has-space-row-auto{-ms-flex-pack:justify;justify-content:space-between}.ds-stack.gap-none,.ds-stack.has-space-none,.ds-stack-content.gap-none,.ds-stack-content.has-space-none{gap:0}@media screen and (min-width: 769px){.ds-stack.gap-none,.ds-stack.has-space-none,.ds-stack-content.gap-none,.ds-stack-content.has-space-none{gap:0}}@media screen and (min-width: 1024px){.ds-stack.gap-none,.ds-stack.has-space-none,.ds-stack-content.gap-none,.ds-stack-content.has-space-none{gap:0}}.ds-stack.gap-x-none,.ds-stack.gap-col-none,.ds-stack.has-space-col-none,.ds-stack-content.gap-x-none,.ds-stack-content.gap-col-none,.ds-stack-content.has-space-col-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}@media screen and (min-width: 769px){.ds-stack.gap-x-none,.ds-stack.gap-col-none,.ds-stack.has-space-col-none,.ds-stack-content.gap-x-none,.ds-stack-content.gap-col-none,.ds-stack-content.has-space-col-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}}@media screen and (min-width: 1024px){.ds-stack.gap-x-none,.ds-stack.gap-col-none,.ds-stack.has-space-col-none,.ds-stack-content.gap-x-none,.ds-stack-content.gap-col-none,.ds-stack-content.has-space-col-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}}.ds-stack.gap-y-none,.ds-stack.gap-row-none,.ds-stack.has-space-row-none,.ds-stack-content.gap-y-none,.ds-stack-content.gap-row-none,.ds-stack-content.has-space-row-none{row-gap:0}@media screen and (min-width: 769px){.ds-stack.gap-y-none,.ds-stack.gap-row-none,.ds-stack.has-space-row-none,.ds-stack-content.gap-y-none,.ds-stack-content.gap-row-none,.ds-stack-content.has-space-row-none{row-gap:0}}@media screen and (min-width: 1024px){.ds-stack.gap-y-none,.ds-stack.gap-row-none,.ds-stack.has-space-row-none,.ds-stack-content.gap-y-none,.ds-stack-content.gap-row-none,.ds-stack-content.has-space-row-none{row-gap:0}}.ds-stack.gap-2xs,.ds-stack.has-space-2xs,.ds-stack-content.gap-2xs,.ds-stack-content.has-space-2xs{gap:var(--ds-device-space-2xs)}.ds-stack.gap-xs,.ds-stack.has-space-xs,.ds-stack-content.gap-xs,.ds-stack-content.has-space-xs{gap:var(--ds-device-space-xs)}.ds-stack.gap-sm,.ds-stack.has-space-sm,.ds-stack-content.gap-sm,.ds-stack-content.has-space-sm{gap:var(--ds-device-space-sm)}.ds-stack.gap-base,.ds-stack.has-space-base,.ds-stack-content.gap-base,.ds-stack-content.has-space-base{gap:var(--ds-device-space-base)}.ds-stack.gap-md,.ds-stack.has-space-md,.ds-stack-content.gap-md,.ds-stack-content.has-space-md{gap:var(--ds-device-space-md)}.ds-stack.gap-lg,.ds-stack.has-space-lg,.ds-stack-content.gap-lg,.ds-stack-content.has-space-lg{gap:var(--ds-device-space-lg)}.ds-stack.gap-xl,.ds-stack.has-space-xl,.ds-stack-content.gap-xl,.ds-stack-content.has-space-xl{gap:var(--ds-device-space-xl)}.ds-stack.gap-2xl,.ds-stack.has-space-2xl,.ds-stack-content.gap-2xl,.ds-stack-content.has-space-2xl{gap:var(--ds-device-space-2xl)}.ds-stack.gap-x-2xs,.ds-stack.gap-col-2xs,.ds-stack.has-space-col-2xs,.ds-stack-content.gap-x-2xs,.ds-stack-content.gap-col-2xs,.ds-stack-content.has-space-col-2xs{-webkit-column-gap:var(--ds-device-space-2xs);-moz-column-gap:var(--ds-device-space-2xs);column-gap:var(--ds-device-space-2xs)}.ds-stack.gap-x-xs,.ds-stack.gap-col-xs,.ds-stack.has-space-col-xs,.ds-stack-content.gap-x-xs,.ds-stack-content.gap-col-xs,.ds-stack-content.has-space-col-xs{-webkit-column-gap:var(--ds-device-space-xs);-moz-column-gap:var(--ds-device-space-xs);column-gap:var(--ds-device-space-xs)}.ds-stack.gap-x-sm,.ds-stack.gap-col-sm,.ds-stack.has-space-col-sm,.ds-stack-content.gap-x-sm,.ds-stack-content.gap-col-sm,.ds-stack-content.has-space-col-sm{-webkit-column-gap:var(--ds-device-space-sm);-moz-column-gap:var(--ds-device-space-sm);column-gap:var(--ds-device-space-sm)}.ds-stack.gap-x-base,.ds-stack.gap-col-base,.ds-stack.has-space-col-base,.ds-stack-content.gap-x-base,.ds-stack-content.gap-col-base,.ds-stack-content.has-space-col-base{-webkit-column-gap:var(--ds-device-space-base);-moz-column-gap:var(--ds-device-space-base);column-gap:var(--ds-device-space-base)}.ds-stack.gap-x-md,.ds-stack.gap-col-md,.ds-stack.has-space-col-md,.ds-stack-content.gap-x-md,.ds-stack-content.gap-col-md,.ds-stack-content.has-space-col-md{-webkit-column-gap:var(--ds-device-space-md);-moz-column-gap:var(--ds-device-space-md);column-gap:var(--ds-device-space-md)}.ds-stack.gap-x-lg,.ds-stack.gap-col-lg,.ds-stack.has-space-col-lg,.ds-stack-content.gap-x-lg,.ds-stack-content.gap-col-lg,.ds-stack-content.has-space-col-lg{-webkit-column-gap:var(--ds-device-space-lg);-moz-column-gap:var(--ds-device-space-lg);column-gap:var(--ds-device-space-lg)}.ds-stack.gap-x-xl,.ds-stack.gap-col-xl,.ds-stack.has-space-col-xl,.ds-stack-content.gap-x-xl,.ds-stack-content.gap-col-xl,.ds-stack-content.has-space-col-xl{-webkit-column-gap:var(--ds-device-space-xl);-moz-column-gap:var(--ds-device-space-xl);column-gap:var(--ds-device-space-xl)}.ds-stack.gap-x-2xl,.ds-stack.gap-col-2xl,.ds-stack.has-space-col-2xl,.ds-stack-content.gap-x-2xl,.ds-stack-content.gap-col-2xl,.ds-stack-content.has-space-col-2xl{-webkit-column-gap:var(--ds-device-space-2xl);-moz-column-gap:var(--ds-device-space-2xl);column-gap:var(--ds-device-space-2xl)}.ds-stack.gap-y-2xs,.ds-stack.gap-row-2xs,.ds-stack.has-space-row-2xs,.ds-stack-content.gap-y-2xs,.ds-stack-content.gap-row-2xs,.ds-stack-content.has-space-row-2xs{row-gap:var(--ds-device-space-2xs)}.ds-stack.gap-y-xs,.ds-stack.gap-row-xs,.ds-stack.has-space-row-xs,.ds-stack-content.gap-y-xs,.ds-stack-content.gap-row-xs,.ds-stack-content.has-space-row-xs{row-gap:var(--ds-device-space-xs)}.ds-stack.gap-y-sm,.ds-stack.gap-row-sm,.ds-stack.has-space-row-sm,.ds-stack-content.gap-y-sm,.ds-stack-content.gap-row-sm,.ds-stack-content.has-space-row-sm{row-gap:var(--ds-device-space-sm)}.ds-stack.gap-y-base,.ds-stack.gap-row-base,.ds-stack.has-space-row-base,.ds-stack-content.gap-y-base,.ds-stack-content.gap-row-base,.ds-stack-content.has-space-row-base{row-gap:var(--ds-device-space-base)}.ds-stack.gap-y-md,.ds-stack.gap-row-md,.ds-stack.has-space-row-md,.ds-stack-content.gap-y-md,.ds-stack-content.gap-row-md,.ds-stack-content.has-space-row-md{row-gap:var(--ds-device-space-md)}.ds-stack.gap-y-lg,.ds-stack.gap-row-lg,.ds-stack.has-space-row-lg,.ds-stack-content.gap-y-lg,.ds-stack-content.gap-row-lg,.ds-stack-content.has-space-row-lg{row-gap:var(--ds-device-space-lg)}.ds-stack.gap-y-xl,.ds-stack.gap-row-xl,.ds-stack.has-space-row-xl,.ds-stack-content.gap-y-xl,.ds-stack-content.gap-row-xl,.ds-stack-content.has-space-row-xl{row-gap:var(--ds-device-space-xl)}.ds-stack.gap-y-2xl,.ds-stack.gap-row-2xl,.ds-stack.has-space-row-2xl,.ds-stack-content.gap-y-2xl,.ds-stack-content.gap-row-2xl,.ds-stack-content.has-space-row-2xl{row-gap:var(--ds-device-space-2xl)}.ds-stack>ds-radio{margin-top:-0.25rem}ds-content>ds-text,.ds-stack-content>ds-text,ds-content>.ds-text,.ds-stack-content>.ds-text,.ds-stack>ds-text,.ds-stack>ds-label,.ds-stack>ds-heading,.ds-stack>ds-heading:not(:last-child),.ds-stack>.ds-label,.ds-stack>.ds-heading,.ds-stack>.ds-heading:not(:last-child),.ds-stack>.ds-title,.ds-stack>.ds-title:not(:last-child),.ds-stack>.ds-subtitle,.ds-stack>.ds-subtitle:not(:last-child),.ds-stack>.ds-link,.ds-stack>.is-link,.ds-stack>p{margin:0}:host{position:static}"}},[260,"ds-stack",{align:[1],alignment:[1],direction:[1025],fitContent:[4,"fit-content"],p:[1],px:[1],py:[1],space:[1],spaceColumn:[1,"space-column"],spaceRow:[1,"space-row"],useWrap:[4,"use-wrap"]}]);function m(){"undefined"!=typeof customElements&&["ds-stack"].forEach((s=>{"ds-stack"===s&&(customElements.get(n(s))||customElements.define(n(s),v))}))}o([r("stack"),c("design:type",Function),c("design:paramtypes",[Function]),c("design:returntype",void 0)],v.prototype,"createLogger",null),o([h(l),c("design:type",String)],v.prototype,"align",void 0),o([h(l),c("design:type",String)],v.prototype,"alignment",void 0),o([h(g),c("design:type",String)],v.prototype,"direction",void 0),o([w("boolean"),c("design:type",Boolean)],v.prototype,"fitContent",void 0),o([h(p),c("design:type",String)],v.prototype,"p",void 0),o([h(p),c("design:type",String)],v.prototype,"px",void 0),o([h(p),c("design:type",String)],v.prototype,"py",void 0),o([h(k),c("design:type",String)],v.prototype,"space",void 0),o([h(k),c("design:type",String)],v.prototype,"spaceColumn",void 0),o([h(k),c("design:type",String)],v.prototype,"spaceRow",void 0),o([w("boolean"),c("design:type",Boolean)],v.prototype,"useWrap",void 0);export{v as S,m as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- import{D as t,F as r,G as a,I as i}from"./p-BZEWgXed.js";import{_ as s,L as e,a as d}from"./p-BZsCW9yV.js";import{h as o}from"./p-BYD3IPs8.js";import{H as l}from"./p-QyQjrb1P.js";import{T as b}from"./p-BaZBnuEF.js";import{O as c}from"./p-DE5aqD5-.js";import"./p-C0WbBTf4.js";const m=class{constructor(r){t(this,r),this.inverted=!1,this.bold=!1}createLogger(t){this.log=t}render(){return r(a,{key:"d83be30191ce9a74ab17f0c477780984296c056c",class:{"ds-card-header":!0}},r("span",{key:"e9987cb8c3cc4f309e7da6a95dd5e1a6756aabb3",class:{"ds-text":!0,"is-bold":this.bold,[`is-${this.color}`]:o(this.color)&&!this.inverted,"is-inverted":this.inverted}},r("slot",{key:"a71f62b0939612064bfef861fa60239195479356"})))}get el(){return i(this)}};s([e("card-subtitle"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],m.prototype,"createLogger",null),s([b("boolean"),d("design:type",Boolean)],m.prototype,"inverted",void 0),s([b("boolean"),d("design:type",Boolean)],m.prototype,"bold",void 0),s([c(l),d("design:type",String)],m.prototype,"color",void 0),m.style=":host{--_card-subtitle-position:var(--card-subtitle-position, var(--mod-card-subtitle-position, static));--_card-subtitle-top:var(--card-subtitle-top, var(--mod-card-subtitle-top));--_card-subtitle-right:var(--card-subtitle-right, var(--mod-card-subtitle-right));--_card-subtitle-bottom:var(--card-subtitle-bottom, var(--mod-card-subtitle-bottom));--_card-subtitle-left:var(--card-subtitle-left, var(--mod-card-subtitle-left));position:var(--_card-subtitle-position);top:var(--_card-subtitle-top);right:var(--_card-subtitle-right);bottom:var(--_card-subtitle-bottom);left:var(--_card-subtitle-left);--_card-subtitle-m:var(--card-subtitle-m, var(--mod-card-subtitle-m, 0));--_card-subtitle-my:var(--card-subtitle-my, var(--mod-card-subtitle-my));--_card-subtitle-mx:var(--card-subtitle-mx, var(--mod-card-subtitle-mx));--_card-subtitle-ml:var(--card-subtitle-ml, var(--mod-card-subtitle-ml));--_card-subtitle-mr:var(--card-subtitle-mr, var(--mod-card-subtitle-mr));--_card-subtitle-mt:var(--card-subtitle-mt, var(--mod-card-subtitle-mt));--_card-subtitle-mb:var(--card-subtitle-mb, var(--mod-card-subtitle-mb));margin:var(--_card-subtitle-m);margin-inline:var(--_card-subtitle-mx);margin-block:var(--_card-subtitle-my);margin-left:var(--_card-subtitle-ml);margin-right:var(--_card-subtitle-mr);margin-top:var(--_card-subtitle-mt);margin-bottom:var(--_card-subtitle-mb);display:-ms-flexbox;display:flex;margin:var(--_card-subtitle-m);margin-inline:var(--_card-subtitle-mx);margin-block:var(--_card-subtitle-my);margin-left:var(--_card-subtitle-ml);margin-right:var(--_card-subtitle-mr);margin-top:var(--_card-subtitle-mt);margin-bottom:var(--_card-subtitle-mb);position:var(--_card-subtitle-position);top:var(--_card-subtitle-top);right:var(--_card-subtitle-right);bottom:var(--_card-subtitle-bottom);left:var(--_card-subtitle-left)}:host{--mod-heading-color:var(--_card-color-text);color:var(--_card-color-text);grid-area:subtitle;grid-area:subtitle}";export{m as ds_card_subtitle}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- import{D as o,F as t,G as r,I as e,J as n,x as d}from"./p-BZEWgXed.js";import{_ as i,L as a,a as s}from"./p-BZsCW9yV.js";import{h as b}from"./p-BYD3IPs8.js";import{f as c,s as l}from"./p-BNUaCToz.js";import{c as v,d as u,e as h,f as m,g,B as p,h as k}from"./p-B2Xeuprg.js";import{T as x}from"./p-BaZBnuEF.js";import{O as f}from"./p-DE5aqD5-.js";import{a as y}from"./p-Bo-aKWH3.js";import{i as w}from"./p-ChyhE5ro.js";import{R as _}from"./p-Dd1T3Uhf.js";import{i as z}from"./p-HeR2XrjO.js";import{L as B}from"./p-reH0cIhP.js";import"./p-C0WbBTf4.js";const j=class{constructor(t){o(this,t),this._fetchedSrc="",this.svgContent="",this.svg="",this.src="",this.tile=!1,this.disabled=!1,this.invalid=!1,this.generateSvgContent=async()=>{if(this.src&&this.src!==this._fetchedSrc)return this._fetchedSrc=this.src,void(this.svgContent=await c(this.src));if(this.svg){const o=l(this.svg);o!==this.svgContent&&(this.svgContent=o)}}}createLogger(o){this.log=o}connectedCallback(){this.generateSvgContent()}async componentWillRender(){await this.generateSvgContent()}render(){return t(r,{key:"3e15d3aa7a3983c18904b64dca52df79bbb3231e","aria-hidden":"true",class:{[`is-${this.color}`]:b(this.color),[`is-${this.size}`]:b(this.size),"is-tile":this.tile,"is-disabled":this.disabled,"is-invalid":this.invalid}},t("div",{key:"e58eac2807533fb1efea2cc0a26da5f729be7a82",id:"inner",part:"inner",innerHTML:this.svgContent}))}get el(){return e(this)}};i([a("brand-icon"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],j.prototype,"createLogger",null),i([x("string"),s("design:type",String)],j.prototype,"svg",void 0),i([x("string"),s("design:type",String)],j.prototype,"src",void 0),i([f(v),s("design:type",Object)],j.prototype,"size",void 0),i([f(u),s("design:type",Object)],j.prototype,"color",void 0),i([x("boolean"),s("design:type",Boolean)],j.prototype,"tile",void 0),i([x("boolean"),s("design:type",Boolean)],j.prototype,"disabled",void 0),i([x("boolean"),s("design:type",Boolean)],j.prototype,"invalid",void 0),j.style=':host{--_brand-icon-position:var(--brand-icon-position, var(--mod-brand-icon-position, static));--_brand-icon-top:var(--brand-icon-top, var(--mod-brand-icon-top));--_brand-icon-right:var(--brand-icon-right, var(--mod-brand-icon-right));--_brand-icon-bottom:var(--brand-icon-bottom, var(--mod-brand-icon-bottom));--_brand-icon-left:var(--brand-icon-left, var(--mod-brand-icon-left));position:var(--_brand-icon-position);top:var(--_brand-icon-top);right:var(--_brand-icon-right);bottom:var(--_brand-icon-bottom);left:var(--_brand-icon-left);--_brand-icon-m:var(--brand-icon-m, var(--mod-brand-icon-m, 0));--_brand-icon-my:var(--brand-icon-my, var(--mod-brand-icon-my));--_brand-icon-mx:var(--brand-icon-mx, var(--mod-brand-icon-mx));--_brand-icon-ml:var(--brand-icon-ml, var(--mod-brand-icon-ml));--_brand-icon-mr:var(--brand-icon-mr, var(--mod-brand-icon-mr));--_brand-icon-mt:var(--brand-icon-mt, var(--mod-brand-icon-mt));--_brand-icon-mb:var(--brand-icon-mb, var(--mod-brand-icon-mb));margin:var(--_brand-icon-m);margin-inline:var(--_brand-icon-mx);margin-block:var(--_brand-icon-my);margin-left:var(--_brand-icon-ml);margin-right:var(--_brand-icon-mr);margin-top:var(--_brand-icon-mt);margin-bottom:var(--_brand-icon-mb);--_brand-icon-size:var(--brand-icon-size, var(--mod-brand-icon-size, var(--ds-brand-icon-size-base)));--_brand-icon-inner-size:var(--brand-icon-inner-size, var(--mod-brand-icon-inner-size, var(--ds-brand-icon-size-base)));--_brand-icon-inner-mt:var(--brand-icon-inner-mt, var(--mod-brand-icon-inner-mt, 0));--_brand-icon-color-background:var(--brand-icon-color-background, var(--mod-brand-icon-color-background, var(--ds-brand-icon-color-purple-background)));--_brand-icon-color-level-1:var(--brand-icon-color-level-1, var(--mod-brand-icon-color-level-1, var(--ds-brand-icon-color-purple-level1)));--_brand-icon-color-level-2:var(--brand-icon-color-level-2, var(--mod-brand-icon-color-level-2, var(--ds-brand-icon-color-purple-level2)));--_brand-icon-color-level-3:var(--brand-icon-color-level-3, var(--mod-brand-icon-color-level-3, var(--ds-brand-icon-color-purple-level3)));--_brand-icon-tile-size:var(--brand-icon-tile-size, var(--mod-brand-icon-tile-size, var(--ds-brand-icon-tile-size-base-mobile)));--_brand-icon-tile-size-tablet:var(--brand-icon-tile-size-tablet, var(--mod-brand-icon-tile-size-tablet, var(--ds-brand-icon-tile-size-base-tablet)));--_brand-icon-tile-size-desktop:var(--brand-icon-tile-size-desktop, var(--mod-brand-icon-tile-size-desktop, var(--ds-brand-icon-tile-size-base-desktop)));--_brand-icon-tile-color-background:var(--brand-icon-tile-color-background, var(--mod-brand-icon-tile-color-background, var(--ds-brand-icon-tile-color-purple)));--_brand-icon-tile-radius:var(--brand-icon-tile-radius, var(--mod-brand-icon-tile-radius, var(--ds-brand-icon-tile-radius)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;pointer-events:visible;width:var(--_brand-icon-size);height:var(--_brand-icon-size);max-height:var(--_brand-icon-size)}:host #inner{display:block;position:static;z-index:1;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;margin-top:var(--_brand-icon-inner-mt);width:var(--_brand-icon-inner-size);height:var(--_brand-icon-inner-size);max-height:var(--_brand-icon-inner-size)}:host #inner svg{vertical-align:top;fill:var(--_brand-icon-color-level-1)}:host #inner svg * [fill="#000d6e"]{fill:var(--_brand-icon-color-level-1)}:host #inner svg * [fill="#fa9319"],:host #inner svg * [fill="#d9304c"],:host #inner svg * [fill="#1b5951"],:host #inner svg * [fill="#6c2273"]{fill:var(--_brand-icon-color-level-2)}:host #inner svg * [fill="#fae052"],:host #inner svg * [fill="#ffaca6"],:host #inner svg * [fill="#b8b2ff"],:host #inner svg * [fill="#94e3d4"]{fill:var(--_brand-icon-color-level-3)}:host(.is-tile){background:var(--_brand-icon-color-background);border-radius:var(--_brand-icon-tile-radius);height:var(--_brand-icon-tile-size);--mod-brand-icon-size:var(--_brand-icon-tile-size);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size)}@media screen and (min-width: 769px){:host(.is-tile){height:var(--_brand-icon-tile-size-tablet);--mod-brand-icon-size:var(--_brand-icon-tile-size-tablet);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size-tablet)}}@media screen and (min-width: 1024px){:host(.is-tile){height:var(--_brand-icon-tile-size-desktop);--mod-brand-icon-size:var(--_brand-icon-tile-size-desktop);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size-desktop)}}:host(.is-sm:not(.is-tile)){--mod-brand-icon-size:var(--ds-brand-icon-size-sm);--mod-brand-icon-inner-size:var(--ds-brand-icon-size-sm)}:host(.is-sm.is-tile){--mod-brand-icon-tile-size:var(--ds-brand-icon-tile-size-sm-mobile);--mod-brand-icon-tile-size-tablet:var(--ds-brand-icon-tile-size-sm-tablet);--mod-brand-icon-tile-size-desktop:var(--ds-brand-icon-tile-size-sm-desktop)}:host(.is-lg:not(.is-tile)){--mod-brand-icon-size:var(--ds-brand-icon-size-lg);--mod-brand-icon-inner-size:var(--ds-brand-icon-size-lg)}:host(.is-lg.is-tile){--mod-brand-icon-tile-size:var(--ds-brand-icon-tile-size-lg-mobile);--mod-brand-icon-tile-size-tablet:var(--ds-brand-icon-tile-size-lg-tablet);--mod-brand-icon-tile-size-desktop:var(--ds-brand-icon-tile-size-lg-desktop)}:host(.is-purple:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-purple-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-purple-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-purple-level3)}:host(.is-purple.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-purple-background)}:host(.is-red:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-red-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-red-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-red-level3)}:host(.is-red.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-red-background)}:host(.is-green:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-green-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-green-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-green-level3)}:host(.is-green.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-green-background)}:host(.is-yellow:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-yellow-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-yellow-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-yellow-level3)}:host(.is-yellow.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-yellow-background)}:host(.is-disabled){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-disabled-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-disabled-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-disabled-level3)}:host(.is-disabled.is-tile){--mod-brand-icon-color-background:var(--ds-brand-icon-color-disabled-background)}:host(.is-invalid){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-invalid-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-invalid-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-invalid-level3)}:host(.is-invalid.is-tile){--mod-brand-icon-color-background:var(--ds-brand-icon-color-invalid-background)}';const C=class{constructor(t){o(this,t),this.dsClick=n(this,"dsClick"),this.dsNavigate=n(this,"dsNavigate"),this.dsFocus=n(this,"dsFocus"),this.dsBlur=n(this,"dsBlur"),this.dsDidRender=n(this,"dsDidRender"),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.inheritAttributes={},this.color="primary",this.elementType="button",this.disabled=!1,this.href="",this.target="_self",this.rel="",this.download="",this.shadow=!1,this.square=!1,this.wide=!1,this.flat=!1,this.outlined=!1,this.inverted=!1,this.loading=!1,this.icon="",this.iconTurn=!1,this.iconRight="",this.brandIcon="",this.noWrap=!1,this.name="",this.value="",this.a11yControls="",this.a11yTitle="",this.a11yLabel="",this.a11yHaspopup="",this.handleHostClick=o=>{this.disabled&&(o.preventDefault(),o.stopPropagation())},this.handleFocus=()=>{this.dsFocus.emit()},this.handleBlur=()=>{this.dsBlur.emit()},this.handleClick=o=>{var t,r;this.disabled||("submit"===this.elementType&&(null===(t=this.internals.form)||void 0===t||t.requestSubmit()),"reset"===this.elementType&&(null===(r=this.internals.form)||void 0===r||r.reset()),this.dsClick.emit(o),b(this.href)&&this.dsNavigate.emit(o))}}createLogger(o){this.log=o}componentWillLoad(){this.inheritAttributes=w(this.el,["title","aria-label","aria-controls","aria-hidden","tabindex","aria-haspopup"]),this.el.hasAttribute("ds-popup")&&!this.a11yHaspopup&&(this.a11yHaspopup="true")}componentDidRender(){this.dsDidRender.emit()}listenToClick(o){this.disabled&&o.target&&o.target===this.el&&(o.preventDefault(),o.stopPropagation())}get isIconInverted(){return this.inverted}get hasBrandIcon(){return b(this.brandIcon)}get isBrandIconSvg(){return this.brandIcon.trim().startsWith("<")}get brandIconColor(){const o=this.color.match(/^brand-(purple|red|yellow|green)$/);return o?o[1]:void 0}get leftIconAttrs(){return!b(this.icon)||this.loading?{style:{display:"none"}}:{}}get leftRightAttrs(){return!b(this.iconRight)||this.loading?{style:{display:"none"}}:{}}get loadingAttrs(){return this.loading?{}:{style:{display:"none"}}}render(){const{elementType:o,download:e,href:n,rel:d,target:i,name:a,value:s}=this,c=this.size||void 0,l=b(this.href)?"a":"button",v="button"===l?{type:o,name:a,value:s}:{download:e,href:n,rel:d,target:i},u={title:this.a11yTitle||this.inheritAttributes.title,"aria-label":this.a11yLabel||this.inheritAttributes["aria-label"]||this.a11yTitle||this.inheritAttributes.title,"aria-controls":this.a11yControls||this.inheritAttributes["aria-controls"],"aria-haspopup":this.a11yHaspopup||this.inheritAttributes["aria-haspopup"]};return t(r,{key:"1aa7a5df160205f1afd6ff9259126f57cfd93540",onClick:this.handleHostClick,class:{"is-wide":this.wide,[`is-${this.color||"primary"}`]:!0,[`is-${c}`]:b(c),"is-inverted":this.inverted,"is-disabled":this.disabled,"is-loading":this.loading,"is-flat":this.flat,"is-square":this.square,"has-shadow":this.shadow,"has-no-wrap":this.noWrap,"has-brand-icon":this.hasBrandIcon}},t(l,Object.assign({key:"407cbc66f40e0b119d3eb3789e3b0594bdd3e9f0"},v,this.inheritAttributes,{type:this.elementType,id:"button",part:"native",disabled:this.disabled||this.loading,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,"aria-busy":y(!!this.loading),"aria-disabled":y(this.disabled||this.loading)},u),this.loading?t("ds-spinner",Object.assign({},this.loadingAttrs,{part:"spinner",size:"sm",deactivated:!this.loading})):"",this.hasBrandIcon?t("ds-brand-icon",{part:"icon",svg:this.isBrandIconSvg?this.brandIcon:"",src:this.isBrandIconSvg?"":this.brandIcon,size:this.brandSize,color:this.brandIconColor}):b(this.icon)?t("ds-icon",Object.assign({},this.leftIconAttrs,{part:"icon",class:this.square?"":"icon-left",name:this.icon,size:c,turn:this.iconTurn,inverted:this.isIconInverted})):"",t("span",{key:"c18d7f77a05c20807d783ea1b6eeca05c03f57d2",part:"label"},t("slot",{key:"8adcfbb2c77f630fc2acd66480993200559bd617"})),!this.hasBrandIcon&&b(this.iconRight)?t("ds-icon",Object.assign({},this.leftRightAttrs,{part:"icon-right",class:"icon-right",name:this.iconRight,size:"sm",turn:this.iconTurn,inverted:this.isIconInverted})):""))}static get formAssociated(){return!0}get el(){return e(this)}};i([a("button"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],C.prototype,"createLogger",null),i([f(h),s("design:type",String)],C.prototype,"color",void 0),i([_(),f(m),s("design:type",String)],C.prototype,"elementType",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"disabled",void 0),i([f(g),s("design:type",Object)],C.prototype,"size",void 0),i([x("string"),s("design:type",String)],C.prototype,"href",void 0),i([_(),f(p),s("design:type",String)],C.prototype,"target",void 0),i([x("string"),s("design:type",String)],C.prototype,"rel",void 0),i([x("string"),s("design:type",String)],C.prototype,"download",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"shadow",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"square",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"wide",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"flat",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"outlined",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"inverted",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"loading",void 0),i([x("string"),s("design:type",String)],C.prototype,"icon",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"iconTurn",void 0),i([x("string"),s("design:type",String)],C.prototype,"iconRight",void 0),i([x("string"),s("design:type",String)],C.prototype,"brandIcon",void 0),i([f(k),s("design:type",Object)],C.prototype,"brandSize",void 0),i([x("boolean"),s("design:type",Boolean)],C.prototype,"noWrap",void 0),i([x("string"),s("design:type",String)],C.prototype,"name",void 0),i([x("string"),s("design:type",String)],C.prototype,"value",void 0),i([x("string"),s("design:type",String)],C.prototype,"a11yControls",void 0),i([x("string"),s("design:type",String)],C.prototype,"a11yTitle",void 0),i([x("string"),s("design:type",String)],C.prototype,"a11yLabel",void 0),i([x("string"),s("design:type",String)],C.prototype,"a11yHaspopup",void 0),C.style=":host{--_button-position:var(--button-position, var(--mod-button-position, static));--_button-top:var(--button-top, var(--mod-button-top));--_button-right:var(--button-right, var(--mod-button-right));--_button-bottom:var(--button-bottom, var(--mod-button-bottom));--_button-left:var(--button-left, var(--mod-button-left));position:var(--_button-position);top:var(--_button-top);right:var(--_button-right);bottom:var(--_button-bottom);left:var(--_button-left);--_button-m:var(--button-m, var(--mod-button-m, 0));--_button-my:var(--button-my, var(--mod-button-my));--_button-mx:var(--button-mx, var(--mod-button-mx));--_button-ml:var(--button-ml, var(--mod-button-ml));--_button-mr:var(--button-mr, var(--mod-button-mr));--_button-mt:var(--button-mt, var(--mod-button-mt));--_button-mb:var(--button-mb, var(--mod-button-mb));margin:var(--_button-m);margin-inline:var(--_button-mx);margin-block:var(--_button-my);margin-left:var(--_button-ml);margin-right:var(--_button-mr);margin-top:var(--_button-mt);margin-bottom:var(--_button-mb);--_button-font-family:var(--button-font-family, var(--mod-button-font-family, var(--ds-button-size-base-font-family)));--_button-font-weight:var(--button-font-weight, var(--mod-button-font-weight, var(--ds-button-size-base-font-weight)));--_button-font-size:var(--button-font-size, var(--mod-button-font-size, var(--ds-button-size-base-font-size)));--_button-line-height:var(--button-line-height, var(--mod-button-line-height, var(--ds-button-size-base-line-height)));--_button-radius:var(--button-radius, var(--mod-button-radius, var(--ds-button-size-base-radius)));--_button-color-text:var(--button-color-text, var(--mod-button-color-text, var(--ds-button-color-primary-base-text)));--_button-color-border:var(--button-color-border, var(--mod-button-color-border, var(--ds-button-color-primary-base-border)));--_button-color-background:var(--button-color-background, var(--mod-button-color-background, var(--ds-button-color-primary-base-background)));--_button-color-text-hover:var(--button-color-text-hover, var(--mod-button-color-text-hover, var(--ds-button-color-primary-hover-text)));--_button-color-border-hover:var(--button-color-border-hover, var(--mod-button-color-border-hover, var(--ds-button-color-primary-hover-border)));--_button-color-background-hover:var(--button-color-background-hover, var(--mod-button-color-background-hover, var(--ds-button-color-primary-hover-background)));--_button-color-text-active:var(--button-color-text-active, var(--mod-button-color-text-active, var(--ds-button-color-primary-active-text)));--_button-color-border-active:var(--button-color-border-active, var(--mod-button-color-border-active, var(--ds-button-color-primary-active-border)));--_button-color-background-active:var(--button-color-background-active, var(--mod-button-color-background-active, var(--ds-button-color-primary-active-background)));--_button-width:var(--button-width, var(--mod-button-width, fit-content));--_button-gap:var(--button-gap, var(--mod-button-gap, var(--ds-button-size-base-gap)));--_button-min-height:var(--button-min-height, var(--mod-button-min-height, var(--ds-button-size-base-min-height)));--_button-min-width:var(--button-min-width, var(--mod-button-min-width, var(--ds-button-size-base-min-width)));--_button-px:var(--button-px, var(--mod-button-px, var(--ds-button-size-base-padding-x)));--_button-box-shadow:var(--button-box-shadow, var(--mod-button-box-shadow, none));--_button-text-shadow:var(--button-text-shadow, var(--mod-button-text-shadow, none));--_button-focus-shadow:var(--button-focus-shadow, var(--mod-button-focus-shadow, var(--ds-alias-interaction-focus-color-base)))}#button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}@media print{#button{display:none !important}}#button{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;vertical-align:middle;cursor:pointer;word-break:normal;outline:none;-webkit-box-sizing:border-box;box-sizing:border-box;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-shadow:var(--_button-box-shadow);box-shadow:var(--_button-box-shadow);text-shadow:var(--_button-text-shadow);-ms-touch-action:manipulation;touch-action:manipulation;-webkit-transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow,-webkit-box-shadow;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);font-size:var(--_button-font-size);font-family:var(--_button-font-family);font-weight:var(--_button-font-weight);line-height:var(--_button-line-height);border-radius:var(--_button-radius);width:var(--_button-width, -webkit-fit-content);width:var(--_button-width, -moz-fit-content);width:var(--_button-width, fit-content);min-width:var(--_button-min-width);min-height:var(--_button-min-height);gap:var(--_button-gap);padding-inline:var(--_button-px);background-color:var(--_button-color-background);color:var(--_button-color-text);border:var(--_button-color-border)}#button::-moz-focus-inner{border:0}#button{--spinner-logo-size:1.5rem;--icon-color:var(--_button-color-text)}#button:focus,#button:active{outline:none}@media (hover: hover)and (pointer: fine){#button:focus-visible:not(:active),#button.is-focused:not(:active){-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_button-focus-shadow) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_button-focus-shadow) 0 0 0 5px !important}}@media (hover: hover)and (pointer: fine){#button:hover,#button.is-hovered{--icon-color:var(--_button-color-text-hover);color:var(--_button-color-text-hover);background-color:var(--_button-color-background-hover);border:var(--_button-color-border-hover)}}#button:active,#button.is-pressed{--icon-color:var(--_button-color-text-active);background-color:var(--_button-color-background-active);color:var(--_button-color-text-active);border:var(--_button-color-border-active);translate:0 .5px}:host(.is-wide){width:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host(.is-wide) #button{width:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host(.has-brand-icon){-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.has-brand-icon) #button{-ms-flex-direction:column;flex-direction:column;text-align:center;padding:calc(var(--ds-button-size-base-padding-x)/2)}@media screen and (min-width: 769px){:host(.has-brand-icon) #button{padding:calc(var(--ds-button-size-base-padding-x))}}:host(.is-link) #button{text-decoration:underline;text-underline-offset:.25rem;text-decoration-thickness:var(--ds-link-underline-width)}:host ::slotted(ds-badge),:host ::slotted(.ds-badge){--badge-position:absolute;--badge-top:-0.5rem;--badge-right:-0.5rem}:host(.is-primary:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-primary-base-text);--mod-button-color-background:var(--ds-button-color-primary-base-background);--mod-button-color-border:var(--ds-button-color-primary-base-border);--mod-button-color-text-hover:var(--ds-button-color-primary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-primary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-primary-hover-border);--mod-button-color-text-active:var(--ds-button-color-primary-active-text);--mod-button-color-background-active:var(--ds-button-color-primary-active-background);--mod-button-color-border-active:var(--ds-button-color-primary-active-border)}:host(.is-secondary:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-secondary-base-text);--mod-button-color-background:var(--ds-button-color-secondary-base-background);--mod-button-color-border:var(--ds-button-color-secondary-base-border);--mod-button-color-text-hover:var(--ds-button-color-secondary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-secondary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-secondary-hover-border);--mod-button-color-text-active:var(--ds-button-color-secondary-active-text);--mod-button-color-background-active:var(--ds-button-color-secondary-active-background);--mod-button-color-border-active:var(--ds-button-color-secondary-active-border)}:host(.is-tertiary:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-tertiary-base-text);--mod-button-color-background:var(--ds-button-color-tertiary-base-background);--mod-button-color-border:var(--ds-button-color-tertiary-base-border);--mod-button-color-text-hover:var(--ds-button-color-tertiary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-tertiary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-tertiary-hover-border);--mod-button-color-text-active:var(--ds-button-color-tertiary-active-text);--mod-button-color-background-active:var(--ds-button-color-tertiary-active-background);--mod-button-color-border-active:var(--ds-button-color-tertiary-active-border)}:host(.is-ghost:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-ghost-base-text);--mod-button-color-background:var(--ds-button-color-ghost-base-background);--mod-button-color-border:var(--ds-button-color-ghost-base-border);--mod-button-color-text-hover:var(--ds-button-color-ghost-hover-text);--mod-button-color-background-hover:var(--ds-button-color-ghost-hover-background);--mod-button-color-border-hover:var(--ds-button-color-ghost-hover-border);--mod-button-color-text-active:var(--ds-button-color-ghost-active-text);--mod-button-color-background-active:var(--ds-button-color-ghost-active-background);--mod-button-color-border-active:var(--ds-button-color-ghost-active-border)}:host(.is-brand-purple:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-purple-base-text);--mod-button-color-background:var(--ds-button-color-brand-purple-base-background);--mod-button-color-border:var(--ds-button-color-brand-purple-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-purple-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-purple-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-purple-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-purple-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-purple-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-purple-active-border)}:host(.is-brand-red:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-red-base-text);--mod-button-color-background:var(--ds-button-color-brand-red-base-background);--mod-button-color-border:var(--ds-button-color-brand-red-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-red-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-red-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-red-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-red-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-red-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-red-active-border)}:host(.is-brand-yellow:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-yellow-base-text);--mod-button-color-background:var(--ds-button-color-brand-yellow-base-background);--mod-button-color-border:var(--ds-button-color-brand-yellow-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-yellow-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-yellow-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-yellow-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-yellow-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-yellow-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-yellow-active-border)}:host(.is-brand-green:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-brand-green-base-text);--mod-button-color-background:var(--ds-button-color-brand-green-base-background);--mod-button-color-border:var(--ds-button-color-brand-green-base-border);--mod-button-color-text-hover:var(--ds-button-color-brand-green-hover-text);--mod-button-color-background-hover:var(--ds-button-color-brand-green-hover-background);--mod-button-color-border-hover:var(--ds-button-color-brand-green-hover-border);--mod-button-color-text-active:var(--ds-button-color-brand-green-active-text);--mod-button-color-background-active:var(--ds-button-color-brand-green-active-background);--mod-button-color-border-active:var(--ds-button-color-brand-green-active-border)}:host(.is-info:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-info-base-text);--mod-button-color-background:var(--ds-button-color-info-base-background);--mod-button-color-border:var(--ds-button-color-info-base-border);--mod-button-color-text-hover:var(--ds-button-color-info-hover-text);--mod-button-color-background-hover:var(--ds-button-color-info-hover-background);--mod-button-color-border-hover:var(--ds-button-color-info-hover-border);--mod-button-color-text-active:var(--ds-button-color-info-active-text);--mod-button-color-background-active:var(--ds-button-color-info-active-background);--mod-button-color-border-active:var(--ds-button-color-info-active-border)}:host(.is-success:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-success-base-text);--mod-button-color-background:var(--ds-button-color-success-base-background);--mod-button-color-border:var(--ds-button-color-success-base-border);--mod-button-color-text-hover:var(--ds-button-color-success-hover-text);--mod-button-color-background-hover:var(--ds-button-color-success-hover-background);--mod-button-color-border-hover:var(--ds-button-color-success-hover-border);--mod-button-color-text-active:var(--ds-button-color-success-active-text);--mod-button-color-background-active:var(--ds-button-color-success-active-background);--mod-button-color-border-active:var(--ds-button-color-success-active-border)}:host(.is-warning:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-warning-base-text);--mod-button-color-background:var(--ds-button-color-warning-base-background);--mod-button-color-border:var(--ds-button-color-warning-base-border);--mod-button-color-text-hover:var(--ds-button-color-warning-hover-text);--mod-button-color-background-hover:var(--ds-button-color-warning-hover-background);--mod-button-color-border-hover:var(--ds-button-color-warning-hover-border);--mod-button-color-text-active:var(--ds-button-color-warning-active-text);--mod-button-color-background-active:var(--ds-button-color-warning-active-background);--mod-button-color-border-active:var(--ds-button-color-warning-active-border)}:host(.is-danger:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-danger-base-text);--mod-button-color-background:var(--ds-button-color-danger-base-background);--mod-button-color-border:var(--ds-button-color-danger-base-border);--mod-button-color-text-hover:var(--ds-button-color-danger-hover-text);--mod-button-color-background-hover:var(--ds-button-color-danger-hover-background);--mod-button-color-border-hover:var(--ds-button-color-danger-hover-border);--mod-button-color-text-active:var(--ds-button-color-danger-active-text);--mod-button-color-background-active:var(--ds-button-color-danger-active-background);--mod-button-color-border-active:var(--ds-button-color-danger-active-border)}:host(.is-link:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-link-base-text);--mod-button-color-background:var(--ds-button-color-link-base-background);--mod-button-color-border:var(--ds-button-color-link-base-border);--mod-button-color-text-hover:var(--ds-button-color-link-hover-text);--mod-button-color-background-hover:var(--ds-button-color-link-hover-background);--mod-button-color-border-hover:var(--ds-button-color-link-hover-border);--mod-button-color-text-active:var(--ds-button-color-link-active-text);--mod-button-color-background-active:var(--ds-button-color-link-active-background);--mod-button-color-border-active:var(--ds-button-color-link-active-border)}:host(.is-text:not(.is-inverted):not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-text-base-text);--mod-button-color-background:var(--ds-button-color-text-base-background);--mod-button-color-border:var(--ds-button-color-text-base-border);--mod-button-color-text-hover:var(--ds-button-color-text-hover-text);--mod-button-color-background-hover:var(--ds-button-color-text-hover-background);--mod-button-color-border-hover:var(--ds-button-color-text-hover-border);--mod-button-color-text-active:var(--ds-button-color-text-active-text);--mod-button-color-background-active:var(--ds-button-color-text-active-background);--mod-button-color-border-active:var(--ds-button-color-text-active-border)}:host(.is-primary.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-purple.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-red.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-yellow.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-brand-green.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-info.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-success.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-warning.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-danger.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-base-text);--mod-button-color-background:var(--ds-button-color-inverted-base-background);--mod-button-color-border:var(--ds-button-color-inverted-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-active-border)}:host(.is-secondary.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-secondary-base-text);--mod-button-color-background:var(--ds-button-color-inverted-secondary-base-background);--mod-button-color-border:var(--ds-button-color-inverted-secondary-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-secondary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-secondary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-secondary-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-secondary-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-secondary-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-secondary-active-border)}:host(.is-tertiary.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-tertiary-base-text);--mod-button-color-background:var(--ds-button-color-inverted-tertiary-base-background);--mod-button-color-border:var(--ds-button-color-inverted-tertiary-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-tertiary-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-tertiary-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-tertiary-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-tertiary-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-tertiary-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-tertiary-active-border)}:host(.is-ghost.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-ghost-base-text);--mod-button-color-background:var(--ds-button-color-inverted-ghost-base-background);--mod-button-color-border:var(--ds-button-color-inverted-ghost-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-ghost-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-ghost-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-ghost-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-ghost-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-ghost-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-ghost-active-border)}:host(.is-text.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-text-base-text);--mod-button-color-background:var(--ds-button-color-inverted-text-base-background);--mod-button-color-border:var(--ds-button-color-inverted-text-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-text-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-text-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-text-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-text-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-text-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-text-active-border)}:host(.is-link.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-color-text:var(--ds-button-color-inverted-link-base-text);--mod-button-color-background:var(--ds-button-color-inverted-link-base-background);--mod-button-color-border:var(--ds-button-color-inverted-link-base-border);--mod-button-color-text-hover:var(--ds-button-color-inverted-link-hover-text);--mod-button-color-background-hover:var(--ds-button-color-inverted-link-hover-background);--mod-button-color-border-hover:var(--ds-button-color-inverted-link-hover-border);--mod-button-color-text-active:var(--ds-button-color-inverted-link-active-text);--mod-button-color-background-active:var(--ds-button-color-inverted-link-active-background);--mod-button-color-border-active:var(--ds-button-color-inverted-link-active-border)}:host(.is-inverted:not(.is-disabled):not(.is-loading)){--mod-button-focus-shadow:var(--ds-alias-interaction-focus-color-inverted)}:host(.is-sm){--mod-button-font-family:var(--ds-button-size-sm-font-family);--mod-button-font-weight:var(--ds-button-size-sm-font-weight);--mod-button-font-size:var(--ds-button-size-sm-font-size);--mod-button-line-height:var(--ds-button-size-sm-line-height);--mod-button-radius:var(--ds-button-size-sm-radius);--mod-button-gap:var(--ds-button-size-sm-gap);--mod-button-min-height:var(--ds-button-size-sm-min-height);--mod-button-min-width:var(--ds-button-size-sm-min-width);--mod-button-px:var(--ds-button-size-sm-padding-x)}:host(.is-lg){--mod-button-font-family:var(--ds-button-size-lg-font-family);--mod-button-font-weight:var(--ds-button-size-lg-font-weight);--mod-button-font-size:var(--ds-button-size-lg-font-size);--mod-button-line-height:var(--ds-button-size-lg-line-height);--mod-button-radius:var(--ds-button-size-lg-radius);--mod-button-gap:var(--ds-button-size-lg-gap);--mod-button-min-height:var(--ds-button-size-lg-min-height);--mod-button-min-width:var(--ds-button-size-lg-min-width);--mod-button-px:var(--ds-button-size-lg-padding-x)}:host(.is-flat){--mod-button-px:0;--mod-button-min-height:1.75rem}:host(.is-square:not(.is-sm)){--mod-button-px:0;--mod-button-gap:0;--mod-button-min-height:3rem;--mod-button-min-width:3rem;--icon-size:1.5rem}:host(.is-square.is-sm){--mod-button-px:0;--mod-button-gap:0;--mod-button-min-height:2rem;--mod-button-min-width:2rem;--icon-size:var(--ds-icon-size-sm)}:host(.has-shadow:not(.is-link):not(.is-ghost)){--mod-button-box-shadow:var(--ds-alias-shadow-box-base)}:host(.is-ghost.has-shadow),:host(.is-link.has-shadow){--mod-button-text-shadow:var(--ds-alias-shadow-text)}:host(.has-no-wrap){max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}:host(.has-no-wrap) #button{display:inline-block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}:host #button[disabled],:host #button[disabled]:hover,:host #button[disabled].is-hovered,:host #button[disabled]:active,:host #button[disabled].is-pressed,:host #button[disabled]:focus,:host #button[disabled].is-focused{pointer-events:none;opacity:1;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;cursor:default;translate:0 0;background-color:var(--ds-button-color-disabled-base-background);border:var(--ds-button-color-disabled-base-border);color:var(--ds-button-color-disabled-base-text)}:host #button[disabled]>ds-icon,:host #button[disabled]:hover>ds-icon,:host #button[disabled].is-hovered>ds-icon,:host #button[disabled]:active>ds-icon,:host #button[disabled].is-pressed>ds-icon,:host #button[disabled]:focus>ds-icon,:host #button[disabled].is-focused>ds-icon{--icon-color:var(--ds-button-color-disabled-base-text)}:host #button[disabled]>ds-spinner,:host #button[disabled]:hover>ds-spinner,:host #button[disabled].is-hovered>ds-spinner,:host #button[disabled]:active>ds-spinner,:host #button[disabled].is-pressed>ds-spinner,:host #button[disabled]:focus>ds-spinner,:host #button[disabled].is-focused>ds-spinner{--spinner-color:var(--ds-button-color-disabled-base-text)}:host #button[disabled]>ds-spinner.is-circle,:host #button[disabled]:hover>ds-spinner.is-circle,:host #button[disabled].is-hovered>ds-spinner.is-circle,:host #button[disabled]:active>ds-spinner.is-circle,:host #button[disabled].is-pressed>ds-spinner.is-circle,:host #button[disabled]:focus>ds-spinner.is-circle,:host #button[disabled].is-focused>ds-spinner.is-circle{--spinner-circle-color-border-background:var(--ds-global-color-grey-4);--spinner-circle-color-border-progress:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button,:host(.is-loading) #button:hover,:host(.is-loading) #button.is-hovered,:host(.is-loading) #button:active,:host(.is-loading) #button.is-pressed,:host(.is-loading) #button:focus,:host(.is-loading) #button.is-focused{pointer-events:none;opacity:1;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;cursor:default;translate:0 0;background-color:var(--ds-button-color-disabled-base-background);border:var(--ds-button-color-disabled-base-border);color:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button>ds-icon,:host(.is-loading) #button:hover>ds-icon,:host(.is-loading) #button.is-hovered>ds-icon,:host(.is-loading) #button:active>ds-icon,:host(.is-loading) #button.is-pressed>ds-icon,:host(.is-loading) #button:focus>ds-icon,:host(.is-loading) #button.is-focused>ds-icon{--icon-color:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button>ds-spinner,:host(.is-loading) #button:hover>ds-spinner,:host(.is-loading) #button.is-hovered>ds-spinner,:host(.is-loading) #button:active>ds-spinner,:host(.is-loading) #button.is-pressed>ds-spinner,:host(.is-loading) #button:focus>ds-spinner,:host(.is-loading) #button.is-focused>ds-spinner{--spinner-color:var(--ds-button-color-disabled-base-text)}:host(.is-loading) #button>ds-spinner.is-circle,:host(.is-loading) #button:hover>ds-spinner.is-circle,:host(.is-loading) #button.is-hovered>ds-spinner.is-circle,:host(.is-loading) #button:active>ds-spinner.is-circle,:host(.is-loading) #button.is-pressed>ds-spinner.is-circle,:host(.is-loading) #button:focus>ds-spinner.is-circle,:host(.is-loading) #button.is-focused>ds-spinner.is-circle{--spinner-circle-color-border-background:var(--ds-global-color-grey-4);--spinner-circle-color-border-progress:var(--ds-button-color-disabled-base-text)}:host{display:inline-block;width:var(--_button-width)}:host #button{margin:0 !important;width:100%}";const S=class{constructor(t){o(this,t),this.language=d.language,this.region=d.region,this.inverted=!1,this.disabled=!1,this.button=!1}createLogger(o){this.log=o}async configChanged(o){this.language=o.language,this.region=o.region}render(){const o=z[this.language].close;return this.button?t(r,null,t("ds-button",{id:"close",part:"button",disabled:this.disabled,inverted:this.inverted,color:this.buttonColor,size:this.buttonSize},o)):t(r,{class:{[`is-${this.size}`]:b(this.size),"is-inverted":this.inverted,"is-disabled":this.disabled}},t("button",{id:"close",part:"button",type:"button","aria-label":o,title:o,tabindex:"0",disabled:this.disabled}))}get el(){return e(this)}};i([a("close"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],S.prototype,"createLogger",null),i([f(["sm","md"]),s("design:type",String)],S.prototype,"size",void 0),i([x("boolean"),s("design:type",Boolean)],S.prototype,"inverted",void 0),i([x("boolean"),s("design:type",Boolean)],S.prototype,"disabled",void 0),i([x("boolean"),s("design:type",Boolean)],S.prototype,"button",void 0),i([f(h),s("design:type",String)],S.prototype,"buttonColor",void 0),i([f(["sm","lg"]),s("design:type",String)],S.prototype,"buttonSize",void 0),i([B(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],S.prototype,"configChanged",null),S.style=":host{--_close-position:var(--close-position, var(--mod-close-position, static));--_close-top:var(--close-top, var(--mod-close-top));--_close-right:var(--close-right, var(--mod-close-right));--_close-bottom:var(--close-bottom, var(--mod-close-bottom));--_close-left:var(--close-left, var(--mod-close-left));position:var(--_close-position);top:var(--_close-top);right:var(--_close-right);bottom:var(--_close-bottom);left:var(--_close-left);--_close-m:var(--close-m, var(--mod-close-m, 0));--_close-my:var(--close-my, var(--mod-close-my));--_close-mx:var(--close-mx, var(--mod-close-mx));--_close-ml:var(--close-ml, var(--mod-close-ml));--_close-mr:var(--close-mr, var(--mod-close-mr));--_close-mt:var(--close-mt, var(--mod-close-mt));--_close-mb:var(--close-mb, var(--mod-close-mb));margin:var(--_close-m);margin-inline:var(--_close-mx);margin-block:var(--_close-my);margin-left:var(--_close-ml);margin-right:var(--_close-mr);margin-top:var(--_close-mt);margin-bottom:var(--_close-mb);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}@media print{:host{display:none !important}}:host{display:inline-block}button{--_close-color-background:var(--close-color-background, var(--mod-close-color-background, var(--ds-close-primary-color-background-base)));--_close-color-background-hover:var(--close-color-background-hover, var(--mod-close-color-background-hover, var(--ds-close-primary-color-background-hover)));--_close-color-background-active:var(--close-color-background-active, var(--mod-close-color-background-active, var(--ds-close-primary-color-background-active)));--_close-color-icon:var(--close-color-icon, var(--mod-close-color-icon, var(--ds-close-primary-color-icon-base)));--_close-color-focus:var(--close-color-focus, var(--mod-close-color-focus, var(--ds-alias-interaction-focus-color-base)));--_close-radius:var(--close-radius, var(--mod-close-radius, var(--ds-close-radius)));--_close-size-icon:var(--close-size-icon, var(--mod-close-size-icon, var(--ds-close-size-base)));--_close-p:var(--close-p, var(--mod-close-p, var(--ds-close-padding-base)));--_close-icon:var(--close-icon, var(--mod-close-icon, url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill-rule='evenodd' d='M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z' clip-rule='evenodd'/%3E%3C/svg%3E\")));-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}@media print{button{display:none !important}}button{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:top;border:none;background:var(--_close-color-background);border-radius:var(--_close-radius);width:var(--_close-size-icon);height:var(--_close-size-icon);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow,-webkit-box-shadow;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}button::after{content:\"\";display:block;min-width:calc(var(--_close-size-icon) - var(--_close-p));min-height:calc(var(--_close-size-icon) - var(--_close-p));max-width:calc(var(--_close-size-icon) - var(--_close-p));max-height:calc(var(--_close-size-icon) - var(--_close-p));-webkit-mask-image:var(--_close-icon);mask-image:var(--_close-icon);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;background:var(--_close-color-icon)}button:not(:disabled){cursor:pointer}button:not(:disabled):hover{background:var(--_close-color-background-hover)}button:not(:disabled):active{background:var(--_close-color-background-active)}@media (hover: hover)and (pointer: fine){button:not(:disabled):focus-visible:not(:active),button:not(:disabled).is-focused:not(:active){-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_close-color-focus) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_close-color-focus) 0 0 0 5px !important}}:host(.is-sm){--mod-close-p:var(--ds-close-padding-sm);--mod-close-size-icon:var(--ds-close-size-sm)}:host(.is-md){--mod-close-p:var(--ds-close-padding-md);--mod-close-size-icon:var(--ds-close-size-md)}:host(.is-inverted:not(.is-disabled)){--mod-close-color-icon:var(--ds-close-inverted-color-icon-base);--mod-close-color-background-hover:var(--ds-close-inverted-color-background-hover);--mod-close-color-background-active:var(--ds-close-inverted-color-background-active);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-inverted)}:host(.is-disabled:not(.is-inverted)){--mod-close-color-icon:var(--ds-close-primary-color-icon-disabled);--mod-close-color-background:var(--ds-close-primary-color-background-disabled);--mod-close-color-background-hover:var(--ds-close-primary-color-background-disabled);--mod-close-color-background-active:var(--ds-close-primary-color-background-disabled);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-base)}:host(.is-inverted.is-disabled){--mod-close-color-icon:var(--ds-close-inverted-color-icon-disabled);--mod-close-color-background:var(--ds-close-inverted-color-background-disabled);--mod-close-color-background-hover:var(--ds-close-inverted-color-background-disabled);--mod-close-color-background-active:var(--ds-close-inverted-color-background-disabled);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-inverted)}";export{j as ds_brand_icon,C as ds_button,S as ds_close}
@@ -1,6 +0,0 @@
1
- /*!
2
- * (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
3
- */
4
- /*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
5
- function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}const e=Object.entries,n=Object.setPrototypeOf,r=Object.isFrozen,o=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor;let a=Object.freeze,l=Object.seal,c=Object.create,s="undefined"!=typeof Reflect&&Reflect,u=s.apply,f=s.construct;a||(a=function(t){return t}),l||(l=function(t){return t}),u||(u=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(e,r)}),f||(f=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const p=j(Array.prototype.forEach),m=j(Array.prototype.lastIndexOf),d=j(Array.prototype.pop),h=j(Array.prototype.push),y=j(Array.prototype.splice),g=Array.isArray,b=j(String.prototype.toLowerCase),w=j(String.prototype.toString),v=j(String.prototype.match),x=j(String.prototype.replace),S=j(String.prototype.indexOf),k=j(String.prototype.trim),T=j(Number.prototype.toString),A=j(Boolean.prototype.toString),E="undefined"==typeof BigInt?null:j(BigInt.prototype.toString),O="undefined"==typeof Symbol?null:j(Symbol.prototype.toString),z=j(Object.prototype.hasOwnProperty),D=j(Object.prototype.toString),R=j(RegExp.prototype.test),_=(L=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return f(L,e)});var L;function j(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return u(t,e,r)}}function M(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;if(n&&n(t,null),!g(e))return t;let i=e.length;for(;i--;){let n=e[i];if("string"==typeof n){const t=o(n);t!==n&&(r(e)||(e[i]=t),n=t)}t[n]=!0}return t}function N(t){for(let e=0;e<t.length;e++)z(t,e)||(t[e]=null);return t}function I(n){const r=c(null);for(const l of e(n)){var o=(a=2,function(t){if(Array.isArray(t))return t}(i=l)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e);else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(i,a)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
6
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */());const e=o[0],c=o[1];z(n,e)&&(r[e]=g(c)?N(c):c&&"object"==typeof c&&c.constructor===Object?I(c):c)}var i,a;return r}function C(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}t=o(t)}return function(){return null}}const F=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),G=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Y=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=a(["#text"]),q=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),H=a(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=a(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=l(/{{[\w\W]*|^[\w\W]*}}/g),X=l(/<%[\w\W]*|^[\w\W]*%>/g),J=l(/\${[\w\W]*/g),Q=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),Z=l(/^aria-[\-\w]+$/),tt=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),et=l(/^(?:\w+script|data):/i),nt=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rt=l(/^html$/i),ot=l(/^[a-z][.\w]*(-[.\w]+)+$/i),it=l(/<[/\w!]/g),at=l(/<[/\w]/g),lt=l(/<\/no(script|embed|frames)/i),ct=l(/\/>/i),st=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ut=a(M({},st)),ft=function(){const t={};return p(st,(e=>{t[e]=l(new RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))})),a(t)}(),pt=function(){return"undefined"==typeof window?null:window},mt=function(t,e,n,r){return z(t,e)&&g(t[e])?M(r.base?I(r.base):{},t[e],r.transform):n},dt=function(t,e,n){const r=z(t,e)?t[e]:void 0;return r&&"object"==typeof r?I(r):n()};var ht=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt();const r=e=>t(e);if(r.version="3.4.16",r.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return r.isSupported=!1,r;let o=n.document;const i=o,s=i.currentScript,u=n.HTMLTemplateElement,f=n.Node,L=n.NodeFilter,j=n.DOMParser,N=n.trustedTypes,st=n.Element.prototype,ht=C(st,"cloneNode"),yt=C(st,"remove"),gt=C(st,"removeAttributeNode"),bt=C(st,"nextSibling"),wt=C(st,"childNodes"),vt=C(st,"parentNode"),xt=C(st,"shadowRoot"),St=C(st,"attributes"),kt=f&&f.prototype?C(f.prototype,"nodeType"):null,Tt=f&&f.prototype?C(f.prototype,"nodeName"):null,At=f&&f.prototype?C(f.prototype,"ownerDocument"):null,Et=function(t){return kt?kt(t):t.nodeType},Ot=function(t){return Tt?Tt(t):t.nodeName};if("function"==typeof u){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let zt,Dt,Rt="",_t=!1,Lt=0;const jt=function(){if(Lt>0)throw _('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Mt=function(t){jt(),Lt++;try{return zt.createHTML(t)}finally{Lt--}},Nt=o.implementation,It=o.createNodeIterator,Ct=o.createDocumentFragment,Ft=o.getElementsByTagName,Bt=i.importNode;let Pt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof e&&"function"==typeof vt&&Nt&&void 0!==Nt.createHTMLDocument;const Ut=K,Gt=X,Yt=J,$t=Q,qt=Z,Ht=et,Wt=nt,Vt=ot;let Kt=tt,Xt=null;const Jt=M({},[...F,...B,...P,...G,...$]);let Qt=null;const Zt=M({},[...q,...H,...W,...V]);let te=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ee=null,ne=null;const re=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let oe=!0,ie=!0,ae=!1,le=!0,ce=!1,se=!0,ue=!1,fe=!1,pe=null,me=null,de=!1,he=!1,ye=!1,ge=!1,be=!0,we=!1;const ve="user-content-";let xe=!0,Se=!1,ke={},Te=null;const Ae=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ee=null;const Oe=M({},["audio","video","img","source","image","track"]);let ze=null;const De=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Re="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",Le="http://www.w3.org/1999/xhtml";let je=Le,Me=!1,Ne=null;const Ie=M({},[Re,_e,Le],w),Ce=a(["mi","mo","mn","ms","mtext"]);let Fe=M({},Ce);const Be=a(["annotation-xml"]);let Pe=M({},Be);const Ue=M({},["title","style","font","a","script"]);let Ge=null;const Ye=["application/xhtml+xml","text/html"];let $e=null,qe=null;const He=o.createElement("form"),We=function(t){return t instanceof RegExp||t instanceof Function},Ve=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(qe&&qe===t)return;t&&"object"==typeof t||(t={}),t=I(t),Ge=-1===Ye.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,$e="application/xhtml+xml"===Ge?w:b,Xt=mt(t,"ALLOWED_TAGS",Jt,{transform:$e}),Qt=mt(t,"ALLOWED_ATTR",Zt,{transform:$e}),Ne=mt(t,"ALLOWED_NAMESPACES",Ie,{transform:w}),ze=mt(t,"ADD_URI_SAFE_ATTR",De,{transform:$e,base:De}),Ee=mt(t,"ADD_DATA_URI_TAGS",Oe,{transform:$e,base:Oe}),Te=mt(t,"FORBID_CONTENTS",Ae,{transform:$e}),ee=mt(t,"FORBID_TAGS",I({}),{transform:$e}),ne=mt(t,"FORBID_ATTR",I({}),{transform:$e}),ke=!!z(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?I(t.USE_PROFILES):t.USE_PROFILES),oe=!1!==t.ALLOW_ARIA_ATTR,ie=!1!==t.ALLOW_DATA_ATTR,ae=t.ALLOW_UNKNOWN_PROTOCOLS||!1,le=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ce=t.SAFE_FOR_TEMPLATES||!1,se=!1!==t.SAFE_FOR_XML,ue=t.WHOLE_DOCUMENT||!1,he=t.RETURN_DOM||!1,ye=t.RETURN_DOM_FRAGMENT||!1,ge=t.RETURN_TRUSTED_TYPE||!1,de=t.FORCE_BODY||!1,be=!1!==t.SANITIZE_DOM,we=t.SANITIZE_NAMED_PROPS||!1,xe=!1!==t.KEEP_CONTENT,Se=t.IN_PLACE||!1,Kt=function(t){try{return R(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:tt,je="string"==typeof t.NAMESPACE?t.NAMESPACE:Le,Fe=dt(t,"MATHML_TEXT_INTEGRATION_POINTS",(()=>M({},Ce))),Pe=dt(t,"HTML_INTEGRATION_POINTS",(()=>M({},Be)));const e=dt(t,"CUSTOM_ELEMENT_HANDLING",(()=>c(null)));if(te=c(null),z(e,"tagNameCheck")&&We(e.tagNameCheck)&&(te.tagNameCheck=e.tagNameCheck),z(e,"attributeNameCheck")&&We(e.attributeNameCheck)&&(te.attributeNameCheck=e.attributeNameCheck),z(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(te.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),l(te),ce&&(ie=!1),ye&&(he=!0),ke&&(Xt=M({},$),Qt=c(null),!0===ke.html&&(M(Xt,F),M(Qt,q)),!0===ke.svg&&(M(Xt,B),M(Qt,H),M(Qt,V)),!0===ke.svgFilters&&(M(Xt,P),M(Qt,H),M(Qt,V)),!0===ke.mathMl&&(M(Xt,G),M(Qt,W),M(Qt,V))),re.tagCheck=null,re.attributeCheck=null,z(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?re.tagCheck=t.ADD_TAGS:g(t.ADD_TAGS)&&(Xt===Jt&&(Xt=I(Xt)),M(Xt,t.ADD_TAGS,$e))),z(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?re.attributeCheck=t.ADD_ATTR:g(t.ADD_ATTR)&&(Qt===Zt&&(Qt=I(Qt)),M(Qt,t.ADD_ATTR,$e))),z(t,"ADD_FORBID_CONTENTS")&&g(t.ADD_FORBID_CONTENTS)&&(Te===Ae&&(Te=I(Te)),M(Te,t.ADD_FORBID_CONTENTS,$e)),xe&&(Xt["#text"]=!0),ue&&M(Xt,["html","head","body"]),Xt.table&&(M(Xt,["tbody"]),delete ee.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=zt;zt=t.TRUSTED_TYPES_POLICY;try{Rt=Mt("")}catch(t){throw zt=e,t}}else null===t.TRUSTED_TYPES_POLICY?(zt=void 0,Rt=""):(void 0===zt&&(_t||(Dt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(N,s),_t=!0),zt=Dt),zt&&"string"==typeof Rt&&(Rt=Mt("")));a&&a(t),qe=t},Ke=M({},[...B,...P,...U]),Xe=M({},[...G,...Y]),Je=function(t){h(r.removed,{element:t});try{vt(t).removeChild(t)}catch(e){if(yt(t),!vt(t))throw _("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Qe=function(t,e,n){try{gt(t,e)}catch(e){try{t.removeAttribute(n)}catch(t){}}},Ze=function(t){nn(t);const e=wt(t);if(e){const t=[];p(e,(e=>{h(t,e)})),p(t,(t=>{try{yt(t)}catch(t){}}))}const n=St(t);if(n)for(let e=n.length-1;e>=0;--e){const r=n[e],o=r&&r.name;"string"==typeof o&&Qe(t,r,o)}},tn=function(t,e,n){if(!n)try{n=e.getAttributeNode(t)}catch(t){n=null}h(r.removed,{attribute:n||null,from:e});try{n?gt(e,n):e.removeAttribute(t)}catch(n){try{e.removeAttribute(t)}catch(t){}}if("is"===t)if(he||ye)try{Je(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},en=function(t){const e=St(t);if(e)for(let n=e.length-1;n>=0;--n){const r=e[n],o=r&&r.name;"string"!=typeof o||Qt[$e(o)]||Qe(t,r,o)}},nn=function(t){const e=[t];for(;e.length>0;){const t=e.pop();1===Et(t)&&en(t);const n=wt(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},rn=function(t,e){return!!se&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},on=function(t){let e=null,n=null;if(de)t="<remove></remove>"+t;else{const e=v(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Ge&&je===Le&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=zt?Mt(t):t;if(je===Le)try{e=(new j).parseFromString(r,Ge)}catch(t){}if(!e||!e.documentElement){e=Nt.createDocument(je,"template",null);try{e.documentElement.innerHTML=Me?Rt:r}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),je===Le?Ft.call(e,ue?"html":"body")[0]:ue?e.documentElement:i},an=function(t){const e=At?At(t):t.ownerDocument;return It.call(e||t,t,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},ln=function(t){return t=x(t,Ut," "),t=x(t,Gt," "),x(t,Yt," ")},cn=function(t){var e;t.normalize();const n=At?At(t):t.ownerDocument,r=It.call(n||t,t,L.SHOW_TEXT|L.SHOW_COMMENT|L.SHOW_CDATA_SECTION|L.SHOW_PROCESSING_INSTRUCTION,null);let o=r.nextNode();for(;o;)o.data=ln(o.data),o=r.nextNode();const i=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");i&&p(i,(t=>{un(t.content)&&cn(t.content)}))},sn=function(t){const e=Tt?Tt(t):null;return"string"==typeof e&&"form"===$e(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==St(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==kt(t)||t.childNodes!==wt(t))},un=function(t){if(!kt||"object"!=typeof t||null===t)return!1;try{return 11===kt(t)}catch(t){return!1}},fn=function(t){if(!kt||"object"!=typeof t||null===t)return!1;try{return"number"==typeof kt(t)}catch(t){return!1}};function pn(t,e,n){0!==t.length&&p(t,(t=>{t.call(r,e,n,qe)}))}const mn=function(t,e){if(t instanceof RegExp)return R(t,e);if(t instanceof Function){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Boolean(t(e,...r))}return!1},dn=function(t,e,n,r){return 0===t.length?e:e===n||e===r?I(e):e},hn=function(t,e){return t!==e&&null===vt(t)&&(Se&&nn(t),!0)},yn=function(t,e){if(pn(Pt.beforeSanitizeElements,t,null),hn(t,e))return!0;if(sn(t))return Je(t),!0;const n=$e(Ot(t));if(Xt=dn(Pt.uponSanitizeElement,Xt,Jt,pe),pn(Pt.uponSanitizeElement,t,{tagName:n,allowedTags:Xt}),hn(t,e))return!0;if(function(t,e){return!!(se&&t.hasChildNodes()&&!fn(t.firstElementChild)&&R(it,t.textContent)&&R(it,t.innerHTML))||!!(se&&t.namespaceURI===Le&&ut[e]&&(fn(t.firstElementChild)||"string"==typeof t.textContent&&R(ft[e],t.textContent)))||7===t.nodeType||!(!se||8!==t.nodeType||!R(at,t.data))}(t,n))return Je(t),!0;if(ee[n]||!(re.tagCheck instanceof Function&&re.tagCheck(n))&&!Xt[n]){const r=function(t,e,n){if(!ee[e]&&wn(e)&&mn(te.tagNameCheck,e))return!1;if(xe&&!Te[e]){const e=vt(t),r=wt(t);if(r&&e)for(let o=r.length-1;o>=0;--o){const i=t===n?ht(r[o],!0):r[o];e.insertBefore(i,bt(t))}}return Je(t),!0}(t,n,e);return!(!1!==r||(pn(Pt.afterSanitizeElements,t,null),!hn(t,e)))||r}if(1===Et(t)&&!function(t){let e=vt(t);e&&e.tagName||(e={namespaceURI:je,tagName:"template"});const n=b(t.tagName),r=b(e.tagName);return!!Ne[t.namespaceURI]&&(t.namespaceURI===_e?function(t,e,n){return e.namespaceURI===Le?"svg"===t:e.namespaceURI===Re?"svg"===t&&("annotation-xml"===n||Fe[n]):Boolean(Ke[t])}(n,e,r):t.namespaceURI===Re?function(t,e,n){return e.namespaceURI===Le?"math"===t:e.namespaceURI===_e?"math"===t&&Pe[n]:Boolean(Xe[t])}(n,e,r):t.namespaceURI===Le?function(t,e,n){return!(e.namespaceURI===_e&&!Pe[n])&&!(e.namespaceURI===Re&&!Fe[n])&&!Xe[t]&&(Ue[t]||!Ke[t])}(n,e,r):!("application/xhtml+xml"!==Ge||!Ne[t.namespaceURI]))}(t))return Je(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&R(lt,t.innerHTML))return Je(t),!0;if(ce&&3===t.nodeType){const e=ln(t.textContent);t.textContent!==e&&(h(r.removed,{element:t.cloneNode()}),t.textContent=e)}return pn(Pt.afterSanitizeElements,t,null),hn(t,e)},gn=function(t,e,n){if(ne[e])return!1;if(rn(e,t))return!1;if(be&&("id"===e||"name"===e)&&(n in o||n in He))return!1;const r=Qt[e]||re.attributeCheck instanceof Function&&re.attributeCheck(e,t);return!(!ie||!R($t,e))||!(!oe||!R(qt,e))||(r?!(!ze[e]&&!R(Kt,x(n,Wt,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==S(n,"data:")||!Ee[t])&&(!ae||R(Ht,x(n,Wt,"")))&&n):wn(t)&&mn(te.tagNameCheck,t)&&mn(te.attributeNameCheck,e,t)||"is"===e&&te.allowCustomizedBuiltInElements&&mn(te.tagNameCheck,n))},bn=M({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),wn=function(t){return!bn[b(t)]&&R(Vt,t)},vn=function(t,e,n,r){if(zt&&"object"==typeof N&&"function"==typeof N.getAttributeType&&!n)switch(N.getAttributeType(t,e)){case"TrustedHTML":return Mt(r);case"TrustedScriptURL":return function(t){jt(),Lt++;try{return zt.createScriptURL(t)}finally{Lt--}}(r)}return r},xn=function(t,e,n,r){try{return n?t.setAttributeNS(n,e,r):t.setAttribute(e,r),!sn(t)||(Je(t),!1)}catch(n){return tn(e,t),!1}},Sn=function(t,e){if(pn(Pt.beforeSanitizeAttributes,t,null),hn(t,e))return;const n=t.attributes;if(!n||sn(t))return;Qt=dn(Pt.uponSanitizeAttribute,Qt,Zt,me);const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Qt,forceKeepAttr:void 0};let i=n.length;const a=$e(t.nodeName);for(;i--;){const e=n[i],l=e.name,c=e.namespaceURI,s=e.value,u=$e(l),f=s;let p="value"===l?f:k(f),m=!1;o.attrName=u,o.attrValue=p,o.keepAttr=!0,o.forceKeepAttr=void 0,pn(Pt.uponSanitizeAttribute,t,o),p=o.attrValue,!we||"id"!==u&&"name"!==u||0===S(p,ve)||(tn(l,t,e),p=ve+p,m=!0),se&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)||"attributename"===u&&v(p,"href")?tn(l,t,e):o.forceKeepAttr||(!o.keepAttr||!le&&R(ct,p)?tn(l,t,e):(ce&&(p=ln(p)),gn(a,u,p)?(p=vn(a,u,c,p),p!==f&&xn(t,l,c,p)&&m&&d(r.removed)):tn(l,t,e)))}pn(Pt.afterSanitizeAttributes,t,null),hn(t,e)},kn=function(t){let e=null;const n=an(t);for(pn(Pt.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(pn(Pt.uponSanitizeShadowNode,e,null),yn(e,t),Sn(e,t),un(e.content)&&kn(e.content),1===Et(e)){const t=xt(e);un(t)&&(Tn(t),kn(t))}pn(Pt.afterSanitizeShadowDOM,t,null)},Tn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){kn(t.shadow);continue}const n=t.node,r=1===Et(n),o=wt(n);if(o)for(let t=o.length-1;t>=0;--t)e.push({node:o[t],shadow:null});if(r){const t=Tt?Tt(n):null;if("string"==typeof t&&"template"===$e(t)){const t=n.content;un(t)&&e.push({node:t,shadow:null})}}if(r){const t=xt(n);un(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,a=null,l=null;if(Me=!t,Me&&(t="\x3c!--\x3e"),"string"!=typeof t&&!fn(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return T(t);case"boolean":return A(t);case"bigint":return E?E(t):"0";case"symbol":return O?O(t):"Symbol()";case"undefined":default:return D(t);case"function":case"object":{if(null===t)return D(t);const e=t,n=C(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:D(t)}return D(t)}}}(t)))throw _("dirty is not a string, aborting");if(!r.isSupported)return t;fe?(Xt=pe,Qt=me):Ve(e),(Pt.uponSanitizeElement.length>0||Pt.uponSanitizeAttribute.length>0)&&(Xt=I(Xt)),Pt.uponSanitizeAttribute.length>0&&(Qt=I(Qt)),r.removed=[];const c=Se&&"string"!=typeof t&&fn(t);if(c){!function(t){if(!se)return;const e=[t];for(;e.length>0;){const t=e.pop(),n=Et(t);if(7===n||8===n&&R(at,t.data)){try{yt(t)}catch(t){}continue}if(1===n){const e=t,n=$e(Ot(t));try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&rn("for",n)&&e.removeAttribute("for")}catch(t){}}const r=wt(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}}(t);const e=Ot(t);if("string"==typeof e){const n=$e(e);if(!Xt[n]||ee[n])throw Ze(t),_("root node is forbidden and cannot be sanitized in-place")}if(sn(t))throw Ze(t),_("root node is clobbered and cannot be sanitized in-place");try{Tn(t)}catch(e){throw Ze(t),e}}else if(fn(t))n=on("\x3c!----\x3e"),o=n.ownerDocument.importNode(t,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o),Tn(n);else{if(!he&&!ce&&!ue&&-1===t.indexOf("<"))return zt&&ge?Mt(t):t;if(n=on(t),!n)return he?null:ge?Rt:""}n&&de&&Je(n.firstChild);const s=c?t:n;try{const t=an(s);for(;a=t.nextNode();)yn(a,s),Sn(a,s),un(a.content)&&kn(a.content)}catch(e){throw c&&(Ze(t),p(r.removed,(t=>{t.element&&nn(t.element)}))),e}if(c){let e=!1;if(p(r.removed,(n=>{n.element&&(n.element===t&&(e=!0),nn(n.element))})),e)throw _("a node selected for removal could not be safely returned; refusing to sanitize in place");return ce&&cn(t),t}if(he){if(ce&&cn(n),ye)for(l=Ct.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Qt.shadowroot||Qt.shadowrootmode)&&(l=Bt.call(i,l,!0)),l}let u=ue?n.outerHTML:n.innerHTML;return ue&&Xt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(rt,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ce&&(u=ln(u)),zt&&ge?Mt(u):u},r.setConfig=function(){Ve(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),fe=!0,pe=Xt,me=Qt},r.clearConfig=function(){qe=null,fe=!1,pe=null,me=null,zt=Dt,Rt=""},r.isValidAttribute=function(t,e,n){qe||Ve({});const r=$e(t),o=$e(e);return gn(r,o,n)},r.addHook=function(t,e){"function"==typeof e&&z(Pt,t)&&h(Pt[t],e)},r.removeHook=function(t,e){if(z(Pt,t)){if(void 0!==e){const n=m(Pt[t],e);return-1===n?void 0:y(Pt[t],n,1)[0]}return d(Pt[t])}},r.removeHooks=function(t){z(Pt,t)&&(Pt[t]=[])},r.removeAllHooks=function(){Pt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const yt=t=>ht.sanitize(t,{USE_PROFILES:{svg:!0},FORBID_ATTR:["height","width"]}),gt=new Map,bt=t=>{if(!gt.has(t)){const e=new URL(t,document.baseURI).href;gt.set(t,fetch(e).then((e=>{if(!e.ok)throw new Error(`ds-icon: failed to fetch SVG "${t}" (${e.status})`);return e.text()})).then((t=>yt(t))).catch((e=>(console.error(e),gt.delete(t),""))))}return gt.get(t)};export{bt as f,yt as s}