@anoki/fse-ui 1.0.0-beta1.39 → 1.0.0-beta1.39.2

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 (1213) hide show
  1. package/dist/components/ui/Callout/Callout.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs103.js +1 -1
  7. package/dist/index.cjs104.js +1 -1
  8. package/dist/index.cjs105.js +1 -1
  9. package/dist/index.cjs106.js +1 -1
  10. package/dist/index.cjs107.js +1 -1
  11. package/dist/index.cjs108.js +1 -1
  12. package/dist/index.cjs108.js.map +1 -1
  13. package/dist/index.cjs109.js +1 -1
  14. package/dist/index.cjs11.js +1 -1
  15. package/dist/index.cjs110.js +1 -1
  16. package/dist/index.cjs111.js +1 -1
  17. package/dist/index.cjs112.js +1 -1
  18. package/dist/index.cjs113.js +1 -1
  19. package/dist/index.cjs114.js +1 -1
  20. package/dist/index.cjs115.js +1 -1
  21. package/dist/index.cjs116.js +1 -1
  22. package/dist/index.cjs117.js +1 -1
  23. package/dist/index.cjs118.js +1 -1
  24. package/dist/index.cjs119.js +1 -1
  25. package/dist/index.cjs12.js +1 -1
  26. package/dist/index.cjs120.js +1 -1
  27. package/dist/index.cjs121.js +1 -1
  28. package/dist/index.cjs122.js +1 -1
  29. package/dist/index.cjs123.js +1 -1
  30. package/dist/index.cjs124.js +1 -1
  31. package/dist/index.cjs125.js +1 -1
  32. package/dist/index.cjs126.js +1 -1
  33. package/dist/index.cjs127.js +1 -1
  34. package/dist/index.cjs128.js +1 -1
  35. package/dist/index.cjs129.js +1 -1
  36. package/dist/index.cjs13.js +1 -1
  37. package/dist/index.cjs130.js +1 -1
  38. package/dist/index.cjs131.js +1 -1
  39. package/dist/index.cjs132.js +1 -1
  40. package/dist/index.cjs133.js +1 -1
  41. package/dist/index.cjs134.js +1 -1
  42. package/dist/index.cjs135.js +1 -1
  43. package/dist/index.cjs136.js +1 -1
  44. package/dist/index.cjs137.js +1 -1
  45. package/dist/index.cjs138.js +1 -1
  46. package/dist/index.cjs139.js +1 -1
  47. package/dist/index.cjs14.js +1 -1
  48. package/dist/index.cjs140.js +1 -1
  49. package/dist/index.cjs141.js +1 -1
  50. package/dist/index.cjs142.js +1 -1
  51. package/dist/index.cjs143.js +1 -1
  52. package/dist/index.cjs144.js +1 -1
  53. package/dist/index.cjs145.js +1 -1
  54. package/dist/index.cjs146.js +1 -1
  55. package/dist/index.cjs147.js +1 -1
  56. package/dist/index.cjs148.js +1 -1
  57. package/dist/index.cjs149.js +1 -1
  58. package/dist/index.cjs15.js +1 -1
  59. package/dist/index.cjs150.js +1 -1
  60. package/dist/index.cjs151.js +1 -1
  61. package/dist/index.cjs151.js.map +1 -1
  62. package/dist/index.cjs152.js +1 -1
  63. package/dist/index.cjs153.js +1 -1
  64. package/dist/index.cjs154.js +1 -1
  65. package/dist/index.cjs155.js +1 -1
  66. package/dist/index.cjs156.js +1 -1
  67. package/dist/index.cjs157.js +1 -1
  68. package/dist/index.cjs158.js +1 -1
  69. package/dist/index.cjs159.js +1 -1
  70. package/dist/index.cjs16.js +1 -1
  71. package/dist/index.cjs160.js +1 -1
  72. package/dist/index.cjs161.js +1 -1
  73. package/dist/index.cjs162.js +1 -1
  74. package/dist/index.cjs163.js +1 -1
  75. package/dist/index.cjs164.js +1 -1
  76. package/dist/index.cjs165.js +1 -1
  77. package/dist/index.cjs166.js +1 -1
  78. package/dist/index.cjs167.js +1 -1
  79. package/dist/index.cjs168.js +1 -1
  80. package/dist/index.cjs169.js +1 -1
  81. package/dist/index.cjs17.js +1 -1
  82. package/dist/index.cjs170.js +1 -1
  83. package/dist/index.cjs171.js +1 -1
  84. package/dist/index.cjs172.js +1 -1
  85. package/dist/index.cjs173.js +1 -1
  86. package/dist/index.cjs174.js +1 -1
  87. package/dist/index.cjs175.js +1 -1
  88. package/dist/index.cjs176.js +1 -1
  89. package/dist/index.cjs177.js +1 -1
  90. package/dist/index.cjs178.js +1 -1
  91. package/dist/index.cjs179.js +1 -1
  92. package/dist/index.cjs18.js +1 -1
  93. package/dist/index.cjs180.js +1 -1
  94. package/dist/index.cjs181.js +1 -1
  95. package/dist/index.cjs182.js +1 -1
  96. package/dist/index.cjs183.js +1 -1
  97. package/dist/index.cjs184.js +1 -1
  98. package/dist/index.cjs185.js +1 -1
  99. package/dist/index.cjs186.js +1 -1
  100. package/dist/index.cjs187.js +1 -1
  101. package/dist/index.cjs188.js +1 -1
  102. package/dist/index.cjs189.js +1 -1
  103. package/dist/index.cjs19.js +1 -1
  104. package/dist/index.cjs190.js +1 -1
  105. package/dist/index.cjs191.js +1 -1
  106. package/dist/index.cjs192.js +1 -1
  107. package/dist/index.cjs193.js +1 -1
  108. package/dist/index.cjs194.js +1 -1
  109. package/dist/index.cjs195.js +1 -1
  110. package/dist/index.cjs196.js +1 -1
  111. package/dist/index.cjs197.js +1 -1
  112. package/dist/index.cjs198.js +1 -1
  113. package/dist/index.cjs199.js +1 -1
  114. package/dist/index.cjs20.js +1 -1
  115. package/dist/index.cjs200.js +1 -1
  116. package/dist/index.cjs201.js +1 -1
  117. package/dist/index.cjs202.js +1 -1
  118. package/dist/index.cjs203.js +1 -1
  119. package/dist/index.cjs204.js +1 -1
  120. package/dist/index.cjs205.js +1 -1
  121. package/dist/index.cjs206.js +1 -1
  122. package/dist/index.cjs207.js +1 -1
  123. package/dist/index.cjs208.js +1 -1
  124. package/dist/index.cjs209.js +1 -1
  125. package/dist/index.cjs21.js +1 -1
  126. package/dist/index.cjs210.js +1 -1
  127. package/dist/index.cjs211.js +1 -1
  128. package/dist/index.cjs212.js +1 -1
  129. package/dist/index.cjs213.js +1 -1
  130. package/dist/index.cjs214.js +1 -1
  131. package/dist/index.cjs215.js +1 -1
  132. package/dist/index.cjs216.js +1 -1
  133. package/dist/index.cjs217.js +1 -1
  134. package/dist/index.cjs217.js.map +1 -1
  135. package/dist/index.cjs219.js +1 -1
  136. package/dist/index.cjs219.js.map +1 -1
  137. package/dist/index.cjs22.js +1 -1
  138. package/dist/index.cjs221.js +1 -1
  139. package/dist/index.cjs221.js.map +1 -1
  140. package/dist/index.cjs228.js +1 -1
  141. package/dist/index.cjs228.js.map +1 -1
  142. package/dist/index.cjs229.js +6 -1
  143. package/dist/index.cjs229.js.map +1 -1
  144. package/dist/index.cjs23.js +1 -1
  145. package/dist/index.cjs233.js +1 -1
  146. package/dist/index.cjs233.js.map +1 -1
  147. package/dist/index.cjs234.js +1 -1
  148. package/dist/index.cjs234.js.map +1 -1
  149. package/dist/index.cjs235.js +1 -1
  150. package/dist/index.cjs235.js.map +1 -1
  151. package/dist/index.cjs236.js +1 -1
  152. package/dist/index.cjs236.js.map +1 -1
  153. package/dist/index.cjs237.js +2 -0
  154. package/dist/index.cjs237.js.map +1 -0
  155. package/dist/index.cjs24.js +1 -1
  156. package/dist/index.cjs242.js +2 -0
  157. package/dist/index.cjs242.js.map +1 -0
  158. package/dist/index.cjs244.js +2 -0
  159. package/dist/index.cjs244.js.map +1 -0
  160. package/dist/index.cjs245.js +2 -0
  161. package/dist/index.cjs245.js.map +1 -0
  162. package/dist/index.cjs246.js +2 -0
  163. package/dist/index.cjs246.js.map +1 -0
  164. package/dist/index.cjs247.js +1 -1
  165. package/dist/index.cjs247.js.map +1 -1
  166. package/dist/index.cjs248.js +1 -6
  167. package/dist/index.cjs248.js.map +1 -1
  168. package/dist/index.cjs249.js +2 -0
  169. package/dist/index.cjs249.js.map +1 -0
  170. package/dist/index.cjs25.js +1 -1
  171. package/dist/index.cjs250.js +2 -0
  172. package/dist/index.cjs250.js.map +1 -0
  173. package/dist/{index.cjs223.js → index.cjs251.js} +2 -2
  174. package/dist/{index.cjs223.js.map → index.cjs251.js.map} +1 -1
  175. package/dist/index.cjs252.js +1 -1
  176. package/dist/index.cjs252.js.map +1 -1
  177. package/dist/index.cjs253.js +1 -1
  178. package/dist/index.cjs253.js.map +1 -1
  179. package/dist/index.cjs254.js +1 -1
  180. package/dist/index.cjs254.js.map +1 -1
  181. package/dist/index.cjs255.js +1 -1
  182. package/dist/index.cjs255.js.map +1 -1
  183. package/dist/index.cjs256.js +1 -1
  184. package/dist/index.cjs256.js.map +1 -1
  185. package/dist/index.cjs257.js +2 -0
  186. package/dist/index.cjs257.js.map +1 -0
  187. package/dist/{index.cjs230.js → index.cjs258.js} +1 -1
  188. package/dist/{index.cjs230.js.map → index.cjs258.js.map} +1 -1
  189. package/dist/index.cjs259.js +2 -0
  190. package/dist/index.cjs259.js.map +1 -0
  191. package/dist/index.cjs26.js +1 -1
  192. package/dist/{index.cjs232.js → index.cjs260.js} +2 -2
  193. package/dist/{index.cjs232.js.map → index.cjs260.js.map} +1 -1
  194. package/dist/index.cjs261.js +1 -1
  195. package/dist/index.cjs261.js.map +1 -1
  196. package/dist/index.cjs262.js +2 -0
  197. package/dist/index.cjs262.js.map +1 -0
  198. package/dist/index.cjs263.js +1 -1
  199. package/dist/index.cjs263.js.map +1 -1
  200. package/dist/index.cjs264.js +1 -1
  201. package/dist/index.cjs264.js.map +1 -1
  202. package/dist/index.cjs266.js +2 -0
  203. package/dist/index.cjs266.js.map +1 -0
  204. package/dist/index.cjs27.js +1 -1
  205. package/dist/index.cjs274.js +1 -1
  206. package/dist/index.cjs278.js +1 -1
  207. package/dist/index.cjs28.js +1 -1
  208. package/dist/index.cjs283.js +1 -1
  209. package/dist/index.cjs283.js.map +1 -1
  210. package/dist/index.cjs286.js +1 -1
  211. package/dist/index.cjs288.js +1 -1
  212. package/dist/index.cjs289.js +1 -1
  213. package/dist/index.cjs29.js +1 -1
  214. package/dist/index.cjs296.js +1 -1
  215. package/dist/index.cjs296.js.map +1 -1
  216. package/dist/index.cjs3.js +1 -1
  217. package/dist/index.cjs30.js +1 -1
  218. package/dist/index.cjs305.js +1 -1
  219. package/dist/index.cjs31.js +1 -1
  220. package/dist/index.cjs311.js +1 -1
  221. package/dist/index.cjs313.js +1 -1
  222. package/dist/index.cjs313.js.map +1 -1
  223. package/dist/index.cjs314.js +1 -1
  224. package/dist/index.cjs315.js +1 -1
  225. package/dist/index.cjs316.js +1 -1
  226. package/dist/index.cjs317.js +1 -1
  227. package/dist/index.cjs319.js +1 -1
  228. package/dist/index.cjs32.js +1 -1
  229. package/dist/index.cjs32.js.map +1 -1
  230. package/dist/index.cjs320.js +1 -1
  231. package/dist/index.cjs321.js +1 -1
  232. package/dist/index.cjs324.js +1 -1
  233. package/dist/index.cjs325.js +1 -1
  234. package/dist/index.cjs329.js +1 -1
  235. package/dist/index.cjs33.js +1 -1
  236. package/dist/index.cjs33.js.map +1 -1
  237. package/dist/index.cjs331.js +1 -1
  238. package/dist/index.cjs332.js +1 -1
  239. package/dist/index.cjs334.js +1 -1
  240. package/dist/index.cjs335.js +1 -1
  241. package/dist/index.cjs336.js +1 -1
  242. package/dist/index.cjs338.js +1 -1
  243. package/dist/index.cjs339.js +1 -1
  244. package/dist/index.cjs34.js +1 -1
  245. package/dist/index.cjs340.js +1 -1
  246. package/dist/index.cjs342.js +1 -1
  247. package/dist/index.cjs343.js +1 -1
  248. package/dist/index.cjs344.js +1 -1
  249. package/dist/index.cjs344.js.map +1 -1
  250. package/dist/index.cjs35.js +1 -1
  251. package/dist/index.cjs36.js +1 -1
  252. package/dist/index.cjs362.js +1 -1
  253. package/dist/index.cjs363.js +1 -1
  254. package/dist/index.cjs37.js +1 -1
  255. package/dist/index.cjs38.js +1 -1
  256. package/dist/index.cjs385.js +1 -1
  257. package/dist/index.cjs385.js.map +1 -1
  258. package/dist/index.cjs39.js +1 -1
  259. package/dist/index.cjs391.js +1 -1
  260. package/dist/index.cjs394.js +1 -1
  261. package/dist/index.cjs396.js +1 -1
  262. package/dist/index.cjs397.js +1 -1
  263. package/dist/index.cjs398.js +1 -1
  264. package/dist/index.cjs4.js +1 -1
  265. package/dist/index.cjs40.js +1 -1
  266. package/dist/index.cjs403.js +1 -1
  267. package/dist/index.cjs409.js +1 -1
  268. package/dist/index.cjs41.js +1 -1
  269. package/dist/index.cjs411.js +1 -1
  270. package/dist/index.cjs412.js +1 -1
  271. package/dist/index.cjs417.js +1 -1
  272. package/dist/index.cjs42.js +1 -1
  273. package/dist/index.cjs425.js +1 -1
  274. package/dist/index.cjs426.js +1 -1
  275. package/dist/index.cjs429.js +1 -1
  276. package/dist/index.cjs43.js +1 -1
  277. package/dist/index.cjs432.js +1 -1
  278. package/dist/index.cjs433.js +1 -1
  279. package/dist/index.cjs436.js +1 -1
  280. package/dist/index.cjs44.js +1 -1
  281. package/dist/index.cjs444.js +1 -1
  282. package/dist/index.cjs445.js +3 -12
  283. package/dist/index.cjs445.js.map +1 -1
  284. package/dist/index.cjs446.js +27 -1
  285. package/dist/index.cjs446.js.map +1 -1
  286. package/dist/index.cjs447.js +1 -2
  287. package/dist/index.cjs447.js.map +1 -1
  288. package/dist/index.cjs448.js +1 -27
  289. package/dist/index.cjs448.js.map +1 -1
  290. package/dist/index.cjs449.js +1 -1
  291. package/dist/index.cjs449.js.map +1 -1
  292. package/dist/index.cjs45.js +1 -1
  293. package/dist/index.cjs450.js +1 -1
  294. package/dist/index.cjs450.js.map +1 -1
  295. package/dist/index.cjs451.js +1 -1
  296. package/dist/index.cjs451.js.map +1 -1
  297. package/dist/index.cjs452.js +1 -1
  298. package/dist/index.cjs452.js.map +1 -1
  299. package/dist/index.cjs453.js +2 -1
  300. package/dist/index.cjs453.js.map +1 -1
  301. package/dist/index.cjs454.js +1 -1
  302. package/dist/index.cjs454.js.map +1 -1
  303. package/dist/index.cjs455.js +1 -1
  304. package/dist/index.cjs455.js.map +1 -1
  305. package/dist/index.cjs456.js +1 -1
  306. package/dist/index.cjs456.js.map +1 -1
  307. package/dist/index.cjs457.js +1 -1
  308. package/dist/index.cjs457.js.map +1 -1
  309. package/dist/index.cjs458.js +1 -1
  310. package/dist/index.cjs458.js.map +1 -1
  311. package/dist/index.cjs459.js +1 -1
  312. package/dist/index.cjs459.js.map +1 -1
  313. package/dist/index.cjs46.js +1 -1
  314. package/dist/index.cjs460.js +2 -0
  315. package/dist/index.cjs460.js.map +1 -0
  316. package/dist/index.cjs462.js +1 -1
  317. package/dist/index.cjs462.js.map +1 -1
  318. package/dist/index.cjs465.js +1 -1
  319. package/dist/index.cjs465.js.map +1 -1
  320. package/dist/index.cjs466.js +1 -1
  321. package/dist/index.cjs466.js.map +1 -1
  322. package/dist/index.cjs467.js +1 -1
  323. package/dist/index.cjs467.js.map +1 -1
  324. package/dist/index.cjs468.js +1 -1
  325. package/dist/index.cjs468.js.map +1 -1
  326. package/dist/index.cjs469.js +2 -0
  327. package/dist/index.cjs469.js.map +1 -0
  328. package/dist/index.cjs47.js +1 -1
  329. package/dist/index.cjs470.js +2 -0
  330. package/dist/index.cjs470.js.map +1 -0
  331. package/dist/index.cjs471.js +1 -1
  332. package/dist/index.cjs471.js.map +1 -1
  333. package/dist/index.cjs472.js +1 -1
  334. package/dist/index.cjs472.js.map +1 -1
  335. package/dist/index.cjs473.js +1 -1
  336. package/dist/index.cjs473.js.map +1 -1
  337. package/dist/index.cjs476.js +1 -1
  338. package/dist/index.cjs476.js.map +1 -1
  339. package/dist/index.cjs477.js +1 -1
  340. package/dist/index.cjs477.js.map +1 -1
  341. package/dist/index.cjs478.js +1 -1
  342. package/dist/index.cjs478.js.map +1 -1
  343. package/dist/index.cjs479.js +1 -1
  344. package/dist/index.cjs479.js.map +1 -1
  345. package/dist/index.cjs48.js +1 -1
  346. package/dist/index.cjs48.js.map +1 -1
  347. package/dist/index.cjs480.js +1 -1
  348. package/dist/index.cjs480.js.map +1 -1
  349. package/dist/index.cjs481.js +1 -1
  350. package/dist/index.cjs481.js.map +1 -1
  351. package/dist/index.cjs482.js +1 -1
  352. package/dist/index.cjs482.js.map +1 -1
  353. package/dist/index.cjs489.js +1 -1
  354. package/dist/index.cjs489.js.map +1 -1
  355. package/dist/index.cjs49.js +1 -1
  356. package/dist/index.cjs490.js +1 -1
  357. package/dist/index.cjs490.js.map +1 -1
  358. package/dist/index.cjs491.js +1 -1
  359. package/dist/index.cjs491.js.map +1 -1
  360. package/dist/index.cjs492.js +1 -1
  361. package/dist/index.cjs492.js.map +1 -1
  362. package/dist/index.cjs493.js +1 -1
  363. package/dist/index.cjs493.js.map +1 -1
  364. package/dist/index.cjs494.js +1 -1
  365. package/dist/index.cjs494.js.map +1 -1
  366. package/dist/index.cjs5.js +1 -1
  367. package/dist/index.cjs50.js +1 -1
  368. package/dist/{index.cjs487.js → index.cjs505.js} +2 -2
  369. package/dist/{index.cjs487.js.map → index.cjs505.js.map} +1 -1
  370. package/dist/{index.cjs488.js → index.cjs506.js} +2 -2
  371. package/dist/{index.cjs488.js.map → index.cjs506.js.map} +1 -1
  372. package/dist/index.cjs507.js +2 -0
  373. package/dist/index.cjs507.js.map +1 -0
  374. package/dist/index.cjs508.js +2 -0
  375. package/dist/index.cjs508.js.map +1 -0
  376. package/dist/index.cjs509.js +2 -0
  377. package/dist/index.cjs509.js.map +1 -0
  378. package/dist/index.cjs51.js +1 -1
  379. package/dist/index.cjs510.js +2 -0
  380. package/dist/index.cjs510.js.map +1 -0
  381. package/dist/index.cjs511.js +2 -0
  382. package/dist/index.cjs511.js.map +1 -0
  383. package/dist/{index.cjs497.js → index.cjs512.js} +1 -1
  384. package/dist/{index.cjs497.js.map → index.cjs512.js.map} +1 -1
  385. package/dist/index.cjs513.js +2 -0
  386. package/dist/{index.cjs498.js.map → index.cjs513.js.map} +1 -1
  387. package/dist/{index.cjs499.js → index.cjs514.js} +2 -2
  388. package/dist/{index.cjs499.js.map → index.cjs514.js.map} +1 -1
  389. package/dist/index.cjs515.js +4 -1
  390. package/dist/index.cjs515.js.map +1 -1
  391. package/dist/index.cjs516.js +1 -38
  392. package/dist/index.cjs516.js.map +1 -1
  393. package/dist/index.cjs517.js +1 -1
  394. package/dist/index.cjs517.js.map +1 -1
  395. package/dist/index.cjs518.js +1 -1
  396. package/dist/index.cjs518.js.map +1 -1
  397. package/dist/index.cjs519.js +1 -1
  398. package/dist/index.cjs519.js.map +1 -1
  399. package/dist/index.cjs52.js +1 -1
  400. package/dist/index.cjs520.js +39 -0
  401. package/dist/index.cjs520.js.map +1 -0
  402. package/dist/index.cjs521.js +2 -0
  403. package/dist/index.cjs521.js.map +1 -0
  404. package/dist/index.cjs522.js +2 -0
  405. package/dist/index.cjs522.js.map +1 -0
  406. package/dist/index.cjs523.js +2 -0
  407. package/dist/index.cjs523.js.map +1 -0
  408. package/dist/index.cjs524.js +2 -0
  409. package/dist/index.cjs524.js.map +1 -0
  410. package/dist/index.cjs525.js +1 -1
  411. package/dist/index.cjs525.js.map +1 -1
  412. package/dist/index.cjs526.js +1 -1
  413. package/dist/index.cjs526.js.map +1 -1
  414. package/dist/index.cjs527.js +1 -1
  415. package/dist/index.cjs527.js.map +1 -1
  416. package/dist/index.cjs528.js +1 -1
  417. package/dist/index.cjs528.js.map +1 -1
  418. package/dist/index.cjs529.js +1 -1
  419. package/dist/index.cjs529.js.map +1 -1
  420. package/dist/index.cjs53.js +1 -1
  421. package/dist/index.cjs530.js +1 -1
  422. package/dist/index.cjs530.js.map +1 -1
  423. package/dist/index.cjs531.js +1 -1
  424. package/dist/index.cjs531.js.map +1 -1
  425. package/dist/index.cjs532.js +1 -1
  426. package/dist/index.cjs532.js.map +1 -1
  427. package/dist/index.cjs533.js +1 -1
  428. package/dist/index.cjs533.js.map +1 -1
  429. package/dist/index.cjs534.js +1 -1
  430. package/dist/index.cjs534.js.map +1 -1
  431. package/dist/index.cjs535.js +1 -1
  432. package/dist/index.cjs535.js.map +1 -1
  433. package/dist/index.cjs536.js +1 -1
  434. package/dist/index.cjs536.js.map +1 -1
  435. package/dist/index.cjs537.js +1 -1
  436. package/dist/index.cjs537.js.map +1 -1
  437. package/dist/index.cjs538.js +1 -1
  438. package/dist/index.cjs538.js.map +1 -1
  439. package/dist/index.cjs539.js +1 -1
  440. package/dist/index.cjs539.js.map +1 -1
  441. package/dist/index.cjs54.js +1 -1
  442. package/dist/index.cjs540.js +1 -1
  443. package/dist/index.cjs540.js.map +1 -1
  444. package/dist/index.cjs541.js +1 -1
  445. package/dist/index.cjs541.js.map +1 -1
  446. package/dist/index.cjs542.js +1 -1
  447. package/dist/index.cjs542.js.map +1 -1
  448. package/dist/index.cjs543.js +1 -1
  449. package/dist/index.cjs543.js.map +1 -1
  450. package/dist/index.cjs544.js +1 -1
  451. package/dist/index.cjs544.js.map +1 -1
  452. package/dist/index.cjs545.js +1 -1
  453. package/dist/index.cjs545.js.map +1 -1
  454. package/dist/index.cjs546.js +1 -1
  455. package/dist/index.cjs546.js.map +1 -1
  456. package/dist/index.cjs547.js +1 -1
  457. package/dist/index.cjs547.js.map +1 -1
  458. package/dist/index.cjs548.js +1 -1
  459. package/dist/index.cjs548.js.map +1 -1
  460. package/dist/index.cjs549.js +1 -1
  461. package/dist/index.cjs549.js.map +1 -1
  462. package/dist/index.cjs55.js +1 -1
  463. package/dist/index.cjs550.js +1 -1
  464. package/dist/index.cjs550.js.map +1 -1
  465. package/dist/index.cjs551.js +1 -1
  466. package/dist/index.cjs551.js.map +1 -1
  467. package/dist/index.cjs552.js +1 -1
  468. package/dist/index.cjs552.js.map +1 -1
  469. package/dist/index.cjs553.js +5 -1
  470. package/dist/index.cjs553.js.map +1 -1
  471. package/dist/index.cjs554.js +1 -1
  472. package/dist/index.cjs554.js.map +1 -1
  473. package/dist/index.cjs555.js +1 -1
  474. package/dist/index.cjs555.js.map +1 -1
  475. package/dist/index.cjs556.js +1 -1
  476. package/dist/index.cjs556.js.map +1 -1
  477. package/dist/index.cjs557.js +1 -5
  478. package/dist/index.cjs557.js.map +1 -1
  479. package/dist/index.cjs558.js +1 -1
  480. package/dist/index.cjs558.js.map +1 -1
  481. package/dist/index.cjs559.js +1 -1
  482. package/dist/index.cjs559.js.map +1 -1
  483. package/dist/index.cjs56.js +1 -1
  484. package/dist/index.cjs56.js.map +1 -1
  485. package/dist/index.cjs561.js +1 -1
  486. package/dist/index.cjs561.js.map +1 -1
  487. package/dist/index.cjs562.js +1 -1
  488. package/dist/index.cjs562.js.map +1 -1
  489. package/dist/index.cjs564.js +1 -1
  490. package/dist/index.cjs564.js.map +1 -1
  491. package/dist/index.cjs565.js +1 -1
  492. package/dist/index.cjs565.js.map +1 -1
  493. package/dist/index.cjs566.js +1 -1
  494. package/dist/index.cjs566.js.map +1 -1
  495. package/dist/index.cjs567.js +1 -1
  496. package/dist/index.cjs567.js.map +1 -1
  497. package/dist/index.cjs568.js +1 -1
  498. package/dist/index.cjs568.js.map +1 -1
  499. package/dist/index.cjs57.js +1 -1
  500. package/dist/index.cjs573.js +2 -0
  501. package/dist/index.cjs573.js.map +1 -0
  502. package/dist/index.cjs574.js +1 -1
  503. package/dist/index.cjs574.js.map +1 -1
  504. package/dist/index.cjs575.js +1 -1
  505. package/dist/index.cjs575.js.map +1 -1
  506. package/dist/index.cjs576.js +2 -0
  507. package/dist/index.cjs576.js.map +1 -0
  508. package/dist/index.cjs58.js +1 -1
  509. package/dist/index.cjs584.js +1 -1
  510. package/dist/index.cjs586.js +1 -1
  511. package/dist/index.cjs59.js +1 -1
  512. package/dist/index.cjs6.js +1 -1
  513. package/dist/index.cjs60.js +1 -1
  514. package/dist/index.cjs61.js +1 -1
  515. package/dist/index.cjs62.js +1 -1
  516. package/dist/index.cjs63.js +1 -1
  517. package/dist/index.cjs64.js +1 -1
  518. package/dist/index.cjs65.js +1 -1
  519. package/dist/index.cjs66.js +1 -1
  520. package/dist/index.cjs67.js +1 -1
  521. package/dist/index.cjs68.js +1 -1
  522. package/dist/index.cjs69.js +1 -1
  523. package/dist/index.cjs69.js.map +1 -1
  524. package/dist/index.cjs7.js +1 -1
  525. package/dist/index.cjs70.js +1 -1
  526. package/dist/index.cjs71.js +1 -1
  527. package/dist/index.cjs72.js +1 -1
  528. package/dist/index.cjs73.js +1 -1
  529. package/dist/index.cjs74.js +1 -1
  530. package/dist/index.cjs75.js +1 -1
  531. package/dist/index.cjs76.js +1 -1
  532. package/dist/index.cjs77.js +1 -1
  533. package/dist/index.cjs78.js +1 -1
  534. package/dist/index.cjs79.js +1 -1
  535. package/dist/index.cjs8.js +1 -1
  536. package/dist/index.cjs80.js +1 -1
  537. package/dist/index.cjs81.js +1 -1
  538. package/dist/index.cjs82.js +1 -1
  539. package/dist/index.cjs83.js +1 -1
  540. package/dist/index.cjs84.js +1 -1
  541. package/dist/index.cjs85.js +1 -1
  542. package/dist/index.cjs86.js +1 -1
  543. package/dist/index.cjs87.js +1 -1
  544. package/dist/index.cjs88.js +1 -1
  545. package/dist/index.cjs89.js +1 -1
  546. package/dist/index.cjs9.js +1 -1
  547. package/dist/index.cjs90.js +1 -1
  548. package/dist/index.cjs91.js +1 -1
  549. package/dist/index.cjs92.js +1 -1
  550. package/dist/index.cjs93.js +1 -1
  551. package/dist/index.cjs94.js +1 -1
  552. package/dist/index.cjs95.js +1 -1
  553. package/dist/index.cjs95.js.map +1 -1
  554. package/dist/index.cjs96.js +1 -1
  555. package/dist/index.cjs97.js +1 -1
  556. package/dist/index.cjs98.js +1 -1
  557. package/dist/index.cjs99.js +1 -1
  558. package/dist/index.es10.js +4 -4
  559. package/dist/index.es100.js +1 -1
  560. package/dist/index.es101.js +2 -2
  561. package/dist/index.es102.js +1 -1
  562. package/dist/index.es103.js +2 -2
  563. package/dist/index.es104.js +2 -2
  564. package/dist/index.es105.js +1 -1
  565. package/dist/index.es106.js +2 -2
  566. package/dist/index.es107.js +1 -1
  567. package/dist/index.es108.js +10 -10
  568. package/dist/index.es109.js +1 -1
  569. package/dist/index.es11.js +2 -2
  570. package/dist/index.es110.js +2 -2
  571. package/dist/index.es111.js +2 -2
  572. package/dist/index.es112.js +2 -2
  573. package/dist/index.es113.js +2 -2
  574. package/dist/index.es114.js +2 -2
  575. package/dist/index.es115.js +1 -1
  576. package/dist/index.es116.js +1 -1
  577. package/dist/index.es117.js +1 -1
  578. package/dist/index.es118.js +2 -2
  579. package/dist/index.es119.js +1 -1
  580. package/dist/index.es12.js +2 -2
  581. package/dist/index.es120.js +1 -1
  582. package/dist/index.es121.js +1 -1
  583. package/dist/index.es122.js +4 -4
  584. package/dist/index.es123.js +2 -2
  585. package/dist/index.es124.js +2 -2
  586. package/dist/index.es125.js +2 -2
  587. package/dist/index.es126.js +2 -2
  588. package/dist/index.es127.js +2 -2
  589. package/dist/index.es128.js +2 -2
  590. package/dist/index.es129.js +2 -2
  591. package/dist/index.es13.js +2 -2
  592. package/dist/index.es130.js +2 -2
  593. package/dist/index.es131.js +1 -1
  594. package/dist/index.es132.js +1 -1
  595. package/dist/index.es133.js +1 -1
  596. package/dist/index.es134.js +2 -2
  597. package/dist/index.es135.js +2 -2
  598. package/dist/index.es136.js +1 -1
  599. package/dist/index.es137.js +3 -3
  600. package/dist/index.es138.js +2 -2
  601. package/dist/index.es139.js +2 -2
  602. package/dist/index.es14.js +2 -2
  603. package/dist/index.es140.js +3 -3
  604. package/dist/index.es141.js +2 -2
  605. package/dist/index.es142.js +1 -1
  606. package/dist/index.es143.js +1 -1
  607. package/dist/index.es144.js +3 -3
  608. package/dist/index.es145.js +1 -1
  609. package/dist/index.es146.js +2 -2
  610. package/dist/index.es147.js +1 -1
  611. package/dist/index.es148.js +2 -2
  612. package/dist/index.es149.js +7 -7
  613. package/dist/index.es15.js +2 -2
  614. package/dist/index.es150.js +2 -2
  615. package/dist/index.es151.js +14 -13
  616. package/dist/index.es151.js.map +1 -1
  617. package/dist/index.es152.js +1 -1
  618. package/dist/index.es153.js +3 -3
  619. package/dist/index.es154.js +3 -3
  620. package/dist/index.es155.js +3 -3
  621. package/dist/index.es156.js +3 -3
  622. package/dist/index.es157.js +3 -3
  623. package/dist/index.es158.js +3 -3
  624. package/dist/index.es159.js +3 -3
  625. package/dist/index.es16.js +2 -2
  626. package/dist/index.es160.js +3 -3
  627. package/dist/index.es161.js +3 -3
  628. package/dist/index.es162.js +3 -3
  629. package/dist/index.es163.js +3 -3
  630. package/dist/index.es164.js +3 -3
  631. package/dist/index.es165.js +3 -3
  632. package/dist/index.es166.js +3 -3
  633. package/dist/index.es167.js +3 -3
  634. package/dist/index.es168.js +3 -3
  635. package/dist/index.es169.js +3 -3
  636. package/dist/index.es17.js +2 -2
  637. package/dist/index.es170.js +3 -3
  638. package/dist/index.es171.js +3 -3
  639. package/dist/index.es172.js +3 -3
  640. package/dist/index.es173.js +3 -3
  641. package/dist/index.es174.js +3 -3
  642. package/dist/index.es175.js +3 -3
  643. package/dist/index.es176.js +2 -2
  644. package/dist/index.es177.js +2 -2
  645. package/dist/index.es178.js +2 -2
  646. package/dist/index.es179.js +3 -3
  647. package/dist/index.es18.js +2 -2
  648. package/dist/index.es180.js +3 -3
  649. package/dist/index.es181.js +3 -3
  650. package/dist/index.es182.js +1 -1
  651. package/dist/index.es183.js +3 -3
  652. package/dist/index.es184.js +3 -3
  653. package/dist/index.es185.js +3 -3
  654. package/dist/index.es186.js +3 -3
  655. package/dist/index.es187.js +3 -3
  656. package/dist/index.es188.js +3 -3
  657. package/dist/index.es189.js +3 -3
  658. package/dist/index.es19.js +2 -2
  659. package/dist/index.es190.js +3 -3
  660. package/dist/index.es191.js +3 -3
  661. package/dist/index.es192.js +2 -2
  662. package/dist/index.es193.js +3 -3
  663. package/dist/index.es194.js +3 -3
  664. package/dist/index.es195.js +3 -3
  665. package/dist/index.es196.js +3 -3
  666. package/dist/index.es197.js +3 -3
  667. package/dist/index.es198.js +3 -3
  668. package/dist/index.es199.js +3 -3
  669. package/dist/index.es20.js +2 -2
  670. package/dist/index.es200.js +2 -2
  671. package/dist/index.es201.js +2 -2
  672. package/dist/index.es202.js +3 -3
  673. package/dist/index.es203.js +3 -3
  674. package/dist/index.es204.js +3 -3
  675. package/dist/index.es205.js +3 -3
  676. package/dist/index.es206.js +3 -3
  677. package/dist/index.es207.js +3 -3
  678. package/dist/index.es208.js +3 -3
  679. package/dist/index.es209.js +3 -3
  680. package/dist/index.es21.js +2 -2
  681. package/dist/index.es210.js +1 -1
  682. package/dist/index.es211.js +1 -1
  683. package/dist/index.es212.js +1 -1
  684. package/dist/index.es213.js +1 -1
  685. package/dist/index.es214.js +1 -1
  686. package/dist/index.es215.js +3 -3
  687. package/dist/index.es216.js +1 -1
  688. package/dist/index.es217.js +3 -1796
  689. package/dist/index.es217.js.map +1 -1
  690. package/dist/index.es219.js +14 -177
  691. package/dist/index.es219.js.map +1 -1
  692. package/dist/index.es22.js +1 -1
  693. package/dist/index.es221.js +3 -123
  694. package/dist/index.es221.js.map +1 -1
  695. package/dist/index.es228.js +5 -148
  696. package/dist/index.es228.js.map +1 -1
  697. package/dist/index.es229.js +56 -35
  698. package/dist/index.es229.js.map +1 -1
  699. package/dist/index.es23.js +1 -1
  700. package/dist/index.es233.js +8 -38
  701. package/dist/index.es233.js.map +1 -1
  702. package/dist/index.es234.js +238 -43
  703. package/dist/index.es234.js.map +1 -1
  704. package/dist/index.es235.js +123 -70
  705. package/dist/index.es235.js.map +1 -1
  706. package/dist/index.es236.js +225 -3
  707. package/dist/index.es236.js.map +1 -1
  708. package/dist/index.es237.js +192 -0
  709. package/dist/index.es237.js.map +1 -0
  710. package/dist/index.es24.js +3 -3
  711. package/dist/index.es242.js +50 -0
  712. package/dist/index.es242.js.map +1 -0
  713. package/dist/index.es244.js +48 -0
  714. package/dist/index.es244.js.map +1 -0
  715. package/dist/index.es245.js +1804 -0
  716. package/dist/index.es245.js.map +1 -0
  717. package/dist/{index.es218.js → index.es246.js} +17 -7
  718. package/dist/index.es246.js.map +1 -0
  719. package/dist/index.es247.js +178 -5
  720. package/dist/index.es247.js.map +1 -1
  721. package/dist/index.es248.js +254 -54
  722. package/dist/index.es248.js.map +1 -1
  723. package/dist/index.es249.js +126 -0
  724. package/dist/index.es249.js.map +1 -0
  725. package/dist/index.es25.js +2 -2
  726. package/dist/{index.es222.js → index.es250.js} +65 -60
  727. package/dist/index.es250.js.map +1 -0
  728. package/dist/{index.es223.js → index.es251.js} +3 -3
  729. package/dist/{index.es223.js.map → index.es251.js.map} +1 -1
  730. package/dist/index.es252.js +16 -8
  731. package/dist/index.es252.js.map +1 -1
  732. package/dist/index.es253.js +31 -237
  733. package/dist/index.es253.js.map +1 -1
  734. package/dist/index.es254.js +332 -115
  735. package/dist/index.es254.js.map +1 -1
  736. package/dist/index.es255.js +89 -224
  737. package/dist/index.es255.js.map +1 -1
  738. package/dist/index.es256.js +148 -189
  739. package/dist/index.es256.js.map +1 -1
  740. package/dist/index.es257.js +41 -0
  741. package/dist/index.es257.js.map +1 -0
  742. package/dist/{index.es230.js → index.es258.js} +1 -1
  743. package/dist/{index.es230.js.map → index.es258.js.map} +1 -1
  744. package/dist/{index.es231.js → index.es259.js} +30 -27
  745. package/dist/index.es259.js.map +1 -0
  746. package/dist/index.es26.js +2 -2
  747. package/dist/{index.es232.js → index.es260.js} +2 -2
  748. package/dist/{index.es232.js.map → index.es260.js.map} +1 -1
  749. package/dist/index.es261.js +39 -47
  750. package/dist/index.es261.js.map +1 -1
  751. package/dist/index.es262.js +48 -0
  752. package/dist/index.es262.js.map +1 -0
  753. package/dist/index.es263.js +75 -45
  754. package/dist/index.es263.js.map +1 -1
  755. package/dist/index.es264.js +27 -2
  756. package/dist/index.es264.js.map +1 -1
  757. package/dist/index.es266.js +5 -0
  758. package/dist/index.es266.js.map +1 -0
  759. package/dist/index.es27.js +1 -1
  760. package/dist/index.es274.js +3 -3
  761. package/dist/index.es278.js +2 -2
  762. package/dist/index.es28.js +3 -3
  763. package/dist/index.es283.js +26 -25
  764. package/dist/index.es283.js.map +1 -1
  765. package/dist/index.es286.js +3 -3
  766. package/dist/index.es288.js +3 -3
  767. package/dist/index.es289.js +3 -3
  768. package/dist/index.es29.js +2 -2
  769. package/dist/index.es296.js +237 -120
  770. package/dist/index.es296.js.map +1 -1
  771. package/dist/index.es3.js +6 -6
  772. package/dist/index.es30.js +2 -2
  773. package/dist/index.es305.js +1 -1
  774. package/dist/index.es31.js +1 -1
  775. package/dist/index.es311.js +3 -3
  776. package/dist/index.es313.js +31 -30
  777. package/dist/index.es313.js.map +1 -1
  778. package/dist/index.es314.js +2 -2
  779. package/dist/index.es315.js +1 -1
  780. package/dist/index.es316.js +2 -2
  781. package/dist/index.es317.js +1 -1
  782. package/dist/index.es319.js +1 -1
  783. package/dist/index.es32.js +9 -9
  784. package/dist/index.es320.js +2 -2
  785. package/dist/index.es321.js +2 -2
  786. package/dist/index.es324.js +2 -2
  787. package/dist/index.es325.js +2 -2
  788. package/dist/index.es329.js +2 -2
  789. package/dist/index.es33.js +6 -6
  790. package/dist/index.es331.js +2 -2
  791. package/dist/index.es332.js +1 -1
  792. package/dist/index.es334.js +2 -2
  793. package/dist/index.es335.js +1 -1
  794. package/dist/index.es336.js +2 -2
  795. package/dist/index.es338.js +1 -1
  796. package/dist/index.es339.js +2 -2
  797. package/dist/index.es34.js +2 -2
  798. package/dist/index.es340.js +1 -1
  799. package/dist/index.es342.js +3 -3
  800. package/dist/index.es343.js +3 -3
  801. package/dist/index.es344.js +104 -89
  802. package/dist/index.es344.js.map +1 -1
  803. package/dist/index.es35.js +2 -2
  804. package/dist/index.es36.js +3 -3
  805. package/dist/index.es362.js +6 -6
  806. package/dist/index.es363.js +2 -2
  807. package/dist/index.es37.js +2 -2
  808. package/dist/index.es38.js +2 -2
  809. package/dist/index.es385.js +5 -5
  810. package/dist/index.es385.js.map +1 -1
  811. package/dist/index.es39.js +2 -2
  812. package/dist/index.es391.js +1 -1
  813. package/dist/index.es394.js +2 -2
  814. package/dist/index.es396.js +1 -1
  815. package/dist/index.es397.js +2 -2
  816. package/dist/index.es398.js +1 -1
  817. package/dist/index.es4.js +7 -7
  818. package/dist/index.es40.js +2 -2
  819. package/dist/index.es403.js +8 -8
  820. package/dist/index.es409.js +2 -2
  821. package/dist/index.es41.js +2 -2
  822. package/dist/index.es411.js +2 -2
  823. package/dist/index.es412.js +2 -2
  824. package/dist/index.es417.js +1 -1
  825. package/dist/index.es42.js +1 -1
  826. package/dist/index.es425.js +2 -2
  827. package/dist/index.es426.js +2 -2
  828. package/dist/index.es429.js +3 -3
  829. package/dist/index.es43.js +1 -1
  830. package/dist/index.es432.js +3 -3
  831. package/dist/index.es433.js +1 -1
  832. package/dist/index.es436.js +1 -1
  833. package/dist/index.es44.js +1 -1
  834. package/dist/index.es444.js +1 -1
  835. package/dist/index.es445.js +146 -307
  836. package/dist/index.es445.js.map +1 -1
  837. package/dist/index.es446.js +3674 -5
  838. package/dist/index.es446.js.map +1 -1
  839. package/dist/index.es447.js +5 -520
  840. package/dist/index.es447.js.map +1 -1
  841. package/dist/index.es448.js +2 -3675
  842. package/dist/index.es448.js.map +1 -1
  843. package/dist/index.es449.js +2031 -5
  844. package/dist/index.es449.js.map +1 -1
  845. package/dist/index.es45.js +2 -2
  846. package/dist/index.es450.js +60 -2
  847. package/dist/index.es450.js.map +1 -1
  848. package/dist/index.es451.js +174 -2011
  849. package/dist/index.es451.js.map +1 -1
  850. package/dist/index.es452.js +5 -59
  851. package/dist/index.es452.js.map +1 -1
  852. package/dist/index.es453.js +517 -186
  853. package/dist/index.es453.js.map +1 -1
  854. package/dist/index.es454.js +7 -2
  855. package/dist/index.es454.js.map +1 -1
  856. package/dist/index.es455.js +27 -2
  857. package/dist/index.es455.js.map +1 -1
  858. package/dist/index.es456.js +62 -127
  859. package/dist/index.es456.js.map +1 -1
  860. package/dist/index.es457.js +50 -182
  861. package/dist/index.es457.js.map +1 -1
  862. package/dist/index.es458.js +33 -9
  863. package/dist/index.es458.js.map +1 -1
  864. package/dist/index.es459.js +621 -3
  865. package/dist/index.es459.js.map +1 -1
  866. package/dist/index.es46.js +2 -2
  867. package/dist/index.es460.js +14 -0
  868. package/dist/index.es460.js.map +1 -0
  869. package/dist/index.es462.js +15 -27
  870. package/dist/index.es462.js.map +1 -1
  871. package/dist/index.es465.js +5 -32
  872. package/dist/index.es465.js.map +1 -1
  873. package/dist/index.es466.js +24 -621
  874. package/dist/index.es466.js.map +1 -1
  875. package/dist/index.es467.js +68 -10
  876. package/dist/index.es467.js.map +1 -1
  877. package/dist/index.es468.js +2 -15
  878. package/dist/index.es468.js.map +1 -1
  879. package/dist/index.es469.js +5 -0
  880. package/dist/index.es469.js.map +1 -0
  881. package/dist/index.es47.js +2 -2
  882. package/dist/index.es470.js +13 -0
  883. package/dist/index.es470.js.map +1 -0
  884. package/dist/index.es471.js +177 -10
  885. package/dist/index.es471.js.map +1 -1
  886. package/dist/index.es472.js +3 -55
  887. package/dist/index.es472.js.map +1 -1
  888. package/dist/index.es473.js +130 -43
  889. package/dist/index.es473.js.map +1 -1
  890. package/dist/index.es476.js +122 -12
  891. package/dist/index.es476.js.map +1 -1
  892. package/dist/index.es477.js +4 -4
  893. package/dist/index.es477.js.map +1 -1
  894. package/dist/index.es478.js +13 -217
  895. package/dist/index.es478.js.map +1 -1
  896. package/dist/index.es479.js +14 -13
  897. package/dist/index.es479.js.map +1 -1
  898. package/dist/index.es48.js +13 -13
  899. package/dist/index.es480.js +9 -69
  900. package/dist/index.es480.js.map +1 -1
  901. package/dist/index.es481.js +48 -176
  902. package/dist/index.es481.js.map +1 -1
  903. package/dist/index.es482.js +56 -49
  904. package/dist/index.es482.js.map +1 -1
  905. package/dist/index.es489.js +4 -22
  906. package/dist/index.es489.js.map +1 -1
  907. package/dist/index.es49.js +2 -2
  908. package/dist/index.es490.js +43 -390
  909. package/dist/index.es490.js.map +1 -1
  910. package/dist/index.es491.js +12 -23
  911. package/dist/index.es491.js.map +1 -1
  912. package/dist/index.es492.js +216 -27
  913. package/dist/index.es492.js.map +1 -1
  914. package/dist/index.es493.js +181 -5
  915. package/dist/index.es493.js.map +1 -1
  916. package/dist/index.es494.js +10 -522
  917. package/dist/index.es494.js.map +1 -1
  918. package/dist/index.es5.js +3 -3
  919. package/dist/index.es50.js +2 -2
  920. package/dist/{index.es487.js → index.es505.js} +2 -2
  921. package/dist/{index.es487.js.map → index.es505.js.map} +1 -1
  922. package/dist/{index.es488.js → index.es506.js} +3 -3
  923. package/dist/{index.es488.js.map → index.es506.js.map} +1 -1
  924. package/dist/index.es507.js +25 -0
  925. package/dist/index.es507.js.map +1 -0
  926. package/dist/index.es508.js +400 -0
  927. package/dist/index.es508.js.map +1 -0
  928. package/dist/index.es509.js +28 -0
  929. package/dist/index.es509.js.map +1 -0
  930. package/dist/index.es51.js +2 -2
  931. package/dist/index.es510.js +32 -0
  932. package/dist/index.es510.js.map +1 -0
  933. package/dist/index.es511.js +8 -0
  934. package/dist/index.es511.js.map +1 -0
  935. package/dist/{index.es497.js → index.es512.js} +1 -1
  936. package/dist/{index.es497.js.map → index.es512.js.map} +1 -1
  937. package/dist/index.es513.js +6 -0
  938. package/dist/{index.es498.js.map → index.es513.js.map} +1 -1
  939. package/dist/{index.es499.js → index.es514.js} +3 -3
  940. package/dist/{index.es499.js.map → index.es514.js.map} +1 -1
  941. package/dist/index.es515.js +103 -58
  942. package/dist/index.es515.js.map +1 -1
  943. package/dist/index.es516.js +15 -68
  944. package/dist/index.es516.js.map +1 -1
  945. package/dist/index.es517.js +525 -7
  946. package/dist/index.es517.js.map +1 -1
  947. package/dist/index.es518.js +126 -13
  948. package/dist/index.es518.js.map +1 -1
  949. package/dist/index.es519.js +127 -60
  950. package/dist/index.es519.js.map +1 -1
  951. package/dist/index.es52.js +2 -2
  952. package/dist/index.es520.js +72 -0
  953. package/dist/index.es520.js.map +1 -0
  954. package/dist/index.es521.js +12 -0
  955. package/dist/index.es521.js.map +1 -0
  956. package/dist/index.es522.js +17 -0
  957. package/dist/index.es522.js.map +1 -0
  958. package/dist/index.es523.js +65 -0
  959. package/dist/index.es523.js.map +1 -0
  960. package/dist/index.es524.js +68 -0
  961. package/dist/index.es524.js.map +1 -0
  962. package/dist/index.es525.js +5 -4
  963. package/dist/index.es525.js.map +1 -1
  964. package/dist/index.es526.js +16 -23
  965. package/dist/index.es526.js.map +1 -1
  966. package/dist/index.es527.js +13 -13
  967. package/dist/index.es527.js.map +1 -1
  968. package/dist/index.es528.js +34 -26
  969. package/dist/index.es528.js.map +1 -1
  970. package/dist/index.es529.js +5 -5
  971. package/dist/index.es529.js.map +1 -1
  972. package/dist/index.es53.js +2 -2
  973. package/dist/index.es530.js +2 -23
  974. package/dist/index.es530.js.map +1 -1
  975. package/dist/index.es531.js +3 -5
  976. package/dist/index.es531.js.map +1 -1
  977. package/dist/index.es532.js +7 -16
  978. package/dist/index.es532.js.map +1 -1
  979. package/dist/index.es533.js +5 -12
  980. package/dist/index.es533.js.map +1 -1
  981. package/dist/index.es534.js +5 -36
  982. package/dist/index.es534.js.map +1 -1
  983. package/dist/index.es535.js +32 -5
  984. package/dist/index.es535.js.map +1 -1
  985. package/dist/index.es536.js +243 -2
  986. package/dist/index.es536.js.map +1 -1
  987. package/dist/index.es537.js +4 -3
  988. package/dist/index.es537.js.map +1 -1
  989. package/dist/index.es538.js +4 -6
  990. package/dist/index.es538.js.map +1 -1
  991. package/dist/index.es539.js +10 -6
  992. package/dist/index.es539.js.map +1 -1
  993. package/dist/index.es54.js +1 -1
  994. package/dist/index.es540.js +56 -5
  995. package/dist/index.es540.js.map +1 -1
  996. package/dist/index.es541.js +8 -32
  997. package/dist/index.es541.js.map +1 -1
  998. package/dist/index.es542.js +5 -241
  999. package/dist/index.es542.js.map +1 -1
  1000. package/dist/index.es543.js +533 -4
  1001. package/dist/index.es543.js.map +1 -1
  1002. package/dist/index.es544.js +14 -5
  1003. package/dist/index.es544.js.map +1 -1
  1004. package/dist/index.es545.js +2 -10
  1005. package/dist/index.es545.js.map +1 -1
  1006. package/dist/index.es546.js +35 -54
  1007. package/dist/index.es546.js.map +1 -1
  1008. package/dist/index.es547.js +2 -8
  1009. package/dist/index.es547.js.map +1 -1
  1010. package/dist/index.es548.js +272 -5
  1011. package/dist/index.es548.js.map +1 -1
  1012. package/dist/index.es549.js +3 -533
  1013. package/dist/index.es549.js.map +1 -1
  1014. package/dist/index.es55.js +1 -1
  1015. package/dist/index.es550.js +30 -14
  1016. package/dist/index.es550.js.map +1 -1
  1017. package/dist/index.es551.js +4 -2
  1018. package/dist/index.es551.js.map +1 -1
  1019. package/dist/index.es552.js +22 -36
  1020. package/dist/index.es552.js.map +1 -1
  1021. package/dist/index.es553.js +40 -2
  1022. package/dist/index.es553.js.map +1 -1
  1023. package/dist/index.es554.js +2 -273
  1024. package/dist/index.es554.js.map +1 -1
  1025. package/dist/index.es555.js +5 -3
  1026. package/dist/index.es555.js.map +1 -1
  1027. package/dist/index.es556.js +2 -30
  1028. package/dist/index.es556.js.map +1 -1
  1029. package/dist/index.es557.js +2 -40
  1030. package/dist/index.es557.js.map +1 -1
  1031. package/dist/index.es558.js +2 -2
  1032. package/dist/index.es558.js.map +1 -1
  1033. package/dist/index.es559.js +6 -5
  1034. package/dist/index.es559.js.map +1 -1
  1035. package/dist/index.es56.js +19 -19
  1036. package/dist/index.es561.js +2 -6
  1037. package/dist/index.es561.js.map +1 -1
  1038. package/dist/index.es562.js +2 -2
  1039. package/dist/index.es562.js.map +1 -1
  1040. package/dist/index.es564.js +3 -2
  1041. package/dist/index.es564.js.map +1 -1
  1042. package/dist/index.es565.js +2 -2
  1043. package/dist/index.es565.js.map +1 -1
  1044. package/dist/index.es566.js +4 -2
  1045. package/dist/index.es566.js.map +1 -1
  1046. package/dist/index.es567.js +74 -3
  1047. package/dist/index.es567.js.map +1 -1
  1048. package/dist/index.es568.js +2 -2
  1049. package/dist/index.es568.js.map +1 -1
  1050. package/dist/index.es57.js +2 -2
  1051. package/dist/index.es573.js +26 -0
  1052. package/dist/index.es573.js.map +1 -0
  1053. package/dist/index.es574.js +13 -74
  1054. package/dist/index.es574.js.map +1 -1
  1055. package/dist/index.es575.js +28 -2
  1056. package/dist/index.es575.js.map +1 -1
  1057. package/dist/index.es576.js +8 -0
  1058. package/dist/index.es576.js.map +1 -0
  1059. package/dist/index.es58.js +2 -2
  1060. package/dist/index.es584.js +1 -1
  1061. package/dist/index.es586.js +1 -1
  1062. package/dist/index.es59.js +2 -2
  1063. package/dist/index.es6.js +3 -3
  1064. package/dist/index.es60.js +2 -2
  1065. package/dist/index.es61.js +2 -2
  1066. package/dist/index.es62.js +2 -2
  1067. package/dist/index.es63.js +1 -1
  1068. package/dist/index.es64.js +3 -3
  1069. package/dist/index.es65.js +1 -1
  1070. package/dist/index.es66.js +2 -2
  1071. package/dist/index.es67.js +2 -2
  1072. package/dist/index.es68.js +2 -2
  1073. package/dist/index.es69.js +11 -11
  1074. package/dist/index.es7.js +3 -3
  1075. package/dist/index.es70.js +1 -1
  1076. package/dist/index.es71.js +2 -2
  1077. package/dist/index.es72.js +1 -1
  1078. package/dist/index.es73.js +2 -2
  1079. package/dist/index.es74.js +2 -2
  1080. package/dist/index.es75.js +2 -2
  1081. package/dist/index.es76.js +1 -1
  1082. package/dist/index.es77.js +3 -3
  1083. package/dist/index.es78.js +2 -2
  1084. package/dist/index.es79.js +2 -2
  1085. package/dist/index.es8.js +3 -3
  1086. package/dist/index.es80.js +1 -1
  1087. package/dist/index.es81.js +1 -1
  1088. package/dist/index.es82.js +1 -1
  1089. package/dist/index.es83.js +1 -1
  1090. package/dist/index.es84.js +1 -1
  1091. package/dist/index.es85.js +1 -1
  1092. package/dist/index.es86.js +1 -1
  1093. package/dist/index.es87.js +1 -1
  1094. package/dist/index.es88.js +1 -1
  1095. package/dist/index.es89.js +1 -1
  1096. package/dist/index.es9.js +4 -4
  1097. package/dist/index.es90.js +1 -1
  1098. package/dist/index.es91.js +1 -1
  1099. package/dist/index.es92.js +1 -1
  1100. package/dist/index.es93.js +1 -1
  1101. package/dist/index.es94.js +1 -1
  1102. package/dist/index.es95.js +16 -16
  1103. package/dist/index.es95.js.map +1 -1
  1104. package/dist/index.es96.js +1 -1
  1105. package/dist/index.es97.js +1 -1
  1106. package/dist/index.es98.js +1 -1
  1107. package/dist/index.es99.js +2 -2
  1108. package/package.json +1 -1
  1109. package/dist/index.cjs218.js +0 -2
  1110. package/dist/index.cjs218.js.map +0 -1
  1111. package/dist/index.cjs220.js +0 -2
  1112. package/dist/index.cjs220.js.map +0 -1
  1113. package/dist/index.cjs222.js +0 -2
  1114. package/dist/index.cjs222.js.map +0 -1
  1115. package/dist/index.cjs224.js +0 -2
  1116. package/dist/index.cjs224.js.map +0 -1
  1117. package/dist/index.cjs225.js +0 -2
  1118. package/dist/index.cjs225.js.map +0 -1
  1119. package/dist/index.cjs226.js +0 -2
  1120. package/dist/index.cjs226.js.map +0 -1
  1121. package/dist/index.cjs227.js +0 -2
  1122. package/dist/index.cjs227.js.map +0 -1
  1123. package/dist/index.cjs231.js +0 -2
  1124. package/dist/index.cjs231.js.map +0 -1
  1125. package/dist/index.cjs238.js +0 -2
  1126. package/dist/index.cjs238.js.map +0 -1
  1127. package/dist/index.cjs240.js +0 -2
  1128. package/dist/index.cjs240.js.map +0 -1
  1129. package/dist/index.cjs265.js +0 -2
  1130. package/dist/index.cjs265.js.map +0 -1
  1131. package/dist/index.cjs461.js +0 -2
  1132. package/dist/index.cjs461.js.map +0 -1
  1133. package/dist/index.cjs463.js +0 -2
  1134. package/dist/index.cjs463.js.map +0 -1
  1135. package/dist/index.cjs464.js +0 -2
  1136. package/dist/index.cjs464.js.map +0 -1
  1137. package/dist/index.cjs474.js +0 -2
  1138. package/dist/index.cjs474.js.map +0 -1
  1139. package/dist/index.cjs475.js +0 -2
  1140. package/dist/index.cjs475.js.map +0 -1
  1141. package/dist/index.cjs483.js +0 -2
  1142. package/dist/index.cjs483.js.map +0 -1
  1143. package/dist/index.cjs484.js +0 -2
  1144. package/dist/index.cjs484.js.map +0 -1
  1145. package/dist/index.cjs485.js +0 -2
  1146. package/dist/index.cjs485.js.map +0 -1
  1147. package/dist/index.cjs486.js +0 -2
  1148. package/dist/index.cjs486.js.map +0 -1
  1149. package/dist/index.cjs495.js +0 -2
  1150. package/dist/index.cjs495.js.map +0 -1
  1151. package/dist/index.cjs496.js +0 -2
  1152. package/dist/index.cjs496.js.map +0 -1
  1153. package/dist/index.cjs498.js +0 -2
  1154. package/dist/index.cjs500.js +0 -5
  1155. package/dist/index.cjs500.js.map +0 -1
  1156. package/dist/index.cjs501.js +0 -2
  1157. package/dist/index.cjs501.js.map +0 -1
  1158. package/dist/index.cjs563.js +0 -2
  1159. package/dist/index.cjs563.js.map +0 -1
  1160. package/dist/index.cjs569.js +0 -2
  1161. package/dist/index.cjs569.js.map +0 -1
  1162. package/dist/index.es218.js.map +0 -1
  1163. package/dist/index.es220.js +0 -262
  1164. package/dist/index.es220.js.map +0 -1
  1165. package/dist/index.es222.js.map +0 -1
  1166. package/dist/index.es224.js +0 -20
  1167. package/dist/index.es224.js.map +0 -1
  1168. package/dist/index.es225.js +0 -37
  1169. package/dist/index.es225.js.map +0 -1
  1170. package/dist/index.es226.js +0 -345
  1171. package/dist/index.es226.js.map +0 -1
  1172. package/dist/index.es227.js +0 -93
  1173. package/dist/index.es227.js.map +0 -1
  1174. package/dist/index.es231.js.map +0 -1
  1175. package/dist/index.es238.js +0 -18
  1176. package/dist/index.es238.js.map +0 -1
  1177. package/dist/index.es240.js +0 -6
  1178. package/dist/index.es240.js.map +0 -1
  1179. package/dist/index.es265.js +0 -30
  1180. package/dist/index.es265.js.map +0 -1
  1181. package/dist/index.es461.js +0 -10
  1182. package/dist/index.es461.js.map +0 -1
  1183. package/dist/index.es463.js +0 -71
  1184. package/dist/index.es463.js.map +0 -1
  1185. package/dist/index.es464.js +0 -33
  1186. package/dist/index.es464.js.map +0 -1
  1187. package/dist/index.es474.js +0 -17
  1188. package/dist/index.es474.js.map +0 -1
  1189. package/dist/index.es475.js +0 -128
  1190. package/dist/index.es475.js.map +0 -1
  1191. package/dist/index.es483.js +0 -12
  1192. package/dist/index.es483.js.map +0 -1
  1193. package/dist/index.es484.js +0 -7
  1194. package/dist/index.es484.js.map +0 -1
  1195. package/dist/index.es485.js +0 -9
  1196. package/dist/index.es485.js.map +0 -1
  1197. package/dist/index.es486.js +0 -28
  1198. package/dist/index.es486.js.map +0 -1
  1199. package/dist/index.es495.js +0 -130
  1200. package/dist/index.es495.js.map +0 -1
  1201. package/dist/index.es496.js +0 -132
  1202. package/dist/index.es496.js.map +0 -1
  1203. package/dist/index.es498.js +0 -6
  1204. package/dist/index.es500.js +0 -113
  1205. package/dist/index.es500.js.map +0 -1
  1206. package/dist/index.es501.js +0 -19
  1207. package/dist/index.es501.js.map +0 -1
  1208. package/dist/index.es563.js +0 -5
  1209. package/dist/index.es563.js.map +0 -1
  1210. package/dist/index.es569.js +0 -7
  1211. package/dist/index.es569.js.map +0 -1
  1212. /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
  1213. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs236.js");;/* empty css */const p=require("react"),x=require("./index.cjs296.js"),f=require("./index.cjs297.js"),R=require("./index.cjs10.js"),w=({id:i,title:c,titleTag:l="h3",description:u,className:a,setSelectedCard:t=()=>{},description2:o,keepSelectionOnNavigation:d=!1,disabled:s=!1,isActive:r=!1})=>{const n=p.useRef(null);f.useClickOutside(n,r,()=>t(void 0),()=>t(void 0),d);const h=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),m=`${a} ${r?"ui-is-active":"ui-card-search"} shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${s?"ui-card-disabled":"cursor-pointer"}`,j=()=>{s||t(i)};return e.jsxRuntimeExports.jsxs("div",{ref:n,className:m,onClick:j,"aria-disabled":s,children:[e.jsxRuntimeExports.jsx(x.Root,{id:i,checked:r,disabled:s,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(x.Indicator,{children:e.jsxRuntimeExports.jsx(h,{})})}),e.jsxRuntimeExports.jsxs(R.Col,{children:[e.jsxRuntimeExports.jsx(l,{className:"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold",children:c}),e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28",children:u}),o&&e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16",children:o})]})]})};exports.CardSelectDoctor=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs217.js");;/* empty css */const p=require("react"),x=require("./index.cjs296.js"),f=require("./index.cjs297.js"),w=require("./index.cjs10.js"),R=({id:i,title:c,titleTag:l="h3",description:u,className:a,setSelectedCard:t=()=>{},description2:o,keepSelectionOnNavigation:d=!1,disabled:s=!1,isActive:r=!1})=>{const n=p.useRef(null);f.useClickOutside(n,r,()=>t(void 0),()=>t(void 0),d);const h=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),m=`${a} ${r?"ui-is-active":"ui-card-search"} shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${s?"ui-card-disabled":"cursor-pointer"}`,j=()=>{s||t(i)};return e.jsxRuntimeExports.jsxs("div",{ref:n,className:m,onClick:j,"aria-disabled":s,children:[e.jsxRuntimeExports.jsx(x.Checkbox,{id:i,checked:r,disabled:s,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(x.CheckboxIndicator,{children:e.jsxRuntimeExports.jsx(h,{})})}),e.jsxRuntimeExports.jsxs(w.Col,{children:[e.jsxRuntimeExports.jsx(l,{className:"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold",children:c}),e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28",children:u}),o&&e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16",children:o})]})]})};exports.CardSelectDoctor=R;
2
2
  //# sourceMappingURL=index.cjs48.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs48.js","sources":["../src/components/ui/CardSelectDoctor/index.tsx"],"sourcesContent":["import \"./CardSelectDoctor.scss\";\nimport { useRef } from \"react\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\nimport { Col } from \"../Col\";\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardSelectDoctorProps = {\n id: string;\n title: string;\n titleTag?: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n setSelectedCard?: (id?: string) => void;\n description2?: string;\n isActive: boolean;\n keepSelectionOnNavigation?: boolean;\n disabled?: boolean;\n};\n\nexport const CardSelectDoctor = ({\n id,\n title,\n titleTag: TitleTag = \"h3\",\n description,\n className,\n setSelectedCard = () => {},\n description2,\n keepSelectionOnNavigation = false,\n disabled = false,\n isActive = false,\n}: CardSelectDoctorProps) => {\n const dropdownRef = useRef<HTMLDivElement>(null);\n useClickOutside(\n dropdownRef,\n isActive,\n () => setSelectedCard(undefined),\n () => setSelectedCard(undefined),\n keepSelectionOnNavigation,\n );\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n // Generate class names based on active and disabled states\n const cardClasses = `${className} ${\n isActive ? \"ui-is-active\" : \"ui-card-search\"\n } shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${\n disabled ? \"ui-card-disabled\" : \"cursor-pointer\"\n }`;\n\n // Handle click only if not disabled\n const handleClick = () => {\n if (!disabled) {\n setSelectedCard(id);\n }\n };\n\n return (\n <div\n ref={dropdownRef}\n className={cardClasses}\n onClick={handleClick}\n aria-disabled={disabled}\n >\n <CheckboxRadix.Root\n id={id}\n checked={isActive}\n disabled={disabled}\n // onCheckedChange={onChange}\n className={\"ui-checkbox-filter\"}\n // aria-label={labelText}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Col>\n <TitleTag className=\"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold\">\n {title}\n </TitleTag>\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28\">\n {description}\n </p>\n {description2 && (\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16\">\n {description2}\n </p>\n )}\n </Col>\n </div>\n );\n};\n"],"names":["CardSelectDoctor","id","title","TitleTag","description","className","setSelectedCard","description2","keepSelectionOnNavigation","disabled","isActive","dropdownRef","useRef","useClickOutside","CheckIcon","jsx","cardClasses","handleClick","jsxs","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"uQAwBaA,EAAmB,CAAC,CAC/B,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,YAAAC,EACA,UAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,SAAAC,EAAW,GACX,SAAAC,EAAW,EACb,IAA6B,CACrB,MAAAC,EAAcC,SAAuB,IAAI,EAC/CC,EAAA,gBACEF,EACAD,EACA,IAAMJ,EAAgB,MAAS,EAC/B,IAAMA,EAAgB,MAAS,EAC/BE,CACF,EAEA,MAAMM,EAAY,IAChBC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,cAAY,OAEZ,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oBACF,OAAO,QACP,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CACF,EAIIC,EAAc,GAAGX,CAAS,IAC9BK,EAAW,eAAiB,gBAC9B,yDACED,EAAW,mBAAqB,gBAClC,GAGMQ,EAAc,IAAM,CACnBR,GACHH,EAAgBL,CAAE,CAEtB,EAGE,OAAAiB,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,UAAWK,EACX,QAASC,EACT,gBAAeR,EAEf,SAAA,CAAAM,EAAA,kBAAA,IAACI,EAAc,KAAd,CACC,GAAAlB,EACA,QAASS,EACT,SAAAD,EAEA,UAAW,qBAGX,iCAACW,YAAA,CACC,SAAAL,wBAACD,IAAU,CACb,CAAA,CAAA,CACF,2BACCO,EAAAA,IACC,CAAA,SAAA,CAACN,EAAA,kBAAA,IAAAZ,EAAA,CAAS,UAAU,sDACjB,SACHD,EAAA,EACCa,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHX,EAAA,EACCG,GACCQ,EAAA,kBAAA,IAAC,IAAE,CAAA,UAAU,oDACV,SACHR,CAAA,CAAA,CAAA,CAEJ,CAAA,CAAA,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs48.js","sources":["../src/components/ui/CardSelectDoctor/index.tsx"],"sourcesContent":["import \"./CardSelectDoctor.scss\";\nimport { useRef } from \"react\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\nimport { Col } from \"../Col\";\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardSelectDoctorProps = {\n id: string;\n title: string;\n titleTag?: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n setSelectedCard?: (id?: string) => void;\n description2?: string;\n isActive: boolean;\n keepSelectionOnNavigation?: boolean;\n disabled?: boolean;\n};\n\nexport const CardSelectDoctor = ({\n id,\n title,\n titleTag: TitleTag = \"h3\",\n description,\n className,\n setSelectedCard = () => {},\n description2,\n keepSelectionOnNavigation = false,\n disabled = false,\n isActive = false,\n}: CardSelectDoctorProps) => {\n const dropdownRef = useRef<HTMLDivElement>(null);\n useClickOutside(\n dropdownRef,\n isActive,\n () => setSelectedCard(undefined),\n () => setSelectedCard(undefined),\n keepSelectionOnNavigation,\n );\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n // Generate class names based on active and disabled states\n const cardClasses = `${className} ${\n isActive ? \"ui-is-active\" : \"ui-card-search\"\n } shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${\n disabled ? \"ui-card-disabled\" : \"cursor-pointer\"\n }`;\n\n // Handle click only if not disabled\n const handleClick = () => {\n if (!disabled) {\n setSelectedCard(id);\n }\n };\n\n return (\n <div\n ref={dropdownRef}\n className={cardClasses}\n onClick={handleClick}\n aria-disabled={disabled}\n >\n <CheckboxRadix.Root\n id={id}\n checked={isActive}\n disabled={disabled}\n // onCheckedChange={onChange}\n className={\"ui-checkbox-filter\"}\n // aria-label={labelText}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Col>\n <TitleTag className=\"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold\">\n {title}\n </TitleTag>\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28\">\n {description}\n </p>\n {description2 && (\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16\">\n {description2}\n </p>\n )}\n </Col>\n </div>\n );\n};\n"],"names":["CardSelectDoctor","id","title","TitleTag","description","className","setSelectedCard","description2","keepSelectionOnNavigation","disabled","isActive","dropdownRef","useRef","useClickOutside","CheckIcon","jsx","cardClasses","handleClick","jsxs","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"uQAwBaA,EAAmB,CAAC,CAC/B,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,YAAAC,EACA,UAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,SAAAC,EAAW,GACX,SAAAC,EAAW,EACb,IAA6B,CACrB,MAAAC,EAAcC,SAAuB,IAAI,EAC/CC,EAAA,gBACEF,EACAD,EACA,IAAMJ,EAAgB,MAAS,EAC/B,IAAMA,EAAgB,MAAS,EAC/BE,CACF,EAEA,MAAMM,EAAY,IAChBC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,cAAY,OAEZ,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oBACF,OAAO,QACP,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CACF,EAIIC,EAAc,GAAGX,CAAS,IAC9BK,EAAW,eAAiB,gBAC9B,yDACED,EAAW,mBAAqB,gBAClC,GAGMQ,EAAc,IAAM,CACnBR,GACHH,EAAgBL,CAAE,CAEtB,EAGE,OAAAiB,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,UAAWK,EACX,QAASC,EACT,gBAAeR,EAEf,SAAA,CAAAM,EAAA,kBAAA,IAACI,EAAc,SAAd,CACC,GAAAlB,EACA,QAASS,EACT,SAAAD,EAEA,UAAW,qBAGX,iCAACW,oBAAA,CACC,SAAAL,wBAACD,IAAU,CACb,CAAA,CAAA,CACF,2BACCO,EAAAA,IACC,CAAA,SAAA,CAACN,EAAA,kBAAA,IAAAZ,EAAA,CAAS,UAAU,sDACjB,SACHD,EAAA,EACCa,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHX,EAAA,EACCG,GACCQ,EAAA,kBAAA,IAAC,IAAE,CAAA,UAAU,oDACV,SACHR,CAAA,CAAA,CAAA,CAEJ,CAAA,CAAA,CAAA,CACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs462.js"),g=require("./index.cjs484.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
1
+ "use strict";const a=require("./index.cjs509.js"),l=require("react"),s=require("./index.cjs510.js"),i=require("./index.cjs511.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
2
2
  //# sourceMappingURL=index.cjs480.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs480.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"icASA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,CACxB,KAAM,CAAE,QAAAC,EAAS,SAAAC,CAAQ,EAAKF,EACxBG,EAAWC,EAAYH,CAAO,EAC9BI,EAAQ,OAAOH,GAAa,WAAaA,EAAS,CAAE,QAASC,EAAS,SAAW,CAAA,EAAIG,EAAO,SAAS,KAAKJ,CAAQ,EAClHK,EAAMC,EAAAA,gBAAgBL,EAAS,IAAKM,EAAcJ,CAAK,CAAC,EAE9D,OADmB,OAAOH,GAAa,YAClBC,EAAS,UAAYG,EAAO,aAAaD,EAAO,CAAE,IAAAE,CAAK,CAAA,EAAI,IAClF,EACAR,EAAS,YAAc,WACvB,SAASK,EAAYH,EAAS,CAC5B,KAAM,CAACS,EAAMC,CAAO,EAAIL,EAAO,SAAU,EACnCM,EAAYN,EAAO,OAAO,EAAE,EAC5BO,EAAiBP,EAAO,OAAOL,CAAO,EACtCa,EAAuBR,EAAO,OAAO,MAAM,EAC3CZ,EAAeO,EAAU,UAAY,YACrC,CAACJ,EAAOkB,CAAI,EAAItB,EAAgBC,EAAc,CAClD,QAAS,CACP,QAAS,YACT,cAAe,kBAChB,EACD,iBAAkB,CAChB,MAAO,UACP,cAAe,WAChB,EACD,UAAW,CACT,MAAO,SACb,CACA,CAAG,EACDY,OAAAA,EAAO,UAAU,IAAM,CACrB,MAAMU,EA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,oBAAoB,kBAAmBc,CAAkB,EAC9Dd,EAAK,oBAAoB,eAAgBc,CAAkB,CAC5D,CACP,MACMT,EAAK,eAAe,CAE1B,EAAK,CAACL,EAAMK,CAAI,CAAC,EACR,CACL,UAAW,CAAC,UAAW,kBAAkB,EAAE,SAASlB,CAAK,EACzD,IAAKS,EAAO,YAAasB,GAAU,CAC7BA,IAAOhB,EAAU,QAAU,iBAAiBgB,CAAK,GACrDjB,EAAQiB,CAAK,CACnB,EAAO,CAAE,CAAA,CACN,CACH,CACA,SAASX,EAAiBE,EAAQ,CAChC,OAAOA,GAAA,YAAAA,EAAQ,gBAAiB,MAClC,CACA,SAASV,EAAcoB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs480.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs461.js"),B=require("./index.cjs473.js"),Y=require("./index.cjs462.js"),z=require("./index.cjs463.js"),V=require("./index.cjs467.js"),D=require("./index.cjs465.js"),J=require("./index.cjs471.js"),Q=require("./index.cjs464.js"),W=require("./index.cjs474.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 _="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[j,G,ee]=B.createCollection(g),[te,oe]=z.createContextScope(g,[ee]),[re,ne]=te(g),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=g;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:R=!1,dir:I,currentTabStopId:x,defaultCurrentTabStopId:F,onCurrentTabStopIdChange:p,onEntryFocus:u,preventScrollOnEntryFocus:E=!1,...S}=e,v=c.useRef(null),b=Y.useComposedRefs(o,v),n=W.useDirection(I),[l=null,w]=Q.useControllableState({prop:x,defaultProp:F,onChange:p}),[i,a]=c.useState(!1),T=J.useCallbackRef(u),M=G(r),C=c.useRef(!1),[K,O]=c.useState(0);return c.useEffect(()=>{const s=v.current;if(s)return s.addEventListener(_,T),()=>s.removeEventListener(_,T)},[T]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:n,loop:R,currentTabStopId:l,onItemFocus:c.useCallback(s=>w(s),[w]),onItemShiftTab:c.useCallback(()=>a(!0),[]),onFocusableItemAdd:c.useCallback(()=>O(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>O(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(D.Primitive.div,{tabIndex:i||K===0?-1:0,"data-orientation":t,...S,ref:b,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{C.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!C.current;if(s.target===s.currentTarget&&k&&!i){const P=new CustomEvent(_,Z);if(s.currentTarget.dispatchEvent(P),!P.defaultPrevented){const y=M().filter(d=>d.focusable),L=y.find(d=>d.active),U=y.find(d=>d.id===l),$=[L,U,...y].filter(Boolean).map(d=>d.ref.current);q($,E)}}C.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>a(!1))})})}),N="RovingFocusGroupItem",h=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:R=!1,tabStopId:I,...x}=e,F=V.useId(),p=I||F,u=ne(N,r),E=u.currentTabStopId===p,S=G(r),{onFocusableItemAdd:v,onFocusableItemRemove:b}=u;return c.useEffect(()=>{if(t)return v(),()=>b()},[t,v,b]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:R,children:f.jsxRuntimeExports.jsx(D.Primitive.span,{tabIndex:E?0:-1,"data-orientation":u.orientation,...x,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 l=ie(n,u.orientation,u.dir);if(l!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=S().filter(a=>a.focusable).map(a=>a.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const a=i.indexOf(n.currentTarget);i=u.loop?ae(i,a+1):i.slice(a+1)}setTimeout(()=>q(i))}})})})});h.displayName=N;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 q(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=h;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=h;exports.createRovingFocusGroupScope=oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
2
2
  //# sourceMappingURL=index.cjs481.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs481.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/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 = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\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 ...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 } = 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 }\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","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,EAAM,EACpDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAkB,mBACnFP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/B,IAAIe,GAAuBJ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnE,KAAM,CACJ,wBAAAG,EACA,YAAAC,EACA,KAAAC,EAAO,GACP,IAAAC,EACA,iBAAkBC,EAClB,wBAAAC,EACA,yBAAAC,EACA,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,GAAGC,CACP,EAAMb,EACEc,EAAMf,EAAM,OAAO,IAAI,EACvBgB,EAAeC,EAAAA,gBAAgBf,EAAca,CAAG,EAChDG,EAAYC,EAAY,aAACX,CAAG,EAC5B,CAACY,EAAmB,KAAMC,CAAmB,EAAIC,EAAAA,qBAAqB,CAC1E,KAAMb,EACN,YAAaC,EACb,SAAUC,CACd,CAAG,EACK,CAACY,EAAkBC,CAAmB,EAAIxB,EAAM,SAAS,EAAK,EAC9DyB,EAAmBC,EAAc,eAACd,CAAY,EAC9Ce,EAAWpC,EAAcc,CA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B1B,EAAM,IAAK5B,CAAG,EAC/C,GAAI,EAAAF,IAAgB,YAAc,CAAC,YAAa,YAAY,EAAE,SAASyD,CAAG,IACtE,EAAAzD,IAAgB,cAAgB,CAAC,UAAW,WAAW,EAAE,SAASyD,CAAG,GACzE,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASnB,EAAWoB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,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,GAAOzE,EACP0E,GAAO3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs481.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC,EAAa,cAAc,IACtC,EACIC,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EACdC,EAAY,EACZC,EAAa,SAAUC,EAAM,CAC7B,OAAOA,IAASA,EAAK,MAAQD,EAAWC,EAAK,UAAU,EAC3D,EACIC,EAAiB,SAAUC,EAAQC,EAAS,CAC5C,OAAOA,EACF,IAAI,SAAUC,EAAQ,CACvB,GAAIF,EAAO,SAASE,CAAM,EACtB,OAAOA,EAEX,IAAIC,EAAkBN,EAAWK,CAAM,EACvC,OAAIC,GAAmBH,EAAO,SAASG,CAAe,EAC3CA,GAEX,QAAQ,MAAM,cAAeD,EAAQ,0BAA2BF,EAAQ,iBAAiB,EAClF,KACV,CAAA,EACI,OAAO,SAAUI,EAAG,CAAE,MAAO,EAAQA,EAAK,CACnD,EASIC,EAAyB,SAAUd,EAAgBe,EAAYC,EAAYC,EAAkB,CAC7F,IAAIP,EAAUF,EAAeO,EAAY,MAAM,QAAQf,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACrGI,EAAUY,CAAU,IACrBZ,EAAUY,CAAU,EAAI,IAAI,SAEhC,IAAIE,EAAgBd,EAAUY,CAAU,EACpCG,EAAc,CAAE,EAChBC,EAAiB,IAAI,IACrBC,EAAiB,IAAI,IAAIX,CAAO,EAChCY,EAAO,SAAUC,EAAI,CACjB,CAACA,GAAMH,EAAe,IAAIG,CAAE,IAGhCH,EAAe,IAAIG,CA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AAoB,IAAI,QACxBC,EAAY,CAAE,EAErB,CACL,EAQW0B,EAAa,SAAU9B,EAAgBe,EAAYC,EAAY,CAClEA,IAAe,SAAUA,EAAa,oBAC1C,IAAIN,EAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACtF+B,EAAiChC,EAAiBC,CAAc,EACpE,OAAK+B,GAILrB,EAAQ,KAAK,MAAMA,EAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,EACjFjB,EAAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GAJvE,UAAY,CAAE,OAAO,IAAO,CAK3C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),b=require("./index.cjs455.js"),f=require("./index.cjs217.js");function x(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 l=x(g);function d(e){const t=R(e),r=l.forwardRef((o,n)=>{const{children:i,...c}=o,a=l.Children.toArray(i),s=a.find(E);if(s){const u=s.props.children,S=a.map(p=>p===s?l.Children.count(u)>1?l.Children.only(null):l.isValidElement(u)?u.props.children:null:p);return f.jsxRuntimeExports.jsx(t,{...c,ref:n,children:l.isValidElement(u)?l.cloneElement(u,void 0,S):null})}return f.jsxRuntimeExports.jsx(t,{...c,ref:n,children:i})});return r.displayName=`${e}.Slot`,r}var m=d("Slot");function R(e){const t=l.forwardRef((r,o)=>{const{children:n,...i}=r,c=l.isValidElement(n)?O(n):void 0,a=b.useComposedRefs(c,o);if(l.isValidElement(n)){const s=C(i,n.props);return n.type!==l.Fragment&&(s.ref=a),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var y=Symbol("radix.slottable");function j(e){const t=({children:r})=>f.jsxRuntimeExports.jsx(f.jsxRuntimeExports.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=y,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===y}function C(e,t){const r={...t};for(const o in t){const n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...a)=>{const s=i(...a);return n(...a),s}:n&&(r[o]=n):o==="style"?r[o]={...n,...i}:o==="className"&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}function O(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}exports.Root=m;exports.Slot=m;exports.createSlot=d;exports.createSlottable=j;
2
2
  //# sourceMappingURL=index.cjs482.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs482.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC,EAAa,cAAc,IACtC,EACIC,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EACdC,EAAY,EACZC,EAAa,SAAUC,EAAM,CAC7B,OAAOA,IAASA,EAAK,MAAQD,EAAWC,EAAK,UAAU,EAC3D,EACIC,EAAiB,SAAUC,EAAQC,EAAS,CAC5C,OAAOA,EACF,IAAI,SAAUC,EAAQ,CACvB,GAAIF,EAAO,SAASE,CAAM,EACtB,OAAOA,EAEX,IAAIC,EAAkBN,EAAWK,CAAM,EACvC,OAAIC,GAAmBH,EAAO,SAASG,CAAe,EAC3CA,GAEX,QAAQ,MAAM,cAAeD,EAAQ,0BAA2BF,EAAQ,iBAAiB,EAClF,KACV,CAAA,EACI,OAAO,SAAUI,EAAG,CAAE,MAAO,EAAQA,EAAK,CACnD,EASIC,EAAyB,SAAUd,EAAgBe,EAAYC,EAAYC,EAAkB,CAC7F,IAAIP,EAAUF,EAAeO,EAAY,MAAM,QAAQf,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACrGI,EAAUY,CAAU,IACrBZ,EAAUY,CAAU,EAAI,IAAI,SAEhC,IAAIE,EAAgBd,EAAUY,CAAU,EACpCG,EAAc,CAAE,EAChBC,EAAiB,IAAI,IACrBC,EAAiB,IAAI,IAAIX,CAAO,EAChCY,EAAO,SAAUC,EAAI,CACjB,CAACA,GAAMH,EAAe,IAAIG,CAAE,IAGhCH,EAAe,IAAIG,CAAE,EACrBD,EAAKC,EAAG,UAAU,EACrB,EACDb,EAAQ,QAAQY,CAAI,EACpB,IAAIE,EAAO,SAAUf,EA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A,IAAe,SAAUA,EAAa,oBAC1C,IAAIN,EAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACtF+B,EAAiChC,EAAiBC,CAAc,EACpE,OAAK+B,GAILrB,EAAQ,KAAK,MAAMA,EAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,EACjFjB,EAAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GAJvE,UAAY,CAAE,OAAO,IAAO,CAK3C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs482.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenRef = React.isValidElement(children) ? getElementRef(children) : void 0;\n const ref = useComposedRefs(childrenRef, forwardedRef);\n if (React.isValidElement(children)) {\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = ref;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","Slot","childrenRef","getElementRef","ref","useComposedRefs","props2","mergeProps","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b"],"mappings":"icAOA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACxL,CACI,OAAuBE,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACvF,CAAG,EACD,OAAAJ,EAAM,YAAc,GAAGH,CAAS,QACzBG,CACT,CACG,IAACa,EAAuBjB,EAAW,MAAM,EAE5C,SAASG,EAAgBF,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AGE,CAAI,EACdC,CACR,EACQH,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGvB,EAAW,GAAGoB,CAAe,CAC3C,CACA,SAASV,EAAcgB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),u=require("./index.cjs465.js"),i=require("./index.cjs236.js");function l(e){const r=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(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=l(c);var f="Arrow",n=d.forwardRef((e,r)=>{const{children:t,width:o=10,height:s=5,...a}=e;return i.jsxRuntimeExports.jsx(u.Primitive.svg,{...a,ref:r,width:o,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?t:i.jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});n.displayName=f;var p=n;exports.Arrow=n;exports.Root=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function u(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const a=u(r);var n=globalThis!=null&&globalThis.document?a.useLayoutEffect:()=>{};exports.useLayoutEffect=n;
2
2
  //# sourceMappingURL=index.cjs489.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs489.js","sources":["../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// packages/react/arrow/src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":"icAIA,IAAIA,EAAO,QACPC,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACpD,KAAM,CAAE,SAAAC,EAAU,MAAAC,EAAQ,GAAI,OAAAC,EAAS,EAAG,GAAGC,CAAU,EAAKL,EAC5D,OAAuBM,EAAG,kBAAA,IACxBC,EAAAA,UAAU,IACV,CACE,GAAGF,EACH,IAAKJ,EACL,MAAAE,EACA,OAAAC,EACA,QAAS,YACT,oBAAqB,OACrB,SAAUJ,EAAM,QAAUE,EAA2BI,EAAG,kBAAA,IAAC,UAAW,CAAE,OAAQ,gBAAkB,CAAA,CACtG,CACG,CACH,CAAC,EACDR,EAAM,YAAcD,EACjB,IAACW,EAAOV","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs489.js","sources":["../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAAmB,6BAAY,SAAWC,EAAM,gBAAkB,IAAM,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDoctorInfo/CardDoctorInfo.css');const s=require("./index.cjs236.js"),N=require("./index.cjs64.js");;/* empty css */const a=require("./index.cjs238.js"),o=require("./index.cjs274.js"),j=require("react"),w=require("./index.cjs329.js"),p=require("./index.cjs59.js"),C=require("./index.cjs9.js"),q=require("./index.cjs10.js"),$=({titleTag:g="h3",doctorName:b,specialties:u,contactInfo:i,avatar:r,className:R,officesInfo:l=[],officesInfoV2:x=[],officeLabel:n="Ambulatorio"})=>{const[d,c]=j.useState([]),E=()=>i&&(i==null?void 0:i.length)>0,h=e=>{d.includes(e)?c(d.filter(t=>t!==e)):c([...d,e])};return s.jsxRuntimeExports.jsxs("article",{className:a.clsx("bg-white shadow br-x4 ui-card-doctor-info",R),children:[s.jsxRuntimeExports.jsxs(C.Row,{as:"header",gap:"x16",children:[r&&s.jsxRuntimeExports.jsx(N.Avatar,{textColor:(r==null?void 0:r.textColor)??"slate-20",bg:(r==null?void 0:r.bg)??"lightblue-a01",initials:(r==null?void 0:r.initials)??"",className:"ui-card-doctor-avatar",size:"3"}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(g,{className:"fs-5 fw-semibold text-slate-20",children:b}),u&&(u==null?void 0:u.length)>0&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 text-slate-20 fw-regular",children:u==null?void 0:u.join(" | ")})]})]}),s.jsxRuntimeExports.jsxs("div",{className:"ui-card-doctor-content-info",children:[E()&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:i==null?void 0:i.map(e=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:e.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:e.value})]},e.label))}),(l==null?void 0:l.length)>0&&s.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),(x==null?void 0:x.length)>0&&s.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),s.jsxRuntimeExports.jsxs(q.Col,{children:[(l==null?void 0:l.length)>0&&(l==null?void 0:l.map((e,t)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(p.CategoryHeader,{title:`${n} ${t+1}`,isOpen:d.includes(t),onToggle:()=>h(t),hasBorder:!d.includes(t),className:"pt-x24",titleClassName:"fw-semibold fs-6 text-primary pb-x16"}),d.includes(t)&&s.jsxRuntimeExports.jsx("div",{className:a.clsx("ui-has-border-bottom","pb-x24"),children:e.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.map(m=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:m.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:m.value})]},m.label))})})]},t))),(x==null?void 0:x.length)>0&&(x==null?void 0:x.map((e,t)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(p.CategoryHeader,{title:`${n} ${t+1}`,isOpen:d.includes(t),onToggle:()=>h(t),hasBorder:!d.includes(t),className:"pt-x24",titleClassName:"fw-semibold fs-6 text-primary pb-x16"}),d.includes(t)&&s.jsxRuntimeExports.jsxs("div",{className:a.clsx("ui-has-border-bottom","pb-x24"),children:[e.info.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.info.map(m=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:m.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:m.value})]},m.label))}),e.schedule&&s.jsxRuntimeExports.jsx("dl",{className:"mt-x16",children:s.jsxRuntimeExports.jsx(w.DoctorSchedule,{...e.schedule,labelClassName:"fs-6 fw-bold text-slate-28"})})]})]},t)))]})]})]})};exports.CardDoctorInfo=$;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDoctorInfo/CardDoctorInfo.css');const s=require("./index.cjs217.js"),N=require("./index.cjs64.js");;/* empty css */const a=require("./index.cjs219.js"),o=require("./index.cjs274.js"),j=require("react"),w=require("./index.cjs329.js"),p=require("./index.cjs59.js"),C=require("./index.cjs9.js"),q=require("./index.cjs10.js"),$=({titleTag:g="h3",doctorName:b,specialties:u,contactInfo:i,avatar:r,className:R,officesInfo:l=[],officesInfoV2:x=[],officeLabel:n="Ambulatorio"})=>{const[d,c]=j.useState([]),E=()=>i&&(i==null?void 0:i.length)>0,h=e=>{d.includes(e)?c(d.filter(t=>t!==e)):c([...d,e])};return s.jsxRuntimeExports.jsxs("article",{className:a.clsx("bg-white shadow br-x4 ui-card-doctor-info",R),children:[s.jsxRuntimeExports.jsxs(C.Row,{as:"header",gap:"x16",children:[r&&s.jsxRuntimeExports.jsx(N.Avatar,{textColor:(r==null?void 0:r.textColor)??"slate-20",bg:(r==null?void 0:r.bg)??"lightblue-a01",initials:(r==null?void 0:r.initials)??"",className:"ui-card-doctor-avatar",size:"3"}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(g,{className:"fs-5 fw-semibold text-slate-20",children:b}),u&&(u==null?void 0:u.length)>0&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 text-slate-20 fw-regular",children:u==null?void 0:u.join(" | ")})]})]}),s.jsxRuntimeExports.jsxs("div",{className:"ui-card-doctor-content-info",children:[E()&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:i==null?void 0:i.map(e=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:e.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:e.value})]},e.label))}),(l==null?void 0:l.length)>0&&s.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),(x==null?void 0:x.length)>0&&s.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),s.jsxRuntimeExports.jsxs(q.Col,{children:[(l==null?void 0:l.length)>0&&(l==null?void 0:l.map((e,t)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(p.CategoryHeader,{title:`${n} ${t+1}`,isOpen:d.includes(t),onToggle:()=>h(t),hasBorder:!d.includes(t),className:"pt-x24",titleClassName:"fw-semibold fs-6 text-primary pb-x16"}),d.includes(t)&&s.jsxRuntimeExports.jsx("div",{className:a.clsx("ui-has-border-bottom","pb-x24"),children:e.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.map(m=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:m.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:m.value})]},m.label))})})]},t))),(x==null?void 0:x.length)>0&&(x==null?void 0:x.map((e,t)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(p.CategoryHeader,{title:`${n} ${t+1}`,isOpen:d.includes(t),onToggle:()=>h(t),hasBorder:!d.includes(t),className:"pt-x24",titleClassName:"fw-semibold fs-6 text-primary pb-x16"}),d.includes(t)&&s.jsxRuntimeExports.jsxs("div",{className:a.clsx("ui-has-border-bottom","pb-x24"),children:[e.info.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.info.map(m=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:m.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:m.value})]},m.label))}),e.schedule&&s.jsxRuntimeExports.jsx("dl",{className:"mt-x16",children:s.jsxRuntimeExports.jsx(w.DoctorSchedule,{...e.schedule,labelClassName:"fs-6 fw-bold text-slate-28"})})]})]},t)))]})]})]})};exports.CardDoctorInfo=$;
2
2
  //# sourceMappingURL=index.cjs49.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs494.js"),d=require("./index.cjs495.js"),i=require("./index.cjs496.js");function B(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),l=s?t.offsetWidth:o,r=s?t.offsetHeight:n,c=d.round(o)!==l||d.round(n)!==r;return c&&(o=l,n=r),{width:o,height:n,$:c}}function N(t){return i.isElement(t)?t:t.contextElement}function L(t){const e=N(t);if(!i.isHTMLElement(e))return d.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:l}=B(e);let r=(l?d.round(o.width):o.width)/n,c=(l?d.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const P=d.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?P:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function q(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function T(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),l=N(t);let r=d.createCoords(1);e&&(n?i.isElement(n)&&(r=L(n)):r=L(t));const c=q(l,o,n)?A(l):d.createCoords(0);let f=(s.left+c.x)/r.x,u=(s.top+c.y)/r.y,a=s.width/r.x,g=s.height/r.y;if(l){const w=i.getWindow(l),h=n&&i.isElement(n)?i.getWindow(n):n;let v=w,p=i.getFrameElement(v);for(;p&&n&&h!==v;){const y=L(p),m=p.getBoundingClientRect(),x=i.getComputedStyle(p),C=m.left+(p.clientLeft+parseFloat(x.paddingLeft))*y.x,O=m.top+(p.clientTop+parseFloat(x.paddingTop))*y.y;f*=y.x,u*=y.y,a*=y.x,g*=y.y,f+=C,u+=O,v=i.getWindow(p),p=i.getFrameElement(v)}}return d.rectToClientRect({width:a,height:g,x:f,y:u})}function W(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:T(i.getDocumentElement(t)).left+o}function M(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-(o?0:W(t,n)),l=n.top+e.scrollTop;return{x:s,y:l}}function U(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const l=s==="fixed",r=i.getDocumentElement(n),c=e?i.isTopLayer(e.floating):!1;if(n===r||c&&l)return o;let f={scrollLeft:0,scrollTop:0},u=d.createCoords(1);const a=d.createCoords(0),g=i.isHTMLElement(n);if((g||!g&&!l)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),i.isHTMLElement(n))){const h=T(n);u=L(n),a.x=h.x+n.clientLeft,a.y=h.y+n.clientTop}const w=r&&!g&&!l?M(r,f,!0):d.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+a.x+w.x,y:o.y*u.y-f.scrollTop*u.y+a.y+w.y}}function k(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=d.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=d.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+W(t);const c=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=d.max(e.clientWidth,n.clientWidth)-s),{width:s,height:l,x:r,y:c}}function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let l=n.clientWidth,r=n.clientHeight,c=0,f=0;if(s){l=s.width,r=s.height;const u=i.isWebKit();(!u||u&&e==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:r,x:c,y:f}}function j(t,e){const o=T(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,l=i.isHTMLElement(t)?L(t):d.createCoords(1),r=t.clientWidth*l.x,c=t.clientHeight*l.y,f=s*l.x,u=n*l.y;return{width:r,height:c,x:f,y:u}}function F(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=j(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return d.rectToClientRect(n)}function z(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||z(o,e)}function G(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(c=>i.isElement(c)&&i.getNodeName(c)!=="body"),s=null;const l=i.getComputedStyle(t).position==="fixed";let r=l?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const c=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&c.position==="fixed"&&(s=null),(l?!f&&!s:!f&&c.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||i.isOverflowElement(r)&&!f&&z(t,r))?n=n.filter(a=>a!==r):s=c,r=i.getParentNode(r)}return e.set(t,n),n}function J(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:G(e,this._c):[].concat(o),n],c=r[0],f=r.reduce((u,a)=>{const g=F(e,a,s);return u.top=d.max(g.top,u.top),u.right=d.min(g.right,u.right),u.bottom=d.min(g.bottom,u.bottom),u.left=d.max(g.left,u.left),u},F(e,c,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Q(t){const{width:e,height:o}=B(t);return{width:e,height:o}}function Y(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),l=o==="fixed",r=T(t,!0,l,e);let c={scrollLeft:0,scrollTop:0};const f=d.createCoords(0);if(n||!n&&!l)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(c=i.getNodeScroll(e)),n){const w=T(e,!0,l,e);f.x=w.x+e.clientLeft,f.y=w.y+e.clientTop}else s&&(f.x=W(s));const u=s&&!n&&!l?M(s,c):d.createCoords(0),a=r.left+c.scrollLeft-f.x-u.x,g=r.top+c.scrollTop-f.y-u.y;return{x:a,y:g,width:r.width,height:r.height}}function b(t){return i.getComputedStyle(t).position==="static"}function H(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function I(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!b(s))return s;s=i.getParentNode(s)}return o}let n=H(t,e);for(;n&&i.isTableElement(n)&&b(n);)n=H(n,e);return n&&i.isLastTraversableNode(n)&&b(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const Z=async function(t){const e=this.getOffsetParent||I,o=this.getDimensions,n=await o(t.floating);return{reference:Y(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function X(t){return i.getComputedStyle(t).direction==="rtl"}const V={convertOffsetParentRelativeRectToViewportRelativeRect:U,getDocumentElement:i.getDocumentElement,getClippingRect:J,getOffsetParent:I,getElementRects:Z,getClientRects:k,getDimensions:Q,getScale:L,isElement:i.isElement,isRTL:X};function _(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tt(t,e){let o=null,n;const s=i.getDocumentElement(t);function l(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const u=t.getBoundingClientRect(),{left:a,top:g,width:w,height:h}=u;if(c||e(),!w||!h)return;const v=d.floor(g),p=d.floor(s.clientWidth-(a+w)),y=d.floor(s.clientHeight-(g+h)),m=d.floor(a),C={rootMargin:-v+"px "+-p+"px "+-y+"px "+-m+"px",threshold:d.max(0,d.min(1,f))||1};let O=!0;function D(S){const R=S[0].intersectionRatio;if(R!==f){if(!O)return r();R?r(!1,R):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!_(u,t.getBoundingClientRect())&&r(),O=!1}try{o=new IntersectionObserver(D,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(D,C)}o.observe(t)}return r(!0),l}function et(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=N(t),a=s||l?[...u?i.getOverflowAncestors(u):[],...i.getOverflowAncestors(e)]:[];a.forEach(m=>{s&&m.addEventListener("scroll",o,{passive:!0}),l&&m.addEventListener("resize",o)});const g=u&&c?tt(u,o):null;let w=-1,h=null;r&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===u&&h&&(h.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(e)})),o()}),u&&!f&&h.observe(u),h.observe(e));let v,p=f?T(t):null;f&&y();function y(){const m=T(t);p&&!_(p,m)&&o(),p=m,v=requestAnimationFrame(y)}return o(),()=>{var m;a.forEach(x=>{s&&x.removeEventListener("scroll",o),l&&x.removeEventListener("resize",o)}),g==null||g(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(v)}}const ot=E.offset,nt=E.shift,it=E.flip,st=E.size,rt=E.hide,lt=E.arrow,ct=E.limitShift,ft=(t,e,o)=>{const n=new Map,s={platform:V,...o},l={...s.platform,_c:n};return E.computePosition(t,e,{...s,platform:l})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=lt;exports.autoUpdate=et;exports.computePosition=ft;exports.flip=it;exports.hide=rt;exports.limitShift=ct;exports.offset=ot;exports.platform=V;exports.shift=nt;exports.size=st;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs456.js"),I=require("./index.cjs455.js"),M=require("./index.cjs482.js"),f=require("./index.cjs217.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.cjs490.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs490.js","sources":["../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, detectOverflow as detectOverflow$1, offset as offset$1, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","left","top","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","getDocumentElement","getHTMLOffset","documentElement","scroll","ignoreScrollbarX","htmlRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","topLayer","isTopLayer","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","body","max","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","floatingDimensions","isRTL","platform","rectsAreEqual","a","b","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","floating","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":"mLAKA,SAASA,EAAiBC,EAAS,CACjC,MAAMC,EAAMC,EAAgB,iBAACF,CAAO,EAGpC,IAAIG,EAAQ,WAAWF,EAAI,KAAK,GAAK,EACjCG,EAAS,WAAWH,EAAI,MAAM,GAAK,EACvC,MAAMI,EAAYC,EAAa,cAACN,CAAO,EACjCO,EAAcF,EAAYL,EAAQ,YAAcG,EAChDK,EAAeH,EAAYL,EAAQ,aAAeI,EAClDK,EAAiBC,EAAAA,MAAMP,CAAK,IAAMI,GAAeG,EAAK,MAACN,CAAM,IAAMI,EACzE,OAAIC,IACFN,EAAQI,EACRH,EAASI,GAEJ,CACL,MAAAL,EACA,OAAAC,EACA,EAAGK,CACJ,CACH,CAEA,SAASE,EAAcX,EAAS,CAC9B,OAAQY,EAAAA,UAAUZ,CAAO,EAA6BA,EAAzBA,EAAQ,cACvC,CAEA,SAASa,EAASb,EAAS,CACzB,MAAMc,EAAaH,EAAcX,CAAO,EACxC,GAAI,CAACM,EAAAA,cAAcQ,CAAU,EAC3B,OAAOC,EAAAA,aAAa,CAAC,EAEvB,MAAMC,EAAOF,EAAW,sBAAuB,EACzC,CACJ,MAAAX,EACA,OA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,CAC5BsD,GAAkBtD,EAAS,oBAAoB,SAAUqD,CAAM,EAC/DE,GAAkBvD,EAAS,oBAAoB,SAAUqD,CAAM,CACrE,CAAK,EACDQ,GAAa,MAAQA,EAAW,GAC/BS,EAAmBP,IAAmB,MAAQO,EAAiB,WAAY,EAC5EP,EAAiB,KACbL,GACF,qBAAqBQ,CAAO,CAE/B,CACH,CAmBK,MAACK,GAASC,EAAAA,OAeTC,GAAQC,EAAAA,MAQRC,GAAOC,EAAAA,KAQPC,GAAOC,EAAAA,KAOPC,GAAOC,EAAAA,KAOPC,GAAQC,EAAAA,MAYRC,GAAaC,EAAAA,WAMbC,GAAkB,CAAClC,EAAWC,EAAUP,IAAY,CAIxD,MAAMxD,EAAQ,IAAI,IACZiG,EAAgB,CACpB,SAAA7D,EACA,GAAGoB,CACJ,EACK0C,EAAoB,CACxB,GAAGD,EAAc,SACjB,GAAIjG,CACL,EACD,OAAOmG,EAAiB,gBAACrC,EAAWC,EAAU,CAC5C,GAAGkC,EACH,SAAUC,CACd,CAAG,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs490.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"],"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AAQ,QAAQ,IAAIT,EAAK,CAAE,IAAAA,EAAK,GAAGgB,EAAU,EACtC,IAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,EACsBG,wBAAIW,EAAwB,CAAO,CAACD,CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAX,EAAU,CACrH,CACG,EACDgB,EAAmB,YAAcH,EACjC,SAASK,EAAcnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAE,EAC9B,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,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},exports.__assign.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function p(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}exports.__rest=s;exports.__spreadArray=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),a=require("./index.cjs217.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
2
  //# sourceMappingURL=index.cjs491.js.map