@anoki/fse-ui 1.0.736 → 1.0.737

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 (915) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs102.js +1 -1
  5. package/dist/index.cjs103.js +1 -1
  6. package/dist/index.cjs104.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs106.js +1 -1
  9. package/dist/index.cjs108.js +1 -1
  10. package/dist/index.cjs109.js +1 -1
  11. package/dist/index.cjs11.js +1 -1
  12. package/dist/index.cjs111.js +1 -1
  13. package/dist/index.cjs113.js +1 -1
  14. package/dist/index.cjs114.js +1 -1
  15. package/dist/index.cjs116.js +1 -1
  16. package/dist/index.cjs117.js +1 -1
  17. package/dist/index.cjs119.js +1 -1
  18. package/dist/index.cjs12.js +1 -1
  19. package/dist/index.cjs120.js +1 -1
  20. package/dist/index.cjs121.js +1 -1
  21. package/dist/index.cjs122.js +1 -1
  22. package/dist/index.cjs123.js +1 -1
  23. package/dist/index.cjs126.js +1 -1
  24. package/dist/index.cjs128.js +1 -1
  25. package/dist/index.cjs13.js +1 -1
  26. package/dist/index.cjs130.js +1 -1
  27. package/dist/index.cjs131.js +1 -1
  28. package/dist/index.cjs132.js +1 -1
  29. package/dist/index.cjs133.js +1 -1
  30. package/dist/index.cjs134.js +1 -1
  31. package/dist/index.cjs135.js +1 -1
  32. package/dist/index.cjs136.js +1 -1
  33. package/dist/index.cjs137.js +1 -1
  34. package/dist/index.cjs138.js +1 -1
  35. package/dist/index.cjs139.js +1 -1
  36. package/dist/index.cjs14.js +1 -1
  37. package/dist/index.cjs140.js +1 -1
  38. package/dist/index.cjs141.js +1 -1
  39. package/dist/index.cjs142.js +1 -1
  40. package/dist/index.cjs143.js +1 -1
  41. package/dist/index.cjs144.js +1 -1
  42. package/dist/index.cjs145.js +1 -1
  43. package/dist/index.cjs146.js +1 -1
  44. package/dist/index.cjs147.js +1 -1
  45. package/dist/index.cjs148.js +1 -1
  46. package/dist/index.cjs149.js +1 -1
  47. package/dist/index.cjs15.js +1 -1
  48. package/dist/index.cjs15.js.map +1 -1
  49. package/dist/index.cjs150.js +1 -1
  50. package/dist/index.cjs151.js +1 -1
  51. package/dist/index.cjs152.js +1 -1
  52. package/dist/index.cjs153.js +1 -1
  53. package/dist/index.cjs154.js +1 -1
  54. package/dist/index.cjs155.js +1 -1
  55. package/dist/index.cjs156.js +1 -1
  56. package/dist/index.cjs157.js +1 -1
  57. package/dist/index.cjs158.js +1 -1
  58. package/dist/index.cjs16.js +1 -1
  59. package/dist/index.cjs160.js +1 -1
  60. package/dist/index.cjs161.js +1 -1
  61. package/dist/index.cjs162.js +1 -1
  62. package/dist/index.cjs163.js +1 -1
  63. package/dist/index.cjs164.js +1 -1
  64. package/dist/index.cjs165.js +1 -1
  65. package/dist/index.cjs166.js +1 -1
  66. package/dist/index.cjs167.js +1 -1
  67. package/dist/index.cjs168.js +1 -1
  68. package/dist/index.cjs17.js +1 -1
  69. package/dist/index.cjs170.js +1 -1
  70. package/dist/index.cjs171.js +1 -1
  71. package/dist/index.cjs172.js +1 -1
  72. package/dist/index.cjs173.js +1 -1
  73. package/dist/index.cjs174.js +1 -1
  74. package/dist/index.cjs175.js +1 -1
  75. package/dist/index.cjs176.js +1 -1
  76. package/dist/index.cjs178.js +1 -1
  77. package/dist/index.cjs179.js +1 -1
  78. package/dist/index.cjs18.js +1 -1
  79. package/dist/index.cjs180.js +1 -1
  80. package/dist/index.cjs181.js +1 -1
  81. package/dist/index.cjs182.js +1 -1
  82. package/dist/index.cjs183.js +1 -1
  83. package/dist/index.cjs184.js +1 -1
  84. package/dist/index.cjs185.js +1 -1
  85. package/dist/index.cjs19.js +1 -1
  86. package/dist/index.cjs191.js +1 -1
  87. package/dist/index.cjs20.js +1 -1
  88. package/dist/index.cjs21.js +1 -1
  89. package/dist/index.cjs214.js +1 -1
  90. package/dist/index.cjs214.js.map +1 -1
  91. package/dist/index.cjs216.js +1 -1
  92. package/dist/index.cjs216.js.map +1 -1
  93. package/dist/index.cjs22.js +1 -1
  94. package/dist/index.cjs223.js +2 -0
  95. package/dist/index.cjs223.js.map +1 -0
  96. package/dist/index.cjs224.js +6 -1
  97. package/dist/index.cjs224.js.map +1 -1
  98. package/dist/index.cjs227.js +2 -0
  99. package/dist/index.cjs227.js.map +1 -0
  100. package/dist/index.cjs228.js +1 -1
  101. package/dist/index.cjs228.js.map +1 -1
  102. package/dist/index.cjs23.js +1 -1
  103. package/dist/{index.cjs217.js → index.cjs230.js} +1 -1
  104. package/dist/{index.cjs217.js.map → index.cjs230.js.map} +1 -1
  105. package/dist/{index.cjs220.js → index.cjs233.js} +1 -1
  106. package/dist/{index.cjs220.js.map → index.cjs233.js.map} +1 -1
  107. package/dist/index.cjs237.js +2 -0
  108. package/dist/index.cjs237.js.map +1 -0
  109. package/dist/index.cjs24.js +1 -1
  110. package/dist/index.cjs241.js +2 -0
  111. package/dist/index.cjs241.js.map +1 -0
  112. package/dist/{index.cjs231.js → index.cjs244.js} +2 -2
  113. package/dist/{index.cjs231.js.map → index.cjs244.js.map} +1 -1
  114. package/dist/{index.cjs234.js → index.cjs247.js} +2 -2
  115. package/dist/{index.cjs234.js.map → index.cjs247.js.map} +1 -1
  116. package/dist/{index.cjs235.js → index.cjs248.js} +2 -2
  117. package/dist/{index.cjs235.js.map → index.cjs248.js.map} +1 -1
  118. package/dist/{index.cjs236.js → index.cjs249.js} +2 -2
  119. package/dist/{index.cjs236.js.map → index.cjs249.js.map} +1 -1
  120. package/dist/index.cjs25.js +1 -1
  121. package/dist/{index.cjs242.js → index.cjs255.js} +2 -2
  122. package/dist/{index.cjs242.js.map → index.cjs255.js.map} +1 -1
  123. package/dist/index.cjs256.js +1 -1
  124. package/dist/index.cjs256.js.map +1 -1
  125. package/dist/index.cjs259.js +1 -1
  126. package/dist/index.cjs259.js.map +1 -1
  127. package/dist/index.cjs26.js +1 -1
  128. package/dist/index.cjs264.js +1 -1
  129. package/dist/index.cjs264.js.map +1 -1
  130. package/dist/index.cjs265.js +1 -1
  131. package/dist/index.cjs265.js.map +1 -1
  132. package/dist/index.cjs266.js +1 -1
  133. package/dist/index.cjs266.js.map +1 -1
  134. package/dist/{index.cjs254.js → index.cjs267.js} +1 -1
  135. package/dist/{index.cjs254.js.map → index.cjs267.js.map} +1 -1
  136. package/dist/index.cjs269.js +1 -1
  137. package/dist/index.cjs269.js.map +1 -1
  138. package/dist/{index.cjs258.js → index.cjs271.js} +2 -2
  139. package/dist/{index.cjs258.js.map → index.cjs271.js.map} +1 -1
  140. package/dist/index.cjs272.js +2 -0
  141. package/dist/index.cjs272.js.map +1 -0
  142. package/dist/{index.cjs260.js → index.cjs273.js} +1 -1
  143. package/dist/{index.cjs260.js.map → index.cjs273.js.map} +1 -1
  144. package/dist/{index.cjs261.js → index.cjs274.js} +1 -1
  145. package/dist/{index.cjs261.js.map → index.cjs274.js.map} +1 -1
  146. package/dist/index.cjs275.js +1 -1
  147. package/dist/index.cjs275.js.map +1 -1
  148. package/dist/index.cjs277.js +1 -1
  149. package/dist/index.cjs277.js.map +1 -1
  150. package/dist/index.cjs278.js +2 -0
  151. package/dist/index.cjs278.js.map +1 -0
  152. package/dist/index.cjs279.js +1 -1
  153. package/dist/index.cjs279.js.map +1 -1
  154. package/dist/index.cjs28.js +1 -1
  155. package/dist/index.cjs282.js +2 -0
  156. package/dist/index.cjs282.js.map +1 -0
  157. package/dist/index.cjs283.js +1 -1
  158. package/dist/index.cjs283.js.map +1 -1
  159. package/dist/index.cjs288.js +2 -0
  160. package/dist/index.cjs288.js.map +1 -0
  161. package/dist/{index.cjs276.js → index.cjs289.js} +2 -2
  162. package/dist/{index.cjs276.js.map → index.cjs289.js.map} +1 -1
  163. package/dist/index.cjs29.js +1 -1
  164. package/dist/{index.cjs270.js → index.cjs290.js} +2 -2
  165. package/dist/index.cjs290.js.map +1 -0
  166. package/dist/index.cjs292.js +2 -0
  167. package/dist/index.cjs292.js.map +1 -0
  168. package/dist/{index.cjs280.js → index.cjs293.js} +2 -2
  169. package/dist/{index.cjs280.js.map → index.cjs293.js.map} +1 -1
  170. package/dist/{index.cjs281.js → index.cjs294.js} +1 -1
  171. package/dist/{index.cjs281.js.map → index.cjs294.js.map} +1 -1
  172. package/dist/index.cjs296.js +1 -1
  173. package/dist/index.cjs296.js.map +1 -1
  174. package/dist/{index.cjs284.js → index.cjs297.js} +2 -2
  175. package/dist/{index.cjs284.js.map → index.cjs297.js.map} +1 -1
  176. package/dist/{index.cjs285.js → index.cjs298.js} +2 -2
  177. package/dist/{index.cjs285.js.map → index.cjs298.js.map} +1 -1
  178. package/dist/index.cjs30.js +1 -1
  179. package/dist/index.cjs308.js +2 -0
  180. package/dist/index.cjs308.js.map +1 -0
  181. package/dist/index.cjs31.js +1 -1
  182. package/dist/index.cjs32.js +1 -1
  183. package/dist/index.cjs33.js +1 -1
  184. package/dist/{index.cjs325.js → index.cjs337.js} +2 -2
  185. package/dist/{index.cjs325.js.map → index.cjs337.js.map} +1 -1
  186. package/dist/index.cjs34.js +1 -1
  187. package/dist/{index.cjs333.js → index.cjs345.js} +2 -2
  188. package/dist/{index.cjs333.js.map → index.cjs345.js.map} +1 -1
  189. package/dist/index.cjs35.js +1 -1
  190. package/dist/index.cjs350.js +1 -1
  191. package/dist/index.cjs350.js.map +1 -1
  192. package/dist/{index.cjs344.js → index.cjs356.js} +2 -2
  193. package/dist/{index.cjs344.js.map → index.cjs356.js.map} +1 -1
  194. package/dist/{index.cjs346.js → index.cjs358.js} +2 -2
  195. package/dist/{index.cjs346.js.map → index.cjs358.js.map} +1 -1
  196. package/dist/index.cjs362.js +2 -0
  197. package/dist/index.cjs362.js.map +1 -0
  198. package/dist/{index.cjs352.js → index.cjs364.js} +2 -2
  199. package/dist/{index.cjs352.js.map → index.cjs364.js.map} +1 -1
  200. package/dist/index.cjs365.js +1 -1
  201. package/dist/index.cjs365.js.map +1 -1
  202. package/dist/{index.cjs354.js → index.cjs366.js} +2 -2
  203. package/dist/{index.cjs354.js.map → index.cjs366.js.map} +1 -1
  204. package/dist/index.cjs37.js +1 -1
  205. package/dist/index.cjs378.js +1 -1
  206. package/dist/index.cjs379.js +1 -1
  207. package/dist/index.cjs38.js +1 -1
  208. package/dist/index.cjs380.js +27 -1
  209. package/dist/index.cjs380.js.map +1 -1
  210. package/dist/index.cjs381.js +1 -1
  211. package/dist/index.cjs381.js.map +1 -1
  212. package/dist/index.cjs382.js +1 -1
  213. package/dist/index.cjs382.js.map +1 -1
  214. package/dist/index.cjs383.js +1 -1
  215. package/dist/index.cjs383.js.map +1 -1
  216. package/dist/index.cjs384.js +2 -1
  217. package/dist/index.cjs384.js.map +1 -1
  218. package/dist/index.cjs385.js +1 -1
  219. package/dist/index.cjs385.js.map +1 -1
  220. package/dist/index.cjs386.js +1 -1
  221. package/dist/index.cjs386.js.map +1 -1
  222. package/dist/index.cjs388.js +1 -1
  223. package/dist/index.cjs388.js.map +1 -1
  224. package/dist/index.cjs389.js +2 -0
  225. package/dist/index.cjs389.js.map +1 -0
  226. package/dist/index.cjs39.js +1 -1
  227. package/dist/index.cjs390.js +2 -0
  228. package/dist/index.cjs390.js.map +1 -0
  229. package/dist/index.cjs391.js +1 -1
  230. package/dist/index.cjs391.js.map +1 -1
  231. package/dist/index.cjs392.js +1 -1
  232. package/dist/index.cjs392.js.map +1 -1
  233. package/dist/index.cjs393.js +1 -1
  234. package/dist/index.cjs393.js.map +1 -1
  235. package/dist/index.cjs394.js +1 -1
  236. package/dist/index.cjs394.js.map +1 -1
  237. package/dist/index.cjs395.js +2 -0
  238. package/dist/index.cjs395.js.map +1 -0
  239. package/dist/index.cjs398.js +2 -0
  240. package/dist/index.cjs398.js.map +1 -0
  241. package/dist/index.cjs399.js +2 -0
  242. package/dist/index.cjs399.js.map +1 -0
  243. package/dist/index.cjs40.js +1 -1
  244. package/dist/index.cjs400.js +1 -1
  245. package/dist/index.cjs400.js.map +1 -1
  246. package/dist/index.cjs401.js +1 -1
  247. package/dist/index.cjs401.js.map +1 -1
  248. package/dist/index.cjs402.js +1 -1
  249. package/dist/index.cjs402.js.map +1 -1
  250. package/dist/index.cjs404.js +1 -1
  251. package/dist/index.cjs404.js.map +1 -1
  252. package/dist/index.cjs405.js +1 -1
  253. package/dist/index.cjs405.js.map +1 -1
  254. package/dist/index.cjs406.js +1 -1
  255. package/dist/index.cjs406.js.map +1 -1
  256. package/dist/index.cjs407.js +2 -0
  257. package/dist/index.cjs407.js.map +1 -0
  258. package/dist/{index.cjs422.js → index.cjs408.js} +2 -2
  259. package/dist/{index.cjs422.js.map → index.cjs408.js.map} +1 -1
  260. package/dist/index.cjs409.js +2 -0
  261. package/dist/index.cjs409.js.map +1 -0
  262. package/dist/index.cjs41.js +1 -1
  263. package/dist/index.cjs410.js +1 -1
  264. package/dist/index.cjs410.js.map +1 -1
  265. package/dist/index.cjs411.js +1 -1
  266. package/dist/index.cjs411.js.map +1 -1
  267. package/dist/index.cjs412.js +2 -0
  268. package/dist/index.cjs412.js.map +1 -0
  269. package/dist/index.cjs413.js +2 -0
  270. package/dist/index.cjs413.js.map +1 -0
  271. package/dist/{index.cjs425.js → index.cjs414.js} +2 -2
  272. package/dist/{index.cjs425.js.map → index.cjs414.js.map} +1 -1
  273. package/dist/{index.cjs426.js → index.cjs415.js} +2 -2
  274. package/dist/{index.cjs426.js.map → index.cjs415.js.map} +1 -1
  275. package/dist/{index.cjs427.js → index.cjs416.js} +2 -2
  276. package/dist/{index.cjs427.js.map → index.cjs416.js.map} +1 -1
  277. package/dist/{index.cjs428.js → index.cjs417.js} +2 -2
  278. package/dist/{index.cjs428.js.map → index.cjs417.js.map} +1 -1
  279. package/dist/index.cjs418.js +1 -1
  280. package/dist/index.cjs418.js.map +1 -1
  281. package/dist/index.cjs419.js +1 -1
  282. package/dist/index.cjs419.js.map +1 -1
  283. package/dist/index.cjs42.js +1 -1
  284. package/dist/index.cjs420.js +1 -1
  285. package/dist/index.cjs420.js.map +1 -1
  286. package/dist/index.cjs421.js +1 -1
  287. package/dist/index.cjs421.js.map +1 -1
  288. package/dist/index.cjs43.js +1 -1
  289. package/dist/index.cjs430.js +1 -1
  290. package/dist/index.cjs430.js.map +1 -1
  291. package/dist/index.cjs431.js +1 -1
  292. package/dist/index.cjs431.js.map +1 -1
  293. package/dist/index.cjs432.js +1 -1
  294. package/dist/index.cjs432.js.map +1 -1
  295. package/dist/index.cjs433.js +4 -1
  296. package/dist/index.cjs433.js.map +1 -1
  297. package/dist/index.cjs434.js +1 -1
  298. package/dist/index.cjs434.js.map +1 -1
  299. package/dist/index.cjs435.js +1 -1
  300. package/dist/index.cjs435.js.map +1 -1
  301. package/dist/index.cjs436.js +1 -4
  302. package/dist/index.cjs436.js.map +1 -1
  303. package/dist/index.cjs437.js +1 -1
  304. package/dist/index.cjs437.js.map +1 -1
  305. package/dist/index.cjs44.js +1 -1
  306. package/dist/index.cjs445.js +1 -1
  307. package/dist/index.cjs446.js +38 -1
  308. package/dist/index.cjs446.js.map +1 -1
  309. package/dist/index.cjs447.js +1 -1
  310. package/dist/index.cjs447.js.map +1 -1
  311. package/dist/index.cjs448.js +1 -1
  312. package/dist/index.cjs448.js.map +1 -1
  313. package/dist/index.cjs449.js +1 -1
  314. package/dist/index.cjs449.js.map +1 -1
  315. package/dist/index.cjs45.js +1 -1
  316. package/dist/index.cjs450.js +1 -1
  317. package/dist/index.cjs450.js.map +1 -1
  318. package/dist/index.cjs451.js +1 -1
  319. package/dist/index.cjs451.js.map +1 -1
  320. package/dist/index.cjs452.js +2 -0
  321. package/dist/index.cjs452.js.map +1 -0
  322. package/dist/index.cjs453.js +2 -0
  323. package/dist/index.cjs453.js.map +1 -0
  324. package/dist/index.cjs454.js +1 -1
  325. package/dist/index.cjs454.js.map +1 -1
  326. package/dist/index.cjs455.js +1 -1
  327. package/dist/index.cjs455.js.map +1 -1
  328. package/dist/index.cjs458.js +1 -1
  329. package/dist/index.cjs458.js.map +1 -1
  330. package/dist/index.cjs459.js +1 -1
  331. package/dist/index.cjs459.js.map +1 -1
  332. package/dist/index.cjs46.js +1 -1
  333. package/dist/index.cjs460.js +1 -1
  334. package/dist/index.cjs460.js.map +1 -1
  335. package/dist/index.cjs461.js +1 -1
  336. package/dist/index.cjs461.js.map +1 -1
  337. package/dist/index.cjs462.js +1 -1
  338. package/dist/index.cjs462.js.map +1 -1
  339. package/dist/index.cjs463.js +1 -1
  340. package/dist/index.cjs463.js.map +1 -1
  341. package/dist/index.cjs464.js +1 -1
  342. package/dist/index.cjs464.js.map +1 -1
  343. package/dist/index.cjs465.js +1 -27
  344. package/dist/index.cjs465.js.map +1 -1
  345. package/dist/index.cjs466.js +1 -1
  346. package/dist/index.cjs466.js.map +1 -1
  347. package/dist/index.cjs467.js +1 -1
  348. package/dist/index.cjs467.js.map +1 -1
  349. package/dist/index.cjs468.js +1 -1
  350. package/dist/index.cjs468.js.map +1 -1
  351. package/dist/index.cjs469.js +1 -1
  352. package/dist/index.cjs469.js.map +1 -1
  353. package/dist/index.cjs47.js +1 -1
  354. package/dist/index.cjs470.js +1 -1
  355. package/dist/index.cjs470.js.map +1 -1
  356. package/dist/index.cjs471.js +1 -5
  357. package/dist/index.cjs471.js.map +1 -1
  358. package/dist/index.cjs472.js +1 -1
  359. package/dist/index.cjs472.js.map +1 -1
  360. package/dist/index.cjs473.js +5 -1
  361. package/dist/index.cjs473.js.map +1 -1
  362. package/dist/index.cjs474.js +1 -1
  363. package/dist/index.cjs474.js.map +1 -1
  364. package/dist/index.cjs475.js +1 -2
  365. package/dist/index.cjs475.js.map +1 -1
  366. package/dist/index.cjs476.js +1 -1
  367. package/dist/index.cjs476.js.map +1 -1
  368. package/dist/index.cjs477.js +1 -1
  369. package/dist/index.cjs477.js.map +1 -1
  370. package/dist/index.cjs478.js +1 -1
  371. package/dist/index.cjs478.js.map +1 -1
  372. package/dist/index.cjs479.js +1 -1
  373. package/dist/index.cjs479.js.map +1 -1
  374. package/dist/index.cjs48.js +1 -1
  375. package/dist/index.cjs480.js +1 -1
  376. package/dist/index.cjs480.js.map +1 -1
  377. package/dist/index.cjs481.js +1 -1
  378. package/dist/index.cjs481.js.map +1 -1
  379. package/dist/index.cjs482.js +1 -1
  380. package/dist/index.cjs482.js.map +1 -1
  381. package/dist/index.cjs483.js +1 -1
  382. package/dist/index.cjs49.js +1 -1
  383. package/dist/index.cjs50.js +1 -1
  384. package/dist/index.cjs51.js +1 -1
  385. package/dist/index.cjs52.js +1 -1
  386. package/dist/index.cjs53.js +1 -1
  387. package/dist/index.cjs54.js +1 -1
  388. package/dist/index.cjs55.js +1 -1
  389. package/dist/index.cjs56.js +1 -1
  390. package/dist/index.cjs57.js +1 -1
  391. package/dist/index.cjs59.js +1 -1
  392. package/dist/index.cjs6.js +1 -1
  393. package/dist/index.cjs60.js +1 -1
  394. package/dist/index.cjs61.js +1 -1
  395. package/dist/index.cjs62.js +1 -1
  396. package/dist/index.cjs64.js +1 -1
  397. package/dist/index.cjs66.js +1 -1
  398. package/dist/index.cjs67.js +1 -1
  399. package/dist/index.cjs68.js +1 -1
  400. package/dist/index.cjs7.js +1 -1
  401. package/dist/index.cjs70.js +1 -1
  402. package/dist/index.cjs71.js +1 -1
  403. package/dist/index.cjs72.js +1 -1
  404. package/dist/index.cjs73.js +1 -1
  405. package/dist/index.cjs8.js +1 -1
  406. package/dist/index.cjs9.js +1 -1
  407. package/dist/index.cjs90.js +1 -1
  408. package/dist/index.cjs91.js +1 -1
  409. package/dist/index.cjs92.js +1 -1
  410. package/dist/index.cjs94.js +1 -1
  411. package/dist/index.cjs96.js +1 -1
  412. package/dist/index.cjs97.js +1 -1
  413. package/dist/index.es10.js +4 -4
  414. package/dist/index.es100.js +1 -1
  415. package/dist/index.es101.js +1 -1
  416. package/dist/index.es102.js +3 -3
  417. package/dist/index.es103.js +1 -1
  418. package/dist/index.es104.js +1 -1
  419. package/dist/index.es105.js +1 -1
  420. package/dist/index.es106.js +1 -1
  421. package/dist/index.es108.js +2 -2
  422. package/dist/index.es109.js +1 -1
  423. package/dist/index.es11.js +1 -1
  424. package/dist/index.es111.js +1 -1
  425. package/dist/index.es113.js +3 -3
  426. package/dist/index.es114.js +1 -1
  427. package/dist/index.es116.js +3 -3
  428. package/dist/index.es117.js +1 -1
  429. package/dist/index.es119.js +2 -2
  430. package/dist/index.es12.js +2 -2
  431. package/dist/index.es120.js +1 -1
  432. package/dist/index.es121.js +1 -1
  433. package/dist/index.es122.js +2 -2
  434. package/dist/index.es123.js +1 -1
  435. package/dist/index.es126.js +2 -2
  436. package/dist/index.es128.js +1 -1
  437. package/dist/index.es13.js +1 -1
  438. package/dist/index.es130.js +2 -2
  439. package/dist/index.es131.js +2 -2
  440. package/dist/index.es132.js +2 -2
  441. package/dist/index.es133.js +2 -2
  442. package/dist/index.es134.js +2 -2
  443. package/dist/index.es135.js +2 -2
  444. package/dist/index.es136.js +2 -2
  445. package/dist/index.es137.js +2 -2
  446. package/dist/index.es138.js +2 -2
  447. package/dist/index.es139.js +2 -2
  448. package/dist/index.es14.js +1 -1
  449. package/dist/index.es140.js +2 -2
  450. package/dist/index.es141.js +2 -2
  451. package/dist/index.es142.js +2 -2
  452. package/dist/index.es143.js +2 -2
  453. package/dist/index.es144.js +2 -2
  454. package/dist/index.es145.js +2 -2
  455. package/dist/index.es146.js +2 -2
  456. package/dist/index.es147.js +2 -2
  457. package/dist/index.es148.js +2 -2
  458. package/dist/index.es149.js +2 -2
  459. package/dist/index.es15.js +26 -26
  460. package/dist/index.es15.js.map +1 -1
  461. package/dist/index.es150.js +2 -2
  462. package/dist/index.es151.js +2 -2
  463. package/dist/index.es152.js +2 -2
  464. package/dist/index.es153.js +1 -1
  465. package/dist/index.es154.js +1 -1
  466. package/dist/index.es155.js +1 -1
  467. package/dist/index.es156.js +2 -2
  468. package/dist/index.es157.js +2 -2
  469. package/dist/index.es158.js +2 -2
  470. package/dist/index.es16.js +2 -2
  471. package/dist/index.es160.js +2 -2
  472. package/dist/index.es161.js +2 -2
  473. package/dist/index.es162.js +2 -2
  474. package/dist/index.es163.js +2 -2
  475. package/dist/index.es164.js +2 -2
  476. package/dist/index.es165.js +2 -2
  477. package/dist/index.es166.js +2 -2
  478. package/dist/index.es167.js +2 -2
  479. package/dist/index.es168.js +2 -2
  480. package/dist/index.es17.js +1 -1
  481. package/dist/index.es170.js +2 -2
  482. package/dist/index.es171.js +2 -2
  483. package/dist/index.es172.js +2 -2
  484. package/dist/index.es173.js +2 -2
  485. package/dist/index.es174.js +2 -2
  486. package/dist/index.es175.js +2 -2
  487. package/dist/index.es176.js +2 -2
  488. package/dist/index.es178.js +2 -2
  489. package/dist/index.es179.js +2 -2
  490. package/dist/index.es18.js +2 -2
  491. package/dist/index.es180.js +2 -2
  492. package/dist/index.es181.js +2 -2
  493. package/dist/index.es182.js +2 -2
  494. package/dist/index.es183.js +2 -2
  495. package/dist/index.es184.js +2 -2
  496. package/dist/index.es185.js +2 -2
  497. package/dist/index.es19.js +2 -2
  498. package/dist/index.es191.js +2 -2
  499. package/dist/index.es20.js +1 -1
  500. package/dist/index.es21.js +2 -2
  501. package/dist/index.es214.js +15 -27
  502. package/dist/index.es214.js.map +1 -1
  503. package/dist/index.es216.js +3 -2
  504. package/dist/index.es216.js.map +1 -1
  505. package/dist/index.es22.js +3 -3
  506. package/dist/index.es223.js +8 -0
  507. package/dist/index.es223.js.map +1 -0
  508. package/dist/index.es224.js +59 -22
  509. package/dist/index.es224.js.map +1 -1
  510. package/dist/index.es227.js +5 -0
  511. package/dist/index.es227.js.map +1 -0
  512. package/dist/index.es228.js +27 -22
  513. package/dist/index.es228.js.map +1 -1
  514. package/dist/index.es23.js +2 -2
  515. package/dist/{index.es217.js → index.es230.js} +1 -1
  516. package/dist/{index.es217.js.map → index.es230.js.map} +1 -1
  517. package/dist/{index.es220.js → index.es233.js} +1 -1
  518. package/dist/{index.es220.js.map → index.es233.js.map} +1 -1
  519. package/dist/index.es237.js +25 -0
  520. package/dist/index.es237.js.map +1 -0
  521. package/dist/index.es24.js +2 -2
  522. package/dist/index.es241.js +25 -0
  523. package/dist/index.es241.js.map +1 -0
  524. package/dist/{index.es231.js → index.es244.js} +8 -8
  525. package/dist/{index.es231.js.map → index.es244.js.map} +1 -1
  526. package/dist/{index.es234.js → index.es247.js} +3 -3
  527. package/dist/{index.es234.js.map → index.es247.js.map} +1 -1
  528. package/dist/{index.es235.js → index.es248.js} +3 -3
  529. package/dist/{index.es235.js.map → index.es248.js.map} +1 -1
  530. package/dist/{index.es236.js → index.es249.js} +4 -4
  531. package/dist/{index.es236.js.map → index.es249.js.map} +1 -1
  532. package/dist/index.es25.js +2 -2
  533. package/dist/{index.es242.js → index.es255.js} +9 -9
  534. package/dist/{index.es242.js.map → index.es255.js.map} +1 -1
  535. package/dist/index.es256.js +20 -51
  536. package/dist/index.es256.js.map +1 -1
  537. package/dist/index.es259.js +3 -49
  538. package/dist/index.es259.js.map +1 -1
  539. package/dist/index.es26.js +1 -1
  540. package/dist/index.es264.js +4 -27
  541. package/dist/index.es264.js.map +1 -1
  542. package/dist/index.es265.js +20 -4
  543. package/dist/index.es265.js.map +1 -1
  544. package/dist/index.es266.js +6 -8
  545. package/dist/index.es266.js.map +1 -1
  546. package/dist/{index.es254.js → index.es267.js} +1 -1
  547. package/dist/{index.es254.js.map → index.es267.js.map} +1 -1
  548. package/dist/index.es269.js +51 -8
  549. package/dist/index.es269.js.map +1 -1
  550. package/dist/{index.es258.js → index.es271.js} +14 -14
  551. package/dist/{index.es258.js.map → index.es271.js.map} +1 -1
  552. package/dist/index.es272.js +52 -0
  553. package/dist/index.es272.js.map +1 -0
  554. package/dist/{index.es260.js → index.es273.js} +1 -1
  555. package/dist/{index.es260.js.map → index.es273.js.map} +1 -1
  556. package/dist/{index.es261.js → index.es274.js} +1 -1
  557. package/dist/{index.es261.js.map → index.es274.js.map} +1 -1
  558. package/dist/index.es275.js +28 -8
  559. package/dist/index.es275.js.map +1 -1
  560. package/dist/index.es277.js +27 -6
  561. package/dist/index.es277.js.map +1 -1
  562. package/dist/{index.es270.js → index.es278.js} +2 -2
  563. package/dist/index.es278.js.map +1 -0
  564. package/dist/index.es279.js +8 -27
  565. package/dist/index.es279.js.map +1 -1
  566. package/dist/index.es28.js +2 -2
  567. package/dist/index.es282.js +11 -0
  568. package/dist/index.es282.js.map +1 -0
  569. package/dist/index.es283.js +4 -27
  570. package/dist/index.es283.js.map +1 -1
  571. package/dist/index.es288.js +11 -0
  572. package/dist/index.es288.js.map +1 -0
  573. package/dist/{index.es276.js → index.es289.js} +2 -2
  574. package/dist/{index.es276.js.map → index.es289.js.map} +1 -1
  575. package/dist/index.es29.js +1 -1
  576. package/dist/index.es290.js +9 -0
  577. package/dist/index.es290.js.map +1 -0
  578. package/dist/index.es292.js +30 -0
  579. package/dist/index.es292.js.map +1 -0
  580. package/dist/{index.es280.js → index.es293.js} +2 -2
  581. package/dist/{index.es280.js.map → index.es293.js.map} +1 -1
  582. package/dist/{index.es281.js → index.es294.js} +1 -1
  583. package/dist/{index.es281.js.map → index.es294.js.map} +1 -1
  584. package/dist/index.es296.js +29 -1
  585. package/dist/index.es296.js.map +1 -1
  586. package/dist/{index.es284.js → index.es297.js} +3 -3
  587. package/dist/{index.es284.js.map → index.es297.js.map} +1 -1
  588. package/dist/{index.es285.js → index.es298.js} +8 -8
  589. package/dist/{index.es285.js.map → index.es298.js.map} +1 -1
  590. package/dist/index.es30.js +3 -3
  591. package/dist/index.es308.js +2 -0
  592. package/dist/index.es308.js.map +1 -0
  593. package/dist/index.es31.js +1 -1
  594. package/dist/index.es32.js +1 -1
  595. package/dist/index.es33.js +1 -1
  596. package/dist/{index.es325.js → index.es337.js} +6 -6
  597. package/dist/{index.es325.js.map → index.es337.js.map} +1 -1
  598. package/dist/index.es34.js +5 -5
  599. package/dist/{index.es333.js → index.es345.js} +2 -2
  600. package/dist/{index.es333.js.map → index.es345.js.map} +1 -1
  601. package/dist/index.es35.js +1 -1
  602. package/dist/index.es350.js +15 -50
  603. package/dist/index.es350.js.map +1 -1
  604. package/dist/{index.es344.js → index.es356.js} +3 -3
  605. package/dist/{index.es344.js.map → index.es356.js.map} +1 -1
  606. package/dist/{index.es346.js → index.es358.js} +2 -2
  607. package/dist/{index.es346.js.map → index.es358.js.map} +1 -1
  608. package/dist/index.es362.js +53 -0
  609. package/dist/index.es362.js.map +1 -0
  610. package/dist/{index.es352.js → index.es364.js} +4 -4
  611. package/dist/{index.es352.js.map → index.es364.js.map} +1 -1
  612. package/dist/index.es365.js +125 -3
  613. package/dist/index.es365.js.map +1 -1
  614. package/dist/{index.es354.js → index.es366.js} +4 -4
  615. package/dist/{index.es354.js.map → index.es366.js.map} +1 -1
  616. package/dist/index.es37.js +1 -1
  617. package/dist/index.es378.js +1 -1
  618. package/dist/index.es379.js +1 -1
  619. package/dist/index.es38.js +5 -5
  620. package/dist/index.es380.js +3674 -6
  621. package/dist/index.es380.js.map +1 -1
  622. package/dist/index.es381.js +5 -26
  623. package/dist/index.es381.js.map +1 -1
  624. package/dist/index.es382.js +2 -68
  625. package/dist/index.es382.js.map +1 -1
  626. package/dist/index.es383.js +5 -29
  627. package/dist/index.es383.js.map +1 -1
  628. package/dist/index.es384.js +519 -31
  629. package/dist/index.es384.js.map +1 -1
  630. package/dist/index.es385.js +2 -622
  631. package/dist/index.es385.js.map +1 -1
  632. package/dist/index.es386.js +2 -11
  633. package/dist/index.es386.js.map +1 -1
  634. package/dist/index.es388.js +7 -15
  635. package/dist/index.es388.js.map +1 -1
  636. package/dist/index.es389.js +30 -0
  637. package/dist/index.es389.js.map +1 -0
  638. package/dist/index.es39.js +4 -4
  639. package/dist/index.es390.js +71 -0
  640. package/dist/index.es390.js.map +1 -0
  641. package/dist/index.es391.js +29 -5
  642. package/dist/index.es391.js.map +1 -1
  643. package/dist/index.es392.js +32 -24
  644. package/dist/index.es392.js.map +1 -1
  645. package/dist/index.es393.js +616 -63
  646. package/dist/index.es393.js.map +1 -1
  647. package/dist/index.es394.js +10 -14
  648. package/dist/index.es394.js.map +1 -1
  649. package/dist/index.es395.js +18 -0
  650. package/dist/index.es395.js.map +1 -0
  651. package/dist/index.es398.js +14 -0
  652. package/dist/index.es398.js.map +1 -0
  653. package/dist/index.es399.js +56 -0
  654. package/dist/index.es399.js.map +1 -0
  655. package/dist/index.es40.js +3 -3
  656. package/dist/index.es400.js +44 -123
  657. package/dist/index.es400.js.map +1 -1
  658. package/dist/index.es401.js +7 -134
  659. package/dist/index.es401.js.map +1 -1
  660. package/dist/index.es402.js +124 -13
  661. package/dist/index.es402.js.map +1 -1
  662. package/dist/index.es404.js +134 -8
  663. package/dist/index.es404.js.map +1 -1
  664. package/dist/index.es405.js +217 -49
  665. package/dist/index.es405.js.map +1 -1
  666. package/dist/index.es406.js +14 -53
  667. package/dist/index.es406.js.map +1 -1
  668. package/dist/index.es407.js +72 -0
  669. package/dist/index.es407.js.map +1 -0
  670. package/dist/{index.es422.js → index.es408.js} +10 -10
  671. package/dist/{index.es422.js.map → index.es408.js.map} +1 -1
  672. package/dist/index.es409.js +53 -0
  673. package/dist/index.es409.js.map +1 -0
  674. package/dist/index.es41.js +2 -2
  675. package/dist/index.es410.js +9 -2
  676. package/dist/index.es410.js.map +1 -1
  677. package/dist/index.es411.js +4 -2
  678. package/dist/index.es411.js.map +1 -1
  679. package/dist/index.es412.js +9 -0
  680. package/dist/index.es412.js.map +1 -0
  681. package/dist/index.es413.js +28 -0
  682. package/dist/index.es413.js.map +1 -0
  683. package/dist/{index.es425.js → index.es414.js} +2 -2
  684. package/dist/{index.es425.js.map → index.es414.js.map} +1 -1
  685. package/dist/{index.es426.js → index.es415.js} +3 -3
  686. package/dist/{index.es426.js.map → index.es415.js.map} +1 -1
  687. package/dist/{index.es427.js → index.es416.js} +2 -2
  688. package/dist/{index.es427.js.map → index.es416.js.map} +1 -1
  689. package/dist/{index.es428.js → index.es417.js} +4 -4
  690. package/dist/{index.es428.js.map → index.es417.js.map} +1 -1
  691. package/dist/index.es418.js +24 -10
  692. package/dist/index.es418.js.map +1 -1
  693. package/dist/index.es419.js +28 -45
  694. package/dist/index.es419.js.map +1 -1
  695. package/dist/index.es42.js +2 -2
  696. package/dist/index.es420.js +5 -8
  697. package/dist/index.es420.js.map +1 -1
  698. package/dist/index.es421.js +14 -217
  699. package/dist/index.es421.js.map +1 -1
  700. package/dist/index.es43.js +2 -2
  701. package/dist/index.es430.js +5 -25
  702. package/dist/index.es430.js.map +1 -1
  703. package/dist/index.es431.js +3 -29
  704. package/dist/index.es431.js.map +1 -1
  705. package/dist/index.es432.js +24 -5
  706. package/dist/index.es432.js.map +1 -1
  707. package/dist/index.es433.js +110 -5
  708. package/dist/index.es433.js.map +1 -1
  709. package/dist/index.es434.js +16 -3
  710. package/dist/index.es434.js.map +1 -1
  711. package/dist/index.es435.js +520 -21
  712. package/dist/index.es435.js.map +1 -1
  713. package/dist/index.es436.js +126 -109
  714. package/dist/index.es436.js.map +1 -1
  715. package/dist/index.es437.js +128 -15
  716. package/dist/index.es437.js.map +1 -1
  717. package/dist/index.es44.js +4 -4
  718. package/dist/index.es445.js +1 -1
  719. package/dist/index.es446.js +69 -4
  720. package/dist/index.es446.js.map +1 -1
  721. package/dist/index.es447.js +9 -23
  722. package/dist/index.es447.js.map +1 -1
  723. package/dist/index.es448.js +14 -23
  724. package/dist/index.es448.js.map +1 -1
  725. package/dist/index.es449.js +61 -12
  726. package/dist/index.es449.js.map +1 -1
  727. package/dist/index.es45.js +4 -4
  728. package/dist/index.es450.js +3 -27
  729. package/dist/index.es450.js.map +1 -1
  730. package/dist/index.es451.js +23 -5
  731. package/dist/index.es451.js.map +1 -1
  732. package/dist/index.es452.js +16 -0
  733. package/dist/index.es452.js.map +1 -0
  734. package/dist/index.es453.js +31 -0
  735. package/dist/index.es453.js.map +1 -0
  736. package/dist/index.es454.js +4 -2031
  737. package/dist/index.es454.js.map +1 -1
  738. package/dist/index.es455.js +21 -58
  739. package/dist/index.es455.js.map +1 -1
  740. package/dist/index.es458.js +2032 -4
  741. package/dist/index.es458.js.map +1 -1
  742. package/dist/index.es459.js +59 -4
  743. package/dist/index.es459.js.map +1 -1
  744. package/dist/index.es46.js +1 -1
  745. package/dist/index.es460.js +188 -9
  746. package/dist/index.es460.js.map +1 -1
  747. package/dist/index.es461.js +5 -56
  748. package/dist/index.es461.js.map +1 -1
  749. package/dist/index.es462.js +4 -8
  750. package/dist/index.es462.js.map +1 -1
  751. package/dist/index.es463.js +4 -5
  752. package/dist/index.es463.js.map +1 -1
  753. package/dist/index.es464.js +9 -532
  754. package/dist/index.es464.js.map +1 -1
  755. package/dist/index.es465.js +54 -3673
  756. package/dist/index.es465.js.map +1 -1
  757. package/dist/index.es466.js +8 -2
  758. package/dist/index.es466.js.map +1 -1
  759. package/dist/index.es467.js +5 -9
  760. package/dist/index.es467.js.map +1 -1
  761. package/dist/index.es468.js +514 -159
  762. package/dist/index.es468.js.map +1 -1
  763. package/dist/index.es469.js +9 -3
  764. package/dist/index.es469.js.map +1 -1
  765. package/dist/index.es47.js +2 -2
  766. package/dist/index.es470.js +171 -126
  767. package/dist/index.es470.js.map +1 -1
  768. package/dist/index.es471.js +3 -39
  769. package/dist/index.es471.js.map +1 -1
  770. package/dist/index.es472.js +133 -2
  771. package/dist/index.es472.js.map +1 -1
  772. package/dist/index.es473.js +40 -2
  773. package/dist/index.es473.js.map +1 -1
  774. package/dist/index.es474.js +2 -6
  775. package/dist/index.es474.js.map +1 -1
  776. package/dist/index.es475.js +2 -521
  777. package/dist/index.es475.js.map +1 -1
  778. package/dist/index.es476.js +2 -4
  779. package/dist/index.es476.js.map +1 -1
  780. package/dist/index.es477.js +2 -3
  781. package/dist/index.es477.js.map +1 -1
  782. package/dist/index.es478.js +3 -2
  783. package/dist/index.es478.js.map +1 -1
  784. package/dist/index.es479.js +2 -4
  785. package/dist/index.es479.js.map +1 -1
  786. package/dist/index.es48.js +1 -1
  787. package/dist/index.es480.js +3 -4
  788. package/dist/index.es480.js.map +1 -1
  789. package/dist/index.es481.js +4 -3
  790. package/dist/index.es481.js.map +1 -1
  791. package/dist/index.es482.js +6 -2
  792. package/dist/index.es482.js.map +1 -1
  793. package/dist/index.es483.js +1 -1
  794. package/dist/index.es49.js +3 -3
  795. package/dist/index.es50.js +1 -1
  796. package/dist/index.es51.js +1 -1
  797. package/dist/index.es52.js +1 -1
  798. package/dist/index.es53.js +2 -2
  799. package/dist/index.es54.js +1 -1
  800. package/dist/index.es55.js +1 -1
  801. package/dist/index.es56.js +1 -1
  802. package/dist/index.es57.js +2 -2
  803. package/dist/index.es59.js +1 -1
  804. package/dist/index.es6.js +2 -2
  805. package/dist/index.es60.js +2 -2
  806. package/dist/index.es61.js +1 -1
  807. package/dist/index.es62.js +3 -3
  808. package/dist/index.es64.js +1 -1
  809. package/dist/index.es66.js +1 -1
  810. package/dist/index.es67.js +1 -1
  811. package/dist/index.es68.js +1 -1
  812. package/dist/index.es7.js +2 -2
  813. package/dist/index.es70.js +1 -1
  814. package/dist/index.es71.js +1 -1
  815. package/dist/index.es72.js +1 -1
  816. package/dist/index.es73.js +1 -1
  817. package/dist/index.es8.js +2 -2
  818. package/dist/index.es9.js +4 -4
  819. package/dist/index.es90.js +1 -1
  820. package/dist/index.es91.js +1 -1
  821. package/dist/index.es92.js +1 -1
  822. package/dist/index.es94.js +1 -1
  823. package/dist/index.es96.js +2 -2
  824. package/dist/index.es97.js +1 -1
  825. package/package.json +1 -1
  826. package/dist/index.cjs213.js +0 -2
  827. package/dist/index.cjs213.js.map +0 -1
  828. package/dist/index.cjs243.js +0 -2
  829. package/dist/index.cjs243.js.map +0 -1
  830. package/dist/index.cjs246.js +0 -2
  831. package/dist/index.cjs246.js.map +0 -1
  832. package/dist/index.cjs251.js +0 -2
  833. package/dist/index.cjs251.js.map +0 -1
  834. package/dist/index.cjs252.js +0 -2
  835. package/dist/index.cjs252.js.map +0 -1
  836. package/dist/index.cjs253.js +0 -2
  837. package/dist/index.cjs253.js.map +0 -1
  838. package/dist/index.cjs262.js +0 -2
  839. package/dist/index.cjs262.js.map +0 -1
  840. package/dist/index.cjs270.js.map +0 -1
  841. package/dist/index.cjs287.js +0 -7
  842. package/dist/index.cjs287.js.map +0 -1
  843. package/dist/index.cjs338.js +0 -2
  844. package/dist/index.cjs338.js.map +0 -1
  845. package/dist/index.cjs353.js +0 -2
  846. package/dist/index.cjs353.js.map +0 -1
  847. package/dist/index.cjs372.js +0 -2
  848. package/dist/index.cjs372.js.map +0 -1
  849. package/dist/index.cjs423.js +0 -2
  850. package/dist/index.cjs423.js.map +0 -1
  851. package/dist/index.cjs429.js +0 -2
  852. package/dist/index.cjs429.js.map +0 -1
  853. package/dist/index.cjs438.js +0 -2
  854. package/dist/index.cjs438.js.map +0 -1
  855. package/dist/index.cjs439.js +0 -2
  856. package/dist/index.cjs439.js.map +0 -1
  857. package/dist/index.cjs440.js +0 -2
  858. package/dist/index.cjs440.js.map +0 -1
  859. package/dist/index.cjs441.js +0 -39
  860. package/dist/index.cjs441.js.map +0 -1
  861. package/dist/index.cjs442.js +0 -2
  862. package/dist/index.cjs442.js.map +0 -1
  863. package/dist/index.cjs443.js +0 -2
  864. package/dist/index.cjs443.js.map +0 -1
  865. package/dist/index.cjs444.js +0 -2
  866. package/dist/index.cjs444.js.map +0 -1
  867. package/dist/index.cjs456.js +0 -2
  868. package/dist/index.cjs456.js.map +0 -1
  869. package/dist/index.cjs457.js +0 -2
  870. package/dist/index.cjs457.js.map +0 -1
  871. package/dist/index.es213.js +0 -18
  872. package/dist/index.es213.js.map +0 -1
  873. package/dist/index.es243.js +0 -23
  874. package/dist/index.es243.js.map +0 -1
  875. package/dist/index.es246.js +0 -6
  876. package/dist/index.es246.js.map +0 -1
  877. package/dist/index.es251.js +0 -7
  878. package/dist/index.es251.js.map +0 -1
  879. package/dist/index.es252.js +0 -23
  880. package/dist/index.es252.js.map +0 -1
  881. package/dist/index.es253.js +0 -9
  882. package/dist/index.es253.js.map +0 -1
  883. package/dist/index.es262.js +0 -31
  884. package/dist/index.es262.js.map +0 -1
  885. package/dist/index.es270.js.map +0 -1
  886. package/dist/index.es287.js +0 -62
  887. package/dist/index.es287.js.map +0 -1
  888. package/dist/index.es338.js +0 -18
  889. package/dist/index.es338.js.map +0 -1
  890. package/dist/index.es353.js +0 -128
  891. package/dist/index.es353.js.map +0 -1
  892. package/dist/index.es372.js +0 -8
  893. package/dist/index.es372.js.map +0 -1
  894. package/dist/index.es423.js +0 -7
  895. package/dist/index.es423.js.map +0 -1
  896. package/dist/index.es429.js +0 -9
  897. package/dist/index.es429.js.map +0 -1
  898. package/dist/index.es438.js +0 -526
  899. package/dist/index.es438.js.map +0 -1
  900. package/dist/index.es439.js +0 -130
  901. package/dist/index.es439.js.map +0 -1
  902. package/dist/index.es440.js +0 -132
  903. package/dist/index.es440.js.map +0 -1
  904. package/dist/index.es441.js +0 -72
  905. package/dist/index.es441.js.map +0 -1
  906. package/dist/index.es442.js +0 -12
  907. package/dist/index.es442.js.map +0 -1
  908. package/dist/index.es443.js +0 -17
  909. package/dist/index.es443.js.map +0 -1
  910. package/dist/index.es444.js +0 -65
  911. package/dist/index.es444.js.map +0 -1
  912. package/dist/index.es456.js +0 -192
  913. package/dist/index.es456.js.map +0 -1
  914. package/dist/index.es457.js +0 -8
  915. package/dist/index.es457.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs419.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CACvE,EACKM,EAAsBC,GAAU,CACpC,KAAM,CAAE,MAAAC,EAAO,SAAAC,CAAQ,EAAKF,EACtBG,EAAMC,EAAM,OAAO,IAAI,EACvBC,EAAUD,EAAM,OAAuB,IAAI,GAAK,EAAE,QACxD,OAAuBE,EAAG,kBAAA,IAACT,EAAwB,CAAE,MAAAI,EAAO,QAAAI,EAAS,cAAeF,EAAK,SAAAD,EAAU,CACpG,EACDH,EAAmB,YAAcN,EACjC,MAAMc,EAAuBf,EAAO,iBAC9BgB,EAAqBC,EAAU,WAACF,CAAoB,EACpDG,EAAiBN,EAAM,WAC3B,CAACJ,EAAOW,IAAiB,CACvB,KAAM,CAAE,MAAAV,EAAO,SAAAC,CAAQ,EAAKF,EACtBY,EAAUd,EAAqBS,EAAsBN,CAAK,EAC1DY,EAAeC,EAAe,gBAACH,EAAcC,EAAQ,aAAa,EACxE,OAAuBN,EAAAA,kBAAAA,IAAIE,EAAoB,CAAE,IAAKK,EAAc,SAAAX,CAAQ,CAAE,CACpF,CACG,EACDQ,EAAe,YAAcH,EAC7B,MAAMQ,EAAiBvB,EAAO,qBACxBwB,EAAiB,6BACjBC,EAAyBR,EAAU,WAACM,CAAc,EAClDG,EAAqBd,EAAM,WAC/B,CAACJ,EAAOW,IAAiB,CACvB,KAAM,CAAE,MAAAV,EAAO,SAAAC,EAAU,GAAGiB,CAAU,EAAGnB,EACnCG,EAAMC,EAAM,OAAO,IAAI,EACvBS,EAAeC,EAAAA,gBAAgBH,EAAcR,CAAG,EAChDS,EAAUd,EAAqBiB,EAAgBd,CAAK,EAC1D,OAAAG,EAAM,UAAU,KACdQ,EAAQ,QAAQ,IAAIT,EAAK,CAAE,IAAAA,EAAK,GAAGgB,EAAU,EACtC,IAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,EACsBG,wBAAIW,EAAwB,CAAO,CAACD,CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAX,EAAU,CACrH,CACG,EACDgB,EAAmB,YAAcH,EACjC,SAASK,EAAcnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAE,EAC9B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs419.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":"+fAKA,IAAIA,EAAU,UAAY,CAE1B,EAIIC,EAAeC,EAAM,WAAW,SAAUC,EAAOC,EAAW,CAC5D,IAAIC,EAAMH,EAAM,OAAO,IAAI,EACvBI,EAAKJ,EAAM,SAAS,CACpB,gBAAiBF,EACjB,eAAgBA,EAChB,mBAAoBA,CAC5B,CAAK,EAAGO,EAAYD,EAAG,CAAC,EAAGE,EAAeF,EAAG,CAAC,EACtCG,EAAeN,EAAM,aAAcO,EAAWP,EAAM,SAAUQ,EAAYR,EAAM,UAAWS,EAAkBT,EAAM,gBAAiBU,EAAUV,EAAM,QAASW,EAASX,EAAM,OAAQY,EAAUZ,EAAM,QAASa,EAAcb,EAAM,YAAac,EAAQd,EAAM,MAAOe,EAAiBf,EAAM,eAAgBgB,EAAKhB,EAAM,GAAIiB,EAAYD,IAAO,OAAS,MAAQA,EAAIE,EAAUlB,EAAM,QAASmB,EAAOC,EAAAA,OAAOpB,EAAO,CAAC,eAAgB,WAAY,YAAa,kBAAmB,UAAW,SAAU,UAAW,cAAe,QAAS,iBAAkB,KAAM,SAAS,CAAC,EACtiBqB,EAAUT,EACVU,EAAeC,EAAY,aAAC,CAACrB,EAAKD,CAAS,CAAC,EAC5CuB,EAAiBC,EAAAA,SAASA,EAAAA,SAAS,CAAA,EAAIN,CAAI,EAAGf,CAAS,EAC3D,OAAQL,EAAM,cAAcA,EAAM,SAAU,KACxCW,GAAYX,EAAM,cAAcsB,EAAS,CAAE,QAASK,YAAW,gBAAiBjB,EAAiB,OAAQE,EAAQ,YAAaE,EAAa,MAAOC,EAAO,aAAcT,EAAc,eAAgB,CAAC,CAACU,EAAgB,QAASb,EAAK,QAASgB,CAAS,CAAA,EACvPZ,EAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,EAAGkB,EAAQ,SAACA,EAAQ,SAAC,CAAE,EAAED,CAAc,EAAG,CAAE,IAAKF,CAAY,CAAE,CAAC,EAAMvB,EAAM,cAAckB,EAAWQ,EAAQ,SAAC,CAAE,EAAED,EAAgB,CAAE,UAAWhB,EAAW,IAAKc,CAAc,CAAA,EAAGf,CAAQ,CAAE,CACjQ,CAAC,EACDT,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACAA,EAAa,WAAa,CACtB,UAAW6B,EAAkB,mBAC7B,UAAWC,EAAkB,kBACjC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs212.js");;/* empty css */const x=require("react"),a=require("./index.cjs242.js"),R=require("./index.cjs243.js"),w=require("./index.cjs10.js"),g=({id:r,title:l,titleTag:u="h3",description:d,className:h,setSelectedCard:i=()=>{},description2:o,keepSelectionOnNavigation:m=!1,disabled:s=!1})=>{const[t,c]=x.useState(!1),n=x.useRef(null);R.useClickOutside(n,t,()=>c(!1),()=>i(""),m);const j=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),p=`${h} ${t?"ui-is-active":"ui-card-search"} shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${s?"ui-card-disabled":"cursor-pointer"}`,f=()=>{s||(c(!0),i(r))};return e.jsxRuntimeExports.jsxs("div",{ref:n,className:p,onClick:f,"aria-disabled":s,children:[e.jsxRuntimeExports.jsx(a.Root,{id:r,checked:t,disabled:s,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(a.Indicator,{children:e.jsxRuntimeExports.jsx(j,{})})}),e.jsxRuntimeExports.jsxs(w.Col,{children:[e.jsxRuntimeExports.jsx(u,{className:"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold",children:l}),e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28",children:d}),o&&e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16",children:o})]})]})};exports.CardSelectDoctor=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs212.js");;/* empty css */const x=require("react"),a=require("./index.cjs255.js"),R=require("./index.cjs256.js"),w=require("./index.cjs10.js"),g=({id:r,title:l,titleTag:u="h3",description:d,className:h,setSelectedCard:i=()=>{},description2:o,keepSelectionOnNavigation:m=!1,disabled:s=!1})=>{const[t,c]=x.useState(!1),n=x.useRef(null);R.useClickOutside(n,t,()=>c(!1),()=>i(""),m);const j=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),p=`${h} ${t?"ui-is-active":"ui-card-search"} shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${s?"ui-card-disabled":"cursor-pointer"}`,f=()=>{s||(c(!0),i(r))};return e.jsxRuntimeExports.jsxs("div",{ref:n,className:p,onClick:f,"aria-disabled":s,children:[e.jsxRuntimeExports.jsx(a.Root,{id:r,checked:t,disabled:s,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(a.Indicator,{children:e.jsxRuntimeExports.jsx(j,{})})}),e.jsxRuntimeExports.jsxs(w.Col,{children:[e.jsxRuntimeExports.jsx(u,{className:"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold",children:l}),e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28",children:d}),o&&e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16",children:o})]})]})};exports.CardSelectDoctor=g;
2
2
  //# sourceMappingURL=index.cjs42.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs212.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
1
+ "use strict";const e=require("./index.cjs433.js"),r=require("./index.cjs431.js"),t=require("./index.cjs434.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
2
2
  //# sourceMappingURL=index.cjs420.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs420.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"gaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs420.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAa,cAACC,EAAS,UAAEC,qBAAmB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs426.js"),ye=require("./index.cjs427.js"),Z=require("./index.cjs381.js"),Ae=require("./index.cjs382.js"),G=require("./index.cjs384.js"),ve=require("./index.cjs418.js"),L=require("./index.cjs423.js"),Ce=require("./index.cjs392.js"),u=require("./index.cjs212.js"),be=require("./index.cjs428.js");function Re(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Re(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var Q="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=K(Q,t),i=s.useRef(null),w=Z.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...a,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=s.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[m,b]=s.useState(null),te=Z.useComposedRefs(o,y=>b(y)),[E,re]=s.useState(null),h=Ce.useSize(E),oe=(h==null?void 0:h.width)??0,M=(h==null?void 0:h.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],ae=W.length>0,R={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>be.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:a+M,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...R}),c&&l.flip({...R}),l.size({...R,apply:({elements:y,rects:U,availableWidth:me,availableHeight:he})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${me}px`),j.setProperty("--radix-popper-available-height",`${he}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...R})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=s.useState();return L.useLayoutEffect(()=>{m&&xe(window.getComputedStyle(m).zIndex)},[m]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,m,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((m=a.arrow)==null?void 0:m.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${A}px`,d=`${-c}px`):p==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${v}px`):p==="left"&&(f=`${r.floating.width+c}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs476.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
2
2
  //# sourceMappingURL=index.cjs421.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs421.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.cjs421.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDoctorInfo/CardDoctorInfo.css');const s=require("./index.cjs212.js"),R=require("./index.cjs57.js");;/* empty css */const m=require("./index.cjs213.js"),b=require("./index.cjs224.js"),j=require("react"),E=require("./index.cjs52.js"),N=require("./index.cjs9.js"),w=require("./index.cjs10.js"),q=({titleTag:o="h3",doctorName:c,specialties:x,contactInfo:d,avatar:r,className:h,officesInfo:t=[],officeLabel:a="Ambulatorio"})=>{const[i,n]=j.useState([]),g=()=>d&&(d==null?void 0:d.length)>0,p=e=>{i.includes(e)?n(i.filter(l=>l!==e)):n([...i,e])};return s.jsxRuntimeExports.jsxs("article",{className:m.clsx("bg-white shadow br-x4 ui-card-doctor-info",h),children:[s.jsxRuntimeExports.jsxs(N.Row,{as:"header",gap:"x16",children:[r&&s.jsxRuntimeExports.jsx(R.Avatar,{textColor:(r==null?void 0:r.textColor)??"slate-20",bg:(r==null?void 0:r.bg)??"lightblue-a01",initials:(r==null?void 0:r.initials)??"",className:"ui-card-doctor-avatar",size:"3"}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(o,{className:"fs-5 fw-semibold text-slate-20",children:c}),x&&(x==null?void 0:x.length)>0&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 text-slate-20 fw-regular",children:x==null?void 0:x.join(" | ")})]})]}),s.jsxRuntimeExports.jsxs("div",{className:"ui-card-doctor-content-info",children:[g()&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:d==null?void 0:d.map(e=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:e.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:e.value})]},e.label))}),(t==null?void 0:t.length)>0&&s.jsxRuntimeExports.jsx(b.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),s.jsxRuntimeExports.jsx(w.Col,{children:(t==null?void 0:t.length)>0&&(t==null?void 0:t.map((e,l)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(E.CategoryHeader,{title:`${a} ${l+1}`,isOpen:i.includes(l),onToggle:()=>p(l),hasBorder:!i.includes(l),className:"pt-x24"}),i.includes(l)&&s.jsxRuntimeExports.jsx("div",{className:m.clsx("ui-has-border-bottom","pb-x24"),children:e.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.map(u=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:u.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:u.value})]},u.label))})})]},l)))})]})]})};exports.CardDoctorInfo=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDoctorInfo/CardDoctorInfo.css');const s=require("./index.cjs212.js"),R=require("./index.cjs57.js");;/* empty css */const m=require("./index.cjs214.js"),b=require("./index.cjs237.js"),j=require("react"),E=require("./index.cjs52.js"),N=require("./index.cjs9.js"),w=require("./index.cjs10.js"),q=({titleTag:o="h3",doctorName:c,specialties:x,contactInfo:d,avatar:r,className:h,officesInfo:t=[],officeLabel:a="Ambulatorio"})=>{const[i,n]=j.useState([]),g=()=>d&&(d==null?void 0:d.length)>0,p=e=>{i.includes(e)?n(i.filter(l=>l!==e)):n([...i,e])};return s.jsxRuntimeExports.jsxs("article",{className:m.clsx("bg-white shadow br-x4 ui-card-doctor-info",h),children:[s.jsxRuntimeExports.jsxs(N.Row,{as:"header",gap:"x16",children:[r&&s.jsxRuntimeExports.jsx(R.Avatar,{textColor:(r==null?void 0:r.textColor)??"slate-20",bg:(r==null?void 0:r.bg)??"lightblue-a01",initials:(r==null?void 0:r.initials)??"",className:"ui-card-doctor-avatar",size:"3"}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(o,{className:"fs-5 fw-semibold text-slate-20",children:c}),x&&(x==null?void 0:x.length)>0&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 text-slate-20 fw-regular",children:x==null?void 0:x.join(" | ")})]})]}),s.jsxRuntimeExports.jsxs("div",{className:"ui-card-doctor-content-info",children:[g()&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:d==null?void 0:d.map(e=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:e.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:e.value})]},e.label))}),(t==null?void 0:t.length)>0&&s.jsxRuntimeExports.jsx(b.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),s.jsxRuntimeExports.jsx(w.Col,{children:(t==null?void 0:t.length)>0&&(t==null?void 0:t.map((e,l)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(E.CategoryHeader,{title:`${a} ${l+1}`,isOpen:i.includes(l),onToggle:()=>p(l),hasBorder:!i.includes(l),className:"pt-x24"}),i.includes(l)&&s.jsxRuntimeExports.jsx("div",{className:m.clsx("ui-has-border-bottom","pb-x24"),children:e.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.map(u=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:u.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:u.value})]},u.label))})})]},l)))})]})]})};exports.CardDoctorInfo=q;
2
2
  //# sourceMappingURL=index.cjs43.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},exports.__assign.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function p(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}exports.__rest=s;exports.__spreadArray=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
2
2
  //# sourceMappingURL=index.cjs430.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs430.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":"gFA+BWA,QAAAA,SAAW,UAAW,CAC/BA,eAAAA,SAAW,OAAO,QAAU,SAAkBC,EAAG,CAC7C,QAASC,EAAGC,EAAI,EAAGC,EAAI,UAAU,OAAQD,EAAIC,EAAGD,IAAK,CACjDD,EAAI,UAAUC,CAAC,EACf,QAASE,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,IAAGJ,EAAEI,CAAC,EAAIH,EAAEG,CAAC,EACrF,CACM,OAAOJ,CACb,EACSD,iBAAS,MAAM,KAAM,SAAS,CACvC,EAEO,SAASM,EAAOJ,EAAG,EAAG,CAC3B,IAAID,EAAI,CAAE,EACV,QAASI,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,GAAK,EAAE,QAAQA,CAAC,EAAI,IAC9EJ,EAAEI,CAAC,EAAIH,EAAEG,CAAC,GACd,GAAIH,GAAK,MAAQ,OAAO,OAAO,uBAA0B,WACrD,QAASC,EAAI,EAAGE,EAAI,OAAO,sBAAsBH,CAAC,EAAGC,EAAIE,EAAE,OAAQF,IAC3D,EAAE,QAAQE,EAAEF,CAAC,CAAC,EAAI,GAAK,OAAO,UAAU,qBAAqB,KAAKD,EAAGG,EAAEF,CAAC,CAAC,IACzEF,EAAEI,EAAEF,CAAC,CAAC,EAAID,EAAEG,EAAEF,CAAC,CAAC,GAE5B,OAAOF,CACT,CAiKO,SAASM,EAAcC,EAAIC,EAAMC,EAAM,CAC5C,GAAIA,GAAQ,UAAU,SAAW,EAAG,QAASP,EAAI,EAAGQ,EAAIF,EAAK,OAAQG,EAAIT,EAAIQ,EAAGR,KACxES,GAAM,EAAET,KAAKM,MACRG,IAAIA,EAAK,MAAM,UAAU,MAAM,KAAKH,EAAM,EAAGN,CAAC,GACnDS,EAAGT,CAAC,EAAIM,EAAKN,CAAC,GAGtB,OAAOK,EAAG,OAAOI,GAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC,CACzD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs430.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs430.js"),j=require("react"),f=require("./index.cjs433.js"),k=require("./index.cjs434.js"),q=require("./index.cjs435.js");function B(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=B(j);var o=function(){},s=a.forwardRef(function(e,n){var r=a.useRef(null),l=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),m=l[0],g=l[1],v=e.forwardProps,c=e.children,h=e.className,_=e.removeScrollBar,b=e.enabled,C=e.shards,S=e.sideCar,P=e.noIsolation,R=e.inert,w=e.allowPinchZoom,i=e.as,M=i===void 0?"div":i,N=e.gapMode,y=t.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=S,d=q.useMergeRefs([r,n]),u=t.__assign(t.__assign({},y),m);return a.createElement(a.Fragment,null,b&&a.createElement(O,{sideCar:k.effectCar,removeScrollBar:_,shards:C,noIsolation:P,inert:R,setCallbacks:g,allowPinchZoom:!!w,lockRef:r,gapMode:N}),v?a.cloneElement(a.Children.only(c),t.__assign(t.__assign({},u),{ref:d})):a.createElement(M,t.__assign({},u,{className:h,ref:d}),c))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};s.classNames={fullWidth:f.fullWidthClassName,zeroRight:f.zeroRightClassName};exports.RemoveScroll=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs445.js");var r=e.createSidecarMedium();exports.effectCar=r;
2
2
  //# sourceMappingURL=index.cjs431.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs431.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":"+fAKA,IAAIA,EAAU,UAAY,CAE1B,EAIIC,EAAeC,EAAM,WAAW,SAAUC,EAAOC,EAAW,CAC5D,IAAIC,EAAMH,EAAM,OAAO,IAAI,EACvBI,EAAKJ,EAAM,SAAS,CACpB,gBAAiBF,EACjB,eAAgBA,EAChB,mBAAoBA,CAC5B,CAAK,EAAGO,EAAYD,EAAG,CAAC,EAAGE,EAAeF,EAAG,CAAC,EACtCG,EAAeN,EAAM,aAAcO,EAAWP,EAAM,SAAUQ,EAAYR,EAAM,UAAWS,EAAkBT,EAAM,gBAAiBU,EAAUV,EAAM,QAASW,EAASX,EAAM,OAAQY,EAAUZ,EAAM,QAASa,EAAcb,EAAM,YAAac,EAAQd,EAAM,MAAOe,EAAiBf,EAAM,eAAgBgB,EAAKhB,EAAM,GAAIiB,EAAYD,IAAO,OAAS,MAAQA,EAAIE,EAAUlB,EAAM,QAASmB,EAAOC,EAAAA,OAAOpB,EAAO,CAAC,eAAgB,WAAY,YAAa,kBAAmB,UAAW,SAAU,UAAW,cAAe,QAAS,iBAAkB,KAAM,SAAS,CAAC,EACtiBqB,EAAUT,EACVU,EAAeC,EAAY,aAAC,CAACrB,EAAKD,CAAS,CAAC,EAC5CuB,EAAiBC,EAAAA,SAASA,EAAAA,SAAS,CAAA,EAAIN,CAAI,EAAGf,CAAS,EAC3D,OAAQL,EAAM,cAAcA,EAAM,SAAU,KACxCW,GAAYX,EAAM,cAAcsB,EAAS,CAAE,QAASK,YAAW,gBAAiBjB,EAAiB,OAAQE,EAAQ,YAAaE,EAAa,MAAOC,EAAO,aAAcT,EAAc,eAAgB,CAAC,CAACU,EAAgB,QAASb,EAAK,QAASgB,CAAS,CAAA,EACvPZ,EAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,EAAGkB,EAAQ,SAACA,EAAQ,SAAC,CAAE,EAAED,CAAc,EAAG,CAAE,IAAKF,CAAY,CAAE,CAAC,EAAMvB,EAAM,cAAckB,EAAWQ,EAAQ,SAAC,CAAE,EAAED,EAAgB,CAAE,UAAWhB,EAAW,IAAKc,CAAc,CAAA,EAAGf,CAAQ,CAAE,CACjQ,CAAC,EACDT,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACAA,EAAa,WAAa,CACtB,UAAW6B,EAAkB,mBAC7B,UAAWC,EAAkB,kBACjC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs431.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"qHACU,IAACA,EAAYC,EAAmB,oBAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs436.js"),r=require("./index.cjs434.js"),t=require("./index.cjs437.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs450.js"),g=require("./index.cjs451.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
2
2
  //# sourceMappingURL=index.cjs432.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs432.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAa,cAACC,EAAS,UAAEC,qBAAmB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs432.js","sources":["../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":"icAGA,IAAIA,EAA4B,OAAO,OAAW,IAAcC,EAAM,gBAAkBA,EAAM,UAC1FC,EAAgB,IAAI,QAejB,SAASC,EAAaC,EAAMC,EAAc,CAC7C,IAAIC,EAAcC,EAAAA,eAA+B,KAAM,SAAUC,EAAU,CACvE,OAAOJ,EAAK,QAAQ,SAAUK,EAAK,CAAE,OAAOC,EAAAA,UAAUD,EAAKD,CAAQ,EAAI,CAC/E,CAAK,EAED,OAAAR,EAA0B,UAAY,CAClC,IAAIW,EAAWT,EAAc,IAAII,CAAW,EAC5C,GAAIK,EAAU,CACV,IAAIC,EAAa,IAAI,IAAID,CAAQ,EAC7BE,EAAa,IAAI,IAAIT,CAAI,EACzBU,EAAYR,EAAY,QAC5BM,EAAW,QAAQ,SAAUH,EAAK,CACzBI,EAAW,IAAIJ,CAAG,GACnBC,EAAS,UAACD,EAAK,IAAI,CAEvC,CAAa,EACDI,EAAW,QAAQ,SAAUJ,EAAK,CACzBG,EAAW,IAAIH,CAAG,GACnBC,EAAS,UAACD,EAAKK,CAAS,CAE5C,CAAa,CACb,CACQZ,EAAc,IAAII,EAAaF,CAAI,CAC3C,EAAO,CAACA,CAAI,CAAC,EACFE,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs418.js"),q=require("react"),j=require("./index.cjs446.js"),_=require("./index.cjs447.js"),d=require("./index.cjs448.js"),E=require("./index.cjs449.js");function p(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=p(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},R=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},A=function(e,a){return e[0]===a[0]&&e[1]===a[1]},x=function(e){return`
2
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
3
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
4
+ `)},I=0,v=[];function W(e){var a=n.useRef([]),l=n.useRef([0,0]),i=n.useRef(),h=n.useState(I++)[0],S=n.useState(_.styleSingleton)[0],b=n.useRef(e);n.useEffect(function(){b.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(h));var t=O.__spreadArray([e.lockRef.current],(e.shards||[]).map(M),!0).filter(Boolean);return t.forEach(function(r){return r.classList.add("allow-interactivity-".concat(h))}),function(){document.body.classList.remove("block-interactivity-".concat(h)),t.forEach(function(r){return r.classList.remove("allow-interactivity-".concat(h))})}}},[e.inert,e.lockRef.current,e.shards]);var k=n.useCallback(function(t,r){if("touches"in t&&t.touches.length===2||t.type==="wheel"&&t.ctrlKey)return!b.current.allowPinchZoom;var s=g(t),u=l.current,o="deltaX"in t?t.deltaX:u[0]-s[0],f="deltaY"in t?t.deltaY:u[1]-s[1],c,P=t.target,m=Math.abs(o)>Math.abs(f)?"h":"v";if("touches"in t&&m==="h"&&P.type==="range")return!1;var C=E.locationCouldBeScrolled(m,P);if(!C)return!0;if(C?c=m:(c=m==="v"?"h":"v",C=E.locationCouldBeScrolled(m,P)),!C)return!1;if(!i.current&&"changedTouches"in t&&(o||f)&&(i.current=c),!c)return!0;var Y=i.current||c;return E.handleScroll(Y,r,t,Y==="h"?o:f)},[]),y=n.useCallback(function(t){var r=t;if(!(!v.length||v[v.length-1]!==S)){var s="deltaY"in r?R(r):g(r),u=a.current.filter(function(c){return c.name===r.type&&(c.target===r.target||r.target===c.shadowParent)&&A(c.delta,s)})[0];if(u&&u.should){r.cancelable&&r.preventDefault();return}if(!u){var o=(b.current.shards||[]).map(M).filter(Boolean).filter(function(c){return c.contains(r.target)}),f=o.length>0?k(r,o[0]):!b.current.noIsolation;f&&r.cancelable&&r.preventDefault()}}},[]),w=n.useCallback(function(t,r,s,u){var o={name:t,delta:r,target:s,should:u,shadowParent:z(s)};a.current.push(o),setTimeout(function(){a.current=a.current.filter(function(f){return f!==o})},1)},[]),T=n.useCallback(function(t){l.current=g(t),i.current=void 0},[]),L=n.useCallback(function(t){w(t.type,R(t),t.target,k(t,e.lockRef.current))},[]),X=n.useCallback(function(t){w(t.type,g(t),t.target,k(t,e.lockRef.current))},[]);n.useEffect(function(){return v.push(S),e.setCallbacks({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:X}),document.addEventListener("wheel",y,d.nonPassive),document.addEventListener("touchmove",y,d.nonPassive),document.addEventListener("touchstart",T,d.nonPassive),function(){v=v.filter(function(t){return t!==S}),document.removeEventListener("wheel",y,d.nonPassive),document.removeEventListener("touchmove",y,d.nonPassive),document.removeEventListener("touchstart",T,d.nonPassive)}},[]);var B=e.removeScrollBar,D=e.inert;return n.createElement(n.Fragment,null,D?n.createElement(S,{styles:x(h)}):null,B?n.createElement(j.RemoveScrollBar,{gapMode:e.gapMode}):null)}function z(e){for(var a=null;e!==null;)e instanceof ShadowRoot&&(a=e.host,e=e.host),e=e.parentNode;return a}exports.RemoveScrollSideCar=W;exports.getDeltaXY=R;exports.getTouchXY=g;
2
5
  //# sourceMappingURL=index.cjs433.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs433.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs433.js","sources":["../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs445.js");var r=e.createSidecarMedium();exports.effectCar=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs418.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
2
2
  //# sourceMappingURL=index.cjs434.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs434.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"qHACU,IAACA,EAAYC,EAAmB,oBAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs434.js","sources":["../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":"kaAEA,IAAIA,EAAU,SAAUC,EAAI,CACxB,IAAIC,EAAUD,EAAG,QAASE,EAAOC,EAAAA,OAAOH,EAAI,CAAC,SAAS,CAAC,EACvD,GAAI,CAACC,EACD,MAAM,IAAI,MAAM,oEAAoE,EAExF,IAAIG,EAASH,EAAQ,KAAM,EAC3B,GAAI,CAACG,EACD,MAAM,IAAI,MAAM,0BAA0B,EAE9C,OAAOC,EAAM,cAAcD,EAAQE,EAAAA,SAAS,CAAA,EAAIJ,CAAI,CAAC,CACzD,EACAH,EAAQ,gBAAkB,GACnB,SAASQ,EAAcC,EAAQC,EAAU,CAC5C,OAAAD,EAAO,UAAUC,CAAQ,EAClBV,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs446.js"),g=require("./index.cjs447.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs436.js");function B(n,t,g){let{reference:l,floating:f}=n;const i=e.getSideAxis(t),a=e.getAlignmentAxis(t),d=e.getAxisLength(a),h=e.getSide(t),w=i==="y",c=l.x+l.width/2-f.width/2,o=l.y+l.height/2-f.height/2,m=l[d]/2-f[d]/2;let s;switch(h){case"top":s={x:c,y:l.y-f.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:o};break;case"left":s={x:l.x-f.width,y:o};break;default:s={x:l.x,y:l.y}}switch(e.getAlignment(t)){case"start":s[a]-=m*(g&&w?-1:1);break;case"end":s[a]+=m*(g&&w?-1:1);break}return s}const $=async(n,t,g)=>{const{placement:l="bottom",strategy:f="absolute",middleware:i=[],platform:a}=g,d=i.filter(Boolean),h=await(a.isRTL==null?void 0:a.isRTL(t));let w=await a.getElementRects({reference:n,floating:t,strategy:f}),{x:c,y:o}=B(w,l,h),m=l,s={},r=0;for(let u=0;u<d.length;u++){const{name:x,fn:v}=d[u],{x:y,y:A,data:b,reset:p}=await v({x:c,y:o,initialPlacement:l,placement:m,strategy:f,middlewareData:s,rects:w,platform:a,elements:{reference:n,floating:t}});c=y??c,o=A??o,s={...s,[x]:{...s[x],...b}},p&&r<=50&&(r++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(w=p.rects===!0?await a.getElementRects({reference:n,floating:t,strategy:f}):p.rects),{x:c,y:o}=B(w,m,h)),u=-1)}return{x:c,y:o,placement:m,strategy:f,middlewareData:s}};async function V(n,t){var g;t===void 0&&(t={});const{x:l,y:f,platform:i,rects:a,elements:d,strategy:h}=n,{boundary:w="clippingAncestors",rootBoundary:c="viewport",elementContext:o="floating",altBoundary:m=!1,padding:s=0}=e.evaluate(t,n),r=e.getPaddingObject(s),x=d[m?o==="floating"?"reference":"floating":o],v=e.rectToClientRect(await i.getClippingRect({element:(g=await(i.isElement==null?void 0:i.isElement(x)))==null||g?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:w,rootBoundary:c,strategy:h})),y=o==="floating"?{x:l,y:f,width:a.floating.width,height:a.floating.height}:a.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},p=e.rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:y,offsetParent:A,strategy:h}):y);return{top:(v.top-p.top+r.top)/b.y,bottom:(p.bottom-v.bottom+r.bottom)/b.y,left:(v.left-p.left+r.left)/b.x,right:(p.right-v.right+r.right)/b.x}}const _=n=>({name:"arrow",options:n,async fn(t){const{x:g,y:l,placement:f,rects:i,platform:a,elements:d,middlewareData:h}=t,{element:w,padding:c=0}=e.evaluate(n,t)||{};if(w==null)return{};const o=e.getPaddingObject(c),m={x:g,y:l},s=e.getAlignmentAxis(f),r=e.getAxisLength(s),u=await a.getDimensions(w),x=s==="y",v=x?"top":"left",y=x?"bottom":"right",A=x?"clientHeight":"clientWidth",b=i.reference[r]+i.reference[s]-m[s]-i.floating[r],p=m[s]-i.reference[s],O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(w));let P=O?O[A]:0;(!P||!await(a.isElement==null?void 0:a.isElement(O)))&&(P=d.floating[A]||i.floating[r]);const T=b/2-p/2,R=P/2-u[r]/2-1,C=e.min(o[v],R),E=e.min(o[y],R),k=C,L=P-u[r]-E,S=P/2-u[r]/2+T,F=e.clamp(k,S,L),M=!h.arrow&&e.getAlignment(f)!=null&&S!==F&&i.reference[r]/2-(S<k?C:E)-u[r]/2<0,D=M?S<k?S-k:S-L:0;return{[s]:m[s]+D,data:{[s]:F,centerOffset:S-F-D,...M&&{alignmentOffset:D}},reset:M}}}),X=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(t){var g,l;const{placement:f,middlewareData:i,rects:a,initialPlacement:d,platform:h,elements:w}=t,{mainAxis:c=!0,crossAxis:o=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:r="none",flipAlignment:u=!0,...x}=e.evaluate(n,t);if((g=i.arrow)!=null&&g.alignmentOffset)return{};const v=e.getSide(f),y=e.getSideAxis(d),A=e.getSide(d)===d,b=await(h.isRTL==null?void 0:h.isRTL(w.floating)),p=m||(A||!u?[e.getOppositePlacement(d)]:e.getExpandedPlacements(d)),O=r!=="none";!m&&O&&p.push(...e.getOppositeAxisPlacements(d,u,r,b));const P=[d,...p],T=await V(t,x),R=[];let C=((l=i.flip)==null?void 0:l.overflows)||[];if(c&&R.push(T[v]),o){const S=e.getAlignmentSides(f,a,b);R.push(T[S[0]],T[S[1]])}if(C=[...C,{placement:f,overflows:R}],!R.every(S=>S<=0)){var E,k;const S=(((E=i.flip)==null?void 0:E.index)||0)+1,F=P[S];if(F)return{data:{index:S,overflows:C},reset:{placement:F}};let M=(k=C.filter(D=>D.overflows[0]<=0).sort((D,H)=>D.overflows[1]-H.overflows[1])[0])==null?void 0:k.placement;if(!M)switch(s){case"bestFit":{var L;const D=(L=C.filter(H=>{if(O){const j=e.getSideAxis(H.placement);return j===y||j==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(j=>j>0).reduce((j,Y)=>j+Y,0)]).sort((H,j)=>H[1]-j[1])[0])==null?void 0:L[0];D&&(M=D);break}case"initialPlacement":M=d;break}if(f!==M)return{reset:{placement:M}}}return{}}}};function z(n,t){return{top:n.top-t.height,right:n.right-t.width,bottom:n.bottom-t.height,left:n.left-t.width}}function W(n){return e.sides.some(t=>n[t]>=0)}const q=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(t){const{rects:g}=t,{strategy:l="referenceHidden",...f}=e.evaluate(n,t);switch(l){case"referenceHidden":{const i=await V(t,{...f,elementContext:"reference"}),a=z(i,g.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:W(a)}}}case"escaped":{const i=await V(t,{...f,altBoundary:!0}),a=z(i,g.floating);return{data:{escapedOffsets:a,escaped:W(a)}}}default:return{}}}}};async function I(n,t){const{placement:g,platform:l,elements:f}=n,i=await(l.isRTL==null?void 0:l.isRTL(f.floating)),a=e.getSide(g),d=e.getAlignment(g),h=e.getSideAxis(g)==="y",w=["left","top"].includes(a)?-1:1,c=i&&h?-1:1,o=e.evaluate(t,n);let{mainAxis:m,crossAxis:s,alignmentAxis:r}=typeof o=="number"?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return d&&typeof r=="number"&&(s=d==="end"?r*-1:r),h?{x:s*c,y:m*w}:{x:m*w,y:s*c}}const U=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var g,l;const{x:f,y:i,placement:a,middlewareData:d}=t,h=await I(t,n);return a===((g=d.offset)==null?void 0:g.placement)&&(l=d.arrow)!=null&&l.alignmentOffset?{}:{x:f+h.x,y:i+h.y,data:{...h,placement:a}}}}},G=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:g,y:l,placement:f}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...h}=e.evaluate(n,t),w={x:g,y:l},c=await V(t,h),o=e.getSideAxis(e.getSide(f)),m=e.getOppositeAxis(o);let s=w[m],r=w[o];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=s+c[x],A=s-c[v];s=e.clamp(y,s,A)}if(a){const x=o==="y"?"top":"left",v=o==="y"?"bottom":"right",y=r+c[x],A=r-c[v];r=e.clamp(y,r,A)}const u=d.fn({...t,[m]:s,[o]:r});return{...u,data:{x:u.x-g,y:u.y-l,enabled:{[m]:i,[o]:a}}}}}},J=function(n){return n===void 0&&(n={}),{options:n,fn(t){const{x:g,y:l,placement:f,rects:i,middlewareData:a}=t,{offset:d=0,mainAxis:h=!0,crossAxis:w=!0}=e.evaluate(n,t),c={x:g,y:l},o=e.getSideAxis(f),m=e.getOppositeAxis(o);let s=c[m],r=c[o];const u=e.evaluate(d,t),x=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(h){const A=m==="y"?"height":"width",b=i.reference[m]-i.floating[A]+x.mainAxis,p=i.reference[m]+i.reference[A]-x.mainAxis;s<b?s=b:s>p&&(s=p)}if(w){var v,y;const A=m==="y"?"width":"height",b=["top","left"].includes(e.getSide(f)),p=i.reference[o]-i.floating[A]+(b&&((v=a.offset)==null?void 0:v[o])||0)+(b?0:x.crossAxis),O=i.reference[o]+i.reference[A]+(b?0:((y=a.offset)==null?void 0:y[o])||0)-(b?x.crossAxis:0);r<p?r=p:r>O&&(r=O)}return{[m]:s,[o]:r}}}},K=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(t){var g,l;const{placement:f,rects:i,platform:a,elements:d}=t,{apply:h=()=>{},...w}=e.evaluate(n,t),c=await V(t,w),o=e.getSide(f),m=e.getAlignment(f),s=e.getSideAxis(f)==="y",{width:r,height:u}=i.floating;let x,v;o==="top"||o==="bottom"?(x=o,v=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(v=o,x=m==="end"?"top":"bottom");const y=u-c.top-c.bottom,A=r-c.left-c.right,b=e.min(u-c[x],y),p=e.min(r-c[v],A),O=!t.middlewareData.shift;let P=b,T=p;if((g=t.middlewareData.shift)!=null&&g.enabled.x&&(T=A),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(P=y),O&&!m){const C=e.max(c.left,0),E=e.max(c.right,0),k=e.max(c.top,0),L=e.max(c.bottom,0);s?T=r-2*(C!==0||E!==0?C+E:e.max(c.left,c.right)):P=u-2*(k!==0||L!==0?k+L:e.max(c.top,c.bottom))}await h({...t,availableWidth:T,availableHeight:P});const R=await a.getDimensions(d.floating);return r!==R.width||u!==R.height?{reset:{rects:!0}}:{}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=_;exports.computePosition=$;exports.detectOverflow=V;exports.flip=X;exports.hide=q;exports.limitShift=J;exports.offset=U;exports.shift=G;exports.size=K;
2
2
  //# sourceMappingURL=index.cjs435.js.map