@helpwave/hightide 0.1.25 → 0.1.26

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 (602) hide show
  1. package/README.md +1 -1
  2. package/dist/components/branding/HelpwaveBadge.d.mts +4 -5
  3. package/dist/components/branding/HelpwaveBadge.d.ts +4 -5
  4. package/dist/components/branding/HelpwaveBadge.js +46 -87
  5. package/dist/components/branding/HelpwaveBadge.js.map +1 -1
  6. package/dist/components/branding/HelpwaveBadge.mjs +46 -89
  7. package/dist/components/branding/HelpwaveBadge.mjs.map +1 -1
  8. package/dist/components/date/DatePicker.d.mts +1 -1
  9. package/dist/components/date/DatePicker.d.ts +1 -1
  10. package/dist/components/date/DatePicker.js +64 -13
  11. package/dist/components/date/DatePicker.js.map +1 -1
  12. package/dist/components/date/DatePicker.mjs +65 -14
  13. package/dist/components/date/DatePicker.mjs.map +1 -1
  14. package/dist/components/date/DayPicker.d.mts +1 -1
  15. package/dist/components/date/DayPicker.d.ts +1 -1
  16. package/dist/components/date/DayPicker.js +3 -3
  17. package/dist/components/date/DayPicker.js.map +1 -1
  18. package/dist/components/date/DayPicker.mjs +3 -3
  19. package/dist/components/date/DayPicker.mjs.map +1 -1
  20. package/dist/components/date/TimeDisplay.js.map +1 -1
  21. package/dist/components/date/TimeDisplay.mjs.map +1 -1
  22. package/dist/components/date/TimePicker.js +2 -2
  23. package/dist/components/date/TimePicker.js.map +1 -1
  24. package/dist/components/date/TimePicker.mjs +2 -2
  25. package/dist/components/date/TimePicker.mjs.map +1 -1
  26. package/dist/components/date/YearMonthPicker.js +58 -7
  27. package/dist/components/date/YearMonthPicker.js.map +1 -1
  28. package/dist/components/date/YearMonthPicker.mjs +59 -8
  29. package/dist/components/date/YearMonthPicker.mjs.map +1 -1
  30. package/dist/components/{dialogs → dialog}/ConfirmDialog.d.mts +9 -8
  31. package/dist/components/{dialogs → dialog}/ConfirmDialog.d.ts +9 -8
  32. package/dist/components/dialog/ConfirmDialog.js +938 -0
  33. package/dist/components/dialog/ConfirmDialog.js.map +1 -0
  34. package/dist/components/dialog/ConfirmDialog.mjs +902 -0
  35. package/dist/components/dialog/ConfirmDialog.mjs.map +1 -0
  36. package/dist/components/dialog/Dialog.d.mts +27 -0
  37. package/dist/components/dialog/Dialog.d.ts +27 -0
  38. package/dist/components/dialog/Dialog.js +879 -0
  39. package/dist/components/dialog/Dialog.js.map +1 -0
  40. package/dist/components/dialog/Dialog.mjs +845 -0
  41. package/dist/components/dialog/Dialog.mjs.map +1 -0
  42. package/dist/components/dialog/DiscardChangesDialog.d.mts +24 -0
  43. package/dist/components/dialog/DiscardChangesDialog.d.ts +24 -0
  44. package/dist/components/dialog/DiscardChangesDialog.js +966 -0
  45. package/dist/components/dialog/DiscardChangesDialog.js.map +1 -0
  46. package/dist/components/dialog/DiscardChangesDialog.mjs +930 -0
  47. package/dist/components/dialog/DiscardChangesDialog.mjs.map +1 -0
  48. package/dist/components/dialog/InputDialog.d.mts +22 -0
  49. package/dist/components/dialog/InputDialog.d.ts +22 -0
  50. package/dist/components/dialog/InputDialog.js +1139 -0
  51. package/dist/components/dialog/InputDialog.js.map +1 -0
  52. package/dist/components/dialog/InputDialog.mjs +1103 -0
  53. package/dist/components/dialog/InputDialog.mjs.map +1 -0
  54. package/dist/components/dialog/LanguageDialog.d.mts +25 -0
  55. package/dist/components/dialog/LanguageDialog.d.ts +25 -0
  56. package/dist/components/dialog/LanguageDialog.js +1684 -0
  57. package/dist/components/dialog/LanguageDialog.js.map +1 -0
  58. package/dist/components/dialog/LanguageDialog.mjs +1658 -0
  59. package/dist/components/dialog/LanguageDialog.mjs.map +1 -0
  60. package/dist/components/dialog/ThemeDialog.d.mts +26 -0
  61. package/dist/components/dialog/ThemeDialog.d.ts +26 -0
  62. package/dist/components/dialog/ThemeDialog.js +1715 -0
  63. package/dist/components/dialog/ThemeDialog.js.map +1 -0
  64. package/dist/components/dialog/ThemeDialog.mjs +1689 -0
  65. package/dist/components/dialog/ThemeDialog.mjs.map +1 -0
  66. package/dist/components/dialog/index.d.mts +17 -0
  67. package/dist/components/dialog/index.d.ts +17 -0
  68. package/dist/components/dialog/index.js +2062 -0
  69. package/dist/components/dialog/index.js.map +1 -0
  70. package/dist/components/dialog/index.mjs +2031 -0
  71. package/dist/components/dialog/index.mjs.map +1 -0
  72. package/dist/components/form/FormElementWrapper.d.mts +29 -0
  73. package/dist/components/form/FormElementWrapper.d.ts +29 -0
  74. package/dist/components/form/FormElementWrapper.js +98 -0
  75. package/dist/components/form/FormElementWrapper.js.map +1 -0
  76. package/dist/components/form/FormElementWrapper.mjs +64 -0
  77. package/dist/components/form/FormElementWrapper.mjs.map +1 -0
  78. package/dist/components/icons-and-geometry/Avatar.js +498 -2886
  79. package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
  80. package/dist/components/icons-and-geometry/Avatar.mjs +490 -2878
  81. package/dist/components/icons-and-geometry/Avatar.mjs.map +1 -1
  82. package/dist/components/icons-and-geometry/{Helpwave.d.mts → HelpwaveLogo.d.mts} +3 -3
  83. package/dist/components/icons-and-geometry/{Helpwave.d.ts → HelpwaveLogo.d.ts} +3 -3
  84. package/dist/components/icons-and-geometry/{Helpwave.js → HelpwaveLogo.js} +21 -22
  85. package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +1 -0
  86. package/dist/components/icons-and-geometry/{Helpwave.mjs → HelpwaveLogo.mjs} +17 -18
  87. package/dist/components/icons-and-geometry/HelpwaveLogo.mjs.map +1 -0
  88. package/dist/components/icons-and-geometry/Ring.js +1 -1
  89. package/dist/components/icons-and-geometry/Ring.js.map +1 -1
  90. package/dist/components/icons-and-geometry/Ring.mjs +1 -1
  91. package/dist/components/icons-and-geometry/Ring.mjs.map +1 -1
  92. package/dist/components/icons-and-geometry/Tag.js +8 -20
  93. package/dist/components/icons-and-geometry/Tag.js.map +1 -1
  94. package/dist/components/icons-and-geometry/Tag.mjs +8 -20
  95. package/dist/components/icons-and-geometry/Tag.mjs.map +1 -1
  96. package/dist/components/layout-and-navigation/BreadCrumb.js +667 -22
  97. package/dist/components/layout-and-navigation/BreadCrumb.js.map +1 -1
  98. package/dist/components/layout-and-navigation/BreadCrumb.mjs +667 -22
  99. package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +1 -1
  100. package/dist/components/layout-and-navigation/Carousel.js +12 -10
  101. package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
  102. package/dist/components/layout-and-navigation/Carousel.mjs +12 -10
  103. package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
  104. package/dist/components/layout-and-navigation/Chip.d.mts +8 -5
  105. package/dist/components/layout-and-navigation/Chip.d.ts +8 -5
  106. package/dist/components/layout-and-navigation/Chip.js +17 -4
  107. package/dist/components/layout-and-navigation/Chip.js.map +1 -1
  108. package/dist/components/layout-and-navigation/Chip.mjs +17 -4
  109. package/dist/components/layout-and-navigation/Chip.mjs.map +1 -1
  110. package/dist/components/layout-and-navigation/Expandable.d.mts +13 -10
  111. package/dist/components/layout-and-navigation/Expandable.d.ts +13 -10
  112. package/dist/components/layout-and-navigation/Expandable.js +18 -5
  113. package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
  114. package/dist/components/layout-and-navigation/Expandable.mjs +19 -6
  115. package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -1
  116. package/dist/components/layout-and-navigation/FAQSection.js +21 -8
  117. package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
  118. package/dist/components/layout-and-navigation/FAQSection.mjs +22 -9
  119. package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -1
  120. package/dist/components/layout-and-navigation/FloatingContainer.d.mts +38 -0
  121. package/dist/components/layout-and-navigation/FloatingContainer.d.ts +38 -0
  122. package/dist/components/layout-and-navigation/FloatingContainer.js +219 -0
  123. package/dist/components/layout-and-navigation/FloatingContainer.js.map +1 -0
  124. package/dist/components/layout-and-navigation/FloatingContainer.mjs +195 -0
  125. package/dist/components/layout-and-navigation/FloatingContainer.mjs.map +1 -0
  126. package/dist/components/layout-and-navigation/ListBox.d.mts +44 -0
  127. package/dist/components/layout-and-navigation/ListBox.d.ts +44 -0
  128. package/dist/components/layout-and-navigation/ListBox.js +329 -0
  129. package/dist/components/layout-and-navigation/ListBox.js.map +1 -0
  130. package/dist/components/layout-and-navigation/ListBox.mjs +290 -0
  131. package/dist/components/layout-and-navigation/ListBox.mjs.map +1 -0
  132. package/dist/components/layout-and-navigation/Pagination.js +104 -189
  133. package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
  134. package/dist/components/layout-and-navigation/Pagination.mjs +99 -184
  135. package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
  136. package/dist/components/layout-and-navigation/ScrollArea.d.mts +15 -0
  137. package/dist/components/layout-and-navigation/ScrollArea.d.ts +15 -0
  138. package/dist/components/layout-and-navigation/ScrollArea.js +1252 -0
  139. package/dist/components/layout-and-navigation/ScrollArea.js.map +1 -0
  140. package/dist/components/layout-and-navigation/ScrollArea.mjs +1216 -0
  141. package/dist/components/layout-and-navigation/ScrollArea.mjs.map +1 -0
  142. package/dist/components/layout-and-navigation/StepperBar.js +41 -1
  143. package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
  144. package/dist/components/layout-and-navigation/StepperBar.mjs +41 -1
  145. package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
  146. package/dist/components/layout-and-navigation/TextImage.js +3 -1
  147. package/dist/components/layout-and-navigation/TextImage.js.map +1 -1
  148. package/dist/components/layout-and-navigation/TextImage.mjs +3 -1
  149. package/dist/components/layout-and-navigation/TextImage.mjs.map +1 -1
  150. package/dist/components/loading-states/ErrorComponent.js.map +1 -1
  151. package/dist/components/loading-states/ErrorComponent.mjs.map +1 -1
  152. package/dist/components/loading-states/LoadingAndErrorComponent.d.mts +1 -1
  153. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +1 -1
  154. package/dist/components/loading-states/LoadingAnimation.js +18 -17
  155. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  156. package/dist/components/loading-states/LoadingAnimation.mjs +18 -17
  157. package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
  158. package/dist/components/loading-states/LoadingButton.js +55 -18
  159. package/dist/components/loading-states/LoadingButton.js.map +1 -1
  160. package/dist/components/loading-states/LoadingButton.mjs +55 -18
  161. package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
  162. package/dist/components/properties/CheckboxProperty.js +890 -135
  163. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  164. package/dist/components/properties/CheckboxProperty.mjs +897 -142
  165. package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
  166. package/dist/components/properties/DateProperty.js +153 -198
  167. package/dist/components/properties/DateProperty.js.map +1 -1
  168. package/dist/components/properties/DateProperty.mjs +146 -191
  169. package/dist/components/properties/DateProperty.mjs.map +1 -1
  170. package/dist/components/properties/MultiSelectProperty.d.mts +5 -10
  171. package/dist/components/properties/MultiSelectProperty.d.ts +5 -10
  172. package/dist/components/properties/MultiSelectProperty.js +1143 -1160
  173. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  174. package/dist/components/properties/MultiSelectProperty.mjs +1156 -1163
  175. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
  176. package/dist/components/properties/NumberProperty.js +155 -201
  177. package/dist/components/properties/NumberProperty.js.map +1 -1
  178. package/dist/components/properties/NumberProperty.mjs +148 -194
  179. package/dist/components/properties/NumberProperty.mjs.map +1 -1
  180. package/dist/components/properties/PropertyBase.js +49 -9
  181. package/dist/components/properties/PropertyBase.js.map +1 -1
  182. package/dist/components/properties/PropertyBase.mjs +49 -9
  183. package/dist/components/properties/PropertyBase.mjs.map +1 -1
  184. package/dist/components/properties/SelectProperty.d.mts +5 -8
  185. package/dist/components/properties/SelectProperty.d.ts +5 -8
  186. package/dist/components/properties/SelectProperty.js +1047 -834
  187. package/dist/components/properties/SelectProperty.js.map +1 -1
  188. package/dist/components/properties/SelectProperty.mjs +1063 -840
  189. package/dist/components/properties/SelectProperty.mjs.map +1 -1
  190. package/dist/components/properties/TextProperty.js +97 -100
  191. package/dist/components/properties/TextProperty.js.map +1 -1
  192. package/dist/components/properties/TextProperty.mjs +100 -103
  193. package/dist/components/properties/TextProperty.mjs.map +1 -1
  194. package/dist/components/table/Table.js +1618 -993
  195. package/dist/components/table/Table.js.map +1 -1
  196. package/dist/components/table/Table.mjs +1625 -1000
  197. package/dist/components/table/Table.mjs.map +1 -1
  198. package/dist/components/table/TableFilterButton.js +116 -201
  199. package/dist/components/table/TableFilterButton.js.map +1 -1
  200. package/dist/components/table/TableFilterButton.mjs +105 -190
  201. package/dist/components/table/TableFilterButton.mjs.map +1 -1
  202. package/dist/components/table/TableSortButton.js +4 -3
  203. package/dist/components/table/TableSortButton.js.map +1 -1
  204. package/dist/components/table/TableSortButton.mjs +4 -3
  205. package/dist/components/table/TableSortButton.mjs.map +1 -1
  206. package/dist/components/user-action/Button.d.mts +15 -11
  207. package/dist/components/user-action/Button.d.ts +15 -11
  208. package/dist/components/user-action/Button.js +10 -9
  209. package/dist/components/user-action/Button.js.map +1 -1
  210. package/dist/components/user-action/Button.mjs +10 -9
  211. package/dist/components/user-action/Button.mjs.map +1 -1
  212. package/dist/components/user-action/Checkbox.d.mts +9 -25
  213. package/dist/components/user-action/Checkbox.d.ts +9 -25
  214. package/dist/components/user-action/Checkbox.js +793 -103
  215. package/dist/components/user-action/Checkbox.js.map +1 -1
  216. package/dist/components/user-action/Checkbox.mjs +794 -104
  217. package/dist/components/user-action/Checkbox.mjs.map +1 -1
  218. package/dist/components/user-action/CopyToClipboardWrapper.js +3 -1
  219. package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
  220. package/dist/components/user-action/CopyToClipboardWrapper.mjs +3 -1
  221. package/dist/components/user-action/CopyToClipboardWrapper.mjs.map +1 -1
  222. package/dist/components/user-action/DateAndTimePicker.d.mts +1 -1
  223. package/dist/components/user-action/DateAndTimePicker.d.ts +1 -1
  224. package/dist/components/user-action/DateAndTimePicker.js +66 -13
  225. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  226. package/dist/components/user-action/DateAndTimePicker.mjs +67 -14
  227. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
  228. package/dist/components/user-action/Label.d.mts +6 -8
  229. package/dist/components/user-action/Label.d.ts +6 -8
  230. package/dist/components/user-action/Label.js +4 -6
  231. package/dist/components/user-action/Label.js.map +1 -1
  232. package/dist/components/user-action/Label.mjs +4 -6
  233. package/dist/components/user-action/Label.mjs.map +1 -1
  234. package/dist/components/user-action/Menu.d.mts +2 -2
  235. package/dist/components/user-action/Menu.d.ts +2 -2
  236. package/dist/components/user-action/Menu.js +1 -1
  237. package/dist/components/user-action/Menu.js.map +1 -1
  238. package/dist/components/user-action/Menu.mjs +1 -1
  239. package/dist/components/user-action/Menu.mjs.map +1 -1
  240. package/dist/components/user-action/ScrollPicker.js +8 -6
  241. package/dist/components/user-action/ScrollPicker.js.map +1 -1
  242. package/dist/components/user-action/ScrollPicker.mjs +8 -6
  243. package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
  244. package/dist/components/user-action/SearchBar.d.mts +1 -2
  245. package/dist/components/user-action/SearchBar.d.ts +1 -2
  246. package/dist/components/user-action/SearchBar.js +93 -178
  247. package/dist/components/user-action/SearchBar.js.map +1 -1
  248. package/dist/components/user-action/SearchBar.mjs +86 -171
  249. package/dist/components/user-action/SearchBar.mjs.map +1 -1
  250. package/dist/components/user-action/Textarea.d.mts +22 -11
  251. package/dist/components/user-action/Textarea.d.ts +22 -11
  252. package/dist/components/user-action/Textarea.js +101 -92
  253. package/dist/components/user-action/Textarea.js.map +1 -1
  254. package/dist/components/user-action/Textarea.mjs +100 -92
  255. package/dist/components/user-action/Textarea.mjs.map +1 -1
  256. package/dist/components/user-action/input/Input.d.mts +37 -0
  257. package/dist/components/user-action/input/Input.d.ts +37 -0
  258. package/dist/components/user-action/input/Input.js +244 -0
  259. package/dist/components/user-action/input/Input.js.map +1 -0
  260. package/dist/components/user-action/input/Input.mjs +209 -0
  261. package/dist/components/user-action/input/Input.mjs.map +1 -0
  262. package/dist/components/user-action/input/InsideLabelInput.d.mts +20 -0
  263. package/dist/components/user-action/input/InsideLabelInput.d.ts +20 -0
  264. package/dist/components/user-action/input/InsideLabelInput.js +295 -0
  265. package/dist/components/user-action/input/InsideLabelInput.js.map +1 -0
  266. package/dist/components/user-action/input/InsideLabelInput.mjs +260 -0
  267. package/dist/components/user-action/input/InsideLabelInput.mjs.map +1 -0
  268. package/dist/components/user-action/input/ToggleableInput.d.mts +22 -0
  269. package/dist/components/user-action/input/ToggleableInput.d.ts +22 -0
  270. package/dist/components/user-action/{Input.js → input/ToggleableInput.js} +136 -171
  271. package/dist/components/user-action/input/ToggleableInput.js.map +1 -0
  272. package/dist/components/user-action/input/ToggleableInput.mjs +264 -0
  273. package/dist/components/user-action/input/ToggleableInput.mjs.map +1 -0
  274. package/dist/components/user-action/select/Select.d.mts +98 -0
  275. package/dist/components/user-action/select/Select.d.ts +98 -0
  276. package/dist/components/user-action/select/Select.js +1354 -0
  277. package/dist/components/user-action/select/Select.js.map +1 -0
  278. package/dist/components/user-action/select/Select.mjs +1320 -0
  279. package/dist/components/user-action/select/Select.mjs.map +1 -0
  280. package/dist/components/utils/FocusTrap.d.mts +28 -0
  281. package/dist/components/utils/FocusTrap.d.ts +28 -0
  282. package/dist/components/utils/FocusTrap.js +252 -0
  283. package/dist/components/utils/FocusTrap.js.map +1 -0
  284. package/dist/components/utils/FocusTrap.mjs +229 -0
  285. package/dist/components/utils/FocusTrap.mjs.map +1 -0
  286. package/dist/components/utils/Transition.d.mts +26 -0
  287. package/dist/components/utils/Transition.d.ts +26 -0
  288. package/dist/components/utils/Transition.js +74 -0
  289. package/dist/components/utils/Transition.js.map +1 -0
  290. package/dist/components/utils/Transition.mjs +50 -0
  291. package/dist/components/utils/Transition.mjs.map +1 -0
  292. package/dist/hooks/focus/useFocusGuards.d.mts +3 -0
  293. package/dist/hooks/focus/useFocusGuards.d.ts +3 -0
  294. package/dist/hooks/focus/useFocusGuards.js +74 -0
  295. package/dist/hooks/focus/useFocusGuards.js.map +1 -0
  296. package/dist/hooks/focus/useFocusGuards.mjs +50 -0
  297. package/dist/hooks/focus/useFocusGuards.mjs.map +1 -0
  298. package/dist/hooks/{useFocusManagement.js → focus/useFocusManagement.js} +1 -1
  299. package/dist/hooks/focus/useFocusManagement.js.map +1 -0
  300. package/dist/hooks/{useFocusManagement.mjs → focus/useFocusManagement.mjs} +1 -1
  301. package/dist/hooks/focus/useFocusManagement.mjs.map +1 -0
  302. package/dist/hooks/{useFocusOnceVisible.js → focus/useFocusOnceVisible.js} +1 -1
  303. package/dist/hooks/focus/useFocusOnceVisible.js.map +1 -0
  304. package/dist/hooks/{useFocusOnceVisible.mjs → focus/useFocusOnceVisible.mjs} +1 -1
  305. package/dist/hooks/focus/useFocusOnceVisible.mjs.map +1 -0
  306. package/dist/hooks/focus/useFocusTrap.d.mts +16 -0
  307. package/dist/hooks/focus/useFocusTrap.d.ts +16 -0
  308. package/dist/hooks/focus/useFocusTrap.js +233 -0
  309. package/dist/hooks/focus/useFocusTrap.js.map +1 -0
  310. package/dist/hooks/focus/useFocusTrap.mjs +210 -0
  311. package/dist/hooks/focus/useFocusTrap.mjs.map +1 -0
  312. package/dist/hooks/focus/useIsMounted.d.mts +3 -0
  313. package/dist/hooks/focus/useIsMounted.d.ts +3 -0
  314. package/dist/hooks/focus/useIsMounted.js +43 -0
  315. package/dist/hooks/focus/useIsMounted.js.map +1 -0
  316. package/dist/hooks/focus/useIsMounted.mjs +20 -0
  317. package/dist/hooks/focus/useIsMounted.mjs.map +1 -0
  318. package/dist/hooks/useFloatingElement.d.mts +22 -0
  319. package/dist/hooks/useFloatingElement.d.ts +22 -0
  320. package/dist/hooks/useFloatingElement.js +162 -0
  321. package/dist/hooks/useFloatingElement.js.map +1 -0
  322. package/dist/hooks/useFloatingElement.mjs +139 -0
  323. package/dist/hooks/useFloatingElement.mjs.map +1 -0
  324. package/dist/hooks/useLocalStorage.js +2 -2
  325. package/dist/hooks/useLocalStorage.js.map +1 -1
  326. package/dist/hooks/useLocalStorage.mjs +2 -2
  327. package/dist/hooks/useLocalStorage.mjs.map +1 -1
  328. package/dist/hooks/useLogOnce.d.mts +3 -4
  329. package/dist/hooks/useLogOnce.d.ts +3 -4
  330. package/dist/hooks/useLogOnce.js +5 -5
  331. package/dist/hooks/useLogOnce.js.map +1 -1
  332. package/dist/hooks/useLogOnce.mjs +5 -5
  333. package/dist/hooks/useLogOnce.mjs.map +1 -1
  334. package/dist/hooks/useRerender.d.mts +2 -2
  335. package/dist/hooks/useRerender.d.ts +2 -2
  336. package/dist/hooks/useSearch.d.mts +2 -2
  337. package/dist/hooks/useSearch.d.ts +2 -2
  338. package/dist/hooks/useSearch.js +1 -1
  339. package/dist/hooks/useSearch.js.map +1 -1
  340. package/dist/hooks/useSearch.mjs +1 -1
  341. package/dist/hooks/useSearch.mjs.map +1 -1
  342. package/dist/localization/LanguageProvider.d.mts +2 -2
  343. package/dist/localization/LanguageProvider.d.ts +2 -2
  344. package/dist/localization/LanguageProvider.js +2 -2
  345. package/dist/localization/LanguageProvider.js.map +1 -1
  346. package/dist/localization/LanguageProvider.mjs +2 -2
  347. package/dist/localization/LanguageProvider.mjs.map +1 -1
  348. package/dist/localization/defaults/form.d.mts +1 -0
  349. package/dist/localization/defaults/form.d.ts +1 -0
  350. package/dist/localization/defaults/form.js +2 -0
  351. package/dist/localization/defaults/form.js.map +1 -1
  352. package/dist/localization/defaults/form.mjs +2 -0
  353. package/dist/localization/defaults/form.mjs.map +1 -1
  354. package/dist/localization/useTranslation.js.map +1 -1
  355. package/dist/localization/useTranslation.mjs.map +1 -1
  356. package/dist/storybook/helper.d.mts +17 -0
  357. package/dist/storybook/helper.d.ts +17 -0
  358. package/dist/storybook/helper.js +61 -0
  359. package/dist/storybook/helper.js.map +1 -0
  360. package/dist/storybook/helper.mjs +37 -0
  361. package/dist/storybook/helper.mjs.map +1 -0
  362. package/dist/{css → style}/globals.css +779 -374
  363. package/dist/{css → style}/uncompiled/globals.css +75 -13
  364. package/dist/{css → style}/uncompiled/theme/colors-component.css +18 -4
  365. package/dist/{css → style}/uncompiled/theme/colors-semantic.css +2 -9
  366. package/dist/style/uncompiled/typography.css +171 -0
  367. package/dist/{css → style}/uncompiled/utitlity/animation.css +54 -42
  368. package/dist/{css → style}/uncompiled/utitlity/index.css +2 -1
  369. package/dist/{css → style}/uncompiled/utitlity/shadow.css +5 -1
  370. package/dist/style/uncompiled/utitlity/sizing.css +29 -0
  371. package/dist/theming/useTheme.d.mts +2 -2
  372. package/dist/theming/useTheme.d.ts +2 -2
  373. package/dist/theming/useTheme.js +3 -3
  374. package/dist/theming/useTheme.js.map +1 -1
  375. package/dist/theming/useTheme.mjs +3 -3
  376. package/dist/theming/useTheme.mjs.map +1 -1
  377. package/dist/{util → utils}/array.d.mts +1 -0
  378. package/dist/{util → utils}/array.d.ts +1 -0
  379. package/dist/{util → utils}/array.js +15 -2
  380. package/dist/utils/array.js.map +1 -0
  381. package/dist/{util → utils}/array.mjs +15 -2
  382. package/dist/utils/array.mjs.map +1 -0
  383. package/dist/utils/bagFunctions.d.mts +15 -0
  384. package/dist/utils/bagFunctions.d.ts +15 -0
  385. package/dist/{util/PropsWithFunctionChildren.js → utils/bagFunctions.js} +5 -5
  386. package/dist/utils/bagFunctions.js.map +1 -0
  387. package/dist/{util/PropsWithFunctionChildren.mjs → utils/bagFunctions.mjs} +2 -2
  388. package/dist/utils/bagFunctions.mjs.map +1 -0
  389. package/dist/{util → utils}/builder.js +1 -1
  390. package/dist/utils/builder.js.map +1 -0
  391. package/dist/{util → utils}/builder.mjs +1 -1
  392. package/dist/utils/builder.mjs.map +1 -0
  393. package/dist/{util → utils}/date.js +3 -3
  394. package/dist/utils/date.js.map +1 -0
  395. package/dist/{util → utils}/date.mjs +2 -2
  396. package/dist/utils/date.mjs.map +1 -0
  397. package/dist/{util → utils}/easeFunctions.js +5 -4
  398. package/dist/utils/easeFunctions.js.map +1 -0
  399. package/dist/{util → utils}/easeFunctions.mjs +4 -3
  400. package/dist/utils/easeFunctions.mjs.map +1 -0
  401. package/dist/{util → utils}/emailValidation.js +1 -1
  402. package/dist/utils/emailValidation.js.map +1 -0
  403. package/dist/{util → utils}/emailValidation.mjs +1 -1
  404. package/dist/utils/emailValidation.mjs.map +1 -0
  405. package/dist/{util → utils}/loopingArray.js +1 -1
  406. package/dist/utils/loopingArray.js.map +1 -0
  407. package/dist/{util → utils}/loopingArray.mjs +1 -1
  408. package/dist/utils/loopingArray.mjs.map +1 -0
  409. package/dist/utils/match.d.mts +3 -0
  410. package/dist/utils/match.d.ts +3 -0
  411. package/dist/utils/match.js +32 -0
  412. package/dist/utils/match.js.map +1 -0
  413. package/dist/utils/match.mjs +8 -0
  414. package/dist/utils/match.mjs.map +1 -0
  415. package/dist/utils/math.d.mts +3 -0
  416. package/dist/utils/math.d.ts +3 -0
  417. package/dist/{util → utils}/math.js +3 -2
  418. package/dist/utils/math.js.map +1 -0
  419. package/dist/utils/math.mjs +9 -0
  420. package/dist/utils/math.mjs.map +1 -0
  421. package/dist/{util → utils}/noop.js +1 -1
  422. package/dist/utils/noop.js.map +1 -0
  423. package/dist/utils/noop.mjs +6 -0
  424. package/dist/utils/noop.mjs.map +1 -0
  425. package/dist/{util → utils}/resolveSetState.js +1 -1
  426. package/dist/utils/resolveSetState.js.map +1 -0
  427. package/dist/{util → utils}/resolveSetState.mjs +1 -1
  428. package/dist/utils/resolveSetState.mjs.map +1 -0
  429. package/dist/{util → utils}/simpleSearch.js +1 -1
  430. package/dist/utils/simpleSearch.js.map +1 -0
  431. package/dist/{util → utils}/simpleSearch.mjs +1 -1
  432. package/dist/utils/simpleSearch.mjs.map +1 -0
  433. package/dist/{util → utils}/storage.js +1 -1
  434. package/dist/utils/storage.js.map +1 -0
  435. package/dist/{util → utils}/storage.mjs +1 -1
  436. package/dist/utils/storage.mjs.map +1 -0
  437. package/dist/{util → utils}/writeToClipboard.js +2 -1
  438. package/dist/utils/writeToClipboard.js.map +1 -0
  439. package/dist/{util → utils}/writeToClipboard.mjs +3 -1
  440. package/dist/utils/writeToClipboard.mjs.map +1 -0
  441. package/package.json +8 -8
  442. package/dist/components/dialogs/ConfirmDialog.js +0 -674
  443. package/dist/components/dialogs/ConfirmDialog.js.map +0 -1
  444. package/dist/components/dialogs/ConfirmDialog.mjs +0 -638
  445. package/dist/components/dialogs/ConfirmDialog.mjs.map +0 -1
  446. package/dist/components/icons-and-geometry/Helpwave.js.map +0 -1
  447. package/dist/components/icons-and-geometry/Helpwave.mjs.map +0 -1
  448. package/dist/components/layout-and-navigation/Overlay.d.mts +0 -67
  449. package/dist/components/layout-and-navigation/Overlay.d.ts +0 -67
  450. package/dist/components/layout-and-navigation/Overlay.js +0 -702
  451. package/dist/components/layout-and-navigation/Overlay.js.map +0 -1
  452. package/dist/components/layout-and-navigation/Overlay.mjs +0 -665
  453. package/dist/components/layout-and-navigation/Overlay.mjs.map +0 -1
  454. package/dist/components/layout-and-navigation/SearchableList.d.mts +0 -24
  455. package/dist/components/layout-and-navigation/SearchableList.d.ts +0 -24
  456. package/dist/components/layout-and-navigation/SearchableList.js +0 -758
  457. package/dist/components/layout-and-navigation/SearchableList.js.map +0 -1
  458. package/dist/components/layout-and-navigation/SearchableList.mjs +0 -724
  459. package/dist/components/layout-and-navigation/SearchableList.mjs.map +0 -1
  460. package/dist/components/layout-and-navigation/Tile.d.mts +0 -27
  461. package/dist/components/layout-and-navigation/Tile.d.ts +0 -27
  462. package/dist/components/layout-and-navigation/Tile.js +0 -96
  463. package/dist/components/layout-and-navigation/Tile.js.map +0 -1
  464. package/dist/components/layout-and-navigation/Tile.mjs +0 -61
  465. package/dist/components/layout-and-navigation/Tile.mjs.map +0 -1
  466. package/dist/components/modals/ConfirmModal.d.mts +0 -33
  467. package/dist/components/modals/ConfirmModal.d.ts +0 -33
  468. package/dist/components/modals/ConfirmModal.js +0 -687
  469. package/dist/components/modals/ConfirmModal.js.map +0 -1
  470. package/dist/components/modals/ConfirmModal.mjs +0 -651
  471. package/dist/components/modals/ConfirmModal.mjs.map +0 -1
  472. package/dist/components/modals/DiscardChangesModal.d.mts +0 -20
  473. package/dist/components/modals/DiscardChangesModal.d.ts +0 -20
  474. package/dist/components/modals/DiscardChangesModal.js +0 -717
  475. package/dist/components/modals/DiscardChangesModal.js.map +0 -1
  476. package/dist/components/modals/DiscardChangesModal.mjs +0 -681
  477. package/dist/components/modals/DiscardChangesModal.mjs.map +0 -1
  478. package/dist/components/modals/InputModal.d.mts +0 -21
  479. package/dist/components/modals/InputModal.d.ts +0 -21
  480. package/dist/components/modals/InputModal.js +0 -976
  481. package/dist/components/modals/InputModal.js.map +0 -1
  482. package/dist/components/modals/InputModal.mjs +0 -940
  483. package/dist/components/modals/InputModal.mjs.map +0 -1
  484. package/dist/components/modals/LanguageModal.d.mts +0 -21
  485. package/dist/components/modals/LanguageModal.d.ts +0 -21
  486. package/dist/components/modals/LanguageModal.js +0 -1468
  487. package/dist/components/modals/LanguageModal.js.map +0 -1
  488. package/dist/components/modals/LanguageModal.mjs +0 -1432
  489. package/dist/components/modals/LanguageModal.mjs.map +0 -1
  490. package/dist/components/modals/ThemeModal.d.mts +0 -21
  491. package/dist/components/modals/ThemeModal.d.ts +0 -21
  492. package/dist/components/modals/ThemeModal.js +0 -1497
  493. package/dist/components/modals/ThemeModal.js.map +0 -1
  494. package/dist/components/modals/ThemeModal.mjs +0 -1461
  495. package/dist/components/modals/ThemeModal.mjs.map +0 -1
  496. package/dist/components/user-action/Input.d.mts +0 -77
  497. package/dist/components/user-action/Input.d.ts +0 -77
  498. package/dist/components/user-action/Input.js.map +0 -1
  499. package/dist/components/user-action/Input.mjs +0 -298
  500. package/dist/components/user-action/Input.mjs.map +0 -1
  501. package/dist/components/user-action/MultiSelect.d.mts +0 -42
  502. package/dist/components/user-action/MultiSelect.d.ts +0 -42
  503. package/dist/components/user-action/MultiSelect.js +0 -1468
  504. package/dist/components/user-action/MultiSelect.js.map +0 -1
  505. package/dist/components/user-action/MultiSelect.mjs +0 -1433
  506. package/dist/components/user-action/MultiSelect.mjs.map +0 -1
  507. package/dist/components/user-action/Select.d.mts +0 -41
  508. package/dist/components/user-action/Select.d.ts +0 -41
  509. package/dist/components/user-action/Select.js +0 -1236
  510. package/dist/components/user-action/Select.js.map +0 -1
  511. package/dist/components/user-action/Select.mjs +0 -1201
  512. package/dist/components/user-action/Select.mjs.map +0 -1
  513. package/dist/components/user-action/ToggleableInput.d.mts +0 -37
  514. package/dist/components/user-action/ToggleableInput.d.ts +0 -37
  515. package/dist/components/user-action/ToggleableInput.js +0 -192
  516. package/dist/components/user-action/ToggleableInput.js.map +0 -1
  517. package/dist/components/user-action/ToggleableInput.mjs +0 -157
  518. package/dist/components/user-action/ToggleableInput.mjs.map +0 -1
  519. package/dist/css/uncompiled/textstyles.css +0 -69
  520. package/dist/hooks/useFocusManagement.js.map +0 -1
  521. package/dist/hooks/useFocusManagement.mjs.map +0 -1
  522. package/dist/hooks/useFocusOnceVisible.js.map +0 -1
  523. package/dist/hooks/useFocusOnceVisible.mjs.map +0 -1
  524. package/dist/index.d.mts +0 -103
  525. package/dist/index.d.ts +0 -103
  526. package/dist/index.js +0 -12610
  527. package/dist/index.js.map +0 -1
  528. package/dist/index.mjs +0 -12447
  529. package/dist/index.mjs.map +0 -1
  530. package/dist/util/PropsWithFunctionChildren.d.mts +0 -14
  531. package/dist/util/PropsWithFunctionChildren.d.ts +0 -14
  532. package/dist/util/PropsWithFunctionChildren.js.map +0 -1
  533. package/dist/util/PropsWithFunctionChildren.mjs.map +0 -1
  534. package/dist/util/array.js.map +0 -1
  535. package/dist/util/array.mjs.map +0 -1
  536. package/dist/util/builder.js.map +0 -1
  537. package/dist/util/builder.mjs.map +0 -1
  538. package/dist/util/date.js.map +0 -1
  539. package/dist/util/date.mjs.map +0 -1
  540. package/dist/util/easeFunctions.js.map +0 -1
  541. package/dist/util/easeFunctions.mjs.map +0 -1
  542. package/dist/util/emailValidation.js.map +0 -1
  543. package/dist/util/emailValidation.mjs.map +0 -1
  544. package/dist/util/loopingArray.js.map +0 -1
  545. package/dist/util/loopingArray.mjs.map +0 -1
  546. package/dist/util/math.d.mts +0 -3
  547. package/dist/util/math.d.ts +0 -3
  548. package/dist/util/math.js.map +0 -1
  549. package/dist/util/math.mjs +0 -8
  550. package/dist/util/math.mjs.map +0 -1
  551. package/dist/util/news.d.mts +0 -101
  552. package/dist/util/news.d.ts +0 -101
  553. package/dist/util/news.js +0 -76
  554. package/dist/util/news.js.map +0 -1
  555. package/dist/util/news.mjs +0 -49
  556. package/dist/util/news.mjs.map +0 -1
  557. package/dist/util/noop.js.map +0 -1
  558. package/dist/util/noop.mjs +0 -6
  559. package/dist/util/noop.mjs.map +0 -1
  560. package/dist/util/resolveSetState.js.map +0 -1
  561. package/dist/util/resolveSetState.mjs.map +0 -1
  562. package/dist/util/simpleSearch.js.map +0 -1
  563. package/dist/util/simpleSearch.mjs.map +0 -1
  564. package/dist/util/storage.js.map +0 -1
  565. package/dist/util/storage.mjs.map +0 -1
  566. package/dist/util/types.d.mts +0 -3
  567. package/dist/util/types.d.ts +0 -3
  568. package/dist/util/types.js +0 -18
  569. package/dist/util/types.js.map +0 -1
  570. package/dist/util/types.mjs +0 -1
  571. package/dist/util/types.mjs.map +0 -1
  572. package/dist/util/writeToClipboard.js.map +0 -1
  573. package/dist/util/writeToClipboard.mjs.map +0 -1
  574. /package/dist/hooks/{useFocusManagement.d.mts → focus/useFocusManagement.d.mts} +0 -0
  575. /package/dist/hooks/{useFocusManagement.d.ts → focus/useFocusManagement.d.ts} +0 -0
  576. /package/dist/hooks/{useFocusOnceVisible.d.mts → focus/useFocusOnceVisible.d.mts} +0 -0
  577. /package/dist/hooks/{useFocusOnceVisible.d.ts → focus/useFocusOnceVisible.d.ts} +0 -0
  578. /package/dist/{css → style}/uncompiled/theme/colors-basic.css +0 -0
  579. /package/dist/{css → style}/uncompiled/theme/index.css +0 -0
  580. /package/dist/{css → style}/uncompiled/theme/variants.css +0 -0
  581. /package/dist/{css → style}/uncompiled/utitlity/borderradius.css +0 -0
  582. /package/dist/{css → style}/uncompiled/utitlity/general.css +0 -0
  583. /package/dist/{util → utils}/builder.d.mts +0 -0
  584. /package/dist/{util → utils}/builder.d.ts +0 -0
  585. /package/dist/{util → utils}/date.d.mts +0 -0
  586. /package/dist/{util → utils}/date.d.ts +0 -0
  587. /package/dist/{util → utils}/easeFunctions.d.mts +0 -0
  588. /package/dist/{util → utils}/easeFunctions.d.ts +0 -0
  589. /package/dist/{util → utils}/emailValidation.d.mts +0 -0
  590. /package/dist/{util → utils}/emailValidation.d.ts +0 -0
  591. /package/dist/{util → utils}/loopingArray.d.mts +0 -0
  592. /package/dist/{util → utils}/loopingArray.d.ts +0 -0
  593. /package/dist/{util → utils}/noop.d.mts +0 -0
  594. /package/dist/{util → utils}/noop.d.ts +0 -0
  595. /package/dist/{util → utils}/resolveSetState.d.mts +0 -0
  596. /package/dist/{util → utils}/resolveSetState.d.ts +0 -0
  597. /package/dist/{util → utils}/simpleSearch.d.mts +0 -0
  598. /package/dist/{util → utils}/simpleSearch.d.ts +0 -0
  599. /package/dist/{util → utils}/storage.d.mts +0 -0
  600. /package/dist/{util → utils}/storage.d.ts +0 -0
  601. /package/dist/{util → utils}/writeToClipboard.d.mts +0 -0
  602. /package/dist/{util → utils}/writeToClipboard.d.ts +0 -0
@@ -29,2917 +29,514 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  ));
30
30
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
31
 
32
- // node_modules/@swc/helpers/cjs/_interop_require_default.cjs
33
- var require_interop_require_default = __commonJS({
34
- "node_modules/@swc/helpers/cjs/_interop_require_default.cjs"(exports2) {
32
+ // node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
33
+ var require_use_sync_external_store_shim_production = __commonJS({
34
+ "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(exports2) {
35
35
  "use strict";
36
- function _interop_require_default(obj) {
37
- return obj && obj.__esModule ? obj : { default: obj };
38
- }
39
- exports2._ = _interop_require_default;
40
- }
41
- });
42
-
43
- // node_modules/next/dist/shared/lib/utils/warn-once.js
44
- var require_warn_once = __commonJS({
45
- "node_modules/next/dist/shared/lib/utils/warn-once.js"(exports2) {
46
- "use strict";
47
- Object.defineProperty(exports2, "__esModule", {
48
- value: true
49
- });
50
- Object.defineProperty(exports2, "warnOnce", {
51
- enumerable: true,
52
- get: function() {
53
- return warnOnce;
54
- }
55
- });
56
- var warnOnce = (_) => {
57
- };
58
- if (process.env.NODE_ENV !== "production") {
59
- const warnings = /* @__PURE__ */ new Set();
60
- warnOnce = (msg) => {
61
- if (!warnings.has(msg)) {
62
- console.warn(msg);
63
- }
64
- warnings.add(msg);
65
- };
66
- }
67
- }
68
- });
69
-
70
- // node_modules/next/dist/shared/lib/image-blur-svg.js
71
- var require_image_blur_svg = __commonJS({
72
- "node_modules/next/dist/shared/lib/image-blur-svg.js"(exports2) {
73
- "use strict";
74
- Object.defineProperty(exports2, "__esModule", {
75
- value: true
76
- });
77
- Object.defineProperty(exports2, "getImageBlurSvg", {
78
- enumerable: true,
79
- get: function() {
80
- return getImageBlurSvg;
36
+ var React8 = require("react");
37
+ function is(x, y) {
38
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
39
+ }
40
+ var objectIs = "function" === typeof Object.is ? Object.is : is;
41
+ var useState2 = React8.useState;
42
+ var useEffect3 = React8.useEffect;
43
+ var useLayoutEffect3 = React8.useLayoutEffect;
44
+ var useDebugValue = React8.useDebugValue;
45
+ function useSyncExternalStore$2(subscribe2, getSnapshot) {
46
+ var value = getSnapshot(), _useState = useState2({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
47
+ useLayoutEffect3(
48
+ function() {
49
+ inst.value = value;
50
+ inst.getSnapshot = getSnapshot;
51
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
52
+ },
53
+ [subscribe2, value, getSnapshot]
54
+ );
55
+ useEffect3(
56
+ function() {
57
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
58
+ return subscribe2(function() {
59
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
60
+ });
61
+ },
62
+ [subscribe2]
63
+ );
64
+ useDebugValue(value);
65
+ return value;
66
+ }
67
+ function checkIfSnapshotChanged(inst) {
68
+ var latestGetSnapshot = inst.getSnapshot;
69
+ inst = inst.value;
70
+ try {
71
+ var nextValue = latestGetSnapshot();
72
+ return !objectIs(inst, nextValue);
73
+ } catch (error) {
74
+ return true;
81
75
  }
82
- });
83
- function getImageBlurSvg(param) {
84
- let { widthInt, heightInt, blurWidth, blurHeight, blurDataURL, objectFit } = param;
85
- const std = 20;
86
- const svgWidth = blurWidth ? blurWidth * 40 : widthInt;
87
- const svgHeight = blurHeight ? blurHeight * 40 : heightInt;
88
- const viewBox = svgWidth && svgHeight ? "viewBox='0 0 " + svgWidth + " " + svgHeight + "'" : "";
89
- const preserveAspectRatio = viewBox ? "none" : objectFit === "contain" ? "xMidYMid" : objectFit === "cover" ? "xMidYMid slice" : "none";
90
- return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + viewBox + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + std + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + std + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + preserveAspectRatio + "' style='filter: url(%23b);' href='" + blurDataURL + "'/%3E%3C/svg%3E";
91
76
  }
92
- }
93
- });
94
-
95
- // node_modules/next/dist/shared/lib/image-config.js
96
- var require_image_config = __commonJS({
97
- "node_modules/next/dist/shared/lib/image-config.js"(exports2) {
98
- "use strict";
99
- Object.defineProperty(exports2, "__esModule", {
100
- value: true
101
- });
102
- function _export(target, all) {
103
- for (var name in all) Object.defineProperty(target, name, {
104
- enumerable: true,
105
- get: all[name]
106
- });
77
+ function useSyncExternalStore$1(subscribe2, getSnapshot) {
78
+ return getSnapshot();
107
79
  }
108
- _export(exports2, {
109
- VALID_LOADERS: function() {
110
- return VALID_LOADERS;
111
- },
112
- imageConfigDefault: function() {
113
- return imageConfigDefault;
114
- }
115
- });
116
- var VALID_LOADERS = [
117
- "default",
118
- "imgix",
119
- "cloudinary",
120
- "akamai",
121
- "custom"
122
- ];
123
- var imageConfigDefault = {
124
- deviceSizes: [
125
- 640,
126
- 750,
127
- 828,
128
- 1080,
129
- 1200,
130
- 1920,
131
- 2048,
132
- 3840
133
- ],
134
- imageSizes: [
135
- 16,
136
- 32,
137
- 48,
138
- 64,
139
- 96,
140
- 128,
141
- 256,
142
- 384
143
- ],
144
- path: "/_next/image",
145
- loader: "default",
146
- loaderFile: "",
147
- domains: [],
148
- disableStaticImages: false,
149
- minimumCacheTTL: 60,
150
- formats: [
151
- "image/webp"
152
- ],
153
- dangerouslyAllowSVG: false,
154
- contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;",
155
- contentDispositionType: "attachment",
156
- localPatterns: void 0,
157
- remotePatterns: [],
158
- qualities: void 0,
159
- unoptimized: false
160
- };
80
+ var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
81
+ exports2.useSyncExternalStore = void 0 !== React8.useSyncExternalStore ? React8.useSyncExternalStore : shim;
161
82
  }
162
83
  });
163
84
 
164
- // node_modules/next/dist/shared/lib/get-img-props.js
165
- var require_get_img_props = __commonJS({
166
- "node_modules/next/dist/shared/lib/get-img-props.js"(exports2) {
85
+ // node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
86
+ var require_use_sync_external_store_shim_development = __commonJS({
87
+ "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports2) {
167
88
  "use strict";
168
- Object.defineProperty(exports2, "__esModule", {
169
- value: true
170
- });
171
- Object.defineProperty(exports2, "getImgProps", {
172
- enumerable: true,
173
- get: function() {
174
- return getImgProps;
175
- }
176
- });
177
- var _warnonce = require_warn_once();
178
- var _imageblursvg = require_image_blur_svg();
179
- var _imageconfig = require_image_config();
180
- var VALID_LOADING_VALUES = [
181
- "lazy",
182
- "eager",
183
- void 0
184
- ];
185
- var INVALID_BACKGROUND_SIZE_VALUES = [
186
- "-moz-initial",
187
- "fill",
188
- "none",
189
- "scale-down",
190
- void 0
191
- ];
192
- function isStaticRequire(src) {
193
- return src.default !== void 0;
194
- }
195
- function isStaticImageData(src) {
196
- return src.src !== void 0;
197
- }
198
- function isStaticImport(src) {
199
- return !!src && typeof src === "object" && (isStaticRequire(src) || isStaticImageData(src));
200
- }
201
- var allImgs = /* @__PURE__ */ new Map();
202
- var perfObserver;
203
- function getInt(x) {
204
- if (typeof x === "undefined") {
205
- return x;
206
- }
207
- if (typeof x === "number") {
208
- return Number.isFinite(x) ? x : NaN;
209
- }
210
- if (typeof x === "string" && /^[0-9]+$/.test(x)) {
211
- return parseInt(x, 10);
212
- }
213
- return NaN;
214
- }
215
- function getWidths(param, width, sizes) {
216
- let { deviceSizes, allSizes } = param;
217
- if (sizes) {
218
- const viewportWidthRe = /(^|\s)(1?\d?\d)vw/g;
219
- const percentSizes = [];
220
- for (let match; match = viewportWidthRe.exec(sizes); match) {
221
- percentSizes.push(parseInt(match[2]));
222
- }
223
- if (percentSizes.length) {
224
- const smallestRatio = Math.min(...percentSizes) * 0.01;
225
- return {
226
- widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),
227
- kind: "w"
228
- };
229
- }
230
- return {
231
- widths: allSizes,
232
- kind: "w"
233
- };
234
- }
235
- if (typeof width !== "number") {
236
- return {
237
- widths: deviceSizes,
238
- kind: "w"
239
- };
240
- }
241
- const widths = [
242
- ...new Set(
243
- // > This means that most OLED screens that say they are 3x resolution,
244
- // > are actually 3x in the green color, but only 1.5x in the red and
245
- // > blue colors. Showing a 3x resolution image in the app vs a 2x
246
- // > resolution image will be visually the same, though the 3x image
247
- // > takes significantly more data. Even true 3x resolution screens are
248
- // > wasteful as the human eye cannot see that level of detail without
249
- // > something like a magnifying glass.
250
- // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
251
- [
252
- width,
253
- width * 2
254
- /*, width * 3*/
255
- ].map((w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1])
256
- )
257
- ];
258
- return {
259
- widths,
260
- kind: "x"
261
- };
262
- }
263
- function generateImgAttrs(param) {
264
- let { config, src, unoptimized, width, quality, sizes, loader } = param;
265
- if (unoptimized) {
266
- return {
267
- src,
268
- srcSet: void 0,
269
- sizes: void 0
270
- };
271
- }
272
- const { widths, kind } = getWidths(config, width, sizes);
273
- const last = widths.length - 1;
274
- return {
275
- sizes: !sizes && kind === "w" ? "100vw" : sizes,
276
- srcSet: widths.map((w, i) => loader({
277
- config,
278
- src,
279
- quality,
280
- width: w
281
- }) + " " + (kind === "w" ? w : i + 1) + kind).join(", "),
282
- // It's intended to keep `src` the last attribute because React updates
283
- // attributes in order. If we keep `src` the first one, Safari will
284
- // immediately start to fetch `src`, before `sizes` and `srcSet` are even
285
- // updated by React. That causes multiple unnecessary requests if `srcSet`
286
- // and `sizes` are defined.
287
- // This bug cannot be reproduced in Chrome or Firefox.
288
- src: loader({
289
- config,
290
- src,
291
- quality,
292
- width: widths[last]
293
- })
294
- };
295
- }
296
- function getImgProps(param, _state) {
297
- let { src, sizes, unoptimized = false, priority = false, loading, className, quality, width, height, fill = false, style, overrideSrc, onLoad, onLoadingComplete, placeholder = "empty", blurDataURL, fetchPriority, decoding = "async", layout, objectFit, objectPosition, lazyBoundary, lazyRoot, ...rest } = param;
298
- const { imgConf, showAltText, blurComplete, defaultLoader } = _state;
299
- let config;
300
- let c = imgConf || _imageconfig.imageConfigDefault;
301
- if ("allSizes" in c) {
302
- config = c;
303
- } else {
304
- var _c_qualities;
305
- const allSizes = [
306
- ...c.deviceSizes,
307
- ...c.imageSizes
308
- ].sort((a, b) => a - b);
309
- const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
310
- const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
311
- config = {
312
- ...c,
313
- allSizes,
314
- deviceSizes,
315
- qualities
316
- };
317
- }
318
- if (typeof defaultLoader === "undefined") {
319
- throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"), "__NEXT_ERROR_CODE", {
320
- value: "E163",
321
- enumerable: false,
322
- configurable: true
89
+ "production" !== process.env.NODE_ENV && function() {
90
+ function is(x, y) {
91
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
92
+ }
93
+ function useSyncExternalStore$2(subscribe2, getSnapshot) {
94
+ didWarnOld18Alpha || void 0 === React8.startTransition || (didWarnOld18Alpha = true, console.error(
95
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
96
+ ));
97
+ var value = getSnapshot();
98
+ if (!didWarnUncachedGetSnapshot) {
99
+ var cachedValue = getSnapshot();
100
+ objectIs(value, cachedValue) || (console.error(
101
+ "The result of getSnapshot should be cached to avoid an infinite loop"
102
+ ), didWarnUncachedGetSnapshot = true);
103
+ }
104
+ cachedValue = useState2({
105
+ inst: { value, getSnapshot }
323
106
  });
324
- }
325
- let loader = rest.loader || defaultLoader;
326
- delete rest.loader;
327
- delete rest.srcSet;
328
- const isDefaultLoader = "__next_img_default" in loader;
329
- if (isDefaultLoader) {
330
- if (config.loader === "custom") {
331
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'), "__NEXT_ERROR_CODE", {
332
- value: "E252",
333
- enumerable: false,
334
- configurable: true
335
- });
336
- }
337
- } else {
338
- const customImageLoader = loader;
339
- loader = (obj) => {
340
- const { config: _, ...opts } = obj;
341
- return customImageLoader(opts);
342
- };
343
- }
344
- if (layout) {
345
- if (layout === "fill") {
346
- fill = true;
347
- }
348
- const layoutToStyle = {
349
- intrinsic: {
350
- maxWidth: "100%",
351
- height: "auto"
107
+ var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
108
+ useLayoutEffect3(
109
+ function() {
110
+ inst.value = value;
111
+ inst.getSnapshot = getSnapshot;
112
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
352
113
  },
353
- responsive: {
354
- width: "100%",
355
- height: "auto"
356
- }
357
- };
358
- const layoutToSizes = {
359
- responsive: "100vw",
360
- fill: "100vw"
361
- };
362
- const layoutStyle = layoutToStyle[layout];
363
- if (layoutStyle) {
364
- style = {
365
- ...style,
366
- ...layoutStyle
367
- };
368
- }
369
- const layoutSizes = layoutToSizes[layout];
370
- if (layoutSizes && !sizes) {
371
- sizes = layoutSizes;
372
- }
373
- }
374
- let staticSrc = "";
375
- let widthInt = getInt(width);
376
- let heightInt = getInt(height);
377
- let blurWidth;
378
- let blurHeight;
379
- if (isStaticImport(src)) {
380
- const staticImageData = isStaticRequire(src) ? src.default : src;
381
- if (!staticImageData.src) {
382
- throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received " + JSON.stringify(staticImageData)), "__NEXT_ERROR_CODE", {
383
- value: "E460",
384
- enumerable: false,
385
- configurable: true
386
- });
387
- }
388
- if (!staticImageData.height || !staticImageData.width) {
389
- throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received " + JSON.stringify(staticImageData)), "__NEXT_ERROR_CODE", {
390
- value: "E48",
391
- enumerable: false,
392
- configurable: true
393
- });
394
- }
395
- blurWidth = staticImageData.blurWidth;
396
- blurHeight = staticImageData.blurHeight;
397
- blurDataURL = blurDataURL || staticImageData.blurDataURL;
398
- staticSrc = staticImageData.src;
399
- if (!fill) {
400
- if (!widthInt && !heightInt) {
401
- widthInt = staticImageData.width;
402
- heightInt = staticImageData.height;
403
- } else if (widthInt && !heightInt) {
404
- const ratio = widthInt / staticImageData.width;
405
- heightInt = Math.round(staticImageData.height * ratio);
406
- } else if (!widthInt && heightInt) {
407
- const ratio = heightInt / staticImageData.height;
408
- widthInt = Math.round(staticImageData.width * ratio);
409
- }
410
- }
411
- }
412
- src = typeof src === "string" ? src : staticSrc;
413
- let isLazy = !priority && (loading === "lazy" || typeof loading === "undefined");
414
- if (!src || src.startsWith("data:") || src.startsWith("blob:")) {
415
- unoptimized = true;
416
- isLazy = false;
417
- }
418
- if (config.unoptimized) {
419
- unoptimized = true;
420
- }
421
- if (isDefaultLoader && !config.dangerouslyAllowSVG && src.split("?", 1)[0].endsWith(".svg")) {
422
- unoptimized = true;
423
- }
424
- const qualityInt = getInt(quality);
425
- if (process.env.NODE_ENV !== "production") {
426
- if (config.output === "export" && isDefaultLoader && !unoptimized) {
427
- throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"), "__NEXT_ERROR_CODE", {
428
- value: "E500",
429
- enumerable: false,
430
- configurable: true
431
- });
432
- }
433
- if (!src) {
434
- unoptimized = true;
435
- } else {
436
- if (fill) {
437
- if (width) {
438
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "width" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
439
- value: "E96",
440
- enumerable: false,
441
- configurable: true
442
- });
443
- }
444
- if (height) {
445
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "height" and "fill" properties. Only one should be used.'), "__NEXT_ERROR_CODE", {
446
- value: "E115",
447
- enumerable: false,
448
- configurable: true
449
- });
450
- }
451
- if ((style == null ? void 0 : style.position) && style.position !== "absolute") {
452
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.'), "__NEXT_ERROR_CODE", {
453
- value: "E216",
454
- enumerable: false,
455
- configurable: true
456
- });
457
- }
458
- if ((style == null ? void 0 : style.width) && style.width !== "100%") {
459
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.'), "__NEXT_ERROR_CODE", {
460
- value: "E73",
461
- enumerable: false,
462
- configurable: true
463
- });
464
- }
465
- if ((style == null ? void 0 : style.height) && style.height !== "100%") {
466
- throw Object.defineProperty(new Error('Image with src "' + src + '" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.'), "__NEXT_ERROR_CODE", {
467
- value: "E404",
468
- enumerable: false,
469
- configurable: true
470
- });
471
- }
472
- } else {
473
- if (typeof widthInt === "undefined") {
474
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "width" property.'), "__NEXT_ERROR_CODE", {
475
- value: "E451",
476
- enumerable: false,
477
- configurable: true
478
- });
479
- } else if (isNaN(widthInt)) {
480
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "width" property. Expected a numeric value in pixels but received "' + width + '".'), "__NEXT_ERROR_CODE", {
481
- value: "E66",
482
- enumerable: false,
483
- configurable: true
484
- });
485
- }
486
- if (typeof heightInt === "undefined") {
487
- throw Object.defineProperty(new Error('Image with src "' + src + '" is missing required "height" property.'), "__NEXT_ERROR_CODE", {
488
- value: "E397",
489
- enumerable: false,
490
- configurable: true
491
- });
492
- } else if (isNaN(heightInt)) {
493
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "height" property. Expected a numeric value in pixels but received "' + height + '".'), "__NEXT_ERROR_CODE", {
494
- value: "E444",
495
- enumerable: false,
496
- configurable: true
497
- });
498
- }
499
- if (/^[\x00-\x20]/.test(src)) {
500
- throw Object.defineProperty(new Error('Image with src "' + src + '" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.'), "__NEXT_ERROR_CODE", {
501
- value: "E176",
502
- enumerable: false,
503
- configurable: true
504
- });
505
- }
506
- if (/[\x00-\x20]$/.test(src)) {
507
- throw Object.defineProperty(new Error('Image with src "' + src + '" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.'), "__NEXT_ERROR_CODE", {
508
- value: "E21",
509
- enumerable: false,
510
- configurable: true
511
- });
512
- }
513
- }
514
- }
515
- if (!VALID_LOADING_VALUES.includes(loading)) {
516
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "loading" property. Provided "' + loading + '" should be one of ' + VALID_LOADING_VALUES.map(String).join(",") + "."), "__NEXT_ERROR_CODE", {
517
- value: "E357",
518
- enumerable: false,
519
- configurable: true
520
- });
521
- }
522
- if (priority && loading === "lazy") {
523
- throw Object.defineProperty(new Error('Image with src "' + src + `" has both "priority" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", {
524
- value: "E218",
525
- enumerable: false,
526
- configurable: true
527
- });
528
- }
529
- if (placeholder !== "empty" && placeholder !== "blur" && !placeholder.startsWith("data:image/")) {
530
- throw Object.defineProperty(new Error('Image with src "' + src + '" has invalid "placeholder" property "' + placeholder + '".'), "__NEXT_ERROR_CODE", {
531
- value: "E431",
532
- enumerable: false,
533
- configurable: true
534
- });
535
- }
536
- if (placeholder !== "empty") {
537
- if (widthInt && heightInt && widthInt * heightInt < 1600) {
538
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.');
539
- }
540
- }
541
- if (placeholder === "blur" && !blurDataURL) {
542
- const VALID_BLUR_EXT = [
543
- "jpeg",
544
- "png",
545
- "webp",
546
- "avif"
547
- ];
548
- throw Object.defineProperty(new Error('Image with src "' + src + `" has "placeholder='blur'" property but is missing the "blurDataURL" property.
549
- Possible solutions:
550
- - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
551
- - Change the "src" property to a static import with one of the supported file types: ` + VALID_BLUR_EXT.join(",") + ' (animated images not supported)\n - Remove the "placeholder" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url'), "__NEXT_ERROR_CODE", {
552
- value: "E371",
553
- enumerable: false,
554
- configurable: true
555
- });
556
- }
557
- if ("ref" in rest) {
558
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.');
559
- }
560
- if (!unoptimized && !isDefaultLoader) {
561
- const urlStr = loader({
562
- config,
563
- src,
564
- width: widthInt || 400,
565
- quality: qualityInt || 75
566
- });
567
- let url;
568
- try {
569
- url = new URL(urlStr);
570
- } catch (err) {
571
- }
572
- if (urlStr === src || url && url.pathname === src && !url.search) {
573
- (0, _warnonce.warnOnce)('Image with src "' + src + '" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width');
574
- }
575
- }
576
- if (onLoadingComplete) {
577
- (0, _warnonce.warnOnce)('Image with src "' + src + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
578
- }
579
- for (const [legacyKey, legacyValue] of Object.entries({
580
- layout,
581
- objectFit,
582
- objectPosition,
583
- lazyBoundary,
584
- lazyRoot
585
- })) {
586
- if (legacyValue) {
587
- (0, _warnonce.warnOnce)('Image with src "' + src + '" has legacy prop "' + legacyKey + '". Did you forget to run the codemod?\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13');
588
- }
589
- }
590
- if (typeof window !== "undefined" && !perfObserver && window.PerformanceObserver) {
591
- perfObserver = new PerformanceObserver((entryList) => {
592
- for (const entry of entryList.getEntries()) {
593
- var _entry_element;
594
- const imgSrc = (entry == null ? void 0 : (_entry_element = entry.element) == null ? void 0 : _entry_element.src) || "";
595
- const lcpImage = allImgs.get(imgSrc);
596
- if (lcpImage && !lcpImage.priority && lcpImage.placeholder === "empty" && !lcpImage.src.startsWith("data:") && !lcpImage.src.startsWith("blob:")) {
597
- (0, _warnonce.warnOnce)('Image with src "' + lcpImage.src + '" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.\nRead more: https://nextjs.org/docs/api-reference/next/image#priority');
598
- }
599
- }
600
- });
601
- try {
602
- perfObserver.observe({
603
- type: "largest-contentful-paint",
604
- buffered: true
114
+ [subscribe2, value, getSnapshot]
115
+ );
116
+ useEffect3(
117
+ function() {
118
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
119
+ return subscribe2(function() {
120
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
605
121
  });
606
- } catch (err) {
607
- console.error(err);
608
- }
609
- }
122
+ },
123
+ [subscribe2]
124
+ );
125
+ useDebugValue(value);
126
+ return value;
610
127
  }
611
- const imgStyle = Object.assign(fill ? {
612
- position: "absolute",
613
- height: "100%",
614
- width: "100%",
615
- left: 0,
616
- top: 0,
617
- right: 0,
618
- bottom: 0,
619
- objectFit,
620
- objectPosition
621
- } : {}, showAltText ? {} : {
622
- color: "transparent"
623
- }, style);
624
- const backgroundImage = !blurComplete && placeholder !== "empty" ? placeholder === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, _imageblursvg.getImageBlurSvg)({
625
- widthInt,
626
- heightInt,
627
- blurWidth,
628
- blurHeight,
629
- blurDataURL: blurDataURL || "",
630
- objectFit: imgStyle.objectFit
631
- }) + '")' : 'url("' + placeholder + '")' : null;
632
- const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(imgStyle.objectFit) ? imgStyle.objectFit : imgStyle.objectFit === "fill" ? "100% 100%" : "cover";
633
- let placeholderStyle = backgroundImage ? {
634
- backgroundSize,
635
- backgroundPosition: imgStyle.objectPosition || "50% 50%",
636
- backgroundRepeat: "no-repeat",
637
- backgroundImage
638
- } : {};
639
- if (process.env.NODE_ENV === "development") {
640
- if (placeholderStyle.backgroundImage && placeholder === "blur" && (blurDataURL == null ? void 0 : blurDataURL.startsWith("/"))) {
641
- placeholderStyle.backgroundImage = 'url("' + blurDataURL + '")';
128
+ function checkIfSnapshotChanged(inst) {
129
+ var latestGetSnapshot = inst.getSnapshot;
130
+ inst = inst.value;
131
+ try {
132
+ var nextValue = latestGetSnapshot();
133
+ return !objectIs(inst, nextValue);
134
+ } catch (error) {
135
+ return true;
642
136
  }
643
137
  }
644
- const imgAttributes = generateImgAttrs({
645
- config,
646
- src,
647
- unoptimized,
648
- width: widthInt,
649
- quality: qualityInt,
650
- sizes,
651
- loader
652
- });
653
- if (process.env.NODE_ENV !== "production") {
654
- if (typeof window !== "undefined") {
655
- let fullUrl;
656
- try {
657
- fullUrl = new URL(imgAttributes.src);
658
- } catch (e) {
659
- fullUrl = new URL(imgAttributes.src, window.location.href);
660
- }
661
- allImgs.set(fullUrl.href, {
662
- src,
663
- priority,
664
- placeholder
665
- });
666
- }
138
+ function useSyncExternalStore$1(subscribe2, getSnapshot) {
139
+ return getSnapshot();
667
140
  }
668
- const props = {
669
- ...rest,
670
- loading: isLazy ? "lazy" : loading,
671
- fetchPriority,
672
- width: widthInt,
673
- height: heightInt,
674
- decoding,
675
- className,
676
- style: {
677
- ...imgStyle,
678
- ...placeholderStyle
679
- },
680
- sizes: imgAttributes.sizes,
681
- srcSet: imgAttributes.srcSet,
682
- src: overrideSrc || imgAttributes.src
683
- };
684
- const meta = {
685
- unoptimized,
686
- priority,
687
- placeholder,
688
- fill
689
- };
690
- return {
691
- props,
692
- meta
693
- };
694
- }
141
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
142
+ var React8 = require("react"), objectIs = "function" === typeof Object.is ? Object.is : is, useState2 = React8.useState, useEffect3 = React8.useEffect, useLayoutEffect3 = React8.useLayoutEffect, useDebugValue = React8.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
143
+ exports2.useSyncExternalStore = void 0 !== React8.useSyncExternalStore ? React8.useSyncExternalStore : shim;
144
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
145
+ }();
695
146
  }
696
147
  });
697
148
 
698
- // node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
699
- var require_interop_require_wildcard = __commonJS({
700
- "node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"(exports2) {
149
+ // node_modules/use-sync-external-store/shim/index.js
150
+ var require_shim = __commonJS({
151
+ "node_modules/use-sync-external-store/shim/index.js"(exports2, module2) {
701
152
  "use strict";
702
- function _getRequireWildcardCache(nodeInterop) {
703
- if (typeof WeakMap !== "function") return null;
704
- var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
705
- var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
706
- return (_getRequireWildcardCache = function(nodeInterop2) {
707
- return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
708
- })(nodeInterop);
153
+ if (process.env.NODE_ENV === "production") {
154
+ module2.exports = require_use_sync_external_store_shim_production();
155
+ } else {
156
+ module2.exports = require_use_sync_external_store_shim_development();
709
157
  }
710
- function _interop_require_wildcard(obj, nodeInterop) {
711
- if (!nodeInterop && obj && obj.__esModule) return obj;
712
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
713
- var cache = _getRequireWildcardCache(nodeInterop);
714
- if (cache && cache.has(obj)) return cache.get(obj);
715
- var newObj = { __proto__: null };
716
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
717
- for (var key in obj) {
718
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
719
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
720
- if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
721
- else newObj[key] = obj[key];
722
- }
723
- }
724
- newObj.default = obj;
725
- if (cache) cache.set(obj, newObj);
726
- return newObj;
727
- }
728
- exports2._ = _interop_require_wildcard;
729
158
  }
730
159
  });
731
160
 
732
- // node_modules/next/dist/shared/lib/side-effect.js
733
- var require_side_effect = __commonJS({
734
- "node_modules/next/dist/shared/lib/side-effect.js"(exports2) {
735
- "use strict";
736
- Object.defineProperty(exports2, "__esModule", {
737
- value: true
738
- });
739
- Object.defineProperty(exports2, "default", {
740
- enumerable: true,
741
- get: function() {
742
- return SideEffect;
743
- }
744
- });
745
- var _react = require("react");
746
- var isServer = typeof window === "undefined";
747
- var useClientOnlyLayoutEffect = isServer ? () => {
748
- } : _react.useLayoutEffect;
749
- var useClientOnlyEffect = isServer ? () => {
750
- } : _react.useEffect;
751
- function SideEffect(props) {
752
- const { headManager, reduceComponentsToState } = props;
753
- function emitChange() {
754
- if (headManager && headManager.mountedInstances) {
755
- const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));
756
- headManager.updateHead(reduceComponentsToState(headElements, props));
757
- }
758
- }
759
- if (isServer) {
760
- var _headManager_mountedInstances;
761
- headManager == null ? void 0 : (_headManager_mountedInstances = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances.add(props.children);
762
- emitChange();
763
- }
764
- useClientOnlyLayoutEffect(() => {
765
- var _headManager_mountedInstances2;
766
- headManager == null ? void 0 : (_headManager_mountedInstances2 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances2.add(props.children);
767
- return () => {
768
- var _headManager_mountedInstances3;
769
- headManager == null ? void 0 : (_headManager_mountedInstances3 = headManager.mountedInstances) == null ? void 0 : _headManager_mountedInstances3.delete(props.children);
770
- };
771
- });
772
- useClientOnlyLayoutEffect(() => {
773
- if (headManager) {
774
- headManager._pendingUpdate = emitChange;
775
- }
776
- return () => {
777
- if (headManager) {
778
- headManager._pendingUpdate = emitChange;
779
- }
780
- };
781
- });
782
- useClientOnlyEffect(() => {
783
- if (headManager && headManager._pendingUpdate) {
784
- headManager._pendingUpdate();
785
- headManager._pendingUpdate = null;
786
- }
787
- return () => {
788
- if (headManager && headManager._pendingUpdate) {
789
- headManager._pendingUpdate();
790
- headManager._pendingUpdate = null;
791
- }
792
- };
793
- });
794
- return null;
795
- }
796
- }
161
+ // src/components/icons-and-geometry/Avatar.tsx
162
+ var Avatar_exports = {};
163
+ __export(Avatar_exports, {
164
+ Avatar: () => Avatar2,
165
+ AvatarGroup: () => AvatarGroup,
166
+ AvatarUtil: () => AvatarUtil
797
167
  });
168
+ module.exports = __toCommonJS(Avatar_exports);
169
+ var import_clsx = __toESM(require("clsx"));
170
+ var import_react = require("react");
171
+ var import_lucide_react = require("lucide-react");
798
172
 
799
- // node_modules/next/dist/shared/lib/amp-context.shared-runtime.js
800
- var require_amp_context_shared_runtime = __commonJS({
801
- "node_modules/next/dist/shared/lib/amp-context.shared-runtime.js"(exports2) {
802
- "use strict";
803
- Object.defineProperty(exports2, "__esModule", {
804
- value: true
805
- });
806
- Object.defineProperty(exports2, "AmpStateContext", {
807
- enumerable: true,
808
- get: function() {
809
- return AmpStateContext;
810
- }
811
- });
812
- var _interop_require_default = require_interop_require_default();
813
- var _react = /* @__PURE__ */ _interop_require_default._(require("react"));
814
- var AmpStateContext = _react.default.createContext({});
815
- if (process.env.NODE_ENV !== "production") {
816
- AmpStateContext.displayName = "AmpStateContext";
817
- }
818
- }
819
- });
173
+ // node_modules/@radix-ui/react-avatar/dist/index.mjs
174
+ var React7 = __toESM(require("react"), 1);
820
175
 
821
- // node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js
822
- var require_head_manager_context_shared_runtime = __commonJS({
823
- "node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js"(exports2) {
824
- "use strict";
825
- Object.defineProperty(exports2, "__esModule", {
826
- value: true
827
- });
828
- Object.defineProperty(exports2, "HeadManagerContext", {
829
- enumerable: true,
830
- get: function() {
831
- return HeadManagerContext;
832
- }
833
- });
834
- var _interop_require_default = require_interop_require_default();
835
- var _react = /* @__PURE__ */ _interop_require_default._(require("react"));
836
- var HeadManagerContext = _react.default.createContext({});
837
- if (process.env.NODE_ENV !== "production") {
838
- HeadManagerContext.displayName = "HeadManagerContext";
839
- }
176
+ // node_modules/@radix-ui/react-context/dist/index.mjs
177
+ var React = __toESM(require("react"), 1);
178
+ var import_jsx_runtime = require("react/jsx-runtime");
179
+ function createContextScope(scopeName, createContextScopeDeps = []) {
180
+ let defaultContexts = [];
181
+ function createContext3(rootComponentName, defaultContext) {
182
+ const BaseContext = React.createContext(defaultContext);
183
+ const index = defaultContexts.length;
184
+ defaultContexts = [...defaultContexts, defaultContext];
185
+ const Provider = (props) => {
186
+ const { scope, children, ...context } = props;
187
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
188
+ const value = React.useMemo(() => context, Object.values(context));
189
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value, children });
190
+ };
191
+ Provider.displayName = rootComponentName + "Provider";
192
+ function useContext2(consumerName, scope) {
193
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
194
+ const context = React.useContext(Context);
195
+ if (context) return context;
196
+ if (defaultContext !== void 0) return defaultContext;
197
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
198
+ }
199
+ return [Provider, useContext2];
840
200
  }
841
- });
201
+ const createScope = () => {
202
+ const scopeContexts = defaultContexts.map((defaultContext) => {
203
+ return React.createContext(defaultContext);
204
+ });
205
+ return function useScope(scope) {
206
+ const contexts = scope?.[scopeName] || scopeContexts;
207
+ return React.useMemo(
208
+ () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
209
+ [scope, contexts]
210
+ );
211
+ };
212
+ };
213
+ createScope.scopeName = scopeName;
214
+ return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
215
+ }
216
+ function composeContextScopes(...scopes) {
217
+ const baseScope = scopes[0];
218
+ if (scopes.length === 1) return baseScope;
219
+ const createScope = () => {
220
+ const scopeHooks = scopes.map((createScope2) => ({
221
+ useScope: createScope2(),
222
+ scopeName: createScope2.scopeName
223
+ }));
224
+ return function useComposedScopes(overrideScopes) {
225
+ const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
226
+ const scopeProps = useScope(overrideScopes);
227
+ const currentScope = scopeProps[`__scope${scopeName}`];
228
+ return { ...nextScopes2, ...currentScope };
229
+ }, {});
230
+ return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
231
+ };
232
+ };
233
+ createScope.scopeName = baseScope.scopeName;
234
+ return createScope;
235
+ }
842
236
 
843
- // node_modules/next/dist/shared/lib/amp-mode.js
844
- var require_amp_mode = __commonJS({
845
- "node_modules/next/dist/shared/lib/amp-mode.js"(exports2) {
846
- "use strict";
847
- Object.defineProperty(exports2, "__esModule", {
848
- value: true
849
- });
850
- Object.defineProperty(exports2, "isInAmpMode", {
851
- enumerable: true,
852
- get: function() {
853
- return isInAmpMode;
854
- }
855
- });
856
- function isInAmpMode(param) {
857
- let { ampFirst = false, hybrid = false, hasQuery = false } = param === void 0 ? {} : param;
858
- return ampFirst || hybrid && hasQuery;
859
- }
860
- }
861
- });
237
+ // node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
238
+ var React2 = __toESM(require("react"), 1);
239
+ function useCallbackRef(callback) {
240
+ const callbackRef = React2.useRef(callback);
241
+ React2.useEffect(() => {
242
+ callbackRef.current = callback;
243
+ });
244
+ return React2.useMemo(() => (...args) => callbackRef.current?.(...args), []);
245
+ }
862
246
 
863
- // node_modules/next/dist/shared/lib/head.js
864
- var require_head = __commonJS({
865
- "node_modules/next/dist/shared/lib/head.js"(exports2, module2) {
866
- "use client";
867
- "use strict";
868
- Object.defineProperty(exports2, "__esModule", {
869
- value: true
870
- });
871
- function _export(target, all) {
872
- for (var name in all) Object.defineProperty(target, name, {
873
- enumerable: true,
874
- get: all[name]
875
- });
876
- }
877
- _export(exports2, {
878
- default: function() {
879
- return _default;
880
- },
881
- defaultHead: function() {
882
- return defaultHead;
883
- }
884
- });
885
- var _interop_require_default = require_interop_require_default();
886
- var _interop_require_wildcard = require_interop_require_wildcard();
887
- var _jsxruntime = require("react/jsx-runtime");
888
- var _react = /* @__PURE__ */ _interop_require_wildcard._(require("react"));
889
- var _sideeffect = /* @__PURE__ */ _interop_require_default._(require_side_effect());
890
- var _ampcontextsharedruntime = require_amp_context_shared_runtime();
891
- var _headmanagercontextsharedruntime = require_head_manager_context_shared_runtime();
892
- var _ampmode = require_amp_mode();
893
- var _warnonce = require_warn_once();
894
- function defaultHead(inAmpMode) {
895
- if (inAmpMode === void 0) inAmpMode = false;
896
- const head = [
897
- /* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
898
- charSet: "utf-8"
899
- }, "charset")
900
- ];
901
- if (!inAmpMode) {
902
- head.push(/* @__PURE__ */ (0, _jsxruntime.jsx)("meta", {
903
- name: "viewport",
904
- content: "width=device-width"
905
- }, "viewport"));
906
- }
907
- return head;
908
- }
909
- function onlyReactElement(list, child) {
910
- if (typeof child === "string" || typeof child === "number") {
911
- return list;
912
- }
913
- if (child.type === _react.default.Fragment) {
914
- return list.concat(
915
- // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
916
- _react.default.Children.toArray(child.props.children).reduce(
917
- // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
918
- (fragmentList, fragmentChild) => {
919
- if (typeof fragmentChild === "string" || typeof fragmentChild === "number") {
920
- return fragmentList;
921
- }
922
- return fragmentList.concat(fragmentChild);
923
- },
924
- []
925
- )
926
- );
927
- }
928
- return list.concat(child);
929
- }
930
- var METATYPES = [
931
- "name",
932
- "httpEquiv",
933
- "charSet",
934
- "itemProp"
935
- ];
936
- function unique() {
937
- const keys = /* @__PURE__ */ new Set();
938
- const tags = /* @__PURE__ */ new Set();
939
- const metaTypes = /* @__PURE__ */ new Set();
940
- const metaCategories = {};
941
- return (h) => {
942
- let isUnique = true;
943
- let hasKey = false;
944
- if (h.key && typeof h.key !== "number" && h.key.indexOf("$") > 0) {
945
- hasKey = true;
946
- const key = h.key.slice(h.key.indexOf("$") + 1);
947
- if (keys.has(key)) {
948
- isUnique = false;
247
+ // node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
248
+ var React3 = __toESM(require("react"), 1);
249
+ var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
250
+ };
251
+
252
+ // node_modules/@radix-ui/react-primitive/dist/index.mjs
253
+ var React6 = __toESM(require("react"), 1);
254
+ var ReactDOM = __toESM(require("react-dom"), 1);
255
+
256
+ // node_modules/@radix-ui/react-slot/dist/index.mjs
257
+ var React5 = __toESM(require("react"), 1);
258
+
259
+ // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
260
+ var React4 = __toESM(require("react"), 1);
261
+ function setRef(ref, value) {
262
+ if (typeof ref === "function") {
263
+ return ref(value);
264
+ } else if (ref !== null && ref !== void 0) {
265
+ ref.current = value;
266
+ }
267
+ }
268
+ function composeRefs(...refs) {
269
+ return (node) => {
270
+ let hasCleanup = false;
271
+ const cleanups = refs.map((ref) => {
272
+ const cleanup = setRef(ref, node);
273
+ if (!hasCleanup && typeof cleanup == "function") {
274
+ hasCleanup = true;
275
+ }
276
+ return cleanup;
277
+ });
278
+ if (hasCleanup) {
279
+ return () => {
280
+ for (let i = 0; i < cleanups.length; i++) {
281
+ const cleanup = cleanups[i];
282
+ if (typeof cleanup == "function") {
283
+ cleanup();
949
284
  } else {
950
- keys.add(key);
285
+ setRef(refs[i], null);
951
286
  }
952
287
  }
953
- switch (h.type) {
954
- case "title":
955
- case "base":
956
- if (tags.has(h.type)) {
957
- isUnique = false;
958
- } else {
959
- tags.add(h.type);
960
- }
961
- break;
962
- case "meta":
963
- for (let i = 0, len = METATYPES.length; i < len; i++) {
964
- const metatype = METATYPES[i];
965
- if (!h.props.hasOwnProperty(metatype)) continue;
966
- if (metatype === "charSet") {
967
- if (metaTypes.has(metatype)) {
968
- isUnique = false;
969
- } else {
970
- metaTypes.add(metatype);
971
- }
972
- } else {
973
- const category = h.props[metatype];
974
- const categories = metaCategories[metatype] || /* @__PURE__ */ new Set();
975
- if ((metatype !== "name" || !hasKey) && categories.has(category)) {
976
- isUnique = false;
977
- } else {
978
- categories.add(category);
979
- metaCategories[metatype] = categories;
980
- }
981
- }
982
- }
983
- break;
984
- }
985
- return isUnique;
986
288
  };
987
289
  }
988
- function reduceComponents(headChildrenElements, props) {
989
- const { inAmpMode } = props;
990
- return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i) => {
991
- const key = c.key || i;
992
- if (process.env.NODE_ENV !== "development" && process.env.__NEXT_OPTIMIZE_FONTS && !inAmpMode) {
993
- if (c.type === "link" && c.props["href"] && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
994
- [
995
- "https://fonts.googleapis.com/css",
996
- "https://use.typekit.net/"
997
- ].some((url) => c.props["href"].startsWith(url))) {
998
- const newProps = {
999
- ...c.props || {}
1000
- };
1001
- newProps["data-href"] = newProps["href"];
1002
- newProps["href"] = void 0;
1003
- newProps["data-optimized-fonts"] = true;
1004
- return /* @__PURE__ */ _react.default.cloneElement(c, newProps);
1005
- }
1006
- }
1007
- if (process.env.NODE_ENV === "development") {
1008
- if (c.type === "script" && c.props["type"] !== "application/ld+json") {
1009
- const srcMessage = c.props["src"] ? '<script> tag with src="' + c.props["src"] + '"' : "inline <script>";
1010
- (0, _warnonce.warnOnce)("Do not add <script> tags using next/head (see " + srcMessage + "). Use next/script instead. \nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component");
1011
- } else if (c.type === "link" && c.props["rel"] === "stylesheet") {
1012
- (0, _warnonce.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="' + c.props["href"] + '"). Use Document instead. \nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component');
1013
- }
290
+ };
291
+ }
292
+
293
+ // node_modules/@radix-ui/react-slot/dist/index.mjs
294
+ var import_jsx_runtime2 = require("react/jsx-runtime");
295
+ // @__NO_SIDE_EFFECTS__
296
+ function createSlot(ownerName) {
297
+ const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
298
+ const Slot2 = React5.forwardRef((props, forwardedRef) => {
299
+ const { children, ...slotProps } = props;
300
+ const childrenArray = React5.Children.toArray(children);
301
+ const slottable = childrenArray.find(isSlottable);
302
+ if (slottable) {
303
+ const newElement = slottable.props.children;
304
+ const newChildren = childrenArray.map((child) => {
305
+ if (child === slottable) {
306
+ if (React5.Children.count(newElement) > 1) return React5.Children.only(null);
307
+ return React5.isValidElement(newElement) ? newElement.props.children : null;
308
+ } else {
309
+ return child;
1014
310
  }
1015
- return /* @__PURE__ */ _react.default.cloneElement(c, {
1016
- key
1017
- });
1018
- });
1019
- }
1020
- function Head(param) {
1021
- let { children } = param;
1022
- const ampState = (0, _react.useContext)(_ampcontextsharedruntime.AmpStateContext);
1023
- const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext);
1024
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_sideeffect.default, {
1025
- reduceComponentsToState: reduceComponents,
1026
- headManager,
1027
- inAmpMode: (0, _ampmode.isInAmpMode)(ampState),
1028
- children
1029
311
  });
1030
- }
1031
- var _default = Head;
1032
- if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
1033
- Object.defineProperty(exports2.default, "__esModule", { value: true });
1034
- Object.assign(exports2.default, exports2);
1035
- module2.exports = exports2.default;
1036
- }
1037
- }
1038
- });
1039
-
1040
- // node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js
1041
- var require_image_config_context_shared_runtime = __commonJS({
1042
- "node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js"(exports2) {
1043
- "use strict";
1044
- Object.defineProperty(exports2, "__esModule", {
1045
- value: true
1046
- });
1047
- Object.defineProperty(exports2, "ImageConfigContext", {
1048
- enumerable: true,
1049
- get: function() {
1050
- return ImageConfigContext;
312
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React5.isValidElement(newElement) ? React5.cloneElement(newElement, void 0, newChildren) : null });
313
+ }
314
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
315
+ });
316
+ Slot2.displayName = `${ownerName}.Slot`;
317
+ return Slot2;
318
+ }
319
+ // @__NO_SIDE_EFFECTS__
320
+ function createSlotClone(ownerName) {
321
+ const SlotClone = React5.forwardRef((props, forwardedRef) => {
322
+ const { children, ...slotProps } = props;
323
+ if (React5.isValidElement(children)) {
324
+ const childrenRef = getElementRef(children);
325
+ const props2 = mergeProps(slotProps, children.props);
326
+ if (children.type !== React5.Fragment) {
327
+ props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
328
+ }
329
+ return React5.cloneElement(children, props2);
330
+ }
331
+ return React5.Children.count(children) > 1 ? React5.Children.only(null) : null;
332
+ });
333
+ SlotClone.displayName = `${ownerName}.SlotClone`;
334
+ return SlotClone;
335
+ }
336
+ var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
337
+ function isSlottable(child) {
338
+ return React5.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
339
+ }
340
+ function mergeProps(slotProps, childProps) {
341
+ const overrideProps = { ...childProps };
342
+ for (const propName in childProps) {
343
+ const slotPropValue = slotProps[propName];
344
+ const childPropValue = childProps[propName];
345
+ const isHandler = /^on[A-Z]/.test(propName);
346
+ if (isHandler) {
347
+ if (slotPropValue && childPropValue) {
348
+ overrideProps[propName] = (...args) => {
349
+ const result = childPropValue(...args);
350
+ slotPropValue(...args);
351
+ return result;
352
+ };
353
+ } else if (slotPropValue) {
354
+ overrideProps[propName] = slotPropValue;
1051
355
  }
1052
- });
1053
- var _interop_require_default = require_interop_require_default();
1054
- var _react = /* @__PURE__ */ _interop_require_default._(require("react"));
1055
- var _imageconfig = require_image_config();
1056
- var ImageConfigContext = _react.default.createContext(_imageconfig.imageConfigDefault);
1057
- if (process.env.NODE_ENV !== "production") {
1058
- ImageConfigContext.displayName = "ImageConfigContext";
356
+ } else if (propName === "style") {
357
+ overrideProps[propName] = { ...slotPropValue, ...childPropValue };
358
+ } else if (propName === "className") {
359
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
1059
360
  }
1060
361
  }
1061
- });
1062
-
1063
- // node_modules/next/dist/shared/lib/router-context.shared-runtime.js
1064
- var require_router_context_shared_runtime = __commonJS({
1065
- "node_modules/next/dist/shared/lib/router-context.shared-runtime.js"(exports2) {
1066
- "use strict";
1067
- Object.defineProperty(exports2, "__esModule", {
1068
- value: true
1069
- });
1070
- Object.defineProperty(exports2, "RouterContext", {
1071
- enumerable: true,
1072
- get: function() {
1073
- return RouterContext;
1074
- }
1075
- });
1076
- var _interop_require_default = require_interop_require_default();
1077
- var _react = /* @__PURE__ */ _interop_require_default._(require("react"));
1078
- var RouterContext = _react.default.createContext(null);
1079
- if (process.env.NODE_ENV !== "production") {
1080
- RouterContext.displayName = "RouterContext";
1081
- }
362
+ return { ...slotProps, ...overrideProps };
363
+ }
364
+ function getElementRef(element) {
365
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
366
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
367
+ if (mayWarn) {
368
+ return element.ref;
1082
369
  }
1083
- });
1084
-
1085
- // node_modules/next/dist/compiled/picomatch/index.js
1086
- var require_picomatch = __commonJS({
1087
- "node_modules/next/dist/compiled/picomatch/index.js"(exports2, module2) {
1088
- (() => {
1089
- "use strict";
1090
- var t = { 170: (t2, e2, u2) => {
1091
- const n = u2(510);
1092
- const isWindows = () => {
1093
- if (typeof navigator !== "undefined" && navigator.platform) {
1094
- const t3 = navigator.platform.toLowerCase();
1095
- return t3 === "win32" || t3 === "windows";
1096
- }
1097
- if (typeof process !== "undefined" && process.platform) {
1098
- return process.platform === "win32";
1099
- }
1100
- return false;
1101
- };
1102
- function picomatch(t3, e3, u3 = false) {
1103
- if (e3 && (e3.windows === null || e3.windows === void 0)) {
1104
- e3 = { ...e3, windows: isWindows() };
1105
- }
1106
- return n(t3, e3, u3);
1107
- }
1108
- Object.assign(picomatch, n);
1109
- t2.exports = picomatch;
1110
- }, 154: (t2) => {
1111
- const e2 = "\\\\/";
1112
- const u2 = `[^${e2}]`;
1113
- const n = "\\.";
1114
- const o = "\\+";
1115
- const s = "\\?";
1116
- const r = "\\/";
1117
- const a = "(?=.)";
1118
- const i = "[^/]";
1119
- const c = `(?:${r}|$)`;
1120
- const p = `(?:^|${r})`;
1121
- const l = `${n}{1,2}${c}`;
1122
- const f = `(?!${n})`;
1123
- const A = `(?!${p}${l})`;
1124
- const _ = `(?!${n}{0,1}${c})`;
1125
- const R = `(?!${l})`;
1126
- const E = `[^.${r}]`;
1127
- const h = `${i}*?`;
1128
- const g = "/";
1129
- const b = { DOT_LITERAL: n, PLUS_LITERAL: o, QMARK_LITERAL: s, SLASH_LITERAL: r, ONE_CHAR: a, QMARK: i, END_ANCHOR: c, DOTS_SLASH: l, NO_DOT: f, NO_DOTS: A, NO_DOT_SLASH: _, NO_DOTS_SLASH: R, QMARK_NO_DOT: E, STAR: h, START_ANCHOR: p, SEP: g };
1130
- const C = { ...b, SLASH_LITERAL: `[${e2}]`, QMARK: u2, STAR: `${u2}*?`, DOTS_SLASH: `${n}{1,2}(?:[${e2}]|$)`, NO_DOT: `(?!${n})`, NO_DOTS: `(?!(?:^|[${e2}])${n}{1,2}(?:[${e2}]|$))`, NO_DOT_SLASH: `(?!${n}{0,1}(?:[${e2}]|$))`, NO_DOTS_SLASH: `(?!${n}{1,2}(?:[${e2}]|$))`, QMARK_NO_DOT: `[^.${e2}]`, START_ANCHOR: `(?:^|[${e2}])`, END_ANCHOR: `(?:[${e2}]|$)`, SEP: "\\" };
1131
- const y = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
1132
- t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: y, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(t3) {
1133
- return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
1134
- }, globChars(t3) {
1135
- return t3 === true ? C : b;
1136
- } };
1137
- }, 697: (t2, e2, u2) => {
1138
- const n = u2(154);
1139
- const o = u2(96);
1140
- const { MAX_LENGTH: s, POSIX_REGEX_SOURCE: r, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: i, REPLACEMENTS: c } = n;
1141
- const expandRange = (t3, e3) => {
1142
- if (typeof e3.expandRange === "function") {
1143
- return e3.expandRange(...t3, e3);
1144
- }
1145
- t3.sort();
1146
- const u3 = `[${t3.join("-")}]`;
1147
- try {
1148
- new RegExp(u3);
1149
- } catch (e4) {
1150
- return t3.map((t4) => o.escapeRegex(t4)).join("..");
1151
- }
1152
- return u3;
1153
- };
1154
- const syntaxError = (t3, e3) => `Missing ${t3}: "${e3}" - use "\\\\${e3}" to match literal characters`;
1155
- const parse = (t3, e3) => {
1156
- if (typeof t3 !== "string") {
1157
- throw new TypeError("Expected a string");
1158
- }
1159
- t3 = c[t3] || t3;
1160
- const u3 = { ...e3 };
1161
- const p = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
1162
- let l = t3.length;
1163
- if (l > p) {
1164
- throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`);
1165
- }
1166
- const f = { type: "bos", value: "", output: u3.prepend || "" };
1167
- const A = [f];
1168
- const _ = u3.capture ? "" : "?:";
1169
- const R = n.globChars(u3.windows);
1170
- const E = n.extglobChars(R);
1171
- const { DOT_LITERAL: h, PLUS_LITERAL: g, SLASH_LITERAL: b, ONE_CHAR: C, DOTS_SLASH: y, NO_DOT: $, NO_DOT_SLASH: x, NO_DOTS_SLASH: S, QMARK: H, QMARK_NO_DOT: v, STAR: d, START_ANCHOR: L } = R;
1172
- const globstar = (t4) => `(${_}(?:(?!${L}${t4.dot ? y : h}).)*?)`;
1173
- const T = u3.dot ? "" : $;
1174
- const O = u3.dot ? H : v;
1175
- let k = u3.bash === true ? globstar(u3) : d;
1176
- if (u3.capture) {
1177
- k = `(${k})`;
1178
- }
1179
- if (typeof u3.noext === "boolean") {
1180
- u3.noextglob = u3.noext;
1181
- }
1182
- const m = { input: t3, index: -1, start: 0, dot: u3.dot === true, consumed: "", output: "", prefix: "", backtrack: false, negated: false, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: false, tokens: A };
1183
- t3 = o.removePrefix(t3, m);
1184
- l = t3.length;
1185
- const w = [];
1186
- const N = [];
1187
- const I = [];
1188
- let B = f;
1189
- let G;
1190
- const eos = () => m.index === l - 1;
1191
- const D = m.peek = (e4 = 1) => t3[m.index + e4];
1192
- const M = m.advance = () => t3[++m.index] || "";
1193
- const remaining = () => t3.slice(m.index + 1);
1194
- const consume = (t4 = "", e4 = 0) => {
1195
- m.consumed += t4;
1196
- m.index += e4;
1197
- };
1198
- const append = (t4) => {
1199
- m.output += t4.output != null ? t4.output : t4.value;
1200
- consume(t4.value);
1201
- };
1202
- const negate = () => {
1203
- let t4 = 1;
1204
- while (D() === "!" && (D(2) !== "(" || D(3) === "?")) {
1205
- M();
1206
- m.start++;
1207
- t4++;
1208
- }
1209
- if (t4 % 2 === 0) {
1210
- return false;
1211
- }
1212
- m.negated = true;
1213
- m.start++;
1214
- return true;
1215
- };
1216
- const increment = (t4) => {
1217
- m[t4]++;
1218
- I.push(t4);
1219
- };
1220
- const decrement = (t4) => {
1221
- m[t4]--;
1222
- I.pop();
1223
- };
1224
- const push = (t4) => {
1225
- if (B.type === "globstar") {
1226
- const e4 = m.braces > 0 && (t4.type === "comma" || t4.type === "brace");
1227
- const u4 = t4.extglob === true || w.length && (t4.type === "pipe" || t4.type === "paren");
1228
- if (t4.type !== "slash" && t4.type !== "paren" && !e4 && !u4) {
1229
- m.output = m.output.slice(0, -B.output.length);
1230
- B.type = "star";
1231
- B.value = "*";
1232
- B.output = k;
1233
- m.output += B.output;
1234
- }
1235
- }
1236
- if (w.length && t4.type !== "paren") {
1237
- w[w.length - 1].inner += t4.value;
1238
- }
1239
- if (t4.value || t4.output) append(t4);
1240
- if (B && B.type === "text" && t4.type === "text") {
1241
- B.output = (B.output || B.value) + t4.value;
1242
- B.value += t4.value;
1243
- return;
1244
- }
1245
- t4.prev = B;
1246
- A.push(t4);
1247
- B = t4;
1248
- };
1249
- const extglobOpen = (t4, e4) => {
1250
- const n2 = { ...E[e4], conditions: 1, inner: "" };
1251
- n2.prev = B;
1252
- n2.parens = m.parens;
1253
- n2.output = m.output;
1254
- const o2 = (u3.capture ? "(" : "") + n2.open;
1255
- increment("parens");
1256
- push({ type: t4, value: e4, output: m.output ? "" : C });
1257
- push({ type: "paren", extglob: true, value: M(), output: o2 });
1258
- w.push(n2);
1259
- };
1260
- const extglobClose = (t4) => {
1261
- let n2 = t4.close + (u3.capture ? ")" : "");
1262
- let o2;
1263
- if (t4.type === "negate") {
1264
- let s2 = k;
1265
- if (t4.inner && t4.inner.length > 1 && t4.inner.includes("/")) {
1266
- s2 = globstar(u3);
1267
- }
1268
- if (s2 !== k || eos() || /^\)+$/.test(remaining())) {
1269
- n2 = t4.close = `)$))${s2}`;
1270
- }
1271
- if (t4.inner.includes("*") && (o2 = remaining()) && /^\.[^\\/.]+$/.test(o2)) {
1272
- const u4 = parse(o2, { ...e3, fastpaths: false }).output;
1273
- n2 = t4.close = `)${u4})${s2})`;
1274
- }
1275
- if (t4.prev.type === "bos") {
1276
- m.negatedExtglob = true;
1277
- }
1278
- }
1279
- push({ type: "paren", extglob: true, value: G, output: n2 });
1280
- decrement("parens");
1281
- };
1282
- if (u3.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t3)) {
1283
- let n2 = false;
1284
- let s2 = t3.replace(i, (t4, e4, u4, o2, s3, r2) => {
1285
- if (o2 === "\\") {
1286
- n2 = true;
1287
- return t4;
1288
- }
1289
- if (o2 === "?") {
1290
- if (e4) {
1291
- return e4 + o2 + (s3 ? H.repeat(s3.length) : "");
1292
- }
1293
- if (r2 === 0) {
1294
- return O + (s3 ? H.repeat(s3.length) : "");
1295
- }
1296
- return H.repeat(u4.length);
1297
- }
1298
- if (o2 === ".") {
1299
- return h.repeat(u4.length);
1300
- }
1301
- if (o2 === "*") {
1302
- if (e4) {
1303
- return e4 + o2 + (s3 ? k : "");
1304
- }
1305
- return k;
1306
- }
1307
- return e4 ? t4 : `\\${t4}`;
1308
- });
1309
- if (n2 === true) {
1310
- if (u3.unescape === true) {
1311
- s2 = s2.replace(/\\/g, "");
1312
- } else {
1313
- s2 = s2.replace(/\\+/g, (t4) => t4.length % 2 === 0 ? "\\\\" : t4 ? "\\" : "");
1314
- }
1315
- }
1316
- if (s2 === t3 && u3.contains === true) {
1317
- m.output = t3;
1318
- return m;
1319
- }
1320
- m.output = o.wrapOutput(s2, m, e3);
1321
- return m;
1322
- }
1323
- while (!eos()) {
1324
- G = M();
1325
- if (G === "\0") {
1326
- continue;
1327
- }
1328
- if (G === "\\") {
1329
- const t4 = D();
1330
- if (t4 === "/" && u3.bash !== true) {
1331
- continue;
1332
- }
1333
- if (t4 === "." || t4 === ";") {
1334
- continue;
1335
- }
1336
- if (!t4) {
1337
- G += "\\";
1338
- push({ type: "text", value: G });
1339
- continue;
1340
- }
1341
- const e5 = /^\\+/.exec(remaining());
1342
- let n3 = 0;
1343
- if (e5 && e5[0].length > 2) {
1344
- n3 = e5[0].length;
1345
- m.index += n3;
1346
- if (n3 % 2 !== 0) {
1347
- G += "\\";
1348
- }
1349
- }
1350
- if (u3.unescape === true) {
1351
- G = M();
1352
- } else {
1353
- G += M();
1354
- }
1355
- if (m.brackets === 0) {
1356
- push({ type: "text", value: G });
1357
- continue;
1358
- }
1359
- }
1360
- if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) {
1361
- if (u3.posix !== false && G === ":") {
1362
- const t4 = B.value.slice(1);
1363
- if (t4.includes("[")) {
1364
- B.posix = true;
1365
- if (t4.includes(":")) {
1366
- const t5 = B.value.lastIndexOf("[");
1367
- const e5 = B.value.slice(0, t5);
1368
- const u4 = B.value.slice(t5 + 2);
1369
- const n3 = r[u4];
1370
- if (n3) {
1371
- B.value = e5 + n3;
1372
- m.backtrack = true;
1373
- M();
1374
- if (!f.output && A.indexOf(B) === 1) {
1375
- f.output = C;
1376
- }
1377
- continue;
1378
- }
1379
- }
1380
- }
1381
- }
1382
- if (G === "[" && D() !== ":" || G === "-" && D() === "]") {
1383
- G = `\\${G}`;
1384
- }
1385
- if (G === "]" && (B.value === "[" || B.value === "[^")) {
1386
- G = `\\${G}`;
1387
- }
1388
- if (u3.posix === true && G === "!" && B.value === "[") {
1389
- G = "^";
1390
- }
1391
- B.value += G;
1392
- append({ value: G });
1393
- continue;
1394
- }
1395
- if (m.quotes === 1 && G !== '"') {
1396
- G = o.escapeRegex(G);
1397
- B.value += G;
1398
- append({ value: G });
1399
- continue;
1400
- }
1401
- if (G === '"') {
1402
- m.quotes = m.quotes === 1 ? 0 : 1;
1403
- if (u3.keepQuotes === true) {
1404
- push({ type: "text", value: G });
1405
- }
1406
- continue;
1407
- }
1408
- if (G === "(") {
1409
- increment("parens");
1410
- push({ type: "paren", value: G });
1411
- continue;
1412
- }
1413
- if (G === ")") {
1414
- if (m.parens === 0 && u3.strictBrackets === true) {
1415
- throw new SyntaxError(syntaxError("opening", "("));
1416
- }
1417
- const t4 = w[w.length - 1];
1418
- if (t4 && m.parens === t4.parens + 1) {
1419
- extglobClose(w.pop());
1420
- continue;
1421
- }
1422
- push({ type: "paren", value: G, output: m.parens ? ")" : "\\)" });
1423
- decrement("parens");
1424
- continue;
1425
- }
1426
- if (G === "[") {
1427
- if (u3.nobracket === true || !remaining().includes("]")) {
1428
- if (u3.nobracket !== true && u3.strictBrackets === true) {
1429
- throw new SyntaxError(syntaxError("closing", "]"));
1430
- }
1431
- G = `\\${G}`;
1432
- } else {
1433
- increment("brackets");
1434
- }
1435
- push({ type: "bracket", value: G });
1436
- continue;
1437
- }
1438
- if (G === "]") {
1439
- if (u3.nobracket === true || B && B.type === "bracket" && B.value.length === 1) {
1440
- push({ type: "text", value: G, output: `\\${G}` });
1441
- continue;
1442
- }
1443
- if (m.brackets === 0) {
1444
- if (u3.strictBrackets === true) {
1445
- throw new SyntaxError(syntaxError("opening", "["));
1446
- }
1447
- push({ type: "text", value: G, output: `\\${G}` });
1448
- continue;
1449
- }
1450
- decrement("brackets");
1451
- const t4 = B.value.slice(1);
1452
- if (B.posix !== true && t4[0] === "^" && !t4.includes("/")) {
1453
- G = `/${G}`;
1454
- }
1455
- B.value += G;
1456
- append({ value: G });
1457
- if (u3.literalBrackets === false || o.hasRegexChars(t4)) {
1458
- continue;
1459
- }
1460
- const e5 = o.escapeRegex(B.value);
1461
- m.output = m.output.slice(0, -B.value.length);
1462
- if (u3.literalBrackets === true) {
1463
- m.output += e5;
1464
- B.value = e5;
1465
- continue;
1466
- }
1467
- B.value = `(${_}${e5}|${B.value})`;
1468
- m.output += B.value;
1469
- continue;
1470
- }
1471
- if (G === "{" && u3.nobrace !== true) {
1472
- increment("braces");
1473
- const t4 = { type: "brace", value: G, output: "(", outputIndex: m.output.length, tokensIndex: m.tokens.length };
1474
- N.push(t4);
1475
- push(t4);
1476
- continue;
1477
- }
1478
- if (G === "}") {
1479
- const t4 = N[N.length - 1];
1480
- if (u3.nobrace === true || !t4) {
1481
- push({ type: "text", value: G, output: G });
1482
- continue;
1483
- }
1484
- let e5 = ")";
1485
- if (t4.dots === true) {
1486
- const t5 = A.slice();
1487
- const n3 = [];
1488
- for (let e6 = t5.length - 1; e6 >= 0; e6--) {
1489
- A.pop();
1490
- if (t5[e6].type === "brace") {
1491
- break;
1492
- }
1493
- if (t5[e6].type !== "dots") {
1494
- n3.unshift(t5[e6].value);
1495
- }
1496
- }
1497
- e5 = expandRange(n3, u3);
1498
- m.backtrack = true;
1499
- }
1500
- if (t4.comma !== true && t4.dots !== true) {
1501
- const u4 = m.output.slice(0, t4.outputIndex);
1502
- const n3 = m.tokens.slice(t4.tokensIndex);
1503
- t4.value = t4.output = "\\{";
1504
- G = e5 = "\\}";
1505
- m.output = u4;
1506
- for (const t5 of n3) {
1507
- m.output += t5.output || t5.value;
1508
- }
1509
- }
1510
- push({ type: "brace", value: G, output: e5 });
1511
- decrement("braces");
1512
- N.pop();
1513
- continue;
1514
- }
1515
- if (G === "|") {
1516
- if (w.length > 0) {
1517
- w[w.length - 1].conditions++;
1518
- }
1519
- push({ type: "text", value: G });
1520
- continue;
1521
- }
1522
- if (G === ",") {
1523
- let t4 = G;
1524
- const e5 = N[N.length - 1];
1525
- if (e5 && I[I.length - 1] === "braces") {
1526
- e5.comma = true;
1527
- t4 = "|";
1528
- }
1529
- push({ type: "comma", value: G, output: t4 });
1530
- continue;
1531
- }
1532
- if (G === "/") {
1533
- if (B.type === "dot" && m.index === m.start + 1) {
1534
- m.start = m.index + 1;
1535
- m.consumed = "";
1536
- m.output = "";
1537
- A.pop();
1538
- B = f;
1539
- continue;
1540
- }
1541
- push({ type: "slash", value: G, output: b });
1542
- continue;
1543
- }
1544
- if (G === ".") {
1545
- if (m.braces > 0 && B.type === "dot") {
1546
- if (B.value === ".") B.output = h;
1547
- const t4 = N[N.length - 1];
1548
- B.type = "dots";
1549
- B.output += G;
1550
- B.value += G;
1551
- t4.dots = true;
1552
- continue;
1553
- }
1554
- if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") {
1555
- push({ type: "text", value: G, output: h });
1556
- continue;
1557
- }
1558
- push({ type: "dot", value: G, output: h });
1559
- continue;
1560
- }
1561
- if (G === "?") {
1562
- const t4 = B && B.value === "(";
1563
- if (!t4 && u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1564
- extglobOpen("qmark", G);
1565
- continue;
1566
- }
1567
- if (B && B.type === "paren") {
1568
- const t5 = D();
1569
- let e5 = G;
1570
- if (B.value === "(" && !/[!=<:]/.test(t5) || t5 === "<" && !/<([!=]|\w+>)/.test(remaining())) {
1571
- e5 = `\\${G}`;
1572
- }
1573
- push({ type: "text", value: G, output: e5 });
1574
- continue;
1575
- }
1576
- if (u3.dot !== true && (B.type === "slash" || B.type === "bos")) {
1577
- push({ type: "qmark", value: G, output: v });
1578
- continue;
1579
- }
1580
- push({ type: "qmark", value: G, output: H });
1581
- continue;
1582
- }
1583
- if (G === "!") {
1584
- if (u3.noextglob !== true && D() === "(") {
1585
- if (D(2) !== "?" || !/[!=<:]/.test(D(3))) {
1586
- extglobOpen("negate", G);
1587
- continue;
1588
- }
1589
- }
1590
- if (u3.nonegate !== true && m.index === 0) {
1591
- negate();
1592
- continue;
1593
- }
1594
- }
1595
- if (G === "+") {
1596
- if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1597
- extglobOpen("plus", G);
1598
- continue;
1599
- }
1600
- if (B && B.value === "(" || u3.regex === false) {
1601
- push({ type: "plus", value: G, output: g });
1602
- continue;
1603
- }
1604
- if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) {
1605
- push({ type: "plus", value: G });
1606
- continue;
1607
- }
1608
- push({ type: "plus", value: g });
1609
- continue;
1610
- }
1611
- if (G === "@") {
1612
- if (u3.noextglob !== true && D() === "(" && D(2) !== "?") {
1613
- push({ type: "at", extglob: true, value: G, output: "" });
1614
- continue;
1615
- }
1616
- push({ type: "text", value: G });
1617
- continue;
1618
- }
1619
- if (G !== "*") {
1620
- if (G === "$" || G === "^") {
1621
- G = `\\${G}`;
1622
- }
1623
- const t4 = a.exec(remaining());
1624
- if (t4) {
1625
- G += t4[0];
1626
- m.index += t4[0].length;
1627
- }
1628
- push({ type: "text", value: G });
1629
- continue;
1630
- }
1631
- if (B && (B.type === "globstar" || B.star === true)) {
1632
- B.type = "star";
1633
- B.star = true;
1634
- B.value += G;
1635
- B.output = k;
1636
- m.backtrack = true;
1637
- m.globstar = true;
1638
- consume(G);
1639
- continue;
1640
- }
1641
- let e4 = remaining();
1642
- if (u3.noextglob !== true && /^\([^?]/.test(e4)) {
1643
- extglobOpen("star", G);
1644
- continue;
1645
- }
1646
- if (B.type === "star") {
1647
- if (u3.noglobstar === true) {
1648
- consume(G);
1649
- continue;
1650
- }
1651
- const n3 = B.prev;
1652
- const o2 = n3.prev;
1653
- const s2 = n3.type === "slash" || n3.type === "bos";
1654
- const r2 = o2 && (o2.type === "star" || o2.type === "globstar");
1655
- if (u3.bash === true && (!s2 || e4[0] && e4[0] !== "/")) {
1656
- push({ type: "star", value: G, output: "" });
1657
- continue;
1658
- }
1659
- const a2 = m.braces > 0 && (n3.type === "comma" || n3.type === "brace");
1660
- const i2 = w.length && (n3.type === "pipe" || n3.type === "paren");
1661
- if (!s2 && n3.type !== "paren" && !a2 && !i2) {
1662
- push({ type: "star", value: G, output: "" });
1663
- continue;
1664
- }
1665
- while (e4.slice(0, 3) === "/**") {
1666
- const u4 = t3[m.index + 4];
1667
- if (u4 && u4 !== "/") {
1668
- break;
1669
- }
1670
- e4 = e4.slice(3);
1671
- consume("/**", 3);
1672
- }
1673
- if (n3.type === "bos" && eos()) {
1674
- B.type = "globstar";
1675
- B.value += G;
1676
- B.output = globstar(u3);
1677
- m.output = B.output;
1678
- m.globstar = true;
1679
- consume(G);
1680
- continue;
1681
- }
1682
- if (n3.type === "slash" && n3.prev.type !== "bos" && !r2 && eos()) {
1683
- m.output = m.output.slice(0, -(n3.output + B.output).length);
1684
- n3.output = `(?:${n3.output}`;
1685
- B.type = "globstar";
1686
- B.output = globstar(u3) + (u3.strictSlashes ? ")" : "|$)");
1687
- B.value += G;
1688
- m.globstar = true;
1689
- m.output += n3.output + B.output;
1690
- consume(G);
1691
- continue;
1692
- }
1693
- if (n3.type === "slash" && n3.prev.type !== "bos" && e4[0] === "/") {
1694
- const t4 = e4[1] !== void 0 ? "|$" : "";
1695
- m.output = m.output.slice(0, -(n3.output + B.output).length);
1696
- n3.output = `(?:${n3.output}`;
1697
- B.type = "globstar";
1698
- B.output = `${globstar(u3)}${b}|${b}${t4})`;
1699
- B.value += G;
1700
- m.output += n3.output + B.output;
1701
- m.globstar = true;
1702
- consume(G + M());
1703
- push({ type: "slash", value: "/", output: "" });
1704
- continue;
1705
- }
1706
- if (n3.type === "bos" && e4[0] === "/") {
1707
- B.type = "globstar";
1708
- B.value += G;
1709
- B.output = `(?:^|${b}|${globstar(u3)}${b})`;
1710
- m.output = B.output;
1711
- m.globstar = true;
1712
- consume(G + M());
1713
- push({ type: "slash", value: "/", output: "" });
1714
- continue;
1715
- }
1716
- m.output = m.output.slice(0, -B.output.length);
1717
- B.type = "globstar";
1718
- B.output = globstar(u3);
1719
- B.value += G;
1720
- m.output += B.output;
1721
- m.globstar = true;
1722
- consume(G);
1723
- continue;
1724
- }
1725
- const n2 = { type: "star", value: G, output: k };
1726
- if (u3.bash === true) {
1727
- n2.output = ".*?";
1728
- if (B.type === "bos" || B.type === "slash") {
1729
- n2.output = T + n2.output;
1730
- }
1731
- push(n2);
1732
- continue;
1733
- }
1734
- if (B && (B.type === "bracket" || B.type === "paren") && u3.regex === true) {
1735
- n2.output = G;
1736
- push(n2);
1737
- continue;
1738
- }
1739
- if (m.index === m.start || B.type === "slash" || B.type === "dot") {
1740
- if (B.type === "dot") {
1741
- m.output += x;
1742
- B.output += x;
1743
- } else if (u3.dot === true) {
1744
- m.output += S;
1745
- B.output += S;
1746
- } else {
1747
- m.output += T;
1748
- B.output += T;
1749
- }
1750
- if (D() !== "*") {
1751
- m.output += C;
1752
- B.output += C;
1753
- }
1754
- }
1755
- push(n2);
1756
- }
1757
- while (m.brackets > 0) {
1758
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
1759
- m.output = o.escapeLast(m.output, "[");
1760
- decrement("brackets");
1761
- }
1762
- while (m.parens > 0) {
1763
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
1764
- m.output = o.escapeLast(m.output, "(");
1765
- decrement("parens");
1766
- }
1767
- while (m.braces > 0) {
1768
- if (u3.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
1769
- m.output = o.escapeLast(m.output, "{");
1770
- decrement("braces");
1771
- }
1772
- if (u3.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) {
1773
- push({ type: "maybe_slash", value: "", output: `${b}?` });
1774
- }
1775
- if (m.backtrack === true) {
1776
- m.output = "";
1777
- for (const t4 of m.tokens) {
1778
- m.output += t4.output != null ? t4.output : t4.value;
1779
- if (t4.suffix) {
1780
- m.output += t4.suffix;
1781
- }
1782
- }
1783
- }
1784
- return m;
1785
- };
1786
- parse.fastpaths = (t3, e3) => {
1787
- const u3 = { ...e3 };
1788
- const r2 = typeof u3.maxLength === "number" ? Math.min(s, u3.maxLength) : s;
1789
- const a2 = t3.length;
1790
- if (a2 > r2) {
1791
- throw new SyntaxError(`Input length: ${a2}, exceeds maximum allowed length: ${r2}`);
1792
- }
1793
- t3 = c[t3] || t3;
1794
- const { DOT_LITERAL: i2, SLASH_LITERAL: p, ONE_CHAR: l, DOTS_SLASH: f, NO_DOT: A, NO_DOTS: _, NO_DOTS_SLASH: R, STAR: E, START_ANCHOR: h } = n.globChars(u3.windows);
1795
- const g = u3.dot ? _ : A;
1796
- const b = u3.dot ? R : A;
1797
- const C = u3.capture ? "" : "?:";
1798
- const y = { negated: false, prefix: "" };
1799
- let $ = u3.bash === true ? ".*?" : E;
1800
- if (u3.capture) {
1801
- $ = `(${$})`;
1802
- }
1803
- const globstar = (t4) => {
1804
- if (t4.noglobstar === true) return $;
1805
- return `(${C}(?:(?!${h}${t4.dot ? f : i2}).)*?)`;
1806
- };
1807
- const create = (t4) => {
1808
- switch (t4) {
1809
- case "*":
1810
- return `${g}${l}${$}`;
1811
- case ".*":
1812
- return `${i2}${l}${$}`;
1813
- case "*.*":
1814
- return `${g}${$}${i2}${l}${$}`;
1815
- case "*/*":
1816
- return `${g}${$}${p}${l}${b}${$}`;
1817
- case "**":
1818
- return g + globstar(u3);
1819
- case "**/*":
1820
- return `(?:${g}${globstar(u3)}${p})?${b}${l}${$}`;
1821
- case "**/*.*":
1822
- return `(?:${g}${globstar(u3)}${p})?${b}${$}${i2}${l}${$}`;
1823
- case "**/.*":
1824
- return `(?:${g}${globstar(u3)}${p})?${i2}${l}${$}`;
1825
- default: {
1826
- const e4 = /^(.*?)\.(\w+)$/.exec(t4);
1827
- if (!e4) return;
1828
- const u4 = create(e4[1]);
1829
- if (!u4) return;
1830
- return u4 + i2 + e4[2];
1831
- }
1832
- }
1833
- };
1834
- const x = o.removePrefix(t3, y);
1835
- let S = create(x);
1836
- if (S && u3.strictSlashes !== true) {
1837
- S += `${p}?`;
1838
- }
1839
- return S;
1840
- };
1841
- t2.exports = parse;
1842
- }, 510: (t2, e2, u2) => {
1843
- const n = u2(716);
1844
- const o = u2(697);
1845
- const s = u2(96);
1846
- const r = u2(154);
1847
- const isObject = (t3) => t3 && typeof t3 === "object" && !Array.isArray(t3);
1848
- const picomatch = (t3, e3, u3 = false) => {
1849
- if (Array.isArray(t3)) {
1850
- const n3 = t3.map((t4) => picomatch(t4, e3, u3));
1851
- const arrayMatcher = (t4) => {
1852
- for (const e4 of n3) {
1853
- const u4 = e4(t4);
1854
- if (u4) return u4;
1855
- }
1856
- return false;
1857
- };
1858
- return arrayMatcher;
1859
- }
1860
- const n2 = isObject(t3) && t3.tokens && t3.input;
1861
- if (t3 === "" || typeof t3 !== "string" && !n2) {
1862
- throw new TypeError("Expected pattern to be a non-empty string");
1863
- }
1864
- const o2 = e3 || {};
1865
- const s2 = o2.windows;
1866
- const r2 = n2 ? picomatch.compileRe(t3, e3) : picomatch.makeRe(t3, e3, false, true);
1867
- const a = r2.state;
1868
- delete r2.state;
1869
- let isIgnored = () => false;
1870
- if (o2.ignore) {
1871
- const t4 = { ...e3, ignore: null, onMatch: null, onResult: null };
1872
- isIgnored = picomatch(o2.ignore, t4, u3);
1873
- }
1874
- const matcher = (u4, n3 = false) => {
1875
- const { isMatch: i, match: c, output: p } = picomatch.test(u4, r2, e3, { glob: t3, posix: s2 });
1876
- const l = { glob: t3, state: a, regex: r2, posix: s2, input: u4, output: p, match: c, isMatch: i };
1877
- if (typeof o2.onResult === "function") {
1878
- o2.onResult(l);
1879
- }
1880
- if (i === false) {
1881
- l.isMatch = false;
1882
- return n3 ? l : false;
1883
- }
1884
- if (isIgnored(u4)) {
1885
- if (typeof o2.onIgnore === "function") {
1886
- o2.onIgnore(l);
1887
- }
1888
- l.isMatch = false;
1889
- return n3 ? l : false;
1890
- }
1891
- if (typeof o2.onMatch === "function") {
1892
- o2.onMatch(l);
1893
- }
1894
- return n3 ? l : true;
1895
- };
1896
- if (u3) {
1897
- matcher.state = a;
1898
- }
1899
- return matcher;
1900
- };
1901
- picomatch.test = (t3, e3, u3, { glob: n2, posix: o2 } = {}) => {
1902
- if (typeof t3 !== "string") {
1903
- throw new TypeError("Expected input to be a string");
1904
- }
1905
- if (t3 === "") {
1906
- return { isMatch: false, output: "" };
1907
- }
1908
- const r2 = u3 || {};
1909
- const a = r2.format || (o2 ? s.toPosixSlashes : null);
1910
- let i = t3 === n2;
1911
- let c = i && a ? a(t3) : t3;
1912
- if (i === false) {
1913
- c = a ? a(t3) : t3;
1914
- i = c === n2;
1915
- }
1916
- if (i === false || r2.capture === true) {
1917
- if (r2.matchBase === true || r2.basename === true) {
1918
- i = picomatch.matchBase(t3, e3, u3, o2);
1919
- } else {
1920
- i = e3.exec(c);
1921
- }
1922
- }
1923
- return { isMatch: Boolean(i), match: i, output: c };
1924
- };
1925
- picomatch.matchBase = (t3, e3, u3) => {
1926
- const n2 = e3 instanceof RegExp ? e3 : picomatch.makeRe(e3, u3);
1927
- return n2.test(s.basename(t3));
1928
- };
1929
- picomatch.isMatch = (t3, e3, u3) => picomatch(e3, u3)(t3);
1930
- picomatch.parse = (t3, e3) => {
1931
- if (Array.isArray(t3)) return t3.map((t4) => picomatch.parse(t4, e3));
1932
- return o(t3, { ...e3, fastpaths: false });
1933
- };
1934
- picomatch.scan = (t3, e3) => n(t3, e3);
1935
- picomatch.compileRe = (t3, e3, u3 = false, n2 = false) => {
1936
- if (u3 === true) {
1937
- return t3.output;
1938
- }
1939
- const o2 = e3 || {};
1940
- const s2 = o2.contains ? "" : "^";
1941
- const r2 = o2.contains ? "" : "$";
1942
- let a = `${s2}(?:${t3.output})${r2}`;
1943
- if (t3 && t3.negated === true) {
1944
- a = `^(?!${a}).*$`;
1945
- }
1946
- const i = picomatch.toRegex(a, e3);
1947
- if (n2 === true) {
1948
- i.state = t3;
1949
- }
1950
- return i;
1951
- };
1952
- picomatch.makeRe = (t3, e3 = {}, u3 = false, n2 = false) => {
1953
- if (!t3 || typeof t3 !== "string") {
1954
- throw new TypeError("Expected a non-empty string");
1955
- }
1956
- let s2 = { negated: false, fastpaths: true };
1957
- if (e3.fastpaths !== false && (t3[0] === "." || t3[0] === "*")) {
1958
- s2.output = o.fastpaths(t3, e3);
1959
- }
1960
- if (!s2.output) {
1961
- s2 = o(t3, e3);
1962
- }
1963
- return picomatch.compileRe(s2, e3, u3, n2);
1964
- };
1965
- picomatch.toRegex = (t3, e3) => {
1966
- try {
1967
- const u3 = e3 || {};
1968
- return new RegExp(t3, u3.flags || (u3.nocase ? "i" : ""));
1969
- } catch (t4) {
1970
- if (e3 && e3.debug === true) throw t4;
1971
- return /$^/;
1972
- }
1973
- };
1974
- picomatch.constants = r;
1975
- t2.exports = picomatch;
1976
- }, 716: (t2, e2, u2) => {
1977
- const n = u2(96);
1978
- const { CHAR_ASTERISK: o, CHAR_AT: s, CHAR_BACKWARD_SLASH: r, CHAR_COMMA: a, CHAR_DOT: i, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: p, CHAR_LEFT_CURLY_BRACE: l, CHAR_LEFT_PARENTHESES: f, CHAR_LEFT_SQUARE_BRACKET: A, CHAR_PLUS: _, CHAR_QUESTION_MARK: R, CHAR_RIGHT_CURLY_BRACE: E, CHAR_RIGHT_PARENTHESES: h, CHAR_RIGHT_SQUARE_BRACKET: g } = u2(154);
1979
- const isPathSeparator = (t3) => t3 === p || t3 === r;
1980
- const depth = (t3) => {
1981
- if (t3.isPrefix !== true) {
1982
- t3.depth = t3.isGlobstar ? Infinity : 1;
1983
- }
1984
- };
1985
- const scan = (t3, e3) => {
1986
- const u3 = e3 || {};
1987
- const b = t3.length - 1;
1988
- const C = u3.parts === true || u3.scanToEnd === true;
1989
- const y = [];
1990
- const $ = [];
1991
- const x = [];
1992
- let S = t3;
1993
- let H = -1;
1994
- let v = 0;
1995
- let d = 0;
1996
- let L = false;
1997
- let T = false;
1998
- let O = false;
1999
- let k = false;
2000
- let m = false;
2001
- let w = false;
2002
- let N = false;
2003
- let I = false;
2004
- let B = false;
2005
- let G = false;
2006
- let D = 0;
2007
- let M;
2008
- let P;
2009
- let K = { value: "", depth: 0, isGlob: false };
2010
- const eos = () => H >= b;
2011
- const peek = () => S.charCodeAt(H + 1);
2012
- const advance = () => {
2013
- M = P;
2014
- return S.charCodeAt(++H);
2015
- };
2016
- while (H < b) {
2017
- P = advance();
2018
- let t4;
2019
- if (P === r) {
2020
- N = K.backslashes = true;
2021
- P = advance();
2022
- if (P === l) {
2023
- w = true;
2024
- }
2025
- continue;
2026
- }
2027
- if (w === true || P === l) {
2028
- D++;
2029
- while (eos() !== true && (P = advance())) {
2030
- if (P === r) {
2031
- N = K.backslashes = true;
2032
- advance();
2033
- continue;
2034
- }
2035
- if (P === l) {
2036
- D++;
2037
- continue;
2038
- }
2039
- if (w !== true && P === i && (P = advance()) === i) {
2040
- L = K.isBrace = true;
2041
- O = K.isGlob = true;
2042
- G = true;
2043
- if (C === true) {
2044
- continue;
2045
- }
2046
- break;
2047
- }
2048
- if (w !== true && P === a) {
2049
- L = K.isBrace = true;
2050
- O = K.isGlob = true;
2051
- G = true;
2052
- if (C === true) {
2053
- continue;
2054
- }
2055
- break;
2056
- }
2057
- if (P === E) {
2058
- D--;
2059
- if (D === 0) {
2060
- w = false;
2061
- L = K.isBrace = true;
2062
- G = true;
2063
- break;
2064
- }
2065
- }
2066
- }
2067
- if (C === true) {
2068
- continue;
2069
- }
2070
- break;
2071
- }
2072
- if (P === p) {
2073
- y.push(H);
2074
- $.push(K);
2075
- K = { value: "", depth: 0, isGlob: false };
2076
- if (G === true) continue;
2077
- if (M === i && H === v + 1) {
2078
- v += 2;
2079
- continue;
2080
- }
2081
- d = H + 1;
2082
- continue;
2083
- }
2084
- if (u3.noext !== true) {
2085
- const t5 = P === _ || P === s || P === o || P === R || P === c;
2086
- if (t5 === true && peek() === f) {
2087
- O = K.isGlob = true;
2088
- k = K.isExtglob = true;
2089
- G = true;
2090
- if (P === c && H === v) {
2091
- B = true;
2092
- }
2093
- if (C === true) {
2094
- while (eos() !== true && (P = advance())) {
2095
- if (P === r) {
2096
- N = K.backslashes = true;
2097
- P = advance();
2098
- continue;
2099
- }
2100
- if (P === h) {
2101
- O = K.isGlob = true;
2102
- G = true;
2103
- break;
2104
- }
2105
- }
2106
- continue;
2107
- }
2108
- break;
2109
- }
2110
- }
2111
- if (P === o) {
2112
- if (M === o) m = K.isGlobstar = true;
2113
- O = K.isGlob = true;
2114
- G = true;
2115
- if (C === true) {
2116
- continue;
2117
- }
2118
- break;
2119
- }
2120
- if (P === R) {
2121
- O = K.isGlob = true;
2122
- G = true;
2123
- if (C === true) {
2124
- continue;
2125
- }
2126
- break;
2127
- }
2128
- if (P === A) {
2129
- while (eos() !== true && (t4 = advance())) {
2130
- if (t4 === r) {
2131
- N = K.backslashes = true;
2132
- advance();
2133
- continue;
2134
- }
2135
- if (t4 === g) {
2136
- T = K.isBracket = true;
2137
- O = K.isGlob = true;
2138
- G = true;
2139
- break;
2140
- }
2141
- }
2142
- if (C === true) {
2143
- continue;
2144
- }
2145
- break;
2146
- }
2147
- if (u3.nonegate !== true && P === c && H === v) {
2148
- I = K.negated = true;
2149
- v++;
2150
- continue;
2151
- }
2152
- if (u3.noparen !== true && P === f) {
2153
- O = K.isGlob = true;
2154
- if (C === true) {
2155
- while (eos() !== true && (P = advance())) {
2156
- if (P === f) {
2157
- N = K.backslashes = true;
2158
- P = advance();
2159
- continue;
2160
- }
2161
- if (P === h) {
2162
- G = true;
2163
- break;
2164
- }
2165
- }
2166
- continue;
2167
- }
2168
- break;
2169
- }
2170
- if (O === true) {
2171
- G = true;
2172
- if (C === true) {
2173
- continue;
2174
- }
2175
- break;
2176
- }
2177
- }
2178
- if (u3.noext === true) {
2179
- k = false;
2180
- O = false;
2181
- }
2182
- let U = S;
2183
- let X = "";
2184
- let F = "";
2185
- if (v > 0) {
2186
- X = S.slice(0, v);
2187
- S = S.slice(v);
2188
- d -= v;
2189
- }
2190
- if (U && O === true && d > 0) {
2191
- U = S.slice(0, d);
2192
- F = S.slice(d);
2193
- } else if (O === true) {
2194
- U = "";
2195
- F = S;
2196
- } else {
2197
- U = S;
2198
- }
2199
- if (U && U !== "" && U !== "/" && U !== S) {
2200
- if (isPathSeparator(U.charCodeAt(U.length - 1))) {
2201
- U = U.slice(0, -1);
2202
- }
2203
- }
2204
- if (u3.unescape === true) {
2205
- if (F) F = n.removeBackslashes(F);
2206
- if (U && N === true) {
2207
- U = n.removeBackslashes(U);
2208
- }
2209
- }
2210
- const Q = { prefix: X, input: t3, start: v, base: U, glob: F, isBrace: L, isBracket: T, isGlob: O, isExtglob: k, isGlobstar: m, negated: I, negatedExtglob: B };
2211
- if (u3.tokens === true) {
2212
- Q.maxDepth = 0;
2213
- if (!isPathSeparator(P)) {
2214
- $.push(K);
2215
- }
2216
- Q.tokens = $;
2217
- }
2218
- if (u3.parts === true || u3.tokens === true) {
2219
- let e4;
2220
- for (let n2 = 0; n2 < y.length; n2++) {
2221
- const o2 = e4 ? e4 + 1 : v;
2222
- const s2 = y[n2];
2223
- const r2 = t3.slice(o2, s2);
2224
- if (u3.tokens) {
2225
- if (n2 === 0 && v !== 0) {
2226
- $[n2].isPrefix = true;
2227
- $[n2].value = X;
2228
- } else {
2229
- $[n2].value = r2;
2230
- }
2231
- depth($[n2]);
2232
- Q.maxDepth += $[n2].depth;
2233
- }
2234
- if (n2 !== 0 || r2 !== "") {
2235
- x.push(r2);
2236
- }
2237
- e4 = s2;
2238
- }
2239
- if (e4 && e4 + 1 < t3.length) {
2240
- const n2 = t3.slice(e4 + 1);
2241
- x.push(n2);
2242
- if (u3.tokens) {
2243
- $[$.length - 1].value = n2;
2244
- depth($[$.length - 1]);
2245
- Q.maxDepth += $[$.length - 1].depth;
2246
- }
2247
- }
2248
- Q.slashes = y;
2249
- Q.parts = x;
2250
- }
2251
- return Q;
2252
- };
2253
- t2.exports = scan;
2254
- }, 96: (t2, e2, u2) => {
2255
- const { REGEX_BACKSLASH: n, REGEX_REMOVE_BACKSLASH: o, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: r } = u2(154);
2256
- e2.isObject = (t3) => t3 !== null && typeof t3 === "object" && !Array.isArray(t3);
2257
- e2.hasRegexChars = (t3) => s.test(t3);
2258
- e2.isRegexChar = (t3) => t3.length === 1 && e2.hasRegexChars(t3);
2259
- e2.escapeRegex = (t3) => t3.replace(r, "\\$1");
2260
- e2.toPosixSlashes = (t3) => t3.replace(n, "/");
2261
- e2.removeBackslashes = (t3) => t3.replace(o, (t4) => t4 === "\\" ? "" : t4);
2262
- e2.escapeLast = (t3, u3, n2) => {
2263
- const o2 = t3.lastIndexOf(u3, n2);
2264
- if (o2 === -1) return t3;
2265
- if (t3[o2 - 1] === "\\") return e2.escapeLast(t3, u3, o2 - 1);
2266
- return `${t3.slice(0, o2)}\\${t3.slice(o2)}`;
2267
- };
2268
- e2.removePrefix = (t3, e3 = {}) => {
2269
- let u3 = t3;
2270
- if (u3.startsWith("./")) {
2271
- u3 = u3.slice(2);
2272
- e3.prefix = "./";
2273
- }
2274
- return u3;
2275
- };
2276
- e2.wrapOutput = (t3, e3 = {}, u3 = {}) => {
2277
- const n2 = u3.contains ? "" : "^";
2278
- const o2 = u3.contains ? "" : "$";
2279
- let s2 = `${n2}(?:${t3})${o2}`;
2280
- if (e3.negated === true) {
2281
- s2 = `(?:^(?!${s2}).*$)`;
2282
- }
2283
- return s2;
2284
- };
2285
- e2.basename = (t3, { windows: e3 } = {}) => {
2286
- const u3 = t3.split(e3 ? /[\\/]/ : "/");
2287
- const n2 = u3[u3.length - 1];
2288
- if (n2 === "") {
2289
- return u3[u3.length - 2];
2290
- }
2291
- return n2;
2292
- };
2293
- } };
2294
- var e = {};
2295
- function __nccwpck_require__(u2) {
2296
- var n = e[u2];
2297
- if (n !== void 0) {
2298
- return n.exports;
2299
- }
2300
- var o = e[u2] = { exports: {} };
2301
- var s = true;
2302
- try {
2303
- t[u2](o, o.exports, __nccwpck_require__);
2304
- s = false;
2305
- } finally {
2306
- if (s) delete e[u2];
2307
- }
2308
- return o.exports;
2309
- }
2310
- if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
2311
- var u = __nccwpck_require__(170);
2312
- module2.exports = u;
2313
- })();
370
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
371
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
372
+ if (mayWarn) {
373
+ return element.props.ref;
2314
374
  }
2315
- });
375
+ return element.props.ref || element.ref;
376
+ }
2316
377
 
2317
- // node_modules/next/dist/shared/lib/match-local-pattern.js
2318
- var require_match_local_pattern = __commonJS({
2319
- "node_modules/next/dist/shared/lib/match-local-pattern.js"(exports2) {
2320
- "use strict";
2321
- Object.defineProperty(exports2, "__esModule", {
2322
- value: true
2323
- });
2324
- function _export(target, all) {
2325
- for (var name in all) Object.defineProperty(target, name, {
2326
- enumerable: true,
2327
- get: all[name]
2328
- });
2329
- }
2330
- _export(exports2, {
2331
- hasLocalMatch: function() {
2332
- return hasLocalMatch;
2333
- },
2334
- matchLocalPattern: function() {
2335
- return matchLocalPattern;
2336
- }
2337
- });
2338
- var _picomatch = require_picomatch();
2339
- function matchLocalPattern(pattern, url) {
2340
- if (pattern.search !== void 0) {
2341
- if (pattern.search !== url.search) {
2342
- return false;
2343
- }
2344
- }
2345
- var _pattern_pathname;
2346
- if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
2347
- dot: true
2348
- }).test(url.pathname)) {
2349
- return false;
2350
- }
2351
- return true;
2352
- }
2353
- function hasLocalMatch(localPatterns, urlPathAndQuery) {
2354
- if (!localPatterns) {
2355
- return true;
2356
- }
2357
- const url = new URL(urlPathAndQuery, "http://n");
2358
- return localPatterns.some((p) => matchLocalPattern(p, url));
2359
- }
2360
- }
2361
- });
378
+ // node_modules/@radix-ui/react-primitive/dist/index.mjs
379
+ var import_jsx_runtime3 = require("react/jsx-runtime");
380
+ var NODES = [
381
+ "a",
382
+ "button",
383
+ "div",
384
+ "form",
385
+ "h2",
386
+ "h3",
387
+ "img",
388
+ "input",
389
+ "label",
390
+ "li",
391
+ "nav",
392
+ "ol",
393
+ "p",
394
+ "select",
395
+ "span",
396
+ "svg",
397
+ "ul"
398
+ ];
399
+ var Primitive = NODES.reduce((primitive, node) => {
400
+ const Slot = createSlot(`Primitive.${node}`);
401
+ const Node = React6.forwardRef((props, forwardedRef) => {
402
+ const { asChild, ...primitiveProps } = props;
403
+ const Comp = asChild ? Slot : node;
404
+ if (typeof window !== "undefined") {
405
+ window[Symbol.for("radix-ui")] = true;
406
+ }
407
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
408
+ });
409
+ Node.displayName = `Primitive.${node}`;
410
+ return { ...primitive, [node]: Node };
411
+ }, {});
2362
412
 
2363
- // node_modules/next/dist/shared/lib/match-remote-pattern.js
2364
- var require_match_remote_pattern = __commonJS({
2365
- "node_modules/next/dist/shared/lib/match-remote-pattern.js"(exports2) {
2366
- "use strict";
2367
- Object.defineProperty(exports2, "__esModule", {
2368
- value: true
2369
- });
2370
- function _export(target, all) {
2371
- for (var name in all) Object.defineProperty(target, name, {
2372
- enumerable: true,
2373
- get: all[name]
2374
- });
2375
- }
2376
- _export(exports2, {
2377
- hasRemoteMatch: function() {
2378
- return hasRemoteMatch;
2379
- },
2380
- matchRemotePattern: function() {
2381
- return matchRemotePattern;
2382
- }
2383
- });
2384
- var _picomatch = require_picomatch();
2385
- function matchRemotePattern(pattern, url) {
2386
- if (pattern.protocol !== void 0) {
2387
- if (pattern.protocol.replace(/:$/, "") !== url.protocol.replace(/:$/, "")) {
2388
- return false;
2389
- }
2390
- }
2391
- if (pattern.port !== void 0) {
2392
- if (pattern.port !== url.port) {
2393
- return false;
2394
- }
2395
- }
2396
- if (pattern.hostname === void 0) {
2397
- throw Object.defineProperty(new Error("Pattern should define hostname but found\n" + JSON.stringify(pattern)), "__NEXT_ERROR_CODE", {
2398
- value: "E410",
2399
- enumerable: false,
2400
- configurable: true
2401
- });
2402
- } else {
2403
- if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) {
2404
- return false;
2405
- }
2406
- }
2407
- if (pattern.search !== void 0) {
2408
- if (pattern.search !== url.search) {
2409
- return false;
2410
- }
2411
- }
2412
- var _pattern_pathname;
2413
- if (!(0, _picomatch.makeRe)((_pattern_pathname = pattern.pathname) != null ? _pattern_pathname : "**", {
2414
- dot: true
2415
- }).test(url.pathname)) {
2416
- return false;
2417
- }
2418
- return true;
2419
- }
2420
- function hasRemoteMatch(domains, remotePatterns, url) {
2421
- return domains.some((domain) => url.hostname === domain) || remotePatterns.some((p) => matchRemotePattern(p, url));
2422
- }
2423
- }
2424
- });
413
+ // node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
414
+ var import_shim = __toESM(require_shim(), 1);
415
+ function useIsHydrated() {
416
+ return (0, import_shim.useSyncExternalStore)(
417
+ subscribe,
418
+ () => true,
419
+ () => false
420
+ );
421
+ }
422
+ function subscribe() {
423
+ return () => {
424
+ };
425
+ }
2425
426
 
2426
- // node_modules/next/dist/shared/lib/image-loader.js
2427
- var require_image_loader = __commonJS({
2428
- "node_modules/next/dist/shared/lib/image-loader.js"(exports2) {
2429
- "use strict";
2430
- Object.defineProperty(exports2, "__esModule", {
2431
- value: true
2432
- });
2433
- Object.defineProperty(exports2, "default", {
2434
- enumerable: true,
2435
- get: function() {
2436
- return _default;
2437
- }
2438
- });
2439
- var DEFAULT_Q = 75;
2440
- function defaultLoader(param) {
2441
- let { config, src, width, quality } = param;
2442
- var _config_qualities;
2443
- if (process.env.NODE_ENV !== "production") {
2444
- const missingValues = [];
2445
- if (!src) missingValues.push("src");
2446
- if (!width) missingValues.push("width");
2447
- if (missingValues.length > 0) {
2448
- throw Object.defineProperty(new Error("Next Image Optimization requires " + missingValues.join(", ") + " to be provided. Make sure you pass them as props to the `next/image` component. Received: " + JSON.stringify({
2449
- src,
2450
- width,
2451
- quality
2452
- })), "__NEXT_ERROR_CODE", {
2453
- value: "E188",
2454
- enumerable: false,
2455
- configurable: true
2456
- });
2457
- }
2458
- if (src.startsWith("//")) {
2459
- throw Object.defineProperty(new Error('Failed to parse src "' + src + '" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'), "__NEXT_ERROR_CODE", {
2460
- value: "E360",
2461
- enumerable: false,
2462
- configurable: true
2463
- });
2464
- }
2465
- if (src.startsWith("/") && config.localPatterns) {
2466
- if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
2467
- process.env.NEXT_RUNTIME !== "edge") {
2468
- const { hasLocalMatch } = require_match_local_pattern();
2469
- if (!hasLocalMatch(config.localPatterns, src)) {
2470
- throw Object.defineProperty(new Error("Invalid src prop (" + src + ") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"), "__NEXT_ERROR_CODE", {
2471
- value: "E426",
2472
- enumerable: false,
2473
- configurable: true
2474
- });
2475
- }
2476
- }
2477
- }
2478
- if (!src.startsWith("/") && (config.domains || config.remotePatterns)) {
2479
- let parsedSrc;
2480
- try {
2481
- parsedSrc = new URL(src);
2482
- } catch (err) {
2483
- console.error(err);
2484
- throw Object.defineProperty(new Error('Failed to parse src "' + src + '" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'), "__NEXT_ERROR_CODE", {
2485
- value: "E63",
2486
- enumerable: false,
2487
- configurable: true
2488
- });
2489
- }
2490
- if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
2491
- process.env.NEXT_RUNTIME !== "edge") {
2492
- const { hasRemoteMatch } = require_match_remote_pattern();
2493
- if (!hasRemoteMatch(config.domains, config.remotePatterns, parsedSrc)) {
2494
- throw Object.defineProperty(new Error("Invalid src prop (" + src + ') on `next/image`, hostname "' + parsedSrc.hostname + '" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'), "__NEXT_ERROR_CODE", {
2495
- value: "E231",
2496
- enumerable: false,
2497
- configurable: true
2498
- });
2499
- }
2500
- }
2501
- }
2502
- if (quality && config.qualities && !config.qualities.includes(quality)) {
2503
- throw Object.defineProperty(new Error("Invalid quality prop (" + quality + ") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"), "__NEXT_ERROR_CODE", {
2504
- value: "E623",
2505
- enumerable: false,
2506
- configurable: true
2507
- });
2508
- }
427
+ // node_modules/@radix-ui/react-avatar/dist/index.mjs
428
+ var import_jsx_runtime4 = require("react/jsx-runtime");
429
+ var AVATAR_NAME = "Avatar";
430
+ var [createAvatarContext, createAvatarScope] = createContextScope(AVATAR_NAME);
431
+ var [AvatarProvider, useAvatarContext] = createAvatarContext(AVATAR_NAME);
432
+ var Avatar = React7.forwardRef(
433
+ (props, forwardedRef) => {
434
+ const { __scopeAvatar, ...avatarProps } = props;
435
+ const [imageLoadingStatus, setImageLoadingStatus] = React7.useState("idle");
436
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
437
+ AvatarProvider,
438
+ {
439
+ scope: __scopeAvatar,
440
+ imageLoadingStatus,
441
+ onImageLoadingStatusChange: setImageLoadingStatus,
442
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Primitive.span, { ...avatarProps, ref: forwardedRef })
2509
443
  }
2510
- const q = quality || ((_config_qualities = config.qualities) == null ? void 0 : _config_qualities.reduce((prev, cur) => Math.abs(cur - DEFAULT_Q) < Math.abs(prev - DEFAULT_Q) ? cur : prev)) || DEFAULT_Q;
2511
- return config.path + "?url=" + encodeURIComponent(src) + "&w=" + width + "&q=" + q + (src.startsWith("/_next/static/media/") && process.env.NEXT_DEPLOYMENT_ID ? "&dpl=" + process.env.NEXT_DEPLOYMENT_ID : "");
2512
- }
2513
- defaultLoader.__next_img_default = true;
2514
- var _default = defaultLoader;
444
+ );
2515
445
  }
2516
- });
2517
-
2518
- // node_modules/next/dist/client/use-merged-ref.js
2519
- var require_use_merged_ref = __commonJS({
2520
- "node_modules/next/dist/client/use-merged-ref.js"(exports2, module2) {
2521
- "use strict";
2522
- Object.defineProperty(exports2, "__esModule", {
2523
- value: true
2524
- });
2525
- Object.defineProperty(exports2, "useMergedRef", {
2526
- enumerable: true,
2527
- get: function() {
2528
- return useMergedRef;
2529
- }
2530
- });
2531
- var _react = require("react");
2532
- function useMergedRef(refA, refB) {
2533
- const cleanupA = (0, _react.useRef)(null);
2534
- const cleanupB = (0, _react.useRef)(null);
2535
- return (0, _react.useCallback)((current) => {
2536
- if (current === null) {
2537
- const cleanupFnA = cleanupA.current;
2538
- if (cleanupFnA) {
2539
- cleanupA.current = null;
2540
- cleanupFnA();
2541
- }
2542
- const cleanupFnB = cleanupB.current;
2543
- if (cleanupFnB) {
2544
- cleanupB.current = null;
2545
- cleanupFnB();
2546
- }
2547
- } else {
2548
- if (refA) {
2549
- cleanupA.current = applyRef(refA, current);
2550
- }
2551
- if (refB) {
2552
- cleanupB.current = applyRef(refB, current);
2553
- }
2554
- }
2555
- }, [
2556
- refA,
2557
- refB
2558
- ]);
2559
- }
2560
- function applyRef(refA, current) {
2561
- if (typeof refA === "function") {
2562
- const cleanup = refA(current);
2563
- if (typeof cleanup === "function") {
2564
- return cleanup;
2565
- } else {
2566
- return () => refA(null);
2567
- }
2568
- } else {
2569
- refA.current = current;
2570
- return () => {
2571
- refA.current = null;
2572
- };
2573
- }
2574
- }
2575
- if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
2576
- Object.defineProperty(exports2.default, "__esModule", { value: true });
2577
- Object.assign(exports2.default, exports2);
2578
- module2.exports = exports2.default;
2579
- }
446
+ );
447
+ Avatar.displayName = AVATAR_NAME;
448
+ var IMAGE_NAME = "AvatarImage";
449
+ var AvatarImage = React7.forwardRef(
450
+ (props, forwardedRef) => {
451
+ const { __scopeAvatar, src, onLoadingStatusChange = () => {
452
+ }, ...imageProps } = props;
453
+ const context = useAvatarContext(IMAGE_NAME, __scopeAvatar);
454
+ const imageLoadingStatus = useImageLoadingStatus(src, imageProps);
455
+ const handleLoadingStatusChange = useCallbackRef((status) => {
456
+ onLoadingStatusChange(status);
457
+ context.onImageLoadingStatusChange(status);
458
+ });
459
+ useLayoutEffect2(() => {
460
+ if (imageLoadingStatus !== "idle") {
461
+ handleLoadingStatusChange(imageLoadingStatus);
462
+ }
463
+ }, [imageLoadingStatus, handleLoadingStatusChange]);
464
+ return imageLoadingStatus === "loaded" ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Primitive.img, { ...imageProps, ref: forwardedRef, src }) : null;
2580
465
  }
2581
- });
2582
-
2583
- // node_modules/next/dist/client/image-component.js
2584
- var require_image_component = __commonJS({
2585
- "node_modules/next/dist/client/image-component.js"(exports2, module2) {
2586
- "use client";
2587
- "use strict";
2588
- Object.defineProperty(exports2, "__esModule", {
2589
- value: true
2590
- });
2591
- Object.defineProperty(exports2, "Image", {
2592
- enumerable: true,
2593
- get: function() {
2594
- return Image2;
2595
- }
2596
- });
2597
- var _interop_require_default = require_interop_require_default();
2598
- var _interop_require_wildcard = require_interop_require_wildcard();
2599
- var _jsxruntime = require("react/jsx-runtime");
2600
- var _react = /* @__PURE__ */ _interop_require_wildcard._(require("react"));
2601
- var _reactdom = /* @__PURE__ */ _interop_require_default._(require("react-dom"));
2602
- var _head = /* @__PURE__ */ _interop_require_default._(require_head());
2603
- var _getimgprops = require_get_img_props();
2604
- var _imageconfig = require_image_config();
2605
- var _imageconfigcontextsharedruntime = require_image_config_context_shared_runtime();
2606
- var _warnonce = require_warn_once();
2607
- var _routercontextsharedruntime = require_router_context_shared_runtime();
2608
- var _imageloader = /* @__PURE__ */ _interop_require_default._(require_image_loader());
2609
- var _usemergedref = require_use_merged_ref();
2610
- var configEnv = process.env.__NEXT_IMAGE_OPTS;
2611
- if (typeof window === "undefined") {
2612
- ;
2613
- globalThis.__NEXT_IMAGE_IMPORTED = true;
2614
- }
2615
- function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) {
2616
- const src = img == null ? void 0 : img.src;
2617
- if (!img || img["data-loaded-src"] === src) {
2618
- return;
2619
- }
2620
- img["data-loaded-src"] = src;
2621
- const p = "decode" in img ? img.decode() : Promise.resolve();
2622
- p.catch(() => {
2623
- }).then(() => {
2624
- if (!img.parentElement || !img.isConnected) {
2625
- return;
2626
- }
2627
- if (placeholder !== "empty") {
2628
- setBlurComplete(true);
2629
- }
2630
- if (onLoadRef == null ? void 0 : onLoadRef.current) {
2631
- const event = new Event("load");
2632
- Object.defineProperty(event, "target", {
2633
- writable: false,
2634
- value: img
2635
- });
2636
- let prevented = false;
2637
- let stopped = false;
2638
- onLoadRef.current({
2639
- ...event,
2640
- nativeEvent: event,
2641
- currentTarget: img,
2642
- target: img,
2643
- isDefaultPrevented: () => prevented,
2644
- isPropagationStopped: () => stopped,
2645
- persist: () => {
2646
- },
2647
- preventDefault: () => {
2648
- prevented = true;
2649
- event.preventDefault();
2650
- },
2651
- stopPropagation: () => {
2652
- stopped = true;
2653
- event.stopPropagation();
2654
- }
2655
- });
2656
- }
2657
- if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {
2658
- onLoadingCompleteRef.current(img);
2659
- }
2660
- if (process.env.NODE_ENV !== "production") {
2661
- const origSrc = new URL(src, "http://n").searchParams.get("url") || src;
2662
- if (img.getAttribute("data-nimg") === "fill") {
2663
- if (!unoptimized && (!sizesInput || sizesInput === "100vw")) {
2664
- let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;
2665
- if (widthViewportRatio < 0.6) {
2666
- if (sizesInput === "100vw") {
2667
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes');
2668
- } else {
2669
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes');
2670
- }
2671
- }
2672
- }
2673
- if (img.parentElement) {
2674
- const { position } = window.getComputedStyle(img.parentElement);
2675
- const valid = [
2676
- "absolute",
2677
- "fixed",
2678
- "relative"
2679
- ];
2680
- if (!valid.includes(position)) {
2681
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" and parent element with invalid "position". Provided "' + position + '" should be one of ' + valid.map(String).join(",") + ".");
2682
- }
2683
- }
2684
- if (img.height === 0) {
2685
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
2686
- }
2687
- }
2688
- const heightModified = img.height.toString() !== img.getAttribute("height");
2689
- const widthModified = img.width.toString() !== img.getAttribute("width");
2690
- if (heightModified && !widthModified || !heightModified && widthModified) {
2691
- (0, _warnonce.warnOnce)('Image with src "' + origSrc + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
2692
- }
2693
- }
2694
- });
2695
- }
2696
- function getDynamicProps(fetchPriority) {
2697
- if (Boolean(_react.use)) {
2698
- return {
2699
- fetchPriority
2700
- };
2701
- }
2702
- return {
2703
- fetchpriority: fetchPriority
2704
- };
2705
- }
2706
- var ImageElement = /* @__PURE__ */ (0, _react.forwardRef)((param, forwardedRef) => {
2707
- let { src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest } = param;
2708
- const ownRef = (0, _react.useCallback)((img) => {
2709
- if (!img) {
2710
- return;
2711
- }
2712
- if (onError) {
2713
- img.src = img.src;
2714
- }
2715
- if (process.env.NODE_ENV !== "production") {
2716
- if (!src) {
2717
- console.error('Image is missing required "src" property:', img);
2718
- }
2719
- if (img.getAttribute("alt") === null) {
2720
- console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.');
2721
- }
2722
- }
2723
- if (img.complete) {
2724
- handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
2725
- }
2726
- }, [
2727
- src,
2728
- placeholder,
2729
- onLoadRef,
2730
- onLoadingCompleteRef,
2731
- setBlurComplete,
2732
- onError,
2733
- unoptimized,
2734
- sizesInput
2735
- ]);
2736
- const ref = (0, _usemergedref.useMergedRef)(forwardedRef, ownRef);
2737
- return /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
2738
- ...rest,
2739
- ...getDynamicProps(fetchPriority),
2740
- // It's intended to keep `loading` before `src` because React updates
2741
- // props in order which causes Safari/Firefox to not lazy load properly.
2742
- // See https://github.com/facebook/react/issues/25883
2743
- loading,
2744
- width,
2745
- height,
2746
- decoding,
2747
- "data-nimg": fill ? "fill" : "1",
2748
- className,
2749
- style,
2750
- // It's intended to keep `src` the last attribute because React updates
2751
- // attributes in order. If we keep `src` the first one, Safari will
2752
- // immediately start to fetch `src`, before `sizes` and `srcSet` are even
2753
- // updated by React. That causes multiple unnecessary requests if `srcSet`
2754
- // and `sizes` are defined.
2755
- // This bug cannot be reproduced in Chrome or Firefox.
2756
- sizes,
2757
- srcSet,
2758
- src,
2759
- ref,
2760
- onLoad: (event) => {
2761
- const img = event.currentTarget;
2762
- handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput);
2763
- },
2764
- onError: (event) => {
2765
- setShowAltText(true);
2766
- if (placeholder !== "empty") {
2767
- setBlurComplete(true);
2768
- }
2769
- if (onError) {
2770
- onError(event);
2771
- }
2772
- }
2773
- });
2774
- });
2775
- function ImagePreload(param) {
2776
- let { isAppRouter, imgAttributes } = param;
2777
- const opts = {
2778
- as: "image",
2779
- imageSrcSet: imgAttributes.srcSet,
2780
- imageSizes: imgAttributes.sizes,
2781
- crossOrigin: imgAttributes.crossOrigin,
2782
- referrerPolicy: imgAttributes.referrerPolicy,
2783
- ...getDynamicProps(imgAttributes.fetchPriority)
2784
- };
2785
- if (isAppRouter && _reactdom.default.preload) {
2786
- _reactdom.default.preload(
2787
- imgAttributes.src,
2788
- // @ts-expect-error TODO: upgrade to `@types/react-dom@18.3.x`
2789
- opts
2790
- );
2791
- return null;
2792
- }
2793
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_head.default, {
2794
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)("link", {
2795
- rel: "preload",
2796
- // Note how we omit the `href` attribute, as it would only be relevant
2797
- // for browsers that do not support `imagesrcset`, and in those cases
2798
- // it would cause the incorrect image to be preloaded.
2799
- //
2800
- // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
2801
- href: imgAttributes.srcSet ? void 0 : imgAttributes.src,
2802
- ...opts
2803
- }, "__nimg-" + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes)
2804
- });
2805
- }
2806
- var Image2 = /* @__PURE__ */ (0, _react.forwardRef)((props, forwardedRef) => {
2807
- const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext);
2808
- const isAppRouter = !pagesRouter;
2809
- const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext);
2810
- const config = (0, _react.useMemo)(() => {
2811
- var _c_qualities;
2812
- const c = configEnv || configContext || _imageconfig.imageConfigDefault;
2813
- const allSizes = [
2814
- ...c.deviceSizes,
2815
- ...c.imageSizes
2816
- ].sort((a, b) => a - b);
2817
- const deviceSizes = c.deviceSizes.sort((a, b) => a - b);
2818
- const qualities = (_c_qualities = c.qualities) == null ? void 0 : _c_qualities.sort((a, b) => a - b);
2819
- return {
2820
- ...c,
2821
- allSizes,
2822
- deviceSizes,
2823
- qualities
2824
- };
2825
- }, [
2826
- configContext
2827
- ]);
2828
- const { onLoad, onLoadingComplete } = props;
2829
- const onLoadRef = (0, _react.useRef)(onLoad);
2830
- (0, _react.useEffect)(() => {
2831
- onLoadRef.current = onLoad;
2832
- }, [
2833
- onLoad
2834
- ]);
2835
- const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete);
2836
- (0, _react.useEffect)(() => {
2837
- onLoadingCompleteRef.current = onLoadingComplete;
2838
- }, [
2839
- onLoadingComplete
2840
- ]);
2841
- const [blurComplete, setBlurComplete] = (0, _react.useState)(false);
2842
- const [showAltText, setShowAltText] = (0, _react.useState)(false);
2843
- const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, {
2844
- defaultLoader: _imageloader.default,
2845
- imgConf: config,
2846
- blurComplete,
2847
- showAltText
2848
- });
2849
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
2850
- children: [
2851
- /* @__PURE__ */ (0, _jsxruntime.jsx)(ImageElement, {
2852
- ...imgAttributes,
2853
- unoptimized: imgMeta.unoptimized,
2854
- placeholder: imgMeta.placeholder,
2855
- fill: imgMeta.fill,
2856
- onLoadRef,
2857
- onLoadingCompleteRef,
2858
- setBlurComplete,
2859
- setShowAltText,
2860
- sizesInput: props.sizes,
2861
- ref: forwardedRef
2862
- }),
2863
- imgMeta.priority ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ImagePreload, {
2864
- isAppRouter,
2865
- imgAttributes
2866
- }) : null
2867
- ]
2868
- });
2869
- });
2870
- if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
2871
- Object.defineProperty(exports2.default, "__esModule", { value: true });
2872
- Object.assign(exports2.default, exports2);
2873
- module2.exports = exports2.default;
2874
- }
466
+ );
467
+ AvatarImage.displayName = IMAGE_NAME;
468
+ var FALLBACK_NAME = "AvatarFallback";
469
+ var AvatarFallback = React7.forwardRef(
470
+ (props, forwardedRef) => {
471
+ const { __scopeAvatar, delayMs, ...fallbackProps } = props;
472
+ const context = useAvatarContext(FALLBACK_NAME, __scopeAvatar);
473
+ const [canRender, setCanRender] = React7.useState(delayMs === void 0);
474
+ React7.useEffect(() => {
475
+ if (delayMs !== void 0) {
476
+ const timerId = window.setTimeout(() => setCanRender(true), delayMs);
477
+ return () => window.clearTimeout(timerId);
478
+ }
479
+ }, [delayMs]);
480
+ return canRender && context.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Primitive.span, { ...fallbackProps, ref: forwardedRef }) : null;
2875
481
  }
2876
- });
2877
-
2878
- // node_modules/next/dist/shared/lib/image-external.js
2879
- var require_image_external = __commonJS({
2880
- "node_modules/next/dist/shared/lib/image-external.js"(exports2) {
2881
- "use strict";
2882
- Object.defineProperty(exports2, "__esModule", {
2883
- value: true
2884
- });
2885
- function _export(target, all) {
2886
- for (var name in all) Object.defineProperty(target, name, {
2887
- enumerable: true,
2888
- get: all[name]
2889
- });
2890
- }
2891
- _export(exports2, {
2892
- default: function() {
2893
- return _default;
2894
- },
2895
- getImageProps: function() {
2896
- return getImageProps;
2897
- }
2898
- });
2899
- var _interop_require_default = require_interop_require_default();
2900
- var _getimgprops = require_get_img_props();
2901
- var _imagecomponent = require_image_component();
2902
- var _imageloader = /* @__PURE__ */ _interop_require_default._(require_image_loader());
2903
- function getImageProps(imgProps) {
2904
- const { props } = (0, _getimgprops.getImgProps)(imgProps, {
2905
- defaultLoader: _imageloader.default,
2906
- // This is replaced by webpack define plugin
2907
- imgConf: process.env.__NEXT_IMAGE_OPTS
2908
- });
2909
- for (const [key, value] of Object.entries(props)) {
2910
- if (value === void 0) {
2911
- delete props[key];
2912
- }
2913
- }
2914
- return {
2915
- props
2916
- };
2917
- }
2918
- var _default = _imagecomponent.Image;
482
+ );
483
+ AvatarFallback.displayName = FALLBACK_NAME;
484
+ function resolveLoadingStatus(image, src) {
485
+ if (!image) {
486
+ return "idle";
2919
487
  }
2920
- });
2921
-
2922
- // node_modules/next/image.js
2923
- var require_image = __commonJS({
2924
- "node_modules/next/image.js"(exports2, module2) {
2925
- module2.exports = require_image_external();
488
+ if (!src) {
489
+ return "error";
2926
490
  }
2927
- });
491
+ if (image.src !== src) {
492
+ image.src = src;
493
+ }
494
+ return image.complete && image.naturalWidth > 0 ? "loaded" : "loading";
495
+ }
496
+ function useImageLoadingStatus(src, { referrerPolicy, crossOrigin }) {
497
+ const isHydrated = useIsHydrated();
498
+ const imageRef = React7.useRef(null);
499
+ const image = (() => {
500
+ if (!isHydrated) return null;
501
+ if (!imageRef.current) {
502
+ imageRef.current = new window.Image();
503
+ }
504
+ return imageRef.current;
505
+ })();
506
+ const [loadingStatus, setLoadingStatus] = React7.useState(
507
+ () => resolveLoadingStatus(image, src)
508
+ );
509
+ useLayoutEffect2(() => {
510
+ setLoadingStatus(resolveLoadingStatus(image, src));
511
+ }, [image, src]);
512
+ useLayoutEffect2(() => {
513
+ const updateStatus = (status) => () => {
514
+ setLoadingStatus(status);
515
+ };
516
+ if (!image) return;
517
+ const handleLoad = updateStatus("loaded");
518
+ const handleError = updateStatus("error");
519
+ image.addEventListener("load", handleLoad);
520
+ image.addEventListener("error", handleError);
521
+ if (referrerPolicy) {
522
+ image.referrerPolicy = referrerPolicy;
523
+ }
524
+ if (typeof crossOrigin === "string") {
525
+ image.crossOrigin = crossOrigin;
526
+ }
527
+ return () => {
528
+ image.removeEventListener("load", handleLoad);
529
+ image.removeEventListener("error", handleError);
530
+ };
531
+ }, [image, crossOrigin, referrerPolicy]);
532
+ return loadingStatus;
533
+ }
534
+ var Root = Avatar;
535
+ var Image = AvatarImage;
536
+ var Fallback = AvatarFallback;
2928
537
 
2929
538
  // src/components/icons-and-geometry/Avatar.tsx
2930
- var Avatar_exports = {};
2931
- __export(Avatar_exports, {
2932
- Avatar: () => Avatar,
2933
- AvatarGroup: () => AvatarGroup,
2934
- AvatarUtil: () => AvatarUtil
2935
- });
2936
- module.exports = __toCommonJS(Avatar_exports);
2937
- var import_clsx = __toESM(require("clsx"));
2938
- var import_react = require("react");
2939
- var import_react2 = require("react");
2940
- var import_lucide_react = require("lucide-react");
2941
- var import_image = __toESM(require_image());
2942
- var import_jsx_runtime = require("react/jsx-runtime");
539
+ var import_jsx_runtime5 = require("react/jsx-runtime");
2943
540
  var avtarSizeList = ["sm", "md", "lg", "xl"];
2944
541
  var avatarSizeMapping = {
2945
542
  sm: 18,
@@ -2957,9 +554,8 @@ var AvatarUtil = {
2957
554
  avatarSizeMapping,
2958
555
  sizes: avtarSizeList
2959
556
  };
2960
- var Avatar = ({ image, name, size = "md", fullyRounded, className = "" }) => {
557
+ var Avatar2 = ({ image, name, size = "md", fullyRounded, className = "" }) => {
2961
558
  const pixels = avatarSizeMapping[size];
2962
- const [hasImageError, setHasImageError] = (0, import_react.useState)(false);
2963
559
  const sizeStyle = {
2964
560
  minWidth: pixels,
2965
561
  maxWidth: pixels,
@@ -2967,7 +563,7 @@ var Avatar = ({ image, name, size = "md", fullyRounded, className = "" }) => {
2967
563
  maxHeight: pixels
2968
564
  };
2969
565
  const textClassName = textClassNameMapping[size];
2970
- const displayName = (0, import_react2.useMemo)(() => {
566
+ const displayName = (0, import_react.useMemo)(() => {
2971
567
  const maxLetters = size === "sm" ? 1 : 2;
2972
568
  return (name ?? "").split(" ").filter((_, index) => index < maxLetters).map((value) => value[0]).join("").toUpperCase();
2973
569
  }, [name, size]);
@@ -2976,33 +572,25 @@ var Avatar = ({ image, name, size = "md", fullyRounded, className = "" }) => {
2976
572
  "rounded-lg": !fullyRounded && !(size === "sm" || size === "md"),
2977
573
  "rounded-sm": !fullyRounded && (size === "sm" || size === "md")
2978
574
  };
2979
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2980
- "div",
575
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
576
+ Root,
2981
577
  {
2982
578
  className: (0, import_clsx.default)(
2983
- `relative bg-primary text-on-primary`,
579
+ `flex-row-0 items-center justify-center bg-primary text-on-primary`,
2984
580
  rounding,
2985
581
  className
2986
582
  ),
2987
583
  style: sizeStyle,
2988
584
  children: [
2989
- name && (!image || hasImageError) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_clsx.default)(textClassName, "absolute z-[1] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"), children: displayName }),
2990
- !name && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_clsx.default)("absolute z-[1] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.UserIcon, { size: Math.round(pixels * 3 / 4) }) }),
2991
- image && !hasImageError && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2992
- import_image.default,
585
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
586
+ Image,
2993
587
  {
2994
- className: (0, import_clsx.default)(
2995
- "absolute z-[2] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
2996
- rounding
2997
- ),
2998
- src: image.avatarUrl,
2999
- alt: image.alt,
3000
- style: sizeStyle,
3001
- width: pixels,
3002
- height: pixels,
3003
- onError: () => setHasImageError(true)
588
+ src: image?.avatarUrl,
589
+ alt: image?.alt,
590
+ className: (0, import_clsx.default)(rounding)
3004
591
  }
3005
- )
592
+ ),
593
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Fallback, { asChild: true, children: name ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: textClassName, children: displayName }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.UserIcon, { size: Math.round(pixels * 3 / 4) }) })
3006
594
  ]
3007
595
  }
3008
596
  );
@@ -3019,14 +607,14 @@ var AvatarGroup = ({
3019
607
  const stackingOverlap = 0.5;
3020
608
  const notDisplayedProfiles = avatars.length - maxShownProfiles;
3021
609
  const avatarGroupWidth = diameter * (stackingOverlap * (displayedProfiles.length - 1) + 1);
3022
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex-row-2 relative", style: { height: diameter + "px" }, children: [
3023
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { width: avatarGroupWidth + "px" }, children: displayedProfiles.map((avatar, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
610
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex-row-2 relative", style: { height: diameter + "px" }, children: [
611
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { style: { width: avatarGroupWidth + "px" }, children: displayedProfiles.map((avatar, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3024
612
  "div",
3025
613
  {
3026
614
  className: "absolute",
3027
615
  style: { left: index * diameter * stackingOverlap + "px", zIndex: maxShownProfiles - index },
3028
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3029
- Avatar,
616
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
617
+ Avatar2,
3030
618
  {
3031
619
  ...avatar,
3032
620
  size,
@@ -3037,11 +625,11 @@ var AvatarGroup = ({
3037
625
  },
3038
626
  index
3039
627
  )) }),
3040
- showTotalNumber && notDisplayedProfiles > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
628
+ showTotalNumber && notDisplayedProfiles > 0 && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3041
629
  "div",
3042
630
  {
3043
631
  className: (0, import_clsx.default)(textClassNameMapping[size], "flex-row-2 truncate items-center"),
3044
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [
632
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { children: [
3045
633
  "+ ",
3046
634
  notDisplayedProfiles
3047
635
  ] })
@@ -3055,4 +643,28 @@ var AvatarGroup = ({
3055
643
  AvatarGroup,
3056
644
  AvatarUtil
3057
645
  });
646
+ /*! Bundled license information:
647
+
648
+ use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
649
+ (**
650
+ * @license React
651
+ * use-sync-external-store-shim.production.js
652
+ *
653
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
654
+ *
655
+ * This source code is licensed under the MIT license found in the
656
+ * LICENSE file in the root directory of this source tree.
657
+ *)
658
+
659
+ use-sync-external-store/cjs/use-sync-external-store-shim.development.js:
660
+ (**
661
+ * @license React
662
+ * use-sync-external-store-shim.development.js
663
+ *
664
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
665
+ *
666
+ * This source code is licensed under the MIT license found in the
667
+ * LICENSE file in the root directory of this source tree.
668
+ *)
669
+ */
3058
670
  //# sourceMappingURL=Avatar.js.map