@anoki/fse-ui 2.3.0-4-SNAPSHOT1 → 2.3.0-4-SNAPSHOT2

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 (493) hide show
  1. package/dist/index.cjs115.js +1 -1
  2. package/dist/index.cjs115.js.map +1 -1
  3. package/dist/index.cjs154.js +1 -1
  4. package/dist/index.cjs155.js +1 -1
  5. package/dist/index.cjs248.js +1 -1
  6. package/dist/index.cjs291.js +1 -1
  7. package/dist/index.cjs292.js +1 -1
  8. package/dist/index.cjs303.js +1 -1
  9. package/dist/index.cjs308.js +1 -1
  10. package/dist/index.cjs312.js +1 -1
  11. package/dist/index.cjs338.js +1 -1
  12. package/dist/index.cjs388.js +1 -1
  13. package/dist/index.cjs397.js +1 -1
  14. package/dist/index.cjs440.js +1 -1
  15. package/dist/index.cjs455.js +1 -1
  16. package/dist/index.cjs456.js +1 -1
  17. package/dist/index.cjs46.js +1 -1
  18. package/dist/index.cjs460.js +1 -1
  19. package/dist/index.cjs460.js.map +1 -1
  20. package/dist/index.cjs461.js +1 -2
  21. package/dist/index.cjs461.js.map +1 -1
  22. package/dist/index.cjs462.js +1 -1
  23. package/dist/index.cjs462.js.map +1 -1
  24. package/dist/index.cjs463.js +2 -1
  25. package/dist/index.cjs463.js.map +1 -1
  26. package/dist/index.cjs47.js +1 -1
  27. package/dist/index.cjs474.js +1 -1
  28. package/dist/index.cjs474.js.map +1 -1
  29. package/dist/index.cjs475.js +1 -1
  30. package/dist/index.cjs475.js.map +1 -1
  31. package/dist/index.cjs476.js +1 -1
  32. package/dist/index.cjs476.js.map +1 -1
  33. package/dist/index.cjs477.js +1 -1
  34. package/dist/index.cjs477.js.map +1 -1
  35. package/dist/index.cjs478.js +1 -1
  36. package/dist/index.cjs478.js.map +1 -1
  37. package/dist/index.cjs482.js +1 -1
  38. package/dist/index.cjs482.js.map +1 -1
  39. package/dist/index.cjs483.js +1 -1
  40. package/dist/index.cjs484.js +1 -1
  41. package/dist/index.cjs484.js.map +1 -1
  42. package/dist/index.cjs485.js +1 -1
  43. package/dist/index.cjs485.js.map +1 -1
  44. package/dist/index.cjs486.js +1 -1
  45. package/dist/index.cjs486.js.map +1 -1
  46. package/dist/index.cjs487.js +1 -1
  47. package/dist/index.cjs487.js.map +1 -1
  48. package/dist/index.cjs488.js +1 -1
  49. package/dist/index.cjs488.js.map +1 -1
  50. package/dist/index.cjs489.js +1 -1
  51. package/dist/index.cjs489.js.map +1 -1
  52. package/dist/index.cjs490.js +1 -1
  53. package/dist/index.cjs490.js.map +1 -1
  54. package/dist/index.cjs491.js +1 -1
  55. package/dist/index.cjs491.js.map +1 -1
  56. package/dist/index.cjs492.js +1 -1
  57. package/dist/index.cjs492.js.map +1 -1
  58. package/dist/index.cjs493.js +1 -1
  59. package/dist/index.cjs493.js.map +1 -1
  60. package/dist/index.cjs494.js +1 -1
  61. package/dist/index.cjs494.js.map +1 -1
  62. package/dist/index.cjs495.js +1 -1
  63. package/dist/index.cjs495.js.map +1 -1
  64. package/dist/index.cjs496.js +1 -1
  65. package/dist/index.cjs496.js.map +1 -1
  66. package/dist/index.cjs497.js +1 -1
  67. package/dist/index.cjs497.js.map +1 -1
  68. package/dist/index.cjs498.js +1 -1
  69. package/dist/index.cjs498.js.map +1 -1
  70. package/dist/index.cjs499.js +1 -1
  71. package/dist/index.cjs499.js.map +1 -1
  72. package/dist/index.cjs500.js +1 -1
  73. package/dist/index.cjs500.js.map +1 -1
  74. package/dist/index.cjs501.js +1 -1
  75. package/dist/index.cjs501.js.map +1 -1
  76. package/dist/index.cjs502.js.map +1 -1
  77. package/dist/index.cjs503.js.map +1 -1
  78. package/dist/index.cjs504.js.map +1 -1
  79. package/dist/index.cjs505.js +1 -1
  80. package/dist/index.cjs505.js.map +1 -1
  81. package/dist/index.cjs506.js +1 -1
  82. package/dist/index.cjs506.js.map +1 -1
  83. package/dist/index.cjs507.js.map +1 -1
  84. package/dist/index.cjs508.js.map +1 -1
  85. package/dist/index.cjs509.js.map +1 -1
  86. package/dist/index.cjs510.js +1 -1
  87. package/dist/index.cjs510.js.map +1 -1
  88. package/dist/index.cjs511.js.map +1 -1
  89. package/dist/index.cjs512.js +1 -1
  90. package/dist/index.cjs512.js.map +1 -1
  91. package/dist/index.cjs513.js.map +1 -1
  92. package/dist/index.cjs514.js.map +1 -1
  93. package/dist/index.cjs515.js.map +1 -1
  94. package/dist/index.cjs516.js +1 -1
  95. package/dist/index.cjs516.js.map +1 -1
  96. package/dist/index.cjs517.js.map +1 -1
  97. package/dist/index.cjs518.js +1 -1
  98. package/dist/index.cjs518.js.map +1 -1
  99. package/dist/index.cjs519.js.map +1 -1
  100. package/dist/index.cjs520.js.map +1 -1
  101. package/dist/index.cjs521.js.map +1 -1
  102. package/dist/index.cjs522.js +1 -1
  103. package/dist/index.cjs522.js.map +1 -1
  104. package/dist/index.cjs523.js.map +1 -1
  105. package/dist/index.cjs524.js.map +1 -1
  106. package/dist/index.cjs525.js +1 -1
  107. package/dist/index.cjs525.js.map +1 -1
  108. package/dist/index.cjs526.js +1 -1
  109. package/dist/index.cjs526.js.map +1 -1
  110. package/dist/index.cjs527.js.map +1 -1
  111. package/dist/index.cjs528.js +1 -1
  112. package/dist/index.cjs528.js.map +1 -1
  113. package/dist/index.cjs529.js +1 -1
  114. package/dist/index.cjs529.js.map +1 -1
  115. package/dist/index.cjs530.js +1 -1
  116. package/dist/index.cjs530.js.map +1 -1
  117. package/dist/index.cjs531.js +1 -1
  118. package/dist/index.cjs531.js.map +1 -1
  119. package/dist/index.cjs532.js +1 -1
  120. package/dist/index.cjs532.js.map +1 -1
  121. package/dist/index.cjs533.js +1 -1
  122. package/dist/index.cjs533.js.map +1 -1
  123. package/dist/index.cjs534.js +1 -1
  124. package/dist/index.cjs534.js.map +1 -1
  125. package/dist/index.cjs535.js +1 -1
  126. package/dist/index.cjs536.js +1 -1
  127. package/dist/index.cjs536.js.map +1 -1
  128. package/dist/index.cjs537.js +1 -1
  129. package/dist/index.cjs537.js.map +1 -1
  130. package/dist/index.cjs538.js +1 -1
  131. package/dist/index.cjs538.js.map +1 -1
  132. package/dist/index.cjs551.js +1 -1
  133. package/dist/index.cjs555.js +1 -1
  134. package/dist/index.cjs568.js +1 -1
  135. package/dist/index.cjs571.js +1 -1
  136. package/dist/index.cjs571.js.map +1 -1
  137. package/dist/index.cjs572.js +1 -1
  138. package/dist/index.cjs572.js.map +1 -1
  139. package/dist/index.cjs573.js +1 -1
  140. package/dist/index.cjs573.js.map +1 -1
  141. package/dist/{index.cjs479.js → index.cjs574.js} +1 -1
  142. package/dist/index.cjs574.js.map +1 -0
  143. package/dist/index.cjs578.js +2 -0
  144. package/dist/index.cjs578.js.map +1 -0
  145. package/dist/index.cjs579.js +2 -0
  146. package/dist/index.cjs579.js.map +1 -0
  147. package/dist/index.cjs580.js +2 -0
  148. package/dist/index.cjs580.js.map +1 -0
  149. package/dist/index.cjs582.js +1 -1
  150. package/dist/index.cjs583.js +1 -1
  151. package/dist/index.cjs584.js +1 -1
  152. package/dist/index.cjs585.js +1 -1
  153. package/dist/index.cjs588.js +38 -1
  154. package/dist/index.cjs588.js.map +1 -1
  155. package/dist/index.cjs589.js +1 -1
  156. package/dist/index.cjs589.js.map +1 -1
  157. package/dist/index.cjs590.js +1 -1
  158. package/dist/index.cjs590.js.map +1 -1
  159. package/dist/index.cjs591.js +2 -0
  160. package/dist/index.cjs591.js.map +1 -0
  161. package/dist/index.cjs592.js +1 -1
  162. package/dist/index.cjs592.js.map +1 -1
  163. package/dist/index.cjs593.js +1 -1
  164. package/dist/index.cjs593.js.map +1 -1
  165. package/dist/index.cjs594.js +2 -0
  166. package/dist/index.cjs594.js.map +1 -0
  167. package/dist/index.cjs597.js +1 -1
  168. package/dist/index.cjs616.js +1 -1
  169. package/dist/index.cjs619.js +1 -1
  170. package/dist/index.cjs619.js.map +1 -1
  171. package/dist/index.cjs620.js +1 -1
  172. package/dist/index.cjs620.js.map +1 -1
  173. package/dist/{index.cjs618.js → index.cjs621.js} +1 -1
  174. package/dist/{index.cjs618.js.map → index.cjs621.js.map} +1 -1
  175. package/dist/index.cjs622.js +2 -0
  176. package/dist/index.cjs622.js.map +1 -0
  177. package/dist/index.cjs623.js +1 -1
  178. package/dist/index.cjs623.js.map +1 -1
  179. package/dist/index.cjs625.js +1 -1
  180. package/dist/index.cjs631.js +1 -1
  181. package/dist/index.cjs634.js +1 -1
  182. package/dist/index.cjs636.js +1 -1
  183. package/dist/index.cjs637.js +1 -1
  184. package/dist/index.cjs639.js +1 -1
  185. package/dist/index.cjs640.js +1 -1
  186. package/dist/index.cjs641.js +1 -1
  187. package/dist/index.cjs642.js +1 -1
  188. package/dist/index.cjs645.js +1 -1
  189. package/dist/index.cjs648.js +1 -1
  190. package/dist/index.cjs653.js +1 -1
  191. package/dist/index.cjs655.js +1 -1
  192. package/dist/index.cjs658.js +1 -1
  193. package/dist/index.cjs659.js +1 -1
  194. package/dist/index.cjs659.js.map +1 -1
  195. package/dist/index.cjs660.js +1 -1
  196. package/dist/index.cjs660.js.map +1 -1
  197. package/dist/index.cjs661.js +1 -1
  198. package/dist/index.cjs661.js.map +1 -1
  199. package/dist/index.cjs662.js +1 -1
  200. package/dist/index.cjs662.js.map +1 -1
  201. package/dist/index.cjs663.js +1 -1
  202. package/dist/index.cjs663.js.map +1 -1
  203. package/dist/index.cjs664.js +2 -0
  204. package/dist/index.cjs664.js.map +1 -0
  205. package/dist/index.cjs665.js +1 -1
  206. package/dist/index.cjs665.js.map +1 -1
  207. package/dist/index.cjs666.js +1 -1
  208. package/dist/index.cjs666.js.map +1 -1
  209. package/dist/index.cjs667.js +1 -1
  210. package/dist/index.cjs667.js.map +1 -1
  211. package/dist/index.cjs668.js +1 -1
  212. package/dist/index.cjs668.js.map +1 -1
  213. package/dist/index.es115.js +12 -12
  214. package/dist/index.es115.js.map +1 -1
  215. package/dist/index.es154.js +1 -1
  216. package/dist/index.es155.js +1 -1
  217. package/dist/index.es248.js +1 -1
  218. package/dist/index.es291.js +1 -1
  219. package/dist/index.es292.js +1 -1
  220. package/dist/index.es303.js +4 -4
  221. package/dist/index.es308.js +1 -1
  222. package/dist/index.es312.js +14 -14
  223. package/dist/index.es338.js +6 -6
  224. package/dist/index.es388.js +6 -6
  225. package/dist/index.es397.js +1 -1
  226. package/dist/index.es440.js +5 -5
  227. package/dist/index.es455.js +1 -1
  228. package/dist/index.es456.js +1 -1
  229. package/dist/index.es46.js +1 -1
  230. package/dist/index.es460.js +2 -6
  231. package/dist/index.es460.js.map +1 -1
  232. package/dist/index.es461.js +2 -554
  233. package/dist/index.es461.js.map +1 -1
  234. package/dist/index.es462.js +6 -2
  235. package/dist/index.es462.js.map +1 -1
  236. package/dist/index.es463.js +554 -2
  237. package/dist/index.es463.js.map +1 -1
  238. package/dist/index.es47.js +1 -1
  239. package/dist/index.es474.js +13 -66
  240. package/dist/index.es474.js.map +1 -1
  241. package/dist/index.es475.js +64 -23
  242. package/dist/index.es475.js.map +1 -1
  243. package/dist/index.es476.js +25 -5
  244. package/dist/index.es476.js.map +1 -1
  245. package/dist/index.es477.js +6 -56
  246. package/dist/index.es477.js.map +1 -1
  247. package/dist/index.es478.js +56 -20
  248. package/dist/index.es478.js.map +1 -1
  249. package/dist/index.es482.js +20 -73
  250. package/dist/index.es482.js.map +1 -1
  251. package/dist/index.es483.js +2 -2
  252. package/dist/index.es484.js +54 -10
  253. package/dist/index.es484.js.map +1 -1
  254. package/dist/index.es485.js +210 -51
  255. package/dist/index.es485.js.map +1 -1
  256. package/dist/index.es486.js +71 -122
  257. package/dist/index.es486.js.map +1 -1
  258. package/dist/index.es487.js +2 -135
  259. package/dist/index.es487.js.map +1 -1
  260. package/dist/index.es488.js +11 -14
  261. package/dist/index.es488.js.map +1 -1
  262. package/dist/index.es489.js +48 -65
  263. package/dist/index.es489.js.map +1 -1
  264. package/dist/index.es490.js +123 -32
  265. package/dist/index.es490.js.map +1 -1
  266. package/dist/index.es491.js +134 -14
  267. package/dist/index.es491.js.map +1 -1
  268. package/dist/index.es492.js +12 -7
  269. package/dist/index.es492.js.map +1 -1
  270. package/dist/index.es493.js +66 -47
  271. package/dist/index.es493.js.map +1 -1
  272. package/dist/index.es494.js +34 -2
  273. package/dist/index.es494.js.map +1 -1
  274. package/dist/index.es495.js +14 -5
  275. package/dist/index.es495.js.map +1 -1
  276. package/dist/index.es496.js +9 -14
  277. package/dist/index.es496.js.map +1 -1
  278. package/dist/index.es497.js +50 -6
  279. package/dist/index.es497.js.map +1 -1
  280. package/dist/index.es498.js +2 -6
  281. package/dist/index.es498.js.map +1 -1
  282. package/dist/index.es499.js +2 -2
  283. package/dist/index.es499.js.map +1 -1
  284. package/dist/index.es500.js +11 -3
  285. package/dist/index.es500.js.map +1 -1
  286. package/dist/index.es501.js +5 -5
  287. package/dist/index.es501.js.map +1 -1
  288. package/dist/index.es502.js +2 -2
  289. package/dist/index.es502.js.map +1 -1
  290. package/dist/index.es503.js.map +1 -1
  291. package/dist/index.es504.js +2 -2
  292. package/dist/index.es504.js.map +1 -1
  293. package/dist/index.es505.js +2 -2
  294. package/dist/index.es505.js.map +1 -1
  295. package/dist/index.es506.js +2 -2
  296. package/dist/index.es506.js.map +1 -1
  297. package/dist/index.es507.js.map +1 -1
  298. package/dist/index.es508.js +2 -2
  299. package/dist/index.es508.js.map +1 -1
  300. package/dist/index.es509.js.map +1 -1
  301. package/dist/index.es510.js +2 -2
  302. package/dist/index.es510.js.map +1 -1
  303. package/dist/index.es511.js +5 -5
  304. package/dist/index.es511.js.map +1 -1
  305. package/dist/index.es512.js +3 -7
  306. package/dist/index.es512.js.map +1 -1
  307. package/dist/index.es513.js +2 -2
  308. package/dist/index.es513.js.map +1 -1
  309. package/dist/index.es514.js.map +1 -1
  310. package/dist/index.es515.js +3 -3
  311. package/dist/index.es515.js.map +1 -1
  312. package/dist/index.es516.js +7 -3
  313. package/dist/index.es516.js.map +1 -1
  314. package/dist/index.es517.js +2 -2
  315. package/dist/index.es517.js.map +1 -1
  316. package/dist/index.es518.js +4 -9
  317. package/dist/index.es518.js.map +1 -1
  318. package/dist/index.es519.js +2 -2
  319. package/dist/index.es519.js.map +1 -1
  320. package/dist/index.es520.js +2 -2
  321. package/dist/index.es520.js.map +1 -1
  322. package/dist/index.es521.js +2 -2
  323. package/dist/index.es521.js.map +1 -1
  324. package/dist/index.es522.js +9 -4
  325. package/dist/index.es522.js.map +1 -1
  326. package/dist/index.es523.js.map +1 -1
  327. package/dist/index.es524.js +2 -2
  328. package/dist/index.es524.js.map +1 -1
  329. package/dist/index.es525.js +3 -9
  330. package/dist/index.es525.js.map +1 -1
  331. package/dist/index.es526.js.map +1 -1
  332. package/dist/index.es527.js +2 -2
  333. package/dist/index.es527.js.map +1 -1
  334. package/dist/index.es528.js +5 -8
  335. package/dist/index.es528.js.map +1 -1
  336. package/dist/index.es529.js +8 -13
  337. package/dist/index.es529.js.map +1 -1
  338. package/dist/index.es530.js +5 -10
  339. package/dist/index.es530.js.map +1 -1
  340. package/dist/index.es531.js +6 -2
  341. package/dist/index.es531.js.map +1 -1
  342. package/dist/index.es532.js +9 -4
  343. package/dist/index.es532.js.map +1 -1
  344. package/dist/index.es533.js +16 -10
  345. package/dist/index.es533.js.map +1 -1
  346. package/dist/index.es534.js +10 -11
  347. package/dist/index.es534.js.map +1 -1
  348. package/dist/index.es535.js +2 -2
  349. package/dist/index.es536.js +4 -2
  350. package/dist/index.es536.js.map +1 -1
  351. package/dist/index.es537.js +11 -2
  352. package/dist/index.es537.js.map +1 -1
  353. package/dist/index.es538.js +12 -2
  354. package/dist/index.es538.js.map +1 -1
  355. package/dist/index.es539.js +2 -2
  356. package/dist/index.es540.js +2 -2
  357. package/dist/index.es541.js +2 -2
  358. package/dist/index.es542.js +2 -2
  359. package/dist/index.es544.js +2 -2
  360. package/dist/index.es545.js +2 -2
  361. package/dist/index.es546.js +2 -2
  362. package/dist/index.es547.js +2 -2
  363. package/dist/index.es548.js +2 -2
  364. package/dist/index.es549.js +2 -2
  365. package/dist/index.es550.js +2 -2
  366. package/dist/index.es551.js +2 -2
  367. package/dist/index.es552.js +2 -2
  368. package/dist/index.es553.js +2 -2
  369. package/dist/index.es555.js +2 -2
  370. package/dist/index.es556.js +2 -2
  371. package/dist/index.es557.js +2 -2
  372. package/dist/index.es558.js +2 -2
  373. package/dist/index.es559.js +2 -2
  374. package/dist/index.es560.js +2 -2
  375. package/dist/index.es562.js +2 -2
  376. package/dist/index.es565.js +2 -2
  377. package/dist/index.es566.js +2 -2
  378. package/dist/index.es567.js +2 -2
  379. package/dist/index.es568.js +2 -2
  380. package/dist/index.es569.js +2 -2
  381. package/dist/index.es570.js +2 -2
  382. package/dist/index.es571.js +2 -25
  383. package/dist/index.es571.js.map +1 -1
  384. package/dist/index.es572.js +2 -29
  385. package/dist/index.es572.js.map +1 -1
  386. package/dist/index.es573.js +2 -5
  387. package/dist/index.es573.js.map +1 -1
  388. package/dist/index.es574.js +5 -0
  389. package/dist/index.es574.js.map +1 -0
  390. package/dist/index.es578.js +28 -0
  391. package/dist/index.es578.js.map +1 -0
  392. package/dist/index.es579.js +32 -0
  393. package/dist/index.es579.js.map +1 -0
  394. package/dist/index.es580.js +8 -0
  395. package/dist/index.es580.js.map +1 -0
  396. package/dist/index.es582.js +1 -1
  397. package/dist/index.es583.js +2 -2
  398. package/dist/index.es584.js +5 -5
  399. package/dist/index.es585.js +1 -1
  400. package/dist/index.es588.js +68 -8
  401. package/dist/index.es588.js.map +1 -1
  402. package/dist/index.es589.js +9 -14
  403. package/dist/index.es589.js.map +1 -1
  404. package/dist/index.es590.js +14 -66
  405. package/dist/index.es590.js.map +1 -1
  406. package/dist/index.es591.js +69 -0
  407. package/dist/index.es591.js.map +1 -0
  408. package/dist/index.es592.js +64 -3
  409. package/dist/index.es592.js.map +1 -1
  410. package/dist/index.es593.js +3 -22
  411. package/dist/index.es593.js.map +1 -1
  412. package/dist/index.es594.js +26 -0
  413. package/dist/index.es594.js.map +1 -0
  414. package/dist/index.es597.js +1 -1
  415. package/dist/index.es616.js +17 -17
  416. package/dist/index.es619.js +4 -218
  417. package/dist/index.es619.js.map +1 -1
  418. package/dist/index.es620.js +41 -176
  419. package/dist/index.es620.js.map +1 -1
  420. package/dist/{index.es618.js → index.es621.js} +1 -1
  421. package/dist/{index.es618.js.map → index.es621.js.map} +1 -1
  422. package/dist/index.es622.js +222 -0
  423. package/dist/index.es622.js.map +1 -0
  424. package/dist/index.es623.js +180 -4
  425. package/dist/index.es623.js.map +1 -1
  426. package/dist/index.es625.js +1 -1
  427. package/dist/index.es631.js +3 -3
  428. package/dist/index.es634.js +3 -3
  429. package/dist/index.es636.js +1 -1
  430. package/dist/index.es637.js +2 -2
  431. package/dist/index.es639.js +3 -3
  432. package/dist/index.es640.js +2 -2
  433. package/dist/index.es641.js +15 -15
  434. package/dist/index.es642.js +2 -2
  435. package/dist/index.es645.js +2 -2
  436. package/dist/index.es648.js +8 -8
  437. package/dist/index.es653.js +8 -8
  438. package/dist/index.es655.js +1 -1
  439. package/dist/index.es658.js +1 -1
  440. package/dist/index.es659.js +6 -2
  441. package/dist/index.es659.js.map +1 -1
  442. package/dist/index.es660.js +16 -2
  443. package/dist/index.es660.js.map +1 -1
  444. package/dist/index.es661.js +2 -2
  445. package/dist/index.es661.js.map +1 -1
  446. package/dist/index.es662.js +2 -6
  447. package/dist/index.es662.js.map +1 -1
  448. package/dist/index.es663.js +2 -16
  449. package/dist/index.es663.js.map +1 -1
  450. package/dist/index.es664.js +5 -0
  451. package/dist/index.es664.js.map +1 -0
  452. package/dist/index.es665.js +2 -2
  453. package/dist/index.es665.js.map +1 -1
  454. package/dist/index.es666.js +3 -2
  455. package/dist/index.es666.js.map +1 -1
  456. package/dist/index.es667.js +2 -3
  457. package/dist/index.es667.js.map +1 -1
  458. package/dist/index.es668.js +4 -2
  459. package/dist/index.es668.js.map +1 -1
  460. package/package.json +1 -1
  461. package/dist/index.cjs479.js.map +0 -1
  462. package/dist/index.cjs480.js +0 -2
  463. package/dist/index.cjs480.js.map +0 -1
  464. package/dist/index.cjs481.js +0 -2
  465. package/dist/index.cjs481.js.map +0 -1
  466. package/dist/index.cjs577.js +0 -2
  467. package/dist/index.cjs577.js.map +0 -1
  468. package/dist/index.cjs586.js +0 -2
  469. package/dist/index.cjs586.js.map +0 -1
  470. package/dist/index.cjs587.js +0 -39
  471. package/dist/index.cjs587.js.map +0 -1
  472. package/dist/index.cjs617.js +0 -2
  473. package/dist/index.cjs617.js.map +0 -1
  474. package/dist/index.cjs669.js +0 -2
  475. package/dist/index.cjs669.js.map +0 -1
  476. package/dist/index.es479.js +0 -5
  477. package/dist/index.es479.js.map +0 -1
  478. package/dist/index.es480.js +0 -58
  479. package/dist/index.es480.js.map +0 -1
  480. package/dist/index.es481.js +0 -214
  481. package/dist/index.es481.js.map +0 -1
  482. package/dist/index.es577.js +0 -18
  483. package/dist/index.es577.js.map +0 -1
  484. package/dist/index.es586.js +0 -68
  485. package/dist/index.es586.js.map +0 -1
  486. package/dist/index.es587.js +0 -72
  487. package/dist/index.es587.js.map +0 -1
  488. package/dist/index.es617.js +0 -49
  489. package/dist/index.es617.js.map +0 -1
  490. package/dist/index.es669.js +0 -7
  491. package/dist/index.es669.js.map +0 -1
  492. /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
  493. /package/dist/sections/{CommunicationContents/CommunicationContents.css → CommunicationContentsHome/CommunicationContentsHome.css} +0 -0
@@ -1,184 +1,49 @@
1
- import * as s from "react";
2
- import { composeEventHandlers as p } from "./index.es476.js";
3
- import { createCollection as H } from "./index.es617.js";
4
- import { useComposedRefs as V } from "./index.es475.js";
5
- import { createContextScope as z } from "./index.es474.js";
6
- import { useId as q } from "./index.es484.js";
7
- import { Primitive as G } from "./index.es490.js";
8
- import { useCallbackRef as J } from "./index.es533.js";
9
- import { useControllableState as Q } from "./index.es485.js";
10
- import { useDirection as W } from "./index.es618.js";
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index.es475.js";
3
+ import { useComposedRefs as S } from "./index.es476.js";
4
+ import { createSlot as M } from "./index.es478.js";
11
5
  import { j as d } from "./index.es237.js";
12
- var _ = "rovingFocusGroup.onEntryFocus", X = { bubbles: !1, cancelable: !0 }, I = "RovingFocusGroup", [y, N, Z] = H(I), [$, Fe] = z(
13
- I,
14
- [Z]
15
- ), [ee, oe] = $(I), O = s.forwardRef(
16
- (e, r) => /* @__PURE__ */ d.jsx(y.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(y.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(te, { ...e, ref: r }) }) })
17
- );
18
- O.displayName = I;
19
- var te = s.forwardRef((e, r) => {
20
- const {
21
- __scopeRovingFocusGroup: c,
22
- orientation: o,
23
- loop: T = !1,
24
- dir: w,
25
- currentTabStopId: v,
26
- defaultCurrentTabStopId: C,
27
- onCurrentTabStopIdChange: S,
28
- onEntryFocus: m,
29
- preventScrollOnEntryFocus: u = !1,
30
- ...b
31
- } = e, F = s.useRef(null), g = V(r, F), R = W(w), [E, t] = Q({
32
- prop: v,
33
- defaultProp: C ?? null,
34
- onChange: S,
35
- caller: I
36
- }), [i, h] = s.useState(!1), a = J(m), l = N(c), x = s.useRef(!1), [k, D] = s.useState(0);
37
- return s.useEffect(() => {
38
- const n = F.current;
39
- if (n)
40
- return n.addEventListener(_, a), () => n.removeEventListener(_, a);
41
- }, [a]), /* @__PURE__ */ d.jsx(
42
- ee,
43
- {
44
- scope: c,
45
- orientation: o,
46
- dir: R,
47
- loop: T,
48
- currentTabStopId: E,
49
- onItemFocus: s.useCallback(
50
- (n) => t(n),
51
- [t]
52
- ),
53
- onItemShiftTab: s.useCallback(() => h(!0), []),
54
- onFocusableItemAdd: s.useCallback(
55
- () => D((n) => n + 1),
56
- []
57
- ),
58
- onFocusableItemRemove: s.useCallback(
59
- () => D((n) => n - 1),
60
- []
61
- ),
62
- children: /* @__PURE__ */ d.jsx(
63
- G.div,
64
- {
65
- tabIndex: i || k === 0 ? -1 : 0,
66
- "data-orientation": o,
67
- ...b,
68
- ref: g,
69
- style: { outline: "none", ...e.style },
70
- onMouseDown: p(e.onMouseDown, () => {
71
- x.current = !0;
72
- }),
73
- onFocus: p(e.onFocus, (n) => {
74
- const L = !x.current;
75
- if (n.target === n.currentTarget && L && !i) {
76
- const P = new CustomEvent(_, X);
77
- if (n.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
78
- const A = l().filter((f) => f.focusable), U = A.find((f) => f.active), B = A.find((f) => f.id === E), Y = [U, B, ...A].filter(
79
- Boolean
80
- ).map((f) => f.ref.current);
81
- M(Y, u);
82
- }
83
- }
84
- x.current = !1;
85
- }),
86
- onBlur: p(e.onBlur, () => h(!1))
87
- }
88
- )
6
+ function D(s) {
7
+ const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
+ m,
9
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
+ ), p = (c) => {
11
+ const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
+ return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
+ };
14
+ p.displayName = m;
15
+ const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
+ (c, e) => {
17
+ const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
+ return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
89
19
  }
90
20
  );
91
- }), K = "RovingFocusGroupItem", j = s.forwardRef(
92
- (e, r) => {
93
- const {
94
- __scopeRovingFocusGroup: c,
95
- focusable: o = !0,
96
- active: T = !1,
97
- tabStopId: w,
98
- children: v,
99
- ...C
100
- } = e, S = q(), m = w || S, u = oe(K, c), b = u.currentTabStopId === m, F = N(c), { onFocusableItemAdd: g, onFocusableItemRemove: R, currentTabStopId: E } = u;
101
- return s.useEffect(() => {
102
- if (o)
103
- return g(), () => R();
104
- }, [o, g, R]), /* @__PURE__ */ d.jsx(
105
- y.ItemSlot,
106
- {
107
- scope: c,
108
- id: m,
109
- focusable: o,
110
- active: T,
111
- children: /* @__PURE__ */ d.jsx(
112
- G.span,
113
- {
114
- tabIndex: b ? 0 : -1,
115
- "data-orientation": u.orientation,
116
- ...C,
117
- ref: r,
118
- onMouseDown: p(e.onMouseDown, (t) => {
119
- o ? u.onItemFocus(m) : t.preventDefault();
120
- }),
121
- onFocus: p(e.onFocus, () => u.onItemFocus(m)),
122
- onKeyDown: p(e.onKeyDown, (t) => {
123
- if (t.key === "Tab" && t.shiftKey) {
124
- u.onItemShiftTab();
125
- return;
126
- }
127
- if (t.target !== t.currentTarget) return;
128
- const i = se(t, u.orientation, u.dir);
129
- if (i !== void 0) {
130
- if (t.metaKey || t.ctrlKey || t.altKey || t.shiftKey) return;
131
- t.preventDefault();
132
- let a = F().filter((l) => l.focusable).map((l) => l.ref.current);
133
- if (i === "last") a.reverse();
134
- else if (i === "prev" || i === "next") {
135
- i === "prev" && a.reverse();
136
- const l = a.indexOf(t.currentTarget);
137
- a = u.loop ? ce(a, l + 1) : a.slice(l + 1);
138
- }
139
- setTimeout(() => M(a));
140
- }
141
- }),
142
- children: typeof v == "function" ? v({ isCurrentTabStop: b, hasTabStop: E != null }) : v
143
- }
144
- )
145
- }
146
- );
21
+ C.displayName = a;
22
+ const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
+ (c, e) => {
24
+ const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
26
+ }
27
+ );
28
+ x.displayName = u;
29
+ function O(c) {
30
+ const e = f(s + "CollectionConsumer", c);
31
+ return r.useCallback(() => {
32
+ const o = e.collectionRef.current;
33
+ if (!o) return [];
34
+ const t = Array.from(o.querySelectorAll(`[${R}]`));
35
+ return Array.from(e.itemMap.values()).sort(
36
+ (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
+ );
38
+ }, [e.collectionRef, e.itemMap]);
147
39
  }
148
- );
149
- j.displayName = K;
150
- var re = {
151
- ArrowLeft: "prev",
152
- ArrowUp: "prev",
153
- ArrowRight: "next",
154
- ArrowDown: "next",
155
- PageUp: "first",
156
- Home: "first",
157
- PageDown: "last",
158
- End: "last"
159
- };
160
- function ne(e, r) {
161
- return r !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
162
- }
163
- function se(e, r, c) {
164
- const o = ne(e.key, c);
165
- if (!(r === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(r === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
166
- return re[o];
167
- }
168
- function M(e, r = !1) {
169
- const c = document.activeElement;
170
- for (const o of e)
171
- if (o === c || (o.focus({ preventScroll: r }), document.activeElement !== c)) return;
172
- }
173
- function ce(e, r) {
174
- return e.map((c, o) => e[(r + o) % e.length]);
40
+ return [
41
+ { Provider: p, Slot: C, ItemSlot: x },
42
+ O,
43
+ E
44
+ ];
175
45
  }
176
- var ge = O, Re = j;
177
46
  export {
178
- Re as Item,
179
- ge as Root,
180
- O as RovingFocusGroup,
181
- j as RovingFocusGroupItem,
182
- Fe as createRovingFocusGroupScope
47
+ D as createCollection
183
48
  };
184
49
  //# sourceMappingURL=index.es620.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es620.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// 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, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\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 children,\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, currentTabStopId } = 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 children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\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","children","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":";;;;;;;;;;;AAcA,IAAIA,IAAc,iCACdC,IAAgB,EAAE,SAAS,IAAO,YAAY,GAAI,GAClDC,IAAa,oBACb,CAACC,GAAYC,GAAeC,CAAqB,IAAIC,EAAiBJ,CAAU,GAChF,CAACK,GAA+BC,EAA2B,IAAIC;AAAA,EACjEP;AAAA,EACA,CAACG,CAAqB;AACxB,GACI,CAACK,IAAqBC,EAAqB,IAAIJ,EAA8BL,CAAU,GACvFU,IAAmBC,EAAM;AAAA,EAC3B,CAACC,GAAOC,MACiBC,gBAAAA,MAAIb,EAAW,UAAU,EAAE,OAAOW,EAAM,yBAAyB,UAA0BE,gBAAAA,MAAIb,EAAW,MAAM,EAAE,OAAOW,EAAM,yBAAyB,UAA0BE,gBAAAA,EAAAA,IAAIC,IAAsB,EAAE,GAAGH,GAAO,KAAKC,GAAc,EAAC,CAAE,EAAC,CAAE;AAE5Q;AACAH,EAAiB,cAAcV;AAC/B,IAAIe,KAAuBJ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnE,QAAM;AAA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F;AACA,SAASL,GAAevB,GAAO9B,GAAaE,GAAK;AAC/C,QAAMwD,IAAMD,GAAqB3B,EAAM,KAAK5B,CAAG;AAC/C,MAAI,EAAAF,MAAgB,cAAc,CAAC,aAAa,YAAY,EAAE,SAAS0D,CAAG,MACtE,EAAA1D,MAAgB,gBAAgB,CAAC,WAAW,WAAW,EAAE,SAAS0D,CAAG;AACzE,WAAOF,GAAwBE,CAAG;AACpC;AACA,SAASpB,EAAWqB,GAAYC,IAAgB,IAAO;AACrD,QAAMC,IAA6B,SAAS;AAC5C,aAAWC,KAAaH;AAGtB,QAFIG,MAAcD,MAClBC,EAAU,MAAM,EAAE,eAAAF,GAAe,GAC7B,SAAS,kBAAkBC,GAA4B;AAE/D;AACA,SAASN,GAAUQ,GAAOC,GAAY;AACpC,SAAOD,EAAM,IAAI,CAACE,GAAGC,MAAUH,GAAOC,IAAaE,KAASH,EAAM,MAAM,CAAC;AAC3E;AACG,IAACI,KAAO1E,GACP2E,KAAO5B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es620.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAA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AAA,EAAM,UAAU,OACdQ,EAAQ,QAAQ,IAAIT,GAAK,EAAE,KAAAA,GAAK,GAAGgB,GAAU,GACtC,MAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,GACsBG,gBAAAA,MAAIW,GAAwB,EAAO,CAACD,CAAc,GAAG,IAAM,KAAKH,GAAc,UAAAX,GAAU;AAAA,IACjH;AAAA,EACJ;AACE,EAAAgB,EAAmB,cAAcH;AACjC,WAASK,EAAcnB,GAAO;AAC5B,UAAMW,IAAUd,EAAqBN,IAAO,sBAAsBS,CAAK;AAWvE,WAViBG,EAAM,YAAY,MAAM;AACvC,YAAMiB,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAA;AAC5B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MAC1F;AAAA,IAEI,GAAG,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE7C;AACA,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAkB;AAAA,IAClFE;AAAA,IACAzB;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
@@ -14,4 +14,4 @@ export {
14
14
  v as Provider,
15
15
  s as useDirection
16
16
  };
17
- //# sourceMappingURL=index.es618.js.map
17
+ //# sourceMappingURL=index.es621.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es618.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM,GAC7CC,IAAoB,CAACC,MAAU;AACjC,QAAM,EAAE,KAAAC,GAAK,UAAAC,EAAQ,IAAKF;AAC1B,SAAuBG,gBAAAA,EAAAA,IAAIN,EAAiB,UAAU,EAAE,OAAOI,GAAK,UAAAC,GAAU;AAChF;AACA,SAASE,EAAaC,GAAU;AAC9B,QAAMC,IAAYR,EAAM,WAAWD,CAAgB;AACnD,SAAOQ,KAAYC,KAAa;AAClC;AACG,IAACC,IAAWR;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es621.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM,GAC7CC,IAAoB,CAACC,MAAU;AACjC,QAAM,EAAE,KAAAC,GAAK,UAAAC,EAAQ,IAAKF;AAC1B,SAAuBG,gBAAAA,EAAAA,IAAIN,EAAiB,UAAU,EAAE,OAAOI,GAAK,UAAAC,GAAU;AAChF;AACA,SAASE,EAAaC,GAAU;AAC9B,QAAMC,IAAYR,EAAM,WAAWD,CAAgB;AACnD,SAAOQ,KAAYC,KAAa;AAClC;AACG,IAACC,IAAWR;","x_google_ignoreList":[0]}
@@ -0,0 +1,222 @@
1
+ import * as c from "react";
2
+ import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Re } from "./index.es624.js";
3
+ import { Root as Se } from "./index.es625.js";
4
+ import { useComposedRefs as T } from "./index.es476.js";
5
+ import { createContextScope as Oe } from "./index.es475.js";
6
+ import { Primitive as z } from "./index.es494.js";
7
+ import { useCallbackRef as Ee } from "./index.es537.js";
8
+ import { useLayoutEffect as B } from "./index.es536.js";
9
+ import { useSize as Ne } from "./index.es597.js";
10
+ import { j as f } from "./index.es237.js";
11
+ import { autoUpdate as _e } from "./index.es626.js";
12
+ var N = "Popper", [L, Ue] = Oe(N), [$e, Z] = L(N), U = (e) => {
13
+ const { __scopePopper: s, children: a } = e, [t, i] = c.useState(null);
14
+ return /* @__PURE__ */ f.jsx($e, { scope: s, anchor: t, onAnchorChange: i, children: a });
15
+ };
16
+ U.displayName = N;
17
+ var q = "PopperAnchor", G = c.forwardRef(
18
+ (e, s) => {
19
+ const { __scopePopper: a, virtualRef: t, ...i } = e, r = Z(q, a), o = c.useRef(null), w = T(s, o), n = c.useRef(null);
20
+ return c.useEffect(() => {
21
+ const p = n.current;
22
+ n.current = (t == null ? void 0 : t.current) || o.current, p !== n.current && r.onAnchorChange(n.current);
23
+ }), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...i, ref: w });
24
+ }
25
+ );
26
+ G.displayName = q;
27
+ var _ = "PopperContent", [je, He] = L(_), J = c.forwardRef(
28
+ (e, s) => {
29
+ var I, Y, M, X, D, F;
30
+ const {
31
+ __scopePopper: a,
32
+ side: t = "bottom",
33
+ sideOffset: i = 0,
34
+ align: r = "center",
35
+ alignOffset: o = 0,
36
+ arrowPadding: w = 0,
37
+ avoidCollisions: n = !0,
38
+ collisionBoundary: p = [],
39
+ collisionPadding: x = 0,
40
+ sticky: m = "partial",
41
+ hideWhenDetached: y = !1,
42
+ updatePositionStrategy: A = "optimized",
43
+ onPlaced: l,
44
+ ...d
45
+ } = e, v = Z(_, a), [h, C] = c.useState(null), ee = T(s, (P) => C(P)), [E, te] = c.useState(null), u = Ne(E), re = (u == null ? void 0 : u.width) ?? 0, $ = (u == null ? void 0 : u.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(p) ? p : [p], ae = j.length > 0, b = {
46
+ padding: ne,
47
+ boundary: j.filter(Ie),
48
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
49
+ altBoundary: ae
50
+ }, { refs: ie, floatingStyles: H, placement: se, isPositioned: R, middlewareData: g } = xe({
51
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
52
+ strategy: "fixed",
53
+ placement: oe,
54
+ whileElementsMounted: (...P) => _e(...P, {
55
+ animationFrame: A === "always"
56
+ }),
57
+ elements: {
58
+ reference: v.anchor
59
+ },
60
+ middleware: [
61
+ Pe({ mainAxis: i + $, alignmentAxis: o }),
62
+ n && ye({
63
+ mainAxis: !0,
64
+ crossAxis: !1,
65
+ limiter: m === "partial" ? Re() : void 0,
66
+ ...b
67
+ }),
68
+ n && Ae({ ...b }),
69
+ ve({
70
+ ...b,
71
+ apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ue }) => {
72
+ const { width: ge, height: we } = k.reference, O = P.floating.style;
73
+ O.setProperty("--radix-popper-available-width", `${he}px`), O.setProperty("--radix-popper-available-height", `${ue}px`), O.setProperty("--radix-popper-anchor-width", `${ge}px`), O.setProperty("--radix-popper-anchor-height", `${we}px`);
74
+ }
75
+ }),
76
+ E && Ce({ element: E, padding: w }),
77
+ Ye({ arrowWidth: re, arrowHeight: $ }),
78
+ y && be({ strategy: "referenceHidden", ...b })
79
+ ]
80
+ }), [W, pe] = V(se), S = Ee(l);
81
+ B(() => {
82
+ R && (S == null || S());
83
+ }, [R, S]);
84
+ const ce = (I = g.arrow) == null ? void 0 : I.x, de = (Y = g.arrow) == null ? void 0 : Y.y, le = ((M = g.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = c.useState();
85
+ return B(() => {
86
+ h && me(window.getComputedStyle(h).zIndex);
87
+ }, [h]), /* @__PURE__ */ f.jsx(
88
+ "div",
89
+ {
90
+ ref: ie.setFloating,
91
+ "data-radix-popper-content-wrapper": "",
92
+ style: {
93
+ ...H,
94
+ transform: R ? H.transform : "translate(0, -200%)",
95
+ // keep off the page when measuring
96
+ minWidth: "max-content",
97
+ zIndex: fe,
98
+ "--radix-popper-transform-origin": [
99
+ (X = g.transformOrigin) == null ? void 0 : X.x,
100
+ (D = g.transformOrigin) == null ? void 0 : D.y
101
+ ].join(" "),
102
+ // hide the content if using the hide middleware and should be hidden
103
+ // set visibility to hidden and disable pointer events so the UI behaves
104
+ // as if the PopperContent isn't there at all
105
+ ...((F = g.hide) == null ? void 0 : F.referenceHidden) && {
106
+ visibility: "hidden",
107
+ pointerEvents: "none"
108
+ }
109
+ },
110
+ dir: e.dir,
111
+ children: /* @__PURE__ */ f.jsx(
112
+ je,
113
+ {
114
+ scope: a,
115
+ placedSide: W,
116
+ onArrowChange: te,
117
+ arrowX: ce,
118
+ arrowY: de,
119
+ shouldHideArrow: le,
120
+ children: /* @__PURE__ */ f.jsx(
121
+ z.div,
122
+ {
123
+ "data-side": W,
124
+ "data-align": pe,
125
+ ...d,
126
+ ref: ee,
127
+ style: {
128
+ ...d.style,
129
+ // if the PopperContent hasn't been placed yet (not all measurements done)
130
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
131
+ animation: R ? void 0 : "none"
132
+ }
133
+ }
134
+ )
135
+ }
136
+ )
137
+ }
138
+ );
139
+ }
140
+ );
141
+ J.displayName = _;
142
+ var K = "PopperArrow", We = {
143
+ top: "bottom",
144
+ right: "left",
145
+ bottom: "top",
146
+ left: "right"
147
+ }, Q = c.forwardRef(function(s, a) {
148
+ const { __scopePopper: t, ...i } = s, r = He(K, t), o = We[r.placedSide];
149
+ return (
150
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
151
+ // doesn't report size as we'd expect on SVG elements.
152
+ // it reports their bounding box which is effectively the largest path inside the SVG.
153
+ /* @__PURE__ */ f.jsx(
154
+ "span",
155
+ {
156
+ ref: r.onArrowChange,
157
+ style: {
158
+ position: "absolute",
159
+ left: r.arrowX,
160
+ top: r.arrowY,
161
+ [o]: 0,
162
+ transformOrigin: {
163
+ top: "",
164
+ right: "0 0",
165
+ bottom: "center 0",
166
+ left: "100% 0"
167
+ }[r.placedSide],
168
+ transform: {
169
+ top: "translateY(100%)",
170
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
171
+ bottom: "rotate(180deg)",
172
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
173
+ }[r.placedSide],
174
+ visibility: r.shouldHideArrow ? "hidden" : void 0
175
+ },
176
+ children: /* @__PURE__ */ f.jsx(
177
+ Se,
178
+ {
179
+ ...i,
180
+ ref: a,
181
+ style: {
182
+ ...i.style,
183
+ // ensures the element can be measured correctly (mostly for if SVG)
184
+ display: "block"
185
+ }
186
+ }
187
+ )
188
+ }
189
+ )
190
+ );
191
+ });
192
+ Q.displayName = K;
193
+ function Ie(e) {
194
+ return e !== null;
195
+ }
196
+ var Ye = (e) => ({
197
+ name: "transformOrigin",
198
+ options: e,
199
+ fn(s) {
200
+ var v, h, C;
201
+ const { placement: a, rects: t, middlewareData: i } = s, o = ((v = i.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, n = o ? 0 : e.arrowHeight, [p, x] = V(a), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = i.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = i.arrow) == null ? void 0 : C.y) ?? 0) + n / 2;
202
+ let l = "", d = "";
203
+ return p === "bottom" ? (l = o ? m : `${y}px`, d = `${-n}px`) : p === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + n}px`) : p === "right" ? (l = `${-n}px`, d = o ? m : `${A}px`) : p === "left" && (l = `${t.floating.width + n}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
204
+ }
205
+ });
206
+ function V(e) {
207
+ const [s, a = "center"] = e.split("-");
208
+ return [s, a];
209
+ }
210
+ var qe = U, Ge = G, Je = J, Ke = Q;
211
+ export {
212
+ Ge as Anchor,
213
+ Ke as Arrow,
214
+ Je as Content,
215
+ U as Popper,
216
+ G as PopperAnchor,
217
+ Q as PopperArrow,
218
+ J as PopperContent,
219
+ qe as Root,
220
+ Ue as createPopperScope
221
+ };
222
+ //# sourceMappingURL=index.es622.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es622.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const anchorRef = React.useRef(null);\n React.useEffect(() => {\n const previousAnchor = anchorRef.current;\n anchorRef.current = virtualRef?.current || ref.current;\n if (previousAnchor !== anchorRef.current) {\n context.onAnchorChange(anchorRef.current);\n }\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","anchorRef","previousAnchor","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":";;;;;;;;;;;AAyBA,IAAIA,IAAc,UACd,CAACC,GAAqBC,EAAiB,IAAIC,GAAmBH,CAAW,GACzE,CAACI,IAAgBC,CAAgB,IAAIJ,EAAoBD,CAAW,GACpEM,IAAS,CAACC,MAAU;AACtB,QAAM,EAAE,eAAAC,GAAe,UAAAC,EAAQ,IAAKF,GAC9B,CAACG,GAAQC,CAAS,IAAIC,EAAM,SAAS,IAAI;AAC/C,SAAuBC,gBAAAA,EAAAA,IAAIT,IAAgB,EAAE,OAAOI,GAAe,QAAAE,GAAQ,gBAAgBC,GAAW,UAAAF,GAAU;AAClH;AACAH,EAAO,cAAcN;AACrB,IAAIc,IAAc,gBACdC,IAAeH,EAAM;AAAA,EACvB,CAACL,GAAOS,MAAiB;AACvB,UAAM,EAAE,eAAAR,GAAe,YAAAS,GAAY,GAAGC,EAAW,IAAKX,GAChDY,IAAUd,EAAiBS,GAAaN,CAAa,GACrDY,IAAMR,EAAM,OAAO,IAAI,GACvBS,IAAeC,EAAgBN,GAAcI,CAAG,GAChDG,IAAYX,EAAM,OAAO,IAAI;AACnC,WAAAA,EAAM,UAAU,MAAM;AACpB,YAAMY,IAAiBD,EAAU;AACjC,MAAAA,EAAU,WAAUN,KAAA,gBAAAA,EAAY,YAAWG,EAAI,SAC3CI,MAAmBD,EAAU,WAC/BJ,EAAQ,eAAeI,EAAU,OAAO;AAAA,IAE5C,CAAC,GACMN,IAAa,OAAuBJ,gBAAAA,EAAAA,IAAIY,EAAU,KAAK,EAAE,GAAGP,GAAa,KAAKG,GAAc;AAAA,EACrG;AACF;AACAN,EAAa,cAAcD;AAC3B,IAAIY,IAAe,iBACf,CAACC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