uomtiles 0.1.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 (507) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/1d1PDhA4.js +1 -0
  3. package/.output/public/_nuxt/3B2XYGg4.js +1 -0
  4. package/.output/public/_nuxt/981KwFWf.js +1 -0
  5. package/.output/public/_nuxt/B30dSvM4.js +1 -0
  6. package/.output/public/_nuxt/BN1Gp4Dm.js +1 -0
  7. package/.output/public/_nuxt/BQlj8Xoe.js +6 -0
  8. package/.output/public/_nuxt/BRkljK8J.js +1 -0
  9. package/.output/public/_nuxt/BSdHYVlE2.js +1 -0
  10. package/.output/public/_nuxt/B_MqTg2k2.js +1 -0
  11. package/.output/public/_nuxt/BiWblTbb2.js +64 -0
  12. package/.output/public/_nuxt/BrPwntMr.js +1 -0
  13. package/.output/public/_nuxt/BskybydR.js +1 -0
  14. package/.output/public/_nuxt/ByRlKR9F.js +1 -0
  15. package/.output/public/_nuxt/C0Zdl2EE2.js +1 -0
  16. package/.output/public/_nuxt/C4qlzA4o.js +1 -0
  17. package/.output/public/_nuxt/C7HxHbxA.js +1 -0
  18. package/.output/public/_nuxt/C97TfNgP.js +3 -0
  19. package/.output/public/_nuxt/CNs_Ozdc.js +1 -0
  20. package/.output/public/_nuxt/CPuhwLY1.js +1 -0
  21. package/.output/public/_nuxt/CVE291Pi.js +1 -0
  22. package/.output/public/_nuxt/C_0VY3Cv2.js +4 -0
  23. package/.output/public/_nuxt/Ce26t8_Y.js +1 -0
  24. package/.output/public/_nuxt/CfW544W5.js +1 -0
  25. package/.output/public/_nuxt/CgMd2Y5s.js +2 -0
  26. package/.output/public/_nuxt/CgdzV712.js +1 -0
  27. package/.output/public/_nuxt/D1wVNWS0.js +1 -0
  28. package/.output/public/_nuxt/DC3bhq63.js +1 -0
  29. package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
  30. package/.output/public/_nuxt/DL1MZZLI.js +1 -0
  31. package/.output/public/_nuxt/DXm-42Fi.js +1 -0
  32. package/.output/public/_nuxt/Djg3Kzfv.js +1 -0
  33. package/.output/public/_nuxt/DkcySee1.js +1 -0
  34. package/.output/public/_nuxt/DmN-PKW1.js +1 -0
  35. package/.output/public/_nuxt/DtFVCXI9.js +1 -0
  36. package/.output/public/_nuxt/Dz7VMlHR.js +1 -0
  37. package/.output/public/_nuxt/NL65vbjG2.js +1 -0
  38. package/.output/public/_nuxt/Oxy7pKSk.js +3 -0
  39. package/.output/public/_nuxt/Pik8or8N2.js +1 -0
  40. package/.output/public/_nuxt/XZ59tThl.js +1 -0
  41. package/.output/public/_nuxt/ZpWjFsgV.js +1 -0
  42. package/.output/public/_nuxt/builds/latest.json +1 -0
  43. package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +1 -0
  44. package/.output/public/_nuxt/dXz6dFgW2.js +1 -0
  45. package/.output/public/_nuxt/entry.P6tFNE31.css +1 -0
  46. package/.output/public/_nuxt/error-404.Biv0P6cJ.css +1 -0
  47. package/.output/public/_nuxt/error-500.8ok468rV.css +1 -0
  48. package/.output/public/_nuxt/j0MRD-c3.js +1 -0
  49. package/.output/public/_nuxt/local-pixel-diff.worker-C6RdZoCq.js +2 -0
  50. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +6 -0
  51. package/.output/public/_nuxt/nearest-area.worker-iSLH0Y_s.js +2 -0
  52. package/.output/public/_nuxt/q7DkoVkj.js +828 -0
  53. package/.output/public/_nuxt/raster-tile.worker-BFlOgJig.js +2 -0
  54. package/.output/public/_nuxt/services._3nQizF8.css +1 -0
  55. package/.output/public/_nuxt/sql-wasm.DfANybxk.wasm +0 -0
  56. package/.output/public/_nuxt/tile-diff.worker-CvWWI_eu.js +1 -0
  57. package/.output/public/_nuxt/zZ1EGR7Y.js +1 -0
  58. package/.output/public/apple-touch-icon.png +0 -0
  59. package/.output/public/favicon.ico +0 -0
  60. package/.output/public/favicon.svg +8 -0
  61. package/.output/public/icon-192.png +0 -0
  62. package/.output/public/icon-512.png +0 -0
  63. package/.output/public/site.webmanifest +11 -0
  64. package/.output/server/chunks/_/config.mjs +208 -0
  65. package/.output/server/chunks/_/config.mjs.map +1 -0
  66. package/.output/server/chunks/_/data-directory.mjs +24 -0
  67. package/.output/server/chunks/_/data-directory.mjs.map +1 -0
  68. package/.output/server/chunks/_/error-500.mjs +20 -0
  69. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  70. package/.output/server/chunks/_/file-workspace.mjs +910 -0
  71. package/.output/server/chunks/_/file-workspace.mjs.map +1 -0
  72. package/.output/server/chunks/_/icons.mjs +6269 -0
  73. package/.output/server/chunks/_/icons.mjs.map +1 -0
  74. package/.output/server/chunks/_/map-service.mjs +233 -0
  75. package/.output/server/chunks/_/map-service.mjs.map +1 -0
  76. package/.output/server/chunks/_/missing-tile.mjs +104 -0
  77. package/.output/server/chunks/_/missing-tile.mjs.map +1 -0
  78. package/.output/server/chunks/_/pixel-diff.mjs +78 -0
  79. package/.output/server/chunks/_/pixel-diff.mjs.map +1 -0
  80. package/.output/server/chunks/_/uom-auth.mjs +334 -0
  81. package/.output/server/chunks/_/uom-auth.mjs.map +1 -0
  82. package/.output/server/chunks/_/uom-map.mjs +265 -0
  83. package/.output/server/chunks/_/uom-map.mjs.map +1 -0
  84. package/.output/server/chunks/build/Alert-0ngTJXxP.mjs +5076 -0
  85. package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +1 -0
  86. package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +569 -0
  87. package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +1 -0
  88. package/.output/server/chunks/build/Empty-CkW3mADt.mjs +359 -0
  89. package/.output/server/chunks/build/Empty-CkW3mADt.mjs.map +1 -0
  90. package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs +207 -0
  91. package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs.map +1 -0
  92. package/.output/server/chunks/build/FormField-CEUZHcv7.mjs +278 -0
  93. package/.output/server/chunks/build/FormField-CEUZHcv7.mjs.map +1 -0
  94. package/.output/server/chunks/build/Input-BeNavYXb.mjs +592 -0
  95. package/.output/server/chunks/build/Input-BeNavYXb.mjs.map +1 -0
  96. package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs +2003 -0
  97. package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs.map +1 -0
  98. package/.output/server/chunks/build/Modal-DNZtVxca.mjs +1326 -0
  99. package/.output/server/chunks/build/Modal-DNZtVxca.mjs.map +1 -0
  100. package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs +146 -0
  101. package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs.map +1 -0
  102. package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs +1025 -0
  103. package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs.map +1 -0
  104. package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs +2066 -0
  105. package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +1 -0
  106. package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +379 -0
  107. package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +1 -0
  108. package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs +1087 -0
  109. package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +1 -0
  110. package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs +1345 -0
  111. package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs.map +1 -0
  112. package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs +7 -0
  113. package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs.map +1 -0
  114. package/.output/server/chunks/build/advanced-D1onodoF.mjs +1430 -0
  115. package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +1 -0
  116. package/.output/server/chunks/build/compare-DmSAW8oA.mjs +1093 -0
  117. package/.output/server/chunks/build/compare-DmSAW8oA.mjs.map +1 -0
  118. package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs +3217 -0
  119. package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs.map +1 -0
  120. package/.output/server/chunks/build/details-CBMqXYyo.mjs +3714 -0
  121. package/.output/server/chunks/build/details-CBMqXYyo.mjs.map +1 -0
  122. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +86 -0
  123. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -0
  124. package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs +9 -0
  125. package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs.map +1 -0
  126. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +74 -0
  127. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -0
  128. package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs +9 -0
  129. package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs.map +1 -0
  130. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +1121 -0
  131. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -0
  132. package/.output/server/chunks/build/interval-BxUMpo78.mjs +411 -0
  133. package/.output/server/chunks/build/interval-BxUMpo78.mjs.map +1 -0
  134. package/.output/server/chunks/build/login-lbtjN0MV.mjs +642 -0
  135. package/.output/server/chunks/build/login-lbtjN0MV.mjs.map +1 -0
  136. package/.output/server/chunks/build/pages-Ba0Eixbd.mjs +220 -0
  137. package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +1 -0
  138. package/.output/server/chunks/build/services-DuJwjAB8.mjs +3005 -0
  139. package/.output/server/chunks/build/services-DuJwjAB8.mjs.map +1 -0
  140. package/.output/server/chunks/build/services-styles.eoO16BY9.mjs +9 -0
  141. package/.output/server/chunks/build/services-styles.eoO16BY9.mjs.map +1 -0
  142. package/.output/server/chunks/build/tasks-CyN9x492.mjs +915 -0
  143. package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +1 -0
  144. package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs +87 -0
  145. package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs.map +1 -0
  146. package/.output/server/chunks/nitro/nitro.mjs +6215 -0
  147. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  148. package/.output/server/chunks/routes/api/auth/captcha.post.mjs +21 -0
  149. package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -0
  150. package/.output/server/chunks/routes/api/auth/login.post.mjs +27 -0
  151. package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -0
  152. package/.output/server/chunks/routes/api/auth/logout.post.mjs +22 -0
  153. package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -0
  154. package/.output/server/chunks/routes/api/auth/map-token.post.mjs +22 -0
  155. package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -0
  156. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +31 -0
  157. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -0
  158. package/.output/server/chunks/routes/api/auth/status.get.mjs +21 -0
  159. package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -0
  160. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +44 -0
  161. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
  162. package/.output/server/chunks/routes/api/map/live/status.get.mjs +32 -0
  163. package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -0
  164. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +48 -0
  165. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
  166. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +46 -0
  167. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -0
  168. package/.output/server/chunks/routes/api/map-service/config.post.mjs +38 -0
  169. package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -0
  170. package/.output/server/chunks/routes/api/map-service/file.post.mjs +41 -0
  171. package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -0
  172. package/.output/server/chunks/routes/api/map-service/source.post.mjs +35 -0
  173. package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -0
  174. package/.output/server/chunks/routes/api/map-service/status.get.mjs +32 -0
  175. package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -0
  176. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +47 -0
  177. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -0
  178. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +38 -0
  179. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -0
  180. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +42 -0
  181. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -0
  182. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +48 -0
  183. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -0
  184. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +45 -0
  185. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -0
  186. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +32 -0
  187. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -0
  188. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +38 -0
  189. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -0
  190. package/.output/server/chunks/routes/api/workspace/compare.post.mjs +33 -0
  191. package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -0
  192. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +33 -0
  193. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -0
  194. package/.output/server/chunks/routes/api/workspace/files.get.mjs +27 -0
  195. package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -0
  196. package/.output/server/chunks/routes/api/workspace/files.post.mjs +38 -0
  197. package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -0
  198. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +32 -0
  199. package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -0
  200. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +36 -0
  201. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -0
  202. package/.output/server/chunks/routes/renderer.mjs +422 -0
  203. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  204. package/.output/server/chunks/routes/services/wms.get.mjs +54 -0
  205. package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -0
  206. package/.output/server/chunks/routes/services/wmts.get.mjs +54 -0
  207. package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -0
  208. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  209. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  210. package/.output/server/chunks/virtual/entry.mjs +18545 -0
  211. package/.output/server/chunks/virtual/entry.mjs.map +1 -0
  212. package/.output/server/chunks/virtual/precomputed.mjs +4 -0
  213. package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
  214. package/.output/server/chunks/virtual/styles.mjs +10 -0
  215. package/.output/server/chunks/virtual/styles.mjs.map +1 -0
  216. package/.output/server/index.mjs +12 -0
  217. package/.output/server/index.mjs.map +1 -0
  218. package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
  219. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  220. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
  221. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
  222. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
  223. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
  224. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
  225. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
  226. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
  227. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
  228. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
  229. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
  230. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
  231. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
  232. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
  233. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
  234. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
  235. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
  236. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
  237. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
  238. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
  239. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
  240. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
  241. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
  242. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
  243. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
  244. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
  245. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
  246. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
  247. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
  248. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
  249. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
  250. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
  251. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
  252. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
  253. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
  254. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
  255. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
  256. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
  257. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
  258. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
  259. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
  260. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
  261. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
  262. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
  263. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
  264. package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
  265. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
  266. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
  267. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
  268. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
  269. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
  270. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
  271. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
  272. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
  273. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
  274. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
  275. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
  276. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
  277. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
  278. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
  279. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
  280. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
  281. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
  282. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
  283. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
  284. package/.output/server/node_modules/@iconify/utils/package.json +119 -0
  285. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
  286. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  287. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
  288. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  289. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
  290. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  291. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
  292. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  293. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
  294. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  295. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
  296. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  297. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
  298. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  299. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
  300. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  301. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
  302. package/.output/server/node_modules/consola/dist/core.mjs +512 -0
  303. package/.output/server/node_modules/consola/dist/index.mjs +651 -0
  304. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
  305. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
  306. package/.output/server/node_modules/consola/package.json +136 -0
  307. package/.output/server/node_modules/devalue/index.js +17 -0
  308. package/.output/server/node_modules/devalue/package.json +39 -0
  309. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  310. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  311. package/.output/server/node_modules/devalue/src/operations.js +193 -0
  312. package/.output/server/node_modules/devalue/src/parse.js +270 -0
  313. package/.output/server/node_modules/devalue/src/stringify.js +428 -0
  314. package/.output/server/node_modules/devalue/src/uneval.js +582 -0
  315. package/.output/server/node_modules/devalue/src/utils.js +185 -0
  316. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  317. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  318. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  319. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  320. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  321. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  322. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  323. package/.output/server/node_modules/entities/package.json +120 -0
  324. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  325. package/.output/server/node_modules/estree-walker/package.json +37 -0
  326. package/.output/server/node_modules/fflate/esm/index.mjs +2710 -0
  327. package/.output/server/node_modules/fflate/package.json +128 -0
  328. package/.output/server/node_modules/fnv1a-64/dist/index.mjs +95 -0
  329. package/.output/server/node_modules/fnv1a-64/package.json +75 -0
  330. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  331. package/.output/server/node_modules/hookable/package.json +53 -0
  332. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
  333. package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
  334. package/.output/server/node_modules/nostics/package.json +125 -0
  335. package/.output/server/node_modules/object-identity/index.js +60 -0
  336. package/.output/server/node_modules/object-identity/package.json +40 -0
  337. package/.output/server/node_modules/p-limit/index.js +104 -0
  338. package/.output/server/node_modules/p-limit/package.json +58 -0
  339. package/.output/server/node_modules/pmtiles/dist/esm/index.js +2 -0
  340. package/.output/server/node_modules/pmtiles/package.json +50 -0
  341. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  342. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  343. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  344. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  345. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  346. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  347. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  348. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  349. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  350. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  351. package/.output/server/node_modules/source-map-js/package.json +71 -0
  352. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  353. package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +1 -0
  354. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
  355. package/.output/server/node_modules/tailwindcss/package.json +89 -0
  356. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  357. package/.output/server/node_modules/ufo/package.json +48 -0
  358. package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
  359. package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
  360. package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
  361. package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
  362. package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
  363. package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
  364. package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
  365. package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
  366. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
  367. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
  368. package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
  369. package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
  370. package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +585 -0
  371. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
  372. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
  373. package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +223 -0
  374. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
  375. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
  376. package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
  377. package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +196 -0
  378. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
  379. package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
  380. package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +19 -0
  381. package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
  382. package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
  383. package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
  384. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
  385. package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
  386. package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
  387. package/.output/server/node_modules/unhead/package.json +179 -0
  388. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  389. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  390. package/.output/server/node_modules/vue/index.js +7 -0
  391. package/.output/server/node_modules/vue/index.mjs +1 -0
  392. package/.output/server/node_modules/vue/package.json +112 -0
  393. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  394. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
  395. package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
  396. package/.output/server/node_modules/yocto-queue/index.js +90 -0
  397. package/.output/server/node_modules/yocto-queue/package.json +48 -0
  398. package/.output/server/node_modules/zod/index.js +4 -0
  399. package/.output/server/node_modules/zod/package.json +135 -0
  400. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
  401. package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
  402. package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
  403. package/.output/server/node_modules/zod/v4/classic/errors.js +48 -0
  404. package/.output/server/node_modules/zod/v4/classic/external.js +20 -0
  405. package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  406. package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
  407. package/.output/server/node_modules/zod/v4/classic/package.json +7 -0
  408. package/.output/server/node_modules/zod/v4/classic/parse.js +15 -0
  409. package/.output/server/node_modules/zod/v4/classic/schemas.js +1395 -0
  410. package/.output/server/node_modules/zod/v4/core/api.js +1087 -0
  411. package/.output/server/node_modules/zod/v4/core/checks.js +575 -0
  412. package/.output/server/node_modules/zod/v4/core/core.js +78 -0
  413. package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
  414. package/.output/server/node_modules/zod/v4/core/errors.js +185 -0
  415. package/.output/server/node_modules/zod/v4/core/index.js +16 -0
  416. package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  417. package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  418. package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
  419. package/.output/server/node_modules/zod/v4/core/package.json +7 -0
  420. package/.output/server/node_modules/zod/v4/core/parse.js +93 -0
  421. package/.output/server/node_modules/zod/v4/core/regexes.js +139 -0
  422. package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
  423. package/.output/server/node_modules/zod/v4/core/schemas.js +2239 -0
  424. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +448 -0
  425. package/.output/server/node_modules/zod/v4/core/util.js +674 -0
  426. package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
  427. package/.output/server/node_modules/zod/v4/locales/ar.js +106 -0
  428. package/.output/server/node_modules/zod/v4/locales/az.js +105 -0
  429. package/.output/server/node_modules/zod/v4/locales/be.js +156 -0
  430. package/.output/server/node_modules/zod/v4/locales/bg.js +120 -0
  431. package/.output/server/node_modules/zod/v4/locales/ca.js +107 -0
  432. package/.output/server/node_modules/zod/v4/locales/cs.js +111 -0
  433. package/.output/server/node_modules/zod/v4/locales/da.js +115 -0
  434. package/.output/server/node_modules/zod/v4/locales/de.js +108 -0
  435. package/.output/server/node_modules/zod/v4/locales/el.js +109 -0
  436. package/.output/server/node_modules/zod/v4/locales/en.js +113 -0
  437. package/.output/server/node_modules/zod/v4/locales/eo.js +109 -0
  438. package/.output/server/node_modules/zod/v4/locales/es.js +132 -0
  439. package/.output/server/node_modules/zod/v4/locales/fa.js +114 -0
  440. package/.output/server/node_modules/zod/v4/locales/fi.js +112 -0
  441. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +107 -0
  442. package/.output/server/node_modules/zod/v4/locales/fr.js +125 -0
  443. package/.output/server/node_modules/zod/v4/locales/he.js +214 -0
  444. package/.output/server/node_modules/zod/v4/locales/hr.js +122 -0
  445. package/.output/server/node_modules/zod/v4/locales/hu.js +108 -0
  446. package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
  447. package/.output/server/node_modules/zod/v4/locales/id.js +106 -0
  448. package/.output/server/node_modules/zod/v4/locales/index.js +52 -0
  449. package/.output/server/node_modules/zod/v4/locales/is.js +109 -0
  450. package/.output/server/node_modules/zod/v4/locales/it.js +108 -0
  451. package/.output/server/node_modules/zod/v4/locales/ja.js +107 -0
  452. package/.output/server/node_modules/zod/v4/locales/ka.js +112 -0
  453. package/.output/server/node_modules/zod/v4/locales/kh.js +5 -0
  454. package/.output/server/node_modules/zod/v4/locales/km.js +110 -0
  455. package/.output/server/node_modules/zod/v4/locales/ko.js +111 -0
  456. package/.output/server/node_modules/zod/v4/locales/lt.js +203 -0
  457. package/.output/server/node_modules/zod/v4/locales/mk.js +109 -0
  458. package/.output/server/node_modules/zod/v4/locales/ms.js +107 -0
  459. package/.output/server/node_modules/zod/v4/locales/nl.js +110 -0
  460. package/.output/server/node_modules/zod/v4/locales/no.js +108 -0
  461. package/.output/server/node_modules/zod/v4/locales/ota.js +109 -0
  462. package/.output/server/node_modules/zod/v4/locales/package.json +7 -0
  463. package/.output/server/node_modules/zod/v4/locales/pl.js +109 -0
  464. package/.output/server/node_modules/zod/v4/locales/ps.js +114 -0
  465. package/.output/server/node_modules/zod/v4/locales/pt.js +108 -0
  466. package/.output/server/node_modules/zod/v4/locales/ro.js +119 -0
  467. package/.output/server/node_modules/zod/v4/locales/ru.js +156 -0
  468. package/.output/server/node_modules/zod/v4/locales/sl.js +109 -0
  469. package/.output/server/node_modules/zod/v4/locales/sv.js +110 -0
  470. package/.output/server/node_modules/zod/v4/locales/ta.js +110 -0
  471. package/.output/server/node_modules/zod/v4/locales/th.js +110 -0
  472. package/.output/server/node_modules/zod/v4/locales/tr.js +105 -0
  473. package/.output/server/node_modules/zod/v4/locales/ua.js +5 -0
  474. package/.output/server/node_modules/zod/v4/locales/uk.js +108 -0
  475. package/.output/server/node_modules/zod/v4/locales/ur.js +110 -0
  476. package/.output/server/node_modules/zod/v4/locales/uz.js +110 -0
  477. package/.output/server/node_modules/zod/v4/locales/vi.js +108 -0
  478. package/.output/server/node_modules/zod/v4/locales/yo.js +107 -0
  479. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +109 -0
  480. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +107 -0
  481. package/.output/server/package.json +37 -0
  482. package/LICENSE +3 -0
  483. package/README.md +125 -0
  484. package/dist/src/bbox.js +55 -0
  485. package/dist/src/cli.js +255 -0
  486. package/dist/src/config.js +56 -0
  487. package/dist/src/core/fetch-process.js +19 -0
  488. package/dist/src/core/grid-renderer.js +149 -0
  489. package/dist/src/core/lease.js +103 -0
  490. package/dist/src/core/paths.js +13 -0
  491. package/dist/src/core/png.js +192 -0
  492. package/dist/src/core/raster-style.js +33 -0
  493. package/dist/src/core/uomtiles.js +307 -0
  494. package/dist/src/fetcher.js +208 -0
  495. package/dist/src/geographic-grid.js +162 -0
  496. package/dist/src/grid-crawl.js +478 -0
  497. package/dist/src/mask-image.js +16 -0
  498. package/dist/src/official-grid.js +51 -0
  499. package/dist/src/quality.js +30 -0
  500. package/dist/src/token.js +206 -0
  501. package/package.json +68 -0
  502. package/public/apple-touch-icon.png +0 -0
  503. package/public/favicon.ico +0 -0
  504. package/public/favicon.svg +8 -0
  505. package/public/icon-192.png +0 -0
  506. package/public/icon-512.png +0 -0
  507. package/public/site.webmanifest +11 -0
@@ -0,0 +1,2066 @@
1
+ import { v as useForwardExpose, P as Primitive, D as useForwardProps$1, aa as useEmitAsProps, A as createContext, ab as __exportAll, ac as __reExport } from '../virtual/entry.mjs';
2
+ import { a as useDirection } from './DashboardSidebarToggle-pncTaIJq.mjs';
3
+ import * as vue from 'vue';
4
+ import { defineComponent, ref, renderSlot, watchPostEffect, openBlock, createBlock, unref, withCtx, computed, createElementBlock, normalizeStyle, createVNode, mergeProps, watchEffect, withMemo, mergeDefaults } from 'vue';
5
+
6
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js
7
+ function useForwardPropsEmits(props, emit) {
8
+ const parsedProps = useForwardProps$1(props);
9
+ const emitsAsProps = emit ? useEmitAsProps(emit) : {};
10
+ return computed(() => ({
11
+ ...parsedProps.value,
12
+ ...emitsAsProps
13
+ }));
14
+ }
15
+ //#endregion
16
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useSize.js
17
+ function useSize(element) {
18
+ const size = ref();
19
+ return {
20
+ width: computed(() => size.value?.width ?? 0),
21
+ height: computed(() => size.value?.height ?? 0)
22
+ };
23
+ }
24
+ //#endregion
25
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js
26
+ var [injectPopperRootContext, providePopperRootContext] = /*#__PURE__*/ createContext("PopperRoot");
27
+ var PopperRoot_default = /* @__PURE__ */ defineComponent({
28
+ inheritAttrs: false,
29
+ __name: "PopperRoot",
30
+ setup(__props) {
31
+ const anchor = ref();
32
+ providePopperRootContext({
33
+ anchor,
34
+ onAnchorChange: (element) => anchor.value = element
35
+ });
36
+ return (_ctx, _cache) => {
37
+ return renderSlot(_ctx.$slots, "default");
38
+ };
39
+ }
40
+ });
41
+ //#endregion
42
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperAnchor.js
43
+ var PopperAnchor_default = /* @__PURE__ */ defineComponent({
44
+ __name: "PopperAnchor",
45
+ props: {
46
+ reference: {
47
+ type: null,
48
+ required: false
49
+ },
50
+ asChild: {
51
+ type: Boolean,
52
+ required: false
53
+ },
54
+ as: {
55
+ type: null,
56
+ required: false
57
+ }
58
+ },
59
+ setup(__props) {
60
+ const props = __props;
61
+ const { forwardRef, currentElement } = useForwardExpose();
62
+ const rootContext = injectPopperRootContext();
63
+ watchPostEffect(() => {
64
+ rootContext.onAnchorChange(props.reference ?? currentElement.value);
65
+ });
66
+ return (_ctx, _cache) => {
67
+ return openBlock(), createBlock(unref(Primitive), {
68
+ ref: unref(forwardRef),
69
+ as: _ctx.as,
70
+ "as-child": _ctx.asChild
71
+ }, {
72
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
73
+ _: 3
74
+ }, 8, ["as", "as-child"]);
75
+ };
76
+ }
77
+ });
78
+ //#endregion
79
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/component/Arrow.js
80
+ var _hoisted_1$1 = {
81
+ key: 0,
82
+ d: "M0 0L6 6L12 0"
83
+ };
84
+ var _hoisted_2 = {
85
+ key: 1,
86
+ d: "M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"
87
+ };
88
+ var Arrow_default = /* @__PURE__ */ defineComponent({
89
+ __name: "Arrow",
90
+ props: {
91
+ width: {
92
+ type: Number,
93
+ required: false,
94
+ default: 10
95
+ },
96
+ height: {
97
+ type: Number,
98
+ required: false,
99
+ default: 5
100
+ },
101
+ rounded: {
102
+ type: Boolean,
103
+ required: false
104
+ },
105
+ asChild: {
106
+ type: Boolean,
107
+ required: false
108
+ },
109
+ as: {
110
+ type: null,
111
+ required: false,
112
+ default: "svg"
113
+ }
114
+ },
115
+ setup(__props) {
116
+ const props = __props;
117
+ useForwardExpose();
118
+ return (_ctx, _cache) => {
119
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
120
+ width: _ctx.width,
121
+ height: _ctx.height,
122
+ viewBox: _ctx.asChild ? void 0 : "0 0 12 6",
123
+ preserveAspectRatio: _ctx.asChild ? void 0 : "none"
124
+ }), {
125
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [!_ctx.rounded ? (openBlock(), createElementBlock("path", _hoisted_1$1)) : (openBlock(), createElementBlock("path", _hoisted_2))])]),
126
+ _: 3
127
+ }, 16, [
128
+ "width",
129
+ "height",
130
+ "viewBox",
131
+ "preserveAspectRatio"
132
+ ]);
133
+ };
134
+ }
135
+ });
136
+ //#endregion
137
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/utils.js
138
+ function isNotNull(value) {
139
+ return value !== null;
140
+ }
141
+ function transformOrigin(options) {
142
+ return {
143
+ name: "transformOrigin",
144
+ options,
145
+ fn(data) {
146
+ const { placement, rects, middlewareData } = data;
147
+ const isArrowHidden = middlewareData.arrow?.centerOffset !== 0;
148
+ const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
149
+ const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
150
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
151
+ const noArrowAlignX = {
152
+ start: options.dir === "rtl" ? "100%" : "0%",
153
+ center: "50%",
154
+ end: options.dir === "rtl" ? "0%" : "100%"
155
+ }[placedAlign];
156
+ const noArrowAlignY = {
157
+ start: "0%",
158
+ center: "50%",
159
+ end: "100%"
160
+ }[placedAlign];
161
+ const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
162
+ const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
163
+ let x = "";
164
+ let y = "";
165
+ if (placedSide === "bottom") {
166
+ x = isArrowHidden ? noArrowAlignX : `${arrowXCenter}px`;
167
+ y = `${-arrowHeight}px`;
168
+ } else if (placedSide === "top") {
169
+ x = isArrowHidden ? noArrowAlignX : `${arrowXCenter}px`;
170
+ y = `${rects.floating.height + arrowHeight}px`;
171
+ } else if (placedSide === "right") {
172
+ x = `${-arrowHeight}px`;
173
+ y = isArrowHidden ? noArrowAlignY : `${arrowYCenter}px`;
174
+ } else if (placedSide === "left") {
175
+ x = `${rects.floating.width + arrowHeight}px`;
176
+ y = isArrowHidden ? noArrowAlignY : `${arrowYCenter}px`;
177
+ }
178
+ return { data: {
179
+ x,
180
+ y
181
+ } };
182
+ }
183
+ };
184
+ }
185
+ function getSideAndAlignFromPlacement(placement) {
186
+ const [side, align = "center"] = placement.split("-");
187
+ return [side, align];
188
+ }
189
+ //#endregion
190
+ //#region node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
191
+ /**
192
+ * Custom positioning reference element.
193
+ * @see https://floating-ui.com/docs/virtual-elements
194
+ */
195
+ var sides = [
196
+ "top",
197
+ "right",
198
+ "bottom",
199
+ "left"
200
+ ];
201
+ var min = Math.min;
202
+ var max = Math.max;
203
+ var round = Math.round;
204
+ var floor = Math.floor;
205
+ var createCoords = (v) => ({
206
+ x: v,
207
+ y: v
208
+ });
209
+ var oppositeSideMap = {
210
+ left: "right",
211
+ right: "left",
212
+ bottom: "top",
213
+ top: "bottom"
214
+ };
215
+ function clamp(start, value, end) {
216
+ return max(start, min(value, end));
217
+ }
218
+ function evaluate(value, param) {
219
+ return typeof value === "function" ? value(param) : value;
220
+ }
221
+ function getSide(placement) {
222
+ return placement.split("-")[0];
223
+ }
224
+ function getAlignment(placement) {
225
+ return placement.split("-")[1];
226
+ }
227
+ function getOppositeAxis(axis) {
228
+ return axis === "x" ? "y" : "x";
229
+ }
230
+ function getAxisLength(axis) {
231
+ return axis === "y" ? "height" : "width";
232
+ }
233
+ function getSideAxis(placement) {
234
+ const firstChar = placement[0];
235
+ return firstChar === "t" || firstChar === "b" ? "y" : "x";
236
+ }
237
+ function getAlignmentAxis(placement) {
238
+ return getOppositeAxis(getSideAxis(placement));
239
+ }
240
+ function getAlignmentSides(placement, rects, rtl) {
241
+ if (rtl === void 0) rtl = false;
242
+ const alignment = getAlignment(placement);
243
+ const alignmentAxis = getAlignmentAxis(placement);
244
+ const length = getAxisLength(alignmentAxis);
245
+ let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
246
+ if (rects.reference[length] > rects.floating[length]) mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
247
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
248
+ }
249
+ function getExpandedPlacements(placement) {
250
+ const oppositePlacement = getOppositePlacement(placement);
251
+ return [
252
+ getOppositeAlignmentPlacement(placement),
253
+ oppositePlacement,
254
+ getOppositeAlignmentPlacement(oppositePlacement)
255
+ ];
256
+ }
257
+ function getOppositeAlignmentPlacement(placement) {
258
+ return placement.includes("start") ? placement.replace("start", "end") : placement.replace("end", "start");
259
+ }
260
+ var lrPlacement = ["left", "right"];
261
+ var rlPlacement = ["right", "left"];
262
+ var tbPlacement = ["top", "bottom"];
263
+ var btPlacement = ["bottom", "top"];
264
+ function getSideList(side, isStart, rtl) {
265
+ switch (side) {
266
+ case "top":
267
+ case "bottom":
268
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
269
+ return isStart ? lrPlacement : rlPlacement;
270
+ case "left":
271
+ case "right": return isStart ? tbPlacement : btPlacement;
272
+ default: return [];
273
+ }
274
+ }
275
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
276
+ const alignment = getAlignment(placement);
277
+ let list = getSideList(getSide(placement), direction === "start", rtl);
278
+ if (alignment) {
279
+ list = list.map((side) => side + "-" + alignment);
280
+ if (flipAlignment) list = list.concat(list.map(getOppositeAlignmentPlacement));
281
+ }
282
+ return list;
283
+ }
284
+ function getOppositePlacement(placement) {
285
+ const side = getSide(placement);
286
+ return oppositeSideMap[side] + placement.slice(side.length);
287
+ }
288
+ function expandPaddingObject(padding) {
289
+ var _padding$top, _padding$right, _padding$bottom, _padding$left;
290
+ return {
291
+ top: (_padding$top = padding.top) != null ? _padding$top : 0,
292
+ right: (_padding$right = padding.right) != null ? _padding$right : 0,
293
+ bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
294
+ left: (_padding$left = padding.left) != null ? _padding$left : 0
295
+ };
296
+ }
297
+ function getPaddingObject(padding) {
298
+ return typeof padding !== "number" ? expandPaddingObject(padding) : {
299
+ top: padding,
300
+ right: padding,
301
+ bottom: padding,
302
+ left: padding
303
+ };
304
+ }
305
+ function rectToClientRect(rect) {
306
+ const { x, y, width, height } = rect;
307
+ return {
308
+ width,
309
+ height,
310
+ top: y,
311
+ left: x,
312
+ right: x + width,
313
+ bottom: y + height,
314
+ x,
315
+ y
316
+ };
317
+ }
318
+ //#endregion
319
+ //#region node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
320
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
321
+ let { reference, floating } = _ref;
322
+ const sideAxis = getSideAxis(placement);
323
+ const alignmentAxis = getAlignmentAxis(placement);
324
+ const alignLength = getAxisLength(alignmentAxis);
325
+ const side = getSide(placement);
326
+ const isVertical = sideAxis === "y";
327
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
328
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
329
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
330
+ let coords;
331
+ switch (side) {
332
+ case "top":
333
+ coords = {
334
+ x: commonX,
335
+ y: reference.y - floating.height
336
+ };
337
+ break;
338
+ case "bottom":
339
+ coords = {
340
+ x: commonX,
341
+ y: reference.y + reference.height
342
+ };
343
+ break;
344
+ case "right":
345
+ coords = {
346
+ x: reference.x + reference.width,
347
+ y: commonY
348
+ };
349
+ break;
350
+ case "left":
351
+ coords = {
352
+ x: reference.x - floating.width,
353
+ y: commonY
354
+ };
355
+ break;
356
+ default: coords = {
357
+ x: reference.x,
358
+ y: reference.y
359
+ };
360
+ }
361
+ const alignment = getAlignment(placement);
362
+ if (alignment) coords[alignmentAxis] += commonAlign * (alignment === "end" ? 1 : -1) * (rtl && isVertical ? -1 : 1);
363
+ return coords;
364
+ }
365
+ /**
366
+ * Resolves with an object of overflow side offsets that determine how much the
367
+ * element is overflowing a given clipping boundary on each side.
368
+ * - positive = overflowing the boundary by that number of pixels
369
+ * - negative = how many pixels left before it will overflow
370
+ * - 0 = lies flush with the boundary
371
+ * @see https://floating-ui.com/docs/detectOverflow
372
+ */
373
+ async function detectOverflow(state, options) {
374
+ var _await$platform$isEle;
375
+ if (options === void 0) options = {};
376
+ const { x, y, platform, rects, elements, strategy } = state;
377
+ const { boundary = "clippingAncestors", rootBoundary = "viewport", elementContext = "floating", altBoundary = false, padding = 0 } = evaluate(options, state);
378
+ const paddingObject = getPaddingObject(padding);
379
+ const element = elements[altBoundary ? elementContext === "floating" ? "reference" : "floating" : elementContext];
380
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
381
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
382
+ boundary,
383
+ rootBoundary,
384
+ strategy
385
+ }));
386
+ const rect = elementContext === "floating" ? {
387
+ x,
388
+ y,
389
+ width: rects.floating.width,
390
+ height: rects.floating.height
391
+ } : rects.reference;
392
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
393
+ const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) && await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
394
+ x: 1,
395
+ y: 1
396
+ };
397
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
398
+ elements,
399
+ rect,
400
+ offsetParent,
401
+ strategy
402
+ }) : rect);
403
+ return {
404
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
405
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
406
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
407
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
408
+ };
409
+ }
410
+ var MAX_RESET_COUNT = 50;
411
+ /**
412
+ * Computes the `x` and `y` coordinates that will place the floating element
413
+ * next to a given reference element.
414
+ *
415
+ * This export does not have any `platform` interface logic. You will need to
416
+ * write one for the platform you are using Floating UI with.
417
+ */
418
+ var computePosition$1 = async (reference, floating, config) => {
419
+ const { placement = "bottom", strategy = "absolute", middleware = [], platform } = config;
420
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
421
+ ...platform,
422
+ detectOverflow
423
+ };
424
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
425
+ let rects = await platform.getElementRects({
426
+ reference,
427
+ floating,
428
+ strategy
429
+ });
430
+ let { x, y } = computeCoordsFromPlacement(rects, placement, rtl);
431
+ let statefulPlacement = placement;
432
+ let resetCount = 0;
433
+ const middlewareData = {};
434
+ for (let i = 0; i < middleware.length; i++) {
435
+ const currentMiddleware = middleware[i];
436
+ if (!currentMiddleware) continue;
437
+ const { name, fn } = currentMiddleware;
438
+ const { x: nextX, y: nextY, data, reset } = await fn({
439
+ x,
440
+ y,
441
+ initialPlacement: placement,
442
+ placement: statefulPlacement,
443
+ strategy,
444
+ middlewareData,
445
+ rects,
446
+ platform: platformWithDetectOverflow,
447
+ elements: {
448
+ reference,
449
+ floating
450
+ }
451
+ });
452
+ x = nextX != null ? nextX : x;
453
+ y = nextY != null ? nextY : y;
454
+ middlewareData[name] = {
455
+ ...middlewareData[name],
456
+ ...data
457
+ };
458
+ if (reset && resetCount < MAX_RESET_COUNT) {
459
+ resetCount++;
460
+ if (typeof reset === "object") {
461
+ if (reset.placement) statefulPlacement = reset.placement;
462
+ if (reset.rects) rects = reset.rects === true ? await platform.getElementRects({
463
+ reference,
464
+ floating,
465
+ strategy
466
+ }) : reset.rects;
467
+ ({x, y} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
468
+ }
469
+ i = -1;
470
+ }
471
+ }
472
+ return {
473
+ x,
474
+ y,
475
+ placement: statefulPlacement,
476
+ strategy,
477
+ middlewareData
478
+ };
479
+ };
480
+ /**
481
+ * Provides data to position an inner element of the floating element so that it
482
+ * appears centered to the reference element.
483
+ * @see https://floating-ui.com/docs/arrow
484
+ */
485
+ var arrow$2 = (options) => ({
486
+ name: "arrow",
487
+ options,
488
+ async fn(state) {
489
+ const { x, y, placement, rects, platform, elements, middlewareData } = state;
490
+ const { element, padding = 0 } = evaluate(options, state) || {};
491
+ if (element == null) return {};
492
+ const paddingObject = getPaddingObject(padding);
493
+ const coords = {
494
+ x,
495
+ y
496
+ };
497
+ const axis = getAlignmentAxis(placement);
498
+ const length = getAxisLength(axis);
499
+ const arrowDimensions = await platform.getDimensions(element);
500
+ const isYAxis = axis === "y";
501
+ const minProp = isYAxis ? "top" : "left";
502
+ const maxProp = isYAxis ? "bottom" : "right";
503
+ const clientProp = isYAxis ? "clientHeight" : "clientWidth";
504
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
505
+ const startDiff = coords[axis] - rects.reference[axis];
506
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
507
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
508
+ if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) clientSize = elements.floating[clientProp] || rects.floating[length];
509
+ const centerToReference = endDiff / 2 - startDiff / 2;
510
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
511
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
512
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
513
+ const max = clientSize - arrowDimensions[length] - maxPadding;
514
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
515
+ const offset = clamp(minPadding, center, max);
516
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
517
+ const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
518
+ return {
519
+ [axis]: coords[axis] + alignmentOffset,
520
+ data: {
521
+ [axis]: offset,
522
+ centerOffset: center - offset - alignmentOffset,
523
+ ...shouldAddOffset && { alignmentOffset }
524
+ },
525
+ reset: shouldAddOffset
526
+ };
527
+ }
528
+ });
529
+ /**
530
+ * Optimizes the visibility of the floating element by flipping the `placement`
531
+ * in order to keep it in view when the preferred placement(s) will overflow the
532
+ * clipping boundary. Alternative to `autoPlacement`.
533
+ * @see https://floating-ui.com/docs/flip
534
+ */
535
+ var flip$1 = function(options) {
536
+ if (options === void 0) options = {};
537
+ return {
538
+ name: "flip",
539
+ options,
540
+ async fn(state) {
541
+ var _middlewareData$arrow, _middlewareData$flip;
542
+ const { placement, middlewareData, rects, initialPlacement, platform, elements } = state;
543
+ const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true, fallbackPlacements: specifiedFallbackPlacements, fallbackStrategy = "bestFit", fallbackAxisSideDirection = "none", flipAlignment = true, ...detectOverflowOptions } = evaluate(options, state);
544
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
545
+ const side = getSide(placement);
546
+ const initialSideAxis = getSideAxis(initialPlacement);
547
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
548
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
549
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
550
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
551
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
552
+ const placements = [initialPlacement, ...fallbackPlacements];
553
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
554
+ const overflows = [];
555
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
556
+ if (checkMainAxis) overflows.push(overflow[side]);
557
+ if (checkCrossAxis) {
558
+ const sides = getAlignmentSides(placement, rects, rtl);
559
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
560
+ }
561
+ overflowsData = [...overflowsData, {
562
+ placement,
563
+ overflows
564
+ }];
565
+ if (!overflows.every((side) => side <= 0)) {
566
+ var _middlewareData$flip2, _overflowsData$filter;
567
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
568
+ const nextPlacement = placements[nextIndex];
569
+ if (nextPlacement) {
570
+ if (!(checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false) || overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) return {
571
+ data: {
572
+ index: nextIndex,
573
+ overflows: overflowsData
574
+ },
575
+ reset: { placement: nextPlacement }
576
+ };
577
+ }
578
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
579
+ if (!resetPlacement) switch (fallbackStrategy) {
580
+ case "bestFit": {
581
+ var _overflowsData$filter2;
582
+ const placement = (_overflowsData$filter2 = overflowsData.filter((d) => {
583
+ if (hasFallbackAxisSideDirection) {
584
+ const currentSideAxis = getSideAxis(d.placement);
585
+ return currentSideAxis === initialSideAxis || currentSideAxis === "y";
586
+ }
587
+ return true;
588
+ }).map((d) => [d.placement, d.overflows.filter((overflow) => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
589
+ if (placement) resetPlacement = placement;
590
+ break;
591
+ }
592
+ case "initialPlacement": resetPlacement = initialPlacement;
593
+ }
594
+ if (placement !== resetPlacement) return { reset: { placement: resetPlacement } };
595
+ }
596
+ return {};
597
+ }
598
+ };
599
+ };
600
+ function getSideOffsets(overflow, rect) {
601
+ return {
602
+ top: overflow.top - rect.height,
603
+ right: overflow.right - rect.width,
604
+ bottom: overflow.bottom - rect.height,
605
+ left: overflow.left - rect.width
606
+ };
607
+ }
608
+ function isAnySideFullyClipped(overflow) {
609
+ return sides.some((side) => overflow[side] >= 0);
610
+ }
611
+ /**
612
+ * Provides data to hide the floating element in applicable situations, such as
613
+ * when it is not in the same clipping context as the reference element.
614
+ * @see https://floating-ui.com/docs/hide
615
+ */
616
+ var hide$1 = function(options) {
617
+ if (options === void 0) options = {};
618
+ return {
619
+ name: "hide",
620
+ options,
621
+ async fn(state) {
622
+ const { rects, platform } = state;
623
+ const { strategy = "referenceHidden", ...detectOverflowOptions } = evaluate(options, state);
624
+ switch (strategy) {
625
+ case "referenceHidden": {
626
+ const offsets = getSideOffsets(await platform.detectOverflow(state, {
627
+ ...detectOverflowOptions,
628
+ elementContext: "reference"
629
+ }), rects.reference);
630
+ return { data: {
631
+ referenceHiddenOffsets: offsets,
632
+ referenceHidden: isAnySideFullyClipped(offsets)
633
+ } };
634
+ }
635
+ case "escaped": {
636
+ const offsets = getSideOffsets(await platform.detectOverflow(state, {
637
+ ...detectOverflowOptions,
638
+ altBoundary: true
639
+ }), rects.floating);
640
+ return { data: {
641
+ escapedOffsets: offsets,
642
+ escaped: isAnySideFullyClipped(offsets)
643
+ } };
644
+ }
645
+ default: return {};
646
+ }
647
+ }
648
+ };
649
+ };
650
+ var originSides = /*#__PURE__*/ new Set(["left", "top"]);
651
+ async function convertValueToCoords(state, options) {
652
+ const { placement, platform, elements } = state;
653
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
654
+ const side = getSide(placement);
655
+ const alignment = getAlignment(placement);
656
+ const isVertical = getSideAxis(placement) === "y";
657
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
658
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
659
+ const rawValue = evaluate(options, state);
660
+ let { mainAxis, crossAxis, alignmentAxis } = typeof rawValue === "number" ? {
661
+ mainAxis: rawValue,
662
+ crossAxis: 0,
663
+ alignmentAxis: null
664
+ } : {
665
+ mainAxis: rawValue.mainAxis || 0,
666
+ crossAxis: rawValue.crossAxis || 0,
667
+ alignmentAxis: rawValue.alignmentAxis
668
+ };
669
+ if (alignment && typeof alignmentAxis === "number") crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
670
+ return isVertical ? {
671
+ x: crossAxis * crossAxisMulti,
672
+ y: mainAxis * mainAxisMulti
673
+ } : {
674
+ x: mainAxis * mainAxisMulti,
675
+ y: crossAxis * crossAxisMulti
676
+ };
677
+ }
678
+ /**
679
+ * Modifies the placement by translating the floating element along the
680
+ * specified axes.
681
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
682
+ * object may be passed.
683
+ * @see https://floating-ui.com/docs/offset
684
+ */
685
+ var offset$1 = function(options) {
686
+ if (options === void 0) options = 0;
687
+ return {
688
+ name: "offset",
689
+ options,
690
+ async fn(state) {
691
+ var _middlewareData$offse, _middlewareData$arrow;
692
+ const { x, y, placement, middlewareData } = state;
693
+ const diffCoords = await convertValueToCoords(state, options);
694
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
695
+ return {
696
+ x: x + diffCoords.x,
697
+ y: y + diffCoords.y,
698
+ data: {
699
+ ...diffCoords,
700
+ placement
701
+ }
702
+ };
703
+ }
704
+ };
705
+ };
706
+ /**
707
+ * Optimizes the visibility of the floating element by shifting it in order to
708
+ * keep it in view when it will overflow the clipping boundary.
709
+ * @see https://floating-ui.com/docs/shift
710
+ */
711
+ var shift$1 = function(options) {
712
+ if (options === void 0) options = {};
713
+ return {
714
+ name: "shift",
715
+ options,
716
+ async fn(state) {
717
+ const { x, y, placement, platform } = state;
718
+ const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false, limiter = { fn: (_ref) => {
719
+ let { x, y } = _ref;
720
+ return {
721
+ x,
722
+ y
723
+ };
724
+ } }, ...detectOverflowOptions } = evaluate(options, state);
725
+ const coords = {
726
+ x,
727
+ y
728
+ };
729
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
730
+ const crossAxis = getSideAxis(placement);
731
+ const mainAxis = getOppositeAxis(crossAxis);
732
+ let mainAxisCoord = coords[mainAxis];
733
+ let crossAxisCoord = coords[crossAxis];
734
+ const clampCoord = (axis, coord) => clamp(coord + overflow[axis === "y" ? "top" : "left"], coord, coord - overflow[axis === "y" ? "bottom" : "right"]);
735
+ if (checkMainAxis) mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
736
+ if (checkCrossAxis) crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
737
+ const limitedCoords = limiter.fn({
738
+ ...state,
739
+ [mainAxis]: mainAxisCoord,
740
+ [crossAxis]: crossAxisCoord
741
+ });
742
+ return {
743
+ ...limitedCoords,
744
+ data: {
745
+ x: limitedCoords.x - x,
746
+ y: limitedCoords.y - y,
747
+ enabled: {
748
+ [mainAxis]: checkMainAxis,
749
+ [crossAxis]: checkCrossAxis
750
+ }
751
+ }
752
+ };
753
+ }
754
+ };
755
+ };
756
+ /**
757
+ * Built-in `limiter` that will stop `shift()` at a certain point.
758
+ */
759
+ var limitShift$1 = function(options) {
760
+ if (options === void 0) options = {};
761
+ return {
762
+ options,
763
+ fn(state) {
764
+ var _rawOffset$mainAxis, _rawOffset$crossAxis;
765
+ const { x, y, placement, rects, middlewareData } = state;
766
+ const { offset = 0, mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true } = evaluate(options, state);
767
+ const coords = {
768
+ x,
769
+ y
770
+ };
771
+ const crossAxis = getSideAxis(placement);
772
+ const mainAxis = getOppositeAxis(crossAxis);
773
+ let mainAxisCoord = coords[mainAxis];
774
+ let crossAxisCoord = coords[crossAxis];
775
+ const rawOffset = evaluate(offset, state);
776
+ const computedOffset = typeof rawOffset === "number" ? {
777
+ mainAxis: rawOffset,
778
+ crossAxis: 0
779
+ } : {
780
+ mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
781
+ crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
782
+ };
783
+ if (checkMainAxis) {
784
+ const len = mainAxis === "y" ? "height" : "width";
785
+ const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
786
+ const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
787
+ if (mainAxisCoord < limitMin) mainAxisCoord = limitMin;
788
+ else if (mainAxisCoord > limitMax) mainAxisCoord = limitMax;
789
+ }
790
+ if (checkCrossAxis) {
791
+ var _middlewareData$offse, _middlewareData$offse2;
792
+ const len = mainAxis === "y" ? "width" : "height";
793
+ const isOriginSide = originSides.has(getSide(placement));
794
+ const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
795
+ const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
796
+ if (crossAxisCoord < limitMin) crossAxisCoord = limitMin;
797
+ else if (crossAxisCoord > limitMax) crossAxisCoord = limitMax;
798
+ }
799
+ return {
800
+ [mainAxis]: mainAxisCoord,
801
+ [crossAxis]: crossAxisCoord
802
+ };
803
+ }
804
+ };
805
+ };
806
+ /**
807
+ * Provides data that allows you to change the size of the floating element —
808
+ * for instance, prevent it from overflowing the clipping boundary or match the
809
+ * width of the reference element.
810
+ * @see https://floating-ui.com/docs/size
811
+ */
812
+ var size$1 = function(options) {
813
+ if (options === void 0) options = {};
814
+ return {
815
+ name: "size",
816
+ options,
817
+ async fn(state) {
818
+ const { placement, rects, platform, elements } = state;
819
+ const { apply = () => {}, ...detectOverflowOptions } = evaluate(options, state);
820
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
821
+ const side = getSide(placement);
822
+ const alignment = getAlignment(placement);
823
+ const isYAxis = getSideAxis(placement) === "y";
824
+ const { width, height } = rects.floating;
825
+ let heightSide;
826
+ let widthSide;
827
+ if (side === "top" || side === "bottom") {
828
+ heightSide = side;
829
+ widthSide = alignment === (await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
830
+ } else {
831
+ widthSide = side;
832
+ heightSide = alignment === "end" ? "top" : "bottom";
833
+ }
834
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
835
+ const maximumClippingWidth = width - overflow.left - overflow.right;
836
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
837
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
838
+ const shiftData = state.middlewareData.shift;
839
+ const noShift = !shiftData;
840
+ let availableHeight = overflowAvailableHeight;
841
+ let availableWidth = overflowAvailableWidth;
842
+ if (shiftData != null && shiftData.enabled.x) availableWidth = maximumClippingWidth;
843
+ if (shiftData != null && shiftData.enabled.y) availableHeight = maximumClippingHeight;
844
+ if (noShift && !alignment) {
845
+ if (isYAxis) availableWidth = width - 2 * max(overflow.left, overflow.right);
846
+ else availableHeight = height - 2 * max(overflow.top, overflow.bottom);
847
+ }
848
+ await apply({
849
+ ...state,
850
+ availableWidth,
851
+ availableHeight
852
+ });
853
+ const nextDimensions = await platform.getDimensions(elements.floating);
854
+ if (width !== nextDimensions.width || height !== nextDimensions.height) return { reset: { rects: true } };
855
+ return {};
856
+ }
857
+ };
858
+ };
859
+ function getNodeName(node) {
860
+ if (isNode()) return (node.nodeName || "").toLowerCase();
861
+ return "#document";
862
+ }
863
+ function getWindow(node) {
864
+ var _node$ownerDocument;
865
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || void 0;
866
+ }
867
+ function getDocumentElement(node) {
868
+ var _ref;
869
+ return (_ref = (isNode() ? node.ownerDocument : node.document) || (void 0).document) == null ? void 0 : _ref.documentElement;
870
+ }
871
+ function isNode(value) {
872
+ return false;
873
+ }
874
+ function isElement(value) {
875
+ return false;
876
+ }
877
+ function isHTMLElement(value) {
878
+ return false;
879
+ }
880
+ function isShadowRoot(value) {
881
+ return false;
882
+ }
883
+ function isOverflowElement(element) {
884
+ const { overflow, overflowX, overflowY, display } = getComputedStyle$1(element);
885
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
886
+ }
887
+ function isTableElement(element) {
888
+ return /^(table|td|th)$/.test(getNodeName(element));
889
+ }
890
+ function isTopLayer(element) {
891
+ try {
892
+ if (element.matches(":popover-open")) return true;
893
+ } catch (_e) {}
894
+ try {
895
+ return element.matches(":modal");
896
+ } catch (_e) {
897
+ return false;
898
+ }
899
+ }
900
+ var willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
901
+ var containRe = /paint|layout|strict|content/;
902
+ var isNotNone = (value) => !!value && value !== "none";
903
+ var isWebKitValue;
904
+ function isContainingBlock(elementOrCss) {
905
+ const css = isElement() ? getComputedStyle$1(elementOrCss) : elementOrCss;
906
+ return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || "") || containRe.test(css.contain || "");
907
+ }
908
+ function getContainingBlock(element) {
909
+ let currentNode = getParentNode(element);
910
+ while (isHTMLElement() && !isLastTraversableNode(currentNode)) {
911
+ if (isContainingBlock(currentNode)) return currentNode;
912
+ else if (isTopLayer(currentNode)) return null;
913
+ currentNode = getParentNode(currentNode);
914
+ }
915
+ return null;
916
+ }
917
+ function isWebKit() {
918
+ if (isWebKitValue == null) isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
919
+ return isWebKitValue;
920
+ }
921
+ function isLastTraversableNode(node) {
922
+ return /^(html|body|#document)$/.test(getNodeName(node));
923
+ }
924
+ function getComputedStyle$1(element) {
925
+ return getWindow(element).getComputedStyle(element);
926
+ }
927
+ function getNodeScroll(element) {
928
+ if (isElement()) return {
929
+ scrollLeft: element.scrollLeft,
930
+ scrollTop: element.scrollTop
931
+ };
932
+ return {
933
+ scrollLeft: element.scrollX,
934
+ scrollTop: element.scrollY
935
+ };
936
+ }
937
+ function getParentNode(node) {
938
+ if (getNodeName(node) === "html") return node;
939
+ const result = node.assignedSlot || node.parentNode || isShadowRoot() && node.host || getDocumentElement(node);
940
+ return isShadowRoot() ? result.host : result;
941
+ }
942
+ function getNearestOverflowAncestor(node) {
943
+ const parentNode = getParentNode(node);
944
+ if (isLastTraversableNode(parentNode)) return (node.ownerDocument || node).body;
945
+ if (isHTMLElement() && isOverflowElement(parentNode)) return parentNode;
946
+ return getNearestOverflowAncestor(parentNode);
947
+ }
948
+ function getOverflowAncestors(node, list, traverseIframes) {
949
+ var _node$ownerDocument2;
950
+ if (list === void 0) list = [];
951
+ if (traverseIframes === void 0) traverseIframes = true;
952
+ const scrollableAncestor = getNearestOverflowAncestor(node);
953
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
954
+ const win = getWindow(scrollableAncestor);
955
+ if (isBody) {
956
+ const frameElement = getFrameElement(win);
957
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
958
+ } else return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
959
+ }
960
+ function getFrameElement(win) {
961
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
962
+ }
963
+ //#endregion
964
+ //#region node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
965
+ function getCssDimensions(element) {
966
+ const css = getComputedStyle$1(element);
967
+ let width = parseFloat(css.width) || 0;
968
+ let height = parseFloat(css.height) || 0;
969
+ const hasOffset = isHTMLElement();
970
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
971
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
972
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
973
+ if (shouldFallback) {
974
+ width = offsetWidth;
975
+ height = offsetHeight;
976
+ }
977
+ return {
978
+ width,
979
+ height,
980
+ $: shouldFallback
981
+ };
982
+ }
983
+ function unwrapElement$1(element) {
984
+ return !isElement() ? element.contextElement : element;
985
+ }
986
+ function getScale(element) {
987
+ const domElement = unwrapElement$1(element);
988
+ if (!isHTMLElement()) return createCoords(1);
989
+ const rect = domElement.getBoundingClientRect();
990
+ const { width, height, $ } = getCssDimensions(domElement);
991
+ let x = ($ ? round(rect.width) : rect.width) / width;
992
+ let y = ($ ? round(rect.height) : rect.height) / height;
993
+ if (!x || !Number.isFinite(x)) x = 1;
994
+ if (!y || !Number.isFinite(y)) y = 1;
995
+ return {
996
+ x,
997
+ y
998
+ };
999
+ }
1000
+ var noOffsets = /*#__PURE__*/ createCoords(0);
1001
+ function getVisualOffsets(element) {
1002
+ const win = getWindow(element);
1003
+ if (!isWebKit() || !win.visualViewport) return noOffsets;
1004
+ return {
1005
+ x: win.visualViewport.offsetLeft,
1006
+ y: win.visualViewport.offsetTop
1007
+ };
1008
+ }
1009
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1010
+ if (isFixed === void 0) isFixed = false;
1011
+ return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
1012
+ }
1013
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1014
+ if (includeScale === void 0) includeScale = false;
1015
+ if (isFixedStrategy === void 0) isFixedStrategy = false;
1016
+ const clientRect = element.getBoundingClientRect();
1017
+ const domElement = unwrapElement$1(element);
1018
+ let scale = createCoords(1);
1019
+ if (includeScale) {
1020
+ if (offsetParent) {
1021
+ if (isElement()) scale = getScale(offsetParent);
1022
+ } else scale = getScale(element);
1023
+ }
1024
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1025
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
1026
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1027
+ let width = clientRect.width / scale.x;
1028
+ let height = clientRect.height / scale.y;
1029
+ if (domElement && offsetParent) {
1030
+ const win = getWindow(domElement);
1031
+ const offsetWin = isElement() ? getWindow(offsetParent) : offsetParent;
1032
+ let currentWin = win;
1033
+ let currentIFrame = getFrameElement(currentWin);
1034
+ while (currentIFrame && offsetWin !== currentWin) {
1035
+ const iframeScale = getScale(currentIFrame);
1036
+ const iframeRect = currentIFrame.getBoundingClientRect();
1037
+ const css = getComputedStyle$1(currentIFrame);
1038
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1039
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1040
+ x *= iframeScale.x;
1041
+ y *= iframeScale.y;
1042
+ width *= iframeScale.x;
1043
+ height *= iframeScale.y;
1044
+ x += left;
1045
+ y += top;
1046
+ currentWin = getWindow(currentIFrame);
1047
+ currentIFrame = getFrameElement(currentWin);
1048
+ }
1049
+ }
1050
+ return rectToClientRect({
1051
+ width,
1052
+ height,
1053
+ x,
1054
+ y
1055
+ });
1056
+ }
1057
+ function getWindowScrollBarX(element, rect) {
1058
+ const leftScroll = getNodeScroll(element).scrollLeft;
1059
+ if (!rect) return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1060
+ return rect.left + leftScroll;
1061
+ }
1062
+ function getHTMLOffset(documentElement, scroll) {
1063
+ const htmlRect = documentElement.getBoundingClientRect();
1064
+ return {
1065
+ x: htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect),
1066
+ y: htmlRect.top + scroll.scrollTop
1067
+ };
1068
+ }
1069
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1070
+ let { elements, rect, offsetParent, strategy } = _ref;
1071
+ const isFixed = strategy === "fixed";
1072
+ const documentElement = getDocumentElement(offsetParent);
1073
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1074
+ if (offsetParent === documentElement || topLayer && isFixed) return rect;
1075
+ let scroll = {
1076
+ scrollLeft: 0,
1077
+ scrollTop: 0
1078
+ };
1079
+ let scale = createCoords(1);
1080
+ const offsets = createCoords(0);
1081
+ const isOffsetParentAnElement = isHTMLElement();
1082
+ if (isOffsetParentAnElement || !isFixed) {
1083
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
1084
+ if (isOffsetParentAnElement) {
1085
+ const offsetRect = getBoundingClientRect(offsetParent);
1086
+ scale = getScale(offsetParent);
1087
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1088
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1089
+ }
1090
+ }
1091
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1092
+ return {
1093
+ width: rect.width * scale.x,
1094
+ height: rect.height * scale.y,
1095
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1096
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1097
+ };
1098
+ }
1099
+ function getClientRects(element) {
1100
+ return element.getClientRects ? Array.from(element.getClientRects()) : [];
1101
+ }
1102
+ function getDocumentRect(html) {
1103
+ const scroll = getNodeScroll(html);
1104
+ const body = html.ownerDocument.body;
1105
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1106
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1107
+ let x = -scroll.scrollLeft + getWindowScrollBarX(html);
1108
+ const y = -scroll.scrollTop;
1109
+ if (getComputedStyle$1(body).direction === "rtl") x += max(html.clientWidth, body.clientWidth) - width;
1110
+ return {
1111
+ width,
1112
+ height,
1113
+ x,
1114
+ y
1115
+ };
1116
+ }
1117
+ var SCROLLBAR_MAX = 25;
1118
+ function getViewportRect(element, strategy, rootBoundary) {
1119
+ if (rootBoundary === void 0) rootBoundary = "viewport";
1120
+ const isLayoutViewport = rootBoundary === "layoutViewport";
1121
+ const win = getWindow(element);
1122
+ const html = getDocumentElement(element);
1123
+ const visualViewport = win.visualViewport;
1124
+ let width = html.clientWidth;
1125
+ let height = html.clientHeight;
1126
+ let x = 0;
1127
+ let y = 0;
1128
+ if (visualViewport) {
1129
+ const layoutRelativeClientCoords = !isWebKit() || strategy === "fixed";
1130
+ if (isLayoutViewport) {
1131
+ if (!layoutRelativeClientCoords) {
1132
+ x = -visualViewport.offsetLeft;
1133
+ y = -visualViewport.offsetTop;
1134
+ }
1135
+ } else {
1136
+ width = visualViewport.width;
1137
+ height = visualViewport.height;
1138
+ if (layoutRelativeClientCoords) {
1139
+ x = visualViewport.offsetLeft;
1140
+ y = visualViewport.offsetTop;
1141
+ }
1142
+ }
1143
+ }
1144
+ if (getWindowScrollBarX(html) <= 0) {
1145
+ const doc = html.ownerDocument;
1146
+ const body = doc.body;
1147
+ const bodyStyles = getComputedStyle(body);
1148
+ const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1149
+ const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1150
+ const gutter = getComputedStyle(html).scrollbarGutter === "stable both-edges" ? reservedWidth / 2 : reservedWidth;
1151
+ if (gutter <= SCROLLBAR_MAX) width -= gutter;
1152
+ }
1153
+ return {
1154
+ width,
1155
+ height,
1156
+ x,
1157
+ y
1158
+ };
1159
+ }
1160
+ function getInnerBoundingClientRect(element, strategy) {
1161
+ const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1162
+ const top = clientRect.top + element.clientTop;
1163
+ const left = clientRect.left + element.clientLeft;
1164
+ const scale = getScale(element);
1165
+ return {
1166
+ width: element.clientWidth * scale.x,
1167
+ height: element.clientHeight * scale.y,
1168
+ x: left * scale.x,
1169
+ y: top * scale.y
1170
+ };
1171
+ }
1172
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1173
+ let rect;
1174
+ if (clippingAncestor === "viewport" || clippingAncestor === "layoutViewport") rect = getViewportRect(element, strategy, clippingAncestor);
1175
+ else if (clippingAncestor === "document") rect = getDocumentRect(getDocumentElement(element));
1176
+ else if (isElement()) rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1177
+ else {
1178
+ const visualOffsets = getVisualOffsets(element);
1179
+ rect = {
1180
+ x: clippingAncestor.x - visualOffsets.x,
1181
+ y: clippingAncestor.y - visualOffsets.y,
1182
+ width: clippingAncestor.width,
1183
+ height: clippingAncestor.height
1184
+ };
1185
+ }
1186
+ return rectToClientRect(rect);
1187
+ }
1188
+ function getClippingElementAncestors(element, cache) {
1189
+ const cachedResult = cache.get(element);
1190
+ if (cachedResult) return cachedResult;
1191
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement() && getNodeName(el) !== "body");
1192
+ let lastKeptComputedStyle = null;
1193
+ const elementIsFixed = getComputedStyle$1(element).position === "fixed";
1194
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1195
+ while (isElement() && !isLastTraversableNode(currentNode)) {
1196
+ const computedStyle = getComputedStyle$1(currentNode);
1197
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1198
+ const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? "fixed" : "";
1199
+ if (!currentNodeIsContaining && (lastPosition === "fixed" || lastPosition === "absolute" && computedStyle.position === "static")) result = result.filter((ancestor) => ancestor !== currentNode);
1200
+ else lastKeptComputedStyle = computedStyle;
1201
+ currentNode = getParentNode(currentNode);
1202
+ }
1203
+ cache.set(element, result);
1204
+ return result;
1205
+ }
1206
+ function getClippingRect(_ref) {
1207
+ let { element, boundary, rootBoundary, strategy } = _ref;
1208
+ const clippingAncestors = [...boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary), rootBoundary];
1209
+ const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
1210
+ let top = firstRect.top;
1211
+ let right = firstRect.right;
1212
+ let bottom = firstRect.bottom;
1213
+ let left = firstRect.left;
1214
+ for (let i = 1; i < clippingAncestors.length; i++) {
1215
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
1216
+ top = max(rect.top, top);
1217
+ right = min(rect.right, right);
1218
+ bottom = min(rect.bottom, bottom);
1219
+ left = max(rect.left, left);
1220
+ }
1221
+ return {
1222
+ width: right - left,
1223
+ height: bottom - top,
1224
+ x: left,
1225
+ y: top
1226
+ };
1227
+ }
1228
+ function getDimensions(element) {
1229
+ const { width, height } = getCssDimensions(element);
1230
+ return {
1231
+ width,
1232
+ height
1233
+ };
1234
+ }
1235
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1236
+ const isOffsetParentAnElement = isHTMLElement();
1237
+ const documentElement = getDocumentElement(offsetParent);
1238
+ const isFixed = strategy === "fixed";
1239
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1240
+ let scroll = {
1241
+ scrollLeft: 0,
1242
+ scrollTop: 0
1243
+ };
1244
+ const offsets = createCoords(0);
1245
+ if (isOffsetParentAnElement || !isFixed) {
1246
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
1247
+ if (isOffsetParentAnElement) {
1248
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1249
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1250
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1251
+ }
1252
+ }
1253
+ if (!isOffsetParentAnElement && documentElement) offsets.x = getWindowScrollBarX(documentElement);
1254
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1255
+ return {
1256
+ x: rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x,
1257
+ y: rect.top + scroll.scrollTop - offsets.y - htmlOffset.y,
1258
+ width: rect.width,
1259
+ height: rect.height
1260
+ };
1261
+ }
1262
+ function isStaticPositioned(element) {
1263
+ return getComputedStyle$1(element).position === "static";
1264
+ }
1265
+ function getTrueOffsetParent(element, polyfill) {
1266
+ if (!isHTMLElement() || getComputedStyle$1(element).position === "fixed") return null;
1267
+ if (polyfill) return polyfill(element);
1268
+ let rawOffsetParent = element.offsetParent;
1269
+ if (getDocumentElement(element) === rawOffsetParent) rawOffsetParent = rawOffsetParent.ownerDocument.body;
1270
+ return rawOffsetParent;
1271
+ }
1272
+ function getOffsetParent(element, polyfill) {
1273
+ const win = getWindow(element);
1274
+ if (isTopLayer(element)) return win;
1275
+ if (!isHTMLElement()) {
1276
+ let svgOffsetParent = getParentNode(element);
1277
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1278
+ if (isElement() && !isStaticPositioned(svgOffsetParent)) return svgOffsetParent;
1279
+ svgOffsetParent = getParentNode(svgOffsetParent);
1280
+ }
1281
+ return win;
1282
+ }
1283
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1284
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1285
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) return win;
1286
+ return offsetParent || getContainingBlock(element) || win;
1287
+ }
1288
+ var getElementRects = async function(data) {
1289
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1290
+ const getDimensionsFn = this.getDimensions;
1291
+ const floatingDimensions = await getDimensionsFn(data.floating);
1292
+ return {
1293
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1294
+ floating: {
1295
+ x: 0,
1296
+ y: 0,
1297
+ width: floatingDimensions.width,
1298
+ height: floatingDimensions.height
1299
+ }
1300
+ };
1301
+ };
1302
+ function isRTL(element) {
1303
+ return getComputedStyle$1(element).direction === "rtl";
1304
+ }
1305
+ var platform = {
1306
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1307
+ getDocumentElement,
1308
+ getClippingRect,
1309
+ getOffsetParent,
1310
+ getElementRects,
1311
+ getClientRects,
1312
+ getDimensions,
1313
+ getScale,
1314
+ isElement,
1315
+ isRTL
1316
+ };
1317
+ function rectsAreEqual(a, b) {
1318
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
1319
+ }
1320
+ function observeMove(element, onMove, ancestorResize) {
1321
+ let io = null;
1322
+ let timeoutId;
1323
+ const root = getDocumentElement(element);
1324
+ function cleanup() {
1325
+ var _io;
1326
+ clearTimeout(timeoutId);
1327
+ (_io = io) == null || _io.disconnect();
1328
+ io = null;
1329
+ }
1330
+ function refresh(skip, threshold) {
1331
+ if (skip === void 0) skip = false;
1332
+ if (threshold === void 0) threshold = 1;
1333
+ cleanup();
1334
+ const elementRectForRootMargin = element.getBoundingClientRect();
1335
+ const { left, top, width, height } = elementRectForRootMargin;
1336
+ if (!skip) onMove();
1337
+ if (!width || !height) return;
1338
+ const insetTop = floor(top);
1339
+ const insetRight = floor(root.clientWidth - (left + width));
1340
+ const insetBottom = floor(root.clientHeight - (top + height));
1341
+ const insetLeft = floor(left);
1342
+ const options = {
1343
+ rootMargin: -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px",
1344
+ threshold: max(0, min(1, threshold)) || 1
1345
+ };
1346
+ let isFirstUpdate = true;
1347
+ function handleObserve(entries) {
1348
+ const ratio = entries[0].intersectionRatio;
1349
+ if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) return refresh();
1350
+ if (ratio !== threshold) {
1351
+ if (!isFirstUpdate) return refresh();
1352
+ if (!ratio) timeoutId = setTimeout(() => {
1353
+ refresh(false, 1e-7);
1354
+ }, 1e3);
1355
+ else refresh(false, ratio);
1356
+ }
1357
+ isFirstUpdate = false;
1358
+ }
1359
+ try {
1360
+ io = new IntersectionObserver(handleObserve, {
1361
+ ...options,
1362
+ root: root.ownerDocument
1363
+ });
1364
+ } catch (_e) {
1365
+ io = new IntersectionObserver(handleObserve, options);
1366
+ }
1367
+ io.observe(element);
1368
+ }
1369
+ const win = getWindow(element);
1370
+ const handleResize = () => refresh(ancestorResize);
1371
+ win.addEventListener("resize", handleResize);
1372
+ refresh(true);
1373
+ return () => {
1374
+ win.removeEventListener("resize", handleResize);
1375
+ cleanup();
1376
+ };
1377
+ }
1378
+ /**
1379
+ * Automatically updates the position of the floating element when necessary.
1380
+ * Should only be called when the floating element is mounted on the DOM or
1381
+ * visible on the screen.
1382
+ * @returns cleanup function that should be invoked when the floating element is
1383
+ * removed from the DOM or hidden from the screen.
1384
+ * @see https://floating-ui.com/docs/autoUpdate
1385
+ */
1386
+ function autoUpdate(reference, floating, update, options) {
1387
+ if (options === void 0) options = {};
1388
+ const { ancestorScroll = true, ancestorResize = true, elementResize = typeof ResizeObserver === "function", layoutShift = typeof IntersectionObserver === "function", animationFrame = false } = options;
1389
+ const referenceEl = unwrapElement$1(reference);
1390
+ const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...floating ? getOverflowAncestors(floating) : []] : [];
1391
+ ancestors.forEach((ancestor) => {
1392
+ ancestorScroll && ancestor.addEventListener("scroll", update);
1393
+ ancestorResize && ancestor.addEventListener("resize", update);
1394
+ });
1395
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update, ancestorResize) : null;
1396
+ let reobserveFrame = -1;
1397
+ let resizeObserver = null;
1398
+ if (elementResize) {
1399
+ resizeObserver = new ResizeObserver((_ref) => {
1400
+ let [firstEntry] = _ref;
1401
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
1402
+ resizeObserver.unobserve(floating);
1403
+ cancelAnimationFrame(reobserveFrame);
1404
+ reobserveFrame = requestAnimationFrame(() => {
1405
+ var _resizeObserver;
1406
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1407
+ });
1408
+ }
1409
+ update();
1410
+ });
1411
+ if (referenceEl && !animationFrame) resizeObserver.observe(referenceEl);
1412
+ if (floating) resizeObserver.observe(floating);
1413
+ }
1414
+ let frameId;
1415
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1416
+ if (animationFrame) frameLoop();
1417
+ function frameLoop() {
1418
+ const nextRefRect = getBoundingClientRect(reference);
1419
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) update();
1420
+ prevRefRect = nextRefRect;
1421
+ frameId = requestAnimationFrame(frameLoop);
1422
+ }
1423
+ update();
1424
+ return () => {
1425
+ var _resizeObserver2;
1426
+ ancestors.forEach((ancestor) => {
1427
+ ancestorScroll && ancestor.removeEventListener("scroll", update);
1428
+ ancestorResize && ancestor.removeEventListener("resize", update);
1429
+ });
1430
+ cleanupIo?.();
1431
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1432
+ resizeObserver = null;
1433
+ if (animationFrame) cancelAnimationFrame(frameId);
1434
+ };
1435
+ }
1436
+ /**
1437
+ * Modifies the placement by translating the floating element along the
1438
+ * specified axes.
1439
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1440
+ * object may be passed.
1441
+ * @see https://floating-ui.com/docs/offset
1442
+ */
1443
+ var offset = offset$1;
1444
+ /**
1445
+ * Optimizes the visibility of the floating element by shifting it in order to
1446
+ * keep it in view when it will overflow the clipping boundary.
1447
+ * @see https://floating-ui.com/docs/shift
1448
+ */
1449
+ var shift = shift$1;
1450
+ /**
1451
+ * Optimizes the visibility of the floating element by flipping the `placement`
1452
+ * in order to keep it in view when the preferred placement(s) will overflow the
1453
+ * clipping boundary. Alternative to `autoPlacement`.
1454
+ * @see https://floating-ui.com/docs/flip
1455
+ */
1456
+ var flip = flip$1;
1457
+ /**
1458
+ * Provides data that allows you to change the size of the floating element —
1459
+ * for instance, prevent it from overflowing the clipping boundary or match the
1460
+ * width of the reference element.
1461
+ * @see https://floating-ui.com/docs/size
1462
+ */
1463
+ var size = size$1;
1464
+ /**
1465
+ * Provides data to hide the floating element in applicable situations, such as
1466
+ * when it is not in the same clipping context as the reference element.
1467
+ * @see https://floating-ui.com/docs/hide
1468
+ */
1469
+ var hide = hide$1;
1470
+ /**
1471
+ * Provides data to position an inner element of the floating element so that it
1472
+ * appears centered to the reference element.
1473
+ * @see https://floating-ui.com/docs/arrow
1474
+ */
1475
+ var arrow$1 = arrow$2;
1476
+ /**
1477
+ * Built-in `limiter` that will stop `shift()` at a certain point.
1478
+ */
1479
+ var limitShift = limitShift$1;
1480
+ /**
1481
+ * Computes the `x` and `y` coordinates that will place the floating element
1482
+ * next to a given reference element.
1483
+ */
1484
+ var computePosition = (reference, floating, options) => {
1485
+ const cache = /* @__PURE__ */ new Map();
1486
+ const mergedOptions = options != null ? options : {};
1487
+ const platformWithCache = {
1488
+ ...platform,
1489
+ ...mergedOptions.platform,
1490
+ _c: cache
1491
+ };
1492
+ return computePosition$1(reference, floating, {
1493
+ ...mergedOptions,
1494
+ platform: platformWithCache
1495
+ });
1496
+ };
1497
+ //#endregion
1498
+ //#region node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_e8b326918adce583caf1abc0a3047151/node_modules/nuxt/dist/app/compat/capi.js
1499
+ var install = () => {};
1500
+ function set(target, key, val) {
1501
+ if (Array.isArray(target)) {
1502
+ target.length = Math.max(target.length, key);
1503
+ target.splice(key, 1, val);
1504
+ return val;
1505
+ }
1506
+ target[key] = val;
1507
+ return val;
1508
+ }
1509
+ function del(target, key) {
1510
+ if (Array.isArray(target)) {
1511
+ target.splice(key, 1);
1512
+ return;
1513
+ }
1514
+ delete target[key];
1515
+ }
1516
+ //#endregion
1517
+ //#region node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_e8b326918adce583caf1abc0a3047151/node_modules/nuxt/dist/app/compat/vue-demi.js
1518
+ var vue_demi_exports = /* @__PURE__ */ __exportAll({
1519
+ Vue2: () => void 0,
1520
+ del: () => del,
1521
+ install: () => install,
1522
+ isVue2: () => false,
1523
+ isVue3: () => true,
1524
+ set: () => set
1525
+ });
1526
+ __reExport(vue_demi_exports, vue);
1527
+ //#endregion
1528
+ //#region node_modules/.pnpm/@floating-ui+vue@1.1.11_vue@3.5.41_typescript@6.0.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
1529
+ function isComponentPublicInstance(target) {
1530
+ return target != null && typeof target === "object" && "$el" in target;
1531
+ }
1532
+ function unwrapElement(target) {
1533
+ if (isComponentPublicInstance(target)) {
1534
+ const element = target.$el;
1535
+ return isNode() && getNodeName(element) === "#comment" ? null : element;
1536
+ }
1537
+ return target;
1538
+ }
1539
+ function toValue$1(source) {
1540
+ return typeof source === "function" ? source() : (0, vue_demi_exports.unref)(source);
1541
+ }
1542
+ /**
1543
+ * Positions an inner element of the floating element such that it is centered to the reference element.
1544
+ * @param options The arrow options.
1545
+ * @see https://floating-ui.com/docs/arrow
1546
+ */
1547
+ function arrow(options) {
1548
+ return {
1549
+ name: "arrow",
1550
+ options,
1551
+ fn(args) {
1552
+ const element = unwrapElement(toValue$1(options.element));
1553
+ if (element == null) return {};
1554
+ return arrow$1({
1555
+ element,
1556
+ padding: options.padding
1557
+ }).fn(args);
1558
+ }
1559
+ };
1560
+ }
1561
+ function getDPR(element) {
1562
+ return 1;
1563
+ }
1564
+ function roundByDPR(element, value) {
1565
+ const dpr = getDPR();
1566
+ return Math.round(value * dpr) / dpr;
1567
+ }
1568
+ /**
1569
+ * Computes the `x` and `y` coordinates that will place the floating element next to a reference element when it is given a certain CSS positioning strategy.
1570
+ * @param reference The reference template ref.
1571
+ * @param floating The floating template ref.
1572
+ * @param options The floating options.
1573
+ * @see https://floating-ui.com/docs/vue
1574
+ */
1575
+ function useFloating(reference, floating, options) {
1576
+ if (options === void 0) options = {};
1577
+ const whileElementsMountedOption = options.whileElementsMounted;
1578
+ const openOption = (0, vue_demi_exports.computed)(() => {
1579
+ var _toValue;
1580
+ return (_toValue = toValue$1(options.open)) != null ? _toValue : true;
1581
+ });
1582
+ const middlewareOption = (0, vue_demi_exports.computed)(() => toValue$1(options.middleware));
1583
+ const placementOption = (0, vue_demi_exports.computed)(() => {
1584
+ var _toValue2;
1585
+ return (_toValue2 = toValue$1(options.placement)) != null ? _toValue2 : "bottom";
1586
+ });
1587
+ const strategyOption = (0, vue_demi_exports.computed)(() => {
1588
+ var _toValue3;
1589
+ return (_toValue3 = toValue$1(options.strategy)) != null ? _toValue3 : "absolute";
1590
+ });
1591
+ const transformOption = (0, vue_demi_exports.computed)(() => {
1592
+ var _toValue4;
1593
+ return (_toValue4 = toValue$1(options.transform)) != null ? _toValue4 : true;
1594
+ });
1595
+ const referenceElement = (0, vue_demi_exports.computed)(() => unwrapElement(reference.value));
1596
+ const floatingElement = (0, vue_demi_exports.computed)(() => unwrapElement(floating.value));
1597
+ const x = (0, vue_demi_exports.ref)(0);
1598
+ const y = (0, vue_demi_exports.ref)(0);
1599
+ const strategy = (0, vue_demi_exports.ref)(strategyOption.value);
1600
+ const placement = (0, vue_demi_exports.ref)(placementOption.value);
1601
+ const middlewareData = (0, vue_demi_exports.shallowRef)({});
1602
+ const isPositioned = (0, vue_demi_exports.ref)(false);
1603
+ const floatingStyles = (0, vue_demi_exports.computed)(() => {
1604
+ const initialStyles = {
1605
+ position: strategy.value,
1606
+ left: "0",
1607
+ top: "0"
1608
+ };
1609
+ if (!floatingElement.value) return initialStyles;
1610
+ const xVal = roundByDPR(floatingElement.value, x.value);
1611
+ const yVal = roundByDPR(floatingElement.value, y.value);
1612
+ if (transformOption.value) return {
1613
+ ...initialStyles,
1614
+ transform: "translate(" + xVal + "px, " + yVal + "px)",
1615
+ ...getDPR(floatingElement.value) >= 1.5
1616
+ };
1617
+ return {
1618
+ position: strategy.value,
1619
+ left: xVal + "px",
1620
+ top: yVal + "px"
1621
+ };
1622
+ });
1623
+ let whileElementsMountedCleanup;
1624
+ function update() {
1625
+ if (referenceElement.value == null || floatingElement.value == null) return;
1626
+ const open = openOption.value;
1627
+ computePosition(referenceElement.value, floatingElement.value, {
1628
+ middleware: middlewareOption.value,
1629
+ placement: placementOption.value,
1630
+ strategy: strategyOption.value
1631
+ }).then((position) => {
1632
+ x.value = position.x;
1633
+ y.value = position.y;
1634
+ strategy.value = position.strategy;
1635
+ placement.value = position.placement;
1636
+ middlewareData.value = position.middlewareData;
1637
+ /**
1638
+ * The floating element's position may be recomputed while it's closed
1639
+ * but still mounted (such as when transitioning out). To ensure
1640
+ * `isPositioned` will be `false` initially on the next open, avoid
1641
+ * setting it to `true` when `open === false` (must be specified).
1642
+ */
1643
+ isPositioned.value = open !== false;
1644
+ });
1645
+ }
1646
+ function cleanup() {
1647
+ if (typeof whileElementsMountedCleanup === "function") {
1648
+ whileElementsMountedCleanup();
1649
+ whileElementsMountedCleanup = void 0;
1650
+ }
1651
+ }
1652
+ function attach() {
1653
+ cleanup();
1654
+ if (whileElementsMountedOption === void 0) {
1655
+ update();
1656
+ return;
1657
+ }
1658
+ if (referenceElement.value != null && floatingElement.value != null) {
1659
+ whileElementsMountedCleanup = whileElementsMountedOption(referenceElement.value, floatingElement.value, update);
1660
+ return;
1661
+ }
1662
+ }
1663
+ function reset() {
1664
+ if (!openOption.value) isPositioned.value = false;
1665
+ }
1666
+ (0, vue_demi_exports.watch)([
1667
+ middlewareOption,
1668
+ placementOption,
1669
+ strategyOption,
1670
+ openOption
1671
+ ], update, { flush: "sync" });
1672
+ (0, vue_demi_exports.watch)([referenceElement, floatingElement], attach, { flush: "sync" });
1673
+ (0, vue_demi_exports.watch)(openOption, reset, { flush: "sync" });
1674
+ if ((0, vue_demi_exports.getCurrentScope)()) (0, vue_demi_exports.onScopeDispose)(cleanup);
1675
+ return {
1676
+ x: (0, vue_demi_exports.shallowReadonly)(x),
1677
+ y: (0, vue_demi_exports.shallowReadonly)(y),
1678
+ strategy: (0, vue_demi_exports.shallowReadonly)(strategy),
1679
+ placement: (0, vue_demi_exports.shallowReadonly)(placement),
1680
+ middlewareData: (0, vue_demi_exports.shallowReadonly)(middlewareData),
1681
+ isPositioned: (0, vue_demi_exports.shallowReadonly)(isPositioned),
1682
+ floatingStyles,
1683
+ update
1684
+ };
1685
+ }
1686
+ //#endregion
1687
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperContent.js
1688
+ var _hoisted_1 = ["dir"];
1689
+ var PopperContentPropsDefaultValue = {
1690
+ side: "bottom",
1691
+ sideOffset: 0,
1692
+ sideFlip: true,
1693
+ align: "center",
1694
+ alignOffset: 0,
1695
+ alignFlip: true,
1696
+ arrowPadding: 0,
1697
+ hideShiftedArrow: true,
1698
+ avoidCollisions: true,
1699
+ collisionBoundary: () => [],
1700
+ collisionPadding: 0,
1701
+ sticky: "partial",
1702
+ hideWhenDetached: false,
1703
+ positionStrategy: "fixed",
1704
+ updatePositionStrategy: "optimized",
1705
+ prioritizePosition: false
1706
+ };
1707
+ var [injectPopperContentContext, providePopperContentContext] = /*#__PURE__*/ createContext("PopperContent");
1708
+ var PopperContent_default = /* @__PURE__ */ defineComponent({
1709
+ inheritAttrs: false,
1710
+ __name: "PopperContent",
1711
+ props: /* @__PURE__ */ mergeDefaults({
1712
+ memoDependencies: {
1713
+ type: Array,
1714
+ required: false
1715
+ },
1716
+ side: {
1717
+ type: null,
1718
+ required: false
1719
+ },
1720
+ sideOffset: {
1721
+ type: Number,
1722
+ required: false
1723
+ },
1724
+ sideFlip: {
1725
+ type: Boolean,
1726
+ required: false
1727
+ },
1728
+ align: {
1729
+ type: null,
1730
+ required: false
1731
+ },
1732
+ alignOffset: {
1733
+ type: Number,
1734
+ required: false
1735
+ },
1736
+ alignFlip: {
1737
+ type: Boolean,
1738
+ required: false
1739
+ },
1740
+ avoidCollisions: {
1741
+ type: Boolean,
1742
+ required: false
1743
+ },
1744
+ collisionBoundary: {
1745
+ type: null,
1746
+ required: false
1747
+ },
1748
+ collisionPadding: {
1749
+ type: [Number, Object],
1750
+ required: false
1751
+ },
1752
+ arrowPadding: {
1753
+ type: Number,
1754
+ required: false
1755
+ },
1756
+ hideShiftedArrow: {
1757
+ type: Boolean,
1758
+ required: false
1759
+ },
1760
+ sticky: {
1761
+ type: String,
1762
+ required: false
1763
+ },
1764
+ hideWhenDetached: {
1765
+ type: Boolean,
1766
+ required: false
1767
+ },
1768
+ positionStrategy: {
1769
+ type: String,
1770
+ required: false
1771
+ },
1772
+ updatePositionStrategy: {
1773
+ type: String,
1774
+ required: false
1775
+ },
1776
+ disableUpdateOnLayoutShift: {
1777
+ type: Boolean,
1778
+ required: false
1779
+ },
1780
+ prioritizePosition: {
1781
+ type: Boolean,
1782
+ required: false
1783
+ },
1784
+ reference: {
1785
+ type: null,
1786
+ required: false
1787
+ },
1788
+ dir: {
1789
+ type: String,
1790
+ required: false
1791
+ },
1792
+ asChild: {
1793
+ type: Boolean,
1794
+ required: false
1795
+ },
1796
+ as: {
1797
+ type: null,
1798
+ required: false
1799
+ }
1800
+ }, { ...PopperContentPropsDefaultValue }),
1801
+ emits: ["placed"],
1802
+ setup(__props, { emit: __emit }) {
1803
+ const props = __props;
1804
+ const emits = __emit;
1805
+ const rootContext = injectPopperRootContext();
1806
+ const { forwardRef, currentElement: contentElement } = useForwardExpose();
1807
+ const dir = useDirection(computed(() => props.dir));
1808
+ const floatingRef = ref();
1809
+ const arrow$1 = ref();
1810
+ const { width: arrowWidth, height: arrowHeight } = useSize();
1811
+ const desiredPlacement = computed(() => props.side + (props.align !== "center" ? `-${props.align}` : ""));
1812
+ const collisionPadding = computed(() => {
1813
+ return typeof props.collisionPadding === "number" ? props.collisionPadding : {
1814
+ top: 0,
1815
+ right: 0,
1816
+ bottom: 0,
1817
+ left: 0,
1818
+ ...props.collisionPadding
1819
+ };
1820
+ });
1821
+ const boundary = computed(() => {
1822
+ return Array.isArray(props.collisionBoundary) ? props.collisionBoundary : [props.collisionBoundary];
1823
+ });
1824
+ const detectOverflowOptions = computed(() => {
1825
+ return {
1826
+ padding: collisionPadding.value,
1827
+ boundary: boundary.value.filter(isNotNull),
1828
+ altBoundary: boundary.value.length > 0
1829
+ };
1830
+ });
1831
+ const flipOptions = computed(() => {
1832
+ return {
1833
+ mainAxis: props.sideFlip,
1834
+ crossAxis: props.alignFlip
1835
+ };
1836
+ });
1837
+ const computedMiddleware = computed(() => {
1838
+ return [
1839
+ offset({
1840
+ mainAxis: props.sideOffset + arrowHeight.value,
1841
+ alignmentAxis: props.alignOffset
1842
+ }),
1843
+ props.prioritizePosition && props.avoidCollisions && flip({
1844
+ ...detectOverflowOptions.value,
1845
+ ...flipOptions.value
1846
+ }),
1847
+ props.avoidCollisions && shift({
1848
+ mainAxis: true,
1849
+ crossAxis: !!props.prioritizePosition,
1850
+ limiter: props.sticky === "partial" ? limitShift() : void 0,
1851
+ ...detectOverflowOptions.value
1852
+ }),
1853
+ !props.prioritizePosition && props.avoidCollisions && flip({
1854
+ ...detectOverflowOptions.value,
1855
+ ...flipOptions.value
1856
+ }),
1857
+ size({
1858
+ ...detectOverflowOptions.value,
1859
+ apply: ({ elements, rects, availableWidth, availableHeight }) => {
1860
+ const { width: anchorWidth, height: anchorHeight } = rects.reference;
1861
+ const contentStyle = elements.floating.style;
1862
+ contentStyle.setProperty("--reka-popper-available-width", `${availableWidth}px`);
1863
+ contentStyle.setProperty("--reka-popper-available-height", `${availableHeight}px`);
1864
+ contentStyle.setProperty("--reka-popper-anchor-width", `${anchorWidth}px`);
1865
+ contentStyle.setProperty("--reka-popper-anchor-height", `${anchorHeight}px`);
1866
+ }
1867
+ }),
1868
+ arrow$1.value && arrow({
1869
+ element: arrow$1.value,
1870
+ padding: props.arrowPadding
1871
+ }),
1872
+ transformOrigin({
1873
+ arrowWidth: arrowWidth.value,
1874
+ arrowHeight: arrowHeight.value,
1875
+ dir: dir.value
1876
+ }),
1877
+ props.hideWhenDetached && hide({
1878
+ strategy: "referenceHidden",
1879
+ ...detectOverflowOptions.value
1880
+ })
1881
+ ];
1882
+ });
1883
+ const { floatingStyles, placement, isPositioned, middlewareData} = useFloating(computed(() => props.reference ?? rootContext.anchor.value), floatingRef, {
1884
+ strategy: props.positionStrategy,
1885
+ placement: desiredPlacement,
1886
+ whileElementsMounted: (...args) => {
1887
+ return autoUpdate(...args, {
1888
+ layoutShift: !props.disableUpdateOnLayoutShift,
1889
+ animationFrame: props.updatePositionStrategy === "always"
1890
+ });
1891
+ },
1892
+ middleware: computedMiddleware
1893
+ });
1894
+ const placedSide = computed(() => getSideAndAlignFromPlacement(placement.value)[0]);
1895
+ const placedAlign = computed(() => getSideAndAlignFromPlacement(placement.value)[1]);
1896
+ watchPostEffect(() => {
1897
+ if (isPositioned.value) emits("placed");
1898
+ });
1899
+ const shouldHideArrow = computed(() => {
1900
+ const cannotCenterArrow = middlewareData.value.arrow?.centerOffset !== 0;
1901
+ return props.hideShiftedArrow && cannotCenterArrow;
1902
+ });
1903
+ const contentZIndex = ref("");
1904
+ watchEffect(() => {
1905
+ if (contentElement.value) contentZIndex.value = (void 0).getComputedStyle(contentElement.value).zIndex;
1906
+ });
1907
+ providePopperContentContext({
1908
+ placedSide,
1909
+ onArrowChange: (element) => arrow$1.value = element,
1910
+ arrowX: computed(() => middlewareData.value.arrow?.x ?? 0),
1911
+ arrowY: computed(() => middlewareData.value.arrow?.y ?? 0),
1912
+ shouldHideArrow
1913
+ });
1914
+ return (_ctx, _cache) => {
1915
+ return openBlock(), createElementBlock("div", {
1916
+ ref_key: "floatingRef",
1917
+ ref: floatingRef,
1918
+ "data-reka-popper-content-wrapper": "",
1919
+ dir: unref(dir),
1920
+ style: normalizeStyle({
1921
+ ...unref(floatingStyles),
1922
+ transform: unref(isPositioned) ? unref(floatingStyles).transform : "translate(0, -200%)",
1923
+ minWidth: "max-content",
1924
+ zIndex: contentZIndex.value,
1925
+ ["--reka-popper-transform-origin"]: [unref(middlewareData).transformOrigin?.x, unref(middlewareData).transformOrigin?.y].join(" "),
1926
+ ...unref(middlewareData).hide?.referenceHidden && {
1927
+ visibility: "hidden",
1928
+ pointerEvents: "none"
1929
+ }
1930
+ })
1931
+ }, [props.memoDependencies ? withMemo([
1932
+ props.asChild,
1933
+ props.as,
1934
+ placedSide.value,
1935
+ placedAlign.value,
1936
+ unref(isPositioned),
1937
+ ...Object.values(_ctx.$attrs),
1938
+ ...props.memoDependencies
1939
+ ], () => (openBlock(), createBlock(unref(Primitive), mergeProps({
1940
+ key: 0,
1941
+ ref: unref(forwardRef)
1942
+ }, _ctx.$attrs, {
1943
+ "as-child": props.asChild,
1944
+ as: props.as,
1945
+ "data-side": placedSide.value,
1946
+ "data-align": placedAlign.value,
1947
+ style: { animation: !unref(isPositioned) ? "none" : void 0 }
1948
+ }), {
1949
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1950
+ _: 3
1951
+ }, 16, [
1952
+ "as-child",
1953
+ "as",
1954
+ "data-side",
1955
+ "data-align",
1956
+ "style"
1957
+ ])), _cache, 0) : (openBlock(), createBlock(unref(Primitive), mergeProps({
1958
+ key: 1,
1959
+ ref: unref(forwardRef)
1960
+ }, _ctx.$attrs, {
1961
+ "as-child": props.asChild,
1962
+ as: props.as,
1963
+ "data-side": placedSide.value,
1964
+ "data-align": placedAlign.value,
1965
+ dir: unref(dir),
1966
+ style: { animation: !unref(isPositioned) ? "none" : void 0 }
1967
+ }), {
1968
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1969
+ _: 3
1970
+ }, 16, [
1971
+ "as-child",
1972
+ "as",
1973
+ "data-side",
1974
+ "data-align",
1975
+ "dir",
1976
+ "style"
1977
+ ]))], 12, _hoisted_1);
1978
+ };
1979
+ }
1980
+ });
1981
+ //#endregion
1982
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperArrow.js
1983
+ var OPPOSITE_SIDE = {
1984
+ top: "bottom",
1985
+ right: "left",
1986
+ bottom: "top",
1987
+ left: "right"
1988
+ };
1989
+ var PopperArrow_default = /* @__PURE__ */ defineComponent({
1990
+ inheritAttrs: false,
1991
+ __name: "PopperArrow",
1992
+ props: {
1993
+ width: {
1994
+ type: Number,
1995
+ required: false
1996
+ },
1997
+ height: {
1998
+ type: Number,
1999
+ required: false
2000
+ },
2001
+ rounded: {
2002
+ type: Boolean,
2003
+ required: false
2004
+ },
2005
+ asChild: {
2006
+ type: Boolean,
2007
+ required: false
2008
+ },
2009
+ as: {
2010
+ type: null,
2011
+ required: false,
2012
+ default: "svg"
2013
+ }
2014
+ },
2015
+ setup(__props) {
2016
+ const { forwardRef } = useForwardExpose();
2017
+ const contentContext = injectPopperContentContext();
2018
+ const baseSide = computed(() => OPPOSITE_SIDE[contentContext.placedSide.value]);
2019
+ return (_ctx, _cache) => {
2020
+ return openBlock(), createElementBlock("span", {
2021
+ ref: (el) => {
2022
+ unref(contentContext).onArrowChange(el ?? void 0);
2023
+ },
2024
+ style: normalizeStyle({
2025
+ position: "absolute",
2026
+ left: unref(contentContext).arrowX?.value ? `${unref(contentContext).arrowX?.value}px` : void 0,
2027
+ top: unref(contentContext).arrowY?.value ? `${unref(contentContext).arrowY?.value}px` : void 0,
2028
+ [baseSide.value]: 0,
2029
+ transformOrigin: {
2030
+ top: "",
2031
+ right: "0 0",
2032
+ bottom: "center 0",
2033
+ left: "100% 0"
2034
+ }[unref(contentContext).placedSide.value],
2035
+ transform: {
2036
+ top: "translateY(100%)",
2037
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
2038
+ bottom: `rotate(180deg)`,
2039
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
2040
+ }[unref(contentContext).placedSide.value],
2041
+ visibility: unref(contentContext).shouldHideArrow.value ? "hidden" : void 0
2042
+ })
2043
+ }, [createVNode(Arrow_default, mergeProps(_ctx.$attrs, {
2044
+ ref: unref(forwardRef),
2045
+ style: { display: "block" },
2046
+ as: _ctx.as,
2047
+ "as-child": _ctx.asChild,
2048
+ rounded: _ctx.rounded,
2049
+ width: _ctx.width,
2050
+ height: _ctx.height
2051
+ }), {
2052
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
2053
+ _: 3
2054
+ }, 16, [
2055
+ "as",
2056
+ "as-child",
2057
+ "rounded",
2058
+ "width",
2059
+ "height"
2060
+ ])], 4);
2061
+ };
2062
+ }
2063
+ });
2064
+
2065
+ export { PopperRoot_default as P, PopperAnchor_default as a, PopperArrow_default as b, PopperContent_default as c, useSize as d, useForwardPropsEmits as u };
2066
+ //# sourceMappingURL=PopperArrow-Bqfdf2Et.mjs.map