@blimu/react 0.6.0

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 (516) hide show
  1. package/README.md +552 -0
  2. package/dist/_virtual/index.cjs +2 -0
  3. package/dist/_virtual/index.cjs.map +1 -0
  4. package/dist/_virtual/index.js +6 -0
  5. package/dist/_virtual/index.js.map +1 -0
  6. package/dist/_virtual/index2.cjs +2 -0
  7. package/dist/_virtual/index2.cjs.map +1 -0
  8. package/dist/_virtual/index2.js +5 -0
  9. package/dist/_virtual/index2.js.map +1 -0
  10. package/dist/_virtual/use-sync-external-store-shim.development.cjs +2 -0
  11. package/dist/_virtual/use-sync-external-store-shim.development.cjs.map +1 -0
  12. package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
  13. package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
  14. package/dist/_virtual/use-sync-external-store-shim.production.cjs +2 -0
  15. package/dist/_virtual/use-sync-external-store-shim.production.cjs.map +1 -0
  16. package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
  17. package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
  18. package/dist/client/auth.service.cjs +2 -0
  19. package/dist/client/auth.service.cjs.map +1 -0
  20. package/dist/client/auth.service.d.ts +50 -0
  21. package/dist/client/auth.service.d.ts.map +1 -0
  22. package/dist/client/auth.service.js +153 -0
  23. package/dist/client/auth.service.js.map +1 -0
  24. package/dist/client/auth.service.test-service.d.ts +39 -0
  25. package/dist/client/auth.service.test-service.d.ts.map +1 -0
  26. package/dist/client/external-store.cjs +2 -0
  27. package/dist/client/external-store.cjs.map +1 -0
  28. package/dist/client/external-store.d.ts +20 -0
  29. package/dist/client/external-store.d.ts.map +1 -0
  30. package/dist/client/external-store.js +13 -0
  31. package/dist/client/external-store.js.map +1 -0
  32. package/dist/client/runtime-client.cjs +2 -0
  33. package/dist/client/runtime-client.cjs.map +1 -0
  34. package/dist/client/runtime-client.d.ts +49 -0
  35. package/dist/client/runtime-client.d.ts.map +1 -0
  36. package/dist/client/runtime-client.js +103 -0
  37. package/dist/client/runtime-client.js.map +1 -0
  38. package/dist/components/index.d.ts +11 -0
  39. package/dist/components/index.d.ts.map +1 -0
  40. package/dist/components/members-list.cjs +2 -0
  41. package/dist/components/members-list.cjs.map +1 -0
  42. package/dist/components/members-list.d.ts +70 -0
  43. package/dist/components/members-list.d.ts.map +1 -0
  44. package/dist/components/members-list.js +111 -0
  45. package/dist/components/members-list.js.map +1 -0
  46. package/dist/components/redirect-to-sign-in.cjs +2 -0
  47. package/dist/components/redirect-to-sign-in.cjs.map +1 -0
  48. package/dist/components/redirect-to-sign-in.d.ts +39 -0
  49. package/dist/components/redirect-to-sign-in.d.ts.map +1 -0
  50. package/dist/components/redirect-to-sign-in.js +27 -0
  51. package/dist/components/redirect-to-sign-in.js.map +1 -0
  52. package/dist/components/sign-in-button/styles.d.ts +7 -0
  53. package/dist/components/sign-in-button/styles.d.ts.map +1 -0
  54. package/dist/components/sign-in-button.cjs +2 -0
  55. package/dist/components/sign-in-button.cjs.map +1 -0
  56. package/dist/components/sign-in-button.d.ts +47 -0
  57. package/dist/components/sign-in-button.d.ts.map +1 -0
  58. package/dist/components/sign-in-button.js +33 -0
  59. package/dist/components/sign-in-button.js.map +1 -0
  60. package/dist/components/ui/avatar.cjs +2 -0
  61. package/dist/components/ui/avatar.cjs.map +1 -0
  62. package/dist/components/ui/avatar.d.ts +7 -0
  63. package/dist/components/ui/avatar.d.ts.map +1 -0
  64. package/dist/components/ui/avatar.js +43 -0
  65. package/dist/components/ui/avatar.js.map +1 -0
  66. package/dist/components/ui/badge.d.ts +10 -0
  67. package/dist/components/ui/badge.d.ts.map +1 -0
  68. package/dist/components/ui/dropdown-menu.cjs +2 -0
  69. package/dist/components/ui/dropdown-menu.cjs.map +1 -0
  70. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  71. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  72. package/dist/components/ui/dropdown-menu.js +130 -0
  73. package/dist/components/ui/dropdown-menu.js.map +1 -0
  74. package/dist/components/ui/popover.d.ts +8 -0
  75. package/dist/components/ui/popover.d.ts.map +1 -0
  76. package/dist/components/ui/separator.d.ts +5 -0
  77. package/dist/components/ui/separator.d.ts.map +1 -0
  78. package/dist/components/user-avatar/styles.d.ts +7 -0
  79. package/dist/components/user-avatar/styles.d.ts.map +1 -0
  80. package/dist/components/user-avatar.cjs +2 -0
  81. package/dist/components/user-avatar.cjs.map +1 -0
  82. package/dist/components/user-avatar.d.ts +41 -0
  83. package/dist/components/user-avatar.d.ts.map +1 -0
  84. package/dist/components/user-avatar.js +23 -0
  85. package/dist/components/user-avatar.js.map +1 -0
  86. package/dist/components/user-button/styles.cjs +2 -0
  87. package/dist/components/user-button/styles.cjs.map +1 -0
  88. package/dist/components/user-button/styles.d.ts +17 -0
  89. package/dist/components/user-button/styles.d.ts.map +1 -0
  90. package/dist/components/user-button/styles.js +39 -0
  91. package/dist/components/user-button/styles.js.map +1 -0
  92. package/dist/components/user-button/user-button.cjs +2 -0
  93. package/dist/components/user-button/user-button.cjs.map +1 -0
  94. package/dist/components/user-button/user-button.d.ts +15 -0
  95. package/dist/components/user-button/user-button.d.ts.map +1 -0
  96. package/dist/components/user-button/user-button.js +93 -0
  97. package/dist/components/user-button/user-button.js.map +1 -0
  98. package/dist/components.cjs +2 -0
  99. package/dist/components.cjs.map +1 -0
  100. package/dist/components.js +13 -0
  101. package/dist/components.js.map +1 -0
  102. package/dist/hooks/index.d.ts +7 -0
  103. package/dist/hooks/index.d.ts.map +1 -0
  104. package/dist/hooks/use-auth.cjs +2 -0
  105. package/dist/hooks/use-auth.cjs.map +1 -0
  106. package/dist/hooks/use-auth.d.ts +92 -0
  107. package/dist/hooks/use-auth.d.ts.map +1 -0
  108. package/dist/hooks/use-auth.js +41 -0
  109. package/dist/hooks/use-auth.js.map +1 -0
  110. package/dist/hooks/use-client.cjs +2 -0
  111. package/dist/hooks/use-client.cjs.map +1 -0
  112. package/dist/hooks/use-client.d.ts +27 -0
  113. package/dist/hooks/use-client.d.ts.map +1 -0
  114. package/dist/hooks/use-client.js +9 -0
  115. package/dist/hooks/use-client.js.map +1 -0
  116. package/dist/hooks/use-members.cjs +2 -0
  117. package/dist/hooks/use-members.cjs.map +1 -0
  118. package/dist/hooks/use-members.d.ts +50 -0
  119. package/dist/hooks/use-members.d.ts.map +1 -0
  120. package/dist/hooks/use-members.js +49 -0
  121. package/dist/hooks/use-members.js.map +1 -0
  122. package/dist/hooks/use-store.cjs +2 -0
  123. package/dist/hooks/use-store.cjs.map +1 -0
  124. package/dist/hooks/use-store.d.ts +24 -0
  125. package/dist/hooks/use-store.d.ts.map +1 -0
  126. package/dist/hooks/use-store.js +18 -0
  127. package/dist/hooks/use-store.js.map +1 -0
  128. package/dist/hooks.cjs +2 -0
  129. package/dist/hooks.cjs.map +1 -0
  130. package/dist/hooks.js +14 -0
  131. package/dist/hooks.js.map +1 -0
  132. package/dist/index.cjs +2 -0
  133. package/dist/index.cjs.map +1 -0
  134. package/dist/index.d.ts +13 -0
  135. package/dist/index.d.ts.map +1 -0
  136. package/dist/index.js +38 -0
  137. package/dist/index.js.map +1 -0
  138. package/dist/lib/utils.cjs +2 -0
  139. package/dist/lib/utils.cjs.map +1 -0
  140. package/dist/lib/utils.d.ts +7 -0
  141. package/dist/lib/utils.d.ts.map +1 -0
  142. package/dist/lib/utils.js +9 -0
  143. package/dist/lib/utils.js.map +1 -0
  144. package/dist/lib/variants.cjs +2 -0
  145. package/dist/lib/variants.cjs.map +1 -0
  146. package/dist/lib/variants.d.ts +37 -0
  147. package/dist/lib/variants.d.ts.map +1 -0
  148. package/dist/lib/variants.js +46 -0
  149. package/dist/lib/variants.js.map +1 -0
  150. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +2 -0
  151. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -0
  152. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +528 -0
  153. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  154. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +2 -0
  155. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -0
  156. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
  157. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  158. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +2 -0
  159. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs.map +1 -0
  160. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +209 -0
  161. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  162. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +2 -0
  163. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -0
  164. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +2 -0
  165. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -0
  166. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -0
  167. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  168. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +131 -0
  169. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  170. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +2 -0
  171. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
  172. package/dist/node_modules/@radix-ui/primitive/dist/index.js +10 -0
  173. package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  174. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +2 -0
  175. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
  176. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  177. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  178. package/dist/node_modules/@radix-ui/react-avatar/dist/index.cjs +2 -0
  179. package/dist/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +1 -0
  180. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +76 -0
  181. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -0
  182. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.cjs +2 -0
  183. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  184. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.js +56 -0
  185. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  186. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  187. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  188. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js +33 -0
  189. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  190. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  191. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  192. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.js +59 -0
  193. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  194. package/dist/node_modules/@radix-ui/react-collection/dist/index.cjs +2 -0
  195. package/dist/node_modules/@radix-ui/react-collection/dist/index.cjs.map +1 -0
  196. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +51 -0
  197. package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  198. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  199. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  200. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
  201. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  202. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +2 -0
  203. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  204. package/dist/node_modules/@radix-ui/react-context/dist/index.js +54 -0
  205. package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  206. package/dist/node_modules/@radix-ui/react-direction/dist/index.cjs +2 -0
  207. package/dist/node_modules/@radix-ui/react-direction/dist/index.cjs.map +1 -0
  208. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
  209. package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  210. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
  211. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
  212. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +128 -0
  213. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  214. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs +2 -0
  215. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs.map +1 -0
  216. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +215 -0
  217. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  218. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +2 -0
  219. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.map +1 -0
  220. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +18 -0
  221. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  222. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +2 -0
  223. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
  224. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +137 -0
  225. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  226. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +2 -0
  227. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -0
  228. package/dist/node_modules/@radix-ui/react-id/dist/index.js +14 -0
  229. package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  230. package/dist/node_modules/@radix-ui/react-menu/dist/index.cjs +2 -0
  231. package/dist/node_modules/@radix-ui/react-menu/dist/index.cjs.map +1 -0
  232. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +609 -0
  233. package/dist/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  234. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
  235. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
  236. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +220 -0
  237. package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  238. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
  239. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
  240. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
  241. package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  242. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +2 -0
  243. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -0
  244. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +71 -0
  245. package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  246. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  247. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  248. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +37 -0
  249. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  250. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +2 -0
  251. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +1 -0
  252. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +184 -0
  253. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  254. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  255. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  256. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +50 -0
  257. package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  258. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  259. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  260. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +11 -0
  261. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  262. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
  263. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
  264. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +53 -0
  265. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  266. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +2 -0
  267. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +1 -0
  268. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +15 -0
  269. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  270. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +2 -0
  271. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs.map +1 -0
  272. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
  273. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
  274. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +2 -0
  275. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -0
  276. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  277. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  278. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +2 -0
  279. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -0
  280. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +28 -0
  281. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  282. package/dist/node_modules/aria-hidden/dist/es2015/index.cjs +2 -0
  283. package/dist/node_modules/aria-hidden/dist/es2015/index.cjs.map +1 -0
  284. package/dist/node_modules/aria-hidden/dist/es2015/index.js +53 -0
  285. package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  286. package/dist/node_modules/class-variance-authority/dist/index.cjs +2 -0
  287. package/dist/node_modules/class-variance-authority/dist/index.cjs.map +1 -0
  288. package/dist/node_modules/class-variance-authority/dist/index.js +36 -0
  289. package/dist/node_modules/class-variance-authority/dist/index.js.map +1 -0
  290. package/dist/node_modules/clsx/dist/clsx.cjs +2 -0
  291. package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -0
  292. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  293. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  294. package/dist/node_modules/get-nonce/dist/es2015/index.cjs +2 -0
  295. package/dist/node_modules/get-nonce/dist/es2015/index.cjs.map +1 -0
  296. package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
  297. package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  298. package/dist/node_modules/js-cookie/dist/js.cookie.cjs +2 -0
  299. package/dist/node_modules/js-cookie/dist/js.cookie.cjs.map +1 -0
  300. package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
  301. package/dist/node_modules/js-cookie/dist/js.cookie.js.map +1 -0
  302. package/dist/node_modules/jwt-decode/build/esm/index.cjs +2 -0
  303. package/dist/node_modules/jwt-decode/build/esm/index.cjs.map +1 -0
  304. package/dist/node_modules/jwt-decode/build/esm/index.js +53 -0
  305. package/dist/node_modules/jwt-decode/build/esm/index.js.map +1 -0
  306. package/dist/node_modules/lucide-react/dist/esm/Icon.cjs +2 -0
  307. package/dist/node_modules/lucide-react/dist/esm/Icon.cjs.map +1 -0
  308. package/dist/node_modules/lucide-react/dist/esm/Icon.js +36 -0
  309. package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +1 -0
  310. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs +2 -0
  311. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs.map +1 -0
  312. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +22 -0
  313. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +1 -0
  314. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs +2 -0
  315. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs.map +1 -0
  316. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +15 -0
  317. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +1 -0
  318. package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs +2 -0
  319. package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs.map +1 -0
  320. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +7 -0
  321. package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +1 -0
  322. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.cjs +2 -0
  323. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.cjs.map +1 -0
  324. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +7 -0
  325. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js.map +1 -0
  326. package/dist/node_modules/lucide-react/dist/esm/icons/circle.cjs +2 -0
  327. package/dist/node_modules/lucide-react/dist/esm/icons/circle.cjs.map +1 -0
  328. package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +7 -0
  329. package/dist/node_modules/lucide-react/dist/esm/icons/circle.js.map +1 -0
  330. package/dist/node_modules/lucide-react/dist/esm/icons/log-out.cjs +2 -0
  331. package/dist/node_modules/lucide-react/dist/esm/icons/log-out.cjs.map +1 -0
  332. package/dist/node_modules/lucide-react/dist/esm/icons/log-out.js +11 -0
  333. package/dist/node_modules/lucide-react/dist/esm/icons/log-out.js.map +1 -0
  334. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs +2 -0
  335. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs.map +1 -0
  336. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +19 -0
  337. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js.map +1 -0
  338. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +2 -0
  339. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.map +1 -0
  340. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +12 -0
  341. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  342. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +5 -0
  343. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.map +1 -0
  344. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
  345. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  346. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.cjs +2 -0
  347. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.cjs.map +1 -0
  348. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +32 -0
  349. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  350. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +2 -0
  351. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.map +1 -0
  352. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +17 -0
  353. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  354. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +2 -0
  355. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.map +1 -0
  356. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +69 -0
  357. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  358. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.cjs +2 -0
  359. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.cjs.map +1 -0
  360. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  361. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  362. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +2 -0
  363. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.map +1 -0
  364. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  365. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  366. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +39 -0
  367. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.map +1 -0
  368. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +72 -0
  369. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  370. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +2 -0
  371. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.map +1 -0
  372. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -0
  373. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  374. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +2 -0
  375. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.map +1 -0
  376. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +26 -0
  377. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  378. package/dist/node_modules/react-style-singleton/dist/es2015/component.cjs +2 -0
  379. package/dist/node_modules/react-style-singleton/dist/es2015/component.cjs.map +1 -0
  380. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +12 -0
  381. package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  382. package/dist/node_modules/react-style-singleton/dist/es2015/hook.cjs +2 -0
  383. package/dist/node_modules/react-style-singleton/dist/es2015/hook.cjs.map +1 -0
  384. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +16 -0
  385. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  386. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.cjs +2 -0
  387. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.cjs.map +1 -0
  388. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +31 -0
  389. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  390. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +2 -0
  391. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -0
  392. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2766 -0
  393. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  394. package/dist/node_modules/tailwindcss/dist/plugin.cjs +2 -0
  395. package/dist/node_modules/tailwindcss/dist/plugin.cjs.map +1 -0
  396. package/dist/node_modules/tailwindcss/dist/plugin.js +14 -0
  397. package/dist/node_modules/tailwindcss/dist/plugin.js.map +1 -0
  398. package/dist/node_modules/tslib/tslib.es6.cjs +2 -0
  399. package/dist/node_modules/tslib/tslib.es6.cjs.map +1 -0
  400. package/dist/node_modules/tslib/tslib.es6.js +28 -0
  401. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  402. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +2 -0
  403. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.map +1 -0
  404. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +7 -0
  405. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  406. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +2 -0
  407. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.map +1 -0
  408. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +27 -0
  409. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  410. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.cjs +2 -0
  411. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.cjs.map +1 -0
  412. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +26 -0
  413. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  414. package/dist/node_modules/use-sidecar/dist/es2015/exports.cjs +2 -0
  415. package/dist/node_modules/use-sidecar/dist/es2015/exports.cjs.map +1 -0
  416. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
  417. package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  418. package/dist/node_modules/use-sidecar/dist/es2015/medium.cjs +2 -0
  419. package/dist/node_modules/use-sidecar/dist/es2015/medium.cjs.map +1 -0
  420. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
  421. package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  422. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +2 -0
  423. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.map +1 -0
  424. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +59 -0
  425. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
  426. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs +2 -0
  427. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.map +1 -0
  428. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +47 -0
  429. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  430. package/dist/node_modules/use-sync-external-store/shim/index.cjs +2 -0
  431. package/dist/node_modules/use-sync-external-store/shim/index.cjs.map +1 -0
  432. package/dist/node_modules/use-sync-external-store/shim/index.js +11 -0
  433. package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
  434. package/dist/providers/auth/auth.context.cjs +2 -0
  435. package/dist/providers/auth/auth.context.cjs.map +1 -0
  436. package/dist/providers/auth/auth.context.d.ts +3 -0
  437. package/dist/providers/auth/auth.context.d.ts.map +1 -0
  438. package/dist/providers/auth/auth.context.js +6 -0
  439. package/dist/providers/auth/auth.context.js.map +1 -0
  440. package/dist/providers/auth/auth.hook.cjs +2 -0
  441. package/dist/providers/auth/auth.hook.cjs.map +1 -0
  442. package/dist/providers/auth/auth.hook.d.ts +7 -0
  443. package/dist/providers/auth/auth.hook.d.ts.map +1 -0
  444. package/dist/providers/auth/auth.hook.js +12 -0
  445. package/dist/providers/auth/auth.hook.js.map +1 -0
  446. package/dist/providers/auth/auth.provider.cjs +2 -0
  447. package/dist/providers/auth/auth.provider.cjs.map +1 -0
  448. package/dist/providers/auth/auth.provider.d.ts +7 -0
  449. package/dist/providers/auth/auth.provider.d.ts.map +1 -0
  450. package/dist/providers/auth/auth.provider.js +29 -0
  451. package/dist/providers/auth/auth.provider.js.map +1 -0
  452. package/dist/providers/blimu/blimu.context.cjs +2 -0
  453. package/dist/providers/blimu/blimu.context.cjs.map +1 -0
  454. package/dist/providers/blimu/blimu.context.d.ts +27 -0
  455. package/dist/providers/blimu/blimu.context.d.ts.map +1 -0
  456. package/dist/providers/blimu/blimu.context.js +6 -0
  457. package/dist/providers/blimu/blimu.context.js.map +1 -0
  458. package/dist/providers/blimu/blimu.hook.cjs +2 -0
  459. package/dist/providers/blimu/blimu.hook.cjs.map +1 -0
  460. package/dist/providers/blimu/blimu.hook.d.ts +19 -0
  461. package/dist/providers/blimu/blimu.hook.d.ts.map +1 -0
  462. package/dist/providers/blimu/blimu.hook.js +12 -0
  463. package/dist/providers/blimu/blimu.hook.js.map +1 -0
  464. package/dist/providers/blimu/blimu.provider.cjs +2 -0
  465. package/dist/providers/blimu/blimu.provider.cjs.map +1 -0
  466. package/dist/providers/blimu/blimu.provider.d.ts +47 -0
  467. package/dist/providers/blimu/blimu.provider.d.ts.map +1 -0
  468. package/dist/providers/blimu/blimu.provider.js +67 -0
  469. package/dist/providers/blimu/blimu.provider.js.map +1 -0
  470. package/dist/providers/index.d.ts +7 -0
  471. package/dist/providers/index.d.ts.map +1 -0
  472. package/dist/providers/theme/index.d.ts +4 -0
  473. package/dist/providers/theme/index.d.ts.map +1 -0
  474. package/dist/providers/theme/theme.context.cjs +2 -0
  475. package/dist/providers/theme/theme.context.cjs.map +1 -0
  476. package/dist/providers/theme/theme.context.d.ts +8 -0
  477. package/dist/providers/theme/theme.context.d.ts.map +1 -0
  478. package/dist/providers/theme/theme.context.js +6 -0
  479. package/dist/providers/theme/theme.context.js.map +1 -0
  480. package/dist/providers/theme/theme.hook.cjs +2 -0
  481. package/dist/providers/theme/theme.hook.cjs.map +1 -0
  482. package/dist/providers/theme/theme.hook.d.ts +18 -0
  483. package/dist/providers/theme/theme.hook.d.ts.map +1 -0
  484. package/dist/providers/theme/theme.hook.js +12 -0
  485. package/dist/providers/theme/theme.hook.js.map +1 -0
  486. package/dist/providers/theme/theme.provider.cjs +2 -0
  487. package/dist/providers/theme/theme.provider.cjs.map +1 -0
  488. package/dist/providers/theme/theme.provider.d.ts +28 -0
  489. package/dist/providers/theme/theme.provider.d.ts.map +1 -0
  490. package/dist/providers/theme/theme.provider.js +68 -0
  491. package/dist/providers/theme/theme.provider.js.map +1 -0
  492. package/dist/providers.cjs +2 -0
  493. package/dist/providers.cjs.map +1 -0
  494. package/dist/providers.js +13 -0
  495. package/dist/providers.js.map +1 -0
  496. package/dist/styles/styles.css +1351 -0
  497. package/dist/styles/tw-styles.css +120 -0
  498. package/dist/tailwind.plugin.cjs +2 -0
  499. package/dist/tailwind.plugin.cjs.map +1 -0
  500. package/dist/tailwind.plugin.d.ts +19 -0
  501. package/dist/tailwind.plugin.d.ts.map +1 -0
  502. package/dist/tailwind.plugin.js +200 -0
  503. package/dist/tailwind.plugin.js.map +1 -0
  504. package/dist/types/index.cjs +2 -0
  505. package/dist/types/index.cjs.map +1 -0
  506. package/dist/types/index.d.ts +128 -0
  507. package/dist/types/index.d.ts.map +1 -0
  508. package/dist/types/index.js +12 -0
  509. package/dist/types/index.js.map +1 -0
  510. package/dist/utils/publishable-key.cjs +2 -0
  511. package/dist/utils/publishable-key.cjs.map +1 -0
  512. package/dist/utils/publishable-key.d.ts +38 -0
  513. package/dist/utils/publishable-key.d.ts.map +1 -0
  514. package/dist/utils/publishable-key.js +38 -0
  515. package/dist/utils/publishable-key.js.map +1 -0
  516. package/package.json +128 -0
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../dom/dist/floating-ui.dom.cjs"),L=require("react"),H=require("react-dom");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(L),I=U(H);var J=typeof document<"u",K=function(){},R=J?L.useLayoutEffect:K;function P(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!P(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const g=s[r];if(!(g==="_owner"&&e.$$typeof)&&!P(e[g],t[g]))return!1}return!0}return e!==e&&t!==t}function $(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function z(e,t){const n=$(e);return Math.round(t*n)/n}function D(e){const t=o.useRef(e);return R(()=>{t.current=e}),t}function Q(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:g,floating:A}={},transform:j=!0,whileElementsMounted:k,open:S}=e,[u,E]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[M,T]=o.useState(r);P(M,r)||T(r);const[B,N]=o.useState(null),[V,W]=o.useState(null),b=o.useCallback(i=>{i!==d.current&&(d.current=i,N(i))},[]),v=o.useCallback(i=>{i!==p.current&&(p.current=i,W(i))},[]),c=g||B,l=A||V,d=o.useRef(null),p=o.useRef(null),w=o.useRef(u),G=k!=null,O=D(k),_=D(s),C=D(S),y=o.useCallback(()=>{if(!d.current||!p.current)return;const i={placement:t,strategy:n,middleware:M};_.current&&(i.platform=_.current),f.computePosition(d.current,p.current,i).then(h=>{const m={...h,isPositioned:C.current!==!1};x.current&&!P(w.current,m)&&(w.current=m,I.flushSync(()=>{E(m)}))})},[M,t,n,_,C]);R(()=>{S===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,E(i=>({...i,isPositioned:!1})))},[S]);const x=o.useRef(!1);R(()=>(x.current=!0,()=>{x.current=!1}),[]),R(()=>{if(c&&(d.current=c),l&&(p.current=l),c&&l){if(O.current)return O.current(c,l,y);y()}},[c,l,y,O,G]);const F=o.useMemo(()=>({reference:d,floating:p,setReference:b,setFloating:v}),[b,v]),a=o.useMemo(()=>({reference:c,floating:l}),[c,l]),q=o.useMemo(()=>{const i={position:n,left:0,top:0};if(!a.floating)return i;const h=z(a.floating,u.x),m=z(a.floating,u.y);return j?{...i,transform:"translate("+h+"px, "+m+"px)",...$(a.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:h,top:m}},[n,j,a.floating,u.x,u.y]);return o.useMemo(()=>({...u,update:y,refs:F,elements:a,floatingStyles:q}),[u,y,F,a,q])}const X=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?f.arrow({element:r.current,padding:s}).fn(n):{}:r?f.arrow({element:r,padding:s}).fn(n):{}}}},Y=(e,t)=>({...f.offset(e),options:[e,t]}),Z=(e,t)=>({...f.shift(e),options:[e,t]}),ee=(e,t)=>({...f.limitShift(e),options:[e,t]}),te=(e,t)=>({...f.flip(e),options:[e,t]}),ne=(e,t)=>({...f.size(e),options:[e,t]}),re=(e,t)=>({...f.hide(e),options:[e,t]}),oe=(e,t)=>({...X(e),options:[e,t]});exports.autoUpdate=f.autoUpdate;exports.computePosition=f.computePosition;exports.platform=f.platform;exports.arrow=oe;exports.flip=te;exports.hide=re;exports.limitShift=ee;exports.offset=Y;exports.shift=Z;exports.size=ne;exports.useFloating=Q;
2
+ //# sourceMappingURL=floating-ui.react-dom.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.react-dom.cjs","sources":["../../../../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["isClient","noop","index","useLayoutEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":"idAMA,IAAIA,EAAW,OAAO,SAAa,IAE/BC,EAAO,UAAgB,CAAC,EACxBC,EAAQF,EAAWG,EAAAA,gBAAkBF,EAIzC,SAASG,EAAUC,EAAGC,EAAG,CACvB,GAAID,IAAMC,EACR,MAAO,GAET,GAAI,OAAOD,GAAM,OAAOC,EACtB,MAAO,GAET,GAAI,OAAOD,GAAM,YAAcA,EAAE,aAAeC,EAAE,WAChD,MAAO,GAET,IAAIC,EACAC,EACAC,EACJ,GAAIJ,GAAKC,GAAK,OAAOD,GAAM,SAAU,CACnC,GAAI,MAAM,QAAQA,CAAC,EAAG,CAEpB,GADAE,EAASF,EAAE,OACPE,IAAWD,EAAE,OAAQ,MAAO,GAChC,IAAKE,EAAID,EAAQC,MAAQ,GACvB,GAAI,CAACJ,EAAUC,EAAEG,CAAC,EAAGF,EAAEE,CAAC,CAAC,EACvB,MAAO,GAGX,MAAO,EACT,CAGA,GAFAC,EAAO,OAAO,KAAKJ,CAAC,EACpBE,EAASE,EAAK,OACVF,IAAW,OAAO,KAAKD,CAAC,EAAE,OAC5B,MAAO,GAET,IAAKE,EAAID,EAAQC,MAAQ,GACvB,GAAI,CAAC,CAAA,EAAG,eAAe,KAAKF,EAAGG,EAAKD,CAAC,CAAC,EACpC,M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AGN,EAAQ1C,CAAO,EAClB,QAAS,CAACA,EAASgD,CAAI,CACzB","x_google_ignoreList":[0]}
@@ -0,0 +1,209 @@
1
+ import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, limitShift as X, arrow as z } from "../../dom/dist/floating-ui.dom.js";
2
+ import { autoUpdate as pe, platform as ge } from "../../dom/dist/floating-ui.dom.js";
3
+ import * as o from "react";
4
+ import { useLayoutEffect as Y } from "react";
5
+ import * as Z from "react-dom";
6
+ var b = typeof document < "u", ee = function() {
7
+ }, w = b ? Y : ee;
8
+ function R(e, t) {
9
+ if (e === t)
10
+ return !0;
11
+ if (typeof e != typeof t)
12
+ return !1;
13
+ if (typeof e == "function" && e.toString() === t.toString())
14
+ return !0;
15
+ let n, r, i;
16
+ if (e && t && typeof e == "object") {
17
+ if (Array.isArray(e)) {
18
+ if (n = e.length, n !== t.length) return !1;
19
+ for (r = n; r-- !== 0; )
20
+ if (!R(e[r], t[r]))
21
+ return !1;
22
+ return !0;
23
+ }
24
+ if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length)
25
+ return !1;
26
+ for (r = n; r-- !== 0; )
27
+ if (!{}.hasOwnProperty.call(t, i[r]))
28
+ return !1;
29
+ for (r = n; r-- !== 0; ) {
30
+ const p = i[r];
31
+ if (!(p === "_owner" && e.$$typeof) && !R(e[p], t[p]))
32
+ return !1;
33
+ }
34
+ return !0;
35
+ }
36
+ return e !== e && t !== t;
37
+ }
38
+ function A(e) {
39
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
40
+ }
41
+ function L(e, t) {
42
+ const n = A(e);
43
+ return Math.round(t * n) / n;
44
+ }
45
+ function k(e) {
46
+ const t = o.useRef(e);
47
+ return w(() => {
48
+ t.current = e;
49
+ }), t;
50
+ }
51
+ function oe(e) {
52
+ e === void 0 && (e = {});
53
+ const {
54
+ placement: t = "bottom",
55
+ strategy: n = "absolute",
56
+ middleware: r = [],
57
+ platform: i,
58
+ elements: {
59
+ reference: p,
60
+ floating: q
61
+ } = {},
62
+ transform: D = !0,
63
+ whileElementsMounted: E,
64
+ open: x
65
+ } = e, [s, C] = o.useState({
66
+ x: 0,
67
+ y: 0,
68
+ strategy: n,
69
+ placement: t,
70
+ middlewareData: {},
71
+ isPositioned: !1
72
+ }), [M, B] = o.useState(r);
73
+ R(M, r) || B(r);
74
+ const [U, V] = o.useState(null), [W, G] = o.useState(null), O = o.useCallback((f) => {
75
+ f !== a.current && (a.current = f, V(f));
76
+ }, []), _ = o.useCallback((f) => {
77
+ f !== d.current && (d.current = f, G(f));
78
+ }, []), u = p || U, l = q || W, a = o.useRef(null), d = o.useRef(null), y = o.useRef(s), H = E != null, S = k(E), P = k(i), v = k(x), g = o.useCallback(() => {
79
+ if (!a.current || !d.current)
80
+ return;
81
+ const f = {
82
+ placement: t,
83
+ strategy: n,
84
+ middleware: M
85
+ };
86
+ P.current && (f.platform = P.current), I(a.current, d.current, f).then((h) => {
87
+ const m = {
88
+ ...h,
89
+ // The floating element's position may be recomputed while it's closed
90
+ // but still mounted (such as when transitioning out). To ensure
91
+ // `isPositioned` will be `false` initially on the next open, avoid
92
+ // setting it to `true` when `open === false` (must be specified).
93
+ isPositioned: v.current !== !1
94
+ };
95
+ $.current && !R(y.current, m) && (y.current = m, Z.flushSync(() => {
96
+ C(m);
97
+ }));
98
+ });
99
+ }, [M, t, n, P, v]);
100
+ w(() => {
101
+ x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, C((f) => ({
102
+ ...f,
103
+ isPositioned: !1
104
+ })));
105
+ }, [x]);
106
+ const $ = o.useRef(!1);
107
+ w(() => ($.current = !0, () => {
108
+ $.current = !1;
109
+ }), []), w(() => {
110
+ if (u && (a.current = u), l && (d.current = l), u && l) {
111
+ if (S.current)
112
+ return S.current(u, l, g);
113
+ g();
114
+ }
115
+ }, [u, l, g, S, H]);
116
+ const F = o.useMemo(() => ({
117
+ reference: a,
118
+ floating: d,
119
+ setReference: O,
120
+ setFloating: _
121
+ }), [O, _]), c = o.useMemo(() => ({
122
+ reference: u,
123
+ floating: l
124
+ }), [u, l]), j = o.useMemo(() => {
125
+ const f = {
126
+ position: n,
127
+ left: 0,
128
+ top: 0
129
+ };
130
+ if (!c.floating)
131
+ return f;
132
+ const h = L(c.floating, s.x), m = L(c.floating, s.y);
133
+ return D ? {
134
+ ...f,
135
+ transform: "translate(" + h + "px, " + m + "px)",
136
+ ...A(c.floating) >= 1.5 && {
137
+ willChange: "transform"
138
+ }
139
+ } : {
140
+ position: n,
141
+ left: h,
142
+ top: m
143
+ };
144
+ }, [n, D, c.floating, s.x, s.y]);
145
+ return o.useMemo(() => ({
146
+ ...s,
147
+ update: g,
148
+ refs: F,
149
+ elements: c,
150
+ floatingStyles: j
151
+ }), [s, g, F, c, j]);
152
+ }
153
+ const te = (e) => {
154
+ function t(n) {
155
+ return {}.hasOwnProperty.call(n, "current");
156
+ }
157
+ return {
158
+ name: "arrow",
159
+ options: e,
160
+ fn(n) {
161
+ const {
162
+ element: r,
163
+ padding: i
164
+ } = typeof e == "function" ? e(n) : e;
165
+ return r && t(r) ? r.current != null ? z({
166
+ element: r.current,
167
+ padding: i
168
+ }).fn(n) : {} : r ? z({
169
+ element: r,
170
+ padding: i
171
+ }).fn(n) : {};
172
+ }
173
+ };
174
+ }, fe = (e, t) => ({
175
+ ...J(e),
176
+ options: [e, t]
177
+ }), ie = (e, t) => ({
178
+ ...K(e),
179
+ options: [e, t]
180
+ }), se = (e, t) => ({
181
+ ...X(e),
182
+ options: [e, t]
183
+ }), ue = (e, t) => ({
184
+ ...N(e),
185
+ options: [e, t]
186
+ }), le = (e, t) => ({
187
+ ...Q(e),
188
+ options: [e, t]
189
+ }), ce = (e, t) => ({
190
+ ...T(e),
191
+ options: [e, t]
192
+ }), ae = (e, t) => ({
193
+ ...te(e),
194
+ options: [e, t]
195
+ });
196
+ export {
197
+ ae as arrow,
198
+ pe as autoUpdate,
199
+ I as computePosition,
200
+ ue as flip,
201
+ ce as hide,
202
+ se as limitShift,
203
+ fe as offset,
204
+ ge as platform,
205
+ ie as shift,
206
+ le as size,
207
+ oe as useFloating
208
+ };
209
+ //# sourceMappingURL=floating-ui.react-dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["isClient","noop","index","useLayoutEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":";;;;;AAMA,IAAIA,IAAW,OAAO,WAAa,KAE/BC,KAAO,WAAgB;AAAC,GACxBC,IAAQF,IAAWG,IAAkBF;AAIzC,SAASG,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AAET,MAAI,OAAOD,KAAM,OAAOC;AACtB,WAAO;AAET,MAAI,OAAOD,KAAM,cAAcA,EAAE,eAAeC,EAAE;AAChD,WAAO;AAET,MAAIC,GACAC,GACAC;AACJ,MAAIJ,KAAKC,KAAK,OAAOD,KAAM,UAAU;AACnC,QAAI,MAAM,QAAQA,CAAC,GAAG;AAEpB,UADAE,IAASF,EAAE,Q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AU,OAAO7C,KAAY,aAAaA,EAAQ4C,CAAK,IAAI5C;AACrD,aAAIR,KAAWmD,EAAMnD,CAAO,IACtBA,EAAQ,WAAW,OACdsD,EAAQ;AAAA,QACb,SAAStD,EAAQ;AAAA,QACjB,SAAAqD;AAAA,MACZ,CAAW,EAAE,GAAGD,CAAK,IAEN,CAAA,IAELpD,IACKsD,EAAQ;AAAA,QACb,SAAAtD;AAAA,QACA,SAAAqD;AAAA,MACV,CAAS,EAAE,GAAGD,CAAK,IAEN,CAAA;AAAA,IACT;AAAA,EACJ;AACA,GASMG,KAAS,CAAC/C,GAASgD,OAAU;AAAA,EACjC,GAAGC,EAASjD,CAAO;AAAA,EACnB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAOME,KAAQ,CAAClD,GAASgD,OAAU;AAAA,EAChC,GAAGG,EAAQnD,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAKMI,KAAa,CAACpD,GAASgD,OAAU;AAAA,EACrC,GAAGK,EAAarD,CAAO;AAAA,EACvB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAQMM,KAAO,CAACtD,GAASgD,OAAU;AAAA,EAC/B,GAAGO,EAAOvD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAQMQ,KAAO,CAACxD,GAASgD,OAAU;AAAA,EAC/B,GAAGS,EAAOzD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkBMU,KAAO,CAAC1D,GAASgD,OAAU;AAAA,EAC/B,GAAGW,EAAO3D,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkBMY,KAAQ,CAAC5D,GAASgD,OAAU;AAAA,EAChC,GAAGN,GAAQ1C,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=["top","right","bottom","left"],f=Math.min,p=Math.max,O=Math.round,S=Math.floor,y=t=>({x:t,y:t}),M={left:"right",right:"left",bottom:"top",top:"bottom"},j={start:"end",end:"start"};function w(t,e,n){return p(t,f(e,n))}function C(t,e){return typeof t=="function"?t(e):t}function l(t){return t.split("-")[0]}function a(t){return t.split("-")[1]}function d(t){return t==="x"?"y":"x"}function h(t){return t==="y"?"height":"width"}const L=new Set(["top","bottom"]);function x(t){return L.has(l(t))?"y":"x"}function A(t){return d(x(t))}function T(t,e,n){n===void 0&&(n=!1);const r=a(t),i=A(t),o=h(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=g(s)),[s,g(s)]}function E(t){const e=g(t);return[c(t),e,c(e)]}function c(t){return t.replace(/start|end/g,e=>j[e])}const m=["left","right"],u=["right","left"],R=["top","bottom"],v=["bottom","top"];function k(t,e,n){switch(t){case"top":case"bottom":return n?e?u:m:e?m:u;case"left":case"right":return e?R:v;default:return[]}}function q(t,e,n,r){const i=a(t);let o=k(l(t),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(c)))),o}function g(t){return t.replace(/left|right|bottom|top/g,e=>M[e])}function b(t){return{top:0,right:0,bottom:0,left:0,...t}}function z(t){return typeof t!="number"?b(t):{top:t,right:t,bottom:t,left:t}}function B(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}exports.clamp=w;exports.createCoords=y;exports.evaluate=C;exports.expandPaddingObject=b;exports.floor=S;exports.getAlignment=a;exports.getAlignmentAxis=A;exports.getAlignmentSides=T;exports.getAxisLength=h;exports.getExpandedPlacements=E;exports.getOppositeAlignmentPlacement=c;exports.getOppositeAxis=d;exports.getOppositeAxisPlacements=q;exports.getOppositePlacement=g;exports.getPaddingObject=z;exports.getSide=l;exports.getSideAxis=x;exports.max=p;exports.min=f;exports.rectToClientRect=B;exports.round=O;exports.sides=P;
2
+ //# sourceMappingURL=floating-ui.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.cjs","sources":["../../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nconst yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);\nfunction getSideAxis(placement) {\n return yAxisSides.has(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","yAxisSides","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"gFAKK,MAACA,EAAQ,CAAC,MAAO,QAAS,SAAU,MAAM,EAGzCC,EAAM,KAAK,IACXC,EAAM,KAAK,IACXC,EAAQ,KAAK,MACbC,EAAQ,KAAK,MACbC,EAAeC,IAAM,CACzB,EAAGA,EACH,EAAGA,CACL,GACMC,EAAkB,CACtB,KAAM,QACN,MAAO,OACP,OAAQ,MACR,IAAK,QACP,EACMC,EAAuB,CAC3B,MAAO,MACP,IAAK,OACP,EACA,SAASC,EAAMC,EAAOC,EAAOC,EAAK,CAChC,OAAOV,EAAIQ,EAAOT,EAAIU,EAAOC,CAAG,CAAC,CACnC,CACA,SAASC,EAASF,EAAOG,EAAO,CAC9B,OAAO,OAAOH,GAAU,WAAaA,EAAMG,CAAK,EAAIH,CACtD,CACA,SAASI,EAAQC,EAAW,CAC1B,OAAOA,EAAU,MAAM,GAAG,EAAE,CAAC,CAC/B,CACA,SAASC,EAAaD,EAAW,CAC/B,OAAOA,EAAU,MAAM,GAAG,EAAE,CAAC,CAC/B,CACA,SAASE,EAAgBC,EAAM,CAC7B,OAAOA,IAAS,IAAM,IAAM,GAC9B,CACA,SAASC,EAAcD,EAAM,CAC3B,OAAOA,IAAS,IAAM,SAAW,OACnC,CACA,MAAME,EAA0B,IAAI,IAAI,CAAC,MAAO,QAAQ,CAAC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AAS,EACxC,IAAI6B,EAAON,EAAYxB,EAAQC,CAAS,EAAG4B,IAAc,QAASlB,CAAG,EACrE,OAAIC,IACFkB,EAAOA,EAAK,IAAIL,GAAQA,EAAO,IAAMb,CAAS,EAC1CgB,IACFE,EAAOA,EAAK,OAAOA,EAAK,IAAIX,CAA6B,CAAC,IAGvDW,CACT,CACA,SAASd,EAAqBf,EAAW,CACvC,OAAOA,EAAU,QAAQ,yBAA0BwB,GAAQjC,EAAgBiC,CAAI,CAAC,CAClF,CACA,SAASM,EAAoBC,EAAS,CACpC,MAAO,CACL,IAAK,EACL,MAAO,EACP,OAAQ,EACR,KAAM,EACN,GAAGA,CACP,CACA,CACA,SAASC,EAAiBD,EAAS,CACjC,OAAO,OAAOA,GAAY,SAAWD,EAAoBC,CAAO,EAAI,CAClE,IAAKA,EACL,MAAOA,EACP,OAAQA,EACR,KAAMA,CACV,CACA,CACA,SAASE,EAAiBC,EAAM,CAC9B,KAAM,CACJ,EAAAC,EACA,EAAAC,EACA,MAAAC,EACA,OAAAC,CACJ,EAAMJ,EACJ,MAAO,CACL,MAAAG,EACA,OAAAC,EACA,IAAKF,EACL,KAAMD,EACN,MAAOA,EAAIE,EACX,OAAQD,EAAIE,EACZ,EAAAH,EACA,EAAAC,CACJ,CACA","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(){return typeof window<"u"}function c(e){return d(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function N(e){var t;return(t=(d(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function d(e){return s()?e instanceof Node||e instanceof i(e).Node:!1}function m(e){return s()?e instanceof Element||e instanceof i(e).Element:!1}function w(e){return s()?e instanceof HTMLElement||e instanceof i(e).HTMLElement:!1}function u(e){return!s()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof i(e).ShadowRoot}const C=new Set(["inline","contents"]);function p(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!C.has(r)}const D=new Set(["table","td","th"]);function k(e){return D.has(c(e))}const O=[":popover-open",":modal"];function h(e){return O.some(t=>{try{return e.matches(t)}catch{return!1}})}const A=["transform","translate","scale","rotate","perspective"],B=["transform","translate","scale","rotate","perspective","filter"],M=["paint","layout","strict","content"];function E(e){const t=T(),n=m(e)?y(e):e;return A.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||B.some(o=>(n.willChange||"").includes(o))||M.some(o=>(n.contain||"").includes(o))}function P(e){let t=l(e);for(;w(t)&&!g(t);){if(E(t))return t;if(h(t))return null;t=l(t)}return null}function T(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const R=new Set(["html","body","#document"]);function g(e){return R.has(c(e))}function y(e){return i(e).getComputedStyle(e)}function V(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function l(e){if(c(e)==="html")return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||N(e);return u(t)?t.host:t}function S(e){const t=l(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:w(t)&&p(t)?t:S(t)}function f(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=S(e),L=r===((o=e.ownerDocument)==null?void 0:o.body),a=i(r);if(L){const b=v(a);return t.concat(a,a.visualViewport||[],p(r)?r:[],b&&n?f(b):[])}return t.concat(r,f(r,[],n))}function v(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}exports.getComputedStyle=y;exports.getContainingBlock=P;exports.getDocumentElement=N;exports.getFrameElement=v;exports.getNearestOverflowAncestor=S;exports.getNodeName=c;exports.getNodeScroll=V;exports.getOverflowAncestors=f;exports.getParentNode=l;exports.getWindow=i;exports.isContainingBlock=E;exports.isElement=m;exports.isHTMLElement=w;exports.isLastTraversableNode=g;exports.isNode=d;exports.isOverflowElement=p;exports.isShadowRoot=u;exports.isTableElement=k;exports.isTopLayer=h;exports.isWebKit=T;
2
+ //# sourceMappingURL=floating-ui.utils.dom.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.dom.cjs","sources":["../../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n return topLayerSelectors.some(selector => {\n try {\n return element.matches(selector);\n } catch (_e) {\n return false;\n }\n });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n return lastTraversableNodeNames.has(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","invalidOverflowDisplayValues","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","tableElements","isTableElement","topLayerSelectors","isTopLayer","selector","transformProperties","willChangeValues","containValues","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","lastTraversableNodeNames","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"gFAAA,SAASA,GAAY,CACnB,OAAO,OAAO,OAAW,GAC3B,CACA,SAASC,EAAYC,EAAM,CACzB,OAAIC,EAAOD,CAAI,GACLA,EAAK,UAAY,IAAI,YAAW,EAKnC,WACT,CACA,SAASE,EAAUF,EAAM,CACvB,IAAIG,EACJ,OAAQH,GAAQ,OAASG,EAAsBH,EAAK,gBAAkB,KAAO,OAASG,EAAoB,cAAgB,MAC5H,CACA,SAASC,EAAmBJ,EAAM,CAChC,IAAIK,EACJ,OAAQA,GAAQJ,EAAOD,CAAI,EAAIA,EAAK,cAAgBA,EAAK,WAAa,OAAO,WAAa,KAAO,OAASK,EAAK,eACjH,CACA,SAASJ,EAAOK,EAAO,CACrB,OAAKR,EAAS,EAGPQ,aAAiB,MAAQA,aAAiBJ,EAAUI,CAAK,EAAE,KAFzD,EAGX,CACA,SAASC,EAAUD,EAAO,CACxB,OAAKR,EAAS,EAGPQ,aAAiB,SAAWA,aAAiBJ,EAAUI,CAAK,EAAE,QAF5D,EAGX,CACA,SAASE,EAAcF,EAAO,CAC5B,OAAKR,EAAS,EAGPQ,aAAiB,aAAeA,aAAiBJ,EAAUI,CAAK,EAAE,YAFhE,EAGX,CACA,SAASG,EAAaH,EAAO,CAC3B,MAAI,CAACR,EAAS,GAAM,OAAO,WAAe,IACjC,GAEFQ,aAAiB,YAAcA,aAAiBJ,EAAUI,CAAK,EAAE,UAC1E,CACA,MAAMI,EA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EAAiB,CACzD,IAAIC,EACAF,IAAS,SACXA,EAAO,CAAA,GAELC,IAAoB,SACtBA,EAAkB,IAEpB,MAAME,EAAqBN,EAA2BtC,CAAI,EACpD6C,EAASD,MAAyBD,EAAuB3C,EAAK,gBAAkB,KAAO,OAAS2C,EAAqB,MACrHG,EAAM5C,EAAU0C,CAAkB,EACxC,GAAIC,EAAQ,CACV,MAAME,EAAeC,EAAgBF,CAAG,EACxC,OAAOL,EAAK,OAAOK,EAAKA,EAAI,gBAAkB,CAAA,EAAInC,EAAkBiC,CAAkB,EAAIA,EAAqB,CAAA,EAAIG,GAAgBL,EAAkBF,EAAqBO,CAAY,EAAI,EAAE,CAC9L,CACA,OAAON,EAAK,OAAOG,EAAoBJ,EAAqBI,EAAoB,CAAA,EAAIF,CAAe,CAAC,CACtG,CACA,SAASM,EAAgBF,EAAK,CAC5B,OAAOA,EAAI,QAAU,OAAO,eAAeA,EAAI,MAAM,EAAIA,EAAI,aAAe,IAC9E","x_google_ignoreList":[0]}
@@ -0,0 +1,137 @@
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function u(t) {
5
+ return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var e;
9
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
10
+ }
11
+ function N(t) {
12
+ var e;
13
+ return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
14
+ }
15
+ function p(t) {
16
+ return c() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function m(t) {
19
+ return c() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function w(t) {
22
+ return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function f(t) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ const E = /* @__PURE__ */ new Set(["inline", "contents"]);
28
+ function y(t) {
29
+ const {
30
+ overflow: e,
31
+ overflowX: n,
32
+ overflowY: o,
33
+ display: r
34
+ } = S(t);
35
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
36
+ }
37
+ const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
38
+ function A(t) {
39
+ return T.has(u(t));
40
+ }
41
+ const v = [":popover-open", ":modal"];
42
+ function L(t) {
43
+ return v.some((e) => {
44
+ try {
45
+ return t.matches(e);
46
+ } catch {
47
+ return !1;
48
+ }
49
+ });
50
+ }
51
+ const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
52
+ function V(t) {
53
+ const e = O(), n = m(t) ? S(t) : t;
54
+ return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
55
+ }
56
+ function B(t) {
57
+ let e = s(t);
58
+ for (; w(e) && !h(e); ) {
59
+ if (V(e))
60
+ return e;
61
+ if (L(e))
62
+ return null;
63
+ e = s(e);
64
+ }
65
+ return null;
66
+ }
67
+ function O() {
68
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
69
+ }
70
+ const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
71
+ function h(t) {
72
+ return R.has(u(t));
73
+ }
74
+ function S(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function F(t) {
78
+ return m(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
84
+ };
85
+ }
86
+ function s(t) {
87
+ if (u(t) === "html")
88
+ return t;
89
+ const e = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ f(t) && t.host || // Fallback.
94
+ N(t)
95
+ );
96
+ return f(e) ? e.host : e;
97
+ }
98
+ function b(t) {
99
+ const e = s(t);
100
+ return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
101
+ }
102
+ function d(t, e, n) {
103
+ var o;
104
+ e === void 0 && (e = []), n === void 0 && (n = !0);
105
+ const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
106
+ if (g) {
107
+ const a = _(l);
108
+ return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
109
+ }
110
+ return e.concat(r, d(r, [], n));
111
+ }
112
+ function _(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
114
+ }
115
+ export {
116
+ S as getComputedStyle,
117
+ B as getContainingBlock,
118
+ N as getDocumentElement,
119
+ _ as getFrameElement,
120
+ b as getNearestOverflowAncestor,
121
+ u as getNodeName,
122
+ F as getNodeScroll,
123
+ d as getOverflowAncestors,
124
+ s as getParentNode,
125
+ i as getWindow,
126
+ V as isContainingBlock,
127
+ m as isElement,
128
+ w as isHTMLElement,
129
+ h as isLastTraversableNode,
130
+ p as isNode,
131
+ y as isOverflowElement,
132
+ f as isShadowRoot,
133
+ A as isTableElement,
134
+ L as isTopLayer,
135
+ O as isWebKit
136
+ };
137
+ //# sourceMappingURL=floating-ui.utils.dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.dom.js","sources":["../../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n return topLayerSelectors.some(selector => {\n try {\n return element.matches(selector);\n } catch (_e) {\n return false;\n }\n });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n return lastTraversableNodeNames.has(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","invalidOverflowDisplayValues","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","tableElements","isTableElement","topLayerSelectors","isTopLayer","selector","transformProperties","willChangeValues","containValues","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","lastTraversableNodeNames","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAW,IAKnC;AACT;AACA,SAASE,EAAUF,GAAM;AACvB,M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