@riverty/web-components 5.7.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/custom-elements.json +152 -372
  3. package/dist/cjs/index-DJ4H_bFj.js +6 -10
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/r-accordion-panel.cjs.entry.js +1 -1
  6. package/dist/cjs/r-accordion-section.cjs.entry.js +1 -1
  7. package/dist/cjs/r-accordion-trigger.cjs.entry.js +5 -35
  8. package/dist/cjs/r-accordion.cjs.entry.js +3 -7
  9. package/dist/cjs/r-alert.cjs.entry.js +45 -14
  10. package/dist/cjs/r-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/r-button.cjs.entry.js +2 -2
  12. package/dist/cjs/r-checkbox-group.cjs.entry.js +28 -24
  13. package/dist/cjs/r-checkbox.cjs.entry.js +97 -81
  14. package/dist/cjs/r-dialog.cjs.entry.js +3 -11
  15. package/dist/cjs/r-hint_2.cjs.entry.js +50 -0
  16. package/dist/cjs/{r-hint_3.cjs.entry.js → r-icon-button_2.cjs.entry.js} +64 -51
  17. package/dist/cjs/r-icon.cjs.entry.js +1 -1
  18. package/dist/cjs/r-input-code.cjs.entry.js +133 -25
  19. package/dist/cjs/r-input-date.cjs.entry.js +87 -23
  20. package/dist/cjs/r-input-password.cjs.entry.js +34 -13
  21. package/dist/cjs/r-input-phone-number.cjs.entry.js +30 -22
  22. package/dist/cjs/r-input.cjs.entry.js +108 -49
  23. package/dist/cjs/r-list-item.cjs.entry.js +5 -5
  24. package/dist/cjs/r-pagination.cjs.entry.js +1 -1
  25. package/dist/cjs/r-panel.cjs.entry.js +2 -2
  26. package/dist/cjs/r-popover-action.cjs.entry.js +2 -2
  27. package/dist/cjs/r-popover-content.cjs.entry.js +1 -1
  28. package/dist/cjs/r-popover-headline.cjs.entry.js +1 -1
  29. package/dist/cjs/r-popover-trigger.cjs.entry.js +1 -1
  30. package/dist/cjs/r-popover.cjs.entry.js +3 -3
  31. package/dist/cjs/r-progress-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/r-radio-button-description.cjs.entry.js +1 -1
  33. package/dist/cjs/r-radio-button-leading.cjs.entry.js +1 -1
  34. package/dist/cjs/r-radio-button-title.cjs.entry.js +1 -1
  35. package/dist/cjs/r-radio-button-trailing.cjs.entry.js +1 -1
  36. package/dist/cjs/r-radio-button.cjs.entry.js +29 -12
  37. package/dist/cjs/r-radio-group.cjs.entry.js +32 -32
  38. package/dist/cjs/r-select-option.cjs.entry.js +1 -1
  39. package/dist/cjs/r-select.cjs.entry.js +116 -40
  40. package/dist/cjs/r-skip-link.cjs.entry.js +1 -1
  41. package/dist/cjs/r-stepper-item.cjs.entry.js +2 -2
  42. package/dist/cjs/r-stepper.cjs.entry.js +1 -1
  43. package/dist/cjs/r-tab-panel.cjs.entry.js +1 -1
  44. package/dist/cjs/r-tab.cjs.entry.js +1 -1
  45. package/dist/cjs/r-tabs-list.cjs.entry.js +1 -1
  46. package/dist/cjs/r-tabs.cjs.entry.js +1 -1
  47. package/dist/cjs/r-textarea.cjs.entry.js +24 -23
  48. package/dist/cjs/r-toast-group.cjs.entry.js +1 -1
  49. package/dist/cjs/r-toast.cjs.entry.js +51 -20
  50. package/dist/cjs/web-components.cjs.js +1 -1
  51. package/dist/collection/collection-manifest.json +0 -1
  52. package/dist/collection/components/accordion/accordion.css +0 -2
  53. package/dist/collection/components/accordion/accordion.js +4 -8
  54. package/dist/collection/components/accordion/exports.js +1 -1
  55. package/dist/collection/components/accordion-panel/accordion-panel.js +1 -1
  56. package/dist/collection/components/accordion-section/accordion-section.js +1 -1
  57. package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -4
  58. package/dist/collection/components/accordion-trigger/accordion-trigger.js +4 -215
  59. package/dist/collection/components/alert/alert.css +58 -12
  60. package/dist/collection/components/alert/alert.js +92 -17
  61. package/dist/collection/components/alert/exports.js +1 -1
  62. package/dist/collection/components/badge/badge.js +1 -1
  63. package/dist/collection/components/button/button.css +6 -7
  64. package/dist/collection/components/button/button.js +1 -1
  65. package/dist/collection/components/checkbox/checkbox.js +121 -104
  66. package/dist/collection/components/checkbox-group/checkbox-group.js +48 -63
  67. package/dist/collection/components/dialog/dialog.css +1 -3
  68. package/dist/collection/components/dialog/dialog.js +2 -10
  69. package/dist/collection/components/hint/hint.js +2 -2
  70. package/dist/collection/components/icon/bundled-icons/riverty-kit.json +1 -1
  71. package/dist/collection/components/icon/riverty-kit.js +1 -1
  72. package/dist/collection/components/icon-button/icon-button.css +0 -7
  73. package/dist/collection/components/icon-button/icon-button.js +3 -3
  74. package/dist/collection/components/input/input.css +3 -0
  75. package/dist/collection/components/input/input.js +221 -378
  76. package/dist/collection/components/input-code/exports.js +2 -0
  77. package/dist/collection/components/input-code/input-code.js +335 -34
  78. package/dist/collection/components/input-date/input-date.js +237 -87
  79. package/dist/collection/components/input-password/exports.js +1 -0
  80. package/dist/collection/components/input-password/input-password.css +1 -0
  81. package/dist/collection/components/input-password/input-password.js +233 -75
  82. package/dist/collection/components/input-phone-number/input-phone-number.js +50 -85
  83. package/dist/collection/components/label/label.js +3 -113
  84. package/dist/collection/components/list-item/list-item/list-item.css +7 -7
  85. package/dist/collection/components/list-item/list-item/list-item.js +4 -26
  86. package/dist/collection/components/pagination/pagination.css +23 -23
  87. package/dist/collection/components/panel/panel.js +2 -2
  88. package/dist/collection/components/popover/exports.js +0 -1
  89. package/dist/collection/components/popover/popover.css +13 -13
  90. package/dist/collection/components/popover/popover.js +2 -55
  91. package/dist/collection/components/popover-action/popover-action.css +3 -5
  92. package/dist/collection/components/popover-action/popover-action.js +1 -1
  93. package/dist/collection/components/popover-content/popover-content.js +1 -1
  94. package/dist/collection/components/popover-headline/popover-headline.js +1 -1
  95. package/dist/collection/components/popover-trigger/popover-trigger.js +1 -1
  96. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  97. package/dist/collection/components/radio-button/radio-button.js +49 -12
  98. package/dist/collection/components/radio-button-description/radio-button-description.js +1 -1
  99. package/dist/collection/components/radio-button-leading/radio-button-leading.js +1 -1
  100. package/dist/collection/components/radio-button-title/radio-button-title.js +1 -1
  101. package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +1 -1
  102. package/dist/collection/components/radio-group/radio-group.js +53 -135
  103. package/dist/collection/components/select/select.js +197 -349
  104. package/dist/collection/components/select-option/select-option.js +1 -1
  105. package/dist/collection/components/skip-link/skip-link.js +1 -1
  106. package/dist/collection/components/stepper/stepper.js +1 -1
  107. package/dist/collection/components/stepper-item/stepper-item.js +2 -2
  108. package/dist/collection/components/tab/tab.js +1 -1
  109. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  110. package/dist/collection/components/tabs/tabs.js +1 -1
  111. package/dist/collection/components/tabs-list/tabs-list.js +1 -1
  112. package/dist/collection/components/textarea/textarea.js +44 -163
  113. package/dist/collection/components/toast/toast.css +22 -14
  114. package/dist/collection/components/toast/toast.js +95 -43
  115. package/dist/collection/components/toast-group/toast-group.js +1 -1
  116. package/dist/collection/components/tooltip/tooltip.js +1 -1
  117. package/dist/esm/index-Da7qOBFr.js +6 -10
  118. package/dist/esm/loader.js +1 -1
  119. package/dist/esm/r-accordion-panel.entry.js +1 -1
  120. package/dist/esm/r-accordion-section.entry.js +1 -1
  121. package/dist/esm/r-accordion-trigger.entry.js +5 -35
  122. package/dist/esm/r-accordion.entry.js +3 -7
  123. package/dist/esm/r-alert.entry.js +45 -14
  124. package/dist/esm/r-badge.entry.js +1 -1
  125. package/dist/esm/r-button.entry.js +2 -2
  126. package/dist/esm/r-checkbox-group.entry.js +28 -24
  127. package/dist/esm/r-checkbox.entry.js +97 -81
  128. package/dist/esm/r-dialog.entry.js +3 -11
  129. package/dist/esm/r-hint_2.entry.js +47 -0
  130. package/dist/esm/{r-hint_3.entry.js → r-icon-button_2.entry.js} +65 -51
  131. package/dist/esm/r-icon.entry.js +1 -1
  132. package/dist/esm/r-input-code.entry.js +133 -25
  133. package/dist/esm/r-input-date.entry.js +87 -23
  134. package/dist/esm/r-input-password.entry.js +34 -13
  135. package/dist/esm/r-input-phone-number.entry.js +30 -22
  136. package/dist/esm/r-input.entry.js +108 -49
  137. package/dist/esm/r-list-item.entry.js +5 -5
  138. package/dist/esm/r-pagination.entry.js +1 -1
  139. package/dist/esm/r-panel.entry.js +2 -2
  140. package/dist/esm/r-popover-action.entry.js +2 -2
  141. package/dist/esm/r-popover-content.entry.js +1 -1
  142. package/dist/esm/r-popover-headline.entry.js +1 -1
  143. package/dist/esm/r-popover-trigger.entry.js +1 -1
  144. package/dist/esm/r-popover.entry.js +3 -3
  145. package/dist/esm/r-progress-bar.entry.js +1 -1
  146. package/dist/esm/r-radio-button-description.entry.js +1 -1
  147. package/dist/esm/r-radio-button-leading.entry.js +1 -1
  148. package/dist/esm/r-radio-button-title.entry.js +1 -1
  149. package/dist/esm/r-radio-button-trailing.entry.js +1 -1
  150. package/dist/esm/r-radio-button.entry.js +29 -12
  151. package/dist/esm/r-radio-group.entry.js +32 -32
  152. package/dist/esm/r-select-option.entry.js +1 -1
  153. package/dist/esm/r-select.entry.js +116 -40
  154. package/dist/esm/r-skip-link.entry.js +1 -1
  155. package/dist/esm/r-stepper-item.entry.js +2 -2
  156. package/dist/esm/r-stepper.entry.js +1 -1
  157. package/dist/esm/r-tab-panel.entry.js +1 -1
  158. package/dist/esm/r-tab.entry.js +1 -1
  159. package/dist/esm/r-tabs-list.entry.js +1 -1
  160. package/dist/esm/r-tabs.entry.js +1 -1
  161. package/dist/esm/r-textarea.entry.js +24 -23
  162. package/dist/esm/r-toast-group.entry.js +1 -1
  163. package/dist/esm/r-toast.entry.js +51 -20
  164. package/dist/esm/web-components.js +1 -1
  165. package/dist/types/components/accordion/accordion.d.ts +1 -5
  166. package/dist/types/components/accordion/exports.d.ts +1 -1
  167. package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -36
  168. package/dist/types/components/alert/alert.d.ts +9 -1
  169. package/dist/types/components/alert/exports.d.ts +1 -1
  170. package/dist/types/components/checkbox/checkbox.d.ts +29 -34
  171. package/dist/types/components/checkbox-group/checkbox-group.d.ts +6 -11
  172. package/dist/types/components/dialog/dialog.d.ts +0 -2
  173. package/dist/types/components/input/input.d.ts +35 -72
  174. package/dist/types/components/input-code/exports.d.ts +4 -0
  175. package/dist/types/components/input-code/input-code.d.ts +54 -7
  176. package/dist/types/components/input-date/input-date.d.ts +30 -16
  177. package/dist/types/components/input-password/exports.d.ts +1 -0
  178. package/dist/types/components/input-password/input-password.d.ts +53 -16
  179. package/dist/types/components/input-phone-number/input-phone-number.d.ts +5 -16
  180. package/dist/types/components/label/label.d.ts +0 -18
  181. package/dist/types/components/list-item/list-item/list-item.d.ts +0 -6
  182. package/dist/types/components/popover/exports.d.ts +0 -2
  183. package/dist/types/components/popover/popover.d.ts +1 -14
  184. package/dist/types/components/radio-button/radio-button.d.ts +5 -0
  185. package/dist/types/components/radio-group/radio-group.d.ts +6 -28
  186. package/dist/types/components/select/select.d.ts +34 -52
  187. package/dist/types/components/textarea/textarea.d.ts +5 -32
  188. package/dist/types/components/toast/toast.d.ts +10 -7
  189. package/dist/types/components.d.ts +347 -647
  190. package/dist/web-components/bundled-icons/riverty-kit.json +1 -1
  191. package/dist/web-components/p-0347feff.entry.js +1 -0
  192. package/dist/web-components/p-05738503.entry.js +1 -0
  193. package/dist/web-components/p-0e4c8bf1.entry.js +1 -0
  194. package/dist/web-components/p-1da75540.entry.js +1 -0
  195. package/dist/web-components/p-26ef77d6.entry.js +1 -0
  196. package/dist/web-components/p-3884c6e7.entry.js +1 -0
  197. package/dist/web-components/p-3a5a67e7.entry.js +1 -0
  198. package/dist/web-components/p-3f60c6c0.entry.js +1 -0
  199. package/dist/web-components/p-4254a383.entry.js +1 -0
  200. package/dist/web-components/{p-87f39749.entry.js → p-4595fa8e.entry.js} +1 -1
  201. package/dist/web-components/{p-4e3df002.entry.js → p-4cc58c6a.entry.js} +1 -1
  202. package/dist/web-components/p-5441b746.entry.js +1 -0
  203. package/dist/web-components/{p-72fa1fd1.entry.js → p-550e2237.entry.js} +1 -1
  204. package/dist/web-components/p-589baaf9.entry.js +1 -0
  205. package/dist/web-components/p-60341de2.entry.js +1 -0
  206. package/dist/web-components/{p-4bd3e077.entry.js → p-60ca994e.entry.js} +1 -1
  207. package/dist/web-components/{p-44ae9f33.entry.js → p-62b788bf.entry.js} +1 -1
  208. package/dist/web-components/{p-2b2f581a.entry.js → p-6303b9fe.entry.js} +1 -1
  209. package/dist/web-components/p-63fd817d.entry.js +1 -0
  210. package/dist/web-components/{p-e0e2f2b2.entry.js → p-673dbfd0.entry.js} +1 -1
  211. package/dist/web-components/p-67fa3f84.entry.js +1 -0
  212. package/dist/web-components/p-6a4f3836.entry.js +1 -0
  213. package/dist/web-components/p-6cc2ea2c.entry.js +1 -0
  214. package/dist/web-components/p-70784685.entry.js +1 -0
  215. package/dist/web-components/{p-429213ea.entry.js → p-7fed6f4d.entry.js} +1 -1
  216. package/dist/web-components/p-8a66d20c.entry.js +1 -0
  217. package/dist/web-components/{p-0bb04d79.entry.js → p-8b4d2448.entry.js} +1 -1
  218. package/dist/web-components/{p-c7f8e59b.entry.js → p-8c31cbd5.entry.js} +1 -1
  219. package/dist/web-components/p-8dac326b.entry.js +1 -0
  220. package/dist/web-components/{p-1c2497de.entry.js → p-9ef1bbee.entry.js} +1 -1
  221. package/dist/web-components/p-a0dbde7c.entry.js +1 -0
  222. package/dist/web-components/{p-755cc697.entry.js → p-a71485d8.entry.js} +1 -1
  223. package/dist/web-components/p-a7d22c76.entry.js +1 -0
  224. package/dist/web-components/{p-85a9af42.entry.js → p-ae251d2f.entry.js} +1 -1
  225. package/dist/web-components/{p-77155630.entry.js → p-b98ab649.entry.js} +1 -1
  226. package/dist/web-components/p-b9e3b3d6.entry.js +1 -0
  227. package/dist/web-components/p-c1e748f2.entry.js +1 -0
  228. package/dist/web-components/p-c478712b.entry.js +1 -0
  229. package/dist/web-components/{p-72c0c0d8.entry.js → p-d054eb4d.entry.js} +1 -1
  230. package/dist/web-components/p-d433a828.entry.js +1 -0
  231. package/dist/web-components/p-d7726e46.entry.js +1 -0
  232. package/dist/web-components/p-d819c8e5.entry.js +1 -0
  233. package/dist/web-components/p-e2188953.entry.js +1 -0
  234. package/dist/web-components/{p-3b4e3faf.entry.js → p-e5945c01.entry.js} +1 -1
  235. package/dist/web-components/{p-d1379ac6.entry.js → p-f9d5004c.entry.js} +1 -1
  236. package/dist/web-components/web-components.esm.js +1 -1
  237. package/package.json +1 -1
  238. package/dist/cjs/r-accordion-item.cjs.entry.js +0 -78
  239. package/dist/cjs/r-icon-button.cjs.entry.js +0 -81
  240. package/dist/collection/components/accordion-item/accordion-item.css +0 -121
  241. package/dist/collection/components/accordion-item/accordion-item.js +0 -138
  242. package/dist/esm/r-accordion-item.entry.js +0 -76
  243. package/dist/esm/r-icon-button.entry.js +0 -79
  244. package/dist/types/components/accordion-item/accordion-item.d.ts +0 -26
  245. package/dist/web-components/p-00ca474f.entry.js +0 -1
  246. package/dist/web-components/p-289eb4b0.entry.js +0 -1
  247. package/dist/web-components/p-2b8e12ae.entry.js +0 -1
  248. package/dist/web-components/p-2e2c8a5b.entry.js +0 -1
  249. package/dist/web-components/p-3a39932b.entry.js +0 -1
  250. package/dist/web-components/p-3bc93d65.entry.js +0 -1
  251. package/dist/web-components/p-44be9992.entry.js +0 -1
  252. package/dist/web-components/p-4652635a.entry.js +0 -1
  253. package/dist/web-components/p-51a5804b.entry.js +0 -1
  254. package/dist/web-components/p-63474b32.entry.js +0 -1
  255. package/dist/web-components/p-74d2a563.entry.js +0 -1
  256. package/dist/web-components/p-7ad8e78b.entry.js +0 -1
  257. package/dist/web-components/p-8028c2a9.entry.js +0 -1
  258. package/dist/web-components/p-96ddeb7f.entry.js +0 -1
  259. package/dist/web-components/p-9d898089.entry.js +0 -1
  260. package/dist/web-components/p-9e50120b.entry.js +0 -1
  261. package/dist/web-components/p-9eb1f262.entry.js +0 -1
  262. package/dist/web-components/p-a022f356.entry.js +0 -1
  263. package/dist/web-components/p-a7e7f8fa.entry.js +0 -1
  264. package/dist/web-components/p-b2f03016.entry.js +0 -1
  265. package/dist/web-components/p-c300c22f.entry.js +0 -1
  266. package/dist/web-components/p-c937bd92.entry.js +0 -1
  267. package/dist/web-components/p-cbcd7699.entry.js +0 -1
  268. package/dist/web-components/p-d93c240d.entry.js +0 -1
  269. package/dist/web-components/p-e4b66277.entry.js +0 -1
  270. package/dist/web-components/p-e6a31881.entry.js +0 -1
  271. package/dist/web-components/p-f6a92287.entry.js +0 -1
  272. package/dist/web-components/p-f770e22b.entry.js +0 -1
  273. package/dist/web-components/p-f952161b.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,H as i,g as r}from"./p-Da7qOBFr.js";const o=class{constructor(e){t(this,e),this.triggerMouseEnter=s(this,"triggerMouseEnter"),this.triggerMouseLeave=s(this,"triggerMouseLeave"),this.handleMouseEnter=()=>{this.triggerMouseEnter.emit()},this.handleMouseLeave=()=>{this.triggerMouseLeave.emit()}}get activeElement(){const t=["r-button","r-icon-button","a[href]","button:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", "),s=this.host.querySelector(t);return s&&s instanceof HTMLElement?(s.tagName.toLowerCase(),s):null}async setFocus(){return this.activeElement?"setFocus"in this.activeElement&&"function"==typeof this.activeElement.setFocus?(await this.activeElement.setFocus(),Promise.resolve(this.activeElement)):(this.activeElement.focus(),Promise.resolve(this.activeElement)):Promise.resolve(null)}async setBlur(){var t;null===(t=this.activeElement)||void 0===t||t.blur()}render(){return e(i,{key:"78536189423d25a1cf3ee3630512ad44b2dbd444",slot:"trigger",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e("slot",{key:"e634da1b6053eb1c0df7f08f5486f9492c2bd4d0"}))}get host(){return r(this)}};o.style=":host{display:block;cursor:pointer}";export{o as r_popover_trigger}
1
+ import{r as t,c as e,h as s,H as i,g as r}from"./p-Da7qOBFr.js";const o=class{constructor(s){t(this,s),this.triggerMouseEnter=e(this,"triggerMouseEnter"),this.triggerMouseLeave=e(this,"triggerMouseLeave"),this.handleMouseEnter=()=>{this.triggerMouseEnter.emit()},this.handleMouseLeave=()=>{this.triggerMouseLeave.emit()}}get activeElement(){const t=["r-button","r-icon-button","a[href]","button:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", "),e=this.host.querySelector(t);return e&&e instanceof HTMLElement?(e.tagName.toLowerCase(),e):null}async setFocus(){return this.activeElement?"setFocus"in this.activeElement&&"function"==typeof this.activeElement.setFocus?(await this.activeElement.setFocus(),Promise.resolve(this.activeElement)):(this.activeElement.focus(),Promise.resolve(this.activeElement)):Promise.resolve(null)}async setBlur(){var t;null===(t=this.activeElement)||void 0===t||t.blur()}render(){return s(i,{key:"fe285ee3a91600ee0e0cebeb9f5818eb30d89f06",slot:"trigger",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},s("slot",{key:"3782871f7aac634d3c1ccef2f516cdf00916b4f6"}))}get host(){return r(this)}};o.style=":host{display:block;cursor:pointer}";export{o as r_popover_trigger}
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as i,H as r,g as n}from"./p-Da7qOBFr.js";const e=class{constructor(i){t(this,i),this.rClick=o(this,"rClick"),this.size="m",this.tooltipPosition="top",this.variant="standard",this._handleClick=t=>{this.disabled?t.preventDefault():this.rClick.emit()},this.onFocus=()=>{this.setFocus()},this.onBlur=()=>{this.setBlur()}}async triggerClick(){var t;null===(t=this.nativeElement)||void 0===t||t.click()}async setFocus(){var t;null===(t=this.nativeElement)||void 0===t||t.focus()}async setBlur(){var t;null===(t=this.nativeElement)||void 0===t||t.blur()}render(){const{name:t,size:o,disabled:n,tooltipText:e,tooltipPosition:a}=this,s={disabled:n},l={name:t,size:o},h=()=>i("button",Object.assign({key:"911b0a6390b2dfa0084bda96e12f0968859a31e4",type:"button",class:"r-icon-button","aria-label":this.host.getAttribute("aria-label")||null},s,{onClick:this._handleClick,onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeElement=t}),t?i("r-icon",Object.assign({},l)):i("r-icon",{size:o,class:"r-icon-button--icon"},i("slot",null)),i("span",{key:"2306cd32340a99653bb02c86de43324a2c0ca35b",class:"r-icon-button--label visually-hidden"},this.label),i("span",{key:"9cb523d0c82caf25d472b8969a0afee41ad776aa",class:"r-icon-button--target-area"}));return i(r,{key:"2710af0c77ea56a4cf69e29c09221ba7d913bc9d"},!n&&e?i("r-tooltip",{text:e,position:a},h()):h())}get host(){return n(this)}};e.style=":host{display:inline-flex;vertical-align:top;--r-icon-button--color:inherit}:host(:hover:not([disabled]:not([disabled=false])):not(:active)){--r-icon-button--background-color:var(--r-background-interactive-hovered, rgba(40, 40, 40, 0.04))}:host(:active:not([disabled]:not([disabled=false]))){--r-icon-button--background-color:var(--r-background-interactive-pressed, rgba(40, 40, 40, 0.12))}:host(:focus-within:not(:active):not([disabled]:not([disabled=false]))){box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);outline:2px solid var(--r-border-focused, #0071e3);outline-offset:2px}:host([disabled]:not([disabled=false])){opacity:0.4;--r-icon-button--cursor:not-allowed;--r-icon-button--box-shadow:none;--r-icon-button--background-color:transparent}:host([variant=contained]){--r-icon-button--color:var(--r-icon-inverse, #fff);--r-icon-button--background-color:var(--r-background-interactive-regular, #282828);--r-icon-button--box-shadow:none}:host([variant=contained]:hover:not([disabled]:not([disabled=false]))){--r-icon-button--color:var(--r-icon-regular, #282828);--r-icon-button--background-color:var(--r-background-interactive-hovered, rgba(40, 40, 40, 0.04))}:host([variant=contained]:active:not([disabled]:not([disabled=false]))){--r-icon-button--color:var(--r-icon-regular, #282828);--r-icon-button--background-color:var(--r-background-interactive-pressed, rgba(40, 40, 40, 0.12))}:host([variant=contained][disabled]:not([disabled=false])){--r-icon-button--color:var(--r-icon-inverse, #fff);--r-icon-button--background-color:var(--r-background-interactive-regular, #282828)}:host([size=s]){--r-icon-button--height:1.5rem;--r-icon-button--width:1.5rem}:host([size=m]){--r-icon-button--height:2.25rem;--r-icon-button--width:2.25rem}:host([size=l]){--r-icon-button--height:2.75rem;--r-icon-button--width:2.75rem}.r-icon-button{display:var(--r-icon-button--display, inline-flex);align-items:var(--r-icon-button--align-items, center);justify-content:var(--r-icon-button--justify-content, center);outline:var(--r-icon-button--outline, none);cursor:var(--r-icon-button--cursor, pointer);pointer-events:var(--r-icon-button--pointer-events, initial);padding:var(--r-icon-button--padding, 0);border:var(--r-icon-button--border, none);color:var(--r-icon-button--color, inherit);background-color:var(--r-icon-button--background-color, transparent);box-sizing:var(--r-icon-button--box-sizing, border-box);border-width:var(--r-icon-button--border-width, 1px);border-style:var(--r-icon-button--border-style, solid);border-color:var(--r-icon-button--border-color, transparent);border-radius:var(--r-icon-button--border-radius, 50%);z-index:var(--r-icon-button--z-index, initial);width:var(--r-icon-button--width, 2.25rem);height:var(--r-icon-button--height, 2.25rem)}.r-icon-button--target-area{position:var(--r-icon-button--target-area--position, absolute);background:var(--r-icon-button--target-area--background, rgba(0, 0, 0, 0));width:var(--r-icon-button--target-area--width, 2.75rem);height:var(--r-icon-button--target-area--height, 2.75rem);z-index:var(--r-icon-button--target-area--z-index, 1)}.r-icon-button--icon{display:flex;align-items:center;justify-content:center}.visually-hidden{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}";const a=20,s=class{constructor(i){t(this,i),this.rTooltipFocus=o(this,"rTooltipFocus"),this.text="",this.position="top",this.arrowPositionState="left",this.isShown=!1,this.uniqueId=`r-tooltip-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.getOffsetLeft=t=>{var o,i,r;const n=Math.abs((null===(o=this.element)||void 0===o?void 0:o.getBoundingClientRect().width)-(null===(r=null===(i=this.tooltip)||void 0===i?void 0:i.getBoundingClientRect())||void 0===r?void 0:r.width));switch(t){case"center":return n/2;case"right":return n;default:return 0}},this.alignTooltipPosition=()=>{var t,o,i,r,n,e,a;const s=Math.abs((null===(t=this.element)||void 0===t?void 0:t.getBoundingClientRect().height)-(null===(i=null===(o=this.tooltip)||void 0===o?void 0:o.getBoundingClientRect())||void 0===i?void 0:i.height))/2,l=this.getOffsetLeft(this.arrowPositionState),h=(null===(n=null===(r=this.element)||void 0===r?void 0:r.getBoundingClientRect())||void 0===n?void 0:n.height)+this.arrowHeight||0,c=(null===(a=null===(e=this.element)||void 0===e?void 0:e.getBoundingClientRect())||void 0===a?void 0:a.width)+this.arrowWidth||0;switch(this.positionState){case"top":this.alignPosition(this.tooltip,-l,-this.tooltipContainerHeight);break;case"bottom":this.alignPosition(this.tooltip,-l,h);break;case"left":this.alignPosition(this.tooltip,-this.tooltipContainerWidth,-s);break;case"right":this.alignPosition(this.tooltip,c,-s)}},this.alignArrowPosition=()=>{var t,o,i,r,n,e,a,s,l,h;const c=Math.abs((null===(t=this.element)||void 0===t?void 0:t.getBoundingClientRect().height)-(null===(i=null===(o=this.arrow)||void 0===o?void 0:o.getBoundingClientRect())||void 0===i?void 0:i.height))/2,d=Math.abs((null===(r=this.element)||void 0===r?void 0:r.getBoundingClientRect().width)-(null===(e=null===(n=this.arrow)||void 0===n?void 0:n.getBoundingClientRect())||void 0===e?void 0:e.width))/2,u=(null===(s=null===(a=this.element)||void 0===a?void 0:a.getBoundingClientRect())||void 0===s?void 0:s.height)||0,p=(null===(h=null===(l=this.element)||void 0===l?void 0:l.getBoundingClientRect())||void 0===h?void 0:h.width)||0;switch(this.positionState){case"top":this.alignPosition(this.arrow,d,-this.arrowHeight);break;case"bottom":this.alignPosition(this.arrow,d,u);break;case"left":this.alignPosition(this.arrow,-this.arrowWidth,c);break;case"right":this.alignPosition(this.arrow,p,c)}},this.alignPosition=(t,o,i)=>{var r;if(!t)return;let n=null===(r=this.element)||void 0===r?void 0:r.getBoundingClientRect(),e=n.left+o,a=n.top+i;t.style.left=`${e>0?e:0}px`,t.style.top=`${a}px`},this.handleHover=()=>{this.showTooltip(),this.setCorrectPosition()},this.handleFocus=()=>{this.showTooltip(),this.setCorrectPosition(),this.rTooltipFocus.emit({element:this.element})},this.showTooltip=()=>{this.isShown=!0,this.tooltip.classList.add("r-tooltip--content--visible")},this.removeTooltip=()=>{this.isShown=!1,this.tooltip.style.width="max-content",this.tooltip.classList.remove("r-tooltip--content--visible")},this.handleScroll=()=>{this.isShown&&(this.isOnScreen?this.setCorrectPosition():this.removeTooltip())}}handleVerticalPosition(){this.setCorrectPosition()}handleScrolling(){this.setCorrectPosition()}handleResizing(){this.setCorrectPosition()}handleKeydown(t){this.isShown&&"Escape"===t.key&&this.removeTooltip()}get overflowedParent(){return this.findOverflowParent(this.element.parentElement)}get arrowWidth(){var t;return(null===(t=this.arrow)||void 0===t?void 0:t.getBoundingClientRect().width)||0}get arrowHeight(){var t;return(null===(t=this.arrow)||void 0===t?void 0:t.getBoundingClientRect().height)||0}get tooltipContainerWidth(){var t,o;return(null===(o=null===(t=this.tooltip)||void 0===t?void 0:t.getBoundingClientRect())||void 0===o?void 0:o.width)+this.arrowWidth||0}get tooltipContainerHeight(){var t,o;return(null===(o=null===(t=this.tooltip)||void 0===t?void 0:t.getBoundingClientRect())||void 0===o?void 0:o.height)+this.arrowHeight||0}get top(){return this.element.getBoundingClientRect().top}get left(){return this.element.getBoundingClientRect().left}get isOnScreen(){const t=(this.overflowedParent||document.documentElement).getBoundingClientRect(),o=this.element.getBoundingClientRect();return o.top>=t.top&&o.bottom<=t.bottom&&o.left>=t.left&&o.right<=t.right}get bottom(){return t=this.element,window.innerHeight-t.getBoundingClientRect().top-t.getBoundingClientRect().height;var t}get right(){return t=this.element,window.innerWidth-t.getBoundingClientRect().left-t.getBoundingClientRect().width;var t}get horizontalPlacement(){return this.tooltipContainerWidth+a<this.left?"left":"right"}get verticalPlacement(){return this.tooltipContainerHeight+a<this.top?"top":"bottom"}get isEnoughSpaceVertically(){return this.tooltipContainerHeight+a<this.top||this.tooltipContainerHeight+a<this.bottom}get isEnoughSpaceHorizontally(){return this.tooltipContainerWidth+a<this.left||this.tooltipContainerWidth+a<this.right}get activeElement(){return this.element.querySelector('r-button, r-icon-button, a, button, [tabindex]:not([tabindex="-1"])')}componentWillLoad(){this.positionState=this.position}componentDidLoad(){var t,o,i;null===(t=this.activeElement)||void 0===t||t.addEventListener("focus",(()=>{this.handleFocus()})),null===(o=this.activeElement)||void 0===o||o.addEventListener("blur",(()=>{this.removeTooltip()})),null===(i=this.overflowedParent)||void 0===i||i.addEventListener("scroll",(()=>{this.handleScroll()}))}findOverflowParent(t){var o,i;return t?(null===(o=t.parentNode)||void 0===o?void 0:o.nodeType)===Node.DOCUMENT_FRAGMENT_NODE?this.findOverflowParent(null===(i=t.parentNode)||void 0===i?void 0:i.host):function(t){return"visible"!==getComputedStyle(t).overflow}(t)?t:t.parentElement?this.findOverflowParent(t.parentElement):null:null}getAlternativePosition(){switch(this.position){case"top":return this.isEnoughSpaceVertically?"bottom":this.horizontalPlacement;case"bottom":return this.isEnoughSpaceVertically?"top":this.horizontalPlacement;case"left":return this.isEnoughSpaceHorizontally?"right":this.verticalPlacement;case"right":return this.isEnoughSpaceHorizontally?"left":this.verticalPlacement}}setCorrectPosition(){if(this.tooltip&&this.isShown){switch(this.position){case"top":this.positionState=this.tooltipContainerHeight+a<this.top?this.position:this.getAlternativePosition();break;case"bottom":this.positionState=this.tooltipContainerHeight+a<this.bottom?this.position:this.getAlternativePosition();break;case"left":this.positionState=this.tooltipContainerWidth+a<this.left?this.position:this.getAlternativePosition();break;case"right":this.positionState=this.tooltipContainerWidth+a<this.right?this.position:this.getAlternativePosition()}this.adjustArrowPosition(),this.alignTooltipPosition(),this.alignArrowPosition(),"fit-content"!==this.tooltip.style.width&&(this.tooltip.style.width="fit-content",this.alignTooltipPosition())}}adjustArrowPosition(){const t=this.tooltipContainerWidth/2+a<this.left,o=this.tooltipContainerWidth/2+a<this.right;t&&o||!t&&!o||"left"===this.positionState||"right"===this.positionState?this.arrowPositionState="center":t?o||(this.arrowPositionState="right"):this.arrowPositionState="left"}render(){const{text:t,arrowPositionState:o,positionState:n,isShown:e,uniqueId:a}=this,s={tabindex:this.activeElement?null:0,role:this.activeElement?null:"button","aria-describedby":e&&a||null},l={id:a,role:"tooltip","aria-hidden":`${!e}`};return i(r,Object.assign({key:"1b2ce4ee1a9f9ca227b96e567fb61b560858734e"},{"data-arrow-position":o,"data-position":n},{onMouseenter:this.handleHover,onMouseleave:this.removeTooltip}),i("div",{key:"1379aefd4bf69b312a9ce3ef443f5e9fe970f09e",class:"r-tooltip"},i("div",Object.assign({key:"80f00e66c8f01bb0df9107943c15d6616e4e7197",class:"r-tooltip--trigger",onFocus:this.handleFocus,onBlur:this.removeTooltip},s),i("slot",{key:"42e1453731bdd404083e11d3d2f0ae4603e4c57b"})),i("div",Object.assign({key:"00aa4f22f9c3e40d1c8e86cdd950ef1d160e29cf",class:"r-tooltip--content",ref:t=>this.tooltip=t},l),t),i("div",{key:"b717d5e45d3f970ee87f409d61a6353fb138fc7b",ref:t=>this.arrow=t,class:"r-tooltip--arrow"})))}get element(){return n(this)}static get watchers(){return{position:["handleVerticalPosition"]}}};s.style=':host{display:inline-block;--r-tooltip--position:relative;--r-tooltip--content--position:fixed;--r-tooltip--content--display:none;--r-tooltip--content--color:var(--r-text-inverse);--r-tooltip--content--background-color:var(--r-background-inverse);--r-tooltip--content--font-family:var(--r-font-family-text);--r-tooltip--content--font-weight:var(--r-font-weight-regular);--r-tooltip--content--font-size:var(--r-font-size-200);--r-tooltip--content--line-height:var(--r-line-height-s);--r-tooltip--content--min-width:32px;--r-tooltip--content--max-width:300px;--r-tooltip--content--min-height:32px;--r-tooltip--content--padding:var(--r-spacing-050) var(--r-spacing-100);--r-tooltip--content--width:max-width;--r-tooltip--content--word-break:break-word;--r-tooltip--content--box-sizing:border-box;--r-tooltip--content--justify-content:center;--r-tooltip--content--align-items:center;--r-tooltip--content--z-index:0;--r-tooltip--arrow--display:none;--r-tooltip--arrow--position:fixed;--r-tooltip--arrow--width:12px;--r-tooltip--arrow--height:12px;--r-tooltip--arrow--transform:rotate(180deg);--r-tooltip--arrow--inner-content:"";--r-tooltip--arrow--inner--width:12px;--r-tooltip--arrow--inner--height:6px;--r-tooltip--arrow--inner--background-color:var(--r-tooltip--content--background-color);--r-tooltip--arrow--inner--clip-path:polygon(50% 0%, 0% 100%, 100% 100%);--r-tooltip--arrow--inner--border-radius:0;--r-tooltip--arrow--inner--align-self:flex-end}:host slot{display:contents}:host([data-position=bottom]){--r-tooltip--arrow--transform:rotate(0)}:host([data-position=right]){--r-tooltip--arrow--transform:rotate(270deg)}:host([data-position=left]){--r-tooltip--arrow--transform:rotate(90deg)}.r-tooltip{position:var(--r-tooltip--position)}.r-tooltip:has(.r-tooltip--content--visible){--r-tooltip--content--width:max-content;--r-tooltip--content--display:flex;--r-tooltip--content--z-index:1060;--r-tooltip--arrow--display:flex;--r-tooltip--arrow--inner--display:block}.r-tooltip--trigger{color:var(--r-tooltip--trigger--color, inherit);box-shadow:var(--r-tooltip--trigger--box-shadow, none);outline:var(--r-tooltip--trigger--outline, none);outline-offset:var(--r-tooltip--trigger--outline-offset, 0)}.r-tooltip--trigger:focus{--r-tooltip--trigger--box-shadow:0 0 0 6px var(--r-border-focused-outlined);--r-tooltip--trigger--outline:2px solid var(--r-border-focused);--r-tooltip--trigger--outline-offset:2px}.r-tooltip--content{position:var(--r-tooltip--content--position);display:var(--r-tooltip--content--display);color:var(--r-tooltip--content--color);background-color:var(--r-tooltip--content--background-color);font-family:var(--r-tooltip--content--font-family);font-weight:var(--r-tooltip--content--font-weight);font-size:var(--r-tooltip--content--font-size);line-height:var(--r-tooltip--content--line-height);min-width:var(--r-tooltip--content--min-width);max-width:var(--r-tooltip--content--max-width);min-height:var(--r-tooltip--content--min-height);padding:var(--r-tooltip--content--padding);width:var(--r-tooltip--content--width);word-break:var(--r-tooltip--content--word-break);box-sizing:var(--r-tooltip--content--box-sizing);z-index:var(--r-tooltip--content--z-index)}.r-tooltip--arrow{display:var(--r-tooltip--arrow--display);position:var(--r-tooltip--arrow--position);width:var(--r-tooltip--arrow--width);height:var(--r-tooltip--arrow--height);transform:var(--r-tooltip--arrow--transform)}.r-tooltip--arrow:after{content:var(--r-tooltip--arrow--inner-content);display:var(--r-tooltip--arrow--inner--display);width:var(--r-tooltip--arrow--inner--width);height:var(--r-tooltip--arrow--inner--height);background-color:var(--r-tooltip--arrow--inner--background-color);clip-path:var(--r-tooltip--arrow--inner--clip-path);border-radius:var(--r-tooltip--arrow--inner--border-radius);align-self:var(--r-tooltip--arrow--inner--align-self)}';export{e as r_icon_button,s as r_tooltip}
@@ -1 +1 @@
1
- import{r,h as a,H as s}from"./p-Da7qOBFr.js";const o=class{constructor(a){r(this,a),this.progress=0}render(){const{progress:r,rAriaLabel:o}=this;return a(s,{key:"81203123d2df8fb029855f39dc359b98991630ee"},a("progress",Object.assign({key:"f766b44c2c4088ab67d69b57de074fee15be166c"},{value:r,max:"100","aria-label":o},{class:"r-progress-bar"})))}};o.style=":host{--r-progress-bar--appearance:none;--r-progress-bar--width:100%;--r-progress-bar--height:8px;--r-progress-bar--background-color:var(--r-background-soft);--r-progress-bar--border-radius:0;--r-progress-bar--border:none;--progress-bar--value--background-color:var(--r-background-interactive-regular);--progress-bar--value--border-radius:0;--progress-bar--value--transition:all 0.6s ease;display:block}.r-progress-bar{appearance:var(--r-progress-bar--appearance);width:var(--r-progress-bar--width);height:var(--r-progress-bar--height);background-color:var(--r-progress-bar--background-color);border-radius:var(--r-progress-bar--border-radius);border:var(--r-progress-bar--border)}.r-progress-bar::-webkit-progress-bar{background-color:var(--r-progress-bar--background-color);border-radius:var(--r-progress-bar--border-radius);border:var(--r-progress-bar--border)}.r-progress-bar::-webkit-progress-value{background-color:var(--progress-bar--value--background-color);border-radius:var(--progress-bar--value--border-radius);transition:var(--progress-bar--value--transition)}.r-progress-bar::-moz-progress-bar{background-color:var(--progress-bar--value--background-color);border-radius:var(--progress-bar--value--border-radius);transition:var(--progress-bar--value--transition)}.r-progress-bar::-ms-fill{background-color:var(--progress-bar--value--background-color);border-radius:var(--progress-bar--value--border-radius);transition:var(--progress-bar--value--transition)}";export{o as r_progress_bar}
1
+ import{r,h as a,H as s}from"./p-Da7qOBFr.js";const o=class{constructor(a){r(this,a),this.progress=0}render(){const{progress:r,rAriaLabel:o}=this;return a(s,{key:"f79c73155a42eef63910abde1fc2cebd147b7129"},a("progress",Object.assign({key:"ce94e9a20124fa8cd1561612e2797e17f0ebe19f"},{value:r,max:"100","aria-label":o},{class:"r-progress-bar"})))}};o.style=":host{--r-progress-bar--appearance:none;--r-progress-bar--width:100%;--r-progress-bar--height:8px;--r-progress-bar--background-color:var(--r-background-soft);--r-progress-bar--border-radius:0;--r-progress-bar--border:none;--progress-bar--value--background-color:var(--r-background-interactive-regular);--progress-bar--value--border-radius:0;--progress-bar--value--transition:all 0.6s ease;display:block}.r-progress-bar{appearance:var(--r-progress-bar--appearance);width:var(--r-progress-bar--width);height:var(--r-progress-bar--height);background-color:var(--r-progress-bar--background-color);border-radius:var(--r-progress-bar--border-radius);border:var(--r-progress-bar--border)}.r-progress-bar::-webkit-progress-bar{background-color:var(--r-progress-bar--background-color);border-radius:var(--r-progress-bar--border-radius);border:var(--r-progress-bar--border)}.r-progress-bar::-webkit-progress-value{background-color:var(--progress-bar--value--background-color);border-radius:var(--progress-bar--value--border-radius);transition:var(--progress-bar--value--transition)}.r-progress-bar::-moz-progress-bar{background-color:var(--progress-bar--value--background-color);border-radius:var(--progress-bar--value--border-radius);transition:var(--progress-bar--value--transition)}.r-progress-bar::-ms-fill{background-color:var(--progress-bar--value--background-color);border-radius:var(--progress-bar--value--border-radius);transition:var(--progress-bar--value--transition)}";export{o as r_progress_bar}
@@ -0,0 +1 @@
1
+ import{r as a,h as e,H as t,g as s}from"./p-Da7qOBFr.js";const r=class{constructor(e){a(this,e)}render(){return e(t,{key:"272870387e6e1abe3db2a67a38cfcd502a0e5aac",slot:"leading"},e("div",{key:"7fd29eb8b31cda51e7a3bebebf8d80c7b0a79622",class:"r-radio-button-leading",style:{display:"contents"}},e("slot",{key:"542afc33263c2f06007b1c50225457af3e1b9051"})))}get host(){return s(this)}};r.style=":host{color:var(--r-icon-soft, #686868)}";export{r as r_radio_button_leading}
@@ -0,0 +1 @@
1
+ import{r,h as t,H as e,g as a}from"./p-Da7qOBFr.js";const s=class{constructor(t){r(this,t)}render(){return t(e,{key:"cd678f2b6c1e00e95ecfc56b1e460b3b3ab37597",slot:"description"},t("div",{key:"a19901417798ef6dacd6ad82c9eab7e2a8227cd5",class:"r-radio-button-description",style:{display:"contents"}},t("slot",{key:"ba9308abf507f84affb24bb7eb8a43c8da4fd613"})))}get host(){return a(this)}};s.style=":host{font-size:var(--r-font-size-400, 1rem);font-weight:var(--r-font-weight-regular, 400);color:var(--r-text-regular, #282828)}";export{s as r_radio_button_description}
@@ -1 +1 @@
1
- import{r as t,h as r,H as a}from"./p-Da7qOBFr.js";const s=class{constructor(r){t(this,r)}render(){return r(a,{key:"323b36e7d276c42c72764c34f2564153d80b64d2",role:"tablist"},r("div",{key:"bab777186d6d538c6f541e08bda090ab228f38d3",class:"r-tabs-list"},r("slot",{key:"60a0d80ba3ada9d218ca8058cdcdf720277e19d0"})))}};s.style=":host{display:block}.r-tabs-list{display:var(--r-tabs-list--display, flex);margin-bottom:var(--r-tabs-list--margin-bottom, 40px);border-bottom-width:var(--r-tabs-list--border-bottom-width, 1px);border-bottom-style:var(--r-tabs-list--border-bottom-style, solid);border-bottom-color:var(--r-tabs-list--border-bottom-color, var(--r-border-softer, #c9c9c9))}.r-tabs-list ::slotted(r-tab){margin-right:var(--r-tabs-list--r-tab--margin-right, 40px)}.r-tabs-list ::slotted(r-tab:last-of-type){margin-right:var(--r-tabs-list--r-tab--last-of-type--margin-right, 0)}";export{s as r_tabs_list}
1
+ import{r as t,h as r,H as s}from"./p-Da7qOBFr.js";const a=class{constructor(r){t(this,r)}render(){return r(s,{key:"98a63f5b2df8649a90efc639cf745537eb903446",role:"tablist"},r("div",{key:"f1f0ce63461fed127e2e0789e941404545265b51",class:"r-tabs-list"},r("slot",{key:"e8302171cd66fba6332ed3301be7370dff43e69d"})))}};a.style=":host{display:block}.r-tabs-list{display:var(--r-tabs-list--display, flex);margin-bottom:var(--r-tabs-list--margin-bottom, 40px);border-bottom-width:var(--r-tabs-list--border-bottom-width, 1px);border-bottom-style:var(--r-tabs-list--border-bottom-style, solid);border-bottom-color:var(--r-tabs-list--border-bottom-color, var(--r-border-softer, #c9c9c9))}.r-tabs-list ::slotted(r-tab){margin-right:var(--r-tabs-list--r-tab--margin-right, 40px)}.r-tabs-list ::slotted(r-tab:last-of-type){margin-right:var(--r-tabs-list--r-tab--last-of-type--margin-right, 0)}";export{a as r_tabs_list}
@@ -1 +1 @@
1
- import{r as t,h as i,H as r}from"./p-Da7qOBFr.js";const s=class{constructor(i){t(this,i),this.position="center"}render(){return i(r,{key:"7ca2f29a347197be2951841e6b59807360e76f9d"},i("slot",{key:"6d26f29f7dbec9d60e302de3cbbf0d8d2afd3009"}))}};s.style=":host{display:inline-block;position:absolute;z-index:99999}:host:has(:not(:focus-within)){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host:has(:focus-within){top:var(--r-spacing-100);padding:var(--r-spacing-100);border:1px solid var(--r-border-regular);background:var(--r-background-softest);left:var(--r-skip-link--left, 50%);transform:var(--r-skip-link--transform, translateX(-50%))}:host([position=left]){--r-skip-link--left:var(--r-spacing-100);--r-skip-link--transform:none}::slotted(*:not(:focus-within)){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}";export{s as r_skip_link}
1
+ import{r as t,h as i,H as r}from"./p-Da7qOBFr.js";const s=class{constructor(i){t(this,i),this.position="center"}render(){return i(r,{key:"5097cfa89ded56bcfb98dc24ca0b1e42c389e4ae"},i("slot",{key:"bba803efc4b82b0612e270665d5f80b740a786f1"}))}};s.style=":host{display:inline-block;position:absolute;z-index:99999}:host:has(:not(:focus-within)){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host:has(:focus-within){top:var(--r-spacing-100);padding:var(--r-spacing-100);border:1px solid var(--r-border-regular);background:var(--r-background-softest);left:var(--r-skip-link--left, 50%);transform:var(--r-skip-link--transform, translateX(-50%))}:host([position=left]){--r-skip-link--left:var(--r-spacing-100);--r-skip-link--transform:none}::slotted(*:not(:focus-within)){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}";export{s as r_skip_link}
@@ -1 +1 @@
1
- import{r,c as t,h as a,H as e,g as o}from"./p-Da7qOBFr.js";const i=class{constructor(a){r(this,a),this.tabChange=t(this,"tabChange"),this.moveTabFocus=t(this,"moveTabFocus"),this.disabled=!1,this.active=!1,this.handleClick=()=>{this.disabled||this.active||this.tabChange.emit({element:this.host})},this.handleKeyup=r=>{this.disabled||this.active||("Enter"===r.code||"Space"===r.code)&&this.tabChange.emit({element:this.host})},this.handleKeydown=r=>{if(!this.disabled){switch(r.code){case"Space":case"Home":case"End":r.preventDefault()}this.moveTabFocus.emit({element:this.host,keycode:r.code})}}}render(){const{disabled:r,active:t,panelId:o}=this;return a(e,Object.assign({key:"2e2b2d84376e097c80a84a1e7224c0f026c16277",onClick:this.handleClick,onKeyUp:this.handleKeyup,onKeyDown:this.handleKeydown},{role:"tab",tabindex:t?"0":"-1","panel-id":o,"aria-controls":o,"aria-selected":`${t}`,"aria-disabled":`${r}`}),a("span",{key:"c38098d413b17ba8b8ddd3436687879d1b37114f",class:"r-tab"},a("span",{key:"3f7bfedd8a933da7ec52f34dd64f3a4e862cb836",class:"r-tab--slot"},a("slot",{key:"bc056a0d06188ddd1b47c3c062a4d51367e48393"}))))}get host(){return o(this)}};i.style=':host{display:flex;outline:none;opacity:1;cursor:pointer}:host(:hover:not([disabled]:not([disabled=false]))){--r-tab--color:var(--r-text-strong);--r-tab--marker--height:5px;--r-tab--marker--background-color:var(--r-border-softer, #c9c9c9);--r-tab--marker--visibility:visible}:host(:active:not([disabled]:not([disabled=false]))){--r-tab--background-color:var(--r-background-interactive-pressed, rgba(40,40,40,0.12))}:host(:focus-visible){--r-tab--marker--visibility:visible;--r-tab--marker--height:5px;--r-tab--marker--background-color:var(--r-background-interactive-pressed, rgba(40,40,40,0.12));--r-tab--slot--box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);--r-tab--slot--outline:2px solid var(--r-border-focused, #0071e3);--r-tab--slot--outline-offset:2px}:host([active]:not([active=false])){cursor:default;--r-tab--font-weight:var(--r-font-weight-semibold, 600);--r-tab--color:var(--r-text-strong, #000);--r-tab--padding-left:0.5625rem;--r-tab--padding-right:0.5625rem;--r-tab--marker--background-color:var(--r-border-regular, #282828);--r-tab--marker--visibility:visible;--r-tab--marker--height:3px}:host([disabled]:not([disabled=false])){opacity:0.4;cursor:not-allowed;--r-tab--pointer-events:none;--r-tab--marker--visibility:hidden;--r-tab--slot--box-shadow:none}.r-tab{position:var(--r-tab--position, relative);font-family:var(--r-tab--font-family, var(--r-font-family-text, system-ui));font-weight:var(--r-tab--font-weight, var(--r-font-weight-regular, 400));font-size:var(--r-tab--font-size, var(--r-font-size-400, 1rem));line-height:var(--r-tab--line-height, 1);cursor:var(--r-tab--cursor, inherit);pointer-events:var(--r-tab--pointer-events, initial);padding-top:var(--r-tab--padding-top, 0);padding-right:var(--r-tab--padding-right, 0.625rem);padding-bottom:var(--r-tab--padding-bottom, 1.25rem);padding-left:var(--r-tab--padding-left, 0.625rem);opacity:var(--r-tab--opacity, 1);background:var(--r-tab--background, none);color:var(--r-tab--color, var(--r-text-regular, #282828));border:var(--r-tab--border, none);box-shadow:var(--r-tab--box-shadow, none);outline:var(--r-tab--outline, none)}.r-tab::after{content:var(--r-tab--marker--content, "");width:var(--r-tab--marker--width, 100%);height:var(--r-tab--marker--height, 3px);position:var(--r-tab--marker--position, absolute);bottom:var(--r-tab--marker--bottom, 0);left:var(--r-tab--marker--left, 0);visibility:var(--r-tab--marker--visibility, hidden);background-color:var(--r-tab--marker--background-color, rgba(0, 0, 0, 0));transition:var(--r-tab--marker--transition, all 0.1s ease-in)}.r-tab--slot{box-shadow:var(--r-tab--slot--box-shadow, none);outline:var(--r-tab--slot--outline, none);outline-offset:var(--r-tab--slot--outline-offset, 0)}';export{i as r_tab}
1
+ import{r,c as t,h as a,H as e,g as o}from"./p-Da7qOBFr.js";const i=class{constructor(a){r(this,a),this.tabChange=t(this,"tabChange"),this.moveTabFocus=t(this,"moveTabFocus"),this.disabled=!1,this.active=!1,this.handleClick=()=>{this.disabled||this.active||this.tabChange.emit({element:this.host})},this.handleKeyup=r=>{this.disabled||this.active||("Enter"===r.code||"Space"===r.code)&&this.tabChange.emit({element:this.host})},this.handleKeydown=r=>{if(!this.disabled){switch(r.code){case"Space":case"Home":case"End":r.preventDefault()}this.moveTabFocus.emit({element:this.host,keycode:r.code})}}}render(){const{disabled:r,active:t,panelId:o}=this;return a(e,Object.assign({key:"04af619a56c41414b02e942d9d5bba11ef5eb1a0",onClick:this.handleClick,onKeyUp:this.handleKeyup,onKeyDown:this.handleKeydown},{role:"tab",tabindex:t?"0":"-1","panel-id":o,"aria-controls":o,"aria-selected":`${t}`,"aria-disabled":`${r}`}),a("span",{key:"e3fcc9b084de339aafcf98d8c5ca06f0e9615916",class:"r-tab"},a("span",{key:"bb52bf58758c2404a61b595706ecb3e3f71942ee",class:"r-tab--slot"},a("slot",{key:"939a0e9618875e4909dbb763290f5f439122e312"}))))}get host(){return o(this)}};i.style=':host{display:flex;outline:none;opacity:1;cursor:pointer}:host(:hover:not([disabled]:not([disabled=false]))){--r-tab--color:var(--r-text-strong);--r-tab--marker--height:5px;--r-tab--marker--background-color:var(--r-border-softer, #c9c9c9);--r-tab--marker--visibility:visible}:host(:active:not([disabled]:not([disabled=false]))){--r-tab--background-color:var(--r-background-interactive-pressed, rgba(40,40,40,0.12))}:host(:focus-visible){--r-tab--marker--visibility:visible;--r-tab--marker--height:5px;--r-tab--marker--background-color:var(--r-background-interactive-pressed, rgba(40,40,40,0.12));--r-tab--slot--box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);--r-tab--slot--outline:2px solid var(--r-border-focused, #0071e3);--r-tab--slot--outline-offset:2px}:host([active]:not([active=false])){cursor:default;--r-tab--font-weight:var(--r-font-weight-semibold, 600);--r-tab--color:var(--r-text-strong, #000);--r-tab--padding-left:0.5625rem;--r-tab--padding-right:0.5625rem;--r-tab--marker--background-color:var(--r-border-regular, #282828);--r-tab--marker--visibility:visible;--r-tab--marker--height:3px}:host([disabled]:not([disabled=false])){opacity:0.4;cursor:not-allowed;--r-tab--pointer-events:none;--r-tab--marker--visibility:hidden;--r-tab--slot--box-shadow:none}.r-tab{position:var(--r-tab--position, relative);font-family:var(--r-tab--font-family, var(--r-font-family-text, system-ui));font-weight:var(--r-tab--font-weight, var(--r-font-weight-regular, 400));font-size:var(--r-tab--font-size, var(--r-font-size-400, 1rem));line-height:var(--r-tab--line-height, 1);cursor:var(--r-tab--cursor, inherit);pointer-events:var(--r-tab--pointer-events, initial);padding-top:var(--r-tab--padding-top, 0);padding-right:var(--r-tab--padding-right, 0.625rem);padding-bottom:var(--r-tab--padding-bottom, 1.25rem);padding-left:var(--r-tab--padding-left, 0.625rem);opacity:var(--r-tab--opacity, 1);background:var(--r-tab--background, none);color:var(--r-tab--color, var(--r-text-regular, #282828));border:var(--r-tab--border, none);box-shadow:var(--r-tab--box-shadow, none);outline:var(--r-tab--outline, none)}.r-tab::after{content:var(--r-tab--marker--content, "");width:var(--r-tab--marker--width, 100%);height:var(--r-tab--marker--height, 3px);position:var(--r-tab--marker--position, absolute);bottom:var(--r-tab--marker--bottom, 0);left:var(--r-tab--marker--left, 0);visibility:var(--r-tab--marker--visibility, hidden);background-color:var(--r-tab--marker--background-color, rgba(0, 0, 0, 0));transition:var(--r-tab--marker--transition, all 0.1s ease-in)}.r-tab--slot{box-shadow:var(--r-tab--slot--box-shadow, none);outline:var(--r-tab--slot--outline, none);outline-offset:var(--r-tab--slot--outline-offset, 0)}';export{i as r_tab}
@@ -0,0 +1 @@
1
+ import{r as t,h as r,H as a,g as e}from"./p-Da7qOBFr.js";const s=class{constructor(r){t(this,r)}render(){return r(a,{key:"844ad8251f30a4b0b6e700d0864798957e53750b",slot:"trailing"},r("div",{key:"26a3458b5a448a9d8a687081325a5aa93c83e512",class:"r-radio-button-trailing",style:{display:"contents"}},r("slot",{key:"fc1634011f555127d3281351a8ba9d7fdc1a7a38"})))}get host(){return e(this)}};s.style=":host{font-weight:var(--r-font-weight-regular, 400);font-size:var(--r-font-size-400, 1rem);text-align:right;color:var(--r-text-regular, #282828)}";export{s as r_radio_button_trailing}
@@ -1 +1 @@
1
- import{r as t,h as r,H as a,g as o}from"./p-Da7qOBFr.js";const i=class{constructor(r){t(this,r),this.updateHiddenState=()=>{this.host.setAttribute("data-visually-hidden",`${!this.hasChildren}`)},this.observeSlotContentChange=()=>{this.observer=new MutationObserver((()=>{this.updateHiddenState()})),this.observer.observe(this.host,{childList:!0,subtree:!0})}}get hasChildren(){return this.host.querySelectorAll("r-toast").length>0}componentWillLoad(){this.updateHiddenState(),this.observeSlotContentChange()}render(){return r(a,{key:"95e0b29bb1b6a45aabb4e7f5da283997c6b707a8"},r("div",{key:"4b42e40646381d78f2b812f483ea993992ec7f12",class:"r-toast-group"},r("slot",{key:"db3cca9551652a78d9c1579532894fc86ca02b73"})))}get host(){return o(this)}};i.style="@media (max-width: 48rem){.sc-r-toast-group-h{--width:auto;--right:24px;--bottom:auto;--left:24px;--padding-right:0}}[data-visually-hidden=true].sc-r-toast-group-h{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sc-r-toast-group-h{display:var(--display, block);position:var(--position, fixed);top:var(--top, 32px);right:var(--right, 0);bottom:var(--bottom, auto);left:var(--left, auto);overflow:var(--overflow, hidden);overflow-y:var(--overflow-y, auto);width:var(--width, 352px);max-height:var(--max-height, calc(100vh - 64px));padding-right:var(--padding-right, 32px);padding-bottom:var(--padding-bottom, 32px);z-index:var(--z-index, 1)}.r-toast-group.sc-r-toast-group{position:relative;display:var(--r-toast-group--display, flex);flex-direction:var(--r-toast-group--flex-direction, column);justify-content:var(--r-toast-group--justify-content, flex-start);gap:var(--r-toast-group--gap, var(--r-spacing-100, 1rem))}";export{i as r_toast_group}
1
+ import{r as t,h as r,H as a,g as o}from"./p-Da7qOBFr.js";const i=class{constructor(r){t(this,r),this.updateHiddenState=()=>{this.host.setAttribute("data-visually-hidden",`${!this.hasChildren}`)},this.observeSlotContentChange=()=>{this.observer=new MutationObserver((()=>{this.updateHiddenState()})),this.observer.observe(this.host,{childList:!0,subtree:!0})}}get hasChildren(){return this.host.querySelectorAll("r-toast").length>0}componentWillLoad(){this.updateHiddenState(),this.observeSlotContentChange()}render(){return r(a,{key:"bbb13408cb02b62fe5f6ab1c09548509bfb3a195"},r("div",{key:"d82f7deff5b66aa8f9e19d29a5b34fc4b984c94d",class:"r-toast-group"},r("slot",{key:"02a49bceae7197f72d5b80ba7d71374345d0f0c7"})))}get host(){return o(this)}};i.style="@media (max-width: 48rem){.sc-r-toast-group-h{--width:auto;--right:24px;--bottom:auto;--left:24px;--padding-right:0}}[data-visually-hidden=true].sc-r-toast-group-h{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sc-r-toast-group-h{display:var(--display, block);position:var(--position, fixed);top:var(--top, 32px);right:var(--right, 0);bottom:var(--bottom, auto);left:var(--left, auto);overflow:var(--overflow, hidden);overflow-y:var(--overflow-y, auto);width:var(--width, 352px);max-height:var(--max-height, calc(100vh - 64px));padding-right:var(--padding-right, 32px);padding-bottom:var(--padding-bottom, 32px);z-index:var(--z-index, 1)}.r-toast-group.sc-r-toast-group{position:relative;display:var(--r-toast-group--display, flex);flex-direction:var(--r-toast-group--flex-direction, column);justify-content:var(--r-toast-group--justify-content, flex-start);gap:var(--r-toast-group--gap, var(--r-spacing-100, 1rem))}";export{i as r_toast_group}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as s,g as r}from"./p-Da7qOBFr.js";import{a}from"./p-DvLT8-y3.js";import{S as l}from"./p-4Uv3PpKT.js";const o=class{constructor(s){t(this,s),this.rValidate=e(this,"rValidate"),this.rChange=e(this,"rChange"),this.rReset=e(this,"rReset"),this.fullWidth=!1,this.listboxPosition="bottom",this.toggleButtonAriaLabel="Toggle combobox",this.noResultsFound="No results found",this.validityState="",this.validityMessage="",this.isExpanded=!1,this.isReadonly=!1,this.currentValue="",this.valueToDisplay="",this.isInitializing=!1,this.isResetting=!1,this.focusedOption=null,this.isValueFocused=!1,this.isNoResultsFound=!1,this.touched=!1,this.dirty=!1,this.handleSlotChange=()=>{setTimeout((()=>{this.initialize(),this.defineHostWidth()}),0)},this.initial={},this.uniqueId=`r-select-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.getValidityStateData=t=>{let e="",i="";for(const s in t.validity)if(t.validity[s]){if(e=s,this[s+"Message"])return i=this[s+"Message"],{validityState:e,validityMessage:i};i=t.validationMessage}return{validityState:e,validityMessage:i}},this.validateFormElement=(t=null)=>{if(null===t)return;if(this.isNoValidate)return;if(this.error)return;const{validityState:e,validityMessage:i}=this.getValidityStateData(t);this.validityState=e,this.validityMessage=i;const s="valid"===this.validityState;this.valid=s,this.invalid=!s,this.rValidate.emit({state:this.validityState,message:this.validityMessage})},this.typeaheadBuffer="",this.typeaheadTimeout=null,this.lastTypeaheadIndex=-1,this.contributeToFormData=t=>{a(this.nativeElement,t.formData)},this.onValueClick=t=>{var e;this.disabled||(t.preventDefault(),t.stopPropagation(),this.touched=!0,this.toggle(),this.isExpanded&&(this.combobox&&(null===(e=this.valueElement)||void 0===e||e.focus()),this.defineListboxPositionState()))},this.keyboardEventHandlerFactory=(t,e=!1)=>{switch(t){case"Enter":return()=>{var t;if(this.isExpanded){const e=(null===(t=this.focusedOption)||void 0===t?void 0:t.value)||"";return e!==this.currentValue&&(this.dirty=!0),void this.setValueFromUserInteraction(e)}this.expand(),this.setOptionFocus(this.selectedElement)};case"Escape":return()=>{this.collapse(),this.reportValidity()};case"ArrowUp":return()=>{var t;if(this.isExpanded){if(this.focusedOption&&e){const e=(null===(t=this.focusedOption)||void 0===t?void 0:t.value)||"";return e!==this.currentValue&&(this.dirty=!0),void this.setValueFromUserInteraction(e)}(this.combobox||this.focusedOption!==this.optionElements[0])&&(this.focusedOption?this.focusPrevOption():this.setOptionFocus(this.selectedElement||this.optionElements[0]))}else this.expand(),this.setOptionFocus(this.selectedElement||this.optionElements[this.combobox?this.optionElements.length-1:0])};case"ArrowDown":return()=>{if(this.isExpanded)(this.combobox||this.focusedOption!==this.optionElements[this.optionElements.length-1])&&(this.focusedOption?this.focusNextOption():this.setOptionFocus(this.selectedElement||this.optionElements[0]));else{if(this.expand(),e)return;this.setOptionFocus(this.selectedElement||this.optionElements[0])}};case"Home":return()=>{if(!this.isExpanded)return this.expand(),void this.setOptionFocus(this.selectedElement||this.optionElements[0]);this.setOptionFocus(this.optionElements[0])};case"End":return()=>{if(!this.isExpanded)return this.expand(),void this.setOptionFocus(this.selectedElement||this.optionElements[this.optionElements.length-1]);this.setOptionFocus(this.optionElements[this.optionElements.length-1])};case"PageUp":return()=>{if(!this.isExpanded)return;if(null===this.focusedOption)return;const t=this.optionElementsArray.indexOf(this.focusedOption);-1!==t&&this.setOptionFocus(this.optionElements[t-10>=0?t-10:0])};case"PageDown":return()=>{if(!this.isExpanded)return;if(null===this.focusedOption)return;const t=this.optionElementsArray.indexOf(this.focusedOption);if(-1===t)return;const e=this.optionElements.length-1;this.setOptionFocus(this.optionElements[t+10<=e?t+10:e])};case"Tab":return()=>{var t;const e=(null===(t=this.focusedOption)||void 0===t?void 0:t.value)||"";e!==this.currentValue&&(this.dirty=!0),this.setValueFromUserInteraction(e)};default:return()=>{}}},this.onValueKeydown=t=>{if(t.stopPropagation(),["ArrowUp","ArrowDown","Home","End","PageUp","PageDown","Space","Enter","Escape"].includes(t.code))t.preventDefault();else if(1===t.key.length&&!t.ctrlKey&&!t.metaKey&&!t.altKey)return this.isExpanded||this.expand(),void this.handleTypeahead(t.key);switch(t.code){case"Space":this.keyboardEventHandlerFactory("Enter")();break;case"Tab":if(null===this.focusedOption)break;this.keyboardEventHandlerFactory("Tab")();break;default:this.keyboardEventHandlerFactory(t.code,t.altKey)()}},this.onComboboxKeydown=t=>{switch(t.stopPropagation(),["ArrowUp","ArrowDown","Home","End","PageUp","PageDown","Enter","Escape"].includes(t.code)&&t.preventDefault(),t.code){case"Tab":if(null===this.focusedOption){this.collapse();break}this.keyboardEventHandlerFactory("Tab")();break;case"Escape":if(this.isExpanded)return void this.keyboardEventHandlerFactory("Escape")();this.valueElement.value="";const e="";e!==this.currentValue&&(this.dirty=!0),this.setValueFromUserInteraction(e),this.reportValidity();break;default:this.keyboardEventHandlerFactory(t.code,t.altKey)()}},this.onValueBlur=()=>{this.isValueFocused=!1;const{isBusy:t,isExpanded:e}=this;t||e||this.reportValidity()},this.onValueFocus=()=>{this.isValueFocused=!0,this.touched=!0},this.filterOptionsListByComboboxValue=(t="")=>{const e=Array.from(this.host.querySelectorAll('r-select-option:not([data-no-results="true"])'));e.forEach((e=>{var i,s;const r=-1!==(null===(s=null===(i=null==e?void 0:e.textContent)||void 0===i?void 0:i.trim())||void 0===s?void 0:s.toLowerCase()).search(t.toLowerCase());e.setAttribute("aria-hidden",`${!r}`)})),this.isNoResultsFound=e.every((t=>"true"===(null==t?void 0:t.getAttribute("aria-hidden")))),this.isNoResultsFound&&(this.statusElement.innerHTML=this.noResultsFound,setTimeout((()=>{this.statusElement.innerText=""}),1e3))},this.clearComboboxOptions=()=>{this.combobox&&this.filterOptionsListByComboboxValue()},this.onComboboxChange=t=>{this.filterOptionsListByComboboxValue(t.target.value)},this.onComboboxInput=t=>{this.filterOptionsListByComboboxValue(t.target.value),this.isExpanded||(this.expand(),this.defineListboxPositionState())},this.onSubmitForm=t=>{this.isNoValidate||(this.reportValidity(),this.invalid&&(t.preventDefault(),t.stopPropagation()))},this.onResetForm=()=>{this.resetValidation(),this.markAsPristine(),this.setValue(this.initial.value),this.rReset.emit({element:this.host,value:this.currentValue})},this.renderSelect=t=>{var e,s;return i("span",Object.assign({class:"r-select--value",role:"combobox"},t,{ref:t=>this.valueElement=t,onClick:this.isInteractive?this.onValueClick:null,onKeyDown:this.isInteractive?this.onValueKeydown:null,onBlur:this.isInteractive?this.onValueBlur:null,onFocus:this.isInteractive?this.onValueFocus:null}),i("span",{class:"r-select--value-display"},this.isLeadingSlotRendered?i("slot",{name:"leading"}):null,i("span",{class:"r-select--value-selected",innerHTML:(null===(s=null===(e=this.valueToDisplay)||void 0===e?void 0:e.trim)||void 0===s?void 0:s.call(e))||this.placeholder||""})),i("span",{class:"r-select--value-arrow"},i("r-icon",{class:"r-select--trailing-icon",name:"angle-down",size:"s"})))},this.renderCombobox=t=>{var e,s,r;return i("div",{class:"r-select--value",onClick:this.isInteractive?this.onValueClick:null,ref:t=>this.comboboxContainerElement=t},i("div",{class:"r-select--value-display"},this.isLeadingSlotRendered?i("slot",{name:"leading"}):null,i("input",Object.assign({role:"combobox",autocomplete:"off","aria-autocomplete":"list",disabled:this.disabled,readonly:this.readonly,type:"text"},t,{class:"r-select--input",ref:t=>this.valueElement=t,onKeyDown:this.isInteractive?this.onComboboxKeydown:null,onBlur:this.isInteractive?this.onValueBlur:null,onFocus:this.isInteractive?this.onValueFocus:null,onChange:this.isInteractive?this.onComboboxChange:null,onInput:this.isInteractive?this.onComboboxInput:null,placeholder:this.placeholder||"",value:(null===(r=null===(s=null===(e=this.selectedElement)||void 0===e?void 0:e.textContent)||void 0===s?void 0:s.trim)||void 0===r?void 0:r.call(s))||""}))),i("button",{"aria-label":this.toggleButtonAriaLabel,"aria-expanded":`${this.expanded||!1}`,"aria-controls":`${this.uniqueId}-list`,disabled:this.disabled,tabindex:"-1",class:"r-select--value-arrow-button r-select--value-arrow"},i("r-icon",{class:"r-select--trailing-icon",name:"angle-down",size:"s"})),i("div",{class:"visually-hidden",role:"status",ref:t=>this.statusElement=t}))}}async setReadonly(){this.collapse(),this.resetValidation(),this.isReadonly=!0}async clearReadonly(){this.isReadonly=!1}handleListboxPositionChange(){this.defineListboxPositionState()}handleExpandedChange(){this.expanded?this.expand():this.collapse()}handleReadonlyChange(){this.readonly?this.setReadonly():this.clearReadonly()}handleValueChange(t,e){this.isInitializing||void 0!==e&&e!==t&&(this._renderSelected(t,!1),this.clearComboboxOptions())}optionSelectAction(t){t.stopPropagation(),this.disabled||(t.target.value!==this.currentValue&&(this.dirty=!0),this.setValueFromUserInteraction(t.target.value))}tooltipFocusAction(){this.collapse(),this.reportValidity()}onMouseup(t){this.isExpanded&&(t.stopPropagation(),this.host.contains(t.target)||(this.collapse(),this.reportValidity()))}onKeyup(t){this.isExpanded&&(t.stopPropagation(),this.host.contains(t.target)||(this.collapse(),this.reportValidity()))}handleScrolling(){this.isExpanded&&this.defineListboxPositionState()}handleResizing(){this.isExpanded&&this.defineListboxPositionState()}async setValue(t=""){this.resetValidation(),this._renderSelected(t,!1),this.clearComboboxOptions()}setValueFromUserInteraction(t=""){this.resetValidation(),this._renderSelected(t,!0),this.clearComboboxOptions()}async getValue(){return this.currentValue||""}async reset(){if(this.resetValidation(),this.markAsPristine(),this.collapse(),this.clearComboboxOptions(),this.currentValue!==this.initial.value){if(""!==this.initial.value&&this.initiallySelectedElement)return this.isResetting=!0,this.setValue(this.initial.value),void(this.isResetting=!1);this.deselectOptions(),this.currentValue="",this.valueToDisplay=""}}async resetValidation(){this.validityMessage=null,this.validityState=null,this.invalid=this.initial.invalid,this.valid=!this.invalid}async isTouched(){return this.touched}async isDirty(){return this.dirty}async markAsPristine(){this.touched=!1,this.dirty=!1}async checkValidity(){const{validityState:t}=this.getValidityStateData(this.nativeElement);return"valid"===t}async reportValidity(){return this.validateFormElement(this.nativeElement),"valid"===this.validityState}async setFocus(){var t;null===(t=this.valueElement)||void 0===t||t.focus()}async setBlur(){var t;null===(t=this.valueElement)||void 0===t||t.blur()}async expand(){this.isExpanded=!0}async collapse(){this.isExpanded=!1,this.isBusy||(this.clearOptionsFocus(),this.setComboboxValueOnCollapse())}async getFocusedOption(){return this.host.querySelector('r-select-option[data-focused="true"]')||null}async setFocusedOption(t){return this.setOptionFocus(this.optionElements[t])}clearOptionsFocus(){var t;this.focusedOption=null;try{this.valueElement.ariaActiveDescendantElement=null}catch(e){null===(t=this.valueElement)||void 0===t||t.removeAttribute("aria-activedescendant")}this.focusedOptions.forEach((t=>t.setBlur()))}setComboboxValueOnCollapse(){var t,e,i;this.combobox&&(this.valueElement.value=(null===(i=null===(e=null===(t=this.selectedElement)||void 0===t?void 0:t.textContent)||void 0===e?void 0:e.trim)||void 0===i?void 0:i.call(e))||"",this.clearComboboxOptions())}get focusedOptions(){return Array.from(this.host.querySelectorAll('r-select-option[data-focused="true"]'))}toggle(){this.isExpanded=!this.isExpanded}get selectedElement(){return this.host.querySelector(`r-select-option[value="${this.currentValue}"]`)}get initiallySelectedElement(){return this.host.querySelector(`r-select-option[value="${this.initial.value}"]`)||null}get parentFormEl(){return this.host.closest("form")||document.querySelector(`#${this.form}`)||null}get isNoValidate(){var t;return(null===(t=this.parentFormEl)||void 0===t?void 0:t.hasAttribute("novalidate"))||this.novalidate||!1}get optionElements(){return this.host.querySelectorAll('r-select-option:not([disabled]:not([disabled="false"])):not([aria-hidden="true"])')||null}get optionElementsArray(){return Array.from(this.optionElements)}deselectOptions(){this.optionElements&&this.optionElements.forEach((t=>t.clearSelected()))}get isBusy(){return this.isInitializing||this.isResetting}_renderSelected(t="",e=!0){var i,s;this.currentValue=t,null===this.currentValue?this.host.removeAttribute("value"):this.host.setAttribute("value",this.currentValue);const r=this.host.querySelector(`r-select-option[value="${null===(i=this.currentValue)||void 0===i?void 0:i.trim()}"]`);this.valueToDisplay=(null==r?void 0:r.innerHTML)||(null==r?void 0:r.textContent)||this.currentValue||"",null===(s=this.optionElements)||void 0===s||s.forEach((e=>{e.value===t?e.setSelected():e.clearSelected()})),this._renderNativeOption(),this.isExpanded&&this.collapse(),this.isBusy||this.reportValidity(),e&&!this.isBusy&&this.dirty&&this.rChange.emit({element:this.host,value:t})}setOptionFocus(t=this.selectedElement){t&&null!==this.optionElements&&requestAnimationFrame((()=>{var e;this.clearOptionsFocus(),t.setFocus(),this.focusedOption=t;try{this.valueElement.ariaActiveDescendantElement=t}catch(i){null===(e=this.valueElement)||void 0===e||e.setAttribute("aria-activedescendant",t.id)}((t,e)=>{var i,s;if(!e)return;try{null===(i=t.scrollIntoView)||void 0===i||i.call(t,{block:"nearest",inline:"nearest"})}catch(e){null===(s=t.scrollIntoView)||void 0===s||s.call(t,!1)}const r=t.getBoundingClientRect(),a=e.getBoundingClientRect();(r.top<a.top||r.bottom>a.bottom)&&((t,e)=>{const i=t.offsetTop,s=i+t.offsetHeight,r=e.scrollTop,a=r+e.clientHeight;i<r?e.scrollTop=i:s>a&&(e.scrollTop=s-e.clientHeight)})(t,e)})(t,this.listboxElement)}))}focusPrevOption(t=this.focusedOption||this.selectedElement){if(null===this.optionElements)return;const e=this.optionElementsArray.indexOf(t)-1;this.setOptionFocus(e>=0?this.optionElements[e]:this.optionElements[this.optionElements.length-1])}focusNextOption(t=this.focusedOption||this.selectedElement){if(null===this.optionElements)return;const e=this.optionElementsArray.indexOf(t)+1;this.setOptionFocus(e<=this.optionElements.length-1?this.optionElements[e]:this.optionElements[0])}filterOptions(t,e){if(!e)return[];const i=e.toLowerCase();return t.filter((t=>!t.disabled&&(t.textContent||"").trim().toLowerCase().startsWith(i)))}getIndexByLetter(t,e,i=0){if(!t.length||!e)return-1;const s=[...t.slice(i),...t.slice(0,i)],r=this.filterOptions(s,e).sort(((t,e)=>(t.textContent||"").trim().toLowerCase().localeCompare((e.textContent||"").trim().toLowerCase()))),a=e.split("").every((t=>t===e[0]));if(r[0])return t.indexOf(r[0]);if(a){const i=this.filterOptions(s,e[0]);return i[0]?t.indexOf(i[0]):-1}return-1}handleTypeahead(t){clearTimeout(this.typeaheadTimeout);const e=this.optionElementsArray;let i;if(this.typeaheadBuffer+=t.toLowerCase(),this.typeaheadBuffer.split("").every((t=>t===this.typeaheadBuffer[0]))&&-1!==this.lastTypeaheadIndex)i=(this.lastTypeaheadIndex+1)%e.length;else{const t=e.indexOf(this.focusedOption||this.selectedElement);i=-1===t?0:(t+1)%e.length}const s=this.getIndexByLetter(e,this.typeaheadBuffer,i);if(-1!==s){this.lastTypeaheadIndex=s;const t=e[s];this.isExpanded||this.expand(),this.setOptionFocus(t)}this.typeaheadTimeout=setTimeout((()=>{this.typeaheadBuffer=""}),500)}connectFormEventListeners(){this.parentFormEl&&(this.parentFormEl.addEventListener("formdata",this.contributeToFormData),this.parentFormEl.addEventListener("submit",this.onSubmitForm,{capture:!0}),this.parentFormEl.addEventListener("reset",this.onResetForm))}disconnectFormEventListeners(){this.parentFormEl&&(this.parentFormEl.removeEventListener("formdata",this.contributeToFormData),this.parentFormEl.removeEventListener("submit",this.onSubmitForm),this.parentFormEl.removeEventListener("reset",this.onResetForm))}defineHostWidth(){if(this.fullWidth)return;const t=this.host.shadowRoot.querySelector(".r-select--native").getBoundingClientRect().width,e=(this.combobox?this.comboboxContainerElement:this.valueElement).getBoundingClientRect().width,i=this.listboxElement.getBoundingClientRect().width,s=Math.max(t,e,i);this.host.style.setProperty("--width",`${s}px`)}_renderNativeOption(){var t,e,i,s,r;const a=document.createElement("option"),l=document.createTextNode(null===(i=null===(e=null===(t=this.selectedElement)||void 0===t?void 0:t.textContent)||void 0===e?void 0:e.trim)||void 0===i?void 0:i.call(e));a.value=this.currentValue,a.selected=!0,a.appendChild(l),this.nativeElement&&(this.nativeElement.innerHTML="",null===(s=this.nativeElement)||void 0===s||s.appendChild(a),this.nativeElement.value=this.currentValue,null===(r=this.nativeElement)||void 0===r||r.setAttribute("value",this.currentValue))}notVisible(t){return"visible"!==getComputedStyle(t).overflow}findOverflowParent(t){var e,i;return(null===(e=t.parentNode)||void 0===e?void 0:e.nodeType)===Node.DOCUMENT_FRAGMENT_NODE?this.findOverflowParent(null===(i=t.parentNode)||void 0===i?void 0:i.host):this.notVisible(t)?t:t.parentElement?this.findOverflowParent(t.parentElement):null}get ariaDescribedBy(){const t=`${this.uniqueId}-message`;return this.hint?`${this.uniqueId}-hint ${t}`:t}get overflowedParent(){return this.findOverflowParent(this.host.parentElement)}get top(){var t,e;return this.overflowedParent?Math.abs(this.overflowedParent.getBoundingClientRect().top-(null===(e=this.valueElement)||void 0===e?void 0:e.getBoundingClientRect().top)):null===(t=this.valueElement)||void 0===t?void 0:t.getBoundingClientRect().top}get bottom(){var t;function e(t){return window.innerHeight-t.getBoundingClientRect().top-t.getBoundingClientRect().height}const i=window.getComputedStyle(this.messageContainer),s=(null===(t=this.messageContainer)||void 0===t?void 0:t.getBoundingClientRect().height)+parseFloat(i.marginTop),r=e(this.host)+s;return this.overflowedParent?Math.abs(e(this.overflowedParent)-r):r+s}defineListboxPositionState(){var t,e;const i=(null===(t=this.listboxElement)||void 0===t?void 0:t.offsetHeight)<this.bottom,s=(null===(e=this.listboxElement)||void 0===e?void 0:e.offsetHeight)<this.top;if("top"===this.listboxPosition&&(s||!i)||"bottom"===this.listboxPosition&&(i||!s))this.listboxPositionState=this.listboxPosition;else switch(this.listboxPosition){case"top":this.listboxPositionState=s?"top":"bottom";break;case"bottom":this.listboxPositionState=i?"bottom":"top"}}initialize(){var t;const e=this.value||"";if(this.initial.value=this.value||"",this.initial.invalid=this.invalid||!1,this.listboxPositionState=this.listboxPosition,this.optionElementsArray.find((t=>t.value.trim()===e)))return this.isInitializing=!0,this.setValue(e),void(this.isInitializing=!1);if(this.placeholder)return;if(this.combobox)return;const i=null===(t=this.optionElements)||void 0===t?void 0:t[0];i&&(this.isInitializing=!0,this.setValue(null==i?void 0:i.value),this.isInitializing=!1)}initializeStyleObserver(){!this.listboxWidthObserver&&this.listboxElement&&(this.listboxWidthObserver=new l((()=>{this.listboxElement&&(this.listboxElement.getBoundingClientRect().width<=this.host.getBoundingClientRect().width||this.defineHostWidth())})),this.listboxWidthObserver.observe([this.listboxElement],["width"]))}get hasError(){var t;return this.invalid&&(null===(t=this.error)||void 0===t?void 0:t.length)>0}get hasValidationError(){var t;return"valid"!==this.validityState&&(null===(t=this.validityMessage)||void 0===t?void 0:t.length)>0}get hasMessage(){return this.hasError||this.hasValidationError}get isInteractive(){return!this.disabled&&!this.isReadonly}get hasLeadingSlot(){return!!this.host.querySelector('[slot="leading"]')}get hasOptionIcon(){return!!this.optionElementsArray.find((t=>!!t.querySelector('[slot="icon"]')))}get isLeadingSlotRendered(){return this.hasLeadingSlot&&this.hasOptionIcon&&!this.currentValue}get isPlaceholder(){var t,e;const{placeholder:i}=this;return((null===(e=null===(t=this.valueToDisplay)||void 0===t?void 0:t.trim)||void 0===e?void 0:e.call(t))||i||"")===i}connectedCallback(){this.connectFormEventListeners()}disconnectedCallback(){this.disconnectFormEventListeners()}componentWillLoad(){this.isExpanded=this.expanded,this.isReadonly=this.readonly}componentDidLoad(){this.defineListboxPositionState(),this.initializeStyleObserver()}render(){var t;const{uniqueId:e,disabled:r,isExpanded:a,fieldIndicator:l,invalid:o,placeholder:n,required:h,hint:c,label:d,internal:v}=this,u=!!this.isInteractive&&!!h,p={id:`${e}-value`,tabindex:""+(r?-1:0),"aria-controls":`${e}-list`,"aria-describedby":this.ariaDescribedBy,"aria-disabled":`${r||!1}`,"aria-expanded":`${a||!1}`,"aria-invalid":`${o||!1}`,"aria-readonly":`${!this.isInteractive||!1}`,"aria-required":`${u}`,"aria-labelledby":`${e}-label`},b={"aria-label":d},f={placeholder:n,name:this.name,value:this.currentValue,"aria-hidden":"true",tabindex:"-1",invalid:o,disabled:r,required:u};return i(s,{key:"7f1fb8ee95b7da1cd7aad0d212d1efa9da744dc2","data-value":this.currentValue,expanded:!this.disabled&&this.isExpanded,"data-listbox-position":this.listboxPositionState,"data-initial-value":this.initial.value,"data-is-placeholder":`${!!this.isPlaceholder}`,"data-value-focused":`${!!this.isValueFocused}`,"data-option-focused":`${!!this.focusedOption}`,"data-validity-state":`${this.validityState||""}`,"data-validity-message":`${this.validityMessage||""}`,"data-readonly":`${!!this.isReadonly}`,"data-touched":`${this.touched}`,"data-dirty":`${this.dirty}`},i("div",{key:"cb2a21da12f1f1c0dc298f42338d32b709f62375",class:"r-select--label "+(v?"":"r-select--label__margin-bottom")},i("div",{key:"d293ba41b9846d24ba4a2c44fb8fcb9895637c03",class:v?"visually-hidden":"r-select--label-container"},i("label",{key:"b562d22174f435deed545a94d0fd7ce0233ba3de",id:`${e}-label`,onClick:this.isInteractive?this.onValueClick:null},i("r-label",Object.assign({key:"2412f39f04b62a1fac018b588fb463efc9760ae0"},d?{fieldIndicator:l}:{}),d)),i("slot",{key:"99c5c78534118199fc1e99daac2737b78d55bc28",name:"popover"})),c&&i("r-hint",{key:"74f3cf98c25ba600e8faf8a1793d56ab14c01466",id:`${e}-hint`,class:"r-select--hint"},c)),i("div",{key:"1960780639c8896bc52d1b62269d9453645132ef",class:"r-select"},i("select",Object.assign({key:"2b9d75c37066bfeb8e06b4097ecc73bd96358702",class:"r-select--native",ref:t=>this.nativeElement=t},f)),i("div",{key:"3eff5f8f263a013e0ba7ba64eace1da6167b6d1f",class:"r-select--container"},this.combobox?this.renderCombobox(p):this.renderSelect(p),i("div",Object.assign({key:"bbfb28e905d17feee0bd2693faac327d8ef97894",role:"listbox",tabindex:"-1",id:`${e}-list`,class:"r-select--options",ref:t=>this.listboxElement=t},b),(this.isNoResultsFound||!(null===(t=this.optionElements)||void 0===t?void 0:t.length))&&i("r-select-option",{key:"319993c58f2133c271c2db357d22132497751958","data-no-results":"true",value:"no_results"},this.noResultsFound),i("slot",{key:"bbb21659679bb22e3aeb9471a34e3e007ab835d8",onSlotchange:this.handleSlotChange})))),i("div",{key:"5971e5c4f3bbb453dcae9f3ecbdf2c2f14cf0293",id:`${e}-message`,"aria-live":"polite","aria-atomic":"true",ref:t=>this.messageContainer=t,class:this.hasMessage&&!v?"r-select--message":"visually-hidden"},this.hasMessage&&i("r-hint",{key:"1c1aba3c4f3baa93cd6ecab59dd40d99ad5bd0b2",variant:this.invalid?"error":"success"},this.hasError&&this.error,this.hasValidationError&&this.validityMessage)))}get host(){return r(this)}static get watchers(){return{listboxPosition:["handleListboxPositionChange"],expanded:["handleExpandedChange"],readonly:["handleReadonlyChange"],value:["handleValueChange"]}}};o.style=":host{display:inline-flex;flex-direction:column;width:var(--width, auto);transition:width 0.2s ease-out;max-width:none;opacity:1;outline:none}:host slot{display:contents}:host(:hover:not([disabled]:not([disabled=false]))){--r-select--container--background-color:var(--r-background-interactive-hovered, rgba(40, 40, 40, 0.04))}:host([expanded]:not([expanded=false])){--r-select--options--visibility:visible;--r-select--options--z-index:1;--r-select--background-color:var(--r-background-interactive-softest, #fff);--r-select--value--border-color:var(--r-border-soft, #686868);--r-select--value--background-color:var(--r-background-interactive-softest, #fff);--r-select--trailing-icon--transform:rotate(180deg)}:host([invalid]:not([invalid=false])){--r-select--container--background-color:var(--r-status-error-soft, #fef6f6);--r-select--value--border-color:var(--r-status-error-regular, #b00c15);--r-select--options--border-color:var(--r-status-error-regular, #b00c15)}:host([disabled]:not([disabled=false])){--r-select--opacity:0.4;--r-select--pointer-events:none;--r-select--cursor:not-allowed}:host([data-is-placeholder=true]){--r-select--value-diplay--color:var(--r-text-soft, #686868)}:host([data-max-width=set]){width:100%;--r-select--options--right:0}:host([full-width]){width:100%}:host([data-listbox-position=top]){--r-select--options--top:auto;--r-select--options--bottom:2.875em;--r-select--options--border-width:1px 1px 0 1px}:host([data-listbox-position=bottom]){--r-select--options--top:100%;--r-select--options--bottom:auto;--r-select--options--border-width:0 1px 1px 1px}:host([data-readonly=true]){--r-select--color:var(--r-text-soft, #686868);--r-select--value--background-color:var(--r-background-soft, #f3f1f0);--r-select--value--border-color:transparent transparent var(--r-border-soft, #686868) transparent;--r-select--value--cursor:text;--r-select--value-arrow--visiblility:hidden}.r-select{display:var(--r-select--display, flex);flex-grow:var(--r-select--flex-grow, 1);flex-direction:var(--r-select--flex-direction, column);position:var(--r-select--position, relative);box-sizing:var(--r-select--box-sizing, border-box);max-width:var(--r-select--max-width, 100%);min-width:var(--r-select--min-width, fit-content);font-family:var(--r-select--font-family, var(--r-font-family-text, system-ui));font-weight:var(--r-select--font-weight, var(--r-font-weight-regular, 400));font-size:var(--r-select--font-size, var(--r-font-size-400, 1rem));text-align:var(--r-select--text-align, left);color:var(--r-select--color, var(--r-text-regular, #282828));opacity:var(--r-select--opacity, 1);pointer-events:var(--r-select--pointer-events, auto);cursor:var(--r-select--cursor, pointer)}.r-select--label__margin-bottom{margin-bottom:var(--r-select--label--margin-bottom, var(--r-spacing-025, 0.25rem))}.r-select--label-container{display:var(--r-select--label-container--display, flex);gap:var(--r-select--label-container--gap, var(--r-spacing-100, 1rem));align-items:var(--r-select--label-container--align-items, center);justify-content:var(--r-select--label-container--align-items, space-between)}.r-select--label-container ::slotted([slot=popover]){display:var(--r-select--popover--display, inline-flex);height:var(--r-select--popover--height, var(--r-spacing-150, 1.5));align-items:var(--r-select--popover--align-items, center);justify-content:var(--r-select--popover--justify-content, center);margin-right:var(--r-select--popover--margin-right, -0.25rem);--r-popover--trigger--min-width:var(--r-select--popover-trigger--min-width, var(--r-spacing-150, 1.5));--r-popover--trigger--min-height:var(--r-select--popover--trigger--min-height, var(--r-spacing-150, 1.5))}.r-select--trailing-icon{transform:var(--r-select--trailing-icon--transform, rotate(0deg));transition:var(--r-select--trailing-icon--transition, transform 0.15s)}.r-select ::slotted([name=leading]){display:var(--r-select--value--leading-icon--display, flex);align-items:var(--r-select--value--leading-icon--align-items, center);color:var(--r-select--value--leading-icon--color, var(--r-icon-soft, #686868))}.r-select--container{background-color:var(--r-select--container--background-color, var(--r-background-softest, #fff));opacity:var(--r-select--container--opacity, 1);pointer-events:var(--r-select--container--pointer-events, auto)}.r-select--input{height:var(--r-select--input--height, 100%);width:var(--r-select--input--width, 100%);border:var(--r-select--input--border, none);outline:var(--r-select--input--outline, none);background-color:var(--r-select--input--background-color, inherit);color:var(--r-select--input--color, inherit);font-family:var(--r-select--input--font-family, inherit);font-size:var(--r-select--input--font-size, inherit);font-weight:var(--r-select--input--font-weight, inherit);padding:var(--r-select--input--padding, 0)}.r-select--native{position:var(--r-select--native--position, fixed);top:var(--r-select--native--top, -100vh);z-index:var(--r-select--native--z-index, -1);opacity:var(--r-select--native--opacity, 0);font-size:var(--r-select--native--font-size, 1rem);padding:var(--r-select--native--padding, 0 calc(48px + 0.75em) 0 0.75em)}.r-select--value:not([aria-readonly=true]):not(:has(input:read-only)):not(:has(input:disabled)):active{--r-select--value--background-color:var(--r-background-interactive-pressed, rgba(40, 40, 40, 0.12))}.r-select--value[aria-disabled=false]:focus,.r-select--value:has(input:focus){outline:var(--r-select--value--outline, none);--r-select--value--z-index:2;--r-select--value--box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);--r-select--value--outline:2px solid var(--r-border-focused, #0071e3);--r-select--value--outline-offset:2px}.r-select--value{position:var(--r-select--value--position, relative);display:var(--r-select--value--display, inline-grid);grid-template-columns:var(--r-select--value--grid-template-columns, 1fr 1.75rem);box-sizing:var(--r-select--value--box-sizing, border-box);align-items:var(--r-select--value--align-items, center);justify-content:var(--r-select--value--justify-content, space-between);text-align:var(--r-select--value--text-align, left);min-width:var(--r-select--value--min-width, 100%);min-height:var(--r-select--value--min-height, var(--r-spacing-275, 2.75rem));padding:var(--r-select--value--padding, 0);white-space:var(--r-select--value--white-space, nowrap);background-color:var(--r-select--value--background-color, transparent);border-width:var(--r-select--value--border-width, 1px);border-style:var(--r-select--value--border-style, solid);border-color:var(--r-select--value--border-color, var(--r-border-soft, #686868));box-shadow:var(--r-select--value--box-shadow, none);outline:var(--r-select--value--outline, none);outline-offset:var(--r-select--value--outline-offset, 0);z-index:var(--r-select--value--z-index, 0);cursor:var(--r-select--value--cursor, inherit)}.r-select--value-display{display:var(--r-select--value-diplay--display, flex);gap:var(--r-select--value-diplay--gap, 0.5em);align-items:var(--r-select--value-diplay--align-tems, center);flex:var(--r-select--value-diplay--flex, 1);padding:var(--r-select--value-diplay--padding, 0 0.75em);overflow:var(--r-select--value-diplay--overflow, hidden);text-overflow:var(--r-select--value-diplay--text-overflow, ellipsis);color:var(--r-select--value-diplay--color, inherit);min-width:var(--r-select--value-diplay--min-width, fit-content);height:var(--r-select--value-diplay--height, 100%)}.r-select--value-selected{display:var(--r-select--value-diplay--display, flex);gap:var(--r-select--value-diplay--gap, 0.75em);align-items:var(--r-select--value-diplay--align-items, center)}.r-select--value-arrow{display:var(--r-select--value-arrow--display, flex);align-items:var(--r-select--value-arrow--align-items, center);justify-content:var(--r-select--value-arrow--justify-content, center);padding:var(--r-select--value-arrow--padding, 0 0.75em 0 0);visibility:var(--r-select--value-arrow--visiblility, visible)}.r-select--value-arrow-button{height:var(--r-select--value-arrow-button--height, 100%);background-color:var(--r-select--value-arrow-button--background-color, transparent);color:var(--r-select--value-arrow-button--color, inherit);border:var(--r-select--value-arrow-button--border, none);outline:var(--r-select--value-arrow-button--outline, none);cursor:var(--r-select--value-arrow-button--cursor, inherit)}.r-select--options{visibility:var(--r-select--options--visibility, hidden);position:var(--r-select--options--position, absolute);top:var(--r-select--options--top, 100%);right:var(--r-select--options--right, 0);bottom:var(--r-select--options--bottom, auto);left:var(--r-select--options--left, 0);margin:var(--r-select--options--margin, 0);padding:var(--r-select--options--padding, 0);list-style:var(--r-select--options--list-style, none);max-height:var(--r-select--options--max-height, 14.375em);min-width:var(--r-select--options--min-width, fit-content);overflow-y:var(--r-select--options--overflow-y, auto);background-color:var(--r-select--options--background-color, var(--r-background-interactive-softest, #fff));border-style:var(--r-select--options--border-style, solid);border-color:var(--r-select--options--border-color, var(--r-border-soft, #686868));border-width:var(--r-select--options--border-width, 0 1px 1px 1px);z-index:var(--r-select--options--z-index, -1)}.r-select--message{margin-top:var(--r-select--message--margin-top, var(--r-spacing-025, 0.25rem))}.hidden{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}@media (prefers-reduced-motion){:host{transition:none}}";export{o as r_select}
@@ -0,0 +1 @@
1
+ import{r,h as t,H as e,F as o,g as a}from"./p-Da7qOBFr.js";const c="https://cdn.riverty.design/icons/",i="riverty";let s;const l={ai:'<svg><g clip-path="url(#clip0_1808_283)"><path d="M10 6L2 6M6 2V10M9 11C11.8889 11 15.5 7.38889 15.5 4.5C15.5 7.38889 19.1111 11 22 11C19.1111 11 15.5 14.6111 15.5 17.5C15.5 14.6111 11.8889 11 9 11ZM11 18.25C11 19.9069 9.65685 21.25 8 21.25C6.34315 21.25 5 19.9069 5 18.25C5 16.5931 6.34315 15.25 8 15.25C9.65685 15.25 11 16.5931 11 18.25Z" stroke="currentColor" stroke-width="1.5"/></g><defs><clipPath id="clip0_1808_283"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',"alarm-clock":'<svg><circle id="Ellipse 618" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2021" stroke="currentColor" d="M19 1L23.5 5.5"></path><path id="Vector 2022" stroke="currentColor" d="M0.5 5.5L5 1"></path><path id="Vector 2023" stroke="currentColor" d="M12 7V12H16.5"></path></svg>',"angle-down":'<svg><g id="arrow-down-3--arrow-down-keyboard"><path id="Vector 2244" stroke="currentColor" d="M1.5 8.5L12 19L22.5 8.5"></path></g></svg>',"angle-left-double":'<svg><path d="M13.5 1.5L3 12L13.5 22.5M21 1.5L10.5 12L21 22.5" stroke="currentColor"/></svg>',"angle-left-with-vertical-line":'<svg><g id="arrow-left-4--arrow-line-to-left"><path id="Vector 2244" stroke="currentColor" d="M14.5 1.5L4 12L14.5 22.5"></path><path id="Vector 2245" stroke="currentColor" d="M20 1L20 23"></path></g></svg>',"angle-left":'<svg><g id="arrow-left-3--arrow-keyboard-left"><path id="Vector 2244" stroke="currentColor" d="M16.5 1.5L6 12L16.5 22.5"></path></g></svg>',"angle-right-double":'<svg><path d="M10.75 1.5L21.25 12L10.75 22.5M3.25 1.50003L13.75 12L3.25 22.5" stroke="currentColor"/></svg>',"angle-right-with-vertical-line":'<svg><g id="arrow-right-4--arrow-line-to-right"><path id="Vector 2244" stroke="currentColor" d="M9.5 1.5L20 12L9.5 22.5"></path><path id="Vector 2245" stroke="currentColor" d="M4 1V23"></path></g></svg>',"angle-right":'<svg><g id="arrow-right-3--arrow-right-keyboard"><path id="Vector 2244" stroke="currentColor" d="M7.5 1.5L18 12L7.5 22.5"></path></g></svg>',"angle-up":'<svg><g id="arrow-up-3--arrow-up-keyboard"><path id="Vector 2244" stroke="currentColor" d="M1.5 17.5L12 7L22.5 17.5"></path></g></svg>',"arrow-down-left":'<svg><g id="arrow-diagonal-bottom-left--down-keyboard-arrow-left-bottom"><path id="Vector 2247" stroke="currentColor" d="M2 13V22H11"></path><path id="Vector 2248" stroke="currentColor" d="M2 22L22 2"></path></g></svg>',"arrow-down-right":'<svg><g id="arrow-diagonal-bottom-right--down-keyboard-arrow-right-bottom"><path id="Vector 2247" stroke="currentColor" d="M22 13V22H13"></path><path id="Vector 2248" stroke="currentColor" d="M22 22L2 2"></path></g></svg>',"arrow-down-with-horizontal-line":'<svg><g id="arrow-down-2--down-move-arrow-arrows"><path id="Vector 2241" stroke="currentColor" d="M12 1V17"></path><path id="Vector 2242" stroke="currentColor" d="M7 12L12 17L17 12"></path><path id="Vector 2243" stroke="currentColor" d="M7 22H17"></path></g></svg>',"arrow-down":'<svg><g id="arrow-down-1--arrow-down-keyboard"><path id="Rectangle 33" stroke="currentColor" d="M12 22L12 1"></path><path id="Vector 163" stroke="currentColor" d="M6 16L12 22L18 16"></path></g></svg>',"arrow-left-with-vertical-line":'<svg><g id="arrow-left-2--left-move-arrow-arrows"><path id="Vector" stroke="currentColor" d="M13.2501 6.55371L8.42871 11.3751L13.2501 16.1966"></path><path id="Vector_2" stroke="currentColor" d="M22.893 11.375L8.42871 11.375"></path><path id="Vector_3" stroke="currentColor" d="M2 5.75L2 17"></path></g></svg>',"arrow-left":'<svg><g id="arrow-left-1--arrow-keyboard-left"><path id="Rectangle 33" stroke="currentColor" d="M2 12L23 12"></path><path id="Vector 163" stroke="currentColor" d="M8 6L2 12L8 18"></path></g></svg>',"arrow-pointing-backward":'<svg><g id="arrow-turn-backward--arrow-bend-curve-change-direction-return-left-back-backward"><path id="Vector 1864" stroke="currentColor" d="M7 3L2 8L7 13"></path><path id="Vector 2191" stroke="currentColor" d="M2 8L22 8V20H8"></path></g></svg>',"arrow-pointing-down-at-tray":'<svg><g id="download-tray--arrow-bottom-down-download-internet-network-server-upload"><path id="Vector 1427" stroke="currentColor" d="M7 10L12 15L17 10"></path><path id="Vector 1428" stroke="currentColor" d="M12 15V1"></path><path id="Rectangle 638" stroke="currentColor" d="M3.5 18V22H20.5V18"></path></g></svg>',"arrow-pointing-forward":'<svg><g id="arrow-turn-forward--arrow-bend-curve-change-direction-return-right-next-forward"><path id="Vector 1864" stroke="currentColor" d="M17 3L22 8L17 13"></path><path id="Vector 2191" stroke="currentColor" d="M22 8H2V20H16"></path></g></svg>',"arrow-right-with-vertical-line":'<svg><g id="arrow-right-2--move-right-arrow-arrows"><path id="Vector" stroke="currentColor" d="M10.6966 6.55371L15.5181 11.3751L10.6966 16.1966"></path><path id="Vector_2" stroke="currentColor" d="M1.05378 11.375L15.5181 11.375"></path><path id="Vector_3" stroke="currentColor" d="M21.9463 5.75L21.9463 17"></path></g></svg>',"arrow-right":'<svg><g id="arrow-right-1--arrow-right-keyboard"><path id="Rectangle 33" stroke="currentColor" d="M1 12L22 12"></path><path id="Vector 163" stroke="currentColor" d="M16 6L22 12L16 18"></path></g></svg>',"arrow-splitting":'<svg><g id="split-vertical"><path id="Vector 2329" stroke="currentColor" d="M2 9V2H9"></path><path id="Vector 2330" stroke="currentColor" d="M22 9V2H15"></path><path id="Vector 2331" stroke="currentColor" d="M2 2L12 12M12 12V23M12 12L22 2"></path></g></svg>',"arrow-up-left":'<svg><g id="arrow-diagonal-top-left--keyboard-top-arrow-left-up"><path id="Vector 2247" stroke="currentColor" d="M2 11V2H11"></path><path id="Vector 2248" stroke="currentColor" d="M2 2L22 22"></path></g></svg>',"arrow-up-right-from-square":'<svg><path d="M12 5H2V22H19V12M10 14L22 2M22 2H14M22 1.25V10" stroke="currentColor"/></svg>',"arrow-up-right":'<svg><g id="arrow-diagonal-top-right--keyboard-top-arrow-right-up"><path id="Vector 2247" stroke="currentColor" d="M22 11V2H13"></path><path id="Vector 2248" stroke="currentColor" d="M22 2L2 22"></path></g></svg>',"arrow-up-with-horizontal-line":'<svg><g id="arrow-up-2--move-up-arrow-arrows"><path id="Vector 2244" stroke="currentColor" d="M12 23V7"></path><path id="Vector 2242" stroke="currentColor" d="M7 12L12 7L17 12"></path><path id="Vector 2245" stroke="currentColor" d="M7 2H17"></path></g></svg>',"arrow-up":'<svg><g id="arrow-up-1--arrow-up-keyboard"><path id="Rectangle 33" stroke="currentColor" d="M12 23L12 2"></path><path id="Vector 163" stroke="currentColor" d="M6 8L12 2L18 8"></path></g></svg>',"arrows-circled":'<svg><path d="M3.64697 6.5C5.43571 3.78889 8.50892 2 11.9999 2C17.5228 2 22 6.47715 22 12C22 13.0452 21.8396 14.053 21.5421 15"stroke="currentColor"/><path d="M3.5 2.5V6.5H7.5"stroke="currentColor"/><path d="M20.353 17.5C18.5642 20.2111 15.491 22 12 22C6.47715 22 2 17.5228 2 12C2 10.9548 2.16035 9.94704 2.4578 9"stroke="currentColor"/><path d="M20.5 21.5V17.5H16.5"stroke="currentColor"/></svg>',"arrows-pointing-outwards":'<svg><g id="arrow-expand--expand-small-bigger-retract-smaller-big"><path id="Vector 2247" stroke="currentColor" d="M2 9V2H9"></path><path id="Vector 2248" stroke="currentColor" d="M14 14L22 22"></path><path id="Vector 2253" stroke="currentColor" d="M2 2L10 10"></path><path id="Vector 2249" stroke="currentColor" d="M22 15V22H15"></path><path id="Vector 2250" stroke="currentColor" d="M2 15V22H9"></path><path id="Vector 2251" stroke="currentColor" d="M14 10L22 2"></path><path id="Vector 2254" stroke="currentColor" d="M2 22L10 14"></path><path id="Vector 2252" stroke="currentColor" d="M22 9V2H15"></path></g></svg>',bag:'<svg><g id="shopping-bag-hand-bag-2--shopping-bag-purse-goods-item-products"><path id="Vector 2477" stroke="currentColor" d="M2 22L4 9H20L22 22H2Z"></path><path id="Vector 2479" stroke="currentColor" d="M7 9V7C7 4.23858 9.23858 2 12 2V2C14.7614 2 17 4.23858 17 7V9"></path></g></svg>',bank:'<svg><g id="bank--institution-saving-bank-payment-finance"><path id="Vector 2497" stroke="currentColor" d="M2 7V9H22V7L12 2L2 7Z"></path><path id="Vector 2498" stroke="currentColor" d="M1 22H23"></path><path id="Vector 2593" stroke="currentColor" d="M3.75 11.5V19.5"></path><path id="Vector 2594" stroke="currentColor" d="M9.25 11.5V19.5"></path><path id="Vector 2595" stroke="currentColor" d="M14.75 11.5V19.5"></path><path id="Vector 2596" stroke="currentColor" d="M20.25 11.5V19.5"></path></g></svg>',beer:'<svg><path d="M5 9.5V21.3017C5 21.6874 5.31264 22 5.69829 22H16.3017C16.6874 22 17 21.6874 17 21.3017V9.30952" stroke="currentColor"/><path d="M17.2308 12H17.7655C18.9996 12 20 13.0004 20 14.2345V14.7655C20 15.9996 18.9996 17 17.7655 17H17" stroke="currentColor"/><path d="M17.6291 5.76755C16.6892 3.81479 14.9212 3.863 14.0036 4.03176C13.7127 3.40495 12.7817 2.12239 10.8481 2.00668C8.91453 1.89096 7.80451 3.30852 7.55834 4.03176C6.37222 3.863 4 4.19087 4 6.85241C4 9.51396 5.5 9.96237 6.5 9.96237C6.43286 10.8785 6.82154 13 8.5 13C10.0192 13 10.6119 11.0713 10.5 9.96237H16.6892L17.0249 9.7454C17.6515 9.26323 18.4973 7.57119 17.6291 5.76755Z" stroke="currentColor"/><path d="M13 13V19" stroke="currentColor"/><path d="M9 15V19" stroke="currentColor"/></svg>',"bell-crossed-out":'<svg><g id="disable-bell-notification--disable-silent-notification-off-silence-alarm-bell-alert"><path id="Vector 2344" stroke="currentColor" d="M18.0001 18H21.0001L19.0001 14V9C19.0001 5.13401 15.866 2 12.0001 2C9.29432 2 6.94715 3.53513 5.78198 5.78193"></path><path id="Vector 2346" stroke="currentColor" d="M5 9V14L3 18H14"></path><path id="Vector 2345" stroke="currentColor" d="M10 22H14"></path><path id="Vector 200" stroke="currentColor" d="M1 1L23 23"></path></g></svg>',bell:'<svg><g id="bell-notification--alert-bell-ring-notification-alarm"><path id="Vector 2344" stroke="currentColor" d="M5 9V14L3 18H21L19 14V9C19 5.13401 15.866 2 12 2C8.13401 2 5 5.13401 5 9Z"></path><path id="Vector 2345" stroke="currentColor" d="M10 22H14"></path></g></svg>',"biometric-id-face-scan":'<svg><g id="face-scan-1--identification-angle-secure-human-id-person-face-security-brackets"><path id="Vector 1145" stroke="currentColor" d="M2 8L2 2L8 2"></path><path id="Vector 1146" stroke="currentColor" d="M16 2H22V8"></path><path id="Vector 1147" stroke="currentColor" d="M22 16V22H16"></path><path id="Vector 1148" stroke="currentColor" d="M8 22H2V16"></path><path id="Vector 2211" stroke="currentColor" d="M12 7.5V13.5H9"></path><path id="Vector 2212" stroke="currentColor" d="M8 6V10"></path><path id="Vector 2213" stroke="currentColor" d="M16 6V10"></path><path id="Ellipse 557" stroke="currentColor" d="M16.2426 16.2426C13.8995 18.5858 10.1005 18.5858 7.75736 16.2426"></path></g></svg>',"biometric-id-fingerprint":'<svg><g id="fingerprint-2--identification-password-touch-id-secure-fingerprint-finger-security"><path id="Rectangle 749" stroke="currentColor" d="M3 11C3 6.02944 7.02944 2 12 2C14.3051 2 16.4077 2.86656 18 4.29168"></path><path id="Rectangle 752" stroke="currentColor" d="M3.22302 15C3.91186 18.0357 6.13524 20.4886 9.03451 21.5"></path><path id="Rectangle 751" stroke="currentColor" d="M12 22C16.9706 22 21 17.9706 21 13V11C21 9.75859 20.7487 8.57589 20.2941 7.5"></path><path id="Rectangle 750" stroke="currentColor" d="M9.81794 17.5C8.14985 16.6896 7 14.9791 7 13V11C7 9.0209 8.14985 7.31036 9.81794 6.5"></path><path id="Rectangle 753" stroke="currentColor" d="M17 13V11C17 8.23858 14.7614 6 12 6"></path><path id="Rectangle 754" stroke="currentColor" d="M12 18C13.8507 18 15.4666 16.9945 16.3311 15.5"></path><path id="Vector 2264" stroke="currentColor" d="M12 10V14"></path></g></svg>',box:'<svg><g id="shipping-box-1--box-package-label-delivery-shipment-shipping"><path id="Vector 1" stroke="currentColor" d="M2 22V2H22V22H2Z"></path><path id="Vector 2" stroke="currentColor" d="M9 2V11L12 9L15 11V2"></path><path id="Vector 3" stroke="currentColor" d="M14 18H18"></path></g></svg>',"broken-glass":'<svg><g id="fragile--fragile-shipping-glass-delivery-wine-crack-shipment-sign-sticker"><path id="Vector 30" stroke="currentColor" d="M12 14.7734V22"></path><path id="Vector 31" stroke="currentColor" d="M7 22H17"></path><path id="Vector 32" stroke="currentColor" d="M5 8V2H19V8C19 11.866 15.866 15 12 15C8.13401 15 5 11.866 5 8Z"></path><path id="Vector 33" stroke="currentColor" d="M13 2V6H15V9.5"></path></g></svg>',"building-office":'<svg><g id="building-office--travel-places-building-office"><path id="Vector 3567" stroke="currentColor" d="M6 6.5V8"></path><path id="Vector 3568" stroke="currentColor" d="M6 10V11.5"></path><path id="Vector 3571" stroke="currentColor" d="M6 13.5V15"></path><path id="Vector 3570" stroke="currentColor" d="M11 10V11.5"></path><path id="Vector 3569" stroke="currentColor" d="M11 6.5V8"></path><path id="Vector 3572" stroke="currentColor" d="M11 13.5V15"></path><path id="Rectangle 986" stroke="currentColor" d="M15 10H22V22H15z"></path><path id="Rectangle 983" stroke="currentColor" d="M15 22V3.5H2V22H15Z"></path><path id="Vector 3561" stroke="currentColor" d="M8.5 18V22"></path></g></svg>',"bullet-list":'<svg><g id="bullet-list--points-bullet-unordered-list-lists-bullets"><path id="Vector 2098" stroke="currentColor" d="M10 4H23"></path><path id="Vector 2100" stroke="currentColor" d="M10 12L23 12"></path><path id="Vector 2099" stroke="currentColor" d="M10 20H23"></path><path id="Rectangle 946" stroke="currentColor" d="M2 2H6V6H2z"></path><path id="Rectangle 947" stroke="currentColor" d="M2 10H6V14H2z"></path><path id="Rectangle 948" stroke="currentColor" d="M2 18H6V22H2z"></path></g></svg>',"bulls-eye":'<svg><g id="target--shop-bullseye-arrow-target"><path id="Ellipse 454" stroke="currentColor" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2"></path><path id="Ellipse 455" stroke="currentColor" d="M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7"></path><path id="Vector 2774" stroke="currentColor" d="M12 12L14.5 9.5"></path><path id="Vector 2775" stroke="currentColor" d="M14.5 6.5V9.5H17.5L21 6H18V3L14.5 6.5Z"></path></g></svg>',calendar:'<svg><g id="blank-calendar--blank-calendar-date-day-month-empty"><path id="Rectangle 11" stroke="currentColor" d="M2 4H22V22H2z"></path><path id="Vector 38" stroke="currentColor" d="M2 9H22"></path><path id="Vector 39" stroke="currentColor" d="M7 1V4"></path><path id="Vector 40" stroke="currentColor" d="M17 1V4"></path></g></svg>',camera:'<svg><path d="M2 19V7H5.5L8 3H16L18.5 7H22V19H2Z"stroke="currentColor"/><path d="M12 15.5C13.933 15.5 15.5 13.933 15.5 12C15.5 10.067 13.933 8.5 12 8.5C10.067 8.5 8.5 10.067 8.5 12C8.5 13.933 10.067 15.5 12 15.5Z"stroke="currentColor"/></svg>',cart:'<svg><path d="M2 2H6V18H19"stroke="currentColor"/><path d="M6 13.5H18L22 6H8.5"stroke="currentColor"/><path d="M6 21.9999V21.2495H6.75043V21.9999H6Z"stroke="currentColor"/><path d="M12 21.9999V21.2495H12.7504V21.9999H12Z"stroke="currentColor"/></svg>',check:'<svg><g id="check--check-form-validation-checkmark-success-add-addition-tick"><path id="Vector 2356" stroke="currentColor" d="M1.5 12.5L8.5 19.5L22.5 5.5"></path></g></svg>',"circled-check":'<svg><g id="check-circle--checkmark-addition-circle-success-check-validation-add-form-tick"><circle id="Ellipse 579" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 1618" stroke="currentColor" d="M7.25 12.75L10.75 15.75L16.75 8.25"></path></g></svg>',"circled-cross":'<svg><g id="delete-circle--button-delete-remove-add-circle-buttons-cross-x-mathematics-multiply-math"><circle id="Ellipse 565" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2283" stroke="currentColor" d="M8 8L16 16"></path><path id="Vector 2284" stroke="currentColor" d="M16 8L8 16"></path></g></svg>',"circled-exclamation-mark":'<svg><g id="warning-circle--warning-alert-frame-exclamation-caution-circle"><circle id="Ellipse 579" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2351" stroke="currentColor" d="M12 7V13.5"></path><path id="Vector 2352" stroke="currentColor" d="M12 15.5V17"></path></g></svg>',"circled-information-i":'<svg><g id="information-circle--information-frame-info-more-help-point-circle"><circle id="Ellipse 579" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2348" stroke="currentColor" d="M9 10.5H12V16.5"></path><path id="Vector 2349" stroke="currentColor" d="M9 16.5H15"></path><path id="Vector 2350" stroke="currentColor" d="M12 8V6.5"></path></g></svg>',"circled-percentage-sign":'<svg><g id="discount-percent-circle--store-shop-shops-stores-discount-coupon"><circle id="Ellipse 44" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2649" stroke="currentColor" d="M7.5 16.5L16.5 7.5"></path><path id="Vector 3028" stroke="currentColor" d="M8.25 8.75L8.75 8.25L9.25 8.75L8.75 9.25L8.25 8.75Z"></path><path id="Vector 3029" stroke="currentColor" d="M14.75 15.25L15.25 14.75L15.75 15.25L15.25 15.75L14.75 15.25Z"></path></g></svg>',"circled-question-mark":'<svg><g id="help-question-1--circle-faq-frame-help-info-mark-more-query-question"><circle id="Ellipse 406" cx="12" cy="12" r="10.5" stroke="currentColor"></circle><path id="Vector 135" stroke="currentColor" d="M8.5 10V9.5C8.5 7.567 10.067 6 12 6V6C13.933 6 15.5 7.567 15.5 9.5V10L12 13L12 15"></path><path id="Vector 166" stroke="currentColor" d="M12 17L12 18.5"></path></g></svg>',"clipboard-with-checkmark":'<svg><g id="clipboard-check--checkmark-edit-task-edition-checklist-check-success-clipboard-form"><path id="Vector 1618" stroke="currentColor" d="M8 14L11 16.5L16 10"></path><path id="Rectangle 689" stroke="currentColor" d="M8 3H3.5L3.5 22H20.5V3H16"></path><path id="Rectangle 690" stroke="currentColor" d="M8 2H16V6H8V2Z"></path></g></svg>',clipboard:'<svg><g id="empty-clipboard--work-plain-clipboard-task-list-company-office"><path id="Rectangle 689" stroke="currentColor" d="M8 3H3.5L3.5 22H20.5V3H16"></path><path id="Rectangle 690" stroke="currentColor" d="M8 2H16V6H8V2Z"></path></g></svg>',clock:'<svg><g id="circle-clock--clock-loading-measure-time-circle"><circle id="Ellipse 6" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 68" stroke="currentColor" d="M12 6V12H16"></path></g></svg>',"code-prompt":'<svg><g id="browser-code-2--code-browser-tags-angle-bracket"><path id="Rectangle 594" stroke="currentColor" d="M22 3H2V21H22V3Z"></path><path id="Vector 1373" stroke="currentColor" d="M22 7H2"></path><path id="Vector 2050" stroke="currentColor" d="M15.5 11L18.5 14L15.5 17"></path><path id="Vector 2051" stroke="currentColor" d="M8.5 11L5.5 14L8.5 17"></path><path id="Vector 2052" stroke="currentColor" d="M13.5 10L10.5 18"></path></g></svg>',cog:'<svg><g id="cog--work-loading-cog-gear-settings-machine"><circle id="Ellipse 404" cx="12" cy="12" r="3" stroke="currentColor"></circle><path id="Ellipse 405" stroke="currentColor" d="M14.4996 2L9.49963 2L9.49963 4.39838C8.44114 4.74629 7.48017 5.30911 6.66833 6.03523L4.58936 4.83494L2.08936 9.16506L4.16694 10.3646C4.05727 10.8925 3.99963 11.4395 3.99963 12C3.99963 12.5605 4.05727 13.1075 4.16694 13.6354L2.08936 14.8349L4.58936 19.1651L6.66833 17.9648C7.48017 18.6909 8.44115 19.2537 9.49963 19.6016V22H14.4996L14.4996 19.6016C15.5581 19.2537 16.5191 18.6909 17.3309 17.9648L19.4099 19.1651L21.9099 14.8349L19.8323 13.6354C19.942 13.1075 19.9996 12.5605 19.9996 12C19.9996 11.4395 19.942 10.8925 19.8323 10.3646L21.9099 9.16506L19.4099 4.83494L17.3309 6.03523C16.5191 5.30911 15.5581 4.74629 14.4996 4.39838V2Z"></path></g></svg>',"coins-stack":'<svg><g id="coins-stack--accounting-billing-payment-stack-cash-coins-currency-money-finance"><ellipse id="Ellipse 175" cx="15.5" cy="11" stroke="currentColor" rx="6.5" ry="3"></ellipse><path id="Ellipse 178" stroke="currentColor" d="M15 5C15 3.34315 12.0899 2 8.5 2C4.91015 2 2 3.34315 2 5C2 6.24798 3.65105 7.31797 6 7.77008"></path><path id="Ellipse 176" stroke="currentColor" d="M9 11V15C9 16.6569 11.9101 18 15.5 18C19.0899 18 22 16.6569 22 15V11"></path><path id="Ellipse 179" stroke="currentColor" d="M2 5V9C2 10.248 3.65105 11.318 6 11.7701"></path><path id="Ellipse 177" stroke="currentColor" d="M9 15V19C9 20.6569 11.9101 22 15.5 22C19.0899 22 22 20.6569 22 19V15"></path><path id="Ellipse 180" stroke="currentColor" d="M2 9V13C2 14.248 3.65105 15.318 6 15.7701"></path></g></svg>',cookie:'<svg><path stroke="currentColor" d="M17.79 4.308a4.061 4.061 0 0 1-7.216-1.93C5.726 3.07 2 7.238 2 12.278c0 5.522 4.477 10 10 10s10-4.478 10-10c0-.578-.049-1.144-.143-1.695a4.06 4.06 0 0 1-4.067-6.275Z"></path><path stroke="currentColor" d="M7.25 10.03h.5v.5h-.5v-.5ZM15.949 14.249h.5v.5h-.5v-.5ZM9.602 15.876h.5v.5h-.5v-.5Z"></path></svg>',copy:'<svg><g id="copy-document"><path id="Rectangle 842" stroke="currentColor" d="M16.5 5H6V22H21V9.5L16.5 5Z"></path><path id="Rectangle 843" stroke="currentColor" d="M3 19.5V2H14.5"></path><path id="Vector 1941" stroke="currentColor" d="M15.5 5V10.5H21"></path></g></svg>',"credit-card-with-plus-sign":'<svg><path d="M12 4H2V20H22V9M19 16H12M10 16H7M22.7307 4H14.75M18.75 0V8" stroke="currentColor"/></svg>',"credit-card":'<svg><path d="M2 20V4H22V20H2Z" stroke="currentColor"/><path d="M2 8H22" stroke="currentColor"/><path d="M2 12H22" stroke="currentColor"/><path d="M15 16H19" stroke="currentColor"/></svg>',cross:'<svg><g id="delete-1--remove-add-button-buttons-delete-cross-x-mathematics-multiply-math"><path id="Vector 2269" stroke="currentColor" d="M4 4L20 20"></path><path id="Vector 2270" stroke="currentColor" d="M20 4L4 20"></path></g></svg>',"currency-dollar":'<svg><g id="dollar-coin--accounting-billing-payment-cash-coin-currency-money-finance"><circle id="Ellipse 44" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2947" stroke="currentColor" d="M12 8V5.5"></path><path id="Vector 2948" stroke="currentColor" d="M12 18.5V16"></path><path id="Vector 3037" stroke="currentColor" d="M15 10V9C15 8.44772 14.5523 8 14 8H10C9.44772 8 9 8.44772 9 9V10.2192C9 10.6781 9.3123 11.0781 9.75746 11.1894L14.2425 12.3106C14.6877 12.4219 15 12.8219 15 13.2808V15C15 15.5523 14.5523 16 14 16H10C9.44772 16 9 15.5523 9 15V14"></path></g></svg>',"currency-euro":'<svg><g id="euro-circle--exchange-payment-euro-forex-finance-foreign-currency"><circle id="Ellipse 44" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector" stroke="currentColor" d="M15.5573 16.5573L15.1443 16.7048C11.8908 17.8667 8.46822 15.4548 8.46822 12C8.46822 8.54527 11.8908 6.13331 15.1443 7.29527L15.5573 7.44277M6.00001 10.5H12M6 13.5H12"></path></g></svg>',"document-checked":'<svg><g id="file-check-alternate--file-common-check"><path id="Rectangle 842" stroke="currentColor" d="M10 22H22V6L18 2H4V16"></path><path id="Vector 1618" stroke="currentColor" d="M1.5 19L5 22L11 14.5"></path></g></svg>',document:'<svg><g id="text-file--text-common-file"><path id="Rectangle 842" stroke="currentColor" d="M16 2H3V22H21V7L16 2Z"></path><path id="Vector 1952" stroke="currentColor" d="M7 7H12"></path><path id="Vector 1953" stroke="currentColor" d="M7 12H17"></path><path id="Vector 1954" stroke="currentColor" d="M7 17H17"></path></g></svg>',"ellipsis-vertical":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_985_659)"><path d="M12 18C12.5523 18 13 18.4477 13 19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19C11 18.4477 11.4477 18 12 18ZM12 11C12.5523 11 13 11.4477 13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12C11 11.4477 11.4477 11 12 11ZM12 4C12.5523 4 13 4.44772 13 5C13 5.55228 12.5523 6 12 6C11.4477 6 11 5.55228 11 5C11 4.44772 11.4477 4 12 4Z" stroke="currentColor" stroke-width="2"/></g><defs><clipPath id="clip0_985_659"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',ellipsis:'<svg><circle cx="12" cy="12" r="1" stroke="currentColor" stroke-width="2"/><circle cx="19" cy="12" r="1" stroke="currentColor" stroke-width="2"/><circle cx="5" cy="12" r="1" stroke="currentColor" stroke-width="2"/></svg>',envelope:'<svg><g id="mail-send-envelope--envelope-email-message-unopened-sealed-close"><path id="Rectangle 846" stroke="currentColor" d="M2 4H22V20H2z"></path><path id="Vector 2539" stroke="currentColor" d="M2 7L12 13L22 7"></path></g></svg>',euro:'<svg><g id="euro--exchange-payment-euro-forex-finance-foreign-currency"><path id="Vector 2371" stroke="currentColor" d="M19 21L18.1844 21.2913C11.7592 23.586 5 18.8227 5 12V12C5 5.1773 11.7592 0.413989 18.1844 2.70871L19 3"></path><path id="Vector 2372" stroke="currentColor" d="M1 10H13"></path><path id="Vector 2373" stroke="currentColor" d="M1 14H13"></path></g></svg>',"eye-crossed-out":'<svg><g id="invisible-1--disable-eye-eyeball-hide-off-view"><path id="Vector 1349" stroke="currentColor" d="M1 1L23 23"></path><path id="Intersect" stroke="currentColor" d="M6.53421 6.5224C8.14524 5.00997 9.90103 4 12.2446 4C16.9086 4 19.2446 8 22.7446 12C20.9274 14.0768 19.4239 16.1536 17.7455 17.6706M4.85571 8.29772C3.86157 9.44494 2.86247 10.7225 1.74463 12C5.24463 16 7.58064 20 12.2446 20C13.5447 20 14.6639 19.6892 15.6779 19.1542"></path><path id="Ellipse 20" stroke="currentColor" d="M10.0083 10C10.5576 9.38625 11.3559 9 12.2444 9C13.9013 9 15.2444 10.3431 15.2444 12C15.2444 12.8714 14.8728 13.6561 14.2795 14.2042"></path></g></svg>',eye:'<svg><g id="visible--eye-eyeball-open-view"><path id="Intersect" stroke="currentColor" d="M12.0814 4C7.41743 4 5.08142 8 1.58142 12C5.08142 16 7.41743 20 12.0814 20C16.7454 20 19.0814 16 22.5814 12C19.0814 8 16.7454 4 12.0814 4Z"></path><circle id="Ellipse 20" cx="12.081" cy="12" r="3" stroke="currentColor"></circle></g></svg>',flag:'<svg><path d="M1.5 1.5V23M4.60303 13.1051H19.2796L15.1097 7.55208L19.2796 1.99902H4.60303" stroke="currentColor"/></svg>',folder:'<svg><g id="new-folder--empty-folder"><path id="Rectangle 18" stroke="currentColor" d="M2 3H8L12 7H22V22H2V3Z"></path></g></svg>',"funnel-filter":'<svg><path d="M14.5005 13.5005L22.0005 6.00049V2.00049H2.00049V6.00049L9.50049 13.5005V21.5005L14.5005 18.5005V13.5005Z" stroke="currentColor"/></svg>',gallery:'<svg><path d="M5 20V7H22V20H5Z"stroke="currentColor"/><path d="M2 17V4H19"stroke="currentColor"/><path d="M9 20L17 12L22 17"stroke="currentColor"/><path d="M8.62646 11.3737V10.6265H9.37372V11.3737H8.62646Z"stroke="currentColor"/></svg>',globe:'<svg><g id="web--server-world-internet-earth-www-globe-worldwide-web-network"><circle id="Ellipse 701" cx="10" cy="10" r="10" stroke="currentColor" transform="matrix(-1 0 0 1 22 2)"></circle><path id="Vector 2586" stroke="currentColor" d="M2 12H22"></path><path id="Vector 2588" stroke="currentColor" d="M13.25 2L16.75 12L13.25 22"></path><path id="Vector 2589" stroke="currentColor" d="M10.75 2L7.25 12L10.75 22"></path></g></svg>',graph:'<svg><g id="graph--analytics-business-product-graph-data-chart-analysis"><path id="Vector 2450" stroke="currentColor" d="M2 1V22H23"></path><path id="Vector 2451" stroke="currentColor" d="M6 12L9 15L17 7L21.5 11.5"></path></g></svg>',hamburger:'<svg><g id="hamburger-menu-1--button-parallel-horizontal-lines-menu-navigation-three-hamburger"><path id="Vector 1993" stroke="currentColor" d="M1 2H23"></path><path id="Vector 1994" stroke="currentColor" d="M1 12H23"></path><path id="Vector 1995" stroke="currentColor" d="M1 22H23"></path></g></svg>',"happy-face":'<svg><g id="happy-face--smiley-chat-message-smile-emoji-face-satisfied"><circle id="Ellipse 7" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2050" stroke="currentColor" d="M8.5 8V10.5"></path><path id="Vector 2051" stroke="currentColor" d="M15.5 8V10.5"></path><path id="Ellipse 988" stroke="currentColor" d="M15.5 13C15.5 14.933 13.933 16.5 12 16.5C10.067 16.5 8.5 14.933 8.5 13"></path></g></svg>',headset:'<svg><g id="customer-support-1--customer-headset-help-microphone-phone-support"><path id="Rectangle 543" stroke="currentColor" d="M2 10H6V16H2V10Z"></path><path id="Rectangle 544" stroke="currentColor" d="M18 10H22V16H18V10Z"></path><path id="Vector 1276" stroke="currentColor" d="M6 10V8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V16C18 18.2091 16.2091 20 14 20"></path><path id="Vector 1277" stroke="currentColor" d="M14 21.5V18.5H10V21.5H14Z"></path></g></svg>',heart:'<svg><g id="heart--reward-social-rating-media-heart-it-like-favorite-love"><path id="Vector 2027" stroke="currentColor" d="M10.25 5.75L12 7.5L13.75 5.75C15.5449 3.95507 18.4551 3.95508 20.25 5.75C22.0449 7.54492 22.0449 10.4551 20.25 12.25L12 20.5L3.75 12.25C1.95507 10.4551 1.95508 7.54492 3.75 5.75C5.54492 3.95508 8.45507 3.95507 10.25 5.75Z"></path></g></svg>',"hour-glass":'<svg><g id="hourglass--hourglass-loading-measure-clock-time"><path id="Vector 2052" stroke="currentColor" d="M3 2H21"></path><path id="Vector 2053" stroke="currentColor" d="M3 22H21"></path><path id="Vector 2054" stroke="currentColor" d="M6 8V2H18V8L14 12L18 16V22H6V16L10 12L6 8Z"></path><path id="Vector 2055" stroke="currentColor" d="M10 12H14"></path></g></svg>',house:'<svg><g id="home-1--home-house-roof-shelter"><path id="Vector 1" stroke="currentColor" d="M22 22H2V11L12 2L22 11V22Z"></path></g></svg>',image:'<svg><path d="M2 20V5H22V20H2Z"stroke="currentColor"/><path d="M16.5 7.7666C17.6046 7.7666 18.5 8.66203 18.5 9.7666C18.5 10.8712 17.6046 11.7666 16.5 11.7666C15.3954 11.7666 14.5 10.8712 14.5 9.7666C14.5 8.66203 15.3954 7.7666 16.5 7.7666Z"stroke="currentColor"/><path d="M2 16L7 11L13 17L15.1888 14.8112L20.3775 20"stroke="currentColor"/></svg>',invoice:'<svg><g id="inbox-open--mail-envelope-email-message-open-letter-text-document"><path id="Rectangle 846" stroke="currentColor" d="M22 22V10L12 16L2 10V22H22Z"></path><path id="Vector 2560" stroke="currentColor" d="M5 12V2H19V12"></path><path id="Vector 2561" stroke="currentColor" d="M8 5.5H16"></path><path id="Vector 2562" stroke="currentColor" d="M8 9.5H16"></path></g></svg>',key:'<svg><g id="key--entry-key-lock-login-pass-unlock-access"><path id="Vector 1289" stroke="currentColor" d="M6 12H11V17L7.5 20.5L2.5 15.5L6 12Z"></path><path id="Vector 1188" stroke="currentColor" d="M11 12L19 4L22.5 7.5"></path><path id="Vector 1189" stroke="currentColor" d="M16 7L19.5 10.5"></path></g></svg>',"link-crossed-out":'<svg><g id="broken-link-2--break-broken-hyperlink-link-remove-unlink-chain"><path id="Vector 47" stroke="currentColor" d="M16 8L12 12"></path><path id="Vector 1350" stroke="currentColor" d="M7.5 16.4999L9.99994 14"></path><path id="Vector 48" stroke="currentColor" d="M11 7L16 2L22 8L17 13"></path><path id="Vector 1348" stroke="currentColor" d="M13 17L8 22L2 16L7 11"></path><path id="Vector 1349" stroke="currentColor" d="M1 1L23 23"></path></g></svg>',link:'<svg><g id="link-chain--create-hyperlink-link-make-unlink-connection-chain"><path id="Vector 47" stroke="currentColor" d="M16 8L8 16"></path><path id="Vector 48" stroke="currentColor" d="M10.5 7.5L16 2L22 8L16.5 13.5"></path><path id="Vector 1348" stroke="currentColor" d="M13.5 16.5L8 22L2 16L7.5 10.5"></path></g></svg>',login:'<svg><g id="login-1--arrow-enter-frame-left-login-point-rectangle"><path id="Rectangle 452" stroke="currentColor" d="M15 7V2H2V22H15V17"></path><path id="Vector 1185" stroke="currentColor" d="M23 12H9"></path><path id="Vector 1186" stroke="currentColor" d="M13 8L9 12L13 16"></path></g></svg>',logout:'<svg><g id="logout-1--arrow-exit-frame-leave-logout-rectangle-right"><path id="Rectangle 452" stroke="currentColor" d="M15 7V2H2V22H15V17"></path><path id="Vector 1185" stroke="currentColor" d="M22 12H8"></path><path id="Vector 1186" stroke="currentColor" d="M18 8L22 12L18 16"></path></g></svg>',"mad-face":'<svg><g id="smiley-mad"><path id="Ellipse 988" stroke="currentColor" d="M15.5 17C15.5 15.067 13.933 13.5 12 13.5C10.067 13.5 8.5 15.067 8.5 17"></path><circle id="Ellipse 7" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2050" stroke="currentColor" d="M7 8.5L10 10"></path><path id="Vector 2051" stroke="currentColor" d="M17 8.5L14 10"></path></g></svg>',magnifier:'<svg><g id="magnifying-glass--glass-search-magnifying"><circle id="Ellipse 44" cx="11" cy="11" r="9" stroke="currentColor"></circle><path id="Vector 195" stroke="currentColor" d="M17.3639 17.3643L22.0001 22.0004"></path></g></svg>',"money-bill":'<svg><g id="bill-2--currency-billing-payment-finance-cash-bill-money-accounting"><circle id="Ellipse 174" cx="12" cy="12" r="3" stroke="currentColor"></circle><path id="Vector 1761" stroke="currentColor" d="M4 8H6"></path><path id="Vector 1762" stroke="currentColor" d="M18 16H20"></path><path id="Vector 1760" stroke="currentColor" d="M2 19V5H22V19H2Z"></path></g></svg>',"money-coin":'<svg><g id="dollar-coin-1--accounting-billing-payment-cash-coin-currency-money-finance"><path id="Ellipse 20" stroke="currentColor" d="M3.18034 9.81543C2.43174 11.0328 2 12.466 2 14C2 18.4182 5.58172 22 10 22C11.6209 22 13.1292 21.5179 14.3894 20.6893"></path><circle id="Ellipse 19" cx="14" cy="10" r="8" stroke="currentColor"></circle><path id="Vector 2947" stroke="currentColor" d="M14 7V5"></path><path id="Vector 2948" stroke="currentColor" d="M14 15V13"></path><path id="Vector 3037" stroke="currentColor" d="M16.25 8.5V8C16.25 7.44772 15.8023 7 15.25 7H12.75C12.1977 7 11.75 7.44772 11.75 8V8.44783C11.75 8.91653 12.0755 9.32234 12.5331 9.42402L15.4669 10.076C15.9245 10.1777 16.25 10.5835 16.25 11.0522V12C16.25 12.5523 15.8023 13 15.25 13H12.75C12.1977 13 11.75 12.5523 11.75 12V11.5"></path></g></svg>',"organization-chart":'<svg><g id="hierarchy-3--node-organization-links-structure-link-nodes-network-hierarchy"><path id="Rectangle 982" stroke="currentColor" d="M16 16H22V22H16z"></path><path id="Rectangle 983" stroke="currentColor" d="M2 16H8V22H2z"></path><path id="Rectangle 984" stroke="currentColor" d="M9 2H15V8H9z"></path><path id="Vector 2217" stroke="currentColor" d="M9 8L5 16"></path><path id="Vector 2218" stroke="currentColor" d="M8 19H16"></path><path id="Vector 2219" stroke="currentColor" d="M15 8L19 16"></path></g></svg>',"padlock-closed":'<svg><g id="padlock-square-1--combination-combo-lock-locked-padlock-secure-security-shield-keyhole"><path id="Ellipse 1" stroke="currentColor" d="M20 11L4 11L4 22L20 22L20 11Z"></path><path id="Vector 26" stroke="currentColor" d="M7 11V7C7 4.23858 9.23858 2 12 2V2C14.7614 2 17 4.23858 17 7V11"></path><path id="Vector 1270" stroke="currentColor" d="M12 15V18"></path></g></svg>',"padlock-open":'<svg><g id="padlock-square-2--combination-combo-key-keyhole-lock-secure-security-square-unlock-unlocked"><path id="Ellipse 1" stroke="currentColor" d="M20 11L4 11L4 22L20 22L20 11Z"></path><path id="Vector 26" stroke="currentColor" d="M7 11V7C7 4.23858 9.23858 2 12 2V2C14.7614 2 17 4.23864 17 7.00006V7.00006"></path><path id="Vector 1270" stroke="currentColor" d="M12 15V18"></path></g></svg>',"paper-plane":'<svg><g id="send-email--mail-send-email-paper-airplane"><path id="Vector 2529" stroke="currentColor" d="M2 9L22 2L15 22L10.5 17.5L7 21V14L2 9Z"></path><path id="Vector 2531" stroke="currentColor" d="M7 14L14.5 8"></path></g></svg>',"paperclip-2":'<svg><g id="paperclip-2--attachment-link-paperclip-unlink"><path id="Vector 1471" stroke="currentColor" d="M18 18V2H6V22H14V7H10V18"></path></g></svg>',pen:'<svg><g id="pencil--change-edit-modify-pencil-write-writing"><path id="Vector 48" stroke="currentColor" d="M8.00002 22L22 8L16 2L2 16L2.00002 22L8.00002 22Z"></path><path id="Vector 49" stroke="currentColor" d="M12.5 5.5L18.5 11.5"></path></g></svg>',"pen-disabled":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1725_257)"><path d="M12.5001 5.49999L18.5001 11.5M2.03033 2.46961L21.5303 21.9696M8.00008 22L22.0001 8L16.0001 2L2.00006 16L2.00008 22H8.00008Z" stroke="currentColor" stroke-width="1.5"/></g><defs><clipPath id="clip0_1725_257"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',"phone-with-shield":'<svg><g id="phone-shield--android-phone-mobile-device-smartphone-iphone-protection-shield"><path id="Rectangle 37" stroke="currentColor" d="M9 2L2 2L2 22L16 22L16 16.5"></path><path id="Vector 196" stroke="currentColor" d="M11 18L7 18"></path><path id="Vector 2333" stroke="currentColor" d="M12 9V2H22V9L17 13L12 9Z"></path></g></svg>',"pie-chart":'<svg><g id="pie-chart--product-data-analysis-analytics-pie-business-chart"><path id="Intersect" stroke="currentColor" d="M22 10.5C22 5.80558 18.1944 2 13.5 2V10.5L22 10.5Z"></path><path id="Subtract" stroke="currentColor" d="M10.5 22C15.1944 22 19 18.1944 19 13.5L10.5 13.5L10.5 5C5.80558 5 2 8.80558 2 13.5C2 18.1944 5.80558 22 10.5 22Z"></path></g></svg>',plus:'<svg><g id="add-1--expand-cross-buttons-button-more-remove-plus-add-+-mathematics-math"><path id="Vector 2265" stroke="currentColor" d="M12 1V23"></path><path id="Vector 2266" stroke="currentColor" d="M1 12H23"></path></g></svg>',printer:'<svg><g id="printer--scan-device-electronics-printer-print-computer"><path id="Rectangle 739" stroke="currentColor" d="M6 19H2V9H22V19H18"></path><path id="Rectangle 738" stroke="currentColor" d="M6 16H18V22H6z"></path><path id="Rectangle 740" stroke="currentColor" d="M18 6.5V2H6L6 6.5"></path></g></svg>',"puzzle-piece":'<svg><g id="module-puzzle-2--code-puzzle-module-programming-plugin-piece"><path id="Union" stroke="currentColor" d="M12.6632 7C12.8792 6.54537 13 6.0368 13 5.5C13 3.567 11.433 2 9.5 2C7.567 2 6 3.567 6 5.5C6 6.0368 6.12085 6.54537 6.33682 7H2V10.5354C2.1633 10.5121 2.33024 10.5 2.5 10.5C4.433 10.5 6 12.067 6 14C6 15.933 4.433 17.5 2.5 17.5C2.33024 17.5 2.1633 17.4879 2 17.4646V22H6.53544C6.51209 21.8367 6.5 21.6698 6.5 21.5C6.5 19.567 8.067 18 10 18C11.933 18 13.5 19.567 13.5 21.5C13.5 21.6698 13.4879 21.8367 13.4646 22H17V17.6632C17.4546 17.8792 17.9632 18 18.5 18C20.433 18 22 16.433 22 14.5C22 12.567 20.433 11 18.5 11C17.9632 11 17.4546 11.1208 17 11.3368V7H12.6632Z"></path></g></svg>',"qr-code":'<svg><g id="qr-code--codes-tags-code-qr"><path id="Vector 2518" stroke="currentColor" d="M10 10L6 10L6 6L10 6L10 10Z"></path><path id="Vector 2537" stroke="currentColor" d="M18 10L14 10L14 6L18 6L18 10Z"></path><path id="Vector 2538" stroke="currentColor" d="M10 18L6 18L6 14L10 14L10 18Z"></path><path id="Vector 2532" stroke="currentColor" d="M2 9V2H9"></path><path id="Vector 2534" stroke="currentColor" d="M2 15V22H9"></path><path id="Vector 2533" stroke="currentColor" d="M15 2L22 2L22 9"></path><path id="Vector 2535" stroke="currentColor" d="M15 22L22 22L22 15"></path><path id="Vector 2545" stroke="currentColor" d="M19.25 18H14V13"></path><path id="Vector 2507" stroke="currentColor" d="M17.9956 14.2542V13.75H18.4998V14.2542H17.9956Z"></path></g></svg>',receipt:'<svg><path d="M12 7V4.5"stroke="currentColor"/><path d="M12 16.5V14"stroke="currentColor"/><path d="M14.5 8.5V8C14.5 7.44772 14.0523 7 13.5 7H10.5C9.94772 7 9.5 7.44772 9.5 8V8.9302C9.5 9.40688 9.83646 9.81729 10.3039 9.91078L13.6961 10.5892C14.1635 10.6827 14.5 11.0931 14.5 11.5698V13C14.5 13.5523 14.0523 14 13.5 14H10.5C9.94772 14 9.5 13.5523 9.5 13V12.5"stroke="currentColor"/><path d="M4 2V21L8 18.5L12 22L16 18.5L20 21V2H4Z"stroke="currentColor"/></svg>',"recycle-bin-1":'<svg><g id="recycle-bin-1--remove-delete-empty-bin-trash-garbage"><path id="Vector 2273" stroke="currentColor" d="M1 6H23"></path><path id="Rectangle 760" stroke="currentColor" d="M4 6H20L18 22H6L4 6Z"></path><path id="Vector 2274" stroke="currentColor" d="M8 6V6C8 3.79086 9.79086 2 12 2V2C14.2091 2 16 3.79086 16 6V6"></path></g></svg>',"sad-face":'<svg><g id="sad-face--smiley-chat-message-emoji-sad-face-unsatisfied"><circle id="Ellipse 7" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2050" stroke="currentColor" d="M8.5 8V10.5"></path><path id="Vector 2051" stroke="currentColor" d="M15.5 8V10.5"></path><path id="Ellipse 988" stroke="currentColor" d="M15.5 17C15.5 15.067 13.933 13.5 12 13.5C10.067 13.5 8.5 15.067 8.5 17"></path></g></svg>',scale:'<svg><g id="justice-scale-1--office-work-scale-justice-company-arbitration-balance-court"><path id="Vector 2698" stroke="currentColor" d="M2 6H22"></path><path id="Vector 2700" stroke="currentColor" d="M10 16H2V17.5C2 17.5 3.5 19.5 6 19.5C8.5 19.5 10 17.5 10 17.5V16Z"></path><path id="Vector 2700_2" stroke="currentColor" d="M22 16H14V17.5C14 17.5 15.5 19.5 18 19.5C20.5 19.5 22 17.5 22 17.5V16Z"></path><path id="Vector 2703" stroke="currentColor" d="M12 6V2.5"></path><path id="Vector 2950" stroke="currentColor" d="M2 16V15.3438L6 6"></path><path id="Vector 2952" stroke="currentColor" d="M6 6L10 15.3438V16"></path><path id="Vector 2953" stroke="currentColor" d="M14 16V15.3438L18 6"></path><path id="Vector 2954" stroke="currentColor" d="M18 6L22 15.3438V16"></path></g></svg>',"shield-check":'<svg><g id="shield-check--shield-protection-security-defend-crime-war-cover-check"><path id="Rectangle 38" stroke="currentColor" d="M2.5 2L2.5 17L12 22L21.5 17L21.5 2L2.5 2Z"></path><path id="Vector 1143" stroke="currentColor" d="M7.5 11.5L11 14.5L17 7"></path></g></svg>',shield:'<svg><g id="shield-1--shield-protection-security-defend-crime-war-cover"><path id="Rectangle 38" stroke="currentColor" d="M2.5 2L2.5 17L12 22L21.5 17L21.5 2L2.5 2Z"></path></g></svg>',"sign-at":'<svg><g id="sign-at--mail-email-at-sign-read-address"><path id="Ellipse 682" stroke="currentColor" d="M12 17H17H22V12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22H16.5"></path><path id="Ellipse 683" stroke="currentColor" d="M12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12V17"></path></g></svg>',signature:'<svg><g id="signature"><path id="Vector 2206" stroke="currentColor" d="M14 19L23 19"></path><path id="Vector 2207" stroke="currentColor" d="M4 8V5.5C4 3.567 5.567 2 7.5 2V2C9.433 2 11 3.567 11 5.5V17.5C11 19.9853 8.98528 22 6.5 22H6C3.79086 22 2 20.2091 2 18V18C2 14.215 6.77544 12.0218 10.6779 10.9183C13.43 10.1401 15.9038 12.0188 16.4647 14.8233L16.5 15H17.5L17.9348 14.1305C18.894 12.2119 20.855 11 23 11V11"></path></g></svg>',slider:'<svg><g id="horizontal-slider-2--adjustment-adjust-controls-fader-horizontal-settings-slider"><path id="Vector 2003" stroke="currentColor" d="M1 12H7.5"></path><path id="Vector 2004" stroke="currentColor" d="M16.5 12H23"></path><circle id="Ellipse 611" cx="12" cy="12" r="2" stroke="currentColor"></circle><path id="Vector 2006" stroke="currentColor" d="M8.5 4H23"></path><circle id="Ellipse 612" cx="4" cy="4" r="2" stroke="currentColor"></circle><path id="Vector 2007" stroke="currentColor" d="M1 20H15.5"></path><circle id="Ellipse 613" cx="20" cy="20" r="2" stroke="currentColor"></circle></g></svg>',"speech-bubble-oval":'<svg><path d="M11.9998 22.0005C17.5226 22.0005 21.9998 17.5233 21.9998 12.0005C21.9998 6.47764 17.5226 2.00049 11.9998 2.00049C6.47691 2.00049 1.99976 6.47764 1.99976 12.0005C1.99976 14.4138 2.85464 16.6275 4.27809 18.3551L1.99976 22.0002L11.9998 22.0005Z" stroke="currentColor"/></svg>',"speech-bubble":'<svg><g id="chat-bubble-text-square--messages-message-bubble-text-square-chat"><path id="Rectangle 729" stroke="currentColor" d="M21 2.5L21 19L6.99976 19L3 21.5L3 2.5L21 2.5Z"></path><path id="Vector 2046" stroke="currentColor" d="M7 8H17"></path><path id="Vector 2047" stroke="currentColor" d="M7 12.5H14"></path></g></svg>',"splitted-circles":'<svg><path d="M6.43079 17.3847C3.0872 14.0411 3.0872 8.62057 6.43079 5.27698C9.77438 1.93339 15.1949 1.93339 18.5385 5.27698L6.43079 17.3847Z" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round"/><path d="M17.1846 6.61536C20.5282 9.95894 20.5282 15.3795 17.1846 18.7231C13.841 22.0666 8.42049 22.0666 5.0769 18.7231L6.6951 17.1049" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/><path d="M17 18.5385L11.6154 12.7693" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square" stroke-linejoin="round"/><path d="M13.3636 20.6364L8.36365 15.6364" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square" stroke-linejoin="round"/><path d="M18.9231 14.3076L14.3077 9.69226" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square" stroke-linejoin="round"/></svg>',star:'<svg><g id="star-1--reward-rating-rate-social-star-media-favorite-like-stars"><path id="Star 4" stroke="currentColor" d="M12 2.50024L15.5 8.50024L21.5 10.0002L17.5 14.5002L18.5 21.5002L12 18.5002L5.5 21.5002L6.5 14.5002L2.5 10.0002L8.5 8.50024L12 2.50024Z"></path></g></svg>',store:'<svg><g id="store-phone--store-shop-shops-stores-online-mobile-phone"><path id="Vector 2631" stroke="currentColor" d="M3 6H21"></path><path id="Vector 2754" stroke="currentColor" d="M5 2L3 6V8C3 9.65685 4.34315 11 6 11C7.65685 11 9 9.65685 9 8C9 9.65685 10.3431 11 12 11C13.6569 11 15 9.65685 15 8C15 9.65685 16.3431 11 18 11C19.6569 11 21 9.65685 21 8V6L19 2H5Z"></path><path id="Rectangle 881" stroke="currentColor" d="M5.5 14V22H18.5V14"></path><path id="Vector 2630" stroke="currentColor" d="M10 18H14"></path></g></svg>',"straight-face":'<svg><g id="straight-face--smiley-chat-message-indifferent-emoji-face-poker"><circle id="Ellipse 7" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Vector 2052" stroke="currentColor" d="M8.5 8V10.5"></path><path id="Vector 2051" stroke="currentColor" d="M15.5 8V10.5"></path><path id="Vector 2050" stroke="currentColor" d="M6.5 14.5H17.5"></path></g></svg>',"thumb-up":'<svg><g id="like-1--reward-social-up-rating-media-like-thumb-hand"><path id="Vector 33" stroke="currentColor" d="M6 11.5L6 21"></path><path id="Vector 34" stroke="currentColor" d="M19.5 21H2V11.5H6L8.5 3H9.4C11.3882 3 13 4.61177 13 6.6V9H22L19.5 21Z"></path></g></svg>',tray:'<svg><g id="inbox-tray-1--mail-email-outbox-drawer-empty-open-inbox-arrow-down"><path id="Vector 88" stroke="currentColor" d="M8.5 12.9998H2V22H22V12.9998H15.5V13.9998C15.5 15.9328 13.933 17.4998 12 17.4998C10.067 17.4998 8.5 15.9328 8.5 13.9998V12.9998Z"></path><path id="Vector 2557" stroke="currentColor" d="M8 6L12 10L16 6"></path><path id="Vector 2558" stroke="currentColor" d="M12 1V10"></path></g></svg>',"triangle-with-exclamation-mark":'<svg><path d="M12 9.5V16M12 18V19.5M12 3L21.5 21.5H2.5L12 3Z" stroke="currentColor"/></svg>',"two-speech-bubbles":'<svg><g id="chat-two-bubbles-oval--messages-message-bubble-chat-oval-conversation"><path id="Ellipse 331" stroke="currentColor" d="M7 19.9998H2L4.0505 16.7192C2.76939 15.1643 2 13.172 2 11C2 6.02944 6.02944 2 11 2C14.5337 2 17.5918 4.03656 19.0645 7"></path><path id="Ellipse 332" stroke="currentColor" d="M15.5 22C11.9101 22 9 19.0899 9 15.5C9 11.9101 11.9101 9 15.5 9C19.0899 9 22 11.9101 22 15.5C22 17.0687 21.4443 18.5075 20.5191 19.6305L22 21.9998L15.5 22Z"></path></g></svg>',"upload-document":'<svg><g id="upload-document"><path d="M7 8L12 3M12 3L17 8M12 3V17M3.5 18V22H20.5V18" stroke="currentColor" /></g><defs><clipPath id="clip0_1220_232"><rect width="24" height="24"/></clipPath></defs></svg>',"user-avatar-multiple":'<svg><g clip-path="url(#clip0_1069_263)"><path d="M15 11.5C16.933 11.5 18.5 9.933 18.5 8C18.5 6.067 16.933 4.5 15 4.5M18.5 19.5H22V16.3729C20.9167 15.7463 19.7417 15.2606 18.5 14.941M12.5 8C12.5 9.933 10.933 11.5 9 11.5C7.067 11.5 5.5 9.933 5.5 8C5.5 6.067 7.067 4.5 9 4.5C10.933 4.5 12.5 6.067 12.5 8ZM9 14.5C6.44999 14.5 4.05921 15.1818 2 16.373V19.5H16V16.373C13.9408 15.1818 11.55 14.5 9 14.5Z" stroke="currentColor" stroke-width="1.5"/></g><defs><clipPath id="clip0_1069_263"><rect width="24" height="24"/></clipPath></defs></svg>',"user-avatar-with-bars":'<svg><g clip-path="url(#clip0_1069_253)"><path d="M23 20.3798H14M12 20.3798H2V17.3292C4.51673 15.9281 7.41515 15.1299 10.5 15.1299C11.0053 15.1299 11.5056 15.1513 12 15.1933M23 17.3798C19.4853 17.3798 17.5147 17.3798 14 17.3798M23 14.3798H14M15 7.87988C15 10.2271 13.0972 12.1299 10.75 12.1299C8.40279 12.1299 6.5 10.2271 6.5 7.87988C6.5 5.53267 8.40279 3.62988 10.75 3.62988C13.0972 3.62988 15 5.53267 15 7.87988Z" stroke="currentColor" stroke-width="1.5"/></g><defs><clipPath id="clip0_1069_253"><rect width="24" height="24"/></clipPath></defs></svg>',"user-avatar-with-exclamation-mark":'<svg><g clip-path="url(#clip0_1067_239)"><path d="M15.3125 20.1299H2V17.3292C4.51673 15.9281 7.41515 15.1299 10.5 15.1299C12.4214 15.1299 14.2704 15.4395 16 16.0117M19.5 10.6299V19.1299M19.5 21.1299V22.6299M15 7.87988C15 10.2271 13.0972 12.1299 10.75 12.1299C8.40279 12.1299 6.5 10.2271 6.5 7.87988C6.5 5.53267 8.40279 3.62988 10.75 3.62988C13.0972 3.62988 15 5.53267 15 7.87988Z" stroke="currentColor" stroke-width="1.5"/></g><defs><clipPath id="clip0_1067_239"><rect width="24" height="24"/></clipPath></defs></svg>',"user-avatar-with-minus":'<svg><g clip-path="url(#clip0_130_1359)"><path d="M23 20.1299H14M12 20.1299H2V17.3292C4.51673 15.9281 7.41515 15.1299 10.5 15.1299C13.0274 15.1299 15.4297 15.6657 17.5995 16.6299M15 7.87988C15 10.2271 13.0972 12.1299 10.75 12.1299C8.40279 12.1299 6.5 10.2271 6.5 7.87988C6.5 5.53267 8.40279 3.62988 10.75 3.62988C13.0972 3.62988 15 5.53267 15 7.87988Z" stroke="currentColor" stroke-width="1.5"/></g><defs><clipPath id="clip0_130_1359"><rect width="24" height="24"/></clipPath></defs></svg>',"user-avatar":'<svg><g id="user-single-neutral--close-geometric-human-person-single-up-user"><path id="Ellipse 414" stroke="currentColor" d="M12 16C8.56169 16 5.32602 16.8676 2.5 18.3959V22H21.5V18.3959C18.674 16.8676 15.4383 16 12 16Z"></path><circle id="Ellipse 419" cx="12" cy="8" r="5" stroke="currentColor"></circle></g></svg>',"very-happy-face":'<svg><g id="smiley-very-happy-1"><circle id="Ellipse 7" cx="12" cy="12" r="10" stroke="currentColor"></circle><path id="Ellipse 988" stroke="currentColor" d="M15.5 13C15.5 14.933 13.933 16.5 12 16.5C10.067 16.5 8.5 14.933 8.5 13"></path><path id="Ellipse 990" stroke="currentColor" d="M10 10C10 9.17157 9.32843 8.5 8.5 8.5C7.67157 8.5 7 9.17157 7 10"></path><path id="Ellipse 991" stroke="currentColor" d="M17 10C17 9.17157 16.3284 8.5 15.5 8.5C14.6716 8.5 14 9.17157 14 10"></path></g></svg>',webhook:'<svg><g id="webhook"><path id="ellipse 172" stroke="currentColor" d="M15.4386 6.27433C15.4386 4.08493 13.6637 2.31006 11.4743 2.31006C9.28488 2.31006 7.51001 4.08493 7.51001 6.27433C7.51001 7.75902 8.32618 9.05308 9.53433 9.73231L6.02539 16.8671"></path><path id="ellipse 174" stroke="currentColor" d="M16.3325 20.5489C18.2285 21.6436 20.6531 20.9939 21.7478 19.0979C22.8425 17.2018 22.1928 14.7773 20.2967 13.6826C19.011 12.9402 17.4822 13 16.2899 13.7067L11.9235 7.06696"></path><path id="ellipse 173" stroke="currentColor" d="M4.0226 13.6145C2.05927 14.5835 1.25316 16.9605 2.2221 18.9239C3.19105 20.8872 5.56812 21.6933 7.53145 20.7244C8.86283 20.0673 9.66206 18.7627 9.73648 17.3787L17.6284 17.3649"></path></g></svg>'},d=r=>{s||(s=new DOMParser);const t=s.parseFromString(r,"text/html").querySelector("svg");return t&&(r=>{const t=(r=>Array.from(r.querySelectorAll("*")).filter((r=>{if(Array.from(r.attributes).filter((r=>r.name.startsWith("on"))).length>0)return r})).length>0)(r),e=r.querySelectorAll("script").length>0,o=r.querySelectorAll('[href^="javascript:"]').length>0;return!t&&!e&&!o})(t)?t:null},n=async r=>{try{const t=await fetch(r);if(!t.ok)return void console.warn(`Error while fetching from ${r}: ${t.status}.`);const e=await t.text(),o=d(e);return Promise.resolve(o)}catch(r){return Promise.reject(r)}},h=()=>l,p=(r,t)=>{const e=(r=>{let t=r.trim();return t=t.replace(/\sfill="([\S]*)"/gi,""),t=t.replace(/\sstroke="([\S]*)"/gi,""),t=t.replace(/\n|\r/g,""),t=t.replace(/>\s+</g,"><"),t=t.replace(/<svg[^>]*?>/gi,'<svg stroke="currentColor">'),t})(t);void 0===l[r]&&(l[r]=e)},g={s:"16",m:"24",l:"32"};let u=h();const C=class{constructor(t){r(this,t),this.kit=i,this.size="m",this.viewBox="0 0 24 24",this.color=null,this._setElementAttrs=(r,t={})=>{r&&Object.keys(t).forEach((e=>{null===r.getAttribute(e)&&void 0!==t[e]&&r.setAttribute(e,t[e])}))},this._defineSvgAttrs=()=>{const{viewBox:r,name:t}=this,e=this.size?g[this.size]:null,o={viewBox:r,key:t,xmlns:"http://www.w3.org/2000/svg","aria-label":this.iconAriaLabel,"aria-hidden":!this.iconAriaLabel};return null!==e&&(o.width=e,o.height=e),o},this._passAttributesToSvg=()=>{const r=this.host.querySelector("svg");null!==r&&this._setElementAttrs(r,{viewBox:(t=>this.host.getAttribute(t)||r.getAttribute(t)||this[t])("viewBox")})},this._defineSvgElement=async()=>{let r=null,t={};if(this.src){try{r=await n(this.src)}catch(r){return console.info("Error while fetching:",r),null}if(r){this._setElementAttrs(r,this._defineSvgAttrs());const t=this.src.split("/").pop().replace(".svg","");return void 0!==u[t]||(p(t,`${r.outerHTML}`),u=h()),r}console.warn(`The icon was NOT found by src "${this.src}".`)}if(this.name){if(r=(r=>{const t=(r=>l[r]||null)(r);return t?d(t):null})(this.name),null!==r)return t=this._defineSvgAttrs(),this._setElementAttrs(r,t),r;const e=this.kit===i?`${c}${this.name}.svg`:`${c}${this.kit}/${this.name}.svg`;try{r=await n(e)}catch(r){return void console.info(`Error while fetching "${e}":`,r)}return r?(this._setElementAttrs(r,this._defineSvgAttrs()),p(this.name,`${r.outerHTML}`),u=h(),r):void console.info(`\n No SVG Element recieved after fetching "${e}".\n `)}}}get cssColor(){if(!this.color)return null;const r=new RegExp(/^var\(/),t=new RegExp(/^--r-/),e=new RegExp(/^rgb?.\(/),o=new RegExp(/^#(?:[0-9a-fA-F]{3}){1,2}$/).test(this.color),a=e.test(this.color),c=r.test(this.color),i=t.test(this.color);return o||a||c?this.color:i?`var(${this.color})`:null}componentWillLoad(){this._passAttributesToSvg()}async componentWillRender(){this.svgElement=await this._defineSvgElement()}render(){const r={};if(r.style={color:this.cssColor},!this.svgElement)return t(e,null,t("div",Object.assign({class:"r-icon"},r),t("slot",null)));const a={innerHTML:this.svgElement.outerHTML};return t(e,null,t("div",Object.assign({class:"r-icon"},r),t("i",Object.assign({class:"r-icon--container"},a)),"button"===this.variant&&t(o,null,t("i",{class:"r-icon--button-area"}),t("i",{class:"r-icon--target-area"}))))}static get assetsDirs(){return["bundled-icons"]}get host(){return a(this)}};C.style=":host{display:inline-block;vertical-align:top}:host([size=s]){--r-icon--width:16px;--r-icon--height:16px;line-height:16px}:host([size=m]){--r-icon--width:24px;--r-icon--height:24px;line-height:24px}:host([size=l]){--r-icon--width:32px;--r-icon--height:32px;line-height:32px}:host([size]){--r-icon--slotted--width:var(--r-icon--width, 24px);--r-icon--slotted--height:var(--r-icon--height, 24px)}:host([variant=button]){--r-icon--target-area--display:block;--r-icon--button-area--display:block}:host([variant=button]:hover){--r-icon--button-area--border-color:var(--r-border-softer);--r-icon--button-area--background-color:var(--r-background-interactive-hovered)}:host([variant=button][size=m]){--r-icon--button-area--width:2.25rem;--r-icon--button-area--height:2.25rem;--r-icon--button-area--top:calc(50% - 1.125rem)\n --r-icon--button-area--left: calc(50% - 1.125rem)}:host([variant=button][size=l]){--r-icon--button-area--width:2.75rem;--r-icon--button-area--height:2.75rem;--r-icon--button-area--top:calc(50% - 1.375rem)\n --r-icon--button-area--left: calc(50% - 1.375rem)}.r-icon{display:var(--r-icon--display, block);width:var(--r-icon--width, 24px);height:var(--r-icon--height, 24px);margin-left:var(--r-icon--margin-left, 0);margin-right:var(--r-icon--margin-right, 0);overflow:var(--r-icon--overflow, hidden);color:var(--r-icon--color, inherit)}.r-icon--container{display:var(--r-icon--container--display, flex);align-items:var(--r-icon--container--align-items, center);justify-content:var(--r-icon--container--justify-content, center);fill:var(--r-icon--container--fill, rgba(0, 0, 0, 0));stroke:var(--r-icon--container--stroke, inherit);stroke-width:var(--r-icon--container--stroke-width, 1.5);width:var(--r-icon--container--width, inherit);height:var(--r-icon--container--height, inherit)}.r-icon ::slotted(svg){width:var(--r-icon--slotted--width, 100%);height:var(--r-icon--slotted--height, auto);vertical-align:var(--r-icon--slotted--vertical-align, top);color:var(--r-icon--slotted--color, inherit);stroke-width:var(--r-icon--slotted--stroke-width, 1.5);fill:var(--r-icon--slotted--fill, transparent)}.r-icon--button-area{position:var(--r-icon--button-area--position, absolute);left:var(--r-icon--button-area--left, calc(50% - 0.75rem));top:var(--r-icon--button-area--top, calc(50% - 0.75rem));display:var(--r-icon--button-area--display, none);width:var(--r-icon--button-area--width, 1.5rem);height:var(--r-icon--button-area--height, 1.5rem);background-color:var(--r-icon--button-area--background-color, transparent);border-width:var(--r-icon--button-area--border-width, 1px);border-style:var(--r-icon--button-area--border-style, solid);border-color:var(--r-icon--button-area--border-color, transparent);border-radius:var(--r-icon--button-area--border-radius, 50%);box-sizing:var(--r-icon--button-area--box-sizing, border-box);outline:var(--r-icon--button-area--outline, none);outline-offset:var(--r-icon--button-area--outline-offset, 0);box-shadow:var(--r-icon--button-area--box-shadow, 0)}.r-icon--target-area{position:var(--r-icon--target-area--position, absolute);left:var(--r-icon--target-area--left, calc(50% - 1.375rem));top:var(--r-icon--target-area--top, calc(50% - 1.375rem));display:var(--r-icon--target-area--display, none);width:var(--r-icon--target-area--width, 2.75rem);height:var(--r-icon--target-area--height, 2.75rem);background-color:var(--r-icon--target-area--background-color, transparent)}";export{C as r_icon}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as r,H as i,g as o}from"./p-Da7qOBFr.js";import{a as s}from"./p-DvLT8-y3.js";const a=class{constructor(r){e(this,r),this.rChange=t(this,"rChange"),this.rReset=t(this,"rReset"),this.rValidate=t(this,"rValidate"),this.autofocus=!1,this.validityState="",this.validityMessage="",this.touched=!1,this.initial={},this.uniqueId=`r-checkbox-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.getValidityStateData=e=>{let t="",r="";for(const i in e.validity)if(e.validity[i]){if(t=i,this[i+"Message"])return r=this[i+"Message"],{validityState:t,validityMessage:r};r=e.validationMessage}return{validityState:t,validityMessage:r}},this.validateFormElement=(e=null)=>{if(null===e)return;if(this.isNoValidate)return;if(this.error)return;const{validityState:t,validityMessage:r}=this.getValidityStateData(e);this.validityState=t,this.validityMessage=r;const i="valid"===this.validityState;this.valid=i,this.invalid=!i,this.rValidate.emit({state:this.validityState,message:this.validityMessage})},this.handleClick=e=>{this.disabled||"A"!==e.target.tagName&&(e.preventDefault(),this.toggleChecked())},this.onSubmitForm=e=>{this.isNoValidate||(this.validateFormElement(this.nativeElement),this.invalid&&(e.preventDefault(),e.stopPropagation()))},this.onResetForm=()=>{this.validityState=null,this.validityMessage=null,this.checked=this.initial.checked,this.invalid=this.initial.invalid,this.valid=!this.invalid;const{host:e,value:t,checked:r}=this;this.rReset.emit({element:e,value:t,checked:r})},this.contributeToFormData=e=>{s(this.nativeElement||this.host,e.formData)},this.applyAutofocus=()=>{queueMicrotask((()=>{this.setFocus()}))}}async getValidityState(){const{validityState:e,validityMessage:t}=this.getValidityStateData(this.nativeElement);return this.validityState=e,this.validityMessage=t,{state:this.validityState,message:this.validityMessage}}async setFocus(){var e;null===(e=this.nativeElement)||void 0===e||e.focus()}async setBlur(){var e;null===(e=this.nativeElement)||void 0===e||e.blur()}async check(){this.checked=!0}async uncheck(){this.checked=!1}async toggleChecked(){this.touched=!0,this.checked=!this.checked}async setIndeterminate(){this.indeterminate=!0}async clearIndeterminate(){this.indeterminate=!1}async checkValidity(){const{validityState:e}=this.getValidityStateData(this.nativeElement);return"valid"===e}async handleCheckedChange(){if(!this.touched)return;if(this.disabled)return;const{host:e,value:t,checked:r}=this;this.rChange.emit({element:e,value:t,checked:r}),this.nativeElement&&(this.nativeElement.checked=r),this.required&&!this.isNoValidate&&this.validateFormElement(this.nativeElement)}get parentFormEl(){return this.host.closest("form")||document.querySelector(`#${this.form}`)||null}get isNoValidate(){var e;return(null===(e=this.parentFormEl)||void 0===e?void 0:e.hasAttribute("novalidate"))||this.novalidate||!1}get hasErrorMessage(){var e;return"string"==typeof this.error&&(null===(e=this.error)||void 0===e?void 0:e.length)>0}get hasCustomErrorMessage(){var e;return"string"==typeof this.customErrorMessage&&(null===(e=this.customErrorMessage)||void 0===e?void 0:e.length)>0}get hasValidationError(){var e;return"valid"!==this.validityState&&(null===(e=this.validityMessage)||void 0===e?void 0:e.length)>0}get hasInvalidMessage(){return!!this.invalid&&(this.hasErrorMessage||this.hasCustomErrorMessage||this.hasValidationError)}connectFormEventListeners(){var e,t,r;null===(e=this.parentFormEl)||void 0===e||e.addEventListener("formdata",this.contributeToFormData),null===(t=this.parentFormEl)||void 0===t||t.addEventListener("submit",this.onSubmitForm,{capture:!0}),null===(r=this.parentFormEl)||void 0===r||r.addEventListener("reset",this.onResetForm)}disconnectFormEventListeners(){var e,t,r;null===(e=this.parentFormEl)||void 0===e||e.removeEventListener("formdata",this.contributeToFormData),null===(t=this.parentFormEl)||void 0===t||t.removeEventListener("submit",this.onSubmitForm),null===(r=this.parentFormEl)||void 0===r||r.removeEventListener("reset",this.onResetForm)}componentWillLoad(){this.initial.checked=this.checked,this.initial.invalid=this.invalid}componentDidLoad(){this.nativeElement&&(this.nativeElement.indeterminate=this.indeterminate),this.autofocus&&this.applyAutofocus()}connectedCallback(){this.connectFormEventListeners()}disconnectedCallback(){this.disconnectFormEventListeners()}render(){const{error:e,name:t,value:o,disabled:s,required:a,uniqueId:c,checked:h,indeterminate:n,autofocus:l}=this;return r(i,{key:"54a5b4a38fd2e9c2a94a95d9ad7d47cd91123d0f",onClick:this.handleClick},r("div",{key:"089747b6032bfc4e0de581eed060558dc73a1118",class:"r-checkbox"},r("input",Object.assign({key:"fa2b9640c25d4f0d1e1781f885a27f1b24c906b4",class:"r-checkbox--input",type:"checkbox"},{name:t,value:o,disabled:s,required:a,checked:h,indeterminate:n,autofocus:l},{id:`${c}-input`,ref:e=>this.nativeElement=e,"aria-describedby":this.hasInvalidMessage?`${c}-message`:null,"aria-required":`${this.required||!1}`,"aria-invalid":`${this.invalid||!1}`})),r("div",{key:"49e514969fa11eccba18658d275462c8c705f8e2",class:"r-checkbox--box","aria-hidden":"true"},this.checked?r("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M8.80019 15.8988L4.6002 11.6988L3.2002 13.0988L8.80019 18.6988L20.8002 6.69883L19.4002 5.29883L8.80019 15.8988Z",fill:"currentColor"})):this.indeterminate?r("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"4",y:"11",width:"16",height:"2",fill:"currentColor"})):null),r("div",{key:"96090e0dc6dcf564a73e061a7e75ad0a4ec0b1cb",class:"r-checkbox--description"},r("label",{key:"524a1cba2f9ef69863c48ca536921411be743ec5",class:"r-checkbox--label",id:`${c}-label`,htmlFor:`${c}-input`},r("slot",{key:"cda4f61e27a86b988746465d14567f49f09eabd0"})),r("div",{key:"be4d6ba741c2580fd1d5a6dc3e2f71716df55d71",id:`${c}-message`,class:this.hasInvalidMessage?"r-checkbox--message":"visually-hidden","aria-live":"polite","aria-atomic":"true"},this.hasInvalidMessage&&r("r-hint",{key:"05b0c0d5ee3c603d19faa11006e9e3501dc8be82",variant:"error"},e||this.customErrorMessage||this.validityMessage)))))}get host(){return o(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};a.style=":host{display:block;user-select:none;box-sizing:border-box;font-family:var(--r-font-family-text);font-size:var(--r-font-size-400);text-align:left;color:var(--r-text-regular);cursor:pointer}:host ::slotted(a),:host ::slotted(a:visited),:host ::slotted(a:hover),:host ::slotted(a:focus),:host ::slotted(a:active){color:var(--r-text-regular)}:host slot{display:contents}:host(:hover:not([disabled]:not([disabled=false]))){--r-checkbox--box--background-color:var(--r-background-interactive-hovered)}:host(:focus-within:not(:active)){box-shadow:0 0 0 3px var(--r-border-focused-outlined, #fff), inset 0 0 0 1px var(--r-border-focused-outlined, #fff);outline:2px solid var(--r-border-focused, #0071e3);outline-offset:2px;--r-checkbox--box--box-shadow:0 0 0 3px var(--r-border-focused-outlined, #fff), inset 0 0 0 1px var(--r-border-focused-outlined, #fff);--r-checkbox--box--outline:2px solid var(--r-border-focused, #0071e3);--r-checkbox--box--outline-offset:2px}:host(:active:not([disabled]:not([disabled=false]))){--r-checkbox--box--background-color:var(--r-background-interactive-pressed)}:host([invalid]:not([invalid=false])){--r-checkbox--box--border-color:var(--r-status-error-regular);--r-checkbox--box--background-color:var(--r-status-error-soft);--r-checkbox--marker--color:var(--r-status-error-regular)}:host([disabled]:not([disabled=false])){--r-checkbox--box--opacity:0.4;--r-checkbox--cursor:not-allowed;--r-checkbox--label-container--cursor:not-allowed;--r-checkbox--label--cursor:not-allowed;cursor:not-allowed}.r-checkbox{position:var(--r-checkbox--position, relative);display:var(--r-checkbox--display, flex);gap:var(--r-checkbox--gap, var(--r-spacing-100, 1rem));cursor:var(--r-checkbox--cursor, pointer);padding:var(--r-checkbox--padding, var(--r-spacing-100, 1rem));min-height:var(--r-checkbox--min-height, var(--r-spacing-150, 1.5rem))}.r-checkbox--input{position:var(--r-checkbox--input--position, absolute);top:var(--r-checkbox--input--top, var(--r-checkbox--padding));left:var(--r-checkbox--input--left, var(--r-checkbox--padding));opacity:var(--r-checkbox--input--opacity, 0);width:var(--r-checkbox--input--width, 1.5rem);height:var(--r-checkbox--input--height, 1.5rem);box-sizing:var(--r-checkbox--input--box-sizing, border-box);padding:var(--r-checkbox--input--padding, 0);margin:var(--r-checkbox--input--margin, 0)}.r-checkbox--box{position:var(--r-checkbox--box--position, relative);display:var(--r-checkbox--box--display, flex);align-items:var(--r-checkbox--box--align-items, center);justify-content:var(--r-checkbox--box--justify-content, center);left:var(--r-checkbox--box--left, 0);top:var(--r-checkbox--box--top, 0);height:var(--r-checkbox--box--height, 1.5rem);width:var(--r-checkbox--box--width, 1.5rem);min-width:var(--r-checkbox--box--min-width, 1.5rem);background-color:var(--r-checkbox--box--background-color, var(--r-background-interactive-softest, #fff));border-width:var(--r-checkbox--box--border-width, 0.0625rem);border-style:var(--r-checkbox--box--border-style, solid);border-color:var(--r-checkbox--box--border-color, var(--r-border-soft, #686868));outline:var(--r-checkbox--box--outline, none);outline-offset:var(--r-checkbox--box--outline-offset, 0);box-sizing:var(--r-checkbox--box--box-sizing, border-box);box-shadow:var(--r-checkbox--box--box-shadow, none);opacity:var(--r-checkbox--box--opacity, 1)}.r-checkbox--description{cursor:var(--r-checkbox--label-container--cursor, pointer);flex:var(--r-checkbox--label-container--flex, 1);line-height:var(--r-checkbox--label-container--line-height, 1.5);display:var(--r-checkbox--label-container--display, flex);flex-direction:var(--r-checkbox--label-container--flex-direction, column);gap:var(--r-checkbox--label-container--gap, var(--r-spacing-025, 0.25rem))}.r-checkbox--label{cursor:var(--r-checkbox--label--cursor, pointer)}.r-checkbox--message{margin-top:var(--r-checkbox--message--margin-top, var(--r-spacing-025, 0.25rem))}:host(.visually-hidden),.visually-hidden{position:absolute;width:0.0625rem;height:0.0625rem;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}";export{a as r_checkbox}
@@ -0,0 +1 @@
1
+ import{r,c as t,h as o,H as a,g as i}from"./p-Da7qOBFr.js";const e=class{constructor(o){r(this,o),this.rChange=t(this,"rChange"),this.rReset=t(this,"rReset"),this.radioButtonClick=t(this,"radioButtonClick"),this.radioButtonKeydown=t(this,"radioButtonKeydown"),this.radioButtonDeselect=t(this,"radioButtonDeselect"),this.value=this.slotTextValue,this.autofocus=!1,this.uniqueId=`r-radio-button-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.onClick=r=>{this.disabled||(r.stopPropagation(),r.preventDefault(),this.radioButtonClick.emit(r))},this.onKeydown=r=>{this.disabled||this.radioButtonKeydown.emit(r)},this.onFocus=()=>{this.host.classList.add("focused")},this.onBlur=()=>{this.host.classList.remove("focused")},this.applyAutofocus=()=>{queueMicrotask((()=>{this.setFocus()}))}}async setFocus(){var r;null===(r=this.nativeEl)||void 0===r||r.focus()}async setBlur(){var r;null===(r=this.nativeEl)||void 0===r||r.blur()}async select(){var r,t,o;if(this.checked)return;if(this.disabled)return;null===(r=this.radioElements)||void 0===r||r.forEach((r=>{r.checked=!1,r.shadowRoot.querySelector(".r-radio-button--input").setAttribute("tabindex","-1")})),this.checked=!0,null===(t=this.nativeEl)||void 0===t||t.setAttribute("tabindex","0"),null===(o=this.nativeEl)||void 0===o||o.focus();const{host:a,value:i,checked:e}=this;this.rChange.emit({element:a,value:i,checked:e})}get radioElements(){return this.groupEl?this.groupEl.querySelectorAll("r-radio-button"):this.parentFormEl?this.parentFormEl.querySelectorAll(`r-radio-button[name=${this.name}]`):document.querySelectorAll(`r-radio-button[name=${this.name}]`)}get slotTextValue(){return this.host.textContent||null}get groupEl(){return this.host.closest("r-radio-group")||null}get parentFormEl(){return this.host.closest("form")||null}get isLeading(){return void 0!==this.icon||null!==this.host.querySelector('[slot="leading"]')||null!==this.host.querySelector("r-radio-button-leading")}get isTrailing(){return null!==this.host.querySelector('[slot="trailing"]')||null!==this.host.querySelector("r-radio-button-trailing")}get shouldAutofocus(){return this.autofocus&&(!this.groupEl||!this.groupEl.autofocus)}componentWillLoad(){this.initialState||(this.initialState=this.checked),this.groupEl&&!this.name&&(this.name=this.groupEl.name)}componentDidLoad(){this.shouldAutofocus&&this.applyAutofocus()}render(){const{name:r,value:t,checked:i,disabled:e,hint:n,uniqueId:d,required:s,invalid:b,error:u,autofocus:l}=this;return o(a,{key:"718b29840798212b4a31a2250fe79620554a9fb5"},o("label",{key:"ab86d4ca9bb300628a5b7f4bf10ba2ce88656d6d",class:"r-radio-button",onClick:this.onClick,onKeyDown:this.onKeydown},o("input",Object.assign({key:"529324a5ae32238b56ab9443a9ba3dd67b9b76bd"},{type:"radio",tabindex:"-1",name:r,value:t,disabled:e,checked:i,required:s,autofocus:l},{id:`${d}-input`,class:"r-radio-button--input",ref:r=>this.nativeEl=r,onFocus:this.onFocus,onBlur:this.onBlur})),o("span",{key:"a90a3704b4fc2d431482cca0c4064241001e09d2",class:"r-radio-button--box"}),this.isLeading&&o("div",{key:"8a067dc10dc0f764c507be6610a8bf6f80565f8b",class:"r-radio-button--leading"},o("slot",{key:"db99a204cdf0932b203a65698f6167ede11309c4",name:"leading"},this.icon&&o("r-icon",{key:"8f6b1c585e0dcfcee9bb471e59f4d911ff72e7bc",name:this.icon,size:"m"}))),o("div",{key:"b2ec0c20df6bffa599c5331016f3c52ce5661a17",class:"r-radio-button--text"},o("slot",{key:"82ed5be7758c72ece18d4df27c0dbeb7e00ab1fc",name:"title"},o("div",{key:"9c839853016eb5e7a3940bea0f9c5c755933ae55",style:{display:"contents"}},o("slot",{key:"78875045c000e5dcd0375fe2143e3032bf3a5226"}))),o("slot",{key:"d75f2511dc33c734eb34c0d8953ed5be2f4cb7ea",name:"description"},this.description)),this.isTrailing&&o("div",{key:"fd204a1c99ac54d60fc4479de3ca650d8ecf6508",class:"r-radio-button--trailing"},o("slot",{key:"9a82590bc860567d1a60f9125622b1e63471ad94",name:"trailing"}))),b&&u&&o("r-hint",{key:"1fc760af1aff4ca5aaa595270c294b492fdb14e3",role:"alert",variant:"error",id:`${d}-hint`},this.error),n&&o("r-hint",{key:"079a060908d285505f7093820933c173194f2348",role:"note",variant:"information",id:`${d}-hint`},n))}get host(){return i(this)}};e.style=':host{display:inline-flex;outline:none;position:relative;pointer-events:auto;border:0.0625rem solid transparent;cursor:pointer;min-width:17.5rem}:host slot{display:contents}:host(:hover:not([disabled]:not([disabled=false])):not([checked]:not([checked=false]))){--r-radio-button--cursor:pointer;--r-radio-button--box--background-color:var(--r-background-interactive-hovered, rgba(40, 40, 40, 0.04))}:host(:active:not([disabled]:not([disabled=false])):not([checked]:not([checked=false]))){--r-radio-button--box--border-color:var(--r-border-regular, #282828);--r-radio-button--box--background-color:var(--r-background-interactive-pressed, rgba(40, 40, 40, 0.12))}:host(:focus-within),:host(.focused){--r-radio-button--box--box-shadow:0 0 0 4px var(--r-border-focused-outlined, #fff);--r-radio-button--box--outline:2px solid var(--r-border-focused, #0071e3);--r-radio-button--box--outline-offset:1px}:host([checked]:not([checked=false])),:host([checked]:not([checked=false]):hover){cursor:default;--r-radio-button--box--border-color:var(--r-border-regular, #282828);--r-radio-button--box--background-color:var(--r-background-interactive-softest, #fff);--r-radio-button--marker--transform:scale(1)}:host([invalid]:not([invalid=false])),:host([invalid]:not([invalid=false])[checked]:not([checked=false])){--r-radio-button--box--border-color:var(--r-status-error-regular, #b00c15);--r-radio-button--box--background-color:var(--r-status-error-soft, #fef6f6)}:host([disabled]:not([disabled=false])){--r-radio-button--box--opacity:0.4;cursor:not-allowed}.r-radio-button{display:var(--r-radio-button--display, flex);flex:var(--r-radio-button--flex, 1);gap:var(--r-radio-button--gap, var(--r-spacing-075, 0.75rem));position:var(--r-radio-button--position, relative);min-height:var(--r-radio-button--min-height, 24px);user-select:var(--r-radio-button--user-select, none);box-sizing:var(--r-radio-button--box-sizing, border-box);font-family:var(--r-radio-button--font-family, var(--r-font-family-text, system-ui));font-size:var(--r-radio-button--font-size, var(--r-font-size-400, 1rem));line-height:var(--r-radio-button--line-height, var(--r-line-height-m, 1.5rem));text-align:var(--r-radio-button--text-align, left);color:var(--r-radio-button--color, var(--r-text-regular, #282828));opacity:var(--r-radio-button--opacity, 1);box-shadow:var(--r-radio-button--box-shadow, none);outline:var(--r-radio-button--outline, none);cursor:var(--r-radio-button--cursor, inherit);padding:var(--r-radio-button--padding, var(--r-spacing-100, 1rem));margin:var(--r-radio-button--margin, 0);background-color:var(--r-radio-button--background-color, transparent);border-color:var(--r-radio-button--border-color, transparent);border-width:var(--r-radio-button--border-width, 0);border-style:var(--r-radio-button--border-style, solid)}.r-radio-button--input{position:var(--r-radio-button--input--position, absolute);z-index:var(--r-radio-button--input--z-index, -1);opacity:var(--r-radio-button--input--opacity, 0)}.r-radio-button--box{position:var(--r-radio-button--box--position, relative);display:var(--r-radio-button--box--display, block);top:var(--r-radio-button--box--top, 0);left:var(--r-radio-button--box--left, 0);width:var(--r-radio-button--box--width, 1.5rem);height:var(--r-radio-button--box--height, 1.5rem);background-color:var(--r-radio-button--box--background-color, var(--r-background-interactive-softest, #fff));border-width:var(--r-radio-button--box--border-width, 0.0625rem);border-style:var(--r-radio-button--box--border-style, solid);border-color:var(--r-radio-button--box--border-color, var(--r-border-soft, #686868));border-radius:var(--r-radio-button--box--border-radius, 50%);box-sizing:var(--r-radio-button--box--box-sizing, border-box);box-shadow:var(--r-radio-button--box--box-shadow, none);outline:var(--r-radio-button--box--outline, none);outline-offset:var(--r-radio-button--box--outline-offset, 0);cursor:var(--r-radio-button--box--cursor, inherit);opacity:var(--r-radio-button--box--opacity, 1)}.r-radio-button--box::before{content:var(--r-radio-button--marker--content, "");display:var(--r-radio-button--marker--display, block);width:var(--r-radio-button--marker--width, 0.75rem);height:var(--r-radio-button--marker--height, 0.75rem);position:var(--r-radio-button--marker--position, absolute);top:var(--r-radio-button--marker--top, calc(50% - 0.375rem));left:var(--r-radio-button--marker--left, calc(50% - 0.375rem));border-radius:var(--r-radio-button--marker--border-radius, 50%);background-color:var(--r-radio-button--marker--background-color, var(--r-background-interactive-regular, #282828));transition:var(--r-radio-button--marker--transition, 0.1s all);transform:var(--r-radio-button--marker--transform, scale(0));transform-origin:var(--r-radio-button--marker--transform-origin, center)}.r-radio-button--text{flex:var(--r-radio-button--text--flex, 1);display:var(--r-radio-button--text--display, flex);flex-direction:var(--r-radio-button--text--flex-direction, column);gap:var(--r-radio-button--text--gap, var(--r-spacing-025, 0.25rem));font-weight:var(--r-radio-button--text--font-weight, var(--r-font-weight-semibold, 600))}.r-radio-button--leading{min-height:var(--r-radio-button--leading--min-height, var(--r-spacing-150, 1.5rem));min-width:var(--r-radio-button--leading--min-width, calc(var(--r-spacing-150, 1.5rem) + 2 * var(--r-spacing-075, 0.75rem)));color:var(--r-radio-button--leading--color, var(--r-icon-soft, #686868));display:var(--r-radio-button--leading--display, flex);justify-content:var(--r-radio-button--leading--justify-content, center);align-items:var(--r-radio-button--leading--align-items, start)}';export{e as r_radio_button}
@@ -1 +1 @@
1
- import{r as e,c as o,h as t,H as r,g as i}from"./p-Da7qOBFr.js";const n=class{constructor(t){e(this,t),this.optionClick=o(this,"optionClick"),this.disabled=!1,this.selected=!1,this.iconSize="m",this.iconColor="var(--r-select-option--color)",this.iconPosition="start",this.uniqueId=`r-select-option-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.isFocused=!1,this.isSelected=!1,this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;const{host:o,value:t}=this;this.optionClick.emit({element:o,value:t})},this.handleKeydown=e=>{e.preventDefault()}}async setFocus(){this.isFocused=!0}async setBlur(){this.isFocused=!1}async setSelected(){this.isSelected=!0}async clearSelected(){this.isSelected=!1}get hasIconSlot(){return!!this.host.querySelector('[slot="icon"]')}get definedValue(){var e,o;const t=null===(e=this.host.textContent)||void 0===e?void 0:e.trim();return(null===(o=this.host.getAttribute("label"))||void 0===o?void 0:o.trim())||t||""}componentWillLoad(){var e;(null===(e=this.value)||void 0===e?void 0:e.length)>0||this.host.setAttribute("value",this.definedValue),this.isSelected=this.selected}render(){const{disabled:e,uniqueId:o,icon:i,iconSize:n,iconColor:s,hasIconSlot:a}=this;return t(r,{key:"1f3440961f3c606f5b2b1eef77ae3c53fc1ea4a0",id:o,role:"option",onClick:this.handleClick,onKeydown:this.handleKeydown,"aria-disabled":`${e}`,"aria-selected":`${this.isSelected}`,"data-value":this.definedValue,"data-focused":`${this.isFocused}`},t("div",{key:"9a29dd16478d39c905f8cb54ca603e6982c3a24e",class:"r-select-option"},i&&t("span",{key:"fdcecb70781424749e0527f06eff5140a8a79ccc",class:"r-select-option--icon"},t("r-icon",Object.assign({key:"5a1906d39a27bc70729d26e93fd8f0d77e80e972"},{name:i,size:n,color:s}))),!i&&a&&t("span",{key:"572b0e90b5695e0233505f28fb7c9b3dbc90a73f",class:"r-select-option--icon"},t("slot",{key:"bc04c317491e690281b0f4442aaff3f86a5ddb12",name:"icon"})),t("span",{key:"77bf634b415a36d8463212918cf200fda8647f85",class:"r-select-option--label"},t("slot",{key:"83dd97fa580d18f4a9e27beca4835adf6c746240"}))))}get host(){return i(this)}};n.style=":host(:hover){--r-select-option--background-color:var(--r-background-interactive-hovered)}:host(:not([aria-disabled=true]):focus){outline:var(--outline, none);--r-select-option--background-color:var(--r-background-interactive-hovered);--r-select-option--border-color:var(--r-background-interactive-softest);--r-select-option--box-shadow:inset 0px 0px 0px 1px var(--r-border-focused-outlined, #fff), inset 0 0 0 3px var(--r-border-focused, #0071e3), inset 0 0 0 4px var(--r-border-focused-outlined, #fff);--r-select-option--outline:2px solid var(--r-border-focused, #0071e3);--r-select-option--outline-offset:-4px;--r-select-option--z-index:1}:host([data-focused=true]){outline:var(--outline, none);--r-select-option--background-color:var(--r-background-interactive-hovered);--r-select-option--border-color:var(--r-background-interactive-softest);--r-select-option--box-shadow:inset 0px 0px 0px 1px var(--r-border-focused-outlined, #fff), inset 0 0 0 3px var(--r-border-focused, #0071e3), inset 0 0 0 4px var(--r-border-focused-outlined, #fff);--r-select-option--outline:2px solid var(--r-border-focused, #0071e3);--r-select-option--outline-offset:-4px}:host(:not([aria-disabled=true]):active){--r-select-option--background-color:var(--r-background-interactive-pressed)}:host([aria-disabled=true]),:host([aria-disabled=true]:hover),:host([aria-disabled=true]:focus){--r-select-option--opacity:0.4;--r-select-option--background-color:transparent}:host([aria-selected=true]){--r-select-option--font-weight:600;--r-select-option--background-color:var(--r-background-interactive-hovered)}:host([aria-hidden=true]){--r-select-option--display:none}:host([icon-position=end]){--r-select-option--flex-direction:row-reverse;--r-select-option--icon--margin-left:0.75em;--r-select-option--icon--margin-right:0}.r-select-option{box-sizing:var(--r-select-option--box-sizing);position:var(--r-select-option--position);display:var(--r-select-option--display, flex);flex-direction:var(--r-select-option--flex-direction, row);min-height:var(--r-select-option--min-height, 1.125em);width:var(--r-select-option--width, auto);font-size:var(--r-select-option--font-size, 1rem);line-height:var(--r-select-option--line-height, 1.2);font-weight:var(--r-select-option--font-weight, normal);padding-top:var(--r-select-option--padding-top, 0.75em);padding-right:var(--r-select-option--padding-right, 0.75em);padding-bottom:var(--r-select-option--padding-bottom, 0.75em);padding-left:var(--r-select-option--padding-left, 0.75em);align-items:var(--r-select-option--align-items, center);color:var(--r-select-option--color, inherit);background-color:var(--r-select-option--background-color, rgba(0, 0, 0, 0));border-color:var(--r-select-option--border-color, rgba(0, 0, 0, 0));border-radius:var(--r-select-option--border-radius, 0);border-width:var(--r-select-option--border-width, 1px);border-style:var(--r-select-option--border-style, solid);box-shadow:var(--r-select-option--box-shadow, none);outline:var(--r-select-option--outline, none);outline-offset:var(--r-select-option--outline-offset, 0);transform:var(--r-select-option--transform, none);z-index:var(--r-select-option--z-index, 0);opacity:var(--r-select-option--opacity, 1)}.r-select-option--icon{display:var(--r-select-option--icon--display, inline-flex);align-items:var(--r-select-option--icon--align-items, center);justify-content:var(--r-select-option--icon--justify-content, center);margin-top:var(--r-select-option--icon--margin-top, 0.05em);margin-left:var(--r-select-option--icon--margin-left, 0);margin-right:var(--r-select-option--icon--margin-right, 0.75em)}.r-select-option--icon svg{display:var(--r-select-option--icon--svg--display, inline-flex)}.r-select-option--label{max-width:var(--r-select-option--label--max-width, 100%);text-overflow:var(--r-select-option--label--text-overflow, ellipsis);white-space:var(--r-select-option--label--white-space, normal)}";export{n as r_select_option}
1
+ import{r as e,c as o,h as t,H as r,g as i}from"./p-Da7qOBFr.js";const n=class{constructor(t){e(this,t),this.optionClick=o(this,"optionClick"),this.disabled=!1,this.selected=!1,this.iconSize="m",this.iconColor="var(--r-select-option--color)",this.iconPosition="start",this.uniqueId=`r-select-option-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.isFocused=!1,this.isSelected=!1,this.handleClick=e=>{if(e.preventDefault(),this.disabled)return;const{host:o,value:t}=this;this.optionClick.emit({element:o,value:t})},this.handleKeydown=e=>{e.preventDefault()}}async setFocus(){this.isFocused=!0}async setBlur(){this.isFocused=!1}async setSelected(){this.isSelected=!0}async clearSelected(){this.isSelected=!1}get hasIconSlot(){return!!this.host.querySelector('[slot="icon"]')}get definedValue(){var e,o;const t=null===(e=this.host.textContent)||void 0===e?void 0:e.trim();return(null===(o=this.host.getAttribute("label"))||void 0===o?void 0:o.trim())||t||""}componentWillLoad(){var e;(null===(e=this.value)||void 0===e?void 0:e.length)>0||this.host.setAttribute("value",this.definedValue),this.isSelected=this.selected}render(){const{disabled:e,uniqueId:o,icon:i,iconSize:n,iconColor:s,hasIconSlot:a}=this;return t(r,{key:"d059d75cec11ef39ddea8c4ddc9ce8bc9d1a57e7",id:o,role:"option",onClick:this.handleClick,onKeydown:this.handleKeydown,"aria-disabled":`${e}`,"aria-selected":`${this.isSelected}`,"data-value":this.definedValue,"data-focused":`${this.isFocused}`},t("div",{key:"70fa5c2fc9194d197b4124b6afad296d2849032c",class:"r-select-option"},i&&t("span",{key:"07bdfeb2d8330c989e6b59c34ee85cac029135cb",class:"r-select-option--icon"},t("r-icon",Object.assign({key:"358748199ca580e8a9d397ed4f5642a722703441"},{name:i,size:n,color:s}))),!i&&a&&t("span",{key:"60a4e6059188b27d0fbe6e9b0134882cea803d90",class:"r-select-option--icon"},t("slot",{key:"08b11beec2c086b21ab92ad6cab080bae1cd0eac",name:"icon"})),t("span",{key:"4397696c7b8ec172098d9bd82e0c89c55781bb91",class:"r-select-option--label"},t("slot",{key:"b9dddec8b9c455f130ed38577c9321cb6aced0dd"}))))}get host(){return i(this)}};n.style=":host(:hover){--r-select-option--background-color:var(--r-background-interactive-hovered)}:host(:not([aria-disabled=true]):focus){outline:var(--outline, none);--r-select-option--background-color:var(--r-background-interactive-hovered);--r-select-option--border-color:var(--r-background-interactive-softest);--r-select-option--box-shadow:inset 0px 0px 0px 1px var(--r-border-focused-outlined, #fff), inset 0 0 0 3px var(--r-border-focused, #0071e3), inset 0 0 0 4px var(--r-border-focused-outlined, #fff);--r-select-option--outline:2px solid var(--r-border-focused, #0071e3);--r-select-option--outline-offset:-4px;--r-select-option--z-index:1}:host([data-focused=true]){outline:var(--outline, none);--r-select-option--background-color:var(--r-background-interactive-hovered);--r-select-option--border-color:var(--r-background-interactive-softest);--r-select-option--box-shadow:inset 0px 0px 0px 1px var(--r-border-focused-outlined, #fff), inset 0 0 0 3px var(--r-border-focused, #0071e3), inset 0 0 0 4px var(--r-border-focused-outlined, #fff);--r-select-option--outline:2px solid var(--r-border-focused, #0071e3);--r-select-option--outline-offset:-4px}:host(:not([aria-disabled=true]):active){--r-select-option--background-color:var(--r-background-interactive-pressed)}:host([aria-disabled=true]),:host([aria-disabled=true]:hover),:host([aria-disabled=true]:focus){--r-select-option--opacity:0.4;--r-select-option--background-color:transparent}:host([aria-selected=true]){--r-select-option--font-weight:600;--r-select-option--background-color:var(--r-background-interactive-hovered)}:host([aria-hidden=true]){--r-select-option--display:none}:host([icon-position=end]){--r-select-option--flex-direction:row-reverse;--r-select-option--icon--margin-left:0.75em;--r-select-option--icon--margin-right:0}.r-select-option{box-sizing:var(--r-select-option--box-sizing);position:var(--r-select-option--position);display:var(--r-select-option--display, flex);flex-direction:var(--r-select-option--flex-direction, row);min-height:var(--r-select-option--min-height, 1.125em);width:var(--r-select-option--width, auto);font-size:var(--r-select-option--font-size, 1rem);line-height:var(--r-select-option--line-height, 1.2);font-weight:var(--r-select-option--font-weight, normal);padding-top:var(--r-select-option--padding-top, 0.75em);padding-right:var(--r-select-option--padding-right, 0.75em);padding-bottom:var(--r-select-option--padding-bottom, 0.75em);padding-left:var(--r-select-option--padding-left, 0.75em);align-items:var(--r-select-option--align-items, center);color:var(--r-select-option--color, inherit);background-color:var(--r-select-option--background-color, rgba(0, 0, 0, 0));border-color:var(--r-select-option--border-color, rgba(0, 0, 0, 0));border-radius:var(--r-select-option--border-radius, 0);border-width:var(--r-select-option--border-width, 1px);border-style:var(--r-select-option--border-style, solid);box-shadow:var(--r-select-option--box-shadow, none);outline:var(--r-select-option--outline, none);outline-offset:var(--r-select-option--outline-offset, 0);transform:var(--r-select-option--transform, none);z-index:var(--r-select-option--z-index, 0);opacity:var(--r-select-option--opacity, 1)}.r-select-option--icon{display:var(--r-select-option--icon--display, inline-flex);align-items:var(--r-select-option--icon--align-items, center);justify-content:var(--r-select-option--icon--justify-content, center);margin-top:var(--r-select-option--icon--margin-top, 0.05em);margin-left:var(--r-select-option--icon--margin-left, 0);margin-right:var(--r-select-option--icon--margin-right, 0.75em)}.r-select-option--icon svg{display:var(--r-select-option--icon--svg--display, inline-flex)}.r-select-option--label{max-width:var(--r-select-option--label--max-width, 100%);text-overflow:var(--r-select-option--label--text-overflow, ellipsis);white-space:var(--r-select-option--label--white-space, normal)}";export{n as r_select_option}
@@ -0,0 +1 @@
1
+ import{r,h as a,H as o,g as c}from"./p-Da7qOBFr.js";const n=class{constructor(a){r(this,a),this.size="l"}render(){return a(o,{key:"09de7ec91fc9aab3dfb6705f23aa5035c6aab622"},a("div",{key:"9152451f26122074076a6b7654a76312027309eb",class:"r-accordion"},a("slot",{key:"6c89250f9146fe4d18f550f8d0853188187daf0c"})))}get host(){return c(this)}};n.style=":host{--r-accordion--display:block}:host slot{display:contents}:host ::slotted(r-accordion-section[expanded]){--r-accordion-panel--padding-top:var(--r-spacing-150, 1.5rem);--r-accordion-panel--padding-bottom:var(--r-spacing-200, 2rem)}:host([size=s]){--r-accordion-trigger--content--font-size:var(--r-font-size-400, 1rem);--r-accordion-trigger--padding-top:var(--r-spacing-100, 1rem);--r-accordion-trigger--padding-bottom:var(--r-spacing-100, 1rem)}:host([size=s]) ::slotted(r-accordion-section[expanded]){--r-accordion-panel--padding-top:var(--r-spacing-100, 1rem);--r-accordion-panel--padding-bottom:var(--r-spacing-150, 1.5rem)}.r-accordion{display:var(--r-accordion--display)}";export{n as r_accordion}
@@ -1 +1 @@
1
- import{r as a,c as e,h as r,H as t,g as n}from"./p-Da7qOBFr.js";const l=class{constructor(r){a(this,r),this.panelStateChanged=e(this,"panelStateChanged"),this.hasHeader=!1,this.active=!1,this.hasFooter=!1,this.variant="visible",this.collapsed=!1,this.labelCollapse="collapse-panel",this.labelExpand="expand-panel",this.isCollapsed=this.collapsed,this.updateCurrentLocationBound=this.updateCurrentLocation.bind(this),this.handleSemiCollapsedButtonClick=()=>{this.togglePanel();document.querySelectorAll("r-list-item[expanded]").forEach(this.isCollapsed?a=>{a.removeAttribute("expanded")}:a=>{a.setAttribute("expanded","")})},this.handleFullyCollapsedButtonClick=()=>{this.collapsePanel()}}toggleSubItems(a){const e=a.target;"R-LIST-ITEM"===e.tagName&&this.isCollapsed&&this.variant&&e.hasAttribute("has-sub-items")&&this.expandPanel()}async togglePanel(){this.isCollapsed=!this.isCollapsed}async expandPanel(){this.isCollapsed=!1}async collapsePanel(){this.isCollapsed=!0}handleCollapseChange(a){this.isCollapsed=a,"drawer"!==this.variant&&"modal"!==this.variant||(localStorage.setItem("panelState",JSON.stringify(a)),this.panelStateChanged.emit({collapsed:a}))}watchVariant(a){this.isCollapsed="modal"===a}handleDocumentClick(a){this.handleClickOutside(a)}getNavLinks(){return document.querySelectorAll("r-list-item[href]")}get isVariantCollapsible(){return"modal"===this.variant}handleClickOutside(a){"R-BUTTON"===a.target.tagName||this.host.contains(a.target)||!this.isVariantCollapsible||this.isCollapsed||this.collapsePanel()}componentWillLoad(){if(this.isCollapsed=this.isVariantCollapsible,"drawer"===this.variant){const a=localStorage.getItem("panelState");this.isCollapsed=a?JSON.parse(a):this.isCollapsed}}componentWillRender(){window.addEventListener("popstate",this.updateCurrentLocationBound),window.addEventListener("hashchange",this.updateCurrentLocationBound),this.highlightCurrentLink()}componentDidRender(){this.highlightCurrentLink()}disconnectedCallback(){window.removeEventListener("popstate",this.updateCurrentLocationBound),window.removeEventListener("hashchange",this.updateCurrentLocationBound)}updateCurrentLocation(){this.currentLocation=window.location.hash?window.location.hash.slice(1):window.location.href,this.highlightCurrentLink()}highlightCurrentLink(){this.getNavLinks().forEach((a=>{if(a instanceof HTMLElement){const e=a.getAttribute("href"),r=e===this.currentLocation||e===window.location.pathname+window.location.hash;this.updateLinkState(a,r)}}));const a=document.querySelector(".active");a&&a.scrollIntoView({behavior:"smooth",block:"end"})}updateLinkState(a,e){e?(a.setAttribute("active",""),a.classList.add("active"),this.expandParentMenus(a),this.highlightParent(a)):(a.removeAttribute("active"),a.classList.remove("active"))}highlightParent(a){const e=a.parentElement;e&&"R-LIST-ITEM"===e.tagName&&e.setAttribute("active-parent","")}expandParentMenus(a){var e;let r=a.closest("r-list-item[has-sub-items]");for(;r&&!this.isCollapsed;)r.setAttribute("expanded",""),r=null===(e=r.parentElement)||void 0===e?void 0:e.closest("r-panel")}render(){return r(t,{key:"f57ca21d8a782d736984c091af8ad7bede50f81b",collapsed:this.isCollapsed},r("div",{key:"138a6e18232630123667ad328c393c93e4908cf6",class:"r-panel"},r("div",{key:"377662f16e8fca37a557adaf4fd8329e47828303",class:"r-panel--header"},this.hasHeader&&r("a",{key:"f183b59e3dff6ca76905b2b52902d2e6ec6f2709",class:"logo-wrapper",href:this.logoLink},r("slot",this.isCollapsed?{name:"logo-collapsed"}:{name:"logo-expanded"})),"modal"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:`${this.labelCollapse}`,icon:"cross","r-aria-label":`${this.labelCollapse}`,onClick:this.handleFullyCollapsedButtonClick}):"drawer"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,icon:"angle-left","r-aria-label":this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,onClick:this.handleSemiCollapsedButtonClick}):null),r("div",{key:"0f239dc288b9c73f348341e99a06cce9e4499a0e",class:"r-panel--body"},r("slot",{key:"6fd883065b4db924b1c245e7ea5bcf71229f0840"})),this.hasFooter&&!this.isCollapsed&&r("div",{key:"ce6a1f84358a505940d3ef04c5c218caa972b090",class:"r-panel--footer"},r("slot",{key:"e4422d8955e7e64babab3b3f04cfa06f32dad74a",name:"footer"}))))}get host(){return n(this)}static get watchers(){return{isCollapsed:["handleCollapseChange"],variant:["watchVariant"]}}};l.style=":host{--r-panel--min-width:300px;--r-panel--background-color:var(--r-background-soft, #F3F1F0);--r-panel--display:flex;--r-panel--flex-direction:column;--r-panel--position:fixed;--r-panel--align-items:flex-start;--r-panel--top:0;--r-panel--padding:var(--spacing-050, 8px) 0;--r-panel--width:300px;--r-panel--height:100%;--r-panel--color:var(--r-text-regular, #282828);--r-panel--transition:all 250ms ease-in-out;--r-panel--transform:none;--r-panel--font-family:var(--r-font-family-text);--r-panel--left:0;--r-panel--header--display:flex;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-100, 16px) var(--spacing-075, 12px) var(--spacing-100, 16px);--r-panel--header--justify-content:space-between;--r-panel--header--align-items:center;--r-panel--header--align-self:stretch;--r-panel--header--icon-rotate:none;--r-panel--header--flex-direction:row;--r-panel--header--gap:50px;--r-panel--header--logo--img--width:100%;--r-panel--header--logo--img--height:auto;--r-panel--header--logo--img--expanded--width:192px;--r-panel--header--logo--img--collapsed--width:30px;--r-panel--header--height:unset;--r-panel--body--display:block;--r-panel--body--flex-grow:1;--r-panel--body--align-self:stretch;--r-panel--body--overflow:auto;--r-panel--body--padding:var(--r-spacing-025, 4px) var(--spacing-050, 8px) 0;--r-panel--body-header--color:var(--r-text-soft, #686868);--r-panel--body-header--padding:var(--spacing-100, 16px) 0 var(--spacing-100, 16px);--r-panel--body-header--width:268px;--r-panel--footer--dispay:flex;--r-panel--footer--padding:var(--spacing-100, 16px) var(--spacing-100, 16px) var(--spacing-150, 24px) var(--spacing-100, 16px);--r-panel--footer--flex-direction:column;--r-panel--footer--justify-content:center;--r-panel--footer-gap:var(--spacing-100, 16px);--r-panel--footer--align-self:stretch;--r-panel--footer--text-align:center}:host([variant=drawer]) r-button{--r-button--padding:10px;--r-button--background:var(--r-background-interactive-softer, #E7E4E2);--r-button--border-radius:10%;--r-button--slot--position:relative;--r-button--left:5%}:host([variant=drawer][collapsed]){--r-panel--width:72px;--r-panel--header--display:none;--r-panel--header--icon-rotate:rotate(180deg);--r-panel--header--logo--expaned--display:none;--r-panel--header--logo--collapsed--display:block;--r-panel--header--flex-direction:column;--r-panel--header--gap:12px;--r-list-item--epxanded--background-color:rgba(40, 40, 40, 0.08)}:host([variant=drawer][collapsed]) r-button{--r-button--slot--position:inherit;transition:transform 250ms ease-in-out}:host([variant=modal][collapsed]){--r-panel--transform:translate(-100%)}:host([collapsed]:not([variant=modal])){--r-panel--min-width:0;--r-list-item--text--display:none;--r-list-item--trailing--display:none}:host([variant=drawer]:not([has-header]):not([collapsed])),:host([variant=drawer][has-header=false]:not([collapsed])){--r-panel--header--height:24px;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-050, 8px) 0 var(--spacing-100, 16px)}:host([variant=drawer]:not([has-header]):not([collapsed])) r-button,:host([variant=drawer][has-header=false]:not([collapsed])) r-button{--r-button--top:20%;--r-button--left:97%}:host([collapsed]){--r-list-item--active-parent--background-color:rgba(40, 40, 40, 0.08)}.r-panel{z-index:2;min-width:var(--r-panel--min-width);background-color:var(--r-panel--background-color);display:var(--r-panel--display);flex-direction:var(--r-panel--flex-direction);align-items:var(--r-panel--align-items);width:var(--r-panel--width);height:var(--r-panel--height);position:var(--r-panel--position);top:var(--r-panel--top);padding:var(--r-panel--padding);color:var(--r-panel--color);transition:var(--r-panel--transition);transform:var(--r-panel--transform);left:var(--r-panel--left);font-family:var(--r-panel--font-family);box-sizing:border-box}.r-panel .logo-wrapper .logo-expanded{width:var(--r-panel--header--logo--img--expanded--width)}.r-panel .logo-wrapper .logo-collapsed{width:var(--r-panel--header--logo--img--collapsed--width)}.r-panel .logo-wrapper img{width:var(--r-panel--header--logo--img--width);height:var(--r-panel--header--logo--img--height)}.r-panel .logo-wrapper:focus,.r-panel .logo-wrapper:focus-visible{box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);outline:2px solid var(--r-border-focused, #0071e3);outline-offset:2px}.r-panel--header{display:flex;padding:var(--r-panel--header--padding);justify-content:var(--r-panel--header--justify-content);align-items:var(--r-panel--header--align-items);align-self:var(--r-panel--header--align-self);flex-direction:var(--r-panel--header--flex-direction);gap:var(--r-panel--header--gap);height:var(--r-panel--header--height)}.r-panel--header r-button{--r-button--padding:0;transform:var(--r-panel--header--icon-rotate);background:var(--r-button--background);position:var(--r-button--slot--position);left:var(--r-button--left);top:var(--r-button--top);border-radius:var(--r-button--border-radius)}.r-panel--body{flex-grow:var(--r-panel--body--flex-grow);align-self:var(--r-panel--body--align-self);display:var(--r-panel--body--display);overflow:var(--r-panel--body--overflow);padding:var(--r-panel--body--padding)}.r-panel--body ::slotted(.header){color:var(--r-panel--body-header--color);padding:var(--r-panel--body-header--padding);display:var(--r-panel--header--display);width:var(--r-panel--body-header--width)}.r-panel ::slotted([slot=footer]){display:var(--r-panel--footer--dispay);padding:var(--r-panel--footer--padding);flex-direction:var(--r-panel--footer--flex-direction);justify-content:var(--r-panel--footer--justify-content);gap:var(--r-panel--footer-gap);align-self:var(--r-panel--footer--align-self);text-align:var(--r-panel--footer--text-align)}";export{l as r_panel}
1
+ import{r as a,c as e,h as r,H as t,g as n}from"./p-Da7qOBFr.js";const l=class{constructor(r){a(this,r),this.panelStateChanged=e(this,"panelStateChanged"),this.hasHeader=!1,this.active=!1,this.hasFooter=!1,this.variant="visible",this.collapsed=!1,this.labelCollapse="collapse-panel",this.labelExpand="expand-panel",this.isCollapsed=this.collapsed,this.updateCurrentLocationBound=this.updateCurrentLocation.bind(this),this.handleSemiCollapsedButtonClick=()=>{this.togglePanel();document.querySelectorAll("r-list-item[expanded]").forEach(this.isCollapsed?a=>{a.removeAttribute("expanded")}:a=>{a.setAttribute("expanded","")})},this.handleFullyCollapsedButtonClick=()=>{this.collapsePanel()}}toggleSubItems(a){const e=a.target;"R-LIST-ITEM"===e.tagName&&this.isCollapsed&&this.variant&&e.hasAttribute("has-sub-items")&&this.expandPanel()}async togglePanel(){this.isCollapsed=!this.isCollapsed}async expandPanel(){this.isCollapsed=!1}async collapsePanel(){this.isCollapsed=!0}handleCollapseChange(a){this.isCollapsed=a,"drawer"!==this.variant&&"modal"!==this.variant||(localStorage.setItem("panelState",JSON.stringify(a)),this.panelStateChanged.emit({collapsed:a}))}watchVariant(a){this.isCollapsed="modal"===a}handleDocumentClick(a){this.handleClickOutside(a)}getNavLinks(){return document.querySelectorAll("r-list-item[href]")}get isVariantCollapsible(){return"modal"===this.variant}handleClickOutside(a){"R-BUTTON"===a.target.tagName||this.host.contains(a.target)||!this.isVariantCollapsible||this.isCollapsed||this.collapsePanel()}componentWillLoad(){if(this.isCollapsed=this.isVariantCollapsible,"drawer"===this.variant){const a=localStorage.getItem("panelState");this.isCollapsed=a?JSON.parse(a):this.isCollapsed}}componentWillRender(){window.addEventListener("popstate",this.updateCurrentLocationBound),window.addEventListener("hashchange",this.updateCurrentLocationBound),this.highlightCurrentLink()}componentDidRender(){this.highlightCurrentLink()}disconnectedCallback(){window.removeEventListener("popstate",this.updateCurrentLocationBound),window.removeEventListener("hashchange",this.updateCurrentLocationBound)}updateCurrentLocation(){this.currentLocation=window.location.hash?window.location.hash.slice(1):window.location.href,this.highlightCurrentLink()}highlightCurrentLink(){this.getNavLinks().forEach((a=>{if(a instanceof HTMLElement){const e=a.getAttribute("href"),r=e===this.currentLocation||e===window.location.pathname+window.location.hash;this.updateLinkState(a,r)}}));const a=document.querySelector(".active");a&&a.scrollIntoView({behavior:"smooth",block:"end"})}updateLinkState(a,e){e?(a.setAttribute("active",""),a.classList.add("active"),this.expandParentMenus(a),this.highlightParent(a)):(a.removeAttribute("active"),a.classList.remove("active"))}highlightParent(a){const e=a.parentElement;e&&"R-LIST-ITEM"===e.tagName&&e.setAttribute("active-parent","")}expandParentMenus(a){var e;let r=a.closest("r-list-item[has-sub-items]");for(;r&&!this.isCollapsed;)r.setAttribute("expanded",""),r=null===(e=r.parentElement)||void 0===e?void 0:e.closest("r-panel")}render(){return r(t,{key:"4898806bfe378b36f5fc784a6a4ea4477f164d86",collapsed:this.isCollapsed},r("div",{key:"f0acaedbc5e440b20a49791d5a3544955bdcd1f7",class:"r-panel"},r("div",{key:"390898c282414aecd4cfd75e4da80fb6b04e8ffa",class:"r-panel--header"},this.hasHeader&&r("a",{key:"9358558193e8c7ec82d8bf40240b9fb8d00d902d",class:"logo-wrapper",href:this.logoLink},r("slot",this.isCollapsed?{name:"logo-collapsed"}:{name:"logo-expanded"})),"modal"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:`${this.labelCollapse}`,icon:"cross","r-aria-label":`${this.labelCollapse}`,onClick:this.handleFullyCollapsedButtonClick}):"drawer"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,icon:"angle-left","r-aria-label":this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,onClick:this.handleSemiCollapsedButtonClick}):null),r("div",{key:"070e63b95136c2cab2bf7a1a84390568c1341c47",class:"r-panel--body"},r("slot",{key:"e595b40da67e61bb23638d5ea1a615005d705a41"})),this.hasFooter&&!this.isCollapsed&&r("div",{key:"7adb855c7aa805299abba58795aacb27ce4e6ba5",class:"r-panel--footer"},r("slot",{key:"6e438b003d443bf62b2faad2bf180a4466190e77",name:"footer"}))))}get host(){return n(this)}static get watchers(){return{isCollapsed:["handleCollapseChange"],variant:["watchVariant"]}}};l.style=":host{--r-panel--min-width:300px;--r-panel--background-color:var(--r-background-soft, #F3F1F0);--r-panel--display:flex;--r-panel--flex-direction:column;--r-panel--position:fixed;--r-panel--align-items:flex-start;--r-panel--top:0;--r-panel--padding:var(--spacing-050, 8px) 0;--r-panel--width:300px;--r-panel--height:100%;--r-panel--color:var(--r-text-regular, #282828);--r-panel--transition:all 250ms ease-in-out;--r-panel--transform:none;--r-panel--font-family:var(--r-font-family-text);--r-panel--left:0;--r-panel--header--display:flex;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-100, 16px) var(--spacing-075, 12px) var(--spacing-100, 16px);--r-panel--header--justify-content:space-between;--r-panel--header--align-items:center;--r-panel--header--align-self:stretch;--r-panel--header--icon-rotate:none;--r-panel--header--flex-direction:row;--r-panel--header--gap:50px;--r-panel--header--logo--img--width:100%;--r-panel--header--logo--img--height:auto;--r-panel--header--logo--img--expanded--width:192px;--r-panel--header--logo--img--collapsed--width:30px;--r-panel--header--height:unset;--r-panel--body--display:block;--r-panel--body--flex-grow:1;--r-panel--body--align-self:stretch;--r-panel--body--overflow:auto;--r-panel--body--padding:var(--r-spacing-025, 4px) var(--spacing-050, 8px) 0;--r-panel--body-header--color:var(--r-text-soft, #686868);--r-panel--body-header--padding:var(--spacing-100, 16px) 0 var(--spacing-100, 16px);--r-panel--body-header--width:268px;--r-panel--footer--dispay:flex;--r-panel--footer--padding:var(--spacing-100, 16px) var(--spacing-100, 16px) var(--spacing-150, 24px) var(--spacing-100, 16px);--r-panel--footer--flex-direction:column;--r-panel--footer--justify-content:center;--r-panel--footer-gap:var(--spacing-100, 16px);--r-panel--footer--align-self:stretch;--r-panel--footer--text-align:center}:host([variant=drawer]) r-button{--r-button--padding:10px;--r-button--background:var(--r-background-interactive-softer, #E7E4E2);--r-button--border-radius:10%;--r-button--slot--position:relative;--r-button--left:5%}:host([variant=drawer][collapsed]){--r-panel--width:72px;--r-panel--header--display:none;--r-panel--header--icon-rotate:rotate(180deg);--r-panel--header--logo--expaned--display:none;--r-panel--header--logo--collapsed--display:block;--r-panel--header--flex-direction:column;--r-panel--header--gap:12px;--r-list-item--epxanded--background-color:rgba(40, 40, 40, 0.08)}:host([variant=drawer][collapsed]) r-button{--r-button--slot--position:inherit;transition:transform 250ms ease-in-out}:host([variant=modal][collapsed]){--r-panel--transform:translate(-100%)}:host([collapsed]:not([variant=modal])){--r-panel--min-width:0;--r-list-item--text--display:none;--r-list-item--trailing--display:none}:host([variant=drawer]:not([has-header]):not([collapsed])),:host([variant=drawer][has-header=false]:not([collapsed])){--r-panel--header--height:24px;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-050, 8px) 0 var(--spacing-100, 16px)}:host([variant=drawer]:not([has-header]):not([collapsed])) r-button,:host([variant=drawer][has-header=false]:not([collapsed])) r-button{--r-button--top:20%;--r-button--left:97%}:host([collapsed]){--r-list-item--active-parent--background-color:rgba(40, 40, 40, 0.08)}.r-panel{z-index:2;min-width:var(--r-panel--min-width);background-color:var(--r-panel--background-color);display:var(--r-panel--display);flex-direction:var(--r-panel--flex-direction);align-items:var(--r-panel--align-items);width:var(--r-panel--width);height:var(--r-panel--height);position:var(--r-panel--position);top:var(--r-panel--top);padding:var(--r-panel--padding);color:var(--r-panel--color);transition:var(--r-panel--transition);transform:var(--r-panel--transform);left:var(--r-panel--left);font-family:var(--r-panel--font-family);box-sizing:border-box}.r-panel .logo-wrapper .logo-expanded{width:var(--r-panel--header--logo--img--expanded--width)}.r-panel .logo-wrapper .logo-collapsed{width:var(--r-panel--header--logo--img--collapsed--width)}.r-panel .logo-wrapper img{width:var(--r-panel--header--logo--img--width);height:var(--r-panel--header--logo--img--height)}.r-panel .logo-wrapper:focus,.r-panel .logo-wrapper:focus-visible{box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);outline:2px solid var(--r-border-focused, #0071e3);outline-offset:2px}.r-panel--header{display:flex;padding:var(--r-panel--header--padding);justify-content:var(--r-panel--header--justify-content);align-items:var(--r-panel--header--align-items);align-self:var(--r-panel--header--align-self);flex-direction:var(--r-panel--header--flex-direction);gap:var(--r-panel--header--gap);height:var(--r-panel--header--height)}.r-panel--header r-button{--r-button--padding:0;transform:var(--r-panel--header--icon-rotate);background:var(--r-button--background);position:var(--r-button--slot--position);left:var(--r-button--left);top:var(--r-button--top);border-radius:var(--r-button--border-radius)}.r-panel--body{flex-grow:var(--r-panel--body--flex-grow);align-self:var(--r-panel--body--align-self);display:var(--r-panel--body--display);overflow:var(--r-panel--body--overflow);padding:var(--r-panel--body--padding)}.r-panel--body ::slotted(.header){color:var(--r-panel--body-header--color);padding:var(--r-panel--body-header--padding);display:var(--r-panel--header--display);width:var(--r-panel--body-header--width)}.r-panel ::slotted([slot=footer]){display:var(--r-panel--footer--dispay);padding:var(--r-panel--footer--padding);flex-direction:var(--r-panel--footer--flex-direction);justify-content:var(--r-panel--footer--justify-content);gap:var(--r-panel--footer-gap);align-self:var(--r-panel--footer--align-self);text-align:var(--r-panel--footer--text-align)}";export{l as r_panel}
@@ -1 +1 @@
1
- import{r as t,h as s,H as o,g as r}from"./p-Da7qOBFr.js";import{s as e,a as i}from"./p-B9rsR6cQ.js";import{f as n}from"./p-ky1yonnS.js";import"./p-4Uv3PpKT.js";const a=class{constructor(s){t(this,s)}connectedCallback(){const t=this.host.closest("r-popover");e(this.host,t)}disconnectedCallback(){const t=this.host.closest("r-popover");i(this.host,t)}async setFocus(){var t;return this.activeElement?"setFocus"in this.activeElement&&"function"==typeof this.activeElement.setFocus?(await this.activeElement.setFocus(),Promise.resolve(this.activeElement)):(null===(t=this.activeElement)||void 0===t||t.focus(),Promise.resolve(this.activeElement)):Promise.resolve(null)}async setBlur(){var t;null===(t=this.activeElement)||void 0===t||t.blur()}get activeElement(){return this.getActiveElements[0]||null}async getActiveElements(){return n(this.host)}render(){return s(o,{key:"ec778d5e0a294bcbe389039abc6f0b620b7bc69c",slot:"content",class:"r-typography"},s("slot",{key:"40c27d279a1093be8a98731881ad83da147f5bbc"}))}get host(){return r(this)}};a.style="::slotted(*:first-child){margin-top:0;padding-top:0}::slotted(*:last-child){margin-bottom:0;padding-bottom:0}";export{a as r_popover_content}
1
+ import{r as t,h as s,H as o,g as e}from"./p-Da7qOBFr.js";import{s as r,a as i}from"./p-B9rsR6cQ.js";import{f as n}from"./p-ky1yonnS.js";import"./p-4Uv3PpKT.js";const a=class{constructor(s){t(this,s)}connectedCallback(){const t=this.host.closest("r-popover");r(this.host,t)}disconnectedCallback(){const t=this.host.closest("r-popover");i(this.host,t)}async setFocus(){var t;return this.activeElement?"setFocus"in this.activeElement&&"function"==typeof this.activeElement.setFocus?(await this.activeElement.setFocus(),Promise.resolve(this.activeElement)):(null===(t=this.activeElement)||void 0===t||t.focus(),Promise.resolve(this.activeElement)):Promise.resolve(null)}async setBlur(){var t;null===(t=this.activeElement)||void 0===t||t.blur()}get activeElement(){return this.getActiveElements[0]||null}async getActiveElements(){return n(this.host)}render(){return s(o,{key:"b85780e40b627c6d859af763113bc88e21768f88",slot:"content",class:"r-typography"},s("slot",{key:"7bd5e6152e29a4e20d837c21e1df7bff68a673da"}))}get host(){return e(this)}};a.style="::slotted(*:first-child){margin-top:0;padding-top:0}::slotted(*:last-child){margin-bottom:0;padding-bottom:0}";export{a as r_popover_content}