@jenesei-software/jenesei-kit-react 1.3.9 → 1.3.11

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 (347) hide show
  1. package/build/{area-BC64nSGj.js → area-BWxBop5m.js} +2 -2
  2. package/build/area-BWxBop5m.js.map +1 -0
  3. package/build/{area-DRqAofd0.js → area-CD8KKIM0.js} +2 -2
  4. package/build/area-CD8KKIM0.js.map +1 -0
  5. package/build/{area-Dnq78ow6.js → area-CT83tDk-.js} +10 -8
  6. package/build/area-CT83tDk-.js.map +1 -0
  7. package/build/{area-C6QOr2Kd.cjs → area-CmCMHnRA.cjs} +2 -2
  8. package/build/area-CmCMHnRA.cjs.map +1 -0
  9. package/build/{area-C3wR_pPr.cjs → area-DRsIULcw.cjs} +2 -2
  10. package/build/{area-C3wR_pPr.cjs.map → area-DRsIULcw.cjs.map} +1 -1
  11. package/build/{area-D7906bXA.cjs → area-Dup_lUb9.cjs} +2 -2
  12. package/build/area-Dup_lUb9.cjs.map +1 -0
  13. package/build/area-outside.cjs.js +1 -1
  14. package/build/area-outside.es.js +1 -1
  15. package/build/area-preview.cjs.js +1 -1
  16. package/build/area-preview.es.js +1 -1
  17. package/build/{area-CFZW3T1g.js → area-sDVSuS3G.js} +3 -3
  18. package/build/{area-CFZW3T1g.js.map → area-sDVSuS3G.js.map} +1 -1
  19. package/build/area-scroll.cjs.js +1 -1
  20. package/build/area-scroll.d.ts +1 -1
  21. package/build/area-scroll.es.js +1 -1
  22. package/build/area-skeleton.cjs.js +1 -1
  23. package/build/area-skeleton.d.ts +1 -1
  24. package/build/area-skeleton.es.js +1 -1
  25. package/build/area-smooth.cjs.js +1 -1
  26. package/build/area-smooth.d.ts +1 -1
  27. package/build/area-smooth.es.js +1 -1
  28. package/build/area-t259bohc.cjs +2 -0
  29. package/build/area-t259bohc.cjs.map +1 -0
  30. package/build/area.hooks-Bk04M7mk.js.map +1 -1
  31. package/build/area.hooks-C_UKZzcb.cjs.map +1 -1
  32. package/build/build-info.txt +3 -3
  33. package/build/component--jGdo2yq.cjs +2 -0
  34. package/build/component--jGdo2yq.cjs.map +1 -0
  35. package/build/{component--Oo5_3xq.cjs → component-8NOxwZJO.cjs} +2 -2
  36. package/build/component-8NOxwZJO.cjs.map +1 -0
  37. package/build/component-BVnHSTJd.cjs +245 -0
  38. package/build/component-BVnHSTJd.cjs.map +1 -0
  39. package/build/{component-DHq4T6Ku.cjs → component-BhPckvLk.cjs} +2 -2
  40. package/build/component-BhPckvLk.cjs.map +1 -0
  41. package/build/component-CLqcB5mM.cjs.map +1 -1
  42. package/build/{component-C4ULY0c6.js → component-CN6att4f.js} +20 -9
  43. package/build/component-CN6att4f.js.map +1 -0
  44. package/build/component-DHM9pbab.js.map +1 -1
  45. package/build/{component-Bzw_uobM.js → component-DaXKDHnc.js} +48 -7
  46. package/build/component-DaXKDHnc.js.map +1 -0
  47. package/build/component-DnJo66DS.cjs +90 -0
  48. package/build/component-DnJo66DS.cjs.map +1 -0
  49. package/build/{component-BcHiCCC9.js → component-DpVp9dB1.js} +2 -2
  50. package/build/component-DpVp9dB1.js.map +1 -0
  51. package/build/{component-DfxlJBGv.js → component-G5QqAuDV.js} +3 -3
  52. package/build/component-G5QqAuDV.js.map +1 -0
  53. package/build/component-GKvpOWlO.cjs +28 -0
  54. package/build/component-GKvpOWlO.cjs.map +1 -0
  55. package/build/component-GtWqnaqk.js +710 -0
  56. package/build/component-GtWqnaqk.js.map +1 -0
  57. package/build/component-accordion.cjs.js +1 -1
  58. package/build/component-accordion.d.ts +1 -1
  59. package/build/component-accordion.es.js +1 -1
  60. package/build/component-button-group.cjs.js +1 -1
  61. package/build/component-button-group.d.ts +18 -1
  62. package/build/component-button-group.es.js +1 -1
  63. package/build/component-button.cjs.js +1 -1
  64. package/build/component-button.d.ts +21 -2
  65. package/build/component-button.es.js +1 -1
  66. package/build/{component-BiNPQpCQ.cjs → component-cRmWWDr_.cjs} +2 -2
  67. package/build/component-cRmWWDr_.cjs.map +1 -0
  68. package/build/component-checkbox-group.cjs.js +1 -1
  69. package/build/component-checkbox-group.d.ts +20 -3
  70. package/build/component-checkbox-group.es.js +1 -1
  71. package/build/component-checkbox.cjs.js +1 -1
  72. package/build/component-checkbox.d.ts +21 -2
  73. package/build/component-checkbox.es.js +1 -1
  74. package/build/component-date-picker.cjs.js +1 -1
  75. package/build/component-date-picker.d.ts +35 -37
  76. package/build/component-date-picker.es.js +1 -1
  77. package/build/{component-CQ8fy2gK.js → component-feWPgACX.js} +2 -2
  78. package/build/component-feWPgACX.js.map +1 -0
  79. package/build/component-icon.cjs.js +1 -1
  80. package/build/component-icon.es.js +1 -1
  81. package/build/component-image-button.cjs.js +1 -1
  82. package/build/component-image-button.d.ts +18 -1
  83. package/build/component-image-button.es.js +1 -1
  84. package/build/component-image-select.cjs.js +1 -1
  85. package/build/component-image-select.d.ts +18 -1
  86. package/build/component-image-select.es.js +1 -1
  87. package/build/component-image-slider.cjs.js +1 -1
  88. package/build/component-image-slider.d.ts +1 -1
  89. package/build/component-image-slider.es.js +1 -1
  90. package/build/component-image.cjs.js +1 -1
  91. package/build/component-image.es.js +1 -1
  92. package/build/component-input-otp.cjs.js +1 -1
  93. package/build/component-input-otp.d.ts +51 -5
  94. package/build/component-input-otp.es.js +1 -1
  95. package/build/component-input.cjs.js +1 -1
  96. package/build/component-input.d.ts +62 -14
  97. package/build/component-input.es.js +2 -2
  98. package/build/component-map.cjs.js +1 -1
  99. package/build/component-map.es.js +1 -1
  100. package/build/{component-jPZYT5iL.js → component-mzzOCXSx.js} +12 -12
  101. package/build/component-mzzOCXSx.js.map +1 -0
  102. package/build/component-pagination.cjs.js +1 -1
  103. package/build/component-pagination.d.ts +18 -1
  104. package/build/component-pagination.es.js +1 -1
  105. package/build/component-range.cjs.js +1 -1
  106. package/build/component-range.d.ts +50 -4
  107. package/build/component-range.es.js +1 -1
  108. package/build/component-select.cjs.js +1 -1
  109. package/build/component-select.d.ts +48 -7
  110. package/build/component-select.es.js +1 -1
  111. package/build/component-stack.cjs.js +1 -1
  112. package/build/component-stack.d.ts +5 -7
  113. package/build/component-stack.es.js +1 -1
  114. package/build/component-textarea.cjs.js +1 -1
  115. package/build/component-textarea.d.ts +50 -7
  116. package/build/component-textarea.es.js +1 -1
  117. package/build/component-toggle.cjs.js +1 -1
  118. package/build/component-toggle.d.ts +51 -2
  119. package/build/component-toggle.es.js +1 -1
  120. package/build/component-tooltip.cjs.js +1 -1
  121. package/build/component-tooltip.d.ts +14 -2
  122. package/build/component-tooltip.es.js +1 -1
  123. package/build/component-typography.cjs.js +1 -1
  124. package/build/component-typography.d.ts +27 -13
  125. package/build/component-typography.es.js +7 -6
  126. package/build/component-typography.es.js.map +1 -1
  127. package/build/{component.components-DX0DVix5.js → component.components-C-EEYFsd.js} +4 -4
  128. package/build/{component.components-DX0DVix5.js.map → component.components-C-EEYFsd.js.map} +1 -1
  129. package/build/{component.components-H_qAeBHw.cjs → component.components-CC3IeZon.cjs} +2 -2
  130. package/build/{component.components-H_qAeBHw.cjs.map → component.components-CC3IeZon.cjs.map} +1 -1
  131. package/build/{component.constants-DjYLZpyY.js → component.constants-34RZJIiQ.js} +3 -3
  132. package/build/component.constants-34RZJIiQ.js.map +1 -0
  133. package/build/{component.constants-C7DGbAC8.js → component.constants-BxnfHAYp.js} +8 -8
  134. package/build/component.constants-BxnfHAYp.js.map +1 -0
  135. package/build/{component.constants-DwRduxMm.cjs → component.constants-CpRgeAIu.cjs} +3 -3
  136. package/build/component.constants-CpRgeAIu.cjs.map +1 -0
  137. package/build/{component.constants-veAUxKBd.cjs → component.constants-D6AJ1xmO.cjs} +2 -2
  138. package/build/component.constants-D6AJ1xmO.cjs.map +1 -0
  139. package/build/component.functions-D9ffjEok.cjs +8 -0
  140. package/build/component.functions-D9ffjEok.cjs.map +1 -0
  141. package/build/component.functions-DNW6h8kk.js +12 -0
  142. package/build/component.functions-DNW6h8kk.js.map +1 -0
  143. package/build/{component.styles--Ug3PJQ6.cjs → component.styles-4ycgapiT.cjs} +7 -7
  144. package/build/component.styles-4ycgapiT.cjs.map +1 -0
  145. package/build/{component.styles-DLU0S0KI.cjs → component.styles-B-bndnRM.cjs} +2 -2
  146. package/build/component.styles-B-bndnRM.cjs.map +1 -0
  147. package/build/{component.styles-C3hYZJGh.js → component.styles-B0FFHGeN.js} +26 -20
  148. package/build/component.styles-B0FFHGeN.js.map +1 -0
  149. package/build/component.styles-B0L4jbOO.js.map +1 -1
  150. package/build/{component.styles-C1p3V7H6.js → component.styles-BDKsgd6y.js} +32 -19
  151. package/build/component.styles-BDKsgd6y.js.map +1 -0
  152. package/build/{component.styles-Cje8zTpf.cjs → component.styles-BELwxHxh.cjs} +7 -7
  153. package/build/component.styles-BELwxHxh.cjs.map +1 -0
  154. package/build/{component.styles-BirbSbuD.js → component.styles-BEaqQuF_.js} +4 -4
  155. package/build/{component.styles-BirbSbuD.js.map → component.styles-BEaqQuF_.js.map} +1 -1
  156. package/build/{component.styles-DpgkACgI.js → component.styles-BGYbrzvh.js} +2 -2
  157. package/build/component.styles-BGYbrzvh.js.map +1 -0
  158. package/build/{component.styles-DSle6iuF.cjs → component.styles-BKnUDWqO.cjs} +2 -2
  159. package/build/component.styles-BKnUDWqO.cjs.map +1 -0
  160. package/build/component.styles-Bb7_KygZ.cjs +73 -0
  161. package/build/component.styles-Bb7_KygZ.cjs.map +1 -0
  162. package/build/{component.styles-DYS_AJ9F.js → component.styles-BbwS_Ekx.js} +9 -10
  163. package/build/{component.styles-DYS_AJ9F.js.map → component.styles-BbwS_Ekx.js.map} +1 -1
  164. package/build/component.styles-BeRVOt5T.cjs +137 -0
  165. package/build/{component.styles-Crx4pACx.cjs.map → component.styles-BeRVOt5T.cjs.map} +1 -1
  166. package/build/{component.styles-DX_3POUD.js → component.styles-CJC0h3Ed.js} +4 -4
  167. package/build/component.styles-CJC0h3Ed.js.map +1 -0
  168. package/build/{component.styles-CggIUAVx.js → component.styles-CZyAhUtW.js} +21 -10
  169. package/build/component.styles-CZyAhUtW.js.map +1 -0
  170. package/build/component.styles-CsB9986a.cjs +99 -0
  171. package/build/component.styles-CsB9986a.cjs.map +1 -0
  172. package/build/{component.styles-Bm3Ec-Kd.js → component.styles-DS0ofW1Y.js} +3 -3
  173. package/build/{component.styles-Bm3Ec-Kd.js.map → component.styles-DS0ofW1Y.js.map} +1 -1
  174. package/build/component.styles-DTnknwt_.js +94 -0
  175. package/build/component.styles-DTnknwt_.js.map +1 -0
  176. package/build/{component.styles-5Xz_H-fR.js → component.styles-DWS6xT-y.js} +32 -11
  177. package/build/component.styles-DWS6xT-y.js.map +1 -0
  178. package/build/component.styles-DbWj2stq.cjs +21 -0
  179. package/build/component.styles-DbWj2stq.cjs.map +1 -0
  180. package/build/component.styles-Dpg-__rn.cjs.map +1 -1
  181. package/build/component.styles-PNgt36ZD.cjs +225 -0
  182. package/build/component.styles-PNgt36ZD.cjs.map +1 -0
  183. package/build/{component.styles-Bfhg18CX.cjs → component.styles-Py-IeQ2q.cjs} +2 -2
  184. package/build/component.styles-Py-IeQ2q.cjs.map +1 -0
  185. package/build/{component.styles-v0YYECwW.js → component.styles-VrNFgg1_.js} +32 -12
  186. package/build/component.styles-VrNFgg1_.js.map +1 -0
  187. package/build/{component.styles-DhAMCZ71.cjs → component.styles-ZU_GyVub.cjs} +2 -2
  188. package/build/component.styles-ZU_GyVub.cjs.map +1 -0
  189. package/build/component.styles-gZHy-64x.cjs +13 -0
  190. package/build/component.styles-gZHy-64x.cjs.map +1 -0
  191. package/build/{component.styles-5CVyEjEh.js → component.styles-mcm1LgEr.js} +51 -23
  192. package/build/component.styles-mcm1LgEr.js.map +1 -0
  193. package/build/component.types-BBQ18Npa.js.map +1 -1
  194. package/build/{component.types-BzBjcohg.js → component.types-BhmQrqBu.js} +95 -68
  195. package/build/component.types-BhmQrqBu.js.map +1 -0
  196. package/build/component.types-CfR3RBsV.cjs +171 -0
  197. package/build/component.types-CfR3RBsV.cjs.map +1 -0
  198. package/build/component.types-DraGq1j_.cjs.map +1 -1
  199. package/build/context-app.cjs.js +1 -1
  200. package/build/context-app.es.js +1 -1
  201. package/build/context-dialog.cjs.js +1 -1
  202. package/build/context-dialog.d.ts +11 -4
  203. package/build/context-dialog.es.js +1 -1
  204. package/build/context-permission.d.ts +4 -4
  205. package/build/context-sonner.cjs.js +1 -1
  206. package/build/context-sonner.d.ts +42 -7
  207. package/build/context-sonner.es.js +1 -1
  208. package/build/{context.constants-B9Yk6CGe.js → context.constants-BCpaUfFz.js} +9 -6
  209. package/build/context.constants-BCpaUfFz.js.map +1 -0
  210. package/build/context.constants-BLQ_1jZI.cjs +32 -0
  211. package/build/context.constants-BLQ_1jZI.cjs.map +1 -0
  212. package/build/{context.constants-Bz_5itIx.js → context.constants-DOMoMUoD.js} +26 -9
  213. package/build/context.constants-DOMoMUoD.js.map +1 -0
  214. package/build/context.constants-cm50ZUiS.cjs +98 -0
  215. package/build/context.constants-cm50ZUiS.cjs.map +1 -0
  216. package/build/context.functions-80N-5MqM.cjs.map +1 -1
  217. package/build/context.functions-B8FDl7nJ.js.map +1 -1
  218. package/build/context.functions-BD15C8_y.js.map +1 -1
  219. package/build/context.functions-CQ9GerPb.js.map +1 -1
  220. package/build/context.functions-ar41xFVo.cjs.map +1 -1
  221. package/build/context.functions-ohI9H54j.cjs.map +1 -1
  222. package/build/context.hooks-7ydA7mGj.js.map +1 -1
  223. package/build/context.hooks-BIsapq-0.cjs.map +1 -1
  224. package/build/context.hooks-BmwyZ1p3.js.map +1 -1
  225. package/build/context.hooks-BzMTkJNv.js.map +1 -1
  226. package/build/{context.hooks-DTdppyho.js → context.hooks-CI5aQmpr.js} +4 -4
  227. package/build/context.hooks-CI5aQmpr.js.map +1 -0
  228. package/build/{context.hooks-BDEwJHqB.cjs → context.hooks-Ci37RyLf.cjs} +3 -3
  229. package/build/context.hooks-Ci37RyLf.cjs.map +1 -0
  230. package/build/context.hooks-D13tbrva.cjs.map +1 -1
  231. package/build/context.hooks-u408Pxw8.cjs.map +1 -1
  232. package/build/floating-ui.react--v70Xky9.cjs +2 -0
  233. package/build/floating-ui.react--v70Xky9.cjs.map +1 -0
  234. package/build/{component-BoHvC24Q.js → floating-ui.react-Byi6bLb1.js} +17 -704
  235. package/build/floating-ui.react-Byi6bLb1.js.map +1 -0
  236. package/build/index.cjs.js +1 -1
  237. package/build/index.d.ts +92 -100
  238. package/build/index.es.js +59 -57
  239. package/build/index.es.js.map +1 -1
  240. package/build/motion-CIQfrLky.js.map +1 -1
  241. package/build/motion-DgB7M2Hn.cjs.map +1 -1
  242. package/build/style-D3Lbn1EL.cjs +32 -0
  243. package/build/style-D3Lbn1EL.cjs.map +1 -0
  244. package/build/{style-mc2ST5fY.cjs → style-Df37KnoJ.cjs} +47 -18
  245. package/build/style-Df37KnoJ.cjs.map +1 -0
  246. package/build/{style-BgcnmVAY.js → style-RL73t3JD.js} +63 -20
  247. package/build/style-RL73t3JD.js.map +1 -0
  248. package/build/style-add.cjs.js +1 -1
  249. package/build/style-add.d.ts +57 -5
  250. package/build/style-add.es.js +11 -10
  251. package/build/style-error.cjs.js +1 -1
  252. package/build/style-error.d.ts +48 -7
  253. package/build/style-error.es.js +1 -1
  254. package/build/style-fRZ6xrVp.cjs.map +1 -1
  255. package/build/style-plT9Ah7t.js.map +1 -1
  256. package/build/style-theme.cjs.js +1 -1
  257. package/build/style-theme.d.ts +2 -2
  258. package/build/style-theme.es.js +1 -1
  259. package/build/{style-BQ653xOS.js → style-uVTmdhsH.js} +14 -5
  260. package/build/style-uVTmdhsH.js.map +1 -0
  261. package/build/{theme.global-CFUz5Asg.js → theme.global-BgERDJ4e.js} +36 -1
  262. package/build/theme.global-BgERDJ4e.js.map +1 -0
  263. package/build/{theme.global-B9t2Fi10.cjs → theme.global-CcoD5bPP.cjs} +2 -2
  264. package/build/theme.global-CcoD5bPP.cjs.map +1 -0
  265. package/build/{use-DTZ8c8_g.js → use-Bp4KNVye.js} +7 -7
  266. package/build/{use-DTZ8c8_g.js.map → use-Bp4KNVye.js.map} +1 -1
  267. package/build/use-Bp8UVw4Y.js.map +1 -1
  268. package/build/use-C1l0O0Qo.cjs.map +1 -1
  269. package/build/{use-D7IsSb34.cjs → use-DQDxWjzu.cjs} +2 -2
  270. package/build/{use-D7IsSb34.cjs.map → use-DQDxWjzu.cjs.map} +1 -1
  271. package/build/use-DT0XgvJT.js.map +1 -1
  272. package/build/use-IhzeVumv.cjs.map +1 -1
  273. package/package.json +4 -3
  274. package/build/area-BC64nSGj.js.map +0 -1
  275. package/build/area-C6QOr2Kd.cjs.map +0 -1
  276. package/build/area-D7906bXA.cjs.map +0 -1
  277. package/build/area-DRqAofd0.js.map +0 -1
  278. package/build/area-DnAf310m.cjs +0 -2
  279. package/build/area-DnAf310m.cjs.map +0 -1
  280. package/build/area-Dnq78ow6.js.map +0 -1
  281. package/build/component--Oo5_3xq.cjs.map +0 -1
  282. package/build/component-BV_7tGiu.cjs +0 -28
  283. package/build/component-BV_7tGiu.cjs.map +0 -1
  284. package/build/component-BcHiCCC9.js.map +0 -1
  285. package/build/component-BiNPQpCQ.cjs.map +0 -1
  286. package/build/component-BoHvC24Q.js.map +0 -1
  287. package/build/component-Bzw_uobM.js.map +0 -1
  288. package/build/component-C4ULY0c6.js.map +0 -1
  289. package/build/component-CACoGUK9.cjs +0 -251
  290. package/build/component-CACoGUK9.cjs.map +0 -1
  291. package/build/component-CQ8fy2gK.js.map +0 -1
  292. package/build/component-DHq4T6Ku.cjs.map +0 -1
  293. package/build/component-DfxlJBGv.js.map +0 -1
  294. package/build/component-Dn-VRY7-.cjs +0 -2
  295. package/build/component-Dn-VRY7-.cjs.map +0 -1
  296. package/build/component-jPZYT5iL.js.map +0 -1
  297. package/build/component-u_42PteJ.cjs +0 -90
  298. package/build/component-u_42PteJ.cjs.map +0 -1
  299. package/build/component.constants-C7DGbAC8.js.map +0 -1
  300. package/build/component.constants-DjYLZpyY.js.map +0 -1
  301. package/build/component.constants-DwRduxMm.cjs.map +0 -1
  302. package/build/component.constants-veAUxKBd.cjs.map +0 -1
  303. package/build/component.styles--Ug3PJQ6.cjs.map +0 -1
  304. package/build/component.styles-5CVyEjEh.js.map +0 -1
  305. package/build/component.styles-5Xz_H-fR.js.map +0 -1
  306. package/build/component.styles-8tkaznu_.cjs +0 -21
  307. package/build/component.styles-8tkaznu_.cjs.map +0 -1
  308. package/build/component.styles-Bfhg18CX.cjs.map +0 -1
  309. package/build/component.styles-BuzZQhqS.cjs +0 -73
  310. package/build/component.styles-BuzZQhqS.cjs.map +0 -1
  311. package/build/component.styles-C1p3V7H6.js.map +0 -1
  312. package/build/component.styles-C3hYZJGh.js.map +0 -1
  313. package/build/component.styles-CISd4naT.cjs +0 -13
  314. package/build/component.styles-CISd4naT.cjs.map +0 -1
  315. package/build/component.styles-CggIUAVx.js.map +0 -1
  316. package/build/component.styles-Cje8zTpf.cjs.map +0 -1
  317. package/build/component.styles-CpFA5YrM.js +0 -71
  318. package/build/component.styles-CpFA5YrM.js.map +0 -1
  319. package/build/component.styles-Crx4pACx.cjs +0 -137
  320. package/build/component.styles-DLU0S0KI.cjs.map +0 -1
  321. package/build/component.styles-DSle6iuF.cjs.map +0 -1
  322. package/build/component.styles-DX_3POUD.js.map +0 -1
  323. package/build/component.styles-Db3HLiuV.cjs +0 -99
  324. package/build/component.styles-Db3HLiuV.cjs.map +0 -1
  325. package/build/component.styles-DhAMCZ71.cjs.map +0 -1
  326. package/build/component.styles-DpgkACgI.js.map +0 -1
  327. package/build/component.styles-o7GmI4Ap.cjs +0 -225
  328. package/build/component.styles-o7GmI4Ap.cjs.map +0 -1
  329. package/build/component.styles-v0YYECwW.js.map +0 -1
  330. package/build/component.types-BzBjcohg.js.map +0 -1
  331. package/build/component.types-ydMLhabS.cjs +0 -174
  332. package/build/component.types-ydMLhabS.cjs.map +0 -1
  333. package/build/context.constants-B9Yk6CGe.js.map +0 -1
  334. package/build/context.constants-Bz_5itIx.js.map +0 -1
  335. package/build/context.constants-CTfUKury.cjs +0 -32
  336. package/build/context.constants-CTfUKury.cjs.map +0 -1
  337. package/build/context.constants-CV8ycctl.cjs +0 -100
  338. package/build/context.constants-CV8ycctl.cjs.map +0 -1
  339. package/build/context.hooks-BDEwJHqB.cjs.map +0 -1
  340. package/build/context.hooks-DTdppyho.js.map +0 -1
  341. package/build/style-B5u4pW5G.cjs +0 -32
  342. package/build/style-B5u4pW5G.cjs.map +0 -1
  343. package/build/style-BQ653xOS.js.map +0 -1
  344. package/build/style-BgcnmVAY.js.map +0 -1
  345. package/build/style-mc2ST5fY.cjs.map +0 -1
  346. package/build/theme.global-B9t2Fi10.cjs.map +0 -1
  347. package/build/theme.global-CFUz5Asg.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-Bzw_uobM.js","sources":["../src/components/input/component.tsx"],"sourcesContent":["import { ErrorMessage } from '@local/styles/error';\n\nimport { useCallback } from 'react';\nimport { NumberFormatValues } from 'react-number-format';\n\nimport {\n InputPostfixChildren,\n InputPrefixChildren,\n InputProps,\n StyledInput,\n StyledInputNumeric,\n StyledInputPattern,\n StyledInputWrapper,\n} from '.';\n\nexport const Input = (props: InputProps) => {\n const handleOnChange = useCallback(\n (input: string | NumberFormatValues) => {\n if (props.variety === 'standard') {\n const value = typeof input === 'string' ? input : input.value;\n const cleaned = props.isNoSpaces ? value.replace(/\\s+/g, '') : value;\n props.onChange?.(cleaned);\n }\n\n if (props.variety === 'pattern' || props.variety === 'numeric') {\n if (typeof input !== 'string') {\n props.onChange?.(input);\n }\n }\n },\n [props],\n );\n\n return (\n <>\n <StyledInputWrapper\n $isInputEffect={props.isInputEffect}\n className={props.className}\n $isDisabled={props.isDisabled}\n $sx={props.sx}\n $size={props.size}\n $isWidthAsHeight={props.isWidthAsHeight}\n >\n {props.prefixChildren && (\n <InputPrefixChildren\n $left={props.prefixChildren.left}\n $right={props.prefixChildren.right}\n $isDisabled={props.isDisabled}\n $width={props.prefixChildren.width}\n >\n {props.prefixChildren.children}\n </InputPrefixChildren>\n )}\n {props.variety === 'pattern' ? (\n <StyledInputPattern\n $isNiceNumber={props.isNiceNumber}\n $isInputEffect={props.isInputEffect}\n $error={props?.error}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n onValueChange={(props) => handleOnChange(props)}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n onKeyDown={props.onKeyDown}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n tabIndex={props.tabIndex}\n {...props.propsPattern}\n />\n ) : props.variety === 'numeric' ? (\n <StyledInputNumeric\n $isNiceNumber={props.isNiceNumber}\n $isInputEffect={props.isInputEffect}\n $error={props?.error}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n onValueChange={(props) => handleOnChange(props)}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n onKeyDown={props.onKeyDown}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n tabIndex={props.tabIndex}\n {...props.propsNumeric}\n />\n ) : (\n <StyledInput\n $isNiceNumber={props.isNiceNumber}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n ref={props.ref}\n $error={props.error}\n $isInputEffect={props.isInputEffect}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n type={props.type}\n autoComplete={props.autoComplete}\n onInput={(event) => {\n const input = event.target as HTMLInputElement;\n handleOnChange(input.value);\n }}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n tabIndex={props.tabIndex}\n onKeyDown={props.onKeyDown}\n min={props.min}\n max={props.max}\n step={props.step}\n />\n )}\n\n {props.postfixChildren && (\n <InputPostfixChildren\n $left={props.postfixChildren.left}\n $right={props.postfixChildren.right}\n $isDisabled={props.isDisabled}\n $width={props.postfixChildren.width}\n >\n {props.postfixChildren.children}\n </InputPostfixChildren>\n )}\n </StyledInputWrapper>\n {props?.error ? <ErrorMessage {...props.error} size={props?.error.size ?? props.size} /> : null}\n </>\n );\n};\n\nexport function formatPhoneNumber(dialCode: string, international: string) {\n function isDigit(char: string): boolean {\n return /\\d/.test(char);\n }\n\n let formattedNumber = '';\n let placeholderNumber = '';\n let dialCodeIndex = 0;\n\n if (dialCode.length === 0) {\n return { format: '', placeholder: '' };\n }\n\n for (let i = 0; i < international.length; i++) {\n const char = international.charAt(i);\n\n if (char === dialCode.charAt(dialCodeIndex)) {\n formattedNumber += char;\n placeholderNumber += isDigit(char) ? '#' : char;\n dialCodeIndex++;\n } else {\n if (isDigit(char)) {\n formattedNumber += '#';\n placeholderNumber += '-';\n } else {\n formattedNumber += char;\n placeholderNumber += char;\n }\n }\n }\n\n while (dialCodeIndex < dialCode.length) {\n formattedNumber += dialCode.charAt(dialCodeIndex);\n placeholderNumber += dialCode.charAt(dialCodeIndex);\n dialCodeIndex++;\n }\n\n return {\n format: formattedNumber,\n placeholder: placeholderNumber,\n };\n}\n"],"names":["jsxs","Fragment","jsx","props"],"mappings":";;;;AAeO,MAAM,QAAQ,CAAC,UAAsB;AAC1C,QAAM,iBAAiB;AAAA,IACrB,CAAC,UAAuC;;AACtC,UAAI,MAAM,YAAY,YAAY;AAChC,cAAM,QAAQ,OAAO,UAAU,WAAW,QAAQ,MAAM;AACxD,cAAM,UAAU,MAAM,aAAa,MAAM,QAAQ,QAAQ,EAAE,IAAI;AAC/D,oBAAM,aAAN,+BAAiB;AAAA,MAAO;AAG1B,UAAI,MAAM,YAAY,aAAa,MAAM,YAAY,WAAW;AAC9D,YAAI,OAAO,UAAU,UAAU;AAC7B,sBAAM,aAAN,+BAAiB;AAAA,QAAK;AAAA,MACxB;AAAA,IACF;AAAA,IAEF,CAAC,KAAK;AAAA,EAAA;AAGR,SACEA,kCAAAA,KAAAC,4BAAA,EACE,UAAA;AAAA,IAAAD,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,gBAAgB,MAAM;AAAA,QACtB,WAAW,MAAM;AAAA,QACjB,aAAa,MAAM;AAAA,QACnB,KAAK,MAAM;AAAA,QACX,OAAO,MAAM;AAAA,QACb,kBAAkB,MAAM;AAAA,QAEvB,UAAA;AAAA,UAAA,MAAM,kBACLE,kCAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,OAAO,MAAM,eAAe;AAAA,cAC5B,QAAQ,MAAM,eAAe;AAAA,cAC7B,aAAa,MAAM;AAAA,cACnB,QAAQ,MAAM,eAAe;AAAA,cAE5B,gBAAM,eAAe;AAAA,YAAA;AAAA,UAAA;AAAA,UAGzB,MAAM,YAAY,YACjBA,kCAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAe,MAAM;AAAA,cACrB,gBAAgB,MAAM;AAAA,cACtB,QAAQ,+BAAO;AAAA,cACf,YAAY,MAAM;AAA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;AAAA,IACL,QAAQ;AAAA,IACR,aAAa;AAAA,EAAA;AAEjB;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-C4ULY0c6.js","sources":["../src/components/button/component.styles.ts","../src/components/button/component.tsx"],"sourcesContent":["import { motion } from 'framer-motion'\nimport styled, { css } from 'styled-components'\n\nimport { addRippleDefault } from '@local/components/ripple'\nimport { addSXTypography, getFontSizeStyles } from '@local/components/typography'\nimport { addOutline, addTransition } from '@local/styles/add'\nimport { addSX } from '@local/styles/sx'\nimport { IThemeSizePropertyDefault, KEY_SIZE_DATA } from '@local/theme'\n\nimport { StyledDollarButtonIconsWrapperProps, StyledDollarButtonProps } from '.'\n\n/****************************************** Genre *************************************************/\nconst ButtonGenre = css<StyledDollarButtonProps>`\n ${props => css`\n background: ${props.theme.colors.button[props.$genre].background.rest};\n border-color: ${props.theme.colors.button[props.$genre].border.rest};\n color: ${props.theme.colors.button[props.$genre].color.rest};\n &:hover {\n ${(!props.$isHidden || props.$isNotHoverEffect) &&\n css`\n background: ${props.theme.colors.button[props.$genre].background.hover};\n border-color: ${props.theme.colors.button[props.$genre].border.hover};\n color: ${props.theme.colors.button[props.$genre].color.hover};\n `}\n }\n `};\n`\n\n/****************************************** Disabled *************************************************/\nconst ButtonDisabled = css<StyledDollarButtonProps>`\n ${props =>\n props.$isHidden\n ? css`\n opacity: 0.5;\n background: ${props.theme.colors.button[props.$genre].background.rest} !important;\n color: ${props.theme.colors.button[props.$genre].color.rest} !important;\n `\n : css`\n opacity: 1;\n `}\n`\n/****************************************** is HiddenBorder *************************************************/\nconst ButtonIsHiddenBorder = css<StyledDollarButtonProps>`\n ${props =>\n props.$isHiddenBorder &&\n css`\n border: 0px transparent !important;\n `}\n`\n/****************************************** is Radius *************************************************/\nconst ButtonIsRadius = css<StyledDollarButtonProps>`\n ${props =>\n props.$isRadius &&\n css`\n border-radius: 100px;\n `}\n`\n/****************************************** is PlaystationEffect *************************************************/\nconst ButtonIsPlaystationEffect = css<StyledDollarButtonProps>`\n ${props =>\n props.$isPlaystationEffect &&\n css`\n box-shadow: ${props.theme.effects.button};\n `}\n`\n/****************************************** Icons Wrapper *************************************************/\nexport const StyledButtonIconsWrapper = styled.div<StyledDollarButtonIconsWrapperProps>`\n ${props =>\n props.$isIconGroup\n ? css`\n display: flex;\n gap: ${KEY_SIZE_DATA[props.$size].padding - 2}px;\n align-items: center;\n order: ${props.$iconGroupOrder || 'initial'};\n `\n : css`\n display: contents;\n `}\n`\n\n/****************************************** Size *************************************************/\nexport const ButtonSize = css<StyledDollarButtonProps>`\n ${props =>\n ButtonSizeConstructor({\n ...KEY_SIZE_DATA[props.$size],\n isFullSize: props.$isFullSize,\n isWidthAsHeight: props.$isWidthAsHeight,\n isMinWidthAsContent: props.$isMinWidthAsContent\n })};\n`\nexport const ButtonSizeConstructor = (\n props: IThemeSizePropertyDefault & {\n isFullSize?: boolean\n isWidthAsHeight?: boolean\n isMinWidthAsContent?: boolean\n }\n) => css`\n height: fit-content;\n min-height: ${props.height}px;\n max-height: fit-content;\n padding: 2px ${props.padding}px;\n border-radius: ${props.radius}px;\n gap: ${props.padding - 2}px;\n ${params => getFontSizeStyles(props.font, 700, params.theme.font.family)};\n ${() =>\n props.isFullSize &&\n css`\n height: 100%;\n width: 100%;\n border-radius: 0px;\n `};\n ${props.isWidthAsHeight &&\n css`\n width: ${props.height}px;\n min-width: ${props.height}px;\n padding: 0px;\n `};\n ${props.isMinWidthAsContent &&\n css`\n min-width: max-content;\n `};\n`\n/****************************************** Border *************************************************/\nconst ButtonBorder = css`\n border: 1px solid transparent;\n`\n\n/****************************************** Flex *************************************************/\nconst ButtonFlex = css<StyledDollarButtonProps>`\n display: flex;\n align-items: center;\n justify-content: center;\n`\n/****************************************** Styled *************************************************/\nexport const StyledButton = styled(motion.button)<StyledDollarButtonProps>`\n cursor: pointer;\n user-select: none;\n\n ${ButtonBorder};\n ${ButtonSize};\n ${ButtonGenre};\n ${ButtonDisabled};\n ${ButtonIsHiddenBorder};\n ${ButtonIsRadius};\n ${ButtonIsPlaystationEffect};\n ${ButtonFlex};\n ${addRippleDefault};\n ${addTransition};\n ${addOutline};\n ${addSXTypography};\n ${addSX};\n`\n","import {\n Icon,\n TIconBustMarketNameString,\n TIconCheckboxNameString,\n TIconIdNameString,\n TIconLoadingNameString,\n TIconLogoNameString,\n TIconRealEbailNameString,\n} from '@local/components/icon';\nimport { Ripple } from '@local/components/ripple';\n\nimport { useMergeRefs } from '@floating-ui/react';\nimport { FC, Ref, useMemo, useRef } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ButtonProps, StyledButton, StyledButtonIconsWrapper } from '.';\n\nexport const Button: FC<ButtonProps> = (props) => {\n const theme = useTheme();\n\n const iconComponents = useMemo(\n () =>\n (props.icons ?? [])\n ?.filter((icon) => !icon.isHidden)\n ?.map((icon, index) =>\n icon?.type === 'id' ? (\n <Icon\n key={`${icon.type}-${icon.name}-${index}`}\n name={icon?.name as TIconIdNameString}\n type='id'\n size={icon?.size ?? props.size}\n turn={icon.turn}\n order={icon.order}\n />\n ) : icon?.type === 'logo' ? (\n <Icon\n key={`${icon.type}-${icon.name}-${index}`}\n name={icon?.name as TIconLogoNameString}\n type='logo'\n size={icon?.size ?? props.size}\n turn={icon.turn}\n order={icon.order}\n />\n ) : icon?.type === 'bustmarket' ? (\n <Icon\n key={`${icon.type}-${icon.name}-${index}`}\n name={icon?.name as TIconBustMarketNameString}\n type='bustmarket'\n size={icon?.size ?? props.size}\n turn={icon.turn}\n order={icon.order}\n />\n ) : icon?.type === 'checkbox' ? (\n <Icon\n key={`${icon.type}-${icon.name}-${index}`}\n name={icon?.name as TIconCheckboxNameString}\n type='checkbox'\n size={icon?.size ?? props.size}\n turn={icon.turn}\n order={icon.order}\n />\n ) : icon?.type === 'loading' ? (\n <Icon\n key={`${icon.type}-${icon.name}-${index}`}\n name={icon?.name as TIconLoadingNameString}\n type='loading'\n size={icon?.size ?? props.size}\n turn={icon.turn}\n order={icon.order}\n />\n ) : icon?.type === 'realebail' ? (\n <Icon\n key={`${icon.type}-${icon.name}-${index}`}\n name={icon?.name as TIconRealEbailNameString}\n type='realebail'\n size={icon?.size ?? props.size}\n turn={icon.turn}\n order={icon.order}\n />\n ) : null,\n ),\n [props.icons, props.size],\n );\n\n const handleClick: ButtonProps['onClick'] = (event) => {\n if (!props.isDisabled && props.onClick) {\n props.onClick(event);\n }\n };\n const refDefault = useRef<HTMLButtonElement>(null);\n\n const ref = useMergeRefs([refDefault, props.ref]);\n\n return (\n <StyledButton\n $isNotHoverEffect={props.isNotHoverEffect}\n whileTap={props.isWhileTapEffect ? { scale: 0.9, transition: { duration: 0.01 } } : {}}\n id={props.id}\n tabIndex={props.tabIndex ?? 0}\n $isFullSize={props.isFullSize}\n $genre={props.genre}\n $size={props.size}\n $isDisabled={props.isDisabled}\n $isMinWidthAsContent={props.isMinWidthAsContent}\n $isWidthAsHeight={props.isWidthAsHeight}\n $isRadius={props.isRadius}\n $isHidden={props.isHidden}\n $isPlaystationEffect={props.isPlaystationEffect}\n $sxTypography={props.sxTypography}\n $isHiddenBorder={props.isHiddenBorder || props.isPlaystationEffect}\n disabled={props.isDisabled}\n type={props.type ?? 'button'}\n className={props.className}\n onClick={handleClick}\n onFocus={props.onFocus}\n onMouseDown={props.onMouseDown}\n ref={ref as Ref<HTMLButtonElement>}\n $sx={props.sx}\n >\n <Ripple\n color={theme.colors.checkbox[props.genre].color.rest}\n isDisabled={props.isDisabled ?? props.isDisabledRipple}\n isHidden={props.isHidden}\n />\n\n {!props.isOnlyIcon && <div style={{ order: 0, display: 'contents' }}>{props.children && props.children}</div>}\n <StyledButtonIconsWrapper\n $size={props.size}\n $isIconGroup={props.isIconGroup}\n $iconGroupOrder={'iconGroupOrder' in props ? props.iconGroupOrder : undefined}\n >\n {iconComponents}\n </StyledButtonIconsWrapper>\n </StyledButton>\n );\n};\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;;;;;AAYA,MAAM,cAAc;AAAA,IAChB,CAAA,UAA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AAM;AAAA,MACnB;AAAA,MACA,KAAK,MAAM;AAAA,MAEX,UAAA;AAAA,QAAAD,kCAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAO,MAAM,OAAO,SAAS,MAAM,KAAK,EAAE,MAAM;AAAA,YAChD,YAAY,MAAM,cAAc,MAAM;AAAA,YACtC,UAAU,MAAM;AAAA,UAAA;AAAA,QAAA;AAAA,QAGjB,CAAC,MAAM,cAAcA,kCAAAA,IAAC,SAAI,OAAO,EAAE,OAAO,GAAG,SAAS,WAAA,GAAe,UAAA,MAAM,YAAY,MAAM,UAAS;AAAA,QACvGA,kCAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAO,MAAM;AAAA,YACb,cAAc,MAAM;AAAA,YACpB,iBAAiB,oBAAoB,QAAQ,MAAM,iBAAiB;AAAA,YAEnE,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAAA;AAGN;"}
@@ -1,251 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("./context.hooks-BIsapq-0.cjs"),n=require("@tanstack/react-router"),i=require("react"),r=require("styled-components"),o=require("./theme.global-B9t2Fi10.cjs"),s=require("react-dom"),l=require("framer-motion"),c=require("./style-mc2ST5fY.cjs"),a=require("./style-fRZ6xrVp.cjs"),f=require("./component-BV_7tGiu.cjs");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const d=u(i),m=u(s),h=(e,t,n,i)=>r.css`
2
- font-family: ${n||"inherit"};
3
- font-style: normal;
4
- line-height: ${e=>i||e.theme.font.lineHeight};
5
- font-size: ${e}px;
6
- font-weight: ${t};
7
- `,p=r.keyframes`
8
- 0% {
9
- text-shadow: 0 0 0 rgba(0, 0, 0, 0);
10
- }
11
- 50% {
12
- text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
13
- }
14
- 100% {
15
- text-shadow: 0 0 0 rgba(0, 0, 0, 0);
16
- }
17
- `;function g(e){return r.css`
18
- ${e.shadow&&"shadowPulse"===e.shadow&&r.css`
19
- animation: ${p} 2s infinite;
20
- `};
21
- ${e.letterSpacing&&r.css`
22
- letter-spacing: ${e.letterSpacing};
23
- `};
24
- ${e.flex&&r.css`
25
- flex: ${e.flex};
26
- `};
27
- ${e.cursor&&r.css`
28
- cursor: ${e.cursor};
29
- `};
30
- ${e.overflow&&r.css`
31
- overflow: ${e.overflow};
32
- `};
33
- ${void 0!==e.line?1===e.line?r.css`
34
- text-overflow: ellipsis;
35
- overflow: hidden;
36
- white-space: nowrap;
37
- width: -webkit-fill-available;
38
- max-width: fit-content;
39
- `:r.css`
40
- word-break: break-word;
41
- white-space: normal;
42
- text-overflow: ellipsis;
43
- display: -webkit-box;
44
- overflow: hidden;
45
- -webkit-box-orient: vertical;
46
- -webkit-line-clamp: ${e.line};
47
- width: fit-content;
48
- overflow-wrap: anywhere;
49
- `:r.css``};
50
- ${e.family&&r.css`
51
- font-family: ${e.family};
52
- `};
53
- ${e.weight&&r.css`
54
- font-weight: ${e.weight};
55
- `};
56
- ${e.height&&r.css`
57
- line-height: ${e.height}px;
58
- `};
59
- ${e.color&&r.css`
60
- color: ${o.JeneseiPalette[e.color]};
61
- `};
62
- ${e.align&&r.css`
63
- text-align: ${e.align};
64
- `};
65
- ${e.wrap&&r.css`
66
- text-wrap: ${e.wrap};
67
- `};
68
- ${e.decoration&&r.css`
69
- text-decoration: ${e.decoration};
70
- `};
71
- ${e.transform&&r.css`
72
- text-transform: ${e.transform};
73
- `};
74
- ${e.isHoverUnderlining&&r.css`
75
- &:hover {
76
- text-decoration: underline;
77
- }
78
- `};
79
- ${e.isNoUserSelect&&r.css`
80
- user-select: none;
81
- -webkit-user-select: none;
82
- -moz-user-select: none;
83
- -ms-user-select: none;
84
- `};
85
- ${"size"in e&&e.size&&r.css`
86
- font-size: ${e.size}px;
87
- `};
88
- ${"variant"in e&&e.variant?"h1"===e.variant?r.css`
89
- font-size: ${e=>e.theme.font.sizeHeading.h1*e.theme.font.sizeDefault.default}px;
90
- line-height: ${e=>e.theme.font.lineHeight};
91
- margin: 0;
92
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
93
- font-size: ${e=>e.theme.font.sizeHeading.h1*e.theme.font.sizeDefault.tablet}px;
94
- }
95
-
96
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
97
- font-size: ${e=>e.theme.font.sizeHeading.h1*e.theme.font.sizeDefault.mobile}px;
98
- }
99
- `:"h2"===e.variant?r.css`
100
- font-size: ${e=>e.theme.font.sizeHeading.h2*e.theme.font.sizeDefault.default}px;
101
- line-height: ${e=>e.theme.font.lineHeight};
102
- margin: 0;
103
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
104
- font-size: ${e=>e.theme.font.sizeHeading.h2*e.theme.font.sizeDefault.tablet}px;
105
- }
106
-
107
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
108
- font-size: ${e=>e.theme.font.sizeHeading.h2*e.theme.font.sizeDefault.mobile}px;
109
- }
110
- `:"h3"===e.variant?r.css`
111
- font-size: ${e=>e.theme.font.sizeHeading.h3*e.theme.font.sizeDefault.default}px;
112
- line-height: ${e=>e.theme.font.lineHeight};
113
- margin: 0;
114
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
115
- font-size: ${e=>e.theme.font.sizeHeading.h3*e.theme.font.sizeDefault.tablet}px;
116
- }
117
-
118
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
119
- font-size: ${e=>e.theme.font.sizeHeading.h3*e.theme.font.sizeDefault.mobile}px;
120
- }
121
- `:"h4"===e.variant?r.css`
122
- font-size: ${e=>e.theme.font.sizeHeading.h4*e.theme.font.sizeDefault.default}px;
123
- line-height: ${e=>e.theme.font.lineHeight};
124
- margin: 0;
125
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
126
- font-size: ${e=>e.theme.font.sizeHeading.h4*e.theme.font.sizeDefault.tablet}px;
127
- }
128
-
129
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
130
- font-size: ${e=>e.theme.font.sizeHeading.h4*e.theme.font.sizeDefault.mobile}px;
131
- }
132
- `:"h5"===e.variant?r.css`
133
- font-size: ${e=>e.theme.font.sizeHeading.h5*e.theme.font.sizeDefault.default}px;
134
- line-height: ${e=>e.theme.font.lineHeight};
135
- margin: 0;
136
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
137
- font-size: ${e=>e.theme.font.sizeHeading.h5*e.theme.font.sizeDefault.tablet}px;
138
- }
139
-
140
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
141
- font-size: ${e=>e.theme.font.sizeHeading.h5*e.theme.font.sizeDefault.mobile}px;
142
- }
143
- `:"h6"===e.variant?r.css`
144
- font-size: ${e=>e.theme.font.sizeHeading.h6*e.theme.font.sizeDefault.default}px;
145
- line-height: ${e=>e.theme.font.lineHeight};
146
- margin: 0;
147
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
148
- font-size: ${e=>e.theme.font.sizeHeading.h6*e.theme.font.sizeDefault.tablet}px;
149
- }
150
-
151
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
152
- font-size: ${e=>e.theme.font.sizeHeading.h6*e.theme.font.sizeDefault.mobile}px;
153
- }
154
- `:"h7"===e.variant?r.css`
155
- font-size: ${e=>e.theme.font.sizeHeading.h7*e.theme.font.sizeDefault.default}px;
156
- line-height: ${e=>e.theme.font.lineHeight};
157
- margin: 0;
158
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
159
- font-size: ${e=>e.theme.font.sizeHeading.h7*e.theme.font.sizeDefault.tablet}px;
160
- }
161
-
162
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
163
- font-size: ${e=>e.theme.font.sizeHeading.h7*e.theme.font.sizeDefault.mobile}px;
164
- }
165
- `:"h8"===e.variant?r.css`
166
- font-size: ${e=>e.theme.font.sizeHeading.h8*e.theme.font.sizeDefault.default}px;
167
- line-height: ${e=>e.theme.font.lineHeight};
168
- margin: 0;
169
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
170
- font-size: ${e=>e.theme.font.sizeHeading.h8*e.theme.font.sizeDefault.tablet}px;
171
- }
172
-
173
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
174
- font-size: ${e=>e.theme.font.sizeHeading.h8*e.theme.font.sizeDefault.mobile}px;
175
- }
176
- `:"h9"===e.variant?r.css`
177
- font-size: ${e=>e.theme.font.sizeHeading.h9*e.theme.font.sizeDefault.default}px;
178
- line-height: ${e=>e.theme.font.lineHeight};
179
- margin: 0;
180
- @media (max-width: ${e=>e.theme.screens.tablet.width}px) {
181
- font-size: ${e=>e.theme.font.sizeHeading.h9*e.theme.font.sizeDefault.tablet}px;
182
- }
183
-
184
- @media (max-width: ${e=>e.theme.screens.mobile.width}px) {
185
- font-size: ${e=>e.theme.font.sizeHeading.h9*e.theme.font.sizeDefault.mobile}px;
186
- }
187
- `:null:null};
188
- `}const x=r.css`
189
- ${e=>{const t=e.$sxTypography;return t?g(t.default):null}}
190
-
191
- ${e=>{const t=e.$sxTypography;return t?Object.entries(t).filter(([e])=>"default"!==e).map(([t,n])=>{var i;const o=null==(i=e.theme.screens[t])?void 0:i.width;return o?r.css`
192
- @media (max-width: ${o}px) {
193
- ${g(n)}
194
- }
195
- `:null}):null}}
196
- `,y=r.css`
197
- font-style: normal;
198
- position: relative;
199
- overflow: visible;
200
- text-overflow: ellipsis;
201
- overflow-wrap: anywhere;
202
- line-height: ${e=>e.theme.font.lineHeight};
203
- ${x};
204
- ${a.addSX}
205
- `,w=r.span`
206
- ${y}
207
- ${c.addOutline}
208
- `;function v(){return"undefined"!=typeof window}function b(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function $(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function E(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!v()&&(e instanceof Node||e instanceof $(e).Node)}function R(e){return!!v()&&(e instanceof Element||e instanceof $(e).Element)}function T(e){return!!v()&&(e instanceof HTMLElement||e instanceof $(e).HTMLElement)}function D(e){return!(!v()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof $(e).ShadowRoot)}function L(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=A(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function C(e){return["table","td","th"].includes(b(e))}function H(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function S(e){const t=k(),n=R(e)?A(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function k(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function O(e){return["html","body","#document"].includes(b(e))}function A(e){return $(e).getComputedStyle(e)}function j(e){return R(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function M(e){if("html"===b(e))return e;const t=e.assignedSlot||e.parentNode||D(e)&&e.host||E(e);return D(t)?t.host:t}function P(e){const t=M(e);return O(t)?e.ownerDocument?e.ownerDocument.body:e.body:T(t)&&L(t)?t:P(t)}function F(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=P(e),o=r===(null==(i=e.ownerDocument)?void 0:i.body),s=$(r);if(o){const e=W(s);return t.concat(s,s.visualViewport||[],L(r)?r:[],e&&n?F(e):[])}return t.concat(r,F(r,[],n))}function W(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const B=Math.min,N=Math.max,I=Math.round,_=Math.floor,q=e=>({x:e,y:e}),V={left:"right",right:"left",bottom:"top",top:"bottom"},U={start:"end",end:"start"};function X(e,t,n){return N(e,B(t,n))}function Y(e,t){return"function"==typeof e?e(t):e}function K(e){return e.split("-")[0]}function Z(e){return e.split("-")[1]}function J(e){return"x"===e?"y":"x"}function G(e){return"y"===e?"height":"width"}function Q(e){return["top","bottom"].includes(K(e))?"y":"x"}function ee(e){return J(Q(e))}function te(e){return e.replace(/start|end/g,e=>U[e])}function ne(e){return e.replace(/left|right|bottom|top/g,e=>V[e])}function ie(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}var re="undefined"!=typeof document?i.useLayoutEffect:function(){};const oe={...d}.useInsertionEffect||(e=>e());function se(e,t,n){let{reference:i,floating:r}=e;const o=Q(t),s=ee(t),l=G(s),c=K(t),a="y"===o,f=i.x+i.width/2-r.width/2,u=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:i.y-r.height};break;case"bottom":m={x:f,y:i.y+i.height};break;case"right":m={x:i.x+i.width,y:u};break;case"left":m={x:i.x-r.width,y:u};break;default:m={x:i.x,y:i.y}}switch(Z(t)){case"start":m[s]-=d*(n&&a?-1:1);break;case"end":m[s]+=d*(n&&a?-1:1)}return m}async function le(e,t){var n;void 0===t&&(t={});const{x:i,y:r,platform:o,rects:s,elements:l,strategy:c}=e,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:m=0}=Y(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(m),p=l[d?"floating"===u?"reference":"floating":u],g=ie(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),x="floating"===u?{x:i,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),w=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},v=ie(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:y,strategy:c}):x);return{top:(g.top-v.top+h.top)/w.y,bottom:(v.bottom-g.bottom+h.bottom)/w.y,left:(g.left-v.left+h.left)/w.x,right:(v.right-g.right+h.right)/w.x}}function ce(e){const t=A(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=T(e),o=r?e.offsetWidth:n,s=r?e.offsetHeight:i,l=I(n)!==o||I(i)!==s;return l&&(n=o,i=s),{width:n,height:i,$:l}}function ae(e){return R(e)?e:e.contextElement}function fe(e){const t=ae(e);if(!T(t))return q(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=ce(t);let s=(o?I(n.width):n.width)/i,l=(o?I(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const ue=q(0);function de(e){const t=$(e);return k()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ue}function me(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),o=ae(e);let s=q(1);t&&(i?R(i)&&(s=fe(i)):s=fe(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==$(e))&&t}(o,n,i)?de(o):q(0);let c=(r.left+l.x)/s.x,a=(r.top+l.y)/s.y,f=r.width/s.x,u=r.height/s.y;if(o){const e=$(o),t=i&&R(i)?$(i):i;let n=e,r=W(n);for(;r&&i&&t!==n;){const e=fe(r),t=r.getBoundingClientRect(),i=A(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,a*=e.y,f*=e.x,u*=e.y,c+=o,a+=s,n=$(r),r=W(n)}}return ie({width:f,height:u,x:c,y:a})}function he(e,t){const n=j(e).scrollLeft;return t?t.left+n:me(E(e)).left+n}function pe(e,t,n){void 0===n&&(n=!1);const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-(n?0:he(e,i)),y:i.top+t.scrollTop}}function ge(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=$(e),i=E(e),r=n.visualViewport;let o=i.clientWidth,s=i.clientHeight,l=0,c=0;if(r){o=r.width,s=r.height;const e=k();(!e||e&&"fixed"===t)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:o,height:s,x:l,y:c}}(e,n);else if("document"===t)i=function(e){const t=E(e),n=j(e),i=e.ownerDocument.body,r=N(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=N(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+he(e);const l=-n.scrollTop;return"rtl"===A(i).direction&&(s+=N(t.clientWidth,i.clientWidth)-r),{width:r,height:o,x:s,y:l}}(E(e));else if(R(t))i=function(e,t){const n=me(e,!0,"fixed"===t),i=n.top+e.clientTop,r=n.left+e.clientLeft,o=T(e)?fe(e):q(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:r*o.x,y:i*o.y}}(t,n);else{const n=de(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ie(i)}function xe(e,t){const n=M(e);return!(n===t||!R(n)||O(n))&&("fixed"===A(n).position||xe(n,t))}function ye(e,t,n){const i=T(t),r=E(t),o="fixed"===n,s=me(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=q(0);function a(){c.x=he(r)}if(i||!i&&!o)if(("body"!==b(t)||L(r))&&(l=j(t)),i){const e=me(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else r&&a();o&&!i&&r&&a();const f=!r||i||o?q(0):pe(r,l);return{x:s.left+l.scrollLeft-c.x-f.x,y:s.top+l.scrollTop-c.y-f.y,width:s.width,height:s.height}}function we(e){return"static"===A(e).position}function ve(e,t){if(!T(e)||"fixed"===A(e).position)return null;if(t)return t(e);let n=e.offsetParent;return E(e)===n&&(n=n.ownerDocument.body),n}function be(e,t){const n=$(e);if(H(e))return n;if(!T(e)){let t=M(e);for(;t&&!O(t);){if(R(t)&&!we(t))return t;t=M(t)}return n}let i=ve(e,t);for(;i&&C(i)&&we(i);)i=ve(i,t);return i&&O(i)&&we(i)&&!S(i)?n:i||function(e){let t=M(e);for(;T(t)&&!O(t);){if(S(t))return t;if(H(t))return null;t=M(t)}return null}(e)||n}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const o="fixed"===r,s=E(i),l=!!t&&H(t.floating);if(i===s||l&&o)return n;let c={scrollLeft:0,scrollTop:0},a=q(1);const f=q(0),u=T(i);if((u||!u&&!o)&&(("body"!==b(i)||L(s))&&(c=j(i)),T(i))){const e=me(i);a=fe(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}const d=!s||u||o?q(0):pe(s,c,!0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+d.x,y:n.y*a.y-c.scrollTop*a.y+f.y+d.y}},getDocumentElement:E,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const o=[..."clippingAncestors"===n?H(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let i=F(e,[],!1).filter(e=>R(e)&&"body"!==b(e)),r=null;const o="fixed"===A(e).position;let s=o?M(e):e;for(;R(s)&&!O(s);){const t=A(s),n=S(s);n||"fixed"!==t.position||(r=null),(o?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||L(s)&&!n&&xe(e,s))?i=i.filter(e=>e!==s):r=t,s=M(s)}return t.set(e,i),i}(t,this._c):[].concat(n),i],s=o[0],l=o.reduce((e,n)=>{const i=ge(t,n,r);return e.top=N(i.top,e.top),e.right=B(i.right,e.right),e.bottom=B(i.bottom,e.bottom),e.left=N(i.left,e.left),e},ge(t,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:be,getElementRects:async function(e){const t=this.getOffsetParent||be,n=this.getDimensions,i=await n(e.floating);return{reference:ye(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=ce(e);return{width:t,height:n}},getScale:fe,isElement:R,isRTL:function(e){return"rtl"===A(e).direction}};function Ee(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ze(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,a=ae(e),f=r||o?[...a?F(a):[],...F(t)]:[];f.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const u=a&&l?function(e,t){let n,i=null;const r=E(e);function o(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function s(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),o();const a=e.getBoundingClientRect(),{left:f,top:u,width:d,height:m}=a;if(l||t(),!d||!m)return;const h={rootMargin:-_(u)+"px "+-_(r.clientWidth-(f+d))+"px "+-_(r.clientHeight-(u+m))+"px "+-_(f)+"px",threshold:N(0,B(1,c))||1};let p=!0;function g(t){const i=t[0].intersectionRatio;if(i!==c){if(!p)return s();i?s(!1,i):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==i||Ee(a,e.getBoundingClientRect())||s(),p=!1}try{i=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(x){i=new IntersectionObserver(g,h)}i.observe(e)}(!0),o}(a,n):null;let d,m=-1,h=null;s&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===a&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),a&&!c&&h.observe(a),h.observe(t));let p=c?me(e):null;return c&&function t(){const i=me(e);p&&!Ee(p,i)&&n();p=i,d=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{r&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==u||u(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(d)}}const Re=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:o,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:i,elements:r}=e,o=await(null==i.isRTL?void 0:i.isRTL(r.floating)),s=K(n),l=Z(n),c="y"===Q(n),a=["left","top"].includes(s)?-1:1,f=o&&c?-1:1,u=Y(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&"number"==typeof h&&(m="end"===l?-1*h:h),c?{x:m*f,y:d*a}:{x:d*a,y:m*f}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(i=l.arrow)&&i.alignmentOffset?{}:{x:r+c.x,y:o+c.y,data:{...c,placement:s}}}}},Te=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Y(e,t),a={x:n,y:i},f=await le(t,c),u=Q(K(r)),d=J(u);let m=a[d],h=a[u];if(o){const e="y"===d?"bottom":"right";m=X(m+f["y"===d?"top":"left"],m,m-f[e])}if(s){const e="y"===u?"bottom":"right";h=X(h+f["y"===u?"top":"left"],h,h-f[e])}const p=l.fn({...t,[d]:m,[u]:h});return{...p,data:{x:p.x-n,y:p.y-i,enabled:{[d]:o,[u]:s}}}}}},De=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:o,rects:s,initialPlacement:l,platform:c,elements:a}=t,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...g}=Y(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const x=K(r),y=Q(l),w=K(l)===l,v=await(null==c.isRTL?void 0:c.isRTL(a.floating)),b=d||(w||!p?[ne(l)]:function(e){const t=ne(e);return[te(e),t,te(t)]}(l)),$="none"!==h;!d&&$&&b.push(...function(e,t,n,i){const r=Z(e);let o=function(e,t,n){const i=["left","right"],r=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:i:t?i:r;case"left":case"right":return t?o:s;default:return[]}}(K(e),"start"===n,i);return r&&(o=o.map(e=>e+"-"+r),t&&(o=o.concat(o.map(te)))),o}(l,p,h,v));const E=[l,...b],z=await le(t,g),R=[];let T=(null==(i=o.flip)?void 0:i.overflows)||[];if(f&&R.push(z[x]),u){const e=function(e,t,n){void 0===n&&(n=!1);const i=Z(e),r=ee(e),o=G(r);let s="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=ne(s)),[s,ne(s)]}(r,s,v);R.push(z[e[0]],z[e[1]])}if(T=[...T,{placement:r,overflows:R}],!R.every(e=>e<=0)){var D,L;const e=((null==(D=o.flip)?void 0:D.index)||0)+1,t=E[e];if(t){if(!("alignment"===u&&y!==Q(t))||T.every(e=>e.overflows[0]>0&&Q(e.placement)===y))return{data:{index:e,overflows:T},reset:{placement:t}}}let n=null==(L=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:L.placement;if(!n)switch(m){case"bestFit":{var C;const e=null==(C=T.filter(e=>{if($){const t=Q(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=l}if(r!==n)return{reset:{placement:n}}}return{}}}},Le=(e,t,n)=>{const i=new Map,r={platform:$e,...n},o={...r.platform,_c:i};return(async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:s}=n,l=o.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:u}=se(a,i,c),d=i,m={},h=0;for(let p=0;p<l.length;p++){const{name:n,fn:o}=l[p],{x:g,y:x,data:y,reset:w}=await o({x:f,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:m,rects:a,platform:s,elements:{reference:e,floating:t}});f=null!=g?g:f,u=null!=x?x:u,m={...m,[n]:{...m[n],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(a=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):w.rects),({x:f,y:u}=se(a,d,c))),p=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(e,t,{...r,platform:o})};var Ce="undefined"!=typeof document?i.useLayoutEffect:function(){};function He(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,i,r;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(!He(e[i],t[i]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(i=n;0!==i--;)if(!{}.hasOwnProperty.call(t,r[i]))return!1;for(i=n;0!==i--;){const n=r[i];if(("_owner"!==n||!e.$$typeof)&&!He(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Se(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ke(e,t){const n=Se(e);return Math.round(t*n)/n}function Oe(e){const t=d.useRef(e);return Ce(()=>{t.current=e}),t}const Ae=(e,t)=>({...Te(e),options:[e,t]}),je=(e,t)=>({...De(e),options:[e,t]});const Me={...d};let Pe=!1,Fe=0;const We=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Fe++;const Be=Me.useId||function(){const[e,t]=d.useState(()=>Pe?We():void 0);return re(()=>{null==e&&t(We())},[]),d.useEffect(()=>{Pe=!0},[]),e};let Ne;"production"!==process.env.NODE_ENV&&(Ne=new Set);const Ie=d.createContext(null),_e=d.createContext(null);function qe(e){const{open:t=!1,onOpenChange:n,elements:i}=e,r=Be(),o=d.useRef({}),[s]=d.useState(()=>function(){const e=new Map;return{emit(t,n){var i;null==(i=e.get(t))||i.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var i;null==(i=e.get(t))||i.delete(n)}}}()),l=null!=((null==(c=d.useContext(Ie))?void 0:c.id)||null);var c;if("production"!==process.env.NODE_ENV){const e=i.reference;e&&!R(e)&&function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const r="Floating UI: "+n.join(" ");var o;null!=(e=Ne)&&e.has(r)||(null==(o=Ne)||o.add(r),console.error(r))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,f]=d.useState(i.reference),u=function(e){const t=d.useRef(()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")});return oe(()=>{t.current=e}),d.useCallback(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return null==t.current?void 0:t.current(...n)},[])}((e,t,i)=>{o.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:i,nested:l}),null==n||n(e,t,i)}),m=d.useMemo(()=>({setPositionReference:f}),[]),h=d.useMemo(()=>({reference:a||i.reference||null,floating:i.floating||null,domReference:i.reference}),[a,i.reference,i.floating]);return d.useMemo(()=>({dataRef:o,open:t,onOpenChange:u,elements:h,events:s,floatingId:r,refs:m}),[t,u,h,s,r,m])}function Ve(e){void 0===e&&(e={});const{nodeId:t}=e,n=qe({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,r=i.elements,[o,s]=d.useState(null),[l,c]=d.useState(null),a=(null==r?void 0:r.domReference)||o,f=d.useRef(null),u=d.useContext(_e);re(()=>{a&&(f.current=a)},[a]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:o,floating:s}={},transform:l=!0,whileElementsMounted:c,open:a}=e,[f,u]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=d.useState(i);He(h,i)||p(i);const[g,x]=d.useState(null),[y,w]=d.useState(null),v=d.useCallback(e=>{e!==z.current&&(z.current=e,x(e))},[]),b=d.useCallback(e=>{e!==R.current&&(R.current=e,w(e))},[]),$=o||g,E=s||y,z=d.useRef(null),R=d.useRef(null),T=d.useRef(f),D=null!=c,L=Oe(c),C=Oe(r),H=Oe(a),S=d.useCallback(()=>{if(!z.current||!R.current)return;const e={placement:t,strategy:n,middleware:h};C.current&&(e.platform=C.current),Le(z.current,R.current,e).then(e=>{const t={...e,isPositioned:!1!==H.current};k.current&&!He(T.current,t)&&(T.current=t,m.flushSync(()=>{u(t)}))})},[h,t,n,C,H]);Ce(()=>{!1===a&&T.current.isPositioned&&(T.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[a]);const k=d.useRef(!1);Ce(()=>(k.current=!0,()=>{k.current=!1}),[]),Ce(()=>{if($&&(z.current=$),E&&(R.current=E),$&&E){if(L.current)return L.current($,E,S);S()}},[$,E,S,L,D]);const O=d.useMemo(()=>({reference:z,floating:R,setReference:v,setFloating:b}),[v,b]),A=d.useMemo(()=>({reference:$,floating:E}),[$,E]),j=d.useMemo(()=>{const e={position:n,left:0,top:0};if(!A.floating)return e;const t=ke(A.floating,f.x),i=ke(A.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+i+"px)",...Se(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:i}},[n,l,A.floating,f.x,f.y]);return d.useMemo(()=>({...f,update:S,refs:O,elements:A,floatingStyles:j}),[f,S,O,A,j])}({...e,elements:{...r,...l&&{reference:l}}}),p=d.useCallback(e=>{const t=R(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;c(t),h.refs.setReference(t)},[h.refs]),g=d.useCallback(e=>{(R(e)||null===e)&&(f.current=e,s(e)),(R(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!R(e))&&h.refs.setReference(e)},[h.refs]),x=d.useMemo(()=>({...h.refs,setReference:g,setPositionReference:p,domReference:f}),[h.refs,g,p]),y=d.useMemo(()=>({...h.elements,domReference:a}),[h.elements,a]),w=d.useMemo(()=>({...h,...i,refs:x,elements:y,nodeId:t}),[h,x,y,t,i]);return re(()=>{i.dataRef.current.floatingContext=w;const e=null==u?void 0:u.nodesRef.current.find(e=>e.id===t);e&&(e.context=w)}),d.useMemo(()=>({...h,context:w,refs:x,elements:y}),[h,x,y,w])}const Ue=t=>s.createPortal(e.jsxRuntimeExports.jsx(l.AnimatePresence,{children:t.isOpen&&e.jsxRuntimeExports.jsx("div",{tabIndex:-1,ref:t.ref,style:{position:"absolute",top:0,left:0,...t.floatingStyles,transform:t.floatingStyles.transform,zIndex:9999},children:e.jsxRuntimeExports.jsx(Je,{tabIndex:-1,$isShowAlwaysOutline:t.isShowAlwaysOutline,$genre:t.genre??"black",className:t.className,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},$sx:t.sx,$size:t.size,$sxTypography:t.sxTypography,$maxHeight:t.maxHeight,$maxWidth:t.maxWidth,children:t.children})})}),document.body),Xe=e=>{const{onFocus:t,onBlur:n,onBlurReference:r}=e,[o,s]=i.useState(!1),[l,c]=i.useState(void 0),[a,f]=i.useState(!1),{refs:u,floatingStyles:d,update:m,placement:h}=Ve({open:o,placement:e.placement,middleware:[(p=e.offset??8,{...Re(p),options:[p,g]}),je(),Ae()],whileElementsMounted:ze});var p,g;const x=i.useRef(null),y=i.useRef(null),w=i.useMemo(()=>e.hoverOffset??e.offset??Ge,[e.hoverOffset,e.offset]),v=i.useMemo(()=>e.hoverCloseDelay??Qe,[e.hoverCloseDelay]);i.useEffect(()=>{if(e.isDisabled)return;const t=u.reference.current;if(t){if(("click"===e.mode||"clickOpen"===e.mode)&&t instanceof HTMLElement){const n=()=>{"click"===e.mode?s(e=>!e):"clickOpen"===e.mode&&s(!0)};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}if("hover"===e.mode&&t instanceof HTMLElement){const e=()=>{s(!0)},n=()=>{y.current&&clearTimeout(y.current),y.current=setTimeout(()=>s(!1),v)};return t.addEventListener("mouseenter",e),t.addEventListener("mouseleave",n),()=>{t.removeEventListener("mouseenter",e),t.removeEventListener("mouseleave",n),y.current&&clearTimeout(y.current)}}}},[e.mode,u.reference,v,e.isDisabled]),i.useEffect(()=>{if(!o||!u.reference.current||!u.floating.current||e.isDisabled)return;const t=ze(u.reference.current,u.floating.current,m);return()=>t()},[o,u.reference,u.floating,m,e.isDisabled]),i.useEffect(()=>{if(o&&u.reference.current&&u.floating.current&&!e.isDisabled)return e.isClickOutside&&(x.current=t=>{const n=u.reference.current,i=u.floating.current,r=e.refsExcludeClickOutside||[];n instanceof HTMLElement&&i instanceof HTMLElement&&!n.contains(t.target)&&!i.contains(t.target)&&!r.some(e=>{var n;return"object"==typeof e&&null!==e&&"current"in e&&(null==(n=e.current)?void 0:n.contains(t.target))})&&s(!1)},document.addEventListener("mousedown",x.current)),()=>{x.current&&(document.removeEventListener("mousedown",x.current),x.current=null),y.current&&clearTimeout(y.current)}},[o,u.reference,u.floating,e.isClickOutside,e.isDisabled,e.refsExcludeClickOutside]),i.useEffect(()=>{if(!o||!e.isFloatingHover||!u.reference.current||!u.floating.current||e.isDisabled)return;const t=u.reference.current,n=u.floating.current,i=e=>{const i=e.clientX,r=e.clientY,o=t.getBoundingClientRect(),l=n.getBoundingClientRect(),c=i>=o.left-w&&i<=o.right+w&&r>=o.top-w&&r<=o.bottom+w,a=i>=l.left-w&&i<=l.right+w&&r>=l.top-w&&r<=l.bottom+w;c||a?y.current&&(clearTimeout(y.current),y.current=null):(y.current&&clearTimeout(y.current),y.current=setTimeout(()=>s(!1),v))};return document.addEventListener("mousemove",i),()=>{document.removeEventListener("mousemove",i),y.current&&clearTimeout(y.current)}},[o,e.isFloatingHover,u.reference,u.floating,w,v,e.isDisabled]),i.useLayoutEffect(()=>{if(!e.isWidthAsContent||!u.reference.current)return;const t=u.reference.current.getBoundingClientRect();c(t.width)},[e.isWidthAsContent,u.reference]);const b=i.useCallback(()=>{e.isDisabled||s(!0)},[e.isDisabled]),$=i.useCallback(()=>{e.isDisabled||s(!1)},[e.isDisabled]),E=i.useCallback(()=>{e.isDisabled||s(e=>!e)},[e.isDisabled]),z=i.useMemo(()=>({...d,minWidth:e.isWidthAsContent&&l?`${l}px`:void 0,maxWidth:e.isWidthAsContent&&l?`${l}px`:void 0}),[d,e.isWidthAsContent,l]);i.useEffect(()=>{o&&(null==t||t(),f(!0))},[o,t]),i.useEffect(()=>{!o&&a&&(null==n||n())},[o,a,n]),i.useEffect(()=>{if(!o||e.isDisabled)return;const t=t=>{const n=u.reference.current,i=u.floating.current,r=e.refsExcludeClickOutside||[];n instanceof HTMLElement&&n.contains(t.target)||i instanceof HTMLElement&&i.contains(t.target)||r.some(e=>!!(e&&"current"in e&&e.current&&e.current instanceof HTMLElement)&&e.current.contains(t.target))||s(!1)};return document.addEventListener("focusin",t),()=>{document.removeEventListener("focusin",t)}},[o,u.reference,u.floating,e.refsExcludeClickOutside,e.isDisabled]),i.useEffect(()=>{if(!u.reference.current||e.isDisabled||!r)return;const t=u.reference.current,n=e.refsExcludeBlur||[],i=e=>{t instanceof HTMLElement&&!t.contains(e.relatedTarget)&&!n.some(t=>{if(t&&"current"in t&&t.current&&t.current instanceof HTMLElement)return t.current.contains(e.relatedTarget)})&&r()};return t instanceof HTMLElement&&t.addEventListener("blur",i,!0),()=>{t instanceof HTMLElement&&t.removeEventListener("blur",i,!0)}},[u.reference,e.isDisabled,r,e.refsExcludeBlur]);return{getIsInside:i.useCallback(t=>{if(!t)return!1;const n=u.reference.current,i=u.floating.current,r=e.refsExcludeBlur||[];return n instanceof HTMLElement&&n.contains(t)||i instanceof HTMLElement&&i.contains(t)||r.some(e=>!!(e&&"current"in e&&e.current&&e.current instanceof HTMLElement)&&e.current.contains(t))},[u.reference,u.floating,e.refsExcludeBlur]),isOpen:o,setIsOpen:s,open:b,close:$,toggle:E,refReference:u.setReference,refFloating:u.setFloating,floatingStyles:z,placement:h}},Ye=r.css`
209
- ${e=>r.css`
210
- background: ${e.theme.colors.button[e.$genre].background.rest};
211
- border-color: ${e.theme.colors.button[e.$genre].border.rest};
212
- color: ${e.theme.colors.button[e.$genre].color.rest};
213
- /* box-shadow: ${e.theme.effects.button}; */
214
- `};
215
- `,Ke=r.css`
216
- ${e=>Ze({...o.KEY_SIZE_DATA[e.$size??"medium"]})};
217
- `,Ze=e=>r.css`
218
- display: flex;
219
- border-radius: ${e.radius}px;
220
- padding: ${e.padding}px;
221
- gap: ${e.padding-2}px;
222
- ${t=>h(e.font,500,t.theme.font.family)};
223
- `,Je=r(l.motion.div)`
224
- max-width: ${e=>e.$maxWidth||"100%"};
225
- max-height: ${e=>e.$maxHeight||"100%"};
226
- overflow: auto;
227
- flex-direction: column;
228
- ${Ke};
229
- ${c.addAlwaysOutline};
230
- ${x};
231
- ${Ye};
232
- ${a.addSX};
233
- `,Ge=8,Qe=100,et=r(f.Stack)`
234
- display: flex;
235
- width: fit-content;
236
- height: fit-content;
237
- `,tt=r.css`
238
- ${e=>nt({...o.KEY_SIZE_DATA[e.size??"medium"]})};
239
- `,nt=e=>r.css`
240
- gap: 0px;
241
- padding: ${e.padding}px ${e.padding}px 0px ${e.padding}px;
242
- :after {
243
- content: '';
244
- display: block;
245
- height: ${e.padding}px;
246
- width: 100%;
247
- }
248
- `,it=r(Ue)`
249
- ${tt};
250
- `,rt=i.memo(t=>t.isDisabled?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.children}):e.jsxRuntimeExports.jsx(ot,{...t})),ot=t=>{const{isOpen:n,refReference:i,refFloating:r,floatingStyles:o}=Xe({placement:t.placement??st,offset:t.offset??lt,mode:t.mode??"hover",isClickOutside:t.isClickOutside??!0,isFloatingHover:t.isFloatingHover??!0,isWidthAsContent:t.isWidthAsContent??!1,hoverCloseDelay:t.hoverCloseDelay??void 0,hoverOffset:t.hoverOffset??void 0});return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(et,{sx:t.sx,ref:i,children:t.children}),e.jsxRuntimeExports.jsx(it,{size:t.size,isOpen:n,genre:t.genre,floatingStyles:o,ref:r,maxHeight:t.maxHeight,maxWidth:t.maxWidth,children:e.jsxRuntimeExports.jsx(at,{sx:t.sxTypography??{default:{size:14}},children:t.content})})]})};rt.displayName="Tooltip";const st="bottom-start",lt=8,ct=n=>{const{screenActual:r}=t.useScreenWidth(),o=i.useMemo(()=>({$sxTypography:n.sx,style:n.style,className:n.className,$sx:n.sxStandard,onClick:n.onClick?n.onClick:()=>{}}),[n.sx,n.style,n.className,n.sxStandard,n.onClick]),s=i.useMemo(()=>{var e,t;return(null==(e=n.sx)?void 0:e[r])??(null==(t=n.sx)?void 0:t.default)},[n.sx,r]);return s&&"variant"in s?"h7"===s.variant||"h8"===s.variant||"h9"===s.variant?e.jsxRuntimeExports.jsx(w,{ref:n.ref,as:n.isAnchor?"a":n.isParagraph?"p":(n.isSpan,"span"),href:n.href,...o,children:n.children}):e.jsxRuntimeExports.jsx(w,{ref:n.ref,as:n.isAnchor?"a":n.isParagraph?"p":n.isSpan?"span":s.variant,href:n.href,...o,children:n.children}):e.jsxRuntimeExports.jsx(w,{ref:n.ref,as:n.isAnchor?"a":n.isParagraph?"p":(n.isSpan,"span"),href:n.href,...o,children:n.children})},at=t=>e.jsxRuntimeExports.jsx(ct,{...t}),ft=t=>e.jsxRuntimeExports.jsx(ct,{isAnchor:!0,...t,ref:t.ref,href:t.href}),ut=n.createLink(ft),dt=i.memo(t=>{const[n,r]=i.useState(!1),o=i.useRef(null);return i.useEffect(()=>{const e=()=>{o.current&&r(o.current.scrollWidth>o.current.clientWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[t.children]),e.jsxRuntimeExports.jsx(rt,{isDisabled:!n,content:t.children,...t.tooltip,children:e.jsxRuntimeExports.jsx(ct,{ref:o,...t.typography,style:{position:"relative"},children:t.children})})});dt.displayName="TypographyTooltip",ct.displayName="TypographyWithRef",ft.displayName="TypographySizeIsAnchor",exports.DEFAULT_TOOLTIP_OFFSET_FALLBACK=lt,exports.DEFAULT_TOOLTIP_PLACEMENT_FALLBACK=st,exports.Popover=Ue,exports.Title=w,exports.Tooltip=rt,exports.TooltipBox=it,exports.TooltipContainer=et,exports.TooltipContent=ot,exports.Typography=at,exports.TypographyLink=ut,exports.TypographyTooltip=dt,exports.addSXTypography=x,exports.addTooltipBoxSize=tt,exports.addTooltipBoxSizeConstructor=nt,exports.getFontSizeStyles=h,exports.useMergeRefs=function(e){const t=d.useRef(void 0),n=d.useCallback(t=>{const n=e.map(e=>{if(null!=e){if("function"==typeof e){const n=e,i=n(t);return"function"==typeof i?i:()=>{n(null)}}return e.current=t,()=>{e.current=null}}});return()=>{n.forEach(e=>null==e?void 0:e())}},e);return d.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)},exports.usePopover=Xe;
251
- //# sourceMappingURL=component-CACoGUK9.cjs.map