@stack-spot/portal-components 0.0.17 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/dist/components/BannerWarning.d.ts +6 -0
  2. package/dist/components/BannerWarning.d.ts.map +1 -1
  3. package/dist/components/BannerWarning.js +6 -0
  4. package/dist/components/BannerWarning.js.map +1 -1
  5. package/dist/components/Breadcrumb/index.d.ts +11 -2
  6. package/dist/components/Breadcrumb/index.d.ts.map +1 -1
  7. package/dist/components/Breadcrumb/index.js +7 -5
  8. package/dist/components/Breadcrumb/index.js.map +1 -1
  9. package/dist/components/ChatBot.d.ts +7 -0
  10. package/dist/components/ChatBot.d.ts.map +1 -1
  11. package/dist/components/ChatBot.js +13 -6
  12. package/dist/components/ChatBot.js.map +1 -1
  13. package/dist/components/ErrorFeedback.d.ts +23 -0
  14. package/dist/components/ErrorFeedback.d.ts.map +1 -0
  15. package/dist/components/ErrorFeedback.js +73 -0
  16. package/dist/components/ErrorFeedback.js.map +1 -0
  17. package/dist/components/SelectionList.d.ts +123 -0
  18. package/dist/components/SelectionList.d.ts.map +1 -0
  19. package/dist/components/SelectionList.js +149 -0
  20. package/dist/components/SelectionList.js.map +1 -0
  21. package/dist/components/{src/components/tour → Tour}/StepContainer.d.ts +16 -0
  22. package/dist/components/Tour/StepContainer.d.ts.map +1 -0
  23. package/dist/components/{tour → Tour}/StepContainer.js +4 -0
  24. package/dist/components/Tour/StepContainer.js.map +1 -0
  25. package/dist/components/Tour/StepNavigation.d.ts +29 -0
  26. package/dist/components/Tour/StepNavigation.d.ts.map +1 -0
  27. package/dist/components/{tour → Tour}/StepNavigation.js +4 -0
  28. package/dist/components/Tour/StepNavigation.js.map +1 -0
  29. package/dist/components/Tour/StepTitle.d.ts +17 -0
  30. package/dist/components/Tour/StepTitle.d.ts.map +1 -0
  31. package/dist/components/{tour → Tour}/StepTitle.js +4 -0
  32. package/dist/components/Tour/StepTitle.js.map +1 -0
  33. package/dist/components/{src/components/tour → Tour}/context.d.ts +11 -0
  34. package/dist/components/Tour/context.d.ts.map +1 -0
  35. package/dist/components/{src/components/tour → Tour}/context.js +11 -0
  36. package/dist/components/Tour/context.js.map +1 -0
  37. package/dist/components/{tour → Tour}/index.d.ts +1 -1
  38. package/dist/components/Tour/index.d.ts.map +1 -0
  39. package/dist/components/{src/components/tour → Tour}/index.js +1 -1
  40. package/dist/components/Tour/index.js.map +1 -0
  41. package/dist/components/Tour/utils.d.ts +50 -0
  42. package/dist/components/Tour/utils.d.ts.map +1 -0
  43. package/dist/components/Tour/utils.js +54 -0
  44. package/dist/components/Tour/utils.js.map +1 -0
  45. package/dist/context/anchor.d.ts +28 -0
  46. package/dist/context/anchor.d.ts.map +1 -0
  47. package/dist/context/anchor.js +23 -0
  48. package/dist/context/anchor.js.map +1 -0
  49. package/dist/hooks/keyboard.d.ts +33 -0
  50. package/dist/hooks/keyboard.d.ts.map +1 -0
  51. package/dist/hooks/keyboard.js +59 -0
  52. package/dist/hooks/keyboard.js.map +1 -0
  53. package/dist/hooks/service-now.d.ts +30 -1
  54. package/dist/hooks/service-now.d.ts.map +1 -1
  55. package/dist/hooks/service-now.js +54 -15
  56. package/dist/hooks/service-now.js.map +1 -1
  57. package/dist/hooks/text.d.ts +10 -0
  58. package/dist/hooks/text.d.ts.map +1 -0
  59. package/dist/hooks/text.js +24 -0
  60. package/dist/hooks/text.js.map +1 -0
  61. package/dist/hooks/title.d.ts +13 -0
  62. package/dist/hooks/title.d.ts.map +1 -1
  63. package/dist/hooks/title.js +13 -0
  64. package/dist/hooks/title.js.map +1 -1
  65. package/dist/index.d.ts +4 -3
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +4 -3
  68. package/dist/index.js.map +1 -1
  69. package/dist/svg/AI.d.ts +9 -0
  70. package/dist/svg/AI.d.ts.map +1 -0
  71. package/dist/svg/AI.js +12 -0
  72. package/dist/svg/AI.js.map +1 -0
  73. package/dist/svg/EDP.d.ts +9 -0
  74. package/dist/svg/EDP.d.ts.map +1 -0
  75. package/dist/svg/EDP.js +8 -0
  76. package/dist/svg/EDP.js.map +1 -0
  77. package/dist/{components/MiniLogo.d.ts → svg/Forbidden.d.ts} +2 -2
  78. package/dist/svg/Forbidden.d.ts.map +1 -0
  79. package/dist/svg/Forbidden.js +4 -0
  80. package/dist/svg/Forbidden.js.map +1 -0
  81. package/dist/svg/HUB.d.ts +9 -0
  82. package/dist/svg/HUB.d.ts.map +1 -0
  83. package/dist/svg/HUB.js +8 -0
  84. package/dist/svg/HUB.js.map +1 -0
  85. package/dist/svg/Logo.d.ts +5 -0
  86. package/dist/svg/Logo.d.ts.map +1 -0
  87. package/dist/svg/Logo.js +7 -0
  88. package/dist/svg/Logo.js.map +1 -0
  89. package/dist/{MiniLogo.d.ts → svg/MiniLogo.d.ts} +3 -0
  90. package/dist/svg/MiniLogo.d.ts.map +1 -0
  91. package/dist/{MiniLogo.js → svg/MiniLogo.js} +3 -0
  92. package/dist/svg/MiniLogo.js.map +1 -0
  93. package/dist/{components/src/components/MiniLogo.d.ts → svg/NotFound.d.ts} +2 -2
  94. package/dist/svg/NotFound.d.ts.map +1 -0
  95. package/dist/svg/NotFound.js +4 -0
  96. package/dist/svg/NotFound.js.map +1 -0
  97. package/dist/svg/ServerError.d.ts +6 -0
  98. package/dist/svg/ServerError.d.ts.map +1 -0
  99. package/dist/svg/ServerError.js +4 -0
  100. package/dist/svg/ServerError.js.map +1 -0
  101. package/dist/svg/Unauthenticated.d.ts +6 -0
  102. package/dist/svg/Unauthenticated.d.ts.map +1 -0
  103. package/dist/svg/Unauthenticated.js +4 -0
  104. package/dist/svg/Unauthenticated.js.map +1 -0
  105. package/dist/svg/index.d.ts +10 -0
  106. package/dist/svg/index.d.ts.map +1 -0
  107. package/dist/svg/index.js +10 -0
  108. package/dist/svg/index.js.map +1 -0
  109. package/dist/utils/accessibility.d.ts +73 -0
  110. package/dist/utils/accessibility.d.ts.map +1 -0
  111. package/dist/utils/accessibility.js +131 -0
  112. package/dist/utils/accessibility.js.map +1 -0
  113. package/dist/utils/cookie.d.ts +33 -0
  114. package/dist/utils/cookie.d.ts.map +1 -0
  115. package/dist/utils/cookie.js +62 -0
  116. package/dist/utils/cookie.js.map +1 -0
  117. package/package.json +24 -14
  118. package/readme.md +58 -13
  119. package/src/components/BannerWarning.tsx +6 -0
  120. package/src/components/Breadcrumb/index.tsx +20 -5
  121. package/src/components/ChatBot.tsx +15 -7
  122. package/src/components/ErrorFeedback.tsx +135 -0
  123. package/src/components/SelectionList.tsx +361 -0
  124. package/src/components/{tour → Tour}/StepContainer.tsx +16 -0
  125. package/src/components/{tour → Tour}/StepNavigation.tsx +26 -2
  126. package/src/components/{tour → Tour}/StepTitle.tsx +11 -1
  127. package/src/components/{tour → Tour}/context.tsx +11 -0
  128. package/src/components/{tour → Tour}/index.ts +1 -1
  129. package/src/components/Tour/utils.tsx +93 -0
  130. package/src/context/anchor.tsx +37 -0
  131. package/src/hooks/keyboard.tsx +80 -0
  132. package/src/hooks/service-now.tsx +60 -16
  133. package/src/hooks/text.tsx +30 -0
  134. package/src/hooks/title.tsx +13 -0
  135. package/src/index.ts +4 -3
  136. package/src/svg/AI.tsx +41 -0
  137. package/src/svg/EDP.tsx +39 -0
  138. package/src/svg/Forbidden.tsx +22 -0
  139. package/src/svg/HUB.tsx +39 -0
  140. package/src/svg/Logo.tsx +38 -0
  141. package/src/{components → svg}/MiniLogo.tsx +3 -0
  142. package/src/svg/NotFound.tsx +16 -0
  143. package/src/svg/ServerError.tsx +33 -0
  144. package/src/svg/Unauthenticated.tsx +16 -0
  145. package/src/svg/index.ts +9 -0
  146. package/src/utils/accessibility.ts +141 -0
  147. package/src/utils/cookie.ts +63 -0
  148. package/dist/BannerWarning.d.ts +0 -4
  149. package/dist/BannerWarning.d.ts.map +0 -1
  150. package/dist/BannerWarning.js +0 -6
  151. package/dist/BannerWarning.js.map +0 -1
  152. package/dist/Login.d.ts +0 -25
  153. package/dist/Login.d.ts.map +0 -1
  154. package/dist/Login.js +0 -104
  155. package/dist/Login.js.map +0 -1
  156. package/dist/MiniLogo.d.ts.map +0 -1
  157. package/dist/MiniLogo.js.map +0 -1
  158. package/dist/components/Login.d.ts +0 -26
  159. package/dist/components/Login.d.ts.map +0 -1
  160. package/dist/components/Login.js +0 -100
  161. package/dist/components/Login.js.map +0 -1
  162. package/dist/components/MiniLogo.d.ts.map +0 -1
  163. package/dist/components/MiniLogo.js +0 -4
  164. package/dist/components/MiniLogo.js.map +0 -1
  165. package/dist/components/src/components/BannerWarning.d.ts +0 -4
  166. package/dist/components/src/components/BannerWarning.d.ts.map +0 -1
  167. package/dist/components/src/components/BannerWarning.js +0 -6
  168. package/dist/components/src/components/BannerWarning.js.map +0 -1
  169. package/dist/components/src/components/Breadcrumb/index.d.ts +0 -42
  170. package/dist/components/src/components/Breadcrumb/index.d.ts.map +0 -1
  171. package/dist/components/src/components/Breadcrumb/index.js +0 -27
  172. package/dist/components/src/components/Breadcrumb/index.js.map +0 -1
  173. package/dist/components/src/components/Breadcrumb/styled.d.ts +0 -3
  174. package/dist/components/src/components/Breadcrumb/styled.d.ts.map +0 -1
  175. package/dist/components/src/components/Breadcrumb/styled.js +0 -36
  176. package/dist/components/src/components/Breadcrumb/styled.js.map +0 -1
  177. package/dist/components/src/components/ChatBot.d.ts +0 -2
  178. package/dist/components/src/components/ChatBot.d.ts.map +0 -1
  179. package/dist/components/src/components/ChatBot.js +0 -61
  180. package/dist/components/src/components/ChatBot.js.map +0 -1
  181. package/dist/components/src/components/Login.d.ts +0 -26
  182. package/dist/components/src/components/Login.d.ts.map +0 -1
  183. package/dist/components/src/components/Login.js +0 -100
  184. package/dist/components/src/components/Login.js.map +0 -1
  185. package/dist/components/src/components/MiniLogo.d.ts.map +0 -1
  186. package/dist/components/src/components/MiniLogo.js +0 -4
  187. package/dist/components/src/components/MiniLogo.js.map +0 -1
  188. package/dist/components/src/components/tour/StepContainer.d.ts.map +0 -1
  189. package/dist/components/src/components/tour/StepContainer.js +0 -48
  190. package/dist/components/src/components/tour/StepContainer.js.map +0 -1
  191. package/dist/components/src/components/tour/StepNavigation.d.ts +0 -13
  192. package/dist/components/src/components/tour/StepNavigation.d.ts.map +0 -1
  193. package/dist/components/src/components/tour/StepNavigation.js +0 -20
  194. package/dist/components/src/components/tour/StepNavigation.js.map +0 -1
  195. package/dist/components/src/components/tour/StepTitle.d.ts +0 -7
  196. package/dist/components/src/components/tour/StepTitle.d.ts.map +0 -1
  197. package/dist/components/src/components/tour/StepTitle.js +0 -5
  198. package/dist/components/src/components/tour/StepTitle.js.map +0 -1
  199. package/dist/components/src/components/tour/context.d.ts.map +0 -1
  200. package/dist/components/src/components/tour/context.js.map +0 -1
  201. package/dist/components/src/components/tour/index.d.ts +0 -4
  202. package/dist/components/src/components/tour/index.d.ts.map +0 -1
  203. package/dist/components/src/components/tour/index.js.map +0 -1
  204. package/dist/components/src/components/tour/utils.d.ts +0 -13
  205. package/dist/components/src/components/tour/utils.d.ts.map +0 -1
  206. package/dist/components/src/components/tour/utils.js +0 -43
  207. package/dist/components/src/components/tour/utils.js.map +0 -1
  208. package/dist/components/src/hooks/service-now.d.ts +0 -24
  209. package/dist/components/src/hooks/service-now.d.ts.map +0 -1
  210. package/dist/components/src/hooks/service-now.js +0 -161
  211. package/dist/components/src/hooks/service-now.js.map +0 -1
  212. package/dist/components/src/hooks/title.d.ts +0 -3
  213. package/dist/components/src/hooks/title.d.ts.map +0 -1
  214. package/dist/components/src/hooks/title.js +0 -13
  215. package/dist/components/src/hooks/title.js.map +0 -1
  216. package/dist/components/src/hooks/use-effect-once.d.ts +0 -12
  217. package/dist/components/src/hooks/use-effect-once.d.ts.map +0 -1
  218. package/dist/components/src/hooks/use-effect-once.js +0 -40
  219. package/dist/components/src/hooks/use-effect-once.js.map +0 -1
  220. package/dist/components/src/index.d.ts +0 -9
  221. package/dist/components/src/index.d.ts.map +0 -1
  222. package/dist/components/src/index.js +0 -9
  223. package/dist/components/src/index.js.map +0 -1
  224. package/dist/components/tour/StepContainer.d.ts +0 -13
  225. package/dist/components/tour/StepContainer.d.ts.map +0 -1
  226. package/dist/components/tour/StepContainer.js.map +0 -1
  227. package/dist/components/tour/StepNavigation.d.ts +0 -13
  228. package/dist/components/tour/StepNavigation.d.ts.map +0 -1
  229. package/dist/components/tour/StepNavigation.js.map +0 -1
  230. package/dist/components/tour/StepTitle.d.ts +0 -7
  231. package/dist/components/tour/StepTitle.d.ts.map +0 -1
  232. package/dist/components/tour/StepTitle.js.map +0 -1
  233. package/dist/components/tour/context.d.ts +0 -17
  234. package/dist/components/tour/context.d.ts.map +0 -1
  235. package/dist/components/tour/context.js +0 -48
  236. package/dist/components/tour/context.js.map +0 -1
  237. package/dist/components/tour/index.d.ts.map +0 -1
  238. package/dist/components/tour/index.js +0 -4
  239. package/dist/components/tour/index.js.map +0 -1
  240. package/dist/components/tour/utils.d.ts +0 -13
  241. package/dist/components/tour/utils.d.ts.map +0 -1
  242. package/dist/components/tour/utils.js +0 -43
  243. package/dist/components/tour/utils.js.map +0 -1
  244. package/dist/layout/src/components/tour/PortalSwitcherStep.d.ts +0 -2
  245. package/dist/layout/src/components/tour/PortalSwitcherStep.d.ts.map +0 -1
  246. package/dist/layout/src/components/tour/PortalSwitcherStep.js +0 -30
  247. package/dist/layout/src/components/tour/PortalSwitcherStep.js.map +0 -1
  248. package/src/components/Login.tsx +0 -157
  249. package/src/components/tour/utils.tsx +0 -65
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable max-len */
3
+ /**
4
+ * This is the Stackspot logo with both orange box and text. This is the original logo, doesn't include the name of any specific portal.
5
+ */
6
+ export const Logo = ({ style, ...props }) => (_jsx("div", { style: { display: 'flex', ...style }, ...props, children: _jsxs("svg", { width: "155", height: "32", viewBox: "0 0 155 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: "url(#clip0_151_102)", children: [_jsx("path", { d: "M18.0017 27.2751C17.8488 27.2751 17.7025 27.305 17.5695 27.3549C17.4564 27.3981 17.3367 27.4247 17.2137 27.4347C17.1904 27.4347 17.1671 27.4347 17.1472 27.4347C16.2727 27.4347 15.5113 26.9426 15.1256 26.2211L15.1189 26.2111C15.0657 26.1114 15.0325 26.005 15.0125 25.8952C14.9061 25.2867 14.3808 24.8279 13.7424 24.8279C13.5927 24.8279 13.4498 24.8545 13.3168 24.9044C13.1971 24.9476 13.074 24.9775 12.951 24.9875C12.9277 24.9875 12.9045 24.9875 12.8845 24.9875C11.9867 24.9875 11.222 24.4887 10.8463 23.7406C10.803 23.6508 10.7731 23.5544 10.7565 23.458C10.6534 22.8462 10.1247 22.3774 9.48301 22.3774C9.3367 22.3774 9.19373 22.404 9.06405 22.4505C8.95765 22.4871 8.85125 22.5137 8.7382 22.5203C8.70163 22.5203 8.66505 22.5237 8.63512 22.5237C7.68084 22.5237 6.85956 21.8354 6.51376 21.0074L6.46721 20.8778C6.41401 20.6916 6.32423 20.522 6.20121 20.3823C6.10478 20.2726 6.01501 20.1562 5.93521 20.0332C5.86206 19.9202 5.78226 19.7905 5.74236 19.704C5.60603 19.4048 5.4963 19.0789 5.4963 18.7764C5.4963 18.4106 5.58276 18.0648 5.73571 17.7589C5.74568 17.739 5.75898 17.7157 5.77228 17.6924C5.85873 17.5361 5.97178 17.3998 6.10146 17.2768C6.37079 17.0274 6.53371 16.665 6.51709 16.266C6.48716 15.5976 5.94186 15.0557 5.27353 15.0291C4.53205 14.9991 3.92357 15.591 3.92357 16.3258C3.92357 16.7015 4.08317 17.0407 4.3392 17.2768C4.48217 17.4098 4.61185 17.5627 4.70495 17.7356C4.72157 17.7689 4.7382 17.7988 4.7515 17.8221C4.8845 18.1114 4.96098 18.4339 4.96098 18.7764C4.96098 19.1188 4.9377 19.7273 4.4589 20.1762C4.1397 20.4754 3.88367 20.8611 3.92689 21.3433C3.97677 21.8986 4.38575 22.3574 4.92773 22.4871C5.19373 22.5503 5.43978 22.5237 5.66256 22.4405C5.77893 22.3973 5.89863 22.3707 6.02166 22.3641C6.04493 22.3641 6.06488 22.3641 6.08151 22.3641C6.94934 22.3641 7.71409 22.8262 8.10312 23.5345C8.153 23.6242 8.18292 23.7207 8.1929 23.8204C8.26605 24.4688 8.81468 24.9709 9.47968 24.9709C9.63596 24.9709 9.78226 24.9409 9.91858 24.8911C10.0283 24.8512 10.1414 24.8212 10.2577 24.8146C10.291 24.8146 10.3176 24.8113 10.3409 24.8113C11.1721 24.8113 11.9036 25.2602 12.3059 25.9285C12.3059 25.9318 12.3126 25.9385 12.3159 25.9451C12.3891 26.0715 12.4423 26.2111 12.4689 26.3541C12.5753 26.9626 13.104 27.4214 13.739 27.4214C13.8986 27.4214 14.0483 27.3915 14.1879 27.3383C14.3176 27.2884 14.4539 27.2651 14.5936 27.2618C14.6002 27.2618 14.6069 27.2618 14.6135 27.2618C15.4381 27.2618 16.1463 27.6874 16.5453 28.3358C16.5487 28.3424 16.552 28.3458 16.5553 28.3524C16.6418 28.4987 16.7016 28.6583 16.7349 28.8246C16.8546 29.4397 17.4032 29.8986 18.0582 29.8686C18.7266 29.8387 19.2685 29.2934 19.2985 28.6251C19.3284 27.8836 18.7365 27.2751 18.0017 27.2751ZM5.22365 12.7215C5.93853 12.7215 6.52041 12.1396 6.52041 11.4247C6.52041 10.7099 5.93853 10.128 5.22365 10.128C4.50877 10.128 3.92689 10.7099 3.92689 11.4247C3.92689 12.1396 4.50877 12.7215 5.22365 12.7215ZM5.22365 7.82374C5.93853 7.82374 6.52041 7.24186 6.52041 6.52698C6.52041 5.8121 5.93853 5.23022 5.22365 5.23022C4.50877 5.23022 3.92689 5.8121 3.92689 6.52698C3.92689 7.24186 4.50877 7.82374 5.22365 7.82374Z", fill: "#FF9800" }), _jsx("path", { d: "M22.4339 24.5153C22.1812 24.4887 21.9384 24.522 21.719 24.6018C21.6126 24.6417 21.5029 24.6749 21.3931 24.7015C21.2834 24.7281 21.1571 24.7514 21.064 24.7514C20.492 24.7514 19.9966 24.4255 19.7539 23.9467C19.7173 23.8769 19.6807 23.7539 19.6508 23.6508C19.6275 23.571 19.6076 23.4879 19.5943 23.4048C19.4646 22.64 18.8029 22.0581 18.0016 22.0581C17.7822 22.0581 17.5727 22.1047 17.3832 22.1811C17.3499 22.1944 17.32 22.2077 17.2867 22.221C17.1338 22.2743 16.9742 22.3042 16.8013 22.3042C16.1994 22.3042 15.6841 21.9417 15.4546 21.4264C15.3915 21.2834 15.3349 20.9642 15.3349 20.9642C15.2119 20.1961 14.5469 19.6076 13.7423 19.6076C13.5461 19.6076 13.3599 19.6442 13.187 19.7073C13.187 19.7073 12.7747 19.847 12.5486 19.847C11.9268 19.847 11.3948 19.458 11.182 18.9127C11.1288 18.7763 11.0723 18.4704 11.0723 18.4704C11.0024 18.1013 10.8063 17.7788 10.5303 17.5461C10.4538 17.4796 10.3773 17.4097 10.3108 17.3333C10.2344 17.2468 10.1446 17.1404 10.098 17.0606C9.97168 16.8445 9.90186 16.5951 9.90186 16.3291C9.90186 16.0166 9.99828 15.7273 10.1645 15.4879C10.2011 15.438 10.261 15.3682 10.3175 15.3083C10.384 15.2385 10.4538 15.1753 10.527 15.1155C10.8794 14.8196 11.1055 14.3773 11.1055 13.8786C11.1055 13.3798 10.8794 12.9376 10.527 12.6417C10.4472 12.5752 10.374 12.5087 10.3009 12.4322C10.2743 12.4023 10.2477 12.3757 10.2277 12.3524C10.0249 12.0997 9.90186 11.7772 9.90186 11.428C9.90186 11.1654 9.97168 10.916 10.0947 10.7032C10.1446 10.6134 10.2477 10.4937 10.3308 10.4039C10.3906 10.3374 10.4571 10.2742 10.527 10.2177C10.906 9.90185 11.1354 9.41307 11.1022 8.87441C11.049 8.05313 10.374 7.39811 9.55273 7.36486C8.6317 7.32828 7.87027 8.06643 7.87027 8.98082C7.87027 9.47624 8.09637 9.9218 8.44882 10.2177C8.51865 10.2776 8.58847 10.3407 8.65165 10.4072C8.72147 10.4804 8.80127 10.5735 8.8445 10.6433C8.98748 10.8694 9.07393 11.1421 9.07393 11.4314C9.07393 11.7805 8.9509 12.103 8.74475 12.3557C8.7248 12.379 8.70152 12.4056 8.67492 12.4355C8.6051 12.5087 8.52862 12.5785 8.44882 12.645C8.09637 12.9409 7.87027 13.3831 7.87027 13.8819C7.87027 14.3806 8.09637 14.8262 8.45215 15.1221C8.5253 15.182 8.5918 15.2452 8.6583 15.3117C8.70485 15.3615 8.7514 15.4147 8.78132 15.4546C8.9642 15.7007 9.07393 16.0033 9.07393 16.3324C9.07393 16.6383 8.98083 16.921 8.82122 17.157C8.78465 17.2136 8.71482 17.29 8.6583 17.3532C8.59512 17.423 8.5253 17.4862 8.45215 17.5461C8.07309 17.8619 7.84367 18.3474 7.87692 18.8894C7.93012 19.704 8.59512 20.359 9.40975 20.3989C9.65248 20.4122 9.88523 20.369 10.098 20.2826C10.2377 20.226 10.3807 20.1828 10.5303 20.1662C10.5901 20.1595 10.65 20.1529 10.6932 20.1529C11.2019 20.1529 11.6508 20.4122 11.9168 20.8079C11.9401 20.8445 11.9667 20.8944 11.9933 20.9509C12.0731 21.1205 12.1263 21.3033 12.1562 21.4895C12.2759 22.2609 12.9443 22.8528 13.7522 22.8528C13.9584 22.8528 14.1512 22.8129 14.3308 22.7431C14.4571 22.6932 14.5868 22.6566 14.7198 22.6367C14.8029 22.6234 14.8894 22.6167 14.9492 22.6167C15.4779 22.6167 15.9434 22.896 16.2028 23.3183C16.2393 23.3748 16.2759 23.4646 16.3092 23.5477C16.3624 23.6807 16.3956 23.8204 16.4189 23.9634C16.5486 24.7248 17.2103 25.3033 18.0116 25.3033C18.2144 25.3033 18.4106 25.2634 18.5901 25.1969C18.7398 25.1404 18.896 25.1005 19.0556 25.0772C19.1122 25.0673 19.1687 25.0639 19.2119 25.0639C19.8004 25.0639 20.3058 25.4097 20.5419 25.9085C20.5685 25.965 20.5951 26.0515 20.6184 26.1313C20.645 26.221 20.6616 26.3141 20.6783 26.4072C20.8046 27.172 21.4696 27.7572 22.2743 27.7572C23.2053 27.7572 23.9534 26.9692 23.8869 26.0249C23.8337 25.2468 23.2186 24.6151 22.4472 24.5319M9.4829 5.69237C10.374 5.69237 11.0989 4.96751 11.0989 4.07641C11.0989 3.1853 10.374 2.46045 9.4829 2.46045C8.5918 2.46045 7.86694 3.1853 7.86694 4.07641C7.86694 4.96751 8.5918 5.69237 9.4829 5.69237Z", fill: "#FF9800" }), _jsx("path", { d: "M0.964256 19.7506C1.49626 19.7506 1.92851 19.3117 1.92851 18.7731C1.92851 18.2344 1.49626 17.7955 0.964256 17.7955C0.432253 17.7955 0 18.2344 0 18.7731C0 19.3117 0.432253 19.7506 0.964256 19.7506ZM0.964256 14.8529C1.49626 14.8529 1.92851 14.414 1.92851 13.8753C1.92851 13.3367 1.49626 12.8978 0.964256 12.8978C0.432253 12.8978 0 13.3367 0 13.8753C0 14.414 0.432253 14.8529 0.964256 14.8529ZM0.964256 9.95511C1.49626 9.95511 1.92851 9.51621 1.92851 8.97756C1.92851 8.4389 1.49626 8 0.964256 8C0.432253 8 0 8.4389 0 8.97756C0 9.51621 0.432253 9.95511 0.964256 9.95511ZM13.7423 30.0449C13.7057 30.0449 13.4065 30.0648 13.2968 30.0648C12.0732 30.0648 11.0158 29.3899 10.4838 28.399C10.4439 28.3259 10.3541 28.1596 10.3541 28.1596C10.2012 27.8271 9.86866 27.5943 9.48296 27.5943C9.44971 27.5943 9.15378 27.6243 9.03408 27.6243C7.8537 27.6243 6.82627 26.9925 6.27764 26.0582C6.21114 25.9451 6.08811 25.6958 6.08811 25.6958C5.93184 25.3699 5.60599 25.1438 5.22361 25.1438C5.19701 25.1438 4.88778 25.1704 4.75811 25.1704C3.5212 25.1704 2.45387 24.4788 1.92851 23.4713C1.90191 23.4214 1.87864 23.3716 1.85869 23.3184C1.71904 22.9526 1.37323 22.6933 0.964256 22.6933C0.432253 22.6933 0 23.1322 0 23.6708C0 24.2095 0.432253 24.6484 0.964256 24.6484C1.00748 24.6484 1.31338 24.6251 1.41978 24.6251C2.54364 24.6251 3.53117 25.197 4.0931 26.0582C4.1862 26.2012 4.34248 26.5137 4.34248 26.5137C4.4921 26.8562 4.82793 27.0956 5.22361 27.0956C5.26018 27.0956 5.56276 27.079 5.67249 27.079C6.86949 27.079 7.9069 27.724 8.44888 28.6783C8.50208 28.7714 8.6118 28.9776 8.6118 28.9776C8.76476 29.3134 9.09726 29.5461 9.48629 29.5461C9.51954 29.5461 9.81879 29.5262 9.93184 29.5262C11.0989 29.5262 12.1197 30.1413 12.6717 31.059C12.7448 31.1787 12.8778 31.4447 12.8778 31.4447C13.0341 31.7706 13.3599 32 13.7423 32C14.2743 32 14.7066 31.5611 14.7066 31.0224C14.7066 30.4838 14.2743 30.0449 13.7423 30.0449Z", fill: "#FF9800" }), _jsx("path", { d: "M13.7422 3.23192C14.6333 3.23192 15.3581 2.50707 15.3581 1.61596C15.3581 0.724855 14.6333 0 13.7422 0C12.8511 0 12.1262 0.724855 12.1262 1.61596C12.1262 2.50707 12.8511 3.23192 13.7422 3.23192Z", fill: "#FF6633" }), _jsx("path", { d: "M13.7422 8.13292C14.6333 8.13292 15.3581 7.40807 15.3581 6.51696C15.3581 5.62586 14.6333 4.901 13.7422 4.901C12.8511 4.901 12.1262 5.62586 12.1262 6.51696C12.1262 7.40807 12.8511 8.13292 13.7422 8.13292Z", fill: "#FF6633" }), _jsx("path", { d: "M13.7422 13.0307C14.6333 13.0307 15.3581 12.3059 15.3581 11.4148C15.3581 10.5237 14.6333 9.79883 13.7422 9.79883C12.8511 9.79883 12.1262 10.5237 12.1262 11.4148C12.1262 12.3059 12.8511 13.0307 13.7422 13.0307Z", fill: "#FF6633" }), _jsx("path", { d: "M13.7422 17.9286C14.6333 17.9286 15.3581 17.2037 15.3581 16.3126C15.3581 15.4215 14.6333 14.6967 13.7422 14.6967C12.8511 14.6967 12.1262 15.4215 12.1262 16.3126C12.1262 17.2037 12.8511 17.9286 13.7422 17.9286Z", fill: "#FF6633" }), _jsx("path", { d: "M18.0015 5.68248C18.8926 5.68248 19.6174 4.95763 19.6174 4.06652C19.6174 3.17542 18.8926 2.45056 18.0015 2.45056C17.1104 2.45056 16.3855 3.17542 16.3855 4.06652C16.3855 4.95763 17.1104 5.68248 18.0015 5.68248Z", fill: "#FF6633" }), _jsx("path", { d: "M18.0015 10.5802C18.8926 10.5802 19.6174 9.85533 19.6174 8.96423C19.6174 8.07312 18.8926 7.34827 18.0015 7.34827C17.1104 7.34827 16.3855 8.07312 16.3855 8.96423C16.3855 9.85533 17.1104 10.5802 18.0015 10.5802Z", fill: "#FF6633" }), _jsx("path", { d: "M18.0015 15.4813C18.8926 15.4813 19.6174 14.7565 19.6174 13.8654C19.6174 12.9742 18.8926 12.2494 18.0015 12.2494C17.1104 12.2494 16.3855 12.9742 16.3855 13.8654C16.3855 14.7565 17.1104 15.4813 18.0015 15.4813Z", fill: "#FF6633" }), _jsx("path", { d: "M18.0015 20.379C18.8926 20.379 19.6174 19.6542 19.6174 18.7631C19.6174 17.8719 18.8926 17.1471 18.0015 17.1471C17.1104 17.1471 16.3855 17.8719 16.3855 18.7631C16.3855 19.6542 17.1104 20.379 18.0015 20.379Z", fill: "#FF6633" }), _jsx("path", { d: "M22.2642 8.13292C23.1553 8.13292 23.8801 7.40807 23.8801 6.51696C23.8801 5.62586 23.1553 4.901 22.2642 4.901C21.373 4.901 20.6482 5.62586 20.6482 6.51696C20.6482 7.40807 21.373 8.13292 22.2642 8.13292Z", fill: "#FF6633" }), _jsx("path", { d: "M22.2642 13.0307C23.1553 13.0307 23.8801 12.3059 23.8801 11.4148C23.8801 10.5237 23.1553 9.79883 22.2642 9.79883C21.373 9.79883 20.6482 10.5237 20.6482 11.4148C20.6482 12.3059 21.373 13.0307 22.2642 13.0307Z", fill: "#FF6633" }), _jsx("path", { d: "M22.2642 17.9286C23.1553 17.9286 23.8801 17.2037 23.8801 16.3126C23.8801 15.4215 23.1553 14.6967 22.2642 14.6967C21.373 14.6967 20.6482 15.4215 20.6482 16.3126C20.6482 17.2037 21.373 17.9286 22.2642 17.9286Z", fill: "#FF6633" }), _jsx("path", { d: "M22.2642 22.8296C23.1553 22.8296 23.8801 22.1047 23.8801 21.2136C23.8801 20.3225 23.1553 19.5977 22.2642 19.5977C21.373 19.5977 20.6482 20.3225 20.6482 21.2136C20.6482 22.1047 21.373 22.8296 22.2642 22.8296Z", fill: "#FF6633" }), _jsx("path", { d: "M26.5234 10.5802C27.4145 10.5802 28.1394 9.85533 28.1394 8.96423C28.1394 8.07312 27.4145 7.34827 26.5234 7.34827C25.6323 7.34827 24.9075 8.07312 24.9075 8.96423C24.9075 9.85533 25.6323 10.5802 26.5234 10.5802Z", fill: "#FF6633" }), _jsx("path", { d: "M26.5234 15.4813C27.4145 15.4813 28.1394 14.7565 28.1394 13.8654C28.1394 12.9742 27.4145 12.2494 26.5234 12.2494C25.6323 12.2494 24.9075 12.9742 24.9075 13.8654C24.9075 14.7565 25.6323 15.4813 26.5234 15.4813Z", fill: "#FF6633" }), _jsx("path", { d: "M26.5234 20.379C27.4145 20.379 28.1394 19.6542 28.1394 18.7631C28.1394 17.8719 27.4145 17.1471 26.5234 17.1471C25.6323 17.1471 24.9075 17.8719 24.9075 18.7631C24.9075 19.6542 25.6323 20.379 26.5234 20.379Z", fill: "#FF6633" }), _jsx("path", { d: "M26.5234 25.2767C27.4145 25.2767 28.1394 24.5519 28.1394 23.6608C28.1394 22.7697 27.4145 22.0448 26.5234 22.0448C25.6323 22.0448 24.9075 22.7697 24.9075 23.6608C24.9075 24.5519 25.6323 25.2767 26.5234 25.2767Z", fill: "#FF6633" }), _jsx("path", { className: "stackspot-text", d: "M109.217 14.9759H105.17C104.103 14.9759 103.232 14.1081 103.232 13.0374C103.232 11.9668 104.1 11.0989 105.17 11.0989H109.666C110.268 11.0989 110.76 10.6068 110.76 10.005C110.76 9.40318 110.268 8.91108 109.666 8.91108H105.17C102.896 8.91108 101.044 10.7631 101.044 13.0374C101.044 15.3117 102.896 17.1638 105.17 17.1638H109.217C110.544 17.1638 111.624 18.2444 111.624 19.5711C111.624 20.8978 110.544 21.9784 109.217 21.9784H102.138C101.536 21.9784 101.044 22.4672 101.044 23.0723C101.044 23.6775 101.533 24.1663 102.138 24.1663H109.217C111.751 24.1663 113.812 22.1048 113.812 19.5744C113.812 17.0441 111.751 14.9792 109.217 14.9792V14.9759ZM80.8246 11.3483H84.6251C85.2269 11.3483 85.719 10.8562 85.719 10.2544C85.719 9.65256 85.2302 9.16045 84.6251 9.16045H80.8246C76.6882 9.16045 73.3233 12.5254 73.3233 16.6617C73.3233 20.798 76.6882 24.1629 80.8246 24.1629H84.6251C85.2269 24.1629 85.719 23.6708 85.719 23.069C85.719 22.4672 85.2302 21.9751 84.6251 21.9751H80.8246C77.8952 21.9751 75.5112 19.591 75.5112 16.6617C75.5112 13.7324 77.8952 11.3483 80.8246 11.3483ZM93.862 16.4722L99.6209 10.7132C100.047 10.2876 100.047 9.5927 99.6209 9.1671C99.4081 8.9543 99.1288 8.8479 98.8462 8.8479C98.5636 8.8479 98.2876 8.9543 98.0715 9.1671L91.5411 15.6974C91.1155 16.123 91.1155 16.818 91.5411 17.2436L98.1346 23.8371C98.5469 24.2494 99.2685 24.2494 99.6808 23.8371C100.106 23.4115 100.106 22.7166 99.6808 22.291L93.8587 16.4688L93.862 16.4722ZM144.432 11.0624H148.043V23.0657C148.043 23.6675 148.535 24.1596 149.137 24.1596C149.739 24.1596 150.231 23.6675 150.231 23.0657V11.0624H153.842C154.444 11.0624 154.936 10.5703 154.936 9.96843C154.936 9.3666 154.444 8.8745 153.842 8.8745H144.432C143.83 8.8745 143.338 9.3666 143.338 9.96843C143.338 10.5703 143.827 11.0624 144.432 11.0624ZM44.7481 14.9726H40.7015C39.6342 14.9726 38.7631 14.1048 38.7631 13.0341C38.7631 11.9634 39.6309 11.0956 40.7015 11.0956H45.2003C45.8021 11.0956 46.2942 10.6035 46.2942 10.0017C46.2942 9.39985 45.8021 8.90775 45.2003 8.90775H40.7015C38.4272 8.90775 36.5752 10.7598 36.5752 13.0341C36.5752 15.3084 38.4272 17.1605 40.7015 17.1605H44.7481C46.0748 17.1605 47.1554 18.2411 47.1554 19.5678C47.1554 20.8945 46.0748 21.9751 44.7481 21.9751H37.6691C37.0673 21.9751 36.5752 22.4639 36.5752 23.069C36.5752 23.6742 37.0673 24.1629 37.6691 24.1629H44.7481C47.2818 24.1629 49.3433 22.1014 49.3433 19.5711C49.3433 17.0408 47.2818 14.9759 44.7481 14.9759V14.9726ZM61.6326 9.96843C61.6326 9.3666 61.1405 8.8745 60.5386 8.8745H48.9742C48.3724 8.8745 47.8803 9.3666 47.8803 9.96843C47.8803 10.5703 48.369 11.0624 48.9742 11.0624H51.9933V23.0657C51.9933 23.6675 52.4854 24.1596 53.0872 24.1596C53.6891 24.1596 54.1812 23.6675 54.1812 23.0657V11.0624H60.5386C61.1405 11.0624 61.6326 10.5703 61.6326 9.96843ZM69.9518 9.04075L69.9085 9.05738L69.8653 9.08065C69.7323 9.14383 69.6326 9.21033 69.5494 9.29345L56.5486 22.2943C56.123 22.7199 56.123 23.4148 56.5486 23.8404C56.9609 24.2527 57.6824 24.2527 58.0947 23.8404L69.2435 12.6916L69.2535 22.8828C69.2535 23.4846 69.7456 23.9734 70.3474 23.9734C70.9526 23.9734 71.4414 23.4813 71.4414 22.8795L71.4281 10.0582C71.4281 9.33003 70.7132 8.75147 69.9518 9.04075ZM88.6583 8.96428C88.0565 8.96428 87.5644 9.45305 87.5644 10.0582L87.5511 22.8795C87.5511 23.4813 88.0399 23.9734 88.6417 23.9734C89.2469 23.9734 89.7356 23.4846 89.7356 22.8828L89.7489 10.0615C89.7489 9.76893 89.6359 9.49628 89.4297 9.2868C89.2236 9.08065 88.9476 8.9676 88.6583 8.96428ZM136.289 8.86785C132.073 8.86785 128.642 12.2993 128.642 16.5121C128.642 20.7249 132.073 24.1563 136.289 24.1563C140.505 24.1563 143.933 20.7282 143.933 16.5121C143.933 12.2959 140.505 8.86785 136.289 8.86785ZM136.289 21.9718C133.28 21.9718 130.83 19.5245 130.83 16.5121C130.83 13.4996 133.28 11.0524 136.289 11.0524C139.298 11.0524 141.749 13.4996 141.749 16.5121C141.749 19.5245 139.302 21.9718 136.289 21.9718ZM121.31 8.90443H116.339C115.737 8.90443 115.245 9.39653 115.245 9.99836V23.0624C115.245 23.6642 115.737 24.1563 116.339 24.1563C116.941 24.1563 117.433 23.6642 117.433 23.0624V20.6817H121.343C124.555 20.6817 127.199 18.0416 127.199 14.7964C127.199 11.5511 124.559 8.90775 121.31 8.90775V8.90443ZM121.333 18.4938H117.433V11.0923H121.31C123.352 11.0923 125.011 12.7515 125.011 14.793C125.011 16.8346 123.362 18.4805 121.333 18.4938Z", fill: "#FAFAFB" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_151_102", children: _jsx("rect", { width: "154.936", height: "32", fill: "white" }) }) })] }) }));
7
+ //# sourceMappingURL=Logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/svg/Logo.tsx"],"names":[],"mappings":";AAAA,4BAA4B;AAE5B;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAwC,EAAE,EAAE,CAAC,CACjF,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,KAAM,KAAK,YAClD,eAAK,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,YAAY,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,aAC9F,aAAG,QAAQ,EAAC,qBAAqB,aAC/B,eAAM,CAAC,EAAC,+/FAA+/F,EAAC,IAAI,EAAC,SAAS,GAAG,EACzhG,eAAM,CAAC,EAAC,yqHAAyqH,EAAC,IAAI,EAAC,SAAS,GAAG,EACnsH,eAAM,CAAC,EAAC,61DAA61D,EAAC,IAAI,EAAC,SAAS,GAAG,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AG,GACxC,GACN,IACH,GACF,CACP,CAAA"}
@@ -1,4 +1,7 @@
1
1
  /// <reference types="react" />
2
+ /**
3
+ * This is the Stackspot logo without the text part, i.e. only the orange box.
4
+ */
2
5
  export declare const MiniLogo: ({ className, style }: {
3
6
  className?: string | undefined;
4
7
  style?: import("react").CSSProperties | undefined;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiniLogo.d.ts","sourceRoot":"","sources":["../../src/svg/MiniLogo.tsx"],"names":[],"mappings":";AAEA;;GAEG;AACH,eAAO,MAAM,QAAQ;;;6CA6BpB,CAAA"}
@@ -1,4 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /* eslint-disable max-len */
3
+ /**
4
+ * This is the Stackspot logo without the text part, i.e. only the orange box.
5
+ */
3
6
  export const MiniLogo = ({ className, style }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "36px", height: "41", viewBox: "0 0 36 41", fill: "none", role: "img", className: className, style: style, children: [_jsxs("g", { clipPath: "url(#clip0_5004_106963-1)", children: [_jsx("path", { d: "M22.9149 34.1381C22.7235 34.1381 22.5404 34.1756 22.3739 34.238C22.2324 34.2921 22.0826 34.3254 21.9286 34.3379C21.8995 34.3379 21.8704 34.3379 21.8454 34.3379C20.7509 34.3379 19.7979 33.7219 19.3151 32.8189L19.3068 32.8064C19.2402 32.6815 19.1986 32.5483 19.1736 32.411C19.0405 31.6494 18.3829 31.0751 17.5839 31.0751C17.3966 31.0751 17.2177 31.1084 17.0512 31.1708C16.9014 31.2249 16.7474 31.2624 16.5934 31.2749C16.5643 31.2749 16.5351 31.2749 16.5102 31.2749C15.3865 31.2749 14.4294 30.6506 13.9591 29.7143C13.905 29.6019 13.8675 29.4812 13.8467 29.3605C13.7177 28.5948 13.056 28.008 12.2528 28.008C12.0697 28.008 11.8907 28.0413 11.7284 28.0995C11.5953 28.1453 11.4621 28.1786 11.3206 28.1869C11.2748 28.1869 11.229 28.1911 11.1916 28.1911C9.9972 28.1911 8.96927 27.3296 8.53646 26.2934L8.4782 26.1311C8.41161 25.898 8.29925 25.6858 8.14527 25.511C8.02458 25.3737 7.91222 25.228 7.81234 25.074C7.72078 24.9325 7.6209 24.7702 7.57096 24.662C7.40033 24.2875 7.263 23.8796 7.263 23.5009C7.263 23.0432 7.3712 22.6103 7.56264 22.2275C7.57512 22.2025 7.59177 22.1734 7.60842 22.1442C7.71662 21.9486 7.85811 21.778 8.02042 21.624C8.35751 21.3119 8.56143 20.8583 8.54062 20.3589C8.50317 19.5224 7.82066 18.8441 6.98417 18.8108C6.05612 18.7733 5.29454 19.5141 5.29454 20.4338C5.29454 20.9041 5.4943 21.3286 5.81475 21.624C5.9937 21.7905 6.156 21.9819 6.27253 22.1983C6.29334 22.24 6.31414 22.2774 6.33079 22.3065C6.49726 22.6686 6.59297 23.0723 6.59297 23.5009C6.59297 23.9296 6.56384 24.6912 5.96457 25.253C5.56505 25.6275 5.2446 26.1103 5.2987 26.7137C5.36113 27.4087 5.87301 27.983 6.55136 28.1453C6.88429 28.2244 7.19225 28.1911 7.47108 28.0871C7.61674 28.033 7.76656 27.9997 7.92054 27.9913C7.94967 27.9913 7.97464 27.9913 7.99545 27.9913C9.08164 27.9913 10.0388 28.5698 10.5257 29.4562C10.5882 29.5686 10.6256 29.6893 10.6381 29.8141C10.7296 30.6257 11.4163 31.2541 12.2487 31.2541C12.4442 31.2541 12.6274 31.2166 12.798 31.1542C12.9353 31.1043 13.0768 31.0668 13.2225 31.0585C13.2641 31.0585 13.2974 31.0543 13.3265 31.0543C14.3669 31.0543 15.2825 31.6161 15.786 32.4526C15.786 32.4568 15.7944 32.4651 15.7985 32.4734C15.8901 32.6316 15.9567 32.8064 15.99 32.9853C16.1231 33.7469 16.7848 34.3212 17.5797 34.3212C17.7795 34.3212 17.9668 34.2838 18.1415 34.2172C18.3038 34.1547 18.4745 34.1256 18.6493 34.1214C18.6576 34.1214 18.6659 34.1214 18.6742 34.1214C19.7063 34.1214 20.5927 34.6541 21.0921 35.4657C21.0963 35.474 21.1005 35.4781 21.1046 35.4865C21.2128 35.6696 21.2877 35.8693 21.3294 36.0774C21.4792 36.8473 22.1659 37.4216 22.9857 37.3842C23.8222 37.3467 24.5005 36.6642 24.538 35.8277C24.5754 34.8997 23.8347 34.1381 22.9149 34.1381ZM6.92174 15.9226C7.8165 15.9226 8.54479 15.1943 8.54479 14.2995C8.54479 13.4048 7.8165 12.6765 6.92174 12.6765C6.02699 12.6765 5.2987 13.4048 5.2987 14.2995C5.2987 15.1943 6.02699 15.9226 6.92174 15.9226ZM6.92174 9.79247C7.8165 9.79247 8.54479 9.06418 8.54479 8.16943C8.54479 7.27467 7.8165 6.54639 6.92174 6.54639C6.02699 6.54639 5.2987 7.27467 5.2987 8.16943C5.2987 9.06418 6.02699 9.79247 6.92174 9.79247Z", fill: "#FF9800" }), _jsx("path", { d: "M28.4624 30.6838C28.1461 30.6505 27.8423 30.6921 27.5676 30.792C27.4345 30.8419 27.2971 30.8835 27.1598 30.9168C27.0225 30.9501 26.8643 30.9793 26.7478 30.9793C26.032 30.9793 25.4119 30.5714 25.1081 29.9721C25.0623 29.8848 25.0166 29.7308 24.9791 29.6018C24.95 29.5019 24.925 29.3978 24.9084 29.2938C24.746 28.3366 23.9179 27.6083 22.9149 27.6083C22.6403 27.6083 22.3781 27.6666 22.1409 27.7623C22.0992 27.779 22.0618 27.7956 22.0202 27.8123C21.8287 27.8788 21.629 27.9163 21.4126 27.9163C20.6593 27.9163 20.0143 27.4627 19.7271 26.8176C19.648 26.6387 19.5773 26.2391 19.5773 26.2391C19.4233 25.2778 18.591 24.5412 17.5839 24.5412C17.3383 24.5412 17.1053 24.587 16.8889 24.666C16.8889 24.666 16.3728 24.8408 16.0898 24.8408C15.3116 24.8408 14.6457 24.3539 14.3794 23.6714C14.3128 23.5008 14.2421 23.1179 14.2421 23.1179C14.1547 22.656 13.9091 22.2523 13.5637 21.961C13.468 21.8777 13.3723 21.7904 13.289 21.6946C13.1933 21.5864 13.081 21.4533 13.0227 21.3534C12.8645 21.0829 12.7772 20.7707 12.7772 20.4378C12.7772 20.0466 12.8978 19.6846 13.1059 19.3849C13.1517 19.3225 13.2266 19.2351 13.2974 19.1602C13.3806 19.0728 13.468 18.9937 13.5595 18.9188C14.0007 18.5484 14.2837 17.9949 14.2837 17.3707C14.2837 16.7464 14.0007 16.1929 13.5595 15.8226C13.4597 15.7393 13.3681 15.6561 13.2765 15.5604C13.2433 15.5229 13.21 15.4896 13.185 15.4605C12.9311 15.1442 12.7772 14.7405 12.7772 14.3035C12.7772 13.9748 12.8645 13.6627 13.0185 13.3963C13.081 13.2839 13.21 13.1341 13.314 13.0218C13.3889 12.9385 13.4721 12.8595 13.5595 12.7887C14.034 12.3934 14.3211 11.7816 14.2795 11.1074C14.2129 10.0795 13.3681 9.25963 12.3402 9.21802C11.1874 9.17224 10.2344 10.0961 10.2344 11.2406C10.2344 11.8607 10.5174 12.4183 10.9585 12.7887C11.0459 12.8636 11.1333 12.9427 11.2124 13.0259C11.2998 13.1175 11.3996 13.234 11.4537 13.3214C11.6327 13.6044 11.7409 13.9456 11.7409 14.3077C11.7409 14.7447 11.5869 15.1484 11.3289 15.4646C11.3039 15.4938 11.2748 15.5271 11.2415 15.5645C11.1541 15.6561 11.0584 15.7435 10.9585 15.8267C10.5174 16.1971 10.2344 16.7506 10.2344 17.3748C10.2344 17.9991 10.5174 18.5568 10.9627 18.9271C11.0542 19.002 11.1375 19.0811 11.2207 19.1644C11.279 19.2268 11.3372 19.2934 11.3747 19.3433C11.6036 19.6513 11.7409 20.03 11.7409 20.442C11.7409 20.8248 11.6244 21.1786 11.4246 21.4741C11.3788 21.5448 11.2914 21.6405 11.2207 21.7196C11.1416 21.807 11.0542 21.8861 10.9627 21.961C10.4882 22.3563 10.2011 22.9639 10.2427 23.6423C10.3093 24.6619 11.1416 25.4817 12.1612 25.5317C12.465 25.5483 12.7563 25.4942 13.0227 25.386C13.1975 25.3153 13.3764 25.2612 13.5637 25.2404C13.6386 25.232 13.7135 25.2237 13.7676 25.2237C14.4044 25.2237 14.9662 25.5483 15.2991 26.0436C15.3282 26.0893 15.3615 26.1518 15.3948 26.2225C15.4947 26.4347 15.5613 26.6636 15.5987 26.8967C15.7486 27.8622 16.5851 28.603 17.5963 28.603C17.8544 28.603 18.0957 28.553 18.3205 28.4656C18.4786 28.4032 18.6409 28.3574 18.8074 28.3325C18.9114 28.3158 19.0196 28.3075 19.0945 28.3075C19.7562 28.3075 20.3389 28.6571 20.6635 29.1856C20.7093 29.2563 20.755 29.3687 20.7966 29.4727C20.8632 29.6392 20.9048 29.814 20.934 29.993C21.0963 30.946 21.9245 31.6701 22.9274 31.6701C23.1813 31.6701 23.4268 31.6202 23.6515 31.5369C23.8388 31.4662 24.0344 31.4162 24.2342 31.3871C24.3049 31.3746 24.3757 31.3705 24.4298 31.3705C25.1664 31.3705 25.7989 31.8033 26.0944 32.4275C26.1277 32.4983 26.161 32.6065 26.1901 32.7063C26.2234 32.8187 26.2442 32.9352 26.265 33.0518C26.4232 34.0089 27.2555 34.7414 28.2626 34.7414C29.4279 34.7414 30.3643 33.7551 30.281 32.5732C30.2144 31.5993 29.4445 30.8086 28.479 30.7046M12.2528 7.12471C13.3681 7.12471 14.2753 6.21747 14.2753 5.10215C14.2753 3.98683 13.3681 3.07959 12.2528 3.07959C11.1375 3.07959 10.2302 3.98683 10.2302 5.10215C10.2302 6.21747 11.1375 7.12471 12.2528 7.12471Z", fill: "#FF9800" }), _jsx("path", { d: "M1.59067 24.72C2.25653 24.72 2.79754 24.1706 2.79754 23.4964C2.79754 22.8222 2.25653 22.2729 1.59067 22.2729C0.924803 22.2729 0.383789 22.8222 0.383789 23.4964C0.383789 24.1706 0.924803 24.72 1.59067 24.72ZM1.59067 18.5898C2.25653 18.5898 2.79754 18.0405 2.79754 17.3663C2.79754 16.6921 2.25653 16.1428 1.59067 16.1428C0.924803 16.1428 0.383789 16.6921 0.383789 17.3663C0.383789 18.0405 0.924803 18.5898 1.59067 18.5898ZM1.59067 12.4597C2.25653 12.4597 2.79754 11.9104 2.79754 11.2362C2.79754 10.562 2.25653 10.0127 1.59067 10.0127C0.924803 10.0127 0.383789 10.562 0.383789 11.2362C0.383789 11.9104 0.924803 12.4597 1.59067 12.4597ZM17.5839 37.6044C17.5381 37.6044 17.1635 37.6294 17.0262 37.6294C15.4947 37.6294 14.1713 36.7846 13.5055 35.5444C13.4555 35.4528 13.3432 35.2448 13.3432 35.2448C13.1517 34.8286 12.7356 34.5373 12.2528 34.5373C12.2112 34.5373 11.8408 34.5747 11.691 34.5747C10.2136 34.5747 8.92765 33.784 8.24098 32.6146C8.15774 32.4731 8.00376 32.161 8.00376 32.161C7.80817 31.7531 7.40032 31.4701 6.92174 31.4701C6.88844 31.4701 6.50141 31.5034 6.33911 31.5034C4.79097 31.5034 3.45508 30.6378 2.79754 29.3768C2.76425 29.3144 2.73512 29.252 2.71015 29.1854C2.53536 28.7276 2.10255 28.403 1.59067 28.403C0.924803 28.403 0.383789 28.9523 0.383789 29.6265C0.383789 30.3007 0.924803 30.8501 1.59067 30.8501C1.64477 30.8501 2.02764 30.8209 2.16081 30.8209C3.56745 30.8209 4.80346 31.5367 5.50678 32.6146C5.6233 32.7935 5.8189 33.1847 5.8189 33.1847C6.00617 33.6134 6.4265 33.913 6.92174 33.913C6.96751 33.913 7.34622 33.8922 7.48356 33.8922C8.98175 33.8922 10.2802 34.6996 10.9585 35.894C11.0251 36.0105 11.1625 36.2685 11.1625 36.2685C11.3539 36.6889 11.7701 36.9802 12.257 36.9802C12.2986 36.9802 12.6731 36.9552 12.8146 36.9552C14.2754 36.9552 15.553 37.7251 16.2438 38.8737C16.3354 39.0235 16.5018 39.3565 16.5018 39.3565C16.6974 39.7643 17.1053 40.0515 17.5839 40.0515C18.2497 40.0515 18.7908 39.5021 18.7908 38.8279C18.7908 38.1538 18.2497 37.6044 17.5839 37.6044Z", fill: "#FF9800" }), _jsx("path", { d: "M17.5838 4.04512C18.6992 4.04512 19.6064 3.13788 19.6064 2.02256C19.6064 0.907239 18.6992 0 17.5838 0C16.4685 0 15.5613 0.907239 15.5613 2.02256C15.5613 3.13788 16.4685 4.04512 17.5838 4.04512Z", fill: "#FF6633" }), _jsx("path", { d: "M17.5838 10.1794C18.6992 10.1794 19.6064 9.27216 19.6064 8.15684C19.6064 7.04152 18.6992 6.13428 17.5838 6.13428C16.4685 6.13428 15.5613 7.04152 15.5613 8.15684C15.5613 9.27216 16.4685 10.1794 17.5838 10.1794Z", fill: "#FF6633" }), _jsx("path", { d: "M17.5838 16.3093C18.6992 16.3093 19.6064 15.402 19.6064 14.2867C19.6064 13.1714 18.6992 12.2642 17.5838 12.2642C16.4685 12.2642 15.5613 13.1714 15.5613 14.2867C15.5613 15.402 16.4685 16.3093 17.5838 16.3093Z", fill: "#FF6633" }), _jsx("path", { d: "M17.5838 22.4397C18.6992 22.4397 19.6064 21.5324 19.6064 20.4171C19.6064 19.3018 18.6992 18.3945 17.5838 18.3945C16.4685 18.3945 15.5613 19.3018 15.5613 20.4171C15.5613 21.5324 16.4685 22.4397 17.5838 22.4397Z", fill: "#FF6633" }), _jsx("path", { d: "M22.9149 7.11202C24.0302 7.11202 24.9375 6.20478 24.9375 5.08945C24.9375 3.97413 24.0302 3.06689 22.9149 3.06689C21.7996 3.06689 20.8923 3.97413 20.8923 5.08945C20.8923 6.20478 21.7996 7.11202 22.9149 7.11202Z", fill: "#FF6633" }), _jsx("path", { d: "M22.9149 13.2424C24.0302 13.2424 24.9375 12.3351 24.9375 11.2198C24.9375 10.1045 24.0302 9.19727 22.9149 9.19727C21.7996 9.19727 20.8923 10.1045 20.8923 11.2198C20.8923 12.3351 21.7996 13.2424 22.9149 13.2424Z", fill: "#FF6633" }), _jsx("path", { d: "M22.9149 19.3767C24.0302 19.3767 24.9375 18.4694 24.9375 17.3541C24.9375 16.2388 24.0302 15.3315 22.9149 15.3315C21.7996 15.3315 20.8923 16.2388 20.8923 17.3541C20.8923 18.4694 21.7996 19.3767 22.9149 19.3767Z", fill: "#FF6633" }), _jsx("path", { d: "M22.9149 25.5065C24.0302 25.5065 24.9375 24.5993 24.9375 23.484C24.9375 22.3687 24.0302 21.4614 22.9149 21.4614C21.7996 21.4614 20.8923 22.3687 20.8923 23.484C20.8923 24.5993 21.7996 25.5065 22.9149 25.5065Z", fill: "#FF6633" }), _jsx("path", { d: "M28.2501 10.1794C29.3654 10.1794 30.2727 9.27216 30.2727 8.15684C30.2727 7.04152 29.3654 6.13428 28.2501 6.13428C27.1348 6.13428 26.2275 7.04152 26.2275 8.15684C26.2275 9.27216 27.1348 10.1794 28.2501 10.1794Z", fill: "#FF6633" }), _jsx("path", { d: "M28.2501 16.3093C29.3654 16.3093 30.2727 15.402 30.2727 14.2867C30.2727 13.1714 29.3654 12.2642 28.2501 12.2642C27.1348 12.2642 26.2275 13.1714 26.2275 14.2867C26.2275 15.402 27.1348 16.3093 28.2501 16.3093Z", fill: "#FF6633" }), _jsx("path", { d: "M28.2501 22.4397C29.3654 22.4397 30.2727 21.5324 30.2727 20.4171C30.2727 19.3018 29.3654 18.3945 28.2501 18.3945C27.1348 18.3945 26.2275 19.3018 26.2275 20.4171C26.2275 21.5324 27.1348 22.4397 28.2501 22.4397Z", fill: "#FF6633" }), _jsx("path", { d: "M28.2501 28.5739C29.3654 28.5739 30.2727 27.6667 30.2727 26.5514C30.2727 25.436 29.3654 24.5288 28.2501 24.5288C27.1348 24.5288 26.2275 25.436 26.2275 26.5514C26.2275 27.6667 27.1348 28.5739 28.2501 28.5739Z", fill: "#FF6633" }), _jsx("path", { d: "M33.5812 13.2424C34.6965 13.2424 35.6037 12.3351 35.6037 11.2198C35.6037 10.1045 34.6965 9.19727 33.5812 9.19727C32.4658 9.19727 31.5586 10.1045 31.5586 11.2198C31.5586 12.3351 32.4658 13.2424 33.5812 13.2424Z", fill: "#FF6633" }), _jsx("path", { d: "M33.5812 19.3767C34.6965 19.3767 35.6037 18.4694 35.6037 17.3541C35.6037 16.2388 34.6965 15.3315 33.5812 15.3315C32.4658 15.3315 31.5586 16.2388 31.5586 17.3541C31.5586 18.4694 32.4658 19.3767 33.5812 19.3767Z", fill: "#FF6633" }), _jsx("path", { d: "M33.5812 25.5065C34.6965 25.5065 35.6037 24.5993 35.6037 23.484C35.6037 22.3687 34.6965 21.4614 33.5812 21.4614C32.4658 21.4614 31.5586 22.3687 31.5586 23.484C31.5586 24.5993 32.4658 25.5065 33.5812 25.5065Z", fill: "#FF6633" }), _jsx("path", { d: "M33.5812 31.6369C34.6965 31.6369 35.6037 30.7297 35.6037 29.6144C35.6037 28.499 34.6965 27.5918 33.5812 27.5918C32.4658 27.5918 31.5586 28.499 31.5586 29.6144C31.5586 30.7297 32.4658 31.6369 33.5812 31.6369Z", fill: "#FF6633" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_5004_106963-1", children: _jsx("rect", { width: "193.92", height: "40.0517", fill: "white", transform: "translate(0.383789)" }) }) })] }));
4
7
  //# sourceMappingURL=MiniLogo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiniLogo.js","sourceRoot":"","sources":["../../src/svg/MiniLogo.tsx"],"names":[],"mappings":";AAAA,4BAA4B;AAE5B;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAuD,EAAE,EAAE,CAAC,CACrG,eAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,EAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,aAC5I,aAAG,QAAQ,EAAC,2BAA2B,aACrC,eAAM,CAAC,EAAC,++FAA++F,EAAC,IAAI,EAAC,SAAS,GAAQ,EAC9gG,eAAM,CAAC,EAAC,gsHAAgsH,EAAC,IAAI,EAAC,SAAS,GAAQ,EAC/tH,eAAM,CAAC,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,GACN,IACH,CACP,CAAA"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- export declare const MiniLogo: ({ className, style }: {
2
+ export declare const NotFound: ({ className, style }: {
3
3
  className?: string | undefined;
4
4
  style?: import("react").CSSProperties | undefined;
5
5
  }) => import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=MiniLogo.d.ts.map
6
+ //# sourceMappingURL=NotFound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotFound.d.ts","sourceRoot":"","sources":["../../src/svg/NotFound.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,QAAQ;;;6CAapB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable max-len */
3
+ export const NotFound = ({ className, style }) => (_jsxs("svg", { width: "136", height: "154", viewBox: "0 0 136 154", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: style, children: [_jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M54.3307 0.59375C53.716 0.59375 53.2178 1.092 53.2178 1.70662C53.2178 2.32123 53.716 2.81948 54.3307 2.81948C93.8 2.81948 125.796 34.8157 125.796 74.2851C125.796 93.0828 118.539 110.185 106.673 122.944L94.4411 110.712L94.4248 110.696C103.164 101.078 108.49 88.3032 108.49 74.2843C108.49 44.3719 84.2415 20.1231 54.3291 20.1231C24.4167 20.1231 0.167971 44.3719 0.167969 74.2843C0.167969 104.197 24.4167 128.445 54.3291 128.445C69.4218 128.445 83.0726 122.272 92.8942 112.313L105.132 124.55C92.1785 137.641 74.2017 145.751 54.3307 145.751C53.716 145.751 53.2178 146.249 53.2178 146.864C53.2178 147.478 53.716 147.976 54.3307 147.976C74.8163 147.976 93.3495 139.617 106.706 126.124L134.039 153.458C134.474 153.892 135.178 153.892 135.613 153.458C136.048 153.023 136.048 152.318 135.613 151.884L108.248 124.519C120.516 111.357 128.022 93.6974 128.022 74.2851C128.022 33.5865 95.0293 0.59375 54.3307 0.59375ZM106.265 74.2843C106.265 45.6011 83.0122 22.3489 54.3291 22.3489C25.646 22.3489 2.39371 45.6011 2.39371 74.2843C2.39371 102.967 25.646 126.22 54.3291 126.22C83.0122 126.22 106.265 102.967 106.265 74.2843Z", fill: "url(#paint0_linear_3383_224507)" }), _jsx("circle", { opacity: "0.16", cx: "54.4578", cy: "74.1883", r: "41.5984", fill: "#FAFAFB" }), _jsx("circle", { opacity: "0.16", cx: "54.0295", cy: "74.6155", r: "30.8772", fill: "#FAFAFB" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M51.915 76.8282C51.9232 78.034 52.9074 79.0048 54.1131 78.9966C55.3189 78.9884 56.2897 78.0043 56.2815 76.7985L56.1278 64.0513C56.1196 62.8455 55.1355 61.8747 53.9297 61.8829C52.7239 61.8911 51.7531 62.8752 51.7613 64.081L51.915 76.8282ZM52.218 85.6913C52.7436 86.1712 53.3605 86.4111 54.0689 86.4111C54.8001 86.4111 55.4171 86.1597 55.9198 85.657C56.4453 85.1543 56.7081 84.5602 56.7081 83.8747C56.7081 83.1663 56.4453 82.5722 55.9198 82.0924C55.3942 81.5897 54.7658 81.3383 54.0346 81.3383C53.3263 81.3383 52.7093 81.5897 52.1838 82.0924C51.681 82.5951 51.4297 83.2006 51.4297 83.909C51.4297 84.5945 51.6925 85.1886 52.218 85.6913Z", fill: "#14141A" }), _jsx("defs", { children: _jsxs("linearGradient", { id: "paint0_linear_3383_224507", x1: "62.1628", y1: "150.93", x2: "211.15", y2: "63.5124", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#BCBCCF", stopOpacity: "0.61" }), _jsx("stop", { offset: "0.766098", stopColor: "#353546", stopOpacity: "0" })] }) })] }));
4
+ //# sourceMappingURL=NotFound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../src/svg/NotFound.tsx"],"names":[],"mappings":";AAAA,4BAA4B;AAE5B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAuD,EAAE,EAAE,CAAC,CACrG,eAAK,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,OAAO,EAAC,aAAa,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,aACnI,eAAM,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,qlCAAqlC,EAAC,IAAI,EAAC,iCAAiC,GAAG,EAC7qC,iBAAQ,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,CAAC,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAG,EAC9E,iBAAQ,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,CAAC,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAG,EAC9E,eAAM,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,2nBAA2nB,EAAC,IAAI,EAAC,SAAS,GAAG,EAC3rB,yBACE,0BAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,SAAS,EAAC,aAAa,EAAC,gBAAgB,aAC7H,eAAM,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,GAAG,EAC/C,eAAM,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,GAAG,GAAG,IAC/C,GACZ,IACH,CACP,CAAA"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare const ServerError: ({ className, style }: {
3
+ className?: string | undefined;
4
+ style?: import("react").CSSProperties | undefined;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=ServerError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServerError.d.ts","sourceRoot":"","sources":["../../src/svg/ServerError.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,WAAW;;;6CA8BvB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable max-len */
3
+ export const ServerError = ({ className, style }) => (_jsxs("svg", { width: "187", height: "115", viewBox: "0 0 187 115", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: style, children: [_jsx("path", { opacity: "0.1", d: "M148.767 98.4641C148.767 79.4314 138.994 62.667 124.163 52.8555M38.5703 98.4641C38.5703 79.4314 48.343 62.667 63.174 52.8555", stroke: "url(#paint0_linear_3383_197709)", strokeWidth: "2.5731" }), _jsxs("g", { opacity: "0.5", children: [_jsx("mask", { id: "path2-inside1_3383_197709", fill: "white", children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.1671 0.320312C14.2745 0.320312 11.1189 3.47587 11.1189 7.36846V52.3732V98.0428H7.77081C3.87822 98.0428 0.722656 101.198 0.722656 105.091V107.775C0.722656 111.667 3.87823 114.823 7.77082 114.823H179.562C183.454 114.823 186.61 111.667 186.61 107.775V105.091C186.61 101.198 183.454 98.0428 179.562 98.0428H176.907V7.36846C176.907 3.47588 173.752 0.320312 169.859 0.320312H18.1671ZM13.3446 7.36846C13.3446 4.70512 15.5037 2.54604 18.1671 2.54604H169.859C172.522 2.54604 174.681 4.70511 174.681 7.36846V98.042H13.3446V52.3732V7.36846ZM2.94839 105.091C2.94839 102.428 5.10746 100.269 7.77081 100.269H179.562C182.225 100.269 184.384 102.428 184.384 105.091V107.775C184.384 110.438 182.225 112.597 179.562 112.597H7.77082C5.10747 112.597 2.94839 110.438 2.94839 107.775V105.091Z" }) }), _jsx("path", { d: "M11.1189 98.0428V100.273H13.3489V98.0428H11.1189ZM176.907 98.0428H174.677V100.273H176.907V98.0428ZM174.681 98.042V100.272H176.912V98.042H174.681ZM13.3446 98.042H11.1146V100.272H13.3446V98.042ZM13.3489 7.36846C13.3489 4.70749 15.5061 2.55033 18.1671 2.55033V1.90971C13.0429 -1.90971 8.8889 2.24426 8.8889 7.36846H13.3489ZM13.3489 52.3732V7.36846H8.8889V52.3732H13.3489ZM13.3489 98.0428V52.3732H8.8889V98.0428H13.3489ZM7.77081 100.273H11.1189V95.8128H7.77081V100.273ZM2.95268 105.091C2.95268 102.43 5.10983 100.273 7.77081 100.273V95.8128C2.64661 95.8128 -1.50736 99.9668 -1.50736 105.091H2.95268ZM2.95268 107.775V105.091H1.50736V107.775H2.95268ZM7.77082 112.593C5.10984 112.593 2.95268 110.436 2.95268 107.775H1.50736C1.50736 112.899 2.64663 117.053 7.77082 117.053V112.593ZM179.562 112.593H7.77082V117.053H179.562V112.593ZM184.38 107.775C184.38 110.436 182.223 112.593 179.562 112.593V117.053C184.686 117.053 188.84 112.899 188.84 107.775H184.38ZM184.38 105.091V107.775H188.84V105.091H184.38ZM179.562 100.273C182.223 100.273 184.38 102.43 184.38 105.091H188.84C188.84 99.9668 184.686 95.8128 179.562 95.8128V100.273ZM176.907 100.273H179.562V95.8128H176.907V100.273ZM174.677 7.36846V98.0428H179.137V7.36846H174.677ZM169.859 2.55033C172.52 2.55033 174.677 4.70748 174.677 7.36846H179.137C179.137 2.24427 174.983 -1.90971 169.859 -1.90971V2.55033ZM18.1671 2.55033H169.859V1.90971H18.1671V2.55033ZM18.1671 0.316024C14.2721 0.316024 11.1146 3.47351 11.1146 7.36846H15.5747C15.5747 5.93673 16.7353 4.77606 18.1671 4.77606V0.316024ZM169.859 0.316024H18.1671V4.77606H169.859V0.316024ZM176.912 7.36846C176.912 3.47351 173.754 0.316024 169.859 0.316024V4.77606C171.291 4.77606 172.451 5.93672 172.451 7.36846H176.912ZM176.912 98.042V7.36846H172.451V98.042H176.912ZM13.3446 100.272H174.681V95.812H13.3446V100.272ZM11.1146 52.3732V98.042H15.5747V52.3732H11.1146ZM11.1146 7.36846V52.3732H15.5747V7.36846H11.1146ZM7.77081 98.0385C3.87585 98.0385 0.718369 101.196 0.718369 105.091H5.17841C5.17841 103.659 6.33906 102.499 7.77081 102.499V98.0385ZM179.562 98.0385H7.77081V102.499H179.562V98.0385ZM186.614 105.091C186.614 101.196 183.457 98.0385 179.562 98.0385V102.499C180.993 102.499 182.154 103.659 182.154 105.091H186.614ZM186.614 107.775V105.091H182.154V107.775H186.614ZM179.562 114.827C183.457 114.827 186.614 111.67 186.614 107.775H182.154C182.154 109.206 180.993 110.367 179.562 110.367V114.827ZM7.77082 114.827H179.562V110.367H7.77082V114.827ZM0.718369 107.775C0.718369 111.67 3.87587 114.827 7.77082 114.827V110.367C6.33907 110.367 5.17841 109.206 5.17841 107.775H0.718369ZM0.718369 105.091V107.775H5.17841V105.091H0.718369Z", fill: "url(#paint1_linear_3383_197709)", mask: "url(#path2-inside1_3383_197709)" })] }), _jsx("path", { opacity: "0.1", d: "M167.976 39.7734V98.097M19.5938 98.097V70.1762V39.7734", stroke: "url(#paint2_linear_3383_197709)", strokeWidth: "2.22573" }), _jsx("path", { opacity: "0.16", d: "M89.4439 19.7907C92.033 18.2959 95.223 18.2959 97.8121 19.7907L117.92 31.4003C120.51 32.8951 122.105 35.6577 122.105 38.6473V61.8665C122.105 64.8562 120.51 67.6187 117.92 69.1135L97.8121 80.7231C95.223 82.218 92.033 82.218 89.4439 80.7231L69.3355 69.1135C66.7464 67.6187 65.1514 64.8562 65.1514 61.8665V38.6473C65.1514 35.6577 66.7464 32.8951 69.3355 31.4003L89.4439 19.7907Z", fill: "#FAFAFB" }), _jsx("path", { opacity: "0.16", d: "M89.4447 26.8376C92.0338 25.3427 95.2237 25.3427 97.8128 26.8376L111.819 34.9241C114.408 36.4189 116.003 39.1815 116.003 42.1711V58.3442C116.003 61.3339 114.408 64.0964 111.819 65.5912L97.8128 73.6778C95.2237 75.1726 92.0338 75.1726 89.4447 73.6778L75.4384 65.5912C72.8493 64.0964 71.2543 61.3338 71.2543 58.3442V42.1711C71.2543 39.1815 72.8493 36.4189 75.4384 34.9241L89.4447 26.8376Z", fill: "#FAFAFB" }), _jsx("path", { opacity: "0.16", d: "M91.6031 34.1543C93.2213 33.2201 95.215 33.2201 96.8332 34.1543L107.367 40.236C108.985 41.1702 109.982 42.8968 109.982 44.7654V56.9287C109.982 58.7972 108.985 60.5238 107.367 61.4581L96.8332 67.5397C95.215 68.474 93.2213 68.474 91.6031 67.5397L81.0693 61.4581C79.4511 60.5238 78.4543 58.7972 78.4543 56.9286V44.7654C78.4543 42.8968 79.4511 41.1702 81.0694 40.236L91.6031 34.1543Z", fill: "#FAFAFB" }), _jsx("path", { d: "M100.941 43.7109L87.0802 57.5722", stroke: "#14141A", strokeWidth: "3.5491", strokeLinecap: "round" }), _jsx("path", { d: "M100.941 57.5703L87.0802 43.7091", stroke: "#14141A", strokeWidth: "3.5491", strokeLinecap: "round" }), _jsxs("defs", { children: [_jsxs("linearGradient", { id: "paint0_linear_3383_197709", x1: "93.6687", y1: "43.7117", x2: "93.6687", y2: "98.4635", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#BCBCCF", stopOpacity: "0" }), _jsx("stop", { offset: "1", stopColor: "#BCBCCF" })] }), _jsxs("linearGradient", { id: "paint1_linear_3383_197709", x1: "186.891", y1: "111.975", x2: "-6.87233", y2: "-64.7069", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#BCBCCF" }), _jsx("stop", { offset: "0.766098", stopColor: "#353546", stopOpacity: "0.09" })] }), _jsxs("linearGradient", { id: "paint2_linear_3383_197709", x1: "25.9349", y1: "96.8508", x2: "76.0716", y2: "-32.8361", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#BCBCCF" }), _jsx("stop", { offset: "0.766098", stopColor: "#353546", stopOpacity: "0.09" })] })] })] }));
4
+ //# sourceMappingURL=ServerError.js.map
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AC,aAAa,EAAC,OAAO,GAAG,EACzG,eAAM,CAAC,EAAC,kCAAkC,EAAC,MAAM,EAAC,SAAS,EAAC,WAAW,EAAC,QAAQ,EAAC,aAAa,EAAC,OAAO,GAAG,EACzG,2BACE,0BAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,aAAa,EAAC,gBAAgB,aAC/H,eAAM,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,GAAG,GAAG,EAC5C,eAAM,MAAM,EAAC,GAAG,EAAC,SAAS,EAAC,SAAS,GAAG,IACxB,EACjB,0BAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,UAAU,EAAC,EAAE,EAAC,UAAU,EAAC,aAAa,EAAC,gBAAgB,aACjI,eAAM,SAAS,EAAC,SAAS,GAAG,EAC5B,eAAM,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,GAAG,IAClD,EACjB,0BAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,UAAU,EAAC,aAAa,EAAC,gBAAgB,aAChI,eAAM,SAAS,EAAC,SAAS,GAAG,EAC5B,eAAM,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,GAAG,IAClD,IACZ,IACH,CACP,CAAA"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare const Unauthenticated: ({ className, style }: {
3
+ className?: string | undefined;
4
+ style?: import("react").CSSProperties | undefined;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=Unauthenticated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Unauthenticated.d.ts","sourceRoot":"","sources":["../../src/svg/Unauthenticated.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,eAAe;;;6CAa3B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable max-len */
3
+ export const Unauthenticated = ({ className, style }) => (_jsxs("svg", { width: "178", height: "160", viewBox: "0 0 178 160", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: style, children: [_jsx("circle", { opacity: "0.16", cx: "89.6761", cy: "80.2113", r: "31.5629", fill: "#FAFAFB" }), _jsx("ellipse", { opacity: "0.16", cx: "89.6721", cy: "80.6057", rx: "22.094", ry: "21.6995", fill: "#FAFAFB" }), _jsx("ellipse", { opacity: "0.16", cx: "89.6759", cy: "80.6056", rx: "13.4142", ry: "13.0197", fill: "#FAFAFB" }), _jsx("path", { opacity: "0.5", fillRule: "evenodd", clipRule: "evenodd", d: "M44.7029 19.055C69.3231 -5.56521 109.24 -5.56521 133.861 19.055L177.651 62.8454C178.086 63.2808 178.086 63.9868 177.651 64.4222C177.215 64.8577 176.509 64.8577 176.074 64.4222L132.284 20.6319C108.534 -3.11747 70.0291 -3.11747 46.2798 20.6319C45.8443 21.0673 45.1383 21.0673 44.7029 20.6319C44.2675 20.1964 44.2675 19.4904 44.7029 19.055ZM161.243 79.8912L126.447 45.0949C105.747 24.3952 72.1863 24.3952 51.4866 45.0949L16.6903 79.8912L51.4866 114.687C72.1863 135.387 105.747 135.387 126.447 114.687L161.243 79.8912ZM128.024 43.518C106.453 21.9474 71.4803 21.9474 49.9097 43.5181L15.1135 78.3143L13.5366 79.8912L15.1135 81.468L49.9097 116.264C71.4803 137.835 106.453 137.835 128.024 116.264L162.82 81.468L164.397 79.8912L162.82 78.3143L128.024 43.518ZM44.7029 141.115C69.3231 165.736 109.24 165.736 133.861 141.115C134.296 140.68 134.296 139.974 133.861 139.538C133.425 139.103 132.719 139.103 132.284 139.538C108.534 163.288 70.0291 163.288 46.2798 139.538L2.48938 95.7481C2.05394 95.3126 1.34795 95.3126 0.912516 95.7481C0.477078 96.1835 0.477077 96.8895 0.912518 97.3249L44.7029 141.115Z", fill: "url(#paint0_linear_3383_243082)" }), _jsx("defs", { children: _jsxs("linearGradient", { id: "paint0_linear_3383_243082", x1: "-3.35603", y1: "94.0049", x2: "89.5555", y2: "212.99", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#BCBCCF" }), _jsx("stop", { offset: "0.766098", stopColor: "#353546", stopOpacity: "0.09" })] }) })] }));
4
+ //# sourceMappingURL=Unauthenticated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Unauthenticated.js","sourceRoot":"","sources":["../../src/svg/Unauthenticated.tsx"],"names":[],"mappings":";AAAA,4BAA4B;AAE5B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAuD,EAAE,EAAE,CAAC,CAC5G,eAAK,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,OAAO,EAAC,aAAa,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,aACnI,iBAAQ,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,CAAC,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAE,EAC7E,kBAAS,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAE,EAC3F,kBAAS,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAE,EAC5F,eAAM,OAAO,EAAC,KAAK,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,kkCAAkkC,EAAC,IAAI,EAAC,iCAAiC,GAAE,EACvqC,yBACE,0BAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,UAAU,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,QAAQ,EAAC,aAAa,EAAC,gBAAgB,aAC/H,eAAM,SAAS,EAAC,SAAS,GAAE,EAC3B,eAAM,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,GAAE,IACjD,GACZ,IACH,CACP,CAAA"}
@@ -0,0 +1,10 @@
1
+ export { AI } from './AI.js';
2
+ export { EDP } from './EDP.js';
3
+ export { Forbidden } from './Forbidden.js';
4
+ export { HUB } from './HUB.js';
5
+ export { Logo } from './Logo.js';
6
+ export { MiniLogo } from './MiniLogo.js';
7
+ export { NotFound } from './NotFound.js';
8
+ export { ServerError } from './ServerError.js';
9
+ export { Unauthenticated } from './Unauthenticated.js';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/svg/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export { AI } from './AI.js';
2
+ export { EDP } from './EDP.js';
3
+ export { Forbidden } from './Forbidden.js';
4
+ export { HUB } from './HUB.js';
5
+ export { Logo } from './Logo.js';
6
+ export { MiniLogo } from './MiniLogo.js';
7
+ export { NotFound } from './NotFound.js';
8
+ export { ServerError } from './ServerError.js';
9
+ export { Unauthenticated } from './Unauthenticated.js';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/svg/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Important for accessibility.
3
+ *
4
+ * Makes it so we focus the next focusable element in the DOM hierarchy, disregarding the element passed as parameter and its children.
5
+ *
6
+ * If there's no next focusable element, the first focusable element of the page will be focused. If the page doesn't contain any focusable
7
+ * element, nothing happens.
8
+ *
9
+ * @param current the reference element to focus the next. If not provided, will be the currently active element.
10
+ */
11
+ export declare function focusNextIgnoringChildren(current?: HTMLElement | null): void;
12
+ type TagPriority = 'a' | 'button' | 'input' | 'textarea' | 'select' | 'other';
13
+ type TagPriorityElement = TagPriority | TagPriority[];
14
+ interface FocusOptions {
15
+ /**
16
+ * Instead of focusing the first element overall, focus the first according to this list of priorities.
17
+ */
18
+ priority?: TagPriorityElement[];
19
+ /**
20
+ * Ignores any element that matches this query selector.
21
+ */
22
+ ignore?: string;
23
+ }
24
+ /**
25
+ * Focus the first focusable child of the element provided. If the element has no focusable child, nothing happens.
26
+ *
27
+ * A priority list can be passed in the second parameter, as an option. If it's provided, it will focus the first element according to the
28
+ * list.
29
+ *
30
+ * An ignore query selector can also be passed in the options parameter. If the first focusable element matches the query selector, the
31
+ * next element is focused instead.
32
+ *
33
+ * @example
34
+ * Suppose the children of element are: h1, button, p, input, select.
35
+ * 1. We don't pass a priority list. The focused element will be the button.
36
+ * 2. Our priority list is ['button']. The focused element will be the button.
37
+ * 3. Our priority list is ['input', 'button']. The focused element will be the input.
38
+ * 4. Our priority list is ['select', 'input']. The focused element will be the select.
39
+ * 5. Our priority list is [['select', 'input'], 'button']. The focused element will be the input.
40
+ *
41
+ * @param element the element to search a child to focus.
42
+ * @param options optional.
43
+ */
44
+ export declare function focusFirstChild(element: HTMLElement | Document | null | undefined, { priority, ignore }?: FocusOptions): void;
45
+ /**
46
+ * Checks if an element can receive focus.
47
+ *
48
+ * Elements can receive focus only if:
49
+ * - they exist;
50
+ * - they're visible;
51
+ * - they're not disabled;
52
+ * - they are a focusable tag name or have a positive tab index;
53
+ * - they don't have a negative tab index.
54
+ * @param element the element to check.
55
+ * @returns true if the element is focusable, false otherwise.
56
+ */
57
+ export declare function isFocusable(element?: Element | null): boolean;
58
+ /**
59
+ * Focus the element passed as parameter if it can receive focus. Otherwise, decides on another element to focus based on the HTML tree
60
+ * and accessibility attributes.
61
+ *
62
+ * Decision making:
63
+ * - If the element is focusable, focus it.
64
+ * - If the element is not focusable, check if it has an id and if another element controls it (aria-controls).
65
+ * - If the element is controlled by another, try to focus the controller, based in this same algorithm.
66
+ * - Otherwise, try to focus its parent.
67
+ *
68
+ * If no focusable element is found. Nothing happens.
69
+ * @param element the element to focus.
70
+ */
71
+ export declare function focusAccessibleElement(element?: Element | null): void;
72
+ export {};
73
+ //# sourceMappingURL=accessibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessibility.d.ts","sourceRoot":"","sources":["../../src/utils/accessibility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,QAWrE;AAED,KAAK,WAAW,GAAG,GAAG,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAC7E,KAAK,kBAAkB,GAAG,WAAW,GAAG,WAAW,EAAE,CAAA;AAErD,UAAU,YAAY;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAWD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,QAAQ,GAAG,IAAI,GAAG,SAAS,EAAE,EAAE,QAAa,EAAE,MAAM,EAAE,GAAE,YAAiB,QA0B/H;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,WAYnD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,QAO9D"}
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Important for accessibility.
3
+ *
4
+ * Makes it so we focus the next focusable element in the DOM hierarchy, disregarding the element passed as parameter and its children.
5
+ *
6
+ * If there's no next focusable element, the first focusable element of the page will be focused. If the page doesn't contain any focusable
7
+ * element, nothing happens.
8
+ *
9
+ * @param current the reference element to focus the next. If not provided, will be the currently active element.
10
+ */
11
+ export function focusNextIgnoringChildren(current) {
12
+ current = current ?? document.activeElement;
13
+ while (current && !current.nextElementSibling) {
14
+ current = current?.parentElement;
15
+ }
16
+ current = current?.nextElementSibling;
17
+ while (current && current.tabIndex < 0) {
18
+ current = (current.children.length ? current.firstChild : current.nextElementSibling);
19
+ }
20
+ if (current)
21
+ current?.focus?.();
22
+ else
23
+ focusFirstChild(document);
24
+ }
25
+ const selectors = {
26
+ a: 'a[href]:not(:disabled)',
27
+ button: 'button:not(:disabled)',
28
+ input: 'input:not(:disabled):not([type="hidden"])',
29
+ select: 'textarea:not(:disabled)',
30
+ textarea: 'select:not(:disabled)',
31
+ other: '[tabindex]:not([tabindex="-1"])',
32
+ };
33
+ /**
34
+ * Focus the first focusable child of the element provided. If the element has no focusable child, nothing happens.
35
+ *
36
+ * A priority list can be passed in the second parameter, as an option. If it's provided, it will focus the first element according to the
37
+ * list.
38
+ *
39
+ * An ignore query selector can also be passed in the options parameter. If the first focusable element matches the query selector, the
40
+ * next element is focused instead.
41
+ *
42
+ * @example
43
+ * Suppose the children of element are: h1, button, p, input, select.
44
+ * 1. We don't pass a priority list. The focused element will be the button.
45
+ * 2. Our priority list is ['button']. The focused element will be the button.
46
+ * 3. Our priority list is ['input', 'button']. The focused element will be the input.
47
+ * 4. Our priority list is ['select', 'input']. The focused element will be the select.
48
+ * 5. Our priority list is [['select', 'input'], 'button']. The focused element will be the input.
49
+ *
50
+ * @param element the element to search a child to focus.
51
+ * @param options optional.
52
+ */
53
+ export function focusFirstChild(element, { priority = [], ignore } = {}) {
54
+ let focusable;
55
+ let missing = ['a', 'button', 'input', 'other', 'select', 'textarea'];
56
+ for (const p of priority) {
57
+ const tags = Array.isArray(p) ? p : [p];
58
+ const querySelectors = tags.map(t => {
59
+ missing = missing.filter(tag => tag != t);
60
+ return selectors[t];
61
+ });
62
+ focusable = element?.querySelectorAll(querySelectors.join(', '));
63
+ if (focusable)
64
+ break;
65
+ }
66
+ if (!focusable) {
67
+ element?.querySelectorAll(missing.map(t => selectors[t]).join(', '));
68
+ }
69
+ let elementToFocus;
70
+ for (const f of focusable ?? []) {
71
+ if (!ignore || !f.matches(ignore)) {
72
+ const styles = window.getComputedStyle(f);
73
+ if (styles.display != 'none' && styles.visibility != 'hidden') {
74
+ elementToFocus = f;
75
+ break;
76
+ }
77
+ }
78
+ }
79
+ elementToFocus?.focus?.();
80
+ }
81
+ /**
82
+ * Checks if an element can receive focus.
83
+ *
84
+ * Elements can receive focus only if:
85
+ * - they exist;
86
+ * - they're visible;
87
+ * - they're not disabled;
88
+ * - they are a focusable tag name or have a positive tab index;
89
+ * - they don't have a negative tab index.
90
+ * @param element the element to check.
91
+ * @returns true if the element is focusable, false otherwise.
92
+ */
93
+ export function isFocusable(element) {
94
+ if (!element)
95
+ return false;
96
+ // is disabled: return false
97
+ if (element.ariaDisabled || element.getAttribute('disabled') !== null)
98
+ return false;
99
+ // is invisible: return false
100
+ if (!element.checkVisibility({ checkOpacity: true, checkVisibilityCSS: true }))
101
+ return false;
102
+ // has tab index: return false if negative, true otherwise
103
+ const tabIndexStr = element.getAttribute('tabindex');
104
+ const tabIndex = tabIndexStr ? parseInt(tabIndexStr) : undefined;
105
+ if (tabIndex !== undefined)
106
+ return tabIndex >= 0;
107
+ // check the tag name
108
+ return ['a', 'button', 'input', 'iframe', 'select', 'textarea'].includes(element.tagName.toLowerCase() ?? '');
109
+ }
110
+ /**
111
+ * Focus the element passed as parameter if it can receive focus. Otherwise, decides on another element to focus based on the HTML tree
112
+ * and accessibility attributes.
113
+ *
114
+ * Decision making:
115
+ * - If the element is focusable, focus it.
116
+ * - If the element is not focusable, check if it has an id and if another element controls it (aria-controls).
117
+ * - If the element is controlled by another, try to focus the controller, based in this same algorithm.
118
+ * - Otherwise, try to focus its parent.
119
+ *
120
+ * If no focusable element is found. Nothing happens.
121
+ * @param element the element to focus.
122
+ */
123
+ export function focusAccessibleElement(element) {
124
+ let elementToFocus = element;
125
+ while (elementToFocus && !isFocusable(elementToFocus)) {
126
+ const controlledBy = elementToFocus.id ? document.querySelector(`[aria-controls=${elementToFocus.id}]`) : undefined;
127
+ elementToFocus = (controlledBy ?? elementToFocus.parentElement);
128
+ }
129
+ elementToFocus?.focus?.();
130
+ }
131
+ //# sourceMappingURL=accessibility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessibility.js","sourceRoot":"","sources":["../../src/utils/accessibility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,UAAU,yBAAyB,CAAC,OAA4B;IACpE,OAAO,GAAG,OAAO,IAAI,QAAQ,CAAC,aAA4B,CAAA;IAC1D,OAAO,OAAO,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE;QAC7C,OAAO,GAAG,OAAO,EAAE,aAAa,CAAA;KACjC;IACD,OAAO,GAAG,OAAO,EAAE,kBAAiC,CAAA;IACpD,OAAO,OAAO,IAAI,OAAO,CAAC,QAAQ,GAAG,CAAC,EAAE;QACtC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAgB,CAAA;KACrG;IACD,IAAI,OAAO;QAAE,OAAO,EAAE,KAAK,EAAE,EAAE,CAAA;;QAC1B,eAAe,CAAC,QAAQ,CAAC,CAAA;AAChC,CAAC;AAgBD,MAAM,SAAS,GAAgC;IAC7C,CAAC,EAAE,wBAAwB;IAC3B,MAAM,EAAE,uBAAuB;IAC/B,KAAK,EAAE,2CAA2C;IAClD,MAAM,EAAE,yBAAyB;IACjC,QAAQ,EAAE,uBAAuB;IACjC,KAAK,EAAE,iCAAiC;CACzC,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,eAAe,CAAC,OAAkD,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,MAAM,KAAmB,EAAE;IAC9H,IAAI,SAAqD,CAAA;IACzD,IAAI,OAAO,GAAkB,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAA;IAC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use a another domain. By default, it's based on *.stackspot.com.
3
+ * @param domainRegex the regex to identify the domain. Example: {@link DEFAULT_DOMAIN_REGEX}.
4
+ */
5
+ export declare function setupCookies(domainRegex: RegExp): void;
6
+ /**
7
+ * Retrieves the current domain used for cookies. To change the domain, use `setupCookies(domainRegex)`.
8
+ * @returns the current cookie domain.
9
+ */
10
+ export declare function getCookieDomain(): string;
11
+ /**
12
+ * Get all cookies as an object where the keys are the cookie names and the values are the respective cookie values.
13
+ * @returns a map of cookie name to cookie value.
14
+ */
15
+ export declare function getCookies(): Record<string, string | undefined>;
16
+ /**
17
+ * Sets the value of a cookie.
18
+ * @param key the cookie name (identifier).
19
+ * @param value the cookie value.
20
+ */
21
+ export declare function setCookie(key: string, value: string): void;
22
+ /**
23
+ * Removes a cookie.
24
+ * @param key the cookie name (identifier).
25
+ */
26
+ export declare function removeCookie(key: string): void;
27
+ /**
28
+ * Retrieves the value of a cookie given its key/name.
29
+ * @param key the cookie name (identifier).
30
+ * @returns the cookie value or undefined, if the cookie doesn't exist.
31
+ */
32
+ export declare function getCookie(key: string): string | undefined;
33
+ //# sourceMappingURL=cookie.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cookie.d.ts","sourceRoot":"","sources":["../../src/utils/cookie.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,WAAW,EAAE,MAAM,QAI/C;AAED;;;GAGG;AACH,wBAAgB,eAAe,WAG9B;AAED;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAO/D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAGnD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,QAGvC;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,sBAEpC"}
@@ -0,0 +1,62 @@
1
+ const DEFAULT_DOMAIN_REGEX = new RegExp(/(\.*(prd|stg|dev)*.stackspot.com)|localhost/);
2
+ let cookieDomain = '';
3
+ let cookieAttributes = '';
4
+ /**
5
+ * Setup the cookie utilities to use a another domain. By default, it's based on *.stackspot.com.
6
+ * @param domainRegex the regex to identify the domain. Example: {@link DEFAULT_DOMAIN_REGEX}.
7
+ */
8
+ export function setupCookies(domainRegex) {
9
+ const portalUrl = new URL(location.href);
10
+ cookieDomain = domainRegex.exec(portalUrl.host)?.[0] ?? '';
11
+ cookieAttributes = `domain=${cookieDomain}; SameSite=Strict;`;
12
+ }
13
+ /**
14
+ * Retrieves the current domain used for cookies. To change the domain, use `setupCookies(domainRegex)`.
15
+ * @returns the current cookie domain.
16
+ */
17
+ export function getCookieDomain() {
18
+ if (!cookieAttributes)
19
+ setupCookies(DEFAULT_DOMAIN_REGEX);
20
+ return cookieDomain;
21
+ }
22
+ /**
23
+ * Get all cookies as an object where the keys are the cookie names and the values are the respective cookie values.
24
+ * @returns a map of cookie name to cookie value.
25
+ */
26
+ export function getCookies() {
27
+ if (!cookieAttributes)
28
+ setupCookies(DEFAULT_DOMAIN_REGEX);
29
+ return document.cookie.split('; ').reduce((result, current) => {
30
+ const [name, ...value] = current.split('=');
31
+ result[name] = value.join('=');
32
+ return result;
33
+ }, {});
34
+ }
35
+ /**
36
+ * Sets the value of a cookie.
37
+ * @param key the cookie name (identifier).
38
+ * @param value the cookie value.
39
+ */
40
+ export function setCookie(key, value) {
41
+ if (!cookieAttributes)
42
+ setupCookies(DEFAULT_DOMAIN_REGEX);
43
+ document.cookie = `${key}=${value}; ${cookieAttributes}`;
44
+ }
45
+ /**
46
+ * Removes a cookie.
47
+ * @param key the cookie name (identifier).
48
+ */
49
+ export function removeCookie(key) {
50
+ if (!cookieAttributes)
51
+ setupCookies(DEFAULT_DOMAIN_REGEX);
52
+ document.cookie = `${key}= ; ${cookieAttributes} expires = Thu, 01 Jan 1970 00:00:00 GMT`;
53
+ }
54
+ /**
55
+ * Retrieves the value of a cookie given its key/name.
56
+ * @param key the cookie name (identifier).
57
+ * @returns the cookie value or undefined, if the cookie doesn't exist.
58
+ */
59
+ export function getCookie(key) {
60
+ return getCookies()[key];
61
+ }
62
+ //# sourceMappingURL=cookie.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cookie.js","sourceRoot":"","sources":["../../src/utils/cookie.ts"],"names":[],"mappings":"AAAA,MAAM,oBAAoB,GAAG,IAAI,MAAM,CAAC,6CAA6C,CAAC,CAAA;AACtF,IAAI,YAAY,GAAG,EAAE,CAAA;AACrB,IAAI,gBAAgB,GAAG,EAAE,CAAA;AAEzB;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,WAAmB;IAC9C,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IACxC,YAAY,GAAG,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;IAC1D,gBAAgB,GAAG,UAAU,YAAY,oBAAoB,CAAA;AAC/D,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,eAAe;IAC7B,IAAI,CAAC,gBAAgB;QAAE,YAAY,CAAC,oBAAoB,CAAC,CAAA;IACzD,OAAO,YAAY,CAAA;AACrB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC,gBAAgB;QAAE,YAAY,CAAC,oBAAoB,CAAC,CAAA;IACzD,OAAO,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE;QAC5D,MAAM,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QAC3C,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAA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