@anoki/fse-ui 1.0.0-beta1.31 → 1.0.0-beta1.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (940) hide show
  1. package/dist/components/ui/CardMapDoctor/CardMapDoctor.css +1 -1
  2. package/dist/components/ui/CardMapStructure/CardMap.css +1 -1
  3. package/dist/components/ui/CardSelectDoctor/CardSelectDoctor.css +1 -1
  4. package/dist/components/ui/DeclarantsSelect/DeclarantsSelect.css +1 -1
  5. package/dist/components/ui/DelegateFilterDropDown/DelegateFilterDropDown.css +1 -1
  6. package/dist/components/ui/Search/Search.css +1 -1
  7. package/dist/index.cjs.js.map +1 -1
  8. package/dist/index.cjs10.js +1 -1
  9. package/dist/index.cjs10.js.map +1 -1
  10. package/dist/index.cjs100.js.map +1 -1
  11. package/dist/index.cjs102.js.map +1 -1
  12. package/dist/index.cjs103.js.map +1 -1
  13. package/dist/index.cjs104.js.map +1 -1
  14. package/dist/index.cjs107.js.map +1 -1
  15. package/dist/index.cjs108.js.map +1 -1
  16. package/dist/index.cjs109.js.map +1 -1
  17. package/dist/index.cjs11.js.map +1 -1
  18. package/dist/index.cjs110.js.map +1 -1
  19. package/dist/index.cjs111.js.map +1 -1
  20. package/dist/index.cjs112.js.map +1 -1
  21. package/dist/index.cjs113.js.map +1 -1
  22. package/dist/index.cjs114.js.map +1 -1
  23. package/dist/index.cjs116.js.map +1 -1
  24. package/dist/index.cjs117.js.map +1 -1
  25. package/dist/index.cjs118.js.map +1 -1
  26. package/dist/index.cjs119.js.map +1 -1
  27. package/dist/index.cjs12.js.map +1 -1
  28. package/dist/index.cjs120.js.map +1 -1
  29. package/dist/index.cjs121.js.map +1 -1
  30. package/dist/index.cjs122.js.map +1 -1
  31. package/dist/index.cjs123.js.map +1 -1
  32. package/dist/index.cjs124.js.map +1 -1
  33. package/dist/index.cjs125.js.map +1 -1
  34. package/dist/index.cjs126.js.map +1 -1
  35. package/dist/index.cjs127.js.map +1 -1
  36. package/dist/index.cjs128.js.map +1 -1
  37. package/dist/index.cjs129.js.map +1 -1
  38. package/dist/index.cjs13.js.map +1 -1
  39. package/dist/index.cjs130.js.map +1 -1
  40. package/dist/index.cjs131.js.map +1 -1
  41. package/dist/index.cjs133.js.map +1 -1
  42. package/dist/index.cjs134.js.map +1 -1
  43. package/dist/index.cjs135.js.map +1 -1
  44. package/dist/index.cjs136.js.map +1 -1
  45. package/dist/index.cjs137.js.map +1 -1
  46. package/dist/index.cjs138.js.map +1 -1
  47. package/dist/index.cjs139.js.map +1 -1
  48. package/dist/index.cjs14.js.map +1 -1
  49. package/dist/index.cjs140.js.map +1 -1
  50. package/dist/index.cjs141.js +1 -1
  51. package/dist/index.cjs141.js.map +1 -1
  52. package/dist/index.cjs142.js +1 -1
  53. package/dist/index.cjs142.js.map +1 -1
  54. package/dist/index.cjs143.js +1 -1
  55. package/dist/index.cjs143.js.map +1 -1
  56. package/dist/index.cjs144.js +1 -1
  57. package/dist/index.cjs144.js.map +1 -1
  58. package/dist/index.cjs145.js +1 -1
  59. package/dist/index.cjs145.js.map +1 -1
  60. package/dist/index.cjs146.js +1 -1
  61. package/dist/index.cjs146.js.map +1 -1
  62. package/dist/index.cjs147.js +1 -1
  63. package/dist/index.cjs147.js.map +1 -1
  64. package/dist/index.cjs148.js +1 -1
  65. package/dist/index.cjs148.js.map +1 -1
  66. package/dist/index.cjs149.js +1 -1
  67. package/dist/index.cjs15.js.map +1 -1
  68. package/dist/index.cjs150.js +1 -1
  69. package/dist/index.cjs151.js +1 -1
  70. package/dist/index.cjs152.js +1 -1
  71. package/dist/index.cjs152.js.map +1 -1
  72. package/dist/index.cjs153.js +1 -1
  73. package/dist/index.cjs154.js +1 -1
  74. package/dist/index.cjs155.js +1 -1
  75. package/dist/index.cjs155.js.map +1 -1
  76. package/dist/index.cjs156.js +1 -1
  77. package/dist/index.cjs156.js.map +1 -1
  78. package/dist/index.cjs157.js +1 -1
  79. package/dist/index.cjs157.js.map +1 -1
  80. package/dist/index.cjs158.js +1 -1
  81. package/dist/index.cjs158.js.map +1 -1
  82. package/dist/index.cjs159.js +1 -1
  83. package/dist/index.cjs159.js.map +1 -1
  84. package/dist/index.cjs160.js +1 -1
  85. package/dist/index.cjs160.js.map +1 -1
  86. package/dist/index.cjs161.js +1 -1
  87. package/dist/index.cjs161.js.map +1 -1
  88. package/dist/index.cjs162.js +1 -1
  89. package/dist/index.cjs162.js.map +1 -1
  90. package/dist/index.cjs163.js +1 -1
  91. package/dist/index.cjs163.js.map +1 -1
  92. package/dist/index.cjs164.js.map +1 -1
  93. package/dist/index.cjs165.js.map +1 -1
  94. package/dist/index.cjs166.js.map +1 -1
  95. package/dist/index.cjs167.js +1 -1
  96. package/dist/index.cjs167.js.map +1 -1
  97. package/dist/index.cjs168.js +1 -1
  98. package/dist/index.cjs168.js.map +1 -1
  99. package/dist/index.cjs169.js +1 -1
  100. package/dist/index.cjs169.js.map +1 -1
  101. package/dist/index.cjs170.js.map +1 -1
  102. package/dist/index.cjs171.js +1 -1
  103. package/dist/index.cjs171.js.map +1 -1
  104. package/dist/index.cjs172.js +1 -1
  105. package/dist/index.cjs172.js.map +1 -1
  106. package/dist/index.cjs173.js +1 -1
  107. package/dist/index.cjs173.js.map +1 -1
  108. package/dist/index.cjs174.js +1 -1
  109. package/dist/index.cjs174.js.map +1 -1
  110. package/dist/index.cjs175.js +1 -1
  111. package/dist/index.cjs175.js.map +1 -1
  112. package/dist/index.cjs176.js +1 -1
  113. package/dist/index.cjs176.js.map +1 -1
  114. package/dist/index.cjs177.js +1 -1
  115. package/dist/index.cjs177.js.map +1 -1
  116. package/dist/index.cjs178.js +1 -1
  117. package/dist/index.cjs179.js +1 -1
  118. package/dist/index.cjs179.js.map +1 -1
  119. package/dist/index.cjs18.js.map +1 -1
  120. package/dist/index.cjs180.js.map +1 -1
  121. package/dist/index.cjs181.js +1 -1
  122. package/dist/index.cjs181.js.map +1 -1
  123. package/dist/index.cjs182.js +1 -1
  124. package/dist/index.cjs182.js.map +1 -1
  125. package/dist/index.cjs183.js +1 -1
  126. package/dist/index.cjs183.js.map +1 -1
  127. package/dist/index.cjs184.js +1 -1
  128. package/dist/index.cjs184.js.map +1 -1
  129. package/dist/index.cjs185.js +1 -1
  130. package/dist/index.cjs185.js.map +1 -1
  131. package/dist/index.cjs186.js +1 -1
  132. package/dist/index.cjs186.js.map +1 -1
  133. package/dist/index.cjs187.js +1 -1
  134. package/dist/index.cjs187.js.map +1 -1
  135. package/dist/index.cjs188.js.map +1 -1
  136. package/dist/index.cjs19.js.map +1 -1
  137. package/dist/index.cjs190.js +1 -1
  138. package/dist/index.cjs191.js +1 -1
  139. package/dist/index.cjs192.js +1 -1
  140. package/dist/index.cjs193.js +1 -1
  141. package/dist/index.cjs194.js +1 -1
  142. package/dist/index.cjs195.js +1 -1
  143. package/dist/index.cjs195.js.map +1 -1
  144. package/dist/index.cjs196.js +1 -1
  145. package/dist/index.cjs196.js.map +1 -1
  146. package/dist/index.cjs197.js +1 -1
  147. package/dist/index.cjs197.js.map +1 -1
  148. package/dist/index.cjs198.js.map +1 -1
  149. package/dist/index.cjs199.js.map +1 -1
  150. package/dist/index.cjs200.js.map +1 -1
  151. package/dist/index.cjs201.js.map +1 -1
  152. package/dist/index.cjs202.js.map +1 -1
  153. package/dist/index.cjs203.js +1 -1
  154. package/dist/index.cjs203.js.map +1 -1
  155. package/dist/index.cjs205.js +1 -1
  156. package/dist/index.cjs205.js.map +1 -1
  157. package/dist/index.cjs206.js +1 -1
  158. package/dist/index.cjs206.js.map +1 -1
  159. package/dist/index.cjs21.js.map +1 -1
  160. package/dist/index.cjs210.js +1 -1
  161. package/dist/index.cjs210.js.map +1 -1
  162. package/dist/index.cjs219.js +1 -1
  163. package/dist/index.cjs219.js.map +1 -1
  164. package/dist/index.cjs223.js +1 -1
  165. package/dist/index.cjs223.js.map +1 -1
  166. package/dist/index.cjs228.js +1 -1
  167. package/dist/index.cjs23.js.map +1 -1
  168. package/dist/index.cjs235.js +1 -1
  169. package/dist/index.cjs24.js +1 -1
  170. package/dist/index.cjs24.js.map +1 -1
  171. package/dist/index.cjs240.js.map +1 -1
  172. package/dist/index.cjs241.js +1 -1
  173. package/dist/index.cjs241.js.map +1 -1
  174. package/dist/index.cjs242.js +2 -0
  175. package/dist/index.cjs242.js.map +1 -0
  176. package/dist/index.cjs244.js.map +1 -1
  177. package/dist/index.cjs247.js.map +1 -1
  178. package/dist/index.cjs25.js.map +1 -1
  179. package/dist/index.cjs251.js +1 -1
  180. package/dist/index.cjs251.js.map +1 -1
  181. package/dist/index.cjs255.js.map +1 -1
  182. package/dist/index.cjs26.js.map +1 -1
  183. package/dist/index.cjs263.js +1 -1
  184. package/dist/index.cjs263.js.map +1 -1
  185. package/dist/index.cjs265.js.map +1 -1
  186. package/dist/index.cjs273.js.map +1 -1
  187. package/dist/index.cjs28.js +1 -1
  188. package/dist/index.cjs28.js.map +1 -1
  189. package/dist/index.cjs281.js.map +1 -1
  190. package/dist/index.cjs282.js +1 -1
  191. package/dist/index.cjs282.js.map +1 -1
  192. package/dist/index.cjs286.js +1 -1
  193. package/dist/index.cjs286.js.map +1 -1
  194. package/dist/index.cjs288.js +1 -1
  195. package/dist/index.cjs29.js.map +1 -1
  196. package/dist/index.cjs292.js.map +1 -1
  197. package/dist/index.cjs294.js.map +1 -1
  198. package/dist/index.cjs295.js.map +1 -1
  199. package/dist/index.cjs296.js.map +1 -1
  200. package/dist/index.cjs299.js.map +1 -1
  201. package/dist/index.cjs30.js.map +1 -1
  202. package/dist/index.cjs300.js.map +1 -1
  203. package/dist/index.cjs304.js.map +1 -1
  204. package/dist/index.cjs307.js.map +1 -1
  205. package/dist/index.cjs309.js.map +1 -1
  206. package/dist/index.cjs311.js.map +1 -1
  207. package/dist/index.cjs314.js.map +1 -1
  208. package/dist/index.cjs315.js.map +1 -1
  209. package/dist/index.cjs317.js +1 -1
  210. package/dist/index.cjs318.js +1 -1
  211. package/dist/index.cjs318.js.map +1 -1
  212. package/dist/index.cjs35.js.map +1 -1
  213. package/dist/index.cjs358.js +1 -1
  214. package/dist/index.cjs36.js.map +1 -1
  215. package/dist/index.cjs364.js +1 -1
  216. package/dist/index.cjs367.js.map +1 -1
  217. package/dist/index.cjs372.js +1 -1
  218. package/dist/index.cjs378.js.map +1 -1
  219. package/dist/index.cjs38.js.map +1 -1
  220. package/dist/index.cjs380.js.map +1 -1
  221. package/dist/index.cjs381.js.map +1 -1
  222. package/dist/index.cjs386.js.map +1 -1
  223. package/dist/index.cjs388.js +1 -1
  224. package/dist/index.cjs388.js.map +1 -1
  225. package/dist/index.cjs389.js +1 -1
  226. package/dist/index.cjs390.js +1 -1
  227. package/dist/index.cjs390.js.map +1 -1
  228. package/dist/index.cjs40.js.map +1 -1
  229. package/dist/index.cjs400.js.map +1 -1
  230. package/dist/index.cjs401.js.map +1 -1
  231. package/dist/index.cjs404.js +1 -1
  232. package/dist/index.cjs404.js.map +1 -1
  233. package/dist/index.cjs409.js +1 -1
  234. package/dist/index.cjs41.js.map +1 -1
  235. package/dist/index.cjs410.js +3 -12
  236. package/dist/index.cjs410.js.map +1 -1
  237. package/dist/index.cjs411.js +27 -1
  238. package/dist/index.cjs411.js.map +1 -1
  239. package/dist/index.cjs412.js +1 -2
  240. package/dist/index.cjs412.js.map +1 -1
  241. package/dist/index.cjs413.js +1 -27
  242. package/dist/index.cjs413.js.map +1 -1
  243. package/dist/index.cjs414.js +1 -1
  244. package/dist/index.cjs414.js.map +1 -1
  245. package/dist/index.cjs415.js +2 -1
  246. package/dist/index.cjs415.js.map +1 -1
  247. package/dist/index.cjs420.js +1 -1
  248. package/dist/index.cjs421.js +1 -1
  249. package/dist/index.cjs422.js +1 -1
  250. package/dist/index.cjs423.js +1 -1
  251. package/dist/index.cjs424.js.map +1 -1
  252. package/dist/index.cjs428.js +1 -1
  253. package/dist/index.cjs429.js +1 -1
  254. package/dist/index.cjs43.js.map +1 -1
  255. package/dist/index.cjs430.js +1 -1
  256. package/dist/index.cjs430.js.map +1 -1
  257. package/dist/index.cjs434.js +2 -0
  258. package/dist/index.cjs434.js.map +1 -0
  259. package/dist/index.cjs435.js +2 -0
  260. package/dist/index.cjs435.js.map +1 -0
  261. package/dist/index.cjs436.js +1 -1
  262. package/dist/index.cjs436.js.map +1 -1
  263. package/dist/index.cjs437.js +1 -1
  264. package/dist/index.cjs437.js.map +1 -1
  265. package/dist/index.cjs438.js +1 -1
  266. package/dist/index.cjs438.js.map +1 -1
  267. package/dist/index.cjs439.js +1 -1
  268. package/dist/index.cjs439.js.map +1 -1
  269. package/dist/index.cjs440.js +1 -1
  270. package/dist/index.cjs440.js.map +1 -1
  271. package/dist/index.cjs45.js.map +1 -1
  272. package/dist/index.cjs456.js +2 -0
  273. package/dist/index.cjs456.js.map +1 -0
  274. package/dist/index.cjs457.js +2 -0
  275. package/dist/index.cjs457.js.map +1 -0
  276. package/dist/index.cjs46.js.map +1 -1
  277. package/dist/index.cjs460.js +2 -0
  278. package/dist/index.cjs460.js.map +1 -0
  279. package/dist/index.cjs461.js +2 -0
  280. package/dist/index.cjs461.js.map +1 -0
  281. package/dist/index.cjs462.js +2 -0
  282. package/dist/index.cjs462.js.map +1 -0
  283. package/dist/index.cjs465.js +1 -1
  284. package/dist/index.cjs465.js.map +1 -1
  285. package/dist/index.cjs466.js +1 -1
  286. package/dist/index.cjs466.js.map +1 -1
  287. package/dist/index.cjs467.js +1 -1
  288. package/dist/index.cjs467.js.map +1 -1
  289. package/dist/index.cjs468.js +1 -1
  290. package/dist/index.cjs468.js.map +1 -1
  291. package/dist/index.cjs469.js +1 -1
  292. package/dist/index.cjs469.js.map +1 -1
  293. package/dist/index.cjs47.js.map +1 -1
  294. package/dist/index.cjs470.js +1 -1
  295. package/dist/index.cjs470.js.map +1 -1
  296. package/dist/index.cjs471.js +1 -1
  297. package/dist/index.cjs471.js.map +1 -1
  298. package/dist/index.cjs472.js +1 -1
  299. package/dist/index.cjs472.js.map +1 -1
  300. package/dist/index.cjs473.js +1 -1
  301. package/dist/index.cjs473.js.map +1 -1
  302. package/dist/index.cjs474.js +1 -4
  303. package/dist/index.cjs474.js.map +1 -1
  304. package/dist/index.cjs475.js +1 -1
  305. package/dist/index.cjs475.js.map +1 -1
  306. package/dist/index.cjs476.js +1 -1
  307. package/dist/index.cjs476.js.map +1 -1
  308. package/dist/index.cjs477.js +1 -1
  309. package/dist/index.cjs477.js.map +1 -1
  310. package/dist/index.cjs478.js +1 -1
  311. package/dist/index.cjs478.js.map +1 -1
  312. package/dist/index.cjs479.js +1 -1
  313. package/dist/index.cjs479.js.map +1 -1
  314. package/dist/index.cjs480.js +1 -38
  315. package/dist/index.cjs480.js.map +1 -1
  316. package/dist/index.cjs481.js +1 -1
  317. package/dist/index.cjs481.js.map +1 -1
  318. package/dist/index.cjs482.js +1 -1
  319. package/dist/index.cjs482.js.map +1 -1
  320. package/dist/index.cjs483.js +1 -1
  321. package/dist/index.cjs483.js.map +1 -1
  322. package/dist/index.cjs484.js +1 -1
  323. package/dist/index.cjs484.js.map +1 -1
  324. package/dist/index.cjs485.js +1 -1
  325. package/dist/index.cjs485.js.map +1 -1
  326. package/dist/index.cjs486.js +1 -1
  327. package/dist/index.cjs486.js.map +1 -1
  328. package/dist/index.cjs487.js +1 -1
  329. package/dist/index.cjs487.js.map +1 -1
  330. package/dist/index.cjs488.js +1 -1
  331. package/dist/index.cjs488.js.map +1 -1
  332. package/dist/index.cjs489.js +1 -1
  333. package/dist/index.cjs489.js.map +1 -1
  334. package/dist/index.cjs49.js.map +1 -1
  335. package/dist/index.cjs490.js +2 -0
  336. package/dist/index.cjs490.js.map +1 -0
  337. package/dist/index.cjs491.js +2 -0
  338. package/dist/index.cjs491.js.map +1 -0
  339. package/dist/index.cjs492.js +1 -1
  340. package/dist/index.cjs492.js.map +1 -1
  341. package/dist/index.cjs493.js +1 -1
  342. package/dist/index.cjs493.js.map +1 -1
  343. package/dist/index.cjs494.js +1 -1
  344. package/dist/index.cjs494.js.map +1 -1
  345. package/dist/index.cjs495.js +1 -1
  346. package/dist/index.cjs495.js.map +1 -1
  347. package/dist/index.cjs496.js +1 -1
  348. package/dist/index.cjs496.js.map +1 -1
  349. package/dist/index.cjs497.js +4 -1
  350. package/dist/index.cjs497.js.map +1 -1
  351. package/dist/index.cjs498.js +1 -1
  352. package/dist/index.cjs498.js.map +1 -1
  353. package/dist/index.cjs499.js +5 -1
  354. package/dist/index.cjs499.js.map +1 -1
  355. package/dist/index.cjs50.js.map +1 -1
  356. package/dist/index.cjs500.js +1 -1
  357. package/dist/index.cjs500.js.map +1 -1
  358. package/dist/index.cjs501.js +1 -1
  359. package/dist/index.cjs501.js.map +1 -1
  360. package/dist/index.cjs502.js +1 -1
  361. package/dist/index.cjs502.js.map +1 -1
  362. package/dist/index.cjs503.js +1 -1
  363. package/dist/index.cjs503.js.map +1 -1
  364. package/dist/index.cjs504.js +1 -1
  365. package/dist/index.cjs504.js.map +1 -1
  366. package/dist/index.cjs505.js +2 -0
  367. package/dist/index.cjs505.js.map +1 -0
  368. package/dist/index.cjs506.js +2 -0
  369. package/dist/index.cjs506.js.map +1 -0
  370. package/dist/index.cjs507.js +1 -1
  371. package/dist/index.cjs507.js.map +1 -1
  372. package/dist/index.cjs508.js +1 -1
  373. package/dist/index.cjs508.js.map +1 -1
  374. package/dist/index.cjs509.js +1 -1
  375. package/dist/index.cjs509.js.map +1 -1
  376. package/dist/index.cjs51.js.map +1 -1
  377. package/dist/index.cjs510.js +1 -1
  378. package/dist/index.cjs510.js.map +1 -1
  379. package/dist/index.cjs511.js +38 -5
  380. package/dist/index.cjs511.js.map +1 -1
  381. package/dist/index.cjs512.js +1 -1
  382. package/dist/index.cjs512.js.map +1 -1
  383. package/dist/index.cjs513.js +1 -1
  384. package/dist/index.cjs513.js.map +1 -1
  385. package/dist/index.cjs514.js +1 -1
  386. package/dist/index.cjs514.js.map +1 -1
  387. package/dist/index.cjs515.js +1 -1
  388. package/dist/index.cjs515.js.map +1 -1
  389. package/dist/index.cjs516.js +1 -1
  390. package/dist/index.cjs516.js.map +1 -1
  391. package/dist/index.cjs517.js +1 -1
  392. package/dist/index.cjs517.js.map +1 -1
  393. package/dist/index.cjs518.js +1 -1
  394. package/dist/index.cjs518.js.map +1 -1
  395. package/dist/index.cjs519.js +1 -1
  396. package/dist/index.cjs519.js.map +1 -1
  397. package/dist/index.cjs52.js.map +1 -1
  398. package/dist/index.cjs520.js +1 -1
  399. package/dist/index.cjs520.js.map +1 -1
  400. package/dist/index.cjs521.js +1 -1
  401. package/dist/index.cjs521.js.map +1 -1
  402. package/dist/index.cjs53.js.map +1 -1
  403. package/dist/index.cjs54.js.map +1 -1
  404. package/dist/index.cjs55.js.map +1 -1
  405. package/dist/index.cjs57.js.map +1 -1
  406. package/dist/index.cjs58.js.map +1 -1
  407. package/dist/index.cjs59.js.map +1 -1
  408. package/dist/index.cjs6.js +1 -1
  409. package/dist/index.cjs60.js.map +1 -1
  410. package/dist/index.cjs62.js +1 -1
  411. package/dist/index.cjs63.js.map +1 -1
  412. package/dist/index.cjs64.js.map +1 -1
  413. package/dist/index.cjs68.js.map +1 -1
  414. package/dist/index.cjs69.js.map +1 -1
  415. package/dist/index.cjs7.js +1 -1
  416. package/dist/index.cjs7.js.map +1 -1
  417. package/dist/index.cjs70.js.map +1 -1
  418. package/dist/index.cjs71.js.map +1 -1
  419. package/dist/index.cjs73.js.map +1 -1
  420. package/dist/index.cjs74.js.map +1 -1
  421. package/dist/index.cjs75.js.map +1 -1
  422. package/dist/index.cjs76.js.map +1 -1
  423. package/dist/index.cjs77.js.map +1 -1
  424. package/dist/index.cjs78.js.map +1 -1
  425. package/dist/index.cjs79.js.map +1 -1
  426. package/dist/index.cjs8.js +1 -1
  427. package/dist/index.cjs8.js.map +1 -1
  428. package/dist/index.cjs80.js.map +1 -1
  429. package/dist/index.cjs81.js.map +1 -1
  430. package/dist/index.cjs82.js.map +1 -1
  431. package/dist/index.cjs83.js.map +1 -1
  432. package/dist/index.cjs84.js.map +1 -1
  433. package/dist/index.cjs85.js.map +1 -1
  434. package/dist/index.cjs86.js.map +1 -1
  435. package/dist/index.cjs87.js.map +1 -1
  436. package/dist/index.cjs88.js.map +1 -1
  437. package/dist/index.cjs89.js.map +1 -1
  438. package/dist/index.cjs9.js +1 -1
  439. package/dist/index.cjs90.js.map +1 -1
  440. package/dist/index.cjs91.js.map +1 -1
  441. package/dist/index.cjs92.js.map +1 -1
  442. package/dist/index.cjs93.js.map +1 -1
  443. package/dist/index.cjs94.js.map +1 -1
  444. package/dist/index.cjs95.js.map +1 -1
  445. package/dist/index.cjs96.js.map +1 -1
  446. package/dist/index.cjs97.js.map +1 -1
  447. package/dist/index.cjs98.js.map +1 -1
  448. package/dist/index.cjs99.js.map +1 -1
  449. package/dist/index.es.js.map +1 -1
  450. package/dist/index.es10.js +2 -2
  451. package/dist/index.es10.js.map +1 -1
  452. package/dist/index.es100.js.map +1 -1
  453. package/dist/index.es102.js.map +1 -1
  454. package/dist/index.es103.js.map +1 -1
  455. package/dist/index.es104.js.map +1 -1
  456. package/dist/index.es107.js.map +1 -1
  457. package/dist/index.es108.js.map +1 -1
  458. package/dist/index.es109.js.map +1 -1
  459. package/dist/index.es11.js.map +1 -1
  460. package/dist/index.es110.js.map +1 -1
  461. package/dist/index.es111.js.map +1 -1
  462. package/dist/index.es112.js.map +1 -1
  463. package/dist/index.es113.js.map +1 -1
  464. package/dist/index.es114.js.map +1 -1
  465. package/dist/index.es116.js.map +1 -1
  466. package/dist/index.es117.js.map +1 -1
  467. package/dist/index.es118.js.map +1 -1
  468. package/dist/index.es119.js.map +1 -1
  469. package/dist/index.es12.js.map +1 -1
  470. package/dist/index.es120.js.map +1 -1
  471. package/dist/index.es121.js.map +1 -1
  472. package/dist/index.es122.js.map +1 -1
  473. package/dist/index.es123.js.map +1 -1
  474. package/dist/index.es124.js.map +1 -1
  475. package/dist/index.es125.js.map +1 -1
  476. package/dist/index.es126.js.map +1 -1
  477. package/dist/index.es127.js.map +1 -1
  478. package/dist/index.es128.js.map +1 -1
  479. package/dist/index.es129.js.map +1 -1
  480. package/dist/index.es13.js.map +1 -1
  481. package/dist/index.es130.js.map +1 -1
  482. package/dist/index.es131.js.map +1 -1
  483. package/dist/index.es133.js.map +1 -1
  484. package/dist/index.es134.js.map +1 -1
  485. package/dist/index.es135.js.map +1 -1
  486. package/dist/index.es136.js.map +1 -1
  487. package/dist/index.es137.js.map +1 -1
  488. package/dist/index.es138.js.map +1 -1
  489. package/dist/index.es139.js.map +1 -1
  490. package/dist/index.es14.js.map +1 -1
  491. package/dist/index.es140.js.map +1 -1
  492. package/dist/index.es141.js +1 -1
  493. package/dist/index.es141.js.map +1 -1
  494. package/dist/index.es142.js +1 -1
  495. package/dist/index.es142.js.map +1 -1
  496. package/dist/index.es143.js +1 -1
  497. package/dist/index.es143.js.map +1 -1
  498. package/dist/index.es144.js +1 -1
  499. package/dist/index.es144.js.map +1 -1
  500. package/dist/index.es145.js +1 -1
  501. package/dist/index.es145.js.map +1 -1
  502. package/dist/index.es146.js +1 -1
  503. package/dist/index.es146.js.map +1 -1
  504. package/dist/index.es147.js +1 -1
  505. package/dist/index.es147.js.map +1 -1
  506. package/dist/index.es148.js +1 -1
  507. package/dist/index.es148.js.map +1 -1
  508. package/dist/index.es149.js +1 -1
  509. package/dist/index.es15.js.map +1 -1
  510. package/dist/index.es150.js +1 -1
  511. package/dist/index.es151.js +1 -1
  512. package/dist/index.es152.js +1 -1
  513. package/dist/index.es152.js.map +1 -1
  514. package/dist/index.es153.js +1 -1
  515. package/dist/index.es154.js +1 -1
  516. package/dist/index.es155.js +1 -1
  517. package/dist/index.es155.js.map +1 -1
  518. package/dist/index.es156.js +1 -1
  519. package/dist/index.es156.js.map +1 -1
  520. package/dist/index.es157.js +1 -1
  521. package/dist/index.es157.js.map +1 -1
  522. package/dist/index.es158.js +1 -1
  523. package/dist/index.es158.js.map +1 -1
  524. package/dist/index.es159.js +1 -1
  525. package/dist/index.es159.js.map +1 -1
  526. package/dist/index.es160.js +1 -1
  527. package/dist/index.es160.js.map +1 -1
  528. package/dist/index.es161.js +1 -1
  529. package/dist/index.es161.js.map +1 -1
  530. package/dist/index.es162.js +1 -1
  531. package/dist/index.es162.js.map +1 -1
  532. package/dist/index.es163.js +1 -1
  533. package/dist/index.es163.js.map +1 -1
  534. package/dist/index.es164.js.map +1 -1
  535. package/dist/index.es165.js.map +1 -1
  536. package/dist/index.es166.js.map +1 -1
  537. package/dist/index.es167.js +1 -1
  538. package/dist/index.es167.js.map +1 -1
  539. package/dist/index.es168.js +1 -1
  540. package/dist/index.es168.js.map +1 -1
  541. package/dist/index.es169.js +1 -1
  542. package/dist/index.es169.js.map +1 -1
  543. package/dist/index.es170.js.map +1 -1
  544. package/dist/index.es171.js +1 -1
  545. package/dist/index.es171.js.map +1 -1
  546. package/dist/index.es172.js +1 -1
  547. package/dist/index.es172.js.map +1 -1
  548. package/dist/index.es173.js +1 -1
  549. package/dist/index.es173.js.map +1 -1
  550. package/dist/index.es174.js +1 -1
  551. package/dist/index.es174.js.map +1 -1
  552. package/dist/index.es175.js +1 -1
  553. package/dist/index.es175.js.map +1 -1
  554. package/dist/index.es176.js +1 -1
  555. package/dist/index.es176.js.map +1 -1
  556. package/dist/index.es177.js +1 -1
  557. package/dist/index.es177.js.map +1 -1
  558. package/dist/index.es178.js +1 -1
  559. package/dist/index.es179.js +1 -1
  560. package/dist/index.es179.js.map +1 -1
  561. package/dist/index.es18.js.map +1 -1
  562. package/dist/index.es180.js.map +1 -1
  563. package/dist/index.es181.js +1 -1
  564. package/dist/index.es181.js.map +1 -1
  565. package/dist/index.es182.js +1 -1
  566. package/dist/index.es182.js.map +1 -1
  567. package/dist/index.es183.js +1 -1
  568. package/dist/index.es183.js.map +1 -1
  569. package/dist/index.es184.js +1 -1
  570. package/dist/index.es184.js.map +1 -1
  571. package/dist/index.es185.js +1 -1
  572. package/dist/index.es185.js.map +1 -1
  573. package/dist/index.es186.js +1 -1
  574. package/dist/index.es186.js.map +1 -1
  575. package/dist/index.es187.js +1 -1
  576. package/dist/index.es187.js.map +1 -1
  577. package/dist/index.es188.js.map +1 -1
  578. package/dist/index.es19.js.map +1 -1
  579. package/dist/index.es190.js +1 -1
  580. package/dist/index.es191.js +1 -1
  581. package/dist/index.es192.js +1 -1
  582. package/dist/index.es193.js +1 -1
  583. package/dist/index.es194.js +1 -1
  584. package/dist/index.es195.js +1 -1
  585. package/dist/index.es195.js.map +1 -1
  586. package/dist/index.es196.js +1 -1
  587. package/dist/index.es196.js.map +1 -1
  588. package/dist/index.es197.js +1 -1
  589. package/dist/index.es197.js.map +1 -1
  590. package/dist/index.es198.js.map +1 -1
  591. package/dist/index.es199.js.map +1 -1
  592. package/dist/index.es200.js.map +1 -1
  593. package/dist/index.es201.js.map +1 -1
  594. package/dist/index.es202.js.map +1 -1
  595. package/dist/index.es203.js +1 -1
  596. package/dist/index.es203.js.map +1 -1
  597. package/dist/index.es205.js +76 -71
  598. package/dist/index.es205.js.map +1 -1
  599. package/dist/index.es206.js +11 -1
  600. package/dist/index.es206.js.map +1 -1
  601. package/dist/index.es21.js.map +1 -1
  602. package/dist/index.es210.js +63 -58
  603. package/dist/index.es210.js.map +1 -1
  604. package/dist/index.es219.js +29 -26
  605. package/dist/index.es219.js.map +1 -1
  606. package/dist/index.es223.js +18 -15
  607. package/dist/index.es223.js.map +1 -1
  608. package/dist/index.es228.js +1 -1
  609. package/dist/index.es23.js.map +1 -1
  610. package/dist/index.es235.js +2 -2
  611. package/dist/index.es24.js +1 -1
  612. package/dist/index.es24.js.map +1 -1
  613. package/dist/index.es240.js.map +1 -1
  614. package/dist/index.es241.js +2 -27
  615. package/dist/index.es241.js.map +1 -1
  616. package/dist/index.es242.js +30 -0
  617. package/dist/index.es242.js.map +1 -0
  618. package/dist/index.es244.js.map +1 -1
  619. package/dist/index.es247.js.map +1 -1
  620. package/dist/index.es25.js.map +1 -1
  621. package/dist/index.es251.js +1 -1
  622. package/dist/index.es251.js.map +1 -1
  623. package/dist/index.es255.js.map +1 -1
  624. package/dist/index.es26.js.map +1 -1
  625. package/dist/index.es263.js +1 -1
  626. package/dist/index.es263.js.map +1 -1
  627. package/dist/index.es265.js.map +1 -1
  628. package/dist/index.es273.js.map +1 -1
  629. package/dist/index.es28.js +1 -1
  630. package/dist/index.es28.js.map +1 -1
  631. package/dist/index.es281.js.map +1 -1
  632. package/dist/index.es282.js +1 -1
  633. package/dist/index.es282.js.map +1 -1
  634. package/dist/index.es286.js +1 -1
  635. package/dist/index.es286.js.map +1 -1
  636. package/dist/index.es288.js +7 -7
  637. package/dist/index.es29.js.map +1 -1
  638. package/dist/index.es292.js.map +1 -1
  639. package/dist/index.es294.js.map +1 -1
  640. package/dist/index.es295.js.map +1 -1
  641. package/dist/index.es296.js.map +1 -1
  642. package/dist/index.es299.js.map +1 -1
  643. package/dist/index.es30.js.map +1 -1
  644. package/dist/index.es300.js.map +1 -1
  645. package/dist/index.es304.js.map +1 -1
  646. package/dist/index.es307.js.map +1 -1
  647. package/dist/index.es309.js.map +1 -1
  648. package/dist/index.es311.js.map +1 -1
  649. package/dist/index.es314.js.map +1 -1
  650. package/dist/index.es315.js.map +1 -1
  651. package/dist/index.es317.js +1 -1
  652. package/dist/index.es318.js +1 -1
  653. package/dist/index.es318.js.map +1 -1
  654. package/dist/index.es35.js.map +1 -1
  655. package/dist/index.es358.js +1 -1
  656. package/dist/index.es36.js.map +1 -1
  657. package/dist/index.es364.js +1 -1
  658. package/dist/index.es367.js.map +1 -1
  659. package/dist/index.es372.js +8 -8
  660. package/dist/index.es378.js.map +1 -1
  661. package/dist/index.es38.js.map +1 -1
  662. package/dist/index.es380.js.map +1 -1
  663. package/dist/index.es381.js.map +1 -1
  664. package/dist/index.es386.js.map +1 -1
  665. package/dist/index.es388.js +3 -3
  666. package/dist/index.es388.js.map +1 -1
  667. package/dist/index.es389.js +2 -2
  668. package/dist/index.es390.js +18 -18
  669. package/dist/index.es390.js.map +1 -1
  670. package/dist/index.es40.js.map +1 -1
  671. package/dist/index.es400.js.map +1 -1
  672. package/dist/index.es401.js.map +1 -1
  673. package/dist/index.es404.js +1 -1
  674. package/dist/index.es404.js.map +1 -1
  675. package/dist/index.es409.js +1 -1
  676. package/dist/index.es41.js.map +1 -1
  677. package/dist/index.es410.js +146 -307
  678. package/dist/index.es410.js.map +1 -1
  679. package/dist/index.es411.js +3674 -5
  680. package/dist/index.es411.js.map +1 -1
  681. package/dist/index.es412.js +5 -520
  682. package/dist/index.es412.js.map +1 -1
  683. package/dist/index.es413.js +2 -3675
  684. package/dist/index.es413.js.map +1 -1
  685. package/dist/index.es414.js +5 -5
  686. package/dist/index.es414.js.map +1 -1
  687. package/dist/index.es415.js +521 -2
  688. package/dist/index.es415.js.map +1 -1
  689. package/dist/index.es420.js +1 -1
  690. package/dist/index.es421.js +1 -1
  691. package/dist/index.es422.js +12 -12
  692. package/dist/index.es423.js +1 -1
  693. package/dist/index.es424.js.map +1 -1
  694. package/dist/index.es428.js +1 -1
  695. package/dist/index.es429.js +1 -1
  696. package/dist/index.es43.js.map +1 -1
  697. package/dist/index.es430.js +15 -2
  698. package/dist/index.es430.js.map +1 -1
  699. package/dist/index.es434.js +128 -0
  700. package/dist/index.es434.js.map +1 -0
  701. package/dist/index.es435.js +138 -0
  702. package/dist/index.es435.js.map +1 -0
  703. package/dist/index.es436.js +13 -124
  704. package/dist/index.es436.js.map +1 -1
  705. package/dist/index.es437.js +14 -134
  706. package/dist/index.es437.js.map +1 -1
  707. package/dist/index.es438.js +7 -12
  708. package/dist/index.es438.js.map +1 -1
  709. package/dist/index.es439.js +50 -15
  710. package/dist/index.es439.js.map +1 -1
  711. package/dist/index.es440.js +53 -9
  712. package/dist/index.es440.js.map +1 -1
  713. package/dist/index.es45.js.map +1 -1
  714. package/dist/index.es456.js +77 -0
  715. package/dist/index.es456.js.map +1 -0
  716. package/dist/index.es457.js +5 -0
  717. package/dist/index.es457.js.map +1 -0
  718. package/dist/index.es46.js.map +1 -1
  719. package/dist/index.es460.js +2035 -0
  720. package/dist/index.es460.js.map +1 -0
  721. package/dist/index.es461.js +63 -0
  722. package/dist/index.es461.js.map +1 -0
  723. package/dist/index.es462.js +192 -0
  724. package/dist/index.es462.js.map +1 -0
  725. package/dist/index.es465.js +2 -205
  726. package/dist/index.es465.js.map +1 -1
  727. package/dist/index.es466.js +2 -22
  728. package/dist/index.es466.js.map +1 -1
  729. package/dist/index.es467.js +10 -392
  730. package/dist/index.es467.js.map +1 -1
  731. package/dist/index.es468.js +44 -23
  732. package/dist/index.es468.js.map +1 -1
  733. package/dist/index.es469.js +8 -29
  734. package/dist/index.es469.js.map +1 -1
  735. package/dist/index.es47.js.map +1 -1
  736. package/dist/index.es470.js +218 -5
  737. package/dist/index.es470.js.map +1 -1
  738. package/dist/index.es471.js +178 -5
  739. package/dist/index.es471.js.map +1 -1
  740. package/dist/index.es472.js +4 -3
  741. package/dist/index.es472.js.map +1 -1
  742. package/dist/index.es473.js +2 -26
  743. package/dist/index.es473.js.map +1 -1
  744. package/dist/index.es474.js +10 -108
  745. package/dist/index.es474.js.map +1 -1
  746. package/dist/index.es475.js +9 -15
  747. package/dist/index.es475.js.map +1 -1
  748. package/dist/index.es476.js +168 -513
  749. package/dist/index.es476.js.map +1 -1
  750. package/dist/index.es477.js +3 -126
  751. package/dist/index.es477.js.map +1 -1
  752. package/dist/index.es478.js +128 -124
  753. package/dist/index.es478.js.map +1 -1
  754. package/dist/index.es479.js +200 -60
  755. package/dist/index.es479.js.map +1 -1
  756. package/dist/index.es480.js +22 -69
  757. package/dist/index.es480.js.map +1 -1
  758. package/dist/index.es481.js +391 -7
  759. package/dist/index.es481.js.map +1 -1
  760. package/dist/index.es482.js +25 -14
  761. package/dist/index.es482.js.map +1 -1
  762. package/dist/index.es483.js +27 -60
  763. package/dist/index.es483.js.map +1 -1
  764. package/dist/index.es484.js +5 -4
  765. package/dist/index.es484.js.map +1 -1
  766. package/dist/index.es485.js +81 -21
  767. package/dist/index.es485.js.map +1 -1
  768. package/dist/index.es486.js +5 -13
  769. package/dist/index.es486.js.map +1 -1
  770. package/dist/index.es487.js +4 -28
  771. package/dist/index.es487.js.map +1 -1
  772. package/dist/index.es488.js +5 -5
  773. package/dist/index.es488.js.map +1 -1
  774. package/dist/index.es489.js +10 -23
  775. package/dist/index.es489.js.map +1 -1
  776. package/dist/index.es49.js.map +1 -1
  777. package/dist/index.es490.js +59 -0
  778. package/dist/index.es490.js.map +1 -0
  779. package/dist/index.es491.js +11 -0
  780. package/dist/index.es491.js.map +1 -0
  781. package/dist/index.es492.js +5 -73
  782. package/dist/index.es492.js.map +1 -1
  783. package/dist/index.es493.js +533 -2
  784. package/dist/index.es493.js.map +1 -1
  785. package/dist/index.es494.js +5 -2026
  786. package/dist/index.es494.js.map +1 -1
  787. package/dist/index.es495.js +3 -60
  788. package/dist/index.es495.js.map +1 -1
  789. package/dist/index.es496.js +21 -187
  790. package/dist/index.es496.js.map +1 -1
  791. package/dist/index.es497.js +110 -5
  792. package/dist/index.es497.js.map +1 -1
  793. package/dist/index.es498.js +16 -4
  794. package/dist/index.es498.js.map +1 -1
  795. package/dist/index.es499.js +39 -4
  796. package/dist/index.es499.js.map +1 -1
  797. package/dist/index.es50.js.map +1 -1
  798. package/dist/index.es500.js +2 -10
  799. package/dist/index.es500.js.map +1 -1
  800. package/dist/index.es501.js +2 -56
  801. package/dist/index.es501.js.map +1 -1
  802. package/dist/index.es502.js +2 -8
  803. package/dist/index.es502.js.map +1 -1
  804. package/dist/index.es503.js +3 -6
  805. package/dist/index.es503.js.map +1 -1
  806. package/dist/index.es504.js +2 -533
  807. package/dist/index.es504.js.map +1 -1
  808. package/dist/index.es505.js +7 -0
  809. package/dist/index.es505.js.map +1 -0
  810. package/dist/index.es506.js +8 -0
  811. package/dist/index.es506.js.map +1 -0
  812. package/dist/index.es507.js +521 -8
  813. package/dist/index.es507.js.map +1 -1
  814. package/dist/index.es508.js +115 -172
  815. package/dist/index.es508.js.map +1 -1
  816. package/dist/index.es509.js +128 -3
  817. package/dist/index.es509.js.map +1 -1
  818. package/dist/index.es51.js.map +1 -1
  819. package/dist/index.es510.js +59 -127
  820. package/dist/index.es510.js.map +1 -1
  821. package/dist/index.es511.js +69 -40
  822. package/dist/index.es511.js.map +1 -1
  823. package/dist/index.es512.js +9 -2
  824. package/dist/index.es512.js.map +1 -1
  825. package/dist/index.es513.js +14 -2
  826. package/dist/index.es513.js.map +1 -1
  827. package/dist/index.es514.js +62 -2
  828. package/dist/index.es514.js.map +1 -1
  829. package/dist/index.es515.js +4 -3
  830. package/dist/index.es515.js.map +1 -1
  831. package/dist/index.es516.js +4 -2
  832. package/dist/index.es516.js.map +1 -1
  833. package/dist/index.es517.js +22 -3
  834. package/dist/index.es517.js.map +1 -1
  835. package/dist/index.es518.js +13 -5
  836. package/dist/index.es518.js.map +1 -1
  837. package/dist/index.es519.js +27 -3
  838. package/dist/index.es519.js.map +1 -1
  839. package/dist/index.es52.js.map +1 -1
  840. package/dist/index.es520.js +7 -2
  841. package/dist/index.es520.js.map +1 -1
  842. package/dist/index.es521.js +22 -82
  843. package/dist/index.es521.js.map +1 -1
  844. package/dist/index.es53.js.map +1 -1
  845. package/dist/index.es54.js.map +1 -1
  846. package/dist/index.es55.js.map +1 -1
  847. package/dist/index.es57.js.map +1 -1
  848. package/dist/index.es58.js.map +1 -1
  849. package/dist/index.es59.js.map +1 -1
  850. package/dist/index.es6.js +1 -1
  851. package/dist/index.es60.js.map +1 -1
  852. package/dist/index.es62.js +1 -1
  853. package/dist/index.es63.js.map +1 -1
  854. package/dist/index.es64.js.map +1 -1
  855. package/dist/index.es68.js.map +1 -1
  856. package/dist/index.es69.js.map +1 -1
  857. package/dist/index.es7.js +1 -1
  858. package/dist/index.es7.js.map +1 -1
  859. package/dist/index.es70.js.map +1 -1
  860. package/dist/index.es71.js.map +1 -1
  861. package/dist/index.es73.js.map +1 -1
  862. package/dist/index.es74.js.map +1 -1
  863. package/dist/index.es75.js.map +1 -1
  864. package/dist/index.es76.js.map +1 -1
  865. package/dist/index.es77.js.map +1 -1
  866. package/dist/index.es78.js.map +1 -1
  867. package/dist/index.es79.js.map +1 -1
  868. package/dist/index.es8.js +1 -1
  869. package/dist/index.es8.js.map +1 -1
  870. package/dist/index.es80.js.map +1 -1
  871. package/dist/index.es81.js.map +1 -1
  872. package/dist/index.es82.js.map +1 -1
  873. package/dist/index.es83.js.map +1 -1
  874. package/dist/index.es84.js.map +1 -1
  875. package/dist/index.es85.js.map +1 -1
  876. package/dist/index.es86.js.map +1 -1
  877. package/dist/index.es87.js.map +1 -1
  878. package/dist/index.es88.js.map +1 -1
  879. package/dist/index.es89.js.map +1 -1
  880. package/dist/index.es9.js +2 -2
  881. package/dist/index.es90.js.map +1 -1
  882. package/dist/index.es91.js.map +1 -1
  883. package/dist/index.es92.js.map +1 -1
  884. package/dist/index.es93.js.map +1 -1
  885. package/dist/index.es94.js.map +1 -1
  886. package/dist/index.es95.js.map +1 -1
  887. package/dist/index.es96.js.map +1 -1
  888. package/dist/index.es97.js.map +1 -1
  889. package/dist/index.es98.js.map +1 -1
  890. package/dist/index.es99.js.map +1 -1
  891. package/package.json +113 -113
  892. package/readme.md +42 -42
  893. package/dist/index.cjs243.js +0 -2
  894. package/dist/index.cjs243.js.map +0 -1
  895. package/dist/index.cjs431.js +0 -2
  896. package/dist/index.cjs431.js.map +0 -1
  897. package/dist/index.cjs432.js +0 -2
  898. package/dist/index.cjs432.js.map +0 -1
  899. package/dist/index.cjs441.js +0 -2
  900. package/dist/index.cjs441.js.map +0 -1
  901. package/dist/index.cjs442.js +0 -2
  902. package/dist/index.cjs442.js.map +0 -1
  903. package/dist/index.cjs443.js +0 -2
  904. package/dist/index.cjs443.js.map +0 -1
  905. package/dist/index.cjs444.js +0 -2
  906. package/dist/index.cjs444.js.map +0 -1
  907. package/dist/index.cjs445.js +0 -2
  908. package/dist/index.cjs445.js.map +0 -1
  909. package/dist/index.cjs446.js +0 -2
  910. package/dist/index.cjs446.js.map +0 -1
  911. package/dist/index.cjs447.js +0 -2
  912. package/dist/index.cjs447.js.map +0 -1
  913. package/dist/index.cjs448.js +0 -2
  914. package/dist/index.cjs448.js.map +0 -1
  915. package/dist/index.cjs464.js +0 -2
  916. package/dist/index.cjs464.js.map +0 -1
  917. package/dist/index.es243.js +0 -5
  918. package/dist/index.es243.js.map +0 -1
  919. package/dist/index.es431.js +0 -5
  920. package/dist/index.es431.js.map +0 -1
  921. package/dist/index.es432.js +0 -18
  922. package/dist/index.es432.js.map +0 -1
  923. package/dist/index.es441.js +0 -53
  924. package/dist/index.es441.js.map +0 -1
  925. package/dist/index.es442.js +0 -56
  926. package/dist/index.es442.js.map +0 -1
  927. package/dist/index.es443.js +0 -14
  928. package/dist/index.es443.js.map +0 -1
  929. package/dist/index.es444.js +0 -49
  930. package/dist/index.es444.js.map +0 -1
  931. package/dist/index.es445.js +0 -11
  932. package/dist/index.es445.js.map +0 -1
  933. package/dist/index.es446.js +0 -221
  934. package/dist/index.es446.js.map +0 -1
  935. package/dist/index.es447.js +0 -181
  936. package/dist/index.es447.js.map +0 -1
  937. package/dist/index.es448.js +0 -7
  938. package/dist/index.es448.js.map +0 -1
  939. package/dist/index.es464.js +0 -15
  940. package/dist/index.es464.js.map +0 -1
package/package.json CHANGED
@@ -1,113 +1,113 @@
1
- {
2
- "name": "@anoki/fse-ui",
3
- "version": "1.0.0-beta1.31",
4
- "description": "FSE UI components library",
5
- "type": "module",
6
- "main": "dist/index.cjs.js",
7
- "module": "dist/index.es.js",
8
- "types": "dist/index.d.ts",
9
- "files": [
10
- "/dist"
11
- ],
12
- "scripts": {
13
- "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
14
- "lint": "eslint .",
15
- "build": "tsc && vite build",
16
- "test": "vitest run",
17
- "test-watch": "vitest",
18
- "test:ui": "vitest --ui",
19
- "sb": "storybook dev -p 6006",
20
- "release": "npm run build && npm publish --access public",
21
- "release:beta": "npm run build && npm publish --access public --tag beta",
22
- "build-storybook": "storybook build",
23
- "prepare": "husky"
24
- },
25
- "private": false,
26
- "publishConfig": {
27
- "access": "public"
28
- },
29
- "sideEffects": [
30
- "*.css",
31
- "*.scss"
32
- ],
33
- "author": "Anoki <developer@anoki.it>",
34
- "keywords": [
35
- "anoki",
36
- "fse",
37
- "ui",
38
- "components",
39
- "library"
40
- ],
41
- "license": "ISC",
42
- "devDependencies": {
43
- "@chromatic-com/storybook": "^3.2.4",
44
- "@eslint/js": "^9.22.0",
45
- "@storybook/addon-a11y": "^8.5.2",
46
- "@storybook/addon-essentials": "^8.5.2",
47
- "@storybook/addon-interactions": "^8.5.2",
48
- "@storybook/addon-links": "^8.5.2",
49
- "@storybook/addon-onboarding": "^8.5.2",
50
- "@storybook/blocks": "^8.5.2",
51
- "@storybook/react": "^8.5.2",
52
- "@storybook/react-vite": "^8.5.2",
53
- "@storybook/test": "^8.5.2",
54
- "@testing-library/dom": "^10.4.0",
55
- "@testing-library/jest-dom": "^6.6.3",
56
- "@testing-library/react": "^16.2.0",
57
- "@types/html-to-text": "^9.0.4",
58
- "@types/lodash": "^4.17.14",
59
- "@types/luxon": "^3.4.2",
60
- "@types/react": "^19.0.8",
61
- "@typescript-eslint/eslint-plugin": "^8.21.0",
62
- "@typescript-eslint/parser": "^8.21.0",
63
- "@vitejs/plugin-react": "^4.3.4",
64
- "autoprefixer": "^10.4.20",
65
- "eslint": "^9.19.0",
66
- "eslint-config-prettier": "^10.1.1",
67
- "eslint-plugin-prettier": "^5.2.3",
68
- "eslint-plugin-react": "^7.37.4",
69
- "eslint-plugin-react-hooks": "^5.2.0",
70
- "eslint-plugin-storybook": "^0.11.4",
71
- "husky": "^9.1.7",
72
- "jsdom": "^26.0.0",
73
- "lint-staged": "^15.4.3",
74
- "postcss": "^8.5.1",
75
- "prettier": "^3.4.2",
76
- "sass": "^1.83.4",
77
- "storybook": "^8.5.2",
78
- "typescript": "^5.7.3",
79
- "typescript-eslint": "^8.26.1",
80
- "vite": "^6.0.11",
81
- "vite-plugin-dts": "^4.5.0",
82
- "vite-plugin-lib-inject-css": "^2.2.1",
83
- "vitest": "^3.0.4"
84
- },
85
- "peerDependencies": {
86
- "react": "^19.0.0",
87
- "react-dom": "^19.0.0"
88
- },
89
- "engines": {
90
- "node": ">=18.18.0",
91
- "yarn": ">=1.22.19"
92
- },
93
- "packageManager": "yarn@4.2.2",
94
- "dependencies": {
95
- "@anoki/fse-common": "1.0.0-beta1.22",
96
- "@radix-ui/react-alert-dialog": "^1.1.7",
97
- "@radix-ui/react-checkbox": "^1.1.4",
98
- "@radix-ui/react-dialog": "^1.1.6",
99
- "@radix-ui/react-dropdown-menu": "^2.1.5",
100
- "@radix-ui/react-switch": "^1.1.3",
101
- "@radix-ui/themes": "^3.2.1",
102
- "@types/node": "^22.10.10",
103
- "clsx": "^2.1.1",
104
- "file-saver": "^2.0.5",
105
- "isomorphic-dompurify": "^2.24.0",
106
- "lodash": "^4.17.21",
107
- "luxon": "^3.5.0",
108
- "react-wrap-balancer": "^1.1.1",
109
- "rollup-plugin-visualizer": "^5.14.0",
110
- "swiper": "^11.2.6",
111
- "usehooks-ts": "^3.1.1"
112
- }
113
- }
1
+ {
2
+ "name": "@anoki/fse-ui",
3
+ "version": "1.0.0-beta1.31.2",
4
+ "description": "FSE UI components library",
5
+ "type": "module",
6
+ "main": "dist/index.cjs.js",
7
+ "module": "dist/index.es.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "/dist"
11
+ ],
12
+ "scripts": {
13
+ "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
14
+ "lint": "eslint .",
15
+ "build": "tsc && vite build",
16
+ "test": "vitest run",
17
+ "test-watch": "vitest",
18
+ "test:ui": "vitest --ui",
19
+ "sb": "storybook dev -p 6006",
20
+ "release": "npm run build && npm publish --access public",
21
+ "release:beta": "npm run build && npm publish --access public --tag beta",
22
+ "build-storybook": "storybook build",
23
+ "prepare": "husky"
24
+ },
25
+ "private": false,
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "sideEffects": [
30
+ "*.css",
31
+ "*.scss"
32
+ ],
33
+ "author": "Anoki <developer@anoki.it>",
34
+ "keywords": [
35
+ "anoki",
36
+ "fse",
37
+ "ui",
38
+ "components",
39
+ "library"
40
+ ],
41
+ "license": "ISC",
42
+ "devDependencies": {
43
+ "@chromatic-com/storybook": "^3.2.4",
44
+ "@eslint/js": "^9.22.0",
45
+ "@storybook/addon-a11y": "^8.5.2",
46
+ "@storybook/addon-essentials": "^8.5.2",
47
+ "@storybook/addon-interactions": "^8.5.2",
48
+ "@storybook/addon-links": "^8.5.2",
49
+ "@storybook/addon-onboarding": "^8.5.2",
50
+ "@storybook/blocks": "^8.5.2",
51
+ "@storybook/react": "^8.5.2",
52
+ "@storybook/react-vite": "^8.5.2",
53
+ "@storybook/test": "^8.5.2",
54
+ "@testing-library/dom": "^10.4.0",
55
+ "@testing-library/jest-dom": "^6.6.3",
56
+ "@testing-library/react": "^16.2.0",
57
+ "@types/html-to-text": "^9.0.4",
58
+ "@types/lodash": "^4.17.14",
59
+ "@types/luxon": "^3.4.2",
60
+ "@types/react": "^19.0.8",
61
+ "@typescript-eslint/eslint-plugin": "^8.21.0",
62
+ "@typescript-eslint/parser": "^8.21.0",
63
+ "@vitejs/plugin-react": "^4.3.4",
64
+ "autoprefixer": "^10.4.20",
65
+ "eslint": "^9.19.0",
66
+ "eslint-config-prettier": "^10.1.1",
67
+ "eslint-plugin-prettier": "^5.2.3",
68
+ "eslint-plugin-react": "^7.37.4",
69
+ "eslint-plugin-react-hooks": "^5.2.0",
70
+ "eslint-plugin-storybook": "^0.11.4",
71
+ "husky": "^9.1.7",
72
+ "jsdom": "^26.0.0",
73
+ "lint-staged": "^15.4.3",
74
+ "postcss": "^8.5.1",
75
+ "prettier": "^3.4.2",
76
+ "sass": "^1.83.4",
77
+ "storybook": "^8.5.2",
78
+ "typescript": "^5.7.3",
79
+ "typescript-eslint": "^8.26.1",
80
+ "vite": "^6.0.11",
81
+ "vite-plugin-dts": "^4.5.0",
82
+ "vite-plugin-lib-inject-css": "^2.2.1",
83
+ "vitest": "^3.0.4"
84
+ },
85
+ "peerDependencies": {
86
+ "react": "^19.0.0",
87
+ "react-dom": "^19.0.0"
88
+ },
89
+ "engines": {
90
+ "node": ">=18.18.0",
91
+ "yarn": ">=1.22.19"
92
+ },
93
+ "packageManager": "yarn@4.2.2",
94
+ "dependencies": {
95
+ "@anoki/fse-common": "1.0.0-beta1.22",
96
+ "@radix-ui/react-alert-dialog": "^1.1.7",
97
+ "@radix-ui/react-checkbox": "^1.1.4",
98
+ "@radix-ui/react-dialog": "^1.1.6",
99
+ "@radix-ui/react-dropdown-menu": "^2.1.5",
100
+ "@radix-ui/react-switch": "^1.1.3",
101
+ "@radix-ui/themes": "^3.2.1",
102
+ "@types/node": "^22.10.10",
103
+ "clsx": "^2.1.1",
104
+ "file-saver": "^2.0.5",
105
+ "isomorphic-dompurify": "^2.24.0",
106
+ "lodash": "^4.17.21",
107
+ "luxon": "^3.5.0",
108
+ "react-wrap-balancer": "^1.1.1",
109
+ "rollup-plugin-visualizer": "^5.14.0",
110
+ "swiper": "^11.2.6",
111
+ "usehooks-ts": "^3.1.1"
112
+ }
113
+ }
package/readme.md CHANGED
@@ -1,42 +1,42 @@
1
- # This is the UI Library for the [FSE Marche]
2
-
3
- Use npm to install the dependencies [Not yarn]
4
-
5
- ```bash
6
- npm install
7
- ```
8
-
9
- Run storybook
10
-
11
- ```bash
12
- npm run sb
13
- ```
14
-
15
- Use npm release to build the library and publish the package to npm:
16
-
17
- ```bash
18
- npm run release
19
- ```
20
-
21
- Use npm bump-patch to increments the patch version (the last number in the version, e.g., from 0.1.96 to 0.1.97), push the changes, build the package and publish it to npm:
22
-
23
- ```bash
24
- npm run bump-patch
25
- ```
26
-
27
- Use npm bump-minor to increments the minor version (the second number in the version, e.g., from 0.1.96 to 0.2.0), push the changes, build the package and publish it to npm.
28
-
29
- ```bash
30
- npm run bump-minor
31
- ```
32
-
33
- Use npm bump-major to increments the major version (the first number in the version, e.g., from 0.1.96 to 1.0.0), push the changes, build the package and publish it to npm:
34
-
35
- ```bash
36
- npm run bump-major
37
- ```
38
-
39
- The structure of the library is as follows:
40
- src/
41
- ├── components/ # Reusable components
42
- ├── styles/ # Global styles
1
+ # This is the UI Library for the [FSE Marche]
2
+
3
+ Use npm to install the dependencies [Not yarn]
4
+
5
+ ```bash
6
+ npm install
7
+ ```
8
+
9
+ Run storybook
10
+
11
+ ```bash
12
+ npm run sb
13
+ ```
14
+
15
+ Use npm release to build the library and publish the package to npm:
16
+
17
+ ```bash
18
+ npm run release
19
+ ```
20
+
21
+ Use npm bump-patch to increments the patch version (the last number in the version, e.g., from 0.1.96 to 0.1.97), push the changes, build the package and publish it to npm:
22
+
23
+ ```bash
24
+ npm run bump-patch
25
+ ```
26
+
27
+ Use npm bump-minor to increments the minor version (the second number in the version, e.g., from 0.1.96 to 0.2.0), push the changes, build the package and publish it to npm.
28
+
29
+ ```bash
30
+ npm run bump-minor
31
+ ```
32
+
33
+ Use npm bump-major to increments the major version (the first number in the version, e.g., from 0.1.96 to 1.0.0), push the changes, build the package and publish it to npm:
34
+
35
+ ```bash
36
+ npm run bump-major
37
+ ```
38
+
39
+ The structure of the library is as follows:
40
+ src/
41
+ ├── components/ # Reusable components
42
+ ├── styles/ # Global styles
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["bg","text","color","border"],o=e=>t.map(r=>e[r]?r==="color"?`text-${e[r]}`:`${r}-${e[r]}`:"").filter(Boolean);exports.createColorClasses=o;
2
- //# sourceMappingURL=index.cjs243.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs243.js","sources":["../src/theme/colors.ts"],"sourcesContent":["export type ColorKeys =\n | \"primary\"\n | \"white\"\n | \"status-success\"\n | \"warning\"\n | \"error\"\n | \"muted\"\n | \"emphasis\"\n | \"slate-20\"\n | \"slate-14\"\n | \"slate-28\"\n | \"border-divider\"\n | \"transparent\"\n | \"blue-30\"\n | \"disabled\"\n | \"lightblue-a01\"\n | \"lightblue-a02\"\n | \"lightblue-a03\"\n | \"secondary\"\n | \"blue-48\";\n\nexport type ColorProps = {\n bg?: ColorKeys;\n text?: ColorKeys;\n color?: ColorKeys;\n border?: ColorKeys;\n};\n\nexport type ColorPropsKeys = keyof ColorProps;\nconst colorPropsKeys: ColorPropsKeys[] = [\"bg\", \"text\", \"color\", \"border\"];\n\nexport const createColorClasses = <TProps extends ColorProps>(\n props: TProps,\n) => {\n return colorPropsKeys\n .map((key) => {\n if (!props[key]) return \"\";\n\n if (key === \"color\") return `text-${props[key]}`;\n return `${key}-${props[key]}`;\n })\n .filter(Boolean);\n};\n"],"names":["colorPropsKeys","createColorClasses","props","key"],"mappings":"gFA6BA,MAAMA,EAAmC,CAAC,KAAM,OAAQ,QAAS,QAAQ,EAE5DC,EACXC,GAEOF,EACJ,IAAKG,GACCD,EAAMC,CAAG,EAEVA,IAAQ,QAAgB,QAAQD,EAAMC,CAAG,CAAC,GACvC,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAHH,EAIzB,EACA,OAAO,OAAO"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
- //# sourceMappingURL=index.cjs431.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs431.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs520.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
2
- //# sourceMappingURL=index.cjs432.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs432.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
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
- //# sourceMappingURL=index.cjs441.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs441.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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,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 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),g=require("./index.cjs418.js"),u=require("./index.cjs224.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 l=S(y);function b(e){const t=x(e),n=l.forwardRef((r,o)=>{const{children:i,...c}=r,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,m=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,m):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function x(e){const t=l.forwardRef((n,r)=>{const{children:o,...i}=n;if(l.isValidElement(o)){const c=O(o),s=R(i,o.props);return o.type!==l.Fragment&&(s.ref=r?g.composeRefs(r,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:n})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
2
- //# sourceMappingURL=index.cjs442.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs442.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment 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","createSlottable","Slottable2","Fragment2","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,E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C,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGrB,EAAW,GAAGkB,CAAe,CAC3C,CACA,SAAST,EAAcc,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(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 u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
2
- //# sourceMappingURL=index.cjs443.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs443.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs419.js"),I=require("./index.cjs418.js"),M=require("./index.cjs442.js"),f=require("./index.cjs224.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
2
- //# sourceMappingURL=index.cjs444.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs444.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,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CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAX,EAAU,CACrH,CACG,EACDgB,EAAmB,YAAcH,EACjC,SAASK,EAAcnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAE,EAC9B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs224.js");function i(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=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
2
- //# sourceMappingURL=index.cjs445.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs445.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"gaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs465.js"),ye=require("./index.cjs466.js"),Z=require("./index.cjs418.js"),Ae=require("./index.cjs419.js"),G=require("./index.cjs421.js"),ve=require("./index.cjs443.js"),L=require("./index.cjs448.js"),Ce=require("./index.cjs428.js"),u=require("./index.cjs224.js"),be=require("./index.cjs467.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.cjs446.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs446.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,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,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]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs417.js"),B=require("./index.cjs444.js"),Y=require("./index.cjs418.js"),z=require("./index.cjs419.js"),V=require("./index.cjs423.js"),D=require("./index.cjs421.js"),J=require("./index.cjs443.js"),Q=require("./index.cjs420.js"),W=require("./index.cjs445.js"),f=require("./index.cjs224.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
- //# sourceMappingURL=index.cjs447.js.map