@solid-design-system/components 3.20.3 → 3.20.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/dist/components/es/badge.js +1 -1
  2. package/dist/components/es/base64Audio.js +1 -0
  3. package/dist/components/es/navigation-item.js +1 -1
  4. package/dist/components/es/solid-components2.js +1 -1
  5. package/dist/components/umd/solid-components.js +22 -22
  6. package/dist/custom-elements.json +1 -1
  7. package/dist/package/components/badge/badge.js +8 -8
  8. package/dist/package/components/navigation-item/navigation-item.js +2 -2
  9. package/dist/package/styles/tailwind.css.js +1 -1
  10. package/dist/versioned-components/es/accordion-group.js +1 -1
  11. package/dist/versioned-components/es/accordion.js +1 -1
  12. package/dist/versioned-components/es/audio.js +1 -1
  13. package/dist/versioned-components/es/badge.js +1 -1
  14. package/dist/versioned-components/es/base64Audio.js +1 -0
  15. package/dist/versioned-components/es/brandshape.js +1 -1
  16. package/dist/versioned-components/es/button.js +1 -1
  17. package/dist/versioned-components/es/carousel-item.js +1 -1
  18. package/dist/versioned-components/es/carousel.js +3 -3
  19. package/dist/versioned-components/es/checkbox-group.js +1 -1
  20. package/dist/versioned-components/es/checkbox.js +1 -1
  21. package/dist/versioned-components/es/dialog.js +1 -1
  22. package/dist/versioned-components/es/divider.js +1 -1
  23. package/dist/versioned-components/es/drawer.js +1 -1
  24. package/dist/versioned-components/es/dropdown.js +1 -1
  25. package/dist/versioned-components/es/expandable.js +1 -1
  26. package/dist/versioned-components/es/flipcard.js +1 -1
  27. package/dist/versioned-components/es/form.js +1 -1
  28. package/dist/versioned-components/es/header.js +1 -1
  29. package/dist/versioned-components/es/icon.js +1 -1
  30. package/dist/versioned-components/es/include.js +1 -1
  31. package/dist/versioned-components/es/input.js +1 -1
  32. package/dist/versioned-components/es/link.js +1 -1
  33. package/dist/versioned-components/es/map-marker.js +1 -1
  34. package/dist/versioned-components/es/navigation-item.js +1 -1
  35. package/dist/versioned-components/es/notification.js +1 -1
  36. package/dist/versioned-components/es/option.js +1 -1
  37. package/dist/versioned-components/es/quickfact.js +1 -1
  38. package/dist/versioned-components/es/radio-button.js +1 -1
  39. package/dist/versioned-components/es/radio-group.js +1 -1
  40. package/dist/versioned-components/es/radio.js +1 -1
  41. package/dist/versioned-components/es/scrollable.js +1 -1
  42. package/dist/versioned-components/es/select.js +3 -3
  43. package/dist/versioned-components/es/solid-components2.js +1 -1
  44. package/dist/versioned-components/es/spinner.js +1 -1
  45. package/dist/versioned-components/es/step-group.js +1 -1
  46. package/dist/versioned-components/es/step.js +1 -1
  47. package/dist/versioned-components/es/switch.js +1 -1
  48. package/dist/versioned-components/es/tab-group.js +1 -1
  49. package/dist/versioned-components/es/tab-panel.js +1 -1
  50. package/dist/versioned-components/es/tab.js +1 -1
  51. package/dist/versioned-components/es/tag.js +1 -1
  52. package/dist/versioned-components/es/teaser-media.js +1 -1
  53. package/dist/versioned-components/es/teaser.js +1 -1
  54. package/dist/versioned-components/es/textarea.js +1 -1
  55. package/dist/versioned-components/es/tooltip.js +2 -2
  56. package/dist/versioned-components/es/video.js +1 -1
  57. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  58. package/dist/versioned-package/_components/button-group/button-group.js +11 -11
  59. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  60. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  61. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  62. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  63. package/dist/versioned-package/components/audio/audio.d.ts +1 -1
  64. package/dist/versioned-package/components/audio/audio.js +6 -6
  65. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  66. package/dist/versioned-package/components/badge/badge.js +9 -9
  67. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  68. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  69. package/dist/versioned-package/components/button/button.d.ts +1 -1
  70. package/dist/versioned-package/components/button/button.js +4 -4
  71. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  72. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  73. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  74. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  75. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  76. package/dist/versioned-package/components/checkbox/checkbox.js +3 -3
  77. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  78. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
  79. package/dist/versioned-package/components/dialog/dialog.d.ts +1 -1
  80. package/dist/versioned-package/components/dialog/dialog.js +2 -2
  81. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  82. package/dist/versioned-package/components/divider/divider.js +2 -2
  83. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  84. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  85. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  86. package/dist/versioned-package/components/dropdown/dropdown.js +8 -8
  87. package/dist/versioned-package/components/expandable/expandable.d.ts +1 -1
  88. package/dist/versioned-package/components/expandable/expandable.js +2 -2
  89. package/dist/versioned-package/components/flipcard/flipcard.d.ts +1 -1
  90. package/dist/versioned-package/components/flipcard/flipcard.js +1 -1
  91. package/dist/versioned-package/components/header/header.d.ts +1 -1
  92. package/dist/versioned-package/components/header/header.js +4 -4
  93. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  94. package/dist/versioned-package/components/icon/icon.js +1 -1
  95. package/dist/versioned-package/components/include/include.d.ts +1 -1
  96. package/dist/versioned-package/components/include/include.js +1 -1
  97. package/dist/versioned-package/components/input/input.d.ts +1 -1
  98. package/dist/versioned-package/components/input/input.js +2 -2
  99. package/dist/versioned-package/components/link/link.d.ts +1 -1
  100. package/dist/versioned-package/components/link/link.js +2 -2
  101. package/dist/versioned-package/components/map-marker/map-marker.d.ts +1 -1
  102. package/dist/versioned-package/components/map-marker/map-marker.js +1 -1
  103. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  104. package/dist/versioned-package/components/navigation-item/navigation-item.js +6 -6
  105. package/dist/versioned-package/components/notification/notification.d.ts +1 -1
  106. package/dist/versioned-package/components/notification/notification.js +5 -5
  107. package/dist/versioned-package/components/option/option.d.ts +1 -1
  108. package/dist/versioned-package/components/option/option.js +2 -2
  109. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  110. package/dist/versioned-package/components/popup/popup.js +1 -1
  111. package/dist/versioned-package/components/quickfact/quickfact.d.ts +1 -1
  112. package/dist/versioned-package/components/quickfact/quickfact.js +2 -2
  113. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  114. package/dist/versioned-package/components/radio/radio.js +2 -2
  115. package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
  116. package/dist/versioned-package/components/radio-button/radio-button.js +2 -2
  117. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  118. package/dist/versioned-package/components/radio-group/radio-group.js +13 -13
  119. package/dist/versioned-package/components/scrollable/scrollable.d.ts +1 -1
  120. package/dist/versioned-package/components/scrollable/scrollable.js +3 -3
  121. package/dist/versioned-package/components/select/select.d.ts +4 -4
  122. package/dist/versioned-package/components/select/select.js +25 -25
  123. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  124. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  125. package/dist/versioned-package/components/step/step.d.ts +1 -1
  126. package/dist/versioned-package/components/step/step.js +2 -2
  127. package/dist/versioned-package/components/step-group/step-group.d.ts +1 -1
  128. package/dist/versioned-package/components/step-group/step-group.js +2 -2
  129. package/dist/versioned-package/components/switch/switch.d.ts +1 -1
  130. package/dist/versioned-package/components/switch/switch.js +1 -1
  131. package/dist/versioned-package/components/tab/tab.d.ts +1 -1
  132. package/dist/versioned-package/components/tab/tab.js +2 -2
  133. package/dist/versioned-package/components/tab-group/tab-group.d.ts +1 -1
  134. package/dist/versioned-package/components/tab-group/tab-group.js +13 -13
  135. package/dist/versioned-package/components/tab-panel/tab-panel.d.ts +1 -1
  136. package/dist/versioned-package/components/tab-panel/tab-panel.js +2 -2
  137. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  138. package/dist/versioned-package/components/tag/tag.js +2 -2
  139. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  140. package/dist/versioned-package/components/teaser-media/teaser-media.js +1 -1
  141. package/dist/versioned-package/components/textarea/textarea.d.ts +1 -1
  142. package/dist/versioned-package/components/textarea/textarea.js +2 -2
  143. package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
  144. package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
  145. package/dist/versioned-package/components/video/video.d.ts +1 -1
  146. package/dist/versioned-package/components/video/video.js +2 -2
  147. package/dist/versioned-package/internal/form.js +3 -3
  148. package/dist/versioned-package/styles/headline/headline.css.js +1 -1
  149. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  150. package/dist/versioned-package/utilities/autocomplete-config.js +4 -4
  151. package/dist/versioned-styles/solid-styles.css +1 -1
  152. package/dist/vscode.html-custom-data.json +45 -45
  153. package/dist/web-types.json +54 -46
  154. package/package.json +3 -3
@@ -1,51 +1,51 @@
1
- var t,e;t=this,e=function(t){var e,i;const r={name:"default",resolver:t=>{const e=t.split("/");return("content"===e[0]||"system"===e[0])&&(t="union-investment/"+t),`https://celum-icons.fe.union-investment.de/${t}.svg`},mutator:t=>{const e={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]};return e.currentColorFills=t.querySelectorAll('[fill="#00358e" i]'),e.currentColorStrokes=t.querySelectorAll('[stroke="#00358e" i]'),e.greenFills=t.querySelectorAll('[fill="#2d9d00" i]'),e.greenStrokes=t.querySelectorAll('[stroke="#2d9d00" i]'),e.currentColorFills.forEach((t=>{t.setAttribute("fill","currentColor")})),e.currentColorStrokes.forEach((t=>{t.setAttribute("stroke","currentColor")})),e.greenFills.forEach((t=>{t.setAttribute("fill","rgb(var(--sd-color-accent, 45 157 0) / var(--tw-bg-opacity, 1))")})),e.greenStrokes.forEach((t=>{t.setAttribute("stroke","rgb(var(--sd-color-accent, 45 157 0) / var(--tw-bg-opacity, 1))")})),t}},o=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"})),s={calendar:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1ZM6 4v1.667a1 1 0 0 0 2 0V4h8v1.667a1 1 0 0 0 2 0V4h2v4H4V4h2ZM4 20V10h16v10H4Z"/>\n <path d="m7.603 13.263.597.81.31-.25c.31-.25.593-.49.733-.63h.017c-.017.333-.033 1.14-.033 1.647V18h1.223v-6.03H9.353l-1.75 1.293ZM14.667 11.867c-1.543 0-2.26 1-2.26 3.163 0 1.9.667 3.063 2.217 3.063s2.193-1.18 2.193-3.13c-.017-2.063-.743-3.097-2.15-3.097v.001Zm-.044 5.333c-.647 0-1-.76-1-2.28 0-1.44.353-2.173 1-2.173s1 .743 1 2.233c0 1.49-.387 2.227-1.017 2.227l.017-.007Z"/>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>\n </svg>\n ',"chevron-up":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>\n </svg>\n ',clock:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13 11.587V8a1 1 0 0 0-2 0v4c0 .07.007.138.021.203l-.001-.006a.855.855 0 0 0 .029.093l-.002-.006c0 .033 0 .067.03.1a.709.709 0 0 0 .055.103l-.002-.003.037.07c.04.057.081.107.127.153l2.827 2.83a1.002 1.002 0 0 0 1.417-1.417L13 11.587Z"/>\n <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>\n </svg>\n ',close:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>\n </svg>\n ',"closing-round":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>\n <path d="M16.373 7.627a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L13.413 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/>\n </svg>',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>\n <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>\n </svg>\n ',"eye-crossed-out":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>\n <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>\n <path d="M3 22a1 1 0 0 1-.707-1.707l18-18a1 1 0 0 1 1.414 1.414l-18 18A.991.991 0 0 1 3 22Z"/>\n </svg>\n ',"info-circle":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M13.333 7.833a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001ZM13 11.667a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v2.667h2v-3.667Z"/><path d="M11 16.333v-1h-1a1 1 0 0 0 0 2h2a1 1 0 0 1-1-1Zm3-1h-1v1a1 1 0 0 1-1 1h2a1 1 0 0 0 0-2Z"/><path d="M13 16.333v-1h-2v1a1 1 0 0 0 2 0Z"/></svg>',"status-check":'\n <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 13">\n <path fill="currentColor" d="m9.947 1.138-.005.008-.001.003-5.56 8.34-2.434-2.447-.004-.004a.648.648 0 0 0-1.093.475c0 .172.066.328.175.444l.003.004 3 2.999c.117.117.28.19.46.19h.065c.2-.021.37-.13.475-.286l.005-.008.001-.002 5.994-8.992a.65.65 0 0 0-.18-.902l-.007-.005-.002-.002a.65.65 0 0 0-.892.185Z"/>\n </svg>\n ',"status-minus":'\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">\n <path d="M10 5.375H2C1.65496 5.375 1.375 5.65496 1.375 6C1.375 6.34504 1.65496 6.625 2 6.625H10C10.345 6.625 10.625 6.34504 10.625 6C10.625 5.65496 10.345 5.375 10 5.375Z" fill="currentColor"/>\n </svg>\n ',pause:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9 22a.99997.99997 0 0 0 1-1V3a1.00003 1.00003 0 0 0-1-1H5a1.00003 1.00003 0 0 0-1 1v18a.99997.99997 0 0 0 1 1h4ZM6 4h2v16H6V4ZM19 22c.2652 0 .5196-.1054.7071-.2929A1.0001 1.0001 0 0 0 20 21V3a.99997.99997 0 0 0-1-1h-4a.99997.99997 0 0 0-1 1v18c0 .2652.1054.5196.2929.7071S14.7348 22 15 22h4ZM16 4h2v16h-2V4Z"/>\n </svg>\n ',risk:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.893 2.553a1.002 1.002 0 0 0-1.784-.006L2.106 20.553A1 1 0 0 0 3 22h18a1 1 0 0 0 .891-1.452l.003.006-9.001-18.001ZM4.617 20 12 5.237 19.383 20H4.617Z"/>\n <path d="M11 10.667V15a1 1 0 0 0 2 0v-4.333a1 1 0 0 0-2 0ZM13 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/>\n </svg>\n ',start:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">\n <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>\n </svg>\n ',"confirm-circle":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M15.843 7.473a.999.999 0 0 0-1.367.329l-.002.004-3.667 6.223-1.757-1.753a1 1 0 0 0-1.413 1.414l-.001-.001 2.667 2.667a.997.997 0 0 0 .695.31h.128c.314-.042.578-.223.731-.479l.003-.005 4.333-7.333a1 1 0 0 0-.345-1.374l-.005-.003v.001Z"/></svg>',warning:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.893 2.55295C12.725 2.22395 12.388 2.00195 12 2.00195C11.612 2.00195 11.275 2.22295 11.109 2.54695L2.10598 20.553C2.03998 20.683 2.00098 20.837 2.00098 21C2.00098 21.552 2.44798 21.999 2.99998 22H21C21.552 21.999 21.999 21.552 21.999 21C21.999 20.837 21.96 20.683 21.891 20.548L21.894 20.554L12.893 2.55295ZM4.61698 20L12 5.23695L19.383 20H4.61698Z"/><path d="M11 10.667V15C11 15.552 11.448 16 12 16C12.552 16 13 15.552 13 15V10.667C13 10.115 12.552 9.66695 12 9.66695C11.448 9.66695 11 10.115 11 10.667Z"/><path d="M13 18C13 18.552 12.552 19 12 19C11.448 19 11 18.552 11 18C11 17.448 11.448 17 12 17C12.552 17 13 17.448 13 18Z"/></svg>',"exclamation-circle":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 17C13 17.552 12.552 18 12 18C11.448 18 11 17.552 11 17C11 16.448 11.448 16 12 16C12.552 16 13 16.448 13 17Z"/><path d="M12 6C11.448 6 11 6.448 11 7V13C11 13.552 11.448 14 12 14C12.552 14 13 13.552 13 13V7C13 6.448 12.552 6 12 6Z"/><path d="M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12 20C7.582 20 4 16.418 4 12C4 7.582 7.582 4 12 4C16.418 4 20 7.582 20 12C20 16.418 16.418 20 12 20Z"/></svg>',"magnifying-glass":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21.707 20.293l-6.967-6.96c-0.046-0.046-0.096-0.087-0.15-0.124l-0.004-0.002c0.882-1.162 1.413-2.632 1.413-4.227 0-3.881-3.146-7.027-7.027-7.027s-7.027 3.146-7.027 7.027c0 3.881 3.146 7.027 7.027 7.027 1.594 0 3.065-0.531 4.244-1.426l-0.017 0.013c0.039 0.057 0.081 0.107 0.127 0.153l6.967 6.967c0.181 0.181 0.431 0.292 0.707 0.292s0.526-0.112 0.707-0.292v0c0.183-0.181 0.296-0.432 0.296-0.71s-0.113-0.529-0.296-0.71l-0-0zM9 14c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"></path></svg>',transcript:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> <path d="M19 22H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h9a1 1 0 0 1 .707.293l5 5c.186.187.293.444.293.707v13a1 1 0 0 1-1 1ZM6 20h12V8.413L13.587 4H6v16Z"/> <path d="M19 10h-6a1 1 0 0 1-1-1V3a1 1 0 1 1 2 0v5h5a1 1 0 1 1 0 2Zm-3 4H8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2Zm-2 4H8a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2Z"/></svg>',mute:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">\n <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm12.374-8.96a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L18.747 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/></svg>',volume:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">\n <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm9.217-13.48a1 1 0 0 0-.44 1.339l-.003-.006c1.177 2.191 1.876 4.792 1.893 7.555V12a16.365 16.365 0 0 1-1.936 7.638l.043-.088a1.002 1.002 0 0 0 .438 1.331l.006.003c.13.071.285.114.449.117h.001a.999.999 0 0 0 .89-.544l.003-.006c1.312-2.45 2.09-5.357 2.107-8.445v-.005c-.017-3.093-.794-6-2.155-8.549l.048.099a1.001 1.001 0 0 0-1.349-.44l.006-.003-.001-.001Z"/><path d="M14.447 5.167a1 1 0 0 0-.278 1.39l-.002-.004C15.35 8.333 16 10.266 16 12s-.667 3.667-1.833 5.447a1 1 0 0 0 1.664 1.11l.002-.004C17.23 16.45 18 14.12 18 12s-.77-4.45-2.167-6.553a1 1 0 0 0-1.39-.278l.004-.002Z"/></svg>'},a={name:"system",resolver:t=>t in s?`data:image/svg+xml,${encodeURIComponent(s[t])}`:"",mutator:t=>t.setAttribute("fill","currentColor")},n=Object.freeze(Object.defineProperty({__proto__:null,default:a,icons:s},Symbol.toStringTag,{value:"Module"}));let l=[a,r],d=[];function h(t){d.push(t)}function c(t){d=d.filter((e=>e!==t))}function p(t){return l.find((e=>e.name===t))}function u(t,e){b(t),l.push({name:t,resolver:e.resolver,mutator:e.mutator}),d.forEach((e=>{e.library===t&&e.setIcon()}))}function b(t){l=l.filter((e=>e.name!==t))}const m=Object.freeze(Object.defineProperty({__proto__:null,getIconLibrary:p,registerIconLibrary:u,unregisterIconLibrary:b,unwatchIcon:c,watchIcon:h},Symbol.toStringTag,{value:"Module"})),g=new Set,v=new MutationObserver($),f=new Map;let y,w=document.documentElement.dir||"ltr",x=document.documentElement.lang||navigator.language;function k(...t){t.map((t=>{const e=t.$code.toLowerCase();f.has(e)?f.set(e,Object.assign(Object.assign({},f.get(e)),t)):f.set(e,t),y||(y=t)})),$()}function $(){w=document.documentElement.dir||"ltr",x=document.documentElement.lang||navigator.language,[...g.keys()].map((t=>{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}v.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});let C=class{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){g.add(this.host)}hostDisconnected(){g.delete(this.host)}dir(){return`${this.host.dir||w}`.toLowerCase()}lang(){return`${this.host.lang||x}`.toLowerCase()}getTranslationData(t){var e,i;const r=new Intl.Locale(t.replace(/_/g,"-")),o=null==r?void 0:r.language.toLowerCase(),s=null!==(i=null===(e=null==r?void 0:r.region)||void 0===e?void 0:e.toLowerCase())&&void 0!==i?i:"";return{locale:r,language:o,region:s,primary:f.get(`${o}-${s}`),secondary:f.get(o)}}exists(t,e){var i;const{primary:r,secondary:o}=this.getTranslationData(null!==(i=e.lang)&&void 0!==i?i:this.lang());return e=Object.assign({includeFallback:!1},e),!!(r&&r[t]||o&&o[t]||e.includeFallback&&y&&y[t])}term(t,...e){const{primary:i,secondary:r}=this.getTranslationData(this.lang());let o;if(i&&i[t])o=i[t];else if(r&&r[t])o=r[t];else{if(!y||!y[t])return console.error(`No translation found for: ${String(t)}`),String(t);o=y[t]}return"function"==typeof o?o(...e):o}date(t,e){return t=new Date(t),new Intl.DateTimeFormat(this.lang(),e).format(t)}number(t,e){return t=Number(t),isNaN(t)?"":new Intl.NumberFormat(this.lang(),e).format(t)}relativeTime(t,e,i){return new Intl.RelativeTimeFormat(this.lang(),i).format(t,e)}};k({$code:"de",$name:"Deutsch",$dir:"ltr",carousel:"Karussell",clearEntry:"Eingabe löschen",close:"Schließen",copy:"Kopieren",numOptionsSelected:t=>0===t?"":`Optionen ausgewählt (${t})`,previousSlide:"Vorherige Folie",currentValue:"Aktueller Wert",goToSlide:(t,e)=>`Zu Folie ${t} von ${e} gehen`,hidePassword:"Passwort verbergen",loading:"Wird geladen",nextSlide:"Nächste Folie",progress:"Fortschritt",remove:"Entfernen",resize:"Größe ändern",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",selectAColorFromTheScreen:"Farbe vom Bildschirm auswählen",selectDefaultPlaceholder:"Bitte auswählen",showPassword:"Passwort anzeigen",slideNum:t=>`Folie ${t}`,toggleColorFormat:"Farbformat umschalten",audioPlayer:"Audio-Player",playAudio:"Audio abspielen",pauseAudio:"Audio pausieren",mute:"Stummschalten",unmute:"Unmute",showMore:"Mehr anzeigen",showLess:"Weniger anzeigen",playbackSpeed:"Wiedergabe Geschwindigkeit"}),k({$code:"en",$name:"English",$dir:"ltr",clearEntry:"Clear entry",close:"Close",copy:"Copy",numOptionsSelected:t=>0===t?"":`Options Selected (${t})`,currentValue:"Current value",hidePassword:"Hide password",loading:"Loading",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",showPassword:"Show password",toggleColorFormat:"Toggle color format",carousel:"Carousel",nextSlide:"Next slide",previousSlide:"Previous slide",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,slideNum:t=>`Slide ${t}`,audioPlayer:"Audio Player",playAudio:"Play Audio",pauseAudio:"Pause Audio",mute:"Mute",unmute:"Unmute",showMore:"Show more",showLess:"Show less",playbackSpeed:"Playback Speed"});class S extends C{constructor(t){super(t),this._instanceTranslations=null}get instanceTranslations(){return this._instanceTranslations}set instanceTranslations(t){this._instanceTranslations=t,this.host.requestUpdate()}hostConnected(){super.hostConnected(),this.setCustomLocalizationFromData(),new MutationObserver((()=>this.setCustomLocalizationFromData())).observe(this.host,{attributes:!0,attributeFilter:["data-custom-localization"]})}hostDisconnected(){super.hostDisconnected()}setCustomLocalizationFromData(){const t=this.host.dataset.customLocalization;if(t)try{this.setCustomLocalization(JSON.parse(t))}catch(t){console.error("Error parsing custom-localization attribute:",t)}}term(t,...e){const i=this.instanceTranslations&&this.instanceTranslations[t];return i?"function"==typeof i?i(...e):i:super.term(t,...e)}setCustomLocalization(t){this.instanceTranslations={...this.instanceTranslations,...t}}}const z=Math.min,_=Math.max,P=Math.round,O=Math.floor,E=t=>({x:t,y:t}),A={left:"right",right:"left",bottom:"top",top:"bottom"},T={start:"end",end:"start"};function L(t,e,i){return _(t,z(e,i))}function M(t,e){return"function"==typeof t?t(e):t}function D(t){return t.split("-")[0]}function j(t){return t.split("-")[1]}function B(t){return"x"===t?"y":"x"}function V(t){return"y"===t?"height":"width"}function I(t){return["top","bottom"].includes(D(t))?"y":"x"}function F(t){return B(I(t))}function U(t){return t.replace(/start|end/g,(t=>T[t]))}function R(t){return t.replace(/left|right|bottom|top/g,(t=>A[t]))}function H(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function q(t){const{x:e,y:i,width:r,height:o}=t;return{width:r,height:o,top:i,left:e,right:e+r,bottom:i+o,x:e,y:i}}function N(t,e,i){let{reference:r,floating:o}=t;const s=I(e),a=F(e),n=V(a),l=D(e),d="y"===s,h=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[n]/2-o[n]/2;let u;switch(l){case"top":u={x:h,y:r.y-o.height};break;case"bottom":u={x:h,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:c};break;case"left":u={x:r.x-o.width,y:c};break;default:u={x:r.x,y:r.y}}switch(j(e)){case"start":u[a]-=p*(i&&d?-1:1);break;case"end":u[a]+=p*(i&&d?-1:1)}return u}async function K(t,e){var i;void 0===e&&(e={});const{x:r,y:o,platform:s,rects:a,elements:n,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:p=!1,padding:u=0}=M(e,t),b=H(u),m=n[p?"floating"===c?"reference":"floating":c],g=q(await s.getClippingRect({element:null==(i=await(null==s.isElement?void 0:s.isElement(m)))||i?m:m.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(n.floating)),boundary:d,rootBoundary:h,strategy:l})),v="floating"===c?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,f=await(null==s.getOffsetParent?void 0:s.getOffsetParent(n.floating)),y=await(null==s.isElement?void 0:s.isElement(f))&&await(null==s.getScale?void 0:s.getScale(f))||{x:1,y:1},w=q(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:v,offsetParent:f,strategy:l}):v);return{top:(g.top-w.top+b.top)/y.y,bottom:(w.bottom-g.bottom+b.bottom)/y.y,left:(g.left-w.left+b.left)/y.x,right:(w.right-g.right+b.right)/y.x}}function Z(t){return X(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Y(t){var e;return null==(e=(X(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function X(t){return t instanceof Node||t instanceof W(t).Node}function G(t){return t instanceof Element||t instanceof W(t).Element}function J(t){return t instanceof HTMLElement||t instanceof W(t).HTMLElement}function Q(t){return!(typeof ShadowRoot>"u")&&(t instanceof ShadowRoot||t instanceof W(t).ShadowRoot)}function tt(t){const{overflow:e,overflowX:i,overflowY:r,display:o}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+i)&&!["inline","contents"].includes(o)}function et(t){return["table","td","th"].includes(Z(t))}function it(t){const e=rt(),i=st(t);return"none"!==i.transform||"none"!==i.perspective||!!i.containerType&&"normal"!==i.containerType||!e&&!!i.backdropFilter&&"none"!==i.backdropFilter||!e&&!!i.filter&&"none"!==i.filter||["transform","perspective","filter"].some((t=>(i.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(i.contain||"").includes(t)))}function rt(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ot(t){return["html","body","#document"].includes(Z(t))}function st(t){return W(t).getComputedStyle(t)}function at(t){return G(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function nt(t){if("html"===Z(t))return t;const e=t.assignedSlot||t.parentNode||Q(t)&&t.host||Y(t);return Q(e)?e.host:e}function lt(t){const e=nt(t);return ot(e)?t.ownerDocument?t.ownerDocument.body:t.body:J(e)&&tt(e)?e:lt(e)}function dt(t,e,i){var r;void 0===e&&(e=[]),void 0===i&&(i=!0);const o=lt(t),s=o===(null==(r=t.ownerDocument)?void 0:r.body),a=W(o);return s?e.concat(a,a.visualViewport||[],tt(o)?o:[],a.frameElement&&i?dt(a.frameElement):[]):e.concat(o,dt(o,[],i))}function ht(t){const e=st(t);let i=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=J(t),s=o?t.offsetWidth:i,a=o?t.offsetHeight:r,n=P(i)!==s||P(r)!==a;return n&&(i=s,r=a),{width:i,height:r,$:n}}function ct(t){return G(t)?t:t.contextElement}function pt(t){const e=ct(t);if(!J(e))return E(1);const i=e.getBoundingClientRect(),{width:r,height:o,$:s}=ht(e);let a=(s?P(i.width):i.width)/r,n=(s?P(i.height):i.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!n||!Number.isFinite(n))&&(n=1),{x:a,y:n}}const ut=E(0);function bt(t){const e=W(t);return rt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function mt(t,e,i,r){void 0===e&&(e=!1),void 0===i&&(i=!1);const o=t.getBoundingClientRect(),s=ct(t);let a=E(1);e&&(r?G(r)&&(a=pt(r)):a=pt(t));const n=function(t,e,i){return void 0===e&&(e=!1),!(!i||e&&i!==W(t))&&e}(s,i,r)?bt(s):E(0);let l=(o.left+n.x)/a.x,d=(o.top+n.y)/a.y,h=o.width/a.x,c=o.height/a.y;if(s){const t=W(s),e=r&&G(r)?W(r):r;let i=t,o=i.frameElement;for(;o&&r&&e!==i;){const t=pt(o),e=o.getBoundingClientRect(),r=st(o),s=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,d*=t.y,h*=t.x,c*=t.y,l+=s,d+=a,i=W(o),o=i.frameElement}}return q({width:h,height:c,x:l,y:d})}const gt=[":popover-open",":modal"];function vt(t){return gt.some((e=>{try{return t.matches(e)}catch{return!1}}))}function ft(t){return mt(Y(t)).left+at(t).scrollLeft}function yt(t,e,i){let r;if("viewport"===e)r=function(t,e){const i=W(t),r=Y(t),o=i.visualViewport;let s=r.clientWidth,a=r.clientHeight,n=0,l=0;if(o){s=o.width,a=o.height;const t=rt();(!t||t&&"fixed"===e)&&(n=o.offsetLeft,l=o.offsetTop)}return{width:s,height:a,x:n,y:l}}(t,i);else if("document"===e)r=function(t){const e=Y(t),i=at(t),r=t.ownerDocument.body,o=_(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=_(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-i.scrollLeft+ft(t);const n=-i.scrollTop;return"rtl"===st(r).direction&&(a+=_(e.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:n}}(Y(t));else if(G(e))r=function(t,e){const i=mt(t,!0,"fixed"===e),r=i.top+t.clientTop,o=i.left+t.clientLeft,s=J(t)?pt(t):E(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:o*s.x,y:r*s.y}}(e,i);else{const i=bt(t);r={...e,x:e.x-i.x,y:e.y-i.y}}return q(r)}function wt(t,e){const i=nt(t);return!(i===e||!G(i)||ot(i))&&("fixed"===st(i).position||wt(i,e))}function xt(t,e){const i=e.get(t);if(i)return i;let r=dt(t,[],!1).filter((t=>G(t)&&"body"!==Z(t))),o=null;const s="fixed"===st(t).position;let a=s?nt(t):t;for(;G(a)&&!ot(a);){const e=st(a),i=it(a);!i&&"fixed"===e.position&&(o=null),(s?!i&&!o:!i&&"static"===e.position&&o&&["absolute","fixed"].includes(o.position)||tt(a)&&!i&&wt(t,a))?r=r.filter((t=>t!==a)):o=e,a=nt(a)}return e.set(t,r),r}function kt(t,e,i){const r=J(e),o=Y(e),s="fixed"===i,a=mt(t,!0,s,e);let n={scrollLeft:0,scrollTop:0};const l=E(0);if(r||!r&&!s)if(("body"!==Z(e)||tt(o))&&(n=at(e)),r){const t=mt(e,!0,s,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else o&&(l.x=ft(o));return{x:a.left+n.scrollLeft-l.x,y:a.top+n.scrollTop-l.y,width:a.width,height:a.height}}function $t(t){return"static"===st(t).position}function Ct(t,e){return J(t)&&"fixed"!==st(t).position?e?e(t):t.offsetParent:null}function St(t,e){const i=W(t);if(vt(t))return i;if(!J(t)){let e=nt(t);for(;e&&!ot(e);){if(G(e)&&!$t(e))return e;e=nt(e)}return i}let r=Ct(t,e);for(;r&&et(r)&&$t(r);)r=Ct(r,e);return r&&ot(r)&&$t(r)&&!it(r)?i:r||function(t){let e=nt(t);for(;J(e)&&!ot(e);){if(it(e))return e;e=nt(e)}return null}(t)||i}const zt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:r,strategy:o}=t;const s="fixed"===o,a=Y(r),n=!!e&&vt(e.floating);if(r===a||n&&s)return i;let l={scrollLeft:0,scrollTop:0},d=E(1);const h=E(0),c=J(r);if((c||!c&&!s)&&(("body"!==Z(r)||tt(a))&&(l=at(r)),J(r))){const t=mt(r);d=pt(r),h.x=t.x+r.clientLeft,h.y=t.y+r.clientTop}return{width:i.width*d.x,height:i.height*d.y,x:i.x*d.x-l.scrollLeft*d.x+h.x,y:i.y*d.y-l.scrollTop*d.y+h.y}},getDocumentElement:Y,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:r,strategy:o}=t;const s=[..."clippingAncestors"===i?vt(e)?[]:xt(e,this._c):[].concat(i),r],a=s[0],n=s.reduce(((t,i)=>{const r=yt(e,i,o);return t.top=_(r.top,t.top),t.right=z(r.right,t.right),t.bottom=z(r.bottom,t.bottom),t.left=_(r.left,t.left),t}),yt(e,a,o));return{width:n.right-n.left,height:n.bottom-n.top,x:n.left,y:n.top}},getOffsetParent:St,getElementRects:async function(t){const e=this.getOffsetParent||St,i=this.getDimensions,r=await i(t.floating);return{reference:kt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:i}=ht(t);return{width:e,height:i}},getScale:pt,isElement:G,isRTL:function(t){return"rtl"===st(t).direction}};const _t=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var i,r;const{x:o,y:s,placement:a,middlewareData:n}=e,l=await async function(t,e){const{placement:i,platform:r,elements:o}=t,s=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=D(i),n=j(i),l="y"===I(i),d=["left","top"].includes(a)?-1:1,h=s&&l?-1:1,c=M(e,t);let{mainAxis:p,crossAxis:u,alignmentAxis:b}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return n&&"number"==typeof b&&(u="end"===n?-1*b:b),l?{x:u*h,y:p*d}:{x:p*d,y:u*h}}(e,t);return a===(null==(i=n.offset)?void 0:i.placement)&&null!=(r=n.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:a}}}}},Pt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:i,rects:r,platform:o,elements:s}=e,{apply:a=(()=>{}),...n}=M(t,e),l=await K(e,n),d=D(i),h=j(i),c="y"===I(i),{width:p,height:u}=r.floating;let b,m;"top"===d||"bottom"===d?(b=d,m=h===(await(null==o.isRTL?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(m=d,b="end"===h?"top":"bottom");const g=u-l.top-l.bottom,v=p-l.left-l.right,f=z(u-l[b],g),y=z(p-l[m],v),w=!e.middlewareData.shift;let x=f,k=y;if(c?k=h||w?z(y,v):v:x=h||w?z(f,g):g,w&&!h){const t=_(l.left,0),e=_(l.right,0),i=_(l.top,0),r=_(l.bottom,0);c?k=p-2*(0!==t||0!==e?t+e:_(l.left,l.right)):x=u-2*(0!==i||0!==r?i+r:_(l.top,l.bottom))}await a({...e,availableWidth:k,availableHeight:x});const $=await o.getDimensions(s.floating);return p!==$.width||u!==$.height?{reset:{rects:!0}}:{}}}},Ot=globalThis,Et=Ot.ShadowRoot&&(void 0===Ot.ShadyCSS||Ot.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,At=Symbol(),Tt=new WeakMap;
1
+ var t,e;t=this,e=function(t){var e,i;const o={name:"default",resolver:t=>{const e=t.split("/");return("content"===e[0]||"system"===e[0])&&(t="union-investment/"+t),`https://celum-icons.fe.union-investment.de/${t}.svg`},mutator:t=>{const e={currentColorFills:[],currentColorStrokes:[],greenFills:[],greenStrokes:[]};return e.currentColorFills=t.querySelectorAll('[fill="#00358e" i]'),e.currentColorStrokes=t.querySelectorAll('[stroke="#00358e" i]'),e.greenFills=t.querySelectorAll('[fill="#2d9d00" i]'),e.greenStrokes=t.querySelectorAll('[stroke="#2d9d00" i]'),e.currentColorFills.forEach((t=>{t.setAttribute("fill","currentColor")})),e.currentColorStrokes.forEach((t=>{t.setAttribute("stroke","currentColor")})),e.greenFills.forEach((t=>{t.setAttribute("fill","rgb(var(--sd-color-accent, 45 157 0) / var(--tw-bg-opacity, 1))")})),e.greenStrokes.forEach((t=>{t.setAttribute("stroke","rgb(var(--sd-color-accent, 45 157 0) / var(--tw-bg-opacity, 1))")})),t}},r=Object.freeze(Object.defineProperty({__proto__:null,default:o},Symbol.toStringTag,{value:"Module"})),s={calendar:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1ZM6 4v1.667a1 1 0 0 0 2 0V4h8v1.667a1 1 0 0 0 2 0V4h2v4H4V4h2ZM4 20V10h16v10H4Z"/>\n <path d="m7.603 13.263.597.81.31-.25c.31-.25.593-.49.733-.63h.017c-.017.333-.033 1.14-.033 1.647V18h1.223v-6.03H9.353l-1.75 1.293ZM14.667 11.867c-1.543 0-2.26 1-2.26 3.163 0 1.9.667 3.063 2.217 3.063s2.193-1.18 2.193-3.13c-.017-2.063-.743-3.097-2.15-3.097v.001Zm-.044 5.333c-.647 0-1-.76-1-2.28 0-1.44.353-2.173 1-2.173s1 .743 1 2.233c0 1.49-.387 2.227-1.017 2.227l.017-.007Z"/>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>\n </svg>\n ',"chevron-up":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>\n </svg>\n ',clock:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13 11.587V8a1 1 0 0 0-2 0v4c0 .07.007.138.021.203l-.001-.006a.855.855 0 0 0 .029.093l-.002-.006c0 .033 0 .067.03.1a.709.709 0 0 0 .055.103l-.002-.003.037.07c.04.057.081.107.127.153l2.827 2.83a1.002 1.002 0 0 0 1.417-1.417L13 11.587Z"/>\n <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>\n </svg>\n ',close:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>\n </svg>\n ',"closing-round":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>\n <path d="M16.373 7.627a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L13.413 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/>\n </svg>',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>\n <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>\n </svg>\n ',"eye-crossed-out":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>\n <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>\n <path d="M3 22a1 1 0 0 1-.707-1.707l18-18a1 1 0 0 1 1.414 1.414l-18 18A.991.991 0 0 1 3 22Z"/>\n </svg>\n ',"info-circle":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M13.333 7.833a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001ZM13 11.667a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v2.667h2v-3.667Z"/><path d="M11 16.333v-1h-1a1 1 0 0 0 0 2h2a1 1 0 0 1-1-1Zm3-1h-1v1a1 1 0 0 1-1 1h2a1 1 0 0 0 0-2Z"/><path d="M13 16.333v-1h-2v1a1 1 0 0 0 2 0Z"/></svg>',"status-check":'\n <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 13">\n <path fill="currentColor" d="m9.947 1.138-.005.008-.001.003-5.56 8.34-2.434-2.447-.004-.004a.648.648 0 0 0-1.093.475c0 .172.066.328.175.444l.003.004 3 2.999c.117.117.28.19.46.19h.065c.2-.021.37-.13.475-.286l.005-.008.001-.002 5.994-8.992a.65.65 0 0 0-.18-.902l-.007-.005-.002-.002a.65.65 0 0 0-.892.185Z"/>\n </svg>\n ',"status-minus":'\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">\n <path d="M10 5.375H2C1.65496 5.375 1.375 5.65496 1.375 6C1.375 6.34504 1.65496 6.625 2 6.625H10C10.345 6.625 10.625 6.34504 10.625 6C10.625 5.65496 10.345 5.375 10 5.375Z" fill="currentColor"/>\n </svg>\n ',pause:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9 22a.99997.99997 0 0 0 1-1V3a1.00003 1.00003 0 0 0-1-1H5a1.00003 1.00003 0 0 0-1 1v18a.99997.99997 0 0 0 1 1h4ZM6 4h2v16H6V4ZM19 22c.2652 0 .5196-.1054.7071-.2929A1.0001 1.0001 0 0 0 20 21V3a.99997.99997 0 0 0-1-1h-4a.99997.99997 0 0 0-1 1v18c0 .2652.1054.5196.2929.7071S14.7348 22 15 22h4ZM16 4h2v16h-2V4Z"/>\n </svg>\n ',risk:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12.893 2.553a1.002 1.002 0 0 0-1.784-.006L2.106 20.553A1 1 0 0 0 3 22h18a1 1 0 0 0 .891-1.452l.003.006-9.001-18.001ZM4.617 20 12 5.237 19.383 20H4.617Z"/>\n <path d="M11 10.667V15a1 1 0 0 0 2 0v-4.333a1 1 0 0 0-2 0ZM13 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/>\n </svg>\n ',start:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">\n <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>\n </svg>\n ',"confirm-circle":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M15.843 7.473a.999.999 0 0 0-1.367.329l-.002.004-3.667 6.223-1.757-1.753a1 1 0 0 0-1.413 1.414l-.001-.001 2.667 2.667a.997.997 0 0 0 .695.31h.128c.314-.042.578-.223.731-.479l.003-.005 4.333-7.333a1 1 0 0 0-.345-1.374l-.005-.003v.001Z"/></svg>',warning:'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.893 2.55295C12.725 2.22395 12.388 2.00195 12 2.00195C11.612 2.00195 11.275 2.22295 11.109 2.54695L2.10598 20.553C2.03998 20.683 2.00098 20.837 2.00098 21C2.00098 21.552 2.44798 21.999 2.99998 22H21C21.552 21.999 21.999 21.552 21.999 21C21.999 20.837 21.96 20.683 21.891 20.548L21.894 20.554L12.893 2.55295ZM4.61698 20L12 5.23695L19.383 20H4.61698Z"/><path d="M11 10.667V15C11 15.552 11.448 16 12 16C12.552 16 13 15.552 13 15V10.667C13 10.115 12.552 9.66695 12 9.66695C11.448 9.66695 11 10.115 11 10.667Z"/><path d="M13 18C13 18.552 12.552 19 12 19C11.448 19 11 18.552 11 18C11 17.448 11.448 17 12 17C12.552 17 13 17.448 13 18Z"/></svg>',"exclamation-circle":'\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 17C13 17.552 12.552 18 12 18C11.448 18 11 17.552 11 17C11 16.448 11.448 16 12 16C12.552 16 13 16.448 13 17Z"/><path d="M12 6C11.448 6 11 6.448 11 7V13C11 13.552 11.448 14 12 14C12.552 14 13 13.552 13 13V7C13 6.448 12.552 6 12 6Z"/><path d="M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12 20C7.582 20 4 16.418 4 12C4 7.582 7.582 4 12 4C16.418 4 20 7.582 20 12C20 16.418 16.418 20 12 20Z"/></svg>',"magnifying-glass":'\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21.707 20.293l-6.967-6.96c-0.046-0.046-0.096-0.087-0.15-0.124l-0.004-0.002c0.882-1.162 1.413-2.632 1.413-4.227 0-3.881-3.146-7.027-7.027-7.027s-7.027 3.146-7.027 7.027c0 3.881 3.146 7.027 7.027 7.027 1.594 0 3.065-0.531 4.244-1.426l-0.017 0.013c0.039 0.057 0.081 0.107 0.127 0.153l6.967 6.967c0.181 0.181 0.431 0.292 0.707 0.292s0.526-0.112 0.707-0.292v0c0.183-0.181 0.296-0.432 0.296-0.71s-0.113-0.529-0.296-0.71l-0-0zM9 14c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"></path></svg>',transcript:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> <path d="M19 22H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h9a1 1 0 0 1 .707.293l5 5c.186.187.293.444.293.707v13a1 1 0 0 1-1 1ZM6 20h12V8.413L13.587 4H6v16Z"/> <path d="M19 10h-6a1 1 0 0 1-1-1V3a1 1 0 1 1 2 0v5h5a1 1 0 1 1 0 2Zm-3 4H8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2Zm-2 4H8a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2Z"/></svg>',mute:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">\n <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm12.374-8.96a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L18.747 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/></svg>',volume:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">\n <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm9.217-13.48a1 1 0 0 0-.44 1.339l-.003-.006c1.177 2.191 1.876 4.792 1.893 7.555V12a16.365 16.365 0 0 1-1.936 7.638l.043-.088a1.002 1.002 0 0 0 .438 1.331l.006.003c.13.071.285.114.449.117h.001a.999.999 0 0 0 .89-.544l.003-.006c1.312-2.45 2.09-5.357 2.107-8.445v-.005c-.017-3.093-.794-6-2.155-8.549l.048.099a1.001 1.001 0 0 0-1.349-.44l.006-.003-.001-.001Z"/><path d="M14.447 5.167a1 1 0 0 0-.278 1.39l-.002-.004C15.35 8.333 16 10.266 16 12s-.667 3.667-1.833 5.447a1 1 0 0 0 1.664 1.11l.002-.004C17.23 16.45 18 14.12 18 12s-.77-4.45-2.167-6.553a1 1 0 0 0-1.39-.278l.004-.002Z"/></svg>'},a={name:"system",resolver:t=>t in s?`data:image/svg+xml,${encodeURIComponent(s[t])}`:"",mutator:t=>t.setAttribute("fill","currentColor")},n=Object.freeze(Object.defineProperty({__proto__:null,default:a,icons:s},Symbol.toStringTag,{value:"Module"}));let l=[a,o],d=[];function h(t){d.push(t)}function c(t){d=d.filter((e=>e!==t))}function p(t){return l.find((e=>e.name===t))}function u(t,e){g(t),l.push({name:t,resolver:e.resolver,mutator:e.mutator}),d.forEach((e=>{e.library===t&&e.setIcon()}))}function g(t){l=l.filter((e=>e.name!==t))}const m=Object.freeze(Object.defineProperty({__proto__:null,getIconLibrary:p,registerIconLibrary:u,unregisterIconLibrary:g,unwatchIcon:c,watchIcon:h},Symbol.toStringTag,{value:"Module"})),b=new Set,v=new MutationObserver(k),y=new Map;let f,w=document.documentElement.dir||"ltr",A=document.documentElement.lang||navigator.language;function x(...t){t.map((t=>{const e=t.$code.toLowerCase();y.has(e)?y.set(e,Object.assign(Object.assign({},y.get(e)),t)):y.set(e,t),f||(f=t)})),k()}function k(){w=document.documentElement.dir||"ltr",A=document.documentElement.lang||navigator.language,[...b.keys()].map((t=>{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}v.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});let C=class{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){b.add(this.host)}hostDisconnected(){b.delete(this.host)}dir(){return`${this.host.dir||w}`.toLowerCase()}lang(){return`${this.host.lang||A}`.toLowerCase()}getTranslationData(t){var e,i;const o=new Intl.Locale(t.replace(/_/g,"-")),r=null==o?void 0:o.language.toLowerCase(),s=null!==(i=null===(e=null==o?void 0:o.region)||void 0===e?void 0:e.toLowerCase())&&void 0!==i?i:"";return{locale:o,language:r,region:s,primary:y.get(`${r}-${s}`),secondary:y.get(r)}}exists(t,e){var i;const{primary:o,secondary:r}=this.getTranslationData(null!==(i=e.lang)&&void 0!==i?i:this.lang());return e=Object.assign({includeFallback:!1},e),!!(o&&o[t]||r&&r[t]||e.includeFallback&&f&&f[t])}term(t,...e){const{primary:i,secondary:o}=this.getTranslationData(this.lang());let r;if(i&&i[t])r=i[t];else if(o&&o[t])r=o[t];else{if(!f||!f[t])return console.error(`No translation found for: ${String(t)}`),String(t);r=f[t]}return"function"==typeof r?r(...e):r}date(t,e){return t=new Date(t),new Intl.DateTimeFormat(this.lang(),e).format(t)}number(t,e){return t=Number(t),isNaN(t)?"":new Intl.NumberFormat(this.lang(),e).format(t)}relativeTime(t,e,i){return new Intl.RelativeTimeFormat(this.lang(),i).format(t,e)}};x({$code:"de",$name:"Deutsch",$dir:"ltr",carousel:"Karussell",clearEntry:"Eingabe löschen",close:"Schließen",copy:"Kopieren",numOptionsSelected:t=>0===t?"":`Optionen ausgewählt (${t})`,previousSlide:"Vorherige Folie",currentValue:"Aktueller Wert",goToSlide:(t,e)=>`Zu Folie ${t} von ${e} gehen`,hidePassword:"Passwort verbergen",loading:"Wird geladen",nextSlide:"Nächste Folie",progress:"Fortschritt",remove:"Entfernen",resize:"Größe ändern",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",selectAColorFromTheScreen:"Farbe vom Bildschirm auswählen",selectDefaultPlaceholder:"Bitte auswählen",showPassword:"Passwort anzeigen",slideNum:t=>`Folie ${t}`,toggleColorFormat:"Farbformat umschalten",audioPlayer:"Audio-Player",playAudio:"Audio abspielen",pauseAudio:"Audio pausieren",mute:"Stummschalten",unmute:"Unmute",showMore:"Mehr anzeigen",showLess:"Weniger anzeigen",playbackSpeed:"Wiedergabe Geschwindigkeit"}),x({$code:"en",$name:"English",$dir:"ltr",clearEntry:"Clear entry",close:"Close",copy:"Copy",numOptionsSelected:t=>0===t?"":`Options Selected (${t})`,currentValue:"Current value",hidePassword:"Hide password",loading:"Loading",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",showPassword:"Show password",toggleColorFormat:"Toggle color format",carousel:"Carousel",nextSlide:"Next slide",previousSlide:"Previous slide",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,slideNum:t=>`Slide ${t}`,audioPlayer:"Audio Player",playAudio:"Play Audio",pauseAudio:"Pause Audio",mute:"Mute",unmute:"Unmute",showMore:"Show more",showLess:"Show less",playbackSpeed:"Playback Speed"});class S extends C{constructor(t){super(t),this._instanceTranslations=null}get instanceTranslations(){return this._instanceTranslations}set instanceTranslations(t){this._instanceTranslations=t,this.host.requestUpdate()}hostConnected(){super.hostConnected(),this.setCustomLocalizationFromData(),new MutationObserver((()=>this.setCustomLocalizationFromData())).observe(this.host,{attributes:!0,attributeFilter:["data-custom-localization"]})}hostDisconnected(){super.hostDisconnected()}setCustomLocalizationFromData(){const t=this.host.dataset.customLocalization;if(t)try{this.setCustomLocalization(JSON.parse(t))}catch(t){console.error("Error parsing custom-localization attribute:",t)}}term(t,...e){const i=this.instanceTranslations&&this.instanceTranslations[t];return i?"function"==typeof i?i(...e):i:super.term(t,...e)}setCustomLocalization(t){this.instanceTranslations={...this.instanceTranslations,...t}}}const E=Math.min,B=Math.max,I=Math.round,M=Math.floor,D=t=>({x:t,y:t}),O={left:"right",right:"left",bottom:"top",top:"bottom"},z={start:"end",end:"start"};function T(t,e,i){return B(t,E(e,i))}function P(t,e){return"function"==typeof t?t(e):t}function F(t){return t.split("-")[0]}function j(t){return t.split("-")[1]}function Q(t){return"x"===t?"y":"x"}function Y(t){return"y"===t?"height":"width"}function R(t){return["top","bottom"].includes(F(t))?"y":"x"}function U(t){return Q(R(t))}function G(t){return t.replace(/start|end/g,(t=>z[t]))}function H(t){return t.replace(/left|right|bottom|top/g,(t=>O[t]))}function L(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function q(t){const{x:e,y:i,width:o,height:r}=t;return{width:o,height:r,top:i,left:e,right:e+o,bottom:i+r,x:e,y:i}}function V(t,e,i){let{reference:o,floating:r}=t;const s=R(e),a=U(e),n=Y(a),l=F(e),d="y"===s,h=o.x+o.width/2-r.width/2,c=o.y+o.height/2-r.height/2,p=o[n]/2-r[n]/2;let u;switch(l){case"top":u={x:h,y:o.y-r.height};break;case"bottom":u={x:h,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:c};break;case"left":u={x:o.x-r.width,y:c};break;default:u={x:o.x,y:o.y}}switch(j(e)){case"start":u[a]-=p*(i&&d?-1:1);break;case"end":u[a]+=p*(i&&d?-1:1)}return u}async function $(t,e){var i;void 0===e&&(e={});const{x:o,y:r,platform:s,rects:a,elements:n,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:p=!1,padding:u=0}=P(e,t),g=L(u),m=n[p?"floating"===c?"reference":"floating":c],b=q(await s.getClippingRect({element:null==(i=await(null==s.isElement?void 0:s.isElement(m)))||i?m:m.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(n.floating)),boundary:d,rootBoundary:h,strategy:l})),v="floating"===c?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==s.getOffsetParent?void 0:s.getOffsetParent(n.floating)),f=await(null==s.isElement?void 0:s.isElement(y))&&await(null==s.getScale?void 0:s.getScale(y))||{x:1,y:1},w=q(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:v,offsetParent:y,strategy:l}):v);return{top:(b.top-w.top+g.top)/f.y,bottom:(w.bottom-b.bottom+g.bottom)/f.y,left:(b.left-w.left+g.left)/f.x,right:(w.right-b.right+g.right)/f.x}}function Z(t){return J(t)?(t.nodeName||"").toLowerCase():"#document"}function K(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function N(t){var e;return null==(e=(J(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function J(t){return t instanceof Node||t instanceof K(t).Node}function W(t){return t instanceof Element||t instanceof K(t).Element}function _(t){return t instanceof HTMLElement||t instanceof K(t).HTMLElement}function X(t){return!(typeof ShadowRoot>"u")&&(t instanceof ShadowRoot||t instanceof K(t).ShadowRoot)}function tt(t){const{overflow:e,overflowX:i,overflowY:o,display:r}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+i)&&!["inline","contents"].includes(r)}function et(t){return["table","td","th"].includes(Z(t))}function it(t){const e=ot(),i=st(t);return"none"!==i.transform||"none"!==i.perspective||!!i.containerType&&"normal"!==i.containerType||!e&&!!i.backdropFilter&&"none"!==i.backdropFilter||!e&&!!i.filter&&"none"!==i.filter||["transform","perspective","filter"].some((t=>(i.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(i.contain||"").includes(t)))}function ot(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rt(t){return["html","body","#document"].includes(Z(t))}function st(t){return K(t).getComputedStyle(t)}function at(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function nt(t){if("html"===Z(t))return t;const e=t.assignedSlot||t.parentNode||X(t)&&t.host||N(t);return X(e)?e.host:e}function lt(t){const e=nt(t);return rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:_(e)&&tt(e)?e:lt(e)}function dt(t,e,i){var o;void 0===e&&(e=[]),void 0===i&&(i=!0);const r=lt(t),s=r===(null==(o=t.ownerDocument)?void 0:o.body),a=K(r);return s?e.concat(a,a.visualViewport||[],tt(r)?r:[],a.frameElement&&i?dt(a.frameElement):[]):e.concat(r,dt(r,[],i))}function ht(t){const e=st(t);let i=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=_(t),s=r?t.offsetWidth:i,a=r?t.offsetHeight:o,n=I(i)!==s||I(o)!==a;return n&&(i=s,o=a),{width:i,height:o,$:n}}function ct(t){return W(t)?t:t.contextElement}function pt(t){const e=ct(t);if(!_(e))return D(1);const i=e.getBoundingClientRect(),{width:o,height:r,$:s}=ht(e);let a=(s?I(i.width):i.width)/o,n=(s?I(i.height):i.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!n||!Number.isFinite(n))&&(n=1),{x:a,y:n}}const ut=D(0);function gt(t){const e=K(t);return ot()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function mt(t,e,i,o){void 0===e&&(e=!1),void 0===i&&(i=!1);const r=t.getBoundingClientRect(),s=ct(t);let a=D(1);e&&(o?W(o)&&(a=pt(o)):a=pt(t));const n=function(t,e,i){return void 0===e&&(e=!1),!(!i||e&&i!==K(t))&&e}(s,i,o)?gt(s):D(0);let l=(r.left+n.x)/a.x,d=(r.top+n.y)/a.y,h=r.width/a.x,c=r.height/a.y;if(s){const t=K(s),e=o&&W(o)?K(o):o;let i=t,r=i.frameElement;for(;r&&o&&e!==i;){const t=pt(r),e=r.getBoundingClientRect(),o=st(r),s=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x,d*=t.y,h*=t.x,c*=t.y,l+=s,d+=a,i=K(r),r=i.frameElement}}return q({width:h,height:c,x:l,y:d})}const bt=[":popover-open",":modal"];function vt(t){return bt.some((e=>{try{return t.matches(e)}catch{return!1}}))}function yt(t){return mt(N(t)).left+at(t).scrollLeft}function ft(t,e,i){let o;if("viewport"===e)o=function(t,e){const i=K(t),o=N(t),r=i.visualViewport;let s=o.clientWidth,a=o.clientHeight,n=0,l=0;if(r){s=r.width,a=r.height;const t=ot();(!t||t&&"fixed"===e)&&(n=r.offsetLeft,l=r.offsetTop)}return{width:s,height:a,x:n,y:l}}(t,i);else if("document"===e)o=function(t){const e=N(t),i=at(t),o=t.ownerDocument.body,r=B(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=B(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-i.scrollLeft+yt(t);const n=-i.scrollTop;return"rtl"===st(o).direction&&(a+=B(e.clientWidth,o.clientWidth)-r),{width:r,height:s,x:a,y:n}}(N(t));else if(W(e))o=function(t,e){const i=mt(t,!0,"fixed"===e),o=i.top+t.clientTop,r=i.left+t.clientLeft,s=_(t)?pt(t):D(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:r*s.x,y:o*s.y}}(e,i);else{const i=gt(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return q(o)}function wt(t,e){const i=nt(t);return!(i===e||!W(i)||rt(i))&&("fixed"===st(i).position||wt(i,e))}function At(t,e){const i=e.get(t);if(i)return i;let o=dt(t,[],!1).filter((t=>W(t)&&"body"!==Z(t))),r=null;const s="fixed"===st(t).position;let a=s?nt(t):t;for(;W(a)&&!rt(a);){const e=st(a),i=it(a);!i&&"fixed"===e.position&&(r=null),(s?!i&&!r:!i&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||tt(a)&&!i&&wt(t,a))?o=o.filter((t=>t!==a)):r=e,a=nt(a)}return e.set(t,o),o}function xt(t,e,i){const o=_(e),r=N(e),s="fixed"===i,a=mt(t,!0,s,e);let n={scrollLeft:0,scrollTop:0};const l=D(0);if(o||!o&&!s)if(("body"!==Z(e)||tt(r))&&(n=at(e)),o){const t=mt(e,!0,s,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=yt(r));return{x:a.left+n.scrollLeft-l.x,y:a.top+n.scrollTop-l.y,width:a.width,height:a.height}}function kt(t){return"static"===st(t).position}function Ct(t,e){return _(t)&&"fixed"!==st(t).position?e?e(t):t.offsetParent:null}function St(t,e){const i=K(t);if(vt(t))return i;if(!_(t)){let e=nt(t);for(;e&&!rt(e);){if(W(e)&&!kt(e))return e;e=nt(e)}return i}let o=Ct(t,e);for(;o&&et(o)&&kt(o);)o=Ct(o,e);return o&&rt(o)&&kt(o)&&!it(o)?i:o||function(t){let e=nt(t);for(;_(e)&&!rt(e);){if(it(e))return e;e=nt(e)}return null}(t)||i}const Et={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:o,strategy:r}=t;const s="fixed"===r,a=N(o),n=!!e&&vt(e.floating);if(o===a||n&&s)return i;let l={scrollLeft:0,scrollTop:0},d=D(1);const h=D(0),c=_(o);if((c||!c&&!s)&&(("body"!==Z(o)||tt(a))&&(l=at(o)),_(o))){const t=mt(o);d=pt(o),h.x=t.x+o.clientLeft,h.y=t.y+o.clientTop}return{width:i.width*d.x,height:i.height*d.y,x:i.x*d.x-l.scrollLeft*d.x+h.x,y:i.y*d.y-l.scrollTop*d.y+h.y}},getDocumentElement:N,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:o,strategy:r}=t;const s=[..."clippingAncestors"===i?vt(e)?[]:At(e,this._c):[].concat(i),o],a=s[0],n=s.reduce(((t,i)=>{const o=ft(e,i,r);return t.top=B(o.top,t.top),t.right=E(o.right,t.right),t.bottom=E(o.bottom,t.bottom),t.left=B(o.left,t.left),t}),ft(e,a,r));return{width:n.right-n.left,height:n.bottom-n.top,x:n.left,y:n.top}},getOffsetParent:St,getElementRects:async function(t){const e=this.getOffsetParent||St,i=this.getDimensions,o=await i(t.floating);return{reference:xt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:i}=ht(t);return{width:e,height:i}},getScale:pt,isElement:W,isRTL:function(t){return"rtl"===st(t).direction}};const Bt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var i,o;const{x:r,y:s,placement:a,middlewareData:n}=e,l=await async function(t,e){const{placement:i,platform:o,elements:r}=t,s=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=F(i),n=j(i),l="y"===R(i),d=["left","top"].includes(a)?-1:1,h=s&&l?-1:1,c=P(e,t);let{mainAxis:p,crossAxis:u,alignmentAxis:g}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return n&&"number"==typeof g&&(u="end"===n?-1*g:g),l?{x:u*h,y:p*d}:{x:p*d,y:u*h}}(e,t);return a===(null==(i=n.offset)?void 0:i.placement)&&null!=(o=n.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:a}}}}},It=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:i,rects:o,platform:r,elements:s}=e,{apply:a=(()=>{}),...n}=P(t,e),l=await $(e,n),d=F(i),h=j(i),c="y"===R(i),{width:p,height:u}=o.floating;let g,m;"top"===d||"bottom"===d?(g=d,m=h===(await(null==r.isRTL?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(m=d,g="end"===h?"top":"bottom");const b=u-l.top-l.bottom,v=p-l.left-l.right,y=E(u-l[g],b),f=E(p-l[m],v),w=!e.middlewareData.shift;let A=y,x=f;if(c?x=h||w?E(f,v):v:A=h||w?E(y,b):b,w&&!h){const t=B(l.left,0),e=B(l.right,0),i=B(l.top,0),o=B(l.bottom,0);c?x=p-2*(0!==t||0!==e?t+e:B(l.left,l.right)):A=u-2*(0!==i||0!==o?i+o:B(l.top,l.bottom))}await a({...e,availableWidth:x,availableHeight:A});const k=await r.getDimensions(s.floating);return p!==k.width||u!==k.height?{reset:{rects:!0}}:{}}}},Mt=globalThis,Dt=Mt.ShadowRoot&&(void 0===Mt.ShadyCSS||Mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),zt=new WeakMap;
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */let Lt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==At)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Et&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=Tt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&Tt.set(e,t))}return t}toString(){return this.cssText}};const Mt=t=>new Lt("string"==typeof t?t:t+"",void 0,At),Dt=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new Lt(i,t,At)},jt=Et?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Mt(e)})(t):t
6
+ */let Tt=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Dt&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=zt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&zt.set(e,t))}return t}toString(){return this.cssText}};const Pt=t=>new Tt("string"==typeof t?t:t+"",void 0,Ot),Ft=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new Tt(i,t,Ot)},jt=Dt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return Pt(e)})(t):t
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */,{is:Bt,defineProperty:Vt,getOwnPropertyDescriptor:It,getOwnPropertyNames:Ft,getOwnPropertySymbols:Ut,getPrototypeOf:Rt}=Object,Ht=globalThis,qt=Ht.trustedTypes,Nt=qt?qt.emptyScript:"",Kt=Ht.reactiveElementPolyfillSupport,Zt=(t,e)=>t,Wt={toAttribute(t,e){switch(e){case Boolean:t=t?Nt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},Yt=(t,e)=>!Bt(t,e),Xt={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Yt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Ht.litPropertyMetadata??(Ht.litPropertyMetadata=new WeakMap);let Gt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Xt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);void 0!==r&&Vt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:o}=It(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return null==r?void 0:r.call(this)},set(e){const s=null==r?void 0:r.call(this);o.call(this,e),this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Xt}static _$Ei(){if(this.hasOwnProperty(Zt("elementProperties")))return;const t=Rt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zt("properties"))){const t=this.properties,e=[...Ft(t),...Ut(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(jt(t))}else void 0!==t&&e.push(jt(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach((t=>t(this)))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Et)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=Ot.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var i;const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const s=(void 0!==(null==(i=r.converter)?void 0:i.toAttribute)?r.converter:Wt).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){var i;const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(i=t.converter)?void 0:i.fromAttribute)?t.converter:Wt;this._$Em=o,this[o]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??Yt)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach((t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach((t=>this._$EC(t,this[t])))),this._$EU()}updated(t){}firstUpdated(t){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[Zt("elementProperties")]=new Map,Gt[Zt("finalized")]=new Map,null==Kt||Kt({ReactiveElement:Gt}),(Ht.reactiveElementVersions??(Ht.reactiveElementVersions=[])).push("2.0.4");
11
+ */,{is:Qt,defineProperty:Yt,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:Gt,getPrototypeOf:Ht}=Object,Lt=globalThis,qt=Lt.trustedTypes,Vt=qt?qt.emptyScript:"",$t=Lt.reactiveElementPolyfillSupport,Zt=(t,e)=>t,Kt={toAttribute(t,e){switch(e){case Boolean:t=t?Vt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},Nt=(t,e)=>!Qt(t,e),Jt={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Nt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Lt.litPropertyMetadata??(Lt.litPropertyMetadata=new WeakMap);let Wt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Yt(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=Rt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return null==o?void 0:o.call(this)},set(e){const s=null==o?void 0:o.call(this);r.call(this,e),this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Jt}static _$Ei(){if(this.hasOwnProperty(Zt("elementProperties")))return;const t=Ht(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zt("properties"))){const t=this.properties,e=[...Ut(t),...Gt(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(jt(t))}else void 0!==t&&e.push(jt(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach((t=>t(this)))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Dt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=Mt.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var i;const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const s=(void 0!==(null==(i=o.converter)?void 0:i.toAttribute)?o.converter:Kt).toAttribute(e,o.type);this._$Em=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Em=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(i=t.converter)?void 0:i.fromAttribute)?t.converter:Kt;this._$Em=r,this[r]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??Nt)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach((t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach((t=>this._$EC(t,this[t])))),this._$EU()}updated(t){}firstUpdated(t){}};Wt.elementStyles=[],Wt.shadowRootOptions={mode:"open"},Wt[Zt("elementProperties")]=new Map,Wt[Zt("finalized")]=new Map,null==$t||$t({ReactiveElement:Wt}),(Lt.reactiveElementVersions??(Lt.reactiveElementVersions=[])).push("2.0.4");
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2017 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const Jt=globalThis,Qt=Jt.trustedTypes,te=Qt?Qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,ee="$lit$",ie=`lit$${Math.random().toFixed(9).slice(2)}$`,re="?"+ie,oe=`<${re}>`,se=document,ae=()=>se.createComment(""),ne=t=>null===t||"object"!=typeof t&&"function"!=typeof t,le=Array.isArray,de="[ \t\n\f\r]",he=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ce=/-->/g,pe=/>/g,ue=RegExp(`>|${de}(?:([^\\s"'>=/]+)(${de}*=${de}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),be=/'/g,me=/"/g,ge=/^(?:script|style|textarea|title)$/i,ve=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),fe=ve(1),ye=ve(2),we=Symbol.for("lit-noChange"),xe=Symbol.for("lit-nothing"),ke=new WeakMap,$e=se.createTreeWalker(se,129);function Ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==te?te.createHTML(e):e}class Se{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,s=0;const a=t.length-1,n=this.parts,[l,d]=((t,e)=>{const i=t.length-1,r=[];let o,s=2===e?"<svg>":"",a=he;for(let e=0;e<i;e++){const i=t[e];let n,l,d=-1,h=0;for(;h<i.length&&(a.lastIndex=h,l=a.exec(i),null!==l);)h=a.lastIndex,a===he?"!--"===l[1]?a=ce:void 0!==l[1]?a=pe:void 0!==l[2]?(ge.test(l[2])&&(o=RegExp("</"+l[2],"g")),a=ue):void 0!==l[3]&&(a=ue):a===ue?">"===l[0]?(a=o??he,d=-1):void 0===l[1]?d=-2:(d=a.lastIndex-l[2].length,n=l[1],a=void 0===l[3]?ue:'"'===l[3]?me:be):a===me||a===be?a=ue:a===ce||a===pe?a=he:(a=ue,o=void 0);const c=a===ue&&t[e+1].startsWith("/>")?" ":"";s+=a===he?i+oe:d>=0?(r.push(n),i.slice(0,d)+ee+i.slice(d)+ie+c):i+ie+(-2===d?e:c)}return[Ce(t,s+(t[i]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=Se.createElement(l,i),$e.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=$e.nextNode())&&n.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(ee)){const e=d[s++],i=r.getAttribute(t).split(ie),a=/([.?@])?(.*)/.exec(e);n.push({type:1,index:o,name:a[2],strings:i,ctor:"."===a[1]?Ee:"?"===a[1]?Ae:"@"===a[1]?Te:Oe}),r.removeAttribute(t)}else t.startsWith(ie)&&(n.push({type:6,index:o}),r.removeAttribute(t));if(ge.test(r.tagName)){const t=r.textContent.split(ie),e=t.length-1;if(e>0){r.textContent=Qt?Qt.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],ae()),$e.nextNode(),n.push({type:2,index:++o});r.append(t[e],ae())}}}else if(8===r.nodeType)if(r.data===re)n.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(ie,t+1));)n.push({type:7,index:o}),t+=ie.length-1}o++}}static createElement(t,e){const i=se.createElement("template");return i.innerHTML=t,i}}function ze(t,e,i=t,r){var o,s;if(e===we)return e;let a=void 0!==r?null==(o=i._$Co)?void 0:o[r]:i._$Cl;const n=ne(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==n&&(null==(s=null==a?void 0:a._$AO)||s.call(a,!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,i,r)),void 0!==r?(i._$Co??(i._$Co=[]))[r]=a:i._$Cl=a),void 0!==a&&(e=ze(t,a._$AS(t,e.values),a,r)),e}class _e{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,r=((null==t?void 0:t.creationScope)??se).importNode(e,!0);$e.currentNode=r;let o=$e.nextNode(),s=0,a=0,n=i[0];for(;void 0!==n;){if(s===n.index){let e;2===n.type?e=new Pe(o,o.nextSibling,this,t):1===n.type?e=new n.ctor(o,n.name,n.strings,this,t):6===n.type&&(e=new Le(o,this,t)),this._$AV.push(e),n=i[++a]}s!==(null==n?void 0:n.index)&&(o=$e.nextNode(),s++)}return $e.currentNode=se,r}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Pe{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=xe,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=(null==r?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){var i;t=ze(this,t,e),ne(t)?t===xe||null==t||""===t?(this._$AH!==xe&&this._$AR(),this._$AH=xe):t!==this._$AH&&t!==we&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):le(i=t)||"function"==typeof(null==i?void 0:i[Symbol.iterator])?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==xe&&ne(this._$AH)?this._$AA.nextSibling.data=t:this.T(se.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Se.createElement(Ce(r.h,r.h[0]),this.options)),r);if((null==(e=this._$AH)?void 0:e._$AD)===o)this._$AH.p(i);else{const t=new _e(o,this),e=t.u(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=ke.get(t.strings);return void 0===e&&ke.set(t.strings,e=new Se(t)),e}k(t){le(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new Pe(this.S(ae()),this.S(ae()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null==(i=this._$AP)||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class Oe{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,o){this.type=1,this._$AH=xe,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=xe}_$AI(t,e=this,i,r){const o=this.strings;let s=!1;if(void 0===o)t=ze(this,t,e,0),s=!ne(t)||t!==this._$AH&&t!==we,s&&(this._$AH=t);else{const r=t;let a,n;for(t=o[0],a=0;a<o.length-1;a++)n=ze(this,r[i+a],e,a),n===we&&(n=this._$AH[a]),s||(s=!ne(n)||n!==this._$AH[a]),n===xe?t=xe:t!==xe&&(t+=(n??"")+o[a+1]),this._$AH[a]=n}s&&!r&&this.j(t)}j(t){t===xe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ee extends Oe{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===xe?void 0:t}}class Ae extends Oe{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==xe)}}class Te extends Oe{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){if((t=ze(this,t,e,0)??xe)===we)return;const i=this._$AH,r=t===xe&&i!==xe||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==xe&&(i===xe||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Le{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ze(this,t)}}const Me=Jt.litHtmlPolyfillSupport;null==Me||Me(Se,Pe),(Jt.litHtmlVersions??(Jt.litHtmlVersions=[])).push("3.1.4");
17
+ const _t=globalThis,Xt=_t.trustedTypes,te=Xt?Xt.createPolicy("lit-html",{createHTML:t=>t}):void 0,ee="$lit$",ie=`lit$${Math.random().toFixed(9).slice(2)}$`,oe="?"+ie,re=`<${oe}>`,se=document,ae=()=>se.createComment(""),ne=t=>null===t||"object"!=typeof t&&"function"!=typeof t,le=Array.isArray,de="[ \t\n\f\r]",he=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ce=/-->/g,pe=/>/g,ue=RegExp(`>|${de}(?:([^\\s"'>=/]+)(${de}*=${de}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ge=/'/g,me=/"/g,be=/^(?:script|style|textarea|title)$/i,ve=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ye=ve(1),fe=ve(2),we=Symbol.for("lit-noChange"),Ae=Symbol.for("lit-nothing"),xe=new WeakMap,ke=se.createTreeWalker(se,129);function Ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==te?te.createHTML(e):e}class Se{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const a=t.length-1,n=this.parts,[l,d]=((t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",a=he;for(let e=0;e<i;e++){const i=t[e];let n,l,d=-1,h=0;for(;h<i.length&&(a.lastIndex=h,l=a.exec(i),null!==l);)h=a.lastIndex,a===he?"!--"===l[1]?a=ce:void 0!==l[1]?a=pe:void 0!==l[2]?(be.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ue):void 0!==l[3]&&(a=ue):a===ue?">"===l[0]?(a=r??he,d=-1):void 0===l[1]?d=-2:(d=a.lastIndex-l[2].length,n=l[1],a=void 0===l[3]?ue:'"'===l[3]?me:ge):a===me||a===ge?a=ue:a===ce||a===pe?a=he:(a=ue,r=void 0);const c=a===ue&&t[e+1].startsWith("/>")?" ":"";s+=a===he?i+re:d>=0?(o.push(n),i.slice(0,d)+ee+i.slice(d)+ie+c):i+ie+(-2===d?e:c)}return[Ce(t,s+(t[i]||"<?>")+(2===e?"</svg>":"")),o]})(t,e);if(this.el=Se.createElement(l,i),ke.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=ke.nextNode())&&n.length<a;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(ee)){const e=d[s++],i=o.getAttribute(t).split(ie),a=/([.?@])?(.*)/.exec(e);n.push({type:1,index:r,name:a[2],strings:i,ctor:"."===a[1]?De:"?"===a[1]?Oe:"@"===a[1]?ze:Me}),o.removeAttribute(t)}else t.startsWith(ie)&&(n.push({type:6,index:r}),o.removeAttribute(t));if(be.test(o.tagName)){const t=o.textContent.split(ie),e=t.length-1;if(e>0){o.textContent=Xt?Xt.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],ae()),ke.nextNode(),n.push({type:2,index:++r});o.append(t[e],ae())}}}else if(8===o.nodeType)if(o.data===oe)n.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(ie,t+1));)n.push({type:7,index:r}),t+=ie.length-1}r++}}static createElement(t,e){const i=se.createElement("template");return i.innerHTML=t,i}}function Ee(t,e,i=t,o){var r,s;if(e===we)return e;let a=void 0!==o?null==(r=i._$Co)?void 0:r[o]:i._$Cl;const n=ne(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==n&&(null==(s=null==a?void 0:a._$AO)||s.call(a,!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,i,o)),void 0!==o?(i._$Co??(i._$Co=[]))[o]=a:i._$Cl=a),void 0!==a&&(e=Ee(t,a._$AS(t,e.values),a,o)),e}class Be{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=((null==t?void 0:t.creationScope)??se).importNode(e,!0);ke.currentNode=o;let r=ke.nextNode(),s=0,a=0,n=i[0];for(;void 0!==n;){if(s===n.index){let e;2===n.type?e=new Ie(r,r.nextSibling,this,t):1===n.type?e=new n.ctor(r,n.name,n.strings,this,t):6===n.type&&(e=new Te(r,this,t)),this._$AV.push(e),n=i[++a]}s!==(null==n?void 0:n.index)&&(r=ke.nextNode(),s++)}return ke.currentNode=se,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Ie{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=Ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=(null==o?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){var i;t=Ee(this,t,e),ne(t)?t===Ae||null==t||""===t?(this._$AH!==Ae&&this._$AR(),this._$AH=Ae):t!==this._$AH&&t!==we&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):le(i=t)||"function"==typeof(null==i?void 0:i[Symbol.iterator])?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==Ae&&ne(this._$AH)?this._$AA.nextSibling.data=t:this.T(se.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Se.createElement(Ce(o.h,o.h[0]),this.options)),o);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new Be(r,this),e=t.u(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=xe.get(t.strings);return void 0===e&&xe.set(t.strings,e=new Se(t)),e}k(t){le(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new Ie(this.S(ae()),this.S(ae()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null==(i=this._$AP)||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class Me{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=Ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Ae}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=Ee(this,t,e,0),s=!ne(t)||t!==this._$AH&&t!==we,s&&(this._$AH=t);else{const o=t;let a,n;for(t=r[0],a=0;a<r.length-1;a++)n=Ee(this,o[i+a],e,a),n===we&&(n=this._$AH[a]),s||(s=!ne(n)||n!==this._$AH[a]),n===Ae?t=Ae:t!==Ae&&(t+=(n??"")+r[a+1]),this._$AH[a]=n}s&&!o&&this.j(t)}j(t){t===Ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class De extends Me{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ae?void 0:t}}class Oe extends Me{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ae)}}class ze extends Me{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=Ee(this,t,e,0)??Ae)===we)return;const i=this._$AH,o=t===Ae&&i!==Ae||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==Ae&&(i===Ae||o);o&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Te{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Ee(this,t)}}const Pe=_t.litHtmlPolyfillSupport;null==Pe||Pe(Se,Ie),(_t.litHtmlVersions??(_t.litHtmlVersions=[])).push("3.1.4");
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
22
  */
23
- let De=class extends Gt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{const r=(null==i?void 0:i.renderBefore)??e;let o=r._$litPart$;if(void 0===o){const t=(null==i?void 0:i.renderBefore)??null;r._$litPart$=o=new Pe(e.insertBefore(ae(),t),t,void 0,i??{})}return o._$AI(t),o})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return we}};De._$litElement$=!0,De.finalized=!0,null==(e=globalThis.litElementHydrateSupport)||e.call(globalThis,{LitElement:De});const je=globalThis.litElementPolyfillSupport;null==je||je({LitElement:De}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.6");const Be=t=>e=>"function"==typeof e?((t,e)=>window.customElements.get(t)?(console.warn(`Custom element ${t} already defined. Registration skipped.`),e):(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(e){window.customElements.get(t)?console.warn(`Custom element ${t} already defined. Registration skipped.`):window.customElements.define(t,e)}}})(t,e)
23
+ let Fe=class extends Wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{const o=(null==i?void 0:i.renderBefore)??e;let r=o._$litPart$;if(void 0===r){const t=(null==i?void 0:i.renderBefore)??null;o._$litPart$=r=new Ie(e.insertBefore(ae(),t),t,void 0,i??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return we}};Fe._$litElement$=!0,Fe.finalized=!0,null==(e=globalThis.litElementHydrateSupport)||e.call(globalThis,{LitElement:Fe});const je=globalThis.litElementPolyfillSupport;null==je||je({LitElement:Fe}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.6");const Qe=t=>e=>"function"==typeof e?((t,e)=>window.customElements.get(t)?(console.warn(`Custom element ${t} already defined. Registration skipped.`),e):(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:o}=e;return{kind:i,elements:o,finisher(e){window.customElements.get(t)?console.warn(`Custom element ${t} already defined. Registration skipped.`):window.customElements.define(t,e)}}})(t,e)
24
24
  /**
25
25
  * @license
26
26
  * Copyright 2017 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
- */,Ve={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Yt},Ie=(t=Ve,e,i)=>{const{kind:r,metadata:o}=i;let s=globalThis.litPropertyMetadata.get(o);if(void 0===s&&globalThis.litPropertyMetadata.set(o,s=new Map),s.set(i.name,t),"accessor"===r){const{name:r}=i;return{set(i){const o=e.get.call(this);e.set.call(this,i),this.requestUpdate(r,o,t)},init(e){return void 0!==e&&this.P(r,void 0,t),e}}}if("setter"===r){const{name:r}=i;return function(i){const o=this[r];e.call(this,i),this.requestUpdate(r,o,t)}}throw Error("Unsupported decorator location: "+r)};function Fe(t){return(e,i)=>"object"==typeof i?Ie(t,e,i):((t,e,i)=>{const r=e.hasOwnProperty(i);return e.constructor.createProperty(i,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)
28
+ */,Ye={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Nt},Re=(t=Ye,e,i)=>{const{kind:o,metadata:r}=i;let s=globalThis.litPropertyMetadata.get(r);if(void 0===s&&globalThis.litPropertyMetadata.set(r,s=new Map),s.set(i.name,t),"accessor"===o){const{name:o}=i;return{set(i){const r=e.get.call(this);e.set.call(this,i),this.requestUpdate(o,r,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=i;return function(i){const r=this[o];e.call(this,i),this.requestUpdate(o,r,t)}}throw Error("Unsupported decorator location: "+o)};function Ue(t){return(e,i)=>"object"==typeof i?Re(t,e,i):((t,e,i)=>{const o=e.hasOwnProperty(i);return e.constructor.createProperty(i,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)
29
29
  /**
30
30
  * @license
31
31
  * Copyright 2017 Google LLC
32
32
  * SPDX-License-Identifier: BSD-3-Clause
33
- */}function Ue(t){return Fe({...t,state:!0,attribute:!1})}
33
+ */}function Ge(t){return Ue({...t,state:!0,attribute:!1})}
34
34
  /**
35
35
  * @license
36
36
  * Copyright 2017 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */const Re=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i)
38
+ */const He=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i)
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */;function He(t,e){return(e,i,r)=>Re(e,i,{get(){return(null==(e=this.renderRoot)?void 0:e.querySelector(t))??null;var e}})}
43
+ */;function Le(t,e){return(e,i,o)=>He(e,i,{get(){return(null==(e=this.renderRoot)?void 0:e.querySelector(t))??null;var e}})}
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2021 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
- */function qe(t){return(e,i)=>{const{slot:r,selector:o}=t??{},s="slot"+(r?`[name=${r}]`:":not([name])");return Re(e,i,{get(){var e;const i=null==(e=this.renderRoot)?void 0:e.querySelector(s),r=(null==i?void 0:i.assignedElements(t))??[];return void 0===o?r:r.filter((t=>t.matches(o)))}})}}const Ne=Dt`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`;function Ke(){let t,e="",i=0;for(;i<arguments.length;)(t=arguments[i++])&&"string"==typeof t&&(e&&(e+=" "),e+=t);return e}var Ze=Object.defineProperty,We=(t,e,i,r)=>{for(var o,s=void 0,a=t.length-1;a>=0;a--)(o=t[a])&&(s=o(e,i,s)||s);return s&&Ze(e,i,s),s};const Ye=class extends De{emit(t,e){const i=new CustomEvent(t,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...e});return this.dispatchEvent(i),i}};Ye.styles=Mt('/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:var(--sd-spacing-0,0)}.\\!right-0{right:var(--sd-spacing-0,0)!important}.-top-0{top:calc(var(--sd-spacing-0, 0px)*-1)}.-top-0\\.25{top:calc(var(--sd-spacing-0-25, 1px)*-1)}.-top-4{top:calc(var(--sd-spacing-4, 1rem)*-1)}.bottom-0{bottom:var(--sd-spacing-0,0)}.bottom-auto{bottom:var(--sd-spacing-auto,auto)}.end-0{inset-inline-end:var(--sd-spacing-0,0)}.end-auto{inset-inline-end:var(--sd-spacing-auto,auto)}.left-0{left:var(--sd-spacing-0,0)}.left-1\\/2{left:50%}.left-auto{left:var(--sd-spacing-auto,auto)}.right-0{right:var(--sd-spacing-0,0)}.right-2{right:var(--sd-spacing-2,.5rem)}.right-4{right:var(--sd-spacing-4,1rem)}.right-auto{right:var(--sd-spacing-auto,auto)}.start-0{inset-inline-start:var(--sd-spacing-0,0)}.start-auto{inset-inline-start:var(--sd-spacing-auto,auto)}.top-0{top:var(--sd-spacing-0,0)}.top-1{top:var(--sd-spacing-1,.25rem)}.top-1\\/2{top:50%}.top-2{top:var(--sd-spacing-2,.5rem)}.top-full{top:100%}.isolate{isolation:isolate}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-dialog{z-index:var(--sd-z-index-dialog,800)}.z-dropdown{z-index:var(--sd-z-index-dropdown,900)}.\\!m-0{margin:var(--sd-spacing-0,0)!important}.m-0{margin:var(--sd-spacing-0,0)}.m-2{margin:var(--sd-spacing-2,.5rem)}.m-4{margin:var(--sd-spacing-4,1rem)}.mx-\\[-1px\\]{margin-left:-1px;margin-right:-1px}.mx-auto{margin-left:var(--sd-spacing-auto,auto);margin-right:var(--sd-spacing-auto,auto)}.my-0{margin-bottom:var(--sd-spacing-0,0);margin-top:var(--sd-spacing-0,0)}.my-auto{margin-bottom:var(--sd-spacing-auto,auto);margin-top:var(--sd-spacing-auto,auto)}.\\!ml-6{margin-left:var(--sd-spacing-6,1.5rem)!important}.\\!mr-6{margin-right:var(--sd-spacing-6,1.5rem)!important}.mb-2{margin-bottom:var(--sd-spacing-2,.5rem)}.mb-4{margin-bottom:var(--sd-spacing-4,1rem)}.mb-6{margin-bottom:var(--sd-spacing-6,1.5rem)}.mb-auto{margin-bottom:var(--sd-spacing-auto,auto)}.ml-1{margin-left:var(--sd-spacing-1,.25rem)}.ml-2{margin-left:var(--sd-spacing-2,.5rem)}.ml-4{margin-left:var(--sd-spacing-4,1rem)}.ml-6{margin-left:var(--sd-spacing-6,1.5rem)}.ml-\\[0\\.25em\\]{margin-left:.25em}.ml-\\[0\\.5em\\]{margin-left:.5em}.ml-auto{margin-left:var(--sd-spacing-auto,auto)}.mr-1{margin-right:var(--sd-spacing-1,.25rem)}.mr-2{margin-right:var(--sd-spacing-2,.5rem)}.mr-4{margin-right:var(--sd-spacing-4,1rem)}.mr-6{margin-right:var(--sd-spacing-6,1.5rem)}.mr-\\[0\\.25em\\]{margin-right:.25em}.mr-\\[0\\.5em\\]{margin-right:.5em}.mt-0{margin-top:var(--sd-spacing-0,0)}.mt-0\\.25{margin-top:var(--sd-spacing-0-25,1px)}.mt-1{margin-top:var(--sd-spacing-1,.25rem)}.mt-2{margin-top:var(--sd-spacing-2,.5rem)}.mt-3{margin-top:var(--sd-spacing-3,.75rem)}.mt-4{margin-top:var(--sd-spacing-4,1rem)}.mt-\\[-1px\\]{margin-top:-1px}.mt-\\[2px\\]{margin-top:2px}.mt-\\[3px\\]{margin-top:3px}.mt-auto{margin-top:var(--sd-spacing-auto,auto)}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\\!flex{display:flex!important}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.\\!hidden{display:none!important}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.\\!h-full{height:100%!important}.h-0{height:var(--sd-spacing-0,0)}.h-0\\.25{height:var(--sd-spacing-0-25,1px)}.h-1{height:var(--sd-spacing-1,.25rem)}.h-10{height:var(--sd-spacing-10,2.5rem)}.h-12{height:var(--sd-spacing-12,3rem)}.h-16{height:var(--sd-spacing-16,4rem)}.h-2{height:var(--sd-spacing-2,.5rem)}.h-2\\.5{height:var(--sd-spacing-2-5,.625rem)}.h-3{height:var(--sd-spacing-3,.75rem)}.h-4{height:var(--sd-spacing-4,1rem)}.h-5{height:var(--sd-spacing-5,1.25rem)}.h-6{height:var(--sd-spacing-6,1.5rem)}.h-8{height:var(--sd-spacing-8,2rem)}.h-\\[0px\\]{height:0}.h-\\[1px\\]{height:1px}.h-\\[2px\\]{height:2px}.h-\\[48px\\]{height:48px}.h-\\[6px\\]{height:6px}.h-\\[96px\\]{height:96px}.h-\\[calc\\(100\\%-16px\\)\\]{height:calc(100% - 16px)}.h-\\[calc\\(100\\%-8px\\)\\]{height:calc(100% - 8px)}.h-full{height:100%}.h-varspacing{height:var(--tw-varspacing)}.max-h-full{max-height:100%}.min-h-\\[32px\\]{min-height:32px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[48px\\]{min-height:48px}.\\!w-full{width:100%!important}.w-0{width:var(--sd-spacing-0,0)}.w-1{width:var(--sd-spacing-1,.25rem)}.w-12{width:var(--sd-spacing-12,3rem)}.w-16{width:var(--sd-spacing-16,4rem)}.w-2{width:var(--sd-spacing-2,.5rem)}.w-2\\.5{width:var(--sd-spacing-2-5,.625rem)}.w-3{width:var(--sd-spacing-3,.75rem)}.w-3\\/4{width:75%}.w-4{width:var(--sd-spacing-4,1rem)}.w-40{width:var(--sd-spacing-40,10rem)}.w-5{width:var(--sd-spacing-5,1.25rem)}.w-6{width:var(--sd-spacing-6,1.5rem)}.w-8{width:var(--sd-spacing-8,2rem)}.w-\\[--width\\]{width:var(--width)}.w-\\[1px\\]{width:1px}.w-\\[48px\\]{width:48px}.w-\\[6px\\]{width:6px}.w-\\[72px\\]{width:72px}.w-\\[96px\\]{width:96px}.w-auto{width:var(--sd-spacing-auto,auto)}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-varspacing{width:var(--tw-varspacing)}.min-w-0{min-width:var(--sd-spacing-0,0)}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[20px\\]{min-width:20px}.min-w-\\[8px\\]{min-width:8px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-min{min-width:-moz-min-content;min-width:min-content}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\\[0_0_auto\\]{flex:0 0 auto}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.basis-auto{flex-basis:var(--sd-spacing-auto,auto)}.origin-bottom{transform-origin:bottom}.origin-top{transform-origin:top}.\\!-translate-x-1\\/2{--tw-translate-x:-50%!important}.\\!-translate-x-1\\/2,.\\!-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\!-translate-y-1\\/2{--tw-translate-y:-50%!important}.\\!translate-x-1\\/2{--tw-translate-x:50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-x-2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-2{--tw-translate-x:calc(var(--sd-spacing-2, .5rem)*-1)}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.translate-x-2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-2{--tw-translate-x:var(--sd-spacing-2,.5rem)}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.rotate-\\[-90deg\\]{--tw-rotate:-90deg}.rotate-\\[-90deg\\],.rotate-\\[270deg\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\\[270deg\\]{--tw-rotate:270deg}.scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1}.scale-110,.scale-y-\\[1\\.5\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-\\[1\\.5\\]{--tw-scale-y:1.5}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce-once{0%{transform:translateY(0)}15%{transform:translateY(-9px)}25%{transform:translateY(-12px)}40%{transform:translateY(-4px)}50%{transform:translateY(0)}65%{transform:translateY(-4px)}75%{transform:translateY(-6px)}90%{transform:translateY(-2px)}to{transform:translateY(0)}}.animate-bounce-once{animation:bounce-once .6s ease-in-out}@keyframes grow{0%{width:0}to{width:100%}}.animate-grow{animation:grow linear}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\\!cursor-not-allowed{cursor:not-allowed!important}.cursor-\\[inherit\\]{cursor:inherit}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-flow-col{grid-auto-flow:column}.auto-rows-\\[100\\%\\]{grid-auto-rows:100%}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.\\!items-center{align-items:center!important}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.\\!justify-center{justify-content:center!important}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-stretch{justify-content:stretch}.justify-items-center{justify-items:center}.gap-0{gap:var(--sd-spacing-0,0)}.gap-0\\.5{gap:var(--sd-spacing-0-5,.125rem)}.gap-1{gap:var(--sd-spacing-1,.25rem)}.gap-2{gap:var(--sd-spacing-2,.5rem)}.gap-3{gap:var(--sd-spacing-3,.75rem)}.gap-4{gap:var(--sd-spacing-4,1rem)}.gap-6{gap:var(--sd-spacing-6,1.5rem)}.gap-8{gap:var(--sd-spacing-8,2rem)}.gap-x-\\[1px\\]{-moz-column-gap:1px;column-gap:1px}.self-start{align-self:flex-start}.self-center{align-self:center}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-x-contain{overscroll-behavior-x:contain}.scroll-auto{scroll-behavior:auto}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.\\!rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)!important}.rounded-\\[4px_4px_0_0\\]{border-radius:4px 4px 0 0}.rounded-default{border-radius:var(--sd-border-radius-default,.25rem)}.rounded-full{border-radius:var(--sd-border-radius-full,9999px)}.rounded-md{border-radius:var(--sd-border-radius-md,.375rem)}.rounded-none{border-radius:var(--sd-border-radius-none,0)}.rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)}.rounded-b-default{border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem)}.rounded-b-none{border-bottom-left-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}.rounded-bl-default{border-bottom-left-radius:var(--sd-border-radius-default,.25rem)}.rounded-bl-none{border-bottom-left-radius:var(--sd-border-radius-none,0)}.rounded-br-default{border-bottom-right-radius:var(--sd-border-radius-default,.25rem)}.rounded-br-none{border-bottom-right-radius:var(--sd-border-radius-none,0)}.rounded-tl-default{border-top-left-radius:var(--sd-border-radius-default,.25rem)}.rounded-tl-none{border-top-left-radius:var(--sd-border-radius-none,0)}.rounded-tr-default{border-top-right-radius:var(--sd-border-radius-default,.25rem)}.rounded-tr-none{border-top-right-radius:var(--sd-border-radius-none,0)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-\\[1px\\]{border-width:1px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0}.border-l-2{border-left-width:2px}.border-l-4{border-left-width:4px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-none{border-style:none}.border-accent{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-border-opacity))}.border-error{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity))}.border-primary-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-border-opacity))}.border-success{--tw-border-opacity:1;border-color:rgb(var(--sd-color-success,37 136 14)/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-border-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.65\\)\\]{background-color:#000000a6}.bg-accent{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-bg-opacity))}.bg-accent-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-500,37 136 14)/var(--tw-bg-opacity))}.bg-error{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-bg-opacity))}.bg-info{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-info,21 130 213)/var(--tw-bg-opacity))}.bg-neutral-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.bg-neutral-100\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-neutral-100,246 246 246)/.8)}.bg-neutral-200{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-bg-opacity))}.bg-neutral-800\\/75{background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--sd-opacity-75,.75))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.bg-primary-100\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-primary-100,236 240 249)/.8)}.bg-primary-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.bg-primary-800{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity))}.bg-primary\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-primary,0 53 142)/.8)}.bg-success{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-success,37 136 14)/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-warning{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-warning,187 141 32)/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity))}.bg-white\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-white,255 255 255)/.8)}.bg-opacity-75{--tw-bg-opacity:var(--sd-opacity-75,.75)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-primary-800\\/60{--tw-gradient-from:rgb(var(--sd-color-primary-800,5 21 48)/var(--sd-opacity-60,.6)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-primary-800\\/75{--tw-gradient-from:rgb(var(--sd-color-primary-800,5 21 48)/var(--sd-opacity-75,.75)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-primary-800\\/\\[\\.6\\]{--tw-gradient-from:rgb(var(--sd-color-primary-800,5 21 48)/.6) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/60{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-60,.6)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/75{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-75,.75)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/90{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-90,.9)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/\\[\\.8\\]{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/.8) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-primary-800\\/60{--tw-gradient-to:rgb(var(--sd-color-primary-800,5 21 48)/var(--sd-opacity-60,.6)) var(--tw-gradient-to-position)}.to-primary-800\\/\\[\\.6\\]{--tw-gradient-to:rgb(var(--sd-color-primary-800,5 21 48)/.6) var(--tw-gradient-to-position)}.to-white\\/60{--tw-gradient-to:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-60,.6)) var(--tw-gradient-to-position)}.to-white\\/\\[\\.8\\]{--tw-gradient-to:rgb(var(--sd-color-white,255 255 255)/.8) var(--tw-gradient-to-position)}.to-40\\%{--tw-gradient-to-position:40%}.to-60\\%{--tw-gradient-to-position:60%}.fill-accent{fill:rgb(var(--sd-color-accent,45 157 0)/1)}.fill-accent-550{fill:rgb(var(--sd-color-accent-550,54 123 40)/1)}.fill-accent-700{fill:rgb(var(--sd-color-accent-700,33 87 37)/1)}.fill-neutral-100{fill:rgb(var(--sd-color-neutral-100,246 246 246)/1)}.fill-primary{fill:rgb(var(--sd-color-primary,0 53 142)/1)}.fill-primary-100{fill:rgb(var(--sd-color-primary-100,236 240 249)/1)}.fill-primary-200{fill:rgb(var(--sd-color-primary-200,224 233 243)/1)}.fill-primary-500{fill:rgb(var(--sd-color-primary-500,70 109 175)/1)}.fill-transparent{fill:transparent}.fill-white{fill:rgb(var(--sd-color-white,255 255 255)/1)}.p-0{padding:var(--sd-spacing-0,0)}.p-1{padding:var(--sd-spacing-1,.25rem)}.p-4{padding:var(--sd-spacing-4,1rem)}.px-0{padding-left:var(--sd-spacing-0,0);padding-right:var(--sd-spacing-0,0)}.px-10{padding-left:var(--sd-spacing-10,2.5rem);padding-right:var(--sd-spacing-10,2.5rem)}.px-12{padding-left:var(--sd-spacing-12,3rem);padding-right:var(--sd-spacing-12,3rem)}.px-2{padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}.px-3{padding-left:var(--sd-spacing-3,.75rem);padding-right:var(--sd-spacing-3,.75rem)}.px-4{padding-left:var(--sd-spacing-4,1rem);padding-right:var(--sd-spacing-4,1rem)}.px-6{padding-left:var(--sd-spacing-6,1.5rem);padding-right:var(--sd-spacing-6,1.5rem)}.px-\\[4px\\]{padding-left:4px;padding-right:4px}.px-\\[5px\\]{padding-left:5px;padding-right:5px}.py-0{padding-bottom:var(--sd-spacing-0,0);padding-top:var(--sd-spacing-0,0)}.py-1{padding-bottom:var(--sd-spacing-1,.25rem);padding-top:var(--sd-spacing-1,.25rem)}.py-2{padding-bottom:var(--sd-spacing-2,.5rem);padding-top:var(--sd-spacing-2,.5rem)}.py-3{padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}.py-4{padding-bottom:var(--sd-spacing-4,1rem);padding-top:var(--sd-spacing-4,1rem)}.py-6{padding-bottom:var(--sd-spacing-6,1.5rem);padding-top:var(--sd-spacing-6,1.5rem)}.py-8{padding-bottom:var(--sd-spacing-8,2rem);padding-top:var(--sd-spacing-8,2rem)}.py-\\[5px\\]{padding-bottom:5px;padding-top:5px}.pb-1{padding-bottom:var(--sd-spacing-1,.25rem)}.pb-2{padding-bottom:var(--sd-spacing-2,.5rem)}.pb-3{padding-bottom:var(--sd-spacing-3,.75rem)}.pb-4{padding-bottom:var(--sd-spacing-4,1rem)}.pl-3{padding-left:var(--sd-spacing-3,.75rem)}.pl-4{padding-left:var(--sd-spacing-4,1rem)}.pl-8{padding-left:var(--sd-spacing-8,2rem)}.pr-2{padding-right:var(--sd-spacing-2,.5rem)}.pr-3{padding-right:var(--sd-spacing-3,.75rem)}.pr-4{padding-right:var(--sd-spacing-4,1rem)}.pt-0{padding-top:var(--sd-spacing-0,0)}.pt-1{padding-top:var(--sd-spacing-1,.25rem)}.pt-3{padding-top:var(--sd-spacing-3,.75rem)}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.\\!text-base{font-size:var(--sd-font-size-base,1rem)!important}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[2rem\\]{font-size:2rem}.text-\\[4rem\\]{font-size:4rem}.text-base{font-size:var(--sd-font-size-base,1rem)}.text-lg{font-size:var(--sd-font-size-lg,1.25rem)}.text-sm{font-size:var(--sd-font-size-sm,.875rem)}.text-xl{font-size:var(--sd-font-size-xl,1.5rem)}.\\!font-bold{font-weight:700!important}.font-bold{font-weight:700}.font-normal{font-weight:400}.leading-\\[calc\\(var\\(--tw-varspacing\\)-2px\\)\\]{line-height:calc(var(--tw-varspacing) - 2px)}.leading-none{line-height:var(--sd-line-height-none,100%)}.leading-normal{line-height:var(--sd-line-height-normal,150%)}.leading-tight{line-height:var(--sd-line-height-tight,120%)}.\\!text-neutral-500{--tw-text-opacity:1!important;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))!important}.\\!text-primary{--tw-text-opacity:1!important;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))!important}.text-black{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.text-error{--tw-text-opacity:1;color:rgb(var(--sd-color-error,204 25 55)/var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.text-primary-400{--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.text-success{--tw-text-opacity:1;color:rgb(var(--sd-color-success,37 136 14)/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.\\!underline{text-decoration-line:underline!important}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.\\!underline-offset-2{text-underline-offset:2px!important}.underline-offset-2{text-underline-offset:2px}.placeholder-neutral-700::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-placeholder-opacity))}.placeholder-neutral-700::placeholder{--tw-placeholder-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-placeholder-opacity))}.opacity-0{opacity:var(--sd-opacity-0,0)}.opacity-20{opacity:var(--sd-opacity-20,.2)}.opacity-50{opacity:var(--sd-opacity-50,.5)}.opacity-90{opacity:var(--sd-opacity-90,.9)}.shadow{--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-dotted{outline-style:dotted}.outline-1{outline-width:1px}.outline-2{outline-width:2px}.\\!-outline-offset-2{outline-offset:-2px!important}.\\!outline-offset-0{outline-offset:0!important}.outline-error{outline-color:rgb(var(--sd-color-error,204 25 55)/1)}.outline-primary{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.varspacing-10{--tw-varspacing:var(--sd-spacing-10,2.5rem)}.varspacing-12{--tw-varspacing:var(--sd-spacing-12,3rem)}.varspacing-8{--tw-varspacing:var(--sd-spacing-8,2rem)}.focus-within\\:focus-outline:focus-within{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-within\\:focus-outline-inverted:focus-within{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline-inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.\\*\\:drop-shadow-md>*{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-offset-2:focus{outline-offset:2px}.focus\\:outline-primary:focus{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.disabled\\:border-neutral-500:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.disabled\\:border-neutral-600:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-border-opacity))}.disabled\\:bg-neutral-500:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.disabled\\:bg-neutral-600:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-bg-opacity))}.disabled\\:text-neutral-500:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.disabled\\:text-neutral-600:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.disabled\\:text-white:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.group:hover .group-hover\\:visible{visibility:visible}.group:hover .group-hover\\:top-0{top:var(--sd-spacing-0,0)}.group:hover .group-hover\\:h-full{height:100%}.group:hover .group-hover\\:w-full{width:100%}.group:hover .group-hover\\:cursor-pointer{cursor:pointer}.group:hover .group-hover\\:border-accent-550{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.group:hover .group-hover\\:border-error-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.group:hover .group-hover\\:border-primary-500{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-border-opacity))}.group:hover .group-hover\\:bg-accent-550{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-error-400{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-neutral-100\\/90{background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:bg-neutral-200{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-primary-100\\/90{background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:bg-primary\\/90{background-color:rgb(var(--sd-color-primary,0 53 142)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:bg-white\\/90{background-color:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:fill-primary-500{fill:rgb(var(--sd-color-primary-500,70 109 175)/1)}.group:hover .group-hover\\:\\!text-primary-500{--tw-text-opacity:1!important;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))!important}.group:hover .group-hover\\:text-primary-500{--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.peer:focus-visible~.peer-focus-visible\\:outline{outline-style:solid}.peer:focus-visible~.peer-focus-visible\\:outline-2{outline-width:2px}.peer:focus-visible~.peer-focus-visible\\:outline-offset-2{outline-offset:2px}.peer:focus-visible~.peer-focus-visible\\:outline-primary{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.hover\\:scale-110:hover:not([disabled]){--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:cursor-not-allowed:hover:not([disabled]){cursor:not-allowed}.hover\\:cursor-pointer:hover:not([disabled]){cursor:pointer}.hover\\:border-accent-550:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.hover\\:border-error-400:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.hover\\:border-primary-100:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-border-opacity))}.hover\\:border-primary-500:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-border-opacity))}.hover\\:bg-accent-300:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-300,108 194 84)/var(--tw-bg-opacity))}.hover\\:bg-accent-550:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.hover\\:bg-error-400:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.hover\\:bg-neutral-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.hover\\:bg-neutral-200:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.hover\\:bg-primary-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.hover\\:bg-primary-500:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.hover\\:bg-transparent:hover:not([disabled]){background-color:transparent}.hover\\:fill-accent-550:hover:not([disabled]){fill:rgb(var(--sd-color-accent-550,54 123 40)/1)}.hover\\:fill-primary-100:hover:not([disabled]){fill:rgb(var(--sd-color-primary-100,236 240 249)/1)}.hover\\:fill-primary-500:hover:not([disabled]){fill:rgb(var(--sd-color-primary-500,70 109 175)/1)}.hover\\:text-primary-100:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-text-opacity))}.hover\\:text-primary-200:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.hover\\:text-primary-500:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.active\\:border-primary-200:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-border-opacity))}.active\\:border-primary-800:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-border-opacity))}.active\\:bg-accent-700:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-700,33 87 37)/var(--tw-bg-opacity))}.active\\:bg-primary-200:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-bg-opacity))}.active\\:bg-primary-800:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity))}.active\\:fill-accent-700:active:not([disabled]){fill:rgb(var(--sd-color-accent-700,33 87 37)/1)}.active\\:text-primary-200:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.active\\:text-primary-400:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.active\\:text-primary-800:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}@media (min-width:640px){.sm\\:mt-2{margin-top:var(--sd-spacing-2,.5rem)}.sm\\:flex-col{flex-direction:column}.sm\\:gap-4{gap:var(--sd-spacing-4,1rem)}.sm\\:self-center{align-self:center}.sm\\:p-6{padding:var(--sd-spacing-6,1.5rem)}.sm\\:px-10{padding-left:var(--sd-spacing-10,2.5rem);padding-right:var(--sd-spacing-10,2.5rem)}.sm\\:py-8{padding-top:var(--sd-spacing-8,2rem)}.sm\\:pb-8,.sm\\:py-8{padding-bottom:var(--sd-spacing-8,2rem)}.sm\\:text-center{text-align:center}.sm\\:text-3xl{font-size:var(--sd-font-size-3xl,2rem)}.sm\\:text-4xl{font-size:var(--sd-font-size-4xl,2.5rem)}.sm\\:leading-tight{line-height:var(--sd-line-height-tight,120%)}}@media (min-width:768px){.md\\:block{display:block}.md\\:\\[transition\\:_height_0\\.2s_linear\\,opacity_0\\.1s_linear_0\\.1s\\]{transition:height .2s linear,opacity .1s linear .1s}.group:hover .md\\:group-hover\\:visible{visibility:visible}.group:hover .md\\:group-hover\\:my-4{margin-bottom:var(--sd-spacing-4,1rem);margin-top:var(--sd-spacing-4,1rem)}.group:hover .md\\:group-hover\\:h-auto{height:var(--sd-spacing-auto,auto)}.group:hover .md\\:group-hover\\:opacity-\\[100\\%\\]{opacity:100%}}');let Xe=Ye;We([Fe()],Xe.prototype,"dir"),We([Fe()],Xe.prototype,"lang");var Ge=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Qe=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Je(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Ge(e,i,s),s};let ti=class extends Xe{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver((t=>this.handleCurrentPlacementChange(t))),this.mutationObserver.observe(this,{attributes:!0})}handleCurrentPlacementChange(t){return t.forEach((t=>{if("data-current-placement"===t.attributeName){const t=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:t})}}))}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=function(t,e,i,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:n="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,d=ct(t),h=o||s?[...d?dt(d):[],...dt(e)]:[];h.forEach((t=>{o&&t.addEventListener("scroll",i,{passive:!0}),s&&t.addEventListener("resize",i)}));const c=d&&n?function(t,e){let i,r=null;const o=Y(t);function s(){var t;clearTimeout(i),null==(t=r)||t.disconnect(),r=null}return function a(n,l){void 0===n&&(n=!1),void 0===l&&(l=1),s();const{left:d,top:h,width:c,height:p}=t.getBoundingClientRect();if(n||e(),!c||!p)return;const u={rootMargin:-O(h)+"px "+-O(o.clientWidth-(d+c))+"px "+-O(o.clientHeight-(h+p))+"px "+-O(d)+"px",threshold:_(0,z(1,l))||1};let b=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!b)return a();e?a(!1,e):i=setTimeout((()=>{a(!1,1e-7)}),1e3)}b=!1}try{r=new IntersectionObserver(m,{...u,root:o.ownerDocument})}catch{r=new IntersectionObserver(m,u)}r.observe(t)}(!0),s}(d,i):null;let p=-1,u=null;a&&(u=new ResizeObserver((t=>{let[r]=t;r&&r.target===d&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=u)||t.observe(e)}))),i()})),d&&!l&&u.observe(d),u.observe(e));let b,m=l?mt(t):null;return l&&function e(){const r=mt(t);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&i(),m=r,b=requestAnimationFrame(e)}(),i(),()=>{var t;h.forEach((t=>{o&&t.removeEventListener("scroll",i),s&&t.removeEventListener("resize",i)})),null==c||c(),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(b)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const t=[_t({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Pt({apply:({rects:t})=>{const e="width"===this.sync||"both"===this.sync,i="height"===this.sync||"both"===this.sync;this.popup.style.width=e?`${t.reference.width}px`:"",this.popup.style.height=i?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,r;const{placement:o,middlewareData:s,rects:a,initialPlacement:n,platform:l,elements:d}=e,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:m=!0,...g}=M(t,e);if(null!=(i=s.arrow)&&i.alignmentOffset)return{};const v=D(o),f=D(n)===n,y=await(null==l.isRTL?void 0:l.isRTL(d.floating)),w=p||(f||!m?[R(n)]:function(t){const e=R(t);return[U(t),e,U(e)]}(n));!p&&"none"!==b&&w.push(...function(t,e,i,r){const o=j(t);let s=function(t,e,i){const r=["left","right"],o=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return i?e?o:r:e?r:o;case"left":case"right":return e?s:a;default:return[]}}(D(t),"start"===i,r);return o&&(s=s.map((t=>t+"-"+o)),e&&(s=s.concat(s.map(U)))),s}(n,m,b,y));const x=[n,...w],k=await K(e,g),$=[];let C=(null==(r=s.flip)?void 0:r.overflows)||[];if(h&&$.push(k[v]),c){const t=function(t,e,i){void 0===i&&(i=!1);const r=j(t),o=F(t),s=V(o);let a="x"===o?r===(i?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=R(a)),[a,R(a)]}(o,a,y);$.push(k[t[0]],k[t[1]])}if(C=[...C,{placement:o,overflows:$}],!$.every((t=>t<=0))){var S,z;const t=((null==(S=s.flip)?void 0:S.index)||0)+1,e=x[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let i=null==(z=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:z.placement;if(!i)switch(u){case"bestFit":{var _;const t=null==(_=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:_[0];t&&(i=t);break}case"initialPlacement":i=n}if(o!==i)return{reset:{placement:i}}}return{}}}}({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:i,y:r,placement:o}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:n={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...l}=M(t,e),d={x:i,y:r},h=await K(e,l),c=I(D(o)),p=B(c);let u=d[p],b=d[c];if(s){const t="y"===p?"bottom":"right";u=L(u+h["y"===p?"top":"left"],u,u-h[t])}if(a){const t="y"===c?"bottom":"right";b=L(b+h["y"===c?"top":"left"],b,b-h[t])}const m=n.fn({...e,[p]:u,[c]:b});return{...m,data:{x:m.x-i,y:m.y-r}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Pt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:i,y:r,placement:o,rects:s,platform:a,elements:n,middlewareData:l}=e,{element:d,padding:h=0}=M(t,e)||{};if(null==d)return{};const c=H(h),p={x:i,y:r},u=F(o),b=V(u),m=await a.getDimensions(d),g="y"===u,v=g?"top":"left",f=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=s.reference[b]+s.reference[u]-p[u]-s.floating[b],x=p[u]-s.reference[u],k=await(null==a.getOffsetParent?void 0:a.getOffsetParent(d));let $=k?k[y]:0;(!$||!await(null==a.isElement?void 0:a.isElement(k)))&&($=n.floating[y]||s.floating[b]);const C=w/2-x/2,S=$/2-m[b]/2-1,_=z(c[v],S),P=z(c[f],S),O=_,E=$-m[b]-P,A=$/2-m[b]/2+C,T=L(O,A,E),D=!l.arrow&&null!=j(o)&&A!==T&&s.reference[b]/2-(A<O?_:P)-m[b]/2<0,B=D?A<O?A-O:A-E:0;return{[u]:p[u]+B,data:{[u]:T,centerOffset:A-T-B,...D&&{alignmentOffset:B}},reset:D}}}))({element:this.arrowEl,padding:this.arrowPadding})),((t,e,i)=>{const r=new Map,o={platform:zt,...i},s={...o.platform,_c:r};return(async(t,e,i)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=i,n=s.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:h,y:c}=N(d,r,l),p=r,u={},b=0;for(let i=0;i<n.length;i++){const{name:s,fn:m}=n[i],{x:g,y:v,data:f,reset:y}=await m({x:h,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:u,rects:d,platform:a,elements:{reference:t,floating:e}});h=g??h,c=v??c,u={...u,[s]:{...u[s],...f}},y&&b<=50&&(b++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(d=!0===y.rects?await a.getElementRects({reference:t,floating:e,strategy:o}):y.rects),({x:h,y:c}=N(d,p,l))),i=-1)}return{x:h,y:c,placement:p,strategy:o,middlewareData:u}})(t,e,{...o,platform:s})})(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then((({x:t,y:e,middlewareData:i,placement:r})=>{const o="rtl"===getComputedStyle(this).direction,s={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=i.arrow.x,e=i.arrow.y;let r="",a="",n="",l="";if("start"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";r="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",a=o?i:"",l=o?"":i}else if("end"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";a=o?"":i,l=o?i:"",n="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",r="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",r="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:r,right:a,bottom:n,left:l,[s]:"calc(var(--arrow-size-diagonal) * -1)"})}})),this.emit("sd-reposition")}render(){return fe`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Ke("isolate","fixed"!==this.strategy?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?fe`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};ti.styles=[Xe.styles,Ne,Dt`:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],Qe([He('[part="popup"]')],ti.prototype,"popup",2),Qe([He('[part="arrow"]')],ti.prototype,"arrowEl",2),Qe([Fe()],ti.prototype,"anchor",2),Qe([Fe({type:Boolean,reflect:!0})],ti.prototype,"active",2),Qe([Fe({reflect:!0})],ti.prototype,"placement",2),Qe([Fe({reflect:!0})],ti.prototype,"strategy",2),Qe([Fe({type:Number})],ti.prototype,"distance",2),Qe([Fe({type:Number})],ti.prototype,"skidding",2),Qe([Fe({type:Boolean})],ti.prototype,"arrow",2),Qe([Fe({attribute:"arrow-placement"})],ti.prototype,"arrowPlacement",2),Qe([Fe({attribute:"arrow-padding",type:Number})],ti.prototype,"arrowPadding",2),Qe([Fe({type:Boolean})],ti.prototype,"flip",2),Qe([Fe({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map((t=>t.trim())).filter((t=>""!==t)),toAttribute:t=>t.join(" ")}})],ti.prototype,"flipFallbackPlacements",2),Qe([Fe({attribute:"flip-fallback-strategy"})],ti.prototype,"flipFallbackStrategy",2),Qe([Fe({type:Object})],ti.prototype,"flipBoundary",2),Qe([Fe({attribute:"flip-padding",type:Number})],ti.prototype,"flipPadding",2),Qe([Fe({type:Boolean})],ti.prototype,"shift",2),Qe([Fe({type:Object})],ti.prototype,"shiftBoundary",2),Qe([Fe({attribute:"shift-padding",type:Number})],ti.prototype,"shiftPadding",2),Qe([Fe({attribute:"auto-size"})],ti.prototype,"autoSize",2),Qe([Fe()],ti.prototype,"sync",2),Qe([Fe({type:Object})],ti.prototype,"autoSizeBoundary",2),Qe([Fe({attribute:"auto-size-padding",type:Number})],ti.prototype,"autoSizePadding",2),ti=Qe([Be("sd-popup")],ti);const ei=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ti}},Symbol.toStringTag,{value:"Module"})),ii=Object.assign({"./components/accordion-group/accordion-group.ts":()=>Promise.resolve().then((()=>Ri)),"./components/accordion/accordion.ts":()=>Promise.resolve().then((()=>Bi)),"./components/audio/audio.ts":()=>Promise.resolve().then((()=>Gi)),"./components/audio/wave.ts":()=>Promise.resolve().then((()=>Ni)),"./components/badge/badge.ts":()=>Promise.resolve().then((()=>ir)),"./components/brandshape/brandshape.ts":()=>Promise.resolve().then((()=>nr)),"./components/button/button.ts":()=>Promise.resolve().then((()=>Tr)),"./components/carousel-item/carousel-item.ts":()=>Promise.resolve().then((()=>Mr)),"./components/carousel/autoplay-controller.ts":()=>Promise.resolve().then((()=>jr)),"./components/carousel/carousel.ts":()=>Promise.resolve().then((()=>Zr)),"./components/carousel/scroll-controller.ts":()=>Promise.resolve().then((()=>Rr)),"./components/checkbox-group/checkbox-group.ts":()=>Promise.resolve().then((()=>Jr)),"./components/checkbox/checkbox.ts":()=>Promise.resolve().then((()=>ao)),"./components/dialog/dialog.ts":()=>Promise.resolve().then((()=>wo)),"./components/divider/divider.ts":()=>Promise.resolve().then((()=>So)),"./components/drawer/drawer.ts":()=>Promise.resolve().then((()=>Ao)),"./components/dropdown/dropdown.ts":()=>Promise.resolve().then((()=>jo)),"./components/expandable/expandable.ts":()=>Promise.resolve().then((()=>Uo)),"./components/flipcard/flipcard.ts":()=>Promise.resolve().then((()=>Ko)),"./components/header/header.ts":()=>Promise.resolve().then((()=>Go)),"./components/icon/icon.ts":()=>Promise.resolve().then((()=>xi)),"./components/icon/library.default.ts":()=>Promise.resolve().then((()=>o)),"./components/icon/library.system.ts":()=>Promise.resolve().then((()=>n)),"./components/icon/library.ts":()=>Promise.resolve().then((()=>m)),"./components/icon/request.ts":()=>Promise.resolve().then((()=>li)),"./components/include/include.ts":()=>Promise.resolve().then((()=>is)),"./components/include/request.ts":()=>Promise.resolve().then((()=>si)),"./components/input/input.ts":()=>Promise.resolve().then((()=>ls)),"./components/link/link.ts":()=>Promise.resolve().then((()=>us)),"./components/map-marker/map-marker.ts":()=>Promise.resolve().then((()=>fs)),"./components/navigation-item/navigation-item.ts":()=>Promise.resolve().then((()=>$s)),"./components/notification/notification.ts":()=>Promise.resolve().then((()=>Es)),"./components/option/option.ts":()=>Promise.resolve().then((()=>Ds)),"./components/popup/popup.ts":()=>Promise.resolve().then((()=>ei)),"./components/quickfact/quickfact.ts":()=>Promise.resolve().then((()=>Fs)),"./components/radio-button/radio-button.ts":()=>Promise.resolve().then((()=>Ns)),"./components/radio-group/radio-group.ts":()=>Promise.resolve().then((()=>na)),"./components/radio/radio.ts":()=>Promise.resolve().then((()=>ia)),"./components/scrollable/scrollable.ts":()=>Promise.resolve().then((()=>pa)),"./components/select/select.ts":()=>Promise.resolve().then((()=>ka)),"./components/spinner/spinner.ts":()=>Promise.resolve().then((()=>pr)),"./components/step-group/step-group.ts":()=>Promise.resolve().then((()=>_a)),"./components/step/step.ts":()=>Promise.resolve().then((()=>Ta)),"./components/switch/switch.ts":()=>Promise.resolve().then((()=>Ba)),"./components/tab-group/tab-group.ts":()=>Promise.resolve().then((()=>Ra)),"./components/tab-panel/tab-panel.ts":()=>Promise.resolve().then((()=>Wa)),"./components/tab/tab.ts":()=>Promise.resolve().then((()=>tn)),"./components/tag/tag.ts":()=>Promise.resolve().then((()=>va)),"./components/teaser-media/teaser-media.ts":()=>Promise.resolve().then((()=>an)),"./components/teaser/teaser.ts":()=>Promise.resolve().then((()=>cn)),"./components/textarea/textarea.ts":()=>Promise.resolve().then((()=>gn)),"./components/tooltip/tooltip.ts":()=>Promise.resolve().then((()=>xn)),"./components/video/video.ts":()=>Promise.resolve().then((()=>zn))});Object.keys(ii).forEach((t=>{ii[t]()}));const ri=new Map;function oi(t,e="cors"){if(ri.has(t))return ri.get(t);const i=fetch(t,{mode:e}).then((async t=>({ok:t.ok,status:t.status,html:await t.text()})));return ri.set(t,i),i}const si=Object.freeze(Object.defineProperty({__proto__:null,requestInclude:oi},Symbol.toStringTag,{value:"Module"})),ai=new Map;async function ni(t){if(ai.has(t))return ai.get(t);const e=await oi(t),i={ok:e.ok,status:e.status,svg:null};if(e.ok){const t=document.createElement("div");t.innerHTML=e.html;const r=t.firstElementChild;i.svg="svg"===(null==r?void 0:r.tagName.toLowerCase())?r.outerHTML:""}return ai.set(t,i),i}const li=Object.freeze(Object.defineProperty({__proto__:null,requestIcon:ni},Symbol.toStringTag,{value:"Module"})),di=t=>(...e)=>({_$litDirective$:t,values:e});
48
+ */function qe(t){return(e,i)=>{const{slot:o,selector:r}=t??{},s="slot"+(o?`[name=${o}]`:":not([name])");return He(e,i,{get(){var e;const i=null==(e=this.renderRoot)?void 0:e.querySelector(s),o=(null==i?void 0:i.assignedElements(t))??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}const Ve=Ft`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`;function $e(){let t,e="",i=0;for(;i<arguments.length;)(t=arguments[i++])&&"string"==typeof t&&(e&&(e+=" "),e+=t);return e}var Ze=Object.defineProperty,Ke=(t,e,i,o)=>{for(var r,s=void 0,a=t.length-1;a>=0;a--)(r=t[a])&&(s=r(e,i,s)||s);return s&&Ze(e,i,s),s};const Ne=class extends Fe{emit(t,e){const i=new CustomEvent(t,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...e});return this.dispatchEvent(i),i}};Ne.styles=Pt('/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:var(--sd-spacing-0,0)}.\\!right-0{right:var(--sd-spacing-0,0)!important}.-top-0{top:calc(var(--sd-spacing-0, 0px)*-1)}.-top-0\\.25{top:calc(var(--sd-spacing-0-25, 1px)*-1)}.-top-4{top:calc(var(--sd-spacing-4, 1rem)*-1)}.bottom-0{bottom:var(--sd-spacing-0,0)}.bottom-auto{bottom:var(--sd-spacing-auto,auto)}.end-0{inset-inline-end:var(--sd-spacing-0,0)}.end-auto{inset-inline-end:var(--sd-spacing-auto,auto)}.left-0{left:var(--sd-spacing-0,0)}.left-1\\/2{left:50%}.left-auto{left:var(--sd-spacing-auto,auto)}.right-0{right:var(--sd-spacing-0,0)}.right-2{right:var(--sd-spacing-2,.5rem)}.right-4{right:var(--sd-spacing-4,1rem)}.right-auto{right:var(--sd-spacing-auto,auto)}.start-0{inset-inline-start:var(--sd-spacing-0,0)}.start-auto{inset-inline-start:var(--sd-spacing-auto,auto)}.top-0{top:var(--sd-spacing-0,0)}.top-1{top:var(--sd-spacing-1,.25rem)}.top-1\\/2{top:50%}.top-2{top:var(--sd-spacing-2,.5rem)}.top-full{top:100%}.isolate{isolation:isolate}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-dialog{z-index:var(--sd-z-index-dialog,800)}.z-dropdown{z-index:var(--sd-z-index-dropdown,900)}.\\!m-0{margin:var(--sd-spacing-0,0)!important}.m-0{margin:var(--sd-spacing-0,0)}.m-2{margin:var(--sd-spacing-2,.5rem)}.m-4{margin:var(--sd-spacing-4,1rem)}.mx-\\[-1px\\]{margin-left:-1px;margin-right:-1px}.mx-auto{margin-left:var(--sd-spacing-auto,auto);margin-right:var(--sd-spacing-auto,auto)}.my-0{margin-bottom:var(--sd-spacing-0,0);margin-top:var(--sd-spacing-0,0)}.my-auto{margin-bottom:var(--sd-spacing-auto,auto);margin-top:var(--sd-spacing-auto,auto)}.\\!ml-6{margin-left:var(--sd-spacing-6,1.5rem)!important}.\\!mr-6{margin-right:var(--sd-spacing-6,1.5rem)!important}.mb-2{margin-bottom:var(--sd-spacing-2,.5rem)}.mb-4{margin-bottom:var(--sd-spacing-4,1rem)}.mb-6{margin-bottom:var(--sd-spacing-6,1.5rem)}.mb-auto{margin-bottom:var(--sd-spacing-auto,auto)}.ml-1{margin-left:var(--sd-spacing-1,.25rem)}.ml-2{margin-left:var(--sd-spacing-2,.5rem)}.ml-4{margin-left:var(--sd-spacing-4,1rem)}.ml-6{margin-left:var(--sd-spacing-6,1.5rem)}.ml-\\[0\\.25em\\]{margin-left:.25em}.ml-\\[0\\.5em\\]{margin-left:.5em}.ml-auto{margin-left:var(--sd-spacing-auto,auto)}.mr-1{margin-right:var(--sd-spacing-1,.25rem)}.mr-2{margin-right:var(--sd-spacing-2,.5rem)}.mr-4{margin-right:var(--sd-spacing-4,1rem)}.mr-6{margin-right:var(--sd-spacing-6,1.5rem)}.mr-\\[0\\.25em\\]{margin-right:.25em}.mr-\\[0\\.5em\\]{margin-right:.5em}.mt-0{margin-top:var(--sd-spacing-0,0)}.mt-0\\.25{margin-top:var(--sd-spacing-0-25,1px)}.mt-1{margin-top:var(--sd-spacing-1,.25rem)}.mt-2{margin-top:var(--sd-spacing-2,.5rem)}.mt-3{margin-top:var(--sd-spacing-3,.75rem)}.mt-4{margin-top:var(--sd-spacing-4,1rem)}.mt-\\[-1px\\]{margin-top:-1px}.mt-\\[2px\\]{margin-top:2px}.mt-\\[3px\\]{margin-top:3px}.mt-auto{margin-top:var(--sd-spacing-auto,auto)}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\\!flex{display:flex!important}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.\\!hidden{display:none!important}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.\\!h-full{height:100%!important}.h-0{height:var(--sd-spacing-0,0)}.h-0\\.25{height:var(--sd-spacing-0-25,1px)}.h-1{height:var(--sd-spacing-1,.25rem)}.h-10{height:var(--sd-spacing-10,2.5rem)}.h-12{height:var(--sd-spacing-12,3rem)}.h-16{height:var(--sd-spacing-16,4rem)}.h-2{height:var(--sd-spacing-2,.5rem)}.h-2\\.5{height:var(--sd-spacing-2-5,.625rem)}.h-3{height:var(--sd-spacing-3,.75rem)}.h-4{height:var(--sd-spacing-4,1rem)}.h-5{height:var(--sd-spacing-5,1.25rem)}.h-6{height:var(--sd-spacing-6,1.5rem)}.h-8{height:var(--sd-spacing-8,2rem)}.h-\\[0px\\]{height:0}.h-\\[1px\\]{height:1px}.h-\\[2px\\]{height:2px}.h-\\[48px\\]{height:48px}.h-\\[6px\\]{height:6px}.h-\\[96px\\]{height:96px}.h-\\[calc\\(100\\%-16px\\)\\]{height:calc(100% - 16px)}.h-\\[calc\\(100\\%-8px\\)\\]{height:calc(100% - 8px)}.h-full{height:100%}.h-varspacing{height:var(--tw-varspacing)}.max-h-full{max-height:100%}.min-h-\\[32px\\]{min-height:32px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[48px\\]{min-height:48px}.\\!w-full{width:100%!important}.w-0{width:var(--sd-spacing-0,0)}.w-1{width:var(--sd-spacing-1,.25rem)}.w-12{width:var(--sd-spacing-12,3rem)}.w-16{width:var(--sd-spacing-16,4rem)}.w-2{width:var(--sd-spacing-2,.5rem)}.w-2\\.5{width:var(--sd-spacing-2-5,.625rem)}.w-3{width:var(--sd-spacing-3,.75rem)}.w-3\\/4{width:75%}.w-4{width:var(--sd-spacing-4,1rem)}.w-40{width:var(--sd-spacing-40,10rem)}.w-5{width:var(--sd-spacing-5,1.25rem)}.w-6{width:var(--sd-spacing-6,1.5rem)}.w-8{width:var(--sd-spacing-8,2rem)}.w-\\[--width\\]{width:var(--width)}.w-\\[1px\\]{width:1px}.w-\\[48px\\]{width:48px}.w-\\[6px\\]{width:6px}.w-\\[72px\\]{width:72px}.w-\\[96px\\]{width:96px}.w-auto{width:var(--sd-spacing-auto,auto)}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-varspacing{width:var(--tw-varspacing)}.min-w-0{min-width:var(--sd-spacing-0,0)}.min-w-2{min-width:var(--sd-spacing-2,.5rem)}.min-w-4{min-width:var(--sd-spacing-4,1rem)}.min-w-5{min-width:var(--sd-spacing-5,1.25rem)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-min{min-width:-moz-min-content;min-width:min-content}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\\[0_0_auto\\]{flex:0 0 auto}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.basis-auto{flex-basis:var(--sd-spacing-auto,auto)}.origin-bottom{transform-origin:bottom}.origin-top{transform-origin:top}.\\!-translate-x-1\\/2{--tw-translate-x:-50%!important}.\\!-translate-x-1\\/2,.\\!-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\\!-translate-y-1\\/2{--tw-translate-y:-50%!important}.\\!translate-x-1\\/2{--tw-translate-x:50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-x-2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-2{--tw-translate-x:calc(var(--sd-spacing-2, .5rem)*-1)}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.translate-x-2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-2{--tw-translate-x:var(--sd-spacing-2,.5rem)}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-45{--tw-rotate:45deg}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.rotate-\\[-90deg\\]{--tw-rotate:-90deg}.rotate-\\[-90deg\\],.rotate-\\[270deg\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\\[270deg\\]{--tw-rotate:270deg}.scale-110{--tw-scale-x:1.1;--tw-scale-y:1.1}.scale-110,.scale-y-\\[1\\.5\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-\\[1\\.5\\]{--tw-scale-y:1.5}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce-once{0%{transform:translateY(0)}15%{transform:translateY(-9px)}25%{transform:translateY(-12px)}40%{transform:translateY(-4px)}50%{transform:translateY(0)}65%{transform:translateY(-4px)}75%{transform:translateY(-6px)}90%{transform:translateY(-2px)}to{transform:translateY(0)}}.animate-bounce-once{animation:bounce-once .6s ease-in-out}@keyframes grow{0%{width:0}to{width:100%}}.animate-grow{animation:grow linear}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\\!cursor-not-allowed{cursor:not-allowed!important}.cursor-\\[inherit\\]{cursor:inherit}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-flow-col{grid-auto-flow:column}.auto-rows-\\[100\\%\\]{grid-auto-rows:100%}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.\\!items-center{align-items:center!important}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.\\!justify-center{justify-content:center!important}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-stretch{justify-content:stretch}.justify-items-center{justify-items:center}.gap-0{gap:var(--sd-spacing-0,0)}.gap-0\\.5{gap:var(--sd-spacing-0-5,.125rem)}.gap-1{gap:var(--sd-spacing-1,.25rem)}.gap-2{gap:var(--sd-spacing-2,.5rem)}.gap-3{gap:var(--sd-spacing-3,.75rem)}.gap-4{gap:var(--sd-spacing-4,1rem)}.gap-6{gap:var(--sd-spacing-6,1.5rem)}.gap-8{gap:var(--sd-spacing-8,2rem)}.gap-x-\\[1px\\]{-moz-column-gap:1px;column-gap:1px}.self-start{align-self:flex-start}.self-center{align-self:center}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-x-contain{overscroll-behavior-x:contain}.scroll-auto{scroll-behavior:auto}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.\\!rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)!important}.rounded-\\[4px_4px_0_0\\]{border-radius:4px 4px 0 0}.rounded-default{border-radius:var(--sd-border-radius-default,.25rem)}.rounded-full{border-radius:var(--sd-border-radius-full,9999px)}.rounded-md{border-radius:var(--sd-border-radius-md,.375rem)}.rounded-none{border-radius:var(--sd-border-radius-none,0)}.rounded-sm{border-radius:var(--sd-border-radius-sm,.125rem)}.rounded-b-default{border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem)}.rounded-b-none{border-bottom-left-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}.rounded-bl-default{border-bottom-left-radius:var(--sd-border-radius-default,.25rem)}.rounded-bl-none{border-bottom-left-radius:var(--sd-border-radius-none,0)}.rounded-br-default{border-bottom-right-radius:var(--sd-border-radius-default,.25rem)}.rounded-br-none{border-bottom-right-radius:var(--sd-border-radius-none,0)}.rounded-tl-default{border-top-left-radius:var(--sd-border-radius-default,.25rem)}.rounded-tl-none{border-top-left-radius:var(--sd-border-radius-none,0)}.rounded-tr-default{border-top-right-radius:var(--sd-border-radius-default,.25rem)}.rounded-tr-none{border-top-right-radius:var(--sd-border-radius-none,0)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-\\[1px\\]{border-width:1px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0}.border-l-2{border-left-width:2px}.border-l-4{border-left-width:4px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-none{border-style:none}.border-accent{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-border-opacity))}.border-error{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity))}.border-primary-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-border-opacity))}.border-success{--tw-border-opacity:1;border-color:rgb(var(--sd-color-success,37 136 14)/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-border-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.65\\)\\]{background-color:#000000a6}.bg-accent{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent,45 157 0)/var(--tw-bg-opacity))}.bg-accent-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-500,37 136 14)/var(--tw-bg-opacity))}.bg-error{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error,204 25 55)/var(--tw-bg-opacity))}.bg-info{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-info,21 130 213)/var(--tw-bg-opacity))}.bg-neutral-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.bg-neutral-100\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-neutral-100,246 246 246)/.8)}.bg-neutral-200{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--tw-bg-opacity))}.bg-neutral-800\\/75{background-color:rgb(var(--sd-color-neutral-800,81 81 81)/var(--sd-opacity-75,.75))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.bg-primary-100\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-primary-100,236 240 249)/.8)}.bg-primary-500{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.bg-primary-800{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity))}.bg-primary\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-primary,0 53 142)/.8)}.bg-success{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-success,37 136 14)/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-warning{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-warning,187 141 32)/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity))}.bg-white\\/\\[\\.8\\]{background-color:rgb(var(--sd-color-white,255 255 255)/.8)}.bg-opacity-75{--tw-bg-opacity:var(--sd-opacity-75,.75)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-primary-800\\/60{--tw-gradient-from:rgb(var(--sd-color-primary-800,5 21 48)/var(--sd-opacity-60,.6)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-primary-800\\/75{--tw-gradient-from:rgb(var(--sd-color-primary-800,5 21 48)/var(--sd-opacity-75,.75)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-primary-800\\/\\[\\.6\\]{--tw-gradient-from:rgb(var(--sd-color-primary-800,5 21 48)/.6) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/60{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-60,.6)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/75{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-75,.75)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/90{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-90,.9)) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white\\/\\[\\.8\\]{--tw-gradient-from:rgb(var(--sd-color-white,255 255 255)/.8) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-primary-800\\/60{--tw-gradient-to:rgb(var(--sd-color-primary-800,5 21 48)/var(--sd-opacity-60,.6)) var(--tw-gradient-to-position)}.to-primary-800\\/\\[\\.6\\]{--tw-gradient-to:rgb(var(--sd-color-primary-800,5 21 48)/.6) var(--tw-gradient-to-position)}.to-white\\/60{--tw-gradient-to:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-60,.6)) var(--tw-gradient-to-position)}.to-white\\/\\[\\.8\\]{--tw-gradient-to:rgb(var(--sd-color-white,255 255 255)/.8) var(--tw-gradient-to-position)}.to-40\\%{--tw-gradient-to-position:40%}.to-60\\%{--tw-gradient-to-position:60%}.fill-accent{fill:rgb(var(--sd-color-accent,45 157 0)/1)}.fill-accent-550{fill:rgb(var(--sd-color-accent-550,54 123 40)/1)}.fill-accent-700{fill:rgb(var(--sd-color-accent-700,33 87 37)/1)}.fill-neutral-100{fill:rgb(var(--sd-color-neutral-100,246 246 246)/1)}.fill-primary{fill:rgb(var(--sd-color-primary,0 53 142)/1)}.fill-primary-100{fill:rgb(var(--sd-color-primary-100,236 240 249)/1)}.fill-primary-200{fill:rgb(var(--sd-color-primary-200,224 233 243)/1)}.fill-primary-500{fill:rgb(var(--sd-color-primary-500,70 109 175)/1)}.fill-transparent{fill:transparent}.fill-white{fill:rgb(var(--sd-color-white,255 255 255)/1)}.p-0{padding:var(--sd-spacing-0,0)}.p-1{padding:var(--sd-spacing-1,.25rem)}.p-4{padding:var(--sd-spacing-4,1rem)}.px-0{padding-left:var(--sd-spacing-0,0);padding-right:var(--sd-spacing-0,0)}.px-1{padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}.px-10{padding-left:var(--sd-spacing-10,2.5rem);padding-right:var(--sd-spacing-10,2.5rem)}.px-12{padding-left:var(--sd-spacing-12,3rem);padding-right:var(--sd-spacing-12,3rem)}.px-2{padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}.px-3{padding-left:var(--sd-spacing-3,.75rem);padding-right:var(--sd-spacing-3,.75rem)}.px-4{padding-left:var(--sd-spacing-4,1rem);padding-right:var(--sd-spacing-4,1rem)}.px-6{padding-left:var(--sd-spacing-6,1.5rem);padding-right:var(--sd-spacing-6,1.5rem)}.py-0{padding-bottom:var(--sd-spacing-0,0);padding-top:var(--sd-spacing-0,0)}.py-1{padding-bottom:var(--sd-spacing-1,.25rem);padding-top:var(--sd-spacing-1,.25rem)}.py-2{padding-bottom:var(--sd-spacing-2,.5rem);padding-top:var(--sd-spacing-2,.5rem)}.py-3{padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}.py-4{padding-bottom:var(--sd-spacing-4,1rem);padding-top:var(--sd-spacing-4,1rem)}.py-6{padding-bottom:var(--sd-spacing-6,1.5rem);padding-top:var(--sd-spacing-6,1.5rem)}.py-8{padding-bottom:var(--sd-spacing-8,2rem);padding-top:var(--sd-spacing-8,2rem)}.py-\\[5px\\]{padding-bottom:5px;padding-top:5px}.pb-1{padding-bottom:var(--sd-spacing-1,.25rem)}.pb-2{padding-bottom:var(--sd-spacing-2,.5rem)}.pb-3{padding-bottom:var(--sd-spacing-3,.75rem)}.pb-4{padding-bottom:var(--sd-spacing-4,1rem)}.pl-3{padding-left:var(--sd-spacing-3,.75rem)}.pl-4{padding-left:var(--sd-spacing-4,1rem)}.pl-8{padding-left:var(--sd-spacing-8,2rem)}.pr-2{padding-right:var(--sd-spacing-2,.5rem)}.pr-3{padding-right:var(--sd-spacing-3,.75rem)}.pr-4{padding-right:var(--sd-spacing-4,1rem)}.pt-0{padding-top:var(--sd-spacing-0,0)}.pt-1{padding-top:var(--sd-spacing-1,.25rem)}.pt-3{padding-top:var(--sd-spacing-3,.75rem)}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.\\!text-base{font-size:var(--sd-font-size-base,1rem)!important}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[2rem\\]{font-size:2rem}.text-\\[4rem\\]{font-size:4rem}.text-base{font-size:var(--sd-font-size-base,1rem)}.text-lg{font-size:var(--sd-font-size-lg,1.25rem)}.text-sm{font-size:var(--sd-font-size-sm,.875rem)}.text-xl{font-size:var(--sd-font-size-xl,1.5rem)}.\\!font-bold{font-weight:700!important}.font-bold{font-weight:700}.font-normal{font-weight:400}.leading-\\[calc\\(var\\(--tw-varspacing\\)-2px\\)\\]{line-height:calc(var(--tw-varspacing) - 2px)}.leading-none{line-height:var(--sd-line-height-none,100%)}.leading-normal{line-height:var(--sd-line-height-normal,150%)}.leading-tight{line-height:var(--sd-line-height-tight,120%)}.\\!text-neutral-500{--tw-text-opacity:1!important;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))!important}.\\!text-primary{--tw-text-opacity:1!important;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))!important}.text-black{--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.text-error{--tw-text-opacity:1;color:rgb(var(--sd-color-error,204 25 55)/var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.text-primary-400{--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.text-success{--tw-text-opacity:1;color:rgb(var(--sd-color-success,37 136 14)/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.\\!underline{text-decoration-line:underline!important}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.\\!underline-offset-2{text-underline-offset:2px!important}.underline-offset-2{text-underline-offset:2px}.placeholder-neutral-700::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-placeholder-opacity))}.placeholder-neutral-700::placeholder{--tw-placeholder-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-placeholder-opacity))}.opacity-0{opacity:var(--sd-opacity-0,0)}.opacity-20{opacity:var(--sd-opacity-20,.2)}.opacity-50{opacity:var(--sd-opacity-50,.5)}.opacity-90{opacity:var(--sd-opacity-90,.9)}.shadow{--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-dotted{outline-style:dotted}.outline-1{outline-width:1px}.outline-2{outline-width:2px}.\\!-outline-offset-2{outline-offset:-2px!important}.\\!outline-offset-0{outline-offset:0!important}.outline-error{outline-color:rgb(var(--sd-color-error,204 25 55)/1)}.outline-primary{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.varspacing-10{--tw-varspacing:var(--sd-spacing-10,2.5rem)}.varspacing-12{--tw-varspacing:var(--sd-spacing-12,3rem)}.varspacing-8{--tw-varspacing:var(--sd-spacing-8,2rem)}.focus-within\\:focus-outline:focus-within{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-within\\:focus-outline-inverted:focus-within{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.focus-visible\\:focus-outline-inverted:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.\\*\\:drop-shadow-md>*{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-offset-2:focus{outline-offset:2px}.focus\\:outline-primary:focus{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.disabled\\:border-neutral-500:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-border-opacity))}.disabled\\:border-neutral-600:disabled{--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-border-opacity))}.disabled\\:bg-neutral-500:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-bg-opacity))}.disabled\\:bg-neutral-600:disabled{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-bg-opacity))}.disabled\\:text-neutral-500:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity))}.disabled\\:text-neutral-600:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.disabled\\:text-white:disabled{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.group:hover .group-hover\\:visible{visibility:visible}.group:hover .group-hover\\:top-0{top:var(--sd-spacing-0,0)}.group:hover .group-hover\\:h-full{height:100%}.group:hover .group-hover\\:w-full{width:100%}.group:hover .group-hover\\:cursor-pointer{cursor:pointer}.group:hover .group-hover\\:border-accent-550{--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.group:hover .group-hover\\:border-error-400{--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.group:hover .group-hover\\:border-primary-500{--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-border-opacity))}.group:hover .group-hover\\:bg-accent-550{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-error-400{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-neutral-100\\/90{background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:bg-neutral-200{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-primary-100{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.group:hover .group-hover\\:bg-primary-100\\/90{background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:bg-primary\\/90{background-color:rgb(var(--sd-color-primary,0 53 142)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:bg-white\\/90{background-color:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-90,.9))}.group:hover .group-hover\\:fill-primary-500{fill:rgb(var(--sd-color-primary-500,70 109 175)/1)}.group:hover .group-hover\\:\\!text-primary-500{--tw-text-opacity:1!important;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))!important}.group:hover .group-hover\\:text-primary-500{--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.peer:focus-visible~.peer-focus-visible\\:outline{outline-style:solid}.peer:focus-visible~.peer-focus-visible\\:outline-2{outline-width:2px}.peer:focus-visible~.peer-focus-visible\\:outline-offset-2{outline-offset:2px}.peer:focus-visible~.peer-focus-visible\\:outline-primary{outline-color:rgb(var(--sd-color-primary,0 53 142)/1)}.hover\\:scale-110:hover:not([disabled]){--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:cursor-not-allowed:hover:not([disabled]){cursor:not-allowed}.hover\\:cursor-pointer:hover:not([disabled]){cursor:pointer}.hover\\:border-accent-550:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-border-opacity))}.hover\\:border-error-400:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-border-opacity))}.hover\\:border-primary-100:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-border-opacity))}.hover\\:border-primary-500:hover:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-border-opacity))}.hover\\:bg-accent-300:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-300,108 194 84)/var(--tw-bg-opacity))}.hover\\:bg-accent-550:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-550,54 123 40)/var(--tw-bg-opacity))}.hover\\:bg-error-400:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-error-400,172 25 56)/var(--tw-bg-opacity))}.hover\\:bg-neutral-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity))}.hover\\:bg-neutral-200:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity))}.hover\\:bg-primary-100:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity))}.hover\\:bg-primary-500:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-bg-opacity))}.hover\\:bg-transparent:hover:not([disabled]){background-color:transparent}.hover\\:fill-accent-550:hover:not([disabled]){fill:rgb(var(--sd-color-accent-550,54 123 40)/1)}.hover\\:fill-primary-100:hover:not([disabled]){fill:rgb(var(--sd-color-primary-100,236 240 249)/1)}.hover\\:fill-primary-500:hover:not([disabled]){fill:rgb(var(--sd-color-primary-500,70 109 175)/1)}.hover\\:text-primary-100:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-text-opacity))}.hover\\:text-primary-200:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.hover\\:text-primary-500:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.active\\:border-primary-200:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-border-opacity))}.active\\:border-primary-800:active:not([disabled]){--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-border-opacity))}.active\\:bg-accent-700:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-accent-700,33 87 37)/var(--tw-bg-opacity))}.active\\:bg-primary-200:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-bg-opacity))}.active\\:bg-primary-800:active:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity))}.active\\:fill-accent-700:active:not([disabled]){fill:rgb(var(--sd-color-accent-700,33 87 37)/1)}.active\\:text-primary-200:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.active\\:text-primary-400:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.active\\:text-primary-800:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}@media (min-width:640px){.sm\\:mt-2{margin-top:var(--sd-spacing-2,.5rem)}.sm\\:flex-col{flex-direction:column}.sm\\:gap-4{gap:var(--sd-spacing-4,1rem)}.sm\\:self-center{align-self:center}.sm\\:p-6{padding:var(--sd-spacing-6,1.5rem)}.sm\\:px-10{padding-left:var(--sd-spacing-10,2.5rem);padding-right:var(--sd-spacing-10,2.5rem)}.sm\\:py-8{padding-top:var(--sd-spacing-8,2rem)}.sm\\:pb-8,.sm\\:py-8{padding-bottom:var(--sd-spacing-8,2rem)}.sm\\:text-center{text-align:center}.sm\\:text-3xl{font-size:var(--sd-font-size-3xl,2rem)}.sm\\:text-4xl{font-size:var(--sd-font-size-4xl,2.5rem)}.sm\\:leading-tight{line-height:var(--sd-line-height-tight,120%)}}@media (min-width:768px){.md\\:block{display:block}.md\\:\\[transition\\:_height_0\\.2s_linear\\,opacity_0\\.1s_linear_0\\.1s\\]{transition:height .2s linear,opacity .1s linear .1s}.group:hover .md\\:group-hover\\:visible{visibility:visible}.group:hover .md\\:group-hover\\:my-4{margin-bottom:var(--sd-spacing-4,1rem);margin-top:var(--sd-spacing-4,1rem)}.group:hover .md\\:group-hover\\:h-auto{height:var(--sd-spacing-auto,auto)}.group:hover .md\\:group-hover\\:opacity-\\[100\\%\\]{opacity:100%}}');let Je=Ne;Ke([Ue()],Je.prototype,"dir"),Ke([Ue()],Je.prototype,"lang");var We=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,Xe=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?_e(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&We(e,i,s),s};let ti=class extends Je{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver((t=>this.handleCurrentPlacementChange(t))),this.mutationObserver.observe(this,{attributes:!0})}handleCurrentPlacementChange(t){return t.forEach((t=>{if("data-current-placement"===t.attributeName){const t=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:t})}}))}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=function(t,e,i,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:n="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,d=ct(t),h=r||s?[...d?dt(d):[],...dt(e)]:[];h.forEach((t=>{r&&t.addEventListener("scroll",i,{passive:!0}),s&&t.addEventListener("resize",i)}));const c=d&&n?function(t,e){let i,o=null;const r=N(t);function s(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}return function a(n,l){void 0===n&&(n=!1),void 0===l&&(l=1),s();const{left:d,top:h,width:c,height:p}=t.getBoundingClientRect();if(n||e(),!c||!p)return;const u={rootMargin:-M(h)+"px "+-M(r.clientWidth-(d+c))+"px "+-M(r.clientHeight-(h+p))+"px "+-M(d)+"px",threshold:B(0,E(1,l))||1};let g=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!g)return a();e?a(!1,e):i=setTimeout((()=>{a(!1,1e-7)}),1e3)}g=!1}try{o=new IntersectionObserver(m,{...u,root:r.ownerDocument})}catch{o=new IntersectionObserver(m,u)}o.observe(t)}(!0),s}(d,i):null;let p=-1,u=null;a&&(u=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&u&&(u.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=u)||t.observe(e)}))),i()})),d&&!l&&u.observe(d),u.observe(e));let g,m=l?mt(t):null;return l&&function e(){const o=mt(t);m&&(o.x!==m.x||o.y!==m.y||o.width!==m.width||o.height!==m.height)&&i(),m=o,g=requestAnimationFrame(e)}(),i(),()=>{var t;h.forEach((t=>{r&&t.removeEventListener("scroll",i),s&&t.removeEventListener("resize",i)})),null==c||c(),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(g)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const t=[Bt({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(It({apply:({rects:t})=>{const e="width"===this.sync||"both"===this.sync,i="height"===this.sync||"both"===this.sync;this.popup.style.width=e?`${t.reference.width}px`:"",this.popup.style.height=i?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,o;const{placement:r,middlewareData:s,rects:a,initialPlacement:n,platform:l,elements:d}=e,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...b}=P(t,e);if(null!=(i=s.arrow)&&i.alignmentOffset)return{};const v=F(r),y=F(n)===n,f=await(null==l.isRTL?void 0:l.isRTL(d.floating)),w=p||(y||!m?[H(n)]:function(t){const e=H(t);return[G(t),e,G(e)]}(n));!p&&"none"!==g&&w.push(...function(t,e,i,o){const r=j(t);let s=function(t,e,i){const o=["left","right"],r=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return i?e?r:o:e?o:r;case"left":case"right":return e?s:a;default:return[]}}(F(t),"start"===i,o);return r&&(s=s.map((t=>t+"-"+r)),e&&(s=s.concat(s.map(G)))),s}(n,m,g,f));const A=[n,...w],x=await $(e,b),k=[];let C=(null==(o=s.flip)?void 0:o.overflows)||[];if(h&&k.push(x[v]),c){const t=function(t,e,i){void 0===i&&(i=!1);const o=j(t),r=U(t),s=Y(r);let a="x"===r?o===(i?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=H(a)),[a,H(a)]}(r,a,f);k.push(x[t[0]],x[t[1]])}if(C=[...C,{placement:r,overflows:k}],!k.every((t=>t<=0))){var S,E;const t=((null==(S=s.flip)?void 0:S.index)||0)+1,e=A[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let i=null==(E=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:E.placement;if(!i)switch(u){case"bestFit":{var B;const t=null==(B=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:B[0];t&&(i=t);break}case"initialPlacement":i=n}if(r!==i)return{reset:{placement:i}}}return{}}}}({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:i,y:o,placement:r}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:n={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...l}=P(t,e),d={x:i,y:o},h=await $(e,l),c=R(F(r)),p=Q(c);let u=d[p],g=d[c];if(s){const t="y"===p?"bottom":"right";u=T(u+h["y"===p?"top":"left"],u,u-h[t])}if(a){const t="y"===c?"bottom":"right";g=T(g+h["y"===c?"top":"left"],g,g-h[t])}const m=n.fn({...e,[p]:u,[c]:g});return{...m,data:{x:m.x-i,y:m.y-o}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(It({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:i,y:o,placement:r,rects:s,platform:a,elements:n,middlewareData:l}=e,{element:d,padding:h=0}=P(t,e)||{};if(null==d)return{};const c=L(h),p={x:i,y:o},u=U(r),g=Y(u),m=await a.getDimensions(d),b="y"===u,v=b?"top":"left",y=b?"bottom":"right",f=b?"clientHeight":"clientWidth",w=s.reference[g]+s.reference[u]-p[u]-s.floating[g],A=p[u]-s.reference[u],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(d));let k=x?x[f]:0;(!k||!await(null==a.isElement?void 0:a.isElement(x)))&&(k=n.floating[f]||s.floating[g]);const C=w/2-A/2,S=k/2-m[g]/2-1,B=E(c[v],S),I=E(c[y],S),M=B,D=k-m[g]-I,O=k/2-m[g]/2+C,z=T(M,O,D),F=!l.arrow&&null!=j(r)&&O!==z&&s.reference[g]/2-(O<M?B:I)-m[g]/2<0,Q=F?O<M?O-M:O-D:0;return{[u]:p[u]+Q,data:{[u]:z,centerOffset:O-z-Q,...F&&{alignmentOffset:Q}},reset:F}}}))({element:this.arrowEl,padding:this.arrowPadding})),((t,e,i)=>{const o=new Map,r={platform:Et,...i},s={...r.platform,_c:o};return(async(t,e,i)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:a}=i,n=s.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:c}=V(d,o,l),p=o,u={},g=0;for(let i=0;i<n.length;i++){const{name:s,fn:m}=n[i],{x:b,y:v,data:y,reset:f}=await m({x:h,y:c,initialPlacement:o,placement:p,strategy:r,middlewareData:u,rects:d,platform:a,elements:{reference:t,floating:e}});h=b??h,c=v??c,u={...u,[s]:{...u[s],...y}},f&&g<=50&&(g++,"object"==typeof f&&(f.placement&&(p=f.placement),f.rects&&(d=!0===f.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):f.rects),({x:h,y:c}=V(d,p,l))),i=-1)}return{x:h,y:c,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:s})})(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then((({x:t,y:e,middlewareData:i,placement:o})=>{const r="rtl"===getComputedStyle(this).direction,s={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]];if(this.setAttribute("data-current-placement",o),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=i.arrow.x,e=i.arrow.y;let o="",a="",n="",l="";if("start"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";o="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",a=r?i:"",l=r?"":i}else if("end"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";a=r?"":i,l=r?i:"",n="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",o="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",o="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:o,right:a,bottom:n,left:l,[s]:"calc(var(--arrow-size-diagonal) * -1)"})}})),this.emit("sd-reposition")}render(){return ye`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${$e("isolate","fixed"!==this.strategy?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?ye`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};ti.styles=[Je.styles,Ve,Ft`:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],Xe([Le('[part="popup"]')],ti.prototype,"popup",2),Xe([Le('[part="arrow"]')],ti.prototype,"arrowEl",2),Xe([Ue()],ti.prototype,"anchor",2),Xe([Ue({type:Boolean,reflect:!0})],ti.prototype,"active",2),Xe([Ue({reflect:!0})],ti.prototype,"placement",2),Xe([Ue({reflect:!0})],ti.prototype,"strategy",2),Xe([Ue({type:Number})],ti.prototype,"distance",2),Xe([Ue({type:Number})],ti.prototype,"skidding",2),Xe([Ue({type:Boolean})],ti.prototype,"arrow",2),Xe([Ue({attribute:"arrow-placement"})],ti.prototype,"arrowPlacement",2),Xe([Ue({attribute:"arrow-padding",type:Number})],ti.prototype,"arrowPadding",2),Xe([Ue({type:Boolean})],ti.prototype,"flip",2),Xe([Ue({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map((t=>t.trim())).filter((t=>""!==t)),toAttribute:t=>t.join(" ")}})],ti.prototype,"flipFallbackPlacements",2),Xe([Ue({attribute:"flip-fallback-strategy"})],ti.prototype,"flipFallbackStrategy",2),Xe([Ue({type:Object})],ti.prototype,"flipBoundary",2),Xe([Ue({attribute:"flip-padding",type:Number})],ti.prototype,"flipPadding",2),Xe([Ue({type:Boolean})],ti.prototype,"shift",2),Xe([Ue({type:Object})],ti.prototype,"shiftBoundary",2),Xe([Ue({attribute:"shift-padding",type:Number})],ti.prototype,"shiftPadding",2),Xe([Ue({attribute:"auto-size"})],ti.prototype,"autoSize",2),Xe([Ue()],ti.prototype,"sync",2),Xe([Ue({type:Object})],ti.prototype,"autoSizeBoundary",2),Xe([Ue({attribute:"auto-size-padding",type:Number})],ti.prototype,"autoSizePadding",2),ti=Xe([Qe("sd-popup")],ti);const ei=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ti}},Symbol.toStringTag,{value:"Module"})),ii=Object.assign({"./components/accordion-group/accordion-group.ts":()=>Promise.resolve().then((()=>Hi)),"./components/accordion/accordion.ts":()=>Promise.resolve().then((()=>Qi)),"./components/audio/audio.ts":()=>Promise.resolve().then((()=>Wi)),"./components/audio/base64Audio.ts":()=>Promise.resolve().then((()=>_i)),"./components/audio/wave.ts":()=>Promise.resolve().then((()=>Vi)),"./components/badge/badge.ts":()=>Promise.resolve().then((()=>oo)),"./components/brandshape/brandshape.ts":()=>Promise.resolve().then((()=>lo)),"./components/button/button.ts":()=>Promise.resolve().then((()=>Po)),"./components/carousel-item/carousel-item.ts":()=>Promise.resolve().then((()=>jo)),"./components/carousel/autoplay-controller.ts":()=>Promise.resolve().then((()=>Yo)),"./components/carousel/carousel.ts":()=>Promise.resolve().then((()=>No)),"./components/carousel/scroll-controller.ts":()=>Promise.resolve().then((()=>qo)),"./components/checkbox-group/checkbox-group.ts":()=>Promise.resolve().then((()=>tr)),"./components/checkbox/checkbox.ts":()=>Promise.resolve().then((()=>lr)),"./components/dialog/dialog.ts":()=>Promise.resolve().then((()=>Ar)),"./components/divider/divider.ts":()=>Promise.resolve().then((()=>Er)),"./components/drawer/drawer.ts":()=>Promise.resolve().then((()=>zr)),"./components/dropdown/dropdown.ts":()=>Promise.resolve().then((()=>Qr)),"./components/expandable/expandable.ts":()=>Promise.resolve().then((()=>Hr)),"./components/flipcard/flipcard.ts":()=>Promise.resolve().then((()=>Zr)),"./components/header/header.ts":()=>Promise.resolve().then((()=>_r)),"./components/icon/icon.ts":()=>Promise.resolve().then((()=>Ai)),"./components/icon/library.default.ts":()=>Promise.resolve().then((()=>r)),"./components/icon/library.system.ts":()=>Promise.resolve().then((()=>n)),"./components/icon/library.ts":()=>Promise.resolve().then((()=>m)),"./components/icon/request.ts":()=>Promise.resolve().then((()=>li)),"./components/include/include.ts":()=>Promise.resolve().then((()=>os)),"./components/include/request.ts":()=>Promise.resolve().then((()=>si)),"./components/input/input.ts":()=>Promise.resolve().then((()=>ds)),"./components/link/link.ts":()=>Promise.resolve().then((()=>gs)),"./components/map-marker/map-marker.ts":()=>Promise.resolve().then((()=>fs)),"./components/navigation-item/navigation-item.ts":()=>Promise.resolve().then((()=>Cs)),"./components/notification/notification.ts":()=>Promise.resolve().then((()=>Os)),"./components/option/option.ts":()=>Promise.resolve().then((()=>js)),"./components/popup/popup.ts":()=>Promise.resolve().then((()=>ei)),"./components/quickfact/quickfact.ts":()=>Promise.resolve().then((()=>Gs)),"./components/radio-button/radio-button.ts":()=>Promise.resolve().then((()=>$s)),"./components/radio-group/radio-group.ts":()=>Promise.resolve().then((()=>la)),"./components/radio/radio.ts":()=>Promise.resolve().then((()=>oa)),"./components/scrollable/scrollable.ts":()=>Promise.resolve().then((()=>ua)),"./components/select/select.ts":()=>Promise.resolve().then((()=>ka)),"./components/spinner/spinner.ts":()=>Promise.resolve().then((()=>go)),"./components/step-group/step-group.ts":()=>Promise.resolve().then((()=>Ia)),"./components/step/step.ts":()=>Promise.resolve().then((()=>Ta)),"./components/switch/switch.ts":()=>Promise.resolve().then((()=>Ya)),"./components/tab-group/tab-group.ts":()=>Promise.resolve().then((()=>La)),"./components/tab-panel/tab-panel.ts":()=>Promise.resolve().then((()=>Na)),"./components/tab/tab.ts":()=>Promise.resolve().then((()=>en)),"./components/tag/tag.ts":()=>Promise.resolve().then((()=>ya)),"./components/teaser-media/teaser-media.ts":()=>Promise.resolve().then((()=>nn)),"./components/teaser/teaser.ts":()=>Promise.resolve().then((()=>pn)),"./components/textarea/textarea.ts":()=>Promise.resolve().then((()=>vn)),"./components/tooltip/tooltip.ts":()=>Promise.resolve().then((()=>xn)),"./components/video/video.ts":()=>Promise.resolve().then((()=>Bn))});Object.keys(ii).forEach((t=>{ii[t]()}));const oi=new Map;function ri(t,e="cors"){if(oi.has(t))return oi.get(t);const i=fetch(t,{mode:e}).then((async t=>({ok:t.ok,status:t.status,html:await t.text()})));return oi.set(t,i),i}const si=Object.freeze(Object.defineProperty({__proto__:null,requestInclude:ri},Symbol.toStringTag,{value:"Module"})),ai=new Map;async function ni(t){if(ai.has(t))return ai.get(t);const e=await ri(t),i={ok:e.ok,status:e.status,svg:null};if(e.ok){const t=document.createElement("div");t.innerHTML=e.html;const o=t.firstElementChild;i.svg="svg"===(null==o?void 0:o.tagName.toLowerCase())?o.outerHTML:""}return ai.set(t,i),i}const li=Object.freeze(Object.defineProperty({__proto__:null,requestIcon:ni},Symbol.toStringTag,{value:"Module"})),di=t=>(...e)=>({_$litDirective$:t,values:e});
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
@@ -55,51 +55,51 @@ let De=class extends Gt{constructor(){super(...arguments),this.renderOptions={ho
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */let ci=class extends hi{constructor(t){if(super(t),this.it=xe,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===xe||null==t)return this._t=void 0,this.it=t;if(t===we)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};ci.directiveName="unsafeHTML",ci.resultType=1;const pi=di(ci);
58
+ */let ci=class extends hi{constructor(t){if(super(t),this.it=Ae,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Ae||null==t)return this._t=void 0,this.it=t;if(t===we)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};ci.directiveName="unsafeHTML",ci.resultType=1;const pi=di(ci);
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */class ui extends ci{}ui.directiveName="unsafeSVG",ui.resultType=2;const bi=di(ui);function mi(t,e){const i={waitUntilFirstUpdate:!1,...e};return(e,r)=>{const{update:o}=e,s=Array.isArray(t)?t:[t];e.update=function(t){s.forEach((e=>{const o=e;if(t.has(o)){const e=t.get(o),s=this[o];e!==s&&(!i.waitUntilFirstUpdate||this.hasUpdated)&&this[r](e,s)}})),o.call(this,t)}}}var gi=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,fi=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?vi(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&gi(e,i,s),s};let yi,wi=class extends Xe{constructor(){super(...arguments),this.svg="",this.label="",this.library="default",this.color="currentColor"}connectedCallback(){super.connectedCallback(),h(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),c(this)}getUrl(){const t=p(this.library);return this.name&&t?t.resolver(this.name):this.src}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const e=p(this.library),i=this.getUrl();if(yi||(yi=new DOMParser),i)try{const r=await ni(i);if(i===this.getUrl())if(r.ok){const i=yi.parseFromString(r.svg,"text/html").body.querySelector("svg");null!==i?(null==(t=null==e?void 0:e.mutator)||t.call(e,i),this.svg=i.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch{this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return fe`${bi(this.svg)}`}};wi.styles=[Ne,Dt`:host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-text-opacity))}:host([color=white]) svg{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255) / var(--tw-text-opacity))}`],fi([Ue()],wi.prototype,"svg",2),fi([Fe({reflect:!0})],wi.prototype,"name",2),fi([Fe()],wi.prototype,"src",2),fi([Fe()],wi.prototype,"label",2),fi([Fe({reflect:!0})],wi.prototype,"library",2),fi([Fe({reflect:!0})],wi.prototype,"color",2),fi([mi("label")],wi.prototype,"handleLabelChange",1),fi([mi(["name","src","library"])],wi.prototype,"setIcon",1),wi=fi([Be("sd-icon")],wi);const xi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return wi}},Symbol.toStringTag,{value:"Module"}));function ki(t,e,i){return new Promise((r=>{if((null==i?void 0:i.duration)===1/0)throw new Error("Promise-based animations must be finite.");const o=t.animate(e,{...i,duration:Ci()?0:i.duration});o.addEventListener("cancel",r,{once:!0}),o.addEventListener("finish",r,{once:!0})}))}function $i(t){return(t=t.toString().toLowerCase()).indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?1e3*parseFloat(t):parseFloat(t)}function Ci(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Si(t){return Promise.all(t.getAnimations().map((t=>new Promise((e=>{const i=requestAnimationFrame(e);t.addEventListener("cancel",(()=>i),{once:!0}),t.addEventListener("finish",(()=>i),{once:!0}),t.cancel()})))))}function zi(t,e){return t.map((t=>({...t,height:"auto"===t.height?`${e}px`:t.height})))}const _i=new Map,Pi=new WeakMap;function Oi(t,e){return"rtl"===e.toLowerCase()?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function Ei(t,e){_i.set(t,function(t){return t??{keyframes:[],options:{duration:0}}}(e))}function Ai(t,e,i){const r=Pi.get(t);if(null!=r&&r[e])return Oi(r[e],i.dir);const o=_i.get(e);return o?Oi(o,i.dir):{keyframes:[],options:{duration:0}}}function Ti(t,e){return new Promise((i=>{t.addEventListener(e,(function r(o){o.target===t&&(t.removeEventListener(e,r),i())}))}))}var Li=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,Di=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Mi(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Li(e,i,s),s};let ji=class extends Xe{constructor(){super(...arguments),this.localize=new S(this),this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.open?this.hide():this.show()}handleSummaryKeyDown(t){("Enter"===t.key||" "===t.key)&&(t.preventDefault(),this.open?this.hide():this.show()),("ArrowUp"===t.key||"ArrowLeft"===t.key)&&(t.preventDefault(),this.hide()),("ArrowDown"===t.key||"ArrowRight"===t.key)&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("sd-show",{cancelable:!0}).defaultPrevented)return void(this.open=!1);await Si(this.body),this.body.hidden=!1;const{keyframes:t,options:e}=Ai(this,"accordion.show",{dir:this.localize.dir()});await ki(this.body,zi(t,this.body.scrollHeight),e),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented)return void(this.open=!0);await Si(this.body);const{keyframes:t,options:e}=Ai(this,"accordion.hide",{dir:this.localize.dir()});await ki(this.body,zi(t,this.body.scrollHeight),e),this.body.hidden=!0,this.body.style.height="auto",this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,Ti(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Ti(this,"sd-after-hide")}render(){return fe`<div part="base" class="border-y border-neutral-400"><header part="header" id="header" class="${Ke("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary hover:bg-neutral-200 relative group")}" role="button" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${Ke(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-all h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${Ke("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${Ke(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${Ke(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`}};ji.styles=[Xe.styles,Dt`:host{display:block}`],Di([He('[part="base"]')],ji.prototype,"accordion",2),Di([He('[part="header"]')],ji.prototype,"header",2),Di([He('[part="content"]')],ji.prototype,"body",2),Di([Fe({type:Boolean,reflect:!0})],ji.prototype,"open",2),Di([Fe()],ji.prototype,"summary",2),Di([mi("open",{waitUntilFirstUpdate:!0})],ji.prototype,"handleOpenChange",1),ji=Di([Be("sd-accordion")],ji),Ei("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),Ei("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});const Bi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ji}},Symbol.toStringTag,{value:"Module"}));var Vi=Object.defineProperty,Ii=Object.getOwnPropertyDescriptor,Fi=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ii(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Vi(e,i,s),s};let Ui=class extends Xe{constructor(){super(...arguments),this.closeOthers=!1,this.handleAccordionShow=t=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach((e=>{e!==t.target&&e.parentNode===t.target.parentNode&&e.removeAttribute("open")}))}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return fe`<div part="base"><slot></slot></div>`}};Ui.styles=[Ne,Xe.styles,Dt`:host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:-1px}`],Fi([qe({selector:"sd-accordion"})],Ui.prototype,"_accordionsInDefaultSlot",2),Fi([Fe({attribute:"close-others",type:Boolean})],Ui.prototype,"closeOthers",2),Ui=Fi([Be("sd-accordion-group")],Ui);const Ri=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ui}},Symbol.toStringTag,{value:"Module"}));class Hi{constructor(t,...e){this.slotNames=[],(this.host=t).addController(this),this.slotNames=e,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some((t=>{if(t.nodeType===t.TEXT_NODE&&""!==t.textContent.trim())return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if("sd-visually-hidden"===e.tagName.toLowerCase())return!1;if(!e.hasAttribute("slot"))return!0}return!1}))}hasNamedSlot(t){return null!==this.host.querySelector(`:scope > [slot="${t}"]`)}test(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(t){const e=t.target;(this.slotNames.includes("[default]")&&!e.name||e.name&&this.slotNames.includes(e.name))&&this.host.requestUpdate()}}class qi{constructor(t){this.fixedEnd=!0,this.fixedStart=!0,this.gradient=!1,this.outline=!1,this.map=(t,e,i,r,o)=>(t-e)*(o-r)/(i-e)+r,this.damp=(t,e,i)=>2*(1-e/t)*(e/t)*i,this.canvas=t.canvas,this.frequency=t.frequency,this.phase=t.phase,this.amplitude=t.amplitude,this.color=t.color,this.shift=t.shift,this.lineWidth=2,this.damping=t.damping,this.context=this.canvas.getContext("2d"),this.paused=!0,this.playbackSpeed=1,this.origin={x:0,y:this.canvas.height}}drawPoint(t,e,i){if(!this.context)return;const r=this.lineWidth/2;if(this.context.beginPath(),this.outline&&(this.context.fillStyle=i,this.context.lineWidth=2,this.context.arc(t,e,r,0,2*Math.PI),this.context.fill()),this.gradient){const t=this.context.createLinearGradient(0,0,0,this.canvas.height);t.addColorStop(.1,i),t.addColorStop(1,"transparent"),this.context.fillStyle=t}else this.context.fillStyle=i;this.context.fillRect(t-r,e-r,r,this.canvas.height-e+r)}buildSine(t,e,i,r,o){for(let s=this.origin.x,a=this.origin.x+t;s<a;s+=1){const t=r*Math.sin(o*(s+e));this.fixedStart&&this.fixedEnd?this.drawPoint(s,this.origin.y+this.damp(a,s,this.damping)*t,i):this.fixedStart?this.drawPoint(s,this.origin.y+this.map(s,this.origin.x,a,0,this.damping)*t,i):this.fixedEnd?this.drawPoint(s,this.origin.y+(this.damping-this.map(s,this.origin.x,a,0,this.damping))*t,i):this.drawPoint(s,this.origin.y+t,i)}}redraw(){this.phase+=this.shift*(this.paused?1:2*this.playbackSpeed),this.buildSine(this.canvas.width,this.phase,this.color,this.amplitude,this.frequency)}setPlay(){this.paused=!1}setPause(){this.paused=!0}setPlaybackSpeed(t){this.playbackSpeed=t}}const Ni=Object.freeze(Object.defineProperty({__proto__:null,Wave:qi},Symbol.toStringTag,{value:"Module"})),Ki='.sd-interactive--reset,.sd-prose a--reset{all:unset;outline:revert}.sd-interactive,.sd-prose a{cursor:pointer;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));text-decoration-line:underline;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sd-interactive:hover:not([disabled]),.sd-prose a:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-interactive:active:not([disabled]),.sd-prose a:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-interactive:is(.sd-interactive),.sd-prose a:is(.sd-interactive){text-decoration-line:none}.sd-interactive:focus-visible,.sd-prose a:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--disabled,.sd-interactive[disabled],.sd-interactive[href=""],.sd-prose a--disabled,.sd-prose a[disabled],.sd-prose a[href=""]{cursor:not-allowed;--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-interactive--disabled:active:not([disabled]),.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]),.sd-interactive[href=""]:active:not([disabled]),.sd-interactive[href=""]:hover:not([disabled]),.sd-prose a--disabled:active:not([disabled]),.sd-prose a--disabled:hover:not([disabled]),.sd-prose a[disabled]:active:not([disabled]),.sd-prose a[disabled]:hover:not([disabled]),.sd-prose a[href=""]:active:not([disabled]),.sd-prose a[href=""]:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-interactive--inverted,.sd-prose--inverted a{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-interactive--inverted:hover:not([disabled]),.sd-prose--inverted a:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.sd-interactive--inverted:active:not([disabled]),.sd-prose--inverted a:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-interactive--inverted:focus-visible,.sd-prose--inverted a:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}';var Zi=Object.defineProperty,Wi=Object.getOwnPropertyDescriptor,Yi=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Wi(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Zi(e,i,s),s};let Xi=class extends Xe{constructor(){super(),this.localize=new S(this),this.hasSlotController=new Hi(this,"transcript"),this.reversedLayout=!1,this.hideTimestamps=!1,this.animated=!1,this.inverted=!1,this.speed=1,this.currentTime=this.formatTime(0),this.duration="",this.isPlaying=!1,this.isMuted=!1,this.progress=0,this.setAudioProgress=()=>{this.progressSlider.max=Math.floor(this.audioElement.duration).toString()},this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),this.audioElement.playbackRate=this.speed,this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){const e=t.get("animated");!e&&this.animated?this.initAnimation():e&&!this.animated&&this.clear()}}get audioElement(){const t=this.shadowRoot.querySelector("slot");return(null==t?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;const t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=Math.floor(t),this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration))return void setTimeout((()=>{this.updateAudioDuration()}),100);this.duration=this.formatTime(this.audioElement.duration),this.setAudioProgress()}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){"Enter"===t.key&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=1.5===this.speed?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){"Enter"===t.key&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){const e=Math.floor(t/60),i=Math.floor(t%60);return`${e}:${i<10?"0":""}${i}`}handleAudioProgress(){if(!this.audioElement)return;const t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){"ArrowRight"===t.key&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),"ArrowLeft"===t.key&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0}showTranscriptKeydown(t){("Enter"===t.key||" "===t.key)&&this.showTranscript()}rgbToHex(t){const e=t.match(/\d+/g);if(e&&3===e.length){const t=parseInt(e[0]),i=parseInt(e[1]),r=parseInt(e[2]),o=t=>t.toString(16).padStart(2,"0");return`#${o(t)}${o(i)}${o(r)}`.toUpperCase()}return null}initAnimation(){this.context=this.canvas.getContext("2d");const t=this.audioPlayerContainer.querySelector(".playback-speed"),e=window.getComputedStyle(t).color;let i;i=this.inverted?"#FFFFFF33":this.rgbToHex(e)+"33",this.waveList=[new qi({canvas:this.canvas,color:i,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach((t=>{t.redraw()}))}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach((t=>{t.redraw()})),await new Promise((t=>{setTimeout(t,1e3/30)})),await this.draw())}render(){const t=this.audioElement?this.progress/this.audioElement.duration*100:0,e=fe`<div class="${Ke("controls grid grid-cols-3 justify-items-center items-center",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full",this.reversedLayout?"mt-2":"mb-2")}" part="audio-controls"><button class="${Ke("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}">${this.isPlaying?fe`<sd-icon name="pause" library="system"></sd-icon>`:fe`<sd-icon name="start" library="system"></sd-icon>`}</sd-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript")?fe`<button class="${Ke("mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0"><sd-icon class="w-6 h-6" name="transcript" library="system" label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}"></sd-icon></button>`:null} <button class="${Ke("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.localize.term("mute")}" tabindex="0" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="system"></sd-icon></button></div></div>`,i=fe`<div class="${Ke("w-full flex justify-between",this.reversedLayout?"mb-2":"mt-2",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 mb-2",this.animated&&!this.reversedLayout&&"mt-2")}" part="timestamps"><div class="${Ke("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${Ke("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return fe`<div class="${Ke("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?e:null}<div class="relative">${this.animated&&!this.reversedLayout?fe`${e}`:null} ${this.animated?fe`<canvas class="w-full h-16"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?i:null} <input class="${Ke("progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",this.inverted&&"sd-interactive--inverted")}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted?"rgb(var(--sd-color-white, 255 255 255) / 1)":"rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${t}%,${this.animated?"transparent":this.inverted?"rgb(var(--sd-color-primary-400, 153 171 208) / 1)":"rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${t}%)"></div>${this.hasSlotController.test("transcript")?fe`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${this.hideTimestamps||this.animated&&this.reversedLayout?null:i}</div>`}};Xi.styles=[Xe.styles,Mt(Ki),Dt`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{background-color:currentColor;height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem);-webkit-appearance:none;appearance:none;border-radius:var(--sd-border-radius-full,9999px);border-style:none;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-style:solid;outline-offset:2px}.progress-slider::-moz-range-thumb{background-color:currentColor;height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem);-moz-appearance:none;appearance:none;border-radius:var(--sd-border-radius-full,9999px);border-style:none;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.progress-slider:focus-visible::-moz-range-thumb{outline-style:solid;outline-offset:2px}sd-button::part(base){display:flex;height:var(--sd-spacing-16,4rem);width:var(--sd-spacing-16,4rem);align-items:center;justify-content:center;border-radius:var(--sd-border-radius-full,9999px)}sd-button::part(label){flex-grow:0}`],Yi([Fe({type:Boolean,reflect:!0,attribute:"reversed-layout"})],Xi.prototype,"reversedLayout",2),Yi([Fe({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],Xi.prototype,"hideTimestamps",2),Yi([Fe({type:Boolean,reflect:!0})],Xi.prototype,"animated",2),Yi([Fe({type:Boolean,reflect:!0})],Xi.prototype,"inverted",2),Yi([Fe({type:Number})],Xi.prototype,"speed",2),Yi([Ue()],Xi.prototype,"currentTime",2),Yi([Ue()],Xi.prototype,"duration",2),Yi([Ue()],Xi.prototype,"isPlaying",2),Yi([Ue()],Xi.prototype,"isMuted",2),Yi([Ue()],Xi.prototype,"progress",2),Yi([He('[part="progress-slider"]')],Xi.prototype,"progressSlider",2),Yi([He('[part="audio-player"]')],Xi.prototype,"audioPlayerContainer",2),Yi([He("sd-drawer")],Xi.prototype,"drawer",2),Yi([He("canvas")],Xi.prototype,"canvas",2),Xi=Yi([Be("sd-audio")],Xi);const Gi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Xi}},Symbol.toStringTag,{value:"Module"}));var Ji=Object.defineProperty,Qi=Object.getOwnPropertyDescriptor,tr=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Qi(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Ji(e,i,s),s};let er=class extends Xe{constructor(){super(...arguments),this.size="lg",this.variant="default",this.inverted=!1}render(){return fe`<span tabindex="0" role="status" part="base" class="${Ke("inline-flex items-center justify-center gap-x-[1px] text-center leading-none whitespace-nowrap border rounded-full select-none cursor-[inherit]",{default:this.inverted?"text-primary bg-white border-primary":"text-white bg-primary-500 border-white",success:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",error:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant],{sm:"h-2 min-w-[8px] text-[10px]",md:"h-4 px-[4px] min-w-[16px] text-[10px]",lg:"h-5 px-[5px] min-w-[20px] text-[12px]"}[this.size])}"><span part="content" class="${Ke("sm"===this.size&&"hidden")}"><slot></slot></span></span>`}};er.styles=[Xe.styles,Dt`:host{display:inline-flex;align-items:center;justify-content:center}`],tr([Fe({reflect:!0})],er.prototype,"size",2),tr([Fe({reflect:!0})],er.prototype,"variant",2),tr([Fe({type:Boolean,reflect:!0})],er.prototype,"inverted",2),er=tr([Be("sd-badge")],er);const ir=Object.freeze(Object.defineProperty({__proto__:null,get default(){return er}},Symbol.toStringTag,{value:"Module"}));var rr=Object.defineProperty,or=Object.getOwnPropertyDescriptor,sr=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?or(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&rr(e,i,s),s};let ar=class extends Xe{constructor(){super(...arguments),this.variant="primary",this.shapes=["top","middle","bottom"],this.componentBreakpoint=0}getSvg(t,e){return{0:this.smallSvg(e),414:this.mediumSvg(e),640:this.largeSvg(e)}[t]}largeSvg(t){return"top"===t?fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return"top"===t?fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return"top"===t?fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.setBreakpoint())),this.updateComplete.then((()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return fe`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return fe`<div class="${Ke({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${Ke({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="z-10 relative" part="content"><slot></slot></div></div>`}renderBottomBrandshape(){return fe`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return fe`<div class="${Ke({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return fe`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${Ke("image"!==this.variant&&"hidden")}" name="image"></slot></div>`}renderShapes(){return fe`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){const t=this.variant.startsWith("border-")||"image"===this.variant;return fe`<div class="${Ke({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white","border-white":"fill-transparent","border-primary":"fill-transparent",image:"fill-transparent"}[this.variant],"relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()} ${this.shapes.includes("middle")?fe`<slot></slot>`:""}</div>`}};ar.styles=[Ne,Xe.styles,Dt`:host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
63
+ */class ui extends ci{}ui.directiveName="unsafeSVG",ui.resultType=2;const gi=di(ui);function mi(t,e){const i={waitUntilFirstUpdate:!1,...e};return(e,o)=>{const{update:r}=e,s=Array.isArray(t)?t:[t];e.update=function(t){s.forEach((e=>{const r=e;if(t.has(r)){const e=t.get(r),s=this[r];e!==s&&(!i.waitUntilFirstUpdate||this.hasUpdated)&&this[o](e,s)}})),r.call(this,t)}}}var bi=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,yi=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?vi(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&bi(e,i,s),s};let fi,wi=class extends Je{constructor(){super(...arguments),this.svg="",this.label="",this.library="default",this.color="currentColor"}connectedCallback(){super.connectedCallback(),h(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),c(this)}getUrl(){const t=p(this.library);return this.name&&t?t.resolver(this.name):this.src}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const e=p(this.library),i=this.getUrl();if(fi||(fi=new DOMParser),i)try{const o=await ni(i);if(i===this.getUrl())if(o.ok){const i=fi.parseFromString(o.svg,"text/html").body.querySelector("svg");null!==i?(null==(t=null==e?void 0:e.mutator)||t.call(e,i),this.svg=i.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch{this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return ye`${gi(this.svg)}`}};wi.styles=[Ve,Ft`:host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-text-opacity))}:host([color=white]) svg{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255) / var(--tw-text-opacity))}`],yi([Ge()],wi.prototype,"svg",2),yi([Ue({reflect:!0})],wi.prototype,"name",2),yi([Ue()],wi.prototype,"src",2),yi([Ue()],wi.prototype,"label",2),yi([Ue({reflect:!0})],wi.prototype,"library",2),yi([Ue({reflect:!0})],wi.prototype,"color",2),yi([mi("label")],wi.prototype,"handleLabelChange",1),yi([mi(["name","src","library"])],wi.prototype,"setIcon",1),wi=yi([Qe("sd-icon")],wi);const Ai=Object.freeze(Object.defineProperty({__proto__:null,get default(){return wi}},Symbol.toStringTag,{value:"Module"}));function xi(t,e,i){return new Promise((o=>{if((null==i?void 0:i.duration)===1/0)throw new Error("Promise-based animations must be finite.");const r=t.animate(e,{...i,duration:Ci()?0:i.duration});r.addEventListener("cancel",o,{once:!0}),r.addEventListener("finish",o,{once:!0})}))}function ki(t){return(t=t.toString().toLowerCase()).indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?1e3*parseFloat(t):parseFloat(t)}function Ci(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Si(t){return Promise.all(t.getAnimations().map((t=>new Promise((e=>{const i=requestAnimationFrame(e);t.addEventListener("cancel",(()=>i),{once:!0}),t.addEventListener("finish",(()=>i),{once:!0}),t.cancel()})))))}function Ei(t,e){return t.map((t=>({...t,height:"auto"===t.height?`${e}px`:t.height})))}const Bi=new Map,Ii=new WeakMap;function Mi(t,e){return"rtl"===e.toLowerCase()?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function Di(t,e){Bi.set(t,function(t){return t??{keyframes:[],options:{duration:0}}}(e))}function Oi(t,e,i){const o=Ii.get(t);if(null!=o&&o[e])return Mi(o[e],i.dir);const r=Bi.get(e);return r?Mi(r,i.dir):{keyframes:[],options:{duration:0}}}function zi(t,e){return new Promise((i=>{t.addEventListener(e,(function o(r){r.target===t&&(t.removeEventListener(e,o),i())}))}))}var Ti=Object.defineProperty,Pi=Object.getOwnPropertyDescriptor,Fi=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Pi(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ti(e,i,s),s};let ji=class extends Je{constructor(){super(...arguments),this.localize=new S(this),this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.open?this.hide():this.show()}handleSummaryKeyDown(t){("Enter"===t.key||" "===t.key)&&(t.preventDefault(),this.open?this.hide():this.show()),("ArrowUp"===t.key||"ArrowLeft"===t.key)&&(t.preventDefault(),this.hide()),("ArrowDown"===t.key||"ArrowRight"===t.key)&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("sd-show",{cancelable:!0}).defaultPrevented)return void(this.open=!1);await Si(this.body),this.body.hidden=!1;const{keyframes:t,options:e}=Oi(this,"accordion.show",{dir:this.localize.dir()});await xi(this.body,Ei(t,this.body.scrollHeight),e),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented)return void(this.open=!0);await Si(this.body);const{keyframes:t,options:e}=Oi(this,"accordion.hide",{dir:this.localize.dir()});await xi(this.body,Ei(t,this.body.scrollHeight),e),this.body.hidden=!0,this.body.style.height="auto",this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,zi(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,zi(this,"sd-after-hide")}render(){return ye`<div part="base" class="border-y border-neutral-400"><header part="header" id="header" class="${$e("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary hover:bg-neutral-200 relative group")}" role="button" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${$e(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-all h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${$e("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${$e(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${$e(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></div>`}};ji.styles=[Je.styles,Ft`:host{display:block}`],Fi([Le('[part="base"]')],ji.prototype,"accordion",2),Fi([Le('[part="header"]')],ji.prototype,"header",2),Fi([Le('[part="content"]')],ji.prototype,"body",2),Fi([Ue({type:Boolean,reflect:!0})],ji.prototype,"open",2),Fi([Ue()],ji.prototype,"summary",2),Fi([mi("open",{waitUntilFirstUpdate:!0})],ji.prototype,"handleOpenChange",1),ji=Fi([Qe("sd-accordion")],ji),Di("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),Di("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});const Qi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ji}},Symbol.toStringTag,{value:"Module"}));var Yi=Object.defineProperty,Ri=Object.getOwnPropertyDescriptor,Ui=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ri(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Yi(e,i,s),s};let Gi=class extends Je{constructor(){super(...arguments),this.closeOthers=!1,this.handleAccordionShow=t=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach((e=>{e!==t.target&&e.parentNode===t.target.parentNode&&e.removeAttribute("open")}))}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return ye`<div part="base"><slot></slot></div>`}};Gi.styles=[Ve,Je.styles,Ft`:host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:-1px}`],Ui([qe({selector:"sd-accordion"})],Gi.prototype,"_accordionsInDefaultSlot",2),Ui([Ue({attribute:"close-others",type:Boolean})],Gi.prototype,"closeOthers",2),Gi=Ui([Qe("sd-accordion-group")],Gi);const Hi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Gi}},Symbol.toStringTag,{value:"Module"}));class Li{constructor(t,...e){this.slotNames=[],(this.host=t).addController(this),this.slotNames=e,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some((t=>{if(t.nodeType===t.TEXT_NODE&&""!==t.textContent.trim())return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if("sd-visually-hidden"===e.tagName.toLowerCase())return!1;if(!e.hasAttribute("slot"))return!0}return!1}))}hasNamedSlot(t){return null!==this.host.querySelector(`:scope > [slot="${t}"]`)}test(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(t){const e=t.target;(this.slotNames.includes("[default]")&&!e.name||e.name&&this.slotNames.includes(e.name))&&this.host.requestUpdate()}}class qi{constructor(t){this.fixedEnd=!0,this.fixedStart=!0,this.gradient=!1,this.outline=!1,this.map=(t,e,i,o,r)=>(t-e)*(r-o)/(i-e)+o,this.damp=(t,e,i)=>2*(1-e/t)*(e/t)*i,this.canvas=t.canvas,this.frequency=t.frequency,this.phase=t.phase,this.amplitude=t.amplitude,this.color=t.color,this.shift=t.shift,this.lineWidth=2,this.damping=t.damping,this.context=this.canvas.getContext("2d"),this.paused=!0,this.playbackSpeed=1,this.origin={x:0,y:this.canvas.height}}drawPoint(t,e,i){if(!this.context)return;const o=this.lineWidth/2;if(this.context.beginPath(),this.outline&&(this.context.fillStyle=i,this.context.lineWidth=2,this.context.arc(t,e,o,0,2*Math.PI),this.context.fill()),this.gradient){const t=this.context.createLinearGradient(0,0,0,this.canvas.height);t.addColorStop(.1,i),t.addColorStop(1,"transparent"),this.context.fillStyle=t}else this.context.fillStyle=i;this.context.fillRect(t-o,e-o,o,this.canvas.height-e+o)}buildSine(t,e,i,o,r){for(let s=this.origin.x,a=this.origin.x+t;s<a;s+=1){const t=o*Math.sin(r*(s+e));this.fixedStart&&this.fixedEnd?this.drawPoint(s,this.origin.y+this.damp(a,s,this.damping)*t,i):this.fixedStart?this.drawPoint(s,this.origin.y+this.map(s,this.origin.x,a,0,this.damping)*t,i):this.fixedEnd?this.drawPoint(s,this.origin.y+(this.damping-this.map(s,this.origin.x,a,0,this.damping))*t,i):this.drawPoint(s,this.origin.y+t,i)}}redraw(){this.phase+=this.shift*(this.paused?1:2*this.playbackSpeed),this.buildSine(this.canvas.width,this.phase,this.color,this.amplitude,this.frequency)}setPlay(){this.paused=!1}setPause(){this.paused=!0}setPlaybackSpeed(t){this.playbackSpeed=t}}const Vi=Object.freeze(Object.defineProperty({__proto__:null,Wave:qi},Symbol.toStringTag,{value:"Module"})),$i='.sd-interactive--reset,.sd-prose a--reset{all:unset;outline:revert}.sd-interactive,.sd-prose a{cursor:pointer;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));text-decoration-line:underline;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sd-interactive:hover:not([disabled]),.sd-prose a:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-interactive:active:not([disabled]),.sd-prose a:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-interactive:is(.sd-interactive),.sd-prose a:is(.sd-interactive){text-decoration-line:none}.sd-interactive:focus-visible,.sd-prose a:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--disabled,.sd-interactive[disabled],.sd-interactive[href=""],.sd-prose a--disabled,.sd-prose a[disabled],.sd-prose a[href=""]{cursor:not-allowed;--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-interactive--disabled:active:not([disabled]),.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]),.sd-interactive[href=""]:active:not([disabled]),.sd-interactive[href=""]:hover:not([disabled]),.sd-prose a--disabled:active:not([disabled]),.sd-prose a--disabled:hover:not([disabled]),.sd-prose a[disabled]:active:not([disabled]),.sd-prose a[disabled]:hover:not([disabled]),.sd-prose a[href=""]:active:not([disabled]),.sd-prose a[href=""]:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-interactive--inverted,.sd-prose--inverted a{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-interactive--inverted:hover:not([disabled]),.sd-prose--inverted a:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.sd-interactive--inverted:active:not([disabled]),.sd-prose--inverted a:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-interactive--inverted:focus-visible,.sd-prose--inverted a:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}';var Zi=Object.defineProperty,Ki=Object.getOwnPropertyDescriptor,Ni=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ki(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Zi(e,i,s),s};let Ji=class extends Je{constructor(){super(),this.localize=new S(this),this.hasSlotController=new Li(this,"transcript"),this.reversedLayout=!1,this.hideTimestamps=!1,this.animated=!1,this.inverted=!1,this.speed=1,this.currentTime=this.formatTime(0),this.duration="",this.isPlaying=!1,this.isMuted=!1,this.progress=0,this.setAudioProgress=()=>{this.progressSlider.max=Math.floor(this.audioElement.duration).toString()},this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),this.audioElement.playbackRate=this.speed,this.animated&&this.initAnimation())}updated(t){if(t.has("animated")){const e=t.get("animated");!e&&this.animated?this.initAnimation():e&&!this.animated&&this.clear()}}get audioElement(){const t=this.shadowRoot.querySelector("slot");return(null==t?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;const t=this.audioElement.currentTime;this.currentTime=this.formatTime(t),this.progress=Math.floor(t),this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration))return void setTimeout((()=>{this.updateAudioDuration()}),100);this.duration=this.formatTime(this.audioElement.duration),this.setAudioProgress()}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(t){"Enter"===t.key&&(t.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=1.5===this.speed?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(t){"Enter"===t.key&&(t.preventDefault(),this.togglePlaybackSpeed())}formatTime(t){const e=Math.floor(t/60),i=Math.floor(t%60);return`${e}:${i<10?"0":""}${i}`}handleAudioProgress(){if(!this.audioElement)return;const t=Number(this.progressSlider.value);this.audioElement.currentTime=t,this.progress=t,this.currentTime=this.formatTime(t)}handleAudioProgressKeydown(t){"ArrowRight"===t.key&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),"ArrowLeft"===t.key&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0}showTranscriptKeydown(t){("Enter"===t.key||" "===t.key)&&this.showTranscript()}rgbToHex(t){const e=t.match(/\d+/g);if(e&&3===e.length){const t=parseInt(e[0]),i=parseInt(e[1]),o=parseInt(e[2]),r=t=>t.toString(16).padStart(2,"0");return`#${r(t)}${r(i)}${r(o)}`.toUpperCase()}return null}initAnimation(){this.context=this.canvas.getContext("2d");const t=this.audioPlayerContainer.querySelector(".playback-speed"),e=window.getComputedStyle(t).color;let i;i=this.inverted?"#FFFFFF33":this.rgbToHex(e)+"33",this.waveList=[new qi({canvas:this.canvas,color:i,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new qi({canvas:this.canvas,color:i,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach((t=>{t.redraw()}))}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach((t=>{t.redraw()})),await new Promise((t=>{setTimeout(t,1e3/30)})),await this.draw())}render(){const t=this.audioElement?this.progress/this.audioElement.duration*100:0,e=ye`<div class="${$e("controls grid grid-cols-3 justify-items-center items-center",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full",this.reversedLayout?"mt-2":"mb-2")}" part="audio-controls"><button class="${$e("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}">${this.isPlaying?ye`<sd-icon name="pause" library="system"></sd-icon>`:ye`<sd-icon name="start" library="system"></sd-icon>`}</sd-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript")?ye`<button class="${$e("mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0"><sd-icon class="w-6 h-6" name="transcript" library="system" label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}"></sd-icon></button>`:null} <button class="${$e("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.localize.term("mute")}" tabindex="0" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="system"></sd-icon></button></div></div>`,i=ye`<div class="${$e("w-full flex justify-between",this.reversedLayout?"mb-2":"mt-2",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 mb-2",this.animated&&!this.reversedLayout&&"mt-2")}" part="timestamps"><div class="${$e("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${$e("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return ye`<div class="${$e("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?e:null}<div class="relative">${this.animated&&!this.reversedLayout?ye`${e}`:null} ${this.animated?ye`<canvas class="w-full h-16"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?i:null} <input class="${$e("progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",this.inverted&&"sd-interactive--inverted")}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted?"rgb(var(--sd-color-white, 255 255 255) / 1)":"rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${t}%,${this.animated?"transparent":this.inverted?"rgb(var(--sd-color-primary-400, 153 171 208) / 1)":"rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${t}%)"></div>${this.hasSlotController.test("transcript")?ye`<sd-drawer><slot name="transcript"></slot></sd-drawer>`:null} ${this.hideTimestamps||this.animated&&this.reversedLayout?null:i}</div>`}};Ji.styles=[Je.styles,Pt($i),Ft`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{background-color:currentColor;height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem);-webkit-appearance:none;appearance:none;border-radius:var(--sd-border-radius-full,9999px);border-style:none;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-style:solid;outline-offset:2px}.progress-slider::-moz-range-thumb{background-color:currentColor;height:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem);-moz-appearance:none;appearance:none;border-radius:var(--sd-border-radius-full,9999px);border-style:none;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.progress-slider:focus-visible::-moz-range-thumb{outline-style:solid;outline-offset:2px}sd-button::part(base){display:flex;height:var(--sd-spacing-16,4rem);width:var(--sd-spacing-16,4rem);align-items:center;justify-content:center;border-radius:var(--sd-border-radius-full,9999px)}sd-button::part(label){flex-grow:0}`],Ni([Ue({type:Boolean,reflect:!0,attribute:"reversed-layout"})],Ji.prototype,"reversedLayout",2),Ni([Ue({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],Ji.prototype,"hideTimestamps",2),Ni([Ue({type:Boolean,reflect:!0})],Ji.prototype,"animated",2),Ni([Ue({type:Boolean,reflect:!0})],Ji.prototype,"inverted",2),Ni([Ue({type:Number})],Ji.prototype,"speed",2),Ni([Ge()],Ji.prototype,"currentTime",2),Ni([Ge()],Ji.prototype,"duration",2),Ni([Ge()],Ji.prototype,"isPlaying",2),Ni([Ge()],Ji.prototype,"isMuted",2),Ni([Ge()],Ji.prototype,"progress",2),Ni([Le('[part="progress-slider"]')],Ji.prototype,"progressSlider",2),Ni([Le('[part="audio-player"]')],Ji.prototype,"audioPlayerContainer",2),Ni([Le("sd-drawer")],Ji.prototype,"drawer",2),Ni([Le("canvas")],Ji.prototype,"canvas",2),Ji=Ni([Qe("sd-audio")],Ji);const Wi=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ji}},Symbol.toStringTag,{value:"Module"})),_i=Object.freeze(Object.defineProperty({__proto__:null,default:"//uQZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAABRAACbvAACBAgKDQ0QExcZGRweIiQkJyouMTQ0ODs+QkJFSUxPT1NWWl1dYGRna25ucXV4e3t/goaJiYyPkpaWmJyfoqamqq2ws7O3ur3BwcTHy87O0tbZ3eHh5Ofq7e3v8vT29vr7//8AAAA8TEFNRTMuOThyBK8AAAAAAAAAADQgJATvTQABzAAAm7x1lCT3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//twRAAAASMHzuhDEEgnoLnaCGMFC2CpO6wMT2EoDCd1hI00AAAAEQIDYHAsIIQAAEoGVMIIxHu2NU7D//6gx93/////b/rA4AABkADS8C7uaACBBcE4PiDEHG1v///8H4nB8CAgcnAfD/+XeJ//kJECiCQEJfI6HOSeUxLVpnrJo2rNIWOyh0ICisofyinwxQgwhC62QhoOq/VUc83SH50lBBW/zGlu7+rRJASS9aBdydWL4sDQNcGniICjWjQVUyz/r9Svasqk8mh2IEEAAF/3UCwpAWzBRxYSYYCG20kc8DZACBhYYL23pA9szuRYqDCiBhWU248WncakPjwAC//nqPjvVXbW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qBSmag18mIQqYiDsxyG85imhFp34Nwl8NyKEu87U3////nbw5zrdIg972M5dL////+c3//nQ3bFumpbnpdMRGCIMhI//6QEFQgaCX//ak8x6m////+laKgmgABQaMiGV7AoEDAAAAoCMkDSRNrZEQUyyNaBUCGTWoUmcDggKiShNMQBLvNZYiHMO+YFDCmUu6RFMhdcEsKVI0o2u8uWFMOnJtgzuyakk1LS0sW5jWrS5zJVG5L4lLfh8yFf4oaATfWoJt2XX3/2gAf1VeSJHQUAkcatdmY/jARAQEKq7AS7M2oCAmFAVjagJ7ER4Gnwad5LBV4Ablu3/AAAA//yOCjvCjQr/+xBkIQ/xkRtK7xhgCBdgCW3gAAFAAAGkAAAAIAAANIAAAAR8UXFFZBXAqkxBTUUzLjk4LjKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqg=="},Symbol.toStringTag,{value:"Module"}));var Xi=Object.defineProperty,to=Object.getOwnPropertyDescriptor,eo=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?to(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Xi(e,i,s),s};let io=class extends Je{constructor(){super(...arguments),this.size="lg",this.variant="default",this.inverted=!1}render(){return ye`<span role="status" part="base" aria-labelledby="content" class="${$e("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{default:this.inverted?"text-primary bg-primary-100 border-primary":"text-white bg-primary-500 border-white",success:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",error:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant],{sm:"h-2 min-w-2",md:"h-4 px-1 min-w-4",lg:"h-5 min-w-5"}[this.size])}"><span id="content" part="content" class="${$e("sm"===this.size&&"sr-only")}"><slot></slot></span></span>`}};io.styles=[Je.styles,Ft`:host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){font-size:.625rem}:host([size=lg]){font-size:.75rem}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],eo([Ue({reflect:!0})],io.prototype,"size",2),eo([Ue({reflect:!0})],io.prototype,"variant",2),eo([Ue({type:Boolean,reflect:!0})],io.prototype,"inverted",2),io=eo([Qe("sd-badge")],io);const oo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return io}},Symbol.toStringTag,{value:"Module"}));var ro=Object.defineProperty,so=Object.getOwnPropertyDescriptor,ao=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?so(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ro(e,i,s),s};let no=class extends Je{constructor(){super(...arguments),this.variant="primary",this.shapes=["top","middle","bottom"],this.componentBreakpoint=0}getSvg(t,e){return{0:this.smallSvg(e),414:this.mediumSvg(e),640:this.largeSvg(e)}[t]}largeSvg(t){return"top"===t?ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return"top"===t?ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return"top"===t?ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.setBreakpoint())),this.updateComplete.then((()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return ye`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return ye`<div class="${$e({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${$e({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="z-10 relative" part="content"><slot></slot></div></div>`}renderBottomBrandshape(){return ye`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return ye`<div class="${$e({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return ye`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${$e("image"!==this.variant&&"hidden")}" name="image"></slot></div>`}renderShapes(){return ye`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){const t=this.variant.startsWith("border-")||"image"===this.variant;return ye`<div class="${$e({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white","border-white":"fill-transparent","border-primary":"fill-transparent",image:"fill-transparent"}[this.variant],"relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()} ${this.shapes.includes("middle")?ye`<slot></slot>`:""}</div>`}};no.styles=[Ve,Je.styles,Ft`:host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
64
64
  (var(--opposite) - (var(--radius) / 3)) * 0.5
65
- )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgb(var(--sd-color-primary, 0 53 142))}:host([variant=border-white]){--internal-border-color:var(--sd-color-white, white)}:host([variant^=border-]) [part=stylized-container]::before{right:var(--sd-spacing-0,0);border-width:2px;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}`],sr([He("[part=base]")],ar.prototype,"containerElem",2),sr([Fe({type:String})],ar.prototype,"variant",2),sr([Fe({type:Array})],ar.prototype,"shapes",2),sr([Ue()],ar.prototype,"componentBreakpoint",2),ar=sr([Be("sd-brandshape")],ar);const nr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ar}},Symbol.toStringTag,{value:"Module"}));var lr=Object.defineProperty,dr=Object.getOwnPropertyDescriptor,hr=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?dr(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&lr(e,i,s),s};let cr=class extends Xe{constructor(){super(...arguments),this.color="currentColor",this.localize=new S(this)}render(){return fe`<svg role="progressbar" viewBox="0 0 24 24" class="${Ke("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};cr.styles=[Xe.styles,Dt`:host{display:inline-block;width:1em;height:1em}`],hr([Fe({reflect:!0})],cr.prototype,"color",2),cr=hr([Be("sd-spinner")],cr);const pr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return cr}},Symbol.toStringTag,{value:"Module"})),ur=new WeakMap,br=new WeakMap,mr=new WeakMap,gr=new WeakMap;class vr{constructor(t,e){this.handleFormData=t=>{const e=this.options.disabled(this.host),i=this.options.name(this.host),r=this.options.value(this.host),o="sd-button"===this.host.tagName.toLowerCase();!e&&!o&&"string"==typeof i&&i.length>0&&typeof r<"u"&&(Array.isArray(r)?r.forEach((e=>{t.formData.append(i,e.toString())})):t.formData.append(i,r.toString()))},this.handleFormSubmit=t=>{var e,i;const r=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&(null==(e=ur.get(this.form))||e.forEach((t=>{this.setUserInteracted(t,!0)}))),this.form&&!this.form.noValidate&&!r&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();const e=null==(i=this.form)?void 0:i.querySelectorAll("[data-invalid]");Array.from(e).filter((t=>"sd-radio-group"===t.tagName.toLowerCase())).forEach((t=>{var e,i;null==(i=null==(e=t.shadowRoot)?void 0:e.querySelector("input"))||i.dispatchEvent(new Event("invalid"))})),null!=e&&e.length&&e[0].focus()}},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),gr.set(this.host,[])},this.handleInteraction=t=>{const e=gr.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)},(this.host=t).addController(this),this.options={form:t=>{if(t.hasAttribute("form")&&""!==t.getAttribute("form")){const e=t.getRootNode(),i=t.getAttribute("form");if(i)return e.getElementById(i)}return t.closest("form")},name:t=>t.name,value:t=>t.value,defaultValue:t=>t.defaultValue,disabled:t=>t.disabled??!1,reportValidity:t=>"function"!=typeof t.reportValidity||t.reportValidity(),setValue:(t,e)=>t.value=e,assumeInteractionOn:["sd-input"],...e}}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),gr.set(this.host,[]),this.options.assumeInteractionOn.forEach((t=>{this.host.addEventListener(t,this.handleInteraction)}))}hostDisconnected(){this.detachForm(),gr.delete(this.host),this.options.assumeInteractionOn.forEach((t=>{this.host.removeEventListener(t,this.handleInteraction)}))}hostUpdated(){var t;const e=this.options.form(this.host);e||this.detachForm(),e&&this.form!==e&&(this.detachForm(),this.attachForm(e)),this.host.hasUpdated&&(this.setValidity(null==(t=this.host)?void 0:t.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,ur.has(this.form)?ur.get(this.form).add(this.host):ur.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),br.has(this.form)||(br.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&(null==(t=ur.get(this.form))||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),br.has(this.form)&&(this.form.reportValidity=br.get(this.form),br.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){const t=this.form.querySelectorAll("*");for(const e of t)if("function"==typeof e.reportValidity&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){mr.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){const i=document.createElement("button");i.type=t,i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.clipPath="inset(50%)",i.style.overflow="hidden",i.style.whiteSpace="nowrap",e&&(i.name=e.name,i.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach((t=>{e.hasAttribute(t)&&i.setAttribute(t,e.getAttribute(t))}))),this.form.append(i),i.click(),i.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){return this.form??null}renderInvalidMessage(){return fe`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var e;const i=this.host,r=!!mr.get(i),o=!!i.required;null!=(e=this.form)&&e.noValidate?(i.removeAttribute("data-required"),i.removeAttribute("data-optional"),i.removeAttribute("data-invalid"),i.removeAttribute("data-valid"),i.removeAttribute("data-user-invalid"),i.removeAttribute("data-user-valid")):(i.toggleAttribute("data-required",o),i.toggleAttribute("data-optional",!o),i.toggleAttribute("data-invalid",!t),i.toggleAttribute("data-valid",t),i.toggleAttribute("data-user-invalid",!t&&r),i.toggleAttribute("data-user-valid",t&&r))}updateValidity(){const t=this.host;this.setValidity(null==t?void 0:t.validity.valid)}emitInvalidEvent(t){null==t||t.preventDefault();const e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}}const fr=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),yr=Object.freeze({...fr,valid:!1,valueMissing:!0}),wr=Object.freeze({...fr,valid:!1,customError:!0}),xr=Symbol.for(""),kr=t=>{if((null==t?void 0:t.r)===xr)return null==t?void 0:t._$litStatic$},$r=(t,...e)=>({_$litStatic$:e.reduce(((e,i,r)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+t[r+1]),t[0]),r:xr}),Cr=new Map,Sr=(zr=fe,(t,...e)=>{const i=e.length;let r,o;const s=[],a=[];let n,l=0,d=!1;for(;l<i;){for(n=t[l];l<i&&(o=e[l],void 0!==(r=kr(o)));)n+=r+t[++l],d=!0;l!==i&&a.push(o),s.push(n),l++}if(l===i&&s.push(t[i]),d){const i=s.join("$$lit$$");void 0===(t=Cr.get(i))&&(s.raw=s,Cr.set(i,t=s)),e=a}return zr(t,...e)});
65
+ )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgb(var(--sd-color-primary, 0 53 142))}:host([variant=border-white]){--internal-border-color:var(--sd-color-white, white)}:host([variant^=border-]) [part=stylized-container]::before{right:var(--sd-spacing-0,0);border-width:2px;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}`],ao([Le("[part=base]")],no.prototype,"containerElem",2),ao([Ue({type:String})],no.prototype,"variant",2),ao([Ue({type:Array})],no.prototype,"shapes",2),ao([Ge()],no.prototype,"componentBreakpoint",2),no=ao([Qe("sd-brandshape")],no);const lo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return no}},Symbol.toStringTag,{value:"Module"}));var ho=Object.defineProperty,co=Object.getOwnPropertyDescriptor,po=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?co(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ho(e,i,s),s};let uo=class extends Je{constructor(){super(...arguments),this.color="currentColor",this.localize=new S(this)}render(){return ye`<svg role="progressbar" viewBox="0 0 24 24" class="${$e("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};uo.styles=[Je.styles,Ft`:host{display:inline-block;width:1em;height:1em}`],po([Ue({reflect:!0})],uo.prototype,"color",2),uo=po([Qe("sd-spinner")],uo);const go=Object.freeze(Object.defineProperty({__proto__:null,get default(){return uo}},Symbol.toStringTag,{value:"Module"})),mo=new WeakMap,bo=new WeakMap,vo=new WeakMap,yo=new WeakMap;class fo{constructor(t,e){this.handleFormData=t=>{const e=this.options.disabled(this.host),i=this.options.name(this.host),o=this.options.value(this.host),r="sd-button"===this.host.tagName.toLowerCase();!e&&!r&&"string"==typeof i&&i.length>0&&typeof o<"u"&&(Array.isArray(o)?o.forEach((e=>{t.formData.append(i,e.toString())})):t.formData.append(i,o.toString()))},this.handleFormSubmit=t=>{var e,i;const o=this.options.disabled(this.host),r=this.options.reportValidity;if(this.form&&!this.form.noValidate&&(null==(e=mo.get(this.form))||e.forEach((t=>{this.setUserInteracted(t,!0)}))),this.form&&!this.form.noValidate&&!o&&!r(this.host)){t.preventDefault(),t.stopImmediatePropagation();const e=null==(i=this.form)?void 0:i.querySelectorAll("[data-invalid]");Array.from(e).filter((t=>"sd-radio-group"===t.tagName.toLowerCase())).forEach((t=>{var e,i;null==(i=null==(e=t.shadowRoot)?void 0:e.querySelector("input"))||i.dispatchEvent(new Event("invalid"))})),null!=e&&e.length&&e[0].focus()}},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),yo.set(this.host,[])},this.handleInteraction=t=>{const e=yo.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)},(this.host=t).addController(this),this.options={form:t=>{if(t.hasAttribute("form")&&""!==t.getAttribute("form")){const e=t.getRootNode(),i=t.getAttribute("form");if(i)return e.getElementById(i)}return t.closest("form")},name:t=>t.name,value:t=>t.value,defaultValue:t=>t.defaultValue,disabled:t=>t.disabled??!1,reportValidity:t=>"function"!=typeof t.reportValidity||t.reportValidity(),setValue:(t,e)=>t.value=e,assumeInteractionOn:["sd-input"],...e}}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),yo.set(this.host,[]),this.options.assumeInteractionOn.forEach((t=>{this.host.addEventListener(t,this.handleInteraction)}))}hostDisconnected(){this.detachForm(),yo.delete(this.host),this.options.assumeInteractionOn.forEach((t=>{this.host.removeEventListener(t,this.handleInteraction)}))}hostUpdated(){var t;const e=this.options.form(this.host);e||this.detachForm(),e&&this.form!==e&&(this.detachForm(),this.attachForm(e)),this.host.hasUpdated&&(this.setValidity(null==(t=this.host)?void 0:t.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,mo.has(this.form)?mo.get(this.form).add(this.host):mo.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),bo.has(this.form)||(bo.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&(null==(t=mo.get(this.form))||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),bo.has(this.form)&&(this.form.reportValidity=bo.get(this.form),bo.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){const t=this.form.querySelectorAll("*");for(const e of t)if("function"==typeof e.reportValidity&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){vo.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){const i=document.createElement("button");i.type=t,i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.clipPath="inset(50%)",i.style.overflow="hidden",i.style.whiteSpace="nowrap",e&&(i.name=e.name,i.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach((t=>{e.hasAttribute(t)&&i.setAttribute(t,e.getAttribute(t))}))),this.form.append(i),i.click(),i.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){return this.form??null}renderInvalidMessage(){return ye`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var e;const i=this.host,o=!!vo.get(i),r=!!i.required;null!=(e=this.form)&&e.noValidate?(i.removeAttribute("data-required"),i.removeAttribute("data-optional"),i.removeAttribute("data-invalid"),i.removeAttribute("data-valid"),i.removeAttribute("data-user-invalid"),i.removeAttribute("data-user-valid")):(i.toggleAttribute("data-required",r),i.toggleAttribute("data-optional",!r),i.toggleAttribute("data-invalid",!t),i.toggleAttribute("data-valid",t),i.toggleAttribute("data-user-invalid",!t&&o),i.toggleAttribute("data-user-valid",t&&o))}updateValidity(){const t=this.host;this.setValidity(null==t?void 0:t.validity.valid)}emitInvalidEvent(t){null==t||t.preventDefault();const e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}}const wo=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Ao=Object.freeze({...wo,valid:!1,valueMissing:!0}),xo=Object.freeze({...wo,valid:!1,customError:!0}),ko=Symbol.for(""),Co=t=>{if((null==t?void 0:t.r)===ko)return null==t?void 0:t._$litStatic$},So=(t,...e)=>({_$litStatic$:e.reduce(((e,i,o)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+t[o+1]),t[0]),r:ko}),Eo=new Map,Bo=(Io=ye,(t,...e)=>{const i=e.length;let o,r;const s=[],a=[];let n,l=0,d=!1;for(;l<i;){for(n=t[l];l<i&&(r=e[l],void 0!==(o=Co(r)));)n+=o+t[++l],d=!0;l!==i&&a.push(r),s.push(n),l++}if(l===i&&s.push(t[i]),d){const i=s.join("$$lit$$");void 0===(t=Eo.get(i))&&(s.raw=s,Eo.set(i,t=s)),e=a}return Io(t,...e)});
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2020 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */var zr;
70
+ */var Io;
71
71
  /**
72
72
  * @license
73
73
  * Copyright 2018 Google LLC
74
74
  * SPDX-License-Identifier: BSD-3-Clause
75
75
  */
76
- const _r=t=>t??xe;var Pr=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,Er=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Or(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Pr(e,i,s),s};let Ar=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),i=t.getAttribute("form");return e.getElementById(i)}return t.closest("form")}}),this.hasSlotController=new Hi(this,"[default]","icon-left","icon-right"),this.invalid=!1,this.title="",this.variant="primary",this.inverted=!1,this.size="lg",this.disabled=!1,this.loading=!1,this.type="button",this.name="",this.value="",this.href=""}get validity(){return this.isButton()?this.button.validity:fr}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"===this.type&&this.formControlController.submit(this),"reset"===this.type&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return!this.isButton()||this.button.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?$r`a`:$r`button`,i={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0};return Sr`<${e} part="base" class="${Ke("font-md leading-[calc(var(--tw-varspacing)-2px)] no-underline\n w-full h-varspacing whitespace-nowrap align-middle inline-flex items-stretch justify-center\n border transition-colors duration-200 ease-in-out rounded-default\n select-none cursor-[inherit]",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",this.disabled&&"cursor-not-allowed",i["icon-only"]&&"px-0 w-varspacing",{sm:"text-sm varspacing-8 px-4",md:"text-base varspacing-10 px-4",lg:"text-base varspacing-12 px-4"}[this.size],{primary:this.inverted?"text-primary bg-white border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:bg-neutral-600 disabled:text-white":"text-white bg-primary border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:bg-neutral-500",secondary:this.inverted?"text-white border-white\n hover:text-primary-100 hover:bg-primary-500 hover:border-primary-100\n active:text-primary-200 active:bg-primary-800 active:border-primary-200\n disabled:text-neutral-600 disabled:border-neutral-600":"text-primary border-primary\n hover:text-primary-500 hover:border-primary-500 hover:bg-primary-100\n active:text-primary-800 active:border-primary-800 active:bg-primary-200\n disabled:text-neutral-500 disabled:border-neutral-500",tertiary:this.inverted?"text-white border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:text-neutral-600":"text-primary border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:text-neutral-500",cta:`text-white bg-accent-500 border-transparent\n hover:bg-accent-550\n active:bg-accent-700\n ${this.inverted?"disabled:bg-neutral-600":"disabled:bg-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${_r(t?void 0:this.disabled)}" type="${_r(t?void 0:this.type)}" title="${this.title}" name="${_r(t?void 0:this.name)}" value="${_r(t?void 0:this.value)}" href="${_r(t?this.href:void 0)}" target="${_r(t?this.target:void 0)}" download="${_r(t?this.download:void 0)}" rel="${_r(t&&this.target?"noreferrer noopener":void 0)}" role="${_r(t?void 0:"button")}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${Ke("flex flex-auto items-center pointer-events-none",i["icon-only"]&&"hidden",this.loading&&"invisible",i["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" class="${Ke(i["icon-only"]?"flex flex-auto items-center pointer-events-none":"inline-block",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${Ke("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",i["icon-only"]&&"hidden",i["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?Sr`<sd-spinner class="${Ke("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-spinner>`:""}</${e}>`}};Ar.styles=[Ne,Xe.styles,Dt`:host{position:relative;display:inline-block;width:var(--sd-spacing-auto,auto);cursor:pointer}sd-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-badge){pointer-events:none;position:absolute;top:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-icon),sd-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`],Er([He("a, button")],Ar.prototype,"button",2),Er([qe({selector:"sd-icon"})],Ar.prototype,"_iconsInDefaultSlot",2),Er([Ue()],Ar.prototype,"invalid",2),Er([Fe()],Ar.prototype,"title",2),Er([Fe({reflect:!0})],Ar.prototype,"variant",2),Er([Fe({type:Boolean,reflect:!0})],Ar.prototype,"inverted",2),Er([Fe({reflect:!0})],Ar.prototype,"size",2),Er([Fe({type:Boolean,reflect:!0})],Ar.prototype,"disabled",2),Er([Fe({type:Boolean,reflect:!0})],Ar.prototype,"loading",2),Er([Fe()],Ar.prototype,"type",2),Er([Fe()],Ar.prototype,"name",2),Er([Fe()],Ar.prototype,"value",2),Er([Fe()],Ar.prototype,"href",2),Er([Fe()],Ar.prototype,"target",2),Er([Fe()],Ar.prototype,"download",2),Er([Fe()],Ar.prototype,"form",2),Er([Fe({attribute:"formaction"})],Ar.prototype,"formAction",2),Er([Fe({attribute:"formenctype"})],Ar.prototype,"formEnctype",2),Er([Fe({attribute:"formmethod"})],Ar.prototype,"formMethod",2),Er([Fe({attribute:"formnovalidate",type:Boolean})],Ar.prototype,"formNoValidate",2),Er([Fe({attribute:"formtarget"})],Ar.prototype,"formTarget",2),Er([mi("disabled",{waitUntilFirstUpdate:!0})],Ar.prototype,"handleDisabledChange",1),Ar=Er([Be("sd-button")],Ar);const Tr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ar}},Symbol.toStringTag,{value:"Module"}));Object.defineProperty,Object.getOwnPropertyDescriptor;let Lr=class extends Xe{static isCarouselItem(t){return t instanceof Element&&"slide"===t.getAttribute("aria-roledescription")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return fe`<slot></slot>`}};Lr.styles=[Xe.styles,Ne,Dt`:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],Lr=((t,e,i,r)=>{for(var o,s=e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=o(s)||s);return s})([Be("sd-carousel-item")],Lr);const Mr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Lr}},Symbol.toStringTag,{value:"Module"}));class Dr{constructor(t,e){this.timerId=0,this.activeInteractions=0,this.paused=!1,this.stopped=!0,this.pause=()=>{this.activeInteractions++||(this.paused=!0,this.host.requestUpdate())},this.resume=()=>{--this.activeInteractions||(this.paused=!1,this.host.requestUpdate())},t.addController(this),this.host=t,this.tickCallback=e}hostConnected(){this.host.addEventListener("mouseenter",this.pause),this.host.addEventListener("mouseleave",this.resume),this.host.addEventListener("focusin",this.pause),this.host.addEventListener("focusout",this.resume),this.host.addEventListener("touchstart",this.pause,{passive:!0}),this.host.addEventListener("touchend",this.resume)}hostDisconnected(){this.stop(),this.host.removeEventListener("mouseenter",this.pause),this.host.removeEventListener("mouseleave",this.resume),this.host.removeEventListener("focusin",this.pause),this.host.removeEventListener("focusout",this.resume),this.host.removeEventListener("touchstart",this.pause),this.host.removeEventListener("touchend",this.resume)}start(t){this.stop(),this.stopped=!1,this.timerId=window.setInterval((()=>{this.paused||this.tickCallback()}),t)}stop(){clearInterval(this.timerId),this.stopped=!0,this.host.requestUpdate()}}const jr=Object.freeze(Object.defineProperty({__proto__:null,AutoplayController:Dr},Symbol.toStringTag,{value:"Module"})),Br=Symbol(),Vr=t=>(e,i,r)=>{const o=r.value;r.value=function(...e){clearTimeout(this[Br]),this[Br]=window.setTimeout((()=>{o.apply(this,e)}),t)}};var Ir=Object.defineProperty,Fr=Object.getOwnPropertyDescriptor;class Ur{constructor(t){this.pointers=new Set,this.dragging=!1,this.scrolling=!1,this.mouseDragging=!1,this.handleScroll=()=>{this.scrolling||(this.scrolling=!0,this.host.requestUpdate()),this.handleScrollEnd()},this.handlePointerDown=t=>{"touch"!==t.pointerType&&(this.pointers.add(t.pointerId),this.mouseDragging&&!this.dragging&&0===t.button&&(t.preventDefault(),this.host.scrollContainer.addEventListener("pointermove",this.handlePointerMove)))},this.handlePointerMove=t=>{const e=this.host.scrollContainer,i=!!t.movementX||!!t.movementY;!this.dragging&&i?(e.setPointerCapture(t.pointerId),this.handleDragStart()):e.hasPointerCapture(t.pointerId)&&this.handleDrag(t)},this.handlePointerUp=t=>{this.pointers.delete(t.pointerId),this.host.scrollContainer.releasePointerCapture(t.pointerId),0===this.pointers.size&&this.handleDragEnd()},this.handleTouchEnd=t=>{for(const e of t.changedTouches)this.pointers.delete(e.identifier)},this.handleTouchStart=t=>{for(const e of t.touches)this.pointers.add(e.identifier)},this.host=t,t.addController(this)}async hostConnected(){const t=this.host;await t.updateComplete;const e=t.scrollContainer;e.addEventListener("scroll",this.handleScroll,{passive:!0}),e.addEventListener("pointerdown",this.handlePointerDown),e.addEventListener("pointerup",this.handlePointerUp),e.addEventListener("pointercancel",this.handlePointerUp),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd)}hostDisconnected(){const t=this.host.scrollContainer;t.removeEventListener("scroll",this.handleScroll),t.removeEventListener("pointerdown",this.handlePointerDown),t.removeEventListener("pointerup",this.handlePointerUp),t.removeEventListener("pointercancel",this.handlePointerUp),t.removeEventListener("touchstart",this.handleTouchStart),t.removeEventListener("touchend",this.handleTouchEnd)}handleScrollEnd(){this.pointers.size?this.handleScrollEnd():(this.scrolling=!1,this.host.scrollContainer.dispatchEvent(new CustomEvent("scrollend",{bubbles:!1,cancelable:!1})),this.host.requestUpdate())}handleDragStart(){const t=this.host;this.dragging=!0,t.scrollContainer.style.setProperty("scroll-snap-type","unset"),t.requestUpdate()}handleDrag(t){this.host.scrollContainer.scrollBy({left:-t.movementX,top:-t.movementY})}async handleDragEnd(){const t=this.host,e=t.scrollContainer;e.removeEventListener("pointermove",this.handlePointerMove),this.dragging=!1;const i=e.scrollLeft,r=e.scrollTop;e.style.removeProperty("scroll-snap-type");const o=e.scrollLeft,s=e.scrollTop;e.style.setProperty("scroll-snap-type","unset"),e.scrollTo({left:i,top:r,behavior:"auto"}),e.scrollTo({left:o,top:s,behavior:Ci()?"auto":"smooth"}),this.scrolling&&await Ti(e,"scrollend"),e.style.removeProperty("scroll-snap-type"),t.requestUpdate()}}((t,e,i,r)=>{for(var o,s=Fr(e,i),a=t.length-1;a>=0;a--)(o=t[a])&&(s=o(e,i,s)||s);s&&Ir(e,i,s)})([Vr(100)],Ur.prototype,"handleScrollEnd");const Rr=Object.freeze(Object.defineProperty({__proto__:null,ScrollController:Ur},Symbol.toStringTag,{value:"Module"}));var Hr=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Nr=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?qr(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Hr(e,i,s),s};let Kr=class extends Xe{constructor(){super(...arguments),this.variant="number",this.inverted=!1,this.loop=!1,this.autoplay=!1,this.slidesPerPage=1,this.slidesPerMove=1,this.activeSlide=0,this.currentPage=1,this.pausedAutoplay=!1,this.autoplayController=new Dr(this,(()=>this.next())),this.scrollController=new Ur(this),this.slides=this.getElementsByTagName("sd-carousel-item"),this.intersectionObserverEntries=new Map,this.localize=new S(this),this.handleSlotChange=t=>{t.some((t=>[...t.addedNodes,...t.removedNodes].some((t=>Lr.isCarouselItem(t)&&!t.hasAttribute("data-clone")))))&&this.initializeSlides(),this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-label",this.localize.term("carousel"));const t=new IntersectionObserver((t=>{t.forEach((t=>{this.intersectionObserverEntries.set(t.target,t);const e=t.target;e.toggleAttribute("inert",!t.isIntersecting),e.classList.toggle("--in-view",t.isIntersecting),e.setAttribute("aria-hidden",t.isIntersecting?"false":"true")}))}),{root:this,threshold:.6});this.intersectionObserver=t,t.takeRecords().forEach((t=>{this.intersectionObserverEntries.set(t.target,t)}))}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(){this.initializeSlides(),this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1})}static getPageCount(t,e,i){return Math.ceil((t-e)/i)+1>0?Math.ceil((t-e)/i)+1:1}static getCurrentPage(t,e,i,r){return Math.ceil((t-i)/r)-Math.ceil((t-i-e)/r)+1}getSlides({excludeClones:t=!0}={}){return[...this.slides].filter((e=>!t||!e.hasAttribute("data-clone")))}handleKeyDown(t){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=t.target,i="rtl"===this.localize.dir(),r=null!==e.closest('[part~="pagination-item"]'),o="ArrowDown"===t.key||!i&&"ArrowRight"===t.key||i&&"ArrowLeft"===t.key,s="ArrowUp"===t.key||!i&&"ArrowLeft"===t.key||i&&"ArrowRight"===t.key;t.preventDefault(),s&&this.previous(),o&&this.next(),"Home"===t.key&&this.goToSlide(0),"End"===t.key&&this.goToSlide(this.getSlides().length-1),r&&this.updateComplete.then((()=>{var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector('[part~="pagination-item--active"]');e&&e.focus()}))}}handleScrollEnd(){const t=this.getSlides(),e=[...this.intersectionObserverEntries.values()].find((t=>t.isIntersecting));if(this.loop&&null!=e&&e.target.hasAttribute("data-clone")){const t=Number(e.target.getAttribute("data-clone"));this.goToSlide(t,"auto")}else e&&(this.activeSlide=t.indexOf(e.target))}handlePausedAutoplay(){var t;this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(3e3),null==(t=this.autoplayControls)||t.blur()}initializeSlides(){const t=this.getSlides(),e=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach(((t,i)=>{e.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",i+1)),t.hasAttribute("data-clone")&&t.remove()})),this.loop){const e=this.slidesPerPage,i=t.slice(-e),r=t.slice(0,e);i.reverse().forEach(((e,i)=>{const r=e.cloneNode(!0);r.setAttribute("data-clone",String(t.length-i-1)),this.prepend(r)})),r.forEach(((t,e)=>{const i=t.cloneNode(!0);i.setAttribute("data-clone",String(e)),this.append(i)}))}this.getSlides({excludeClones:!1}).forEach((t=>{e.observe(t)})),this.goToSlide(this.activeSlide,"auto")}handelSlideChange(){this.currentPage=Kr.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);const t=this.getSlides();t.forEach(((t,e)=>{t.classList.toggle("--is-active",e===this.activeSlide)})),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:t[this.activeSlide]}}),this.currentPage>Kr.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)&&this.nextTillFirst()}handleSlidesPerMoveChange(){const t=this.getSlides({excludeClones:!1}),e=this.slidesPerMove;t.forEach(((t,i)=>{Math.abs(i-e)%e==0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")}))}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(t="smooth"){var e;let i=this.activeSlide||this.activeSlide-this.slidesPerMove,r=!1;for(;!r&&i>0;)i-=1,r=Math.abs(i-this.slidesPerMove)%this.slidesPerMove==0;this.currentPage-1==0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,t):this.goToSlide(i,t),null==(e=this.previousButton)||e.blur()}next(t="smooth"){var e;this.currentPage+1<=Kr.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,t):this.loop&&this.nextTillFirst(t),null==(e=this.nextButton)||e.blur()}nextTillFirst(t="smooth"){for(;0!==this.activeSlide;)this.goToSlide(this.activeSlide+1,t);this.currentPage=Kr.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(t,e="smooth"){const{slidesPerPage:i,loop:r,scrollContainer:o}=this,s=this.getSlides(),a=this.getSlides({excludeClones:!1}),n=(t+s.length)%s.length;this.activeSlide=n;const l=function(t,e,i){return(t=>Object.is(t,-0)?0:t)(t<0?0:t>i?i:t)}
76
+ const Mo=t=>t??Ae;var Do=Object.defineProperty,Oo=Object.getOwnPropertyDescriptor,zo=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Oo(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Do(e,i,s),s};let To=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),i=t.getAttribute("form");return e.getElementById(i)}return t.closest("form")}}),this.hasSlotController=new Li(this,"[default]","icon-left","icon-right"),this.invalid=!1,this.title="",this.variant="primary",this.inverted=!1,this.size="lg",this.disabled=!1,this.loading=!1,this.type="button",this.name="",this.value="",this.href=""}get validity(){return this.isButton()?this.button.validity:wo}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(t){if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"===this.type&&this.formControlController.submit(this),"reset"===this.type&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return!this.isButton()||this.button.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?So`a`:So`button`,i={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0};return Bo`<${e} part="base" class="${$e("font-md leading-[calc(var(--tw-varspacing)-2px)] no-underline\n w-full h-varspacing whitespace-nowrap align-middle inline-flex items-stretch justify-center\n border transition-colors duration-200 ease-in-out rounded-default\n select-none cursor-[inherit]",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",this.disabled&&"cursor-not-allowed",i["icon-only"]&&"px-0 w-varspacing",{sm:"text-sm varspacing-8 px-4",md:"text-base varspacing-10 px-4",lg:"text-base varspacing-12 px-4"}[this.size],{primary:this.inverted?"text-primary bg-white border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:bg-neutral-600 disabled:text-white":"text-white bg-primary border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:bg-neutral-500",secondary:this.inverted?"text-white border-white\n hover:text-primary-100 hover:bg-primary-500 hover:border-primary-100\n active:text-primary-200 active:bg-primary-800 active:border-primary-200\n disabled:text-neutral-600 disabled:border-neutral-600":"text-primary border-primary\n hover:text-primary-500 hover:border-primary-500 hover:bg-primary-100\n active:text-primary-800 active:border-primary-800 active:bg-primary-200\n disabled:text-neutral-500 disabled:border-neutral-500",tertiary:this.inverted?"text-white border-transparent\n hover:text-primary-100 hover:bg-primary-500\n active:text-primary-200 active:bg-primary-800\n disabled:text-neutral-600":"text-primary border-transparent\n hover:text-primary-500 hover:bg-primary-100\n active:text-primary-800 active:bg-primary-200\n disabled:text-neutral-500",cta:`text-white bg-accent-500 border-transparent\n hover:bg-accent-550\n active:bg-accent-700\n ${this.inverted?"disabled:bg-neutral-600":"disabled:bg-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${Mo(t?void 0:this.disabled)}" type="${Mo(t?void 0:this.type)}" title="${this.title}" name="${Mo(t?void 0:this.name)}" value="${Mo(t?void 0:this.value)}" href="${Mo(t?this.href:void 0)}" target="${Mo(t?this.target:void 0)}" download="${Mo(t?this.download:void 0)}" rel="${Mo(t&&this.target?"noreferrer noopener":void 0)}" role="${Mo(t?void 0:"button")}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${$e("flex flex-auto items-center pointer-events-none",i["icon-only"]&&"hidden",this.loading&&"invisible",i["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" class="${$e(i["icon-only"]?"flex flex-auto items-center pointer-events-none":"inline-block",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${$e("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",i["icon-only"]&&"hidden",i["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?Bo`<sd-spinner class="${$e("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-spinner>`:""}</${e}>`}};To.styles=[Ve,Je.styles,Ft`:host{position:relative;display:inline-block;width:var(--sd-spacing-auto,auto);cursor:pointer}sd-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-badge){pointer-events:none;position:absolute;top:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-icon),sd-spinner{font-size:calc(var(--tw-varspacing)/ 2)}`],zo([Le("a, button")],To.prototype,"button",2),zo([qe({selector:"sd-icon"})],To.prototype,"_iconsInDefaultSlot",2),zo([Ge()],To.prototype,"invalid",2),zo([Ue()],To.prototype,"title",2),zo([Ue({reflect:!0})],To.prototype,"variant",2),zo([Ue({type:Boolean,reflect:!0})],To.prototype,"inverted",2),zo([Ue({reflect:!0})],To.prototype,"size",2),zo([Ue({type:Boolean,reflect:!0})],To.prototype,"disabled",2),zo([Ue({type:Boolean,reflect:!0})],To.prototype,"loading",2),zo([Ue()],To.prototype,"type",2),zo([Ue()],To.prototype,"name",2),zo([Ue()],To.prototype,"value",2),zo([Ue()],To.prototype,"href",2),zo([Ue()],To.prototype,"target",2),zo([Ue()],To.prototype,"download",2),zo([Ue()],To.prototype,"form",2),zo([Ue({attribute:"formaction"})],To.prototype,"formAction",2),zo([Ue({attribute:"formenctype"})],To.prototype,"formEnctype",2),zo([Ue({attribute:"formmethod"})],To.prototype,"formMethod",2),zo([Ue({attribute:"formnovalidate",type:Boolean})],To.prototype,"formNoValidate",2),zo([Ue({attribute:"formtarget"})],To.prototype,"formTarget",2),zo([mi("disabled",{waitUntilFirstUpdate:!0})],To.prototype,"handleDisabledChange",1),To=zo([Qe("sd-button")],To);const Po=Object.freeze(Object.defineProperty({__proto__:null,get default(){return To}},Symbol.toStringTag,{value:"Module"}));Object.defineProperty,Object.getOwnPropertyDescriptor;let Fo=class extends Je{static isCarouselItem(t){return t instanceof Element&&"slide"===t.getAttribute("aria-roledescription")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return ye`<slot></slot>`}};Fo.styles=[Je.styles,Ve,Ft`:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],Fo=((t,e,i,o)=>{for(var r,s=e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=r(s)||s);return s})([Qe("sd-carousel-item")],Fo);const jo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Fo}},Symbol.toStringTag,{value:"Module"}));class Qo{constructor(t,e){this.timerId=0,this.activeInteractions=0,this.paused=!1,this.stopped=!0,this.pause=()=>{this.activeInteractions++||(this.paused=!0,this.host.requestUpdate())},this.resume=()=>{--this.activeInteractions||(this.paused=!1,this.host.requestUpdate())},t.addController(this),this.host=t,this.tickCallback=e}hostConnected(){this.host.addEventListener("mouseenter",this.pause),this.host.addEventListener("mouseleave",this.resume),this.host.addEventListener("focusin",this.pause),this.host.addEventListener("focusout",this.resume),this.host.addEventListener("touchstart",this.pause,{passive:!0}),this.host.addEventListener("touchend",this.resume)}hostDisconnected(){this.stop(),this.host.removeEventListener("mouseenter",this.pause),this.host.removeEventListener("mouseleave",this.resume),this.host.removeEventListener("focusin",this.pause),this.host.removeEventListener("focusout",this.resume),this.host.removeEventListener("touchstart",this.pause),this.host.removeEventListener("touchend",this.resume)}start(t){this.stop(),this.stopped=!1,this.timerId=window.setInterval((()=>{this.paused||this.tickCallback()}),t)}stop(){clearInterval(this.timerId),this.stopped=!0,this.host.requestUpdate()}}const Yo=Object.freeze(Object.defineProperty({__proto__:null,AutoplayController:Qo},Symbol.toStringTag,{value:"Module"})),Ro=Symbol(),Uo=t=>(e,i,o)=>{const r=o.value;o.value=function(...e){clearTimeout(this[Ro]),this[Ro]=window.setTimeout((()=>{r.apply(this,e)}),t)}};var Go=Object.defineProperty,Ho=Object.getOwnPropertyDescriptor;class Lo{constructor(t){this.pointers=new Set,this.dragging=!1,this.scrolling=!1,this.mouseDragging=!1,this.handleScroll=()=>{this.scrolling||(this.scrolling=!0,this.host.requestUpdate()),this.handleScrollEnd()},this.handlePointerDown=t=>{"touch"!==t.pointerType&&(this.pointers.add(t.pointerId),this.mouseDragging&&!this.dragging&&0===t.button&&(t.preventDefault(),this.host.scrollContainer.addEventListener("pointermove",this.handlePointerMove)))},this.handlePointerMove=t=>{const e=this.host.scrollContainer,i=!!t.movementX||!!t.movementY;!this.dragging&&i?(e.setPointerCapture(t.pointerId),this.handleDragStart()):e.hasPointerCapture(t.pointerId)&&this.handleDrag(t)},this.handlePointerUp=t=>{this.pointers.delete(t.pointerId),this.host.scrollContainer.releasePointerCapture(t.pointerId),0===this.pointers.size&&this.handleDragEnd()},this.handleTouchEnd=t=>{for(const e of t.changedTouches)this.pointers.delete(e.identifier)},this.handleTouchStart=t=>{for(const e of t.touches)this.pointers.add(e.identifier)},this.host=t,t.addController(this)}async hostConnected(){const t=this.host;await t.updateComplete;const e=t.scrollContainer;e.addEventListener("scroll",this.handleScroll,{passive:!0}),e.addEventListener("pointerdown",this.handlePointerDown),e.addEventListener("pointerup",this.handlePointerUp),e.addEventListener("pointercancel",this.handlePointerUp),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd)}hostDisconnected(){const t=this.host.scrollContainer;t.removeEventListener("scroll",this.handleScroll),t.removeEventListener("pointerdown",this.handlePointerDown),t.removeEventListener("pointerup",this.handlePointerUp),t.removeEventListener("pointercancel",this.handlePointerUp),t.removeEventListener("touchstart",this.handleTouchStart),t.removeEventListener("touchend",this.handleTouchEnd)}handleScrollEnd(){this.pointers.size?this.handleScrollEnd():(this.scrolling=!1,this.host.scrollContainer.dispatchEvent(new CustomEvent("scrollend",{bubbles:!1,cancelable:!1})),this.host.requestUpdate())}handleDragStart(){const t=this.host;this.dragging=!0,t.scrollContainer.style.setProperty("scroll-snap-type","unset"),t.requestUpdate()}handleDrag(t){this.host.scrollContainer.scrollBy({left:-t.movementX,top:-t.movementY})}async handleDragEnd(){const t=this.host,e=t.scrollContainer;e.removeEventListener("pointermove",this.handlePointerMove),this.dragging=!1;const i=e.scrollLeft,o=e.scrollTop;e.style.removeProperty("scroll-snap-type");const r=e.scrollLeft,s=e.scrollTop;e.style.setProperty("scroll-snap-type","unset"),e.scrollTo({left:i,top:o,behavior:"auto"}),e.scrollTo({left:r,top:s,behavior:Ci()?"auto":"smooth"}),this.scrolling&&await zi(e,"scrollend"),e.style.removeProperty("scroll-snap-type"),t.requestUpdate()}}((t,e,i,o)=>{for(var r,s=Ho(e,i),a=t.length-1;a>=0;a--)(r=t[a])&&(s=r(e,i,s)||s);s&&Go(e,i,s)})([Uo(100)],Lo.prototype,"handleScrollEnd");const qo=Object.freeze(Object.defineProperty({__proto__:null,ScrollController:Lo},Symbol.toStringTag,{value:"Module"}));var Vo=Object.defineProperty,$o=Object.getOwnPropertyDescriptor,Zo=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?$o(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Vo(e,i,s),s};let Ko=class extends Je{constructor(){super(...arguments),this.variant="number",this.inverted=!1,this.loop=!1,this.autoplay=!1,this.slidesPerPage=1,this.slidesPerMove=1,this.activeSlide=0,this.currentPage=1,this.pausedAutoplay=!1,this.autoplayController=new Qo(this,(()=>this.next())),this.scrollController=new Lo(this),this.slides=this.getElementsByTagName("sd-carousel-item"),this.intersectionObserverEntries=new Map,this.localize=new S(this),this.handleSlotChange=t=>{t.some((t=>[...t.addedNodes,...t.removedNodes].some((t=>Fo.isCarouselItem(t)&&!t.hasAttribute("data-clone")))))&&this.initializeSlides(),this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-label",this.localize.term("carousel"));const t=new IntersectionObserver((t=>{t.forEach((t=>{this.intersectionObserverEntries.set(t.target,t);const e=t.target;e.toggleAttribute("inert",!t.isIntersecting),e.classList.toggle("--in-view",t.isIntersecting),e.setAttribute("aria-hidden",t.isIntersecting?"false":"true")}))}),{root:this,threshold:.6});this.intersectionObserver=t,t.takeRecords().forEach((t=>{this.intersectionObserverEntries.set(t.target,t)}))}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect()}firstUpdated(){this.initializeSlides(),this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1})}static getPageCount(t,e,i){return Math.ceil((t-e)/i)+1>0?Math.ceil((t-e)/i)+1:1}static getCurrentPage(t,e,i,o){return Math.ceil((t-i)/o)-Math.ceil((t-i-e)/o)+1}getSlides({excludeClones:t=!0}={}){return[...this.slides].filter((e=>!t||!e.hasAttribute("data-clone")))}handleKeyDown(t){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=t.target,i="rtl"===this.localize.dir(),o=null!==e.closest('[part~="pagination-item"]'),r="ArrowDown"===t.key||!i&&"ArrowRight"===t.key||i&&"ArrowLeft"===t.key,s="ArrowUp"===t.key||!i&&"ArrowLeft"===t.key||i&&"ArrowRight"===t.key;t.preventDefault(),s&&this.previous(),r&&this.next(),"Home"===t.key&&this.goToSlide(0),"End"===t.key&&this.goToSlide(this.getSlides().length-1),o&&this.updateComplete.then((()=>{var t;const e=null==(t=this.shadowRoot)?void 0:t.querySelector('[part~="pagination-item--active"]');e&&e.focus()}))}}handleScrollEnd(){const t=this.getSlides(),e=[...this.intersectionObserverEntries.values()].find((t=>t.isIntersecting));if(this.loop&&null!=e&&e.target.hasAttribute("data-clone")){const t=Number(e.target.getAttribute("data-clone"));this.goToSlide(t,"auto")}else e&&(this.activeSlide=t.indexOf(e.target))}handlePausedAutoplay(){var t;this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(3e3),null==(t=this.autoplayControls)||t.blur()}initializeSlides(){const t=this.getSlides(),e=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach(((t,i)=>{e.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",i+1)),t.hasAttribute("data-clone")&&t.remove()})),this.loop){const e=this.slidesPerPage,i=t.slice(-e),o=t.slice(0,e);i.reverse().forEach(((e,i)=>{const o=e.cloneNode(!0);o.setAttribute("data-clone",String(t.length-i-1)),this.prepend(o)})),o.forEach(((t,e)=>{const i=t.cloneNode(!0);i.setAttribute("data-clone",String(e)),this.append(i)}))}this.getSlides({excludeClones:!1}).forEach((t=>{e.observe(t)})),this.goToSlide(this.activeSlide,"auto")}handelSlideChange(){this.currentPage=Ko.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);const t=this.getSlides();t.forEach(((t,e)=>{t.classList.toggle("--is-active",e===this.activeSlide)})),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:t[this.activeSlide]}}),this.currentPage>Ko.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)&&this.nextTillFirst()}handleSlidesPerMoveChange(){const t=this.getSlides({excludeClones:!1}),e=this.slidesPerMove;t.forEach(((t,i)=>{Math.abs(i-e)%e==0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")}))}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(t="smooth"){var e;let i=this.activeSlide||this.activeSlide-this.slidesPerMove,o=!1;for(;!o&&i>0;)i-=1,o=Math.abs(i-this.slidesPerMove)%this.slidesPerMove==0;this.currentPage-1==0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,t):this.goToSlide(i,t),null==(e=this.previousButton)||e.blur()}next(t="smooth"){var e;this.currentPage+1<=Ko.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,t):this.loop&&this.nextTillFirst(t),null==(e=this.nextButton)||e.blur()}nextTillFirst(t="smooth"){for(;0!==this.activeSlide;)this.goToSlide(this.activeSlide+1,t);this.currentPage=Ko.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(t,e="smooth"){const{slidesPerPage:i,loop:o,scrollContainer:r}=this,s=this.getSlides(),a=this.getSlides({excludeClones:!1}),n=(t+s.length)%s.length;this.activeSlide=n;const l=function(t,e,i){return(t=>Object.is(t,-0)?0:t)(t<0?0:t>i?i:t)}
77
77
  /**
78
78
  * @license
79
79
  * Copyright 2021 Google LLC
80
80
  * SPDX-License-Identifier: BSD-3-Clause
81
- */(t+(r?i:0),0,a.length+1),d=a[l],h=o.getBoundingClientRect(),c=d.getBoundingClientRect();o.scrollTo({left:c.left-h.left+o.scrollLeft,top:c.top-h.top+o.scrollTop,behavior:Ci()?"auto":e})}render(){const{scrollController:t,slidesPerMove:e}=this,i=Kr.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),r=Kr.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),o=this.loop||r>1,s=this.loop||r<i,a="ltr"===this.localize.dir();return fe`<div part="base" class="${Ke("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${Ke("carousel__slides mb-6\n grid max-h-full w-full items-center justify-items-center overflow-auto",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline","overscroll-x-contain grid-flow-col auto-rows-[100%]\n snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${t.scrolling?"true":"false"}" aria-atomic="true" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${Ke("w-full flex items-center justify-center relative")}"><div part="navigation" class="${Ke("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!o}" class="${Ke("!mr-6 !rounded-sm sd-interactive",!o&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${o?"false":"true"}" @click="${o?()=>this.previous():null}"><slot name="previous-icon"><sd-icon class="${Ke("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${a?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${"dot"===this.variant?fe`<div part="pagination-dot" role="tablist" class="${Ke("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${function*(t,e){if(void 0!==t){let i=0;for(const r of t)yield e(r,i++)}}
81
+ */(t+(o?i:0),0,a.length+1),d=a[l],h=r.getBoundingClientRect(),c=d.getBoundingClientRect();r.scrollTo({left:c.left-h.left+r.scrollLeft,top:c.top-h.top+r.scrollTop,behavior:Ci()?"auto":e})}render(){const{scrollController:t,slidesPerMove:e}=this,i=Ko.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),o=Ko.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),r=this.loop||o>1,s=this.loop||o<i,a="ltr"===this.localize.dir();return ye`<div part="base" class="${$e("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${$e("carousel__slides mb-6\n grid max-h-full w-full items-center justify-items-center overflow-auto",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline","overscroll-x-contain grid-flow-col auto-rows-[100%]\n snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${t.scrolling?"true":"false"}" aria-atomic="true" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${$e("w-full flex items-center justify-center relative")}"><div part="navigation" class="${$e("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!r}" class="${$e("!mr-6 !rounded-sm sd-interactive",!r&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${r?"false":"true"}" @click="${r?()=>this.previous():null}"><slot name="previous-icon"><sd-icon class="${$e("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${a?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${"dot"===this.variant?ye`<div part="pagination-dot" role="tablist" class="${$e("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${function*(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}
82
82
  /**
83
83
  * @license
84
84
  * Copyright 2021 Google LLC
85
85
  * SPDX-License-Identifier: BSD-3-Clause
86
- */(function*(t,e,i=1){const r=void 0===e?0:t;e??(e=t);for(let t=r;i>0?t<e:e<t;t+=i)yield t}(i),(t=>{const o=t+1===r;return fe`<button part="pagination-item ${o?"pagination-item--active":""}" class="${Ke("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",o?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${o?"true":"false"}" aria-label="${this.localize.term("goToSlide",t+1,i)}" @click="${()=>this.goToSlide(t*e)}" @keydown="${this.handleKeyDown}"><span class="${Ke("h-4 w-4 block border hover:border-primary-500 rounded-full",this.inverted?"border-white hover:border-primary-500":"border-primary",o&&"bg-accent border-none",o?this.inverted?"hover:bg-accent-300":"hover:bg-accent-550":"")}"></span></button>`}))}</div>`:fe`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${Ke("w-5 text-center border-b-2 border-accent",this.inverted?"text-white":"text-black")}">${r}</span> <span part="pagination-divider" class="${Ke("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${Ke("w-5 text-center",this.inverted?"text-white":"text-black")}">${i}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!s}" class="${Ke("!ml-6 !rounded-sm sd-interactive ",!s&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${s?"false":"true"}" @click="${s?()=>{this.next()}:null}"><slot name="next-icon"><sd-icon class="${Ke("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${a?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${Ke("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" @click="${()=>this.pausedAutoplay=!this.pausedAutoplay}"><slot name="autoplay-start" class="${Ke(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${Ke(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-icon></slot></button></div></div>`}};Kr.styles=[Xe.styles,Mt(Ki),Ne,Dt`:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:1 1 auto;align-items:center}`],Nr([He('[part~="autoplay-controls"]')],Kr.prototype,"autoplayControls",2),Nr([He('[part~="navigation-button--previous"]')],Kr.prototype,"previousButton",2),Nr([He('[part~="navigation-button--next"]')],Kr.prototype,"nextButton",2),Nr([Fe({type:String,reflect:!0})],Kr.prototype,"variant",2),Nr([Fe({type:Boolean,reflect:!0})],Kr.prototype,"inverted",2),Nr([Fe({type:Boolean,reflect:!0})],Kr.prototype,"loop",2),Nr([Fe({type:Boolean,reflect:!0})],Kr.prototype,"autoplay",2),Nr([Fe({type:Number,attribute:"slides-per-page"})],Kr.prototype,"slidesPerPage",2),Nr([Fe({type:Number,attribute:"slides-per-move"})],Kr.prototype,"slidesPerMove",2),Nr([He("slot:not([name])")],Kr.prototype,"defaultSlot",2),Nr([He(".carousel__slides")],Kr.prototype,"scrollContainer",2),Nr([He(".carousel__pagination")],Kr.prototype,"paginationContainer",2),Nr([Ue()],Kr.prototype,"activeSlide",2),Nr([Ue()],Kr.prototype,"currentPage",2),Nr([Ue()],Kr.prototype,"pausedAutoplay",2),Nr([mi("pausedAutoplay")],Kr.prototype,"handlePausedAutoplay",1),Nr([mi("loop",{waitUntilFirstUpdate:!0}),mi("slidesPerPage",{waitUntilFirstUpdate:!0})],Kr.prototype,"initializeSlides",1),Nr([mi("activeSlide")],Kr.prototype,"handelSlideChange",1),Nr([mi("slidesPerMove")],Kr.prototype,"handleSlidesPerMoveChange",1),Nr([mi("autoplay")],Kr.prototype,"handleAutoplayChange",1),Kr=Nr([Be("sd-carousel")],Kr);const Zr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Kr}},Symbol.toStringTag,{value:"Module"}));var Wr=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,Xr=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Yr(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Wr(e,i,s),s};let Gr=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"label"),this.size="lg",this.orientation="vertical",this.label=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){const t=this.getAllCheckboxes();await Promise.all(t.map((async t=>{await t.updateComplete,t.size=this.size}))),t.some((t=>t.checked))||(t[0].tabIndex=0)}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then((()=>this.syncCheckboxes()))}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||t,i=fe`<slot @slotchange="${this.syncCheckboxes}"></slot>`;return fe`<fieldset part="form-control" class="${Ke("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label"><label part="form-control-label" id="label" class="${Ke("mb-2 p-0 font-bold leading-normal text-black",e?"flex":"hidden")}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${Ke({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${i}</div></fieldset>`}};Gr.styles=[Ne,Xe.styles,Dt`:host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],Xr([Fe({reflect:!0})],Gr.prototype,"size",2),Xr([Fe({reflect:!0})],Gr.prototype,"orientation",2),Xr([Fe()],Gr.prototype,"label",2),Xr([mi("size",{waitUntilFirstUpdate:!0})],Gr.prototype,"handleSizeChange",1),Xr([mi("invalid",{waitUntilFirstUpdate:!0})],Gr.prototype,"handleInvalid",1),Gr=Xr([Be("sd-checkbox-group")],Gr);const Jr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Gr}},Symbol.toStringTag,{value:"Module"})),Qr=(t="value")=>(e,i)=>{const r=e.constructor,o=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(e,s,a){const n=r.getPropertyOptions(t);if(e===("string"==typeof n.attribute?n.attribute:t)){const e=n.converter||Wt,r=("function"==typeof e?e:(null==e?void 0:e.fromAttribute)??Wt.fromAttribute)(a,n.type);this[t]!==r&&(this[i]=r)}o.call(this,e,s,a)}}
86
+ */(function*(t,e,i=1){const o=void 0===e?0:t;e??(e=t);for(let t=o;i>0?t<e:e<t;t+=i)yield t}(i),(t=>{const r=t+1===o;return ye`<button part="pagination-item ${r?"pagination-item--active":""}" class="${$e("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",r?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${r?"true":"false"}" aria-label="${this.localize.term("goToSlide",t+1,i)}" @click="${()=>this.goToSlide(t*e)}" @keydown="${this.handleKeyDown}"><span class="${$e("h-4 w-4 block border hover:border-primary-500 rounded-full",this.inverted?"border-white hover:border-primary-500":"border-primary",r&&"bg-accent border-none",r?this.inverted?"hover:bg-accent-300":"hover:bg-accent-550":"")}"></span></button>`}))}</div>`:ye`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${$e("w-5 text-center border-b-2 border-accent",this.inverted?"text-white":"text-black")}">${o}</span> <span part="pagination-divider" class="${$e("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${$e("w-5 text-center",this.inverted?"text-white":"text-black")}">${i}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!s}" class="${$e("!ml-6 !rounded-sm sd-interactive ",!s&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${s?"false":"true"}" @click="${s?()=>{this.next()}:null}"><slot name="next-icon"><sd-icon class="${$e("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${a?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${$e("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" @click="${()=>this.pausedAutoplay=!this.pausedAutoplay}"><slot name="autoplay-start" class="${$e(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${$e(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-icon></slot></button></div></div>`}};Ko.styles=[Je.styles,Pt($i),Ve,Ft`:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:1 1 auto;align-items:center}`],Zo([Le('[part~="autoplay-controls"]')],Ko.prototype,"autoplayControls",2),Zo([Le('[part~="navigation-button--previous"]')],Ko.prototype,"previousButton",2),Zo([Le('[part~="navigation-button--next"]')],Ko.prototype,"nextButton",2),Zo([Ue({type:String,reflect:!0})],Ko.prototype,"variant",2),Zo([Ue({type:Boolean,reflect:!0})],Ko.prototype,"inverted",2),Zo([Ue({type:Boolean,reflect:!0})],Ko.prototype,"loop",2),Zo([Ue({type:Boolean,reflect:!0})],Ko.prototype,"autoplay",2),Zo([Ue({type:Number,attribute:"slides-per-page"})],Ko.prototype,"slidesPerPage",2),Zo([Ue({type:Number,attribute:"slides-per-move"})],Ko.prototype,"slidesPerMove",2),Zo([Le("slot:not([name])")],Ko.prototype,"defaultSlot",2),Zo([Le(".carousel__slides")],Ko.prototype,"scrollContainer",2),Zo([Le(".carousel__pagination")],Ko.prototype,"paginationContainer",2),Zo([Ge()],Ko.prototype,"activeSlide",2),Zo([Ge()],Ko.prototype,"currentPage",2),Zo([Ge()],Ko.prototype,"pausedAutoplay",2),Zo([mi("pausedAutoplay")],Ko.prototype,"handlePausedAutoplay",1),Zo([mi("loop",{waitUntilFirstUpdate:!0}),mi("slidesPerPage",{waitUntilFirstUpdate:!0})],Ko.prototype,"initializeSlides",1),Zo([mi("activeSlide")],Ko.prototype,"handelSlideChange",1),Zo([mi("slidesPerMove")],Ko.prototype,"handleSlidesPerMoveChange",1),Zo([mi("autoplay")],Ko.prototype,"handleAutoplayChange",1),Ko=Zo([Qe("sd-carousel")],Ko);const No=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ko}},Symbol.toStringTag,{value:"Module"}));var Jo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,_o=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Wo(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Jo(e,i,s),s};let Xo=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"label"),this.size="lg",this.orientation="vertical",this.label=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){const t=this.getAllCheckboxes();await Promise.all(t.map((async t=>{await t.updateComplete,t.size=this.size}))),t.some((t=>t.checked))||(t[0].tabIndex=0)}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then((()=>this.syncCheckboxes()))}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||t,i=ye`<slot @slotchange="${this.syncCheckboxes}"></slot>`;return ye`<fieldset part="form-control" class="${$e("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label"><label part="form-control-label" id="label" class="${$e("mb-2 p-0 font-bold leading-normal text-black",e?"flex":"hidden")}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${$e({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${i}</div></fieldset>`}};Xo.styles=[Ve,Je.styles,Ft`:host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],_o([Ue({reflect:!0})],Xo.prototype,"size",2),_o([Ue({reflect:!0})],Xo.prototype,"orientation",2),_o([Ue()],Xo.prototype,"label",2),_o([mi("size",{waitUntilFirstUpdate:!0})],Xo.prototype,"handleSizeChange",1),_o([mi("invalid",{waitUntilFirstUpdate:!0})],Xo.prototype,"handleInvalid",1),Xo=_o([Qe("sd-checkbox-group")],Xo);const tr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Xo}},Symbol.toStringTag,{value:"Module"})),er=(t="value")=>(e,i)=>{const o=e.constructor,r=o.prototype.attributeChangedCallback;o.prototype.attributeChangedCallback=function(e,s,a){const n=o.getPropertyOptions(t);if(e===("string"==typeof n.attribute?n.attribute:t)){const e=n.converter||Kt,o=("function"==typeof e?e:(null==e?void 0:e.fromAttribute)??Kt.fromAttribute)(a,n.type);this[t]!==o&&(this[i]=o)}r.call(this,e,s,a)}}
87
87
  /**
88
88
  * @license
89
89
  * Copyright 2020 Google LLC
90
90
  * SPDX-License-Identifier: BSD-3-Clause
91
- */,to={},eo=di(class extends hi{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===we||e===xe)return e;const i=t.element,r=t.name;if(3===t.type){if(e===i[r])return we}else if(4===t.type){if(!!e===i.hasAttribute(r))return we}else if(1===t.type&&i.getAttribute(r)===e+"")return we;return((t,e=to)=>{t._$AH=e;
91
+ */,ir={},or=di(class extends hi{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===we||e===Ae)return e;const i=t.element,o=t.name;if(3===t.type){if(e===i[o])return we}else if(4===t.type){if(!!e===i.hasAttribute(o))return we}else if(1===t.type&&i.getAttribute(o)===e+"")return we;return((t,e=ir)=>{t._$AH=e;
92
92
  /**
93
93
  * @license
94
94
  * Copyright 2020 Google LLC
95
95
  * SPDX-License-Identifier: BSD-3-Clause
96
- */})(t),e}});var io=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,oo=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ro(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&io(e,i,s),s};let so=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.title="",this.name="",this.size="lg",this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form="",this.required=!1,this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return fe`<label part="base" class="${Ke("sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${_r(this.value)}" .indeterminate="${eo(this.indeterminate)}" .checked="${eo(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${Ke("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4\n peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2\n peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[t])}">${this.checked?fe`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-icon>`:""} ${!this.checked&&this.indeterminate?fe`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-icon>`:""} </span><span part="label" id="label" class="${Ke("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};so.styles=[Xe.styles,Dt`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-width:0}:host([required]) #label::after{content:' *'}`],oo([He('input[type="checkbox"]')],so.prototype,"input",2),oo([He("#invalid-message")],so.prototype,"invalidMessage",2),oo([Fe()],so.prototype,"title",2),oo([Fe()],so.prototype,"name",2),oo([Fe()],so.prototype,"value",2),oo([Fe({reflect:!0})],so.prototype,"size",2),oo([Fe({type:Boolean,reflect:!0})],so.prototype,"disabled",2),oo([Fe({type:Boolean,reflect:!0})],so.prototype,"checked",2),oo([Fe({type:Boolean,reflect:!0})],so.prototype,"indeterminate",2),oo([Qr("checked")],so.prototype,"defaultChecked",2),oo([Fe({reflect:!0})],so.prototype,"form",2),oo([Fe({type:Boolean,reflect:!0})],so.prototype,"required",2),oo([Ue()],so.prototype,"showInvalidStyle",2),oo([mi("disabled",{waitUntilFirstUpdate:!0})],so.prototype,"handleDisabledChange",1),oo([mi(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],so.prototype,"handleStateChange",1),so=oo([Be("sd-checkbox")],so);const ao=Object.freeze(Object.defineProperty({__proto__:null,get default(){return so}},Symbol.toStringTag,{value:"Module"})),no=new Set;function lo(t){if(no.add(t),!document.body.classList.contains("sd-scroll-lock")){const t=function(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}();document.body.classList.add("sd-scroll-lock"),document.body.style.setProperty("--sd-scroll-lock-size",`${t}px`)}}function ho(t){no.delete(t),0===no.size&&(document.body.classList.remove("sd-scroll-lock"),document.body.style.removeProperty("--sd-scrollbar-width"))}function co(t,e,i="vertical",r="smooth"){const o=function(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}(t,e),s=o.top+e.scrollTop,a=o.left+e.scrollLeft,n=e.scrollLeft,l=e.scrollLeft+e.offsetWidth,d=e.scrollTop,h=e.scrollTop+e.offsetHeight;("horizontal"===i||"both"===i)&&(a<n?e.scrollTo({left:a,behavior:r}):a+t.clientWidth>l&&e.scrollTo({left:a-e.offsetWidth+t.clientWidth,behavior:r})),("vertical"===i||"both"===i)&&(s<d?e.scrollTo({top:s,behavior:r}):s+t.clientHeight>h&&e.scrollTo({top:s-e.offsetHeight+t.clientHeight,behavior:r}))}function po(t){const e=t.tagName.toLowerCase();return!("-1"===t.getAttribute("tabindex")||t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled")||"input"===e&&"radio"===t.getAttribute("type")&&!t.hasAttribute("checked")||null===t.offsetParent||"hidden"===window.getComputedStyle(t).visibility)&&(!!(("audio"===e||"video"===e)&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable"))||["button","input","select","textarea","a","audio","video","summary"].includes(e))}function uo(t){const e=[];return function t(i){i instanceof HTMLElement&&(e.push(i),null!==i.shadowRoot&&"open"===i.shadowRoot.mode&&t(i.shadowRoot)),[...i.children].forEach((e=>t(e)))}(t),{start:e.find((t=>po(t)))??null,end:e.reverse().find((t=>po(t)))??null}}let bo=[];class mo{constructor(t){this.tabDirection="forward",this.element=t,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){bo.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){bo=bo.filter((t=>t!==this.element)),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return bo[bo.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){const{start:t,end:e}=uo(this.element),i="forward"===this.tabDirection?t:e;"function"==typeof(null==i?void 0:i.focus)&&i.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(t){"Tab"===t.key&&t.shiftKey&&(this.tabDirection="backward",requestAnimationFrame((()=>this.checkFocus())))}handleKeyUp(){this.tabDirection="forward"}}var go=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,fo=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?vo(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&go(e,i,s),s};let yo=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"footer"),this.localize=new S(this),this.open=!1,this.headline="",this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new mo(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),lo(this))}disconnectedCallback(){super.disconnectedCallback(),ho(this)}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const t=Ai(this,"dialog.denyClose",{dir:this.localize.dir()});ki(this.panel,t.keyframes,t.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),lo(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([Si(this.dialog),Si(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")}));const e=Ai(this,"dialog.show",{dir:this.localize.dir()}),i=Ai(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([ki(this.panel,e.keyframes,e.options),ki(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([Si(this.dialog),Si(this.overlay)]);const t=Ai(this,"dialog.hide",{dir:this.localize.dir()}),e=Ai(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([ki(this.overlay,e.keyframes,e.options).then((()=>{this.overlay.hidden=!0})),ki(this.panel,t.keyframes,t.options).then((()=>{this.panel.hidden=!0}))]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,ho(this);const i=this.originalTrigger;"function"==typeof(null==i?void 0:i.focus)&&setTimeout((()=>i.focus())),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,Ti(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Ti(this,"sd-after-hide")}render(){return fe`<div part="base" class="${Ke("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${Ke("flex flex-col z-20 bg-white focus:outline-none py-4 sm:py-8 relative gap-6",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?fe`<h4 class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</h4>`:fe`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":fe`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${Ke("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};yo.styles=[Ne,Mt(".sd-headline,.sd-prose :is(h1,h2,h3,h4,h5){display:flex;font-weight:700;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-icon{flex-shrink:0;font-size:3rem;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}@media (min-width:640px){.sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-font-size-3xl,2rem);gap:var(--sd-spacing-4,1rem);line-height:var(--sd-line-height-tight,120%)}@media (min-width:640px){.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-headline.sd-headline sd-icon,.sd-headline:is(h1):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-headline.sd-headline sd-icon,.sd-headline:is(h1):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-font-size-2xl,1.75rem);gap:var(--sd-spacing-4,1rem);line-height:var(--sd-line-height-tight,120%)}@media (min-width:640px){.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-font-size-3xl,2rem)}}.sd-headline.sd-headline--size-3xl sd-icon,.sd-headline:is(h2):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-headline.sd-headline--size-3xl sd-icon,.sd-headline:is(h2):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline.sd-headline--size-xl,.sd-headline:is(h3,h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline){gap:var(--sd-spacing-2,.5rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.sd-headline.sd-headline--size-base sd-icon,.sd-headline.sd-headline--size-lg sd-icon,.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3,h4,h5):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline) sd-icon{font-size:2rem}.sd-headline.sd-headline--size-xl,.sd-headline:is(h3):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline){font-size:var(--sd-font-size-xl,1.5rem)}.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}@media (min-width:640px){.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline:is(h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4,h5):not(.sd-headline){line-height:var(--sd-line-height-normal,150%)}.sd-headline.sd-headline--size-lg,.sd-headline:is(h4),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4){font-size:var(--sd-font-size-lg,1.25rem)}.sd-headline.sd-headline--size-lg sd-icon,.sd-headline:is(h4) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-icon{margin-top:var(--sd-spacing-0,0)}@media (min-width:640px){.sd-headline.sd-headline--size-lg sd-icon,.sd-headline:is(h4) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-base,.sd-headline:is(h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline){font-size:var(--sd-font-size-base,1rem)}.sd-headline.sd-headline--size-base sd-icon,.sd-headline:is(h5):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}.sd-headline.sd-headline--size-base mark,.sd-headline:is(h5):not(.sd-headline) mark,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base mark,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) mark{color:inherit}.sd-headline--inline{display:inline-block}.sd-headline--inline sd-icon{margin-right:var(--sd-spacing-2,.5rem);margin-top:calc(var(--sd-spacing-1, .25rem)*-1);vertical-align:middle}.sd-headline--inline:is(.sd-headline--size-xl,.sd-headline--size-lg,.sd-headline--size-base) sd-icon{margin-right:var(--sd-spacing-0-5,.125rem)}.sd-headline--inverted:not(#\\\t),.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#\\\t){--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-headline--inverted:not(#\\\t) sd-icon,.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#\\\t) sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}"),Xe.styles,Dt`:host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=footer]{width:100%}}`],fo([He('[part="base"]')],yo.prototype,"dialog",2),fo([He('[part="panel"]')],yo.prototype,"panel",2),fo([He('[part="overlay"]')],yo.prototype,"overlay",2),fo([Fe({type:Boolean,reflect:!0})],yo.prototype,"open",2),fo([Fe({reflect:!0})],yo.prototype,"headline",2),fo([Fe({attribute:"no-close-button",type:Boolean,reflect:!0})],yo.prototype,"noCloseButton",2),fo([mi("open",{waitUntilFirstUpdate:!0})],yo.prototype,"handleOpenChange",1),yo=fo([Be("sd-dialog")],yo),Ei("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Ei("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Ei("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),Ei("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Ei("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});const wo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return yo}},Symbol.toStringTag,{value:"Module"}));var xo=Object.defineProperty,ko=Object.getOwnPropertyDescriptor,$o=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ko(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&xo(e,i,s),s};let Co=class extends Xe{constructor(){super(...arguments),this.orientation="horizontal",this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return fe`<hr part="main" class="${Ke(this.inverted?"border-primary-400":"border-neutral-400","horizontal"===this.orientation?"border-t w-full":" border-l h-full")}">`}};Co.styles=[Ne,Xe.styles,Dt`:host{margin:var(--sd-spacing-0,0)}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-divider[orientation=vertical]){display:inline-block}`],$o([Fe({reflect:!0})],Co.prototype,"orientation",2),$o([Fe({type:Boolean,reflect:!0})],Co.prototype,"inverted",2),Co=$o([Be("sd-divider")],Co);const So=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Co}},Symbol.toStringTag,{value:"Module"}));function zo(t){return t.charAt(0).toUpperCase()+t.slice(1)}var _o=Object.defineProperty,Po=Object.getOwnPropertyDescriptor,Oo=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Po(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&_o(e,i,s),s};let Eo=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"footer"),this.localize=new S(this),this.modal=new mo(this),this.open=!1,this.label="",this.placement="end",this.contained=!1,this.noHeader=!1,this.handleDocumentKeyDown=t=>{this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),lo(this)))}disconnectedCallback(){super.disconnectedCallback(),ho(this)}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const t=Ai(this,"drawer.denyClose",{dir:this.localize.dir()});ki(this.panel,t.keyframes,t.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),lo(this));const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([Si(this.drawer),Si(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")}));const e=Ai(this,`drawer.show${zo(this.placement)}`,{dir:this.localize.dir()}),i=Ai(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([ki(this.panel,e.keyframes,e.options),ki(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),ho(this)),await Promise.all([Si(this.drawer),Si(this.overlay)]);const t=Ai(this,`drawer.hide${zo(this.placement)}`,{dir:this.localize.dir()}),e=Ai(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([ki(this.overlay,e.keyframes,e.options).then((()=>{this.overlay.hidden=!0})),ki(this.panel,t.keyframes,t.options).then((()=>{this.panel.hidden=!0}))]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;const i=this.originalTrigger;"function"==typeof(null==i?void 0:i.focus)&&setTimeout((()=>i.focus())),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),lo(this)),this.open&&this.contained&&(this.modal.deactivate(),ho(this))}async show(){if(!this.open)return this.open=!0,Ti(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Ti(this,"sd-after-hide")}render(){return fe`<div part="base" class="${Ke("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}"><div part="overlay" class="${Ke("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${Ke("absolute flex flex-col z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.label}" aria-labelledby="${_r(this.noHeader?void 0:"title")}" tabindex="0">${this.noHeader?"":fe`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${Ke(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></div>`}};Eo.styles=[Xe.styles,Ne,Dt`:host{--width:25rem;display:contents}:host([contained]){z-index:initial}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],Oo([He("[part=base]")],Eo.prototype,"drawer",2),Oo([He("[part=panel]")],Eo.prototype,"panel",2),Oo([He("[part=overlay]")],Eo.prototype,"overlay",2),Oo([Fe({type:Boolean,reflect:!0})],Eo.prototype,"open",2),Oo([Fe({attribute:"label",reflect:!0})],Eo.prototype,"label",2),Oo([Fe({reflect:!0})],Eo.prototype,"placement",2),Oo([Fe({type:Boolean,reflect:!0})],Eo.prototype,"contained",2),Oo([Fe({attribute:"no-header",type:Boolean})],Eo.prototype,"noHeader",2),Oo([mi("open",{waitUntilFirstUpdate:!0})],Eo.prototype,"handleOpenChange",1),Oo([mi("contained",{waitUntilFirstUpdate:!0})],Eo.prototype,"handleNoModalChange",1),Eo=Oo([Be("sd-drawer")],Eo),Ei("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),Ei("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}}),Ei("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),Ei("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}}),Ei("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}}),Ei("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Ei("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});const Ao=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Eo}},Symbol.toStringTag,{value:"Module"}));var To=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,Mo=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Lo(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&To(e,i,s),s};let Do=class extends Xe{constructor(){super(...arguments),this.localize=new S(this),this.open=!1,this.rounded=!1,this.placement="bottom-start",this.disabled=!1,this.stayOpenOnSelect=!1,this.distance=0,this.skidding=0,this.noAutoSize=!1,this.noFlip=!1,this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}focusOnTrigger(){const t=this.trigger.assignedElements({flatten:!0})[0];"function"==typeof(null==t?void 0:t.focus)&&t.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find((t=>"sd-menu"===t.tagName.toLowerCase()))}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(t){var e;if("Tab"===t.key){if(this.open&&"sd-menu-item"===(null==(e=document.activeElement)?void 0:e.tagName.toLowerCase()))return t.preventDefault(),this.hide(),void this.focusOnTrigger();setTimeout((()=>{var t,e,i,r,o,s,a,n,l,d,h,c;const p=(null==(o=null==(r=null==(i=null==(e=null==(t=document.activeElement)?void 0:t.shadowRoot)?void 0:e.activeElement)?void 0:i.shadowRoot)?void 0:r.activeElement)?void 0:o.getRootNode())instanceof ShadowRoot?null==(l=null==(n=null==(a=null==(s=document.activeElement)?void 0:s.shadowRoot)?void 0:a.activeElement)?void 0:n.shadowRoot)?void 0:l.activeElement:(null==(d=this.containingElement)?void 0:d.getRootNode())instanceof ShadowRoot?null==(c=null==(h=document.activeElement)?void 0:h.shadowRoot)?void 0:c.activeElement:document.activeElement;(!this.containingElement||(null==p?void 0:p.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()}))}}handleDocumentMouseDown(t){const e=t.composedPath();this.containingElement&&!e.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(t){co(t.target,this.panel)}handlePanelSelect(t){const e=t.target;!this.stayOpenOnSelect&&"sd-menu"===e.tagName.toLowerCase()&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(t){if("Escape"===t.key&&this.open)return t.stopPropagation(),this.focusOnTrigger(),void this.hide();if([" ","Enter"].includes(t.key))return t.preventDefault(),void this.handleTriggerClick();const e=this.getMenu();if(e){const i=e.defaultSlot.assignedElements({flatten:!0}),r=i[0],o=i[i.length-1];["ArrowDown","ArrowUp","Home","End"].includes(t.key)&&(t.preventDefault(),this.open||this.show(),i.length>0&&requestAnimationFrame((()=>{("ArrowDown"===t.key||"Home"===t.key)&&(e.setCurrentItem(r),r.focus()),("ArrowUp"===t.key||"End"===t.key)&&(e.setCurrentItem(o),o.focus())})))}}handleTriggerKeyUp(t){" "===t.key&&t.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}updateAccessibleTrigger(){const t=this.trigger.assignedElements({flatten:!0}).find((t=>uo(t).start));let e;if(t){switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":e=t.button;break;default:e=t}e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false")}}async show(){if(!this.open)return this.open=!0,Ti(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Ti(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled)this.open=!1;else if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await Si(this),this.panel.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=Ai(this,"dropdown.show",{dir:this.localize.dir()});await ki(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await Si(this);const{keyframes:t,options:e}=Ai(this,"dropdown.hide",{dir:this.localize.dir()});await ki(this.popup.popup,t,e),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return fe`<sd-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${Ke("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};Do.styles=[Xe.styles,Ne,Dt`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],Mo([He("#dropdown")],Do.prototype,"popup",2),Mo([He("[part=trigger]")],Do.prototype,"trigger",2),Mo([He("[part=panel]")],Do.prototype,"panel",2),Mo([Fe({type:Boolean,reflect:!0})],Do.prototype,"open",2),Mo([Fe({type:Boolean,reflect:!0})],Do.prototype,"rounded",2),Mo([Fe({reflect:!0})],Do.prototype,"placement",2),Mo([Fe({type:Boolean,reflect:!0})],Do.prototype,"disabled",2),Mo([Fe({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],Do.prototype,"stayOpenOnSelect",2),Mo([Fe({attribute:!1})],Do.prototype,"containingElement",2),Mo([Fe({type:Number})],Do.prototype,"distance",2),Mo([Fe({type:Number})],Do.prototype,"skidding",2),Mo([Fe({type:Boolean,reflect:!0,attribute:"no-auto-size"})],Do.prototype,"noAutoSize",2),Mo([Fe({type:Boolean,reflect:!0,attribute:"no-flip"})],Do.prototype,"noFlip",2),Mo([Fe({type:Boolean})],Do.prototype,"hoist",2),Mo([mi("open",{waitUntilFirstUpdate:!0})],Do.prototype,"handleOpenChange",1),Do=Mo([Be("sd-dropdown")],Do),Ei("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),Ei("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});const jo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Do}},Symbol.toStringTag,{value:"Module"}));var Bo=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,Io=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Vo(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Bo(e,i,s),s};let Fo=class extends Xe{constructor(){super(...arguments),this.open=!1,this.inverted=!1,this.localize=new S(this)}updateMaxHeight(){var t;const e=null==(t=this.contentPreview)?void 0:t.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}onOpenChange(){this.open?(this.emit("sd-show"),this.updateComplete.then((()=>{this.emit("sd-after-show")}))):(this.emit("sd-hide"),this.updateComplete.then((()=>{this.emit("sd-after-hide")}))),this.details.setAttribute("open",this.open.toString())}async show(){if(!this.open)return this.onToggleClick(),Ti(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),Ti(this,"sd-after-hide")}render(){return fe`<details part="details"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details><button part="toggle" class="${Ke("sd-interactive sd-interactive--reset !h-full !justify-center !w-full !text-base !flex !items-center !underline !underline-offset-2 !toggle",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}">${this.open?fe`<slot name="toggle-open"><sd-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-icon>${this.localize.term("showLess")}</slot>`:fe`<slot name="toggle-closed"><sd-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-icon>${this.localize.term("showMore")}</slot>`}</button>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){const t=document.createElement("div");t.setAttribute("slot","clone"),Array.from(this.childNodes).forEach((e=>{const i=e.cloneNode(!0);t.appendChild(i)})),this.appendChild(t)}};Fo.styles=[Xe.styles,Mt(Ki),Ne,Dt`:host{--gradient-color-start:rgba(255, 255, 255, 0);--gradient-color-end:rgba(255, 255, 255, 1);--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(--gradient-color-start) 0%,var(--gradient-color-end) 80%,var(--gradient-color-end) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{border-style:none;padding:var(--sd-spacing-0,0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content{max-block-size:var(--max-height-pixel,1000vh)}:host(:not([open])) .content::after{position:absolute;bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);display:block;width:100%;content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient))}:host([inverted]:not([open])) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,rgba(0,53,142,0) 0,#00358e 80%,#00358e 100%))}`],Io([He(".content-preview")],Fo.prototype,"contentPreview",2),Io([He("details")],Fo.prototype,"details",2),Io([Fe({type:Boolean,reflect:!0})],Fo.prototype,"open",2),Io([Fe({type:Boolean,reflect:!0})],Fo.prototype,"inverted",2),Io([mi("open",{waitUntilFirstUpdate:!0})],Fo.prototype,"onOpenChange",1),Fo=Io([Be("sd-expandable")],Fo);const Uo=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Fo}},Symbol.toStringTag,{value:"Module"}));var Ro=Object.defineProperty,Ho=Object.getOwnPropertyDescriptor,qo=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ho(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Ro(e,i,s),s};let No=class extends Xe{constructor(){super(...arguments),this.activation="click hover",this.flipDirection="horizontal",this.frontVariant="empty",this.backVariant="empty"}connectedCallback(){super.connectedCallback()}flipFront(){this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),this.back.focus()}flipBack(){this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),this.front.focus()}handleFrontClick(t){const e=t.target;null===e.getAttribute("onclick")&&null===e.getAttribute("href")&&this.flipFront()}handleBackClick(t){const e=t.target;null===e.getAttribute("onclick")&&null===e.getAttribute("href")&&this.flipBack()}handleFrontKeydown(t){"Enter"===t.code&&this.front===t.target&&this.flipFront()}handleBackKeydown(t){"Enter"===t.code&&this.back===t.target&&this.flipBack()}render(){return fe`<div part="base" class="${Ke("flip-card relative h-full w-full")}"><div part="front" tabindex="0" class="${Ke("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left","click hover"===this.activation&&"hover","primary"===this.frontVariant&&"bg-primary","primary-100"===this.frontVariant&&"bg-primary-100","gradient-dark-bottom"===this.frontVariant||"gradient-light-bottom"===this.frontVariant?"flex-col-reverse":"flex-col","vertical"===this.flipDirection&&"vertical")}" @click="${this.handleFrontClick}" @keydown="${this.handleFrontKeydown}"><div part="media-front" class="${Ke("absolute h-full w-full -z-20",("primary"===this.frontVariant||"primary-100"===this.frontVariant)&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${Ke("flex",{empty:"text-black",primary:"text-white","primary-100":"text-black","gradient-light-top":"text-black","gradient-light-bottom":"text-black","gradient-dark-top":"text-white","gradient-dark-bottom":"text-white"}[this.frontVariant],{empty:"",primary:"","primary-100":"","gradient-light-top":"bg-gradient-to-b from-white/75 to-white/60","gradient-light-bottom":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark-top":"bg-gradient-to-b from-primary-800/75 to-primary-800/60","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"><slot name="front"></slot></div><div part="front-secondary-gradient" class="${Ke("flip-card__gradient",{empty:"mb-auto",primary:"mb-auto","primary-100":"mb-auto","gradient-light-top":"bg-gradient-to-b from-white/60 to-40% mb-auto","gradient-light-bottom":"bg-gradient-to-t from-white/60 to-40% mt-auto","gradient-dark-top":"bg-gradient-to-b from-primary-800/60 to-40% mb-auto","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/60 to-40% mt-auto"}[this.frontVariant])}"></div></div><div part="back" tabindex="0" class="${Ke("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left","click hover"===this.activation&&"hover","primary"===this.backVariant&&"bg-primary","primary-100"===this.backVariant&&"bg-primary-100","gradient-dark-bottom"===this.backVariant||"gradient-light-bottom"===this.backVariant?"flex-col-reverse":"flex-col","vertical"===this.flipDirection&&"vertical")}" @click="${this.handleBackClick}" @keydown="${this.handleBackKeydown}"><div part="media-back" class="${Ke("absolute h-full w-full -z-20",("primary"===this.backVariant||"primary-100"===this.backVariant)&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${Ke("flex",{empty:"text-black",primary:"text-white","primary-100":"text-black","gradient-light-top":"text-black","gradient-light-bottom":"text-black","gradient-dark-top":"text-white","gradient-dark-bottom":"text-white"}[this.backVariant],{empty:"",primary:"","primary-100":"","gradient-light-top":"bg-gradient-to-b from-white/75 to-white/60","gradient-light-bottom":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark-top":"bg-gradient-to-b from-primary-800/75 to-primary-800/60","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${Ke("flip-card__gradient",{empty:"mb-auto",primary:"mb-auto","primary-100":"mb-auto","gradient-light-top":"bg-gradient-to-b from-white/60 to-40% mb-auto","gradient-light-bottom":"bg-gradient-to-t from-white/60 to-40% mt-auto","gradient-dark-top":"bg-gradient-to-b from-primary-800/60 to-40% mb-auto","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/60 to-40% mt-auto"}[this.backVariant])}"></div></div></div>`}};No.styles=[Ne,Xe.styles,Dt`:host{display:block;aspect-ratio:3/4;--name:'';--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.4 1 0}@media (hover:hover) and (pointer:fine){.flip-card:hover .flip-card__side--front.hover{transform:rotateY(-180deg)}.flip-card:hover .flip-card__side--back.hover{transform:rotateY(0)}.flip-card:hover .flip-card__side--front.hover.vertical{transform:rotateX(-180deg)}.flip-card:hover .flip-card__side--back.hover.vertical{transform:rotateX(0)}}`],qo([He('[part="front"]')],No.prototype,"front",2),qo([He('[part="back"]')],No.prototype,"back",2),qo([Fe({reflect:!0})],No.prototype,"activation",2),qo([Fe({reflect:!0,attribute:"flip-direction"})],No.prototype,"flipDirection",2),qo([Fe({type:String,reflect:!0,attribute:"front-variant"})],No.prototype,"frontVariant",2),qo([Fe({type:String,reflect:!0,attribute:"back-variant"})],No.prototype,"backVariant",2),No=qo([Be("sd-flipcard")],No);const Ko=Object.freeze(Object.defineProperty({__proto__:null,get default(){return No}},Symbol.toStringTag,{value:"Module"}));var Zo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,Yo=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Wo(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Zo(e,i,s),s};let Xo=class extends Xe{constructor(){super(...arguments),this.fixed=!1}connectedCallback(){super.connectedCallback(),this.setCalculatedHeightProperty=this.setCalculatedHeightProperty.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this)}firstUpdated(){this.toggleHeightCalculation()}toggleHeightCalculation(){var t;this.fixed?(this.setCalculatedHeightProperty(),this.addResizeObserver()):(this.setCalculatedHeightProperty(),null==(t=this.resizeObserver)||t.disconnect(),this.resizeObserver=void 0)}disconnectedCallback(){super.disconnectedCallback()}updated(t){super.updated(t),t.has("fixed")&&this.toggleHeightCalculation()}onResize(){this.fixed&&this.setCalculatedHeightProperty()}addResizeObserver(){this.resizeObserver=new ResizeObserver((()=>{this.onResize()})),this.refHeaderElement&&this.resizeObserver.observe(this.refHeaderElement)}setCalculatedHeightProperty(){this.fixed&&this.refHeaderElement?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.refHeaderElement.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return fe`<header class="w-full bg-white relative" role="banner" @slotchange="${this.handleSlotChange}"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}handleSlotChange(t){t.target.assignedElements().length>0&&(this.refHeaderElement=t.currentTarget,this.setCalculatedHeightProperty())}};Xo.styles=[Xe.styles,Ne,Dt`:host{display:block}:host([fixed]){position:fixed;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);width:100%}:host([fixed]) header::after{content:'';position:absolute;left:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);top:100%;height:var(--sd-spacing-2,.5rem);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}`],Yo([Fe({reflect:!0,type:Boolean})],Xo.prototype,"fixed",2),Yo([Vr(100)],Xo.prototype,"onResize",1),Xo=Yo([Be("sd-header")],Xo);const Go=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Xo}},Symbol.toStringTag,{value:"Module"}));var Jo=Object.defineProperty,Qo=Object.getOwnPropertyDescriptor,ts=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Qo(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Jo(e,i,s),s};let es=class extends Xe{constructor(){super(...arguments),this.mode="cors",this.allowScripts=!1}executeScript(t){const e=document.createElement("script");[...t.attributes].forEach((t=>e.setAttribute(t.name,t.value))),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}async handleSrcChange(){try{const t=this.src,e=await oi(t,this.mode);if(t!==this.src)return;if(!e.ok)return void this.emit("sd-error",{detail:{status:e.status}});this.innerHTML=e.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach((t=>this.executeScript(t))),this.emit("sd-load")}catch{this.emit("sd-error",{detail:{status:-1}})}}render(){return fe`<slot></slot>`}};es.styles=[Ne,Dt`:host{display:block}`],ts([Fe()],es.prototype,"src",2),ts([Fe()],es.prototype,"mode",2),ts([Fe({attribute:"allow-scripts",type:Boolean})],es.prototype,"allowScripts",2),ts([mi("src")],es.prototype,"handleSrcChange",1),es=ts([Be("sd-include")],es);const is=Object.freeze(Object.defineProperty({__proto__:null,get default(){return es}},Symbol.toStringTag,{value:"Module"}));var rs=Object.defineProperty,os=Object.getOwnPropertyDescriptor,ss=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?os(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&rs(e,i,s),s};const as=!(null==(i=navigator.userAgentData)?void 0:i.brands.some((t=>t.brand.includes("Chromium"))))&&navigator.userAgent.includes("Firefox");let ns=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this),this.hasSlotController=new Hi(this,"help-text","label","left","right","message","placeholder"),this.localize=new S(this),this.hasFocus=!1,this.showValidStyle=!1,this.showInvalidStyle=!1,this.type="text",this.size="lg",this.value="",this.defaultValue="",this.placeholder="",this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.name="",this.title="",this.required=!1,this.styleOnValid=!1,this.spellcheck=!0}get valueAsDate(){var t;return(null==(t=this.input)?void 0:t.valueAsDate)??null}set valueAsDate(t){const e=document.createElement("input");e.type="date",e.valueAsDate=t,this.value=e.value}get valueAsNumber(){var t;return(null==(t=this.input)?void 0:t.valueAsNumber)??parseFloat(this.value)}set valueAsNumber(t){const e=document.createElement("input");e.type="number",e.valueAsNumber=t,this.value=e.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(t){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;"Enter"===t.key&&!e&&setTimeout((()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()}))}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,i="none"){this.input.setSelectionRange(t,e,i)}setRangeText(t,e,i,r){this.input.setRangeText(t,e,i,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var t;return null==(t=this.input)?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),i=(this.hasSlotController.test("description"),this.hasSlotController.test("left")),r=this.hasSlotController.test("right"),o=!!this.label||!!t,s=!!this.helpText||!!e,a=this.clearable&&!this.readonly&&("number"==typeof this.value||this.value.length>0),n=this.disabled?"disabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",l="sm"===this.size?"text-sm":"text-base",d={disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[n],h=this.disabled?"text-neutral-500":"text-primary",c={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],p={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return fe`<div part="form-control" class="${Ke(this.disabled&&"pointer-events-none")}"><label part="form-control-label" id="label" class="${Ke("mb-2",o?"inline-block":"hidden",l)}" for="input" aria-hidden="${o?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="relative w-full"><div part="border" class="${Ke("absolute w-full h-full pointer-events-none border rounded-default",d)}"></div><div part="base" class="${Ke("px-4 flex flex-row items-center rounded-default transition-all","lg"===this.size?"py-2":"py-1",this.disabled||this.readonly?"":"hover:bg-neutral-200",this.readonly?"bg-neutral-100":"bg-white","disabled"===n?"text-neutral-500":"text-black")}">${i?fe`<slot name="left" part="left" class="${Ke("inline-flex","sm"===this.size?"mr-1":"mr-2",h,p)}"></slot>`:""} <input part="input" id="input" class="${Ke("min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700","sm"===this.size?"h-6":"h-8",l)}" type="${"password"===this.type&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${_r(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${_r(this.placeholder)}" minlength="${_r(this.minlength)}" maxlength="${_r(this.maxlength)}" min="${_r(this.min)}" max="${_r(this.max)}" step="${_r(this.step)}" .value="${eo(this.value)}" autocapitalize="${_r("password"===this.type?"off":this.autocapitalize)}" autocomplete="${_r("password"===this.type?"off":this.autocomplete)}" autocorrect="${_r("password"===this.type?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${_r(this.pattern)}" enterkeyhint="${_r(this.enterkeyhint)}" inputmode="${_r(this.inputmode)}" aria-describedby="help-text" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${a?fe`<button part="clear-button" class="${Ke("flex justify-center ",c)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${Ke("icon-fill-neutral-800",p)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&"password"===this.type?fe`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible?fe`<slot name="show-password-icon"><sd-icon class="${Ke(h,c,p)}" library="system" name="eye"></sd-icon></slot>`:fe`<slot name="hide-password-icon"><sd-icon class="${Ke(h,c,p)}" library="system" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${"date"!==this.type&&"datetime-local"!==this.type||as?"":fe`<sd-icon class="${Ke(h,c,p)}" library="system" name="calendar"></sd-icon>`} ${"time"===this.type?fe`<sd-icon class="${Ke(h,c,p)}" library="system" name="clock"></sd-icon>`:""} ${"search"===this.type?fe`<button class="flex items-center" type="button" tabindex="-1"><sd-icon class="${Ke(h,c,p)}" library="system" name="magnifying-glass"></sd-icon></button>`:""} ${this.showInvalidStyle?fe`<sd-icon part="invalid-icon" class="${Ke("text-error",c,p)}" library="system" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?fe`<sd-icon class="${Ke("text-success flex-shrink-0",c,p)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""} ${r?fe`<slot name="right" part="right" class="${Ke("inline-flex",h,c,p)}"></slot>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${Ke("text-sm text-neutral-700",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};ns.styles=[Ne,Xe.styles,Dt`:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}`],ss([He("#input")],ns.prototype,"input",2),ss([He("#invalid-message")],ns.prototype,"invalidMessage",2),ss([Ue()],ns.prototype,"hasFocus",2),ss([Ue()],ns.prototype,"showValidStyle",2),ss([Ue()],ns.prototype,"showInvalidStyle",2),ss([Fe({reflect:!0})],ns.prototype,"type",2),ss([Fe({reflect:!0})],ns.prototype,"size",2),ss([Fe()],ns.prototype,"inputmode",2),ss([Fe()],ns.prototype,"value",2),ss([Qr()],ns.prototype,"defaultValue",2),ss([Fe()],ns.prototype,"placeholder",2),ss([Fe()],ns.prototype,"label",2),ss([Fe({attribute:"help-text"})],ns.prototype,"helpText",2),ss([Fe({type:Boolean})],ns.prototype,"clearable",2),ss([Fe({type:Boolean,reflect:!0})],ns.prototype,"disabled",2),ss([Fe({type:Boolean,reflect:!0})],ns.prototype,"readonly",2),ss([Fe({attribute:"password-toggle",type:Boolean})],ns.prototype,"passwordToggle",2),ss([Fe({attribute:"password-visible",type:Boolean})],ns.prototype,"passwordVisible",2),ss([Fe({attribute:"no-spin-buttons",type:Boolean})],ns.prototype,"noSpinButtons",2),ss([Fe({type:Number})],ns.prototype,"minlength",2),ss([Fe({type:Number})],ns.prototype,"maxlength",2),ss([Fe()],ns.prototype,"min",2),ss([Fe()],ns.prototype,"max",2),ss([Fe({reflect:!0})],ns.prototype,"form",2),ss([Fe()],ns.prototype,"name",2),ss([Fe()],ns.prototype,"title",2),ss([Fe({type:Boolean,reflect:!0})],ns.prototype,"required",2),ss([Fe()],ns.prototype,"pattern",2),ss([Fe()],ns.prototype,"step",2),ss([Fe()],ns.prototype,"autocapitalize",2),ss([Fe()],ns.prototype,"autocorrect",2),ss([Fe()],ns.prototype,"autocomplete",2),ss([Fe({type:Boolean})],ns.prototype,"autofocus",2),ss([Fe()],ns.prototype,"enterkeyhint",2),ss([Fe({type:Boolean,reflect:!0,attribute:"style-on-valid"})],ns.prototype,"styleOnValid",2),ss([Fe({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],ns.prototype,"spellcheck",2),ss([mi("disabled",{waitUntilFirstUpdate:!0})],ns.prototype,"handleDisabledChange",1),ss([mi("step",{waitUntilFirstUpdate:!0})],ns.prototype,"handleStepChange",1),ss([mi("value",{waitUntilFirstUpdate:!0})],ns.prototype,"handleValueChange",1),ns=ss([Be("sd-input")],ns);const ls=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ns}},Symbol.toStringTag,{value:"Module"}));var ds=Object.defineProperty,hs=Object.getOwnPropertyDescriptor,cs=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?hs(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&ds(e,i,s),s};let ps=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"[default]","icon-left","icon-right"),this.standalone=!1,this.size="inherit",this.inverted=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return fe`<a part="base" class="${Ke("inline",this.href?"cursor-pointer":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline"}[this.href?"enabled":"disabled"],this.standalone&&"flex items-start")}" href="${_r(this.href||void 0)}" target="${_r(this.target||void 0)}" download="${_r(this.download)}" rel="${_r(this.target?"noreferrer noopener":void 0)}" aria-disabled="${this.href?"false":"true"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"><slot name="icon-left" part="icon-left" class="${Ke("inline",t["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${Ke("inline",t["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};ps.styles=[Xe.styles,Dt`::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:var(--sd-font-size-xl,1.5rem)}`],cs([He("a")],ps.prototype,"button",2),cs([Fe({type:Boolean,reflect:!0})],ps.prototype,"standalone",2),cs([Fe({reflect:!0})],ps.prototype,"size",2),cs([Fe({type:Boolean,reflect:!0})],ps.prototype,"inverted",2),cs([Fe()],ps.prototype,"href",2),cs([Fe()],ps.prototype,"target",2),cs([Fe()],ps.prototype,"download",2),ps=cs([Be("sd-link")],ps);const us=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ps}},Symbol.toStringTag,{value:"Module"}));var bs=Object.defineProperty,ms=Object.getOwnPropertyDescriptor,gs=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ms(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&bs(e,i,s),s};let vs=class extends Xe{constructor(){super(...arguments),this.variant="main",this.state="default",this.animated=!1,this.marker={cluster:ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="25" opacity="1" r="20"/><circle cx="25" cy="25" opacity=".3" r="25"/></svg>`,main:ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75"><path d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z"/><circle cx="30" cy="28" r="10" fill="#fff"/></svg>`,place:ye`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75"><path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd"/></svg>`}}render(){return fe`<div part="base" tabindex="0" class="flex justify-center focus:outline-primary focus:outline-offset-2"><div part="marker" class="${Ke("inline-flex",this.animated&&("main"===this.variant||"place"===this.variant)&&"animate-bounce-once","cluster"===this.variant&&"hover"===this.state&&"scale-110 fill-primary-500","main"===this.variant&&"hover"===this.state&&"fill-accent-550","main"===this.variant&&"active"===this.state&&"fill-accent-700","place"===this.variant&&"default"===this.state&&"fill-white","place"===this.variant&&"hover"===this.state&&"fill-primary-100","place"===this.variant&&"active"===this.state&&"fill-primary-200",{cluster:"fill-primary transition-all duration-200 ease-in-out hover:scale-110 hover:fill-primary-500",main:"fill-accent *:drop-shadow-md hover:fill-accent-550 active:fill-accent-700",place:"hover:fill-primary-100 *:drop-shadow-md"}[this.variant])}">${this.marker[this.variant]}</div><div part="content" class="${Ke("absolute self-center pointer-events-none","cluster"===this.variant&&"text-white")}"><slot></slot></div></div>`}};vs.styles=[Ne,Xe.styles,Dt`:host{display:block}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}`],gs([Fe({reflect:!0})],vs.prototype,"variant",2),gs([Fe({reflect:!0})],vs.prototype,"state",2),gs([Fe({type:Boolean,reflect:!0})],vs.prototype,"animated",2),vs=gs([Be("sd-map-marker")],vs);const fs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return vs}},Symbol.toStringTag,{value:"Module"}));var ys=Object.defineProperty,ws=Object.getOwnPropertyDescriptor,xs=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ws(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&ys(e,i,s),s};let ks=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"[default]","description","children"),this.vertical=!1,this.size="base",this.current=!1,this.disabled=!1,this.chevron=!1,this.relaxed=!1,this.divider=!1,this.indented=!1,this.open=!1,this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.href&&this.hasSlotController.test("children")}handleClickButton(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}handleClickSummary(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.isAccordion&&!this.isLink?$r`summary`:this.separated?$r`div`:this.isLink?$r`a`:$r`button`}render(){const t=this.tag,e=this.isLink,i=this.isButton,r=this.isAccordion,o=(this.hasSlotController.test("[default]"),this.hasSlotController.test("main"),this.hasSlotController.test("description")),s=this.hasSlotController.test("children"),a=this.vertical?"pb-3":"pb-2",n=Sr`<${t} part="base" class="${Ke("cursor-pointer relative focus-visible:focus-outline",{base:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",r?"flex flex-col":"inline-block w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-all min-h-[48px] px-4")}" aria-controls="${_r(r?"navigation-item-details":void 0)}" aria-current="${_r(this.current?"page":void 0)}" aria-disabled="${this.disabled}" ?disabled="${_r(i?this.disabled:void 0)}" href="${_r(e?this.href:void 0)}" target="${_r(e?this.target:void 0)}" download="${_r(e?this.download:void 0)}" rel="${_r(e&&this.target?"noreferrer noopener":void 0)}" role="${e?"link":"button"}" tabindex="${this.disabled||this.separated?"-1":"0"}" @click="${this.separated?void 0:r?this.handleClickSummary:i?this.handleClickButton:void 0}"><div part="current-indicator" class="${Ke("absolute left-0 pointer-events-none transition-all duration-150",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-full bottom-0",this.current?"bg-accent":"bg-transparent",this.disabled&&"bg-neutral-500")}"></div><span part="content-area" class="${Ke("relative pt-3 inline-flex justify-between items-center",r?"grow":"w-full",o||this.separated?"pb-1":a,this.calculatePaddingX)}">${this.divider&&this.vertical?Sr`<sd-divider part="divider" class="${Ke("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated?Sr`<a class="${Ke("mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-all min-h-[48px]",!o&&"py-4")}" href="${_r(e?this.href:void 0)}" target="${_r(e?this.target:void 0)}" download="${_r(e?this.download:void 0)}"><slot part="content" class="inline"></slot></a>`:Sr`<slot part="content" class="inline"></slot>`} </span>${(this.chevron||s)&&this.vertical?this.separated?Sr`<button type="button" title="chevron-down-button" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${Ke("mr-4 h-6 w-6 transition-all",r||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:Sr`<sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${Ke("h-6 w-6 ml-2 transition-all",r?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${o&&this.vertical?Sr`<slot name="description" part="description" class="${Ke("inline-block text-sm text-left text-black",r||this.separated?"grow":"w-full",this.separated?"px-4":this.calculatePaddingX,a)}"></slot>`:""}</${t}>`;return r?Sr`<details part="details" id="navigation-item-details" ?open="${this.open}" class="relative flex">${n}<slot name="children"></slot></details>`:this.separated?Sr`<div part="details" id="navigation-item-details" class="relative flex flex-col">${n}${this.open?Sr`<slot name="children"></slot>`:""}</div>`:Sr`${n}`}};ks.styles=[Ne,Xe.styles,Mt(Ki),Dt`:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}`],xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"vertical",2),xs([Fe({reflect:!0})],ks.prototype,"size",2),xs([Fe({reflect:!0})],ks.prototype,"href",2),xs([Fe()],ks.prototype,"target",2),xs([Fe()],ks.prototype,"download",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"current",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"disabled",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"chevron",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"relaxed",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"divider",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"indented",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"open",2),xs([Fe({type:Boolean,reflect:!0})],ks.prototype,"separated",2),ks=xs([Be("sd-navigation-item")],ks);const $s=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ks}},Symbol.toStringTag,{value:"Module"}));var Cs=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,zs=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ss(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Cs(e,i,s),s};const _s=Object.assign(document.createElement("div"),{className:"sd-toast-stack sd-toast-stack--top-right"}),Ps=Object.assign(document.createElement("div"),{className:"sd-toast-stack sd-toast-stack--bottom-center"});let Os=class extends Xe{constructor(){super(...arguments),this.localize=new S(this),this.variant="info",this.open=!1,this.closable=!1,this.duration=1/0,this.durationIndicator=!1,this.toastStack="top-right",this.remainingDuration=this.duration,this.startTime=Date.now()}firstUpdated(){this.base.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout((()=>this.hide()),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout((()=>{this.hide()}),this.remainingDuration))}handleCloseClick(){this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Si(this.base),this.base.hidden=!1;const{keyframes:t,options:e}=Ai(this,"notification.show",{dir:this.localize.dir()});await ki(this.base,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Si(this.base);const{keyframes:t,options:e}=Ai(this,"notification.hide",{dir:this.localize.dir()});await ki(this.base,t,e),this.base.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,Ti(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Ti(this,"sd-after-hide")}async toast(){return new Promise((t=>{const e="bottom-center"===this.toastStack?Ps:_s;null===e.parentElement&&document.body.append(e),e.appendChild(this),requestAnimationFrame((()=>{this.clientWidth,this.show()})),this.addEventListener("sd-after-hide",(()=>{e.removeChild(this),t(),null===e.querySelector("sd-notification")&&e.remove()}),{once:!0})}))}render(){return fe`<div part="base" class="${Ke("w-full overflow-hidden flex items-stretch relative m-2")}" role="alert" id="notification" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}"><slot name="icon" part="icon" class="${Ke("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="system" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${Ke("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400")}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable?fe`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?fe`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${Ke("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute bg-neutral-400"></div>`:""}</div>`}};Os.styles=[Ne,Xe.styles,Dt`:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],zs([He('[part~="base"]')],Os.prototype,"base",2),zs([Fe({reflect:!0})],Os.prototype,"variant",2),zs([Fe({type:Boolean,reflect:!0})],Os.prototype,"open",2),zs([Fe({type:Boolean,reflect:!0})],Os.prototype,"closable",2),zs([Fe({type:Number})],Os.prototype,"duration",2),zs([Fe({type:Boolean,reflect:!0,attribute:"duration-indicator"})],Os.prototype,"durationIndicator",2),zs([Fe({reflect:!0,attribute:"toast-stack"})],Os.prototype,"toastStack",2),zs([mi("open",{waitUntilFirstUpdate:!0})],Os.prototype,"handleOpenChange",1),zs([mi("duration")],Os.prototype,"handleDurationChange",1),Os=zs([Be("sd-notification")],Os),Ei("notification.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Ei("notification.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});const Es=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Os}},Symbol.toStringTag,{value:"Module"}));var As=Object.defineProperty,Ts=Object.getOwnPropertyDescriptor,Ls=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ts(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&As(e,i,s),s};let Ms=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"default","left","right"),this.current=!1,this.selected=!1,this.hasHover=!1,this.size="lg",this.checkbox=!1,this.disabled=!1,this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){const t=this.getTextLabel();typeof this.cachedTextLabel>"u"?this.cachedTextLabel=t:t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){return(this.textContent??"").trim()}render(){this.hasSlotController.test("default");const t=this.hasSlotController.test("left"),e=this.hasSlotController.test("right");return fe`<div part="base" class="${Ke("px-4 flex items-center w-full transition-all text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${Ke("absolute w-full left-0 top-0 pointer-events-none transition-all duration-150 border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?fe`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${Ke("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"border-neutral-800")}">${this.selected?fe`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-icon>`:""}</span>`:""} ${t?fe`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${e?fe`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};Ms.styles=[Ne,Xe.styles,Dt`:host{position:relative;display:block;width:100%;outline:2px solid transparent!important;outline-offset:2px!important}`],Ls([He('[part="base"]')],Ms.prototype,"defaultSlot",2),Ls([Ue()],Ms.prototype,"current",2),Ls([Ue()],Ms.prototype,"selected",2),Ls([Ue()],Ms.prototype,"hasHover",2),Ls([Fe({reflect:!0})],Ms.prototype,"size",2),Ls([Fe({type:Boolean,reflect:!0})],Ms.prototype,"checkbox",2),Ls([Fe({type:Boolean,reflect:!0})],Ms.prototype,"disabled",2),Ls([Fe({reflect:!0})],Ms.prototype,"value",2),Ls([mi("disabled")],Ms.prototype,"handleDisabledChange",1),Ls([mi("selected")],Ms.prototype,"handleSelectedChange",1),Ls([mi("value")],Ms.prototype,"handleValueChange",1),Ms=Ls([Be("sd-option")],Ms);const Ds=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ms}},Symbol.toStringTag,{value:"Module"}));var js=Object.defineProperty,Bs=Object.getOwnPropertyDescriptor,Vs=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Bs(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&js(e,i,s),s};let Is=class extends ji{constructor(){super(...arguments),this.expandable=!1}render(){return fe`<div part="base" class="sm:p-6"><header part="header" id="header" class="${Ke("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${_r(this.expandable?"button":void 0)}" aria-expanded="${_r(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${_r(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${Ke("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${Ke("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${Ke("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-all ease-in-out duration-300 text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${Ke(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${Ke(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="${Ke("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></div>`}};Is.styles=[ji.styles,Dt`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],Vs([Fe({type:Boolean,reflect:!0})],Is.prototype,"expandable",2),Is=Vs([Be("sd-quickfact")],Is),Ei("quickfact.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),Ei("quickfact.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});const Fs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Is}},Symbol.toStringTag,{value:"Module"}));var Us=Object.defineProperty,Rs=Object.getOwnPropertyDescriptor,Hs=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Rs(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Us(e,i,s),s};let qs=class extends Xe{constructor(){super(...arguments),this.hasSlotController=new Hi(this,"[default]","icon"),this.hasFocus=!1,this.size="lg",this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.input.focus(t)}blur(){this.input.blur()}render(){const t=this.hasSlotController.test("[default]"),e=this.hasSlotController.test("icon"),i=`${this.size}-${t?"label":"no-label"}`;return fe`<div part="base" role="presentation" class="relative"><button part="${"button"+(this.checked?" button--checked":"")}" role="radio" aria-checked="${this.checked}" class="${Ke("relative text-center border rounded-default transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline","sm"===this.size?"text-sm":"text-base",this.checked&&!this.disabled?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500":this.disabled&&!this.checked?"border-neutral-500 text-neutral-500 hover:cursor-not-allowed":this.disabled&&this.checked?"bg-neutral-500 border-neutral-500 text-white hover:cursor-not-allowed":"bg-transparent text-primary border-primary hover:bg-primary-100 hover:border-primary-500 hover:text-primary-500 cursor-pointer",t&&"px-4",this.hasFocus&&"focused-class",t&&"button--has-label",e&&"button--has-icon flex gap-2",i)}" aria-disabled="${this.disabled}" type="button" value="${_r(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${Ke(e&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!e}"></slot>${t?fe`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};qs.styles=[Xe.styles,Ne,Dt`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:var(--sd-spacing-0,0);z-index:-10;opacity:var(--sd-opacity-0,0);outline-style:dotted;outline-width:1px;outline-color:rgb(var(--sd-color-error,204 25 55) / 1)}.lg-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem)}.md-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{height:var(--sd-spacing-10,2.5rem);width:var(--sd-spacing-10,2.5rem)}.sm-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}:host(.sd-button-group__button--first:not(.sd-button-group__button--last)) button{border-top-right-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button--last:not(.sd-button-group__button--first)) button{border-top-left-radius:var(--sd-border-radius-none,0);border-bottom-left-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:-1px}:host(.sd-button-group__button--hover){z-index:10}:host(.sd-button-group__button--focus),:host(.sd-button-group__button[checked]){z-index:20}`],Hs([He(".button")],qs.prototype,"input",2),Hs([He(".hidden-input")],qs.prototype,"hiddenInput",2),Hs([Ue()],qs.prototype,"hasFocus",2),Hs([Fe({reflect:!0})],qs.prototype,"size",2),Hs([Fe({type:Boolean,reflect:!0})],qs.prototype,"disabled",2),Hs([Fe({type:Boolean,reflect:!0})],qs.prototype,"checked",2),Hs([Fe()],qs.prototype,"value",2),Hs([mi("disabled",{waitUntilFirstUpdate:!0})],qs.prototype,"handleDisabledChange",1),qs=Hs([Be("sd-radio-button")],qs);const Ns=Object.freeze(Object.defineProperty({__proto__:null,get default(){return qs}},Symbol.toStringTag,{value:"Module"})),Ks=Dt`${Ne}:host{display:inline-block}.button-group{display:flex;flex-wrap:nowrap}`;var Zs=Object.defineProperty,Ws=Object.getOwnPropertyDescriptor,Ys=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ws(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Zs(e,i,s),s};let Xs=class extends Xe{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=Gs(t.target);null==e||e.classList.add("sd-button-group__button--focus")}handleBlur(t){const e=Gs(t.target);null==e||e.classList.remove("sd-button-group__button--focus")}handleMouseOver(t){const e=Gs(t.target);null==e||e.classList.add("sd-button-group__button--hover")}handleMouseOut(t){const e=Gs(t.target);null==e||e.classList.remove("sd-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach((e=>{const i=t.indexOf(e),r=Gs(e);null!==r&&(r.classList.add("sd-button-group__button"),r.classList.toggle("sd-button-group__button--first",0===i),r.classList.toggle("sd-button-group__button--inner",i>0&&i<t.length-1),r.classList.toggle("sd-button-group__button--last",i===t.length-1),r.classList.toggle("sd-button-group__button--radio","sd-radio-button"===r.tagName.toLowerCase()))}))}render(){return fe`<slot part="base" class="button-group" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};function Gs(t){const e="sd-button, sd-radio-button";return t.closest(e)??t.querySelector(e)}Xs.styles=Ks,Ys([He("slot")],Xs.prototype,"defaultSlot",2),Ys([Ue()],Xs.prototype,"disableRole",2),Ys([Fe()],Xs.prototype,"label",2),Xs=Ys([Be("sd-button-group")],Xs);var Js=Object.defineProperty,Qs=Object.getOwnPropertyDescriptor,ta=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Qs(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Js(e,i,s),s};let ea=class extends Xe{constructor(){super(...arguments),this.checked=!1,this.hasFocus=!1,this.size="lg",this.disabled=!1,this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){this.disabled||(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return fe`<span part="base" class="${Ke("sd-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",this.disabled&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${this.checked?"control--checked":"control--unchecked"}" class="${Ke("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4",this.disabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}">${this.checked?fe`<span part="checked" class="${Ke("rounded-full inline-flex text-white border bg-accent h-2.5 w-2.5",this.disabled?"bg-neutral-500":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span>`:""}</span><slot part="label" class="${Ke("ml-2 select-none inline-block",this.disabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};ea.styles=[Xe.styles,Dt`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:rgb(var(--sd-color-primary,0 53 142) / 1)}`],ta([Ue()],ea.prototype,"checked",2),ta([Ue()],ea.prototype,"hasFocus",2),ta([Fe({reflect:!0})],ea.prototype,"size",2),ta([Fe({type:Boolean,reflect:!0})],ea.prototype,"disabled",2),ta([Fe()],ea.prototype,"value",2),ta([Fe({type:Boolean,reflect:!0})],ea.prototype,"invalid",2),ta([mi("checked")],ea.prototype,"handleCheckedChange",1),ta([mi("disabled",{waitUntilFirstUpdate:!0})],ea.prototype,"handleDisabledChange",1),ea=ta([Be("sd-radio")],ea);const ia=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ea}},Symbol.toStringTag,{value:"Module"}));var ra=Object.defineProperty,oa=Object.getOwnPropertyDescriptor,sa=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?oa(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&ra(e,i,s),s};let aa=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this),this.hasSlotController=new Hi(this,"label","error-text"),this.customValidityMessage="",this.hasButtonGroup=!1,this.defaultValue="",this.showInvalidStyle=!1,this.size="lg",this.required=!1,this.orientation="vertical",this.label="",this.boldLabel=!1,this.name="option",this.value="",this.form=""}get validity(){const t=this.required&&!this.value;return""!==this.customValidityMessage?wr:t?yr:fr}get validationMessage(){const t=this.required&&!this.value;return""!==this.customValidityMessage?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){const e=t.target.closest("sd-radio, sd-radio-button"),i=this.getAllRadios(),r=this.value;e.disabled||(this.value=e.value,i.forEach((t=>t.checked=t===e)),this.value!==r&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const e=this.getAllRadios().filter((t=>!t.disabled)),i=e.find((t=>t.checked))??e[0],r=" "===t.key?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,o=this.value;let s=e.indexOf(i)+r;s<0&&(s=e.length-1),s>e.length-1&&(s=0),this.getAllRadios().forEach((t=>{t.checked=!1,this.hasButtonGroup||(t.tabIndex=-1)})),this.value=e[s].value,e[s].checked=!0,this.hasButtonGroup?e[s].shadowRoot.querySelector("button").focus():(e[s].tabIndex=0,e[s].focus()),this.value!==o&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){const t=this.getAllRadios(),e=t.find((t=>t.checked))||t[0];e&&e.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var t,e;const i=this.getAllRadios();if(await Promise.all(i.map((async t=>{await t.updateComplete,t.checked=t.value===this.value,t.size=this.size,t instanceof ea&&(t.invalid=this.showInvalidStyle)}))),this.hasButtonGroup=i.some((t=>"sd-radio-button"===t.tagName.toLowerCase())),!i.some((t=>t.checked)))if(this.hasButtonGroup){const e=null==(t=i[0].shadowRoot)?void 0:t.querySelector("button");e&&(e.tabIndex=0)}else i[0].tabIndex=0;if(this.hasButtonGroup){const t=null==(e=this.shadowRoot)?void 0:e.querySelector("sd-button-group");t&&(t.disableRole=!0)}}syncRadios(){customElements.get("sd-radio")&&customElements.get("sd-radio-button")?this.syncRadioElements():(customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then((()=>this.syncRadios())),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then((()=>this.syncRadios())))}updateCheckedRadio(){this.getAllRadios().forEach((t=>t.checked=t.value===this.value)),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){const t=this.required&&!this.value,e=""!==this.customValidityMessage;return!t&&!e||(this.formControlController.emitInvalidEvent(),!1)}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout((()=>this.validationInput.hidden=!0),1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||!!t,i=fe`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return fe`<fieldset part="form-control" class="${Ke("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-labelledby="label" aria-errormessage="error-text"><label part="form-control-label" id="label" class="${Ke("mb-2 p-0 leading-normal text-black text-left",!e&&"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${Ke("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?fe`<sd-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${i}</sd-button-group>`:i}</div></fieldset>${this.formControlController.renderInvalidMessage()}`}};aa.dependencies={"sd-button-group":Xs},aa.styles=[Ne,Xe.styles,Dt`:host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label::after{content:' *'}`],sa([He("slot:not([name])")],aa.prototype,"defaultSlot",2),sa([He("#validation-input")],aa.prototype,"validationInput",2),sa([He("#invalid-message")],aa.prototype,"invalidMessage",2),sa([Ue()],aa.prototype,"hasButtonGroup",2),sa([Ue()],aa.prototype,"defaultValue",2),sa([Ue()],aa.prototype,"showInvalidStyle",2),sa([Fe({reflect:!0})],aa.prototype,"size",2),sa([Fe({type:Boolean,reflect:!0})],aa.prototype,"required",2),sa([Fe({reflect:!0})],aa.prototype,"orientation",2),sa([Fe()],aa.prototype,"label",2),sa([Fe({type:Boolean,reflect:!0})],aa.prototype,"boldLabel",2),sa([Fe()],aa.prototype,"name",2),sa([Fe({reflect:!0})],aa.prototype,"value",2),sa([Fe({reflect:!0})],aa.prototype,"form",2),sa([mi("size",{waitUntilFirstUpdate:!0})],aa.prototype,"handleSizeChange",1),sa([mi("showInvalidStyle",{waitUntilFirstUpdate:!0})],aa.prototype,"handleInvalidChange",1),sa([mi("value")],aa.prototype,"handleValueChange",1),aa=sa([Be("sd-radio-group")],aa);const na=Object.freeze(Object.defineProperty({__proto__:null,get default(){return aa}},Symbol.toStringTag,{value:"Module"}));var la=Object.defineProperty,da=Object.getOwnPropertyDescriptor,ha=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?da(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&la(e,i,s),s};let ca=class extends Xe{constructor(){super(...arguments),this.orientation="horizontal",this.scrollbars=!1,this.buttons=!1,this.shadows=!1,this.inset=!1,this.step=150,this.canScroll={left:!1,right:!1,up:!1,down:!1},this.isScrollHorizontalEnabled=!1,this.isScrollVerticalEnabled=!1,this.scrollContainer=null}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver((()=>{this.updateScrollIndicatorVisibility()})),this.updateComplete.then((()=>{this.scrollContainer=this.renderRoot.querySelector(".scroll-container"),this.scrollContainer&&this.resizeObserver.observe(this.scrollContainer)}))}disconnectedCallback(){super.disconnectedCallback(),this.scrollContainer&&this.resizeObserver.unobserve(this.scrollContainer)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.updateScrollIndicatorVisibility())}updateScrollEnabledFlags(){const t=this.orientation;this.isScrollHorizontalEnabled="horizontal"===t||"auto"===t,this.isScrollVerticalEnabled="vertical"===t||"auto"===t}get container(){return this.renderRoot.querySelector(".scroll-container")}updateScrollIndicatorVisibility(){const t=this.container;if(t){const e=this.isScrollHorizontalEnabled&&t.scrollLeft>0,i=this.isScrollHorizontalEnabled&&t.scrollLeft+t.clientWidth<t.scrollWidth-1,r=this.isScrollVerticalEnabled&&t.scrollTop>0,o=this.isScrollVerticalEnabled&&t.scrollTop+t.clientHeight<t.scrollHeight-1;this.canScroll={left:e,right:i,up:r,down:o},(e||r)&&this.dispatchEvent(new CustomEvent("start")),(i||o)&&this.dispatchEvent(new CustomEvent("end"))}}handleScroll(t){var e;const i="left"===t||"up"===t?-this.step:this.step,r={behavior:"smooth"};r["left"===t||"right"===t?"left":"top"]=i,null==(e=this.scrollContainer)||e.scrollBy(r);const o=`button-${t}`;this.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0}))}render(){const t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",e="scroll-shadow absolute z-10 pointer-events-none";return fe`<div part="base" class="${Ke("scroll-container flex overflow-hidden flex-1","horizontal"===this.orientation&&"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden","vertical"===this.orientation&&"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden","auto"===this.orientation&&"scroll-auto overflow-auto",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset?"p-4":"")}" @scroll="${this.updateScrollIndicatorVisibility}"><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?fe`${this.isScrollHorizontalEnabled?fe`${this.canScroll.left?fe`<div part="button-left" class="absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8"><button part="button-start" class="${Ke(t)}" @click="${()=>this.handleScroll("left")}"><slot name="icon-start"><sd-icon library="system" name="chevron-up" class="rotate-[-90deg]"></sd-icon></slot></button></div>`:null} ${this.canScroll.right?fe`<div part="button-right" class="absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8"><button part="button-end" class="${Ke(t)}" @click="${()=>this.handleScroll("right")}"><slot name="icon-end"><sd-icon library="system" name="chevron-down" class="rotate-[-90deg]"></sd-icon></slot></button></div>`:null}`:null} ${this.isScrollVerticalEnabled?fe`${this.canScroll.up?fe`<div part="button-top" class="absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8"><button part="button-start" class="${Ke(t)}" @click="${()=>this.handleScroll("up")}"><slot name="icon-start"><sd-icon library="system" name="chevron-up"></sd-icon></slot></button></div>`:null} ${this.canScroll.down?fe`<div part="button-bottom" class="absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8"><button part="button-end" class="${Ke(t)}" @click="${()=>this.handleScroll("down")}"><slot name="icon-end"><sd-icon library="system" name="chevron-down"></sd-icon></slot></button></div>`:null}`:null}`:null} ${this.shadows?fe`${this.isScrollHorizontalEnabled?fe`${this.canScroll.left?fe`<div part="shadow-left" class="${e} left top-0 left-0 w-[6px] h-full"></div>`:null} ${this.canScroll.right?fe`<div part="shadow-right" class="${e} right top-0 right-0 w-[6px] h-full"></div>`:null}`:null} ${this.isScrollVerticalEnabled?fe`${this.canScroll.up?fe`<div part="shadow-top" class="${e} top top-0 left-0 w-full h-[6px]"></div>`:null} ${this.canScroll.down?fe`<div part="shadow-bottom" class="${e} bottom bottom-0 left-0 w-full h-[6px]"></div>`:null}`:null}`:null}`}};ca.styles=[Xe.styles,Mt(Ki),Ne,Dt`:host{--gradient-color:rgba(255, 255, 255, 0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],ha([Fe({type:String,reflect:!0})],ca.prototype,"orientation",2),ha([Fe({type:Boolean,reflect:!0})],ca.prototype,"scrollbars",2),ha([Fe({type:Boolean,reflect:!0})],ca.prototype,"buttons",2),ha([Fe({type:Boolean,reflect:!0})],ca.prototype,"shadows",2),ha([Fe({type:Boolean,reflect:!0})],ca.prototype,"inset",2),ha([Fe({type:Number,reflect:!0})],ca.prototype,"step",2),ha([Ue()],ca.prototype,"canScroll",2),ha([Ue()],ca.prototype,"isScrollHorizontalEnabled",2),ha([Ue()],ca.prototype,"isScrollVerticalEnabled",2),ca=ha([Be("sd-scrollable")],ca);const pa=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ca}},Symbol.toStringTag,{value:"Module"}));var ua=Object.defineProperty,ba=Object.getOwnPropertyDescriptor,ma=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ba(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&ua(e,i,s),s};let ga=class extends Xe{constructor(){super(...arguments),this.size="lg",this.selected=!1,this.removable=!1,this.disabled=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemoveClick(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}render(){const t=this.isLink(),e=t?$r`a`:$r`button`;return Sr`<${e} part="base" type="${_r(t?void 0:"button")}" href="${_r(t?this.href:void 0)}" rel="${_r(t&&this.target?"noreferrer noopener":void 0)}" target="${_r(t?this.target:void 0)}" download="${_r(t?this.download:void 0)}" ?disabled="${_r(t?void 0:this.disabled)}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${Ke("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":"border-primary text-primary hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500 disabled:border-neutral-500 disabled:text-neutral-500",this.disabled&&!t&&"cursor-not-allowed")}"><slot part="content"></slot>${this.removable?Sr`<slot part="removable-indicator" name="removable-indicator" @click="${this.handleRemoveClick}" class="${Ke({lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-icon library="system" name="close" label="remove"></sd-icon></slot>`:""}</${e}>`}};ga.styles=[Xe.styles,Dt`:host{display:inline-block}`],ma([He("a, button")],ga.prototype,"tag",2),ma([Fe({reflect:!0})],ga.prototype,"size",2),ma([Fe({type:Boolean,reflect:!0})],ga.prototype,"selected",2),ma([Fe({type:Boolean,reflect:!0})],ga.prototype,"removable",2),ma([Fe({type:Boolean,reflect:!0})],ga.prototype,"disabled",2),ma([Fe()],ga.prototype,"href",2),ma([Fe()],ga.prototype,"target",2),ma([Fe()],ga.prototype,"download",2),ga=ma([Be("sd-tag")],ga);const va=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ga}},Symbol.toStringTag,{value:"Module"}));var fa=Object.defineProperty,ya=Object.getOwnPropertyDescriptor,wa=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ya(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&fa(e,i,s),s};let xa=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this,{assumeInteractionOn:["sd-blur","sd-input"]}),this.hasSlotController=new Hi(this,"help-text","label"),this.localize=new S(this),this.typeToSelectString="",this.hasHover=!1,this.displayLabel="",this.hasFocus=!1,this.selectedOptions=[],this.showValidStyle=!1,this.showInvalidStyle=!1,this.defaultValue="",this.open=!1,this.size="lg",this.placement="bottom",this.label="",this.placeholder=this.localize.term("selectDefaultPlaceholder"),this.disabled=!1,this.helpText="",this.currentPlacement=this.placement,this.clearable=!1,this.multiple=!1,this.useTags=!1,this.maxOptionsVisible=3,this.form="",this.name="",this.value="",this.required=!1,this.styleOnValid=!1,this.hoist=!1,this.getTag=t=>fe`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
96
+ */})(t),e}});var rr=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,ar=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?sr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&rr(e,i,s),s};let nr=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.title="",this.name="",this.size="lg",this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form="",this.required=!1,this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return ye`<label part="base" class="${$e("sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${Mo(this.value)}" .indeterminate="${or(this.indeterminate)}" .checked="${or(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${$e("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4\n peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2\n peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[t])}">${this.checked?ye`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-icon>`:""} ${!this.checked&&this.indeterminate?ye`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-icon>`:""} </span><span part="label" id="label" class="${$e("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};nr.styles=[Je.styles,Ft`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-width:0}:host([required]) #label::after{content:' *'}`],ar([Le('input[type="checkbox"]')],nr.prototype,"input",2),ar([Le("#invalid-message")],nr.prototype,"invalidMessage",2),ar([Ue()],nr.prototype,"title",2),ar([Ue()],nr.prototype,"name",2),ar([Ue()],nr.prototype,"value",2),ar([Ue({reflect:!0})],nr.prototype,"size",2),ar([Ue({type:Boolean,reflect:!0})],nr.prototype,"disabled",2),ar([Ue({type:Boolean,reflect:!0})],nr.prototype,"checked",2),ar([Ue({type:Boolean,reflect:!0})],nr.prototype,"indeterminate",2),ar([er("checked")],nr.prototype,"defaultChecked",2),ar([Ue({reflect:!0})],nr.prototype,"form",2),ar([Ue({type:Boolean,reflect:!0})],nr.prototype,"required",2),ar([Ge()],nr.prototype,"showInvalidStyle",2),ar([mi("disabled",{waitUntilFirstUpdate:!0})],nr.prototype,"handleDisabledChange",1),ar([mi(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],nr.prototype,"handleStateChange",1),nr=ar([Qe("sd-checkbox")],nr);const lr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return nr}},Symbol.toStringTag,{value:"Module"})),dr=new Set;function hr(t){if(dr.add(t),!document.body.classList.contains("sd-scroll-lock")){const t=function(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}();document.body.classList.add("sd-scroll-lock"),document.body.style.setProperty("--sd-scroll-lock-size",`${t}px`)}}function cr(t){dr.delete(t),0===dr.size&&(document.body.classList.remove("sd-scroll-lock"),document.body.style.removeProperty("--sd-scrollbar-width"))}function pr(t,e,i="vertical",o="smooth"){const r=function(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}(t,e),s=r.top+e.scrollTop,a=r.left+e.scrollLeft,n=e.scrollLeft,l=e.scrollLeft+e.offsetWidth,d=e.scrollTop,h=e.scrollTop+e.offsetHeight;("horizontal"===i||"both"===i)&&(a<n?e.scrollTo({left:a,behavior:o}):a+t.clientWidth>l&&e.scrollTo({left:a-e.offsetWidth+t.clientWidth,behavior:o})),("vertical"===i||"both"===i)&&(s<d?e.scrollTo({top:s,behavior:o}):s+t.clientHeight>h&&e.scrollTo({top:s-e.offsetHeight+t.clientHeight,behavior:o}))}function ur(t){const e=t.tagName.toLowerCase();return!("-1"===t.getAttribute("tabindex")||t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled")||"input"===e&&"radio"===t.getAttribute("type")&&!t.hasAttribute("checked")||null===t.offsetParent||"hidden"===window.getComputedStyle(t).visibility)&&(!!(("audio"===e||"video"===e)&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable"))||["button","input","select","textarea","a","audio","video","summary"].includes(e))}function gr(t){const e=[];return function t(i){i instanceof HTMLElement&&(e.push(i),null!==i.shadowRoot&&"open"===i.shadowRoot.mode&&t(i.shadowRoot)),[...i.children].forEach((e=>t(e)))}(t),{start:e.find((t=>ur(t)))??null,end:e.reverse().find((t=>ur(t)))??null}}let mr=[];class br{constructor(t){this.tabDirection="forward",this.element=t,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){mr.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){mr=mr.filter((t=>t!==this.element)),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return mr[mr.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){const{start:t,end:e}=gr(this.element),i="forward"===this.tabDirection?t:e;"function"==typeof(null==i?void 0:i.focus)&&i.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(t){"Tab"===t.key&&t.shiftKey&&(this.tabDirection="backward",requestAnimationFrame((()=>this.checkFocus())))}handleKeyUp(){this.tabDirection="forward"}}var vr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,fr=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?yr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&vr(e,i,s),s};let wr=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"footer"),this.localize=new S(this),this.open=!1,this.headline="",this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new br(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),hr(this))}disconnectedCallback(){super.disconnectedCallback(),cr(this)}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const t=Oi(this,"dialog.denyClose",{dir:this.localize.dir()});xi(this.panel,t.keyframes,t.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),hr(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([Si(this.dialog),Si(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")}));const e=Oi(this,"dialog.show",{dir:this.localize.dir()}),i=Oi(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([xi(this.panel,e.keyframes,e.options),xi(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([Si(this.dialog),Si(this.overlay)]);const t=Oi(this,"dialog.hide",{dir:this.localize.dir()}),e=Oi(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([xi(this.overlay,e.keyframes,e.options).then((()=>{this.overlay.hidden=!0})),xi(this.panel,t.keyframes,t.options).then((()=>{this.panel.hidden=!0}))]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,cr(this);const i=this.originalTrigger;"function"==typeof(null==i?void 0:i.focus)&&setTimeout((()=>i.focus())),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,zi(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,zi(this,"sd-after-hide")}render(){return ye`<div part="base" class="${$e("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${$e("flex flex-col z-20 bg-white focus:outline-none py-4 sm:py-8 relative gap-6",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?ye`<h4 class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</h4>`:ye`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":ye`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${$e("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};wr.styles=[Ve,Pt(".sd-headline,.sd-prose :is(h1,h2,h3,h4,h5){display:flex;font-weight:700;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-icon{flex-shrink:0;font-size:3rem;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}@media (min-width:640px){.sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-font-size-3xl,2rem);gap:var(--sd-spacing-4,1rem);line-height:var(--sd-line-height-tight,120%)}@media (min-width:640px){.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-headline.sd-headline sd-icon,.sd-headline:is(h1):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-headline.sd-headline sd-icon,.sd-headline:is(h1):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-font-size-2xl,1.75rem);gap:var(--sd-spacing-4,1rem);line-height:var(--sd-line-height-tight,120%)}@media (min-width:640px){.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-font-size-3xl,2rem)}}.sd-headline.sd-headline--size-3xl sd-icon,.sd-headline:is(h2):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-headline.sd-headline--size-3xl sd-icon,.sd-headline:is(h2):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline.sd-headline--size-xl,.sd-headline:is(h3,h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline){gap:var(--sd-spacing-2,.5rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.sd-headline.sd-headline--size-base sd-icon,.sd-headline.sd-headline--size-lg sd-icon,.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3,h4,h5):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline) sd-icon{font-size:2rem}.sd-headline.sd-headline--size-xl,.sd-headline:is(h3):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline){font-size:var(--sd-font-size-xl,1.5rem)}.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}@media (min-width:640px){.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline:is(h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4,h5):not(.sd-headline){line-height:var(--sd-line-height-normal,150%)}.sd-headline.sd-headline--size-lg,.sd-headline:is(h4),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4){font-size:var(--sd-font-size-lg,1.25rem)}.sd-headline.sd-headline--size-lg sd-icon,.sd-headline:is(h4) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-icon{margin-top:var(--sd-spacing-0,0)}@media (min-width:640px){.sd-headline.sd-headline--size-lg sd-icon,.sd-headline:is(h4) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-base,.sd-headline:is(h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline){font-size:var(--sd-font-size-base,1rem)}.sd-headline.sd-headline--size-base sd-icon,.sd-headline:is(h5):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}.sd-headline.sd-headline--size-base mark,.sd-headline:is(h5):not(.sd-headline) mark,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base mark,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) mark{color:inherit}.sd-headline--inline{display:inline-block}.sd-headline--inline sd-icon{margin-right:var(--sd-spacing-2,.5rem);margin-top:calc(var(--sd-spacing-1, .25rem)*-1);vertical-align:middle}.sd-headline--inline:is(.sd-headline--size-xl,.sd-headline--size-lg,.sd-headline--size-base) sd-icon{margin-right:var(--sd-spacing-0-5,.125rem)}.sd-headline--inverted:not(#\\\t),.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#\\\t){--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-headline--inverted:not(#\\\t) sd-icon,.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#\\\t) sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}"),Je.styles,Ft`:host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=footer]{width:100%}}`],fr([Le('[part="base"]')],wr.prototype,"dialog",2),fr([Le('[part="panel"]')],wr.prototype,"panel",2),fr([Le('[part="overlay"]')],wr.prototype,"overlay",2),fr([Ue({type:Boolean,reflect:!0})],wr.prototype,"open",2),fr([Ue({reflect:!0})],wr.prototype,"headline",2),fr([Ue({attribute:"no-close-button",type:Boolean,reflect:!0})],wr.prototype,"noCloseButton",2),fr([mi("open",{waitUntilFirstUpdate:!0})],wr.prototype,"handleOpenChange",1),wr=fr([Qe("sd-dialog")],wr),Di("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Di("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Di("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),Di("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Di("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});const Ar=Object.freeze(Object.defineProperty({__proto__:null,get default(){return wr}},Symbol.toStringTag,{value:"Module"}));var xr=Object.defineProperty,kr=Object.getOwnPropertyDescriptor,Cr=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?kr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&xr(e,i,s),s};let Sr=class extends Je{constructor(){super(...arguments),this.orientation="horizontal",this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return ye`<hr part="main" class="${$e(this.inverted?"border-primary-400":"border-neutral-400","horizontal"===this.orientation?"border-t w-full":" border-l h-full")}">`}};Sr.styles=[Ve,Je.styles,Ft`:host{margin:var(--sd-spacing-0,0)}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-divider[orientation=vertical]){display:inline-block}`],Cr([Ue({reflect:!0})],Sr.prototype,"orientation",2),Cr([Ue({type:Boolean,reflect:!0})],Sr.prototype,"inverted",2),Sr=Cr([Qe("sd-divider")],Sr);const Er=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Sr}},Symbol.toStringTag,{value:"Module"}));function Br(t){return t.charAt(0).toUpperCase()+t.slice(1)}var Ir=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Dr=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Mr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ir(e,i,s),s};let Or=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"footer"),this.localize=new S(this),this.modal=new br(this),this.open=!1,this.label="",this.placement="end",this.contained=!1,this.noHeader=!1,this.handleDocumentKeyDown=t=>{this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),hr(this)))}disconnectedCallback(){super.disconnectedCallback(),cr(this)}requestClose(t){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const t=Oi(this,"drawer.denyClose",{dir:this.localize.dir()});xi(this.panel,t.keyframes,t.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),hr(this));const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([Si(this.drawer),Si(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")}));const e=Oi(this,`drawer.show${Br(this.placement)}`,{dir:this.localize.dir()}),i=Oi(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([xi(this.panel,e.keyframes,e.options),xi(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),cr(this)),await Promise.all([Si(this.drawer),Si(this.overlay)]);const t=Oi(this,`drawer.hide${Br(this.placement)}`,{dir:this.localize.dir()}),e=Oi(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([xi(this.overlay,e.keyframes,e.options).then((()=>{this.overlay.hidden=!0})),xi(this.panel,t.keyframes,t.options).then((()=>{this.panel.hidden=!0}))]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;const i=this.originalTrigger;"function"==typeof(null==i?void 0:i.focus)&&setTimeout((()=>i.focus())),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),hr(this)),this.open&&this.contained&&(this.modal.deactivate(),cr(this))}async show(){if(!this.open)return this.open=!0,zi(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,zi(this,"sd-after-hide")}render(){return ye`<div part="base" class="${$e("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}"><div part="overlay" class="${$e("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${$e("absolute flex flex-col z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.label}" aria-labelledby="${Mo(this.noHeader?void 0:"title")}" tabindex="0">${this.noHeader?"":ye`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${$e(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></div>`}};Or.styles=[Je.styles,Ve,Ft`:host{--width:25rem;display:contents}:host([contained]){z-index:initial}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],Dr([Le("[part=base]")],Or.prototype,"drawer",2),Dr([Le("[part=panel]")],Or.prototype,"panel",2),Dr([Le("[part=overlay]")],Or.prototype,"overlay",2),Dr([Ue({type:Boolean,reflect:!0})],Or.prototype,"open",2),Dr([Ue({attribute:"label",reflect:!0})],Or.prototype,"label",2),Dr([Ue({reflect:!0})],Or.prototype,"placement",2),Dr([Ue({type:Boolean,reflect:!0})],Or.prototype,"contained",2),Dr([Ue({attribute:"no-header",type:Boolean})],Or.prototype,"noHeader",2),Dr([mi("open",{waitUntilFirstUpdate:!0})],Or.prototype,"handleOpenChange",1),Dr([mi("contained",{waitUntilFirstUpdate:!0})],Or.prototype,"handleNoModalChange",1),Or=Dr([Qe("sd-drawer")],Or),Di("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),Di("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}}),Di("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),Di("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}}),Di("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}}),Di("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Di("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});const zr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Or}},Symbol.toStringTag,{value:"Module"}));var Tr=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor,Fr=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Pr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Tr(e,i,s),s};let jr=class extends Je{constructor(){super(...arguments),this.localize=new S(this),this.open=!1,this.rounded=!1,this.placement="bottom-start",this.disabled=!1,this.stayOpenOnSelect=!1,this.distance=0,this.skidding=0,this.noAutoSize=!1,this.noFlip=!1,this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}focusOnTrigger(){const t=this.trigger.assignedElements({flatten:!0})[0];"function"==typeof(null==t?void 0:t.focus)&&t.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find((t=>"sd-menu"===t.tagName.toLowerCase()))}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(t){var e;if("Tab"===t.key){if(this.open&&"sd-menu-item"===(null==(e=document.activeElement)?void 0:e.tagName.toLowerCase()))return t.preventDefault(),this.hide(),void this.focusOnTrigger();setTimeout((()=>{var t,e,i,o,r,s,a,n,l,d,h,c;const p=(null==(r=null==(o=null==(i=null==(e=null==(t=document.activeElement)?void 0:t.shadowRoot)?void 0:e.activeElement)?void 0:i.shadowRoot)?void 0:o.activeElement)?void 0:r.getRootNode())instanceof ShadowRoot?null==(l=null==(n=null==(a=null==(s=document.activeElement)?void 0:s.shadowRoot)?void 0:a.activeElement)?void 0:n.shadowRoot)?void 0:l.activeElement:(null==(d=this.containingElement)?void 0:d.getRootNode())instanceof ShadowRoot?null==(c=null==(h=document.activeElement)?void 0:h.shadowRoot)?void 0:c.activeElement:document.activeElement;(!this.containingElement||(null==p?void 0:p.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()}))}}handleDocumentMouseDown(t){const e=t.composedPath();this.containingElement&&!e.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(t){pr(t.target,this.panel)}handlePanelSelect(t){const e=t.target;!this.stayOpenOnSelect&&"sd-menu"===e.tagName.toLowerCase()&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(t){if("Escape"===t.key&&this.open)return t.stopPropagation(),this.focusOnTrigger(),void this.hide();if([" ","Enter"].includes(t.key))return t.preventDefault(),void this.handleTriggerClick();const e=this.getMenu();if(e){const i=e.defaultSlot.assignedElements({flatten:!0}),o=i[0],r=i[i.length-1];["ArrowDown","ArrowUp","Home","End"].includes(t.key)&&(t.preventDefault(),this.open||this.show(),i.length>0&&requestAnimationFrame((()=>{("ArrowDown"===t.key||"Home"===t.key)&&(e.setCurrentItem(o),o.focus()),("ArrowUp"===t.key||"End"===t.key)&&(e.setCurrentItem(r),r.focus())})))}}handleTriggerKeyUp(t){" "===t.key&&t.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}updateAccessibleTrigger(){const t=this.trigger.assignedElements({flatten:!0}).find((t=>gr(t).start));let e;if(t){switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":e=t.button;break;default:e=t}e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false")}}async show(){if(!this.open)return this.open=!0,zi(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,zi(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled)this.open=!1;else if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await Si(this),this.panel.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=Oi(this,"dropdown.show",{dir:this.localize.dir()});await xi(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await Si(this);const{keyframes:t,options:e}=Oi(this,"dropdown.hide",{dir:this.localize.dir()});await xi(this.popup.popup,t,e),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return ye`<sd-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${$e("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};jr.styles=[Je.styles,Ve,Ft`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],Fr([Le("#dropdown")],jr.prototype,"popup",2),Fr([Le("[part=trigger]")],jr.prototype,"trigger",2),Fr([Le("[part=panel]")],jr.prototype,"panel",2),Fr([Ue({type:Boolean,reflect:!0})],jr.prototype,"open",2),Fr([Ue({type:Boolean,reflect:!0})],jr.prototype,"rounded",2),Fr([Ue({reflect:!0})],jr.prototype,"placement",2),Fr([Ue({type:Boolean,reflect:!0})],jr.prototype,"disabled",2),Fr([Ue({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],jr.prototype,"stayOpenOnSelect",2),Fr([Ue({attribute:!1})],jr.prototype,"containingElement",2),Fr([Ue({type:Number})],jr.prototype,"distance",2),Fr([Ue({type:Number})],jr.prototype,"skidding",2),Fr([Ue({type:Boolean,reflect:!0,attribute:"no-auto-size"})],jr.prototype,"noAutoSize",2),Fr([Ue({type:Boolean,reflect:!0,attribute:"no-flip"})],jr.prototype,"noFlip",2),Fr([Ue({type:Boolean})],jr.prototype,"hoist",2),Fr([mi("open",{waitUntilFirstUpdate:!0})],jr.prototype,"handleOpenChange",1),jr=Fr([Qe("sd-dropdown")],jr),Di("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),Di("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});const Qr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return jr}},Symbol.toStringTag,{value:"Module"}));var Yr=Object.defineProperty,Rr=Object.getOwnPropertyDescriptor,Ur=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Rr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Yr(e,i,s),s};let Gr=class extends Je{constructor(){super(...arguments),this.open=!1,this.inverted=!1,this.localize=new S(this)}updateMaxHeight(){var t;const e=null==(t=this.contentPreview)?void 0:t.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}onOpenChange(){this.open?(this.emit("sd-show"),this.updateComplete.then((()=>{this.emit("sd-after-show")}))):(this.emit("sd-hide"),this.updateComplete.then((()=>{this.emit("sd-after-hide")}))),this.details.setAttribute("open",this.open.toString())}async show(){if(!this.open)return this.onToggleClick(),zi(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),zi(this,"sd-after-hide")}render(){return ye`<details part="details"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details><button part="toggle" class="${$e("sd-interactive sd-interactive--reset !h-full !justify-center !w-full !text-base !flex !items-center !underline !underline-offset-2 !toggle",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}">${this.open?ye`<slot name="toggle-open"><sd-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-icon>${this.localize.term("showLess")}</slot>`:ye`<slot name="toggle-closed"><sd-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-icon>${this.localize.term("showMore")}</slot>`}</button>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){const t=document.createElement("div");t.setAttribute("slot","clone"),Array.from(this.childNodes).forEach((e=>{const i=e.cloneNode(!0);t.appendChild(i)})),this.appendChild(t)}};Gr.styles=[Je.styles,Pt($i),Ve,Ft`:host{--gradient-color-start:rgba(255, 255, 255, 0);--gradient-color-end:rgba(255, 255, 255, 1);--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(--gradient-color-start) 0%,var(--gradient-color-end) 80%,var(--gradient-color-end) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{border-style:none;padding:var(--sd-spacing-0,0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content{max-block-size:var(--max-height-pixel,1000vh)}:host(:not([open])) .content::after{position:absolute;bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);display:block;width:100%;content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient))}:host([inverted]:not([open])) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,rgba(0,53,142,0) 0,#00358e 80%,#00358e 100%))}`],Ur([Le(".content-preview")],Gr.prototype,"contentPreview",2),Ur([Le("details")],Gr.prototype,"details",2),Ur([Ue({type:Boolean,reflect:!0})],Gr.prototype,"open",2),Ur([Ue({type:Boolean,reflect:!0})],Gr.prototype,"inverted",2),Ur([mi("open",{waitUntilFirstUpdate:!0})],Gr.prototype,"onOpenChange",1),Gr=Ur([Qe("sd-expandable")],Gr);const Hr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Gr}},Symbol.toStringTag,{value:"Module"}));var Lr=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Vr=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?qr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Lr(e,i,s),s};let $r=class extends Je{constructor(){super(...arguments),this.activation="click hover",this.flipDirection="horizontal",this.frontVariant="empty",this.backVariant="empty"}connectedCallback(){super.connectedCallback()}flipFront(){this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),this.back.focus()}flipBack(){this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),this.front.focus()}handleFrontClick(t){const e=t.target;null===e.getAttribute("onclick")&&null===e.getAttribute("href")&&this.flipFront()}handleBackClick(t){const e=t.target;null===e.getAttribute("onclick")&&null===e.getAttribute("href")&&this.flipBack()}handleFrontKeydown(t){"Enter"===t.code&&this.front===t.target&&this.flipFront()}handleBackKeydown(t){"Enter"===t.code&&this.back===t.target&&this.flipBack()}render(){return ye`<div part="base" class="${$e("flip-card relative h-full w-full")}"><div part="front" tabindex="0" class="${$e("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left","click hover"===this.activation&&"hover","primary"===this.frontVariant&&"bg-primary","primary-100"===this.frontVariant&&"bg-primary-100","gradient-dark-bottom"===this.frontVariant||"gradient-light-bottom"===this.frontVariant?"flex-col-reverse":"flex-col","vertical"===this.flipDirection&&"vertical")}" @click="${this.handleFrontClick}" @keydown="${this.handleFrontKeydown}"><div part="media-front" class="${$e("absolute h-full w-full -z-20",("primary"===this.frontVariant||"primary-100"===this.frontVariant)&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${$e("flex",{empty:"text-black",primary:"text-white","primary-100":"text-black","gradient-light-top":"text-black","gradient-light-bottom":"text-black","gradient-dark-top":"text-white","gradient-dark-bottom":"text-white"}[this.frontVariant],{empty:"",primary:"","primary-100":"","gradient-light-top":"bg-gradient-to-b from-white/75 to-white/60","gradient-light-bottom":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark-top":"bg-gradient-to-b from-primary-800/75 to-primary-800/60","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"><slot name="front"></slot></div><div part="front-secondary-gradient" class="${$e("flip-card__gradient",{empty:"mb-auto",primary:"mb-auto","primary-100":"mb-auto","gradient-light-top":"bg-gradient-to-b from-white/60 to-40% mb-auto","gradient-light-bottom":"bg-gradient-to-t from-white/60 to-40% mt-auto","gradient-dark-top":"bg-gradient-to-b from-primary-800/60 to-40% mb-auto","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/60 to-40% mt-auto"}[this.frontVariant])}"></div></div><div part="back" tabindex="0" class="${$e("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left","click hover"===this.activation&&"hover","primary"===this.backVariant&&"bg-primary","primary-100"===this.backVariant&&"bg-primary-100","gradient-dark-bottom"===this.backVariant||"gradient-light-bottom"===this.backVariant?"flex-col-reverse":"flex-col","vertical"===this.flipDirection&&"vertical")}" @click="${this.handleBackClick}" @keydown="${this.handleBackKeydown}"><div part="media-back" class="${$e("absolute h-full w-full -z-20",("primary"===this.backVariant||"primary-100"===this.backVariant)&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${$e("flex",{empty:"text-black",primary:"text-white","primary-100":"text-black","gradient-light-top":"text-black","gradient-light-bottom":"text-black","gradient-dark-top":"text-white","gradient-dark-bottom":"text-white"}[this.backVariant],{empty:"",primary:"","primary-100":"","gradient-light-top":"bg-gradient-to-b from-white/75 to-white/60","gradient-light-bottom":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark-top":"bg-gradient-to-b from-primary-800/75 to-primary-800/60","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${$e("flip-card__gradient",{empty:"mb-auto",primary:"mb-auto","primary-100":"mb-auto","gradient-light-top":"bg-gradient-to-b from-white/60 to-40% mb-auto","gradient-light-bottom":"bg-gradient-to-t from-white/60 to-40% mt-auto","gradient-dark-top":"bg-gradient-to-b from-primary-800/60 to-40% mb-auto","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/60 to-40% mt-auto"}[this.backVariant])}"></div></div></div>`}};$r.styles=[Ve,Je.styles,Ft`:host{display:block;aspect-ratio:3/4;--name:'';--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.4 1 0}@media (hover:hover) and (pointer:fine){.flip-card:hover .flip-card__side--front.hover{transform:rotateY(-180deg)}.flip-card:hover .flip-card__side--back.hover{transform:rotateY(0)}.flip-card:hover .flip-card__side--front.hover.vertical{transform:rotateX(-180deg)}.flip-card:hover .flip-card__side--back.hover.vertical{transform:rotateX(0)}}`],Vr([Le('[part="front"]')],$r.prototype,"front",2),Vr([Le('[part="back"]')],$r.prototype,"back",2),Vr([Ue({reflect:!0})],$r.prototype,"activation",2),Vr([Ue({reflect:!0,attribute:"flip-direction"})],$r.prototype,"flipDirection",2),Vr([Ue({type:String,reflect:!0,attribute:"front-variant"})],$r.prototype,"frontVariant",2),Vr([Ue({type:String,reflect:!0,attribute:"back-variant"})],$r.prototype,"backVariant",2),$r=Vr([Qe("sd-flipcard")],$r);const Zr=Object.freeze(Object.defineProperty({__proto__:null,get default(){return $r}},Symbol.toStringTag,{value:"Module"}));var Kr=Object.defineProperty,Nr=Object.getOwnPropertyDescriptor,Jr=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Nr(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Kr(e,i,s),s};let Wr=class extends Je{constructor(){super(...arguments),this.fixed=!1}connectedCallback(){super.connectedCallback(),this.setCalculatedHeightProperty=this.setCalculatedHeightProperty.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this)}firstUpdated(){this.toggleHeightCalculation()}toggleHeightCalculation(){var t;this.fixed?(this.setCalculatedHeightProperty(),this.addResizeObserver()):(this.setCalculatedHeightProperty(),null==(t=this.resizeObserver)||t.disconnect(),this.resizeObserver=void 0)}disconnectedCallback(){super.disconnectedCallback()}updated(t){super.updated(t),t.has("fixed")&&this.toggleHeightCalculation()}onResize(){this.fixed&&this.setCalculatedHeightProperty()}addResizeObserver(){this.resizeObserver=new ResizeObserver((()=>{this.onResize()})),this.refHeaderElement&&this.resizeObserver.observe(this.refHeaderElement)}setCalculatedHeightProperty(){this.fixed&&this.refHeaderElement?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.refHeaderElement.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return ye`<header class="w-full bg-white relative" role="banner" @slotchange="${this.handleSlotChange}"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}handleSlotChange(t){t.target.assignedElements().length>0&&(this.refHeaderElement=t.currentTarget,this.setCalculatedHeightProperty())}};Wr.styles=[Je.styles,Ve,Ft`:host{display:block}:host([fixed]){position:fixed;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);width:100%}:host([fixed]) header::after{content:'';position:absolute;left:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);top:100%;height:var(--sd-spacing-2,.5rem);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}`],Jr([Ue({reflect:!0,type:Boolean})],Wr.prototype,"fixed",2),Jr([Uo(100)],Wr.prototype,"onResize",1),Wr=Jr([Qe("sd-header")],Wr);const _r=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Wr}},Symbol.toStringTag,{value:"Module"}));var Xr=Object.defineProperty,ts=Object.getOwnPropertyDescriptor,es=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?ts(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Xr(e,i,s),s};let is=class extends Je{constructor(){super(...arguments),this.mode="cors",this.allowScripts=!1}executeScript(t){const e=document.createElement("script");[...t.attributes].forEach((t=>e.setAttribute(t.name,t.value))),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}async handleSrcChange(){try{const t=this.src,e=await ri(t,this.mode);if(t!==this.src)return;if(!e.ok)return void this.emit("sd-error",{detail:{status:e.status}});this.innerHTML=e.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach((t=>this.executeScript(t))),this.emit("sd-load")}catch{this.emit("sd-error",{detail:{status:-1}})}}render(){return ye`<slot></slot>`}};is.styles=[Ve,Ft`:host{display:block}`],es([Ue()],is.prototype,"src",2),es([Ue()],is.prototype,"mode",2),es([Ue({attribute:"allow-scripts",type:Boolean})],is.prototype,"allowScripts",2),es([mi("src")],is.prototype,"handleSrcChange",1),is=es([Qe("sd-include")],is);const os=Object.freeze(Object.defineProperty({__proto__:null,get default(){return is}},Symbol.toStringTag,{value:"Module"}));var rs=Object.defineProperty,ss=Object.getOwnPropertyDescriptor,as=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?ss(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&rs(e,i,s),s};const ns=!(null==(i=navigator.userAgentData)?void 0:i.brands.some((t=>t.brand.includes("Chromium"))))&&navigator.userAgent.includes("Firefox");let ls=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this),this.hasSlotController=new Li(this,"help-text","label","left","right","message","placeholder"),this.localize=new S(this),this.hasFocus=!1,this.showValidStyle=!1,this.showInvalidStyle=!1,this.type="text",this.size="lg",this.value="",this.defaultValue="",this.placeholder="",this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.name="",this.title="",this.required=!1,this.styleOnValid=!1,this.spellcheck=!0}get valueAsDate(){var t;return(null==(t=this.input)?void 0:t.valueAsDate)??null}set valueAsDate(t){const e=document.createElement("input");e.type="date",e.valueAsDate=t,this.value=e.value}get valueAsNumber(){var t;return(null==(t=this.input)?void 0:t.valueAsNumber)??parseFloat(this.value)}set valueAsNumber(t){const e=document.createElement("input");e.type="number",e.valueAsNumber=t,this.value=e.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(t){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;"Enter"===t.key&&!e&&setTimeout((()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()}))}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,i="none"){this.input.setSelectionRange(t,e,i)}setRangeText(t,e,i,o){this.input.setRangeText(t,e,i,o),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var t;return null==(t=this.input)?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),i=(this.hasSlotController.test("description"),this.hasSlotController.test("left")),o=this.hasSlotController.test("right"),r=!!this.label||!!t,s=!!this.helpText||!!e,a=this.clearable&&!this.readonly&&("number"==typeof this.value||this.value.length>0),n=this.disabled?"disabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",l="sm"===this.size?"text-sm":"text-base",d={disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[n],h=this.disabled?"text-neutral-500":"text-primary",c={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],p={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return ye`<div part="form-control" class="${$e(this.disabled&&"pointer-events-none")}"><label part="form-control-label" id="label" class="${$e("mb-2",r?"inline-block":"hidden",l)}" for="input" aria-hidden="${r?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="relative w-full"><div part="border" class="${$e("absolute w-full h-full pointer-events-none border rounded-default",d)}"></div><div part="base" class="${$e("px-4 flex flex-row items-center rounded-default transition-all","lg"===this.size?"py-2":"py-1",this.disabled||this.readonly?"":"hover:bg-neutral-200",this.readonly?"bg-neutral-100":"bg-white","disabled"===n?"text-neutral-500":"text-black")}">${i?ye`<slot name="left" part="left" class="${$e("inline-flex","sm"===this.size?"mr-1":"mr-2",h,p)}"></slot>`:""} <input part="input" id="input" class="${$e("min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700","sm"===this.size?"h-6":"h-8",l)}" type="${"password"===this.type&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${Mo(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${Mo(this.placeholder)}" minlength="${Mo(this.minlength)}" maxlength="${Mo(this.maxlength)}" min="${Mo(this.min)}" max="${Mo(this.max)}" step="${Mo(this.step)}" .value="${or(this.value)}" autocapitalize="${Mo("password"===this.type?"off":this.autocapitalize)}" autocomplete="${Mo("password"===this.type?"off":this.autocomplete)}" autocorrect="${Mo("password"===this.type?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${Mo(this.pattern)}" enterkeyhint="${Mo(this.enterkeyhint)}" inputmode="${Mo(this.inputmode)}" aria-describedby="help-text" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${a?ye`<button part="clear-button" class="${$e("flex justify-center ",c)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${$e("icon-fill-neutral-800",p)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&"password"===this.type?ye`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible?ye`<slot name="show-password-icon"><sd-icon class="${$e(h,c,p)}" library="system" name="eye"></sd-icon></slot>`:ye`<slot name="hide-password-icon"><sd-icon class="${$e(h,c,p)}" library="system" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${"date"!==this.type&&"datetime-local"!==this.type||ns?"":ye`<sd-icon class="${$e(h,c,p)}" library="system" name="calendar"></sd-icon>`} ${"time"===this.type?ye`<sd-icon class="${$e(h,c,p)}" library="system" name="clock"></sd-icon>`:""} ${"search"===this.type?ye`<button class="flex items-center" type="button" tabindex="-1"><sd-icon class="${$e(h,c,p)}" library="system" name="magnifying-glass"></sd-icon></button>`:""} ${this.showInvalidStyle?ye`<sd-icon part="invalid-icon" class="${$e("text-error",c,p)}" library="system" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?ye`<sd-icon class="${$e("text-success flex-shrink-0",c,p)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""} ${o?ye`<slot name="right" part="right" class="${$e("inline-flex",h,c,p)}"></slot>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${$e("text-sm text-neutral-700",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};ls.styles=[Ve,Je.styles,Ft`:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}`],as([Le("#input")],ls.prototype,"input",2),as([Le("#invalid-message")],ls.prototype,"invalidMessage",2),as([Ge()],ls.prototype,"hasFocus",2),as([Ge()],ls.prototype,"showValidStyle",2),as([Ge()],ls.prototype,"showInvalidStyle",2),as([Ue({reflect:!0})],ls.prototype,"type",2),as([Ue({reflect:!0})],ls.prototype,"size",2),as([Ue()],ls.prototype,"inputmode",2),as([Ue()],ls.prototype,"value",2),as([er()],ls.prototype,"defaultValue",2),as([Ue()],ls.prototype,"placeholder",2),as([Ue()],ls.prototype,"label",2),as([Ue({attribute:"help-text"})],ls.prototype,"helpText",2),as([Ue({type:Boolean})],ls.prototype,"clearable",2),as([Ue({type:Boolean,reflect:!0})],ls.prototype,"disabled",2),as([Ue({type:Boolean,reflect:!0})],ls.prototype,"readonly",2),as([Ue({attribute:"password-toggle",type:Boolean})],ls.prototype,"passwordToggle",2),as([Ue({attribute:"password-visible",type:Boolean})],ls.prototype,"passwordVisible",2),as([Ue({attribute:"no-spin-buttons",type:Boolean})],ls.prototype,"noSpinButtons",2),as([Ue({type:Number})],ls.prototype,"minlength",2),as([Ue({type:Number})],ls.prototype,"maxlength",2),as([Ue()],ls.prototype,"min",2),as([Ue()],ls.prototype,"max",2),as([Ue({reflect:!0})],ls.prototype,"form",2),as([Ue()],ls.prototype,"name",2),as([Ue()],ls.prototype,"title",2),as([Ue({type:Boolean,reflect:!0})],ls.prototype,"required",2),as([Ue()],ls.prototype,"pattern",2),as([Ue()],ls.prototype,"step",2),as([Ue()],ls.prototype,"autocapitalize",2),as([Ue()],ls.prototype,"autocorrect",2),as([Ue()],ls.prototype,"autocomplete",2),as([Ue({type:Boolean})],ls.prototype,"autofocus",2),as([Ue()],ls.prototype,"enterkeyhint",2),as([Ue({type:Boolean,reflect:!0,attribute:"style-on-valid"})],ls.prototype,"styleOnValid",2),as([Ue({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],ls.prototype,"spellcheck",2),as([mi("disabled",{waitUntilFirstUpdate:!0})],ls.prototype,"handleDisabledChange",1),as([mi("step",{waitUntilFirstUpdate:!0})],ls.prototype,"handleStepChange",1),as([mi("value",{waitUntilFirstUpdate:!0})],ls.prototype,"handleValueChange",1),ls=as([Qe("sd-input")],ls);const ds=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ls}},Symbol.toStringTag,{value:"Module"}));var hs=Object.defineProperty,cs=Object.getOwnPropertyDescriptor,ps=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?cs(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&hs(e,i,s),s};let us=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"[default]","icon-left","icon-right"),this.standalone=!1,this.size="inherit",this.inverted=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return ye`<a part="base" class="${$e("inline",this.href?"cursor-pointer":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline"}[this.href?"enabled":"disabled"],this.standalone&&"flex items-start")}" href="${Mo(this.href||void 0)}" target="${Mo(this.target||void 0)}" download="${Mo(this.download)}" rel="${Mo(this.target?"noreferrer noopener":void 0)}" aria-disabled="${this.href?"false":"true"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"><slot name="icon-left" part="icon-left" class="${$e("inline",t["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${$e("inline",t["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};us.styles=[Je.styles,Ft`::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:var(--sd-font-size-xl,1.5rem)}`],ps([Le("a")],us.prototype,"button",2),ps([Ue({type:Boolean,reflect:!0})],us.prototype,"standalone",2),ps([Ue({reflect:!0})],us.prototype,"size",2),ps([Ue({type:Boolean,reflect:!0})],us.prototype,"inverted",2),ps([Ue()],us.prototype,"href",2),ps([Ue()],us.prototype,"target",2),ps([Ue()],us.prototype,"download",2),us=ps([Qe("sd-link")],us);const gs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return us}},Symbol.toStringTag,{value:"Module"}));var ms=Object.defineProperty,bs=Object.getOwnPropertyDescriptor,vs=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?bs(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ms(e,i,s),s};let ys=class extends Je{constructor(){super(...arguments),this.variant="main",this.state="default",this.animated=!1,this.marker={cluster:fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="25" opacity="1" r="20"/><circle cx="25" cy="25" opacity=".3" r="25"/></svg>`,main:fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75"><path d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z"/><circle cx="30" cy="28" r="10" fill="#fff"/></svg>`,place:fe`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75"><path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd"/></svg>`}}render(){return ye`<div part="base" tabindex="0" class="flex justify-center focus:outline-primary focus:outline-offset-2"><div part="marker" class="${$e("inline-flex",this.animated&&("main"===this.variant||"place"===this.variant)&&"animate-bounce-once","cluster"===this.variant&&"hover"===this.state&&"scale-110 fill-primary-500","main"===this.variant&&"hover"===this.state&&"fill-accent-550","main"===this.variant&&"active"===this.state&&"fill-accent-700","place"===this.variant&&"default"===this.state&&"fill-white","place"===this.variant&&"hover"===this.state&&"fill-primary-100","place"===this.variant&&"active"===this.state&&"fill-primary-200",{cluster:"fill-primary transition-all duration-200 ease-in-out hover:scale-110 hover:fill-primary-500",main:"fill-accent *:drop-shadow-md hover:fill-accent-550 active:fill-accent-700",place:"hover:fill-primary-100 *:drop-shadow-md"}[this.variant])}">${this.marker[this.variant]}</div><div part="content" class="${$e("absolute self-center pointer-events-none","cluster"===this.variant&&"text-white")}"><slot></slot></div></div>`}};ys.styles=[Ve,Je.styles,Ft`:host{display:block}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}`],vs([Ue({reflect:!0})],ys.prototype,"variant",2),vs([Ue({reflect:!0})],ys.prototype,"state",2),vs([Ue({type:Boolean,reflect:!0})],ys.prototype,"animated",2),ys=vs([Qe("sd-map-marker")],ys);const fs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ys}},Symbol.toStringTag,{value:"Module"}));var ws=Object.defineProperty,As=Object.getOwnPropertyDescriptor,xs=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?As(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ws(e,i,s),s};let ks=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"[default]","description","children"),this.vertical=!1,this.size="base",this.current=!1,this.disabled=!1,this.chevron=!1,this.relaxed=!1,this.divider=!1,this.indented=!1,this.open=!1,this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.href&&this.hasSlotController.test("children")}handleClickButton(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}handleClickSummary(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.isAccordion&&!this.isLink?So`summary`:this.separated?So`div`:this.isLink?So`a`:So`button`}render(){const t=this.tag,e=this.isLink,i=this.isButton,o=this.isAccordion,r=(this.hasSlotController.test("[default]"),this.hasSlotController.test("main"),this.hasSlotController.test("description")),s=this.hasSlotController.test("children"),a=this.vertical?"pb-3":"pb-2",n=Bo`<${t} part="base" class="${$e("cursor-pointer relative focus-visible:focus-outline",{base:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",o?"flex flex-col":"inline-block w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-all min-h-[48px] px-4")}" aria-controls="${Mo(o?"navigation-item-details":void 0)}" aria-current="${Mo(this.current?"page":void 0)}" aria-disabled="${this.disabled}" ?disabled="${Mo(i?this.disabled:void 0)}" href="${Mo(e?this.href:void 0)}" target="${Mo(e?this.target:void 0)}" download="${Mo(e?this.download:void 0)}" rel="${Mo(e&&this.target?"noreferrer noopener":void 0)}" role="${e?"link":"button"}" tabindex="${this.disabled||this.separated?"-1":"0"}" @click="${this.separated?void 0:o?this.handleClickSummary:i?this.handleClickButton:void 0}"><div part="current-indicator" class="${$e("absolute left-0 pointer-events-none transition-all duration-150",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-full bottom-0",this.current?"bg-accent":"bg-transparent",this.disabled&&"bg-neutral-500")}"></div><span part="content-area" class="${$e("relative pt-3 inline-flex justify-between items-center",o?"grow":"w-full",r||this.separated?"pb-1":a,this.calculatePaddingX)}">${this.divider&&this.vertical?Bo`<sd-divider part="divider" class="${$e("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated?Bo`<a class="${$e("mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-all min-h-[48px]",!r&&"py-4")}" href="${Mo(e?this.href:void 0)}" target="${Mo(e?this.target:void 0)}" download="${Mo(e?this.download:void 0)}"><slot part="content" class="inline"></slot></a>`:Bo`<slot part="content" class="inline"></slot>`} </span>${(this.chevron||s)&&this.vertical?this.separated?Bo`<button type="button" title="toggle-details" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${$e("mr-4 h-6 w-6 transition-all",o||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:Bo`<sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${$e("h-6 w-6 ml-2 transition-all",o?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${r&&this.vertical?Bo`<slot name="description" part="description" class="${$e("inline-block text-sm text-left text-black",o||this.separated?"grow":"w-full",this.separated?"px-4":this.calculatePaddingX,a)}"></slot>`:""}</${t}>`;return o?Bo`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative flex">${n}<slot name="children"></slot></details>`:this.separated?Bo`<div part="details" id="navigation-item-details" class="relative flex flex-col">${n}${this.open?Bo`<slot name="children"></slot>`:""}</div>`:Bo`${n}`}};ks.styles=[Ve,Je.styles,Pt($i),Ft`:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}`],xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"vertical",2),xs([Ue({reflect:!0})],ks.prototype,"size",2),xs([Ue({reflect:!0})],ks.prototype,"href",2),xs([Ue()],ks.prototype,"target",2),xs([Ue()],ks.prototype,"download",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"current",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"disabled",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"chevron",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"relaxed",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"divider",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"indented",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"open",2),xs([Ue({type:Boolean,reflect:!0})],ks.prototype,"separated",2),ks=xs([Qe("sd-navigation-item")],ks);const Cs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ks}},Symbol.toStringTag,{value:"Module"}));var Ss=Object.defineProperty,Es=Object.getOwnPropertyDescriptor,Bs=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Es(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ss(e,i,s),s};const Is=Object.assign(document.createElement("div"),{className:"sd-toast-stack sd-toast-stack--top-right"}),Ms=Object.assign(document.createElement("div"),{className:"sd-toast-stack sd-toast-stack--bottom-center"});let Ds=class extends Je{constructor(){super(...arguments),this.localize=new S(this),this.variant="info",this.open=!1,this.closable=!1,this.duration=1/0,this.durationIndicator=!1,this.toastStack="top-right",this.remainingDuration=this.duration,this.startTime=Date.now()}firstUpdated(){this.base.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout((()=>this.hide()),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout((()=>{this.hide()}),this.remainingDuration))}handleCloseClick(){this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Si(this.base),this.base.hidden=!1;const{keyframes:t,options:e}=Oi(this,"notification.show",{dir:this.localize.dir()});await xi(this.base,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Si(this.base);const{keyframes:t,options:e}=Oi(this,"notification.hide",{dir:this.localize.dir()});await xi(this.base,t,e),this.base.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,zi(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,zi(this,"sd-after-hide")}async toast(){return new Promise((t=>{const e="bottom-center"===this.toastStack?Ms:Is;null===e.parentElement&&document.body.append(e),e.appendChild(this),requestAnimationFrame((()=>{this.clientWidth,this.show()})),this.addEventListener("sd-after-hide",(()=>{e.removeChild(this),t(),null===e.querySelector("sd-notification")&&e.remove()}),{once:!0})}))}render(){return ye`<div part="base" class="${$e("w-full overflow-hidden flex items-stretch relative m-2")}" role="alert" id="notification" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}"><slot name="icon" part="icon" class="${$e("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="system" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${$e("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400")}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable?ye`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?ye`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${$e("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute bg-neutral-400"></div>`:""}</div>`}};Ds.styles=[Ve,Je.styles,Ft`:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],Bs([Le('[part~="base"]')],Ds.prototype,"base",2),Bs([Ue({reflect:!0})],Ds.prototype,"variant",2),Bs([Ue({type:Boolean,reflect:!0})],Ds.prototype,"open",2),Bs([Ue({type:Boolean,reflect:!0})],Ds.prototype,"closable",2),Bs([Ue({type:Number})],Ds.prototype,"duration",2),Bs([Ue({type:Boolean,reflect:!0,attribute:"duration-indicator"})],Ds.prototype,"durationIndicator",2),Bs([Ue({reflect:!0,attribute:"toast-stack"})],Ds.prototype,"toastStack",2),Bs([mi("open",{waitUntilFirstUpdate:!0})],Ds.prototype,"handleOpenChange",1),Bs([mi("duration")],Ds.prototype,"handleDurationChange",1),Ds=Bs([Qe("sd-notification")],Ds),Di("notification.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Di("notification.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});const Os=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ds}},Symbol.toStringTag,{value:"Module"}));var zs=Object.defineProperty,Ts=Object.getOwnPropertyDescriptor,Ps=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ts(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&zs(e,i,s),s};let Fs=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"default","left","right"),this.current=!1,this.selected=!1,this.hasHover=!1,this.size="lg",this.checkbox=!1,this.disabled=!1,this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){const t=this.getTextLabel();typeof this.cachedTextLabel>"u"?this.cachedTextLabel=t:t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){return(this.textContent??"").trim()}render(){this.hasSlotController.test("default");const t=this.hasSlotController.test("left"),e=this.hasSlotController.test("right");return ye`<div part="base" class="${$e("px-4 flex items-center w-full transition-all text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${$e("absolute w-full left-0 top-0 pointer-events-none transition-all duration-150 border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?ye`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${$e("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"border-neutral-800")}">${this.selected?ye`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-icon>`:""}</span>`:""} ${t?ye`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${e?ye`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};Fs.styles=[Ve,Je.styles,Ft`:host{position:relative;display:block;width:100%;outline:2px solid transparent!important;outline-offset:2px!important}`],Ps([Le('[part="base"]')],Fs.prototype,"defaultSlot",2),Ps([Ge()],Fs.prototype,"current",2),Ps([Ge()],Fs.prototype,"selected",2),Ps([Ge()],Fs.prototype,"hasHover",2),Ps([Ue({reflect:!0})],Fs.prototype,"size",2),Ps([Ue({type:Boolean,reflect:!0})],Fs.prototype,"checkbox",2),Ps([Ue({type:Boolean,reflect:!0})],Fs.prototype,"disabled",2),Ps([Ue({reflect:!0})],Fs.prototype,"value",2),Ps([mi("disabled")],Fs.prototype,"handleDisabledChange",1),Ps([mi("selected")],Fs.prototype,"handleSelectedChange",1),Ps([mi("value")],Fs.prototype,"handleValueChange",1),Fs=Ps([Qe("sd-option")],Fs);const js=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Fs}},Symbol.toStringTag,{value:"Module"}));var Qs=Object.defineProperty,Ys=Object.getOwnPropertyDescriptor,Rs=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ys(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Qs(e,i,s),s};let Us=class extends ji{constructor(){super(...arguments),this.expandable=!1}render(){return ye`<div part="base" class="sm:p-6"><header part="header" id="header" class="${$e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${Mo(this.expandable?"button":void 0)}" aria-expanded="${Mo(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${Mo(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${$e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${$e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${$e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-all ease-in-out duration-300 text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${$e(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${$e(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="${$e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></div>`}};Us.styles=[ji.styles,Ft`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],Rs([Ue({type:Boolean,reflect:!0})],Us.prototype,"expandable",2),Us=Rs([Qe("sd-quickfact")],Us),Di("quickfact.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),Di("quickfact.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});const Gs=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Us}},Symbol.toStringTag,{value:"Module"}));var Hs=Object.defineProperty,Ls=Object.getOwnPropertyDescriptor,qs=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ls(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Hs(e,i,s),s};let Vs=class extends Je{constructor(){super(...arguments),this.hasSlotController=new Li(this,"[default]","icon"),this.hasFocus=!1,this.size="lg",this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.input.focus(t)}blur(){this.input.blur()}render(){const t=this.hasSlotController.test("[default]"),e=this.hasSlotController.test("icon"),i=`${this.size}-${t?"label":"no-label"}`;return ye`<div part="base" role="presentation" class="relative"><button part="${"button"+(this.checked?" button--checked":"")}" role="radio" aria-checked="${this.checked}" class="${$e("relative text-center border rounded-default transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline","sm"===this.size?"text-sm":"text-base",this.checked&&!this.disabled?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500":this.disabled&&!this.checked?"border-neutral-500 text-neutral-500 hover:cursor-not-allowed":this.disabled&&this.checked?"bg-neutral-500 border-neutral-500 text-white hover:cursor-not-allowed":"bg-transparent text-primary border-primary hover:bg-primary-100 hover:border-primary-500 hover:text-primary-500 cursor-pointer",t&&"px-4",this.hasFocus&&"focused-class",t&&"button--has-label",e&&"button--has-icon flex gap-2",i)}" aria-disabled="${this.disabled}" type="button" value="${Mo(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${$e(e&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!e}"></slot>${t?ye`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};Vs.styles=[Je.styles,Ve,Ft`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:var(--sd-spacing-0,0);z-index:-10;opacity:var(--sd-opacity-0,0);outline-style:dotted;outline-width:1px;outline-color:rgb(var(--sd-color-error,204 25 55) / 1)}.lg-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem)}.md-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{height:var(--sd-spacing-10,2.5rem);width:var(--sd-spacing-10,2.5rem)}.sm-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}:host(.sd-button-group__button--first:not(.sd-button-group__button--last)) button{border-top-right-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button--last:not(.sd-button-group__button--first)) button{border-top-left-radius:var(--sd-border-radius-none,0);border-bottom-left-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:-1px}:host(.sd-button-group__button--hover){z-index:10}:host(.sd-button-group__button--focus),:host(.sd-button-group__button[checked]){z-index:20}`],qs([Le(".button")],Vs.prototype,"input",2),qs([Le(".hidden-input")],Vs.prototype,"hiddenInput",2),qs([Ge()],Vs.prototype,"hasFocus",2),qs([Ue({reflect:!0})],Vs.prototype,"size",2),qs([Ue({type:Boolean,reflect:!0})],Vs.prototype,"disabled",2),qs([Ue({type:Boolean,reflect:!0})],Vs.prototype,"checked",2),qs([Ue()],Vs.prototype,"value",2),qs([mi("disabled",{waitUntilFirstUpdate:!0})],Vs.prototype,"handleDisabledChange",1),Vs=qs([Qe("sd-radio-button")],Vs);const $s=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Vs}},Symbol.toStringTag,{value:"Module"})),Zs=Ft`${Ve}:host{display:inline-block}.button-group{display:flex;flex-wrap:nowrap}`;var Ks=Object.defineProperty,Ns=Object.getOwnPropertyDescriptor,Js=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ns(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ks(e,i,s),s};let Ws=class extends Je{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=_s(t.target);null==e||e.classList.add("sd-button-group__button--focus")}handleBlur(t){const e=_s(t.target);null==e||e.classList.remove("sd-button-group__button--focus")}handleMouseOver(t){const e=_s(t.target);null==e||e.classList.add("sd-button-group__button--hover")}handleMouseOut(t){const e=_s(t.target);null==e||e.classList.remove("sd-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach((e=>{const i=t.indexOf(e),o=_s(e);null!==o&&(o.classList.add("sd-button-group__button"),o.classList.toggle("sd-button-group__button--first",0===i),o.classList.toggle("sd-button-group__button--inner",i>0&&i<t.length-1),o.classList.toggle("sd-button-group__button--last",i===t.length-1),o.classList.toggle("sd-button-group__button--radio","sd-radio-button"===o.tagName.toLowerCase()))}))}render(){return ye`<slot part="base" class="button-group" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};function _s(t){const e="sd-button, sd-radio-button";return t.closest(e)??t.querySelector(e)}Ws.styles=Zs,Js([Le("slot")],Ws.prototype,"defaultSlot",2),Js([Ge()],Ws.prototype,"disableRole",2),Js([Ue()],Ws.prototype,"label",2),Ws=Js([Qe("sd-button-group")],Ws);var Xs=Object.defineProperty,ta=Object.getOwnPropertyDescriptor,ea=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?ta(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Xs(e,i,s),s};let ia=class extends Je{constructor(){super(...arguments),this.checked=!1,this.hasFocus=!1,this.size="lg",this.disabled=!1,this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){this.disabled||(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return ye`<span part="base" class="${$e("sd-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",this.disabled&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${this.checked?"control--checked":"control--unchecked"}" class="${$e("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4",this.disabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}">${this.checked?ye`<span part="checked" class="${$e("rounded-full inline-flex text-white border bg-accent h-2.5 w-2.5",this.disabled?"bg-neutral-500":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span>`:""}</span><slot part="label" class="${$e("ml-2 select-none inline-block",this.disabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};ia.styles=[Je.styles,Ft`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:rgb(var(--sd-color-primary,0 53 142) / 1)}`],ea([Ge()],ia.prototype,"checked",2),ea([Ge()],ia.prototype,"hasFocus",2),ea([Ue({reflect:!0})],ia.prototype,"size",2),ea([Ue({type:Boolean,reflect:!0})],ia.prototype,"disabled",2),ea([Ue()],ia.prototype,"value",2),ea([Ue({type:Boolean,reflect:!0})],ia.prototype,"invalid",2),ea([mi("checked")],ia.prototype,"handleCheckedChange",1),ea([mi("disabled",{waitUntilFirstUpdate:!0})],ia.prototype,"handleDisabledChange",1),ia=ea([Qe("sd-radio")],ia);const oa=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ia}},Symbol.toStringTag,{value:"Module"}));var ra=Object.defineProperty,sa=Object.getOwnPropertyDescriptor,aa=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?sa(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ra(e,i,s),s};let na=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this),this.hasSlotController=new Li(this,"label","error-text"),this.customValidityMessage="",this.hasButtonGroup=!1,this.defaultValue="",this.showInvalidStyle=!1,this.size="lg",this.required=!1,this.orientation="vertical",this.label="",this.boldLabel=!1,this.name="option",this.value="",this.form=""}get validity(){const t=this.required&&!this.value;return""!==this.customValidityMessage?xo:t?Ao:wo}get validationMessage(){const t=this.required&&!this.value;return""!==this.customValidityMessage?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){const e=t.target.closest("sd-radio, sd-radio-button"),i=this.getAllRadios(),o=this.value;e.disabled||(this.value=e.value,i.forEach((t=>t.checked=t===e)),this.value!==o&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const e=this.getAllRadios().filter((t=>!t.disabled)),i=e.find((t=>t.checked))??e[0],o=" "===t.key?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,r=this.value;let s=e.indexOf(i)+o;s<0&&(s=e.length-1),s>e.length-1&&(s=0),this.getAllRadios().forEach((t=>{t.checked=!1,this.hasButtonGroup||(t.tabIndex=-1)})),this.value=e[s].value,e[s].checked=!0,this.hasButtonGroup?e[s].shadowRoot.querySelector("button").focus():(e[s].tabIndex=0,e[s].focus()),this.value!==r&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){const t=this.getAllRadios(),e=t.find((t=>t.checked))||t[0];e&&e.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var t,e;const i=this.getAllRadios();if(await Promise.all(i.map((async t=>{await t.updateComplete,t.checked=t.value===this.value,t.size=this.size,t instanceof ia&&(t.invalid=this.showInvalidStyle)}))),this.hasButtonGroup=i.some((t=>"sd-radio-button"===t.tagName.toLowerCase())),!i.some((t=>t.checked)))if(this.hasButtonGroup){const e=null==(t=i[0].shadowRoot)?void 0:t.querySelector("button");e&&(e.tabIndex=0)}else i[0].tabIndex=0;if(this.hasButtonGroup){const t=null==(e=this.shadowRoot)?void 0:e.querySelector("sd-button-group");t&&(t.disableRole=!0)}}syncRadios(){customElements.get("sd-radio")&&customElements.get("sd-radio-button")?this.syncRadioElements():(customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then((()=>this.syncRadios())),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then((()=>this.syncRadios())))}updateCheckedRadio(){this.getAllRadios().forEach((t=>t.checked=t.value===this.value)),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){const t=this.required&&!this.value,e=""!==this.customValidityMessage;return!t&&!e||(this.formControlController.emitInvalidEvent(),!1)}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout((()=>this.validationInput.hidden=!0),1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||!!t,i=ye`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return ye`<fieldset part="form-control" class="${$e("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-labelledby="label" aria-errormessage="error-text"><label part="form-control-label" id="label" class="${$e("mb-2 p-0 leading-normal text-black text-left",!e&&"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${$e("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?ye`<sd-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${i}</sd-button-group>`:i}</div></fieldset>${this.formControlController.renderInvalidMessage()}`}};na.dependencies={"sd-button-group":Ws},na.styles=[Ve,Je.styles,Ft`:host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label::after{content:' *'}`],aa([Le("slot:not([name])")],na.prototype,"defaultSlot",2),aa([Le("#validation-input")],na.prototype,"validationInput",2),aa([Le("#invalid-message")],na.prototype,"invalidMessage",2),aa([Ge()],na.prototype,"hasButtonGroup",2),aa([Ge()],na.prototype,"defaultValue",2),aa([Ge()],na.prototype,"showInvalidStyle",2),aa([Ue({reflect:!0})],na.prototype,"size",2),aa([Ue({type:Boolean,reflect:!0})],na.prototype,"required",2),aa([Ue({reflect:!0})],na.prototype,"orientation",2),aa([Ue()],na.prototype,"label",2),aa([Ue({type:Boolean,reflect:!0})],na.prototype,"boldLabel",2),aa([Ue()],na.prototype,"name",2),aa([Ue({reflect:!0})],na.prototype,"value",2),aa([Ue({reflect:!0})],na.prototype,"form",2),aa([mi("size",{waitUntilFirstUpdate:!0})],na.prototype,"handleSizeChange",1),aa([mi("showInvalidStyle",{waitUntilFirstUpdate:!0})],na.prototype,"handleInvalidChange",1),aa([mi("value")],na.prototype,"handleValueChange",1),na=aa([Qe("sd-radio-group")],na);const la=Object.freeze(Object.defineProperty({__proto__:null,get default(){return na}},Symbol.toStringTag,{value:"Module"}));var da=Object.defineProperty,ha=Object.getOwnPropertyDescriptor,ca=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?ha(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&da(e,i,s),s};let pa=class extends Je{constructor(){super(...arguments),this.orientation="horizontal",this.scrollbars=!1,this.buttons=!1,this.shadows=!1,this.inset=!1,this.step=150,this.canScroll={left:!1,right:!1,up:!1,down:!1},this.isScrollHorizontalEnabled=!1,this.isScrollVerticalEnabled=!1,this.scrollContainer=null}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver((()=>{this.updateScrollIndicatorVisibility()})),this.updateComplete.then((()=>{this.scrollContainer=this.renderRoot.querySelector(".scroll-container"),this.scrollContainer&&this.resizeObserver.observe(this.scrollContainer)}))}disconnectedCallback(){super.disconnectedCallback(),this.scrollContainer&&this.resizeObserver.unobserve(this.scrollContainer)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.updateScrollIndicatorVisibility())}updateScrollEnabledFlags(){const t=this.orientation;this.isScrollHorizontalEnabled="horizontal"===t||"auto"===t,this.isScrollVerticalEnabled="vertical"===t||"auto"===t}get container(){return this.renderRoot.querySelector(".scroll-container")}updateScrollIndicatorVisibility(){const t=this.container;if(t){const e=this.isScrollHorizontalEnabled&&t.scrollLeft>0,i=this.isScrollHorizontalEnabled&&t.scrollLeft+t.clientWidth<t.scrollWidth-1,o=this.isScrollVerticalEnabled&&t.scrollTop>0,r=this.isScrollVerticalEnabled&&t.scrollTop+t.clientHeight<t.scrollHeight-1;this.canScroll={left:e,right:i,up:o,down:r},(e||o)&&this.dispatchEvent(new CustomEvent("start")),(i||r)&&this.dispatchEvent(new CustomEvent("end"))}}handleScroll(t){var e;const i="left"===t||"up"===t?-this.step:this.step,o={behavior:"smooth"};o["left"===t||"right"===t?"left":"top"]=i,null==(e=this.scrollContainer)||e.scrollBy(o);const r=`button-${t}`;this.dispatchEvent(new CustomEvent(r,{bubbles:!0,composed:!0}))}render(){const t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",e="scroll-shadow absolute z-10 pointer-events-none";return ye`<div part="base" class="${$e("scroll-container flex overflow-hidden flex-1","horizontal"===this.orientation&&"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden","vertical"===this.orientation&&"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden","auto"===this.orientation&&"scroll-auto overflow-auto",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset?"p-4":"")}" @scroll="${this.updateScrollIndicatorVisibility}"><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?ye`${this.isScrollHorizontalEnabled?ye`${this.canScroll.left?ye`<div part="button-left" class="absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8"><button part="button-start" class="${$e(t)}" @click="${()=>this.handleScroll("left")}"><slot name="icon-start"><sd-icon library="system" name="chevron-up" class="rotate-[-90deg]"></sd-icon></slot></button></div>`:null} ${this.canScroll.right?ye`<div part="button-right" class="absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8"><button part="button-end" class="${$e(t)}" @click="${()=>this.handleScroll("right")}"><slot name="icon-end"><sd-icon library="system" name="chevron-down" class="rotate-[-90deg]"></sd-icon></slot></button></div>`:null}`:null} ${this.isScrollVerticalEnabled?ye`${this.canScroll.up?ye`<div part="button-top" class="absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8"><button part="button-start" class="${$e(t)}" @click="${()=>this.handleScroll("up")}"><slot name="icon-start"><sd-icon library="system" name="chevron-up"></sd-icon></slot></button></div>`:null} ${this.canScroll.down?ye`<div part="button-bottom" class="absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8"><button part="button-end" class="${$e(t)}" @click="${()=>this.handleScroll("down")}"><slot name="icon-end"><sd-icon library="system" name="chevron-down"></sd-icon></slot></button></div>`:null}`:null}`:null} ${this.shadows?ye`${this.isScrollHorizontalEnabled?ye`${this.canScroll.left?ye`<div part="shadow-left" class="${e} left top-0 left-0 w-[6px] h-full"></div>`:null} ${this.canScroll.right?ye`<div part="shadow-right" class="${e} right top-0 right-0 w-[6px] h-full"></div>`:null}`:null} ${this.isScrollVerticalEnabled?ye`${this.canScroll.up?ye`<div part="shadow-top" class="${e} top top-0 left-0 w-full h-[6px]"></div>`:null} ${this.canScroll.down?ye`<div part="shadow-bottom" class="${e} bottom bottom-0 left-0 w-full h-[6px]"></div>`:null}`:null}`:null}`}};pa.styles=[Je.styles,Pt($i),Ve,Ft`:host{--gradient-color:rgba(255, 255, 255, 0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],ca([Ue({type:String,reflect:!0})],pa.prototype,"orientation",2),ca([Ue({type:Boolean,reflect:!0})],pa.prototype,"scrollbars",2),ca([Ue({type:Boolean,reflect:!0})],pa.prototype,"buttons",2),ca([Ue({type:Boolean,reflect:!0})],pa.prototype,"shadows",2),ca([Ue({type:Boolean,reflect:!0})],pa.prototype,"inset",2),ca([Ue({type:Number,reflect:!0})],pa.prototype,"step",2),ca([Ge()],pa.prototype,"canScroll",2),ca([Ge()],pa.prototype,"isScrollHorizontalEnabled",2),ca([Ge()],pa.prototype,"isScrollVerticalEnabled",2),pa=ca([Qe("sd-scrollable")],pa);const ua=Object.freeze(Object.defineProperty({__proto__:null,get default(){return pa}},Symbol.toStringTag,{value:"Module"}));var ga=Object.defineProperty,ma=Object.getOwnPropertyDescriptor,ba=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?ma(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ga(e,i,s),s};let va=class extends Je{constructor(){super(...arguments),this.size="lg",this.selected=!1,this.removable=!1,this.disabled=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemoveClick(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}render(){const t=this.isLink(),e=t?So`a`:So`button`;return Bo`<${e} part="base" type="${Mo(t?void 0:"button")}" href="${Mo(t?this.href:void 0)}" rel="${Mo(t&&this.target?"noreferrer noopener":void 0)}" target="${Mo(t?this.target:void 0)}" download="${Mo(t?this.download:void 0)}" ?disabled="${Mo(t?void 0:this.disabled)}" aria-disabled="${this.disabled?"true":"false"}" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${$e("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":"border-primary text-primary hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500 disabled:border-neutral-500 disabled:text-neutral-500",this.disabled&&!t&&"cursor-not-allowed")}"><slot part="content"></slot>${this.removable?Bo`<slot part="removable-indicator" name="removable-indicator" @click="${this.handleRemoveClick}" class="${$e({lg:"text-base",sm:"text-[12px]"}[this.size])}"><sd-icon library="system" name="close" label="remove"></sd-icon></slot>`:""}</${e}>`}};va.styles=[Je.styles,Ft`:host{display:inline-block}`],ba([Le("a, button")],va.prototype,"tag",2),ba([Ue({reflect:!0})],va.prototype,"size",2),ba([Ue({type:Boolean,reflect:!0})],va.prototype,"selected",2),ba([Ue({type:Boolean,reflect:!0})],va.prototype,"removable",2),ba([Ue({type:Boolean,reflect:!0})],va.prototype,"disabled",2),ba([Ue()],va.prototype,"href",2),ba([Ue()],va.prototype,"target",2),ba([Ue()],va.prototype,"download",2),va=ba([Qe("sd-tag")],va);const ya=Object.freeze(Object.defineProperty({__proto__:null,get default(){return va}},Symbol.toStringTag,{value:"Module"}));var fa=Object.defineProperty,wa=Object.getOwnPropertyDescriptor,Aa=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?wa(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&fa(e,i,s),s};let xa=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this,{assumeInteractionOn:["sd-blur","sd-input"]}),this.hasSlotController=new Li(this,"help-text","label"),this.localize=new S(this),this.typeToSelectString="",this.hasHover=!1,this.displayLabel="",this.hasFocus=!1,this.selectedOptions=[],this.showValidStyle=!1,this.showInvalidStyle=!1,this.defaultValue="",this.open=!1,this.size="lg",this.placement="bottom",this.label="",this.placeholder=this.localize.term("selectDefaultPlaceholder"),this.disabled=!1,this.helpText="",this.currentPlacement=this.placement,this.clearable=!1,this.multiple=!1,this.useTags=!1,this.maxOptionsVisible=3,this.form="",this.name="",this.value="",this.required=!1,this.styleOnValid=!1,this.hoist=!1,this.getTag=t=>ye`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
97
97
  base:tag__base,
98
98
  content:tag__content,
99
99
  removable-indicator:tag__removable-indicator,
100
- " size="${"sm"===this.size?"sm":"lg"}" removable @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-tag>`,this.handleDocumentFocusIn=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()},this.handleDocumentKeyDown=t=>{const e=t.target,i=null!==e.closest(".select__clear"),r=null!==e.closest("sd-icon-button");if(!i&&!r){if("Escape"===t.key&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})),"Enter"===t.key||" "===t.key&&""===this.typeToSelectString)return t.preventDefault(),t.stopImmediatePropagation(),this.open?void(this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))):void this.show();if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=this.getAllOptions(),i=e.indexOf(this.currentOption);let r=Math.max(0,i);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;"ArrowDown"===t.key?(r=i+1,r>e.length-1&&(r=0)):"ArrowUp"===t.key?(r=i-1,r<0&&(r=e.length-1)):"Home"===t.key?r=0:"End"===t.key&&(r=e.length-1),this.setCurrentOption(e[r])}if(1===t.key.length||"Backspace"===t.key){const e=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if("Backspace"===t.key)return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout((()=>this.typeToSelectString=""),1e3),"Backspace"===t.key?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(const t of e)if(t.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(t);break}}}},this.handleDocumentMouseDown=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.applySizeToOptions(),this.open=!1}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(t){const e=t.composedPath().some((t=>t instanceof HTMLSlotElement&&"removable-indicator"===t.name));this.disabled||e||(t.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),""!==this.value&&(this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then((()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})))}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){const e=t.target.closest("sd-option"),i=this.value;e&&!e.disabled&&(this.multiple?this.toggleOptionSelection(e):this.setSelectedOptions(e),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))),this.value!==i&&this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}handleDefaultSlotChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],i=[];customElements.get("sd-option")?(t.forEach((t=>{this.multiple&&(t.checkbox=!0),i.push(t.value)})),this.setSelectedOptions(t.filter((t=>e.includes(t.value))))):customElements.whenDefined("sd-option").then((()=>this.handleDefaultSlotChange()))}handleTagRemove(t,e){t.stopPropagation(),this.disabled||(this.toggleOptionSelection(e,!1),this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})))}getAllOptions(){return[...this.querySelectorAll("sd-option")]}getFirstOption(){return this.querySelector("sd-option")}setCurrentOption(t){this.getAllOptions().forEach((t=>{t.current=!1,t.tabIndex=-1})),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus())}setSelectedOptions(t){const e=this.getAllOptions(),i=Array.isArray(t)?t:[t];e.forEach((t=>t.selected=!1)),i.length&&i.forEach((t=>t.selected=!0)),this.selectionChanged()}toggleOptionSelection(t,e){t.selected=!0===e||!1===e?e:!t.selected,this.selectionChanged()}selectionChanged(){var t,e;this.selectedOptions=this.getAllOptions().filter((t=>t.selected)),this.multiple?(this.value=this.selectedOptions.map((t=>t.value)),this.useTags||0===this.value.length?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length)):(this.value=(null==(t=this.selectedOptions[0])?void 0:t.value)??"",this.displayLabel=(null==(e=this.selectedOptions[0])?void 0:e.getTextLabel())??""),this.updateComplete.then((()=>{this.formControlController.updateValidity()}))}get tags(){return this.selectedOptions.map(((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){const i=this.getTag(t,e);return fe`<div @sd-remove="${e=>this.handleTagRemove(e,t)}">${"string"==typeof i?pi(i):i}</div>`}return e===this.maxOptionsVisible?fe`<sd-tag size="${"sm"===this.size?"sm":"lg"}" ?disabled="${this.disabled}">+${this.selectedOptions.length-e}</sd-tag>`:fe``}))}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleCurrentPlacement(t){const e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){const t=this.getAllOptions();customElements.get("sd-option")&&t.forEach((t=>{t.checkbox=this.multiple}))}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&!this.disabled){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await Si(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame((()=>{this.setCurrentOption(this.currentOption)}));const{keyframes:t,options:e}=Ai(this,"select.show",{dir:this.localize.dir()});await ki(this.popup.popup,t,e),this.currentOption&&co(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await Si(this);const{keyframes:t,options:e}=Ai(this,"select.hide",{dir:this.localize.dir()});await ki(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach((t=>{t.size=this.size}))}handleValueChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter((t=>e.includes(t.value))))}async show(){if(!this.open&&!this.disabled)return this.open=!0,Ti(this,"sd-after-show");this.open=!1}async hide(){if(this.open&&!this.disabled)return this.open=!1,Ti(this,"sd-after-hide");this.open=!1}checkValidity(){var t;return null==(t=this.valueInput)?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}render(){this.hasSlotController.test("[default]");const t=this.hasSlotController.test("label"),e=(this.hasSlotController.test("clear-icon"),this.hasSlotController.test("expand-icon"),this.hasSlotController.test("help-text")),i=!!this.label||!!t,r=!!this.helpText||!!e,o=this.clearable&&!this.disabled&&this.value.length>0,s=this.disabled?"disabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",a=this.disabled?"cursor-not-allowed":"cursor-pointer",n={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],l={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return fe`<div part="form-control" class="${Ke("relative text-left",a,"sm"===this.size?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${i&&"inline-block mb-2"}" aria-hidden="${i?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${Ke("relative w-full bg-white","disabled"===s?"text-neutral-500":"text-black")}"><div part="border" class="${Ke("absolute top-0 w-full h-full pointer-events-none border rounded-default",this.hasHover&&"bg-neutral-200",{disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[s],this.open&&("bottom"===this.currentPlacement?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${Ke("inline-flex relative w-full","bottom"===this.currentPlacement?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
100
+ " size="${"sm"===this.size?"sm":"lg"}" removable @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-tag>`,this.handleDocumentFocusIn=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()},this.handleDocumentKeyDown=t=>{const e=t.target,i=null!==e.closest(".select__clear"),o=null!==e.closest("sd-icon-button");if(!i&&!o){if("Escape"===t.key&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})),"Enter"===t.key||" "===t.key&&""===this.typeToSelectString)return t.preventDefault(),t.stopImmediatePropagation(),this.open?void(this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))):void this.show();if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=this.getAllOptions(),i=e.indexOf(this.currentOption);let o=Math.max(0,i);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;"ArrowDown"===t.key?(o=i+1,o>e.length-1&&(o=0)):"ArrowUp"===t.key?(o=i-1,o<0&&(o=e.length-1)):"Home"===t.key?o=0:"End"===t.key&&(o=e.length-1),this.setCurrentOption(e[o])}if(1===t.key.length||"Backspace"===t.key){const e=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if("Backspace"===t.key)return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout((()=>this.typeToSelectString=""),1e3),"Backspace"===t.key?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(const t of e)if(t.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(t);break}}}},this.handleDocumentMouseDown=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.applySizeToOptions(),this.open=!1}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(t){const e=t.composedPath().some((t=>t instanceof HTMLSlotElement&&"removable-indicator"===t.name));this.disabled||e||(t.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),""!==this.value&&(this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then((()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})))}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){const e=t.target.closest("sd-option"),i=this.value;e&&!e.disabled&&(this.multiple?this.toggleOptionSelection(e):this.setSelectedOptions(e),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))),this.value!==i&&this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}handleDefaultSlotChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],i=[];customElements.get("sd-option")?(t.forEach((t=>{this.multiple&&(t.checkbox=!0),i.push(t.value)})),this.setSelectedOptions(t.filter((t=>e.includes(t.value))))):customElements.whenDefined("sd-option").then((()=>this.handleDefaultSlotChange()))}handleTagRemove(t,e){t.stopPropagation(),this.disabled||(this.toggleOptionSelection(e,!1),this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})))}getAllOptions(){return[...this.querySelectorAll("sd-option")]}getFirstOption(){return this.querySelector("sd-option")}setCurrentOption(t){this.getAllOptions().forEach((t=>{t.current=!1,t.tabIndex=-1})),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus())}setSelectedOptions(t){const e=this.getAllOptions(),i=Array.isArray(t)?t:[t];e.forEach((t=>t.selected=!1)),i.length&&i.forEach((t=>t.selected=!0)),this.selectionChanged()}toggleOptionSelection(t,e){t.selected=!0===e||!1===e?e:!t.selected,this.selectionChanged()}selectionChanged(){var t,e;this.selectedOptions=this.getAllOptions().filter((t=>t.selected)),this.multiple?(this.value=this.selectedOptions.map((t=>t.value)),this.useTags||0===this.value.length?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length)):(this.value=(null==(t=this.selectedOptions[0])?void 0:t.value)??"",this.displayLabel=(null==(e=this.selectedOptions[0])?void 0:e.getTextLabel())??""),this.updateComplete.then((()=>{this.formControlController.updateValidity()}))}get tags(){return this.selectedOptions.map(((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){const i=this.getTag(t,e);return ye`<div @sd-remove="${e=>this.handleTagRemove(e,t)}">${"string"==typeof i?pi(i):i}</div>`}return e===this.maxOptionsVisible?ye`<sd-tag size="${"sm"===this.size?"sm":"lg"}" ?disabled="${this.disabled}">+${this.selectedOptions.length-e}</sd-tag>`:ye``}))}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleCurrentPlacement(t){const e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){const t=this.getAllOptions();customElements.get("sd-option")&&t.forEach((t=>{t.checkbox=this.multiple}))}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&!this.disabled){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await Si(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame((()=>{this.setCurrentOption(this.currentOption)}));const{keyframes:t,options:e}=Oi(this,"select.show",{dir:this.localize.dir()});await xi(this.popup.popup,t,e),this.currentOption&&pr(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await Si(this);const{keyframes:t,options:e}=Oi(this,"select.hide",{dir:this.localize.dir()});await xi(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach((t=>{t.size=this.size}))}handleValueChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter((t=>e.includes(t.value))))}async show(){if(!this.open&&!this.disabled)return this.open=!0,zi(this,"sd-after-show");this.open=!1}async hide(){if(this.open&&!this.disabled)return this.open=!1,zi(this,"sd-after-hide");this.open=!1}checkValidity(){var t;return null==(t=this.valueInput)?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}render(){this.hasSlotController.test("[default]");const t=this.hasSlotController.test("label"),e=(this.hasSlotController.test("clear-icon"),this.hasSlotController.test("expand-icon"),this.hasSlotController.test("help-text")),i=!!this.label||!!t,o=!!this.helpText||!!e,r=this.clearable&&!this.disabled&&this.value.length>0,s=this.disabled?"disabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",a=this.disabled?"cursor-not-allowed":"cursor-pointer",n={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],l={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return ye`<div part="form-control" class="${$e("relative text-left",a,"sm"===this.size?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${i&&"inline-block mb-2"}" aria-hidden="${i?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${$e("relative w-full bg-white","disabled"===s?"text-neutral-500":"text-black")}"><div part="border" class="${$e("absolute top-0 w-full h-full pointer-events-none border rounded-default",this.hasHover&&"bg-neutral-200",{disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[s],this.open&&("bottom"===this.currentPlacement?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${$e("inline-flex relative w-full","bottom"===this.currentPlacement?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
101
101
  popup:popup__content,
102
- "><div part="combobox" class="${Ke("relative w-full px-4 flex flex-row items-center rounded-default",this.open&&"shadow",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><input name="${this.name}" form="${this.form}" part="display-input" class="${Ke("appearance-none outline-none flex-grow bg-transparent w-full",a,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" type="text" placeholder="${this.placeholder}" .disabled="${this.disabled}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled?"true":"false"}" aria-describedby="help-text" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${this.multiple&&this.useTags?fe`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>`:""} <input class="${Ke("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",a)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?fe`<button part="clear-button" class="${Ke("select__clear flex justify-center",n)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${Ke("text-icon-fill-neutral-800",l)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?fe`<sd-icon part="invalid-icon" class="${Ke(n,l,"text-error")}" library="system" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?fe`<sd-icon part="valid-icon" class="${Ke("flex-shrink-0 text-success",n,l)}" library="system" name="status-check"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${Ke("inline-flex ml-2 transition-all",this.open?"rotate-180":"rotate-0",this.disabled?"text-neutral-500":"text-primary",l)}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${Ke("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow","bottom"===this.currentPlacement?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700" part="form-control-help-text" id="help-text" aria-hidden="${r?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};xa.dependencies={"sd-icon":wi,"sd-popup":ti,"sd-tag":ga},xa.styles=[Ne,Xe.styles,Dt`:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll}sd-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249) / var(--tw-bg-opacity))}`],wa([qe({selector:"sd-option"})],xa.prototype,"_optionsInDefaultSlot",2),wa([He("sd-popup")],xa.prototype,"popup",2),wa([He('[part="combobox"]')],xa.prototype,"combobox",2),wa([He('[part="display-input"]')],xa.prototype,"displayInput",2),wa([He(".value-input")],xa.prototype,"valueInput",2),wa([He('[part="listbox"]')],xa.prototype,"listbox",2),wa([He("#invalid-message")],xa.prototype,"invalidMessage",2),wa([Ue()],xa.prototype,"hasHover",2),wa([Ue()],xa.prototype,"displayLabel",2),wa([Ue()],xa.prototype,"hasFocus",2),wa([Ue()],xa.prototype,"currentOption",2),wa([Ue()],xa.prototype,"selectedOptions",2),wa([Ue()],xa.prototype,"showValidStyle",2),wa([Ue()],xa.prototype,"showInvalidStyle",2),wa([Qr()],xa.prototype,"defaultValue",2),wa([Fe({type:Boolean,reflect:!0})],xa.prototype,"open",2),wa([Fe({reflect:!0})],xa.prototype,"size",2),wa([Fe({reflect:!0})],xa.prototype,"placement",2),wa([Fe()],xa.prototype,"label",2),wa([Fe()],xa.prototype,"placeholder",2),wa([Fe({type:Boolean,reflect:!0})],xa.prototype,"disabled",2),wa([Fe({attribute:"help-text"})],xa.prototype,"helpText",2),wa([Ue()],xa.prototype,"currentPlacement",2),wa([Fe({type:Boolean})],xa.prototype,"clearable",2),wa([Fe({type:Boolean,reflect:!0})],xa.prototype,"multiple",2),wa([Fe({type:Boolean,reflect:!0})],xa.prototype,"useTags",2),wa([Fe({attribute:"max-options-visible",type:Number})],xa.prototype,"maxOptionsVisible",2),wa([Fe({reflect:!0})],xa.prototype,"form",2),wa([Fe()],xa.prototype,"name",2),wa([Fe({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],xa.prototype,"value",2),wa([Fe({type:Boolean,reflect:!0})],xa.prototype,"required",2),wa([Fe({type:Boolean,reflect:!0,attribute:"style-on-valid"})],xa.prototype,"styleOnValid",2),wa([Fe({type:Boolean})],xa.prototype,"hoist",2),wa([Fe()],xa.prototype,"getTag",2),wa([mi("useTags",{waitUntilFirstUpdate:!0})],xa.prototype,"handleUseTagsChange",1),wa([mi("disabled",{waitUntilFirstUpdate:!0})],xa.prototype,"handleDisabledChange",1),wa([mi("open",{waitUntilFirstUpdate:!0})],xa.prototype,"handleOpenChange",1),wa([mi("size",{waitUntilFirstUpdate:!0})],xa.prototype,"applySizeToOptions",1),wa([mi("value",{waitUntilFirstUpdate:!0})],xa.prototype,"handleValueChange",1),xa=wa([Be("sd-select")],xa),Ei("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),Ei("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});const ka=Object.freeze(Object.defineProperty({__proto__:null,get default(){return xa}},Symbol.toStringTag,{value:"Module"}));var $a=Object.defineProperty,Ca=Object.getOwnPropertyDescriptor,Sa=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ca(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&$a(e,i,s),s};let za=class extends Xe{constructor(){super(...arguments),this.steps=[],this.size="lg",this.orientation="horizontal",this.activeStep=0,this.notInteractive=!1}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{let t;this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0,this.steps.forEach(((e,i)=>{e.index=i+1,e.size=this.size,e.orientation=this.orientation,this.notInteractive?(e.current=!1,e.disabled=!1,e.notInteractive=!0):e.current&&(t=i)})),this.setActiveStep(t||this.activeStep)}))}updateSize(){this.steps.forEach((t=>{t.size=this.size}))}updateOrientation(){this.steps.forEach((t=>{t.orientation=this.orientation}))}getAllSteps(){return[...this.body.assignedElements()].filter((t=>"sd-step"===t.tagName.toLowerCase()))}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach(((e,i)=>{i===t?e.current=!0:i>t?e.disabled=!0:e.current=!1})))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach((t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0}))}render(){return fe`<div part="base" role="${this.notInteractive?"group":"navigation"}" class="${Ke("flex","vertical"===this.orientation&&"flex-col h-full")}"><slot part="body"></slot></div>`}};za.styles=[Xe.styles,Ne,Dt`:host{width:-moz-max-content;width:max-content}`],Sa([He("[part=body]")],za.prototype,"body",2),Sa([Fe({reflect:!0})],za.prototype,"size",2),Sa([Fe({reflect:!0})],za.prototype,"orientation",2),Sa([Fe({type:Number,reflect:!0,attribute:"active-step"})],za.prototype,"activeStep",2),Sa([Fe({type:Boolean,reflect:!0,attribute:"not-interactive"})],za.prototype,"notInteractive",2),Sa([mi("size",{waitUntilFirstUpdate:!0})],za.prototype,"updateSize",1),Sa([mi("orientation",{waitUntilFirstUpdate:!0})],za.prototype,"updateOrientation",1),Sa([mi("notInteractive")],za.prototype,"handleInteractivityChange",1),za=Sa([Be("sd-step-group")],za);const _a=Object.freeze(Object.defineProperty({__proto__:null,get default(){return za}},Symbol.toStringTag,{value:"Module"}));var Pa=Object.defineProperty,Oa=Object.getOwnPropertyDescriptor,Ea=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Oa(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Pa(e,i,s),s};let Aa=class extends Xe{constructor(){super(...arguments),this.size="lg",this.orientation="horizontal",this.disabled=!1,this.current=!1,this.noTail=!1,this.notInteractive=!1,this.label="",this.description="",this.index=1,this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1)}handleDisabledChange(){this.disabled&&(this.current=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1)}render(){const t=this.isLink(),e=this.notInteractive?$r`div`:t?$r`a`:$r`button`;return Sr`<div part="base" class="${Ke("flex pt-1","horizontal"===this.orientation?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-min overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${Ke("flex shrink-0 gap-2",this.noTail&&"w-max","horizontal"===this.orientation?"flex-row":"flex-col items-stretch","horizontal"===this.orientation?"lg"===this.size?"translateLg":"translateSm":"lg"===this.size?"mt-1":"mt-3")}"><${e} part="circle" ?disabled="${this.disabled}" tabindex="${this.disabled||this.current?"-1":"0"}" href="${_r(t?this.href:void 0)}" aria-current="${this.current?"step":void 0}" aria-label="Step ${this.index}" class="${Ke("border rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled||this.current?"focus-visible:outline-none":"focus-visible:focus-outline",this.notInteractive?"lg"===this.size?"w-[72px]":"w-12":"lg"===this.size?"w-12":"w-8",this.disabled&&"border-neutral-400 text-neutral-500",!this.disabled&&!this.current&&!this.notInteractive&&"border-primary group-hover:bg-primary-100 group-hover:border-primary-500",this.notInteractive?"border-neutral-400":"group-hover:cursor-pointer",this.current&&"bg-accent border-none text-white")}"><slot name="circle-content" class="${Ke(!this.disabled&&!this.current&&!this.notInteractive&&"text-primary group-hover:text-primary-500 group-hover:fill-primary-500",this.notInteractive&&"text-primary","lg"===this.size?"text-lg":"text-sm")}">${this.disabled||this.current||this.notInteractive?Sr`${this.index}`:Sr`<sd-icon name="status-check" library="system"></sd-icon>`}</slot></${e}>${this.noTail?"":Sr`<div part="tail" class="${Ke("horizontal"===this.orientation?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",this.disabled||this.current||this.notInteractive?"border-neutral-400":" border-primary group-hover:border-primary-500")}"></div>`}</div><div part="text-container" class="${Ke("mt-4 mr-4 break-words flex flex-col gap-2","horizontal"===this.orientation?"text-center w-40":"w-max text-left",this.disabled&&"!text-neutral-500")}"><div part="label" class="${Ke("!font-bold sd-paragraph",this.disabled&&"!text-neutral-500",this.disabled||this.current||this.notInteractive?"text-black":"!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer")}"><slot name="label">${this.label}</slot></div><div part="description" class="${Ke("sd-paragraph sd-paragraph--size-sm",this.disabled&&"!text-neutral-500")}">${this.description||Sr`<slot></slot>`}</div></div></div>`}};Aa.styles=[Xe.styles,Ne,Mt(".sd-paragraph,.sd-prose p{font-size:var(--sd-font-size-base,1rem)}.sd-paragraph,.sd-paragraph--size-sm,.sd-prose p,.sd-prose p--size-sm{font-weight:400;line-height:var(--sd-line-height-normal,150%);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.sd-paragraph--size-sm,.sd-prose p--size-sm{font-size:var(--sd-font-size-sm,.875rem)}.sd-paragraph--inverted,.sd-prose--inverted p{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}"),Dt`:host{flex:1 1 0%}:host([no-tail]){flex-grow:0}.translateLg{transform:translateX(55px)}.translateSm{transform:translateX(64px)}`],Ea([Fe({reflect:!0})],Aa.prototype,"size",2),Ea([Fe({reflect:!0})],Aa.prototype,"orientation",2),Ea([Fe({type:Boolean,reflect:!0})],Aa.prototype,"disabled",2),Ea([Fe({type:Boolean,reflect:!0})],Aa.prototype,"current",2),Ea([Fe({reflect:!0,type:Boolean,attribute:"no-tail"})],Aa.prototype,"noTail",2),Ea([Fe({type:Boolean,reflect:!0,attribute:"not-interactive"})],Aa.prototype,"notInteractive",2),Ea([Fe()],Aa.prototype,"label",2),Ea([Fe()],Aa.prototype,"description",2),Ea([Fe({type:Number,reflect:!0,attribute:"index"})],Aa.prototype,"index",2),Ea([Fe()],Aa.prototype,"href",2),Ea([mi("current")],Aa.prototype,"handleCurrentChange",1),Ea([mi("disabled")],Aa.prototype,"handleDisabledChange",1),Ea([mi("notInteractive")],Aa.prototype,"handleInteractivityChange",1),Aa=Ea([Be("sd-step")],Aa);const Ta=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Aa}},Symbol.toStringTag,{value:"Module"}));var La=Object.defineProperty,Ma=Object.getOwnPropertyDescriptor,Da=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ma(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&La(e,i,s),s};let ja=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.showInvalidStyle=!1,this.title="",this.name="",this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return fe`<label part="base" class="${Ke("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${_r(this.value)}" .checked="${eo(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${Ke("relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100\n peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2\n peer-focus-visible:outline-primary",this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?"border-error bg-error hover:bg-error-400":this.checked?"border-accent bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${Ke("w-2.5 h-2.5 rounded-full transition-transform ease-in-out duration-200",this.disabled&&this.checked?"bg-white":this.disabled?"-translate-x-2 bg-neutral-500":this.showInvalidStyle?"bg-white -translate-x-2":this.checked?"translate-x-2 bg-white":"bg-neutral-800 -translate-x-2")}"></span> </span><span part="label" id="label" class="${Ke("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};ja.styles=[Xe.styles,Dt`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host([required]) #label::after{content:' *'}`],Da([He("input")],ja.prototype,"input",2),Da([He("#invalid-message")],ja.prototype,"invalidMessage",2),Da([Ue()],ja.prototype,"showInvalidStyle",2),Da([Fe()],ja.prototype,"title",2),Da([Fe()],ja.prototype,"name",2),Da([Fe()],ja.prototype,"value",2),Da([Fe({type:Boolean,reflect:!0})],ja.prototype,"disabled",2),Da([Fe({type:Boolean,reflect:!0})],ja.prototype,"checked",2),Da([Qr("checked")],ja.prototype,"defaultChecked",2),Da([Fe({reflect:!0})],ja.prototype,"form",2),Da([Fe({type:Boolean,reflect:!0})],ja.prototype,"required",2),Da([mi("disabled",{waitUntilFirstUpdate:!0})],ja.prototype,"handleDisabledChange",1),Da([mi(["checked"],{waitUntilFirstUpdate:!0})],ja.prototype,"handleStateChange",1),ja=Da([Be("sd-switch")],ja);const Ba=Object.freeze(Object.defineProperty({__proto__:null,get default(){return ja}},Symbol.toStringTag,{value:"Module"}));var Va=Object.defineProperty,Ia=Object.getOwnPropertyDescriptor,Fa=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Ia(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Va(e,i,s),s};let Ua=class extends Xe{constructor(){super(...arguments),this.localize=new S(this),this.tabs=[],this.panels=[],this.hasScrollControls=!1,this.variant="default",this.activation="auto"}connectedCallback(){const t=Promise.all([customElements.whenDefined("sd-tab"),customElements.whenDefined("sd-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>{this.updateScrollControls()})),this.mutationObserver=new MutationObserver((t=>{t.some((t=>!["aria-labelledby","aria-controls"].includes(t.attributeName)))&&setTimeout((()=>this.setAriaLabels())),t.some((t=>"disabled"===t.attributeName))&&this.syncTabsAndPanels()})),this.updateComplete.then((()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),t.then((()=>{new IntersectionObserver(((t,e)=>{t[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab(this.activeTab??this.tabs[0],{emitEvents:!1}),e.unobserve(t[0].target))})).observe(this.tabGroup)}))}))}disconnectedCallback(){this.mutationObserver.disconnect(),this.resizeObserver.unobserve(this.nav)}getAllTabs(t={includeDisabled:!0}){return[...this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()].filter((e=>t.includeDisabled?"sd-tab"===e.tagName.toLowerCase():"sd-tab"===e.tagName.toLowerCase()&&!e.disabled))}getAllPanels(){return[...this.body.assignedElements()].filter((t=>"sd-tab-panel"===t.tagName.toLowerCase()))}getActiveTab(){return this.tabs.find((t=>t.matches(":focus")))}handleClick(t){const e=t.target.closest("sd-tab");(null==e?void 0:e.closest("sd-tab-group"))===this&&null!==e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){const e=t.target.closest("sd-tab");if((null==e?void 0:e.closest("sd-tab-group"))===this){if(["Enter"," "].includes(t.key)&&null!==e&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){const t=this.tabs.indexOf(this.getActiveTab());null!==e&&co(this.tabs[t+1],this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){const t=this.tabs.indexOf(this.getActiveTab());null!==e&&co(this.tabs[t-1],this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=this.tabs.find((t=>t.matches(":focus"))),i="rtl"===this.localize.dir();if("sd-tab"===(null==e?void 0:e.tagName.toLowerCase())){let r=this.tabs.indexOf(e);"Home"===t.key?r=0:"End"===t.key?r=this.tabs.length-1:t.key===(i?"ArrowRight":"ArrowLeft")||"ArrowUp"===t.key?r--:(t.key===(i?"ArrowLeft":"ArrowRight")||"ArrowDown"===t.key)&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),"auto"===this.activation&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),co(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScrollToStart(){this.nav.scroll({left:"rtl"===this.localize.dir()?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:"rtl"===this.localize.dir()?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,e){if(e={emitEvents:!0,scrollBehavior:"auto",...e},t!==this.activeTab&&!t.disabled){const i=this.activeTab;this.activeTab=t,this.tabs.map((t=>t.active=t===this.activeTab)),this.panels.map((t=>{var e;return t.active=t.name===(null==(e=this.activeTab)?void 0:e.panel)})),co(this.activeTab,this.nav,"horizontal",e.scrollBehavior),e.emitEvents&&(i&&this.emit("sd-tab-hide",{detail:{name:i.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach((t=>{const e=this.panels.find((e=>e.name===t.panel));e&&(t.setAttribute("aria-controls",e.getAttribute("id")),e.setAttribute("aria-labelledby",t.getAttribute("id")))}))}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.updateComplete.then((()=>this.updateScrollControls())),0!==this.tabs.length&&"container"===this.tabs[0].variant&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}show(t){const e=this.tabs.find((e=>e.panel===t));e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}render(){const t="rtl"===this.localize.dir();return fe`<div part="base" class="${Ke("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${Ke(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?fe`<button part="scroll-button--start" exportparts="base:scroll-button__base" class="${Ke("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10","rtl"===this.localize.dir()&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-icon library="system" name="${t?"chevron-up":"chevron-down"}" class="${Ke("h-6 w-12 rotate-90 grid place-items-center")}"></sd-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${Ke("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full h-0.25 bg-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?fe`<button part="scroll-button--end" exportparts="base:scroll-button__base" class="${Ke("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10","rtl"===this.localize.dir()&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-icon library="system" name="${t?"chevron-down":"chevron-up"}" class="${Ke("h-6 w-12 rotate-90 grid place-items-center")}"></sd-icon></button>`:""}</div><slot part="body" class="${Ke("block auto py-8 px-6","container"===this.variant&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};Ua.styles=[Xe.styles,Mt(Ki),Ne,Dt`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}::slotted(sd-tab-panel){--padding:1rem 0}`],Fa([He("[part=base]")],Ua.prototype,"tabGroup",2),Fa([He("[part=body]")],Ua.prototype,"body",2),Fa([He("[part=scroll-container]")],Ua.prototype,"nav",2),Fa([Ue()],Ua.prototype,"hasScrollControls",2),Fa([Ue()],Ua.prototype,"variant",2),Fa([Fe()],Ua.prototype,"activation",2),Ua=Fa([Be("sd-tab-group")],Ua);const Ra=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ua}},Symbol.toStringTag,{value:"Module"}));var Ha=Object.defineProperty,qa=Object.getOwnPropertyDescriptor,Na=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?qa(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Ha(e,i,s),s};let Ka=0,Za=class extends Xe{constructor(){super(...arguments),this.attrId=++Ka,this.componentId=`sd-tab-panel-${this.attrId}`,this.name="",this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return fe`<slot part="base" class="${Ke("block",this.active&&"tab-panel--active")}"></slot>`}};Za.styles=[Xe.styles,Ne,Dt`:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],Na([Fe({reflect:!0})],Za.prototype,"name",2),Na([Fe({type:Boolean,reflect:!0})],Za.prototype,"active",2),Na([mi("active")],Za.prototype,"handleActiveChange",1),Za=Na([Be("sd-tab-panel")],Za);const Wa=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Za}},Symbol.toStringTag,{value:"Module"}));var Ya=Object.defineProperty,Xa=Object.getOwnPropertyDescriptor,Ga=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?Xa(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Ya(e,i,s),s};let Ja=0,Qa=class extends Xe{constructor(){super(...arguments),this.attrId=++Ja,this.componentId=`sd-tab-${this.attrId}`,this.variant="default",this.active=!1,this.disabled=!1,this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.tab.focus(t)}blur(){this.tab.blur()}render(){return this.id=this.id.length>0?this.id:this.componentId,fe`<div part="base" class="${Ke("inline-flex min-w-max h-12 px-3 leading-none items-center justify-center whitespace-nowrap select-none cursor-pointer group relative focus-visible:focus-outline outline-2 !-outline-offset-2","container"===this.variant&&" rounded-[4px_4px_0_0]","container"===this.variant&&this.active&&"tab--active-container-border bg-white",this.disabled?"opacity-50 !cursor-not-allowed":"hover:bg-neutral-200")}" tabindex="${this.disabled?"-1":"0"}"><slot name="left" class="${Ke("pr-2",this.disabled?"text-neutral-500":"text-primary")}"></slot><slot class="${Ke(this.disabled?"text-neutral-500":"text-primary")}"></slot><div part="active-tab-indicator" class="${Ke((!this.active||this.disabled)&&"hidden","absolute bottom-0 h-1 bg-accent","default"===this.variant?"w-full":"w-3/4 group-hover:w-full transition-all duration-200 ease-in-out")}"></div><div part="hover-bottom-border" class="${Ke(!this.active&&!this.disabled&&"absolute w-full h-0.25 bottom-0 border-b border-neutral-400 invisible group-hover:visible")}"></div></div>`}};Qa.styles=[Xe.styles,Ne,Dt`:host{box-sizing:border-box;display:block}.tab--active-container-border::after{content:'';position:absolute;height:100%;width:100%;border-width:1px;--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195) / var(--tw-border-opacity));border-bottom:none;border-radius:4px 4px 0 0}`],Ga([He("[part=base]")],Qa.prototype,"tab",2),Ga([Fe({type:String,reflect:!0})],Qa.prototype,"variant",2),Ga([Fe({type:Boolean,reflect:!0})],Qa.prototype,"active",2),Ga([Fe({type:Boolean,reflect:!0})],Qa.prototype,"disabled",2),Ga([Fe({reflect:!0})],Qa.prototype,"panel",2),Ga([mi("active")],Qa.prototype,"handleActiveChange",1),Ga([mi("disabled")],Qa.prototype,"handleDisabledChange",1),Qa=Ga([Be("sd-tab")],Qa);const tn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Qa}},Symbol.toStringTag,{value:"Module"}));var en=Object.defineProperty,rn=Object.getOwnPropertyDescriptor,on=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?rn(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&en(e,i,s),s};let sn=class extends Xe{constructor(){super(...arguments),this.variant="white",this.hasSlotController=new Hi(this,"[default]","media","meta","headline","expandable")}render(){const t={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return fe`<div class="relative flex flex-col group" part="base"><div class="${Ke("mb-4",!t["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${Ke("flex-1","gradient-white"===this.variant&&"bg-gradient-to-t from-white/[.8] to-60%","gradient-dark"===this.variant&&"bg-gradient-to-t from-primary-800/[.6] to-60%")}"></div><div class="${Ke({white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"bg-neutral-100/[.8] group-hover:bg-neutral-100/90",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"bg-primary-100/[.8] group-hover:bg-primary-100/90","gradient-white":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/[.6] text-white"}[this.variant])}"><div class="flex-col text-left p-4" part="content"><div part="meta" class="${Ke("gap-2 mb-4",!t["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div><div part="headline" class="text-lg font-bold m-0"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div class="${Ke("hidden",t["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable"><slot name="expandable"></slot></div><div part="main" class="${Ke(!t["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div></div>`}};sn.styles=[Xe.styles,Dt`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){margin:var(--sd-spacing-0,0)!important;font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700}`],on([Fe({reflect:!0})],sn.prototype,"variant",2),on([He('[part="base"]')],sn.prototype,"teaserMedia",2),sn=on([Be("sd-teaser-media")],sn);const an=Object.freeze(Object.defineProperty({__proto__:null,get default(){return sn}},Symbol.toStringTag,{value:"Module"}));var nn=Object.defineProperty,ln=Object.getOwnPropertyDescriptor,dn=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?ln(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&nn(e,i,s),s};let hn=class extends Xe{constructor(){super(...arguments),this.variant="white",this.breakpoint=448,this.inset=!1,this.hasSlotController=new Hi(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),0===this.breakpoint?this._orientation="horizontal":9999===this.breakpoint?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.updateOrientation())),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(t){super.updated(t),t.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){const t="white border-neutral-400"===this.variant||this.inset,e=this.hasSlotController.test("[default]"),i=this.hasSlotController.test("media"),r=this.hasSlotController.test("meta");return this.hasSlotController.test("headline"),fe`<div class="${Ke("flex",{white:"bg-white","white border-neutral-400":"bg-white border border-neutral-400","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],"vertical"===this._orientation&&"flex-col","horizontal"===this._orientation&&"flex-row gap-8","horizontal"===this._orientation&&t&&"py-8 px-10")}" part="base"><div style="${"horizontal"===this._orientation?"width: var(--distribution-media, 100%);":""}" class="${Ke(!t&&"vertical"===this._orientation&&"mb-4",!i&&"hidden","white border-neutral-400"===this.variant&&"vertical"===this._orientation&&"mx-[-1px] mt-[-1px]")}" part="media"><slot name="media"></slot></div><div style="${"horizontal"===this._orientation?"width: var(--distribution-content, 100%); "+(t?"width: var(--distribution-content, calc(100% - 2rem));":""):""}" class="${Ke("flex flex-col text-left","horizontal"===this._orientation&&"flex flex-col","vertical"===this._orientation&&t&&"m-4")}" part="content"><div part="meta" class="${Ke("gap-2 mb-4",!r&&"hidden")}"><slot name="meta"></slot></div><div part="headline" class="${Ke("text-lg font-bold m-0","primary"===this.variant?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="main" class="${Ke(!e&&"hidden")}"><slot></slot></div></div></div>`}};hn.styles=[Xe.styles,Dt`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){margin:var(--sd-spacing-0,0)!important;font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700}`],dn([Fe({reflect:!0})],hn.prototype,"variant",2),dn([Fe({reflect:!0,type:Number})],hn.prototype,"breakpoint",2),dn([Fe({type:Boolean,reflect:!0})],hn.prototype,"inset",2),dn([He('[part="base"]')],hn.prototype,"teaser",2),dn([Ue()],hn.prototype,"_orientation",2),hn=dn([Be("sd-teaser")],hn);const cn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return hn}},Symbol.toStringTag,{value:"Module"}));var pn=Object.defineProperty,un=Object.getOwnPropertyDescriptor,bn=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?un(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&pn(e,i,s),s};let mn=class extends Xe{constructor(){super(...arguments),this.formControlController=new vr(this),this.hasSlotController=new Hi(this,"help-text","label"),this.hasFocus=!1,this.showValidStyle=!1,this.showInvalidStyle=!1,this.title="",this.name="",this.value="",this.size="lg",this.label="",this.helpText="",this.placeholder="",this.rows=4,this.disabled=!1,this.readonly=!1,this.form="",this.required=!1,this.styleOnValid=!1,this.spellcheck=!0,this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{this.setTextareaHeight()}))}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(t){this.textarea.focus(t)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(t){return t?("number"==typeof t.top&&(this.textarea.scrollTop=t.top),void("number"==typeof t.left&&(this.textarea.scrollLeft=t.left))):{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(t,e,i="none"){this.textarea.setSelectionRange(t,e,i)}setRangeText(t,e,i,r){this.textarea.setRangeText(t,e,i,r),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var t;return null==(t=this.textarea)?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(t){this.textarea.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),i=!!this.label||!!t,r=!!this.helpText||!!e,o=this.disabled?"disabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",s="sm"===this.size?"text-sm":"text-base",a={sm:"text-base ml-1",md:"text-lg ml-2",lg:"text-xl ml-2"}[this.size];return fe`<div part="form-control" class="flex flex-col h-full text-left"><label part="form-control-label" id="label" class="${Ke("mb-2",i?"inline-block":"hidden",s)}" for="input" aria-hidden="${i?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${Ke("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${Ke("absolute w-full h-full pointer-events-none border rounded-default",{disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[o])}"></div><div part="base" class="${Ke("textarea h-full px-4 flex items-top rounded-default group",{sm:"textarea-sm py-1",md:"textarea-md py-1",lg:"textarea-lg py-2"}[this.size],this.disabled||this.readonly?"":"hover:bg-neutral-200",this.readonly?"bg-neutral-100":"bg-white","disabled"===o?"text-neutral-500":"text-black")}"><textarea part="textarea" id="input" class="${Ke("flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none",this.disabled&&"cursor-not-allowed",s)}" title="${this.title}" name="${_r(this.name)}" .value="${eo(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${_r(this.placeholder)}" minlength="${_r(this.minlength)}" maxlength="${_r(this.maxlength)}" rows="${_r(this.rows)}" autocapitalize="${_r(this.autocapitalize)}" autocorrect="${_r(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${_r(this.spellcheck)}" enterkeyhint="${_r(this.enterkeyhint)}" inputmode="${_r(this.inputmode)}" aria-describedby="help-text" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?fe`<sd-icon class="${Ke("text-error absolute right-4 bg-white group-hover:bg-neutral-200",a)}" library="system" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?fe`<sd-icon class="${Ke("text-success absolute right-4 bg-white group-hover:bg-neutral-200",a)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${Ke("text-sm text-neutral-700",r?"block":"hidden")}" aria-hidden="${r?"false":"true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};mn.styles=[Ne,Xe.styles,Dt`:host{display:block;height:100%}:host([required]) #label::after{content:' *'}.no-scrollbar::-webkit-scrollbar{display:none}`],bn([He("#input")],mn.prototype,"textarea",2),bn([He("#invalid-message")],mn.prototype,"invalidMessage",2),bn([Ue()],mn.prototype,"hasFocus",2),bn([Ue()],mn.prototype,"showValidStyle",2),bn([Ue()],mn.prototype,"showInvalidStyle",2),bn([Fe()],mn.prototype,"title",2),bn([Fe()],mn.prototype,"name",2),bn([Fe()],mn.prototype,"value",2),bn([Fe({reflect:!0})],mn.prototype,"size",2),bn([Fe()],mn.prototype,"label",2),bn([Fe({attribute:"help-text"})],mn.prototype,"helpText",2),bn([Fe()],mn.prototype,"placeholder",2),bn([Fe({type:Number})],mn.prototype,"rows",2),bn([Fe({type:Boolean,reflect:!0})],mn.prototype,"disabled",2),bn([Fe({type:Boolean,reflect:!0})],mn.prototype,"readonly",2),bn([Fe({reflect:!0})],mn.prototype,"form",2),bn([Fe({type:Boolean,reflect:!0})],mn.prototype,"required",2),bn([Fe({type:Number})],mn.prototype,"minlength",2),bn([Fe({type:Number})],mn.prototype,"maxlength",2),bn([Fe()],mn.prototype,"autocapitalize",2),bn([Fe()],mn.prototype,"autocorrect",2),bn([Fe()],mn.prototype,"autocomplete",2),bn([Fe({type:Boolean})],mn.prototype,"autofocus",2),bn([Fe()],mn.prototype,"enterkeyhint",2),bn([Fe({type:Boolean,reflect:!0,attribute:"style-on-valid"})],mn.prototype,"styleOnValid",2),bn([Fe({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],mn.prototype,"spellcheck",2),bn([Fe()],mn.prototype,"inputmode",2),bn([Qr()],mn.prototype,"defaultValue",2),bn([mi("disabled",{waitUntilFirstUpdate:!0})],mn.prototype,"handleDisabledChange",1),bn([mi("rows",{waitUntilFirstUpdate:!0})],mn.prototype,"handleRowsChange",1),bn([mi("value",{waitUntilFirstUpdate:!0})],mn.prototype,"handleValueChange",1),mn=bn([Be("sd-textarea")],mn);const gn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return mn}},Symbol.toStringTag,{value:"Module"}));var vn=Object.defineProperty,fn=Object.getOwnPropertyDescriptor,yn=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?fn(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&vn(e,i,s),s};let wn=class extends Xe{constructor(){super(...arguments),this.isFocusTriggered=!1,this.localize=new S(this),this.size="lg",this.content="",this.placement="top",this.disabled=!1,this.open=!1,this.trigger="click focus",this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),this.updateComplete.then((()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}))}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut)}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){if(this.hasTrigger("click")){if(this.isFocusTriggered)return void(this.isFocusTriggered=!1);this.open?this.hide():this.show()}}handleFocus(){this.hasTrigger("focus")&&(this.isFocusTriggered=!0,this.show())}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){const t=$i(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout((()=>this.show()),t)}}handleMouseOut(){if(this.hasTrigger("hover")){const t=$i(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout((()=>this.hide()),t)}}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await Si(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=Ai(this,"tooltip.show",{dir:this.localize.dir()});await ki(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),await Si(this.body);const{keyframes:t,options:e}=Ai(this,"tooltip.hide",{dir:this.localize.dir()});await ki(this.popup.popup,t,e),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,Ti(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,Ti(this,"sd-after-hide")}render(){const t=this.placement.endsWith("-start"),e=this.placement.endsWith("-end");return fe`<sd-popup part="base" exportparts="
102
+ "><div part="combobox" class="${$e("relative w-full px-4 flex flex-row items-center rounded-default",this.open&&"shadow",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><input name="${this.name}" form="${this.form}" part="display-input" class="${$e("appearance-none outline-none flex-grow bg-transparent w-full",a,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" type="text" placeholder="${this.placeholder}" .disabled="${this.disabled}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled?"true":"false"}" aria-describedby="help-text" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${this.multiple&&this.useTags?ye`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>`:""} <input class="${$e("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",a)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${r?ye`<button part="clear-button" class="${$e("select__clear flex justify-center",n)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${$e("text-icon-fill-neutral-800",l)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?ye`<sd-icon part="invalid-icon" class="${$e(n,l,"text-error")}" library="system" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?ye`<sd-icon part="valid-icon" class="${$e("flex-shrink-0 text-success",n,l)}" library="system" name="status-check"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${$e("inline-flex ml-2 transition-all",this.open?"rotate-180":"rotate-0",this.disabled?"text-neutral-500":"text-primary",l)}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${$e("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow","bottom"===this.currentPlacement?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};xa.dependencies={"sd-icon":wi,"sd-popup":ti,"sd-tag":va},xa.styles=[Ve,Je.styles,Ft`:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll}sd-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249) / var(--tw-bg-opacity))}`],Aa([qe({selector:"sd-option"})],xa.prototype,"_optionsInDefaultSlot",2),Aa([Le("sd-popup")],xa.prototype,"popup",2),Aa([Le('[part="combobox"]')],xa.prototype,"combobox",2),Aa([Le('[part="display-input"]')],xa.prototype,"displayInput",2),Aa([Le(".value-input")],xa.prototype,"valueInput",2),Aa([Le('[part="listbox"]')],xa.prototype,"listbox",2),Aa([Le("#invalid-message")],xa.prototype,"invalidMessage",2),Aa([Ge()],xa.prototype,"hasHover",2),Aa([Ge()],xa.prototype,"displayLabel",2),Aa([Ge()],xa.prototype,"hasFocus",2),Aa([Ge()],xa.prototype,"currentOption",2),Aa([Ge()],xa.prototype,"selectedOptions",2),Aa([Ge()],xa.prototype,"showValidStyle",2),Aa([Ge()],xa.prototype,"showInvalidStyle",2),Aa([er()],xa.prototype,"defaultValue",2),Aa([Ue({type:Boolean,reflect:!0})],xa.prototype,"open",2),Aa([Ue({reflect:!0})],xa.prototype,"size",2),Aa([Ue({reflect:!0})],xa.prototype,"placement",2),Aa([Ue()],xa.prototype,"label",2),Aa([Ue()],xa.prototype,"placeholder",2),Aa([Ue({type:Boolean,reflect:!0})],xa.prototype,"disabled",2),Aa([Ue({attribute:"help-text"})],xa.prototype,"helpText",2),Aa([Ge()],xa.prototype,"currentPlacement",2),Aa([Ue({type:Boolean})],xa.prototype,"clearable",2),Aa([Ue({type:Boolean,reflect:!0})],xa.prototype,"multiple",2),Aa([Ue({type:Boolean,reflect:!0})],xa.prototype,"useTags",2),Aa([Ue({attribute:"max-options-visible",type:Number})],xa.prototype,"maxOptionsVisible",2),Aa([Ue({reflect:!0})],xa.prototype,"form",2),Aa([Ue()],xa.prototype,"name",2),Aa([Ue({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],xa.prototype,"value",2),Aa([Ue({type:Boolean,reflect:!0})],xa.prototype,"required",2),Aa([Ue({type:Boolean,reflect:!0,attribute:"style-on-valid"})],xa.prototype,"styleOnValid",2),Aa([Ue({type:Boolean})],xa.prototype,"hoist",2),Aa([Ue()],xa.prototype,"getTag",2),Aa([mi("useTags",{waitUntilFirstUpdate:!0})],xa.prototype,"handleUseTagsChange",1),Aa([mi("disabled",{waitUntilFirstUpdate:!0})],xa.prototype,"handleDisabledChange",1),Aa([mi("open",{waitUntilFirstUpdate:!0})],xa.prototype,"handleOpenChange",1),Aa([mi("size",{waitUntilFirstUpdate:!0})],xa.prototype,"applySizeToOptions",1),Aa([mi("value",{waitUntilFirstUpdate:!0})],xa.prototype,"handleValueChange",1),xa=Aa([Qe("sd-select")],xa),Di("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),Di("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});const ka=Object.freeze(Object.defineProperty({__proto__:null,get default(){return xa}},Symbol.toStringTag,{value:"Module"}));var Ca=Object.defineProperty,Sa=Object.getOwnPropertyDescriptor,Ea=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Sa(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ca(e,i,s),s};let Ba=class extends Je{constructor(){super(...arguments),this.steps=[],this.size="lg",this.orientation="horizontal",this.activeStep=0,this.notInteractive=!1}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{let t;this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0,this.steps.forEach(((e,i)=>{e.index=i+1,e.size=this.size,e.orientation=this.orientation,this.notInteractive?(e.current=!1,e.disabled=!1,e.notInteractive=!0):e.current&&(t=i)})),this.setActiveStep(t||this.activeStep)}))}updateSize(){this.steps.forEach((t=>{t.size=this.size}))}updateOrientation(){this.steps.forEach((t=>{t.orientation=this.orientation}))}getAllSteps(){return[...this.body.assignedElements()].filter((t=>"sd-step"===t.tagName.toLowerCase()))}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach(((e,i)=>{i===t?e.current=!0:i>t?e.disabled=!0:e.current=!1})))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach((t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0}))}render(){return ye`<div part="base" role="${this.notInteractive?"group":"navigation"}" class="${$e("flex","vertical"===this.orientation&&"flex-col h-full")}"><slot part="body"></slot></div>`}};Ba.styles=[Je.styles,Ve,Ft`:host{width:-moz-max-content;width:max-content}`],Ea([Le("[part=body]")],Ba.prototype,"body",2),Ea([Ue({reflect:!0})],Ba.prototype,"size",2),Ea([Ue({reflect:!0})],Ba.prototype,"orientation",2),Ea([Ue({type:Number,reflect:!0,attribute:"active-step"})],Ba.prototype,"activeStep",2),Ea([Ue({type:Boolean,reflect:!0,attribute:"not-interactive"})],Ba.prototype,"notInteractive",2),Ea([mi("size",{waitUntilFirstUpdate:!0})],Ba.prototype,"updateSize",1),Ea([mi("orientation",{waitUntilFirstUpdate:!0})],Ba.prototype,"updateOrientation",1),Ea([mi("notInteractive")],Ba.prototype,"handleInteractivityChange",1),Ba=Ea([Qe("sd-step-group")],Ba);const Ia=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ba}},Symbol.toStringTag,{value:"Module"}));var Ma=Object.defineProperty,Da=Object.getOwnPropertyDescriptor,Oa=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Da(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ma(e,i,s),s};let za=class extends Je{constructor(){super(...arguments),this.size="lg",this.orientation="horizontal",this.disabled=!1,this.current=!1,this.noTail=!1,this.notInteractive=!1,this.label="",this.description="",this.index=1,this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1)}handleDisabledChange(){this.disabled&&(this.current=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1)}render(){const t=this.isLink(),e=this.notInteractive?So`div`:t?So`a`:So`button`;return Bo`<div part="base" class="${$e("flex pt-1","horizontal"===this.orientation?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-min overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${$e("flex shrink-0 gap-2",this.noTail&&"w-max","horizontal"===this.orientation?"flex-row":"flex-col items-stretch","horizontal"===this.orientation?"lg"===this.size?"translateLg":"translateSm":"lg"===this.size?"mt-1":"mt-3")}"><${e} part="circle" ?disabled="${this.disabled}" tabindex="${this.disabled||this.current?"-1":"0"}" href="${Mo(t?this.href:void 0)}" aria-current="${this.current?"step":void 0}" aria-label="Step ${this.index}" class="${$e("border rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled||this.current?"focus-visible:outline-none":"focus-visible:focus-outline",this.notInteractive?"lg"===this.size?"w-[72px]":"w-12":"lg"===this.size?"w-12":"w-8",this.disabled&&"border-neutral-400 text-neutral-500",!this.disabled&&!this.current&&!this.notInteractive&&"border-primary group-hover:bg-primary-100 group-hover:border-primary-500",this.notInteractive?"border-neutral-400":"group-hover:cursor-pointer",this.current&&"bg-accent border-none text-white")}"><slot name="circle-content" class="${$e(!this.disabled&&!this.current&&!this.notInteractive&&"text-primary group-hover:text-primary-500 group-hover:fill-primary-500",this.notInteractive&&"text-primary","lg"===this.size?"text-lg":"text-sm")}">${this.disabled||this.current||this.notInteractive?Bo`${this.index}`:Bo`<sd-icon name="status-check" library="system"></sd-icon>`}</slot></${e}>${this.noTail?"":Bo`<div part="tail" class="${$e("horizontal"===this.orientation?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",this.disabled||this.current||this.notInteractive?"border-neutral-400":" border-primary group-hover:border-primary-500")}"></div>`}</div><div part="text-container" class="${$e("mt-4 mr-4 break-words flex flex-col gap-2","horizontal"===this.orientation?"text-center w-40":"w-max text-left",this.disabled&&"!text-neutral-500")}"><div part="label" class="${$e("!font-bold sd-paragraph",this.disabled&&"!text-neutral-500",this.disabled||this.current||this.notInteractive?"text-black":"!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer")}"><slot name="label">${this.label}</slot></div><div part="description" class="${$e("sd-paragraph sd-paragraph--size-sm",this.disabled&&"!text-neutral-500")}">${this.description||Bo`<slot></slot>`}</div></div></div>`}};za.styles=[Je.styles,Ve,Pt(".sd-paragraph,.sd-prose p{font-size:var(--sd-font-size-base,1rem)}.sd-paragraph,.sd-paragraph--size-sm,.sd-prose p,.sd-prose p--size-sm{font-weight:400;line-height:var(--sd-line-height-normal,150%);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.sd-paragraph--size-sm,.sd-prose p--size-sm{font-size:var(--sd-font-size-sm,.875rem)}.sd-paragraph--inverted,.sd-prose--inverted p{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}"),Ft`:host{flex:1 1 0%}:host([no-tail]){flex-grow:0}.translateLg{transform:translateX(55px)}.translateSm{transform:translateX(64px)}`],Oa([Ue({reflect:!0})],za.prototype,"size",2),Oa([Ue({reflect:!0})],za.prototype,"orientation",2),Oa([Ue({type:Boolean,reflect:!0})],za.prototype,"disabled",2),Oa([Ue({type:Boolean,reflect:!0})],za.prototype,"current",2),Oa([Ue({reflect:!0,type:Boolean,attribute:"no-tail"})],za.prototype,"noTail",2),Oa([Ue({type:Boolean,reflect:!0,attribute:"not-interactive"})],za.prototype,"notInteractive",2),Oa([Ue()],za.prototype,"label",2),Oa([Ue()],za.prototype,"description",2),Oa([Ue({type:Number,reflect:!0,attribute:"index"})],za.prototype,"index",2),Oa([Ue()],za.prototype,"href",2),Oa([mi("current")],za.prototype,"handleCurrentChange",1),Oa([mi("disabled")],za.prototype,"handleDisabledChange",1),Oa([mi("notInteractive")],za.prototype,"handleInteractivityChange",1),za=Oa([Qe("sd-step")],za);const Ta=Object.freeze(Object.defineProperty({__proto__:null,get default(){return za}},Symbol.toStringTag,{value:"Module"}));var Pa=Object.defineProperty,Fa=Object.getOwnPropertyDescriptor,ja=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Fa(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Pa(e,i,s),s};let Qa=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.showInvalidStyle=!1,this.title="",this.name="",this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return ye`<label part="base" class="${$e("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${Mo(this.value)}" .checked="${or(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${$e("relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100\n peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2\n peer-focus-visible:outline-primary",this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?"border-error bg-error hover:bg-error-400":this.checked?"border-accent bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${$e("w-2.5 h-2.5 rounded-full transition-transform ease-in-out duration-200",this.disabled&&this.checked?"bg-white":this.disabled?"-translate-x-2 bg-neutral-500":this.showInvalidStyle?"bg-white -translate-x-2":this.checked?"translate-x-2 bg-white":"bg-neutral-800 -translate-x-2")}"></span> </span><span part="label" id="label" class="${$e("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};Qa.styles=[Je.styles,Ft`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host([required]) #label::after{content:' *'}`],ja([Le("input")],Qa.prototype,"input",2),ja([Le("#invalid-message")],Qa.prototype,"invalidMessage",2),ja([Ge()],Qa.prototype,"showInvalidStyle",2),ja([Ue()],Qa.prototype,"title",2),ja([Ue()],Qa.prototype,"name",2),ja([Ue()],Qa.prototype,"value",2),ja([Ue({type:Boolean,reflect:!0})],Qa.prototype,"disabled",2),ja([Ue({type:Boolean,reflect:!0})],Qa.prototype,"checked",2),ja([er("checked")],Qa.prototype,"defaultChecked",2),ja([Ue({reflect:!0})],Qa.prototype,"form",2),ja([Ue({type:Boolean,reflect:!0})],Qa.prototype,"required",2),ja([mi("disabled",{waitUntilFirstUpdate:!0})],Qa.prototype,"handleDisabledChange",1),ja([mi(["checked"],{waitUntilFirstUpdate:!0})],Qa.prototype,"handleStateChange",1),Qa=ja([Qe("sd-switch")],Qa);const Ya=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Qa}},Symbol.toStringTag,{value:"Module"}));var Ra=Object.defineProperty,Ua=Object.getOwnPropertyDescriptor,Ga=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Ua(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ra(e,i,s),s};let Ha=class extends Je{constructor(){super(...arguments),this.localize=new S(this),this.tabs=[],this.panels=[],this.hasScrollControls=!1,this.variant="default",this.activation="auto"}connectedCallback(){const t=Promise.all([customElements.whenDefined("sd-tab"),customElements.whenDefined("sd-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>{this.updateScrollControls()})),this.mutationObserver=new MutationObserver((t=>{t.some((t=>!["aria-labelledby","aria-controls"].includes(t.attributeName)))&&setTimeout((()=>this.setAriaLabels())),t.some((t=>"disabled"===t.attributeName))&&this.syncTabsAndPanels()})),this.updateComplete.then((()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),t.then((()=>{new IntersectionObserver(((t,e)=>{t[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab(this.activeTab??this.tabs[0],{emitEvents:!1}),e.unobserve(t[0].target))})).observe(this.tabGroup)}))}))}disconnectedCallback(){this.mutationObserver.disconnect(),this.resizeObserver.unobserve(this.nav)}getAllTabs(t={includeDisabled:!0}){return[...this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()].filter((e=>t.includeDisabled?"sd-tab"===e.tagName.toLowerCase():"sd-tab"===e.tagName.toLowerCase()&&!e.disabled))}getAllPanels(){return[...this.body.assignedElements()].filter((t=>"sd-tab-panel"===t.tagName.toLowerCase()))}getActiveTab(){return this.tabs.find((t=>t.matches(":focus")))}handleClick(t){const e=t.target.closest("sd-tab");(null==e?void 0:e.closest("sd-tab-group"))===this&&null!==e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){const e=t.target.closest("sd-tab");if((null==e?void 0:e.closest("sd-tab-group"))===this){if(["Enter"," "].includes(t.key)&&null!==e&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){const t=this.tabs.indexOf(this.getActiveTab());null!==e&&pr(this.tabs[t+1],this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){const t=this.tabs.indexOf(this.getActiveTab());null!==e&&pr(this.tabs[t-1],this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const e=this.tabs.find((t=>t.matches(":focus"))),i="rtl"===this.localize.dir();if("sd-tab"===(null==e?void 0:e.tagName.toLowerCase())){let o=this.tabs.indexOf(e);"Home"===t.key?o=0:"End"===t.key?o=this.tabs.length-1:t.key===(i?"ArrowRight":"ArrowLeft")||"ArrowUp"===t.key?o--:(t.key===(i?"ArrowLeft":"ArrowRight")||"ArrowDown"===t.key)&&o++,o<0&&(o=this.tabs.length-1),o>this.tabs.length-1&&(o=0),this.tabs[o].focus({preventScroll:!0}),"auto"===this.activation&&this.setActiveTab(this.tabs[o],{scrollBehavior:"smooth"}),pr(this.tabs[o],this.nav,"horizontal"),t.preventDefault()}}}}handleScrollToStart(){this.nav.scroll({left:"rtl"===this.localize.dir()?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:"rtl"===this.localize.dir()?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,e){if(e={emitEvents:!0,scrollBehavior:"auto",...e},t!==this.activeTab&&!t.disabled){const i=this.activeTab;this.activeTab=t,this.tabs.map((t=>t.active=t===this.activeTab)),this.panels.map((t=>{var e;return t.active=t.name===(null==(e=this.activeTab)?void 0:e.panel)})),pr(this.activeTab,this.nav,"horizontal",e.scrollBehavior),e.emitEvents&&(i&&this.emit("sd-tab-hide",{detail:{name:i.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach((t=>{const e=this.panels.find((e=>e.name===t.panel));e&&(t.setAttribute("aria-controls",e.getAttribute("id")),e.setAttribute("aria-labelledby",t.getAttribute("id")))}))}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.updateComplete.then((()=>this.updateScrollControls())),0!==this.tabs.length&&"container"===this.tabs[0].variant&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}show(t){const e=this.tabs.find((e=>e.panel===t));e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}render(){const t="rtl"===this.localize.dir();return ye`<div part="base" class="${$e("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${$e(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?ye`<button part="scroll-button--start" exportparts="base:scroll-button__base" class="${$e("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10","rtl"===this.localize.dir()&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-icon library="system" name="${t?"chevron-up":"chevron-down"}" class="${$e("h-6 w-12 rotate-90 grid place-items-center")}"></sd-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${$e("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full h-0.25 bg-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?ye`<button part="scroll-button--end" exportparts="base:scroll-button__base" class="${$e("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10","rtl"===this.localize.dir()&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-icon library="system" name="${t?"chevron-down":"chevron-up"}" class="${$e("h-6 w-12 rotate-90 grid place-items-center")}"></sd-icon></button>`:""}</div><slot part="body" class="${$e("block auto py-8 px-6","container"===this.variant&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};Ha.styles=[Je.styles,Pt($i),Ve,Ft`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}::slotted(sd-tab-panel){--padding:1rem 0}`],Ga([Le("[part=base]")],Ha.prototype,"tabGroup",2),Ga([Le("[part=body]")],Ha.prototype,"body",2),Ga([Le("[part=scroll-container]")],Ha.prototype,"nav",2),Ga([Ge()],Ha.prototype,"hasScrollControls",2),Ga([Ge()],Ha.prototype,"variant",2),Ga([Ue()],Ha.prototype,"activation",2),Ha=Ga([Qe("sd-tab-group")],Ha);const La=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ha}},Symbol.toStringTag,{value:"Module"}));var qa=Object.defineProperty,Va=Object.getOwnPropertyDescriptor,$a=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Va(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&qa(e,i,s),s};let Za=0,Ka=class extends Je{constructor(){super(...arguments),this.attrId=++Za,this.componentId=`sd-tab-panel-${this.attrId}`,this.name="",this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return ye`<slot part="base" class="${$e("block",this.active&&"tab-panel--active")}"></slot>`}};Ka.styles=[Je.styles,Ve,Ft`:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],$a([Ue({reflect:!0})],Ka.prototype,"name",2),$a([Ue({type:Boolean,reflect:!0})],Ka.prototype,"active",2),$a([mi("active")],Ka.prototype,"handleActiveChange",1),Ka=$a([Qe("sd-tab-panel")],Ka);const Na=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ka}},Symbol.toStringTag,{value:"Module"}));var Ja=Object.defineProperty,Wa=Object.getOwnPropertyDescriptor,_a=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Wa(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&Ja(e,i,s),s};let Xa=0,tn=class extends Je{constructor(){super(...arguments),this.attrId=++Xa,this.componentId=`sd-tab-${this.attrId}`,this.variant="default",this.active=!1,this.disabled=!1,this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.tab.focus(t)}blur(){this.tab.blur()}render(){return this.id=this.id.length>0?this.id:this.componentId,ye`<div part="base" class="${$e("inline-flex min-w-max h-12 px-3 leading-none items-center justify-center whitespace-nowrap select-none cursor-pointer group relative focus-visible:focus-outline outline-2 !-outline-offset-2","container"===this.variant&&" rounded-[4px_4px_0_0]","container"===this.variant&&this.active&&"tab--active-container-border bg-white",this.disabled?"opacity-50 !cursor-not-allowed":"hover:bg-neutral-200")}" tabindex="${this.disabled?"-1":"0"}"><slot name="left" class="${$e("pr-2",this.disabled?"text-neutral-500":"text-primary")}"></slot><slot class="${$e(this.disabled?"text-neutral-500":"text-primary")}"></slot><div part="active-tab-indicator" class="${$e((!this.active||this.disabled)&&"hidden","absolute bottom-0 h-1 bg-accent","default"===this.variant?"w-full":"w-3/4 group-hover:w-full transition-all duration-200 ease-in-out")}"></div><div part="hover-bottom-border" class="${$e(!this.active&&!this.disabled&&"absolute w-full h-0.25 bottom-0 border-b border-neutral-400 invisible group-hover:visible")}"></div></div>`}};tn.styles=[Je.styles,Ve,Ft`:host{box-sizing:border-box;display:block}.tab--active-container-border::after{content:'';position:absolute;height:100%;width:100%;border-width:1px;--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195) / var(--tw-border-opacity));border-bottom:none;border-radius:4px 4px 0 0}`],_a([Le("[part=base]")],tn.prototype,"tab",2),_a([Ue({type:String,reflect:!0})],tn.prototype,"variant",2),_a([Ue({type:Boolean,reflect:!0})],tn.prototype,"active",2),_a([Ue({type:Boolean,reflect:!0})],tn.prototype,"disabled",2),_a([Ue({reflect:!0})],tn.prototype,"panel",2),_a([mi("active")],tn.prototype,"handleActiveChange",1),_a([mi("disabled")],tn.prototype,"handleDisabledChange",1),tn=_a([Qe("sd-tab")],tn);const en=Object.freeze(Object.defineProperty({__proto__:null,get default(){return tn}},Symbol.toStringTag,{value:"Module"}));var on=Object.defineProperty,rn=Object.getOwnPropertyDescriptor,sn=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?rn(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&on(e,i,s),s};let an=class extends Je{constructor(){super(...arguments),this.variant="white",this.hasSlotController=new Li(this,"[default]","media","meta","headline","expandable")}render(){const t={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return ye`<div class="relative flex flex-col group" part="base"><div class="${$e("mb-4",!t["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${$e("flex-1","gradient-white"===this.variant&&"bg-gradient-to-t from-white/[.8] to-60%","gradient-dark"===this.variant&&"bg-gradient-to-t from-primary-800/[.6] to-60%")}"></div><div class="${$e({white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"bg-neutral-100/[.8] group-hover:bg-neutral-100/90",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"bg-primary-100/[.8] group-hover:bg-primary-100/90","gradient-white":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/[.6] text-white"}[this.variant])}"><div class="flex-col text-left p-4" part="content"><div part="meta" class="${$e("gap-2 mb-4",!t["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div><div part="headline" class="text-lg font-bold m-0"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div class="${$e("hidden",t["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable"><slot name="expandable"></slot></div><div part="main" class="${$e(!t["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div></div>`}};an.styles=[Je.styles,Ft`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){margin:var(--sd-spacing-0,0)!important;font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700}`],sn([Ue({reflect:!0})],an.prototype,"variant",2),sn([Le('[part="base"]')],an.prototype,"teaserMedia",2),an=sn([Qe("sd-teaser-media")],an);const nn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return an}},Symbol.toStringTag,{value:"Module"}));var ln=Object.defineProperty,dn=Object.getOwnPropertyDescriptor,hn=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?dn(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&ln(e,i,s),s};let cn=class extends Je{constructor(){super(...arguments),this.variant="white",this.breakpoint=448,this.inset=!1,this.hasSlotController=new Li(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),0===this.breakpoint?this._orientation="horizontal":9999===this.breakpoint?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.updateOrientation())),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(t){super.updated(t),t.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){const t="white border-neutral-400"===this.variant||this.inset,e=this.hasSlotController.test("[default]"),i=this.hasSlotController.test("media"),o=this.hasSlotController.test("meta");return this.hasSlotController.test("headline"),ye`<div class="${$e("flex",{white:"bg-white","white border-neutral-400":"bg-white border border-neutral-400","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],"vertical"===this._orientation&&"flex-col","horizontal"===this._orientation&&"flex-row gap-8","horizontal"===this._orientation&&t&&"py-8 px-10")}" part="base"><div style="${"horizontal"===this._orientation?"width: var(--distribution-media, 100%);":""}" class="${$e(!t&&"vertical"===this._orientation&&"mb-4",!i&&"hidden","white border-neutral-400"===this.variant&&"vertical"===this._orientation&&"mx-[-1px] mt-[-1px]")}" part="media"><slot name="media"></slot></div><div style="${"horizontal"===this._orientation?"width: var(--distribution-content, 100%); "+(t?"width: var(--distribution-content, calc(100% - 2rem));":""):""}" class="${$e("flex flex-col text-left","horizontal"===this._orientation&&"flex flex-col","vertical"===this._orientation&&t&&"m-4")}" part="content"><div part="meta" class="${$e("gap-2 mb-4",!o&&"hidden")}"><slot name="meta"></slot></div><div part="headline" class="${$e("text-lg font-bold m-0","primary"===this.variant?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="main" class="${$e(!e&&"hidden")}"><slot></slot></div></div></div>`}};cn.styles=[Je.styles,Ft`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){margin:var(--sd-spacing-0,0)!important;font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700}`],hn([Ue({reflect:!0})],cn.prototype,"variant",2),hn([Ue({reflect:!0,type:Number})],cn.prototype,"breakpoint",2),hn([Ue({type:Boolean,reflect:!0})],cn.prototype,"inset",2),hn([Le('[part="base"]')],cn.prototype,"teaser",2),hn([Ge()],cn.prototype,"_orientation",2),cn=hn([Qe("sd-teaser")],cn);const pn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return cn}},Symbol.toStringTag,{value:"Module"}));var un=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,mn=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?gn(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&un(e,i,s),s};let bn=class extends Je{constructor(){super(...arguments),this.formControlController=new fo(this),this.hasSlotController=new Li(this,"help-text","label"),this.hasFocus=!1,this.showValidStyle=!1,this.showInvalidStyle=!1,this.title="",this.name="",this.value="",this.size="lg",this.label="",this.helpText="",this.placeholder="",this.rows=4,this.disabled=!1,this.readonly=!1,this.form="",this.required=!1,this.styleOnValid=!1,this.spellcheck=!0,this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{this.setTextareaHeight()}))}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(t){this.textarea.focus(t)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(t){return t?("number"==typeof t.top&&(this.textarea.scrollTop=t.top),void("number"==typeof t.left&&(this.textarea.scrollLeft=t.left))):{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(t,e,i="none"){this.textarea.setSelectionRange(t,e,i)}setRangeText(t,e,i,o){this.textarea.setRangeText(t,e,i,o),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var t;return null==(t=this.textarea)?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(t){this.textarea.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),i=!!this.label||!!t,o=!!this.helpText||!!e,r=this.disabled?"disabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",s="sm"===this.size?"text-sm":"text-base",a={sm:"text-base ml-1",md:"text-lg ml-2",lg:"text-xl ml-2"}[this.size];return ye`<div part="form-control" class="flex flex-col h-full text-left"><label part="form-control-label" id="label" class="${$e("mb-2",i?"inline-block":"hidden",s)}" for="input" aria-hidden="${i?"false":"true"}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="${$e("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${$e("absolute w-full h-full pointer-events-none border rounded-default",{disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[r])}"></div><div part="base" class="${$e("textarea h-full px-4 flex items-top rounded-default group",{sm:"textarea-sm py-1",md:"textarea-md py-1",lg:"textarea-lg py-2"}[this.size],this.disabled||this.readonly?"":"hover:bg-neutral-200",this.readonly?"bg-neutral-100":"bg-white","disabled"===r?"text-neutral-500":"text-black")}"><textarea part="textarea" id="input" class="${$e("flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none",this.disabled&&"cursor-not-allowed",s)}" title="${this.title}" name="${Mo(this.name)}" .value="${or(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${Mo(this.placeholder)}" minlength="${Mo(this.minlength)}" maxlength="${Mo(this.maxlength)}" rows="${Mo(this.rows)}" autocapitalize="${Mo(this.autocapitalize)}" autocorrect="${Mo(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${Mo(this.spellcheck)}" enterkeyhint="${Mo(this.enterkeyhint)}" inputmode="${Mo(this.inputmode)}" aria-describedby="help-text" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?ye`<sd-icon class="${$e("text-error absolute right-4 bg-white group-hover:bg-neutral-200",a)}" library="system" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?ye`<sd-icon class="${$e("text-success absolute right-4 bg-white group-hover:bg-neutral-200",a)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${$e("text-sm text-neutral-700",o?"block":"hidden")}" aria-hidden="${o?"false":"true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};bn.styles=[Ve,Je.styles,Ft`:host{display:block;height:100%}:host([required]) #label::after{content:' *'}.no-scrollbar::-webkit-scrollbar{display:none}`],mn([Le("#input")],bn.prototype,"textarea",2),mn([Le("#invalid-message")],bn.prototype,"invalidMessage",2),mn([Ge()],bn.prototype,"hasFocus",2),mn([Ge()],bn.prototype,"showValidStyle",2),mn([Ge()],bn.prototype,"showInvalidStyle",2),mn([Ue()],bn.prototype,"title",2),mn([Ue()],bn.prototype,"name",2),mn([Ue()],bn.prototype,"value",2),mn([Ue({reflect:!0})],bn.prototype,"size",2),mn([Ue()],bn.prototype,"label",2),mn([Ue({attribute:"help-text"})],bn.prototype,"helpText",2),mn([Ue()],bn.prototype,"placeholder",2),mn([Ue({type:Number})],bn.prototype,"rows",2),mn([Ue({type:Boolean,reflect:!0})],bn.prototype,"disabled",2),mn([Ue({type:Boolean,reflect:!0})],bn.prototype,"readonly",2),mn([Ue({reflect:!0})],bn.prototype,"form",2),mn([Ue({type:Boolean,reflect:!0})],bn.prototype,"required",2),mn([Ue({type:Number})],bn.prototype,"minlength",2),mn([Ue({type:Number})],bn.prototype,"maxlength",2),mn([Ue()],bn.prototype,"autocapitalize",2),mn([Ue()],bn.prototype,"autocorrect",2),mn([Ue()],bn.prototype,"autocomplete",2),mn([Ue({type:Boolean})],bn.prototype,"autofocus",2),mn([Ue()],bn.prototype,"enterkeyhint",2),mn([Ue({type:Boolean,reflect:!0,attribute:"style-on-valid"})],bn.prototype,"styleOnValid",2),mn([Ue({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],bn.prototype,"spellcheck",2),mn([Ue()],bn.prototype,"inputmode",2),mn([er()],bn.prototype,"defaultValue",2),mn([mi("disabled",{waitUntilFirstUpdate:!0})],bn.prototype,"handleDisabledChange",1),mn([mi("rows",{waitUntilFirstUpdate:!0})],bn.prototype,"handleRowsChange",1),mn([mi("value",{waitUntilFirstUpdate:!0})],bn.prototype,"handleValueChange",1),bn=mn([Qe("sd-textarea")],bn);const vn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return bn}},Symbol.toStringTag,{value:"Module"}));var yn=Object.defineProperty,fn=Object.getOwnPropertyDescriptor,wn=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?fn(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&yn(e,i,s),s};let An=class extends Je{constructor(){super(...arguments),this.isFocusTriggered=!1,this.localize=new S(this),this.size="lg",this.content="",this.placement="top",this.disabled=!1,this.open=!1,this.trigger="click focus",this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),this.updateComplete.then((()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}))}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut)}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){if(this.hasTrigger("click")){if(this.isFocusTriggered)return void(this.isFocusTriggered=!1);this.open?this.hide():this.show()}}handleFocus(){this.hasTrigger("focus")&&(this.isFocusTriggered=!0,this.show())}handleKeyDown(t){this.open&&"Escape"===t.key&&(t.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){const t=ki(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout((()=>this.show()),t)}}handleMouseOut(){if(this.hasTrigger("hover")){const t=ki(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout((()=>this.hide()),t)}}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await Si(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=Oi(this,"tooltip.show",{dir:this.localize.dir()});await xi(this.popup.popup,t,e),this.emit("sd-after-show")}else{this.emit("sd-hide"),await Si(this.body);const{keyframes:t,options:e}=Oi(this,"tooltip.hide",{dir:this.localize.dir()});await xi(this.popup.popup,t,e),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,zi(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,zi(this,"sd-after-hide")}render(){const t=this.placement.endsWith("-start"),e=this.placement.endsWith("-end");return ye`<sd-popup part="base" exportparts="
103
103
  popup:base__popup,
104
104
  arrow:base__arrow
105
- " class="${Ke(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":e?"end":"default"]*("sm"===this.size?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor" aria-describedby="tooltip" class="${Ke("lg"===this.size?"text-xl":"text-base")}"><button class="flex sd-interactive rounded-full"><sd-icon library="system" name="info-circle" class="${Ke(this.disabled&&"sd-interactive--disabled")}"></sd-icon></button></slot><slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="Tooltip" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-popup>`}};wn.styles=[Xe.styles,Mt(Ki),Dt`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-popup{--arrow-color:rgb(var(--sd-color-primary, 0 53 142) / 1);--arrow-size:10px}sd-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup[placement^=top]::part(popup){transform-origin:bottom}sd-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],yn([He("slot:not([name])")],wn.prototype,"defaultSlot",2),yn([He("#tooltip")],wn.prototype,"body",2),yn([He("sd-popup")],wn.prototype,"popup",2),yn([Fe()],wn.prototype,"size",2),yn([Fe()],wn.prototype,"content",2),yn([Fe({reflect:!0})],wn.prototype,"placement",2),yn([Fe({type:Boolean,reflect:!0})],wn.prototype,"disabled",2),yn([Fe({type:Boolean,reflect:!0})],wn.prototype,"open",2),yn([Fe()],wn.prototype,"trigger",2),yn([Fe({type:Boolean})],wn.prototype,"hoist",2),yn([mi("open",{waitUntilFirstUpdate:!0})],wn.prototype,"handleOpenChange",1),yn([mi(["content","hoist","placement"])],wn.prototype,"handleOptionsChange",1),yn([mi("disabled")],wn.prototype,"handleDisabledChange",1),wn=yn([Be("sd-tooltip")],wn),Ei("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),Ei("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}});const xn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return wn}},Symbol.toStringTag,{value:"Module"}));var kn=Object.defineProperty,$n=Object.getOwnPropertyDescriptor,Cn=(t,e,i,r)=>{for(var o,s=r>1?void 0:r?$n(e,i):e,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&kn(e,i,s),s};let Sn=class extends Xe{constructor(){super(...arguments),this.playing=!1,this.overlay=!1,this.isBelowBreakpoint=!1,this.hasSlotController=new Hi(this,"[default]","play-icon","poster")}get poster(){const t=this.shadowRoot.querySelector("slot[name=poster]");return(null==t?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}fadeoutPoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0")}hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.display="none")}play(){this.emit("sd-play"),this.playing=!0,this.fadeoutPoster()}handleKeydown(t){t instanceof KeyboardEvent&&("Enter"===t.key||" "===t.key)&&(this.play(),setTimeout((()=>{var t;null==(t=this.querySelector("video"))||t.focus()})))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.handleButtonResize())),this.updateComplete.then((()=>{this.resizeObserver.observe(this.hostEl)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return fe`<div part="base" aria-label="Video Player" class="cursor-pointer"><button part="play-button" aria-label="Play video" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${Ke(this.playing&&"pointer-events-none","w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${Ke(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition")}"><slot name="play-icon" part="play-icon" class="${Ke(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="system" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?fe`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>`:null}<div part="overlay" id="overlay" role="presentation" class="${Ke(this.overlay&&!this.playing?"opacity-100":"opacity-0","bg-[rgba(0,0,0,0.65)] w-full h-full absolute top-0 left-0 pointer-events-none z-20 play-pause-transition")}"></div><slot></slot></div>`}};Sn.styles=[Xe.styles,Dt`:host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){transition-property:opacity;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}::slotted([slot=poster]){position:absolute;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:10;width:100%}#default-play-icon,::slotted([slot=play-icon]){position:absolute;left:50%;top:50%;--tw-translate-x:-50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}`],Cn([He("[part=base]")],Sn.prototype,"hostEl",2),Cn([Fe({type:Boolean,reflect:!0})],Sn.prototype,"playing",2),Cn([Fe({type:Boolean,reflect:!0})],Sn.prototype,"overlay",2),Cn([Fe({type:Boolean})],Sn.prototype,"isBelowBreakpoint",2),Sn=Cn([Be("sd-video")],Sn);const zn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Sn}},Symbol.toStringTag,{value:"Module"}));t.LocalizeController=S,t.registerIconLibrary=u,t.setupAutocomplete=function(t,{setValueOnSelection:e,scrollSelectionIntoView:i}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){const r=t?"string"==typeof t?document.querySelector(t):t:document.querySelector("#autoComplete"),o=r.shadowRoot.querySelector("input"),s=t=>t[0];return o.addEventListener("init",(()=>{var t,e;const i=null==(t=r.shadowRoot)?void 0:t.querySelector("ul");null==i||i.setAttribute("part","listbox");const o=document.createElement("sd-popup");o.appendChild(i),null==(e=r.shadowRoot)||e.appendChild(o),null==o||o.setAttribute("exportparts","popup__content"),o&&(o.active=!1,o.autoSize="vertical",o.autoSizePadding=16,o.placement="bottom-start",o.anchor=r,o.sync="width");const a=s`sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-width:2px;border-top-width:0;--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255) / var(--tw-bg-opacity));padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem);padding-top:var(--sd-spacing-3,.75rem);padding-bottom:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup li{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}sd-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246) / var(--tw-bg-opacity))}sd-popup li{list-style-type:''}sd-popup li mark{background-color:transparent;font-weight:700}sd-popup li:not(:has(sd-option)){cursor:pointer;padding-left:var(--sd-spacing-4,1rem);padding-right:var(--sd-spacing-4,1rem);padding-top:var(--sd-spacing-3,.75rem);padding-bottom:var(--sd-spacing-3,.75rem);font-size:var(--sd-font-size-base,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24) / var(--tw-text-opacity))}sd-popup li:not(:has(sd-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233) / var(--tw-bg-opacity))}sd-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233) / var(--tw-bg-opacity))}`,n=new CSSStyleSheet;n.replaceSync(a),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,n]})),e&&o.addEventListener("selection",(t=>{var e;r.value=null==(e=null==t?void 0:t.detail)?void 0:e.selection.value})),o.addEventListener("open",(()=>{var t,e,i,o,s,a;null==(e=null==(t=r.shadowRoot)?void 0:t.querySelector("sd-popup"))||e.setAttribute("active","true"),null==(o=null==(i=r.shadowRoot)?void 0:i.querySelector('[part="border"]'))||o.classList.add("rounded-b-none"),null==(a=null==(s=r.shadowRoot)?void 0:s.querySelector('[part="form-control"]'))||a.classList.add("z-50")})),o.addEventListener("close",(()=>{var t,e,i,o,s,a;null==(e=null==(t=r.shadowRoot)?void 0:t.querySelector("sd-popup"))||e.removeAttribute("active"),null==(o=null==(i=r.shadowRoot)?void 0:i.querySelector('[part="border"]'))||o.classList.remove("rounded-b-none"),null==(a=null==(s=r.shadowRoot)?void 0:s.querySelector('[part="form-control"]'))||a.classList.remove("z-50")})),i&&o.addEventListener("navigate",(()=>{const t=r.shadowRoot.querySelector('[aria-selected="true"]');null==t||t.scrollIntoView({block:"nearest"})})),{config:{selector:()=>o,resultsList:{tag:"ul"},wrapper:!1}}},t.unregisterIconLibrary=b,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})},"object"==typeof exports&&typeof module<"u"?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=typeof globalThis<"u"?globalThis:t||self)["Solid Components"]={});
105
+ " class="${$e(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[t?"start":e?"end":"default"]*("sm"===this.size?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor" aria-describedby="tooltip" class="${$e("lg"===this.size?"text-xl":"text-base")}"><button class="flex sd-interactive rounded-full"><sd-icon library="system" name="info-circle" class="${$e(this.disabled&&"sd-interactive--disabled")}"></sd-icon></button></slot><slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="Tooltip" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-popup>`}};An.styles=[Je.styles,Pt($i),Ft`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-popup{--arrow-color:rgb(var(--sd-color-primary, 0 53 142) / 1);--arrow-size:10px}sd-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup::part(arrow){--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup[placement^=top]::part(popup){transform-origin:bottom}sd-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],wn([Le("slot:not([name])")],An.prototype,"defaultSlot",2),wn([Le("#tooltip")],An.prototype,"body",2),wn([Le("sd-popup")],An.prototype,"popup",2),wn([Ue()],An.prototype,"size",2),wn([Ue()],An.prototype,"content",2),wn([Ue({reflect:!0})],An.prototype,"placement",2),wn([Ue({type:Boolean,reflect:!0})],An.prototype,"disabled",2),wn([Ue({type:Boolean,reflect:!0})],An.prototype,"open",2),wn([Ue()],An.prototype,"trigger",2),wn([Ue({type:Boolean})],An.prototype,"hoist",2),wn([mi("open",{waitUntilFirstUpdate:!0})],An.prototype,"handleOpenChange",1),wn([mi(["content","hoist","placement"])],An.prototype,"handleOptionsChange",1),wn([mi("disabled")],An.prototype,"handleDisabledChange",1),An=wn([Qe("sd-tooltip")],An),Di("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),Di("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}});const xn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return An}},Symbol.toStringTag,{value:"Module"}));var kn=Object.defineProperty,Cn=Object.getOwnPropertyDescriptor,Sn=(t,e,i,o)=>{for(var r,s=o>1?void 0:o?Cn(e,i):e,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o?r(e,i,s):r(s))||s);return o&&s&&kn(e,i,s),s};let En=class extends Je{constructor(){super(...arguments),this.playing=!1,this.overlay=!1,this.isBelowBreakpoint=!1,this.hasSlotController=new Li(this,"[default]","play-icon","poster")}get poster(){const t=this.shadowRoot.querySelector("slot[name=poster]");return(null==t?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}fadeoutPoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0")}hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.display="none")}play(){this.emit("sd-play"),this.playing=!0,this.fadeoutPoster()}handleKeydown(t){t instanceof KeyboardEvent&&("Enter"===t.key||" "===t.key)&&(this.play(),setTimeout((()=>{var t;null==(t=this.querySelector("video"))||t.focus()})))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver((()=>this.handleButtonResize())),this.updateComplete.then((()=>{this.resizeObserver.observe(this.hostEl)}))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return ye`<div part="base" aria-label="Video Player" class="cursor-pointer"><button part="play-button" aria-label="Play video" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${$e(this.playing&&"pointer-events-none","w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${$e(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition")}"><slot name="play-icon" part="play-icon" class="${$e(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="system" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?ye`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>`:null}<div part="overlay" id="overlay" role="presentation" class="${$e(this.overlay&&!this.playing?"opacity-100":"opacity-0","bg-[rgba(0,0,0,0.65)] w-full h-full absolute top-0 left-0 pointer-events-none z-20 play-pause-transition")}"></div><slot></slot></div>`}};En.styles=[Je.styles,Ft`:host{position:relative;display:inline-block;overflow:hidden}.play-pause-transition,::slotted([slot=poster]){transition-property:opacity;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}::slotted([slot=poster]){position:absolute;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:10;width:100%}#default-play-icon,::slotted([slot=play-icon]){position:absolute;left:50%;top:50%;--tw-translate-x:-50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}`],Sn([Le("[part=base]")],En.prototype,"hostEl",2),Sn([Ue({type:Boolean,reflect:!0})],En.prototype,"playing",2),Sn([Ue({type:Boolean,reflect:!0})],En.prototype,"overlay",2),Sn([Ue({type:Boolean})],En.prototype,"isBelowBreakpoint",2),En=Sn([Qe("sd-video")],En);const Bn=Object.freeze(Object.defineProperty({__proto__:null,get default(){return En}},Symbol.toStringTag,{value:"Module"}));t.LocalizeController=S,t.registerIconLibrary=u,t.setupAutocomplete=function(t,{setValueOnSelection:e,scrollSelectionIntoView:i}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){const o=t?"string"==typeof t?document.querySelector(t):t:document.querySelector("#autoComplete"),r=o.shadowRoot.querySelector("input"),s=t=>t[0];return r.addEventListener("init",(()=>{var t,e;const i=null==(t=o.shadowRoot)?void 0:t.querySelector("ul");null==i||i.setAttribute("part","listbox");const r=document.createElement("sd-popup");r.appendChild(i),null==(e=o.shadowRoot)||e.appendChild(r),null==r||r.setAttribute("exportparts","popup__content"),r&&(r.active=!1,r.autoSize="vertical",r.autoSizePadding=16,r.placement="bottom-start",r.anchor=o,r.sync="width");const a=s`sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-width:2px;border-top-width:0;--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255) / var(--tw-bg-opacity));padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem);padding-top:var(--sd-spacing-3,.75rem);padding-bottom:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-popup li{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}sd-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246) / var(--tw-bg-opacity))}sd-popup li{list-style-type:''}sd-popup li mark{background-color:transparent;font-weight:700}sd-popup li:not(:has(sd-option)){cursor:pointer;padding-left:var(--sd-spacing-4,1rem);padding-right:var(--sd-spacing-4,1rem);padding-top:var(--sd-spacing-3,.75rem);padding-bottom:var(--sd-spacing-3,.75rem);font-size:var(--sd-font-size-base,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24) / var(--tw-text-opacity))}sd-popup li:not(:has(sd-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233) / var(--tw-bg-opacity))}sd-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233) / var(--tw-bg-opacity))}`,n=new CSSStyleSheet;n.replaceSync(a),o.shadowRoot.adoptedStyleSheets=[...o.shadowRoot.adoptedStyleSheets,n]})),e&&r.addEventListener("selection",(t=>{var e;o.value=null==(e=null==t?void 0:t.detail)?void 0:e.selection.value})),r.addEventListener("open",(()=>{var t,e,i,r,s,a;null==(e=null==(t=o.shadowRoot)?void 0:t.querySelector("sd-popup"))||e.setAttribute("active","true"),null==(r=null==(i=o.shadowRoot)?void 0:i.querySelector('[part="border"]'))||r.classList.add("rounded-b-none"),null==(a=null==(s=o.shadowRoot)?void 0:s.querySelector('[part="form-control"]'))||a.classList.add("z-50")})),r.addEventListener("close",(()=>{var t,e,i,r,s,a;null==(e=null==(t=o.shadowRoot)?void 0:t.querySelector("sd-popup"))||e.removeAttribute("active"),null==(r=null==(i=o.shadowRoot)?void 0:i.querySelector('[part="border"]'))||r.classList.remove("rounded-b-none"),null==(a=null==(s=o.shadowRoot)?void 0:s.querySelector('[part="form-control"]'))||a.classList.remove("z-50")})),i&&r.addEventListener("navigate",(()=>{const t=o.shadowRoot.querySelector('[aria-selected="true"]');null==t||t.scrollIntoView({block:"nearest"})})),{config:{selector:()=>r,resultsList:{tag:"ul"},wrapper:!1}}},t.unregisterIconLibrary=g,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})},"object"==typeof exports&&typeof module<"u"?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=typeof globalThis<"u"?globalThis:t||self)["Solid Components"]={});