@anoki/fse-ui 1.0.0-beta1.44.7 → 1.0.0-beta1.44.8

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 (922) hide show
  1. package/dist/index.cjs.js.map +1 -1
  2. package/dist/index.cjs10.js.map +1 -1
  3. package/dist/index.cjs100.js.map +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs101.js.map +1 -1
  6. package/dist/index.cjs102.js.map +1 -1
  7. package/dist/index.cjs105.js.map +1 -1
  8. package/dist/index.cjs106.js.map +1 -1
  9. package/dist/index.cjs107.js.map +1 -1
  10. package/dist/index.cjs11.js.map +1 -1
  11. package/dist/index.cjs110.js.map +1 -1
  12. package/dist/index.cjs111.js.map +1 -1
  13. package/dist/index.cjs112.js.map +1 -1
  14. package/dist/index.cjs113.js.map +1 -1
  15. package/dist/index.cjs114.js.map +1 -1
  16. package/dist/index.cjs115.js.map +1 -1
  17. package/dist/index.cjs116.js.map +1 -1
  18. package/dist/index.cjs117.js.map +1 -1
  19. package/dist/index.cjs119.js.map +1 -1
  20. package/dist/index.cjs12.js.map +1 -1
  21. package/dist/index.cjs120.js.map +1 -1
  22. package/dist/index.cjs121.js.map +1 -1
  23. package/dist/index.cjs122.js.map +1 -1
  24. package/dist/index.cjs123.js.map +1 -1
  25. package/dist/index.cjs124.js.map +1 -1
  26. package/dist/index.cjs125.js.map +1 -1
  27. package/dist/index.cjs126.js.map +1 -1
  28. package/dist/index.cjs127.js.map +1 -1
  29. package/dist/index.cjs128.js.map +1 -1
  30. package/dist/index.cjs129.js.map +1 -1
  31. package/dist/index.cjs13.js.map +1 -1
  32. package/dist/index.cjs130.js.map +1 -1
  33. package/dist/index.cjs131.js.map +1 -1
  34. package/dist/index.cjs132.js.map +1 -1
  35. package/dist/index.cjs133.js.map +1 -1
  36. package/dist/index.cjs134.js.map +1 -1
  37. package/dist/index.cjs135.js.map +1 -1
  38. package/dist/index.cjs136.js.map +1 -1
  39. package/dist/index.cjs137.js.map +1 -1
  40. package/dist/index.cjs138.js.map +1 -1
  41. package/dist/index.cjs139.js.map +1 -1
  42. package/dist/index.cjs14.js.map +1 -1
  43. package/dist/index.cjs140.js.map +1 -1
  44. package/dist/index.cjs142.js.map +1 -1
  45. package/dist/index.cjs143.js.map +1 -1
  46. package/dist/index.cjs144.js.map +1 -1
  47. package/dist/index.cjs145.js.map +1 -1
  48. package/dist/index.cjs146.js.map +1 -1
  49. package/dist/index.cjs147.js.map +1 -1
  50. package/dist/index.cjs148.js.map +1 -1
  51. package/dist/index.cjs149.js.map +1 -1
  52. package/dist/index.cjs15.js.map +1 -1
  53. package/dist/index.cjs150.js.map +1 -1
  54. package/dist/index.cjs151.js.map +1 -1
  55. package/dist/index.cjs152.js.map +1 -1
  56. package/dist/index.cjs153.js.map +1 -1
  57. package/dist/index.cjs155.js.map +1 -1
  58. package/dist/index.cjs156.js.map +1 -1
  59. package/dist/index.cjs157.js.map +1 -1
  60. package/dist/index.cjs158.js.map +1 -1
  61. package/dist/index.cjs159.js.map +1 -1
  62. package/dist/index.cjs160.js.map +1 -1
  63. package/dist/index.cjs161.js.map +1 -1
  64. package/dist/index.cjs162.js.map +1 -1
  65. package/dist/index.cjs166.js.map +1 -1
  66. package/dist/index.cjs169.js.map +1 -1
  67. package/dist/index.cjs170.js.map +1 -1
  68. package/dist/index.cjs171.js.map +1 -1
  69. package/dist/index.cjs172.js.map +1 -1
  70. package/dist/index.cjs173.js.map +1 -1
  71. package/dist/index.cjs174.js.map +1 -1
  72. package/dist/index.cjs175.js.map +1 -1
  73. package/dist/index.cjs176.js.map +1 -1
  74. package/dist/index.cjs177.js.map +1 -1
  75. package/dist/index.cjs178.js.map +1 -1
  76. package/dist/index.cjs179.js.map +1 -1
  77. package/dist/index.cjs18.js.map +1 -1
  78. package/dist/index.cjs180.js.map +1 -1
  79. package/dist/index.cjs181.js.map +1 -1
  80. package/dist/index.cjs182.js.map +1 -1
  81. package/dist/index.cjs183.js.map +1 -1
  82. package/dist/index.cjs184.js.map +1 -1
  83. package/dist/index.cjs185.js.map +1 -1
  84. package/dist/index.cjs186.js.map +1 -1
  85. package/dist/index.cjs187.js.map +1 -1
  86. package/dist/index.cjs188.js.map +1 -1
  87. package/dist/index.cjs189.js.map +1 -1
  88. package/dist/index.cjs19.js.map +1 -1
  89. package/dist/index.cjs190.js.map +1 -1
  90. package/dist/index.cjs191.js.map +1 -1
  91. package/dist/index.cjs193.js.map +1 -1
  92. package/dist/index.cjs194.js.map +1 -1
  93. package/dist/index.cjs195.js.map +1 -1
  94. package/dist/index.cjs196.js.map +1 -1
  95. package/dist/index.cjs197.js.map +1 -1
  96. package/dist/index.cjs198.js.map +1 -1
  97. package/dist/index.cjs199.js.map +1 -1
  98. package/dist/index.cjs200.js.map +1 -1
  99. package/dist/index.cjs201.js.map +1 -1
  100. package/dist/index.cjs202.js.map +1 -1
  101. package/dist/index.cjs209.js.map +1 -1
  102. package/dist/index.cjs21.js.map +1 -1
  103. package/dist/index.cjs210.js.map +1 -1
  104. package/dist/index.cjs211.js.map +1 -1
  105. package/dist/index.cjs212.js.map +1 -1
  106. package/dist/index.cjs213.js.map +1 -1
  107. package/dist/index.cjs214.js.map +1 -1
  108. package/dist/index.cjs215.js.map +1 -1
  109. package/dist/index.cjs216.js.map +1 -1
  110. package/dist/index.cjs217.js.map +1 -1
  111. package/dist/index.cjs219.js.map +1 -1
  112. package/dist/index.cjs23.js.map +1 -1
  113. package/dist/index.cjs24.js.map +1 -1
  114. package/dist/index.cjs241.js.map +1 -1
  115. package/dist/index.cjs243.js.map +1 -1
  116. package/dist/index.cjs244.js.map +1 -1
  117. package/dist/index.cjs247.js.map +1 -1
  118. package/dist/index.cjs25.js.map +1 -1
  119. package/dist/index.cjs251.js.map +1 -1
  120. package/dist/index.cjs255.js.map +1 -1
  121. package/dist/index.cjs263.js.map +1 -1
  122. package/dist/index.cjs265.js.map +1 -1
  123. package/dist/index.cjs274.js.map +1 -1
  124. package/dist/index.cjs280.js.map +1 -1
  125. package/dist/index.cjs283.js.map +1 -1
  126. package/dist/index.cjs284.js +1 -1
  127. package/dist/index.cjs284.js.map +1 -1
  128. package/dist/index.cjs289.js.map +1 -1
  129. package/dist/index.cjs291.js +1 -1
  130. package/dist/index.cjs292.js.map +1 -1
  131. package/dist/index.cjs295.js.map +1 -1
  132. package/dist/index.cjs297.js.map +1 -1
  133. package/dist/index.cjs298.js.map +1 -1
  134. package/dist/index.cjs299.js.map +1 -1
  135. package/dist/index.cjs30.js.map +1 -1
  136. package/dist/index.cjs302.js.map +1 -1
  137. package/dist/index.cjs303.js.map +1 -1
  138. package/dist/index.cjs307.js.map +1 -1
  139. package/dist/index.cjs31.js.map +1 -1
  140. package/dist/index.cjs310.js.map +1 -1
  141. package/dist/index.cjs312.js.map +1 -1
  142. package/dist/index.cjs313.js.map +1 -1
  143. package/dist/index.cjs314.js.map +1 -1
  144. package/dist/index.cjs317.js.map +1 -1
  145. package/dist/index.cjs318.js.map +1 -1
  146. package/dist/index.cjs32.js +1 -1
  147. package/dist/index.cjs321.js.map +1 -1
  148. package/dist/index.cjs33.js +1 -1
  149. package/dist/index.cjs341.js +1 -1
  150. package/dist/index.cjs342.js +1 -1
  151. package/dist/index.cjs36.js.map +1 -1
  152. package/dist/index.cjs364.js +1 -1
  153. package/dist/index.cjs37.js.map +1 -1
  154. package/dist/index.cjs370.js +1 -1
  155. package/dist/index.cjs373.js.map +1 -1
  156. package/dist/index.cjs382.js +1 -1
  157. package/dist/index.cjs388.js.map +1 -1
  158. package/dist/index.cjs39.js.map +1 -1
  159. package/dist/index.cjs390.js.map +1 -1
  160. package/dist/index.cjs391.js.map +1 -1
  161. package/dist/index.cjs396.js.map +1 -1
  162. package/dist/index.cjs398.js +1 -1
  163. package/dist/index.cjs399.js +1 -1
  164. package/dist/index.cjs40.js.map +1 -1
  165. package/dist/index.cjs400.js +1 -1
  166. package/dist/index.cjs410.js.map +1 -1
  167. package/dist/index.cjs411.js.map +1 -1
  168. package/dist/index.cjs416.js.map +1 -1
  169. package/dist/index.cjs417.js.map +1 -1
  170. package/dist/index.cjs418.js +1 -1
  171. package/dist/index.cjs418.js.map +1 -1
  172. package/dist/index.cjs42.js.map +1 -1
  173. package/dist/index.cjs420.js.map +1 -1
  174. package/dist/index.cjs427.js +1 -1
  175. package/dist/index.cjs43.js.map +1 -1
  176. package/dist/index.cjs434.js +1 -1
  177. package/dist/index.cjs438.js.map +1 -1
  178. package/dist/index.cjs439.js +1 -1
  179. package/dist/index.cjs44.js.map +1 -1
  180. package/dist/index.cjs441.js.map +1 -1
  181. package/dist/index.cjs448.js +1 -1
  182. package/dist/index.cjs449.js +1 -1
  183. package/dist/index.cjs45.js.map +1 -1
  184. package/dist/index.cjs453.js +1 -1
  185. package/dist/index.cjs454.js +1 -1
  186. package/dist/index.cjs455.js +1 -1
  187. package/dist/index.cjs456.js +1 -1
  188. package/dist/index.cjs458.js.map +1 -1
  189. package/dist/index.cjs462.js +1 -1
  190. package/dist/index.cjs463.js +1 -1
  191. package/dist/index.cjs464.js +1 -1
  192. package/dist/index.cjs464.js.map +1 -1
  193. package/dist/{index.cjs471.js → index.cjs465.js} +2 -2
  194. package/dist/{index.cjs471.js.map → index.cjs465.js.map} +1 -1
  195. package/dist/{index.cjs472.js → index.cjs466.js} +2 -2
  196. package/dist/{index.cjs472.js.map → index.cjs466.js.map} +1 -1
  197. package/dist/{index.cjs473.js → index.cjs467.js} +1 -1
  198. package/dist/{index.cjs473.js.map → index.cjs467.js.map} +1 -1
  199. package/dist/{index.cjs474.js → index.cjs468.js} +2 -2
  200. package/dist/{index.cjs474.js.map → index.cjs468.js.map} +1 -1
  201. package/dist/{index.cjs475.js → index.cjs469.js} +1 -1
  202. package/dist/{index.cjs475.js.map → index.cjs469.js.map} +1 -1
  203. package/dist/index.cjs47.js.map +1 -1
  204. package/dist/index.cjs470.js +1 -1
  205. package/dist/index.cjs470.js.map +1 -1
  206. package/dist/index.cjs477.js +2 -0
  207. package/dist/index.cjs477.js.map +1 -0
  208. package/dist/index.cjs48.js.map +1 -1
  209. package/dist/index.cjs49.js.map +1 -1
  210. package/dist/index.cjs495.js +2 -0
  211. package/dist/index.cjs495.js.map +1 -0
  212. package/dist/{index.cjs502.js → index.cjs496.js} +1 -1
  213. package/dist/index.cjs496.js.map +1 -0
  214. package/dist/index.cjs497.js +2 -0
  215. package/dist/index.cjs497.js.map +1 -0
  216. package/dist/index.cjs498.js +1 -1
  217. package/dist/index.cjs498.js.map +1 -1
  218. package/dist/index.cjs499.js +1 -1
  219. package/dist/index.cjs499.js.map +1 -1
  220. package/dist/index.cjs500.js +1 -1
  221. package/dist/index.cjs500.js.map +1 -1
  222. package/dist/index.cjs505.js +1 -1
  223. package/dist/index.cjs505.js.map +1 -1
  224. package/dist/index.cjs506.js +1 -1
  225. package/dist/index.cjs506.js.map +1 -1
  226. package/dist/index.cjs507.js +2 -1
  227. package/dist/index.cjs507.js.map +1 -1
  228. package/dist/index.cjs508.js +27 -1
  229. package/dist/index.cjs508.js.map +1 -1
  230. package/dist/index.cjs509.js +1 -4
  231. package/dist/index.cjs509.js.map +1 -1
  232. package/dist/index.cjs51.js.map +1 -1
  233. package/dist/index.cjs510.js +1 -1
  234. package/dist/index.cjs510.js.map +1 -1
  235. package/dist/index.cjs511.js +1 -1
  236. package/dist/index.cjs511.js.map +1 -1
  237. package/dist/index.cjs512.js +1 -1
  238. package/dist/index.cjs512.js.map +1 -1
  239. package/dist/index.cjs513.js +1 -1
  240. package/dist/index.cjs513.js.map +1 -1
  241. package/dist/index.cjs514.js +1 -1
  242. package/dist/index.cjs514.js.map +1 -1
  243. package/dist/index.cjs515.js +1 -38
  244. package/dist/index.cjs515.js.map +1 -1
  245. package/dist/index.cjs516.js +1 -1
  246. package/dist/index.cjs516.js.map +1 -1
  247. package/dist/index.cjs517.js +1 -1
  248. package/dist/index.cjs517.js.map +1 -1
  249. package/dist/index.cjs518.js +1 -1
  250. package/dist/index.cjs518.js.map +1 -1
  251. package/dist/index.cjs519.js +1 -1
  252. package/dist/index.cjs52.js.map +1 -1
  253. package/dist/index.cjs520.js +1 -1
  254. package/dist/index.cjs520.js.map +1 -1
  255. package/dist/index.cjs521.js +1 -1
  256. package/dist/index.cjs521.js.map +1 -1
  257. package/dist/index.cjs522.js +1 -1
  258. package/dist/index.cjs522.js.map +1 -1
  259. package/dist/index.cjs523.js +1 -1
  260. package/dist/index.cjs523.js.map +1 -1
  261. package/dist/index.cjs524.js +1 -1
  262. package/dist/index.cjs524.js.map +1 -1
  263. package/dist/index.cjs525.js +1 -1
  264. package/dist/index.cjs525.js.map +1 -1
  265. package/dist/index.cjs526.js +1 -1
  266. package/dist/index.cjs526.js.map +1 -1
  267. package/dist/index.cjs527.js +1 -1
  268. package/dist/index.cjs527.js.map +1 -1
  269. package/dist/index.cjs528.js +1 -1
  270. package/dist/index.cjs528.js.map +1 -1
  271. package/dist/index.cjs529.js +1 -1
  272. package/dist/index.cjs529.js.map +1 -1
  273. package/dist/index.cjs53.js.map +1 -1
  274. package/dist/index.cjs530.js +1 -1
  275. package/dist/index.cjs530.js.map +1 -1
  276. package/dist/index.cjs531.js +1 -1
  277. package/dist/index.cjs531.js.map +1 -1
  278. package/dist/index.cjs532.js +1 -1
  279. package/dist/index.cjs532.js.map +1 -1
  280. package/dist/index.cjs533.js +1 -1
  281. package/dist/index.cjs533.js.map +1 -1
  282. package/dist/index.cjs534.js +1 -1
  283. package/dist/index.cjs534.js.map +1 -1
  284. package/dist/index.cjs535.js +1 -1
  285. package/dist/index.cjs535.js.map +1 -1
  286. package/dist/index.cjs536.js +1 -1
  287. package/dist/index.cjs536.js.map +1 -1
  288. package/dist/index.cjs537.js +1 -1
  289. package/dist/index.cjs537.js.map +1 -1
  290. package/dist/index.cjs538.js +1 -1
  291. package/dist/index.cjs538.js.map +1 -1
  292. package/dist/index.cjs539.js +1 -1
  293. package/dist/index.cjs539.js.map +1 -1
  294. package/dist/index.cjs54.js.map +1 -1
  295. package/dist/index.cjs540.js +1 -1
  296. package/dist/index.cjs540.js.map +1 -1
  297. package/dist/index.cjs541.js +1 -1
  298. package/dist/index.cjs541.js.map +1 -1
  299. package/dist/index.cjs542.js +1 -1
  300. package/dist/index.cjs542.js.map +1 -1
  301. package/dist/index.cjs543.js +1 -1
  302. package/dist/index.cjs543.js.map +1 -1
  303. package/dist/index.cjs544.js +1 -1
  304. package/dist/index.cjs544.js.map +1 -1
  305. package/dist/index.cjs545.js +1 -1
  306. package/dist/index.cjs545.js.map +1 -1
  307. package/dist/index.cjs546.js +1 -1
  308. package/dist/index.cjs546.js.map +1 -1
  309. package/dist/index.cjs547.js +1 -5
  310. package/dist/index.cjs547.js.map +1 -1
  311. package/dist/index.cjs548.js +1 -1
  312. package/dist/index.cjs548.js.map +1 -1
  313. package/dist/index.cjs549.js +1 -1
  314. package/dist/index.cjs549.js.map +1 -1
  315. package/dist/index.cjs550.js +1 -1
  316. package/dist/index.cjs550.js.map +1 -1
  317. package/dist/index.cjs551.js +1 -1
  318. package/dist/index.cjs551.js.map +1 -1
  319. package/dist/index.cjs552.js +1 -1
  320. package/dist/index.cjs552.js.map +1 -1
  321. package/dist/index.cjs553.js +1 -1
  322. package/dist/index.cjs553.js.map +1 -1
  323. package/dist/index.cjs554.js +1 -1
  324. package/dist/index.cjs554.js.map +1 -1
  325. package/dist/index.cjs555.js +1 -1
  326. package/dist/index.cjs555.js.map +1 -1
  327. package/dist/index.cjs556.js +1 -1
  328. package/dist/index.cjs556.js.map +1 -1
  329. package/dist/index.cjs557.js +1 -1
  330. package/dist/index.cjs557.js.map +1 -1
  331. package/dist/index.cjs558.js +1 -1
  332. package/dist/index.cjs558.js.map +1 -1
  333. package/dist/index.cjs559.js +1 -1
  334. package/dist/index.cjs559.js.map +1 -1
  335. package/dist/index.cjs56.js.map +1 -1
  336. package/dist/index.cjs560.js +5 -0
  337. package/dist/index.cjs560.js.map +1 -0
  338. package/dist/index.cjs561.js +2 -0
  339. package/dist/index.cjs561.js.map +1 -0
  340. package/dist/index.cjs562.js +6 -0
  341. package/dist/index.cjs562.js.map +1 -0
  342. package/dist/index.cjs563.js +2 -0
  343. package/dist/index.cjs563.js.map +1 -0
  344. package/dist/index.cjs564.js +2 -0
  345. package/dist/index.cjs564.js.map +1 -0
  346. package/dist/index.cjs565.js +1 -1
  347. package/dist/index.cjs565.js.map +1 -1
  348. package/dist/index.cjs566.js +1 -1
  349. package/dist/index.cjs566.js.map +1 -1
  350. package/dist/index.cjs567.js +1 -1
  351. package/dist/index.cjs567.js.map +1 -1
  352. package/dist/index.cjs568.js +1 -1
  353. package/dist/index.cjs568.js.map +1 -1
  354. package/dist/index.cjs569.js +1 -1
  355. package/dist/index.cjs569.js.map +1 -1
  356. package/dist/index.cjs57.js.map +1 -1
  357. package/dist/index.cjs570.js +1 -1
  358. package/dist/index.cjs570.js.map +1 -1
  359. package/dist/index.cjs571.js +1 -1
  360. package/dist/index.cjs571.js.map +1 -1
  361. package/dist/index.cjs572.js +1 -1
  362. package/dist/index.cjs572.js.map +1 -1
  363. package/dist/index.cjs573.js +1 -1
  364. package/dist/index.cjs573.js.map +1 -1
  365. package/dist/index.cjs574.js +1 -1
  366. package/dist/index.cjs574.js.map +1 -1
  367. package/dist/index.cjs575.js +1 -1
  368. package/dist/index.cjs575.js.map +1 -1
  369. package/dist/index.cjs576.js +1 -1
  370. package/dist/index.cjs576.js.map +1 -1
  371. package/dist/index.cjs577.js +2 -0
  372. package/dist/index.cjs577.js.map +1 -0
  373. package/dist/index.cjs578.js +2 -0
  374. package/dist/index.cjs578.js.map +1 -0
  375. package/dist/index.cjs579.js +39 -0
  376. package/dist/index.cjs579.js.map +1 -0
  377. package/dist/index.cjs580.js +2 -0
  378. package/dist/index.cjs580.js.map +1 -0
  379. package/dist/index.cjs581.js +1 -1
  380. package/dist/index.cjs581.js.map +1 -1
  381. package/dist/index.cjs582.js +1 -27
  382. package/dist/index.cjs582.js.map +1 -1
  383. package/dist/index.cjs583.js +1 -1
  384. package/dist/index.cjs583.js.map +1 -1
  385. package/dist/index.cjs584.js +1 -1
  386. package/dist/index.cjs584.js.map +1 -1
  387. package/dist/index.cjs585.js +1 -2
  388. package/dist/index.cjs585.js.map +1 -1
  389. package/dist/index.cjs586.js +1 -1
  390. package/dist/index.cjs586.js.map +1 -1
  391. package/dist/index.cjs587.js +1 -1
  392. package/dist/index.cjs587.js.map +1 -1
  393. package/dist/index.cjs588.js +1 -1
  394. package/dist/index.cjs588.js.map +1 -1
  395. package/dist/index.cjs589.js +1 -1
  396. package/dist/index.cjs589.js.map +1 -1
  397. package/dist/index.cjs59.js.map +1 -1
  398. package/dist/index.cjs590.js +1 -1
  399. package/dist/index.cjs590.js.map +1 -1
  400. package/dist/index.cjs591.js +1 -1
  401. package/dist/index.cjs591.js.map +1 -1
  402. package/dist/index.cjs60.js.map +1 -1
  403. package/dist/index.cjs61.js.map +1 -1
  404. package/dist/index.cjs62.js.map +1 -1
  405. package/dist/index.cjs65.js.map +1 -1
  406. package/dist/index.cjs67.js.map +1 -1
  407. package/dist/index.cjs70.js.map +1 -1
  408. package/dist/index.cjs72.js.map +1 -1
  409. package/dist/index.cjs75.js.map +1 -1
  410. package/dist/index.cjs76.js.map +1 -1
  411. package/dist/index.cjs77.js.map +1 -1
  412. package/dist/index.cjs78.js.map +1 -1
  413. package/dist/index.cjs79.js.map +1 -1
  414. package/dist/index.cjs8.js.map +1 -1
  415. package/dist/index.cjs80.js.map +1 -1
  416. package/dist/index.cjs81.js.map +1 -1
  417. package/dist/index.cjs82.js.map +1 -1
  418. package/dist/index.cjs83.js.map +1 -1
  419. package/dist/index.cjs84.js.map +1 -1
  420. package/dist/index.cjs85.js.map +1 -1
  421. package/dist/index.cjs86.js.map +1 -1
  422. package/dist/index.cjs87.js.map +1 -1
  423. package/dist/index.cjs88.js.map +1 -1
  424. package/dist/index.cjs89.js.map +1 -1
  425. package/dist/index.cjs90.js.map +1 -1
  426. package/dist/index.cjs91.js.map +1 -1
  427. package/dist/index.cjs92.js.map +1 -1
  428. package/dist/index.cjs93.js.map +1 -1
  429. package/dist/index.cjs94.js.map +1 -1
  430. package/dist/index.cjs95.js.map +1 -1
  431. package/dist/index.cjs96.js.map +1 -1
  432. package/dist/index.cjs97.js.map +1 -1
  433. package/dist/index.cjs98.js.map +1 -1
  434. package/dist/index.cjs99.js.map +1 -1
  435. package/dist/index.es.js.map +1 -1
  436. package/dist/index.es10.js.map +1 -1
  437. package/dist/index.es100.js.map +1 -1
  438. package/dist/index.es101.js +19 -22
  439. package/dist/index.es101.js.map +1 -1
  440. package/dist/index.es102.js.map +1 -1
  441. package/dist/index.es105.js.map +1 -1
  442. package/dist/index.es106.js.map +1 -1
  443. package/dist/index.es107.js.map +1 -1
  444. package/dist/index.es11.js.map +1 -1
  445. package/dist/index.es110.js.map +1 -1
  446. package/dist/index.es111.js.map +1 -1
  447. package/dist/index.es112.js.map +1 -1
  448. package/dist/index.es113.js.map +1 -1
  449. package/dist/index.es114.js.map +1 -1
  450. package/dist/index.es115.js.map +1 -1
  451. package/dist/index.es116.js.map +1 -1
  452. package/dist/index.es117.js.map +1 -1
  453. package/dist/index.es119.js.map +1 -1
  454. package/dist/index.es12.js.map +1 -1
  455. package/dist/index.es120.js.map +1 -1
  456. package/dist/index.es121.js.map +1 -1
  457. package/dist/index.es122.js.map +1 -1
  458. package/dist/index.es123.js.map +1 -1
  459. package/dist/index.es124.js.map +1 -1
  460. package/dist/index.es125.js.map +1 -1
  461. package/dist/index.es126.js.map +1 -1
  462. package/dist/index.es127.js.map +1 -1
  463. package/dist/index.es128.js.map +1 -1
  464. package/dist/index.es129.js.map +1 -1
  465. package/dist/index.es13.js.map +1 -1
  466. package/dist/index.es130.js.map +1 -1
  467. package/dist/index.es131.js.map +1 -1
  468. package/dist/index.es132.js.map +1 -1
  469. package/dist/index.es133.js.map +1 -1
  470. package/dist/index.es134.js.map +1 -1
  471. package/dist/index.es135.js.map +1 -1
  472. package/dist/index.es136.js.map +1 -1
  473. package/dist/index.es137.js.map +1 -1
  474. package/dist/index.es138.js.map +1 -1
  475. package/dist/index.es139.js.map +1 -1
  476. package/dist/index.es14.js.map +1 -1
  477. package/dist/index.es140.js.map +1 -1
  478. package/dist/index.es142.js.map +1 -1
  479. package/dist/index.es143.js.map +1 -1
  480. package/dist/index.es144.js.map +1 -1
  481. package/dist/index.es145.js.map +1 -1
  482. package/dist/index.es146.js.map +1 -1
  483. package/dist/index.es147.js.map +1 -1
  484. package/dist/index.es148.js.map +1 -1
  485. package/dist/index.es149.js.map +1 -1
  486. package/dist/index.es15.js.map +1 -1
  487. package/dist/index.es150.js.map +1 -1
  488. package/dist/index.es151.js.map +1 -1
  489. package/dist/index.es152.js.map +1 -1
  490. package/dist/index.es153.js.map +1 -1
  491. package/dist/index.es155.js.map +1 -1
  492. package/dist/index.es156.js.map +1 -1
  493. package/dist/index.es157.js.map +1 -1
  494. package/dist/index.es158.js.map +1 -1
  495. package/dist/index.es159.js.map +1 -1
  496. package/dist/index.es160.js.map +1 -1
  497. package/dist/index.es161.js.map +1 -1
  498. package/dist/index.es162.js.map +1 -1
  499. package/dist/index.es166.js.map +1 -1
  500. package/dist/index.es169.js.map +1 -1
  501. package/dist/index.es170.js.map +1 -1
  502. package/dist/index.es171.js.map +1 -1
  503. package/dist/index.es172.js.map +1 -1
  504. package/dist/index.es173.js.map +1 -1
  505. package/dist/index.es174.js.map +1 -1
  506. package/dist/index.es175.js.map +1 -1
  507. package/dist/index.es176.js.map +1 -1
  508. package/dist/index.es177.js.map +1 -1
  509. package/dist/index.es178.js.map +1 -1
  510. package/dist/index.es179.js.map +1 -1
  511. package/dist/index.es18.js.map +1 -1
  512. package/dist/index.es180.js.map +1 -1
  513. package/dist/index.es181.js.map +1 -1
  514. package/dist/index.es182.js.map +1 -1
  515. package/dist/index.es183.js.map +1 -1
  516. package/dist/index.es184.js.map +1 -1
  517. package/dist/index.es185.js.map +1 -1
  518. package/dist/index.es186.js.map +1 -1
  519. package/dist/index.es187.js.map +1 -1
  520. package/dist/index.es188.js.map +1 -1
  521. package/dist/index.es189.js.map +1 -1
  522. package/dist/index.es19.js.map +1 -1
  523. package/dist/index.es190.js.map +1 -1
  524. package/dist/index.es191.js.map +1 -1
  525. package/dist/index.es193.js.map +1 -1
  526. package/dist/index.es194.js.map +1 -1
  527. package/dist/index.es195.js.map +1 -1
  528. package/dist/index.es196.js.map +1 -1
  529. package/dist/index.es197.js.map +1 -1
  530. package/dist/index.es198.js.map +1 -1
  531. package/dist/index.es199.js.map +1 -1
  532. package/dist/index.es200.js.map +1 -1
  533. package/dist/index.es201.js.map +1 -1
  534. package/dist/index.es202.js.map +1 -1
  535. package/dist/index.es209.js.map +1 -1
  536. package/dist/index.es21.js.map +1 -1
  537. package/dist/index.es210.js.map +1 -1
  538. package/dist/index.es211.js.map +1 -1
  539. package/dist/index.es212.js.map +1 -1
  540. package/dist/index.es213.js.map +1 -1
  541. package/dist/index.es214.js.map +1 -1
  542. package/dist/index.es215.js.map +1 -1
  543. package/dist/index.es216.js.map +1 -1
  544. package/dist/index.es217.js.map +1 -1
  545. package/dist/index.es219.js.map +1 -1
  546. package/dist/index.es23.js.map +1 -1
  547. package/dist/index.es24.js.map +1 -1
  548. package/dist/index.es241.js.map +1 -1
  549. package/dist/index.es243.js.map +1 -1
  550. package/dist/index.es244.js.map +1 -1
  551. package/dist/index.es247.js.map +1 -1
  552. package/dist/index.es25.js.map +1 -1
  553. package/dist/index.es251.js.map +1 -1
  554. package/dist/index.es255.js.map +1 -1
  555. package/dist/index.es263.js.map +1 -1
  556. package/dist/index.es265.js.map +1 -1
  557. package/dist/index.es274.js.map +1 -1
  558. package/dist/index.es280.js.map +1 -1
  559. package/dist/index.es283.js.map +1 -1
  560. package/dist/index.es284.js +1 -1
  561. package/dist/index.es284.js.map +1 -1
  562. package/dist/index.es289.js.map +1 -1
  563. package/dist/index.es291.js +7 -7
  564. package/dist/index.es292.js.map +1 -1
  565. package/dist/index.es295.js.map +1 -1
  566. package/dist/index.es297.js.map +1 -1
  567. package/dist/index.es298.js.map +1 -1
  568. package/dist/index.es299.js.map +1 -1
  569. package/dist/index.es30.js.map +1 -1
  570. package/dist/index.es302.js.map +1 -1
  571. package/dist/index.es303.js.map +1 -1
  572. package/dist/index.es307.js.map +1 -1
  573. package/dist/index.es31.js.map +1 -1
  574. package/dist/index.es310.js.map +1 -1
  575. package/dist/index.es312.js.map +1 -1
  576. package/dist/index.es313.js.map +1 -1
  577. package/dist/index.es314.js.map +1 -1
  578. package/dist/index.es317.js.map +1 -1
  579. package/dist/index.es318.js.map +1 -1
  580. package/dist/index.es32.js +1 -1
  581. package/dist/index.es321.js.map +1 -1
  582. package/dist/index.es33.js +1 -1
  583. package/dist/index.es341.js +6 -6
  584. package/dist/index.es342.js +2 -2
  585. package/dist/index.es36.js.map +1 -1
  586. package/dist/index.es364.js +1 -1
  587. package/dist/index.es37.js.map +1 -1
  588. package/dist/index.es370.js +1 -1
  589. package/dist/index.es373.js.map +1 -1
  590. package/dist/index.es382.js +8 -8
  591. package/dist/index.es388.js.map +1 -1
  592. package/dist/index.es39.js.map +1 -1
  593. package/dist/index.es390.js.map +1 -1
  594. package/dist/index.es391.js.map +1 -1
  595. package/dist/index.es396.js.map +1 -1
  596. package/dist/index.es398.js +3 -3
  597. package/dist/index.es399.js +2 -2
  598. package/dist/index.es40.js.map +1 -1
  599. package/dist/index.es400.js +3 -3
  600. package/dist/index.es410.js.map +1 -1
  601. package/dist/index.es411.js.map +1 -1
  602. package/dist/index.es416.js.map +1 -1
  603. package/dist/index.es417.js.map +1 -1
  604. package/dist/index.es418.js +1 -1
  605. package/dist/index.es418.js.map +1 -1
  606. package/dist/index.es42.js.map +1 -1
  607. package/dist/index.es420.js.map +1 -1
  608. package/dist/index.es427.js +1 -1
  609. package/dist/index.es43.js.map +1 -1
  610. package/dist/index.es434.js +2 -2
  611. package/dist/index.es438.js.map +1 -1
  612. package/dist/index.es439.js +3 -3
  613. package/dist/index.es44.js.map +1 -1
  614. package/dist/index.es441.js.map +1 -1
  615. package/dist/index.es448.js +1 -1
  616. package/dist/index.es449.js +1 -1
  617. package/dist/index.es45.js.map +1 -1
  618. package/dist/index.es453.js +1 -1
  619. package/dist/index.es454.js +1 -1
  620. package/dist/index.es455.js +12 -12
  621. package/dist/index.es456.js +1 -1
  622. package/dist/index.es458.js.map +1 -1
  623. package/dist/index.es462.js +1 -1
  624. package/dist/index.es463.js +1 -1
  625. package/dist/index.es464.js +124 -14
  626. package/dist/index.es464.js.map +1 -1
  627. package/dist/{index.es471.js → index.es465.js} +2 -2
  628. package/dist/{index.es471.js.map → index.es465.js.map} +1 -1
  629. package/dist/{index.es472.js → index.es466.js} +2 -2
  630. package/dist/{index.es472.js.map → index.es466.js.map} +1 -1
  631. package/dist/{index.es473.js → index.es467.js} +1 -1
  632. package/dist/{index.es473.js.map → index.es467.js.map} +1 -1
  633. package/dist/{index.es474.js → index.es468.js} +4 -4
  634. package/dist/{index.es474.js.map → index.es468.js.map} +1 -1
  635. package/dist/{index.es475.js → index.es469.js} +1 -1
  636. package/dist/{index.es475.js.map → index.es469.js.map} +1 -1
  637. package/dist/index.es47.js.map +1 -1
  638. package/dist/index.es470.js +51 -120
  639. package/dist/index.es470.js.map +1 -1
  640. package/dist/index.es477.js +18 -0
  641. package/dist/index.es477.js.map +1 -0
  642. package/dist/index.es48.js.map +1 -1
  643. package/dist/index.es49.js.map +1 -1
  644. package/dist/index.es495.js +77 -0
  645. package/dist/index.es495.js.map +1 -0
  646. package/dist/{index.es502.js → index.es496.js} +1 -1
  647. package/dist/index.es496.js.map +1 -0
  648. package/dist/index.es497.js +5 -0
  649. package/dist/index.es497.js.map +1 -0
  650. package/dist/index.es498.js +2030 -10
  651. package/dist/index.es498.js.map +1 -1
  652. package/dist/index.es499.js +57 -202
  653. package/dist/index.es499.js.map +1 -1
  654. package/dist/index.es500.js +188 -21
  655. package/dist/index.es500.js.map +1 -1
  656. package/dist/index.es505.js +5 -5
  657. package/dist/index.es505.js.map +1 -1
  658. package/dist/index.es506.js +6 -5
  659. package/dist/index.es506.js.map +1 -1
  660. package/dist/index.es507.js +521 -3
  661. package/dist/index.es507.js.map +1 -1
  662. package/dist/index.es508.js +3674 -23
  663. package/dist/index.es508.js.map +1 -1
  664. package/dist/index.es509.js +2 -110
  665. package/dist/index.es509.js.map +1 -1
  666. package/dist/index.es51.js.map +1 -1
  667. package/dist/index.es510.js +2 -16
  668. package/dist/index.es510.js.map +1 -1
  669. package/dist/index.es511.js +2 -523
  670. package/dist/index.es511.js.map +1 -1
  671. package/dist/index.es512.js +10 -126
  672. package/dist/index.es512.js.map +1 -1
  673. package/dist/index.es513.js +42 -125
  674. package/dist/index.es513.js.map +1 -1
  675. package/dist/index.es514.js +13 -64
  676. package/dist/index.es514.js.map +1 -1
  677. package/dist/index.es515.js +215 -66
  678. package/dist/index.es515.js.map +1 -1
  679. package/dist/index.es516.js +177 -8
  680. package/dist/index.es516.js.map +1 -1
  681. package/dist/index.es517.js +4 -14
  682. package/dist/index.es517.js.map +1 -1
  683. package/dist/index.es518.js +12 -62
  684. package/dist/index.es518.js.map +1 -1
  685. package/dist/index.es519.js +2 -7
  686. package/dist/index.es519.js.map +1 -1
  687. package/dist/index.es52.js.map +1 -1
  688. package/dist/index.es520.js +133 -16
  689. package/dist/index.es520.js.map +1 -1
  690. package/dist/index.es521.js +178 -13
  691. package/dist/index.es521.js.map +1 -1
  692. package/dist/index.es522.js +8 -34
  693. package/dist/index.es522.js.map +1 -1
  694. package/dist/index.es523.js +4 -5
  695. package/dist/index.es523.js.map +1 -1
  696. package/dist/index.es524.js +205 -2
  697. package/dist/index.es524.js.map +1 -1
  698. package/dist/index.es525.js +22 -3
  699. package/dist/index.es525.js.map +1 -1
  700. package/dist/index.es526.js +392 -6
  701. package/dist/index.es526.js.map +1 -1
  702. package/dist/index.es527.js +24 -5
  703. package/dist/index.es527.js.map +1 -1
  704. package/dist/index.es528.js +29 -5
  705. package/dist/index.es528.js.map +1 -1
  706. package/dist/index.es529.js +5 -32
  707. package/dist/index.es529.js.map +1 -1
  708. package/dist/index.es53.js.map +1 -1
  709. package/dist/index.es530.js +75 -234
  710. package/dist/index.es530.js.map +1 -1
  711. package/dist/index.es531.js +5 -4
  712. package/dist/index.es531.js.map +1 -1
  713. package/dist/index.es532.js +16 -5
  714. package/dist/index.es532.js.map +1 -1
  715. package/dist/index.es533.js +13 -10
  716. package/dist/index.es533.js.map +1 -1
  717. package/dist/index.es534.js +30 -50
  718. package/dist/index.es534.js.map +1 -1
  719. package/dist/index.es535.js +5 -8
  720. package/dist/index.es535.js.map +1 -1
  721. package/dist/index.es536.js +2 -6
  722. package/dist/index.es536.js.map +1 -1
  723. package/dist/index.es537.js +3 -533
  724. package/dist/index.es537.js.map +1 -1
  725. package/dist/index.es538.js +7 -14
  726. package/dist/index.es538.js.map +1 -1
  727. package/dist/index.es539.js +6 -2
  728. package/dist/index.es539.js.map +1 -1
  729. package/dist/index.es54.js.map +1 -1
  730. package/dist/index.es540.js +5 -37
  731. package/dist/index.es540.js.map +1 -1
  732. package/dist/index.es541.js +32 -2
  733. package/dist/index.es541.js.map +1 -1
  734. package/dist/index.es542.js +216 -247
  735. package/dist/index.es542.js.map +1 -1
  736. package/dist/index.es543.js +4 -3
  737. package/dist/index.es543.js.map +1 -1
  738. package/dist/index.es544.js +5 -30
  739. package/dist/index.es544.js.map +1 -1
  740. package/dist/index.es545.js +9 -3
  741. package/dist/index.es545.js.map +1 -1
  742. package/dist/index.es546.js +53 -20
  743. package/dist/index.es546.js.map +1 -1
  744. package/dist/index.es547.js +7 -39
  745. package/dist/index.es547.js.map +1 -1
  746. package/dist/index.es548.js +6 -2
  747. package/dist/index.es548.js.map +1 -1
  748. package/dist/index.es549.js +532 -4
  749. package/dist/index.es549.js.map +1 -1
  750. package/dist/index.es550.js +14 -2
  751. package/dist/index.es550.js.map +1 -1
  752. package/dist/index.es551.js +2 -2
  753. package/dist/index.es551.js.map +1 -1
  754. package/dist/index.es552.js +37 -2
  755. package/dist/index.es552.js.map +1 -1
  756. package/dist/index.es553.js +2 -6
  757. package/dist/index.es553.js.map +1 -1
  758. package/dist/index.es554.js +270 -13
  759. package/dist/index.es554.js.map +1 -1
  760. package/dist/index.es555.js +3 -2
  761. package/dist/index.es555.js.map +1 -1
  762. package/dist/index.es556.js +30 -2
  763. package/dist/index.es556.js.map +1 -1
  764. package/dist/index.es557.js +5 -3
  765. package/dist/index.es557.js.map +1 -1
  766. package/dist/index.es558.js +3 -2
  767. package/dist/index.es558.js.map +1 -1
  768. package/dist/index.es559.js +23 -3
  769. package/dist/index.es559.js.map +1 -1
  770. package/dist/index.es56.js.map +1 -1
  771. package/dist/index.es560.js +113 -0
  772. package/dist/index.es560.js.map +1 -0
  773. package/dist/index.es561.js +19 -0
  774. package/dist/index.es561.js.map +1 -0
  775. package/dist/index.es562.js +43 -0
  776. package/dist/index.es562.js.map +1 -0
  777. package/dist/index.es563.js +5 -0
  778. package/dist/index.es563.js.map +1 -0
  779. package/dist/index.es564.js +8 -0
  780. package/dist/index.es564.js.map +1 -0
  781. package/dist/index.es565.js +2 -74
  782. package/dist/index.es565.js.map +1 -1
  783. package/dist/index.es566.js +2 -2
  784. package/dist/index.es566.js.map +1 -1
  785. package/dist/index.es567.js +2 -23
  786. package/dist/index.es567.js.map +1 -1
  787. package/dist/index.es568.js +6 -13
  788. package/dist/index.es568.js.map +1 -1
  789. package/dist/index.es569.js +14 -26
  790. package/dist/index.es569.js.map +1 -1
  791. package/dist/index.es57.js.map +1 -1
  792. package/dist/index.es570.js +2 -5
  793. package/dist/index.es570.js.map +1 -1
  794. package/dist/index.es571.js +2 -4
  795. package/dist/index.es571.js.map +1 -1
  796. package/dist/index.es572.js +3 -3
  797. package/dist/index.es572.js.map +1 -1
  798. package/dist/index.es573.js +2 -2
  799. package/dist/index.es573.js.map +1 -1
  800. package/dist/index.es574.js +3 -2031
  801. package/dist/index.es574.js.map +1 -1
  802. package/dist/index.es575.js +517 -54
  803. package/dist/index.es575.js.map +1 -1
  804. package/dist/index.es576.js +118 -180
  805. package/dist/index.es576.js.map +1 -1
  806. package/dist/index.es577.js +132 -0
  807. package/dist/index.es577.js.map +1 -0
  808. package/dist/index.es578.js +68 -0
  809. package/dist/index.es578.js.map +1 -0
  810. package/dist/index.es579.js +72 -0
  811. package/dist/index.es579.js.map +1 -0
  812. package/dist/index.es580.js +12 -0
  813. package/dist/index.es580.js.map +1 -0
  814. package/dist/index.es581.js +14 -5
  815. package/dist/index.es581.js.map +1 -1
  816. package/dist/index.es582.js +61 -3674
  817. package/dist/index.es582.js.map +1 -1
  818. package/dist/index.es583.js +4 -2
  819. package/dist/index.es583.js.map +1 -1
  820. package/dist/index.es584.js +3 -6
  821. package/dist/index.es584.js.map +1 -1
  822. package/dist/index.es585.js +2 -521
  823. package/dist/index.es585.js.map +1 -1
  824. package/dist/index.es586.js +3 -132
  825. package/dist/index.es586.js.map +1 -1
  826. package/dist/index.es587.js +21 -176
  827. package/dist/index.es587.js.map +1 -1
  828. package/dist/index.es588.js +13 -10
  829. package/dist/index.es588.js.map +1 -1
  830. package/dist/index.es589.js +27 -3
  831. package/dist/index.es589.js.map +1 -1
  832. package/dist/index.es59.js.map +1 -1
  833. package/dist/index.es590.js +7 -2
  834. package/dist/index.es590.js.map +1 -1
  835. package/dist/index.es591.js +22 -82
  836. package/dist/index.es591.js.map +1 -1
  837. package/dist/index.es60.js.map +1 -1
  838. package/dist/index.es61.js.map +1 -1
  839. package/dist/index.es62.js.map +1 -1
  840. package/dist/index.es65.js.map +1 -1
  841. package/dist/index.es67.js.map +1 -1
  842. package/dist/index.es70.js.map +1 -1
  843. package/dist/index.es72.js.map +1 -1
  844. package/dist/index.es75.js.map +1 -1
  845. package/dist/index.es76.js.map +1 -1
  846. package/dist/index.es77.js.map +1 -1
  847. package/dist/index.es78.js.map +1 -1
  848. package/dist/index.es79.js.map +1 -1
  849. package/dist/index.es8.js.map +1 -1
  850. package/dist/index.es80.js.map +1 -1
  851. package/dist/index.es81.js.map +1 -1
  852. package/dist/index.es82.js.map +1 -1
  853. package/dist/index.es83.js.map +1 -1
  854. package/dist/index.es84.js.map +1 -1
  855. package/dist/index.es85.js.map +1 -1
  856. package/dist/index.es86.js.map +1 -1
  857. package/dist/index.es87.js.map +1 -1
  858. package/dist/index.es88.js.map +1 -1
  859. package/dist/index.es89.js.map +1 -1
  860. package/dist/index.es90.js.map +1 -1
  861. package/dist/index.es91.js.map +1 -1
  862. package/dist/index.es92.js.map +1 -1
  863. package/dist/index.es93.js.map +1 -1
  864. package/dist/index.es94.js.map +1 -1
  865. package/dist/index.es95.js.map +1 -1
  866. package/dist/index.es96.js.map +1 -1
  867. package/dist/index.es97.js.map +1 -1
  868. package/dist/index.es98.js.map +1 -1
  869. package/dist/index.es99.js.map +1 -1
  870. package/package.json +115 -115
  871. package/readme.md +42 -42
  872. package/dist/index.cjs476.js +0 -2
  873. package/dist/index.cjs476.js.map +0 -1
  874. package/dist/index.cjs485.js +0 -2
  875. package/dist/index.cjs485.js.map +0 -1
  876. package/dist/index.cjs486.js +0 -2
  877. package/dist/index.cjs486.js.map +0 -1
  878. package/dist/index.cjs488.js +0 -2
  879. package/dist/index.cjs488.js.map +0 -1
  880. package/dist/index.cjs489.js +0 -2
  881. package/dist/index.cjs489.js.map +0 -1
  882. package/dist/index.cjs490.js +0 -2
  883. package/dist/index.cjs490.js.map +0 -1
  884. package/dist/index.cjs491.js +0 -2
  885. package/dist/index.cjs491.js.map +0 -1
  886. package/dist/index.cjs492.js +0 -2
  887. package/dist/index.cjs492.js.map +0 -1
  888. package/dist/index.cjs493.js +0 -2
  889. package/dist/index.cjs493.js.map +0 -1
  890. package/dist/index.cjs501.js +0 -2
  891. package/dist/index.cjs501.js.map +0 -1
  892. package/dist/index.cjs502.js.map +0 -1
  893. package/dist/index.cjs503.js +0 -2
  894. package/dist/index.cjs503.js.map +0 -1
  895. package/dist/index.cjs504.js +0 -2
  896. package/dist/index.cjs504.js.map +0 -1
  897. package/dist/index.es476.js +0 -59
  898. package/dist/index.es476.js.map +0 -1
  899. package/dist/index.es485.js +0 -5
  900. package/dist/index.es485.js.map +0 -1
  901. package/dist/index.es486.js +0 -5
  902. package/dist/index.es486.js.map +0 -1
  903. package/dist/index.es488.js +0 -14
  904. package/dist/index.es488.js.map +0 -1
  905. package/dist/index.es489.js +0 -49
  906. package/dist/index.es489.js.map +0 -1
  907. package/dist/index.es490.js +0 -17
  908. package/dist/index.es490.js.map +0 -1
  909. package/dist/index.es491.js +0 -221
  910. package/dist/index.es491.js.map +0 -1
  911. package/dist/index.es492.js +0 -181
  912. package/dist/index.es492.js.map +0 -1
  913. package/dist/index.es493.js +0 -7
  914. package/dist/index.es493.js.map +0 -1
  915. package/dist/index.es501.js +0 -396
  916. package/dist/index.es501.js.map +0 -1
  917. package/dist/index.es502.js.map +0 -1
  918. package/dist/index.es503.js +0 -28
  919. package/dist/index.es503.js.map +0 -1
  920. package/dist/index.es504.js +0 -32
  921. package/dist/index.es504.js.map +0 -1
  922. /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs42.js","sources":["../src/components/ui/ArrowLink/index.tsx"],"sourcesContent":["import { ArrowRight } from \"@/icons/ArrowRight\";\nimport { TypographyKeys } from \"@/theme/typography\";\nimport React from \"react\";\n\ntype BaseArrowLinkProps = {\n isExternal?: boolean;\n fs?: TypographyKeys;\n children: React.ReactNode;\n className?: string;\n};\n\ntype ArrowLinkAsLinkProps = BaseArrowLinkProps & {\n href: string;\n asLink?: \"a\" | React.ComponentType<any>;\n onClick?: never;\n type?: never;\n asButton?: never;\n arrowVisible?: boolean;\n};\n\ntype ArrowLinkAsButtonProps = BaseArrowLinkProps & {\n onClick?: () => void;\n type?: \"button\";\n asButton?: true;\n asLink?: never;\n href?: never;\n arrowVisible?: boolean;\n};\n\ntype ArrowLinkProps = ArrowLinkAsLinkProps | ArrowLinkAsButtonProps;\n\nexport const ArrowLink = ({\n href,\n asLink = \"a\",\n isExternal = false,\n fs = \"6\",\n children,\n className = \"\",\n onClick,\n type = \"button\",\n asButton,\n arrowVisible = true,\n ...props\n}: ArrowLinkProps) => {\n const createFontSizeClass = (size: TypographyKeys) => {\n return `fs-${size}`;\n };\n\n const fontSizeClass = createFontSizeClass(fs);\n const baseClasses = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${fontSizeClass} ${className}`;\n\n if (asButton) {\n return (\n <button\n className={`bg-transparent border-none ${baseClasses}`}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n if (onClick) {\n onClick();\n }\n }}\n type={type}\n {...props}\n >\n {children}\n {arrowVisible && (\n <ArrowRight color={\"primary\"} width={24} height={24} />\n )}\n </button>\n );\n }\n\n const LinkComponent = asLink;\n\n return (\n <LinkComponent\n className={baseClasses}\n href={href}\n target={isExternal ? \"_blank\" : undefined}\n rel={isExternal ? \"noreferrer noopener\" : undefined}\n {...props}\n >\n {children}\n {isExternal && (\n <span className=\"visually-hidden\">\n {\" \"}\n (si apre in una nuova finestra)\n </span>\n )}\n {arrowVisible && <ArrowRight color={\"primary\"} width={24} height={24} />}\n </LinkComponent>\n );\n};\n"],"names":["ArrowLink","href","asLink","isExternal","fs","children","className","onClick","type","asButton","arrowVisible","props","baseClasses","size","jsxs","e","ArrowRight","LinkComponent"],"mappings":"oJA+BaA,EAAY,CAAC,CACxB,KAAAC,EACA,OAAAC,EAAS,IACT,WAAAC,EAAa,GACb,GAAAC,EAAK,IACL,SAAAC,EACA,UAAAC,EAAY,GACZ,QAAAC,EACA,KAAAC,EAAO,SACP,SAAAC,EACA,aAAAC,EAAe,GACf,GAAGC,CACL,IAAsB,CAMpB,MAAMC,EAAc,2GALSC,GACpB,MAAMA,CAAI,IAGuBT,CAAE,CAC+F,IAAIE,CAAS,GAExJ,GAAIG,EAEA,OAAAK,EAAA,kBAAA,KAAC,SAAA,CACC,UAAW,8BAA8BF,CAAW,GACpD,QAAUG,GAAM,CACdA,EAAE,eAAe,EACjBA,EAAE,gBAAgB,EACdR,GACMA,EAAA,CAEZ,EACA,KAAAC,EACC,GAAGG,EAEH,SAAA,CAAAN,EACAK,2BACEM,EAAW,WAAA,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CAEzD,EAIJ,MAAMC,EAAgBf,EAGpB,OAAAY,EAAA,kBAAA,KAACG,EAAA,CACC,UAAWL,EACX,KAAAX,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OACzC,GAAGQ,EAEH,SAAA,CAAAN,EACAF,GACCW,EAAA,kBAAA,KAAC,OAAK,CAAA,UAAU,kBACb,SAAA,CAAA,IAAI,iCAAA,EAEP,EAEDJ,2BAAiBM,EAAW,WAAA,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACxE,CAEJ"}
1
+ {"version":3,"file":"index.cjs42.js","sources":["../src/components/ui/ArrowLink/index.tsx"],"sourcesContent":["import { ArrowRight } from \"@/icons/ArrowRight\";\r\nimport { TypographyKeys } from \"@/theme/typography\";\r\nimport React from \"react\";\r\n\r\ntype BaseArrowLinkProps = {\r\n isExternal?: boolean;\r\n fs?: TypographyKeys;\r\n children: React.ReactNode;\r\n className?: string;\r\n};\r\n\r\ntype ArrowLinkAsLinkProps = BaseArrowLinkProps & {\r\n href: string;\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n onClick?: never;\r\n type?: never;\r\n asButton?: never;\r\n arrowVisible?: boolean;\r\n};\r\n\r\ntype ArrowLinkAsButtonProps = BaseArrowLinkProps & {\r\n onClick?: () => void;\r\n type?: \"button\";\r\n asButton?: true;\r\n asLink?: never;\r\n href?: never;\r\n arrowVisible?: boolean;\r\n};\r\n\r\ntype ArrowLinkProps = ArrowLinkAsLinkProps | ArrowLinkAsButtonProps;\r\n\r\nexport const ArrowLink = ({\r\n href,\r\n asLink = \"a\",\r\n isExternal = false,\r\n fs = \"6\",\r\n children,\r\n className = \"\",\r\n onClick,\r\n type = \"button\",\r\n asButton,\r\n arrowVisible = true,\r\n ...props\r\n}: ArrowLinkProps) => {\r\n const createFontSizeClass = (size: TypographyKeys) => {\r\n return `fs-${size}`;\r\n };\r\n\r\n const fontSizeClass = createFontSizeClass(fs);\r\n const baseClasses = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${fontSizeClass} ${className}`;\r\n\r\n if (asButton) {\r\n return (\r\n <button\r\n className={`bg-transparent border-none ${baseClasses}`}\r\n onClick={(e) => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n if (onClick) {\r\n onClick();\r\n }\r\n }}\r\n type={type}\r\n {...props}\r\n >\r\n {children}\r\n {arrowVisible && (\r\n <ArrowRight color={\"primary\"} width={24} height={24} />\r\n )}\r\n </button>\r\n );\r\n }\r\n\r\n const LinkComponent = asLink;\r\n\r\n return (\r\n <LinkComponent\r\n className={baseClasses}\r\n href={href}\r\n target={isExternal ? \"_blank\" : undefined}\r\n rel={isExternal ? \"noreferrer noopener\" : undefined}\r\n {...props}\r\n >\r\n {children}\r\n {isExternal && (\r\n <span className=\"visually-hidden\">\r\n {\" \"}\r\n (si apre in una nuova finestra)\r\n </span>\r\n )}\r\n {arrowVisible && <ArrowRight color={\"primary\"} width={24} height={24} />}\r\n </LinkComponent>\r\n );\r\n};\r\n"],"names":["ArrowLink","href","asLink","isExternal","fs","children","className","onClick","type","asButton","arrowVisible","props","baseClasses","size","jsxs","e","ArrowRight","LinkComponent"],"mappings":"oJA+BaA,EAAY,CAAC,CACxB,KAAAC,EACA,OAAAC,EAAS,IACT,WAAAC,EAAa,GACb,GAAAC,EAAK,IACL,SAAAC,EACA,UAAAC,EAAY,GACZ,QAAAC,EACA,KAAAC,EAAO,SACP,SAAAC,EACA,aAAAC,EAAe,GACf,GAAGC,CACL,IAAsB,CAMpB,MAAMC,EAAc,2GALSC,GACpB,MAAMA,CAAI,IAGuBT,CAAE,CAC+F,IAAIE,CAAS,GAExJ,GAAIG,EAEA,OAAAK,EAAA,kBAAA,KAAC,SAAA,CACC,UAAW,8BAA8BF,CAAW,GACpD,QAAUG,GAAM,CACdA,EAAE,eAAe,EACjBA,EAAE,gBAAgB,EACdR,GACMA,EAAA,CAEZ,EACA,KAAAC,EACC,GAAGG,EAEH,SAAA,CAAAN,EACAK,2BACEM,EAAW,WAAA,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CAEzD,EAIJ,MAAMC,EAAgBf,EAGpB,OAAAY,EAAA,kBAAA,KAACG,EAAA,CACC,UAAWL,EACX,KAAAX,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OACzC,GAAGQ,EAEH,SAAA,CAAAN,EACAF,GACCW,EAAA,kBAAA,KAAC,OAAK,CAAA,UAAU,kBACb,SAAA,CAAA,IAAI,iCAAA,EAEP,EAEDJ,2BAAiBM,EAAW,WAAA,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACxE,CAEJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs420.js","sources":["../src/icons/CtaCardIcon/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons.ts\";\n\nexport const CtaCardIcon = ({className}: IconProps) => {\n return (\n <svg className={className} width=\"121\" height=\"49\" viewBox=\"0 0 121 49\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect width=\"121\" height=\"49\" fill=\"#C5C7C9\" />\n <g clipPath=\"url(#clip0_16364_119694)\">\n <rect width=\"1440\" height=\"35228\" transform=\"translate(-608 -31452)\" fill=\"white\" />\n <rect width=\"1440\" height=\"29722\" transform=\"translate(-608 -29136)\" fill=\"white\" />\n <rect width=\"1055\" height=\"29848.1\" transform=\"translate(-223 -29136)\" fill=\"white\" />\n <rect width=\"900\" height=\"29848.1\" transform=\"translate(-223 -29136)\" fill=\"white\" />\n <g clipPath=\"url(#clip1_16364_119694)\" filter=\"url(#filter0_d_16364_119694)\">\n <rect x=\"-199\" y=\"-47.9004\" width=\"320\" height=\"96\" rx=\"4\" fill=\"#0066CC\" />\n <mask id=\"path-2-inside-1_16364_119694\" fill=\"white\">\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M103.231 7.5H44.0314V44.1287L7.40001 44.1287L7.40001 103.329H44.0314V140.7H103.231V103.329H140.6V44.1287L103.231 44.1287V7.5Z\" />\n </mask>\n <path d=\"M44.0314 7.5V3.5H40.0314V7.5H44.0314ZM103.231 7.5H107.231V3.5H103.231V7.5ZM44.0314 44.1287V48.1287H48.0314V44.1287H44.0314ZM7.40001 44.1287L7.40001 40.1287H3.40001L3.40001 44.1287H7.40001ZM7.40001 103.329H3.40001V107.329H7.40001V103.329ZM44.0314 103.329H48.0314V99.3287H44.0314V103.329ZM44.0314 140.7H40.0314V144.7H44.0314V140.7ZM103.231 140.7V144.7H107.231V140.7H103.231ZM103.231 103.329V99.3287H99.2314V103.329H103.231ZM140.6 103.329V107.329H144.6V103.329H140.6ZM140.6 44.1287H144.6V40.1287H140.6V44.1287ZM103.231 44.1287H99.2314V48.1287H103.231V44.1287ZM44.0314 11.5H103.231V3.5H44.0314V11.5ZM48.0314 44.1287V7.5H40.0314V44.1287H48.0314ZM7.40001 48.1287L44.0314 48.1287V40.1287L7.40001 40.1287L7.40001 48.1287ZM11.4 103.329L11.4 44.1287H3.40001L3.40001 103.329H11.4ZM44.0314 99.3287H7.40001V107.329H44.0314V99.3287ZM48.0314 140.7V103.329H40.0314V140.7H48.0314ZM103.231 136.7H44.0314V144.7H103.231V136.7ZM99.2314 103.329V140.7H107.231V103.329H99.2314ZM140.6 99.3287H103.231V107.329H140.6V99.3287ZM136.6 44.1287V103.329H144.6V44.1287H136.6ZM103.231 48.1287L140.6 48.1287V40.1287L103.231 40.1287V48.1287ZM99.2314 7.5V44.1287H107.231V7.5H99.2314Z\" fill=\"white\" mask=\"url(#path-2-inside-1_16364_119694)\" />\n <g opacity=\"0.4\">\n <mask id=\"path-4-inside-2_16364_119694\" fill=\"white\">\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M75.363 6.85156H53.363V20.4641L39.75 20.4641V42.4641H53.363V56.3516H75.363V42.4641H89.25V20.4641L75.363 20.4641V6.85156Z\" />\n </mask>\n <path d=\"M53.363 6.85156V3.85156H50.363V6.85156H53.363ZM75.363 6.85156H78.363V3.85156H75.363V6.85156ZM53.363 20.4641V23.4641H56.363V20.4641H53.363ZM39.75 20.4641L39.75 17.4641H36.75V20.4641H39.75ZM39.75 42.4641H36.75V45.4641H39.75V42.4641ZM53.363 42.4641H56.363V39.4641H53.363V42.4641ZM53.363 56.3516H50.363V59.3516H53.363V56.3516ZM75.363 56.3516V59.3516H78.363V56.3516H75.363ZM75.363 42.4641V39.4641H72.363V42.4641H75.363ZM89.25 42.4641V45.4641H92.25V42.4641H89.25ZM89.25 20.4641H92.25V17.4641H89.25V20.4641ZM75.363 20.4641H72.363V23.4641H75.363V20.4641ZM53.363 9.85156H75.363V3.85156H53.363V9.85156ZM56.363 20.4641V6.85156H50.363V20.4641H56.363ZM39.75 23.4641L53.363 23.4641V17.4641L39.75 17.4641L39.75 23.4641ZM42.75 42.4641V20.4641H36.75V42.4641H42.75ZM53.363 39.4641H39.75V45.4641H53.363V39.4641ZM56.363 56.3516V42.4641H50.363V56.3516H56.363ZM75.363 53.3516H53.363V59.3516H75.363V53.3516ZM72.363 42.4641V56.3516H78.363V42.4641H72.363ZM89.25 39.4641H75.363V45.4641H89.25V39.4641ZM86.25 20.4641V42.4641H92.25V20.4641H86.25ZM75.363 23.4641H89.25V17.4641L75.363 17.4641V23.4641ZM72.363 6.85156V20.4641H78.363V6.85156H72.363Z\" fill=\"white\" mask=\"url(#path-4-inside-2_16364_119694)\" />\n </g>\n </g>\n </g>\n <defs>\n <filter id=\"filter0_d_16364_119694\" x=\"-215\" y=\"-63.9004\" width=\"352\" height=\"128\" filterUnits=\"userSpaceOnUse\" colorInterpolationFilters=\"sRGB\">\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n <feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\" />\n <feOffset />\n <feGaussianBlur stdDeviation=\"8\" />\n <feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\" />\n <feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_16364_119694\" />\n <feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_16364_119694\" result=\"shape\" />\n </filter>\n <clipPath id=\"clip0_16364_119694\">\n <rect width=\"1440\" height=\"35228\" fill=\"white\" transform=\"translate(-608 -31452)\" />\n </clipPath>\n <clipPath id=\"clip1_16364_119694\">\n <rect width=\"320\" height=\"96\" fill=\"white\" transform=\"translate(-199 -47.9004)\" />\n </clipPath>\n </defs>\n </svg>\n );\n};\n"],"names":["CtaCardIcon","className","jsxs","jsx"],"mappings":"qHAEaA,EAAc,CAAC,CAAC,UAAAC,KAExBC,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAAD,EAAsB,MAAM,MAAM,OAAO,KAAK,QAAQ,aAAa,KAAK,OAAO,MAAM,6BACxF,SAAA,CAAAE,wBAAC,QAAK,MAAM,MAAM,OAAO,KAAK,KAAK,UAAU,EAC7CD,EAAAA,kBAAAA,KAAC,IAAE,CAAA,SAAS,2BACV,SAAA,CAACC,EAAAA,kBAAAA,IAAA,OAAA,CAAK,MAAM,OAAO,OAAO,QAAQ,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,OAAO,OAAO,QAAQ,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,OAAO,OAAO,UAAU,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EACpFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,MAAM,OAAO,UAAU,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFD,EAAA,kBAAA,KAAA,IAAA,CAAE,SAAS,2BAA2B,OAAO,+BAC5C,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAK,CAAA,EAAE,OAAO,EAAE,WAAW,MAAM,MAAM,OAAO,KAAK,GAAG,IAAI,KAAK,UAAU,EACzEA,EAAA,kBAAA,IAAA,OAAA,CAAK,GAAG,+BAA+B,KAAK,QAC3C,SAAAA,EAAA,kBAAA,IAAC,OAAK,CAAA,SAAS,UAAU,SAAS,UAAU,EAAE,+HAAgI,CAAA,EAChL,0BACC,OAAK,CAAA,EAAE,4nCAA4nC,KAAK,QAAQ,KAAK,qCAAqC,EAC3rCD,EAAAA,kBAAAA,KAAC,IAAE,CAAA,QAAQ,MACT,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAK,CAAA,GAAG,+BAA+B,KAAK,QAC3C,SAAAA,EAAA,kBAAA,IAAC,OAAK,CAAA,SAAS,UAAU,SAAS,UAAU,EAAE,0HAA2H,CAAA,EAC3K,0BACC,OAAK,CAAA,EAAE,+lCAA+lC,KAAK,QAAQ,KAAK,oCAAqC,CAAA,CAAA,CAChqC,CAAA,CAAA,CACF,CAAA,CAAA,EACF,2BACC,OACC,CAAA,SAAA,CAAAD,EAAA,kBAAA,KAAC,SAAO,CAAA,GAAG,yBAAyB,EAAE,OAAO,EAAE,WAAW,MAAM,MAAM,OAAO,MAAM,YAAY,iBAAiB,0BAA0B,OACxI,SAAA,CAAAC,EAAA,kBAAA,IAAC,UAAQ,CAAA,aAAa,IAAI,OAAO,qBAAqB,EACtDA,EAAAA,kBAAAA,IAAC,iBAAc,GAAG,cAAc,KAAK,SAAS,OAAO,4CAA4C,OAAO,WAAY,CAAA,0BACnH,WAAS,EAAA,EACVA,EAAAA,kBAAAA,IAAC,iBAAe,CAAA,aAAa,GAAI,CAAA,EAChCA,EAAA,kBAAA,IAAA,gBAAA,CAAc,KAAK,SAAS,OAAO,6CAA6C,0BAChF,UAAQ,CAAA,KAAK,SAAS,IAAI,qBAAqB,OAAO,kCAAkC,EACzFA,EAAAA,kBAAAA,IAAC,WAAQ,KAAK,SAAS,GAAG,gBAAgB,IAAI,kCAAkC,OAAO,OAAQ,CAAA,CAAA,EACjG,EACCA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,iCAAC,OAAK,CAAA,MAAM,OAAO,OAAO,QAAQ,KAAK,QAAQ,UAAU,wBAAyB,CAAA,EACpF,EACCA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,iCAAC,OAAK,CAAA,MAAM,MAAM,OAAO,KAAK,KAAK,QAAQ,UAAU,2BAA2B,CAClF,CAAA,CAAA,CACF,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs420.js","sources":["../src/icons/CtaCardIcon/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons.ts\";\r\n\r\nexport const CtaCardIcon = ({className}: IconProps) => {\r\n return (\r\n <svg className={className} width=\"121\" height=\"49\" viewBox=\"0 0 121 49\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect width=\"121\" height=\"49\" fill=\"#C5C7C9\" />\r\n <g clipPath=\"url(#clip0_16364_119694)\">\r\n <rect width=\"1440\" height=\"35228\" transform=\"translate(-608 -31452)\" fill=\"white\" />\r\n <rect width=\"1440\" height=\"29722\" transform=\"translate(-608 -29136)\" fill=\"white\" />\r\n <rect width=\"1055\" height=\"29848.1\" transform=\"translate(-223 -29136)\" fill=\"white\" />\r\n <rect width=\"900\" height=\"29848.1\" transform=\"translate(-223 -29136)\" fill=\"white\" />\r\n <g clipPath=\"url(#clip1_16364_119694)\" filter=\"url(#filter0_d_16364_119694)\">\r\n <rect x=\"-199\" y=\"-47.9004\" width=\"320\" height=\"96\" rx=\"4\" fill=\"#0066CC\" />\r\n <mask id=\"path-2-inside-1_16364_119694\" fill=\"white\">\r\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M103.231 7.5H44.0314V44.1287L7.40001 44.1287L7.40001 103.329H44.0314V140.7H103.231V103.329H140.6V44.1287L103.231 44.1287V7.5Z\" />\r\n </mask>\r\n <path d=\"M44.0314 7.5V3.5H40.0314V7.5H44.0314ZM103.231 7.5H107.231V3.5H103.231V7.5ZM44.0314 44.1287V48.1287H48.0314V44.1287H44.0314ZM7.40001 44.1287L7.40001 40.1287H3.40001L3.40001 44.1287H7.40001ZM7.40001 103.329H3.40001V107.329H7.40001V103.329ZM44.0314 103.329H48.0314V99.3287H44.0314V103.329ZM44.0314 140.7H40.0314V144.7H44.0314V140.7ZM103.231 140.7V144.7H107.231V140.7H103.231ZM103.231 103.329V99.3287H99.2314V103.329H103.231ZM140.6 103.329V107.329H144.6V103.329H140.6ZM140.6 44.1287H144.6V40.1287H140.6V44.1287ZM103.231 44.1287H99.2314V48.1287H103.231V44.1287ZM44.0314 11.5H103.231V3.5H44.0314V11.5ZM48.0314 44.1287V7.5H40.0314V44.1287H48.0314ZM7.40001 48.1287L44.0314 48.1287V40.1287L7.40001 40.1287L7.40001 48.1287ZM11.4 103.329L11.4 44.1287H3.40001L3.40001 103.329H11.4ZM44.0314 99.3287H7.40001V107.329H44.0314V99.3287ZM48.0314 140.7V103.329H40.0314V140.7H48.0314ZM103.231 136.7H44.0314V144.7H103.231V136.7ZM99.2314 103.329V140.7H107.231V103.329H99.2314ZM140.6 99.3287H103.231V107.329H140.6V99.3287ZM136.6 44.1287V103.329H144.6V44.1287H136.6ZM103.231 48.1287L140.6 48.1287V40.1287L103.231 40.1287V48.1287ZM99.2314 7.5V44.1287H107.231V7.5H99.2314Z\" fill=\"white\" mask=\"url(#path-2-inside-1_16364_119694)\" />\r\n <g opacity=\"0.4\">\r\n <mask id=\"path-4-inside-2_16364_119694\" fill=\"white\">\r\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M75.363 6.85156H53.363V20.4641L39.75 20.4641V42.4641H53.363V56.3516H75.363V42.4641H89.25V20.4641L75.363 20.4641V6.85156Z\" />\r\n </mask>\r\n <path d=\"M53.363 6.85156V3.85156H50.363V6.85156H53.363ZM75.363 6.85156H78.363V3.85156H75.363V6.85156ZM53.363 20.4641V23.4641H56.363V20.4641H53.363ZM39.75 20.4641L39.75 17.4641H36.75V20.4641H39.75ZM39.75 42.4641H36.75V45.4641H39.75V42.4641ZM53.363 42.4641H56.363V39.4641H53.363V42.4641ZM53.363 56.3516H50.363V59.3516H53.363V56.3516ZM75.363 56.3516V59.3516H78.363V56.3516H75.363ZM75.363 42.4641V39.4641H72.363V42.4641H75.363ZM89.25 42.4641V45.4641H92.25V42.4641H89.25ZM89.25 20.4641H92.25V17.4641H89.25V20.4641ZM75.363 20.4641H72.363V23.4641H75.363V20.4641ZM53.363 9.85156H75.363V3.85156H53.363V9.85156ZM56.363 20.4641V6.85156H50.363V20.4641H56.363ZM39.75 23.4641L53.363 23.4641V17.4641L39.75 17.4641L39.75 23.4641ZM42.75 42.4641V20.4641H36.75V42.4641H42.75ZM53.363 39.4641H39.75V45.4641H53.363V39.4641ZM56.363 56.3516V42.4641H50.363V56.3516H56.363ZM75.363 53.3516H53.363V59.3516H75.363V53.3516ZM72.363 42.4641V56.3516H78.363V42.4641H72.363ZM89.25 39.4641H75.363V45.4641H89.25V39.4641ZM86.25 20.4641V42.4641H92.25V20.4641H86.25ZM75.363 23.4641H89.25V17.4641L75.363 17.4641V23.4641ZM72.363 6.85156V20.4641H78.363V6.85156H72.363Z\" fill=\"white\" mask=\"url(#path-4-inside-2_16364_119694)\" />\r\n </g>\r\n </g>\r\n </g>\r\n <defs>\r\n <filter id=\"filter0_d_16364_119694\" x=\"-215\" y=\"-63.9004\" width=\"352\" height=\"128\" filterUnits=\"userSpaceOnUse\" colorInterpolationFilters=\"sRGB\">\r\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\r\n <feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\" />\r\n <feOffset />\r\n <feGaussianBlur stdDeviation=\"8\" />\r\n <feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\" />\r\n <feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_16364_119694\" />\r\n <feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_16364_119694\" result=\"shape\" />\r\n </filter>\r\n <clipPath id=\"clip0_16364_119694\">\r\n <rect width=\"1440\" height=\"35228\" fill=\"white\" transform=\"translate(-608 -31452)\" />\r\n </clipPath>\r\n <clipPath id=\"clip1_16364_119694\">\r\n <rect width=\"320\" height=\"96\" fill=\"white\" transform=\"translate(-199 -47.9004)\" />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n );\r\n};\r\n"],"names":["CtaCardIcon","className","jsxs","jsx"],"mappings":"qHAEaA,EAAc,CAAC,CAAC,UAAAC,KAExBC,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAAD,EAAsB,MAAM,MAAM,OAAO,KAAK,QAAQ,aAAa,KAAK,OAAO,MAAM,6BACxF,SAAA,CAAAE,wBAAC,QAAK,MAAM,MAAM,OAAO,KAAK,KAAK,UAAU,EAC7CD,EAAAA,kBAAAA,KAAC,IAAE,CAAA,SAAS,2BACV,SAAA,CAACC,EAAAA,kBAAAA,IAAA,OAAA,CAAK,MAAM,OAAO,OAAO,QAAQ,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,OAAO,OAAO,QAAQ,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,OAAO,OAAO,UAAU,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EACpFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,MAAM,OAAO,UAAU,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFD,EAAA,kBAAA,KAAA,IAAA,CAAE,SAAS,2BAA2B,OAAO,+BAC5C,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAK,CAAA,EAAE,OAAO,EAAE,WAAW,MAAM,MAAM,OAAO,KAAK,GAAG,IAAI,KAAK,UAAU,EACzEA,EAAA,kBAAA,IAAA,OAAA,CAAK,GAAG,+BAA+B,KAAK,QAC3C,SAAAA,EAAA,kBAAA,IAAC,OAAK,CAAA,SAAS,UAAU,SAAS,UAAU,EAAE,+HAAgI,CAAA,EAChL,0BACC,OAAK,CAAA,EAAE,4nCAA4nC,KAAK,QAAQ,KAAK,qCAAqC,EAC3rCD,EAAAA,kBAAAA,KAAC,IAAE,CAAA,QAAQ,MACT,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAK,CAAA,GAAG,+BAA+B,KAAK,QAC3C,SAAAA,EAAA,kBAAA,IAAC,OAAK,CAAA,SAAS,UAAU,SAAS,UAAU,EAAE,0HAA2H,CAAA,EAC3K,0BACC,OAAK,CAAA,EAAE,+lCAA+lC,KAAK,QAAQ,KAAK,oCAAqC,CAAA,CAAA,CAChqC,CAAA,CAAA,CACF,CAAA,CAAA,EACF,2BACC,OACC,CAAA,SAAA,CAAAD,EAAA,kBAAA,KAAC,SAAO,CAAA,GAAG,yBAAyB,EAAE,OAAO,EAAE,WAAW,MAAM,MAAM,OAAO,MAAM,YAAY,iBAAiB,0BAA0B,OACxI,SAAA,CAAAC,EAAA,kBAAA,IAAC,UAAQ,CAAA,aAAa,IAAI,OAAO,qBAAqB,EACtDA,EAAAA,kBAAAA,IAAC,iBAAc,GAAG,cAAc,KAAK,SAAS,OAAO,4CAA4C,OAAO,WAAY,CAAA,0BACnH,WAAS,EAAA,EACVA,EAAAA,kBAAAA,IAAC,iBAAe,CAAA,aAAa,GAAI,CAAA,EAChCA,EAAA,kBAAA,IAAA,gBAAA,CAAc,KAAK,SAAS,OAAO,6CAA6C,0BAChF,UAAQ,CAAA,KAAK,SAAS,IAAI,qBAAqB,OAAO,kCAAkC,EACzFA,EAAAA,kBAAAA,IAAC,WAAQ,KAAK,SAAS,GAAG,gBAAgB,IAAI,kCAAkC,OAAO,OAAQ,CAAA,CAAA,EACjG,EACCA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,iCAAC,OAAK,CAAA,MAAM,OAAO,OAAO,QAAQ,KAAK,QAAQ,UAAU,wBAAyB,CAAA,EACpF,EACCA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,iCAAC,OAAK,CAAA,MAAM,MAAM,OAAO,KAAK,KAAK,QAAQ,UAAU,2BAA2B,CAClF,CAAA,CAAA,CACF,CAAA,CAAA,EACF"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs582.js");var r=e.__require();exports.lodashExports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs508.js");var r=e.__require();exports.lodashExports=r;
2
2
  //# sourceMappingURL=index.cjs427.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs43.js","sources":["../src/components/ui/EntryButton/index.tsx"],"sourcesContent":["import { Spid } from \"@/icons/Spid\";\nimport \"./EntryButton.scss\";\nimport { Row } from \"@/components\";\n\ntype EntryButtonProps = {\n href: string;\n asLink?: \"a\" | React.ComponentType<any>;\n showIcon?: boolean;\n ariaLabel: string;\n children: React.ReactNode;\n};\n\nexport const EntryButton = ({\n href,\n asLink = \"a\",\n showIcon = false,\n ariaLabel = \"Accedi con SPID\",\n children,\n}: EntryButtonProps) => {\n const LinkComponent = asLink;\n\n return (\n <LinkComponent\n className=\"bg-primary min-h-x40 h-full base-row align-items-center br-x4 min-w-x252 text-decoration-none ui-entry-btn\"\n href={href}\n rel={\"noreferrer noopener\"}\n >\n <Row py={\"x8\"} px={\"x12\"} className=\"items-center ui-entry-btn-spid\">\n {showIcon ? (\n <Spid color=\"white\" />\n ) : (\n <div style={{ width: 24, height: 24 }} aria-hidden=\"true\" />\n )}\n </Row>\n <span\n className=\"p-x8 fw-bold text-white text-decoration-none fs-6\"\n rel={\"noreferrer noopener\"}\n >\n {children}\n {ariaLabel && <span className=\"visually-hidden\">{ariaLabel}</span>}\n </span>\n </LinkComponent>\n );\n};\n"],"names":["EntryButton","href","asLink","showIcon","ariaLabel","children","LinkComponent","jsxs","jsx","Row","Spid"],"mappings":"oNAYaA,EAAc,CAAC,CAC1B,KAAAC,EACA,OAAAC,EAAS,IACT,SAAAC,EAAW,GACX,UAAAC,EAAY,kBACZ,SAAAC,CACF,IAAwB,CACtB,MAAMC,EAAgBJ,EAGpB,OAAAK,EAAA,kBAAA,KAACD,EAAA,CACC,UAAU,6GACV,KAAAL,EACA,IAAK,sBAEL,SAAA,CAACO,EAAAA,kBAAAA,IAAAC,EAAAA,IAAA,CAAI,GAAI,KAAM,GAAI,MAAO,UAAU,iCACjC,SAAAN,EACEK,EAAA,kBAAA,IAAAE,EAAA,KAAA,CAAK,MAAM,OAAA,CAAQ,EAEnBF,EAAA,kBAAA,IAAA,MAAA,CAAI,MAAO,CAAE,MAAO,GAAI,OAAQ,EAAG,EAAG,cAAY,MAAA,CAAO,CAE9D,CAAA,EACAD,EAAA,kBAAA,KAAC,OAAA,CACC,UAAU,oDACV,IAAK,sBAEJ,SAAA,CAAAF,EACAD,GAAaI,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,kBAAmB,SAAUJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAC7D,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs43.js","sources":["../src/components/ui/EntryButton/index.tsx"],"sourcesContent":["import { Spid } from \"@/icons/Spid\";\r\nimport \"./EntryButton.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype EntryButtonProps = {\r\n href: string;\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n showIcon?: boolean;\r\n ariaLabel: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const EntryButton = ({\r\n href,\r\n asLink = \"a\",\r\n showIcon = false,\r\n ariaLabel = \"Accedi con SPID\",\r\n children,\r\n}: EntryButtonProps) => {\r\n const LinkComponent = asLink;\r\n\r\n return (\r\n <LinkComponent\r\n className=\"bg-primary min-h-x40 h-full base-row align-items-center br-x4 min-w-x252 text-decoration-none ui-entry-btn\"\r\n href={href}\r\n rel={\"noreferrer noopener\"}\r\n >\r\n <Row py={\"x8\"} px={\"x12\"} className=\"items-center ui-entry-btn-spid\">\r\n {showIcon ? (\r\n <Spid color=\"white\" />\r\n ) : (\r\n <div style={{ width: 24, height: 24 }} aria-hidden=\"true\" />\r\n )}\r\n </Row>\r\n <span\r\n className=\"p-x8 fw-bold text-white text-decoration-none fs-6\"\r\n rel={\"noreferrer noopener\"}\r\n >\r\n {children}\r\n {ariaLabel && <span className=\"visually-hidden\">{ariaLabel}</span>}\r\n </span>\r\n </LinkComponent>\r\n );\r\n};\r\n"],"names":["EntryButton","href","asLink","showIcon","ariaLabel","children","LinkComponent","jsxs","jsx","Row","Spid"],"mappings":"oNAYaA,EAAc,CAAC,CAC1B,KAAAC,EACA,OAAAC,EAAS,IACT,SAAAC,EAAW,GACX,UAAAC,EAAY,kBACZ,SAAAC,CACF,IAAwB,CACtB,MAAMC,EAAgBJ,EAGpB,OAAAK,EAAA,kBAAA,KAACD,EAAA,CACC,UAAU,6GACV,KAAAL,EACA,IAAK,sBAEL,SAAA,CAACO,EAAAA,kBAAAA,IAAAC,EAAAA,IAAA,CAAI,GAAI,KAAM,GAAI,MAAO,UAAU,iCACjC,SAAAN,EACEK,EAAA,kBAAA,IAAAE,EAAA,KAAA,CAAK,MAAM,OAAA,CAAQ,EAEnBF,EAAA,kBAAA,IAAA,MAAA,CAAI,MAAO,CAAE,MAAO,GAAI,OAAQ,EAAG,EAAG,cAAY,MAAA,CAAO,CAE9D,CAAA,EACAD,EAAA,kBAAA,KAAC,OAAA,CACC,UAAU,oDACV,IAAK,sBAEJ,SAAA,CAAAF,EACAD,GAAaI,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,kBAAmB,SAAUJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAC7D,CAAA,CACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs502.js"),e=require("./index.cjs584.js");var s=e.__require();const o=r.getDefaultExportFromCjs(s);module.exports=o;
1
+ "use strict";const r=require("./index.cjs496.js"),e=require("./index.cjs506.js");var s=e.__require();const o=r.getDefaultExportFromCjs(s);module.exports=o;
2
2
  //# sourceMappingURL=index.cjs434.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs438.js","sources":["../src/utils/useDebouncedValue.ts"],"sourcesContent":["import { useEffect, useState } from \"react\";\n\nexport function useDebouncedValue<T>(value: T, delay: number = 300): T {\n const [debouncedValue, setDebouncedValue] = useState(value);\n\n useEffect(() => {\n const timer = setTimeout(() => setDebouncedValue(value), delay);\n return () => clearTimeout(timer);\n }, [value, delay]);\n\n return debouncedValue;\n}\n"],"names":["useDebouncedValue","value","delay","debouncedValue","setDebouncedValue","useState","useEffect","timer"],"mappings":"yGAEgB,SAAAA,EAAqBC,EAAUC,EAAgB,IAAQ,CACrE,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAAA,SAASJ,CAAK,EAE1DK,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAMC,EAAQ,WAAW,IAAMH,EAAkBH,CAAK,EAAGC,CAAK,EACvD,MAAA,IAAM,aAAaK,CAAK,CAAA,EAC9B,CAACN,EAAOC,CAAK,CAAC,EAEVC,CACT"}
1
+ {"version":3,"file":"index.cjs438.js","sources":["../src/utils/useDebouncedValue.ts"],"sourcesContent":["import { useEffect, useState } from \"react\";\r\n\r\nexport function useDebouncedValue<T>(value: T, delay: number = 300): T {\r\n const [debouncedValue, setDebouncedValue] = useState(value);\r\n\r\n useEffect(() => {\r\n const timer = setTimeout(() => setDebouncedValue(value), delay);\r\n return () => clearTimeout(timer);\r\n }, [value, delay]);\r\n\r\n return debouncedValue;\r\n}\r\n"],"names":["useDebouncedValue","value","delay","debouncedValue","setDebouncedValue","useState","useEffect","timer"],"mappings":"yGAEgB,SAAAA,EAAqBC,EAAUC,EAAgB,IAAQ,CACrE,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAAA,SAASJ,CAAK,EAE1DK,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAMC,EAAQ,WAAW,IAAMH,EAAkBH,CAAK,EAAGC,CAAK,EACvD,MAAA,IAAM,aAAaK,CAAK,CAAA,EAC9B,CAACN,EAAOC,CAAK,CAAC,EAEVC,CACT"}
@@ -1,2 +1,2 @@
1
- "use strict";const F=require("./index.cjs586.js"),y=require("./index.cjs589.js"),a=require("./index.cjs587.js");function K(P){let{swiper:i,extendParams:N,on:o}=P;N({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),i.a11y={clicked:!1};let r=null,p,u,L=new Date().getTime();function f(e){const t=r;t.length!==0&&(t.innerHTML="",t.innerHTML=e)}function B(e){const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function g(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","0")})}function M(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","-1")})}function m(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("role",t)})}function x(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-roledescription",t)})}function q(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-controls",t)})}function E(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-label",t)})}function O(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("id",t)})}function H(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-live",t)})}function w(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!0)})}function A(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!1)})}function d(e){if(e.keyCode!==13&&e.keyCode!==32)return;const t=i.params.a11y,n=e.target;if(!(i.pagination&&i.pagination.el&&(n===i.pagination.el||i.pagination.el.contains(e.target))&&!e.target.matches(y.c(i.params.pagination.bulletClass)))){if(i.navigation&&i.navigation.prevEl&&i.navigation.nextEl){const s=a.m(i.navigation.prevEl);a.m(i.navigation.nextEl).includes(n)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?f(t.lastSlideMessage):f(t.nextSlideMessage)),s.includes(n)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?f(t.firstSlideMessage):f(t.prevSlideMessage))}i.pagination&&n.matches(y.c(i.params.pagination.bulletClass))&&n.click()}}function G(){if(i.params.loop||i.params.rewind||!i.navigation)return;const{nextEl:e,prevEl:t}=i.navigation;t&&(i.isBeginning?(w(t),M(t)):(A(t),g(t))),e&&(i.isEnd?(w(e),M(e)):(A(e),g(e)))}function k(){return i.pagination&&i.pagination.bullets&&i.pagination.bullets.length}function C(){return k()&&i.params.pagination.clickable}function U(){const e=i.params.a11y;k()&&i.pagination.bullets.forEach(t=>{i.params.pagination.clickable&&(g(t),i.params.pagination.renderBullet||(m(t,"button"),E(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.h(t)+1)))),t.matches(y.c(i.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}const S=(e,t,n)=>{g(e),e.tagName!=="BUTTON"&&(m(e,"button"),e.addEventListener("keydown",d)),E(e,n),q(e,t)},R=e=>{u&&u!==e.target&&!u.contains(e.target)&&(p=!0),i.a11y.clicked=!0},T=()=>{p=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.destroyed||(i.a11y.clicked=!1)})})},D=e=>{L=new Date().getTime()},h=e=>{if(i.a11y.clicked||!i.params.a11y.scrollOnFocus||new Date().getTime()-L<100)return;const t=e.target.closest(`.${i.params.slideClass}, swiper-slide`);if(!t||!i.slides.includes(t))return;u=t;const n=i.slides.indexOf(t)===i.activeIndex,s=i.params.watchSlidesProgress&&i.visibleSlides&&i.visibleSlides.includes(t);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(i.isHorizontal()?i.el.scrollLeft=0:i.el.scrollTop=0,requestAnimationFrame(()=>{p||(i.params.loop?i.slideToLoop(parseInt(t.getAttribute("data-swiper-slide-index")),0):i.slideTo(i.slides.indexOf(t),0),p=!1)}))},I=()=>{const e=i.params.a11y;e.itemRoleDescriptionMessage&&x(i.slides,e.itemRoleDescriptionMessage),e.slideRole&&m(i.slides,e.slideRole);const t=i.slides.length;e.slideLabelMessage&&i.slides.forEach((n,s)=>{const l=i.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s,c=e.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,t);E(n,c)})},V=()=>{const e=i.params.a11y;i.el.append(r);const t=i.el;e.containerRoleDescriptionMessage&&x(t,e.containerRoleDescriptionMessage),e.containerMessage&&E(t,e.containerMessage),e.containerRole&&m(t,e.containerRole);const n=i.wrapperEl,s=e.id||n.getAttribute("id")||`swiper-wrapper-${B(16)}`,l=i.params.autoplay&&i.params.autoplay.enabled?"off":"polite";O(n,s),H(n,l),I();let{nextEl:c,prevEl:v}=i.navigation?i.navigation:{};c=a.m(c),v=a.m(v),c&&c.forEach(b=>S(b,s,e.nextSlideMessage)),v&&v.forEach(b=>S(b,s,e.prevSlideMessage)),C()&&a.m(i.pagination.el).forEach(z=>{z.addEventListener("keydown",d)}),F.g().addEventListener("visibilitychange",D),i.el.addEventListener("focus",h,!0),i.el.addEventListener("focus",h,!0),i.el.addEventListener("pointerdown",R,!0),i.el.addEventListener("pointerup",T,!0)};function $(){r&&r.remove();let{nextEl:e,prevEl:t}=i.navigation?i.navigation:{};e=a.m(e),t=a.m(t),e&&e.forEach(s=>s.removeEventListener("keydown",d)),t&&t.forEach(s=>s.removeEventListener("keydown",d)),C()&&a.m(i.pagination.el).forEach(l=>{l.removeEventListener("keydown",d)}),F.g().removeEventListener("visibilitychange",D),i.el&&typeof i.el!="string"&&(i.el.removeEventListener("focus",h,!0),i.el.removeEventListener("pointerdown",R,!0),i.el.removeEventListener("pointerup",T,!0))}o("beforeInit",()=>{r=a.c("span",i.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),o("afterInit",()=>{i.params.a11y.enabled&&V()}),o("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{i.params.a11y.enabled&&I()}),o("fromEdge toEdge afterInit lock unlock",()=>{i.params.a11y.enabled&&G()}),o("paginationUpdate",()=>{i.params.a11y.enabled&&U()}),o("destroy",()=>{i.params.a11y.enabled&&$()})}module.exports=K;
1
+ "use strict";const F=require("./index.cjs520.js"),y=require("./index.cjs523.js"),a=require("./index.cjs521.js");function K(P){let{swiper:i,extendParams:N,on:o}=P;N({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),i.a11y={clicked:!1};let r=null,p,u,L=new Date().getTime();function f(e){const t=r;t.length!==0&&(t.innerHTML="",t.innerHTML=e)}function B(e){const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function g(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","0")})}function M(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","-1")})}function m(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("role",t)})}function x(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-roledescription",t)})}function q(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-controls",t)})}function E(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-label",t)})}function O(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("id",t)})}function H(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-live",t)})}function w(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!0)})}function A(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!1)})}function d(e){if(e.keyCode!==13&&e.keyCode!==32)return;const t=i.params.a11y,n=e.target;if(!(i.pagination&&i.pagination.el&&(n===i.pagination.el||i.pagination.el.contains(e.target))&&!e.target.matches(y.c(i.params.pagination.bulletClass)))){if(i.navigation&&i.navigation.prevEl&&i.navigation.nextEl){const s=a.m(i.navigation.prevEl);a.m(i.navigation.nextEl).includes(n)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?f(t.lastSlideMessage):f(t.nextSlideMessage)),s.includes(n)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?f(t.firstSlideMessage):f(t.prevSlideMessage))}i.pagination&&n.matches(y.c(i.params.pagination.bulletClass))&&n.click()}}function G(){if(i.params.loop||i.params.rewind||!i.navigation)return;const{nextEl:e,prevEl:t}=i.navigation;t&&(i.isBeginning?(w(t),M(t)):(A(t),g(t))),e&&(i.isEnd?(w(e),M(e)):(A(e),g(e)))}function k(){return i.pagination&&i.pagination.bullets&&i.pagination.bullets.length}function C(){return k()&&i.params.pagination.clickable}function U(){const e=i.params.a11y;k()&&i.pagination.bullets.forEach(t=>{i.params.pagination.clickable&&(g(t),i.params.pagination.renderBullet||(m(t,"button"),E(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.h(t)+1)))),t.matches(y.c(i.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}const S=(e,t,n)=>{g(e),e.tagName!=="BUTTON"&&(m(e,"button"),e.addEventListener("keydown",d)),E(e,n),q(e,t)},R=e=>{u&&u!==e.target&&!u.contains(e.target)&&(p=!0),i.a11y.clicked=!0},T=()=>{p=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.destroyed||(i.a11y.clicked=!1)})})},D=e=>{L=new Date().getTime()},h=e=>{if(i.a11y.clicked||!i.params.a11y.scrollOnFocus||new Date().getTime()-L<100)return;const t=e.target.closest(`.${i.params.slideClass}, swiper-slide`);if(!t||!i.slides.includes(t))return;u=t;const n=i.slides.indexOf(t)===i.activeIndex,s=i.params.watchSlidesProgress&&i.visibleSlides&&i.visibleSlides.includes(t);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(i.isHorizontal()?i.el.scrollLeft=0:i.el.scrollTop=0,requestAnimationFrame(()=>{p||(i.params.loop?i.slideToLoop(parseInt(t.getAttribute("data-swiper-slide-index")),0):i.slideTo(i.slides.indexOf(t),0),p=!1)}))},I=()=>{const e=i.params.a11y;e.itemRoleDescriptionMessage&&x(i.slides,e.itemRoleDescriptionMessage),e.slideRole&&m(i.slides,e.slideRole);const t=i.slides.length;e.slideLabelMessage&&i.slides.forEach((n,s)=>{const l=i.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s,c=e.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,t);E(n,c)})},V=()=>{const e=i.params.a11y;i.el.append(r);const t=i.el;e.containerRoleDescriptionMessage&&x(t,e.containerRoleDescriptionMessage),e.containerMessage&&E(t,e.containerMessage),e.containerRole&&m(t,e.containerRole);const n=i.wrapperEl,s=e.id||n.getAttribute("id")||`swiper-wrapper-${B(16)}`,l=i.params.autoplay&&i.params.autoplay.enabled?"off":"polite";O(n,s),H(n,l),I();let{nextEl:c,prevEl:v}=i.navigation?i.navigation:{};c=a.m(c),v=a.m(v),c&&c.forEach(b=>S(b,s,e.nextSlideMessage)),v&&v.forEach(b=>S(b,s,e.prevSlideMessage)),C()&&a.m(i.pagination.el).forEach(z=>{z.addEventListener("keydown",d)}),F.g().addEventListener("visibilitychange",D),i.el.addEventListener("focus",h,!0),i.el.addEventListener("focus",h,!0),i.el.addEventListener("pointerdown",R,!0),i.el.addEventListener("pointerup",T,!0)};function $(){r&&r.remove();let{nextEl:e,prevEl:t}=i.navigation?i.navigation:{};e=a.m(e),t=a.m(t),e&&e.forEach(s=>s.removeEventListener("keydown",d)),t&&t.forEach(s=>s.removeEventListener("keydown",d)),C()&&a.m(i.pagination.el).forEach(l=>{l.removeEventListener("keydown",d)}),F.g().removeEventListener("visibilitychange",D),i.el&&typeof i.el!="string"&&(i.el.removeEventListener("focus",h,!0),i.el.removeEventListener("pointerdown",R,!0),i.el.removeEventListener("pointerup",T,!0))}o("beforeInit",()=>{r=a.c("span",i.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),o("afterInit",()=>{i.params.a11y.enabled&&V()}),o("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{i.params.a11y.enabled&&I()}),o("fromEdge toEdge afterInit lock unlock",()=>{i.params.a11y.enabled&&G()}),o("paginationUpdate",()=>{i.params.a11y.enabled&&U()}),o("destroy",()=>{i.params.a11y.enabled&&$()})}module.exports=K;
2
2
  //# sourceMappingURL=index.cjs439.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs44.js","sources":["../src/components/ui/BaseModal/index.tsx"],"sourcesContent":["\"use client\";\nimport * as Dialog from \"@radix-ui/react-dialog\";\nimport { BaseModalHeader, BaseModalHeaderV2 } from \"./BaseModalHeader\";\nimport { BaseModalFooter } from \"./BaseModalFooter\";\nimport { BaseModalContent } from \"./BaseModalContent\";\nimport { BaseModalBackHeader } from \"./BaseModalBackHeader\";\nimport \"./BaseModal.scss\";\n\ntype BaseModalProps = {\n open: boolean;\n setOpen: (open: boolean) => void;\n overrideClassNames?: string;\n overrideBaseModalClassName?: string;\n id?: string;\n role?: string;\n children: React.ReactNode;\n};\n\nconst BaseModal = ({\n open,\n setOpen,\n overrideClassNames,\n overrideBaseModalClassName = \"ui-base-modal-overlay\",\n id = undefined,\n role = \"dialog\",\n children,\n}: BaseModalProps) => {\n return (\n <Dialog.Root open={open} onOpenChange={setOpen}>\n <Dialog.Portal>\n <Dialog.Overlay className={overrideBaseModalClassName} />\n <Dialog.Content\n className={`bg-white shadow br-x4 ui-base-modal-body ${overrideClassNames ?? \"\"}`}\n id={id}\n role={role}\n >\n {children}\n </Dialog.Content>\n </Dialog.Portal>\n </Dialog.Root>\n );\n};\n\nBaseModal.Header = BaseModalHeader;\nBaseModal.HeaderV2 = BaseModalHeaderV2;\nBaseModal.HeaderBack = BaseModalBackHeader;\nBaseModal.Content = BaseModalContent;\nBaseModal.Footer = BaseModalFooter;\n\nexport { BaseModal };\n"],"names":["BaseModal","open","setOpen","overrideClassNames","overrideBaseModalClassName","id","role","children","jsx","Dialog.Root","jsxs","Dialog.Portal","Dialog.Overlay","Dialog.Content","BaseModalHeader","BaseModalHeaderV2","BaseModalBackHeader","BaseModalContent","BaseModalFooter"],"mappings":"6SAkBA,MAAMA,EAAY,CAAC,CACjB,KAAAC,EACA,QAAAC,EACA,mBAAAC,EACA,2BAAAC,EAA6B,wBAC7B,GAAAC,EAAK,OACL,KAAAC,EAAO,SACP,SAAAC,CACF,IAEIC,wBAACC,EAAAA,KAAA,CAAY,KAAAR,EAAY,aAAcC,EACrC,SAAAQ,EAAA,kBAAA,KAACC,SAAA,CACC,SAAA,CAAAH,EAAAA,kBAAAA,IAACI,EAAO,QAAP,CAAe,UAAWR,CAA4B,CAAA,EACvDI,EAAA,kBAAA,IAACK,EAAO,QAAP,CACC,UAAW,4CAA4CV,GAAsB,EAAE,GAC/E,GAAAE,EACA,KAAAC,EAEC,SAAAC,CAAA,CAAA,CACH,CAAA,CACF,CACF,CAAA,EAIJP,EAAU,OAASc,EAAA,gBACnBd,EAAU,SAAWe,EAAA,kBACrBf,EAAU,WAAagB,EAAA,oBACvBhB,EAAU,QAAUiB,EAAA,iBACpBjB,EAAU,OAASkB,EAAA"}
1
+ {"version":3,"file":"index.cjs44.js","sources":["../src/components/ui/BaseModal/index.tsx"],"sourcesContent":["\"use client\";\r\nimport * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { BaseModalHeader, BaseModalHeaderV2 } from \"./BaseModalHeader\";\r\nimport { BaseModalFooter } from \"./BaseModalFooter\";\r\nimport { BaseModalContent } from \"./BaseModalContent\";\r\nimport { BaseModalBackHeader } from \"./BaseModalBackHeader\";\r\nimport \"./BaseModal.scss\";\r\n\r\ntype BaseModalProps = {\r\n open: boolean;\r\n setOpen: (open: boolean) => void;\r\n overrideClassNames?: string;\r\n overrideBaseModalClassName?: string;\r\n id?: string;\r\n role?: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nconst BaseModal = ({\r\n open,\r\n setOpen,\r\n overrideClassNames,\r\n overrideBaseModalClassName = \"ui-base-modal-overlay\",\r\n id = undefined,\r\n role = \"dialog\",\r\n children,\r\n}: BaseModalProps) => {\r\n return (\r\n <Dialog.Root open={open} onOpenChange={setOpen}>\r\n <Dialog.Portal>\r\n <Dialog.Overlay className={overrideBaseModalClassName} />\r\n <Dialog.Content\r\n className={`bg-white shadow br-x4 ui-base-modal-body ${overrideClassNames ?? \"\"}`}\r\n id={id}\r\n role={role}\r\n >\r\n {children}\r\n </Dialog.Content>\r\n </Dialog.Portal>\r\n </Dialog.Root>\r\n );\r\n};\r\n\r\nBaseModal.Header = BaseModalHeader;\r\nBaseModal.HeaderV2 = BaseModalHeaderV2;\r\nBaseModal.HeaderBack = BaseModalBackHeader;\r\nBaseModal.Content = BaseModalContent;\r\nBaseModal.Footer = BaseModalFooter;\r\n\r\nexport { BaseModal };\r\n"],"names":["BaseModal","open","setOpen","overrideClassNames","overrideBaseModalClassName","id","role","children","jsx","Dialog.Root","jsxs","Dialog.Portal","Dialog.Overlay","Dialog.Content","BaseModalHeader","BaseModalHeaderV2","BaseModalBackHeader","BaseModalContent","BaseModalFooter"],"mappings":"6SAkBA,MAAMA,EAAY,CAAC,CACjB,KAAAC,EACA,QAAAC,EACA,mBAAAC,EACA,2BAAAC,EAA6B,wBAC7B,GAAAC,EAAK,OACL,KAAAC,EAAO,SACP,SAAAC,CACF,IAEIC,wBAACC,EAAAA,KAAA,CAAY,KAAAR,EAAY,aAAcC,EACrC,SAAAQ,EAAA,kBAAA,KAACC,SAAA,CACC,SAAA,CAAAH,EAAAA,kBAAAA,IAACI,EAAO,QAAP,CAAe,UAAWR,CAA4B,CAAA,EACvDI,EAAA,kBAAA,IAACK,EAAO,QAAP,CACC,UAAW,4CAA4CV,GAAsB,EAAE,GAC/E,GAAAE,EACA,KAAAC,EAEC,SAAAC,CAAA,CAAA,CACH,CAAA,CACF,CACF,CAAA,EAIJP,EAAU,OAASc,EAAA,gBACnBd,EAAU,SAAWe,EAAA,kBACrBf,EAAU,WAAagB,EAAA,oBACvBhB,EAAU,QAAUiB,EAAA,iBACpBjB,EAAU,OAASkB,EAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs441.js","sources":["../src/icons/Pause/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Pause = (props: IconProps) => (\n <svg\n width=\"35\"\n height=\"34\"\n viewBox=\"0 0 35 34\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g clipPath=\"url(#clip0)\">\n <path\n d=\"M29.6874 4.97921C26.4766 1.76827 22.2075 0 17.6666 0C13.1258 0 8.85664 1.76827 5.64583 4.97921C2.43496 8.19008 0.666626 12.4591 0.666626 17C0.666626 21.5409 2.43489 25.81 5.64583 29.0208C8.85671 32.2317 13.1258 34 17.6666 34C22.2075 34 26.4766 32.2317 29.6874 29.0208C32.8983 25.8099 34.6666 21.5409 34.6666 17C34.6666 12.4591 32.8984 8.19002 29.6874 4.97921ZM17.6666 31.9184C9.44062 31.9184 2.74826 25.226 2.74826 17C2.74826 8.77399 9.44062 2.08164 17.6666 2.08164C25.8926 2.08164 32.585 8.77399 32.585 17C32.585 25.226 25.8926 31.9184 17.6666 31.9184Z\"\n fill=\"white\"\n />\n <path\n d=\"M10.381 9.02039V24.9796H16.6259V9.02039H10.381ZM14.5443 22.8979H12.4626V11.102H14.5443V22.8979Z\"\n fill=\"white\"\n />\n <path\n d=\"M19.0833 9.02039V24.9796H25.3282V9.02039H19.0833ZM23.2465 22.8979H21.1649V11.102H23.2465V22.8979Z\"\n fill=\"white\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0\">\n <rect\n width=\"34\"\n height=\"34\"\n fill=\"white\"\n transform=\"translate(0.666626)\"\n />\n </clipPath>\n </defs>\n </svg>\n);\n"],"names":["Pause","props","jsxs","jsx"],"mappings":"qHAEaA,EAASC,GACpBC,EAAA,kBAAA,KAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACL,GAAGD,EAEJ,SAAA,CAACC,EAAAA,kBAAAA,KAAA,IAAA,CAAE,SAAS,cACV,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4iBACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,kGACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oGACF,KAAK,OAAA,CAAA,CACP,EACF,EACCA,wBAAA,OAAA,CACC,SAACA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,QACX,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,MAAM,KACN,OAAO,KACP,KAAK,QACL,UAAU,qBAAA,GAEd,CACF,CAAA,CAAA,CAAA,CACF"}
1
+ {"version":3,"file":"index.cjs441.js","sources":["../src/icons/Pause/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\r\n\r\nexport const Pause = (props: IconProps) => (\r\n <svg\r\n width=\"35\"\r\n height=\"34\"\r\n viewBox=\"0 0 35 34\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n {...props}\r\n >\r\n <g clipPath=\"url(#clip0)\">\r\n <path\r\n d=\"M29.6874 4.97921C26.4766 1.76827 22.2075 0 17.6666 0C13.1258 0 8.85664 1.76827 5.64583 4.97921C2.43496 8.19008 0.666626 12.4591 0.666626 17C0.666626 21.5409 2.43489 25.81 5.64583 29.0208C8.85671 32.2317 13.1258 34 17.6666 34C22.2075 34 26.4766 32.2317 29.6874 29.0208C32.8983 25.8099 34.6666 21.5409 34.6666 17C34.6666 12.4591 32.8984 8.19002 29.6874 4.97921ZM17.6666 31.9184C9.44062 31.9184 2.74826 25.226 2.74826 17C2.74826 8.77399 9.44062 2.08164 17.6666 2.08164C25.8926 2.08164 32.585 8.77399 32.585 17C32.585 25.226 25.8926 31.9184 17.6666 31.9184Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n d=\"M10.381 9.02039V24.9796H16.6259V9.02039H10.381ZM14.5443 22.8979H12.4626V11.102H14.5443V22.8979Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n d=\"M19.0833 9.02039V24.9796H25.3282V9.02039H19.0833ZM23.2465 22.8979H21.1649V11.102H23.2465V22.8979Z\"\r\n fill=\"white\"\r\n />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0\">\r\n <rect\r\n width=\"34\"\r\n height=\"34\"\r\n fill=\"white\"\r\n transform=\"translate(0.666626)\"\r\n />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n);\r\n"],"names":["Pause","props","jsxs","jsx"],"mappings":"qHAEaA,EAASC,GACpBC,EAAA,kBAAA,KAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACL,GAAGD,EAEJ,SAAA,CAACC,EAAAA,kBAAAA,KAAA,IAAA,CAAE,SAAS,cACV,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4iBACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,kGACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oGACF,KAAK,OAAA,CAAA,CACP,EACF,EACCA,wBAAA,OAAA,CACC,SAACA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,QACX,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,MAAM,KACN,OAAO,KACP,KAAK,QACL,UAAU,qBAAA,GAEd,CACF,CAAA,CAAA,CAAA,CACF"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs485.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs510.js");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs486.js"),B=require("react");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs511.js"),B=require("react");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs45.js","sources":["../src/components/ui/ConsentModal/index.tsx"],"sourcesContent":["import { BaseModal } from \"../BaseModal\";\nimport { ConsentModalHeader } from \"./ConsentModalHeader\";\nimport { ConsentModalFooter } from \"./ConsentModalFooter\";\nimport { ContentModalContent } from \"./ConsentModalContent\";\nimport clsx from \"clsx\";\nimport \"./ConsentModal.scss\";\n\ntype ConsentModalProps = {\n open: boolean;\n overrideClassNames?: string;\n setOpen: (open: boolean) => void;\n children: React.ReactNode;\n};\n\nconst ConsentModal = ({\n open,\n overrideClassNames,\n setOpen,\n children,\n}: ConsentModalProps) => {\n return (\n <BaseModal\n open={open}\n setOpen={setOpen}\n overrideClassNames={clsx(\"ui-consent-modal-override\", overrideClassNames)}\n >\n {children}\n </BaseModal>\n );\n};\n\nConsentModal.Header = ConsentModalHeader;\nConsentModal.Content = ContentModalContent;\nConsentModal.Footer = ConsentModalFooter;\n\nexport { ConsentModal };\n"],"names":["ConsentModal","open","overrideClassNames","setOpen","children","jsx","BaseModal","clsx","ConsentModalHeader","ContentModalContent","ConsentModalFooter"],"mappings":"4SAcA,MAAMA,EAAe,CAAC,CACpB,KAAAC,EACA,mBAAAC,EACA,QAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,IAACC,EAAA,UAAA,CACC,KAAAL,EACA,QAAAE,EACA,mBAAoBI,EAAAA,KAAK,4BAA6BL,CAAkB,EAEvE,SAAAE,CAAA,CACH,EAIJJ,EAAa,OAASQ,EAAA,mBACtBR,EAAa,QAAUS,EAAA,oBACvBT,EAAa,OAASU,EAAA"}
1
+ {"version":3,"file":"index.cjs45.js","sources":["../src/components/ui/ConsentModal/index.tsx"],"sourcesContent":["import { BaseModal } from \"../BaseModal\";\r\nimport { ConsentModalHeader } from \"./ConsentModalHeader\";\r\nimport { ConsentModalFooter } from \"./ConsentModalFooter\";\r\nimport { ContentModalContent } from \"./ConsentModalContent\";\r\nimport clsx from \"clsx\";\r\nimport \"./ConsentModal.scss\";\r\n\r\ntype ConsentModalProps = {\r\n open: boolean;\r\n overrideClassNames?: string;\r\n setOpen: (open: boolean) => void;\r\n children: React.ReactNode;\r\n};\r\n\r\nconst ConsentModal = ({\r\n open,\r\n overrideClassNames,\r\n setOpen,\r\n children,\r\n}: ConsentModalProps) => {\r\n return (\r\n <BaseModal\r\n open={open}\r\n setOpen={setOpen}\r\n overrideClassNames={clsx(\"ui-consent-modal-override\", overrideClassNames)}\r\n >\r\n {children}\r\n </BaseModal>\r\n );\r\n};\r\n\r\nConsentModal.Header = ConsentModalHeader;\r\nConsentModal.Content = ContentModalContent;\r\nConsentModal.Footer = ConsentModalFooter;\r\n\r\nexport { ConsentModal };\r\n"],"names":["ConsentModal","open","overrideClassNames","setOpen","children","jsx","BaseModal","clsx","ConsentModalHeader","ContentModalContent","ConsentModalFooter"],"mappings":"4SAcA,MAAMA,EAAe,CAAC,CACpB,KAAAC,EACA,mBAAAC,EACA,QAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,IAACC,EAAA,UAAA,CACC,KAAAL,EACA,QAAAE,EACA,mBAAoBI,EAAAA,KAAK,4BAA6BL,CAAkB,EAEvE,SAAAE,CAAA,CACH,EAIJJ,EAAa,OAASQ,EAAA,mBACtBR,EAAa,QAAUS,EAAA,oBACvBT,EAAa,OAASU,EAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs488.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs512.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
2
2
  //# sourceMappingURL=index.cjs453.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs476.js"),p=require("./index.cjs239.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const d=n(l),v=n(f);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],y=b.reduce((e,t)=>{const i=m.createSlot(`Primitive.${t}`),r=d.forwardRef((o,c)=>{const{asChild:s,...a}=o,u=s?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsxRuntimeExports.jsx(u,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O(e,t){e&&v.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=y;exports.dispatchDiscreteCustomEvent=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs470.js"),p=require("./index.cjs239.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const d=n(l),v=n(f);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],y=b.reduce((e,t)=>{const i=m.createSlot(`Primitive.${t}`),r=d.forwardRef((o,c)=>{const{asChild:s,...a}=o,u=s?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsxRuntimeExports.jsx(u,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O(e,t){e&&v.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=y;exports.dispatchDiscreteCustomEvent=O;
2
2
  //# sourceMappingURL=index.cjs454.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),v=require("./index.cjs450.js"),Ve=require("./index.cjs489.js"),y=require("./index.cjs451.js"),Ye=require("./index.cjs452.js"),Xe=require("./index.cjs490.js"),We=require("./index.cjs470.js"),ze=require("./index.cjs473.js"),Ze=require("./index.cjs471.js"),T=require("./index.cjs491.js"),Je=require("./index.cjs472.js"),X=require("./index.cjs463.js"),A=require("./index.cjs454.js"),W=require("./index.cjs492.js"),Qe=require("./index.cjs476.js"),be=require("./index.cjs488.js"),et=require("./index.cjs475.js"),tt=require("./index.cjs474.js"),a=require("./index.cjs239.js");function nt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=nt(Be);var oe=["Enter"," "],ot=["ArrowDown","PageUp","Home"],we=["ArrowUp","PageDown","End"],rt=[...ot,...we],st={ltr:[...oe,"ArrowRight"],rtl:[...oe,"ArrowLeft"]},ct={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[N,ut,at]=Ve.createCollection(F),[j,it]=Ye.createContextScope(F,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(F),[dt,G]=j(F),re=e=>{const{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:s,modal:l=!0}=e,m=z(n),[p,x]=r.useState(null),f=r.useRef(!1),c=be.useCallbackRef(s),d=Xe.useDirection(u);return r.useEffect(()=>{const R=()=>{f.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>f.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),a.jsxRuntimeExports.jsx(T.Root,{...m,children:a.jsxRuntimeExports.jsx(lt,{scope:n,open:t,onOpenChange:c,content:p,onContentChange:x,children:a.jsxRuntimeExports.jsx(dt,{scope:n,onClose:r.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:f,dir:d,modal:l,children:o})})})};re.displayName=F;var ft="MenuAnchor",Z=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Anchor,{...u,...o,ref:n})});Z.displayName=ft;var se="MenuPortal",[mt,Te]=j(se,{forceMount:void 0}),ce=e=>{const{__scopeMenu:n,forceMount:t,children:o,container:u}=e,s=S(se,n);return a.jsxRuntimeExports.jsx(mt,{scope:n,forceMount:t,children:a.jsxRuntimeExports.jsx(X.Presence,{present:t||s.open,children:a.jsxRuntimeExports.jsx(Je.Portal,{asChild:!0,container:u,children:o})})})};ce.displayName=se;var C="MenuContent",[pt,ue]=j(C),ae=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:l.modal?a.jsxRuntimeExports.jsx(xt,{...u,ref:n}):a.jsxRuntimeExports.jsx(vt,{...u,ref:n})})})})}),xt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu),o=r.useRef(null),u=y.useComposedRefs(n,o);return r.useEffect(()=>{const s=o.current;if(s)return et.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(ie,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:v.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),vt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(ie,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Mt=Qe.createSlot("MenuContent.ScrollLock"),ie=r.forwardRef((e,n)=>{const{__scopeMenu:t,loop:o=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:m,onEntryFocus:p,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,disableOutsideScroll:M,...P}=e,I=S(C,t),O=G(C,t),H=z(t),q=ye(t),he=ut(t),[Ge,ge]=r.useState(null),U=r.useRef(null),Ke=y.useComposedRefs(n,U,I.onContentChange),$=r.useRef(0),B=r.useRef(""),He=r.useRef(0),Q=r.useRef(null),_e=r.useRef("right"),ee=r.useRef(0),qe=M?tt:r.Fragment,Ue=M?{as:Mt,allowPinchZoom:!0}:void 0,$e=i=>{var w,je;const E=B.current+i,h=he().filter(g=>!g.disabled),_=document.activeElement,te=(w=h.find(g=>g.ref.current===_))==null?void 0:w.textValue,ne=h.map(g=>g.textValue),Pe=wt(ne,E,te),k=(je=h.find(g=>g.textValue===Pe))==null?void 0:je.ref.current;(function g(Se){B.current=Se,window.clearTimeout($.current),Se!==""&&($.current=window.setTimeout(()=>g(""),1e3))})(E),k&&setTimeout(()=>k.focus())};r.useEffect(()=>()=>window.clearTimeout($.current),[]),ze.useFocusGuards();const b=r.useCallback(i=>{var h,_;return _e.current===((h=Q.current)==null?void 0:h.side)&&Tt(i,(_=Q.current)==null?void 0:_.area)},[]);return a.jsxRuntimeExports.jsx(pt,{scope:t,searchRef:B,onItemEnter:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),onItemLeave:r.useCallback(i=>{var E;b(i)||((E=U.current)==null||E.focus(),ge(null))},[b]),onTriggerLeave:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),pointerGraceTimerRef:He,onPointerGraceIntentChange:r.useCallback(i=>{Q.current=i},[]),children:a.jsxRuntimeExports.jsx(qe,{...Ue,children:a.jsxRuntimeExports.jsx(Ze.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:v.composeEventHandlers(s,i=>{var E;i.preventDefault(),(E=U.current)==null||E.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:a.jsxRuntimeExports.jsx(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,children:a.jsxRuntimeExports.jsx(W.Root,{asChild:!0,...q,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:Ge,onCurrentTabStopIdChange:ge,onEntryFocus:v.composeEventHandlers(p,i=>{O.isUsingKeyboardRef.current||i.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsxRuntimeExports.jsx(T.Content,{role:"menu","aria-orientation":"vertical","data-state":Fe(I.open),"data-radix-menu-content":"",dir:O.dir,...H,...P,ref:Ke,style:{outline:"none",...P.style},onKeyDown:v.composeEventHandlers(P.onKeyDown,i=>{const h=i.target.closest("[data-radix-menu-content]")===i.currentTarget,_=i.ctrlKey||i.altKey||i.metaKey,te=i.key.length===1;h&&(i.key==="Tab"&&i.preventDefault(),!_&&te&&$e(i.key));const ne=U.current;if(i.target!==ne||!rt.includes(i.key))return;i.preventDefault();const k=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&k.reverse(),It(k)}),onBlur:v.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:v.composeEventHandlers(e.onPointerMove,L(i=>{const E=i.target,h=ee.current!==i.clientX;if(i.currentTarget.contains(E)&&h){const _=i.clientX>ee.current?"right":"left";_e.current=_,ee.current=i.clientX}}))})})})})})})});ae.displayName=C;var Rt="MenuGroup",J=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"group",...o,ref:n})});J.displayName=Rt;var Et="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Et;var V="MenuItem",Ie="menu.itemSelect",K=r.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:o,...u}=e,s=r.useRef(null),l=G(V,e.__scopeMenu),m=ue(V,e.__scopeMenu),p=y.useComposedRefs(n,s),x=r.useRef(!1),f=()=>{const c=s.current;if(!t&&c){const d=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});c.addEventListener(Ie,R=>o==null?void 0:o(R),{once:!0}),A.dispatchDiscreteCustomEvent(c,d),d.defaultPrevented?x.current=!1:l.onClose()}};return a.jsxRuntimeExports.jsx(Ae,{...u,ref:p,disabled:t,onClick:v.composeEventHandlers(e.onClick,f),onPointerDown:c=>{var d;(d=e.onPointerDown)==null||d.call(e,c),x.current=!0},onPointerUp:v.composeEventHandlers(e.onPointerUp,c=>{var d;x.current||(d=c.currentTarget)==null||d.click()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{const d=m.searchRef.current!=="";t||d&&c.key===" "||oe.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});K.displayName=V;var Ae=r.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:o=!1,textValue:u,...s}=e,l=ue(V,t),m=ye(t),p=r.useRef(null),x=y.useComposedRefs(n,p),[f,c]=r.useState(!1),[d,R]=r.useState("");return r.useEffect(()=>{const M=p.current;M&&R((M.textContent??"").trim())},[s.children]),a.jsxRuntimeExports.jsx(N.ItemSlot,{scope:t,disabled:o,textValue:u??d,children:a.jsxRuntimeExports.jsx(W.Item,{asChild:!0,...m,focusable:!o,children:a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:x,onPointerMove:v.composeEventHandlers(e.onPointerMove,L(M=>{o?l.onItemLeave(M):(l.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(M=>l.onItemLeave(M))),onFocus:v.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:v.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Ct="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:t,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemcheckbox","aria-checked":Y(t)?"mixed":t,...u,ref:n,"data-state":Ce(t),onSelect:v.composeEventHandlers(u.onSelect,()=>o==null?void 0:o(Y(t)?!0:!t),{checkForDefaultPrevented:!1})})})});de.displayName=Ct;var Oe="MenuRadioGroup",[ht,gt]=j(Oe,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,n)=>{const{value:t,onValueChange:o,...u}=e,s=be.useCallbackRef(o);return a.jsxRuntimeExports.jsx(ht,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var ke="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=gt(ke,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:s,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemradio","aria-checked":s,...o,ref:n,"data-state":Ce(s),onSelect:v.composeEventHandlers(o.onSelect,()=>{var l;return(l=u.onValueChange)==null?void 0:l.call(u,t)},{checkForDefaultPrevented:!1})})})});me.displayName=ke;var pe="MenuItemIndicator",[De,_t]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=_t(pe,t);return a.jsxRuntimeExports.jsx(X.Presence,{present:o||Y(s.checked)||s.checked===!0,children:a.jsxRuntimeExports.jsx(A.Primitive.span,{...u,ref:n,"data-state":Ce(s.checked)})})});xe.displayName=pe;var Pt="MenuSeparator",ve=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});ve.displayName=Pt;var jt="MenuArrow",Me=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Me.displayName=jt;var St="MenuSub",[Yt,Ne]=j(St),D="MenuSubTrigger",Re=r.forwardRef((e,n)=>{const t=S(D,e.__scopeMenu),o=G(D,e.__scopeMenu),u=Ne(D,e.__scopeMenu),s=ue(D,e.__scopeMenu),l=r.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:p}=s,x={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const c=m.current;return()=>{window.clearTimeout(c),p(null)}},[m,p]),a.jsxRuntimeExports.jsx(Z,{asChild:!0,...x,children:a.jsxRuntimeExports.jsx(Ae,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":Fe(t.open),...e,ref:y.composeRefs(n,u.onTriggerChange),onClick:c=>{var d;(d=e.onClick)==null||d.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:v.composeEventHandlers(e.onPointerMove,L(c=>{s.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!t.open&&!l.current&&(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(c=>{var R,M;f();const d=(R=t.content)==null?void 0:R.getBoundingClientRect();if(d){const P=(M=t.content)==null?void 0:M.dataset.side,I=P==="right",O=I?-5:5,H=d[I?"left":"right"],q=d[I?"right":"left"];s.onPointerGraceIntentChange({area:[{x:c.clientX+O,y:c.clientY},{x:H,y:d.top},{x:q,y:d.top},{x:q,y:d.bottom},{x:H,y:d.bottom}],side:P}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(c),c.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{var R;const d=s.searchRef.current!=="";e.disabled||d&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(R=t.content)==null||R.focus(),c.preventDefault())})})})});Re.displayName=D;var Le="MenuSubContent",Ee=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu),m=Ne(Le,e.__scopeMenu),p=r.useRef(null),x=y.useComposedRefs(n,p);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(ie,{id:m.contentId,"aria-labelledby":m.triggerId,...u,ref:x,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var c;l.isUsingKeyboardRef.current&&((c=p.current)==null||c.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:v.composeEventHandlers(e.onFocusOutside,f=>{f.target!==m.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:v.composeEventHandlers(e.onEscapeKeyDown,f=>{l.onClose(),f.preventDefault()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,f=>{var R;const c=f.currentTarget.contains(f.target),d=ct[l.dir].includes(f.key);c&&d&&(s.onOpenChange(!1),(R=m.trigger)==null||R.focus(),f.preventDefault())})})})})})});Ee.displayName=Le;function Fe(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function It(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function bt(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function wt(e,n,t){const u=n.length>1&&Array.from(n).every(x=>x===n[0])?n[0]:n,s=t?e.indexOf(t):-1;let l=bt(e,Math.max(s,0));u.length===1&&(l=l.filter(x=>x!==t));const p=l.find(x=>x.toLowerCase().startsWith(u.toLowerCase()));return p!==t?p:void 0}function yt(e,n){const{x:t,y:o}=e;let u=!1;for(let s=0,l=n.length-1;s<n.length;l=s++){const m=n[s].x,p=n[s].y,x=n[l].x,f=n[l].y;p>o!=f>o&&t<(x-m)*(o-p)/(f-p)+m&&(u=!u)}return u}function Tt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return yt(t,n)}function L(e){return n=>n.pointerType==="mouse"?e(n):void 0}var At=re,Ot=Z,kt=ce,Dt=ae,Nt=J,Lt=le,Ft=K,Gt=de,Kt=fe,Ht=me,qt=xe,Ut=ve,$t=Me,Bt=Re,Vt=Ee;exports.Anchor=Ot;exports.Arrow=$t;exports.CheckboxItem=Gt;exports.Content=Dt;exports.Group=Nt;exports.Item=Ft;exports.ItemIndicator=qt;exports.Label=Lt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Me;exports.MenuCheckboxItem=de;exports.MenuContent=ae;exports.MenuGroup=J;exports.MenuItem=K;exports.MenuItemIndicator=xe;exports.MenuLabel=le;exports.MenuPortal=ce;exports.MenuRadioGroup=fe;exports.MenuRadioItem=me;exports.MenuSeparator=ve;exports.MenuSubContent=Ee;exports.MenuSubTrigger=Re;exports.Portal=kt;exports.RadioGroup=Kt;exports.RadioItem=Ht;exports.Root=At;exports.Separator=Ut;exports.SubContent=Vt;exports.SubTrigger=Bt;exports.createMenuScope=it;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),v=require("./index.cjs450.js"),Ve=require("./index.cjs513.js"),y=require("./index.cjs451.js"),Ye=require("./index.cjs452.js"),Xe=require("./index.cjs514.js"),We=require("./index.cjs464.js"),ze=require("./index.cjs467.js"),Ze=require("./index.cjs465.js"),T=require("./index.cjs515.js"),Je=require("./index.cjs466.js"),X=require("./index.cjs463.js"),A=require("./index.cjs454.js"),W=require("./index.cjs516.js"),Qe=require("./index.cjs470.js"),be=require("./index.cjs512.js"),et=require("./index.cjs469.js"),tt=require("./index.cjs468.js"),a=require("./index.cjs239.js");function nt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=nt(Be);var oe=["Enter"," "],ot=["ArrowDown","PageUp","Home"],we=["ArrowUp","PageDown","End"],rt=[...ot,...we],st={ltr:[...oe,"ArrowRight"],rtl:[...oe,"ArrowLeft"]},ct={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[N,ut,at]=Ve.createCollection(F),[j,it]=Ye.createContextScope(F,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(F),[dt,G]=j(F),re=e=>{const{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:s,modal:l=!0}=e,m=z(n),[p,x]=r.useState(null),f=r.useRef(!1),c=be.useCallbackRef(s),d=Xe.useDirection(u);return r.useEffect(()=>{const R=()=>{f.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>f.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),a.jsxRuntimeExports.jsx(T.Root,{...m,children:a.jsxRuntimeExports.jsx(lt,{scope:n,open:t,onOpenChange:c,content:p,onContentChange:x,children:a.jsxRuntimeExports.jsx(dt,{scope:n,onClose:r.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:f,dir:d,modal:l,children:o})})})};re.displayName=F;var ft="MenuAnchor",Z=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Anchor,{...u,...o,ref:n})});Z.displayName=ft;var se="MenuPortal",[mt,Te]=j(se,{forceMount:void 0}),ce=e=>{const{__scopeMenu:n,forceMount:t,children:o,container:u}=e,s=S(se,n);return a.jsxRuntimeExports.jsx(mt,{scope:n,forceMount:t,children:a.jsxRuntimeExports.jsx(X.Presence,{present:t||s.open,children:a.jsxRuntimeExports.jsx(Je.Portal,{asChild:!0,container:u,children:o})})})};ce.displayName=se;var C="MenuContent",[pt,ue]=j(C),ae=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:l.modal?a.jsxRuntimeExports.jsx(xt,{...u,ref:n}):a.jsxRuntimeExports.jsx(vt,{...u,ref:n})})})})}),xt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu),o=r.useRef(null),u=y.useComposedRefs(n,o);return r.useEffect(()=>{const s=o.current;if(s)return et.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(ie,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:v.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),vt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(ie,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Mt=Qe.createSlot("MenuContent.ScrollLock"),ie=r.forwardRef((e,n)=>{const{__scopeMenu:t,loop:o=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:m,onEntryFocus:p,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,disableOutsideScroll:M,...P}=e,I=S(C,t),O=G(C,t),H=z(t),q=ye(t),he=ut(t),[Ge,ge]=r.useState(null),U=r.useRef(null),Ke=y.useComposedRefs(n,U,I.onContentChange),$=r.useRef(0),B=r.useRef(""),He=r.useRef(0),Q=r.useRef(null),_e=r.useRef("right"),ee=r.useRef(0),qe=M?tt:r.Fragment,Ue=M?{as:Mt,allowPinchZoom:!0}:void 0,$e=i=>{var w,je;const E=B.current+i,h=he().filter(g=>!g.disabled),_=document.activeElement,te=(w=h.find(g=>g.ref.current===_))==null?void 0:w.textValue,ne=h.map(g=>g.textValue),Pe=wt(ne,E,te),k=(je=h.find(g=>g.textValue===Pe))==null?void 0:je.ref.current;(function g(Se){B.current=Se,window.clearTimeout($.current),Se!==""&&($.current=window.setTimeout(()=>g(""),1e3))})(E),k&&setTimeout(()=>k.focus())};r.useEffect(()=>()=>window.clearTimeout($.current),[]),ze.useFocusGuards();const b=r.useCallback(i=>{var h,_;return _e.current===((h=Q.current)==null?void 0:h.side)&&Tt(i,(_=Q.current)==null?void 0:_.area)},[]);return a.jsxRuntimeExports.jsx(pt,{scope:t,searchRef:B,onItemEnter:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),onItemLeave:r.useCallback(i=>{var E;b(i)||((E=U.current)==null||E.focus(),ge(null))},[b]),onTriggerLeave:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),pointerGraceTimerRef:He,onPointerGraceIntentChange:r.useCallback(i=>{Q.current=i},[]),children:a.jsxRuntimeExports.jsx(qe,{...Ue,children:a.jsxRuntimeExports.jsx(Ze.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:v.composeEventHandlers(s,i=>{var E;i.preventDefault(),(E=U.current)==null||E.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:a.jsxRuntimeExports.jsx(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,children:a.jsxRuntimeExports.jsx(W.Root,{asChild:!0,...q,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:Ge,onCurrentTabStopIdChange:ge,onEntryFocus:v.composeEventHandlers(p,i=>{O.isUsingKeyboardRef.current||i.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsxRuntimeExports.jsx(T.Content,{role:"menu","aria-orientation":"vertical","data-state":Fe(I.open),"data-radix-menu-content":"",dir:O.dir,...H,...P,ref:Ke,style:{outline:"none",...P.style},onKeyDown:v.composeEventHandlers(P.onKeyDown,i=>{const h=i.target.closest("[data-radix-menu-content]")===i.currentTarget,_=i.ctrlKey||i.altKey||i.metaKey,te=i.key.length===1;h&&(i.key==="Tab"&&i.preventDefault(),!_&&te&&$e(i.key));const ne=U.current;if(i.target!==ne||!rt.includes(i.key))return;i.preventDefault();const k=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&k.reverse(),It(k)}),onBlur:v.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:v.composeEventHandlers(e.onPointerMove,L(i=>{const E=i.target,h=ee.current!==i.clientX;if(i.currentTarget.contains(E)&&h){const _=i.clientX>ee.current?"right":"left";_e.current=_,ee.current=i.clientX}}))})})})})})})});ae.displayName=C;var Rt="MenuGroup",J=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"group",...o,ref:n})});J.displayName=Rt;var Et="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Et;var V="MenuItem",Ie="menu.itemSelect",K=r.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:o,...u}=e,s=r.useRef(null),l=G(V,e.__scopeMenu),m=ue(V,e.__scopeMenu),p=y.useComposedRefs(n,s),x=r.useRef(!1),f=()=>{const c=s.current;if(!t&&c){const d=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});c.addEventListener(Ie,R=>o==null?void 0:o(R),{once:!0}),A.dispatchDiscreteCustomEvent(c,d),d.defaultPrevented?x.current=!1:l.onClose()}};return a.jsxRuntimeExports.jsx(Ae,{...u,ref:p,disabled:t,onClick:v.composeEventHandlers(e.onClick,f),onPointerDown:c=>{var d;(d=e.onPointerDown)==null||d.call(e,c),x.current=!0},onPointerUp:v.composeEventHandlers(e.onPointerUp,c=>{var d;x.current||(d=c.currentTarget)==null||d.click()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{const d=m.searchRef.current!=="";t||d&&c.key===" "||oe.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});K.displayName=V;var Ae=r.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:o=!1,textValue:u,...s}=e,l=ue(V,t),m=ye(t),p=r.useRef(null),x=y.useComposedRefs(n,p),[f,c]=r.useState(!1),[d,R]=r.useState("");return r.useEffect(()=>{const M=p.current;M&&R((M.textContent??"").trim())},[s.children]),a.jsxRuntimeExports.jsx(N.ItemSlot,{scope:t,disabled:o,textValue:u??d,children:a.jsxRuntimeExports.jsx(W.Item,{asChild:!0,...m,focusable:!o,children:a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:x,onPointerMove:v.composeEventHandlers(e.onPointerMove,L(M=>{o?l.onItemLeave(M):(l.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(M=>l.onItemLeave(M))),onFocus:v.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:v.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Ct="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:t,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemcheckbox","aria-checked":Y(t)?"mixed":t,...u,ref:n,"data-state":Ce(t),onSelect:v.composeEventHandlers(u.onSelect,()=>o==null?void 0:o(Y(t)?!0:!t),{checkForDefaultPrevented:!1})})})});de.displayName=Ct;var Oe="MenuRadioGroup",[ht,gt]=j(Oe,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,n)=>{const{value:t,onValueChange:o,...u}=e,s=be.useCallbackRef(o);return a.jsxRuntimeExports.jsx(ht,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var ke="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=gt(ke,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:s,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemradio","aria-checked":s,...o,ref:n,"data-state":Ce(s),onSelect:v.composeEventHandlers(o.onSelect,()=>{var l;return(l=u.onValueChange)==null?void 0:l.call(u,t)},{checkForDefaultPrevented:!1})})})});me.displayName=ke;var pe="MenuItemIndicator",[De,_t]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=_t(pe,t);return a.jsxRuntimeExports.jsx(X.Presence,{present:o||Y(s.checked)||s.checked===!0,children:a.jsxRuntimeExports.jsx(A.Primitive.span,{...u,ref:n,"data-state":Ce(s.checked)})})});xe.displayName=pe;var Pt="MenuSeparator",ve=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});ve.displayName=Pt;var jt="MenuArrow",Me=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Me.displayName=jt;var St="MenuSub",[Yt,Ne]=j(St),D="MenuSubTrigger",Re=r.forwardRef((e,n)=>{const t=S(D,e.__scopeMenu),o=G(D,e.__scopeMenu),u=Ne(D,e.__scopeMenu),s=ue(D,e.__scopeMenu),l=r.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:p}=s,x={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const c=m.current;return()=>{window.clearTimeout(c),p(null)}},[m,p]),a.jsxRuntimeExports.jsx(Z,{asChild:!0,...x,children:a.jsxRuntimeExports.jsx(Ae,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":Fe(t.open),...e,ref:y.composeRefs(n,u.onTriggerChange),onClick:c=>{var d;(d=e.onClick)==null||d.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:v.composeEventHandlers(e.onPointerMove,L(c=>{s.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!t.open&&!l.current&&(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(c=>{var R,M;f();const d=(R=t.content)==null?void 0:R.getBoundingClientRect();if(d){const P=(M=t.content)==null?void 0:M.dataset.side,I=P==="right",O=I?-5:5,H=d[I?"left":"right"],q=d[I?"right":"left"];s.onPointerGraceIntentChange({area:[{x:c.clientX+O,y:c.clientY},{x:H,y:d.top},{x:q,y:d.top},{x:q,y:d.bottom},{x:H,y:d.bottom}],side:P}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(c),c.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{var R;const d=s.searchRef.current!=="";e.disabled||d&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(R=t.content)==null||R.focus(),c.preventDefault())})})})});Re.displayName=D;var Le="MenuSubContent",Ee=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu),m=Ne(Le,e.__scopeMenu),p=r.useRef(null),x=y.useComposedRefs(n,p);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(ie,{id:m.contentId,"aria-labelledby":m.triggerId,...u,ref:x,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var c;l.isUsingKeyboardRef.current&&((c=p.current)==null||c.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:v.composeEventHandlers(e.onFocusOutside,f=>{f.target!==m.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:v.composeEventHandlers(e.onEscapeKeyDown,f=>{l.onClose(),f.preventDefault()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,f=>{var R;const c=f.currentTarget.contains(f.target),d=ct[l.dir].includes(f.key);c&&d&&(s.onOpenChange(!1),(R=m.trigger)==null||R.focus(),f.preventDefault())})})})})})});Ee.displayName=Le;function Fe(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function It(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function bt(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function wt(e,n,t){const u=n.length>1&&Array.from(n).every(x=>x===n[0])?n[0]:n,s=t?e.indexOf(t):-1;let l=bt(e,Math.max(s,0));u.length===1&&(l=l.filter(x=>x!==t));const p=l.find(x=>x.toLowerCase().startsWith(u.toLowerCase()));return p!==t?p:void 0}function yt(e,n){const{x:t,y:o}=e;let u=!1;for(let s=0,l=n.length-1;s<n.length;l=s++){const m=n[s].x,p=n[s].y,x=n[l].x,f=n[l].y;p>o!=f>o&&t<(x-m)*(o-p)/(f-p)+m&&(u=!u)}return u}function Tt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return yt(t,n)}function L(e){return n=>n.pointerType==="mouse"?e(n):void 0}var At=re,Ot=Z,kt=ce,Dt=ae,Nt=J,Lt=le,Ft=K,Gt=de,Kt=fe,Ht=me,qt=xe,Ut=ve,$t=Me,Bt=Re,Vt=Ee;exports.Anchor=Ot;exports.Arrow=$t;exports.CheckboxItem=Gt;exports.Content=Dt;exports.Group=Nt;exports.Item=Ft;exports.ItemIndicator=qt;exports.Label=Lt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Me;exports.MenuCheckboxItem=de;exports.MenuContent=ae;exports.MenuGroup=J;exports.MenuItem=K;exports.MenuItemIndicator=xe;exports.MenuLabel=le;exports.MenuPortal=ce;exports.MenuRadioGroup=fe;exports.MenuRadioItem=me;exports.MenuSeparator=ve;exports.MenuSubContent=Ee;exports.MenuSubTrigger=Re;exports.Portal=kt;exports.RadioGroup=Kt;exports.RadioItem=Ht;exports.Root=At;exports.Separator=Ut;exports.SubContent=Vt;exports.SubTrigger=Bt;exports.createMenuScope=it;
2
2
  //# sourceMappingURL=index.cjs455.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs493.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs517.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
2
2
  //# sourceMappingURL=index.cjs456.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs458.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":"yGAEaA,EAAe,CAC1BC,EACAC,IACG,CACHC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACD,GAAY,CAACD,EAAI,QAAS,OAEzB,MAAAG,EAAoBH,EAAI,QAAQ,iBACpC,0EACF,EACMI,EAAwBD,EAAkB,CAAC,EAC3CE,EAAuBF,EAC3BA,EAAkB,OAAS,CAC7B,EAEMG,EAAiB,GAAqB,CACtC,EAAE,MAAQ,QAEV,EAAE,SACA,SAAS,gBAAkBF,IAC7BC,EAAqB,MAAM,EAC3B,EAAE,eAAe,GAGf,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAM,EAC5B,EAAE,eAAe,GAGvB,EAEMG,EAAwB,SAAS,cAEvC,OAAAH,EAAsB,MAAM,EAEnB,SAAA,iBAAiB,UAAWE,CAAa,EAE3C,IAAM,CACF,SAAA,oBAAoB,UAAWA,CAAa,EAEjDL,IACFM,GAAA,MAAAA,EAAuB,QAE3B,CAAA,EACC,CAACN,EAAUD,CAAG,CAAC,CACpB"}
1
+ {"version":3,"file":"index.cjs458.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\r\n\r\nexport const useFocusTrap = (\r\n ref: React.RefObject<HTMLElement | null>,\r\n isActive: boolean,\r\n) => {\r\n useEffect(() => {\r\n if (!isActive || !ref.current) return;\r\n\r\n const focusableElements = ref.current.querySelectorAll(\r\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\r\n );\r\n const firstFocusableElement = focusableElements[0] as HTMLElement;\r\n const lastFocusableElement = focusableElements[\r\n focusableElements.length - 1\r\n ] as HTMLElement;\r\n\r\n const handleKeyDown = (e: KeyboardEvent) => {\r\n if (e.key !== \"Tab\") return;\r\n\r\n if (e.shiftKey) {\r\n if (document.activeElement === firstFocusableElement) {\r\n lastFocusableElement.focus();\r\n e.preventDefault();\r\n }\r\n } else {\r\n if (document.activeElement === lastFocusableElement) {\r\n firstFocusableElement.focus();\r\n e.preventDefault();\r\n }\r\n }\r\n };\r\n\r\n const previousActiveElement = document.activeElement as HTMLElement;\r\n\r\n firstFocusableElement.focus();\r\n\r\n document.addEventListener(\"keydown\", handleKeyDown);\r\n\r\n return () => {\r\n document.removeEventListener(\"keydown\", handleKeyDown);\r\n\r\n if (isActive) {\r\n previousActiveElement?.focus();\r\n }\r\n };\r\n }, [isActive, ref]);\r\n};\r\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":"yGAEaA,EAAe,CAC1BC,EACAC,IACG,CACHC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACD,GAAY,CAACD,EAAI,QAAS,OAEzB,MAAAG,EAAoBH,EAAI,QAAQ,iBACpC,0EACF,EACMI,EAAwBD,EAAkB,CAAC,EAC3CE,EAAuBF,EAC3BA,EAAkB,OAAS,CAC7B,EAEMG,EAAiB,GAAqB,CACtC,EAAE,MAAQ,QAEV,EAAE,SACA,SAAS,gBAAkBF,IAC7BC,EAAqB,MAAM,EAC3B,EAAE,eAAe,GAGf,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAM,EAC5B,EAAE,eAAe,GAGvB,EAEMG,EAAwB,SAAS,cAEvC,OAAAH,EAAsB,MAAM,EAEnB,SAAA,iBAAiB,UAAWE,CAAa,EAE3C,IAAM,CACF,SAAA,oBAAoB,UAAWA,CAAa,EAEjDL,IACFM,GAAA,MAAAA,EAAuB,QAE3B,CAAA,EACC,CAACN,EAAUD,CAAG,CAAC,CACpB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs493.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs517.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
2
2
  //# sourceMappingURL=index.cjs462.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs451.js"),g=require("./index.cjs493.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs451.js"),g=require("./index.cjs517.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
2
  //# sourceMappingURL=index.cjs463.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs590.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs450.js"),p=require("./index.cjs454.js"),R=require("./index.cjs451.js"),x=require("./index.cjs512.js"),H=require("./index.cjs518.js"),w=require("./index.cjs239.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
2
2
  //# sourceMappingURL=index.cjs464.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs464.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs464.js","sources":["../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dismissable-layer/src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DISMISSABLE_LAYER_NAME","CONTEXT_UPDATE","POINTER_DOWN_OUTSIDE","FOCUS_OUTSIDE","originalBodyPointerEvents","DismissableLayerContext","React","DismissableLayer","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","node","setNode","ownerDocument","force","composedRefs","useComposedRefs","node2","layers","highestLayerWithOutsidePointerEventsDisabled","highestLayerWithOutsidePointerEventsDisabledIndex","index","isBodyPointerEventsDisabled","isPointerEventsEnabled","pointerDownOutside","usePointerDownOutside","event","target","isPointerDownOnBranch","branch","focusOutside","useFocusOutside","useEscapeKeydown","dispatchUpdate","handleUpdate","jsx","Primitive","composeEventHandlers","BRANCH_NAME","DismissableLayerBranch","ref","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","timerId","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","name","handler","detail","discrete","dispatchDiscreteCustomEvent"],"mappings":"6jBAUA,IAAIA,EAAyB,mBACzBC,EAAiB,0BACjBC,EAAuB,sCACvBC,EAAgB,gCAChBC,EACAC,EAA0BC,EAAM,cAAc,CAChD,OAAwB,IAAI,IAC5B,uCAAwD,IAAI,IAC5D,SAA0B,IAAI,GAChC,CAAC,EACGC,EAAmBD,EAAM,WAC3B,CAACE,EAAOC,IAAiB,CACvB,KAAM,CACJ,4BAAAC,EAA8B,GAC9B,gBAAAC,EACA,qBAAAC,EACA,eAAAC,EACA,kBAAAC,EACA,UAAAC,EACA,GAAGC,CACT,EAAQR,EACES,EAAUX,EAAM,WAAWD,CAAuB,EAClD,CAACa,EAAMC,CAAO,EAAIb,EAAM,SAAS,IAAI,EACrCc,GAAgBF,GAAA,YAAAA,EAAM,iBAAiB,mCAAY,UACnD,CAAG,CAAAG,CAAK,EAAIf,EAAM,SAAS,CAAA,CAAE,EAC7BgB,EAAeC,EAAAA,gBAAgBd,EAAee,GAAUL,EAAQK,CAAK,CAAC,EACtEC,EAAS,MAAM,KAAKR,EAAQ,MAAM,EAClC,CAACS,CAA4C,EAAI,CAAC,GAAGT,EAAQ,sCAAsC,EAAE,MAAM,EAAE,EAC7GU,EAAoDF,EAAO,QAAQC,CAA4C,EAC/GE,EAAQV,EAAOO,EAAO,QAAQP,CAAI,EAAI,GACtCW,EAA8BZ,EAAQ,uCAAuC,KAAO,EACpFa,EAAyBF,GAASD,EAClCI,EAAqBC,EAAuBC,GAAU,CAC1D,MAAMC,EAASD,EAAM,OACfE,EAAwB,CAAC,GAAGlB,EAAQ,QAAQ,EAAE,KAAMmB,GAAWA,EAAO,SAASF,CAAM,CAAC,EACxF,CAACJ,GAA0BK,IAC/BvB,GAAA,MAAAA,EAAuBqB,GACvBnB,GAAA,MAAAA,EAAoBmB,GACfA,EAAM,kBAAkBlB,GAAA,MAAAA,IAC9B,EAAEK,CAAa,EACViB,EAAeC,EAAiBL,GAAU,CAC9C,MAAMC,EAASD,EAAM,OACG,CAAC,GAAGhB,EAAQ,QAAQ,EAAE,KAAMmB,GAAWA,EAAO,SAASF,CAAM,CAAC,IAEtFrB,GAAA,MAAAA,EAAiBoB,GACjBnB,GAAA,MAAAA,EAAoBmB,GACfA,EAAM,kBAAkBlB,GAAA,MAAAA,IAC9B,EAAEK,CAAa,EAChBmB,OAAAA,EAAgB,iBAAEN,GAAU,CACHL,IAAUX,EAAQ,OAAO,KAAO,IAEvDN,GAAA,MAAAA,EAAkBsB,GACd,CAACA,EAAM,kBAAoBlB,IAC7BkB,EAAM,eAAgB,EACtBlB,EAAW,GAEd,EAAEK,CAAa,EAChBd,EAAM,UAAU,IAAM,CACpB,GAAKY,EACL,OAAIR,IACEO,EAAQ,uCAAuC,OAAS,IAC1Db,EAA4BgB,EAAc,KAAK,MAAM,cACrDA,EAAc,KAAK,MAAM,cAAgB,QAE3CH,EAAQ,uCAAuC,IAAIC,CAAI,GAEzDD,EAAQ,OAAO,IAAIC,CAAI,EACvBsB,EAAgB,EACT,IAAM,CACP9B,GAA+BO,EAAQ,uCAAuC,OAAS,IACzFG,EAAc,KAAK,MAAM,cAAgBhB,EAE5C,CACF,EAAE,CAACc,EAAME,EAAeV,EAA6BO,CAAO,CAAC,EAC9DX,EAAM,UAAU,IACP,IAAM,CACNY,IACLD,EAAQ,OAAO,OAAOC,CAAI,EAC1BD,EAAQ,uCAAuC,OAAOC,CAAI,EAC1DsB,EAAgB,EACjB,EACA,CAACtB,EAAMD,CAAO,CAAC,EAClBX,EAAM,UAAU,IAAM,CACpB,MAAMmC,EAAe,IAAMpB,EAAM,EAAE,EACnC,gBAAS,iBAAiBpB,EAAgBwC,CAAY,EAC/C,IAAM,SAAS,oBAAoBxC,EAAgBwC,CAAY,CACvE,EAAE,EAAE,EACkBC,EAAG,kBAAA,IACxBC,EAAAA,UAAU,IACV,CACE,GAAG3B,EACH,IAAKM,EACL,MAAO,CACL,cAAeO,EAA8BC,EAAyB,OAAS,OAAS,OACxF,GAAGtB,EAAM,KACV,EACD,eAAgBoC,EAAAA,qBAAqBpC,EAAM,eAAgB6B,EAAa,cAAc,EACtF,cAAeO,EAAAA,qBAAqBpC,EAAM,cAAe6B,EAAa,aAAa,EACnF,qBAAsBO,EAAoB,qBACxCpC,EAAM,qBACNuB,EAAmB,oBAC7B,CACA,CACK,CACL,CACA,EACAxB,EAAiB,YAAcP,EAC/B,IAAI6C,EAAc,yBACdC,EAAyBxC,EAAM,WAAW,CAACE,EAAOC,IAAiB,CACrE,MAAMQ,EAAUX,EAAM,WAAWD,CAAuB,EAClD0C,EAAMzC,EAAM,OAAO,IAAI,EACvBgB,EAAeC,EAAAA,gBAAgBd,EAAcsC,CAAG,EACtDzC,OAAAA,EAAM,UAAU,IAAM,CACpB,MAAMY,EAAO6B,EAAI,QACjB,GAAI7B,EACF,OAAAD,EAAQ,SAAS,IAAIC,CAAI,EAClB,IAAM,CACXD,EAAQ,SAAS,OAAOC,CAAI,CAC7B,CAEP,EAAK,CAACD,EAAQ,QAAQ,CAAC,EACEyB,EAAAA,kBAAAA,IAAIC,EAAAA,UAAU,IAAK,CAAE,GAAGnC,EAAO,IAAKc,EAAc,CAC3E,CAAC,EACDwB,EAAuB,YAAcD,EACrC,SAASb,EAAsBpB,EAAsBQ,EAAgB,mCAAY,SAAU,CACzF,MAAM4B,EAA2BC,EAAc,eAACrC,CAAoB,EAC9DsC,EAA8B5C,EAAM,OAAO,EAAK,EAChD6C,EAAiB7C,EAAM,OAAO,IAAM,CAC5C,CAAG,EACDA,OAAAA,EAAM,UAAU,IAAM,CACpB,MAAM8C,EAAqBnB,GAAU,CACnC,GAAIA,EAAM,QAAU,CAACiB,EAA4B,QAAS,CACxD,IAAIG,EAA4C,UAAW,CACzDC,EACEpD,EACA8C,EACAO,EACA,CAAE,SAAU,EAAI,CACjB,CACF,EAED,MAAMA,EAAc,CAAE,cAAetB,CAAO,EACxCA,EAAM,cAAgB,SACxBb,EAAc,oBAAoB,QAAS+B,EAAe,OAAO,EACjEA,EAAe,QAAUE,EACzBjC,EAAc,iBAAiB,QAAS+B,EAAe,QAAS,CAAE,KAAM,GAAM,GAE9EE,EAA2C,CAErD,MACQjC,EAAc,oBAAoB,QAAS+B,EAAe,OAAO,EAEnED,EAA4B,QAAU,EACvC,EACKM,EAAU,OAAO,WAAW,IAAM,CACtCpC,EAAc,iBAAiB,cAAegC,CAAiB,CAChE,EAAE,CAAC,EACJ,MAAO,IAAM,CACX,OAAO,aAAaI,CAAO,EAC3BpC,EAAc,oBAAoB,cAAegC,CAAiB,EAClEhC,EAAc,oBAAoB,QAAS+B,EAAe,OAAO,CAClE,CACL,EAAK,CAAC/B,EAAe4B,CAAwB,CAAC,EACrC,CAEL,qBAAsB,IAAME,EAA4B,QAAU,EACnE,CACH,CACA,SAASZ,EAAgBzB,EAAgBO,EAAgB,mCAAY,SAAU,CAC7E,MAAMqC,EAAqBR,EAAc,eAACpC,CAAc,EAClD6C,EAA4BpD,EAAM,OAAO,EAAK,EACpDA,OAAAA,EAAM,UAAU,IAAM,CACpB,MAAMqD,EAAe1B,GAAU,CACzBA,EAAM,QAAU,CAACyB,EAA0B,SAE7CJ,EAA6BnD,EAAesD,EADxB,CAAE,cAAexB,CAAO,EACiC,CAC3E,SAAU,EACpB,CAAS,CAEJ,EACD,OAAAb,EAAc,iBAAiB,UAAWuC,CAAW,EAC9C,IAAMvC,EAAc,oBAAoB,UAAWuC,CAAW,CACzE,EAAK,CAACvC,EAAeqC,CAAkB,CAAC,EAC/B,CACL,eAAgB,IAAMC,EAA0B,QAAU,GAC1D,cAAe,IAAMA,EAA0B,QAAU,EAC1D,CACH,CACA,SAASlB,GAAiB,CACxB,MAAMP,EAAQ,IAAI,YAAYhC,CAAc,EAC5C,SAAS,cAAcgC,CAAK,CAC9B,CACA,SAASqB,EAA6BM,EAAMC,EAASC,EAAQ,CAAE,SAAAC,CAAQ,EAAI,CACzE,MAAM7B,EAAS4B,EAAO,cAAc,OAC9B7B,EAAQ,IAAI,YAAY2B,EAAM,CAAE,QAAS,GAAO,WAAY,GAAM,OAAAE,EAAQ,EAC5ED,GAAS3B,EAAO,iBAAiB0B,EAAMC,EAAS,CAAE,KAAM,GAAM,EAC9DE,EACFC,EAA2B,4BAAC9B,EAAQD,CAAK,EAEzCC,EAAO,cAAcD,CAAK,CAE9B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs451.js"),A=require("./index.cjs454.js"),O=require("./index.cjs488.js"),k=require("./index.cjs239.js");function w(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=w(U);var F="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},K="FocusScope",C=f.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:I,...L}=e,[s,P]=f.useState(null),E=O.useCallbackRef(p),v=O.useCallbackRef(I),b=f.useRef(null),_=x.useComposedRefs(n,u=>P(u)),a=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let u=function(i){if(a.paused||!s)return;const c=i.target;s.contains(c)?b.current=c:d(b.current,{select:!0})},l=function(i){if(a.paused||!s)return;const c=i.relatedTarget;c!==null&&(s.contains(c)||d(b.current,{select:!0}))},r=function(i){if(document.activeElement===document.body)for(const T of i)T.removedNodes.length>0&&d(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",l),m.disconnect()}}},[o,s,a.paused]),f.useEffect(()=>{if(s){N.add(a);const u=document.activeElement;if(!s.contains(u)){const r=new CustomEvent(F,S);s.addEventListener(F,E),s.dispatchEvent(r),r.defaultPrevented||(j(W(R(s)),{select:!0}),document.activeElement===u&&d(s))}return()=>{s.removeEventListener(F,E),setTimeout(()=>{const r=new CustomEvent(y,S);s.addEventListener(y,v),s.dispatchEvent(r),r.defaultPrevented||d(u??document.body,{select:!0}),s.removeEventListener(y,v),N.remove(a)},0)}}},[s,E,v,a]);const M=f.useCallback(u=>{if(!t&&!o||a.paused)return;const l=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,r=document.activeElement;if(l&&r){const m=u.currentTarget,[i,c]=D(m);i&&c?!u.shiftKey&&r===c?(u.preventDefault(),t&&d(i,{select:!0})):u.shiftKey&&r===i&&(u.preventDefault(),t&&d(c,{select:!0})):r===m&&u.preventDefault()}},[t,o,a.paused]);return k.jsxRuntimeExports.jsx(A.Primitive.div,{tabIndex:-1,...L,ref:_,onKeyDown:M})});C.displayName=K;function j(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(d(o,{select:n}),document.activeElement!==t)return}function D(e){const n=R(e),t=h(n,e),o=h(n.reverse(),e);return[t,o]}function R(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const p=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||p?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function h(e,n){for(const t of e)if(!q(t,{upTo:n}))return t}function q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H(e){return e instanceof HTMLInputElement&&"select"in e}function d(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&H(e)&&n&&e.select()}}var N=V();function V(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=g(e,n),e.unshift(n)},remove(n){var t;e=g(e,n),(t=e[0])==null||t.resume()}}}function g(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function W(e){return e.filter(n=>n.tagName!=="A")}exports.FocusScope=C;
2
- //# sourceMappingURL=index.cjs471.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs451.js"),A=require("./index.cjs454.js"),O=require("./index.cjs512.js"),k=require("./index.cjs239.js");function w(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=w(U);var F="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},K="FocusScope",C=f.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:I,...L}=e,[s,P]=f.useState(null),E=O.useCallbackRef(p),v=O.useCallbackRef(I),b=f.useRef(null),_=x.useComposedRefs(n,u=>P(u)),a=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let u=function(i){if(a.paused||!s)return;const c=i.target;s.contains(c)?b.current=c:d(b.current,{select:!0})},l=function(i){if(a.paused||!s)return;const c=i.relatedTarget;c!==null&&(s.contains(c)||d(b.current,{select:!0}))},r=function(i){if(document.activeElement===document.body)for(const T of i)T.removedNodes.length>0&&d(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",l),m.disconnect()}}},[o,s,a.paused]),f.useEffect(()=>{if(s){N.add(a);const u=document.activeElement;if(!s.contains(u)){const r=new CustomEvent(F,S);s.addEventListener(F,E),s.dispatchEvent(r),r.defaultPrevented||(j(W(R(s)),{select:!0}),document.activeElement===u&&d(s))}return()=>{s.removeEventListener(F,E),setTimeout(()=>{const r=new CustomEvent(y,S);s.addEventListener(y,v),s.dispatchEvent(r),r.defaultPrevented||d(u??document.body,{select:!0}),s.removeEventListener(y,v),N.remove(a)},0)}}},[s,E,v,a]);const M=f.useCallback(u=>{if(!t&&!o||a.paused)return;const l=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,r=document.activeElement;if(l&&r){const m=u.currentTarget,[i,c]=D(m);i&&c?!u.shiftKey&&r===c?(u.preventDefault(),t&&d(i,{select:!0})):u.shiftKey&&r===i&&(u.preventDefault(),t&&d(c,{select:!0})):r===m&&u.preventDefault()}},[t,o,a.paused]);return k.jsxRuntimeExports.jsx(A.Primitive.div,{tabIndex:-1,...L,ref:_,onKeyDown:M})});C.displayName=K;function j(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(d(o,{select:n}),document.activeElement!==t)return}function D(e){const n=R(e),t=h(n,e),o=h(n.reverse(),e);return[t,o]}function R(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const p=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||p?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function h(e,n){for(const t of e)if(!q(t,{upTo:n}))return t}function q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H(e){return e instanceof HTMLInputElement&&"select"in e}function d(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&H(e)&&n&&e.select()}}var N=V();function V(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=g(e,n),e.unshift(n)},remove(n){var t;e=g(e,n),(t=e[0])==null||t.resume()}}}function g(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function W(e){return e.filter(n=>n.tagName!=="A")}exports.FocusScope=C;
2
+ //# sourceMappingURL=index.cjs465.js.map