@anoki/fse-ui 1.0.751 → 1.0.752

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 (913) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs103.js +1 -1
  7. package/dist/index.cjs104.js +1 -1
  8. package/dist/index.cjs105.js +1 -1
  9. package/dist/index.cjs106.js +1 -1
  10. package/dist/index.cjs108.js +1 -1
  11. package/dist/index.cjs109.js +1 -1
  12. package/dist/index.cjs11.js +1 -1
  13. package/dist/index.cjs111.js +1 -1
  14. package/dist/index.cjs113.js +1 -1
  15. package/dist/index.cjs114.js +1 -1
  16. package/dist/index.cjs116.js +1 -1
  17. package/dist/index.cjs117.js +1 -1
  18. package/dist/index.cjs118.js +1 -1
  19. package/dist/index.cjs119.js +1 -1
  20. package/dist/index.cjs119.js.map +1 -1
  21. package/dist/index.cjs12.js +1 -1
  22. package/dist/index.cjs121.js +1 -1
  23. package/dist/index.cjs122.js +1 -1
  24. package/dist/index.cjs123.js +1 -1
  25. package/dist/index.cjs124.js +1 -1
  26. package/dist/index.cjs125.js +1 -1
  27. package/dist/index.cjs128.js +1 -1
  28. package/dist/index.cjs13.js +1 -1
  29. package/dist/index.cjs130.js +1 -1
  30. package/dist/index.cjs132.js +1 -1
  31. package/dist/index.cjs133.js +1 -1
  32. package/dist/index.cjs134.js +1 -1
  33. package/dist/index.cjs135.js +1 -1
  34. package/dist/index.cjs136.js +1 -1
  35. package/dist/index.cjs137.js +1 -1
  36. package/dist/index.cjs138.js +1 -1
  37. package/dist/index.cjs139.js +1 -1
  38. package/dist/index.cjs14.js +1 -1
  39. package/dist/index.cjs140.js +1 -1
  40. package/dist/index.cjs141.js +1 -1
  41. package/dist/index.cjs142.js +1 -1
  42. package/dist/index.cjs143.js +1 -1
  43. package/dist/index.cjs144.js +1 -1
  44. package/dist/index.cjs145.js +1 -1
  45. package/dist/index.cjs146.js +1 -1
  46. package/dist/index.cjs147.js +1 -1
  47. package/dist/index.cjs148.js +1 -1
  48. package/dist/index.cjs149.js +1 -1
  49. package/dist/index.cjs15.js +1 -1
  50. package/dist/index.cjs150.js +1 -1
  51. package/dist/index.cjs151.js +1 -1
  52. package/dist/index.cjs152.js +1 -1
  53. package/dist/index.cjs153.js +1 -1
  54. package/dist/index.cjs154.js +1 -1
  55. package/dist/index.cjs155.js +1 -1
  56. package/dist/index.cjs156.js +1 -1
  57. package/dist/index.cjs157.js +1 -1
  58. package/dist/index.cjs158.js +1 -1
  59. package/dist/index.cjs159.js +1 -1
  60. package/dist/index.cjs16.js +1 -1
  61. package/dist/index.cjs160.js +1 -1
  62. package/dist/index.cjs162.js +1 -1
  63. package/dist/index.cjs163.js +1 -1
  64. package/dist/index.cjs164.js +1 -1
  65. package/dist/index.cjs165.js +1 -1
  66. package/dist/index.cjs166.js +1 -1
  67. package/dist/index.cjs167.js +1 -1
  68. package/dist/index.cjs168.js +1 -1
  69. package/dist/index.cjs169.js +1 -1
  70. package/dist/index.cjs17.js +1 -1
  71. package/dist/index.cjs170.js +1 -1
  72. package/dist/index.cjs172.js +1 -1
  73. package/dist/index.cjs173.js +1 -1
  74. package/dist/index.cjs174.js +1 -1
  75. package/dist/index.cjs175.js +1 -1
  76. package/dist/index.cjs176.js +1 -1
  77. package/dist/index.cjs177.js +1 -1
  78. package/dist/index.cjs178.js +1 -1
  79. package/dist/index.cjs18.js +1 -1
  80. package/dist/index.cjs180.js +1 -1
  81. package/dist/index.cjs181.js +1 -1
  82. package/dist/index.cjs182.js +1 -1
  83. package/dist/index.cjs183.js +1 -1
  84. package/dist/index.cjs184.js +1 -1
  85. package/dist/index.cjs185.js +1 -1
  86. package/dist/index.cjs186.js +1 -1
  87. package/dist/index.cjs187.js +1 -1
  88. package/dist/index.cjs19.js +1 -1
  89. package/dist/index.cjs193.js +1 -1
  90. package/dist/index.cjs20.js +1 -1
  91. package/dist/index.cjs21.js +1 -1
  92. package/dist/index.cjs216.js +1 -1
  93. package/dist/index.cjs216.js.map +1 -1
  94. package/dist/index.cjs218.js +1 -1
  95. package/dist/index.cjs218.js.map +1 -1
  96. package/dist/index.cjs22.js +1 -1
  97. package/dist/index.cjs225.js +2 -0
  98. package/dist/index.cjs225.js.map +1 -0
  99. package/dist/index.cjs226.js +6 -1
  100. package/dist/index.cjs226.js.map +1 -1
  101. package/dist/index.cjs229.js +2 -0
  102. package/dist/index.cjs229.js.map +1 -0
  103. package/dist/index.cjs23.js +1 -1
  104. package/dist/index.cjs231.js +2 -0
  105. package/dist/index.cjs231.js.map +1 -0
  106. package/dist/{index.cjs219.js → index.cjs232.js} +1 -1
  107. package/dist/{index.cjs219.js.map → index.cjs232.js.map} +1 -1
  108. package/dist/{index.cjs222.js → index.cjs235.js} +1 -1
  109. package/dist/{index.cjs222.js.map → index.cjs235.js.map} +1 -1
  110. package/dist/index.cjs239.js +2 -0
  111. package/dist/index.cjs239.js.map +1 -0
  112. package/dist/index.cjs24.js +1 -1
  113. package/dist/{index.cjs230.js → index.cjs243.js} +2 -2
  114. package/dist/{index.cjs230.js.map → index.cjs243.js.map} +1 -1
  115. package/dist/{index.cjs233.js → index.cjs246.js} +2 -2
  116. package/dist/{index.cjs233.js.map → index.cjs246.js.map} +1 -1
  117. package/dist/{index.cjs236.js → index.cjs249.js} +2 -2
  118. package/dist/{index.cjs236.js.map → index.cjs249.js.map} +1 -1
  119. package/dist/index.cjs25.js +1 -1
  120. package/dist/{index.cjs237.js → index.cjs250.js} +2 -2
  121. package/dist/{index.cjs237.js.map → index.cjs250.js.map} +1 -1
  122. package/dist/{index.cjs238.js → index.cjs251.js} +2 -2
  123. package/dist/{index.cjs238.js.map → index.cjs251.js.map} +1 -1
  124. package/dist/{index.cjs244.js → index.cjs257.js} +2 -2
  125. package/dist/{index.cjs244.js.map → index.cjs257.js.map} +1 -1
  126. package/dist/index.cjs258.js +1 -1
  127. package/dist/index.cjs258.js.map +1 -1
  128. package/dist/index.cjs26.js +1 -1
  129. package/dist/index.cjs261.js +1 -1
  130. package/dist/index.cjs261.js.map +1 -1
  131. package/dist/index.cjs266.js +1 -1
  132. package/dist/index.cjs266.js.map +1 -1
  133. package/dist/index.cjs267.js +1 -1
  134. package/dist/index.cjs267.js.map +1 -1
  135. package/dist/index.cjs268.js +1 -1
  136. package/dist/index.cjs268.js.map +1 -1
  137. package/dist/{index.cjs256.js → index.cjs269.js} +1 -1
  138. package/dist/{index.cjs256.js.map → index.cjs269.js.map} +1 -1
  139. package/dist/index.cjs271.js +1 -1
  140. package/dist/index.cjs271.js.map +1 -1
  141. package/dist/{index.cjs260.js → index.cjs273.js} +2 -2
  142. package/dist/{index.cjs260.js.map → index.cjs273.js.map} +1 -1
  143. package/dist/index.cjs274.js +2 -0
  144. package/dist/index.cjs274.js.map +1 -0
  145. package/dist/{index.cjs262.js → index.cjs275.js} +1 -1
  146. package/dist/{index.cjs262.js.map → index.cjs275.js.map} +1 -1
  147. package/dist/{index.cjs263.js → index.cjs276.js} +1 -1
  148. package/dist/{index.cjs263.js.map → index.cjs276.js.map} +1 -1
  149. package/dist/index.cjs277.js +1 -1
  150. package/dist/index.cjs277.js.map +1 -1
  151. package/dist/index.cjs279.js +1 -1
  152. package/dist/index.cjs279.js.map +1 -1
  153. package/dist/index.cjs28.js +1 -1
  154. package/dist/index.cjs280.js +2 -0
  155. package/dist/index.cjs280.js.map +1 -0
  156. package/dist/index.cjs281.js +1 -1
  157. package/dist/index.cjs281.js.map +1 -1
  158. package/dist/index.cjs284.js +2 -0
  159. package/dist/index.cjs284.js.map +1 -0
  160. package/dist/index.cjs285.js +1 -1
  161. package/dist/index.cjs285.js.map +1 -1
  162. package/dist/index.cjs29.js +1 -1
  163. package/dist/index.cjs290.js +2 -0
  164. package/dist/index.cjs290.js.map +1 -0
  165. package/dist/{index.cjs278.js → index.cjs291.js} +2 -2
  166. package/dist/{index.cjs278.js.map → index.cjs291.js.map} +1 -1
  167. package/dist/{index.cjs272.js → index.cjs292.js} +2 -2
  168. package/dist/index.cjs292.js.map +1 -0
  169. package/dist/index.cjs294.js +2 -0
  170. package/dist/index.cjs294.js.map +1 -0
  171. package/dist/{index.cjs282.js → index.cjs295.js} +2 -2
  172. package/dist/{index.cjs282.js.map → index.cjs295.js.map} +1 -1
  173. package/dist/{index.cjs283.js → index.cjs296.js} +1 -1
  174. package/dist/{index.cjs283.js.map → index.cjs296.js.map} +1 -1
  175. package/dist/index.cjs298.js +1 -1
  176. package/dist/index.cjs298.js.map +1 -1
  177. package/dist/{index.cjs286.js → index.cjs299.js} +2 -2
  178. package/dist/{index.cjs286.js.map → index.cjs299.js.map} +1 -1
  179. package/dist/index.cjs30.js +1 -1
  180. package/dist/{index.cjs287.js → index.cjs300.js} +2 -2
  181. package/dist/{index.cjs287.js.map → index.cjs300.js.map} +1 -1
  182. package/dist/index.cjs31.js +1 -1
  183. package/dist/index.cjs310.js +2 -0
  184. package/dist/index.cjs310.js.map +1 -0
  185. package/dist/index.cjs32.js +1 -1
  186. package/dist/index.cjs33.js +1 -1
  187. package/dist/{index.cjs327.js → index.cjs339.js} +2 -2
  188. package/dist/{index.cjs327.js.map → index.cjs339.js.map} +1 -1
  189. package/dist/index.cjs34.js +1 -1
  190. package/dist/{index.cjs335.js → index.cjs347.js} +2 -2
  191. package/dist/{index.cjs335.js.map → index.cjs347.js.map} +1 -1
  192. package/dist/index.cjs35.js +1 -1
  193. package/dist/index.cjs352.js +1 -1
  194. package/dist/index.cjs352.js.map +1 -1
  195. package/dist/{index.cjs346.js → index.cjs358.js} +2 -2
  196. package/dist/{index.cjs346.js.map → index.cjs358.js.map} +1 -1
  197. package/dist/{index.cjs348.js → index.cjs360.js} +2 -2
  198. package/dist/{index.cjs348.js.map → index.cjs360.js.map} +1 -1
  199. package/dist/index.cjs364.js +2 -0
  200. package/dist/index.cjs364.js.map +1 -0
  201. package/dist/index.cjs366.js +1 -1
  202. package/dist/index.cjs366.js.map +1 -1
  203. package/dist/index.cjs367.js +1 -1
  204. package/dist/index.cjs367.js.map +1 -1
  205. package/dist/{index.cjs356.js → index.cjs368.js} +2 -2
  206. package/dist/{index.cjs356.js.map → index.cjs368.js.map} +1 -1
  207. package/dist/index.cjs37.js +1 -1
  208. package/dist/index.cjs378.js +1 -1
  209. package/dist/index.cjs378.js.map +1 -1
  210. package/dist/index.cjs379.js +2 -0
  211. package/dist/index.cjs379.js.map +1 -0
  212. package/dist/index.cjs38.js +1 -1
  213. package/dist/index.cjs384.js +1 -1
  214. package/dist/index.cjs385.js +1 -1
  215. package/dist/index.cjs386.js +1 -1
  216. package/dist/index.cjs386.js.map +1 -1
  217. package/dist/index.cjs387.js +2 -1
  218. package/dist/index.cjs387.js.map +1 -1
  219. package/dist/index.cjs388.js +27 -1
  220. package/dist/index.cjs388.js.map +1 -1
  221. package/dist/index.cjs389.js +1 -1
  222. package/dist/index.cjs389.js.map +1 -1
  223. package/dist/index.cjs39.js +1 -1
  224. package/dist/index.cjs390.js +1 -1
  225. package/dist/index.cjs390.js.map +1 -1
  226. package/dist/index.cjs391.js +1 -1
  227. package/dist/index.cjs391.js.map +1 -1
  228. package/dist/index.cjs392.js +1 -1
  229. package/dist/index.cjs392.js.map +1 -1
  230. package/dist/index.cjs393.js +2 -0
  231. package/dist/index.cjs393.js.map +1 -0
  232. package/dist/index.cjs394.js +1 -1
  233. package/dist/index.cjs394.js.map +1 -1
  234. package/dist/index.cjs395.js +2 -0
  235. package/dist/index.cjs395.js.map +1 -0
  236. package/dist/index.cjs396.js +2 -0
  237. package/dist/index.cjs396.js.map +1 -0
  238. package/dist/index.cjs397.js +1 -1
  239. package/dist/index.cjs397.js.map +1 -1
  240. package/dist/index.cjs399.js +1 -1
  241. package/dist/index.cjs399.js.map +1 -1
  242. package/dist/index.cjs40.js +1 -1
  243. package/dist/index.cjs402.js +1 -1
  244. package/dist/index.cjs402.js.map +1 -1
  245. package/dist/index.cjs403.js +1 -1
  246. package/dist/index.cjs403.js.map +1 -1
  247. package/dist/index.cjs404.js +1 -1
  248. package/dist/index.cjs404.js.map +1 -1
  249. package/dist/index.cjs405.js +1 -1
  250. package/dist/index.cjs405.js.map +1 -1
  251. package/dist/index.cjs406.js +1 -1
  252. package/dist/index.cjs406.js.map +1 -1
  253. package/dist/index.cjs407.js +1 -1
  254. package/dist/index.cjs407.js.map +1 -1
  255. package/dist/index.cjs408.js +1 -1
  256. package/dist/index.cjs408.js.map +1 -1
  257. package/dist/index.cjs409.js +1 -1
  258. package/dist/index.cjs409.js.map +1 -1
  259. package/dist/index.cjs41.js +1 -1
  260. package/dist/index.cjs410.js +2 -0
  261. package/dist/index.cjs410.js.map +1 -0
  262. package/dist/index.cjs411.js +2 -0
  263. package/dist/index.cjs411.js.map +1 -0
  264. package/dist/index.cjs42.js +1 -1
  265. package/dist/index.cjs420.js +2 -0
  266. package/dist/index.cjs420.js.map +1 -0
  267. package/dist/index.cjs421.js +2 -0
  268. package/dist/index.cjs421.js.map +1 -0
  269. package/dist/index.cjs422.js +2 -0
  270. package/dist/index.cjs422.js.map +1 -0
  271. package/dist/index.cjs423.js +1 -1
  272. package/dist/index.cjs423.js.map +1 -1
  273. package/dist/index.cjs424.js +1 -1
  274. package/dist/index.cjs424.js.map +1 -1
  275. package/dist/index.cjs425.js +1 -1
  276. package/dist/index.cjs425.js.map +1 -1
  277. package/dist/index.cjs426.js +1 -1
  278. package/dist/index.cjs426.js.map +1 -1
  279. package/dist/index.cjs427.js +1 -1
  280. package/dist/index.cjs427.js.map +1 -1
  281. package/dist/index.cjs428.js +1 -1
  282. package/dist/index.cjs428.js.map +1 -1
  283. package/dist/index.cjs43.js +1 -1
  284. package/dist/index.cjs436.js +1 -1
  285. package/dist/index.cjs436.js.map +1 -1
  286. package/dist/index.cjs437.js +1 -1
  287. package/dist/index.cjs437.js.map +1 -1
  288. package/dist/index.cjs438.js +1 -1
  289. package/dist/index.cjs438.js.map +1 -1
  290. package/dist/index.cjs439.js +1 -1
  291. package/dist/index.cjs439.js.map +1 -1
  292. package/dist/index.cjs44.js +1 -1
  293. package/dist/index.cjs440.js +1 -1
  294. package/dist/index.cjs440.js.map +1 -1
  295. package/dist/index.cjs441.js +1 -1
  296. package/dist/index.cjs441.js.map +1 -1
  297. package/dist/index.cjs442.js +1 -4
  298. package/dist/index.cjs442.js.map +1 -1
  299. package/dist/index.cjs443.js +1 -1
  300. package/dist/index.cjs443.js.map +1 -1
  301. package/dist/index.cjs444.js +1 -1
  302. package/dist/index.cjs444.js.map +1 -1
  303. package/dist/index.cjs445.js +1 -1
  304. package/dist/index.cjs445.js.map +1 -1
  305. package/dist/index.cjs446.js +4 -1
  306. package/dist/index.cjs446.js.map +1 -1
  307. package/dist/index.cjs447.js +1 -38
  308. package/dist/index.cjs447.js.map +1 -1
  309. package/dist/index.cjs448.js +1 -1
  310. package/dist/index.cjs448.js.map +1 -1
  311. package/dist/index.cjs449.js +1 -1
  312. package/dist/index.cjs449.js.map +1 -1
  313. package/dist/index.cjs45.js +1 -1
  314. package/dist/index.cjs450.js +1 -1
  315. package/dist/index.cjs450.js.map +1 -1
  316. package/dist/index.cjs451.js +1 -1
  317. package/dist/index.cjs452.js +38 -1
  318. package/dist/index.cjs452.js.map +1 -1
  319. package/dist/index.cjs453.js +1 -1
  320. package/dist/index.cjs453.js.map +1 -1
  321. package/dist/index.cjs454.js +1 -1
  322. package/dist/index.cjs454.js.map +1 -1
  323. package/dist/index.cjs455.js +1 -1
  324. package/dist/index.cjs455.js.map +1 -1
  325. package/dist/index.cjs456.js +1 -1
  326. package/dist/index.cjs456.js.map +1 -1
  327. package/dist/index.cjs457.js +1 -1
  328. package/dist/index.cjs457.js.map +1 -1
  329. package/dist/index.cjs458.js +2 -0
  330. package/dist/index.cjs458.js.map +1 -0
  331. package/dist/index.cjs459.js +2 -0
  332. package/dist/index.cjs459.js.map +1 -0
  333. package/dist/index.cjs46.js +1 -1
  334. package/dist/index.cjs460.js +1 -1
  335. package/dist/index.cjs460.js.map +1 -1
  336. package/dist/index.cjs461.js +1 -1
  337. package/dist/index.cjs461.js.map +1 -1
  338. package/dist/index.cjs464.js +1 -1
  339. package/dist/index.cjs464.js.map +1 -1
  340. package/dist/index.cjs465.js +1 -1
  341. package/dist/index.cjs465.js.map +1 -1
  342. package/dist/index.cjs466.js +1 -1
  343. package/dist/index.cjs466.js.map +1 -1
  344. package/dist/index.cjs467.js +1 -1
  345. package/dist/index.cjs467.js.map +1 -1
  346. package/dist/index.cjs468.js +1 -1
  347. package/dist/index.cjs468.js.map +1 -1
  348. package/dist/index.cjs469.js +1 -1
  349. package/dist/index.cjs469.js.map +1 -1
  350. package/dist/index.cjs47.js +1 -1
  351. package/dist/index.cjs470.js +1 -1
  352. package/dist/index.cjs470.js.map +1 -1
  353. package/dist/index.cjs471.js +2 -0
  354. package/dist/index.cjs471.js.map +1 -0
  355. package/dist/index.cjs472.js +2 -0
  356. package/dist/index.cjs472.js.map +1 -0
  357. package/dist/index.cjs473.js +1 -5
  358. package/dist/index.cjs473.js.map +1 -1
  359. package/dist/index.cjs474.js +1 -1
  360. package/dist/index.cjs474.js.map +1 -1
  361. package/dist/index.cjs477.js +5 -1
  362. package/dist/index.cjs477.js.map +1 -1
  363. package/dist/index.cjs478.js +1 -1
  364. package/dist/index.cjs478.js.map +1 -1
  365. package/dist/index.cjs479.js +1 -2
  366. package/dist/index.cjs479.js.map +1 -1
  367. package/dist/index.cjs48.js +1 -1
  368. package/dist/index.cjs485.js +1 -1
  369. package/dist/index.cjs485.js.map +1 -1
  370. package/dist/index.cjs486.js +1 -1
  371. package/dist/index.cjs487.js +1 -1
  372. package/dist/index.cjs487.js.map +1 -1
  373. package/dist/index.cjs488.js +1 -1
  374. package/dist/index.cjs488.js.map +1 -1
  375. package/dist/index.cjs49.js +1 -1
  376. package/dist/index.cjs491.js +1 -1
  377. package/dist/index.cjs50.js +1 -1
  378. package/dist/index.cjs51.js +1 -1
  379. package/dist/index.cjs52.js +1 -1
  380. package/dist/index.cjs53.js +1 -1
  381. package/dist/index.cjs54.js +1 -1
  382. package/dist/index.cjs55.js +1 -1
  383. package/dist/index.cjs56.js +1 -1
  384. package/dist/index.cjs57.js +1 -1
  385. package/dist/index.cjs59.js +1 -1
  386. package/dist/index.cjs6.js +1 -1
  387. package/dist/index.cjs60.js +1 -1
  388. package/dist/index.cjs61.js +1 -1
  389. package/dist/index.cjs62.js +1 -1
  390. package/dist/index.cjs64.js +1 -1
  391. package/dist/index.cjs66.js +1 -1
  392. package/dist/index.cjs67.js +1 -1
  393. package/dist/index.cjs68.js +1 -1
  394. package/dist/index.cjs7.js +1 -1
  395. package/dist/index.cjs70.js +1 -1
  396. package/dist/index.cjs71.js +1 -1
  397. package/dist/index.cjs72.js +1 -1
  398. package/dist/index.cjs73.js +1 -1
  399. package/dist/index.cjs8.js +1 -1
  400. package/dist/index.cjs9.js +1 -1
  401. package/dist/index.cjs90.js +1 -1
  402. package/dist/index.cjs91.js +1 -1
  403. package/dist/index.cjs92.js +1 -1
  404. package/dist/index.cjs94.js +1 -1
  405. package/dist/index.cjs96.js +1 -1
  406. package/dist/index.cjs97.js +1 -1
  407. package/dist/index.d.ts +7 -7
  408. package/dist/index.es.js +2 -2
  409. package/dist/index.es10.js +4 -4
  410. package/dist/index.es100.js +1 -1
  411. package/dist/index.es101.js +1 -1
  412. package/dist/index.es102.js +3 -3
  413. package/dist/index.es103.js +1 -1
  414. package/dist/index.es104.js +1 -1
  415. package/dist/index.es105.js +1 -1
  416. package/dist/index.es106.js +1 -1
  417. package/dist/index.es108.js +2 -2
  418. package/dist/index.es109.js +1 -1
  419. package/dist/index.es11.js +1 -1
  420. package/dist/index.es111.js +1 -1
  421. package/dist/index.es113.js +3 -3
  422. package/dist/index.es114.js +1 -1
  423. package/dist/index.es116.js +3 -3
  424. package/dist/index.es117.js +1 -1
  425. package/dist/index.es118.js +3 -3
  426. package/dist/index.es119.js +3 -3
  427. package/dist/index.es119.js.map +1 -1
  428. package/dist/index.es12.js +2 -2
  429. package/dist/index.es121.js +2 -2
  430. package/dist/index.es122.js +1 -1
  431. package/dist/index.es123.js +1 -1
  432. package/dist/index.es124.js +2 -2
  433. package/dist/index.es125.js +1 -1
  434. package/dist/index.es128.js +2 -2
  435. package/dist/index.es13.js +1 -1
  436. package/dist/index.es130.js +1 -1
  437. package/dist/index.es132.js +2 -2
  438. package/dist/index.es133.js +2 -2
  439. package/dist/index.es134.js +2 -2
  440. package/dist/index.es135.js +2 -2
  441. package/dist/index.es136.js +2 -2
  442. package/dist/index.es137.js +2 -2
  443. package/dist/index.es138.js +2 -2
  444. package/dist/index.es139.js +2 -2
  445. package/dist/index.es14.js +1 -1
  446. package/dist/index.es140.js +2 -2
  447. package/dist/index.es141.js +2 -2
  448. package/dist/index.es142.js +2 -2
  449. package/dist/index.es143.js +2 -2
  450. package/dist/index.es144.js +2 -2
  451. package/dist/index.es145.js +2 -2
  452. package/dist/index.es146.js +2 -2
  453. package/dist/index.es147.js +2 -2
  454. package/dist/index.es148.js +2 -2
  455. package/dist/index.es149.js +2 -2
  456. package/dist/index.es15.js +2 -2
  457. package/dist/index.es150.js +2 -2
  458. package/dist/index.es151.js +2 -2
  459. package/dist/index.es152.js +2 -2
  460. package/dist/index.es153.js +2 -2
  461. package/dist/index.es154.js +2 -2
  462. package/dist/index.es155.js +1 -1
  463. package/dist/index.es156.js +1 -1
  464. package/dist/index.es157.js +1 -1
  465. package/dist/index.es158.js +2 -2
  466. package/dist/index.es159.js +2 -2
  467. package/dist/index.es16.js +2 -2
  468. package/dist/index.es160.js +2 -2
  469. package/dist/index.es162.js +2 -2
  470. package/dist/index.es163.js +2 -2
  471. package/dist/index.es164.js +2 -2
  472. package/dist/index.es165.js +2 -2
  473. package/dist/index.es166.js +2 -2
  474. package/dist/index.es167.js +2 -2
  475. package/dist/index.es168.js +2 -2
  476. package/dist/index.es169.js +2 -2
  477. package/dist/index.es17.js +1 -1
  478. package/dist/index.es170.js +2 -2
  479. package/dist/index.es172.js +2 -2
  480. package/dist/index.es173.js +2 -2
  481. package/dist/index.es174.js +2 -2
  482. package/dist/index.es175.js +2 -2
  483. package/dist/index.es176.js +2 -2
  484. package/dist/index.es177.js +2 -2
  485. package/dist/index.es178.js +2 -2
  486. package/dist/index.es18.js +2 -2
  487. package/dist/index.es180.js +2 -2
  488. package/dist/index.es181.js +2 -2
  489. package/dist/index.es182.js +2 -2
  490. package/dist/index.es183.js +2 -2
  491. package/dist/index.es184.js +2 -2
  492. package/dist/index.es185.js +2 -2
  493. package/dist/index.es186.js +2 -2
  494. package/dist/index.es187.js +2 -2
  495. package/dist/index.es19.js +2 -2
  496. package/dist/index.es193.js +2 -2
  497. package/dist/index.es20.js +1 -1
  498. package/dist/index.es21.js +2 -2
  499. package/dist/index.es216.js +15 -27
  500. package/dist/index.es216.js.map +1 -1
  501. package/dist/index.es218.js +3 -2
  502. package/dist/index.es218.js.map +1 -1
  503. package/dist/index.es22.js +3 -3
  504. package/dist/index.es225.js +8 -0
  505. package/dist/index.es225.js.map +1 -0
  506. package/dist/index.es226.js +59 -22
  507. package/dist/index.es226.js.map +1 -1
  508. package/dist/index.es229.js +30 -0
  509. package/dist/index.es229.js.map +1 -0
  510. package/dist/index.es23.js +2 -2
  511. package/dist/index.es231.js +5 -0
  512. package/dist/index.es231.js.map +1 -0
  513. package/dist/{index.es219.js → index.es232.js} +1 -1
  514. package/dist/{index.es219.js.map → index.es232.js.map} +1 -1
  515. package/dist/{index.es222.js → index.es235.js} +1 -1
  516. package/dist/{index.es222.js.map → index.es235.js.map} +1 -1
  517. package/dist/index.es239.js +25 -0
  518. package/dist/index.es239.js.map +1 -0
  519. package/dist/index.es24.js +2 -2
  520. package/dist/{index.es230.js → index.es243.js} +2 -2
  521. package/dist/{index.es230.js.map → index.es243.js.map} +1 -1
  522. package/dist/{index.es233.js → index.es246.js} +8 -8
  523. package/dist/{index.es233.js.map → index.es246.js.map} +1 -1
  524. package/dist/{index.es236.js → index.es249.js} +3 -3
  525. package/dist/{index.es236.js.map → index.es249.js.map} +1 -1
  526. package/dist/index.es25.js +2 -2
  527. package/dist/{index.es237.js → index.es250.js} +3 -3
  528. package/dist/{index.es237.js.map → index.es250.js.map} +1 -1
  529. package/dist/{index.es238.js → index.es251.js} +4 -4
  530. package/dist/{index.es238.js.map → index.es251.js.map} +1 -1
  531. package/dist/{index.es244.js → index.es257.js} +9 -9
  532. package/dist/{index.es244.js.map → index.es257.js.map} +1 -1
  533. package/dist/index.es258.js +20 -51
  534. package/dist/index.es258.js.map +1 -1
  535. package/dist/index.es26.js +1 -1
  536. package/dist/index.es261.js +3 -49
  537. package/dist/index.es261.js.map +1 -1
  538. package/dist/index.es266.js +4 -27
  539. package/dist/index.es266.js.map +1 -1
  540. package/dist/index.es267.js +20 -4
  541. package/dist/index.es267.js.map +1 -1
  542. package/dist/index.es268.js +6 -8
  543. package/dist/index.es268.js.map +1 -1
  544. package/dist/{index.es256.js → index.es269.js} +1 -1
  545. package/dist/{index.es256.js.map → index.es269.js.map} +1 -1
  546. package/dist/index.es271.js +51 -8
  547. package/dist/index.es271.js.map +1 -1
  548. package/dist/{index.es260.js → index.es273.js} +15 -15
  549. package/dist/{index.es260.js.map → index.es273.js.map} +1 -1
  550. package/dist/index.es274.js +52 -0
  551. package/dist/index.es274.js.map +1 -0
  552. package/dist/{index.es262.js → index.es275.js} +1 -1
  553. package/dist/{index.es262.js.map → index.es275.js.map} +1 -1
  554. package/dist/{index.es263.js → index.es276.js} +1 -1
  555. package/dist/{index.es263.js.map → index.es276.js.map} +1 -1
  556. package/dist/index.es277.js +28 -8
  557. package/dist/index.es277.js.map +1 -1
  558. package/dist/index.es279.js +27 -6
  559. package/dist/index.es279.js.map +1 -1
  560. package/dist/index.es28.js +2 -2
  561. package/dist/{index.es272.js → index.es280.js} +2 -2
  562. package/dist/index.es280.js.map +1 -0
  563. package/dist/index.es281.js +8 -27
  564. package/dist/index.es281.js.map +1 -1
  565. package/dist/index.es284.js +11 -0
  566. package/dist/index.es284.js.map +1 -0
  567. package/dist/index.es285.js +4 -27
  568. package/dist/index.es285.js.map +1 -1
  569. package/dist/index.es29.js +1 -1
  570. package/dist/index.es290.js +11 -0
  571. package/dist/index.es290.js.map +1 -0
  572. package/dist/{index.es278.js → index.es291.js} +2 -2
  573. package/dist/{index.es278.js.map → index.es291.js.map} +1 -1
  574. package/dist/index.es292.js +9 -0
  575. package/dist/index.es292.js.map +1 -0
  576. package/dist/index.es294.js +30 -0
  577. package/dist/index.es294.js.map +1 -0
  578. package/dist/{index.es282.js → index.es295.js} +2 -2
  579. package/dist/{index.es282.js.map → index.es295.js.map} +1 -1
  580. package/dist/{index.es283.js → index.es296.js} +1 -1
  581. package/dist/{index.es283.js.map → index.es296.js.map} +1 -1
  582. package/dist/index.es298.js +29 -1
  583. package/dist/index.es298.js.map +1 -1
  584. package/dist/{index.es286.js → index.es299.js} +3 -3
  585. package/dist/{index.es286.js.map → index.es299.js.map} +1 -1
  586. package/dist/index.es30.js +3 -3
  587. package/dist/{index.es287.js → index.es300.js} +8 -8
  588. package/dist/{index.es287.js.map → index.es300.js.map} +1 -1
  589. package/dist/index.es31.js +1 -1
  590. package/dist/index.es310.js +2 -0
  591. package/dist/index.es310.js.map +1 -0
  592. package/dist/index.es32.js +1 -1
  593. package/dist/index.es33.js +1 -1
  594. package/dist/{index.es327.js → index.es339.js} +6 -6
  595. package/dist/{index.es327.js.map → index.es339.js.map} +1 -1
  596. package/dist/index.es34.js +5 -5
  597. package/dist/{index.es335.js → index.es347.js} +2 -2
  598. package/dist/{index.es335.js.map → index.es347.js.map} +1 -1
  599. package/dist/index.es35.js +1 -1
  600. package/dist/index.es352.js +15 -50
  601. package/dist/index.es352.js.map +1 -1
  602. package/dist/{index.es346.js → index.es358.js} +3 -3
  603. package/dist/{index.es346.js.map → index.es358.js.map} +1 -1
  604. package/dist/{index.es348.js → index.es360.js} +2 -2
  605. package/dist/{index.es348.js.map → index.es360.js.map} +1 -1
  606. package/dist/index.es364.js +53 -0
  607. package/dist/index.es364.js.map +1 -0
  608. package/dist/index.es366.js +240 -6
  609. package/dist/index.es366.js.map +1 -1
  610. package/dist/index.es367.js +125 -8
  611. package/dist/index.es367.js.map +1 -1
  612. package/dist/{index.es356.js → index.es368.js} +3 -3
  613. package/dist/{index.es356.js.map → index.es368.js.map} +1 -1
  614. package/dist/index.es37.js +1 -1
  615. package/dist/index.es378.js +6 -5
  616. package/dist/index.es378.js.map +1 -1
  617. package/dist/index.es379.js +11 -0
  618. package/dist/index.es379.js.map +1 -0
  619. package/dist/index.es38.js +5 -5
  620. package/dist/index.es384.js +1 -1
  621. package/dist/index.es385.js +1 -1
  622. package/dist/index.es386.js +5 -6
  623. package/dist/index.es386.js.map +1 -1
  624. package/dist/index.es387.js +518 -24
  625. package/dist/index.es387.js.map +1 -1
  626. package/dist/index.es388.js +3673 -66
  627. package/dist/index.es388.js.map +1 -1
  628. package/dist/index.es389.js +5 -29
  629. package/dist/index.es389.js.map +1 -1
  630. package/dist/index.es39.js +4 -4
  631. package/dist/index.es390.js +2 -33
  632. package/dist/index.es390.js.map +1 -1
  633. package/dist/index.es391.js +6 -621
  634. package/dist/index.es391.js.map +1 -1
  635. package/dist/index.es392.js +26 -10
  636. package/dist/index.es392.js.map +1 -1
  637. package/dist/index.es393.js +71 -0
  638. package/dist/index.es393.js.map +1 -0
  639. package/dist/index.es394.js +30 -15
  640. package/dist/index.es394.js.map +1 -1
  641. package/dist/index.es395.js +36 -0
  642. package/dist/index.es395.js.map +1 -0
  643. package/dist/index.es396.js +625 -0
  644. package/dist/index.es396.js.map +1 -0
  645. package/dist/index.es397.js +10 -5
  646. package/dist/index.es397.js.map +1 -1
  647. package/dist/index.es399.js +14 -68
  648. package/dist/index.es399.js.map +1 -1
  649. package/dist/index.es40.js +3 -3
  650. package/dist/index.es402.js +5 -14
  651. package/dist/index.es402.js.map +1 -1
  652. package/dist/index.es403.js +23 -123
  653. package/dist/index.es403.js.map +1 -1
  654. package/dist/index.es404.js +60 -126
  655. package/dist/index.es404.js.map +1 -1
  656. package/dist/index.es405.js +124 -13
  657. package/dist/index.es405.js.map +1 -1
  658. package/dist/index.es406.js +134 -14
  659. package/dist/index.es406.js.map +1 -1
  660. package/dist/index.es407.js +12 -7
  661. package/dist/index.es407.js.map +1 -1
  662. package/dist/index.es408.js +15 -50
  663. package/dist/index.es408.js.map +1 -1
  664. package/dist/index.es409.js +9 -53
  665. package/dist/index.es409.js.map +1 -1
  666. package/dist/index.es41.js +2 -2
  667. package/dist/index.es410.js +53 -0
  668. package/dist/index.es410.js.map +1 -0
  669. package/dist/index.es411.js +56 -0
  670. package/dist/index.es411.js.map +1 -0
  671. package/dist/index.es42.js +2 -2
  672. package/dist/index.es420.js +5 -0
  673. package/dist/index.es420.js.map +1 -0
  674. package/dist/index.es421.js +5 -0
  675. package/dist/index.es421.js.map +1 -0
  676. package/dist/index.es422.js +14 -0
  677. package/dist/index.es422.js.map +1 -0
  678. package/dist/index.es423.js +46 -2
  679. package/dist/index.es423.js.map +1 -1
  680. package/dist/index.es424.js +8 -2
  681. package/dist/index.es424.js.map +1 -1
  682. package/dist/index.es425.js +217 -10
  683. package/dist/index.es425.js.map +1 -1
  684. package/dist/index.es426.js +173 -41
  685. package/dist/index.es426.js.map +1 -1
  686. package/dist/index.es427.js +3 -7
  687. package/dist/index.es427.js.map +1 -1
  688. package/dist/index.es428.js +14 -217
  689. package/dist/index.es428.js.map +1 -1
  690. package/dist/index.es43.js +2 -2
  691. package/dist/index.es436.js +11 -24
  692. package/dist/index.es436.js.map +1 -1
  693. package/dist/index.es437.js +204 -28
  694. package/dist/index.es437.js.map +1 -1
  695. package/dist/index.es438.js +22 -5
  696. package/dist/index.es438.js.map +1 -1
  697. package/dist/index.es439.js +393 -5
  698. package/dist/index.es439.js.map +1 -1
  699. package/dist/index.es44.js +4 -4
  700. package/dist/index.es440.js +25 -3
  701. package/dist/index.es440.js.map +1 -1
  702. package/dist/index.es441.js +29 -24
  703. package/dist/index.es441.js.map +1 -1
  704. package/dist/index.es442.js +5 -110
  705. package/dist/index.es442.js.map +1 -1
  706. package/dist/index.es443.js +5 -16
  707. package/dist/index.es443.js.map +1 -1
  708. package/dist/index.es444.js +3 -523
  709. package/dist/index.es444.js.map +1 -1
  710. package/dist/index.es445.js +23 -126
  711. package/dist/index.es445.js.map +1 -1
  712. package/dist/index.es446.js +105 -124
  713. package/dist/index.es446.js.map +1 -1
  714. package/dist/index.es447.js +15 -68
  715. package/dist/index.es447.js.map +1 -1
  716. package/dist/index.es448.js +521 -7
  717. package/dist/index.es448.js.map +1 -1
  718. package/dist/index.es449.js +126 -13
  719. package/dist/index.es449.js.map +1 -1
  720. package/dist/index.es45.js +4 -4
  721. package/dist/index.es450.js +127 -60
  722. package/dist/index.es450.js.map +1 -1
  723. package/dist/index.es451.js +1 -1
  724. package/dist/index.es452.js +69 -4
  725. package/dist/index.es452.js.map +1 -1
  726. package/dist/index.es453.js +9 -23
  727. package/dist/index.es453.js.map +1 -1
  728. package/dist/index.es454.js +14 -13
  729. package/dist/index.es454.js.map +1 -1
  730. package/dist/index.es455.js +60 -26
  731. package/dist/index.es455.js.map +1 -1
  732. package/dist/index.es456.js +4 -5
  733. package/dist/index.es456.js.map +1 -1
  734. package/dist/index.es457.js +23 -23
  735. package/dist/index.es457.js.map +1 -1
  736. package/dist/index.es458.js +26 -0
  737. package/dist/index.es458.js.map +1 -0
  738. package/dist/index.es459.js +16 -0
  739. package/dist/index.es459.js.map +1 -0
  740. package/dist/index.es46.js +1 -1
  741. package/dist/index.es460.js +28 -5
  742. package/dist/index.es460.js.map +1 -1
  743. package/dist/index.es461.js +5 -4
  744. package/dist/index.es461.js.map +1 -1
  745. package/dist/index.es464.js +5 -56
  746. package/dist/index.es464.js.map +1 -1
  747. package/dist/index.es465.js +4 -8
  748. package/dist/index.es465.js.map +1 -1
  749. package/dist/index.es466.js +4 -5
  750. package/dist/index.es466.js.map +1 -1
  751. package/dist/index.es467.js +9 -532
  752. package/dist/index.es467.js.map +1 -1
  753. package/dist/index.es468.js +44 -2020
  754. package/dist/index.es468.js.map +1 -1
  755. package/dist/index.es469.js +7 -59
  756. package/dist/index.es469.js.map +1 -1
  757. package/dist/index.es47.js +2 -2
  758. package/dist/index.es470.js +5 -188
  759. package/dist/index.es470.js.map +1 -1
  760. package/dist/index.es471.js +536 -0
  761. package/dist/index.es471.js.map +1 -0
  762. package/dist/index.es472.js +2035 -0
  763. package/dist/index.es472.js.map +1 -0
  764. package/dist/index.es473.js +59 -39
  765. package/dist/index.es473.js.map +1 -1
  766. package/dist/index.es474.js +189 -2
  767. package/dist/index.es474.js.map +1 -1
  768. package/dist/index.es477.js +40 -2
  769. package/dist/index.es477.js.map +1 -1
  770. package/dist/index.es478.js +2 -6
  771. package/dist/index.es478.js.map +1 -1
  772. package/dist/index.es479.js +2 -521
  773. package/dist/index.es479.js.map +1 -1
  774. package/dist/index.es48.js +1 -1
  775. package/dist/index.es485.js +131 -8
  776. package/dist/index.es485.js.map +1 -1
  777. package/dist/index.es486.js +1 -1
  778. package/dist/index.es487.js +9 -3
  779. package/dist/index.es487.js.map +1 -1
  780. package/dist/index.es488.js +2 -131
  781. package/dist/index.es488.js.map +1 -1
  782. package/dist/index.es49.js +3 -3
  783. package/dist/index.es491.js +1 -1
  784. package/dist/index.es50.js +1 -1
  785. package/dist/index.es51.js +1 -1
  786. package/dist/index.es52.js +1 -1
  787. package/dist/index.es53.js +2 -2
  788. package/dist/index.es54.js +1 -1
  789. package/dist/index.es55.js +1 -1
  790. package/dist/index.es56.js +1 -1
  791. package/dist/index.es57.js +2 -2
  792. package/dist/index.es59.js +1 -1
  793. package/dist/index.es6.js +2 -2
  794. package/dist/index.es60.js +2 -2
  795. package/dist/index.es61.js +1 -1
  796. package/dist/index.es62.js +3 -3
  797. package/dist/index.es64.js +1 -1
  798. package/dist/index.es66.js +1 -1
  799. package/dist/index.es67.js +1 -1
  800. package/dist/index.es68.js +1 -1
  801. package/dist/index.es7.js +2 -2
  802. package/dist/index.es70.js +1 -1
  803. package/dist/index.es71.js +1 -1
  804. package/dist/index.es72.js +1 -1
  805. package/dist/index.es73.js +1 -1
  806. package/dist/index.es8.js +2 -2
  807. package/dist/index.es9.js +4 -4
  808. package/dist/index.es90.js +1 -1
  809. package/dist/index.es91.js +1 -1
  810. package/dist/index.es92.js +1 -1
  811. package/dist/index.es94.js +1 -1
  812. package/dist/index.es96.js +2 -2
  813. package/dist/index.es97.js +1 -1
  814. package/package.json +1 -1
  815. package/dist/index.cjs215.js +0 -2
  816. package/dist/index.cjs215.js.map +0 -1
  817. package/dist/index.cjs245.js +0 -2
  818. package/dist/index.cjs245.js.map +0 -1
  819. package/dist/index.cjs248.js +0 -2
  820. package/dist/index.cjs248.js.map +0 -1
  821. package/dist/index.cjs253.js +0 -2
  822. package/dist/index.cjs253.js.map +0 -1
  823. package/dist/index.cjs254.js +0 -2
  824. package/dist/index.cjs254.js.map +0 -1
  825. package/dist/index.cjs255.js +0 -2
  826. package/dist/index.cjs255.js.map +0 -1
  827. package/dist/index.cjs264.js +0 -2
  828. package/dist/index.cjs264.js.map +0 -1
  829. package/dist/index.cjs272.js.map +0 -1
  830. package/dist/index.cjs289.js +0 -7
  831. package/dist/index.cjs289.js.map +0 -1
  832. package/dist/index.cjs340.js +0 -2
  833. package/dist/index.cjs340.js.map +0 -1
  834. package/dist/index.cjs354.js +0 -2
  835. package/dist/index.cjs354.js.map +0 -1
  836. package/dist/index.cjs355.js +0 -2
  837. package/dist/index.cjs355.js.map +0 -1
  838. package/dist/index.cjs371.js +0 -2
  839. package/dist/index.cjs371.js.map +0 -1
  840. package/dist/index.cjs398.js +0 -2
  841. package/dist/index.cjs398.js.map +0 -1
  842. package/dist/index.cjs429.js +0 -2
  843. package/dist/index.cjs429.js.map +0 -1
  844. package/dist/index.cjs430.js +0 -2
  845. package/dist/index.cjs430.js.map +0 -1
  846. package/dist/index.cjs431.js +0 -2
  847. package/dist/index.cjs431.js.map +0 -1
  848. package/dist/index.cjs432.js +0 -2
  849. package/dist/index.cjs432.js.map +0 -1
  850. package/dist/index.cjs433.js +0 -2
  851. package/dist/index.cjs433.js.map +0 -1
  852. package/dist/index.cjs434.js +0 -2
  853. package/dist/index.cjs434.js.map +0 -1
  854. package/dist/index.cjs435.js +0 -2
  855. package/dist/index.cjs435.js.map +0 -1
  856. package/dist/index.cjs462.js +0 -2
  857. package/dist/index.cjs462.js.map +0 -1
  858. package/dist/index.cjs463.js +0 -2
  859. package/dist/index.cjs463.js.map +0 -1
  860. package/dist/index.cjs475.js +0 -2
  861. package/dist/index.cjs475.js.map +0 -1
  862. package/dist/index.cjs476.js +0 -28
  863. package/dist/index.cjs476.js.map +0 -1
  864. package/dist/index.es215.js +0 -18
  865. package/dist/index.es215.js.map +0 -1
  866. package/dist/index.es245.js +0 -23
  867. package/dist/index.es245.js.map +0 -1
  868. package/dist/index.es248.js +0 -6
  869. package/dist/index.es248.js.map +0 -1
  870. package/dist/index.es253.js +0 -7
  871. package/dist/index.es253.js.map +0 -1
  872. package/dist/index.es254.js +0 -23
  873. package/dist/index.es254.js.map +0 -1
  874. package/dist/index.es255.js +0 -9
  875. package/dist/index.es255.js.map +0 -1
  876. package/dist/index.es264.js +0 -31
  877. package/dist/index.es264.js.map +0 -1
  878. package/dist/index.es272.js.map +0 -1
  879. package/dist/index.es289.js +0 -62
  880. package/dist/index.es289.js.map +0 -1
  881. package/dist/index.es340.js +0 -18
  882. package/dist/index.es340.js.map +0 -1
  883. package/dist/index.es354.js +0 -243
  884. package/dist/index.es354.js.map +0 -1
  885. package/dist/index.es355.js +0 -128
  886. package/dist/index.es355.js.map +0 -1
  887. package/dist/index.es371.js +0 -6
  888. package/dist/index.es371.js.map +0 -1
  889. package/dist/index.es398.js +0 -28
  890. package/dist/index.es398.js.map +0 -1
  891. package/dist/index.es429.js +0 -181
  892. package/dist/index.es429.js.map +0 -1
  893. package/dist/index.es430.js +0 -7
  894. package/dist/index.es430.js.map +0 -1
  895. package/dist/index.es431.js +0 -15
  896. package/dist/index.es431.js.map +0 -1
  897. package/dist/index.es432.js +0 -208
  898. package/dist/index.es432.js.map +0 -1
  899. package/dist/index.es433.js +0 -25
  900. package/dist/index.es433.js.map +0 -1
  901. package/dist/index.es434.js +0 -396
  902. package/dist/index.es434.js.map +0 -1
  903. package/dist/index.es435.js +0 -9
  904. package/dist/index.es435.js.map +0 -1
  905. package/dist/index.es462.js +0 -8
  906. package/dist/index.es462.js.map +0 -1
  907. package/dist/index.es463.js +0 -13
  908. package/dist/index.es463.js.map +0 -1
  909. package/dist/index.es475.js +0 -5
  910. package/dist/index.es475.js.map +0 -1
  911. package/dist/index.es476.js +0 -3678
  912. package/dist/index.es476.js.map +0 -1
  913. /package/dist/components/ui/{InfoCard/InfoCard.css → InfoSectionCard/InfoSectionCard.css} +0 -0
@@ -1,221 +1,18 @@
1
- import * as s from "react";
2
- import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es432.js";
3
- import { Root as Oe } from "./index.es433.js";
4
- import { useComposedRefs as T } from "./index.es387.js";
5
- import { createContextScope as Re } from "./index.es388.js";
6
- import { Primitive as z } from "./index.es390.js";
7
- import { useCallbackRef as Ee } from "./index.es425.js";
8
- import { useLayoutEffect as B } from "./index.es430.js";
9
- import { useSize as Ne } from "./index.es398.js";
10
- import { j as f } from "./index.es214.js";
11
- import { autoUpdate as _e } from "./index.es434.js";
12
- var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
- const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
- return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
15
- };
16
- U.displayName = N;
17
- var q = "PopperAnchor", G = s.forwardRef(
18
- (e, i) => {
19
- const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
20
- return s.useEffect(() => {
21
- r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
22
- }), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
23
- }
24
- );
25
- G.displayName = q;
26
- var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
27
- (e, i) => {
28
- var I, Y, M, X, D, F;
29
- const {
30
- __scopePopper: n,
31
- side: t = "bottom",
32
- sideOffset: a = 0,
33
- align: r = "center",
34
- alignOffset: o = 0,
35
- arrowPadding: w = 0,
36
- avoidCollisions: p = !0,
37
- collisionBoundary: c = [],
38
- collisionPadding: x = 0,
39
- sticky: m = "partial",
40
- hideWhenDetached: y = !1,
41
- updatePositionStrategy: A = "optimized",
42
- onPlaced: l,
43
- ...d
44
- } = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
45
- padding: ne,
46
- boundary: j.filter(Ie),
47
- // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
48
- altBoundary: ae
49
- }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
50
- // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
51
- strategy: "fixed",
52
- placement: oe,
53
- whileElementsMounted: (...P) => _e(...P, {
54
- animationFrame: A === "always"
55
- }),
56
- elements: {
57
- reference: v.anchor
58
- },
59
- middleware: [
60
- Pe({ mainAxis: a + $, alignmentAxis: o }),
61
- p && ye({
62
- mainAxis: !0,
63
- crossAxis: !1,
64
- limiter: m === "partial" ? Se() : void 0,
65
- ...b
66
- }),
67
- p && Ae({ ...b }),
68
- ve({
69
- ...b,
70
- apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ge }) => {
71
- const { width: ue, height: we } = k.reference, R = P.floating.style;
72
- R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
73
- }
74
- }),
75
- E && Ce({ element: E, padding: w }),
76
- Ye({ arrowWidth: re, arrowHeight: $ }),
77
- y && be({ strategy: "referenceHidden", ...b })
78
- ]
79
- }), [W, pe] = V(se), O = Ee(l);
80
- B(() => {
81
- S && (O == null || O());
82
- }, [S, O]);
83
- const ce = (I = u.arrow) == null ? void 0 : I.x, de = (Y = u.arrow) == null ? void 0 : Y.y, le = ((M = u.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
84
- return B(() => {
85
- h && me(window.getComputedStyle(h).zIndex);
86
- }, [h]), /* @__PURE__ */ f.jsx(
87
- "div",
88
- {
89
- ref: ie.setFloating,
90
- "data-radix-popper-content-wrapper": "",
91
- style: {
92
- ...H,
93
- transform: S ? H.transform : "translate(0, -200%)",
94
- // keep off the page when measuring
95
- minWidth: "max-content",
96
- zIndex: fe,
97
- "--radix-popper-transform-origin": [
98
- (X = u.transformOrigin) == null ? void 0 : X.x,
99
- (D = u.transformOrigin) == null ? void 0 : D.y
100
- ].join(" "),
101
- // hide the content if using the hide middleware and should be hidden
102
- // set visibility to hidden and disable pointer events so the UI behaves
103
- // as if the PopperContent isn't there at all
104
- ...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
105
- visibility: "hidden",
106
- pointerEvents: "none"
107
- }
108
- },
109
- dir: e.dir,
110
- children: /* @__PURE__ */ f.jsx(
111
- je,
112
- {
113
- scope: n,
114
- placedSide: W,
115
- onArrowChange: te,
116
- arrowX: ce,
117
- arrowY: de,
118
- shouldHideArrow: le,
119
- children: /* @__PURE__ */ f.jsx(
120
- z.div,
121
- {
122
- "data-side": W,
123
- "data-align": pe,
124
- ...d,
125
- ref: ee,
126
- style: {
127
- ...d.style,
128
- // if the PopperContent hasn't been placed yet (not all measurements done)
129
- // we prevent animations so that users's animation don't kick in too early referring wrong sides
130
- animation: S ? void 0 : "none"
131
- }
132
- }
133
- )
134
- }
135
- )
136
- }
137
- );
138
- }
139
- );
140
- J.displayName = _;
141
- var K = "PopperArrow", We = {
142
- top: "bottom",
143
- right: "left",
144
- bottom: "top",
145
- left: "right"
146
- }, Q = s.forwardRef(function(i, n) {
147
- const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
148
- return (
149
- // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
150
- // doesn't report size as we'd expect on SVG elements.
151
- // it reports their bounding box which is effectively the largest path inside the SVG.
152
- /* @__PURE__ */ f.jsx(
153
- "span",
154
- {
155
- ref: r.onArrowChange,
156
- style: {
157
- position: "absolute",
158
- left: r.arrowX,
159
- top: r.arrowY,
160
- [o]: 0,
161
- transformOrigin: {
162
- top: "",
163
- right: "0 0",
164
- bottom: "center 0",
165
- left: "100% 0"
166
- }[r.placedSide],
167
- transform: {
168
- top: "translateY(100%)",
169
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
170
- bottom: "rotate(180deg)",
171
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
172
- }[r.placedSide],
173
- visibility: r.shouldHideArrow ? "hidden" : void 0
174
- },
175
- children: /* @__PURE__ */ f.jsx(
176
- Oe,
177
- {
178
- ...a,
179
- ref: n,
180
- style: {
181
- ...a.style,
182
- // ensures the element can be measured correctly (mostly for if SVG)
183
- display: "block"
184
- }
185
- }
186
- )
187
- }
188
- )
189
- );
190
- });
191
- Q.displayName = K;
192
- function Ie(e) {
193
- return e !== null;
194
- }
195
- var Ye = (e) => ({
196
- name: "transformOrigin",
197
- options: e,
198
- fn(i) {
199
- var v, h, C;
200
- const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
201
- let l = "", d = "";
202
- return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
203
- }
204
- });
205
- function V(e) {
206
- const [i, n = "center"] = e.split("-");
207
- return [i, n];
1
+ import { useState as n, useCallback as i } from "react";
2
+ import "./index.es490.js";
3
+ function c() {
4
+ const [t, o] = n(null), e = i(async (r) => {
5
+ if (!(navigator != null && navigator.clipboard))
6
+ return console.warn("Clipboard not supported"), !1;
7
+ try {
8
+ return await navigator.clipboard.writeText(r), o(r), !0;
9
+ } catch (a) {
10
+ return console.warn("Copy failed", a), o(null), !1;
11
+ }
12
+ }, []);
13
+ return [t, e];
208
14
  }
209
- var qe = U, Ge = G, Je = J, Ke = Q;
210
15
  export {
211
- Ge as Anchor,
212
- Ke as Arrow,
213
- Je as Content,
214
- U as Popper,
215
- G as PopperAnchor,
216
- Q as PopperArrow,
217
- J as PopperContent,
218
- qe as Root,
219
- Ue as createPopperScope
16
+ c as useCopyToClipboard
220
17
  };
221
18
  //# sourceMappingURL=index.es428.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es428.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":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es428.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":";;AAgDA,SAASA,IAAqB;AAC5B,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,IAAI,GAC3CC,IAAOC,EAAY,OAAOC,MAAS;AACvC,QAAI,EAAE,aAAa,QAAgB,UAAU;AAC3C,qBAAQ,KAAK,yBAAyB,GAC/B;AAET,QAAI;AACF,mBAAM,UAAU,UAAU,UAAUA,CAAI,GACxCJ,EAAcI,CAAI,GACX;AAAA,IACR,SAAQC,GAAO;AACd,qBAAQ,KAAK,eAAeA,CAAK,GACjCL,EAAc,IAAI,GACX;AAAA,IACb;AAAA,EACG,GAAE,EAAE;AACL,SAAO,CAACD,GAAYG,CAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import { j as l } from "./index.es214.js";
2
2
  import { Avatar as N } from "./index.es57.js";
3
3
  import './components/ui/CardDoctorInfo/CardDoctorInfo.css';/* empty css */
4
- import { clsx as o } from "./index.es215.js";
5
- import { Divider as p } from "./index.es226.js";
4
+ import { clsx as o } from "./index.es216.js";
5
+ import { Divider as p } from "./index.es239.js";
6
6
  import n, { useState as w } from "react";
7
7
  import { CategoryHeader as C } from "./index.es52.js";
8
8
  import { Row as O } from "./index.es9.js";
@@ -1,28 +1,15 @@
1
- var p = function() {
2
- return p = Object.assign || function(e) {
3
- for (var n, r = 1, o = arguments.length; r < o; r++) {
4
- n = arguments[r];
5
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
6
- }
7
- return e;
8
- }, p.apply(this, arguments);
9
- };
10
- function c(t, e) {
11
- var n = {};
12
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
- e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
- return n;
17
- }
18
- function l(t, e, n) {
19
- if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
- (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
- return t.concat(a || Array.prototype.slice.call(e));
1
+ import * as r from "react";
2
+ import { useCallbackRef as s } from "./index.es422.js";
3
+ function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
+ const t = s(n);
5
+ r.useEffect(() => {
6
+ const o = (a) => {
7
+ a.key === "Escape" && t(a);
8
+ };
9
+ return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
+ }, [t, e]);
22
11
  }
23
12
  export {
24
- p as __assign,
25
- c as __rest,
26
- l as __spreadArray
13
+ p as useEscapeKeydown
27
14
  };
28
15
  //# sourceMappingURL=index.es436.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es436.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IACrF;AACM,WAAOJ;AAAA,EACb,GACSD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAE;AACV,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es436.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}