@anoki/fse-ui 2.3.0-2-SNAPSHOT → 2.3.0-4-SNAPSHOT

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 (1007) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs103.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs105.js +1 -1
  5. package/dist/index.cjs11.js +1 -1
  6. package/dist/index.cjs112.js +1 -1
  7. package/dist/index.cjs113.js +1 -1
  8. package/dist/index.cjs114.js +1 -1
  9. package/dist/index.cjs115.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs118.js +1 -1
  13. package/dist/index.cjs119.js +1 -1
  14. package/dist/index.cjs12.js +1 -1
  15. package/dist/index.cjs120.js +1 -1
  16. package/dist/index.cjs121.js +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs125.js +1 -1
  19. package/dist/index.cjs126.js +1 -1
  20. package/dist/index.cjs129.js +1 -1
  21. package/dist/index.cjs13.js +1 -1
  22. package/dist/index.cjs130.js +1 -1
  23. package/dist/index.cjs131.js +1 -1
  24. package/dist/index.cjs133.js +1 -1
  25. package/dist/index.cjs134.js +1 -1
  26. package/dist/index.cjs136.js +1 -1
  27. package/dist/index.cjs137.js +1 -1
  28. package/dist/index.cjs138.js +1 -1
  29. package/dist/index.cjs141.js +1 -1
  30. package/dist/index.cjs142.js +1 -1
  31. package/dist/index.cjs143.js +1 -1
  32. package/dist/index.cjs144.js +1 -1
  33. package/dist/index.cjs145.js +1 -1
  34. package/dist/index.cjs148.js +1 -1
  35. package/dist/index.cjs15.js +1 -1
  36. package/dist/index.cjs150.js +1 -1
  37. package/dist/index.cjs152.js +1 -1
  38. package/dist/index.cjs153.js +1 -1
  39. package/dist/index.cjs154.js +1 -1
  40. package/dist/index.cjs155.js +1 -1
  41. package/dist/index.cjs159.js +1 -1
  42. package/dist/index.cjs16.js +1 -1
  43. package/dist/index.cjs160.js +1 -1
  44. package/dist/index.cjs161.js +1 -1
  45. package/dist/index.cjs162.js +1 -1
  46. package/dist/index.cjs163.js +1 -1
  47. package/dist/index.cjs164.js +1 -1
  48. package/dist/index.cjs165.js +1 -1
  49. package/dist/index.cjs166.js +1 -1
  50. package/dist/index.cjs167.js +1 -1
  51. package/dist/index.cjs168.js +1 -1
  52. package/dist/index.cjs169.js +1 -1
  53. package/dist/index.cjs17.js +1 -1
  54. package/dist/index.cjs170.js +1 -1
  55. package/dist/index.cjs171.js +1 -1
  56. package/dist/index.cjs172.js +1 -1
  57. package/dist/index.cjs173.js +1 -1
  58. package/dist/index.cjs174.js +1 -1
  59. package/dist/index.cjs175.js +1 -1
  60. package/dist/index.cjs176.js +1 -1
  61. package/dist/index.cjs177.js +1 -1
  62. package/dist/index.cjs178.js +1 -1
  63. package/dist/index.cjs179.js +1 -1
  64. package/dist/index.cjs18.js +1 -1
  65. package/dist/index.cjs180.js +1 -1
  66. package/dist/index.cjs181.js +1 -1
  67. package/dist/index.cjs182.js +1 -1
  68. package/dist/index.cjs183.js +1 -1
  69. package/dist/index.cjs184.js +1 -1
  70. package/dist/index.cjs185.js +1 -1
  71. package/dist/index.cjs186.js +1 -1
  72. package/dist/index.cjs187.js +1 -1
  73. package/dist/index.cjs188.js +1 -1
  74. package/dist/index.cjs189.js +1 -1
  75. package/dist/index.cjs190.js +1 -1
  76. package/dist/index.cjs191.js +1 -1
  77. package/dist/index.cjs192.js +1 -1
  78. package/dist/index.cjs193.js +1 -1
  79. package/dist/index.cjs195.js +1 -1
  80. package/dist/index.cjs196.js +1 -1
  81. package/dist/index.cjs197.js +1 -1
  82. package/dist/index.cjs198.js +1 -1
  83. package/dist/index.cjs20.js +1 -1
  84. package/dist/index.cjs200.js +1 -1
  85. package/dist/index.cjs201.js +1 -1
  86. package/dist/index.cjs202.js +1 -1
  87. package/dist/index.cjs203.js +1 -1
  88. package/dist/index.cjs204.js +1 -1
  89. package/dist/index.cjs205.js +1 -1
  90. package/dist/index.cjs206.js +1 -1
  91. package/dist/index.cjs207.js +1 -1
  92. package/dist/index.cjs208.js +1 -1
  93. package/dist/index.cjs209.js +1 -1
  94. package/dist/index.cjs21.js +1 -1
  95. package/dist/index.cjs211.js +1 -1
  96. package/dist/index.cjs212.js +1 -1
  97. package/dist/index.cjs213.js +1 -1
  98. package/dist/index.cjs215.js +1 -1
  99. package/dist/index.cjs216.js +1 -1
  100. package/dist/index.cjs217.js +1 -1
  101. package/dist/index.cjs218.js +1 -1
  102. package/dist/index.cjs219.js +1 -1
  103. package/dist/index.cjs22.js +1 -1
  104. package/dist/index.cjs220.js +1 -1
  105. package/dist/index.cjs221.js +1 -1
  106. package/dist/index.cjs222.js +1 -1
  107. package/dist/index.cjs224.js +1 -1
  108. package/dist/index.cjs225.js +1 -1
  109. package/dist/index.cjs226.js +1 -1
  110. package/dist/index.cjs227.js +1 -1
  111. package/dist/index.cjs228.js +1 -1
  112. package/dist/index.cjs229.js +1 -1
  113. package/dist/index.cjs230.js +1 -1
  114. package/dist/index.cjs231.js +1 -1
  115. package/dist/index.cjs233.js +1 -1
  116. package/dist/index.cjs235.js +1 -1
  117. package/dist/index.cjs236.js +1 -1
  118. package/dist/index.cjs239.js +1 -1
  119. package/dist/index.cjs239.js.map +1 -1
  120. package/dist/index.cjs24.js +1 -1
  121. package/dist/index.cjs240.js +2 -0
  122. package/dist/index.cjs240.js.map +1 -0
  123. package/dist/index.cjs248.js +2 -0
  124. package/dist/index.cjs248.js.map +1 -0
  125. package/dist/index.cjs249.js +6 -1
  126. package/dist/index.cjs249.js.map +1 -1
  127. package/dist/index.cjs253.js +2 -0
  128. package/dist/index.cjs253.js.map +1 -0
  129. package/dist/index.cjs254.js +1 -1
  130. package/dist/index.cjs254.js.map +1 -1
  131. package/dist/index.cjs255.js +1 -1
  132. package/dist/index.cjs255.js.map +1 -1
  133. package/dist/index.cjs259.js +2 -0
  134. package/dist/index.cjs259.js.map +1 -0
  135. package/dist/index.cjs260.js +1 -1
  136. package/dist/index.cjs260.js.map +1 -1
  137. package/dist/index.cjs261.js +1 -1
  138. package/dist/index.cjs261.js.map +1 -1
  139. package/dist/index.cjs262.js +1 -1
  140. package/dist/index.cjs262.js.map +1 -1
  141. package/dist/{index.cjs266.js → index.cjs265.js} +1 -1
  142. package/dist/{index.cjs266.js.map → index.cjs265.js.map} +1 -1
  143. package/dist/index.cjs27.js +1 -1
  144. package/dist/{index.cjs271.js → index.cjs270.js} +1 -1
  145. package/dist/{index.cjs271.js.map → index.cjs270.js.map} +1 -1
  146. package/dist/{index.cjs275.js → index.cjs274.js} +2 -2
  147. package/dist/{index.cjs275.js.map → index.cjs274.js.map} +1 -1
  148. package/dist/index.cjs278.js +2 -0
  149. package/dist/index.cjs278.js.map +1 -0
  150. package/dist/index.cjs279.js +1 -1
  151. package/dist/index.cjs279.js.map +1 -1
  152. package/dist/index.cjs28.js +1 -1
  153. package/dist/index.cjs280.js +1 -1
  154. package/dist/index.cjs280.js.map +1 -1
  155. package/dist/{index.cjs287.js → index.cjs286.js} +2 -2
  156. package/dist/{index.cjs287.js.map → index.cjs286.js.map} +1 -1
  157. package/dist/index.cjs288.js +2 -0
  158. package/dist/index.cjs288.js.map +1 -0
  159. package/dist/index.cjs289.js +1 -1
  160. package/dist/index.cjs289.js.map +1 -1
  161. package/dist/index.cjs29.js +1 -1
  162. package/dist/index.cjs291.js +2 -0
  163. package/dist/index.cjs291.js.map +1 -0
  164. package/dist/index.cjs292.js +1 -1
  165. package/dist/index.cjs294.js +2 -0
  166. package/dist/index.cjs294.js.map +1 -0
  167. package/dist/index.cjs298.js +2 -0
  168. package/dist/index.cjs298.js.map +1 -0
  169. package/dist/index.cjs299.js +1 -1
  170. package/dist/index.cjs299.js.map +1 -1
  171. package/dist/index.cjs30.js +1 -1
  172. package/dist/index.cjs300.js +1 -1
  173. package/dist/index.cjs300.js.map +1 -1
  174. package/dist/{index.cjs304.js → index.cjs303.js} +2 -2
  175. package/dist/{index.cjs304.js.map → index.cjs303.js.map} +1 -1
  176. package/dist/index.cjs307.js +2 -0
  177. package/dist/index.cjs307.js.map +1 -0
  178. package/dist/index.cjs308.js +1 -1
  179. package/dist/index.cjs308.js.map +1 -1
  180. package/dist/index.cjs309.js +1 -1
  181. package/dist/index.cjs309.js.map +1 -1
  182. package/dist/index.cjs310.js +1 -1
  183. package/dist/index.cjs310.js.map +1 -1
  184. package/dist/index.cjs312.js +1 -1
  185. package/dist/index.cjs313.js +1 -1
  186. package/dist/index.cjs315.js +1 -1
  187. package/dist/index.cjs32.js +1 -1
  188. package/dist/index.cjs328.js +1 -1
  189. package/dist/index.cjs33.js +1 -1
  190. package/dist/index.cjs335.js +1 -1
  191. package/dist/index.cjs338.js +1 -1
  192. package/dist/index.cjs353.js +1 -1
  193. package/dist/index.cjs36.js +1 -1
  194. package/dist/index.cjs360.js +1 -1
  195. package/dist/index.cjs361.js +1 -1
  196. package/dist/index.cjs366.js +1 -1
  197. package/dist/index.cjs367.js +1 -1
  198. package/dist/index.cjs37.js +1 -1
  199. package/dist/index.cjs374.js +1 -1
  200. package/dist/index.cjs376.js +1 -1
  201. package/dist/index.cjs378.js +1 -1
  202. package/dist/index.cjs379.js +1 -1
  203. package/dist/index.cjs38.js +1 -1
  204. package/dist/index.cjs386.js +1 -1
  205. package/dist/index.cjs388.js +1 -1
  206. package/dist/index.cjs391.js +1 -1
  207. package/dist/index.cjs395.js +1 -1
  208. package/dist/index.cjs397.js +1 -1
  209. package/dist/index.cjs40.js +1 -1
  210. package/dist/index.cjs400.js +1 -1
  211. package/dist/index.cjs41.js +1 -1
  212. package/dist/index.cjs434.js +1 -1
  213. package/dist/index.cjs435.js +1 -1
  214. package/dist/index.cjs44.js +1 -1
  215. package/dist/index.cjs440.js +1 -1
  216. package/dist/index.cjs45.js +1 -1
  217. package/dist/index.cjs455.js +1 -1
  218. package/dist/index.cjs456.js +1 -1
  219. package/dist/index.cjs457.js +1 -1
  220. package/dist/index.cjs457.js.map +1 -1
  221. package/dist/index.cjs458.js +2 -1
  222. package/dist/index.cjs458.js.map +1 -1
  223. package/dist/index.cjs459.js +27 -1
  224. package/dist/index.cjs459.js.map +1 -1
  225. package/dist/index.cjs460.js +1 -2
  226. package/dist/index.cjs460.js.map +1 -1
  227. package/dist/index.cjs461.js +2 -0
  228. package/dist/index.cjs461.js.map +1 -0
  229. package/dist/index.cjs462.js +2 -0
  230. package/dist/index.cjs462.js.map +1 -0
  231. package/dist/index.cjs463.js +2 -0
  232. package/dist/index.cjs463.js.map +1 -0
  233. package/dist/index.cjs464.js +1 -1
  234. package/dist/index.cjs464.js.map +1 -1
  235. package/dist/index.cjs465.js +1 -1
  236. package/dist/index.cjs465.js.map +1 -1
  237. package/dist/index.cjs466.js +1 -1
  238. package/dist/index.cjs466.js.map +1 -1
  239. package/dist/index.cjs467.js +1 -1
  240. package/dist/index.cjs467.js.map +1 -1
  241. package/dist/index.cjs468.js +1 -27
  242. package/dist/index.cjs468.js.map +1 -1
  243. package/dist/index.cjs469.js +1 -1
  244. package/dist/index.cjs469.js.map +1 -1
  245. package/dist/index.cjs470.js +1 -1
  246. package/dist/index.cjs470.js.map +1 -1
  247. package/dist/index.cjs471.js +1 -1
  248. package/dist/index.cjs471.js.map +1 -1
  249. package/dist/index.cjs478.js +1 -1
  250. package/dist/index.cjs478.js.map +1 -1
  251. package/dist/index.cjs479.js +1 -1
  252. package/dist/index.cjs479.js.map +1 -1
  253. package/dist/index.cjs480.js +1 -1
  254. package/dist/index.cjs480.js.map +1 -1
  255. package/dist/index.cjs481.js +2 -0
  256. package/dist/index.cjs481.js.map +1 -0
  257. package/dist/{index.cjs472.js → index.cjs482.js} +2 -2
  258. package/dist/{index.cjs472.js.map → index.cjs482.js.map} +1 -1
  259. package/dist/{index.cjs473.js → index.cjs483.js} +2 -2
  260. package/dist/{index.cjs473.js.map → index.cjs483.js.map} +1 -1
  261. package/dist/index.cjs484.js +1 -1
  262. package/dist/index.cjs484.js.map +1 -1
  263. package/dist/index.cjs485.js +1 -1
  264. package/dist/index.cjs485.js.map +1 -1
  265. package/dist/index.cjs486.js +1 -1
  266. package/dist/index.cjs486.js.map +1 -1
  267. package/dist/index.cjs487.js +1 -1
  268. package/dist/index.cjs487.js.map +1 -1
  269. package/dist/index.cjs488.js +1 -1
  270. package/dist/index.cjs488.js.map +1 -1
  271. package/dist/index.cjs489.js +1 -1
  272. package/dist/index.cjs489.js.map +1 -1
  273. package/dist/index.cjs490.js +1 -1
  274. package/dist/index.cjs490.js.map +1 -1
  275. package/dist/index.cjs491.js +2 -0
  276. package/dist/index.cjs491.js.map +1 -0
  277. package/dist/index.cjs495.js +1 -1
  278. package/dist/index.cjs495.js.map +1 -1
  279. package/dist/index.cjs496.js +1 -1
  280. package/dist/index.cjs496.js.map +1 -1
  281. package/dist/index.cjs497.js +1 -1
  282. package/dist/index.cjs497.js.map +1 -1
  283. package/dist/index.cjs498.js +1 -1
  284. package/dist/index.cjs498.js.map +1 -1
  285. package/dist/index.cjs499.js +1 -1
  286. package/dist/index.cjs499.js.map +1 -1
  287. package/dist/index.cjs50.js +1 -1
  288. package/dist/index.cjs500.js +1 -1
  289. package/dist/index.cjs500.js.map +1 -1
  290. package/dist/index.cjs501.js +2 -0
  291. package/dist/index.cjs501.js.map +1 -0
  292. package/dist/index.cjs508.js +2 -0
  293. package/dist/index.cjs508.js.map +1 -0
  294. package/dist/index.cjs509.js +2 -0
  295. package/dist/index.cjs509.js.map +1 -0
  296. package/dist/index.cjs51.js +1 -1
  297. package/dist/{index.cjs516.js → index.cjs512.js} +2 -2
  298. package/dist/{index.cjs516.js.map → index.cjs512.js.map} +1 -1
  299. package/dist/{index.cjs519.js → index.cjs518.js} +1 -1
  300. package/dist/{index.cjs519.js.map → index.cjs518.js.map} +1 -1
  301. package/dist/index.cjs524.js +1 -1
  302. package/dist/index.cjs524.js.map +1 -1
  303. package/dist/index.cjs525.js +1 -1
  304. package/dist/index.cjs525.js.map +1 -1
  305. package/dist/index.cjs526.js +1 -1
  306. package/dist/index.cjs526.js.map +1 -1
  307. package/dist/index.cjs527.js +1 -1
  308. package/dist/index.cjs527.js.map +1 -1
  309. package/dist/index.cjs528.js +1 -1
  310. package/dist/index.cjs528.js.map +1 -1
  311. package/dist/index.cjs529.js +1 -1
  312. package/dist/index.cjs529.js.map +1 -1
  313. package/dist/index.cjs53.js +1 -1
  314. package/dist/index.cjs530.js +1 -1
  315. package/dist/index.cjs530.js.map +1 -1
  316. package/dist/index.cjs531.js +1 -1
  317. package/dist/index.cjs531.js.map +1 -1
  318. package/dist/index.cjs532.js +1 -1
  319. package/dist/index.cjs532.js.map +1 -1
  320. package/dist/index.cjs533.js +1 -1
  321. package/dist/index.cjs533.js.map +1 -1
  322. package/dist/index.cjs534.js +1 -1
  323. package/dist/index.cjs534.js.map +1 -1
  324. package/dist/index.cjs535.js +1 -1
  325. package/dist/index.cjs535.js.map +1 -1
  326. package/dist/index.cjs536.js +1 -1
  327. package/dist/index.cjs536.js.map +1 -1
  328. package/dist/index.cjs537.js +1 -1
  329. package/dist/index.cjs537.js.map +1 -1
  330. package/dist/index.cjs538.js +1 -1
  331. package/dist/index.cjs538.js.map +1 -1
  332. package/dist/index.cjs539.js +1 -1
  333. package/dist/index.cjs539.js.map +1 -1
  334. package/dist/index.cjs540.js +1 -1
  335. package/dist/index.cjs540.js.map +1 -1
  336. package/dist/index.cjs541.js +1 -1
  337. package/dist/index.cjs541.js.map +1 -1
  338. package/dist/index.cjs542.js +1 -1
  339. package/dist/index.cjs542.js.map +1 -1
  340. package/dist/index.cjs543.js +1 -1
  341. package/dist/index.cjs543.js.map +1 -1
  342. package/dist/index.cjs544.js +1 -1
  343. package/dist/index.cjs544.js.map +1 -1
  344. package/dist/index.cjs545.js +1 -1
  345. package/dist/index.cjs545.js.map +1 -1
  346. package/dist/index.cjs546.js +1 -1
  347. package/dist/index.cjs546.js.map +1 -1
  348. package/dist/index.cjs547.js +1 -1
  349. package/dist/index.cjs547.js.map +1 -1
  350. package/dist/index.cjs548.js +1 -1
  351. package/dist/index.cjs548.js.map +1 -1
  352. package/dist/index.cjs549.js +1 -1
  353. package/dist/index.cjs549.js.map +1 -1
  354. package/dist/index.cjs55.js +1 -1
  355. package/dist/index.cjs550.js +1 -1
  356. package/dist/index.cjs550.js.map +1 -1
  357. package/dist/index.cjs551.js +1 -1
  358. package/dist/index.cjs551.js.map +1 -1
  359. package/dist/index.cjs552.js +1 -1
  360. package/dist/index.cjs552.js.map +1 -1
  361. package/dist/index.cjs553.js +1 -1
  362. package/dist/index.cjs553.js.map +1 -1
  363. package/dist/index.cjs554.js +1 -1
  364. package/dist/index.cjs554.js.map +1 -1
  365. package/dist/index.cjs555.js +1 -1
  366. package/dist/index.cjs555.js.map +1 -1
  367. package/dist/index.cjs556.js +1 -1
  368. package/dist/index.cjs556.js.map +1 -1
  369. package/dist/index.cjs557.js +1 -1
  370. package/dist/index.cjs557.js.map +1 -1
  371. package/dist/index.cjs558.js +1 -1
  372. package/dist/index.cjs558.js.map +1 -1
  373. package/dist/index.cjs559.js +1 -1
  374. package/dist/index.cjs559.js.map +1 -1
  375. package/dist/index.cjs560.js +1 -1
  376. package/dist/index.cjs560.js.map +1 -1
  377. package/dist/index.cjs561.js +1 -1
  378. package/dist/index.cjs561.js.map +1 -1
  379. package/dist/index.cjs562.js +1 -1
  380. package/dist/index.cjs562.js.map +1 -1
  381. package/dist/index.cjs563.js +1 -1
  382. package/dist/index.cjs563.js.map +1 -1
  383. package/dist/index.cjs564.js +1 -1
  384. package/dist/index.cjs564.js.map +1 -1
  385. package/dist/index.cjs566.js +1 -1
  386. package/dist/index.cjs566.js.map +1 -1
  387. package/dist/index.cjs568.js +1 -1
  388. package/dist/index.cjs57.js +1 -1
  389. package/dist/index.cjs570.js +1 -1
  390. package/dist/index.cjs571.js +1 -1
  391. package/dist/index.cjs58.js +1 -1
  392. package/dist/index.cjs6.js +1 -1
  393. package/dist/index.cjs60.js +1 -1
  394. package/dist/index.cjs61.js +1 -1
  395. package/dist/index.cjs613.js +1 -1
  396. package/dist/index.cjs614.js +1 -1
  397. package/dist/index.cjs615.js +1 -1
  398. package/dist/index.cjs616.js +1 -1
  399. package/dist/index.cjs617.js +1 -1
  400. package/dist/index.cjs62.js +1 -1
  401. package/dist/index.cjs622.js +1 -1
  402. package/dist/index.cjs626.js +1 -1
  403. package/dist/index.cjs627.js +1 -1
  404. package/dist/index.cjs63.js +1 -1
  405. package/dist/index.cjs634.js +1 -1
  406. package/dist/index.cjs639.js +1 -1
  407. package/dist/index.cjs641.js +1 -1
  408. package/dist/index.cjs643.js +1 -1
  409. package/dist/index.cjs645.js +1 -1
  410. package/dist/index.cjs65.js +1 -1
  411. package/dist/index.cjs66.js +1 -1
  412. package/dist/index.cjs660.js +1 -38
  413. package/dist/index.cjs660.js.map +1 -1
  414. package/dist/index.cjs661.js +38 -1
  415. package/dist/index.cjs661.js.map +1 -1
  416. package/dist/index.cjs662.js +1 -1
  417. package/dist/index.cjs662.js.map +1 -1
  418. package/dist/index.cjs663.js +1 -1
  419. package/dist/index.cjs663.js.map +1 -1
  420. package/dist/index.cjs664.js +1 -1
  421. package/dist/index.cjs664.js.map +1 -1
  422. package/dist/index.cjs665.js +1 -1
  423. package/dist/index.cjs665.js.map +1 -1
  424. package/dist/index.cjs666.js +1 -1
  425. package/dist/index.cjs666.js.map +1 -1
  426. package/dist/index.cjs667.js +1 -1
  427. package/dist/index.cjs667.js.map +1 -1
  428. package/dist/index.cjs668.js +1 -1
  429. package/dist/index.cjs668.js.map +1 -1
  430. package/dist/index.cjs67.js +1 -1
  431. package/dist/index.cjs673.js +1 -1
  432. package/dist/index.cjs673.js.map +1 -1
  433. package/dist/index.cjs674.js +1 -1
  434. package/dist/index.cjs674.js.map +1 -1
  435. package/dist/index.cjs675.js +1 -1
  436. package/dist/index.cjs675.js.map +1 -1
  437. package/dist/index.cjs676.js +1 -1
  438. package/dist/index.cjs676.js.map +1 -1
  439. package/dist/index.cjs68.js +1 -1
  440. package/dist/index.cjs69.js +1 -1
  441. package/dist/index.cjs71.js +1 -1
  442. package/dist/index.cjs72.js +1 -1
  443. package/dist/index.cjs73.js +1 -1
  444. package/dist/index.cjs74.js +1 -1
  445. package/dist/index.cjs78.js +1 -1
  446. package/dist/index.cjs79.js +1 -1
  447. package/dist/index.cjs8.js +1 -1
  448. package/dist/index.cjs80.js +1 -1
  449. package/dist/index.cjs81.js +1 -1
  450. package/dist/index.cjs83.js +1 -1
  451. package/dist/index.cjs85.js +1 -1
  452. package/dist/index.cjs86.js +1 -1
  453. package/dist/index.cjs87.js +1 -1
  454. package/dist/index.cjs88.js +1 -1
  455. package/dist/index.cjs89.js +1 -1
  456. package/dist/index.cjs9.js +1 -1
  457. package/dist/index.cjs90.js +1 -1
  458. package/dist/index.cjs91.js +1 -1
  459. package/dist/index.cjs92.js +1 -1
  460. package/dist/index.cjs93.js +1 -1
  461. package/dist/index.cjs95.js +1 -1
  462. package/dist/index.cjs96.js +1 -1
  463. package/dist/index.cjs97.js +1 -1
  464. package/dist/index.cjs99.js +1 -1
  465. package/dist/index.cjs99.js.map +1 -1
  466. package/dist/index.d.ts +1 -0
  467. package/dist/index.es10.js +1 -1
  468. package/dist/index.es103.js +1 -1
  469. package/dist/index.es104.js +1 -1
  470. package/dist/index.es105.js +1 -1
  471. package/dist/index.es11.js +1 -1
  472. package/dist/index.es112.js +1 -1
  473. package/dist/index.es113.js +1 -1
  474. package/dist/index.es114.js +1 -1
  475. package/dist/index.es115.js +1 -1
  476. package/dist/index.es116.js +2 -2
  477. package/dist/index.es117.js +1 -1
  478. package/dist/index.es118.js +1 -1
  479. package/dist/index.es119.js +2 -2
  480. package/dist/index.es12.js +1 -1
  481. package/dist/index.es120.js +1 -1
  482. package/dist/index.es121.js +2 -2
  483. package/dist/index.es123.js +1 -1
  484. package/dist/index.es125.js +1 -1
  485. package/dist/index.es126.js +1 -1
  486. package/dist/index.es129.js +1 -1
  487. package/dist/index.es13.js +1 -1
  488. package/dist/index.es130.js +1 -1
  489. package/dist/index.es131.js +2 -2
  490. package/dist/index.es133.js +1 -1
  491. package/dist/index.es134.js +1 -1
  492. package/dist/index.es136.js +1 -1
  493. package/dist/index.es137.js +1 -1
  494. package/dist/index.es138.js +1 -1
  495. package/dist/index.es141.js +2 -2
  496. package/dist/index.es142.js +1 -1
  497. package/dist/index.es143.js +1 -1
  498. package/dist/index.es144.js +2 -2
  499. package/dist/index.es145.js +1 -1
  500. package/dist/index.es148.js +2 -2
  501. package/dist/index.es15.js +2 -2
  502. package/dist/index.es150.js +1 -1
  503. package/dist/index.es152.js +1 -1
  504. package/dist/index.es153.js +7 -7
  505. package/dist/index.es154.js +1 -1
  506. package/dist/index.es155.js +1 -1
  507. package/dist/index.es159.js +1 -1
  508. package/dist/index.es16.js +1 -1
  509. package/dist/index.es160.js +1 -1
  510. package/dist/index.es161.js +1 -1
  511. package/dist/index.es162.js +1 -1
  512. package/dist/index.es163.js +2 -2
  513. package/dist/index.es164.js +2 -2
  514. package/dist/index.es165.js +2 -2
  515. package/dist/index.es166.js +2 -2
  516. package/dist/index.es167.js +2 -2
  517. package/dist/index.es168.js +2 -2
  518. package/dist/index.es169.js +2 -2
  519. package/dist/index.es17.js +2 -2
  520. package/dist/index.es170.js +2 -2
  521. package/dist/index.es171.js +2 -2
  522. package/dist/index.es172.js +2 -2
  523. package/dist/index.es173.js +2 -2
  524. package/dist/index.es174.js +2 -2
  525. package/dist/index.es175.js +2 -2
  526. package/dist/index.es176.js +2 -2
  527. package/dist/index.es177.js +2 -2
  528. package/dist/index.es178.js +2 -2
  529. package/dist/index.es179.js +2 -2
  530. package/dist/index.es18.js +2 -2
  531. package/dist/index.es180.js +2 -2
  532. package/dist/index.es181.js +2 -2
  533. package/dist/index.es182.js +2 -2
  534. package/dist/index.es183.js +2 -2
  535. package/dist/index.es184.js +1 -1
  536. package/dist/index.es185.js +2 -2
  537. package/dist/index.es186.js +2 -2
  538. package/dist/index.es187.js +2 -2
  539. package/dist/index.es188.js +2 -2
  540. package/dist/index.es189.js +2 -2
  541. package/dist/index.es190.js +2 -2
  542. package/dist/index.es191.js +2 -2
  543. package/dist/index.es192.js +2 -2
  544. package/dist/index.es193.js +2 -2
  545. package/dist/index.es195.js +1 -1
  546. package/dist/index.es196.js +2 -2
  547. package/dist/index.es197.js +2 -2
  548. package/dist/index.es198.js +2 -2
  549. package/dist/index.es20.js +1 -1
  550. package/dist/index.es200.js +2 -2
  551. package/dist/index.es201.js +2 -2
  552. package/dist/index.es202.js +2 -2
  553. package/dist/index.es203.js +2 -2
  554. package/dist/index.es204.js +2 -2
  555. package/dist/index.es205.js +2 -2
  556. package/dist/index.es206.js +2 -2
  557. package/dist/index.es207.js +2 -2
  558. package/dist/index.es208.js +2 -2
  559. package/dist/index.es209.js +2 -2
  560. package/dist/index.es21.js +4 -4
  561. package/dist/index.es211.js +1 -1
  562. package/dist/index.es212.js +2 -2
  563. package/dist/index.es213.js +2 -2
  564. package/dist/index.es215.js +2 -2
  565. package/dist/index.es216.js +2 -2
  566. package/dist/index.es217.js +2 -2
  567. package/dist/index.es218.js +2 -2
  568. package/dist/index.es219.js +2 -2
  569. package/dist/index.es22.js +1 -1
  570. package/dist/index.es220.js +2 -2
  571. package/dist/index.es221.js +2 -2
  572. package/dist/index.es222.js +2 -2
  573. package/dist/index.es224.js +2 -2
  574. package/dist/index.es225.js +2 -2
  575. package/dist/index.es226.js +1 -1
  576. package/dist/index.es227.js +1 -1
  577. package/dist/index.es228.js +1 -1
  578. package/dist/index.es229.js +2 -2
  579. package/dist/index.es230.js +2 -2
  580. package/dist/index.es231.js +2 -2
  581. package/dist/index.es233.js +2 -2
  582. package/dist/index.es235.js +2 -2
  583. package/dist/index.es236.js +2 -2
  584. package/dist/index.es239.js +15 -2
  585. package/dist/index.es239.js.map +1 -1
  586. package/dist/index.es24.js +1 -1
  587. package/dist/index.es240.js +6 -0
  588. package/dist/index.es240.js.map +1 -0
  589. package/dist/index.es248.js +8 -0
  590. package/dist/index.es248.js.map +1 -0
  591. package/dist/index.es249.js +59 -5
  592. package/dist/index.es249.js.map +1 -1
  593. package/dist/index.es253.js +12 -0
  594. package/dist/index.es253.js.map +1 -0
  595. package/dist/index.es254.js +57 -9
  596. package/dist/index.es254.js.map +1 -1
  597. package/dist/index.es255.js +5 -57
  598. package/dist/index.es255.js.map +1 -1
  599. package/dist/index.es259.js +128 -0
  600. package/dist/index.es259.js.map +1 -0
  601. package/dist/index.es260.js +206 -106
  602. package/dist/index.es260.js.map +1 -1
  603. package/dist/index.es261.js +173 -209
  604. package/dist/index.es261.js.map +1 -1
  605. package/dist/index.es262.js +231 -180
  606. package/dist/index.es262.js.map +1 -1
  607. package/dist/{index.es266.js → index.es265.js} +1 -1
  608. package/dist/{index.es266.js.map → index.es265.js.map} +1 -1
  609. package/dist/index.es27.js +5 -5
  610. package/dist/{index.es271.js → index.es270.js} +1 -1
  611. package/dist/{index.es271.js.map → index.es270.js.map} +1 -1
  612. package/dist/{index.es275.js → index.es274.js} +2 -2
  613. package/dist/{index.es275.js.map → index.es274.js.map} +1 -1
  614. package/dist/index.es278.js +146 -0
  615. package/dist/index.es278.js.map +1 -0
  616. package/dist/index.es279.js +137 -128
  617. package/dist/index.es279.js.map +1 -1
  618. package/dist/index.es28.js +2 -2
  619. package/dist/index.es280.js +27 -151
  620. package/dist/index.es280.js.map +1 -1
  621. package/dist/{index.es287.js → index.es286.js} +3 -3
  622. package/dist/{index.es287.js.map → index.es286.js.map} +1 -1
  623. package/dist/index.es288.js +12 -0
  624. package/dist/index.es288.js.map +1 -0
  625. package/dist/index.es289.js +28 -8
  626. package/dist/index.es289.js.map +1 -1
  627. package/dist/index.es29.js +1 -1
  628. package/dist/index.es291.js +6 -0
  629. package/dist/index.es291.js.map +1 -0
  630. package/dist/index.es292.js +2 -2
  631. package/dist/index.es294.js +2 -0
  632. package/dist/index.es294.js.map +1 -0
  633. package/dist/index.es298.js +29 -0
  634. package/dist/index.es298.js.map +1 -0
  635. package/dist/index.es299.js +17 -26
  636. package/dist/index.es299.js.map +1 -1
  637. package/dist/index.es30.js +1 -1
  638. package/dist/index.es300.js +4 -17
  639. package/dist/index.es300.js.map +1 -1
  640. package/dist/{index.es304.js → index.es303.js} +5 -5
  641. package/dist/{index.es304.js.map → index.es303.js.map} +1 -1
  642. package/dist/index.es307.js +6 -0
  643. package/dist/index.es307.js.map +1 -0
  644. package/dist/index.es308.js +21 -3
  645. package/dist/index.es308.js.map +1 -1
  646. package/dist/index.es309.js +5 -20
  647. package/dist/index.es309.js.map +1 -1
  648. package/dist/index.es310.js +2 -6
  649. package/dist/index.es310.js.map +1 -1
  650. package/dist/index.es312.js +14 -14
  651. package/dist/index.es313.js +1 -1
  652. package/dist/index.es315.js +1 -1
  653. package/dist/index.es32.js +2 -2
  654. package/dist/index.es328.js +1 -1
  655. package/dist/index.es33.js +1 -1
  656. package/dist/index.es335.js +1 -1
  657. package/dist/index.es338.js +8 -8
  658. package/dist/index.es353.js +1 -1
  659. package/dist/index.es36.js +1 -1
  660. package/dist/index.es360.js +1 -1
  661. package/dist/index.es361.js +2 -2
  662. package/dist/index.es366.js +1 -1
  663. package/dist/index.es367.js +1 -1
  664. package/dist/index.es37.js +1 -1
  665. package/dist/index.es374.js +2 -2
  666. package/dist/index.es376.js +1 -1
  667. package/dist/index.es378.js +1 -1
  668. package/dist/index.es379.js +1 -1
  669. package/dist/index.es38.js +1 -1
  670. package/dist/index.es386.js +1 -1
  671. package/dist/index.es388.js +7 -7
  672. package/dist/index.es391.js +2 -2
  673. package/dist/index.es395.js +2 -2
  674. package/dist/index.es397.js +1 -1
  675. package/dist/index.es40.js +1 -1
  676. package/dist/index.es400.js +2 -2
  677. package/dist/index.es41.js +1 -1
  678. package/dist/index.es434.js +2 -2
  679. package/dist/index.es435.js +2 -2
  680. package/dist/index.es44.js +2 -2
  681. package/dist/index.es440.js +7 -7
  682. package/dist/index.es45.js +1 -1
  683. package/dist/index.es455.js +1 -1
  684. package/dist/index.es456.js +1 -1
  685. package/dist/index.es457.js +6 -2
  686. package/dist/index.es457.js.map +1 -1
  687. package/dist/index.es458.js +537 -2
  688. package/dist/index.es458.js.map +1 -1
  689. package/dist/index.es459.js +3674 -5
  690. package/dist/index.es459.js.map +1 -1
  691. package/dist/index.es460.js +5 -536
  692. package/dist/index.es460.js.map +1 -1
  693. package/dist/index.es461.js +5 -0
  694. package/dist/index.es461.js.map +1 -0
  695. package/dist/index.es462.js +2037 -0
  696. package/dist/index.es462.js.map +1 -0
  697. package/dist/index.es463.js +63 -0
  698. package/dist/index.es463.js.map +1 -0
  699. package/dist/index.es464.js +186 -64
  700. package/dist/index.es464.js.map +1 -1
  701. package/dist/index.es465.js +2 -27
  702. package/dist/index.es465.js.map +1 -1
  703. package/dist/index.es466.js +2 -7
  704. package/dist/index.es466.js.map +1 -1
  705. package/dist/index.es467.js +8 -55
  706. package/dist/index.es467.js.map +1 -1
  707. package/dist/index.es468.js +182 -3673
  708. package/dist/index.es468.js.map +1 -1
  709. package/dist/index.es469.js +3 -5
  710. package/dist/index.es469.js.map +1 -1
  711. package/dist/index.es470.js +133 -2
  712. package/dist/index.es470.js.map +1 -1
  713. package/dist/index.es471.js +15 -11
  714. package/dist/index.es471.js.map +1 -1
  715. package/dist/index.es478.js +6 -14
  716. package/dist/index.es478.js.map +1 -1
  717. package/dist/index.es479.js +27 -9
  718. package/dist/index.es479.js.map +1 -1
  719. package/dist/index.es480.js +65 -47
  720. package/dist/index.es480.js.map +1 -1
  721. package/dist/index.es481.js +14 -0
  722. package/dist/index.es481.js.map +1 -0
  723. package/dist/{index.es472.js → index.es482.js} +2 -2
  724. package/dist/{index.es472.js.map → index.es482.js.map} +1 -1
  725. package/dist/{index.es473.js → index.es483.js} +6 -6
  726. package/dist/{index.es473.js.map → index.es483.js.map} +1 -1
  727. package/dist/index.es484.js +134 -20
  728. package/dist/index.es484.js.map +1 -1
  729. package/dist/index.es485.js +14 -2
  730. package/dist/index.es485.js.map +1 -1
  731. package/dist/index.es486.js +68 -54
  732. package/dist/index.es486.js.map +1 -1
  733. package/dist/index.es487.js +33 -212
  734. package/dist/index.es487.js.map +1 -1
  735. package/dist/index.es488.js +14 -73
  736. package/dist/index.es488.js.map +1 -1
  737. package/dist/index.es489.js +9 -2
  738. package/dist/index.es489.js.map +1 -1
  739. package/dist/index.es490.js +49 -14
  740. package/dist/index.es490.js.map +1 -1
  741. package/dist/index.es491.js +60 -0
  742. package/dist/index.es491.js.map +1 -0
  743. package/dist/index.es495.js +19 -2032
  744. package/dist/index.es495.js.map +1 -1
  745. package/dist/index.es496.js +2 -60
  746. package/dist/index.es496.js.map +1 -1
  747. package/dist/index.es497.js +54 -189
  748. package/dist/index.es497.js.map +1 -1
  749. package/dist/index.es498.js +212 -14
  750. package/dist/index.es498.js.map +1 -1
  751. package/dist/index.es499.js +73 -5
  752. package/dist/index.es499.js.map +1 -1
  753. package/dist/index.es50.js +1 -1
  754. package/dist/index.es500.js +2 -25
  755. package/dist/index.es500.js.map +1 -1
  756. package/dist/index.es501.js +18 -0
  757. package/dist/index.es501.js.map +1 -0
  758. package/dist/index.es508.js +9 -0
  759. package/dist/index.es508.js.map +1 -0
  760. package/dist/index.es509.js +28 -0
  761. package/dist/index.es509.js.map +1 -0
  762. package/dist/index.es51.js +1 -1
  763. package/dist/{index.es516.js → index.es512.js} +14 -14
  764. package/dist/{index.es516.js.map → index.es512.js.map} +1 -1
  765. package/dist/{index.es519.js → index.es518.js} +1 -1
  766. package/dist/{index.es519.js.map → index.es518.js.map} +1 -1
  767. package/dist/index.es524.js +2 -14
  768. package/dist/index.es524.js.map +1 -1
  769. package/dist/index.es525.js +5 -5
  770. package/dist/index.es525.js.map +1 -1
  771. package/dist/index.es526.js +12 -4
  772. package/dist/index.es526.js.map +1 -1
  773. package/dist/index.es527.js +3 -3
  774. package/dist/index.es527.js.map +1 -1
  775. package/dist/index.es528.js +3 -3
  776. package/dist/index.es528.js.map +1 -1
  777. package/dist/index.es529.js +3 -3
  778. package/dist/index.es529.js.map +1 -1
  779. package/dist/index.es53.js +1 -1
  780. package/dist/index.es530.js +3 -3
  781. package/dist/index.es530.js.map +1 -1
  782. package/dist/index.es531.js +3 -3
  783. package/dist/index.es531.js.map +1 -1
  784. package/dist/index.es532.js +1 -1
  785. package/dist/index.es532.js.map +1 -1
  786. package/dist/index.es533.js +3 -3
  787. package/dist/index.es533.js.map +1 -1
  788. package/dist/index.es534.js +3 -3
  789. package/dist/index.es534.js.map +1 -1
  790. package/dist/index.es535.js +3 -3
  791. package/dist/index.es535.js.map +1 -1
  792. package/dist/index.es536.js +3 -3
  793. package/dist/index.es536.js.map +1 -1
  794. package/dist/index.es537.js +3 -3
  795. package/dist/index.es537.js.map +1 -1
  796. package/dist/index.es538.js +1 -1
  797. package/dist/index.es538.js.map +1 -1
  798. package/dist/index.es539.js +3 -3
  799. package/dist/index.es539.js.map +1 -1
  800. package/dist/index.es540.js +4 -8
  801. package/dist/index.es540.js.map +1 -1
  802. package/dist/index.es541.js +5 -5
  803. package/dist/index.es541.js.map +1 -1
  804. package/dist/index.es542.js +8 -4
  805. package/dist/index.es542.js.map +1 -1
  806. package/dist/index.es543.js +3 -3
  807. package/dist/index.es543.js.map +1 -1
  808. package/dist/index.es544.js +1 -1
  809. package/dist/index.es544.js.map +1 -1
  810. package/dist/index.es545.js +3 -3
  811. package/dist/index.es545.js.map +1 -1
  812. package/dist/index.es546.js +5 -10
  813. package/dist/index.es546.js.map +1 -1
  814. package/dist/index.es547.js +3 -3
  815. package/dist/index.es547.js.map +1 -1
  816. package/dist/index.es548.js +10 -5
  817. package/dist/index.es548.js.map +1 -1
  818. package/dist/index.es549.js +3 -3
  819. package/dist/index.es549.js.map +1 -1
  820. package/dist/index.es55.js +1 -1
  821. package/dist/index.es550.js +1 -1
  822. package/dist/index.es550.js.map +1 -1
  823. package/dist/index.es551.js +3 -3
  824. package/dist/index.es551.js.map +1 -1
  825. package/dist/index.es552.js +3 -3
  826. package/dist/index.es552.js.map +1 -1
  827. package/dist/index.es553.js +4 -10
  828. package/dist/index.es553.js.map +1 -1
  829. package/dist/index.es554.js +3 -3
  830. package/dist/index.es554.js.map +1 -1
  831. package/dist/index.es555.js +10 -4
  832. package/dist/index.es555.js.map +1 -1
  833. package/dist/index.es556.js +5 -8
  834. package/dist/index.es556.js.map +1 -1
  835. package/dist/index.es557.js +4 -15
  836. package/dist/index.es557.js.map +1 -1
  837. package/dist/index.es558.js +8 -10
  838. package/dist/index.es558.js.map +1 -1
  839. package/dist/index.es559.js +17 -2
  840. package/dist/index.es559.js.map +1 -1
  841. package/dist/index.es560.js +11 -34
  842. package/dist/index.es560.js.map +1 -1
  843. package/dist/index.es561.js +2 -4
  844. package/dist/index.es561.js.map +1 -1
  845. package/dist/index.es562.js +4 -11
  846. package/dist/index.es562.js.map +1 -1
  847. package/dist/index.es563.js +9 -10
  848. package/dist/index.es563.js.map +1 -1
  849. package/dist/index.es564.js +11 -9
  850. package/dist/index.es564.js.map +1 -1
  851. package/dist/index.es566.js +34 -4
  852. package/dist/index.es566.js.map +1 -1
  853. package/dist/index.es568.js +3 -3
  854. package/dist/index.es57.js +3 -3
  855. package/dist/index.es570.js +6 -6
  856. package/dist/index.es571.js +7 -7
  857. package/dist/index.es58.js +1 -1
  858. package/dist/index.es6.js +2 -2
  859. package/dist/index.es60.js +2 -2
  860. package/dist/index.es61.js +2 -2
  861. package/dist/index.es613.js +1 -1
  862. package/dist/index.es614.js +3 -3
  863. package/dist/index.es615.js +1 -1
  864. package/dist/index.es616.js +1 -1
  865. package/dist/index.es617.js +1 -1
  866. package/dist/index.es62.js +1 -1
  867. package/dist/index.es622.js +1 -1
  868. package/dist/index.es626.js +1 -1
  869. package/dist/index.es627.js +14 -14
  870. package/dist/index.es63.js +1 -1
  871. package/dist/index.es634.js +8 -8
  872. package/dist/index.es639.js +7 -7
  873. package/dist/index.es641.js +1 -1
  874. package/dist/index.es643.js +1 -1
  875. package/dist/index.es645.js +4 -4
  876. package/dist/index.es65.js +1 -1
  877. package/dist/index.es66.js +2 -2
  878. package/dist/index.es660.js +65 -69
  879. package/dist/index.es660.js.map +1 -1
  880. package/dist/index.es661.js +68 -8
  881. package/dist/index.es661.js.map +1 -1
  882. package/dist/index.es662.js +9 -14
  883. package/dist/index.es662.js.map +1 -1
  884. package/dist/index.es663.js +14 -66
  885. package/dist/index.es663.js.map +1 -1
  886. package/dist/index.es664.js +65 -64
  887. package/dist/index.es664.js.map +1 -1
  888. package/dist/index.es665.js +524 -3
  889. package/dist/index.es665.js.map +1 -1
  890. package/dist/index.es666.js +114 -511
  891. package/dist/index.es666.js.map +1 -1
  892. package/dist/index.es667.js +117 -111
  893. package/dist/index.es667.js.map +1 -1
  894. package/dist/index.es668.js +3 -133
  895. package/dist/index.es668.js.map +1 -1
  896. package/dist/index.es67.js +1 -1
  897. package/dist/index.es673.js +11 -21
  898. package/dist/index.es673.js.map +1 -1
  899. package/dist/index.es674.js +26 -11
  900. package/dist/index.es674.js.map +1 -1
  901. package/dist/index.es675.js +4 -27
  902. package/dist/index.es675.js.map +1 -1
  903. package/dist/index.es676.js +22 -4
  904. package/dist/index.es676.js.map +1 -1
  905. package/dist/index.es68.js +1 -1
  906. package/dist/index.es69.js +1 -1
  907. package/dist/index.es71.js +1 -1
  908. package/dist/index.es72.js +2 -2
  909. package/dist/index.es73.js +1 -1
  910. package/dist/index.es74.js +2 -2
  911. package/dist/index.es78.js +1 -1
  912. package/dist/index.es79.js +1 -1
  913. package/dist/index.es8.js +1 -1
  914. package/dist/index.es80.js +2 -2
  915. package/dist/index.es81.js +1 -1
  916. package/dist/index.es83.js +1 -1
  917. package/dist/index.es85.js +1 -1
  918. package/dist/index.es86.js +1 -1
  919. package/dist/index.es87.js +1 -1
  920. package/dist/index.es88.js +1 -1
  921. package/dist/index.es89.js +1 -1
  922. package/dist/index.es9.js +3 -3
  923. package/dist/index.es90.js +2 -2
  924. package/dist/index.es91.js +1 -1
  925. package/dist/index.es92.js +1 -1
  926. package/dist/index.es93.js +2 -2
  927. package/dist/index.es95.js +1 -1
  928. package/dist/index.es96.js +1 -1
  929. package/dist/index.es97.js +1 -1
  930. package/dist/index.es99.js +63 -54
  931. package/dist/index.es99.js.map +1 -1
  932. package/package.json +1 -1
  933. package/dist/index.cjs238.js +0 -2
  934. package/dist/index.cjs238.js.map +0 -1
  935. package/dist/index.cjs241.js +0 -2
  936. package/dist/index.cjs241.js.map +0 -1
  937. package/dist/index.cjs250.js +0 -7
  938. package/dist/index.cjs250.js.map +0 -1
  939. package/dist/index.cjs256.js +0 -2
  940. package/dist/index.cjs256.js.map +0 -1
  941. package/dist/index.cjs263.js +0 -2
  942. package/dist/index.cjs263.js.map +0 -1
  943. package/dist/index.cjs281.js +0 -2
  944. package/dist/index.cjs281.js.map +0 -1
  945. package/dist/index.cjs290.js +0 -2
  946. package/dist/index.cjs290.js.map +0 -1
  947. package/dist/index.cjs293.js +0 -2
  948. package/dist/index.cjs293.js.map +0 -1
  949. package/dist/index.cjs295.js +0 -2
  950. package/dist/index.cjs295.js.map +0 -1
  951. package/dist/index.cjs301.js +0 -2
  952. package/dist/index.cjs301.js.map +0 -1
  953. package/dist/index.cjs474.js +0 -2
  954. package/dist/index.cjs474.js.map +0 -1
  955. package/dist/index.cjs475.js +0 -2
  956. package/dist/index.cjs475.js.map +0 -1
  957. package/dist/index.cjs476.js +0 -2
  958. package/dist/index.cjs476.js.map +0 -1
  959. package/dist/index.cjs477.js +0 -2
  960. package/dist/index.cjs477.js.map +0 -1
  961. package/dist/index.cjs522.js +0 -2
  962. package/dist/index.cjs522.js.map +0 -1
  963. package/dist/index.cjs523.js +0 -2
  964. package/dist/index.cjs523.js.map +0 -1
  965. package/dist/index.cjs565.js +0 -2
  966. package/dist/index.cjs565.js.map +0 -1
  967. package/dist/index.cjs567.js +0 -2
  968. package/dist/index.cjs567.js.map +0 -1
  969. package/dist/index.es238.js +0 -18
  970. package/dist/index.es238.js.map +0 -1
  971. package/dist/index.es241.js +0 -6
  972. package/dist/index.es241.js.map +0 -1
  973. package/dist/index.es250.js +0 -62
  974. package/dist/index.es250.js.map +0 -1
  975. package/dist/index.es256.js +0 -8
  976. package/dist/index.es256.js.map +0 -1
  977. package/dist/index.es263.js +0 -243
  978. package/dist/index.es263.js.map +0 -1
  979. package/dist/index.es281.js +0 -31
  980. package/dist/index.es281.js.map +0 -1
  981. package/dist/index.es290.js +0 -32
  982. package/dist/index.es290.js.map +0 -1
  983. package/dist/index.es293.js +0 -6
  984. package/dist/index.es293.js.map +0 -1
  985. package/dist/index.es295.js +0 -2
  986. package/dist/index.es295.js.map +0 -1
  987. package/dist/index.es301.js +0 -7
  988. package/dist/index.es301.js.map +0 -1
  989. package/dist/index.es474.js +0 -138
  990. package/dist/index.es474.js.map +0 -1
  991. package/dist/index.es475.js +0 -17
  992. package/dist/index.es475.js.map +0 -1
  993. package/dist/index.es476.js +0 -72
  994. package/dist/index.es476.js.map +0 -1
  995. package/dist/index.es477.js +0 -37
  996. package/dist/index.es477.js.map +0 -1
  997. package/dist/index.es522.js +0 -5
  998. package/dist/index.es522.js.map +0 -1
  999. package/dist/index.es523.js +0 -9
  1000. package/dist/index.es523.js.map +0 -1
  1001. package/dist/index.es565.js +0 -187
  1002. package/dist/index.es565.js.map +0 -1
  1003. package/dist/index.es567.js +0 -136
  1004. package/dist/index.es567.js.map +0 -1
  1005. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
  1006. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
  1007. /package/dist/components/ui/{DoctorModal/DoctorModal.css → CreateReservationModal/CreateReservationModal.css} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}exports.commonjsGlobal=o;exports.getDefaultExportFromCjs=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}exports.c=r;
2
2
  //# sourceMappingURL=index.cjs469.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs469.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs469.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/()[\\]])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"gFAAA,SAASA,EAAkBC,EAAS,CAClC,OAAIA,IAAY,SACdA,EAAU,IAEL,IAAIA,EAAQ,KAAI,EAAG,QAAQ,oBAAqB,MAAM,EAC5D,QAAQ,KAAM,GAAG,CAAC,EACrB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function o(e,n){e===void 0&&(e={}),n===void 0&&(n={});const u=["__proto__","constructor","prototype"];Object.keys(n).filter(t=>u.indexOf(t)<0).forEach(t=>{typeof e[t]>"u"?e[t]=n[t]:r(n[t])&&r(e[t])&&Object.keys(n[t]).length>0&&o(e[t],n[t])})}const i={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function c(){const e=typeof document<"u"?document:{};return o(e,i),e}const s={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function d(){const e=typeof window<"u"?window:{};return o(e,s),e}exports.a=d;exports.g=c;
2
2
  //# sourceMappingURL=index.cjs470.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs470.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs470.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.1\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: June 27, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"gFAYA,SAASA,EAASC,EAAK,CACrB,OAAOA,IAAQ,MAAQ,OAAOA,GAAQ,UAAY,gBAAiBA,GAAOA,EAAI,cAAgB,MAChG,CACA,SAASC,EAAOC,EAAQC,EAAK,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ACN,KAAM,GACN,SAAU,GACV,KAAM,GACN,OAAQ,GACR,SAAU,GACV,SAAU,GACV,OAAQ,EACZ,EACE,QAAS,CACP,cAAe,CAAC,EAChB,WAAY,CAAC,EACb,IAAK,CAAC,EACN,MAAO,CAAC,CACZ,EACE,YAAa,UAAuB,CAClC,OAAO,IACT,EACA,kBAAmB,CAAC,EACpB,qBAAsB,CAAC,EACvB,kBAAmB,CACjB,MAAO,CACL,kBAAmB,CACjB,MAAO,EACT,CACN,CACE,EACA,OAAQ,CAAC,EACT,MAAO,CAAC,EACR,OAAQ,CAAA,EACR,YAAa,CAAC,EACd,cAAe,CAAC,EAChB,YAAa,CACX,MAAO,CAAA,CACT,EACA,sBAAsBI,EAAU,CAC9B,OAAI,OAAO,WAAe,KACxBA,EAAQ,EACD,MAEF,WAAWA,EAAU,CAAC,CAC/B,EACA,qBAAqBC,EAAI,CACnB,OAAO,WAAe,KAG1B,aAAaA,CAAE,CACjB,CACF,EACA,SAASC,GAAY,CACnB,MAAMC,EAAM,OAAO,OAAW,IAAc,OAAS,CAAA,EACrD,OAAAZ,EAAOY,EAAKJ,CAAS,EACdI,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs561.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),l=(t,n)=>{a.useEffect(()=>{if(!n||!t.current)return;const o=t.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),u=o[0],s=o[o.length-1],r=e=>{e.key==="Tab"&&(e.shiftKey?document.activeElement===u&&(s.focus(),e.preventDefault()):document.activeElement===s&&(u.focus(),e.preventDefault()))},c=document.activeElement;return u.focus(),document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n&&(c==null||c.focus())}},[n,t])};exports.useFocusTrap=l;
2
2
  //# sourceMappingURL=index.cjs471.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs471.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,UAAU,KAAI,EAAG,SAAQ,CAAE,IAAM,IAAA,IACpDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACED,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACrE,EAAG,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs471.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":"yGAEaA,EAAe,CAC1BC,EACAC,IACG,CACHC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACD,GAAY,CAACD,EAAI,QAAS,OAE/B,MAAMG,EAAoBH,EAAI,QAAQ,iBACpC,0EAAA,EAEII,EAAwBD,EAAkB,CAAC,EAC3CE,EAAuBF,EAC3BA,EAAkB,OAAS,CAC7B,EAEMG,EAAiB,GAAqB,CACtC,EAAE,MAAQ,QAEV,EAAE,SACA,SAAS,gBAAkBF,IAC7BC,EAAqB,MAAA,EACrB,EAAE,eAAA,GAGA,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAA,EACtB,EAAE,eAAA,GAGR,EAEMG,EAAwB,SAAS,cAEvC,OAAAH,EAAsB,MAAA,EAEtB,SAAS,iBAAiB,UAAWE,CAAa,EAE3C,IAAM,CACX,SAAS,oBAAoB,UAAWA,CAAa,EAEjDL,IACFM,GAAA,MAAAA,EAAuB,QAE3B,CACF,EAAG,CAACN,EAAUD,CAAG,CAAC,CACpB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=a(c);var r=0;function d(){s.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??u()),document.body.insertAdjacentElement("beforeend",e[1]??u()),r++,()=>{r===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r--}},[])}function u(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}exports.useFocusGuards=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(s,c,{checkForDefaultPrevented:t=!0}={}){return function(f){if(s==null||s(f),t===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}exports.composeEventHandlers=u;
2
2
  //# sourceMappingURL=index.cjs478.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs478.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nexport {\n FocusGuards,\n FocusGuards as Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":"mYAIA,IAAIA,EAAQ,EAKZ,SAASC,GAAiB,CACxBC,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAa,SAAS,iBAAiB,0BAA0B,EACvE,gBAAS,KAAK,sBAAsB,aAAcA,EAAW,CAAC,GAAKC,GAAkB,EACrF,SAAS,KAAK,sBAAsB,YAAaD,EAAW,CAAC,GAAKC,GAAkB,EACpFJ,IACO,IAAM,CACPA,IAAU,GACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAASK,GAASA,EAAK,QAAQ,EAEvFL,GACF,CACF,EAAG,CAAA,CAAE,CACP,CACA,SAASI,GAAmB,CAC1B,MAAME,EAAU,SAAS,cAAc,MAAM,EAC7C,OAAAA,EAAQ,aAAa,yBAA0B,EAAE,EACjDA,EAAQ,SAAW,EACnBA,EAAQ,MAAM,QAAU,OACxBA,EAAQ,MAAM,QAAU,IACxBA,EAAQ,MAAM,SAAW,QACzBA,EAAQ,MAAM,cAAgB,OACvBA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs478.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"gFAEA,SAASA,EAAqBC,EAAsBC,EAAiB,CAAE,yBAAAC,EAA2B,EAAI,EAAK,GAAI,CAC7G,OAAO,SAAqBC,EAAO,CAEjC,GADAH,GAAA,MAAAA,EAAuBG,GACnBD,IAA6B,IAAS,CAACC,EAAM,iBAC/C,OAAOF,GAAA,YAAAA,EAAkBE,EAE7B,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs609.js"),l=require("react"),s=require("./index.cjs610.js"),i=require("./index.cjs611.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
2
  //# sourceMappingURL=index.cjs479.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs479.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,GAAIH,EAAO,CAAE,IAAKC,EAAK,QAASG,CAAO,CAAE,CAAC,CAAI,CAAC,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs479.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACT,CAAC,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAO,EAEPR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAExB,CACF,CAEJ,CACF,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(e){if(r.contains(e))return e;var n=b(e);return n&&r.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",r,". Doing nothing"),null)}).filter(function(e){return!!e})},D=function(r,u,e,n){var i=O(u,Array.isArray(r)?r:[r]);p[e]||(p[e]=new WeakMap);var s=p[e],l=[],o=new Set,S=new Set(i),y=function(t){!t||o.has(t)||(o.add(t),y(t.parentNode))};i.forEach(y);var A=function(t){!t||S.has(t)||Array.prototype.forEach.call(t.children,function(a){if(o.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(s.get(a)||0)+1;f.set(a,w),s.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(e,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),o.clear(),h++,function(){l.forEach(function(t){var a=f.get(t)-1,c=s.get(t)-1;f.set(t,a),s.set(t,c),a||(v.has(t)||t.removeAttribute(n),v.delete(t)),c||t.removeAttribute(e)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,e){e===void 0&&(e="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),D(n,i,e,"aria-hidden")):function(){return null}};exports.hideOthers=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),b=require("./index.cjs237.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=P(j);function g(e,r){const t=i.createContext(r),s=c=>{const{children:n,...o}=c,u=i.useMemo(()=>o,Object.values(o));return b.jsxRuntimeExports.jsx(t.Provider,{value:u,children:n})};s.displayName=e+"Provider";function a(c){const n=i.useContext(t);if(n)return n;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,a]}function _(e,r=[]){let t=[];function s(c,n){const o=i.createContext(n),u=t.length;t=[...t,n];const f=d=>{var S;const{scope:x,children:m,...p}=d,l=((S=x==null?void 0:x[e])==null?void 0:S[u])||o,C=i.useMemo(()=>p,Object.values(p));return b.jsxRuntimeExports.jsx(l.Provider,{value:C,children:m})};f.displayName=c+"Provider";function v(d,x){var l;const m=((l=x==null?void 0:x[e])==null?void 0:l[u])||o,p=i.useContext(m);if(p)return p;if(n!==void 0)return n;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,v]}const a=()=>{const c=t.map(n=>i.createContext(n));return function(o){const u=(o==null?void 0:o[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...o,[e]:u}}),[o,u])}};return a.scopeName=e,[s,h(a,...r)]}function h(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const n=s.reduce((o,{useScope:u,scopeName:f})=>{const d=u(c)[`__scope${f}`];return{...o,...d}},{});return i.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}exports.createContext=g;exports.createContextScope=_;
2
2
  //# sourceMappingURL=index.cjs480.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs480.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"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,CAAA,EACZC,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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,aAAaU,EAAkB,MAAM,CAElD,OACOY,EAAG,CACN,QAAQ,MAAM,kCAAmCtB,EAAMsB,CAAC,CAC5D,CAER,CAAC,CACL,EACA,OAAAL,EAAKT,CAAU,EACfK,EAAe,MAAK,EACpBf,IACO,UAAY,CACfc,EAAY,QAAQ,SAAUZ,EAAM,CAChC,IAAIoB,EAAezB,EAAW,IAAIK,CAAI,EAAI,EACtCqB,EAAcV,EAAc,IAAIX,CAAI,EAAI,EAC5CL,EAAW,IAAIK,EAAMoB,CAAY,EACjCT,EAAc,IAAIX,EAAMqB,CAAW,EAC9BD,IACIxB,EAAkB,IAAII,CAAI,GAC3BA,EAAK,gBAAgBU,CAAgB,EAEzCd,EAAkB,OAAOI,CAAI,GAE5BqB,GACDrB,EAAK,gBAAgBS,CAAU,CAEvC,CAAC,EACDX,IACKA,IAEDH,EAAa,IAAI,QACjBA,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAA,EAEpB,CACJ,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,GAKLrB,EAAQ,KAAK,MAAMA,EAAS,MAAM,KAAKqB,EAAiB,iBAAiB,qBAAqB,CAAC,CAAC,EACzFjB,EAAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GALvE,UAAY,CAAE,OAAO,IAAM,CAM1C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs480.js","sources":["../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"kaAGA,SAASA,EAAeC,EAAmBC,EAAgB,CACzD,MAAMC,EAAUC,EAAM,cAAcF,CAAc,EAC5CG,EAAYC,GAAU,CAC1B,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAO,EAAKF,EAC3BG,EAAQL,EAAM,QAAQ,IAAMI,EAAS,OAAO,OAAOA,CAAO,CAAC,EACjE,OAAuBE,EAAAA,kBAAAA,IAAIP,EAAQ,SAAU,CAAE,MAAAM,EAAO,SAAAF,CAAQ,CAAE,CAClE,EACAF,EAAS,YAAcJ,EAAoB,WAC3C,SAASU,EAAYC,EAAc,CACjC,MAAMJ,EAAUJ,EAAM,WAAWD,CAAO,EACxC,GAAIK,EAAS,OAAOA,EACpB,GAAIN,IAAmB,OAAQ,OAAOA,EACtC,MAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI,CACpF,CACA,MAAO,CAACI,EAAUM,CAAW,CAC/B,CACA,SAASE,EAAmBC,EAAWC,EAAyB,GAAI,CAClE,IAAIC,EAAkB,CAAA,EACtB,SAASC,EAAehB,EAAmBC,EAAgB,CACzD,MAAMgB,EAAcd,EAAM,cAAcF,CAAc,EAChDiB,EAAQH,EAAgB,OAC9BA,EAAkB,CAAC,GAAGA,EAAiBd,CAAc,EACrD,MAAMG,EAAYC,GAAU,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AUA,EAAY,EACtB,UAAWA,EAAa,SAC9B,EAAM,EACF,OAAO,SAA2BC,EAAgB,CAChD,MAAMC,EAAaH,EAAW,OAAO,CAACI,EAAa,CAAE,SAAAC,EAAU,UAAAnB,KAAgB,CAE7E,MAAMoB,EADaD,EAASH,CAAc,EACV,UAAUhB,CAAS,EAAE,EACrD,MAAO,CAAE,GAAGkB,EAAa,GAAGE,CAAY,CAC1C,EAAG,CAAA,CAAE,EACL,OAAO9B,EAAM,QAAQ,KAAO,CAAE,CAAC,UAAUuB,EAAU,SAAS,EAAE,EAAGI,CAAU,GAAK,CAACA,CAAU,CAAC,CAC9F,CACF,EACA,OAAAT,EAAY,UAAYK,EAAU,UAC3BL,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs562.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
2
+ //# sourceMappingURL=index.cjs481.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs481.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,UAAU,KAAI,EAAG,SAAQ,CAAE,IAAM,IAAA,IACpDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACED,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACrE,EAAG,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),v=require("./index.cjs561.js");function S(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 r=S(b);var g=r[" useInsertionEffect ".trim().toString()]||v.useLayoutEffect;function y({prop:e,defaultProp:o,onChange:t=()=>{},caller:c}){const[i,n,u]=O({defaultProp:o,onChange:t}),l=e!==void 0,d=l?e:i;{const s=r.useRef(e!==void 0);r.useEffect(()=>{const f=s.current;f!==l&&console.warn(`${c} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),s.current=l},[l,c])}const m=r.useCallback(s=>{var f;if(l){const a=j(s)?s(e):s;a!==e&&((f=u.current)==null||f.call(u,a))}else n(s)},[l,e,n,u]);return[d,m]}function O({defaultProp:e,onChange:o}){const[t,c]=r.useState(e),i=r.useRef(t),n=r.useRef(o);return g(()=>{n.current=o},[o]),r.useEffect(()=>{var u;i.current!==t&&((u=n.current)==null||u.call(n,t),i.current=t)},[t,i]),[t,c,n]}function j(e){return typeof e=="function"}exports.useControllableState=y;
2
- //# sourceMappingURL=index.cjs472.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),v=require("./index.cjs562.js");function S(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 r=S(b);var g=r[" useInsertionEffect ".trim().toString()]||v.useLayoutEffect;function y({prop:e,defaultProp:o,onChange:t=()=>{},caller:c}){const[i,n,u]=O({defaultProp:o,onChange:t}),l=e!==void 0,d=l?e:i;{const s=r.useRef(e!==void 0);r.useEffect(()=>{const f=s.current;f!==l&&console.warn(`${c} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),s.current=l},[l,c])}const m=r.useCallback(s=>{var f;if(l){const a=j(s)?s(e):s;a!==e&&((f=u.current)==null||f.call(u,a))}else n(s)},[l,e,n,u]);return[d,m]}function O({defaultProp:e,onChange:o}){const[t,c]=r.useState(e),i=r.useRef(t),n=r.useRef(o);return g(()=>{n.current=o},[o]),r.useEffect(()=>{var u;i.current!==t&&((u=n.current)==null||u.call(n,t),i.current=t)},[t,i]),[t,c,n]}function j(e){return typeof e=="function"}exports.useControllableState=y;
2
+ //# sourceMappingURL=index.cjs482.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs472.js","sources":["../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [onChange, uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useInsertionEffect","React","useLayoutEffect","useControllableState","prop","defaultProp","onChange","caller","uncontrolledProp","setUncontrolledProp","onChangeRef","useUncontrolledState","isControlled","value","isControlledRef","wasControlled","setValue","nextValue","value2","isFunction","_a","prevValueRef"],"mappings":"kaAGA,IAAIA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,MAAAU,EAAA,KAAAV,EAAsBG,GACtBQ,EAAa,QAAUR,EAE3B,EAAG,CAACA,EAAOQ,CAAY,CAAC,EACjB,CAACR,EAAOG,EAAUN,CAAW,CACtC,CACA,SAASS,EAAWN,EAAO,CACzB,OAAO,OAAOA,GAAU,UAC1B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs482.js","sources":["../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [onChange, uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useInsertionEffect","React","useLayoutEffect","useControllableState","prop","defaultProp","onChange","caller","uncontrolledProp","setUncontrolledProp","onChangeRef","useUncontrolledState","isControlled","value","isControlledRef","wasControlled","setValue","nextValue","value2","isFunction","_a","prevValueRef"],"mappings":"kaAGA,IAAIA,EAAqBC,EAAM,uBAAuB,KAAI,EAAG,SAAQ,CAAE,GAAKC,EAAAA,gBAC5E,SAASC,EAAqB,CAC5B,KAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IAAM,CACjB,EACA,OAAAC,CACF,EAAG,CACD,KAAM,CAACC,EAAkBC,EAAqBC,CAAW,EAAIC,EAAqB,CAChF,YAAAN,EACA,SAAAC,CACJ,CAAG,EACKM,EAAeR,IAAS,OACxBS,EAAQD,EAAeR,EAAOI,EAC1B,CACR,MAAMM,EAAkBb,EAAM,OAAOG,IAAS,MAAM,EACpDH,EAAM,UAAU,IAAM,CACpB,MAAMc,EAAgBD,EAAgB,QAClCC,IAAkBH,GAGpB,QAAQ,KACN,GAAGL,CAAM,qBAHEQ,EAAgB,aAAe,cAGR,OAFzBH,EAAe,aAAe,cAEI,4KACrD,EAEME,EAAgB,QAAUF,CAC5B,EAAG,CAACA,EAAcL,CAAM,CAAC,CAC3B,CACA,MAAMS,EAAWf,EAAM,YACpBgB,GAAc,OACb,GAAIL,EAAc,CAChB,MAAMM,EAASC,EAAWF,CAAS,EAAIA,EAAUb,CAAI,EAAIa,EACrDC,IAAWd,KACbgB,EAAAV,EAAY,UAAZ,MAAAU,EAAA,KAAAV,EAAsBQ,GAE1B,MACET,EAAoBQ,CAAS,CAEjC,EACA,CAACL,EAAcR,EAAMK,EAAqBC,CAAW,CACzD,EACE,MAAO,CAACG,EAAOG,CAAQ,CACzB,CACA,SAASL,EAAqB,CAC5B,YAAAN,EACA,SAAAC,CACF,EAAG,CACD,KAAM,CAACO,EAAOG,CAAQ,EAAIf,EAAM,SAASI,CAAW,EAC9CgB,EAAepB,EAAM,OAAOY,CAAK,EACjCH,EAAcT,EAAM,OAAOK,CAAQ,EACzC,OAAAN,EAAmB,IAAM,CACvBU,EAAY,QAAUJ,CACxB,EAAG,CAACA,CAAQ,CAAC,EACbL,EAAM,UAAU,IAAM,OAChBoB,EAAa,UAAYR,KAC3BO,EAAAV,EAAY,UAAZ,MAAAU,EAAA,KAAAV,EAAsBG,GACtBQ,EAAa,QAAUR,EAE3B,EAAG,CAACA,EAAOQ,CAAY,CAAC,EACjB,CAACR,EAAOG,EAAUN,CAAW,CACtC,CACA,SAASS,EAAWN,EAAO,CACzB,OAAO,OAAOA,GAAU,UAC1B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs466.js"),p=require("./index.cjs477.js"),R=require("./index.cjs465.js"),x=require("./index.cjs562.js"),H=require("./index.cjs563.js"),w=require("./index.cjs237.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
2
- //# sourceMappingURL=index.cjs473.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs478.js"),p=require("./index.cjs487.js"),R=require("./index.cjs479.js"),x=require("./index.cjs563.js"),H=require("./index.cjs564.js"),w=require("./index.cjs237.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
2
+ //# sourceMappingURL=index.cjs483.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs473.js","sources":["../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DISMISSABLE_LAYER_NAME","CONTEXT_UPDATE","POINTER_DOWN_OUTSIDE","FOCUS_OUTSIDE","originalBodyPointerEvents","DismissableLayerContext","React","DismissableLayer","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","node","setNode","ownerDocument","force","composedRefs","useComposedRefs","node2","layers","highestLayerWithOutsidePointerEventsDisabled","highestLayerWithOutsidePointerEventsDisabledIndex","index","isBodyPointerEventsDisabled","isPointerEventsEnabled","pointerDownOutside","usePointerDownOutside","event","target","isPointerDownOnBranch","branch","focusOutside","useFocusOutside","useEscapeKeydown","dispatchUpdate","handleUpdate","jsx","Primitive","composeEventHandlers","BRANCH_NAME","DismissableLayerBranch","ref","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","timerId","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","name","handler","detail","discrete","dispatchDiscreteCustomEvent"],"mappings":"6jBAUA,IAAIA,EAAyB,mBACzBC,EAAiB,0BACjBC,EAAuB,sCACvBC,EAAgB,gCAChBC,EACAC,EAA0BC,EAAM,cAAc,CAChD,OAAwB,IAAI,IAC5B,uCAAwD,IAAI,IAC5D,SAA0B,IAAI,GAChC,CAAC,EACGC,EAAmBD,EAAM,WAC3B,CAACE,EAAOC,IAAiB,CACvB,KAAM,CACJ,4BAAAC,EAA8B,GAC9B,gBAAAC,EACA,qBAAAC,EACA,eAAAC,EACA,kBAAAC,EACA,UAAAC,EACA,GAAGC,CACT,EAAQR,EACES,EAAUX,EAAM,WAAWD,CAAuB,EAClD,CAACa,EAAMC,CAAO,EAAIb,EAAM,SAAS,IAAI,EACrCc,GAAgBF,GAAA,YAAAA,EAAM,iBAAiB,mCAAY,UACnD,CAAA,CAAGG,CAAK,EAAIf,EAAM,SAAS,CAAA,CAAE,EAC7BgB,EAAeC,EAAAA,gBAAgBd,EAAee,GAAUL,EAAQK,CAAK,CAAC,EACtEC,EAAS,MAAM,KAAKR,EAAQ,MAAM,EAClC,CAACS,CAA4C,EAAI,CAAC,GAAGT,EAAQ,sCAAsC,EAA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AesD,EADxB,CAAE,cAAexB,CAAK,EACmC,CAC3E,SAAU,EACpB,CAAS,CAEL,EACA,OAAAb,EAAc,iBAAiB,UAAWuC,CAAW,EAC9C,IAAMvC,EAAc,oBAAoB,UAAWuC,CAAW,CACvE,EAAG,CAACvC,EAAeqC,CAAkB,CAAC,EAC/B,CACL,eAAgB,IAAMC,EAA0B,QAAU,GAC1D,cAAe,IAAMA,EAA0B,QAAU,EAC7D,CACA,CACA,SAASlB,GAAiB,CACxB,MAAMP,EAAQ,IAAI,YAAYhC,CAAc,EAC5C,SAAS,cAAcgC,CAAK,CAC9B,CACA,SAASqB,EAA6BM,EAAMC,EAASC,EAAQ,CAAE,SAAAC,CAAQ,EAAI,CACzE,MAAM7B,EAAS4B,EAAO,cAAc,OAC9B7B,EAAQ,IAAI,YAAY2B,EAAM,CAAE,QAAS,GAAO,WAAY,GAAM,OAAAE,EAAQ,EAC5ED,GAAS3B,EAAO,iBAAiB0B,EAAMC,EAAS,CAAE,KAAM,GAAM,EAC9DE,EACFC,EAAAA,4BAA4B9B,EAAQD,CAAK,EAEzCC,EAAO,cAAcD,CAAK,CAE9B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs483.js","sources":["../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DISMISSABLE_LAYER_NAME","CONTEXT_UPDATE","POINTER_DOWN_OUTSIDE","FOCUS_OUTSIDE","originalBodyPointerEvents","DismissableLayerContext","React","DismissableLayer","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","node","setNode","ownerDocument","force","composedRefs","useComposedRefs","node2","layers","highestLayerWithOutsidePointerEventsDisabled","highestLayerWithOutsidePointerEventsDisabledIndex","index","isBodyPointerEventsDisabled","isPointerEventsEnabled","pointerDownOutside","usePointerDownOutside","event","target","isPointerDownOnBranch","branch","focusOutside","useFocusOutside","useEscapeKeydown","dispatchUpdate","handleUpdate","jsx","Primitive","composeEventHandlers","BRANCH_NAME","DismissableLayerBranch","ref","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","timerId","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","name","handler","detail","discrete","dispatchDiscreteCustomEvent"],"mappings":"6jBAUA,IAAIA,EAAyB,mBACzBC,EAAiB,0BACjBC,EAAuB,sCACvBC,EAAgB,gCAChBC,EACAC,EAA0BC,EAAM,cAAc,CAChD,OAAwB,IAAI,IAC5B,uCAAwD,IAAI,IAC5D,SAA0B,IAAI,GAChC,CAAC,EACGC,EAAmBD,EAAM,WAC3B,CAACE,EAAOC,IAAiB,CACvB,KAAM,CACJ,4BAAAC,EAA8B,GAC9B,gBAAAC,EACA,qBAAAC,EACA,eAAAC,EACA,kBAAAC,EACA,UAAAC,EACA,GAAGC,CACT,EAAQR,EACES,EAAUX,EAAM,WAAWD,CAAuB,EAClD,CAACa,EAAMC,CAAO,EAAIb,EAAM,SAAS,IAAI,EACrCc,GAAgBF,GAAA,YAAAA,EAAM,iBAAiB,mCAAY,UACnD,CAAA,CAAGG,CAAK,EAAIf,EAAM,SAAS,CAAA,CAAE,EAC7BgB,EAAeC,EAAAA,gBAAgBd,EAAee,GAAUL,EAAQK,CAAK,CAAC,EACtEC,EAAS,MAAM,KAAKR,EAAQ,MAAM,EAClC,CAACS,CAA4C,EAAI,CAAC,GAAGT,EAAQ,sCAAsC,EAAE,MAAM,EAAE,EAC7GU,EAAoDF,EAAO,QAAQC,CAA4C,EAC/GE,EAAQV,EAAOO,EAAO,QAAQP,CAAI,EAAI,GACtCW,EAA8BZ,EAAQ,uCAAuC,KAAO,EACpFa,EAAyBF,GAASD,EAClCI,EAAqBC,EAAuBC,GAAU,CAC1D,MAAMC,EAASD,EAAM,OACfE,EAAwB,CAAC,GAAGlB,EAAQ,QAAQ,EAAE,KAAMmB,GAAWA,EAAO,SAASF,CAAM,CAAC,EACxF,CAACJ,GAA0BK,IAC/BvB,GAAA,MAAAA,EAAuBqB,GACvBnB,GAAA,MAAAA,EAAoBmB,GACfA,EAAM,kBAAkBlB,GAAA,MAAAA,IAC/B,EAAGK,CAAa,EACViB,EA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,EAAS4B,EAAO,cAAc,OAC9B7B,EAAQ,IAAI,YAAY2B,EAAM,CAAE,QAAS,GAAO,WAAY,GAAM,OAAAE,EAAQ,EAC5ED,GAAS3B,EAAO,iBAAiB0B,EAAMC,EAAS,CAAE,KAAM,GAAM,EAC9DE,EACFC,EAAAA,4BAA4B9B,EAAQD,CAAK,EAEzCC,EAAO,cAAcD,CAAK,CAE9B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs485.js"),f=require("./index.cjs486.js"),s=require("./index.cjs487.js");var c;function d(){return c||(c=1,(function(o){var a=n.__exports&&n.__exports.__createBinding||(Object.create?(function(i,r,e,t){t===void 0&&(t=e);var _=Object.getOwnPropertyDescriptor(r,e);(!_||("get"in _?!r.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(i,t,_)}):(function(i,r,e,t){t===void 0&&(t=e),i[t]=r[e]})),u=n.__exports&&n.__exports.__exportStar||function(i,r){for(var e in i)e!=="default"&&!Object.prototype.hasOwnProperty.call(r,e)&&a(r,i,e)};Object.defineProperty(o,"__esModule",{value:!0}),u(f.__require(),o),u(s.__require(),o)})(n.__exports)),n.__exports}exports.__require=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs479.js"),A=require("./index.cjs487.js"),O=require("./index.cjs563.js"),k=require("./index.cjs237.js");function w(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=w(U);var F="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},K="FocusScope",C=f.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:I,...L}=e,[s,P]=f.useState(null),E=O.useCallbackRef(p),v=O.useCallbackRef(I),b=f.useRef(null),_=x.useComposedRefs(n,u=>P(u)),a=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let u=function(i){if(a.paused||!s)return;const c=i.target;s.contains(c)?b.current=c:d(b.current,{select:!0})},l=function(i){if(a.paused||!s)return;const c=i.relatedTarget;c!==null&&(s.contains(c)||d(b.current,{select:!0}))},r=function(i){if(document.activeElement===document.body)for(const T of i)T.removedNodes.length>0&&d(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",l),m.disconnect()}}},[o,s,a.paused]),f.useEffect(()=>{if(s){N.add(a);const u=document.activeElement;if(!s.contains(u)){const r=new CustomEvent(F,S);s.addEventListener(F,E),s.dispatchEvent(r),r.defaultPrevented||(j(W(R(s)),{select:!0}),document.activeElement===u&&d(s))}return()=>{s.removeEventListener(F,E),setTimeout(()=>{const r=new CustomEvent(y,S);s.addEventListener(y,v),s.dispatchEvent(r),r.defaultPrevented||d(u??document.body,{select:!0}),s.removeEventListener(y,v),N.remove(a)},0)}}},[s,E,v,a]);const M=f.useCallback(u=>{if(!t&&!o||a.paused)return;const l=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,r=document.activeElement;if(l&&r){const m=u.currentTarget,[i,c]=D(m);i&&c?!u.shiftKey&&r===c?(u.preventDefault(),t&&d(i,{select:!0})):u.shiftKey&&r===i&&(u.preventDefault(),t&&d(c,{select:!0})):r===m&&u.preventDefault()}},[t,o,a.paused]);return k.jsxRuntimeExports.jsx(A.Primitive.div,{tabIndex:-1,...L,ref:_,onKeyDown:M})});C.displayName=K;function j(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(d(o,{select:n}),document.activeElement!==t)return}function D(e){const n=R(e),t=h(n,e),o=h(n.reverse(),e);return[t,o]}function R(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const p=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||p?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function h(e,n){for(const t of e)if(!q(t,{upTo:n}))return t}function q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H(e){return e instanceof HTMLInputElement&&"select"in e}function d(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&H(e)&&n&&e.select()}}var N=V();function V(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=g(e,n),e.unshift(n)},remove(n){var t;e=g(e,n),(t=e[0])==null||t.resume()}}}function g(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function W(e){return e.filter(n=>n.tagName!=="A")}exports.FocusScope=C;
2
2
  //# sourceMappingURL=index.cjs484.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs484.js","sources":["../node_modules/@anoki/fse-common/dist/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./types\"), exports);\n__exportStar(require(\"./constants\"), exports);\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__exportStar","exports","p","require$$0","require$$1"],"mappings":"kOACA,IAAIA,EAAmBC,aAAQA,EAAAA,UAAK,kBAAqB,OAAO,QAAU,SAASC,EAAGC,EAAGC,EAAGC,EAAI,CACxFA,IAAO,SAAWA,EAAKD,GAC3B,IAAIE,EAAO,OAAO,yBAAyBH,EAAGC,CAAC,GAC3C,CAACE,IAAS,QAASA,EAAO,CAACH,EAAE,WAAaG,EAAK,UAAYA,EAAK,iBAClEA,EAAO,CAAE,WAAY,GAAM,IAAK,UAAW,CAAE,OAAOH,EAAEC,CAAC,EAAI,GAE7D,OAAO,eAAeF,EAAGG,EAAIC,CAAI,CACrC,IAAM,SAASJ,EAAGC,EAAGC,EAAGC,EAAI,CACpBA,IAAO,SAAWA,EAAKD,GAC3BF,EAAEG,CAAE,EAAIF,EAAEC,CAAC,CACf,IACIG,EAAgBN,aAAQA,EAAAA,UAAK,cAAiB,SAASE,EAAGK,EAAS,CACnE,QAASC,KAAKN,EAAOM,IAAM,WAAa,CAAC,OAAO,UAAU,eAAe,KAAKD,EAASC,CAAC,GAAGT,EAAgBQ,EAASL,EAAGM,CAAC,CAC5H,EACA,OAAO,eAAcD,EAAU,aAAc,CAAE,MAAO,GAAM,EAC5DD,EAAaG,EAAAA,UAAA,EAAoBF,CAAO,EACxCD,EAAaI,EAAAA,UAAA,EAAwBH,CAAO","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs484.js","sources":["../node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","FOCUS_SCOPE_NAME","FocusScope","React","props","forwardedRef","loop","trapped","onMountAutoFocusProp","onUnmountAutoFocusProp","scopeProps","container","setContainer","onMountAutoFocus","useCallbackRef","onUnmountAutoFocus","lastFocusedElementRef","composedRefs","useComposedRefs","node","focusScope","handleFocusIn2","event","target","focus","handleFocusOut2","relatedTarget","handleMutations2","mutations","mutation","mutationObserver","focusScopesStack","previouslyFocusedElement","mountEvent","focusFirst","removeLinks","getTabbableCandidates","unmountEvent","handleKeyDown","isTabKey","focusedElement","container2","first","last","getTabbableEdges","jsx","Primitive","candidates","select","candidate","findVisible","nodes","walker","isHiddenInput","elements","element","isHidden","upTo","isSelectableInput","createFocusScopesStack","stack","activeFocusScope","arrayRemove","_a","array","item","updatedArray","index","items"],"mappings":"+fAQA,IAAIA,EAAqB,8BACrBC,EAAuB,gCACvBC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAI,EAClDC,EAAmB,aACnBC,EAAaC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACzD,KAAM,CACJ,KAAAC,EAAO,GACP,QAAAC,EAAU,GACV,iBAAkBC,EAClB,mBAAoBC,EACpB,GAAGC,CACP,EAAMN,EACE,CAACO,EAAWC,CAAY,EAAIT,EAAM,SAAS,IAAI,EAC/CU,EAAmBC,EAAAA,eAAeN,CAAoB,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,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs487.js"),p=require("./index.cjs562.js"),m=require("./index.cjs237.js");function P(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 c=P(l);var b="Portal",i=c.forwardRef((e,r)=>{var a;const{container:t,...o}=e,[u,s]=c.useState(!1);p.useLayoutEffect(()=>s(!0),[]);const n=t||u&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return n?d.createPortal(m.jsxRuntimeExports.jsx(f.Primitive.div,{...o,ref:r}),n):null});i.displayName=b;exports.Portal=i;
2
2
  //# sourceMappingURL=index.cjs485.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs485.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs485.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":"ufAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,OACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAW,EAAKH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAA,CAAE,EAC1C,MAAME,EAAYL,GAAiBE,KAAWI,EAAA,mCAAY,WAAZ,YAAAA,EAAsB,MACpE,OAAOD,EAAYE,EAAS,aAA6BC,EAAAA,kBAAAA,IAAIC,EAAAA,UAAU,IAAK,CAAE,GAAGR,EAAa,IAAKF,CAAY,CAAE,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs522.js"),a=require("./index.cjs523.js"),s=require("./index.cjs524.js"),d=require("./index.cjs525.js"),g=require("./index.cjs526.js"),f=require("./index.cjs527.js"),l=require("./index.cjs528.js"),b=require("./index.cjs529.js"),v=require("./index.cjs530.js"),y=require("./index.cjs531.js"),h=require("./index.cjs532.js"),O=require("./index.cjs533.js"),P=require("./index.cjs534.js"),w=require("./index.cjs535.js"),j=require("./index.cjs536.js"),M=require("./index.cjs537.js"),S=require("./index.cjs538.js"),T=require("./index.cjs539.js"),m=require("./index.cjs540.js"),B=require("./index.cjs541.js"),F=require("./index.cjs542.js"),C=require("./index.cjs543.js"),D=require("./index.cjs544.js"),I=require("./index.cjs545.js"),L=require("./index.cjs546.js"),R=require("./index.cjs547.js"),z=require("./index.cjs548.js"),A=require("./index.cjs549.js"),E=require("./index.cjs550.js"),G=require("./index.cjs551.js"),H=require("./index.cjs552.js"),J=require("./index.cjs553.js"),K=require("./index.cjs554.js"),N=require("./index.cjs555.js"),Q=require("./index.cjs556.js"),U=require("./index.cjs557.js"),V=require("./index.cjs558.js");var c;function W(){return c||(c=1,(function(e){var o=n.__exports&&n.__exports.__createBinding||(Object.create?(function(q,u,i,_){_===void 0&&(_=i);var t=Object.getOwnPropertyDescriptor(u,i);(!t||("get"in t?!u.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return u[i]}}),Object.defineProperty(q,_,t)}):(function(q,u,i,_){_===void 0&&(_=i),q[_]=u[i]})),r=n.__exports&&n.__exports.__exportStar||function(q,u){for(var i in q)i!=="default"&&!Object.prototype.hasOwnProperty.call(u,i)&&o(u,q,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(a.__require(),e),r(s.__require(),e),r(d.__require(),e),r(g.__require(),e),r(f.__require(),e),r(l.__require(),e),r(b.__require(),e),r(v.__require(),e),r(y.__require(),e),r(h.__require(),e),r(O.__require(),e),r(P.__require(),e),r(w.__require(),e),r(j.__require(),e),r(M.__require(),e),r(S.__require(),e),r(T.__require(),e),r(m.__require(),e),r(B.__require(),e),r(F.__require(),e),r(C.__require(),e),r(D.__require(),e),r(I.__require(),e),r(L.__require(),e),r(R.__require(),e),r(z.__require(),e),r(A.__require(),e),r(E.__require(),e),r(G.__require(),e),r(H.__require(),e),r(J.__require(),e),r(K.__require(),e),r(N.__require(),e),r(Q.__require(),e),r(U.__require(),e),r(V.__require(),e)})(n.__exports)),n.__exports}exports.__require=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs479.js"),g=require("./index.cjs562.js");function S(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=S(y);function E(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=R(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function R(n){const[e,t]=a.useState(),r=a.useRef(null),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=E(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(CSS.escape(s.animationName));if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function v(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
2
  //# sourceMappingURL=index.cjs486.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs486.js","sources":["../node_modules/@anoki/fse-common/dist/types/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./with-mongoose-props\"), exports);\n__exportStar(require(\"./user\"), exports);\n__exportStar(require(\"./structure\"), exports);\n__exportStar(require(\"./entity-type\"), exports);\n__exportStar(require(\"./image\"), exports);\n__exportStar(require(\"./element\"), exports);\n__exportStar(require(\"./chip-link\"), exports);\n__exportStar(require(\"./category\"), exports);\n__exportStar(require(\"./page\"), exports);\n__exportStar(require(\"./upload-file\"), exports);\n__exportStar(require(\"./section\"), exports);\n__exportStar(require(\"./load-more\"), exports);\n__exportStar(require(\"./feedback\"), exports);\n__exportStar(require(\"./question\"), exports);\n__exportStar(require(\"./rating\"), exports);\n__exportStar(require(\"./event\"), exports);\n__exportStar(require(\"./with-translations\"), exports);\n__exportStar(require(\"./saved-changes\"), exports);\n__exportStar(require(\"./service\"), exports);\n__exportStar(require(\"./document\"), exports);\n__exportStar(require(\"./unit\"), exports);\n__exportStar(require(\"./news\"), exports);\n__exportStar(require(\"./aggregation-page\"), exports);\n__exportStar(require(\"./link\"), exports);\n__exportStar(require(\"./faq\"), exports);\n__exportStar(require(\"./person\"), exports);\n__exportStar(require(\"./aggregation-item\"), exports);\n__exportStar(require(\"./with-basic-fields\"), exports);\n__exportStar(require(\"./changes\"), exports);\n__exportStar(require(\"./address\"), exports);\n__exportStar(require(\"./setting\"), exports);\n__exportStar(require(\"./general-practitioner-service\"), exports);\n__exportStar(require(\"./seo\"), exports);\n__exportStar(require(\"./translation\"), exports);\n__exportStar(require(\"./report\"), exports);\n__exportStar(require(\"./observation\"), exports);\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__exportStar","exports","p","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","require$$14","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","require$$22","require$$23","require$$24","require$$25","require$$26","require$$27","require$$28","require$$29","require$$30","require$$31","require$$32","require$$33","require$$34","require$$35"],"mappings":"gwCACA,IAAIA,EAAmBC,aAAQA,EAAAA,UAAK,kBAAqB,OAAO,QAAU,SAASC,EAAGC,EAAGC,EAAGC,EAAI,CACxFA,IAAO,SAAWA,EAAKD,GAC3B,IAAIE,EAAO,OAAO,yBAAyBH,EAAGC,CAAC,GAC3C,CAACE,IAAS,QAASA,EAAO,CAACH,EAAE,WAAaG,EAAK,UAAYA,EAAK,iBAClEA,EAAO,CAAE,WAAY,GAAM,IAAK,UAAW,CAAE,OAAOH,EAAEC,CAAC,EAAI,GAE7D,OAAO,eAAeF,EAAGG,EAAIC,CAAI,CACrC,IAAM,SAASJ,EAAGC,EAAGC,EAAGC,EAAI,CACpBA,IAAO,SAAWA,EAAKD,GAC3BF,EAAEG,CAAE,EAAIF,EAAEC,CAAC,CACf,IACIG,EAAgBN,aAAQA,EAAAA,UAAK,cAAiB,SAASE,EAAGK,EAAS,CACnE,QAASC,KAAKN,EAAOM,IAAM,WAA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EAAa4B,EAAAA,UAAA,EAAqB3B,CAAO,EACzCD,EAAa6B,EAAAA,UAAA,EAA+B5B,CAAO,EACnDD,EAAa8B,EAAAA,UAAA,EAAgC7B,CAAO,EACpDD,EAAa+B,EAAAA,UAAA,EAAsB9B,CAAO,EAC1CD,EAAagC,EAAAA,UAAA,EAAsB/B,CAAO,EAC1CD,EAAaiC,EAAAA,UAAA,EAAsBhC,CAAO,EAC1CD,EAAakC,EAAAA,UAAA,EAA2CjC,CAAO,EAC/DD,EAAamC,EAAAA,UAAA,EAAkBlC,CAAO,EACtCD,EAAaoC,EAAAA,UAAA,EAA0BnC,CAAO,EAC9CD,EAAaqC,EAAAA,UAAA,EAAqBpC,CAAO,EACzCD,EAAasC,EAAAA,UAAA,EAA0BrC,CAAO","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs486.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"icASA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,CACxB,KAAM,CAAE,QAAAC,EAAS,SAAAC,CAAQ,EAAKF,EACxBG,EAAWC,EAAYH,CAAO,EAC9BI,EAAQ,OAAOH,GAAa,WAAaA,EAAS,CAAE,QAASC,EAAS,SAAS,CAAE,EAAIG,EAAO,SAAS,KAAKJ,CAAQ,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