@kakadu/components 0.1.4 → 1.0.1

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 (272) hide show
  1. package/build/aria-text.d.ts +5 -1
  2. package/build/aria-text.js +1 -0
  3. package/build/aria-text.mjs +15 -0
  4. package/build/atom.d.ts +10 -2
  5. package/build/atom.js +1 -1
  6. package/build/atom.mjs +10 -3
  7. package/build/bankid-logo.d.ts +2 -0
  8. package/build/bankid-logo.js +1 -0
  9. package/build/bankid-logo.mjs +43 -0
  10. package/build/box.d.ts +4 -1
  11. package/build/box.js +1 -1
  12. package/build/box.mjs +11 -2
  13. package/build/build/aria-text.d.ts +8 -0
  14. package/build/build/atom.d.ts +9 -0
  15. package/build/build/bankid-logo.d.ts +5 -0
  16. package/build/build/box.d.ts +6 -0
  17. package/build/build/button-tooltip.d.ts +5 -0
  18. package/build/build/button.d.ts +23 -0
  19. package/build/build/card.d.ts +11 -0
  20. package/build/build/click-ripples.d.ts +6 -0
  21. package/build/build/datum.d.ts +6 -0
  22. package/build/build/dnb-logo.d.ts +5 -0
  23. package/build/build/dot.d.ts +4 -0
  24. package/build/build/flex.d.ts +12 -0
  25. package/build/build/footer.d.ts +4 -0
  26. package/build/build/gauge.d.ts +6 -0
  27. package/build/build/gjensidige-logo.d.ts +5 -0
  28. package/build/build/hooks/use-media-query.d.ts +2 -0
  29. package/build/build/hover-gradient.d.ts +8 -0
  30. package/build/build/icon-button.d.ts +10 -0
  31. package/build/build/icon.d.ts +8 -0
  32. package/build/build/icons/arrow-down.d.ts +5 -0
  33. package/build/build/icons/caret-down.d.ts +5 -0
  34. package/build/build/icons/caret-right.d.ts +5 -0
  35. package/build/build/icons/check.d.ts +5 -0
  36. package/build/build/icons/chevron-down.d.ts +5 -0
  37. package/build/build/icons/chevron-up.d.ts +5 -0
  38. package/build/build/icons/chrome-browser-logo.d.ts +5 -0
  39. package/build/build/icons/copy.d.ts +5 -0
  40. package/build/build/icons/edge-browser-logo.d.ts +5 -0
  41. package/build/build/icons/edit.d.ts +5 -0
  42. package/build/build/icons/exclamation-triangle.d.ts +5 -0
  43. package/build/build/icons/kakadu-guide-glyph.d.ts +5 -0
  44. package/build/build/icons/kakadu-guide.d.ts +5 -0
  45. package/build/build/icons/menu.d.ts +5 -0
  46. package/build/build/icons/plus.d.ts +5 -0
  47. package/build/build/icons/test.d.ts +5 -0
  48. package/build/build/icons/times.d.ts +5 -0
  49. package/build/build/jsx-runtime-BB_1_6y_.d.ts +2 -0
  50. package/build/build/kakadu-guide-icon.d.ts +4 -0
  51. package/build/build/kakadu-guide-logo.d.ts +11 -0
  52. package/build/build/kakadu-index-logo.d.ts +5 -0
  53. package/build/build/kakadu-logo.d.ts +5 -0
  54. package/build/build/modal.d.ts +22 -0
  55. package/build/build/moving-gradients.d.ts +8 -0
  56. package/build/build/moving-stars.d.ts +11 -0
  57. package/build/build/notice.d.ts +10 -0
  58. package/build/build/notification.d.ts +15 -0
  59. package/build/build/revealer.d.ts +24 -0
  60. package/build/build/separator.d.ts +10 -0
  61. package/build/build/skeleton.d.ts +16 -0
  62. package/build/build/sparebank1-logo.d.ts +5 -0
  63. package/build/build/spinner.d.ts +11 -0
  64. package/build/build/sto-logo.d.ts +5 -0
  65. package/build/build/storebrand-logo.d.ts +5 -0
  66. package/build/build/text-button.d.ts +12 -0
  67. package/build/build/text.d.ts +30 -0
  68. package/build/build/theme-setter.d.ts +9 -0
  69. package/build/build/theme.d.ts +22 -0
  70. package/build/build/utilities/copy-to-clipboard.d.ts +2 -0
  71. package/build/build/utilities/generate-random-id.d.ts +2 -0
  72. package/build/build/utilities/scale.d.ts +11 -0
  73. package/build/build/veil.d.ts +4 -0
  74. package/build/button-tooltip.d.ts +4 -0
  75. package/build/button-tooltip.js +1 -0
  76. package/build/button-tooltip.mjs +11 -0
  77. package/build/button.d.ts +32 -0
  78. package/build/button.js +1 -0
  79. package/build/button.mjs +69 -0
  80. package/build/card.d.ts +8 -0
  81. package/build/card.js +1 -0
  82. package/build/card.mjs +36 -0
  83. package/build/click-ripples.d.ts +2 -0
  84. package/build/click-ripples.js +1 -0
  85. package/build/click-ripples.mjs +60 -0
  86. package/build/components.css +1 -1
  87. package/build/datum.d.ts +5 -0
  88. package/build/datum.js +1 -0
  89. package/build/datum.mjs +27 -0
  90. package/build/dnb-logo.d.ts +2 -0
  91. package/build/dnb-logo.js +1 -0
  92. package/build/dnb-logo.mjs +31 -0
  93. package/build/dot.d.ts +2 -0
  94. package/build/dot.js +1 -0
  95. package/build/dot.mjs +10 -0
  96. package/build/flex.d.ts +14 -1
  97. package/build/flex.js +1 -1
  98. package/build/flex.mjs +17 -2
  99. package/build/footer.d.ts +3 -0
  100. package/build/footer.js +1 -0
  101. package/build/footer.mjs +65 -0
  102. package/build/gauge.d.ts +6 -1
  103. package/build/gauge.js +1 -1
  104. package/build/gauge.mjs +39 -2
  105. package/build/gjensidige-logo.d.ts +2 -0
  106. package/build/gjensidige-logo.js +1 -0
  107. package/build/gjensidige-logo.mjs +30 -0
  108. package/build/hooks/use-media-query.d.ts +1 -0
  109. package/build/hooks/use-media-query.js +1 -0
  110. package/build/hooks/use-media-query.mjs +20 -0
  111. package/build/hover-gradient.d.ts +5 -0
  112. package/build/hover-gradient.js +1 -0
  113. package/build/hover-gradient.mjs +48 -0
  114. package/build/icon-button.d.ts +13 -0
  115. package/build/icon-button.js +1 -0
  116. package/build/icon-button.mjs +45 -0
  117. package/build/icon.js +1 -0
  118. package/build/icon.mjs +50 -0
  119. package/build/icons/arrow-down.d.ts +2 -0
  120. package/build/icons/arrow-down.js +1 -0
  121. package/build/icons/arrow-down.mjs +24 -0
  122. package/build/icons/caret-down.d.ts +2 -0
  123. package/build/icons/caret-down.js +1 -0
  124. package/build/icons/caret-down.mjs +27 -0
  125. package/build/icons/caret-right.d.ts +2 -0
  126. package/build/icons/caret-right.js +1 -0
  127. package/build/icons/caret-right.mjs +27 -0
  128. package/build/icons/check.d.ts +2 -0
  129. package/build/icons/check.js +1 -0
  130. package/build/icons/check.mjs +27 -0
  131. package/build/icons/chevron-down.d.ts +2 -0
  132. package/build/icons/chevron-down.js +1 -0
  133. package/build/icons/chevron-down.mjs +27 -0
  134. package/build/icons/chevron-up.d.ts +2 -0
  135. package/build/icons/chevron-up.js +1 -0
  136. package/build/icons/chevron-up.mjs +27 -0
  137. package/build/icons/chrome-browser-logo.d.ts +2 -0
  138. package/build/icons/chrome-browser-logo.js +1 -0
  139. package/build/icons/chrome-browser-logo.mjs +24 -0
  140. package/build/icons/copy.d.ts +2 -0
  141. package/build/icons/copy.js +1 -0
  142. package/build/icons/copy.mjs +29 -0
  143. package/build/icons/edge-browser-logo.d.ts +2 -0
  144. package/build/icons/edge-browser-logo.js +1 -0
  145. package/build/icons/edge-browser-logo.mjs +24 -0
  146. package/build/icons/edit.d.ts +2 -0
  147. package/build/icons/edit.js +1 -0
  148. package/build/icons/edit.mjs +27 -0
  149. package/build/icons/exclamation-triangle.d.ts +2 -0
  150. package/build/icons/exclamation-triangle.js +1 -0
  151. package/build/icons/exclamation-triangle.mjs +29 -0
  152. package/build/icons/icon.d.ts +25 -0
  153. package/build/icons/kakadu-guide-glyph.d.ts +2 -0
  154. package/build/icons/kakadu-guide-glyph.js +1 -0
  155. package/build/icons/kakadu-guide-glyph.mjs +24 -0
  156. package/build/icons/kakadu-guide.d.ts +2 -0
  157. package/build/icons/kakadu-guide.js +1 -0
  158. package/build/icons/kakadu-guide.mjs +27 -0
  159. package/build/icons/menu.d.ts +2 -0
  160. package/build/icons/menu.js +1 -0
  161. package/build/icons/menu.mjs +25 -0
  162. package/build/icons/plus.d.ts +2 -0
  163. package/build/icons/plus.js +1 -0
  164. package/build/icons/plus.mjs +27 -0
  165. package/build/icons/test.d.ts +2 -0
  166. package/build/icons/test.js +1 -0
  167. package/build/icons/test.mjs +29 -0
  168. package/build/icons/times.d.ts +2 -0
  169. package/build/icons/times.js +1 -0
  170. package/build/icons/times.mjs +27 -0
  171. package/build/index.html +0 -0
  172. package/build/kakadu-guide-icon.d.ts +3 -0
  173. package/build/kakadu-guide-icon.js +1 -0
  174. package/build/kakadu-guide-icon.mjs +14 -0
  175. package/build/kakadu-guide-logo.d.ts +10 -0
  176. package/build/kakadu-guide-logo.js +1 -0
  177. package/build/kakadu-guide-logo.mjs +59 -0
  178. package/build/kakadu-index-logo.d.ts +2 -0
  179. package/build/kakadu-index-logo.js +1 -0
  180. package/build/kakadu-index-logo.mjs +66 -0
  181. package/build/kakadu-logo.d.ts +2 -0
  182. package/build/kakadu-logo.js +1 -0
  183. package/build/kakadu-logo.mjs +44 -0
  184. package/build/modal.d.ts +28 -0
  185. package/build/modal.js +9 -0
  186. package/build/modal.mjs +1246 -0
  187. package/build/moving-gradients.d.ts +9 -0
  188. package/build/moving-gradients.js +1 -0
  189. package/build/moving-gradients.mjs +86 -0
  190. package/build/moving-stars.d.ts +12 -0
  191. package/build/moving-stars.js +1 -0
  192. package/build/moving-stars.mjs +90 -0
  193. package/build/notice.d.ts +12 -0
  194. package/build/notice.js +1 -0
  195. package/build/notice.mjs +22 -0
  196. package/build/notification.d.ts +17 -0
  197. package/build/notification.js +1 -0
  198. package/build/notification.mjs +84 -0
  199. package/build/revealer.d.ts +20 -0
  200. package/build/revealer.js +1 -0
  201. package/build/revealer.mjs +76 -0
  202. package/build/separator.d.ts +5 -0
  203. package/build/separator.js +1 -0
  204. package/build/separator.mjs +24 -0
  205. package/build/skeleton.d.ts +15 -1
  206. package/build/skeleton.js +1 -1
  207. package/build/skeleton.mjs +38 -3
  208. package/build/sparebank1-logo.d.ts +2 -0
  209. package/build/sparebank1-logo.js +1 -0
  210. package/build/sparebank1-logo.mjs +61 -0
  211. package/build/spinner.d.ts +10 -1
  212. package/build/spinner.js +1 -1
  213. package/build/spinner.mjs +31 -3
  214. package/build/sto-logo.d.ts +2 -0
  215. package/build/sto-logo.js +1 -0
  216. package/build/sto-logo.mjs +53 -0
  217. package/build/storebrand-logo.d.ts +2 -0
  218. package/build/storebrand-logo.js +1 -0
  219. package/build/storebrand-logo.mjs +46 -0
  220. package/build/text-button.d.ts +19 -0
  221. package/build/text-button.js +1 -0
  222. package/build/text-button.mjs +36 -0
  223. package/build/text.d.ts +11 -1
  224. package/build/text.js +1 -1
  225. package/build/text.mjs +49 -5
  226. package/build/theme-setter.d.ts +11 -0
  227. package/build/theme-setter.js +20 -0
  228. package/build/theme-setter.mjs +79 -0
  229. package/build/theme.d.ts +5 -0
  230. package/build/theme.js +1 -1
  231. package/build/theme.mjs +25 -8
  232. package/build/utilities/copy-to-clipboard.d.ts +1 -0
  233. package/build/utilities/copy-to-clipboard.js +1 -0
  234. package/build/utilities/copy-to-clipboard.mjs +26 -0
  235. package/build/utilities/generate-random-id.d.ts +1 -0
  236. package/build/utilities/generate-random-id.js +1 -0
  237. package/build/utilities/generate-random-id.mjs +14 -0
  238. package/build/utilities/scale.d.ts +11 -0
  239. package/build/utilities/scale.js +1 -0
  240. package/build/utilities/scale.mjs +13 -0
  241. package/build/veil.d.ts +3 -0
  242. package/build/veil.js +1 -0
  243. package/build/veil.mjs +17 -0
  244. package/index.d.ts +60 -0
  245. package/package.json +278 -18
  246. package/readme.md +3 -1
  247. package/theme.tsx +151 -27
  248. package/build/atom-B-bW2QKm.js +0 -1
  249. package/build/atom-CqxGy6PS.mjs +0 -12
  250. package/build/box-4_-REPb0.js +0 -1
  251. package/build/box-Cf22bdCb.mjs +0 -13
  252. package/build/components/aria-text.d.ts +0 -5
  253. package/build/components/atom.d.ts +0 -10
  254. package/build/components/box.d.ts +0 -4
  255. package/build/components/flex.d.ts +0 -7
  256. package/build/components/gauge.d.ts +0 -6
  257. package/build/components/skeleton.d.ts +0 -13
  258. package/build/components/spinner.d.ts +0 -10
  259. package/build/components/text.d.ts +0 -7
  260. package/build/flex-C4bEYrMM.mjs +0 -16
  261. package/build/flex-JFSv9GFG.js +0 -1
  262. package/build/gauge-C1CypvvD.mjs +0 -41
  263. package/build/gauge-mog6SjVx.js +0 -1
  264. package/build/index.d.ts +0 -10
  265. package/build/index.js +0 -1
  266. package/build/index.mjs +0 -39
  267. package/build/skeleton-B5bJ732_.js +0 -1
  268. package/build/skeleton-C593Afco.mjs +0 -48
  269. package/build/spinner-DE_Y3sKH.mjs +0 -33
  270. package/build/spinner-DFfE6tSd.js +0 -1
  271. package/build/text-BO7Qt7Lj.js +0 -1
  272. package/build/text-ZYVNxqac.mjs +0 -39
@@ -0,0 +1,59 @@
1
+ import { j as c } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import m from "./icons/kakadu-guide.mjs";
3
+ import d from "./utilities/scale.mjs";
4
+ import i, { FlexAlignment as l } from "./flex.mjs";
5
+ import r from "./kakadu-guide-icon.mjs";
6
+ import o from "./aria-text.mjs";
7
+ function v({
8
+ fill: t,
9
+ ...s
10
+ }) {
11
+ const {
12
+ width: a,
13
+ height: h
14
+ } = d({
15
+ originalWidth: 110,
16
+ originalHeight: 52,
17
+ width: s.width,
18
+ height: s.height
19
+ });
20
+ return /* @__PURE__ */ c.jsx("svg", { fill: "none", viewBox: "0 0 110 52", xmlns: "http://www.w3.org/2000/svg", ...s, width: a, height: h, children: /* @__PURE__ */ c.jsxs("g", { fill: t ?? "currentColor", children: [
21
+ /* @__PURE__ */ c.jsx("path", { d: "m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z" }),
22
+ /* @__PURE__ */ c.jsx("path", { d: "m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z" }),
23
+ /* @__PURE__ */ c.jsx("path", { d: "m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z" }),
24
+ /* @__PURE__ */ c.jsx("path", { d: "m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z" }),
25
+ /* @__PURE__ */ c.jsx("path", { d: "m9.84872 15.7676 7.28838 7.1999c-1.8389 1.9996-4.2428 2.6225-6.8223 1.3129-1.44616-.7411-2.62737-1.8112-3.78304-2.9196-.16282-.1533-.2969-.3386-.50122-.5782-.98008 2.9803-3.07752 4.1813-6.03054 4.2005v-24.97919375c1.692 0 3.22757.35456375 4.46944 1.56199375 1.31209 1.27771 1.79415 2.87485 1.84523 4.64447.03831 1.37035 0 2.74388 0 4.21643l.38948-.3386c.95774-.84966 1.83886-1.7728 2.85086-2.53304 2.34009-1.76324 4.75999-1.59713 6.93079.37373.2203.19805.4342.40248.7024.63885z" }),
26
+ /* @__PURE__ */ c.jsx("path", { d: "m9.84872 15.7676 7.28838 7.1999c-1.8389 1.9996-4.2428 2.6225-6.8223 1.3129-1.44616-.7411-2.62737-1.8112-3.78304-2.9196-.16282-.1533-.2969-.3386-.50122-.5782-.98008 2.9803-3.07752 4.1813-6.03054 4.2005v-24.97919375c1.692 0 3.22757.35456375 4.46944 1.56199375 1.31209 1.27771 1.79415 2.87485 1.84523 4.64447.03831 1.37035 0 2.74388 0 4.21643l.38948-.3386c.95774-.84966 1.83886-1.7728 2.85086-2.53304 2.34009-1.76324 4.75999-1.59713 6.93079.37373.2203.19805.4342.40248.7024.63885z" }),
27
+ /* @__PURE__ */ c.jsx("path", { d: "m53.1648 8.56764-7.2405 7.16796 7.2149 7.2031c-1.6313 1.8111-3.8309 2.5554-6.1359 1.6418-1.5483-.6101-2.7966-1.645-3.9937-2.7534-.3416-.3195-.6385-.6772-.9769-1.0478-1.3855 3.0665-3.2595 4.3506-6.021 4.1718v-24.9313273c.7841-.0461673 1.5699.0534731 2.3177.2938733 2.5221.773014 3.831 3.012194 3.9363 5.478174.0703 1.51089 0 3.02817 0 4.65088.1692-.1565.2714-.2524.3799-.3482.9578-.84648 1.8453-1.76004 2.8541-2.52667 2.3305-1.76323 4.6961-1.62269 6.9053.31943.2458.20124.4724.42164.7598.68038z" }),
28
+ /* @__PURE__ */ c.jsx("path", { d: "m53.1648 8.56764-7.2405 7.16796 7.2149 7.2031c-1.6313 1.8111-3.8309 2.5554-6.1359 1.6418-1.5483-.6101-2.7966-1.645-3.9937-2.7534-.3416-.3195-.6385-.6772-.9769-1.0478-1.3855 3.0665-3.2595 4.3506-6.021 4.1718v-24.9313273c.7841-.0461673 1.5699.0534731 2.3177.2938733 2.5221.773014 3.831 3.012194 3.9363 5.478174.0703 1.51089 0 3.02817 0 4.65088.1692-.1565.2714-.2524.3799-.3482.9578-.84648 1.8453-1.76004 2.8541-2.52667 2.3305-1.76323 4.6961-1.62269 6.9053.31943.2458.20124.4724.42164.7598.68038z" }),
29
+ /* @__PURE__ */ c.jsx("path", { d: "m70.5731 24.9668c-1.4086.0874-2.8049-.308-3.9587-1.1212-.0835-.0825-.1938-.1324-.3109-.1406s-.2333.0258-.3276.0958c-1.1441.6519-2.4163 1.0469-3.7283 1.1578-1.312.1108-2.6324-.0652-3.8696-.5158-1.2373-.4506-2.3617-1.1651-3.2955-2.0939-.9337-.9288-1.6544-2.0497-2.1121-3.285-.4576-1.2352-.6413-2.5553-.5382-3.8687.103-1.3133.4903-2.5886 1.135-3.7372.6447-1.1487 1.5314-2.14332 2.5986-2.91493 1.0672-.77162 2.2893-1.30176 3.5817-1.55368 2.1596-.45022 4.4094-.07047 6.3019 1.0637.0786.05612.1751.08128.2711.07068.096-.01061.1848-.05624.2492-.12818 1.1717-.91037 2.554-1.14355 4.0034-1.17869zm-6.3849-9.1037c.0245-.362-.0267-.7251-.1504-1.0661-.1238-.341-.3173-.6524-.5682-.9143-.2509-.2618-.5537-.4684-.889-.6065s-.6957-.2046-1.0581-.1953c-.7289.0137-1.4239.3107-1.9377.8281-.5139.5174-.8064 1.2146-.8155 1.944s.2658 1.4337.7666 1.9638c.5007.5301 1.188.8444 1.9163.8764 1.5612.0192 2.7136-1.1691 2.736-2.8301z" }),
30
+ /* @__PURE__ */ c.jsx("path", { d: "m70.5731 24.9668c-1.4086.0874-2.8049-.308-3.9587-1.1212-.0835-.0825-.1938-.1324-.3109-.1406s-.2333.0258-.3276.0958c-1.1441.6519-2.4163 1.0469-3.7283 1.1578-1.312.1108-2.6324-.0652-3.8696-.5158-1.2373-.4506-2.3617-1.1651-3.2955-2.0939-.9337-.9288-1.6544-2.0497-2.1121-3.285-.4576-1.2352-.6413-2.5553-.5382-3.8687.103-1.3133.4903-2.5886 1.135-3.7372.6447-1.1487 1.5314-2.14332 2.5986-2.91493 1.0672-.77162 2.2893-1.30176 3.5817-1.55368 2.1596-.45022 4.4094-.07047 6.3019 1.0637.0786.05612.1751.08128.2711.07068.096-.01061.1848-.05624.2492-.12818 1.1717-.91037 2.554-1.14355 4.0034-1.17869zm-6.3849-9.1037c.0245-.362-.0267-.7251-.1504-1.0661-.1238-.341-.3173-.6524-.5682-.9143-.2509-.2618-.5537-.4684-.889-.6065s-.6957-.2046-1.0581-.1953c-.7289.0137-1.4239.3107-1.9377.8281-.5139.5174-.8064 1.2146-.8155 1.944s.2658 1.4337.7666 1.9638c.5007.5301 1.188.8444 1.9163.8764 1.5612.0192 2.7136-1.1691 2.736-2.8301z" }),
31
+ /* @__PURE__ */ c.jsx("path", { d: "m34.1057 6.80968v18.20732c-.5363-.0511-1.0694-.0607-1.5962-.1629-.8807-.1549-1.714-.51-2.4358-1.0381-.0738-.0371-.1553-.0564-.2379-.0564s-.164.0193-.2378.0564c-1.5131.85-3.2341 1.2583-4.9675 1.1787-1.9966-.0702-3.9102-.8169-5.4271-2.1178-1.0238-.8288-1.8471-1.8785-2.4082-3.0705s-.8456-2.4956-.8322-3.8132c-.0396-1.8326.487-3.6327 1.5081-5.1546 1.021-1.52185 2.4867-2.69128 4.1968-3.34854 1.2775-.53907 2.6638-.76993 4.0469-.67393 1.3831.09599 2.7243.51615 3.9151 1.22654.0676.03326.1418.05055.2171.05055s.1496-.01729.2171-.05055c1.178-.92953 2.5508-1.1723 4.0416-1.23299zm-6.3498 9.01422c0-1.6163-1.1397-2.7598-2.7072-2.7439-.368.0028-.732.078-1.071.2215-.3391.1434-.6465.3523-.9049.6147-.2583.2623-.4625.573-.6009.9143-.1383.3413-.2081.7066-.2054 1.0749s.0779.7324.2213 1.0716c.1434.3393.3522.6469.6144.9054s.5727.4628.9138.6012c.3411.1385.7062.2083 1.0742.2056 1.5356-.016 2.6849-1.2426 2.6657-2.8653z" }),
32
+ /* @__PURE__ */ c.jsx("path", { d: "m34.1057 6.80968v18.20732c-.5363-.0511-1.0694-.0607-1.5962-.1629-.8807-.1549-1.714-.51-2.4358-1.0381-.0738-.0371-.1553-.0564-.2379-.0564s-.164.0193-.2378.0564c-1.5131.85-3.2341 1.2583-4.9675 1.1787-1.9966-.0702-3.9102-.8169-5.4271-2.1178-1.0238-.8288-1.8471-1.8785-2.4082-3.0705s-.8456-2.4956-.8322-3.8132c-.0396-1.8326.487-3.6327 1.5081-5.1546 1.021-1.52185 2.4867-2.69128 4.1968-3.34854 1.2775-.53907 2.6638-.76993 4.0469-.67393 1.3831.09599 2.7243.51615 3.9151 1.22654.0676.03326.1418.05055.2171.05055s.1496-.01729.2171-.05055c1.178-.92953 2.5508-1.1723 4.0416-1.23299zm-6.3498 9.01422c0-1.6163-1.1397-2.7598-2.7072-2.7439-.368.0028-.732.078-1.071.2215-.3391.1434-.6465.3523-.9049.6147-.2583.2623-.4625.573-.6009.9143-.1383.3413-.2081.7066-.2054 1.0749s.0779.7324.2213 1.0716c.1434.3393.3522.6469.6144.9054s.5727.4628.9138.6012c.3411.1385.7062.2083 1.0742.2056 1.5356-.016 2.6849-1.2426 2.6657-2.8653z" }),
33
+ /* @__PURE__ */ c.jsxs("g", { opacity: 0.8, children: [
34
+ /* @__PURE__ */ c.jsx("path", { d: "m50.0654 51.3369c-1.0869 0-2.0234-.2427-2.8095-.728-.7793-.4922-1.3775-1.1724-1.7945-2.0405-.417-.875-.6255-1.8833-.6255-3.0249s.2085-2.1534.6255-3.0352c.4239-.8818 1.0152-1.5723 1.774-2.0713.7656-.499 1.6508-.7485 2.6557-.7485.6631 0 1.292.1162 1.8867.3486.6016.2256 1.1314.5742 1.5894 1.0459.4648.4717.8271 1.0664 1.0869 1.7842.2666.7178.3999 1.562.3999 2.5327v.6563h-8.9004v-1.5279h7.916l-.8203.5537c0-.7451-.123-1.4013-.3691-1.9687-.2461-.5742-.605-1.0186-1.0767-1.333-.4648-.3213-1.0356-.482-1.7124-.482-.6699 0-1.2475.1607-1.7329.482-.4853.3213-.8613.7553-1.1279 1.3022-.2598.5401-.3897 1.145-.3897 1.815v.9228c0 .8067.1402 1.5039.4204 2.0918.2803.5811.6768 1.0288 1.1895 1.3433.5195.3076 1.1279.4614 1.8252.4614.4717 0 .8955-.0684 1.2715-.2051.3828-.1435.7041-.352.9638-.6255.2666-.2734.4649-.6015.5948-.9843l1.7636.2973c-.164.6221-.458 1.169-.8818 1.6406-.4238.4717-.9536.8409-1.5894 1.1075-.6357.2597-1.3466.3896-2.1328.3896z" }),
35
+ /* @__PURE__ */ c.jsx("path", { d: "m37.1343 51.3164c-.9434 0-1.7774-.2393-2.502-.7178s-1.2885-1.1518-1.6919-2.02c-.3965-.875-.5947-1.9004-.5947-3.0762 0-1.1757.2017-2.1977.605-3.0659.4033-.8681.9639-1.5381 1.6816-2.0097.7246-.4786 1.5586-.7178 2.502-.7178.6426 0 1.1792.1025 1.6098.3076.4375.1982.793.4443 1.0664.7383.2803.2939.5059.581.6768.8613h.0923v-5.8037h1.8047v15.2783h-1.7534v-1.7226h-.1333c-.1778.2939-.4102.5913-.6973.8921-.2803.3007-.6392.5537-1.0767.7587-.4306.1983-.9604.2974-1.5893.2974zm.2666-1.6099c.6904 0 1.2749-.1777 1.7534-.5332.4853-.3554.8545-.8476 1.1074-1.4765.2598-.6358.3897-1.3706.3897-2.2046 0-.8408-.1265-1.5723-.3794-2.1943-.253-.6221-.6221-1.1075-1.1074-1.4561-.4854-.3486-1.0733-.523-1.7637-.523-.6836 0-1.2681.1744-1.7534.523-.4786.3486-.8443.8374-1.0972 1.4663-.2529.6221-.3794 1.3501-.3794 2.1841 0 .8271.1265 1.5586.3794 2.1943.2598.6289.6289 1.1245 1.1074 1.4868.4854.3555 1.0664.5332 1.7432.5332z" }),
36
+ /* @__PURE__ */ c.jsx("path", { d: "m28.1001 51.0908v-11.2178h1.8047v11.2178zm.9023-13.1865c-.3349 0-.6254-.1162-.8715-.3486-.2461-.2393-.3692-.5264-.3692-.8614 0-.3349.1231-.6186.3692-.851.2461-.2393.5366-.3589.8715-.3589.3487 0 .646.1196.8921.3589.2461.2324.3692.5195.3692.8613 0 .3281-.1231.6118-.3692.8511-.2461.2324-.5434.3486-.8921.3486z" }),
37
+ /* @__PURE__ */ c.jsx("path", { d: "m19.96 51.2549c-.752 0-1.4253-.1572-2.0201-.4717-.5947-.3213-1.0595-.7998-1.3945-1.4355-.335-.6426-.5024-1.4458-.5024-2.4097v-7.065h1.8047v6.9214c0 .9024.229 1.5996.687 2.0918s1.0903.7383 1.8969.7383c.5332 0 1.0152-.1128 1.4458-.3384.4375-.2324.7828-.5776 1.0357-1.0356.2529-.4649.3794-1.0357.3794-1.7124v-6.6651h1.8149v11.2178h-1.7534v-2.7173h.3486c-.3554 1.0323-.8579 1.7705-1.5073 2.2149-.6426.4443-1.3877.6665-2.2353.6665z" }),
38
+ /* @__PURE__ */ c.jsx("path", { d: "m7.01953 51.3164c-1.36035 0-2.55664-.3247-3.58887-.9741-1.03222-.6563-1.84228-1.5723-2.43017-2.7481-.581056-1.1757-.871584-2.5532-.871584-4.1323 0-1.5928.290528-2.977.871584-4.1528.58105-1.1758 1.38428-2.0884 2.40967-2.7378 1.03222-.6563 2.21142-.9844 3.53759-.9844.80664 0 1.56202.1231 2.26612.3692.7041.246 1.33303.5947 1.88673 1.0459.5605.4511 1.0254.9877 1.3945 1.6098.3692.6153.6221 1.2988.7588 2.0508h-1.9585c-.1367-.499-.3384-.9502-.605-1.3535s-.5879-.7486-.96384-1.0357c-.36914-.2939-.78955-.5195-1.26123-.6767-.46484-.1572-.9707-.2359-1.51758-.2359-.94336 0-1.78759.2427-2.53271.7281-.74512.4853-1.33301 1.1826-1.76367 2.0918-.43067.9091-.646 2.0029-.646 3.2812 0 1.2647.21533 2.3516.646 3.2608.43066.9023 1.02197 1.5996 1.77392 2.0918.75879.4853 1.62354.728 2.59424.728.86133 0 1.62695-.1846 2.29688-.5537.66992-.376 1.19629-.9024 1.57909-1.5791.3897-.6768.5845-1.4732.5845-2.3892l.5845.082h-4.55278v-1.6713h5.84468v1.6611c0 1.2373-.2768 2.3242-.8305 3.2607-.5469.9297-1.2988 1.6577-2.2559 2.1841-.95018.5195-2.03367.7793-3.25047.7793z" })
39
+ ] })
40
+ ] }) });
41
+ }
42
+ var x = /* @__PURE__ */ ((t) => (t.default = "default", t.flat = "flat", t))(x || {});
43
+ function f({
44
+ variant: t = "default",
45
+ height: s = 56
46
+ }) {
47
+ return /* @__PURE__ */ c.jsxs(i, { direction: "row", alignment: l.start, style: {
48
+ gap: s / 3
49
+ }, children: [
50
+ t === "flat" ? /* @__PURE__ */ c.jsx(m, { width: s, height: s, fill: "var(--foreground-color)" }) : /* @__PURE__ */ c.jsx(r, { size: s }),
51
+ /* @__PURE__ */ c.jsx(v, { height: s - 2, className: "kakadu-components-3861346893" }),
52
+ /* @__PURE__ */ c.jsx(o, { children: "Kakadu Guide" })
53
+ ] });
54
+ }
55
+ export {
56
+ v as KakaduGuideLogoSvg,
57
+ x as KakaduGuideLogoVariant,
58
+ f as default
59
+ };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function KakaduIndexLogoSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./jsx-runtime-BB_1_6y_.js"),h=require("./utilities/scale.js");function e({fill:c,...t}){const{width:i,height:x}=h.default({originalWidth:120,originalHeight:55,width:t.width,height:t.height});return s.jsxRuntimeExports.jsxs("svg",{fill:"none",viewBox:"0 0 120 55",xmlns:"http://www.w3.org/2000/svg",...t,width:i,height:x,children:[s.jsxRuntimeExports.jsxs("g",{fill:c??"#000",children:[s.jsxRuntimeExports.jsx("path",{d:"m90.6113 7.831v-7.82785355c3.063-.07955845 5.725 1.34557355 6.5685 4.73545355.1745.72258.2616 1.46352.2593 2.20688.0184 6.52152.0184 13.04412 0 19.56792v.5396c-1.5903-.0242-3.063-.3217-4.3386-1.2695-.0831-.0805-.1922-.1285-.3076-.1355s-.2295.0276-.3216.0975c-5.1304 2.9021-11.6885.7471-13.9287-4.6974-1.5626-3.805-.9818-7.3886 1.8081-10.4395 2.6827-2.93325 6.0568-3.82915 9.9184-2.83986zm0 9.3844c.0132-.3968-.0543-.7921-.1984-1.162-.144-.3699-.3616-.7068-.6396-.9901s-.6105-.5072-.9775-.6581-.7608-.2257-1.1576-.2199c-.8022-.0064-1.5742.3063-2.146.8694-.5718.563-.8967 1.3303-.9031 2.1331-.0064.8027.3061 1.5751.8689 2.1472.5627.5722 1.3296.8972 2.1319.9037.3977.0051.7924-.0697 1.1607-.2199.3684-.1502.7028-.3729.9836-.6548s.5021-.6173.651-.9864c.1489-.369.2223-.7642.2158-1.1622z"}),s.jsxRuntimeExports.jsx("path",{d:"m99.4912 7.38135c1.9668.03459 3.7198.48427 5.0818 1.94053 1.081 1.18252 1.696 2.71812 1.729 4.32042.062 1.1587 0 2.3244.024 3.4901-.027.6725.178 1.3337.58 1.8732s.977.9247 1.629 1.0913c1.67.4877 3.568-.8406 3.585-2.5667.031-3.2134 0-6.4234.021-9.63345v-.49465c3.242-.0588 6.039 1.49086 6.679 5.154.44 2.3936.392 4.8516-.142 7.226-.84 3.6009-4.197 6.548-7.861 7.1326-1.987.3138-4.023.0101-5.831-.8701-1.809-.8803-3.305-2.2946-4.285-4.0522-.8055-1.4223-1.224-3.0314-1.2133-4.6662 0-3.2274 0-6.4512 0-9.68542-.0104-.07264-.0034-.15566.0035-.25943z"}),s.jsxRuntimeExports.jsx("path",{d:"m10.6651 17.0749 7.8926 7.7967c-1.9913 2.1654-4.5945 2.8399-7.3878 1.4217-1.56609-.8025-2.84522-1.9613-4.09669-3.1616-.17631-.1661-.32151-.3667-.54276-.6261-1.06133 3.2273-3.33264 4.5279-6.53045 4.5487v-27.04990547c1.83226 0 3.49512.38395547 4.83993 1.69148547 1.42087 1.38362 1.94289 3.11315 1.9982 5.02947.04149 1.48394 0 2.97133 0 4.56595l.42177-.3666c1.03713-.9202 1.99128-1.91983 3.0872-2.74309 2.534-1.9094 5.1545-1.72953 7.5053.40471.2386.21447.4702.43585.7606.69182z"}),s.jsxRuntimeExports.jsx("path",{d:"m57.5711 9.27762-7.8407 7.76218 7.813 7.8001c-1.7666 1.9613-4.1485 2.7673-6.6445 1.778-1.6767-.6607-3.0284-1.7814-4.3249-2.9817-.3699-.3459-.6914-.7333-1.0578-1.1346-1.5004 3.3207-3.5297 4.7113-6.5201 4.5175v-26.9979286c.8491-.0499943 1.7001.0579059 2.5098.3182336 2.7311.837095 4.1486 3.261895 4.2626 5.932295.0761 1.63613 0 3.27919 0 5.0364.1833-.1695.2939-.2733.4114-.377 1.0372-.9167 1.9982-1.90599 3.0907-2.73617 2.5237-1.9094 5.0854-1.7572 7.4777.34591.2662.21792.5116.4566.8228.73678z"}),s.jsxRuntimeExports.jsx("path",{d:"m76.4229 27.0363c-1.5253.0947-3.0374-.3335-4.2868-1.2142-.0904-.0893-.2099-.1433-.3367-.1522s-.2526.028-.3547.1038c-1.239.7059-2.6167 1.1337-4.0374 1.2537-1.4208.12-2.8506-.0705-4.1904-.5585s-2.5575-1.2617-3.5686-2.2675c-1.0112-1.0058-1.7916-2.2196-2.2872-3.5573-.4956-1.3376-.6945-2.7671-.5829-4.1894.1116-1.4222.531-2.8031 1.2292-4.047.6981-1.2439 1.6583-2.321 2.814-3.15657 1.1556-.83557 2.4791-1.40966 3.8785-1.68246 2.3387-.48754 4.775-.07632 6.8243 1.15187.0852.06077.1897.08802.2937.07654.1039-.01149.2-.06091.2698-.13881 1.2688-.98583 2.7657-1.23834 4.3352-1.27639zm-6.9141-9.8584c.0266-.3919-.0289-.7851-.1629-1.1544-.134-.3692-.3436-.7065-.6153-.9901-.2717-.2835-.5996-.5073-.9627-.6568-.363-.1495-.7533-.2215-1.1458-.2115-.7893.0149-1.5419.3365-2.0984.8968-.5564.5603-.8731 1.3153-.883 2.1051-.0099.7899.2878 1.5525.8301 2.1266s1.2865.9145 2.0752.9491c1.6905.0207 2.9386-1.266 2.9628-3.0648z"}),s.jsxRuntimeExports.jsx("path",{d:"m36.9321 7.37438v19.71662c-.5808-.0553-1.1581-.0657-1.7285-.1764-.9537-.1677-1.8562-.5523-2.6378-1.1242-.0799-.0401-.1681-.0611-.2575-.0611-.0895 0-.1777.021-.2576.0611-1.6385.9205-3.5021 1.3627-5.3792 1.2764-2.1622-.0759-4.2344-.8845-5.8771-2.2933-1.1087-.8975-2.0002-2.0342-2.6078-3.325-.6076-1.2909-.9157-2.7025-.9011-4.1293-.043-1.9845.5273-3.9339 1.633-5.5819s2.6929-2.91439 4.5448-3.62614c1.3834-.58375 2.8846-.83375 4.3823-.7298 1.4978.10395 2.9501.55895 4.2397 1.32822.0731.03601.1535.05474.2351.05474.0815 0 .1619-.01873.235-.05474 1.2757-1.00659 2.7623-1.26948 4.3767-1.3352zm-6.8761 9.76152c0-1.7503-1.2342-2.9887-2.9316-2.9714-.3987.003-.7928.0844-1.1599.2398s-.7001.3815-.9799.6656c-.2797.2842-.5008.6206-.6507.9902-.1498.3696-.2254.7651-.2224 1.164.0029.3988.0844.7931.2396 1.1605.1553.3673.3814.7005.6653.9804.284.2799.6202.5012.9896.6511.3694.1498.7647.2255 1.1633.2225 1.6629-.0173 2.9074-1.3455 2.8867-3.1027z"})]}),s.jsxRuntimeExports.jsx("path",{d:"m40.7637 54.0908 4.5322-6.4394-.0103 1.3842-4.2861-6.1626h2.1226l1.4355 2.1944c.3418.5127.6494 1.0049.9229 1.4765.2734.4649.5537.9229.8408 1.3741h-.9229c.294-.4512.5708-.9092.8306-1.3741.2598-.4716.5606-.9638.9023-1.4765l1.4664-2.1944h2.0815l-4.2964 6.2139v-1.3535l4.481 6.3574h-2.1123l-1.6919-2.5327c-.335-.499-.6358-.9741-.9024-1.4253s-.54-.8955-.8203-1.333h.9331c-.2803.4375-.5503.8818-.81 1.333-.253.4512-.5469.9263-.8819 1.4253l-1.7124 2.5327z",fill:"#434343"}),s.jsxRuntimeExports.jsx("path",{d:"m35.0732 54.3369c-1.0869 0-2.0234-.2427-2.8095-.728-.7793-.4922-1.3775-1.1724-1.7945-2.0405-.417-.875-.6254-1.8833-.6254-3.0249s.2084-2.1534.6254-3.0352c.4239-.8818 1.0152-1.5723 1.774-2.0713.7656-.499 1.6508-.7485 2.6557-.7485.6631 0 1.292.1162 1.8867.3486.6016.2256 1.1314.5742 1.5894 1.0459.4648.4717.8271 1.0664 1.0869 1.7842.2666.7178.3999 1.562.3999 2.5327v.6563h-8.9004v-1.5279h7.916l-.8203.5537c0-.7451-.123-1.4013-.3691-1.9687-.2461-.5742-.605-1.0186-1.0767-1.333-.4648-.3213-1.0356-.482-1.7124-.482-.6699 0-1.2475.1607-1.7329.482-.4853.3213-.8613.7553-1.1279 1.3022-.2598.5401-.3897 1.145-.3897 1.815v.9228c0 .8067.1402 1.5039.4204 2.0918.2803.5811.6768 1.0288 1.1895 1.3433.5195.3076 1.1279.4614 1.8252.4614.4717 0 .8955-.0684 1.2715-.2051.3828-.1435.7041-.352.9638-.6255.2666-.2734.4649-.6015.5948-.9843l1.7636.2973c-.164.6221-.458 1.169-.8818 1.6406-.4238.4717-.9536.8409-1.5893 1.1075-.6358.2597-1.3467.3896-2.1329.3896z",fill:"#434343"}),s.jsxRuntimeExports.jsx("path",{d:"m22.144 54.3164c-.9433 0-1.7773-.2393-2.5019-.7178s-1.2886-1.1518-1.6919-2.02c-.3965-.875-.5947-1.9004-.5947-3.0762 0-1.1757.2016-2.1977.6049-3.0659.4034-.8681.9639-1.5381 1.6817-2.0097.7246-.4786 1.5586-.7178 2.5019-.7178.6426 0 1.1792.1025 1.6099.3076.4375.1982.793.4443 1.0664.7383.2803.2939.5059.581.6768.8613h.0923v-5.8037h1.8046v15.2783h-1.7534v-1.7226h-.1333c-.1777.2939-.4101.5913-.6972.8921-.2803.3007-.6392.5537-1.0767.7587-.4307.1983-.9605.2974-1.5894.2974zm.2666-1.6099c.6905 0 1.2749-.1777 1.7535-.5332.4853-.3554.8545-.8476 1.1074-1.4765.2597-.6358.3896-1.3706.3896-2.2046 0-.8408-.1264-1.5723-.3794-2.1943-.2529-.6221-.622-1.1075-1.1074-1.4561-.4853-.3486-1.0732-.523-1.7637-.523-.6835 0-1.268.1744-1.7534.523-.4785.3486-.8442.8374-1.0971 1.4663-.253.6221-.3794 1.3501-.3794 2.1841 0 .8271.1264 1.5586.3794 2.1943.2597.6289.6289 1.1245 1.1074 1.4868.4853.3555 1.0664.5332 1.7431.5332z",fill:"#434343"}),s.jsxRuntimeExports.jsx("path",{d:"m7.6543 47.4258v6.665h-1.80469v-11.2178h1.74316v2.7173h-.33838c.34864-1.0254.84082-1.7602 1.47657-2.2046.64258-.4511 1.39794-.6767 2.26614-.6767.7519 0 1.4218.1606 2.0097.4819.5948.3145 1.0596.7896 1.3946 1.4253.3349.6358.5024 1.439.5024 2.4097v7.0649h-1.8047v-6.9214c0-.9023-.229-1.5996-.687-2.0918-.4512-.4922-1.0801-.7382-1.8867-.7382-.54005 0-1.02882.1162-1.46632.3486-.43066.2256-.77246.5674-1.02539 1.0254s-.37939 1.0288-.37939 1.7124z",fill:"#434343"}),s.jsxRuntimeExports.jsx("path",{d:"m2.62988 38.8125v15.2783h-1.907224v-15.2783z",fill:"#434343"})]})}exports.default=e;
@@ -0,0 +1,66 @@
1
+ import { j as c } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import i from "./utilities/scale.mjs";
3
+ function d({
4
+ fill: s,
5
+ ...h
6
+ }) {
7
+ const { width: l, height: t } = i({
8
+ originalWidth: 120,
9
+ originalHeight: 55,
10
+ width: h.width,
11
+ height: h.height
12
+ });
13
+ return /* @__PURE__ */ c.jsxs(
14
+ "svg",
15
+ {
16
+ fill: "none",
17
+ viewBox: "0 0 120 55",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ ...h,
20
+ width: l,
21
+ height: t,
22
+ children: [
23
+ /* @__PURE__ */ c.jsxs("g", { fill: s ?? "#000", children: [
24
+ /* @__PURE__ */ c.jsx("path", { d: "m90.6113 7.831v-7.82785355c3.063-.07955845 5.725 1.34557355 6.5685 4.73545355.1745.72258.2616 1.46352.2593 2.20688.0184 6.52152.0184 13.04412 0 19.56792v.5396c-1.5903-.0242-3.063-.3217-4.3386-1.2695-.0831-.0805-.1922-.1285-.3076-.1355s-.2295.0276-.3216.0975c-5.1304 2.9021-11.6885.7471-13.9287-4.6974-1.5626-3.805-.9818-7.3886 1.8081-10.4395 2.6827-2.93325 6.0568-3.82915 9.9184-2.83986zm0 9.3844c.0132-.3968-.0543-.7921-.1984-1.162-.144-.3699-.3616-.7068-.6396-.9901s-.6105-.5072-.9775-.6581-.7608-.2257-1.1576-.2199c-.8022-.0064-1.5742.3063-2.146.8694-.5718.563-.8967 1.3303-.9031 2.1331-.0064.8027.3061 1.5751.8689 2.1472.5627.5722 1.3296.8972 2.1319.9037.3977.0051.7924-.0697 1.1607-.2199.3684-.1502.7028-.3729.9836-.6548s.5021-.6173.651-.9864c.1489-.369.2223-.7642.2158-1.1622z" }),
25
+ /* @__PURE__ */ c.jsx("path", { d: "m99.4912 7.38135c1.9668.03459 3.7198.48427 5.0818 1.94053 1.081 1.18252 1.696 2.71812 1.729 4.32042.062 1.1587 0 2.3244.024 3.4901-.027.6725.178 1.3337.58 1.8732s.977.9247 1.629 1.0913c1.67.4877 3.568-.8406 3.585-2.5667.031-3.2134 0-6.4234.021-9.63345v-.49465c3.242-.0588 6.039 1.49086 6.679 5.154.44 2.3936.392 4.8516-.142 7.226-.84 3.6009-4.197 6.548-7.861 7.1326-1.987.3138-4.023.0101-5.831-.8701-1.809-.8803-3.305-2.2946-4.285-4.0522-.8055-1.4223-1.224-3.0314-1.2133-4.6662 0-3.2274 0-6.4512 0-9.68542-.0104-.07264-.0034-.15566.0035-.25943z" }),
26
+ /* @__PURE__ */ c.jsx("path", { d: "m10.6651 17.0749 7.8926 7.7967c-1.9913 2.1654-4.5945 2.8399-7.3878 1.4217-1.56609-.8025-2.84522-1.9613-4.09669-3.1616-.17631-.1661-.32151-.3667-.54276-.6261-1.06133 3.2273-3.33264 4.5279-6.53045 4.5487v-27.04990547c1.83226 0 3.49512.38395547 4.83993 1.69148547 1.42087 1.38362 1.94289 3.11315 1.9982 5.02947.04149 1.48394 0 2.97133 0 4.56595l.42177-.3666c1.03713-.9202 1.99128-1.91983 3.0872-2.74309 2.534-1.9094 5.1545-1.72953 7.5053.40471.2386.21447.4702.43585.7606.69182z" }),
27
+ /* @__PURE__ */ c.jsx("path", { d: "m57.5711 9.27762-7.8407 7.76218 7.813 7.8001c-1.7666 1.9613-4.1485 2.7673-6.6445 1.778-1.6767-.6607-3.0284-1.7814-4.3249-2.9817-.3699-.3459-.6914-.7333-1.0578-1.1346-1.5004 3.3207-3.5297 4.7113-6.5201 4.5175v-26.9979286c.8491-.0499943 1.7001.0579059 2.5098.3182336 2.7311.837095 4.1486 3.261895 4.2626 5.932295.0761 1.63613 0 3.27919 0 5.0364.1833-.1695.2939-.2733.4114-.377 1.0372-.9167 1.9982-1.90599 3.0907-2.73617 2.5237-1.9094 5.0854-1.7572 7.4777.34591.2662.21792.5116.4566.8228.73678z" }),
28
+ /* @__PURE__ */ c.jsx("path", { d: "m76.4229 27.0363c-1.5253.0947-3.0374-.3335-4.2868-1.2142-.0904-.0893-.2099-.1433-.3367-.1522s-.2526.028-.3547.1038c-1.239.7059-2.6167 1.1337-4.0374 1.2537-1.4208.12-2.8506-.0705-4.1904-.5585s-2.5575-1.2617-3.5686-2.2675c-1.0112-1.0058-1.7916-2.2196-2.2872-3.5573-.4956-1.3376-.6945-2.7671-.5829-4.1894.1116-1.4222.531-2.8031 1.2292-4.047.6981-1.2439 1.6583-2.321 2.814-3.15657 1.1556-.83557 2.4791-1.40966 3.8785-1.68246 2.3387-.48754 4.775-.07632 6.8243 1.15187.0852.06077.1897.08802.2937.07654.1039-.01149.2-.06091.2698-.13881 1.2688-.98583 2.7657-1.23834 4.3352-1.27639zm-6.9141-9.8584c.0266-.3919-.0289-.7851-.1629-1.1544-.134-.3692-.3436-.7065-.6153-.9901-.2717-.2835-.5996-.5073-.9627-.6568-.363-.1495-.7533-.2215-1.1458-.2115-.7893.0149-1.5419.3365-2.0984.8968-.5564.5603-.8731 1.3153-.883 2.1051-.0099.7899.2878 1.5525.8301 2.1266s1.2865.9145 2.0752.9491c1.6905.0207 2.9386-1.266 2.9628-3.0648z" }),
29
+ /* @__PURE__ */ c.jsx("path", { d: "m36.9321 7.37438v19.71662c-.5808-.0553-1.1581-.0657-1.7285-.1764-.9537-.1677-1.8562-.5523-2.6378-1.1242-.0799-.0401-.1681-.0611-.2575-.0611-.0895 0-.1777.021-.2576.0611-1.6385.9205-3.5021 1.3627-5.3792 1.2764-2.1622-.0759-4.2344-.8845-5.8771-2.2933-1.1087-.8975-2.0002-2.0342-2.6078-3.325-.6076-1.2909-.9157-2.7025-.9011-4.1293-.043-1.9845.5273-3.9339 1.633-5.5819s2.6929-2.91439 4.5448-3.62614c1.3834-.58375 2.8846-.83375 4.3823-.7298 1.4978.10395 2.9501.55895 4.2397 1.32822.0731.03601.1535.05474.2351.05474.0815 0 .1619-.01873.235-.05474 1.2757-1.00659 2.7623-1.26948 4.3767-1.3352zm-6.8761 9.76152c0-1.7503-1.2342-2.9887-2.9316-2.9714-.3987.003-.7928.0844-1.1599.2398s-.7001.3815-.9799.6656c-.2797.2842-.5008.6206-.6507.9902-.1498.3696-.2254.7651-.2224 1.164.0029.3988.0844.7931.2396 1.1605.1553.3673.3814.7005.6653.9804.284.2799.6202.5012.9896.6511.3694.1498.7647.2255 1.1633.2225 1.6629-.0173 2.9074-1.3455 2.8867-3.1027z" })
30
+ ] }),
31
+ /* @__PURE__ */ c.jsx(
32
+ "path",
33
+ {
34
+ d: "m40.7637 54.0908 4.5322-6.4394-.0103 1.3842-4.2861-6.1626h2.1226l1.4355 2.1944c.3418.5127.6494 1.0049.9229 1.4765.2734.4649.5537.9229.8408 1.3741h-.9229c.294-.4512.5708-.9092.8306-1.3741.2598-.4716.5606-.9638.9023-1.4765l1.4664-2.1944h2.0815l-4.2964 6.2139v-1.3535l4.481 6.3574h-2.1123l-1.6919-2.5327c-.335-.499-.6358-.9741-.9024-1.4253s-.54-.8955-.8203-1.333h.9331c-.2803.4375-.5503.8818-.81 1.333-.253.4512-.5469.9263-.8819 1.4253l-1.7124 2.5327z",
35
+ fill: "#434343"
36
+ }
37
+ ),
38
+ /* @__PURE__ */ c.jsx(
39
+ "path",
40
+ {
41
+ d: "m35.0732 54.3369c-1.0869 0-2.0234-.2427-2.8095-.728-.7793-.4922-1.3775-1.1724-1.7945-2.0405-.417-.875-.6254-1.8833-.6254-3.0249s.2084-2.1534.6254-3.0352c.4239-.8818 1.0152-1.5723 1.774-2.0713.7656-.499 1.6508-.7485 2.6557-.7485.6631 0 1.292.1162 1.8867.3486.6016.2256 1.1314.5742 1.5894 1.0459.4648.4717.8271 1.0664 1.0869 1.7842.2666.7178.3999 1.562.3999 2.5327v.6563h-8.9004v-1.5279h7.916l-.8203.5537c0-.7451-.123-1.4013-.3691-1.9687-.2461-.5742-.605-1.0186-1.0767-1.333-.4648-.3213-1.0356-.482-1.7124-.482-.6699 0-1.2475.1607-1.7329.482-.4853.3213-.8613.7553-1.1279 1.3022-.2598.5401-.3897 1.145-.3897 1.815v.9228c0 .8067.1402 1.5039.4204 2.0918.2803.5811.6768 1.0288 1.1895 1.3433.5195.3076 1.1279.4614 1.8252.4614.4717 0 .8955-.0684 1.2715-.2051.3828-.1435.7041-.352.9638-.6255.2666-.2734.4649-.6015.5948-.9843l1.7636.2973c-.164.6221-.458 1.169-.8818 1.6406-.4238.4717-.9536.8409-1.5893 1.1075-.6358.2597-1.3467.3896-2.1329.3896z",
42
+ fill: "#434343"
43
+ }
44
+ ),
45
+ /* @__PURE__ */ c.jsx(
46
+ "path",
47
+ {
48
+ d: "m22.144 54.3164c-.9433 0-1.7773-.2393-2.5019-.7178s-1.2886-1.1518-1.6919-2.02c-.3965-.875-.5947-1.9004-.5947-3.0762 0-1.1757.2016-2.1977.6049-3.0659.4034-.8681.9639-1.5381 1.6817-2.0097.7246-.4786 1.5586-.7178 2.5019-.7178.6426 0 1.1792.1025 1.6099.3076.4375.1982.793.4443 1.0664.7383.2803.2939.5059.581.6768.8613h.0923v-5.8037h1.8046v15.2783h-1.7534v-1.7226h-.1333c-.1777.2939-.4101.5913-.6972.8921-.2803.3007-.6392.5537-1.0767.7587-.4307.1983-.9605.2974-1.5894.2974zm.2666-1.6099c.6905 0 1.2749-.1777 1.7535-.5332.4853-.3554.8545-.8476 1.1074-1.4765.2597-.6358.3896-1.3706.3896-2.2046 0-.8408-.1264-1.5723-.3794-2.1943-.2529-.6221-.622-1.1075-1.1074-1.4561-.4853-.3486-1.0732-.523-1.7637-.523-.6835 0-1.268.1744-1.7534.523-.4785.3486-.8442.8374-1.0971 1.4663-.253.6221-.3794 1.3501-.3794 2.1841 0 .8271.1264 1.5586.3794 2.1943.2597.6289.6289 1.1245 1.1074 1.4868.4853.3555 1.0664.5332 1.7431.5332z",
49
+ fill: "#434343"
50
+ }
51
+ ),
52
+ /* @__PURE__ */ c.jsx(
53
+ "path",
54
+ {
55
+ d: "m7.6543 47.4258v6.665h-1.80469v-11.2178h1.74316v2.7173h-.33838c.34864-1.0254.84082-1.7602 1.47657-2.2046.64258-.4511 1.39794-.6767 2.26614-.6767.7519 0 1.4218.1606 2.0097.4819.5948.3145 1.0596.7896 1.3946 1.4253.3349.6358.5024 1.439.5024 2.4097v7.0649h-1.8047v-6.9214c0-.9023-.229-1.5996-.687-2.0918-.4512-.4922-1.0801-.7382-1.8867-.7382-.54005 0-1.02882.1162-1.46632.3486-.43066.2256-.77246.5674-1.02539 1.0254s-.37939 1.0288-.37939 1.7124z",
56
+ fill: "#434343"
57
+ }
58
+ ),
59
+ /* @__PURE__ */ c.jsx("path", { d: "m2.62988 38.8125v15.2783h-1.907224v-15.2783z", fill: "#434343" })
60
+ ]
61
+ }
62
+ );
63
+ }
64
+ export {
65
+ d as default
66
+ };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function KakaduLogoSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./jsx-runtime-BB_1_6y_.js"),l=require("./utilities/scale.js");function n({fill:e,...t}){const{width:c,height:i}=l.default({originalWidth:140,originalHeight:32,width:t.width,height:t.height});return s.jsxRuntimeExports.jsx("svg",{fill:"none",viewBox:"0 0 140 32",xmlns:"http://www.w3.org/2000/svg",...t,width:c,height:i,children:s.jsxRuntimeExports.jsxs("g",{fill:e??"currentColor",children:[s.jsxRuntimeExports.jsx("path",{clipRule:"evenodd",d:"m106.506.0400016v9.1954484l-.403-.07314c-4.538-1.16213-8.5042-.10971-11.6574 3.33609-3.2792 3.5839-3.9618 7.7935-2.1252 12.2633 2.6331 6.3957 10.3416 8.9272 16.3716 5.518.108-.0821.242-.1227.378-.1145.135.0082.264.0647.361.1592 1.5 1.1134 3.231 1.4629 5.1 1.4913v-.6339c.022-7.6635.022-15.3257 0-22.98658.003-.87323-.1-1.74362-.305-2.59244-.991-3.98212-4.12-5.6562364-7.72-5.5627784zm-.233 18.8542984c.169.4346.248.899.233 1.3651h-.012c.007.4675-.079.9317-.254 1.3653-.175.4335-.435.8275-.765 1.1586-.33.3312-.723.5928-1.156.7693-.433.1764-.897.2643-1.365.2582-.943-.0075-1.844-.3893-2.505-1.0615-.6619-.6721-1.0293-1.5794-1.0217-2.5224.0075-.9429.3894-1.8443 1.0617-2.5057.672-.6615 1.579-1.0288 2.522-1.0213.467-.0069.929.081 1.361.2583.431.1773.822.4403 1.149.7731.326.3328.582.7285.752 1.163z",fillRule:"evenodd"}),s.jsxRuntimeExports.jsx("path",{d:"m122.913 10.9868c-1.6-1.71072-3.661-2.23896-5.973-2.2796l-.002.02823c-.007.10889-.013.19788-.002.27653v11.37744c-.012 1.9206.479 3.8107 1.426 5.4816 1.152 2.0646 2.91 3.726 5.036 4.76s4.519 1.3908 6.854 1.0222c4.307-.6868 8.253-4.1488 9.24-8.3788.628-2.7892.684-5.6766.167-8.4884-.752-4.3031-4.039-6.1235-7.851-6.05442v.58107c-.011 1.71375-.009 3.42745-.008 5.14145.002 2.0574.004 4.1159-.016 6.1751-.02 2.0276-2.251 3.588-4.214 3.015-.766-.1956-1.442-.6481-1.914-1.2819-.473-.6337-.713-1.4105-.682-2.2004-.012-.5614-.007-1.1228-.001-1.6836.008-.8072.015-1.6132-.028-2.4164-.039-1.8822-.761-3.686-2.032-5.0751z"}),s.jsxRuntimeExports.jsx("path",{d:"m12.5356 20.0929 9.2767 9.1588c-2.3405 2.5437-5.4003 3.3361-8.6835 1.6701-1.8407-.9427-3.34416-2.3039-4.81511-3.7139-.14097-.1327-.26502-.2842-.4118-.4635-.06899-.0842-.143-.1746-.22615-.272-1.24746 3.7911-3.91711 5.319-7.67574 5.3433v-31.7756609c2.1536 0 4.10809.4510359 5.68874 1.9870009 1.67006 1.62535 2.28363 3.65705 2.34864 5.90816.03226 1.153.02184 2.3078.01109 3.4996-.0055.6101-.01109 1.2299-.01109 1.8641l.49574-.4307c.41101-.3645.81094-.7395 1.20991-1.1137.78427-.7355 1.56497-1.4676 2.41867-2.10861 2.9785-2.24299 6.0585-2.03169 8.8216.47541.1132.1017.2251.2048.3408.3113.1706.1571.3499.3223.5532.5014z"}),s.jsxRuntimeExports.jsx("path",{d:"m58.452 20.0522 9.2157-9.1182c-.1178-.106-.2275-.207-.3327-.3037-.2213-.2034-.4223-.3883-.6344-.5618-2.8118-2.47056-5.8228-2.64935-8.7891-.40636-.8505.64596-1.6332 1.37386-2.4191 2.10476-.4006.3725-.802.7458-1.2135 1.1094-.1111.098-.2169.1959-.366.334l-.1176.1089c0-.6986.0103-1.3819.0203-2.0547.0198-1.31502.0389-2.59014-.0203-3.86161-.1341-3.13693-1.8001-5.98537-5.0101-6.968708-.9518-.305809-1.9521-.4325605-2.9501-.3738318v31.7147498c3.5149.2276 5.9001-1.4059 7.6636-5.3068.119.1302.2339.2592.3471.3862.2966.3328.5817.6526.8963.9466 1.5238 1.41 3.1125 2.7265 5.0833 3.5027 2.9338 1.1621 5.7334.2153 7.8098-2.0886z"}),s.jsxRuntimeExports.jsxs("g",{clipRule:"evenodd",fillRule:"evenodd",children:[s.jsxRuntimeExports.jsx("path",{d:"m89.8294 31.7954c-1.7928.1113-3.5701-.3917-5.0386-1.4262-.1064-.105-.2468-.1684-.3958-.1788-.1491-.0105-.2969.0328-.4169.1219-1.4563.8292-3.0756 1.3317-4.7455 1.4727s-3.3505-.0829-4.9253-.6561c-1.5747-.5732-3.006-1.4821-4.1945-2.6636s-2.1058-2.6074-2.6883-4.1788c-.5825-1.5713-.8162-3.2506-.6851-4.9213.1312-1.6707.6242-3.2929 1.4448-4.7541s1.9491-2.7265 3.3075-3.708c1.3583-.98157 2.9138-1.65596 4.5588-1.97642 2.7487-.57272 5.6123-.08965 8.0211 1.35312.1.0714.2229.1034.3451.0899s.2351-.0715.3172-.1631c1.4913-1.15802 3.2507-1.45465 5.0955-1.49935zm-8.1268-11.5806c.0313-.4605-.0339-.9223-.1914-1.3561s-.4038-.8299-.7232-1.1631c-.3193-.3331-.7047-.5959-1.1315-.7716-.4267-.1756-.8855-.2602-1.3468-.2484-.9277.0174-1.8123.3952-2.4664 1.0534-.654.6582-1.0263 1.5451-1.0379 2.4729-.0116.9279.3383 1.8238.9757 2.4982.6374.6743 1.5122 1.0742 2.4392 1.1148 1.987.0244 3.4539-1.4872 3.4823-3.6001z"}),s.jsxRuntimeExports.jsx("path",{d:"m43.4094 31.8604v-23.16135c-1.8976.07721-3.6449.38602-5.1443 1.56845-.086.0423-.1805.0643-.2763.0643s-.1903-.022-.2763-.0643c-1.5157-.90365-3.2228-1.43813-4.9832-1.56025-1.7604-.12211-3.5249.17156-5.1509.8573-2.1767.83615-4.0422 2.32375-5.3418 4.25965-1.2996 1.936-1.97 4.2259-1.9195 6.5571-.0171 1.6761.345 3.3343 1.0592 4.8507s1.7621 2.8516 3.0652 3.9059c1.9307 1.6549 4.3664 2.6048 6.9077 2.694 2.2063.1014 4.3968-.4181 6.3227-1.4994.0939-.0471.1976-.0717.3027-.0717s.2088.0246.3027.0717c.9187.6718 1.9794 1.1236 3.1004 1.3206.4644.0901.9327.1236 1.4036.1573.2089.015.4183.03.6281.05zm-11.5279-15.1849c1.9951-.0203 3.4458 1.4344 3.4458 3.4904.0244 2.0642-1.4385 3.6246-3.393 3.6449-.4685.0035-.9331-.0854-1.3672-.2615-.4342-.1761-.8295-.4359-1.1632-.7648-.3337-.3288-.5994-.7202-.7819-1.1517s-.2782-.8947-.2817-1.3632c-.0035-.4686.0854-.9332.2614-1.3673.1761-.4342.436-.8295.7648-1.1632.3289-.3337.7202-.5994 1.1518-.7819.4315-.1825.8947-.2782 1.3632-.2817z"})]})]})})}exports.default=n;
@@ -0,0 +1,44 @@
1
+ import { j as c } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import d from "./utilities/scale.mjs";
3
+ function o({
4
+ fill: l,
5
+ ...s
6
+ }) {
7
+ const { width: i, height: t } = d({
8
+ originalWidth: 140,
9
+ originalHeight: 32,
10
+ width: s.width,
11
+ height: s.height
12
+ });
13
+ return /* @__PURE__ */ c.jsx(
14
+ "svg",
15
+ {
16
+ fill: "none",
17
+ viewBox: "0 0 140 32",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ ...s,
20
+ width: i,
21
+ height: t,
22
+ children: /* @__PURE__ */ c.jsxs("g", { fill: l ?? "currentColor", children: [
23
+ /* @__PURE__ */ c.jsx(
24
+ "path",
25
+ {
26
+ clipRule: "evenodd",
27
+ d: "m106.506.0400016v9.1954484l-.403-.07314c-4.538-1.16213-8.5042-.10971-11.6574 3.33609-3.2792 3.5839-3.9618 7.7935-2.1252 12.2633 2.6331 6.3957 10.3416 8.9272 16.3716 5.518.108-.0821.242-.1227.378-.1145.135.0082.264.0647.361.1592 1.5 1.1134 3.231 1.4629 5.1 1.4913v-.6339c.022-7.6635.022-15.3257 0-22.98658.003-.87323-.1-1.74362-.305-2.59244-.991-3.98212-4.12-5.6562364-7.72-5.5627784zm-.233 18.8542984c.169.4346.248.899.233 1.3651h-.012c.007.4675-.079.9317-.254 1.3653-.175.4335-.435.8275-.765 1.1586-.33.3312-.723.5928-1.156.7693-.433.1764-.897.2643-1.365.2582-.943-.0075-1.844-.3893-2.505-1.0615-.6619-.6721-1.0293-1.5794-1.0217-2.5224.0075-.9429.3894-1.8443 1.0617-2.5057.672-.6615 1.579-1.0288 2.522-1.0213.467-.0069.929.081 1.361.2583.431.1773.822.4403 1.149.7731.326.3328.582.7285.752 1.163z",
28
+ fillRule: "evenodd"
29
+ }
30
+ ),
31
+ /* @__PURE__ */ c.jsx("path", { d: "m122.913 10.9868c-1.6-1.71072-3.661-2.23896-5.973-2.2796l-.002.02823c-.007.10889-.013.19788-.002.27653v11.37744c-.012 1.9206.479 3.8107 1.426 5.4816 1.152 2.0646 2.91 3.726 5.036 4.76s4.519 1.3908 6.854 1.0222c4.307-.6868 8.253-4.1488 9.24-8.3788.628-2.7892.684-5.6766.167-8.4884-.752-4.3031-4.039-6.1235-7.851-6.05442v.58107c-.011 1.71375-.009 3.42745-.008 5.14145.002 2.0574.004 4.1159-.016 6.1751-.02 2.0276-2.251 3.588-4.214 3.015-.766-.1956-1.442-.6481-1.914-1.2819-.473-.6337-.713-1.4105-.682-2.2004-.012-.5614-.007-1.1228-.001-1.6836.008-.8072.015-1.6132-.028-2.4164-.039-1.8822-.761-3.686-2.032-5.0751z" }),
32
+ /* @__PURE__ */ c.jsx("path", { d: "m12.5356 20.0929 9.2767 9.1588c-2.3405 2.5437-5.4003 3.3361-8.6835 1.6701-1.8407-.9427-3.34416-2.3039-4.81511-3.7139-.14097-.1327-.26502-.2842-.4118-.4635-.06899-.0842-.143-.1746-.22615-.272-1.24746 3.7911-3.91711 5.319-7.67574 5.3433v-31.7756609c2.1536 0 4.10809.4510359 5.68874 1.9870009 1.67006 1.62535 2.28363 3.65705 2.34864 5.90816.03226 1.153.02184 2.3078.01109 3.4996-.0055.6101-.01109 1.2299-.01109 1.8641l.49574-.4307c.41101-.3645.81094-.7395 1.20991-1.1137.78427-.7355 1.56497-1.4676 2.41867-2.10861 2.9785-2.24299 6.0585-2.03169 8.8216.47541.1132.1017.2251.2048.3408.3113.1706.1571.3499.3223.5532.5014z" }),
33
+ /* @__PURE__ */ c.jsx("path", { d: "m58.452 20.0522 9.2157-9.1182c-.1178-.106-.2275-.207-.3327-.3037-.2213-.2034-.4223-.3883-.6344-.5618-2.8118-2.47056-5.8228-2.64935-8.7891-.40636-.8505.64596-1.6332 1.37386-2.4191 2.10476-.4006.3725-.802.7458-1.2135 1.1094-.1111.098-.2169.1959-.366.334l-.1176.1089c0-.6986.0103-1.3819.0203-2.0547.0198-1.31502.0389-2.59014-.0203-3.86161-.1341-3.13693-1.8001-5.98537-5.0101-6.968708-.9518-.305809-1.9521-.4325605-2.9501-.3738318v31.7147498c3.5149.2276 5.9001-1.4059 7.6636-5.3068.119.1302.2339.2592.3471.3862.2966.3328.5817.6526.8963.9466 1.5238 1.41 3.1125 2.7265 5.0833 3.5027 2.9338 1.1621 5.7334.2153 7.8098-2.0886z" }),
34
+ /* @__PURE__ */ c.jsxs("g", { clipRule: "evenodd", fillRule: "evenodd", children: [
35
+ /* @__PURE__ */ c.jsx("path", { d: "m89.8294 31.7954c-1.7928.1113-3.5701-.3917-5.0386-1.4262-.1064-.105-.2468-.1684-.3958-.1788-.1491-.0105-.2969.0328-.4169.1219-1.4563.8292-3.0756 1.3317-4.7455 1.4727s-3.3505-.0829-4.9253-.6561c-1.5747-.5732-3.006-1.4821-4.1945-2.6636s-2.1058-2.6074-2.6883-4.1788c-.5825-1.5713-.8162-3.2506-.6851-4.9213.1312-1.6707.6242-3.2929 1.4448-4.7541s1.9491-2.7265 3.3075-3.708c1.3583-.98157 2.9138-1.65596 4.5588-1.97642 2.7487-.57272 5.6123-.08965 8.0211 1.35312.1.0714.2229.1034.3451.0899s.2351-.0715.3172-.1631c1.4913-1.15802 3.2507-1.45465 5.0955-1.49935zm-8.1268-11.5806c.0313-.4605-.0339-.9223-.1914-1.3561s-.4038-.8299-.7232-1.1631c-.3193-.3331-.7047-.5959-1.1315-.7716-.4267-.1756-.8855-.2602-1.3468-.2484-.9277.0174-1.8123.3952-2.4664 1.0534-.654.6582-1.0263 1.5451-1.0379 2.4729-.0116.9279.3383 1.8238.9757 2.4982.6374.6743 1.5122 1.0742 2.4392 1.1148 1.987.0244 3.4539-1.4872 3.4823-3.6001z" }),
36
+ /* @__PURE__ */ c.jsx("path", { d: "m43.4094 31.8604v-23.16135c-1.8976.07721-3.6449.38602-5.1443 1.56845-.086.0423-.1805.0643-.2763.0643s-.1903-.022-.2763-.0643c-1.5157-.90365-3.2228-1.43813-4.9832-1.56025-1.7604-.12211-3.5249.17156-5.1509.8573-2.1767.83615-4.0422 2.32375-5.3418 4.25965-1.2996 1.936-1.97 4.2259-1.9195 6.5571-.0171 1.6761.345 3.3343 1.0592 4.8507s1.7621 2.8516 3.0652 3.9059c1.9307 1.6549 4.3664 2.6048 6.9077 2.694 2.2063.1014 4.3968-.4181 6.3227-1.4994.0939-.0471.1976-.0717.3027-.0717s.2088.0246.3027.0717c.9187.6718 1.9794 1.1236 3.1004 1.3206.4644.0901.9327.1236 1.4036.1573.2089.015.4183.03.6281.05zm-11.5279-15.1849c1.9951-.0203 3.4458 1.4344 3.4458 3.4904.0244 2.0642-1.4385 3.6246-3.393 3.6449-.4685.0035-.9331-.0854-1.3672-.2615-.4342-.1761-.8295-.4359-1.1632-.7648-.3337-.3288-.5994-.7202-.7819-1.1517s-.2782-.8947-.2817-1.3632c-.0035-.4686.0854-.9332.2614-1.3673.1761-.4342.436-.8295.7648-1.1632.3289-.3337.7202-.5994 1.1518-.7819.4315-.1825.8947-.2782 1.3632-.2817z" })
37
+ ] })
38
+ ] })
39
+ }
40
+ );
41
+ }
42
+ export {
43
+ o as default
44
+ };
@@ -0,0 +1,28 @@
1
+ import React, { type ComponentType } from 'react';
2
+ type InitialFocusElement = HTMLElement | null;
3
+ type ModalProviderProperties<Data = any> = {
4
+ isVisible: boolean;
5
+ setInitialFocus?: (initialFocus?: InitialFocusElement) => void;
6
+ close?: (data?: Data) => void;
7
+ };
8
+ export declare function useModalContext<Data = any>(): ModalProviderProperties<Data>;
9
+ export type ModalProperties<Data = any> = {
10
+ readonly root?: HTMLElement | ShadowRoot;
11
+ readonly maxWidth?: number;
12
+ readonly className?: string;
13
+ readonly isVisible?: boolean;
14
+ readonly isFullWidth?: boolean;
15
+ readonly showCloseButton?: boolean;
16
+ readonly shouldCloseOnOutsideClick?: boolean;
17
+ readonly shouldCloseOnEscapePress?: boolean;
18
+ readonly onClose?: (data?: Data) => void;
19
+ readonly children?: React.ReactNode;
20
+ };
21
+ type ModalBaseProperties<ModalResult> = Omit<ModalProperties<ModalResult>, 'isVisible' | 'onClose'>;
22
+ export default function Modal<Data = any>({ root, maxWidth, className, isVisible, isFullWidth, shouldCloseOnOutsideClick, shouldCloseOnEscapePress, showCloseButton, onClose, children, }: ModalProperties<Data>): import("react/jsx-runtime").JSX.Element;
23
+ export declare function useModal<ModalResult, ModalProperties = ModalBaseProperties<ModalResult>>(ModalComponent: ComponentType<ModalProperties>, properties?: ModalProperties): {
24
+ isVisible: boolean;
25
+ show: () => Promise<ModalResult | undefined>;
26
+ modal: import("react/jsx-runtime").JSX.Element;
27
+ };
28
+ export {};
package/build/modal.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const j=require("./jsx-runtime-BB_1_6y_.js"),F=require("react"),le=require("@kuma-ui/core"),Ne=require("react-dom"),xe=require("./icon.js"),Pe=require("./theme.js"),je=require("./text-button.js");function ye(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var u=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:function(){return r[a]}})}),t}var J={exports:{}};/*!
2
+ * tabbable 6.4.0
3
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
+ */var me=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],te=me.join(","),ge=typeof Element>"u",z=ge?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,re=!ge&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r==null?void 0:r.ownerDocument},ae=function(e,t){var a;t===void 0&&(t=!0);var u=e==null||(a=e.getAttribute)===null||a===void 0?void 0:a.call(e,"inert"),l=u===""||u==="true",n=l||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):ae(e.parentNode));return n},Ce=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},Te=function(e,t,a){if(ae(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(te));return t&&z.call(e,te)&&u.unshift(e),u=u.filter(a),u},ne=function(e,t,a){for(var u=[],l=Array.from(e);l.length;){var n=l.shift();if(!ae(n,!1))if(n.tagName==="SLOT"){var p=n.assignedElements(),y=p.length?p:n.children,E=ne(y,!0,a);a.flatten?u.push.apply(u,E):u.push({scopeParent:n,candidates:E})}else{var O=z.call(n,te);O&&a.filter(n)&&(t||!e.includes(n))&&u.push(n);var D=n.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(n),x=!ae(D,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(n));if(D&&x){var A=ne(D===!0?n.children:D.children,!0,a);a.flatten?u.push.apply(u,A):u.push({scopeParent:n,candidates:A})}else l.unshift.apply(l,n.children)}}return u},we=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},V=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Ce(e))&&!we(e)?0:e.tabIndex},Ie=function(e,t){var a=V(e);return a<0&&t&&!we(e)?0:a},Ae=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Ee=function(e){return e.tagName==="INPUT"},_e=function(e){return Ee(e)&&e.type==="hidden"},Le=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},Me=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},Be=function(e){if(!e.name)return!0;var t=e.form||re(e),a=function(p){return t.querySelectorAll('input[type="radio"][name="'+p+'"]')},u;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")u=a(window.CSS.escape(e.name));else try{u=a(e.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var l=Me(u,e.form);return!l||l===e},Ke=function(e){return Ee(e)&&e.type==="radio"},qe=function(e){return Ke(e)&&!Be(e)},Ve=function(e){var t,a=e&&re(e),u=(t=a)===null||t===void 0?void 0:t.host,l=!1;if(a&&a!==e){var n,p,y;for(l=!!((n=u)!==null&&n!==void 0&&(p=n.ownerDocument)!==null&&p!==void 0&&p.contains(u)||e!=null&&(y=e.ownerDocument)!==null&&y!==void 0&&y.contains(e));!l&&u;){var E,O,D;a=re(u),u=(E=a)===null||E===void 0?void 0:E.host,l=!!((O=u)!==null&&O!==void 0&&(D=O.ownerDocument)!==null&&D!==void 0&&D.contains(u))}}return l},fe=function(e){var t=e.getBoundingClientRect(),a=t.width,u=t.height;return a===0&&u===0},$e=function(e,t){var a=t.displayCheck,u=t.getShadowRoot;if(a==="full-native"&&"checkVisibility"in e){var l=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!l}if(getComputedStyle(e).visibility==="hidden")return!0;var n=z.call(e,"details>summary:first-of-type"),p=n?e.parentElement:e;if(z.call(p,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="full-native"||a==="legacy-full"){if(typeof u=="function"){for(var y=e;e;){var E=e.parentElement,O=re(e);if(E&&!E.shadowRoot&&u(E)===!0)return fe(e);e.assignedSlot?e=e.assignedSlot:!E&&O!==e.ownerDocument?e=O.host:e=E}e=y}if(Ve(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return fe(e);return!1},Ge=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a<t.children.length;a++){var u=t.children.item(a);if(u.tagName==="LEGEND")return z.call(t,"fieldset[disabled] *")?!0:!u.contains(e)}return!0}t=t.parentElement}return!1},ie=function(e,t){return!(t.disabled||_e(t)||$e(t,e)||Le(t)||Ge(t))},se=function(e,t){return!(qe(t)||V(t)<0||!ie(e,t))},Ue=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ke=function(e){var t=[],a=[];return e.forEach(function(u,l){var n=!!u.scopeParent,p=n?u.scopeParent:u,y=Ie(p,n),E=n?ke(u.candidates):p;y===0?n?t.push.apply(t,E):t.push(p):a.push({documentOrder:l,tabIndex:y,item:u,isScope:n,content:E})}),a.sort(Ae).reduce(function(u,l){return l.isScope?u.push.apply(u,l.content):u.push(l.content),u},[]).concat(t)},Se=function(e,t){t=t||{};var a;return t.getShadowRoot?a=ne([e],t.includeContainer,{filter:se.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ue}):a=Te(e,t.includeContainer,se.bind(null,t)),ke(a)},Fe=function(e,t){t=t||{};var a;return t.getShadowRoot?a=ne([e],t.includeContainer,{filter:ie.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=Te(e,t.includeContainer,ie.bind(null,t)),a},W=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return z.call(e,te)===!1?!1:se(t,e)},We=me.concat("iframe:not([inert]):not([inert] *)").join(","),ee=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return z.call(e,We)===!1?!1:ie(t,e)};const ze=Object.freeze(Object.defineProperty({__proto__:null,focusable:Fe,getTabIndex:V,isFocusable:ee,isTabbable:W,tabbable:Se},Symbol.toStringTag,{value:"Module"}));/*!
5
+ * focus-trap 7.8.0
6
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
7
+ */function ce(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function Ye(r){if(Array.isArray(r))return ce(r)}function de(r,e){var t=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Oe(r))||e){t&&(r=t);var a=0,u=function(){};return{s:u,n:function(){return a>=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(y){throw y},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,n=!0,p=!1;return{s:function(){t=t.call(r)},n:function(){var y=t.next();return n=y.done,y},e:function(y){p=!0,l=y},f:function(){try{n||t.return==null||t.return()}finally{if(p)throw l}}}}function He(r,e,t){return(e=et(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ze(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Xe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ve(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),t.push.apply(t,a)}return t}function pe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ve(Object(t),!0).forEach(function(a){He(r,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ve(Object(t)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(t,a))})}return r}function Je(r){return Ye(r)||Ze(r)||Oe(r)||Xe()}function Qe(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var a=t.call(r,e);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function et(r){var e=Qe(r,"string");return typeof e=="symbol"?e:e+""}function Oe(r,e){if(r){if(typeof r=="string")return ce(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ce(r,e):void 0}}var B={getActiveTrap:function(e){return(e==null?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){var a=B.getActiveTrap(e);t!==a&&B.pauseTrap(e);var u=e.indexOf(t);u===-1||e.splice(u,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),B.unpauseTrap(e)},pauseTrap:function(e){var t=B.getActiveTrap(e);t==null||t._setPausedState(!0)},unpauseTrap:function(e){var t=B.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},tt=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},rt=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},X=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},at=function(e){return X(e)&&!e.shiftKey},nt=function(e){return X(e)&&e.shiftKey},be=function(e){return setTimeout(e,0)},Z=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,a):e},Q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},it=[],ot=function(e,t){var a=(t==null?void 0:t.document)||document,u=(t==null?void 0:t.trapStack)||it,l=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:at,isKeyBackward:nt},t),n={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,y=function(o,i,f){return o&&o[i]!==void 0?o[i]:l[f||i]},E=function(o,i){var f=typeof(i==null?void 0:i.composedPath)=="function"?i.composedPath():void 0;return n.containerGroups.findIndex(function(g){var h=g.container,T=g.tabbableNodes;return h.contains(o)||(f==null?void 0:f.includes(h))||T.find(function(v){return v===o})})},O=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=i.hasFallback,g=f===void 0?!1:f,h=i.params,T=h===void 0?[]:h,v=l[o];if(typeof v=="function"&&(v=v.apply(void 0,Je(T))),v===!0&&(v=void 0),!v){if(v===void 0||v===!1)return v;throw new Error("`".concat(o,"` was specified but was not a node, or did not return a node"))}var k=v;if(typeof v=="string"){try{k=a.querySelector(v)}catch(S){throw new Error("`".concat(o,'` appears to be an invalid selector; error="').concat(S.message,'"'))}if(!k&&!g)throw new Error("`".concat(o,"` as selector refers to no known node"))}return k},D=function(){var o=O("initialFocus",{hasFallback:!0});if(o===!1)return!1;if(o===void 0||o&&!ee(o,l.tabbableOptions))if(E(a.activeElement)>=0)o=a.activeElement;else{var i=n.tabbableGroups[0],f=i&&i.firstTabbableNode;o=f||O("fallbackFocus")}else o===null&&(o=O("fallbackFocus"));if(!o)throw new Error("Your focus-trap needs to have at least one focusable element");return o},x=function(){if(n.containerGroups=n.containers.map(function(o){var i=Se(o,l.tabbableOptions),f=Fe(o,l.tabbableOptions),g=i.length>0?i[0]:void 0,h=i.length>0?i[i.length-1]:void 0,T=f.find(function(S){return W(S)}),v=f.slice().reverse().find(function(S){return W(S)}),k=!!i.find(function(S){return V(S)>0});return{container:o,tabbableNodes:i,focusableNodes:f,posTabIndexesFound:k,firstTabbableNode:g,lastTabbableNode:h,firstDomTabbableNode:T,lastDomTabbableNode:v,nextTabbableNode:function(P){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,I=i.indexOf(P);return I<0?M?f.slice(f.indexOf(P)+1).find(function(U){return W(U)}):f.slice(0,f.indexOf(P)).reverse().find(function(U){return W(U)}):i[I+(M?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(o){return o.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!O("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(o){return o.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},A=function(o){var i=o.activeElement;if(i)return i.shadowRoot&&i.shadowRoot.activeElement!==null?A(i.shadowRoot):i},N=function(o){if(o!==!1&&o!==A(document)){if(!o||!o.focus){N(D());return}o.focus({preventScroll:!!l.preventScroll}),n.mostRecentlyFocusedNode=o,tt(o)&&o.select()}},_=function(o){var i=O("setReturnFocus",{params:[o]});return i||(i===!1?!1:o)},C=function(o){var i=o.target,f=o.event,g=o.isBackward,h=g===void 0?!1:g;i=i||Q(f),x();var T=null;if(n.tabbableGroups.length>0){var v=E(i,f),k=v>=0?n.containerGroups[v]:void 0;if(v<0)h?T=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:T=n.tabbableGroups[0].firstTabbableNode;else if(h){var S=n.tabbableGroups.findIndex(function(oe){var ue=oe.firstTabbableNode;return i===ue});if(S<0&&(k.container===i||ee(i,l.tabbableOptions)&&!W(i,l.tabbableOptions)&&!k.nextTabbableNode(i,!1))&&(S=v),S>=0){var P=S===0?n.tabbableGroups.length-1:S-1,M=n.tabbableGroups[P];T=V(i)>=0?M.lastTabbableNode:M.lastDomTabbableNode}else X(f)||(T=k.nextTabbableNode(i,!1))}else{var I=n.tabbableGroups.findIndex(function(oe){var ue=oe.lastTabbableNode;return i===ue});if(I<0&&(k.container===i||ee(i,l.tabbableOptions)&&!W(i,l.tabbableOptions)&&!k.nextTabbableNode(i))&&(I=v),I>=0){var U=I===n.tabbableGroups.length-1?0:I+1,q=n.tabbableGroups[U];T=V(i)>=0?q.firstTabbableNode:q.firstDomTabbableNode}else X(f)||(T=k.nextTabbableNode(i))}}else T=O("fallbackFocus");return T},L=function(o){var i=Q(o);if(!(E(i,o)>=0)){if(Z(l.clickOutsideDeactivates,o)){p.deactivate({returnFocus:l.returnFocusOnDeactivate});return}Z(l.allowOutsideClick,o)||o.preventDefault()}},$=function(o){var i=Q(o),f=E(i,o)>=0;if(f||i instanceof Document)f&&(n.mostRecentlyFocusedNode=i);else{o.stopImmediatePropagation();var g,h=!0;if(n.mostRecentlyFocusedNode)if(V(n.mostRecentlyFocusedNode)>0){var T=E(n.mostRecentlyFocusedNode),v=n.containerGroups[T].tabbableNodes;if(v.length>0){var k=v.findIndex(function(S){return S===n.mostRecentlyFocusedNode});k>=0&&(l.isKeyForward(n.recentNavEvent)?k+1<v.length&&(g=v[k+1],h=!1):k-1>=0&&(g=v[k-1],h=!1))}}else n.containerGroups.some(function(S){return S.tabbableNodes.some(function(P){return V(P)>0})})||(h=!1);else h=!1;h&&(g=C({target:n.mostRecentlyFocusedNode,isBackward:l.isKeyBackward(n.recentNavEvent)})),N(g||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},Y=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=o;var f=C({event:o,isBackward:i});f&&(X(o)&&o.preventDefault(),N(f))},G=function(o){(l.isKeyForward(o)||l.isKeyBackward(o))&&Y(o,l.isKeyBackward(o))},H=function(o){rt(o)&&Z(l.escapeDeactivates,o)!==!1&&(o.preventDefault(),p.deactivate())},K=function(o){var i=Q(o);E(i,o)>=0||Z(l.clickOutsideDeactivates,o)||Z(l.allowOutsideClick,o)||(o.preventDefault(),o.stopImmediatePropagation())},d=function(){if(n.active)return B.activateTrap(u,p),n.delayInitialFocusTimer=l.delayInitialFocus?be(function(){N(D())}):N(D()),a.addEventListener("focusin",$,!0),a.addEventListener("mousedown",L,{capture:!0,passive:!1}),a.addEventListener("touchstart",L,{capture:!0,passive:!1}),a.addEventListener("click",K,{capture:!0,passive:!1}),a.addEventListener("keydown",G,{capture:!0,passive:!1}),a.addEventListener("keydown",H),p},s=function(o){n.active&&!n.paused&&p._setSubtreeIsolation(!1),n.adjacentElements.clear(),n.alreadySilent.clear();var i=new Set,f=new Set,g=de(o),h;try{for(g.s();!(h=g.n()).done;){var T=h.value;i.add(T);for(var v=typeof ShadowRoot<"u"&&T.getRootNode()instanceof ShadowRoot,k=T;k;){i.add(k);var S=k.parentElement,P=[];S?P=S.children:!S&&v&&(P=k.getRootNode().children,S=k.getRootNode().host,v=typeof ShadowRoot<"u"&&S.getRootNode()instanceof ShadowRoot);var M=de(P),I;try{for(M.s();!(I=M.n()).done;){var U=I.value;f.add(U)}}catch(q){M.e(q)}finally{M.f()}k=S}}}catch(q){g.e(q)}finally{g.f()}i.forEach(function(q){f.delete(q)}),n.adjacentElements=f},m=function(){if(n.active)return a.removeEventListener("focusin",$,!0),a.removeEventListener("mousedown",L,!0),a.removeEventListener("touchstart",L,!0),a.removeEventListener("click",K,!0),a.removeEventListener("keydown",G,!0),a.removeEventListener("keydown",H),p},c=function(o){var i=o.some(function(f){var g=Array.from(f.removedNodes);return g.some(function(h){return h===n.mostRecentlyFocusedNode})});i&&N(D())},w=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(c):void 0,R=function(){w&&(w.disconnect(),n.active&&!n.paused&&n.containers.map(function(o){w.observe(o,{subtree:!0,childList:!0})}))};return p={get active(){return n.active},get paused(){return n.paused},activate:function(o){if(n.active)return this;var i=y(o,"onActivate"),f=y(o,"onPostActivate"),g=y(o,"checkCanFocusTrap"),h=B.getActiveTrap(u),T=!1;if(h&&!h.paused){var v;(v=h._setSubtreeIsolation)===null||v===void 0||v.call(h,!1),T=!0}try{g||x(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=A(a),i==null||i();var k=function(){g&&x(),d(),R(),l.isolateSubtrees&&p._setSubtreeIsolation(!0),f==null||f()};if(g)return g(n.containers.concat()).then(k,k),this;k()}catch(P){if(h===B.getActiveTrap(u)&&T){var S;(S=h._setSubtreeIsolation)===null||S===void 0||S.call(h,!0)}throw P}return this},deactivate:function(o){if(!n.active)return this;var i=pe({onDeactivate:l.onDeactivate,onPostDeactivate:l.onPostDeactivate,checkCanReturnFocus:l.checkCanReturnFocus},o);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,n.paused||p._setSubtreeIsolation(!1),n.alreadySilent.clear(),m(),n.active=!1,n.paused=!1,R(),B.deactivateTrap(u,p);var f=y(i,"onDeactivate"),g=y(i,"onPostDeactivate"),h=y(i,"checkCanReturnFocus"),T=y(i,"returnFocus","returnFocusOnDeactivate");f==null||f();var v=function(){be(function(){T&&N(_(n.nodeFocusedBeforeActivation)),g==null||g()})};return T&&h?(h(_(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(o){return n.active?(n.manuallyPaused=!0,this._setPausedState(!0,o)):this},unpause:function(o){return n.active?(n.manuallyPaused=!1,u[u.length-1]!==this?this:this._setPausedState(!1,o)):this},updateContainerElements:function(o){var i=[].concat(o).filter(Boolean);return n.containers=i.map(function(f){return typeof f=="string"?a.querySelector(f):f}),l.isolateSubtrees&&s(n.containers),n.active&&(x(),l.isolateSubtrees&&!n.paused&&p._setSubtreeIsolation(!0)),R(),this}},Object.defineProperties(p,{_isManuallyPaused:{value:function(){return n.manuallyPaused}},_setPausedState:{value:function(o,i){if(n.paused===o)return this;if(n.paused=o,o){var f=y(i,"onPause"),g=y(i,"onPostPause");f==null||f(),m(),R(),p._setSubtreeIsolation(!1),g==null||g()}else{var h=y(i,"onUnpause"),T=y(i,"onPostUnpause");h==null||h(),p._setSubtreeIsolation(!0),x(),d(),R(),T==null||T()}return this}},_setSubtreeIsolation:{value:function(o){l.isolateSubtrees&&n.adjacentElements.forEach(function(i){var f;if(o)switch(l.isolateSubtrees){case"aria-hidden":(i.ariaHidden==="true"||((f=i.getAttribute("aria-hidden"))===null||f===void 0?void 0:f.toLowerCase())==="true")&&n.alreadySilent.add(i),i.setAttribute("aria-hidden","true");break;default:(i.inert||i.hasAttribute("inert"))&&n.alreadySilent.add(i),i.setAttribute("inert",!0);break}else if(!n.alreadySilent.has(i))switch(l.isolateSubtrees){case"aria-hidden":i.removeAttribute("aria-hidden");break;default:i.removeAttribute("inert");break}})}}}),p.updateContainerElements(e),p};const ut=Object.freeze(Object.defineProperty({__proto__:null,createFocusTrap:ot},Symbol.toStringTag,{value:"Module"})),st=ye(ut),ct=ye(ze);var he;function lt(){if(he)return J.exports;he=1;function r(d){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},r(d)}var e,t;function a(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}function u(d,s){for(var m=0;m<s.length;m++){var c=s[m];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(d,N(c.key),c)}}function l(d,s,m){return s&&u(d.prototype,s),Object.defineProperty(d,"prototype",{writable:!1}),d}function n(d,s,m){return s=O(s),p(d,E()?Reflect.construct(s,m||[],O(d).constructor):s.apply(d,m))}function p(d,s){if(s&&(r(s)=="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(d)}function y(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function E(){try{var d=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(E=function(){return!!d})()}function O(d){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},O(d)}function D(d,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),s&&x(d,s)}function x(d,s){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,c){return m.__proto__=c,m},x(d,s)}function A(d,s,m){return(s=N(s))in d?Object.defineProperty(d,s,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[s]=m,d}function N(d){var s=_(d,"string");return r(s)=="symbol"?s:s+""}function _(d,s){if(r(d)!="object"||!d)return d;var m=d[Symbol.toPrimitive];if(m!==void 0){var c=m.call(d,s);if(r(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(d)}var C=F,L=st,$=L.createFocusTrap,Y=ct,G=Y.isFocusable,H=parseInt((e=(t=/^(\d+)\./.exec(C.version))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:0,10),K=(function(d){function s(m){var c;a(this,s),c=n(this,s,[m]),A(c,"getNodeForOption",function(b){var o,i=(o=this.internalOptions[b])!==null&&o!==void 0?o:this.originalOptions[b];if(typeof i=="function"){for(var f=arguments.length,g=new Array(f>1?f-1:0),h=1;h<f;h++)g[h-1]=arguments[h];i=i.apply(void 0,g)}if(i===!0&&(i=void 0),!i){if(i===void 0||i===!1)return i;throw new Error("`".concat(b,"` was specified but was not a node, or did not return a node"))}var T=i;if(typeof i=="string"){var v;if(T=(v=this.getDocument())===null||v===void 0?void 0:v.querySelector(i),!T)throw new Error("`".concat(b,"` as selector refers to no known node"))}return T}),c.handleDeactivate=c.handleDeactivate.bind(c),c.handlePostDeactivate=c.handlePostDeactivate.bind(c),c.handleClickOutsideDeactivates=c.handleClickOutsideDeactivates.bind(c),c.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:c.handleDeactivate,onPostDeactivate:c.handlePostDeactivate,clickOutsideDeactivates:c.handleClickOutsideDeactivates},c.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var w=m.focusTrapOptions;for(var R in w)if(Object.prototype.hasOwnProperty.call(w,R)){if(R==="returnFocusOnDeactivate"||R==="onDeactivate"||R==="onPostDeactivate"||R==="checkCanReturnFocus"||R==="clickOutsideDeactivates"){c.originalOptions[R]=w[R];continue}c.internalOptions[R]=w[R]}return c.outsideClick=null,c.focusTrapElements=m.containerElements||[],c.updatePreviousElement(),c}return D(s,d),l(s,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||(typeof document<"u"?document:void 0)}},{key:"getReturnFocusNode",value:function(){var c=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return c||(c===!1?!1:this.previouslyFocusedElement)}},{key:"updatePreviousElement",value:function(){var c=this.getDocument();c&&(this.previouslyFocusedElement=c.activeElement)}},{key:"deactivateTrap",value:function(){!this.focusTrap||!this.focusTrap.active||this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(c){var w=typeof this.originalOptions.clickOutsideDeactivates=="function"?this.originalOptions.clickOutsideDeactivates.call(null,c):this.originalOptions.clickOutsideDeactivates;return w&&(this.outsideClick={target:c.target,allowDeactivation:w}),w}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var c=this,w=function(){var b=c.getReturnFocusNode(),o=!!(c.originalOptions.returnFocusOnDeactivate&&b!==null&&b!==void 0&&b.focus&&(!c.outsideClick||c.outsideClick.allowDeactivation&&!G(c.outsideClick.target,c.internalOptions.tabbableOptions))),i=c.internalOptions.preventScroll,f=i===void 0?!1:i;o&&b.focus({preventScroll:f}),c.originalOptions.onPostDeactivate&&c.originalOptions.onPostDeactivate.call(null),c.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(w,w):w()}},{key:"setupFocusTrap",value:function(){if(this.focusTrap)this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause());else{var c=this.focusTrapElements.some(Boolean);c&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(c){if(this.focusTrap){c.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var w=!c.active&&this.props.active,R=c.active&&!this.props.active,b=!c.paused&&this.props.paused,o=c.paused&&!this.props.paused;if(w&&(this.updatePreviousElement(),this.focusTrap.activate()),R){this.deactivateTrap();return}b&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else c.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var c=this,w=this.props.children?C.Children.only(this.props.children):void 0;if(w){if(w.type&&w.type===C.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");var R=function(i){var f=c.props.containerElements;w&&(H>=19?typeof w.props.ref=="function"?w.props.ref(i):w.props.ref&&(w.props.ref.current=i):typeof w.ref=="function"?w.ref(i):w.ref&&(w.ref.current=i)),c.focusTrapElements=f||[i]},b=C.cloneElement(w,{ref:R});return b}return null}}])})(C.Component);return K.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:$},J.exports=K,J.exports.FocusTrap=K,J.exports}var ft=lt();const Re=F.createContext({isVisible:!1}),{Provider:dt}=Re;function De(){return F.useContext(Re)}function vt(){const{close:r}=De(),e=F.useCallback(()=>{r==null||r()},[r]);return j.jsxRuntimeExports.jsxs(j.jsxRuntimeExports.Fragment,{children:[j.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2543813221"}),j.jsxRuntimeExports.jsx("div",{className:"kakadu-components-840864829",children:j.jsxRuntimeExports.jsx(je.default,{icon:xe.IconType.times,label:"Close",className:"kakadu-components-3855719072",onClick:e})})]})}function pt({root:r,maxWidth:e,className:t,isVisible:a,isFullWidth:u=!1,shouldCloseOnOutsideClick:l=!0,shouldCloseOnEscapePress:n=!0,showCloseButton:p=!0,onClose:y,children:E}){const O=F.useRef(null),D=F.useRef(null),[x,A]=F.useState(!1),[N,_]=F.useState(!1),C=F.useCallback(s=>{O.current=s,_(!1)},[]),L=F.useRef(null),$=F.useCallback(s=>{s&&(L.current=s)},[]),[Y,G]=F.useState(a??!1),H=F.useMemo(()=>({isVisible:Y,setInitialFocus:$,close:C}),[Y,$,C]);F.useEffect(()=>{a&&(A(!0),G(!0))},[a]),F.useEffect(()=>{if(a){const s=setTimeout(()=>{_(!0)},100);return()=>{clearTimeout(s)}}_(!1)},[a]),F.useEffect(()=>{if(x&&!N){const s=setTimeout(()=>{y==null||y(O.current??void 0),G(!1)},370);return()=>{clearTimeout(s)}}},[x,N,y]),F.useEffect(()=>{const s=D.current;if(a&&l&&s){const m=c=>{s===c.target&&_(!1)};return s.addEventListener("click",m),()=>{s.removeEventListener("click",m)}}},[a,l]),F.useEffect(()=>{if(!a||!n)return;const s=m=>{m.key==="Escape"&&_(!1)};return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}},[a,n]);const K=F.useMemo(()=>({initialFocus:()=>L.current??void 0,onActivate:()=>{var s;return(s=L.current)==null?void 0:s.focus()}}),[]),d=j.jsxRuntimeExports.jsx("div",{style:{"--max-width":e?`${e}px`:void 0},className:le.cx(r?Pe.default:void 0,"kakadu-components-2807459246",N&&"kakadu-components-1399012551",t),children:j.jsxRuntimeExports.jsx(ft.FocusTrap,{active:N,focusTrapOptions:K,children:j.jsxRuntimeExports.jsx("div",{ref:D,className:"kakadu-components-3521538255",children:j.jsxRuntimeExports.jsx("div",{className:le.cx("kakadu-components-1982320206",u&&"kakadu-components-3904045733",N&&"kakadu-components-3829535111"),children:j.jsxRuntimeExports.jsxs(dt,{value:H,children:[p?j.jsxRuntimeExports.jsx(vt,{}):null,j.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2617708556",children:E})]})})})})});return r?Ne.createPortal(d,r):d}function bt(r,e){const[t,a]=F.useState(!1),u=F.useRef(void 0),l=F.useCallback(async()=>(a(!0),new Promise(y=>{u.current=y})),[]),n=F.useCallback(y=>{var E;a(!1),(E=u.current)==null||E.call(u,y),u.current=void 0},[]),p=F.useMemo(()=>j.jsxRuntimeExports.jsx(r,{...e,isVisible:t,onClose:n}),[r,e,t,n]);return F.useMemo(()=>({isVisible:t,show:l,modal:p}),[t,l,p])}exports.default=pt;exports.useModal=bt;exports.useModalContext=De;