@anoki/fse-ui 1.0.546 → 1.0.548

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 (433) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs103.js +1 -1
  4. package/dist/index.cjs103.js.map +1 -1
  5. package/dist/index.cjs115.js +1 -1
  6. package/dist/index.cjs116.js +1 -1
  7. package/dist/index.cjs117.js +1 -1
  8. package/dist/index.cjs118.js +1 -1
  9. package/dist/index.cjs119.js +1 -1
  10. package/dist/index.cjs120.js +1 -1
  11. package/dist/index.cjs121.js +1 -1
  12. package/dist/index.cjs122.js +1 -1
  13. package/dist/index.cjs123.js +1 -1
  14. package/dist/index.cjs124.js +1 -1
  15. package/dist/index.cjs125.js +1 -1
  16. package/dist/index.cjs126.js +1 -1
  17. package/dist/index.cjs127.js +1 -1
  18. package/dist/index.cjs128.js +1 -1
  19. package/dist/index.cjs129.js +1 -1
  20. package/dist/index.cjs130.js +1 -1
  21. package/dist/index.cjs131.js +1 -1
  22. package/dist/index.cjs132.js +1 -1
  23. package/dist/index.cjs133.js +1 -1
  24. package/dist/index.cjs134.js +1 -1
  25. package/dist/index.cjs135.js +1 -1
  26. package/dist/index.cjs136.js +1 -1
  27. package/dist/index.cjs139.js +1 -1
  28. package/dist/index.cjs140.js +1 -1
  29. package/dist/index.cjs141.js +1 -1
  30. package/dist/index.cjs143.js +1 -1
  31. package/dist/index.cjs144.js +1 -1
  32. package/dist/index.cjs145.js +1 -1
  33. package/dist/index.cjs146.js +1 -1
  34. package/dist/index.cjs147.js +1 -1
  35. package/dist/index.cjs148.js +1 -1
  36. package/dist/index.cjs149.js +1 -1
  37. package/dist/index.cjs150.js +1 -1
  38. package/dist/index.cjs151.js +1 -1
  39. package/dist/index.cjs153.js +1 -1
  40. package/dist/index.cjs154.js +1 -1
  41. package/dist/index.cjs155.js +1 -1
  42. package/dist/index.cjs156.js +1 -1
  43. package/dist/index.cjs157.js +1 -1
  44. package/dist/index.cjs158.js +1 -1
  45. package/dist/index.cjs159.js +1 -1
  46. package/dist/index.cjs161.js +1 -1
  47. package/dist/index.cjs162.js +1 -1
  48. package/dist/index.cjs163.js +1 -1
  49. package/dist/index.cjs164.js +1 -1
  50. package/dist/index.cjs165.js +1 -1
  51. package/dist/index.cjs196.js +1 -1
  52. package/dist/index.cjs196.js.map +1 -1
  53. package/dist/index.cjs198.js +2 -0
  54. package/dist/index.cjs198.js.map +1 -0
  55. package/dist/index.cjs207.js +1 -1
  56. package/dist/index.cjs213.js +1 -1
  57. package/dist/index.cjs216.js +1 -1
  58. package/dist/index.cjs217.js +1 -1
  59. package/dist/index.cjs22.js +1 -1
  60. package/dist/index.cjs224.js +1 -1
  61. package/dist/index.cjs233.js +1 -1
  62. package/dist/index.cjs235.js +1 -1
  63. package/dist/index.cjs242.js +1 -1
  64. package/dist/index.cjs247.js +1 -1
  65. package/dist/index.cjs25.js +1 -1
  66. package/dist/index.cjs254.js +1 -1
  67. package/dist/index.cjs260.js +1 -1
  68. package/dist/index.cjs261.js +1 -1
  69. package/dist/index.cjs262.js +1 -1
  70. package/dist/index.cjs301.js +1 -1
  71. package/dist/index.cjs326.js +1 -1
  72. package/dist/index.cjs327.js +1 -1
  73. package/dist/index.cjs332.js +1 -1
  74. package/dist/index.cjs332.js.map +1 -1
  75. package/dist/index.cjs335.js +1 -1
  76. package/dist/index.cjs335.js.map +1 -1
  77. package/dist/index.cjs336.js +1 -1
  78. package/dist/index.cjs336.js.map +1 -1
  79. package/dist/index.cjs337.js +1 -1
  80. package/dist/index.cjs337.js.map +1 -1
  81. package/dist/index.cjs338.js +1 -1
  82. package/dist/index.cjs338.js.map +1 -1
  83. package/dist/index.cjs339.js +1 -1
  84. package/dist/index.cjs339.js.map +1 -1
  85. package/dist/index.cjs340.js +1 -1
  86. package/dist/index.cjs340.js.map +1 -1
  87. package/dist/index.cjs341.js +1 -1
  88. package/dist/index.cjs341.js.map +1 -1
  89. package/dist/index.cjs342.js +2 -0
  90. package/dist/index.cjs342.js.map +1 -0
  91. package/dist/{index.cjs361.js → index.cjs343.js} +2 -2
  92. package/dist/{index.cjs361.js.map → index.cjs343.js.map} +1 -1
  93. package/dist/index.cjs344.js +1 -1
  94. package/dist/index.cjs344.js.map +1 -1
  95. package/dist/index.cjs345.js +1 -1
  96. package/dist/index.cjs345.js.map +1 -1
  97. package/dist/index.cjs346.js +1 -1
  98. package/dist/index.cjs346.js.map +1 -1
  99. package/dist/index.cjs347.js +1 -1
  100. package/dist/index.cjs347.js.map +1 -1
  101. package/dist/index.cjs348.js +1 -1
  102. package/dist/index.cjs348.js.map +1 -1
  103. package/dist/index.cjs349.js +1 -1
  104. package/dist/index.cjs349.js.map +1 -1
  105. package/dist/index.cjs350.js +1 -1
  106. package/dist/index.cjs350.js.map +1 -1
  107. package/dist/index.cjs351.js +1 -1
  108. package/dist/index.cjs351.js.map +1 -1
  109. package/dist/index.cjs358.js +1 -1
  110. package/dist/index.cjs358.js.map +1 -1
  111. package/dist/index.cjs359.js +1 -1
  112. package/dist/index.cjs359.js.map +1 -1
  113. package/dist/index.cjs369.js +1 -1
  114. package/dist/index.cjs369.js.map +1 -1
  115. package/dist/index.cjs370.js +1 -1
  116. package/dist/index.cjs370.js.map +1 -1
  117. package/dist/index.cjs371.js +1 -1
  118. package/dist/index.cjs371.js.map +1 -1
  119. package/dist/index.cjs372.js +1 -4
  120. package/dist/index.cjs372.js.map +1 -1
  121. package/dist/index.cjs373.js +1 -1
  122. package/dist/index.cjs373.js.map +1 -1
  123. package/dist/index.cjs374.js +1 -1
  124. package/dist/index.cjs374.js.map +1 -1
  125. package/dist/index.cjs375.js +1 -1
  126. package/dist/index.cjs375.js.map +1 -1
  127. package/dist/index.cjs376.js +1 -38
  128. package/dist/index.cjs376.js.map +1 -1
  129. package/dist/index.cjs377.js +1 -1
  130. package/dist/index.cjs377.js.map +1 -1
  131. package/dist/index.cjs378.js +1 -1
  132. package/dist/index.cjs378.js.map +1 -1
  133. package/dist/index.cjs379.js +1 -1
  134. package/dist/index.cjs379.js.map +1 -1
  135. package/dist/{index.cjs364.js → index.cjs380.js} +2 -2
  136. package/dist/{index.cjs364.js.map → index.cjs380.js.map} +1 -1
  137. package/dist/index.cjs381.js +2 -0
  138. package/dist/{index.cjs365.js.map → index.cjs381.js.map} +1 -1
  139. package/dist/index.cjs382.js +2 -0
  140. package/dist/index.cjs382.js.map +1 -0
  141. package/dist/index.cjs383.js +2 -0
  142. package/dist/index.cjs383.js.map +1 -0
  143. package/dist/index.cjs384.js +2 -0
  144. package/dist/index.cjs384.js.map +1 -0
  145. package/dist/index.cjs385.js +5 -0
  146. package/dist/index.cjs385.js.map +1 -0
  147. package/dist/index.cjs386.js +2 -0
  148. package/dist/index.cjs386.js.map +1 -0
  149. package/dist/index.cjs387.js +2 -0
  150. package/dist/index.cjs387.js.map +1 -0
  151. package/dist/index.cjs388.js +38 -1
  152. package/dist/index.cjs388.js.map +1 -1
  153. package/dist/index.cjs389.js +1 -1
  154. package/dist/index.cjs389.js.map +1 -1
  155. package/dist/index.cjs390.js +2 -0
  156. package/dist/index.cjs390.js.map +1 -0
  157. package/dist/index.cjs391.js +2 -0
  158. package/dist/index.cjs391.js.map +1 -0
  159. package/dist/{index.cjs366.js → index.cjs392.js} +2 -2
  160. package/dist/{index.cjs366.js.map → index.cjs392.js.map} +1 -1
  161. package/dist/{index.cjs367.js → index.cjs393.js} +1 -1
  162. package/dist/{index.cjs367.js.map → index.cjs393.js.map} +1 -1
  163. package/dist/{index.cjs368.js → index.cjs394.js} +1 -1
  164. package/dist/{index.cjs368.js.map → index.cjs394.js.map} +1 -1
  165. package/dist/index.cjs395.js +2 -0
  166. package/dist/index.cjs395.js.map +1 -0
  167. package/dist/index.cjs396.js +2 -0
  168. package/dist/index.cjs396.js.map +1 -0
  169. package/dist/index.cjs399.js +1 -1
  170. package/dist/index.cjs399.js.map +1 -1
  171. package/dist/index.cjs400.js +1 -1
  172. package/dist/index.cjs400.js.map +1 -1
  173. package/dist/index.cjs401.js +2 -0
  174. package/dist/index.cjs401.js.map +1 -0
  175. package/dist/index.cjs402.js +2 -0
  176. package/dist/index.cjs402.js.map +1 -0
  177. package/dist/index.cjs410.js +1 -1
  178. package/dist/index.cjs56.js +1 -1
  179. package/dist/index.cjs6.js +1 -1
  180. package/dist/index.cjs7.js +1 -1
  181. package/dist/index.cjs8.js +1 -1
  182. package/dist/index.cjs85.js +1 -1
  183. package/dist/index.cjs85.js.map +1 -1
  184. package/dist/index.cjs86.js +1 -1
  185. package/dist/index.cjs86.js.map +1 -1
  186. package/dist/index.cjs9.js +1 -1
  187. package/dist/index.d.ts +22 -9
  188. package/dist/index.es.js +200 -197
  189. package/dist/index.es10.js +2 -2
  190. package/dist/index.es103.js +17 -12
  191. package/dist/index.es103.js.map +1 -1
  192. package/dist/index.es115.js +1 -1
  193. package/dist/index.es116.js +1 -1
  194. package/dist/index.es117.js +1 -1
  195. package/dist/index.es118.js +1 -1
  196. package/dist/index.es119.js +1 -1
  197. package/dist/index.es120.js +1 -1
  198. package/dist/index.es121.js +1 -1
  199. package/dist/index.es122.js +1 -1
  200. package/dist/index.es123.js +1 -1
  201. package/dist/index.es124.js +1 -1
  202. package/dist/index.es125.js +1 -1
  203. package/dist/index.es126.js +1 -1
  204. package/dist/index.es127.js +1 -1
  205. package/dist/index.es128.js +1 -1
  206. package/dist/index.es129.js +1 -1
  207. package/dist/index.es130.js +1 -1
  208. package/dist/index.es131.js +1 -1
  209. package/dist/index.es132.js +1 -1
  210. package/dist/index.es133.js +1 -1
  211. package/dist/index.es134.js +1 -1
  212. package/dist/index.es135.js +1 -1
  213. package/dist/index.es136.js +1 -1
  214. package/dist/index.es139.js +1 -1
  215. package/dist/index.es140.js +1 -1
  216. package/dist/index.es141.js +1 -1
  217. package/dist/index.es143.js +1 -1
  218. package/dist/index.es144.js +1 -1
  219. package/dist/index.es145.js +1 -1
  220. package/dist/index.es146.js +1 -1
  221. package/dist/index.es147.js +1 -1
  222. package/dist/index.es148.js +1 -1
  223. package/dist/index.es149.js +1 -1
  224. package/dist/index.es150.js +1 -1
  225. package/dist/index.es151.js +1 -1
  226. package/dist/index.es153.js +1 -1
  227. package/dist/index.es154.js +1 -1
  228. package/dist/index.es155.js +1 -1
  229. package/dist/index.es156.js +1 -1
  230. package/dist/index.es157.js +1 -1
  231. package/dist/index.es158.js +1 -1
  232. package/dist/index.es159.js +1 -1
  233. package/dist/index.es161.js +1 -1
  234. package/dist/index.es162.js +1 -1
  235. package/dist/index.es163.js +1 -1
  236. package/dist/index.es164.js +1 -1
  237. package/dist/index.es165.js +1 -1
  238. package/dist/index.es196.js +27 -2
  239. package/dist/index.es196.js.map +1 -1
  240. package/dist/index.es198.js +5 -0
  241. package/dist/index.es198.js.map +1 -0
  242. package/dist/index.es207.js +1 -1
  243. package/dist/index.es213.js +7 -7
  244. package/dist/index.es216.js +1 -1
  245. package/dist/index.es217.js +1 -1
  246. package/dist/index.es22.js +1 -1
  247. package/dist/index.es224.js +8 -8
  248. package/dist/index.es233.js +1 -1
  249. package/dist/index.es235.js +14 -14
  250. package/dist/index.es242.js +1 -1
  251. package/dist/index.es247.js +1 -1
  252. package/dist/index.es25.js +1 -1
  253. package/dist/index.es254.js +1 -1
  254. package/dist/index.es260.js +1 -1
  255. package/dist/index.es261.js +1 -1
  256. package/dist/index.es262.js +7 -7
  257. package/dist/index.es301.js +4 -4
  258. package/dist/index.es326.js +1 -1
  259. package/dist/index.es327.js +1 -1
  260. package/dist/index.es332.js +15 -2
  261. package/dist/index.es332.js.map +1 -1
  262. package/dist/index.es335.js +5 -25
  263. package/dist/index.es335.js.map +1 -1
  264. package/dist/index.es336.js +23 -64
  265. package/dist/index.es336.js.map +1 -1
  266. package/dist/index.es337.js +65 -27
  267. package/dist/index.es337.js.map +1 -1
  268. package/dist/index.es338.js +29 -32
  269. package/dist/index.es338.js.map +1 -1
  270. package/dist/index.es339.js +31 -620
  271. package/dist/index.es339.js.map +1 -1
  272. package/dist/index.es340.js +621 -10
  273. package/dist/index.es340.js.map +1 -1
  274. package/dist/index.es341.js +11 -15
  275. package/dist/index.es341.js.map +1 -1
  276. package/dist/index.es342.js +9 -0
  277. package/dist/index.es342.js.map +1 -0
  278. package/dist/{index.es361.js → index.es343.js} +2 -2
  279. package/dist/{index.es361.js.map → index.es343.js.map} +1 -1
  280. package/dist/index.es344.js +68 -10
  281. package/dist/index.es344.js.map +1 -1
  282. package/dist/index.es345.js +120 -48
  283. package/dist/index.es345.js.map +1 -1
  284. package/dist/index.es346.js +130 -41
  285. package/dist/index.es346.js.map +1 -1
  286. package/dist/index.es347.js +14 -8
  287. package/dist/index.es347.js.map +1 -1
  288. package/dist/index.es348.js +12 -122
  289. package/dist/index.es348.js.map +1 -1
  290. package/dist/index.es349.js +8 -14
  291. package/dist/index.es349.js.map +1 -1
  292. package/dist/index.es350.js +48 -133
  293. package/dist/index.es350.js.map +1 -1
  294. package/dist/index.es351.js +49 -214
  295. package/dist/index.es351.js.map +1 -1
  296. package/dist/index.es358.js +2 -12
  297. package/dist/index.es358.js.map +1 -1
  298. package/dist/index.es359.js +2 -205
  299. package/dist/index.es359.js.map +1 -1
  300. package/dist/index.es369.js +11 -5
  301. package/dist/index.es369.js.map +1 -1
  302. package/dist/index.es370.js +46 -3
  303. package/dist/index.es370.js.map +1 -1
  304. package/dist/index.es371.js +7 -23
  305. package/dist/index.es371.js.map +1 -1
  306. package/dist/index.es372.js +213 -105
  307. package/dist/index.es372.js.map +1 -1
  308. package/dist/index.es373.js +176 -14
  309. package/dist/index.es373.js.map +1 -1
  310. package/dist/index.es374.js +4 -6
  311. package/dist/index.es374.js.map +1 -1
  312. package/dist/index.es375.js +11 -64
  313. package/dist/index.es375.js.map +1 -1
  314. package/dist/index.es376.js +203 -67
  315. package/dist/index.es376.js.map +1 -1
  316. package/dist/index.es377.js +22 -9
  317. package/dist/index.es377.js.map +1 -1
  318. package/dist/index.es378.js +391 -12
  319. package/dist/index.es378.js.map +1 -1
  320. package/dist/index.es379.js +23 -60
  321. package/dist/index.es379.js.map +1 -1
  322. package/dist/{index.es364.js → index.es380.js} +5 -5
  323. package/dist/{index.es364.js.map → index.es380.js.map} +1 -1
  324. package/dist/index.es381.js +8 -0
  325. package/dist/{index.es365.js.map → index.es381.js.map} +1 -1
  326. package/dist/index.es382.js +8 -0
  327. package/dist/index.es382.js.map +1 -0
  328. package/dist/index.es383.js +6 -0
  329. package/dist/index.es383.js.map +1 -0
  330. package/dist/index.es384.js +27 -0
  331. package/dist/index.es384.js.map +1 -0
  332. package/dist/index.es385.js +113 -0
  333. package/dist/index.es385.js.map +1 -0
  334. package/dist/index.es386.js +19 -0
  335. package/dist/index.es386.js.map +1 -0
  336. package/dist/index.es387.js +68 -0
  337. package/dist/index.es387.js.map +1 -0
  338. package/dist/index.es388.js +69 -4
  339. package/dist/index.es388.js.map +1 -1
  340. package/dist/index.es389.js +9 -23
  341. package/dist/index.es389.js.map +1 -1
  342. package/dist/index.es390.js +17 -0
  343. package/dist/index.es390.js.map +1 -0
  344. package/dist/index.es391.js +65 -0
  345. package/dist/index.es391.js.map +1 -0
  346. package/dist/{index.es366.js → index.es392.js} +2 -2
  347. package/dist/{index.es366.js.map → index.es392.js.map} +1 -1
  348. package/dist/{index.es367.js → index.es393.js} +1 -1
  349. package/dist/{index.es367.js.map → index.es393.js.map} +1 -1
  350. package/dist/{index.es368.js → index.es394.js} +1 -1
  351. package/dist/{index.es368.js.map → index.es394.js.map} +1 -1
  352. package/dist/index.es395.js +7 -0
  353. package/dist/index.es395.js.map +1 -0
  354. package/dist/index.es396.js +26 -0
  355. package/dist/index.es396.js.map +1 -0
  356. package/dist/index.es399.js +20 -25
  357. package/dist/index.es399.js.map +1 -1
  358. package/dist/index.es400.js +12 -4
  359. package/dist/index.es400.js.map +1 -1
  360. package/dist/index.es401.js +31 -0
  361. package/dist/index.es401.js.map +1 -0
  362. package/dist/index.es402.js +8 -0
  363. package/dist/index.es402.js.map +1 -0
  364. package/dist/index.es410.js +8 -8
  365. package/dist/index.es56.js +1 -1
  366. package/dist/index.es6.js +1 -1
  367. package/dist/index.es7.js +1 -1
  368. package/dist/index.es8.js +1 -1
  369. package/dist/index.es85.js +15 -10
  370. package/dist/index.es85.js.map +1 -1
  371. package/dist/index.es86.js +21 -15
  372. package/dist/index.es86.js.map +1 -1
  373. package/dist/index.es9.js +2 -2
  374. package/package.json +1 -1
  375. package/dist/index.cjs197.js +0 -2
  376. package/dist/index.cjs197.js.map +0 -1
  377. package/dist/index.cjs331.js +0 -2
  378. package/dist/index.cjs331.js.map +0 -1
  379. package/dist/index.cjs334.js +0 -2
  380. package/dist/index.cjs334.js.map +0 -1
  381. package/dist/index.cjs352.js +0 -2
  382. package/dist/index.cjs352.js.map +0 -1
  383. package/dist/index.cjs353.js +0 -2
  384. package/dist/index.cjs353.js.map +0 -1
  385. package/dist/index.cjs354.js +0 -2
  386. package/dist/index.cjs354.js.map +0 -1
  387. package/dist/index.cjs355.js +0 -2
  388. package/dist/index.cjs355.js.map +0 -1
  389. package/dist/index.cjs356.js +0 -2
  390. package/dist/index.cjs356.js.map +0 -1
  391. package/dist/index.cjs357.js +0 -2
  392. package/dist/index.cjs357.js.map +0 -1
  393. package/dist/index.cjs360.js +0 -2
  394. package/dist/index.cjs360.js.map +0 -1
  395. package/dist/index.cjs362.js +0 -2
  396. package/dist/index.cjs362.js.map +0 -1
  397. package/dist/index.cjs363.js +0 -2
  398. package/dist/index.cjs363.js.map +0 -1
  399. package/dist/index.cjs365.js +0 -2
  400. package/dist/index.cjs397.js +0 -2
  401. package/dist/index.cjs397.js.map +0 -1
  402. package/dist/index.cjs398.js +0 -2
  403. package/dist/index.cjs398.js.map +0 -1
  404. package/dist/index.es197.js +0 -30
  405. package/dist/index.es197.js.map +0 -1
  406. package/dist/index.es331.js +0 -5
  407. package/dist/index.es331.js.map +0 -1
  408. package/dist/index.es334.js +0 -10
  409. package/dist/index.es334.js.map +0 -1
  410. package/dist/index.es352.js +0 -17
  411. package/dist/index.es352.js.map +0 -1
  412. package/dist/index.es353.js +0 -72
  413. package/dist/index.es353.js.map +0 -1
  414. package/dist/index.es354.js +0 -181
  415. package/dist/index.es354.js.map +0 -1
  416. package/dist/index.es355.js +0 -53
  417. package/dist/index.es355.js.map +0 -1
  418. package/dist/index.es356.js +0 -12
  419. package/dist/index.es356.js.map +0 -1
  420. package/dist/index.es357.js +0 -7
  421. package/dist/index.es357.js.map +0 -1
  422. package/dist/index.es360.js +0 -25
  423. package/dist/index.es360.js.map +0 -1
  424. package/dist/index.es362.js +0 -396
  425. package/dist/index.es362.js.map +0 -1
  426. package/dist/index.es363.js +0 -28
  427. package/dist/index.es363.js.map +0 -1
  428. package/dist/index.es365.js +0 -8
  429. package/dist/index.es397.js +0 -26
  430. package/dist/index.es397.js.map +0 -1
  431. package/dist/index.es398.js +0 -16
  432. package/dist/index.es398.js.map +0 -1
  433. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es399.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es399.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
@@ -1,8 +1,16 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
1
+ import * as o from "react";
2
+ import { stylesheetSingleton as r } from "./index.es401.js";
3
+ var i = function() {
4
+ var t = r();
5
+ return function(e, n) {
6
+ o.useEffect(function() {
7
+ return t.add(e), function() {
8
+ t.remove();
9
+ };
10
+ }, [e && n]);
11
+ };
4
12
  };
5
13
  export {
6
- e as getNonce
14
+ i as styleHookSingleton
7
15
  };
8
16
  //# sourceMappingURL=index.es400.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es400.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es400.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
@@ -0,0 +1,31 @@
1
+ import { getNonce as o } from "./index.es402.js";
2
+ function r() {
3
+ if (!document)
4
+ return null;
5
+ var t = document.createElement("style");
6
+ t.type = "text/css";
7
+ var e = o();
8
+ return e && t.setAttribute("nonce", e), t;
9
+ }
10
+ function l(t, e) {
11
+ t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
+ }
13
+ function a(t) {
14
+ var e = document.head || document.getElementsByTagName("head")[0];
15
+ e.appendChild(t);
16
+ }
17
+ var c = function() {
18
+ var t = 0, e = null;
19
+ return {
20
+ add: function(n) {
21
+ t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
+ },
23
+ remove: function() {
24
+ t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
+ }
26
+ };
27
+ };
28
+ export {
29
+ c as stylesheetSingleton
30
+ };
31
+ //# sourceMappingURL=index.es401.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es401.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
4
+ };
5
+ export {
6
+ e as getNonce
7
+ };
8
+ //# sourceMappingURL=index.es402.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es402.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
@@ -1,13 +1,13 @@
1
1
  import * as c from "react";
2
- import { Primitive as L } from "./index.es338.js";
3
- import { Presence as O } from "./index.es353.js";
4
- import { createContextScope as le } from "./index.es336.js";
5
- import { useComposedRefs as T } from "./index.es335.js";
6
- import { useCallbackRef as x } from "./index.es344.js";
7
- import { useDirection as ce } from "./index.es347.js";
8
- import { useLayoutEffect as se } from "./index.es357.js";
2
+ import { Primitive as L } from "./index.es339.js";
3
+ import { Presence as O } from "./index.es344.js";
4
+ import { createContextScope as le } from "./index.es337.js";
5
+ import { useComposedRefs as T } from "./index.es336.js";
6
+ import { useCallbackRef as x } from "./index.es369.js";
7
+ import { useDirection as ce } from "./index.es371.js";
8
+ import { useLayoutEffect as se } from "./index.es374.js";
9
9
  import { clamp as ie } from "./index.es419.js";
10
- import { composeEventHandlers as C } from "./index.es334.js";
10
+ import { composeEventHandlers as C } from "./index.es335.js";
11
11
  import { j as b } from "./index.es185.js";
12
12
  function ae(e, t) {
13
13
  return c.useReducer((r, l) => t[r][l] ?? r, e);
@@ -1,5 +1,5 @@
1
1
  import { j as s } from "./index.es185.js";
2
- import { createColorClasses as l } from "./index.es196.js";
2
+ import { createColorClasses as l } from "./index.es198.js";
3
3
  import { clsx as x } from "./index.es187.js";
4
4
  const p = ({
5
5
  initials: e,
package/dist/index.es6.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as p } from "./index.es185.js";
2
2
  import { clsx as l } from "./index.es187.js";
3
3
  import { useMemo as u } from "react";
4
- import { createSpacingClasses as x } from "./index.es197.js";
4
+ import { createSpacingClasses as x } from "./index.es196.js";
5
5
  import './components/ui/Container/Container.css';/* empty css */
6
6
  const v = ({
7
7
  as: o,
package/dist/index.es7.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as a } from "./index.es185.js";
2
2
  import { useMemo as i } from "react";
3
3
  import { clsx as m } from "./index.es187.js";
4
- import { createSpacingClasses as c } from "./index.es197.js";
4
+ import { createSpacingClasses as c } from "./index.es196.js";
5
5
  const g = ({
6
6
  as: o,
7
7
  className: r,
package/dist/index.es8.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as g } from "./index.es185.js";
2
2
  import { useMemo as s } from "react";
3
3
  import { clsx as x } from "./index.es187.js";
4
- import { createSpacingClasses as f } from "./index.es197.js";
4
+ import { createSpacingClasses as f } from "./index.es196.js";
5
5
  const v = ({
6
6
  as: e,
7
7
  className: i,
@@ -1,14 +1,19 @@
1
- import { j as e } from "./index.es185.js";
1
+ import { j as l } from "./index.es185.js";
2
2
  import './components/ui/Blockquote/Blockquote.css';/* empty css */
3
- const c = ({
4
- text: o,
5
- author: t,
6
- variant: r = "left-line"
7
- }) => /* @__PURE__ */ e.jsxs("blockquote", { className: `styled-blockquote ${r}`, children: [
8
- /* @__PURE__ */ e.jsx("p", { children: o }),
9
- /* @__PURE__ */ e.jsx("footer", { children: t })
10
- ] });
3
+ var o = /* @__PURE__ */ ((e) => (e.LEFTLINE = "left-line", e.BLUEBOX = "blue-box", e.LIGHTBG = "light-bg", e))(o || {});
4
+ function x({
5
+ text: e,
6
+ author: r,
7
+ variant: t = "left-line"
8
+ /* LEFTLINE */
9
+ }) {
10
+ return /* @__PURE__ */ l.jsxs("blockquote", { className: `styled-blockquote ${t}`, children: [
11
+ /* @__PURE__ */ l.jsx("p", { children: e }),
12
+ /* @__PURE__ */ l.jsx("footer", { children: r })
13
+ ] });
14
+ }
11
15
  export {
12
- c as Blockquote
16
+ x as Blockquote,
17
+ o as BlockquoteVariantEnum
13
18
  };
14
19
  //# sourceMappingURL=index.es85.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es85.js","sources":["../src/components/ui/Blockquote/index.tsx"],"sourcesContent":["import React from \"react\";\nimport \"./Blockquote.scss\";\n\nexport type BlockquoteVariant = \"left-line\" | \"blue-box\" | \"light-bg\";\n\nexport type BlockquoteProps = {\n text: string;\n author: string;\n variant?: BlockquoteVariant;\n};\n\nexport const Blockquote: React.FC<BlockquoteProps> = ({\n text,\n author,\n variant = \"left-line\",\n}) => {\n return (\n <blockquote className={`styled-blockquote ${variant}`}>\n <p>{text}</p>\n <footer>{author}</footer>\n </blockquote>\n );\n};\n"],"names":["Blockquote","text","author","variant","jsxs","jsx"],"mappings":";;AAWO,MAAMA,IAAwC,CAAC;AAAA,EACpD,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAEKC,gBAAAA,EAAA,KAAA,cAAA,EAAW,WAAW,qBAAqBD,CAAO,IACjD,UAAA;AAAA,EAAAE,gBAAAA,EAAAA,IAAC,OAAG,UAAKJ,EAAA,CAAA;AAAA,EACTI,gBAAAA,EAAAA,IAAC,YAAQ,UAAOH,EAAA,CAAA;AAAA,GAClB;"}
1
+ {"version":3,"file":"index.es85.js","sources":["../src/components/ui/Blockquote/index.tsx"],"sourcesContent":["import \"./Blockquote.scss\";\n\nexport enum BlockquoteVariantEnum {\n LEFTLINE = \"left-line\",\n BLUEBOX = \"blue-box\",\n LIGHTBG = \"light-bg\",\n}\n\nexport type BlockquoteProps = {\n text: string;\n author: string;\n variant?: BlockquoteVariantEnum;\n};\n\nexport function Blockquote ({\n text,\n author,\n variant = BlockquoteVariantEnum.LEFTLINE,\n}: BlockquoteProps) {\n return (\n <blockquote className={`styled-blockquote ${variant}`}>\n <p>{text}</p>\n <footer>{author}</footer>\n </blockquote>\n );\n};\n"],"names":["BlockquoteVariantEnum","Blockquote","text","author","variant","jsxs","jsx"],"mappings":";;AAEY,IAAAA,sBAAAA,OACVA,EAAA,WAAW,aACXA,EAAA,UAAU,YACVA,EAAA,UAAU,YAHAA,IAAAA,KAAA,CAAA,CAAA;AAYL,SAASC,EAAY;AAAA,EAC1B,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,SAAAC,IAAU;AAAA;AACZ,GAAoB;AAClB,SACGC,gBAAAA,EAAA,KAAA,cAAA,EAAW,WAAW,qBAAqBD,CAAO,IACjD,UAAA;AAAA,IAAAE,gBAAAA,EAAAA,IAAC,OAAG,UAAKJ,EAAA,CAAA;AAAA,IACTI,gBAAAA,EAAAA,IAAC,YAAQ,UAAOH,EAAA,CAAA;AAAA,EAAA,GAClB;AAEJ;"}
@@ -1,24 +1,30 @@
1
1
  import { j as s } from "./index.es185.js";
2
2
  import './components/ui/Callout/Callout.css';/* empty css */
3
- import { ErrorExagon as a } from "./index.es160.js";
3
+ import { ErrorExagon as n } from "./index.es160.js";
4
4
  import { Info as o } from "./index.es156.js";
5
- const n = {
5
+ var i = /* @__PURE__ */ ((r) => (r.INFO = "info", r.WARNING = "warning", r.DANGER = "danger", r.SUCCESS = "success", r))(i || {});
6
+ const x = {
6
7
  info: /* @__PURE__ */ s.jsx(o, { color: "primary" }),
7
8
  warning: /* @__PURE__ */ s.jsx(o, { color: "warning" }),
8
- danger: /* @__PURE__ */ s.jsx(a, {}),
9
+ danger: /* @__PURE__ */ s.jsx(n, {}),
9
10
  success: /* @__PURE__ */ s.jsx(o, { color: "status-success" })
10
- }, m = ({
11
- title: c,
12
- description: l,
13
- variant: r = "info"
14
- }) => /* @__PURE__ */ s.jsxs("div", { className: `callout callout-${r} p-x40`, children: [
15
- /* @__PURE__ */ s.jsxs("div", { className: "callout-header px-x40", children: [
16
- n[r],
17
- /* @__PURE__ */ s.jsx("span", { children: c })
18
- ] }),
19
- /* @__PURE__ */ s.jsx("div", { className: "callout-body", children: l })
20
- ] });
11
+ };
12
+ function t({
13
+ title: r,
14
+ description: e,
15
+ variant: c = "info"
16
+ /* INFO */
17
+ }) {
18
+ return /* @__PURE__ */ s.jsxs("div", { className: `callout callout-${c} p-x40`, children: [
19
+ /* @__PURE__ */ s.jsxs("div", { className: "callout-header px-x40", children: [
20
+ x[c],
21
+ /* @__PURE__ */ s.jsx("span", { children: r })
22
+ ] }),
23
+ /* @__PURE__ */ s.jsx("div", { className: "callout-body", children: e })
24
+ ] });
25
+ }
21
26
  export {
22
- m as Callout
27
+ t as Callout,
28
+ i as CalloutVariantEnum
23
29
  };
24
30
  //# sourceMappingURL=index.es86.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es86.js","sources":["../src/components/ui/Callout/index.tsx"],"sourcesContent":["import \"./Callout.scss\";\nimport { ErrorExagon, Info } from \"@/icons\";\n\nexport type CalloutVariant = \"info\" | \"warning\" | \"danger\" | \"success\";\n\ninterface CalloutProps {\n title: string;\n description: React.ReactNode;\n variant?: CalloutVariant;\n}\n\nconst iconMap = {\n info: <Info color=\"primary\" />,\n warning: <Info color=\"warning\" />,\n danger: <ErrorExagon />,\n success: <Info color=\"status-success\" />,\n};\n\nexport const Callout: React.FC<CalloutProps> = ({\n title,\n description,\n variant = \"info\",\n}) => {\n return (\n <div className={`callout callout-${variant} p-x40`}>\n <div className=\"callout-header px-x40\">\n {iconMap[variant]}\n <span>{title}</span>\n </div>\n <div className=\"callout-body\">{description}</div>\n </div>\n );\n};\n"],"names":["iconMap","jsx","Info","ErrorExagon","Callout","title","description","variant","jsxs"],"mappings":";;;;AAWA,MAAMA,IAAU;AAAA,EACd,MAAMC,gBAAAA,EAAAA,IAACC,GAAK,EAAA,OAAM,UAAU,CAAA;AAAA,EAC5B,SAASD,gBAAAA,EAAAA,IAACC,GAAK,EAAA,OAAM,UAAU,CAAA;AAAA,EAC/B,8BAASC,GAAY,EAAA;AAAA,EACrB,SAASF,gBAAAA,EAAAA,IAACC,GAAK,EAAA,OAAM,iBAAiB,CAAA;AACxC,GAEaE,IAAkC,CAAC;AAAA,EAC9C,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAEKC,gBAAAA,EAAA,KAAA,OAAA,EAAI,WAAW,mBAAmBD,CAAO,UACxC,UAAA;AAAA,EAACC,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,yBACZ,UAAA;AAAA,IAAAR,EAAQO,CAAO;AAAA,IAChBN,gBAAAA,EAAAA,IAAC,UAAM,UAAMI,EAAA,CAAA;AAAA,EAAA,GACf;AAAA,EACCJ,gBAAAA,EAAA,IAAA,OAAA,EAAI,WAAU,gBAAgB,UAAYK,EAAA,CAAA;AAAA,GAC7C;"}
1
+ {"version":3,"file":"index.es86.js","sources":["../src/components/ui/Callout/index.tsx"],"sourcesContent":["import \"./Callout.scss\";\nimport { ErrorExagon, Info } from \"@/icons\";\n\nexport enum CalloutVariantEnum {\n INFO = \"info\",\n WARNING = \"warning\",\n DANGER = \"danger\",\n SUCCESS = \"success\",\n}\n\ninterface CalloutProps {\n title: string;\n description: React.ReactNode;\n variant?: CalloutVariantEnum;\n}\n\nconst iconMap = {\n info: <Info color=\"primary\" />,\n warning: <Info color=\"warning\" />,\n danger: <ErrorExagon />,\n success: <Info color=\"status-success\" />,\n};\n\nexport function Callout ({\n title,\n description,\n variant = CalloutVariantEnum.INFO,\n}: CalloutProps) {\n return (\n <div className={`callout callout-${variant} p-x40`}>\n <div className=\"callout-header px-x40\">\n {iconMap[variant]}\n <span>{title}</span>\n </div>\n <div className=\"callout-body\">{description}</div>\n </div>\n );\n};\n"],"names":["CalloutVariantEnum","iconMap","jsx","Info","ErrorExagon","Callout","title","description","variant","jsxs"],"mappings":";;;;AAGY,IAAAA,sBAAAA,OACVA,EAAA,OAAO,QACPA,EAAA,UAAU,WACVA,EAAA,SAAS,UACTA,EAAA,UAAU,WAJAA,IAAAA,KAAA,CAAA,CAAA;AAaZ,MAAMC,IAAU;AAAA,EACd,MAAMC,gBAAAA,EAAAA,IAACC,GAAK,EAAA,OAAM,UAAU,CAAA;AAAA,EAC5B,SAASD,gBAAAA,EAAAA,IAACC,GAAK,EAAA,OAAM,UAAU,CAAA;AAAA,EAC/B,8BAASC,GAAY,EAAA;AAAA,EACrB,SAASF,gBAAAA,EAAAA,IAACC,GAAK,EAAA,OAAM,iBAAiB,CAAA;AACxC;AAEO,SAASE,EAAS;AAAA,EACvB,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC,IAAU;AAAA;AACZ,GAAiB;AACf,SACGC,gBAAAA,EAAA,KAAA,OAAA,EAAI,WAAW,mBAAmBD,CAAO,UACxC,UAAA;AAAA,IAACC,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,yBACZ,UAAA;AAAA,MAAAR,EAAQO,CAAO;AAAA,MAChBN,gBAAAA,EAAAA,IAAC,UAAM,UAAMI,EAAA,CAAA;AAAA,IAAA,GACf;AAAA,IACCJ,gBAAAA,EAAA,IAAA,OAAA,EAAI,WAAU,gBAAgB,UAAYK,EAAA,CAAA;AAAA,EAAA,GAC7C;AAEJ;"}
package/dist/index.es9.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { j as x } from "./index.es185.js";
2
2
  import { useMemo as y } from "react";
3
3
  import { clsx as g } from "./index.es187.js";
4
- import { createSpacingClasses as j } from "./index.es197.js";
5
- import { createColorClasses as u } from "./index.es196.js";
4
+ import { createSpacingClasses as j } from "./index.es196.js";
5
+ import { createColorClasses as u } from "./index.es198.js";
6
6
  import { createTypographyClasses as h } from "./index.es199.js";
7
7
  const E = ({
8
8
  as: o,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anoki/fse-ui",
3
- "version": "1.0.546",
3
+ "version": "1.0.548",
4
4
  "description": "FSE UI components library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["gap","m","mx","my","mt","mr","mb","ml","p","px","py","pt","pr","pb","pl","br","br-t","br-r","br-b","br-l","min-h","min-w","max-h","max-w"],a=e=>t.map(r=>e[r]?`${r}-${e[r]}`:"").filter(Boolean);exports.createSpacingClasses=a;
2
- //# sourceMappingURL=index.cjs197.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs197.js","sources":["../src/theme/spacing.ts"],"sourcesContent":["export type SpacingKey =\n | \"x4\"\n | \"x8\"\n | \"x12\"\n | \"x16\"\n | \"x20\"\n | \"x24\"\n | \"x28\"\n | \"x32\"\n | \"x36\"\n | \"x40\"\n | \"x44\"\n | \"x48\"\n | \"x52\"\n | \"x56\"\n | \"x60\"\n | \"x64\"\n | \"x68\"\n | \"x72\"\n | \"x76\"\n | \"x80\"\n | \"x84\"\n | \"x88\"\n | \"x92\"\n | \"x96\"\n | \"x100\"\n | \"x104\";\n\nexport type SpacingProps = {\n gap?: SpacingKey;\n m?: SpacingKey; // margin\n mx?: SpacingKey; // margin x\n my?: SpacingKey; // margin y\n mt?: SpacingKey; // margin top\n mr?: SpacingKey; // margin bottom\n mb?: SpacingKey; // margin right\n ml?: SpacingKey; // margin left\n p?: SpacingKey; // padding\n px?: SpacingKey; // padding x\n py?: SpacingKey; // padding y\n pt?: SpacingKey; // padding top\n pr?: SpacingKey; // padding bottom\n pb?: SpacingKey; // padding right\n pl?: SpacingKey; // padding left\n br?: SpacingKey; // border-radius\n \"br-t\"?: SpacingKey; // border-radius top\n \"br-r\"?: SpacingKey; // border-radius right\n \"br-b\"?: SpacingKey; // border-radius bottom\n \"br-l\"?: SpacingKey; // border-radius left\n \"min-h\"?: SpacingKey; // min-height\n \"min-w\"?: SpacingKey; // min-width\n \"max-h\"?: SpacingKey; // max-height\n \"max-w\"?: SpacingKey; // max-width\n};\n\nexport type SpacingPropsKeys = keyof SpacingProps;\nconst spacingPropsKeys: SpacingPropsKeys[] = [\n \"gap\",\n \"m\",\n \"mx\",\n \"my\",\n \"mt\",\n \"mr\",\n \"mb\",\n \"ml\",\n \"p\",\n \"px\",\n \"py\",\n \"pt\",\n \"pr\",\n \"pb\",\n \"pl\",\n \"br\",\n \"br-t\",\n \"br-r\",\n \"br-b\",\n \"br-l\",\n \"min-h\",\n \"min-w\",\n \"max-h\",\n \"max-w\",\n];\n\nexport const createSpacingClasses = <TProps extends SpacingProps>(\n props: TProps,\n) => {\n return spacingPropsKeys\n .map((key) => (props[key] ? `${key}-${props[key]}` : \"\"))\n .filter(Boolean);\n};\n"],"names":["spacingPropsKeys","createSpacingClasses","props","key"],"mappings":"gFAwDA,MAAMA,EAAuC,CAC3C,MACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,OACA,OACA,OACA,QACA,QACA,QACA,OACF,EAEaC,EACXC,GAEOF,EACJ,IAAKG,GAASD,EAAMC,CAAG,EAAI,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAAK,EAAG,EACvD,OAAO,OAAO"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
- //# sourceMappingURL=index.cjs331.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs331.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(s,c,{checkForDefaultPrevented:t=!0}={}){return function(f){if(s==null||s(f),t===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}exports.composeEventHandlers=u;
2
- //# sourceMappingURL=index.cjs334.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs334.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"gFACA,SAASA,EAAqBC,EAAsBC,EAAiB,CAAE,yBAAAC,EAA2B,EAAM,EAAG,GAAI,CAC7G,OAAO,SAAqBC,EAAO,CAEjC,GADAH,GAAA,MAAAA,EAAuBG,GACnBD,IAA6B,IAAS,CAACC,EAAM,iBAC/C,OAAOF,GAAA,YAAAA,EAAkBE,EAE5B,CACH","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs338.js"),p=require("./index.cjs357.js"),m=require("./index.cjs185.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=P(l);var b="Portal",i=c.forwardRef((e,r)=>{var a;const{container:t,...o}=e,[u,s]=c.useState(!1);p.useLayoutEffect(()=>s(!0),[]);const n=t||u&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return n?d.createPortal(m.jsxRuntimeExports.jsx(f.Primitive.div,{...o,ref:r}),n):null});i.displayName=b;exports.Portal=i;
2
- //# sourceMappingURL=index.cjs352.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs352.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":"ufAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,OACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAa,EAAGH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAA,CAAE,EAC1C,MAAME,EAAYL,GAAiBE,KAAWI,EAAA,mCAAY,WAAZ,YAAAA,EAAsB,MACpE,OAAOD,EAAYE,EAAS,aAA6BC,EAAG,kBAAA,IAACC,EAAS,UAAC,IAAK,CAAE,GAAGR,EAAa,IAAKF,CAAc,CAAA,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs335.js"),g=require("./index.cjs357.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
- //# sourceMappingURL=index.cjs353.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs353.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"icASA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,CACxB,KAAM,CAAE,QAAAC,EAAS,SAAAC,CAAQ,EAAKF,EACxBG,EAAWC,EAAYH,CAAO,EAC9BI,EAAQ,OAAOH,GAAa,WAAaA,EAAS,CAAE,QAASC,EAAS,SAAW,CAAA,EAAIG,EAAO,SAAS,KAAKJ,CAAQ,EAClHK,EAAMC,EAAAA,gBAAgBL,EAAS,IAAKM,EAAcJ,CAAK,CAAC,EAE9D,OADmB,OAAOH,GAAa,YAClBC,EAAS,UAAYG,EAAO,aAAaD,EAAO,CAAE,IAAAE,CAAK,CAAA,EAAI,IAClF,EACAR,EAAS,YAAc,WACvB,SAASK,EAAYH,EAAS,CAC5B,KAAM,CAACS,EAAMC,CAAO,EAAIL,EAA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EAAK,MAAM,kBAAoBgB,EAE/C,CAAa,CACb,CAEO,EACKC,EAAwB7B,GAAU,CAClCA,EAAM,SAAWY,IACnBI,EAAqB,QAAUG,EAAiBL,EAAU,OAAO,EAEpE,EACD,OAAAF,EAAK,iBAAiB,iBAAkBiB,CAAoB,EAC5DjB,EAAK,iBAAiB,kBAAmBc,CAAkB,EAC3Dd,EAAK,iBAAiB,eAAgBc,CAAkB,EACjD,IAAM,CACXD,EAAY,aAAaD,CAAS,EAClCZ,EAAK,oBAAoB,iBAAkBiB,CAAoB,EAC/DjB,EAAK,oBAAoB,kBAAmBc,CAAkB,EAC9Dd,EAAK,oBAAoB,eAAgBc,CAAkB,CAC5D,CACP,MACMT,EAAK,eAAe,CAE1B,EAAK,CAACL,EAAMK,CAAI,CAAC,EACR,CACL,UAAW,CAAC,UAAW,kBAAkB,EAAE,SAASlB,CAAK,EACzD,IAAKS,EAAO,YAAasB,GAAU,CAC7BA,IAAOhB,EAAU,QAAU,iBAAiBgB,CAAK,GACrDjB,EAAQiB,CAAK,CACnB,EAAO,CAAE,CAAA,CACN,CACH,CACA,SAASX,EAAiBE,EAAQ,CAChC,OAAOA,GAAA,YAAAA,EAAQ,gBAAiB,MAClC,CACA,SAASV,EAAcoB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs334.js"),B=require("./index.cjs346.js"),Y=require("./index.cjs335.js"),z=require("./index.cjs336.js"),V=require("./index.cjs340.js"),D=require("./index.cjs338.js"),J=require("./index.cjs344.js"),Q=require("./index.cjs337.js"),W=require("./index.cjs347.js"),f=require("./index.cjs185.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var _="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[j,G,ee]=B.createCollection(g),[te,oe]=z.createContextScope(g,[ee]),[re,ne]=te(g),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=g;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:R=!1,dir:I,currentTabStopId:x,defaultCurrentTabStopId:F,onCurrentTabStopIdChange:p,onEntryFocus:u,preventScrollOnEntryFocus:E=!1,...S}=e,v=c.useRef(null),b=Y.useComposedRefs(o,v),n=W.useDirection(I),[l=null,w]=Q.useControllableState({prop:x,defaultProp:F,onChange:p}),[i,a]=c.useState(!1),T=J.useCallbackRef(u),M=G(r),C=c.useRef(!1),[K,O]=c.useState(0);return c.useEffect(()=>{const s=v.current;if(s)return s.addEventListener(_,T),()=>s.removeEventListener(_,T)},[T]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:n,loop:R,currentTabStopId:l,onItemFocus:c.useCallback(s=>w(s),[w]),onItemShiftTab:c.useCallback(()=>a(!0),[]),onFocusableItemAdd:c.useCallback(()=>O(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>O(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(D.Primitive.div,{tabIndex:i||K===0?-1:0,"data-orientation":t,...S,ref:b,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{C.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!C.current;if(s.target===s.currentTarget&&k&&!i){const P=new CustomEvent(_,Z);if(s.currentTarget.dispatchEvent(P),!P.defaultPrevented){const y=M().filter(d=>d.focusable),L=y.find(d=>d.active),U=y.find(d=>d.id===l),$=[L,U,...y].filter(Boolean).map(d=>d.ref.current);q($,E)}}C.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>a(!1))})})}),N="RovingFocusGroupItem",h=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:R=!1,tabStopId:I,...x}=e,F=V.useId(),p=I||F,u=ne(N,r),E=u.currentTabStopId===p,S=G(r),{onFocusableItemAdd:v,onFocusableItemRemove:b}=u;return c.useEffect(()=>{if(t)return v(),()=>b()},[t,v,b]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:R,children:f.jsxRuntimeExports.jsx(D.Primitive.span,{tabIndex:E?0:-1,"data-orientation":u.orientation,...x,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const l=ie(n,u.orientation,u.dir);if(l!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=S().filter(a=>a.focusable).map(a=>a.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const a=i.indexOf(n.currentTarget);i=u.loop?ae(i,a+1):i.slice(a+1)}setTimeout(()=>q(i))}})})})});h.displayName=N;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function q(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=h;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=h;exports.createRovingFocusGroupScope=oe;
2
- //# sourceMappingURL=index.cjs354.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs354.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAkB,mBACnFP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/B,IAAIe,GAAuBJ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnE,KAAM,CACJ,wBAAAG,EACA,YAAAC,EACA,KAAAC,EAAO,GACP,IAAAC,EACA,iBAAkBC,EAClB,wBAAAC,EACA,yBAAAC,EACA,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,GAAGC,CACP,EAAMb,EACEc,EAAMf,EAAM,OAAO,IAAI,EACvBgB,EAAeC,EAAAA,gBAAgBf,EAAca,CAAG,EAChDG,EAAYC,EAAY,aAACX,CAAG,EAC5B,CAACY,EAAmB,KAAMC,CAAmB,EAAIC,EAAAA,qBAAqB,CAC1E,KAAMb,EACN,YAAaC,EACb,SAAUC,CACd,CAAG,EACK,CAACY,EAAkBC,CAAmB,EAAIxB,EAAM,SAAS,EAAK,EAC9DyB,EAAmBC,EAAc,eAACd,CAAY,EAC9Ce,EAAWpC,EAAcc,CAAuB,EAChDuB,EAAkB5B,EA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EAC/C,GAAI,EAAAF,IAAgB,YAAc,CAAC,YAAa,YAAY,EAAE,SAASyD,CAAG,IACtE,EAAAzD,IAAgB,cAAgB,CAAC,UAAW,WAAW,EAAE,SAASyD,CAAG,GACzE,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASnB,EAAWoB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAOzE,EACP0E,GAAO3B","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
2
- //# sourceMappingURL=index.cjs355.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs355.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","hide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c,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACtF+B,EAAiChC,EAAiBC,CAAc,EACpE,OAAK+B,GAILrB,EAAQ,KAAK,MAAMA,EAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,EACjFjB,EAAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GAJvE,UAAY,CAAE,OAAO,IAAO,CAK3C","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const a=require("./index.cjs363.js"),l=require("react"),s=require("./index.cjs364.js"),i=require("./index.cjs365.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
2
- //# sourceMappingURL=index.cjs356.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs356.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function u(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const a=u(r);var n=globalThis!=null&&globalThis.document?a.useLayoutEffect:()=>{};exports.useLayoutEffect=n;
2
- //# sourceMappingURL=index.cjs357.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs357.js","sources":["../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAAmB,6BAAY,SAAWC,EAAM,gBAAkB,IAAM,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),u=require("./index.cjs338.js"),i=require("./index.cjs185.js");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=l(c);var f="Arrow",n=d.forwardRef((e,r)=>{const{children:t,width:o=10,height:s=5,...a}=e;return i.jsxRuntimeExports.jsx(u.Primitive.svg,{...a,ref:r,width:o,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?t:i.jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});n.displayName=f;var p=n;exports.Arrow=n;exports.Root=p;
2
- //# sourceMappingURL=index.cjs360.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs360.js","sources":["../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// packages/react/arrow/src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":"icAIA,IAAIA,EAAO,QACPC,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACpD,KAAM,CAAE,SAAAC,EAAU,MAAAC,EAAQ,GAAI,OAAAC,EAAS,EAAG,GAAGC,CAAU,EAAKL,EAC5D,OAAuBM,EAAG,kBAAA,IACxBC,EAAAA,UAAU,IACV,CACE,GAAGF,EACH,IAAKJ,EACL,MAAAE,EACA,OAAAC,EACA,QAAS,YACT,oBAAqB,OACrB,SAAUJ,EAAM,QAAUE,EAA2BI,EAAG,kBAAA,IAAC,UAAW,CAAE,OAAQ,gBAAkB,CAAA,CACtG,CACG,CACH,CAAC,EACDR,EAAM,YAAcD,EACjB,IAACW,EAAOV","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs366.js"),d=require("./index.cjs367.js"),i=require("./index.cjs368.js");function B(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),l=s?t.offsetWidth:o,r=s?t.offsetHeight:n,c=d.round(o)!==l||d.round(n)!==r;return c&&(o=l,n=r),{width:o,height:n,$:c}}function N(t){return i.isElement(t)?t:t.contextElement}function L(t){const e=N(t);if(!i.isHTMLElement(e))return d.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:l}=B(e);let r=(l?d.round(o.width):o.width)/n,c=(l?d.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const P=d.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?P:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function q(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function T(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),l=N(t);let r=d.createCoords(1);e&&(n?i.isElement(n)&&(r=L(n)):r=L(t));const c=q(l,o,n)?A(l):d.createCoords(0);let f=(s.left+c.x)/r.x,u=(s.top+c.y)/r.y,a=s.width/r.x,g=s.height/r.y;if(l){const w=i.getWindow(l),h=n&&i.isElement(n)?i.getWindow(n):n;let v=w,p=i.getFrameElement(v);for(;p&&n&&h!==v;){const y=L(p),m=p.getBoundingClientRect(),x=i.getComputedStyle(p),C=m.left+(p.clientLeft+parseFloat(x.paddingLeft))*y.x,O=m.top+(p.clientTop+parseFloat(x.paddingTop))*y.y;f*=y.x,u*=y.y,a*=y.x,g*=y.y,f+=C,u+=O,v=i.getWindow(p),p=i.getFrameElement(v)}}return d.rectToClientRect({width:a,height:g,x:f,y:u})}function W(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:T(i.getDocumentElement(t)).left+o}function M(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-(o?0:W(t,n)),l=n.top+e.scrollTop;return{x:s,y:l}}function U(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const l=s==="fixed",r=i.getDocumentElement(n),c=e?i.isTopLayer(e.floating):!1;if(n===r||c&&l)return o;let f={scrollLeft:0,scrollTop:0},u=d.createCoords(1);const a=d.createCoords(0),g=i.isHTMLElement(n);if((g||!g&&!l)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),i.isHTMLElement(n))){const h=T(n);u=L(n),a.x=h.x+n.clientLeft,a.y=h.y+n.clientTop}const w=r&&!g&&!l?M(r,f,!0):d.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+a.x+w.x,y:o.y*u.y-f.scrollTop*u.y+a.y+w.y}}function k(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=d.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=d.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+W(t);const c=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=d.max(e.clientWidth,n.clientWidth)-s),{width:s,height:l,x:r,y:c}}function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let l=n.clientWidth,r=n.clientHeight,c=0,f=0;if(s){l=s.width,r=s.height;const u=i.isWebKit();(!u||u&&e==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:r,x:c,y:f}}function j(t,e){const o=T(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,l=i.isHTMLElement(t)?L(t):d.createCoords(1),r=t.clientWidth*l.x,c=t.clientHeight*l.y,f=s*l.x,u=n*l.y;return{width:r,height:c,x:f,y:u}}function F(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=j(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return d.rectToClientRect(n)}function z(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||z(o,e)}function G(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(c=>i.isElement(c)&&i.getNodeName(c)!=="body"),s=null;const l=i.getComputedStyle(t).position==="fixed";let r=l?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const c=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&c.position==="fixed"&&(s=null),(l?!f&&!s:!f&&c.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||i.isOverflowElement(r)&&!f&&z(t,r))?n=n.filter(a=>a!==r):s=c,r=i.getParentNode(r)}return e.set(t,n),n}function J(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:G(e,this._c):[].concat(o),n],c=r[0],f=r.reduce((u,a)=>{const g=F(e,a,s);return u.top=d.max(g.top,u.top),u.right=d.min(g.right,u.right),u.bottom=d.min(g.bottom,u.bottom),u.left=d.max(g.left,u.left),u},F(e,c,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Q(t){const{width:e,height:o}=B(t);return{width:e,height:o}}function Y(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),l=o==="fixed",r=T(t,!0,l,e);let c={scrollLeft:0,scrollTop:0};const f=d.createCoords(0);if(n||!n&&!l)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(c=i.getNodeScroll(e)),n){const w=T(e,!0,l,e);f.x=w.x+e.clientLeft,f.y=w.y+e.clientTop}else s&&(f.x=W(s));const u=s&&!n&&!l?M(s,c):d.createCoords(0),a=r.left+c.scrollLeft-f.x-u.x,g=r.top+c.scrollTop-f.y-u.y;return{x:a,y:g,width:r.width,height:r.height}}function b(t){return i.getComputedStyle(t).position==="static"}function H(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function I(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!b(s))return s;s=i.getParentNode(s)}return o}let n=H(t,e);for(;n&&i.isTableElement(n)&&b(n);)n=H(n,e);return n&&i.isLastTraversableNode(n)&&b(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const Z=async function(t){const e=this.getOffsetParent||I,o=this.getDimensions,n=await o(t.floating);return{reference:Y(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function X(t){return i.getComputedStyle(t).direction==="rtl"}const V={convertOffsetParentRelativeRectToViewportRelativeRect:U,getDocumentElement:i.getDocumentElement,getClippingRect:J,getOffsetParent:I,getElementRects:Z,getClientRects:k,getDimensions:Q,getScale:L,isElement:i.isElement,isRTL:X};function _(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tt(t,e){let o=null,n;const s=i.getDocumentElement(t);function l(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const u=t.getBoundingClientRect(),{left:a,top:g,width:w,height:h}=u;if(c||e(),!w||!h)return;const v=d.floor(g),p=d.floor(s.clientWidth-(a+w)),y=d.floor(s.clientHeight-(g+h)),m=d.floor(a),C={rootMargin:-v+"px "+-p+"px "+-y+"px "+-m+"px",threshold:d.max(0,d.min(1,f))||1};let O=!0;function D(S){const R=S[0].intersectionRatio;if(R!==f){if(!O)return r();R?r(!1,R):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!_(u,t.getBoundingClientRect())&&r(),O=!1}try{o=new IntersectionObserver(D,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(D,C)}o.observe(t)}return r(!0),l}function et(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=N(t),a=s||l?[...u?i.getOverflowAncestors(u):[],...i.getOverflowAncestors(e)]:[];a.forEach(m=>{s&&m.addEventListener("scroll",o,{passive:!0}),l&&m.addEventListener("resize",o)});const g=u&&c?tt(u,o):null;let w=-1,h=null;r&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===u&&h&&(h.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(e)})),o()}),u&&!f&&h.observe(u),h.observe(e));let v,p=f?T(t):null;f&&y();function y(){const m=T(t);p&&!_(p,m)&&o(),p=m,v=requestAnimationFrame(y)}return o(),()=>{var m;a.forEach(x=>{s&&x.removeEventListener("scroll",o),l&&x.removeEventListener("resize",o)}),g==null||g(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(v)}}const ot=E.offset,nt=E.shift,it=E.flip,st=E.size,rt=E.hide,lt=E.arrow,ct=E.limitShift,ft=(t,e,o)=>{const n=new Map,s={platform:V,...o},l={...s.platform,_c:n};return E.computePosition(t,e,{...s,platform:l})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=lt;exports.autoUpdate=et;exports.computePosition=ft;exports.flip=it;exports.hide=rt;exports.limitShift=ct;exports.offset=ot;exports.platform=V;exports.shift=nt;exports.size=st;
2
- //# sourceMappingURL=index.cjs362.js.map