@anoki/fse-ui 2.2.0-3-SNAPSHOT → 2.2.0-3-SNAPSHOT3

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 (850) hide show
  1. package/dist/components/ui/TableOfContents/TableOfContents.css +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs101.js.map +1 -1
  4. package/dist/index.cjs18.js +1 -1
  5. package/dist/index.cjs18.js.map +1 -1
  6. package/dist/index.cjs237.js +1 -1
  7. package/dist/index.cjs248.js +1 -1
  8. package/dist/index.cjs250.js +1 -1
  9. package/dist/index.cjs251.js +1 -1
  10. package/dist/index.cjs262.js +1 -1
  11. package/dist/index.cjs267.js +1 -1
  12. package/dist/index.cjs272.js +1 -1
  13. package/dist/index.cjs297.js +1 -1
  14. package/dist/index.cjs311.js +1 -1
  15. package/dist/index.cjs312.js +1 -1
  16. package/dist/index.cjs325.js +1 -1
  17. package/dist/index.cjs331.js +1 -1
  18. package/dist/index.cjs341.js +1 -1
  19. package/dist/index.cjs344.js +1 -1
  20. package/dist/index.cjs353.js +1 -1
  21. package/dist/index.cjs362.js +1 -1
  22. package/dist/index.cjs381.js +1 -1
  23. package/dist/index.cjs382.js +1 -1
  24. package/dist/index.cjs405.js +1 -1
  25. package/dist/index.cjs410.js +1 -1
  26. package/dist/index.cjs418.js +1 -1
  27. package/dist/index.cjs426.js +1 -1
  28. package/dist/index.cjs432.js +1 -1
  29. package/dist/index.cjs442.js +1 -1
  30. package/dist/index.cjs443.js +1 -1
  31. package/dist/index.cjs444.js +1 -1
  32. package/dist/index.cjs444.js.map +1 -1
  33. package/dist/index.cjs445.js +2 -1
  34. package/dist/index.cjs445.js.map +1 -1
  35. package/dist/index.cjs446.js +1 -1
  36. package/dist/index.cjs446.js.map +1 -1
  37. package/dist/index.cjs447.js +1 -1
  38. package/dist/index.cjs447.js.map +1 -1
  39. package/dist/index.cjs449.js +1 -1
  40. package/dist/index.cjs449.js.map +1 -1
  41. package/dist/index.cjs450.js +1 -1
  42. package/dist/index.cjs450.js.map +1 -1
  43. package/dist/index.cjs451.js +1 -1
  44. package/dist/index.cjs451.js.map +1 -1
  45. package/dist/index.cjs452.js +1 -1
  46. package/dist/index.cjs452.js.map +1 -1
  47. package/dist/index.cjs453.js +1 -1
  48. package/dist/index.cjs453.js.map +1 -1
  49. package/dist/index.cjs454.js +1 -1
  50. package/dist/index.cjs454.js.map +1 -1
  51. package/dist/index.cjs455.js +1 -1
  52. package/dist/index.cjs455.js.map +1 -1
  53. package/dist/index.cjs456.js +1 -1
  54. package/dist/index.cjs456.js.map +1 -1
  55. package/dist/index.cjs457.js +1 -1
  56. package/dist/index.cjs457.js.map +1 -1
  57. package/dist/index.cjs461.js +1 -1
  58. package/dist/index.cjs463.js +1 -1
  59. package/dist/index.cjs466.js +2 -0
  60. package/dist/index.cjs466.js.map +1 -0
  61. package/dist/index.cjs467.js +2 -0
  62. package/dist/index.cjs467.js.map +1 -0
  63. package/dist/index.cjs468.js +2 -0
  64. package/dist/index.cjs468.js.map +1 -0
  65. package/dist/index.cjs469.js +1 -1
  66. package/dist/index.cjs469.js.map +1 -1
  67. package/dist/index.cjs470.js +1 -1
  68. package/dist/index.cjs470.js.map +1 -1
  69. package/dist/index.cjs471.js +2 -0
  70. package/dist/index.cjs471.js.map +1 -0
  71. package/dist/index.cjs472.js +2 -0
  72. package/dist/index.cjs472.js.map +1 -0
  73. package/dist/index.cjs473.js +2 -0
  74. package/dist/index.cjs473.js.map +1 -0
  75. package/dist/index.cjs480.js +2 -0
  76. package/dist/index.cjs480.js.map +1 -0
  77. package/dist/{index.cjs590.js → index.cjs481.js} +1 -1
  78. package/dist/index.cjs481.js.map +1 -0
  79. package/dist/index.cjs482.js +1 -1
  80. package/dist/index.cjs482.js.map +1 -1
  81. package/dist/index.cjs483.js +1 -1
  82. package/dist/index.cjs483.js.map +1 -1
  83. package/dist/index.cjs484.js +1 -1
  84. package/dist/index.cjs484.js.map +1 -1
  85. package/dist/index.cjs485.js +1 -1
  86. package/dist/index.cjs485.js.map +1 -1
  87. package/dist/index.cjs486.js +1 -1
  88. package/dist/index.cjs486.js.map +1 -1
  89. package/dist/index.cjs487.js +2 -0
  90. package/dist/index.cjs487.js.map +1 -0
  91. package/dist/index.cjs490.js +1 -1
  92. package/dist/index.cjs490.js.map +1 -1
  93. package/dist/index.cjs491.js +27 -1
  94. package/dist/index.cjs491.js.map +1 -1
  95. package/dist/index.cjs492.js +1 -1
  96. package/dist/index.cjs492.js.map +1 -1
  97. package/dist/index.cjs496.js +1 -1
  98. package/dist/index.cjs496.js.map +1 -1
  99. package/dist/index.cjs497.js +1 -1
  100. package/dist/index.cjs497.js.map +1 -1
  101. package/dist/index.cjs498.js +1 -1
  102. package/dist/index.cjs498.js.map +1 -1
  103. package/dist/index.cjs499.js +2 -0
  104. package/dist/index.cjs499.js.map +1 -0
  105. package/dist/index.cjs500.js +2 -0
  106. package/dist/index.cjs500.js.map +1 -0
  107. package/dist/index.cjs501.js +1 -1
  108. package/dist/index.cjs501.js.map +1 -1
  109. package/dist/index.cjs505.js +1 -1
  110. package/dist/index.cjs505.js.map +1 -1
  111. package/dist/index.cjs506.js +1 -1
  112. package/dist/index.cjs506.js.map +1 -1
  113. package/dist/index.cjs507.js +1 -1
  114. package/dist/index.cjs507.js.map +1 -1
  115. package/dist/index.cjs508.js +1 -1
  116. package/dist/index.cjs508.js.map +1 -1
  117. package/dist/index.cjs509.js +1 -1
  118. package/dist/index.cjs509.js.map +1 -1
  119. package/dist/index.cjs510.js +1 -1
  120. package/dist/index.cjs510.js.map +1 -1
  121. package/dist/index.cjs511.js +1 -1
  122. package/dist/index.cjs511.js.map +1 -1
  123. package/dist/index.cjs512.js +1 -1
  124. package/dist/index.cjs512.js.map +1 -1
  125. package/dist/index.cjs513.js +1 -1
  126. package/dist/index.cjs513.js.map +1 -1
  127. package/dist/index.cjs514.js +1 -1
  128. package/dist/index.cjs514.js.map +1 -1
  129. package/dist/index.cjs515.js +1 -1
  130. package/dist/index.cjs515.js.map +1 -1
  131. package/dist/index.cjs516.js +1 -1
  132. package/dist/index.cjs516.js.map +1 -1
  133. package/dist/index.cjs517.js +1 -1
  134. package/dist/index.cjs517.js.map +1 -1
  135. package/dist/index.cjs518.js +1 -1
  136. package/dist/index.cjs518.js.map +1 -1
  137. package/dist/index.cjs519.js +1 -1
  138. package/dist/index.cjs519.js.map +1 -1
  139. package/dist/index.cjs520.js +1 -1
  140. package/dist/index.cjs520.js.map +1 -1
  141. package/dist/index.cjs521.js +1 -1
  142. package/dist/index.cjs521.js.map +1 -1
  143. package/dist/index.cjs522.js +1 -1
  144. package/dist/index.cjs522.js.map +1 -1
  145. package/dist/index.cjs523.js +1 -1
  146. package/dist/index.cjs523.js.map +1 -1
  147. package/dist/index.cjs524.js +1 -1
  148. package/dist/index.cjs524.js.map +1 -1
  149. package/dist/index.cjs525.js +1 -1
  150. package/dist/index.cjs525.js.map +1 -1
  151. package/dist/index.cjs526.js +1 -1
  152. package/dist/index.cjs526.js.map +1 -1
  153. package/dist/index.cjs527.js +1 -1
  154. package/dist/index.cjs527.js.map +1 -1
  155. package/dist/index.cjs528.js +1 -1
  156. package/dist/index.cjs528.js.map +1 -1
  157. package/dist/index.cjs529.js +1 -1
  158. package/dist/index.cjs529.js.map +1 -1
  159. package/dist/index.cjs530.js +1 -1
  160. package/dist/index.cjs530.js.map +1 -1
  161. package/dist/index.cjs531.js +1 -1
  162. package/dist/index.cjs531.js.map +1 -1
  163. package/dist/index.cjs532.js +1 -1
  164. package/dist/index.cjs532.js.map +1 -1
  165. package/dist/index.cjs533.js +1 -1
  166. package/dist/index.cjs533.js.map +1 -1
  167. package/dist/index.cjs534.js +1 -1
  168. package/dist/index.cjs534.js.map +1 -1
  169. package/dist/index.cjs535.js +1 -1
  170. package/dist/index.cjs535.js.map +1 -1
  171. package/dist/index.cjs536.js +1 -1
  172. package/dist/index.cjs536.js.map +1 -1
  173. package/dist/index.cjs537.js +1 -1
  174. package/dist/index.cjs537.js.map +1 -1
  175. package/dist/index.cjs538.js +1 -1
  176. package/dist/index.cjs538.js.map +1 -1
  177. package/dist/index.cjs539.js +1 -1
  178. package/dist/index.cjs539.js.map +1 -1
  179. package/dist/index.cjs540.js +2 -0
  180. package/dist/index.cjs540.js.map +1 -0
  181. package/dist/{index.cjs596.js → index.cjs541.js} +1 -1
  182. package/dist/index.cjs541.js.map +1 -0
  183. package/dist/index.cjs544.js +2 -0
  184. package/dist/index.cjs544.js.map +1 -0
  185. package/dist/index.cjs545.js +2 -0
  186. package/dist/index.cjs545.js.map +1 -0
  187. package/dist/index.cjs546.js +2 -0
  188. package/dist/index.cjs546.js.map +1 -0
  189. package/dist/index.cjs547.js +2 -0
  190. package/dist/index.cjs547.js.map +1 -0
  191. package/dist/index.cjs548.js +1 -1
  192. package/dist/index.cjs548.js.map +1 -1
  193. package/dist/index.cjs549.js +1 -1
  194. package/dist/index.cjs549.js.map +1 -1
  195. package/dist/index.cjs550.js +1 -1
  196. package/dist/index.cjs550.js.map +1 -1
  197. package/dist/index.cjs551.js +1 -27
  198. package/dist/index.cjs551.js.map +1 -1
  199. package/dist/index.cjs552.js +1 -1
  200. package/dist/index.cjs553.js +1 -1
  201. package/dist/index.cjs554.js +1 -1
  202. package/dist/index.cjs554.js.map +1 -1
  203. package/dist/index.cjs555.js +1 -1
  204. package/dist/index.cjs555.js.map +1 -1
  205. package/dist/index.cjs556.js +1 -1
  206. package/dist/index.cjs556.js.map +1 -1
  207. package/dist/index.cjs557.js +1 -1
  208. package/dist/index.cjs557.js.map +1 -1
  209. package/dist/index.cjs558.js +1 -1
  210. package/dist/index.cjs558.js.map +1 -1
  211. package/dist/index.cjs559.js +1 -1
  212. package/dist/index.cjs559.js.map +1 -1
  213. package/dist/index.cjs560.js +1 -1
  214. package/dist/index.cjs560.js.map +1 -1
  215. package/dist/index.cjs561.js +1 -1
  216. package/dist/index.cjs561.js.map +1 -1
  217. package/dist/index.cjs562.js +1 -1
  218. package/dist/index.cjs562.js.map +1 -1
  219. package/dist/index.cjs563.js +1 -1
  220. package/dist/index.cjs563.js.map +1 -1
  221. package/dist/index.cjs564.js +1 -1
  222. package/dist/index.cjs564.js.map +1 -1
  223. package/dist/index.cjs565.js +1 -1
  224. package/dist/index.cjs565.js.map +1 -1
  225. package/dist/index.cjs566.js +1 -1
  226. package/dist/index.cjs566.js.map +1 -1
  227. package/dist/index.cjs567.js +1 -1
  228. package/dist/index.cjs567.js.map +1 -1
  229. package/dist/index.cjs568.js +1 -1
  230. package/dist/index.cjs568.js.map +1 -1
  231. package/dist/index.cjs569.js +1 -1
  232. package/dist/index.cjs569.js.map +1 -1
  233. package/dist/index.cjs570.js +1 -1
  234. package/dist/index.cjs570.js.map +1 -1
  235. package/dist/index.cjs571.js +1 -1
  236. package/dist/index.cjs571.js.map +1 -1
  237. package/dist/index.cjs572.js +1 -1
  238. package/dist/index.cjs572.js.map +1 -1
  239. package/dist/index.cjs573.js +1 -1
  240. package/dist/index.cjs573.js.map +1 -1
  241. package/dist/index.cjs574.js +1 -1
  242. package/dist/index.cjs574.js.map +1 -1
  243. package/dist/index.cjs575.js +1 -1
  244. package/dist/index.cjs575.js.map +1 -1
  245. package/dist/index.cjs576.js +1 -1
  246. package/dist/index.cjs576.js.map +1 -1
  247. package/dist/index.cjs577.js +1 -1
  248. package/dist/index.cjs577.js.map +1 -1
  249. package/dist/index.cjs578.js +1 -1
  250. package/dist/index.cjs578.js.map +1 -1
  251. package/dist/index.cjs579.js +1 -1
  252. package/dist/index.cjs579.js.map +1 -1
  253. package/dist/index.cjs585.js +1 -1
  254. package/dist/index.cjs587.js +1 -1
  255. package/dist/index.cjs587.js.map +1 -1
  256. package/dist/index.cjs591.js +1 -1
  257. package/dist/index.cjs591.js.map +1 -1
  258. package/dist/index.cjs592.js +1 -1
  259. package/dist/index.cjs592.js.map +1 -1
  260. package/dist/index.cjs593.js +1 -1
  261. package/dist/index.cjs593.js.map +1 -1
  262. package/dist/index.cjs594.js +1 -1
  263. package/dist/index.cjs594.js.map +1 -1
  264. package/dist/index.cjs597.js +1 -1
  265. package/dist/index.cjs597.js.map +1 -1
  266. package/dist/index.cjs598.js +1 -1
  267. package/dist/index.cjs598.js.map +1 -1
  268. package/dist/index.cjs599.js +1 -1
  269. package/dist/index.cjs599.js.map +1 -1
  270. package/dist/index.cjs600.js +4 -1
  271. package/dist/index.cjs600.js.map +1 -1
  272. package/dist/index.cjs601.js +1 -1
  273. package/dist/index.cjs601.js.map +1 -1
  274. package/dist/index.cjs602.js +1 -1
  275. package/dist/index.cjs603.js +1 -1
  276. package/dist/index.cjs603.js.map +1 -1
  277. package/dist/index.cjs604.js +1 -1
  278. package/dist/index.cjs604.js.map +1 -1
  279. package/dist/index.cjs605.js +1 -1
  280. package/dist/index.cjs605.js.map +1 -1
  281. package/dist/index.cjs606.js +1 -1
  282. package/dist/index.cjs606.js.map +1 -1
  283. package/dist/index.cjs607.js +1 -1
  284. package/dist/index.cjs607.js.map +1 -1
  285. package/dist/index.cjs608.js +1 -1
  286. package/dist/index.cjs608.js.map +1 -1
  287. package/dist/index.cjs609.js +1 -1
  288. package/dist/index.cjs609.js.map +1 -1
  289. package/dist/index.cjs610.js +1 -1
  290. package/dist/index.cjs610.js.map +1 -1
  291. package/dist/index.cjs611.js +1 -1
  292. package/dist/index.cjs611.js.map +1 -1
  293. package/dist/index.cjs612.js +1 -1
  294. package/dist/index.cjs612.js.map +1 -1
  295. package/dist/index.cjs613.js +1 -1
  296. package/dist/index.cjs613.js.map +1 -1
  297. package/dist/index.cjs614.js +1 -1
  298. package/dist/index.cjs614.js.map +1 -1
  299. package/dist/index.cjs615.js +2 -0
  300. package/dist/index.cjs615.js.map +1 -0
  301. package/dist/index.cjs616.js +1 -1
  302. package/dist/index.cjs616.js.map +1 -1
  303. package/dist/index.cjs617.js +1 -1
  304. package/dist/index.cjs617.js.map +1 -1
  305. package/dist/index.cjs618.js +1 -1
  306. package/dist/index.cjs618.js.map +1 -1
  307. package/dist/index.cjs619.js +1 -4
  308. package/dist/index.cjs619.js.map +1 -1
  309. package/dist/index.cjs620.js +1 -1
  310. package/dist/index.cjs620.js.map +1 -1
  311. package/dist/index.cjs621.js +1 -5
  312. package/dist/index.cjs621.js.map +1 -1
  313. package/dist/index.cjs622.js +1 -1
  314. package/dist/index.cjs622.js.map +1 -1
  315. package/dist/index.cjs623.js +1 -1
  316. package/dist/index.cjs623.js.map +1 -1
  317. package/dist/index.cjs624.js +1 -1
  318. package/dist/index.cjs624.js.map +1 -1
  319. package/dist/index.cjs625.js +1 -1
  320. package/dist/index.cjs625.js.map +1 -1
  321. package/dist/index.cjs626.js +1 -1
  322. package/dist/index.cjs626.js.map +1 -1
  323. package/dist/index.cjs627.js +1 -1
  324. package/dist/index.cjs627.js.map +1 -1
  325. package/dist/index.cjs630.js +38 -1
  326. package/dist/index.cjs630.js.map +1 -1
  327. package/dist/index.cjs631.js +1 -1
  328. package/dist/index.cjs631.js.map +1 -1
  329. package/dist/index.cjs632.js +1 -1
  330. package/dist/index.cjs632.js.map +1 -1
  331. package/dist/index.cjs633.js +1 -1
  332. package/dist/index.cjs633.js.map +1 -1
  333. package/dist/index.cjs634.js +1 -1
  334. package/dist/index.cjs634.js.map +1 -1
  335. package/dist/index.cjs635.js +5 -1
  336. package/dist/index.cjs635.js.map +1 -1
  337. package/dist/index.cjs636.js +1 -2
  338. package/dist/index.cjs636.js.map +1 -1
  339. package/dist/index.cjs637.js +1 -1
  340. package/dist/index.cjs637.js.map +1 -1
  341. package/dist/index.cjs638.js +1 -38
  342. package/dist/index.cjs638.js.map +1 -1
  343. package/dist/index.cjs639.js +1 -1
  344. package/dist/index.cjs639.js.map +1 -1
  345. package/dist/index.cjs640.js +1 -1
  346. package/dist/index.cjs640.js.map +1 -1
  347. package/dist/index.cjs641.js +1 -1
  348. package/dist/index.cjs641.js.map +1 -1
  349. package/dist/index.cjs642.js +1 -1
  350. package/dist/index.cjs642.js.map +1 -1
  351. package/dist/index.cjs643.js +1 -1
  352. package/dist/index.cjs643.js.map +1 -1
  353. package/dist/index.cjs644.js +1 -1
  354. package/dist/index.cjs644.js.map +1 -1
  355. package/dist/index.cjs645.js +1 -1
  356. package/dist/index.cjs645.js.map +1 -1
  357. package/dist/index.cjs646.js +1 -1
  358. package/dist/index.cjs646.js.map +1 -1
  359. package/dist/index.cjs647.js +1 -1
  360. package/dist/index.cjs647.js.map +1 -1
  361. package/dist/index.cjs648.js +1 -1
  362. package/dist/index.cjs648.js.map +1 -1
  363. package/dist/index.cjs649.js +1 -1
  364. package/dist/index.cjs649.js.map +1 -1
  365. package/dist/index.cjs650.js +1 -1
  366. package/dist/index.cjs650.js.map +1 -1
  367. package/dist/index.cjs651.js +1 -1
  368. package/dist/index.cjs651.js.map +1 -1
  369. package/dist/index.cjs654.js +1 -1
  370. package/dist/index.cjs654.js.map +1 -1
  371. package/dist/index.cjs655.js +1 -1
  372. package/dist/index.cjs655.js.map +1 -1
  373. package/dist/index.cjs656.js +1 -1
  374. package/dist/index.cjs656.js.map +1 -1
  375. package/dist/index.cjs657.js +1 -1
  376. package/dist/index.cjs657.js.map +1 -1
  377. package/dist/index.cjs658.js +1 -1
  378. package/dist/index.cjs658.js.map +1 -1
  379. package/dist/index.cjs659.js +1 -1
  380. package/dist/index.cjs659.js.map +1 -1
  381. package/dist/index.cjs660.js +1 -1
  382. package/dist/index.cjs660.js.map +1 -1
  383. package/dist/index.cjs661.js +1 -1
  384. package/dist/index.cjs661.js.map +1 -1
  385. package/dist/index.cjs86.js +1 -1
  386. package/dist/index.cjs86.js.map +1 -1
  387. package/dist/index.d.ts +2 -1
  388. package/dist/index.es101.js +21 -19
  389. package/dist/index.es101.js.map +1 -1
  390. package/dist/index.es18.js +24 -23
  391. package/dist/index.es18.js.map +1 -1
  392. package/dist/index.es237.js +1 -1
  393. package/dist/index.es248.js +1 -1
  394. package/dist/index.es250.js +1 -1
  395. package/dist/index.es251.js +1 -1
  396. package/dist/index.es262.js +4 -4
  397. package/dist/index.es267.js +1 -1
  398. package/dist/index.es272.js +14 -14
  399. package/dist/index.es297.js +8 -8
  400. package/dist/index.es311.js +2 -2
  401. package/dist/index.es312.js +3 -3
  402. package/dist/index.es325.js +1 -1
  403. package/dist/index.es331.js +1 -1
  404. package/dist/index.es341.js +1 -1
  405. package/dist/index.es344.js +1 -1
  406. package/dist/index.es353.js +7 -7
  407. package/dist/index.es362.js +1 -1
  408. package/dist/index.es381.js +6 -6
  409. package/dist/index.es382.js +2 -2
  410. package/dist/index.es405.js +7 -7
  411. package/dist/index.es410.js +8 -8
  412. package/dist/index.es418.js +1 -1
  413. package/dist/index.es426.js +2 -2
  414. package/dist/index.es432.js +3 -3
  415. package/dist/index.es442.js +1 -1
  416. package/dist/index.es443.js +1 -1
  417. package/dist/index.es444.js +5 -6
  418. package/dist/index.es444.js.map +1 -1
  419. package/dist/index.es445.js +551 -24
  420. package/dist/index.es445.js.map +1 -1
  421. package/dist/index.es446.js +2 -68
  422. package/dist/index.es446.js.map +1 -1
  423. package/dist/index.es447.js +2 -11
  424. package/dist/index.es447.js.map +1 -1
  425. package/dist/index.es449.js +23 -121
  426. package/dist/index.es449.js.map +1 -1
  427. package/dist/index.es450.js +62 -129
  428. package/dist/index.es450.js.map +1 -1
  429. package/dist/index.es451.js +7 -14
  430. package/dist/index.es451.js.map +1 -1
  431. package/dist/index.es452.js +48 -65
  432. package/dist/index.es452.js.map +1 -1
  433. package/dist/index.es453.js +5 -33
  434. package/dist/index.es453.js.map +1 -1
  435. package/dist/index.es454.js +24 -14
  436. package/dist/index.es454.js.map +1 -1
  437. package/dist/index.es455.js +69 -9
  438. package/dist/index.es455.js.map +1 -1
  439. package/dist/index.es456.js +33 -49
  440. package/dist/index.es456.js.map +1 -1
  441. package/dist/index.es457.js +13 -55
  442. package/dist/index.es457.js.map +1 -1
  443. package/dist/index.es461.js +2 -2
  444. package/dist/index.es463.js +1 -1
  445. package/dist/index.es466.js +14 -0
  446. package/dist/index.es466.js.map +1 -0
  447. package/dist/index.es467.js +128 -0
  448. package/dist/index.es467.js.map +1 -0
  449. package/dist/index.es468.js +138 -0
  450. package/dist/index.es468.js.map +1 -0
  451. package/dist/index.es469.js +14 -2
  452. package/dist/index.es469.js.map +1 -1
  453. package/dist/index.es470.js +15 -2
  454. package/dist/index.es470.js.map +1 -1
  455. package/dist/index.es471.js +12 -0
  456. package/dist/index.es471.js.map +1 -0
  457. package/dist/index.es472.js +53 -0
  458. package/dist/index.es472.js.map +1 -0
  459. package/dist/index.es473.js +60 -0
  460. package/dist/index.es473.js.map +1 -0
  461. package/dist/index.es480.js +24 -0
  462. package/dist/index.es480.js.map +1 -0
  463. package/dist/index.es481.js +5 -0
  464. package/dist/index.es481.js.map +1 -0
  465. package/dist/index.es482.js +53 -14
  466. package/dist/index.es482.js.map +1 -1
  467. package/dist/index.es483.js +201 -19
  468. package/dist/index.es483.js.map +1 -1
  469. package/dist/index.es484.js +74 -2
  470. package/dist/index.es484.js.map +1 -1
  471. package/dist/index.es485.js +5 -53
  472. package/dist/index.es485.js.map +1 -1
  473. package/dist/index.es486.js +2 -204
  474. package/dist/index.es486.js.map +1 -1
  475. package/dist/index.es487.js +625 -0
  476. package/dist/index.es487.js.map +1 -0
  477. package/dist/index.es490.js +4 -11
  478. package/dist/index.es490.js.map +1 -1
  479. package/dist/index.es491.js +3674 -11
  480. package/dist/index.es491.js.map +1 -1
  481. package/dist/index.es492.js +2 -133
  482. package/dist/index.es492.js.map +1 -1
  483. package/dist/index.es496.js +9 -73
  484. package/dist/index.es496.js.map +1 -1
  485. package/dist/index.es497.js +183 -5
  486. package/dist/index.es497.js.map +1 -1
  487. package/dist/index.es498.js +4 -2
  488. package/dist/index.es498.js.map +1 -1
  489. package/dist/index.es499.js +136 -0
  490. package/dist/index.es499.js.map +1 -0
  491. package/dist/index.es500.js +14 -0
  492. package/dist/index.es500.js.map +1 -0
  493. package/dist/index.es501.js +11 -4
  494. package/dist/index.es501.js.map +1 -1
  495. package/dist/index.es505.js +2 -14
  496. package/dist/index.es505.js.map +1 -1
  497. package/dist/index.es506.js +5 -5
  498. package/dist/index.es506.js.map +1 -1
  499. package/dist/index.es507.js +12 -4
  500. package/dist/index.es507.js.map +1 -1
  501. package/dist/index.es508.js +3 -3
  502. package/dist/index.es508.js.map +1 -1
  503. package/dist/index.es509.js +3 -3
  504. package/dist/index.es509.js.map +1 -1
  505. package/dist/index.es510.js +3 -3
  506. package/dist/index.es510.js.map +1 -1
  507. package/dist/index.es511.js +3 -3
  508. package/dist/index.es511.js.map +1 -1
  509. package/dist/index.es512.js +3 -3
  510. package/dist/index.es512.js.map +1 -1
  511. package/dist/index.es513.js +1 -1
  512. package/dist/index.es513.js.map +1 -1
  513. package/dist/index.es514.js +3 -3
  514. package/dist/index.es514.js.map +1 -1
  515. package/dist/index.es515.js +3 -3
  516. package/dist/index.es515.js.map +1 -1
  517. package/dist/index.es516.js +3 -3
  518. package/dist/index.es516.js.map +1 -1
  519. package/dist/index.es517.js +3 -3
  520. package/dist/index.es517.js.map +1 -1
  521. package/dist/index.es518.js +3 -3
  522. package/dist/index.es518.js.map +1 -1
  523. package/dist/index.es519.js +1 -1
  524. package/dist/index.es519.js.map +1 -1
  525. package/dist/index.es520.js +3 -3
  526. package/dist/index.es520.js.map +1 -1
  527. package/dist/index.es521.js +4 -8
  528. package/dist/index.es521.js.map +1 -1
  529. package/dist/index.es522.js +5 -5
  530. package/dist/index.es522.js.map +1 -1
  531. package/dist/index.es523.js +8 -4
  532. package/dist/index.es523.js.map +1 -1
  533. package/dist/index.es524.js +3 -3
  534. package/dist/index.es524.js.map +1 -1
  535. package/dist/index.es525.js +1 -1
  536. package/dist/index.es525.js.map +1 -1
  537. package/dist/index.es526.js +3 -3
  538. package/dist/index.es526.js.map +1 -1
  539. package/dist/index.es527.js +5 -10
  540. package/dist/index.es527.js.map +1 -1
  541. package/dist/index.es528.js +3 -3
  542. package/dist/index.es528.js.map +1 -1
  543. package/dist/index.es529.js +10 -5
  544. package/dist/index.es529.js.map +1 -1
  545. package/dist/index.es530.js +3 -3
  546. package/dist/index.es530.js.map +1 -1
  547. package/dist/index.es531.js +1 -1
  548. package/dist/index.es531.js.map +1 -1
  549. package/dist/index.es532.js +3 -3
  550. package/dist/index.es532.js.map +1 -1
  551. package/dist/index.es533.js +3 -3
  552. package/dist/index.es533.js.map +1 -1
  553. package/dist/index.es534.js +4 -10
  554. package/dist/index.es534.js.map +1 -1
  555. package/dist/index.es535.js +3 -3
  556. package/dist/index.es535.js.map +1 -1
  557. package/dist/index.es536.js +10 -4
  558. package/dist/index.es536.js.map +1 -1
  559. package/dist/index.es537.js +5 -8
  560. package/dist/index.es537.js.map +1 -1
  561. package/dist/index.es538.js +4 -15
  562. package/dist/index.es538.js.map +1 -1
  563. package/dist/index.es539.js +9 -2
  564. package/dist/index.es539.js.map +1 -1
  565. package/dist/index.es540.js +20 -0
  566. package/dist/index.es540.js.map +1 -0
  567. package/dist/index.es541.js +5 -0
  568. package/dist/index.es541.js.map +1 -0
  569. package/dist/index.es544.js +8 -0
  570. package/dist/index.es544.js.map +1 -0
  571. package/dist/index.es545.js +49 -0
  572. package/dist/index.es545.js.map +1 -0
  573. package/dist/index.es546.js +17 -0
  574. package/dist/index.es546.js.map +1 -0
  575. package/dist/index.es547.js +222 -0
  576. package/dist/index.es547.js.map +1 -0
  577. package/dist/index.es548.js +177 -21
  578. package/dist/index.es548.js.map +1 -1
  579. package/dist/index.es549.js +24 -28
  580. package/dist/index.es549.js.map +1 -1
  581. package/dist/index.es550.js +29 -5
  582. package/dist/index.es550.js.map +1 -1
  583. package/dist/index.es551.js +5 -3675
  584. package/dist/index.es551.js.map +1 -1
  585. package/dist/index.es552.js +2 -2
  586. package/dist/index.es553.js +2 -5
  587. package/dist/index.es553.js.map +1 -1
  588. package/dist/index.es554.js +2 -16
  589. package/dist/index.es554.js.map +1 -1
  590. package/dist/index.es555.js +2 -13
  591. package/dist/index.es555.js.map +1 -1
  592. package/dist/index.es556.js +2 -36
  593. package/dist/index.es556.js.map +1 -1
  594. package/dist/index.es557.js +2 -5
  595. package/dist/index.es557.js.map +1 -1
  596. package/dist/index.es558.js +2 -2
  597. package/dist/index.es558.js.map +1 -1
  598. package/dist/index.es559.js +2 -3
  599. package/dist/index.es559.js.map +1 -1
  600. package/dist/index.es560.js +2 -7
  601. package/dist/index.es560.js.map +1 -1
  602. package/dist/index.es561.js +2 -6
  603. package/dist/index.es561.js.map +1 -1
  604. package/dist/index.es562.js +2 -5
  605. package/dist/index.es562.js.map +1 -1
  606. package/dist/index.es563.js +2 -32
  607. package/dist/index.es563.js.map +1 -1
  608. package/dist/index.es564.js +2 -242
  609. package/dist/index.es564.js.map +1 -1
  610. package/dist/index.es565.js +2 -4
  611. package/dist/index.es565.js.map +1 -1
  612. package/dist/index.es566.js +2 -5
  613. package/dist/index.es566.js.map +1 -1
  614. package/dist/index.es567.js +2 -10
  615. package/dist/index.es567.js.map +1 -1
  616. package/dist/index.es568.js +2 -56
  617. package/dist/index.es568.js.map +1 -1
  618. package/dist/index.es569.js +2 -8
  619. package/dist/index.es569.js.map +1 -1
  620. package/dist/index.es570.js +2 -6
  621. package/dist/index.es570.js.map +1 -1
  622. package/dist/index.es571.js +2 -532
  623. package/dist/index.es571.js.map +1 -1
  624. package/dist/index.es572.js +2 -14
  625. package/dist/index.es572.js.map +1 -1
  626. package/dist/index.es573.js +2 -2
  627. package/dist/index.es573.js.map +1 -1
  628. package/dist/index.es574.js +2 -37
  629. package/dist/index.es574.js.map +1 -1
  630. package/dist/index.es575.js +2 -2
  631. package/dist/index.es575.js.map +1 -1
  632. package/dist/index.es576.js +2 -272
  633. package/dist/index.es576.js.map +1 -1
  634. package/dist/index.es577.js +2 -14
  635. package/dist/index.es577.js.map +1 -1
  636. package/dist/index.es578.js +2 -3
  637. package/dist/index.es578.js.map +1 -1
  638. package/dist/index.es579.js +2 -30
  639. package/dist/index.es579.js.map +1 -1
  640. package/dist/index.es580.js +2 -2
  641. package/dist/index.es582.js +2 -2
  642. package/dist/index.es584.js +2 -2
  643. package/dist/index.es585.js +2 -2
  644. package/dist/index.es586.js +2 -2
  645. package/dist/index.es587.js +34 -2
  646. package/dist/index.es587.js.map +1 -1
  647. package/dist/index.es591.js +206 -2
  648. package/dist/index.es591.js.map +1 -1
  649. package/dist/index.es592.js +22 -2
  650. package/dist/index.es592.js.map +1 -1
  651. package/dist/index.es593.js +400 -2
  652. package/dist/index.es593.js.map +1 -1
  653. package/dist/index.es594.js +15 -2
  654. package/dist/index.es594.js.map +1 -1
  655. package/dist/index.es597.js +5 -2
  656. package/dist/index.es597.js.map +1 -1
  657. package/dist/index.es598.js +3 -2
  658. package/dist/index.es598.js.map +1 -1
  659. package/dist/index.es599.js +24 -2
  660. package/dist/index.es599.js.map +1 -1
  661. package/dist/index.es600.js +110 -2
  662. package/dist/index.es600.js.map +1 -1
  663. package/dist/index.es601.js +16 -2
  664. package/dist/index.es601.js.map +1 -1
  665. package/dist/index.es602.js +5 -2
  666. package/dist/index.es602.js.map +1 -1
  667. package/dist/index.es603.js +16 -2
  668. package/dist/index.es603.js.map +1 -1
  669. package/dist/index.es604.js +13 -2
  670. package/dist/index.es604.js.map +1 -1
  671. package/dist/index.es605.js +36 -2
  672. package/dist/index.es605.js.map +1 -1
  673. package/dist/index.es606.js +5 -2
  674. package/dist/index.es606.js.map +1 -1
  675. package/dist/index.es607.js +2 -2
  676. package/dist/index.es607.js.map +1 -1
  677. package/dist/index.es608.js +3 -2
  678. package/dist/index.es608.js.map +1 -1
  679. package/dist/index.es609.js +7 -2
  680. package/dist/index.es609.js.map +1 -1
  681. package/dist/index.es610.js +6 -2
  682. package/dist/index.es610.js.map +1 -1
  683. package/dist/index.es611.js +5 -2
  684. package/dist/index.es611.js.map +1 -1
  685. package/dist/index.es612.js +32 -2
  686. package/dist/index.es612.js.map +1 -1
  687. package/dist/index.es613.js +242 -2
  688. package/dist/index.es613.js.map +1 -1
  689. package/dist/index.es614.js +4 -2
  690. package/dist/index.es614.js.map +1 -1
  691. package/dist/index.es615.js +8 -0
  692. package/dist/index.es615.js.map +1 -0
  693. package/dist/index.es616.js +10 -5
  694. package/dist/index.es616.js.map +1 -1
  695. package/dist/index.es617.js +56 -3
  696. package/dist/index.es617.js.map +1 -1
  697. package/dist/index.es618.js +7 -23
  698. package/dist/index.es618.js.map +1 -1
  699. package/dist/index.es619.js +5 -109
  700. package/dist/index.es619.js.map +1 -1
  701. package/dist/index.es620.js +530 -14
  702. package/dist/index.es620.js.map +1 -1
  703. package/dist/index.es621.js +14 -40
  704. package/dist/index.es621.js.map +1 -1
  705. package/dist/index.es622.js +2 -2
  706. package/dist/index.es622.js.map +1 -1
  707. package/dist/index.es623.js +36 -4
  708. package/dist/index.es623.js.map +1 -1
  709. package/dist/index.es624.js +2 -6
  710. package/dist/index.es624.js.map +1 -1
  711. package/dist/index.es625.js +269 -13
  712. package/dist/index.es625.js.map +1 -1
  713. package/dist/index.es626.js +3 -2
  714. package/dist/index.es626.js.map +1 -1
  715. package/dist/index.es627.js +30 -2
  716. package/dist/index.es627.js.map +1 -1
  717. package/dist/index.es630.js +69 -2
  718. package/dist/index.es630.js.map +1 -1
  719. package/dist/index.es631.js +9 -3
  720. package/dist/index.es631.js.map +1 -1
  721. package/dist/index.es632.js +14 -2
  722. package/dist/index.es632.js.map +1 -1
  723. package/dist/index.es633.js +66 -4
  724. package/dist/index.es633.js.map +1 -1
  725. package/dist/index.es634.js +58 -615
  726. package/dist/index.es634.js.map +1 -1
  727. package/dist/index.es635.js +39 -5
  728. package/dist/index.es635.js.map +1 -1
  729. package/dist/index.es636.js +2 -554
  730. package/dist/index.es636.js.map +1 -1
  731. package/dist/index.es637.js +4 -64
  732. package/dist/index.es637.js.map +1 -1
  733. package/dist/index.es638.js +2 -69
  734. package/dist/index.es638.js.map +1 -1
  735. package/dist/index.es639.js +2 -9
  736. package/dist/index.es639.js.map +1 -1
  737. package/dist/index.es640.js +2 -14
  738. package/dist/index.es640.js.map +1 -1
  739. package/dist/index.es641.js +6 -66
  740. package/dist/index.es641.js.map +1 -1
  741. package/dist/index.es642.js +13 -216
  742. package/dist/index.es642.js.map +1 -1
  743. package/dist/index.es643.js +2 -4
  744. package/dist/index.es643.js.map +1 -1
  745. package/dist/index.es644.js +2 -3
  746. package/dist/index.es644.js.map +1 -1
  747. package/dist/index.es645.js +3 -2
  748. package/dist/index.es645.js.map +1 -1
  749. package/dist/index.es646.js +2 -22
  750. package/dist/index.es646.js.map +1 -1
  751. package/dist/index.es647.js +3 -45
  752. package/dist/index.es647.js.map +1 -1
  753. package/dist/index.es648.js +2 -183
  754. package/dist/index.es648.js.map +1 -1
  755. package/dist/index.es649.js +513 -194
  756. package/dist/index.es649.js.map +1 -1
  757. package/dist/index.es650.js +114 -386
  758. package/dist/index.es650.js.map +1 -1
  759. package/dist/index.es651.js +136 -2
  760. package/dist/index.es651.js.map +1 -1
  761. package/dist/index.es654.js +3 -82
  762. package/dist/index.es654.js.map +1 -1
  763. package/dist/index.es655.js +3 -13
  764. package/dist/index.es655.js.map +1 -1
  765. package/dist/index.es656.js +2 -28
  766. package/dist/index.es656.js.map +1 -1
  767. package/dist/index.es657.js +83 -5
  768. package/dist/index.es657.js.map +1 -1
  769. package/dist/index.es658.js +11 -21
  770. package/dist/index.es658.js.map +1 -1
  771. package/dist/index.es659.js +22 -519
  772. package/dist/index.es659.js.map +1 -1
  773. package/dist/index.es660.js +4 -127
  774. package/dist/index.es660.js.map +1 -1
  775. package/dist/index.es661.js +22 -133
  776. package/dist/index.es661.js.map +1 -1
  777. package/dist/index.es86.js +24 -21
  778. package/dist/index.es86.js.map +1 -1
  779. package/package.json +1 -1
  780. package/dist/index.cjs448.js +0 -2
  781. package/dist/index.cjs448.js.map +0 -1
  782. package/dist/index.cjs458.js +0 -2
  783. package/dist/index.cjs458.js.map +0 -1
  784. package/dist/index.cjs459.js +0 -2
  785. package/dist/index.cjs459.js.map +0 -1
  786. package/dist/index.cjs460.js +0 -2
  787. package/dist/index.cjs460.js.map +0 -1
  788. package/dist/index.cjs476.js +0 -2
  789. package/dist/index.cjs476.js.map +0 -1
  790. package/dist/index.cjs489.js +0 -2
  791. package/dist/index.cjs489.js.map +0 -1
  792. package/dist/index.cjs493.js +0 -2
  793. package/dist/index.cjs493.js.map +0 -1
  794. package/dist/index.cjs494.js +0 -2
  795. package/dist/index.cjs494.js.map +0 -1
  796. package/dist/index.cjs495.js +0 -2
  797. package/dist/index.cjs495.js.map +0 -1
  798. package/dist/index.cjs503.js +0 -2
  799. package/dist/index.cjs503.js.map +0 -1
  800. package/dist/index.cjs504.js +0 -2
  801. package/dist/index.cjs504.js.map +0 -1
  802. package/dist/index.cjs588.js +0 -2
  803. package/dist/index.cjs588.js.map +0 -1
  804. package/dist/index.cjs589.js +0 -2
  805. package/dist/index.cjs589.js.map +0 -1
  806. package/dist/index.cjs590.js.map +0 -1
  807. package/dist/index.cjs595.js +0 -2
  808. package/dist/index.cjs595.js.map +0 -1
  809. package/dist/index.cjs596.js.map +0 -1
  810. package/dist/index.cjs628.js +0 -2
  811. package/dist/index.cjs628.js.map +0 -1
  812. package/dist/index.cjs629.js +0 -2
  813. package/dist/index.cjs629.js.map +0 -1
  814. package/dist/index.es448.js +0 -55
  815. package/dist/index.es448.js.map +0 -1
  816. package/dist/index.es458.js +0 -9
  817. package/dist/index.es458.js.map +0 -1
  818. package/dist/index.es459.js +0 -28
  819. package/dist/index.es459.js.map +0 -1
  820. package/dist/index.es460.js +0 -37
  821. package/dist/index.es460.js.map +0 -1
  822. package/dist/index.es476.js +0 -18
  823. package/dist/index.es476.js.map +0 -1
  824. package/dist/index.es489.js +0 -7
  825. package/dist/index.es489.js.map +0 -1
  826. package/dist/index.es493.js +0 -187
  827. package/dist/index.es493.js.map +0 -1
  828. package/dist/index.es494.js +0 -13
  829. package/dist/index.es494.js.map +0 -1
  830. package/dist/index.es495.js +0 -7
  831. package/dist/index.es495.js.map +0 -1
  832. package/dist/index.es503.js +0 -5
  833. package/dist/index.es503.js.map +0 -1
  834. package/dist/index.es504.js +0 -9
  835. package/dist/index.es504.js.map +0 -1
  836. package/dist/index.es588.js +0 -5
  837. package/dist/index.es588.js.map +0 -1
  838. package/dist/index.es589.js +0 -5
  839. package/dist/index.es589.js.map +0 -1
  840. package/dist/index.es590.js +0 -5
  841. package/dist/index.es590.js.map +0 -1
  842. package/dist/index.es595.js +0 -5
  843. package/dist/index.es595.js.map +0 -1
  844. package/dist/index.es596.js +0 -5
  845. package/dist/index.es596.js.map +0 -1
  846. package/dist/index.es628.js +0 -5
  847. package/dist/index.es628.js.map +0 -1
  848. package/dist/index.es629.js +0 -5
  849. package/dist/index.es629.js.map +0 -1
  850. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs452.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"icASA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,CACxB,KAAM,CAAE,QAAAC,EAAS,SAAAC,CAAQ,EAAKF,EACxBG,EAAWC,EAAYH,CAAO,EAC9BI,EAAQ,OAAOH,GAAa,WAAaA,EAAS,CAAE,QAASC,EAAS,SAAS,CAAE,EAAIG,EAAO,SAAS,KAAKJ,CAAQ,EAClHK,EAAMC,EAAAA,gBAAgBL,EAAS,IAAKM,EAAcJ,CAAK,CAAC,EAE9D,OADmB,OAAOH,GAAa,YAClBC,EAAS,UAAYG,EAAO,aAAaD,EAAO,CAAE,IAAAE,CAAG,CAAE,EAAI,IAClF,EACAR,EAAS,YAAc,WACvB,SAASK,EAAYH,EAAS,CAC5B,KAAM,CAACS,EAAMC,CAAO,EAAIL,EAAO,SAAQ,EACjCM,EAAYN,EAAO,OAAO,IAAI,EAC9BO,EAAiBP,EAAO,OAAOL,CAAO,EACtCa,EAAuBR,EAAO,OAAO,MAAM,EAC3CZ,EAAeO,EAAU,UAAY,YACrC,CAACJ,EAAOkB,CAAI,EAAItB,EAAgBC,EAAc,CAClD,QAAS,CACP,QAAS,YACT,cAAe,kBACrB,EACI,iBAAkB,CAChB,MAAO,UACP,cAAe,WACrB,EACI,UAAW,CACT,MAAO,SACb,CACA,CAAG,EACDY,OAAAA,EAAO,UAAU,IAAM,CACrB,MAAMU,EAAuBC,EAAiBL,EAAU,OAAO,EAC/DE,EAAqB,QAAUjB,IAAU,UAAYmB,EAAuB,MAC9E,EAAG,CAACnB,CAAK,CAAC,EACVqB,EAAAA,gBAAgB,IAAM,CACpB,MAAMC,EAASP,EAAU,QACnBQ,EAAaP,EAAe,QAElC,GAD0BO,IAAenB,EAClB,CACrB,MAAMoB,EAAoBP,EAAqB,QACzCE,EAAuBC,EAAiBE,CAAM,EAChDlB,EACFc,EAAK,OAAO,EACHC,IAAyB,SAAUG,GAAA,YAAAA,EAAQ,WAAY,OAChEJ,EAAK,SAAS,EAIZA,EADEK,GADgBC,IAAsBL,EAEnC,gBAEA,SAFe,EAKxBH,EAAe,QAAUZ,CAC3B,CACF,EAAG,CAACA,EAASc,CAAI,CAAC,EAClBG,EAAAA,gBAAgB,IAAM,CACpB,GAAIR,EAAM,CACR,IAAIY,EACJ,MAAMC,EAAcb,EAAK,cAAc,aAAe,OAChDc,EAAsB1B,GAAU,CAEpC,MAAM2B,EADuBR,EAAiBL,EAAU,OAAO,EACf,SAAS,IAAI,OAAOd,EAAM,aAAa,CAAC,EACxF,GAAIA,EAAM,SAAWY,GAAQe,IAC3BV,EAAK,eAAe,EAChB,CAACF,EAAe,SAAS,CAC3B,MAAMa,EAAkBhB,EAAK,MAAM,kBACnCA,EAAK,MAAM,kBAAoB,WAC/BY,EAAYC,EAAY,WAAW,IAAM,CACnCb,EAAK,MAAM,oBAAsB,aACnCA,EAAK,MAAM,kBAAoBgB,EAEnC,CAAC,CACH,CAEJ,EACMC,EAAwB7B,GAAU,CAClCA,EAAM,SAAWY,IACnBI,EAAqB,QAAUG,EAAiBL,EAAU,OAAO,EAErE,EACA,OAAAF,EAAK,iBAAiB,iBAAkBiB,CAAoB,EAC5DjB,EAAK,iBAAiB,kBAAmBc,CAAkB,EAC3Dd,EAAK,iBAAiB,eAAgBc,CAAkB,EACjD,IAAM,CACXD,EAAY,aAAaD,CAAS,EAClCZ,EAAK,oBAAoB,iBAAkBiB,CAAoB,EAC/DjB,EAAK,oBAAoB,kBAAmBc,CAAkB,EAC9Dd,EAAK,oBAAoB,eAAgBc,CAAkB,CAC7D,CACF,MACET,EAAK,eAAe,CAExB,EAAG,CAACL,EAAMK,CAAI,CAAC,EACR,CACL,UAAW,CAAC,UAAW,kBAAkB,EAAE,SAASlB,CAAK,EACzD,IAAKS,EAAO,YAAasB,GAAU,CACjChB,EAAU,QAAUgB,EAAQ,iBAAiBA,CAAK,EAAI,KACtDjB,EAAQiB,CAAK,CACf,EAAG,CAAA,CAAE,CACT,CACA,CACA,SAASX,EAAiBE,EAAQ,CAChC,OAAOA,GAAA,YAAAA,EAAQ,gBAAiB,MAClC,CACA,SAASV,EAAcoB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs452.js","sources":["../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [onChange, uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useInsertionEffect","React","useLayoutEffect","useControllableState","prop","defaultProp","onChange","caller","uncontrolledProp","setUncontrolledProp","onChangeRef","useUncontrolledState","isControlled","value","isControlledRef","wasControlled","setValue","nextValue","value2","isFunction","_a","prevValueRef"],"mappings":"kaAGA,IAAIA,EAAqBC,EAAM,uBAAuB,KAAI,EAAG,SAAQ,CAAE,GAAKC,EAAAA,gBAC5E,SAASC,EAAqB,CAC5B,KAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IAAM,CACjB,EACA,OAAAC,CACF,EAAG,CACD,KAAM,CAACC,EAAkBC,EAAqBC,CAAW,EAAIC,EAAqB,CAChF,YAAAN,EACA,SAAAC,CACJ,CAAG,EACKM,EAAeR,IAAS,OACxBS,EAAQD,EAAeR,EAAOI,EAC1B,CACR,MAAMM,EAAkBb,EAAM,OAAOG,IAAS,MAAM,EACpDH,EAAM,UAAU,IAAM,CACpB,MAAMc,EAAgBD,EAAgB,QAClCC,IAAkBH,GAGpB,QAAQ,KACN,GAAGL,CAAM,qBAHEQ,EAAgB,aAAe,cAGR,OAFzBH,EAAe,aAAe,cAEI,4KACrD,EAEME,EAAgB,QAAUF,CAC5B,EAAG,CAACA,EAAcL,CAAM,CAAC,CAC3B,CACA,MAAMS,EAAWf,EAAM,YACpBgB,GAAc,OACb,GAAIL,EAAc,CAChB,MAAMM,EAASC,EAAWF,CAAS,EAAIA,EAAUb,CAAI,EAAIa,EACrDC,IAAWd,KACbgB,EAAAV,EAAY,UAAZ,MAAAU,EAAA,KAAAV,EAAsBQ,GAE1B,MACET,EAAoBQ,CAAS,CAEjC,EACA,CAACL,EAAcR,EAAMK,EAAqBC,CAAW,CACzD,EACE,MAAO,CAACG,EAAOG,CAAQ,CACzB,CACA,SAASL,EAAqB,CAC5B,YAAAN,EACA,SAAAC,CACF,EAAG,CACD,KAAM,CAACO,EAAOG,CAAQ,EAAIf,EAAM,SAASI,CAAW,EAC9CgB,EAAepB,EAAM,OAAOY,CAAK,EACjCH,EAAcT,EAAM,OAAOK,CAAQ,EACzC,OAAAN,EAAmB,IAAM,CACvBU,EAAY,QAAUJ,CACxB,EAAG,CAACA,CAAQ,CAAC,EACbL,EAAM,UAAU,IAAM,OAChBoB,EAAa,UAAYR,KAC3BO,EAAAV,EAAY,UAAZ,MAAAU,EAAA,KAAAV,EAAsBG,GACtBQ,EAAa,QAAUR,EAE3B,EAAG,CAACA,EAAOQ,CAAY,CAAC,EACjB,CAACR,EAAOG,EAAUN,CAAW,CACtC,CACA,SAASS,EAAWN,EAAO,CACzB,OAAO,OAAOA,GAAU,UAC1B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs457.js"),p=require("./index.cjs230.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const d=n(l),v=n(f);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],y=b.reduce((e,t)=>{const i=m.createSlot(`Primitive.${t}`),r=d.forwardRef((o,c)=>{const{asChild:s,...a}=o,u=s?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsxRuntimeExports.jsx(u,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O(e,t){e&&v.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=y;exports.dispatchDiscreteCustomEvent=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
2
2
  //# sourceMappingURL=index.cjs453.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs453.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Slot","createSlot","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"+dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,SACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAAA,WAAW,aAAaF,CAAI,EAAE,EACrCG,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUN,EAAOD,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZU,EAAAA,kBAAAA,IAAID,EAAM,CAAE,GAAGD,EAAgB,IAAKF,EAAc,CAC3E,CAAC,EACD,OAAAH,EAAK,YAAc,aAAaH,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGG,CAAI,CACrC,EAAG,CAAA,CAAE,EACL,SAASQ,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs453.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=a(c);var r=0;function d(){s.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??u()),document.body.insertAdjacentElement("beforeend",e[1]??u()),r++,()=>{r===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r--}},[])}function u(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}exports.useFocusGuards=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs490.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
2
2
  //# sourceMappingURL=index.cjs454.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs454.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nexport {\n FocusGuards,\n FocusGuards as Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":"mYAIA,IAAIA,EAAQ,EAKZ,SAASC,GAAiB,CACxBC,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAa,SAAS,iBAAiB,0BAA0B,EACvE,gBAAS,KAAK,sBAAsB,aAAcA,EAAW,CAAC,GAAKC,GAAkB,EACrF,SAAS,KAAK,sBAAsB,YAAaD,EAAW,CAAC,GAAKC,GAAkB,EACpFJ,IACO,IAAM,CACPA,IAAU,GACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAASK,GAASA,EAAK,QAAQ,EAEvFL,GACF,CACF,EAAG,CAAA,CAAE,CACP,CACA,SAASI,GAAmB,CAC1B,MAAME,EAAU,SAAS,cAAc,MAAM,EAC7C,OAAAA,EAAQ,aAAa,yBAA0B,EAAE,EACjDA,EAAQ,SAAW,EACnBA,EAAQ,MAAM,QAAU,OACxBA,EAAQ,MAAM,QAAU,IACxBA,EAAQ,MAAM,SAAW,QACzBA,EAAQ,MAAM,cAAgB,OACvBA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs454.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"kaAGA,SAASA,EAAQC,EAAS,CACxB,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAM,SAAS,MAAM,EAC7CC,OAAAA,EAAAA,gBAAgB,IAAM,CACpB,GAAIJ,EAAS,CACXE,EAAQ,CAAE,MAAOF,EAAQ,YAAa,OAAQA,EAAQ,aAAc,EACpE,MAAMK,EAAiB,IAAI,eAAgBC,GAAY,CAIrD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OACX,OAEF,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC5B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SACtB,MACEH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAEnBE,EAAQ,CAAE,MAAAM,EAAO,OAAAC,EAAQ,CAC3B,CAAC,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAAE,IAAK,YAAY,CAAE,EAC9C,IAAMK,EAAe,UAAUL,CAAO,CAC/C,MACEE,EAAQ,MAAM,CAElB,EAAG,CAACF,CAAO,CAAC,EACLC,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs548.js"),l=require("react"),s=require("./index.cjs549.js"),i=require("./index.cjs550.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs449.js"),g=require("./index.cjs490.js");function S(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=S(y);function E(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=R(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function R(n){const[e,t]=a.useState(),r=a.useRef(null),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=E(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(CSS.escape(s.animationName));if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function v(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
2
  //# sourceMappingURL=index.cjs455.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs455.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,GAAIH,EAAO,CAAE,IAAKC,EAAK,QAASG,CAAO,CAAE,CAAC,CAAI,CAAC,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs455.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(e){if(r.contains(e))return e;var n=b(e);return n&&r.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",r,". Doing nothing"),null)}).filter(function(e){return!!e})},D=function(r,u,e,n){var i=O(u,Array.isArray(r)?r:[r]);p[e]||(p[e]=new WeakMap);var s=p[e],l=[],o=new Set,S=new Set(i),y=function(t){!t||o.has(t)||(o.add(t),y(t.parentNode))};i.forEach(y);var A=function(t){!t||S.has(t)||Array.prototype.forEach.call(t.children,function(a){if(o.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(s.get(a)||0)+1;f.set(a,w),s.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(e,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),o.clear(),h++,function(){l.forEach(function(t){var a=f.get(t)-1,c=s.get(t)-1;f.set(t,a),s.set(t,c),a||(v.has(t)||t.removeAttribute(n),v.delete(t)),c||t.removeAttribute(e)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,e){e===void 0&&(e="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),D(n,i,e,"aria-hidden")):function(){return null}};exports.hideOthers=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs473.js"),p=require("./index.cjs230.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const d=n(l),v=n(f);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],y=b.reduce((e,t)=>{const i=m.createSlot(`Primitive.${t}`),r=d.forwardRef((o,c)=>{const{asChild:s,...a}=o,u=s?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsxRuntimeExports.jsx(u,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O(e,t){e&&v.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=y;exports.dispatchDiscreteCustomEvent=O;
2
2
  //# sourceMappingURL=index.cjs456.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs456.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs456.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Slot","createSlot","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"+dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,SACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAAA,WAAW,aAAaF,CAAI,EAAE,EACrCG,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUN,EAAOD,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZU,EAAAA,kBAAAA,IAAID,EAAM,CAAE,GAAGD,EAAgB,IAAKF,EAAc,CAC3E,CAAC,EACD,OAAAH,EAAK,YAAc,aAAaH,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGG,CAAI,CACrC,EAAG,CAAA,CAAE,EACL,SAASQ,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),b=require("./index.cjs445.js"),f=require("./index.cjs230.js");function x(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=x(g);function d(e){const t=j(e),r=l.forwardRef((n,o)=>{const{children:i,...c}=n,s=l.Children.toArray(i),a=s.find(E);if(a){const u=a.props.children,S=s.map(p=>p===a?l.Children.count(u)>1?l.Children.only(null):l.isValidElement(u)?u.props.children:null:p);return f.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(u)?l.cloneElement(u,void 0,S):null})}return f.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}var m=d("Slot");function j(e){const t=l.forwardRef((r,n)=>{const{children:o,...i}=r;if(l.isValidElement(o)){const c=C(o),s=O(i,o.props);return o.type!==l.Fragment&&(s.ref=n?b.composeRefs(n,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var y=Symbol("radix.slottable");function R(e){const t=({children:r})=>f.jsxRuntimeExports.jsx(f.jsxRuntimeExports.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=y,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===y}function O(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const a=i(...s);return o(...s),a}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function C(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}exports.Root=m;exports.Slot=m;exports.createSlot=d;exports.createSlottable=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs648.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
2
2
  //# sourceMappingURL=index.cjs457.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs457.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","Slot","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b"],"mappings":"icAKA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACpL,CACA,OAAuBE,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACrF,CAAC,EACD,OAAAJ,EAAM,YAAc,GAAGH,CAAS,QACzBG,CACT,CACG,IAACa,EAAuBjB,EAAW,MAAM,EAE5C,SAASG,EAAgBF,EAAW,CAClC,MAAMC,EAAYG,EAAM,WAAW,CAACC,EAAOC,IAAiB,CAC1D,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMU,EAAcC,EAAcX,CAAQ,EACpCY,EAASC,EAAWZ,EAAWD,EAAS,KAAK,EACnD,OAAIA,EAAS,OAASH,EAAM,WAC1Be,EAAO,IAAMb,EAAee,EAAAA,YAAYf,EAAcW,CAAW,EAAIA,GAEhEb,EAAM,aAAaG,EAAUY,CAAM,CAC5C,CACA,OAAOf,EAAM,SAAS,MAAMG,CAAQ,EAAI,EAAIH,EAAM,SAAS,KAAK,IAAI,EAAI,IAC1E,CAAC,EACD,OAAAH,EAAU,YAAc,GAAGD,CAAS,aAC7BC,CACT,CACA,IAAIqB,EAAuB,OAAO,iBAAiB,EAEnD,SAASC,EAAgBvB,EAAW,CAClC,MAAMwB,EAAa,CAAC,CAAE,SAAAjB,KACGQ,wBAAIU,EAAAA,kBAAAA,SAAW,CAAE,SAAAlB,EAAU,EAEpD,OAAAiB,EAAW,YAAc,GAAGxB,CAAS,aACrCwB,EAAW,UAAYF,EAChBE,CACT,CAEA,SAASb,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAK,OAAOA,EAAM,MAAS,YAAc,cAAeA,EAAM,MAAQA,EAAM,KAAK,YAAcQ,CAClI,CACA,SAASF,EAAWZ,EAAWkB,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,CAAU,EACrC,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBrB,EAAUoB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrC,MAAMC,EAASF,EAAe,GAAGC,CAAI,EACrC,OAAAF,EAAc,GAAGE,CAAI,EACdC,CACT,EACSH,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAc,EACtDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAEtF,CACA,MAAO,CAAE,GAAGtB,EAAW,GAAGmB,CAAa,CACzC,CACA,SAAST,EAAce,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs457.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACT,OAASC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACT,CACF,EAAG,CAAA,CAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}