@elmethis/react 0.3.1 → 0.3.3

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 (286) hide show
  1. package/lib/index.react.cjs +1 -1
  2. package/lib/index.react.mjs +2856 -7
  3. package/lib/style.css +1 -1
  4. package/lib-types/components/code/ElmCodeBlock.d.ts +26 -0
  5. package/lib-types/components/code/ElmCodeBlock.d.ts.map +1 -0
  6. package/lib-types/components/code/ElmCodeBlock.stories.d.ts +9 -0
  7. package/lib-types/components/code/ElmCodeBlock.stories.d.ts.map +1 -0
  8. package/lib-types/components/code/ElmKatex.d.ts +16 -0
  9. package/lib-types/components/code/ElmKatex.d.ts.map +1 -0
  10. package/lib-types/components/code/ElmKatex.stories.d.ts +9 -0
  11. package/lib-types/components/code/ElmKatex.stories.d.ts.map +1 -0
  12. package/lib-types/components/code/ElmMermaid.d.ts +11 -0
  13. package/lib-types/components/code/ElmMermaid.d.ts.map +1 -0
  14. package/lib-types/components/code/ElmMermaid.stories.d.ts +8 -0
  15. package/lib-types/components/code/ElmMermaid.stories.d.ts.map +1 -0
  16. package/lib-types/components/code/ElmShikiHighlighter.d.ts +19 -0
  17. package/lib-types/components/code/ElmShikiHighlighter.d.ts.map +1 -0
  18. package/lib-types/components/code/ElmShikiHighlighter.stories.d.ts +7 -0
  19. package/lib-types/components/code/ElmShikiHighlighter.stories.d.ts.map +1 -0
  20. package/lib-types/components/code/shikiInstance.d.ts +3 -0
  21. package/lib-types/components/code/shikiInstance.d.ts.map +1 -0
  22. package/lib-types/components/containments/ElmColumn.d.ts +9 -0
  23. package/lib-types/components/containments/ElmColumn.d.ts.map +1 -0
  24. package/lib-types/components/containments/ElmColumn.stories.d.ts +7 -0
  25. package/lib-types/components/containments/ElmColumn.stories.d.ts.map +1 -0
  26. package/lib-types/components/containments/ElmColumnList.d.ts +9 -0
  27. package/lib-types/components/containments/ElmColumnList.d.ts.map +1 -0
  28. package/lib-types/components/containments/ElmColumnList.stories.d.ts +7 -0
  29. package/lib-types/components/containments/ElmColumnList.stories.d.ts.map +1 -0
  30. package/lib-types/components/containments/ElmConfirmModal.d.ts +23 -0
  31. package/lib-types/components/containments/ElmConfirmModal.d.ts.map +1 -0
  32. package/lib-types/components/containments/ElmConfirmModal.stories.d.ts +7 -0
  33. package/lib-types/components/containments/ElmConfirmModal.stories.d.ts.map +1 -0
  34. package/lib-types/components/containments/ElmDesktopWindow.d.ts +14 -0
  35. package/lib-types/components/containments/ElmDesktopWindow.d.ts.map +1 -0
  36. package/lib-types/components/containments/ElmDesktopWindow.stories.d.ts +7 -0
  37. package/lib-types/components/containments/ElmDesktopWindow.stories.d.ts.map +1 -0
  38. package/lib-types/components/containments/ElmModal.d.ts +18 -0
  39. package/lib-types/components/containments/ElmModal.d.ts.map +1 -0
  40. package/lib-types/components/containments/ElmModal.stories.d.ts +7 -0
  41. package/lib-types/components/containments/ElmModal.stories.d.ts.map +1 -0
  42. package/lib-types/components/containments/ElmParallax.d.ts +13 -0
  43. package/lib-types/components/containments/ElmParallax.d.ts.map +1 -0
  44. package/lib-types/components/containments/ElmParallax.stories.d.ts +7 -0
  45. package/lib-types/components/containments/ElmParallax.stories.d.ts.map +1 -0
  46. package/lib-types/components/containments/ElmSimpleTooltip.d.ts +13 -0
  47. package/lib-types/components/containments/ElmSimpleTooltip.d.ts.map +1 -0
  48. package/lib-types/components/containments/ElmSimpleTooltip.stories.d.ts +8 -0
  49. package/lib-types/components/containments/ElmSimpleTooltip.stories.d.ts.map +1 -0
  50. package/lib-types/components/containments/ElmSnackbar.d.ts +15 -0
  51. package/lib-types/components/containments/ElmSnackbar.d.ts.map +1 -0
  52. package/lib-types/components/containments/ElmSnackbar.stories.d.ts +7 -0
  53. package/lib-types/components/containments/ElmSnackbar.stories.d.ts.map +1 -0
  54. package/lib-types/components/containments/ElmSnackbarContainer.d.ts +18 -0
  55. package/lib-types/components/containments/ElmSnackbarContainer.d.ts.map +1 -0
  56. package/lib-types/components/containments/ElmSnackbarContainer.stories.d.ts +7 -0
  57. package/lib-types/components/containments/ElmSnackbarContainer.stories.d.ts.map +1 -0
  58. package/lib-types/components/containments/ElmTabs.d.ts +13 -0
  59. package/lib-types/components/containments/ElmTabs.d.ts.map +1 -0
  60. package/lib-types/components/containments/ElmTabs.stories.d.ts +7 -0
  61. package/lib-types/components/containments/ElmTabs.stories.d.ts.map +1 -0
  62. package/lib-types/components/containments/ElmToggle.d.ts +20 -0
  63. package/lib-types/components/containments/ElmToggle.d.ts.map +1 -0
  64. package/lib-types/components/containments/ElmToggle.stories.d.ts +8 -0
  65. package/lib-types/components/containments/ElmToggle.stories.d.ts.map +1 -0
  66. package/lib-types/components/containments/ElmTooltip.d.ts +13 -0
  67. package/lib-types/components/containments/ElmTooltip.d.ts.map +1 -0
  68. package/lib-types/components/containments/ElmTooltip.stories.d.ts +7 -0
  69. package/lib-types/components/containments/ElmTooltip.stories.d.ts.map +1 -0
  70. package/lib-types/components/data/ElmMultiProgress.d.ts +32 -0
  71. package/lib-types/components/data/ElmMultiProgress.d.ts.map +1 -0
  72. package/lib-types/components/data/ElmMultiProgress.stories.d.ts +7 -0
  73. package/lib-types/components/data/ElmMultiProgress.stories.d.ts.map +1 -0
  74. package/lib-types/components/data/ElmProgress.d.ts +40 -0
  75. package/lib-types/components/data/ElmProgress.d.ts.map +1 -0
  76. package/lib-types/components/data/ElmProgress.stories.d.ts +11 -0
  77. package/lib-types/components/data/ElmProgress.stories.d.ts.map +1 -0
  78. package/lib-types/components/data/ElmStatusMessage.d.ts +18 -0
  79. package/lib-types/components/data/ElmStatusMessage.d.ts.map +1 -0
  80. package/lib-types/components/data/ElmStatusMessage.stories.d.ts +10 -0
  81. package/lib-types/components/data/ElmStatusMessage.stories.d.ts.map +1 -0
  82. package/lib-types/components/embed/ElmOEmbed.d.ts +47 -0
  83. package/lib-types/components/embed/ElmOEmbed.d.ts.map +1 -0
  84. package/lib-types/components/embed/ElmOEmbed.stories.d.ts +8 -0
  85. package/lib-types/components/embed/ElmOEmbed.stories.d.ts.map +1 -0
  86. package/lib-types/components/fallback/ElmBlockFallback.d.ts +14 -0
  87. package/lib-types/components/fallback/ElmBlockFallback.d.ts.map +1 -0
  88. package/lib-types/components/fallback/ElmBlockFallback.stories.d.ts +7 -0
  89. package/lib-types/components/fallback/ElmBlockFallback.stories.d.ts.map +1 -0
  90. package/lib-types/components/fallback/ElmRectangleWave.d.ts +9 -0
  91. package/lib-types/components/fallback/ElmRectangleWave.d.ts.map +1 -0
  92. package/lib-types/components/fallback/ElmRectangleWave.stories.d.ts +7 -0
  93. package/lib-types/components/fallback/ElmRectangleWave.stories.d.ts.map +1 -0
  94. package/lib-types/components/fallback/ElmSpinner.d.ts +17 -0
  95. package/lib-types/components/fallback/ElmSpinner.d.ts.map +1 -0
  96. package/lib-types/components/fallback/ElmSpinner.stories.d.ts +7 -0
  97. package/lib-types/components/fallback/ElmSpinner.stories.d.ts.map +1 -0
  98. package/lib-types/components/fallback/ElmUnsupportedBlock.d.ts +13 -0
  99. package/lib-types/components/fallback/ElmUnsupportedBlock.d.ts.map +1 -0
  100. package/lib-types/components/fallback/ElmUnsupportedBlock.stories.d.ts +7 -0
  101. package/lib-types/components/fallback/ElmUnsupportedBlock.stories.d.ts.map +1 -0
  102. package/lib-types/components/form/ElmButton.d.ts +23 -0
  103. package/lib-types/components/form/ElmButton.d.ts.map +1 -0
  104. package/lib-types/components/form/ElmButton.stories.d.ts +11 -0
  105. package/lib-types/components/form/ElmButton.stories.d.ts.map +1 -0
  106. package/lib-types/components/form/ElmCheckbox.d.ts +19 -0
  107. package/lib-types/components/form/ElmCheckbox.d.ts.map +1 -0
  108. package/lib-types/components/form/ElmCheckbox.stories.d.ts +7 -0
  109. package/lib-types/components/form/ElmCheckbox.stories.d.ts.map +1 -0
  110. package/lib-types/components/form/ElmSelect.d.ts +29 -0
  111. package/lib-types/components/form/ElmSelect.d.ts.map +1 -0
  112. package/lib-types/components/form/ElmSelect.stories.d.ts +7 -0
  113. package/lib-types/components/form/ElmSelect.stories.d.ts.map +1 -0
  114. package/lib-types/components/form/ElmSwitch.d.ts +23 -0
  115. package/lib-types/components/form/ElmSwitch.d.ts.map +1 -0
  116. package/lib-types/components/form/ElmSwitch.stories.d.ts +7 -0
  117. package/lib-types/components/form/ElmSwitch.stories.d.ts.map +1 -0
  118. package/lib-types/components/form/ElmTextField.d.ts +33 -0
  119. package/lib-types/components/form/ElmTextField.d.ts.map +1 -0
  120. package/lib-types/components/form/ElmTextField.stories.d.ts +7 -0
  121. package/lib-types/components/form/ElmTextField.stories.d.ts.map +1 -0
  122. package/lib-types/components/form/ElmValidation.d.ts +16 -0
  123. package/lib-types/components/form/ElmValidation.d.ts.map +1 -0
  124. package/lib-types/components/form/ElmValidation.stories.d.ts +7 -0
  125. package/lib-types/components/form/ElmValidation.stories.d.ts.map +1 -0
  126. package/lib-types/components/icon/ElmArrowIcon.d.ts +25 -0
  127. package/lib-types/components/icon/ElmArrowIcon.d.ts.map +1 -0
  128. package/lib-types/components/icon/ElmArrowIcon.stories.d.ts +7 -0
  129. package/lib-types/components/icon/ElmArrowIcon.stories.d.ts.map +1 -0
  130. package/lib-types/components/icon/ElmBookmarkIcon.d.ts +21 -0
  131. package/lib-types/components/icon/ElmBookmarkIcon.d.ts.map +1 -0
  132. package/lib-types/components/icon/ElmBookmarkIcon.stories.d.ts +9 -0
  133. package/lib-types/components/icon/ElmBookmarkIcon.stories.d.ts.map +1 -0
  134. package/lib-types/components/icon/ElmCubeIcon.d.ts +13 -0
  135. package/lib-types/components/icon/ElmCubeIcon.d.ts.map +1 -0
  136. package/lib-types/components/icon/ElmCubeIcon.stories.d.ts +7 -0
  137. package/lib-types/components/icon/ElmCubeIcon.stories.d.ts.map +1 -0
  138. package/lib-types/components/icon/ElmDotLoadingIcon.d.ts +19 -0
  139. package/lib-types/components/icon/ElmDotLoadingIcon.d.ts.map +1 -0
  140. package/lib-types/components/icon/ElmDotLoadingIcon.stories.d.ts +7 -0
  141. package/lib-types/components/icon/ElmDotLoadingIcon.stories.d.ts.map +1 -0
  142. package/lib-types/components/icon/ElmInlineIcon.d.ts +17 -0
  143. package/lib-types/components/icon/ElmInlineIcon.d.ts.map +1 -0
  144. package/lib-types/components/icon/ElmInlineIcon.stories.d.ts +7 -0
  145. package/lib-types/components/icon/ElmInlineIcon.stories.d.ts.map +1 -0
  146. package/lib-types/components/icon/ElmLanguageIcon.d.ts +18 -0
  147. package/lib-types/components/icon/ElmLanguageIcon.d.ts.map +1 -0
  148. package/lib-types/components/icon/ElmLanguageIcon.stories.d.ts +7 -0
  149. package/lib-types/components/icon/ElmLanguageIcon.stories.d.ts.map +1 -0
  150. package/lib-types/components/icon/ElmLoginIcon.d.ts +21 -0
  151. package/lib-types/components/icon/ElmLoginIcon.d.ts.map +1 -0
  152. package/lib-types/components/icon/ElmLoginIcon.stories.d.ts +7 -0
  153. package/lib-types/components/icon/ElmLoginIcon.stories.d.ts.map +1 -0
  154. package/lib-types/components/icon/ElmMdiIcon.d.ts +14 -0
  155. package/lib-types/components/icon/ElmMdiIcon.d.ts.map +1 -0
  156. package/lib-types/components/icon/ElmMdiIcon.stories.d.ts +7 -0
  157. package/lib-types/components/icon/ElmMdiIcon.stories.d.ts.map +1 -0
  158. package/lib-types/components/icon/ElmSquareLoadingIcon.d.ts +17 -0
  159. package/lib-types/components/icon/ElmSquareLoadingIcon.d.ts.map +1 -0
  160. package/lib-types/components/icon/ElmSquareLoadingIcon.stories.d.ts +7 -0
  161. package/lib-types/components/icon/ElmSquareLoadingIcon.stories.d.ts.map +1 -0
  162. package/lib-types/components/icon/ElmToggleTheme.d.ts +13 -0
  163. package/lib-types/components/icon/ElmToggleTheme.d.ts.map +1 -0
  164. package/lib-types/components/icon/ElmToggleTheme.stories.d.ts +7 -0
  165. package/lib-types/components/icon/ElmToggleTheme.stories.d.ts.map +1 -0
  166. package/lib-types/components/icon/language.d.ts +3 -0
  167. package/lib-types/components/icon/language.d.ts.map +1 -0
  168. package/lib-types/components/media/ElmFile.d.ts +25 -0
  169. package/lib-types/components/media/ElmFile.d.ts.map +1 -0
  170. package/lib-types/components/media/ElmFile.stories.d.ts +8 -0
  171. package/lib-types/components/media/ElmFile.stories.d.ts.map +1 -0
  172. package/lib-types/components/media/ElmImage.d.ts +37 -0
  173. package/lib-types/components/media/ElmImage.d.ts.map +1 -0
  174. package/lib-types/components/media/ElmImage.stories.d.ts +10 -0
  175. package/lib-types/components/media/ElmImage.stories.d.ts.map +1 -0
  176. package/lib-types/components/navigation/ElmBookmark.d.ts +56 -0
  177. package/lib-types/components/navigation/ElmBookmark.d.ts.map +1 -0
  178. package/lib-types/components/navigation/ElmBookmark.stories.d.ts +9 -0
  179. package/lib-types/components/navigation/ElmBookmark.stories.d.ts.map +1 -0
  180. package/lib-types/components/navigation/ElmBreadcrumb.d.ts +22 -0
  181. package/lib-types/components/navigation/ElmBreadcrumb.d.ts.map +1 -0
  182. package/lib-types/components/navigation/ElmBreadcrumb.stories.d.ts +8 -0
  183. package/lib-types/components/navigation/ElmBreadcrumb.stories.d.ts.map +1 -0
  184. package/lib-types/components/navigation/ElmPageTop.d.ts +13 -0
  185. package/lib-types/components/navigation/ElmPageTop.d.ts.map +1 -0
  186. package/lib-types/components/navigation/ElmPageTop.stories.d.ts +7 -0
  187. package/lib-types/components/navigation/ElmPageTop.stories.d.ts.map +1 -0
  188. package/lib-types/components/navigation/ElmTableOfContents.d.ts +17 -0
  189. package/lib-types/components/navigation/ElmTableOfContents.d.ts.map +1 -0
  190. package/lib-types/components/navigation/ElmTableOfContents.stories.d.ts +8 -0
  191. package/lib-types/components/navigation/ElmTableOfContents.stories.d.ts.map +1 -0
  192. package/lib-types/components/others/ElmColorSample.d.ts +11 -0
  193. package/lib-types/components/others/ElmColorSample.d.ts.map +1 -0
  194. package/lib-types/components/others/ElmColorSample.stories.d.ts +8 -0
  195. package/lib-types/components/others/ElmColorSample.stories.d.ts.map +1 -0
  196. package/lib-types/components/others/ElmColorTable.d.ts +14 -0
  197. package/lib-types/components/others/ElmColorTable.d.ts.map +1 -0
  198. package/lib-types/components/others/ElmColorTable.stories.d.ts +7 -0
  199. package/lib-types/components/others/ElmColorTable.stories.d.ts.map +1 -0
  200. package/lib-types/components/others/ElmCommandPalette.d.ts +33 -0
  201. package/lib-types/components/others/ElmCommandPalette.d.ts.map +1 -0
  202. package/lib-types/components/others/ElmCommandPalette.stories.d.ts +7 -0
  203. package/lib-types/components/others/ElmCommandPalette.stories.d.ts.map +1 -0
  204. package/lib-types/components/others/ElmJsonComponentRenderer.d.ts +13 -0
  205. package/lib-types/components/others/ElmJsonComponentRenderer.d.ts.map +1 -0
  206. package/lib-types/components/others/ElmJsonComponentRenderer.stories.d.ts +7 -0
  207. package/lib-types/components/others/ElmJsonComponentRenderer.stories.d.ts.map +1 -0
  208. package/lib-types/components/others/ElmMarkdown.d.ts +11 -0
  209. package/lib-types/components/others/ElmMarkdown.d.ts.map +1 -0
  210. package/lib-types/components/others/ElmMarkdown.stories.d.ts +7 -0
  211. package/lib-types/components/others/ElmMarkdown.stories.d.ts.map +1 -0
  212. package/lib-types/components/others/ElmTyping.d.ts +11 -0
  213. package/lib-types/components/others/ElmTyping.d.ts.map +1 -0
  214. package/lib-types/components/others/ElmTyping.stories.d.ts +8 -0
  215. package/lib-types/components/others/ElmTyping.stories.d.ts.map +1 -0
  216. package/lib-types/components/table/ElmTable.d.ts +30 -0
  217. package/lib-types/components/table/ElmTable.d.ts.map +1 -0
  218. package/lib-types/components/table/ElmTable.stories.d.ts +8 -0
  219. package/lib-types/components/table/ElmTable.stories.d.ts.map +1 -0
  220. package/lib-types/components/table/ElmTableBody.d.ts +7 -0
  221. package/lib-types/components/table/ElmTableBody.d.ts.map +1 -0
  222. package/lib-types/components/table/ElmTableBody.stories.d.ts +7 -0
  223. package/lib-types/components/table/ElmTableBody.stories.d.ts.map +1 -0
  224. package/lib-types/components/table/ElmTableCell.d.ts +16 -0
  225. package/lib-types/components/table/ElmTableCell.d.ts.map +1 -0
  226. package/lib-types/components/table/ElmTableCell.stories.d.ts +7 -0
  227. package/lib-types/components/table/ElmTableCell.stories.d.ts.map +1 -0
  228. package/lib-types/components/table/ElmTableHeader.d.ts +7 -0
  229. package/lib-types/components/table/ElmTableHeader.d.ts.map +1 -0
  230. package/lib-types/components/table/ElmTableHeader.stories.d.ts +7 -0
  231. package/lib-types/components/table/ElmTableHeader.stories.d.ts.map +1 -0
  232. package/lib-types/components/table/ElmTableRow.d.ts +7 -0
  233. package/lib-types/components/table/ElmTableRow.d.ts.map +1 -0
  234. package/lib-types/components/table/ElmTableRow.stories.d.ts +7 -0
  235. package/lib-types/components/table/ElmTableRow.stories.d.ts.map +1 -0
  236. package/lib-types/components/table/TableContext.d.ts +3 -0
  237. package/lib-types/components/table/TableContext.d.ts.map +1 -0
  238. package/lib-types/components/template/ElmTemplate.d.ts +4 -1
  239. package/lib-types/components/template/ElmTemplate.d.ts.map +1 -1
  240. package/lib-types/components/template/ElmTemplate.stories.d.ts +7 -0
  241. package/lib-types/components/template/ElmTemplate.stories.d.ts.map +1 -0
  242. package/lib-types/components/typography/ElmBlockQuote.d.ts +13 -0
  243. package/lib-types/components/typography/ElmBlockQuote.d.ts.map +1 -0
  244. package/lib-types/components/typography/ElmBlockQuote.stories.d.ts +7 -0
  245. package/lib-types/components/typography/ElmBlockQuote.stories.d.ts.map +1 -0
  246. package/lib-types/components/typography/ElmCallout.d.ts +14 -0
  247. package/lib-types/components/typography/ElmCallout.d.ts.map +1 -0
  248. package/lib-types/components/typography/ElmCallout.stories.d.ts +11 -0
  249. package/lib-types/components/typography/ElmCallout.stories.d.ts.map +1 -0
  250. package/lib-types/components/typography/ElmDivider.d.ts +13 -0
  251. package/lib-types/components/typography/ElmDivider.d.ts.map +1 -0
  252. package/lib-types/components/typography/ElmDivider.stories.d.ts +7 -0
  253. package/lib-types/components/typography/ElmDivider.stories.d.ts.map +1 -0
  254. package/lib-types/components/typography/ElmFragmentIdentifier.d.ts +13 -0
  255. package/lib-types/components/typography/ElmFragmentIdentifier.d.ts.map +1 -0
  256. package/lib-types/components/typography/ElmFragmentIdentifier.stories.d.ts +7 -0
  257. package/lib-types/components/typography/ElmFragmentIdentifier.stories.d.ts.map +1 -0
  258. package/lib-types/components/typography/ElmHeading.d.ts +31 -0
  259. package/lib-types/components/typography/ElmHeading.d.ts.map +1 -0
  260. package/lib-types/components/typography/ElmHeading.stories.d.ts +8 -0
  261. package/lib-types/components/typography/ElmHeading.stories.d.ts.map +1 -0
  262. package/lib-types/components/typography/ElmInlineText.d.ts +24 -0
  263. package/lib-types/components/typography/ElmInlineText.d.ts.map +1 -0
  264. package/lib-types/components/typography/ElmInlineText.stories.d.ts +13 -0
  265. package/lib-types/components/typography/ElmInlineText.stories.d.ts.map +1 -0
  266. package/lib-types/components/typography/ElmList.d.ts +15 -0
  267. package/lib-types/components/typography/ElmList.d.ts.map +1 -0
  268. package/lib-types/components/typography/ElmList.stories.d.ts +9 -0
  269. package/lib-types/components/typography/ElmList.stories.d.ts.map +1 -0
  270. package/lib-types/components/typography/ElmParagraph.d.ts +10 -0
  271. package/lib-types/components/typography/ElmParagraph.d.ts.map +1 -0
  272. package/lib-types/components/typography/ElmParagraph.stories.d.ts +8 -0
  273. package/lib-types/components/typography/ElmParagraph.stories.d.ts.map +1 -0
  274. package/lib-types/components/typography/ElmTypingAnimation.d.ts +21 -0
  275. package/lib-types/components/typography/ElmTypingAnimation.d.ts.map +1 -0
  276. package/lib-types/components/typography/ElmTypingAnimation.stories.d.ts +7 -0
  277. package/lib-types/components/typography/ElmTypingAnimation.stories.d.ts.map +1 -0
  278. package/lib-types/hooks/useElmethisTheme.d.ts +5 -0
  279. package/lib-types/hooks/useElmethisTheme.d.ts.map +1 -0
  280. package/lib-types/lib.d.ts +67 -0
  281. package/lib-types/lib.d.ts.map +1 -1
  282. package/lib-types/styles/variables.d.ts +9 -0
  283. package/lib-types/styles/variables.d.ts.map +1 -0
  284. package/package.json +19 -5
  285. package/lib/favicon.svg +0 -1
  286. package/lib/icons.svg +0 -24
@@ -1,10 +1,2859 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import "react";
3
- //#region src/components/template/ElmTemplate.module.css
4
- var t = { "elm-template": "_elm-template_18rwn_1" }, n = (n) => e("div", {
5
- className: t["elm-template"],
6
- style: n.style,
1
+ import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a, useMemo as o, useRef as s, useState as c } from "react";
2
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
3
+ import { darken as f, getLuminance as p, opacify as m, parseToHsl as h, parseToRgb as g, rgbToColorString as _ } from "polished";
4
+ import { mdiAccount as v, mdiAlert as y, mdiAlertCircle as b, mdiAlertOctagram as x, mdiApplicationOutline as ee, mdiArchive as te, mdiArrowDownDropCircleOutline as ne, mdiArrowLeft as re, mdiBackspaceOutline as ie, mdiCalendarMonth as ae, mdiCalendarRefresh as oe, mdiCheck as se, mdiCheckCircle as ce, mdiCheckCircleOutline as le, mdiChevronRight as ue, mdiChevronUp as de, mdiClipboardCheckMultipleOutline as fe, mdiClipboardMultipleOutline as pe, mdiCloseCircleOutline as me, mdiConsoleLine as he, mdiDownload as ge, mdiEarth as _e, mdiEmail as ve, mdiEyeOffOutline as ye, mdiEyeOutline as be, mdiFileOutline as xe, mdiFolderOpen as Se, mdiFormatQuoteClose as Ce, mdiFormatQuoteOpen as we, mdiHome as Te, mdiInformation as Ee, mdiKey as De, mdiKeyboardReturn as Oe, mdiLightbulbOn as ke, mdiLinkVariant as Ae, mdiLoading as je, mdiLock as Me, mdiLoginVariant as Ne, mdiLogoutVariant as Pe, mdiMagnify as Fe, mdiMenuDown as Ie, mdiMessageImageOutline as Le, mdiPen as Re, mdiPlus as ze, mdiReload as Be, mdiShieldAlert as Ve, mdiTable as He, mdiTag as Ue, mdiText as We } from "@mdi/js";
5
+ import { createPortal as Ge } from "react-dom";
6
+ var Ke = { icon: "_icon_k0isg_1" }, S = ({ src: e, alt: t }) => {
7
+ let [n, r] = c(e);
8
+ return /* @__PURE__ */ u("img", {
9
+ className: Ke.icon,
10
+ src: n,
11
+ alt: t,
12
+ onError: () => {
13
+ r("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"gray\" d=\"M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2\"/></svg>");
14
+ }
15
+ });
16
+ }, qe = { icon: "_icon_18sdb_1" }, Je = {
17
+ rust: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20fill='%23a84f33'%20width='128'%20height='128'%20%3e%3cpath%20d='M62.96.242c-.232.135-1.203%201.528-2.16%203.097c-2.4%203.94-2.426%203.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916%201.612-1.504%203.183c-1.346%203.6-1.41%203.715-2.156%203.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291%200-1.655.706-2.27%204.4c-.78%204.697-.754%204.681-4.988%202.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475%204.246l.178%203.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692%202.964c.38%201.63.745%203.2.814%203.487c.067.287-.05.746-.26%201.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51%205.3c.718%201.56%201.305%202.98%201.305%203.15c0%20.898-.717%201.224-3.794%201.727c-1.722.28-3.218.51-3.326.51c-.107%200-.43.235-.717.522c-.937.936-.671%201.816%201.453%204.814c2.646%203.735%202.642%203.75-1.73%205.421c-4.971%201.902-5.072%202.37-1.287%205.96c3.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48c3.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394c-1.502%202.117-1.981%203-1.981%203.653c0%201.223.637%201.535%204.44%202.174c3.206.54%203.92.857%203.92%201.741c0%20.182-.588%201.612-1.307%203.177c-2.236%204.87-1.981%205.275%203.31%205.275c4.93%200%204.799-.15%203.737%204.294c-.8%203.35-.813%203.992-.088%204.715c.554.556%201.6.494%204.87-.289c2.499-.596%202.937-.637%203.516-.328l.66.354l-.177%203.594c-.178%203.593-.177%203.595.475%204.248c.358.36.884.652%201.165.652s1.903-.63%203.604-1.404c4.22-1.916%204.194-1.932%204.973%202.75c.617%203.711.977%204.4%202.294%204.4c.327%200%201.83-.88%203.34-1.958c2.654-1.893%203.342-2.19%204.049-1.74c.182.115.89%201.67%201.572%203.455c1.003%202.625%201.37%203.31%201.929%203.576c1.062.51%201.72.1%204.218-2.62c3.016-3.286%203.14-3.27%205.602.72c2.72%204.406%203.424%204.396%206.212-.089c2.402-3.864%202.374-3.862%205.621-.47c2.157%202.25%202.616%202.61%203.343%202.61c.464%200%201.019-.175%201.23-.388c.214-.213.92-1.786%201.568-3.496c.649-1.71%201.321-3.2%201.495-3.31c.687-.436%201.398-.13%204.048%201.752c1.56%201.108%203.028%201.96%203.377%201.96c1.296%200%201.764-.92%202.302-4.535c.46-3.082.554-3.378%201.16-3.685c.596-.302.954-.2%203.75%201.07c1.701.77%203.323%201.402%203.604%201.402s.816-.302%201.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486%203.615.204c3.656.835%204.338.857%205.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19%203.78-4.19c3.374%200%203.75-.049%204.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227%204.065-1.767c2.033-.329%203.553-.71%203.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738%201.599-5.297c5.064-1.866%205.209-2.488%201.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853%204.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593%203.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18%201.982-2.903%201.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574%201.307-3.113c1.406-3.013%201.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27%200-1.884.64-3.583%201.421c-2.838%201.306-3.143%201.393-3.757%201.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311%200-1.853.925-3.426%202.055c-2.584%201.856-2.93%202.032-3.574%201.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637%200-1.213.458-3.28%202.604c-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75c-3.368%200-5.064-4.057-2.66-6.36c1.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07l1.347.18c4.225.56%2012.627%204.25%2017.455%207.666c4.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942l-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053c0%20.878.576%202.267%201.13%202.726c.234.195%202.457%201.265%204.939%202.378l4.51%202.025l.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396c-.118%202.656-.76%204.124-2.22%205.075c-2.377%201.551-6.304%201.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915%202.145-1.803c4.298-3.24%206.77-7.012%207.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057%200-25.56-.092-25.56-.204c0-.263%203.125-3.295%204.965-4.816c5.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61l3.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062c-1.405%202.356-4.966%202.455-6.373.178c-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355c.002%201.55-.765%202.52-2.67%203.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888c.898%201.337%201.423%203.076%202.667%208.836c1.05%204.87%201.727%206.46%203.62%208.532c2.345%202.566%201.8%202.466%2013.514%202.466c5.61%200%2010.198.09%2010.198.2c0%20.197-3.863%204.764-4.03%204.764c-.048%200-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702l-.91.448c-1.518.75-6.453%202.292-9.01%202.82c-4.228.87-8.828%201.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248%200-3.923-4.249-3.923-4.535c0-.09%208.728-.194%2019.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8c-3.74%200-5.127-4.88-1.94-6.826c1.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95c-2.46%204.034-8.612.827-6.557-3.419c1.01-2.085%203.695-2.837%205.478-1.53'%20/%3e%3c/svg%3e",
18
+ javascript: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23f0db4f'%20d='M1.408%201.408h125.184v125.185H1.408z'%20/%3e%3cpath%20fill='%23323330'%20d='M116.347%2096.736c-.917-5.711-4.641-10.508-15.672-14.981c-3.832-1.761-8.104-3.022-9.377-5.926c-.452-1.69-.512-2.642-.226-3.665c.821-3.32%204.784-4.355%207.925-3.403c2.023.678%203.938%202.237%205.093%204.724c5.402-3.498%205.391-3.475%209.163-5.879c-1.381-2.141-2.118-3.129-3.022-4.045c-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902%202.748-8.877%205.235c-5.926%206.724-4.236%2018.492%202.975%2023.335c7.104%205.332%2017.54%206.545%2018.873%2011.531c1.297%206.104-4.486%208.08-10.234%207.378c-4.236-.881-6.592-3.034-9.139-6.949c-4.688%202.713-4.688%202.713-9.508%205.485c1.143%202.499%202.344%203.63%204.26%205.795c9.068%209.198%2031.76%208.746%2035.83-5.176c.165-.478%201.261-3.666.38-8.581M69.462%2058.943H57.753l-.048%2030.272c0%206.438.333%2012.34-.714%2014.149c-1.713%203.558-6.152%203.117-8.175%202.427c-2.059-1.012-3.106-2.451-4.319-4.485c-.333-.584-.583-1.036-.667-1.071l-9.52%205.83c1.583%203.249%203.915%206.069%206.902%207.901c4.462%202.678%2010.459%203.499%2016.731%202.059c4.082-1.189%207.604-3.652%209.448-7.401c2.666-4.915%202.094-10.864%202.07-17.444c.06-10.735.001-21.468.001-32.237'%20/%3e%3c/svg%3e",
19
+ typescript: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23fff'%20d='M22.67%2047h99.67v73.67H22.67z'%20/%3e%3cpath%20fill='%23007acc'%20d='M1.5%2063.91v62.5h125v-125H1.5zm100.73-5a15.56%2015.56%200%200%201%207.82%204.5a20.6%2020.6%200%200%201%203%204c0%20.16-5.4%203.81-8.69%205.85c-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%200%200-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.6%204.6%200%200%200%20.54%202.34c.83%201.73%202.38%202.76%207.24%204.86c8.95%203.85%2012.78%206.39%2015.16%2010c2.66%204%203.25%2010.46%201.45%2015.24c-2%205.2-6.9%208.73-13.83%209.9a38.3%2038.3%200%200%201-9.52-.1a23%2023%200%200%201-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9%209%200%200%201%201.15-.73L82%20101l3.59-2.08l.75%201.11a16.8%2016.8%200%200%200%204.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%200%200%20.69-6.92c-1-1.39-3-2.56-8.59-5c-6.45-2.78-9.23-4.5-11.77-7.24a16.5%2016.5%200%200%201-3.43-6.25a25%2025%200%200%201-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.7%2031.7%200%200%201%209.49.26zm-29.34%205.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49%2049%200%200%201%20.12-5.17C29.08%2059%2039%2059%2051%2059h21.83z'%20/%3e%3c/svg%3e",
20
+ shell: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20128%20128'%20width='24'%20height='24'%3e%3cpath%20fill='none'%20d='M4.24%204.24h119.53v119.53H4.24z'%20/%3e%3cpath%20fill='%23293138'%20d='M109.01%2028.64L71.28%206.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28%202.01l-37.74%2022.4c-4.5%202.67-7.28%207.61-7.28%2012.96v44.8c0%205.35%202.77%2010.29%207.28%2012.96l37.73%2022.4c2.25%201.34%204.76%202%207.28%202c2.51%200%205.03-.67%207.28-2l37.74-22.4c4.5-2.67%207.28-7.62%207.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79%2098.59l.06%203.22c0%20.39-.25.83-.55.99l-1.91%201.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38%202.59.2%203.99-.5c1.78-.9%202.97-2.72%202.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32%201.69-6.78%204.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03%203.25c1.36-.54%202.54-.69%203.61-.44c.23.06.34.38.24.75l-.72%202.88c-.06.22-.18.44-.33.58a.8.8%200%200%201-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59%202.64-2.58%203.88c.02%201.48.77%201.93%203.39%201.97c3.49.06%204.99%201.58%205.03%205.09c.05%203.44-1.79%207.15-4.61%209.41m26.34-60.5l-35.7%2022.05c-4.45%202.6-7.73%205.52-7.74%2010.89v43.99c0%203.21%201.3%205.29%203.29%205.9c-.65.11-1.32.19-1.98.19c-2.09%200-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39%202.29-8.48%205.98-10.67l37.74-22.4c1.81-1.07%203.87-1.64%205.96-1.64s4.15.57%205.96%201.64l37.74%2022.4c3.11%201.85%205.21%205.04%205.8%208.63c-1.27-2.67-4.09-3.39-7.38-1.47'%20/%3e%3cpath%20fill='%234fa847'%20d='m99.12%2090.73l-9.4%205.62c-.25.15-.43.31-.43.61v2.46c0%20.3.2.43.45.28l9.54-5.8c.25-.15.29-.42.29-.72v-2.17c0-.3-.2-.42-.45-.28'%20/%3e%3c/svg%3e",
21
+ terraform: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill-rule='evenodd'%3e%3cpath%20fill='%235c4ee5'%20d='M77.941%2044.5v36.836L46.324%2062.918V26.082zm0%200'%20/%3e%3cpath%20fill='%234040b2'%20d='m81.41%2081.336l31.633-18.418V26.082L81.41%2044.5zm0%200'%20/%3e%3cpath%20fill='%235c4ee5'%20d='M11.242%2042.36L42.86%2060.776V23.941L11.242%205.523zm66.699%2043.015L46.324%2066.957v36.82l31.617%2018.418zm0%200'%20/%3e%3c/g%3e%3c/svg%3e",
22
+ html: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23e44d26'%20d='M19.037%20113.876L9.032%201.661h109.936l-10.016%20112.198l-45.019%2012.48z'%20/%3e%3cpath%20fill='%23f16529'%20d='m64%20116.8l36.378-10.086l8.559-95.878H64z'%20/%3e%3cpath%20fill='%23ebebeb'%20d='M64%2052.455H45.788L44.53%2038.361H64V24.599H29.489l.33%203.692l3.382%2037.927H64zm0%2035.743l-.061.017l-15.327-4.14l-.979-10.975H33.816l1.928%2021.609l28.193%207.826l.063-.017z'%20/%3e%3cpath%20fill='%23fff'%20d='M63.952%2052.455v13.763h16.947l-1.597%2017.849l-15.35%204.143v14.319l28.215-7.82l.207-2.325l3.234-36.233l.335-3.696h-3.708zm0-27.856v13.762h33.244l.276-3.092l.628-6.978l.329-3.692z'%20/%3e%3c/svg%3e",
23
+ css: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23639'%20d='M0%200h107.52C118.831%200%20128%209.168%20128%2020.48v87.04c0%2011.312-9.168%2020.48-20.48%2020.48H20.48C9.169%20128%200%20118.832%200%20107.52Z'%20/%3e%3cpath%20fill='%23fff'%20d='M45.836%20117.762c-8.219-.008-13.293-4.64-13.195-13.16V83.05q0-6.481%203.793-9.852c4.543-4.379%2015.082-4.644%2019.53.067c2.743%202.417%203.778%207.355%203.532%2011.964H50.06c.074-1.808-.024-4.554-1.09-5.586c-1.383-1.87-5.035-1.652-6.004.297c-.594%201.059-.89%202.621-.89%204.696v18.71q0%205.884%204.09%205.95q1.914-.001%202.905-1.39c.918-1.099%201.063-3.528.989-5.29h9.437c.645%208.969-4.652%2015.254-13.66%2015.144Zm29.957%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.067%207.32%204.223%207.078q2.11%200%202.969-1.324c1.086-1.613%201.293-6.265-.266-8.066c-1.085-1.735-4.996-3.266-7.058-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.657-13.754%201.449-17.586c3.992-4.727%2014.414-4.942%2018.41-.098c2.465%202.496%203.54%207.41%203.332%2011.934h-8.578c.074-1.86-.102-4.86-.824-5.95q-.762-1.39-2.871-1.39q-3.762.001-3.762%204.496c.027%203.18%201.27%204.488%204.16%205.816c3.742%201.453%208.5%203.938%2010.227%206.942c5.144%209.16%201.613%2023.148-11.02%2022.613Zm28.77%200c-9.11.125-13.184-6.36-12.934-15.145h8.91c-.25%203.832%201.066%207.32%204.223%207.078q2.108%200%202.969-1.324c1.085-1.613%201.289-6.265-.266-8.066c-1.086-1.735-4.996-3.266-7.059-4.297q-4.423-2.115-6.367-5.027c-2.93-4.305-2.656-13.754%201.45-17.586c3.992-4.727%2014.413-4.942%2018.41-.098c2.464%202.496%203.539%207.41%203.332%2011.934h-8.579c.07-1.86-.101-4.86-.824-5.95q-.762-1.39-2.87-1.39q-3.763.001-3.763%204.496c.028%203.18%201.27%204.488%204.16%205.816c3.743%201.453%208.5%203.938%2010.227%206.942c5.145%209.16%201.614%2023.148-11.02%2022.613Z'%20/%3e%3c/svg%3e",
24
+ npm: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23cb3837'%20d='M0%207.062C0%203.225%203.225%200%207.062%200h113.88c3.838%200%207.063%203.225%207.063%207.062v113.88c0%203.838-3.225%207.063-7.063%207.063H7.062c-3.837%200-7.062-3.225-7.062-7.063zm23.69%2097.518h40.395l.05-58.532h19.494l-.05%2058.581h19.543l.05-78.075l-78.075-.1l-.1%2078.126z'%20/%3e%3cpath%20fill='%23fff'%20d='M25.105%2065.52V26.512H40.96c8.72%200%2026.274.034%2039.008.075l23.153.075v77.866H83.645v-58.54H64.057v58.54H25.105z'%20/%3e%3c/svg%3e",
25
+ java: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%230074bd'%20d='M47.617%2098.12s-4.767%202.774%203.397%203.71c9.892%201.13%2014.947.968%2025.845-1.092c0%200%202.871%201.795%206.873%203.351c-24.439%2010.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348%203.959%202.823%204.805c10.567%201.091%2018.91%201.18%2033.354-1.6c0%200%201.993%202.025%205.132%203.131c-29.542%208.64-62.446.68-41.309-6.336'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M69.802%2061.271c6.025%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.792%2015.635-29.58c0%20.001-42.731%2010.67-22.324%2034.187'%20/%3e%3cpath%20fill='%230074bd'%20d='M102.123%20108.229s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.094.171c-4.451-1.938%203.899-4.625%206.526-5.192c2.739-.593%204.303-.485%204.303-.485c-4.953-3.487-32.013%206.85-13.743%209.815c49.821%208.076%2090.817-3.637%2077.896-9.468M49.912%2070.294s-22.686%205.389-8.033%207.348c6.188.828%2018.518.638%2030.011-.326c9.39-.789%2018.813-2.474%2018.813-2.474s-3.308%201.419-5.704%203.053c-23.042%206.061-67.544%203.238-54.731-2.958c10.832-5.239%2019.644-4.643%2019.644-4.643m40.697%2022.747c23.421-12.167%2012.591-23.86%205.032-22.285c-1.848.385-2.677.72-2.677.72s.688-1.079%202-1.543c14.953-5.255%2026.451%2015.503-4.823%2023.725c0-.002.359-.327.468-.617'%20/%3e%3cpath%20fill='%23ea2d2e'%20d='M76.491%201.587S89.459%2014.563%2064.188%2034.51c-20.266%2016.006-4.621%2025.13-.007%2035.559c-11.831-10.673-20.509-20.07-14.688-28.815C58.041%2028.42%2081.722%2022.195%2076.491%201.587'%20/%3e%3cpath%20fill='%230074bd'%20d='M52.214%20126.021c22.476%201.437%2057-.8%2057.817-11.436c0%200-1.571%204.032-18.577%207.231c-19.186%203.612-42.854%203.191-56.887.874c0%20.001%202.875%202.381%2017.647%203.331'%20/%3e%3c/svg%3e",
26
+ kotlin: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cdefs%3e%3clinearGradient%20id='deviconKotlin0'%20x1='500.003'%20x2='-.097'%20y1='579.106'%20y2='1079.206'%20gradientTransform='translate(15.534%20-96.774)scale(.1939)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.003'%20stop-color='%23e44857'%20/%3e%3cstop%20offset='.469'%20stop-color='%23c711e1'%20/%3e%3cstop%20offset='1'%20stop-color='%237f52ff'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23deviconKotlin0)'%20d='M112.484%20112.484H15.516V15.516h96.968L64%2064Zm0%200'%20/%3e%3c/svg%3e",
27
+ go: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cg%20fill='%2300acd7'%20fill-rule='evenodd'%3e%3cpath%20d='M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zm-9.152%205.575c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zm62.91-12.242c-3.819.97-6.425%201.697-10.182%202.666c-.91.243-.97.303-1.758-.606c-.909-1.03-1.576-1.697-2.848-2.303c-3.819-1.878-7.516-1.333-10.97.91c-4.121%202.666-6.242%206.605-6.182%2011.514c.06%204.849%203.394%208.849%208.182%209.516c4.121.545%207.576-.91%2010.303-4c.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818c.788-1.879%202.242-5.03%203.09-6.606c.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91c-.667%204.363-2.303%208.363-4.97%2011.878c-4.364%205.758-10.06%209.333-17.273%2010.303c-5.939.788-11.454-.364-16.302-4c-4.485-3.394-7.03-7.879-7.697-13.454c-.788-6.606%201.151-12.546%205.151-17.758c4.303-5.636%2010-9.212%2016.97-10.485c5.697-1.03%2011.151-.363%2016.06%202.97c3.212%202.121%205.515%205.03%207.03%208.545c.364.546.122.849-.606%201.03z'%20/%3e%3cpath%20fill-rule='nonzero'%20d='M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334c-3.576-3.09-5.818-7.03-6.545-11.697c-1.091-6.848.787-12.909%204.909-18.302c4.424-5.819%209.757-8.849%2016.97-10.122c6.181-1.09%2012-.484%2017.272%203.091c4.788%203.273%207.757%207.697%208.545%2013.515c1.03%208.182-1.333%2014.849-6.97%2020.546c-4%204.06-8.909%206.606-14.545%207.757c-1.636.303-3.273.364-4.848.546m14.424-24.485c-.06-.788-.06-1.394-.182-2c-1.09-6-6.606-9.394-12.363-8.06c-5.637%201.272-9.273%204.848-10.606%2010.545c-1.091%204.727%201.212%209.515%205.575%2011.454c3.334%201.455%206.667%201.273%209.879-.363c4.788-2.485%207.394-6.364%207.697-11.576'%20/%3e%3c/g%3e%3c/svg%3e",
28
+ python: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3clinearGradient%20id='deviconPython0'%20x1='70.252'%20x2='170.659'%20y1='1237.476'%20y2='1151.089'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%235a9fd4'%20/%3e%3cstop%20offset='1'%20stop-color='%23306998'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='deviconPython1'%20x1='209.474'%20x2='173.62'%20y1='1098.811'%20y2='1149.537'%20gradientTransform='matrix(.563%200%200%20-.568%20-29.215%20707.817)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23ffd43b'%20/%3e%3cstop%20offset='1'%20stop-color='%23ffe873'%20/%3e%3c/linearGradient%3e%3cpath%20fill='url(%23deviconPython0)'%20d='M63.391%201.988c-4.222.02-8.252.379-11.8%201.007c-10.45%201.846-12.346%205.71-12.346%2012.837v9.411h24.693v3.137H29.977c-7.176%200-13.46%204.313-15.426%2012.521c-2.268%209.405-2.368%2015.275%200%2025.096c1.755%207.311%205.947%2012.519%2013.124%2012.519h8.491V67.234c0-8.151%207.051-15.34%2015.426-15.34h24.665c6.866%200%2012.346-5.654%2012.346-12.548V15.833c0-6.693-5.646-11.72-12.346-12.837c-4.244-.706-8.645-1.027-12.866-1.008M50.037%209.557c2.55%200%204.634%202.117%204.634%204.721c0%202.593-2.083%204.69-4.634%204.69c-2.56%200-4.633-2.097-4.633-4.69c-.001-2.604%202.073-4.721%204.633-4.721'%20transform='translate(0%2010.26)'%20/%3e%3cpath%20fill='url(%23deviconPython1)'%20d='M91.682%2028.38v10.966c0%208.5-7.208%2015.655-15.426%2015.655H51.591c-6.756%200-12.346%205.783-12.346%2012.549v23.515c0%206.691%205.818%2010.628%2012.346%2012.547c7.816%202.297%2015.312%202.713%2024.665%200c6.216-1.801%2012.346-5.423%2012.346-12.547v-9.412H63.938v-3.138h37.012c7.176%200%209.852-5.005%2012.348-12.519c2.578-7.735%202.467-15.174%200-25.096c-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zM77.809%2087.927c2.561%200%204.634%202.097%204.634%204.692c0%202.602-2.074%204.719-4.634%204.719c-2.55%200-4.633-2.117-4.633-4.719c0-2.595%202.083-4.692%204.633-4.692'%20transform='translate(0%2010.26)'%20/%3e%3cradialGradient%20id='deviconPython2'%20cx='1825.678'%20cy='444.45'%20r='26.743'%20gradientTransform='matrix(0%20-.24%20-1.055%200%20532.979%20557.576)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23b8b8b8'%20stop-opacity='0.498'%20/%3e%3cstop%20offset='1'%20stop-color='%237f7f7f'%20stop-opacity='0'%20/%3e%3c/radialGradient%3e%3cpath%20fill='url(%23deviconPython2)'%20d='M97.309%20119.597c0%203.543-14.816%206.416-33.091%206.416c-18.276%200-33.092-2.873-33.092-6.416s14.815-6.417%2033.092-6.417c18.275%200%2033.091%202.872%2033.091%206.417'%20opacity='0.444'%20/%3e%3c/svg%3e",
29
+ sql: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300618a'%20d='M117.688%2098.242c-6.973-.191-12.297.461-16.852%202.379c-1.293.547-3.355.559-3.566%202.18c.711.746.82%201.859%201.387%202.777c1.086%201.754%202.922%204.113%204.559%205.352c1.789%201.348%203.633%202.793%205.551%203.961c3.414%202.082%207.223%203.27%2010.504%205.352c1.938%201.23%203.859%202.777%205.75%204.164c.934.684%201.563%201.75%202.773%202.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719c-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219%204.172-.914%205.949-1.391c2.98-.797%205.645-.59%208.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152c-4.441-3.781-9.285-7.555-14.273-10.703c-2.766-1.746-6.184-2.883-9.117-4.363c-.988-.496-2.719-.758-3.371-1.586c-1.539-1.961-2.379-4.449-3.566-6.738c-2.488-4.793-4.93-10.023-7.137-15.066c-1.504-3.437-2.484-6.828-4.359-9.91c-9-14.797-18.687-23.73-33.695-32.508c-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977%203.52%204.223-3.312.539%205.672C-1.785%2011.34%204.016%2016.871%206.09%2019.746c1.457%202.012%203.32%204.273%204.359%206.539c.688%201.492.805%202.984%201.391%204.559c1.438%203.883%202.695%208.109%204.559%2011.695c.941%201.816%201.98%203.727%203.172%205.352c.727.996%201.98%201.438%202.18%202.973c-1.227%201.715-1.297%204.375-1.984%206.543c-3.098%209.77-1.926%2021.91%202.578%2029.137c1.383%202.223%204.641%206.98%209.117%205.156c3.918-1.598%203.043-6.539%204.164-10.902c.254-.988.098-1.715.594-2.379v.199l3.57%207.133c2.641%204.254%207.324%208.699%2011.297%2011.699c2.059%201.555%203.68%204.242%206.344%205.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781c-1.551-1.523-3.277-3.414-4.559-5.156c-3.613-4.902-6.805-10.27-9.711-15.855c-1.391-2.668-2.598-5.609-3.77-8.324c-.453-1.047-.445-2.633-1.387-3.172c-1.281%201.988-3.172%203.598-4.164%205.945c-1.582%203.754-1.789%208.336-2.375%2013.082c-.348.125-.195.039-.398.199c-2.762-.668-3.73-3.508-4.758-5.949c-2.594-6.164-3.078-16.09-.793-23.191c.59-1.836%203.262-7.617%202.18-9.316c-.516-1.691-2.219-2.672-3.172-3.965c-1.18-1.598-2.355-3.703-3.172-5.551c-2.125-4.805-3.113-10.203-5.352-15.062c-1.07-2.324-2.875-4.676-4.359-6.738c-1.645-2.289-3.484-3.977-4.758-6.742c-.453-.984-1.066-2.559-.398-3.566c.215-.684.516-.969%201.191-1.191c1.148-.887%204.352.297%205.547.793c3.18%201.32%205.832%202.578%208.527%204.363c1.289.855%202.598%202.512%204.16%202.973h1.785c2.789.641%205.914.195%208.523.988c4.609%201.402%208.738%203.582%2012.488%205.949c11.422%207.215%2020.766%2017.48%2027.156%2029.734c1.027%201.973%201.473%203.852%202.379%205.945c1.824%204.219%204.125%208.559%205.941%2012.688c1.816%204.113%203.582%208.27%206.148%2011.695c1.348%201.801%206.551%202.766%208.918%203.766c1.66.699%204.379%201.43%205.949%202.379c3%201.809%205.906%203.965%208.723%205.945c1.402.992%205.73%203.168%205.945%204.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695%201.422%201.918%202.34%202.777%203.566l1.98%204.164l.199-.195c1.227-.867%201.789-2.25%201.781-4.363c-.492-.52-.562-1.164-.992-1.785c-.562-.824-1.66-1.289-2.375-1.98zm0%200'%20/%3e%3c/svg%3e",
30
+ json: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='M5%203h2v2H5v5a2%202%200%200%201-2%202a2%202%200%200%201%202%202v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2%202%200%200%200-2-2H0v-2h1a2%202%200%200%200%202-2V5a2%202%200%200%201%202-2m14%200a2%202%200%200%201%202%202v4a2%202%200%200%200%202%202h1v2h-1a2%202%200%200%200-2%202v4a2%202%200%200%201-2%202h-2v-2h2v-5a2%202%200%200%201%202-2a2%202%200%200%201-2-2V5h-2V3zm-7%2012a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m-4%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1m8%200a1%201%200%200%201%201%201a1%201%200%200%201-1%201a1%201%200%200%201-1-1a1%201%200%200%201%201-1'%20/%3e%3c/svg%3e",
31
+ lua: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23000080'%20d='M112.956.708c-7.912%200-14.335%206.424-14.335%2014.336s6.424%2014.335%2014.335%2014.335s14.335-6.41%2014.335-14.335c0-7.912-6.424-14.336-14.335-14.336M64%2015.058c-27.02%200-48.956%2021.935-48.956%2048.955S36.979%20112.97%2064%20112.97c27.02%200%2048.956-21.935%2048.956-48.956c0-27.02-21.936-48.956-48.956-48.956'%20/%3e%3cpath%20fill='%23fff'%20d='M84.285%2029.392c-7.91%200-14.335%206.424-14.335%2014.335s6.424%2014.336%2014.335%2014.336s14.336-6.424%2014.336-14.336s-6.424-14.335-14.335-14.335zM30.773%2056.36v32.119h19.961v-3.611H34.87V56.359Zm57.584%208.37c-3.354%200-6.126.975-7.668%202.692c-1.055%201.19-1.488%202.516-1.582%204.801h3.705c.311-2.826%201.988-4.098%205.423-4.098c3.3%200%205.153%201.231%205.153%203.435v.974c0%201.542-.92%202.205-3.827%202.556c-5.193.663-5.991.839-7.398%201.407c-2.69%201.095-4.057%203.164-4.057%206.166c0%204.193%202.908%206.83%207.574%206.83c2.907%200%205.247-1.014%207.843-3.395c.257%202.34%201.407%203.395%203.787%203.395c.757%200%201.325-.081%202.515-.392v-2.773a3%203%200%200%201-.798.095c-1.284%200-1.988-.663-1.988-1.812V71.032c0-4.098-3.002-6.302-8.682-6.302m-33.742.664V83.19c0%203.84%202.867%206.302%207.357%206.302c3.395%200%205.545-1.19%207.709-4.233v3.219h3.3V65.393h-3.652v13.09c0%204.72-2.475%207.804-6.302%207.804c-2.907%200-4.76-1.772-4.76-4.544v-16.35Zm38.773%2011.67v4.139c0%201.244-.365%201.988-1.46%203.002c-1.502%201.366-3.3%202.07-5.464%202.07c-2.867%200-4.544-1.367-4.544-3.706c0-2.42%201.636-3.665%205.558-4.233c3.881-.528%204.68-.703%205.91-1.271z'%20/%3e%3cpath%20fill='%23808080'%20d='M61.733%200a64%2064%200%200%200-5.57.436l.179%201.458a63%2063%200%200%201%205.442-.426zm5.585.046l-.075%201.468a62%2062%200%200%201%205.433.52L72.88.578a64%2064%200%200%200-5.561-.532Zm-16.665%201.31a63%2063%200%200%200-5.409%201.398l.43%201.405a62%2062%200%200%201%205.284-1.367Zm27.72.237l-.33%201.431a63%2063%200%200%201%205.262%201.455l.452-1.397a64%2064%200%200%200-5.384-1.489M39.98%204.623a64%2064%200%200%200-5.081%202.323l.668%201.308a62%2062%200%200%201%204.964-2.27zm49.012.41l-.573%201.353a63%2063%200%200%201%204.929%202.346l.688-1.298a64%2064%200%200%200-5.044-2.4ZM30.04%209.706a64%2064%200%200%200-4.6%203.17l.886%201.173a63%2063%200%200%201%204.494-3.098zm-8.906%206.728a64%2064%200%200%200-3.983%203.918l1.075%201.001a63%2063%200%200%201%203.891-3.827zm-7.61%208.165a64%2064%200%200%200-3.247%204.546l1.231.8a63%2063%200%200%201%203.172-4.44zm-6.086%209.357a64%2064%200%200%200-2.408%205.042l1.352.574a62%2062%200%200%201%202.352-4.925zm113.623.973l-1.31.667a63%2063%200%200%201%202.263%204.967l1.362-.55a64%2064%200%200%200-2.315-5.083zM3.075%2044.23a63%2063%200%200%200-1.49%205.385l1.432.328a62%2062%200%200%201%201.455-5.26Zm122.166%201.049l-1.404.429a63%2063%200%200%201%201.366%205.285l1.437-.306a64%2064%200%200%200-1.399-5.409zM.574%2055.108a64%2064%200%200%200-.528%205.561l1.467.075a63%2063%200%200%201%20.516-5.434Zm126.988%201.088l-1.458.179a63%2063%200%200%201%20.428%205.441l1.468-.05a64%2064%200%200%200-.438-5.57M1.468%2066.205L0%2066.255a64%2064%200%200%200%20.435%205.57l1.458-.179a63%2063%200%200%201-.425-5.441m125.018%201.071a63%2063%200%200%201-.518%205.434l1.455.203a64%2064%200%200%200%20.53-5.561zM2.79%2077.031l-1.437.304a63%2063%200%200%200%201.398%205.41l1.405-.43A62%2062%200%200%201%202.79%2077.03Zm122.188%201.046a62%2062%200%200%201-1.457%205.26l1.397.454a63%2063%200%200%200%201.492-5.384zM5.981%2087.459l-1.362.551a63%2063%200%200%200%202.323%205.082l1.307-.669a62%2062%200%200%201-2.268-4.964m115.627.99a62%2062%200%200%201-2.354%204.925l1.296.69a64%2064%200%200%200%202.41-5.04zM10.944%2097.17l-1.245.78a64%2064%200%200%200%203.17%204.6l1.172-.885a63%2063%200%200%201-3.097-4.495m105.534.904a63%2063%200%200%201-3.173%204.44l1.156.906a64%2064%200%200%200%203.249-4.545zm-98.96%207.8l-1.092.983a64%2064%200%200%200%203.917%203.983l1.002-1.074a63%2063%200%200%201-3.827-3.892m92.24.79a63%2063%200%200%201-3.893%203.826l.983%201.092a64%2064%200%200%200%203.984-3.916zm-84.263%206.648l-.906%201.157a64%2064%200%200%200%204.546%203.248l.8-1.232a63%2063%200%200%201-4.44-3.173m76.16.654a63%2063%200%200%201-4.495%203.096l.78%201.245a64%2064%200%200%200%204.6-3.17zm-67.018%205.294l-.691%201.296a64%2064%200%200%200%205.04%202.409l.575-1.352a62%2062%200%200%201-4.924-2.353m57.775.496a62%2062%200%200%201-4.964%202.268l.551%201.362a63%2063%200%200%200%205.082-2.322zm-47.74%203.77l-.453%201.396a63%2063%200%200%200%205.385%201.49l.329-1.43a62%2062%200%200%201-5.26-1.456zm37.632.322a62%2062%200%200%201-5.284%201.365l.304%201.437a63%2063%200%200%200%205.41-1.398zm-27.003%202.122l-.203%201.455a64%2064%200%200%200%205.561.529l.075-1.467a63%2063%200%200%201-5.433-.517m16.335.139a63%2063%200%200%201-5.442.424l.05%201.468a64%2064%200%200%200%205.57-.434z'%20/%3e%3c/svg%3e",
32
+ csharp: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%239b4f96'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2368217a'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8zM97%2066.2l.9-4.3h-4.2v-4.7h5.1L100%2051h4.9l-1.2%206.1h3.8l1.2-6.1h4.8l-1.2%206.1h2.4v4.7h-3.3l-.9%204.3h4.2v4.7h-5.1l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6h-2.4v-4.7H97zm4.8%200h3.8l.9-4.3h-3.8z'%20/%3e%3c/svg%3e",
33
+ cpp: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%2300599c'%20d='M118.766%2095.82c.89-1.543%201.441-3.28%201.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32%2031.94Zm0%200'%20/%3e%3cpath%20fill='%23004482'%20d='m68.36%20126.586l46.933-27.094c1.352-.781%202.582-2.129%203.473-3.672l-55.32-31.94L8.12%2095.82c.89%201.543%202.121%202.89%203.473%203.672l46.933%2027.094c2.703%201.562%207.13%201.562%209.832%200Zm0%200'%20/%3e%3cpath%20fill='%23659ad2'%20d='M118.766%2031.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359%201.172c-2.703-1.563-7.129-1.563-9.832%200L11.594%2028.27C8.89%2029.828%206.68%2033.66%206.68%2036.78v54.196c0%201.562.55%203.3%201.441%204.843L63.445%2063.88Zm0%200'%20/%3e%3cpath%20fill='%23fff'%20d='M63.445%2026.035c-20.867%200-37.843%2016.977-37.843%2037.844s16.976%2037.844%2037.843%2037.844c13.465%200%2026.024-7.247%2032.77-18.91L79.84%2073.335c-3.38%205.84-9.66%209.465-16.395%209.465c-10.433%200-18.922-8.488-18.922-18.922s8.49-18.922%2018.922-18.922c6.73%200%2013.017%203.629%2016.39%209.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88%2057.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766%200v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z'%20/%3e%3c/svg%3e",
34
+ c: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23659ad3'%20d='M115.4%2030.7L67.1%202.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.4%201%203.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7'%20/%3e%3cpath%20fill='%2303599c'%20d='M10.7%2095.3c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7s2.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z'%20/%3e%3cpath%20fill='%23fff'%20d='M85.3%2076.1C81.1%2083.5%2073.1%2088.5%2064%2088.5c-13.5%200-24.5-11-24.5-24.5s11-24.5%2024.5-24.5c9.1%200%2017.1%205%2021.3%2012.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8%200-39.5%2017.7-39.5%2039.5s17.7%2039.5%2039.5%2039.5c14.6%200%2027.4-8%2034.2-19.8z'%20/%3e%3c/svg%3e",
35
+ file: "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e"
36
+ }, Ye = (e) => /* @__PURE__ */ u("img", {
37
+ className: qe.icon,
38
+ src: Je[e.language] || "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23788191'%20d='m12.89%203l1.96.4L11.11%2021l-1.96-.4zm6.7%209L16%208.41V5.58L22.42%2012L16%2018.41v-2.83zM1.58%2012L8%205.58v2.83L4.41%2012L8%2015.58v2.83z'%20/%3e%3c/svg%3e",
39
+ width: e.size,
40
+ height: e.size,
41
+ alt: e.language,
42
+ style: {
43
+ width: e.size,
44
+ height: e.size,
45
+ ...e.style
46
+ }
47
+ }), Xe = [
48
+ "rust",
49
+ "javascript",
50
+ "typescript",
51
+ "shell",
52
+ "terraform",
53
+ "html",
54
+ "css",
55
+ "npm",
56
+ "java",
57
+ "kotlin",
58
+ "go",
59
+ "python",
60
+ "sql",
61
+ "json",
62
+ "lua",
63
+ "csharp",
64
+ "cpp",
65
+ "c",
66
+ "file"
67
+ ], Ze = { icon: "_icon_fs4e2_1" }, C = (e) => /* @__PURE__ */ u("div", {
68
+ className: Ze["elm-mdi-icon"],
69
+ style: e.style,
70
+ children: /* @__PURE__ */ u("svg", {
71
+ width: e.size || "1.25rem",
72
+ height: e.size || "1.25rem",
73
+ viewBox: "0 0 24 24",
74
+ focusable: "false",
75
+ role: "img",
76
+ className: Ze.icon,
77
+ children: /* @__PURE__ */ u("path", {
78
+ style: { color: e.color },
79
+ fill: "currentColor",
80
+ d: e.d
81
+ })
82
+ })
83
+ }), Qe = {
84
+ wrapper: "_wrapper_1q92c_15",
85
+ dot: "_dot_1q92c_22",
86
+ bounce: "_bounce_1q92c_1"
87
+ }, w = (e) => {
88
+ let { color: t, size: n = "64px", style: r } = e;
89
+ return /* @__PURE__ */ u("div", {
90
+ className: Qe.wrapper,
91
+ style: {
92
+ width: n,
93
+ height: n,
94
+ ...r
95
+ },
96
+ children: [
97
+ 1,
98
+ 2,
99
+ 3
100
+ ].map((e) => /* @__PURE__ */ u("div", {
101
+ className: Qe.dot,
102
+ "aria-hidden": !0,
103
+ style: t ? { backgroundColor: t } : void 0
104
+ }, e))
105
+ });
106
+ }, $e = {
107
+ wrapper: "_wrapper_1yu3x_19",
108
+ square: "_square_1yu3x_28",
109
+ appear: "_appear_1yu3x_1"
110
+ }, et = 1200, tt = (e) => {
111
+ let { size: t = "3rem", dimensions: n = 4, style: r } = e, i = et / (n * 3), a = Array.from({ length: n });
112
+ return /* @__PURE__ */ u("div", {
113
+ className: $e.wrapper,
114
+ style: {
115
+ "--size": t,
116
+ "--dimensions": n,
117
+ "--duration": `${et}ms`,
118
+ ...r
119
+ },
120
+ children: a.map((e, t) => a.map((e, n) => /* @__PURE__ */ u("div", {
121
+ className: $e.square,
122
+ style: { "--delay": `${i * (t + n)}ms` }
123
+ }, `${t}-${n}`)))
124
+ });
125
+ }, nt = { icon: "_icon_x4u0f_1" }, rt = "elmethis-theme";
126
+ function it() {
127
+ if (typeof document < "u") {
128
+ let e = document.documentElement.getAttribute("data-theme");
129
+ if (e != null) return e === "dark";
130
+ }
131
+ if (typeof localStorage < "u") {
132
+ let e = localStorage.getItem(rt);
133
+ if (e != null) return e === "dark";
134
+ }
135
+ return !1;
136
+ }
137
+ function at() {
138
+ let [e, t] = c(it), r = n(() => {
139
+ t((e) => !e);
140
+ }, []);
141
+ return i(() => {
142
+ if (typeof document < "u") {
143
+ document.documentElement.setAttribute("data-theme", e ? "dark" : "light");
144
+ let t = document.querySelector("body");
145
+ t != null && (t.style.colorScheme = e ? "dark" : "light"), typeof localStorage < "u" && localStorage.setItem(rt, e ? "dark" : "light");
146
+ }
147
+ }, [e]), {
148
+ isDarkTheme: e,
149
+ toggleTheme: r
150
+ };
151
+ }
152
+ //#endregion
153
+ //#region src/components/icon/ElmToggleTheme.tsx
154
+ var ot = (e) => {
155
+ let { size: t = "2rem", style: n } = e, { isDarkTheme: r, toggleTheme: i } = at();
156
+ return r ? /* @__PURE__ */ d("svg", {
157
+ xmlns: "http://www.w3.org/2000/svg",
158
+ width: t,
159
+ height: t,
160
+ viewBox: "0 0 24 24",
161
+ className: nt.icon,
162
+ style: n,
163
+ onClick: i,
164
+ children: [
165
+ /* @__PURE__ */ d("path", {
166
+ fillOpacity: "0",
167
+ d: "M15.22 6.03l2.53-1.94L14.56 4L13.5 1l-1.06 3l-3.19.09l2.53 1.94l-.91 3.06l2.63-1.81l2.63 1.81z",
168
+ fill: "currentColor",
169
+ children: [/* @__PURE__ */ u("animate", {
170
+ id: "lineMdSunnyOutlineToMoonLoopTransition0",
171
+ fill: "freeze",
172
+ attributeName: "fill-opacity",
173
+ begin: "0.6s;lineMdSunnyOutlineToMoonLoopTransition0.begin+6s",
174
+ dur: "0.4s",
175
+ values: "0;1"
176
+ }), /* @__PURE__ */ u("animate", {
177
+ fill: "freeze",
178
+ attributeName: "fill-opacity",
179
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+2.2s",
180
+ dur: "0.4s",
181
+ values: "1;0"
182
+ })]
183
+ }),
184
+ /* @__PURE__ */ d("path", {
185
+ fillOpacity: "0",
186
+ d: "M13.61 5.25L15.25 4l-2.06-.05L12.5 2l-.69 1.95L9.75 4l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z",
187
+ fill: "currentColor",
188
+ children: [/* @__PURE__ */ u("animate", {
189
+ fill: "freeze",
190
+ attributeName: "fill-opacity",
191
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+3s",
192
+ dur: "0.4s",
193
+ values: "0;1"
194
+ }), /* @__PURE__ */ u("animate", {
195
+ fill: "freeze",
196
+ attributeName: "fill-opacity",
197
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+5.2s",
198
+ dur: "0.4s",
199
+ values: "1;0"
200
+ })]
201
+ }),
202
+ /* @__PURE__ */ d("path", {
203
+ fillOpacity: "0",
204
+ d: "M19.61 12.25L21.25 11l-2.06-.05L18.5 9l-.69 1.95l-2.06.05l1.64 1.25l-.59 1.98l1.7-1.17l1.7 1.17z",
205
+ fill: "currentColor",
206
+ children: [/* @__PURE__ */ u("animate", {
207
+ fill: "freeze",
208
+ attributeName: "fill-opacity",
209
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+0.4s",
210
+ dur: "0.4s",
211
+ values: "0;1"
212
+ }), /* @__PURE__ */ u("animate", {
213
+ fill: "freeze",
214
+ attributeName: "fill-opacity",
215
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+2.8s",
216
+ dur: "0.4s",
217
+ values: "1;0"
218
+ })]
219
+ }),
220
+ /* @__PURE__ */ d("path", {
221
+ fillOpacity: "0",
222
+ d: "M20.828 9.731l1.876-1.439l-2.366-.067L19.552 6l-.786 2.225l-2.366.067l1.876 1.439L17.601 12l1.951-1.342L21.503 12z",
223
+ fill: "currentColor",
224
+ children: [/* @__PURE__ */ u("animate", {
225
+ fill: "freeze",
226
+ attributeName: "fill-opacity",
227
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+3.4s",
228
+ dur: "0.4s",
229
+ values: "0;1"
230
+ }), /* @__PURE__ */ u("animate", {
231
+ fill: "freeze",
232
+ attributeName: "fill-opacity",
233
+ begin: "lineMdSunnyOutlineToMoonLoopTransition0.begin+5.6s",
234
+ dur: "0.4s",
235
+ values: "1;0"
236
+ })]
237
+ }),
238
+ /* @__PURE__ */ d("g", {
239
+ fill: "none",
240
+ stroke: "currentColor",
241
+ strokeLinecap: "round",
242
+ strokeLinejoin: "round",
243
+ strokeWidth: "2",
244
+ children: [/* @__PURE__ */ d("g", { children: [
245
+ /* @__PURE__ */ u("path", {
246
+ strokeDasharray: "2",
247
+ strokeDashoffset: "4",
248
+ d: "M12 21v1M21 12h1M12 3v-1M3 12h-1",
249
+ children: /* @__PURE__ */ u("animate", {
250
+ fill: "freeze",
251
+ attributeName: "stroke-dashoffset",
252
+ dur: "0.2s",
253
+ values: "4;2"
254
+ })
255
+ }),
256
+ /* @__PURE__ */ u("path", {
257
+ strokeDasharray: "2",
258
+ strokeDashoffset: "4",
259
+ d: "M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5",
260
+ children: /* @__PURE__ */ u("animate", {
261
+ fill: "freeze",
262
+ attributeName: "stroke-dashoffset",
263
+ begin: "0.2s",
264
+ dur: "0.2s",
265
+ values: "4;2"
266
+ })
267
+ }),
268
+ /* @__PURE__ */ u("set", {
269
+ fill: "freeze",
270
+ attributeName: "opacity",
271
+ begin: "0.5s",
272
+ to: "0"
273
+ })
274
+ ] }), /* @__PURE__ */ u("path", {
275
+ d: "M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z",
276
+ opacity: "0",
277
+ children: /* @__PURE__ */ u("set", {
278
+ fill: "freeze",
279
+ attributeName: "opacity",
280
+ begin: "0.5s",
281
+ to: "1"
282
+ })
283
+ })]
284
+ }),
285
+ /* @__PURE__ */ d("mask", {
286
+ id: "lineMdSunnyOutlineToMoonLoopTransition1",
287
+ children: [
288
+ /* @__PURE__ */ u("circle", {
289
+ cx: "12",
290
+ cy: "12",
291
+ r: "12",
292
+ fill: "#fff"
293
+ }),
294
+ /* @__PURE__ */ u("circle", {
295
+ cx: "12",
296
+ cy: "12",
297
+ r: "4",
298
+ children: /* @__PURE__ */ u("animate", {
299
+ fill: "freeze",
300
+ attributeName: "r",
301
+ begin: "0.1s",
302
+ dur: "0.4s",
303
+ values: "4;8"
304
+ })
305
+ }),
306
+ /* @__PURE__ */ d("circle", {
307
+ cx: "22",
308
+ cy: "2",
309
+ r: "3",
310
+ fill: "#fff",
311
+ children: [
312
+ /* @__PURE__ */ u("animate", {
313
+ fill: "freeze",
314
+ attributeName: "cx",
315
+ begin: "0.1s",
316
+ dur: "0.4s",
317
+ values: "22;18"
318
+ }),
319
+ /* @__PURE__ */ u("animate", {
320
+ fill: "freeze",
321
+ attributeName: "cy",
322
+ begin: "0.1s",
323
+ dur: "0.4s",
324
+ values: "2;6"
325
+ }),
326
+ /* @__PURE__ */ u("animate", {
327
+ fill: "freeze",
328
+ attributeName: "r",
329
+ begin: "0.1s",
330
+ dur: "0.4s",
331
+ values: "3;12"
332
+ })
333
+ ]
334
+ }),
335
+ /* @__PURE__ */ d("circle", {
336
+ cx: "22",
337
+ cy: "2",
338
+ r: "1",
339
+ children: [
340
+ /* @__PURE__ */ u("animate", {
341
+ fill: "freeze",
342
+ attributeName: "cx",
343
+ begin: "0.1s",
344
+ dur: "0.4s",
345
+ values: "22;18"
346
+ }),
347
+ /* @__PURE__ */ u("animate", {
348
+ fill: "freeze",
349
+ attributeName: "cy",
350
+ begin: "0.1s",
351
+ dur: "0.4s",
352
+ values: "2;6"
353
+ }),
354
+ /* @__PURE__ */ u("animate", {
355
+ fill: "freeze",
356
+ attributeName: "r",
357
+ begin: "0.1s",
358
+ dur: "0.4s",
359
+ values: "1;10"
360
+ })
361
+ ]
362
+ })
363
+ ]
364
+ }),
365
+ /* @__PURE__ */ d("circle", {
366
+ cx: "12",
367
+ cy: "12",
368
+ r: "6",
369
+ mask: "url(#lineMdSunnyOutlineToMoonLoopTransition1)",
370
+ fill: "currentColor",
371
+ children: [/* @__PURE__ */ u("animate", {
372
+ fill: "freeze",
373
+ attributeName: "r",
374
+ begin: "0.1s",
375
+ dur: "0.4s",
376
+ values: "6;10"
377
+ }), /* @__PURE__ */ u("set", {
378
+ fill: "freeze",
379
+ attributeName: "opacity",
380
+ begin: "0.5s",
381
+ to: "0"
382
+ })]
383
+ })
384
+ ]
385
+ }) : /* @__PURE__ */ d("svg", {
386
+ xmlns: "http://www.w3.org/2000/svg",
387
+ width: t,
388
+ height: t,
389
+ viewBox: "0 0 24 24",
390
+ className: nt.icon,
391
+ style: n,
392
+ onClick: i,
393
+ children: [
394
+ /* @__PURE__ */ d("g", {
395
+ fill: "none",
396
+ stroke: "currentColor",
397
+ strokeLinecap: "round",
398
+ strokeLinejoin: "round",
399
+ strokeWidth: "2",
400
+ children: [
401
+ /* @__PURE__ */ d("path", {
402
+ strokeDasharray: "2",
403
+ strokeDashoffset: "2",
404
+ d: "M12 19v1M19 12h1M12 5v-1M5 12h-1",
405
+ children: [/* @__PURE__ */ u("animate", {
406
+ fill: "freeze",
407
+ attributeName: "d",
408
+ begin: "1.2s",
409
+ dur: "0.2s",
410
+ values: "M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1"
411
+ }), /* @__PURE__ */ u("animate", {
412
+ fill: "freeze",
413
+ attributeName: "stroke-dashoffset",
414
+ begin: "1.2s",
415
+ dur: "0.2s",
416
+ values: "2;0"
417
+ })]
418
+ }),
419
+ /* @__PURE__ */ d("path", {
420
+ strokeDasharray: "2",
421
+ strokeDashoffset: "2",
422
+ d: "M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5",
423
+ children: [/* @__PURE__ */ u("animate", {
424
+ fill: "freeze",
425
+ attributeName: "d",
426
+ begin: "1.4s",
427
+ dur: "0.2s",
428
+ values: "M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5"
429
+ }), /* @__PURE__ */ u("animate", {
430
+ fill: "freeze",
431
+ attributeName: "stroke-dashoffset",
432
+ begin: "1.4s",
433
+ dur: "0.2s",
434
+ values: "2;0"
435
+ })]
436
+ }),
437
+ /* @__PURE__ */ u("animateTransform", {
438
+ attributeName: "transform",
439
+ dur: "30s",
440
+ repeatCount: "indefinite",
441
+ type: "rotate",
442
+ values: "0 12 12;360 12 12"
443
+ })
444
+ ]
445
+ }),
446
+ /* @__PURE__ */ d("g", {
447
+ fill: "currentColor",
448
+ children: [/* @__PURE__ */ u("path", {
449
+ d: "M15.22 6.03L17.75 4.09L14.56 4L13.5 1L12.44 4L9.25 4.09L11.78 6.03L10.87 9.09L13.5 7.28L16.13 9.09L15.22 6.03Z",
450
+ children: /* @__PURE__ */ u("animate", {
451
+ fill: "freeze",
452
+ attributeName: "fill-opacity",
453
+ dur: "0.4s",
454
+ values: "1;0"
455
+ })
456
+ }), /* @__PURE__ */ u("path", {
457
+ d: "M19.61 12.25L21.25 11L19.19 10.95L18.5 9L17.81 10.95L15.75 11L17.39 12.25L16.8 14.23L18.5 13.06L20.2 14.23L19.61 12.25Z",
458
+ children: /* @__PURE__ */ u("animate", {
459
+ fill: "freeze",
460
+ attributeName: "fill-opacity",
461
+ begin: "0.2s",
462
+ dur: "0.4s",
463
+ values: "1;0"
464
+ })
465
+ })]
466
+ }),
467
+ /* @__PURE__ */ u("path", {
468
+ fill: "none",
469
+ stroke: "currentColor",
470
+ strokeLinecap: "round",
471
+ strokeLinejoin: "round",
472
+ strokeWidth: "2",
473
+ d: "M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z",
474
+ children: /* @__PURE__ */ u("set", {
475
+ fill: "freeze",
476
+ attributeName: "opacity",
477
+ begin: "0.6s",
478
+ to: "0"
479
+ })
480
+ }),
481
+ /* @__PURE__ */ d("mask", {
482
+ id: "lineMdMoonToSunnyOutlineLoopTransition0",
483
+ children: [
484
+ /* @__PURE__ */ u("circle", {
485
+ cx: "12",
486
+ cy: "12",
487
+ r: "12",
488
+ fill: "#fff"
489
+ }),
490
+ /* @__PURE__ */ u("circle", {
491
+ cx: "12",
492
+ cy: "12",
493
+ r: "8",
494
+ children: /* @__PURE__ */ u("animate", {
495
+ fill: "freeze",
496
+ attributeName: "r",
497
+ begin: "0.6s",
498
+ dur: "0.4s",
499
+ values: "8;4"
500
+ })
501
+ }),
502
+ /* @__PURE__ */ d("circle", {
503
+ cx: "18",
504
+ cy: "6",
505
+ r: "12",
506
+ fill: "#fff",
507
+ children: [
508
+ /* @__PURE__ */ u("animate", {
509
+ fill: "freeze",
510
+ attributeName: "cx",
511
+ begin: "0.6s",
512
+ dur: "0.4s",
513
+ values: "18;22"
514
+ }),
515
+ /* @__PURE__ */ u("animate", {
516
+ fill: "freeze",
517
+ attributeName: "cy",
518
+ begin: "0.6s",
519
+ dur: "0.4s",
520
+ values: "6;2"
521
+ }),
522
+ /* @__PURE__ */ u("animate", {
523
+ fill: "freeze",
524
+ attributeName: "r",
525
+ begin: "0.6s",
526
+ dur: "0.4s",
527
+ values: "12;3"
528
+ })
529
+ ]
530
+ }),
531
+ /* @__PURE__ */ d("circle", {
532
+ cx: "18",
533
+ cy: "6",
534
+ r: "10",
535
+ children: [
536
+ /* @__PURE__ */ u("animate", {
537
+ fill: "freeze",
538
+ attributeName: "cx",
539
+ begin: "0.6s",
540
+ dur: "0.4s",
541
+ values: "18;22"
542
+ }),
543
+ /* @__PURE__ */ u("animate", {
544
+ fill: "freeze",
545
+ attributeName: "cy",
546
+ begin: "0.6s",
547
+ dur: "0.4s",
548
+ values: "6;2"
549
+ }),
550
+ /* @__PURE__ */ u("animate", {
551
+ fill: "freeze",
552
+ attributeName: "r",
553
+ begin: "0.6s",
554
+ dur: "0.4s",
555
+ values: "10;1"
556
+ })
557
+ ]
558
+ })
559
+ ]
560
+ }),
561
+ /* @__PURE__ */ d("circle", {
562
+ cx: "12",
563
+ cy: "12",
564
+ r: "10",
565
+ mask: "url(#lineMdMoonToSunnyOutlineLoopTransition0)",
566
+ opacity: "0",
567
+ fill: "currentColor",
568
+ children: [/* @__PURE__ */ u("animate", {
569
+ fill: "freeze",
570
+ attributeName: "r",
571
+ begin: "0.6s",
572
+ dur: "0.4s",
573
+ values: "10;6"
574
+ }), /* @__PURE__ */ u("set", {
575
+ fill: "freeze",
576
+ attributeName: "opacity",
577
+ begin: "0.6s",
578
+ to: "1"
579
+ })]
580
+ })
581
+ ]
582
+ });
583
+ }, T = {
584
+ arrow: "_arrow_kn879_19",
585
+ loading: "_loading_kn879_49",
586
+ normal: "_normal_kn879_55",
587
+ pending: "_pending_kn879_64"
588
+ }, st = (e) => {
589
+ let { direction: t = "right", loading: n = !1, pending: r = !1, size: i = "2rem", style: a } = e, o = t === "up" ? "rotate(270deg)" : t === "down" ? "rotate(90deg)" : t === "left" ? "rotate(180deg)" : "rotate(0deg)";
590
+ return /* @__PURE__ */ u("div", {
591
+ className: [
592
+ T.arrow,
593
+ !n && !r ? T.normal : void 0,
594
+ n ? T.loading : void 0,
595
+ !n && r ? T.pending : void 0
596
+ ].filter(Boolean).join(" "),
597
+ style: {
598
+ "--size": i,
599
+ transform: o,
600
+ ...a
601
+ }
602
+ });
603
+ }, E = {
604
+ wrapper: "_wrapper_1c6r3_1",
605
+ favicon: "_favicon_1c6r3_24",
606
+ text: "_text_1c6r3_29"
607
+ }, ct = {
608
+ text: "_text_1nnze_1",
609
+ link: "_link_1nnze_19"
610
+ }, D = (e) => {
611
+ let t = (e) => {
612
+ let t = e.children;
613
+ return e.kbd && (t = /* @__PURE__ */ u("kbd", { children: t })), e.code && (t = /* @__PURE__ */ u("code", { children: t })), e.strikethrough && (t = /* @__PURE__ */ u("del", { children: t })), e.underline && (t = /* @__PURE__ */ u("ins", { children: t })), e.italic && (t = /* @__PURE__ */ u("em", { children: t })), e.bold && (t = /* @__PURE__ */ u("strong", { children: t })), e.ruby && (t = /* @__PURE__ */ d("ruby", { children: [t, /* @__PURE__ */ u("rt", { children: e.ruby })] })), t;
614
+ }, n = ({ favicon: e, href: t, children: n }) => /* @__PURE__ */ d("a", {
615
+ className: ct.link,
616
+ href: t,
617
+ target: "_blank",
618
+ rel: "noopener noreferrer",
619
+ children: [e && /* @__PURE__ */ u(S, { src: e }), n]
620
+ }), r = (e) => e.href ? n(e) : t(e);
621
+ return /* @__PURE__ */ u("span", {
622
+ className: ct.text,
623
+ style: {
624
+ "--elmethis-text-color-light": e.color,
625
+ "--elmethis-text-color-dark": e.color,
626
+ "--elmethis-text-background-color-light": e.backgroundColor,
627
+ "--elmethis-text-background-color-dark": e.backgroundColor,
628
+ color: e.color ?? (e.backgroundColor ? p(e.backgroundColor) > .5 ? "#3e434b" : "#eeeff1" : void 0),
629
+ backgroundColor: e.backgroundColor,
630
+ ...e.style
631
+ },
632
+ children: r(e)
633
+ });
634
+ }, lt = (e) => {
635
+ let { name: t, href: n, favicon: r, style: i } = e;
636
+ return /* @__PURE__ */ d("a", {
637
+ className: E.wrapper,
638
+ href: n,
639
+ target: "_blank",
640
+ rel: "noopener noreferrer",
641
+ style: i,
642
+ children: [r == null ? /* @__PURE__ */ u(C, {
643
+ d: _e,
644
+ size: "2.5rem",
645
+ style: { opacity: .7 }
646
+ }) : /* @__PURE__ */ u("img", {
647
+ className: E.favicon,
648
+ src: r,
649
+ alt: `favicon of ${t ?? n}`
650
+ }), /* @__PURE__ */ u("div", {
651
+ className: E.text,
652
+ children: /* @__PURE__ */ u(D, {
653
+ size: ".6rem",
654
+ children: t ?? n
655
+ })
656
+ })]
657
+ });
658
+ }, ut = {
659
+ cube: "_cube_1merk_1",
660
+ "elmethis-cube-icon-rotate": "_elmethis-cube-icon-rotate_1merk_1",
661
+ face: "_face_1merk_8"
662
+ }, dt = [
663
+ {
664
+ name: "front",
665
+ rotate: ""
666
+ },
667
+ {
668
+ name: "back",
669
+ rotate: "rotateY(180deg)"
670
+ },
671
+ {
672
+ name: "left",
673
+ rotate: "rotateY(-90deg)"
674
+ },
675
+ {
676
+ name: "right",
677
+ rotate: "rotateY(90deg)"
678
+ },
679
+ {
680
+ name: "top",
681
+ rotate: "rotateX(90deg)"
682
+ },
683
+ {
684
+ name: "bottom",
685
+ rotate: "rotateX(-90deg)"
686
+ }
687
+ ], ft = (e) => {
688
+ let { size: t = 128, style: n } = e, r = o(() => `translateZ(${t / 2}px)`, [t]);
689
+ return /* @__PURE__ */ u("div", {
690
+ className: ut.cube,
691
+ style: {
692
+ width: `${t}px`,
693
+ height: `${t}px`,
694
+ ...n
695
+ },
696
+ children: dt.map((e) => /* @__PURE__ */ u("div", {
697
+ className: ut.face,
698
+ style: { transform: `${e.rotate} ${r}` }
699
+ }, e.name))
700
+ });
701
+ }, pt = { icon: "_icon_140bn_1" }, mt = (e) => {
702
+ let { size: t = "2rem", isLogin: n = !1, isLoading: r = !1, style: i } = e, a = r ? je : n ? Pe : Ne, o = r ? "gray" : n ? "#b36472" : "#6987b8";
703
+ return /* @__PURE__ */ u("div", {
704
+ className: pt.icon,
705
+ style: i,
706
+ children: /* @__PURE__ */ u(C, {
707
+ d: a,
708
+ color: o,
709
+ size: t
710
+ })
711
+ });
712
+ }, ht = { paragraph: "_paragraph_1tutj_1" }, gt = (e) => /* @__PURE__ */ u("p", {
713
+ className: ht.paragraph,
714
+ style: {
715
+ backgroundColor: e.backgroundColor,
716
+ ...e.style
717
+ },
718
+ children: e.children
719
+ }), O = {
720
+ blockquote: "_blockquote_1p25j_1",
721
+ cite: "_cite_1p25j_17",
722
+ icon: "_icon_1p25j_38"
723
+ }, _t = (e) => {
724
+ let t = s(null), [n, r] = c(!1);
725
+ return i(() => {
726
+ let e = t.current;
727
+ if (!e) return;
728
+ let n = new IntersectionObserver(([e]) => {
729
+ r(e.isIntersecting);
730
+ });
731
+ return n.observe(e), () => n.disconnect();
732
+ }, []), /* @__PURE__ */ d("blockquote", {
733
+ ref: t,
734
+ className: O.blockquote,
735
+ cite: e.cite,
736
+ style: {
737
+ "--opacity": +!!n,
738
+ ...e.style
739
+ },
740
+ children: [
741
+ e.children,
742
+ e.cite && /* @__PURE__ */ u("cite", {
743
+ className: O.cite,
744
+ children: /* @__PURE__ */ u("a", {
745
+ href: e.cite,
746
+ target: "_blank",
747
+ rel: "noopener noreferrer",
748
+ children: e.cite
749
+ })
750
+ }),
751
+ /* @__PURE__ */ u("svg", {
752
+ className: O.icon,
753
+ style: {
754
+ top: "0.25rem",
755
+ left: "0.25rem"
756
+ },
757
+ viewBox: "0 0 24 24",
758
+ width: "1rem",
759
+ height: "1rem",
760
+ children: /* @__PURE__ */ u("path", { d: we })
761
+ }),
762
+ /* @__PURE__ */ u("svg", {
763
+ className: O.icon,
764
+ style: {
765
+ bottom: "0.25rem",
766
+ right: "0.25rem"
767
+ },
768
+ viewBox: "0 0 24 24",
769
+ width: "1rem",
770
+ height: "1rem",
771
+ children: /* @__PURE__ */ u("path", { d: Ce })
772
+ })
773
+ ]
774
+ });
775
+ }, vt = {
776
+ callout: "_callout_n5scl_1",
777
+ header: "_header_n5scl_27"
778
+ }, yt = Object.freeze({
779
+ note: {
780
+ code: "#6987b8",
781
+ icon: Ee
782
+ },
783
+ tip: {
784
+ code: "#59b57c",
785
+ icon: ke
786
+ },
787
+ important: {
788
+ code: "#9771bd",
789
+ icon: Ve
790
+ },
791
+ warning: {
792
+ code: "#b8a36e",
793
+ icon: y
794
+ },
795
+ caution: {
796
+ code: "#b36472",
797
+ icon: x
798
+ }
799
+ }), bt = ({ type: e = "note", ...t }) => {
800
+ let n = s(null), [r, a] = c(!1);
801
+ i(() => {
802
+ let e = n.current;
803
+ if (!e) return;
804
+ let t = new IntersectionObserver(([e]) => {
805
+ a(e.isIntersecting);
806
+ });
807
+ return t.observe(e), () => t.disconnect();
808
+ }, []);
809
+ let o = yt[e];
810
+ return /* @__PURE__ */ d("aside", {
811
+ ref: n,
812
+ className: vt.callout,
813
+ style: {
814
+ "--border-color": o.code,
815
+ "--bg-color": `color-mix(in srgb, ${o.code} 10%, transparent)`,
816
+ "--scale": +!!r,
817
+ ...t.style
818
+ },
819
+ children: [/* @__PURE__ */ d("div", {
820
+ className: vt.header,
821
+ children: [/* @__PURE__ */ u(C, {
822
+ d: o.icon,
823
+ size: "1.25em",
824
+ color: o.code
825
+ }), /* @__PURE__ */ u(D, {
826
+ color: o.code,
827
+ children: e.toUpperCase()
828
+ })]
829
+ }), /* @__PURE__ */ u("div", { children: t.children })]
830
+ });
831
+ }, xt = { divider: "_divider_1jqyl_1" }, St = (e) => {
832
+ let t = s(null), [n, r] = c(!1);
833
+ return i(() => {
834
+ let e = t.current;
835
+ if (!e) return;
836
+ let n = new IntersectionObserver(([e]) => {
837
+ r(e.isIntersecting);
838
+ });
839
+ return n.observe(e), () => n.disconnect();
840
+ }, []), /* @__PURE__ */ u("hr", {
841
+ ref: t,
842
+ className: xt.divider,
843
+ style: {
844
+ "--scale": +!!n,
845
+ "--margin-block": e.margin,
846
+ ...e.style
847
+ }
848
+ });
849
+ }, Ct = { fragment: "_fragment_il7xb_1" }, wt = (e) => {
850
+ let t = n((e) => {
851
+ let t = new URL(window.location.href);
852
+ t.hash = e, window.history.replaceState(null, "", t.toString()), document.getElementById(e)?.scrollIntoView({ behavior: "smooth" });
853
+ }, []);
854
+ return /* @__PURE__ */ u("span", {
855
+ className: Ct.fragment,
856
+ style: e.style,
857
+ onClick: () => t(e.id),
858
+ children: "#"
859
+ });
860
+ }, Tt = {
861
+ "heading-common": "_heading-common_e13jl_1",
862
+ h1: "_h1_e13jl_22",
863
+ h2: "_h2_e13jl_57",
864
+ h2__underline: "_h2__underline_e13jl_91",
865
+ h3: "_h3_e13jl_110",
866
+ h4: "_h4_e13jl_130",
867
+ h5: "_h5_e13jl_134",
868
+ h6: "_h6_e13jl_138",
869
+ "heading-stretch": "_heading-stretch_e13jl_1"
870
+ }, Et = Object.freeze({
871
+ 1: 1.5,
872
+ 2: 1.4,
873
+ 3: 1.3,
874
+ 4: 1.2,
875
+ 5: 1.15,
876
+ 6: 1.1
877
+ }), Dt = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), Ot = ({ level: e = 1, disableFragmentIdentifier: t = !1, ...n }) => {
878
+ let r = s(null), [a, o] = c(!1);
879
+ i(() => {
880
+ let e = r.current;
881
+ if (!e) return;
882
+ let t = new IntersectionObserver(([e]) => {
883
+ o(e.isIntersecting);
884
+ });
885
+ return t.observe(e), () => t.disconnect();
886
+ }, []);
887
+ let l = `h${e}`, f = n.id ?? (n.text ? Dt(n.text) : void 0);
888
+ return /* @__PURE__ */ d(l, {
889
+ ref: r,
890
+ className: [Tt["heading-common"], Tt[`h${e}`]].filter(Boolean).join(" "),
891
+ id: f,
892
+ style: {
893
+ "--font-size": n.size ?? `${Et[e]}rem`,
894
+ "--scale": +!!a,
895
+ "--opacity": +!!a,
896
+ ...n.style
897
+ },
898
+ children: [
899
+ n.text && /* @__PURE__ */ u("span", { children: n.text }),
900
+ n.children,
901
+ !t && f && /* @__PURE__ */ u(wt, { id: f }),
902
+ e === 2 && /* @__PURE__ */ u("span", {
903
+ className: Tt.h2__underline,
904
+ "aria-hidden": "true"
905
+ })
906
+ ]
907
+ });
908
+ }, k = {
909
+ "elmethis-list-common": "_elmethis-list-common_1p5gw_1",
910
+ "elmethis-bulleted-list": "_elmethis-bulleted-list_1p5gw_9",
911
+ "elmethis-numbered-list": "_elmethis-numbered-list_1p5gw_27"
912
+ }, kt = ({ listStyle: e = "unordered", ...t }) => {
913
+ let n = s(null), [r, a] = c(!1);
914
+ i(() => {
915
+ let e = n.current;
916
+ if (!e) return;
917
+ let t = new IntersectionObserver(([e]) => {
918
+ a(e.isIntersecting);
919
+ });
920
+ return t.observe(e), () => t.disconnect();
921
+ }, []);
922
+ let o = [k["elmethis-list-common"], e === "unordered" ? k["elmethis-bulleted-list"] : k["elmethis-numbered-list"]].join(" "), l = {
923
+ "--opacity": +!!r,
924
+ ...t.style
925
+ };
926
+ return u(e === "ordered" ? "ol" : "ul", {
927
+ ref: n,
928
+ className: o,
929
+ style: l,
930
+ children: t.children
931
+ });
932
+ }, At = {
933
+ text: "_text_zrzts_1",
934
+ cursor: "_cursor_zrzts_30",
935
+ blink: "_blink_zrzts_1"
936
+ }, A = (e) => new Promise((t) => {
937
+ setTimeout(t, e);
938
+ }), jt = ({ texts: e = [], interval: t = 3e3, fontSize: n = "1rem", ...r }) => {
939
+ let [a, o] = c(""), l = s(!1);
940
+ return i(() => (l.current = !1, (async () => {
941
+ for (; !l.current;) for (let n of e) {
942
+ for (let e = 0; e < n.length; e++) {
943
+ if (l.current || (await A(75), l.current)) return;
944
+ o(n.slice(0, e + 1));
945
+ }
946
+ if (await A(t), l.current) return;
947
+ for (let e = n.length; e >= 0; e--) if (l.current || (o(n.slice(0, e)), await A(25), l.current)) return;
948
+ if (await A(200), l.current) return;
949
+ }
950
+ })(), () => {
951
+ l.current = !0;
952
+ }), [e, t]), /* @__PURE__ */ d("span", {
953
+ className: At.text,
954
+ style: {
955
+ fontSize: n,
956
+ ...r.style
957
+ },
958
+ children: [a, /* @__PURE__ */ u("span", {
959
+ className: At.cursor,
960
+ children: "\xA0"
961
+ })]
962
+ });
963
+ }, Mt = { "elm-template": "_elm-template_18rwn_1" }, Nt = (e) => /* @__PURE__ */ u("div", {
964
+ className: Mt["elm-template"],
965
+ style: e.style,
7
966
  children: "PLACEHOLDER"
967
+ }), j = {
968
+ progress: "_progress_e6hmw_1",
969
+ container: "_container_e6hmw_27",
970
+ value: "_value_e6hmw_41",
971
+ loading: "_loading_e6hmw_56",
972
+ buffer: "_buffer_e6hmw_72"
973
+ }, Pt = ({ value: e, buffer: t, max: n = 100, weight: r = "4px", round: i = !0, color: a, loading: o = !1, style: s }) => /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("progress", {
974
+ className: j.progress,
975
+ value: e,
976
+ max: n
977
+ }), /* @__PURE__ */ d("div", {
978
+ className: j.container,
979
+ style: {
980
+ "--weight": r,
981
+ "--border-radius": i ? "calc(var(--weight) / 2)" : void 0,
982
+ "--color": a,
983
+ ...s
984
+ },
985
+ children: [
986
+ /* @__PURE__ */ u("div", {
987
+ className: j.value,
988
+ style: { "--scale-x": `scaleX(${o ? 0 : e / n})` }
989
+ }),
990
+ o && /* @__PURE__ */ u("div", { className: j.loading }),
991
+ /* @__PURE__ */ u("div", {
992
+ className: j.buffer,
993
+ style: { "--scale-x": `scaleX(${o ? 0 : t == null ? e / n : t / n})` }
994
+ })
995
+ ]
996
+ })] }), Ft = {
997
+ container: "_container_13d02_1",
998
+ bar: "_bar_13d02_15"
999
+ }, It = ({ progress: e, weight: t = "4px", round: n = !0, style: r }) => {
1000
+ let i = o(() => {
1001
+ let t = e.reduce((e, t) => e + t.value, 0), n = e.map((e) => e.value / t * 100);
1002
+ return e.map((e, t) => ({
1003
+ ...e,
1004
+ scale: n[t] / 100,
1005
+ start: n.slice(0, t).reduce((e, t) => e + t, 0)
1006
+ }));
1007
+ }, [e]);
1008
+ return /* @__PURE__ */ u("div", {
1009
+ className: Ft.container,
1010
+ style: {
1011
+ "--weight": t,
1012
+ "--border-radius": n ? "calc(var(--weight) / 2)" : void 0,
1013
+ ...r
1014
+ },
1015
+ children: i.map((e, t) => /* @__PURE__ */ u("div", {
1016
+ className: Ft.bar,
1017
+ style: {
1018
+ "--transform": `translateX(${e.start}%) scaleX(${e.scale})`,
1019
+ "--color": e.color
1020
+ }
1021
+ }, t))
1022
+ });
1023
+ }, Lt = { wrapper: "_wrapper_17chp_1" }, Rt = Object.freeze({
1024
+ pending: {
1025
+ color: "#6987b8",
1026
+ icon: Be
1027
+ },
1028
+ error: {
1029
+ color: "#c56565",
1030
+ icon: b
1031
+ },
1032
+ warning: {
1033
+ color: "#cdb57b",
1034
+ icon: y
1035
+ },
1036
+ success: {
1037
+ color: "#59b57c",
1038
+ icon: ce
1039
+ }
1040
+ }), zt = ({ status: e, message: t, style: n }) => {
1041
+ let { color: r, icon: i } = Rt[e];
1042
+ return /* @__PURE__ */ d("div", {
1043
+ className: Lt.wrapper,
1044
+ style: n,
1045
+ children: [/* @__PURE__ */ u(C, {
1046
+ d: i,
1047
+ color: r,
1048
+ size: "1em"
1049
+ }), /* @__PURE__ */ u(D, {
1050
+ color: r,
1051
+ children: t
1052
+ })]
1053
+ });
1054
+ }, M = {
1055
+ wrapper: "_wrapper_1qzya_1",
1056
+ error: "_error_1qzya_9",
1057
+ "image-frame": "_image-frame_1qzya_21",
1058
+ fallback: "_fallback_1qzya_29",
1059
+ pulse: "_pulse_1qzya_1",
1060
+ "image-inline": "_image-inline_1qzya_56",
1061
+ "image-block": "_image-block_1qzya_67",
1062
+ "alt-container": "_alt-container_1qzya_79",
1063
+ "alt-text": "_alt-text_1qzya_90",
1064
+ modal: "_modal_1qzya_94",
1065
+ "modal-image": "_modal-image_1qzya_108"
1066
+ }, Bt = ({ src: e, alt: t, block: n = !1, enableModal: r = !1, margin: a, width: o, height: l, style: f }) => {
1067
+ let [p, m] = c(!0), [h, g] = c(!1), [_, v] = c(!1), y = s(null);
1068
+ return i(() => {
1069
+ let t = new Image();
1070
+ t.src = e, t.onload = () => {
1071
+ m(!1), g(!1);
1072
+ }, t.onerror = () => {
1073
+ m(!1), g(!0);
1074
+ };
1075
+ }, [e]), i(() => {
1076
+ let e = (e) => {
1077
+ e.key === "Escape" && (e.preventDefault(), v(!1));
1078
+ };
1079
+ return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1080
+ }, []), /* @__PURE__ */ d("div", {
1081
+ className: M.wrapper,
1082
+ ref: y,
1083
+ style: f,
1084
+ children: [
1085
+ h && /* @__PURE__ */ u("div", {
1086
+ className: M.error,
1087
+ children: /* @__PURE__ */ u(D, {
1088
+ color: "#c56565",
1089
+ size: "1.5rem",
1090
+ children: "Error loading image"
1091
+ })
1092
+ }),
1093
+ /* @__PURE__ */ d("div", {
1094
+ className: M["image-frame"],
1095
+ style: { "--margin-block": a },
1096
+ children: [p && /* @__PURE__ */ u("div", {
1097
+ className: M.fallback,
1098
+ style: {
1099
+ aspectRatio: o && l ? `${o} / ${l}` : "1200 / 630",
1100
+ width: o ? `${o}px` : void 0,
1101
+ height: l ? `${l}px` : void 0
1102
+ }
1103
+ }), /* @__PURE__ */ u("img", {
1104
+ className: n ? M["image-block"] : M["image-inline"],
1105
+ src: e,
1106
+ alt: t,
1107
+ width: o,
1108
+ height: l,
1109
+ onClick: () => {
1110
+ r && v(!0);
1111
+ },
1112
+ style: {
1113
+ "--margin-block": a,
1114
+ "--width": o ? `${o}px` : void 0,
1115
+ "--height": l ? `${l}px` : void 0,
1116
+ cursor: r ? "zoom-in" : void 0,
1117
+ opacity: +(!p && !h),
1118
+ pointerEvents: !p && !h ? void 0 : "none"
1119
+ }
1120
+ })]
1121
+ }),
1122
+ n && !p && t != null && t.trim() !== "" && /* @__PURE__ */ d("div", {
1123
+ className: M["alt-container"],
1124
+ children: [/* @__PURE__ */ u(C, {
1125
+ d: Le,
1126
+ color: "#b69545",
1127
+ style: { flexShrink: 0 }
1128
+ }), /* @__PURE__ */ u("div", {
1129
+ className: M["alt-text"],
1130
+ children: /* @__PURE__ */ u(D, {
1131
+ size: "0.8rem",
1132
+ children: t
1133
+ })
1134
+ })]
1135
+ }),
1136
+ _ && /* @__PURE__ */ u("div", {
1137
+ className: M.modal,
1138
+ onClick: () => v(!1),
1139
+ children: /* @__PURE__ */ u("img", {
1140
+ className: M["modal-image"],
1141
+ src: e,
1142
+ alt: t,
1143
+ width: o,
1144
+ height: l
1145
+ })
1146
+ })
1147
+ ]
1148
+ });
1149
+ }, N = {
1150
+ file: "_file_1fmcz_1",
1151
+ "left-container": "_left-container_1fmcz_19",
1152
+ "right-container": "_right-container_1fmcz_26",
1153
+ "download-icon": "_download-icon_1fmcz_33"
1154
+ };
1155
+ //#endregion
1156
+ //#region src/components/media/ElmFile.tsx
1157
+ function Vt(e) {
1158
+ let t = e.split(/[?#]/)[0].split("/").filter(Boolean);
1159
+ return t.length > 0 ? t[t.length - 1] : null;
1160
+ }
1161
+ var Ht = ({ name: e, src: t, filesize: r, margin: i, style: a }) => {
1162
+ let o = n(async () => {
1163
+ let n;
1164
+ try {
1165
+ let r = await fetch(t);
1166
+ if (!r.ok) throw Error("Failed to download file");
1167
+ let i = await r.blob();
1168
+ n = document.createElement("a"), n.href = URL.createObjectURL(i), n.download = e ?? Vt(t) ?? "file", n.click();
1169
+ } catch (e) {
1170
+ console.error("ERROR:", e);
1171
+ } finally {
1172
+ n && URL.revokeObjectURL(n.href);
1173
+ }
1174
+ }, [t, e]), s = e ?? Vt(t) ?? "unknown file";
1175
+ return /* @__PURE__ */ d("div", {
1176
+ className: N.file,
1177
+ style: {
1178
+ "--margin-block": i,
1179
+ ...a
1180
+ },
1181
+ children: [/* @__PURE__ */ d("div", {
1182
+ className: N["left-container"],
1183
+ children: [/* @__PURE__ */ u(C, {
1184
+ d: xe,
1185
+ size: "1.25em"
1186
+ }), /* @__PURE__ */ u(D, { children: s })]
1187
+ }), /* @__PURE__ */ d("div", {
1188
+ className: N["right-container"],
1189
+ children: [r && /* @__PURE__ */ u("span", {
1190
+ style: { opacity: .6 },
1191
+ children: /* @__PURE__ */ u(D, { children: r })
1192
+ }), /* @__PURE__ */ u("div", {
1193
+ className: N["download-icon"],
1194
+ onClick: o,
1195
+ children: /* @__PURE__ */ u(C, {
1196
+ d: ge,
1197
+ size: "1.25em"
1198
+ })
1199
+ })]
1200
+ })]
1201
+ });
1202
+ }, P = {
1203
+ parent: "_parent_1hx4v_1",
1204
+ bookmark: "_bookmark_1hx4v_23",
1205
+ image: "_image_1hx4v_42",
1206
+ typography: "_typography_1hx4v_62",
1207
+ title: "_title_1hx4v_73",
1208
+ date: "_date_1hx4v_81",
1209
+ link: "_link_1hx4v_90",
1210
+ favicon: "_favicon_1hx4v_100"
1211
+ }, Ut = ({ hideUrl: e = !1, openInNewTab: t = !0, title: n, description: r = "No description provided", image: i, url: a, createdAt: o, updatedAt: s, onClick: f, margin: p, favicon: m, style: h }) => {
1212
+ let [g, _] = c(!1), v = (e) => {
1213
+ f && (e.preventDefault(), f());
1214
+ }, y = r != null && r.length > 100 ? r.slice(0, 100) + "..." : r;
1215
+ return /* @__PURE__ */ u("div", {
1216
+ className: P.parent,
1217
+ style: {
1218
+ "--margin-block": p,
1219
+ ...h
1220
+ },
1221
+ children: /* @__PURE__ */ d("a", {
1222
+ className: P.bookmark,
1223
+ href: a,
1224
+ target: t ? "_blank" : void 0,
1225
+ rel: "noopener noreferrer",
1226
+ onClick: v,
1227
+ children: [i != null && !g && /* @__PURE__ */ u("div", {
1228
+ className: P.image,
1229
+ children: /* @__PURE__ */ u("img", {
1230
+ src: i,
1231
+ alt: "OGP Image",
1232
+ onError: () => _(!0),
1233
+ style: {
1234
+ width: "100%",
1235
+ height: "100%",
1236
+ objectFit: "cover"
1237
+ }
1238
+ })
1239
+ }), /* @__PURE__ */ d("div", {
1240
+ className: P.typography,
1241
+ children: [
1242
+ /* @__PURE__ */ u("div", {
1243
+ className: P.title,
1244
+ children: /* @__PURE__ */ u(D, {
1245
+ bold: !0,
1246
+ children: n ?? "No title provided"
1247
+ })
1248
+ }),
1249
+ /* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(D, {
1250
+ size: "0.8rem",
1251
+ children: /* @__PURE__ */ u("span", {
1252
+ style: { opacity: .6 },
1253
+ children: y
1254
+ })
1255
+ }) }),
1256
+ (o != null || s != null) && /* @__PURE__ */ d("div", {
1257
+ className: P.date,
1258
+ children: [o != null && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(C, {
1259
+ d: ae,
1260
+ size: "1em"
1261
+ }), /* @__PURE__ */ u(D, {
1262
+ size: "0.8rem",
1263
+ children: o
1264
+ })] }), s != null && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(C, {
1265
+ d: oe,
1266
+ size: "1em"
1267
+ }), /* @__PURE__ */ u(D, {
1268
+ size: "0.8rem",
1269
+ children: s
1270
+ })] })]
1271
+ }),
1272
+ !e && a != null && /* @__PURE__ */ d("div", {
1273
+ className: P.link,
1274
+ children: [m && /* @__PURE__ */ u(S, { src: m }), /* @__PURE__ */ u(D, {
1275
+ size: "0.8rem",
1276
+ color: "#6987b8",
1277
+ children: a
1278
+ })]
1279
+ })
1280
+ ]
1281
+ })]
1282
+ })
1283
+ });
1284
+ }, F = {
1285
+ container: "_container_1r6mu_1",
1286
+ "link-container": "_link-container_1r6mu_10",
1287
+ text: "_text_1r6mu_36"
1288
+ }, Wt = ({ links: t, style: n }) => {
1289
+ let r = s(null), [a, o] = c(!1);
1290
+ return i(() => {
1291
+ let e = r.current;
1292
+ if (!e) return;
1293
+ let t = new IntersectionObserver(([e]) => {
1294
+ o(e.isIntersecting);
1295
+ });
1296
+ return t.observe(e), () => t.disconnect();
1297
+ }, []), /* @__PURE__ */ u("nav", {
1298
+ className: F.container,
1299
+ ref: r,
1300
+ style: {
1301
+ "--opacity": +!!a,
1302
+ ...n
1303
+ },
1304
+ children: t.map((n, r) => /* @__PURE__ */ d(e.Fragment, { children: [/* @__PURE__ */ d("div", {
1305
+ className: F["link-container"],
1306
+ onClick: n.onClick,
1307
+ children: [/* @__PURE__ */ u("span", {
1308
+ className: F.text,
1309
+ style: { "--delay": `${r * 100}ms` },
1310
+ children: /* @__PURE__ */ u(C, {
1311
+ d: r === 0 ? Te : r === t.length - 1 ? ee : Se,
1312
+ size: "1.25em"
1313
+ })
1314
+ }), /* @__PURE__ */ u("span", {
1315
+ className: F.text,
1316
+ style: { "--delay": `${r * 100 + 50}ms` },
1317
+ children: /* @__PURE__ */ u(D, { children: n.text })
1318
+ })]
1319
+ }), t.length !== r + 1 && /* @__PURE__ */ u("span", {
1320
+ className: F.text,
1321
+ style: { "--delay": `${r * 100 + 100}ms` },
1322
+ children: /* @__PURE__ */ u(C, {
1323
+ d: ue,
1324
+ size: "1em",
1325
+ color: "#b69545"
1326
+ })
1327
+ })] }, r))
1328
+ });
1329
+ }, I = {
1330
+ wrapper: "_wrapper_1tlqa_1",
1331
+ "wrapper--visible": "_wrapper--visible_1tlqa_33",
1332
+ partial: "_partial_1tlqa_63",
1333
+ move: "_move_1tlqa_1",
1334
+ text: "_text_1tlqa_104"
1335
+ }, Gt = ({ position: e = "right", style: t }) => {
1336
+ let [n, r] = c(!1);
1337
+ i(() => {
1338
+ let e = () => {
1339
+ r(window.scrollY > 100);
1340
+ };
1341
+ return window.addEventListener("scroll", e, { passive: !0 }), e(), () => window.removeEventListener("scroll", e);
1342
+ }, []);
1343
+ let a = () => {
1344
+ window.scrollTo({
1345
+ top: 0,
1346
+ behavior: "smooth"
1347
+ });
1348
+ };
1349
+ return /* @__PURE__ */ d("nav", {
1350
+ className: `${I.wrapper} ${n ? I["wrapper--visible"] : ""}`,
1351
+ style: {
1352
+ "--size": "64px",
1353
+ left: e === "left" ? "0" : "auto",
1354
+ right: e === "right" ? "0" : "auto",
1355
+ ...t
1356
+ },
1357
+ onClick: a,
1358
+ children: [
1359
+ /* @__PURE__ */ u("div", {
1360
+ "aria-hidden": "true",
1361
+ className: I.partial
1362
+ }),
1363
+ /* @__PURE__ */ u("div", {
1364
+ "aria-hidden": "true",
1365
+ className: I.partial
1366
+ }),
1367
+ /* @__PURE__ */ u("div", {
1368
+ "aria-hidden": "true",
1369
+ className: I.partial
1370
+ }),
1371
+ /* @__PURE__ */ u("span", {
1372
+ className: I.text,
1373
+ children: "Back to Top"
1374
+ })
1375
+ ]
1376
+ });
1377
+ }, Kt = {
1378
+ toc: "_toc_eubcy_1",
1379
+ link: "_link_eubcy_15"
1380
+ }, qt = ({ headings: e, style: t }) => /* @__PURE__ */ u("nav", {
1381
+ className: Kt.toc,
1382
+ style: t,
1383
+ children: e.map((e, t) => /* @__PURE__ */ d("a", {
1384
+ className: Kt.link,
1385
+ href: `#${e.id ?? e.text}`,
1386
+ style: { "--padding-left": `${e.level * .5}rem` },
1387
+ children: [
1388
+ /* @__PURE__ */ u("sup", { children: /* @__PURE__ */ u(D, {
1389
+ size: "0.6rem",
1390
+ color: "#6987b8",
1391
+ children: `H${e.level}`
1392
+ }) }),
1393
+ /* @__PURE__ */ u(D, { children: e.text }),
1394
+ /* @__PURE__ */ u(C, {
1395
+ d: Ie,
1396
+ size: "1em",
1397
+ color: "#6987b8"
1398
+ })
1399
+ ]
1400
+ }, t))
1401
+ }), Jt = { "block-fallback": "_block-fallback_adya7_1" }, Yt = {
1402
+ "rectangle-wave": "_rectangle-wave_gxedo_21",
1403
+ "elm-rectangle-wave": "_elm-rectangle-wave_gxedo_1"
1404
+ }, Xt = (e) => /* @__PURE__ */ u("div", {
1405
+ "aria-hidden": !0,
1406
+ className: Yt["rectangle-wave"],
1407
+ style: e.style
1408
+ }), Zt = (e) => {
1409
+ let { height: t = "16rem", style: n } = e;
1410
+ return /* @__PURE__ */ d("div", {
1411
+ className: Jt["block-fallback"],
1412
+ style: {
1413
+ "--height": t,
1414
+ ...n
1415
+ },
1416
+ children: [/* @__PURE__ */ u(w, {}), /* @__PURE__ */ u(Xt, {})]
1417
+ });
1418
+ }, Qt = {
1419
+ circle: "_circle_ycu2l_19",
1420
+ "draw-line": "_draw-line_ycu2l_1",
1421
+ rotate: "_rotate_ycu2l_1"
1422
+ }, $t = (e) => {
1423
+ let { radius: t = 16, weight: n = 2, style: r } = e;
1424
+ return /* @__PURE__ */ u("svg", {
1425
+ height: t * 2,
1426
+ width: t * 2,
1427
+ style: r,
1428
+ children: /* @__PURE__ */ u("circle", {
1429
+ className: Qt.circle,
1430
+ cx: t,
1431
+ cy: t,
1432
+ r: t - n,
1433
+ fill: "transparent",
1434
+ strokeWidth: n
1435
+ })
1436
+ });
1437
+ }, L = {
1438
+ unsupported: "_unsupported_dj2gt_1",
1439
+ message: "_message_dj2gt_12",
1440
+ icon: "_icon_dj2gt_19",
1441
+ details: "_details_dj2gt_23"
1442
+ }, en = (e) => /* @__PURE__ */ d("div", {
1443
+ className: L.unsupported,
1444
+ style: e.style,
1445
+ children: [/* @__PURE__ */ d("div", {
1446
+ className: L.message,
1447
+ children: [/* @__PURE__ */ u("svg", {
1448
+ viewBox: "0 0 24 24",
1449
+ width: "1.25rem",
1450
+ height: "1.25rem",
1451
+ className: L.icon,
1452
+ children: /* @__PURE__ */ u("path", { d: Ee })
1453
+ }), /* @__PURE__ */ u(D, {
1454
+ color: "#868e9c",
1455
+ children: "UNSUPPORTED BLOCK"
1456
+ })]
1457
+ }), e.details && /* @__PURE__ */ u("div", {
1458
+ className: L.details,
1459
+ children: /* @__PURE__ */ u(D, {
1460
+ color: "#868e9c",
1461
+ children: e.details
1462
+ })
1463
+ })]
1464
+ }), R = {
1465
+ button: "_button_c0mex_1",
1466
+ "button-ornament": "_button-ornament_c0mex_29",
1467
+ normal: "_normal_c0mex_40",
1468
+ primary: "_primary_c0mex_50",
1469
+ colored: "_colored_c0mex_60",
1470
+ enable: "_enable_c0mex_64",
1471
+ flex: "_flex_c0mex_95",
1472
+ ripple: "_ripple_c0mex_117",
1473
+ "button-ripple": "_button-ripple_c0mex_1"
1474
+ }, tn = ({ loading: e = !1, block: t = !1, disabled: r = !1, primary: a = !1, ...o }) => {
1475
+ let [l, f] = c(!1), p = s(void 0), { onClick: m } = o, h = n(() => {
1476
+ !e && !r && m && (f(!0), p.current = window.setTimeout(() => f(!1), 300), m());
1477
+ }, [
1478
+ e,
1479
+ r,
1480
+ m
1481
+ ]);
1482
+ return i(() => () => {
1483
+ p.current && clearTimeout(p.current);
1484
+ }, []), /* @__PURE__ */ d("button", {
1485
+ className: [
1486
+ R.button,
1487
+ !e && !r ? R.enable : "",
1488
+ o.color ? R.colored : "",
1489
+ !o.color && !a ? R.normal : "",
1490
+ !o.color && a ? R.primary : ""
1491
+ ].filter(Boolean).join(" "),
1492
+ style: {
1493
+ display: t ? "flex" : "inline-flex",
1494
+ width: t ? "100%" : "auto",
1495
+ cursor: r ? "not-allowed" : e ? "progress" : "pointer",
1496
+ "--opacity": r || e ? .6 : void 0,
1497
+ "--color": o.color,
1498
+ ...o.style
1499
+ },
1500
+ onClick: h,
1501
+ children: [
1502
+ l && /* @__PURE__ */ u("div", { className: R.ripple }),
1503
+ e ? /* @__PURE__ */ u(w, { size: "1.5rem" }) : /* @__PURE__ */ u("span", {
1504
+ className: R.flex,
1505
+ children: o.children
1506
+ }),
1507
+ /* @__PURE__ */ u("div", { className: R["button-ornament"] })
1508
+ ]
1509
+ });
1510
+ }, z = {
1511
+ container: "_container_12edl_1",
1512
+ "container-disable": "_container-disable_12edl_14",
1513
+ checkbox: "_checkbox_12edl_23",
1514
+ rect: "_rect_12edl_32",
1515
+ "rect-loading": "_rect-loading_12edl_36",
1516
+ "rect-checked": "_rect-checked_12edl_40",
1517
+ loading: "_loading_12edl_48",
1518
+ "check-line": "_check-line_12edl_67",
1519
+ "elmethis-checkbox-check-line": "_elmethis-checkbox-check-line_12edl_1"
1520
+ }, nn = ({ loading: e = !1, disable: t = !1, checked: r = !1, ...i }) => {
1521
+ let { onChange: a } = i, o = n(() => {
1522
+ !e && !t && a && a(!r);
1523
+ }, [
1524
+ e,
1525
+ t,
1526
+ r,
1527
+ a
1528
+ ]), s = [z.container, t ? z["container-disable"] : ""].filter(Boolean).join(" "), c = [
1529
+ z.rect,
1530
+ r ? z["rect-checked"] : "",
1531
+ e ? z["rect-loading"] : ""
1532
+ ].filter(Boolean).join(" ");
1533
+ return /* @__PURE__ */ u("div", {
1534
+ className: s,
1535
+ style: i.style,
1536
+ onClick: o,
1537
+ children: /* @__PURE__ */ d("div", {
1538
+ style: {
1539
+ display: "flex",
1540
+ alignItems: "center",
1541
+ gap: "0.5rem"
1542
+ },
1543
+ children: [/* @__PURE__ */ d("svg", {
1544
+ width: "24",
1545
+ height: "24",
1546
+ className: z.checkbox,
1547
+ children: [
1548
+ /* @__PURE__ */ d("circle", {
1549
+ cx: "0",
1550
+ cy: "0",
1551
+ r: "2",
1552
+ className: z.loading,
1553
+ style: { opacity: +!!e },
1554
+ children: [/* @__PURE__ */ u("animate", {
1555
+ attributeName: "cx",
1556
+ values: "4; 20; 20; 4; 4",
1557
+ dur: "1.2s",
1558
+ repeatCount: "indefinite",
1559
+ keySplines: "0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1",
1560
+ calcMode: "spline"
1561
+ }), /* @__PURE__ */ u("animate", {
1562
+ attributeName: "cy",
1563
+ values: "4; 4; 20; 20; 4",
1564
+ dur: "1.2s",
1565
+ repeatCount: "indefinite",
1566
+ keySplines: "0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1",
1567
+ calcMode: "spline"
1568
+ })]
1569
+ }),
1570
+ /* @__PURE__ */ d("circle", {
1571
+ cx: "20",
1572
+ cy: "20",
1573
+ r: "2",
1574
+ className: z.loading,
1575
+ style: { opacity: +!!e },
1576
+ children: [/* @__PURE__ */ u("animate", {
1577
+ attributeName: "cx",
1578
+ values: "20; 4; 4; 20; 20",
1579
+ dur: "1.2s",
1580
+ repeatCount: "indefinite",
1581
+ keySplines: "0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1",
1582
+ calcMode: "spline"
1583
+ }), /* @__PURE__ */ u("animate", {
1584
+ attributeName: "cy",
1585
+ values: "20; 20; 4; 4; 20",
1586
+ dur: "1.2s",
1587
+ repeatCount: "indefinite",
1588
+ keySplines: "0.25 0.1 0.25 1; 0.42 0 0.58 1; 0.25 0.1 0.25 1; 0.42 0 0.58 1",
1589
+ calcMode: "spline"
1590
+ })]
1591
+ }),
1592
+ /* @__PURE__ */ u("rect", {
1593
+ x: "4",
1594
+ y: "4",
1595
+ width: "16",
1596
+ height: "16",
1597
+ className: c,
1598
+ strokeWidth: "0.8"
1599
+ }),
1600
+ r && /* @__PURE__ */ u("polyline", {
1601
+ className: z["check-line"],
1602
+ points: "5,12 10,17 19,8",
1603
+ strokeWidth: "1.5",
1604
+ fill: "transparent"
1605
+ }),
1606
+ /* @__PURE__ */ u("line", {
1607
+ x1: "0",
1608
+ y1: "1",
1609
+ x2: "4",
1610
+ y2: "1",
1611
+ strokeWidth: "2",
1612
+ fill: "transparent"
1613
+ }),
1614
+ /* @__PURE__ */ u("line", {
1615
+ x1: "4",
1616
+ y1: "0",
1617
+ x2: "24",
1618
+ y2: "0",
1619
+ strokeWidth: "1",
1620
+ fill: "transparent"
1621
+ }),
1622
+ /* @__PURE__ */ u("line", {
1623
+ x1: "0",
1624
+ y1: "4",
1625
+ x2: "0",
1626
+ y2: "16",
1627
+ strokeWidth: "1",
1628
+ fill: "transparent"
1629
+ }),
1630
+ /* @__PURE__ */ u("line", {
1631
+ x1: "0",
1632
+ y1: "18",
1633
+ x2: "0",
1634
+ y2: "20",
1635
+ strokeWidth: "1",
1636
+ fill: "transparent"
1637
+ }),
1638
+ /* @__PURE__ */ u("line", {
1639
+ x1: "0",
1640
+ y1: "24",
1641
+ x2: "20",
1642
+ y2: "24",
1643
+ strokeWidth: "1",
1644
+ fill: "transparent"
1645
+ }),
1646
+ /* @__PURE__ */ u("line", {
1647
+ x1: "20",
1648
+ y1: "23",
1649
+ x2: "24",
1650
+ y2: "23",
1651
+ strokeWidth: "1.5",
1652
+ fill: "transparent"
1653
+ }),
1654
+ /* @__PURE__ */ u("line", {
1655
+ x1: "24",
1656
+ y1: "4",
1657
+ x2: "24",
1658
+ y2: "20",
1659
+ style: { strokeWidth: 1 },
1660
+ fill: "transparent"
1661
+ })
1662
+ ]
1663
+ }), /* @__PURE__ */ u("span", { children: i.label })]
1664
+ })
1665
+ });
1666
+ }, B = {
1667
+ wrapper: "_wrapper_3ipdq_1",
1668
+ active: "_active_3ipdq_29",
1669
+ header: "_header_3ipdq_33",
1670
+ label: "_label_3ipdq_41",
1671
+ body: "_body_3ipdq_54",
1672
+ select: "_select_3ipdq_63",
1673
+ selected: "_selected_3ipdq_72",
1674
+ fallback: "_fallback_3ipdq_77",
1675
+ pulldown: "_pulldown_3ipdq_85",
1676
+ option: "_option_3ipdq_105",
1677
+ description: "_description_3ipdq_127"
1678
+ }, rn = ({ disabled: e = !1, loading: t = !1, ...r }) => {
1679
+ let [a, o] = c(!1), l = s(null), f = n(() => {
1680
+ !e && !t && o((e) => !e);
1681
+ }, [e, t]), { options: p, onSelect: m } = r, h = n((e) => {
1682
+ let t = p.find((t) => t.id === e);
1683
+ t && m && m(t);
1684
+ }, [p, m]);
1685
+ return i(() => {
1686
+ let e = (e) => {
1687
+ l.current && !l.current.contains(e.target) && o(!1);
1688
+ };
1689
+ return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
1690
+ }, []), /* @__PURE__ */ d("div", {
1691
+ ref: l,
1692
+ className: [B.wrapper, a ? B.active : ""].filter(Boolean).join(" "),
1693
+ style: {
1694
+ backgroundColor: e || t ? "rgba(0,0,0,0.15)" : void 0,
1695
+ "--highlight-color": a ? "#bfa056" : void 0,
1696
+ ...r.style
1697
+ },
1698
+ onClick: f,
1699
+ children: [/* @__PURE__ */ u("div", {
1700
+ className: B.header,
1701
+ children: /* @__PURE__ */ u("span", {
1702
+ className: B.label,
1703
+ children: r.label
1704
+ })
1705
+ }), /* @__PURE__ */ u("div", {
1706
+ className: B.body,
1707
+ children: /* @__PURE__ */ d("div", {
1708
+ className: B.select,
1709
+ children: [
1710
+ /* @__PURE__ */ u("div", {
1711
+ className: B.selected,
1712
+ children: r.selectedOption ? /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("span", { children: r.selectedOption.label }), r.selectedOption.description && /* @__PURE__ */ u("span", {
1713
+ className: B.description,
1714
+ children: r.selectedOption.description
1715
+ })] }) : /* @__PURE__ */ d("div", {
1716
+ className: B.fallback,
1717
+ children: [/* @__PURE__ */ u(C, { d: ne }), /* @__PURE__ */ u("span", { children: r.placeholder ?? "Select an option" })]
1718
+ })
1719
+ }),
1720
+ /* @__PURE__ */ u(C, {
1721
+ d: Ie,
1722
+ size: "1.5rem"
1723
+ }),
1724
+ a && /* @__PURE__ */ u("div", {
1725
+ className: B.pulldown,
1726
+ children: r.options.map((e) => /* @__PURE__ */ d("div", {
1727
+ className: B.option,
1728
+ onClick: (t) => {
1729
+ t.stopPropagation(), h(e.id);
1730
+ },
1731
+ children: [
1732
+ /* @__PURE__ */ u(C, {
1733
+ d: ue,
1734
+ color: "#868e9c",
1735
+ size: "0.75em"
1736
+ }),
1737
+ /* @__PURE__ */ u("span", { children: e.label }),
1738
+ e.description && /* @__PURE__ */ u("span", {
1739
+ className: B.description,
1740
+ children: e.description
1741
+ })
1742
+ ]
1743
+ }, e.id))
1744
+ })
1745
+ ]
1746
+ })
1747
+ })]
1748
+ });
1749
+ }, V = {
1750
+ switch: "_switch_8t362_1",
1751
+ bar: "_bar_8t362_5",
1752
+ "bar-checked": "_bar-checked_8t362_21",
1753
+ "bar-disabled": "_bar-disabled_8t362_26",
1754
+ circle: "_circle_8t362_30",
1755
+ "circle-checked": "_circle-checked_8t362_45",
1756
+ "circle-disabled": "_circle-disabled_8t362_49"
1757
+ }, an = ({ color: e = "#bfa056", size: t = "18px", disabled: r = !1, checked: i = !1, ...a }) => {
1758
+ let { onChange: o } = a, s = n(() => {
1759
+ !r && o && o(!i);
1760
+ }, [
1761
+ r,
1762
+ i,
1763
+ o
1764
+ ]), c = [
1765
+ V.bar,
1766
+ i ? V["bar-checked"] : "",
1767
+ r ? V["bar-disabled"] : ""
1768
+ ].filter(Boolean).join(" "), l = [
1769
+ V.circle,
1770
+ i ? V["circle-checked"] : "",
1771
+ r ? V["circle-disabled"] : ""
1772
+ ].filter(Boolean).join(" ");
1773
+ return /* @__PURE__ */ d("div", {
1774
+ onClick: s,
1775
+ style: {
1776
+ "--color": e,
1777
+ "--padding": "2px",
1778
+ "--size": t,
1779
+ "--width": `calc(${t} * 2 + 2px * 2)`,
1780
+ ...a.style
1781
+ },
1782
+ children: [/* @__PURE__ */ u("input", {
1783
+ className: V.switch,
1784
+ type: "checkbox",
1785
+ checked: i,
1786
+ disabled: r,
1787
+ readOnly: !0
1788
+ }), /* @__PURE__ */ u("div", {
1789
+ className: c,
1790
+ children: /* @__PURE__ */ u("div", { className: l })
1791
+ })]
1792
+ });
1793
+ }, H = {
1794
+ loading: "_loading_1y96m_23",
1795
+ wrapper: "_wrapper_1y96m_38",
1796
+ active: "_active_1y96m_66",
1797
+ header: "_header_1y96m_70",
1798
+ label: "_label_1y96m_78",
1799
+ required: "_required_1y96m_95",
1800
+ body: "_body_1y96m_101",
1801
+ input: "_input_1y96m_109",
1802
+ "icon-box": "_icon-box_1y96m_141",
1803
+ icon: "_icon_1y96m_141",
1804
+ suffix: "_suffix_1y96m_159",
1805
+ counter: "_counter_1y96m_172",
1806
+ "counter-over": "_counter-over_1y96m_177"
1807
+ }, on = {
1808
+ text: We,
1809
+ pen: Re,
1810
+ email: ve,
1811
+ user: v,
1812
+ lock: Me,
1813
+ key: De,
1814
+ earth: _e,
1815
+ tag: Ue,
1816
+ archive: te,
1817
+ link: Ae,
1818
+ search: Fe
1819
+ }, sn = ({ disabled: e = !1, loading: t = !1, isPassword: r = !1, required: i = !1, value: o = "", ...l }) => {
1820
+ let f = a(), p = s(null), [m, h] = c(!1), [g, _] = c(r ? "password" : "text"), { onChange: v } = l, y = n(() => {
1821
+ !t && !e && v && v("");
1822
+ }, [
1823
+ t,
1824
+ e,
1825
+ v
1826
+ ]), b = n(() => {
1827
+ !t && !e && _((e) => e === "text" ? "password" : "text");
1828
+ }, [t, e]), x = n((e) => (t) => {
1829
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), e());
1830
+ }, []);
1831
+ return /* @__PURE__ */ d("div", {
1832
+ className: [H.wrapper, m ? H.active : ""].filter(Boolean).join(" "),
1833
+ style: {
1834
+ backgroundColor: e || t ? "rgba(0,0,0,0.15)" : void 0,
1835
+ "--highlight-color": m ? "#bfa056" : void 0,
1836
+ ...l.style
1837
+ },
1838
+ children: [
1839
+ /* @__PURE__ */ d("div", {
1840
+ className: H.header,
1841
+ children: [/* @__PURE__ */ d("label", {
1842
+ htmlFor: f,
1843
+ className: H.label,
1844
+ children: [/* @__PURE__ */ u("span", { children: l.label }), i && /* @__PURE__ */ u("span", {
1845
+ className: H.required,
1846
+ children: "*"
1847
+ })]
1848
+ }), l.maxLength != null && /* @__PURE__ */ d("span", {
1849
+ className: [H.counter, o.length > l.maxLength ? H["counter-over"] : ""].filter(Boolean).join(" "),
1850
+ children: [
1851
+ o.length,
1852
+ " / ",
1853
+ l.maxLength
1854
+ ]
1855
+ })]
1856
+ }),
1857
+ /* @__PURE__ */ d("div", {
1858
+ className: H.body,
1859
+ children: [
1860
+ l.icon && /* @__PURE__ */ u(C, {
1861
+ d: on[l.icon],
1862
+ size: "1.5rem",
1863
+ color: "gray"
1864
+ }),
1865
+ /* @__PURE__ */ u("input", {
1866
+ id: f,
1867
+ ref: p,
1868
+ type: g,
1869
+ className: H.input,
1870
+ placeholder: l.placeholder,
1871
+ value: o,
1872
+ onChange: (e) => v?.(e.target.value),
1873
+ onFocus: () => h(!0),
1874
+ onBlur: () => h(!1),
1875
+ disabled: e || t,
1876
+ style: { cursor: e ? "not-allowed" : t ? "progress" : "auto" },
1877
+ "aria-required": i
1878
+ }),
1879
+ /* @__PURE__ */ d("div", {
1880
+ className: H["icon-box"],
1881
+ children: [
1882
+ l.suffix != null && /* @__PURE__ */ u("span", {
1883
+ className: H.suffix,
1884
+ children: l.suffix
1885
+ }),
1886
+ /* @__PURE__ */ u("div", {
1887
+ className: H.icon,
1888
+ onClick: b,
1889
+ onKeyDown: x(b),
1890
+ role: "button",
1891
+ tabIndex: 0,
1892
+ children: /* @__PURE__ */ u(C, {
1893
+ d: g === "text" ? be : ye,
1894
+ size: "1.75em",
1895
+ color: "gray"
1896
+ })
1897
+ }),
1898
+ /* @__PURE__ */ u("div", {
1899
+ className: H.icon,
1900
+ onClick: y,
1901
+ onKeyDown: x(y),
1902
+ role: "button",
1903
+ tabIndex: 0,
1904
+ children: /* @__PURE__ */ u(C, {
1905
+ d: ie,
1906
+ size: "1.75em",
1907
+ color: "gray"
1908
+ })
1909
+ })
1910
+ ]
1911
+ })
1912
+ ]
1913
+ }),
1914
+ /* @__PURE__ */ u("div", {
1915
+ className: H.loading,
1916
+ style: { opacity: t ? .2 : 0 }
1917
+ })
1918
+ ]
1919
+ });
1920
+ }, cn = { validation: "_validation_wuw0j_1" }, ln = ({ validColor: e = "#449763", ...t }) => /* @__PURE__ */ d("div", {
1921
+ className: cn.validation,
1922
+ style: {
1923
+ "--opacity": t.isValid ? 1 : .5,
1924
+ ...t.style
1925
+ },
1926
+ children: [/* @__PURE__ */ u(C, {
1927
+ d: t.isValid ? ce : le,
1928
+ color: t.isValid ? e : void 0
1929
+ }), /* @__PURE__ */ u("span", {
1930
+ style: { color: t.isValid ? e : void 0 },
1931
+ children: t.text
1932
+ })]
1933
+ }), un = { column: "_column_12uje_1" }, dn = (e) => /* @__PURE__ */ u("div", {
1934
+ className: un.column,
1935
+ style: e.style,
1936
+ children: e.children
1937
+ }), fn = { "column-list": "_column-list_rt1o3_1" }, pn = (e) => /* @__PURE__ */ u("div", {
1938
+ className: fn["column-list"],
1939
+ style: e.style,
1940
+ children: e.children
1941
+ }), mn = {
1942
+ body: "_body_gd5gc_1",
1943
+ button: "_button_gd5gc_5"
1944
+ }, U = {
1945
+ provider: "_provider_94i7o_1",
1946
+ "provider-enter": "_provider-enter_94i7o_19",
1947
+ "provider-exit": "_provider-exit_94i7o_23",
1948
+ modal: "_modal_94i7o_27"
1949
+ }, hn = ({ closeOnClickOutside: e = !0, onChange: t, ...r }) => {
1950
+ let [a, o] = c(!1), s = r.value ?? !1;
1951
+ i(() => {
1952
+ if (s) {
1953
+ let e = window.setTimeout(() => o(!0), 0);
1954
+ return () => clearTimeout(e);
1955
+ } else {
1956
+ let e = window.setTimeout(() => o(!1), 400);
1957
+ return () => clearTimeout(e);
1958
+ }
1959
+ }, [s]);
1960
+ let l = n(() => {
1961
+ e && t && t(!1);
1962
+ }, [e, t]), d = n((e) => {
1963
+ e.stopPropagation();
1964
+ }, []);
1965
+ return !s && !a ? null : Ge(/* @__PURE__ */ u("div", {
1966
+ className: `${U.provider} ${s ? U["provider-enter"] : U["provider-exit"]}`,
1967
+ onClick: l,
1968
+ children: /* @__PURE__ */ u("div", {
1969
+ className: U.modal,
1970
+ style: {
1971
+ "--width": r.width,
1972
+ ...r.style
1973
+ },
1974
+ onClick: d,
1975
+ children: r.children
1976
+ })
1977
+ }), document.body);
1978
+ }, gn = ({ closeOnClickOutside: e = !0, onChange: t, onConfirm: r, onSuccess: i, onError: a, ...o }) => {
1979
+ let [s, l] = c(!1), f = n(() => {
1980
+ t && t(!1);
1981
+ }, [t]), p = n(async () => {
1982
+ l(!0);
1983
+ try {
1984
+ await r(), l(!1), t && t(!1), i && i();
1985
+ } catch (e) {
1986
+ a && a(e), l(!1), t && t(!1);
1987
+ }
1988
+ }, [
1989
+ r,
1990
+ i,
1991
+ a,
1992
+ t
1993
+ ]);
1994
+ return /* @__PURE__ */ u(hn, {
1995
+ value: o.value,
1996
+ onChange: t,
1997
+ closeOnClickOutside: e,
1998
+ children: /* @__PURE__ */ d("div", { children: [
1999
+ /* @__PURE__ */ u(Ot, {
2000
+ level: 2,
2001
+ disableFragmentIdentifier: !0,
2002
+ children: o.title
2003
+ }),
2004
+ /* @__PURE__ */ u("div", {
2005
+ className: mn.body,
2006
+ children: o.children
2007
+ }),
2008
+ /* @__PURE__ */ d("div", {
2009
+ className: mn.button,
2010
+ children: [/* @__PURE__ */ d(tn, {
2011
+ block: !0,
2012
+ onClick: f,
2013
+ loading: s,
2014
+ children: [/* @__PURE__ */ u(C, { d: re }), /* @__PURE__ */ u("span", { children: "Cancel" })]
2015
+ }), /* @__PURE__ */ d(tn, {
2016
+ block: !0,
2017
+ onClick: p,
2018
+ primary: !0,
2019
+ loading: s,
2020
+ children: [/* @__PURE__ */ u(C, {
2021
+ d: ce,
2022
+ color: "currentColor"
2023
+ }), /* @__PURE__ */ u("span", { children: "Confirm" })]
2024
+ })]
2025
+ })
2026
+ ] })
2027
+ });
2028
+ }, W = {
2029
+ window: "_window_l8snl_1",
2030
+ header: "_header_l8snl_14",
2031
+ dot: "_dot_l8snl_25"
2032
+ }, _n = ({ minHeight: e = "6rem", ...t }) => /* @__PURE__ */ d("div", {
2033
+ className: W.window,
2034
+ style: t.style,
2035
+ children: [/* @__PURE__ */ d("div", {
2036
+ className: W.header,
2037
+ children: [
2038
+ /* @__PURE__ */ u("div", {
2039
+ "aria-hidden": !0,
2040
+ className: W.dot,
2041
+ style: { "--bg": "#c48691" }
2042
+ }),
2043
+ /* @__PURE__ */ u("div", {
2044
+ "aria-hidden": !0,
2045
+ className: W.dot,
2046
+ style: { "--bg": "#c9b990" }
2047
+ }),
2048
+ /* @__PURE__ */ u("div", {
2049
+ "aria-hidden": !0,
2050
+ className: W.dot,
2051
+ style: { "--bg": "#7cc598" }
2052
+ })
2053
+ ]
2054
+ }), /* @__PURE__ */ u("div", {
2055
+ style: { minHeight: e },
2056
+ children: t.children
2057
+ })]
2058
+ }), vn = { parallax: "_parallax_1tovg_1" }, yn = (e) => {
2059
+ let [t, n] = c(0);
2060
+ return i(() => {
2061
+ let e = null, t = () => {
2062
+ e ?? (e = requestAnimationFrame(() => {
2063
+ n(window.scrollY), e = null;
2064
+ }));
2065
+ };
2066
+ return window.addEventListener("scroll", t, { passive: !0 }), () => {
2067
+ window.removeEventListener("scroll", t), e != null && cancelAnimationFrame(e);
2068
+ };
2069
+ }, []), /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
2070
+ className: vn.parallax,
2071
+ style: {
2072
+ backgroundImage: `url(${e.imageUrl1})`,
2073
+ transform: `scale(1.2) translateY(${t / 400}%)`,
2074
+ transformOrigin: "bottom",
2075
+ ...e.style
2076
+ }
2077
+ }), /* @__PURE__ */ u("div", {
2078
+ className: vn.parallax,
2079
+ style: {
2080
+ backgroundImage: `url(${e.imageUrl2})`,
2081
+ transform: `scale(1.2) translateY(${t / 900}%)`,
2082
+ transformOrigin: "bottom"
2083
+ }
2084
+ })] });
2085
+ }, bn = {
2086
+ container: "_container_1mzm0_1",
2087
+ title: "_title_1mzm0_16",
2088
+ text: "_text_1mzm0_22"
2089
+ }, xn = {
2090
+ original: "_original_3zasf_1",
2091
+ tooltip: "_tooltip_3zasf_5",
2092
+ "tooltip-enter": "_tooltip-enter_3zasf_17"
2093
+ }, Sn = (e) => {
2094
+ let t = s(null), [r, a] = c(!1), [o, l] = c({}), f = n(() => {
2095
+ let e = t.current;
2096
+ if (!e) return;
2097
+ let n = e.getBoundingClientRect(), r = window.innerWidth;
2098
+ n.x > r / 2 ? l({
2099
+ top: `${n.y + n.height}px`,
2100
+ right: `${r - n.x - n.width}px`
2101
+ }) : l({
2102
+ top: `${n.y + n.height}px`,
2103
+ left: `${n.x}px`
2104
+ });
2105
+ }, []);
2106
+ return i(() => {
2107
+ r && f();
2108
+ }, [r, f]), /* @__PURE__ */ d("span", {
2109
+ ref: t,
2110
+ className: xn.original,
2111
+ onMouseOver: () => a(!0),
2112
+ onMouseLeave: () => a(!1),
2113
+ style: e.style,
2114
+ children: [e.original, r && /* @__PURE__ */ u("div", {
2115
+ className: `${xn.tooltip} ${xn["tooltip-enter"]}`,
2116
+ style: o,
2117
+ children: e.tooltip
2118
+ })]
2119
+ });
2120
+ }, Cn = (e) => /* @__PURE__ */ u(Sn, {
2121
+ original: e.children,
2122
+ tooltip: /* @__PURE__ */ d("div", {
2123
+ className: bn.container,
2124
+ style: e.style,
2125
+ children: [e.title && /* @__PURE__ */ u("div", {
2126
+ className: bn.title,
2127
+ children: e.title
2128
+ }), /* @__PURE__ */ u("div", {
2129
+ className: bn.text,
2130
+ children: e.text
2131
+ })]
2132
+ })
2133
+ }), wn = {
2134
+ snackbar: "_snackbar_1f0go_1",
2135
+ icon: "_icon_1f0go_19",
2136
+ progress: "_progress_1f0go_45"
2137
+ }, Tn = ({ timeout: e = 5e3, ...t }) => /* @__PURE__ */ d("div", {
2138
+ className: wn.snackbar,
2139
+ style: t.style,
2140
+ children: [
2141
+ t.label == null ? t.children : /* @__PURE__ */ u(D, { children: t.label }),
2142
+ /* @__PURE__ */ u("div", {
2143
+ className: wn.icon,
2144
+ onClick: t.close,
2145
+ children: /* @__PURE__ */ u(C, {
2146
+ d: me,
2147
+ size: "1em"
2148
+ })
2149
+ }),
2150
+ /* @__PURE__ */ u("div", {
2151
+ className: wn.progress,
2152
+ style: { animationDuration: `${e}ms` }
2153
+ })
2154
+ ]
2155
+ }), En = {
2156
+ "snackbar-screen": "_snackbar-screen_up7j2_1",
2157
+ "snackbar-container": "_snackbar-container_up7j2_14",
2158
+ "snackbar-item": "_snackbar-item_up7j2_23"
2159
+ }, Dn = (e) => /* @__PURE__ */ u("div", {
2160
+ className: En["snackbar-screen"],
2161
+ style: e.style,
2162
+ children: /* @__PURE__ */ u("div", {
2163
+ className: En["snackbar-container"],
2164
+ children: e.snackbars.map((e) => /* @__PURE__ */ u("div", {
2165
+ className: En["snackbar-item"],
2166
+ children: /* @__PURE__ */ u(Tn, {
2167
+ label: e.label,
2168
+ timeout: e.timeout,
2169
+ close: e.close,
2170
+ children: e.children
2171
+ })
2172
+ }, e.id))
2173
+ })
2174
+ }), G = {
2175
+ "elm-tabs": "_elm-tabs_1rgae_1",
2176
+ "tab-container": "_tab-container_1rgae_18",
2177
+ tab: "_tab_1rgae_18",
2178
+ active: "_active_1rgae_40",
2179
+ "tab-content-container": "_tab-content-container_1rgae_51",
2180
+ "tab-content": "_tab-content_1rgae_51"
2181
+ }, On = (e) => {
2182
+ let [t, n] = c(0);
2183
+ return /* @__PURE__ */ d("div", {
2184
+ className: G["elm-tabs"],
2185
+ style: e.style,
2186
+ children: [/* @__PURE__ */ u("div", {
2187
+ className: G["tab-container"],
2188
+ children: e.tabLabels.map((e, r) => /* @__PURE__ */ u("div", {
2189
+ className: `${G.tab} ${t === r ? G.active : ""}`,
2190
+ onClick: () => n(r),
2191
+ children: e
2192
+ }, r))
2193
+ }), /* @__PURE__ */ u("div", {
2194
+ className: G["tab-content-container"],
2195
+ children: e.tabContents.map((e, n) => /* @__PURE__ */ u("div", {
2196
+ className: `${G["tab-content"]} ${t === n ? G.active : ""}`,
2197
+ children: e
2198
+ }, n))
2199
+ })]
2200
+ });
2201
+ }, K = {
2202
+ toggle: "_toggle_1i0b6_1",
2203
+ open: "_open_1i0b6_8",
2204
+ summary: "_summary_1i0b6_12",
2205
+ "summary-left": "_summary-left_1i0b6_31",
2206
+ content: "_content_1i0b6_37",
2207
+ "content-open": "_content-open_1i0b6_60",
2208
+ close: "_close_1i0b6_65",
2209
+ "close-button": "_close-button_1i0b6_74"
2210
+ }, kn = (e) => {
2211
+ let [t, n] = c(!1), r = e.value !== void 0, i = r ? e.value : t, a = (t) => {
2212
+ t.preventDefault();
2213
+ let a = !i;
2214
+ r ? e.onChange?.(a) : n(a);
2215
+ };
2216
+ return /* @__PURE__ */ d("div", {
2217
+ className: `${K.toggle} ${i ? K.open : ""}`,
2218
+ style: {
2219
+ "--margin-block": e.margin,
2220
+ ...e.style
2221
+ },
2222
+ children: [
2223
+ /* @__PURE__ */ d("div", {
2224
+ className: K.summary,
2225
+ onClick: a,
2226
+ style: { borderRadius: i ? "0.25rem 0.25rem 0rem 0rem" : "0.25rem" },
2227
+ children: [/* @__PURE__ */ d("div", {
2228
+ className: K["summary-left"],
2229
+ children: [/* @__PURE__ */ u("span", {
2230
+ style: {
2231
+ transform: `rotate(${i ? "90deg" : "0deg"})`,
2232
+ transition: "transform 200ms",
2233
+ display: "flex"
2234
+ },
2235
+ children: /* @__PURE__ */ u(C, {
2236
+ d: ue,
2237
+ color: "#59b57c",
2238
+ size: "1.25em"
2239
+ })
2240
+ }), /* @__PURE__ */ u("div", { children: e.summary == null ? e.summaryContent : /* @__PURE__ */ u(D, { children: e.summary }) })]
2241
+ }), /* @__PURE__ */ u("span", {
2242
+ style: {
2243
+ transform: `rotate(${i ? "135deg" : "0deg"})`,
2244
+ transition: "transform 200ms",
2245
+ display: "flex"
2246
+ },
2247
+ children: /* @__PURE__ */ u(C, {
2248
+ d: ze,
2249
+ color: i ? "#b36472" : "#59b57c"
2250
+ })
2251
+ })]
2252
+ }),
2253
+ /* @__PURE__ */ u("div", {
2254
+ className: `${K.content} ${i ? K["content-open"] : ""}`,
2255
+ children: e.children
2256
+ }),
2257
+ i && /* @__PURE__ */ u("div", {
2258
+ className: K.close,
2259
+ onClick: a,
2260
+ children: /* @__PURE__ */ d("div", {
2261
+ className: K["close-button"],
2262
+ children: [/* @__PURE__ */ u(C, {
2263
+ d: de,
2264
+ size: "1.25em",
2265
+ color: "#c56565"
2266
+ }), /* @__PURE__ */ u(D, {
2267
+ color: "#8e3636",
2268
+ children: "CLOSE"
2269
+ })]
2270
+ })
2271
+ })
2272
+ ]
2273
+ });
2274
+ }, q = {
2275
+ table: "_table_1u89k_1",
2276
+ caption: "_caption_1u89k_8",
2277
+ "caption-inner": "_caption-inner_1u89k_18",
2278
+ spacing: "_spacing_1u89k_25"
2279
+ }, An = t(!1), jn = t(!1), Mn = ({ margin: e, caption: t, hasRowHeader: n = !1, header: r, body: i, style: a }) => /* @__PURE__ */ u(jn.Provider, {
2280
+ value: n,
2281
+ children: /* @__PURE__ */ d("table", {
2282
+ className: q.table,
2283
+ style: {
2284
+ "--margin-block": e,
2285
+ ...a
2286
+ },
2287
+ children: [
2288
+ t != null && /* @__PURE__ */ u("caption", { children: /* @__PURE__ */ d("span", {
2289
+ className: q.caption,
2290
+ children: [
2291
+ /* @__PURE__ */ u("span", { className: q.spacing }),
2292
+ /* @__PURE__ */ d("span", {
2293
+ className: q["caption-inner"],
2294
+ children: [/* @__PURE__ */ u("svg", {
2295
+ viewBox: "0 0 24 24",
2296
+ width: "1rem",
2297
+ height: "1rem",
2298
+ children: /* @__PURE__ */ u("path", {
2299
+ d: He,
2300
+ fill: "#6987b8"
2301
+ })
2302
+ }), /* @__PURE__ */ u(D, { children: t })]
2303
+ }),
2304
+ /* @__PURE__ */ u("span", { className: q.spacing })
2305
+ ]
2306
+ }) }),
2307
+ r,
2308
+ i
2309
+ ]
2310
+ })
2311
+ }), Nn = ({ children: e, style: t }) => /* @__PURE__ */ u(An.Provider, {
2312
+ value: !1,
2313
+ children: /* @__PURE__ */ u("tbody", {
2314
+ style: t,
2315
+ children: e
2316
+ })
2317
+ }), Pn = {
2318
+ common: "_common_15vhm_1",
2319
+ td: "_td_15vhm_26",
2320
+ th: "_th_15vhm_34"
2321
+ }, Fn = ({ children: e, style: t, hasHeader: n = !1, text: i }) => {
2322
+ let a = r(An), o = n || a;
2323
+ return /* @__PURE__ */ u(o ? "th" : "td", {
2324
+ className: `${Pn.common} ${o ? Pn.th : Pn.td}`,
2325
+ style: t,
2326
+ children: i ?? e
2327
+ });
2328
+ }, In = { thead: "_thead_184mb_1" }, Ln = ({ children: e, style: t }) => /* @__PURE__ */ u(An.Provider, {
2329
+ value: !0,
2330
+ children: /* @__PURE__ */ u("thead", {
2331
+ className: In.thead,
2332
+ style: t,
2333
+ children: e
2334
+ })
2335
+ }), Rn = {
2336
+ tr: "_tr_1l64j_1",
2337
+ "has-row-header": "_has-row-header_1l64j_25"
2338
+ }, zn = ({ children: e, style: t }) => {
2339
+ let n = r(jn);
2340
+ return /* @__PURE__ */ u("tr", {
2341
+ className: `${Rn.tr} ${n ? Rn["has-row-header"] : ""}`,
2342
+ style: t,
2343
+ children: e
2344
+ });
2345
+ }, J = {
2346
+ wrapper: "_wrapper_1kvt6_1",
2347
+ header: "_header_1kvt6_18",
2348
+ header__left: "_header__left_1kvt6_35",
2349
+ caption: "_caption_1kvt6_43",
2350
+ header__right: "_header__right_1kvt6_49",
2351
+ "copy-icon": "_copy-icon_1kvt6_57",
2352
+ code: "_code_1kvt6_80",
2353
+ "code-body": "_code-body_1kvt6_88",
2354
+ fallback: "_fallback_1kvt6_92"
2355
+ }, Bn = { code: "_code_1nyfa_1" }, Vn = null;
2356
+ function Hn() {
2357
+ return Vn || (Vn = import("shiki").then(({ createHighlighter: e }) => e({
2358
+ langs: /* @__PURE__ */ "abap.bash.c.clojure.coffeescript.cpp.csharp.css.dart.diff.docker.elixir.elm.erlang.fsharp.gherkin.glsl.go.graphql.groovy.haskell.html.java.javascript.json.julia.kotlin.latex.less.lisp.lua.makefile.markdown.matlab.mermaid.nix.objective-c.ocaml.pascal.perl.php.plaintext.powershell.prolog.protobuf.python.r.ruby.rust.sass.scala.scheme.scss.shell.sql.swift.toml.typescript.wasm.xml.yaml".split("."),
2359
+ themes: ["vitesse-light", "vitesse-dark"]
2360
+ }))), Vn;
2361
+ }
2362
+ //#endregion
2363
+ //#region src/components/code/ElmShikiHighlighter.tsx
2364
+ var Un = ({ code: e, language: t = "txt", onRendered: n, style: r }) => {
2365
+ let [a, o] = c(`<pre>${e}</pre>`), l = s(!1);
2366
+ return i(() => {
2367
+ l.current || Hn().then((r) => {
2368
+ try {
2369
+ o(r.codeToHtml(e, {
2370
+ lang: t,
2371
+ themes: {
2372
+ dark: "vitesse-dark",
2373
+ light: "vitesse-light"
2374
+ },
2375
+ colorReplacements: {
2376
+ "#ffffff": "transparent",
2377
+ "#121212": "transparent"
2378
+ }
2379
+ }));
2380
+ } catch {} finally {
2381
+ l.current = !0, n?.(!0);
2382
+ }
2383
+ }).catch(() => {
2384
+ l.current = !0, n?.(!0);
2385
+ });
2386
+ }, [
2387
+ e,
2388
+ t,
2389
+ n
2390
+ ]), /* @__PURE__ */ u("div", {
2391
+ className: Bn.code,
2392
+ style: r,
2393
+ children: /* @__PURE__ */ u("div", {
2394
+ className: "shiki",
2395
+ dangerouslySetInnerHTML: { __html: a }
2396
+ })
2397
+ });
2398
+ }, Wn = ({ code: e, language: t = "txt", caption: r, margin: a, style: o }) => {
2399
+ let [l, f] = c(!1), [p, m] = c(!1), [h, g] = c(!1), _ = s(null), v = s(null);
2400
+ i(() => {
2401
+ let e = _.current;
2402
+ if (!e) return;
2403
+ let t = new IntersectionObserver(([e]) => {
2404
+ g(e.isIntersecting);
2405
+ });
2406
+ return t.observe(e), () => t.disconnect();
2407
+ }, []);
2408
+ let y = n(() => {
2409
+ navigator.clipboard.writeText(e).then(() => {
2410
+ m(!0), v.current && clearTimeout(v.current), v.current = setTimeout(() => m(!1), 2e3);
2411
+ });
2412
+ }, [e]);
2413
+ return i(() => () => {
2414
+ v.current && clearTimeout(v.current);
2415
+ }, []), /* @__PURE__ */ d("div", {
2416
+ ref: _,
2417
+ className: J.wrapper,
2418
+ style: {
2419
+ "--margin-block": a,
2420
+ opacity: +!!h,
2421
+ ...o
2422
+ },
2423
+ children: [/* @__PURE__ */ d("div", {
2424
+ className: J.header,
2425
+ children: [/* @__PURE__ */ d("div", {
2426
+ className: J.header__left,
2427
+ children: [/* @__PURE__ */ u(Ye, {
2428
+ language: t,
2429
+ size: 20
2430
+ }), /* @__PURE__ */ u("span", {
2431
+ className: J.caption,
2432
+ children: /* @__PURE__ */ u(D, { children: r ?? t })
2433
+ })]
2434
+ }), /* @__PURE__ */ u("div", {
2435
+ className: J.header__right,
2436
+ children: /* @__PURE__ */ u("div", {
2437
+ className: J["copy-icon"],
2438
+ onClick: y,
2439
+ children: /* @__PURE__ */ u(C, {
2440
+ size: "1.25em",
2441
+ d: p ? fe : pe,
2442
+ color: p ? "#b69545" : void 0
2443
+ })
2444
+ })
2445
+ })]
2446
+ }), /* @__PURE__ */ d("div", {
2447
+ className: J.code,
2448
+ children: [/* @__PURE__ */ u("div", {
2449
+ className: J["code-body"],
2450
+ style: { opacity: +!!l },
2451
+ children: /* @__PURE__ */ u(Un, {
2452
+ code: e,
2453
+ language: t,
2454
+ onRendered: f
2455
+ })
2456
+ }), /* @__PURE__ */ u("div", {
2457
+ className: J.fallback,
2458
+ style: { opacity: +!l },
2459
+ children: /* @__PURE__ */ u(w, { size: "48px" })
2460
+ })]
2461
+ })]
2462
+ });
2463
+ }, Gn = { katex: "_katex_10mkg_1" }, Kn = ({ expression: e, block: t = !1, style: n }) => {
2464
+ let [r, a] = c();
2465
+ i(() => {
2466
+ import("katex").then(({ renderToString: n }) => {
2467
+ try {
2468
+ a(n(e, {
2469
+ displayMode: t,
2470
+ output: "mathml"
2471
+ }));
2472
+ } catch (e) {
2473
+ console.error("KaTeX rendering error:", e);
2474
+ }
2475
+ }).catch(() => {});
2476
+ }, [e, t]);
2477
+ let o = `${Gn.katex}`;
2478
+ return t ? /* @__PURE__ */ u("div", {
2479
+ className: o,
2480
+ style: {
2481
+ marginBlock: "3rem",
2482
+ ...n
2483
+ },
2484
+ dangerouslySetInnerHTML: r ? { __html: r } : void 0
2485
+ }) : /* @__PURE__ */ u("span", {
2486
+ className: o,
2487
+ style: n,
2488
+ dangerouslySetInnerHTML: r ? { __html: r } : void 0
2489
+ });
2490
+ }, qn = {
2491
+ mermaid: "_mermaid_1jn2f_1",
2492
+ raw: "_raw_1jn2f_10",
2493
+ rendered: "_rendered_1jn2f_14"
2494
+ }, Y = {
2495
+ instance: null,
2496
+ svgCache: /* @__PURE__ */ new Map()
2497
+ }, Jn = 0;
2498
+ function Yn(e) {
2499
+ let t = 0;
2500
+ for (let n = 0; n < e.length; n++) {
2501
+ let r = e.charCodeAt(n);
2502
+ t = (t << 5) - t + r, t &= t;
2503
+ }
2504
+ return `mermaid-${t}`;
2505
+ }
2506
+ var Xn = ({ code: e, style: t }) => {
2507
+ let n = s(null), [r, a] = c(!1);
2508
+ return i(() => {
2509
+ if (!n.current) return;
2510
+ let t = !1;
2511
+ return a(!1), (async () => {
2512
+ try {
2513
+ let r = Yn(e);
2514
+ if (Y.svgCache.has(r)) {
2515
+ !t && n.current && (n.current.innerHTML = Y.svgCache.get(r), a(!0));
2516
+ return;
2517
+ }
2518
+ if (!Y.instance) {
2519
+ let { default: e } = await import("mermaid");
2520
+ e.initialize({
2521
+ startOnLoad: !1,
2522
+ theme: "base",
2523
+ themeVariables: {
2524
+ mainBkg: "#fbfcff",
2525
+ lineColor: "#606875",
2526
+ primaryColor: "#6c7483",
2527
+ secondaryColor: "#e9dec5",
2528
+ tertiaryColor: "#f5f6f8",
2529
+ tertiaryBorderColor: "#e2d4b2",
2530
+ tertiaryTextColor: "#b69545",
2531
+ signalColor: "#949ba7"
2532
+ }
2533
+ }), Y.instance = e;
2534
+ }
2535
+ let i = `mermaid-react-${++Jn}`, { svg: o } = await Y.instance.render(i, e);
2536
+ Y.svgCache.set(r, o), !t && n.current && (n.current.innerHTML = o, a(!0));
2537
+ } catch (r) {
2538
+ console.error("Mermaid render error:", r), !t && n.current && (n.current.innerHTML = `<pre>${e}</pre>`, a(!0));
2539
+ }
2540
+ })(), () => {
2541
+ t = !0;
2542
+ };
2543
+ }, [e]), /* @__PURE__ */ u("div", {
2544
+ ref: n,
2545
+ className: `${qn.mermaid} ${r ? qn.rendered : qn.raw}`,
2546
+ style: t
2547
+ });
2548
+ }, X = {
2549
+ "color-bg": "_color-bg_yiibu_1",
2550
+ text: "_text_yiibu_17"
2551
+ }, Zn = ({ color: e, style: t }) => {
2552
+ let [r, i] = c(!1), a = s(null), o = g(e), { hue: f, saturation: p, lightness: m } = h(e), v = _(o), y = `rgb(${o.red}, ${o.green}, ${o.blue})`, b = `hsl(${Math.floor(f)}, ${Math.floor(p * 100)}%, ${Math.floor(m * 100)}%)`, x = n((e) => {
2553
+ navigator.clipboard.writeText(e).then(() => {
2554
+ i(!0), a.current && clearTimeout(a.current), a.current = setTimeout(() => i(!1), 1500);
2555
+ });
2556
+ }, []);
2557
+ return /* @__PURE__ */ u("div", {
2558
+ style: {
2559
+ "--color": e,
2560
+ ...t
2561
+ },
2562
+ children: /* @__PURE__ */ u(Sn, {
2563
+ original: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
2564
+ className: X["color-bg"],
2565
+ style: { "--background-color": e },
2566
+ onClick: () => x(v),
2567
+ children: r && /* @__PURE__ */ u(C, {
2568
+ d: se,
2569
+ size: "1em",
2570
+ color: "white"
2571
+ })
2572
+ }), /* @__PURE__ */ u("div", {
2573
+ className: X.text,
2574
+ onClick: () => x(v),
2575
+ children: v
2576
+ })] }),
2577
+ tooltip: /* @__PURE__ */ d(l, { children: [
2578
+ /* @__PURE__ */ u("div", {
2579
+ className: X.text,
2580
+ onClick: () => x(v),
2581
+ children: v
2582
+ }),
2583
+ /* @__PURE__ */ u("div", {
2584
+ className: X.text,
2585
+ onClick: () => x(y),
2586
+ children: y
2587
+ }),
2588
+ /* @__PURE__ */ u("div", {
2589
+ className: X.text,
2590
+ onClick: () => x(b),
2591
+ children: b
2592
+ })
2593
+ ] })
2594
+ })
2595
+ });
2596
+ }, Z = {
2597
+ container: "_container_a7c06_1",
2598
+ "row-container": "_row-container_a7c06_9",
2599
+ "color-name": "_color-name_a7c06_17"
2600
+ }, Qn = [
2601
+ -3,
2602
+ -.25,
2603
+ -.2,
2604
+ -.15,
2605
+ -.1,
2606
+ -.05,
2607
+ 0,
2608
+ .05,
2609
+ .1,
2610
+ .15,
2611
+ .2,
2612
+ .25,
2613
+ .3
2614
+ ], $n = ({ colors: e, style: t }) => /* @__PURE__ */ u("div", {
2615
+ className: Z.container,
2616
+ style: t,
2617
+ children: e.map((e) => /* @__PURE__ */ d("div", {
2618
+ className: Z["row-container"],
2619
+ children: [/* @__PURE__ */ u("div", {
2620
+ className: Z["color-name"],
2621
+ style: { "--color": e.code },
2622
+ children: e.name
2623
+ }), Qn.map((t) => /* @__PURE__ */ u(Zn, { color: f(t, e.code) }, t))]
2624
+ }, e.name))
2625
+ }), Q = {
2626
+ palette: "_palette_nr5mr_1",
2627
+ header: "_header_nr5mr_11",
2628
+ input: "_input_nr5mr_31",
2629
+ body: "_body_nr5mr_43",
2630
+ "empty-result": "_empty-result_nr5mr_60",
2631
+ command: "_command_nr5mr_71",
2632
+ "command-selected": "_command-selected_nr5mr_96",
2633
+ "command-icon": "_command-icon_nr5mr_101",
2634
+ tag: "_tag_nr5mr_105",
2635
+ footer: "_footer_nr5mr_116"
2636
+ }, er = {
2637
+ brown: "#a17c5b",
2638
+ crimson: "#c56565",
2639
+ amber: "#d48b70",
2640
+ gold: "#cdb57b",
2641
+ emerald: "#59b57c",
2642
+ cyan: "#59a7b5",
2643
+ blue: "#6987b8",
2644
+ purple: "#9771bd",
2645
+ pink: "#c9699e"
2646
+ };
2647
+ function tr(e, t) {
2648
+ if (!t.trim()) return [];
2649
+ let n = t.toLowerCase();
2650
+ return e.filter((e) => e.label.toLowerCase().includes(n) || e.description?.toLowerCase().includes(n) || e.keywords?.some((e) => e.toLowerCase().includes(n)));
2651
+ }
2652
+ var nr = ({ commands: e, onCommandInvoked: t, style: r }) => {
2653
+ let [a, o] = c(""), [l, f] = c([]), [p, h] = c(null), g = s(null);
2654
+ i(() => {
2655
+ g.current?.focus();
2656
+ }, []);
2657
+ let _ = n((t) => {
2658
+ let n = t.target.value;
2659
+ o(n);
2660
+ let r = tr(e, n);
2661
+ f(r), h(r.length > 0 ? 0 : null);
2662
+ }, [e]), v = n((e) => {
2663
+ if (e === null) return;
2664
+ let n = l[e];
2665
+ n && (n.onInvoke?.(), t?.(n));
2666
+ }, [l, t]);
2667
+ return i(() => {
2668
+ let e = (e) => {
2669
+ e.key === "ArrowDown" || e.key === "Tab" ? (e.preventDefault(), h((e) => e === null ? 0 : e < l.length - 1 ? e + 1 : e)) : e.key === "ArrowUp" ? (e.preventDefault(), h((e) => e === null ? 0 : e > 0 ? e - 1 : 0)) : e.key === "Enter" && (e.preventDefault(), v(p));
2670
+ };
2671
+ return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2672
+ }, [
2673
+ v,
2674
+ p,
2675
+ l.length
2676
+ ]), /* @__PURE__ */ d("div", {
2677
+ className: Q.palette,
2678
+ style: {
2679
+ "--height": "500px",
2680
+ "--width": "800px",
2681
+ ...r
2682
+ },
2683
+ children: [
2684
+ /* @__PURE__ */ d("header", {
2685
+ className: Q.header,
2686
+ children: [/* @__PURE__ */ u(C, { d: he }), /* @__PURE__ */ u("input", {
2687
+ ref: g,
2688
+ className: Q.input,
2689
+ value: a,
2690
+ onChange: _,
2691
+ type: "text",
2692
+ inputMode: "text"
2693
+ })]
2694
+ }),
2695
+ /* @__PURE__ */ u("div", {
2696
+ className: Q.body,
2697
+ children: l.length === 0 ? /* @__PURE__ */ u("div", {
2698
+ className: Q["empty-result"],
2699
+ children: /* @__PURE__ */ u(D, { children: "search anything..." })
2700
+ }) : l.map((e, t) => /* @__PURE__ */ d("button", {
2701
+ className: `${Q.command} ${t === p ? Q["command-selected"] : ""}`,
2702
+ onClick: () => {
2703
+ h(t), v(t);
2704
+ },
2705
+ children: [
2706
+ e.icon ? /* @__PURE__ */ u("img", {
2707
+ className: Q["command-icon"],
2708
+ src: e.icon,
2709
+ alt: e.label
2710
+ }) : /* @__PURE__ */ u(C, {
2711
+ d: he,
2712
+ size: "1rem"
2713
+ }),
2714
+ e.tag ? /* @__PURE__ */ u("div", {
2715
+ className: Q.tag,
2716
+ style: { "--tag-color": m(-.3, er[e.tag.color]) },
2717
+ children: e.tag.name
2718
+ }) : /* @__PURE__ */ u("div", { className: Q.tag }),
2719
+ /* @__PURE__ */ u(D, {
2720
+ style: {
2721
+ whiteSpace: "nowrap",
2722
+ overflow: "hidden",
2723
+ textOverflow: "ellipsis",
2724
+ maxWidth: "24rem"
2725
+ },
2726
+ children: e.label
2727
+ }),
2728
+ /* @__PURE__ */ u(D, {
2729
+ style: {
2730
+ opacity: .4,
2731
+ whiteSpace: "nowrap",
2732
+ overflow: "hidden",
2733
+ textOverflow: "ellipsis"
2734
+ },
2735
+ children: e.description ?? "-"
2736
+ }),
2737
+ /* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(C, { d: Oe }) })
2738
+ ]
2739
+ }, e.id))
2740
+ }),
2741
+ /* @__PURE__ */ d("footer", {
2742
+ className: Q.footer,
2743
+ children: [/* @__PURE__ */ u(D, {
2744
+ kbd: !0,
2745
+ children: "Esc"
2746
+ }), /* @__PURE__ */ u(D, { children: "Close" })]
2747
+ })
2748
+ ]
2749
+ });
2750
+ }, rr = {
2751
+ "jarkup-body": "_jarkup-body_jsvhx_1",
2752
+ "unsupported-block": "_unsupported-block_jsvhx_5"
2753
+ }, ir = ({ jsonComponents: e, style: t }) => /* @__PURE__ */ u("div", {
2754
+ className: rr["jarkup-body"],
2755
+ style: t,
2756
+ children: e.map((e, t) => /* @__PURE__ */ u("div", {
2757
+ className: rr["unsupported-block"],
2758
+ children: /* @__PURE__ */ u("code", { children: JSON.stringify(e, null, 2) })
2759
+ }, t))
2760
+ }), ar = { "markdown-body": "_markdown-body_130yx_1" }, or = ({ markdown: e, style: t }) => {
2761
+ let [n, r] = c("");
2762
+ return i(() => {
2763
+ import("marked").then(({ marked: t }) => {
2764
+ try {
2765
+ let n = t.setOptions({ gfm: !0 }).parse(e);
2766
+ typeof n == "string" ? r(n) : n.then(r);
2767
+ } catch (t) {
2768
+ console.error("Markdown rendering error:", t), r(`<pre>${e}</pre>`);
2769
+ }
2770
+ }).catch(() => {
2771
+ r(`<pre>${e}</pre>`);
2772
+ });
2773
+ }, [e]), /* @__PURE__ */ u("div", {
2774
+ className: ar["markdown-body"],
2775
+ style: t,
2776
+ dangerouslySetInnerHTML: { __html: n }
2777
+ });
2778
+ }, $ = {
2779
+ char: "_char_sojtj_1",
2780
+ typed: "_typed_sojtj_20",
2781
+ current: "_current_sojtj_24",
2782
+ incorrect: "_incorrect_sojtj_29"
2783
+ }, sr = ({ target: e = "Typing game", style: t }) => {
2784
+ let [n, r] = c(() => {
2785
+ let t = e.split("").map((e) => ({
2786
+ char: e,
2787
+ status: "default"
2788
+ }));
2789
+ return t.length > 0 && (t[0].status = "current"), t;
2790
+ }), [a, o] = c(0), [s, l] = c(0), [f, p] = c(!1);
2791
+ return i(() => {
2792
+ let t = e.split("").map((e) => ({
2793
+ char: e,
2794
+ status: "default"
2795
+ }));
2796
+ t.length > 0 && (t[0].status = "current");
2797
+ let n = window.setTimeout(() => {
2798
+ r(t), o(0), l(0), p(!1);
2799
+ }, 0);
2800
+ return () => clearTimeout(n);
2801
+ }, [e]), i(() => {
2802
+ let e = (e) => {
2803
+ f || e.key.length !== 1 || r((t) => {
2804
+ if (!t[a]) return t;
2805
+ let n = [...t];
2806
+ return e.key === n[a].char ? (n[a] = {
2807
+ ...n[a],
2808
+ status: "typed"
2809
+ }, a === n.length - 1 ? p(!0) : o((e) => (n[e + 1] = {
2810
+ ...n[e + 1],
2811
+ status: "current"
2812
+ }, e + 1))) : (n[a] = {
2813
+ ...n[a],
2814
+ status: "incorrect"
2815
+ }, l((e) => e + 1)), n;
2816
+ });
2817
+ };
2818
+ return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2819
+ }, [a, f]), /* @__PURE__ */ d("div", {
2820
+ style: t,
2821
+ children: [
2822
+ /* @__PURE__ */ u("div", { children: n.map((e, t) => /* @__PURE__ */ u("span", {
2823
+ className: [
2824
+ $.char,
2825
+ e.status === "typed" ? $.typed : "",
2826
+ e.status === "current" ? $.current : "",
2827
+ e.status === "incorrect" ? $.incorrect : ""
2828
+ ].filter(Boolean).join(" "),
2829
+ children: e.char
2830
+ }, t)) }),
2831
+ f && /* @__PURE__ */ u("div", { children: "FINISH!" }),
2832
+ s > 0 && /* @__PURE__ */ d("div", { children: ["Mistakes: ", s] })
2833
+ ]
2834
+ });
2835
+ }, cr = ({ oEmbed: e, style: t }) => e.type === "photo" ? /* @__PURE__ */ u("div", {
2836
+ style: t,
2837
+ children: /* @__PURE__ */ u(Bt, {
2838
+ src: e.url,
2839
+ alt: e.title,
2840
+ width: e.width,
2841
+ height: e.height,
2842
+ block: !0
2843
+ })
2844
+ }) : e.type === "video" || e.type === "rich" ? /* @__PURE__ */ u("div", {
2845
+ style: {
2846
+ width: e.width ? `${e.width}px` : void 0,
2847
+ height: e.height ? `${e.height}px` : void 0,
2848
+ ...t
2849
+ },
2850
+ dangerouslySetInnerHTML: { __html: e.html }
2851
+ }) : /* @__PURE__ */ u("div", {
2852
+ style: t,
2853
+ children: /* @__PURE__ */ u(D, {
2854
+ href: e.author_url ?? e.provider_url ?? "#",
2855
+ children: e.title ?? e.author_name ?? e.provider_name ?? "Link"
2856
+ })
8
2857
  });
9
2858
  //#endregion
10
- export { n as ElmTemplate };
2859
+ export { st as ElmArrowIcon, Zt as ElmBlockFallback, _t as ElmBlockQuote, Ut as ElmBookmark, lt as ElmBookmarkIcon, Wt as ElmBreadcrumb, tn as ElmButton, bt as ElmCallout, nn as ElmCheckbox, Wn as ElmCodeBlock, Zn as ElmColorSample, $n as ElmColorTable, dn as ElmColumn, pn as ElmColumnList, nr as ElmCommandPalette, gn as ElmConfirmModal, ft as ElmCubeIcon, _n as ElmDesktopWindow, St as ElmDivider, w as ElmDotLoadingIcon, Ht as ElmFile, wt as ElmFragmentIdentifier, Ot as ElmHeading, Bt as ElmImage, S as ElmInlineIcon, D as ElmInlineText, ir as ElmJsonComponentRenderer, Kn as ElmKatex, Ye as ElmLanguageIcon, kt as ElmList, mt as ElmLoginIcon, or as ElmMarkdown, C as ElmMdiIcon, Xn as ElmMermaid, hn as ElmModal, It as ElmMultiProgress, cr as ElmOEmbed, Gt as ElmPageTop, gt as ElmParagraph, yn as ElmParallax, Pt as ElmProgress, Xt as ElmRectangleWave, rn as ElmSelect, Un as ElmShikiHighlighter, Cn as ElmSimpleTooltip, Tn as ElmSnackbar, Dn as ElmSnackbarContainer, $t as ElmSpinner, tt as ElmSquareLoadingIcon, zt as ElmStatusMessage, an as ElmSwitch, Mn as ElmTable, Nn as ElmTableBody, Fn as ElmTableCell, Ln as ElmTableHeader, qt as ElmTableOfContents, zn as ElmTableRow, On as ElmTabs, Nt as ElmTemplate, sn as ElmTextField, kn as ElmToggle, ot as ElmToggleTheme, Sn as ElmTooltip, sr as ElmTyping, jt as ElmTypingAnimation, en as ElmUnsupportedBlock, ln as ElmValidation, Xe as LANGUAGES };