@anoki/fse-ui 1.0.437 → 1.0.442

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 (1202) hide show
  1. package/dist/components/ui/ActionBanner/ActionBanner.css +1 -1
  2. package/dist/components/ui/ActionPoint/ActionPoint.css +1 -1
  3. package/dist/components/ui/Alert/Alert.css +1 -1
  4. package/dist/components/ui/Callout/Callout.css +1 -1
  5. package/dist/components/ui/CardFile/CardFile.css +1 -0
  6. package/dist/components/ui/InfoPopup/InfoPopup.css +1 -1
  7. package/dist/components/ui/NotificationSettingsSkeleton/NotificationSettingsSkeleton.css +1 -1
  8. package/dist/components/ui/Section/Description/description.css +1 -0
  9. package/dist/components/ui/link/Link.css +1 -1
  10. package/dist/index.cjs.js +1 -1
  11. package/dist/index.cjs.js.map +1 -1
  12. package/dist/index.cjs10.js +1 -1
  13. package/dist/index.cjs10.js.map +1 -1
  14. package/dist/index.cjs100.js +1 -1
  15. package/dist/index.cjs100.js.map +1 -1
  16. package/dist/index.cjs101.js +1 -1
  17. package/dist/index.cjs101.js.map +1 -1
  18. package/dist/index.cjs102.js +1 -1
  19. package/dist/index.cjs102.js.map +1 -1
  20. package/dist/index.cjs103.js +1 -1
  21. package/dist/index.cjs103.js.map +1 -1
  22. package/dist/index.cjs104.js +1 -1
  23. package/dist/index.cjs104.js.map +1 -1
  24. package/dist/index.cjs105.js +1 -1
  25. package/dist/index.cjs105.js.map +1 -1
  26. package/dist/index.cjs106.js +1 -1
  27. package/dist/index.cjs106.js.map +1 -1
  28. package/dist/index.cjs107.js +1 -1
  29. package/dist/index.cjs107.js.map +1 -1
  30. package/dist/index.cjs108.js +1 -1
  31. package/dist/index.cjs108.js.map +1 -1
  32. package/dist/index.cjs109.js +1 -1
  33. package/dist/index.cjs109.js.map +1 -1
  34. package/dist/index.cjs11.js +1 -1
  35. package/dist/index.cjs110.js +1 -1
  36. package/dist/index.cjs110.js.map +1 -1
  37. package/dist/index.cjs111.js +1 -1
  38. package/dist/index.cjs111.js.map +1 -1
  39. package/dist/index.cjs112.js +1 -1
  40. package/dist/index.cjs112.js.map +1 -1
  41. package/dist/index.cjs113.js +1 -1
  42. package/dist/index.cjs113.js.map +1 -1
  43. package/dist/index.cjs114.js +1 -1
  44. package/dist/index.cjs114.js.map +1 -1
  45. package/dist/index.cjs115.js +1 -1
  46. package/dist/index.cjs115.js.map +1 -1
  47. package/dist/index.cjs116.js +1 -1
  48. package/dist/index.cjs116.js.map +1 -1
  49. package/dist/index.cjs117.js +1 -1
  50. package/dist/index.cjs117.js.map +1 -1
  51. package/dist/index.cjs118.js +1 -1
  52. package/dist/index.cjs118.js.map +1 -1
  53. package/dist/index.cjs119.js +1 -1
  54. package/dist/index.cjs119.js.map +1 -1
  55. package/dist/index.cjs12.js +1 -1
  56. package/dist/index.cjs12.js.map +1 -1
  57. package/dist/index.cjs120.js +1 -1
  58. package/dist/index.cjs120.js.map +1 -1
  59. package/dist/index.cjs121.js +1 -1
  60. package/dist/index.cjs121.js.map +1 -1
  61. package/dist/index.cjs122.js +1 -1
  62. package/dist/index.cjs122.js.map +1 -1
  63. package/dist/index.cjs123.js +1 -1
  64. package/dist/index.cjs123.js.map +1 -1
  65. package/dist/index.cjs124.js +1 -1
  66. package/dist/index.cjs124.js.map +1 -1
  67. package/dist/index.cjs125.js +1 -1
  68. package/dist/index.cjs125.js.map +1 -1
  69. package/dist/index.cjs126.js +1 -1
  70. package/dist/index.cjs126.js.map +1 -1
  71. package/dist/index.cjs127.js +1 -1
  72. package/dist/index.cjs127.js.map +1 -1
  73. package/dist/index.cjs128.js +1 -1
  74. package/dist/index.cjs128.js.map +1 -1
  75. package/dist/index.cjs129.js +1 -1
  76. package/dist/index.cjs129.js.map +1 -1
  77. package/dist/index.cjs13.js +1 -1
  78. package/dist/index.cjs13.js.map +1 -1
  79. package/dist/index.cjs130.js +1 -1
  80. package/dist/index.cjs130.js.map +1 -1
  81. package/dist/index.cjs131.js +1 -1
  82. package/dist/index.cjs131.js.map +1 -1
  83. package/dist/index.cjs132.js +1 -1
  84. package/dist/index.cjs132.js.map +1 -1
  85. package/dist/index.cjs133.js +1 -1
  86. package/dist/index.cjs133.js.map +1 -1
  87. package/dist/index.cjs134.js +1 -1
  88. package/dist/index.cjs134.js.map +1 -1
  89. package/dist/index.cjs135.js +1 -1
  90. package/dist/index.cjs135.js.map +1 -1
  91. package/dist/index.cjs136.js +1 -1
  92. package/dist/index.cjs136.js.map +1 -1
  93. package/dist/index.cjs137.js +1 -1
  94. package/dist/index.cjs137.js.map +1 -1
  95. package/dist/index.cjs138.js +1 -1
  96. package/dist/index.cjs138.js.map +1 -1
  97. package/dist/index.cjs139.js +1 -1
  98. package/dist/index.cjs139.js.map +1 -1
  99. package/dist/index.cjs14.js +1 -1
  100. package/dist/index.cjs14.js.map +1 -1
  101. package/dist/index.cjs140.js +1 -1
  102. package/dist/index.cjs140.js.map +1 -1
  103. package/dist/index.cjs141.js +1 -1
  104. package/dist/index.cjs141.js.map +1 -1
  105. package/dist/index.cjs142.js +1 -1
  106. package/dist/index.cjs142.js.map +1 -1
  107. package/dist/index.cjs143.js +1 -1
  108. package/dist/index.cjs143.js.map +1 -1
  109. package/dist/index.cjs144.js +1 -1
  110. package/dist/index.cjs144.js.map +1 -1
  111. package/dist/index.cjs145.js +1 -1
  112. package/dist/index.cjs145.js.map +1 -1
  113. package/dist/index.cjs146.js +1 -1
  114. package/dist/index.cjs146.js.map +1 -1
  115. package/dist/index.cjs147.js +1 -1
  116. package/dist/index.cjs147.js.map +1 -1
  117. package/dist/index.cjs148.js +1 -1
  118. package/dist/index.cjs148.js.map +1 -1
  119. package/dist/index.cjs149.js +1 -1
  120. package/dist/index.cjs149.js.map +1 -1
  121. package/dist/index.cjs15.js +1 -1
  122. package/dist/index.cjs15.js.map +1 -1
  123. package/dist/index.cjs150.js +1 -1
  124. package/dist/index.cjs150.js.map +1 -1
  125. package/dist/index.cjs151.js +1 -1
  126. package/dist/index.cjs151.js.map +1 -1
  127. package/dist/index.cjs152.js +1 -1
  128. package/dist/index.cjs152.js.map +1 -1
  129. package/dist/index.cjs153.js +1 -1
  130. package/dist/index.cjs153.js.map +1 -1
  131. package/dist/index.cjs154.js +1 -1
  132. package/dist/index.cjs154.js.map +1 -1
  133. package/dist/index.cjs155.js +1 -1
  134. package/dist/index.cjs155.js.map +1 -1
  135. package/dist/index.cjs156.js +1 -1
  136. package/dist/index.cjs156.js.map +1 -1
  137. package/dist/index.cjs157.js +1 -1
  138. package/dist/index.cjs157.js.map +1 -1
  139. package/dist/index.cjs158.js +1 -1
  140. package/dist/index.cjs158.js.map +1 -1
  141. package/dist/index.cjs159.js +1 -1
  142. package/dist/index.cjs159.js.map +1 -1
  143. package/dist/index.cjs16.js +1 -1
  144. package/dist/index.cjs16.js.map +1 -1
  145. package/dist/index.cjs160.js +1 -1
  146. package/dist/index.cjs160.js.map +1 -1
  147. package/dist/index.cjs161.js +1 -1
  148. package/dist/index.cjs161.js.map +1 -1
  149. package/dist/index.cjs162.js +1 -1
  150. package/dist/index.cjs162.js.map +1 -1
  151. package/dist/index.cjs163.js +2 -0
  152. package/dist/index.cjs163.js.map +1 -0
  153. package/dist/index.cjs164.js +1 -1
  154. package/dist/index.cjs164.js.map +1 -1
  155. package/dist/index.cjs166.js +1 -1
  156. package/dist/index.cjs166.js.map +1 -1
  157. package/dist/index.cjs168.js +2 -0
  158. package/dist/index.cjs168.js.map +1 -0
  159. package/dist/index.cjs17.js +1 -1
  160. package/dist/index.cjs17.js.map +1 -1
  161. package/dist/index.cjs173.js.map +1 -1
  162. package/dist/index.cjs174.js +1 -1
  163. package/dist/index.cjs174.js.map +1 -1
  164. package/dist/index.cjs176.js +1 -1
  165. package/dist/index.cjs176.js.map +1 -1
  166. package/dist/index.cjs178.js +1 -1
  167. package/dist/index.cjs178.js.map +1 -1
  168. package/dist/index.cjs18.js +1 -1
  169. package/dist/index.cjs18.js.map +1 -1
  170. package/dist/index.cjs180.js +2 -0
  171. package/dist/index.cjs180.js.map +1 -0
  172. package/dist/{index.cjs182.js → index.cjs184.js} +2 -2
  173. package/dist/index.cjs184.js.map +1 -0
  174. package/dist/{index.cjs185.js → index.cjs187.js} +2 -2
  175. package/dist/index.cjs187.js.map +1 -0
  176. package/dist/index.cjs19.js +1 -1
  177. package/dist/index.cjs19.js.map +1 -1
  178. package/dist/{index.cjs188.js → index.cjs190.js} +2 -2
  179. package/dist/{index.cjs188.js.map → index.cjs190.js.map} +1 -1
  180. package/dist/index.cjs193.js +1 -1
  181. package/dist/index.cjs193.js.map +1 -1
  182. package/dist/{index.cjs192.js → index.cjs194.js} +2 -2
  183. package/dist/index.cjs194.js.map +1 -0
  184. package/dist/index.cjs195.js +2 -0
  185. package/dist/index.cjs195.js.map +1 -0
  186. package/dist/index.cjs20.js +1 -1
  187. package/dist/index.cjs20.js.map +1 -1
  188. package/dist/{index.cjs199.js → index.cjs201.js} +2 -2
  189. package/dist/{index.cjs199.js.map → index.cjs201.js.map} +1 -1
  190. package/dist/{index.cjs200.js → index.cjs202.js} +1 -1
  191. package/dist/index.cjs202.js.map +1 -0
  192. package/dist/{index.cjs203.js → index.cjs205.js} +2 -2
  193. package/dist/index.cjs205.js.map +1 -0
  194. package/dist/index.cjs21.js +1 -1
  195. package/dist/index.cjs21.js.map +1 -1
  196. package/dist/index.cjs210.js +1 -5
  197. package/dist/index.cjs210.js.map +1 -1
  198. package/dist/index.cjs212.js +5 -1
  199. package/dist/index.cjs212.js.map +1 -1
  200. package/dist/index.cjs213.js +1 -1
  201. package/dist/index.cjs213.js.map +1 -1
  202. package/dist/index.cjs214.js +1 -1
  203. package/dist/index.cjs214.js.map +1 -1
  204. package/dist/index.cjs215.js +2 -0
  205. package/dist/index.cjs215.js.map +1 -0
  206. package/dist/index.cjs216.js +1 -1
  207. package/dist/index.cjs216.js.map +1 -1
  208. package/dist/index.cjs218.js +1 -1
  209. package/dist/index.cjs218.js.map +1 -1
  210. package/dist/{index.cjs217.js → index.cjs219.js} +2 -2
  211. package/dist/index.cjs219.js.map +1 -0
  212. package/dist/index.cjs22.js +1 -1
  213. package/dist/index.cjs22.js.map +1 -1
  214. package/dist/index.cjs220.js +2 -0
  215. package/dist/index.cjs220.js.map +1 -0
  216. package/dist/{index.cjs221.js → index.cjs223.js} +2 -2
  217. package/dist/index.cjs223.js.map +1 -0
  218. package/dist/{index.cjs222.js → index.cjs224.js} +2 -2
  219. package/dist/index.cjs224.js.map +1 -0
  220. package/dist/index.cjs229.js +1 -1
  221. package/dist/index.cjs229.js.map +1 -1
  222. package/dist/index.cjs23.js +1 -1
  223. package/dist/index.cjs23.js.map +1 -1
  224. package/dist/{index.cjs228.js → index.cjs230.js} +2 -2
  225. package/dist/index.cjs230.js.map +1 -0
  226. package/dist/index.cjs231.js +1 -1
  227. package/dist/index.cjs231.js.map +1 -1
  228. package/dist/index.cjs233.js +1 -1
  229. package/dist/index.cjs233.js.map +1 -1
  230. package/dist/{index.cjs232.js → index.cjs234.js} +2 -2
  231. package/dist/index.cjs234.js.map +1 -0
  232. package/dist/index.cjs235.js +1 -1
  233. package/dist/index.cjs235.js.map +1 -1
  234. package/dist/index.cjs237.js +1 -1
  235. package/dist/index.cjs237.js.map +1 -1
  236. package/dist/index.cjs238.js +2 -0
  237. package/dist/index.cjs238.js.map +1 -0
  238. package/dist/index.cjs239.js +1 -6
  239. package/dist/index.cjs239.js.map +1 -1
  240. package/dist/index.cjs24.js +1 -1
  241. package/dist/index.cjs241.js +7 -0
  242. package/dist/index.cjs241.js.map +1 -0
  243. package/dist/index.cjs25.js +1 -1
  244. package/dist/index.cjs25.js.map +1 -1
  245. package/dist/index.cjs250.js +2 -0
  246. package/dist/index.cjs250.js.map +1 -0
  247. package/dist/index.cjs26.js +1 -1
  248. package/dist/index.cjs26.js.map +1 -1
  249. package/dist/index.cjs27.js +1 -1
  250. package/dist/index.cjs27.js.map +1 -1
  251. package/dist/{index.cjs276.js → index.cjs278.js} +2 -2
  252. package/dist/{index.cjs276.js.map → index.cjs278.js.map} +1 -1
  253. package/dist/index.cjs28.js +1 -1
  254. package/dist/index.cjs28.js.map +1 -1
  255. package/dist/index.cjs284.js +1 -9
  256. package/dist/index.cjs284.js.map +1 -1
  257. package/dist/index.cjs285.js +1 -14
  258. package/dist/index.cjs285.js.map +1 -1
  259. package/dist/index.cjs286.js +1 -27
  260. package/dist/index.cjs286.js.map +1 -1
  261. package/dist/index.cjs287.js +9 -1
  262. package/dist/index.cjs287.js.map +1 -1
  263. package/dist/index.cjs288.js +23 -1
  264. package/dist/index.cjs288.js.map +1 -1
  265. package/dist/index.cjs289.js +28 -0
  266. package/dist/index.cjs289.js.map +1 -0
  267. package/dist/index.cjs29.js +1 -1
  268. package/dist/index.cjs29.js.map +1 -1
  269. package/dist/index.cjs290.js +2 -0
  270. package/dist/index.cjs290.js.map +1 -0
  271. package/dist/{index.cjs283.js → index.cjs291.js} +1 -1
  272. package/dist/index.cjs291.js.map +1 -0
  273. package/dist/index.cjs292.js +2 -0
  274. package/dist/index.cjs292.js.map +1 -0
  275. package/dist/index.cjs293.js +2 -0
  276. package/dist/index.cjs293.js.map +1 -0
  277. package/dist/index.cjs295.js +1 -1
  278. package/dist/index.cjs295.js.map +1 -1
  279. package/dist/index.cjs298.js +1 -1
  280. package/dist/index.cjs298.js.map +1 -1
  281. package/dist/index.cjs299.js +1 -1
  282. package/dist/index.cjs299.js.map +1 -1
  283. package/dist/index.cjs3.js +1 -1
  284. package/dist/index.cjs30.js +1 -1
  285. package/dist/index.cjs30.js.map +1 -1
  286. package/dist/index.cjs300.js +1 -1
  287. package/dist/index.cjs300.js.map +1 -1
  288. package/dist/index.cjs301.js +1 -1
  289. package/dist/index.cjs301.js.map +1 -1
  290. package/dist/index.cjs302.js +1 -1
  291. package/dist/index.cjs303.js +1 -1
  292. package/dist/index.cjs303.js.map +1 -1
  293. package/dist/index.cjs304.js +1 -1
  294. package/dist/index.cjs304.js.map +1 -1
  295. package/dist/index.cjs308.js +1 -1
  296. package/dist/index.cjs308.js.map +1 -1
  297. package/dist/index.cjs309.js +1 -1
  298. package/dist/index.cjs309.js.map +1 -1
  299. package/dist/index.cjs31.js +1 -1
  300. package/dist/index.cjs31.js.map +1 -1
  301. package/dist/index.cjs310.js +1 -1
  302. package/dist/index.cjs310.js.map +1 -1
  303. package/dist/index.cjs311.js +1 -1
  304. package/dist/index.cjs311.js.map +1 -1
  305. package/dist/index.cjs312.js +1 -1
  306. package/dist/index.cjs312.js.map +1 -1
  307. package/dist/index.cjs313.js +1 -1
  308. package/dist/index.cjs313.js.map +1 -1
  309. package/dist/index.cjs314.js +1 -1
  310. package/dist/index.cjs314.js.map +1 -1
  311. package/dist/index.cjs315.js +1 -1
  312. package/dist/index.cjs315.js.map +1 -1
  313. package/dist/index.cjs316.js +1 -1
  314. package/dist/index.cjs316.js.map +1 -1
  315. package/dist/index.cjs317.js +2 -0
  316. package/dist/index.cjs317.js.map +1 -0
  317. package/dist/index.cjs318.js +2 -0
  318. package/dist/index.cjs318.js.map +1 -0
  319. package/dist/index.cjs319.js +2 -0
  320. package/dist/index.cjs319.js.map +1 -0
  321. package/dist/index.cjs32.js +1 -1
  322. package/dist/index.cjs32.js.map +1 -1
  323. package/dist/index.cjs320.js +1 -1
  324. package/dist/index.cjs320.js.map +1 -1
  325. package/dist/index.cjs321.js +1 -1
  326. package/dist/index.cjs321.js.map +1 -1
  327. package/dist/index.cjs322.js +1 -1
  328. package/dist/index.cjs322.js.map +1 -1
  329. package/dist/index.cjs323.js +2 -0
  330. package/dist/index.cjs323.js.map +1 -0
  331. package/dist/{index.cjs354.js → index.cjs324.js} +2 -2
  332. package/dist/{index.cjs354.js.map → index.cjs324.js.map} +1 -1
  333. package/dist/index.cjs325.js +2 -0
  334. package/dist/index.cjs325.js.map +1 -0
  335. package/dist/index.cjs326.js +2 -0
  336. package/dist/index.cjs326.js.map +1 -0
  337. package/dist/index.cjs327.js +2 -0
  338. package/dist/index.cjs327.js.map +1 -0
  339. package/dist/index.cjs33.js +1 -1
  340. package/dist/index.cjs33.js.map +1 -1
  341. package/dist/index.cjs331.js +1 -1
  342. package/dist/index.cjs331.js.map +1 -1
  343. package/dist/index.cjs332.js.map +1 -1
  344. package/dist/index.cjs333.js +1 -1
  345. package/dist/index.cjs333.js.map +1 -1
  346. package/dist/index.cjs334.js +1 -1
  347. package/dist/index.cjs334.js.map +1 -1
  348. package/dist/index.cjs335.js +1 -1
  349. package/dist/index.cjs335.js.map +1 -1
  350. package/dist/index.cjs336.js +1 -1
  351. package/dist/index.cjs336.js.map +1 -1
  352. package/dist/index.cjs337.js +1 -1
  353. package/dist/index.cjs337.js.map +1 -1
  354. package/dist/index.cjs338.js +1 -1
  355. package/dist/index.cjs338.js.map +1 -1
  356. package/dist/index.cjs339.js +1 -1
  357. package/dist/index.cjs339.js.map +1 -1
  358. package/dist/index.cjs34.js +1 -1
  359. package/dist/index.cjs34.js.map +1 -1
  360. package/dist/index.cjs340.js +1 -1
  361. package/dist/index.cjs340.js.map +1 -1
  362. package/dist/index.cjs341.js +1 -1
  363. package/dist/index.cjs341.js.map +1 -1
  364. package/dist/index.cjs342.js +1 -1
  365. package/dist/index.cjs342.js.map +1 -1
  366. package/dist/index.cjs346.js +1 -1
  367. package/dist/index.cjs346.js.map +1 -1
  368. package/dist/index.cjs347.js +1 -1
  369. package/dist/index.cjs347.js.map +1 -1
  370. package/dist/index.cjs348.js +1 -1
  371. package/dist/index.cjs348.js.map +1 -1
  372. package/dist/index.cjs349.js +1 -1
  373. package/dist/index.cjs349.js.map +1 -1
  374. package/dist/index.cjs35.js +1 -1
  375. package/dist/index.cjs35.js.map +1 -1
  376. package/dist/index.cjs350.js +1 -1
  377. package/dist/index.cjs350.js.map +1 -1
  378. package/dist/index.cjs351.js +1 -1
  379. package/dist/index.cjs351.js.map +1 -1
  380. package/dist/index.cjs355.js +1 -1
  381. package/dist/index.cjs355.js.map +1 -1
  382. package/dist/index.cjs356.js +1 -1
  383. package/dist/index.cjs356.js.map +1 -1
  384. package/dist/index.cjs357.js +1 -1
  385. package/dist/index.cjs357.js.map +1 -1
  386. package/dist/index.cjs358.js +4 -1
  387. package/dist/index.cjs358.js.map +1 -1
  388. package/dist/index.cjs359.js +1 -1
  389. package/dist/index.cjs359.js.map +1 -1
  390. package/dist/index.cjs36.js +1 -1
  391. package/dist/index.cjs36.js.map +1 -1
  392. package/dist/index.cjs360.js +1 -1
  393. package/dist/index.cjs360.js.map +1 -1
  394. package/dist/index.cjs361.js +1 -4
  395. package/dist/index.cjs361.js.map +1 -1
  396. package/dist/index.cjs362.js +1 -1
  397. package/dist/index.cjs362.js.map +1 -1
  398. package/dist/index.cjs364.js +1 -1
  399. package/dist/index.cjs364.js.map +1 -1
  400. package/dist/index.cjs367.js +38 -1
  401. package/dist/index.cjs367.js.map +1 -1
  402. package/dist/index.cjs368.js +1 -1
  403. package/dist/index.cjs368.js.map +1 -1
  404. package/dist/index.cjs369.js +1 -1
  405. package/dist/index.cjs369.js.map +1 -1
  406. package/dist/index.cjs37.js +1 -1
  407. package/dist/index.cjs37.js.map +1 -1
  408. package/dist/index.cjs370.js +1 -1
  409. package/dist/index.cjs370.js.map +1 -1
  410. package/dist/{index.cjs296.js → index.cjs377.js} +2 -2
  411. package/dist/index.cjs377.js.map +1 -0
  412. package/dist/index.cjs378.js +2 -0
  413. package/dist/index.cjs378.js.map +1 -0
  414. package/dist/{index.cjs297.js → index.cjs379.js} +1 -1
  415. package/dist/index.cjs379.js.map +1 -0
  416. package/dist/index.cjs38.js +1 -1
  417. package/dist/index.cjs38.js.map +1 -1
  418. package/dist/index.cjs380.js +2 -0
  419. package/dist/index.cjs380.js.map +1 -0
  420. package/dist/index.cjs39.js +1 -1
  421. package/dist/index.cjs39.js.map +1 -1
  422. package/dist/index.cjs4.js +1 -1
  423. package/dist/index.cjs40.js +1 -1
  424. package/dist/index.cjs40.js.map +1 -1
  425. package/dist/index.cjs41.js +1 -1
  426. package/dist/index.cjs41.js.map +1 -1
  427. package/dist/index.cjs42.js +1 -1
  428. package/dist/index.cjs42.js.map +1 -1
  429. package/dist/index.cjs43.js +1 -1
  430. package/dist/index.cjs43.js.map +1 -1
  431. package/dist/index.cjs44.js +1 -1
  432. package/dist/index.cjs44.js.map +1 -1
  433. package/dist/index.cjs45.js +1 -1
  434. package/dist/index.cjs45.js.map +1 -1
  435. package/dist/index.cjs46.js +1 -1
  436. package/dist/index.cjs46.js.map +1 -1
  437. package/dist/index.cjs47.js +1 -1
  438. package/dist/index.cjs47.js.map +1 -1
  439. package/dist/index.cjs48.js +1 -1
  440. package/dist/index.cjs48.js.map +1 -1
  441. package/dist/index.cjs49.js +1 -1
  442. package/dist/index.cjs49.js.map +1 -1
  443. package/dist/index.cjs5.js +1 -1
  444. package/dist/index.cjs50.js +1 -1
  445. package/dist/index.cjs50.js.map +1 -1
  446. package/dist/index.cjs51.js +1 -1
  447. package/dist/index.cjs51.js.map +1 -1
  448. package/dist/index.cjs52.js +1 -1
  449. package/dist/index.cjs52.js.map +1 -1
  450. package/dist/index.cjs53.js +1 -1
  451. package/dist/index.cjs53.js.map +1 -1
  452. package/dist/index.cjs54.js +1 -1
  453. package/dist/index.cjs54.js.map +1 -1
  454. package/dist/index.cjs55.js +1 -1
  455. package/dist/index.cjs55.js.map +1 -1
  456. package/dist/index.cjs56.js +1 -1
  457. package/dist/index.cjs56.js.map +1 -1
  458. package/dist/index.cjs57.js +1 -1
  459. package/dist/index.cjs57.js.map +1 -1
  460. package/dist/index.cjs58.js +1 -1
  461. package/dist/index.cjs58.js.map +1 -1
  462. package/dist/index.cjs59.js +1 -1
  463. package/dist/index.cjs59.js.map +1 -1
  464. package/dist/index.cjs6.js +1 -1
  465. package/dist/index.cjs6.js.map +1 -1
  466. package/dist/index.cjs60.js +1 -1
  467. package/dist/index.cjs60.js.map +1 -1
  468. package/dist/index.cjs61.js +1 -1
  469. package/dist/index.cjs61.js.map +1 -1
  470. package/dist/index.cjs62.js +1 -1
  471. package/dist/index.cjs62.js.map +1 -1
  472. package/dist/index.cjs63.js +1 -1
  473. package/dist/index.cjs63.js.map +1 -1
  474. package/dist/index.cjs64.js +1 -1
  475. package/dist/index.cjs64.js.map +1 -1
  476. package/dist/index.cjs65.js +1 -1
  477. package/dist/index.cjs65.js.map +1 -1
  478. package/dist/index.cjs66.js +1 -1
  479. package/dist/index.cjs66.js.map +1 -1
  480. package/dist/index.cjs67.js +1 -1
  481. package/dist/index.cjs67.js.map +1 -1
  482. package/dist/index.cjs68.js +1 -1
  483. package/dist/index.cjs68.js.map +1 -1
  484. package/dist/index.cjs69.js +1 -1
  485. package/dist/index.cjs69.js.map +1 -1
  486. package/dist/index.cjs7.js +1 -1
  487. package/dist/index.cjs7.js.map +1 -1
  488. package/dist/index.cjs70.js +1 -1
  489. package/dist/index.cjs70.js.map +1 -1
  490. package/dist/index.cjs71.js +1 -1
  491. package/dist/index.cjs71.js.map +1 -1
  492. package/dist/index.cjs72.js +1 -1
  493. package/dist/index.cjs72.js.map +1 -1
  494. package/dist/index.cjs73.js +1 -1
  495. package/dist/index.cjs73.js.map +1 -1
  496. package/dist/index.cjs74.js +1 -1
  497. package/dist/index.cjs74.js.map +1 -1
  498. package/dist/index.cjs75.js +1 -1
  499. package/dist/index.cjs75.js.map +1 -1
  500. package/dist/index.cjs76.js +1 -1
  501. package/dist/index.cjs76.js.map +1 -1
  502. package/dist/index.cjs77.js +1 -1
  503. package/dist/index.cjs77.js.map +1 -1
  504. package/dist/index.cjs78.js +1 -1
  505. package/dist/index.cjs78.js.map +1 -1
  506. package/dist/index.cjs79.js +1 -1
  507. package/dist/index.cjs79.js.map +1 -1
  508. package/dist/index.cjs8.js +1 -1
  509. package/dist/index.cjs8.js.map +1 -1
  510. package/dist/index.cjs80.js +1 -1
  511. package/dist/index.cjs80.js.map +1 -1
  512. package/dist/index.cjs81.js +1 -1
  513. package/dist/index.cjs81.js.map +1 -1
  514. package/dist/index.cjs82.js +1 -1
  515. package/dist/index.cjs82.js.map +1 -1
  516. package/dist/index.cjs83.js +1 -1
  517. package/dist/index.cjs83.js.map +1 -1
  518. package/dist/index.cjs84.js +1 -1
  519. package/dist/index.cjs84.js.map +1 -1
  520. package/dist/index.cjs85.js +1 -1
  521. package/dist/index.cjs85.js.map +1 -1
  522. package/dist/index.cjs86.js +1 -1
  523. package/dist/index.cjs86.js.map +1 -1
  524. package/dist/index.cjs87.js +1 -1
  525. package/dist/index.cjs87.js.map +1 -1
  526. package/dist/index.cjs88.js +1 -1
  527. package/dist/index.cjs88.js.map +1 -1
  528. package/dist/index.cjs89.js +1 -1
  529. package/dist/index.cjs9.js +1 -1
  530. package/dist/index.cjs9.js.map +1 -1
  531. package/dist/index.cjs90.js +1 -1
  532. package/dist/index.cjs90.js.map +1 -1
  533. package/dist/index.cjs91.js +1 -1
  534. package/dist/index.cjs91.js.map +1 -1
  535. package/dist/index.cjs92.js +1 -1
  536. package/dist/index.cjs92.js.map +1 -1
  537. package/dist/index.cjs93.js +1 -1
  538. package/dist/index.cjs93.js.map +1 -1
  539. package/dist/index.cjs94.js +1 -1
  540. package/dist/index.cjs94.js.map +1 -1
  541. package/dist/index.cjs95.js +1 -1
  542. package/dist/index.cjs95.js.map +1 -1
  543. package/dist/index.cjs96.js +1 -1
  544. package/dist/index.cjs96.js.map +1 -1
  545. package/dist/index.cjs97.js +1 -1
  546. package/dist/index.cjs97.js.map +1 -1
  547. package/dist/index.cjs98.js +1 -1
  548. package/dist/index.cjs98.js.map +1 -1
  549. package/dist/index.cjs99.js +1 -1
  550. package/dist/index.cjs99.js.map +1 -1
  551. package/dist/index.d.ts +28 -6
  552. package/dist/index.es.js +114 -110
  553. package/dist/index.es.js.map +1 -1
  554. package/dist/index.es10.js +4 -4
  555. package/dist/index.es10.js.map +1 -1
  556. package/dist/index.es100.js +14 -14
  557. package/dist/index.es100.js.map +1 -1
  558. package/dist/index.es101.js +14 -14
  559. package/dist/index.es101.js.map +1 -1
  560. package/dist/index.es102.js +12 -14
  561. package/dist/index.es102.js.map +1 -1
  562. package/dist/index.es103.js +16 -22
  563. package/dist/index.es103.js.map +1 -1
  564. package/dist/index.es104.js +24 -2267
  565. package/dist/index.es104.js.map +1 -1
  566. package/dist/index.es105.js +2267 -23
  567. package/dist/index.es105.js.map +1 -1
  568. package/dist/index.es106.js +23 -41
  569. package/dist/index.es106.js.map +1 -1
  570. package/dist/index.es107.js +36 -18
  571. package/dist/index.es107.js.map +1 -1
  572. package/dist/index.es108.js +19 -71
  573. package/dist/index.es108.js.map +1 -1
  574. package/dist/index.es109.js +72 -38
  575. package/dist/index.es109.js.map +1 -1
  576. package/dist/index.es11.js +3 -3
  577. package/dist/index.es110.js +39 -17
  578. package/dist/index.es110.js.map +1 -1
  579. package/dist/index.es111.js +16 -669
  580. package/dist/index.es111.js.map +1 -1
  581. package/dist/index.es112.js +654 -17
  582. package/dist/index.es112.js.map +1 -1
  583. package/dist/index.es113.js +34 -21
  584. package/dist/index.es113.js.map +1 -1
  585. package/dist/index.es114.js +5 -5
  586. package/dist/index.es114.js.map +1 -1
  587. package/dist/index.es115.js +17 -19
  588. package/dist/index.es115.js.map +1 -1
  589. package/dist/index.es116.js +18 -30
  590. package/dist/index.es116.js.map +1 -1
  591. package/dist/index.es117.js +28 -23
  592. package/dist/index.es117.js.map +1 -1
  593. package/dist/index.es118.js +21 -32
  594. package/dist/index.es118.js.map +1 -1
  595. package/dist/index.es119.js +33 -22
  596. package/dist/index.es119.js.map +1 -1
  597. package/dist/index.es12.js +4 -4
  598. package/dist/index.es12.js.map +1 -1
  599. package/dist/index.es120.js +40 -24
  600. package/dist/index.es120.js.map +1 -1
  601. package/dist/index.es121.js +10 -14
  602. package/dist/index.es121.js.map +1 -1
  603. package/dist/index.es122.js +28 -32
  604. package/dist/index.es122.js.map +1 -1
  605. package/dist/index.es123.js +21 -24
  606. package/dist/index.es123.js.map +1 -1
  607. package/dist/index.es124.js +24 -22
  608. package/dist/index.es124.js.map +1 -1
  609. package/dist/index.es125.js +24 -27
  610. package/dist/index.es125.js.map +1 -1
  611. package/dist/index.es126.js +21 -33
  612. package/dist/index.es126.js.map +1 -1
  613. package/dist/index.es127.js +27 -24
  614. package/dist/index.es127.js.map +1 -1
  615. package/dist/index.es128.js +12 -12
  616. package/dist/index.es128.js.map +1 -1
  617. package/dist/index.es129.js +17 -17
  618. package/dist/index.es129.js.map +1 -1
  619. package/dist/index.es13.js +3 -3
  620. package/dist/index.es13.js.map +1 -1
  621. package/dist/index.es130.js +14 -14
  622. package/dist/index.es130.js.map +1 -1
  623. package/dist/index.es131.js +18 -17
  624. package/dist/index.es131.js.map +1 -1
  625. package/dist/index.es132.js +11 -11
  626. package/dist/index.es132.js.map +1 -1
  627. package/dist/index.es133.js +23 -31
  628. package/dist/index.es133.js.map +1 -1
  629. package/dist/index.es134.js +33 -21
  630. package/dist/index.es134.js.map +1 -1
  631. package/dist/index.es135.js +27 -18
  632. package/dist/index.es135.js.map +1 -1
  633. package/dist/index.es136.js +21 -33
  634. package/dist/index.es136.js.map +1 -1
  635. package/dist/index.es137.js +17 -19
  636. package/dist/index.es137.js.map +1 -1
  637. package/dist/index.es138.js +22 -24
  638. package/dist/index.es138.js.map +1 -1
  639. package/dist/index.es139.js +22 -21
  640. package/dist/index.es139.js.map +1 -1
  641. package/dist/index.es14.js +3 -3
  642. package/dist/index.es14.js.map +1 -1
  643. package/dist/index.es140.js +21 -19
  644. package/dist/index.es140.js.map +1 -1
  645. package/dist/index.es141.js +22 -15
  646. package/dist/index.es141.js.map +1 -1
  647. package/dist/index.es142.js +33 -16
  648. package/dist/index.es142.js.map +1 -1
  649. package/dist/index.es143.js +23 -1799
  650. package/dist/index.es143.js.map +1 -1
  651. package/dist/index.es144.js +19 -472
  652. package/dist/index.es144.js.map +1 -1
  653. package/dist/index.es145.js +1756 -138
  654. package/dist/index.es145.js.map +1 -1
  655. package/dist/index.es146.js +459 -254
  656. package/dist/index.es146.js.map +1 -1
  657. package/dist/index.es147.js +140 -85
  658. package/dist/index.es147.js.map +1 -1
  659. package/dist/index.es148.js +252 -278
  660. package/dist/index.es148.js.map +1 -1
  661. package/dist/index.es149.js +117 -198
  662. package/dist/index.es149.js.map +1 -1
  663. package/dist/index.es15.js +4 -4
  664. package/dist/index.es15.js.map +1 -1
  665. package/dist/index.es150.js +279 -16
  666. package/dist/index.es150.js.map +1 -1
  667. package/dist/index.es151.js +202 -32
  668. package/dist/index.es151.js.map +1 -1
  669. package/dist/index.es152.js +15 -340
  670. package/dist/index.es152.js.map +1 -1
  671. package/dist/index.es153.js +32 -88
  672. package/dist/index.es153.js.map +1 -1
  673. package/dist/index.es154.js +341 -147
  674. package/dist/index.es154.js.map +1 -1
  675. package/dist/index.es155.js +82 -30
  676. package/dist/index.es155.js.map +1 -1
  677. package/dist/index.es156.js +148 -9
  678. package/dist/index.es156.js.map +1 -1
  679. package/dist/index.es157.js +30 -171
  680. package/dist/index.es157.js.map +1 -1
  681. package/dist/index.es158.js +6 -83
  682. package/dist/index.es158.js.map +1 -1
  683. package/dist/index.es159.js +160 -23
  684. package/dist/index.es159.js.map +1 -1
  685. package/dist/index.es16.js +7 -7
  686. package/dist/index.es16.js.map +1 -1
  687. package/dist/index.es160.js +68 -27
  688. package/dist/index.es160.js.map +1 -1
  689. package/dist/index.es161.js +38 -74
  690. package/dist/index.es161.js.map +1 -1
  691. package/dist/index.es162.js +45 -3
  692. package/dist/index.es162.js.map +1 -1
  693. package/dist/index.es163.js +75 -0
  694. package/dist/index.es163.js.map +1 -0
  695. package/dist/index.es164.js +3 -15
  696. package/dist/index.es164.js.map +1 -1
  697. package/dist/index.es166.js +15 -3
  698. package/dist/index.es166.js.map +1 -1
  699. package/dist/index.es168.js +6 -0
  700. package/dist/index.es168.js.map +1 -0
  701. package/dist/index.es17.js +2 -2
  702. package/dist/index.es17.js.map +1 -1
  703. package/dist/index.es173.js.map +1 -1
  704. package/dist/index.es174.js +27 -2
  705. package/dist/index.es174.js.map +1 -1
  706. package/dist/index.es176.js +2 -12
  707. package/dist/index.es176.js.map +1 -1
  708. package/dist/index.es178.js +11 -14
  709. package/dist/index.es178.js.map +1 -1
  710. package/dist/index.es18.js +3 -3
  711. package/dist/index.es18.js.map +1 -1
  712. package/dist/index.es180.js +18 -0
  713. package/dist/index.es180.js.map +1 -0
  714. package/dist/{index.es182.js → index.es184.js} +3 -3
  715. package/dist/index.es184.js.map +1 -0
  716. package/dist/{index.es185.js → index.es187.js} +3 -3
  717. package/dist/index.es187.js.map +1 -0
  718. package/dist/index.es19.js +3 -3
  719. package/dist/index.es19.js.map +1 -1
  720. package/dist/{index.es188.js → index.es190.js} +8 -8
  721. package/dist/{index.es188.js.map → index.es190.js.map} +1 -1
  722. package/dist/index.es193.js +69 -136
  723. package/dist/index.es193.js.map +1 -1
  724. package/dist/{index.es192.js → index.es194.js} +6 -6
  725. package/dist/index.es194.js.map +1 -0
  726. package/dist/index.es195.js +146 -0
  727. package/dist/index.es195.js.map +1 -0
  728. package/dist/index.es20.js +2 -2
  729. package/dist/index.es20.js.map +1 -1
  730. package/dist/{index.es199.js → index.es201.js} +9 -9
  731. package/dist/{index.es199.js.map → index.es201.js.map} +1 -1
  732. package/dist/{index.es200.js → index.es202.js} +1 -1
  733. package/dist/index.es202.js.map +1 -0
  734. package/dist/index.es205.js +6 -0
  735. package/dist/index.es205.js.map +1 -0
  736. package/dist/index.es21.js +3 -3
  737. package/dist/index.es21.js.map +1 -1
  738. package/dist/index.es210.js +47 -255
  739. package/dist/index.es210.js.map +1 -1
  740. package/dist/index.es212.js +257 -16
  741. package/dist/index.es212.js.map +1 -1
  742. package/dist/index.es213.js +51 -7
  743. package/dist/index.es213.js.map +1 -1
  744. package/dist/index.es214.js +18 -28
  745. package/dist/index.es214.js.map +1 -1
  746. package/dist/index.es215.js +10 -0
  747. package/dist/index.es215.js.map +1 -0
  748. package/dist/index.es216.js +20 -19
  749. package/dist/index.es216.js.map +1 -1
  750. package/dist/index.es218.js +27 -8
  751. package/dist/index.es218.js.map +1 -1
  752. package/dist/{index.es217.js → index.es219.js} +2 -2
  753. package/dist/index.es219.js.map +1 -0
  754. package/dist/index.es22.js +4 -4
  755. package/dist/index.es22.js.map +1 -1
  756. package/dist/index.es220.js +11 -0
  757. package/dist/index.es220.js.map +1 -0
  758. package/dist/{index.es221.js → index.es223.js} +3 -3
  759. package/dist/index.es223.js.map +1 -0
  760. package/dist/{index.es222.js → index.es224.js} +2 -2
  761. package/dist/index.es224.js.map +1 -0
  762. package/dist/index.es229.js +8 -6
  763. package/dist/index.es229.js.map +1 -1
  764. package/dist/index.es23.js +4 -4
  765. package/dist/index.es23.js.map +1 -1
  766. package/dist/{index.es228.js → index.es230.js} +4 -4
  767. package/dist/index.es230.js.map +1 -0
  768. package/dist/index.es231.js +6 -27
  769. package/dist/index.es231.js.map +1 -1
  770. package/dist/index.es233.js +27 -6
  771. package/dist/index.es233.js.map +1 -1
  772. package/dist/{index.es232.js → index.es234.js} +3 -3
  773. package/dist/index.es234.js.map +1 -0
  774. package/dist/index.es235.js +6 -27
  775. package/dist/index.es235.js.map +1 -1
  776. package/dist/index.es237.js +23 -112
  777. package/dist/index.es237.js.map +1 -1
  778. package/dist/index.es238.js +31 -0
  779. package/dist/index.es238.js.map +1 -0
  780. package/dist/index.es239.js +112 -55
  781. package/dist/index.es239.js.map +1 -1
  782. package/dist/index.es24.js +6 -6
  783. package/dist/index.es241.js +62 -0
  784. package/dist/index.es241.js.map +1 -0
  785. package/dist/index.es25.js +3 -3
  786. package/dist/index.es25.js.map +1 -1
  787. package/dist/index.es250.js +2 -0
  788. package/dist/index.es250.js.map +1 -0
  789. package/dist/index.es26.js +3 -3
  790. package/dist/index.es26.js.map +1 -1
  791. package/dist/index.es27.js +1 -1
  792. package/dist/index.es27.js.map +1 -1
  793. package/dist/{index.es276.js → index.es278.js} +7 -7
  794. package/dist/{index.es276.js.map → index.es278.js.map} +1 -1
  795. package/dist/index.es28.js +3 -3
  796. package/dist/index.es28.js.map +1 -1
  797. package/dist/index.es284.js +134 -31
  798. package/dist/index.es284.js.map +1 -1
  799. package/dist/index.es285.js +7 -244
  800. package/dist/index.es285.js.map +1 -1
  801. package/dist/index.es286.js +2 -3675
  802. package/dist/index.es286.js.map +1 -1
  803. package/dist/index.es287.js +33 -2
  804. package/dist/index.es287.js.map +1 -1
  805. package/dist/index.es288.js +406 -2
  806. package/dist/index.es288.js.map +1 -1
  807. package/dist/index.es289.js +3678 -0
  808. package/dist/index.es289.js.map +1 -0
  809. package/dist/index.es29.js +5 -5
  810. package/dist/index.es29.js.map +1 -1
  811. package/dist/index.es290.js +5 -0
  812. package/dist/index.es290.js.map +1 -0
  813. package/dist/index.es291.js +5 -0
  814. package/dist/index.es291.js.map +1 -0
  815. package/dist/index.es292.js +5 -0
  816. package/dist/index.es292.js.map +1 -0
  817. package/dist/index.es293.js +5 -0
  818. package/dist/index.es293.js.map +1 -0
  819. package/dist/index.es295.js +15 -27
  820. package/dist/index.es295.js.map +1 -1
  821. package/dist/index.es298.js +6 -29
  822. package/dist/index.es298.js.map +1 -1
  823. package/dist/index.es299.js +26 -5
  824. package/dist/index.es299.js.map +1 -1
  825. package/dist/index.es3.js +6 -6
  826. package/dist/index.es30.js +4 -4
  827. package/dist/index.es30.js.map +1 -1
  828. package/dist/index.es300.js +52 -24
  829. package/dist/index.es300.js.map +1 -1
  830. package/dist/index.es301.js +27 -66
  831. package/dist/index.es301.js.map +1 -1
  832. package/dist/index.es302.js +2 -2
  833. package/dist/index.es303.js +621 -6
  834. package/dist/index.es303.js.map +1 -1
  835. package/dist/index.es304.js +10 -26
  836. package/dist/index.es304.js.map +1 -1
  837. package/dist/index.es308.js +5 -124
  838. package/dist/index.es308.js.map +1 -1
  839. package/dist/index.es309.js +24 -134
  840. package/dist/index.es309.js.map +1 -1
  841. package/dist/index.es31.js +3 -3
  842. package/dist/index.es31.js.map +1 -1
  843. package/dist/index.es310.js +69 -14
  844. package/dist/index.es310.js.map +1 -1
  845. package/dist/index.es311.js +10 -68
  846. package/dist/index.es311.js.map +1 -1
  847. package/dist/index.es312.js +41 -32
  848. package/dist/index.es312.js.map +1 -1
  849. package/dist/index.es313.js +45 -14
  850. package/dist/index.es313.js.map +1 -1
  851. package/dist/index.es314.js +8 -9
  852. package/dist/index.es314.js.map +1 -1
  853. package/dist/index.es315.js +122 -47
  854. package/dist/index.es315.js.map +1 -1
  855. package/dist/index.es316.js +13 -45
  856. package/dist/index.es316.js.map +1 -1
  857. package/dist/index.es317.js +138 -0
  858. package/dist/index.es317.js.map +1 -0
  859. package/dist/index.es318.js +221 -0
  860. package/dist/index.es318.js.map +1 -0
  861. package/dist/index.es319.js +17 -0
  862. package/dist/index.es319.js.map +1 -0
  863. package/dist/index.es32.js +3 -3
  864. package/dist/index.es32.js.map +1 -1
  865. package/dist/index.es320.js +157 -601
  866. package/dist/index.es320.js.map +1 -1
  867. package/dist/index.es321.js +50 -11
  868. package/dist/index.es321.js.map +1 -1
  869. package/dist/index.es322.js +9 -15
  870. package/dist/index.es322.js.map +1 -1
  871. package/dist/index.es323.js +7 -0
  872. package/dist/index.es323.js.map +1 -0
  873. package/dist/{index.es354.js → index.es324.js} +2 -2
  874. package/dist/{index.es354.js.map → index.es324.js.map} +1 -1
  875. package/dist/index.es325.js +208 -0
  876. package/dist/index.es325.js.map +1 -0
  877. package/dist/index.es326.js +25 -0
  878. package/dist/index.es326.js.map +1 -0
  879. package/dist/index.es327.js +396 -0
  880. package/dist/index.es327.js.map +1 -0
  881. package/dist/index.es33.js +2 -2
  882. package/dist/index.es33.js.map +1 -1
  883. package/dist/index.es331.js +5 -51
  884. package/dist/index.es331.js.map +1 -1
  885. package/dist/index.es332.js.map +1 -1
  886. package/dist/index.es333.js +66 -5
  887. package/dist/index.es333.js.map +1 -1
  888. package/dist/index.es334.js +10 -8
  889. package/dist/index.es334.js.map +1 -1
  890. package/dist/index.es335.js +30 -2
  891. package/dist/index.es335.js.map +1 -1
  892. package/dist/index.es336.js +125 -2
  893. package/dist/index.es336.js.map +1 -1
  894. package/dist/index.es337.js +134 -10
  895. package/dist/index.es337.js.map +1 -1
  896. package/dist/index.es338.js +14 -4
  897. package/dist/index.es338.js.map +1 -1
  898. package/dist/index.es339.js +66 -39
  899. package/dist/index.es339.js.map +1 -1
  900. package/dist/index.es34.js +3 -3
  901. package/dist/index.es34.js.map +1 -1
  902. package/dist/index.es340.js +33 -4
  903. package/dist/index.es340.js.map +1 -1
  904. package/dist/index.es341.js +12 -8
  905. package/dist/index.es341.js.map +1 -1
  906. package/dist/index.es342.js +46 -11
  907. package/dist/index.es342.js.map +1 -1
  908. package/dist/index.es346.js +23 -13
  909. package/dist/index.es346.js.map +1 -1
  910. package/dist/index.es347.js +27 -133
  911. package/dist/index.es347.js.map +1 -1
  912. package/dist/index.es348.js +5 -218
  913. package/dist/index.es348.js.map +1 -1
  914. package/dist/index.es349.js +4 -14
  915. package/dist/index.es349.js.map +1 -1
  916. package/dist/index.es35.js +2 -2
  917. package/dist/index.es35.js.map +1 -1
  918. package/dist/index.es350.js +10 -177
  919. package/dist/index.es350.js.map +1 -1
  920. package/dist/index.es351.js +11 -24
  921. package/dist/index.es351.js.map +1 -1
  922. package/dist/index.es355.js +5 -205
  923. package/dist/index.es355.js.map +1 -1
  924. package/dist/index.es356.js +3 -22
  925. package/dist/index.es356.js.map +1 -1
  926. package/dist/index.es357.js +20 -389
  927. package/dist/index.es357.js.map +1 -1
  928. package/dist/index.es358.js +110 -5
  929. package/dist/index.es358.js.map +1 -1
  930. package/dist/index.es359.js +16 -3
  931. package/dist/index.es359.js.map +1 -1
  932. package/dist/index.es36.js +2 -2
  933. package/dist/index.es36.js.map +1 -1
  934. package/dist/index.es360.js +520 -21
  935. package/dist/index.es360.js.map +1 -1
  936. package/dist/index.es361.js +126 -109
  937. package/dist/index.es361.js.map +1 -1
  938. package/dist/index.es362.js +128 -15
  939. package/dist/index.es362.js.map +1 -1
  940. package/dist/index.es364.js +64 -8
  941. package/dist/index.es364.js.map +1 -1
  942. package/dist/index.es367.js +69 -65
  943. package/dist/index.es367.js.map +1 -1
  944. package/dist/index.es368.js +7 -521
  945. package/dist/index.es368.js.map +1 -1
  946. package/dist/index.es369.js +13 -126
  947. package/dist/index.es369.js.map +1 -1
  948. package/dist/index.es37.js +6 -6
  949. package/dist/index.es37.js.map +1 -1
  950. package/dist/index.es370.js +60 -127
  951. package/dist/index.es370.js.map +1 -1
  952. package/dist/{index.es296.js → index.es377.js} +2 -2
  953. package/dist/index.es377.js.map +1 -0
  954. package/dist/index.es378.js +30 -0
  955. package/dist/index.es378.js.map +1 -0
  956. package/dist/{index.es297.js → index.es379.js} +1 -1
  957. package/dist/index.es379.js.map +1 -0
  958. package/dist/index.es38.js +5 -5
  959. package/dist/index.es38.js.map +1 -1
  960. package/dist/index.es380.js +12 -0
  961. package/dist/index.es380.js.map +1 -0
  962. package/dist/index.es39.js +4 -4
  963. package/dist/index.es39.js.map +1 -1
  964. package/dist/index.es4.js +7 -7
  965. package/dist/index.es40.js +4 -4
  966. package/dist/index.es40.js.map +1 -1
  967. package/dist/index.es41.js +3 -3
  968. package/dist/index.es41.js.map +1 -1
  969. package/dist/index.es42.js +3 -3
  970. package/dist/index.es42.js.map +1 -1
  971. package/dist/index.es43.js +5 -5
  972. package/dist/index.es43.js.map +1 -1
  973. package/dist/index.es44.js +5 -5
  974. package/dist/index.es44.js.map +1 -1
  975. package/dist/index.es45.js +4 -4
  976. package/dist/index.es45.js.map +1 -1
  977. package/dist/index.es46.js +3 -3
  978. package/dist/index.es46.js.map +1 -1
  979. package/dist/index.es47.js +2 -2
  980. package/dist/index.es47.js.map +1 -1
  981. package/dist/index.es48.js +4 -4
  982. package/dist/index.es48.js.map +1 -1
  983. package/dist/index.es49.js +2 -2
  984. package/dist/index.es49.js.map +1 -1
  985. package/dist/index.es5.js +4 -4
  986. package/dist/index.es50.js +2 -2
  987. package/dist/index.es50.js.map +1 -1
  988. package/dist/index.es51.js +3 -3
  989. package/dist/index.es51.js.map +1 -1
  990. package/dist/index.es52.js +4 -4
  991. package/dist/index.es52.js.map +1 -1
  992. package/dist/index.es53.js +2 -2
  993. package/dist/index.es53.js.map +1 -1
  994. package/dist/index.es54.js +3 -3
  995. package/dist/index.es54.js.map +1 -1
  996. package/dist/index.es55.js +2 -2
  997. package/dist/index.es55.js.map +1 -1
  998. package/dist/index.es56.js +2 -2
  999. package/dist/index.es56.js.map +1 -1
  1000. package/dist/index.es57.js +1 -1
  1001. package/dist/index.es57.js.map +1 -1
  1002. package/dist/index.es58.js +2 -2
  1003. package/dist/index.es58.js.map +1 -1
  1004. package/dist/index.es59.js +31 -29
  1005. package/dist/index.es59.js.map +1 -1
  1006. package/dist/index.es6.js +3 -3
  1007. package/dist/index.es6.js.map +1 -1
  1008. package/dist/index.es60.js +3 -3
  1009. package/dist/index.es60.js.map +1 -1
  1010. package/dist/index.es61.js +4 -4
  1011. package/dist/index.es61.js.map +1 -1
  1012. package/dist/index.es62.js +1 -1
  1013. package/dist/index.es62.js.map +1 -1
  1014. package/dist/index.es63.js +3 -3
  1015. package/dist/index.es63.js.map +1 -1
  1016. package/dist/index.es64.js +2 -2
  1017. package/dist/index.es64.js.map +1 -1
  1018. package/dist/index.es65.js +6 -6
  1019. package/dist/index.es65.js.map +1 -1
  1020. package/dist/index.es66.js +18 -17
  1021. package/dist/index.es66.js.map +1 -1
  1022. package/dist/index.es67.js +3 -3
  1023. package/dist/index.es67.js.map +1 -1
  1024. package/dist/index.es68.js +3 -3
  1025. package/dist/index.es68.js.map +1 -1
  1026. package/dist/index.es69.js +2 -2
  1027. package/dist/index.es69.js.map +1 -1
  1028. package/dist/index.es7.js +3 -3
  1029. package/dist/index.es7.js.map +1 -1
  1030. package/dist/index.es70.js +11 -10
  1031. package/dist/index.es70.js.map +1 -1
  1032. package/dist/index.es71.js +4 -4
  1033. package/dist/index.es71.js.map +1 -1
  1034. package/dist/index.es72.js +1 -1
  1035. package/dist/index.es72.js.map +1 -1
  1036. package/dist/index.es73.js +1 -1
  1037. package/dist/index.es73.js.map +1 -1
  1038. package/dist/index.es74.js +1 -1
  1039. package/dist/index.es74.js.map +1 -1
  1040. package/dist/index.es75.js +1 -1
  1041. package/dist/index.es75.js.map +1 -1
  1042. package/dist/index.es76.js +1 -1
  1043. package/dist/index.es76.js.map +1 -1
  1044. package/dist/index.es77.js +1 -1
  1045. package/dist/index.es77.js.map +1 -1
  1046. package/dist/index.es78.js +1 -1
  1047. package/dist/index.es78.js.map +1 -1
  1048. package/dist/index.es79.js +1 -1
  1049. package/dist/index.es79.js.map +1 -1
  1050. package/dist/index.es8.js +3 -3
  1051. package/dist/index.es8.js.map +1 -1
  1052. package/dist/index.es80.js +1 -1
  1053. package/dist/index.es80.js.map +1 -1
  1054. package/dist/index.es81.js +1 -1
  1055. package/dist/index.es81.js.map +1 -1
  1056. package/dist/index.es82.js +1 -1
  1057. package/dist/index.es82.js.map +1 -1
  1058. package/dist/index.es83.js +1 -1
  1059. package/dist/index.es83.js.map +1 -1
  1060. package/dist/index.es84.js +3 -3
  1061. package/dist/index.es84.js.map +1 -1
  1062. package/dist/index.es85.js +1 -1
  1063. package/dist/index.es85.js.map +1 -1
  1064. package/dist/index.es86.js +3 -3
  1065. package/dist/index.es86.js.map +1 -1
  1066. package/dist/index.es87.js +2 -2
  1067. package/dist/index.es87.js.map +1 -1
  1068. package/dist/index.es88.js +4 -4
  1069. package/dist/index.es88.js.map +1 -1
  1070. package/dist/index.es89.js +2 -2
  1071. package/dist/index.es9.js +4 -4
  1072. package/dist/index.es9.js.map +1 -1
  1073. package/dist/index.es90.js +2 -2
  1074. package/dist/index.es90.js.map +1 -1
  1075. package/dist/index.es91.js +1 -1
  1076. package/dist/index.es91.js.map +1 -1
  1077. package/dist/index.es92.js +44 -49
  1078. package/dist/index.es92.js.map +1 -1
  1079. package/dist/index.es93.js +46 -75
  1080. package/dist/index.es93.js.map +1 -1
  1081. package/dist/index.es94.js +78 -35
  1082. package/dist/index.es94.js.map +1 -1
  1083. package/dist/index.es95.js +35 -10
  1084. package/dist/index.es95.js.map +1 -1
  1085. package/dist/index.es96.js +12 -110
  1086. package/dist/index.es96.js.map +1 -1
  1087. package/dist/index.es97.js +109 -49
  1088. package/dist/index.es97.js.map +1 -1
  1089. package/dist/index.es98.js +50 -25
  1090. package/dist/index.es98.js.map +1 -1
  1091. package/dist/index.es99.js +16 -16
  1092. package/dist/index.es99.js.map +1 -1
  1093. package/package.json +108 -108
  1094. package/readme.md +42 -42
  1095. package/dist/index.cjs171.js +0 -2
  1096. package/dist/index.cjs171.js.map +0 -1
  1097. package/dist/index.cjs182.js.map +0 -1
  1098. package/dist/index.cjs185.js.map +0 -1
  1099. package/dist/index.cjs191.js +0 -2
  1100. package/dist/index.cjs191.js.map +0 -1
  1101. package/dist/index.cjs192.js.map +0 -1
  1102. package/dist/index.cjs200.js.map +0 -1
  1103. package/dist/index.cjs203.js.map +0 -1
  1104. package/dist/index.cjs208.js +0 -2
  1105. package/dist/index.cjs208.js.map +0 -1
  1106. package/dist/index.cjs211.js +0 -2
  1107. package/dist/index.cjs211.js.map +0 -1
  1108. package/dist/index.cjs217.js.map +0 -1
  1109. package/dist/index.cjs221.js.map +0 -1
  1110. package/dist/index.cjs222.js.map +0 -1
  1111. package/dist/index.cjs227.js +0 -2
  1112. package/dist/index.cjs227.js.map +0 -1
  1113. package/dist/index.cjs228.js.map +0 -1
  1114. package/dist/index.cjs232.js.map +0 -1
  1115. package/dist/index.cjs236.js +0 -2
  1116. package/dist/index.cjs236.js.map +0 -1
  1117. package/dist/index.cjs248.js +0 -2
  1118. package/dist/index.cjs248.js.map +0 -1
  1119. package/dist/index.cjs281.js +0 -2
  1120. package/dist/index.cjs281.js.map +0 -1
  1121. package/dist/index.cjs282.js +0 -2
  1122. package/dist/index.cjs282.js.map +0 -1
  1123. package/dist/index.cjs283.js.map +0 -1
  1124. package/dist/index.cjs296.js.map +0 -1
  1125. package/dist/index.cjs297.js.map +0 -1
  1126. package/dist/index.cjs305.js +0 -2
  1127. package/dist/index.cjs305.js.map +0 -1
  1128. package/dist/index.cjs306.js +0 -2
  1129. package/dist/index.cjs306.js.map +0 -1
  1130. package/dist/index.cjs307.js +0 -2
  1131. package/dist/index.cjs307.js.map +0 -1
  1132. package/dist/index.cjs343.js +0 -2
  1133. package/dist/index.cjs343.js.map +0 -1
  1134. package/dist/index.cjs344.js +0 -2
  1135. package/dist/index.cjs344.js.map +0 -1
  1136. package/dist/index.cjs345.js +0 -2
  1137. package/dist/index.cjs345.js.map +0 -1
  1138. package/dist/index.cjs352.js +0 -2
  1139. package/dist/index.cjs352.js.map +0 -1
  1140. package/dist/index.cjs353.js +0 -2
  1141. package/dist/index.cjs353.js.map +0 -1
  1142. package/dist/index.cjs363.js +0 -39
  1143. package/dist/index.cjs363.js.map +0 -1
  1144. package/dist/index.cjs365.js +0 -2
  1145. package/dist/index.cjs365.js.map +0 -1
  1146. package/dist/index.cjs366.js +0 -2
  1147. package/dist/index.cjs366.js.map +0 -1
  1148. package/dist/index.es171.js +0 -30
  1149. package/dist/index.es171.js.map +0 -1
  1150. package/dist/index.es182.js.map +0 -1
  1151. package/dist/index.es185.js.map +0 -1
  1152. package/dist/index.es191.js +0 -79
  1153. package/dist/index.es191.js.map +0 -1
  1154. package/dist/index.es192.js.map +0 -1
  1155. package/dist/index.es200.js.map +0 -1
  1156. package/dist/index.es203.js +0 -6
  1157. package/dist/index.es203.js.map +0 -1
  1158. package/dist/index.es208.js +0 -54
  1159. package/dist/index.es208.js.map +0 -1
  1160. package/dist/index.es211.js +0 -54
  1161. package/dist/index.es211.js.map +0 -1
  1162. package/dist/index.es217.js.map +0 -1
  1163. package/dist/index.es221.js.map +0 -1
  1164. package/dist/index.es222.js.map +0 -1
  1165. package/dist/index.es227.js +0 -11
  1166. package/dist/index.es227.js.map +0 -1
  1167. package/dist/index.es228.js.map +0 -1
  1168. package/dist/index.es232.js.map +0 -1
  1169. package/dist/index.es236.js +0 -29
  1170. package/dist/index.es236.js.map +0 -1
  1171. package/dist/index.es248.js +0 -2
  1172. package/dist/index.es248.js.map +0 -1
  1173. package/dist/index.es281.js +0 -139
  1174. package/dist/index.es281.js.map +0 -1
  1175. package/dist/index.es282.js +0 -11
  1176. package/dist/index.es282.js.map +0 -1
  1177. package/dist/index.es283.js +0 -5
  1178. package/dist/index.es283.js.map +0 -1
  1179. package/dist/index.es296.js.map +0 -1
  1180. package/dist/index.es297.js.map +0 -1
  1181. package/dist/index.es305.js +0 -71
  1182. package/dist/index.es305.js.map +0 -1
  1183. package/dist/index.es306.js +0 -14
  1184. package/dist/index.es306.js.map +0 -1
  1185. package/dist/index.es307.js +0 -33
  1186. package/dist/index.es307.js.map +0 -1
  1187. package/dist/index.es343.js +0 -49
  1188. package/dist/index.es343.js.map +0 -1
  1189. package/dist/index.es344.js +0 -11
  1190. package/dist/index.es344.js.map +0 -1
  1191. package/dist/index.es345.js +0 -128
  1192. package/dist/index.es345.js.map +0 -1
  1193. package/dist/index.es352.js +0 -32
  1194. package/dist/index.es352.js.map +0 -1
  1195. package/dist/index.es353.js +0 -8
  1196. package/dist/index.es353.js.map +0 -1
  1197. package/dist/index.es363.js +0 -72
  1198. package/dist/index.es363.js.map +0 -1
  1199. package/dist/index.es365.js +0 -17
  1200. package/dist/index.es365.js.map +0 -1
  1201. package/dist/index.es366.js +0 -65
  1202. package/dist/index.es366.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),m=require("./index.cjs304.js"),p=require("./index.cjs162.js");function g(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 i=g(y);function S(e){const t=b(e),r=i.forwardRef((n,o)=>{const{children:l,...c}=n,s=i.Children.toArray(l),u=s.find(E);if(u){const a=u.props.children,d=s.map(f=>f===u?i.Children.count(a)>1?i.Children.only(null):i.isValidElement(a)?a.props.children:null:f);return p.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i.isValidElement(a)?i.cloneElement(a,void 0,d):null})}return p.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l})});return r.displayName=`${e}.Slot`,r}function b(e){const t=i.forwardRef((r,n)=>{const{children:o,...l}=r;if(i.isValidElement(o)){const c=x(o),s=R(l,o.props);return o.type!==i.Fragment&&(s.ref=n?m.composeRefs(n,c):c),i.cloneElement(o,s)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var j=Symbol("radix.slottable");function E(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===j}function R(e,t){const r={...t};for(const n in t){const o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...s)=>{l(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}function x(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}exports.createSlot=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=a(c);var r=0;function d(){s.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??u()),document.body.insertAdjacentElement("beforeend",e[1]??u()),r++,()=>{r===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r--}},[])}function u(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}exports.useFocusGuards=d;
2
2
  //# sourceMappingURL=index.cjs316.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs316.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"icAKA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACxL,CACI,OAAuBE,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACvF,CAAG,EACD,OAAAJ,EAAM,YAAc,GAAGH,CAAS,QACzBG,CACT,CAGA,SAASD,EAAgBF,EAAW,CAClC,MAAMC,EAAYG,EAAM,WAAW,CAACC,EAAOC,IAAiB,CAC1D,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMS,EAAcC,EAAcV,CAAQ,EACpCW,EAASC,EAAWX,EAAWD,EAAS,KAAK,EACnD,OAAIA,EAAS,OAASH,EAAM,WAC1Bc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iD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs316.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/FocusGuards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":"mYAIA,IAAIA,EAAQ,EAKZ,SAASC,GAAiB,CACxBC,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAa,SAAS,iBAAiB,0BAA0B,EACvE,gBAAS,KAAK,sBAAsB,aAAcA,EAAW,CAAC,GAAKC,GAAkB,EACrF,SAAS,KAAK,sBAAsB,YAAaD,EAAW,CAAC,GAAKC,GAAkB,EACpFJ,IACO,IAAM,CACPA,IAAU,GACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAASK,GAASA,EAAK,QAAQ,EAEvFL,GACD,CACF,EAAE,EAAE,CACP,CACA,SAASI,GAAmB,CAC1B,MAAME,EAAU,SAAS,cAAc,MAAM,EAC7C,OAAAA,EAAQ,aAAa,yBAA0B,EAAE,EACjDA,EAAQ,SAAW,EACnBA,EAAQ,MAAM,QAAU,OACxBA,EAAQ,MAAM,QAAU,IACxBA,EAAQ,MAAM,SAAW,QACzBA,EAAQ,MAAM,cAAgB,OACvBA,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs299.js"),A=require("./index.cjs302.js"),O=require("./index.cjs311.js"),k=require("./index.cjs164.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.cjs317.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs317.js","sources":["../node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-scope/src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","FOCUS_SCOPE_NAME","FocusScope","React","props","forwardedRef","loop","trapped","onMountAutoFocusProp","onUnmountAutoFocusProp","scopeProps","container","setContainer","onMountAutoFocus","useCallbackRef","onUnmountAutoFocus","lastFocusedElementRef","composedRefs","useComposedRefs","node","focusScope","handleFocusIn2","event","target","focus","handleFocusOut2","relatedTarget","handleMutations2","mutations","mutation","mutationObserver","focusScopesStack","previouslyFocusedElement","mountEvent","focusFirst","removeLinks","getTabbableCandidates","unmountEvent","handleKeyDown","isTabKey","focusedElement","container2","first","last","getTabbableEdges","jsx","Primitive","candidates","select","candidate","findVisible","nodes","walker","isHiddenInput","elements","element","isHidden","upTo","isSelectableInput","createFocusScopesStack","stack","activeFocusScope","arrayRemove","_a","array","item","updatedArray","index","items"],"mappings":"+fAQA,IAAIA,EAAqB,8BACrBC,EAAuB,gCACvBC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAmB,aACnBC,EAAaC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACzD,KAAM,CACJ,KAAAC,EAAO,GACP,QAAAC,EAAU,GACV,iBAAkBC,EAClB,mBAAoBC,EACpB,GAAGC,CACP,EAAMN,EACE,CAACO,EAAWC,CAAY,EAAIT,EAAM,SAAS,IAAI,EAC/CU,EAAmBC,EAAc,eAACN,CAAoB,EACtDO,EAAqBD,EAAc,eAACL,CAAsB,EAC1DO,EAAwBb,EAAM,OAAO,IAAI,EACzCc,EAAeC,EAAAA,gBAAgBb,EAAec,GAASP,EAAaO,CAAI,CAAC,EACzEC,EAAajB,EAAM,OAAO,CAC9B,OAAQ,GACR,OAAQ,CACN,KAAK,OAAS,EACf,EACD,QAAS,CACP,KAAK,OAAS,EACpB,CACG,CAAA,EAAE,QACHA,EAAM,UAAU,IAAM,CACpB,GAAII,EAAS,CACX,IAAIc,EAAiB,SAASC,EAAO,CACnC,GAAIF,EAAW,QAAU,CAACT,EAAW,OACrC,MAAMY,EAASD,EAAM,OACjBX,EAAU,SAASY,CAAM,EAC3BP,EAAsB,QAAUO,EAEhCC,EAAMR,EAAsB,QAAS,CAAE,OAAQ,EAAI,CAAE,CAE/D,EAASS,EAAkB,SAASH,EAAO,CACnC,GAAIF,EAAW,QAAU,CAACT,EAAW,OACrC,MAAMe,EAAgBJ,EAAM,cACxBI,IAAkB,OACjBf,EAAU,SAASe,CAAa,GACnCF,EAAMR,EAAsB,QAAS,CAAE,OAAQ,EAAI,CAAE,EAE/D,EAASW,EAAm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AC5BxC,IAAeyC,IACjBA,GAAA,MAAAA,EAAkB,SAEpBD,EAAQE,EAAYF,EAAOxC,CAAU,EACrCwC,EAAM,QAAQxC,CAAU,CACzB,EACD,OAAOA,EAAY,OACjBwC,EAAQE,EAAYF,EAAOxC,CAAU,GACrC2C,EAAAH,EAAM,CAAC,IAAP,MAAAG,EAAU,QAChB,CACG,CACH,CACA,SAASD,EAAYE,EAAOC,EAAM,CAChC,MAAMC,EAAe,CAAC,GAAGF,CAAK,EACxBG,EAAQD,EAAa,QAAQD,CAAI,EACvC,OAAIE,IAAU,IACZD,EAAa,OAAOC,EAAO,CAAC,EAEvBD,CACT,CACA,SAAS/B,EAAYiC,EAAO,CAC1B,OAAOA,EAAM,OAAQH,GAASA,EAAK,UAAY,GAAG,CACpD","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs325.js"),ye=require("./index.cjs326.js"),Z=require("./index.cjs299.js"),Ae=require("./index.cjs300.js"),G=require("./index.cjs302.js"),ve=require("./index.cjs311.js"),L=require("./index.cjs323.js"),Ce=require("./index.cjs309.js"),u=require("./index.cjs164.js"),be=require("./index.cjs327.js");function Re(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Re(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var Q="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=K(Q,t),i=s.useRef(null),w=Z.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...a,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=s.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[m,b]=s.useState(null),te=Z.useComposedRefs(o,y=>b(y)),[E,re]=s.useState(null),h=Ce.useSize(E),oe=(h==null?void 0:h.width)??0,M=(h==null?void 0:h.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],ae=W.length>0,R={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>be.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:a+M,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...R}),c&&l.flip({...R}),l.size({...R,apply:({elements:y,rects:U,availableWidth:me,availableHeight:he})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${me}px`),j.setProperty("--radix-popper-available-height",`${he}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...R})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=s.useState();return L.useLayoutEffect(()=>{m&&xe(window.getComputedStyle(m).zIndex)},[m]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,m,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((m=a.arrow)==null?void 0:m.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${A}px`,d=`${-c}px`):p==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${v}px`):p==="left"&&(f=`${r.floating.width+c}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
2
+ //# sourceMappingURL=index.cjs318.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs318.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor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AAE,EAAAC,EAAG,EAAAC,CAAC,CAAI,CAC7B,CACA,GACA,SAAS9B,GAA6BvB,EAAW,CAC/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ1G,EACR2G,GAASlG,EACTmG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs302.js"),p=require("./index.cjs323.js"),m=require("./index.cjs164.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=P(l);var b="Portal",i=c.forwardRef((e,r)=>{var a;const{container:t,...o}=e,[u,s]=c.useState(!1);p.useLayoutEffect(()=>s(!0),[]);const n=t||u&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return n?d.createPortal(m.jsxRuntimeExports.jsx(f.Primitive.div,{...o,ref:r}),n):null});i.displayName=b;exports.Portal=i;
2
+ //# sourceMappingURL=index.cjs319.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs319.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":"ufAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,OACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAa,EAAGH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAA,CAAE,EAC1C,MAAME,EAAYL,GAAiBE,KAAWI,EAAA,mCAAY,WAAZ,YAAAA,EAAsB,MACpE,OAAOD,EAAYE,EAAS,aAA6BC,EAAG,kBAAA,IAACC,EAAS,UAAC,IAAK,CAAE,GAAGR,EAAa,IAAKF,CAAc,CAAA,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/SupportBanner/SupportBanner.css');const e=require("./index.cjs162.js"),n=require("./index.cjs164.js");;/* empty css */const N=require("react"),h=require("./index.cjs135.js"),g=require("./index.cjs35.js"),f=require("./index.cjs10.js"),q=require("./index.cjs25.js"),m={link:(s,i)=>e.jsxRuntimeExports.jsx(g.ArrowLink,{href:i,children:s}),button:s=>e.jsxRuntimeExports.jsx("button",{className:"button-style",children:s}),outlineButton:(s,i,o,l)=>e.jsxRuntimeExports.jsxs(q.Button,{size:"2",textColor:"primary",bg:"lightblue-a03",className:"w-full ",border:"primary",onClick:l,children:[o&&e.jsxRuntimeExports.jsx(h.Attachment,{className:"mr-x8"}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-bold",children:s})]})},w=({cta:s="link",bannerType:i="outline",title:o,description:l="",titleTag:p="h3",href:t="#",icon:x=!0,linkText:r="Vai al supporto",mainLayout:j="layout1",className:d="",classNameTitle:b="",classNameDescription:y="",handleAction:u})=>{const R=N.useMemo(()=>Array.isArray(t)?t.map((c,a)=>{const E=Array.isArray(r)?r[a]:r;return e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](E,c,x,u)},a)}):Array.isArray(r)?r.map((c,a)=>e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](c,t,x,u)},a)):m[s](r,t,x,u),[s,r,t,u]);return e.jsxRuntimeExports.jsxs(f.Col,{br:"x4",gap:"x16",className:n.clsx(d,i==="outline"?"ui-outline":"bg-lightblue-a03","ui-banner shadow "),children:[e.jsxRuntimeExports.jsx(p,{className:n.clsx("ui-banner-title text-slate-20",b||"fs-4 fw-bold"),children:o}),e.jsxRuntimeExports.jsxs("main",{className:n.clsx(j==="layout1"?"ui-banner-content-layout1 fs-6 text-secondary justify-content-between ":"ui-banner-content-layout2","ui-banner-content fs-6 text-secondary w-100"),children:[e.jsxRuntimeExports.jsx("div",{className:n.clsx(y,j==="layout1"?"ui-banner-description":""),children:l}),e.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-banner-cta"),children:R})]})]})};exports.SupportBanner=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/SupportBanner/SupportBanner.css');const e=require("./index.cjs164.js"),n=require("./index.cjs166.js");;/* empty css */const N=require("react"),h=require("./index.cjs137.js"),g=require("./index.cjs35.js"),f=require("./index.cjs10.js"),q=require("./index.cjs25.js"),m={link:(s,i)=>e.jsxRuntimeExports.jsx(g.ArrowLink,{href:i,children:s}),button:s=>e.jsxRuntimeExports.jsx("button",{className:"button-style",children:s}),outlineButton:(s,i,o,l)=>e.jsxRuntimeExports.jsxs(q.Button,{size:"2",textColor:"primary",bg:"lightblue-a03",className:"w-full ",border:"primary",onClick:l,children:[o&&e.jsxRuntimeExports.jsx(h.Attachment,{className:"mr-x8"}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-bold",children:s})]})},w=({cta:s="link",bannerType:i="outline",title:o,description:l="",titleTag:p="h3",href:t="#",icon:x=!0,linkText:r="Vai al supporto",mainLayout:j="layout1",className:d="",classNameTitle:b="",classNameDescription:y="",handleAction:u})=>{const R=N.useMemo(()=>Array.isArray(t)?t.map((c,a)=>{const E=Array.isArray(r)?r[a]:r;return e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](E,c,x,u)},a)}):Array.isArray(r)?r.map((c,a)=>e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](c,t,x,u)},a)):m[s](r,t,x,u),[s,r,t,u]);return e.jsxRuntimeExports.jsxs(f.Col,{br:"x4",gap:"x16",className:n.clsx(d,i==="outline"?"ui-outline":"bg-lightblue-a03","ui-banner shadow "),children:[e.jsxRuntimeExports.jsx(p,{className:n.clsx("ui-banner-title text-slate-20",b||"fs-4 fw-bold"),children:o}),e.jsxRuntimeExports.jsxs("main",{className:n.clsx(j==="layout1"?"ui-banner-content-layout1 fs-6 text-secondary justify-content-between ":"ui-banner-content-layout2","ui-banner-content fs-6 text-secondary w-100"),children:[e.jsxRuntimeExports.jsx("div",{className:n.clsx(y,j==="layout1"?"ui-banner-description":""),children:l}),e.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-banner-cta"),children:R})]})]})};exports.SupportBanner=w;
2
2
  //# sourceMappingURL=index.cjs32.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs32.js","sources":["../src/components/ui/SupportBanner/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./SupportBanner.scss\";\r\nimport { ArrowLink, Button, Col } from \"@/components\";\r\nimport { useMemo } from \"react\";\r\nimport { Attachment } from \"@/icons\";\r\n\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\ntype ctaLevel = \"link\" | \"button\" | \"outlineButton\";\r\n\r\ntype SupportBannerProps = {\r\n cta: ctaLevel;\r\n bannerType: \"filled\" | \"outline\";\r\n title: string;\r\n description?: string;\r\n titleTag: HeadingLevel;\r\n href?: string | string[];\r\n icon?: boolean;\r\n linkText?: string | string[];\r\n mainLayout?: \"layout1\" | \"layout2\";\r\n className?: string;\r\n classNameTitle?: string;\r\n classNameDescription?: string;\r\n handleAction?: () => void;\r\n};\r\n\r\nconst CTA_COMPONENTS = {\r\n link: (title: string, href?: string) => (\r\n <ArrowLink href={href}>{title}</ArrowLink>\r\n ),\r\n button: (title: string) => <button className=\"button-style\">{title}</button>,\r\n outlineButton: (\r\n title: string,\r\n _href?: string,\r\n icon?: boolean,\r\n handleAction?: () => void,\r\n ) => (\r\n <Button\r\n size={\"2\"}\r\n textColor=\"primary\"\r\n bg=\"lightblue-a03\"\r\n className={\"w-full \"}\r\n border={\"primary\"}\r\n onClick={handleAction}\r\n >\r\n {icon && <Attachment className={\"mr-x8\"} />}\r\n <p className={\"fs-6 fw-bold\"}>{title}</p>\r\n </Button>\r\n ),\r\n};\r\n\r\nexport const SupportBanner = ({\r\n cta = \"link\",\r\n bannerType = \"outline\",\r\n title,\r\n description = \"\",\r\n titleTag: TitleTag = \"h3\",\r\n href = \"#\",\r\n icon = true,\r\n linkText = \"Vai al supporto\",\r\n mainLayout = \"layout1\",\r\n className = \"\",\r\n classNameTitle = \"\",\r\n classNameDescription = \"\",\r\n handleAction,\r\n}: SupportBannerProps) => {\r\n const renderCTA = useMemo(() => {\r\n if (Array.isArray(href)) {\r\n return href.map((singleHref, index) => {\r\n const singleLinkText = Array.isArray(linkText)\r\n ? linkText[index]\r\n : linkText;\r\n return (\r\n <div key={index} className=\"ui-banner-link\">\r\n {CTA_COMPONENTS[cta](\r\n singleLinkText,\r\n singleHref,\r\n icon,\r\n handleAction,\r\n )}\r\n </div>\r\n );\r\n });\r\n }\r\n if (Array.isArray(linkText)) {\r\n return linkText.map((singleLinkText, index) => {\r\n return (\r\n <div key={index} className=\"ui-banner-link\">\r\n {CTA_COMPONENTS[cta](singleLinkText, href, icon, handleAction)}\r\n </div>\r\n );\r\n });\r\n }\r\n return CTA_COMPONENTS[cta](linkText, href, icon, handleAction);\r\n }, [cta, linkText, href, handleAction]);\r\n\r\n return (\r\n <Col\r\n br={\"x4\"}\r\n gap={\"x16\"}\r\n className={clsx(\r\n className,\r\n bannerType === \"outline\" ? \"ui-outline\" : \"bg-lightblue-a03\",\r\n \"ui-banner shadow \",\r\n )}\r\n >\r\n <TitleTag\r\n className={clsx(\r\n \"ui-banner-title text-slate-20\",\r\n classNameTitle || \"fs-4 fw-bold\",\r\n )}\r\n >\r\n {title}\r\n </TitleTag>\r\n <main\r\n className={clsx(\r\n mainLayout === \"layout1\"\r\n ? \"ui-banner-content-layout1 fs-6 text-secondary justify-content-between \"\r\n : \"ui-banner-content-layout2\",\r\n \"ui-banner-content fs-6 text-secondary w-100\",\r\n )}\r\n >\r\n <div\r\n className={clsx(\r\n classNameDescription,\r\n mainLayout === \"layout1\" ? \"ui-banner-description\" : \"\",\r\n )}\r\n >\r\n {description}\r\n </div>\r\n\r\n <div className={clsx(\"ui-banner-cta\")}>{renderCTA}</div>\r\n </main>\r\n </Col>\r\n );\r\n};\r\n"],"names":["CTA_COMPONENTS","title","href","jsx","ArrowLink","_href","icon","handleAction","jsxs","Button","Attachment","SupportBanner","cta","bannerType","description","TitleTag","linkText","mainLayout","className","classNameTitle","classNameDescription","renderCTA","useMemo","singleHref","index","singleLinkText","Col","clsx"],"mappings":"mUAyBMA,EAAiB,CACrB,KAAM,CAACC,EAAeC,IACnBC,EAAA,kBAAA,IAAAC,EAAA,UAAA,CAAU,KAAAF,EAAa,SAAMD,EAAA,EAEhC,OAASA,2BAAmB,SAAO,CAAA,UAAU,eAAgB,SAAMA,EAAA,EACnE,cAAe,CACbA,EACAI,EACAC,EACAC,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C,EAAA,KACTT,EACAL,IAAe,UAAY,aAAe,mBAC1C,mBACF,EAEA,SAAA,CAAAV,EAAA,kBAAA,IAACY,EAAA,CACC,UAAWY,EAAA,KACT,gCACAR,GAAkB,cACpB,EAEC,SAAAlB,CAAA,CACH,EACAO,EAAA,kBAAA,KAAC,OAAA,CACC,UAAWmB,EAAA,KACTV,IAAe,UACX,yEACA,4BACJ,6CACF,EAEA,SAAA,CAAAd,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWwB,EAAA,KACTP,EACAH,IAAe,UAAY,wBAA0B,EACvD,EAEC,SAAAH,CAAA,CACH,0BAEC,MAAI,CAAA,UAAWa,EAAK,KAAA,eAAe,EAAI,SAAUN,CAAA,CAAA,CAAA,CAAA,CAAA,CACpD,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs32.js","sources":["../src/components/ui/SupportBanner/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./SupportBanner.scss\";\nimport { ArrowLink, Button, Col } from \"@/components\";\nimport { useMemo } from \"react\";\nimport { Attachment } from \"@/icons\";\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\ntype ctaLevel = \"link\" | \"button\" | \"outlineButton\";\n\ntype SupportBannerProps = {\n cta: ctaLevel;\n bannerType: \"filled\" | \"outline\";\n title: string;\n description?: string;\n titleTag: HeadingLevel;\n href?: string | string[];\n icon?: boolean;\n linkText?: string | string[];\n mainLayout?: \"layout1\" | \"layout2\";\n className?: string;\n classNameTitle?: string;\n classNameDescription?: string;\n handleAction?: () => void;\n};\n\nconst CTA_COMPONENTS = {\n link: (title: string, href?: string) => (\n <ArrowLink href={href}>{title}</ArrowLink>\n ),\n button: (title: string) => <button className=\"button-style\">{title}</button>,\n outlineButton: (\n title: string,\n _href?: string,\n icon?: boolean,\n handleAction?: () => void,\n ) => (\n <Button\n size={\"2\"}\n textColor=\"primary\"\n bg=\"lightblue-a03\"\n className={\"w-full \"}\n border={\"primary\"}\n onClick={handleAction}\n >\n {icon && <Attachment className={\"mr-x8\"} />}\n <p className={\"fs-6 fw-bold\"}>{title}</p>\n </Button>\n ),\n};\n\nexport const SupportBanner = ({\n cta = \"link\",\n bannerType = \"outline\",\n title,\n description = \"\",\n titleTag: TitleTag = \"h3\",\n href = \"#\",\n icon = true,\n linkText = \"Vai al supporto\",\n mainLayout = \"layout1\",\n className = \"\",\n classNameTitle = \"\",\n classNameDescription = \"\",\n handleAction,\n}: SupportBannerProps) => {\n const renderCTA = useMemo(() => {\n if (Array.isArray(href)) {\n return href.map((singleHref, index) => {\n const singleLinkText = Array.isArray(linkText)\n ? linkText[index]\n : linkText;\n return (\n <div key={index} className=\"ui-banner-link\">\n {CTA_COMPONENTS[cta](\n singleLinkText,\n singleHref,\n icon,\n handleAction,\n )}\n </div>\n );\n });\n }\n if (Array.isArray(linkText)) {\n return linkText.map((singleLinkText, index) => {\n return (\n <div key={index} className=\"ui-banner-link\">\n {CTA_COMPONENTS[cta](singleLinkText, href, icon, handleAction)}\n </div>\n );\n });\n }\n return CTA_COMPONENTS[cta](linkText, href, icon, handleAction);\n }, [cta, linkText, href, handleAction]);\n\n return (\n <Col\n br={\"x4\"}\n gap={\"x16\"}\n className={clsx(\n className,\n bannerType === \"outline\" ? \"ui-outline\" : \"bg-lightblue-a03\",\n \"ui-banner shadow \",\n )}\n >\n <TitleTag\n className={clsx(\n \"ui-banner-title text-slate-20\",\n classNameTitle || \"fs-4 fw-bold\",\n )}\n >\n {title}\n </TitleTag>\n <main\n className={clsx(\n mainLayout === \"layout1\"\n ? \"ui-banner-content-layout1 fs-6 text-secondary justify-content-between \"\n : \"ui-banner-content-layout2\",\n \"ui-banner-content fs-6 text-secondary w-100\",\n )}\n >\n <div\n className={clsx(\n classNameDescription,\n mainLayout === \"layout1\" ? \"ui-banner-description\" : \"\",\n )}\n >\n {description}\n </div>\n\n <div className={clsx(\"ui-banner-cta\")}>{renderCTA}</div>\n </main>\n </Col>\n );\n};\n"],"names":["CTA_COMPONENTS","title","href","jsx","ArrowLink","_href","icon","handleAction","jsxs","Button","Attachment","SupportBanner","cta","bannerType","description","TitleTag","linkText","mainLayout","className","classNameTitle","classNameDescription","renderCTA","useMemo","singleHref","index","singleLinkText","Col","clsx"],"mappings":"mUAyBMA,EAAiB,CACrB,KAAM,CAACC,EAAeC,IACnBC,EAAA,kBAAA,IAAAC,EAAA,UAAA,CAAU,KAAAF,EAAa,SAAMD,EAAA,EAEhC,OAASA,2BAAmB,SAAO,CAAA,UAAU,eAAgB,SAAMA,EAAA,EACnE,cAAe,CACbA,EACAI,EACAC,EACAC,IAEAC,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAM,IACN,UAAU,UACV,GAAG,gBACH,UAAW,UACX,OAAQ,UACR,QAASF,EAER,SAAA,CAAQD,GAAAH,EAAAA,kBAAAA,IAACO,EAAAA,WAAW,CAAA,UAAW,OAAS,CAAA,EACxCP,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAW,eAAiB,SAAMF,CAAA,CAAA,CAAA,CAAA,CAAA,CAG3C,EAEaU,EAAgB,CAAC,CAC5B,IAAAC,EAAM,OACN,WAAAC,EAAa,UACb,MAAAZ,EACA,YAAAa,EAAc,GACd,SAAUC,EAAW,KACrB,KAAAb,EAAO,IACP,KAAAI,EAAO,GACP,SAAAU,EAAW,kBACX,WAAAC,EAAa,UACb,UAAAC,EAAY,GACZ,eAAAC,EAAiB,GACjB,qBAAAC,EAAuB,GACvB,aAAAb,CACF,IAA0B,CAClB,MAAAc,EAAYC,EAAAA,QAAQ,IACpB,MAAM,QAAQpB,CAAI,EACbA,EAAK,IAAI,CAACqB,EAAYC,IAAU,CACrC,MAAMC,EAAiB,MAAM,QAAQT,CAAQ,EACzCA,EAASQ,CAAK,EACdR,EACJ,OACGb,EAAAA,kBAAAA,IAAA,MAAA,CAAgB,UAAU,iBACxB,WAAeS,CAAG,EACjBa,EACAF,EACAjB,EACAC,IALMiB,CAOV,CAAA,CAEH,EAEC,MAAM,QAAQR,CAAQ,EACjBA,EAAS,IAAI,CAACS,EAAgBD,IAEhCrB,EAAAA,kBAAAA,IAAA,MAAA,CAAgB,UAAU,iBACxB,SAAeH,EAAAY,CAAG,EAAEa,EAAgBvB,EAAMI,EAAMC,CAAY,CAAA,EADrDiB,CAEV,CAEH,EAEIxB,EAAeY,CAAG,EAAEI,EAAUd,EAAMI,EAAMC,CAAY,EAC5D,CAACK,EAAKI,EAAUd,EAAMK,CAAY,CAAC,EAGpC,OAAAC,EAAA,kBAAA,KAACkB,EAAA,IAAA,CACC,GAAI,KACJ,IAAK,MACL,UAAWC,EAAA,KACTT,EACAL,IAAe,UAAY,aAAe,mBAC1C,mBACF,EAEA,SAAA,CAAAV,EAAA,kBAAA,IAACY,EAAA,CACC,UAAWY,EAAA,KACT,gCACAR,GAAkB,cACpB,EAEC,SAAAlB,CAAA,CACH,EACAO,EAAA,kBAAA,KAAC,OAAA,CACC,UAAWmB,EAAA,KACTV,IAAe,UACX,yEACA,4BACJ,6CACF,EAEA,SAAA,CAAAd,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWwB,EAAA,KACTP,EACAH,IAAe,UAAY,wBAA0B,EACvD,EAEC,SAAAH,CAAA,CACH,0BAEC,MAAI,CAAA,UAAWa,EAAK,KAAA,eAAe,EAAI,SAAUN,CAAA,CAAA,CAAA,CAAA,CAAA,CACpD,CAAA,CACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),v=require("./index.cjs297.js"),Ve=require("./index.cjs343.js"),y=require("./index.cjs295.js"),Ye=require("./index.cjs296.js"),Xe=require("./index.cjs344.js"),We=require("./index.cjs345.js"),ze=require("./index.cjs346.js"),Ze=require("./index.cjs347.js"),T=require("./index.cjs348.js"),Je=require("./index.cjs349.js"),X=require("./index.cjs301.js"),A=require("./index.cjs302.js"),W=require("./index.cjs350.js"),Qe=require("./index.cjs339.js"),be=require("./index.cjs337.js"),et=require("./index.cjs315.js"),tt=require("./index.cjs314.js"),a=require("./index.cjs162.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"]},L="Menu",[N,ut,at]=Ve.createCollection(L),[j,it]=Ye.createContextScope(L,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(L),[dt,G]=j(L),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 M=()=>{f.current=!0,document.addEventListener("pointerdown",R,{capture:!0,once:!0}),document.addEventListener("pointermove",R,{capture:!0,once:!0})},R=()=>f.current=!1;return document.addEventListener("keydown",M,{capture:!0}),()=>{document.removeEventListener("keydown",M,{capture:!0}),document.removeEventListener("pointerdown",R,{capture:!0}),document.removeEventListener("pointermove",R,{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=L;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)})}),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:M,disableOutsideScroll:R,...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=R?tt:r.Fragment,Ue=R?{as:Qe.Slot,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=bt(ne,E,te),D=(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),D&&setTimeout(()=>D.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)&&yt(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:M,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":Le(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 D=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&D.reverse(),St(D)}),onBlur:v.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:v.composeEventHandlers(e.onPointerMove,F(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 Mt="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Mt;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,M=>o==null?void 0:o(M),{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,M]=r.useState("");return r.useEffect(()=>{const R=p.current;R&&M((R.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,F(R=>{o?l.onItemLeave(R):(l.onItemEnter(R),R.defaultPrevented||R.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,F(R=>l.onItemLeave(R))),onFocus:v.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:v.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Et="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(ke,{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=Et;var Oe="MenuRadioGroup",[Ct,ht]=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(Ct,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var De="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=ht(De,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(ke,{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=De;var pe="MenuItemIndicator",[ke,gt]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=gt(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 _t="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=_t;var Pt="MenuArrow",Re=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Re.displayName=Pt;var jt="MenuSub",[Vt,Ne]=j(jt),k="MenuSubTrigger",Me=r.forwardRef((e,n)=>{const t=S(k,e.__scopeMenu),o=G(k,e.__scopeMenu),u=Ne(k,e.__scopeMenu),s=ue(k,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":Le(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,F(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,F(c=>{var M,R;f();const d=(M=t.content)==null?void 0:M.getBoundingClientRect();if(d){const P=(R=t.content)==null?void 0:R.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 M;const d=s.searchRef.current!=="";e.disabled||d&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(M=t.content)==null||M.focus(),c.preventDefault())})})})});Me.displayName=k;var Fe="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(Fe,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 M;const c=f.currentTarget.contains(f.target),d=ct[l.dir].includes(f.key);c&&d&&(s.onOpenChange(!1),(M=m.trigger)==null||M.focus(),f.preventDefault())})})})})})});Ee.displayName=Fe;function Le(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function St(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function It(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function bt(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=It(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 wt(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 yt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return wt(t,n)}function F(e){return n=>n.pointerType==="mouse"?e(n):void 0}var Tt=re,At=Z,Ot=ce,Dt=ae,kt=J,Nt=le,Ft=K,Lt=de,Gt=fe,Kt=me,Ht=xe,qt=ve,Ut=Re,$t=Me,Bt=Ee;exports.Anchor=At;exports.Arrow=Ut;exports.CheckboxItem=Lt;exports.Content=Dt;exports.Group=kt;exports.Item=Ft;exports.ItemIndicator=Ht;exports.Label=Nt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Re;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=Me;exports.Portal=Ot;exports.RadioGroup=Gt;exports.RadioItem=Kt;exports.Root=Tt;exports.Separator=qt;exports.SubContent=Bt;exports.SubTrigger=$t;exports.createMenuScope=it;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs298.js"),B=require("./index.cjs313.js"),Y=require("./index.cjs299.js"),z=require("./index.cjs300.js"),V=require("./index.cjs304.js"),D=require("./index.cjs302.js"),J=require("./index.cjs311.js"),Q=require("./index.cjs301.js"),W=require("./index.cjs314.js"),f=require("./index.cjs164.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var _="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[j,G,ee]=B.createCollection(g),[te,oe]=z.createContextScope(g,[ee]),[re,ne]=te(g),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=g;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:R=!1,dir:I,currentTabStopId:x,defaultCurrentTabStopId:F,onCurrentTabStopIdChange:p,onEntryFocus:u,preventScrollOnEntryFocus:E=!1,...S}=e,v=c.useRef(null),b=Y.useComposedRefs(o,v),n=W.useDirection(I),[l=null,w]=Q.useControllableState({prop:x,defaultProp:F,onChange:p}),[i,a]=c.useState(!1),T=J.useCallbackRef(u),M=G(r),C=c.useRef(!1),[K,O]=c.useState(0);return c.useEffect(()=>{const s=v.current;if(s)return s.addEventListener(_,T),()=>s.removeEventListener(_,T)},[T]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:n,loop:R,currentTabStopId:l,onItemFocus:c.useCallback(s=>w(s),[w]),onItemShiftTab:c.useCallback(()=>a(!0),[]),onFocusableItemAdd:c.useCallback(()=>O(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>O(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(D.Primitive.div,{tabIndex:i||K===0?-1:0,"data-orientation":t,...S,ref:b,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{C.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!C.current;if(s.target===s.currentTarget&&k&&!i){const P=new CustomEvent(_,Z);if(s.currentTarget.dispatchEvent(P),!P.defaultPrevented){const y=M().filter(d=>d.focusable),L=y.find(d=>d.active),U=y.find(d=>d.id===l),$=[L,U,...y].filter(Boolean).map(d=>d.ref.current);q($,E)}}C.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>a(!1))})})}),N="RovingFocusGroupItem",h=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:R=!1,tabStopId:I,...x}=e,F=V.useId(),p=I||F,u=ne(N,r),E=u.currentTabStopId===p,S=G(r),{onFocusableItemAdd:v,onFocusableItemRemove:b}=u;return c.useEffect(()=>{if(t)return v(),()=>b()},[t,v,b]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:R,children:f.jsxRuntimeExports.jsx(D.Primitive.span,{tabIndex:E?0:-1,"data-orientation":u.orientation,...x,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const l=ie(n,u.orientation,u.dir);if(l!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=S().filter(a=>a.focusable).map(a=>a.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const a=i.indexOf(n.currentTarget);i=u.loop?ae(i,a+1):i.slice(a+1)}setTimeout(()=>q(i))}})})})});h.displayName=N;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function q(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=h;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=h;exports.createRovingFocusGroupScope=oe;
2
2
  //# sourceMappingURL=index.cjs320.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs320.js","sources":["../node_modules/@radix-ui/react-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/menu/src/menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs, composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport * as RovingFocusGroup from \"@radix-ui/react-roving-focus\";\nimport { createRovingFocusGroupScope } from \"@radix-ui/react-roving-focus\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { hideOthers } from \"aria-hidden\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SELECTION_KEYS = [\"Enter\", \" \"];\nvar FIRST_KEYS = [\"ArrowDown\", \"PageUp\", \"Home\"];\nvar LAST_KEYS = [\"ArrowUp\", \"PageDown\", \"End\"];\nvar FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];\nvar SUB_OPEN_KEYS = {\n ltr: [...SELECTION_KEYS, \"ArrowRight\"],\n rtl: [...SELECTION_KEYS, \"ArrowLeft\"]\n};\nvar SUB_CLOSE_KEYS = {\n ltr: [\"ArrowLeft\"],\n rtl: [\"ArrowRight\"]\n};\nvar MENU_NAME = \"Menu\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(MENU_NAME);\nvar [createMenuContext, createMenuScope] = createContextScope(MENU_NAME, [\n createCollectionScope,\n createPopperScope,\n createRovingFocusGroupScope\n]);\nvar usePopperScope = createPopperScope();\nvar useRovingFocusGroupScope = createRovingFocusGroupScope();\nvar [MenuProvider, useMenuContext] = createMenuContext(MENU_NAME);\nvar [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);\nvar Menu = (props) => {\n const { __scopeMenu, open = false, children, dir, onOpenChange, modal = true } = props;\n const popperScope = usePopperScope(__scopeMenu);\n const [content, setContent] = React.useState(null);\n const isUsingKeyboardRef = React.useRef(false);\n const handleOpenChange = useCallbackRef(onOpenChange);\n const direction = useDirection(dir);\n React.useEffect(() => {\n const handleKeyDown = () => {\n isUsingKeyboardRef.current = true;\n document.addEventListener(\"pointerdown\", handlePointer, { capture: true, once: true });\n document.addEventListener(\"pointermove\", handlePointer, { capture: true, once: true });\n };\n const handlePointer = () => isUsingKeyboardRef.current = false;\n document.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n document.removeEventListener(\"pointerdown\", handlePointer, { capture: true });\n document.removeEventListener(\"pointermove\", handlePointer, { capture: true });\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuRootProvider,\n {\n scope: __scopeMenu,\n onClose: React.useCallback(() => handleOpenChange(false), [handleOpenChange]),\n isUsingKeyboardRef,\n dir: direction,\n modal,\n children\n }\n )\n }\n ) });\n};\nMenu.displayName = MENU_NAME;\nvar ANCHOR_NAME = \"MenuAnchor\";\nvar MenuAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...anchorProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });\n }\n);\nMenuAnchor.displayName = ANCHOR_NAME;\nvar PORTAL_NAME = \"MenuPortal\";\nvar [PortalProvider, usePortalContext] = createMenuContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar MenuPortal = (props) => {\n const { __scopeMenu, forceMount, children, container } = props;\n const context = useMenuContext(PORTAL_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"MenuContent\";\nvar [MenuContentProvider, useMenuContentContext] = createMenuContext(CONTENT_NAME);\nvar MenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: rootContext.modal ? /* @__PURE__ */ jsx(MenuRootContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(MenuRootContentNonModal, { ...contentProps, ref: forwardedRef }) }) }) });\n }\n);\nvar MenuRootContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const content = ref.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: context.open,\n disableOutsideScroll: true,\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault(),\n { checkForDefaultPrevented: false }\n ),\n onDismiss: () => context.onOpenChange(false)\n }\n );\n }\n);\nvar MenuRootContentNonModal = React.forwardRef((props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n onDismiss: () => context.onOpenChange(false)\n }\n );\n});\nvar MenuContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeMenu,\n loop = false,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n disableOutsidePointerEvents,\n onEntryFocus,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n disableOutsideScroll,\n ...contentProps\n } = props;\n const context = useMenuContext(CONTENT_NAME, __scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const getItems = useCollection(__scopeMenu);\n const [currentItemId, setCurrentItemId] = React.useState(null);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef, context.onContentChange);\n const timerRef = React.useRef(0);\n const searchRef = React.useRef(\"\");\n const pointerGraceTimerRef = React.useRef(0);\n const pointerGraceIntentRef = React.useRef(null);\n const pointerDirRef = React.useRef(\"right\");\n const lastPointerXRef = React.useRef(0);\n const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React.Fragment;\n const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;\n const handleTypeaheadSearch = (key) => {\n const search = searchRef.current + key;\n const items = getItems().filter((item) => !item.disabled);\n const currentItem = document.activeElement;\n const currentMatch = items.find((item) => item.ref.current === currentItem)?.textValue;\n const values = items.map((item) => item.textValue);\n const nextMatch = getNextMatch(values, search, currentMatch);\n const newItem = items.find((item) => item.textValue === nextMatch)?.ref.current;\n (function updateSearch(value) {\n searchRef.current = value;\n window.clearTimeout(timerRef.current);\n if (value !== \"\") timerRef.current = window.setTimeout(() => updateSearch(\"\"), 1e3);\n })(search);\n if (newItem) {\n setTimeout(() => newItem.focus());\n }\n };\n React.useEffect(() => {\n return () => window.clearTimeout(timerRef.current);\n }, []);\n useFocusGuards();\n const isPointerMovingToSubmenu = React.useCallback((event) => {\n const isMovingTowards = pointerDirRef.current === pointerGraceIntentRef.current?.side;\n return isMovingTowards && isPointerInGraceArea(event, pointerGraceIntentRef.current?.area);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentProvider,\n {\n scope: __scopeMenu,\n searchRef,\n onItemEnter: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n onItemLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) return;\n contentRef.current?.focus();\n setCurrentItemId(null);\n },\n [isPointerMovingToSubmenu]\n ),\n onTriggerLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n pointerGraceTimerRef,\n onPointerGraceIntentChange: React.useCallback((intent) => {\n pointerGraceIntentRef.current = intent;\n }, []),\n children: /* @__PURE__ */ jsx(ScrollLockWrapper, { ...scrollLockWrapperProps, children: /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n trapped: trapFocus,\n onMountAutoFocus: composeEventHandlers(onOpenAutoFocus, (event) => {\n event.preventDefault();\n contentRef.current?.focus({ preventScroll: true });\n }),\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n children: /* @__PURE__ */ jsx(\n RovingFocusGroup.Root,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n dir: rootContext.dir,\n orientation: \"vertical\",\n loop,\n currentTabStopId: currentItemId,\n onCurrentTabStopIdChange: setCurrentItemId,\n onEntryFocus: composeEventHandlers(onEntryFocus, (event) => {\n if (!rootContext.isUsingKeyboardRef.current) event.preventDefault();\n }),\n preventScrollOnEntryFocus: true,\n children: /* @__PURE__ */ jsx(\n PopperPrimitive.Content,\n {\n role: \"menu\",\n \"aria-orientation\": \"vertical\",\n \"data-state\": getOpenState(context.open),\n \"data-radix-menu-content\": \"\",\n dir: rootContext.dir,\n ...popperScope,\n ...contentProps,\n ref: composedRefs,\n style: { outline: \"none\", ...contentProps.style },\n onKeyDown: composeEventHandlers(contentProps.onKeyDown, (event) => {\n const target = event.target;\n const isKeyDownInside = target.closest(\"[data-radix-menu-content]\") === event.currentTarget;\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;\n const isCharacterKey = event.key.length === 1;\n if (isKeyDownInside) {\n if (event.key === \"Tab\") event.preventDefault();\n if (!isModifierKey && isCharacterKey) handleTypeaheadSearch(event.key);\n }\n const content = contentRef.current;\n if (event.target !== content) return;\n if (!FIRST_LAST_KEYS.includes(event.key)) return;\n event.preventDefault();\n const items = getItems().filter((item) => !item.disabled);\n const candidateNodes = items.map((item) => item.ref.current);\n if (LAST_KEYS.includes(event.key)) candidateNodes.reverse();\n focusFirst(candidateNodes);\n }),\n onBlur: composeEventHandlers(props.onBlur, (event) => {\n if (!event.currentTarget.contains(event.target)) {\n window.clearTimeout(timerRef.current);\n searchRef.current = \"\";\n }\n }),\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n const target = event.target;\n const pointerXHasChanged = lastPointerXRef.current !== event.clientX;\n if (event.currentTarget.contains(target) && pointerXHasChanged) {\n const newDir = event.clientX > lastPointerXRef.current ? \"right\" : \"left\";\n pointerDirRef.current = newDir;\n lastPointerXRef.current = event.clientX;\n }\n })\n )\n }\n )\n }\n )\n }\n )\n }\n ) })\n }\n );\n }\n);\nMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"MenuGroup\";\nvar MenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...groupProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { role: \"group\", ...groupProps, ref: forwardedRef });\n }\n);\nMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"MenuLabel\";\nvar MenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...labelProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { ...labelProps, ref: forwardedRef });\n }\n);\nMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"MenuItem\";\nvar ITEM_SELECT = \"menu.itemSelect\";\nvar MenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { disabled = false, onSelect, ...itemProps } = props;\n const ref = React.useRef(null);\n const rootContext = useMenuRootContext(ITEM_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(ITEM_NAME, props.__scopeMenu);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const isPointerDownRef = React.useRef(false);\n const handleSelect = () => {\n const menuItem = ref.current;\n if (!disabled && menuItem) {\n const itemSelectEvent = new CustomEvent(ITEM_SELECT, { bubbles: true, cancelable: true });\n menuItem.addEventListener(ITEM_SELECT, (event) => onSelect?.(event), { once: true });\n dispatchDiscreteCustomEvent(menuItem, itemSelectEvent);\n if (itemSelectEvent.defaultPrevented) {\n isPointerDownRef.current = false;\n } else {\n rootContext.onClose();\n }\n }\n };\n return /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n ...itemProps,\n ref: composedRefs,\n disabled,\n onClick: composeEventHandlers(props.onClick, handleSelect),\n onPointerDown: (event) => {\n props.onPointerDown?.(event);\n isPointerDownRef.current = true;\n },\n onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {\n if (!isPointerDownRef.current) event.currentTarget?.click();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (disabled || isTypingAhead && event.key === \" \") return;\n if (SELECTION_KEYS.includes(event.key)) {\n event.currentTarget.click();\n event.preventDefault();\n }\n })\n }\n );\n }\n);\nMenuItem.displayName = ITEM_NAME;\nvar MenuItemImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, disabled = false, textValue, ...itemProps } = props;\n const contentContext = useMenuContentContext(ITEM_NAME, __scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [isFocused, setIsFocused] = React.useState(false);\n const [textContent, setTextContent] = React.useState(\"\");\n React.useEffect(() => {\n const menuItem = ref.current;\n if (menuItem) {\n setTextContent((menuItem.textContent ?? \"\").trim());\n }\n }, [itemProps.children]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeMenu,\n disabled,\n textValue: textValue ?? textContent,\n children: /* @__PURE__ */ jsx(RovingFocusGroup.Item, { asChild: true, ...rovingFocusGroupScope, focusable: !disabled, children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"menuitem\",\n \"data-highlighted\": isFocused ? \"\" : void 0,\n \"aria-disabled\": disabled || void 0,\n \"data-disabled\": disabled ? \"\" : void 0,\n ...itemProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n if (disabled) {\n contentContext.onItemLeave(event);\n } else {\n contentContext.onItemEnter(event);\n if (!event.defaultPrevented) {\n const item = event.currentTarget;\n item.focus({ preventScroll: true });\n }\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => contentContext.onItemLeave(event))\n ),\n onFocus: composeEventHandlers(props.onFocus, () => setIsFocused(true)),\n onBlur: composeEventHandlers(props.onBlur, () => setIsFocused(false))\n }\n ) })\n }\n );\n }\n);\nvar CHECKBOX_ITEM_NAME = \"MenuCheckboxItem\";\nvar MenuCheckboxItem = React.forwardRef(\n (props, forwardedRef) => {\n const { checked = false, onCheckedChange, ...checkboxItemProps } = props;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemcheckbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n ...checkboxItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n checkboxItemProps.onSelect,\n () => onCheckedChange?.(isIndeterminate(checked) ? true : !checked),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"MenuRadioGroup\";\nvar [RadioGroupProvider, useRadioGroupContext] = createMenuContext(\n RADIO_GROUP_NAME,\n { value: void 0, onValueChange: () => {\n } }\n);\nvar MenuRadioGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { value, onValueChange, ...groupProps } = props;\n const handleValueChange = useCallbackRef(onValueChange);\n return /* @__PURE__ */ jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsx(MenuGroup, { ...groupProps, ref: forwardedRef }) });\n }\n);\nMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"MenuRadioItem\";\nvar MenuRadioItem = React.forwardRef(\n (props, forwardedRef) => {\n const { value, ...radioItemProps } = props;\n const context = useRadioGroupContext(RADIO_ITEM_NAME, props.__scopeMenu);\n const checked = value === context.value;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemradio\",\n \"aria-checked\": checked,\n ...radioItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n radioItemProps.onSelect,\n () => context.onValueChange?.(value),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar ITEM_INDICATOR_NAME = \"MenuItemIndicator\";\nvar [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(\n ITEM_INDICATOR_NAME,\n { checked: false }\n);\nvar MenuItemIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, forceMount, ...itemIndicatorProps } = props;\n const indicatorContext = useItemIndicatorContext(ITEM_INDICATOR_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(indicatorContext.checked) || indicatorContext.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...itemIndicatorProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(indicatorContext.checked)\n }\n )\n }\n );\n }\n);\nMenuItemIndicator.displayName = ITEM_INDICATOR_NAME;\nvar SEPARATOR_NAME = \"MenuSeparator\";\nvar MenuSeparator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...separatorProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"separator\",\n \"aria-orientation\": \"horizontal\",\n ...separatorProps,\n ref: forwardedRef\n }\n );\n }\n);\nMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"MenuArrow\";\nvar MenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nMenuArrow.displayName = ARROW_NAME;\nvar SUB_NAME = \"MenuSub\";\nvar [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);\nvar MenuSub = (props) => {\n const { __scopeMenu, children, open = false, onOpenChange } = props;\n const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const [trigger, setTrigger] = React.useState(null);\n const [content, setContent] = React.useState(null);\n const handleOpenChange = useCallbackRef(onOpenChange);\n React.useEffect(() => {\n if (parentMenuContext.open === false) handleOpenChange(false);\n return () => handleOpenChange(false);\n }, [parentMenuContext.open, handleOpenChange]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuSubProvider,\n {\n scope: __scopeMenu,\n contentId: useId(),\n triggerId: useId(),\n trigger,\n onTriggerChange: setTrigger,\n children\n }\n )\n }\n ) });\n};\nMenuSub.displayName = SUB_NAME;\nvar SUB_TRIGGER_NAME = \"MenuSubTrigger\";\nvar MenuSubTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const openTimerRef = React.useRef(null);\n const { pointerGraceTimerRef, onPointerGraceIntentChange } = contentContext;\n const scope = { __scopeMenu: props.__scopeMenu };\n const clearOpenTimer = React.useCallback(() => {\n if (openTimerRef.current) window.clearTimeout(openTimerRef.current);\n openTimerRef.current = null;\n }, []);\n React.useEffect(() => clearOpenTimer, [clearOpenTimer]);\n React.useEffect(() => {\n const pointerGraceTimer = pointerGraceTimerRef.current;\n return () => {\n window.clearTimeout(pointerGraceTimer);\n onPointerGraceIntentChange(null);\n };\n }, [pointerGraceTimerRef, onPointerGraceIntentChange]);\n return /* @__PURE__ */ jsx(MenuAnchor, { asChild: true, ...scope, children: /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n id: subContext.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": subContext.contentId,\n \"data-state\": getOpenState(context.open),\n ...props,\n ref: composeRefs(forwardedRef, subContext.onTriggerChange),\n onClick: (event) => {\n props.onClick?.(event);\n if (props.disabled || event.defaultPrevented) return;\n event.currentTarget.focus();\n if (!context.open) context.onOpenChange(true);\n },\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n contentContext.onItemEnter(event);\n if (event.defaultPrevented) return;\n if (!props.disabled && !context.open && !openTimerRef.current) {\n contentContext.onPointerGraceIntentChange(null);\n openTimerRef.current = window.setTimeout(() => {\n context.onOpenChange(true);\n clearOpenTimer();\n }, 100);\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => {\n clearOpenTimer();\n const contentRect = context.content?.getBoundingClientRect();\n if (contentRect) {\n const side = context.content?.dataset.side;\n const rightSide = side === \"right\";\n const bleed = rightSide ? -5 : 5;\n const contentNearEdge = contentRect[rightSide ? \"left\" : \"right\"];\n const contentFarEdge = contentRect[rightSide ? \"right\" : \"left\"];\n contentContext.onPointerGraceIntentChange({\n area: [\n // Apply a bleed on clientX to ensure that our exit point is\n // consistently within polygon bounds\n { x: event.clientX + bleed, y: event.clientY },\n { x: contentNearEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.bottom },\n { x: contentNearEdge, y: contentRect.bottom }\n ],\n side\n });\n window.clearTimeout(pointerGraceTimerRef.current);\n pointerGraceTimerRef.current = window.setTimeout(\n () => contentContext.onPointerGraceIntentChange(null),\n 300\n );\n } else {\n contentContext.onTriggerLeave(event);\n if (event.defaultPrevented) return;\n contentContext.onPointerGraceIntentChange(null);\n }\n })\n ),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (props.disabled || isTypingAhead && event.key === \" \") return;\n if (SUB_OPEN_KEYS[rootContext.dir].includes(event.key)) {\n context.onOpenChange(true);\n context.content?.focus();\n event.preventDefault();\n }\n })\n }\n ) });\n }\n);\nMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"MenuSubContent\";\nvar MenuSubContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...subContentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n id: subContext.contentId,\n \"aria-labelledby\": subContext.triggerId,\n ...subContentProps,\n ref: composedRefs,\n align: \"start\",\n side: rootContext.dir === \"rtl\" ? \"left\" : \"right\",\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n trapFocus: false,\n onOpenAutoFocus: (event) => {\n if (rootContext.isUsingKeyboardRef.current) ref.current?.focus();\n event.preventDefault();\n },\n onCloseAutoFocus: (event) => event.preventDefault(),\n onFocusOutside: composeEventHandlers(props.onFocusOutside, (event) => {\n if (event.target !== subContext.trigger) context.onOpenChange(false);\n }),\n onEscapeKeyDown: composeEventHandlers(props.onEscapeKeyDown, (event) => {\n rootContext.onClose();\n event.preventDefault();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isKeyDownInside = event.currentTarget.contains(event.target);\n const isCloseKey = SUB_CLOSE_KEYS[rootContext.dir].includes(event.key);\n if (isKeyDownInside && isCloseKey) {\n context.onOpenChange(false);\n subContext.trigger?.focus();\n event.preventDefault();\n }\n })\n }\n ) }) }) });\n }\n);\nMenuSubContent.displayName = SUB_CONTENT_NAME;\nfunction getOpenState(open) {\n return open ? \"open\" : \"closed\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getCheckedState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nfunction focusFirst(candidates) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nfunction getNextMatch(values, search, currentMatch) {\n const isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n const normalizedSearch = isRepeated ? search[0] : search;\n const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n const excludeCurrentMatch = normalizedSearch.length === 1;\n if (excludeCurrentMatch) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n const nextMatch = wrappedValues.find(\n (value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase())\n );\n return nextMatch !== currentMatch ? nextMatch : void 0;\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const xi = polygon[i].x;\n const yi = polygon[i].y;\n const xj = polygon[j].x;\n const yj = polygon[j].y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction isPointerInGraceArea(event, area) {\n if (!area) return false;\n const cursorPos = { x: event.clientX, y: event.clientY };\n return isPointInPolygon(cursorPos, area);\n}\nfunction whenMouse(handler) {\n return (event) => event.pointerType === \"mouse\" ? handler(event) : void 0;\n}\nvar Root3 = Menu;\nvar Anchor2 = MenuAnchor;\nvar Portal = MenuPortal;\nvar Content2 = MenuContent;\nvar Group = MenuGroup;\nvar Label = MenuLabel;\nvar Item2 = MenuItem;\nvar CheckboxItem = MenuCheckboxItem;\nvar RadioGroup = MenuRadioGroup;\nvar RadioItem = MenuRadioItem;\nvar ItemIndicator = MenuItemIndicator;\nvar Separator = MenuSeparator;\nvar Arrow2 = MenuArrow;\nvar Sub = MenuSub;\nvar SubTrigger = MenuSubTrigger;\nvar SubContent = MenuSubContent;\nexport {\n Anchor2 as Anchor,\n Arrow2 as Arrow,\n CheckboxItem,\n Content2 as Content,\n Group,\n Item2 as Item,\n ItemIndicator,\n Label,\n Menu,\n MenuAnchor,\n MenuArrow,\n MenuCheckboxItem,\n MenuContent,\n MenuGroup,\n MenuItem,\n MenuItemIndicator,\n MenuLabel,\n MenuPortal,\n MenuRadioGroup,\n MenuRadioItem,\n MenuSeparator,\n MenuSub,\n MenuSubContent,\n MenuSubTrigger,\n Portal,\n RadioGroup,\n RadioItem,\n Root3 as Root,\n Separator,\n Sub,\n SubContent,\n SubTrigger,\n createMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SELECTION_KEYS","FIRST_KEYS","LAST_KEYS","FIRST_LAST_KEYS","SUB_OPEN_KEYS","SUB_CLOSE_KEYS","MENU_NAME","Collection","useCollection","createCollectionScope","createCollection","createMenuContext","createMenuScope","createContextScope","createPopperScope","createRovingFocusGroupScope","usePopperScope","useRovingFocusGroupScope","MenuProvider","useMenuContext","MenuRootProvider","useMenuRootContext","Menu","props","__scopeMenu","open","children","dir","onOpenChange","modal","popperScope","content","setContent","React","isUsingKeyboardRef","handleOpenChange","useCallbackRef","direction","useDirection","handleKeyDown","handlePointer","jsx","PopperPrimitive.Root","ANCHOR_NAME","MenuAnchor","forwardedRef","anchorProps","PopperPrimitive.Anchor","PORTAL_NAME","PortalProvider","usePortalContext","MenuPortal","forceMount","container","context","Presence","PortalPrimitive","CONTENT_NAME","MenuContentProvider","useMenuContentContext","MenuContent","portalContext","contentProps","rootContext","MenuRootContentModal","MenuRootContentNonModal","ref","composedRefs","useComposedRefs","hideOthers","MenuContentImpl","composeEventHandlers","event","loop","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEntryFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","disableOutsideScroll","rovingFocusGroupScope","getItems","currentItemId","setCurrentItemId","contentRef","timerRef","searchRef","pointerGraceTimerRef","pointerGraceIntentRef","pointerDirRef","lastPointerXRef","ScrollLockWrapper","RemoveScroll","scrollLockWrapperProps","Slot","handleTypeaheadSearch","key","search","items","item","currentItem","currentMatch","_a","values","nextMatch","getNextMatch","newItem","_b","updateSearch","value","useFocusGuards","isPointerMovingToSubmenu","isPointerInGraceArea","intent","FocusScope","DismissableLayer","RovingFocusGroup.Root","PopperPrimitive.Content","getOpenState","isKeyDownInside","isModifierKey","isCharacterKey","candidateNodes","focusFirst","whenMouse","target","pointerXHasChanged","newDir","GROUP_NAME","MenuGroup","groupProps","Primitive","LABEL_NAME","MenuLabel","labelProps","ITEM_NAME","ITEM_SELECT","MenuItem","disabled","onSelect","itemProps","contentContext","isPointerDownRef","handleSelect","menuItem","itemSelectEvent","dispatchDiscreteCustomEvent","MenuItemImpl","isTypingAhead","textValue","isFocused","setIsFocused","textContent","setTextContent","RovingFocusGroup.Item","CHECKBOX_ITEM_NAME","MenuCheckboxItem","checked","onCheckedChange","checkboxItemProps","ItemIndicatorProvider","isIndeterminate","getCheckedState","RADIO_GROUP_NAME","RadioGroupProvider","useRadioGroupContext","MenuRadioGroup","onValueChange","handleValueChange","RADIO_ITEM_NAME","MenuRadioItem","radioItemProps","ITEM_INDICATOR_NAME","useItemIndicatorContext","MenuItemIndicator","itemIndicatorProps","indicatorContext","SEPARATOR_NAME","MenuSeparator","separatorProps","ARROW_NAME","MenuArrow","arrowProps","PopperPrimitive.Arrow","SUB_NAME","MenuSubProvider","useMenuSubContext","SUB_TRIGGER_NAME","MenuSubTrigger","subContext","openTimerRef","onPointerGraceIntentChange","scope","clearOpenTimer","pointerGraceTimer","composeRefs","contentRect","side","rightSide","bleed","contentNearEdge","contentFarEdge","SUB_CONTENT_NAME","MenuSubContent","subContentProps","isCloseKey","candidates","PREVIOUSLY_FOCUSED_ELEMENT","candidate","wrapArray","array","startIndex","_","index","normalizedSearch","char","currentMatchIndex","wrappedValues","v","isPointInPolygon","point","polygon","x","y","inside","i","j","xi","yi","xj","yj","area","cursorPos","handler","Root3","Anchor2","Portal","Content2","Group","Label","Item2","CheckboxItem","RadioGroup","RadioItem","ItemIndicator","Separator","Arrow2","SubTrigger","SubContent"],"mappings":"g8BAyBA,IAAIA,GAAiB,CAAC,QAAS,GAAG,EAC9BC,GAAa,CAAC,YAAa,SAAU,MAAM,EAC3CC,GAAY,CAAC,UAAW,WAAY,KAAK,EACzCC,GAAkB,CAAC,GAAGF,GAAY,GAAGC,EAAS,EAC9CE,GAAgB,CAClB,IAAK,CAAC,GAAGJ,GAAgB,YAAY,EACrC,IAAK,CAAC,GAAGA,GAAgB,WAAW,CACtC,EACIK,GAAiB,CACnB,IAAK,CAAC,WAAW,EACjB,IAAK,CAAC,YAAY,CACpB,EACIC,EAAY,OACZ,CAACC,EAAYC,GAAeC,EAAqB,EAAIC,GAAAA,iBAAiBJ,CAAS,E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,EAAAC,CAAC,EAAKH,EACjB,IAAII,EAAS,GACb,QAASC,EAAI,EAAGC,EAAIL,EAAQ,OAAS,EAAGI,EAAIJ,EAAQ,OAAQK,EAAID,IAAK,CACnE,MAAME,EAAKN,EAAQI,CAAC,EAAE,EAChBG,EAAKP,EAAQI,CAAC,EAAE,EAChBI,EAAKR,EAAQK,CAAC,EAAE,EAChBI,EAAKT,EAAQK,CAAC,EAAE,EACJE,EAAKL,GAAMO,EAAKP,GAAKD,GAAKO,EAAKF,IAAOJ,EAAIK,IAAOE,EAAKF,GAAMD,IAC/DH,EAAS,CAACA,EAC7B,CACE,OAAOA,CACT,CACA,SAAShH,GAAqB7C,EAAOoK,EAAM,CACzC,GAAI,CAACA,EAAM,MAAO,GAClB,MAAMC,EAAY,CAAE,EAAGrK,EAAM,QAAS,EAAGA,EAAM,OAAS,EACxD,OAAOwJ,GAAiBa,EAAWD,CAAI,CACzC,CACA,SAAS3G,EAAU6G,EAAS,CAC1B,OAAQtK,GAAUA,EAAM,cAAgB,QAAUsK,EAAQtK,CAAK,EAAI,MACrE,CACG,IAACuK,GAAQzN,GACR0N,GAAUpM,EACVqM,GAAS9L,GACT+L,GAAWtL,GACXuL,GAAQ7G,EACR8G,GAAQ1G,GACR2G,GAAQvG,EACRwG,GAAerF,GACfsF,GAAa5E,GACb6E,GAAYzE,GACZ0E,GAAgBtE,GAChBuE,GAAYnE,GACZoE,GAASjE,GAETkE,GAAa3D,GACb4D,GAAa7C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs320.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAkB,mBACnFP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/B,IAAIe,GAAuBJ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnE,KAAM,CACJ,wBAAAG,EACA,YAAAC,EACA,KAAAC,EAAO,GACP,IAAAC,EACA,iBAAkBC,EAClB,wBAAAC,EACA,yBAAAC,EACA,aAAAC,E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c,CAAC,CAC3D,CACa,CAAA,CACb,CACA,CACA,CACK,CACL,CACA,EACAG,EAAqB,YAAcD,EACnC,IAAIgB,GAA0B,CAC5B,UAAW,OACX,QAAS,OACT,WAAY,OACZ,UAAW,OACX,OAAQ,QACR,KAAM,QACN,SAAU,OACV,IAAK,MACP,EACA,SAASC,GAAqBC,EAAKvD,EAAK,CACtC,OAAIA,IAAQ,MAAcuD,EACnBA,IAAQ,YAAc,aAAeA,IAAQ,aAAe,YAAcA,CACnF,CACA,SAASL,GAAetB,EAAO9B,EAAaE,EAAK,CAC/C,MAAMuD,EAAMD,GAAqB1B,EAAM,IAAK5B,CAAG,EAC/C,GAAI,EAAAF,IAAgB,YAAc,CAAC,YAAa,YAAY,EAAE,SAASyD,CAAG,IACtE,EAAAzD,IAAgB,cAAgB,CAAC,UAAW,WAAW,EAAE,SAASyD,CAAG,GACzE,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASnB,EAAWoB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAOzE,EACP0E,GAAO3B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs338.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 s=o.useId||(()=>{}),i=0;function d(e){const[t,r]=o.useState(s());return c.useLayoutEffect(()=>{r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
2
2
  //# sourceMappingURL=index.cjs321.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs321.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\"useId\".toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,QAAwB,IAAM,IACjDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACED,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACvE,EAAK,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs321.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC,EAAa,cAAc,IACtC,EACIC,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EACdC,EAAY,EACZC,EAAa,SAAUC,EAAM,CAC7B,OAAOA,IAASA,EAAK,MAAQD,EAAWC,EAAK,UAAU,EAC3D,EACIC,EAAiB,SAAUC,EAAQC,EAAS,CAC5C,OAAOA,EACF,IAAI,SAAUC,EAAQ,CACvB,GAAIF,EAAO,SAASE,CAAM,EACtB,OAAOA,EAEX,IAAIC,EAAkBN,EAAWK,CAAM,EACvC,OAAIC,GAAmBH,EAAO,SAASG,CAAe,EAC3CA,GAEX,QAAQ,MAAM,cAAeD,EAAQ,0BAA2BF,EAAQ,iBAAiB,EAClF,KACV,CAAA,EACI,OAAO,SAAUI,EAAG,CAAE,MAAO,EAAQA,EAAK,CACnD,EASIC,EAAyB,SAAUd,EAAgBe,EAAYC,EAAYC,EAAkB,CAC7F,IAAIP,EAAUF,EAAeO,EAAY,MAAM,QAAQf,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACrGI,EAAUY,CAAU,IACrBZ,EAAUY,CAAU,EAAI,IAAI,SAEhC,IAAIE,EAAgBd,EAAUY,CAAU,EACpCG,EAAc,CAAE,EAChBC,EAAiB,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AkB,OAAOI,CAAI,GAE5BqB,GACDrB,EAAK,gBAAgBS,CAAU,CAE/C,CAAS,EACDX,IACKA,IAEDH,EAAa,IAAI,QACjBA,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EAErB,CACL,EAQW0B,EAAa,SAAU9B,EAAgBe,EAAYC,EAAY,CAClEA,IAAe,SAAUA,EAAa,oBAC1C,IAAIN,EAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACtF+B,EAAiChC,EAAiBC,CAAc,EACpE,OAAK+B,GAILrB,EAAQ,KAAK,MAAMA,EAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,EACjFjB,EAAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GAJvE,UAAY,CAAE,OAAO,IAAO,CAK3C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),l=(t,n)=>{a.useEffect(()=>{if(!n||!t.current)return;const o=t.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),u=o[0],s=o[o.length-1],r=e=>{e.key==="Tab"&&(e.shiftKey?document.activeElement===u&&(s.focus(),e.preventDefault()):document.activeElement===s&&(u.focus(),e.preventDefault()))},c=document.activeElement;return u.focus(),document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n&&(c==null||c.focus())}},[n,t])};exports.useFocusTrap=l;
1
+ "use strict";const a=require("./index.cjs346.js"),l=require("react"),s=require("./index.cjs347.js"),i=require("./index.cjs348.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
2
2
  //# sourceMappingURL=index.cjs322.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs322.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
+ {"version":3,"file":"index.cjs322.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function a(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const n=a(r);var u=globalThis!=null&&globalThis.document?n.useLayoutEffect:()=>{};exports.useLayoutEffect=u;
2
+ //# sourceMappingURL=index.cjs323.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs323.js","sources":["../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/useLayoutEffect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = Boolean(globalThis?.document) ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAA2B,6BAAY,SAAYC,EAAM,gBAAkB,IAAM,CACrF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs337.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
2
- //# sourceMappingURL=index.cjs354.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs311.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
2
+ //# sourceMappingURL=index.cjs324.js.map