@anoki/fse-ui 2.2.0-3-SNAPSHOT → 2.2.0-3-SNAPSHOT3

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 (850) hide show
  1. package/dist/components/ui/TableOfContents/TableOfContents.css +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs101.js.map +1 -1
  4. package/dist/index.cjs18.js +1 -1
  5. package/dist/index.cjs18.js.map +1 -1
  6. package/dist/index.cjs237.js +1 -1
  7. package/dist/index.cjs248.js +1 -1
  8. package/dist/index.cjs250.js +1 -1
  9. package/dist/index.cjs251.js +1 -1
  10. package/dist/index.cjs262.js +1 -1
  11. package/dist/index.cjs267.js +1 -1
  12. package/dist/index.cjs272.js +1 -1
  13. package/dist/index.cjs297.js +1 -1
  14. package/dist/index.cjs311.js +1 -1
  15. package/dist/index.cjs312.js +1 -1
  16. package/dist/index.cjs325.js +1 -1
  17. package/dist/index.cjs331.js +1 -1
  18. package/dist/index.cjs341.js +1 -1
  19. package/dist/index.cjs344.js +1 -1
  20. package/dist/index.cjs353.js +1 -1
  21. package/dist/index.cjs362.js +1 -1
  22. package/dist/index.cjs381.js +1 -1
  23. package/dist/index.cjs382.js +1 -1
  24. package/dist/index.cjs405.js +1 -1
  25. package/dist/index.cjs410.js +1 -1
  26. package/dist/index.cjs418.js +1 -1
  27. package/dist/index.cjs426.js +1 -1
  28. package/dist/index.cjs432.js +1 -1
  29. package/dist/index.cjs442.js +1 -1
  30. package/dist/index.cjs443.js +1 -1
  31. package/dist/index.cjs444.js +1 -1
  32. package/dist/index.cjs444.js.map +1 -1
  33. package/dist/index.cjs445.js +2 -1
  34. package/dist/index.cjs445.js.map +1 -1
  35. package/dist/index.cjs446.js +1 -1
  36. package/dist/index.cjs446.js.map +1 -1
  37. package/dist/index.cjs447.js +1 -1
  38. package/dist/index.cjs447.js.map +1 -1
  39. package/dist/index.cjs449.js +1 -1
  40. package/dist/index.cjs449.js.map +1 -1
  41. package/dist/index.cjs450.js +1 -1
  42. package/dist/index.cjs450.js.map +1 -1
  43. package/dist/index.cjs451.js +1 -1
  44. package/dist/index.cjs451.js.map +1 -1
  45. package/dist/index.cjs452.js +1 -1
  46. package/dist/index.cjs452.js.map +1 -1
  47. package/dist/index.cjs453.js +1 -1
  48. package/dist/index.cjs453.js.map +1 -1
  49. package/dist/index.cjs454.js +1 -1
  50. package/dist/index.cjs454.js.map +1 -1
  51. package/dist/index.cjs455.js +1 -1
  52. package/dist/index.cjs455.js.map +1 -1
  53. package/dist/index.cjs456.js +1 -1
  54. package/dist/index.cjs456.js.map +1 -1
  55. package/dist/index.cjs457.js +1 -1
  56. package/dist/index.cjs457.js.map +1 -1
  57. package/dist/index.cjs461.js +1 -1
  58. package/dist/index.cjs463.js +1 -1
  59. package/dist/index.cjs466.js +2 -0
  60. package/dist/index.cjs466.js.map +1 -0
  61. package/dist/index.cjs467.js +2 -0
  62. package/dist/index.cjs467.js.map +1 -0
  63. package/dist/index.cjs468.js +2 -0
  64. package/dist/index.cjs468.js.map +1 -0
  65. package/dist/index.cjs469.js +1 -1
  66. package/dist/index.cjs469.js.map +1 -1
  67. package/dist/index.cjs470.js +1 -1
  68. package/dist/index.cjs470.js.map +1 -1
  69. package/dist/index.cjs471.js +2 -0
  70. package/dist/index.cjs471.js.map +1 -0
  71. package/dist/index.cjs472.js +2 -0
  72. package/dist/index.cjs472.js.map +1 -0
  73. package/dist/index.cjs473.js +2 -0
  74. package/dist/index.cjs473.js.map +1 -0
  75. package/dist/index.cjs480.js +2 -0
  76. package/dist/index.cjs480.js.map +1 -0
  77. package/dist/{index.cjs590.js → index.cjs481.js} +1 -1
  78. package/dist/index.cjs481.js.map +1 -0
  79. package/dist/index.cjs482.js +1 -1
  80. package/dist/index.cjs482.js.map +1 -1
  81. package/dist/index.cjs483.js +1 -1
  82. package/dist/index.cjs483.js.map +1 -1
  83. package/dist/index.cjs484.js +1 -1
  84. package/dist/index.cjs484.js.map +1 -1
  85. package/dist/index.cjs485.js +1 -1
  86. package/dist/index.cjs485.js.map +1 -1
  87. package/dist/index.cjs486.js +1 -1
  88. package/dist/index.cjs486.js.map +1 -1
  89. package/dist/index.cjs487.js +2 -0
  90. package/dist/index.cjs487.js.map +1 -0
  91. package/dist/index.cjs490.js +1 -1
  92. package/dist/index.cjs490.js.map +1 -1
  93. package/dist/index.cjs491.js +27 -1
  94. package/dist/index.cjs491.js.map +1 -1
  95. package/dist/index.cjs492.js +1 -1
  96. package/dist/index.cjs492.js.map +1 -1
  97. package/dist/index.cjs496.js +1 -1
  98. package/dist/index.cjs496.js.map +1 -1
  99. package/dist/index.cjs497.js +1 -1
  100. package/dist/index.cjs497.js.map +1 -1
  101. package/dist/index.cjs498.js +1 -1
  102. package/dist/index.cjs498.js.map +1 -1
  103. package/dist/index.cjs499.js +2 -0
  104. package/dist/index.cjs499.js.map +1 -0
  105. package/dist/index.cjs500.js +2 -0
  106. package/dist/index.cjs500.js.map +1 -0
  107. package/dist/index.cjs501.js +1 -1
  108. package/dist/index.cjs501.js.map +1 -1
  109. package/dist/index.cjs505.js +1 -1
  110. package/dist/index.cjs505.js.map +1 -1
  111. package/dist/index.cjs506.js +1 -1
  112. package/dist/index.cjs506.js.map +1 -1
  113. package/dist/index.cjs507.js +1 -1
  114. package/dist/index.cjs507.js.map +1 -1
  115. package/dist/index.cjs508.js +1 -1
  116. package/dist/index.cjs508.js.map +1 -1
  117. package/dist/index.cjs509.js +1 -1
  118. package/dist/index.cjs509.js.map +1 -1
  119. package/dist/index.cjs510.js +1 -1
  120. package/dist/index.cjs510.js.map +1 -1
  121. package/dist/index.cjs511.js +1 -1
  122. package/dist/index.cjs511.js.map +1 -1
  123. package/dist/index.cjs512.js +1 -1
  124. package/dist/index.cjs512.js.map +1 -1
  125. package/dist/index.cjs513.js +1 -1
  126. package/dist/index.cjs513.js.map +1 -1
  127. package/dist/index.cjs514.js +1 -1
  128. package/dist/index.cjs514.js.map +1 -1
  129. package/dist/index.cjs515.js +1 -1
  130. package/dist/index.cjs515.js.map +1 -1
  131. package/dist/index.cjs516.js +1 -1
  132. package/dist/index.cjs516.js.map +1 -1
  133. package/dist/index.cjs517.js +1 -1
  134. package/dist/index.cjs517.js.map +1 -1
  135. package/dist/index.cjs518.js +1 -1
  136. package/dist/index.cjs518.js.map +1 -1
  137. package/dist/index.cjs519.js +1 -1
  138. package/dist/index.cjs519.js.map +1 -1
  139. package/dist/index.cjs520.js +1 -1
  140. package/dist/index.cjs520.js.map +1 -1
  141. package/dist/index.cjs521.js +1 -1
  142. package/dist/index.cjs521.js.map +1 -1
  143. package/dist/index.cjs522.js +1 -1
  144. package/dist/index.cjs522.js.map +1 -1
  145. package/dist/index.cjs523.js +1 -1
  146. package/dist/index.cjs523.js.map +1 -1
  147. package/dist/index.cjs524.js +1 -1
  148. package/dist/index.cjs524.js.map +1 -1
  149. package/dist/index.cjs525.js +1 -1
  150. package/dist/index.cjs525.js.map +1 -1
  151. package/dist/index.cjs526.js +1 -1
  152. package/dist/index.cjs526.js.map +1 -1
  153. package/dist/index.cjs527.js +1 -1
  154. package/dist/index.cjs527.js.map +1 -1
  155. package/dist/index.cjs528.js +1 -1
  156. package/dist/index.cjs528.js.map +1 -1
  157. package/dist/index.cjs529.js +1 -1
  158. package/dist/index.cjs529.js.map +1 -1
  159. package/dist/index.cjs530.js +1 -1
  160. package/dist/index.cjs530.js.map +1 -1
  161. package/dist/index.cjs531.js +1 -1
  162. package/dist/index.cjs531.js.map +1 -1
  163. package/dist/index.cjs532.js +1 -1
  164. package/dist/index.cjs532.js.map +1 -1
  165. package/dist/index.cjs533.js +1 -1
  166. package/dist/index.cjs533.js.map +1 -1
  167. package/dist/index.cjs534.js +1 -1
  168. package/dist/index.cjs534.js.map +1 -1
  169. package/dist/index.cjs535.js +1 -1
  170. package/dist/index.cjs535.js.map +1 -1
  171. package/dist/index.cjs536.js +1 -1
  172. package/dist/index.cjs536.js.map +1 -1
  173. package/dist/index.cjs537.js +1 -1
  174. package/dist/index.cjs537.js.map +1 -1
  175. package/dist/index.cjs538.js +1 -1
  176. package/dist/index.cjs538.js.map +1 -1
  177. package/dist/index.cjs539.js +1 -1
  178. package/dist/index.cjs539.js.map +1 -1
  179. package/dist/index.cjs540.js +2 -0
  180. package/dist/index.cjs540.js.map +1 -0
  181. package/dist/{index.cjs596.js → index.cjs541.js} +1 -1
  182. package/dist/index.cjs541.js.map +1 -0
  183. package/dist/index.cjs544.js +2 -0
  184. package/dist/index.cjs544.js.map +1 -0
  185. package/dist/index.cjs545.js +2 -0
  186. package/dist/index.cjs545.js.map +1 -0
  187. package/dist/index.cjs546.js +2 -0
  188. package/dist/index.cjs546.js.map +1 -0
  189. package/dist/index.cjs547.js +2 -0
  190. package/dist/index.cjs547.js.map +1 -0
  191. package/dist/index.cjs548.js +1 -1
  192. package/dist/index.cjs548.js.map +1 -1
  193. package/dist/index.cjs549.js +1 -1
  194. package/dist/index.cjs549.js.map +1 -1
  195. package/dist/index.cjs550.js +1 -1
  196. package/dist/index.cjs550.js.map +1 -1
  197. package/dist/index.cjs551.js +1 -27
  198. package/dist/index.cjs551.js.map +1 -1
  199. package/dist/index.cjs552.js +1 -1
  200. package/dist/index.cjs553.js +1 -1
  201. package/dist/index.cjs554.js +1 -1
  202. package/dist/index.cjs554.js.map +1 -1
  203. package/dist/index.cjs555.js +1 -1
  204. package/dist/index.cjs555.js.map +1 -1
  205. package/dist/index.cjs556.js +1 -1
  206. package/dist/index.cjs556.js.map +1 -1
  207. package/dist/index.cjs557.js +1 -1
  208. package/dist/index.cjs557.js.map +1 -1
  209. package/dist/index.cjs558.js +1 -1
  210. package/dist/index.cjs558.js.map +1 -1
  211. package/dist/index.cjs559.js +1 -1
  212. package/dist/index.cjs559.js.map +1 -1
  213. package/dist/index.cjs560.js +1 -1
  214. package/dist/index.cjs560.js.map +1 -1
  215. package/dist/index.cjs561.js +1 -1
  216. package/dist/index.cjs561.js.map +1 -1
  217. package/dist/index.cjs562.js +1 -1
  218. package/dist/index.cjs562.js.map +1 -1
  219. package/dist/index.cjs563.js +1 -1
  220. package/dist/index.cjs563.js.map +1 -1
  221. package/dist/index.cjs564.js +1 -1
  222. package/dist/index.cjs564.js.map +1 -1
  223. package/dist/index.cjs565.js +1 -1
  224. package/dist/index.cjs565.js.map +1 -1
  225. package/dist/index.cjs566.js +1 -1
  226. package/dist/index.cjs566.js.map +1 -1
  227. package/dist/index.cjs567.js +1 -1
  228. package/dist/index.cjs567.js.map +1 -1
  229. package/dist/index.cjs568.js +1 -1
  230. package/dist/index.cjs568.js.map +1 -1
  231. package/dist/index.cjs569.js +1 -1
  232. package/dist/index.cjs569.js.map +1 -1
  233. package/dist/index.cjs570.js +1 -1
  234. package/dist/index.cjs570.js.map +1 -1
  235. package/dist/index.cjs571.js +1 -1
  236. package/dist/index.cjs571.js.map +1 -1
  237. package/dist/index.cjs572.js +1 -1
  238. package/dist/index.cjs572.js.map +1 -1
  239. package/dist/index.cjs573.js +1 -1
  240. package/dist/index.cjs573.js.map +1 -1
  241. package/dist/index.cjs574.js +1 -1
  242. package/dist/index.cjs574.js.map +1 -1
  243. package/dist/index.cjs575.js +1 -1
  244. package/dist/index.cjs575.js.map +1 -1
  245. package/dist/index.cjs576.js +1 -1
  246. package/dist/index.cjs576.js.map +1 -1
  247. package/dist/index.cjs577.js +1 -1
  248. package/dist/index.cjs577.js.map +1 -1
  249. package/dist/index.cjs578.js +1 -1
  250. package/dist/index.cjs578.js.map +1 -1
  251. package/dist/index.cjs579.js +1 -1
  252. package/dist/index.cjs579.js.map +1 -1
  253. package/dist/index.cjs585.js +1 -1
  254. package/dist/index.cjs587.js +1 -1
  255. package/dist/index.cjs587.js.map +1 -1
  256. package/dist/index.cjs591.js +1 -1
  257. package/dist/index.cjs591.js.map +1 -1
  258. package/dist/index.cjs592.js +1 -1
  259. package/dist/index.cjs592.js.map +1 -1
  260. package/dist/index.cjs593.js +1 -1
  261. package/dist/index.cjs593.js.map +1 -1
  262. package/dist/index.cjs594.js +1 -1
  263. package/dist/index.cjs594.js.map +1 -1
  264. package/dist/index.cjs597.js +1 -1
  265. package/dist/index.cjs597.js.map +1 -1
  266. package/dist/index.cjs598.js +1 -1
  267. package/dist/index.cjs598.js.map +1 -1
  268. package/dist/index.cjs599.js +1 -1
  269. package/dist/index.cjs599.js.map +1 -1
  270. package/dist/index.cjs600.js +4 -1
  271. package/dist/index.cjs600.js.map +1 -1
  272. package/dist/index.cjs601.js +1 -1
  273. package/dist/index.cjs601.js.map +1 -1
  274. package/dist/index.cjs602.js +1 -1
  275. package/dist/index.cjs603.js +1 -1
  276. package/dist/index.cjs603.js.map +1 -1
  277. package/dist/index.cjs604.js +1 -1
  278. package/dist/index.cjs604.js.map +1 -1
  279. package/dist/index.cjs605.js +1 -1
  280. package/dist/index.cjs605.js.map +1 -1
  281. package/dist/index.cjs606.js +1 -1
  282. package/dist/index.cjs606.js.map +1 -1
  283. package/dist/index.cjs607.js +1 -1
  284. package/dist/index.cjs607.js.map +1 -1
  285. package/dist/index.cjs608.js +1 -1
  286. package/dist/index.cjs608.js.map +1 -1
  287. package/dist/index.cjs609.js +1 -1
  288. package/dist/index.cjs609.js.map +1 -1
  289. package/dist/index.cjs610.js +1 -1
  290. package/dist/index.cjs610.js.map +1 -1
  291. package/dist/index.cjs611.js +1 -1
  292. package/dist/index.cjs611.js.map +1 -1
  293. package/dist/index.cjs612.js +1 -1
  294. package/dist/index.cjs612.js.map +1 -1
  295. package/dist/index.cjs613.js +1 -1
  296. package/dist/index.cjs613.js.map +1 -1
  297. package/dist/index.cjs614.js +1 -1
  298. package/dist/index.cjs614.js.map +1 -1
  299. package/dist/index.cjs615.js +2 -0
  300. package/dist/index.cjs615.js.map +1 -0
  301. package/dist/index.cjs616.js +1 -1
  302. package/dist/index.cjs616.js.map +1 -1
  303. package/dist/index.cjs617.js +1 -1
  304. package/dist/index.cjs617.js.map +1 -1
  305. package/dist/index.cjs618.js +1 -1
  306. package/dist/index.cjs618.js.map +1 -1
  307. package/dist/index.cjs619.js +1 -4
  308. package/dist/index.cjs619.js.map +1 -1
  309. package/dist/index.cjs620.js +1 -1
  310. package/dist/index.cjs620.js.map +1 -1
  311. package/dist/index.cjs621.js +1 -5
  312. package/dist/index.cjs621.js.map +1 -1
  313. package/dist/index.cjs622.js +1 -1
  314. package/dist/index.cjs622.js.map +1 -1
  315. package/dist/index.cjs623.js +1 -1
  316. package/dist/index.cjs623.js.map +1 -1
  317. package/dist/index.cjs624.js +1 -1
  318. package/dist/index.cjs624.js.map +1 -1
  319. package/dist/index.cjs625.js +1 -1
  320. package/dist/index.cjs625.js.map +1 -1
  321. package/dist/index.cjs626.js +1 -1
  322. package/dist/index.cjs626.js.map +1 -1
  323. package/dist/index.cjs627.js +1 -1
  324. package/dist/index.cjs627.js.map +1 -1
  325. package/dist/index.cjs630.js +38 -1
  326. package/dist/index.cjs630.js.map +1 -1
  327. package/dist/index.cjs631.js +1 -1
  328. package/dist/index.cjs631.js.map +1 -1
  329. package/dist/index.cjs632.js +1 -1
  330. package/dist/index.cjs632.js.map +1 -1
  331. package/dist/index.cjs633.js +1 -1
  332. package/dist/index.cjs633.js.map +1 -1
  333. package/dist/index.cjs634.js +1 -1
  334. package/dist/index.cjs634.js.map +1 -1
  335. package/dist/index.cjs635.js +5 -1
  336. package/dist/index.cjs635.js.map +1 -1
  337. package/dist/index.cjs636.js +1 -2
  338. package/dist/index.cjs636.js.map +1 -1
  339. package/dist/index.cjs637.js +1 -1
  340. package/dist/index.cjs637.js.map +1 -1
  341. package/dist/index.cjs638.js +1 -38
  342. package/dist/index.cjs638.js.map +1 -1
  343. package/dist/index.cjs639.js +1 -1
  344. package/dist/index.cjs639.js.map +1 -1
  345. package/dist/index.cjs640.js +1 -1
  346. package/dist/index.cjs640.js.map +1 -1
  347. package/dist/index.cjs641.js +1 -1
  348. package/dist/index.cjs641.js.map +1 -1
  349. package/dist/index.cjs642.js +1 -1
  350. package/dist/index.cjs642.js.map +1 -1
  351. package/dist/index.cjs643.js +1 -1
  352. package/dist/index.cjs643.js.map +1 -1
  353. package/dist/index.cjs644.js +1 -1
  354. package/dist/index.cjs644.js.map +1 -1
  355. package/dist/index.cjs645.js +1 -1
  356. package/dist/index.cjs645.js.map +1 -1
  357. package/dist/index.cjs646.js +1 -1
  358. package/dist/index.cjs646.js.map +1 -1
  359. package/dist/index.cjs647.js +1 -1
  360. package/dist/index.cjs647.js.map +1 -1
  361. package/dist/index.cjs648.js +1 -1
  362. package/dist/index.cjs648.js.map +1 -1
  363. package/dist/index.cjs649.js +1 -1
  364. package/dist/index.cjs649.js.map +1 -1
  365. package/dist/index.cjs650.js +1 -1
  366. package/dist/index.cjs650.js.map +1 -1
  367. package/dist/index.cjs651.js +1 -1
  368. package/dist/index.cjs651.js.map +1 -1
  369. package/dist/index.cjs654.js +1 -1
  370. package/dist/index.cjs654.js.map +1 -1
  371. package/dist/index.cjs655.js +1 -1
  372. package/dist/index.cjs655.js.map +1 -1
  373. package/dist/index.cjs656.js +1 -1
  374. package/dist/index.cjs656.js.map +1 -1
  375. package/dist/index.cjs657.js +1 -1
  376. package/dist/index.cjs657.js.map +1 -1
  377. package/dist/index.cjs658.js +1 -1
  378. package/dist/index.cjs658.js.map +1 -1
  379. package/dist/index.cjs659.js +1 -1
  380. package/dist/index.cjs659.js.map +1 -1
  381. package/dist/index.cjs660.js +1 -1
  382. package/dist/index.cjs660.js.map +1 -1
  383. package/dist/index.cjs661.js +1 -1
  384. package/dist/index.cjs661.js.map +1 -1
  385. package/dist/index.cjs86.js +1 -1
  386. package/dist/index.cjs86.js.map +1 -1
  387. package/dist/index.d.ts +2 -1
  388. package/dist/index.es101.js +21 -19
  389. package/dist/index.es101.js.map +1 -1
  390. package/dist/index.es18.js +24 -23
  391. package/dist/index.es18.js.map +1 -1
  392. package/dist/index.es237.js +1 -1
  393. package/dist/index.es248.js +1 -1
  394. package/dist/index.es250.js +1 -1
  395. package/dist/index.es251.js +1 -1
  396. package/dist/index.es262.js +4 -4
  397. package/dist/index.es267.js +1 -1
  398. package/dist/index.es272.js +14 -14
  399. package/dist/index.es297.js +8 -8
  400. package/dist/index.es311.js +2 -2
  401. package/dist/index.es312.js +3 -3
  402. package/dist/index.es325.js +1 -1
  403. package/dist/index.es331.js +1 -1
  404. package/dist/index.es341.js +1 -1
  405. package/dist/index.es344.js +1 -1
  406. package/dist/index.es353.js +7 -7
  407. package/dist/index.es362.js +1 -1
  408. package/dist/index.es381.js +6 -6
  409. package/dist/index.es382.js +2 -2
  410. package/dist/index.es405.js +7 -7
  411. package/dist/index.es410.js +8 -8
  412. package/dist/index.es418.js +1 -1
  413. package/dist/index.es426.js +2 -2
  414. package/dist/index.es432.js +3 -3
  415. package/dist/index.es442.js +1 -1
  416. package/dist/index.es443.js +1 -1
  417. package/dist/index.es444.js +5 -6
  418. package/dist/index.es444.js.map +1 -1
  419. package/dist/index.es445.js +551 -24
  420. package/dist/index.es445.js.map +1 -1
  421. package/dist/index.es446.js +2 -68
  422. package/dist/index.es446.js.map +1 -1
  423. package/dist/index.es447.js +2 -11
  424. package/dist/index.es447.js.map +1 -1
  425. package/dist/index.es449.js +23 -121
  426. package/dist/index.es449.js.map +1 -1
  427. package/dist/index.es450.js +62 -129
  428. package/dist/index.es450.js.map +1 -1
  429. package/dist/index.es451.js +7 -14
  430. package/dist/index.es451.js.map +1 -1
  431. package/dist/index.es452.js +48 -65
  432. package/dist/index.es452.js.map +1 -1
  433. package/dist/index.es453.js +5 -33
  434. package/dist/index.es453.js.map +1 -1
  435. package/dist/index.es454.js +24 -14
  436. package/dist/index.es454.js.map +1 -1
  437. package/dist/index.es455.js +69 -9
  438. package/dist/index.es455.js.map +1 -1
  439. package/dist/index.es456.js +33 -49
  440. package/dist/index.es456.js.map +1 -1
  441. package/dist/index.es457.js +13 -55
  442. package/dist/index.es457.js.map +1 -1
  443. package/dist/index.es461.js +2 -2
  444. package/dist/index.es463.js +1 -1
  445. package/dist/index.es466.js +14 -0
  446. package/dist/index.es466.js.map +1 -0
  447. package/dist/index.es467.js +128 -0
  448. package/dist/index.es467.js.map +1 -0
  449. package/dist/index.es468.js +138 -0
  450. package/dist/index.es468.js.map +1 -0
  451. package/dist/index.es469.js +14 -2
  452. package/dist/index.es469.js.map +1 -1
  453. package/dist/index.es470.js +15 -2
  454. package/dist/index.es470.js.map +1 -1
  455. package/dist/index.es471.js +12 -0
  456. package/dist/index.es471.js.map +1 -0
  457. package/dist/index.es472.js +53 -0
  458. package/dist/index.es472.js.map +1 -0
  459. package/dist/index.es473.js +60 -0
  460. package/dist/index.es473.js.map +1 -0
  461. package/dist/index.es480.js +24 -0
  462. package/dist/index.es480.js.map +1 -0
  463. package/dist/index.es481.js +5 -0
  464. package/dist/index.es481.js.map +1 -0
  465. package/dist/index.es482.js +53 -14
  466. package/dist/index.es482.js.map +1 -1
  467. package/dist/index.es483.js +201 -19
  468. package/dist/index.es483.js.map +1 -1
  469. package/dist/index.es484.js +74 -2
  470. package/dist/index.es484.js.map +1 -1
  471. package/dist/index.es485.js +5 -53
  472. package/dist/index.es485.js.map +1 -1
  473. package/dist/index.es486.js +2 -204
  474. package/dist/index.es486.js.map +1 -1
  475. package/dist/index.es487.js +625 -0
  476. package/dist/index.es487.js.map +1 -0
  477. package/dist/index.es490.js +4 -11
  478. package/dist/index.es490.js.map +1 -1
  479. package/dist/index.es491.js +3674 -11
  480. package/dist/index.es491.js.map +1 -1
  481. package/dist/index.es492.js +2 -133
  482. package/dist/index.es492.js.map +1 -1
  483. package/dist/index.es496.js +9 -73
  484. package/dist/index.es496.js.map +1 -1
  485. package/dist/index.es497.js +183 -5
  486. package/dist/index.es497.js.map +1 -1
  487. package/dist/index.es498.js +4 -2
  488. package/dist/index.es498.js.map +1 -1
  489. package/dist/index.es499.js +136 -0
  490. package/dist/index.es499.js.map +1 -0
  491. package/dist/index.es500.js +14 -0
  492. package/dist/index.es500.js.map +1 -0
  493. package/dist/index.es501.js +11 -4
  494. package/dist/index.es501.js.map +1 -1
  495. package/dist/index.es505.js +2 -14
  496. package/dist/index.es505.js.map +1 -1
  497. package/dist/index.es506.js +5 -5
  498. package/dist/index.es506.js.map +1 -1
  499. package/dist/index.es507.js +12 -4
  500. package/dist/index.es507.js.map +1 -1
  501. package/dist/index.es508.js +3 -3
  502. package/dist/index.es508.js.map +1 -1
  503. package/dist/index.es509.js +3 -3
  504. package/dist/index.es509.js.map +1 -1
  505. package/dist/index.es510.js +3 -3
  506. package/dist/index.es510.js.map +1 -1
  507. package/dist/index.es511.js +3 -3
  508. package/dist/index.es511.js.map +1 -1
  509. package/dist/index.es512.js +3 -3
  510. package/dist/index.es512.js.map +1 -1
  511. package/dist/index.es513.js +1 -1
  512. package/dist/index.es513.js.map +1 -1
  513. package/dist/index.es514.js +3 -3
  514. package/dist/index.es514.js.map +1 -1
  515. package/dist/index.es515.js +3 -3
  516. package/dist/index.es515.js.map +1 -1
  517. package/dist/index.es516.js +3 -3
  518. package/dist/index.es516.js.map +1 -1
  519. package/dist/index.es517.js +3 -3
  520. package/dist/index.es517.js.map +1 -1
  521. package/dist/index.es518.js +3 -3
  522. package/dist/index.es518.js.map +1 -1
  523. package/dist/index.es519.js +1 -1
  524. package/dist/index.es519.js.map +1 -1
  525. package/dist/index.es520.js +3 -3
  526. package/dist/index.es520.js.map +1 -1
  527. package/dist/index.es521.js +4 -8
  528. package/dist/index.es521.js.map +1 -1
  529. package/dist/index.es522.js +5 -5
  530. package/dist/index.es522.js.map +1 -1
  531. package/dist/index.es523.js +8 -4
  532. package/dist/index.es523.js.map +1 -1
  533. package/dist/index.es524.js +3 -3
  534. package/dist/index.es524.js.map +1 -1
  535. package/dist/index.es525.js +1 -1
  536. package/dist/index.es525.js.map +1 -1
  537. package/dist/index.es526.js +3 -3
  538. package/dist/index.es526.js.map +1 -1
  539. package/dist/index.es527.js +5 -10
  540. package/dist/index.es527.js.map +1 -1
  541. package/dist/index.es528.js +3 -3
  542. package/dist/index.es528.js.map +1 -1
  543. package/dist/index.es529.js +10 -5
  544. package/dist/index.es529.js.map +1 -1
  545. package/dist/index.es530.js +3 -3
  546. package/dist/index.es530.js.map +1 -1
  547. package/dist/index.es531.js +1 -1
  548. package/dist/index.es531.js.map +1 -1
  549. package/dist/index.es532.js +3 -3
  550. package/dist/index.es532.js.map +1 -1
  551. package/dist/index.es533.js +3 -3
  552. package/dist/index.es533.js.map +1 -1
  553. package/dist/index.es534.js +4 -10
  554. package/dist/index.es534.js.map +1 -1
  555. package/dist/index.es535.js +3 -3
  556. package/dist/index.es535.js.map +1 -1
  557. package/dist/index.es536.js +10 -4
  558. package/dist/index.es536.js.map +1 -1
  559. package/dist/index.es537.js +5 -8
  560. package/dist/index.es537.js.map +1 -1
  561. package/dist/index.es538.js +4 -15
  562. package/dist/index.es538.js.map +1 -1
  563. package/dist/index.es539.js +9 -2
  564. package/dist/index.es539.js.map +1 -1
  565. package/dist/index.es540.js +20 -0
  566. package/dist/index.es540.js.map +1 -0
  567. package/dist/index.es541.js +5 -0
  568. package/dist/index.es541.js.map +1 -0
  569. package/dist/index.es544.js +8 -0
  570. package/dist/index.es544.js.map +1 -0
  571. package/dist/index.es545.js +49 -0
  572. package/dist/index.es545.js.map +1 -0
  573. package/dist/index.es546.js +17 -0
  574. package/dist/index.es546.js.map +1 -0
  575. package/dist/index.es547.js +222 -0
  576. package/dist/index.es547.js.map +1 -0
  577. package/dist/index.es548.js +177 -21
  578. package/dist/index.es548.js.map +1 -1
  579. package/dist/index.es549.js +24 -28
  580. package/dist/index.es549.js.map +1 -1
  581. package/dist/index.es550.js +29 -5
  582. package/dist/index.es550.js.map +1 -1
  583. package/dist/index.es551.js +5 -3675
  584. package/dist/index.es551.js.map +1 -1
  585. package/dist/index.es552.js +2 -2
  586. package/dist/index.es553.js +2 -5
  587. package/dist/index.es553.js.map +1 -1
  588. package/dist/index.es554.js +2 -16
  589. package/dist/index.es554.js.map +1 -1
  590. package/dist/index.es555.js +2 -13
  591. package/dist/index.es555.js.map +1 -1
  592. package/dist/index.es556.js +2 -36
  593. package/dist/index.es556.js.map +1 -1
  594. package/dist/index.es557.js +2 -5
  595. package/dist/index.es557.js.map +1 -1
  596. package/dist/index.es558.js +2 -2
  597. package/dist/index.es558.js.map +1 -1
  598. package/dist/index.es559.js +2 -3
  599. package/dist/index.es559.js.map +1 -1
  600. package/dist/index.es560.js +2 -7
  601. package/dist/index.es560.js.map +1 -1
  602. package/dist/index.es561.js +2 -6
  603. package/dist/index.es561.js.map +1 -1
  604. package/dist/index.es562.js +2 -5
  605. package/dist/index.es562.js.map +1 -1
  606. package/dist/index.es563.js +2 -32
  607. package/dist/index.es563.js.map +1 -1
  608. package/dist/index.es564.js +2 -242
  609. package/dist/index.es564.js.map +1 -1
  610. package/dist/index.es565.js +2 -4
  611. package/dist/index.es565.js.map +1 -1
  612. package/dist/index.es566.js +2 -5
  613. package/dist/index.es566.js.map +1 -1
  614. package/dist/index.es567.js +2 -10
  615. package/dist/index.es567.js.map +1 -1
  616. package/dist/index.es568.js +2 -56
  617. package/dist/index.es568.js.map +1 -1
  618. package/dist/index.es569.js +2 -8
  619. package/dist/index.es569.js.map +1 -1
  620. package/dist/index.es570.js +2 -6
  621. package/dist/index.es570.js.map +1 -1
  622. package/dist/index.es571.js +2 -532
  623. package/dist/index.es571.js.map +1 -1
  624. package/dist/index.es572.js +2 -14
  625. package/dist/index.es572.js.map +1 -1
  626. package/dist/index.es573.js +2 -2
  627. package/dist/index.es573.js.map +1 -1
  628. package/dist/index.es574.js +2 -37
  629. package/dist/index.es574.js.map +1 -1
  630. package/dist/index.es575.js +2 -2
  631. package/dist/index.es575.js.map +1 -1
  632. package/dist/index.es576.js +2 -272
  633. package/dist/index.es576.js.map +1 -1
  634. package/dist/index.es577.js +2 -14
  635. package/dist/index.es577.js.map +1 -1
  636. package/dist/index.es578.js +2 -3
  637. package/dist/index.es578.js.map +1 -1
  638. package/dist/index.es579.js +2 -30
  639. package/dist/index.es579.js.map +1 -1
  640. package/dist/index.es580.js +2 -2
  641. package/dist/index.es582.js +2 -2
  642. package/dist/index.es584.js +2 -2
  643. package/dist/index.es585.js +2 -2
  644. package/dist/index.es586.js +2 -2
  645. package/dist/index.es587.js +34 -2
  646. package/dist/index.es587.js.map +1 -1
  647. package/dist/index.es591.js +206 -2
  648. package/dist/index.es591.js.map +1 -1
  649. package/dist/index.es592.js +22 -2
  650. package/dist/index.es592.js.map +1 -1
  651. package/dist/index.es593.js +400 -2
  652. package/dist/index.es593.js.map +1 -1
  653. package/dist/index.es594.js +15 -2
  654. package/dist/index.es594.js.map +1 -1
  655. package/dist/index.es597.js +5 -2
  656. package/dist/index.es597.js.map +1 -1
  657. package/dist/index.es598.js +3 -2
  658. package/dist/index.es598.js.map +1 -1
  659. package/dist/index.es599.js +24 -2
  660. package/dist/index.es599.js.map +1 -1
  661. package/dist/index.es600.js +110 -2
  662. package/dist/index.es600.js.map +1 -1
  663. package/dist/index.es601.js +16 -2
  664. package/dist/index.es601.js.map +1 -1
  665. package/dist/index.es602.js +5 -2
  666. package/dist/index.es602.js.map +1 -1
  667. package/dist/index.es603.js +16 -2
  668. package/dist/index.es603.js.map +1 -1
  669. package/dist/index.es604.js +13 -2
  670. package/dist/index.es604.js.map +1 -1
  671. package/dist/index.es605.js +36 -2
  672. package/dist/index.es605.js.map +1 -1
  673. package/dist/index.es606.js +5 -2
  674. package/dist/index.es606.js.map +1 -1
  675. package/dist/index.es607.js +2 -2
  676. package/dist/index.es607.js.map +1 -1
  677. package/dist/index.es608.js +3 -2
  678. package/dist/index.es608.js.map +1 -1
  679. package/dist/index.es609.js +7 -2
  680. package/dist/index.es609.js.map +1 -1
  681. package/dist/index.es610.js +6 -2
  682. package/dist/index.es610.js.map +1 -1
  683. package/dist/index.es611.js +5 -2
  684. package/dist/index.es611.js.map +1 -1
  685. package/dist/index.es612.js +32 -2
  686. package/dist/index.es612.js.map +1 -1
  687. package/dist/index.es613.js +242 -2
  688. package/dist/index.es613.js.map +1 -1
  689. package/dist/index.es614.js +4 -2
  690. package/dist/index.es614.js.map +1 -1
  691. package/dist/index.es615.js +8 -0
  692. package/dist/index.es615.js.map +1 -0
  693. package/dist/index.es616.js +10 -5
  694. package/dist/index.es616.js.map +1 -1
  695. package/dist/index.es617.js +56 -3
  696. package/dist/index.es617.js.map +1 -1
  697. package/dist/index.es618.js +7 -23
  698. package/dist/index.es618.js.map +1 -1
  699. package/dist/index.es619.js +5 -109
  700. package/dist/index.es619.js.map +1 -1
  701. package/dist/index.es620.js +530 -14
  702. package/dist/index.es620.js.map +1 -1
  703. package/dist/index.es621.js +14 -40
  704. package/dist/index.es621.js.map +1 -1
  705. package/dist/index.es622.js +2 -2
  706. package/dist/index.es622.js.map +1 -1
  707. package/dist/index.es623.js +36 -4
  708. package/dist/index.es623.js.map +1 -1
  709. package/dist/index.es624.js +2 -6
  710. package/dist/index.es624.js.map +1 -1
  711. package/dist/index.es625.js +269 -13
  712. package/dist/index.es625.js.map +1 -1
  713. package/dist/index.es626.js +3 -2
  714. package/dist/index.es626.js.map +1 -1
  715. package/dist/index.es627.js +30 -2
  716. package/dist/index.es627.js.map +1 -1
  717. package/dist/index.es630.js +69 -2
  718. package/dist/index.es630.js.map +1 -1
  719. package/dist/index.es631.js +9 -3
  720. package/dist/index.es631.js.map +1 -1
  721. package/dist/index.es632.js +14 -2
  722. package/dist/index.es632.js.map +1 -1
  723. package/dist/index.es633.js +66 -4
  724. package/dist/index.es633.js.map +1 -1
  725. package/dist/index.es634.js +58 -615
  726. package/dist/index.es634.js.map +1 -1
  727. package/dist/index.es635.js +39 -5
  728. package/dist/index.es635.js.map +1 -1
  729. package/dist/index.es636.js +2 -554
  730. package/dist/index.es636.js.map +1 -1
  731. package/dist/index.es637.js +4 -64
  732. package/dist/index.es637.js.map +1 -1
  733. package/dist/index.es638.js +2 -69
  734. package/dist/index.es638.js.map +1 -1
  735. package/dist/index.es639.js +2 -9
  736. package/dist/index.es639.js.map +1 -1
  737. package/dist/index.es640.js +2 -14
  738. package/dist/index.es640.js.map +1 -1
  739. package/dist/index.es641.js +6 -66
  740. package/dist/index.es641.js.map +1 -1
  741. package/dist/index.es642.js +13 -216
  742. package/dist/index.es642.js.map +1 -1
  743. package/dist/index.es643.js +2 -4
  744. package/dist/index.es643.js.map +1 -1
  745. package/dist/index.es644.js +2 -3
  746. package/dist/index.es644.js.map +1 -1
  747. package/dist/index.es645.js +3 -2
  748. package/dist/index.es645.js.map +1 -1
  749. package/dist/index.es646.js +2 -22
  750. package/dist/index.es646.js.map +1 -1
  751. package/dist/index.es647.js +3 -45
  752. package/dist/index.es647.js.map +1 -1
  753. package/dist/index.es648.js +2 -183
  754. package/dist/index.es648.js.map +1 -1
  755. package/dist/index.es649.js +513 -194
  756. package/dist/index.es649.js.map +1 -1
  757. package/dist/index.es650.js +114 -386
  758. package/dist/index.es650.js.map +1 -1
  759. package/dist/index.es651.js +136 -2
  760. package/dist/index.es651.js.map +1 -1
  761. package/dist/index.es654.js +3 -82
  762. package/dist/index.es654.js.map +1 -1
  763. package/dist/index.es655.js +3 -13
  764. package/dist/index.es655.js.map +1 -1
  765. package/dist/index.es656.js +2 -28
  766. package/dist/index.es656.js.map +1 -1
  767. package/dist/index.es657.js +83 -5
  768. package/dist/index.es657.js.map +1 -1
  769. package/dist/index.es658.js +11 -21
  770. package/dist/index.es658.js.map +1 -1
  771. package/dist/index.es659.js +22 -519
  772. package/dist/index.es659.js.map +1 -1
  773. package/dist/index.es660.js +4 -127
  774. package/dist/index.es660.js.map +1 -1
  775. package/dist/index.es661.js +22 -133
  776. package/dist/index.es661.js.map +1 -1
  777. package/dist/index.es86.js +24 -21
  778. package/dist/index.es86.js.map +1 -1
  779. package/package.json +1 -1
  780. package/dist/index.cjs448.js +0 -2
  781. package/dist/index.cjs448.js.map +0 -1
  782. package/dist/index.cjs458.js +0 -2
  783. package/dist/index.cjs458.js.map +0 -1
  784. package/dist/index.cjs459.js +0 -2
  785. package/dist/index.cjs459.js.map +0 -1
  786. package/dist/index.cjs460.js +0 -2
  787. package/dist/index.cjs460.js.map +0 -1
  788. package/dist/index.cjs476.js +0 -2
  789. package/dist/index.cjs476.js.map +0 -1
  790. package/dist/index.cjs489.js +0 -2
  791. package/dist/index.cjs489.js.map +0 -1
  792. package/dist/index.cjs493.js +0 -2
  793. package/dist/index.cjs493.js.map +0 -1
  794. package/dist/index.cjs494.js +0 -2
  795. package/dist/index.cjs494.js.map +0 -1
  796. package/dist/index.cjs495.js +0 -2
  797. package/dist/index.cjs495.js.map +0 -1
  798. package/dist/index.cjs503.js +0 -2
  799. package/dist/index.cjs503.js.map +0 -1
  800. package/dist/index.cjs504.js +0 -2
  801. package/dist/index.cjs504.js.map +0 -1
  802. package/dist/index.cjs588.js +0 -2
  803. package/dist/index.cjs588.js.map +0 -1
  804. package/dist/index.cjs589.js +0 -2
  805. package/dist/index.cjs589.js.map +0 -1
  806. package/dist/index.cjs590.js.map +0 -1
  807. package/dist/index.cjs595.js +0 -2
  808. package/dist/index.cjs595.js.map +0 -1
  809. package/dist/index.cjs596.js.map +0 -1
  810. package/dist/index.cjs628.js +0 -2
  811. package/dist/index.cjs628.js.map +0 -1
  812. package/dist/index.cjs629.js +0 -2
  813. package/dist/index.cjs629.js.map +0 -1
  814. package/dist/index.es448.js +0 -55
  815. package/dist/index.es448.js.map +0 -1
  816. package/dist/index.es458.js +0 -9
  817. package/dist/index.es458.js.map +0 -1
  818. package/dist/index.es459.js +0 -28
  819. package/dist/index.es459.js.map +0 -1
  820. package/dist/index.es460.js +0 -37
  821. package/dist/index.es460.js.map +0 -1
  822. package/dist/index.es476.js +0 -18
  823. package/dist/index.es476.js.map +0 -1
  824. package/dist/index.es489.js +0 -7
  825. package/dist/index.es489.js.map +0 -1
  826. package/dist/index.es493.js +0 -187
  827. package/dist/index.es493.js.map +0 -1
  828. package/dist/index.es494.js +0 -13
  829. package/dist/index.es494.js.map +0 -1
  830. package/dist/index.es495.js +0 -7
  831. package/dist/index.es495.js.map +0 -1
  832. package/dist/index.es503.js +0 -5
  833. package/dist/index.es503.js.map +0 -1
  834. package/dist/index.es504.js +0 -9
  835. package/dist/index.es504.js.map +0 -1
  836. package/dist/index.es588.js +0 -5
  837. package/dist/index.es588.js.map +0 -1
  838. package/dist/index.es589.js +0 -5
  839. package/dist/index.es589.js.map +0 -1
  840. package/dist/index.es590.js +0 -5
  841. package/dist/index.es590.js.map +0 -1
  842. package/dist/index.es595.js +0 -5
  843. package/dist/index.es595.js.map +0 -1
  844. package/dist/index.es596.js +0 -5
  845. package/dist/index.es596.js.map +0 -1
  846. package/dist/index.es628.js +0 -5
  847. package/dist/index.es628.js.map +0 -1
  848. package/dist/index.es629.js +0 -5
  849. package/dist/index.es629.js.map +0 -1
  850. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es547.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,IAAuBC,EAAiB,IAAI3B,EAAoByB,CAAY,GAC7EG,IAAgBjB,EAAM;AAAA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AW;AAC/C,QAAM,CAAC9B,GAAME,IAAQ,QAAQ,IAAI4B,EAAU,MAAM,GAAG;AACpD,SAAO,CAAC9B,GAAME,CAAK;AACrB;AACG,IAACkF,KAAQ5G,GACR6G,KAASpG,GACTqG,KAAUvF,GACVwF,KAAQjB;","x_google_ignoreList":[0]}
@@ -1,28 +1,184 @@
1
- var p = function() {
2
- return p = Object.assign || function(e) {
3
- for (var n, r = 1, o = arguments.length; r < o; r++) {
4
- n = arguments[r];
5
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
1
+ import * as s from "react";
2
+ import { composeEventHandlers as p } from "./index.es451.js";
3
+ import { createCollection as H } from "./index.es545.js";
4
+ import { useComposedRefs as V } from "./index.es449.js";
5
+ import { createContextScope as z } from "./index.es450.js";
6
+ import { useId as q } from "./index.es466.js";
7
+ import { Primitive as G } from "./index.es456.js";
8
+ import { useCallbackRef as J } from "./index.es500.js";
9
+ import { useControllableState as Q } from "./index.es452.js";
10
+ import { useDirection as W } from "./index.es546.js";
11
+ import { j as d } from "./index.es230.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
89
  }
7
- return e;
8
- }, p.apply(this, arguments);
90
+ );
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
+ );
147
+ }
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"
9
159
  };
10
- function c(t, e) {
11
- var n = {};
12
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
- e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
- return n;
160
+ function ne(e, r) {
161
+ return r !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
17
162
  }
18
- function l(t, e, n) {
19
- if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
- (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
- return t.concat(a || Array.prototype.slice.call(e));
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];
22
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]);
175
+ }
176
+ var ge = O, Re = j;
23
177
  export {
24
- p as __assign,
25
- c as __rest,
26
- l as __spreadArray
178
+ Re as Item,
179
+ ge as Root,
180
+ O as RovingFocusGroup,
181
+ j as RovingFocusGroupItem,
182
+ Fe as createRovingFocusGroupScope
27
183
  };
28
184
  //# sourceMappingURL=index.es548.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es548.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,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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,MAA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AAAA,EACX,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,KAAK;AACP;AACA,SAASC,GAAqBC,GAAKxD,GAAK;AACtC,SAAIA,MAAQ,QAAcwD,IACnBA,MAAQ,cAAc,eAAeA,MAAQ,eAAe,cAAcA;AACnF;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,32 +1,28 @@
1
- import { __rest as E, __assign as r } from "./index.es548.js";
2
- import * as a from "react";
3
- import { zeroRightClassName as I, fullWidthClassName as Z } from "./index.es616.js";
4
- import { effectCar as W } from "./index.es617.js";
5
- import { useMergeRefs as z } from "./index.es618.js";
6
- var l = function() {
7
- }, m = a.forwardRef(function(e, d) {
8
- var o = a.useRef(null), n = a.useState({
9
- onScrollCapture: l,
10
- onWheelCapture: l,
11
- onTouchMoveCapture: l
12
- }), f = n[0], v = n[1], h = e.forwardProps, t = e.children, u = e.className, C = e.removeScrollBar, R = e.enabled, g = e.shards, P = e.sideCar, S = e.noRelative, b = e.noIsolation, w = e.inert, N = e.allowPinchZoom, i = e.as, M = i === void 0 ? "div" : i, _ = e.gapMode, B = E(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), k = P, s = z([o, d]), c = r(r({}, B), f);
13
- return a.createElement(
14
- a.Fragment,
15
- null,
16
- R && a.createElement(k, { sideCar: W, removeScrollBar: C, shards: g, noRelative: S, noIsolation: b, inert: w, setCallbacks: v, allowPinchZoom: !!N, lockRef: o, gapMode: _ }),
17
- h ? a.cloneElement(a.Children.only(t), r(r({}, c), { ref: s })) : a.createElement(M, r({}, c, { className: u, ref: s }), t)
18
- );
19
- });
20
- m.defaultProps = {
21
- enabled: !0,
22
- removeScrollBar: !0,
23
- inert: !1
24
- };
25
- m.classNames = {
26
- fullWidth: Z,
27
- zeroRight: I
1
+ var p = function() {
2
+ return p = Object.assign || function(e) {
3
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
4
+ n = arguments[r];
5
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
6
+ }
7
+ return e;
8
+ }, p.apply(this, arguments);
28
9
  };
10
+ function c(t, e) {
11
+ var n = {};
12
+ for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
+ for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
+ e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
+ return n;
17
+ }
18
+ function l(t, e, n) {
19
+ if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
+ (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
+ return t.concat(a || Array.prototype.slice.call(e));
22
+ }
29
23
  export {
30
- m as RemoveScroll
24
+ p as __assign,
25
+ c as __rest,
26
+ l as __spreadArray
31
27
  };
32
28
  //# sourceMappingURL=index.es549.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es549.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAab,EAAM,YAAYc,IAAcd,EAAM,aAAae,IAAQf,EAAM,OAAOgB,IAAiBhB,EAAM,gBAAgBiB,IAAKjB,EAAM,IAAIkB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUnB,EAAM,SAASoB,IAAOC,EAAOrB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,cAAc,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACnlBsB,IAAUV,GACVW,IAAeC,EAAa,CAACtB,GAAKD,CAAS,CAAC,GAC5CwB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGhB,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcuB,GAAS,EAAE,SAASK,GAAW,iBAAiBlB,GAAiB,QAAQE,GAAQ,YAAYE,GAAY,aAAaC,GAAa,OAAOC,GAAO,cAAcV,GAAc,gBAAgB,CAAC,CAACW,GAAgB,SAASd,GAAK,SAASiB,EAAO,CAAE;AAAA,IAC/Qb,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGmB,EAASA,EAAS,CAAA,GAAID,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMxB,EAAM,cAAcmB,GAAWQ,EAAS,CAAA,GAAID,GAAgB,EAAE,WAAWjB,GAAW,KAAKe,EAAY,CAAE,GAAGhB,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW8B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es549.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IAC/E;AACA,WAAOJ;AAAA,EACX,GACOD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAA;AACR,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
@@ -1,8 +1,32 @@
1
- import { RemoveScrollSideCar as r } from "./index.es619.js";
2
- import { effectCar as o } from "./index.es617.js";
3
- import { exportSidecar as e } from "./index.es620.js";
4
- const f = e(o, r);
1
+ import { __rest as E, __assign as r } from "./index.es549.js";
2
+ import * as a from "react";
3
+ import { zeroRightClassName as I, fullWidthClassName as Z } from "./index.es597.js";
4
+ import { effectCar as W } from "./index.es598.js";
5
+ import { useMergeRefs as z } from "./index.es599.js";
6
+ var l = function() {
7
+ }, m = a.forwardRef(function(e, d) {
8
+ var o = a.useRef(null), n = a.useState({
9
+ onScrollCapture: l,
10
+ onWheelCapture: l,
11
+ onTouchMoveCapture: l
12
+ }), f = n[0], v = n[1], h = e.forwardProps, t = e.children, u = e.className, C = e.removeScrollBar, R = e.enabled, g = e.shards, P = e.sideCar, S = e.noRelative, b = e.noIsolation, w = e.inert, N = e.allowPinchZoom, i = e.as, M = i === void 0 ? "div" : i, _ = e.gapMode, B = E(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), k = P, s = z([o, d]), c = r(r({}, B), f);
13
+ return a.createElement(
14
+ a.Fragment,
15
+ null,
16
+ R && a.createElement(k, { sideCar: W, removeScrollBar: C, shards: g, noRelative: S, noIsolation: b, inert: w, setCallbacks: v, allowPinchZoom: !!N, lockRef: o, gapMode: _ }),
17
+ h ? a.cloneElement(a.Children.only(t), r(r({}, c), { ref: s })) : a.createElement(M, r({}, c, { className: u, ref: s }), t)
18
+ );
19
+ });
20
+ m.defaultProps = {
21
+ enabled: !0,
22
+ removeScrollBar: !0,
23
+ inert: !1
24
+ };
25
+ m.classNames = {
26
+ fullWidth: Z,
27
+ zeroRight: I
28
+ };
5
29
  export {
6
- f as default
30
+ m as RemoveScroll
7
31
  };
8
32
  //# sourceMappingURL=index.es550.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es550.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es550.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EA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