@ilo-org/react 0.24.5 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/lib/cjs/_store/Accordion-entry-CmEtc6xU.js +1 -0
  2. package/lib/cjs/_store/{Blockquote-entry-DMBieQ9k.js → Blockquote-entry-DJg2Lwwm.js} +1 -1
  3. package/lib/cjs/_store/{Breadcrumb-chunk-BFveDqpn.js → Breadcrumb-chunk-Dpq0PkrL.js} +1 -1
  4. package/lib/cjs/_store/{Breadcrumb-entry-Cf-EAu2Z.js → Breadcrumb-entry-DqvKPkDy.js} +1 -1
  5. package/lib/cjs/_store/{Button-chunk-BPxitLjn.js → Button-chunk-GqAQVgEt.js} +1 -1
  6. package/lib/cjs/_store/{Button-entry-C7Z6wido.js → Button-entry-BKxqoDTd.js} +1 -1
  7. package/lib/cjs/_store/{Callout-chunk-Cmnm5uzu.js → Callout-chunk-BfSmG_lo.js} +1 -1
  8. package/lib/cjs/_store/{Callout-entry-CE3NvW4J.js → Callout-entry-BWl-fM4V.js} +1 -1
  9. package/lib/cjs/_store/CardGroup-chunk-Bdg6k3xe.js +1 -0
  10. package/lib/cjs/_store/{Cards-entry-CzMtOpW3.js → Cards-entry-BljbMyDU.js} +1 -1
  11. package/lib/cjs/_store/Checkbox-chunk-IcVAXUrv.js +1 -0
  12. package/lib/cjs/_store/Checkbox-entry-BqwyGbqu.js +1 -0
  13. package/lib/cjs/_store/{Collapse-chunk-CKRYA3G0.js → Collapse-chunk-ocNUOS_3.js} +1 -1
  14. package/lib/cjs/_store/{Collapse-entry-oEiMF1_N.js → Collapse-entry-DY3JMt1R.js} +1 -1
  15. package/lib/cjs/_store/ContextMenu-chunk-DJWyl3UI.js +1 -0
  16. package/lib/cjs/_store/{ContextMenu-entry-CY09FRjo.js → ContextMenu-entry-dsiNFY0E.js} +1 -1
  17. package/lib/cjs/_store/DatePicker-chunk-3IOigKn5.js +1 -0
  18. package/lib/cjs/_store/{DatePicker-entry-Ci2NFgfR.js → DatePicker-entry-BlHlnGm2.js} +1 -1
  19. package/lib/cjs/_store/Dropdown-chunk-DmxZPa5u.js +1 -0
  20. package/lib/cjs/_store/{Dropdown-entry-BpdKN773.js → Dropdown-entry-DEXn8lo7.js} +1 -1
  21. package/lib/cjs/_store/Empty-chunk-CSXmTnRW.js +1 -0
  22. package/lib/cjs/_store/{Empty-entry-BgApm9Eh.js → Empty-entry-bmORllUh.js} +1 -1
  23. package/lib/cjs/_store/{Fieldset-chunk-Dykzn_3y.js → Fieldset-chunk-ChHFEwgQ.js} +1 -1
  24. package/lib/cjs/_store/{Fieldset-entry-CgUV-ElS.js → Fieldset-entry-C_LpXRKf.js} +1 -1
  25. package/lib/cjs/_store/FileUpload-chunk-Cs3yHoZ7.js +1 -0
  26. package/lib/cjs/_store/{FileUpload-entry-DwKrIcA0.js → FileUpload-entry-BYgkZm9b.js} +1 -1
  27. package/lib/cjs/_store/{Footer-chunk-CGR-tiim.js → Footer-chunk-TaoI4CW2.js} +1 -1
  28. package/lib/cjs/_store/{Footer-entry-BTlHhSKi.js → Footer-entry-Dia_Yz7-.js} +1 -1
  29. package/lib/cjs/_store/{Form-chunk-Bhz_CsMf.js → Form-chunk-CyfJEjS9.js} +1 -1
  30. package/lib/cjs/_store/{Form-entry-DkAB5Wzc.js → Form-entry-9qDZdd1P.js} +1 -1
  31. package/lib/cjs/_store/FormControl-chunk-bBkCVOW6.js +1 -0
  32. package/lib/cjs/_store/{FormControl-entry-Bu1yj8yC.js → FormControl-entry-BkW82rHb.js} +1 -1
  33. package/lib/cjs/_store/FormElement-chunk-DPXb6ERf.js +1 -0
  34. package/lib/cjs/_store/{FormElement-entry-DDBD7cYZ.js → FormElement-entry-WawFBSDe.js} +1 -1
  35. package/lib/cjs/_store/GlobalProvider-chunk-BmUbDojc.js +1 -0
  36. package/lib/cjs/_store/{GlobalProvider-entry-DkJQ9RWP.js → GlobalProvider-entry-D4VUJVT5.js} +1 -1
  37. package/lib/cjs/_store/Heading-chunk-t4FvnOcp.js +1 -0
  38. package/lib/cjs/_store/{Heading-entry-JgPHEBGH.js → Heading-entry-JviVcuxg.js} +1 -1
  39. package/lib/cjs/_store/{Hero-chunk-BgeQPg_6.js → Hero-chunk-BjL7EFZF.js} +1 -1
  40. package/lib/cjs/_store/{Hero-entry-BDFK6TqZ.js → Hero-entry-BEkYf6OA.js} +1 -1
  41. package/lib/cjs/_store/HeroCard-chunk-BxvdF3ec.js +1 -0
  42. package/lib/cjs/_store/{HeroCard-entry-CK1BRjFC.js → HeroCard-entry-Cy1KQqXn.js} +1 -1
  43. package/lib/cjs/_store/Icon-chunk-DtOVpxQ-.js +1 -0
  44. package/lib/cjs/_store/{Icon-entry-9LhRn5RK.js → Icon-entry-DuU8BlUw.js} +1 -1
  45. package/lib/cjs/_store/Image-chunk-bZyx8E0O.js +1 -0
  46. package/lib/cjs/_store/{Image-entry-CiqpjHV_.js → Image-entry-DF5whlhX.js} +1 -1
  47. package/lib/cjs/_store/Input-entry-Crd6T5tV.js +1 -0
  48. package/lib/cjs/_store/{LanguageToggle-chunk-DdIPnYuL.js → LanguageToggle-chunk-Cw7PRG8W.js} +1 -1
  49. package/lib/cjs/_store/{LanguageToggle-entry-Bk4jljNF.js → LanguageToggle-entry-_H4REDpU.js} +1 -1
  50. package/lib/cjs/_store/{Link-chunk-BcVWiDXw.js → Link-chunk-CP7cvvcX.js} +1 -1
  51. package/lib/cjs/_store/{Link-entry-70094UjI.js → Link-entry-C9whDKcl.js} +1 -1
  52. package/lib/cjs/_store/{LinkList-chunk-AT26ZVEG.js → LinkList-chunk-Duhkqb-C.js} +1 -1
  53. package/lib/cjs/_store/{LinkList-entry-DX9xuT9N.js → LinkList-entry-D8WmG1H6.js} +1 -1
  54. package/lib/cjs/_store/List-entry-Cr2Df-dK.js +1 -0
  55. package/lib/cjs/_store/{Loading-chunk-BZ2x4P8i.js → Loading-chunk-BAVpKjsu.js} +1 -1
  56. package/lib/cjs/_store/{Loading-entry-yle6tY14.js → Loading-entry-Dy5yaeaS.js} +1 -1
  57. package/lib/cjs/_store/Logo-entry-nsoJtWSa.js +1 -0
  58. package/lib/cjs/_store/LogoGrid-entry-XAjJ8evS.js +1 -0
  59. package/lib/cjs/_store/{Nav-entry-B46iUi8w.js → Nav-entry-B62wFPBX.js} +1 -1
  60. package/lib/cjs/_store/{Navigation-entry-C6dI5Dpf.js → Navigation-entry-Cz0hT5co.js} +1 -1
  61. package/lib/cjs/_store/{Notification-chunk-BDC2i-2V.js → Notification-chunk-2QCwWkyJ.js} +1 -1
  62. package/lib/cjs/_store/{Notification-entry-BQ1Dbfgd.js → Notification-entry-BZxeAdKY.js} +1 -1
  63. package/lib/cjs/_store/NumberPicker-chunk-CTlAxdIK.js +1 -0
  64. package/lib/cjs/_store/{NumberPicker-entry-CwXGzUsE.js → NumberPicker-entry-z9i-7tAg.js} +1 -1
  65. package/lib/cjs/_store/Pagination-chunk-mrfIdsCC.js +1 -0
  66. package/lib/cjs/_store/{Pagination-entry-B-PLD6Os.js → Pagination-entry-CaWVSLiW.js} +1 -1
  67. package/lib/cjs/_store/{Picture-chunk-CK6tJPnd.js → Picture-chunk-CWRmIhTV.js} +1 -1
  68. package/lib/cjs/_store/{Picture-entry-CgIIIvIz.js → Picture-entry-C0Gw7yvD.js} +1 -1
  69. package/lib/cjs/_store/{Profile-chunk-Du8HEAQA.js → Profile-chunk-BYt-KzV1.js} +1 -1
  70. package/lib/cjs/_store/{Profile-entry-D9VN3LBb.js → Profile-entry--A7T8H3j.js} +1 -1
  71. package/lib/cjs/_store/Radio-chunk-C4PweUcm.js +1 -0
  72. package/lib/cjs/_store/Radio-entry-BrFppyW8.js +1 -0
  73. package/lib/cjs/_store/ReadMore-chunk-DjPhO-lH.js +1 -0
  74. package/lib/cjs/_store/{ReadMore-entry-DoeHMibd.js → ReadMore-entry-I2QgvUH8.js} +1 -1
  75. package/lib/cjs/_store/RichText-chunk-vKgvdzZl.js +1 -0
  76. package/lib/cjs/_store/{RichText-entry-BMEaokVO.js → RichText-entry-m6QekdSN.js} +1 -1
  77. package/lib/cjs/_store/SearchField-chunk-Co2k3NxN.js +1 -0
  78. package/lib/cjs/_store/{SearchField-entry-CZ0XwZwr.js → SearchField-entry-BUoeC9YW.js} +1 -1
  79. package/lib/cjs/_store/SocialMedia-chunk-B_GSOonV.js +1 -0
  80. package/lib/cjs/_store/{SocialMedia-entry-DGHEsUjh.js → SocialMedia-entry-lxx8yheX.js} +1 -1
  81. package/lib/cjs/_store/{Status-chunk-DJ3wnXYt.js → Status-chunk-CaABjeKb.js} +1 -1
  82. package/lib/cjs/_store/{Status-entry-CWq-F6VM.js → Status-entry-DHu4Scd5.js} +1 -1
  83. package/lib/cjs/_store/{SubsiteNav-chunk-CVWgp2ti.js → SubsiteNav-chunk-G3tutetq.js} +1 -1
  84. package/lib/cjs/_store/TableOfContents-chunk-CLa_-Dhd.js +1 -0
  85. package/lib/cjs/_store/TableOfContents-entry-BdR9KYkN.js +1 -0
  86. package/lib/cjs/_store/Tabs-chunk-CFtNDTSD.js +1 -0
  87. package/lib/cjs/_store/{Tabs-entry-B-Axwj7H.js → Tabs-entry-F5uRTfcu.js} +1 -1
  88. package/lib/cjs/_store/{Tag-chunk-C_r4zGEh.js → Tag-chunk-pecicJx_.js} +1 -1
  89. package/lib/cjs/_store/Tag-entry-BOwYiCqK.js +1 -0
  90. package/lib/cjs/_store/{TextInput-entry-D5kHzQCt.js → TextInput-entry-CeN5uuXm.js} +1 -1
  91. package/lib/cjs/_store/TextInput.args-chunk-CZIwr5h8.js +1 -0
  92. package/lib/cjs/_store/Textarea-chunk-yD7hFNC1.js +1 -0
  93. package/lib/cjs/_store/{Textarea-entry-rsUP7-OD.js → Textarea-entry-BI_WzK38.js} +1 -1
  94. package/lib/cjs/_store/Toggle-entry-ERLoeZPl.js +1 -0
  95. package/lib/cjs/_store/{Tooltip-chunk-CQu5vz01.js → Tooltip-chunk-DlKiieYX.js} +1 -1
  96. package/lib/cjs/_store/{Tooltip-entry-B52nIoTe.js → Tooltip-entry-C7b8N0xd.js} +1 -1
  97. package/lib/cjs/_store/Video-chunk-CEQmBL6F.js +66 -0
  98. package/lib/cjs/_store/{Video-entry-sDiZs9gr.js → Video-entry-DEabve_J.js} +1 -1
  99. package/lib/cjs/_store/components-entry-B8oNQiJz.js +1 -0
  100. package/lib/cjs/_store/{index-chunk-YuJJcDLC.js → index-chunk-BS1ouphs.js} +1 -1
  101. package/lib/cjs/_store/{index-chunk-D921N0ug.js → index-chunk-Cxg31gtu.js} +1 -1
  102. package/lib/cjs/_store/index.js +1 -1
  103. package/lib/cjs/_store/{useBreakpoint-chunk-B5MpfIru.js → useBreakpoint-chunk-zqMY82iP.js} +1 -1
  104. package/lib/cjs/_store/useGlobalSettings-chunk-Cd48T6lS.js +1 -0
  105. package/lib/cjs/index.js +1 -1
  106. package/lib/esm/_store/{Accordion-entry-DijeRLbx.js → Accordion-entry-DxlnNTR2.js} +5 -5
  107. package/lib/esm/_store/{Blockquote-entry-DzkZrxZP.js → Blockquote-entry-C8GR6LVe.js} +1 -1
  108. package/lib/esm/_store/{Breadcrumb-chunk-DjN2sOwo.js → Breadcrumb-chunk-BmS7TVwo.js} +10 -10
  109. package/lib/esm/_store/Breadcrumb-entry-CU_jT92F.js +4 -0
  110. package/lib/esm/_store/{Button-chunk-3RMfjmYT.js → Button-chunk-BvX6KNZ6.js} +9 -9
  111. package/lib/esm/_store/Button-entry-D7fBzdgB.js +4 -0
  112. package/lib/esm/_store/{Callout-chunk-Com68klk.js → Callout-chunk-DlkjnwyO.js} +11 -11
  113. package/lib/esm/_store/Callout-entry-nMgjy2KW.js +4 -0
  114. package/lib/esm/_store/{CardGroup-chunk-DAuoDC3W.js → CardGroup-chunk-CBTshcSl.js} +90 -75
  115. package/lib/esm/_store/{Cards-entry-CfOjTSQy.js → Cards-entry-Dy9RcgLp.js} +1 -1
  116. package/lib/esm/_store/{Checkbox-chunk-lwnCSzbU.js → Checkbox-chunk-CICqXNag.js} +25 -25
  117. package/lib/esm/_store/{Checkbox-entry-iDYW3mII.js → Checkbox-entry-BeXi1s48.js} +8 -8
  118. package/lib/esm/_store/{Collapse-chunk-CmdtLTLr.js → Collapse-chunk-BNlVKJDP.js} +22 -22
  119. package/lib/esm/_store/Collapse-entry-CS2eWaXT.js +4 -0
  120. package/lib/esm/_store/{ContextMenu-chunk-Dk-ifDZI.js → ContextMenu-chunk-ZE0ANbkf.js} +1 -1
  121. package/lib/esm/_store/ContextMenu-entry-CdajPfm6.js +4 -0
  122. package/lib/esm/_store/{DatePicker-chunk-Dh48mMAP.js → DatePicker-chunk-BITHTS_i.js} +22 -22
  123. package/lib/esm/_store/DatePicker-entry-Bo0tmjxS.js +4 -0
  124. package/lib/esm/_store/Dropdown-chunk-_Rqp45VG.js +74 -0
  125. package/lib/esm/_store/Dropdown-entry-DL4-fTB2.js +4 -0
  126. package/lib/esm/_store/Empty-chunk-BtF8fnEd.js +12 -0
  127. package/lib/esm/_store/Empty-entry-ByjkX-1x.js +4 -0
  128. package/lib/esm/_store/Fieldset-chunk-CQKzjpXe.js +61 -0
  129. package/lib/esm/_store/Fieldset-entry-Co4FuY6i.js +4 -0
  130. package/lib/esm/_store/{FileUpload-chunk-Cfr5vOip.js → FileUpload-chunk-CcPyoSNs.js} +25 -25
  131. package/lib/esm/_store/FileUpload-entry-BTrF-gar.js +4 -0
  132. package/lib/esm/_store/{Footer-chunk-DcFDdukr.js → Footer-chunk-DUKfjpB_.js} +4 -4
  133. package/lib/esm/_store/Footer-entry-6fL7F6zI.js +4 -0
  134. package/lib/esm/_store/{Form-chunk-BUqXdVaD.js → Form-chunk-CxN1JB3N.js} +5 -5
  135. package/lib/esm/_store/{Form-entry-D0WjXxpC.js → Form-entry-D_MSF4Ak.js} +1 -1
  136. package/lib/esm/_store/FormControl-chunk-CA1OQzEu.js +81 -0
  137. package/lib/esm/_store/FormControl-entry-yrF9Yxws.js +4 -0
  138. package/lib/esm/_store/{FormElement-chunk-DqR8rtCB.js → FormElement-chunk-BBfDqKAo.js} +3 -3
  139. package/lib/esm/_store/FormElement-entry-B7Aht-mW.js +4 -0
  140. package/lib/esm/_store/GlobalProvider-chunk-CkLnkRcW.js +19 -0
  141. package/lib/esm/_store/{GlobalProvider-entry-CCUkUh3z.js → GlobalProvider-entry-BbUN7-Ub.js} +1 -1
  142. package/lib/esm/_store/Heading-chunk-KETAd3FV.js +19 -0
  143. package/lib/esm/_store/Heading-entry-U_UWBJCv.js +4 -0
  144. package/lib/esm/_store/{Hero-chunk-rnL21UKu.js → Hero-chunk-Be04T-g-.js} +4 -4
  145. package/lib/esm/_store/Hero-entry-KS9RtmIr.js +4 -0
  146. package/lib/esm/_store/{HeroCard-chunk-XzP8zeZ0.js → HeroCard-chunk-Dpp8lL_Q.js} +6 -6
  147. package/lib/esm/_store/HeroCard-entry-Ci6b3eLs.js +4 -0
  148. package/lib/esm/_store/{Icon-chunk-DIxw5wWq.js → Icon-chunk-DxouZQcV.js} +1147 -1082
  149. package/lib/esm/_store/Icon-entry-DsXhLlM5.js +4 -0
  150. package/lib/esm/_store/Image-chunk-Dls4dbsF.js +46 -0
  151. package/lib/esm/_store/Image-entry-BAPehmuJ.js +4 -0
  152. package/lib/esm/_store/Input-entry-DmC0GS8G.js +58 -0
  153. package/lib/esm/_store/{LanguageToggle-chunk-BOqs0wmF.js → LanguageToggle-chunk-5yhqP-ia.js} +2 -2
  154. package/lib/esm/_store/LanguageToggle-entry-CvD0nDPx.js +4 -0
  155. package/lib/esm/_store/{Link-chunk-5QxYwhDk.js → Link-chunk-DgmjE6xb.js} +1 -1
  156. package/lib/esm/_store/Link-entry-BmvyckhF.js +4 -0
  157. package/lib/esm/_store/{LinkList-chunk-Cimo8RwK.js → LinkList-chunk-D5z3Upbc.js} +1 -1
  158. package/lib/esm/_store/LinkList-entry-Bd5jTl6s.js +4 -0
  159. package/lib/esm/_store/{List-entry-B0PAo5Km.js → List-entry-oG99Ip94.js} +10 -10
  160. package/lib/esm/_store/{Loading-chunk-Cjv2veV9.js → Loading-chunk-Dv4TiLe1.js} +6 -6
  161. package/lib/esm/_store/Loading-entry-DjNKhBvT.js +4 -0
  162. package/lib/esm/_store/{Logo-entry-CozB0B1y.js → Logo-entry-CYL-mIHC.js} +33 -33
  163. package/lib/esm/_store/LogoGrid-entry-CoSQBDA2.js +24 -0
  164. package/lib/esm/_store/Nav-entry-BRBGTM-i.js +4 -0
  165. package/lib/esm/_store/{Navigation-entry-BLC2KoMs.js → Navigation-entry-DWntijlA.js} +1 -1
  166. package/lib/esm/_store/{Notification-chunk-BHNEwEo8.js → Notification-chunk-_adtYhvS.js} +6 -6
  167. package/lib/esm/_store/Notification-entry-D_rG_6wM.js +4 -0
  168. package/lib/esm/_store/{NumberPicker-chunk-j6uKlj6R.js → NumberPicker-chunk-DGfBEswe.js} +11 -11
  169. package/lib/esm/_store/NumberPicker-entry-BYmb-h1Z.js +4 -0
  170. package/lib/esm/_store/{Pagination-chunk-CRESCE8P.js → Pagination-chunk-B0RsygyT.js} +14 -14
  171. package/lib/esm/_store/Pagination-entry-XPMG7emu.js +4 -0
  172. package/lib/esm/_store/{Picture-chunk-C4mMCmdQ.js → Picture-chunk-DsW0ODDG.js} +1 -1
  173. package/lib/esm/_store/Picture-entry-BaHaewjE.js +4 -0
  174. package/lib/esm/_store/{Profile-chunk-BjuEze8L.js → Profile-chunk-D0RBDgln.js} +6 -6
  175. package/lib/esm/_store/Profile-entry-BDkLs_81.js +4 -0
  176. package/lib/esm/_store/Radio-chunk-DE8dWK4c.js +77 -0
  177. package/lib/esm/_store/Radio-entry-CUKW5UTB.js +11 -0
  178. package/lib/esm/_store/ReadMore-chunk-Cv2A7uzo.js +38 -0
  179. package/lib/esm/_store/ReadMore-entry-C1R0hkG0.js +4 -0
  180. package/lib/esm/_store/{RichText-chunk-BWOoOlCR.js → RichText-chunk-DxfEl4aR.js} +7 -7
  181. package/lib/esm/_store/RichText-entry-OPQpHwYL.js +4 -0
  182. package/lib/esm/_store/SearchField-chunk-4Y2NnK71.js +67 -0
  183. package/lib/esm/_store/SearchField-entry-oUXJXjo_.js +4 -0
  184. package/lib/esm/_store/{SocialMedia-chunk-BIRLnQvf.js → SocialMedia-chunk-DEHVELJ8.js} +8 -8
  185. package/lib/esm/_store/{SocialMedia-entry-BHmNsyxZ.js → SocialMedia-entry-C2BAEraF.js} +1 -1
  186. package/lib/esm/_store/{Status-chunk-E-pHCJfe.js → Status-chunk-CjagfPq5.js} +1 -1
  187. package/lib/esm/_store/Status-entry-CZoWOvRH.js +4 -0
  188. package/lib/esm/_store/{SubsiteNav-chunk-DTA21jDN.js → SubsiteNav-chunk-ClugkI0I.js} +3 -3
  189. package/lib/esm/_store/{TableOfContents-chunk-DZGMY0rb.js → TableOfContents-chunk-G6Og9OQI.js} +4 -4
  190. package/lib/esm/_store/TableOfContents-entry-BzIsRY8o.js +4 -0
  191. package/lib/esm/_store/Tabs-chunk-BFJu-8N_.js +65 -0
  192. package/lib/esm/_store/Tabs-entry-Bxitnkrg.js +4 -0
  193. package/lib/esm/_store/{Tag-chunk-BfT6mRr3.js → Tag-chunk-CtoF0KuM.js} +10 -10
  194. package/lib/esm/_store/Tag-entry-CY9Wk-E1.js +48 -0
  195. package/lib/esm/_store/TextInput-entry-CAoFtCCI.js +5 -0
  196. package/lib/esm/_store/{TextInput.args-chunk-DCwrQ9lS.js → TextInput.args-chunk-RWwWDRZ4.js} +23 -23
  197. package/lib/esm/_store/Textarea-chunk-CshU7TIs.js +38 -0
  198. package/lib/esm/_store/{Textarea-entry-Bh6ZxG82.js → Textarea-entry-CglvRaAT.js} +1 -1
  199. package/lib/esm/_store/{Toggle-entry-BdxawvoW.js → Toggle-entry-BKYywcU0.js} +45 -45
  200. package/lib/esm/_store/{Tooltip-chunk-CC5huzaB.js → Tooltip-chunk-D5CzbDEd.js} +2 -3
  201. package/lib/esm/_store/Tooltip-entry-ADIqSJE6.js +4 -0
  202. package/lib/esm/_store/{Video-chunk-C_cWWpiB.js → Video-chunk-q086hHmd.js} +3819 -3868
  203. package/lib/esm/_store/Video-entry-D22SrG1x.js +4 -0
  204. package/lib/esm/_store/components-entry-BurF2spT.js +102 -0
  205. package/lib/esm/_store/index.js +2 -2
  206. package/lib/esm/_store/{useBreakpoint-chunk-c1_IoC-6.js → useBreakpoint-chunk-Bl6AhTq7.js} +2 -2
  207. package/lib/esm/_store/{useGlobalSettings-chunk-Bu2lRvQa.js → useGlobalSettings-chunk-BhfWlTcd.js} +3 -3
  208. package/lib/esm/index.js +86 -88
  209. package/lib/styles/components/accordion.css +1 -1
  210. package/lib/styles/components/blockquote.css +1 -1
  211. package/lib/styles/components/breadcrumb.css +1 -1
  212. package/lib/styles/components/button.css +1 -1
  213. package/lib/styles/components/checkbox.css +1 -1
  214. package/lib/styles/components/contextmenu.css +1 -1
  215. package/lib/styles/components/detailcard.css +1 -1
  216. package/lib/styles/components/dropdown.css +1 -1
  217. package/lib/styles/components/featurecard.css +1 -1
  218. package/lib/styles/components/fieldset.css +1 -1
  219. package/lib/styles/components/file-upload.css +1 -1
  220. package/lib/styles/components/footer.css +1 -1
  221. package/lib/styles/components/formcontrol.css +1 -1
  222. package/lib/styles/components/hero.css +1 -1
  223. package/lib/styles/components/herocard.css +1 -1
  224. package/lib/styles/components/image.css +1 -1
  225. package/lib/styles/components/input.css +1 -1
  226. package/lib/styles/components/languagetoggle.css +1 -1
  227. package/lib/styles/components/linklist.css +1 -1
  228. package/lib/styles/components/multilinkcard.css +1 -1
  229. package/lib/styles/components/navigation.css +1 -1
  230. package/lib/styles/components/notification.css +1 -1
  231. package/lib/styles/components/pagination.css +1 -1
  232. package/lib/styles/components/readmore.css +1 -1
  233. package/lib/styles/components/richtext.css +1 -1
  234. package/lib/styles/components/socialmedia.css +1 -1
  235. package/lib/styles/components/statcard.css +1 -1
  236. package/lib/styles/components/table.css +1 -1
  237. package/lib/styles/components/tableofcontents.css +1 -1
  238. package/lib/styles/components/textarea.css +1 -1
  239. package/lib/styles/components/textinput.css +1 -1
  240. package/lib/styles/components/tooltip.css +1 -1
  241. package/lib/styles/components/video.css +1 -1
  242. package/lib/styles/global.css +1 -1
  243. package/lib/styles/global.css.map +1 -1
  244. package/lib/styles/index.css +4 -2
  245. package/lib/styles/index.css.map +1 -1
  246. package/lib/styles/monorepo.css +4 -2
  247. package/lib/styles/monorepo.css.map +1 -1
  248. package/lib/types/components/Image/Image.props.d.ts +6 -0
  249. package/lib/types/components/Tabs/Tabs.props.d.ts +4 -0
  250. package/lib/types/components/index.d.ts +0 -1
  251. package/package.json +4 -4
  252. package/lib/cjs/_store/Accordion-entry-Du65VJ-p.js +0 -1
  253. package/lib/cjs/_store/CardGroup-chunk-DVgx8_lR.js +0 -1
  254. package/lib/cjs/_store/Checkbox-chunk-CDFIXTn9.js +0 -1
  255. package/lib/cjs/_store/Checkbox-entry-DNbcaLP7.js +0 -1
  256. package/lib/cjs/_store/ContextMenu-chunk-LNOPuIui.js +0 -1
  257. package/lib/cjs/_store/Credit-chunk-cffOG8ho.js +0 -1
  258. package/lib/cjs/_store/Credit-entry-9uztmu2Z.js +0 -1
  259. package/lib/cjs/_store/DatePicker-chunk-DouvjE3X.js +0 -1
  260. package/lib/cjs/_store/Dropdown-chunk-BjeJjYZD.js +0 -1
  261. package/lib/cjs/_store/Empty-chunk-D15nltyD.js +0 -1
  262. package/lib/cjs/_store/FileUpload-chunk-CC1oePLc.js +0 -1
  263. package/lib/cjs/_store/FormControl-chunk-Bv623HDr.js +0 -1
  264. package/lib/cjs/_store/FormElement-chunk-B8x3bzQh.js +0 -1
  265. package/lib/cjs/_store/GlobalProvider-chunk-Bt1vmswv.js +0 -1
  266. package/lib/cjs/_store/Heading-chunk-COxtDw0v.js +0 -1
  267. package/lib/cjs/_store/HeroCard-chunk-Dx88UJpE.js +0 -1
  268. package/lib/cjs/_store/Icon-chunk-QFryHTpy.js +0 -1
  269. package/lib/cjs/_store/Image-chunk-DrH5JX6G.js +0 -1
  270. package/lib/cjs/_store/Input-chunk-DUdxvEKw.js +0 -1
  271. package/lib/cjs/_store/Input-entry-C3vOeYic.js +0 -1
  272. package/lib/cjs/_store/List-entry-DRGsrQZi.js +0 -1
  273. package/lib/cjs/_store/Logo-entry-D_w0N3_x.js +0 -1
  274. package/lib/cjs/_store/LogoGrid-entry-BkVOxkr2.js +0 -1
  275. package/lib/cjs/_store/NumberPicker-chunk-kaW8wv3h.js +0 -1
  276. package/lib/cjs/_store/Pagination-chunk-D3Ve2ASf.js +0 -1
  277. package/lib/cjs/_store/Radio-chunk-DoLctty-.js +0 -1
  278. package/lib/cjs/_store/Radio-entry-rG2UfQcr.js +0 -1
  279. package/lib/cjs/_store/ReadMore-chunk-Cz3Dc9Cz.js +0 -1
  280. package/lib/cjs/_store/RichText-chunk-CLfo33Pr.js +0 -1
  281. package/lib/cjs/_store/SearchField-chunk-BuB-C9aK.js +0 -1
  282. package/lib/cjs/_store/SocialMedia-chunk-BnyEyk0Y.js +0 -1
  283. package/lib/cjs/_store/TableOfContents-chunk-ZubRLGF3.js +0 -1
  284. package/lib/cjs/_store/TableOfContents-entry-gsNs8lWE.js +0 -1
  285. package/lib/cjs/_store/Tabs-chunk-n0swxLit.js +0 -1
  286. package/lib/cjs/_store/Tag-entry-CsjmSyrX.js +0 -1
  287. package/lib/cjs/_store/TextInput.args-chunk-Bs7YIRuJ.js +0 -1
  288. package/lib/cjs/_store/Textarea-chunk-XYsrIeDn.js +0 -1
  289. package/lib/cjs/_store/Toggle-entry-CrF6OlKl.js +0 -1
  290. package/lib/cjs/_store/Video-chunk-UuPc6ufz.js +0 -66
  291. package/lib/cjs/_store/components-entry-Bh31RBMt.js +0 -1
  292. package/lib/cjs/_store/useGlobalSettings-chunk-DEacV16j.js +0 -1
  293. package/lib/esm/_store/Breadcrumb-entry-BdsMn8X1.js +0 -4
  294. package/lib/esm/_store/Button-entry-BMva-FAn.js +0 -4
  295. package/lib/esm/_store/Callout-entry-Cy0_T9cE.js +0 -4
  296. package/lib/esm/_store/Collapse-entry-Km23zOlW.js +0 -4
  297. package/lib/esm/_store/ContextMenu-entry-U5VAfiO9.js +0 -4
  298. package/lib/esm/_store/Credit-chunk-CvHvubwE.js +0 -26
  299. package/lib/esm/_store/Credit-entry-bp0MHOHT.js +0 -4
  300. package/lib/esm/_store/DatePicker-entry-DA2mnr5y.js +0 -4
  301. package/lib/esm/_store/Dropdown-chunk-DaOJI8GU.js +0 -74
  302. package/lib/esm/_store/Dropdown-entry-yIppvxFB.js +0 -4
  303. package/lib/esm/_store/Empty-chunk-Ni2cn_ys.js +0 -12
  304. package/lib/esm/_store/Empty-entry-DIR2cqCr.js +0 -4
  305. package/lib/esm/_store/Fieldset-chunk-JT4tXIzJ.js +0 -61
  306. package/lib/esm/_store/Fieldset-entry-BU1iTqO6.js +0 -4
  307. package/lib/esm/_store/FileUpload-entry-B_cQHX8H.js +0 -4
  308. package/lib/esm/_store/Footer-entry-DR2tq2kQ.js +0 -4
  309. package/lib/esm/_store/FormControl-chunk-CJhnDujX.js +0 -81
  310. package/lib/esm/_store/FormControl-entry-ShYwA_1H.js +0 -4
  311. package/lib/esm/_store/FormElement-entry-C_RiN-BZ.js +0 -4
  312. package/lib/esm/_store/GlobalProvider-chunk-nVdEz2_E.js +0 -20
  313. package/lib/esm/_store/Heading-chunk-B4_4DVFF.js +0 -19
  314. package/lib/esm/_store/Heading-entry-CByFOJIM.js +0 -4
  315. package/lib/esm/_store/Hero-entry-prlmncq4.js +0 -4
  316. package/lib/esm/_store/HeroCard-entry-C0Varerb.js +0 -4
  317. package/lib/esm/_store/Icon-entry-D-Dbp4SB.js +0 -4
  318. package/lib/esm/_store/Image-chunk-DKLea4vg.js +0 -33
  319. package/lib/esm/_store/Image-entry-DJwxUeRV.js +0 -4
  320. package/lib/esm/_store/Input-chunk-XCiBTjUt.js +0 -58
  321. package/lib/esm/_store/Input-entry-hEad-fr1.js +0 -4
  322. package/lib/esm/_store/LanguageToggle-entry-DJiFzhFd.js +0 -4
  323. package/lib/esm/_store/Link-entry-B7IbEhwb.js +0 -4
  324. package/lib/esm/_store/LinkList-entry-DrV9TkJc.js +0 -4
  325. package/lib/esm/_store/Loading-entry-BrtUNvEp.js +0 -4
  326. package/lib/esm/_store/LogoGrid-entry-D4eOKMmQ.js +0 -24
  327. package/lib/esm/_store/Nav-entry-uKA3aXck.js +0 -4
  328. package/lib/esm/_store/Notification-entry-cjXsm4yI.js +0 -4
  329. package/lib/esm/_store/NumberPicker-entry-DLV6zbka.js +0 -4
  330. package/lib/esm/_store/Pagination-entry-DDD4AfVJ.js +0 -4
  331. package/lib/esm/_store/Picture-entry-Z8nrvVE0.js +0 -4
  332. package/lib/esm/_store/Profile-entry-DSGfBcHB.js +0 -4
  333. package/lib/esm/_store/Radio-chunk-6JgiY5AT.js +0 -77
  334. package/lib/esm/_store/Radio-entry-CEkjEsjC.js +0 -11
  335. package/lib/esm/_store/ReadMore-chunk-CyCJMFw8.js +0 -38
  336. package/lib/esm/_store/ReadMore-entry-D7Qpu2o4.js +0 -4
  337. package/lib/esm/_store/RichText-entry-BjufLWsb.js +0 -4
  338. package/lib/esm/_store/SearchField-chunk-C7r7Ectd.js +0 -64
  339. package/lib/esm/_store/SearchField-entry-MVIyW8fs.js +0 -4
  340. package/lib/esm/_store/Status-entry-Cz_P6nys.js +0 -4
  341. package/lib/esm/_store/TableOfContents-entry-BDcD4Aj2.js +0 -4
  342. package/lib/esm/_store/Tabs-chunk-CMh7UcxO.js +0 -60
  343. package/lib/esm/_store/Tabs-entry-Bh8o3rp8.js +0 -4
  344. package/lib/esm/_store/Tag-entry-BC-QOui2.js +0 -48
  345. package/lib/esm/_store/TextInput-entry-CpSwj1ey.js +0 -5
  346. package/lib/esm/_store/Textarea-chunk-CEAOC4yE.js +0 -38
  347. package/lib/esm/_store/Tooltip-entry-DyEW_ai7.js +0 -4
  348. package/lib/esm/_store/Video-entry-ChyEDoHA.js +0 -4
  349. package/lib/esm/_store/components-entry-Cz483CQA.js +0 -104
  350. package/lib/styles/components/credit.css +0 -1
  351. package/lib/styles/components/heading.css +0 -1
  352. package/lib/types/components/Credit/Credit.d.ts +0 -5
  353. package/lib/types/components/Credit/Credit.props.d.ts +0 -10
  354. package/lib/types/components/Credit/index.d.ts +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),x=require("./index-chunk-Cxg31gtu.js"),p=require("./useGlobalSettings-chunk-Cd48T6lS.js"),j=require("./Tooltip-chunk-DlKiieYX.js"),g=({alt:n,caption:l,className:o,credit:a,url:i,theme:c})=>{const{prefix:d}=p.useGlobalSettings(),e=`${d}--image`,m=x.classNames(o,{[e]:!0,[`${e}__theme__${c}`]:c});return s.jsxs("figure",{className:m,children:[s.jsxs("div",{className:`${e}--wrapper`,children:[s.jsxs("picture",{children:[i&&i.sort((r,t)=>r.breakpoint-t.breakpoint).slice(1).reverse().map((r,t)=>s.jsx("source",{srcSet:r.src,media:`(min-width: ${r.breakpoint}px)`},t)),i&&s.jsx("img",{src:i[0].src,alt:n})]}),a&&s.jsxs("div",{className:`${e}--credit`,children:[s.jsx("div",{className:`${e}--tooltip`,children:s.jsx(j.Tooltip,{label:a,iconTheme:c==="dark"?"light":"dark"})}),s.jsx("div",{className:`${e}--label`,children:a})]})]}),l&&s.jsx("figcaption",{children:l})]})};exports.Image=g;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Image-chunk-DrH5JX6G.js");exports.Image=e.Image;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Image-chunk-bZyx8E0O.js");exports.Image=e.Image;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),q=require("react"),b=require("./index-chunk-Cxg31gtu.js"),C=require("./useGlobalSettings-chunk-Cd48T6lS.js"),F=require("./Fieldset-chunk-ChHFEwgQ.js"),S=require("./FormElement-chunk-DPXb6ERf.js"),I=q.forwardRef(({callback:s,disabled:o=!1,error:n,helper:l,id:r,label:u,name:e,placeholder:c,required:i,tooltip:a,value:d,type:m="text"},p)=>{const{prefix:x}=C.useGlobalSettings(),f=`${x}--input`,g=b.classNames("",{[f]:!0,error:n}),h=j=>{s&&s(j)};return t.jsx(F.Fieldset,{children:t.jsx(S.FormElement,{elemid:e,label:u,helper:l,error:n,required:i,tooltip:a,children:t.jsx("input",{id:r||e,name:e,onChange:h,disabled:o,placeholder:c,required:i,type:m,value:d,className:g,ref:p})})})});exports.Input=I;
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),R=require("./useGlobalSettings-chunk-DEacV16j.js"),l=require("./index-chunk-D921N0ug.js"),h=require("./ContextMenu-chunk-LNOPuIui.js"),C=c.forwardRef(({className:f,language:g,theme:x="light",hideIcon:d,options:a,...m},$)=>{const{prefix:p}=R.useGlobalSettings(),[n,i]=c.useState(!1),o=c.useRef(null),t=c.useRef(null),e=`${p}--language-toggle`;return c.useEffect(()=>{function s(u){!t.current||!o.current||!t.current.contains(u.target)&&!o.current.contains(u.target)&&i(!1)}return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}}),c.useEffect(()=>{if(!(!o.current||!t.current)&&n){const s=o.current.getBoundingClientRect(),u=t.current.getBoundingClientRect();t.current.style.left=`${s.left+(s.width-u.width)/2}px`,t.current.style.top=`${s.bottom}px`}},[n]),r.jsxs("div",{ref:$,className:l.classnames(e,f,`${e}__theme__${x}`,{[`${e}__open`]:n}),...m,children:[r.jsxs("button",{className:`${e}--container`,ref:o,onClick:()=>{i(!n)},"aria-controls":`${e}--context-menu`,"aria-expanded":n,children:[!d&&r.jsx("span",{className:`${e}--icon`}),r.jsx("span",{className:`${e}--action`,children:g}),r.jsx("span",{className:`${e}--arrow`})]}),a&&r.jsx(h.ContextMenu,{withPortal:!0,ref:t,links:a,className:l.classnames(`${e}--context-menu`,{[`${e}--context-menu__open`]:n})})]})});exports.LanguageToggle=C;
1
+ "use strict";const r=require("react/jsx-runtime"),c=require("react"),R=require("./useGlobalSettings-chunk-Cd48T6lS.js"),l=require("./index-chunk-Cxg31gtu.js"),h=require("./ContextMenu-chunk-DJWyl3UI.js"),C=c.forwardRef(({className:f,language:g,theme:x="light",hideIcon:d,options:a,...m},$)=>{const{prefix:p}=R.useGlobalSettings(),[n,i]=c.useState(!1),o=c.useRef(null),t=c.useRef(null),e=`${p}--language-toggle`;return c.useEffect(()=>{function s(u){!t.current||!o.current||!t.current.contains(u.target)&&!o.current.contains(u.target)&&i(!1)}return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}}),c.useEffect(()=>{if(!(!o.current||!t.current)&&n){const s=o.current.getBoundingClientRect(),u=t.current.getBoundingClientRect();t.current.style.left=`${s.left+(s.width-u.width)/2}px`,t.current.style.top=`${s.bottom}px`}},[n]),r.jsxs("div",{ref:$,className:l.classNames(e,f,`${e}__theme__${x}`,{[`${e}__open`]:n}),...m,children:[r.jsxs("button",{className:`${e}--container`,ref:o,onClick:()=>{i(!n)},"aria-controls":`${e}--context-menu`,"aria-expanded":n,children:[!d&&r.jsx("span",{className:`${e}--icon`}),r.jsx("span",{className:`${e}--action`,children:g}),r.jsx("span",{className:`${e}--arrow`})]}),a&&r.jsx(h.ContextMenu,{withPortal:!0,ref:t,links:a,className:l.classNames(`${e}--context-menu`,{[`${e}--context-menu__open`]:n})})]})});exports.LanguageToggle=C;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./LanguageToggle-chunk-DdIPnYuL.js");exports.LanguageToggle=e.LanguageToggle;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./LanguageToggle-chunk-Cw7PRG8W.js");exports.LanguageToggle=e.LanguageToggle;
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),_=require("react"),h=require("./index-chunk-D921N0ug.js"),k=require("./useGlobalSettings-chunk-DEacV16j.js"),x=_.forwardRef(({children:t,className:e,label:r,target:s,theme:o="light",url:l,...u},c)=>{const{prefix:d}=k.useGlobalSettings();let n=`${d}--link`;e!=null&&e.includes("button")&&(n="");const f=h.classnames(n,`${n}__theme__${o}`,e);return i.jsxs("a",{ref:c,className:f,href:l,target:s,rel:s?"noopener noreferrer":void 0,...u,children:[r&&i.jsx("span",{className:"link__label",children:r}),t]})});exports.Link=x;
1
+ "use strict";const i=require("react/jsx-runtime"),_=require("react"),h=require("./index-chunk-Cxg31gtu.js"),k=require("./useGlobalSettings-chunk-Cd48T6lS.js"),x=_.forwardRef(({children:t,className:e,label:r,target:s,theme:o="light",url:l,...u},c)=>{const{prefix:d}=k.useGlobalSettings();let n=`${d}--link`;e!=null&&e.includes("button")&&(n="");const f=h.classNames(n,`${n}__theme__${o}`,e);return i.jsxs("a",{ref:c,className:f,href:l,target:s,rel:s?"noopener noreferrer":void 0,...u,children:[r&&i.jsx("span",{className:"link__label",children:r}),t]})});exports.Link=x;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-BcVWiDXw.js");exports.Link=e.Link;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-CP7cvvcX.js");exports.Link=e.Link;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("./index-chunk-D921N0ug.js"),x=require("./useGlobalSettings-chunk-DEacV16j.js"),o=u.forwardRef(({className:c,headline:n,linkgroup:r,theme:t="light"},d)=>{const{prefix:m}=x.useGlobalSettings(),s=`${m}--link-list`;return e.jsxs("div",{ref:d,className:a.classnames(s,c,`${s}--${t}`),children:[n&&e.jsx("h3",{className:`${s}--headline`,children:n}),e.jsx("ul",{className:`${s}--linkgroups`,children:r.map((l,h)=>e.jsxs("li",{className:`${s}--linkgroups-item`,children:[l.headline&&e.jsx("h4",{className:`${s}--links--headline`,children:l.headline}),e.jsx("ul",{className:`${s}--links`,children:l.links.map((i,$)=>e.jsx("li",{className:a.classnames(`${s}--links--item`,{indented:i.indented}),children:e.jsxs("a",{href:i.url,className:`${s}--link`,children:[e.jsx("span",{className:`${s}--label`,children:i.label}),e.jsx("span",{className:`${s}--icon`})]})},`link-${$}`))})]},`linkgroup-${h}`))})]})});exports.LinkList=o;
1
+ "use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("./index-chunk-Cxg31gtu.js"),x=require("./useGlobalSettings-chunk-Cd48T6lS.js"),o=u.forwardRef(({className:c,headline:n,linkgroup:r,theme:t="light"},d)=>{const{prefix:m}=x.useGlobalSettings(),s=`${m}--link-list`;return e.jsxs("div",{ref:d,className:a.classNames(s,c,`${s}--${t}`),children:[n&&e.jsx("h3",{className:`${s}--headline`,children:n}),e.jsx("ul",{className:`${s}--linkgroups`,children:r.map((l,h)=>e.jsxs("li",{className:`${s}--linkgroups-item`,children:[l.headline&&e.jsx("h4",{className:`${s}--links--headline`,children:l.headline}),e.jsx("ul",{className:`${s}--links`,children:l.links.map((i,$)=>e.jsx("li",{className:a.classNames(`${s}--links--item`,{indented:i.indented}),children:e.jsxs("a",{href:i.url,className:`${s}--link`,children:[e.jsx("span",{className:`${s}--label`,children:i.label}),e.jsx("span",{className:`${s}--icon`})]})},`link-${$}`))})]},`linkgroup-${h}`))})]})});exports.LinkList=o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./LinkList-chunk-AT26ZVEG.js");exports.LinkList=i.LinkList;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./LinkList-chunk-Duhkqb-C.js");exports.LinkList=i.LinkList;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),u=require("./index-chunk-Cxg31gtu.js"),d=require("./useGlobalSettings-chunk-Cd48T6lS.js"),f=c.forwardRef(({children:t,className:a,alignment:o="default",ordered:l="unstyled",title:i,theme:n="light",...r},m)=>{const{prefix:x}=d.useGlobalSettings(),s=`${x}--list`,b=u.classNames(a,s,{[`${s}__unstyled`]:l==="unstyled",[`${s}__horizontal`]:o==="horizontal",[`${s}__theme__${n}`]:n});return e.jsxs("div",{className:b,ref:m,...r,children:[i&&e.jsx("h2",{className:`${s}--title`,children:i}),l==="ordered"?e.jsx("ol",{children:t}):e.jsx("ul",{children:t})]})}),j=c.forwardRef(({children:t,className:a,...o},l)=>{const{prefix:i}=d.useGlobalSettings(),n=`${i}--list--item`,r=u.classNames(a,n);return e.jsx("li",{className:r,ref:l,...o,children:t})}),_=Object.assign(f,{Item:j});exports.List=_;
@@ -1 +1 @@
1
- "use strict";const l=require("react/jsx-runtime"),c=require("./index-chunk-D921N0ug.js"),r=require("./useGlobalSettings-chunk-DEacV16j.js"),g=({className:a,size:s,status:i,theme:o="dark"})=>{const{prefix:n}=r.useGlobalSettings(),e=`${n}--loading`,d=c.classnames(a,e,`${e}__theme__${o}`,{[`${e}__size__${s}`]:s,[`${e}--${i}`]:i});return l.jsxs("div",{className:d,role:"alert","aria-live":"assertive",children:[i==="loading"&&l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 107.7 107.7",className:`${e}__loading`,children:[l.jsx("circle",{cx:"53.8",cy:"53.7",r:"53.9",fill:"var(--ilo-loading-loading-circle)"}),l.jsx("path",{d:"M101.8 53.7c0-10.8-3.6-21.2-10.3-29.7-6.7-8.5-16-14.4-26.5-17s-21.5-1.4-31.3 3.1C23.9 14.7 16 22.4 11.1 32c-4.9 9.6-6.4 20.6-4.3 31.2 2.1 10.6 7.7 20.1 15.9 27.1s18.5 11 29.3 11.5c10.8.4 21.4-2.8 30.1-9.1l-4.7-6.4c-7.3 5.3-16.1 8-25.1 7.6-9-.4-17.6-3.7-24.5-9.6-6.8-5.9-11.5-13.9-13.3-22.7-1.8-8.8-.5-18 3.6-26S28.9 21.2 37 17.4c8.2-3.8 17.4-4.7 26.1-2.6 8.8 2.1 16.5 7.1 22.1 14.2s8.6 15.8 8.6 24.8h8z",fill:"var(--ilo-loading-loading-line)"}),l.jsx("path",{d:"m97.8 74.9 9.5-17.2h-19l9.5 17.2z",fill:"var(--ilo-loading-loading-pointer)"})]}),(i==="loaded"||i==="idle")&&l.jsxs("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 97 96",children:[l.jsx("path",{d:"M.237 48c0-26.51 21.49-48 48-48s48 21.49 48 48-21.49 48-48 48-48-21.49-48-48Z",fill:"var(--ilo-loading-loaded-circle)"}),l.jsx("path",{d:"M20.237 48c0-15.464 12.536-28 28-28 15.463 0 28 12.536 28 28s-12.536 28-28 28-28-12.536-28-28Z",fill:"var(--ilo-loading-loaded-cirlce-inner)"}),l.jsx("path",{d:"m44.037 50.8-5.6-5.6-4.2 4.2 9.8 9.8 18.2-18.2-4.2-4.2-14 14Z",fill:"var(--ilo-loading-loaded-check)"})]})]})},t=g;exports.Loading=t;
1
+ "use strict";const l=require("react/jsx-runtime"),r=require("./index-chunk-Cxg31gtu.js"),c=require("./useGlobalSettings-chunk-Cd48T6lS.js"),g=({className:a,size:s,status:i,theme:o="dark"})=>{const{prefix:n}=c.useGlobalSettings(),e=`${n}--loading`,d=r.classNames(a,e,`${e}__theme__${o}`,{[`${e}__size__${s}`]:s,[`${e}--${i}`]:i});return l.jsxs("div",{className:d,role:"alert","aria-live":"assertive",children:[i==="loading"&&l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 107.7 107.7",className:`${e}__loading`,children:[l.jsx("circle",{cx:"53.8",cy:"53.7",r:"53.9",fill:"var(--ilo-loading-loading-circle)"}),l.jsx("path",{d:"M101.8 53.7c0-10.8-3.6-21.2-10.3-29.7-6.7-8.5-16-14.4-26.5-17s-21.5-1.4-31.3 3.1C23.9 14.7 16 22.4 11.1 32c-4.9 9.6-6.4 20.6-4.3 31.2 2.1 10.6 7.7 20.1 15.9 27.1s18.5 11 29.3 11.5c10.8.4 21.4-2.8 30.1-9.1l-4.7-6.4c-7.3 5.3-16.1 8-25.1 7.6-9-.4-17.6-3.7-24.5-9.6-6.8-5.9-11.5-13.9-13.3-22.7-1.8-8.8-.5-18 3.6-26S28.9 21.2 37 17.4c8.2-3.8 17.4-4.7 26.1-2.6 8.8 2.1 16.5 7.1 22.1 14.2s8.6 15.8 8.6 24.8h8z",fill:"var(--ilo-loading-loading-line)"}),l.jsx("path",{d:"m97.8 74.9 9.5-17.2h-19l9.5 17.2z",fill:"var(--ilo-loading-loading-pointer)"})]}),(i==="loaded"||i==="idle")&&l.jsxs("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 97 96",children:[l.jsx("path",{d:"M.237 48c0-26.51 21.49-48 48-48s48 21.49 48 48-21.49 48-48 48-48-21.49-48-48Z",fill:"var(--ilo-loading-loaded-circle)"}),l.jsx("path",{d:"M20.237 48c0-15.464 12.536-28 28-28 15.463 0 28 12.536 28 28s-12.536 28-28 28-28-12.536-28-28Z",fill:"var(--ilo-loading-loaded-cirlce-inner)"}),l.jsx("path",{d:"m44.037 50.8-5.6-5.6-4.2 4.2 9.8 9.8 18.2-18.2-4.2-4.2-14 14Z",fill:"var(--ilo-loading-loaded-check)"})]})]})};exports.Loading=g;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Loading-chunk-BZ2x4P8i.js");exports.Loading=e.Loading;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Loading-chunk-BAVpKjsu.js");exports.Loading=e.Loading;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("react"),V=require("./useGlobalSettings-chunk-Cd48T6lS.js"),R=require("./index-chunk-Cxg31gtu.js"),M=({clientHeight:e,clientWidth:l,scrollHeight:n,scrollWidth:o})=>n>e||o>l,P=(e,{maxSize:l=600,startingHeight:n=9,step:o=.5})=>{let t=n,c=!1;for(;!c&&t<l;)e.style.fontSize=`${t}px`,e.style.lineHeight=`${t}px`,c=M(e),c||(t=t+o);return e.style.fontSize="",e.style.lineHeight="",t-o},I=({baseClass:e,className:l,subbrand:n,alt:o,src:t,style:c,size:f="fluid",theme:u="light",...$})=>{const g=s.useRef(null),h=s.useRef(null),p=s.useRef(null),a=s.useRef(null),[d,N]=s.useState(!1),[L,F]=s.useState(0),[y,b]=s.useState(0),[k,H]=s.useState(!n),j=s.useRef(new ResizeObserver(i=>{const{height:x}=i[0].contentRect;a.current||(a.current=x),F(x)}));s.useEffect(()=>{n&&d&&y&&H(!0)},[d,y,n]),s.useLayoutEffect(()=>{if(d&&h.current&&g.current){const i=g.current;return j.current.observe(i),()=>j.current.unobserve(i)}},[d]),s.useLayoutEffect(()=>{v()},[d,a.current]),s.useLayoutEffect(()=>{v()},[n]);function v(){if(h.current&&p.current&&a.current){const x=P(h.current,{maxSize:a.current})/a.current;b(x)}}function w(){N(!0)}const m=!!n,z=f==="fluid",E=!z&&typeof f=="number",S=`${e}--sub-brand`,q=`${e}--size--fluid`,B=`${e}--visibility--hidden`,O=R.classNames(e,l,`${e}--theme--${u}`,{[B]:!k,[q]:z,[S]:m}),W=`${e}--image`,C=`${S}--image`,G=()=>{const i={};return m&&(i["--logo-image-height"]=`${L}px`,i["--logo-font-size"]=`${y*L}px`),E&&(i.width=`${f}px`),{...c,...i}},T=()=>typeof t=="string"?t:t[u];return r.jsxs("figure",{className:O,style:G(),children:[r.jsx("img",{ref:g,alt:o,src:T(),className:R.classNames({[C]:m,[W]:!m}),onLoad:w,...$}),m&&r.jsxs("div",{ref:h,className:`${S}--lock-up`,children:[r.jsx("span",{className:`${S}--lock-up--separator`}),r.jsx("span",{ref:p,children:n})]})]})},A=({className:e,url:l,target:n,style:o,size:t,...c})=>{const{prefix:f}=V.useGlobalSettings(),u=`${f}--logo`,$=`${u}--link`,g=`${u}--size--fluid`;return l?r.jsx("a",{href:l,target:n,className:R.classNames($,e,{[g]:t==="fluid"}),style:o,children:r.jsx(I,{...c,baseClass:u,size:t})}):r.jsx(I,{baseClass:u,className:e,style:o,size:t,...c})};exports.Logo=A;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("./index-chunk-Cxg31gtu.js"),c=require("./useGlobalSettings-chunk-Cd48T6lS.js"),g=({url:t,label:o,src:r})=>{const{prefix:e}=c.useGlobalSettings(),l=`${e}--logo-grid--item`,n=`${e}--logo-grid--link`,i=a.classNames(l,{[n]:!!t});return t?s.jsx("a",{className:i,href:t,target:"_blank",rel:"noopener noreferrer",children:s.jsx("img",{alt:o,src:r})}):s.jsx("div",{className:i,children:s.jsx("img",{alt:o,src:r})})},d=({logos:t,theme:o="light"})=>{const{prefix:r}=c.useGlobalSettings(),e=`${r}--logo-grid`,l=`${e}__theme__${o}`,n=a.classNames(e,l);return s.jsx("div",{className:n,children:s.jsx("div",{className:`${e}--logos`,children:t.map(i=>s.jsx(g,{...i},i.label))})})};exports.LogoGrid=d;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SubsiteNav-chunk-CVWgp2ti.js");exports.SubsiteNav=e.SubsiteNav;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SubsiteNav-chunk-G3tutetq.js");exports.SubsiteNav=e.SubsiteNav;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=()=>null,i=t;exports.Navigation=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=()=>null;exports.Navigation=t;
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),l=require("react"),f=require("./index-chunk-D921N0ug.js"),m=require("./useGlobalSettings-chunk-DEacV16j.js"),N=require("./Button-chunk-BPxitLjn.js"),b=l.forwardRef(({className:o,closelabel:c="Close",copy:r,cta:i,headline:d,placement:t,timestamp:n,type:a},u)=>{const{prefix:x}=m.useGlobalSettings(),[h,j]=l.useState(!0),e=`${x}--notification`,$=f.classnames(e,o,{[`${e}--${t}`]:t,[`icon icon--${a}`]:a});return s.jsx(s.Fragment,{children:h&&s.jsxs("div",{className:$,role:"status","aria-live":"polite","aria-relevant":"additions",ref:u,children:[s.jsxs("div",{className:`${e}--content`,children:[s.jsx("h2",{className:`${e}--headline`,children:d}),s.jsx("p",{className:`${e}--copy`,children:r}),n&&s.jsx("time",{className:`${e}--date`,dateTime:n.unix,children:n.human}),i&&s.jsx("div",{className:`${e}__footer`,children:s.jsx(N.Button,{type:"secondary",size:"small",link:{url:i.url,label:i.label}})})]}),s.jsx("button",{className:`${e}--close`,type:"button",onClick:()=>j(!1),children:s.jsx("span",{children:c})})]})})});exports.Notification=b;
1
+ "use strict";const s=require("react/jsx-runtime"),l=require("react"),$=require("./index-chunk-Cxg31gtu.js"),f=require("./useGlobalSettings-chunk-Cd48T6lS.js"),m=require("./Button-chunk-GqAQVgEt.js"),b=l.forwardRef(({className:o,closelabel:c="Close",copy:r,cta:i,headline:d,placement:t,timestamp:n,type:a},u)=>{const{prefix:x}=f.useGlobalSettings(),[h,j]=l.useState(!0),e=`${x}--notification`,N=$.classNames(e,o,{[`${e}--${t}`]:t,[`icon icon--${a}`]:a});return s.jsx(s.Fragment,{children:h&&s.jsxs("div",{className:N,role:"status","aria-live":"polite","aria-relevant":"additions",ref:u,children:[s.jsxs("div",{className:`${e}--content`,children:[s.jsx("h2",{className:`${e}--headline`,children:d}),s.jsx("p",{className:`${e}--copy`,children:r}),n&&s.jsx("time",{className:`${e}--date`,dateTime:n.unix,children:n.human}),i&&s.jsx("div",{className:`${e}__footer`,children:s.jsx(m.Button,{type:"secondary",size:"small",link:{url:i.url,label:i.label}})})]}),s.jsx("button",{className:`${e}--close`,type:"button",onClick:()=>j(!1),children:s.jsx("span",{children:c})})]})})});exports.Notification=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-BDC2i-2V.js");exports.Notification=i.Notification;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-2QCwWkyJ.js");exports.Notification=i.Notification;
@@ -0,0 +1 @@
1
+ "use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-Cxg31gtu.js"),g=require("./useGlobalSettings-chunk-Cd48T6lS.js"),u=require("./FormControl-chunk-bBkCVOW6.js"),p=l.forwardRef(({onChange:e,onBlur:n,disabled:s=!1,error:o,id:t,name:r,placeholder:c,required:m,max:b,min:d,step:f},C)=>{const{prefix:a}=g.useGlobalSettings(),x=u.useFormControl(),{ariaDescribedBy:y}=x,N=`${a}--input`,k=`${a}--numberpicker`,q=!s&&!!o,h=R.classNames(N,k,{error:q}),j=P=>{e&&e(P)};return i.jsx("input",{ref:C,id:t||r,name:r,onChange:j,onBlur:n,disabled:s,placeholder:c,required:m,type:"number",className:h,pattern:"[0-9]*",inputMode:"numeric","aria-describedby":y,max:b,min:d,step:f})}),F=l.forwardRef((e,n)=>{const{style:s,inputStyle:o,className:t,...r}=e,c=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:c,style:s,className:t,...r,children:i.jsx(p,{ref:n,style:o,...r})})});exports.LabelledNumberPicker=F;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-kaW8wv3h.js");exports.NumberPicker=e.LabelledNumberPicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-CTlAxdIK.js");exports.NumberPicker=e.LabelledNumberPicker;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("./index-chunk-Cxg31gtu.js"),G=require("./useGlobalSettings-chunk-Cd48T6lS.js"),L=({className:n,callback:c,currentPage:l,firstPageUrl:u,firstPageTitle:r="First page",lastPageUrl:j,lastPageTitle:o="Last page",nextPageUrl:m,nextPageTitle:d="Next page",pageCountPreposition:C="of",prevPageUrl:N,prevPageTitle:h="Previous page",totalPages:p,theme:g="light"})=>{const{prefix:f}=G.useGlobalSettings(),s=`${f}--pagination`,k=`${s}__theme__${g}`,b=a.classNames(n,s,k),$=l===0,x=l+1===p,v=a.classNames(n,{[`${s}--first-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:$}),_=a.classNames(n,{[`${s}--prev-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:$}),q=a.classNames(n,{[`${s}--next-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),F=a.classNames(n,{[`${s}--last-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),t=i=>{c&&c(i)};return e.jsxs("div",{className:b,children:[e.jsxs("div",{className:`${s}--previous-set`,children:[e.jsx("a",{className:v,onClick:i=>t(i),href:u,title:r,children:r}),e.jsx("a",{className:_,onClick:i=>t(i),href:N,title:h,children:h})]}),e.jsxs("p",{className:`${s}--page`,children:[e.jsx("span",{children:l+1}),e.jsx("span",{children:C}),e.jsx("span",{children:p})]}),e.jsxs("div",{className:`${s}--next-set`,children:[e.jsx("a",{className:q,onClick:i=>t(i),href:m,title:d,children:d}),e.jsx("a",{className:F,onClick:i=>t(i),href:j,title:o,children:o})]})]})};exports.Pagination=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-chunk-D3Ve2ASf.js");exports.Pagination=i.Pagination;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-chunk-mrfIdsCC.js");exports.Pagination=i.Pagination;
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),b=require("react"),d=require("./index-chunk-D921N0ug.js"),x=require("./useGlobalSettings-chunk-DEacV16j.js"),m=b.forwardRef(({className:c,url:e,loading:n,alt:a},o)=>{const{prefix:u}=x.useGlobalSettings(),t=`${u}--picture`,l=d.classnames(t,c);return r.jsxs("picture",{className:l,ref:o,children:[Array.isArray(e)?[...e].reverse().map((s,i,p)=>i<p.length-1?r.jsx("source",{srcSet:s.src,media:s.breakpoint?/^\d+$/.test(s.breakpoint.toString())?`(min-width: ${s.breakpoint}px)`:s.breakpoint.toString():void 0},i):null):null,r.jsx("img",{className:`${t}--img`,src:Array.isArray(e)?e.reverse()[0].src:e,alt:a,loading:n})]})});exports.Picture=m;
1
+ "use strict";const r=require("react/jsx-runtime"),b=require("react"),d=require("./index-chunk-Cxg31gtu.js"),x=require("./useGlobalSettings-chunk-Cd48T6lS.js"),m=b.forwardRef(({className:c,url:e,loading:a,alt:n},o)=>{const{prefix:u}=x.useGlobalSettings(),t=`${u}--picture`,l=d.classNames(t,c);return r.jsxs("picture",{className:l,ref:o,children:[Array.isArray(e)?[...e].reverse().map((s,i,p)=>i<p.length-1?r.jsx("source",{srcSet:s.src,media:s.breakpoint?/^\d+$/.test(s.breakpoint.toString())?`(min-width: ${s.breakpoint}px)`:s.breakpoint.toString():void 0},i):null):null,r.jsx("img",{className:`${t}--img`,src:Array.isArray(e)?e.reverse()[0].src:e,alt:n,loading:a})]})});exports.Picture=m;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Picture-chunk-CK6tJPnd.js");exports.Picture=e.Picture;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Picture-chunk-CWRmIhTV.js");exports.Picture=e.Picture;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),x=require("react"),f=require("./index-chunk-D921N0ug.js"),$=require("./useGlobalSettings-chunk-DEacV16j.js"),j=require("./Icon-chunk-QFryHTpy.js"),m=x.forwardRef(({avatar:t,className:o,description:a,link:r,name:i,role:l,theme:n="light",size:c="large"},d)=>{const{prefix:h}=$.useGlobalSettings(),s=`${h}--profile`,u=f.classnames(o,{[s]:!0,[`${s}__theme__${n}`]:n,[`${s}__size__${c}`]:c});return e.jsxs("figure",{className:u,ref:d,children:[e.jsx("img",{className:`${s}--avatar`,src:t,alt:`Photo of ${i}`}),e.jsx("figcaption",{children:e.jsxs("div",{className:`${s}--figcaption--content`,children:[e.jsx("div",{className:`${s}--name`,children:i}),l&&e.jsx("div",{className:`${s}--role`,children:l})]})}),a&&e.jsx("p",{className:`${s}--description`,children:a}),r&&e.jsx("div",{className:`${s}--link`,children:e.jsxs("a",{href:r.url,target:"__blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:`${s}--link--label`,children:r.label}),e.jsx(j.Icon,{name:"ChevronRight",size:24,hidden:!0})]})})]})});exports.Profile=m;
1
+ "use strict";const e=require("react/jsx-runtime"),x=require("react"),f=require("./index-chunk-Cxg31gtu.js"),$=require("./useGlobalSettings-chunk-Cd48T6lS.js"),j=require("./Icon-chunk-DtOVpxQ-.js"),m=x.forwardRef(({avatar:t,className:o,description:a,link:r,name:i,role:l,theme:n="light",size:c="large"},d)=>{const{prefix:h}=$.useGlobalSettings(),s=`${h}--profile`,u=f.classNames(o,{[s]:!0,[`${s}__theme__${n}`]:n,[`${s}__size__${c}`]:c});return e.jsxs("figure",{className:u,ref:d,children:[e.jsx("img",{className:`${s}--avatar`,src:t,alt:`Photo of ${i}`}),e.jsx("figcaption",{children:e.jsxs("div",{className:`${s}--figcaption--content`,children:[e.jsx("div",{className:`${s}--name`,children:i}),l&&e.jsx("div",{className:`${s}--role`,children:l})]})}),a&&e.jsx("p",{className:`${s}--description`,children:a}),r&&e.jsx("div",{className:`${s}--link`,children:e.jsxs("a",{href:r.url,target:"__blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:`${s}--link--label`,children:r.label}),e.jsx(j.Icon,{name:"ChevronRight",size:24,hidden:!0})]})})]})});exports.Profile=m;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Profile-chunk-Du8HEAQA.js");exports.Profile=e.Profile;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Profile-chunk-BYt-KzV1.js");exports.Profile=e.Profile;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),N=require("./index-chunk-Cxg31gtu.js"),S=require("./useGlobalSettings-chunk-Cd48T6lS.js"),g=require("./usePrevious-chunk-DENrwKF1.js"),P=require("./Fieldset-chunk-ChHFEwgQ.js"),b=require("./FormControl-chunk-bBkCVOW6.js"),$=u.forwardRef(({onChange:e,onBlur:a,disabled:l=!1,error:s,id:o,name:r,required:i,checked:n,defaultChecked:c=!1,value:C},x)=>{const{prefix:R}=S.useGlobalSettings(),{setHasError:f}=P.useFieldsetError(),q=b.useFormControl(),m=g.usePrevious(s);u.useEffect(()=>{s!==m&&f(!!s)},[s,m,f]);const{ariaDescribedBy:j}=q,y=E=>{e&&e(E)},d=`${R}--radio`,F=`${d}--control`,h=`${d}__error`,v=N.classNames(d,{[h]:s});return t.jsxs("div",{className:v,children:[t.jsx("input",{ref:x,id:o||r,name:r,onChange:y,onBlur:a,disabled:l,required:i,type:"radio",defaultChecked:c,"aria-describedby":j,checked:n,value:C}),t.jsx("span",{className:F})]})}),w=u.forwardRef((e,a)=>{const{style:l,inputStyle:s,className:o,labelPlacement:r="end",labelSize:i="small",...n}=e,c=e.id?e.id:e.name;return t.jsx(b.FormControl,{fieldId:c,style:l,className:o,labelPlacement:r,labelSize:i,...n,children:t.jsx($,{ref:a,style:s,...n})})});exports.LabelledRadio=w;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./Radio-chunk-C4PweUcm.js"),o={className:"Radio",name:"radio"},e={basic:o};exports.Radio=a.LabelledRadio;exports.RadioArgs=e;
@@ -0,0 +1 @@
1
+ "use strict";const o=require("react/jsx-runtime"),d=require("react"),u=require("./index-chunk-Cxg31gtu.js"),q=require("./useGlobalSettings-chunk-Cd48T6lS.js"),j=require("./RichText-chunk-vKgvdzZl.js"),p=({buttonlabel:s,className:c,excerpt:t,fulltext:r,openatstart:i,...l})=>{const{prefix:x}=q.useGlobalSettings(),n=`${x}--read-more`,[a,m]=d.useState(i?r:t),[e,C]=d.useState(i),R=u.classNames(c,{[n]:!0,[`${n}--open`]:e}),$=u.classNames(c,{[`${n}--button`]:!0,[`${n}--button--open`]:e}),h=()=>{m(a===t?r:t),C(!e)};return o.jsxs("div",{className:R,children:[o.jsx(j.RichText,{content:a,...l}),o.jsx("button",{className:$,"aria-expanded":e,onClick:()=>h(),children:e?`${s&&s.opened}`:`${s&&s.closed}`})]})};exports.ReadMore=p;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReadMore-chunk-Cz3Dc9Cz.js");exports.ReadMore=e.ReadMore;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReadMore-chunk-DjPhO-lH.js");exports.ReadMore=e.ReadMore;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("react/jsx-runtime"),a=require("./index-chunk-Cxg31gtu.js"),o=require("./useGlobalSettings-chunk-Cd48T6lS.js"),u=({className:s,content:t,theme:n="light"})=>{const{prefix:c}=o.useGlobalSettings(),e=`${c}--richtext`,i=`${e}__theme__${n}`,r=a.classNames(s,e,i);return l.jsx("div",{className:r,dangerouslySetInnerHTML:{__html:t}})};exports.RichText=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RichText-chunk-CLfo33Pr.js");exports.RichText=e.RichText;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RichText-chunk-vKgvdzZl.js");exports.RichText=e.RichText;
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),o=require("react"),I=require("./index-chunk-Cxg31gtu.js"),N=require("./useGlobalSettings-chunk-Cd48T6lS.js"),$=require("./Icon-chunk-DtOVpxQ-.js"),v=require("./FormControl-chunk-bBkCVOW6.js"),w=o.forwardRef(({action:m,callback:c,className:b,input:e},x)=>{const[d,t]=o.useState(""),{prefix:r}=N.useGlobalSettings(),l=`${r}--searchfield`,C=`${l}--button`,f=`${l}--clear-button ${d.trim()!==""&&"show"}`,j=o.useId(),h=(e==null?void 0:e.id)||j,S=`${r}--fieldset`,i=a=>{c&&c(a)},q=()=>{t("")},y=a=>{t(a.target.value)},n=!!(e!=null&&e.type);if(!n)throw new Error("SearchField: Input must have type prop");return n?s.jsx("form",{action:m,children:s.jsx(v.FormControl,{fieldId:h,error:!!(e!=null&&e.error),helper:(e==null?void 0:e.helper)||"",label:(e==null?void 0:e.label)||"",style:{width:"100%"},children:s.jsxs("div",{className:I.classNames(b,l),children:[s.jsxs("div",{className:S,children:[s.jsx("input",{className:`${r}--text-input`,id:h,name:e.name,onChange:y,placeholder:e==null?void 0:e.placeholder,value:d,ref:x,disabled:e==null?void 0:e.disabled}),s.jsx("span",{onClick:q,className:f,role:"presentation",children:s.jsx($.Icon,{name:"close",hidden:!0})})]}),s.jsx("input",{className:C,disabled:e==null?void 0:e.disabled,type:"submit",onClick:i})]})})}):null});exports.SearchField=w;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-BuB-C9aK.js");exports.SearchField=e.SearchField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-Co2k3NxN.js");exports.SearchField=e.SearchField;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("react/jsx-runtime"),a=require("./index-chunk-Cxg31gtu.js"),u=require("react"),$=require("./useGlobalSettings-chunk-Cd48T6lS.js"),d=u.forwardRef(({className:c,theme:t="light",justify:r="start",headline:i,icons:n,iconSize:o="normal"},_)=>{const{prefix:m}=$.useGlobalSettings(),s=`${m}--social-media`;return l.jsxs("div",{className:a.classNames(s,`${s}__theme__${t}`,`${s}__justify__${r}`,c),ref:_,children:[i&&l.jsx("h5",{className:`${s}--headline`,children:i}),l.jsx("ul",{className:a.classNames(`${s}--list`,`${s}--list__size__${o}`),children:n.map(e=>l.jsx("li",{className:a.classNames(`${s}--list--item`,e.className),children:l.jsx("a",{title:e.label,className:a.classNames(`${s}--list--item--icon`,`${s}--list--item--icon__${e.icon}`),href:e.url,children:e.label})},e.url))})]})});exports.SocialMedia=d;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./SocialMedia-chunk-BnyEyk0Y.js"),l={headline:"Follow us on social media",theme:"light",justify:"start",iconSize:"normal",icons:[{icon:"bluesky",label:"Bluesky",url:"https://bsky.app/profile/ilo.org"},{icon:"facebook",url:"https://www.facebook.com/ilo.org",label:"Facebook"},{icon:"x",url:"https://x.com/ilo",label:"x"},{icon:"instagram",url:"https://www.instagram.com/ilo.org/",label:"Instagram"},{icon:"linkedin",url:"https://www.linkedin.com/company/international-labour-organization-ilo",label:"LinkedIn"},{icon:"youtube",url:"https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA",label:"YouTube"},{icon:"tiktok",url:"https://www.tiktok.com/@ilo",label:"TikTok"},{icon:"flickr",url:"https://www.flickr.com/photos/ilopictures/albums",label:"flickr"},{icon:"wechat",label:"Wechat",url:"https://wechat.com"},{icon:"weibo",label:"Weibo",url:"https://weibo.com"}]};exports.SocialMedia=o.SocialMedia;exports.socialMediaArgs=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./SocialMedia-chunk-B_GSOonV.js"),l={headline:"Follow us on social media",theme:"light",justify:"start",iconSize:"normal",icons:[{icon:"bluesky",label:"Bluesky",url:"https://bsky.app/profile/ilo.org"},{icon:"facebook",url:"https://www.facebook.com/ilo.org",label:"Facebook"},{icon:"x",url:"https://x.com/ilo",label:"x"},{icon:"instagram",url:"https://www.instagram.com/ilo.org/",label:"Instagram"},{icon:"linkedin",url:"https://www.linkedin.com/company/international-labour-organization-ilo",label:"LinkedIn"},{icon:"youtube",url:"https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA",label:"YouTube"},{icon:"tiktok",url:"https://www.tiktok.com/@ilo",label:"TikTok"},{icon:"flickr",url:"https://www.flickr.com/photos/ilopictures/albums",label:"flickr"},{icon:"wechat",label:"Wechat",url:"https://wechat.com"},{icon:"weibo",label:"Weibo",url:"https://weibo.com"}]};exports.SocialMedia=o.SocialMedia;exports.socialMediaArgs=l;
@@ -1 +1 @@
1
- "use strict";const u=require("react/jsx-runtime"),o=require("react"),l=require("./index-chunk-D921N0ug.js"),d=require("./useGlobalSettings-chunk-DEacV16j.js"),q=o.forwardRef(({statusType:t="active",content:e,elementId:a,className:n},r)=>{const{prefix:c}=d.useGlobalSettings(),s=`${c}--status`,i=l.classnames(s,n,`${s}__type__${t}`);return u.jsx("span",{className:i,id:a,ref:r,children:e})});exports.Status=q;
1
+ "use strict";const u=require("react/jsx-runtime"),o=require("react"),l=require("./index-chunk-Cxg31gtu.js"),d=require("./useGlobalSettings-chunk-Cd48T6lS.js"),q=o.forwardRef(({statusType:t="active",content:e,elementId:a,className:n},r)=>{const{prefix:c}=d.useGlobalSettings(),s=`${c}--status`,i=l.classNames(s,n,`${s}__type__${t}`);return u.jsx("span",{className:i,id:a,ref:r,children:e})});exports.Status=q;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Status-chunk-DJ3wnXYt.js");exports.Status=t.Status;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Status-chunk-CaABjeKb.js");exports.Status=t.Status;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),u=require("react"),N=require("./useGlobalSettings-chunk-DEacV16j.js"),I=require("react-dom"),b=require("./index-chunk-D921N0ug.js"),O=require("./LanguageToggle-chunk-DdIPnYuL.js"),B=require("./useBreakpoint-chunk-B5MpfIru.js"),q=({isOpen:l,className:r,navRef:c,children:s})=>{const{prefix:a}=N.useGlobalSettings(),t=u.useRef(null),m=`${a}--nav-dropdown`,i=u.useCallback(()=>{if(!(t!=null&&t.current)||!(c!=null&&c.current))return;const o=c.current.getBoundingClientRect();t.current.style.top=`${o.bottom}px`,t.current.style.width=`${o.width}px`},[c]);return u.useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[c]),typeof document>"u"?null:I.createPortal(e.jsx("div",{ref:t,className:b.classnames({[m]:!0,[`${m}--open`]:l,className:r}),children:e.jsx("div",{className:`${m}__container`,children:s})}),document.body)},S=u.memo(q),$=l=>{const{label:r,component:c,...s}=l;return c?e.jsx(c,{...s,children:r}):e.jsx("a",{...s,children:r})},M=({menu:l})=>{const{prefix:r}=N.useGlobalSettings(),c=`${r}--nav-menu-grid`,s=[];for(let a=0;a<l.length;a+=5)s.push(l.slice(a,a+5));return e.jsx("div",{className:c,children:s.map((a,t)=>e.jsx("div",{className:`${c}__column`,children:a.map(m=>{var i;return e.jsx($,{className:`${c}__item`,href:m.href,label:m.label},(i=m.label)==null?void 0:i.toString())})},t))})},k=({menu:l})=>{const{prefix:r}=N.useGlobalSettings(),c=`${r}--nav-mobile-menu`;return e.jsx("ul",{className:`${c}`,children:l.map((s,a)=>{const t=typeof s.isActive=="function"?s.isActive():s.isActive;return e.jsxs("li",{className:`${c}__item`,children:[e.jsx($,{label:s.label,href:s.href,className:`${c}__link`}),t&&e.jsx("span",{className:`${c}__marked`})]},a)})})},C=({isOpen:l,onClose:r,header:c,widgets:s,children:a,className:t})=>{const{prefix:m}=N.useGlobalSettings(),i=u.useId(),o=`${m}--nav-mobile-drawer`;return typeof document>"u"?null:I.createPortal(e.jsxs("div",{id:`${o}__${i}`,className:b.classnames(o,t,{[`${o}--open`]:l}),children:[e.jsxs("div",{className:`${o}__header`,children:[e.jsx("div",{className:`${o}__header-main`,children:c}),e.jsx("button",{className:`${o}__header-close`,onClick:r,"aria-label":"Close navigation",children:e.jsx("span",{className:`${o}__header-close__icon`})})]}),e.jsxs("div",{className:`${o}__container`,children:[e.jsx("div",{className:`${o}__widgets`,children:s}),a]})]}),document.body)},D=({options:l,selected:r})=>{const c=(l==null?void 0:l.map(a=>({label:a.label,href:a.url})))||[],s=[{label:r,href:"#",isActive:!0},...c];return e.jsx(k,{menu:s})},L=({isOpen:l,navigationProps:{branding:r,menu:{items:c,labels:s},widgets:a},onClose:t})=>{var v,f,g;const{prefix:m}=N.useGlobalSettings(),[i,o]=u.useState(!1),[j,d]=u.useState(!1),x=u.useCallback(()=>{o(!1),d(!1)},[]),_=`${m}--nav-mobile`,h=i||j,p=c.slice(0,5),n=c.slice(5);return e.jsxs(C,{isOpen:l,onClose:t,header:e.jsx("div",{className:`${_}__branding`,children:e.jsx("div",{className:`${_}__logo`,children:r.logo.drawer||r.logo.main})}),widgets:e.jsxs("div",{className:`${_}__widgets`,children:[(a==null?void 0:a.search)&&e.jsxs("a",{className:`${_}__widgets-search`,href:a.search.url,"aria-label":"Search",children:[e.jsx("span",{className:`${_}__widgets-search__label`,children:a.search.label}),e.jsx("span",{className:`${_}__widgets-search__icon`})]}),(a==null?void 0:a.link)&&e.jsx($,{className:`${_}__widgets-link`,href:a.link.href,"aria-label":a.link.label,label:a.link.label}),(a==null?void 0:a.language)&&e.jsxs("button",{className:`${_}__widgets-language`,onClick:()=>d(!0),"aria-expanded":j,"aria-controls":"language-list","aria-label":"Select language",children:[e.jsxs("span",{className:`${_}__widgets-language__label`,children:[a.language.label,": ",a.language.language]}),e.jsx("span",{className:`${_}__widgets-language__icon`})]})]}),children:[e.jsx(k,{menu:p}),!!n.length&&e.jsxs("button",{className:`${_}__more`,onClick:()=>o(!0),"aria-expanded":i,"aria-controls":"more-items","aria-label":"More items",children:[s.more,e.jsx("span",{className:`${_}__more__icon`})]}),e.jsx(C,{className:`${_}__nested`,header:e.jsxs("button",{className:`${_}__nested__header`,onClick:x,"aria-label":"Back to menu",children:[e.jsx("span",{className:`${_}__nested__header__icon`}),s.backToMenu]}),widgets:e.jsx("span",{className:`${_}__nested__title`,children:i?s.more:(v=a==null?void 0:a.language)==null?void 0:v.label}),isOpen:h,onClose:x,"aria-modal":"true",children:i?e.jsx(k,{menu:n,id:"more-items"}):e.jsx(D,{selected:((f=a==null?void 0:a.language)==null?void 0:f.language)||"",options:(g=a==null?void 0:a.language)==null?void 0:g.options,id:"language-list"})})]})};function G({menu:l,split:r}){const{breakpoint:c}=B.useBreakpoint(),[s,a]=u.useState(!1),[t,m]=u.useState(!1),[i,o]=u.useState(!1),j=u.useRef(null),d=["xl","xxl"].includes(c||"md"),x=d?r.desktop:r.mobile,_=l.slice(0,x),h=l.slice(x);return u.useEffect(()=>{o(!0)},[]),{menu:{facade:_,more:h},more:[s,a],mobile:[t,m],isDesktop:d,isClient:i,ref:j}}const y=({className:l,menu:r,more:c})=>{const{prefix:s}=N.useGlobalSettings(),a=`${s}--nav-menu`;return e.jsxs("div",{className:b.classnames(a,l),children:[e.jsx("ul",{className:`${a}__list`,children:r.map(({isActive:t,...m})=>{var o;const i=typeof t=="function"?t():t;return e.jsx("li",{className:`${a}__item`,children:e.jsx($,{...m,className:b.classnames({[`${a}__link`]:!0,[`${a}__link--active`]:i,[m.className||""]:m.className})})},(o=m.label)==null?void 0:o.toString())})}),c&&e.jsxs("button",{onClick:c.onClick,className:b.classnames({[`${a}__more`]:!0,[`${a}__more--open`]:c.isOpen}),"aria-expanded":c.isOpen,"aria-haspopup":"menu",children:[c.label,e.jsx("span",{className:`${a}__more-icon`})]})]})},A=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{const{prefix:t}=N.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,j],mobile:[d,x],isDesktop:_,ref:h,isClient:p}=G({menu:r,split:{desktop:4,mobile:2}});u.useImperativeHandle(a,()=>h.current);const n=`${t}--subsite-nav-compact`;return e.jsxs("header",{ref:h,className:n,children:[e.jsxs("div",{className:`${n}__container`,children:[e.jsxs("nav",{className:`${n}__nav`,children:[e.jsx("div",{className:`${n}__branding`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:e.jsx("div",{className:`${n}__branding-logo`,children:l.logo.main})}),e.jsx(y,{className:`${n}__menu`,menu:m,more:i.length?{label:c.more,onClick:()=>j(!o),isOpen:o}:void 0})]}),s&&e.jsxs("div",{className:`${n}__widget-bar`,children:[e.jsx("span",{className:`${n}__widget-bar-corner`}),e.jsxs("div",{className:`${n}__widget-bar-content`,children:[s.link&&e.jsx($,{className:`${n}__widget-bar-link`,href:s.link.href,label:s.link.label}),s.language&&p&&e.jsx("div",{className:`${n}__widget-bar-language`,children:e.jsx(O.LanguageToggle,{theme:"dark",...s.language,hideIcon:!_})}),s.search&&e.jsx($,{href:s.search.url,className:`${n}__widget-bar-search`,label:"","aria-label":s.search.label})]})]}),e.jsx("button",{className:`${n}__burger`,"aria-label":"Toggle navigation","aria-expanded":d,onClick:()=>x(!d),children:e.jsx("span",{className:`${n}__burger-icon`})})]}),i&&p&&e.jsx(S,{isOpen:o,navRef:h,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{x(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),P=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{var v,f,g;const{prefix:t}=N.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,j],mobile:[d,x],isDesktop:_,ref:h,isClient:p}=G({menu:r,split:{desktop:6,mobile:5}});u.useImperativeHandle(a,()=>h.current);const n=`${t}--subsite-nav-complex`;return e.jsxs("header",{ref:h,className:n,children:[e.jsx("div",{className:b.classnames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classnames(`${n}__widgets`,`${n}__container`),children:[e.jsx("span",{className:`${n}__widgets-bar-corner`}),e.jsxs("span",{className:`${n}__widgets-bar`,children:[(s==null?void 0:s.link)&&e.jsx($,{href:s.link.href,label:s.link.label,className:`${n}__widgets-bar__link`}),(s==null?void 0:s.language)&&p&&e.jsx(O.LanguageToggle,{className:`${n}__widgets-bar__language`,...s.language,hideIcon:!_})]})]})}),e.jsx("div",{className:b.classnames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classnames(`${n}__branding`,`${n}__container`),children:[e.jsx("div",{className:`${n}__branding-main`,children:e.jsx("div",{className:`${n}__branding-main__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.main})}),e.jsxs("div",{className:`${n}__branding-tag`,children:[e.jsx("h4",{className:`${n}__branding-tag__main`,children:(v=l.tag)==null?void 0:v.main}),((f=l.tag)==null?void 0:f.sub)&&e.jsx("span",{className:`${n}__branding-tag__sub`,children:(g=l.tag)==null?void 0:g.sub})]})]})}),e.jsx("div",{className:b.classnames(`${n}-bg--dark`),children:e.jsxs("nav",{className:b.classnames(`${n}__nav`,`${n}__container`),children:[e.jsx("div",{className:`${n}__nav-mobile`,children:e.jsx("div",{className:`${n}__nav-mobile__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.mobile})}),m&&e.jsx(y,{className:`${n}__nav-menu`,menu:m,more:i.length?{label:c.more,onClick:()=>j(!o),isOpen:o}:void 0}),(s==null?void 0:s.search)&&e.jsx("a",{className:`${n}__nav-search`,href:s.search.url,"aria-label":s.search.label,children:e.jsx("span",{className:`${n}__nav-search__icon`})}),e.jsx("button",{className:`${n}__nav-burger`,"aria-label":"Toggle navigation","aria-expanded":d,onClick:()=>x(!d),children:e.jsx("span",{className:`${n}__nav-burger__icon`})})]})}),i&&p&&e.jsx(S,{isOpen:o,navRef:h,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{x(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),R={complex:P,compact:A},T=u.forwardRef(({type:l="compact",props:r},c)=>{const s=R[l];return e.jsx(s,{ref:c,props:r})});exports.SubsiteNav=T;
1
+ "use strict";const e=require("react/jsx-runtime"),u=require("react"),j=require("./useGlobalSettings-chunk-Cd48T6lS.js"),I=require("react-dom"),b=require("./index-chunk-Cxg31gtu.js"),O=require("./LanguageToggle-chunk-Cw7PRG8W.js"),B=require("./useBreakpoint-chunk-zqMY82iP.js"),q=({isOpen:l,className:r,navRef:c,children:s})=>{const{prefix:a}=j.useGlobalSettings(),t=u.useRef(null),m=`${a}--nav-dropdown`,i=u.useCallback(()=>{if(!(t!=null&&t.current)||!(c!=null&&c.current))return;const o=c.current.getBoundingClientRect();t.current.style.top=`${o.bottom}px`,t.current.style.width=`${o.width}px`},[c]);return u.useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[c]),typeof document>"u"?null:I.createPortal(e.jsx("div",{ref:t,className:b.classNames({[m]:!0,[`${m}--open`]:l,className:r}),children:e.jsx("div",{className:`${m}__container`,children:s})}),document.body)},S=u.memo(q),$=l=>{const{label:r,component:c,...s}=l;return c?e.jsx(c,{...s,children:r}):e.jsx("a",{...s,children:r})},M=({menu:l})=>{const{prefix:r}=j.useGlobalSettings(),c=`${r}--nav-menu-grid`,s=[];for(let a=0;a<l.length;a+=5)s.push(l.slice(a,a+5));return e.jsx("div",{className:c,children:s.map((a,t)=>e.jsx("div",{className:`${c}__column`,children:a.map(m=>{var i;return e.jsx($,{className:`${c}__item`,href:m.href,label:m.label},(i=m.label)==null?void 0:i.toString())})},t))})},k=({menu:l})=>{const{prefix:r}=j.useGlobalSettings(),c=`${r}--nav-mobile-menu`;return e.jsx("ul",{className:`${c}`,children:l.map((s,a)=>{const t=typeof s.isActive=="function"?s.isActive():s.isActive;return e.jsxs("li",{className:`${c}__item`,children:[e.jsx($,{label:s.label,href:s.href,className:`${c}__link`}),t&&e.jsx("span",{className:`${c}__marked`})]},a)})})},C=({isOpen:l,onClose:r,header:c,widgets:s,children:a,className:t})=>{const{prefix:m}=j.useGlobalSettings(),i=u.useId(),o=`${m}--nav-mobile-drawer`;return typeof document>"u"?null:I.createPortal(e.jsxs("div",{id:`${o}__${i}`,className:b.classNames(o,t,{[`${o}--open`]:l}),children:[e.jsxs("div",{className:`${o}__header`,children:[e.jsx("div",{className:`${o}__header-main`,children:c}),e.jsx("button",{className:`${o}__header-close`,onClick:r,"aria-label":"Close navigation",children:e.jsx("span",{className:`${o}__header-close__icon`})})]}),e.jsxs("div",{className:`${o}__container`,children:[e.jsx("div",{className:`${o}__widgets`,children:s}),a]})]}),document.body)},D=({options:l,selected:r})=>{const c=(l==null?void 0:l.map(a=>({label:a.label,href:a.url})))||[],s=[{label:r,href:"#",isActive:!0},...c];return e.jsx(k,{menu:s})},L=({isOpen:l,navigationProps:{branding:r,menu:{items:c,labels:s},widgets:a},onClose:t})=>{var v,f,g;const{prefix:m}=j.useGlobalSettings(),[i,o]=u.useState(!1),[N,d]=u.useState(!1),x=u.useCallback(()=>{o(!1),d(!1)},[]),_=`${m}--nav-mobile`,h=i||N,p=c.slice(0,5),n=c.slice(5);return e.jsxs(C,{isOpen:l,onClose:t,header:e.jsx("div",{className:`${_}__branding`,children:e.jsx("div",{className:`${_}__logo`,children:r.logo.drawer||r.logo.main})}),widgets:e.jsxs("div",{className:`${_}__widgets`,children:[(a==null?void 0:a.search)&&e.jsxs("a",{className:`${_}__widgets-search`,href:a.search.url,"aria-label":"Search",children:[e.jsx("span",{className:`${_}__widgets-search__label`,children:a.search.label}),e.jsx("span",{className:`${_}__widgets-search__icon`})]}),(a==null?void 0:a.link)&&e.jsx($,{className:`${_}__widgets-link`,href:a.link.href,"aria-label":a.link.label,label:a.link.label}),(a==null?void 0:a.language)&&e.jsxs("button",{className:`${_}__widgets-language`,onClick:()=>d(!0),"aria-expanded":N,"aria-controls":"language-list","aria-label":"Select language",children:[e.jsxs("span",{className:`${_}__widgets-language__label`,children:[a.language.label,": ",a.language.language]}),e.jsx("span",{className:`${_}__widgets-language__icon`})]})]}),children:[e.jsx(k,{menu:p}),!!n.length&&e.jsxs("button",{className:`${_}__more`,onClick:()=>o(!0),"aria-expanded":i,"aria-controls":"more-items","aria-label":"More items",children:[s.more,e.jsx("span",{className:`${_}__more__icon`})]}),e.jsx(C,{className:`${_}__nested`,header:e.jsxs("button",{className:`${_}__nested__header`,onClick:x,"aria-label":"Back to menu",children:[e.jsx("span",{className:`${_}__nested__header__icon`}),s.backToMenu]}),widgets:e.jsx("span",{className:`${_}__nested__title`,children:i?s.more:(v=a==null?void 0:a.language)==null?void 0:v.label}),isOpen:h,onClose:x,"aria-modal":"true",children:i?e.jsx(k,{menu:n,id:"more-items"}):e.jsx(D,{selected:((f=a==null?void 0:a.language)==null?void 0:f.language)||"",options:(g=a==null?void 0:a.language)==null?void 0:g.options,id:"language-list"})})]})};function G({menu:l,split:r}){const{breakpoint:c}=B.useBreakpoint(),[s,a]=u.useState(!1),[t,m]=u.useState(!1),[i,o]=u.useState(!1),N=u.useRef(null),d=["xl","xxl"].includes(c||"md"),x=d?r.desktop:r.mobile,_=l.slice(0,x),h=l.slice(x);return u.useEffect(()=>{o(!0)},[]),{menu:{facade:_,more:h},more:[s,a],mobile:[t,m],isDesktop:d,isClient:i,ref:N}}const y=({className:l,menu:r,more:c})=>{const{prefix:s}=j.useGlobalSettings(),a=`${s}--nav-menu`;return e.jsxs("div",{className:b.classNames(a,l),children:[e.jsx("ul",{className:`${a}__list`,children:r.map(({isActive:t,...m})=>{var o;const i=typeof t=="function"?t():t;return e.jsx("li",{className:`${a}__item`,children:e.jsx($,{...m,className:b.classNames({[`${a}__link`]:!0,[`${a}__link--active`]:i,[m.className||""]:m.className})})},(o=m.label)==null?void 0:o.toString())})}),c&&e.jsxs("button",{onClick:c.onClick,className:b.classNames({[`${a}__more`]:!0,[`${a}__more--open`]:c.isOpen}),"aria-expanded":c.isOpen,"aria-haspopup":"menu",children:[c.label,e.jsx("span",{className:`${a}__more-icon`})]})]})},A=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{const{prefix:t}=j.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,N],mobile:[d,x],isDesktop:_,ref:h,isClient:p}=G({menu:r,split:{desktop:4,mobile:2}});u.useImperativeHandle(a,()=>h.current);const n=`${t}--subsite-nav-compact`;return e.jsxs("header",{ref:h,className:n,children:[e.jsxs("div",{className:`${n}__container`,children:[e.jsxs("nav",{className:`${n}__nav`,children:[e.jsx("div",{className:`${n}__branding`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:e.jsx("div",{className:`${n}__branding-logo`,children:l.logo.main})}),e.jsx(y,{className:`${n}__menu`,menu:m,more:i.length?{label:c.more,onClick:()=>N(!o),isOpen:o}:void 0})]}),s&&e.jsxs("div",{className:`${n}__widget-bar`,children:[e.jsx("span",{className:`${n}__widget-bar-corner`}),e.jsxs("div",{className:`${n}__widget-bar-content`,children:[s.link&&e.jsx($,{className:`${n}__widget-bar-link`,href:s.link.href,label:s.link.label}),s.language&&p&&e.jsx("div",{className:`${n}__widget-bar-language`,children:e.jsx(O.LanguageToggle,{theme:"dark",...s.language,hideIcon:!_})}),s.search&&e.jsx($,{href:s.search.url,className:`${n}__widget-bar-search`,label:"","aria-label":s.search.label})]})]}),e.jsx("button",{className:`${n}__burger`,"aria-label":"Toggle navigation","aria-expanded":d,onClick:()=>x(!d),children:e.jsx("span",{className:`${n}__burger-icon`})})]}),i&&p&&e.jsx(S,{isOpen:o,navRef:h,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{x(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),P=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{var v,f,g;const{prefix:t}=j.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,N],mobile:[d,x],isDesktop:_,ref:h,isClient:p}=G({menu:r,split:{desktop:6,mobile:5}});u.useImperativeHandle(a,()=>h.current);const n=`${t}--subsite-nav-complex`;return e.jsxs("header",{ref:h,className:n,children:[e.jsx("div",{className:b.classNames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classNames(`${n}__widgets`,`${n}__container`),children:[e.jsx("span",{className:`${n}__widgets-bar-corner`}),e.jsxs("span",{className:`${n}__widgets-bar`,children:[(s==null?void 0:s.link)&&e.jsx($,{href:s.link.href,label:s.link.label,className:`${n}__widgets-bar__link`}),(s==null?void 0:s.language)&&p&&e.jsx(O.LanguageToggle,{className:`${n}__widgets-bar__language`,...s.language,hideIcon:!_})]})]})}),e.jsx("div",{className:b.classNames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classNames(`${n}__branding`,`${n}__container`),children:[e.jsx("div",{className:`${n}__branding-main`,children:e.jsx("div",{className:`${n}__branding-main__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.main})}),e.jsxs("div",{className:`${n}__branding-tag`,children:[e.jsx("h4",{className:`${n}__branding-tag__main`,children:(v=l.tag)==null?void 0:v.main}),((f=l.tag)==null?void 0:f.sub)&&e.jsx("span",{className:`${n}__branding-tag__sub`,children:(g=l.tag)==null?void 0:g.sub})]})]})}),e.jsx("div",{className:b.classNames(`${n}-bg--dark`),children:e.jsxs("nav",{className:b.classNames(`${n}__nav`,`${n}__container`),children:[e.jsx("div",{className:`${n}__nav-mobile`,children:e.jsx("div",{className:`${n}__nav-mobile__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.mobile})}),m&&e.jsx(y,{className:`${n}__nav-menu`,menu:m,more:i.length?{label:c.more,onClick:()=>N(!o),isOpen:o}:void 0}),(s==null?void 0:s.search)&&e.jsx("a",{className:`${n}__nav-search`,href:s.search.url,"aria-label":s.search.label,children:e.jsx("span",{className:`${n}__nav-search__icon`})}),e.jsx("button",{className:`${n}__nav-burger`,"aria-label":"Toggle navigation","aria-expanded":d,onClick:()=>x(!d),children:e.jsx("span",{className:`${n}__nav-burger__icon`})})]})}),i&&p&&e.jsx(S,{isOpen:o,navRef:h,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{x(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),R={complex:P,compact:A},T=u.forwardRef(({type:l="compact",props:r},c)=>{const s=R[l];return e.jsx(s,{ref:c,props:r})});exports.SubsiteNav=T;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),i=require("./index-chunk-Cxg31gtu.js"),o=require("./useGlobalSettings-chunk-Cd48T6lS.js"),u=({className:l,items:n})=>{const{prefix:a}=o.useGlobalSettings(),s=`${a}--table-of-contents`,r=i.classNames(l,{[s]:!0});return e.jsx("nav",{className:r,children:e.jsx("ul",{className:`${s}--list`,children:n&&n.map((t,c)=>e.jsx("li",{className:`${s}--list--item`,children:e.jsx("a",{className:`${s}--link`,href:t.href,children:t.label})},c))})})};exports.TableOfContents=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TableOfContents-chunk-CLa_-Dhd.js");exports.TableOfContents=e.TableOfContents;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("react/jsx-runtime"),o=require("react"),f=require("./useGlobalSettings-chunk-Cd48T6lS.js"),j=require("./index-chunk-Cxg31gtu.js"),p=require("./Icon-chunk-DtOVpxQ-.js"),N=({items:c,className:i,theme:b="light",defaultActiveTab:u=0,activeTab:n})=>{const[a,r]=o.useState(u);o.useEffect(()=>{typeof n=="number"&&n>=0&&n<=c.length-1&&r(n)},[n,c]);const $=(s,e)=>{r(s),e.preventDefault()},{prefix:d}=f.useGlobalSettings(),t=`${d}--tabs`,h=j.classNames(t,i,`${t}__theme__${b}`);return l.jsxs("div",{className:h,children:[l.jsx("ul",{className:`${t}--selection`,role:"tablist",tabIndex:0,children:c.map((s,e)=>l.jsx("li",{role:"presentation",className:`${t}--selection--item ${a===e?"active":""}`,onClick:m=>$(e,m),id:`tab--${e}`,children:l.jsxs("a",{href:`#tab--${e}`,className:`${t}--selection--button${s.icon?" icon":""}`,role:"tab","aria-controls":`tab--${e}`,"aria-selected":e===a,title:s.label,tabIndex:e===a?0:-1,children:[l.jsx("span",{className:`${t}--selection--label`,children:s.label}),s.icon&&l.jsx(p.Icon,{name:s.icon.name,hidden:s.icon.hidden})]})},`#tab--${e}`))}),l.jsx("div",{className:`${t}--content`,role:"tabpanel","aria-labelledby":`tab--${a}`,tabIndex:0,children:c[a].content})]})};exports.Tabs=N;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tabs-chunk-n0swxLit.js");exports.Tabs=e.Tabs;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tabs-chunk-CFtNDTSD.js");exports.Tabs=e.Tabs;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),f=require("react"),$=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-DEacV16j.js"),N=require("./Icon-chunk-QFryHTpy.js");function I(s){let t=[...s.itemStatuses];return t.indexOf(s.id)>-1?t=t.filter(n=>n!==s.id):s.allowMultipleExpanded?t.push(s.id):t=[s.id],t}const h=f.createContext({}),_=({className:s,children:t,id:n,url:j,type:i,callback:u,...c})=>{const{prefix:x}=q.useGlobalSettings(),{activeItems:m,setActiveItems:C,allowMultipleActive:p}=f.useContext(h),o=m.indexOf(n)>-1,l=`${x}--tag`,d=`${x}--tag-set__item`,b=i,r=$.classnames(s,{[l]:!0,[`${l}--active`]:o,[`${l}--${i}`]:i,"icon icon__position--right":!0});let g=o;const v=a=>{C(I({id:n,itemStatuses:m,allowMultipleExpanded:p})),g=!1,u&&u(a)},S=()=>{let a;return g&&(a=e.jsx("li",{className:d,children:e.jsxs("button",{type:"button",className:r,onClick:T=>v(T),id:n,...c,children:[t,e.jsx(N.Icon,{name:"close",hidden:!0})]})})),a};return e.jsx(e.Fragment,{children:b==="button"?e.jsx(e.Fragment,{children:S()}):e.jsxs("li",{className:d,children:[i==="anchor"&&e.jsx("a",{className:r,href:o?j:"",id:n,...c,children:t}),i==="display"&&e.jsx("span",{className:r,id:n,...c,children:t})]})})},w=_;exports.Tag=w;exports.TagSetContext=h;
1
+ "use strict";const e=require("react/jsx-runtime"),f=require("react"),q=require("./index-chunk-Cxg31gtu.js"),T=require("./useGlobalSettings-chunk-Cd48T6lS.js"),$=require("./Icon-chunk-DtOVpxQ-.js");function I(s){let t=[...s.itemStatuses];return t.indexOf(s.id)>-1?t=t.filter(n=>n!==s.id):s.allowMultipleExpanded?t.push(s.id):t=[s.id],t}const h=f.createContext({}),_=({className:s,children:t,id:n,url:j,type:i,callback:u,...c})=>{const{prefix:x}=T.useGlobalSettings(),{activeItems:m,setActiveItems:C,allowMultipleActive:p}=f.useContext(h),o=m.indexOf(n)>-1,l=`${x}--tag`,d=`${x}--tag-set__item`,b=i,r=q.classNames(s,{[l]:!0,[`${l}--active`]:o,[`${l}--${i}`]:i,"icon icon__position--right":!0});let g=o;const v=a=>{C(I({id:n,itemStatuses:m,allowMultipleExpanded:p})),g=!1,u&&u(a)},N=()=>{let a;return g&&(a=e.jsx("li",{className:d,children:e.jsxs("button",{type:"button",className:r,onClick:S=>v(S),id:n,...c,children:[t,e.jsx($.Icon,{name:"close",hidden:!0})]})})),a};return e.jsx(e.Fragment,{children:b==="button"?e.jsx(e.Fragment,{children:N()}):e.jsxs("li",{className:d,children:[i==="anchor"&&e.jsx("a",{className:r,href:o?j:"",id:n,...c,children:t}),i==="display"&&e.jsx("span",{className:r,id:n,...c,children:t})]})})};exports.Tag=_;exports.TagSetContext=h;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Tag-chunk-pecicJx_.js"),i=require("react/jsx-runtime"),b=require("./index-chunk-Cxg31gtu.js"),a=require("react"),h=require("./useGlobalSettings-chunk-Cd48T6lS.js");function T(t){return t.some((e,r)=>t.indexOf(e)!==r)}const j=({className:t,children:e,onButtonClick:r,defaultTagActive:s=[],allowMultipleActive:o=!0,...g})=>{const{prefix:S}=h.useGlobalSettings(),m=`${S}--tag-set`,[f,c]=a.useState([]),x=JSON.stringify(s);if(a.useEffect(()=>{const n=o?s:s.length>0?[s[0]]:s;c(n)},[x,o]),e){const n=[];a.Children.forEach(e,l=>{const q=l;n.push(q.props.id)}),T(n)&&console.warn("Warning: Tags must have unique ids.")}const d=b.classNames(t,{[m]:!0});return i.jsx(u.TagSetContext.Provider,{value:{activeItems:f,setActiveItems:c,allowMultipleActive:o,onButtonClick:r},children:i.jsx("ul",{className:d,...g,children:e})})};exports.Tag=u.Tag;exports.TagSet=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./TextInput.args-chunk-Bs7YIRuJ.js");exports.TextInput=t.LabelledTextInput;exports.TextInputArgs=t.TextInput_args;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./TextInput.args-chunk-CZIwr5h8.js");exports.TextInput=t.LabelledTextInput;exports.TextInputArgs=t.TextInput_args;
@@ -0,0 +1 @@
1
+ "use strict";const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-Cxg31gtu.js"),q=require("./useGlobalSettings-chunk-Cd48T6lS.js"),u=require("./FormControl-chunk-bBkCVOW6.js"),_=c.forwardRef(({onChange:t,onBlur:a,error:o,id:r,name:s,placeholder:l,required:n,pattern:p,value:h,disabled:m=!1,type:b="text"},x)=>{const{prefix:y}=q.useGlobalSettings(),f=u.useFormControl(),{ariaDescribedBy:T}=f,d=`${y}--text-input`,w=g.classNames(d,{[`${d}__error`]:o});return i.jsx("input",{value:h,ref:x,id:r||s,name:s,onChange:t,onBlur:a,disabled:m,placeholder:l,required:n,type:b,className:w,pattern:p,"aria-describedby":T})}),C=c.forwardRef((t,a)=>{const{style:o,inputStyle:r,className:s,...l}=t,n=t.id?t.id:t.name;return i.jsx(u.FormControl,{fieldId:n,style:o,className:s,...l,children:i.jsx(_,{ref:a,style:r,...l})})}),e={disabled:!1,errorMessage:"This is an error message",error:!1,style:{width:"100%"},id:"text-input",label:"Insert your name here",labelPlacement:"top",labelSize:"medium",name:"text",placeholder:"This is a text field",required:!1,type:"text"},I={...e,disabled:!0,placeholder:"Disabled Text Field"},j={...e,placeholder:"This has a helper text"},S={...e,placeholder:"This has an error",error:!0},E={...e,placeholder:"This has an tooltip",tooltip:"This is a tooltip"},F={...e,label:"Enter your email address",placeholder:"my@email.com",type:"email",id:"email-input"},R={...e,label:"Enter your password",placeholder:"Must be 8 digits long",type:"password",id:"password-input"},M={...e,name:"tel",label:"Enter your telephone number",placeholder:"###-###-####",required:!1,type:"tel",pattern:"[0-9]{3}-[0-9]{3}-[0-9]{4}"},N={...e,label:"Enter website address",id:"url-input",name:"url",placeholder:"https://www.example.com",required:!1,type:"url"},z=Object.freeze(Object.defineProperty({__proto__:null,basic:e,email:F,haserror:S,hashelper:j,hastooltip:E,isdisabled:I,password:R,telephone:M,url:N},Symbol.toStringTag,{value:"Module"}));exports.LabelledTextInput=C;exports.TextInput_args=z;
@@ -0,0 +1 @@
1
+ "use strict";const c=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-Cxg31gtu.js"),f=require("./useGlobalSettings-chunk-Cd48T6lS.js"),d=require("./FormControl-chunk-bBkCVOW6.js"),q=i.forwardRef(({error:e,className:a,name:t,id:r,...o},s)=>{const{prefix:n}=f.useGlobalSettings(),u=d.useFormControl(),{ariaDescribedBy:x}=u,l=`${n}--textarea`,b=`${l}__error`,m=C.classNames(l,a,{[b]:e});return c.jsx("textarea",{ref:s,className:m,name:t,id:r||t,"aria-describedby":x,...o})}),y=i.forwardRef((e,a)=>{const{style:t,inputStyle:r,className:o,...s}=e,n=e.id?e.id:e.name;return c.jsx(d.FormControl,{fieldId:n,style:t,className:o,...s,children:c.jsx(q,{ref:a,style:r,...s})})});exports.LabelledTextarea=y;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-XYsrIeDn.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-yD7hFNC1.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-Cd48T6lS.js"),z=require("./index-chunk-Cxg31gtu.js"),u=require("./FormControl-chunk-bBkCVOW6.js"),$=d.forwardRef(({size:s="medium",error:c=!1,disabled:t=!1,defaultChecked:a=!1,required:i=!1,id:n,name:l,onChange:m,onBlur:f,onClick:b,checked:h,className:C},_)=>{const{prefix:x}=k.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:p}=y,S=!t&&!!c,o=`${x}--input--toggle`,T=`${o}--slider`,j=z.classNames(o,C,`${o}__size__${s}`,[{[`${o}__error`]:S},{[`${o}__disabled`]:t}]);return r.jsxs("div",{className:j,children:[r.jsx("input",{ref:_,checked:h,disabled:t,defaultChecked:a,name:l,id:n||l,type:"checkbox",role:"switch",required:i,onChange:m,onBlur:f,onClick:b,"aria-describedby":p}),r.jsx("span",{className:T})]})}),q=d.forwardRef((s,c)=>{const t=s.id?s.id:s.name,{style:a,inputStyle:i,className:n,...l}=s;return r.jsx(u.FormControl,{fieldId:t,style:a,className:n,...l,children:r.jsx($,{ref:c,style:i,...l})})}),e={defaultChecked:!1,errorMessage:"Invalid option",name:"my-toggle",size:"medium",label:"Show details",labelPlacement:"end",labelSize:"small"},v={...e,defaultChecked:!0},w={...e,disabled:!0},g={...e,helper:"This is a helper text"},D={...g,tooltip:"This is a tooltip"},M={...e,error:!0},N={...e,defaultChecked:!0},R={...e,onClick:()=>console.log("clicked"),checked:!0},F={...e,size:"large"},O={...e,size:"medium"},P={...e,size:"small"},E=Object.freeze(Object.defineProperty({__proto__:null,Checked:v,Controlled:R,Default:e,DefaultChecked:N,Disabled:w,Error:M,Helper:g,Large:F,Medium:O,Small:P,Tooltip:D},Symbol.toStringTag,{value:"Module"}));exports.Toggle=q;exports.ToggleArgs=E;
@@ -1 +1 @@
1
- "use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-D921N0ug.js"),dt=require("./useGlobalSettings-chunk-DEacV16j.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Z="start",se="end",ht="clippingParents",_e="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Z,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Z,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function K(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var J=Math.max,ye=Math.min,_=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&_(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_(n.height)/e.offsetHeight||1);var c=K(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((K(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return J(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:_(r*a)/a||0,y:_(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=J(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=J(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=J(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===_e?Pe(Yt(e,r)):K(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return K(n)?t.filter(function(a){return K(a)&&rt(a,n)&&N(a)!=="body"}):[]}function Jt(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=J(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=J(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Z:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?_e:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=Jt(K(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,strategy:"absolute",placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Kt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Qt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Zt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Qt(d)),l=[d].concat(x).reduce(function(Q,q){return Q.concat(H(q)===Re?Kt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Z,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(Q){return Q})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const _t={name:"flip",enabled:!0,phase:"main",fn:Zt,requiresIfExists:["offset"],data:{_skip:!1}};function Je(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ke(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=Je(c,n),p=Je(i,a,o),f=Ke(s),v=Ke(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Z?A[B]:P[B],re=O===Z?-P[B]:-A[B],ve=t.elements.arrow,Q=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],Q[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?J(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=_(t.width)/e.offsetWidth||1,n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Qe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ze(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Qe:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qe,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:K(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Ze(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Ze(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,_t,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classnames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classnames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
1
+ "use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-Cxg31gtu.js"),dt=require("./useGlobalSettings-chunk-Cd48T6lS.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Z="start",se="end",ht="clippingParents",_e="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Z,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Z,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function K(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var J=Math.max,ye=Math.min,_=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&_(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_(n.height)/e.offsetHeight||1);var c=K(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((K(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return J(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:_(r*a)/a||0,y:_(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=J(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=J(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=J(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===_e?Pe(Yt(e,r)):K(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return K(n)?t.filter(function(a){return K(a)&&rt(a,n)&&N(a)!=="body"}):[]}function Jt(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=J(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=J(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Z:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?_e:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=Jt(K(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Kt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Qt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Zt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Qt(d)),l=[d].concat(x).reduce(function(Q,q){return Q.concat(H(q)===Re?Kt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Z,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(Q){return Q})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const _t={name:"flip",enabled:!0,phase:"main",fn:Zt,requiresIfExists:["offset"],data:{_skip:!1}};function Je(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ke(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=Je(c,n),p=Je(i,a,o),f=Ke(s),v=Ke(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Z?A[B]:P[B],re=O===Z?-P[B]:-A[B],ve=t.elements.arrow,Q=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],Q[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?J(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=_(t.width)/e.offsetWidth||1,n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Qe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ze(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Qe:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qe,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:K(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Ze(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Ze(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,_t,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classNames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,"data-testid":"tooltip-trigger",children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classNames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-CQu5vz01.js");exports.Tooltip=o.Tooltip;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-DlKiieYX.js");exports.Tooltip=o.Tooltip;