@anoki/fse-ui 1.0.765 → 1.0.767

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 (635) hide show
  1. package/dist/components/ui/Button/Button.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs103.js +1 -1
  4. package/dist/index.cjs104.js +1 -1
  5. package/dist/index.cjs105.js +1 -1
  6. package/dist/index.cjs106.js +1 -1
  7. package/dist/index.cjs107.js +1 -1
  8. package/dist/index.cjs11.js +1 -1
  9. package/dist/index.cjs110.js +1 -1
  10. package/dist/index.cjs115.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs118.js +1 -1
  13. package/dist/index.cjs119.js +1 -1
  14. package/dist/index.cjs12.js +1 -1
  15. package/dist/index.cjs120.js +1 -1
  16. package/dist/index.cjs121.js +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs124.js +1 -1
  19. package/dist/index.cjs125.js +1 -1
  20. package/dist/index.cjs126.js +1 -1
  21. package/dist/index.cjs127.js +1 -1
  22. package/dist/index.cjs13.js +1 -1
  23. package/dist/index.cjs130.js +1 -1
  24. package/dist/index.cjs132.js +1 -1
  25. package/dist/index.cjs134.js +1 -1
  26. package/dist/index.cjs135.js +1 -1
  27. package/dist/index.cjs136.js +1 -1
  28. package/dist/index.cjs137.js +1 -1
  29. package/dist/index.cjs138.js +1 -1
  30. package/dist/index.cjs139.js +1 -1
  31. package/dist/index.cjs14.js +1 -1
  32. package/dist/index.cjs140.js +1 -1
  33. package/dist/index.cjs141.js +1 -1
  34. package/dist/index.cjs142.js +1 -1
  35. package/dist/index.cjs143.js +1 -1
  36. package/dist/index.cjs144.js +1 -1
  37. package/dist/index.cjs145.js +1 -1
  38. package/dist/index.cjs146.js +1 -1
  39. package/dist/index.cjs147.js +1 -1
  40. package/dist/index.cjs148.js +1 -1
  41. package/dist/index.cjs149.js +1 -1
  42. package/dist/index.cjs15.js +1 -1
  43. package/dist/index.cjs150.js +1 -1
  44. package/dist/index.cjs151.js +1 -1
  45. package/dist/index.cjs152.js +1 -1
  46. package/dist/index.cjs153.js +1 -1
  47. package/dist/index.cjs154.js +1 -1
  48. package/dist/index.cjs155.js +1 -1
  49. package/dist/index.cjs156.js +1 -1
  50. package/dist/index.cjs157.js +1 -1
  51. package/dist/index.cjs158.js +1 -1
  52. package/dist/index.cjs159.js +1 -1
  53. package/dist/index.cjs16.js +1 -1
  54. package/dist/index.cjs160.js +1 -1
  55. package/dist/index.cjs161.js +1 -1
  56. package/dist/index.cjs162.js +1 -1
  57. package/dist/index.cjs164.js +1 -1
  58. package/dist/index.cjs165.js +1 -1
  59. package/dist/index.cjs166.js +1 -1
  60. package/dist/index.cjs167.js +1 -1
  61. package/dist/index.cjs168.js +1 -1
  62. package/dist/index.cjs169.js +1 -1
  63. package/dist/index.cjs17.js +1 -1
  64. package/dist/index.cjs170.js +1 -1
  65. package/dist/index.cjs171.js +1 -1
  66. package/dist/index.cjs172.js +1 -1
  67. package/dist/index.cjs174.js +1 -1
  68. package/dist/index.cjs175.js +1 -1
  69. package/dist/index.cjs176.js +1 -1
  70. package/dist/index.cjs177.js +1 -1
  71. package/dist/index.cjs178.js +1 -1
  72. package/dist/index.cjs179.js +1 -1
  73. package/dist/index.cjs18.js +1 -1
  74. package/dist/index.cjs180.js +1 -1
  75. package/dist/index.cjs182.js +1 -1
  76. package/dist/index.cjs183.js +1 -1
  77. package/dist/index.cjs184.js +1 -1
  78. package/dist/index.cjs185.js +1 -1
  79. package/dist/index.cjs186.js +1 -1
  80. package/dist/index.cjs187.js +1 -1
  81. package/dist/index.cjs188.js +1 -1
  82. package/dist/index.cjs189.js +1 -1
  83. package/dist/index.cjs19.js +1 -1
  84. package/dist/index.cjs195.js +1 -1
  85. package/dist/index.cjs197.js +1 -1
  86. package/dist/index.cjs197.js.map +1 -1
  87. package/dist/index.cjs198.js +1 -1
  88. package/dist/index.cjs198.js.map +1 -1
  89. package/dist/index.cjs20.js +1 -1
  90. package/dist/index.cjs202.js +1 -1
  91. package/dist/index.cjs202.js.map +1 -1
  92. package/dist/index.cjs21.js +1 -1
  93. package/dist/index.cjs211.js +1 -1
  94. package/dist/index.cjs211.js.map +1 -1
  95. package/dist/index.cjs215.js +1 -1
  96. package/dist/index.cjs215.js.map +1 -1
  97. package/dist/index.cjs218.js +1 -1
  98. package/dist/index.cjs218.js.map +1 -1
  99. package/dist/index.cjs220.js +2 -0
  100. package/dist/index.cjs220.js.map +1 -0
  101. package/dist/index.cjs227.js +2 -0
  102. package/dist/index.cjs227.js.map +1 -0
  103. package/dist/index.cjs228.js +6 -1
  104. package/dist/index.cjs228.js.map +1 -1
  105. package/dist/index.cjs23.js +1 -1
  106. package/dist/index.cjs231.js +2 -0
  107. package/dist/index.cjs231.js.map +1 -0
  108. package/dist/index.cjs24.js +1 -1
  109. package/dist/index.cjs241.js +1 -1
  110. package/dist/index.cjs245.js +1 -1
  111. package/dist/index.cjs249.js +1 -1
  112. package/dist/index.cjs252.js +1 -1
  113. package/dist/index.cjs253.js +1 -1
  114. package/dist/index.cjs254.js +1 -1
  115. package/dist/index.cjs26.js +1 -1
  116. package/dist/index.cjs260.js +1 -1
  117. package/dist/index.cjs27.js +1 -1
  118. package/dist/index.cjs270.js +1 -1
  119. package/dist/index.cjs274.js +1 -1
  120. package/dist/index.cjs276.js +1 -1
  121. package/dist/index.cjs284.js +1 -1
  122. package/dist/index.cjs287.js +1 -1
  123. package/dist/index.cjs293.js +1 -1
  124. package/dist/index.cjs298.js +1 -1
  125. package/dist/index.cjs30.js +1 -1
  126. package/dist/index.cjs301.js +1 -1
  127. package/dist/index.cjs302.js +1 -1
  128. package/dist/index.cjs303.js +1 -1
  129. package/dist/index.cjs31.js +1 -1
  130. package/dist/index.cjs32.js +1 -1
  131. package/dist/index.cjs33.js +1 -1
  132. package/dist/index.cjs34.js +1 -1
  133. package/dist/index.cjs342.js +1 -1
  134. package/dist/index.cjs35.js +1 -1
  135. package/dist/index.cjs350.js +1 -1
  136. package/dist/index.cjs36.js +1 -1
  137. package/dist/index.cjs361.js +1 -1
  138. package/dist/index.cjs363.js +1 -1
  139. package/dist/index.cjs382.js +1 -1
  140. package/dist/index.cjs385.js +1 -1
  141. package/dist/index.cjs389.js +1 -1
  142. package/dist/index.cjs390.js +12 -3
  143. package/dist/index.cjs390.js.map +1 -1
  144. package/dist/index.cjs391.js +27 -1
  145. package/dist/index.cjs391.js.map +1 -1
  146. package/dist/index.cjs392.js +1 -1
  147. package/dist/index.cjs393.js +1 -1
  148. package/dist/index.cjs394.js +1 -1
  149. package/dist/index.cjs394.js.map +1 -1
  150. package/dist/index.cjs395.js +2 -1
  151. package/dist/index.cjs395.js.map +1 -1
  152. package/dist/index.cjs396.js +1 -1
  153. package/dist/index.cjs396.js.map +1 -1
  154. package/dist/index.cjs397.js +1 -1
  155. package/dist/index.cjs397.js.map +1 -1
  156. package/dist/index.cjs40.js +1 -1
  157. package/dist/index.cjs404.js +1 -1
  158. package/dist/index.cjs404.js.map +1 -1
  159. package/dist/index.cjs405.js +1 -1
  160. package/dist/index.cjs405.js.map +1 -1
  161. package/dist/index.cjs406.js +1 -27
  162. package/dist/index.cjs406.js.map +1 -1
  163. package/dist/index.cjs407.js +1 -1
  164. package/dist/index.cjs407.js.map +1 -1
  165. package/dist/index.cjs408.js +1 -1
  166. package/dist/index.cjs408.js.map +1 -1
  167. package/dist/index.cjs409.js +1 -2
  168. package/dist/index.cjs409.js.map +1 -1
  169. package/dist/index.cjs41.js +1 -1
  170. package/dist/index.cjs410.js +1 -1
  171. package/dist/index.cjs410.js.map +1 -1
  172. package/dist/{index.cjs401.js → index.cjs411.js} +2 -2
  173. package/dist/{index.cjs401.js.map → index.cjs411.js.map} +1 -1
  174. package/dist/{index.cjs403.js → index.cjs412.js} +1 -1
  175. package/dist/{index.cjs403.js.map → index.cjs412.js.map} +1 -1
  176. package/dist/index.cjs413.js +1 -1
  177. package/dist/index.cjs413.js.map +1 -1
  178. package/dist/index.cjs414.js +1 -1
  179. package/dist/index.cjs414.js.map +1 -1
  180. package/dist/index.cjs417.js +1 -1
  181. package/dist/index.cjs417.js.map +1 -1
  182. package/dist/index.cjs418.js +1 -1
  183. package/dist/index.cjs418.js.map +1 -1
  184. package/dist/index.cjs419.js +1 -1
  185. package/dist/index.cjs419.js.map +1 -1
  186. package/dist/index.cjs42.js +1 -1
  187. package/dist/index.cjs420.js +1 -1
  188. package/dist/index.cjs420.js.map +1 -1
  189. package/dist/index.cjs421.js +1 -1
  190. package/dist/index.cjs421.js.map +1 -1
  191. package/dist/index.cjs422.js +1 -1
  192. package/dist/index.cjs422.js.map +1 -1
  193. package/dist/index.cjs423.js +1 -1
  194. package/dist/index.cjs423.js.map +1 -1
  195. package/dist/index.cjs427.js +2 -0
  196. package/dist/index.cjs427.js.map +1 -0
  197. package/dist/index.cjs428.js +1 -1
  198. package/dist/index.cjs428.js.map +1 -1
  199. package/dist/{index.cjs443.js → index.cjs429.js} +2 -2
  200. package/dist/{index.cjs443.js.map → index.cjs429.js.map} +1 -1
  201. package/dist/index.cjs430.js +2 -0
  202. package/dist/{index.cjs444.js.map → index.cjs430.js.map} +1 -1
  203. package/dist/index.cjs431.js +2 -0
  204. package/dist/index.cjs431.js.map +1 -0
  205. package/dist/index.cjs432.js +2 -0
  206. package/dist/index.cjs432.js.map +1 -0
  207. package/dist/{index.cjs450.js → index.cjs433.js} +2 -2
  208. package/dist/{index.cjs450.js.map → index.cjs433.js.map} +1 -1
  209. package/dist/index.cjs434.js +5 -0
  210. package/dist/index.cjs434.js.map +1 -0
  211. package/dist/index.cjs435.js +1 -1
  212. package/dist/index.cjs435.js.map +1 -1
  213. package/dist/index.cjs436.js +38 -1
  214. package/dist/index.cjs436.js.map +1 -1
  215. package/dist/index.cjs437.js +1 -1
  216. package/dist/index.cjs437.js.map +1 -1
  217. package/dist/index.cjs438.js +2 -0
  218. package/dist/index.cjs438.js.map +1 -0
  219. package/dist/{index.cjs459.js → index.cjs439.js} +1 -1
  220. package/dist/{index.cjs459.js.map → index.cjs439.js.map} +1 -1
  221. package/dist/index.cjs44.js +1 -1
  222. package/dist/index.cjs440.js +2 -0
  223. package/dist/index.cjs440.js.map +1 -0
  224. package/dist/index.cjs441.js +1 -1
  225. package/dist/index.cjs441.js.map +1 -1
  226. package/dist/index.cjs442.js +1 -1
  227. package/dist/index.cjs442.js.map +1 -1
  228. package/dist/index.cjs446.js +2 -0
  229. package/dist/index.cjs446.js.map +1 -0
  230. package/dist/index.cjs447.js +2 -0
  231. package/dist/index.cjs447.js.map +1 -0
  232. package/dist/index.cjs448.js +1 -1
  233. package/dist/index.cjs448.js.map +1 -1
  234. package/dist/index.cjs449.js +1 -1
  235. package/dist/index.cjs449.js.map +1 -1
  236. package/dist/index.cjs45.js +1 -1
  237. package/dist/index.cjs451.js +1 -4
  238. package/dist/index.cjs451.js.map +1 -1
  239. package/dist/index.cjs452.js +1 -1
  240. package/dist/index.cjs452.js.map +1 -1
  241. package/dist/index.cjs455.js +1 -1
  242. package/dist/index.cjs455.js.map +1 -1
  243. package/dist/index.cjs456.js +1 -38
  244. package/dist/index.cjs456.js.map +1 -1
  245. package/dist/index.cjs457.js +1 -1
  246. package/dist/index.cjs457.js.map +1 -1
  247. package/dist/index.cjs458.js +1 -1
  248. package/dist/index.cjs458.js.map +1 -1
  249. package/dist/index.cjs46.js +1 -1
  250. package/dist/index.cjs460.js +1 -1
  251. package/dist/index.cjs460.js.map +1 -1
  252. package/dist/index.cjs461.js +1 -1
  253. package/dist/index.cjs461.js.map +1 -1
  254. package/dist/index.cjs462.js +1 -1
  255. package/dist/index.cjs462.js.map +1 -1
  256. package/dist/index.cjs463.js +1 -1
  257. package/dist/index.cjs463.js.map +1 -1
  258. package/dist/index.cjs464.js +1 -1
  259. package/dist/index.cjs464.js.map +1 -1
  260. package/dist/index.cjs465.js +1 -1
  261. package/dist/index.cjs465.js.map +1 -1
  262. package/dist/index.cjs466.js +1 -1
  263. package/dist/index.cjs466.js.map +1 -1
  264. package/dist/index.cjs47.js +1 -1
  265. package/dist/index.cjs472.js +1 -1
  266. package/dist/index.cjs479.js +1 -1
  267. package/dist/index.cjs496.js +1 -1
  268. package/dist/index.cjs50.js +1 -1
  269. package/dist/index.cjs51.js +1 -1
  270. package/dist/index.cjs52.js +1 -1
  271. package/dist/index.cjs53.js +1 -1
  272. package/dist/index.cjs54.js +1 -1
  273. package/dist/index.cjs55.js +1 -1
  274. package/dist/index.cjs56.js +1 -1
  275. package/dist/index.cjs58.js +1 -1
  276. package/dist/index.cjs6.js +1 -1
  277. package/dist/index.cjs60.js +1 -1
  278. package/dist/index.cjs61.js +1 -1
  279. package/dist/index.cjs62.js +1 -1
  280. package/dist/index.cjs63.js +1 -1
  281. package/dist/index.cjs65.js +1 -1
  282. package/dist/index.cjs67.js +1 -1
  283. package/dist/index.cjs68.js +1 -1
  284. package/dist/index.cjs69.js +1 -1
  285. package/dist/index.cjs7.js +1 -1
  286. package/dist/index.cjs71.js +1 -1
  287. package/dist/index.cjs72.js +1 -1
  288. package/dist/index.cjs73.js +1 -1
  289. package/dist/index.cjs8.js +1 -1
  290. package/dist/index.cjs9.js +1 -1
  291. package/dist/index.cjs93.js +1 -1
  292. package/dist/index.cjs95.js +1 -1
  293. package/dist/index.cjs97.js +1 -1
  294. package/dist/index.es10.js +2 -2
  295. package/dist/index.es103.js +1 -1
  296. package/dist/index.es104.js +1 -1
  297. package/dist/index.es105.js +1 -1
  298. package/dist/index.es106.js +1 -1
  299. package/dist/index.es107.js +1 -1
  300. package/dist/index.es11.js +1 -1
  301. package/dist/index.es110.js +1 -1
  302. package/dist/index.es115.js +1 -1
  303. package/dist/index.es117.js +1 -1
  304. package/dist/index.es118.js +1 -1
  305. package/dist/index.es119.js +1 -1
  306. package/dist/index.es12.js +1 -1
  307. package/dist/index.es120.js +1 -1
  308. package/dist/index.es121.js +1 -1
  309. package/dist/index.es123.js +2 -2
  310. package/dist/index.es124.js +1 -1
  311. package/dist/index.es125.js +1 -1
  312. package/dist/index.es126.js +2 -2
  313. package/dist/index.es127.js +1 -1
  314. package/dist/index.es13.js +1 -1
  315. package/dist/index.es130.js +2 -2
  316. package/dist/index.es132.js +1 -1
  317. package/dist/index.es134.js +2 -2
  318. package/dist/index.es135.js +2 -2
  319. package/dist/index.es136.js +2 -2
  320. package/dist/index.es137.js +2 -2
  321. package/dist/index.es138.js +2 -2
  322. package/dist/index.es139.js +2 -2
  323. package/dist/index.es14.js +1 -1
  324. package/dist/index.es140.js +2 -2
  325. package/dist/index.es141.js +2 -2
  326. package/dist/index.es142.js +2 -2
  327. package/dist/index.es143.js +2 -2
  328. package/dist/index.es144.js +2 -2
  329. package/dist/index.es145.js +2 -2
  330. package/dist/index.es146.js +2 -2
  331. package/dist/index.es147.js +2 -2
  332. package/dist/index.es148.js +2 -2
  333. package/dist/index.es149.js +2 -2
  334. package/dist/index.es15.js +1 -1
  335. package/dist/index.es150.js +2 -2
  336. package/dist/index.es151.js +2 -2
  337. package/dist/index.es152.js +2 -2
  338. package/dist/index.es153.js +2 -2
  339. package/dist/index.es154.js +2 -2
  340. package/dist/index.es155.js +2 -2
  341. package/dist/index.es156.js +2 -2
  342. package/dist/index.es157.js +1 -1
  343. package/dist/index.es158.js +1 -1
  344. package/dist/index.es159.js +1 -1
  345. package/dist/index.es16.js +1 -1
  346. package/dist/index.es160.js +2 -2
  347. package/dist/index.es161.js +2 -2
  348. package/dist/index.es162.js +2 -2
  349. package/dist/index.es164.js +2 -2
  350. package/dist/index.es165.js +2 -2
  351. package/dist/index.es166.js +2 -2
  352. package/dist/index.es167.js +2 -2
  353. package/dist/index.es168.js +2 -2
  354. package/dist/index.es169.js +2 -2
  355. package/dist/index.es17.js +1 -1
  356. package/dist/index.es170.js +2 -2
  357. package/dist/index.es171.js +2 -2
  358. package/dist/index.es172.js +2 -2
  359. package/dist/index.es174.js +2 -2
  360. package/dist/index.es175.js +2 -2
  361. package/dist/index.es176.js +2 -2
  362. package/dist/index.es177.js +2 -2
  363. package/dist/index.es178.js +2 -2
  364. package/dist/index.es179.js +2 -2
  365. package/dist/index.es18.js +1 -1
  366. package/dist/index.es180.js +2 -2
  367. package/dist/index.es182.js +2 -2
  368. package/dist/index.es183.js +2 -2
  369. package/dist/index.es184.js +2 -2
  370. package/dist/index.es185.js +2 -2
  371. package/dist/index.es186.js +2 -2
  372. package/dist/index.es187.js +2 -2
  373. package/dist/index.es188.js +2 -2
  374. package/dist/index.es189.js +2 -2
  375. package/dist/index.es19.js +1 -1
  376. package/dist/index.es195.js +2 -2
  377. package/dist/index.es197.js +71 -76
  378. package/dist/index.es197.js.map +1 -1
  379. package/dist/index.es198.js +1 -11
  380. package/dist/index.es198.js.map +1 -1
  381. package/dist/index.es20.js +1 -1
  382. package/dist/index.es202.js +58 -63
  383. package/dist/index.es202.js.map +1 -1
  384. package/dist/index.es21.js +1 -1
  385. package/dist/index.es211.js +26 -29
  386. package/dist/index.es211.js.map +1 -1
  387. package/dist/index.es215.js +15 -18
  388. package/dist/index.es215.js.map +1 -1
  389. package/dist/index.es218.js +15 -2
  390. package/dist/index.es218.js.map +1 -1
  391. package/dist/index.es220.js +6 -0
  392. package/dist/index.es220.js.map +1 -0
  393. package/dist/index.es227.js +8 -0
  394. package/dist/index.es227.js.map +1 -0
  395. package/dist/index.es228.js +59 -5
  396. package/dist/index.es228.js.map +1 -1
  397. package/dist/index.es23.js +2 -2
  398. package/dist/index.es231.js +5 -0
  399. package/dist/index.es231.js.map +1 -0
  400. package/dist/index.es24.js +1 -1
  401. package/dist/index.es241.js +2 -2
  402. package/dist/index.es245.js +1 -1
  403. package/dist/index.es249.js +7 -7
  404. package/dist/index.es252.js +2 -2
  405. package/dist/index.es253.js +2 -2
  406. package/dist/index.es254.js +2 -2
  407. package/dist/index.es26.js +2 -2
  408. package/dist/index.es260.js +8 -8
  409. package/dist/index.es27.js +1 -1
  410. package/dist/index.es270.js +1 -1
  411. package/dist/index.es274.js +2 -2
  412. package/dist/index.es276.js +14 -14
  413. package/dist/index.es284.js +2 -2
  414. package/dist/index.es287.js +1 -1
  415. package/dist/index.es293.js +2 -2
  416. package/dist/index.es298.js +1 -1
  417. package/dist/index.es30.js +1 -1
  418. package/dist/index.es301.js +2 -2
  419. package/dist/index.es302.js +2 -2
  420. package/dist/index.es303.js +7 -7
  421. package/dist/index.es31.js +1 -1
  422. package/dist/index.es32.js +1 -1
  423. package/dist/index.es33.js +1 -1
  424. package/dist/index.es34.js +1 -1
  425. package/dist/index.es342.js +4 -4
  426. package/dist/index.es35.js +1 -1
  427. package/dist/index.es350.js +1 -1
  428. package/dist/index.es36.js +1 -1
  429. package/dist/index.es361.js +1 -1
  430. package/dist/index.es363.js +1 -1
  431. package/dist/index.es382.js +1 -1
  432. package/dist/index.es385.js +2 -2
  433. package/dist/index.es389.js +1 -1
  434. package/dist/index.es390.js +307 -146
  435. package/dist/index.es390.js.map +1 -1
  436. package/dist/index.es391.js +3675 -2
  437. package/dist/index.es391.js.map +1 -1
  438. package/dist/index.es392.js +6 -2
  439. package/dist/index.es392.js.map +1 -1
  440. package/dist/index.es393.js +2 -6
  441. package/dist/index.es393.js.map +1 -1
  442. package/dist/index.es394.js +5 -26
  443. package/dist/index.es394.js.map +1 -1
  444. package/dist/index.es395.js +513 -60
  445. package/dist/index.es395.js.map +1 -1
  446. package/dist/index.es396.js +2 -7
  447. package/dist/index.es396.js.map +1 -1
  448. package/dist/index.es397.js +2 -30
  449. package/dist/index.es397.js.map +1 -1
  450. package/dist/index.es40.js +1 -1
  451. package/dist/index.es404.js +27 -4
  452. package/dist/index.es404.js.map +1 -1
  453. package/dist/index.es405.js +63 -48
  454. package/dist/index.es405.js.map +1 -1
  455. package/dist/index.es406.js +6 -3674
  456. package/dist/index.es406.js.map +1 -1
  457. package/dist/index.es407.js +30 -2
  458. package/dist/index.es407.js.map +1 -1
  459. package/dist/index.es408.js +5 -5
  460. package/dist/index.es408.js.map +1 -1
  461. package/dist/index.es409.js +22 -518
  462. package/dist/index.es409.js.map +1 -1
  463. package/dist/index.es41.js +1 -1
  464. package/dist/index.es410.js +68 -14
  465. package/dist/index.es410.js.map +1 -1
  466. package/dist/{index.es401.js → index.es411.js} +2 -2
  467. package/dist/{index.es401.js.map → index.es411.js.map} +1 -1
  468. package/dist/{index.es403.js → index.es412.js} +1 -1
  469. package/dist/{index.es403.js.map → index.es412.js.map} +1 -1
  470. package/dist/index.es413.js +3 -621
  471. package/dist/index.es413.js.map +1 -1
  472. package/dist/index.es414.js +52 -10
  473. package/dist/index.es414.js.map +1 -1
  474. package/dist/index.es417.js +10 -124
  475. package/dist/index.es417.js.map +1 -1
  476. package/dist/index.es418.js +116 -126
  477. package/dist/index.es418.js.map +1 -1
  478. package/dist/index.es419.js +134 -13
  479. package/dist/index.es419.js.map +1 -1
  480. package/dist/index.es42.js +1 -1
  481. package/dist/index.es420.js +13 -14
  482. package/dist/index.es420.js.map +1 -1
  483. package/dist/index.es421.js +14 -8
  484. package/dist/index.es421.js.map +1 -1
  485. package/dist/index.es422.js +9 -50
  486. package/dist/index.es422.js.map +1 -1
  487. package/dist/index.es423.js +49 -45
  488. package/dist/index.es423.js.map +1 -1
  489. package/dist/index.es427.js +15 -0
  490. package/dist/index.es427.js.map +1 -0
  491. package/dist/index.es428.js +24 -11
  492. package/dist/index.es428.js.map +1 -1
  493. package/dist/{index.es443.js → index.es429.js} +5 -5
  494. package/dist/{index.es443.js.map → index.es429.js.map} +1 -1
  495. package/dist/index.es430.js +8 -0
  496. package/dist/{index.es444.js.map → index.es430.js.map} +1 -1
  497. package/dist/index.es431.js +8 -0
  498. package/dist/index.es431.js.map +1 -0
  499. package/dist/index.es432.js +6 -0
  500. package/dist/index.es432.js.map +1 -0
  501. package/dist/{index.es450.js → index.es433.js} +3 -3
  502. package/dist/{index.es450.js.map → index.es433.js.map} +1 -1
  503. package/dist/index.es434.js +113 -0
  504. package/dist/index.es434.js.map +1 -0
  505. package/dist/index.es435.js +15 -204
  506. package/dist/index.es435.js.map +1 -1
  507. package/dist/index.es436.js +69 -22
  508. package/dist/index.es436.js.map +1 -1
  509. package/dist/index.es437.js +7 -391
  510. package/dist/index.es437.js.map +1 -1
  511. package/dist/index.es438.js +17 -0
  512. package/dist/index.es438.js.map +1 -0
  513. package/dist/{index.es459.js → index.es439.js} +1 -1
  514. package/dist/{index.es459.js.map → index.es439.js.map} +1 -1
  515. package/dist/index.es44.js +1 -1
  516. package/dist/index.es440.js +68 -0
  517. package/dist/index.es440.js.map +1 -0
  518. package/dist/index.es441.js +3 -14
  519. package/dist/index.es441.js.map +1 -1
  520. package/dist/index.es442.js +22 -24
  521. package/dist/index.es442.js.map +1 -1
  522. package/dist/index.es446.js +26 -0
  523. package/dist/index.es446.js.map +1 -0
  524. package/dist/index.es447.js +16 -0
  525. package/dist/index.es447.js.map +1 -0
  526. package/dist/index.es448.js +28 -5
  527. package/dist/index.es448.js.map +1 -1
  528. package/dist/index.es449.js +5 -3
  529. package/dist/index.es449.js.map +1 -1
  530. package/dist/index.es45.js +1 -1
  531. package/dist/index.es451.js +615 -103
  532. package/dist/index.es451.js.map +1 -1
  533. package/dist/index.es452.js +14 -15
  534. package/dist/index.es452.js.map +1 -1
  535. package/dist/index.es455.js +42 -125
  536. package/dist/index.es455.js.map +1 -1
  537. package/dist/index.es456.js +8 -69
  538. package/dist/index.es456.js.map +1 -1
  539. package/dist/index.es457.js +217 -8
  540. package/dist/index.es457.js.map +1 -1
  541. package/dist/index.es458.js +176 -12
  542. package/dist/index.es458.js.map +1 -1
  543. package/dist/index.es46.js +1 -1
  544. package/dist/index.es460.js +200 -60
  545. package/dist/index.es460.js.map +1 -1
  546. package/dist/index.es461.js +22 -4
  547. package/dist/index.es461.js.map +1 -1
  548. package/dist/index.es462.js +391 -21
  549. package/dist/index.es462.js.map +1 -1
  550. package/dist/index.es463.js +15 -23
  551. package/dist/index.es463.js.map +1 -1
  552. package/dist/index.es464.js +520 -10
  553. package/dist/index.es464.js.map +1 -1
  554. package/dist/index.es465.js +125 -26
  555. package/dist/index.es465.js.map +1 -1
  556. package/dist/index.es466.js +129 -5
  557. package/dist/index.es466.js.map +1 -1
  558. package/dist/index.es47.js +1 -1
  559. package/dist/index.es472.js +1 -1
  560. package/dist/index.es479.js +8 -8
  561. package/dist/index.es496.js +1 -1
  562. package/dist/index.es50.js +2 -2
  563. package/dist/index.es51.js +1 -1
  564. package/dist/index.es52.js +1 -1
  565. package/dist/index.es53.js +1 -1
  566. package/dist/index.es54.js +1 -1
  567. package/dist/index.es55.js +1 -1
  568. package/dist/index.es56.js +1 -1
  569. package/dist/index.es58.js +2 -2
  570. package/dist/index.es6.js +1 -1
  571. package/dist/index.es60.js +1 -1
  572. package/dist/index.es61.js +1 -1
  573. package/dist/index.es62.js +1 -1
  574. package/dist/index.es63.js +2 -2
  575. package/dist/index.es65.js +1 -1
  576. package/dist/index.es67.js +1 -1
  577. package/dist/index.es68.js +1 -1
  578. package/dist/index.es69.js +1 -1
  579. package/dist/index.es7.js +1 -1
  580. package/dist/index.es71.js +1 -1
  581. package/dist/index.es72.js +1 -1
  582. package/dist/index.es73.js +1 -1
  583. package/dist/index.es8.js +1 -1
  584. package/dist/index.es9.js +2 -2
  585. package/dist/index.es93.js +1 -1
  586. package/dist/index.es95.js +1 -1
  587. package/dist/index.es97.js +1 -1
  588. package/package.json +1 -1
  589. package/dist/index.cjs217.js +0 -2
  590. package/dist/index.cjs217.js.map +0 -1
  591. package/dist/index.cjs221.js +0 -2
  592. package/dist/index.cjs221.js.map +0 -1
  593. package/dist/index.cjs229.js +0 -7
  594. package/dist/index.cjs229.js.map +0 -1
  595. package/dist/index.cjs398.js +0 -2
  596. package/dist/index.cjs398.js.map +0 -1
  597. package/dist/index.cjs399.js +0 -2
  598. package/dist/index.cjs399.js.map +0 -1
  599. package/dist/index.cjs400.js +0 -2
  600. package/dist/index.cjs400.js.map +0 -1
  601. package/dist/index.cjs424.js +0 -2
  602. package/dist/index.cjs424.js.map +0 -1
  603. package/dist/index.cjs425.js +0 -2
  604. package/dist/index.cjs425.js.map +0 -1
  605. package/dist/index.cjs426.js +0 -2
  606. package/dist/index.cjs426.js.map +0 -1
  607. package/dist/index.cjs444.js +0 -2
  608. package/dist/index.cjs453.js +0 -2
  609. package/dist/index.cjs453.js.map +0 -1
  610. package/dist/index.cjs454.js +0 -2
  611. package/dist/index.cjs454.js.map +0 -1
  612. package/dist/index.es217.js +0 -18
  613. package/dist/index.es217.js.map +0 -1
  614. package/dist/index.es221.js +0 -6
  615. package/dist/index.es221.js.map +0 -1
  616. package/dist/index.es229.js +0 -62
  617. package/dist/index.es229.js.map +0 -1
  618. package/dist/index.es398.js +0 -9
  619. package/dist/index.es398.js.map +0 -1
  620. package/dist/index.es399.js +0 -28
  621. package/dist/index.es399.js.map +0 -1
  622. package/dist/index.es400.js +0 -72
  623. package/dist/index.es400.js.map +0 -1
  624. package/dist/index.es424.js +0 -11
  625. package/dist/index.es424.js.map +0 -1
  626. package/dist/index.es425.js +0 -221
  627. package/dist/index.es425.js.map +0 -1
  628. package/dist/index.es426.js +0 -181
  629. package/dist/index.es426.js.map +0 -1
  630. package/dist/index.es444.js +0 -8
  631. package/dist/index.es453.js +0 -526
  632. package/dist/index.es453.js.map +0 -1
  633. package/dist/index.es454.js +0 -130
  634. package/dist/index.es454.js.map +0 -1
  635. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es421.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,CAAE,GAAEH,GAAO,EAAE,KAAKC,GAAK,SAASG,GAAS,CAAC;AAAK,CAAA;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es421.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":";AAIA,IAAIA,IAAQ;AAKZ,SAASC,IAAiB;AACxB,EAAAC,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAa,SAAS,iBAAiB,0BAA0B;AACvE,oBAAS,KAAK,sBAAsB,cAAcA,EAAW,CAAC,KAAKC,GAAkB,GACrF,SAAS,KAAK,sBAAsB,aAAaD,EAAW,CAAC,KAAKC,GAAkB,GACpFJ,KACO,MAAM;AACX,MAAIA,MAAU,KACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAAQ,CAACK,MAASA,EAAK,QAAQ,GAEvFL;AAAA,IACD;AAAA,EACF,GAAE,EAAE;AACP;AACA,SAASI,IAAmB;AAC1B,QAAME,IAAU,SAAS,cAAc,MAAM;AAC7C,SAAAA,EAAQ,aAAa,0BAA0B,EAAE,GACjDA,EAAQ,WAAW,GACnBA,EAAQ,MAAM,UAAU,QACxBA,EAAQ,MAAM,UAAU,KACxBA,EAAQ,MAAM,WAAW,SACzBA,EAAQ,MAAM,gBAAgB,QACvBA;AACT;","x_google_ignoreList":[0]}
@@ -1,53 +1,12 @@
1
- var S = function(r) {
2
- if (typeof document > "u")
3
- return null;
4
- var u = Array.isArray(r) ? r[0] : r;
5
- return u.ownerDocument.body;
6
- }, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
7
- return r && (r.host || W(r.parentNode));
8
- }, D = function(r, u) {
9
- return u.map(function(e) {
10
- if (r.contains(e))
11
- return e;
12
- var n = W(e);
13
- return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
14
- }).filter(function(e) {
15
- return !!e;
16
- });
17
- }, E = function(r, u, e, n) {
18
- var i = D(u, Array.isArray(r) ? r : [r]);
19
- p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
20
- var o = p[e], l = [], s = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
21
- !t || s.has(t) || (s.add(t), y(t.parentNode));
22
- };
23
- i.forEach(y);
24
- var A = function(t) {
25
- !t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
26
- if (s.has(a))
27
- A(a);
28
- else
29
- try {
30
- var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (o.get(a) || 0) + 1;
31
- f.set(a, d), o.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
32
- } catch (k) {
33
- console.error("aria-hidden: cannot operate on ", a, k);
34
- }
35
- });
36
- };
37
- return A(u), s.clear(), h++, function() {
38
- l.forEach(function(t) {
39
- var a = f.get(t) - 1, c = o.get(t) - 1;
40
- f.set(t, a), o.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
41
- }), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
42
- };
43
- }, C = function(r, u, e) {
44
- e === void 0 && (e = "data-aria-hidden");
45
- var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
46
- return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), E(n, i, e, "aria-hidden")) : function() {
47
- return null;
48
- };
49
- };
1
+ import { __assign as m } from "./index.es428.js";
2
+ import * as r from "react";
3
+ import { RemoveScroll as e } from "./index.es429.js";
4
+ import t from "./index.es430.js";
5
+ var s = r.forwardRef(function(a, o) {
6
+ return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
7
+ });
8
+ s.classNames = e.classNames;
50
9
  export {
51
- C as hideOthers
10
+ s as default
52
11
  };
53
12
  //# sourceMappingURL=index.es422.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es422.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es422.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,CAAE,GAAEH,GAAO,EAAE,KAAKC,GAAK,SAASG,GAAS,CAAC;AAAK,CAAA;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
@@ -1,49 +1,53 @@
1
- import r from "react";
2
- import { createContextScope as y } from "./index.es395.js";
3
- import { useComposedRefs as S } from "./index.es394.js";
4
- import { createSlot as M } from "./index.es405.js";
5
- import { j as d } from "./index.es216.js";
6
- function D(s) {
7
- const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
- m,
9
- { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
- ), p = (c) => {
11
- const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
- return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
1
+ var S = function(r) {
2
+ if (typeof document > "u")
3
+ return null;
4
+ var u = Array.isArray(r) ? r[0] : r;
5
+ return u.ownerDocument.body;
6
+ }, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
7
+ return r && (r.host || W(r.parentNode));
8
+ }, D = function(r, u) {
9
+ return u.map(function(e) {
10
+ if (r.contains(e))
11
+ return e;
12
+ var n = W(e);
13
+ return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
14
+ }).filter(function(e) {
15
+ return !!e;
16
+ });
17
+ }, E = function(r, u, e, n) {
18
+ var i = D(u, Array.isArray(r) ? r : [r]);
19
+ p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
20
+ var o = p[e], l = [], s = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
21
+ !t || s.has(t) || (s.add(t), y(t.parentNode));
13
22
  };
14
- p.displayName = m;
15
- const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
- (c, e) => {
17
- const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
- return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
19
- }
20
- );
21
- C.displayName = a;
22
- const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
- (c, e) => {
24
- const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
- return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
26
- }
27
- );
28
- x.displayName = u;
29
- function O(c) {
30
- const e = f(s + "CollectionConsumer", c);
31
- return r.useCallback(() => {
32
- const o = e.collectionRef.current;
33
- if (!o) return [];
34
- const t = Array.from(o.querySelectorAll(`[${R}]`));
35
- return Array.from(e.itemMap.values()).sort(
36
- (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
- );
38
- }, [e.collectionRef, e.itemMap]);
39
- }
40
- return [
41
- { Provider: p, Slot: C, ItemSlot: x },
42
- O,
43
- E
44
- ];
45
- }
23
+ i.forEach(y);
24
+ var A = function(t) {
25
+ !t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
26
+ if (s.has(a))
27
+ A(a);
28
+ else
29
+ try {
30
+ var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (o.get(a) || 0) + 1;
31
+ f.set(a, d), o.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
32
+ } catch (k) {
33
+ console.error("aria-hidden: cannot operate on ", a, k);
34
+ }
35
+ });
36
+ };
37
+ return A(u), s.clear(), h++, function() {
38
+ l.forEach(function(t) {
39
+ var a = f.get(t) - 1, c = o.get(t) - 1;
40
+ f.set(t, a), o.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
41
+ }), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
42
+ };
43
+ }, C = function(r, u, e) {
44
+ e === void 0 && (e = "data-aria-hidden");
45
+ var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
46
+ return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), E(n, i, e, "aria-hidden")) : function() {
47
+ return null;
48
+ };
49
+ };
46
50
  export {
47
- D as createCollection
51
+ C as hideOthers
48
52
  };
49
53
  //# sourceMappingURL=index.es423.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es423.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":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,gBAAAA,EAAG,IAACT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACpG;AACD,EAAAH,EAAmB,cAAcN;AACjC,QAAMc,IAAuBf,IAAO,kBAC9BgB,IAAqBC,EAAWF,CAAoB,GACpDG,IAAiBN,EAAM;AAAA,IAC3B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,EAAQ,IAAKF,GACtBY,IAAUd,EAAqBS,GAAsBN,CAAK,GAC1DY,IAAeC,EAAgBH,GAAcC,EAAQ,aAAa;AACxE,aAAuBN,gBAAAA,EAAAA,IAAIE,GAAoB,EAAE,KAAKK,GAAc,UAAAX,EAAQ,CAAE;AAAA,IACpF;AAAA,EACG;AACD,EAAAQ,EAAe,cAAcH;AAC7B,QAAMQ,IAAiBvB,IAAO,sBACxBwB,IAAiB,8BACjBC,IAAyBR,EAAWM,CAAc,GAClDG,IAAqBd,EAAM;AAAA,IAC/B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,GAAU,GAAGiB,EAAU,IAAGnB,GACnCG,IAAMC,EAAM,OAAO,IAAI,GACvBS,IAAeC,EAAgBH,GAAcR,CAAG,GAChDS,IAAUd,EAAqBiB,GAAgBd,CAAK;AAC1DG,aAAAA,EAAM,UAAU,OACdQ,EAAQ,QAAQ,IAAIT,GAAK,EAAE,KAAAA,GAAK,GAAGgB,GAAU,GACtC,MAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,GACsBG,gBAAAA,MAAIW,GAAwB,EAAO,CAACD,CAAc,GAAG,IAAM,KAAKH,GAAc,UAAAX,GAAU;AAAA,IACrH;AAAA,EACG;AACD,EAAAgB,EAAmB,cAAcH;AACjC,WAASK,EAAcnB,GAAO;AAC5B,UAAMW,IAAUd,EAAqBN,IAAO,sBAAsBS,CAAK;AAWvE,WAViBG,EAAM,YAAY,MAAM;AACvC,YAAMiB,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAE;AAC9B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es423.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"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","x_google_ignoreList":[0]}
@@ -0,0 +1,15 @@
1
+ import * as r from "react";
2
+ import { useCallbackRef as s } from "./index.es412.js";
3
+ function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
+ const t = s(n);
5
+ r.useEffect(() => {
6
+ const o = (a) => {
7
+ a.key === "Escape" && t(a);
8
+ };
9
+ return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
+ }, [t, e]);
11
+ }
12
+ export {
13
+ p as useEscapeKeydown
14
+ };
15
+ //# sourceMappingURL=index.es427.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es427.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
@@ -1,15 +1,28 @@
1
- import * as r from "react";
2
- import { useCallbackRef as s } from "./index.es403.js";
3
- function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
- const t = s(n);
5
- r.useEffect(() => {
6
- const o = (a) => {
7
- a.key === "Escape" && t(a);
8
- };
9
- return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
- }, [t, e]);
1
+ var p = function() {
2
+ return p = Object.assign || function(e) {
3
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
4
+ n = arguments[r];
5
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
6
+ }
7
+ return e;
8
+ }, p.apply(this, arguments);
9
+ };
10
+ function c(t, e) {
11
+ var n = {};
12
+ for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
+ for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
+ e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
+ return n;
17
+ }
18
+ function l(t, e, n) {
19
+ if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
+ (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
+ return t.concat(a || Array.prototype.slice.call(e));
11
22
  }
12
23
  export {
13
- p as useEscapeKeydown
24
+ p as __assign,
25
+ c as __rest,
26
+ l as __spreadArray
14
27
  };
15
28
  //# sourceMappingURL=index.es428.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es428.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es428.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IACrF;AACM,WAAOJ;AAAA,EACb,GACSD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAE;AACV,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
- import { __rest as k, __assign as r } from "./index.es442.js";
1
+ import { __rest as k, __assign as r } from "./index.es428.js";
2
2
  import * as a from "react";
3
- import { zeroRightClassName as E, fullWidthClassName as I } from "./index.es448.js";
4
- import { effectCar as Z } from "./index.es449.js";
5
- import { useMergeRefs as W } from "./index.es450.js";
3
+ import { zeroRightClassName as E, fullWidthClassName as I } from "./index.es431.js";
4
+ import { effectCar as Z } from "./index.es432.js";
5
+ import { useMergeRefs as W } from "./index.es433.js";
6
6
  var o = function() {
7
7
  }, m = a.forwardRef(function(e, d) {
8
8
  var l = a.useRef(null), n = a.useState({
@@ -29,4 +29,4 @@ m.classNames = {
29
29
  export {
30
30
  m as RemoveScroll
31
31
  };
32
- //# sourceMappingURL=index.es443.js.map
32
+ //# sourceMappingURL=index.es429.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es443.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":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAcb,EAAM,aAAac,IAAQd,EAAM,OAAOe,IAAiBf,EAAM,gBAAgBgB,IAAKhB,EAAM,IAAIiB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUlB,EAAM,SAASmB,IAAOC,EAAOpB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACtiBqB,IAAUT,GACVU,IAAeC,EAAa,CAACrB,GAAKD,CAAS,CAAC,GAC5CuB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGf,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcsB,GAAS,EAAE,SAASK,GAAW,iBAAiBjB,GAAiB,QAAQE,GAAQ,aAAaE,GAAa,OAAOC,GAAO,cAAcT,GAAc,gBAAgB,CAAC,CAACU,GAAgB,SAASb,GAAK,SAASgB,EAAS,CAAA;AAAA,IACvPZ,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGkB,EAASA,EAAS,CAAE,GAAED,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMvB,EAAM,cAAckB,GAAWQ,EAAS,CAAE,GAAED,GAAgB,EAAE,WAAWhB,GAAW,KAAKc,EAAc,CAAA,GAAGf,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW6B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es429.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":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAcb,EAAM,aAAac,IAAQd,EAAM,OAAOe,IAAiBf,EAAM,gBAAgBgB,IAAKhB,EAAM,IAAIiB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUlB,EAAM,SAASmB,IAAOC,EAAOpB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACtiBqB,IAAUT,GACVU,IAAeC,EAAa,CAACrB,GAAKD,CAAS,CAAC,GAC5CuB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGf,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcsB,GAAS,EAAE,SAASK,GAAW,iBAAiBjB,GAAiB,QAAQE,GAAQ,aAAaE,GAAa,OAAOC,GAAO,cAAcT,GAAc,gBAAgB,CAAC,CAACU,GAAgB,SAASb,GAAK,SAASgB,EAAS,CAAA;AAAA,IACvPZ,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGkB,EAASA,EAAS,CAAE,GAAED,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMvB,EAAM,cAAckB,GAAWQ,EAAS,CAAE,GAAED,GAAgB,EAAE,WAAWhB,GAAW,KAAKc,EAAc,CAAA,GAAGf,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW6B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import { RemoveScrollSideCar as r } from "./index.es434.js";
2
+ import { effectCar as o } from "./index.es432.js";
3
+ import { exportSidecar as e } from "./index.es435.js";
4
+ const f = e(o, r);
5
+ export {
6
+ f as default
7
+ };
8
+ //# sourceMappingURL=index.es430.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es444.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":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es430.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":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
+ export {
3
+ a as fullWidthClassName,
4
+ l as noScrollbarsClassName,
5
+ e as removedBarSizeVariable,
6
+ r as zeroRightClassName
7
+ };
8
+ //# sourceMappingURL=index.es431.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es431.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":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
@@ -0,0 +1,6 @@
1
+ import { createSidecarMedium as e } from "./index.es440.js";
2
+ var a = e();
3
+ export {
4
+ a as effectCar
5
+ };
6
+ //# sourceMappingURL=index.es432.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es432.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":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import * as f from "react";
2
- import { assignRef as o } from "./index.es461.js";
3
- import { useCallbackRef as l } from "./index.es462.js";
2
+ import { assignRef as o } from "./index.es441.js";
3
+ import { useCallbackRef as l } from "./index.es442.js";
4
4
  var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
5
  function v(e, m) {
6
6
  var t = l(null, function(n) {
@@ -24,4 +24,4 @@ function v(e, m) {
24
24
  export {
25
25
  v as useMergeRefs
26
26
  };
27
- //# sourceMappingURL=index.es450.js.map
27
+ //# sourceMappingURL=index.es433.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es450.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":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAS;AAe1B,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,KAAI;AAAA,EAC/E,CAAK;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAEvC,CAAa,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAE5C,CAAa;AAAA,IACb;AACQ,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EAC3C,GAAO,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es433.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":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAS;AAe1B,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,KAAI;AAAA,EAC/E,CAAK;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAEvC,CAAa,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAE5C,CAAa;AAAA,IACb;AACQ,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EAC3C,GAAO,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
@@ -0,0 +1,113 @@
1
+ import { __spreadArray as x } from "./index.es428.js";
2
+ import * as n from "react";
3
+ import { RemoveScrollBar as A } from "./index.es436.js";
4
+ import { styleSingleton as I } from "./index.es437.js";
5
+ import { nonPassive as s } from "./index.es438.js";
6
+ import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es439.js";
7
+ var b = function(t) {
8
+ return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
9
+ }, Y = function(t) {
10
+ return [t.deltaX, t.deltaY];
11
+ }, B = function(t) {
12
+ return t && "current" in t ? t.current : t;
13
+ }, p = function(t, c) {
14
+ return t[0] === c[0] && t[1] === c[1];
15
+ }, F = function(t) {
16
+ return `
17
+ .block-interactivity-`.concat(t, ` {pointer-events: none;}
18
+ .allow-interactivity-`).concat(t, ` {pointer-events: all;}
19
+ `);
20
+ }, K = 0, f = [];
21
+ function z(t) {
22
+ var c = n.useRef([]), E = n.useRef([0, 0]), d = n.useRef(), h = n.useState(K++)[0], m = n.useState(I)[0], g = n.useRef(t);
23
+ n.useEffect(function() {
24
+ g.current = t;
25
+ }, [t]), n.useEffect(function() {
26
+ if (t.inert) {
27
+ document.body.classList.add("block-interactivity-".concat(h));
28
+ var e = x([t.lockRef.current], (t.shards || []).map(B), !0).filter(Boolean);
29
+ return e.forEach(function(r) {
30
+ return r.classList.add("allow-interactivity-".concat(h));
31
+ }), function() {
32
+ document.body.classList.remove("block-interactivity-".concat(h)), e.forEach(function(r) {
33
+ return r.classList.remove("allow-interactivity-".concat(h));
34
+ });
35
+ };
36
+ }
37
+ }, [t.inert, t.lockRef.current, t.shards]);
38
+ var k = n.useCallback(function(e, r) {
39
+ if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey)
40
+ return !g.current.allowPinchZoom;
41
+ var l = b(e), o = E.current, u = "deltaX" in e ? e.deltaX : o[0] - l[0], i = "deltaY" in e ? e.deltaY : o[1] - l[1], a, C = e.target, v = Math.abs(u) > Math.abs(i) ? "h" : "v";
42
+ if ("touches" in e && v === "h" && C.type === "range")
43
+ return !1;
44
+ var y = T(v, C);
45
+ if (!y)
46
+ return !0;
47
+ if (y ? a = v : (a = v === "v" ? "h" : "v", y = T(v, C)), !y)
48
+ return !1;
49
+ if (!d.current && "changedTouches" in e && (u || i) && (d.current = a), !a)
50
+ return !0;
51
+ var P = d.current || a;
52
+ return W(P, r, e, P === "h" ? u : i);
53
+ }, []), S = n.useCallback(function(e) {
54
+ var r = e;
55
+ if (!(!f.length || f[f.length - 1] !== m)) {
56
+ var l = "deltaY" in r ? Y(r) : b(r), o = c.current.filter(function(a) {
57
+ return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && p(a.delta, l);
58
+ })[0];
59
+ if (o && o.should) {
60
+ r.cancelable && r.preventDefault();
61
+ return;
62
+ }
63
+ if (!o) {
64
+ var u = (g.current.shards || []).map(B).filter(Boolean).filter(function(a) {
65
+ return a.contains(r.target);
66
+ }), i = u.length > 0 ? k(r, u[0]) : !g.current.noIsolation;
67
+ i && r.cancelable && r.preventDefault();
68
+ }
69
+ }
70
+ }, []), R = n.useCallback(function(e, r, l, o) {
71
+ var u = { name: e, delta: r, target: l, should: o, shadowParent: O(l) };
72
+ c.current.push(u), setTimeout(function() {
73
+ c.current = c.current.filter(function(i) {
74
+ return i !== u;
75
+ });
76
+ }, 1);
77
+ }, []), w = n.useCallback(function(e) {
78
+ E.current = b(e), d.current = void 0;
79
+ }, []), L = n.useCallback(function(e) {
80
+ R(e.type, Y(e), e.target, k(e, t.lockRef.current));
81
+ }, []), M = n.useCallback(function(e) {
82
+ R(e.type, b(e), e.target, k(e, t.lockRef.current));
83
+ }, []);
84
+ n.useEffect(function() {
85
+ return f.push(m), t.setCallbacks({
86
+ onScrollCapture: L,
87
+ onWheelCapture: L,
88
+ onTouchMoveCapture: M
89
+ }), document.addEventListener("wheel", S, s), document.addEventListener("touchmove", S, s), document.addEventListener("touchstart", w, s), function() {
90
+ f = f.filter(function(e) {
91
+ return e !== m;
92
+ }), document.removeEventListener("wheel", S, s), document.removeEventListener("touchmove", S, s), document.removeEventListener("touchstart", w, s);
93
+ };
94
+ }, []);
95
+ var X = t.removeScrollBar, D = t.inert;
96
+ return n.createElement(
97
+ n.Fragment,
98
+ null,
99
+ D ? n.createElement(m, { styles: F(h) }) : null,
100
+ X ? n.createElement(A, { gapMode: t.gapMode }) : null
101
+ );
102
+ }
103
+ function O(t) {
104
+ for (var c = null; t !== null; )
105
+ t instanceof ShadowRoot && (c = t.host, t = t.host), t = t.parentNode;
106
+ return c;
107
+ }
108
+ export {
109
+ z as RemoveScrollSideCar,
110
+ Y as getDeltaXY,
111
+ b as getTouchXY
112
+ };
113
+ //# sourceMappingURL=index.es434.js.map