@anoki/fse-ui 1.0.463 → 1.0.464

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 (660) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs104.js +1 -1
  5. package/dist/index.cjs105.js +1 -1
  6. package/dist/index.cjs108.js +1 -1
  7. package/dist/index.cjs109.js +1 -1
  8. package/dist/index.cjs11.js +1 -1
  9. package/dist/index.cjs110.js +1 -1
  10. package/dist/index.cjs111.js +1 -1
  11. package/dist/index.cjs112.js +1 -1
  12. package/dist/index.cjs113.js +1 -1
  13. package/dist/index.cjs114.js +1 -1
  14. package/dist/index.cjs115.js +1 -1
  15. package/dist/index.cjs116.js +1 -1
  16. package/dist/index.cjs117.js +1 -1
  17. package/dist/index.cjs118.js +1 -1
  18. package/dist/index.cjs119.js +1 -1
  19. package/dist/index.cjs12.js +1 -1
  20. package/dist/index.cjs120.js +1 -1
  21. package/dist/index.cjs121.js +1 -1
  22. package/dist/index.cjs122.js +1 -1
  23. package/dist/index.cjs123.js +1 -1
  24. package/dist/index.cjs124.js +1 -1
  25. package/dist/index.cjs125.js +1 -1
  26. package/dist/index.cjs126.js +1 -1
  27. package/dist/index.cjs127.js +1 -1
  28. package/dist/index.cjs128.js +1 -1
  29. package/dist/index.cjs129.js +1 -1
  30. package/dist/index.cjs13.js +1 -1
  31. package/dist/index.cjs130.js +1 -1
  32. package/dist/index.cjs131.js +1 -1
  33. package/dist/index.cjs132.js +1 -1
  34. package/dist/index.cjs133.js +1 -1
  35. package/dist/index.cjs134.js +1 -1
  36. package/dist/index.cjs136.js +1 -1
  37. package/dist/index.cjs137.js +1 -1
  38. package/dist/index.cjs138.js +1 -1
  39. package/dist/index.cjs139.js +1 -1
  40. package/dist/index.cjs14.js +1 -1
  41. package/dist/index.cjs140.js +1 -1
  42. package/dist/index.cjs141.js +1 -1
  43. package/dist/index.cjs142.js +1 -1
  44. package/dist/index.cjs143.js +1 -1
  45. package/dist/index.cjs144.js +1 -1
  46. package/dist/index.cjs146.js +1 -1
  47. package/dist/index.cjs147.js +1 -1
  48. package/dist/index.cjs148.js +1 -1
  49. package/dist/index.cjs149.js +1 -1
  50. package/dist/index.cjs15.js +1 -1
  51. package/dist/index.cjs150.js +1 -1
  52. package/dist/index.cjs151.js +1 -1
  53. package/dist/index.cjs152.js +1 -1
  54. package/dist/index.cjs154.js +1 -1
  55. package/dist/index.cjs155.js +1 -1
  56. package/dist/index.cjs16.js +1 -1
  57. package/dist/index.cjs17.js +1 -1
  58. package/dist/index.cjs176.js +2 -0
  59. package/dist/index.cjs176.js.map +1 -0
  60. package/dist/index.cjs177.js +1 -1
  61. package/dist/index.cjs177.js.map +1 -1
  62. package/dist/index.cjs18.js +1 -1
  63. package/dist/index.cjs180.js +2 -0
  64. package/dist/index.cjs180.js.map +1 -0
  65. package/dist/{index.cjs186.js → index.cjs187.js} +1 -1
  66. package/dist/{index.cjs186.js.map → index.cjs187.js.map} +1 -1
  67. package/dist/index.cjs19.js +1 -1
  68. package/dist/index.cjs197.js +1 -1
  69. package/dist/index.cjs20.js +1 -1
  70. package/dist/index.cjs200.js +1 -1
  71. package/dist/index.cjs203.js +1 -1
  72. package/dist/index.cjs203.js.map +1 -1
  73. package/dist/index.cjs206.js +1 -1
  74. package/dist/index.cjs207.js +1 -1
  75. package/dist/index.cjs208.js +1 -1
  76. package/dist/index.cjs21.js +1 -1
  77. package/dist/index.cjs214.js +1 -1
  78. package/dist/index.cjs22.js +1 -1
  79. package/dist/index.cjs223.js +1 -1
  80. package/dist/index.cjs225.js +1 -1
  81. package/dist/index.cjs23.js +1 -1
  82. package/dist/index.cjs232.js +1 -1
  83. package/dist/index.cjs233.js +1 -1
  84. package/dist/index.cjs236.js +1 -1
  85. package/dist/index.cjs237.js +1 -1
  86. package/dist/index.cjs24.js +1 -1
  87. package/dist/index.cjs242.js +1 -1
  88. package/dist/index.cjs244.js +1 -1
  89. package/dist/index.cjs247.js +1 -1
  90. package/dist/index.cjs25.js +1 -1
  91. package/dist/index.cjs250.js +1 -1
  92. package/dist/index.cjs251.js +1 -1
  93. package/dist/index.cjs252.js +1 -1
  94. package/dist/index.cjs254.js +2 -2
  95. package/dist/index.cjs254.js.map +1 -1
  96. package/dist/index.cjs26.js +1 -1
  97. package/dist/index.cjs27.js +1 -1
  98. package/dist/index.cjs29.js +1 -1
  99. package/dist/index.cjs291.js +1 -1
  100. package/dist/index.cjs299.js +1 -1
  101. package/dist/index.cjs30.js +1 -1
  102. package/dist/index.cjs306.js +2 -2
  103. package/dist/index.cjs307.js +10 -10
  104. package/dist/index.cjs308.js +1 -27
  105. package/dist/index.cjs308.js.map +1 -1
  106. package/dist/index.cjs309.js +1 -1
  107. package/dist/index.cjs31.js +1 -1
  108. package/dist/index.cjs310.js +1 -1
  109. package/dist/index.cjs311.js +28 -0
  110. package/dist/index.cjs311.js.map +1 -0
  111. package/dist/index.cjs312.js +1 -1
  112. package/dist/index.cjs312.js.map +1 -1
  113. package/dist/index.cjs314.js +2 -0
  114. package/dist/index.cjs314.js.map +1 -0
  115. package/dist/index.cjs315.js +1 -1
  116. package/dist/index.cjs315.js.map +1 -1
  117. package/dist/index.cjs316.js +1 -1
  118. package/dist/index.cjs316.js.map +1 -1
  119. package/dist/index.cjs317.js +1 -1
  120. package/dist/index.cjs317.js.map +1 -1
  121. package/dist/index.cjs318.js +1 -1
  122. package/dist/index.cjs318.js.map +1 -1
  123. package/dist/index.cjs319.js +1 -1
  124. package/dist/index.cjs319.js.map +1 -1
  125. package/dist/index.cjs32.js +1 -1
  126. package/dist/index.cjs320.js +1 -1
  127. package/dist/index.cjs320.js.map +1 -1
  128. package/dist/index.cjs321.js +1 -1
  129. package/dist/index.cjs321.js.map +1 -1
  130. package/dist/index.cjs324.js +1 -1
  131. package/dist/index.cjs324.js.map +1 -1
  132. package/dist/index.cjs325.js +1 -1
  133. package/dist/index.cjs325.js.map +1 -1
  134. package/dist/index.cjs326.js +1 -1
  135. package/dist/index.cjs326.js.map +1 -1
  136. package/dist/index.cjs327.js +1 -1
  137. package/dist/index.cjs327.js.map +1 -1
  138. package/dist/{index.cjs361.js → index.cjs328.js} +2 -2
  139. package/dist/index.cjs328.js.map +1 -0
  140. package/dist/{index.cjs362.js → index.cjs329.js} +1 -1
  141. package/dist/{index.cjs362.js.map → index.cjs329.js.map} +1 -1
  142. package/dist/index.cjs33.js +1 -1
  143. package/dist/{index.cjs363.js → index.cjs330.js} +2 -2
  144. package/dist/index.cjs330.js.map +1 -0
  145. package/dist/index.cjs331.js +1 -1
  146. package/dist/index.cjs331.js.map +1 -1
  147. package/dist/index.cjs332.js +1 -1
  148. package/dist/index.cjs332.js.map +1 -1
  149. package/dist/index.cjs333.js +1 -1
  150. package/dist/index.cjs333.js.map +1 -1
  151. package/dist/index.cjs334.js +1 -1
  152. package/dist/index.cjs334.js.map +1 -1
  153. package/dist/index.cjs335.js +1 -1
  154. package/dist/index.cjs335.js.map +1 -1
  155. package/dist/index.cjs336.js +1 -1
  156. package/dist/index.cjs336.js.map +1 -1
  157. package/dist/index.cjs337.js +1 -1
  158. package/dist/index.cjs337.js.map +1 -1
  159. package/dist/index.cjs338.js +1 -1
  160. package/dist/index.cjs338.js.map +1 -1
  161. package/dist/index.cjs339.js +1 -1
  162. package/dist/index.cjs339.js.map +1 -1
  163. package/dist/index.cjs34.js +1 -1
  164. package/dist/index.cjs340.js +1 -1
  165. package/dist/index.cjs340.js.map +1 -1
  166. package/dist/index.cjs341.js +1 -1
  167. package/dist/index.cjs341.js.map +1 -1
  168. package/dist/index.cjs342.js +1 -1
  169. package/dist/index.cjs342.js.map +1 -1
  170. package/dist/index.cjs343.js +1 -1
  171. package/dist/index.cjs343.js.map +1 -1
  172. package/dist/index.cjs347.js +2 -0
  173. package/dist/index.cjs347.js.map +1 -0
  174. package/dist/index.cjs348.js +2 -0
  175. package/dist/index.cjs348.js.map +1 -0
  176. package/dist/index.cjs349.js +2 -0
  177. package/dist/index.cjs349.js.map +1 -0
  178. package/dist/index.cjs35.js +1 -1
  179. package/dist/index.cjs350.js +2 -0
  180. package/dist/index.cjs350.js.map +1 -0
  181. package/dist/index.cjs351.js +2 -0
  182. package/dist/index.cjs351.js.map +1 -0
  183. package/dist/index.cjs352.js +2 -0
  184. package/dist/index.cjs352.js.map +1 -0
  185. package/dist/index.cjs353.js +2 -0
  186. package/dist/index.cjs353.js.map +1 -0
  187. package/dist/index.cjs354.js +2 -0
  188. package/dist/index.cjs354.js.map +1 -0
  189. package/dist/index.cjs355.js +2 -0
  190. package/dist/index.cjs355.js.map +1 -0
  191. package/dist/index.cjs356.js +2 -0
  192. package/dist/index.cjs356.js.map +1 -0
  193. package/dist/index.cjs357.js +1 -1
  194. package/dist/index.cjs357.js.map +1 -1
  195. package/dist/index.cjs358.js +1 -1
  196. package/dist/index.cjs358.js.map +1 -1
  197. package/dist/index.cjs364.js +1 -1
  198. package/dist/index.cjs364.js.map +1 -1
  199. package/dist/index.cjs365.js +1 -1
  200. package/dist/index.cjs365.js.map +1 -1
  201. package/dist/index.cjs366.js +1 -1
  202. package/dist/index.cjs366.js.map +1 -1
  203. package/dist/index.cjs37.js +1 -1
  204. package/dist/index.cjs374.js +1 -1
  205. package/dist/index.cjs374.js.map +1 -1
  206. package/dist/index.cjs375.js +1 -1
  207. package/dist/index.cjs375.js.map +1 -1
  208. package/dist/index.cjs376.js +1 -1
  209. package/dist/index.cjs376.js.map +1 -1
  210. package/dist/index.cjs377.js +1 -1
  211. package/dist/index.cjs377.js.map +1 -1
  212. package/dist/index.cjs378.js +1 -1
  213. package/dist/index.cjs378.js.map +1 -1
  214. package/dist/index.cjs379.js +1 -1
  215. package/dist/index.cjs379.js.map +1 -1
  216. package/dist/index.cjs38.js +1 -1
  217. package/dist/index.cjs380.js +1 -1
  218. package/dist/index.cjs380.js.map +1 -1
  219. package/dist/index.cjs381.js +1 -1
  220. package/dist/index.cjs381.js.map +1 -1
  221. package/dist/index.cjs382.js +1 -1
  222. package/dist/index.cjs382.js.map +1 -1
  223. package/dist/index.cjs383.js +4 -1
  224. package/dist/index.cjs383.js.map +1 -1
  225. package/dist/index.cjs384.js +1 -4
  226. package/dist/index.cjs384.js.map +1 -1
  227. package/dist/index.cjs385.js +38 -1
  228. package/dist/index.cjs385.js.map +1 -1
  229. package/dist/index.cjs386.js +1 -1
  230. package/dist/index.cjs386.js.map +1 -1
  231. package/dist/index.cjs387.js +1 -1
  232. package/dist/index.cjs387.js.map +1 -1
  233. package/dist/index.cjs388.js +1 -1
  234. package/dist/index.cjs388.js.map +1 -1
  235. package/dist/index.cjs389.js +1 -1
  236. package/dist/index.cjs39.js +1 -1
  237. package/dist/index.cjs390.js +1 -38
  238. package/dist/index.cjs390.js.map +1 -1
  239. package/dist/index.cjs391.js +1 -1
  240. package/dist/index.cjs391.js.map +1 -1
  241. package/dist/index.cjs392.js +1 -1
  242. package/dist/index.cjs392.js.map +1 -1
  243. package/dist/index.cjs393.js +1 -1
  244. package/dist/index.cjs393.js.map +1 -1
  245. package/dist/index.cjs394.js +1 -1
  246. package/dist/index.cjs394.js.map +1 -1
  247. package/dist/index.cjs395.js +1 -1
  248. package/dist/index.cjs395.js.map +1 -1
  249. package/dist/index.cjs396.js +1 -1
  250. package/dist/index.cjs396.js.map +1 -1
  251. package/dist/index.cjs397.js +1 -1
  252. package/dist/index.cjs397.js.map +1 -1
  253. package/dist/index.cjs398.js +1 -1
  254. package/dist/index.cjs398.js.map +1 -1
  255. package/dist/index.cjs399.js +1 -1
  256. package/dist/index.cjs399.js.map +1 -1
  257. package/dist/index.cjs40.js +1 -1
  258. package/dist/index.cjs42.js +1 -1
  259. package/dist/index.cjs43.js +1 -1
  260. package/dist/index.cjs44.js +1 -1
  261. package/dist/index.cjs45.js +1 -1
  262. package/dist/index.cjs47.js +1 -1
  263. package/dist/index.cjs48.js +1 -1
  264. package/dist/index.cjs49.js +1 -1
  265. package/dist/index.cjs50.js +1 -1
  266. package/dist/index.cjs51.js +1 -1
  267. package/dist/index.cjs52.js +1 -1
  268. package/dist/index.cjs53.js +1 -1
  269. package/dist/index.cjs56.js +1 -1
  270. package/dist/index.cjs58.js +1 -1
  271. package/dist/index.cjs59.js +1 -1
  272. package/dist/index.cjs6.js +1 -1
  273. package/dist/index.cjs60.js +1 -1
  274. package/dist/index.cjs61.js +1 -1
  275. package/dist/index.cjs63.js +1 -1
  276. package/dist/index.cjs65.js +1 -1
  277. package/dist/index.cjs66.js +1 -1
  278. package/dist/index.cjs68.js +1 -1
  279. package/dist/index.cjs69.js +1 -1
  280. package/dist/index.cjs7.js +1 -1
  281. package/dist/index.cjs70.js +1 -1
  282. package/dist/index.cjs8.js +1 -1
  283. package/dist/index.cjs9.js +1 -1
  284. package/dist/index.cjs90.js +1 -1
  285. package/dist/index.cjs92.js +1 -1
  286. package/dist/index.cjs94.js +1 -1
  287. package/dist/index.cjs99.js +1 -1
  288. package/dist/index.cjs99.js.map +1 -1
  289. package/dist/index.d.ts +1 -1
  290. package/dist/index.es10.js +3 -3
  291. package/dist/index.es101.js +2 -2
  292. package/dist/index.es102.js +17 -17
  293. package/dist/index.es104.js +2 -2
  294. package/dist/index.es105.js +1 -1
  295. package/dist/index.es108.js +2 -2
  296. package/dist/index.es109.js +2 -2
  297. package/dist/index.es11.js +1 -1
  298. package/dist/index.es110.js +2 -2
  299. package/dist/index.es111.js +2 -2
  300. package/dist/index.es112.js +2 -2
  301. package/dist/index.es113.js +2 -2
  302. package/dist/index.es114.js +2 -2
  303. package/dist/index.es115.js +2 -2
  304. package/dist/index.es116.js +2 -2
  305. package/dist/index.es117.js +2 -2
  306. package/dist/index.es118.js +2 -2
  307. package/dist/index.es119.js +2 -2
  308. package/dist/index.es12.js +1 -1
  309. package/dist/index.es120.js +2 -2
  310. package/dist/index.es121.js +2 -2
  311. package/dist/index.es122.js +2 -2
  312. package/dist/index.es123.js +2 -2
  313. package/dist/index.es124.js +2 -2
  314. package/dist/index.es125.js +2 -2
  315. package/dist/index.es126.js +2 -2
  316. package/dist/index.es127.js +2 -2
  317. package/dist/index.es128.js +2 -2
  318. package/dist/index.es129.js +2 -2
  319. package/dist/index.es13.js +1 -1
  320. package/dist/index.es130.js +1 -1
  321. package/dist/index.es131.js +1 -1
  322. package/dist/index.es132.js +2 -2
  323. package/dist/index.es133.js +2 -2
  324. package/dist/index.es134.js +2 -2
  325. package/dist/index.es136.js +2 -2
  326. package/dist/index.es137.js +2 -2
  327. package/dist/index.es138.js +2 -2
  328. package/dist/index.es139.js +2 -2
  329. package/dist/index.es14.js +1 -1
  330. package/dist/index.es140.js +2 -2
  331. package/dist/index.es141.js +2 -2
  332. package/dist/index.es142.js +2 -2
  333. package/dist/index.es143.js +2 -2
  334. package/dist/index.es144.js +2 -2
  335. package/dist/index.es146.js +2 -2
  336. package/dist/index.es147.js +2 -2
  337. package/dist/index.es148.js +2 -2
  338. package/dist/index.es149.js +2 -2
  339. package/dist/index.es15.js +1 -1
  340. package/dist/index.es150.js +2 -2
  341. package/dist/index.es151.js +2 -2
  342. package/dist/index.es152.js +2 -2
  343. package/dist/index.es154.js +2 -2
  344. package/dist/index.es155.js +2 -2
  345. package/dist/index.es156.js +1 -1
  346. package/dist/index.es158.js +2 -2
  347. package/dist/index.es159.js +24 -24
  348. package/dist/index.es16.js +22 -22
  349. package/dist/index.es166.js +1 -1
  350. package/dist/index.es17.js +1 -1
  351. package/dist/index.es176.js +18 -0
  352. package/dist/index.es176.js.map +1 -0
  353. package/dist/index.es177.js +2 -15
  354. package/dist/index.es177.js.map +1 -1
  355. package/dist/index.es18.js +22 -22
  356. package/dist/index.es180.js +6 -0
  357. package/dist/index.es180.js.map +1 -0
  358. package/dist/{index.es186.js → index.es187.js} +1 -1
  359. package/dist/{index.es186.js.map → index.es187.js.map} +1 -1
  360. package/dist/index.es19.js +1 -1
  361. package/dist/index.es197.js +2 -2
  362. package/dist/index.es20.js +1 -1
  363. package/dist/index.es200.js +1 -1
  364. package/dist/index.es203.js +22 -22
  365. package/dist/index.es203.js.map +1 -1
  366. package/dist/index.es206.js +2 -2
  367. package/dist/index.es207.js +26 -26
  368. package/dist/index.es208.js +11 -11
  369. package/dist/index.es21.js +1 -1
  370. package/dist/index.es214.js +8 -8
  371. package/dist/index.es22.js +2 -2
  372. package/dist/index.es223.js +2 -2
  373. package/dist/index.es225.js +14 -14
  374. package/dist/index.es23.js +1 -1
  375. package/dist/index.es232.js +1 -1
  376. package/dist/index.es233.js +2 -2
  377. package/dist/index.es236.js +1 -1
  378. package/dist/index.es237.js +1 -1
  379. package/dist/index.es24.js +4 -4
  380. package/dist/index.es242.js +2 -2
  381. package/dist/index.es244.js +1 -1
  382. package/dist/index.es247.js +1 -1
  383. package/dist/index.es25.js +39 -39
  384. package/dist/index.es250.js +2 -2
  385. package/dist/index.es251.js +2 -2
  386. package/dist/index.es252.js +32 -32
  387. package/dist/index.es254.js +22 -22
  388. package/dist/index.es254.js.map +1 -1
  389. package/dist/index.es26.js +21 -21
  390. package/dist/index.es27.js +2 -2
  391. package/dist/index.es29.js +1 -1
  392. package/dist/index.es291.js +13 -13
  393. package/dist/index.es299.js +1 -1
  394. package/dist/index.es30.js +1 -1
  395. package/dist/index.es306.js +20 -20
  396. package/dist/index.es307.js +92 -92
  397. package/dist/index.es308.js +2 -3675
  398. package/dist/index.es308.js.map +1 -1
  399. package/dist/index.es309.js +2 -2
  400. package/dist/index.es31.js +1 -1
  401. package/dist/index.es310.js +2 -2
  402. package/dist/index.es311.js +3678 -0
  403. package/dist/index.es311.js.map +1 -0
  404. package/dist/index.es312.js +2 -15
  405. package/dist/index.es312.js.map +1 -1
  406. package/dist/index.es314.js +10 -0
  407. package/dist/index.es314.js.map +1 -0
  408. package/dist/index.es315.js +25 -5
  409. package/dist/index.es315.js.map +1 -1
  410. package/dist/index.es316.js +50 -24
  411. package/dist/index.es316.js.map +1 -1
  412. package/dist/index.es317.js +27 -50
  413. package/dist/index.es317.js.map +1 -1
  414. package/dist/index.es318.js +32 -29
  415. package/dist/index.es318.js.map +1 -1
  416. package/dist/index.es319.js +620 -31
  417. package/dist/index.es319.js.map +1 -1
  418. package/dist/index.es32.js +5 -5
  419. package/dist/index.es320.js +10 -621
  420. package/dist/index.es320.js.map +1 -1
  421. package/dist/index.es321.js +15 -11
  422. package/dist/index.es321.js.map +1 -1
  423. package/dist/index.es324.js +10 -68
  424. package/dist/index.es324.js.map +1 -1
  425. package/dist/index.es325.js +42 -29
  426. package/dist/index.es325.js.map +1 -1
  427. package/dist/index.es326.js +46 -2
  428. package/dist/index.es326.js.map +1 -1
  429. package/dist/index.es327.js +8 -2
  430. package/dist/index.es327.js.map +1 -1
  431. package/dist/{index.es361.js → index.es328.js} +13 -13
  432. package/dist/{index.cjs361.js.map → index.es328.js.map} +1 -1
  433. package/dist/{index.es362.js → index.es329.js} +1 -1
  434. package/dist/{index.es362.js.map → index.es329.js.map} +1 -1
  435. package/dist/index.es33.js +1 -1
  436. package/dist/{index.es363.js → index.es330.js} +4 -4
  437. package/dist/{index.cjs363.js.map → index.es330.js.map} +1 -1
  438. package/dist/index.es331.js +217 -6
  439. package/dist/index.es331.js.map +1 -1
  440. package/dist/index.es332.js +14 -27
  441. package/dist/index.es332.js.map +1 -1
  442. package/dist/index.es333.js +64 -63
  443. package/dist/index.es333.js.map +1 -1
  444. package/dist/index.es334.js +177 -10
  445. package/dist/index.es334.js.map +1 -1
  446. package/dist/index.es335.js +50 -30
  447. package/dist/index.es335.js.map +1 -1
  448. package/dist/index.es336.js +8 -124
  449. package/dist/index.es336.js.map +1 -1
  450. package/dist/index.es337.js +4 -135
  451. package/dist/index.es337.js.map +1 -1
  452. package/dist/index.es338.js +6 -14
  453. package/dist/index.es338.js.map +1 -1
  454. package/dist/index.es339.js +23 -67
  455. package/dist/index.es339.js.map +1 -1
  456. package/dist/index.es34.js +1 -1
  457. package/dist/index.es340.js +11 -32
  458. package/dist/index.es340.js.map +1 -1
  459. package/dist/index.es341.js +203 -13
  460. package/dist/index.es341.js.map +1 -1
  461. package/dist/index.es342.js +21 -8
  462. package/dist/index.es342.js.map +1 -1
  463. package/dist/index.es343.js +389 -46
  464. package/dist/index.es343.js.map +1 -1
  465. package/dist/index.es347.js +10 -0
  466. package/dist/index.es347.js.map +1 -0
  467. package/dist/index.es348.js +30 -0
  468. package/dist/index.es348.js.map +1 -0
  469. package/dist/index.es349.js +71 -0
  470. package/dist/index.es349.js.map +1 -0
  471. package/dist/index.es35.js +14 -14
  472. package/dist/index.es350.js +14 -0
  473. package/dist/index.es350.js.map +1 -0
  474. package/dist/index.es351.js +33 -0
  475. package/dist/index.es351.js.map +1 -0
  476. package/dist/index.es352.js +128 -0
  477. package/dist/index.es352.js.map +1 -0
  478. package/dist/index.es353.js +138 -0
  479. package/dist/index.es353.js.map +1 -0
  480. package/dist/index.es354.js +17 -0
  481. package/dist/index.es354.js.map +1 -0
  482. package/dist/index.es355.js +72 -0
  483. package/dist/index.es355.js.map +1 -0
  484. package/dist/index.es356.js +36 -0
  485. package/dist/index.es356.js.map +1 -0
  486. package/dist/index.es357.js +12 -8
  487. package/dist/index.es357.js.map +1 -1
  488. package/dist/index.es358.js +41 -40
  489. package/dist/index.es358.js.map +1 -1
  490. package/dist/index.es364.js +22 -215
  491. package/dist/index.es364.js.map +1 -1
  492. package/dist/index.es365.js +28 -13
  493. package/dist/index.es365.js.map +1 -1
  494. package/dist/index.es366.js +5 -178
  495. package/dist/index.es366.js.map +1 -1
  496. package/dist/index.es37.js +6 -6
  497. package/dist/index.es374.js +4 -205
  498. package/dist/index.es374.js.map +1 -1
  499. package/dist/index.es375.js +11 -22
  500. package/dist/index.es375.js.map +1 -1
  501. package/dist/index.es376.js +10 -391
  502. package/dist/index.es376.js.map +1 -1
  503. package/dist/index.es377.js +517 -36
  504. package/dist/index.es377.js.map +1 -1
  505. package/dist/index.es378.js +125 -23
  506. package/dist/index.es378.js.map +1 -1
  507. package/dist/index.es379.js +128 -28
  508. package/dist/index.es379.js.map +1 -1
  509. package/dist/index.es38.js +1 -1
  510. package/dist/index.es380.js +5 -5
  511. package/dist/index.es380.js.map +1 -1
  512. package/dist/index.es381.js +3 -5
  513. package/dist/index.es381.js.map +1 -1
  514. package/dist/index.es382.js +24 -3
  515. package/dist/index.es382.js.map +1 -1
  516. package/dist/index.es383.js +108 -22
  517. package/dist/index.es383.js.map +1 -1
  518. package/dist/index.es384.js +14 -108
  519. package/dist/index.es384.js.map +1 -1
  520. package/dist/index.es385.js +68 -15
  521. package/dist/index.es385.js.map +1 -1
  522. package/dist/index.es386.js +7 -521
  523. package/dist/index.es386.js.map +1 -1
  524. package/dist/index.es387.js +13 -126
  525. package/dist/index.es387.js.map +1 -1
  526. package/dist/index.es388.js +60 -127
  527. package/dist/index.es388.js.map +1 -1
  528. package/dist/index.es389.js +1 -1
  529. package/dist/index.es39.js +1 -1
  530. package/dist/index.es390.js +4 -69
  531. package/dist/index.es390.js.map +1 -1
  532. package/dist/index.es391.js +23 -9
  533. package/dist/index.es391.js.map +1 -1
  534. package/dist/index.es392.js +23 -14
  535. package/dist/index.es392.js.map +1 -1
  536. package/dist/index.es393.js +12 -61
  537. package/dist/index.es393.js.map +1 -1
  538. package/dist/index.es394.js +27 -3
  539. package/dist/index.es394.js.map +1 -1
  540. package/dist/index.es395.js +5 -23
  541. package/dist/index.es395.js.map +1 -1
  542. package/dist/index.es396.js +52 -22
  543. package/dist/index.es396.js.map +1 -1
  544. package/dist/index.es397.js +24 -50
  545. package/dist/index.es397.js.map +1 -1
  546. package/dist/index.es398.js +5 -25
  547. package/dist/index.es398.js.map +1 -1
  548. package/dist/index.es399.js +8 -6
  549. package/dist/index.es399.js.map +1 -1
  550. package/dist/index.es40.js +1 -1
  551. package/dist/index.es42.js +1 -1
  552. package/dist/index.es43.js +1 -1
  553. package/dist/index.es44.js +1 -1
  554. package/dist/index.es45.js +1 -1
  555. package/dist/index.es47.js +2 -2
  556. package/dist/index.es48.js +1 -1
  557. package/dist/index.es49.js +1 -1
  558. package/dist/index.es5.js +4 -4
  559. package/dist/index.es50.js +1 -1
  560. package/dist/index.es51.js +1 -1
  561. package/dist/index.es52.js +1 -1
  562. package/dist/index.es53.js +1 -1
  563. package/dist/index.es56.js +2 -2
  564. package/dist/index.es58.js +1 -1
  565. package/dist/index.es59.js +1 -1
  566. package/dist/index.es6.js +2 -2
  567. package/dist/index.es60.js +1 -1
  568. package/dist/index.es61.js +1 -1
  569. package/dist/index.es63.js +1 -1
  570. package/dist/index.es65.js +45 -45
  571. package/dist/index.es66.js +1 -1
  572. package/dist/index.es68.js +25 -25
  573. package/dist/index.es69.js +23 -23
  574. package/dist/index.es7.js +2 -2
  575. package/dist/index.es70.js +1 -1
  576. package/dist/index.es8.js +2 -2
  577. package/dist/index.es9.js +3 -3
  578. package/dist/index.es90.js +1 -1
  579. package/dist/index.es92.js +1 -1
  580. package/dist/index.es94.js +1 -1
  581. package/dist/index.es98.js +17 -17
  582. package/dist/index.es99.js +24 -14
  583. package/dist/index.es99.js.map +1 -1
  584. package/package.json +1 -1
  585. package/dist/index.cjs179.js +0 -2
  586. package/dist/index.cjs179.js.map +0 -1
  587. package/dist/index.cjs188.js +0 -2
  588. package/dist/index.cjs188.js.map +0 -1
  589. package/dist/index.cjs322.js +0 -2
  590. package/dist/index.cjs322.js.map +0 -1
  591. package/dist/index.cjs323.js +0 -2
  592. package/dist/index.cjs323.js.map +0 -1
  593. package/dist/index.cjs344.js +0 -2
  594. package/dist/index.cjs344.js.map +0 -1
  595. package/dist/index.cjs359.js +0 -2
  596. package/dist/index.cjs359.js.map +0 -1
  597. package/dist/index.cjs360.js +0 -2
  598. package/dist/index.cjs360.js.map +0 -1
  599. package/dist/index.cjs367.js +0 -2
  600. package/dist/index.cjs367.js.map +0 -1
  601. package/dist/index.cjs368.js +0 -2
  602. package/dist/index.cjs368.js.map +0 -1
  603. package/dist/index.cjs369.js +0 -2
  604. package/dist/index.cjs369.js.map +0 -1
  605. package/dist/index.cjs370.js +0 -2
  606. package/dist/index.cjs370.js.map +0 -1
  607. package/dist/index.cjs371.js +0 -2
  608. package/dist/index.cjs371.js.map +0 -1
  609. package/dist/index.cjs372.js +0 -2
  610. package/dist/index.cjs372.js.map +0 -1
  611. package/dist/index.cjs373.js +0 -2
  612. package/dist/index.cjs373.js.map +0 -1
  613. package/dist/index.cjs400.js +0 -2
  614. package/dist/index.cjs400.js.map +0 -1
  615. package/dist/index.cjs401.js +0 -2
  616. package/dist/index.cjs401.js.map +0 -1
  617. package/dist/index.cjs402.js +0 -2
  618. package/dist/index.cjs402.js.map +0 -1
  619. package/dist/index.cjs403.js +0 -2
  620. package/dist/index.cjs403.js.map +0 -1
  621. package/dist/index.es179.js +0 -6
  622. package/dist/index.es179.js.map +0 -1
  623. package/dist/index.es188.js +0 -5
  624. package/dist/index.es188.js.map +0 -1
  625. package/dist/index.es322.js +0 -9
  626. package/dist/index.es322.js.map +0 -1
  627. package/dist/index.es323.js +0 -28
  628. package/dist/index.es323.js.map +0 -1
  629. package/dist/index.es344.js +0 -50
  630. package/dist/index.es344.js.map +0 -1
  631. package/dist/index.es359.js +0 -49
  632. package/dist/index.es359.js.map +0 -1
  633. package/dist/index.es360.js +0 -11
  634. package/dist/index.es360.js.map +0 -1
  635. package/dist/index.es361.js.map +0 -1
  636. package/dist/index.es363.js.map +0 -1
  637. package/dist/index.es367.js +0 -7
  638. package/dist/index.es367.js.map +0 -1
  639. package/dist/index.es368.js +0 -45
  640. package/dist/index.es368.js.map +0 -1
  641. package/dist/index.es369.js +0 -32
  642. package/dist/index.es369.js.map +0 -1
  643. package/dist/index.es370.js +0 -7
  644. package/dist/index.es370.js.map +0 -1
  645. package/dist/index.es371.js +0 -14
  646. package/dist/index.es371.js.map +0 -1
  647. package/dist/index.es372.js +0 -15
  648. package/dist/index.es372.js.map +0 -1
  649. package/dist/index.es373.js +0 -15
  650. package/dist/index.es373.js.map +0 -1
  651. package/dist/index.es400.js +0 -12
  652. package/dist/index.es400.js.map +0 -1
  653. package/dist/index.es401.js +0 -16
  654. package/dist/index.es401.js.map +0 -1
  655. package/dist/index.es402.js +0 -31
  656. package/dist/index.es402.js.map +0 -1
  657. package/dist/index.es403.js +0 -8
  658. package/dist/index.es403.js.map +0 -1
  659. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
  660. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es355.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":";;;AASA,SAASA,EAAgBC,GAAcC,GAAS;AAC9C,SAAOC,EAAM,WAAW,CAACC,GAAOC,MACZH,EAAQE,CAAK,EAAEC,CAAK,KAClBD,GACnBH,CAAY;AACjB;AAGG,IAACK,IAAW,CAACC,MAAU;AACxB,QAAM,EAAE,SAAAC,GAAS,UAAAC,EAAQ,IAAKF,GACxBG,IAAWC,EAAYH,CAAO,GAC9BI,IAAQ,OAAOH,KAAa,aAAaA,EAAS,EAAE,SAASC,EAAS,UAAW,CAAA,IAAIG,EAAO,SAAS,KAAKJ,CAAQ,GAClHK,IAAMC,EAAgBL,EAAS,KAAKM,EAAcJ,CAAK,CAAC;AAE9D,SADmB,OAAOH,KAAa,cAClBC,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ChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -0,0 +1,36 @@
1
+ import * as p from "react";
2
+ import * as f from "react-dom";
3
+ import { createSlot as c } from "./index.es358.js";
4
+ import { j as u } from "./index.es175.js";
5
+ var l = [
6
+ "a",
7
+ "button",
8
+ "div",
9
+ "form",
10
+ "h2",
11
+ "h3",
12
+ "img",
13
+ "input",
14
+ "label",
15
+ "li",
16
+ "nav",
17
+ "ol",
18
+ "p",
19
+ "span",
20
+ "svg",
21
+ "ul"
22
+ ], h = l.reduce((t, i) => {
23
+ const o = c(`Primitive.${i}`), r = p.forwardRef((e, s) => {
24
+ const { asChild: m, ...a } = e, n = m ? o : i;
25
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(n, { ...a, ref: s });
26
+ });
27
+ return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
28
+ }, {});
29
+ function w(t, i) {
30
+ t && f.flushSync(() => t.dispatchEvent(i));
31
+ }
32
+ export {
33
+ h as Primitive,
34
+ w as dispatchDiscreteCustomEvent
35
+ };
36
+ //# sourceMappingURL=index.es356.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es356.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Slot","createSlot","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAW,aAAaF,CAAI,EAAE,GACrCG,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUN,IAAOD;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZU,gBAAAA,EAAAA,IAAID,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaH,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGG,EAAM;AACvC,GAAG,CAAE,CAAA;AACL,SAASQ,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0]}
@@ -1,14 +1,18 @@
1
1
  import * as r from "react";
2
- function o(t) {
3
- const e = r.useRef(t);
4
- return r.useEffect(() => {
5
- e.current = t;
6
- }), r.useMemo(() => (...n) => {
7
- var u;
8
- return (u = e.current) == null ? void 0 : u.call(e, ...n);
2
+ var t = 0;
3
+ function a() {
4
+ r.useEffect(() => {
5
+ const e = document.querySelectorAll("[data-radix-focus-guard]");
6
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? n()), document.body.insertAdjacentElement("beforeend", e[1] ?? n()), t++, () => {
7
+ t === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((o) => o.remove()), t--;
8
+ };
9
9
  }, []);
10
10
  }
11
+ function n() {
12
+ const e = document.createElement("span");
13
+ 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;
14
+ }
11
15
  export {
12
- o as useCallbackRef
16
+ a as useFocusGuards
13
17
  };
14
18
  //# sourceMappingURL=index.es357.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es357.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es357.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/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}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":";AAIA,IAAIA,IAAQ;AAKZ,SAASC,IAAiB;AACxB,EAAAC,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAa,SAAS,iBAAiB,0BAA0B;AACvE,oBAAS,KAAK,sBAAsB,cAAcA,EAAW,CAAC,KAAKC,GAAkB,GACrF,SAAS,KAAK,sBAAsB,aAAaD,EAAW,CAAC,KAAKC,GAAkB,GACpFJ,KACO,MAAM;AACX,MAAIA,MAAU,KACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAAQ,CAACK,MAASA,EAAK,QAAQ,GAEvFL;AAAA,IACD;AAAA,EACF,GAAE,EAAE;AACP;AACA,SAASI,IAAmB;AAC1B,QAAME,IAAU,SAAS,cAAc,MAAM;AAC7C,SAAAA,EAAQ,aAAa,0BAA0B,EAAE,GACjDA,EAAQ,WAAW,GACnBA,EAAQ,MAAM,UAAU,QACxBA,EAAQ,MAAM,UAAU,KACxBA,EAAQ,MAAM,WAAW,SACzBA,EAAQ,MAAM,gBAAgB,QACvBA;AACT;","x_google_ignoreList":[0]}
@@ -1,49 +1,50 @@
1
- import * as l from "react";
2
- import { composeRefs as u } from "./index.es316.js";
3
- import { j as c } from "./index.es175.js";
4
- var d = l.forwardRef((e, n) => {
5
- const { children: r, ...t } = e, o = l.Children.toArray(r), i = o.find(g);
6
- if (i) {
7
- const s = i.props.children, a = o.map((p) => p === i ? l.Children.count(s) > 1 ? l.Children.only(null) : l.isValidElement(s) ? s.props.children : null : p);
8
- return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: l.isValidElement(s) ? l.cloneElement(s, void 0, a) : null });
9
- }
10
- return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: r });
11
- });
12
- d.displayName = "Slot";
13
- var f = l.forwardRef((e, n) => {
14
- const { children: r, ...t } = e;
15
- if (l.isValidElement(r)) {
16
- const o = h(r);
17
- return l.cloneElement(r, {
18
- ...y(t, r.props),
19
- // @ts-ignore
20
- ref: n ? u(n, o) : o
21
- });
22
- }
23
- return l.Children.count(r) > 1 ? l.Children.only(null) : null;
24
- });
25
- f.displayName = "SlotClone";
26
- var m = ({ children: e }) => /* @__PURE__ */ c.jsx(c.Fragment, { children: e });
1
+ import * as i from "react";
2
+ import { composeRefs as m } from "./index.es348.js";
3
+ import { j as u } from "./index.es175.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function x(e) {
6
+ const n = /* @__PURE__ */ y(e), o = i.forwardRef((t, r) => {
7
+ const { children: l, ...c } = t, s = i.Children.toArray(l), f = s.find(g);
8
+ if (f) {
9
+ const a = f.props.children, d = s.map((p) => p === f ? i.Children.count(a) > 1 ? i.Children.only(null) : i.isValidElement(a) ? a.props.children : null : p);
10
+ return /* @__PURE__ */ u.jsx(n, { ...c, ref: r, children: i.isValidElement(a) ? i.cloneElement(a, void 0, d) : null });
11
+ }
12
+ return /* @__PURE__ */ u.jsx(n, { ...c, ref: r, children: l });
13
+ });
14
+ return o.displayName = `${e}.Slot`, o;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function y(e) {
18
+ const n = i.forwardRef((o, t) => {
19
+ const { children: r, ...l } = o;
20
+ if (i.isValidElement(r)) {
21
+ const c = R(r), s = C(l, r.props);
22
+ return r.type !== i.Fragment && (s.ref = t ? m(t, c) : c), i.cloneElement(r, s);
23
+ }
24
+ return i.Children.count(r) > 1 ? i.Children.only(null) : null;
25
+ });
26
+ return n.displayName = `${e}.SlotClone`, n;
27
+ }
28
+ var E = Symbol("radix.slottable");
27
29
  function g(e) {
28
- return l.isValidElement(e) && e.type === m;
30
+ return i.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
29
31
  }
30
- function y(e, n) {
31
- const r = { ...n };
32
+ function C(e, n) {
33
+ const o = { ...n };
32
34
  for (const t in n) {
33
- const o = e[t], i = n[t];
34
- /^on[A-Z]/.test(t) ? o && i ? r[t] = (...a) => {
35
- i(...a), o(...a);
36
- } : o && (r[t] = o) : t === "style" ? r[t] = { ...o, ...i } : t === "className" && (r[t] = [o, i].filter(Boolean).join(" "));
35
+ const r = e[t], l = n[t];
36
+ /^on[A-Z]/.test(t) ? r && l ? o[t] = (...s) => {
37
+ l(...s), r(...s);
38
+ } : r && (o[t] = r) : t === "style" ? o[t] = { ...r, ...l } : t === "className" && (o[t] = [r, l].filter(Boolean).join(" "));
37
39
  }
38
- return { ...e, ...r };
40
+ return { ...e, ...o };
39
41
  }
40
- function h(e) {
41
- var t, o;
42
- let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = n && "isReactWarning" in n && n.isReactWarning;
43
- return r ? e.ref : (n = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
42
+ function R(e) {
43
+ var t, r;
44
+ let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = n && "isReactWarning" in n && n.isReactWarning;
45
+ return o ? e.ref : (n = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
44
46
  }
45
47
  export {
46
- d as Slot,
47
- m as Slottable
48
+ x as createSlot
48
49
  };
49
50
  //# sourceMappingURL=index.es358.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es358.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,WAAuBC,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,EACtL;AACE,SAAuBE,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAAC,GAAU;AACrF,CAAC;AACDJ,EAAK,cAAc;AACnB,IAAIa,IAAYZ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACxD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,MAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,UAAMU,IAAcC,EAAcX,CAAQ;AAC1C,WAAOH,EAAM,aAAaG,GAAU;AAAA,MAClC,GAAGY,EAAWX,GAAWD,EAAS,KAAK;AAAA;AAAA,MAEvC,KAAKD,IAAec,EAAYd,GAAcW,CAAW,IAAIA;AAAA,IACnE,CAAK;AAAA,EACL;AACE,SAAOb,EAAM,SAAS,MAAMG,CAAQ,IAA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]}
1
+ {"version":3,"file":"index.es358.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","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AEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -1,221 +1,28 @@
1
- import * as s from "react";
2
- import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es374.js";
3
- import { Root as Oe } from "./index.es375.js";
4
- import { useComposedRefs as T } from "./index.es316.js";
5
- import { createContextScope as Re } from "./index.es317.js";
6
- import { Primitive as z } from "./index.es319.js";
7
- import { useCallbackRef as Ee } from "./index.es357.js";
8
- import { useLayoutEffect as B } from "./index.es367.js";
9
- import { useSize as Ne } from "./index.es323.js";
10
- import { j as f } from "./index.es175.js";
11
- import { autoUpdate as _e } from "./index.es376.js";
12
- var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
- const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
- return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
1
+ var p = function() {
2
+ return p = Object.assign || function(e) {
3
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
4
+ n = arguments[r];
5
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
6
+ }
7
+ return e;
8
+ }, p.apply(this, arguments);
15
9
  };
16
- U.displayName = N;
17
- var q = "PopperAnchor", G = s.forwardRef(
18
- (e, i) => {
19
- const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
20
- return s.useEffect(() => {
21
- r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
22
- }), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
23
- }
24
- );
25
- G.displayName = q;
26
- var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
27
- (e, i) => {
28
- var I, Y, M, X, D, F;
29
- const {
30
- __scopePopper: n,
31
- side: t = "bottom",
32
- sideOffset: a = 0,
33
- align: r = "center",
34
- alignOffset: o = 0,
35
- arrowPadding: w = 0,
36
- avoidCollisions: p = !0,
37
- collisionBoundary: c = [],
38
- collisionPadding: x = 0,
39
- sticky: m = "partial",
40
- hideWhenDetached: y = !1,
41
- updatePositionStrategy: A = "optimized",
42
- onPlaced: l,
43
- ...d
44
- } = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), u = Ne(E), re = (u == null ? void 0 : u.width) ?? 0, $ = (u == null ? void 0 : u.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
45
- padding: ne,
46
- boundary: j.filter(Ie),
47
- // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
48
- altBoundary: ae
49
- }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: g } = xe({
50
- // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
51
- strategy: "fixed",
52
- placement: oe,
53
- whileElementsMounted: (...P) => _e(...P, {
54
- animationFrame: A === "always"
55
- }),
56
- elements: {
57
- reference: v.anchor
58
- },
59
- middleware: [
60
- Pe({ mainAxis: a + $, alignmentAxis: o }),
61
- p && ye({
62
- mainAxis: !0,
63
- crossAxis: !1,
64
- limiter: m === "partial" ? Se() : void 0,
65
- ...b
66
- }),
67
- p && Ae({ ...b }),
68
- ve({
69
- ...b,
70
- apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ue }) => {
71
- const { width: ge, height: we } = k.reference, R = P.floating.style;
72
- R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ue}px`), R.setProperty("--radix-popper-anchor-width", `${ge}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
73
- }
74
- }),
75
- E && Ce({ element: E, padding: w }),
76
- Ye({ arrowWidth: re, arrowHeight: $ }),
77
- y && be({ strategy: "referenceHidden", ...b })
78
- ]
79
- }), [W, pe] = V(se), O = Ee(l);
80
- B(() => {
81
- S && (O == null || O());
82
- }, [S, O]);
83
- const ce = (I = g.arrow) == null ? void 0 : I.x, de = (Y = g.arrow) == null ? void 0 : Y.y, le = ((M = g.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
84
- return B(() => {
85
- h && me(window.getComputedStyle(h).zIndex);
86
- }, [h]), /* @__PURE__ */ f.jsx(
87
- "div",
88
- {
89
- ref: ie.setFloating,
90
- "data-radix-popper-content-wrapper": "",
91
- style: {
92
- ...H,
93
- transform: S ? H.transform : "translate(0, -200%)",
94
- // keep off the page when measuring
95
- minWidth: "max-content",
96
- zIndex: fe,
97
- "--radix-popper-transform-origin": [
98
- (X = g.transformOrigin) == null ? void 0 : X.x,
99
- (D = g.transformOrigin) == null ? void 0 : D.y
100
- ].join(" "),
101
- // hide the content if using the hide middleware and should be hidden
102
- // set visibility to hidden and disable pointer events so the UI behaves
103
- // as if the PopperContent isn't there at all
104
- ...((F = g.hide) == null ? void 0 : F.referenceHidden) && {
105
- visibility: "hidden",
106
- pointerEvents: "none"
107
- }
108
- },
109
- dir: e.dir,
110
- children: /* @__PURE__ */ f.jsx(
111
- je,
112
- {
113
- scope: n,
114
- placedSide: W,
115
- onArrowChange: te,
116
- arrowX: ce,
117
- arrowY: de,
118
- shouldHideArrow: le,
119
- children: /* @__PURE__ */ f.jsx(
120
- z.div,
121
- {
122
- "data-side": W,
123
- "data-align": pe,
124
- ...d,
125
- ref: ee,
126
- style: {
127
- ...d.style,
128
- // if the PopperContent hasn't been placed yet (not all measurements done)
129
- // we prevent animations so that users's animation don't kick in too early referring wrong sides
130
- animation: S ? void 0 : "none"
131
- }
132
- }
133
- )
134
- }
135
- )
136
- }
137
- );
138
- }
139
- );
140
- J.displayName = _;
141
- var K = "PopperArrow", We = {
142
- top: "bottom",
143
- right: "left",
144
- bottom: "top",
145
- left: "right"
146
- }, Q = s.forwardRef(function(i, n) {
147
- const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
148
- return (
149
- // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
150
- // doesn't report size as we'd expect on SVG elements.
151
- // it reports their bounding box which is effectively the largest path inside the SVG.
152
- /* @__PURE__ */ f.jsx(
153
- "span",
154
- {
155
- ref: r.onArrowChange,
156
- style: {
157
- position: "absolute",
158
- left: r.arrowX,
159
- top: r.arrowY,
160
- [o]: 0,
161
- transformOrigin: {
162
- top: "",
163
- right: "0 0",
164
- bottom: "center 0",
165
- left: "100% 0"
166
- }[r.placedSide],
167
- transform: {
168
- top: "translateY(100%)",
169
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
170
- bottom: "rotate(180deg)",
171
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
172
- }[r.placedSide],
173
- visibility: r.shouldHideArrow ? "hidden" : void 0
174
- },
175
- children: /* @__PURE__ */ f.jsx(
176
- Oe,
177
- {
178
- ...a,
179
- ref: n,
180
- style: {
181
- ...a.style,
182
- // ensures the element can be measured correctly (mostly for if SVG)
183
- display: "block"
184
- }
185
- }
186
- )
187
- }
188
- )
189
- );
190
- });
191
- Q.displayName = K;
192
- function Ie(e) {
193
- return e !== null;
10
+ function c(t, e) {
11
+ var n = {};
12
+ for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
+ for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
+ e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
+ return n;
194
17
  }
195
- var Ye = (e) => ({
196
- name: "transformOrigin",
197
- options: e,
198
- fn(i) {
199
- var v, h, C;
200
- const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
201
- let l = "", d = "";
202
- return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
203
- }
204
- });
205
- function V(e) {
206
- const [i, n = "center"] = e.split("-");
207
- return [i, n];
18
+ function l(t, e, n) {
19
+ if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
+ (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
+ return t.concat(a || Array.prototype.slice.call(e));
208
22
  }
209
- var qe = U, Ge = G, Je = J, Ke = Q;
210
23
  export {
211
- Ge as Anchor,
212
- Ke as Arrow,
213
- Je as Content,
214
- U as Popper,
215
- G as PopperAnchor,
216
- Q as PopperArrow,
217
- J as PopperContent,
218
- qe as Root,
219
- Ue as createPopperScope
24
+ p as __assign,
25
+ c as __rest,
26
+ l as __spreadArray
220
27
  };
221
28
  //# sourceMappingURL=index.es364.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es364.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/Popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":";;;;;;;;;;;AAyBA,IAAIA,IAAc,UACd,CAACC,GAAqBC,EAAiB,IAAIC,GAAmBH,CAAW,GACzE,CAACI,IAAgBC,CAAgB,IAAIJ,EAAoBD,CAAW,GACpEM,IAAS,CAACC,MAAU;AACtB,QAAM,EAAE,eAAAC,GAAe,UAAAC,EAAQ,IAAKF,GAC9B,CAACG,GAAQC,CAAS,IAAIC,EAAM,SAAS,IAAI;AAC/C,SAAuBC,gBAAAA,EAAG,IAACT,IAAgB,EAAE,OAAOI,GAAe,QAAAE,GAAQ,gBAAgBC,GAAW,UAAAF,GAAU;AAClH;AACAH,EAAO,cAAcN;AACrB,IAAIc,IAAc,gBACdC,IAAeH,EAAM;AAAA,EACvB,CAACL,GAAOS,MAAiB;AACvB,UAAM,EAAE,eAAAR,GAAe,YAAAS,GAAY,GAAGC,EAAa,IAAGX,GAChDY,IAAUd,EAAiBS,GAAaN,CAAa,GACrDY,IAAMR,EAAM,OAAO,IAAI,GACvBS,IAAeC,EAAgBN,GAAcI,CAAG;AACtD,WAAAR,EAAM,UAAU,MAAM;AACpB,MAAAO,EAAQ,gBAAeF,KAAA,gBAAAA,EAAY,YAAWG,EAAI,OAAO;AAAA,IAC/D,CAAK,GACMH,IAAa,OAAuBJ,gBAAAA,EAAAA,IAAIU,EAAU,KAAK,EAAE,GAAGL,GAAa,KAAKG,GAAc;AAAA,EACvG;AACA;AACAN,EAAa,cAAcD;AAC3B,IAAIU,IAAe,iBACf,CAACC,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,EAAC,EAAI;AAAA,EAC7B;AACA;AACA,SAAS9B,EAA6BvB,GAAW;AAC/C,QAAM,CAAC9B,GAAME,IAAQ,QAAQ,IAAI4B,EAAU,MAAM,GAAG;AACpD,SAAO,CAAC9B,GAAME,CAAK;AACrB;AACG,IAACkF,KAAQ1G,GACR2G,KAASlG,GACTmG,KAAUvF,GACVwF,KAAQjB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es364.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __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});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IACrF;AACM,WAAOJ;AAAA,EACb,GACSD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAE;AACV,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,Q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