@anoki/fse-ui 2.2.0-4-SNAPSHOT5 → 2.2.0-4-SNAPSHOT6

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 (1456) hide show
  1. package/dist/components/ui/TitleSection/TitleSection.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs104.js +1 -1
  6. package/dist/index.cjs105.js +1 -1
  7. package/dist/index.cjs107.js +1 -1
  8. package/dist/index.cjs11.js +1 -1
  9. package/dist/index.cjs112.js +1 -1
  10. package/dist/index.cjs113.js +1 -1
  11. package/dist/index.cjs114.js +1 -1
  12. package/dist/index.cjs115.js +1 -1
  13. package/dist/index.cjs116.js +1 -1
  14. package/dist/index.cjs117.js +1 -1
  15. package/dist/index.cjs118.js +1 -1
  16. package/dist/index.cjs119.js +1 -1
  17. package/dist/index.cjs12.js +1 -1
  18. package/dist/index.cjs120.js +1 -1
  19. package/dist/index.cjs121.js +1 -1
  20. package/dist/index.cjs123.js +1 -1
  21. package/dist/index.cjs125.js +1 -1
  22. package/dist/index.cjs126.js +1 -1
  23. package/dist/index.cjs128.js +1 -1
  24. package/dist/index.cjs129.js +1 -1
  25. package/dist/index.cjs13.js +1 -1
  26. package/dist/index.cjs130.js +1 -1
  27. package/dist/index.cjs131.js +1 -1
  28. package/dist/index.cjs133.js +1 -1
  29. package/dist/index.cjs134.js +1 -1
  30. package/dist/index.cjs136.js +1 -1
  31. package/dist/index.cjs137.js +1 -1
  32. package/dist/index.cjs138.js +1 -1
  33. package/dist/index.cjs141.js +1 -1
  34. package/dist/index.cjs142.js +1 -1
  35. package/dist/index.cjs143.js +1 -1
  36. package/dist/index.cjs144.js +1 -1
  37. package/dist/index.cjs145.js +1 -1
  38. package/dist/index.cjs148.js +1 -1
  39. package/dist/index.cjs15.js +1 -1
  40. package/dist/index.cjs150.js +1 -1
  41. package/dist/index.cjs152.js +1 -1
  42. package/dist/index.cjs153.js +1 -1
  43. package/dist/index.cjs154.js +1 -1
  44. package/dist/index.cjs155.js +1 -1
  45. package/dist/index.cjs159.js +1 -1
  46. package/dist/index.cjs16.js +1 -1
  47. package/dist/index.cjs160.js +1 -1
  48. package/dist/index.cjs161.js +1 -1
  49. package/dist/index.cjs162.js +1 -1
  50. package/dist/index.cjs163.js +1 -1
  51. package/dist/index.cjs164.js +1 -1
  52. package/dist/index.cjs165.js +1 -1
  53. package/dist/index.cjs166.js +1 -1
  54. package/dist/index.cjs167.js +1 -1
  55. package/dist/index.cjs168.js +1 -1
  56. package/dist/index.cjs169.js +1 -1
  57. package/dist/index.cjs17.js +1 -1
  58. package/dist/index.cjs170.js +1 -1
  59. package/dist/index.cjs171.js +1 -1
  60. package/dist/index.cjs172.js +1 -1
  61. package/dist/index.cjs173.js +1 -1
  62. package/dist/index.cjs174.js +1 -1
  63. package/dist/index.cjs175.js +1 -1
  64. package/dist/index.cjs176.js +1 -1
  65. package/dist/index.cjs177.js +1 -1
  66. package/dist/index.cjs178.js +1 -1
  67. package/dist/index.cjs179.js +1 -1
  68. package/dist/index.cjs18.js +1 -1
  69. package/dist/index.cjs180.js +1 -1
  70. package/dist/index.cjs181.js +1 -1
  71. package/dist/index.cjs182.js +1 -1
  72. package/dist/index.cjs183.js +1 -1
  73. package/dist/index.cjs184.js +1 -1
  74. package/dist/index.cjs185.js +1 -1
  75. package/dist/index.cjs186.js +1 -1
  76. package/dist/index.cjs187.js +1 -1
  77. package/dist/index.cjs188.js +1 -1
  78. package/dist/index.cjs189.js +1 -1
  79. package/dist/index.cjs190.js +1 -1
  80. package/dist/index.cjs191.js +1 -1
  81. package/dist/index.cjs192.js +1 -1
  82. package/dist/index.cjs194.js +1 -1
  83. package/dist/index.cjs195.js +1 -1
  84. package/dist/index.cjs196.js +1 -1
  85. package/dist/index.cjs197.js +1 -1
  86. package/dist/index.cjs199.js +1 -1
  87. package/dist/index.cjs20.js +1 -1
  88. package/dist/index.cjs200.js +1 -1
  89. package/dist/index.cjs201.js +1 -1
  90. package/dist/index.cjs202.js +1 -1
  91. package/dist/index.cjs203.js +1 -1
  92. package/dist/index.cjs204.js +1 -1
  93. package/dist/index.cjs205.js +1 -1
  94. package/dist/index.cjs206.js +1 -1
  95. package/dist/index.cjs207.js +1 -1
  96. package/dist/index.cjs208.js +1 -1
  97. package/dist/index.cjs21.js +1 -1
  98. package/dist/index.cjs210.js +1 -1
  99. package/dist/index.cjs211.js +1 -1
  100. package/dist/index.cjs212.js +1 -1
  101. package/dist/index.cjs214.js +1 -1
  102. package/dist/index.cjs215.js +1 -1
  103. package/dist/index.cjs216.js +1 -1
  104. package/dist/index.cjs217.js +1 -1
  105. package/dist/index.cjs218.js +1 -1
  106. package/dist/index.cjs219.js +1 -1
  107. package/dist/index.cjs22.js +1 -1
  108. package/dist/index.cjs220.js +1 -1
  109. package/dist/index.cjs221.js +1 -1
  110. package/dist/index.cjs223.js +1 -1
  111. package/dist/index.cjs224.js +1 -1
  112. package/dist/index.cjs225.js +1 -1
  113. package/dist/index.cjs226.js +1 -1
  114. package/dist/index.cjs227.js +1 -1
  115. package/dist/index.cjs228.js +1 -1
  116. package/dist/index.cjs229.js +1 -1
  117. package/dist/index.cjs230.js +1 -1
  118. package/dist/index.cjs232.js +1 -1
  119. package/dist/index.cjs234.js +1 -1
  120. package/dist/index.cjs235.js +1 -1
  121. package/dist/index.cjs238.js +1 -1
  122. package/dist/index.cjs238.js.map +1 -1
  123. package/dist/index.cjs239.js +1 -1
  124. package/dist/index.cjs239.js.map +1 -1
  125. package/dist/index.cjs24.js +1 -1
  126. package/dist/index.cjs243.js +2 -0
  127. package/dist/index.cjs243.js.map +1 -0
  128. package/dist/{index.cjs277.js → index.cjs244.js} +2 -2
  129. package/dist/{index.cjs277.js.map → index.cjs244.js.map} +1 -1
  130. package/dist/index.cjs245.js +2 -0
  131. package/dist/index.cjs245.js.map +1 -0
  132. package/dist/{index.cjs284.js → index.cjs251.js} +2 -2
  133. package/dist/{index.cjs284.js.map → index.cjs251.js.map} +1 -1
  134. package/dist/index.cjs253.js +1 -1
  135. package/dist/index.cjs253.js.map +1 -1
  136. package/dist/index.cjs254.js +1 -1
  137. package/dist/index.cjs254.js.map +1 -1
  138. package/dist/index.cjs256.js +2 -0
  139. package/dist/index.cjs256.js.map +1 -0
  140. package/dist/{index.cjs290.js → index.cjs257.js} +2 -2
  141. package/dist/index.cjs257.js.map +1 -0
  142. package/dist/index.cjs259.js +1 -1
  143. package/dist/index.cjs259.js.map +1 -1
  144. package/dist/{index.cjs296.js → index.cjs263.js} +2 -2
  145. package/dist/{index.cjs296.js.map → index.cjs263.js.map} +1 -1
  146. package/dist/index.cjs264.js +1 -1
  147. package/dist/index.cjs264.js.map +1 -1
  148. package/dist/{index.cjs298.js → index.cjs265.js} +1 -1
  149. package/dist/{index.cjs298.js.map → index.cjs265.js.map} +1 -1
  150. package/dist/index.cjs268.js +8 -0
  151. package/dist/index.cjs268.js.map +1 -0
  152. package/dist/index.cjs27.js +1 -1
  153. package/dist/index.cjs272.js +1 -1
  154. package/dist/index.cjs272.js.map +1 -1
  155. package/dist/{index.cjs306.js → index.cjs273.js} +2 -2
  156. package/dist/{index.cjs306.js.map → index.cjs273.js.map} +1 -1
  157. package/dist/{index.cjs307.js → index.cjs274.js} +1 -1
  158. package/dist/{index.cjs307.js.map → index.cjs274.js.map} +1 -1
  159. package/dist/index.cjs275.js +2 -0
  160. package/dist/index.cjs275.js.map +1 -0
  161. package/dist/index.cjs276.js +1 -1
  162. package/dist/index.cjs276.js.map +1 -1
  163. package/dist/index.cjs278.js +5 -1
  164. package/dist/index.cjs278.js.map +1 -1
  165. package/dist/index.cjs279.js +2 -0
  166. package/dist/index.cjs279.js.map +1 -0
  167. package/dist/index.cjs28.js +1 -1
  168. package/dist/{index.cjs312.js → index.cjs280.js} +1 -1
  169. package/dist/{index.cjs312.js.map → index.cjs280.js.map} +1 -1
  170. package/dist/index.cjs281.js +2 -0
  171. package/dist/index.cjs281.js.map +1 -0
  172. package/dist/{index.cjs314.js → index.cjs282.js} +2 -2
  173. package/dist/{index.cjs314.js.map → index.cjs282.js.map} +1 -1
  174. package/dist/index.cjs29.js +1 -1
  175. package/dist/index.cjs294.js +2 -0
  176. package/dist/index.cjs294.js.map +1 -0
  177. package/dist/index.cjs297.js +1 -1
  178. package/dist/index.cjs297.js.map +1 -1
  179. package/dist/index.cjs30.js +1 -1
  180. package/dist/index.cjs301.js +1 -7
  181. package/dist/index.cjs301.js.map +1 -1
  182. package/dist/index.cjs302.js +2 -0
  183. package/dist/index.cjs302.js.map +1 -0
  184. package/dist/{index.cjs336.js → index.cjs304.js} +2 -2
  185. package/dist/{index.cjs336.js.map → index.cjs304.js.map} +1 -1
  186. package/dist/index.cjs305.js +1 -1
  187. package/dist/index.cjs305.js.map +1 -1
  188. package/dist/index.cjs311.js +1 -1
  189. package/dist/index.cjs311.js.map +1 -1
  190. package/dist/index.cjs313.js +6 -1
  191. package/dist/index.cjs313.js.map +1 -1
  192. package/dist/{index.cjs261.js → index.cjs318.js} +2 -2
  193. package/dist/{index.cjs261.js.map → index.cjs318.js.map} +1 -1
  194. package/dist/{index.cjs258.js → index.cjs319.js} +2 -2
  195. package/dist/{index.cjs258.js.map → index.cjs319.js.map} +1 -1
  196. package/dist/index.cjs32.js +1 -1
  197. package/dist/index.cjs320.js +2 -0
  198. package/dist/index.cjs320.js.map +1 -0
  199. package/dist/index.cjs326.js +1 -1
  200. package/dist/index.cjs326.js.map +1 -1
  201. package/dist/index.cjs329.js +1 -1
  202. package/dist/index.cjs329.js.map +1 -1
  203. package/dist/index.cjs33.js +1 -1
  204. package/dist/{index.cjs355.js → index.cjs330.js} +1 -1
  205. package/dist/{index.cjs355.js.map → index.cjs330.js.map} +1 -1
  206. package/dist/{index.cjs357.js → index.cjs332.js} +2 -2
  207. package/dist/{index.cjs357.js.map → index.cjs332.js.map} +1 -1
  208. package/dist/index.cjs333.js +1 -1
  209. package/dist/index.cjs333.js.map +1 -1
  210. package/dist/index.cjs334.js +1 -1
  211. package/dist/index.cjs334.js.map +1 -1
  212. package/dist/index.cjs339.js +2 -0
  213. package/dist/index.cjs339.js.map +1 -0
  214. package/dist/{index.cjs365.js → index.cjs340.js} +2 -2
  215. package/dist/{index.cjs365.js.map → index.cjs340.js.map} +1 -1
  216. package/dist/{index.cjs372.js → index.cjs347.js} +2 -2
  217. package/dist/{index.cjs372.js.map → index.cjs347.js.map} +1 -1
  218. package/dist/index.cjs348.js +2 -0
  219. package/dist/index.cjs348.js.map +1 -0
  220. package/dist/{index.cjs374.js → index.cjs349.js} +1 -1
  221. package/dist/{index.cjs374.js.map → index.cjs349.js.map} +1 -1
  222. package/dist/index.cjs351.js +1 -1
  223. package/dist/index.cjs351.js.map +1 -1
  224. package/dist/{index.cjs377.js → index.cjs352.js} +1 -1
  225. package/dist/{index.cjs377.js.map → index.cjs352.js.map} +1 -1
  226. package/dist/index.cjs358.js +1 -1
  227. package/dist/index.cjs358.js.map +1 -1
  228. package/dist/index.cjs359.js +1 -1
  229. package/dist/index.cjs359.js.map +1 -1
  230. package/dist/index.cjs36.js +1 -1
  231. package/dist/{index.cjs385.js → index.cjs360.js} +1 -1
  232. package/dist/{index.cjs385.js.map → index.cjs360.js.map} +1 -1
  233. package/dist/{index.cjs386.js → index.cjs361.js} +2 -2
  234. package/dist/{index.cjs386.js.map → index.cjs361.js.map} +1 -1
  235. package/dist/index.cjs364.js +1 -1
  236. package/dist/index.cjs364.js.map +1 -1
  237. package/dist/{index.cjs393.js → index.cjs368.js} +2 -2
  238. package/dist/{index.cjs393.js.map → index.cjs368.js.map} +1 -1
  239. package/dist/{index.cjs394.js → index.cjs369.js} +1 -1
  240. package/dist/{index.cjs394.js.map → index.cjs369.js.map} +1 -1
  241. package/dist/index.cjs37.js +1 -1
  242. package/dist/index.cjs370.js +2 -0
  243. package/dist/{index.cjs395.js.map → index.cjs370.js.map} +1 -1
  244. package/dist/index.cjs373.js +1 -1
  245. package/dist/index.cjs373.js.map +1 -1
  246. package/dist/index.cjs38.js +1 -1
  247. package/dist/index.cjs389.js +1 -1
  248. package/dist/index.cjs389.js.map +1 -1
  249. package/dist/{index.cjs415.js → index.cjs390.js} +2 -2
  250. package/dist/{index.cjs415.js.map → index.cjs390.js.map} +1 -1
  251. package/dist/index.cjs40.js +1 -1
  252. package/dist/{index.cjs432.js → index.cjs407.js} +2 -2
  253. package/dist/{index.cjs432.js.map → index.cjs407.js.map} +1 -1
  254. package/dist/{index.cjs433.js → index.cjs408.js} +2 -2
  255. package/dist/{index.cjs433.js.map → index.cjs408.js.map} +1 -1
  256. package/dist/index.cjs41.js +1 -1
  257. package/dist/{index.cjs437.js → index.cjs412.js} +1 -1
  258. package/dist/{index.cjs437.js.map → index.cjs412.js.map} +1 -1
  259. package/dist/{index.cjs438.js → index.cjs413.js} +2 -2
  260. package/dist/{index.cjs438.js.map → index.cjs413.js.map} +1 -1
  261. package/dist/{index.cjs443.js → index.cjs418.js} +2 -2
  262. package/dist/{index.cjs443.js.map → index.cjs418.js.map} +1 -1
  263. package/dist/index.cjs424.js +2 -0
  264. package/dist/index.cjs424.js.map +1 -0
  265. package/dist/index.cjs427.js +2 -0
  266. package/dist/index.cjs427.js.map +1 -0
  267. package/dist/index.cjs43.js +1 -1
  268. package/dist/index.cjs435.js +2 -0
  269. package/dist/index.cjs435.js.map +1 -0
  270. package/dist/{index.cjs252.js → index.cjs439.js} +1 -1
  271. package/dist/{index.cjs252.js.map → index.cjs439.js.map} +1 -1
  272. package/dist/index.cjs44.js +1 -1
  273. package/dist/index.cjs440.js +2 -0
  274. package/dist/index.cjs440.js.map +1 -0
  275. package/dist/{index.cjs260.js → index.cjs441.js} +2 -2
  276. package/dist/{index.cjs260.js.map → index.cjs441.js.map} +1 -1
  277. package/dist/index.cjs444.js +2 -0
  278. package/dist/index.cjs444.js.map +1 -0
  279. package/dist/index.cjs449.js +1 -1
  280. package/dist/index.cjs449.js.map +1 -1
  281. package/dist/index.cjs45.js +1 -1
  282. package/dist/index.cjs453.js +1 -1
  283. package/dist/index.cjs454.js +1 -1
  284. package/dist/index.cjs455.js +1 -27
  285. package/dist/index.cjs455.js.map +1 -1
  286. package/dist/index.cjs456.js +1 -1
  287. package/dist/index.cjs457.js +1 -1
  288. package/dist/index.cjs458.js +27 -1
  289. package/dist/index.cjs458.js.map +1 -1
  290. package/dist/index.cjs459.js +1 -1
  291. package/dist/index.cjs46.js +1 -1
  292. package/dist/index.cjs460.js +1 -1
  293. package/dist/index.cjs460.js.map +1 -1
  294. package/dist/index.cjs461.js +1 -2
  295. package/dist/index.cjs461.js.map +1 -1
  296. package/dist/index.cjs462.js +1 -1
  297. package/dist/index.cjs462.js.map +1 -1
  298. package/dist/index.cjs463.js +1 -1
  299. package/dist/index.cjs463.js.map +1 -1
  300. package/dist/index.cjs464.js +1 -1
  301. package/dist/index.cjs464.js.map +1 -1
  302. package/dist/index.cjs465.js +1 -1
  303. package/dist/index.cjs466.js +1 -1
  304. package/dist/index.cjs466.js.map +1 -1
  305. package/dist/index.cjs467.js +1 -1
  306. package/dist/index.cjs467.js.map +1 -1
  307. package/dist/index.cjs47.js +1 -1
  308. package/dist/index.cjs470.js +1 -1
  309. package/dist/index.cjs470.js.map +1 -1
  310. package/dist/index.cjs471.js +2 -1
  311. package/dist/index.cjs471.js.map +1 -1
  312. package/dist/index.cjs475.js +1 -1
  313. package/dist/index.cjs475.js.map +1 -1
  314. package/dist/{index.cjs533.js → index.cjs476.js} +1 -1
  315. package/dist/index.cjs476.js.map +1 -0
  316. package/dist/index.cjs477.js +2 -0
  317. package/dist/index.cjs477.js.map +1 -0
  318. package/dist/{index.cjs472.js → index.cjs478.js} +2 -2
  319. package/dist/{index.cjs472.js.map → index.cjs478.js.map} +1 -1
  320. package/dist/{index.cjs473.js → index.cjs479.js} +2 -2
  321. package/dist/{index.cjs473.js.map → index.cjs479.js.map} +1 -1
  322. package/dist/{index.cjs474.js → index.cjs480.js} +1 -1
  323. package/dist/index.cjs480.js.map +1 -0
  324. package/dist/index.cjs481.js +1 -1
  325. package/dist/index.cjs481.js.map +1 -1
  326. package/dist/index.cjs482.js +1 -1
  327. package/dist/index.cjs482.js.map +1 -1
  328. package/dist/index.cjs483.js +1 -1
  329. package/dist/index.cjs483.js.map +1 -1
  330. package/dist/index.cjs484.js +1 -1
  331. package/dist/index.cjs484.js.map +1 -1
  332. package/dist/index.cjs485.js +1 -1
  333. package/dist/index.cjs485.js.map +1 -1
  334. package/dist/index.cjs486.js +1 -1
  335. package/dist/index.cjs486.js.map +1 -1
  336. package/dist/index.cjs487.js +1 -1
  337. package/dist/index.cjs487.js.map +1 -1
  338. package/dist/index.cjs488.js +1 -1
  339. package/dist/index.cjs488.js.map +1 -1
  340. package/dist/index.cjs489.js +1 -1
  341. package/dist/index.cjs489.js.map +1 -1
  342. package/dist/index.cjs490.js +1 -1
  343. package/dist/index.cjs490.js.map +1 -1
  344. package/dist/index.cjs491.js +1 -1
  345. package/dist/index.cjs491.js.map +1 -1
  346. package/dist/index.cjs492.js +1 -1
  347. package/dist/index.cjs492.js.map +1 -1
  348. package/dist/index.cjs493.js +1 -1
  349. package/dist/index.cjs493.js.map +1 -1
  350. package/dist/index.cjs494.js +1 -1
  351. package/dist/index.cjs494.js.map +1 -1
  352. package/dist/index.cjs495.js +1 -1
  353. package/dist/index.cjs495.js.map +1 -1
  354. package/dist/index.cjs496.js +1 -1
  355. package/dist/index.cjs496.js.map +1 -1
  356. package/dist/index.cjs497.js +1 -1
  357. package/dist/index.cjs497.js.map +1 -1
  358. package/dist/index.cjs498.js +1 -1
  359. package/dist/index.cjs498.js.map +1 -1
  360. package/dist/index.cjs499.js +1 -1
  361. package/dist/index.cjs499.js.map +1 -1
  362. package/dist/index.cjs50.js +1 -1
  363. package/dist/index.cjs500.js +1 -1
  364. package/dist/index.cjs500.js.map +1 -1
  365. package/dist/index.cjs501.js +1 -1
  366. package/dist/index.cjs501.js.map +1 -1
  367. package/dist/index.cjs502.js +1 -1
  368. package/dist/index.cjs502.js.map +1 -1
  369. package/dist/index.cjs503.js +1 -1
  370. package/dist/index.cjs503.js.map +1 -1
  371. package/dist/index.cjs504.js +1 -1
  372. package/dist/index.cjs504.js.map +1 -1
  373. package/dist/index.cjs505.js +1 -1
  374. package/dist/index.cjs505.js.map +1 -1
  375. package/dist/index.cjs506.js +1 -1
  376. package/dist/index.cjs506.js.map +1 -1
  377. package/dist/index.cjs507.js +1 -1
  378. package/dist/index.cjs507.js.map +1 -1
  379. package/dist/index.cjs508.js +1 -1
  380. package/dist/index.cjs508.js.map +1 -1
  381. package/dist/index.cjs509.js +1 -1
  382. package/dist/index.cjs509.js.map +1 -1
  383. package/dist/index.cjs51.js +1 -1
  384. package/dist/index.cjs510.js +1 -1
  385. package/dist/index.cjs510.js.map +1 -1
  386. package/dist/index.cjs511.js +1 -1
  387. package/dist/index.cjs511.js.map +1 -1
  388. package/dist/index.cjs512.js +1 -1
  389. package/dist/index.cjs512.js.map +1 -1
  390. package/dist/index.cjs513.js +1 -1
  391. package/dist/index.cjs513.js.map +1 -1
  392. package/dist/index.cjs514.js +1 -1
  393. package/dist/index.cjs514.js.map +1 -1
  394. package/dist/index.cjs515.js +1 -1
  395. package/dist/index.cjs515.js.map +1 -1
  396. package/dist/index.cjs516.js +1 -1
  397. package/dist/index.cjs516.js.map +1 -1
  398. package/dist/index.cjs517.js +1 -1
  399. package/dist/index.cjs517.js.map +1 -1
  400. package/dist/index.cjs518.js +1 -1
  401. package/dist/index.cjs518.js.map +1 -1
  402. package/dist/index.cjs519.js +1 -1
  403. package/dist/index.cjs519.js.map +1 -1
  404. package/dist/index.cjs52.js +1 -1
  405. package/dist/index.cjs520.js +1 -1
  406. package/dist/index.cjs520.js.map +1 -1
  407. package/dist/index.cjs521.js +1 -1
  408. package/dist/index.cjs521.js.map +1 -1
  409. package/dist/index.cjs522.js +1 -1
  410. package/dist/index.cjs523.js +1 -1
  411. package/dist/index.cjs523.js.map +1 -1
  412. package/dist/index.cjs524.js +1 -1
  413. package/dist/index.cjs524.js.map +1 -1
  414. package/dist/index.cjs525.js +1 -1
  415. package/dist/index.cjs525.js.map +1 -1
  416. package/dist/index.cjs526.js +1 -1
  417. package/dist/index.cjs526.js.map +1 -1
  418. package/dist/index.cjs527.js +1 -1
  419. package/dist/index.cjs527.js.map +1 -1
  420. package/dist/index.cjs528.js +1 -1
  421. package/dist/index.cjs528.js.map +1 -1
  422. package/dist/index.cjs529.js +1 -1
  423. package/dist/index.cjs529.js.map +1 -1
  424. package/dist/index.cjs53.js +1 -1
  425. package/dist/index.cjs530.js +1 -1
  426. package/dist/index.cjs530.js.map +1 -1
  427. package/dist/index.cjs531.js +1 -1
  428. package/dist/index.cjs531.js.map +1 -1
  429. package/dist/index.cjs532.js +1 -1
  430. package/dist/index.cjs532.js.map +1 -1
  431. package/dist/index.cjs54.js +1 -1
  432. package/dist/index.cjs55.js +1 -1
  433. package/dist/index.cjs555.js +1 -1
  434. package/dist/index.cjs555.js.map +1 -1
  435. package/dist/index.cjs556.js +1 -1
  436. package/dist/index.cjs556.js.map +1 -1
  437. package/dist/index.cjs557.js +1 -1
  438. package/dist/index.cjs557.js.map +1 -1
  439. package/dist/index.cjs558.js +1 -1
  440. package/dist/index.cjs558.js.map +1 -1
  441. package/dist/index.cjs559.js +1 -1
  442. package/dist/index.cjs559.js.map +1 -1
  443. package/dist/index.cjs560.js +1 -1
  444. package/dist/index.cjs560.js.map +1 -1
  445. package/dist/index.cjs561.js +1 -1
  446. package/dist/index.cjs561.js.map +1 -1
  447. package/dist/index.cjs562.js +1 -1
  448. package/dist/index.cjs562.js.map +1 -1
  449. package/dist/index.cjs563.js +1 -1
  450. package/dist/index.cjs563.js.map +1 -1
  451. package/dist/index.cjs564.js +1 -1
  452. package/dist/index.cjs564.js.map +1 -1
  453. package/dist/index.cjs565.js +1 -1
  454. package/dist/index.cjs565.js.map +1 -1
  455. package/dist/index.cjs566.js +1 -1
  456. package/dist/index.cjs566.js.map +1 -1
  457. package/dist/index.cjs567.js +1 -1
  458. package/dist/index.cjs567.js.map +1 -1
  459. package/dist/index.cjs568.js +1 -1
  460. package/dist/index.cjs568.js.map +1 -1
  461. package/dist/{index.cjs535.js → index.cjs569.js} +1 -1
  462. package/dist/index.cjs569.js.map +1 -0
  463. package/dist/index.cjs57.js +1 -1
  464. package/dist/{index.cjs534.js → index.cjs570.js} +1 -1
  465. package/dist/index.cjs570.js.map +1 -0
  466. package/dist/index.cjs571.js +2 -0
  467. package/dist/index.cjs571.js.map +1 -0
  468. package/dist/index.cjs572.js +1 -1
  469. package/dist/index.cjs572.js.map +1 -1
  470. package/dist/index.cjs573.js +1 -1
  471. package/dist/index.cjs573.js.map +1 -1
  472. package/dist/index.cjs574.js +1 -1
  473. package/dist/index.cjs574.js.map +1 -1
  474. package/dist/index.cjs575.js +1 -1
  475. package/dist/index.cjs575.js.map +1 -1
  476. package/dist/index.cjs576.js +1 -1
  477. package/dist/index.cjs576.js.map +1 -1
  478. package/dist/index.cjs577.js +1 -1
  479. package/dist/index.cjs577.js.map +1 -1
  480. package/dist/index.cjs578.js +1 -1
  481. package/dist/index.cjs578.js.map +1 -1
  482. package/dist/index.cjs58.js +1 -1
  483. package/dist/index.cjs582.js +1 -1
  484. package/dist/index.cjs582.js.map +1 -1
  485. package/dist/index.cjs583.js +2 -0
  486. package/dist/{index.cjs579.js.map → index.cjs583.js.map} +1 -1
  487. package/dist/{index.cjs580.js → index.cjs584.js} +2 -2
  488. package/dist/{index.cjs580.js.map → index.cjs584.js.map} +1 -1
  489. package/dist/{index.cjs581.js → index.cjs585.js} +2 -2
  490. package/dist/{index.cjs581.js.map → index.cjs585.js.map} +1 -1
  491. package/dist/index.cjs586.js +1 -1
  492. package/dist/index.cjs586.js.map +1 -1
  493. package/dist/index.cjs587.js +1 -38
  494. package/dist/index.cjs587.js.map +1 -1
  495. package/dist/index.cjs588.js +1 -1
  496. package/dist/index.cjs588.js.map +1 -1
  497. package/dist/index.cjs589.js +1 -1
  498. package/dist/index.cjs589.js.map +1 -1
  499. package/dist/index.cjs590.js +38 -1
  500. package/dist/index.cjs590.js.map +1 -1
  501. package/dist/index.cjs591.js +1 -1
  502. package/dist/index.cjs591.js.map +1 -1
  503. package/dist/index.cjs592.js +1 -1
  504. package/dist/index.cjs592.js.map +1 -1
  505. package/dist/index.cjs593.js +1 -1
  506. package/dist/index.cjs593.js.map +1 -1
  507. package/dist/index.cjs594.js +1 -1
  508. package/dist/index.cjs594.js.map +1 -1
  509. package/dist/index.cjs595.js +1 -1
  510. package/dist/index.cjs595.js.map +1 -1
  511. package/dist/index.cjs597.js +1 -1
  512. package/dist/index.cjs597.js.map +1 -1
  513. package/dist/index.cjs598.js +1 -1
  514. package/dist/index.cjs598.js.map +1 -1
  515. package/dist/index.cjs599.js +1 -1
  516. package/dist/index.cjs599.js.map +1 -1
  517. package/dist/index.cjs6.js +1 -1
  518. package/dist/index.cjs60.js +1 -1
  519. package/dist/index.cjs600.js +2 -0
  520. package/dist/index.cjs600.js.map +1 -0
  521. package/dist/index.cjs61.js +1 -1
  522. package/dist/index.cjs611.js +1 -1
  523. package/dist/index.cjs615.js +1 -1
  524. package/dist/index.cjs615.js.map +1 -1
  525. package/dist/{index.cjs613.js → index.cjs616.js} +1 -1
  526. package/dist/{index.cjs613.js.map → index.cjs616.js.map} +1 -1
  527. package/dist/{index.cjs614.js → index.cjs617.js} +2 -2
  528. package/dist/{index.cjs614.js.map → index.cjs617.js.map} +1 -1
  529. package/dist/index.cjs618.js +1 -1
  530. package/dist/index.cjs618.js.map +1 -1
  531. package/dist/index.cjs62.js +1 -1
  532. package/dist/index.cjs620.js +1 -1
  533. package/dist/index.cjs621.js +1 -1
  534. package/dist/index.cjs624.js +1 -1
  535. package/dist/index.cjs624.js.map +1 -1
  536. package/dist/index.cjs625.js +1 -1
  537. package/dist/index.cjs625.js.map +1 -1
  538. package/dist/index.cjs626.js +1 -1
  539. package/dist/index.cjs626.js.map +1 -1
  540. package/dist/index.cjs627.js +1 -1
  541. package/dist/index.cjs627.js.map +1 -1
  542. package/dist/index.cjs628.js +1 -1
  543. package/dist/index.cjs628.js.map +1 -1
  544. package/dist/index.cjs629.js +1 -1
  545. package/dist/index.cjs629.js.map +1 -1
  546. package/dist/index.cjs63.js +1 -1
  547. package/dist/index.cjs630.js +1 -1
  548. package/dist/index.cjs630.js.map +1 -1
  549. package/dist/index.cjs631.js +1 -1
  550. package/dist/index.cjs631.js.map +1 -1
  551. package/dist/index.cjs632.js +1 -1
  552. package/dist/index.cjs632.js.map +1 -1
  553. package/dist/index.cjs633.js +1 -1
  554. package/dist/index.cjs633.js.map +1 -1
  555. package/dist/index.cjs634.js +1 -1
  556. package/dist/index.cjs634.js.map +1 -1
  557. package/dist/index.cjs635.js +1 -1
  558. package/dist/index.cjs635.js.map +1 -1
  559. package/dist/index.cjs636.js +1 -1
  560. package/dist/index.cjs636.js.map +1 -1
  561. package/dist/index.cjs637.js +1 -1
  562. package/dist/index.cjs637.js.map +1 -1
  563. package/dist/index.cjs638.js +1 -1
  564. package/dist/index.cjs638.js.map +1 -1
  565. package/dist/index.cjs639.js +1 -1
  566. package/dist/index.cjs639.js.map +1 -1
  567. package/dist/index.cjs640.js +1 -1
  568. package/dist/index.cjs640.js.map +1 -1
  569. package/dist/index.cjs641.js +1 -1
  570. package/dist/index.cjs641.js.map +1 -1
  571. package/dist/index.cjs642.js +1 -1
  572. package/dist/index.cjs642.js.map +1 -1
  573. package/dist/index.cjs643.js +1 -1
  574. package/dist/index.cjs643.js.map +1 -1
  575. package/dist/index.cjs644.js +1 -1
  576. package/dist/index.cjs644.js.map +1 -1
  577. package/dist/index.cjs645.js +1 -1
  578. package/dist/index.cjs645.js.map +1 -1
  579. package/dist/index.cjs646.js +1 -1
  580. package/dist/index.cjs646.js.map +1 -1
  581. package/dist/index.cjs647.js +1 -1
  582. package/dist/index.cjs647.js.map +1 -1
  583. package/dist/index.cjs648.js +1 -1
  584. package/dist/index.cjs648.js.map +1 -1
  585. package/dist/index.cjs649.js +1 -1
  586. package/dist/index.cjs649.js.map +1 -1
  587. package/dist/index.cjs65.js +1 -1
  588. package/dist/index.cjs650.js +1 -1
  589. package/dist/index.cjs650.js.map +1 -1
  590. package/dist/index.cjs651.js +2 -0
  591. package/dist/index.cjs651.js.map +1 -0
  592. package/dist/index.cjs652.js +2 -0
  593. package/dist/index.cjs652.js.map +1 -0
  594. package/dist/index.cjs653.js +2 -0
  595. package/dist/index.cjs653.js.map +1 -0
  596. package/dist/index.cjs654.js +6 -0
  597. package/dist/index.cjs654.js.map +1 -0
  598. package/dist/index.cjs655.js +2 -0
  599. package/dist/index.cjs655.js.map +1 -0
  600. package/dist/index.cjs656.js +1 -5
  601. package/dist/index.cjs656.js.map +1 -1
  602. package/dist/index.cjs657.js +1 -1
  603. package/dist/index.cjs657.js.map +1 -1
  604. package/dist/index.cjs658.js +1 -1
  605. package/dist/index.cjs658.js.map +1 -1
  606. package/dist/index.cjs659.js +1 -1
  607. package/dist/index.cjs659.js.map +1 -1
  608. package/dist/index.cjs66.js +1 -1
  609. package/dist/index.cjs660.js +1 -1
  610. package/dist/index.cjs660.js.map +1 -1
  611. package/dist/index.cjs661.js +1 -1
  612. package/dist/index.cjs661.js.map +1 -1
  613. package/dist/index.cjs662.js +1 -1
  614. package/dist/index.cjs662.js.map +1 -1
  615. package/dist/index.cjs663.js +1 -1
  616. package/dist/index.cjs663.js.map +1 -1
  617. package/dist/index.cjs664.js +1 -1
  618. package/dist/index.cjs664.js.map +1 -1
  619. package/dist/index.cjs665.js +1 -1
  620. package/dist/index.cjs665.js.map +1 -1
  621. package/dist/index.cjs666.js +1 -1
  622. package/dist/index.cjs666.js.map +1 -1
  623. package/dist/index.cjs667.js +1 -1
  624. package/dist/index.cjs667.js.map +1 -1
  625. package/dist/index.cjs668.js +1 -1
  626. package/dist/index.cjs668.js.map +1 -1
  627. package/dist/index.cjs669.js +1 -1
  628. package/dist/index.cjs669.js.map +1 -1
  629. package/dist/index.cjs67.js +1 -1
  630. package/dist/index.cjs672.js +1 -1
  631. package/dist/index.cjs672.js.map +1 -1
  632. package/dist/index.cjs674.js +1 -1
  633. package/dist/index.cjs68.js +1 -1
  634. package/dist/index.cjs69.js +1 -1
  635. package/dist/index.cjs70.js +1 -1
  636. package/dist/index.cjs71.js +1 -1
  637. package/dist/index.cjs72.js +1 -1
  638. package/dist/index.cjs73.js +1 -1
  639. package/dist/index.cjs74.js +1 -1
  640. package/dist/index.cjs78.js +1 -1
  641. package/dist/index.cjs79.js +1 -1
  642. package/dist/index.cjs8.js +1 -1
  643. package/dist/index.cjs80.js +1 -1
  644. package/dist/index.cjs81.js +1 -1
  645. package/dist/index.cjs82.js +1 -1
  646. package/dist/index.cjs83.js +1 -1
  647. package/dist/index.cjs84.js +1 -1
  648. package/dist/index.cjs85.js +1 -1
  649. package/dist/index.cjs86.js +1 -1
  650. package/dist/index.cjs87.js +1 -1
  651. package/dist/index.cjs88.js +1 -1
  652. package/dist/index.cjs89.js +1 -1
  653. package/dist/index.cjs9.js +1 -1
  654. package/dist/index.cjs90.js +1 -1
  655. package/dist/index.cjs91.js +1 -1
  656. package/dist/index.cjs92.js +1 -1
  657. package/dist/index.cjs93.js +1 -1
  658. package/dist/index.cjs95.js +1 -1
  659. package/dist/index.cjs96.js +1 -1
  660. package/dist/index.cjs97.js +1 -1
  661. package/dist/index.cjs99.js +1 -1
  662. package/dist/index.es10.js +1 -1
  663. package/dist/index.es102.js +1 -1
  664. package/dist/index.es103.js +3 -3
  665. package/dist/index.es104.js +1 -1
  666. package/dist/index.es105.js +1 -1
  667. package/dist/index.es107.js +1 -1
  668. package/dist/index.es11.js +1 -1
  669. package/dist/index.es112.js +1 -1
  670. package/dist/index.es113.js +1 -1
  671. package/dist/index.es114.js +1 -1
  672. package/dist/index.es115.js +1 -1
  673. package/dist/index.es116.js +4 -4
  674. package/dist/index.es117.js +1 -1
  675. package/dist/index.es118.js +1 -1
  676. package/dist/index.es119.js +2 -2
  677. package/dist/index.es12.js +1 -1
  678. package/dist/index.es120.js +1 -1
  679. package/dist/index.es121.js +2 -2
  680. package/dist/index.es123.js +3 -3
  681. package/dist/index.es125.js +1 -1
  682. package/dist/index.es126.js +2 -2
  683. package/dist/index.es128.js +1 -1
  684. package/dist/index.es129.js +1 -1
  685. package/dist/index.es13.js +1 -1
  686. package/dist/index.es130.js +1 -1
  687. package/dist/index.es131.js +3 -3
  688. package/dist/index.es133.js +1 -1
  689. package/dist/index.es134.js +1 -1
  690. package/dist/index.es136.js +1 -1
  691. package/dist/index.es137.js +1 -1
  692. package/dist/index.es138.js +2 -2
  693. package/dist/index.es141.js +2 -2
  694. package/dist/index.es142.js +1 -1
  695. package/dist/index.es143.js +1 -1
  696. package/dist/index.es144.js +2 -2
  697. package/dist/index.es145.js +1 -1
  698. package/dist/index.es148.js +2 -2
  699. package/dist/index.es15.js +2 -2
  700. package/dist/index.es150.js +1 -1
  701. package/dist/index.es152.js +1 -1
  702. package/dist/index.es153.js +7 -7
  703. package/dist/index.es154.js +1 -1
  704. package/dist/index.es155.js +1 -1
  705. package/dist/index.es159.js +1 -1
  706. package/dist/index.es16.js +1 -1
  707. package/dist/index.es160.js +1 -1
  708. package/dist/index.es161.js +1 -1
  709. package/dist/index.es162.js +2 -2
  710. package/dist/index.es163.js +2 -2
  711. package/dist/index.es164.js +2 -2
  712. package/dist/index.es165.js +2 -2
  713. package/dist/index.es166.js +2 -2
  714. package/dist/index.es167.js +2 -2
  715. package/dist/index.es168.js +2 -2
  716. package/dist/index.es169.js +2 -2
  717. package/dist/index.es17.js +2 -2
  718. package/dist/index.es170.js +2 -2
  719. package/dist/index.es171.js +2 -2
  720. package/dist/index.es172.js +2 -2
  721. package/dist/index.es173.js +2 -2
  722. package/dist/index.es174.js +2 -2
  723. package/dist/index.es175.js +2 -2
  724. package/dist/index.es176.js +2 -2
  725. package/dist/index.es177.js +2 -2
  726. package/dist/index.es178.js +2 -2
  727. package/dist/index.es179.js +2 -2
  728. package/dist/index.es18.js +2 -2
  729. package/dist/index.es180.js +2 -2
  730. package/dist/index.es181.js +2 -2
  731. package/dist/index.es182.js +2 -2
  732. package/dist/index.es183.js +1 -1
  733. package/dist/index.es184.js +2 -2
  734. package/dist/index.es185.js +2 -2
  735. package/dist/index.es186.js +2 -2
  736. package/dist/index.es187.js +2 -2
  737. package/dist/index.es188.js +2 -2
  738. package/dist/index.es189.js +2 -2
  739. package/dist/index.es190.js +2 -2
  740. package/dist/index.es191.js +2 -2
  741. package/dist/index.es192.js +2 -2
  742. package/dist/index.es194.js +1 -1
  743. package/dist/index.es195.js +2 -2
  744. package/dist/index.es196.js +2 -2
  745. package/dist/index.es197.js +2 -2
  746. package/dist/index.es199.js +2 -2
  747. package/dist/index.es20.js +1 -1
  748. package/dist/index.es200.js +2 -2
  749. package/dist/index.es201.js +2 -2
  750. package/dist/index.es202.js +2 -2
  751. package/dist/index.es203.js +2 -2
  752. package/dist/index.es204.js +2 -2
  753. package/dist/index.es205.js +2 -2
  754. package/dist/index.es206.js +2 -2
  755. package/dist/index.es207.js +2 -2
  756. package/dist/index.es208.js +2 -2
  757. package/dist/index.es21.js +4 -4
  758. package/dist/index.es210.js +1 -1
  759. package/dist/index.es211.js +2 -2
  760. package/dist/index.es212.js +2 -2
  761. package/dist/index.es214.js +2 -2
  762. package/dist/index.es215.js +2 -2
  763. package/dist/index.es216.js +2 -2
  764. package/dist/index.es217.js +2 -2
  765. package/dist/index.es218.js +2 -2
  766. package/dist/index.es219.js +2 -2
  767. package/dist/index.es22.js +1 -1
  768. package/dist/index.es220.js +2 -2
  769. package/dist/index.es221.js +2 -2
  770. package/dist/index.es223.js +2 -2
  771. package/dist/index.es224.js +2 -2
  772. package/dist/index.es225.js +1 -1
  773. package/dist/index.es226.js +1 -1
  774. package/dist/index.es227.js +1 -1
  775. package/dist/index.es228.js +2 -2
  776. package/dist/index.es229.js +2 -2
  777. package/dist/index.es230.js +2 -2
  778. package/dist/index.es232.js +2 -2
  779. package/dist/index.es234.js +2 -2
  780. package/dist/index.es235.js +2 -2
  781. package/dist/index.es238.js +22 -15
  782. package/dist/index.es238.js.map +1 -1
  783. package/dist/index.es239.js +15 -3
  784. package/dist/index.es239.js.map +1 -1
  785. package/dist/index.es24.js +1 -1
  786. package/dist/index.es243.js +146 -0
  787. package/dist/index.es243.js.map +1 -0
  788. package/dist/{index.es277.js → index.es244.js} +3 -3
  789. package/dist/{index.es277.js.map → index.es244.js.map} +1 -1
  790. package/dist/index.es245.js +31 -0
  791. package/dist/index.es245.js.map +1 -0
  792. package/dist/{index.es284.js → index.es251.js} +3 -3
  793. package/dist/{index.es284.js.map → index.es251.js.map} +1 -1
  794. package/dist/index.es253.js +9 -57
  795. package/dist/index.es253.js.map +1 -1
  796. package/dist/index.es254.js +29 -5
  797. package/dist/index.es254.js.map +1 -1
  798. package/dist/index.es256.js +6 -0
  799. package/dist/index.es256.js.map +1 -0
  800. package/dist/index.es257.js +6 -0
  801. package/dist/index.es257.js.map +1 -0
  802. package/dist/index.es259.js +1 -227
  803. package/dist/index.es259.js.map +1 -1
  804. package/dist/{index.es296.js → index.es263.js} +2 -2
  805. package/dist/{index.es296.js.map → index.es263.js.map} +1 -1
  806. package/dist/index.es264.js +17 -45
  807. package/dist/index.es264.js.map +1 -1
  808. package/dist/{index.es298.js → index.es265.js} +1 -1
  809. package/dist/{index.es298.js.map → index.es265.js.map} +1 -1
  810. package/dist/index.es268.js +126 -0
  811. package/dist/index.es268.js.map +1 -0
  812. package/dist/index.es27.js +5 -5
  813. package/dist/index.es272.js +3 -22
  814. package/dist/index.es272.js.map +1 -1
  815. package/dist/{index.es306.js → index.es273.js} +2 -2
  816. package/dist/{index.es306.js.map → index.es273.js.map} +1 -1
  817. package/dist/{index.es307.js → index.es274.js} +1 -1
  818. package/dist/{index.es307.js.map → index.es274.js.map} +1 -1
  819. package/dist/index.es275.js +8 -0
  820. package/dist/index.es275.js.map +1 -0
  821. package/dist/index.es276.js +2 -143
  822. package/dist/index.es276.js.map +1 -1
  823. package/dist/index.es278.js +259 -27
  824. package/dist/index.es278.js.map +1 -1
  825. package/dist/index.es279.js +83 -0
  826. package/dist/index.es279.js.map +1 -0
  827. package/dist/index.es28.js +2 -2
  828. package/dist/{index.es312.js → index.es280.js} +1 -1
  829. package/dist/{index.es312.js.map → index.es280.js.map} +1 -1
  830. package/dist/index.es281.js +18 -0
  831. package/dist/index.es281.js.map +1 -0
  832. package/dist/{index.es314.js → index.es282.js} +2 -2
  833. package/dist/{index.es314.js.map → index.es282.js.map} +1 -1
  834. package/dist/index.es29.js +1 -1
  835. package/dist/index.es294.js +37 -0
  836. package/dist/index.es294.js.map +1 -0
  837. package/dist/index.es297.js +188 -17
  838. package/dist/index.es297.js.map +1 -1
  839. package/dist/index.es30.js +6 -6
  840. package/dist/index.es301.js +8 -123
  841. package/dist/index.es301.js.map +1 -1
  842. package/dist/index.es302.js +31 -0
  843. package/dist/index.es302.js.map +1 -0
  844. package/dist/{index.es336.js → index.es304.js} +9 -9
  845. package/dist/{index.es336.js.map → index.es304.js.map} +1 -1
  846. package/dist/index.es305.js +20 -3
  847. package/dist/index.es305.js.map +1 -1
  848. package/dist/index.es311.js +60 -79
  849. package/dist/index.es311.js.map +1 -1
  850. package/dist/index.es313.js +58 -14
  851. package/dist/index.es313.js.map +1 -1
  852. package/dist/{index.es261.js → index.es318.js} +4 -4
  853. package/dist/{index.es261.js.map → index.es318.js.map} +1 -1
  854. package/dist/{index.es258.js → index.es319.js} +2 -2
  855. package/dist/{index.es258.js.map → index.es319.js.map} +1 -1
  856. package/dist/index.es32.js +2 -2
  857. package/dist/index.es320.js +228 -0
  858. package/dist/index.es320.js.map +1 -0
  859. package/dist/index.es326.js +7 -33
  860. package/dist/index.es326.js.map +1 -1
  861. package/dist/index.es329.js +27 -188
  862. package/dist/index.es329.js.map +1 -1
  863. package/dist/index.es33.js +1 -1
  864. package/dist/{index.es355.js → index.es330.js} +1 -1
  865. package/dist/{index.es355.js.map → index.es330.js.map} +1 -1
  866. package/dist/{index.es357.js → index.es332.js} +2 -2
  867. package/dist/{index.es357.js.map → index.es332.js.map} +1 -1
  868. package/dist/index.es333.js +3 -7
  869. package/dist/index.es333.js.map +1 -1
  870. package/dist/index.es334.js +8 -28
  871. package/dist/index.es334.js.map +1 -1
  872. package/dist/index.es339.js +9 -0
  873. package/dist/index.es339.js.map +1 -0
  874. package/dist/{index.es365.js → index.es340.js} +2 -2
  875. package/dist/{index.es365.js.map → index.es340.js.map} +1 -1
  876. package/dist/{index.es372.js → index.es347.js} +2 -2
  877. package/dist/{index.es372.js.map → index.es347.js.map} +1 -1
  878. package/dist/index.es348.js +29 -0
  879. package/dist/index.es348.js.map +1 -0
  880. package/dist/{index.es374.js → index.es349.js} +1 -1
  881. package/dist/{index.es374.js.map → index.es349.js.map} +1 -1
  882. package/dist/index.es351.js +2 -2
  883. package/dist/index.es351.js.map +1 -1
  884. package/dist/{index.es377.js → index.es352.js} +1 -1
  885. package/dist/{index.es377.js.map → index.es352.js.map} +1 -1
  886. package/dist/index.es358.js +26 -4
  887. package/dist/index.es358.js.map +1 -1
  888. package/dist/index.es359.js +6 -6
  889. package/dist/index.es359.js.map +1 -1
  890. package/dist/index.es36.js +1 -1
  891. package/dist/{index.es385.js → index.es360.js} +1 -1
  892. package/dist/{index.es385.js.map → index.es360.js.map} +1 -1
  893. package/dist/{index.es386.js → index.es361.js} +7 -7
  894. package/dist/{index.es386.js.map → index.es361.js.map} +1 -1
  895. package/dist/index.es364.js +54 -6
  896. package/dist/index.es364.js.map +1 -1
  897. package/dist/{index.es393.js → index.es368.js} +3 -3
  898. package/dist/{index.es393.js.map → index.es368.js.map} +1 -1
  899. package/dist/{index.es394.js → index.es369.js} +1 -1
  900. package/dist/{index.es394.js.map → index.es369.js.map} +1 -1
  901. package/dist/index.es37.js +1 -1
  902. package/dist/index.es370.js +8 -0
  903. package/dist/{index.es395.js.map → index.es370.js.map} +1 -1
  904. package/dist/index.es373.js +75 -22
  905. package/dist/index.es373.js.map +1 -1
  906. package/dist/index.es38.js +1 -1
  907. package/dist/index.es389.js +25 -54
  908. package/dist/index.es389.js.map +1 -1
  909. package/dist/{index.es415.js → index.es390.js} +3 -3
  910. package/dist/{index.es415.js.map → index.es390.js.map} +1 -1
  911. package/dist/index.es40.js +2 -2
  912. package/dist/{index.es432.js → index.es407.js} +3 -3
  913. package/dist/{index.es432.js.map → index.es407.js.map} +1 -1
  914. package/dist/{index.es433.js → index.es408.js} +3 -3
  915. package/dist/{index.es433.js.map → index.es408.js.map} +1 -1
  916. package/dist/index.es41.js +1 -1
  917. package/dist/{index.es437.js → index.es412.js} +1 -1
  918. package/dist/{index.es437.js.map → index.es412.js.map} +1 -1
  919. package/dist/{index.es438.js → index.es413.js} +8 -8
  920. package/dist/{index.es438.js.map → index.es413.js.map} +1 -1
  921. package/dist/{index.es443.js → index.es418.js} +9 -9
  922. package/dist/{index.es443.js.map → index.es418.js.map} +1 -1
  923. package/dist/index.es424.js +19 -0
  924. package/dist/index.es424.js.map +1 -0
  925. package/dist/index.es427.js +6 -0
  926. package/dist/index.es427.js.map +1 -0
  927. package/dist/index.es43.js +1 -1
  928. package/dist/index.es435.js +8 -0
  929. package/dist/index.es435.js.map +1 -0
  930. package/dist/{index.es252.js → index.es439.js} +1 -1
  931. package/dist/{index.es252.js.map → index.es439.js.map} +1 -1
  932. package/dist/index.es44.js +2 -2
  933. package/dist/index.es440.js +60 -0
  934. package/dist/index.es440.js.map +1 -0
  935. package/dist/{index.es260.js → index.es441.js} +4 -4
  936. package/dist/{index.es260.js.map → index.es441.js.map} +1 -1
  937. package/dist/index.es444.js +48 -0
  938. package/dist/index.es444.js.map +1 -0
  939. package/dist/index.es449.js +18 -15
  940. package/dist/index.es449.js.map +1 -1
  941. package/dist/index.es45.js +3 -3
  942. package/dist/index.es453.js +1 -1
  943. package/dist/index.es454.js +1 -1
  944. package/dist/index.es455.js +2 -3675
  945. package/dist/index.es455.js.map +1 -1
  946. package/dist/index.es456.js +2 -6
  947. package/dist/index.es456.js.map +1 -1
  948. package/dist/index.es457.js +6 -2
  949. package/dist/index.es457.js.map +1 -1
  950. package/dist/index.es458.js +3675 -2
  951. package/dist/index.es458.js.map +1 -1
  952. package/dist/index.es459.js +2 -2
  953. package/dist/index.es46.js +2 -2
  954. package/dist/index.es460.js +2033 -5
  955. package/dist/index.es460.js.map +1 -1
  956. package/dist/index.es461.js +56 -550
  957. package/dist/index.es461.js.map +1 -1
  958. package/dist/index.es462.js +175 -2019
  959. package/dist/index.es462.js.map +1 -1
  960. package/dist/index.es463.js +128 -55
  961. package/dist/index.es463.js.map +1 -1
  962. package/dist/index.es464.js +173 -179
  963. package/dist/index.es464.js.map +1 -1
  964. package/dist/index.es465.js +1 -1
  965. package/dist/index.es466.js +3 -183
  966. package/dist/index.es466.js.map +1 -1
  967. package/dist/index.es467.js +15 -4
  968. package/dist/index.es467.js.map +1 -1
  969. package/dist/index.es47.js +2 -2
  970. package/dist/index.es470.js +6 -2
  971. package/dist/index.es470.js.map +1 -1
  972. package/dist/index.es471.js +552 -53
  973. package/dist/index.es471.js.map +1 -1
  974. package/dist/index.es475.js +20 -14
  975. package/dist/index.es475.js.map +1 -1
  976. package/dist/{index.es533.js → index.es476.js} +1 -1
  977. package/dist/index.es476.js.map +1 -0
  978. package/dist/index.es477.js +58 -0
  979. package/dist/index.es477.js.map +1 -0
  980. package/dist/{index.es472.js → index.es478.js} +2 -2
  981. package/dist/{index.es472.js.map → index.es478.js.map} +1 -1
  982. package/dist/{index.es473.js → index.es479.js} +3 -3
  983. package/dist/{index.es473.js.map → index.es479.js.map} +1 -1
  984. package/dist/{index.es474.js → index.es480.js} +1 -1
  985. package/dist/index.es480.js.map +1 -0
  986. package/dist/index.es481.js +68 -2
  987. package/dist/index.es481.js.map +1 -1
  988. package/dist/index.es482.js +26 -5
  989. package/dist/index.es482.js.map +1 -1
  990. package/dist/index.es483.js +6 -13
  991. package/dist/index.es483.js.map +1 -1
  992. package/dist/index.es484.js +56 -5
  993. package/dist/index.es484.js.map +1 -1
  994. package/dist/index.es485.js +2 -6
  995. package/dist/index.es485.js.map +1 -1
  996. package/dist/index.es486.js +3 -3
  997. package/dist/index.es486.js.map +1 -1
  998. package/dist/index.es487.js +12 -4
  999. package/dist/index.es487.js.map +1 -1
  1000. package/dist/index.es488.js +5 -5
  1001. package/dist/index.es488.js.map +1 -1
  1002. package/dist/index.es489.js +3 -3
  1003. package/dist/index.es489.js.map +1 -1
  1004. package/dist/index.es490.js +1 -1
  1005. package/dist/index.es490.js.map +1 -1
  1006. package/dist/index.es491.js +3 -3
  1007. package/dist/index.es491.js.map +1 -1
  1008. package/dist/index.es492.js +3 -3
  1009. package/dist/index.es492.js.map +1 -1
  1010. package/dist/index.es493.js +3 -3
  1011. package/dist/index.es493.js.map +1 -1
  1012. package/dist/index.es494.js +1 -1
  1013. package/dist/index.es494.js.map +1 -1
  1014. package/dist/index.es495.js +3 -3
  1015. package/dist/index.es495.js.map +1 -1
  1016. package/dist/index.es496.js +1 -1
  1017. package/dist/index.es496.js.map +1 -1
  1018. package/dist/index.es497.js +3 -3
  1019. package/dist/index.es497.js.map +1 -1
  1020. package/dist/index.es498.js +5 -5
  1021. package/dist/index.es498.js.map +1 -1
  1022. package/dist/index.es499.js +4 -8
  1023. package/dist/index.es499.js.map +1 -1
  1024. package/dist/index.es50.js +1 -1
  1025. package/dist/index.es500.js +3 -3
  1026. package/dist/index.es500.js.map +1 -1
  1027. package/dist/index.es501.js +1 -1
  1028. package/dist/index.es501.js.map +1 -1
  1029. package/dist/index.es502.js +3 -3
  1030. package/dist/index.es502.js.map +1 -1
  1031. package/dist/index.es503.js +8 -4
  1032. package/dist/index.es503.js.map +1 -1
  1033. package/dist/index.es504.js +3 -3
  1034. package/dist/index.es504.js.map +1 -1
  1035. package/dist/index.es505.js +5 -10
  1036. package/dist/index.es505.js.map +1 -1
  1037. package/dist/index.es506.js +3 -3
  1038. package/dist/index.es506.js.map +1 -1
  1039. package/dist/index.es507.js +3 -3
  1040. package/dist/index.es507.js.map +1 -1
  1041. package/dist/index.es508.js +3 -3
  1042. package/dist/index.es508.js.map +1 -1
  1043. package/dist/index.es509.js +10 -5
  1044. package/dist/index.es509.js.map +1 -1
  1045. package/dist/index.es51.js +1 -1
  1046. package/dist/index.es510.js +1 -1
  1047. package/dist/index.es510.js.map +1 -1
  1048. package/dist/index.es511.js +3 -3
  1049. package/dist/index.es511.js.map +1 -1
  1050. package/dist/index.es512.js +4 -10
  1051. package/dist/index.es512.js.map +1 -1
  1052. package/dist/index.es513.js +1 -1
  1053. package/dist/index.es513.js.map +1 -1
  1054. package/dist/index.es514.js +3 -3
  1055. package/dist/index.es514.js.map +1 -1
  1056. package/dist/index.es515.js +5 -8
  1057. package/dist/index.es515.js.map +1 -1
  1058. package/dist/index.es516.js +9 -14
  1059. package/dist/index.es516.js.map +1 -1
  1060. package/dist/index.es517.js +5 -10
  1061. package/dist/index.es517.js.map +1 -1
  1062. package/dist/index.es518.js +6 -2
  1063. package/dist/index.es518.js.map +1 -1
  1064. package/dist/index.es519.js +9 -2
  1065. package/dist/index.es519.js.map +1 -1
  1066. package/dist/index.es52.js +1 -1
  1067. package/dist/index.es520.js +17 -2
  1068. package/dist/index.es520.js.map +1 -1
  1069. package/dist/index.es521.js +11 -2
  1070. package/dist/index.es521.js.map +1 -1
  1071. package/dist/index.es522.js +2 -2
  1072. package/dist/index.es523.js +11 -2
  1073. package/dist/index.es523.js.map +1 -1
  1074. package/dist/index.es524.js +52 -2
  1075. package/dist/index.es524.js.map +1 -1
  1076. package/dist/index.es525.js +125 -2
  1077. package/dist/index.es525.js.map +1 -1
  1078. package/dist/index.es526.js +135 -2
  1079. package/dist/index.es526.js.map +1 -1
  1080. package/dist/index.es527.js +14 -2
  1081. package/dist/index.es527.js.map +1 -1
  1082. package/dist/index.es528.js +69 -2
  1083. package/dist/index.es528.js.map +1 -1
  1084. package/dist/index.es529.js +34 -2
  1085. package/dist/index.es529.js.map +1 -1
  1086. package/dist/index.es53.js +1 -1
  1087. package/dist/index.es530.js +15 -2
  1088. package/dist/index.es530.js.map +1 -1
  1089. package/dist/index.es531.js +9 -2
  1090. package/dist/index.es531.js.map +1 -1
  1091. package/dist/index.es532.js +50 -2
  1092. package/dist/index.es532.js.map +1 -1
  1093. package/dist/index.es536.js +2 -2
  1094. package/dist/index.es537.js +2 -2
  1095. package/dist/index.es538.js +2 -2
  1096. package/dist/index.es539.js +2 -2
  1097. package/dist/index.es54.js +2 -2
  1098. package/dist/index.es540.js +2 -2
  1099. package/dist/index.es541.js +2 -2
  1100. package/dist/index.es542.js +2 -2
  1101. package/dist/index.es543.js +2 -2
  1102. package/dist/index.es544.js +2 -2
  1103. package/dist/index.es546.js +2 -2
  1104. package/dist/index.es547.js +2 -2
  1105. package/dist/index.es548.js +2 -2
  1106. package/dist/index.es549.js +2 -2
  1107. package/dist/index.es55.js +1 -1
  1108. package/dist/index.es550.js +2 -2
  1109. package/dist/index.es553.js +2 -2
  1110. package/dist/index.es554.js +2 -2
  1111. package/dist/index.es555.js +2 -68
  1112. package/dist/index.es555.js.map +1 -1
  1113. package/dist/index.es556.js +2 -27
  1114. package/dist/index.es556.js.map +1 -1
  1115. package/dist/index.es557.js +2 -7
  1116. package/dist/index.es557.js.map +1 -1
  1117. package/dist/index.es558.js +2 -57
  1118. package/dist/index.es558.js.map +1 -1
  1119. package/dist/index.es559.js +2 -11
  1120. package/dist/index.es559.js.map +1 -1
  1121. package/dist/index.es560.js +2 -52
  1122. package/dist/index.es560.js.map +1 -1
  1123. package/dist/index.es561.js +2 -125
  1124. package/dist/index.es561.js.map +1 -1
  1125. package/dist/index.es562.js +2 -135
  1126. package/dist/index.es562.js.map +1 -1
  1127. package/dist/index.es563.js +2 -14
  1128. package/dist/index.es563.js.map +1 -1
  1129. package/dist/index.es564.js +2 -69
  1130. package/dist/index.es564.js.map +1 -1
  1131. package/dist/index.es565.js +2 -34
  1132. package/dist/index.es565.js.map +1 -1
  1133. package/dist/index.es566.js +2 -15
  1134. package/dist/index.es566.js.map +1 -1
  1135. package/dist/index.es567.js +2 -9
  1136. package/dist/index.es567.js.map +1 -1
  1137. package/dist/index.es568.js +2 -50
  1138. package/dist/index.es568.js.map +1 -1
  1139. package/dist/{index.es535.js → index.es569.js} +1 -1
  1140. package/dist/index.es569.js.map +1 -0
  1141. package/dist/index.es57.js +3 -3
  1142. package/dist/index.es570.js +5 -0
  1143. package/dist/index.es570.js.map +1 -0
  1144. package/dist/index.es571.js +5 -0
  1145. package/dist/index.es571.js.map +1 -0
  1146. package/dist/index.es572.js +15 -4
  1147. package/dist/index.es572.js.map +1 -1
  1148. package/dist/index.es573.js +4 -11
  1149. package/dist/index.es573.js.map +1 -1
  1150. package/dist/index.es574.js +9 -10
  1151. package/dist/index.es574.js.map +1 -1
  1152. package/dist/index.es575.js +11 -24
  1153. package/dist/index.es575.js.map +1 -1
  1154. package/dist/index.es576.js +24 -28
  1155. package/dist/index.es576.js.map +1 -1
  1156. package/dist/index.es577.js +29 -5
  1157. package/dist/index.es577.js.map +1 -1
  1158. package/dist/index.es578.js +5 -5
  1159. package/dist/index.es578.js.map +1 -1
  1160. package/dist/index.es58.js +2 -2
  1161. package/dist/index.es582.js +5 -16
  1162. package/dist/index.es582.js.map +1 -1
  1163. package/dist/index.es583.js +6 -0
  1164. package/dist/{index.es579.js.map → index.es583.js.map} +1 -1
  1165. package/dist/{index.es580.js → index.es584.js} +3 -3
  1166. package/dist/{index.es580.js.map → index.es584.js.map} +1 -1
  1167. package/dist/{index.es581.js → index.es585.js} +6 -6
  1168. package/dist/{index.es581.js.map → index.es585.js.map} +1 -1
  1169. package/dist/index.es586.js +15 -64
  1170. package/dist/index.es586.js.map +1 -1
  1171. package/dist/index.es587.js +6 -69
  1172. package/dist/index.es587.js.map +1 -1
  1173. package/dist/index.es588.js +25 -9
  1174. package/dist/index.es588.js.map +1 -1
  1175. package/dist/index.es589.js +64 -13
  1176. package/dist/index.es589.js.map +1 -1
  1177. package/dist/index.es590.js +68 -65
  1178. package/dist/index.es590.js.map +1 -1
  1179. package/dist/index.es591.js +9 -6
  1180. package/dist/index.es591.js.map +1 -1
  1181. package/dist/index.es592.js +14 -25
  1182. package/dist/index.es592.js.map +1 -1
  1183. package/dist/index.es593.js +66 -4
  1184. package/dist/index.es593.js.map +1 -1
  1185. package/dist/index.es594.js +3 -22
  1186. package/dist/index.es594.js.map +1 -1
  1187. package/dist/index.es595.js +22 -14
  1188. package/dist/index.es595.js.map +1 -1
  1189. package/dist/index.es597.js +21 -11
  1190. package/dist/index.es597.js.map +1 -1
  1191. package/dist/index.es598.js +11 -26
  1192. package/dist/index.es598.js.map +1 -1
  1193. package/dist/index.es599.js +27 -4
  1194. package/dist/index.es599.js.map +1 -1
  1195. package/dist/index.es6.js +2 -2
  1196. package/dist/index.es60.js +3 -3
  1197. package/dist/index.es600.js +8 -0
  1198. package/dist/index.es600.js.map +1 -0
  1199. package/dist/index.es61.js +4 -4
  1200. package/dist/index.es611.js +17 -17
  1201. package/dist/index.es615.js +41 -176
  1202. package/dist/index.es615.js.map +1 -1
  1203. package/dist/{index.es613.js → index.es616.js} +1 -1
  1204. package/dist/{index.es613.js.map → index.es616.js.map} +1 -1
  1205. package/dist/{index.es614.js → index.es617.js} +7 -7
  1206. package/dist/{index.es614.js.map → index.es617.js.map} +1 -1
  1207. package/dist/index.es618.js +180 -4
  1208. package/dist/index.es618.js.map +1 -1
  1209. package/dist/index.es62.js +1 -1
  1210. package/dist/index.es620.js +1 -1
  1211. package/dist/index.es621.js +3 -3
  1212. package/dist/index.es624.js +4 -133
  1213. package/dist/index.es624.js.map +1 -1
  1214. package/dist/index.es625.js +525 -5
  1215. package/dist/index.es625.js.map +1 -1
  1216. package/dist/index.es626.js +128 -16
  1217. package/dist/index.es626.js.map +1 -1
  1218. package/dist/index.es627.js +134 -13
  1219. package/dist/index.es627.js.map +1 -1
  1220. package/dist/index.es628.js +5 -36
  1221. package/dist/index.es628.js.map +1 -1
  1222. package/dist/index.es629.js +16 -5
  1223. package/dist/index.es629.js.map +1 -1
  1224. package/dist/index.es63.js +4 -4
  1225. package/dist/index.es630.js +13 -2
  1226. package/dist/index.es630.js.map +1 -1
  1227. package/dist/index.es631.js +36 -3
  1228. package/dist/index.es631.js.map +1 -1
  1229. package/dist/index.es632.js +5 -7
  1230. package/dist/index.es632.js.map +1 -1
  1231. package/dist/index.es633.js +2 -6
  1232. package/dist/index.es633.js.map +1 -1
  1233. package/dist/index.es634.js +3 -5
  1234. package/dist/index.es634.js.map +1 -1
  1235. package/dist/index.es635.js +7 -32
  1236. package/dist/index.es635.js.map +1 -1
  1237. package/dist/index.es636.js +5 -241
  1238. package/dist/index.es636.js.map +1 -1
  1239. package/dist/index.es637.js +5 -4
  1240. package/dist/index.es637.js.map +1 -1
  1241. package/dist/index.es638.js +32 -5
  1242. package/dist/index.es638.js.map +1 -1
  1243. package/dist/index.es639.js +241 -9
  1244. package/dist/index.es639.js.map +1 -1
  1245. package/dist/index.es640.js +4 -56
  1246. package/dist/index.es640.js.map +1 -1
  1247. package/dist/index.es641.js +4 -7
  1248. package/dist/index.es641.js.map +1 -1
  1249. package/dist/index.es642.js +9 -5
  1250. package/dist/index.es642.js.map +1 -1
  1251. package/dist/index.es643.js +47 -523
  1252. package/dist/index.es643.js.map +1 -1
  1253. package/dist/index.es644.js +8 -14
  1254. package/dist/index.es644.js.map +1 -1
  1255. package/dist/index.es645.js +6 -2
  1256. package/dist/index.es645.js.map +1 -1
  1257. package/dist/index.es646.js +530 -35
  1258. package/dist/index.es646.js.map +1 -1
  1259. package/dist/index.es647.js +14 -2
  1260. package/dist/index.es647.js.map +1 -1
  1261. package/dist/index.es648.js +2 -272
  1262. package/dist/index.es648.js.map +1 -1
  1263. package/dist/index.es649.js +37 -3
  1264. package/dist/index.es649.js.map +1 -1
  1265. package/dist/index.es65.js +2 -2
  1266. package/dist/index.es650.js +2 -30
  1267. package/dist/index.es650.js.map +1 -1
  1268. package/dist/index.es651.js +275 -0
  1269. package/dist/index.es651.js.map +1 -0
  1270. package/dist/index.es652.js +6 -0
  1271. package/dist/index.es652.js.map +1 -0
  1272. package/dist/index.es653.js +33 -0
  1273. package/dist/index.es653.js.map +1 -0
  1274. package/dist/index.es654.js +43 -0
  1275. package/dist/index.es654.js.map +1 -0
  1276. package/dist/index.es655.js +5 -0
  1277. package/dist/index.es655.js.map +1 -0
  1278. package/dist/index.es656.js +4 -39
  1279. package/dist/index.es656.js.map +1 -1
  1280. package/dist/index.es657.js +2 -2
  1281. package/dist/index.es657.js.map +1 -1
  1282. package/dist/index.es658.js +2 -5
  1283. package/dist/index.es658.js.map +1 -1
  1284. package/dist/index.es659.js +2 -6
  1285. package/dist/index.es659.js.map +1 -1
  1286. package/dist/index.es66.js +3 -3
  1287. package/dist/index.es660.js +6 -16
  1288. package/dist/index.es660.js.map +1 -1
  1289. package/dist/index.es661.js +16 -2
  1290. package/dist/index.es661.js.map +1 -1
  1291. package/dist/index.es662.js +2 -2
  1292. package/dist/index.es662.js.map +1 -1
  1293. package/dist/index.es663.js +2 -2
  1294. package/dist/index.es663.js.map +1 -1
  1295. package/dist/index.es664.js +3 -2
  1296. package/dist/index.es664.js.map +1 -1
  1297. package/dist/index.es665.js +2 -2
  1298. package/dist/index.es665.js.map +1 -1
  1299. package/dist/index.es666.js +4 -3
  1300. package/dist/index.es666.js.map +1 -1
  1301. package/dist/index.es667.js +4 -2
  1302. package/dist/index.es667.js.map +1 -1
  1303. package/dist/index.es668.js +3 -4
  1304. package/dist/index.es668.js.map +1 -1
  1305. package/dist/index.es669.js +2 -34
  1306. package/dist/index.es669.js.map +1 -1
  1307. package/dist/index.es67.js +1 -1
  1308. package/dist/index.es672.js +34 -4
  1309. package/dist/index.es672.js.map +1 -1
  1310. package/dist/index.es674.js +1 -1
  1311. package/dist/index.es68.js +1 -1
  1312. package/dist/index.es69.js +1 -1
  1313. package/dist/index.es70.js +1 -1
  1314. package/dist/index.es71.js +1 -1
  1315. package/dist/index.es72.js +2 -2
  1316. package/dist/index.es73.js +4 -4
  1317. package/dist/index.es74.js +3 -3
  1318. package/dist/index.es78.js +1 -1
  1319. package/dist/index.es79.js +4 -4
  1320. package/dist/index.es8.js +1 -1
  1321. package/dist/index.es80.js +3 -3
  1322. package/dist/index.es81.js +1 -1
  1323. package/dist/index.es82.js +1 -1
  1324. package/dist/index.es83.js +1 -1
  1325. package/dist/index.es84.js +3 -3
  1326. package/dist/index.es85.js +2 -2
  1327. package/dist/index.es86.js +2 -2
  1328. package/dist/index.es87.js +1 -1
  1329. package/dist/index.es88.js +1 -1
  1330. package/dist/index.es89.js +1 -1
  1331. package/dist/index.es9.js +3 -3
  1332. package/dist/index.es90.js +3 -3
  1333. package/dist/index.es91.js +1 -1
  1334. package/dist/index.es92.js +2 -2
  1335. package/dist/index.es93.js +3 -3
  1336. package/dist/index.es95.js +2 -2
  1337. package/dist/index.es96.js +2 -2
  1338. package/dist/index.es97.js +1 -1
  1339. package/dist/index.es99.js +5 -5
  1340. package/package.json +1 -1
  1341. package/dist/index.cjs247.js +0 -2
  1342. package/dist/index.cjs247.js.map +0 -1
  1343. package/dist/index.cjs248.js +0 -7
  1344. package/dist/index.cjs248.js.map +0 -1
  1345. package/dist/index.cjs269.js +0 -2
  1346. package/dist/index.cjs269.js.map +0 -1
  1347. package/dist/index.cjs286.js +0 -2
  1348. package/dist/index.cjs286.js.map +0 -1
  1349. package/dist/index.cjs287.js +0 -2
  1350. package/dist/index.cjs287.js.map +0 -1
  1351. package/dist/index.cjs289.js +0 -2
  1352. package/dist/index.cjs289.js.map +0 -1
  1353. package/dist/index.cjs290.js.map +0 -1
  1354. package/dist/index.cjs292.js +0 -2
  1355. package/dist/index.cjs292.js.map +0 -1
  1356. package/dist/index.cjs308.js +0 -2
  1357. package/dist/index.cjs308.js.map +0 -1
  1358. package/dist/index.cjs310.js +0 -6
  1359. package/dist/index.cjs310.js.map +0 -1
  1360. package/dist/index.cjs337.js +0 -2
  1361. package/dist/index.cjs337.js.map +0 -1
  1362. package/dist/index.cjs343.js +0 -2
  1363. package/dist/index.cjs343.js.map +0 -1
  1364. package/dist/index.cjs354.js +0 -2
  1365. package/dist/index.cjs354.js.map +0 -1
  1366. package/dist/index.cjs376.js +0 -2
  1367. package/dist/index.cjs376.js.map +0 -1
  1368. package/dist/index.cjs383.js +0 -2
  1369. package/dist/index.cjs383.js.map +0 -1
  1370. package/dist/index.cjs384.js +0 -2
  1371. package/dist/index.cjs384.js.map +0 -1
  1372. package/dist/index.cjs395.js +0 -2
  1373. package/dist/index.cjs398.js +0 -2
  1374. package/dist/index.cjs398.js.map +0 -1
  1375. package/dist/index.cjs414.js +0 -2
  1376. package/dist/index.cjs414.js.map +0 -1
  1377. package/dist/index.cjs468.js +0 -2
  1378. package/dist/index.cjs468.js.map +0 -1
  1379. package/dist/index.cjs469.js +0 -2
  1380. package/dist/index.cjs469.js.map +0 -1
  1381. package/dist/index.cjs474.js.map +0 -1
  1382. package/dist/index.cjs533.js.map +0 -1
  1383. package/dist/index.cjs534.js.map +0 -1
  1384. package/dist/index.cjs535.js.map +0 -1
  1385. package/dist/index.cjs579.js +0 -2
  1386. package/dist/index.cjs596.js +0 -2
  1387. package/dist/index.cjs596.js.map +0 -1
  1388. package/dist/index.cjs612.js +0 -2
  1389. package/dist/index.cjs612.js.map +0 -1
  1390. package/dist/index.cjs622.js +0 -2
  1391. package/dist/index.cjs622.js.map +0 -1
  1392. package/dist/index.cjs623.js +0 -2
  1393. package/dist/index.cjs623.js.map +0 -1
  1394. package/dist/index.cjs670.js +0 -2
  1395. package/dist/index.cjs670.js.map +0 -1
  1396. package/dist/index.cjs671.js +0 -2
  1397. package/dist/index.cjs671.js.map +0 -1
  1398. package/dist/index.es247.js +0 -8
  1399. package/dist/index.es247.js.map +0 -1
  1400. package/dist/index.es248.js +0 -62
  1401. package/dist/index.es248.js.map +0 -1
  1402. package/dist/index.es269.js +0 -22
  1403. package/dist/index.es269.js.map +0 -1
  1404. package/dist/index.es286.js +0 -12
  1405. package/dist/index.es286.js.map +0 -1
  1406. package/dist/index.es287.js +0 -32
  1407. package/dist/index.es287.js.map +0 -1
  1408. package/dist/index.es289.js +0 -6
  1409. package/dist/index.es289.js.map +0 -1
  1410. package/dist/index.es290.js +0 -6
  1411. package/dist/index.es290.js.map +0 -1
  1412. package/dist/index.es292.js +0 -2
  1413. package/dist/index.es292.js.map +0 -1
  1414. package/dist/index.es308.js +0 -5
  1415. package/dist/index.es308.js.map +0 -1
  1416. package/dist/index.es310.js +0 -263
  1417. package/dist/index.es310.js.map +0 -1
  1418. package/dist/index.es337.js +0 -23
  1419. package/dist/index.es337.js.map +0 -1
  1420. package/dist/index.es343.js +0 -64
  1421. package/dist/index.es343.js.map +0 -1
  1422. package/dist/index.es354.js +0 -30
  1423. package/dist/index.es354.js.map +0 -1
  1424. package/dist/index.es376.js +0 -11
  1425. package/dist/index.es376.js.map +0 -1
  1426. package/dist/index.es383.js +0 -29
  1427. package/dist/index.es383.js.map +0 -1
  1428. package/dist/index.es384.js +0 -11
  1429. package/dist/index.es384.js.map +0 -1
  1430. package/dist/index.es395.js +0 -8
  1431. package/dist/index.es398.js +0 -82
  1432. package/dist/index.es398.js.map +0 -1
  1433. package/dist/index.es414.js +0 -28
  1434. package/dist/index.es414.js.map +0 -1
  1435. package/dist/index.es468.js +0 -136
  1436. package/dist/index.es468.js.map +0 -1
  1437. package/dist/index.es469.js +0 -24
  1438. package/dist/index.es469.js.map +0 -1
  1439. package/dist/index.es474.js.map +0 -1
  1440. package/dist/index.es533.js.map +0 -1
  1441. package/dist/index.es534.js +0 -5
  1442. package/dist/index.es534.js.map +0 -1
  1443. package/dist/index.es535.js.map +0 -1
  1444. package/dist/index.es579.js +0 -6
  1445. package/dist/index.es596.js +0 -26
  1446. package/dist/index.es596.js.map +0 -1
  1447. package/dist/index.es612.js +0 -49
  1448. package/dist/index.es612.js.map +0 -1
  1449. package/dist/index.es622.js +0 -528
  1450. package/dist/index.es622.js.map +0 -1
  1451. package/dist/index.es623.js +0 -131
  1452. package/dist/index.es623.js.map +0 -1
  1453. package/dist/index.es670.js +0 -6
  1454. package/dist/index.es670.js.map +0 -1
  1455. package/dist/index.es671.js +0 -5
  1456. package/dist/index.es671.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs595.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]}
1
+ {"version":3,"file":"index.cjs595.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":"yGAeO,SAASA,EAAeC,EAAcC,EAAU,CACnD,IAAIC,EAAMC,WAAS,UAAY,CAAE,MAAQ,CAErC,MAAOH,EAEP,SAAUC,EAEV,OAAQ,CACJ,IAAI,SAAU,CACV,OAAOC,EAAI,KACf,EACA,IAAI,QAAQE,EAAO,CACf,IAAIC,EAAOH,EAAI,MACXG,IAASD,IACTF,EAAI,MAAQE,EACZF,EAAI,SAASE,EAAOC,CAAI,EAEhC,CACZ,CACA,CAAQ,CAAC,EAAE,CAAC,EAER,OAAAH,EAAI,SAAWD,EACRC,EAAI,MACf","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.cjs598.js");function u(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 i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={left:0,top:0,right:0,gap:0},r=function(t){return parseInt(t||"",10)||0},o=function(t){var i=window.getComputedStyle(document.body),n=i[t==="padding"?"paddingLeft":"marginLeft"],e=i[t==="padding"?"paddingTop":"marginTop"],d=i[t==="padding"?"paddingRight":"marginRight"];return[r(n),r(e),r(d)]},g=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return a;var i=o(t),n=document.documentElement.clientWidth,e=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,e-n+i[2]-i[0])}};exports.getGapWidth=g;exports.zeroGap=a;
2
2
  //# sourceMappingURL=index.cjs597.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs597.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":"kaAWU,IAACA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,oBAAmB,EAC/B,OAAO,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAM,CAChB,CACJ,EAAG,CAACE,GAAUC,CAAS,CAAC,CAC5B,CACJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs597.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"gFAAU,IAACA,EAAU,CACjB,KAAM,EACN,IAAK,EACL,MAAO,EACP,IAAK,CACT,EACIC,EAAQ,SAAUC,EAAG,CAAE,OAAO,SAASA,GAAK,GAAI,EAAE,GAAK,CAAG,EAC1DC,EAAY,SAAUC,EAAS,CAC/B,IAAIC,EAAK,OAAO,iBAAiB,SAAS,IAAI,EAC1CC,EAAOD,EAAGD,IAAY,UAAY,cAAgB,YAAY,EAC9DG,EAAMF,EAAGD,IAAY,UAAY,aAAe,WAAW,EAC3DI,EAAQH,EAAGD,IAAY,UAAY,eAAiB,aAAa,EACrE,MAAO,CAACH,EAAMK,CAAI,EAAGL,EAAMM,CAAG,EAAGN,EAAMO,CAAK,CAAC,CACjD,EACWC,EAAc,SAAUL,EAAS,CAExC,GADIA,IAAY,SAAUA,EAAU,UAChC,OAAO,OAAW,IAClB,OAAOJ,EAEX,IAAIU,EAAUP,EAAUC,CAAO,EAC3BO,EAAgB,SAAS,gBAAgB,YACzCC,EAAc,OAAO,WACzB,MAAO,CACH,KAAMF,EAAQ,CAAC,EACf,IAAKA,EAAQ,CAAC,EACd,MAAOA,EAAQ,CAAC,EAChB,IAAK,KAAK,IAAI,EAAGE,EAAcD,EAAgBD,EAAQ,CAAC,EAAIA,EAAQ,CAAC,CAAC,CAC9E,CACA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs599.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.cjs599.js");function u(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 i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
2
2
  //# sourceMappingURL=index.cjs598.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs598.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACD,OAAO,KACX,IAAIC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,SAAQ,EACpB,OAAID,GACAD,EAAI,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACU,IAACO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACjB,MAAO,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACJ,EACA,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACrEA,EAAa,KAErB,CACR,CACA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs598.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":"kaAWU,IAACA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,oBAAmB,EAC/B,OAAO,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAM,CAChB,CACJ,EAAG,CAACE,GAAUC,CAAS,CAAC,CAC5B,CACJ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs600.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
2
2
  //# sourceMappingURL=index.cjs599.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs599.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"gFAIU,IAACA,EAAW,UAAY,CAI9B,GAAI,OAAO,kBAAsB,IAC7B,OAAO,iBAGf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs599.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACD,OAAO,KACX,IAAIC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,SAAQ,EACpB,OAAID,GACAD,EAAI,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACU,IAACO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACjB,MAAO,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACJ,EACA,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACrEA,EAAa,KAErB,CACR,CACA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Breadcrumb/Breadcrumb.css');const e=require("./index.cjs236.js"),i=require("./index.cjs272.js"),l=require("./index.cjs238.js");;/* empty css */const t=({items:s=[{label:"Home",href:"#"}]})=>e.jsxRuntimeExports.jsx("nav",{"aria-label":"Percorso di navigazione",children:e.jsxRuntimeExports.jsx("ol",{className:l.clsx("ui-breadcrumb","fs-6 md-fs-custom"),children:s.map((r,a)=>e.jsxRuntimeExports.jsxs("li",{className:"ui-breadcrumb-wrapper",children:[e.jsxRuntimeExports.jsx(i.BreadcrumbItem,{label:r.label,href:r.href,asLink:r.asLink,isClickable:r.isClickable??!0}),a<s.length-1&&e.jsxRuntimeExports.jsx("span",{className:l.clsx("ui-breadcrumb-separator","fw-bold text-slate-28"),"aria-hidden":"true",children:"/"})]},a))})});exports.Breadcrumb=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Breadcrumb/Breadcrumb.css');const e=require("./index.cjs236.js"),i=require("./index.cjs238.js"),l=require("./index.cjs239.js");;/* empty css */const t=({items:s=[{label:"Home",href:"#"}]})=>e.jsxRuntimeExports.jsx("nav",{"aria-label":"Percorso di navigazione",children:e.jsxRuntimeExports.jsx("ol",{className:l.clsx("ui-breadcrumb","fs-6 md-fs-custom"),children:s.map((r,a)=>e.jsxRuntimeExports.jsxs("li",{className:"ui-breadcrumb-wrapper",children:[e.jsxRuntimeExports.jsx(i.BreadcrumbItem,{label:r.label,href:r.href,asLink:r.asLink,isClickable:r.isClickable??!0}),a<s.length-1&&e.jsxRuntimeExports.jsx("span",{className:l.clsx("ui-breadcrumb-separator","fw-bold text-slate-28"),"aria-hidden":"true",children:"/"})]},a))})});exports.Breadcrumb=t;
2
2
  //# sourceMappingURL=index.cjs6.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Checkbox/Checkbox.css');const e=require("./index.cjs236.js"),c=require("./index.cjs336.js"),d=require("./index.cjs116.js"),j=require("./index.cjs248.js");;/* empty css */const m=require("./index.cjs238.js"),p=require("./index.cjs173.js"),i=require("./index.cjs61.js"),b=({id:n,linkText:s,onPressLink:x,label:r,checked:a,onChange:l,classNameText:u="fs-6 fw-bold"})=>{var o;const t=new DOMParser().parseFromString(`${r}`,"text/html"),h=((o=t==null?void 0:t.body)==null?void 0:o.textContent)||"";return e.jsxRuntimeExports.jsxs(d.Row,{alignItems:s?"flex-start":"center",className:"ui-check-box-container",gap:"x16",children:[e.jsxRuntimeExports.jsx(c.Checkbox,{id:n,checked:a,onCheckedChange:l,className:"ui-checkbox","aria-label":h,children:e.jsxRuntimeExports.jsx(c.CheckboxIndicator,{children:e.jsxRuntimeExports.jsx(p.CheckIcon,{width:14,height:14,color:"white"})})}),e.jsxRuntimeExports.jsxs(i.Col,{children:[r&&e.jsxRuntimeExports.jsx(j.default,{as:"label",htmlFor:n,className:m.clsx(u,"text-slate-20"),children:r}),s&&e.jsxRuntimeExports.jsx(i.Col,{onClick:x,children:e.jsxRuntimeExports.jsx("span",{className:"ui-link-checkbox cursor-pointer",children:s})})]})]})};exports.Checkbox=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Checkbox/Checkbox.css');const e=require("./index.cjs236.js"),c=require("./index.cjs304.js"),d=require("./index.cjs116.js"),j=require("./index.cjs313.js");;/* empty css */const m=require("./index.cjs239.js"),p=require("./index.cjs173.js"),i=require("./index.cjs61.js"),b=({id:n,linkText:s,onPressLink:x,label:r,checked:a,onChange:l,classNameText:u="fs-6 fw-bold"})=>{var o;const t=new DOMParser().parseFromString(`${r}`,"text/html"),h=((o=t==null?void 0:t.body)==null?void 0:o.textContent)||"";return e.jsxRuntimeExports.jsxs(d.Row,{alignItems:s?"flex-start":"center",className:"ui-check-box-container",gap:"x16",children:[e.jsxRuntimeExports.jsx(c.Checkbox,{id:n,checked:a,onCheckedChange:l,className:"ui-checkbox","aria-label":h,children:e.jsxRuntimeExports.jsx(c.CheckboxIndicator,{children:e.jsxRuntimeExports.jsx(p.CheckIcon,{width:14,height:14,color:"white"})})}),e.jsxRuntimeExports.jsxs(i.Col,{children:[r&&e.jsxRuntimeExports.jsx(j.default,{as:"label",htmlFor:n,className:m.clsx(u,"text-slate-20"),children:r}),s&&e.jsxRuntimeExports.jsx(i.Col,{onClick:x,children:e.jsxRuntimeExports.jsx("span",{className:"ui-link-checkbox cursor-pointer",children:s})})]})]})};exports.Checkbox=b;
2
2
  //# sourceMappingURL=index.cjs60.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
2
+ //# sourceMappingURL=index.cjs600.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs600.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"gFAIU,IAACA,EAAW,UAAY,CAI9B,GAAI,OAAO,kBAAsB,IAC7B,OAAO,iBAGf","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs236.js"),g=require("react"),m=require("./index.cjs238.js"),q=require("./index.cjs354.js"),x=require("./index.cjs308.js"),j=require("./index.cjs355.js"),b=({as:e,className:o,justifyContent:c,alignItems:t,flexWrap:r,ref:n,style:a,...s})=>{const l=e||"div",i=g.useMemo(()=>{const u=q.createSpacingClasses(s),p=x.createColorClasses(s),C=j.createTypographyClasses(s);return[...u,...p,...C].join(" ")},[s]);return y.jsxRuntimeExports.jsx(l,{ref:n,className:m.clsx("base-col",o,i),style:{justifyContent:c,alignItems:t,flexWrap:r,...a},...s})};exports.Col=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs236.js"),g=require("react"),m=require("./index.cjs239.js"),q=require("./index.cjs329.js"),x=require("./index.cjs276.js"),j=require("./index.cjs330.js"),b=({as:e,className:o,justifyContent:c,alignItems:t,flexWrap:r,ref:n,style:a,...s})=>{const l=e||"div",i=g.useMemo(()=>{const u=q.createSpacingClasses(s),p=x.createColorClasses(s),C=j.createTypographyClasses(s);return[...u,...p,...C].join(" ")},[s]);return y.jsxRuntimeExports.jsx(l,{ref:n,className:m.clsx("base-col",o,i),style:{justifyContent:c,alignItems:t,flexWrap:r,...a},...s})};exports.Col=b;
2
2
  //# sourceMappingURL=index.cjs61.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),x=require("./index.cjs557.js"),Ve=require("./index.cjs612.js"),y=require("./index.cjs556.js"),Ye=require("./index.cjs555.js"),Xe=require("./index.cjs613.js"),We=require("./index.cjs561.js"),ze=require("./index.cjs566.js"),Ze=require("./index.cjs562.js"),T=require("./index.cjs614.js"),Je=require("./index.cjs563.js"),X=require("./index.cjs564.js"),A=require("./index.cjs565.js"),W=require("./index.cjs615.js"),Qe=require("./index.cjs558.js"),be=require("./index.cjs573.js"),et=require("./index.cjs568.js"),tt=require("./index.cjs567.js"),a=require("./index.cjs236.js");function nt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=nt(Be);var oe=["Enter"," "],ot=["ArrowDown","PageUp","Home"],we=["ArrowUp","PageDown","End"],rt=[...ot,...we],st={ltr:[...oe,"ArrowRight"],rtl:[...oe,"ArrowLeft"]},ct={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[N,ut,at]=Ve.createCollection(F),[j,it]=Ye.createContextScope(F,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(F),[dt,G]=j(F),re=e=>{const{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:s,modal:d=!0}=e,p=z(n),[v,m]=r.useState(null),f=r.useRef(!1),c=be.useCallbackRef(s),l=Xe.useDirection(u);return r.useEffect(()=>{const R=()=>{f.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>f.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),a.jsxRuntimeExports.jsx(T.Root,{...p,children:a.jsxRuntimeExports.jsx(lt,{scope:n,open:t,onOpenChange:c,content:v,onContentChange:m,children:a.jsxRuntimeExports.jsx(dt,{scope:n,onClose:r.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:f,dir:l,modal:d,children:o})})})};re.displayName=F;var ft="MenuAnchor",Z=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Anchor,{...u,...o,ref:n})});Z.displayName=ft;var se="MenuPortal",[mt,Te]=j(se,{forceMount:void 0}),ce=e=>{const{__scopeMenu:n,forceMount:t,children:o,container:u}=e,s=S(se,n);return a.jsxRuntimeExports.jsx(mt,{scope:n,forceMount:t,children:a.jsxRuntimeExports.jsx(X.Presence,{present:t||s.open,children:a.jsxRuntimeExports.jsx(Je.Portal,{asChild:!0,container:u,children:o})})})};ce.displayName=se;var C="MenuContent",[pt,ue]=j(C),ae=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),d=G(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:d.modal?a.jsxRuntimeExports.jsx(xt,{...u,ref:n}):a.jsxRuntimeExports.jsx(vt,{...u,ref:n})})})})}),xt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu),o=r.useRef(null),u=y.useComposedRefs(n,o);return r.useEffect(()=>{const s=o.current;if(s)return et.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(ie,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:x.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),vt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(ie,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Mt=Qe.createSlot("MenuContent.ScrollLock"),ie=r.forwardRef((e,n)=>{const{__scopeMenu:t,loop:o=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:d,disableOutsidePointerEvents:p,onEntryFocus:v,onEscapeKeyDown:m,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:l,onDismiss:R,disableOutsideScroll:M,...P}=e,I=S(C,t),O=G(C,t),H=z(t),q=ye(t),he=ut(t),[Ge,ge]=r.useState(null),U=r.useRef(null),Ke=y.useComposedRefs(n,U,I.onContentChange),$=r.useRef(0),B=r.useRef(""),He=r.useRef(0),Q=r.useRef(null),_e=r.useRef("right"),ee=r.useRef(0),qe=M?tt:r.Fragment,Ue=M?{as:Mt,allowPinchZoom:!0}:void 0,$e=i=>{var w,je;const E=B.current+i,h=he().filter(g=>!g.disabled),_=document.activeElement,te=(w=h.find(g=>g.ref.current===_))==null?void 0:w.textValue,ne=h.map(g=>g.textValue),Pe=wt(ne,E,te),k=(je=h.find(g=>g.textValue===Pe))==null?void 0:je.ref.current;(function g(Se){B.current=Se,window.clearTimeout($.current),Se!==""&&($.current=window.setTimeout(()=>g(""),1e3))})(E),k&&setTimeout(()=>k.focus())};r.useEffect(()=>()=>window.clearTimeout($.current),[]),ze.useFocusGuards();const b=r.useCallback(i=>{var h,_;return _e.current===((h=Q.current)==null?void 0:h.side)&&Tt(i,(_=Q.current)==null?void 0:_.area)},[]);return a.jsxRuntimeExports.jsx(pt,{scope:t,searchRef:B,onItemEnter:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),onItemLeave:r.useCallback(i=>{var E;b(i)||((E=U.current)==null||E.focus(),ge(null))},[b]),onTriggerLeave:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),pointerGraceTimerRef:He,onPointerGraceIntentChange:r.useCallback(i=>{Q.current=i},[]),children:a.jsxRuntimeExports.jsx(qe,{...Ue,children:a.jsxRuntimeExports.jsx(Ze.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:x.composeEventHandlers(s,i=>{var E;i.preventDefault(),(E=U.current)==null||E.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:a.jsxRuntimeExports.jsx(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:m,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:l,onDismiss:R,children:a.jsxRuntimeExports.jsx(W.Root,{asChild:!0,...q,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:Ge,onCurrentTabStopIdChange:ge,onEntryFocus:x.composeEventHandlers(v,i=>{O.isUsingKeyboardRef.current||i.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsxRuntimeExports.jsx(T.Content,{role:"menu","aria-orientation":"vertical","data-state":Fe(I.open),"data-radix-menu-content":"",dir:O.dir,...H,...P,ref:Ke,style:{outline:"none",...P.style},onKeyDown:x.composeEventHandlers(P.onKeyDown,i=>{const h=i.target.closest("[data-radix-menu-content]")===i.currentTarget,_=i.ctrlKey||i.altKey||i.metaKey,te=i.key.length===1;h&&(i.key==="Tab"&&i.preventDefault(),!_&&te&&$e(i.key));const ne=U.current;if(i.target!==ne||!rt.includes(i.key))return;i.preventDefault();const k=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&k.reverse(),It(k)}),onBlur:x.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:x.composeEventHandlers(e.onPointerMove,L(i=>{const E=i.target,h=ee.current!==i.clientX;if(i.currentTarget.contains(E)&&h){const _=i.clientX>ee.current?"right":"left";_e.current=_,ee.current=i.clientX}}))})})})})})})});ae.displayName=C;var Rt="MenuGroup",J=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"group",...o,ref:n})});J.displayName=Rt;var Et="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Et;var V="MenuItem",Ie="menu.itemSelect",K=r.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:o,...u}=e,s=r.useRef(null),d=G(V,e.__scopeMenu),p=ue(V,e.__scopeMenu),v=y.useComposedRefs(n,s),m=r.useRef(!1),f=()=>{const c=s.current;if(!t&&c){const l=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});c.addEventListener(Ie,R=>o==null?void 0:o(R),{once:!0}),A.dispatchDiscreteCustomEvent(c,l),l.defaultPrevented?m.current=!1:d.onClose()}};return a.jsxRuntimeExports.jsx(Ae,{...u,ref:v,disabled:t,onClick:x.composeEventHandlers(e.onClick,f),onPointerDown:c=>{var l;(l=e.onPointerDown)==null||l.call(e,c),m.current=!0},onPointerUp:x.composeEventHandlers(e.onPointerUp,c=>{var l;m.current||(l=c.currentTarget)==null||l.click()}),onKeyDown:x.composeEventHandlers(e.onKeyDown,c=>{const l=p.searchRef.current!=="";t||l&&c.key===" "||oe.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});K.displayName=V;var Ae=r.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:o=!1,textValue:u,...s}=e,d=ue(V,t),p=ye(t),v=r.useRef(null),m=y.useComposedRefs(n,v),[f,c]=r.useState(!1),[l,R]=r.useState("");return r.useEffect(()=>{const M=v.current;M&&R((M.textContent??"").trim())},[s.children]),a.jsxRuntimeExports.jsx(N.ItemSlot,{scope:t,disabled:o,textValue:u??l,children:a.jsxRuntimeExports.jsx(W.Item,{asChild:!0,...p,focusable:!o,children:a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:m,onPointerMove:x.composeEventHandlers(e.onPointerMove,L(M=>{o?d.onItemLeave(M):(d.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:x.composeEventHandlers(e.onPointerLeave,L(M=>d.onItemLeave(M))),onFocus:x.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:x.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Ct="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:t,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemcheckbox","aria-checked":Y(t)?"mixed":t,...u,ref:n,"data-state":Ce(t),onSelect:x.composeEventHandlers(u.onSelect,()=>o==null?void 0:o(Y(t)?!0:!t),{checkForDefaultPrevented:!1})})})});de.displayName=Ct;var Oe="MenuRadioGroup",[ht,gt]=j(Oe,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,n)=>{const{value:t,onValueChange:o,...u}=e,s=be.useCallbackRef(o);return a.jsxRuntimeExports.jsx(ht,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var ke="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=gt(ke,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:s,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemradio","aria-checked":s,...o,ref:n,"data-state":Ce(s),onSelect:x.composeEventHandlers(o.onSelect,()=>{var d;return(d=u.onValueChange)==null?void 0:d.call(u,t)},{checkForDefaultPrevented:!1})})})});me.displayName=ke;var pe="MenuItemIndicator",[De,_t]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=_t(pe,t);return a.jsxRuntimeExports.jsx(X.Presence,{present:o||Y(s.checked)||s.checked===!0,children:a.jsxRuntimeExports.jsx(A.Primitive.span,{...u,ref:n,"data-state":Ce(s.checked)})})});xe.displayName=pe;var Pt="MenuSeparator",ve=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});ve.displayName=Pt;var jt="MenuArrow",Me=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Me.displayName=jt;var St="MenuSub",[Yt,Ne]=j(St),D="MenuSubTrigger",Re=r.forwardRef((e,n)=>{const t=S(D,e.__scopeMenu),o=G(D,e.__scopeMenu),u=Ne(D,e.__scopeMenu),s=ue(D,e.__scopeMenu),d=r.useRef(null),{pointerGraceTimerRef:p,onPointerGraceIntentChange:v}=s,m={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const c=p.current;return()=>{window.clearTimeout(c),v(null)}},[p,v]),a.jsxRuntimeExports.jsx(Z,{asChild:!0,...m,children:a.jsxRuntimeExports.jsx(Ae,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":Fe(t.open),...e,ref:y.composeRefs(n,u.onTriggerChange),onClick:c=>{var l;(l=e.onClick)==null||l.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:x.composeEventHandlers(e.onPointerMove,L(c=>{s.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!t.open&&!d.current&&(s.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:x.composeEventHandlers(e.onPointerLeave,L(c=>{var R,M;f();const l=(R=t.content)==null?void 0:R.getBoundingClientRect();if(l){const P=(M=t.content)==null?void 0:M.dataset.side,I=P==="right",O=I?-5:5,H=l[I?"left":"right"],q=l[I?"right":"left"];s.onPointerGraceIntentChange({area:[{x:c.clientX+O,y:c.clientY},{x:H,y:l.top},{x:q,y:l.top},{x:q,y:l.bottom},{x:H,y:l.bottom}],side:P}),window.clearTimeout(p.current),p.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(c),c.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:x.composeEventHandlers(e.onKeyDown,c=>{var R;const l=s.searchRef.current!=="";e.disabled||l&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(R=t.content)==null||R.focus(),c.preventDefault())})})})});Re.displayName=D;var Le="MenuSubContent",Ee=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),d=G(C,e.__scopeMenu),p=Ne(Le,e.__scopeMenu),v=r.useRef(null),m=y.useComposedRefs(n,v);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(ie,{id:p.contentId,"aria-labelledby":p.triggerId,...u,ref:m,align:"start",side:d.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var c;d.isUsingKeyboardRef.current&&((c=v.current)==null||c.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:x.composeEventHandlers(e.onFocusOutside,f=>{f.target!==p.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:x.composeEventHandlers(e.onEscapeKeyDown,f=>{d.onClose(),f.preventDefault()}),onKeyDown:x.composeEventHandlers(e.onKeyDown,f=>{var R;const c=f.currentTarget.contains(f.target),l=ct[d.dir].includes(f.key);c&&l&&(s.onOpenChange(!1),(R=p.trigger)==null||R.focus(),f.preventDefault())})})})})})});Ee.displayName=Le;function Fe(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function It(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function bt(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function wt(e,n,t){const u=n.length>1&&Array.from(n).every(m=>m===n[0])?n[0]:n,s=t?e.indexOf(t):-1;let d=bt(e,Math.max(s,0));u.length===1&&(d=d.filter(m=>m!==t));const v=d.find(m=>m.toLowerCase().startsWith(u.toLowerCase()));return v!==t?v:void 0}function yt(e,n){const{x:t,y:o}=e;let u=!1;for(let s=0,d=n.length-1;s<n.length;d=s++){const p=n[s],v=n[d],m=p.x,f=p.y,c=v.x,l=v.y;f>o!=l>o&&t<(c-m)*(o-f)/(l-f)+m&&(u=!u)}return u}function Tt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return yt(t,n)}function L(e){return n=>n.pointerType==="mouse"?e(n):void 0}var At=re,Ot=Z,kt=ce,Dt=ae,Nt=J,Lt=le,Ft=K,Gt=de,Kt=fe,Ht=me,qt=xe,Ut=ve,$t=Me,Bt=Re,Vt=Ee;exports.Anchor=Ot;exports.Arrow=$t;exports.CheckboxItem=Gt;exports.Content=Dt;exports.Group=Nt;exports.Item=Ft;exports.ItemIndicator=qt;exports.Label=Lt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Me;exports.MenuCheckboxItem=de;exports.MenuContent=ae;exports.MenuGroup=J;exports.MenuItem=K;exports.MenuItemIndicator=xe;exports.MenuLabel=le;exports.MenuPortal=ce;exports.MenuRadioGroup=fe;exports.MenuRadioItem=me;exports.MenuSeparator=ve;exports.MenuSubContent=Ee;exports.MenuSubTrigger=Re;exports.Portal=kt;exports.RadioGroup=Kt;exports.RadioItem=Ht;exports.Root=At;exports.Separator=Ut;exports.SubContent=Vt;exports.SubTrigger=Bt;exports.createMenuScope=it;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),x=require("./index.cjs483.js"),Ve=require("./index.cjs615.js"),y=require("./index.cjs482.js"),Ye=require("./index.cjs481.js"),Xe=require("./index.cjs616.js"),We=require("./index.cjs525.js"),ze=require("./index.cjs530.js"),Ze=require("./index.cjs526.js"),T=require("./index.cjs617.js"),Je=require("./index.cjs527.js"),X=require("./index.cjs528.js"),A=require("./index.cjs529.js"),W=require("./index.cjs618.js"),Qe=require("./index.cjs484.js"),be=require("./index.cjs574.js"),et=require("./index.cjs532.js"),tt=require("./index.cjs531.js"),a=require("./index.cjs236.js");function nt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=nt(Be);var oe=["Enter"," "],ot=["ArrowDown","PageUp","Home"],we=["ArrowUp","PageDown","End"],rt=[...ot,...we],st={ltr:[...oe,"ArrowRight"],rtl:[...oe,"ArrowLeft"]},ct={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[N,ut,at]=Ve.createCollection(F),[j,it]=Ye.createContextScope(F,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(F),[dt,G]=j(F),re=e=>{const{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:s,modal:d=!0}=e,p=z(n),[v,m]=r.useState(null),f=r.useRef(!1),c=be.useCallbackRef(s),l=Xe.useDirection(u);return r.useEffect(()=>{const R=()=>{f.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>f.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),a.jsxRuntimeExports.jsx(T.Root,{...p,children:a.jsxRuntimeExports.jsx(lt,{scope:n,open:t,onOpenChange:c,content:v,onContentChange:m,children:a.jsxRuntimeExports.jsx(dt,{scope:n,onClose:r.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:f,dir:l,modal:d,children:o})})})};re.displayName=F;var ft="MenuAnchor",Z=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Anchor,{...u,...o,ref:n})});Z.displayName=ft;var se="MenuPortal",[mt,Te]=j(se,{forceMount:void 0}),ce=e=>{const{__scopeMenu:n,forceMount:t,children:o,container:u}=e,s=S(se,n);return a.jsxRuntimeExports.jsx(mt,{scope:n,forceMount:t,children:a.jsxRuntimeExports.jsx(X.Presence,{present:t||s.open,children:a.jsxRuntimeExports.jsx(Je.Portal,{asChild:!0,container:u,children:o})})})};ce.displayName=se;var C="MenuContent",[pt,ue]=j(C),ae=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),d=G(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:d.modal?a.jsxRuntimeExports.jsx(xt,{...u,ref:n}):a.jsxRuntimeExports.jsx(vt,{...u,ref:n})})})})}),xt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu),o=r.useRef(null),u=y.useComposedRefs(n,o);return r.useEffect(()=>{const s=o.current;if(s)return et.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(ie,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:x.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),vt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(ie,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Mt=Qe.createSlot("MenuContent.ScrollLock"),ie=r.forwardRef((e,n)=>{const{__scopeMenu:t,loop:o=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:d,disableOutsidePointerEvents:p,onEntryFocus:v,onEscapeKeyDown:m,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:l,onDismiss:R,disableOutsideScroll:M,...P}=e,I=S(C,t),O=G(C,t),H=z(t),q=ye(t),he=ut(t),[Ge,ge]=r.useState(null),U=r.useRef(null),Ke=y.useComposedRefs(n,U,I.onContentChange),$=r.useRef(0),B=r.useRef(""),He=r.useRef(0),Q=r.useRef(null),_e=r.useRef("right"),ee=r.useRef(0),qe=M?tt:r.Fragment,Ue=M?{as:Mt,allowPinchZoom:!0}:void 0,$e=i=>{var w,je;const E=B.current+i,h=he().filter(g=>!g.disabled),_=document.activeElement,te=(w=h.find(g=>g.ref.current===_))==null?void 0:w.textValue,ne=h.map(g=>g.textValue),Pe=wt(ne,E,te),k=(je=h.find(g=>g.textValue===Pe))==null?void 0:je.ref.current;(function g(Se){B.current=Se,window.clearTimeout($.current),Se!==""&&($.current=window.setTimeout(()=>g(""),1e3))})(E),k&&setTimeout(()=>k.focus())};r.useEffect(()=>()=>window.clearTimeout($.current),[]),ze.useFocusGuards();const b=r.useCallback(i=>{var h,_;return _e.current===((h=Q.current)==null?void 0:h.side)&&Tt(i,(_=Q.current)==null?void 0:_.area)},[]);return a.jsxRuntimeExports.jsx(pt,{scope:t,searchRef:B,onItemEnter:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),onItemLeave:r.useCallback(i=>{var E;b(i)||((E=U.current)==null||E.focus(),ge(null))},[b]),onTriggerLeave:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),pointerGraceTimerRef:He,onPointerGraceIntentChange:r.useCallback(i=>{Q.current=i},[]),children:a.jsxRuntimeExports.jsx(qe,{...Ue,children:a.jsxRuntimeExports.jsx(Ze.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:x.composeEventHandlers(s,i=>{var E;i.preventDefault(),(E=U.current)==null||E.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:a.jsxRuntimeExports.jsx(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:m,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:l,onDismiss:R,children:a.jsxRuntimeExports.jsx(W.Root,{asChild:!0,...q,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:Ge,onCurrentTabStopIdChange:ge,onEntryFocus:x.composeEventHandlers(v,i=>{O.isUsingKeyboardRef.current||i.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsxRuntimeExports.jsx(T.Content,{role:"menu","aria-orientation":"vertical","data-state":Fe(I.open),"data-radix-menu-content":"",dir:O.dir,...H,...P,ref:Ke,style:{outline:"none",...P.style},onKeyDown:x.composeEventHandlers(P.onKeyDown,i=>{const h=i.target.closest("[data-radix-menu-content]")===i.currentTarget,_=i.ctrlKey||i.altKey||i.metaKey,te=i.key.length===1;h&&(i.key==="Tab"&&i.preventDefault(),!_&&te&&$e(i.key));const ne=U.current;if(i.target!==ne||!rt.includes(i.key))return;i.preventDefault();const k=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&k.reverse(),It(k)}),onBlur:x.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:x.composeEventHandlers(e.onPointerMove,L(i=>{const E=i.target,h=ee.current!==i.clientX;if(i.currentTarget.contains(E)&&h){const _=i.clientX>ee.current?"right":"left";_e.current=_,ee.current=i.clientX}}))})})})})})})});ae.displayName=C;var Rt="MenuGroup",J=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"group",...o,ref:n})});J.displayName=Rt;var Et="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Et;var V="MenuItem",Ie="menu.itemSelect",K=r.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:o,...u}=e,s=r.useRef(null),d=G(V,e.__scopeMenu),p=ue(V,e.__scopeMenu),v=y.useComposedRefs(n,s),m=r.useRef(!1),f=()=>{const c=s.current;if(!t&&c){const l=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});c.addEventListener(Ie,R=>o==null?void 0:o(R),{once:!0}),A.dispatchDiscreteCustomEvent(c,l),l.defaultPrevented?m.current=!1:d.onClose()}};return a.jsxRuntimeExports.jsx(Ae,{...u,ref:v,disabled:t,onClick:x.composeEventHandlers(e.onClick,f),onPointerDown:c=>{var l;(l=e.onPointerDown)==null||l.call(e,c),m.current=!0},onPointerUp:x.composeEventHandlers(e.onPointerUp,c=>{var l;m.current||(l=c.currentTarget)==null||l.click()}),onKeyDown:x.composeEventHandlers(e.onKeyDown,c=>{const l=p.searchRef.current!=="";t||l&&c.key===" "||oe.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});K.displayName=V;var Ae=r.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:o=!1,textValue:u,...s}=e,d=ue(V,t),p=ye(t),v=r.useRef(null),m=y.useComposedRefs(n,v),[f,c]=r.useState(!1),[l,R]=r.useState("");return r.useEffect(()=>{const M=v.current;M&&R((M.textContent??"").trim())},[s.children]),a.jsxRuntimeExports.jsx(N.ItemSlot,{scope:t,disabled:o,textValue:u??l,children:a.jsxRuntimeExports.jsx(W.Item,{asChild:!0,...p,focusable:!o,children:a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:m,onPointerMove:x.composeEventHandlers(e.onPointerMove,L(M=>{o?d.onItemLeave(M):(d.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:x.composeEventHandlers(e.onPointerLeave,L(M=>d.onItemLeave(M))),onFocus:x.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:x.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Ct="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:t,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemcheckbox","aria-checked":Y(t)?"mixed":t,...u,ref:n,"data-state":Ce(t),onSelect:x.composeEventHandlers(u.onSelect,()=>o==null?void 0:o(Y(t)?!0:!t),{checkForDefaultPrevented:!1})})})});de.displayName=Ct;var Oe="MenuRadioGroup",[ht,gt]=j(Oe,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,n)=>{const{value:t,onValueChange:o,...u}=e,s=be.useCallbackRef(o);return a.jsxRuntimeExports.jsx(ht,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var ke="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=gt(ke,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:s,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemradio","aria-checked":s,...o,ref:n,"data-state":Ce(s),onSelect:x.composeEventHandlers(o.onSelect,()=>{var d;return(d=u.onValueChange)==null?void 0:d.call(u,t)},{checkForDefaultPrevented:!1})})})});me.displayName=ke;var pe="MenuItemIndicator",[De,_t]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=_t(pe,t);return a.jsxRuntimeExports.jsx(X.Presence,{present:o||Y(s.checked)||s.checked===!0,children:a.jsxRuntimeExports.jsx(A.Primitive.span,{...u,ref:n,"data-state":Ce(s.checked)})})});xe.displayName=pe;var Pt="MenuSeparator",ve=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});ve.displayName=Pt;var jt="MenuArrow",Me=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Me.displayName=jt;var St="MenuSub",[Yt,Ne]=j(St),D="MenuSubTrigger",Re=r.forwardRef((e,n)=>{const t=S(D,e.__scopeMenu),o=G(D,e.__scopeMenu),u=Ne(D,e.__scopeMenu),s=ue(D,e.__scopeMenu),d=r.useRef(null),{pointerGraceTimerRef:p,onPointerGraceIntentChange:v}=s,m={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const c=p.current;return()=>{window.clearTimeout(c),v(null)}},[p,v]),a.jsxRuntimeExports.jsx(Z,{asChild:!0,...m,children:a.jsxRuntimeExports.jsx(Ae,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":Fe(t.open),...e,ref:y.composeRefs(n,u.onTriggerChange),onClick:c=>{var l;(l=e.onClick)==null||l.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:x.composeEventHandlers(e.onPointerMove,L(c=>{s.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!t.open&&!d.current&&(s.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:x.composeEventHandlers(e.onPointerLeave,L(c=>{var R,M;f();const l=(R=t.content)==null?void 0:R.getBoundingClientRect();if(l){const P=(M=t.content)==null?void 0:M.dataset.side,I=P==="right",O=I?-5:5,H=l[I?"left":"right"],q=l[I?"right":"left"];s.onPointerGraceIntentChange({area:[{x:c.clientX+O,y:c.clientY},{x:H,y:l.top},{x:q,y:l.top},{x:q,y:l.bottom},{x:H,y:l.bottom}],side:P}),window.clearTimeout(p.current),p.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(c),c.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:x.composeEventHandlers(e.onKeyDown,c=>{var R;const l=s.searchRef.current!=="";e.disabled||l&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(R=t.content)==null||R.focus(),c.preventDefault())})})})});Re.displayName=D;var Le="MenuSubContent",Ee=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),d=G(C,e.__scopeMenu),p=Ne(Le,e.__scopeMenu),v=r.useRef(null),m=y.useComposedRefs(n,v);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(ie,{id:p.contentId,"aria-labelledby":p.triggerId,...u,ref:m,align:"start",side:d.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var c;d.isUsingKeyboardRef.current&&((c=v.current)==null||c.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:x.composeEventHandlers(e.onFocusOutside,f=>{f.target!==p.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:x.composeEventHandlers(e.onEscapeKeyDown,f=>{d.onClose(),f.preventDefault()}),onKeyDown:x.composeEventHandlers(e.onKeyDown,f=>{var R;const c=f.currentTarget.contains(f.target),l=ct[d.dir].includes(f.key);c&&l&&(s.onOpenChange(!1),(R=p.trigger)==null||R.focus(),f.preventDefault())})})})})})});Ee.displayName=Le;function Fe(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function It(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function bt(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function wt(e,n,t){const u=n.length>1&&Array.from(n).every(m=>m===n[0])?n[0]:n,s=t?e.indexOf(t):-1;let d=bt(e,Math.max(s,0));u.length===1&&(d=d.filter(m=>m!==t));const v=d.find(m=>m.toLowerCase().startsWith(u.toLowerCase()));return v!==t?v:void 0}function yt(e,n){const{x:t,y:o}=e;let u=!1;for(let s=0,d=n.length-1;s<n.length;d=s++){const p=n[s],v=n[d],m=p.x,f=p.y,c=v.x,l=v.y;f>o!=l>o&&t<(c-m)*(o-f)/(l-f)+m&&(u=!u)}return u}function Tt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return yt(t,n)}function L(e){return n=>n.pointerType==="mouse"?e(n):void 0}var At=re,Ot=Z,kt=ce,Dt=ae,Nt=J,Lt=le,Ft=K,Gt=de,Kt=fe,Ht=me,qt=xe,Ut=ve,$t=Me,Bt=Re,Vt=Ee;exports.Anchor=Ot;exports.Arrow=$t;exports.CheckboxItem=Gt;exports.Content=Dt;exports.Group=Nt;exports.Item=Ft;exports.ItemIndicator=qt;exports.Label=Lt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Me;exports.MenuCheckboxItem=de;exports.MenuContent=ae;exports.MenuGroup=J;exports.MenuItem=K;exports.MenuItemIndicator=xe;exports.MenuLabel=le;exports.MenuPortal=ce;exports.MenuRadioGroup=fe;exports.MenuRadioItem=me;exports.MenuSeparator=ve;exports.MenuSubContent=Ee;exports.MenuSubTrigger=Re;exports.Portal=kt;exports.RadioGroup=Kt;exports.RadioItem=Ht;exports.Root=At;exports.Separator=Ut;exports.SubContent=Vt;exports.SubTrigger=Bt;exports.createMenuScope=it;
2
2
  //# sourceMappingURL=index.cjs611.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs557.js"),B=require("./index.cjs612.js"),Y=require("./index.cjs556.js"),z=require("./index.cjs555.js"),V=require("./index.cjs559.js"),G=require("./index.cjs565.js"),J=require("./index.cjs573.js"),Q=require("./index.cjs560.js"),W=require("./index.cjs613.js"),f=require("./index.cjs236.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var h="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[j,N,ee]=B.createCollection(b),[te,oe]=z.createContextScope(b,[ee]),[re,ne]=te(b),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=b;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:E=!1,dir:S,currentTabStopId:v,defaultCurrentTabStopId:T,onCurrentTabStopIdChange:w,onEntryFocus:p,preventScrollOnEntryFocus:u=!1,...g}=e,R=c.useRef(null),I=Y.useComposedRefs(o,R),x=W.useDirection(S),[F,n]=Q.useControllableState({prop:v,defaultProp:T??null,onChange:w,caller:b}),[a,C]=c.useState(!1),i=J.useCallbackRef(p),l=N(r),y=c.useRef(!1),[K,P]=c.useState(0);return c.useEffect(()=>{const s=R.current;if(s)return s.addEventListener(h,i),()=>s.removeEventListener(h,i)},[i]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:x,loop:E,currentTabStopId:F,onItemFocus:c.useCallback(s=>n(s),[n]),onItemShiftTab:c.useCallback(()=>C(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>P(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(G.Primitive.div,{tabIndex:a||K===0?-1:0,"data-orientation":t,...g,ref:I,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{y.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!y.current;if(s.target===s.currentTarget&&k&&!a){const D=new CustomEvent(h,Z);if(s.currentTarget.dispatchEvent(D),!D.defaultPrevented){const _=l().filter(d=>d.focusable),L=_.find(d=>d.active),U=_.find(d=>d.id===F),$=[L,U,..._].filter(Boolean).map(d=>d.ref.current);M($,u)}}y.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>C(!1))})})}),q="RovingFocusGroupItem",O=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:E=!1,tabStopId:S,children:v,...T}=e,w=V.useId(),p=S||w,u=ne(q,r),g=u.currentTabStopId===p,R=N(r),{onFocusableItemAdd:I,onFocusableItemRemove:x,currentTabStopId:F}=u;return c.useEffect(()=>{if(t)return I(),()=>x()},[t,I,x]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:E,children:f.jsxRuntimeExports.jsx(G.Primitive.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...T,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const a=ie(n,u.orientation,u.dir);if(a!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=R().filter(l=>l.focusable).map(l=>l.ref.current);if(a==="last")i.reverse();else if(a==="prev"||a==="next"){a==="prev"&&i.reverse();const l=i.indexOf(n.currentTarget);i=u.loop?ae(i,l+1):i.slice(l+1)}setTimeout(()=>M(i))}}),children:typeof v=="function"?v({isCurrentTabStop:g,hasTabStop:F!=null}):v})})});O.displayName=q;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function M(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=O;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=O;exports.createRovingFocusGroupScope=oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs481.js"),I=require("./index.cjs482.js"),M=require("./index.cjs484.js"),f=require("./index.cjs236.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
2
2
  //# sourceMappingURL=index.cjs615.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs615.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n }),\n children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","children","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAI,EAClDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAAA,mBACjEP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,w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,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAO1E,EACP2E,GAAO5B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs615.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CAC1E,EACQM,EAAsBC,GAAU,CACpC,KAAM,CAAE,MAAAC,EAAO,SAAAC,CAAQ,EAAKF,EACtBG,EAAMC,EAAM,OAAO,IAAI,EACvBC,EAAUD,EAAM,OAAuB,IAAI,GAAK,EAAE,QACxD,OAAuBE,EAAAA,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ACS,EAAgB,MAAO,CAAA,EAC5B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CAC1F,CAEI,EAAG,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE7C,CACA,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAkB,EAClFE,EACAzB,CACJ,CACA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),a=require("./index.cjs236.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=s(u);var i=n.createContext(void 0),c=e=>{const{dir:t,children:r}=e;return a.jsxRuntimeExports.jsx(i.Provider,{value:t,children:r})};function l(e){const t=n.useContext(i);return e||t||"ltr"}var d=c;exports.DirectionProvider=c;exports.Provider=d;exports.useDirection=l;
2
- //# sourceMappingURL=index.cjs613.js.map
2
+ //# sourceMappingURL=index.cjs616.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs613.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":"kaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAC7CC,EAAqBC,GAAU,CACjC,KAAM,CAAE,IAAAC,EAAK,SAAAC,CAAQ,EAAKF,EAC1B,OAAuBG,EAAAA,kBAAAA,IAAIN,EAAiB,SAAU,CAAE,MAAOI,EAAK,SAAAC,EAAU,CAChF,EACA,SAASE,EAAaC,EAAU,CAC9B,MAAMC,EAAYR,EAAM,WAAWD,CAAgB,EACnD,OAAOQ,GAAYC,GAAa,KAClC,CACG,IAACC,EAAWR","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs616.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":"kaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAC7CC,EAAqBC,GAAU,CACjC,KAAM,CAAE,IAAAC,EAAK,SAAAC,CAAQ,EAAKF,EAC1B,OAAuBG,EAAAA,kBAAAA,IAAIN,EAAiB,SAAU,CAAE,MAAOI,EAAK,SAAAC,EAAU,CAChF,EACA,SAASE,EAAaC,EAAU,CAC9B,MAAMC,EAAYR,EAAM,WAAWD,CAAgB,EACnD,OAAOQ,GAAYC,GAAa,KAClC,CACG,IAACC,EAAWR","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs619.js"),ye=require("./index.cjs620.js"),Z=require("./index.cjs556.js"),Ae=require("./index.cjs555.js"),G=require("./index.cjs565.js"),ve=require("./index.cjs573.js"),L=require("./index.cjs572.js"),Ce=require("./index.cjs592.js"),u=require("./index.cjs236.js"),Re=require("./index.cjs621.js");function be(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const p=be(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,s]=p.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:s,children:t})};$.displayName=_;var Q="PopperAnchor",N=p.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...s}=e,n=K(Q,t),i=p.useRef(null),w=Z.useComposedRefs(o,i),a=p.useRef(null);return p.useEffect(()=>{const c=a.current;a.current=(r==null?void 0:r.current)||i.current,c!==a.current&&n.onAnchorChange(a.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...s,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=p.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:s=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:a=!0,collisionBoundary:c=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[h,R]=p.useState(null),te=Z.useComposedRefs(o,y=>R(y)),[E,re]=p.useState(null),m=Ce.useSize(E),oe=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(c)?c:[c],ae=W.length>0,b={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>Re.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:s+M,alignmentAxis:i}),a&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...b}),a&&l.flip({...b}),l.size({...b,apply:({elements:y,rects:U,availableWidth:he,availableHeight:me})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${me}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...b})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=p.useState();return L.useLayoutEffect(()=>{h&&xe(window.getComputedStyle(h).zIndex)},[h]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=p.forwardRef(function(o,t){const{__scopePopper:r,...s}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...s,ref:t,style:{...s.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,h,R;const{placement:t,rects:r,middlewareData:s}=o,i=((C=s.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[c,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((h=s.arrow)==null?void 0:h.x)??0)+w/2,v=(((R=s.arrow)==null?void 0:R.y)??0)+a/2;let f="",d="";return c==="bottom"?(f=i?x:`${A}px`,d=`${-a}px`):c==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+a}px`):c==="right"?(f=`${-a}px`,d=i?x:`${v}px`):c==="left"&&(f=`${r.floating.width+a}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
2
- //# sourceMappingURL=index.cjs614.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs619.js"),ye=require("./index.cjs620.js"),Z=require("./index.cjs482.js"),Ae=require("./index.cjs481.js"),G=require("./index.cjs529.js"),ve=require("./index.cjs574.js"),L=require("./index.cjs573.js"),Ce=require("./index.cjs588.js"),u=require("./index.cjs236.js"),Re=require("./index.cjs621.js");function be(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const p=be(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,s]=p.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:s,children:t})};$.displayName=_;var Q="PopperAnchor",N=p.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...s}=e,n=K(Q,t),i=p.useRef(null),w=Z.useComposedRefs(o,i),a=p.useRef(null);return p.useEffect(()=>{const c=a.current;a.current=(r==null?void 0:r.current)||i.current,c!==a.current&&n.onAnchorChange(a.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...s,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=p.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:s=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:a=!0,collisionBoundary:c=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[h,R]=p.useState(null),te=Z.useComposedRefs(o,y=>R(y)),[E,re]=p.useState(null),m=Ce.useSize(E),oe=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(c)?c:[c],ae=W.length>0,b={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>Re.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:s+M,alignmentAxis:i}),a&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...b}),a&&l.flip({...b}),l.size({...b,apply:({elements:y,rects:U,availableWidth:he,availableHeight:me})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${me}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...b})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=p.useState();return L.useLayoutEffect(()=>{h&&xe(window.getComputedStyle(h).zIndex)},[h]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=p.forwardRef(function(o,t){const{__scopePopper:r,...s}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...s,ref:t,style:{...s.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,h,R;const{placement:t,rects:r,middlewareData:s}=o,i=((C=s.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[c,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((h=s.arrow)==null?void 0:h.x)??0)+w/2,v=(((R=s.arrow)==null?void 0:R.y)??0)+a/2;let f="",d="";return c==="bottom"?(f=i?x:`${A}px`,d=`${-a}px`):c==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+a}px`):c==="right"?(f=`${-a}px`,d=i?x:`${v}px`):c==="left"&&(f=`${r.floating.width+a}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
2
+ //# sourceMappingURL=index.cjs617.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs614.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const anchorRef = React.useRef(null);\n React.useEffect(() => {\n const previousAnchor = anchorRef.current;\n anchorRef.current = virtualRef?.current || ref.current;\n if (previousAnchor !== anchorRef.current) {\n context.onAnchorChange(anchorRef.current);\n }\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","anchorRef","previousAnchor","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EAC/C,O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pD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ5G,EACR6G,GAASpG,EACTqG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs617.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const anchorRef = React.useRef(null);\n React.useEffect(() => {\n const previousAnchor = anchorRef.current;\n anchorRef.current = virtualRef?.current || ref.current;\n if (previousAnchor !== anchorRef.current) {\n context.onAnchorChange(anchorRef.current);\n }\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","anchorRef","previousAnchor","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EA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AG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ5G,EACR6G,GAASpG,EACTqG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs236.js");function o({children:e}){return t.jsxRuntimeExports.jsx("article",{className:"shadow rounded h-100 w-100 bg-white d-flex flex-column",children:e})}exports.CardRoot=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs483.js"),B=require("./index.cjs615.js"),Y=require("./index.cjs482.js"),z=require("./index.cjs481.js"),V=require("./index.cjs523.js"),G=require("./index.cjs529.js"),J=require("./index.cjs574.js"),Q=require("./index.cjs524.js"),W=require("./index.cjs616.js"),f=require("./index.cjs236.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var h="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[j,N,ee]=B.createCollection(b),[te,oe]=z.createContextScope(b,[ee]),[re,ne]=te(b),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=b;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:E=!1,dir:S,currentTabStopId:v,defaultCurrentTabStopId:T,onCurrentTabStopIdChange:w,onEntryFocus:p,preventScrollOnEntryFocus:u=!1,...g}=e,R=c.useRef(null),I=Y.useComposedRefs(o,R),x=W.useDirection(S),[F,n]=Q.useControllableState({prop:v,defaultProp:T??null,onChange:w,caller:b}),[a,C]=c.useState(!1),i=J.useCallbackRef(p),l=N(r),y=c.useRef(!1),[K,P]=c.useState(0);return c.useEffect(()=>{const s=R.current;if(s)return s.addEventListener(h,i),()=>s.removeEventListener(h,i)},[i]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:x,loop:E,currentTabStopId:F,onItemFocus:c.useCallback(s=>n(s),[n]),onItemShiftTab:c.useCallback(()=>C(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>P(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(G.Primitive.div,{tabIndex:a||K===0?-1:0,"data-orientation":t,...g,ref:I,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{y.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!y.current;if(s.target===s.currentTarget&&k&&!a){const D=new CustomEvent(h,Z);if(s.currentTarget.dispatchEvent(D),!D.defaultPrevented){const _=l().filter(d=>d.focusable),L=_.find(d=>d.active),U=_.find(d=>d.id===F),$=[L,U,..._].filter(Boolean).map(d=>d.ref.current);M($,u)}}y.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>C(!1))})})}),q="RovingFocusGroupItem",O=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:E=!1,tabStopId:S,children:v,...T}=e,w=V.useId(),p=S||w,u=ne(q,r),g=u.currentTabStopId===p,R=N(r),{onFocusableItemAdd:I,onFocusableItemRemove:x,currentTabStopId:F}=u;return c.useEffect(()=>{if(t)return I(),()=>x()},[t,I,x]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:E,children:f.jsxRuntimeExports.jsx(G.Primitive.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...T,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const a=ie(n,u.orientation,u.dir);if(a!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=R().filter(l=>l.focusable).map(l=>l.ref.current);if(a==="last")i.reverse();else if(a==="prev"||a==="next"){a==="prev"&&i.reverse();const l=i.indexOf(n.currentTarget);i=u.loop?ae(i,l+1):i.slice(l+1)}setTimeout(()=>M(i))}}),children:typeof v=="function"?v({isCurrentTabStop:g,hasTabStop:F!=null}):v})})});O.displayName=q;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function M(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=O;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=O;exports.createRovingFocusGroupScope=oe;
2
2
  //# sourceMappingURL=index.cjs618.js.map