@dxc-technology/halstack-react 0.0.0-34bf5aa → 0.0.0-355b1d4

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 (316) hide show
  1. package/README.md +46 -0
  2. package/dist/index.d.mts +6802 -0
  3. package/dist/index.d.ts +6802 -0
  4. package/dist/index.js +4371 -0
  5. package/dist/index.mjs +4371 -0
  6. package/package.json +69 -72
  7. package/BackgroundColorContext.d.ts +0 -10
  8. package/BackgroundColorContext.js +0 -47
  9. package/HalstackContext.d.ts +0 -12
  10. package/HalstackContext.js +0 -295
  11. package/accordion/Accordion.d.ts +0 -4
  12. package/accordion/Accordion.js +0 -245
  13. package/accordion/Accordion.stories.tsx +0 -306
  14. package/accordion/Accordion.test.js +0 -71
  15. package/accordion/types.d.ts +0 -68
  16. package/accordion/types.js +0 -5
  17. package/accordion-group/AccordionGroup.d.ts +0 -7
  18. package/accordion-group/AccordionGroup.js +0 -149
  19. package/accordion-group/AccordionGroup.stories.tsx +0 -251
  20. package/accordion-group/AccordionGroup.test.js +0 -126
  21. package/accordion-group/types.d.ts +0 -78
  22. package/accordion-group/types.js +0 -5
  23. package/alert/Alert.d.ts +0 -4
  24. package/alert/Alert.js +0 -293
  25. package/alert/Alert.stories.tsx +0 -170
  26. package/alert/Alert.test.js +0 -92
  27. package/alert/types.d.ts +0 -49
  28. package/alert/types.js +0 -5
  29. package/badge/Badge.d.ts +0 -4
  30. package/badge/Badge.js +0 -61
  31. package/badge/types.d.ts +0 -5
  32. package/badge/types.js +0 -5
  33. package/bleed/Bleed.d.ts +0 -3
  34. package/bleed/Bleed.js +0 -51
  35. package/bleed/Bleed.stories.tsx +0 -341
  36. package/bleed/types.d.ts +0 -37
  37. package/bleed/types.js +0 -5
  38. package/box/Box.d.ts +0 -4
  39. package/box/Box.js +0 -116
  40. package/box/Box.stories.tsx +0 -132
  41. package/box/Box.test.js +0 -18
  42. package/box/types.d.ts +0 -43
  43. package/box/types.js +0 -5
  44. package/bulleted-list/BulletedList.d.ts +0 -7
  45. package/bulleted-list/BulletedList.js +0 -123
  46. package/bulleted-list/BulletedList.stories.tsx +0 -200
  47. package/bulleted-list/types.d.ts +0 -11
  48. package/bulleted-list/types.js +0 -5
  49. package/button/Button.d.ts +0 -4
  50. package/button/Button.js +0 -156
  51. package/button/Button.stories.tsx +0 -283
  52. package/button/Button.test.js +0 -35
  53. package/button/types.d.ts +0 -53
  54. package/button/types.js +0 -5
  55. package/card/Card.d.ts +0 -4
  56. package/card/Card.js +0 -161
  57. package/card/Card.stories.tsx +0 -201
  58. package/card/Card.test.js +0 -50
  59. package/card/ice-cream.jpg +0 -0
  60. package/card/types.d.ts +0 -67
  61. package/card/types.js +0 -5
  62. package/checkbox/Checkbox.d.ts +0 -4
  63. package/checkbox/Checkbox.js +0 -257
  64. package/checkbox/Checkbox.stories.tsx +0 -188
  65. package/checkbox/Checkbox.test.js +0 -78
  66. package/checkbox/types.d.ts +0 -64
  67. package/checkbox/types.js +0 -5
  68. package/chip/Chip.d.ts +0 -4
  69. package/chip/Chip.js +0 -161
  70. package/chip/Chip.stories.tsx +0 -119
  71. package/chip/Chip.test.js +0 -56
  72. package/chip/types.d.ts +0 -45
  73. package/chip/types.js +0 -5
  74. package/common/OpenSans.css +0 -81
  75. package/common/RequiredComponent.js +0 -32
  76. package/common/fonts/OpenSans-Bold.ttf +0 -0
  77. package/common/fonts/OpenSans-BoldItalic.ttf +0 -0
  78. package/common/fonts/OpenSans-ExtraBold.ttf +0 -0
  79. package/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  80. package/common/fonts/OpenSans-Italic.ttf +0 -0
  81. package/common/fonts/OpenSans-Light.ttf +0 -0
  82. package/common/fonts/OpenSans-LightItalic.ttf +0 -0
  83. package/common/fonts/OpenSans-Regular.ttf +0 -0
  84. package/common/fonts/OpenSans-SemiBold.ttf +0 -0
  85. package/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  86. package/common/utils.js +0 -22
  87. package/common/variables.js +0 -1508
  88. package/date-input/DateInput.d.ts +0 -4
  89. package/date-input/DateInput.js +0 -372
  90. package/date-input/DateInput.stories.tsx +0 -138
  91. package/date-input/DateInput.test.js +0 -479
  92. package/date-input/types.d.ts +0 -107
  93. package/date-input/types.js +0 -5
  94. package/dialog/Dialog.d.ts +0 -4
  95. package/dialog/Dialog.js +0 -162
  96. package/dialog/Dialog.stories.tsx +0 -211
  97. package/dialog/Dialog.test.js +0 -70
  98. package/dialog/types.d.ts +0 -43
  99. package/dialog/types.js +0 -5
  100. package/dropdown/Dropdown.d.ts +0 -4
  101. package/dropdown/Dropdown.js +0 -387
  102. package/dropdown/Dropdown.stories.tsx +0 -312
  103. package/dropdown/Dropdown.test.js +0 -591
  104. package/dropdown/DropdownMenu.d.ts +0 -4
  105. package/dropdown/DropdownMenu.js +0 -80
  106. package/dropdown/DropdownMenuItem.d.ts +0 -4
  107. package/dropdown/DropdownMenuItem.js +0 -92
  108. package/dropdown/types.d.ts +0 -100
  109. package/dropdown/types.js +0 -5
  110. package/file-input/FileInput.d.ts +0 -4
  111. package/file-input/FileInput.js +0 -593
  112. package/file-input/FileInput.stories.tsx +0 -507
  113. package/file-input/FileInput.test.js +0 -457
  114. package/file-input/FileItem.d.ts +0 -14
  115. package/file-input/FileItem.js +0 -186
  116. package/file-input/types.d.ts +0 -112
  117. package/file-input/types.js +0 -5
  118. package/flex/Flex.d.ts +0 -4
  119. package/flex/Flex.js +0 -57
  120. package/flex/Flex.stories.tsx +0 -103
  121. package/flex/types.d.ts +0 -21
  122. package/flex/types.js +0 -5
  123. package/footer/Footer.d.ts +0 -4
  124. package/footer/Footer.js +0 -185
  125. package/footer/Footer.stories.tsx +0 -137
  126. package/footer/Footer.test.js +0 -109
  127. package/footer/Icons.d.ts +0 -2
  128. package/footer/Icons.js +0 -77
  129. package/footer/types.d.ts +0 -65
  130. package/footer/types.js +0 -5
  131. package/header/Header.d.ts +0 -7
  132. package/header/Header.js +0 -305
  133. package/header/Header.stories.tsx +0 -172
  134. package/header/Header.test.js +0 -79
  135. package/header/Icons.d.ts +0 -2
  136. package/header/Icons.js +0 -34
  137. package/header/types.d.ts +0 -47
  138. package/header/types.js +0 -5
  139. package/heading/Heading.d.ts +0 -4
  140. package/heading/Heading.js +0 -159
  141. package/heading/Heading.stories.tsx +0 -54
  142. package/heading/Heading.test.js +0 -186
  143. package/heading/types.d.ts +0 -33
  144. package/heading/types.js +0 -5
  145. package/inset/Inset.d.ts +0 -3
  146. package/inset/Inset.js +0 -51
  147. package/inset/Inset.stories.tsx +0 -229
  148. package/inset/types.d.ts +0 -37
  149. package/inset/types.js +0 -5
  150. package/layout/ApplicationLayout.d.ts +0 -20
  151. package/layout/ApplicationLayout.js +0 -171
  152. package/layout/ApplicationLayout.stories.tsx +0 -162
  153. package/layout/Icons.d.ts +0 -5
  154. package/layout/Icons.js +0 -66
  155. package/layout/SidenavContext.d.ts +0 -5
  156. package/layout/SidenavContext.js +0 -19
  157. package/layout/types.d.ts +0 -42
  158. package/layout/types.js +0 -5
  159. package/link/Link.d.ts +0 -4
  160. package/link/Link.js +0 -136
  161. package/link/Link.stories.tsx +0 -193
  162. package/link/Link.test.js +0 -83
  163. package/link/types.d.ts +0 -54
  164. package/link/types.js +0 -5
  165. package/main.d.ts +0 -44
  166. package/main.js +0 -369
  167. package/number-input/NumberInput.d.ts +0 -4
  168. package/number-input/NumberInput.js +0 -76
  169. package/number-input/NumberInput.stories.tsx +0 -115
  170. package/number-input/NumberInput.test.js +0 -506
  171. package/number-input/NumberInputContext.d.ts +0 -4
  172. package/number-input/NumberInputContext.js +0 -19
  173. package/number-input/numberInputContextTypes.d.ts +0 -19
  174. package/number-input/numberInputContextTypes.js +0 -5
  175. package/number-input/types.d.ts +0 -124
  176. package/number-input/types.js +0 -5
  177. package/paginator/Icons.js +0 -66
  178. package/paginator/Paginator.d.ts +0 -4
  179. package/paginator/Paginator.js +0 -171
  180. package/paginator/Paginator.stories.tsx +0 -63
  181. package/paginator/Paginator.test.js +0 -308
  182. package/paginator/types.d.ts +0 -38
  183. package/paginator/types.js +0 -5
  184. package/paragraph/Paragraph.d.ts +0 -6
  185. package/paragraph/Paragraph.js +0 -38
  186. package/paragraph/Paragraph.stories.tsx +0 -44
  187. package/password-input/PasswordInput.d.ts +0 -4
  188. package/password-input/PasswordInput.js +0 -166
  189. package/password-input/PasswordInput.stories.tsx +0 -131
  190. package/password-input/PasswordInput.test.js +0 -180
  191. package/password-input/types.d.ts +0 -110
  192. package/password-input/types.js +0 -5
  193. package/progress-bar/ProgressBar.d.ts +0 -4
  194. package/progress-bar/ProgressBar.js +0 -176
  195. package/progress-bar/ProgressBar.stories.jsx +0 -60
  196. package/progress-bar/ProgressBar.test.js +0 -110
  197. package/progress-bar/types.d.ts +0 -36
  198. package/progress-bar/types.js +0 -5
  199. package/quick-nav/QuickNav.d.ts +0 -4
  200. package/quick-nav/QuickNav.js +0 -118
  201. package/quick-nav/QuickNav.stories.tsx +0 -264
  202. package/quick-nav/types.d.ts +0 -21
  203. package/quick-nav/types.js +0 -5
  204. package/radio-group/Radio.d.ts +0 -4
  205. package/radio-group/Radio.js +0 -141
  206. package/radio-group/RadioGroup.d.ts +0 -4
  207. package/radio-group/RadioGroup.js +0 -281
  208. package/radio-group/RadioGroup.stories.tsx +0 -100
  209. package/radio-group/RadioGroup.test.js +0 -695
  210. package/radio-group/types.d.ts +0 -114
  211. package/radio-group/types.js +0 -5
  212. package/resultsetTable/ResultsetTable.d.ts +0 -4
  213. package/resultsetTable/ResultsetTable.js +0 -254
  214. package/resultsetTable/ResultsetTable.stories.tsx +0 -275
  215. package/resultsetTable/ResultsetTable.test.js +0 -348
  216. package/resultsetTable/types.d.ts +0 -67
  217. package/resultsetTable/types.js +0 -5
  218. package/select/Icons.d.ts +0 -10
  219. package/select/Icons.js +0 -93
  220. package/select/Listbox.d.ts +0 -4
  221. package/select/Listbox.js +0 -199
  222. package/select/Option.d.ts +0 -4
  223. package/select/Option.js +0 -110
  224. package/select/Select.d.ts +0 -4
  225. package/select/Select.js +0 -643
  226. package/select/Select.stories.tsx +0 -627
  227. package/select/Select.test.js +0 -2175
  228. package/select/types.d.ts +0 -210
  229. package/select/types.js +0 -5
  230. package/sidenav/Sidenav.d.ts +0 -10
  231. package/sidenav/Sidenav.js +0 -268
  232. package/sidenav/Sidenav.stories.tsx +0 -180
  233. package/sidenav/Sidenav.test.js +0 -44
  234. package/sidenav/types.d.ts +0 -73
  235. package/sidenav/types.js +0 -5
  236. package/slider/Slider.d.ts +0 -4
  237. package/slider/Slider.js +0 -339
  238. package/slider/Slider.stories.tsx +0 -183
  239. package/slider/Slider.test.js +0 -250
  240. package/slider/types.d.ts +0 -82
  241. package/slider/types.js +0 -5
  242. package/spinner/Spinner.d.ts +0 -4
  243. package/spinner/Spinner.js +0 -250
  244. package/spinner/Spinner.stories.jsx +0 -103
  245. package/spinner/Spinner.test.js +0 -64
  246. package/spinner/types.d.ts +0 -32
  247. package/spinner/types.js +0 -5
  248. package/switch/Switch.d.ts +0 -4
  249. package/switch/Switch.js +0 -251
  250. package/switch/Switch.stories.tsx +0 -138
  251. package/switch/Switch.test.js +0 -212
  252. package/switch/types.d.ts +0 -61
  253. package/switch/types.js +0 -5
  254. package/table/Table.d.ts +0 -4
  255. package/table/Table.js +0 -118
  256. package/table/Table.stories.jsx +0 -277
  257. package/table/Table.test.js +0 -26
  258. package/table/types.d.ts +0 -21
  259. package/table/types.js +0 -5
  260. package/tabs/Tab.d.ts +0 -4
  261. package/tabs/Tab.js +0 -135
  262. package/tabs/Tabs.d.ts +0 -4
  263. package/tabs/Tabs.js +0 -467
  264. package/tabs/Tabs.stories.tsx +0 -186
  265. package/tabs/Tabs.test.js +0 -351
  266. package/tabs/types.d.ts +0 -92
  267. package/tabs/types.js +0 -5
  268. package/tabs-nav/NavTabs.d.ts +0 -8
  269. package/tabs-nav/NavTabs.js +0 -125
  270. package/tabs-nav/NavTabs.stories.tsx +0 -170
  271. package/tabs-nav/NavTabs.test.js +0 -82
  272. package/tabs-nav/Tab.d.ts +0 -4
  273. package/tabs-nav/Tab.js +0 -130
  274. package/tabs-nav/types.d.ts +0 -53
  275. package/tabs-nav/types.js +0 -5
  276. package/tag/Tag.d.ts +0 -4
  277. package/tag/Tag.js +0 -183
  278. package/tag/Tag.stories.tsx +0 -142
  279. package/tag/Tag.test.js +0 -60
  280. package/tag/types.d.ts +0 -69
  281. package/tag/types.js +0 -5
  282. package/text-input/Suggestion.d.ts +0 -4
  283. package/text-input/Suggestion.js +0 -55
  284. package/text-input/TextInput.d.ts +0 -4
  285. package/text-input/TextInput.js +0 -761
  286. package/text-input/TextInput.stories.tsx +0 -473
  287. package/text-input/TextInput.test.js +0 -1712
  288. package/text-input/types.d.ts +0 -178
  289. package/text-input/types.js +0 -5
  290. package/textarea/Textarea.d.ts +0 -4
  291. package/textarea/Textarea.js +0 -277
  292. package/textarea/Textarea.stories.jsx +0 -157
  293. package/textarea/Textarea.test.js +0 -437
  294. package/textarea/types.d.ts +0 -137
  295. package/textarea/types.js +0 -5
  296. package/toggle-group/ToggleGroup.d.ts +0 -4
  297. package/toggle-group/ToggleGroup.js +0 -215
  298. package/toggle-group/ToggleGroup.stories.tsx +0 -173
  299. package/toggle-group/ToggleGroup.test.js +0 -156
  300. package/toggle-group/types.d.ts +0 -105
  301. package/toggle-group/types.js +0 -5
  302. package/typography/Typography.d.ts +0 -4
  303. package/typography/Typography.js +0 -131
  304. package/typography/Typography.stories.tsx +0 -198
  305. package/typography/types.d.ts +0 -18
  306. package/typography/types.js +0 -5
  307. package/useTheme.d.ts +0 -2
  308. package/useTheme.js +0 -22
  309. package/useTranslatedLabels.d.ts +0 -2
  310. package/useTranslatedLabels.js +0 -20
  311. package/wizard/Wizard.d.ts +0 -4
  312. package/wizard/Wizard.js +0 -285
  313. package/wizard/Wizard.stories.tsx +0 -233
  314. package/wizard/Wizard.test.js +0 -141
  315. package/wizard/types.d.ts +0 -65
  316. package/wizard/types.js +0 -5
package/dist/index.js ADDED
@@ -0,0 +1,4371 @@
1
+ var wd=Object.create;var qr=Object.defineProperty;var Sd=Object.getOwnPropertyDescriptor;var Id=Object.getOwnPropertyNames;var Bd=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var Ld=(e,t)=>{for(var r in t)qr(e,r,{get:t[r],enumerable:!0})},Fi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Id(t))!Pd.call(e,i)&&i!==r&&qr(e,i,{get:()=>t[i],enumerable:!(n=Sd(t,i))||n.enumerable});return e};var F=(e,t,r)=>(r=e!=null?wd(Bd(e)):{},Fi(t||!e||!e.__esModule?qr(r,"default",{value:e,enumerable:!0}):r,e)),Dd=e=>Fi(qr({},"__esModule",{value:!0}),e);var y0={};Ld(y0,{DxcAccordion:()=>en,DxcAccordionGroup:()=>Ei,DxcAlert:()=>Ni,DxcApplicationLayout:()=>xl,DxcBadge:()=>$t,DxcBleed:()=>Sr,DxcBreadcrumbs:()=>Fl,DxcBulletedList:()=>Bl,DxcButton:()=>bo,DxcCard:()=>Dl,DxcCheckbox:()=>Ut,DxcChip:()=>Hl,DxcContainer:()=>El,DxcContextualMenu:()=>Ql,DxcDataGrid:()=>Ba,DxcDateInput:()=>Za,DxcDialog:()=>rc,DxcDivider:()=>vn,DxcDropdown:()=>xt,DxcFileInput:()=>cc,DxcFlex:()=>ne,DxcGrid:()=>sc,DxcHeading:()=>Dn,DxcImage:()=>gc,DxcInset:()=>Yt,DxcLink:()=>fc,DxcNavTabs:()=>xc,DxcNumberInput:()=>$c,DxcPaginator:()=>ur,DxcParagraph:()=>vc,DxcPasswordInput:()=>Sc,DxcProgressBar:()=>Ic,DxcQuickNav:()=>Pc,DxcRadioGroup:()=>Dc,DxcResultsetTable:()=>Hc,DxcSelect:()=>Er,DxcSlider:()=>Wc,DxcSpinner:()=>Vn,DxcStatusLight:()=>Xc,DxcSwitch:()=>Uc,DxcTable:()=>In,DxcTabs:()=>rd,DxcTag:()=>ad,DxcTextInput:()=>jo,DxcTextarea:()=>sd,DxcToastsQueue:()=>ud,DxcToggleGroup:()=>hd,DxcTooltip:()=>oi,DxcTypography:()=>vt,DxcWizard:()=>Cd,HalstackContext:()=>Fr,HalstackLanguageContext:()=>wr,HalstackProvider:()=>Ho,useToast:()=>xd});module.exports=Dd(y0);function Zn(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Zn(`@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap&family=Material+Symbols+Outlined:FILL@0..1";
2
+ `);var Qr=require("react"),ho=F(require("styled-components"));var wi={color_black:"#000000",color_white:"#ffffff",color_transparent:"transparent",color_grey_50:"#fafafa",color_grey_100:"#f2f2f2",color_grey_200:"#e6e6e6",color_grey_300:"#cccccc",color_grey_400:"#bfbfbf",color_grey_500:"#999999",color_grey_600:"#808080",color_grey_700:"#666666",color_grey_800:"#4d4d4d",color_grey_900:"#333333",color_grey_50_a:"#00000005",color_grey_100_a:"#0000000d",color_grey_200_a:"#0000001a",color_grey_300_a:"#00000033",color_grey_400_a:"#0000004d",color_grey_500_a:"#00000066",color_grey_600_a:"#00000080",color_grey_700_a:"#00000099",color_grey_800_a:"#000000b3",color_grey_900_a:"#000000cc",color_purple_50:"#faf7fd",color_purple_100:"#f2eafa",color_purple_200:"#e5d5f6",color_purple_300:"#cbacec",color_purple_400:"#b182e3",color_purple_500:"#a46ede",color_purple_600:"#7d2fd0",color_purple_700:"#5f249f",color_purple_800:"#4b1c7d",color_purple_900:"#321353",color_blue_50:"#f5fbff",color_blue_100:"#e6f4ff",color_blue_200:"#cceaff",color_blue_300:"#99d5ff",color_blue_400:"#66bfff",color_blue_500:"#33aaff",color_blue_600:"#0095ff",color_blue_700:"#0086e6",color_blue_800:"#0067b3",color_blue_900:"#003c66",color_red_50:"#fff5f6",color_red_100:"#ffe6e9",color_red_200:"#ffccd3",color_red_300:"#fe9aa7",color_red_400:"#fe677b",color_red_500:"#fe344f",color_red_600:"#fe0123",color_red_700:"#d0011b",color_red_800:"#980115",color_red_900:"#65010e",color_green_50:"#f7fdf9",color_green_100:"#eafaef",color_green_200:"#d5f6df",color_green_300:"#acecbe",color_green_400:"#82e39e",color_green_500:"#59d97d",color_green_600:"#2fd05d",color_green_700:"#24a148",color_green_800:"#1c7d38",color_green_900:"#135325",color_yellow_50:"#fffdf5",color_yellow_100:"#fef9e6",color_yellow_200:"#fdf4ce",color_yellow_300:"#fbe89d",color_yellow_400:"#fadd6b",color_yellow_500:"#f7cf2b",color_yellow_600:"#f6c709",color_yellow_700:"#c59f07",color_yellow_800:"#947705",color_yellow_900:"#624f04",color_orange_50:"#fefaf5",color_orange_100:"#fef3e7",color_orange_200:"#fce7cf",color_orange_300:"#facf9e",color_orange_400:"#f7b76e",color_orange_500:"#f59f3d",color_orange_600:"#f38f20",color_orange_700:"#c26c0a",color_orange_800:"#915108",color_orange_900:"#613605"},Tr=e=>wi[e],zd={spacing_0:"0rem",spacing_2:"0.125rem",spacing_4:"0.25rem",spacing_8:"0.5rem",spacing_12:"0.75rem",spacing_16:"1rem",spacing_24:"1.5rem",spacing_32:"2rem",spacing_40:"2.5rem",spacing_48:"3rem",spacing_56:"3.5rem",spacing_64:"4rem",spacing_80:"5rem",spacing_96:"6rem",spacing_112:"7rem"},Ad={...wi,...zd,inherit:"inherit",type_sans:"Open Sans, sans-serif",type_scale_08:"3.75rem",type_scale_07:"2.5rem",type_scale_06:"2rem",type_scale_05:"1.5rem",type_scale_04:"1.25rem",type_scale_03:"1rem",type_scale_02:"0.875rem",type_scale_01:"0.75rem",type_light:"300",type_regular:"400",type_semibold:"600",type_bold:"bold",type_italic:"italic",type_normal:"normal",type_spacing_tight_02:"-0.05em",type_spacing_tight_01:"-0.025em",type_spacing_normal:"0em",type_spacing_wide_01:"0.025em",type_spacing_wide_02:"0.05em",type_spacing_wide_03:"0.1em",type_initial:"initial",type_uppercase:"uppercase",type_no_line:"none",type_underline:"underline",type_line_through:"line-through",type_leading_compact_03:"1em",type_leading_compact_02:"1.25em",type_leading_compact_01:"1.365em",type_leading_normal:"1.5em",type_leading_loose_01:"1.715em",type_leading_loose_02:"2em",border_width_0:"0px",border_width_1:"1px",border_width_2:"2px",border_width_4:"4px",border_radius_none:"0rem",border_radius_small:"0.125rem",border_radius_medium:"0.25rem",border_radius_large:"0.375rem",border_solid:"solid",border_dashed:"dashed",border_none:"none"},o=Ad;var ee={accordion:{backgroundColor:o.color_white,hoverBackgroundColor:o.color_purple_100,arrowColor:o.color_purple_700,disabledArrowColor:o.color_grey_500,assistiveTextFontFamily:o.type_sans,assistiveTextFontSize:o.type_scale_03,assistiveTextFontWeight:o.type_light,assistiveTextFontStyle:o.type_italic,assistiveTextLetterSpacing:o.type_spacing_wide_01,assistiveTextFontColor:o.color_grey_700,disabledAssistiveTextFontColor:o.color_grey_500,assistiveTextMinWidth:"100px",assistiveTextPaddingRight:o.spacing_24,assistiveTextPaddingLeft:o.spacing_0,titleLabelFontFamily:o.type_sans,titleLabelFontSize:o.type_scale_03,titleLabelFontWeight:o.type_regular,titleLabelFontStyle:o.type_normal,titleLabelFontColor:o.color_black,disabledTitleLabelFontColor:o.color_grey_500,titleLabelPaddingTop:o.spacing_0,titleLabelPaddingBottom:o.spacing_0,titleLabelPaddingLeft:o.spacing_0,titleLabelPaddingRight:o.spacing_16,focusBorderColor:o.color_blue_600,focusBorderStyle:o.border_solid,focusBorderThickness:"2px",borderRadius:"4px",boxShadowOffsetX:"0px",boxShadowOffsetY:"6px",boxShadowBlur:"10px",boxShadowColor:o.color_grey_200_a,iconColor:o.color_purple_700,disabledIconColor:o.color_grey_500,iconSize:"24px",iconMarginLeft:o.spacing_0,iconMarginRight:o.spacing_12,accordionGroupSeparatorBorderColor:o.color_grey_200_a,accordionGroupSeparatorBorderThickness:"1px",accordionGroupSeparatorBorderRadius:"0px",accordionGroupSeparatorBorderStyle:o.border_solid},alert:{titleFontFamily:o.type_sans,titleFontColor:o.color_black,titleFontSize:o.type_scale_01,titleFontStyle:o.type_normal,titleFontWeight:o.type_bold,titleTextTransform:o.type_uppercase,titlePaddingRight:o.spacing_0,titlePaddingLeft:o.spacing_0,inlineTextFontFamily:o.type_sans,inlineTextFontColor:o.color_black,inlineTextFontSize:o.type_scale_01,inlineTextFontStyle:o.type_normal,inlineTextFontWeight:o.type_regular,inlineTextPaddingLeft:o.spacing_0,inlineTextPaddingRight:o.spacing_0,contentPaddingLeft:o.spacing_0,contentPaddingRight:o.spacing_0,contentPaddingTop:"20px",contentPaddingBottom:"30px",borderRadius:"4px",borderStyle:o.border_solid,borderThickness:"1px",infoBorderColor:o.color_blue_800,successBorderColor:o.color_green_700,warningBorderColor:o.color_yellow_700,errorBorderColor:o.color_red_700,iconSize:"24px",iconPaddingLeft:o.spacing_0,iconPaddingRight:o.spacing_0,infoIconColor:o.color_blue_800,successIconColor:o.color_green_700,warningIconColor:o.color_yellow_700,errorIconColor:o.color_red_700,infoBackgroundColor:o.color_blue_100,successBackgroundColor:o.color_green_100,warningBackgroundColor:o.color_yellow_100,errorBackgroundColor:o.color_red_100,hoverActionBackgroundColor:o.color_grey_100_a,activeActionBackgroundColor:o.color_grey_200_a,focusActionBorderColor:o.color_blue_600,overlayColor:o.color_grey_800_a},bulletedList:{fontColor:o.color_black,bulletIconHeight:"1.5rem",bulletIconWidth:"1.5rem",bulletHeight:"5px",bulletWidth:"5px",bulletMarginRight:o.spacing_8},button:{labelFontLineHeight:o.type_leading_normal,labelLetterSpacing:o.type_spacing_wide_01,paddingSmallTop:o.spacing_0,paddingSmallLeft:o.spacing_8,paddingSmallBottom:o.spacing_0,paddingSmallRight:o.spacing_8,paddingSmallOnlyIconTop:o.spacing_0,paddingSmallOnlyIconLeft:o.spacing_4,paddingSmallOnlyIconBottom:o.spacing_0,paddingSmallOnlyIconRight:o.spacing_4,paddingMediumTop:o.spacing_0,paddingMediumLeft:o.spacing_8,paddingMediumBottom:o.spacing_0,paddingMediumRight:o.spacing_8,paddingMediumOnlyIconTop:o.spacing_0,paddingMediumOnlyIconLeft:o.spacing_8,paddingMediumOnlyIconBottom:o.spacing_0,paddingMediumOnlyIconRight:o.spacing_8,paddingLargeTop:o.spacing_0,paddingLargeLeft:o.spacing_16,paddingLargeBottom:o.spacing_0,paddingLargeRight:o.spacing_16,paddingLargeOnlyIconTop:o.spacing_0,paddingLargeOnlyIconLeft:o.spacing_8,paddingLargeOnlyIconBottom:o.spacing_0,paddingLargeOnlyIconRight:o.spacing_8,focusBorderColor:o.color_blue_500,primaryDefaultBackgroundColor:o.color_purple_700,primaryErrorBackgroundColor:o.color_red_700,primaryWarningBackgroundColor:o.color_orange_700,primarySuccessBackgroundColor:o.color_green_700,primaryInfoBackgroundColor:o.color_blue_700,primaryDefaultFontColor:o.color_white,primaryErrorFontColor:o.color_white,primaryWarningFontColor:o.color_white,primarySuccessFontColor:o.color_white,primaryInfoFontColor:o.color_white,primaryHoverDefaultBackgroundColor:o.color_purple_800,primaryHoverErrorBackgroundColor:o.color_red_800,primaryHoverWarningBackgroundColor:o.color_orange_800,primaryHoverSuccessBackgroundColor:o.color_green_800,primaryHoverInfoBackgroundColor:o.color_blue_800,primaryActiveDefaultBackgroundColor:o.color_purple_900,primaryActiveErrorBackgroundColor:o.color_red_900,primaryActiveWarningBackgroundColor:o.color_orange_900,primaryActiveSuccessBackgroundColor:o.color_green_900,primaryActiveInfoBackgroundColor:o.color_blue_900,primaryDisabledDefaultBackgroundColor:o.color_purple_100,primaryDisabledErrorBackgroundColor:o.color_red_100,primaryDisabledWarningBackgroundColor:o.color_orange_100,primaryDisabledSuccessBackgroundColor:o.color_green_100,primaryDisabledInfoBackgroundColor:o.color_blue_100,primaryDisabledDefaultFontColor:o.color_purple_300,primaryDisabledErrorFontColor:o.color_red_300,primaryDisabledWarningFontColor:o.color_orange_300,primaryDisabledSuccessFontColor:o.color_green_300,primaryDisabledInfoFontColor:o.color_blue_300,primaryBorderThickness:o.border_width_0,primaryBorderStyle:o.border_none,primaryBorderRadius:o.border_radius_medium,primaryFontFamily:o.type_sans,primarySmallFontSize:o.type_scale_02,primaryMediumFontSize:o.type_scale_02,primaryLargeFontSize:o.type_scale_03,primaryFontWeight:o.type_semibold,secondaryDefaultBackgroundColor:o.color_transparent,secondaryErrorBackgroundColor:o.color_transparent,secondaryWarningBackgroundColor:o.color_transparent,secondarySuccessBackgroundColor:o.color_transparent,secondaryInfoBackgroundColor:o.color_transparent,secondaryDefaultFontColor:o.color_purple_700,secondaryErrorFontColor:o.color_red_700,secondaryWarningFontColor:o.color_orange_700,secondarySuccessFontColor:o.color_green_700,secondaryInfoFontColor:o.color_blue_700,secondaryDefaultBorderColor:o.color_purple_700,secondaryErrorBorderColor:o.color_red_700,secondaryWarningBorderColor:o.color_orange_700,secondarySuccessBorderColor:o.color_green_700,secondaryInfoBorderColor:o.color_blue_700,secondaryHoverDefaultBackgroundColor:o.color_purple_700,secondaryHoverErrorBackgroundColor:o.color_red_700,secondaryHoverWarningBackgroundColor:o.color_orange_700,secondaryHoverSuccessBackgroundColor:o.color_green_700,secondaryHoverInfoBackgroundColor:o.color_blue_700,secondaryHoverDefaultFontColor:o.color_white,secondaryHoverErrorFontColor:o.color_white,secondaryHoverWarningFontColor:o.color_white,secondaryHoverSuccessFontColor:o.color_white,secondaryHoverInfoFontColor:o.color_white,secondaryActiveDefaultBackgroundColor:o.color_purple_800,secondaryActiveErrorBackgroundColor:o.color_red_800,secondaryActiveWarningBackgroundColor:o.color_orange_800,secondaryActiveSuccessBackgroundColor:o.color_green_800,secondaryActiveInfoBackgroundColor:o.color_blue_800,secondaryDisabledDefaultBackgroundColor:o.color_transparent,secondaryDisabledErrorBackgroundColor:o.color_transparent,secondaryDisabledWarningBackgroundColor:o.color_transparent,secondaryDisabledSuccessBackgroundColor:o.color_transparent,secondaryDisabledInfoBackgroundColor:o.color_transparent,secondaryDisabledDefaultFontColor:o.color_purple_300,secondaryDisabledErrorFontColor:o.color_red_300,secondaryDisabledWarningFontColor:o.color_orange_300,secondaryDisabledSuccessFontColor:o.color_green_300,secondaryDisabledInfoFontColor:o.color_blue_300,secondaryDisabledDefaultBorderColor:o.color_purple_300,secondaryDisabledErrorBorderColor:o.color_red_300,secondaryDisabledWarningBorderColor:o.color_orange_300,secondaryDisabledSuccessBorderColor:o.color_green_300,secondaryDisabledInfoBorderColor:o.color_blue_300,secondaryBorderThickness:o.border_width_1,secondaryBorderStyle:o.border_solid,secondaryBorderRadius:o.border_radius_medium,secondaryFontFamily:o.type_sans,secondarySmallFontSize:o.type_scale_02,secondaryMediumFontSize:o.type_scale_02,secondaryLargeFontSize:o.type_scale_03,secondaryFontWeight:o.type_semibold,tertiaryDefaultBackgroundColor:o.color_transparent,tertiaryErrorBackgroundColor:o.color_transparent,tertiaryWarningBackgroundColor:o.color_transparent,tertiarySuccessBackgroundColor:o.color_transparent,tertiaryInfoBackgroundColor:o.color_transparent,tertiaryDefaultFontColor:o.color_purple_700,tertiaryErrorFontColor:o.color_red_700,tertiaryWarningFontColor:o.color_orange_700,tertiarySuccessFontColor:o.color_green_700,tertiaryInfoFontColor:o.color_blue_700,tertiaryHoverDefaultBackgroundColor:o.color_purple_100,tertiaryHoverErrorBackgroundColor:o.color_red_100,tertiaryHoverWarningBackgroundColor:o.color_orange_100,tertiaryHoverSuccessBackgroundColor:o.color_green_100,tertiaryHoverInfoBackgroundColor:o.color_blue_100,tertiaryActiveDefaultBackgroundColor:o.color_purple_200,tertiaryActiveErrorBackgroundColor:o.color_red_200,tertiaryActiveWarningBackgroundColor:o.color_orange_200,tertiaryActiveSuccessBackgroundColor:o.color_green_200,tertiaryActiveInfoBackgroundColor:o.color_blue_200,tertiaryDisabledDefaultBackgroundColor:o.color_transparent,tertiaryDisabledErrorBackgroundColor:o.color_transparent,tertiaryDisabledWarningBackgroundColor:o.color_transparent,tertiaryDisabledSuccessBackgroundColor:o.color_transparent,tertiaryDisabledInfoBackgroundColor:o.color_transparent,tertiaryDisabledDefaultFontColor:o.color_purple_300,tertiaryDisabledErrorFontColor:o.color_red_300,tertiaryDisabledWarningFontColor:o.color_orange_300,tertiaryDisabledSuccessFontColor:o.color_green_300,tertiaryDisabledInfoFontColor:o.color_blue_300,tertiaryBorderThickness:o.border_width_0,tertiaryBorderStyle:o.border_none,tertiaryBorderRadius:o.border_radius_medium,tertiaryFontFamily:o.type_sans,tertiarySmallFontSize:o.type_scale_02,tertiaryMediumFontSize:o.type_scale_02,tertiaryLargeFontSize:o.type_scale_03,tertiaryFontWeight:o.type_semibold},card:{height:"220px",width:"400px"},checkbox:{backgroundColorChecked:o.color_blue_800,hoverBackgroundColorChecked:o.color_blue_900,disabledBackgroundColorChecked:o.color_grey_500,readOnlyBackgroundColorChecked:o.color_grey_500,hoverReadOnlyBackgroundColorChecked:o.color_grey_600,borderColor:o.color_blue_800,hoverBorderColor:o.color_blue_900,disabledBorderColor:o.color_grey_500,readOnlyBorderColor:o.color_grey_500,hoverReadOnlyBorderColor:o.color_grey_600,checkColor:o.color_white,disabledCheckColor:o.color_white,readOnlyCheckColor:o.color_white,fontFamily:o.type_sans,fontSize:o.type_scale_02,fontWeight:o.type_regular,fontColor:o.color_black,disabledFontColor:o.color_grey_500,focusColor:o.color_blue_600,checkLabelSpacing:o.spacing_8},chip:{backgroundColor:o.color_grey_200,disabledBackgroundColor:o.color_grey_100,fontFamily:o.type_sans,fontSize:o.type_scale_03,fontStyle:o.type_normal,fontWeight:o.type_regular,fontColor:o.color_black,disabledFontColor:o.color_grey_500,borderColor:o.color_transparent,borderRadius:"80px",borderThickness:o.border_width_0,borderStyle:o.border_solid,contentPaddingLeft:o.spacing_16,contentPaddingRight:o.spacing_16,contentPaddingTop:o.spacing_0,contentPaddingBottom:o.spacing_0,iconSize:"24px",iconSpacing:o.spacing_8,iconColor:o.color_grey_800,hoverIconColor:o.color_grey_900,activeIconColor:o.color_black,disabledIconColor:o.color_grey_500,focusColor:o.color_blue_600,focusBorderStyle:o.border_solid,focusBorderThickness:o.border_width_2,focusBorderRadius:o.border_radius_medium},contextualMenu:{fontFamily:o.type_sans,backgroundColor:o.color_white,borderColor:o.color_grey_200,menuItemFontColor:o.color_grey_900,menuItemFontSize:o.type_scale_02,menuItemFontStyle:o.type_normal,menuItemFontWeight:o.type_regular,menuItemLineHeight:"24px",hoverMenuItemBackgroundColor:o.color_grey_100,activeMenuItemBackgroundColor:o.color_grey_100,selectedMenuItemBackgroundColor:o.color_purple_100,hoverSelectedMenuItemBackgroundColor:o.color_purple_200,activeSelectedMenuItemBackgroundColor:o.color_purple_200,selectedMenuItemFontWeight:o.type_semibold,sectionTitleFontColor:o.color_grey_900,sectionTitleFontSize:o.type_scale_03,sectionTitleFontStyle:o.type_normal,sectionTitleFontWeight:o.type_semibold,sectionTitleLineHeight:"24px",iconColor:o.color_grey_900,iconSize:"16px"},dataGrid:{rowSeparatorThickness:"1px",rowSeparatorStyle:o.border_solid,rowSeparatorColor:o.color_grey_300,dataBackgroundColor:o.color_white,dataFontFamily:o.type_sans,dataFontSize:o.type_scale_02,dataFontStyle:o.type_normal,dataFontWeight:o.type_regular,dataFontColor:o.color_black,dataFontTextTransform:"none",dataPaddingRight:o.spacing_8,dataPaddingLeft:o.spacing_8,dataRowHeight:36,dataTextLineHeight:"normal",headerBackgroundColor:o.color_purple_700,headerBorderRadius:"4px",headerFontFamily:o.type_sans,headerFontSize:o.type_scale_02,headerFontStyle:o.type_normal,headerFontWeight:o.type_bold,headerFontColor:o.color_white,headerFontTextTransform:"none",headerPaddingRight:o.spacing_8,headerPaddingLeft:o.spacing_8,headerRowHeight:36,headerTextLineHeight:"normal",headerCheckboxBackgroundColorChecked:o.color_white,headerCheckboxHoverBackgroundColorChecked:o.color_grey_200,headerCheckboxBorderColor:o.color_white,headerCheckboxHoverBorderColor:o.color_white,headerCheckboxCheckColor:o.color_purple_700,summaryRowHeight:36,focusColor:o.color_blue_600,scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,actionIconColor:o.color_purple_700,disabledActionIconColor:o.color_grey_500,hoverActionIconColor:o.color_purple_700,focusActionIconColor:o.color_purple_700,activeActionIconColor:o.color_purple_700,actionBackgroundColor:o.color_transparent,disabledActionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,focusActionBorderColor:o.color_blue_600,activeActionBackgroundColor:o.color_grey_300},dateInput:{pickerBackgroundColor:o.color_white,pickerFontColor:o.color_black,pickerBorderColor:o.color_grey_400,pickerSelectedBackgroundColor:o.color_purple_700,pickerSelectedFontColor:o.color_white,pickerHoverBackgroundColor:o.color_purple_200,pickerHoverFontColor:o.color_black,pickerActiveBackgroundColor:o.color_purple_800,pickerActiveFontColor:o.color_white,pickerNonCurrentMonthFontColor:o.color_grey_500,pickerCurrentDateBorderColor:o.color_purple_300,pickerCurrentDateFontColor:o.color_black,pickerCurrentYearFontColor:o.color_purple_700,pickerHeaderBackgroundColor:o.color_transparent,pickerHeaderFontColor:o.color_black,pickerHeaderHoverBackgroundColor:o.color_purple_200,pickerHeaderHoverFontColor:o.color_black,pickerHeaderActiveBackgroundColor:o.color_purple_800,pickerHeaderActiveFontColor:o.color_white,pickerFocusColor:o.color_blue_600,pickerBorderWidth:o.border_width_1,pickerBorderStyle:o.border_solid,pickerFocusWidth:o.border_width_2,pickerCurrentDateBorderWidth:o.border_width_1,pickerFontFamily:o.type_sans,pickerFontSize:o.type_scale_02,pickerFontWeight:o.type_regular,pickerInteractedYearFontSize:o.type_scale_05,pickerHeaderFontSize:o.type_scale_02},dialog:{overlayColor:o.color_grey_800_a,backgroundColor:o.color_white,closeIconSize:"24px",closeIconTopPosition:"20px",closeIconRightPosition:"20px",closeIconBackgroundColor:o.color_transparent,closeIconBorderColor:o.border_none,closeIconColor:o.color_black,closeIconBorderThickness:o.border_width_0,closeIconBorderStyle:o.border_solid,closeIconBorderRadius:"2px",boxShadowOffsetX:"0px",boxShadowOffsetY:"1px",boxShadowBlur:"3px",boxShadowColor:o.color_grey_300_a},dropdown:{buttonBackgroundColor:o.color_white,hoverButtonBackgroundColor:o.color_grey_100,activeButtonBackgroundColor:o.color_grey_300,buttonFontFamily:o.type_sans,buttonFontSize:o.type_scale_03,buttonFontStyle:o.type_normal,buttonFontWeight:o.type_regular,buttonFontColor:o.color_black,buttonIconSize:"20px",buttonIconSpacing:"10px",buttonIconColor:o.color_black,buttonPaddingTop:o.spacing_0,buttonPaddingBottom:o.spacing_0,buttonPaddingLeft:o.spacing_16,buttonPaddingRight:o.spacing_16,buttonHeight:"40px",buttonBorderRadius:"4px",buttonBorderStyle:o.border_none,buttonBorderThickness:o.border_width_0,buttonBorderColor:o.color_transparent,disabledColor:o.color_grey_500,disabledButtonBackgroundColor:o.color_transparent,disabledButtonBorderColor:o.color_transparent,optionBackgroundColor:o.color_white,hoverOptionBackgroundColor:o.color_grey_100,activeOptionBackgroundColor:o.color_grey_300,optionFontFamily:o.type_sans,optionFontSize:o.type_scale_03,optionFontStyle:o.type_normal,optionFontWeight:o.type_regular,optionFontColor:o.color_black,optionIconSize:"20px",optionIconSpacing:"10px",optionIconColor:o.color_black,optionPaddingTop:"6px",optionPaddingBottom:"6px",optionPaddingLeft:o.spacing_16,optionPaddingRight:o.spacing_16,caretIconSize:"24px",caretIconColor:o.color_black,caretIconSpacing:o.spacing_12,borderRadius:"4px",borderStyle:o.border_none,borderThickness:o.border_width_0,borderColor:o.color_transparent,scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,focusColor:o.color_blue_600},fileInput:{dropBorderColor:o.color_black,fileItemBorderColor:o.color_grey_300,fileNameFontColor:o.color_black,labelFontColor:o.color_black,helperTextFontColor:o.color_black,dropLabelFontColor:o.color_black,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,disabledDropLabelFontColor:o.color_grey_500,focusDropBorderColor:o.color_blue_600,disabledDropBorderColor:o.color_grey_500,dragoverDropBackgroundColor:o.color_blue_50,errorFileItemBorderColor:o.color_red_700,errorFileItemBackgroundColor:o.color_red_50,errorFilePreviewBackgroundColor:o.color_red_200,errorFileItemIconColor:o.color_red_700,fileItemIconBackgroundColor:o.color_grey_100,deleteFileItemColor:o.color_black,errorMessageFontColor:o.color_red_700,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,fileItemFontFamily:o.type_sans,fileItemFontSize:o.type_scale_02,fileItemFontWeight:o.type_regular,fileItemLineHeight:o.type_leading_normal,helperTextFontFamily:o.type_sans,helperTextFontSize:o.type_scale_01,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,dropLabelFontFamily:o.type_sans,dropLabelFontSize:o.type_scale_03,dropLabelFontWeight:o.type_regular,errorMessageFontFamily:o.type_sans,errorMessageFontSize:o.type_scale_01,errorMessageFontWeight:o.type_regular,errorMessageLineHeight:o.type_leading_normal,dropBorderThickness:o.border_width_1,dropBorderStyle:o.border_dashed,dropBorderRadius:o.border_radius_large,fileItemBorderThickness:o.border_width_1,fileItemBorderStyle:o.border_solid,fileItemBorderRadius:o.border_radius_medium,hoverDeleteFileItemBackgroundColor:o.color_grey_100_a,activeDeleteFileItemBackgroundColor:o.color_grey_300_a,focusDeleteFileItemBorderColor:o.color_blue_600,filePreviewBackgroundColor:o.color_grey_100,filePreviewIconColor:o.color_grey_600,errorFilePreviewIconColor:o.color_red_700},footer:{height:"124px",backgroundColor:o.color_black,bottomLinksDividerColor:o.color_blue_600,bottomLinksDividerThickness:"1px",bottomLinksDividerStyle:o.border_solid,bottomLinksDividerSpacing:o.spacing_8,bottomLinksFontFamily:o.type_sans,bottomLinksFontSize:o.type_scale_01,bottomLinksFontStyle:o.type_normal,bottomLinksFontWeight:o.type_regular,bottomLinksFontColor:o.color_white,bottomLinksTextDecoration:o.type_no_line,copyrightFontFamily:o.type_sans,copyrightFontSize:o.type_scale_01,copyrightFontStyle:o.type_normal,copyrightFontWeight:o.type_regular,copyrightFontColor:o.color_white,logo:"",logoHeight:"32px",logoWidth:"auto",socialLinksSize:"24px",socialLinksGutter:o.spacing_16,socialLinksColor:o.color_white},header:{backgroundColor:o.color_white,hamburguerFocusColor:o.color_blue_600,hamburguerFontFamily:o.type_sans,hamburguerFontStyle:o.type_normal,hamburguerFontColor:o.color_black,hamburguerFontSize:"10px",hamburguerFontWeight:o.type_semibold,hamburguerTextTransform:o.type_uppercase,hamburguerIconColor:o.color_black,hamburguerHoverColor:o.color_grey_200,logo:"",logoResponsive:"",logoHeight:"40px",logoWidth:"auto",menuBackgroundColor:o.color_white,menuZindex:"2000",menuTabletWidth:"60vw",menuMobileWidth:"100vw",minHeight:"64px",overlayColor:o.color_grey_800_a,overlayOpacity:"0.7",overlayZindex:"1600",paddingTop:o.spacing_0,paddingBottom:o.spacing_0,paddingRight:o.spacing_24,paddingLeft:o.spacing_24,underlinedColor:o.color_black,underlinedThickness:"2px",underlinedStyle:o.border_solid,contentColor:o.color_black},heading:{level1FontColor:o.inherit,level1FontFamily:o.type_sans,level1FontSize:o.type_scale_07,level1FontStyle:o.type_normal,level1FontWeight:o.type_semibold,level1LineHeight:o.type_leading_compact_01,level1LetterSpacing:o.type_spacing_tight_01,level2FontColor:o.inherit,level2FontFamily:o.type_sans,level2FontSize:o.type_scale_05,level2FontStyle:o.type_normal,level2FontWeight:o.type_semibold,level2LineHeight:o.type_leading_normal,level2LetterSpacing:o.type_spacing_normal,level3FontColor:o.inherit,level3FontFamily:o.type_sans,level3FontSize:o.type_scale_04,level3FontStyle:o.type_normal,level3FontWeight:o.type_semibold,level3LineHeight:o.type_leading_compact_01,level3LetterSpacing:o.type_spacing_wide_01,level4FontColor:o.inherit,level4FontFamily:o.type_sans,level4FontSize:o.type_scale_03,level4FontStyle:o.type_normal,level4FontWeight:o.type_semibold,level4LineHeight:o.type_leading_normal,level4LetterSpacing:o.type_spacing_normal,level5FontColor:o.inherit,level5FontFamily:o.type_sans,level5FontSize:o.type_scale_02,level5FontStyle:o.type_normal,level5FontWeight:o.type_semibold,level5LineHeight:o.type_leading_normal,level5LetterSpacing:o.type_spacing_wide_01},image:{captionFontColor:o.color_grey_900,captionFontFamily:o.type_sans,captionFontSize:o.type_scale_02,captionFontStyle:o.type_normal,captionFontWeight:o.type_regular,captionLineHeight:o.type_leading_normal},link:{fontColor:o.color_blue_800,fontFamily:o.inherit,fontSize:o.inherit,fontStyle:o.type_normal,fontWeight:o.type_regular,iconSize:"16px",iconSpacing:o.spacing_4,underlineSpacing:o.spacing_0,underlineStyle:o.border_solid,underlineThickness:"1px",disabledFontColor:o.color_grey_500,hoverFontColor:o.color_blue_800,hoverUnderlineColor:o.color_blue_800,visitedFontColor:o.color_purple_700,visitedUnderlineColor:o.color_purple_700,activeFontColor:o.color_black,activeUnderlineColor:o.color_black,focusColor:o.color_blue_600},navTabs:{selectedBackgroundColor:o.color_white,unselectedBackgroundColor:o.color_white,hoverBackgroundColor:o.color_grey_100,pressedBackgroundColor:o.color_grey_200,selectedFontColor:o.color_grey_700,unselectedFontColor:o.color_grey_700,disabledFontColor:o.color_grey_500,focusOutline:o.color_blue_600,selectedUnderlineColor:o.color_purple_700,dividerColor:o.color_grey_400,fontFamily:o.type_sans,fontSize:o.type_scale_03,fontStyle:o.type_normal,fontWeight:o.type_regular,selectedIconColor:o.color_grey_700,unselectedIconColor:o.color_grey_700,disabledIconColor:o.color_grey_500},paginator:{backgroundColor:o.color_grey_100,fontColor:o.color_black,fontFamily:o.type_sans,fontSize:o.type_scale_02,fontStyle:o.type_normal,fontWeight:o.type_regular,fontTextTransform:"none",verticalPadding:o.spacing_12,horizontalPadding:o.spacing_32,marginRight:o.spacing_40,marginLeft:"20px",itemsPerPageSelectorMarginLeft:o.spacing_0,itemsPerPageSelectorMarginRight:o.spacing_8,pageSelectorMarginRight:"30px",pageSelectorMarginLeft:o.spacing_0,totalItemsContainerMarginRight:o.spacing_40,totalItemsContainerMarginLeft:o.spacing_0},paragraph:{display:"block",fontColor:o.color_black,fontSize:o.type_scale_03,fontWeight:o.type_regular},progressBar:{trackLineColor:o.color_purple_700,totalLineColor:o.color_grey_200,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_01,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontColor:o.color_black,labelFontTextTransform:o.type_uppercase,valueFontFamily:o.type_sans,valueFontSize:o.type_scale_01,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,valueFontColor:o.color_black,valueFontTextTransform:o.type_uppercase,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextFontFamily:o.type_sans,thickness:"9px",borderRadius:"5px",overlayColor:o.color_grey_800_a,overlayFontColor:o.color_white},quickNav:{fontColor:o.color_grey_700,hoverFontColor:o.color_purple_600,dividerBorderColor:o.color_grey_400,focusBorderColor:o.color_blue_600,focusBorderStyle:o.border_solid,focusBorderThickness:o.border_width_2,focusBorderRadius:o.border_width_2,paddingTop:o.spacing_8,paddingBottom:o.spacing_8,paddingLeft:o.spacing_16,paddingRight:o.spacing_16,fontFamily:o.type_sans,fontSize:o.type_scale_02,fontStyle:o.type_normal,fontWeight:o.type_regular},radioGroup:{fontFamily:o.type_sans,radioInputColor:o.color_blue_700,hoverRadioInputColor:o.color_blue_800,focusBorderColor:o.color_blue_600,activeRadioInputColor:o.color_blue_900,errorRadioInputColor:o.color_red_700,hoverErrorRadioInputColor:o.color_red_800,activeErrorRadioInputColor:o.color_red_900,readOnlyRadioInputColor:o.color_grey_500,hoverReadOnlyRadioInputColor:o.color_grey_600,activeReadOnlyRadioInputColor:o.color_grey_700,disabledRadioInputColor:o.color_grey_500,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,disabledRadioInputLabelFontColor:o.color_grey_500,errorMessageColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,radioInputLabelFontColor:o.color_black,radioInputLabelFontSize:o.type_scale_02,radioInputLabelFontStyle:o.type_normal,radioInputLabelFontWeight:o.type_regular,radioInputLabelLineHeight:o.type_leading_loose_01,groupLabelMargin:o.spacing_8,radioInputLabelMargin:o.spacing_8,groupVerticalGutter:o.spacing_4,groupHorizontalGutter:o.spacing_32},select:{fontFamily:o.type_sans,disabledColor:o.color_grey_500,enabledInputBorderColor:o.color_black,hoverInputBorderColor:o.color_purple_500,focusInputBorderColor:o.color_blue_600,errorInputBorderColor:o.color_red_700,hoverInputErrorBorderColor:o.color_red_600,disabledInputBorderColor:o.color_grey_500,disabledInputBackgroundColor:o.color_grey_100,inputMarginTop:o.spacing_4,inputMarginBottom:o.spacing_4,errorMessageColor:o.color_red_700,errorIconColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,placeholderFontColor:o.color_grey_800_a,valueFontColor:o.color_black,valueFontSize:o.type_scale_03,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,actionIconColor:o.color_black,hoverActionIconColor:o.color_black,activeActionIconColor:o.color_black,actionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,activeActionBackgroundColor:o.color_grey_300,listOptionFontColor:o.color_black,listOptionFontSize:o.type_scale_02,listOptionFontStyle:o.type_normal,listOptionFontWeight:o.type_regular,listOptionIconColor:o.color_black,listOptionDividerColor:o.color_grey_200,listGroupLabelFontWeight:o.type_semibold,focusListOptionBorderColor:o.color_blue_600,systemMessageFontColor:o.color_grey_700,collapseIndicatorColor:o.color_black,listDialogBackgroundColor:o.color_white,listDialogBorderColor:o.color_grey_400,selectedListOptionBackgroundColor:o.color_blue_100,selectedHoverListOptionBackgroundColor:o.color_blue_200,selectedActiveListOptionBackgroundColor:o.color_blue_300,selectedListOptionIconColor:o.color_blue_900,unselectedHoverListOptionBackgroundColor:o.color_grey_100,unselectedActiveListOptionBackgroundColor:o.color_grey_200,selectionIndicatorFontColor:o.color_black,selectionIndicatorFontSize:o.type_scale_01,selectionIndicatorFontStyle:o.type_regular,selectionIndicatorFontWeight:o.type_normal,selectionIndicatorBorderColor:o.color_grey_400,selectionIndicatorBackgroundColor:o.color_grey_50,enabledSelectionIndicatorActionBackgroundColor:o.color_transparent,enabledSelectionIndicatorActionIconColor:o.color_black,hoverSelectionIndicatorActionBackgroundColor:o.color_grey_100,hoverSelectionIndicatorActionIconColor:o.color_black,activeSelectionIndicatorActionBackgroundColor:o.color_grey_300,activeSelectionIndicatorActionIconColor:o.color_black},sidenav:{backgroundColor:o.color_grey_100,titleFontFamily:o.type_sans,titleFontSize:o.type_scale_04,titleFontStyle:o.type_normal,titleFontWeight:o.type_semibold,titleFontColor:o.color_grey_800,titleFontTextTransform:"none",titleFontLetterSpacing:o.type_spacing_normal,groupTitleFontFamily:o.type_sans,groupTitleFontSize:o.type_scale_02,groupTitleFontStyle:o.type_normal,groupTitleFontWeight:o.type_semibold,groupTitleFontColor:o.color_black,groupTitleHoverBackgroundColor:o.color_grey_200,groupTitleActiveBackgroundColor:o.color_grey_800,groupTitleSelectedFontColor:o.color_white,groupTitleSelectedBackgroundColor:o.color_grey_800,groupTitleSelectedHoverFontColor:o.color_white,groupTitleSelectedHoverBackgroundColor:o.color_grey_900,groupTitleFontTextTransform:o.type_uppercase,groupTitleFontLetterSpacing:o.type_spacing_wide_02,linkFontFamily:o.type_sans,linkFontSize:o.type_scale_02,linkFontStyle:o.type_normal,linkFontWeight:o.type_regular,linkFontColor:o.color_grey_800,linkHoverBackgroundColor:o.color_grey_200,linkSelectedFontColor:o.color_white,linkSelectedBackgroundColor:o.color_grey_800,linkSelectedHoverFontColor:o.color_white,linkSelectedHoverBackgroundColor:o.color_grey_900,linkFontTextTransform:"none",linkFontLetterSpacing:o.type_spacing_wide_01,linkTextDecoration:o.type_no_line,linkMarginTop:o.spacing_4,linkMarginBottom:o.spacing_4,linkMarginRight:o.spacing_16,linkMarginLeft:o.spacing_16,linkFocusColor:o.color_blue_600,scrollBarThumbColor:o.color_grey_200_a,scrollBarTrackColor:o.color_transparent},slider:{fontFamily:o.type_sans,limitValuesFontColor:o.color_black,limitValuesFontSize:o.type_scale_03,limitValuesFontStyle:o.type_normal,limitValuesFontWeight:o.type_regular,limitValuesFontLetterSpacing:o.type_spacing_normal,disabledLimitValuesFontColor:o.color_grey_500,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,helperTextFontFamily:o.type_sans,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,fontColor:o.color_black,labelFontColor:o.color_black,helperTextFontColor:o.color_black,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,thumbHeight:"12px",thumbWidth:"12px",hoverThumbHeight:"14px",hoverThumbWidth:"14px",thumbVerticalPosition:"12px",hoverThumbVerticalPosition:"11px",thumbBackgroundColor:o.color_blue_800,hoverThumbScale:"1.166666",hoverThumbBackgroundColor:o.color_blue_900,activeThumbScale:"1.166666",activeThumbBackgroundColor:o.color_blue_900,focusThumbBackgroundColor:o.color_blue_800,tickHeight:"4px",tickWidth:"4px",tickVerticalPosition:"11px",tickBackgroundColor:o.color_blue_800,trackLineThickness:"2px",trackLineVerticalPosition:"50%",trackLineColor:o.color_blue_800,totalLineThickness:"2px",totalLineVerticalPosition:"50%",totalLineColor:o.color_grey_200_a,disabledThumbVerticalPosition:"10px",disabledThumbBackgroundColor:o.color_grey_500,disabledTickVerticalPosition:"11px",disabledTickBackgroundColor:o.color_grey_500,disabledTrackLineColor:o.color_grey_500,disabledTotalLineColor:o.color_grey_100,focusColor:o.color_blue_600,floorLabelMarginRight:o.type_scale_03,ceilLabelMarginLeft:o.type_scale_03,inputMarginLeft:o.type_scale_06},spinner:{trackCircleColor:o.color_purple_700,trackCircleColorOverlay:o.color_purple_500,totalCircleColor:o.color_white,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontColor:o.color_black,labelTextAlign:"center",progressValueFontFamily:o.type_sans,progressValueFontSize:o.type_scale_02,progressValueFontStyle:o.type_normal,progressValueFontWeight:o.type_bold,progressValueFontColor:o.inherit,progressValueTextAlign:"center",overlayBackgroundColor:o.color_black,overlayOpacity:"0.8",overlayLabelFontFamily:o.type_sans,overlayLabelFontSize:o.type_scale_02,overlayLabelFontStyle:o.type_normal,overlayLabelFontWeight:o.type_regular,overlayLabelFontColor:o.color_white,overlayLabelTextAlign:"center",overlayProgressValueFontFamily:o.type_sans,overlayProgressValueFontSize:o.type_scale_02,overlayProgressValueFontStyle:o.type_normal,overlayProgressValueFontWeight:o.type_bold,overlayProgressValueFontColor:o.color_white,overlayProgressValueTextAlign:"center"},switch:{checkedTrackBackgroundColor:o.color_purple_700,checkedThumbBackgroundColor:o.color_white,uncheckedTrackBackgroundColor:o.color_grey_400,uncheckedThumbBackgroundColor:o.color_white,disabledCheckedTrackBackgroundColor:o.color_purple_100,disabledCheckedThumbBackgroundColor:o.color_white,disabledUncheckedTrackBackgroundColor:o.color_grey_100,disabledUncheckedThumbBackgroundColor:o.color_white,disabledLabelFontColor:o.color_grey_500,disabledLabelFontStyle:o.type_normal,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_03,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontColor:o.color_black,thumbFocusColor:o.color_blue_600,thumbHeight:"24px",thumbWidth:"24px",thumbShift:"1.25rem",trackHeight:"12px",trackWidth:"36px",spaceBetweenLabelSwitch:o.spacing_8},table:{rowSeparatorThickness:"1px",rowSeparatorStyle:o.border_solid,rowSeparatorColor:o.color_grey_300,dataBackgroundColor:o.color_white,dataFontFamily:o.type_sans,dataFontSize:o.type_scale_02,dataFontStyle:o.type_normal,dataFontWeight:o.type_regular,dataFontColor:o.color_black,dataFontTextTransform:"none",dataPaddingTop:o.spacing_16,dataPaddingBottom:o.spacing_16,dataPaddingRight:"20px",dataPaddingLeft:"20px",dataPaddingTopReduced:o.spacing_8,dataPaddingBottomReduced:o.spacing_8,dataPaddingRightReduced:o.spacing_16,dataPaddingLeftReduced:o.spacing_16,dataTextAlign:"left",dataTextLineHeight:"normal",firstChildPaddingLeft:o.spacing_24,lastChildPaddingRight:o.spacing_24,firstChildPaddingLeftReduced:"20px",lastChildPaddingRightReduced:"20px",headerBackgroundColor:o.color_purple_700,headerBorderRadius:"4px",headerFontFamily:o.type_sans,headerFontSize:o.type_scale_02,headerFontStyle:o.type_normal,headerFontWeight:o.type_regular,headerFontColor:o.color_white,headerFontTextTransform:"none",headerPaddingTop:o.spacing_16,headerPaddingBottom:o.spacing_16,headerPaddingRight:"20px",headerPaddingLeft:"20px",headerPaddingTopReduced:o.spacing_8,headerPaddingBottomReduced:o.spacing_8,headerPaddingRightReduced:o.spacing_16,headerPaddingLeftReduced:o.spacing_16,headerTextAlign:"left",headerTextLineHeight:"normal",scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,sortIconColor:o.color_white,actionIconColor:o.color_purple_700,disabledActionIconColor:o.color_grey_500,hoverActionIconColor:o.color_purple_700,focusActionIconColor:o.color_purple_700,activeActionIconColor:o.color_purple_700,actionBackgroundColor:o.color_transparent,disabledActionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,focusActionBorderColor:o.color_blue_600,activeActionBackgroundColor:o.color_grey_300},tabs:{fontFamily:o.type_sans,fontSize:o.type_scale_03,fontStyle:o.type_normal,fontWeight:o.type_semibold,fontTextTransform:"none",selectedBackgroundColor:o.color_white,selectedFontColor:o.color_purple_700,selectedIconColor:o.color_purple_700,selectedUnderlineColor:o.color_purple_700,selectedUnderlineThickness:"2px",unselectedBackgroundColor:o.color_white,unselectedFontColor:o.color_grey_700,unselectedIconColor:o.color_grey_700,disabledFontColor:o.color_grey_500,disabledIconColor:o.color_grey_500,disabledFontStyle:o.type_normal,hoverBackgroundColor:o.color_purple_100,pressedBackgroundColor:o.color_purple_200,pressedFontWeight:o.type_semibold,dividerColor:o.color_grey_400,dividerThickness:"1px",focusOutline:o.color_purple_700,scrollButtonsWidth:"48px"},tag:{fontFamily:o.type_sans,fontColor:o.color_black,fontSize:o.type_scale_02,fontStyle:o.type_normal,fontWeight:o.type_regular,labelPaddingTop:o.spacing_0,labelPaddingBottom:o.spacing_0,labelPaddingLeft:o.spacing_16,labelPaddingRight:o.spacing_16,height:"40px",iconColor:o.color_white,iconSectionWidth:"40px",iconHeight:"24px",iconWidth:"auto",focusColor:o.color_blue_600},textarea:{fontFamily:o.type_sans,enabledBorderColor:o.color_black,hoverBorderColor:o.color_purple_500,focusBorderColor:o.color_blue_600,disabledBorderColor:o.color_grey_500,disabledContainerFillColor:o.color_grey_100,readOnlyBorderColor:o.color_grey_500,hoverReadOnlyBorderColor:o.color_grey_600,errorBorderColor:o.color_red_700,hoverErrorBorderColor:o.color_red_600,inputMarginTop:o.spacing_4,inputMarginBottom:o.spacing_4,errorMessageColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,disabledLabelFontColor:o.color_grey_500,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,disabledHelperTextFontColor:o.color_grey_500,placeholderFontColor:o.color_grey_800_a,disabledPlaceholderFontColor:o.color_grey_500,valueFontColor:o.color_black,valueFontSize:o.type_scale_03,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,disabledValueFontColor:o.color_grey_500},textInput:{fontFamily:o.type_sans,enabledBorderColor:o.color_black,hoverBorderColor:o.color_purple_500,focusBorderColor:o.color_blue_600,disabledBorderColor:o.color_grey_500,disabledContainerFillColor:o.color_grey_100,readOnlyBorderColor:o.color_grey_500,hoverReadOnlyBorderColor:o.color_grey_600,errorBorderColor:o.color_red_700,hoverErrorBorderColor:o.color_red_600,inputMarginTop:o.spacing_4,inputMarginBottom:o.spacing_4,errorMessageColor:o.color_red_700,errorIconColor:o.color_red_700,labelFontColor:o.color_black,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,disabledLabelFontColor:o.color_grey_500,optionalLabelFontWeight:o.type_regular,helperTextFontColor:o.color_black,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,disabledHelperTextFontColor:o.color_grey_500,prefixColor:o.color_grey_700,prefixDividerBorderWidth:"1px",prefixDividerBorderStyle:o.border_solid,prefixDividerPaddingRight:o.spacing_8,suffixColor:o.color_grey_700,suffixDividerBorderStyle:o.border_solid,suffixDividerBorderWidth:"1px",suffixDividerPaddingLeft:o.spacing_8,disabledPrefixColor:o.color_grey_400,disabledSuffixColor:o.color_grey_400,placeholderFontColor:o.color_grey_800_a,disabledPlaceholderFontColor:o.color_grey_500,valueFontColor:o.color_black,valueFontSize:o.type_scale_03,valueFontStyle:o.type_normal,valueFontWeight:o.type_regular,disabledValueFontColor:o.color_grey_500,actionIconColor:o.color_black,disabledActionIconColor:o.color_grey_500,hoverActionIconColor:o.color_black,focusActionIconColor:o.color_black,activeActionIconColor:o.color_black,actionBackgroundColor:o.color_transparent,disabledActionBackgroundColor:o.color_transparent,hoverActionBackgroundColor:o.color_grey_100,focusActionBorderColor:o.color_blue_600,activeActionBackgroundColor:o.color_grey_300,listDialogBackgroundColor:o.color_white,listDialogBorderColor:o.color_grey_400,listOptionDividerColor:o.color_grey_200,listOptionFontColor:o.color_black,listOptionFontSize:o.type_scale_02,listOptionFontStyle:o.type_normal,listOptionFontWeight:o.type_regular,systemMessageFontColor:o.color_grey_700,errorListDialogFontColor:o.color_black,errorListDialogBackgroundColor:o.color_red_50,errorListDialogBorderColor:o.color_red_700,hoverListOptionBackgroundColor:o.color_grey_100,activeListOptionBackgroundColor:o.color_grey_200,focusListOptionBorderColor:o.color_blue_600},toggleGroup:{containerBackgroundColor:o.color_grey_50,containerBorderColor:o.color_grey_500,labelFontColor:o.color_black,disabledLabelFontColor:o.color_grey_500,helperTextFontColor:o.color_black,disabledHelperTextFontColor:o.color_grey_500,unselectedBackgroundColor:o.color_grey_200,unselectedHoverBackgroundColor:o.color_grey_300,unselectedActiveBackgroundColor:o.color_purple_700,unselectedDisabledBackgroundColor:o.color_grey_100,unselectedFontColor:o.color_black,unselectedDisabledFontColor:o.color_grey_500,selectedBackgroundColor:o.color_purple_700,selectedHoverBackgroundColor:o.color_purple_800,selectedActiveBackgroundColor:o.color_purple_900,selectedDisabledBackgroundColor:o.color_purple_100,selectedFontColor:o.color_white,selectedDisabledFontColor:o.color_purple_300,focusColor:o.color_blue_600,labelFontFamily:o.type_sans,labelFontSize:o.type_scale_02,labelFontStyle:o.type_normal,labelFontWeight:o.type_semibold,labelLineHeight:o.type_leading_loose_01,helperTextFontFamily:o.type_sans,helperTextFontSize:o.type_scale_01,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextLineHeight:o.type_leading_normal,optionLabelFontFamily:o.type_sans,optionLabelFontSize:o.type_scale_03,optionLabelFontStyle:o.type_normal,optionLabelFontWeight:o.type_regular,iconPaddingRight:o.spacing_8,iconPaddingLeft:o.spacing_8,labelPaddingLeft:o.spacing_24,labelPaddingRight:o.spacing_24,iconMarginRight:o.spacing_8,containerMarginTop:o.spacing_4,optionBorderThickness:o.border_width_0,optionBorderStyle:o.border_none,optionBorderRadius:o.border_radius_medium,containerBorderThickness:o.border_width_1,containerBorderStyle:o.border_solid,containerBorderRadius:o.border_radius_large,optionFocusBorderThickness:o.border_width_2},wizard:{visitedStepFontColor:o.color_black,visitedStepBackgroundColor:o.color_white,visitedStepBorderColor:o.color_black,unvisitedStepFontColor:o.color_grey_700,unvisitedLabelFontColor:o.color_grey_700,unvisitedHelperTextFontColor:o.color_grey_700,unvisitedStepBackgroundColor:o.color_transparent,unvisitedStepBorderColor:o.color_grey_700,selectedStepFontColor:o.color_white,selectedStepBackgroundColor:o.color_purple_700,selectedStepBorderColor:o.color_purple_700,selectedLabelFontColor:o.color_black,selectedHelperTextFontColor:o.color_black,selectedStepWidth:"32px",selectedStepHeight:"32px",selectedStepBorderThickness:"2px",selectedStepBorderStyle:o.border_solid,selectedStepBorderRadius:"45px",stepFontSize:o.type_scale_03,stepFontFamily:o.type_sans,stepFontStyle:o.type_normal,stepFontWeight:o.type_regular,stepFontTracking:o.type_spacing_wide_02,stepIconSize:"20px",stepWidth:"32px",stepHeight:"32px",stepBorderThickness:"2px",stepBorderStyle:o.border_solid,stepBorderRadius:"45px",visitedLabelFontColor:o.color_black,labelFontSize:o.type_scale_03,labelFontFamily:o.type_sans,labelFontStyle:o.type_normal,labelFontWeight:o.type_regular,labelFontTracking:o.type_spacing_normal,labelFontTextTransform:"none",labelTextAlign:"left",helperTextFontSize:o.type_scale_02,helperTextFontFamily:o.type_sans,helperTextFontStyle:o.type_normal,helperTextFontWeight:o.type_regular,helperTextFontTracking:o.type_spacing_normal,helperTextFontTextTransform:"none",visitedHelperTextFontColor:o.color_black,helperTextTextAlign:"left",disabledStepBackgroundColor:o.color_grey_100,disabledStepFontColor:o.color_grey_500,disabledLabelFontColor:o.color_grey_500,disabledHelperTextFontColor:o.color_grey_500,disabledStepBorderColor:o.color_grey_100,disabledStepWidth:"32px",disabledStepHeight:"32px",disabledStepBorderThickness:"2px",disabledStepBorderStyle:o.border_solid,disabledStepBorderRadius:"45px",separatorBorderThickness:"1px",separatorBorderStyle:o.border_solid,separatorColor:o.color_grey_700,focusColor:o.color_blue_600}},p={xxsmall:o.spacing_4,xsmall:o.spacing_8,small:o.spacing_12,medium:o.spacing_16,large:o.spacing_24,xlarge:o.spacing_32,xxlarge:o.spacing_48},de={xsmall:"20",small:"30",medium:"45",large:"66",xlarge:"90"},kr={applicationLayout:{visibilityToggleTitle:"Toggle sidenav visibility"},alert:{infoTitleText:"information",successTitleText:"success",warningTitleText:"warning",errorTitleText:"error"},calendar:{daysShort:["Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],previousMonthTitle:"Previous month",nextMonthTitle:"Next month"},dateInput:{invalidDateErrorMessage:"Invalid date."},dialog:{closeIconAriaLabel:"Close dialog"},fileInput:{fileSizeGreaterThanErrorMessage:"File size must be greater than min size.",fileSizeLessThanErrorMessage:"File size must be less than max size.",multipleButtonLabelDefault:"Select files",singleButtonLabelDefault:"Select file",dropAreaButtonLabelDefault:"Select",multipleDropAreaLabelDefault:"or drop files",singleDropAreaLabelDefault:"or drop a file",deleteFileActionTitle:"Remove file"},footer:{copyrightText:e=>`\xA9 DXC Technology ${e}. All rights reserved.`},formFields:{optionalLabel:"(Optional)",requiredSelectionErrorMessage:"This field is required. Please, choose an option.",requiredValueErrorMessage:"This field is required. Please, enter a value.",formatRequestedErrorMessage:"Please match the format requested.",lengthErrorMessage:(e,t)=>`Min length ${e}, max length ${t}.`,logoAlternativeText:"Logo"},header:{closeIcon:"Close menu",hamburguerTitle:"Menu"},numberInput:{valueGreaterThanOrEqualToErrorMessage:e=>`Value must be greater than or equal to ${e}.`,valueLessThanOrEqualToErrorMessage:e=>`Value must be less than or equal to ${e}.`,decrementValueTitle:"Decrement value",incrementValueTitle:"Increment value"},paginator:{itemsPerPageText:"Items per page: ",minToMaxOfText:(e,t,r)=>`${e} to ${t} of ${r}`,goToPageText:"Go to page:",pageOfText:(e,t)=>`Page: ${e} of ${t}`},passwordInput:{inputShowPasswordTitle:"Show password",inputHidePasswordTitle:"Hide password"},quickNav:{contentTitle:"Contents"},radioGroup:{optionalItemLabelDefault:"N/A"},select:{noMatchesErrorMessage:"No matches found",actionClearSelectionTitle:"Clear selection",actionClearSearchTitle:"Clear search"},tabs:{scrollLeft:"Scroll left",scrollRight:"Scroll right"},textInput:{clearFieldActionTitle:"Clear field",searchingMessage:"Searching...",fetchingDataErrorMessage:"Error fetching data"},toast:{clearToastActionTitle:"Clear toast"}};var X=(e,t)=>e&&typeof e=="object"?e[t]&&p[e[t]]||"0px":e&&typeof e=="string"?p[e]:"0px";var Si=require("react");var rr=require("react"),Qn=F(require("color"));var qn=require("react/jsx-runtime"),Fr=(0,rr.createContext)(null),wr=(0,rr.createContext)(null),se=(e,t)=>{try{if(t){let n=(0,Qn.default)(t).hsl(),i=n.lightness();return n.lightness(i+e).hex()}}catch{return null}},me=(e,t)=>{try{if(t){let n=(0,Qn.default)(t).hsl(),i=n.lightness();return n.lightness(i-e).hex()}}catch{return null}},Rd=e=>{let t=JSON.parse(JSON.stringify(ee));return Object.keys(t).map(r=>{e[r]&&Object.keys(e[r]).map(n=>{e[r][n]&&(t[r][n]=e[r][n])})}),t},Hd=e=>{let t=JSON.parse(JSON.stringify(ee)),r=t.accordion;r.assistiveTextFontColor=e?.accordion?.assistiveTextFontColor??r.assistiveTextFontColor,r.titleLabelFontColor=e?.accordion?.titleFontColor??r.titleLabelFontColor,r.arrowColor=e?.accordion?.accentColor??r.arrowColor,r.iconColor=e?.accordion?.accentColor??r.iconColor,r.hoverBackgroundColor=se(57,e?.accordion?.accentColor)??r.hoverBackgroundColor;let n=t.alert;n.infoBackgroundColor=e?.alert?.baseColor??n.infoBackgroundColor,n.infoIconColor=e?.alert?.accentColor??n.infoIconColor,n.infoBorderColor=e?.alert?.accentColor??n.infoBorderColor,n.overlayColor=e?.alert?.overlayColor??n.overlayColor;let i=t.button;i.primaryDefaultFontColor=e?.button?.primaryFontColor??i.primaryDefaultFontColor,i.primaryDefaultBackgroundColor=e?.button?.baseColor??i.primaryDefaultBackgroundColor,i.secondaryDefaultFontColor=e?.button?.baseColor??i.secondaryDefaultFontColor,i.secondaryHoverDefaultFontColor=e?.button?.secondaryHoverFontColor??i.secondaryHoverDefaultFontColor,i.secondaryDefaultBorderColor=e?.button?.baseColor??i.secondaryDefaultBorderColor,i.secondaryHoverDefaultBackgroundColor=e?.button?.baseColor??i.secondaryHoverDefaultBackgroundColor,i.tertiaryDefaultFontColor=e?.button?.baseColor??i.tertiaryDefaultFontColor,i.primaryHoverDefaultBackgroundColor=me(8,e?.button?.baseColor)??i.primaryHoverDefaultBackgroundColor,i.primaryActiveDefaultBackgroundColor=me(18,e?.button?.baseColor)??i.primaryActiveDefaultBackgroundColor,i.secondaryActiveDefaultBackgroundColor=me(18,e?.button?.baseColor)??i.secondaryActiveDefaultBackgroundColor,i.tertiaryHoverDefaultBackgroundColor=se(57,e?.button?.baseColor)??i.tertiaryHoverDefaultBackgroundColor,i.tertiaryActiveDefaultBackgroundColor=se(52,e?.button?.baseColor)??i.tertiaryActiveDefaultBackgroundColor,i.primaryDisabledDefaultBackgroundColor=se(42,e?.button?.baseColor)??i.primaryDisabledDefaultBackgroundColor,i.primaryDisabledDefaultFontColor=se(42,e?.button?.primaryFontColor)??i.primaryDisabledDefaultFontColor,i.secondaryDisabledDefaultBorderColor=se(42,e?.button?.baseColor)??i.secondaryDisabledDefaultBorderColor,i.secondaryDisabledDefaultFontColor=se(42,e?.button?.baseColor)??i.secondaryDisabledDefaultFontColor,i.tertiaryDisabledDefaultFontColor=se(42,e?.button?.baseColor)??i.tertiaryDisabledDefaultFontColor;let l=t.checkbox;l.backgroundColorChecked=e?.checkbox?.baseColor??l.backgroundColorChecked,l.borderColor=e?.checkbox?.baseColor??l.borderColor,l.checkColor=e?.checkbox?.checkColor??l.checkColor,l.fontColor=e?.checkbox?.fontColor??l.fontColor,l.hoverBackgroundColorChecked=me(15,e?.checkbox?.baseColor)??l.hoverBackgroundColorChecked,l.hoverBorderColor=me(15,e?.checkbox?.baseColor)??l.hoverBorderColor;let a=t.chip;a.backgroundColor=e?.chip?.baseColor??a.backgroundColor,a.fontColor=e?.chip?.fontColor??a.fontColor,a.iconColor=e?.chip?.iconColor??a.iconColor,a.hoverIconColor=me(10,e?.chip?.iconColor)??a.hoverIconColor,a.activeIconColor=me(30,e?.chip?.iconColor)??a.activeIconColor;let c=t.contextualMenu;c.selectedMenuItemBackgroundColor=e?.contextualMenu?.accentColor??c.selectedMenuItemBackgroundColor,c.hoverSelectedMenuItemBackgroundColor=me(5,e?.contextualMenu?.accentColor)??c.hoverSelectedMenuItemBackgroundColor,c.activeSelectedMenuItemBackgroundColor=me(5,e?.contextualMenu?.accentColor)??c.activeSelectedMenuItemBackgroundColor,c.backgroundColor=e?.contextualMenu?.baseColor??c.backgroundColor,c.hoverMenuItemBackgroundColor=me(5,e?.contextualMenu?.baseColor)??c.hoverMenuItemBackgroundColor,c.activeMenuItemBackgroundColor=me(5,e?.contextualMenu?.baseColor)??c.activeMenuItemBackgroundColor,c.menuItemFontColor=e?.contextualMenu?.fontColor??c.menuItemFontColor,c.sectionTitleFontColor=e?.contextualMenu?.fontColor??c.sectionTitleFontColor,c.iconColor=e?.contextualMenu?.iconColor??c.iconColor;let d=t.dataGrid;d.headerBackgroundColor=e?.dataGrid?.baseColor??d.headerBackgroundColor,d.headerFontColor=e?.dataGrid?.headerFontColor??d.headerFontColor,d.dataFontColor=e?.dataGrid?.cellFontColor??d.dataFontColor,d.headerCheckboxCheckColor=e?.dataGrid?.baseColor??d.headerCheckboxCheckColor,d.actionIconColor=e?.dataGrid?.baseColor??d.actionIconColor,d.hoverActionIconColor=e?.dataGrid?.baseColor??d.hoverActionIconColor,d.focusActionIconColor=e?.dataGrid?.baseColor??d.focusActionIconColor,d.activeActionIconColor=e?.dataGrid?.baseColor??d.activeActionIconColor;let s=t.dateInput;s.pickerSelectedBackgroundColor=e?.dateInput?.baseColor??s.pickerSelectedBackgroundColor,s.pickerSelectedFontColor=e?.dateInput?.selectedFontColor??s.pickerSelectedFontColor,s.pickerActiveBackgroundColor=me(8,e?.dateInput?.baseColor)??s.pickerActiveBackgroundColor,s.pickerActiveFontColor=e?.dateInput?.selectedFontColor??s.pickerActiveFontColor,s.pickerCurrentYearFontColor=e?.dateInput?.baseColor??s.pickerCurrentYearFontColor,s.pickerHeaderActiveBackgroundColor=me(8,e?.dateInput?.baseColor)??s.pickerHeaderActiveBackgroundColor,s.pickerHeaderActiveFontColor=e?.dateInput?.selectedFontColor??s.pickerHeaderActiveFontColor,s.pickerHoverBackgroundColor=se(52,e?.dateInput?.baseColor)??s.pickerHoverBackgroundColor,s.pickerCurrentDateBorderColor=se(42,e?.dateInput?.baseColor)??s.pickerCurrentDateBorderColor,s.pickerHeaderHoverBackgroundColor=se(52,e?.dateInput?.baseColor)??s.pickerHeaderHoverBackgroundColor;let m=t.dialog;m.backgroundColor=e?.dialog?.baseColor??m.backgroundColor,m.closeIconColor=e?.dialog?.closeIconColor??m.closeIconColor,m.overlayColor=e?.dialog?.overlayColor??m.overlayColor;let g=t.dropdown;g.buttonBackgroundColor=e?.dropdown?.baseColor??g.buttonBackgroundColor,g.buttonFontColor=e?.dropdown?.fontColor??g.buttonFontColor,g.buttonIconColor=e?.dropdown?.fontColor??g.caretIconColor,g.caretIconColor=e?.dropdown?.fontColor??g.caretIconColor,g.optionFontColor=e?.dropdown?.optionFontColor??g.optionFontColor,g.optionIconColor=e?.dropdown?.optionFontColor??g.optionIconColor,g.hoverButtonBackgroundColor=me(5,e?.dropdown?.baseColor)??g.hoverButtonBackgroundColor,g.activeButtonBackgroundColor=me(12,e?.dropdown?.baseColor)??g.activeButtonBackgroundColor,g.hoverOptionBackgroundColor=me(5,e?.dropdown?.baseColor)??g.hoverOptionBackgroundColor,g.activeOptionBackgroundColor=me(20,e?.dropdown?.baseColor)??g.activeOptionBackgroundColor;let u=t.fileInput;u.labelFontColor=e?.fileInput?.fontColor??u.labelFontColor,u.helperTextFontColor=e?.fileInput?.fontColor??u.helperTextFontColor,u.dropLabelFontColor=e?.fileInput?.fontColor??u.dropLabelFontColor,u.fileNameFontColor=e?.fileInput?.fontColor??u.fileNameFontColor;let h=t.footer;h.backgroundColor=e?.footer?.baseColor??h.backgroundColor,h.bottomLinksFontColor=e?.footer?.fontColor??h.bottomLinksFontColor,h.copyrightFontColor=e?.footer?.fontColor??h.copyrightFontColor,h.socialLinksColor=e?.footer?.fontColor??h.socialLinksColor,h.bottomLinksDividerColor=e?.footer?.accentColor??h.bottomLinksDividerColor,h.logo=e?.footer?.logo??h.logo;let y=t.header;y.backgroundColor=e?.header?.baseColor??y.backgroundColor,y.underlinedColor=e?.header?.accentColor??y.underlinedColor,y.menuBackgroundColor=e?.header?.menuBaseColor??y.menuBackgroundColor,y.hamburguerFontColor=e?.header?.fontColor??y.hamburguerFontColor,y.hamburguerIconColor=e?.header?.hamburguerColor??y.hamburguerIconColor,y.hamburguerHoverColor=se(90,e?.header?.hamburguerColor)??y.hamburguerHoverColor,y.logo=e?.header?.logo??y.logo,y.logoResponsive=e?.header?.logoResponsive??y.logoResponsive,y.contentColor=e?.header?.contentColor??y.contentColor,y.overlayColor=e?.header?.overlayColor??y.overlayColor;let v=t.link;v.visitedFontColor=e?.link?.baseColor??v.visitedFontColor,v.visitedUnderlineColor=e?.link?.baseColor??v.visitedUnderlineColor;let f=t.navTabs;f.selectedFontColor=e?.navTabs?.baseColor??f.selectedFontColor,f.unselectedFontColor=e?.navTabs?.baseColor??f.selectedFontColor,f.selectedIconColor=e?.navTabs?.baseColor??f.selectedIconColor,f.unselectedIconColor=e?.navTabs?.baseColor??f.selectedIconColor,f.selectedUnderlineColor=e?.navTabs?.accentColor??f.selectedUnderlineColor,f.hoverBackgroundColor=se(55,e?.navTabs?.baseColor)??f.hoverBackgroundColor,f.pressedBackgroundColor=se(50,e?.navTabs?.baseColor)??f.pressedBackgroundColor;let _=t.paginator;_.backgroundColor=e?.paginator?.baseColor??_.backgroundColor,_.fontColor=e?.paginator?.fontColor??_.fontColor;let x=t.progressBar;x.trackLineColor=e?.progressBar?.accentColor??x.trackLineColor,x.totalLineColor=e?.progressBar?.baseColor??x.totalLineColor,x.labelFontColor=e?.progressBar?.fontColor??x.labelFontColor,x.valueFontColor=e?.progressBar?.fontColor??x.valueFontColor,x.helperTextFontColor=e?.progressBar?.fontColor??x.helperTextFontColor,x.overlayColor=e?.progressBar?.overlayColor??x.overlayColor,x.overlayFontColor=e?.progressBar?.overlayFontColor??x.overlayFontColor;let b=t.quickNav;b.fontColor=e?.quickNav?.fontColor??b.fontColor,b.hoverFontColor=e?.quickNav?.accentColor??b.hoverFontColor;let D=t.radioGroup;D.radioInputColor=e?.radioGroup?.baseColor??D.radioInputColor,D.labelFontColor=e?.radioGroup?.fontColor??D.labelFontColor,D.helperTextFontColor=e?.radioGroup?.fontColor??D.helperTextFontColor,D.radioInputLabelFontColor=e?.radioGroup?.fontColor??D.radioInputLabelFontColor,D.hoverRadioInputColor=me(10,e?.radioGroup?.baseColor)??D.radioInputColor,D.activeRadioInputColor=me(25,e?.radioGroup?.baseColor)??D.radioInputColor;let P=t.select;P.selectedListOptionBackgroundColor=e?.select?.selectedOptionBackgroundColor??P.selectedListOptionBackgroundColor,P.valueFontColor=e?.select?.fontColor??P.valueFontColor,P.labelFontColor=e?.select?.fontColor??P.labelFontColor,P.helperTextFontColor=e?.select?.fontColor??P.helperTextFontColor,P.listOptionFontColor=e?.select?.optionFontColor??P.listOptionFontColor,P.listOptionIconColor=e?.select?.optionFontColor??P.listOptionIconColor,P.placeholderFontColor=se(30,e?.select?.fontColor)??P.placeholderFontColor,P.collapseIndicatorColor=e?.select?.fontColor??P.collapseIndicatorColor,P.hoverInputBorderColor=e?.select?.hoverBorderColor??P.hoverInputBorderColor,P.selectedHoverListOptionBackgroundColor=me(5,e?.select?.selectedOptionBackgroundColor)??P.selectedHoverListOptionBackgroundColor,P.selectedActiveListOptionBackgroundColor=me(15,e?.select?.selectedOptionBackgroundColor)??P.selectedActiveListOptionBackgroundColor;let B=t.sidenav;B.backgroundColor=e?.sidenav?.baseColor??B.backgroundColor;let M=t.slider;M.labelFontColor=e?.slider?.fontColor??M.labelFontColor,M.helperTextFontColor=e?.slider?.fontColor??M.helperTextFontColor,M.limitValuesFontColor=e?.slider?.fontColor??M.limitValuesFontColor,M.thumbBackgroundColor=e?.slider?.baseColor??M.thumbBackgroundColor,M.focusThumbBackgroundColor=e?.slider?.baseColor??M.focusThumbBackgroundColor,M.tickBackgroundColor=e?.slider?.baseColor??M.tickBackgroundColor,M.trackLineColor=e?.slider?.baseColor??M.trackLineColor,M.totalLineColor=e?.slider?.totalLineColor??M.totalLineColor,M.hoverThumbBackgroundColor=me(15,e?.slider?.baseColor)??M.thumbBackgroundColor,M.activeThumbBackgroundColor=me(15,e?.slider?.baseColor)??M.thumbBackgroundColor;let H=t.spinner;H.trackCircleColor=e?.spinner?.accentColor??H.trackCircleColor,H.totalCircleColor=e?.spinner?.baseColor??H.totalCircleColor,H.trackCircleColorOverlay=e?.spinner?.overlayColor??H.trackCircleColorOverlay,H.labelFontColor=e?.spinner?.fontColor??H.labelFontColor,H.progressValueFontColor=e?.spinner?.fontColor??H.progressValueFontColor,H.overlayLabelFontColor=e?.spinner?.overlayFontColor??H.overlayLabelFontColor,H.overlayProgressValueFontColor=e?.spinner?.overlayFontColor??H.overlayProgressValueFontColor;let w=t.switch;w.checkedTrackBackgroundColor=e?.switch?.checkedBaseColor??w.checkedTrackBackgroundColor,w.labelFontColor=e?.switch?.fontColor??w.labelFontColor,w.disabledCheckedTrackBackgroundColor=se(57,e?.switch?.checkedBaseColor)??w.disabledCheckedTrackBackgroundColor;let S=t.table;S.headerBackgroundColor=e?.table?.baseColor??S.headerBackgroundColor,S.headerFontColor=e?.table?.headerFontColor??S.headerFontColor,S.dataFontColor=e?.table?.cellFontColor??S.dataFontColor,S.sortIconColor=e?.table?.headerFontColor??S.sortIconColor,S.actionIconColor=e?.table?.baseColor??S.actionIconColor,S.hoverActionIconColor=e?.table?.baseColor??S.hoverActionIconColor,S.focusActionIconColor=e?.table?.baseColor??S.focusActionIconColor,S.activeActionIconColor=e?.table?.baseColor??S.activeActionIconColor;let z=t.tabs;z.selectedFontColor=e?.tabs?.baseColor??z.selectedFontColor,z.selectedIconColor=e?.tabs?.baseColor??z.selectedIconColor,z.selectedUnderlineColor=e?.tabs?.baseColor??z.selectedUnderlineColor,z.focusOutline=e?.tabs?.baseColor??z.focusOutline,z.hoverBackgroundColor=se(57,e?.tabs?.baseColor)??z.hoverBackgroundColor,z.pressedBackgroundColor=se(52,e?.tabs?.baseColor)??z.pressedBackgroundColor;let G=t.tag;G.fontColor=e?.tag?.fontColor??G.fontColor,G.iconColor=e?.tag?.iconColor??G.iconColor;let V=t.textInput;V.labelFontColor=e?.textInput?.fontColor??V.labelFontColor,V.helperTextFontColor=e?.textInput?.fontColor??V.helperTextFontColor,V.valueFontColor=e?.textInput?.fontColor??V.valueFontColor,V.actionIconColor=e?.textInput?.fontColor??V.actionIconColor,V.hoverActionIconColor=e?.textInput?.fontColor??V.hoverActionIconColor,V.focusActionIconColor=e?.textInput?.fontColor??V.focusActionIconColor,V.activeActionIconColor=e?.textInput?.fontColor??V.activeActionIconColor,V.hoverBorderColor=e?.textInput?.hoverBorderColor??V.hoverBorderColor,V.suffixColor=se(40,e?.textInput?.fontColor)??V.suffixColor,V.prefixColor=se(40,e?.textInput?.fontColor)??V.prefixColor,V.placeholderFontColor=se(30,e?.textInput?.fontColor)??V.placeholderFontColor;let q=t.textarea;q.labelFontColor=e?.textarea?.fontColor??q.labelFontColor,q.helperTextFontColor=e?.textarea?.fontColor??q.helperTextFontColor,q.valueFontColor=e?.textarea?.fontColor??q.valueFontColor,q.hoverBorderColor=e?.textarea?.hoverBorderColor??q.hoverBorderColor,q.placeholderFontColor=se(30,e?.textarea?.fontColor)??q.placeholderFontColor;let W=t.toggleGroup;W.selectedBackgroundColor=e?.toggleGroup?.selectedBaseColor??W.selectedBackgroundColor,W.selectedFontColor=e?.toggleGroup?.selectedFontColor??W.selectedFontColor,W.unselectedBackgroundColor=e?.toggleGroup?.unselectedBaseColor??W.unselectedBackgroundColor,W.unselectedActiveBackgroundColor=e?.toggleGroup?.selectedBaseColor??W.unselectedActiveBackgroundColor,W.unselectedFontColor=e?.toggleGroup?.unselectedFontColor??W.unselectedFontColor,W.selectedHoverBackgroundColor=me(8,e?.toggleGroup?.selectedBaseColor)??W.selectedHoverBackgroundColor,W.selectedActiveBackgroundColor=me(18,e?.toggleGroup?.selectedBaseColor)??W.selectedActiveBackgroundColor,W.selectedDisabledBackgroundColor=se(57,e?.toggleGroup?.selectedBaseColor)??W.selectedDisabledBackgroundColor,W.selectedDisabledFontColor=se(42,e?.toggleGroup?.selectedBaseColor)??W.selectedDisabledFontColor,W.unselectedHoverBackgroundColor=me(10,e?.toggleGroup?.unselectedBaseColor)??W.unselectedHoverBackgroundColor;let A=t.wizard;return A.selectedStepBackgroundColor=e?.wizard?.baseColor??A.selectedStepBackgroundColor,A.selectedStepFontColor=e?.wizard?.selectedStepFontColor??A.selectedStepFontColor,A.selectedStepBorderColor=e?.wizard?.baseColor??A.selectedStepBorderColor,A.visitedLabelFontColor=e?.wizard?.fontColor??A.visitedLabelFontColor,A.selectedLabelFontColor=e?.wizard?.fontColor??A.selectedLabelFontColor,A.visitedHelperTextFontColor=e?.wizard?.fontColor??A.visitedHelperTextFontColor,A.selectedHelperTextFontColor=e?.wizard?.fontColor??A.selectedHelperTextFontColor,A.unvisitedStepBorderColor=se(40,e?.wizard?.fontColor)??A.unvisitedStepBorderColor,A.unvisitedStepFontColor=se(40,e?.wizard?.fontColor)??A.unvisitedStepFontColor,A.unvisitedLabelFontColor=se(40,e?.wizard?.fontColor)??A.unvisitedLabelFontColor,A.unvisitedHelperTextFontColor=se(40,e?.wizard?.fontColor)??A.unvisitedHelperTextFontColor,t},Md=e=>{let t=kr;return Object.keys(e).map(r=>{t[r]&&Object.keys(t[r]).map(n=>{e[r][n]&&(t[r][n]=e[r][n])})}),t},Ho=({theme:e,advancedTheme:t,labels:r,children:n})=>{let i=(0,rr.useMemo)(()=>e?Hd(e):t?Rd(t):ee,[e,t]),l=(0,rr.useMemo)(()=>r?Md(r):kr,[r]);return(0,qn.jsx)(Fr.Provider,{value:i,children:(0,qn.jsx)(wr.Provider,{value:l,children:n})})};var Ed=()=>(0,Si.useContext)(Fr)||ee,k=Ed;var nr=require("react"),Pi=F(require("styled-components")),ei=require("react/jsx-runtime"),Ii=(0,nr.createContext)(null),Wd=["a","blockquote","cite","code","div","em","figcaption","h1","h2","h3","h4","h5","h6","p","pre","small","span","strong"],Bi=e=>Wd.includes(e),Od=({as:e,display:t,fontFamily:r,fontSize:n,fontStyle:i,fontWeight:l,letterSpacing:a,lineHeight:c,textAlign:d,color:s,textDecoration:m,textOverflow:g,whiteSpace:u,children:h})=>{let y=(0,nr.useContext)(Ii),v=(0,nr.useMemo)(()=>({as:Bi(e)?e:Bi(y?.as)?y?.as:"span",display:t??y?.display??"inline",fontFamily:r??y?.fontFamily??"Open Sans, sans-serif",fontSize:n??y?.fontSize??"1rem",fontStyle:i??y?.fontStyle??"normal",fontWeight:l??y?.fontWeight??"400",letterSpacing:a??y?.letterSpacing??"0em",lineHeight:c??y?.lineHeight??"1.5em",textAlign:d??y?.textAlign??"left",color:s??y?.color??"#000000",textDecoration:m??y?.textDecoration??"none",textOverflow:g??y?.textOverflow??"unset",whiteSpace:u??y?.whiteSpace??"normal"}),[e,t,r,n,i,l,a,c,d,s,m,g,u]);return(0,ei.jsx)(Ii.Provider,{value:v,children:(0,ei.jsx)(Gd,{...v,children:h})})},Gd=Pi.default.span`
3
+ display: ${({display:e})=>e};
4
+ color: ${({color:e})=>e};
5
+ font-family: ${({fontFamily:e})=>e};
6
+ font-size: ${({fontSize:e})=>e};
7
+ font-style: ${({fontStyle:e})=>e};
8
+ font-weight: ${({fontWeight:e})=>e};
9
+ letter-spacing: ${({letterSpacing:e})=>e};
10
+ line-height: ${({lineHeight:e})=>e};
11
+ text-align: ${({textAlign:e})=>e};
12
+ text-decoration: ${({textDecoration:e})=>e};
13
+ text-overflow: ${({textOverflow:e})=>e};
14
+ white-space: ${({whiteSpace:e})=>e};
15
+ overflow: ${({textOverflow:e})=>e!=="unset"?"hidden":"visible"};
16
+ margin: 0;
17
+ `,Ge=Od;var Li=F(require("styled-components")),Di=require("react/jsx-runtime"),Nd=({icon:e})=>(0,Di.jsx)(Vd,{role:"img","aria-label":e,filled:e.startsWith("filled_"),icon:e.startsWith("filled_")?e.replace(/filled_/g,""):e,"aria-hidden":"true"}),Vd=Li.default.span`
18
+ @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1");
19
+ font-family: "Material Symbols Outlined";
20
+ font-weight: normal;
21
+ font-style: normal;
22
+ line-height: 1;
23
+ letter-spacing: normal;
24
+ text-transform: none;
25
+ display: inline-block;
26
+ white-space: nowrap;
27
+ word-wrap: normal;
28
+ direction: ltr;
29
+ -webkit-font-feature-settings: "liga";
30
+ -webkit-font-smoothing: antialiased;
31
+ text-rendering: optimizeLegibility;
32
+ -moz-osx-font-smoothing: grayscale;
33
+ font-variation-settings: ${e=>e.filled?"'FILL' 1":"'FILL' 0"};
34
+ ::before {
35
+ content: "${e=>e.icon}";
36
+ }
37
+ `,$=Nd;var Ee=require("react/jsx-runtime"),jd=({label:e="",defaultIsExpanded:t,isExpanded:r,icon:n,assistiveText:i="",disabled:l=!1,onChange:a,children:c,margin:d,tabIndex:s=0})=>{let m=(0,Qr.useId)(),[g,u]=(0,Qr.useState)(t??!1),h=k(),y=()=>{r??u(v=>!v),a?.(r!=null?!r:!g)};return(0,Ee.jsx)(ho.ThemeProvider,{theme:h.accordion,children:(0,Ee.jsxs)(Jd,{isExpanded:r??g,margin:d,children:[(0,Ee.jsx)(Kd,{children:(0,Ee.jsxs)(Ud,{id:`accordion-${m}`,onClick:l?void 0:y,disabled:l,tabIndex:l?-1:s,"aria-expanded":r??g,"aria-controls":`accordion-panel-${m}`,isExpanded:r??g,children:[(0,Ee.jsxs)(Yd,{children:[(0,Ee.jsxs)(Zd,{children:[n&&(0,Ee.jsx)(qd,{disabled:l,children:typeof n=="string"?(0,Ee.jsx)($,{icon:n}):n}),(0,Ee.jsx)(Ge,{color:l?h.accordion.disabledTitleLabelFontColor:h.accordion.titleLabelFontColor,fontFamily:h.accordion.titleLabelFontFamily,fontSize:h.accordion.titleLabelFontSize,fontStyle:h.accordion.titleLabelFontStyle,fontWeight:h.accordion.titleLabelFontWeight,lineHeight:"1.5em",children:e})]}),i&&(0,Ee.jsx)(Qd,{children:(0,Ee.jsx)(Ge,{color:l?h.accordion.disabledAssistiveTextFontColor:h.accordion.assistiveTextFontColor,fontFamily:h.accordion.assistiveTextFontFamily,fontSize:h.accordion.assistiveTextFontSize,fontStyle:h.accordion.assistiveTextFontStyle,fontWeight:h.accordion.assistiveTextFontWeight,letterSpacing:h.accordion.assistiveTextLetterSpacing,lineHeight:"1.5em",children:i})})]}),(0,Ee.jsx)(es,{disabled:l,children:(0,Ee.jsx)($,{icon:r??g?"expand_less":"expand_more"})})]})}),(r??g)&&(0,Ee.jsx)(os,{id:`accordion-panel-${m}`,role:"region","aria-labelledby":`accordion-${m}`,children:c})]})})},Xd=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,Jd=ho.default.div`
38
+ display: flex;
39
+ flex-direction: column;
40
+ background-color: ${e=>e.theme.backgroundColor};
41
+ border-radius: ${e=>e.theme.borderRadius};
42
+ ${e=>e.isExpanded&&"border-bottom-left-radius: 0; border-bottom-right-radius: 0;"}
43
+ box-shadow: ${e=>`${e.theme.boxShadowOffsetX} ${e.theme.boxShadowOffsetY} ${e.theme.boxShadowBlur} ${e.theme.boxShadowColor}`};
44
+ min-width: 280px;
45
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
46
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
47
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
48
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
49
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
50
+ width: ${e=>Xd(e.margin)};
51
+ `,Kd=ho.default.h3`
52
+ display: flex;
53
+ flex-direction: column;
54
+ min-height: 48px;
55
+ margin: 0;
56
+ `,Ud=ho.default.button`
57
+ display: flex;
58
+ justify-content: space-between;
59
+ align-items: center;
60
+ gap: 24px;
61
+ width: 100%;
62
+ background-color: transparent;
63
+ border: none;
64
+ border-radius: ${e=>e.theme.borderRadius};
65
+ ${e=>e.isExpanded&&"border-bottom-left-radius: 0; border-bottom-right-radius: 0;"}
66
+ padding: 12px 16px;
67
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
68
+
69
+ :focus {
70
+ outline: ${e=>`${e.theme.focusBorderColor} ${e.theme.focusBorderStyle} ${e.theme.focusBorderThickness}`};
71
+ }
72
+ :hover:enabled {
73
+ background-color: ${e=>`${e.theme.hoverBackgroundColor}`};
74
+ }
75
+ :active:enabled {
76
+ background-color: ${e=>`${e.theme.hoverBackgroundColor}`};
77
+ }
78
+ `,Yd=ho.default.span`
79
+ display: inline-flex;
80
+ justify-content: space-between;
81
+ width: 100%;
82
+ `,Zd=ho.default.span`
83
+ display: flex;
84
+ padding-top: ${e=>e.theme.titleLabelPaddingTop};
85
+ padding-bottom: ${e=>e.theme.titleLabelPaddingBottom};
86
+ padding-right: ${e=>e.theme.titleLabelPaddingRight};
87
+ padding-left: ${e=>e.theme.titleLabelPaddingLeft};
88
+ `,qd=ho.default.span`
89
+ display: flex;
90
+ margin-left: ${e=>e.theme.iconMarginLeft};
91
+ margin-right: ${e=>e.theme.iconMarginRight};
92
+ color: ${e=>e.disabled?e.theme.disabledIconColor:e.theme.iconColor};
93
+ font-size: ${e=>e.theme.iconSize};
94
+
95
+ svg {
96
+ height: ${e=>e.theme.iconSize};
97
+ width: ${e=>e.theme.iconSize};
98
+ }
99
+ `,Qd=ho.default.span`
100
+ min-width: ${e=>e.theme.assistiveTextMinWidth};
101
+ padding-left: ${e=>e.theme.assistiveTextPaddingLeft};
102
+ padding-right: ${e=>e.theme.assistiveTextPaddingRight};
103
+ `,es=ho.default.span`
104
+ display: flex;
105
+ flex-wrap: wrap;
106
+ align-content: center;
107
+ font-size: 24px;
108
+ color: ${e=>e.disabled?e.theme.disabledArrowColor:e.theme.arrowColor};
109
+ `,os=ho.default.div`
110
+ border-bottom-left-radius: ${e=>e.theme.borderRadius};
111
+ border-bottom-right-radius: ${e=>e.theme.borderRadius};
112
+ `,en=jd;var yt=require("react"),rn=F(require("styled-components"));var Ai=require("react");var zi=require("react"),on=(0,zi.createContext)(null);var Hi=require("react/jsx-runtime"),ts=({...e})=>{let{activeIndex:t,handlerActiveChange:r,disabled:n,index:i}=(0,Ai.useContext)(on);return(0,Hi.jsx)(en,{isExpanded:t===i,onChange:()=>{r(i)},disabled:n,...e,children:e.children})},Ri=ts;var tn=require("react/jsx-runtime"),Mi=({defaultIndexActive:e,indexActive:t,disabled:r=!1,onActiveChange:n,margin:i,children:l})=>{let a=k(),[c,d]=(0,yt.useState)(e??-1),s=(0,yt.useCallback)(g=>{t??d(u=>g===u?-1:g),!r&&n?.(g)},[r,t,n]),m=(0,yt.useMemo)(()=>({activeIndex:t??c,handlerActiveChange:s,disabled:r}),[t,c,s,r]);return(0,tn.jsx)(rn.ThemeProvider,{theme:a.accordion,children:(0,tn.jsx)(ns,{margin:i,disabled:r,children:yt.Children.map(l,(g,u)=>(0,tn.jsx)(on.Provider,{value:{index:u,...m},children:g},`accordion-${u}`))})})};Mi.Accordion=Ri;var rs=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,ns=rn.default.div`
113
+ width: ${e=>rs(e.margin)};
114
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
115
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
116
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
117
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
118
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
119
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
120
+
121
+ > div:not(:last-of-type):not(:only-of-type) {
122
+ border-bottom: ${e=>`${e.theme.accordionGroupSeparatorBorderThickness} ${e.theme.accordionGroupSeparatorBorderStyle}`};
123
+ border-color: ${e=>e.theme.accordionGroupSeparatorBorderColor};
124
+ }
125
+ > div:not(:first-of-type):not(:last-of-type):not(:only-of-type) {
126
+ border-radius: 0;
127
+ & > h3 > button {
128
+ border-radius: 0;
129
+ }
130
+ }
131
+ > div:first-of-type:not(:only-of-type) {
132
+ border-bottom-left-radius: 0;
133
+ border-bottom-right-radius: 0;
134
+ border-top-left-radius: ${e=>e.theme.borderRadius};
135
+ border-top-right-radius: ${e=>e.theme.borderRadius};
136
+
137
+ & > h3 > button {
138
+ border-bottom-left-radius: 0;
139
+ border-bottom-right-radius: 0;
140
+ }
141
+ }
142
+ > div:last-of-type:not(:only-of-type) {
143
+ border-top-left-radius: 0;
144
+ border-top-right-radius: 0;
145
+ border-bottom-left-radius: ${e=>e.theme.borderRadius};
146
+ border-bottom-right-radius: ${e=>e.theme.borderRadius};
147
+
148
+ & > h3 > button {
149
+ border-top-left-radius: 0;
150
+ border-top-right-radius: 0;
151
+ }
152
+ }
153
+ `,Ei=Mi;var no=F(require("styled-components"));var Wi=require("react");var is=()=>(0,Wi.useContext)(wr)||kr,J=is;var Pe=require("react/jsx-runtime"),ls=({type:e="info",mode:t="inline",inlineText:r="",onClose:n,children:i,margin:l,size:a="fitContent",tabIndex:c})=>{let d=k(),s=J(),m=()=>e==="info"?s.alert.infoTitleText:e==="confirm"?s.alert.successTitleText:e==="warning"?s.alert.warningTitleText:s.alert.errorTitleText;return(0,Pe.jsx)(no.ThemeProvider,{theme:d.alert,children:(0,Pe.jsxs)(as,{mode:t,children:[t==="modal"&&(0,Pe.jsx)(cs,{mode:t,onClick:n}),(0,Pe.jsxs)(ds,{mode:t,type:e,margin:l,size:a,role:e==="error"?"alert":"status","aria-live":e==="error"?"assertive":"off",children:[(0,Pe.jsxs)(ss,{children:[(0,Pe.jsx)(ps,{type:e,children:e==="info"&&(0,Pe.jsx)($,{icon:"filled_info"})||e==="confirm"&&(0,Pe.jsx)($,{icon:"filled_check_circle"})||e==="warning"&&(0,Pe.jsx)($,{icon:"filled_warning"})||e==="error"&&(0,Pe.jsx)($,{icon:"filled_cancel"})}),(0,Pe.jsxs)(us,{children:[(0,Pe.jsx)(ms,{children:m()}),r&&r!==""&&"-",(0,Pe.jsx)(gs,{children:r})]}),typeof n=="function"&&(0,Pe.jsx)(fs,{onClick:n,tabIndex:c,"aria-label":"Close alert",children:(0,Pe.jsx)($,{icon:"close"})})]}),i&&(0,Pe.jsx)(hs,{children:i})]})]})})},Oi={small:"280px",medium:"480px",large:"820px",fillParent:"100%",fitContent:"fit-content"},Gi=(e,t)=>t==="fillParent"?`calc(${Oi[t]} - ${X(e,"left")} - ${X(e,"right")})`:Oi[t],as=no.default.div`
154
+ font-size: ${e=>e.theme.fontSizeBase};
155
+ width: ${e=>e.mode==="modal"?"100%":""};
156
+ height: ${e=>e.mode==="modal"?"100%":""};
157
+ justify-content: ${e=>e.mode==="modal"?"center":""};
158
+ align-items: ${e=>e.mode==="modal"?"center":""};
159
+ top: ${e=>e.mode==="modal"?"0":""};
160
+ left: ${e=>e.mode==="modal"?"0":""};
161
+ position: ${e=>e.mode==="modal"?"fixed":""};
162
+ display: ${e=>e.mode==="modal"?"flex":""};
163
+ z-index: ${e=>e.mode==="modal"?"1200":""};
164
+ `,cs=no.default.div`
165
+ background-color: ${e=>e.mode==="modal"?`${e.theme.overlayColor}`:"transparent"};
166
+ position: ${e=>e.mode==="modal"?"fixed":""};
167
+ top: ${e=>e.mode==="modal"?"0":""};
168
+ bottom: ${e=>e.mode==="modal"?"0":""};
169
+ left: ${e=>e.mode==="modal"?"0":""};
170
+ right: ${e=>e.mode==="modal"?"0":""};
171
+ `,ds=no.default.div`
172
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
173
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
174
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
175
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
176
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
177
+ display: ${e=>e.size==="fitContent"?"inline-block":"block"};
178
+ overflow: hidden;
179
+ box-sizing: border-box;
180
+
181
+ background-color: ${e=>e.type==="info"&&e.theme.infoBackgroundColor||e.type==="confirm"&&e.theme.successBackgroundColor||e.type==="warning"&&e.theme.warningBackgroundColor||e.type==="error"&&e.theme.errorBackgroundColor};
182
+
183
+ border-radius: ${e=>e.theme.borderRadius};
184
+ border-width: ${e=>e.theme.borderThickness};
185
+ border-style: ${e=>e.theme.borderStyle};
186
+ border-color: ${e=>e.type==="info"&&e.theme.infoBorderColor||e.type==="confirm"&&e.theme.successBorderColor||e.type==="warning"&&e.theme.warningBorderColor||e.type==="error"&&e.theme.errorBorderColor};
187
+
188
+ padding-left: 12px;
189
+ padding-right: 12px;
190
+ justify-content: ${e=>e.mode==="modal"?"center":""};
191
+ align-items: ${e=>e.mode==="modal"?"center":""};
192
+ max-width: ${e=>e.size!=="fillParent"&&Gi(e.margin,"fillParent")};
193
+ width: ${e=>e.size!=="fillParent"&&Gi(e.margin,e.size)};
194
+ z-index: ${e=>e.mode==="modal"?"1300":""};
195
+ `,ss=no.default.div`
196
+ display: flex;
197
+ flex-direction: row;
198
+ height: calc(48px - calc(${e=>e.theme.borderThickness} * 2));
199
+ align-items: center;
200
+ width: 100%;
201
+ `,ms=no.default.div`
202
+ margin-right: 8px;
203
+ padding-right: ${e=>e.theme.titlePaddingRight};
204
+ padding-left: ${e=>e.theme.titlePaddingLeft};
205
+ font-family: ${e=>e.theme.titleFontFamily};
206
+ font-size: ${e=>e.theme.titleFontSize};
207
+ font-style: ${e=>e.theme.titleFontStyle};
208
+ font-weight: ${e=>e.theme.titleFontWeight};
209
+ color: ${e=>e.theme.titleFontColor};
210
+ text-transform: ${e=>e.theme.titleTextTransform};
211
+ `,gs=no.default.div`
212
+ margin-left: 8px;
213
+ padding-right: ${e=>e.theme.inlineTextPaddingRight};
214
+ padding-left: ${e=>e.theme.inlineTextPaddingLeft};
215
+ flex-grow: 1;
216
+ white-space: nowrap;
217
+ overflow: hidden;
218
+ text-overflow: ellipsis;
219
+ font-family: ${e=>e.theme.inlineTextFontFamily};
220
+ font-size: ${e=>e.theme.inlineTextFontSize};
221
+ font-style: ${e=>e.theme.inlineTextFontStyle};
222
+ font-weight: ${e=>e.theme.inlineTextFontWeight};
223
+ color: ${e=>e.theme.inlineTextFontColor};
224
+ `,ps=no.default.span`
225
+ display: flex;
226
+ flex-wrap: wrap;
227
+ align-content: center;
228
+ margin-right: 12px;
229
+ padding-right: ${e=>e.theme.iconPaddingRight};
230
+ padding-left: ${e=>e.theme.iconPaddingLeft};
231
+
232
+ color: ${e=>e.type==="info"&&e.theme.infoIconColor||e.type==="confirm"&&e.theme.successIconColor||e.type==="warning"&&e.theme.warningIconColor||e.type==="error"&&e.theme.errorIconColor};
233
+
234
+ font-size: ${e=>e.theme.iconSize};
235
+ `,us=no.default.div`
236
+ display: flex;
237
+ flex-direction: row;
238
+ flex-grow: 1;
239
+ align-items: center;
240
+ overflow: hidden;
241
+ `,hs=no.default.div`
242
+ flex: 1 1 auto;
243
+ padding: ${e=>`${e.theme.contentPaddingTop} ${e.theme.contentPaddingRight} ${e.theme.contentPaddingBottom} ${e.theme.contentPaddingLeft}`};
244
+ overflow-y: auto;
245
+ `,fs=no.default.button`
246
+ display: flex;
247
+ flex-wrap: wrap;
248
+ align-content: center;
249
+ justify-content: center;
250
+ height: 24px;
251
+ width: 24px;
252
+ font-size: 20px;
253
+ border: 1px solid transparent;
254
+ border-radius: 2px;
255
+ box-shadow: 0 0 0 2px transparent;
256
+ padding: 3px;
257
+ margin-left: 12px;
258
+ background-color: transparent;
259
+ color: #000000;
260
+ cursor: pointer;
261
+
262
+ &:hover {
263
+ background-color: ${e=>e.theme.hoverActionBackgroundColor};
264
+ }
265
+ &:focus,
266
+ &:focus-visible {
267
+ outline: none;
268
+ box-shadow: 0 0 0 2px ${e=>e.theme.focusActionBorderColor};
269
+ }
270
+ &:active {
271
+ background-color: ${e=>e.theme.activeActionBackgroundColor};
272
+ }
273
+ `,Ni=ls;var ar=require("react"),rt=F(require("styled-components"));var Yi=require("react"),io=F(require("styled-components"));var Vi=F(require("styled-components")),ji=require("react/jsx-runtime"),bs=Vi.default.div`
274
+ display: flex;
275
+ ${e=>`
276
+ ${typeof e.alignContent=="string"?`align-content: ${e.alignContent};`:""}
277
+ ${typeof e.alignItems=="string"?`align-items: ${e.alignItems};`:""}
278
+ ${typeof e.alignSelf=="string"?`align-self: ${e.alignSelf};`:""}
279
+ ${typeof e.$basis=="string"?`flex-basis: ${e.$basis};`:""}
280
+ ${typeof e.$direction=="string"?`flex-direction: ${e.$direction};`:""}
281
+ ${typeof e.$gap=="string"?`gap: ${e.$gap};`:""}
282
+ ${typeof e.$gap=="object"?`column-gap: ${e.$gap.columnGap}; row-gap: ${e.$gap.rowGap};`:""}
283
+ ${typeof e.$grow=="number"?`flex-grow: ${e.$grow};`:""}
284
+ ${typeof e.justifyContent=="string"?`justify-content: ${e.justifyContent};`:""}
285
+ ${typeof e.$order=="number"?`order: ${e.$order};`:""}
286
+ ${typeof e.$shrink=="number"?`flex-shrink: ${e.$shrink};`:""}
287
+ ${typeof e.$wrap=="string"?`flex-wrap: ${e.$wrap};`:""}
288
+ `}
289
+ `,ys=({basis:e,direction:t,gap:r,grow:n,order:i,shrink:l,wrap:a,...c})=>(0,ji.jsx)(bs,{$basis:e,$direction:t,$gap:r,$grow:n,$order:i,$shrink:l,$wrap:a,...c}),ne=ys;var nn=F(require("styled-components"));var ln=require("react"),Mo=require("@radix-ui/react-tooltip"),Ji=require("@radix-ui/react-tooltip"),Le=require("react/jsx-runtime"),Cs=nn.default.div`
290
+ position: relative;
291
+ display: inline-flex;
292
+ `,xs=(0,nn.default)(Mo.Content)`
293
+ z-index: 2147483647;
294
+
295
+ animation-duration: 0.2s;
296
+ animation-timing-function: ease-out;
297
+
298
+ /* Additional optimization to prevent blurry text in certain browsers */
299
+ -webkit-font-smoothing: antialiased;
300
+ transform: translateZ(0) scale(1, 1);
301
+
302
+ &[data-side="top"] {
303
+ animation-name: slideUp;
304
+ }
305
+ &[data-side="bottom"] {
306
+ animation-name: slideDown;
307
+ }
308
+ &[data-side="left"] {
309
+ animation-name: slideLeft;
310
+ }
311
+ &[data-side="right"] {
312
+ animation-name: slideRight;
313
+ }
314
+ @keyframes slideDown {
315
+ from {
316
+ opacity: 0;
317
+ transform: translateY(-10px);
318
+ }
319
+ to {
320
+ opacity: 1;
321
+ transform: translateY(0);
322
+ }
323
+ }
324
+ @keyframes slideUp {
325
+ from {
326
+ opacity: 0;
327
+ transform: translateY(10px);
328
+ }
329
+ to {
330
+ opacity: 1;
331
+ transform: translateY(0);
332
+ }
333
+ }
334
+ @keyframes slideLeft {
335
+ from {
336
+ opacity: 0;
337
+ transform: translateX(10px);
338
+ }
339
+ to {
340
+ opacity: 1;
341
+ transform: translateX(0);
342
+ }
343
+ }
344
+ @keyframes slideRight {
345
+ from {
346
+ opacity: 0;
347
+ transform: translateX(-10px);
348
+ }
349
+ to {
350
+ opacity: 1;
351
+ transform: translateX(0);
352
+ }
353
+ }
354
+ `,_s=nn.default.div`
355
+ box-sizing: border-box;
356
+ max-width: 242px;
357
+ border-radius: 4px;
358
+ border-color: ${o.color_grey_800};
359
+ padding: 8px 12px;
360
+ font-size: ${o.type_scale_01};
361
+ font-family: ${o.type_sans};
362
+ color: ${o.color_white};
363
+ background-color: ${o.color_grey_800};
364
+ overflow-wrap: break-word;
365
+ `,$s=(0,Le.jsx)("svg",{width:"12",height:"6",viewBox:"0 0 12 6",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",display:"block",children:(0,Le.jsx)("path",{d:"M0.351562 0L5.30131 4.94975C5.69184 5.34027 6.325 5.34027 6.71552 4.94975L11.6653 0H6.00842H0.351562Z",fill:o.color_grey_800})}),Xi=(0,ln.createContext)(!1),ge=({label:e,hasAdditionalContainer:t=!1,position:r="bottom",children:n})=>{let i=(0,ln.useContext)(Xi);return(0,Le.jsx)(Xi.Provider,{value:!0,children:e&&!i?(0,Le.jsx)(Ji.Provider,{delayDuration:300,children:(0,Le.jsxs)(Mo.Root,{children:[(0,Le.jsx)(Mo.Trigger,{asChild:!0,children:t?(0,Le.jsx)(Cs,{children:n}):n}),(0,Le.jsx)(Mo.Portal,{children:(0,Le.jsxs)(xs,{side:r,sideOffset:8,children:[(0,Le.jsx)(_s,{children:e}),(0,Le.jsx)(Mo.Arrow,{asChild:!0,"aria-hidden":!0,children:$s})]})})]})}):n})},ir=({condition:e,children:t,label:r})=>e?(0,Le.jsx)(ge,{label:r,children:t}):(0,Le.jsx)(Le.Fragment,{children:t});function oi(e){return(0,Le.jsx)(ge,{...e,hasAdditionalContainer:!0})}var le=require("react/jsx-runtime"),Ki=(0,le.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"32",viewBox:"0 0 280.781 32",children:[(0,le.jsx)("title",{children:"DXC Logo"}),(0,le.jsxs)("g",{children:[(0,le.jsx)("path",{d:"M171.5-54.124v12.539h-3.6V-54.124h-4.973v-3.191h13.54v3.191H171.5",transform:"translate(-68.528 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M189.96-41.585V-57.315h12.326v3.079h-8.753v3.191h7.7v3.078h-7.7v3.3h8.87v3.078H189.96",transform:"translate(-77.56 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M223.558-41.438a8.1,8.1,0,0,1-8.382-8.1v-.045a8.161,8.161,0,0,1,8.522-8.146,8.6,8.6,0,0,1,6.444,2.431l-2.289,2.543a6.133,6.133,0,0,0-4.178-1.778,4.743,4.743,0,0,0-4.738,4.905v.045a4.752,4.752,0,0,0,4.738,4.95,6,6,0,0,0,4.295-1.845l2.288,2.228a8.491,8.491,0,0,1-6.7,2.813",transform:"translate(-86.019 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M254.988-41.585V-47.9h-6.63v6.315h-3.6V-57.315h3.6v6.225h6.63v-6.225h3.594v15.731h-3.594",transform:"translate(-95.903 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M285.991-41.585l-7.914-10v10h-3.549V-57.315h3.316l7.657,9.685v-9.685h3.549v15.731h-3.058",transform:"translate(-105.869 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M317.2-49.583a4.869,4.869,0,0,0-4.949-4.95,4.793,4.793,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.793,4.793,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.661-3.623-8.661-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.66,3.623,8.66,8.1v.045c0,4.477-3.664,8.145-8.708,8.145",transform:"translate(-115.631 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786",transform:"translate(-126.654 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M372.78-49.583a4.87,4.87,0,0,0-4.949-4.95,4.794,4.794,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.794,4.794,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.662-3.623-8.662-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.661,3.623,8.661,8.1v.045c0,4.477-3.666,8.145-8.708,8.145",transform:"translate(-135.016 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M399.735-41.438c-5.09,0-8.592-3.443-8.592-8.1v-.045a8.243,8.243,0,0,1,8.568-8.146,9.18,9.18,0,0,1,6.42,2.16l-2.265,2.634a6.141,6.141,0,0,0-4.272-1.6,4.807,4.807,0,0,0-4.692,4.905v.045a4.8,4.8,0,0,0,4.949,4.995,5.89,5.89,0,0,0,3.384-.945v-2.25h-3.618v-2.992h7.1v6.841a10.837,10.837,0,0,1-6.98,2.5",transform:"translate(-145.284 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M428.664-47.855v6.27h-3.6v-6.2l-6.28-9.528h4.2L426.89-51l3.968-6.315h4.085l-6.28,9.46",transform:"translate(-154.162 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M84.218-55.737a10.063,10.063,0,0,1,2.589-4.4,9.792,9.792,0,0,1,6.985-2.77h11.328V-69.3H93.792a17.041,17.041,0,0,0-11.8,4.759,16.344,16.344,0,0,0-3.547,5.115,13.247,13.247,0,0,0-1.122,3.688Zm0,4.877a10.065,10.065,0,0,0,2.589,4.4,9.793,9.793,0,0,0,6.985,2.77h11.328V-37.3H93.792a17.042,17.042,0,0,1-11.8-4.759,16.339,16.339,0,0,1-3.547-5.114,13.251,13.251,0,0,1-1.122-3.688ZM63.1-47.98,54.45-37.3H45.873l12.957-16-12.957-16H54.45L63.1-58.619l8.65-10.68h8.578l-12.957,16,12.957,16H71.749ZM48.875-55.737a13.212,13.212,0,0,0-1.122-3.688,16.359,16.359,0,0,0-3.546-5.115,17.043,17.043,0,0,0-11.8-4.759H21.08v6.393H32.408a9.79,9.79,0,0,1,6.985,2.77,10.072,10.072,0,0,1,2.59,4.4Zm0,4.877a13.215,13.215,0,0,1-1.122,3.688,16.353,16.353,0,0,1-3.546,5.114,17.044,17.044,0,0,1-11.8,4.759H21.08v-6.393H32.408a9.791,9.791,0,0,0,6.985-2.77,10.074,10.074,0,0,0,2.59-4.4h6.892",transform:"translate(-21.08 69.298)",fill:"#fff"})]})]}),Ui=(0,le.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"16",viewBox:"0 0 280.781 32",children:[(0,le.jsx)("title",{children:"DXC Logo"}),(0,le.jsxs)("g",{children:[(0,le.jsx)("path",{d:"M171.5-54.124v12.539h-3.6V-54.124h-4.973v-3.191h13.54v3.191H171.5",transform:"translate(-68.528 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M189.96-41.585V-57.315h12.326v3.079h-8.753v3.191h7.7v3.078h-7.7v3.3h8.87v3.078H189.96",transform:"translate(-77.56 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M223.558-41.438a8.1,8.1,0,0,1-8.382-8.1v-.045a8.161,8.161,0,0,1,8.522-8.146,8.6,8.6,0,0,1,6.444,2.431l-2.289,2.543a6.133,6.133,0,0,0-4.178-1.778,4.743,4.743,0,0,0-4.738,4.905v.045a4.752,4.752,0,0,0,4.738,4.95,6,6,0,0,0,4.295-1.845l2.288,2.228a8.491,8.491,0,0,1-6.7,2.813",transform:"translate(-86.019 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M254.988-41.585V-47.9h-6.63v6.315h-3.6V-57.315h3.6v6.225h6.63v-6.225h3.594v15.731h-3.594",transform:"translate(-95.903 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M285.991-41.585l-7.914-10v10h-3.549V-57.315h3.316l7.657,9.685v-9.685h3.549v15.731h-3.058",transform:"translate(-105.869 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M317.2-49.583a4.869,4.869,0,0,0-4.949-4.95,4.793,4.793,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.793,4.793,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.661-3.623-8.661-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.66,3.623,8.66,8.1v.045c0,4.477-3.664,8.145-8.708,8.145",transform:"translate(-115.631 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M336.786-41.585V-57.315h3.6v12.584h8.148v3.146H336.786",transform:"translate(-126.654 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M372.78-49.583a4.87,4.87,0,0,0-4.949-4.95,4.794,4.794,0,0,0-4.9,4.905v.045a4.869,4.869,0,0,0,4.949,4.95,4.794,4.794,0,0,0,4.9-4.905Zm-4.949,8.145c-5.043,0-8.662-3.623-8.662-8.1v-.045c0-4.478,3.666-8.146,8.708-8.146s8.661,3.623,8.661,8.1v.045c0,4.477-3.666,8.145-8.708,8.145",transform:"translate(-135.016 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M399.735-41.438c-5.09,0-8.592-3.443-8.592-8.1v-.045a8.243,8.243,0,0,1,8.568-8.146,9.18,9.18,0,0,1,6.42,2.16l-2.265,2.634a6.141,6.141,0,0,0-4.272-1.6,4.807,4.807,0,0,0-4.692,4.905v.045a4.8,4.8,0,0,0,4.949,4.995,5.89,5.89,0,0,0,3.384-.945v-2.25h-3.618v-2.992h7.1v6.841a10.837,10.837,0,0,1-6.98,2.5",transform:"translate(-145.284 65.583)",fill:"#fff"}),(0,le.jsx)("path",{d:"M428.664-47.855v6.27h-3.6v-6.2l-6.28-9.528h4.2L426.89-51l3.968-6.315h4.085l-6.28,9.46",transform:"translate(-154.162 65.45)",fill:"#fff"}),(0,le.jsx)("path",{d:"M84.218-55.737a10.063,10.063,0,0,1,2.589-4.4,9.792,9.792,0,0,1,6.985-2.77h11.328V-69.3H93.792a17.041,17.041,0,0,0-11.8,4.759,16.344,16.344,0,0,0-3.547,5.115,13.247,13.247,0,0,0-1.122,3.688Zm0,4.877a10.065,10.065,0,0,0,2.589,4.4,9.793,9.793,0,0,0,6.985,2.77h11.328V-37.3H93.792a17.042,17.042,0,0,1-11.8-4.759,16.339,16.339,0,0,1-3.547-5.114,13.251,13.251,0,0,1-1.122-3.688ZM63.1-47.98,54.45-37.3H45.873l12.957-16-12.957-16H54.45L63.1-58.619l8.65-10.68h8.578l-12.957,16,12.957,16H71.749ZM48.875-55.737a13.212,13.212,0,0,0-1.122-3.688,16.359,16.359,0,0,0-3.546-5.115,17.043,17.043,0,0,0-11.8-4.759H21.08v6.393H32.408a9.79,9.79,0,0,1,6.985,2.77,10.072,10.072,0,0,1,2.59,4.4Zm0,4.877a13.215,13.215,0,0,1-1.122,3.688,16.353,16.353,0,0,1-3.546,5.114,17.044,17.044,0,0,1-11.8,4.759H21.08v-6.393H32.408a9.791,9.791,0,0,0,6.985-2.77,10.074,10.074,0,0,0,2.59-4.4h6.892",transform:"translate(-21.08 69.298)",fill:"#fff"})]})]});var De=require("react/jsx-runtime"),vs=({socialLinks:e,bottomLinks:t,copyright:r,children:n,margin:i,tabIndex:l=0,mode:a="default"})=>{let c=k(),d=J(),s=(0,Yi.useMemo)(()=>c.footer.logo?typeof c.footer.logo=="string"?(0,De.jsx)(Is,{mode:a,alt:d.formFields.logoAlternativeText,src:c.footer.logo}):c.footer.logo:a==="default"?Ki:Ui,[c]);return(0,De.jsx)(io.ThemeProvider,{theme:c.footer,children:(0,De.jsxs)(Ts,{margin:i,mode:a,children:[(0,De.jsxs)(ne,{justifyContent:"space-between",alignItems:"center",wrap:"wrap",gap:"1.5rem",children:[(0,De.jsx)(Ss,{mode:a,children:s}),a==="default"&&(0,De.jsx)(ne,{gap:c.footer.socialLinksGutter,children:e?.map((m,g)=>(0,De.jsx)(ge,{label:m.title,children:(0,De.jsx)(Bs,{href:m.href,tabIndex:l,"aria-label":m.title,index:g,children:(0,De.jsx)(Ps,{children:typeof m.logo=="string"?(0,De.jsx)($,{icon:m.logo}):m.logo})},`social${g}${m.href}`)}))})]}),(0,De.jsx)(Fs,{children:n}),a==="default"&&(0,De.jsxs)(ks,{children:[(0,De.jsx)(Ls,{children:t?.map((m,g)=>(0,De.jsx)("span",{children:(0,De.jsx)(Ds,{href:m.href,tabIndex:l,children:m.text})},`bottom${g}${m.text}`))}),(0,De.jsx)(ws,{children:r||d.footer.copyrightText(new Date().getFullYear())})]})]})})},Ts=io.default.footer`
366
+ background-color: ${e=>e.theme.backgroundColor};
367
+ box-sizing: border-box;
368
+ display: flex;
369
+ flex-direction: ${e=>e?.mode==="default"?"column":"row"};
370
+ justify-content: space-between;
371
+ margin-top: ${e=>e.margin?p[e.margin]:"0px"};
372
+ min-height: ${e=>e?.mode==="default"?e.theme.height:"40px"};
373
+ width: 100%;
374
+ gap: ${e=>e?.mode==="default"?"0px":"32px"};
375
+ @media (min-width: ${de.small}rem) {
376
+ padding: ${e=>e?.mode==="default"?"24px 32px":"12px 32px"};
377
+ }
378
+ @media (max-width: ${de.small}rem) {
379
+ padding: 20px;
380
+ flex-direction: column;
381
+ }
382
+ `,ks=io.default.div`
383
+ display: flex;
384
+ justify-content: space-between;
385
+ align-items: flex-end;
386
+
387
+ @media (min-width: ${de.small}rem) {
388
+ flex-direction: row;
389
+ }
390
+ @media (max-width: ${de.small}rem) {
391
+ flex-direction: column;
392
+ align-items: center;
393
+ }
394
+
395
+ border-top: ${e=>`${e.theme.bottomLinksDividerThickness} ${e.theme.bottomLinksDividerStyle} ${e.theme.bottomLinksDividerColor}`};
396
+ margin-top: 16px;
397
+ `,Fs=io.default.div`
398
+ min-height: 16px;
399
+ overflow: hidden;
400
+ `,ws=io.default.div`
401
+ padding-top: ${e=>e.theme.bottomLinksDividerSpacing};
402
+ font-family: ${e=>e.theme.copyrightFontFamily};
403
+ font-size: ${e=>e.theme.copyrightFontSize};
404
+ font-style: ${e=>e.theme.copyrightFontStyle};
405
+ font-weight: ${e=>e.theme.copyrightFontWeight};
406
+ color: ${e=>e.theme.copyrightFontColor};
407
+
408
+ @media (min-width: ${de.small}rem) {
409
+ max-width: 40%;
410
+ text-align: right;
411
+ }
412
+
413
+ @media (max-width: ${de.small}rem) {
414
+ max-width: 100%;
415
+ width: 100%;
416
+ text-align: left;
417
+ }
418
+ `,Ss=io.default.span`
419
+ max-height: ${e=>e?.mode==="default"?e.theme.logoHeight:"16px"};
420
+ width: ${e=>e.theme.logoWidth};
421
+ `,Is=io.default.img`
422
+ max-height: ${e=>e?.mode==="default"?e.theme.logoHeight:"16px"};
423
+ width: ${e=>e.theme.logoWidth};
424
+ `,Bs=io.default.a`
425
+ border-radius: 4px;
426
+
427
+ &:focus {
428
+ outline: 2px solid #0095ff;
429
+ outline-offset: 2px;
430
+ }
431
+ `,Ps=io.default.div`
432
+ display: flex;
433
+ align-items: center;
434
+ color: ${e=>e.theme.socialLinksColor};
435
+ overflow: hidden;
436
+ font-size: ${e=>e.theme.socialLinksSize};
437
+
438
+ svg {
439
+ height: ${e=>e.theme.socialLinksSize};
440
+ width: ${e=>e.theme.socialLinksSize};
441
+ }
442
+ `,Ls=io.default.div`
443
+ display: inline-flex;
444
+ flex-wrap: wrap;
445
+ align-self: center;
446
+ padding-top: ${e=>e.theme.bottomLinksDividerSpacing};
447
+ color: #fff;
448
+
449
+ @media (min-width: ${de.small}rem) {
450
+ max-width: 60%;
451
+ }
452
+ @media (max-width: ${de.small}rem) {
453
+ max-width: 100%;
454
+ width: 100%;
455
+ }
456
+
457
+ & > span:not(:first-child):before {
458
+ content: "·";
459
+ padding: 0 0.5rem;
460
+ }
461
+ `,Ds=io.default.a`
462
+ text-decoration: ${e=>e.theme.bottomLinksTextDecoration};
463
+ color: ${e=>e.theme.bottomLinksFontColor};
464
+ font-family: ${e=>e.theme.bottomLinksFontFamily};
465
+ font-size: ${e=>e.theme.bottomLinksFontSize};
466
+ font-style: ${e=>e.theme.bottomLinksFontStyle};
467
+ font-weight: ${e=>e.theme.bottomLinksFontWeight};
468
+ border-radius: 2px;
469
+
470
+ &:focus {
471
+ outline: 2px solid #0095ff;
472
+ }
473
+ `,ti=vs;var ao=require("react"),We=F(require("styled-components"));var Ct=F(require("@radix-ui/react-popover")),lo=require("react"),tt=F(require("styled-components"));var an=require("react"),zs=e=>{let[t,r]=(0,an.useState)(0);return(0,an.useLayoutEffect)(()=>{if(e!=null){r(e.getBoundingClientRect().width);let n=new ResizeObserver(i=>{let l=i[0].target.getBoundingClientRect();r(l?.width)});return n.observe(e),()=>{n.unobserve(e)}}},[e]),t},lr=zs;var dn=require("react"),el=F(require("styled-components"));var qi=require("react"),cn=F(require("styled-components"));var Jt=require("react/jsx-runtime"),As=({id:e,visuallyFocused:t,iconPosition:r,onClick:n,option:i})=>(0,Jt.jsxs)(Rs,{visuallyFocused:t,onClick:()=>{n(i.value)},id:e,role:"menuitem",tabIndex:-1,children:[r==="after"&&(0,Jt.jsx)(Zi,{children:i.label}),i.icon&&(0,Jt.jsx)(Hs,{role:typeof i.icon=="string"?void 0:"img","aria-hidden":!0,children:typeof i.icon=="string"?(0,Jt.jsx)($,{icon:i.icon}):i.icon}),r==="before"&&(0,Jt.jsx)(Zi,{children:i.label})]}),Rs=cn.default.li`
474
+ box-sizing: border-box;
475
+ display: flex;
476
+ align-items: center;
477
+ gap: ${e=>e.theme.optionIconSpacing};
478
+ min-height: 36px;
479
+ padding-top: ${e=>e.theme.optionPaddingTop};
480
+ padding-bottom: ${e=>e.theme.optionPaddingBottom};
481
+ padding-left: ${e=>e.theme.optionPaddingLeft};
482
+ padding-right: ${e=>e.theme.optionPaddingRight};
483
+ cursor: pointer;
484
+
485
+ ${e=>e.visuallyFocused&&`outline: ${e.theme.focusColor} solid 2px; outline-offset: -2px;`}
486
+ &:hover {
487
+ background-color: ${e=>e.theme.hoverOptionBackgroundColor};
488
+ }
489
+ &:active {
490
+ background-color: ${e=>e.theme.activeOptionBackgroundColor};
491
+ }
492
+ `,Zi=cn.default.span`
493
+ font-family: ${e=>e.theme.optionFontFamily};
494
+ font-size: ${e=>e.theme.optionFontSize};
495
+ font-style: ${e=>e.theme.optionFontStyle};
496
+ font-weight: ${e=>e.theme.optionFontWeight};
497
+ line-height: 1.5rem;
498
+ color: ${e=>e.theme.optionFontColor};
499
+ white-space: nowrap;
500
+ `,Hs=cn.default.div`
501
+ display: flex;
502
+ color: ${e=>e.theme.optionIconColor};
503
+ font-size: ${e=>e.theme.optionIconSize};
504
+
505
+ svg {
506
+ width: ${e=>e.theme.optionIconSize};
507
+ height: ${e=>e.theme.optionIconSize};
508
+ }
509
+ `,Qi=(0,qi.memo)(As);var ri=require("react/jsx-runtime"),Ms=(0,dn.forwardRef)(({id:e,dropdownTriggerId:t,iconsPosition:r,visualFocusIndex:n,menuItemOnClick:i,onKeyDown:l,options:a,styles:c},d)=>(0,ri.jsx)(Es,{onMouseDown:s=>{s.preventDefault()},onKeyDown:l,id:e,role:"menu","aria-labelledby":t,"aria-orientation":"vertical","aria-activedescendant":n!==-1?`${e}-option-${n}`:void 0,tabIndex:-1,ref:d,style:c,children:a.map((s,m)=>(0,ri.jsx)(Qi,{id:`${e}-option-${m}`,visuallyFocused:m===n,iconPosition:r,onClick:i,option:s},`${e}-option-${m}`))})),Es=el.default.ul`
510
+ box-sizing: border-box;
511
+ max-height: 230px;
512
+ min-width: min-content;
513
+ padding: 0;
514
+ margin: 0;
515
+ background-color: ${e=>e.theme.optionBackgroundColor};
516
+ border-width: ${e=>e.theme.borderThickness};
517
+ border-style: ${e=>e.theme.borderStyle};
518
+ border-color: ${e=>e.theme.borderColor};
519
+ border-radius: ${e=>e.theme.borderRadius};
520
+ border-top-right-radius: 0;
521
+ border-top-left-radius: 0;
522
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
523
+ outline: none;
524
+
525
+ overflow-y: auto;
526
+ &::-webkit-scrollbar {
527
+ width: 8px;
528
+ height: 8px;
529
+ }
530
+ &::-webkit-scrollbar-thumb {
531
+ background-color: ${e=>e.theme.scrollBarThumbColor};
532
+ border-radius: 6px;
533
+ }
534
+ &::-webkit-scrollbar-track {
535
+ background-color: ${e=>e.theme.scrollBarTrackColor};
536
+ border-radius: 6px;
537
+ }
538
+ `,ol=(0,dn.memo)(Ms);var ze=require("react/jsx-runtime"),Ws=({options:e,optionsIconPosition:t="before",icon:r,iconPosition:n="before",label:i="",caretHidden:l=!1,disabled:a=!1,expandOnHover:c=!1,onSelectOption:d,margin:s,size:m="fitContent",tabIndex:g=0,title:u})=>{let h=(0,lo.useId)(),y=`trigger-${h}`,v=`menu-${h}`,[f,_]=(0,lo.useState)(!1),[x,b]=(0,lo.useState)(0),D=k(),P=(0,lo.useRef)(null),B=(0,lo.useRef)(null),M=lr(P.current),H=()=>{_(!0)},w=()=>{_(!1),b(0)},S=(0,lo.useCallback)(C=>{d(C),w(),P.current?.focus()},[d]),z=C=>{!C.currentTarget.contains(C.relatedTarget)&&w()},G=()=>{_(C=>!C)},V=C=>{switch(C.key){case"Up":case"ArrowUp":C.preventDefault(),b(e.length-1),H();break;case" ":case"Down":case"ArrowDown":case"Enter":C.preventDefault(),H();break}},q=()=>{b(C=>C===0?e.length-1:C-1)},W=()=>{b(C=>C===e.length-1?0:C+1)},A=(0,lo.useCallback)(C=>{switch(C.key){case"Up":case"ArrowUp":C.preventDefault(),q();break;case"Down":case"ArrowDown":C.preventDefault(),W();break;case" ":case"Enter":C.preventDefault(),S(e[x].value);break;case"Esc":case"Escape":C.preventDefault(),f&&C.stopPropagation(),w(),P.current?.focus();break;case"Home":case"PageUp":C.preventDefault(),b(0);break;case"End":case"PageDown":C.preventDefault(),b(e.length-1);break;case"Tab":w(),P.current?.focus();break}},[d,x,e]);return(0,lo.useLayoutEffect)(()=>{B?.current?.querySelectorAll("[role='menuitem']")[x]?.scrollIntoView?.({block:"nearest",inline:"start"})},[x]),(0,ze.jsx)(tt.ThemeProvider,{theme:D.dropdown,children:(0,ze.jsx)(Os,{onMouseEnter:!a&&c?H:void 0,onMouseLeave:!a&&c?w:void 0,onBlur:a?void 0:z,margin:s,size:m,children:(0,ze.jsxs)(Ct.Root,{open:f,children:[(0,ze.jsx)(ge,{label:u,children:(0,ze.jsx)(Ct.Trigger,{asChild:!0,type:void 0,children:(0,ze.jsxs)(Gs,{onClick:G,onKeyDown:V,onBlur:C=>{C.stopPropagation()},disabled:a,label:i,margin:s,size:m,id:y,"aria-haspopup":"true","aria-controls":f?v:void 0,"aria-expanded":f?!0:void 0,"aria-label":"Show options",tabIndex:g,ref:P,children:[(0,ze.jsxs)(Ns,{children:[i&&n==="after"&&(0,ze.jsx)(rl,{children:i}),r&&(0,ze.jsx)(Vs,{disabled:a,role:typeof r=="string"?void 0:"img","aria-hidden":!0,children:typeof r=="string"?(0,ze.jsx)($,{icon:r}):r}),i&&n==="before"&&(0,ze.jsx)(rl,{children:i})]}),!l&&(0,ze.jsxs)(js,{disabled:a,children:[(0,ze.jsx)($,{icon:f?"arrow_drop_up":"arrow_drop_down"})," "]})]})})}),(0,ze.jsx)(Ct.Portal,{children:(0,ze.jsx)(Ct.Content,{asChild:!0,sideOffset:1,children:(0,ze.jsx)(ol,{id:v,dropdownTriggerId:y,options:e,iconsPosition:t,visualFocusIndex:x,menuItemOnClick:S,onKeyDown:A,styles:{width:M,zIndex:"2147483647"},ref:B})})})]})})})},tl={small:"60px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},nl=(e,t)=>t==="fillParent"?`calc(${tl[t]} - ${X(e,"left")} - ${X(e,"right")})`:tl[t],Os=tt.default.div`
539
+ width: ${e=>nl(e.margin,e.size)};
540
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
541
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
542
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
543
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
544
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
545
+ `,Gs=tt.default.button`
546
+ display: flex;
547
+ justify-content: space-between;
548
+ align-items: center;
549
+ gap: ${e=>e.theme.caretIconSpacing};
550
+ width: 100%;
551
+ height: ${e=>e.theme.buttonHeight};
552
+ min-width: ${e=>e.label===""?"0px":nl(e.margin,e.size)};
553
+ border-radius: ${e=>e.theme.buttonBorderRadius};
554
+ border-width: ${e=>e.theme.buttonBorderThickness};
555
+ border-style: ${e=>e.theme.buttonBorderStyle};
556
+ border-color: ${e=>e.disabled?e.theme.disabledButtonBorderColor:e.theme.buttonBorderColor};
557
+ padding-top: ${e=>e.theme.buttonPaddingTop};
558
+ padding-bottom: ${e=>e.theme.buttonPaddingBottom};
559
+ padding-left: ${e=>e.theme.buttonPaddingLeft};
560
+ padding-right: ${e=>e.theme.buttonPaddingRight};
561
+ background-color: ${e=>e.disabled?e.theme.disabledButtonBackgroundColor:e.theme.buttonBackgroundColor};
562
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.buttonFontColor};
563
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
564
+
565
+ ${e=>!e.disabled&&`
566
+ &:focus {
567
+ outline: 2px solid ${e.theme.focusColor};
568
+ }
569
+ &:hover {
570
+ background-color: ${e.theme.hoverButtonBackgroundColor};
571
+ }
572
+ &:active {
573
+ background-color: ${e.theme.activeButtonBackgroundColor};
574
+ }
575
+ `};
576
+ `,Ns=tt.default.span`
577
+ display: flex;
578
+ align-items: center;
579
+ gap: ${e=>e.theme.buttonIconSpacing};
580
+ margin-left: 0px;
581
+ margin-right: 0px;
582
+ width: 100%;
583
+ overflow: hidden;
584
+ white-space: nowrap;
585
+ `,rl=tt.default.span`
586
+ font-family: ${e=>e.theme.buttonFontFamily};
587
+ font-size: ${e=>e.theme.buttonFontSize};
588
+ font-style: ${e=>e.theme.buttonFontStyle};
589
+ font-weight: ${e=>e.theme.buttonFontWeight};
590
+ text-overflow: ellipsis;
591
+ overflow: hidden;
592
+ `,Vs=tt.default.span`
593
+ display: flex;
594
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.buttonIconColor};
595
+ font-size: ${e=>e.theme.buttonIconSize};
596
+
597
+ svg {
598
+ width: ${e=>e.theme.buttonIconSize};
599
+ height: ${e=>e.theme.buttonIconSize};
600
+ }
601
+ `,js=tt.default.span`
602
+ display: flex;
603
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.caretIconColor};
604
+ font-size: ${e=>e.theme.caretIconSize};
605
+
606
+ svg {
607
+ width: ${e=>e.theme.caretIconSize};
608
+ height: ${e=>e.theme.caretIconSize};
609
+ }
610
+ `,xt=Ws;var ae=require("react/jsx-runtime"),Xs=e=>(0,ae.jsx)(Js,{children:(0,ae.jsx)(xt,{...e})}),il=(e,t)=>e?typeof e=="string"?(0,ae.jsx)(Ys,{alt:t,src:e}):e:(0,ae.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"73",height:"40",viewBox:"0 0 73 40",children:[(0,ae.jsx)("title",{children:"DXC Logo"}),(0,ae.jsx)("g",{transform:"translate(0)",children:(0,ae.jsxs)("g",{children:[(0,ae.jsx)("path",{d:"M91.613-28.177v2.514H90.231V-28.15l-2.415-3.82h1.616l1.5,2.532,1.526-2.532h1.571ZM83.9-25.555A3.15,3.15,0,0,1,80.6-28.8v-.018a3.231,3.231,0,0,1,3.294-3.262,3.442,3.442,0,0,1,2.469.865l-.87,1.054a2.311,2.311,0,0,0-1.643-.64,1.891,1.891,0,0,0-1.8,1.964v.018a1.886,1.886,0,0,0,1.9,2,2.2,2.2,0,0,0,1.3-.378v-.9H83.858v-1.2h2.729v2.738A4.071,4.071,0,0,1,83.9-25.555Zm-6.416-3.261a1.913,1.913,0,0,0-1.9-1.982A1.883,1.883,0,0,0,73.7-28.835v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,77.486-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018A3.255,3.255,0,0,1,75.6-32.078a3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,75.583-25.555Zm-9.173-.108V-31.97h1.382v5.045h3.133v1.261Zm-3.433-3.153a1.913,1.913,0,0,0-1.9-1.982,1.883,1.883,0,0,0-1.886,1.964v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,62.978-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018a3.255,3.255,0,0,1,3.348-3.262,3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,61.075-25.555Zm-6.508-.108-3.043-4.009v4.009H50.159V-31.97h1.275l2.944,3.883V-31.97h1.364v6.306Zm-8.246,0v-2.531h-2.55v2.531H42.389V-31.97h1.382v2.5h2.55v-2.5H47.7v6.306Zm-8.432.108A3.178,3.178,0,0,1,34.666-28.8v-.018a3.2,3.2,0,0,1,3.276-3.262,3.237,3.237,0,0,1,2.478.973l-.88,1.018a2.315,2.315,0,0,0-1.606-.712,1.866,1.866,0,0,0-1.822,1.964v.018a1.87,1.87,0,0,0,1.822,1.982,2.265,2.265,0,0,0,1.651-.739l.88.891A3.206,3.206,0,0,1,37.889-25.555Zm-9.805-.108V-31.97h4.739v1.235H29.458v1.279h2.962v1.234H29.458V-26.9h3.411v1.234ZM24.322-30.69v5.027H22.939V-30.69H21.028v-1.28h5.206v1.28H24.322",transform:"translate(-21.028 65.555)",fill:"#010101"}),(0,ae.jsx)("path",{d:"M75.836-76.712a8.975,8.975,0,0,1,2.246-3.9,8.393,8.393,0,0,1,6.058-2.457h9.824v-5.67H84.139a14.611,14.611,0,0,0-10.232,4.221,14.509,14.509,0,0,0-3.076,4.536,11.913,11.913,0,0,0-.973,3.271Zm0,4.325a8.978,8.978,0,0,0,2.246,3.9,8.394,8.394,0,0,0,6.058,2.457h9.824v5.67H84.139A14.611,14.611,0,0,1,73.907-64.58a14.506,14.506,0,0,1-3.076-4.536,11.91,11.91,0,0,1-.973-3.271ZM57.522-69.832l-7.5,9.473H42.581L53.818-74.55,42.581-88.739H50.02l7.5,9.472,7.5-9.472h7.439L61.225-74.55l11.237,14.19H65.023Zm-12.336-6.88a11.935,11.935,0,0,0-.973-3.271,14.515,14.515,0,0,0-3.076-4.536A14.612,14.612,0,0,0,30.9-88.739H21.081v5.67H30.9a8.394,8.394,0,0,1,6.058,2.457,8.978,8.978,0,0,1,2.246,3.9Zm0,4.325a11.932,11.932,0,0,1-.973,3.271,14.511,14.511,0,0,1-3.076,4.536A14.611,14.611,0,0,1,30.9-60.359H21.081v-5.67H30.9a8.4,8.4,0,0,0,6.058-2.457,8.981,8.981,0,0,0,2.246-3.9h5.978",transform:"translate(-21.049 88.739)",fill:"#603494"})]})})]}),ll=({isResponsive:e,responsiveContent:t,handleMenu:r,content:n})=>e?(0,ae.jsx)(nm,{children:t(r)}):(0,ae.jsx)(Qs,{children:n}),al=({underlined:e=!1,content:t,responsiveContent:r,onClick:n,margin:i,tabIndex:l=0})=>{let a=k(),c=J(),d=(0,ao.useRef)(null),[s,m]=(0,ao.useState)(!1),[g,u]=(0,ao.useState)(!1),h=(0,ao.useCallback)(()=>{m(window.matchMedia(`(max-width: ${de.medium}rem)`).matches)},[]),y=()=>{u(!g)},v=(0,ao.useMemo)(()=>il(a.header.logo,c.formFields.logoAlternativeText),[a.header.logo]),f=(0,ao.useMemo)(()=>il(a.header.logoResponsive,c.formFields.logoAlternativeText),[a.header.logoResponsive]);return(0,ao.useEffect)(()=>(h(),window.addEventListener("resize",h),()=>{window.removeEventListener("resize",h)}),[h]),(0,ao.useEffect)(()=>{!s&&u(!1)},[s]),(0,ae.jsx)(We.ThemeProvider,{theme:a.header,children:(0,ae.jsxs)(Ks,{underlined:e,margin:i,ref:d,children:[(0,ae.jsx)(Us,{tabIndex:n?l:-1,interactive:!!n,onClick:n,children:(0,ae.jsx)(Zs,{children:v})}),s&&r&&(0,ae.jsxs)(ne,{grow:1,children:[(0,ae.jsx)(qs,{children:(0,ae.jsxs)(em,{tabIndex:l,onClick:y,"aria-label":"Show options",children:[(0,ae.jsx)($,{icon:"menu"}),c.header.hamburguerTitle]})}),(0,ae.jsxs)(om,{hasVisibility:g,children:[(0,ae.jsxs)(ne,{justifyContent:"space-between",alignItems:"center",children:[(0,ae.jsx)(tm,{children:f}),(0,ae.jsx)(ge,{label:c.header.closeIcon,children:(0,ae.jsx)(rm,{tabIndex:l,onClick:y,"aria-label":c.header.closeIcon,children:(0,ae.jsx)($,{icon:"close"})})})]}),(0,ae.jsx)(ll,{isResponsive:s,responsiveContent:r,handleMenu:y,content:t})]}),(0,ae.jsx)(im,{onClick:y,hasVisibility:g})]}),!s&&(0,ae.jsx)(ll,{isResponsive:s,responsiveContent:r,handleMenu:y,content:t})]})})};al.Dropdown=Xs;var Js=We.default.div`
611
+ display: flex;
612
+ button {
613
+ background-color: transparent;
614
+ :hover {
615
+ background-color: transparent;
616
+ }
617
+ }
618
+ `,Ks=We.default.header`
619
+ box-sizing: border-box;
620
+ display: flex;
621
+ flex-direction: row;
622
+ align-items: center;
623
+ justify-content: space-between;
624
+ min-height: ${e=>e.theme.minHeight};
625
+ margin-bottom: ${e=>e.margin?p[e.margin]:"0px"};
626
+ padding: ${e=>`${e.theme.paddingTop} ${e.theme.paddingRight} ${e.theme.paddingBottom} ${e.theme.paddingLeft}`};
627
+ background-color: ${e=>e.theme.backgroundColor};
628
+ border-bottom: ${e=>e.underlined&&`${e.theme.underlinedThickness} ${e.theme.underlinedStyle} ${e.theme.underlinedColor}`};
629
+ `,Us=We.default.a`
630
+ ${e=>e.interactive?"cursor: pointer":"cursor: default; outline:none;"};
631
+ `,Ys=We.default.img`
632
+ max-height: ${e=>e.theme.logoHeight};
633
+ width: ${e=>e.theme.logoWidth};
634
+ `,Zs=We.default.div`
635
+ max-height: ${e=>e.theme.logoHeight};
636
+ width: ${e=>e.theme.logoWidth};
637
+ vertical-align: middle;
638
+ `,qs=We.default.div`
639
+ display: flex;
640
+ align-items: center;
641
+ justify-content: flex-end;
642
+ flex-grow: 1;
643
+ width: calc(100% - 186px);
644
+ `,Qs=We.default.div`
645
+ display: flex;
646
+ align-items: center;
647
+ flex-grow: 1;
648
+ justify-content: flex-end;
649
+ width: calc(100% - 186px);
650
+ color: ${e=>e.theme.contentColor};
651
+ `,em=We.default.button`
652
+ display: flex;
653
+ flex-direction: column;
654
+ justify-content: center;
655
+ align-items: center;
656
+ width: 54px;
657
+ cursor: pointer;
658
+ border: 1px solid transparent;
659
+ border-radius: 2px;
660
+ background-color: transparent;
661
+ :hover {
662
+ background-color: ${e=>e.theme.hamburguerHoverColor};
663
+ }
664
+ &:focus {
665
+ outline: ${e=>e.theme.hamburguerFocusColor} auto 1px;
666
+ }
667
+ & > svg {
668
+ fill: ${e=>e.theme.hamburguerIconColor};
669
+ }
670
+ & > span {
671
+ font-size: 24px;
672
+ }
673
+ font-family: ${e=>e.theme.hamburguerFontFamily};
674
+ font-style: ${e=>e.theme.hamburguerFontStyle};
675
+ font-size: ${e=>e.theme.hamburguerFontSize};
676
+ text-transform: ${e=>e.theme.hamburguerTextTransform};
677
+ font-weight: ${e=>e.theme.hamburguerFontWeight};
678
+ color: ${e=>e.theme.hamburguerFontColor};
679
+ `,om=We.default.div`
680
+ display: flex;
681
+ flex-direction: column;
682
+ background-color: ${e=>e.theme.menuBackgroundColor};
683
+ position: fixed;
684
+ top: 0;
685
+ right: 0;
686
+ z-index: ${e=>e.theme.menuZindex};
687
+
688
+ @media (max-width: ${de.large}rem) and (min-width: ${de.small}rem) {
689
+ width: ${e=>e.theme.menuTabletWidth};
690
+ }
691
+
692
+ @media (not((max-width: ${de.large}rem) and (min-width: ${de.small}rem))) {
693
+ width: ${e=>e.theme.menuMobileWidth};
694
+ }
695
+
696
+ height: 100vh;
697
+ padding: 20px;
698
+ transform: ${e=>e.hasVisibility?"translateX(0)":"translateX(100vw)"};
699
+ opacity: ${e=>e.hasVisibility?"1":"0.96"};
700
+ transition-property: transform, opacity;
701
+ transition-duration: 0.6s;
702
+ transition-timing-function: ease-in-out;
703
+ box-sizing: border-box;
704
+ `,tm=We.default.div`
705
+ max-height: ${e=>e.theme.logoHeight};
706
+ width: ${e=>e.theme.logoWidth};
707
+ display: flex;
708
+ `,rm=We.default.button`
709
+ display: flex;
710
+ justify-content: center;
711
+ align-content: center;
712
+ padding: 6px;
713
+ border: unset;
714
+ border-radius: 2px;
715
+ background-color: transparent;
716
+ cursor: pointer;
717
+
718
+ :focus,
719
+ :focus-visible {
720
+ outline: ${e=>e.theme.hamburguerFocusColor} auto 1px;
721
+ }
722
+ font-size: 24px;
723
+ svg {
724
+ height: 24px;
725
+ width: 24px;
726
+ }
727
+ `,nm=We.default.div`
728
+ display: flex;
729
+ flex-direction: column;
730
+ align-items: flex-start;
731
+ height: 100%;
732
+ color: ${e=>e.theme.contentColor};
733
+ `,im=We.default.div`
734
+ position: fixed;
735
+ top: 0;
736
+ left: 0;
737
+ width: 100vw;
738
+ height: 100vh;
739
+ background-color: ${e=>e.theme.overlayColor};
740
+ opacity: ${e=>e.theme.overlayOpacity} !important;
741
+ visibility: ${e=>e.hasVisibility?"visible":"hidden"};
742
+ opacity: ${e=>e.hasVisibility?"1":"0"};
743
+
744
+ @media (max-width: ${de.small}rem) {
745
+ display: none;
746
+ }
747
+
748
+ transition: opacity 0.2s 0.2s ease-in-out;
749
+ z-index: ${e=>e.theme.overlayZindex};
750
+ `,ni=al;var $o=require("react"),Eo=F(require("styled-components"));var cl=F(require("styled-components")),dl=require("react/jsx-runtime"),sn=e=>e||"0rem",lm=cl.default.div`
751
+ ${({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a})=>`
752
+ margin: -${sn(n||r||e)} -${sn(i||t||e)} -${sn(l||r||e)} -${sn(a||t||e)};
753
+ `}
754
+ `,am=({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c})=>(0,dl.jsx)(lm,{space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c}),Sr=am;var mn=require("react"),sl=(0,mn.createContext)(null),ml=sl.Provider,gn=()=>(0,mn.useContext)(sl);var pe=require("react/jsx-runtime"),Ir=({title:e,children:t})=>{let r=k();return(0,pe.jsx)(Eo.ThemeProvider,{theme:r.sidenav,children:(0,pe.jsxs)(gm,{children:[e,(0,pe.jsx)(ne,{direction:"column",gap:"1rem",children:t})]})})},cm=({children:e})=>(0,pe.jsx)(Sr,{horizontal:"1rem",children:(0,pe.jsx)(pm,{children:e})}),dm=({children:e})=>(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(Sr,{horizontal:"1rem",children:(0,pe.jsx)(ne,{direction:"column",children:e})}),(0,pe.jsx)(um,{})]}),gl=(0,$o.createContext)(null),sm=({title:e,collapsable:t=!1,icon:r,children:n})=>{let[i,l]=(0,$o.useState)(!1),[a,c]=(0,$o.useState)(!1);return(0,pe.jsx)(gl.Provider,{value:c,children:(0,pe.jsxs)(hm,{children:[t&&e?(0,pe.jsxs)(bm,{"aria-expanded":!i,onClick:()=>l(!i),selectedGroup:i&&a,children:[(0,pe.jsxs)(ne,{alignItems:"center",gap:"0.5rem",children:[typeof r=="string"?(0,pe.jsx)($,{icon:r}):r,e]}),(0,pe.jsx)($,{icon:i?"expand_more":"expand_less"})]}):e&&(0,pe.jsxs)(fm,{children:[typeof r=="string"?(0,pe.jsx)($,{icon:r}):r,e]}),!i&&n]})})},mm=(0,$o.forwardRef)(({href:e,newWindow:t=!1,selected:r=!1,icon:n,onClick:i,tabIndex:l=0,children:a,...c},d)=>{let s=(0,$o.useContext)(gl),m=gn(),g=u=>{i?.(u),m?.(!1)};return(0,$o.useEffect)(()=>{s?.(u=>u||r)},[r,s]),(0,pe.jsxs)(ym,{selected:r,href:e||void 0,target:e?t?"_blank":"_self":void 0,ref:d,tabIndex:l,onClick:g,...c,children:[(0,pe.jsxs)(ne,{alignItems:"center",gap:"0.5rem",children:[typeof n=="string"?(0,pe.jsx)($,{icon:n}):n,a]}),t&&(0,pe.jsx)($,{icon:"open_in_new"})]})}),gm=Eo.default.div`
755
+ box-sizing: border-box;
756
+ display: flex;
757
+ flex-direction: column;
758
+ width: 280px;
759
+ @media (max-width: ${de.large}rem) {
760
+ width: 100vw;
761
+ }
762
+ padding: 2rem 1rem;
763
+ background-color: ${e=>e.theme.backgroundColor};
764
+
765
+ overflow-y: auto;
766
+ overflow-x: hidden;
767
+ ::-webkit-scrollbar {
768
+ width: 2px;
769
+ }
770
+ ::-webkit-scrollbar-track {
771
+ background-color: ${e=>e.theme.scrollBarTrackColor};
772
+ border-radius: 3px;
773
+ }
774
+ ::-webkit-scrollbar-thumb {
775
+ background-color: ${e=>e.theme.scrollBarThumbColor};
776
+ border-radius: 3px;
777
+ }
778
+ `,pm=Eo.default.div`
779
+ display: flex;
780
+ align-items: center;
781
+ padding: 0.5rem 1.2rem;
782
+ font-family: ${e=>e.theme.titleFontFamily};
783
+ font-style: ${e=>e.theme.titleFontStyle};
784
+ font-weight: ${e=>e.theme.titleFontWeight};
785
+ font-size: ${e=>e.theme.titleFontSize};
786
+ color: ${e=>e.theme.titleFontColor};
787
+ letter-spacing: ${e=>e.theme.titleFontLetterSpacing};
788
+ text-transform: ${e=>e.theme.titleFontTextTransform};
789
+ `,um=Eo.default.div`
790
+ width: 100%;
791
+ height: 1px;
792
+ background-color: ${o.color_grey_400};
793
+
794
+ &:last-child {
795
+ display: none;
796
+ }
797
+ `,hm=Eo.default.div`
798
+ a {
799
+ padding: 0.5rem 1.2rem 0.5rem 2.25rem;
800
+ }
801
+ `,fm=Eo.default.span`
802
+ box-sizing: border-box;
803
+ display: flex;
804
+ align-items: center;
805
+ gap: 0.5rem;
806
+ padding: 0.5rem 1.2rem;
807
+ font-family: ${e=>e.theme.groupTitleFontFamily};
808
+ font-style: ${e=>e.theme.groupTitleFontStyle};
809
+ font-weight: ${e=>e.theme.groupTitleFontWeight};
810
+ font-size: ${e=>e.theme.groupTitleFontSize};
811
+ span::before {
812
+ font-size: 16px;
813
+ }
814
+ svg {
815
+ height: 16px;
816
+ width: 16px;
817
+ }
818
+ `,bm=Eo.default.button`
819
+ all: unset;
820
+ box-sizing: border-box;
821
+ display: flex;
822
+ align-items: center;
823
+ justify-content: space-between;
824
+ width: 100%;
825
+ padding: 0.5rem 1.2rem;
826
+ font-family: ${e=>e.theme.groupTitleFontFamily};
827
+ font-style: ${e=>e.theme.groupTitleFontStyle};
828
+ font-weight: ${e=>e.theme.groupTitleFontWeight};
829
+ font-size: ${e=>e.theme.groupTitleFontSize};
830
+ cursor: pointer;
831
+
832
+ ${e=>e.selectedGroup?`color: ${e.theme.groupTitleSelectedFontColor}; background-color: ${e.theme.groupTitleSelectedBackgroundColor};`:`color: ${e.theme.groupTitleFontColor}; background-color: transparent;`}
833
+
834
+ &:focus, &:focus-visible {
835
+ outline: 2px solid ${e=>e.theme.linkFocusColor};
836
+ outline-offset: -2px;
837
+ }
838
+ &:hover {
839
+ ${e=>e.selectedGroup?`color: ${e.theme.groupTitleSelectedHoverFontColor}; background-color: ${e.theme.groupTitleSelectedHoverBackgroundColor};`:`color: ${e.theme.groupTitleFontColor}; background-color: ${e.theme.groupTitleHoverBackgroundColor};`}
840
+ }
841
+ &:active {
842
+ color: #fff;
843
+ background-color: ${e=>e.selectedGroup?"#333":e.theme.groupTitleActiveBackgroundColor};
844
+ }
845
+ span::before {
846
+ font-size: 16px;
847
+ }
848
+ svg {
849
+ height: 16px;
850
+ width: 16px;
851
+ }
852
+ `,ym=Eo.default.a`
853
+ display: flex;
854
+ align-items: center;
855
+ justify-content: space-between;
856
+ gap: 0.5rem;
857
+ padding: 0.5rem 1.2rem;
858
+ box-shadow: 0 0 0 2px transparent;
859
+ font-family: ${e=>e.theme.linkFontFamily};
860
+ font-style: ${e=>e.theme.linkFontStyle};
861
+ font-weight: ${e=>e.theme.linkFontWeight};
862
+ font-size: ${e=>e.theme.linkFontSize};
863
+ letter-spacing: ${e=>e.theme.linkFontLetterSpacing};
864
+ text-transform: ${e=>e.theme.linkFontTextTransform};
865
+ text-decoration: ${e=>e.theme.linkTextDecoration};
866
+ cursor: pointer;
867
+
868
+ ${e=>e.selected?`color: ${e.theme.linkSelectedFontColor}; background-color: ${e.theme.linkSelectedBackgroundColor};`:`color: ${e.theme.linkFontColor}; background-color: transparent;`}
869
+
870
+ &:focus, &:focus-visible {
871
+ outline: 2px solid ${e=>e.theme.linkFocusColor};
872
+ outline-offset: -2px;
873
+ }
874
+ &:hover {
875
+ ${e=>e.selected?`color: ${e.theme.linkSelectedHoverFontColor}; background-color: ${e.theme.linkSelectedHoverBackgroundColor};`:`color: ${e.theme.linkFontColor}; background-color: ${e.theme.linkHoverBackgroundColor};`}
876
+ }
877
+ &:active {
878
+ color: #fff;
879
+ background-color: ${e=>e.selected?"#333":"#4d4d4d"};
880
+ outline: 2px solid #0095ff;
881
+ outline-offset: -2px;
882
+ }
883
+ span::before {
884
+ font-size: 16px;
885
+ }
886
+ svg {
887
+ height: 16px;
888
+ width: 16px;
889
+ }
890
+ `;Ir.Section=dm;Ir.Group=sm;Ir.Link=mm;Ir.Title=cm;var pl=Ir;var _t=require("react");var vo=require("react/jsx-runtime"),Cm={facebookLogo:(0,vo.jsx)("svg",{version:"1.1",x:"0px",y:"0px",width:"438.536px",height:"438.536px",viewBox:"0 0 438.536 438.536",fill:"#FFFFFF",children:(0,vo.jsx)("g",{children:(0,vo.jsx)("path",{d:`M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
891
+ C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
892
+ h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
893
+ C438.532,59.576,430.49,40.204,414.41,24.123z M373.155,225.548h-49.963V406.84h-74.802V225.548H210.99V163.02h37.401v-37.402
894
+ c0-26.838,6.283-47.107,18.843-60.813c12.559-13.706,33.304-20.555,62.242-20.555h49.963v62.526h-31.401
895
+ c-10.663,0-17.467,1.853-20.417,5.568c-2.949,3.711-4.428,10.23-4.428,19.558v31.119h56.534L373.155,225.548z`})})}),xLogo:(0,vo.jsxs)("svg",{width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,vo.jsx)("rect",{width:"256",height:"256",rx:"40",fill:"white"}),(0,vo.jsx)("path",{d:"M140.192 118.205L187.848 64H176.556L135.158 111.056L102.117 64H64L113.975 135.163L64 192H75.2914L118.982 142.296L153.883 192H192L140.192 118.205ZM124.722 135.787L119.65 128.697L79.3634 72.3294H96.7094L129.232 117.837L134.282 124.927L176.551 184.076H159.205L124.722 135.787Z",fill:"#0F1419"})]}),linkedinLogo:(0,vo.jsx)("svg",{version:"1.1",x:"0px",y:"0px",width:"438.536px",height:"438.536px",viewBox:"0 0 438.536 438.536",fill:"#FFFFFF",children:(0,vo.jsx)("g",{children:(0,vo.jsx)("path",{d:`M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123
896
+ C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126
897
+ h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225
898
+ C438.532,59.576,430.49,40.204,414.41,24.123z M133.618,367.157H67.666V169.016h65.952V367.157z M127.626,132.332
899
+ c-6.851,6.567-15.893,9.851-27.124,9.851h-0.288c-10.848,0-19.648-3.284-26.407-9.851c-6.76-6.567-10.138-14.703-10.138-24.41
900
+ c0-9.897,3.476-18.083,10.421-24.556c6.95-6.471,15.942-9.708,26.98-9.708c11.039,0,19.89,3.237,26.553,9.708
901
+ c6.661,6.473,10.088,14.659,10.277,24.556C137.899,117.625,134.477,125.761,127.626,132.332z M370.873,367.157h-65.952v-105.92
902
+ c0-29.879-11.036-44.823-33.116-44.823c-8.374,0-15.42,2.331-21.128,6.995c-5.715,4.661-9.996,10.324-12.847,16.991
903
+ c-1.335,3.422-1.999,8.75-1.999,15.981v110.775h-65.952c0.571-119.529,0.571-185.579,0-198.142h65.952v27.974
904
+ c13.867-21.681,33.558-32.544,59.101-32.544c22.84,0,41.21,7.52,55.104,22.554c13.895,15.037,20.841,37.214,20.841,66.519v113.64
905
+ H370.873z`})})})},pn=Cm;var ul=new Date().getFullYear(),hl=[{href:"https://www.linkedin.com/company/dxctechnology",text:"Linkedin"},{href:"https://x.com/dxctechnology",text:"X"},{href:"https://www.facebook.com/DXCTechnology/",text:"Facebook"}],fl=[{href:"https://www.linkedin.com/company/dxctechnology",logo:pn.linkedinLogo,title:"Linkedin"},{href:"https://x.com/dxctechnology",logo:pn.xLogo,title:"X"},{href:"https://www.facebook.com/DXCTechnology/",logo:pn.facebookLogo,title:"Facebook"}],bl=(e,t)=>_t.Children.toArray(e).find(r=>(0,_t.isValidElement)(r)&&r.type===t),yl=e=>{let[t,r]=(0,_t.useState)(!1);return(0,_t.useEffect)(()=>{let n=()=>{r(window.matchMedia(`(max-width: ${e}rem)`).matches)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var Ae=require("react/jsx-runtime"),xm=rt.default.div`
906
+ position: absolute;
907
+ top: 64px;
908
+ bottom: 0;
909
+ left: 0;
910
+ right: 0;
911
+ display: flex;
912
+ flex-direction: column;
913
+
914
+ @media (max-width: ${de.large}rem) {
915
+ ${e=>e.hasSidenav&&"top: 116px"};
916
+ ${e=>e.isSidenavVisible&&"overflow: hidden;"}
917
+ }
918
+ `,_m=rt.default.div`
919
+ position: fixed;
920
+ top: 0;
921
+ left: 0;
922
+ right: 0;
923
+ z-index: 3;
924
+ `,$m=rt.default.div`
925
+ position: fixed;
926
+ top: 64px;
927
+ left: 0;
928
+ right: 0;
929
+ box-sizing: border-box;
930
+ display: flex;
931
+ align-items: center;
932
+ padding: 4px 16px;
933
+ width: 100%;
934
+ background-color: #f2f2f2;
935
+ user-select: none;
936
+ z-index: 2;
937
+ `,vm=rt.default.button`
938
+ display: flex;
939
+ flex-wrap: wrap;
940
+ gap: 10px;
941
+ border: 0px solid transparent;
942
+ border-radius: 2px;
943
+ padding: 12px 4px;
944
+ background-color: transparent;
945
+ box-shadow: 0 0 0 2px transparent;
946
+ font-family:
947
+ Open Sans,
948
+ sans-serif;
949
+ font-weight: 600;
950
+ font-size: 14px;
951
+ color: #000;
952
+ cursor: pointer;
953
+
954
+ :active {
955
+ background-color: #cccccc;
956
+ }
957
+ :focus,
958
+ :focus-visible {
959
+ outline: none;
960
+ box-shadow: 0 0 0 2px #0095ff;
961
+ }
962
+ span::before {
963
+ font-size: 20px;
964
+ }
965
+ `,Tm=rt.default.div`
966
+ display: flex;
967
+ flex-direction: row;
968
+ flex: 1;
969
+ `,km=rt.default.div`
970
+ position: sticky;
971
+ top: 64px;
972
+ display: flex;
973
+ height: calc(100vh - 64px);
974
+ z-index: 1;
975
+
976
+ @media (max-width: ${de.large}rem) {
977
+ position: absolute;
978
+ top: 0px;
979
+ height: 100%;
980
+ }
981
+ `,Fm=rt.default.div`
982
+ display: flex;
983
+ flex-direction: column;
984
+ width: 100%;
985
+ `,wm=rt.default.main`
986
+ flex: 1;
987
+ background-color: #fff;
988
+ `,Cl=({children:e})=>(0,Ae.jsx)(Ae.Fragment,{children:e}),cr=({visibilityToggleLabel:e="",header:t,sidenav:r,footer:n,children:i})=>{let[l,a]=(0,ar.useState)(!1),c=yl(de.large),d=(0,ar.useRef)(null),s=J(),m=()=>{a(g=>!g)};return(0,ar.useEffect)(()=>{!c&&a(!1)},[c]),(0,Ae.jsxs)(xm,{hasSidenav:!!r,isSidenavVisible:l,ref:d,children:[(0,Ae.jsx)(_m,{children:t??(0,Ae.jsx)(ni,{underlined:!0})}),r&&c&&(0,Ae.jsx)($m,{children:(0,Ae.jsx)(ge,{label:s.applicationLayout.visibilityToggleTitle,children:(0,Ae.jsxs)(vm,{onClick:m,"aria-label":e?void 0:s.applicationLayout.visibilityToggleTitle,children:[(0,Ae.jsx)($,{icon:"Menu"}),e]})})}),(0,Ae.jsxs)(Tm,{children:[(0,Ae.jsx)(ml,{value:a,children:r&&(c?l:!0)&&(0,Ae.jsx)(km,{children:r})}),(0,Ae.jsxs)(Fm,{children:[(0,Ae.jsx)(wm,{children:bl(i,Cl)}),n??(0,Ae.jsx)(ti,{copyright:`\xA9 DXC Technology ${ul}\u200B\u200B\u200B\u200B. All rights reserved.`,bottomLinks:hl,socialLinks:fl})]})]})]})};cr.Footer=ti;cr.Header=ni;cr.Main=Cl;cr.SideNav=pl;cr.useResponsiveSidenavVisibility=gn;var xl=cr;var un=F(require("styled-components"));var Kt=require("react/jsx-runtime"),_l={grey:{background:o.color_grey_200,text:o.color_grey_900},blue:{background:o.color_blue_200,text:o.color_blue_900},green:{background:o.color_green_200,text:o.color_green_900},orange:{background:o.color_orange_200,text:o.color_orange_900},red:{background:o.color_red_200,text:o.color_red_900},yellow:{background:o.color_yellow_200,text:o.color_yellow_900},purple:{background:o.color_purple_200,text:o.color_purple_900}},Wo={small:{height:"20px",width:"20px",minWidth:"20px",fontSize:o.type_scale_01,borderRadius:o.spacing_12,iconSize:"14px",padding:{contextual:`${o.spacing_4}`,notification:`${o.spacing_0} ${o.spacing_4}`}},medium:{height:"24px",width:"24px",minWidth:"24px",fontSize:o.type_scale_02,borderRadius:o.spacing_12,iconSize:"16px",padding:{contextual:`${o.spacing_4} ${o.spacing_8}`,notification:`${o.spacing_0} ${o.spacing_4}`}},large:{height:"32px",width:"32px",minWidth:"32px",fontSize:o.type_scale_04,borderRadius:o.spacing_24,iconSize:"24px",padding:{contextual:`${o.spacing_4} ${o.spacing_8}`,notification:`${o.spacing_0} ${o.spacing_8}`}}},Sm=({label:e,title:t,mode:r="contextual",color:n="grey",icon:i,notificationLimit:l=99,size:a="medium"})=>(0,Kt.jsx)(ge,{label:t,children:(0,Kt.jsxs)(Lm,{label:e,mode:r,color:r==="contextual"&&n||void 0,size:a,"aria-label":t,children:[r==="contextual"&&i&&(0,Kt.jsx)(Dm,{size:a,children:typeof i=="string"?(0,Kt.jsx)($,{icon:i}):i}),e&&(0,Kt.jsx)(zm,{size:a,children:typeof e=="number"&&e>l?"+"+l:e})]})}),Im=(e,t)=>e==="contextual"?_l[t].text:o.color_white,Bm=(e,t)=>e==="contextual"?_l[t].background:o.color_red_700,Pm=(e,t)=>e==="contextual"?Wo[t].padding.contextual:Wo[t].padding.notification,Lm=un.default.div`
989
+ box-sizing: border-box;
990
+ border-radius: ${e=>Wo[e.size].borderRadius};
991
+ padding: ${e=>e.label?Pm(e.mode,e.size):""};
992
+ width: ${e=>!e.label&&e.mode==="notification"?Wo[e.size].width:"fit-content"};
993
+ min-width: ${e=>e.mode==="notification"&&Wo[e.size].minWidth};
994
+ height: ${e=>Wo[e.size].height};
995
+ display: flex;
996
+ align-items: center;
997
+ gap: ${o.spacing_2};
998
+ justify-content: center;
999
+ background-color: ${e=>Bm(e.mode,e.color)};
1000
+ color: ${e=>Im(e.mode,e.color)};
1001
+ `,Dm=un.default.div`
1002
+ display: flex;
1003
+ font-size: ${e=>Wo[e.size].iconSize};
1004
+
1005
+ svg {
1006
+ height: ${e=>Wo[e.size].iconSize};
1007
+ width: ${e=>Wo[e.size].iconSize};
1008
+ }
1009
+ `,zm=un.default.span`
1010
+ font-family: ${o.type_sans};
1011
+ font-size: ${e=>Wo[e.size].fontSize};
1012
+ font-weight: ${o.type_semibold};
1013
+ white-space: nowrap;
1014
+ `,$t=Sm;var Tl=require("react"),kl=F(require("styled-components"));var $l={dropdown:{buttonIconSize:o.spacing_16,buttonPaddingTop:o.spacing_4,buttonPaddingBottom:o.spacing_4,buttonPaddingLeft:o.spacing_4,buttonPaddingRight:o.spacing_4,buttonHeight:"24px",buttonBorderRadius:"2px",buttonBorderColor:o.color_transparent,optionFontSize:"14px",optionPaddingTop:o.spacing_0,optionPaddingBottom:o.spacing_0,optionPaddingLeft:o.spacing_16,optionPaddingRight:o.spacing_16,buttonBackgroundColor:o.color_white,hoverButtonBackgroundColor:o.color_grey_100,activeButtonBackgroundColor:o.color_grey_300,buttonFontFamily:o.type_sans,buttonFontSize:o.type_scale_03,buttonFontStyle:o.type_normal,buttonFontWeight:o.type_regular,buttonFontColor:o.color_black,buttonIconSpacing:"10px",buttonIconColor:o.color_black,buttonBorderStyle:o.border_none,buttonBorderThickness:o.border_width_0,disabledColor:o.color_grey_500,disabledButtonBackgroundColor:o.color_transparent,disabledButtonBorderColor:o.color_transparent,optionBackgroundColor:o.color_white,hoverOptionBackgroundColor:o.color_grey_100,activeOptionBackgroundColor:o.color_grey_300,optionFontFamily:o.type_sans,optionFontStyle:o.type_normal,optionFontWeight:o.type_regular,optionFontColor:o.color_black,optionIconSize:"20px",optionIconSpacing:"10px",optionIconColor:o.color_black,caretIconSize:"24px",caretIconColor:o.color_black,caretIconSpacing:"12px",borderRadius:"4px",borderStyle:o.border_none,borderThickness:o.border_width_0,borderColor:o.color_transparent,scrollBarThumbColor:o.color_grey_700,scrollBarTrackColor:o.color_grey_300,focusColor:o.color_blue_600}};var Pr=F(require("styled-components"));var vl=require("react"),Br=require("react/jsx-runtime"),Am=({isCurrentPage:e=!1,href:t,label:r,onClick:n})=>{let i=(0,vl.useRef)(null);return(0,Br.jsx)(Rm,{"aria-current":e?"page":void 0,isCurrentPage:e,children:e?(0,Br.jsx)(Hm,{ref:i,onMouseEnter:c=>{let d=c.currentTarget,s=i?.current;s.title===""&&d.scrollWidth>d.clientWidth&&(s.title=r)},children:r}):(0,Br.jsx)(Mm,{href:t,onClick:c=>{n&&(c.preventDefault(),n(t))},children:(0,Br.jsx)(Em,{children:r})})})},Rm=Pr.default.li`
1015
+ display: flex;
1016
+ align-items: center;
1017
+ font-family: ${o.type_sans};
1018
+ font-size: ${o.type_scale_02};
1019
+ color: ${o.color_black};
1020
+ ${({isCurrentPage:e})=>e&&"overflow: hidden;"}
1021
+ `,Hm=Pr.default.span`
1022
+ font-weight: ${o.type_semibold};
1023
+ overflow: hidden;
1024
+ text-overflow: ellipsis;
1025
+ white-space: nowrap;
1026
+ cursor: default;
1027
+ `,Mm=Pr.default.a`
1028
+ border-radius: ${o.border_radius_small};
1029
+ padding: ${o.spacing_0} ${o.spacing_2};
1030
+ display: inline-flex;
1031
+ align-items: center;
1032
+ height: 24px;
1033
+ color: ${o.color_black};
1034
+ text-decoration: ${o.type_no_line};
1035
+ cursor: pointer;
1036
+
1037
+ &:focus {
1038
+ outline: ${o.border_width_2} solid ${o.color_blue_600};
1039
+ }
1040
+ `,Em=Pr.default.span`
1041
+ border: ${o.border_width_1} solid ${o.color_transparent};
1042
+ &:hover {
1043
+ border-bottom-color: ${o.color_black};
1044
+ }
1045
+ `,hn=Am;var Ze=require("react/jsx-runtime"),Wm=({ariaLabel:e="Breadcrumbs",items:t,itemsBeforeCollapse:r=4,onItemClick:n,showRoot:i=!0})=>{let l=(0,Tl.useCallback)(a=>{n?n(a):window.location.href=a},[t]);return(0,Ze.jsx)("nav",{"aria-label":e,children:(0,Ze.jsx)(Om,{children:t&&t.length>Math.max(r,2)?(0,Ze.jsxs)(Ze.Fragment,{children:[i&&(0,Ze.jsx)(hn,{href:t[0].href,label:t[0].label},0),(0,Ze.jsx)(ne,{alignItems:"center",as:"li",children:(0,Ze.jsx)(Ho,{advancedTheme:$l,children:(0,Ze.jsx)(xt,{caretHidden:!0,icon:(0,Ze.jsx)($,{icon:"more_horiz"}),margin:i&&{left:"small"},onSelectOption:l,options:t.slice(i?1:0,-1).map(({label:a,href:c})=>({label:a,value:c}))})})},1),(0,Ze.jsx)(hn,{isCurrentPage:!0,label:t[t.length-1].label},2)]}):t.map((a,c,{length:d})=>(0,Ze.jsx)(hn,{href:a.href,isCurrentPage:c===d-1,label:a.label,onClick:n},c))})})},Om=kl.default.ol`
1046
+ margin: ${o.spacing_0};
1047
+ padding-left: ${o.spacing_0};
1048
+ display: flex;
1049
+ align-items: center;
1050
+ gap: ${o.spacing_12};
1051
+ list-style-type: none;
1052
+
1053
+ > li:not(:first-child) {
1054
+ > a,
1055
+ > span {
1056
+ margin-left: ${o.spacing_12};
1057
+ }
1058
+ &::before {
1059
+ margin: ${o.spacing_0} ${o.spacing_2};
1060
+ transform: rotate(15deg);
1061
+ border-right: ${o.border_width_1} solid ${o.color_grey_500};
1062
+ height: 1rem;
1063
+ content: "";
1064
+ }
1065
+ }
1066
+ `,Fl=Wm;var Sl=require("react"),fo=F(require("styled-components"));var wl=require("react/jsx-runtime"),Gm=({textOverflow:e,whiteSpace:t,children:r,...n})=>(0,wl.jsx)(Ge,{textOverflow:e,whiteSpace:t==null&&e!=null&&e!=="unset"?"nowrap":t,...n,children:r}),vt=Gm;var $e=require("react/jsx-runtime"),Nm=({children:e})=>(0,$e.jsx)($e.Fragment,{children:e}),Il=({children:e,type:t="disc",icon:r=""})=>{let n=k();return(0,$e.jsx)(fo.ThemeProvider,{theme:n.bulletedList,children:(0,$e.jsx)(Vm,{children:(0,$e.jsx)(ne,{direction:"column",as:t==="number"?"ol":"ul",gap:"0.125rem",children:Sl.Children.map(e,(i,l)=>(0,$e.jsx)(Zm,{children:(0,$e.jsxs)(jm,{children:[t==="number"?(0,$e.jsx)(Jm,{children:(0,$e.jsxs)(vt,{color:n.bulletedList.fontColor,children:[l+1,"."]})}):t==="square"?(0,$e.jsx)(fn,{children:(0,$e.jsx)(Km,{})}):t==="circle"?(0,$e.jsx)(fn,{children:(0,$e.jsx)(Um,{})}):t==="icon"?(0,$e.jsx)(fn,{children:(0,$e.jsx)(Xm,{children:typeof r=="string"?(0,$e.jsx)($,{icon:r}):r})}):(0,$e.jsx)(fn,{children:(0,$e.jsx)(Ym,{})}),(0,$e.jsx)(vt,{color:n.bulletedList.fontColor,children:i})]})}))})})})};Il.Item=Nm;var Vm=fo.default.div`
1067
+ ul,
1068
+ ol {
1069
+ padding: 0;
1070
+ margin: 0;
1071
+ }
1072
+ `,fn=fo.default.div`
1073
+ display: flex;
1074
+ align-self: flex-start;
1075
+ align-items: center;
1076
+ height: 1.5rem;
1077
+ `,jm=fo.default.div`
1078
+ display: grid;
1079
+ grid-template-columns: auto 1fr;
1080
+ align-items: center;
1081
+ `,Xm=fo.default.div`
1082
+ height: 1.5rem;
1083
+ width: auto;
1084
+ margin-right: ${e=>e.theme.bulletMarginRight};
1085
+ align-content: center;
1086
+ color: ${e=>e.theme.fontColor};
1087
+
1088
+ font-size: ${e=>e.theme.bulletIconHeight};
1089
+ svg {
1090
+ height: ${e=>e.theme.bulletIconHeight};
1091
+ width: ${e=>e.theme.bulletIconWidth};
1092
+ }
1093
+ `,Jm=fo.default.div`
1094
+ user-select: none;
1095
+ margin-right: ${e=>e.theme.bulletMarginRight};
1096
+ display: flex;
1097
+ box-sizing: border-box;
1098
+ align-self: flex-start;
1099
+ min-width: 0;
1100
+ `,Km=fo.default.div`
1101
+ background-color: ${e=>e.theme.fontColor};
1102
+ height: ${e=>e.theme.bulletHeight};
1103
+ width: ${e=>e.theme.bulletWidth};
1104
+ margin-right: ${e=>e.theme.bulletMarginRight};
1105
+ `,Um=fo.default.div`
1106
+ height: ${e=>e.theme.bulletHeight};
1107
+ width: ${e=>e.theme.bulletWidth};
1108
+ border-radius: 50%;
1109
+ border: 1px solid;
1110
+ border-color: ${e=>e.theme.fontColor};
1111
+ margin-right: ${e=>e.theme.bulletMarginRight};
1112
+ `,Ym=fo.default.div`
1113
+ background-color: ${e=>e.theme.fontColor};
1114
+ height: ${e=>e.theme.bulletHeight};
1115
+ width: ${e=>e.theme.bulletWidth};
1116
+ border-radius: 50%;
1117
+ margin-right: ${e=>e.theme.bulletMarginRight};
1118
+ `,Zm=fo.default.li`
1119
+ display: flex;
1120
+ margin: 0px;
1121
+ padding: 0px;
1122
+ list-style: none;
1123
+ font-size: 1em;
1124
+ `,Bl=Il;var dr=F(require("styled-components"));var Tt=require("react/jsx-runtime"),qm=({label:e="",mode:t="primary",semantic:r="default",disabled:n=!1,iconPosition:i="before",title:l,type:a="button",icon:c,onClick:d=()=>{},margin:s,size:m={height:"large",width:"fitContent"},tabIndex:g=0})=>{let u=k();return(0,Tt.jsx)(dr.ThemeProvider,{theme:u.button,children:(0,Tt.jsx)(ge,{label:l,children:(0,Tt.jsxs)(tg,{"aria-label":l,disabled:n,onClick:()=>{d()},tabIndex:n?-1:g,type:a,$mode:t==="primary"||t==="secondary"||t==="tertiary"?t:"primary",hasLabel:!!e,hasIcon:!!c,iconPosition:i,size:m,margin:s,semantic:r,children:[e&&(0,Tt.jsx)(rg,{children:e}),c&&(0,Tt.jsx)(ng,{size:m,children:typeof c=="string"?(0,Tt.jsx)($,{icon:c}):c})]})})})},Pl={small:"42px",medium:"120px",large:"240px",fillParent:"100%",fitContent:"fit-content"},Qm=(e,t)=>t?.width==="fillParent"?`calc(${Pl[t?.width]} - ${X(e,"left")} - ${X(e,"right")})`:Pl[t?.width],eg=e=>{switch(e){case"small":return 1.5;case"medium":return 2;case"large":return 2.5;default:return 2.5}},og=(e,t,r,n)=>{let i="",l="",a="",c="",d="",s=`
1125
+ font-weight: ${r.primaryFontWeight};
1126
+ font-size: ${n?.height==="small"?r.primarySmallFontSize:n?.height==="medium"?r.primaryMediumFontSize:r.primaryLargeFontSize};
1127
+ font-family: ${r.primaryFontFamily};
1128
+ border-radius: ${r.primaryBorderRadius};
1129
+ border-width ${r.primaryBorderThickness};
1130
+ border-style: ${r.primaryBorderStyle};`,m=`
1131
+ font-weight: ${r.secondaryFontWeight};
1132
+ font-size: ${n?.height==="small"?r.secondarySmallFontSize:n?.height==="medium"?r.secondaryMediumFontSize:r.secondaryLargeFontSize};
1133
+ font-family: ${r.secondaryFontFamily};
1134
+ border-radius: ${r.secondaryBorderRadius};
1135
+ border-width ${r.secondaryBorderThickness};
1136
+ border-style: ${r.secondaryBorderStyle};`,g=`
1137
+ font-weight: ${r.tertiaryFontWeight};
1138
+ font-size: ${n?.height==="small"?r.tertiarySmallFontSize:n?.height==="medium"?r.tertiaryMediumFontSize:r.tertiaryLargeFontSize};
1139
+ font-family: ${r.tertiaryFontFamily};
1140
+ border-radius: ${r.tertiaryBorderRadius};
1141
+ border-width ${r.tertiaryBorderThickness};
1142
+ border-style: ${r.tertiaryBorderStyle};`;switch(e){case"primary":switch(t){case"default":i=`background-color: ${r.primaryDefaultBackgroundColor};
1143
+ color: ${r.primaryDefaultFontColor};`,l=`background-color: ${r.primaryHoverDefaultBackgroundColor};`,a=`background-color: ${r.primaryActiveDefaultBackgroundColor};
1144
+ border-color: transparent;
1145
+ outline: none;
1146
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1147
+ background-color: ${r.primaryDisabledDefaultBackgroundColor};
1148
+ color: ${r.primaryDisabledDefaultFontColor};`;break;case"error":i=`background-color: ${r.primaryErrorBackgroundColor};
1149
+ color: ${r.primaryErrorFontColor};`,l=`background-color: ${r.primaryHoverErrorBackgroundColor};`,a=`background-color: ${r.primaryActiveErrorBackgroundColor};
1150
+ border-color: transparent;
1151
+ outline: none;
1152
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1153
+ background-color: ${r.primaryDisabledErrorBackgroundColor};
1154
+ color: ${r.primaryDisabledErrorFontColor};`;break;case"warning":i=`background-color: ${r.primaryWarningBackgroundColor};
1155
+ color: ${r.primaryWarningFontColor};`,l=`background-color: ${r.primaryHoverWarningBackgroundColor};`,a=`background-color: ${r.primaryActiveWarningBackgroundColor};
1156
+ border-color: transparent;
1157
+ outline: none;
1158
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1159
+ background-color: ${r.primaryDisabledWarningBackgroundColor};
1160
+ color: ${r.primaryDisabledWarningFontColor};`;break;case"success":i=`background-color: ${r.primarySuccessBackgroundColor};
1161
+ color: ${r.primarySuccessFontColor};`,l=`background-color: ${r.primaryHoverSuccessBackgroundColor};`,a=`background-color: ${r.primaryActiveSuccessBackgroundColor};
1162
+ border-color: transparent;
1163
+ outline: none;
1164
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1165
+ background-color: ${r.primaryDisabledSuccessBackgroundColor};
1166
+ color: ${r.primaryDisabledSuccessFontColor};`;break;case"info":i=`background-color: ${r.primaryInfoBackgroundColor};
1167
+ color: ${r.primaryInfoFontColor};`,l=`background-color: ${r.primaryHoverInfoBackgroundColor};`,a=`background-color: ${r.primaryActiveInfoBackgroundColor};
1168
+ border-color: transparent;
1169
+ outline: none;
1170
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1171
+ background-color: ${r.primaryDisabledInfoBackgroundColor};
1172
+ color: ${r.primaryDisabledInfoFontColor};`;break;default:i=`background-color: ${r.primaryDefaultBackgroundColor};
1173
+ color: ${r.primaryDefaultFontColor};`;break}return`${s}
1174
+ ${i}
1175
+ &:hover {
1176
+ ${l}
1177
+ }
1178
+ &:active {
1179
+ ${a}
1180
+ }
1181
+ &:focus {
1182
+ ${c}
1183
+ }
1184
+ &:disabled {
1185
+ ${d}
1186
+ }`;case"secondary":switch(t){case"default":i=`background-color: ${r.secondaryDefaultBackgroundColor};
1187
+ color: ${r.secondaryDefaultFontColor};
1188
+ border-color ${r.secondaryDefaultBorderColor};`,l=`background-color: ${r.secondaryHoverDefaultBackgroundColor};
1189
+ color: ${r.secondaryHoverDefaultFontColor};`,a=`background-color: ${r.secondaryActiveDefaultBackgroundColor};
1190
+ color: ${r.secondaryHoverDefaultFontColor};
1191
+ border-color: transparent;
1192
+ outline: none;
1193
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1194
+ background-color: ${r.secondaryDisabledDefaultBackgroundColor};
1195
+ color: ${r.secondaryDisabledDefaultFontColor};
1196
+ border-color: ${r.secondaryDisabledDefaultBorderColor};`;break;case"error":i=`background-color: ${r.secondaryErrorBackgroundColor};
1197
+ color: ${r.secondaryErrorFontColor};
1198
+ border-color ${r.secondaryErrorBorderColor};`,l=`background-color: ${r.secondaryHoverErrorBackgroundColor};
1199
+ color: ${r.secondaryHoverErrorFontColor};`,a=`background-color: ${r.secondaryActiveErrorBackgroundColor};
1200
+ color: ${r.secondaryHoverErrorFontColor};
1201
+ border-color: transparent;
1202
+ outline: none;
1203
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1204
+ background-color: ${r.secondaryDisabledErrorBackgroundColor};
1205
+ color: ${r.secondaryDisabledErrorFontColor};
1206
+ border-color: ${r.secondaryDisabledErrorBorderColor};`;break;case"warning":i=`background-color: ${r.secondaryWarningBackgroundColor};
1207
+ color: ${r.secondaryWarningFontColor};
1208
+ border-color ${r.secondaryWarningBorderColor};`,l=`background-color: ${r.secondaryHoverWarningBackgroundColor};
1209
+ color: ${r.secondaryHoverWarningFontColor};`,a=`background-color: ${r.secondaryActiveWarningBackgroundColor};
1210
+ color: ${r.secondaryHoverWarningFontColor};
1211
+ border-color: transparent;
1212
+ outline: none;
1213
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1214
+ background-color: ${r.secondaryDisabledWarningBackgroundColor};
1215
+ color: ${r.secondaryDisabledWarningFontColor};
1216
+ border-color: ${r.secondaryDisabledWarningBorderColor};`;break;case"success":i=`background-color: ${r.secondarySuccessBackgroundColor};
1217
+ color: ${r.secondarySuccessFontColor};
1218
+ border-color ${r.secondarySuccessBorderColor};`,l=`background-color: ${r.secondaryHoverSuccessBackgroundColor};
1219
+ color: ${r.secondaryHoverSuccessFontColor};`,a=`background-color: ${r.secondaryActiveSuccessBackgroundColor};
1220
+ color: ${r.secondaryHoverSuccessFontColor};
1221
+ border-color: transparent;
1222
+ outline: none;
1223
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1224
+ background-color: ${r.secondaryDisabledSuccessBackgroundColor};
1225
+ color: ${r.secondaryDisabledSuccessFontColor};
1226
+ border-color: ${r.secondaryDisabledSuccessBorderColor};`;break;case"info":i=`background-color: ${r.secondaryInfoBackgroundColor};
1227
+ color: ${r.secondaryInfoFontColor};
1228
+ border-color ${r.secondaryInfoBorderColor};`,l=`background-color: ${r.secondaryHoverInfoBackgroundColor};
1229
+ color: ${r.secondaryHoverInfoFontColor};`,a=`background-color: ${r.secondaryActiveInfoBackgroundColor};
1230
+ color: ${r.secondaryHoverInfoFontColor};
1231
+ border-color: transparent;
1232
+ outline: none;
1233
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,c="border-color: transparent;",d=`cursor: not-allowed;
1234
+ background-color: ${r.secondaryDisabledInfoBackgroundColor};
1235
+ color: ${r.secondaryDisabledInfoFontColor};
1236
+ border-color: ${r.secondaryDisabledInfoBorderColor};`;break;default:i=`background-color: ${r.secondaryDefaultBackgroundColor};
1237
+ color: ${r.secondaryDefaultFontColor};
1238
+ border-color ${r.secondaryDefaultBorderColor};`;break}return`${m}
1239
+ ${i}
1240
+ &:hover {
1241
+ ${l}
1242
+ }
1243
+ &:active {
1244
+ ${a}
1245
+ }
1246
+ &:focus {
1247
+ ${c}
1248
+ }
1249
+ &:disabled {
1250
+ ${d}
1251
+ }`;case"tertiary":switch(t){case"default":i=`background-color: ${r.tertiaryDefaultBackgroundColor};
1252
+ color: ${r.tertiaryDefaultFontColor};`,l=`background-color: ${r.tertiaryHoverDefaultBackgroundColor};`,a=`background-color: ${r.tertiaryActiveDefaultBackgroundColor};
1253
+ border-color: transparent;
1254
+ outline: none;
1255
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1256
+ background-color: ${r.tertiaryDisabledDefaultBackgroundColor};
1257
+ color: ${r.tertiaryDisabledDefaultFontColor};`;break;case"error":i=`background-color: ${r.tertiaryErrorBackgroundColor};
1258
+ color: ${r.tertiaryErrorFontColor};`,l=`background-color: ${r.tertiaryHoverErrorBackgroundColor};`,a=`background-color: ${r.tertiaryActiveErrorBackgroundColor};
1259
+ border-color: transparent;
1260
+ outline: none;
1261
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1262
+ background-color: ${r.tertiaryDisabledErrorBackgroundColor};
1263
+ color: ${r.tertiaryDisabledErrorFontColor};`;break;case"warning":i=`background-color: ${r.tertiaryWarningBackgroundColor};
1264
+ color: ${r.tertiaryWarningFontColor};`,l=`background-color: ${r.tertiaryHoverWarningBackgroundColor};`,a=`background-color: ${r.tertiaryActiveWarningBackgroundColor};
1265
+ border-color: transparent;
1266
+ outline: none;
1267
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1268
+ background-color: ${r.tertiaryDisabledWarningBackgroundColor};
1269
+ color: ${r.tertiaryDisabledWarningFontColor};`;break;case"success":i=`background-color: ${r.tertiarySuccessBackgroundColor};
1270
+ color: ${r.tertiarySuccessFontColor};`,l=`background-color: ${r.tertiaryHoverSuccessBackgroundColor};`,a=`background-color: ${r.tertiaryActiveSuccessBackgroundColor};
1271
+ border-color: transparent;
1272
+ outline: none;
1273
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1274
+ background-color: ${r.tertiaryDisabledSuccessBackgroundColor};
1275
+ color: ${r.tertiaryDisabledSuccessFontColor};`;break;case"info":i=`background-color: ${r.tertiaryInfoBackgroundColor};
1276
+ color: ${r.tertiaryInfoFontColor};`,l=`background-color: ${r.tertiaryHoverInfoBackgroundColor};`,a=`background-color: ${r.tertiaryActiveInfoBackgroundColor};
1277
+ border-color: transparent;
1278
+ outline: none;
1279
+ box-shadow: 0 0 0 2px ${r.focusBorderColor};`,d=`cursor: not-allowed;
1280
+ background-color: ${r.tertiaryDisabledInfoBackgroundColor};
1281
+ color: ${r.tertiaryDisabledInfoFontColor};`;break;default:i=`background-color: ${r.tertiaryDefaultBackgroundColor};
1282
+ color: ${r.tertiaryDefaultFontColor};`;break}return`${g}
1283
+ ${i}
1284
+ &:hover {
1285
+ ${l}
1286
+ }
1287
+ &:active {
1288
+ ${a}
1289
+ }
1290
+ &:focus {
1291
+ ${c}
1292
+ }
1293
+ &:disabled {
1294
+ ${d}
1295
+ }`}},tg=dr.default.button`
1296
+ display: inline-flex;
1297
+ flex-direction: ${e=>e.iconPosition==="after"?"row":"row-reverse"};
1298
+ gap: 0.5rem;
1299
+ align-items: center;
1300
+ justify-content: center;
1301
+ height: ${e=>eg(e.size?.height&&e.size?.height)+"rem"};
1302
+ width: ${e=>Qm(e.margin,e.size)};
1303
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1304
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1305
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1306
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1307
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1308
+ padding-top: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconTop:e.size.height==="medium"?e.theme.paddingMediumOnlyIconTop:e.theme.paddingLargeOnlyIconTop:e.size.height==="small"?e.theme.paddingSmallTop:e.size.height==="medium"?e.theme.paddingMediumTop:e.theme.paddingLargeTop};
1309
+ padding-bottom: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconBottom:e.size.height==="medium"?e.theme.paddingMediumOnlyIconBottom:e.theme.paddingLargeOnlyIconBottom:e.size.height==="small"?e.theme.paddingSmallBottom:e.size.height==="medium"?e.theme.paddingMediumBottom:e.theme.paddingLargeBottom};
1310
+ padding-left: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconLeft:e.size.height==="medium"?e.theme.paddingMediumOnlyIconLeft:e.theme.paddingLargeOnlyIconLeft:e.size.height==="small"?e.theme.paddingSmallLeft:e.size.height==="medium"?e.theme.paddingMediumLeft:e.theme.paddingLargeLeft};
1311
+ padding-right: ${e=>e.hasIcon&&!e.hasLabel?e.size.height==="small"?e.theme.paddingSmallOnlyIconRight:e.size.height==="medium"?e.theme.paddingMediumOnlyIconRight:e.theme.paddingLargeOnlyIconRight:e.size.height==="small"?e.theme.paddingSmallRight:e.size.height==="medium"?e.theme.paddingMediumRight:e.theme.paddingLargeRight};
1312
+
1313
+ box-shadow: 0 0 0 2px transparent;
1314
+ font-family: ${e=>e.theme.fontFamily};
1315
+ font-size: ${e=>e.theme.fontSize};
1316
+ font-weight: ${e=>e.theme.fontWeight};
1317
+ letter-spacing: ${e=>e.theme.labelLetterSpacing};
1318
+ cursor: pointer;
1319
+
1320
+ &:focus {
1321
+ outline: none;
1322
+ box-shadow: 0 0 0 2px ${e=>e.theme.focusBorderColor};
1323
+ }
1324
+
1325
+ ${e=>og(e.$mode,e.semantic,e.theme,e.size)};
1326
+ `,rg=dr.default.span`
1327
+ line-height: ${e=>e.theme.labelFontLineHeight};
1328
+ font-size: ${e=>e.theme.fontSize};
1329
+ text-overflow: ellipsis;
1330
+ overflow: hidden;
1331
+ text-transform: none;
1332
+ white-space: nowrap;
1333
+ `,ng=dr.default.div`
1334
+ display: flex;
1335
+ font-size: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1336
+ svg {
1337
+ height: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1338
+ width: ${e=>e.size.height==="small"||e.size.height==="medium"?"16":"24"}px;
1339
+ }
1340
+ `,bo=qm;var Ll=require("react"),Ft=F(require("styled-components"));var kt=require("react/jsx-runtime"),ig=({imageSrc:e,imageBgColor:t="black",imagePadding:r,imagePosition:n="before",linkHref:i,onClick:l,imageCover:a=!1,margin:c,tabIndex:d=0,outlined:s=!0,children:m})=>{let g=k(),[u,h]=(0,Ll.useState)(!1);return(0,kt.jsx)(Ft.ThemeProvider,{theme:g.card,children:(0,kt.jsx)(lg,{hasAction:!!(l||i),margin:c,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),onClick:l,tabIndex:l||i?d:-1,as:i&&"a",href:i,shadowDepth:s?u&&(l||i)?2:1:0,children:(0,kt.jsxs)(ag,{hasAction:!!(l||i),imagePosition:e?n:"none",children:[e&&(0,kt.jsx)(dg,{imageBgColor:t,children:(0,kt.jsx)(cg,{imagePadding:r,imageCover:a,src:e,alt:"Card image"})}),(0,kt.jsx)(sg,{children:m})]})})})},lg=Ft.default.div`
1341
+ display: inline-flex;
1342
+ cursor: ${({hasAction:e})=>e&&"pointer"||"unset"};
1343
+ outline: ${({hasAction:e})=>!e&&"none"};
1344
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
1345
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
1346
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
1347
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
1348
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
1349
+ text-decoration: none;
1350
+ ${({hasAction:e})=>e&&`:focus {
1351
+ outline: #0095ff auto 1px;
1352
+ }`}
1353
+
1354
+ box-shadow: ${({shadowDepth:e})=>e===1?`0px 3px 6px ${o.color_grey_300_a}`:e===2?`0px 3px 10px ${o.color_grey_300_a}`:"none"};
1355
+ `,ag=Ft.default.div`
1356
+ display: inline-flex;
1357
+ flex-direction: ${e=>e.imagePosition==="after"?"row-reverse":"row"};
1358
+ height: ${e=>e.theme.height};
1359
+ width: ${e=>e.theme.width};
1360
+ &:hover {
1361
+ border-color: ${({hasAction:e})=>e?"":"unset"};
1362
+ }
1363
+ `,cg=Ft.default.img`
1364
+ height: ${({imagePadding:e})=>e?typeof e!="object"&&`calc(100% - ${p[e]} - ${p[e]})`:"100%"};
1365
+ width: ${({imagePadding:e})=>e?typeof e!="object"&&`calc(100% - ${p[e]} - ${p[e]})`:"100%"};
1366
+ object-fit: ${({imageCover:e})=>e?"cover":"contain"};
1367
+ `,dg=Ft.default.div`
1368
+ display: inline-flex;
1369
+ justify-content: center;
1370
+ align-items: center;
1371
+ flex-shrink: 0;
1372
+ width: 35%;
1373
+ height: 100%;
1374
+ background-color: ${({imageBgColor:e})=>e};
1375
+ `,sg=Ft.default.div`
1376
+ flex-grow: 1;
1377
+ overflow: hidden;
1378
+ `,Dl=ig;var wt=require("react"),St=F(require("styled-components"));var Oo=require("react/jsx-runtime"),mg=(0,Oo.jsx)("svg",{fill:"currentColor",focusable:"false",viewBox:"0 0 24 24",children:(0,Oo.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})}),gg=(0,wt.forwardRef)(({checked:e,defaultChecked:t=!1,value:r,label:n="",labelPosition:i="before",name:l="",disabled:a=!1,optional:c=!1,readOnly:d=!1,onChange:s,margin:m,size:g="fitContent",tabIndex:u=0},h)=>{let y=`label-checkbox-${(0,wt.useId)()}`,[v,f]=(0,wt.useState)(t),_=(0,wt.useRef)(null),x=k(),b=J(),D=()=>{if(!a&&!d){document.activeElement!==_?.current&&_?.current?.focus();let B=e??v;e??f(M=>!M),s?.(!B)}},P=B=>{switch(B.key){case" ":B.preventDefault(),D()}};return(0,Oo.jsx)(St.ThemeProvider,{theme:x.checkbox,children:(0,Oo.jsxs)(bg,{disabled:a,readOnly:d,onClick:D,margin:m,size:g,checked:e??v,ref:h,children:[n&&(0,Oo.jsxs)(ug,{id:y,disabled:a,labelPosition:i,"aria-label":n,children:[n,c&&` ${b.formFields.optionalLabel}`]}),(0,Oo.jsx)(hg,{type:"checkbox",checked:e??v,name:l,value:r,disabled:a,readOnly:!0}),(0,Oo.jsx)(fg,{children:(0,Oo.jsx)(Al,{onKeyDown:P,role:"checkbox",tabIndex:a?-1:u,"aria-checked":e??v,"aria-disabled":a,"aria-readonly":d,"aria-required":!a&&!c,"aria-labelledby":n?y:void 0,"aria-label":n?void 0:"Checkbox",checked:e??v,disabled:a,readOnly:d,ref:_,children:(e??v)&&mg})})]})})}),zl={small:"120px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},pg=(e,t)=>t==="fillParent"?`calc(${zl[t]} - ${X(e,"left")} - ${X(e,"right")})`:zl[t],bn=(e,t)=>{switch(t){case"check":return e.disabledCheckColor;case"background":return e.disabledBackgroundColorChecked;case"border":return e.disabledBorderColor;case"label":return e.disabledFontColor}},Lr=(e,t)=>{switch(t){case"check":return e.readOnlyCheckColor;case"background":return e.readOnlyBackgroundColorChecked;case"hoverBackground":return e.hoverReadOnlyBackgroundColorChecked;case"border":return e.readOnlyBorderColor;case"hoverBorder":return e.hoverReadOnlyBorderColor}},sr=(e,t)=>{switch(t){case"check":return e.checkColor;case"background":return e.backgroundColorChecked;case"hoverBackground":return e.hoverBackgroundColorChecked;case"border":return e.borderColor;case"hoverBorder":return e.hoverBorderColor;case"label":return e.fontColor}},ug=St.default.span`
1379
+ order: ${e=>e.labelPosition==="before"?0:1};
1380
+ color: ${e=>e.disabled?bn(e.theme,"label"):sr(e.theme,"label")};
1381
+ font-family: ${e=>e.theme.fontFamily};
1382
+ font-size: ${e=>e.theme.fontSize};
1383
+ font-weight: ${e=>e.theme.fontWeight};
1384
+ `,hg=St.default.input`
1385
+ display: none;
1386
+ `,fg=St.default.span`
1387
+ display: flex;
1388
+ align-items: center;
1389
+ justify-content: center;
1390
+ height: 24px;
1391
+ width: 24px;
1392
+ `,Al=St.default.span`
1393
+ position: relative;
1394
+ box-sizing: border-box;
1395
+ display: flex;
1396
+ align-items: center;
1397
+ justify-content: center;
1398
+ height: 18px;
1399
+ width: 18px;
1400
+ border: 2px solid
1401
+ ${e=>e.disabled?bn(e.theme,"border"):e.readOnly?Lr(e.theme,"border"):sr(e.theme,"border")};
1402
+ border-radius: 2px;
1403
+ background-color: ${e=>e.checked?e.disabled?bn(e.theme,"check"):e.readOnly?Lr(e.theme,"check"):sr(e.theme,"check"):"transparent"};
1404
+ color: ${e=>e.disabled?bn(e.theme,"background"):e.readOnly?Lr(e.theme,"background"):sr(e.theme,"background")};
1405
+
1406
+ &:focus {
1407
+ outline: 2px solid ${e=>e.theme.focusColor};
1408
+ outline-offset: 2px;
1409
+ }
1410
+ svg {
1411
+ position: absolute;
1412
+ width: 22px;
1413
+ height: 22px;
1414
+ }
1415
+ ${e=>e.disabled&&"pointer-events: none;"}
1416
+ `,bg=St.default.div`
1417
+ display: inline-flex;
1418
+ align-items: center;
1419
+ gap: ${e=>e.theme.checkLabelSpacing};
1420
+ width: ${e=>pg(e.margin,e.size)};
1421
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1422
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1423
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1424
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1425
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1426
+ cursor: ${e=>e.disabled?"not-allowed":e.readOnly?"default":"pointer"};
1427
+
1428
+ &:hover ${Al} {
1429
+ border: 2px solid
1430
+ ${e=>{if(!e.disabled)return e.readOnly?Lr(e.theme,"hoverBorder"):sr(e.theme,"hoverBorder")}};
1431
+ color: ${e=>{if(!e.disabled)return e.readOnly?Lr(e.theme,"hoverBackground"):sr(e.theme,"hoverBackground")}};
1432
+ }
1433
+ `,Ut=gg;var mr=F(require("styled-components"));var nt=require("react/jsx-runtime"),yg=({label:e,suffixIcon:t,prefixIcon:r,onClickSuffix:n,onClickPrefix:i,disabled:l,margin:a,tabIndex:c=0})=>{let d=k();return(0,nt.jsx)(mr.ThemeProvider,{theme:d.chip,children:(0,nt.jsxs)(xg,{disabled:l,margin:a,children:[r&&(0,nt.jsx)(Rl,{role:typeof i=="function"?"button":void 0,"aria-label":typeof i=="function"?"Prefix Action":void 0,disabled:l,interactive:typeof i=="function"&&!l,tabIndex:typeof i=="function"&&!l?c:-1,onClick:()=>i&&!l&&i(),children:typeof r=="string"?(0,nt.jsx)($,{icon:r}):r}),e&&(0,nt.jsx)(_g,{disabled:l,children:e}),t&&(0,nt.jsx)(Rl,{role:typeof n=="function"?"button":void 0,"aria-label":typeof n=="function"?"Suffix Action":void 0,disabled:l,interactive:typeof n=="function"&&!l,tabIndex:typeof n=="function"&&!l?c:-1,onClick:()=>!l&&n?.(),children:typeof t=="string"?(0,nt.jsx)($,{icon:t}):t})]})})},Cg=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,xg=mr.default.div`
1434
+ box-sizing: border-box;
1435
+ display: inline-flex;
1436
+ align-items: center;
1437
+ gap: ${e=>e.theme.iconSpacing};
1438
+ min-height: 40px;
1439
+ max-width: ${e=>Cg(e.margin)};
1440
+ background-color: ${e=>e.disabled&&e.theme.disabledBackgroundColor||e.theme.backgroundColor};
1441
+ border-radius: ${e=>e.theme.borderRadius};
1442
+ border-width: ${e=>e.theme.borderThickness};
1443
+ border-style: ${e=>e.theme.borderStyle};
1444
+ border-color: ${e=>e.theme.borderColor};
1445
+
1446
+ padding-top: ${e=>e.theme.contentPaddingTop};
1447
+ padding-bottom: ${e=>e.theme.contentPaddingBottom};
1448
+ padding-left: ${e=>e.theme.contentPaddingLeft};
1449
+ padding-right: ${e=>e.theme.contentPaddingRight};
1450
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1451
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1452
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1453
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1454
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1455
+ cursor: ${({disabled:e})=>e&&"not-allowed"};
1456
+ `,_g=mr.default.span`
1457
+ font-size: ${e=>e.theme.fontSize};
1458
+ font-family: ${e=>e.theme.fontFamily};
1459
+ font-weight: ${e=>e.theme.fontWeight};
1460
+ font-style: ${e=>e.theme.fontStyle};
1461
+ color: ${e=>e.disabled?e.theme.disabledFontColor:e.theme.fontColor};
1462
+ text-overflow: ellipsis;
1463
+ white-space: nowrap;
1464
+ overflow: hidden;
1465
+ `,Rl=mr.default.div`
1466
+ display: flex;
1467
+ border-radius: 0.25rem;
1468
+ color: ${e=>e.disabled?e.theme.disabledIconColor:e.theme.iconColor};
1469
+ ${({interactive:e})=>e&&"cursor: pointer;"}
1470
+
1471
+ ${e=>e.interactive&&`
1472
+ &:hover {
1473
+ color: ${e.theme.hoverIconColor};
1474
+ }
1475
+ &:focus,
1476
+ &:focus-visible {
1477
+ outline: ${e.theme.focusBorderThickness} ${e.theme.focusBorderStyle} ${e.theme.focusColor};
1478
+ }
1479
+ &:active {
1480
+ color: ${e.theme.activeIconColor};
1481
+ }
1482
+ `}
1483
+
1484
+ font-size: ${e=>e.theme.iconSize};
1485
+ svg {
1486
+ width: ${e=>e.theme.iconSize};
1487
+ height: ${e=>e.theme.iconSize};
1488
+ }
1489
+ `,Hl=yg;var Ml=F(require("styled-components"));var Wl=require("react/jsx-runtime"),Go={xxsmall:"4px",xsmall:"8px",small:"12px",medium:"16px",large:"24px",xlarge:"32px",xxlarge:"48px"},$g=({display:e,width:t,height:r,overflow:n,...i})=>(0,Wl.jsx)(vg,{$display:e,$width:t,$height:r,$overflow:n,...i}),yn=(e,t)=>`border-${e}: ${t?.width??""} ${t?.style??""} ${Tr(t?.color)??""};`,vg=Ml.default.div`
1490
+ box-sizing: ${({boxSizing:e})=>e};
1491
+ display: ${({$display:e})=>e};
1492
+ width: ${({$width:e})=>e};
1493
+ height: ${({$height:e})=>e};
1494
+ max-width: ${({maxWidth:e})=>e};
1495
+ max-height: ${({maxHeight:e})=>e};
1496
+ min-width: ${({minWidth:e})=>e};
1497
+ min-height: ${({minHeight:e})=>e};
1498
+ position: ${({position:e})=>e};
1499
+ top: ${({inset:e})=>e?.top};
1500
+ right: ${({inset:e})=>e?.right};
1501
+ bottom: ${({inset:e})=>e?.bottom};
1502
+ left: ${({inset:e})=>e?.left};
1503
+ float: ${({float:e})=>e};
1504
+ z-index: ${({zIndex:e})=>e};
1505
+ box-shadow: ${({boxShadow:e})=>e};
1506
+
1507
+ background-attachment: ${({background:e})=>e?.attachment};
1508
+ background-clip: ${({background:e})=>e?.clip};
1509
+ background-color: ${({background:e})=>Tr(e?.color)};
1510
+ background-image: ${({background:e})=>e?.image};
1511
+ background-origin: ${({background:e})=>e?.origin};
1512
+ background-position: ${({background:e})=>e?.position};
1513
+ background-repeat: ${({background:e})=>e?.repeat};
1514
+ background-size: ${({background:e})=>e?.size};
1515
+
1516
+ border-radius: ${({borderRadius:e})=>e};
1517
+ border-width: ${({border:e})=>e&&"width"in e?`${e?.width}`:""};
1518
+ border-style: ${({border:e})=>e&&"style"in e?`${e?.style}`:""};
1519
+ border-color: ${({border:e})=>e&&"color"in e?`${Tr(e?.color)}`:""};
1520
+
1521
+ ${({border:e})=>{if(e!=null){let t="";switch(!0){case"top"in e:t+=yn("top",e.top);case"right"in e:t+=yn("right",e.right);case"left"in e:t+=yn("left",e.left);case"bottom"in e:t+=yn("bottom",e.bottom)}return t}}};
1522
+
1523
+ margin: ${({margin:e})=>typeof e=="string"?Go[e]:""};
1524
+ margin-top: ${({margin:e})=>typeof e=="object"?Go[e.top]:""};
1525
+ margin-right: ${({margin:e})=>typeof e=="object"?Go[e.right]:""};
1526
+ margin-bottom: ${({margin:e})=>typeof e=="object"?Go[e.bottom]:""};
1527
+ margin-left: ${({margin:e})=>typeof e=="object"?Go[e.left]:""};
1528
+
1529
+ outline: ${({outline:e})=>`${e?.width??""} ${e?.style??""} ${Tr(e?.color)??""}`};
1530
+ outline-offset: ${({outline:e})=>e?.offset};
1531
+
1532
+ overflow: ${({$overflow:e})=>typeof e=="string"?e:""};
1533
+ overflow-x: ${({$overflow:e})=>typeof e=="object"?`${e?.x}`:""};
1534
+ overflow-y: ${({$overflow:e})=>typeof e=="object"?`${e?.y}`:""};
1535
+
1536
+ padding: ${({padding:e})=>typeof e=="string"?Go[e]:""};
1537
+ padding-top: ${({padding:e})=>typeof e=="object"?Go[e.top]:""};
1538
+ padding-right: ${({padding:e})=>typeof e=="object"?Go[e.right]:""};
1539
+ padding-bottom: ${({padding:e})=>typeof e=="object"?Go[e.bottom]:""};
1540
+ padding-left: ${({padding:e})=>typeof e=="object"?Go[e.left]:""};
1541
+ `,El=$g;var To=require("react"),Rr=F(require("styled-components"));var Xl=F(require("styled-components"));var Vo=require("react");var Cn=require("react"),Dr=F(require("styled-components"));var it=require("react/jsx-runtime"),Tg=({badge:e,collapseIcon:t,icon:r,label:n,depthLevel:i,...l})=>{let[a,c]=(0,Cn.useState)(!1),d=e&&(0,Cn.cloneElement)(e,{size:"small"});return(0,it.jsx)(ir,{condition:a,label:n,children:(0,it.jsxs)(kg,{depthLevel:i,...l,children:[(0,it.jsxs)(Fg,{children:[t&&(0,it.jsx)(Ol,{children:t}),r&&i===0&&(0,it.jsx)(Ol,{children:typeof r=="string"?(0,it.jsx)($,{icon:r}):r}),(0,it.jsx)(wg,{selected:l.selected,onMouseEnter:s=>{let m=s.currentTarget;c(m.scrollWidth>m.clientWidth)},children:n})]}),d]})})},kg=Dr.default.button`
1542
+ border: none;
1543
+ border-radius: 4px;
1544
+ padding: ${e=>`${o.spacing_4} ${o.spacing_8} ${o.spacing_4} ${`
1545
+ calc(${o.spacing_8} + (${o.spacing_24} * ${e.depthLevel}))
1546
+ `};`};
1547
+ box-shadow: inset 0 0 0 2px transparent;
1548
+ display: flex;
1549
+ align-items: center;
1550
+ justify-content: space-between;
1551
+ gap: ${o.spacing_16};
1552
+ ${({selected:e,theme:t})=>e?`background-color: ${t.selectedMenuItemBackgroundColor};`:`background-color: ${o.color_transparent}`};
1553
+ cursor: pointer;
1554
+ overflow: hidden;
1555
+
1556
+ &:hover {
1557
+ ${({selected:e,theme:t})=>e?`background-color: ${t.hoverSelectedMenuItemBackgroundColor};`:`background-color: ${t.hoverMenuItemBackgroundColor};`};
1558
+ }
1559
+ &:active {
1560
+ ${({selected:e,theme:t})=>e?`background-color: ${t.activeSelectedMenuItemBackgroundColor};`:`background-color: ${t.activeMenuItemBackgroundColor};`};
1561
+ }
1562
+ &:focus {
1563
+ outline: 2px solid ${o.color_blue_600};
1564
+ outline-offset: -1px;
1565
+ }
1566
+ `,Ol=Dr.default.span`
1567
+ display: flex;
1568
+ font-size: ${({theme:e})=>e.iconSize};
1569
+ color: ${({theme:e})=>e.iconColor};
1570
+
1571
+ svg {
1572
+ height: ${({theme:e})=>e.iconSize};
1573
+ width: ${({theme:e})=>e.iconSize};
1574
+ }
1575
+ `,Fg=Dr.default.span`
1576
+ display: flex;
1577
+ align-items: center;
1578
+ gap: ${o.spacing_8};
1579
+ overflow: hidden;
1580
+ `,wg=Dr.default.span`
1581
+ color: ${({theme:e})=>e.menuItemFontColor};
1582
+ font-family: ${({theme:e})=>e.fontFamily};
1583
+ font-size: ${({theme:e})=>e.menuItemFontSize};
1584
+ font-style: ${({theme:e})=>e.menuItemFontStyle};
1585
+ font-weight: ${({selected:e,theme:t})=>e?t.selectedMenuItemFontWeight:t.menuItemFontWeight};
1586
+ line-height: ${({theme:e})=>e.menuItemLineHeight};
1587
+ text-overflow: ellipsis;
1588
+ white-space: nowrap;
1589
+ overflow: hidden;
1590
+ `,xn=Tg;var No=require("react/jsx-runtime"),Gl=(e,t)=>e.some(r=>"items"in r?Gl(r.items,t):t!==-1?r.id===t:r.selectedByDefault),Sg=({items:e,...t})=>{let r=`group-menu-${(0,Vo.useId)()}`,{selectedItemId:n}=(0,Vo.useContext)(Ar),i=(0,Vo.useMemo)(()=>Gl(e,n),[e,n]),[l,a]=(0,Vo.useState)(!!(i&&n===-1));return(0,No.jsxs)(No.Fragment,{children:[(0,No.jsx)(xn,{"aria-controls":l?r:void 0,"aria-expanded":l?!0:void 0,"aria-pressed":i&&!l,collapseIcon:l?(0,No.jsx)($,{icon:"filled_expand_less"}):(0,No.jsx)($,{icon:"filled_expand_more"}),onClick:()=>{a(c=>!c)},selected:i&&!l,...t}),l&&(0,No.jsx)(zr,{id:r,children:e.map((c,d)=>(0,No.jsx)(gr,{item:c,depthLevel:t.depthLevel+1},`${c.label}-${d}`))})]})},Nl=(0,Vo.memo)(Sg);var _n=require("react");var jl=require("react/jsx-runtime"),Ig=({id:e,onSelect:t,selectedByDefault:r,...n})=>{let{selectedItemId:i,setSelectedItemId:l}=(0,_n.useContext)(Ar),a=()=>{l(e),t?.()};return(0,_n.useEffect)(()=>{i===-1&&r&&l(e)},[i,r,e]),(0,jl.jsx)(xn,{"aria-pressed":i===-1?r:i===e,onClick:a,selected:i===-1?r:i===e,...n})},Vl=Ig;var $n=require("react/jsx-runtime"),Bg=({item:e,depthLevel:t=0})=>(0,$n.jsx)(Pg,{role:"menuitem",children:"items"in e?(0,$n.jsx)(Nl,{...e,depthLevel:t}):(0,$n.jsx)(Vl,{...e,depthLevel:t})}),Pg=Xl.default.li`
1591
+ display: grid;
1592
+ gap: ${o.spacing_4};
1593
+ `,gr=Bg;var Ul=F(require("styled-components"));var Jl=F(require("styled-components"));var Kl=require("react/jsx-runtime"),Lg=({orientation:e="horizontal",weight:t="regular",color:r="mediumGrey",decorative:n=!0})=>(0,Kl.jsx)(Dg,{orientation:e,weight:t,color:r,"aria-orientation":e,"aria-hidden":n}),Dg=Jl.default.hr`
1594
+ ${({orientation:e,weight:t,color:r})=>`
1595
+ border-color: ${r==="lightGrey"?o.color_grey_200:r==="mediumGrey"?o.color_grey_400:o.color_grey_700};
1596
+ ${e==="horizontal"?"width":"min-height"}: 100%;
1597
+ ${e==="horizontal"?"height":"width"}: 0px;
1598
+ ${e==="horizontal"?"border-width: "+(t==="regular"?"1px 0 0 0":"2px 0 0 0"):"border-width: "+(t==="regular"?"0 0 0 1px":"0 0 0 2px")};
1599
+ margin: 0px;
1600
+ `}
1601
+ `,vn=Lg;var Yl=require("react"),It=require("react/jsx-runtime"),zg=({section:e,index:t,length:r})=>{let n=`section-${(0,Yl.useId)()}`;return(0,It.jsxs)("section",{"aria-label":e?.title??n,"aria-labelledby":n,children:[e.title&&(0,It.jsx)(Ag,{id:n,children:e.title}),(0,It.jsx)(zr,{children:e.items.map((i,l)=>(0,It.jsx)(gr,{item:i},`${i.label}-${l}`))}),t!==r-1&&(0,It.jsx)(Yt,{top:"0.25rem",bottom:"0.25rem",children:(0,It.jsx)(vn,{color:"lightGrey"})})]})},Ag=Ul.default.h2`
1602
+ margin: 0 0 ${o.spacing_4} 0;
1603
+ padding: ${o.spacing_4};
1604
+ color: ${({theme:e})=>e.sectionTitleFontColor};
1605
+ font-family: ${({theme:e})=>e.fontFamily};
1606
+ font-size: ${({theme:e})=>e.sectionTitleFontSize};
1607
+ font-style: ${({theme:e})=>e.sectionTitleFontStyle};
1608
+ font-weight: ${({theme:e})=>e.sectionTitleFontWeight};
1609
+ line-height: ${({theme:e})=>e.sectionTitleLineHeight};
1610
+ `,Zl=zg;var Bt=require("react/jsx-runtime"),Rg=e=>"items"in e,ql=e=>e&&"items"in e&&!("label"in e),Hg=e=>{let t=0,r=n=>n.map(i=>ql(i)?{...i,items:r(i.items)}:Rg(i)?{...i,items:r(i.items)}:{...i,id:t++});return r(e)},zr=({children:e,id:t})=>(0,Bt.jsx)(Wg,{id:t,role:"menu",children:e}),Ar=(0,To.createContext)(null),Mg=({items:e})=>{let[t,r]=(0,To.useState)(-1),n=(0,To.useRef)(null),i=(0,To.useMemo)(()=>Hg(e),[e]),l=k(),[a,c]=(0,To.useState)(!0);return(0,To.useLayoutEffect)(()=>{if(t!==-1&&a){let d=n?.current,s=d?.querySelector("[aria-pressed='true']");d?.scrollTo?.({top:s?.offsetTop-d?.clientHeight/2}),c(!1)}},[a,t]),(0,Bt.jsx)(Rr.ThemeProvider,{theme:l.contextualMenu,children:(0,Bt.jsx)(Eg,{ref:n,children:(0,Bt.jsx)(Ar.Provider,{value:{selectedItemId:t,setSelectedItemId:r},children:ql(i[0])?i.map((d,s)=>(0,Bt.jsx)(Zl,{section:d,index:s,length:i.length},`section-${s}`)):(0,Bt.jsx)(zr,{children:i.map((d,s)=>(0,Bt.jsx)(gr,{item:d},`${d.label}-${s}`))})})})})},Eg=Rr.default.div`
1611
+ box-sizing: border-box;
1612
+ margin: 0;
1613
+ border: 1px solid ${({theme:e})=>e.borderColor};
1614
+ border-radius: 0.25rem;
1615
+ padding: ${o.spacing_16} ${o.spacing_8};
1616
+ display: grid;
1617
+ gap: ${o.spacing_4};
1618
+ min-width: 248px;
1619
+ max-height: 100%;
1620
+ background-color: ${({theme:e})=>e.backgroundColor};
1621
+ overflow-y: auto;
1622
+ overflow-x: hidden;
1623
+ &::-webkit-scrollbar {
1624
+ width: 8px;
1625
+ height: 8px;
1626
+ }
1627
+ &::-webkit-scrollbar-thumb {
1628
+ background-color: ${o.color_grey_700};
1629
+ border-radius: 0.25rem;
1630
+ }
1631
+ &::-webkit-scrollbar-track {
1632
+ background-color: ${o.color_grey_300};
1633
+ border-radius: 0.25rem;
1634
+ }
1635
+ `,Wg=Rr.default.ul`
1636
+ margin: 0;
1637
+ padding: 0;
1638
+ display: grid;
1639
+ gap: ${o.spacing_4};
1640
+ list-style: none;
1641
+ `,Ql=Mg;var Ve=require("react"),Sa=F(require("react-data-grid")),P_=require("react-data-grid/lib/styles.css");var ea=require("react"),oa=F(require("styled-components"));var Tn=require("react/jsx-runtime"),Og=(0,ea.forwardRef)(({disabled:e=!1,title:t,icon:r,onClick:n,tabIndex:i},l)=>(0,Tn.jsx)(ge,{label:t,children:(0,Tn.jsx)(Gg,{"aria-label":t,disabled:e,onClick:n,onMouseDown:a=>{a.stopPropagation()},tabIndex:i,type:"button",ref:l,children:typeof r=="string"?(0,Tn.jsx)($,{icon:r}):r})})),Gg=oa.default.button`
1642
+ display: flex;
1643
+ align-items: center;
1644
+ justify-content: center;
1645
+ flex-shrink: 0;
1646
+ border: none;
1647
+ border-radius: 2px;
1648
+ width: 24px;
1649
+ height: 24px;
1650
+ font-size: 16px;
1651
+ padding: 0px;
1652
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"}
1653
+
1654
+ box-shadow: 0 0 0 2px transparent;
1655
+ background-color: ${e=>e.disabled?e.theme.disabledActionBackgroundColor??o.color_transparent:e.theme.actionBackgroundColor??o.color_transparent};
1656
+ color: ${e=>e.disabled?e.theme.disabledActionIconColor??o.color_grey_500:e.theme.actionIconColor??o.color_black};
1657
+
1658
+ ${e=>!e.disabled&&`
1659
+ &:focus,
1660
+ &:focus-visible {
1661
+ outline: none;
1662
+ box-shadow: 0 0 0 2px ${e.theme.focusActionBorderColor??o.color_blue_600};
1663
+ color: ${e.theme.focusActionIconColor??o.color_black};
1664
+ }
1665
+ &:hover {
1666
+ background-color: ${e.theme.hoverActionBackgroundColor??o.color_grey_100};
1667
+ color: ${e.theme.hoverActionIconColor??o.color_black};
1668
+ }
1669
+ &:active {
1670
+ background-color: ${e.theme.activeActionBackgroundColor??o.color_grey_300};
1671
+ color: ${e.theme.activeActionIconColor??o.color_black};
1672
+ }
1673
+ `}
1674
+
1675
+ svg {
1676
+ width: 16px;
1677
+ height: 16px;
1678
+ }
1679
+ `,co=Og;var ta=require("react-data-grid"),Ne=require("react/jsx-runtime"),Ng=e=>({checkbox:{backgroundColorChecked:e.dataGrid.headerCheckboxBackgroundColorChecked,hoverBackgroundColorChecked:e.dataGrid.headerCheckboxHoverBackgroundColorChecked,borderColor:e.dataGrid.headerCheckboxBorderColor,hoverBorderColor:e.dataGrid.headerCheckboxHoverBorderColor,checkColor:e.dataGrid.headerCheckboxCheckColor,focusColor:e.dataGrid.focusColor}}),ra=(e,t)=>({key:e.key,name:e.label,resizable:e.resizable,sortable:e.sortable,draggable:e.draggable,editable:e.textEditable,headerCellClass:e.alignment?`header-align-${e.alignment}`:"header-align-left",renderEditCell:e.textEditable?ta.textEditor:void 0,renderCell:({row:r})=>(0,Ne.jsx)("div",{className:`ellipsis-cell ${e.alignment?"align-"+e.alignment:"align-left"}`,children:r[e.key]}),renderSummaryCell:()=>e.summaryKey?(0,Ne.jsx)("div",{className:`ellipsis-cell ${e.alignment?"align-"+e.alignment:"align-left"}`,children:t?.[e.summaryKey]}):void 0}),na=({sortDirection:e})=>(0,Ne.jsx)("div",{className:"sortIconContainer",children:e!==void 0?e==="ASC"?(0,Ne.jsx)($,{icon:"Keyboard_Arrow_Up"}):(0,Ne.jsx)($,{icon:"Keyboard_Arrow_Down"}):(0,Ne.jsx)($,{icon:"Expand_All"})}),ia=(e,t,r,n)=>(0,Ne.jsx)(co,{icon:e.contentIsExpanded?"arrow_drop_down":"arrow_right",title:"Expand content","aria-expanded":e.contentIsExpanded,onClick:()=>{if(e.contentIsExpanded=!e.contentIsExpanded,e.contentIsExpanded){let i=t.findIndex(l=>e===l);n(l=>{let a=[...l];return wn(a,i+1,{isExpandedChildContent:e.contentIsExpanded,[r]:_e(e,r)+"_expanded",expandedChildContent:e.expandedContent,triggerRowKey:_e(e,r),expandedContentHeight:e.expandedContentHeight}),a})}else{let i=t.findIndex(l=>e===l);n(l=>{let a=[...l];return jg(a,i+1),a})}}}),la=(e,t,r,n,i)=>(0,Ne.jsxs)("button",{onClick:()=>{let l=[...e];if(t.visibleChildren){let a=[...e.filter(d=>d.parentKey&&d.parentKey===_e(t,r))],c=[...a];for(;c.length>0;){let d=c.pop(),s=d?.visibleChildren&&d?.childRows?d.childRows:[];a.push(...s),c.push(...s)}l=e.filter(d=>!a.map(s=>(s.visibleChildren&&(s.visibleChildren=!1),_e(s,r))).includes(_e(d,r)))}else{let a=e.findIndex(c=>t===c);t.childRows?.map((c,d)=>{c.rowLevel=t.rowLevel&&typeof t.rowLevel=="number"?t.rowLevel+1:1,c.parentKey=_e(t,r),wn(l,a+1+d,c)})}t.visibleChildren=!t.visibleChildren,i(l)},children:[(0,Ne.jsx)($,{icon:t.visibleChildren?"Keyboard_Arrow_Down":"Chevron_Right"}),(0,Ne.jsx)("span",{className:"ellipsis-cell",children:t[n]})]}),aa=(e,t,r,n,i)=>(0,Ne.jsx)(Ut,{checked:n.has(_e(t,r)),onChange:l=>{let a=new Set(n);l?a.add(_e(t,r)):a.delete(_e(t,r)),t.childRows&&Array.isArray(t.childRows)&&Fn(t.childRows,r,a,l),t.parentKey&&ga(e,t.parentKey,r,a,l),i(a)}}),ca=(e,t,r,n,i)=>(0,Ne.jsx)(Ho,{advancedTheme:Ng(n),children:(0,Ne.jsx)(Ut,{checked:!e.some(l=>!r.has(_e(l,t))),onChange:l=>{let a=new Set(r);l?e.forEach(c=>{a.add(_e(c,t)),c.childRows&&Array.isArray(c.childRows)&&Fn(c.childRows,t,a,l)}):e.forEach(c=>{a.delete(_e(c,t)),c.childRows&&Array.isArray(c.childRows)&&Fn(c.childRows,t,a,l)}),i(a)}})}),_e=(e,t)=>{let r=e[t];return typeof r=="string"||typeof r=="number"?r:null},da=e=>[...e].filter(r=>r.sortFn).map(r=>({column:r.key,sortFn:r.sortFn})),Vg=(e,t,r)=>r?r(e,t):e>t?1:e<t?-1:0,kn=(e,t,r,n)=>[...e].sort((i,l)=>{for(let a of t){let c=i[a.columnKey],d=l[a.columnKey],s=0;if(c&&d&&(s=Vg(c,d,r?.find(({column:m})=>m===a.columnKey)?.sortFn)),s!==0)return n?a.direction==="ASC"?-s:s:a.direction==="ASC"?s:-s}return 0}),sa=(e,t,r,n)=>{let i=kn(e.filter(l=>!l.parentKey),t,r);if(e.length===i.length)return i;{let l=kn(e.filter(a=>a.parentKey),t,r,!0);for(;l.length;)n&&(l=l.reduce((a,c)=>{let d=i.findIndex(s=>_e(s,n)===c.parentKey);return d>=0?i.splice(d+1,0,c):a.push(c),a},[]));return i}},wn=(e,t,r)=>{e.splice(t,0,r)},jg=(e,t)=>{e.splice(t,1)},ma=(e,t,r)=>{let n;if(e.forEach(i=>{_e(i,t)===r&&(n={...i}),i.childRows&&Array.isArray(i.childRows)&&!n&&(n=ma(i.childRows,t,r))}),n)return n},Fn=(e,t,r,n)=>{e.forEach(i=>{i.childRows&&Fn(i.childRows,t,r,n),n?r.add(_e(i,t)):r.delete(_e(i,t))})},ga=(e,t,r,n,i)=>{let l=ma(e,r,t);if(!l)return;let a=l.childRows?.some(c=>!n.has(_e(c,r)));!i||a?n.has(_e(l,r))&&n.delete(_e(l,r)):l.childRows&&!a&&n.add(_e(l,r)),l.parentKey&&ga(e,l.parentKey,r,n,i)},pa=(e,t,r)=>e===1?0:t*(r-1),ua=(e,t,r,n)=>e+t>r.length?r.length:t*n-1,ha=(e,t,r,n)=>{let i=r!=null&&n!=null?e.filter(({parentKey:a,isExpandedChildContent:c})=>a==null&&c==null).slice(r,n):[...e],l=(a,c)=>a[t]===c?!0:a.childRows?.some(d=>l(d,c));return e.filter(a=>i.some(c=>c[t]===a[t]||c.contentIsExpanded&&a?.triggerRowKey===c[t]&&a?.isExpandedChildContent||c?.childRows?.some(d=>l(d,a[t]))))};var hr=F(require("styled-components"));var ko=F(require("styled-components"));var Pt=F(require("@radix-ui/react-popover")),Te=require("react"),ke=F(require("styled-components"));var Hr=require("react"),Mr=F(require("styled-components"));var Zt=F(require("styled-components"));var fa=require("react");var so=require("react/jsx-runtime"),Xg=({id:e,option:t,onClick:r,multiple:n,visualFocused:i,isGroupedOption:l=!1,isLastOption:a,isSelected:c})=>{let[d,s]=(0,fa.useState)(!1),m=g=>{let u=g.currentTarget;s(u.scrollWidth>u.clientWidth)};return(0,so.jsx)(ir,{condition:d,label:t.label,children:(0,so.jsx)(Jg,{id:e,onClick:()=>{r(t)},visualFocused:i,selected:c,role:"option","aria-selected":n?void 0:c,children:(0,so.jsxs)(Kg,{visualFocused:i,selected:c,last:a,grouped:l,multiple:n,children:[n&&(0,so.jsx)("div",{style:{display:"flex",pointerEvents:"none"},children:(0,so.jsx)(Ut,{checked:c,tabIndex:-1})}),t.icon&&(0,so.jsx)(Ug,{grouped:l,multiple:n,children:typeof t.icon=="string"?(0,so.jsx)($,{icon:t.icon}):t.icon}),(0,so.jsxs)(Yg,{grouped:l,hasIcon:!!t.icon,multiple:n,children:[(0,so.jsx)(Zg,{onMouseEnter:m,children:t.label}),!n&&c&&(0,so.jsx)(qg,{children:(0,so.jsx)($,{icon:"done"})})]})]})})})},Jg=Zt.default.li`
1680
+ padding: 0 0.5rem;
1681
+ box-shadow: inset 0 0 0 2px transparent;
1682
+ ${e=>e.visualFocused&&`box-shadow: inset 0 0 0 2px ${e.theme.focusListOptionBorderColor};`}
1683
+ ${e=>e.selected&&`background-color: ${e.theme.selectedListOptionBackgroundColor}`};
1684
+ cursor: pointer;
1685
+
1686
+ &:hover {
1687
+ ${e=>e.selected?`background-color: ${e.theme.selectedHoverListOptionBackgroundColor};`:`background-color: ${e.theme.unselectedHoverListOptionBackgroundColor};`};
1688
+ }
1689
+ &:active {
1690
+ ${e=>e.selected?`background-color: ${e.theme.selectedActiveListOptionBackgroundColor};`:`background-color: ${e.theme.unselectedActiveListOptionBackgroundColor};`};
1691
+ }
1692
+ `,Kg=Zt.default.span`
1693
+ box-sizing: border-box;
1694
+ display: flex;
1695
+ align-items: center;
1696
+ height: 32px;
1697
+ padding: 4px 8px 4px 0;
1698
+ ${e=>e.grouped&&e.multiple&&"padding-left: 16px;"}
1699
+ ${e=>e.last||e.visualFocused||e.selected?"border-bottom: 1px solid transparent":`border-bottom: 1px solid ${e.theme.listOptionDividerColor}`};
1700
+ `,Ug=Zt.default.span`
1701
+ margin-left: ${e=>e.grouped&&!e.multiple?"16px":"8px"};
1702
+ display: grid;
1703
+ place-items: center;
1704
+ color: ${e=>e.theme.listOptionIconColor};
1705
+ font-size: 24px;
1706
+ svg {
1707
+ height: 24px;
1708
+ width: 24px;
1709
+ }
1710
+ `,Yg=Zt.default.span`
1711
+ margin-left: ${e=>e.grouped&&!e.multiple&&!e.hasIcon?"16px":"8px"};
1712
+ display: flex;
1713
+ justify-content: space-between;
1714
+ gap: 0.25rem;
1715
+ width: 100%;
1716
+ overflow: hidden;
1717
+ `,Zg=Zt.default.span`
1718
+ overflow: hidden;
1719
+ text-overflow: ellipsis;
1720
+ white-space: nowrap;
1721
+ `,qg=Zt.default.span`
1722
+ display: flex;
1723
+ align-items: center;
1724
+ color: ${e=>e.theme.selectedListOptionIconColor};
1725
+ font-size: 16px;
1726
+ `,Sn=Xg;var li=(e,t,r)=>!r&&(t?e.length===0:e===""),ii=e=>"options"in e&&e.options!=null,qt=e=>ii(e[0]),pr=e=>qt(e)?e.some(t=>t.options?.length>0):!0,ba=(e,t)=>!t&&e?.length>0&&pr(e),ya=(e,t)=>{if(e?.length>0)return qt(e)?e.map(r=>({label:r.label,options:r.options.filter(i=>i.label.toUpperCase().includes(t.toUpperCase()))})):e.filter(r=>r.label.toUpperCase().includes(t.toUpperCase()))},Ca=(e,t,r,n,i)=>{let l=0,a=(c,d)=>c+d.options?.length;return r&&t?.length>0?qt(t)?l=t.reduce(a,0)-1:l=t.length-1:e?.length>0&&(qt(e)?l=e.reduce(a,0)-1:l=e.length-1),n&&!i?l+1:l},xa=(e,t,r,n,i)=>{let l=r?[]:{},a;if(r)t?.length>0&&t.forEach(c=>{ii(c)?c.options.forEach(d=>{e.includes(d.value)&&Array.isArray(l)&&l.push(d)}):e.includes(c.value)&&Array.isArray(l)&&l.push(c)});else if(n&&e==="")l=i,a=0;else if(t?.length>0){let c=0;t.some((d,s)=>{if(ii(d))d.options.some(m=>{if(m.value===e)return l=m,a=n?c+1:c,!0;c++});else if(d.value===e)return l=d,a=n?s+1:s,!0})}return{selectedOption:l,singleSelectionIndex:a}},ai=(e,t)=>Array.isArray(t)?t.length===0?e:t.map(r=>r.label).join(", "):t?.label??e;var yo=require("react/jsx-runtime"),Qg=({id:e,currentValue:t,options:r,visualFocusIndex:n,lastOptionIndex:i,multiple:l,optional:a,optionalItem:c,searchable:d,handleOptionOnClick:s,styles:m})=>{let g=J(),u=(0,Hr.useRef)(null),h=a&&!l?0:-1,y=(f,_)=>{let x=`${e}-group-${_}`;return f.options?f.options.length>0&&(0,yo.jsx)("li",{children:(0,yo.jsxs)("ul",{role:"listbox","aria-labelledby":x,style:{padding:0},children:[(0,yo.jsx)(rp,{role:"presentation",id:x,children:f.label}),f.options.map(b=>(h++,(0,yo.jsx)(Sn,{id:`${e}-option-${h}`,option:b,onClick:s,multiple:l,visualFocused:n===h,isGroupedOption:!0,isLastOption:i===h,isSelected:l?t.includes(b.value):t===b.value},`${e}-option-${b.value}`)))]})},x):(h++,(0,yo.jsx)(Sn,{id:`${e}-option-${h}`,option:f,onClick:s,multiple:l,visualFocused:n===h,isLastOption:i===h,isSelected:l?t.includes(f.value):t===f.value},`${e}-option-${f.value}`))};(0,Hr.useLayoutEffect)(()=>{if(t&&!l){let f=u?.current,_=f?.querySelector("[aria-selected='true']");f?.scrollTo?.({top:_?.offsetTop-f?.clientHeight/2})}},[t,l]),(0,Hr.useLayoutEffect)(()=>{u?.current?.querySelectorAll("[role='option']")[n]?.scrollIntoView?.({block:"nearest",inline:"start"})},[n]);let v=r.some(f=>f.options?.length>0);return(0,yo.jsxs)(ep,{id:e,onClick:f=>{f.stopPropagation()},onMouseDown:f=>{f.preventDefault()},ref:u,"aria-multiselectable":v?void 0:l,style:m,role:v?"list":"listbox","aria-label":"List of options",children:[d&&(r.length===0||!pr(r))?(0,yo.jsxs)(op,{children:[(0,yo.jsx)(tp,{children:(0,yo.jsx)($,{icon:"search_off"})}),g.select.noMatchesErrorMessage]}):a&&!l&&(0,yo.jsx)(Sn,{id:`${e}-option-0`,option:c,onClick:s,multiple:l,visualFocused:n===0,isGroupedOption:!1,isLastOption:i===0,isSelected:l?t.includes(c.value):t===c.value},`${e}-option-${c.value}`),r.map(y)]})},ep=Mr.default.ul`
1727
+ box-sizing: border-box;
1728
+ max-height: 304px;
1729
+ overflow-y: auto;
1730
+ margin: 0;
1731
+ padding: 0.25rem 0;
1732
+ background-color: ${e=>e.theme.listDialogBackgroundColor};
1733
+ border: 1px solid ${e=>e.theme.listDialogBorderColor};
1734
+ border-radius: 0.25rem;
1735
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
1736
+ color: ${e=>e.theme.listOptionFontColor};
1737
+ font-family: ${e=>e.theme.fontFamily};
1738
+ font-size: ${e=>e.theme.listOptionFontSize};
1739
+ font-style: ${e=>e.theme.listOptionFontStyle};
1740
+ font-weight: ${e=>e.theme.listOptionFontWeight};
1741
+ line-height: 24px;
1742
+ cursor: default;
1743
+ `,op=Mr.default.span`
1744
+ display: flex;
1745
+ padding: 4px 16px;
1746
+ color: ${e=>e.theme.systemMessageFontColor};
1747
+ font-size: 0.875rem;
1748
+ line-height: 1.715em;
1749
+ `,tp=Mr.default.span`
1750
+ display: flex;
1751
+ flex-wrap: wrap;
1752
+ align-content: center;
1753
+ height: 16px;
1754
+ width: 16px;
1755
+ padding: 4px;
1756
+ margin-right: 0.25rem;
1757
+ font-size: 16px;
1758
+ `,rp=Mr.default.li`
1759
+ padding: 4px 16px;
1760
+ font-weight: ${e=>e.theme.listGroupLabelFontWeight};
1761
+ line-height: 1.715em;
1762
+ `,_a=Qg;var ie=require("react/jsx-runtime"),np=(0,Te.forwardRef)(({label:e,name:t="",defaultValue:r,value:n,options:i,helperText:l,placeholder:a="",disabled:c=!1,multiple:d=!1,optional:s=!1,searchable:m=!1,onChange:g,onBlur:u,error:h,margin:y,size:v="medium",tabIndex:f=0},_)=>{let x=`select-${(0,Te.useId)()}`,b=`label-${x}`,D=`error-${x}`,P=`${x}-listbox`,[B,M]=(0,Te.useState)(r??(d?[]:"")),[H,w]=(0,Te.useState)(""),[S,z]=(0,Te.useState)(-1),[G,V]=(0,Te.useState)(!1),[q,W]=(0,Te.useState)(!1),A=(0,Te.useRef)(null),C=(0,Te.useRef)(null),I=lr(A.current),T=k(),L=J(),E={label:a,value:""},K=(0,Te.useMemo)(()=>ya(i,H),[i,H]),fe=(0,Te.useMemo)(()=>Ca(i,K,m,s,d),[i,K,m,s,d]),{selectedOption:N,singleSelectionIndex:Q}=(0,Te.useMemo)(()=>xa(n??B,i,d,s,E),[n,B,i,d,s,E]),R=()=>{!G&&ba(i,c)&&V(!0)},be=()=>{G&&(V(!1),z(-1))},ye=te=>{let re;d?(n??B).includes(te.value)?re=((n&&Array.isArray(n)&&n)??(B&&Array.isArray(B)&&B)).filter(et=>et!==te.value):re=[...(n&&Array.isArray(n)&&n)??(B&&Array.isArray(B)&&B),te.value]:re=te.value,n??M(re),li(re,d,s)?g?.({value:re,error:L.formFields.requiredValueErrorMessage}):g?.({value:re})},Ce=()=>{m&&C.current.focus(),G?(be(),w("")):R()},O=te=>{te.currentTarget.contains(te.relatedTarget)||m&&C.current.focus()},Y=te=>{if(!te.currentTarget.contains(te.relatedTarget)){be(),w("");let re=n??B;li(re,d,s)?u?.({value:re,error:L.formFields.requiredValueErrorMessage}):u?.({value:re})}},U=te=>{switch(te.key){case"Down":case"ArrowDown":te.preventDefault(),Q!==void 0&&(!G||S===-1&&Q>-1&&Q<=fe)?z(Q):z(re=>{if(re<fe)return re+1;if(re===fe)return 0}),R();break;case"Up":case"ArrowUp":te.preventDefault(),Q!==void 0&&(!G||S===-1&&Q>-1&&Q<=fe)?z(Q):z(re=>re===0||re===-1?fe:re-1),R();break;case"Esc":case"Escape":te.preventDefault(),G&&te.stopPropagation(),be(),w("");break;case"Enter":if(G&&S>=0){let re=s&&!d?1:0;m?K.length>0&&(s&&!d&&S===0&&pr(K)?ye(E):qt(K)?pr(K)&&K.some(et=>{let ot=re+et.options.length;return ot>S&&ye(et.options[S-re]),re=ot,ot>S}):ye(K[S-re])):s&&!d&&S===0?ye(E):qt(i)?i.some(et=>{let ot=re+et.options.length;return ot>S&&ye(et.options[S-re]),re=ot,ot>S}):ye(i[S-re]),!d&&be(),w("")}break}},Me=te=>{w(te.target.value),z(-1),R()},xe=te=>{te.stopPropagation(),n??M([]),g?.(s?{value:[]}:{value:[],error:L.formFields.requiredValueErrorMessage})},Xt=te=>{te.stopPropagation(),w("")},vr=(0,Te.useCallback)(te=>{ye(te),!d&&be(),w("")},[ye,be,d]),Yn=te=>{let re=te.currentTarget;W(re.scrollWidth>re.clientWidth)};return(0,ie.jsx)(ke.ThemeProvider,{theme:T.select,children:(0,ie.jsxs)(ip,{margin:y,size:v,ref:_,children:[e&&(0,ie.jsxs)(lp,{id:b,disabled:c,onClick:()=>{A.current.focus()},helperText:l,children:[e," ",s&&(0,ie.jsx)(ap,{children:L.formFields.optionalLabel})]}),l&&(0,ie.jsx)(cp,{disabled:c,children:l}),(0,ie.jsxs)(Pt.Root,{open:G,children:[(0,ie.jsx)(Pt.Trigger,{asChild:!0,type:void 0,children:(0,ie.jsxs)(dp,{id:x,disabled:c,error:h,onBlur:Y,onClick:Ce,onFocus:O,onKeyDown:U,ref:A,tabIndex:c?-1:f,role:"combobox","aria-controls":G?P:void 0,"aria-disabled":c,"aria-expanded":G,"aria-haspopup":"listbox","aria-labelledby":e?b:void 0,"aria-activedescendant":S>=0?`option-${S}`:void 0,"aria-invalid":!!h,"aria-errormessage":h?D:void 0,"aria-required":!c&&!s,children:[d&&Array.isArray(N)&&N.length>0&&(0,ie.jsxs)(sp,{children:[(0,ie.jsx)(mp,{disabled:c,children:N.length}),(0,ie.jsx)(ge,{label:L.select.actionClearSelectionTitle,children:(0,ie.jsx)(gp,{disabled:c,onMouseDown:te=>{te.preventDefault()},onClick:xe,tabIndex:-1,"aria-label":L.select.actionClearSelectionTitle,children:(0,ie.jsx)($,{icon:"clear"})})})]}),(0,ie.jsx)(ir,{condition:q,label:ai(a,N),children:(0,ie.jsxs)(pp,{children:[(0,ie.jsx)("input",{style:{display:"none"},name:t,disabled:c,value:d?((n&&Array.isArray(n)&&n)??(B&&Array.isArray(B)&&B)).join(","):n??B,readOnly:!0,"aria-hidden":"true"}),m&&(0,ie.jsx)(fp,{value:H,disabled:c,onChange:Me,ref:C,autoComplete:"nope",autoCorrect:"nope",size:1,"aria-labelledby":e?b:void 0}),(!m||H==="")&&(0,ie.jsx)(up,{disabled:c,atBackground:(d?(n??B).length===0:!(n??B))||m&&G,children:(0,ie.jsx)(hp,{onMouseEnter:Yn,children:ai(a,N)})})]})}),!c&&h&&(0,ie.jsx)(bp,{children:(0,ie.jsx)($,{icon:"filled_error"})}),m&&H.length>0&&(0,ie.jsx)(ge,{label:L.select.actionClearSelectionTitle,children:(0,ie.jsx)(xp,{onMouseDown:te=>{te.preventDefault()},onClick:Xt,tabIndex:-1,"aria-label":L.select.actionClearSearchTitle,children:(0,ie.jsx)($,{icon:"clear"})})}),(0,ie.jsx)(Cp,{disabled:c,children:(0,ie.jsx)($,{icon:G?"keyboard_arrow_up":"keyboard_arrow_down"})})]})}),(0,ie.jsx)(Pt.Portal,{children:(0,ie.jsx)(Pt.Content,{sideOffset:4,style:{zIndex:"2147483647"},onOpenAutoFocus:te=>{te.preventDefault()},onCloseAutoFocus:te=>{te.preventDefault()},children:(0,ie.jsx)(_a,{id:P,currentValue:n??B,options:m?K:i,visualFocusIndex:S,lastOptionIndex:fe,multiple:d,optional:s,optionalItem:E,searchable:m,handleOptionOnClick:vr,styles:{width:I}})})})]}),!c&&typeof h=="string"&&(0,ie.jsx)(yp,{id:D,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),$a={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},va=(e,t)=>t==="fillParent"?`calc(${$a[t]} - ${X(e,"left")} - ${X(e,"right")})`:$a[t],ip=ke.default.div`
1763
+ box-sizing: border-box;
1764
+ display: flex;
1765
+ flex-direction: column;
1766
+ width: ${e=>va(e.margin,e.size)};
1767
+ ${e=>e.size!=="fillParent"&&"min-width:"+va(e.margin,e.size)};
1768
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1769
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1770
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1771
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1772
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1773
+ font-family: ${e=>e.theme.fontFamily};
1774
+ `,lp=ke.default.label`
1775
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.labelFontColor};
1776
+ font-size: ${e=>e.theme.labelFontSize};
1777
+ font-style: ${e=>e.theme.labelFontStyle};
1778
+ font-weight: ${e=>e.theme.labelFontWeight};
1779
+ line-height: ${e=>e.theme.labelLineHeight};
1780
+ cursor: default;
1781
+ ${e=>!e.helperText&&"margin-bottom: 0.25rem"}
1782
+ `,ap=ke.default.span`
1783
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
1784
+ `,cp=ke.default.span`
1785
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.helperTextFontColor};
1786
+ font-size: ${e=>e.theme.helperTextFontSize};
1787
+ font-style: ${e=>e.theme.helperTextFontStyle};
1788
+ font-weight: ${e=>e.theme.helperTextFontWeight};
1789
+ line-height: ${e=>e.theme.helperTextLineHeight};
1790
+ margin-bottom: 0.25rem;
1791
+ `,dp=ke.default.div`
1792
+ display: flex;
1793
+ position: relative;
1794
+ align-items: center;
1795
+ height: calc(2.5rem - 2px);
1796
+ padding: 0 0.5rem;
1797
+ outline: none;
1798
+ ${e=>e.disabled&&`background-color: ${e.theme.disabledInputBackgroundColor}`};
1799
+ box-shadow: 0 0 0 2px transparent;
1800
+ border-radius: 4px;
1801
+ border: 1px solid
1802
+ ${e=>e.disabled?e.theme.disabledInputBorderColor:e.theme.enabledInputBorderColor};
1803
+ ${e=>e.error&&!e.disabled&&`border-color: transparent;
1804
+ box-shadow: 0 0 0 2px ${e.theme.errorInputBorderColor};
1805
+ `}
1806
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"};
1807
+
1808
+ ${e=>!e.disabled&&`
1809
+ &:hover {
1810
+ border-color: ${e.error?"transparent":e.theme.hoverInputBorderColor};
1811
+ ${e.error&&`box-shadow: 0 0 0 2px ${e.theme.hoverInputErrorBorderColor};`}
1812
+ }
1813
+ &:focus-within {
1814
+ border-color: transparent;
1815
+ box-shadow: 0 0 0 2px ${e.theme.focusInputBorderColor};
1816
+ }
1817
+ `};
1818
+ `,sp=ke.default.div`
1819
+ box-sizing: border-box;
1820
+ display: grid;
1821
+ grid-template-columns: 1fr 1fr;
1822
+ min-width: 48px;
1823
+ min-height: 24px;
1824
+ border-radius: 2px;
1825
+ border: 1px solid ${e=>e.theme.selectionIndicatorBorderColor};
1826
+ `,mp=ke.default.span`
1827
+ display: grid;
1828
+ place-items: center;
1829
+ border-right: 1px solid ${e=>e.theme.selectionIndicatorBorderColor};
1830
+ user-select: none;
1831
+ ${e=>!e.disabled&&`background-color: ${e.theme.selectionIndicatorBackgroundColor}`};
1832
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.selectionIndicatorFontColor};
1833
+ font-size: ${e=>e.theme.selectionIndicatorFontSize};
1834
+ font-style: ${e=>e.theme.selectionIndicatorFontStyle};
1835
+ font-weight: ${e=>e.theme.selectionIndicatorFontWeight};
1836
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: default;"}
1837
+ `,gp=ke.default.button`
1838
+ display: grid;
1839
+ place-items: center;
1840
+ border: none;
1841
+ padding: 0;
1842
+ ${e=>e.disabled?"cursor: not-allowed;":"cursor: pointer;"}
1843
+ background-color: ${e=>e.disabled?"transparent":e.theme.enabledSelectionIndicatorActionBackgroundColor};
1844
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.enabledSelectionIndicatorActionIconColor};
1845
+ font-size: 16px;
1846
+ width: 100%;
1847
+
1848
+ :focus-visible {
1849
+ outline: none;
1850
+ }
1851
+ ${e=>!e.disabled&&`
1852
+ &:hover {
1853
+ background-color: ${e.theme.hoverSelectionIndicatorActionBackgroundColor};
1854
+ color: ${e.theme.hoverSelectionIndicatorActionIconColor};
1855
+ }
1856
+ &:active {
1857
+ background-color: ${e.theme.activeSelectionIndicatorActionBackgroundColor};
1858
+ color: ${e.theme.activeSelectionIndicatorActionIconColor};
1859
+ }
1860
+ `}
1861
+ `,pp=ke.default.div`
1862
+ display: grid;
1863
+ width: 100%;
1864
+ `,up=ke.default.span`
1865
+ grid-area: 1 / 1 / 1 / 1;
1866
+ display: inline-flex;
1867
+ align-items: center;
1868
+ height: calc(2.5rem - 2px);
1869
+ padding: 0 0.5rem;
1870
+ user-select: none;
1871
+ overflow: hidden;
1872
+
1873
+ color: ${e=>e.disabled?e.theme.disabledColor:e.atBackground?e.theme.placeholderFontColor:e.theme.valueFontColor};
1874
+ font-size: ${e=>e.theme.valueFontSize};
1875
+ font-style: ${e=>e.theme.valueFontStyle};
1876
+ font-weight: ${e=>e.theme.valueFontWeight};
1877
+ `,hp=ke.default.span`
1878
+ overflow: hidden;
1879
+ text-overflow: ellipsis;
1880
+ white-space: nowrap;
1881
+ `,fp=ke.default.input`
1882
+ grid-area: 1 / 1 / 1 / 1;
1883
+ height: calc(2.5rem - 2px);
1884
+ background: none;
1885
+ border: none;
1886
+ outline: none;
1887
+ padding: 0 0.5rem;
1888
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.valueFontColor};
1889
+ font-size: ${e=>e.theme.valueFontSize};
1890
+ font-style: ${e=>e.theme.valueFontStyle};
1891
+ font-weight: ${e=>e.theme.valueFontWeight};
1892
+ line-height: 1.5em;
1893
+ `,bp=ke.default.span`
1894
+ display: flex;
1895
+ flex-wrap: wrap;
1896
+ align-content: center;
1897
+ padding: 3px;
1898
+ height: 18px;
1899
+ width: 18px;
1900
+ margin-left: 0.25rem;
1901
+ color: ${e=>e.theme.errorIconColor};
1902
+ font-size: 1.25rem;
1903
+ `,yp=ke.default.span`
1904
+ min-height: 1.5em;
1905
+ color: ${e=>e.theme.errorMessageColor};
1906
+ font-size: 0.75rem;
1907
+ line-height: 1.5em;
1908
+ margin-top: 0.25rem;
1909
+ `,Cp=ke.default.span`
1910
+ display: grid;
1911
+ place-items: center;
1912
+ padding: 4px;
1913
+ font-size: 16px;
1914
+ margin-left: 0.25rem;
1915
+ color: ${e=>e.disabled?e.theme.disabledColor:e.theme.collapseIndicatorColor};
1916
+ `,xp=ke.default.button`
1917
+ display: grid;
1918
+ place-items: center;
1919
+ min-height: 24px;
1920
+ min-width: 24px;
1921
+ margin-left: 0.25rem;
1922
+ border: none;
1923
+ border-radius: 2px;
1924
+ padding: 0;
1925
+ background-color: ${e=>e.theme.actionBackgroundColor};
1926
+ color: ${e=>e.theme.actionIconColor};
1927
+ font-size: 1rem;
1928
+ cursor: pointer;
1929
+
1930
+ &:hover {
1931
+ background-color: ${e=>e.theme.hoverActionBackgroundColor};
1932
+ color: ${e=>e.theme.hoverActionIconColor};
1933
+ }
1934
+ &:active {
1935
+ background-color: ${e=>e.theme.activeActionBackgroundColor};
1936
+ color: ${e=>e.theme.activeActionIconColor};
1937
+ }
1938
+ `,Er=np;var Fe=require("react/jsx-runtime"),_p=({currentPage:e=1,itemsPerPage:t=5,itemsPerPageOptions:r,totalItems:n=1,showGoToPage:i,onPageChange:l,itemsPerPageFunction:a,tabIndex:c=0})=>{let d=t>0&&Math.ceil(n/t),s=e===-1?d:e,m=s===1||s===0?s:(s-1)*t+1,g=m-1+t>n?n:m-1+t,u=k(),h=J();return(0,Fe.jsx)(ko.ThemeProvider,{theme:u.paginator,children:(0,Fe.jsx)($p,{children:(0,Fe.jsxs)(wp,{children:[r&&(0,Fe.jsxs)(vp,{children:[(0,Fe.jsx)(Tp,{children:h.paginator.itemsPerPageText}),(0,Fe.jsx)(Ta,{children:(0,Fe.jsx)(Er,{options:r.map(y=>({label:y.toString(),value:y.toString()})),onChange:y=>{a(Number(y.value))},value:t.toString(),size:"fillParent",tabIndex:c})})]}),(0,Fe.jsx)(Fp,{children:h.paginator.minToMaxOfText(m,g,n)}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===1||s===0,icon:"first_page",tabIndex:c,onClick:()=>{l(1)},title:"First results"}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===1||s===0,icon:"navigate_before",tabIndex:c,onClick:()=>{l(e-1)},title:"Previous results"}),i?(0,Fe.jsxs)(Sp,{children:[(0,Fe.jsxs)(kp,{children:[h.paginator.goToPageText," "]}),(0,Fe.jsx)(Ta,{children:(0,Fe.jsx)(Er,{options:Array.from(Array(d),(y,v)=>({label:(v+1).toString(),value:(v+1).toString()})),onChange:y=>{l(Number(y.value))},value:e.toString(),size:"fillParent",tabIndex:c})})]}):(0,Fe.jsx)("span",{children:h.paginator.pageOfText(s,d)}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===d,icon:"navigate_next",tabIndex:c,onClick:()=>{l(e+1)},title:"Next results"}),l&&(0,Fe.jsx)(bo,{mode:"secondary",disabled:s===d,icon:"last_page",tabIndex:c,onClick:()=>{l(d)},title:"Last results"})]})})})},$p=ko.default.div`
1939
+ display: flex;
1940
+ font-family: ${e=>e.theme.fontFamily};
1941
+ font-size: ${e=>e.theme.fontSize};
1942
+ font-weight: ${e=>e.theme.fontWeight};
1943
+ font-style: ${e=>e.theme.fontStyle};
1944
+ text-transform: ${e=>e.theme.fontTextTransform};
1945
+ background-color: ${e=>e.theme.backgroundColor};
1946
+ color: ${e=>e.theme.fontColor};
1947
+ padding: ${e=>e.theme.verticalPadding} ${e=>e.theme.horizontalPadding};
1948
+
1949
+ button {
1950
+ &:disabled {
1951
+ background-color: transparent !important;
1952
+ opacity: 0.3 !important;
1953
+ }
1954
+ }
1955
+ `,Ta=ko.default.div`
1956
+ min-width: 5.25rem;
1957
+ `,vp=ko.default.span`
1958
+ display: flex;
1959
+ align-items: center;
1960
+ margin-right: ${e=>e.theme.itemsPerPageSelectorMarginRight};
1961
+ margin-left: ${e=>e.theme.itemsPerPageSelectorMarginLeft};
1962
+ `,Tp=ko.default.span`
1963
+ margin-right: 0.5rem;
1964
+ `,kp=ko.default.span`
1965
+ margin-right: 0.5rem;
1966
+ margin-left: 0.5rem;
1967
+ `,Fp=ko.default.span`
1968
+ margin-right: ${e=>e.theme.totalItemsContainerMarginRight};
1969
+ margin-left: ${e=>e.theme.totalItemsContainerMarginLeft};
1970
+ `,wp=ko.default.div`
1971
+ display: flex;
1972
+ gap: 0.5rem;
1973
+ width: 100%;
1974
+ justify-content: flex-end;
1975
+ align-items: center;
1976
+ `,Sp=ko.default.span`
1977
+ display: flex;
1978
+ align-items: center;
1979
+ margin-right: 0.5rem;
1980
+ `,ur=_p;var Wr=F(require("styled-components"));var ka={dropdown:{buttonIconSize:"16px",buttonPaddingTop:"4px",buttonPaddingBottom:"4px",buttonPaddingLeft:"4px",buttonPaddingRight:"4px",buttonHeight:"24px",buttonBorderRadius:"2px",buttonBorderStyle:"none",buttonBorderThickness:"0px",buttonBorderColor:"transparent",optionFontSize:"14px",optionPaddingTop:"0px",optionPaddingBottom:"0px",optionPaddingLeft:"16px",optionPaddingRight:"16px",buttonBackgroundColor:ee.table.actionBackgroundColor,hoverButtonBackgroundColor:ee.table.hoverActionBackgroundColor,activeButtonBackgroundColor:ee.table.activeActionBackgroundColor,buttonIconColor:ee.table.actionIconColor,disabledColor:ee.table.disabledActionIconColor,disabledButtonBackgroundColor:ee.table.disabledActionBackgroundColor,focusColor:ee.table.focusActionBorderColor,buttonFontFamily:ee.dropdown.buttonFontFamily,buttonFontSize:ee.dropdown.buttonFontSize,buttonFontStyle:ee.dropdown.buttonFontStyle,buttonFontWeight:ee.dropdown.buttonFontWeight,buttonFontColor:ee.dropdown.buttonFontColor,buttonIconSpacing:ee.dropdown.buttonIconSpacing,disabledButtonBorderColor:ee.dropdown.disabledButtonBorderColor,optionBackgroundColor:ee.dropdown.optionBackgroundColor,hoverOptionBackgroundColor:ee.dropdown.hoverOptionBackgroundColor,activeOptionBackgroundColor:ee.dropdown.activeOptionBackgroundColor,optionFontFamily:ee.dropdown.optionFontFamily,optionFontStyle:ee.dropdown.optionFontStyle,optionFontWeight:ee.dropdown.optionFontWeight,optionFontColor:ee.dropdown.optionFontColor,optionIconSize:ee.dropdown.optionIconSize,optionIconSpacing:ee.dropdown.optionIconSpacing,optionIconColor:ee.dropdown.optionIconColor,caretIconSize:ee.dropdown.caretIconSize,caretIconColor:ee.dropdown.caretIconColor,caretIconSpacing:ee.dropdown.caretIconSpacing,borderRadius:ee.dropdown.borderRadius,borderStyle:ee.dropdown.borderStyle,borderThickness:ee.dropdown.borderThickness,borderColor:ee.dropdown.borderColor,scrollBarThumbColor:ee.dropdown.scrollBarThumbColor,scrollBarTrackColor:ee.dropdown.scrollBarTrackColor}};var lt=require("react/jsx-runtime"),Ip=e=>{let t=ka;return t.dropdown.buttonBackgroundColor=e.table.actionBackgroundColor,t.dropdown.hoverButtonBackgroundColor=e.table.hoverActionBackgroundColor,t.dropdown.activeButtonBackgroundColor=e.table.activeActionBackgroundColor,t.dropdown.buttonIconColor=e.table.actionIconColor,t.dropdown.disabledColor=e.table.disabledActionIconColor,t.dropdown.disabledButtonBackgroundColor=e.table.disabledActionBackgroundColor,t},Or=({actions:e})=>{let t=e.filter(l=>!l.options),r=e.find(l=>l.options),n=r?2:3,i=k();return(0,lt.jsxs)(ne,{gap:"0.5rem",alignItems:"center",children:[t.map((l,a)=>a<n&&(0,lt.jsx)(co,{icon:l.icon,title:l.title,onClick:l.onClick,disabled:l.disabled??!1,tabIndex:l.tabIndex??0},`action-${a}`)),r&&(0,lt.jsx)(Ho,{advancedTheme:Ip(i),children:(0,lt.jsx)(xt,{options:r.options,onSelectOption:r.onClick,disabled:r.disabled,icon:"more_vert",tabIndex:r.tabIndex,caretHidden:!0})},"provider-dropdown")]})},Fa=({children:e,margin:t,mode:r="default"})=>{let n=k();return(0,lt.jsx)(Wr.ThemeProvider,{theme:n.table,children:(0,lt.jsx)(Pp,{margin:t,children:(0,lt.jsx)(Lp,{mode:r,children:e})})})},Bp=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,Pp=Wr.default.div`
1981
+ width: ${e=>Bp(e.margin)};
1982
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
1983
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
1984
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
1985
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
1986
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
1987
+
1988
+ overflow: auto;
1989
+ &::-webkit-scrollbar {
1990
+ width: 8px;
1991
+ height: 8px;
1992
+ }
1993
+ &::-webkit-scrollbar-thumb {
1994
+ background-color: ${e=>e.theme.scrollBarThumbColor};
1995
+ border-radius: 6px;
1996
+ }
1997
+ &::-webkit-scrollbar-track {
1998
+ background-color: ${e=>e.theme.scrollBarTrackColor};
1999
+ border-radius: 6px;
2000
+ }
2001
+ `,Lp=Wr.default.table`
2002
+ border-collapse: collapse;
2003
+ width: 100%;
2004
+
2005
+ & tr {
2006
+ border-bottom: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2007
+ height: ${e=>e.mode==="default"?"60px":"36px"};
2008
+ }
2009
+ & td {
2010
+ background-color: ${e=>e.theme.dataBackgroundColor};
2011
+ font-family: ${e=>e.theme.dataFontFamily};
2012
+ font-size: ${e=>e.theme.dataFontSize};
2013
+ font-style: ${e=>e.theme.dataFontStyle};
2014
+ font-weight: ${e=>e.theme.dataFontWeight};
2015
+ color: ${e=>e.theme.dataFontColor};
2016
+ text-transform: ${e=>e.theme.dataFontTextTransform};
2017
+ text-align: ${e=>e.theme.dataTextAlign};
2018
+ line-height: ${e=>e.theme.dataTextLineHeight};
2019
+ padding: ${e=>e.mode==="default"?`${e.theme.dataPaddingTop} ${e.theme.dataPaddingRight} ${e.theme.dataPaddingBottom} ${e.theme.dataPaddingLeft}`:`${e.theme.dataPaddingTopReduced} ${e.theme.dataPaddingRightReduced} ${e.theme.dataPaddingBottomReduced} ${e.theme.dataPaddingLeftReduced}`};
2020
+ }
2021
+ & th {
2022
+ background-color: ${e=>e.theme.headerBackgroundColor};
2023
+ font-family: ${e=>e.theme.headerFontFamily};
2024
+ font-size: ${e=>e.theme.headerFontSize};
2025
+ font-style: ${e=>e.theme.headerFontStyle};
2026
+ font-weight: ${e=>e.theme.headerFontWeight};
2027
+ color: ${e=>e.theme.headerFontColor};
2028
+ text-transform: ${e=>e.theme.headerFontTextTransform};
2029
+ text-align: ${e=>e.theme.headerTextAlign};
2030
+ line-height: ${e=>e.theme.headerTextLineHeight};
2031
+ padding: ${e=>e.mode==="default"?`${e.theme.headerPaddingTop} ${e.theme.headerPaddingRight} ${e.theme.headerPaddingBottom} ${e.theme.headerPaddingLeft}`:`${e.theme.headerPaddingTopReduced} ${e.theme.headerPaddingRightReduced} ${e.theme.headerPaddingBottomReduced} ${e.theme.headerPaddingLeftReduced}`};
2032
+ }
2033
+ & th:first-child {
2034
+ border-top-left-radius: ${e=>e.theme.headerBorderRadius};
2035
+ padding-left: ${e=>e.mode==="default"?e.theme.firstChildPaddingLeft:e.theme.firstChildPaddingLeftReduced};
2036
+ }
2037
+ & th:last-child {
2038
+ border-top-right-radius: ${e=>e.theme.headerBorderRadius};
2039
+ padding-right: ${e=>e.mode==="default"?e.theme.lastChildPaddingRight:e.theme.lastChildPaddingRightReduced};
2040
+ }
2041
+ & td:first-child {
2042
+ padding-left: ${e=>e.mode==="default"?e.theme.firstChildPaddingLeft:e.theme.firstChildPaddingLeftReduced};
2043
+ }
2044
+ & td:last-child {
2045
+ padding-right: ${e=>e.mode==="default"?e.theme.lastChildPaddingRight:e.theme.lastChildPaddingRightReduced};
2046
+ }
2047
+ `;Fa.ActionsCell=Or;var In=Fa;var qe=require("react/jsx-runtime"),Ia=({columns:e,rows:t,selectable:r,expandable:n,onSelectRows:i,selectedRows:l,uniqueRowId:a,summaryRow:c,onGridRowsChange:d,showPaginator:s=!1,showGoToPage:m=!0,itemsPerPage:g=5,itemsPerPageOptions:u,itemsPerPageFunction:h,onSort:y,onPageChange:v,totalItems:f})=>{let[_,x]=(0,Ve.useState)(t),b=k(),[D,P]=(0,Ve.useState)(1),B=L=>{v&&v(L),P(L)},M=L=>{if(y)if(L[0]){let{columnKey:E,direction:K}=L[0];y({columnKey:E,direction:K})}else y();G(L)},H=(0,Ve.useMemo)(()=>{let L=e.map(E=>ra(E,c));if(n&&(L=[{key:"expanded",name:"",maxWidth:36,width:36,minWidth:36,colSpan(E){return E.type==="ROW"&&E.row.isExpandedChildContent?e.length+1:void 0},renderCell({row:E}){return E.isExpandedChildContent?E.expandedChildContent||(0,qe.jsx)(qe.Fragment,{}):(0,qe.jsx)(ci,{id:"action",children:E.expandedContent&&ia(E,_,a,x)})}},...L]),!n&&t.some(E=>Array.isArray(E.childRows)&&E.childRows.length>0)&&a){let E=L[0].key;L[0]={...L[0],renderCell({row:K}){return K.childRows?.length?(0,qe.jsx)(wa,{level:typeof K.rowLevel=="number"?K.rowLevel:0,children:la(_,K,a,E,x)}):(0,qe.jsx)(wa,{level:typeof K.rowLevel=="number"?K.rowLevel:0,className:"ellipsis-cell",children:K[E]})}}}return r&&(L=[{key:"selected",name:"",maxWidth:36,width:36,minWidth:36,renderCell({row:E}){if(!E.isExpandedChildContent)return(0,qe.jsx)(ci,{id:"action",children:aa(t,E,a,l,i)})},renderHeaderCell:()=>(0,qe.jsx)(ci,{id:"action",children:ca(t,a,l,b,i)})},...L]),L},[r,n,e,_,i,t,c,a,l]),[w,S]=(0,Ve.useState)(()=>H.map((L,E)=>E)),[z,G]=(0,Ve.useState)([]);(0,Ve.useEffect)(()=>{S(Array.from({length:H.length},(L,E)=>E))},[H.length]),(0,Ve.useEffect)(()=>{x(t)},[t]);let V=(0,Ve.useMemo)(()=>w.map(L=>H[L]),[w,H]),q=(L,E)=>{S(K=>{let fe=K.findIndex(R=>H[R].key===L),N=K.findIndex(R=>H[R].key===E),Q=K.slice();return Q.splice(fe,1),Q.splice(N,0,K[fe]),Q})},W=L=>{typeof d=="function"&&d(L)},A=(0,Ve.useMemo)(()=>{let L=da(e);if(!y){if(n&&z.length>0){let E=kn(_.filter(K=>!K.isExpandedChildContent),z,L);return _.filter(K=>K.isExpandedChildContent).map(K=>wn(E,E.findIndex(fe=>_e(fe,a)===K.triggerRowKey)+1,K)),E}else if(!n&&z.length>0&&a)return sa(_,z,L,a)}return _},[n,_,z,a]),C=(0,Ve.useMemo)(()=>pa(D,g,D),[g,D]),I=(0,Ve.useMemo)(()=>ua(C,g,t,D),[g,C,D,t]),T=(0,Ve.useMemo)(()=>(y&&z?.length>0&&y?.(z?.[0]),!s||v?A:ha(A,a,C,I+1)),[A,C,I]);return(0,qe.jsx)(hr.ThemeProvider,{theme:b.dataGrid,children:(0,qe.jsxs)(Dp,{children:[(0,qe.jsx)(Sa.default,{columns:V,rows:T,onColumnsReorder:q,onRowsChange:W,renderers:{renderSortStatus:na},sortColumns:z,onSortColumnsChange:M,rowKeyGetter:L=>a&&_e(L,a),rowHeight:L=>L.isExpandedChildContent&&typeof L.expandedContentHeight=="number"&&L.expandedContentHeight>0?L.expandedContentHeight:b.dataGrid.dataRowHeight,selectedRows:l,bottomSummaryRows:c?[c]:void 0,headerRowHeight:b.dataGrid.headerRowHeight,summaryRowHeight:b.dataGrid.summaryRowHeight,className:"fill-grid"}),s&&(0,qe.jsx)(ur,{totalItems:f??t.length,itemsPerPage:g,itemsPerPageOptions:u,itemsPerPageFunction:h,currentPage:D,showGoToPage:m,onPageChange:B})]})})},ci=hr.default.div`
2048
+ display: flex;
2049
+ height: 100%;
2050
+ align-items: center;
2051
+ justify-content: center;
2052
+ font-size: 14px;
2053
+ width: 100%;
2054
+ `,wa=hr.default.div`
2055
+ padding-left: ${e=>`calc(${e.theme.dataPaddingLeft} * ${e.level})`};
2056
+ button {
2057
+ display: grid;
2058
+ grid-template-columns: auto 1fr;
2059
+ align-items: center;
2060
+ gap: 0.5rem;
2061
+ padding: 0px;
2062
+ border: 0px;
2063
+ width: 100%;
2064
+ height: ${e=>e.theme.dataRowHeight}px;
2065
+ background: transparent;
2066
+ text-align: left;
2067
+ font-size: ${e=>e.theme.dataFontSize};
2068
+ font-family: inherit;
2069
+ color: inherit;
2070
+ cursor: pointer;
2071
+ }
2072
+ `,Dp=hr.default.div`
2073
+ width: 100%;
2074
+ height: 100%;
2075
+ .rdg {
2076
+ border-radius: 4px;
2077
+ height: 100%;
2078
+ border: 0px;
2079
+ &::-webkit-scrollbar {
2080
+ width: 8px;
2081
+ height: 8px;
2082
+ }
2083
+ &::-webkit-scrollbar-thumb {
2084
+ background-color: ${e=>e.theme.scrollBarThumbColor};
2085
+ border-radius: 6px;
2086
+ }
2087
+ &::-webkit-scrollbar-track {
2088
+ background-color: ${e=>e.theme.scrollBarTrackColor};
2089
+ border-radius: 6px;
2090
+ }
2091
+ }
2092
+ .rdg-cell:has(> #action) {
2093
+ padding: 0px;
2094
+ }
2095
+ .rdg-cell {
2096
+ display: grid;
2097
+ align-items: center;
2098
+ width: 100%;
2099
+ padding: 0px ${e=>e.theme.dataPaddingRight} 0 ${e=>e.theme.dataPaddingLeft};
2100
+ font-family: ${e=>e.theme.dataFontFamily};
2101
+ font-size: ${e=>e.theme.dataFontSize};
2102
+ font-style: ${e=>e.theme.dataFontStyle};
2103
+ font-weight: ${e=>e.theme.dataFontWeight};
2104
+ color: ${e=>e.theme.dataFontColor};
2105
+ text-transform: ${e=>e.theme.dataFontTextTransform};
2106
+ line-height: ${e=>e.theme.dataTextLineHeight};
2107
+ border-bottom: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2108
+ border-right: ${e=>`${e.theme.rowSeparatorThickness} ${e.theme.rowSeparatorStyle} ${e.theme.rowSeparatorColor}`};
2109
+ background-color: ${e=>e.theme.dataBackgroundColor};
2110
+ outline-color: ${e=>e.theme.focusColor} !important;
2111
+ .rdg-text-editor:focus {
2112
+ border-color: transparent;
2113
+ }
2114
+ }
2115
+ .rdg-header-row {
2116
+ border-top-left-radius: ${e=>e.theme.headerBorderRadius};
2117
+ border-top-right-radius: ${e=>e.theme.headerBorderRadius};
2118
+ .rdg-cell {
2119
+ font-family: ${e=>e.theme.headerFontFamily};
2120
+ font-size: ${e=>e.theme.headerFontSize};
2121
+ font-style: ${e=>e.theme.headerFontStyle};
2122
+ font-weight: ${e=>e.theme.headerFontWeight};
2123
+ color: ${e=>e.theme.headerFontColor};
2124
+ text-transform: ${e=>e.theme.headerFontTextTransform};
2125
+ padding: 0px ${e=>e.theme.headerPaddingRight} 0 ${e=>e.theme.headerPaddingLeft};
2126
+ line-height: ${e=>e.theme.headerTextLineHeight};
2127
+ background-color: ${e=>e.theme.headerBackgroundColor};
2128
+ .sortIconContainer {
2129
+ margin-left: 0.5rem;
2130
+ display: flex;
2131
+ height: 100%;
2132
+ align-items: center;
2133
+ }
2134
+ }
2135
+ }
2136
+ .rdg-row {
2137
+ .rdg-cell:last-child {
2138
+ border-right: 0px;
2139
+ }
2140
+ }
2141
+ .rdg-summary-row {
2142
+ background-color: #fafafa;
2143
+ .rdg-cell {
2144
+ border: 0px;
2145
+ font-weight: 600;
2146
+ }
2147
+ }
2148
+ .ellipsis-cell {
2149
+ text-overflow: ellipsis;
2150
+ overflow: hidden;
2151
+ white-space: nowrap;
2152
+ width: 100%;
2153
+ height: 100%;
2154
+ display: flex;
2155
+ align-items: center;
2156
+ }
2157
+ .align-left {
2158
+ text-align: left;
2159
+ justify-content: flex-start;
2160
+ }
2161
+ .align-center {
2162
+ text-align: center;
2163
+ justify-content: center;
2164
+ }
2165
+ .align-right {
2166
+ text-align: right;
2167
+ justify-content: flex-end;
2168
+ }
2169
+ .header-align-left {
2170
+ text-align: left;
2171
+ }
2172
+ .header-align-center {
2173
+ text-align: center;
2174
+ }
2175
+ .header-align-right {
2176
+ text-align: right;
2177
+ }
2178
+ `;Ia.ActionsCell=Or;var Ba=Ia;var Se=require("react"),bi=F(require("dayjs")),Rt=F(require("styled-components"));var Ra=require("react"),ui=F(require("dayjs")),gi=require("react"),fr=F(require("styled-components"));var Co=require("react"),Qt=F(require("styled-components"));var Lt=require("react/jsx-runtime"),zp=e=>{let t=[],r=e.set("month",e.get("month")-1).endOf("month"),n=e.startOf("month").day()===0?6:e.startOf("month").day()-1,i=n+e.daysInMonth();for(let l=0;l<42;l++)l<n?t.push({day:r.get("date")-n+l+1,month:e.get("month")?e.get("month")-1:11,year:e.set("month",e.get("month")-1).get("year")}):l<i?t.push({day:l-n+1,month:e.get("month"),year:e.get("year")}):t.push({day:l-i+1,month:e.get("month")===11?0:e.get("month")+1,year:e.set("month",e.get("month")+1).get("year")});return t},di=(e,t,r)=>e?.get("month")===t.get("month")&&e?.get("year")===t.get("year")?e:r.get("month")===t.get("month")&&r.get("year")===t.get("year")?r:t.set("date",1),Pa=(e,t)=>t?.get("month")===e.month&&t?.get("year")===e.year&&t?.get("date")===e.day,Ap=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(r,n)=>e.slice(n*t,(n+1)*t)),Rp=({selectedDate:e,innerDate:t,onInnerDateChange:r,onDaySelect:n,today:i})=>{let l=(0,Co.useId)(),[a,c]=(0,Co.useState)(di(e,t,i)),[d,s]=(0,Co.useState)(!1),m=(0,Co.useMemo)(()=>zp(t),[t]),u=J().calendar.daysShort,h=_=>{let x=t.set("month",_.month).set("date",_.day);n(x),c(x)},y=_=>{_?.currentTarget.contains(_.relatedTarget)||c(di(e,t,i))},v=_=>{(t.get("month")!==_.get("month")||t.get("year")!==_.get("year"))&&r(_),c(_),s(!0)};(0,Co.useEffect)(()=>{d&&(document.getElementById(`${l}_day_${a.get("date")}_month${a.get("month")}`)?.focus(),s(!1))},[a,d]),(0,Co.useEffect)(()=>{(a.get("month")!==t.get("month")||a.get("year")!==t.get("year"))&&c(di(e,t,i))},[t,a,e,i]);let f=(_,x)=>{let b=x.month===t.get("month")?t.set("date",x.day):t.set("date",x.day).set("month",x.month);switch(_.key){case"PageUp":_.preventDefault(),_.shiftKey?b=b.set("year",b.get("year")-1):b=b.set("month",b.get("month")-1),v(b);break;case"PageDown":_.preventDefault(),_.shiftKey?b=b.set("year",b.get("year")+1):b=b.set("month",b.get("month")+1),v(b);break;case"ArrowLeft":_.preventDefault(),b=b.set("date",b.get("date")-1),v(b);break;case"ArrowRight":_.preventDefault(),b=b.set("date",b.get("date")+1),v(b);break;case"ArrowUp":_.preventDefault(),b=b.set("date",b.get("date")-7),v(b);break;case"ArrowDown":_.preventDefault(),b=b.set("date",b.get("date")+7),v(b);break;case"Home":_.preventDefault(),a.get("day")!==0?b=b.day(1):b=t.date(x.day-1).day(1),v(b);break;case"End":_.preventDefault(),b.get("day")!==0&&(b=b.day(7)),v(b);break;case" ":_.preventDefault(),n(b);break}};return(0,Lt.jsxs)(Hp,{role:"grid",children:[(0,Lt.jsx)(Mp,{role:"row",children:u.map(_=>(0,Lt.jsx)(Ep,{role:"columnheader",children:_},_))}),(0,Lt.jsx)(Wp,{onBlur:y,role:"rowgroup",children:Ap(m,u.length).map((_,x)=>(0,Lt.jsx)(Op,{role:"row",children:_.map(b=>(0,Lt.jsx)(Gp,{id:`${l}_day_${b.day}_month${b.month}`,role:"gridcell","aria-selected":Pa(b,e),onKeyDown:D=>f(D,b),onClick:()=>h(b),selected:Pa(b,e),actualMonth:b.month===t.get("month"),autoFocus:b.day===a.get("date")&&b.month===a.get("month"),tabIndex:b.day===a.get("date")&&b.month===a.get("month")?0:-1,isCurrentDay:i.get("date")===b.day&&i.get("month")===t.get("month")&&i.get("month")===b.month&&i.get("year")===t.get("year"),children:b.day}))},`${l}_week_${x}`))})]})},Hp=Qt.default.div`
2179
+ box-sizing: border-box;
2180
+ display: flex;
2181
+ flex-direction: column;
2182
+ justify-content: center;
2183
+ padding: 0px 8px 8px 8px;
2184
+ width: 292px;
2185
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2186
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2187
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2188
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2189
+ `,Mp=Qt.default.div`
2190
+ display: flex;
2191
+ flex-direction: row;
2192
+ flex-wrap: nowrap;
2193
+ justify-content: space-between;
2194
+ align-items: center;
2195
+ `,Ep=Qt.default.span`
2196
+ display: flex;
2197
+ align-items: center;
2198
+ justify-content: center;
2199
+ width: 36px;
2200
+ height: 36px;
2201
+ `,Wp=Qt.default.div`
2202
+ box-sizing: border-box;
2203
+ display: flex;
2204
+ gap: 4px;
2205
+ flex-direction: column;
2206
+ justify-content: space-between;
2207
+ `,Op=Qt.default.div`
2208
+ box-sizing: border-box;
2209
+ display: flex;
2210
+ gap: 4px;
2211
+ justify-content: space-between;
2212
+ `,Gp=Qt.default.button`
2213
+ display: inline-flex;
2214
+ justify-content: center;
2215
+ align-items: center;
2216
+ width: 36px;
2217
+ height: 36px;
2218
+ padding: 0;
2219
+ border: none;
2220
+ border-radius: 50%;
2221
+ cursor: pointer;
2222
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2223
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2224
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2225
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2226
+
2227
+ &:focus {
2228
+ outline: ${e=>e.theme.dateInput.pickerFocusColor} solid 2px;
2229
+ }
2230
+ &:hover {
2231
+ background-color: ${e=>e.selected?e.theme.dateInput.pickerSelectedBackgroundColor:e.theme.dateInput.pickerHoverBackgroundColor};
2232
+ color: ${e=>e.selected?e.theme.dateInput.pickerSelectedFontColor:e.theme.dateInput.pickerHoverFontColor};
2233
+ }
2234
+ &:active {
2235
+ background-color: ${e=>e.theme.dateInput.pickerActiveBackgroundColor};
2236
+ color: ${e=>e.theme.dateInput.pickerActiveFontColor};
2237
+ }
2238
+
2239
+ ${e=>e.isCurrentDay&&!e.selected&&`border: ${e.theme.dateInput.pickerCurrentDateBorderWidth} solid ${e.theme.dateInput.pickerCurrentDateBorderColor};`}
2240
+ background-color: ${e=>e.selected?e.theme.dateInput.pickerSelectedBackgroundColor:"transparent"};
2241
+ color: ${e=>e.selected?e.theme.dateInput.pickerSelectedFontColor:e.isCurrentDay?e.theme.dateInput.pickerCurrentDateFontColor:e.actualMonth?e.theme.dateInput.pickerFontColor:e.theme.dateInput.pickerNonCurrentMonthFontColor};
2242
+ `,La=(0,Co.memo)(Rp);var Da=F(require("dayjs")),Dt=require("react"),mi=F(require("styled-components")),si=require("react/jsx-runtime"),Np=()=>{let e=[];for(let t=1899;t<=2100;t++)e.push(t);return e},Vp=Np(),jp=({onYearSelect:e,selectedDate:t,today:r})=>{let n=(0,Dt.useId)(),[i,l]=(0,Dt.useState)(t?t.get("year"):(0,Da.default)().get("year"));(0,Dt.useEffect)(()=>{let c=document.getElementById(`${n}_year_${i}`);c?.scrollIntoView?.({block:"nearest",inline:"start"}),c?.focus()},[i]);let a=c=>{switch(c.key){case"ArrowUp":l(d=>d>1899?d-1:d);break;case"ArrowDown":l(d=>d<2100?d+1:d);break}};return(0,si.jsx)(Xp,{role:"listbox","aria-label":"Year Picker",children:Vp.map(c=>(0,si.jsx)(Jp,{"aria-label":c,selected:t?.get("year")===c,"aria-selected":t?.get("year")===c,tabIndex:i===c?0:-1,isCurrentYear:r.get("year")===c,onKeyDown:d=>a(d),id:`${n}_year_${c}`,onClick:()=>{e(c)},role:"option",children:c},c))})},Xp=mi.default.div`
2243
+ box-sizing: border-box;
2244
+ display: flex;
2245
+ flex-direction: column;
2246
+ gap: 4px;
2247
+ align-items: center;
2248
+ overflow-y: scroll;
2249
+ width: 292px;
2250
+ height: 312px;
2251
+ padding: 2px 8px 8px 8px;
2252
+ `,Jp=mi.default.button`
2253
+ display: flex;
2254
+ align-items: center;
2255
+ justify-content: center;
2256
+ width: 80px;
2257
+ min-height: 40px;
2258
+ line-height: 21px;
2259
+ background-color: transparent;
2260
+ border: none;
2261
+ border-radius: 50px;
2262
+ cursor: pointer;
2263
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2264
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2265
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2266
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2267
+
2268
+ ${e=>e.selected?`font-size: ${e.theme.dateInput.pickerInteractedYearFontSize};
2269
+ line-height: 36px;
2270
+ color: ${e.theme.dateInput.pickerSelectedFontColor} !important;
2271
+ background-color: ${e.theme.dateInput.pickerSelectedBackgroundColor} !important;`:e.isCurrentYear?`border: 1px solid ${e.theme.dateInput.pickerCurrentDateBorderColor};
2272
+ color: ${e.theme.dateInput.pickerCurrentYearFontColor};`:""}
2273
+
2274
+ &:hover, &:focus, &:active {
2275
+ font-size: ${e=>e.theme.dateInput.pickerInteractedYearFontSize};
2276
+ line-height: 36px;
2277
+ }
2278
+ &:hover {
2279
+ color: ${e=>e.theme.dateInput.pickerHoverFontColor};
2280
+ background-color: ${e=>e.theme.dateInput.pickerHoverBackgroundColor};
2281
+ }
2282
+ &:focus {
2283
+ color: ${e=>e.theme.dateInput.pickerHoverFontColor};
2284
+ outline: ${e=>`${e.theme.dateInput.pickerFocusColor} solid
2285
+ ${e.theme.dateInput.pickerFocusWidth}`};
2286
+ }
2287
+ &:active {
2288
+ color: ${e=>e.theme.dateInput.pickerActiveFontColor};
2289
+ background-color: ${e=>e.theme.dateInput.pickerActiveBackgroundColor} !important;
2290
+ }
2291
+ `,za=(0,Dt.memo)(jp);var je=require("react/jsx-runtime"),Aa=(0,ui.default)(),Kp=({date:e,onDateSelect:t,id:r})=>{let[n,i]=(0,gi.useState)(e?.isValid()?e:(0,ui.default)()),[l,a]=(0,gi.useState)("calendar"),c=e?.isValid()?e:null,d=J(),s=u=>{i(u),t(u)},m=u=>{i(n.set("year",u)),a("calendar")},g=u=>{i(u)};return(0,je.jsxs)(Up,{id:r,children:[(0,je.jsxs)(Yp,{children:[(0,je.jsx)(ge,{label:d.calendar.previousMonthTitle,children:(0,je.jsx)(pi,{"aria-label":d.calendar.previousMonthTitle,onClick:()=>g(n.set("month",n.get("month")-1)),children:(0,je.jsx)($,{icon:"keyboard_arrow_left"})})}),(0,je.jsxs)(Zp,{"aria-live":"polite",onClick:()=>a(u=>u==="yearPicker"?"calendar":"yearPicker"),children:[(0,je.jsxs)(qp,{children:[d.calendar.months[n.get("month")]," ",n.format("YYYY")]}),(0,je.jsx)($,{icon:l==="yearPicker"?"arrow_drop_up":"arrow_drop_down"})]}),(0,je.jsx)(ge,{label:d.calendar.nextMonthTitle,children:(0,je.jsx)(pi,{"aria-label":d.calendar.nextMonthTitle,onClick:()=>g(n.set("month",n.get("month")+1)),children:(0,je.jsx)($,{icon:"keyboard_arrow_right"})})})]}),l==="calendar"&&(0,je.jsx)(La,{innerDate:n,selectedDate:c,onInnerDateChange:i,onDaySelect:s,today:Aa}),l==="yearPicker"&&(0,je.jsx)(za,{selectedDate:c,onYearSelect:m,today:Aa})]})},Up=fr.default.div`
2292
+ padding-top: 16px;
2293
+ background-color: ${e=>e.theme.dateInput.pickerBackgroundColor};
2294
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2295
+ border: ${e=>`${e.theme.dateInput.pickerBorderWidth} ${e.theme.dateInput.pickerBorderStyle}
2296
+ ${e.theme.dateInput.pickerBorderColor}`};
2297
+ border-radius: 4px;
2298
+ width: fit-content;
2299
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2300
+ font-size: ${e=>e.theme.dateInput.pickerFontSize};
2301
+ color: ${e=>e.theme.dateInput.pickerFontColor};
2302
+ font-weight: ${e=>e.theme.dateInput.pickerFontWeight};
2303
+ `,Yp=fr.default.div`
2304
+ box-sizing: border-box;
2305
+ display: flex;
2306
+ gap: 8px;
2307
+ align-items: center;
2308
+ justify-content: space-between;
2309
+ padding: 0px 16px;
2310
+ `,pi=fr.default.button`
2311
+ display: flex;
2312
+ align-items: center;
2313
+ justify-content: center;
2314
+ width: 24px;
2315
+ height: 24px;
2316
+ padding: 0px;
2317
+ color: ${e=>e.theme.dateInput.pickerHeaderFontColor};
2318
+ background-color: ${e=>e.theme.dateInput.pickerHeaderBackgroundColor};
2319
+ border-radius: 4px;
2320
+ border: none;
2321
+ cursor: pointer;
2322
+
2323
+ &:hover {
2324
+ color: ${e=>e.theme.dateInput.pickerHeaderHoverFontColor};
2325
+ background-color: ${e=>e.theme.dateInput.pickerHeaderHoverBackgroundColor};
2326
+ }
2327
+ &:focus {
2328
+ outline: ${e=>`${e.theme.dateInput.pickerFocusColor} solid
2329
+ ${e.theme.dateInput.pickerFocusWidth}`};
2330
+ }
2331
+ &:active {
2332
+ color: ${e=>e.theme.dateInput.pickerHeaderActiveFontColor};
2333
+ background-color: ${e=>e.theme.dateInput.pickerHeaderActiveBackgroundColor};
2334
+ }
2335
+
2336
+ span::before {
2337
+ font-size: 24px;
2338
+ }
2339
+ `,Zp=(0,fr.default)(pi)`
2340
+ gap: 8px;
2341
+ height: 40px;
2342
+ width: 172px;
2343
+ font-size: 24px;
2344
+ span::before {
2345
+ font-size: 24px;
2346
+ }
2347
+ `,qp=fr.default.span`
2348
+ display: flex;
2349
+ align-items: center;
2350
+ justify-content: center;
2351
+ font-family: ${e=>e.theme.dateInput.pickerFontFamily};
2352
+ font-size: ${e=>e.theme.dateInput.pickerHeaderFontSize};
2353
+ `,Ha=(0,Ra.memo)(Kp);var Ht=F(require("@radix-ui/react-popover")),Ya=F(require("dayjs/plugin/customParseFormat"));var At=F(require("@radix-ui/react-popover")),we=require("react"),mo=F(require("styled-components"));var Ma=require("react"),Bn=(0,Ma.createContext)(null);var br=require("react"),Gr=F(require("styled-components"));var Pn=require("react"),hi=F(require("styled-components")),zt=require("react/jsx-runtime"),Qp=e=>{let t=/[\\*()[\]{}+?/]/,r=e;if(t.test(r)){let n=t.toString().split("");n.filter((l,a)=>n.indexOf(l)===a).forEach(l=>{e.includes(l)&&(r=r.replace(l,"\\"+l))})}return r},eu=({id:e,value:t,onClick:r,suggestion:n,isLast:i,visuallyFocused:l,highlighted:a})=>{let c=(0,Pn.useMemo)(()=>{let d=new RegExp(Qp(t),"i");return{matchedWords:n.match(d),noMatchedWords:n.replace(d,"")}},[t,n]);return(0,zt.jsx)(ou,{id:e,onClick:()=>{r(n)},visuallyFocused:l,role:"option","aria-selected":l?!0:void 0,children:(0,zt.jsx)(tu,{isLast:i,visuallyFocused:l,children:a?(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)("strong",{children:c.matchedWords}),c.noMatchedWords]}):n})})},ou=hi.default.li`
2354
+ display: flex;
2355
+ padding: 0 0.5rem;
2356
+ line-height: 1.715em;
2357
+ cursor: pointer;
2358
+ box-shadow: inset 0 0 0 2px
2359
+ ${e=>e.visuallyFocused?e.theme.focusListOptionBorderColor:"transparent"};
2360
+
2361
+ &:hover {
2362
+ background-color: ${e=>e.theme.hoverListOptionBackgroundColor};
2363
+ }
2364
+ &:active {
2365
+ background-color: ${e=>e.theme.activeListOptionBackgroundColor};
2366
+ }
2367
+ `,tu=hi.default.span`
2368
+ width: 100%;
2369
+ overflow: hidden;
2370
+ text-overflow: ellipsis;
2371
+ white-space: nowrap;
2372
+ padding: 0.25rem 0.5rem 0.188rem 0.5rem;
2373
+ ${e=>e.isLast||e.visuallyFocused?"border-bottom: 1px solid transparent":`border-bottom: 1px solid ${e.theme.listOptionDividerColor}`};
2374
+ `,Ea=(0,Pn.memo)(eu);var at=require("react/jsx-runtime"),ru=({id:e,value:t,suggestions:r,visualFocusIndex:n,highlightedSuggestions:i,searchHasErrors:l,isSearching:a,suggestionOnClick:c,styles:d})=>{let s=J(),m=(0,br.useRef)(null);return(0,br.useEffect)(()=>{m?.current?.querySelectorAll("[role='option']")[n]?.scrollIntoView?.({block:"nearest",inline:"start"})},[n]),(0,at.jsxs)(nu,{id:e,error:!!l,onMouseDown:g=>{g.preventDefault()},ref:m,role:"listbox",style:d,"aria-label":"Suggestions",children:[!a&&!l&&r.length>0&&r.map((g,u)=>(0,at.jsx)(Ea,{id:`${e}-suggestion-${u}`,value:t,onClick:c,suggestion:g,isLast:u===r.length-1,visuallyFocused:n===u,highlighted:i},`${e}-suggestion-${u}`)),a&&(0,at.jsx)(iu,{role:"option",children:s.textInput.searchingMessage}),l&&(0,at.jsx)("span",{role:"option",children:(0,at.jsxs)(au,{role:"alert","aria-live":"assertive",children:[(0,at.jsx)(lu,{children:(0,at.jsx)($,{icon:"filled_error"})}),s.textInput.fetchingDataErrorMessage]})})]})},nu=Gr.default.ul`
2375
+ box-sizing: border-box;
2376
+ max-height: 304px;
2377
+ overflow-y: auto;
2378
+ margin: 0;
2379
+ padding: 0.25rem 0;
2380
+ background-color: ${e=>e.error?e.theme.errorListDialogBackgroundColor:e.theme.listDialogBackgroundColor};
2381
+ border: 1px solid
2382
+ ${e=>e.error?e.theme.errorListDialogBorderColor:e.theme.listDialogBorderColor};
2383
+
2384
+ border-radius: 0.25rem;
2385
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2386
+ color: ${e=>e.theme.listOptionFontColor};
2387
+ font-family: ${e=>e.theme.fontFamily};
2388
+ font-size: ${e=>e.theme.listOptionFontSize};
2389
+ font-style: ${e=>e.theme.listOptionFontStyle};
2390
+ font-weight: ${e=>e.theme.listOptionFontWeight};
2391
+ `,iu=Gr.default.span`
2392
+ display: flex;
2393
+ padding: 0.25rem 1rem;
2394
+ color: ${e=>e.theme.systemMessageFontColor};
2395
+ line-height: 1.715em;
2396
+ `,lu=Gr.default.span`
2397
+ display: flex;
2398
+ flex-wrap: wrap;
2399
+ align-content: center;
2400
+ margin-right: 0.5rem;
2401
+ height: 18px;
2402
+ width: 18px;
2403
+ font-size: 18px;
2404
+ color: ${e=>e.theme.errorIconColor};
2405
+ `,au=Gr.default.span`
2406
+ display: flex;
2407
+ padding: 0.25rem 1rem;
2408
+ align-items: center;
2409
+ line-height: 1.715em;
2410
+ color: ${e=>e.theme.errorListDialogFontColor};
2411
+ `,Wa=(0,br.memo)(ru);var ce=require("react/jsx-runtime"),Oa={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},cu=({condition:e,wrapper:t,children:r})=>(0,ce.jsx)(ce.Fragment,{children:e?t(r):r}),Ga=(e,t)=>t==="fillParent"?`calc(${Oa[t]} - ${X(e,"left")} - ${X(e,"right")})`:Oa[t],du=e=>{let t=!1;return{promise:new Promise((n,i)=>{e.then(l=>t?i({isCanceled:!0}):n(l),l=>i(t?{isCanceled:!0}:l))}),cancel(){t=!0}}},Fo=e=>typeof e=="function"||e?.length>0,Na=(e,t)=>e===""&&!t,Va=(e,t,r)=>e!=null&&(e.length<t||e.length>r),ja=(e,t,r)=>e<t||e>r,Xa=(e,t)=>e!=null&&!new RegExp(e).test(t),su=(0,we.forwardRef)(({label:e,name:t="",defaultValue:r="",value:n,helperText:i,placeholder:l="",action:a,clearable:c=!1,disabled:d=!1,readOnly:s=!1,optional:m=!1,prefix:g="",suffix:u="",onChange:h,onBlur:y,error:v,suggestions:f,pattern:_,minLength:x,maxLength:b,autocomplete:D="off",margin:P,size:B="medium",tabIndex:M=0},H)=>{let w=`input-${(0,we.useId)()}`,S=`suggestions-${w}`,z=`error-${w}`,[G,V]=(0,we.useState)(r),[q,W]=(0,we.useState)(!1),[A,C]=(0,we.useState)(!1),[I,T]=(0,we.useState)(!1),[L,E]=(0,we.useState)([]),[K,fe]=(0,we.useState)(-1),N=(0,we.useRef)(null),Q=(0,we.useRef)(null),R=(0,we.useRef)(null),be=lr(Q.current),ye=k(),Ce=J(),O=(0,we.useContext)(Bn),Y=j=>{if(j<O?.minNumber)return Ce.numberInput.valueGreaterThanOrEqualToErrorMessage(O.minNumber);if(j>O?.maxNumber)return Ce.numberInput.valueLessThanOrEqualToErrorMessage(O.maxNumber)},U=()=>{Fo(f)&&W(!0)},Me=()=>{Fo(f)&&(W(!1),fe(-1))},xe=j=>{let Z=typeof j=="number"?j.toString():j;n??V(Z),Na(Z,m)?h?.({value:Z,error:Ce.formFields.requiredValueErrorMessage}):Va(Z,x,b)?h?.({value:Z,error:Ce.formFields.lengthErrorMessage(x,b)}):Xa(_,Z)?h?.({value:Z,error:Ce.formFields.formatRequestedErrorMessage}):O?.typeNumber==="number"&&ja(Number(j),O?.minNumber,O?.maxNumber)?h?.({value:Z,error:Y(Number(j))}):h?.({value:Z})},Xt=(j=n??G)=>{if(!d&&!s){let Z=Number(j),bt=Math.round((Z-O?.stepNumber+Number.EPSILON)*100)/100;j!==""?Z<O?.minNumber||bt<O?.minNumber?xe(Z):Z>O?.maxNumber?xe(O?.maxNumber):Z===O?.minNumber?xe(O?.minNumber):xe(bt):O?.minNumber>=0?xe(O?.minNumber):O?.maxNumber<0?xe(O?.maxNumber):xe(-O.stepNumber)}},vr=(j=n??G)=>{if(!d&&!s){let Z=Number(j),bt=Math.round((Z+O?.stepNumber+Number.EPSILON)*100)/100;j!==""?Z>O?.maxNumber||bt>O?.maxNumber?xe(Z):Z<O?.minNumber?xe(O?.minNumber):Z===O?.maxNumber?xe(O?.maxNumber):xe(bt):O?.minNumber>0?xe(O?.minNumber):O?.maxNumber<=0?xe(O?.maxNumber):xe(O.stepNumber)}},Yn=()=>{document.activeElement!==R.current&&N.current.focus()},te=j=>{document.activeElement===N.current&&j.preventDefault()},re=j=>{U(),xe(j.target.value)},et=j=>{Me(),Na(j.target.value,m)?y?.({value:j.target.value,error:Ce.formFields.requiredValueErrorMessage}):Va(j.target.value,x,b)?y?.({value:j.target.value,error:Ce.formFields.lengthErrorMessage(x,b)}):Xa(_,j.target.value)?y?.({value:j.target.value,error:Ce.formFields.formatRequestedErrorMessage}):O?.typeNumber==="number"&&ja(Number(j.target.value),O?.minNumber,O?.maxNumber)?y?.({value:j.target.value,error:Y(Number(j.target.value))}):y?.({value:j.target.value})},ot=j=>{switch(j.key){case"Down":case"ArrowDown":j.preventDefault(),O?.typeNumber==="number"?Xt():(U(),!I&&!A&&L.length>0&&fe(Z=>{if(Z<L.length-1)return Z+1;if(Z===L.length-1)return 0}));break;case"Up":case"ArrowUp":j.preventDefault(),O?.typeNumber==="number"?vr():(U(),!I&&!A&&L.length>0&&fe(Z=>Z===0||Z===-1?L.length>0?L.length-1:f.length-1:Z-1));break;case"Esc":case"Escape":j.preventDefault(),q&&j.stopPropagation(),Fo(f)&&(xe(""),q&&Me());break;case"Enter":Fo(f)&&!A&&(L.length>0&&K>=0&&K<L.length&&xe(L[K]),q&&Me());break}},_d=j=>{document.activeElement===N.current&&(j.deltaY<0?vr(N.current.value):Xt(N.current.value))},$d=()=>{xe(""),N.current.focus(),f&&Me()},vd=()=>{Xt(),N.current.focus()},Td=()=>{vr(),N.current.focus()},kd=(j,Z,bt,Fd)=>{Z&&N?.current?.setAttribute("min",Z),bt&&N?.current?.setAttribute("max",bt),N?.current?.setAttribute("step",Fd),N?.current?.setAttribute("type",j)};return(0,we.useEffect)(()=>{if(typeof f=="function"){C(!0),T(!1),E([]);let j=du(f(n??G));return j.promise.then(Z=>{C(!1),T(!1),E(Z)}).catch(Z=>{Z.isCanceled||(C(!1),T(!0))}),()=>{j.cancel()}}else f?.length>0&&(E(f.filter(j=>j.toUpperCase().startsWith((n??G).toUpperCase()))),fe(-1));O!=null&&kd(O.typeNumber,O.minNumber,O.maxNumber,O.stepNumber)},[n,G,f,O]),(0,ce.jsx)(mo.ThemeProvider,{theme:ye.textInput,children:(0,ce.jsxs)(mu,{margin:P,size:B,ref:H,children:[e&&(0,ce.jsxs)(gu,{htmlFor:w,disabled:d,hasHelperText:!!i,children:[e," ",m&&(0,ce.jsx)(pu,{children:Ce.formFields.optionalLabel})]}),i&&(0,ce.jsx)(uu,{disabled:d,children:i}),(0,ce.jsx)(cu,{condition:Fo(f),wrapper:j=>(0,ce.jsxs)(At.Root,{open:q&&(L.length>0||A||I),children:[(0,ce.jsx)(At.Trigger,{asChild:!0,type:void 0,"aria-controls":void 0,"aria-haspopup":void 0,"aria-expanded":void 0,children:j}),(0,ce.jsx)(At.Portal,{children:(0,ce.jsx)(At.Content,{sideOffset:5,style:{zIndex:"2147483647"},onOpenAutoFocus:Z=>{Z.preventDefault()},onCloseAutoFocus:Z=>{Z.preventDefault()},children:(0,ce.jsx)(Wa,{id:S,value:n??G,suggestions:L,visualFocusIndex:K,highlightedSuggestions:typeof f!="function",searchHasErrors:I,isSearching:A,suggestionOnClick:Z=>{xe(Z),Me()},styles:{width:be}})})})]}),children:(0,ce.jsxs)(hu,{error:!!v,disabled:d,readOnly:s,onClick:Yn,onMouseDown:te,ref:Q,children:[g&&(0,ce.jsx)(bu,{disabled:d,children:g}),(0,ce.jsxs)(ne,{gap:"0.25rem",alignItems:"center",grow:1,children:[(0,ce.jsx)(fu,{id:w,name:t,value:n??G,placeholder:l,onBlur:et,onChange:re,onFocus:s?void 0:U,onKeyDown:s?void 0:ot,onMouseDown:j=>{j.stopPropagation()},onWheel:O?.typeNumber==="number"?_d:void 0,disabled:d,readOnly:s,ref:N,pattern:_,minLength:x,maxLength:b,autoComplete:D==="off"?"nope":D,tabIndex:M,type:"text",role:Fo(f)?"combobox":void 0,"aria-autocomplete":Fo(f)?"list":void 0,"aria-controls":Fo(f)?S:void 0,"aria-expanded":Fo(f)?q:void 0,"aria-haspopup":Fo(f)?"listbox":void 0,"aria-activedescendant":Fo(f)&&q&&K!==-1?`suggestion-${K}`:void 0,"aria-invalid":!!v,"aria-errormessage":v?z:void 0,"aria-required":!d&&!m}),!d&&v&&(0,ce.jsx)(Cu,{"aria-hidden":"true",children:(0,ce.jsx)($,{icon:"filled_error"})}),!d&&!s&&c&&(n??G).length>0&&(0,ce.jsx)(co,{onClick:$d,icon:"close",tabIndex:M,title:Ce.textInput.clearFieldActionTitle}),O?.typeNumber==="number"&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(co,{onClick:s?void 0:vd,icon:"remove",tabIndex:M,ref:R,title:Ce.numberInput.decrementValueTitle,disabled:d}),(0,ce.jsx)(co,{onClick:s?void 0:Td,icon:"add",tabIndex:M,ref:R,title:Ce.numberInput.incrementValueTitle,disabled:d})]}),a&&(0,ce.jsx)(co,{onClick:s?void 0:a.onClick,icon:a.icon,tabIndex:M,ref:R,title:a.title,disabled:d})]}),u&&(0,ce.jsx)(yu,{disabled:d,children:u})]})}),!d&&typeof v=="string"&&(0,ce.jsx)(xu,{id:z,role:"alert","aria-live":v?"assertive":"off",children:v})]})})}),mu=mo.default.div`
2412
+ box-sizing: border-box;
2413
+ display: flex;
2414
+ flex-direction: column;
2415
+ width: ${e=>Ga(e.margin,e.size)};
2416
+ ${e=>e.size!=="fillParent"&&"min-width:"+Ga(e.margin,e.size)};
2417
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2418
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2419
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2420
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2421
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2422
+ font-family: ${e=>e.theme.fontFamily};
2423
+ `,gu=mo.default.label`
2424
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
2425
+ font-size: ${e=>e.theme.labelFontSize};
2426
+ font-style: ${e=>e.theme.labelFontStyle};
2427
+ font-weight: ${e=>e.theme.labelFontWeight};
2428
+ line-height: ${e=>e.theme.labelLineHeight};
2429
+ ${e=>!e.hasHelperText&&"margin-bottom: 0.25rem"}
2430
+ `,pu=mo.default.span`
2431
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
2432
+ `,uu=mo.default.span`
2433
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
2434
+ font-size: ${e=>e.theme.helperTextFontSize};
2435
+ font-style: ${e=>e.theme.helperTextFontStyle};
2436
+ font-weight: ${e=>e.theme.helperTextFontWeight};
2437
+ line-height: ${e=>e.theme.helperTextLineHeight};
2438
+ margin-bottom: 0.25rem;
2439
+ `,hu=mo.default.div`
2440
+ position: relative;
2441
+ display: flex;
2442
+ align-items: center;
2443
+ height: calc(2.5rem - 2px);
2444
+ padding: 0 0.5rem;
2445
+ ${e=>{if(e.disabled)return`background-color: ${e.theme.disabledContainerFillColor};`}}
2446
+ box-shadow: 0 0 0 2px transparent;
2447
+ border-radius: 4px;
2448
+ border: 1px solid
2449
+ ${e=>e.disabled?e.theme.disabledBorderColor:e.readOnly?e.theme.readOnlyBorderColor:e.theme.enabledBorderColor};
2450
+ ${e=>e.error&&!e.disabled&&`border-color: transparent;
2451
+ box-shadow: 0 0 0 2px ${e.theme.errorBorderColor};
2452
+ `}
2453
+ ${e=>e.disabled?"cursor: not-allowed;":`
2454
+ &:hover {
2455
+ border-color: ${e.error?"transparent":e.readOnly?e.theme.hoverReadOnlyBorderColor:e.theme.hoverBorderColor};
2456
+ ${e.error?`box-shadow: 0 0 0 2px ${e.theme.hoverErrorBorderColor};`:""}
2457
+ }
2458
+ &:focus-within {
2459
+ border-color: transparent;
2460
+ box-shadow: 0 0 0 2px ${e.theme.focusBorderColor};
2461
+ }
2462
+ `};
2463
+ `,fu=mo.default.input`
2464
+ height: calc(2.5rem - 2px);
2465
+ width: 100%;
2466
+ background: none;
2467
+ border: none;
2468
+ outline: none;
2469
+ padding: 0 0.5rem;
2470
+ overflow: hidden;
2471
+ text-overflow: ellipsis;
2472
+ white-space: nowrap;
2473
+ color: ${e=>e.disabled?e.theme.disabledValueFontColor:e.theme.valueFontColor};
2474
+ font-family: ${e=>e.theme.fontFamily};
2475
+ font-size: ${e=>e.theme.valueFontSize};
2476
+ font-style: ${e=>e.theme.valueFontStyle};
2477
+ font-weight: ${e=>e.theme.valueFontWeight};
2478
+ line-height: 1.5em;
2479
+ ${e=>e.disabled&&"cursor: not-allowed;"}
2480
+
2481
+ ::placeholder {
2482
+ color: ${e=>e.disabled?e.theme.disabledPlaceholderFontColor:e.theme.placeholderFontColor};
2483
+ }
2484
+ `,bu=mo.default.span`
2485
+ height: 1.5rem;
2486
+ margin-left: 0.25rem;
2487
+ padding-right: ${e=>e.theme.prefixDividerPaddingRight};
2488
+ ${e=>{let t=e.disabled?e.theme.disabledPrefixColor:e.theme.prefixColor;return`color: ${t}; border-right: ${e.theme.prefixDividerBorderWidth} ${e.theme.prefixDividerBorderStyle} ${t};`}};
2489
+ font-size: 1rem;
2490
+ line-height: 1.5rem;
2491
+ pointer-events: none;
2492
+ `,yu=mo.default.span`
2493
+ height: 1.5rem;
2494
+ margin: 0 0.25rem;
2495
+ padding-left: ${e=>e.theme.suffixDividerPaddingLeft};
2496
+ ${e=>{let t=e.disabled?e.theme.disabledSuffixColor:e.theme.suffixColor;return`color: ${t}; border-left: ${e.theme.suffixDividerBorderWidth} ${e.theme.suffixDividerBorderStyle} ${t};`}};
2497
+ font-size: 1rem;
2498
+ line-height: 1.5rem;
2499
+ pointer-events: none;
2500
+ `,Cu=mo.default.span`
2501
+ display: flex;
2502
+ flex-wrap: wrap;
2503
+ align-content: center;
2504
+ padding: 3px;
2505
+ height: 18px;
2506
+ width: 18px;
2507
+ font-size: 18px;
2508
+ color: ${e=>e.theme.errorIconColor};
2509
+ `,xu=mo.default.span`
2510
+ min-height: 1.5em;
2511
+ color: ${e=>e.theme.errorMessageColor};
2512
+ font-size: 0.75rem;
2513
+ font-weight: 400;
2514
+ line-height: 1.5em;
2515
+ margin-top: 0.25rem;
2516
+ `,jo=su;var go=require("react/jsx-runtime");bi.default.extend(Ya.default);var Ja=4,Ln=(e,t)=>(0,bi.default)(e,t.toUpperCase(),!0),fi=(e,t,r,n)=>{if((e||e==="")&&t.toUpperCase().includes("YYYY"))return Ln(e,t);{let i=Ln(e,t);return r?i=i.set("year",(r<=1999?1900:2e3)+ +i.format("YY")):+i.format("YY")<68?(n(2e3+ +i.format("YY")),i=i.set("year",2e3+ +i.format("YY"))):(n(1900+ +i.format("YY")),i=i.set("year",1900+ +i.format("YY"))),i}},_u=(0,Se.forwardRef)(({label:e,name:t,defaultValue:r="",value:n,format:i="dd-MM-yyyy",helperText:l,placeholder:a=!1,clearable:c,disabled:d,readOnly:s,optional:m,onChange:g,onBlur:u,error:h,autocomplete:y,margin:v,size:f,tabIndex:_},x)=>{let[b,D]=(0,Se.useState)(r),[P,B]=(0,Se.useState)(!1),M=`date-picker-${(0,Se.useId)()}`,[H,w]=(0,Se.useState)(Ln(n??r??"",i)),[S,z]=(0,Se.useState)(b||n?!i.toUpperCase().includes("YYYY")&&+Ln(n??b,i).format("YY")<68?2e3:1900:void 0),[G,V]=(0,Se.useState)(Ja),q=k(),W=J(),A=(0,Se.useRef)(null),C=(0,Se.useRef)(null),I=R=>{let be=R.format(i.toUpperCase());n||(w(R),D(be)),z(R.get("year")),R?.set("day",R.get("date")).toJSON()?g?.({value:be,date:R.toDate()}):g?.({value:be})},T=({value:R,error:be})=>{n??D(R);let ye=fi(R,i,S,z),Ce=R!==""&&!ye.isValid()&&W.dateInput.invalidDateErrorMessage,O=be||Ce?{value:R,error:be||Ce}:{value:R};ye.isValid()?(w(ye),g?.({...O,date:ye.toDate()})):(g?.(O),z(Y=>H?.get("year")??Y),w(null))},L=({value:R,error:be})=>{let ye=fi(R,i,S,z),Ce=R!==""&&!ye.isValid()&&W.dateInput.invalidDateErrorMessage,O=be||Ce?{value:R,error:be||Ce}:{value:R};ye.isValid()?u?.({...O,date:ye.toDate()}):u?.(O)},E=(0,Se.useCallback)(()=>{h!=null&&setTimeout(()=>{if(C.current&&A.current){let R=C.current.getBoundingClientRect(),be=A.current.querySelector('[id^="input"]')?.getBoundingClientRect(),ye=A.current.querySelector('[id^="error-input"]')?.getBoundingClientRect().height;V(R.top>be.bottom?-ye:Ja)}},0)},[h]),K=()=>{B(!P),E()},fe=()=>{B(!1)},N=R=>{R.key==="Escape"&&(R.preventDefault(),P&&R.stopPropagation(),fe(),A?.current.getElementsByTagName("input")[0].focus())},Q=R=>{R?.currentTarget.contains(R.relatedTarget)||fe()};return(0,Se.useEffect)(()=>(window.addEventListener("scroll",E),()=>{window.removeEventListener("scroll",E)}),[E]),(0,Se.useEffect)(()=>{(n||n==="")&&w(fi(n,i,S,z))},[n,i,S]),(0,Se.useEffect)(()=>{if(!d){let R=A?.current.querySelector("[aria-label='Select date']");R?.setAttribute("aria-haspopup",!0),R?.setAttribute("role","combobox"),R?.setAttribute("aria-expanded",P),R?.setAttribute("aria-controls",M),P&&R?.setAttribute("aria-describedby",M)}},[P,d,M]),(0,go.jsx)(Rt.ThemeProvider,{theme:q,children:(0,go.jsxs)($u,{margin:v,size:f,ref:x,children:[e&&(0,go.jsxs)(vu,{htmlFor:A.current?.getElementsByTagName("input")[0].id,disabled:d,hasHelperText:!!l,children:[e," ",m&&(0,go.jsx)(Tu,{children:W.formFields.optionalLabel})]}),l&&(0,go.jsx)(ku,{disabled:d,children:l}),(0,go.jsxs)(Ht.Root,{open:P,children:[(0,go.jsx)(Ht.Trigger,{asChild:!0,"aria-controls":void 0,children:(0,go.jsx)(jo,{name:t,defaultValue:r,value:n??b,placeholder:a?i.toUpperCase():null,action:{onClick:K,icon:"filled_calendar_today",title:"Select date"},clearable:c,disabled:d,readOnly:s,optional:m,onChange:T,onBlur:L,error:h,autocomplete:y,size:f,tabIndex:_,ref:A})}),(0,go.jsx)(Ht.Portal,{children:(0,go.jsx)(Fu,{sideOffset:G,align:"end","aria-modal":!0,onBlur:Q,onKeyDown:N,ref:C,children:(0,go.jsx)(Ha,{id:M,onDateSelect:I,date:H})})})]})]})})}),Ka={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Ua=(e,t)=>t==="fillParent"?`calc(${Ka[t]} - ${X(e,"left")} - ${X(e,"right")})`:Ka[t],$u=Rt.default.div`
2517
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2518
+ display: flex;
2519
+ flex-direction: column;
2520
+ width: ${e=>Ua(e.margin,e.size)};
2521
+ ${e=>e.size!=="fillParent"&&"min-width:"+Ua(e.margin,e.size)};
2522
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2523
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2524
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2525
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2526
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2527
+ font-family: ${e=>e.theme.textInput.fontFamily};
2528
+ `,vu=Rt.default.label`
2529
+ color: ${e=>e.disabled?e.theme.textInput.disabledLabelFontColor:e.theme.textInput.labelFontColor};
2530
+ font-size: ${e=>e.theme.textInput.labelFontSize};
2531
+ font-style: ${e=>e.theme.textInput.labelFontStyle};
2532
+ font-weight: ${e=>e.theme.textInput.labelFontWeight};
2533
+ line-height: ${e=>e.theme.textInput.labelLineHeight};
2534
+ ${e=>!e.hasHelperText&&"margin-bottom: 0.25rem"}
2535
+ `,Tu=Rt.default.span`
2536
+ font-weight: ${e=>e.theme.textInput.optionalLabelFontWeight};
2537
+ `,ku=Rt.default.span`
2538
+ color: ${e=>e.disabled?e.theme.textInput.disabledHelperTextFontColor:e.theme.textInput.helperTextFontColor};
2539
+ font-size: ${e=>e.theme.textInput.helperTextFontSize};
2540
+ font-style: ${e=>e.theme.textInput.helperTextFontStyle};
2541
+ font-weight: ${e=>e.theme.textInput.helperTextFontWeight};
2542
+ line-height: ${e=>e.theme.textInput.helperTextLineHeight};
2543
+ margin-bottom: 0.25rem;
2544
+ `,Fu=(0,Rt.default)(Ht.Content)`
2545
+ z-index: 2147483647;
2546
+ &:focus-visible {
2547
+ outline: none;
2548
+ }
2549
+ `,Za=_u;var oc=require("react"),tc=require("react-dom"),dt=F(require("styled-components"));var ct=require("react"),Mt=require("react/jsx-runtime"),Re={negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"},wu=[`a[href]${Re.negTabIndex}`,`area[href]${Re.negTabIndex}`,`input:not([type="hidden"])${Re.negTabIndex}${Re.disabled}`,`select${Re.negTabIndex}${Re.disabled}`,`textarea${Re.negTabIndex}${Re.disabled}`,`button${Re.negTabIndex}${Re.disabled}`,`details > summary:first-of-type${Re.negTabIndex}`,`iframe${Re.negTabIndex}`,`audio[controls]${Re.negTabIndex}`,`video[controls]${Re.negTabIndex}`,`[contenteditable]${Re.negTabIndex}`,`[tabindex]${Re.negTabIndex}${Re.disabled}`].join(","),qa=e=>Array.prototype.slice.call(e.querySelectorAll(wu)).filter(t=>t.getAttribute("aria-hidden")!=="true"&&window.getComputedStyle(t).display!=="none"&&window.getComputedStyle(t).visibility!=="hidden"),Qa=e=>(e?.focus(),document.activeElement===e),Su=e=>{let t=document.querySelectorAll("[data-radix-portal]"),r=document.querySelectorAll("[data-radix-popper-content-wrapper]");return Array.prototype.slice.call(t).some(n=>n.contains(e))||Array.prototype.slice.call(r).some(n=>n.contains(e))},Iu=e=>{let[t,r]=(0,ct.useState)();return(0,ct.useEffect)(()=>{if(e.current!=null){r(qa(e.current));let n=new MutationObserver(()=>{r(qa(e.current))});return n.observe(e.current,{childList:!0,subtree:!0,attributes:!0}),()=>{n.disconnect()}}},[]),t},Bu=({children:e})=>{let t=(0,ct.useRef)(),r=Iu(t),n=(0,ct.useCallback)(()=>{r?.length===0?t.current?.focus():r?.length>0&&r.some(a=>Qa(a))},[r]),i=()=>{r?.reverse()?.some(a=>Qa(a))},l=a=>{a.key==="Tab"&&r.length===0&&a.preventDefault()};return(0,ct.useEffect)(()=>{!t.current?.contains(document.activeElement)&&!Su(document.activeElement)&&n()},[n]),(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)("div",{onFocus:i,tabIndex:0}),(0,Mt.jsx)("div",{onKeyDown:l,ref:t,tabIndex:r?.length===0?0:-1,style:{outline:"none"},children:e}),(0,Mt.jsx)("div",{onFocus:n,tabIndex:0})]})},ec=Bu;var Xo=require("react/jsx-runtime"),Pu=({isCloseVisible:e=!0,onCloseClick:t,children:r,overlay:n=!0,onBackgroundClick:i,tabIndex:l=0})=>{let a=k(),c=J();return(0,oc.useEffect)(()=>{let d=s=>{s.key==="Escape"&&(s.preventDefault(),t?.())};return document.addEventListener("keydown",d),()=>{document.removeEventListener("keydown",d)}},[t]),(0,Xo.jsxs)(dt.ThemeProvider,{theme:a.dialog,children:[(0,Xo.jsx)(Lu,{}),(0,tc.createPortal)((0,Xo.jsxs)(Du,{children:[n&&(0,Xo.jsx)(zu,{onClick:()=>{i?.()}}),(0,Xo.jsx)(Au,{role:"dialog","aria-modal":n,isCloseVisible:e,"aria-label":"Dialog",children:(0,Xo.jsxs)(ec,{children:[r,e&&(0,Xo.jsx)(Ru,{onClick:()=>{t?.()},"aria-label":c.dialog.closeIconAriaLabel,tabIndex:l,children:(0,Xo.jsx)($,{icon:"close"})})]})})]}),document.body)]})},Lu=dt.createGlobalStyle`
2550
+ body {
2551
+ overflow: hidden;
2552
+ }
2553
+ `,Du=dt.default.div`
2554
+ position: fixed;
2555
+ inset: 0;
2556
+ display: flex;
2557
+ align-items: center;
2558
+ justify-content: center;
2559
+ height: 100%;
2560
+ z-index: 2147483647;
2561
+ `,zu=dt.default.div`
2562
+ position: fixed;
2563
+ inset: 0;
2564
+ height: 100%;
2565
+ background-color: ${e=>e.theme.overlayColor};
2566
+ `,Au=dt.default.div`
2567
+ position: relative;
2568
+ box-sizing: border-box;
2569
+ max-width: 80%;
2570
+ min-width: 696px;
2571
+ border-radius: 4px;
2572
+ background-color: ${e=>e.theme.backgroundColor};
2573
+ ${e=>e.isCloseVisible&&"min-height: 72px;"}
2574
+ box-shadow: ${e=>`${e.theme.boxShadowOffsetX} ${e.theme.boxShadowOffsetY} ${e.theme.boxShadowBlur} ${e.theme.boxShadowColor}`};
2575
+ z-index: 2147483647;
2576
+
2577
+ @media (max-width: ${de.medium}rem) {
2578
+ max-width: 92%;
2579
+ min-width: 92%;
2580
+ }
2581
+ `,Ru=dt.default.button`
2582
+ all: unset;
2583
+ position: absolute;
2584
+ top: 24px;
2585
+ right: 24px;
2586
+ display: flex;
2587
+ align-items: center;
2588
+ justify-content: center;
2589
+ background-color: ${e=>e.theme.closeIconBackgroundColor};
2590
+ box-shadow: 0 0 0 2px transparent;
2591
+ color: ${e=>e.theme.closeIconColor};
2592
+ border-radius: ${e=>e.theme.closeIconBorderRadius};
2593
+ border-width: ${e=>e.theme.closeIconBorderThickness};
2594
+ border-style: ${e=>e.theme.closeIconBorderStyle};
2595
+ border-color: ${e=>e.theme.closeIconBorderColor};
2596
+ cursor: pointer;
2597
+ z-index: 1;
2598
+
2599
+ &:focus {
2600
+ outline: none;
2601
+ box-shadow: 0 0 0 2px #0095ff;
2602
+ }
2603
+ &:hover {
2604
+ background-color: #f2f2f2;
2605
+ }
2606
+ &:active {
2607
+ background-color: #cccccc;
2608
+ }
2609
+ span {
2610
+ font-size: ${e=>e.theme.closeIconSize};
2611
+ }
2612
+ `,rc=Pu;var wo=require("react"),eo=F(require("styled-components"));var nc=require("react"),Jo=F(require("styled-components"));var Qe=require("react/jsx-runtime"),Hu=({fileName:e="",error:t="",singleFileMode:r,showPreview:n,preview:i,type:l,onDelete:a,tabIndex:c})=>{let d=k(),s=J(),m=()=>l?.includes("video")?"video":l?.includes("audio")?"audio":"file";return(0,Qe.jsx)(Jo.ThemeProvider,{theme:d.fileInput,children:(0,Qe.jsxs)(Mu,{error:t,singleFileMode:r,showPreview:n,children:[n&&(l?.includes("image")?(0,Qe.jsx)(Eu,{src:i,alt:e}):(0,Qe.jsx)(Wu,{error:t,role:"document","aria-label":m(),children:(0,Qe.jsx)($,{icon:i})})),(0,Qe.jsxs)(Ou,{children:[(0,Qe.jsx)(Gu,{children:e}),(0,Qe.jsxs)(ne,{gap:"0.25rem",children:[t&&(0,Qe.jsx)(Nu,{children:(0,Qe.jsx)($,{icon:"filled_error"})}),(0,Qe.jsx)(co,{onClick:()=>a(e),icon:"close",tabIndex:c,title:s.fileInput.deleteFileActionTitle})]}),t&&!r&&(0,Qe.jsx)(Vu,{role:"alert","aria-live":"assertive",children:t})]})]})})},Mu=Jo.default.div`
2613
+ box-sizing: border-box;
2614
+ display: flex;
2615
+ justify-content: center;
2616
+ gap: 0.75rem;
2617
+ width: ${e=>e.singleFileMode?"230px":"320px"};
2618
+ padding: ${e=>e.showPreview?`calc(8px - ${e.theme.fileItemBorderThickness})`:`calc(8px - ${e.theme.fileItemBorderThickness}) calc(8px - ${e.theme.fileItemBorderThickness}) calc(8px - ${e.theme.fileItemBorderThickness}) 16px`};
2619
+ ${e=>e.error?`background-color: ${e.theme.errorFileItemBackgroundColor};`:""};
2620
+ border-color: ${e=>e.error?e.theme.errorFileItemBorderColor:e.theme.fileItemBorderColor};
2621
+ border-width: ${e=>e.theme.fileItemBorderThickness};
2622
+ border-style: ${e=>e.theme.fileItemBorderStyle};
2623
+ border-radius: ${e=>e.theme.fileItemBorderRadius};
2624
+ `,Eu=Jo.default.img`
2625
+ width: 48px;
2626
+ height: 48px;
2627
+ border-radius: 2px;
2628
+ object-fit: contain;
2629
+ `,Wu=Jo.default.span`
2630
+ box-sizing: border-box;
2631
+ display: flex;
2632
+ align-items: center;
2633
+ justify-content: center;
2634
+ background-color: ${e=>e.error?e.theme.errorFilePreviewBackgroundColor:e.theme.filePreviewBackgroundColor};
2635
+ width: 48px;
2636
+ height: 48px;
2637
+ padding: 15px;
2638
+ border-radius: 2px;
2639
+ color: ${e=>e.error?e.theme.errorFilePreviewIconColor:e.theme.filePreviewIconColor};
2640
+ font-size: 18px;
2641
+ svg {
2642
+ height: 18px;
2643
+ width: 18px;
2644
+ }
2645
+ `,Ou=Jo.default.div`
2646
+ flex-grow: 1;
2647
+ display: grid;
2648
+ grid-template-columns: auto min-content;
2649
+ grid-template-rows: min-content auto;
2650
+ column-gap: 0.25rem;
2651
+ `,Gu=Jo.default.span`
2652
+ align-self: center;
2653
+ color: ${e=>e.theme.fileNameFontColor};
2654
+ font-family: ${e=>e.theme.fileItemFontFamily};
2655
+ font-size: ${e=>e.theme.fileItemFontSize};
2656
+ font-weight: ${e=>e.theme.fileItemFontWeight};
2657
+ line-height: ${e=>e.theme.fileItemLineHeight};
2658
+ white-space: pre;
2659
+ overflow: hidden;
2660
+ text-overflow: ellipsis;
2661
+ `,Nu=Jo.default.span`
2662
+ display: flex;
2663
+ flex-wrap: wrap;
2664
+ align-content: center;
2665
+ padding: 3px;
2666
+ height: 18px;
2667
+ width: 18px;
2668
+ font-size: 18px;
2669
+ color: #d0011b;
2670
+ `,Vu=Jo.default.span`
2671
+ color: ${e=>e.theme.errorMessageFontColor};
2672
+ font-family: ${e=>e.theme.errorMessageFontFamily};
2673
+ font-size: ${e=>e.theme.errorMessageFontSize};
2674
+ font-weight: ${e=>e.theme.errorMessageFontWeight};
2675
+ line-height: ${e=>e.theme.errorMessageLineHeight};
2676
+ `,yi=(0,nc.memo)(Hu);var ve=require("react/jsx-runtime"),ic=async e=>e?.type?.includes("video")?"filled_movie":e?.type?.includes("audio")?"music_video":e?.type?.includes("image")?new Promise(t=>{let r=new FileReader;r.readAsDataURL(e),r.onload=n=>{t(n.target.result)}}):"draft",ju=(e,t)=>t.map(n=>n.file).some(({name:n,size:i,type:l,lastModified:a,webkitRelativePath:c})=>n===e.file.name&&i===e.file.size&&l===e.file.type&&a===e.file.lastModified&&c===e.file.webkitRelativePath),Xu=(0,wo.forwardRef)(({mode:e="file",label:t="",buttonLabel:r,dropAreaLabel:n,helperText:i="",accept:l,minSize:a,maxSize:c,showPreview:d=!1,multiple:s=!0,disabled:m=!1,callbackFile:g,value:u,margin:h,tabIndex:y=0},v)=>{let[f,_]=(0,wo.useState)(!1),[x,b]=(0,wo.useState)([]),D=`file-input-${(0,wo.useId)()}`,P=k(),B=J(),M=C=>{if(C.size<a)return B.fileInput.fileSizeGreaterThanErrorMessage;if(C.size>c)return B.fileInput.fileSizeLessThanErrorMessage},H=async C=>(await Promise.all(C.map(T=>ic(T))).then(T=>C.map((L,E)=>({file:L,error:M(L),preview:T[E]})))).filter(T=>!ju(T,x)),w=async C=>{let I=await H(s||C.length===1?C:[C[0]]),T=s?[...x,...I]:I;g?.(T)},S=C=>{let I=C.target.files,T=Object.keys(I).map(L=>I[L]);w(T),C.target.value=null},z=(0,wo.useCallback)(C=>{let I=[...x],T=I.find(E=>E.file.name===C),L=I.indexOf(T);I.splice(L,1),g?.(I)},[x,g]),G=()=>{document.getElementById(D).click()},V=C=>{C.preventDefault(),C.stopPropagation()},q=C=>{C.dataTransfer.items?.length>0&&_(!0)},W=C=>{C.currentTarget.contains(C.relatedTarget)||_(!1)},A=C=>{C.preventDefault(),C.stopPropagation(),_(!1);let I=C.dataTransfer.files;if(I?.length>0){let T=Object.keys(I).map(L=>I[L]);w(T)}};return(0,wo.useEffect)(()=>{(async()=>{if(u){let I=await Promise.all(u.map(async T=>{if(T.preview)return T;{let L=await ic(T.file);return{...T,preview:L}}}));b(I)}})()},[u]),(0,ve.jsx)(eo.ThemeProvider,{theme:P.fileInput,children:(0,ve.jsxs)(Ju,{margin:h,ref:v,children:[(0,ve.jsx)(Ku,{htmlFor:D,disabled:m,children:t}),(0,ve.jsx)(Uu,{disabled:m,children:i}),e==="file"?(0,ve.jsxs)(Yu,{singleFileMode:!s&&x.length===1,children:[(0,ve.jsx)(lc,{id:D,type:"file",accept:l,multiple:s,onChange:S,disabled:m,readOnly:!0}),(0,ve.jsx)(bo,{mode:"secondary",label:r??(s?B.fileInput.multipleButtonLabelDefault:B.fileInput.singleButtonLabelDefault),onClick:G,disabled:m,size:{width:"fitContent"},tabIndex:y}),x.length>0&&(0,ve.jsx)(ac,{children:x.map((C,I)=>(0,ve.jsx)(yi,{fileName:C.file.name,error:C.error,singleFileMode:!s&&x.length===1,showPreview:e==="file"&&!s?!1:d,preview:C.preview,type:C.file.type,onDelete:z,tabIndex:y},`file-${I}`))})]}):(0,ve.jsxs)(Zu,{children:[(0,ve.jsx)(lc,{id:D,type:"file",accept:l,multiple:s,onChange:S,disabled:m,readOnly:!0}),(0,ve.jsxs)(qu,{isDragging:f,disabled:m,mode:e,onDrop:A,onDragEnter:q,onDragOver:V,onDragLeave:W,children:[(0,ve.jsx)(bo,{mode:"secondary",label:r??B.fileInput.dropAreaButtonLabelDefault,onClick:G,disabled:m,size:{width:"fitContent"}}),e==="dropzone"?(0,ve.jsx)(Qu,{disabled:m,children:n??(s?B.fileInput.multipleDropAreaLabelDefault:B.fileInput.singleDropAreaLabelDefault)}):(0,ve.jsx)(eh,{disabled:m,children:n??(s?B.fileInput.multipleDropAreaLabelDefault:B.fileInput.singleDropAreaLabelDefault)})]}),x.length>0&&(0,ve.jsx)(ac,{children:x.map((C,I)=>(0,ve.jsx)(yi,{fileName:C.file.name,error:C.error,singleFileMode:!1,showPreview:d,preview:C.preview,type:C.file.type,onDelete:z,tabIndex:y},`file-${I}`))})]}),e==="file"&&!s&&x.length===1&&x[0].error&&(0,ve.jsx)(oh,{children:x[0].error})]})})}),Ju=eo.default.div`
2677
+ display: flex;
2678
+ flex-direction: column;
2679
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2680
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2681
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2682
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2683
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2684
+ width: fit-content;
2685
+ `,Ku=eo.default.label`
2686
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
2687
+ font-family: ${e=>e.theme.labelFontFamily};
2688
+ font-size: ${e=>e.theme.labelFontSize};
2689
+ font-weight: ${e=>e.theme.labelFontWeight};
2690
+ line-height: ${e=>e.theme.labelLineHeight};
2691
+ `,Uu=eo.default.span`
2692
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
2693
+ font-family: ${e=>e.theme.helperTextFontFamily};
2694
+ font-size: ${e=>e.theme.helperTextFontSize};
2695
+ font-weight: ${e=>e.theme.helperTextFontWeight};
2696
+ line-height: ${e=>e.theme.helperTextLineHeight};
2697
+ `,Yu=eo.default.div`
2698
+ display: flex;
2699
+ ${e=>e.singleFileMode?"flex-direction: row; column-gap: 0.25rem;":"flex-direction: column; row-gap: 0.25rem;"}
2700
+ margin-top: 0.25rem;
2701
+ `,lc=eo.default.input`
2702
+ display: none;
2703
+ `,ac=eo.default.div`
2704
+ display: flex;
2705
+ flex-direction: column;
2706
+ row-gap: 0.25rem;
2707
+ `,Zu=eo.default.div`
2708
+ display: flex;
2709
+ flex-direction: column;
2710
+ row-gap: 0.25rem;
2711
+ margin-top: 0.25rem;
2712
+ `,qu=eo.default.div`
2713
+ box-sizing: border-box;
2714
+ display: flex;
2715
+ ${e=>e.mode==="filedrop"?"flex-direction: row; column-gap: 0.75rem; height: 48px;":"justify-content: center; flex-direction: column; row-gap: 0.5rem; height: 160px;"}
2716
+ align-items: center;
2717
+ width: 320px;
2718
+ padding: ${e=>e.mode==="filedrop"?`calc(4px - ${e.theme.dropBorderThickness}) 1rem calc(4px - ${e.theme.dropBorderThickness}) calc(4px - ${e.theme.dropBorderThickness})`:"1rem"};
2719
+ overflow: hidden;
2720
+ box-shadow: 0 0 0 2px transparent;
2721
+ border-radius: ${e=>e.theme.dropBorderRadius};
2722
+ border-width: ${e=>e.theme.dropBorderThickness};
2723
+ border-style: ${e=>e.theme.dropBorderStyle};
2724
+ border-color: ${e=>e.disabled?e.theme.disabledDropBorderColor:e.theme.dropBorderColor};
2725
+ ${e=>e.isDragging&&`
2726
+ background-color: ${e.theme.dragoverDropBackgroundColor};
2727
+ border-color: transparent;
2728
+ box-shadow: 0 0 0 2px ${e.theme.focusDropBorderColor};
2729
+ `}
2730
+ cursor: ${e=>e.disabled&&"not-allowed"};
2731
+ `,Qu=eo.default.div`
2732
+ display: -webkit-box;
2733
+ -webkit-box-orient: vertical;
2734
+ overflow: hidden;
2735
+ text-overflow: ellipsis;
2736
+ -webkit-line-clamp: 3;
2737
+ text-align: center;
2738
+ color: ${e=>e.disabled?e.theme.disabledDropLabelFontColor:e.theme.dropLabelFontColor};
2739
+ font-family: ${e=>e.theme.dropLabelFontFamily};
2740
+ font-size: ${e=>e.theme.dropLabelFontSize};
2741
+ font-weight: ${e=>e.theme.dropLabelFontWeight};
2742
+ `,eh=eo.default.span`
2743
+ overflow: hidden;
2744
+ white-space: nowrap;
2745
+ text-overflow: ellipsis;
2746
+ color: ${e=>e.disabled?e.theme.disabledDropLabelFontColor:e.theme.dropLabelFontColor};
2747
+ font-family: ${e=>e.theme.dropLabelFontFamily};
2748
+ font-size: ${e=>e.theme.dropLabelFontSize};
2749
+ font-weight: ${e=>e.theme.dropLabelFontWeight};
2750
+ `,oh=eo.default.div`
2751
+ color: ${e=>e.theme.errorMessageFontColor};
2752
+ font-family: ${e=>e.theme.errorMessageFontFamily};
2753
+ font-size: ${e=>e.theme.errorMessageFontSize};
2754
+ font-weight: ${e=>e.theme.errorMessageFontWeight};
2755
+ line-height: ${e=>e.theme.errorMessageLineHeight};
2756
+ margin-top: 0.25rem;
2757
+ `,cc=Xu;var Ci=F(require("styled-components")),mc=require("react/jsx-runtime"),th=Ci.default.div`
2758
+ display: grid;
2759
+ ${({templateColumns:e})=>e&&`grid-template-columns: ${e.join(" ")};`}
2760
+ ${({templateRows:e})=>e&&`grid-template-rows: ${e.join(" ")};`}
2761
+ ${({templateAreas:e})=>e&&`grid-template-areas: ${e.map(t=>`"${t}"`).join(" ")};`}
2762
+ ${({autoColumns:e})=>e&&`grid-auto-columns: ${e};`}
2763
+ ${({autoRows:e})=>e&&`grid-auto-rows: ${e};`}
2764
+ ${({autoFlow:e})=>e&&`grid-auto-flow: ${e};`}
2765
+ ${({gap:e})=>e!=null&&(typeof e=="string"?`gap: ${e};`:`row-gap: ${e.rowGap??""}; column-gap: ${e.columnGap??""};`)}
2766
+ ${({placeItems:e})=>e&&(typeof e=="string"?`place-items: ${e}`:`align-items: ${e.alignItems??""}; justify-items: ${e.justifyItems??""};`)}
2767
+ ${({placeContent:e})=>e&&(typeof e=="string"?`place-content: ${e}`:`align-content: ${e.alignContent??""}; justify-content: ${e.justifyContent??""};`)}
2768
+
2769
+ ${({areaName:e})=>e&&`grid-area: ${e};`}
2770
+ ${({column:e})=>e&&`grid-column: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2771
+ ${({row:e})=>e&&`grid-row: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2772
+ ${({placeSelf:e})=>e&&(typeof e=="string"?`place-self: ${e}`:`align-self: ${e.alignSelf??""}; justify-self: ${e.justifySelf??""};`)}
2773
+ `,rh=Ci.default.div`
2774
+ ${({areaName:e})=>e&&`grid-area: ${e};`}
2775
+ ${({column:e})=>e&&`grid-column: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2776
+ ${({row:e})=>e&&`grid-row: ${typeof e=="string"||typeof e=="number"?e:`${e.start} / ${e.end};`};`}
2777
+ ${({placeSelf:e})=>e&&(typeof e=="string"?`place-self: ${e}`:`align-self: ${e.alignSelf??""}; justify-self: ${e.justifySelf??""};`)}
2778
+ `,dc=e=>(0,mc.jsx)(th,{...e});dc.Item=rh;var sc=dc;var st=F(require("styled-components"));var Et=require("react/jsx-runtime"),nh=({level:e=1,text:t="",as:r,weight:n,margin:i})=>{let l=k(),a=()=>{if(r==="h1"||r==="h2"||r==="h3"||r==="h4"||r==="h5")return r};return(0,Et.jsx)(st.ThemeProvider,{theme:l.heading,children:(0,Et.jsx)(ih,{margin:i,children:e===1?(0,Et.jsx)(lh,{as:a(),weight:n,children:t}):e===2?(0,Et.jsx)(ah,{as:a(),weight:n,children:t}):e===3?(0,Et.jsx)(ch,{as:a(),weight:n,children:t}):e===4?(0,Et.jsx)(dh,{as:a(),weight:n,children:t}):(0,Et.jsx)(sh,{as:a(),weight:n,children:t})})})},ih=st.default.div`
2779
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2780
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2781
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2782
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2783
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2784
+ `,lh=st.default.h1`
2785
+ font-family: ${e=>e.theme.level1FontFamily};
2786
+ font-style: ${e=>e.theme.level1FontStyle};
2787
+ font-size: ${e=>e.theme.level1FontSize};
2788
+ line-height: ${e=>e.theme.level1LineHeight};
2789
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level1FontWeight};
2790
+ letter-spacing: ${e=>e.theme.level1LetterSpacing};
2791
+ color: ${e=>e.theme.level1FontColor};
2792
+ margin: 0;
2793
+ `,ah=st.default.h2`
2794
+ font-family: ${e=>e.theme.level2FontFamily};
2795
+ font-style: ${e=>e.theme.level2FontStyle};
2796
+ font-size: ${e=>e.theme.level2FontSize};
2797
+ line-height: ${e=>e.theme.level2LineHeight};
2798
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level2FontWeight};
2799
+ letter-spacing: ${e=>e.theme.level2LetterSpacing};
2800
+ color: ${e=>e.theme.level2FontColor};
2801
+ margin: 0;
2802
+ `,ch=st.default.h3`
2803
+ font-family: ${e=>e.theme.level3FontFamily};
2804
+ font-style: ${e=>e.theme.level3FontStyle};
2805
+ font-size: ${e=>e.theme.level3FontSize};
2806
+ line-height: ${e=>e.theme.level3LineHeight};
2807
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level3FontWeight};
2808
+ letter-spacing: ${e=>e.theme.level3LetterSpacing};
2809
+ color: ${e=>e.theme.level3FontColor};
2810
+ margin: 0;
2811
+ `,dh=st.default.h4`
2812
+ font-family: ${e=>e.theme.level4FontFamily};
2813
+ font-style: ${e=>e.theme.level4FontStyle};
2814
+ font-size: ${e=>e.theme.level4FontSize};
2815
+ line-height: ${e=>e.theme.level4LineHeight};
2816
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level4FontWeight};
2817
+ letter-spacing: ${e=>e.theme.level4LetterSpacing};
2818
+ color: ${e=>e.theme.level4FontColor};
2819
+ margin: 0;
2820
+ `,sh=st.default.h5`
2821
+ font-family: ${e=>e.theme.level5FontFamily};
2822
+ font-style: ${e=>e.theme.level5FontStyle};
2823
+ font-size: ${e=>e.theme.level5FontSize};
2824
+ line-height: ${e=>e.theme.level5LineHeight};
2825
+ font-weight: ${e=>e.weight==="normal"?"400":e.weight==="light"?"300":e.weight==="bold"?"600":e.theme.level5FontWeight};
2826
+ letter-spacing: ${e=>e.theme.level5LetterSpacing};
2827
+ color: ${e=>e.theme.level5FontColor};
2828
+ margin: 0;
2829
+ `,Dn=nh;var zn=F(require("styled-components"));var Ko=require("react/jsx-runtime"),mh=({condition:e,wrapper:t,children:r})=>(0,Ko.jsx)(Ko.Fragment,{children:e?t(r):r}),gh=({alt:e,caption:t,lazyLoading:r=!1,src:n,srcSet:i,sizes:l,width:a,height:c,objectFit:d,objectPosition:s,onLoad:m,onError:g})=>{let u=k();return(0,Ko.jsx)(zn.ThemeProvider,{theme:u.image,children:(0,Ko.jsx)(mh,{condition:t!=null,wrapper:h=>(0,Ko.jsxs)(ph,{children:[h,(0,Ko.jsx)(Ge,{as:"figcaption",color:u.image.captionFontColor,fontFamily:u.image.captionFontFamily,fontSize:u.image.captionFontSize,fontStyle:u.image.captionFontStyle,fontWeight:u.image.captionFontWeight,lineHeight:u.image.captionLineHeight,children:t})]}),children:(0,Ko.jsx)("img",{alt:e,loading:r?"lazy":void 0,onLoad:m,onError:g,src:n,srcSet:i,sizes:l,style:{objectFit:d,objectPosition:s,width:a,height:c}})})})},ph=zn.default.figure`
2830
+ display: flex;
2831
+ flex-direction: column;
2832
+ gap: 1rem;
2833
+ width: fit-content;
2834
+ margin: 0;
2835
+ padding: 0;
2836
+ `,gc=gh;var pc=F(require("styled-components")),uc=require("react/jsx-runtime"),An=e=>e||"0rem",uh=pc.default.div`
2837
+ ${({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a})=>`
2838
+ padding: ${An(n||r||e)} ${An(i||t||e)}
2839
+ ${An(l||r||e)} ${An(a||t||e)};
2840
+ `}
2841
+ `,hh=({space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c})=>(0,uc.jsx)(uh,{space:e,horizontal:t,vertical:r,top:n,right:i,bottom:l,left:a,children:c}),Yt=hh;var hc=require("react"),yr=F(require("styled-components"));var er=require("react/jsx-runtime"),fh=yr.default.a`
2842
+ all: unset;
2843
+ display: inline-flex;
2844
+ align-items: baseline;
2845
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2846
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2847
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2848
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2849
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2850
+ background: none;
2851
+ border: none;
2852
+ border-radius: 4px;
2853
+ width: fit-content;
2854
+ ${e=>`padding-bottom: ${e.theme.underlineSpacing};`}
2855
+ font-family: ${e=>e.theme.fontFamily};
2856
+ font-size: ${e=>e.theme.fontSize};
2857
+ font-style: ${e=>e.theme.fontStyle};
2858
+ font-weight: ${e=>e.theme.fontWeight};
2859
+ line-height: ${o.type_leading_compact_02};
2860
+ text-decoration: none;
2861
+ color: ${e=>e.inheritColor?"inherit":e.disabled?e.theme.disabledFontColor:e.theme.fontColor};
2862
+ ${e=>e.disabled?"cursor: default;":"cursor: pointer;"}
2863
+ ${e=>e.disabled?"pointer-events: none;":""}
2864
+
2865
+ &:visited {
2866
+ color: ${e=>!e.inheritColor&&!e.disabled?e.theme.visitedFontColor:""};
2867
+ & > span:hover {
2868
+ ${e=>`color: ${e.theme.visitedFontColor};
2869
+ border-bottom-color: ${e.theme.visitedUnderlineColor};`}
2870
+ }
2871
+ }
2872
+ &:focus {
2873
+ outline: 2px solid ${e=>e.theme.focusColor};
2874
+ outline-offset: 2px;
2875
+ ${e=>e.disabled&&"outline: none"}
2876
+ }
2877
+ `,bh=yr.default.span`
2878
+ ${e=>`border-bottom: ${e.theme.underlineThickness} ${e.theme.underlineStyle} transparent;`}
2879
+ display: inline-flex;
2880
+ align-items: center;
2881
+ ${e=>e.iconPosition==="before"?"flex-direction: row-reverse;":""}
2882
+ gap: ${e=>e.theme.iconSpacing};
2883
+
2884
+ &:hover {
2885
+ ${e=>`color: ${e.theme.hoverFontColor};
2886
+ cursor: pointer;
2887
+ border-bottom-color: ${e.theme.hoverUnderlineColor};`}
2888
+ }
2889
+ &:active {
2890
+ ${e=>`color: ${e.theme.activeFontColor} !important;
2891
+ border-bottom-color: ${e.theme.activeUnderlineColor} !important;`}
2892
+ }
2893
+ `,yh=yr.default.div`
2894
+ display: flex;
2895
+ font-size: ${e=>e.theme.iconSize};
2896
+ svg {
2897
+ width: ${e=>e.theme.iconSize};
2898
+ height: ${e=>e.theme.iconSize};
2899
+ }
2900
+ `,Ch=(0,hc.forwardRef)(({inheritColor:e=!1,disabled:t=!1,icon:r,iconPosition:n="before",href:i="",newWindow:l=!1,onClick:a,margin:c,tabIndex:d=0,children:s,...m},g)=>{let u=k();return(0,er.jsx)(yr.ThemeProvider,{theme:u.link,children:(0,er.jsx)(fh,{as:a&&!i?"button":"a",tabIndex:d,onClick:t?void 0:a,href:!t&&i?i:void 0,target:i?l?"_blank":"_self":void 0,disabled:t,inheritColor:e,margin:c,ref:g,...m,children:(0,er.jsxs)(bh,{iconPosition:n,inheritColor:e,children:[s,r&&(0,er.jsx)(yh,{children:typeof r=="string"?(0,er.jsx)($,{icon:r}):r})]})})})}),fc=Ch;var So=require("react"),Nr=F(require("styled-components"));var bc=require("react"),Rn=(0,bc.createContext)(null);var Wt=require("react"),Hn=F(require("styled-components"));var mt=require("react/jsx-runtime"),xh=(0,Wt.forwardRef)(({href:e,active:t=!1,icon:r,disabled:n=!1,notificationNumber:i=!1,children:l,...a},c)=>{let d=(0,Wt.useRef)(),s=k(),{iconPosition:m,tabIndex:g,focusedLabel:u}=(0,Wt.useContext)(Rn);(0,Wt.useEffect)(()=>{u===l.toString()&&d?.current?.focus()},[u]);let h=y=>{switch(y.key){case" ":case"Enter":y.preventDefault(),d?.current?.click();break}};return(0,mt.jsx)(_h,{active:t,children:(0,mt.jsxs)($h,{href:n?void 0:e,disabled:n,active:t,iconPosition:m,hasIcon:r!=null,ref:y=>{d.current=y,c&&(typeof c=="function"?c(y):c.current=y)},onKeyDown:h,tabIndex:t?g:-1,role:"tab","aria-selected":t,"aria-disabled":n,...a,children:[r&&(0,mt.jsx)(vh,{iconPosition:m,active:t,disabled:n,children:typeof r=="string"?(0,mt.jsx)($,{icon:r}):r}),(0,mt.jsxs)(ne,{alignItems:"center",gap:"0.5rem",children:[(0,mt.jsx)(Ge,{color:n?s.navTabs.disabledFontColor:t?s.navTabs.selectedFontColor:s.navTabs.unselectedFontColor,fontFamily:s.navTabs.fontFamily,fontSize:s.navTabs.fontSize,fontStyle:s.navTabs.fontStyle,fontWeight:s.navTabs.fontWeight,textAlign:"center",letterSpacing:"0.025em",lineHeight:"1.715em",children:l}),i&&!n&&(0,mt.jsx)($t,{mode:"notification",size:"small",label:typeof i=="number"&&i})]})]})})}),_h=Hn.default.div`
2901
+ align-items: stretch;
2902
+ border-bottom: 2px solid ${e=>e.active?e.theme.selectedUnderlineColor:"transparent"};
2903
+ padding: 0.5rem;
2904
+ `,$h=Hn.default.a`
2905
+ box-sizing: border-box;
2906
+ display: flex;
2907
+ flex-direction: ${e=>e.hasIcon&&e.iconPosition==="top"?"column":"row"};
2908
+ justify-content: center;
2909
+ align-items: center;
2910
+ gap: ${e=>e.hasIcon&&e.iconPosition==="top"?"0.375rem":"0.625rem"};
2911
+ height: ${e=>e.hasIcon&&e.iconPosition==="top"?"78px":"100%"};
2912
+ min-width: 176px;
2913
+ min-height: 44px;
2914
+ padding: 0.375rem;
2915
+ border-radius: 4px;
2916
+ background: ${e=>e.active?e.theme.selectedBackgroundColor:e.theme.unselectedBackgroundColor};
2917
+ text-decoration-color: transparent;
2918
+ text-decoration-line: none;
2919
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
2920
+
2921
+ ${e=>!e.disabled&&`
2922
+ :hover {
2923
+ background: ${e.theme.hoverBackgroundColor};
2924
+ }
2925
+ :focus {
2926
+ outline: 2px solid ${e.theme.focusOutline};
2927
+ }
2928
+ :active {
2929
+ background: ${e.theme.pressedBackgroundColor};
2930
+ outline: 2px solid #33aaff};
2931
+ }
2932
+ `}
2933
+ `,vh=Hn.default.div`
2934
+ display: flex;
2935
+ font-size: 24px;
2936
+ color: ${e=>e.active?e.theme.selectedIconColor:e.disabled?e.theme.disabledIconColor:e.theme.unselectedIconColor};
2937
+ svg {
2938
+ height: 24px;
2939
+ width: 24px;
2940
+ }
2941
+ `,yc=xh;var Cr=require("react/jsx-runtime"),Mn=(e,t)=>e.props?e.props[t]?e.props[t]:e.props.children?Mn(e.props.children,t):void 0:void 0,xi=e=>{if(typeof e=="string")return e.toString();if(e.props.children)return Array.isArray(e.props.children)?xi(e.props.children[0]):xi(e.props.children)},Th=(e,t)=>{let r=t===0?e.length-1:t-1;for(;Mn(e[r],"disabled");)r=r===0?e.length-1:r-1;return r},kh=(e,t)=>{let r=t===e.length-1?0:t+1;for(;Mn(e[r],"disabled");)r=r===e.length-1?0:r+1;return r},Cc=({iconPosition:e="top",tabIndex:t=0,children:r})=>{let[n,i]=(0,So.useState)(null),[l,a]=(0,So.useState)(null),c=(0,So.useRef)(null),d=k();(0,So.useEffect)(()=>{a(c?.current?.scrollWidth)},[r]);let s=(0,So.useMemo)(()=>({iconPosition:e,tabIndex:t,focusedLabel:n===null?void 0:xi(r[n])}),[e,t,n]),m=g=>{let u=So.Children.toArray(r).findIndex(h=>Mn(h,"active"));switch(g.key){case"Left":case"ArrowLeft":g.preventDefault(),i(Th(r,n===null?u:n));break;case"Right":case"ArrowRight":g.preventDefault(),i(kh(r,n===null?u:n));break}};return(0,Cr.jsx)(Nr.ThemeProvider,{theme:d.navTabs,children:(0,Cr.jsxs)(wh,{onKeyDown:m,ref:c,role:"tablist","aria-label":"Navigation tabs",children:[(0,Cr.jsx)(Rn.Provider,{value:s,children:r}),(0,Cr.jsx)(Fh,{underlineWidth:l})]})})},Fh=Nr.default.div`
2942
+ position: absolute;
2943
+ bottom: 0;
2944
+ left: 0;
2945
+ height: 2px;
2946
+ background-color: ${e=>e.theme.dividerColor};
2947
+ z-index: -1;
2948
+ width: ${e=>e.underlineWidth}px;
2949
+ `;Cc.Tab=yc;var wh=Nr.default.div`
2950
+ display: flex;
2951
+ position: relative;
2952
+ overflow: auto;
2953
+ z-index: 0;
2954
+ `,xc=Cc;var xr=require("react"),_c=F(require("styled-components"));var En=require("react/jsx-runtime"),Sh=(0,xr.forwardRef)(({label:e,name:t,defaultValue:r,value:n,helperText:i,placeholder:l,disabled:a,optional:c,readOnly:d,prefix:s,suffix:m,min:g,max:u,step:h=1,onChange:y,onBlur:v,error:f,autocomplete:_,margin:x,size:b,tabIndex:D},P)=>{let B=(0,xr.useRef)(null);return(0,xr.useEffect)(()=>{let M=B.current?.getElementsByTagName("input")[0],H=w=>{w.preventDefault()};return M?.addEventListener("wheel",H,{passive:!1}),()=>{M?.removeEventListener("wheel",H)}},[]),(0,En.jsx)(Bn.Provider,{value:{typeNumber:"number",minNumber:g,maxNumber:u,stepNumber:h},children:(0,En.jsx)(Ih,{ref:B,size:b,children:(0,En.jsx)(jo,{label:e,name:t,defaultValue:r,value:n,helperText:i,placeholder:l,disabled:a,optional:c,readOnly:d,prefix:s,suffix:m,error:f,onChange:y,onBlur:v,autocomplete:_,margin:x,size:b,tabIndex:D,ref:P})})})}),Ih=_c.default.div`
2955
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2956
+ // Chrome, Safari, Edge, Opera
2957
+ input::-webkit-outer-spin-button,
2958
+ input::-webkit-inner-spin-button {
2959
+ -webkit-appearance: none;
2960
+ margin: 0;
2961
+ }
2962
+
2963
+ // Firefox
2964
+ input[type="number"] {
2965
+ -moz-appearance: textfield;
2966
+ }
2967
+ `,$c=Sh;var Tc=require("react/jsx-runtime"),Bh=({children:e})=>{let t=k();return(0,Tc.jsx)(Ge,{as:"p",display:t.paragraph.display,fontSize:t.paragraph.fontSize,fontWeight:t.paragraph.fontWeight,color:t.paragraph.fontColor,children:e})},vc=Bh;var Ot=require("react"),wc=F(require("styled-components"));var _i=require("react/jsx-runtime"),kc=(e,t)=>{t?.getElementsByTagName("input")[0].setAttribute("type",e)},Fc=(e,t,r)=>{let n=r?.getElementsByTagName("button")[0];n?.setAttribute("aria-expanded",e),n?.setAttribute("aria-label",t)},Ph=(0,Ot.forwardRef)(({label:e,name:t="",value:r,helperText:n,clearable:i=!1,onChange:l,onBlur:a,error:c,pattern:d,minLength:s,maxLength:m,autocomplete:g="off",margin:u,size:h="medium",tabIndex:y=0},v)=>{let[f,_]=(0,Ot.useState)(!1),x=(0,Ot.useRef)(null),{passwordInput:b}=J();return(0,Ot.useEffect)(()=>{f?(kc("text",x.current),Fc("true",b.inputHidePasswordTitle,x.current)):(kc("password",x.current),Fc("false",b.inputShowPasswordTitle,x.current))},[f,b]),(0,_i.jsx)(Lh,{ref:v,role:"group",size:h,children:(0,_i.jsx)(jo,{label:e,name:t,value:r,helperText:n,action:{onClick:()=>{_(D=>!D)},icon:f?"Visibility_Off":"Visibility",title:f?b.inputHidePasswordTitle:b.inputShowPasswordTitle},error:c,clearable:i,onChange:l,onBlur:a,margin:u,size:h,pattern:d,minLength:s,maxLength:m,autocomplete:g,ref:x,tabIndex:y})})}),Lh=wc.default.div`
2968
+ ${e=>e.size=="fillParent"&&"width: 100%;"}
2969
+ & ::-ms-reveal {
2970
+ display: none;
2971
+ }
2972
+ `,Sc=Ph;var Wn=require("react"),Bo=F(require("styled-components"));var Io=require("react/jsx-runtime"),Dh=({label:e="",helperText:t="",overlay:r=!1,value:n,showValue:i=!1,margin:l})=>{let a=k(),[c,d]=(0,Wn.useState)(0);return(0,Wn.useEffect)(()=>{d(n==null||n<0?0:n>=0&&n<=100?n:100)},[n]),(0,Io.jsx)(Bo.ThemeProvider,{theme:a.progressBar,children:(0,Io.jsx)(zh,{overlay:r,children:(0,Io.jsxs)(Ah,{overlay:r,margin:l,children:[(0,Io.jsxs)(Rh,{children:[(0,Io.jsx)(Hh,{overlay:r,children:e}),(0,Io.jsxs)(Mh,{overlay:r,showValue:i,value:c,children:[c," %"]})]}),(0,Io.jsx)(Wh,{role:"progressbar",helperText:t,"aria-valuenow":i?c:void 0,"aria-valuemin":0,"aria-valuemax":100,"aria-label":e||"Progress Bar",children:(0,Io.jsx)(Oh,{variant:n==null?"indeterminate":"determinate",container:"first",value:c})}),t&&(0,Io.jsx)(Eh,{overlay:r,children:t})]})})})},zh=Bo.default.div`
2973
+ ${({overlay:e,theme:t})=>e?`background-color: ${t.overlayColor};
2974
+ width: 100%;
2975
+ justify-content: center;
2976
+ height: 100vh;
2977
+ align-items: center;
2978
+ max-width: 100%;
2979
+ position: fixed;
2980
+ top: 0;
2981
+ bottom: 0;
2982
+ left: 0;
2983
+ right: 0;
2984
+ z-index: 1300;`:'background-color: "transparent";'}
2985
+ display: flex;
2986
+ flex-wrap: wrap;
2987
+ min-width: 100px;
2988
+ width: 100%;
2989
+ `,Ah=Bo.default.div`
2990
+ z-index: ${e=>e.overlay===!0&&"100"||"0"};
2991
+ width: ${e=>e.overlay===!0?"80%":"100%"};
2992
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
2993
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
2994
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
2995
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
2996
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
2997
+ `,Rh=Bo.default.div`
2998
+ display: flex;
2999
+ flex-direction: row;
3000
+ width: 685px;
3001
+ flex-wrap: wrap;
3002
+ width: 100%;
3003
+ margin-bottom: 8px;
3004
+ align-items: baseline;
3005
+ justify-content: space-between;
3006
+ `,Hh=Bo.default.div`
3007
+ font-family: ${e=>e.theme.labelFontFamily};
3008
+ font-style: ${e=>e.theme.labelFontStyle};
3009
+ font-size: ${e=>e.theme.labelFontSize};
3010
+ font-weight: ${e=>e.theme.labelFontWeight};
3011
+ text-transform: ${e=>e.theme.labelFontTextTransform};
3012
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.labelFontColor};
3013
+ overflow: hidden;
3014
+ text-overflow: ellipsis;
3015
+ white-space: nowrap;
3016
+ text-overflow: ellipsis;
3017
+ `,Mh=Bo.default.div`
3018
+ font-family: ${e=>e.theme.valueFontFamily};
3019
+ font-style: ${e=>e.theme.valueFontStyle};
3020
+ font-size: ${e=>e.theme.valueFontSize};
3021
+ font-weight: ${e=>e.theme.valueFontWeight};
3022
+ text-transform: ${e=>e.theme.valueFontTextTransform};
3023
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.valueFontColor};
3024
+ display: ${e=>e.value!==void 0&&e.value!==null&&e.showValue===!0&&"block"||"none"};
3025
+ flex-shrink: 0;
3026
+ `,Eh=Bo.default.span`
3027
+ color: ${e=>e.overlay===!0?e.theme.overlayFontColor:e.theme.helperTextFontColor};
3028
+ font-family: ${e=>e.theme.helperTextFontFamily};
3029
+ font-size: ${e=>e.theme.helperTextFontSize};
3030
+ font-style: ${e=>e.theme.helperTextFontStyle};
3031
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3032
+ line-height: 1.5em;
3033
+ `,Wh=Bo.default.div`
3034
+ height: ${e=>e.theme.thickness};
3035
+ background-color: ${e=>e.theme.totalLineColor};
3036
+ border-radius: ${e=>e.theme.borderRadius};
3037
+ margin-bottom: ${e=>e.helperText!==""&&"8px"};
3038
+ overflow: hidden;
3039
+ position: relative;
3040
+ `,Oh=Bo.default.span`
3041
+ background-color: ${e=>e.theme.trackLineColor};
3042
+ transform: ${e=>`translateX(-${e.variant==="determinate"?100-e.value:0}%)`};
3043
+ top: 0;
3044
+ left: 0;
3045
+ width: 100%;
3046
+ bottom: 0;
3047
+ position: absolute;
3048
+ transition: ${e=>e.variant==="determinate"?"transform .4s linear":"transform 0.2s linear"};
3049
+ transform-origin: left;
3050
+ ${e=>e.variant==="indeterminate"&&"width: auto;"};
3051
+ ${e=>e.variant==="indeterminate"?e.container==="first"?"animation: keyframes-indeterminate-first 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;":"animation: keyframes-indeterminate-second 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;":""};
3052
+
3053
+ @keyframes keyframes-indeterminate-first {
3054
+ 0% {
3055
+ left: -35%;
3056
+ right: 100%;
3057
+ }
3058
+ 60% {
3059
+ left: 100%;
3060
+ right: -90%;
3061
+ }
3062
+ 100% {
3063
+ left: 100%;
3064
+ right: -90%;
3065
+ }
3066
+ }
3067
+
3068
+ @keyframes keyframes-indeterminate-second {
3069
+ 0% {
3070
+ left: -200%;
3071
+ right: 100%;
3072
+ }
3073
+ 60% {
3074
+ left: 107%;
3075
+ right: -8%;
3076
+ }
3077
+ 100% {
3078
+ left: 107%;
3079
+ right: -8%;
3080
+ }
3081
+ }
3082
+ `,Ic=Dh;var On=F(require("slugify")),or=F(require("styled-components"));var Oe=require("react/jsx-runtime"),Gh=({title:e,links:t})=>{let r=J(),n=k();return(0,Oe.jsx)(or.ThemeProvider,{theme:n.quickNav,children:(0,Oe.jsx)(Nh,{children:(0,Oe.jsxs)(ne,{direction:"column",gap:"0.5rem",children:[(0,Oe.jsx)(Dn,{level:4,text:e||r.quickNav.contentTitle}),(0,Oe.jsx)(Vh,{children:t.map(i=>(0,Oe.jsx)("li",{children:(0,Oe.jsx)(Yt,{space:"0.25rem",children:(0,Oe.jsxs)(vt,{children:[(0,Oe.jsx)(Bc,{href:`#${(0,On.default)(i?.label,{lower:!0})}`,children:i?.label}),(0,Oe.jsx)(jh,{children:i.links?.map(l=>(0,Oe.jsx)("li",{children:(0,Oe.jsx)(Yt,{horizontal:"0.5rem",children:(0,Oe.jsx)(vt,{children:(0,Oe.jsx)(Bc,{href:`#${(0,On.default)(i?.label,{lower:!0})}-${(0,On.default)(l?.label,{lower:!0})}`,children:l?.label})})})},l.label))})]})})},i.label))})]})})})},Nh=or.default.div`
3083
+ padding-top: ${e=>e.theme.paddingTop};
3084
+ padding-bottom: ${e=>e.theme.paddingBottom};
3085
+ padding-left: ${e=>e.theme.paddingLeft};
3086
+ padding-right: ${e=>e.theme.paddingRight};
3087
+ border-left: 2px solid ${e=>e.theme.dividerBorderColor};
3088
+ `,Vh=or.default.ul`
3089
+ display: flex;
3090
+ flex-direction: column;
3091
+ gap: 0.5rem;
3092
+ margin: 0;
3093
+ padding: 0;
3094
+ list-style-type: none;
3095
+ `,jh=or.default.ul`
3096
+ display: flex;
3097
+ flex-direction: column;
3098
+ margin: 0;
3099
+ padding: 0;
3100
+ list-style-type: none;
3101
+ `,Bc=or.default.a`
3102
+ text-decoration: none;
3103
+ font-size: ${e=>e.theme.fontSize};
3104
+ font-family: ${e=>e.theme.fontFamily};
3105
+ font-style: ${e=>e.theme.fontStyle};
3106
+ font-weight: ${e=>e.theme.fontWeight};
3107
+ color: ${e=>e.theme.fontColor};
3108
+ display: block;
3109
+ text-overflow: ellipsis;
3110
+ white-space: nowrap;
3111
+ overflow: hidden;
3112
+ width: fit-content;
3113
+ max-width: 100%;
3114
+
3115
+ &:hover {
3116
+ color: ${e=>e.theme.hoverFontColor};
3117
+ }
3118
+ &:focus {
3119
+ outline-color: ${e=>e.theme.focusBorderColor};
3120
+ outline-style: ${e=>e.theme.focusBorderStyle};
3121
+ outline-width: ${e=>e.theme.focusBorderThickness};
3122
+ border-radius: ${e=>e.theme.focusBorderRadius};
3123
+ }
3124
+ `,Pc=Gh;var xo=require("react"),Yo=F(require("styled-components"));var Uo=require("react"),Gt=F(require("styled-components"));var gt=require("react/jsx-runtime"),Xh=({label:e,checked:t,onClick:r,error:n,disabled:i,focused:l,readOnly:a,tabIndex:c})=>{let d=`radio-${(0,Uo.useId)()}`,s=(0,Uo.useRef)(null),m=k(),g=()=>{r(),document.activeElement!==s?.current&&s?.current?.focus()},[u,h]=(0,Uo.useState)(!0);return(0,Uo.useEffect)(()=>{if(u){h(!1);return}l&&s?.current?.focus()},[l]),(0,gt.jsx)(Gt.ThemeProvider,{theme:m.radioGroup,children:(0,gt.jsx)(ne,{children:(0,gt.jsxs)(Uh,{error:n,disabled:i,readOnly:a,onClick:i?void 0:g,children:[(0,gt.jsx)(Jh,{children:(0,gt.jsx)($i,{error:n,disabled:i,readOnly:a,role:"radio","aria-checked":t,"aria-disabled":i,"aria-labelledby":d,tabIndex:i?-1:l?c:-1,ref:s,children:t&&(0,gt.jsx)(vi,{disabled:i,readOnly:a,error:n})})}),(0,gt.jsx)(Kh,{id:d,disabled:i,children:e})]})})})},_r=(e,t)=>{switch(t){case"enabled":return e.disabled?e.theme.disabledRadioInputColor:e.error?e.theme.errorRadioInputColor:e.readOnly?e.theme.readOnlyRadioInputColor:e.theme.radioInputColor;case"hover":return e.error?e.theme.hoverErrorRadioInputColor:e.readOnly?e.theme.hoverReadOnlyRadioInputColor:e.theme.hoverRadioInputColor;case"active":return e.error?e.theme.activeErrorRadioInputColor:e.readOnly?e.theme.activeReadOnlyRadioInputColor:e.theme.activeRadioInputColor}},Jh=Gt.default.span`
3125
+ display: flex;
3126
+ align-items: center;
3127
+ justify-content: center;
3128
+ height: 24px;
3129
+ width: 24px;
3130
+ `,$i=Gt.default.span`
3131
+ box-sizing: border-box;
3132
+ display: flex;
3133
+ align-items: center;
3134
+ justify-content: center;
3135
+ width: 18px;
3136
+ height: 18px;
3137
+ border: 2px solid ${e=>_r(e,"enabled")};
3138
+ border-radius: 50%;
3139
+
3140
+ &:focus {
3141
+ outline: 2px solid ${e=>e.theme.focusBorderColor};
3142
+ outline-offset: 1px;
3143
+ }
3144
+ ${e=>e.disabled&&"pointer-events: none;"}
3145
+ `,vi=Gt.default.span`
3146
+ height: 10px;
3147
+ width: 10px;
3148
+ border-radius: 50%;
3149
+ background-color: ${e=>_r(e,"enabled")};
3150
+ `,Kh=Gt.default.span`
3151
+ margin-left: ${e=>e.theme.radioInputLabelMargin};
3152
+ font-family: ${e=>e.theme.fontFamily};
3153
+ font-size: ${e=>e.theme.radioInputLabelFontSize};
3154
+ font-style: ${e=>e.theme.radioInputLabelFontStyle};
3155
+ font-weight: ${e=>e.theme.radioInputLabelFontWeight};
3156
+ line-height: ${e=>e.theme.radioInputLabelLineHeight};
3157
+ ${e=>e.disabled?`color: ${e.theme.disabledRadioInputLabelFontColor};`:`color: ${e.theme.radioInputLabelFontColor}`}
3158
+ `,Uh=Gt.default.span`
3159
+ display: inline-flex;
3160
+ align-items: center;
3161
+ cursor: ${e=>e.disabled?"not-allowed":e.readOnly?"default":"pointer"};
3162
+
3163
+ &:hover {
3164
+ ${$i} {
3165
+ border-color: ${e=>!e.disabled&&_r(e,"hover")};
3166
+ }
3167
+ ${vi} {
3168
+ background-color: ${e=>!e.disabled&&_r(e,"hover")};
3169
+ }
3170
+ }
3171
+ &:active {
3172
+ ${$i} {
3173
+ border-color: ${e=>!e.disabled&&_r(e,"active")};
3174
+ }
3175
+ ${vi} {
3176
+ background-color: ${e=>!e.disabled&&_r(e,"active")};
3177
+ }
3178
+ }
3179
+ `,Lc=(0,Uo.memo)(Xh);var Po=require("react/jsx-runtime"),Yh=(e,t)=>{let r=e.findIndex(n=>n.value===t);return r!==-1?r:0},Zh=(0,xo.forwardRef)(({label:e,name:t,helperText:r,options:n,disabled:i=!1,optional:l=!1,optionalItemLabel:a,readOnly:c=!1,stacking:d="column",defaultValue:s,value:m,onChange:g,onBlur:u,error:h,tabIndex:y=0},v)=>{let f=`radio-group-${(0,xo.useId)()}`,_=`label-${f}`,x=`error-${f}`,[b,D]=(0,xo.useState)(s),[P,B]=(0,xo.useState)(!0),M=k(),H=J(),w=(0,xo.useMemo)(()=>l?[...n,{label:a??H.radioGroup.optionalItemLabelDefault,value:"",disabled:i}]:n,[l,n,a,H]),[S,z]=(0,xo.useState)(Yh(w,m??b)),G=(0,xo.useCallback)(I=>{I!==(m??b)&&!c&&(m??D(I),g?.(I))},[m,b,g]),V=I=>{if(!I.currentTarget.contains(I.relatedTarget)){B(!0);let T=m??b;u?.(!l&&!T?{value:T,error:H.formFields.requiredSelectionErrorMessage}:{value:T})}},q=()=>{P&&B(!1)},W=()=>{z(I=>{let T=I===0?w.length-1:I-1;for(;w[T].disabled;)T=T===0?w.length-1:T-1;return G(w[T].value),T})},A=()=>{z(I=>{let T=I===w.length-1?0:I+1;for(;w[T].disabled;)T=T===w.length-1?0:T+1;return G(w[T].value),T})},C=I=>{switch(I.key){case"Left":case"ArrowLeft":case"Up":case"ArrowUp":I.preventDefault(),W();break;case"Right":case"ArrowRight":case"Down":case"ArrowDown":I.preventDefault(),A();break;case" ":I.preventDefault(),G(w[S].value);break}};return(0,Po.jsx)(Yo.ThemeProvider,{theme:M.radioGroup,children:(0,Po.jsxs)(qh,{ref:v,children:[e&&(0,Po.jsxs)(Qh,{id:_,helperText:r,disabled:i,children:[e,l&&(0,Po.jsx)(ef,{children:` ${H.formFields.optionalLabel}`})]}),r&&(0,Po.jsx)(of,{disabled:i,children:r}),(0,Po.jsxs)(tf,{onBlur:V,onFocus:q,onKeyDown:C,stacking:d,role:"radiogroup","aria-disabled":i,"aria-labelledby":_,"aria-invalid":!!h,"aria-errormessage":h?x:void 0,"aria-required":!i&&!c&&!l,"aria-readonly":c,"aria-orientation":d==="column"?"vertical":"horizontal",children:[(0,Po.jsx)(rf,{name:t,disabled:i,value:m??b??"",readOnly:!0}),w.map((I,T)=>(0,Po.jsx)(Lc,{label:I.label,checked:(m??b)===I.value,onClick:()=>{G(I.value),z(T)},error:h,disabled:I.disabled||i,focused:S===T,readOnly:c,tabIndex:y},`radio-${T}`))]}),!i&&typeof h=="string"&&(0,Po.jsx)(nf,{id:x,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),qh=Yo.default.div`
3180
+ box-sizing: border-box;
3181
+ display: inline-flex;
3182
+ flex-direction: column;
3183
+ `,Qh=Yo.default.span`
3184
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
3185
+ font-family: ${e=>e.theme.fontFamily};
3186
+ font-size: ${e=>e.theme.labelFontSize};
3187
+ font-style: ${e=>e.theme.labelFontStyle};
3188
+ font-weight: ${e=>e.theme.labelFontWeight};
3189
+ line-height: ${e=>e.theme.labelLineHeight};
3190
+ ${e=>!e.helperText&&`margin-bottom: ${e.theme.groupLabelMargin}`}
3191
+ `,ef=Yo.default.span`
3192
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
3193
+ `,of=Yo.default.span`
3194
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
3195
+ font-family: ${e=>e.theme.fontFamily};
3196
+ font-size: ${e=>e.theme.helperTextFontSize};
3197
+ font-style: ${e=>e.theme.helperTextFontStyle};
3198
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3199
+ line-height: ${e=>e.theme.helperTextLineHeight};
3200
+ margin-bottom: ${e=>e.theme.groupLabelMargin};
3201
+ `,tf=Yo.default.div`
3202
+ display: flex;
3203
+ flex-wrap: wrap;
3204
+ flex-direction: ${e=>e.stacking};
3205
+ row-gap: ${e=>e.theme.groupVerticalGutter};
3206
+ column-gap: ${e=>e.theme.groupHorizontalGutter};
3207
+ `,rf=Yo.default.input`
3208
+ display: none;
3209
+ `,nf=Yo.default.span`
3210
+ min-height: 1.5em;
3211
+ color: ${e=>e.theme.errorMessageColor};
3212
+ font-family: ${e=>e.theme.fontFamily};
3213
+ font-size: 0.75rem;
3214
+ font-weight: 400;
3215
+ line-height: 1.5em;
3216
+ margin-top: 0.5rem;
3217
+ `,Dc=Zh;var oo=require("react"),$r=F(require("styled-components"));var Lo=require("react/jsx-runtime"),lf={arrowUp:(0,Lo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[(0,Lo.jsx)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,Lo.jsx)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"})]}),arrowDown:(0,Lo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[(0,Lo.jsx)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,Lo.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"})]}),bothArrows:(0,Lo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",fill:"currentColor",children:[(0,Lo.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,Lo.jsx)("path",{d:"M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"})]})},Gn=lf;var Xe=require("react/jsx-runtime"),zc=e=>typeof e=="string"?e.toUpperCase():e,Ac=e=>e instanceof Date,af=(e,t,r)=>r.slice().sort((n,i)=>{let l=zc(n?.cells[e]?.sortValue||n?.cells[e]?.displayValue),a=zc(i?.cells[e]?.sortValue||i?.cells[e]?.displayValue),c=0;return typeof l=="object"&&!Ac(l)?c=-1:typeof a=="object"&&!Ac(a)||l>a?c=1:l<a&&(c=-1),t==="descending"?c*-1:c}),cf=(e,t,r)=>e===1?0:t*(r-1),df=(e,t,r,n)=>e+t>r.length?r.length:t*n-1,sf=e=>e.length>0?e.map((t,r)=>({cells:t,id:`row_${r}`})):[],Rc=({columns:e,rows:t,hidePaginator:r=!1,showGoToPage:n=!0,itemsPerPage:i=5,itemsPerPageOptions:l,itemsPerPageFunction:a,margin:c,tabIndex:d=0,mode:s="default"})=>{let m=k(),[g,u]=(0,oo.useState)(1),[h,y]=(0,oo.useState)(-1),[v,f]=(0,oo.useState)("ascending"),_=(0,oo.useRef)(t.length),x=(0,oo.useMemo)(()=>sf(t),[t]),b=(0,oo.useMemo)(()=>cf(g,i,g),[i,g]),D=(0,oo.useMemo)(()=>df(b,i,t,g),[i,b,g,t]),P=(0,oo.useMemo)(()=>h!==-1?af(h,v,x):x,[h,v,x]),B=(0,oo.useMemo)(()=>P&&P.slice(b,D+1),[P,b,D]),M=w=>{u(w)},H=w=>{u(1),y(w),f(h===-1||h!==w?"ascending":v==="ascending"?"descending":"ascending")};return(0,oo.useEffect)(()=>{if(!r){if(t.length===0)u(0);else if(g===0)u(1);else if(t.length<_.current){let w=Math.ceil(t.length/i),S=Math.ceil(_.current/i);w<S&&u(Math.min(w,g))}_.current=t.length}},[t.length]),(0,Xe.jsx)($r.ThemeProvider,{theme:m.table,children:(0,Xe.jsxs)(gf,{margin:c,children:[(0,Xe.jsxs)(In,{mode:s,children:[(0,Xe.jsx)("thead",{children:(0,Xe.jsx)("tr",{children:e.map((w,S)=>(0,Xe.jsx)("th",{"aria-sort":w.isSortable?h===S?v:"none":void 0,children:(0,Xe.jsxs)(pf,{role:w.isSortable?"button":void 0,onClick:()=>{w.isSortable&&H(S)},tabIndex:w.isSortable?d:-1,isSortable:w.isSortable,mode:s,"aria-label":w.isSortable?"Sort column":void 0,children:[(0,Xe.jsx)("span",{children:w.displayValue}),w.isSortable&&(0,Xe.jsx)(uf,{children:h===S?v==="ascending"?Gn.arrowUp:Gn.arrowDown:Gn.bothArrows})]},`headerContainer_${S}`)},`tableHeader_${S}`))})}),(0,Xe.jsx)("tbody",{children:B.map(w=>(0,Xe.jsx)("tr",{children:w.cells.map((S,z)=>(0,Xe.jsx)("td",{children:S.displayValue},`resultSetTableCellContent_${z}`))},`resultSetTableCell_${w.id}`))})]}),!r&&(0,Xe.jsx)(ur,{totalItems:t.length,itemsPerPage:i,itemsPerPageOptions:l,itemsPerPageFunction:a,currentPage:g,showGoToPage:n,onPageChange:M,tabIndex:d})]})})},mf=e=>`calc(100% - ${X(e,"left")} - ${X(e,"right")})`,gf=$r.default.div`
3218
+ width: ${e=>mf(e.margin)};
3219
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3220
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3221
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3222
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3223
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3224
+ `,pf=$r.default.span`
3225
+ display: flex;
3226
+ align-items: center;
3227
+ justify-content: ${e=>e.theme.headerTextAlign==="center"?"center":e.theme.headerTextAlign==="right"?"flex-end":"flex-start"};
3228
+ gap: ${o.spacing_8};
3229
+ width: fit-content;
3230
+ border: 1px solid transparent;
3231
+ border-radius: 2px;
3232
+ cursor: ${e=>e.isSortable?"pointer":"default"};
3233
+
3234
+ ${e=>e.isSortable&&`&:focus {
3235
+ outline: #0095ff solid 2px;
3236
+ }`}
3237
+ `,uf=$r.default.span`
3238
+ display: flex;
3239
+ height: 14px;
3240
+ width: 14px;
3241
+ color: ${e=>e.theme.sortIconColor};
3242
+
3243
+ svg {
3244
+ height: 100%;
3245
+ width: 100%;
3246
+ }
3247
+ `;Rc.ActionsCell=Or;var Hc=Rc;var Do=require("react"),Ke=F(require("styled-components"));var Je=require("react/jsx-runtime"),hf=(0,Do.forwardRef)(({label:e="",name:t="",defaultValue:r,value:n,helperText:i="",minValue:l=0,maxValue:a=100,step:c=1,showLimitsValues:d=!1,showInput:s=!1,disabled:m=!1,marks:g=!1,onChange:u,onDragEnd:h,labelFormatCallback:y,margin:v,size:f="fillParent"},_)=>{let x=`label-${(0,Do.useId)()}`,[b,D]=(0,Do.useState)(r??0),[P,B]=(0,Do.useState)(!1),M=k(),H=navigator?.userAgent.indexOf("Firefox")!==-1,w=(0,Do.useMemo)(()=>y?y(l):l,[y,l]),S=(0,Do.useMemo)(()=>y?y(a):a,[y,a]),z=(0,Do.useMemo)(()=>{let A=Math.floor(a/c-l/c),C=a-l,I=[],T=0;if(g){for(;T<=A;)I.push((0,Je.jsx)(Sf,{disabled:m,stepPosition:c*T/C,stepValue:(n??b)/a},`tickmark-${T}-${x}`)),T++;return I}else return null},[l,a,c,n,b]),G=A=>{let C=A.target.value;(C!==n||C!==b)&&D(C),u?.(C)},V=()=>{B(!0)},q=A=>{P&&(B(!1),h?.(A.target.value))},W=A=>{let C=parseInt(A.value,10);n==null&&(Number.isNaN(C)||D(C>a?a:C)),Number.isNaN(C)||u?.(C>a?a:C)};return(0,Je.jsx)(Ke.ThemeProvider,{theme:M.slider,children:(0,Je.jsxs)(Cf,{margin:v,size:f,ref:_,children:[(0,Je.jsx)(xf,{id:x,disabled:m,children:e}),(0,Je.jsx)(_f,{disabled:m,children:i}),(0,Je.jsxs)(vf,{children:[d&&(0,Je.jsx)(Tf,{disabled:m,children:w}),(0,Je.jsxs)(Ff,{children:[(0,Je.jsx)($f,{role:"slider",type:"range",value:n!=null&&n>=0?n:b,min:l,max:a,step:c,disabled:m,"aria-labelledby":x,"aria-orientation":"horizontal","aria-valuemax":a,"aria-valuemin":l,"aria-valuenow":n!=null&&n>=0?n:b,onChange:G,onMouseUp:q,onMouseDown:V}),g&&(0,Je.jsx)(wf,{isFirefox:H,children:z})]}),d&&(0,Je.jsx)(kf,{disabled:m,step:c,children:S}),s&&(0,Je.jsx)(If,{children:(0,Je.jsx)(jo,{name:t,value:n!=null&&n>=0?n.toString():b.toString(),disabled:m,onChange:W,size:"fillParent"})})]})]})})}),Mc={medium:"360px",large:"480px",fillParent:"100%"},ff=(e,t)=>t==="fillParent"?`calc(${Mc[t]} - ${X(e,"left")} - ${X(e,"right")})`:Mc[t],bf=()=>`
3248
+ width: 100%;
3249
+ margin-right: 4px;`,yf=()=>`
3250
+ width: calc(100% - 16px);
3251
+ margin-right: 3px;`,Cf=Ke.default.div`
3252
+ display: flex;
3253
+ flex-direction: column;
3254
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3255
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3256
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3257
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3258
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3259
+ width: ${e=>ff(e.margin,e.size)};
3260
+ `,xf=Ke.default.label`
3261
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
3262
+ font-family: ${e=>e.theme.fontFamily};
3263
+ font-size: ${e=>e.theme.labelFontSize};
3264
+ font-style: ${e=>e.theme.labelFontStyle};
3265
+ font-weight: ${e=>e.theme.labelFontWeight};
3266
+ line-height: ${e=>e.theme.labelLineHeight};
3267
+ `,_f=Ke.default.span`
3268
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
3269
+ font-family: ${e=>e.theme.fontFamily};
3270
+ font-size: ${e=>e.theme.helperTextFontSize};
3271
+ font-style: ${e=>e.theme.helperTextFontStyle};
3272
+ font-weight: ${e=>e.theme.helperTextFontWeight};
3273
+ line-height: ${e=>e.theme.helperTextLineHeight};
3274
+ `,$f=Ke.default.input`
3275
+ width: 100%;
3276
+ min-width: 240px;
3277
+ height: ${e=>e.theme.trackLineThickness};
3278
+ display: inline-block;
3279
+ vertical-align: middle;
3280
+ -webkit-appearance: none;
3281
+ background-color: ${e=>e.disabled?e.theme.disabledTotalLineColor+"61":e.theme.totalLineColor};
3282
+ background-image: ${e=>e.disabled?`linear-gradient(${e.theme.disabledTrackLineColor}, ${e.theme.disabledTrackLineColor})`:`linear-gradient(${e.theme.trackLineColor}, ${e.theme.trackLineColor})`};
3283
+ background-repeat: no-repeat;
3284
+ background-size: ${e=>(e.value-e.min)*100/(e.max-e.min)+"% 100%"};
3285
+ border-radius: 5px;
3286
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
3287
+ &::-webkit-slider-runnable-track {
3288
+ -webkit-appearance: none;
3289
+ box-shadow: none;
3290
+ border: none;
3291
+ background: transparent;
3292
+ margin: 0px -8px;
3293
+ }
3294
+
3295
+ &::-webkit-slider-thumb {
3296
+ -webkit-appearance: none;
3297
+ border: none;
3298
+ height: ${e=>e.theme.thumbHeight};
3299
+ width: ${e=>e.theme.thumbWidth};
3300
+ border-radius: 25px;
3301
+ background: ${e=>e.disabled?e.theme.disabledThumbBackgroundColor:e.theme.thumbBackgroundColor};
3302
+ &:active {
3303
+ ${e=>{if(!e.disabled)return`
3304
+ background: ${e.theme.activeThumbBackgroundColor};
3305
+ transform: scale(1.16667);`}}
3306
+ }
3307
+ &:hover {
3308
+ ${e=>{if(!e.disabled)return`height: ${e.theme.hoverThumbHeight};
3309
+ width: ${e.theme.hoverThumbWidth};
3310
+ transform: scale(1.16667);
3311
+ transform-origin: center center;
3312
+ background: ${e.theme.hoverThumbBackgroundColor};`}}
3313
+ }
3314
+ }
3315
+ &::-moz-range-track {
3316
+ -webkit-appearance: none;
3317
+ box-shadow: none;
3318
+ border: none;
3319
+ background: transparent;
3320
+ }
3321
+ &::-moz-range-thumb {
3322
+ -webkit-appearance: none;
3323
+ border: none;
3324
+ height: ${e=>e.theme.thumbHeight};
3325
+ width: ${e=>e.theme.thumbWidth};
3326
+ border-radius: 25px;
3327
+ background: ${e=>e.disabled?e.theme.disabledThumbBackgroundColor:e.theme.thumbBackgroundColor};
3328
+ &:active {
3329
+ background: ${e=>e.theme.activeThumbBackgroundColor};
3330
+ transform: scale(1.16667);
3331
+ }
3332
+ &:hover {
3333
+ ${e=>{if(!e.disabled)return`height: ${e.theme.hoverThumbHeight};
3334
+ width: ${e.theme.hoverThumbWidth};
3335
+ transform: scale(1.16667);
3336
+ transform-origin: center center;
3337
+ background: ${e.theme.hoverThumbBackgroundColor};`}}
3338
+ }
3339
+ }
3340
+ &:focus {
3341
+ outline: none;
3342
+ &::-webkit-slider-thumb {
3343
+ outline: ${e=>e.disabled?e.theme.disabledFocusColor:e.theme.focusColor} auto 1px;
3344
+ outline-offset: 2px;
3345
+ }
3346
+ &::-moz-range-thumb {
3347
+ outline: ${e=>e.disabled?e.theme.disabledFocusColor:e.theme.focusColor} auto 1px;
3348
+ outline-offset: 2px;
3349
+ }
3350
+ }
3351
+ `,vf=Ke.default.div`
3352
+ display: flex;
3353
+ height: 48px;
3354
+ align-items: center;
3355
+ `,Ec=Ke.default.span`
3356
+ color: ${e=>e.disabled?e.theme.disabledLimitValuesFontColor:e.theme.limitValuesFontColor};
3357
+
3358
+ font-family: ${e=>e.theme.fontFamily};
3359
+ font-size: ${e=>e.theme.limitValuesFontSize};
3360
+ font-style: ${e=>e.theme.limitValuesFontStyle};
3361
+ font-weight: ${e=>e.theme.limitValuesFontWeight};
3362
+ letter-spacing: ${e=>e.theme.limitValuesFontLetterSpacing};
3363
+ white-space: nowrap;
3364
+ `,Tf=(0,Ke.default)(Ec)`
3365
+ margin-right: ${e=>e.theme.floorLabelMarginRight};
3366
+ `,kf=(0,Ke.default)(Ec)`
3367
+ margin-left: ${e=>e.step===1?e.theme.ceilLabelMarginLeft:"1.25rem"};
3368
+ `,Ff=Ke.default.div`
3369
+ position: relative;
3370
+ width: 100%;
3371
+ height: 24px;
3372
+ display: flex;
3373
+ align-items: center;
3374
+ justify-content: center;
3375
+ margin-right: -2px;
3376
+ padding-top: 1px;
3377
+ z-index: 0;
3378
+ `,wf=Ke.default.div`
3379
+ ${e=>e.isFirefox?yf():bf()}
3380
+ position: absolute;
3381
+ pointer-events: none;
3382
+ height: 100%;
3383
+ display: flex;
3384
+ align-items: center;
3385
+ `,Sf=Ke.default.span`
3386
+ position: absolute;
3387
+ background: ${e=>e.disabled?e.theme.disabledTickBackgroundColor:e.theme.tickBackgroundColor};
3388
+ height: ${e=>e.theme.tickHeight};
3389
+ width: ${e=>e.theme.tickWidth};
3390
+ border-radius: 18px;
3391
+ left: ${e=>`calc(${e.stepPosition} * 100%)`};
3392
+ z-index: ${e=>`${e.stepPosition<=e.stepValue?"-1":"0"}`};
3393
+ `,If=Ke.default.div`
3394
+ margin-left: ${e=>e.theme.inputMarginLeft};
3395
+ max-width: 70px;
3396
+ `,Wc=hf;var Nn=require("react"),Ue=F(require("styled-components"));var Ie=require("react/jsx-runtime"),Bf=({label:e,value:t,showValue:r=!1,mode:n="large",margin:i})=>{let l=(0,Nn.useId)(),a=k(),c=(0,Nn.useMemo)(()=>t>=0&&t<=100,[t]);return(0,Ie.jsx)(Ue.ThemeProvider,{theme:a.spinner,children:(0,Ie.jsx)(Pf,{margin:i,mode:n,children:(0,Ie.jsxs)(Lf,{mode:n,children:[n==="overlay"&&(0,Ie.jsx)(Df,{}),(0,Ie.jsx)(zf,{children:n==="small"?(0,Ie.jsx)(Gc,{viewBox:"0 0 16 16",children:(0,Ie.jsx)(Nc,{cx:"8",cy:"8",r:"6",mode:n})}):(0,Ie.jsx)(Gc,{viewBox:"0 0 140 140",children:(0,Ie.jsx)(Nc,{cx:"70",cy:"70",r:"65",mode:n})})}),(0,Ie.jsx)(Af,{role:"progressbar","aria-valuenow":c&&r?t:void 0,"aria-valuemin":c?0:void 0,"aria-valuemax":c?100:void 0,"aria-labelledby":e&&n!=="small"?l:void 0,"aria-label":e?n==="small"?e:void 0:"Loading indicator",children:n==="small"?(0,Ie.jsx)(Vc,{viewBox:"0 0 16 16",determinated:c,children:(0,Ie.jsx)(jc,{cx:"8",cy:"8",r:"6",mode:n,determinated:c,value:t})}):(0,Ie.jsx)(Vc,{viewBox:"0 0 140 140",determinated:c,children:(0,Ie.jsx)(jc,{cx:"70",cy:"70",r:"65",mode:n,determinated:c,value:t})})}),n!=="small"&&(0,Ie.jsxs)(Rf,{children:[(0,Ie.jsx)(Hf,{id:l,mode:n,children:e}),(t||t===0)&&r&&(0,Ie.jsxs)(Mf,{value:t,mode:n,showValue:r,children:[t,"%"]})]})]})})})},Oc=(e,t)=>{let r=0;return e>=0&&e<=100&&(r=t*(1-e/100)),r},Pf=Ue.default.div`
3397
+ height: ${e=>e.mode==="overlay"?"100vh":""};
3398
+ width: ${e=>e.mode==="overlay"?"100vw":""};
3399
+ display: ${e=>e.mode==="overlay"?"flex":""};
3400
+ position: ${e=>e.mode==="overlay"?"fixed":""};
3401
+ top: ${e=>e.mode==="overlay"?0:""};
3402
+ left: ${e=>e.mode==="overlay"?0:""};
3403
+ justify-content: ${e=>e.mode==="overlay"?"center":""};
3404
+ align-items: ${e=>e.mode==="overlay"?"center":""};
3405
+ z-index: ${e=>e.mode==="overlay"?1300:""};
3406
+
3407
+ margin: ${e=>e.mode!="overlay"?e.margin&&typeof e.margin!="object"?p[e.margin]:"0px":""};
3408
+ margin-top: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3409
+ margin-right: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3410
+ margin-bottom: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3411
+ margin-left: ${e=>e.mode!="overlay"&&e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3412
+ `,Lf=Ue.default.div`
3413
+ align-items: center;
3414
+ display: flex;
3415
+ height: ${e=>e.mode==="small"?"16px":"140px"};
3416
+ width: ${e=>e.mode==="small"?"16px":"140px"};
3417
+ justify-content: center;
3418
+ position: relative;
3419
+ background-color: transparent;
3420
+
3421
+ @keyframes spinner-svg {
3422
+ 0% {
3423
+ transform: rotateZ(0deg);
3424
+ }
3425
+ 100% {
3426
+ transform: rotateZ(360deg);
3427
+ }
3428
+ }
3429
+ @keyframes svg-circle-large {
3430
+ 0% {
3431
+ stroke-dashoffset: 400;
3432
+ transform: rotate(0);
3433
+ }
3434
+
3435
+ 50% {
3436
+ stroke-dashoffset: 75;
3437
+ transform: rotate(45deg);
3438
+ }
3439
+
3440
+ 100% {
3441
+ stroke-dashoffset: 400;
3442
+ transform: rotate(360deg);
3443
+ }
3444
+ }
3445
+ @keyframes svg-circle-small {
3446
+ 0% {
3447
+ stroke-dashoffset: 35;
3448
+ transform: rotate(0);
3449
+ }
3450
+
3451
+ 50% {
3452
+ stroke-dashoffset: 8;
3453
+ transform: rotate(45deg);
3454
+ }
3455
+
3456
+ 100% {
3457
+ stroke-dashoffset: 35;
3458
+ transform: rotate(360deg);
3459
+ }
3460
+ }
3461
+ `,Df=Ue.default.div`
3462
+ width: 100vw;
3463
+ height: 100vh;
3464
+ opacity: 1;
3465
+ transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3466
+ position: fixed;
3467
+ top: 0;
3468
+ left: 0;
3469
+ background-color: ${e=>`${e.theme.overlayBackgroundColor}`};
3470
+ opacity: ${e=>`${e.theme.overlayOpacity}`};
3471
+ `,zf=Ue.default.div`
3472
+ height: inherit;
3473
+ width: inherit;
3474
+ position: absolute;
3475
+ `,Gc=Ue.default.svg`
3476
+ height: inherit;
3477
+ width: inherit;
3478
+ `,Nc=Ue.default.circle`
3479
+ animation: none;
3480
+ fill: transparent;
3481
+ stroke: ${e=>`${e.theme.totalCircleColor}`};
3482
+ stroke-dasharray: ${e=>e.mode!=="small"?"409":"38"};
3483
+ stroke-linecap: initial;
3484
+ stroke-width: ${e=>e.mode!=="small"?"8.5px":"2px"};
3485
+ transform-origin: 50% 50%;
3486
+ vector-effect: non-scaling-stroke;
3487
+ `,Af=Ue.default.div`
3488
+ height: inherit;
3489
+ width: inherit;
3490
+ position: relative;
3491
+ `,Vc=Ue.default.svg`
3492
+ height: inherit;
3493
+ width: inherit;
3494
+ transform: rotate(-90deg);
3495
+ top: 0;
3496
+ left: 0;
3497
+ transform-origin: center;
3498
+ overflow: visible;
3499
+ animation: ${e=>e.determinated?"":"1.4s linear infinite both spinner-svg"};
3500
+ `,jc=Ue.default.circle`
3501
+ fill: transparent;
3502
+ stroke-linecap: initial;
3503
+ vector-effect: non-scaling-stroke;
3504
+ animation: ${e=>e.determinated?"none":e.mode!=="small"?"1.4s ease-in-out infinite both svg-circle-large":"1.4s ease-in-out infinite both svg-circle-small"};
3505
+ stroke: ${e=>e.mode==="overlay"?e.theme.trackCircleColorOverlay:e.theme.trackCircleColor};
3506
+ transform-origin: ${e=>e.determinated?"":"50% 50%"};
3507
+ stroke-dasharray: ${e=>e.mode!=="small"?"409":"38"};
3508
+ stroke-width: ${e=>e.mode!=="small"?"8.5px":"2px"};
3509
+ stroke-dashoffset: ${e=>e.determinated?e.mode!=="small"?Oc(e.value,409):Oc(e.value,38):""};
3510
+ `,Rf=Ue.default.div`
3511
+ position: absolute;
3512
+ margin: 0 auto;
3513
+ width: 110px;
3514
+ text-align: center;
3515
+ `,Hf=Ue.default.p`
3516
+ margin: 0;
3517
+ width: 100%;
3518
+ white-space: nowrap;
3519
+ overflow: hidden;
3520
+ text-overflow: ellipsis;
3521
+ font-family: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontFamily:e.theme.labelFontFamily};
3522
+ font-weight: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontWeight:e.theme.labelFontWeight};
3523
+ font-size: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontSize:e.theme.labelFontSize};
3524
+ font-style: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontStyle:e.theme.labelFontStyle};
3525
+ color: ${e=>e.mode==="overlay"?e.theme.overlayLabelFontColor:e.theme.labelFontColor};
3526
+ text-align: ${e=>e.mode==="overlay"?e.theme.overlayLabelTextAlign:e.theme.labelTextAlign};
3527
+ letter-spacing: ${e=>e.mode==="overlay"?e.theme.overlayLabelLetterSpacing:e.theme.labelLetterSpacing};
3528
+ `,Mf=Ue.default.p`
3529
+ margin: 0;
3530
+ width: 100%;
3531
+ white-space: nowrap;
3532
+ overflow: hidden;
3533
+ text-overflow: ellipsis;
3534
+ display: ${e=>e.value&&e.showValue===!0&&"block"||"none"};
3535
+ font-family: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontFamily:e.theme.progressValueFontFamily};
3536
+ font-weight: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontWeight:e.theme.progressValueFontWeight};
3537
+ font-size: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontSize:e.theme.progressValueFontSize};
3538
+ font-style: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontStyle:e.theme.progressValueFontStyle};
3539
+ color: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueFontColor:e.theme.progressValueFontColor};
3540
+ text-align: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueTextAlign:e.theme.progressValueTextAlign};
3541
+ letter-spacing: ${e=>e.mode==="overlay"?e.theme.overlayProgressValueLetterSpacing:e.theme.progressValueLetterSpacing};
3542
+ `,Vn=Bf;var jn=F(require("styled-components"));var Vr=require("react/jsx-runtime"),Ef=({mode:e="default",label:t,size:r="medium"})=>(0,Vr.jsxs)(Wf,{size:r,"aria-label":`${e}: ${t}`,role:"status",children:[(0,Vr.jsx)(Of,{mode:e,size:r,"aria-hidden":"true"}),(0,Vr.jsx)(Gf,{mode:e,size:r,children:t})]}),Wf=jn.default.div`
3543
+ display: inline-flex;
3544
+ align-items: center;
3545
+ gap: ${o.spacing_8};
3546
+ `,Of=jn.default.div`
3547
+ width: ${({size:e})=>e==="small"&&o.type_scale_01||e==="medium"&&o.type_scale_02||e==="large"&&o.type_scale_03||o.type_scale_02};
3548
+ height: ${({size:e})=>e==="small"&&o.type_scale_01||e==="medium"&&o.type_scale_02||e==="large"&&o.type_scale_03||o.type_scale_02};
3549
+ border-radius: 50%;
3550
+ background-color: ${({mode:e})=>e==="default"&&o.color_grey_700||e==="error"&&o.color_red_700||e==="info"&&o.color_blue_700||e==="success"&&o.color_green_700||e==="warning"&&o.color_orange_700||o.color_grey_700};
3551
+ `,Gf=jn.default.span`
3552
+ font-size: ${({size:e})=>e==="small"&&o.type_scale_01||e==="medium"&&o.type_scale_02||e==="large"&&o.type_scale_03||o.type_scale_02};
3553
+ font-family: ${o.type_sans};
3554
+ font-style: ${o.type_normal};
3555
+ font-weight: ${o.type_semibold};
3556
+ color: ${({mode:e})=>e==="default"&&o.color_grey_700||e==="error"&&o.color_red_700||e==="info"&&o.color_blue_700||e==="success"&&o.color_green_700||e==="warning"&&o.color_orange_700||o.color_grey_700};
3557
+ text-align: center;
3558
+ text-overflow: ellipsis;
3559
+ overflow: hidden;
3560
+ white-space: nowrap;
3561
+ `,Xc=Ef;var Nt=require("react"),Vt=F(require("styled-components"));var to=require("react/jsx-runtime"),Nf=(0,Nt.forwardRef)(({defaultChecked:e,checked:t,value:r,label:n="",labelPosition:i="before",name:l="",disabled:a=!1,optional:c=!1,onChange:d,margin:s,size:m="fitContent",tabIndex:g=0},u)=>{let y=`label-${`switch-${(0,Nt.useId)()}`}`,[v,f]=(0,Nt.useState)(e??!1),_=k(),x=J(),b=(0,Nt.useRef)(null),D=B=>{switch(B.key){case"Enter":case" ":B.preventDefault(),b.current.focus(),f(!(t??v)),d?.(!(t??v));break}},P=()=>{t??f(B=>!B),d?.(t?!t:!v)};return(0,to.jsx)(Vt.ThemeProvider,{theme:_.switch,children:(0,to.jsxs)(jf,{margin:s,size:m,onKeyDown:D,disabled:a,onClick:a?void 0:P,ref:u,children:[i==="before"&&n&&(0,to.jsxs)(Kc,{id:y,labelPosition:i,disabled:a,label:n,children:[n," ",c&&(0,to.jsx)(to.Fragment,{children:x.formFields.optionalLabel})]}),(0,to.jsx)(Jf,{type:"checkbox",name:l,"aria-hidden":!0,value:r,disabled:a,checked:t??v,readOnly:!0}),(0,to.jsx)(Xf,{children:(0,to.jsx)(Kf,{role:"switch","aria-checked":t??v,"aria-disabled":a,disabled:a,"aria-labelledby":y,tabIndex:a?-1:g,ref:b})}),i==="after"&&n&&(0,to.jsxs)(Kc,{id:y,labelPosition:i,disabled:a,label:n,children:[c&&(0,to.jsx)(to.Fragment,{children:x.formFields.optionalLabel})," ",n]})]})})}),Jc={small:"60px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},Vf=(e,t)=>t==="fillParent"?`calc(${Jc[t]} - ${X(e,"left")} - ${X(e,"right")})`:Jc[t],jr=(e,t,r)=>{switch(t){case"track":switch(r){case"check":return e.disabledCheckedTrackBackgroundColor;case"uncheck":return e.disabledUncheckedTrackBackgroundColor}case"thumb":switch(r){case"check":return e.disabledCheckedThumbBackgroundColor;case"uncheck":return e.disabledUncheckedThumbBackgroundColor}case"label":return e.disabledLabelFontColor}},Xr=(e,t,r)=>{switch(t){case"track":switch(r){case"check":return e.checkedTrackBackgroundColor;case"uncheck":return e.uncheckedTrackBackgroundColor}case"thumb":switch(r){case"check":return e.checkedThumbBackgroundColor;case"uncheck":return e.uncheckedThumbBackgroundColor}case"label":return e.labelFontColor}},jf=Vt.default.div`
3562
+ display: inline-flex;
3563
+ align-items: center;
3564
+ width: ${e=>Vf(e.margin,e.size)};
3565
+ height: 40px;
3566
+ cursor: ${e=>e.disabled===!0?"not-allowed":"pointer"};
3567
+
3568
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3569
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3570
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3571
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3572
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3573
+ `,Kc=Vt.default.span`
3574
+ overflow: hidden;
3575
+ text-overflow: ellipsis;
3576
+ white-space: nowrap;
3577
+ color: ${e=>e.disabled?jr(e.theme,"label"):Xr(e.theme,"label")};
3578
+ opacity: 1;
3579
+ font-family: ${e=>e.theme.labelFontFamily};
3580
+ font-size: ${e=>e.theme.labelFontSize};
3581
+ font-style: ${e=>e.disabled?e.theme.disabledLabelFontStyle:e.theme.labelFontStyle};
3582
+ font-weight: ${e=>e.theme.labelFontWeight};
3583
+
3584
+ ${e=>e.label?e.labelPosition==="after"?`margin-left: ${e.theme.spaceBetweenLabelSwitch};`:`margin-right: ${e.theme.spaceBetweenLabelSwitch};`:"margin: 0px;"};
3585
+
3586
+ ${e=>e.labelPosition==="before"&&"order: -1"}
3587
+ `,Xf=Vt.default.label`
3588
+ display: flex;
3589
+ align-items: center;
3590
+ justify-content: space-between;
3591
+ cursor: pointer;
3592
+ margin: 0px 12px;
3593
+ `,Jf=Vt.default.input`
3594
+ display: none;
3595
+ `,Kf=Vt.default.span`
3596
+ border-radius: 15px;
3597
+ width: ${e=>e.theme.trackWidth};
3598
+ height: ${e=>e.theme.trackHeight};
3599
+ position: relative;
3600
+ cursor: ${e=>e.disabled?"not-allowed":"pointer"};
3601
+
3602
+ &:focus-visible {
3603
+ outline: none;
3604
+ ::before {
3605
+ outline: ${e=>`${e.theme.thumbFocusColor} solid 2px`};
3606
+ outline-offset: 6px;
3607
+ }
3608
+ }
3609
+
3610
+ /* Thumb element */
3611
+ ::before {
3612
+ content: "";
3613
+ transform: initial;
3614
+ position: absolute;
3615
+ width: ${e=>e.theme.thumbWidth};
3616
+ height: ${e=>e.theme.thumbHeight};
3617
+ border-radius: 50%;
3618
+ box-shadow:
3619
+ 0px 2px 1px -1px rgb(0 0 0 / 20%),
3620
+ 0px 1px 1px 0px rgb(0 0 0 / 14%),
3621
+ 0px 1px 3px 0px rgb(0 0 0 / 12%);
3622
+ bottom: -6px;
3623
+ left: -4px;
3624
+ transform: translateX(0px);
3625
+ background-color: ${e=>e.disabled?jr(e.theme,"thumb","uncheck"):Xr(e.theme,"thumb","uncheck")};
3626
+ }
3627
+
3628
+ /* Unchecked */
3629
+ background-color: ${e=>e.disabled?jr(e.theme,"track","uncheck"):Xr(e.theme,"track","uncheck")};
3630
+
3631
+ /* Checked */
3632
+ &[aria-checked="true"] {
3633
+ background-color: ${e=>e.disabled?jr(e.theme,"track","check"):Xr(e.theme,"track","check")};
3634
+ ::before {
3635
+ transform: translateX(${e=>e.theme.thumbShift});
3636
+ background-color: ${e=>e.disabled?jr(e.theme,"thumb","check"):Xr(e.theme,"thumb","check")};
3637
+ }
3638
+ }
3639
+ `,Uc=Nf;var oe=require("react"),Ao=F(require("styled-components"));var Yc=require("react"),Xn=(0,Yc.createContext)(null);var qo=require("react"),Jr=F(require("styled-components"));var Zo=require("react/jsx-runtime"),Uf=(0,qo.forwardRef)(({icon:e,label:t,title:r,disabled:n=!1,active:i,notificationNumber:l=!1,onClick:a=()=>{},onHover:c=()=>{}},d)=>{let s=(0,qo.useRef)(),m=k(),{iconPosition:g,tabIndex:u,focusedLabel:h,isControlled:y,activeLabel:v,hasLabelAndIcon:f,setActiveLabel:_,setActiveIndicatorWidth:x,setActiveIndicatorLeft:b}=(0,qo.useContext)(Xn);return(0,qo.useEffect)(()=>{h===t&&s?.current?.focus()},[h,t]),(0,qo.useEffect)(()=>{v===t&&(x(s?.current?.offsetWidth),b(s?.current?.offsetLeft))},[v,t]),(0,qo.useEffect)(()=>{i&&_(t)},[i,t]),(0,Zo.jsx)(ge,{label:r,children:(0,Zo.jsxs)(Yf,{role:"tab",type:"button",tabIndex:v===t&&!n?u:-1,disabled:n,"aria-selected":v===t,hasLabelAndIcon:f,iconPosition:g,ref:P=>{s.current=P,d&&(typeof d=="function"?d(P):d.current=P)},onClick:()=>{y||_(t),a()},onMouseEnter:()=>c(),onKeyDown:P=>{switch(P.key){case" ":case"Enter":P.preventDefault(),s?.current?.click();break}},children:[(0,Zo.jsxs)(qf,{notificationNumber:l,hasLabelAndIcon:f,iconPosition:g,disabled:n,children:[e&&(0,Zo.jsx)(Qf,{hasLabelAndIcon:f,iconPosition:g,children:typeof e=="string"?(0,Zo.jsx)($,{icon:e}):e}),(0,Zo.jsx)(Ge,{color:n?m.tabs.disabledFontColor:v===t?m.tabs.selectedFontColor:m.tabs.unselectedFontColor,fontFamily:m.tabs.fontFamily,fontSize:m.tabs.fontSize,fontStyle:n?m.tabs.disabledFontStyle:m.tabs.fontStyle,fontWeight:v===t?m.tabs.pressedFontWeight:m.tabs.fontWeight,textAlign:"center",letterSpacing:"0.025em",lineHeight:"1.715em",children:t})]}),l&&!n&&(0,Zo.jsx)(Zf,{hasLabelAndIcon:f,iconPosition:g,children:(0,Zo.jsx)($t,{mode:"notification",size:"small",label:typeof l=="number"&&l})})]})})}),Yf=Jr.default.button`
3640
+ text-transform: ${e=>e.theme.fontTextTransform};
3641
+ overflow: hidden;
3642
+ flex-shrink: 0;
3643
+ border: 0;
3644
+ cursor: pointer;
3645
+ display: inline-flex;
3646
+ align-items: center;
3647
+ user-select: none;
3648
+ vertical-align: middle;
3649
+ justify-content: center;
3650
+ min-width: 90px;
3651
+ max-width: 360px;
3652
+ padding: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"12px 16px"||"8px 16px"};
3653
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3654
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3655
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3656
+
3657
+ &:hover {
3658
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3659
+ }
3660
+ &:active {
3661
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3662
+ }
3663
+ &:focus {
3664
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3665
+ outline-offset: -1px;
3666
+ }
3667
+
3668
+ svg,
3669
+ span:before {
3670
+ color: ${e=>e.theme.unselectedIconColor};
3671
+ }
3672
+
3673
+ &[aria-selected="true"] {
3674
+ background-color: ${e=>e.theme.selectedBackgroundColor};
3675
+ svg,
3676
+ span:before {
3677
+ color: ${e=>e.theme.selectedIconColor};
3678
+ }
3679
+ opacity: 1;
3680
+ }
3681
+
3682
+ &:disabled {
3683
+ background-color: ${e=>e.theme.unselectedBackgroundColor} !important;
3684
+ cursor: not-allowed !important;
3685
+ pointer-events: all;
3686
+ font-style: ${e=>e.theme.disabledFontStyle};
3687
+ outline: none !important;
3688
+
3689
+ svg,
3690
+ span:before {
3691
+ color: ${e=>e.theme.disabledIconColor};
3692
+ }
3693
+ > div {
3694
+ opacity: 0.5;
3695
+ }
3696
+ }
3697
+ `,Zf=Jr.default.div`
3698
+ margin-left: 12px;
3699
+ height: 100%;
3700
+ display: flex;
3701
+ align-items: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"?"flex-start":"center"};
3702
+ justify-content: flex-start;
3703
+ flex-direction: column;
3704
+ `,qf=Jr.default.div`
3705
+ display: flex;
3706
+ flex-direction: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"column"||"row"};
3707
+ align-items: center;
3708
+ margin-left: ${e=>e.notificationNumber&&!e.disabled?typeof e.notificationNumber=="number"?"36px":"18px":"unset"};
3709
+ `,Qf=Jr.default.div`
3710
+ display: flex;
3711
+ margin-bottom: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"8px"||""};
3712
+ margin-right: ${e=>e.hasLabelAndIcon&&e.iconPosition==="left"&&"12px"||""};
3713
+ font-size: 22px;
3714
+
3715
+ svg {
3716
+ height: 22px;
3717
+ width: 22px;
3718
+ }
3719
+ `,Zc=Uf;var ue=require("react"),zo=F(require("styled-components"));var Jn=require("react"),Kr=F(require("styled-components"));var pt=require("react/jsx-runtime"),eb=(0,Jn.forwardRef)(({active:e,tab:t,tabIndex:r,hasLabelAndIcon:n,iconPosition:i,onClick:l,onMouseEnter:a,onMouseLeave:c},d)=>{let s=k();return(0,pt.jsxs)(ob,{role:"tab",type:"button",tabIndex:r,disabled:t.isDisabled,"aria-selected":e,hasLabelAndIcon:n,iconPosition:i,ref:d,onClick:()=>{l()},onMouseEnter:()=>{a()},onMouseLeave:()=>{c()},children:[(0,pt.jsxs)(rb,{notificationNumber:t.notificationNumber,hasLabelAndIcon:n,iconPosition:i,disabled:t.isDisabled,children:[t.icon&&(0,pt.jsx)(nb,{hasLabelAndIcon:n,iconPosition:i,children:typeof t.icon=="string"?(0,pt.jsx)($,{icon:t.icon}):t.icon}),(0,pt.jsx)(Ge,{color:t.isDisabled?s.tabs.disabledFontColor:e?s.tabs.selectedFontColor:s.tabs.unselectedFontColor,fontFamily:s.tabs.fontFamily,fontSize:s.tabs.fontSize,fontStyle:t.isDisabled?s.tabs.disabledFontStyle:s.tabs.fontStyle,fontWeight:e?s.tabs.pressedFontWeight:s.tabs.fontWeight,textAlign:"center",letterSpacing:"0.025em",lineHeight:"1.715em",children:t.label})]}),t.notificationNumber&&!t.isDisabled&&(0,pt.jsx)(tb,{hasLabelAndIcon:n,iconPosition:i,children:(0,pt.jsx)($t,{mode:"notification",size:"small",label:typeof t.notificationNumber=="number"&&t.notificationNumber})})]})}),ob=Kr.default.button`
3720
+ text-transform: ${e=>e.theme.fontTextTransform};
3721
+ overflow: hidden;
3722
+ flex-shrink: 0;
3723
+ border: 0;
3724
+ cursor: pointer;
3725
+ display: inline-flex;
3726
+ align-items: center;
3727
+ user-select: none;
3728
+ vertical-align: middle;
3729
+ justify-content: center;
3730
+ min-width: 90px;
3731
+ max-width: 360px;
3732
+ padding: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"12px 16px"||"8px 16px"};
3733
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3734
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"47px"||"71px"};
3735
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3736
+
3737
+ &:hover {
3738
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3739
+ }
3740
+ &:active {
3741
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3742
+ }
3743
+ &:focus {
3744
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3745
+ outline-offset: -1px;
3746
+ }
3747
+
3748
+ svg,
3749
+ span:before {
3750
+ color: ${e=>e.theme.unselectedIconColor};
3751
+ }
3752
+
3753
+ &[aria-selected="true"] {
3754
+ background-color: ${e=>e.theme.selectedBackgroundColor};
3755
+ svg,
3756
+ span:before {
3757
+ color: ${e=>e.theme.selectedIconColor};
3758
+ }
3759
+ opacity: 1;
3760
+ }
3761
+
3762
+ &:disabled {
3763
+ background-color: ${e=>e.theme.unselectedBackgroundColor} !important;
3764
+ cursor: not-allowed !important;
3765
+ pointer-events: all;
3766
+ font-style: ${e=>e.theme.disabledFontStyle};
3767
+ outline: none !important;
3768
+
3769
+ svg,
3770
+ span:before {
3771
+ color: ${e=>e.theme.disabledIconColor};
3772
+ }
3773
+ > div {
3774
+ opacity: 0.5;
3775
+ }
3776
+ }
3777
+ `,tb=Kr.default.div`
3778
+ margin-left: 12px;
3779
+ height: 100%;
3780
+ display: flex;
3781
+ align-items: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"?"flex-start":"center"};
3782
+ `,rb=Kr.default.div`
3783
+ display: flex;
3784
+ flex-direction: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"column"||"row"};
3785
+ align-items: center;
3786
+ margin-left: ${e=>e.notificationNumber&&!e.disabled?typeof e.notificationNumber=="number"?"36px":"18px":"unset"};
3787
+ `,nb=Kr.default.div`
3788
+ display: flex;
3789
+ margin-bottom: ${e=>e.hasLabelAndIcon&&e.iconPosition==="top"&&"8px"||""};
3790
+ margin-right: ${e=>e.hasLabelAndIcon&&e.iconPosition==="left"&&"12px"||""};
3791
+ font-size: 22px;
3792
+
3793
+ svg {
3794
+ height: 22px;
3795
+ width: 22px;
3796
+ }
3797
+ `,qc=(0,Jn.memo)(eb);var Ye=require("react/jsx-runtime"),ib=e=>{let[t,r]=(0,ue.useState)(0),n=(0,ue.useCallback)(()=>{r(e?.current?.offsetWidth??0)},[e]);return(0,ue.useEffect)(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),t},lb=({defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a="top",tabIndex:c=0})=>{let d=k(),s=r&&r.filter(Y=>Y.label&&Y.icon).length>0,m=r&&r.findIndex(Y=>!Y.isDisabled),[g,u]=(0,ue.useState)(r&&e&&!r[e].isDisabled?e:m),[h,y]=(0,ue.useState)(0),[v,f]=(0,ue.useState)(0),[_,x]=(0,ue.useState)(0),[b,D]=(0,ue.useState)(!0),[P,B]=(0,ue.useState)(!1),[M,H]=(0,ue.useState)(0),[w,S]=(0,ue.useState)(0),[z,G]=(0,ue.useState)(t??g),[V,q]=(0,ue.useState)(t??g),[W,A]=(0,ue.useState)(0),C=(0,ue.useRef)([]),I=(0,ue.useRef)(null),T=ib(I),L=J(),E=(0,ue.useMemo)(()=>T<w,[T]);(0,ue.useEffect)(()=>{let Y=C?.current?.reduce(function(U,Me){return U+Me.offsetWidth},0);S(Y),y(C?.current[t??g]?.offsetWidth),f(C?.current[t??g]?.offsetLeft)},[C]),(0,ue.useEffect)(()=>{A(I?.current?.offsetHeight+1)},[I]),(0,ue.useEffect)(()=>{t>=0&&(y(C?.current[t]?.offsetWidth),f(C?.current[t]?.offsetLeft))},[t]);let K=Y=>{t??u(Y),n?.(Y),t===void 0&&(y(C?.current[Y]?.offsetWidth),f(C?.current[Y]?.offsetLeft))},fe=()=>{let Y=I?.current?.offsetWidth*.75,U=0;M<=Y?(U=0,B(!1),D(!0)):(U=M-Y,D(!0),B(!0)),x(-U),H(U)},N=()=>{let Y=I?.current?.offsetWidth*.75,U=0;M+Y+I?.current?.offsetWidth>=w?(U=w-I?.current?.offsetWidth,D(!1),B(!0)):(U=M+Y,B(!0),D(!0)),x(-U),H(U)},Q=()=>{q(Y=>{let U=Y===0?r.length-1:Y-1;for(;r[U].isDisabled;)U=U===0?r.length-1:U-1;return C?.current[U].focus({preventScroll:!0}),be(U),U})},R=()=>{q(Y=>{let U=Y===r.length-1?0:Y+1;for(;r[U].isDisabled;)U=U===r.length-1?0:U+1;return C?.current[U].focus({preventScroll:!0}),be(U),U})},be=Y=>{let U=0;C?.current?.map((xe,Xt)=>{Xt<=Y&&(U+=xe.offsetWidth)});let Me=0;Y===r.length-1?(Me=w-I?.current?.offsetWidth,B(!0),D(!1)):U>I?.current?.offsetWidth?(Me=U-I?.current?.offsetWidth+1,B(!0),D(!0)):(B(!1),D(!0)),x(-Me),H(Me)},ye=Y=>{switch(Y.key){case"Left":case"ArrowLeft":Y.preventDefault(),Q();break;case"Right":case"ArrowRight":Y.preventDefault(),R();break;case"Enter":case" ":Y.preventDefault(),G(V),K(V);break;case"Tab":V!==z&&(Y.preventDefault(),q(z),C?.current[z].focus()),K(z);break}},Ce=Y=>t>=0?t===Y:g===Y,O=m===-1||r&&t>=0&&r[t].isDisabled;return(0,Ye.jsx)(zo.ThemeProvider,{theme:d.tabs,children:(0,Ye.jsxs)(cb,{margin:l,children:[(0,Ye.jsx)(ab,{}),(0,Ye.jsxs)(db,{hasLabelAndIcon:s,iconPosition:a,children:[(0,Ye.jsx)(Qc,{onClick:fe,enabled:E,disabled:!P,"aria-label":L.tabs.scrollLeft,tabIndex:P?c:-1,minHeightTabs:W,children:(0,Ye.jsx)($,{icon:"keyboard_arrow_left"})}),(0,Ye.jsx)(mb,{children:(0,Ye.jsxs)(pb,{translateScroll:_,ref:I,enabled:E,children:[(0,Ye.jsx)(gb,{role:"tablist",onKeyDown:ye,minHeightTabs:W,children:r.map((Y,U)=>(0,Ye.jsx)(qc,{tab:Y,active:Ce(U),tabIndex:Ce(U)&&!Y.isDisabled?c:-1,hasLabelAndIcon:s,iconPosition:a,ref:Me=>{C.current[U]=Me},onClick:()=>{G(U),q(U),K(U)},onMouseEnter:()=>{i?.(U)},onMouseLeave:()=>{i?.(null)}},`tab${U}${Y.label}`))}),(0,Ye.jsx)(sb,{tabWidth:h,tabLeft:v,"aria-disabled":O})]})}),(0,Ye.jsx)(Qc,{onClick:N,enabled:E,disabled:!b,"aria-label":L.tabs.scrollRight,tabIndex:b?c:-1,minHeightTabs:W,children:(0,Ye.jsx)($,{icon:"keyboard_arrow_right"})})]})]})})},ab=zo.default.div`
3798
+ position: absolute;
3799
+ left: 0;
3800
+ bottom: 0;
3801
+ width: 100%;
3802
+ height: ${e=>e.theme.dividerThickness};
3803
+ background-color: ${e=>e.theme.dividerColor};
3804
+ `,cb=zo.default.div`
3805
+ position: relative;
3806
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3807
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3808
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3809
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3810
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3811
+ `,db=zo.default.div`
3812
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3813
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3814
+ display: flex;
3815
+ overflow: hidden;
3816
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3817
+ `,Qc=zo.default.button`
3818
+ box-sizing: border-box;
3819
+ display: ${e=>e.enabled?"flex":"none"};
3820
+ justify-content: center;
3821
+ min-width: ${e=>e.theme.scrollButtonsWidth};
3822
+ height: ${e=>e.minHeightTabs-1}px;
3823
+ padding: 0;
3824
+ border: none;
3825
+ background-color: #ffffff;
3826
+ font-size: 1.25rem;
3827
+ cursor: pointer;
3828
+
3829
+ &:hover {
3830
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3831
+ }
3832
+ &:focus {
3833
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3834
+ outline-offset: -1px;
3835
+ }
3836
+ &:active {
3837
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3838
+ }
3839
+ &:disabled {
3840
+ cursor: default;
3841
+ display: none;
3842
+ svg {
3843
+ visibility: hidden;
3844
+ }
3845
+ &:focus {
3846
+ outline: none;
3847
+ }
3848
+ &:hover,
3849
+ &:active {
3850
+ background-color: transparent !important;
3851
+ }
3852
+ }
3853
+
3854
+ span {
3855
+ align-self: center;
3856
+ height: 20px;
3857
+ width: 20px;
3858
+ }
3859
+
3860
+ span::before {
3861
+ color: ${e=>e.theme.unselectedFontColor};
3862
+ }
3863
+ `,sb=zo.default.span`
3864
+ position: absolute;
3865
+ bottom: 0;
3866
+ left: ${e=>`${e.tabLeft}px`};
3867
+ width: ${e=>`${e.tabWidth}px`};
3868
+ height: ${e=>e.theme.selectedUnderlineThickness};
3869
+ background-color: ${e=>e.theme.selectedUnderlineColor};
3870
+ &[aria-disabled="true"] {
3871
+ background-color: ${e=>e.theme.disabledFontColor};
3872
+ display: none;
3873
+ }
3874
+ `,mb=zo.default.div`
3875
+ flex: 1 1 auto;
3876
+ display: inline-block;
3877
+ position: relative;
3878
+ white-space: nowrap;
3879
+ overflow-x: scroll;
3880
+ ::-webkit-scrollbar {
3881
+ display: none;
3882
+ }
3883
+ `,gb=zo.default.div`
3884
+ display: flex;
3885
+ min-height: ${e=>e.minHeightTabs}px;
3886
+ `,pb=zo.default.div`
3887
+ display: flex;
3888
+ ${e=>e.enabled?`transform: translateX(${e.translateScroll}px)`:"transform: translateX(0px)"};
3889
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3890
+ `,ed=lb;var Be=require("react/jsx-runtime"),ub=e=>{let[t,r]=(0,oe.useState)(0),n=(0,oe.useCallback)(()=>{r(e?.current?.offsetWidth??0)},[e]);return(0,oe.useEffect)(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[n]),t},hb=(e,t)=>{let r=t===0?e.length-1:t-1;for(;e[r].props.disabled;)r=r===0?e.length-1:r-1;return r},fb=(e,t)=>{let r=t===e.length-1?0:t+1;for(;e[r].props.disabled;)r=r===e.length-1?0:r+1;return r},td=({defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a="top",tabIndex:c=0,children:d})=>{let s=(0,oe.useMemo)(()=>oe.Children.toArray(d),[d]),m=(0,oe.useMemo)(()=>s.some(N=>(0,oe.isValidElement)(N)&&N.props.icon&&N.props.label),[s]),[g,u]=(0,oe.useState)(()=>{let Q=s.some(R=>(0,oe.isValidElement)(R)&&(R.props.active||R.props.defaultActive)&&!R.props.disabled)?s.find(R=>(0,oe.isValidElement)(R)&&(R.props.active||R.props.defaultActive)&&!R.props.disabled):s.find(R=>(0,oe.isValidElement)(R)&&!R.props.disabled);return(0,oe.isValidElement)(Q)?Q.props.label:""}),[h,y]=(0,oe.useState)(null),[v,f]=(0,oe.useState)(0),[_,x]=(0,oe.useState)(0),[b,D]=(0,oe.useState)(0),[P,B]=(0,oe.useState)(0),[M,H]=(0,oe.useState)(0),[w,S]=(0,oe.useState)(!0),[z,G]=(0,oe.useState)(!1),[V,q]=(0,oe.useState)(0),W=(0,oe.useRef)(null),A=k(),C=ub(W),I=J(),T=(0,oe.useMemo)(()=>C<P,[C]);(0,oe.useEffect)(()=>{W.current&&(B(W.current.firstElementChild?.offsetWidth),q(W?.current?.offsetHeight+1))},[]);let L=(0,oe.useMemo)(()=>{let N=s[h];return{iconPosition:a,tabIndex:c,focusedLabel:(0,oe.isValidElement)(N)&&N.props.label,isControlled:s.some(Q=>(0,oe.isValidElement)(Q)&&typeof Q.props.active<"u"),activeLabel:g,hasLabelAndIcon:m,setActiveLabel:u,setActiveIndicatorWidth:f,setActiveIndicatorLeft:x}},[a,c,h,g,s,m]),E=()=>{let N=W?.current?.offsetWidth*.75,Q=0;b<=N?(Q=0,G(!1),S(!0)):(Q=b-N,S(!0),G(!0)),H(-Q),D(Q)},K=()=>{let N=W?.current?.offsetWidth*.75,Q=0;b+N+W?.current?.offsetWidth>=P?(Q=P-W?.current?.offsetWidth,S(!1),G(!0)):(Q=b+N,G(!0),S(!0)),H(-Q),D(Q)},fe=N=>{let Q=s.findIndex(R=>R.props.label===g);switch(N.key){case"Left":case"ArrowLeft":N.preventDefault(),y(hb(s,h===null?Q:h));break;case"Right":case"ArrowRight":N.preventDefault(),y(fb(s,h===null?Q:h));break;case"Tab":Q!==h&&y(Q);break}};return d?(0,Be.jsxs)(Be.Fragment,{children:[(0,Be.jsx)(Ao.ThemeProvider,{theme:A.tabs,children:(0,Be.jsxs)(yb,{margin:l,children:[(0,Be.jsx)(bb,{}),(0,Be.jsxs)(Cb,{hasLabelAndIcon:m,iconPosition:a,children:[(0,Be.jsx)(od,{onClick:E,enabled:T,disabled:!z,"aria-label":I.tabs.scrollLeft,tabIndex:z?c:-1,minHeightTabs:V,children:(0,Be.jsx)($,{icon:"keyboard_arrow_left"})}),(0,Be.jsx)(_b,{children:(0,Be.jsxs)(vb,{translateScroll:M,ref:W,enabled:T,children:[(0,Be.jsx)($b,{role:"tablist",onKeyDown:fe,minHeightTabs:V,children:(0,Be.jsx)(Xn.Provider,{value:L,children:d})}),(0,Be.jsx)(xb,{tabWidth:v,tabLeft:_,"aria-disabled":s.some(N=>(0,oe.isValidElement)(N)&&g===N.props.label&&N.props.disabled)})]})}),(0,Be.jsx)(od,{onClick:K,enabled:T,disabled:!w,"aria-label":I.tabs.scrollRight,tabIndex:w?c:-1,minHeightTabs:V,children:(0,Be.jsx)($,{icon:"keyboard_arrow_right"})})]})]})}),oe.Children.map(d,N=>(0,oe.isValidElement)(N)&&N.props.label===g?N.props.children:null)]}):r&&(0,Be.jsx)(ed,{defaultActiveTabIndex:e,activeTabIndex:t,tabs:r,onTabClick:n,onTabHover:i,margin:l,iconPosition:a,tabIndex:c})},bb=Ao.default.div`
3891
+ position: absolute;
3892
+ left: 0;
3893
+ bottom: 0;
3894
+ width: 100%;
3895
+ height: ${e=>e.theme.dividerThickness};
3896
+ background-color: ${e=>e.theme.dividerColor};
3897
+ `;td.Tab=Zc;var yb=Ao.default.div`
3898
+ position: relative;
3899
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
3900
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
3901
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
3902
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
3903
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
3904
+ `,Cb=Ao.default.div`
3905
+ min-height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3906
+ height: ${e=>(!e.hasLabelAndIcon||e.hasLabelAndIcon&&e.iconPosition!=="top")&&"48px"||"72px"};
3907
+ display: flex;
3908
+ overflow: hidden;
3909
+ background-color: ${e=>e.theme.unselectedBackgroundColor};
3910
+ `,od=Ao.default.button`
3911
+ box-sizing: border-box;
3912
+ display: ${e=>e.enabled?"flex":"none"};
3913
+ justify-content: center;
3914
+ min-width: ${e=>e.theme.scrollButtonsWidth};
3915
+ height: ${e=>e.minHeightTabs-1}px;
3916
+ padding: 0;
3917
+ border: none;
3918
+ background-color: #ffffff;
3919
+ font-size: 1.25rem;
3920
+ cursor: pointer;
3921
+
3922
+ &:hover {
3923
+ background-color: ${e=>`${e.theme.hoverBackgroundColor} !important`};
3924
+ }
3925
+ &:focus {
3926
+ outline: ${e=>e.theme.focusOutline} solid 1px;
3927
+ outline-offset: -1px;
3928
+ }
3929
+ &:active {
3930
+ background-color: ${e=>`${e.theme.pressedBackgroundColor} !important`};
3931
+ }
3932
+ &:disabled {
3933
+ cursor: default;
3934
+ display: none;
3935
+ svg {
3936
+ visibility: hidden;
3937
+ }
3938
+ &:focus {
3939
+ outline: none;
3940
+ }
3941
+ &:hover,
3942
+ &:active {
3943
+ background-color: transparent !important;
3944
+ }
3945
+ }
3946
+
3947
+ span {
3948
+ align-self: center;
3949
+ height: 20px;
3950
+ width: 20px;
3951
+ }
3952
+
3953
+ span::before {
3954
+ color: ${e=>e.theme.unselectedFontColor};
3955
+ }
3956
+ `,xb=Ao.default.span`
3957
+ position: absolute;
3958
+ bottom: 0;
3959
+ left: ${e=>`${e.tabLeft}px`};
3960
+ width: ${e=>`${e.tabWidth}px`};
3961
+ height: ${e=>e.theme.selectedUnderlineThickness};
3962
+ background-color: ${e=>e.theme.selectedUnderlineColor};
3963
+ &[aria-disabled="true"] {
3964
+ background-color: ${e=>e.theme.disabledFontColor};
3965
+ display: none;
3966
+ }
3967
+ `,_b=Ao.default.div`
3968
+ flex: 1 1 auto;
3969
+ display: inline-block;
3970
+ position: relative;
3971
+ white-space: nowrap;
3972
+ overflow-x: scroll;
3973
+ ::-webkit-scrollbar {
3974
+ display: none;
3975
+ }
3976
+ `,$b=Ao.default.div`
3977
+ display: flex;
3978
+ min-height: ${e=>e.minHeightTabs}px;
3979
+ `,vb=Ao.default.div`
3980
+ display: flex;
3981
+ ${e=>e.enabled?`transform: translateX(${e.translateScroll}px)`:"transform: translateX(0px)"};
3982
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
3983
+ `,rd=td;var ld=require("react"),ut=F(require("styled-components"));var He=require("react/jsx-runtime"),Tb=({condition:e,wrapper:t,children:r})=>(0,He.jsx)(He.Fragment,{children:e?t(r):r}),kb=({icon:e,label:t="",linkHref:r,onClick:n,iconBgColor:i="#5f249f",labelPosition:l="after",newWindow:a=!1,margin:c,size:d="fitContent",tabIndex:s=0})=>{let m=k(),[g,u]=(0,ld.useState)(!1);return(0,He.jsx)(ut.ThemeProvider,{theme:m.tag,children:(0,He.jsx)(wb,{margin:c,size:d,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),onClick:()=>{n?.()},hasAction:n||r,shadowDepth:g&&(n||r)?2:1,children:(0,He.jsx)(Tb,{condition:!!n||!!r,wrapper:h=>n?(0,He.jsx)(Bb,{tabIndex:s,children:h}):r?(0,He.jsx)(Ib,{tabIndex:s,href:r,target:a?"_blank":"_self",children:h}):(0,He.jsx)(He.Fragment,{}),children:(0,He.jsxs)(Sb,{children:[l==="before"&&d!=="small"&&t&&(0,He.jsx)(id,{children:t}),e&&(0,He.jsx)(Pb,{iconBgColor:i,children:typeof e=="string"?(0,He.jsx)($,{icon:e}):e}),l==="after"&&d!=="small"&&t&&(0,He.jsx)(id,{children:t})]})})})})},nd={small:"42px",medium:"240px",large:"480px",fillParent:"100%",fitContent:"fit-content"},Fb=(e,t)=>t==="fillParent"?`calc(${nd[t]} - ${X(e,"left")} - ${X(e,"right")})`:nd[t],wb=ut.default.div`
3984
+ display: inline-flex;
3985
+ cursor: ${({hasAction:e})=>e&&"pointer"||"unset"};
3986
+ margin: ${({margin:e})=>e&&typeof e!="object"?p[e]:"0px"};
3987
+ margin-top: ${({margin:e})=>e&&typeof e=="object"&&e.top?p[e.top]:""};
3988
+ margin-right: ${({margin:e})=>e&&typeof e=="object"&&e.right?p[e.right]:""};
3989
+ margin-bottom: ${({margin:e})=>e&&typeof e=="object"&&e.bottom?p[e.bottom]:""};
3990
+ margin-left: ${({margin:e})=>e&&typeof e=="object"&&e.left?p[e.left]:""};
3991
+ width: ${e=>Fb(e.margin,e.size)};
3992
+ height: ${e=>e.theme.height};
3993
+ box-shadow: ${({shadowDepth:e})=>e===1?`0px 3px 6px ${o.color_grey_300_a}`:e===2?`0px 3px 10px ${o.color_grey_300_a}`:"none"};
3994
+ `,Sb=ut.default.div`
3995
+ display: inline-flex;
3996
+ align-items: center;
3997
+ width: 100%;
3998
+ height: ${e=>e.theme.height};
3999
+ `,Ib=ut.default.a`
4000
+ text-decoration: none;
4001
+ border-radius: 4px;
4002
+ width: 100%;
4003
+ :focus {
4004
+ outline: 2px solid ${e=>e.theme.focusColor};
4005
+ outline-offset: 0px;
4006
+ }
4007
+ `,Bb=ut.default.button`
4008
+ background: none;
4009
+ border-radius: 4px;
4010
+ border: none;
4011
+ padding: 0;
4012
+ cursor: pointer;
4013
+ font-family: inherit;
4014
+ width: 100%;
4015
+ :focus {
4016
+ outline: 2px solid ${e=>e.theme.focusColor};
4017
+ }
4018
+ `,Pb=ut.default.div`
4019
+ display: inline-flex;
4020
+ background: ${({iconBgColor:e})=>e};
4021
+ width: ${e=>e.theme.iconSectionWidth};
4022
+ height: 100%;
4023
+ justify-content: center;
4024
+ align-items: center;
4025
+ color: ${e=>e.theme.iconColor};
4026
+ min-width: ${e=>e.theme.iconSectionWidth};
4027
+ overflow: hidden;
4028
+ font-size: 24px;
4029
+
4030
+ svg {
4031
+ width: ${e=>e.theme.iconWidth};
4032
+ height: ${e=>e.theme.iconHeight};
4033
+ }
4034
+ `,id=ut.default.div`
4035
+ font-family: ${e=>e.theme.fontFamily};
4036
+ font-size: ${e=>e.theme.fontSize};
4037
+ font-style: ${e=>e.theme.fontStyle};
4038
+ font-weight: ${e=>e.theme.fontWeight};
4039
+ color: ${e=>e.theme.fontColor};
4040
+ padding-top: ${e=>e.theme.labelPaddingTop};
4041
+ padding-bottom: ${e=>e.theme.labelPaddingBottom};
4042
+ padding-left: ${e=>e.theme.labelPaddingLeft};
4043
+ padding-right: ${e=>e.theme.labelPaddingRight};
4044
+ flex-grow: 1;
4045
+ text-align: center;
4046
+ text-overflow: ellipsis;
4047
+ overflow: hidden;
4048
+ white-space: nowrap;
4049
+ `,ad=kb;var Ro=require("react"),ft=F(require("styled-components"));var ht=require("react/jsx-runtime"),cd=(e,t)=>new RegExp(e).test(t),Lb=(0,Ro.forwardRef)(({label:e,name:t="",defaultValue:r="",value:n,helperText:i,placeholder:l="",disabled:a=!1,readOnly:c=!1,optional:d=!1,verticalGrow:s="auto",rows:m=4,onChange:g,onBlur:u,error:h,pattern:y,minLength:v,maxLength:f,autocomplete:_="off",margin:x,size:b="medium",tabIndex:D=0},P)=>{let[B,M]=(0,Ro.useState)(r),H=`textarea-${(0,Ro.useId)()}`,w=k(),S=J(),z=(0,Ro.useRef)(null),G=(0,Ro.useRef)(null),V=`error-${H}`,q=T=>T===""&&!d,W=T=>T!==""&&v&&f&&(T.length<v||T.length>f),A=T=>{n??M(T),q(T)?g?.({value:T,error:S.formFields.requiredValueErrorMessage}):W(T)?g?.({value:T,error:S.formFields.lengthErrorMessage(v,f)}):T&&y&&!cd(y,T)?g?.({value:T,error:S.formFields.formatRequestedErrorMessage}):g?.({value:T})},C=T=>{q(T.target.value)?u?.({value:T.target.value,error:S.formFields.requiredValueErrorMessage}):W(T.target.value)?u?.({value:T.target.value,error:S.formFields.lengthErrorMessage(v,f)}):T.target.value&&y&&!cd(y,T.target.value)?u?.({value:T.target.value,error:S.formFields.formatRequestedErrorMessage}):u?.({value:T.target.value})},I=T=>{A(T.target.value)};return(0,Ro.useEffect)(()=>{if(s==="auto"&&G.current!==(n??B)){let T=parseInt(window.getComputedStyle(z.current)["line-height"]),L=parseInt(window.getComputedStyle(z.current)["padding-top"])*2;z.current.style.height=`${T*m}px`;let E=z.current.scrollHeight-L;z.current.style.height=`${E}px`,G.current=n??B}},[s,n,B,m]),(0,ht.jsx)(ft.ThemeProvider,{theme:w.textarea,children:(0,ht.jsxs)(zb,{margin:x,size:b,ref:P,children:[e&&(0,ht.jsxs)(Ab,{htmlFor:H,disabled:a,helperText:i,children:[e," ",d&&(0,ht.jsx)(Rb,{children:S.formFields.optionalLabel})]}),i&&(0,ht.jsx)(Hb,{disabled:a,children:i}),(0,ht.jsx)(Mb,{id:H,name:t,value:n??B,placeholder:l,verticalGrow:s,rows:m,onChange:I,onBlur:C,disabled:a,readOnly:c,error:h,minLength:v,maxLength:f,autoComplete:_,ref:z,tabIndex:D,"aria-invalid":!!h,"aria-errormessage":h?V:void 0,"aria-required":!a&&!d}),!a&&typeof h=="string"&&(0,ht.jsx)(Eb,{id:V,role:"alert","aria-live":h?"assertive":"off",children:h})]})})}),dd={small:"240px",medium:"360px",large:"480px",fillParent:"100%"},Db=(e,t)=>t==="fillParent"?`calc(${dd[t]} - ${X(e,"left")} - ${X(e,"right")})`:dd[t],zb=ft.default.div`
4050
+ display: flex;
4051
+ flex-direction: column;
4052
+ width: ${e=>Db(e.margin,e.size)};
4053
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4054
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4055
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4056
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4057
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4058
+ `,Ab=ft.default.label`
4059
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
4060
+
4061
+ font-family: ${e=>e.theme.fontFamily};
4062
+ font-size: ${e=>e.theme.labelFontSize};
4063
+ font-style: ${e=>e.theme.labelFontStyle};
4064
+ font-weight: ${e=>e.theme.labelFontWeight};
4065
+ line-height: ${e=>e.theme.labelLineHeight};
4066
+ ${e=>!e.helperText&&"margin-bottom: 0.25rem"}
4067
+ `,Rb=ft.default.span`
4068
+ font-weight: ${e=>e.theme.optionalLabelFontWeight};
4069
+ `,Hb=ft.default.span`
4070
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
4071
+
4072
+ font-family: ${e=>e.theme.fontFamily};
4073
+ font-size: ${e=>e.theme.helperTextFontSize};
4074
+ font-style: ${e=>e.theme.helperTextFontStyle};
4075
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4076
+ line-height: ${e=>e.theme.helperTextLineHeight};
4077
+ margin-bottom: 0.25rem;
4078
+ `,Mb=ft.default.textarea`
4079
+ ${({verticalGrow:e})=>e==="none"?"resize: none;":e==="auto"?"resize: none; overflow: hidden;":e==="manual"?"resize: vertical;":"resize: none;"};
4080
+
4081
+ ${e=>e.disabled?`background-color: ${e.theme.disabledContainerFillColor};`:"background-color: transparent;"}
4082
+
4083
+ padding: 0.5rem 1rem;
4084
+ box-shadow: 0 0 0 2px transparent;
4085
+ border-radius: 0.25rem;
4086
+ border: 1px solid
4087
+ ${e=>{if(e.disabled)return e.theme.disabledBorderColor;if(e.error)return"transparent";if(e.readOnly)return e.theme.readOnlyBorderColor;e.theme.enabledBorderColor}};
4088
+
4089
+ ${e=>e.error&&!e.disabled&&`box-shadow: 0 0 0 2px ${e.theme.errorBorderColor};
4090
+ `}
4091
+
4092
+ ${e=>e.disabled?"cursor: not-allowed;":`&:hover {
4093
+ border-color: ${e.error?"transparent":e.readOnly?e.theme.hoverReadOnlyBorderColor:e.theme.hoverBorderColor};
4094
+ ${e.error&&`box-shadow: 0 0 0 2px ${e.theme.hoverErrorBorderColor};`}
4095
+ }
4096
+ &:focus, &:focus-within {
4097
+ outline: none;
4098
+ border-color: transparent;
4099
+ box-shadow: 0 0 0 2px ${e.theme.focusBorderColor};
4100
+ }`};
4101
+
4102
+ color: ${e=>e.disabled?e.theme.disabledValueFontColor:e.theme.valueFontColor};
4103
+ font-family: ${e=>e.theme.fontFamily};
4104
+ font-size: ${e=>e.theme.valueFontSize};
4105
+ font-style: ${e=>e.theme.valueFontStyle};
4106
+ font-weight: ${e=>e.theme.valueFontWeight};
4107
+ line-height: 1.5em;
4108
+
4109
+ ::placeholder {
4110
+ color: ${e=>e.disabled?e.theme.disabledPlaceholderFontColor:e.theme.placeholderFontColor};
4111
+ }
4112
+ `,Eb=ft.default.span`
4113
+ color: ${e=>e.theme.errorMessageColor};
4114
+ font-family: ${e=>e.theme.fontFamily};
4115
+ font-size: 0.75rem;
4116
+ font-weight: 400;
4117
+ min-height: 1.5em;
4118
+ line-height: 1.5em;
4119
+ margin-top: 0.25rem;
4120
+ `,sd=Lb;var _o=require("react"),gd=require("react-dom"),pd=F(require("styled-components"));var Yr=require("react"),tr=F(require("styled-components"));var jt=require("react"),Wb=(e,t)=>{let r=(0,jt.useRef)(),n=(0,jt.useRef)(),i=(0,jt.useCallback)(()=>clearTimeout(n.current),[]);return(0,jt.useEffect)(()=>{r.current=e},[e]),(0,jt.useEffect)(()=>{if(t!=null)return n.current=setTimeout(r.current,t),i},[t,i]),i},Ti=Wb;var po=require("react/jsx-runtime"),Ur=e=>{switch(e){case"info":return{primaryColor:o.color_blue_700,secondaryColor:o.color_blue_100,icon:"filled_info"};case"success":return{primaryColor:o.color_green_700,secondaryColor:o.color_green_100,icon:"filled_check_circle"};case"warning":return{primaryColor:o.color_orange_700,secondaryColor:o.color_orange_100,icon:"filled_warning"};default:return{primaryColor:o.color_purple_700,secondaryColor:o.color_purple_100,icon:""}}},Ob=tr.default.div`
4121
+ display: flex;
4122
+ align-items: center;
4123
+ gap: ${o.spacing_8};
4124
+ overflow: hidden;
4125
+
4126
+ ${({loading:e})=>!e&&`font-size: ${o.type_scale_05}`};
4127
+ > svg {
4128
+ width: 24px;
4129
+ height: 24px;
4130
+ }
4131
+ `,Gb=tr.default.span`
4132
+ color: ${o.color_black};
4133
+ font-family: ${o.type_sans};
4134
+ font-size: ${o.type_scale_02};
4135
+ font-weight: ${o.type_semibold};
4136
+ overflow: hidden;
4137
+ text-overflow: ellipsis;
4138
+ white-space: nowrap;
4139
+ `,Nb=tr.keyframes`
4140
+ 0% {
4141
+ transform: translateY(100%);
4142
+ opacity: 0;
4143
+ }
4144
+ 100% {
4145
+ transform: translateY(0);
4146
+ opacity: 1;
4147
+ }
4148
+ `,Vb=tr.keyframes`
4149
+ 0% {
4150
+ transform: translateY(0);
4151
+ opacity: 1;
4152
+ }
4153
+ 100% {
4154
+ transform: translateY(100%);
4155
+ opacity: 0;
4156
+ }
4157
+ `,jb=tr.default.output`
4158
+ box-sizing: border-box;
4159
+ min-width: 200px;
4160
+ max-width: 600px;
4161
+ width: fit-content;
4162
+ border-radius: ${o.border_radius_medium};
4163
+ border-left: ${o.border_width_2} solid ${({semantic:e})=>Ur(e).primaryColor};
4164
+ box-shadow: 0px 2px 2px 0px rgba(181, 181, 181, 0.4);
4165
+ display: inline-flex;
4166
+ justify-content: space-between;
4167
+ gap: ${o.spacing_24};
4168
+ padding: ${o.spacing_8} ${o.spacing_12};
4169
+ background-color: ${({semantic:e})=>Ur(e).secondaryColor};
4170
+ color: ${({semantic:e})=>Ur(e).primaryColor};
4171
+ animation: ${({isClosing:e})=>e?Vb:Nb} 0.3s ease forwards;
4172
+
4173
+ @media (max-width: ${de.medium}rem) {
4174
+ max-width: 100%;
4175
+ }
4176
+ `,Xb={spinner:{accentColor:Ur("info").primaryColor}},Jb=(0,Yr.memo)(({icon:e,hideSemanticIcon:t,loading:r,semantic:n})=>n==="default"?typeof e=="string"?(0,po.jsx)($,{icon:e}):e:n==="info"&&r?(0,po.jsx)(Ho,{theme:Xb,children:(0,po.jsx)(Vn,{mode:"small"})}):!t&&(0,po.jsx)($,{icon:Ur(n).icon})),Kb=({action:e,duration:t,hideSemanticIcon:r,icon:n,loading:i,message:l,onClear:a,semantic:c})=>{let[d,s]=(0,Yr.useState)(!1),m=J(),g=Ti(()=>{s(!0)},i?null:t-300),u=Ti(()=>{a()},i?null:t);return(0,po.jsxs)(jb,{semantic:c,isClosing:d,role:"status",children:[(0,po.jsxs)(Ob,{loading:i,children:[(0,po.jsx)(Jb,{semantic:c,icon:n,loading:i,hideSemanticIcon:r}),(0,po.jsx)(Gb,{children:l})]}),(0,po.jsxs)(ne,{alignItems:"center",gap:"0.25rem",children:[e&&(0,po.jsx)(bo,{semantic:c,mode:"tertiary",size:{height:"small"},label:e.label,icon:e.icon,onClick:e.onClick}),(0,po.jsx)(co,{icon:"clear",title:m.toast.clearToastActionTitle,onClick:()=>{i||(g(),u()),s(!0),setTimeout(()=>{a()},300)}})]})]})},md=(0,Yr.memo)(Kb);var Zr=require("react/jsx-runtime"),ki=(0,_o.createContext)(null),Ub=e=>{let t="",r=!0;for(;r;)t=`${performance.now()}-${Math.random().toString(36).slice(2,9)}`,r=e.some(n=>n.id===t);return t},Yb=pd.default.section`
4177
+ box-sizing: border-box;
4178
+ position: fixed;
4179
+ bottom: 0;
4180
+ right: 0;
4181
+ z-index: 2147483647;
4182
+ display: flex;
4183
+ flex-direction: column;
4184
+ align-items: flex-end;
4185
+ gap: ${o.spacing_8};
4186
+ padding: ${o.spacing_24};
4187
+
4188
+ @media (max-width: ${de.medium}rem) {
4189
+ align-items: center;
4190
+ width: 100%;
4191
+ }
4192
+ `,Zb=({children:e,duration:t=3e3})=>{let[r,n]=(0,_o.useState)([]),[i,l]=(0,_o.useState)(!1),a=(0,_o.useMemo)(()=>t>5e3?5e3:t<3e3?3e3:t,[t]),c=(0,_o.useCallback)(s=>{n(m=>m.filter(g=>g.id!==s))},[]),d=(0,_o.useCallback)((s,m)=>{let g=Ub(r);return n(u=>[...u,{id:g,semantic:m,...s}].slice(-5)),()=>c(g)},[t]);return(0,_o.useEffect)(()=>{l(!0)},[]),(0,Zr.jsxs)(ki.Provider,{value:{add:d},children:[i&&(0,gd.createPortal)((0,Zr.jsx)(Yb,{children:r.map(s=>(0,Zr.jsx)(md,{duration:a,onClear:()=>{c(s.id)},...s},s.id))}),document.body),e]})},ud=Zb;var Kn=require("react"),Qo=F(require("styled-components"));var uo=require("react/jsx-runtime"),qb=({label:e,helperText:t,defaultValue:r,value:n,onChange:i,disabled:l=!1,options:a,margin:c,multiple:d=!1,tabIndex:s=0})=>{let m=`label-toggle-group-${(0,Kn.useId)()}`,[g,u]=(0,Kn.useState)(r??(d?[]:-1)),h=k(),y=f=>{let _;if(n==null)if(d&&Array.isArray(g)){if(_=g.map(x=>x),_.includes(f)){let x=_.indexOf(f);_.splice(x,1)}else _.push(f);u(_)}else u(f===g?null:f);else if(d)if(_=Array.isArray(n)?n.map(x=>x):n,_.includes(f)){let x=_.indexOf(f);_.splice(x,1)}else _.push(f);i?.(d?_:f)},v=(f,_)=>{switch(f.key){case"Enter":case" ":f.preventDefault(),y(_)}};return(0,uo.jsx)(Qo.ThemeProvider,{theme:h.toggleGroup,children:(0,uo.jsxs)(Qb,{margin:c,children:[(0,uo.jsx)(e0,{id:m,disabled:l,children:e}),(0,uo.jsx)(o0,{disabled:l,children:t}),(0,uo.jsx)(t0,{"aria-labelledby":m,children:a.map((f,_)=>(0,uo.jsx)(ge,{label:f.title,children:(0,uo.jsx)(r0,{"aria-label":f.title,"aria-pressed":d?n?Array.isArray(n)&&n.includes(f.value):Array.isArray(g)&&g.includes(f.value):n?f.value===n:f.value===g,disabled:l,onClick:()=>{y(f.value)},onKeyDown:x=>{v(x,f.value)},tabIndex:l?-1:s,hasIcon:f.icon,optionLabel:f.label,selected:d?n?Array.isArray(n)&&n.includes(f.value):Array.isArray(g)&&g.includes(f.value):n?f.value===n:f.value===g,children:(0,uo.jsxs)(ne,{alignItems:"center",children:[f.icon&&(0,uo.jsx)(i0,{optionLabel:f.label,children:typeof f.icon=="string"?(0,uo.jsx)($,{icon:f.icon}):f.icon}),f.label&&(0,uo.jsx)(n0,{children:f.label})]})},`toggle-${_}-${f.label}`)}))})]})})},Qb=Qo.default.div`
4193
+ display: inline-flex;
4194
+ flex-direction: column;
4195
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4196
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4197
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4198
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4199
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4200
+ `,e0=Qo.default.label`
4201
+ color: ${e=>e.disabled?e.theme.disabledLabelFontColor:e.theme.labelFontColor};
4202
+ font-family: ${e=>e.theme.labelFontFamily};
4203
+ font-size: ${e=>e.theme.labelFontSize};
4204
+ font-style: ${e=>e.theme.labelFontStyle};
4205
+ font-weight: ${e=>e.theme.labelFontWeight};
4206
+ line-height: ${e=>e.theme.labelLineHeight};
4207
+ `,o0=Qo.default.span`
4208
+ color: ${e=>e.disabled?e.theme.disabledHelperTextFontColor:e.theme.helperTextFontColor};
4209
+ font-family: ${e=>e.theme.helperTextFontFamily};
4210
+ font-size: ${e=>e.theme.helperTextFontSize};
4211
+ font-style: ${e=>e.theme.helperTextFontStyle};
4212
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4213
+ line-height: ${e=>e.theme.helperTextLineHeight};
4214
+ `,t0=Qo.default.div`
4215
+ display: flex;
4216
+ gap: 0.25rem;
4217
+ width: max-content;
4218
+ height: calc(48px - 4px - 4px);
4219
+ padding: 0.25rem;
4220
+ border-width: ${e=>e.theme.containerBorderThickness};
4221
+ border-style: ${e=>e.theme.containerBorderStyle};
4222
+ border-radius: ${e=>e.theme.containerBorderRadius};
4223
+ border-color: ${e=>e.theme.containerBorderColor};
4224
+ margin-top: ${e=>e.theme.containerMarginTop};
4225
+ background-color: ${e=>e.theme.containerBackgroundColor};
4226
+ `,r0=Qo.default.button`
4227
+ display: flex;
4228
+ flex-direction: column;
4229
+ justify-content: center;
4230
+ padding-left: ${e=>e.optionLabel&&e.hasIcon||e.optionLabel&&!e.hasIcon?e.theme.labelPaddingLeft:e.theme.iconPaddingLeft};
4231
+ padding-right: ${e=>e.optionLabel&&e.hasIcon||e.optionLabel&&!e.hasIcon?e.theme.labelPaddingRight:e.theme.iconPaddingRight};
4232
+ border-width: ${e=>e.theme.optionBorderThickness};
4233
+ border-style: ${e=>e.theme.optionBorderStyle};
4234
+ border-radius: ${e=>e.theme.optionBorderRadius};
4235
+ background-color: ${e=>e.selected?e.theme.selectedBackgroundColor:e.theme.unselectedBackgroundColor};
4236
+ color: ${e=>e.selected?e.theme.selectedFontColor:e.theme.unselectedFontColor};
4237
+ cursor: pointer;
4238
+
4239
+ &:hover {
4240
+ background-color: ${e=>e.selected?e.theme.selectedHoverBackgroundColor:e.theme.unselectedHoverBackgroundColor};
4241
+ }
4242
+ &:active {
4243
+ background-color: ${e=>e.selected?e.theme.selectedActiveBackgroundColor:e.theme.unselectedActiveBackgroundColor};
4244
+ color: #ffffff;
4245
+ }
4246
+ &:focus {
4247
+ outline: none;
4248
+ box-shadow: ${e=>`0 0 0 ${e.theme.optionFocusBorderThickness} ${e.theme.focusColor}`};
4249
+ }
4250
+ &:disabled {
4251
+ background-color: ${e=>e.selected?e.theme.selectedDisabledBackgroundColor:e.theme.unselectedDisabledBackgroundColor};
4252
+ color: ${e=>e.selected?e.theme.selectedDisabledFontColor:e.theme.unselectedDisabledFontColor};
4253
+ cursor: not-allowed;
4254
+ }
4255
+ `,n0=Qo.default.span`
4256
+ font-family: ${e=>e.theme.optionLabelFontFamily};
4257
+ font-size: ${e=>e.theme.optionLabelFontSize};
4258
+ font-style: ${e=>e.theme.optionLabelFontStyle};
4259
+ font-weight: ${e=>e.theme.optionLabelFontWeight};
4260
+ `,i0=Qo.default.div`
4261
+ display: flex;
4262
+ margin-right: ${e=>e.optionLabel&&e.theme.iconMarginRight};
4263
+ overflow: hidden;
4264
+ font-size: 24px;
4265
+ svg {
4266
+ height: 24px;
4267
+ width: 24px;
4268
+ }
4269
+ `,hd=qb;var yd=require("react"),ro=F(require("styled-components"));var he=require("react/jsx-runtime"),fd={validIcon:(0,he.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:[(0,he.jsx)("path",{"data-name":"Path 2946",d:"M0,0H18V18H0Z",fill:"none"}),(0,he.jsx)("path",{"data-name":"Path 2947",d:"M9.986,4a5.986,5.986,0,1,0,5.986,5.986A5.994,5.994,0,0,0,9.986,4Zm-1.5,9.727L5.5,10.734,6.551,9.679l1.938,1.93L13.42,6.679l1.055,1.063Z",transform:"translate(-0.986 -0.986)",fill:"#eafaef",opacity:"0.999"}),(0,he.jsx)("path",{"data-name":"Path 2948",d:"M9.493,2a7.493,7.493,0,1,0,7.493,7.493A7.5,7.5,0,0,0,9.493,2Zm0,13.487a5.994,5.994,0,1,1,5.994-5.994A6,6,0,0,1,9.493,15.487Zm3.439-9.306L7.994,11.119,6.054,9.186,5,10.242l3,3,5.994-5.994Z",transform:"translate(-0.493 -0.493)",fill:"#24a148"})]}),invalidIcon:(0,he.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:[(0,he.jsx)("path",{"data-name":"Path 2943",d:"M0,0H18V18H0Z",fill:"none"}),(0,he.jsx)("path",{"data-name":"Path 2944",d:"M10,4a6,6,0,1,0,6,6A6.01,6.01,0,0,0,10,4Zm3,7.945L11.945,13,10,11.06,8.059,13,7,11.945,8.944,10,7,8.059,8.059,7,10,8.944,11.945,7,13,8.059,11.06,10Z",transform:"translate(-1.002 -1.002)",fill:"#ffe6e9"}),(0,he.jsx)("path",{"data-name":"Path 2945",d:"M11.444,6.5,9.5,8.443,7.558,6.5,6.5,7.558,8.443,9.5,6.5,11.444,7.558,12.5,9.5,10.558,11.444,12.5,12.5,11.444,10.558,9.5,12.5,7.558ZM9.5,2A7.5,7.5,0,1,0,17,9.5,7.494,7.494,0,0,0,9.5,2Zm0,13.5a6,6,0,1,1,6-6A6.009,6.009,0,0,1,9.5,15.5Z",transform:"translate(-0.501 -0.501)",fill:"#d0011b"})]})},l0=({mode:e="horizontal",defaultCurrentStep:t,currentStep:r,onStepClick:n,steps:i,margin:l,tabIndex:a=0})=>{let[c,d]=(0,yd.useState)(r??t??0),s=r??c,m=k(),g=u=>{r==null&&d(u),n&&n(u)};return(0,he.jsx)(ro.ThemeProvider,{theme:m.wizard,children:(0,he.jsx)(a0,{mode:e,margin:l,role:"group",children:i?.map((u,h)=>(0,he.jsxs)(c0,{mode:e,lastStep:h===i?.length-1,children:[(0,he.jsxs)(d0,{onClick:()=>{g(h)},disabled:u.disabled,mode:e,first:h===0,last:h===i?.length-1,"aria-current":s===h?"step":"false",tabIndex:a,children:[(0,he.jsxs)(s0,{validityIcon:u.valid!==void 0,children:[(0,he.jsx)(m0,{current:h===s,visited:h<s,disabled:u.disabled,children:u.icon?typeof u.icon=="string"?(0,he.jsx)($,{icon:u.icon}):u.icon:(0,he.jsx)(g0,{children:h+1})}),u.valid!==void 0&&(u.valid?(0,he.jsx)(bd,{children:fd.validIcon}):(0,he.jsx)(bd,{children:fd.invalidIcon}))]}),(u.label||u.description)&&(0,he.jsxs)(p0,{children:[u.label&&(0,he.jsx)(u0,{current:h===s,disabled:u.disabled,visited:h<=c,children:u.label}),u.description&&(0,he.jsx)(h0,{current:h===s,disabled:u.disabled,visited:h<=c,children:u.description})]})]}),h===i.length-1?"":(0,he.jsx)(f0,{mode:e})]},`step${h}`))})})},a0=ro.default.div`
4270
+ display: flex;
4271
+ flex-direction: ${e=>e.mode==="vertical"?"column":"row"};
4272
+ justify-content: center;
4273
+ ${e=>e.mode==="vertical"&&"height: 500px"};
4274
+ font-family: ${e=>e.theme.fontFamily};
4275
+ margin: ${e=>e.margin&&typeof e.margin!="object"?p[e.margin]:"0px"};
4276
+ margin-top: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.top?p[e.margin.top]:""};
4277
+ margin-right: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.right?p[e.margin.right]:""};
4278
+ margin-bottom: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.bottom?p[e.margin.bottom]:""};
4279
+ margin-left: ${e=>e.margin&&typeof e.margin=="object"&&e.margin.left?p[e.margin.left]:""};
4280
+ `,c0=ro.default.div`
4281
+ display: inline-flex;
4282
+ ${e=>e.mode!=="vertical"&&"align-items: center;"}
4283
+ flex-grow: ${e=>e.lastStep?"0":"1"};
4284
+ flex-direction: ${e=>e.mode==="vertical"?"column":"row"};
4285
+ ${e=>e.mode==="vertical"&&"width: fit-content;"}
4286
+ `,d0=ro.default.button`
4287
+ display: flex;
4288
+ justify-content: flex-start;
4289
+ align-items: center;
4290
+ border: none;
4291
+ border-radius: 0.25rem;
4292
+ background: inherit;
4293
+ margin: ${e=>e.first?e.mode==="vertical"?"0 0 24px 0":"0 24px 0 0":e.last?e.mode==="vertical"?"24px 0 0 0":"0 0 0 24px":e.mode==="vertical"?"24px 0":"0 24px"};
4294
+
4295
+ padding: 0px;
4296
+ ${e=>e.disabled?"cursor: not-allowed":""};
4297
+
4298
+ &:hover {
4299
+ ${e=>e.disabled?"":"cursor: pointer"};
4300
+ }
4301
+ &:focus {
4302
+ outline: 2px solid ${e=>e.theme.focusColor};
4303
+ }
4304
+ `,s0=ro.default.div`
4305
+ position: relative;
4306
+ display: inline-flex;
4307
+ ${e=>e.validityIcon&&"padding-bottom: 4px;"}
4308
+ `,m0=ro.default.div`
4309
+ width: ${e=>e.disabled?e.theme.disabledStepWidth:e.current?e.theme.selectedStepWidth:e.theme.stepWidth};
4310
+ height: ${e=>e.disabled?e.theme.disabledStepHeight:e.current?e.theme.selectedStepHeight:e.theme.stepHeight};
4311
+
4312
+ ${e=>`
4313
+ ${e.disabled?`border: ${e.theme.disabledStepBorderThickness} ${e.theme.disabledStepBorderStyle} ${e.theme.disabledStepBorderColor};`:e.current?`border: ${e.theme.selectedStepBorderThickness} ${e.theme.selectedStepBorderStyle} ${e.theme.selectedStepBorderColor};`:e.visited?`border: ${e.theme.stepBorderThickness} ${e.theme.stepBorderStyle} ${e.theme.visitedStepBorderColor};`:`border: ${e.theme.stepBorderThickness} ${e.theme.stepBorderStyle} ${e.theme.unvisitedStepBorderColor};`}
4314
+ background: ${e.disabled?`${e.theme.disabledStepBackgroundColor}`:e.current?`${e.theme.selectedStepBackgroundColor}`:e.visited?`${e.theme.visitedStepBackgroundColor}`:`${e.theme.unvisitedStepBackgroundColor}`};
4315
+ `}
4316
+ ${e=>e.disabled?`color: ${e.theme.disabledStepFontColor};`:`color: ${e.current?e.theme.selectedStepFontColor:e.visited?e.theme.visitedStepFontColor:e.theme.unvisitedStepFontColor};`};
4317
+
4318
+ border-radius: ${e=>!e.current&&!e.disabled?e.theme.stepBorderRadius:e.current?e.theme.selectedStepBorderRadius:e.disabled?e.theme.disabledStepBorderRadius:""};
4319
+
4320
+ display: flex;
4321
+ justify-content: center;
4322
+ align-items: center;
4323
+ overflow: hidden;
4324
+ font-size: ${e=>e.theme.stepIconSize};
4325
+ svg {
4326
+ width: ${e=>e.theme.stepIconSize};
4327
+ height: ${e=>e.theme.stepIconSize};
4328
+ }
4329
+ `,g0=ro.default.p`
4330
+ font-size: ${e=>e.theme.stepFontSize};
4331
+ font-family: ${e=>e.theme.stepFontFamily};
4332
+ font-style: ${e=>e.theme.stepFontStyle};
4333
+ font-weight: ${e=>e.theme.stepFontWeight};
4334
+ letter-spacing: ${e=>e.theme.stepFontTracking};
4335
+ opacity: 1;
4336
+ margin: 0px 0px 0px 1px;
4337
+ `,bd=ro.default.div`
4338
+ width: 18px;
4339
+ height: 18px;
4340
+ position: absolute;
4341
+ top: 22.5px;
4342
+ left: 22.5px;
4343
+ `,p0=ro.default.div`
4344
+ margin-left: 12px;
4345
+ `,u0=ro.default.p`
4346
+ text-align: ${e=>e.theme.labelTextAlign};
4347
+ font-family: ${e=>e.theme.labelFontFamily};
4348
+ font-size: ${e=>e.theme.labelFontSize};
4349
+ font-style: ${e=>e.theme.labelFontStyle};
4350
+ font-weight: ${e=>e.theme.labelFontWeight};
4351
+ letter-spacing: ${e=>e.theme.labelFontTracking};
4352
+ ${e=>e.disabled?`color: ${e.theme.disabledLabelFontColor};`:`color: ${e.visited?e.current?e.theme.selectedLabelFontColor:e.theme.visitedLabelFontColor:e.theme.unvisitedLabelFontColor};`};
4353
+ text-transform: ${e=>e.theme.labelFontTextTransform};
4354
+ margin: 0;
4355
+ `,h0=ro.default.p`
4356
+ text-align: ${e=>e.theme.helperTextTextAlign};
4357
+ font-family: ${e=>e.theme.helperTextFontFamily};
4358
+ font-size: ${e=>e.theme.helperTextFontSize};
4359
+ font-style: ${e=>e.theme.helperTextFontStyle};
4360
+ font-weight: ${e=>e.theme.helperTextFontWeight};
4361
+ letter-spacing: ${e=>e.theme.helperTextFontTracking};
4362
+ text-transform: ${e=>e.theme.helperTextFontTextTransform};
4363
+ ${e=>e.disabled?`color: ${e.theme.disabledHelperTextFontColor};`:`color: ${e.visited?e.current?e.theme.selectedHelperTextFontColor:e.theme.visitedHelperTextFontColor:e.theme.unvisitedHelperTextFontColor};`};
4364
+ margin: 0;
4365
+ `,f0=ro.default.div`
4366
+ ${e=>e.mode==="horizontal"?"height: 0;":"width: 0;"};
4367
+ ${e=>e.mode==="vertical"&&"margin: 0 18px;"}
4368
+ border: ${e=>`${e.theme.separatorBorderStyle} ${e.theme.separatorBorderThickness} ${e.theme.separatorColor}`};
4369
+ opacity: 1;
4370
+ flex-grow: 1;
4371
+ `,Cd=l0;var Un=require("react");var b0=()=>{let{add:e}=(0,Un.useContext)(ki);return(0,Un.useMemo)(()=>({default:r=>e(r,"default"),success:r=>e(r,"success"),warning:r=>e(r,"warning"),info:r=>e(r,"info"),loading:r=>e({...r,loading:!0},"info")}),[e])},xd=b0;0&&(module.exports={DxcAccordion,DxcAccordionGroup,DxcAlert,DxcApplicationLayout,DxcBadge,DxcBleed,DxcBreadcrumbs,DxcBulletedList,DxcButton,DxcCard,DxcCheckbox,DxcChip,DxcContainer,DxcContextualMenu,DxcDataGrid,DxcDateInput,DxcDialog,DxcDivider,DxcDropdown,DxcFileInput,DxcFlex,DxcGrid,DxcHeading,DxcImage,DxcInset,DxcLink,DxcNavTabs,DxcNumberInput,DxcPaginator,DxcParagraph,DxcPasswordInput,DxcProgressBar,DxcQuickNav,DxcRadioGroup,DxcResultsetTable,DxcSelect,DxcSlider,DxcSpinner,DxcStatusLight,DxcSwitch,DxcTable,DxcTabs,DxcTag,DxcTextInput,DxcTextarea,DxcToastsQueue,DxcToggleGroup,DxcTooltip,DxcTypography,DxcWizard,HalstackContext,HalstackLanguageContext,HalstackProvider,useToast});