@chrisjowen/wheelhouse 0.6.0 → 0.8.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 (1091) hide show
  1. package/README.md +3 -2
  2. package/build/client/_app/immutable/assets/0.BdbhbzXC.css +1 -0
  3. package/build/client/_app/immutable/assets/0.BdbhbzXC.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.BdbhbzXC.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/1PVkz1wU.js +1 -0
  6. package/build/client/_app/immutable/chunks/1PVkz1wU.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/1PVkz1wU.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/5I3kFTxl.js +1 -0
  9. package/build/client/_app/immutable/chunks/5I3kFTxl.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/5I3kFTxl.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/7k1TXXQx.js +1 -0
  12. package/build/client/_app/immutable/chunks/7k1TXXQx.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/7k1TXXQx.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/A-WXAmZy.js +1 -0
  15. package/build/client/_app/immutable/chunks/A-WXAmZy.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/A-WXAmZy.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/AiTV8eMU.js +1 -0
  18. package/build/client/_app/immutable/chunks/AiTV8eMU.js.br +3 -0
  19. package/build/client/_app/immutable/chunks/AiTV8eMU.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/B2-9ZWI9.js +1 -0
  21. package/build/client/_app/immutable/chunks/B2-9ZWI9.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/B2-9ZWI9.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/B2lgXXfo.js +2 -0
  24. package/build/client/_app/immutable/chunks/B2lgXXfo.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/B2lgXXfo.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/B94WFLDK.js +1 -0
  27. package/build/client/_app/immutable/chunks/B94WFLDK.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/B94WFLDK.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/B9PwX1FR.js +1 -0
  30. package/build/client/_app/immutable/chunks/B9PwX1FR.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/B9PwX1FR.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/BFckJ-Hh.js +1 -0
  33. package/build/client/_app/immutable/chunks/BFckJ-Hh.js.br +1 -0
  34. package/build/client/_app/immutable/chunks/BFckJ-Hh.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/BJ-Sq3bt.js +1 -0
  36. package/build/client/_app/immutable/chunks/BJ-Sq3bt.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/BJ-Sq3bt.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/BJ22bl3x.js +1 -0
  39. package/build/client/_app/immutable/chunks/BJ22bl3x.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/BJ22bl3x.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/BJWAtCK7.js +1 -0
  42. package/build/client/_app/immutable/chunks/BJWAtCK7.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/BJWAtCK7.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/BL5PiS2m.js +5 -0
  45. package/build/client/_app/immutable/chunks/BL5PiS2m.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/BL5PiS2m.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/BMTKBS3C.js +6 -0
  48. package/build/client/_app/immutable/chunks/BMTKBS3C.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/BMTKBS3C.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/BNXbHZ4s.js +1 -0
  51. package/build/client/_app/immutable/chunks/BNXbHZ4s.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/BNXbHZ4s.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/BNvTK-L4.js +1 -0
  54. package/build/client/_app/immutable/chunks/BNvTK-L4.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/BNvTK-L4.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/BY173wTD.js +1 -0
  57. package/build/client/_app/immutable/chunks/BY173wTD.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/BY173wTD.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/BZIE5Pwu.js +1 -0
  60. package/build/client/_app/immutable/chunks/BZIE5Pwu.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/BZIE5Pwu.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/BaVXUP2t.js +5 -0
  63. package/build/client/_app/immutable/chunks/BaVXUP2t.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/BaVXUP2t.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/BapAUJpM.js +1 -0
  66. package/build/client/_app/immutable/chunks/BapAUJpM.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/BapAUJpM.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/BbYnBq6K.js +1 -0
  69. package/build/client/_app/immutable/chunks/BbYnBq6K.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/BbYnBq6K.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/BbaeceI1.js +3 -0
  72. package/build/client/_app/immutable/chunks/BbaeceI1.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/BbaeceI1.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/BxqvNU6L.js +1 -0
  75. package/build/client/_app/immutable/chunks/BxqvNU6L.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/BxqvNU6L.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/ByKcapt5.js +1 -0
  78. package/build/client/_app/immutable/chunks/ByKcapt5.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/ByKcapt5.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/C31k8QGL.js +1 -0
  81. package/build/client/_app/immutable/chunks/C31k8QGL.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/C31k8QGL.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/C8bLcW8p.js +1 -0
  84. package/build/client/_app/immutable/chunks/C8bLcW8p.js.br +0 -0
  85. package/build/client/_app/immutable/chunks/C8bLcW8p.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/CCnNaKfv.js +3 -0
  87. package/build/client/_app/immutable/chunks/CCnNaKfv.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/CCnNaKfv.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/CDH1GGn5.js +1 -0
  90. package/build/client/_app/immutable/chunks/CDH1GGn5.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/CDH1GGn5.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/CDPChpWC.js +1 -0
  93. package/build/client/_app/immutable/chunks/CDPChpWC.js.br +3 -0
  94. package/build/client/_app/immutable/chunks/CDPChpWC.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/CH2k9UCp.js +1 -0
  96. package/build/client/_app/immutable/chunks/CH2k9UCp.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/CH2k9UCp.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/CIQcPKLY.js +1 -0
  99. package/build/client/_app/immutable/chunks/CIQcPKLY.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/CIQcPKLY.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/CLfYICcI.js +1 -0
  102. package/build/client/_app/immutable/chunks/CLfYICcI.js.br +2 -0
  103. package/build/client/_app/immutable/chunks/CLfYICcI.js.gz +0 -0
  104. package/build/client/_app/immutable/chunks/CLrvyXks.js +3 -0
  105. package/build/client/_app/immutable/chunks/CLrvyXks.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/CLrvyXks.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/CPqWOIiS.js +1 -0
  108. package/build/client/_app/immutable/chunks/CPqWOIiS.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/CPqWOIiS.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/CTO6Jnxr.js +1 -0
  111. package/build/client/_app/immutable/chunks/CTO6Jnxr.js.br +0 -0
  112. package/build/client/_app/immutable/chunks/CTO6Jnxr.js.gz +0 -0
  113. package/build/client/_app/immutable/chunks/C_YTgp31.js +1 -0
  114. package/build/client/_app/immutable/chunks/C_YTgp31.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/C_YTgp31.js.gz +0 -0
  116. package/build/client/_app/immutable/chunks/CeV6YRXM.js +1 -0
  117. package/build/client/_app/immutable/chunks/CeV6YRXM.js.br +0 -0
  118. package/build/client/_app/immutable/chunks/CeV6YRXM.js.gz +0 -0
  119. package/build/client/_app/immutable/chunks/CfOPeJVg.js +1 -0
  120. package/build/client/_app/immutable/chunks/CfOPeJVg.js.br +0 -0
  121. package/build/client/_app/immutable/chunks/CfOPeJVg.js.gz +0 -0
  122. package/build/client/_app/immutable/chunks/CfxkUAt5.js +1 -0
  123. package/build/client/_app/immutable/chunks/CfxkUAt5.js.br +0 -0
  124. package/build/client/_app/immutable/chunks/CfxkUAt5.js.gz +0 -0
  125. package/build/client/_app/immutable/chunks/ChgpVwh1.js +1 -0
  126. package/build/client/_app/immutable/chunks/ChgpVwh1.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/ChgpVwh1.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/CisWRQQd.js +1 -0
  129. package/build/client/_app/immutable/chunks/CisWRQQd.js.br +0 -0
  130. package/build/client/_app/immutable/chunks/CisWRQQd.js.gz +0 -0
  131. package/build/client/_app/immutable/chunks/ClPiDuuz.js +2 -0
  132. package/build/client/_app/immutable/chunks/ClPiDuuz.js.br +0 -0
  133. package/build/client/_app/immutable/chunks/ClPiDuuz.js.gz +0 -0
  134. package/build/client/_app/immutable/chunks/Cutrp4Ad.js +1 -0
  135. package/build/client/_app/immutable/chunks/Cutrp4Ad.js.br +0 -0
  136. package/build/client/_app/immutable/chunks/Cutrp4Ad.js.gz +0 -0
  137. package/build/client/_app/immutable/chunks/CxBV2op4.js +1 -0
  138. package/build/client/_app/immutable/chunks/CxBV2op4.js.br +0 -0
  139. package/build/client/_app/immutable/chunks/CxBV2op4.js.gz +0 -0
  140. package/build/client/_app/immutable/chunks/CxBx2YtS.js +1 -0
  141. package/build/client/_app/immutable/chunks/CxBx2YtS.js.br +0 -0
  142. package/build/client/_app/immutable/chunks/CxBx2YtS.js.gz +0 -0
  143. package/build/client/_app/immutable/chunks/D0wL3aL3.js +1 -0
  144. package/build/client/_app/immutable/chunks/D0wL3aL3.js.br +0 -0
  145. package/build/client/_app/immutable/chunks/D0wL3aL3.js.gz +0 -0
  146. package/build/client/_app/immutable/chunks/D1KdArBH.js +1 -0
  147. package/build/client/_app/immutable/chunks/D1KdArBH.js.br +3 -0
  148. package/build/client/_app/immutable/chunks/D1KdArBH.js.gz +0 -0
  149. package/build/client/_app/immutable/chunks/D2gc8-fM.js +1 -0
  150. package/build/client/_app/immutable/chunks/D2gc8-fM.js.br +0 -0
  151. package/build/client/_app/immutable/chunks/D2gc8-fM.js.gz +0 -0
  152. package/build/client/_app/immutable/chunks/D2iwiCUo.js +1 -0
  153. package/build/client/_app/immutable/chunks/D2iwiCUo.js.br +0 -0
  154. package/build/client/_app/immutable/chunks/D2iwiCUo.js.gz +0 -0
  155. package/build/client/_app/immutable/chunks/D6cF08T_.js +6 -0
  156. package/build/client/_app/immutable/chunks/D6cF08T_.js.br +0 -0
  157. package/build/client/_app/immutable/chunks/D6cF08T_.js.gz +0 -0
  158. package/build/client/_app/immutable/chunks/D85QHpKq.js +2 -0
  159. package/build/client/_app/immutable/chunks/D85QHpKq.js.br +0 -0
  160. package/build/client/_app/immutable/chunks/D85QHpKq.js.gz +0 -0
  161. package/build/client/_app/immutable/chunks/DCtMGLrJ.js +1 -0
  162. package/build/client/_app/immutable/chunks/DCtMGLrJ.js.br +0 -0
  163. package/build/client/_app/immutable/chunks/DCtMGLrJ.js.gz +0 -0
  164. package/build/client/_app/immutable/chunks/DEvJ7EGc.js +3 -0
  165. package/build/client/_app/immutable/chunks/DEvJ7EGc.js.br +0 -0
  166. package/build/client/_app/immutable/chunks/DEvJ7EGc.js.gz +0 -0
  167. package/build/client/_app/immutable/chunks/DFFTcnMk.js +2 -0
  168. package/build/client/_app/immutable/chunks/DFFTcnMk.js.br +0 -0
  169. package/build/client/_app/immutable/chunks/DFFTcnMk.js.gz +0 -0
  170. package/build/client/_app/immutable/chunks/DFIuHoeF.js +1 -0
  171. package/build/client/_app/immutable/chunks/DFIuHoeF.js.br +0 -0
  172. package/build/client/_app/immutable/chunks/DFIuHoeF.js.gz +0 -0
  173. package/build/client/_app/immutable/chunks/DGt8zpBP.js +1 -0
  174. package/build/client/_app/immutable/chunks/DGt8zpBP.js.br +0 -0
  175. package/build/client/_app/immutable/chunks/DGt8zpBP.js.gz +0 -0
  176. package/build/client/_app/immutable/chunks/DJKfepuw.js +1 -0
  177. package/build/client/_app/immutable/chunks/DJKfepuw.js.br +5 -0
  178. package/build/client/_app/immutable/chunks/DJKfepuw.js.gz +0 -0
  179. package/build/client/_app/immutable/chunks/DLeaKE5r.js +1 -0
  180. package/build/client/_app/immutable/chunks/DLeaKE5r.js.br +0 -0
  181. package/build/client/_app/immutable/chunks/DLeaKE5r.js.gz +0 -0
  182. package/build/client/_app/immutable/chunks/DNnBMzUq.js +1 -0
  183. package/build/client/_app/immutable/chunks/DNnBMzUq.js.br +0 -0
  184. package/build/client/_app/immutable/chunks/DNnBMzUq.js.gz +0 -0
  185. package/build/client/_app/immutable/chunks/DOKomeYI.js +1 -0
  186. package/build/client/_app/immutable/chunks/DOKomeYI.js.br +0 -0
  187. package/build/client/_app/immutable/chunks/DOKomeYI.js.gz +0 -0
  188. package/build/client/_app/immutable/chunks/DV1nvwPA.js +1 -0
  189. package/build/client/_app/immutable/chunks/DV1nvwPA.js.br +0 -0
  190. package/build/client/_app/immutable/chunks/DV1nvwPA.js.gz +0 -0
  191. package/build/client/_app/immutable/chunks/DWWzLM9n.js +62 -0
  192. package/build/client/_app/immutable/chunks/DWWzLM9n.js.br +0 -0
  193. package/build/client/_app/immutable/chunks/DWWzLM9n.js.gz +0 -0
  194. package/build/client/_app/immutable/chunks/D_KEoseW.js +1 -0
  195. package/build/client/_app/immutable/chunks/D_KEoseW.js.br +0 -0
  196. package/build/client/_app/immutable/chunks/D_KEoseW.js.gz +0 -0
  197. package/build/client/_app/immutable/chunks/D_ohfsLu.js +1 -0
  198. package/build/client/_app/immutable/chunks/D_ohfsLu.js.br +0 -0
  199. package/build/client/_app/immutable/chunks/D_ohfsLu.js.gz +0 -0
  200. package/build/client/_app/immutable/chunks/DfQgXMOm.js +1 -0
  201. package/build/client/_app/immutable/chunks/DfQgXMOm.js.br +0 -0
  202. package/build/client/_app/immutable/chunks/DfQgXMOm.js.gz +0 -0
  203. package/build/client/_app/immutable/chunks/DgbXcz16.js +1 -0
  204. package/build/client/_app/immutable/chunks/DgbXcz16.js.br +0 -0
  205. package/build/client/_app/immutable/chunks/DgbXcz16.js.gz +0 -0
  206. package/build/client/_app/immutable/chunks/DiNK0cSx.js +1 -0
  207. package/build/client/_app/immutable/chunks/DiNK0cSx.js.br +0 -0
  208. package/build/client/_app/immutable/chunks/DiNK0cSx.js.gz +0 -0
  209. package/build/client/_app/immutable/chunks/DjY7ZMGz.js +2 -0
  210. package/build/client/_app/immutable/chunks/DjY7ZMGz.js.br +0 -0
  211. package/build/client/_app/immutable/chunks/DjY7ZMGz.js.gz +0 -0
  212. package/build/client/_app/immutable/chunks/DsyPwaGm.js +1 -0
  213. package/build/client/_app/immutable/chunks/DsyPwaGm.js.br +0 -0
  214. package/build/client/_app/immutable/chunks/DsyPwaGm.js.gz +0 -0
  215. package/build/client/_app/immutable/chunks/DtYEz7n0.js +1 -0
  216. package/build/client/_app/immutable/chunks/DtYEz7n0.js.br +0 -0
  217. package/build/client/_app/immutable/chunks/DtYEz7n0.js.gz +0 -0
  218. package/build/client/_app/immutable/chunks/DtxmqMMR.js +1 -0
  219. package/build/client/_app/immutable/chunks/DtxmqMMR.js.br +0 -0
  220. package/build/client/_app/immutable/chunks/DtxmqMMR.js.gz +0 -0
  221. package/build/client/_app/immutable/chunks/Dve7Csph.js +1 -0
  222. package/build/client/_app/immutable/chunks/Dve7Csph.js.br +0 -0
  223. package/build/client/_app/immutable/chunks/Dve7Csph.js.gz +0 -0
  224. package/build/client/_app/immutable/chunks/DwXSJzKm.js +1 -0
  225. package/build/client/_app/immutable/chunks/DwXSJzKm.js.br +0 -0
  226. package/build/client/_app/immutable/chunks/DwXSJzKm.js.gz +0 -0
  227. package/build/client/_app/immutable/chunks/DxQ9r3ah.js +1 -0
  228. package/build/client/_app/immutable/chunks/DxQ9r3ah.js.br +0 -0
  229. package/build/client/_app/immutable/chunks/DxQ9r3ah.js.gz +0 -0
  230. package/build/client/_app/immutable/chunks/Dz3EKdv5.js +1 -0
  231. package/build/client/_app/immutable/chunks/Dz3EKdv5.js.br +0 -0
  232. package/build/client/_app/immutable/chunks/Dz3EKdv5.js.gz +0 -0
  233. package/build/client/_app/immutable/chunks/Go4g8RRQ.js +6 -0
  234. package/build/client/_app/immutable/chunks/Go4g8RRQ.js.br +0 -0
  235. package/build/client/_app/immutable/chunks/Go4g8RRQ.js.gz +0 -0
  236. package/build/client/_app/immutable/chunks/I9e8Fl7s.js +1 -0
  237. package/build/client/_app/immutable/chunks/I9e8Fl7s.js.br +0 -0
  238. package/build/client/_app/immutable/chunks/I9e8Fl7s.js.gz +0 -0
  239. package/build/client/_app/immutable/chunks/IA0XakFa.js +1 -0
  240. package/build/client/_app/immutable/chunks/IA0XakFa.js.br +0 -0
  241. package/build/client/_app/immutable/chunks/IA0XakFa.js.gz +0 -0
  242. package/build/client/_app/immutable/chunks/IpTBlU5z.js +1 -0
  243. package/build/client/_app/immutable/chunks/IpTBlU5z.js.br +0 -0
  244. package/build/client/_app/immutable/chunks/IpTBlU5z.js.gz +0 -0
  245. package/build/client/_app/immutable/chunks/KzJrxDZe.js +1 -0
  246. package/build/client/_app/immutable/chunks/KzJrxDZe.js.br +0 -0
  247. package/build/client/_app/immutable/chunks/KzJrxDZe.js.gz +0 -0
  248. package/build/client/_app/immutable/chunks/M_PlpjfP.js +1 -0
  249. package/build/client/_app/immutable/chunks/M_PlpjfP.js.br +0 -0
  250. package/build/client/_app/immutable/chunks/M_PlpjfP.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/Ort8Hmz8.js +1 -0
  252. package/build/client/_app/immutable/chunks/Ort8Hmz8.js.br +0 -0
  253. package/build/client/_app/immutable/chunks/Ort8Hmz8.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/POTd6WHI.js +1 -0
  255. package/build/client/_app/immutable/chunks/POTd6WHI.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/POTd6WHI.js.gz +0 -0
  257. package/build/client/_app/immutable/chunks/QNY3mQIp.js +1 -0
  258. package/build/client/_app/immutable/chunks/QNY3mQIp.js.br +0 -0
  259. package/build/client/_app/immutable/chunks/QNY3mQIp.js.gz +0 -0
  260. package/build/client/_app/immutable/chunks/TDOS63s7.js +1 -0
  261. package/build/client/_app/immutable/chunks/TDOS63s7.js.br +0 -0
  262. package/build/client/_app/immutable/chunks/TDOS63s7.js.gz +0 -0
  263. package/build/client/_app/immutable/chunks/VI4uBLfk.js +2 -0
  264. package/build/client/_app/immutable/chunks/VI4uBLfk.js.br +0 -0
  265. package/build/client/_app/immutable/chunks/VI4uBLfk.js.gz +0 -0
  266. package/build/client/_app/immutable/chunks/XuW16bbU.js +1 -0
  267. package/build/client/_app/immutable/chunks/XuW16bbU.js.br +0 -0
  268. package/build/client/_app/immutable/chunks/XuW16bbU.js.gz +0 -0
  269. package/build/client/_app/immutable/chunks/YmIHIkwu.js +1 -0
  270. package/build/client/_app/immutable/chunks/YmIHIkwu.js.br +0 -0
  271. package/build/client/_app/immutable/chunks/YmIHIkwu.js.gz +0 -0
  272. package/build/client/_app/immutable/chunks/bdq_1mR_.js +1 -0
  273. package/build/client/_app/immutable/chunks/bdq_1mR_.js.br +0 -0
  274. package/build/client/_app/immutable/chunks/bdq_1mR_.js.gz +0 -0
  275. package/build/client/_app/immutable/chunks/cwI46DFb.js +1 -0
  276. package/build/client/_app/immutable/chunks/cwI46DFb.js.br +0 -0
  277. package/build/client/_app/immutable/chunks/cwI46DFb.js.gz +0 -0
  278. package/build/client/_app/immutable/chunks/ff7mriJ8.js +12 -0
  279. package/build/client/_app/immutable/chunks/ff7mriJ8.js.br +0 -0
  280. package/build/client/_app/immutable/chunks/ff7mriJ8.js.gz +0 -0
  281. package/build/client/_app/immutable/chunks/fxwDaXQ6.js +1 -0
  282. package/build/client/_app/immutable/chunks/fxwDaXQ6.js.br +0 -0
  283. package/build/client/_app/immutable/chunks/fxwDaXQ6.js.gz +0 -0
  284. package/build/client/_app/immutable/chunks/g4TsmxH1.js +1 -0
  285. package/build/client/_app/immutable/chunks/g4TsmxH1.js.br +0 -0
  286. package/build/client/_app/immutable/chunks/g4TsmxH1.js.gz +0 -0
  287. package/build/client/_app/immutable/chunks/gg0JPMuv.js +1 -0
  288. package/build/client/_app/immutable/chunks/gg0JPMuv.js.br +0 -0
  289. package/build/client/_app/immutable/chunks/gg0JPMuv.js.gz +0 -0
  290. package/build/client/_app/immutable/chunks/hKkTZgiP.js +1 -0
  291. package/build/client/_app/immutable/chunks/hKkTZgiP.js.br +0 -0
  292. package/build/client/_app/immutable/chunks/hKkTZgiP.js.gz +0 -0
  293. package/build/client/_app/immutable/chunks/l_pUsC7d.js +1 -0
  294. package/build/client/_app/immutable/chunks/l_pUsC7d.js.br +0 -0
  295. package/build/client/_app/immutable/chunks/l_pUsC7d.js.gz +0 -0
  296. package/build/client/_app/immutable/chunks/nShh0HJ4.js +1 -0
  297. package/build/client/_app/immutable/chunks/nShh0HJ4.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/nShh0HJ4.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/p33m8lr_.js +1 -0
  300. package/build/client/_app/immutable/chunks/p33m8lr_.js.br +0 -0
  301. package/build/client/_app/immutable/chunks/p33m8lr_.js.gz +0 -0
  302. package/build/client/_app/immutable/chunks/qC_D3d5z.js +1 -0
  303. package/build/client/_app/immutable/chunks/qC_D3d5z.js.br +0 -0
  304. package/build/client/_app/immutable/chunks/qC_D3d5z.js.gz +0 -0
  305. package/build/client/_app/immutable/chunks/szetP8fm.js +1 -0
  306. package/build/client/_app/immutable/chunks/szetP8fm.js.br +0 -0
  307. package/build/client/_app/immutable/chunks/szetP8fm.js.gz +0 -0
  308. package/build/client/_app/immutable/chunks/w66b3iDh.js +1 -0
  309. package/build/client/_app/immutable/chunks/w66b3iDh.js.br +0 -0
  310. package/build/client/_app/immutable/chunks/w66b3iDh.js.gz +0 -0
  311. package/build/client/_app/immutable/entry/app.gl-vT7jm.js +2 -0
  312. package/build/client/_app/immutable/entry/app.gl-vT7jm.js.br +0 -0
  313. package/build/client/_app/immutable/entry/app.gl-vT7jm.js.gz +0 -0
  314. package/build/client/_app/immutable/entry/start.BobUuVbD.js +1 -0
  315. package/build/client/_app/immutable/entry/start.BobUuVbD.js.br +0 -0
  316. package/build/client/_app/immutable/entry/start.BobUuVbD.js.gz +0 -0
  317. package/build/client/_app/immutable/nodes/0.D7nx1zUv.js +10 -0
  318. package/build/client/_app/immutable/nodes/0.D7nx1zUv.js.br +0 -0
  319. package/build/client/_app/immutable/nodes/0.D7nx1zUv.js.gz +0 -0
  320. package/build/client/_app/immutable/nodes/1.GyxmcDpk.js +1 -0
  321. package/build/client/_app/immutable/nodes/1.GyxmcDpk.js.br +0 -0
  322. package/build/client/_app/immutable/nodes/1.GyxmcDpk.js.gz +0 -0
  323. package/build/client/_app/immutable/nodes/10.Bu8ENATY.js +8 -0
  324. package/build/client/_app/immutable/nodes/10.Bu8ENATY.js.br +0 -0
  325. package/build/client/_app/immutable/nodes/10.Bu8ENATY.js.gz +0 -0
  326. package/build/client/_app/immutable/nodes/11.LfkwXgTW.js +1 -0
  327. package/build/client/_app/immutable/nodes/11.LfkwXgTW.js.br +0 -0
  328. package/build/client/_app/immutable/nodes/11.LfkwXgTW.js.gz +0 -0
  329. package/build/client/_app/immutable/nodes/12.BxPjEbD6.js +3 -0
  330. package/build/client/_app/immutable/nodes/12.BxPjEbD6.js.br +0 -0
  331. package/build/client/_app/immutable/nodes/12.BxPjEbD6.js.gz +0 -0
  332. package/build/client/_app/immutable/nodes/13.BlAJ4Vfy.js +1 -0
  333. package/build/client/_app/immutable/nodes/13.BlAJ4Vfy.js.br +0 -0
  334. package/build/client/_app/immutable/nodes/13.BlAJ4Vfy.js.gz +0 -0
  335. package/build/client/_app/immutable/nodes/14.D6gfCfYW.js +14 -0
  336. package/build/client/_app/immutable/nodes/14.D6gfCfYW.js.br +0 -0
  337. package/build/client/_app/immutable/nodes/14.D6gfCfYW.js.gz +0 -0
  338. package/build/client/_app/immutable/nodes/15.4lw2WKq9.js +150 -0
  339. package/build/client/_app/immutable/nodes/15.4lw2WKq9.js.br +0 -0
  340. package/build/client/_app/immutable/nodes/15.4lw2WKq9.js.gz +0 -0
  341. package/build/client/_app/immutable/nodes/16.BmzqQRka.js +3 -0
  342. package/build/client/_app/immutable/nodes/16.BmzqQRka.js.br +0 -0
  343. package/build/client/_app/immutable/nodes/16.BmzqQRka.js.gz +0 -0
  344. package/build/client/_app/immutable/nodes/17.k-iDf2FK.js +4 -0
  345. package/build/client/_app/immutable/nodes/17.k-iDf2FK.js.br +0 -0
  346. package/build/client/_app/immutable/nodes/17.k-iDf2FK.js.gz +0 -0
  347. package/build/client/_app/immutable/nodes/19.Dp_e5Due.js +2 -0
  348. package/build/client/_app/immutable/nodes/19.Dp_e5Due.js.br +5 -0
  349. package/build/client/_app/immutable/nodes/19.Dp_e5Due.js.gz +0 -0
  350. package/build/client/_app/immutable/nodes/2.tfxqjTNR.js +25 -0
  351. package/build/client/_app/immutable/nodes/2.tfxqjTNR.js.br +0 -0
  352. package/build/client/_app/immutable/nodes/2.tfxqjTNR.js.gz +0 -0
  353. package/build/client/_app/immutable/nodes/20.Bz0SO3wK.js +11 -0
  354. package/build/client/_app/immutable/nodes/20.Bz0SO3wK.js.br +0 -0
  355. package/build/client/_app/immutable/nodes/20.Bz0SO3wK.js.gz +0 -0
  356. package/build/client/_app/immutable/nodes/21.DfM6w7Sq.js +6 -0
  357. package/build/client/_app/immutable/nodes/21.DfM6w7Sq.js.br +0 -0
  358. package/build/client/_app/immutable/nodes/21.DfM6w7Sq.js.gz +0 -0
  359. package/build/client/_app/immutable/nodes/22.CgDRkCuX.js +2 -0
  360. package/build/client/_app/immutable/nodes/22.CgDRkCuX.js.br +0 -0
  361. package/build/client/_app/immutable/nodes/22.CgDRkCuX.js.gz +0 -0
  362. package/build/client/_app/immutable/nodes/23.Cqr07Z9o.js +4 -0
  363. package/build/client/_app/immutable/nodes/23.Cqr07Z9o.js.br +0 -0
  364. package/build/client/_app/immutable/nodes/23.Cqr07Z9o.js.gz +0 -0
  365. package/build/client/_app/immutable/nodes/24.CRrpf_iS.js +7 -0
  366. package/build/client/_app/immutable/nodes/24.CRrpf_iS.js.br +0 -0
  367. package/build/client/_app/immutable/nodes/24.CRrpf_iS.js.gz +0 -0
  368. package/build/client/_app/immutable/nodes/25.BA3kP5aP.js +12 -0
  369. package/build/client/_app/immutable/nodes/25.BA3kP5aP.js.br +0 -0
  370. package/build/client/_app/immutable/nodes/25.BA3kP5aP.js.gz +0 -0
  371. package/build/client/_app/immutable/nodes/26.CipAeCRP.js +4 -0
  372. package/build/client/_app/immutable/nodes/26.CipAeCRP.js.br +0 -0
  373. package/build/client/_app/immutable/nodes/26.CipAeCRP.js.gz +0 -0
  374. package/build/client/_app/immutable/nodes/27.B66pXjvT.js +1 -0
  375. package/build/client/_app/immutable/nodes/27.B66pXjvT.js.br +0 -0
  376. package/build/client/_app/immutable/nodes/27.B66pXjvT.js.gz +0 -0
  377. package/build/client/_app/immutable/nodes/28.BSk8udo-.js +6 -0
  378. package/build/client/_app/immutable/nodes/28.BSk8udo-.js.br +0 -0
  379. package/build/client/_app/immutable/nodes/28.BSk8udo-.js.gz +0 -0
  380. package/build/client/_app/immutable/nodes/3.Bfp3WQon.js +5 -0
  381. package/build/client/_app/immutable/nodes/3.Bfp3WQon.js.br +0 -0
  382. package/build/client/_app/immutable/nodes/3.Bfp3WQon.js.gz +0 -0
  383. package/build/client/_app/immutable/nodes/4.F2NZin5q.js +1 -0
  384. package/build/client/_app/immutable/nodes/4.F2NZin5q.js.br +0 -0
  385. package/build/client/_app/immutable/nodes/4.F2NZin5q.js.gz +0 -0
  386. package/build/client/_app/immutable/nodes/5.kGlfG6fg.js +1 -0
  387. package/build/client/_app/immutable/nodes/5.kGlfG6fg.js.br +0 -0
  388. package/build/client/_app/immutable/nodes/5.kGlfG6fg.js.gz +0 -0
  389. package/build/client/_app/immutable/nodes/6.CiTAJagN.js +2 -0
  390. package/build/client/_app/immutable/nodes/6.CiTAJagN.js.br +0 -0
  391. package/build/client/_app/immutable/nodes/6.CiTAJagN.js.gz +0 -0
  392. package/build/client/_app/immutable/nodes/7.CFAVd444.js +7 -0
  393. package/build/client/_app/immutable/nodes/7.CFAVd444.js.br +0 -0
  394. package/build/client/_app/immutable/nodes/7.CFAVd444.js.gz +0 -0
  395. package/build/client/_app/immutable/nodes/8.DgSB72Qx.js +5 -0
  396. package/build/client/_app/immutable/nodes/8.DgSB72Qx.js.br +0 -0
  397. package/build/client/_app/immutable/nodes/8.DgSB72Qx.js.gz +0 -0
  398. package/build/client/_app/immutable/nodes/9.ClGaEjTD.js +1 -0
  399. package/build/client/_app/immutable/nodes/9.ClGaEjTD.js.br +0 -0
  400. package/build/client/_app/immutable/nodes/9.ClGaEjTD.js.gz +0 -0
  401. package/build/client/_app/version.json +1 -1
  402. package/build/client/_app/version.json.br +0 -0
  403. package/build/client/_app/version.json.gz +0 -0
  404. package/build/handler.js +4 -4
  405. package/build/index.js +4 -4
  406. package/build/server/chunks/chunks/DecisionCard.js-Dyj6ht_j.js +1657 -0
  407. package/build/server/chunks/chunks/EveryProjectSwitch.js-QnSlvlHq.js +35 -0
  408. package/build/server/chunks/chunks/InsightsNav.js-DlkSZMIv.js +18 -0
  409. package/build/server/chunks/chunks/InstallFromGitHub.js-THJ7MTpk.js +307 -0
  410. package/build/server/chunks/chunks/OpenDecision.js-0VvKUvGV.js +47 -0
  411. package/build/server/chunks/chunks/PluginReview.js-DvuBUHCz.js +104 -0
  412. package/build/server/chunks/chunks/SavedNote.js-Va92DwGU.js +130 -0
  413. package/build/server/chunks/chunks/Sheet.js-CkERuQ6f.js +3854 -0
  414. package/build/server/chunks/chunks/Switch.js-9QbNeL3W.js +21 -0
  415. package/build/server/chunks/chunks/decisionform.js-BZIm6oAS.js +191 -0
  416. package/build/server/chunks/chunks/detail.js-C28uCfO4.js +146 -0
  417. package/build/server/chunks/chunks/dialog-content.js-p_-FwAQn.js +3356 -0
  418. package/build/server/chunks/chunks/dialog.js-iAYK6Lpj.js +392 -0
  419. package/build/server/chunks/chunks/feedback.js-DbBFs_c7.js +67 -0
  420. package/build/server/chunks/chunks/insights.svelte.js-DR4hOMAL.js +732 -0
  421. package/build/server/chunks/chunks/internal.js-BLKxcmnO.js +151 -0
  422. package/build/server/chunks/chunks/keychain.js-CLq9ZWSr.js +52 -0
  423. package/build/server/chunks/chunks/marketplace-service.js-CiuqtVb8.js +224 -0
  424. package/build/server/chunks/chunks/marketplace.js-xZCceq5P.js +202 -0
  425. package/build/server/chunks/chunks/nav.js-D0-z8_wN.js +32 -0
  426. package/build/server/chunks/chunks/page.js-CGYLRa54.js +11 -0
  427. package/build/server/chunks/chunks/plugins.js-C4n0U0n9.js +57 -0
  428. package/build/server/chunks/chunks/previewhelper2.js-DvC-jUM7.js +165 -0
  429. package/build/server/chunks/chunks/repo.js-DVhaDnBj.js +33 -0
  430. package/build/server/chunks/chunks/runtime.js-CdY5IpD-.js +17862 -0
  431. package/build/server/chunks/chunks/search.js-D4_Ymk2F.js +18 -0
  432. package/build/server/chunks/chunks/service.js-DhlDVkLw.js +1337 -0
  433. package/build/server/chunks/chunks/service2.js-Bt-81oiB.js +1140 -0
  434. package/build/server/chunks/chunks/starter.js-8hCfFY7e.js +628 -0
  435. package/build/server/chunks/chunks/view.js-Ch9WrYrC.js +76 -0
  436. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-BY_N9WqF.js +96 -0
  437. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-Bs3squxw.js +79 -0
  438. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-D7Hh_LA3.js +43 -0
  439. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CnkZHmPh.js +106 -0
  440. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-CFVR6_o4.js +55 -0
  441. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-DN70VJQU.js +89 -0
  442. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BeRBlf5D.js +125 -0
  443. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-ThZS58R-.js +51 -0
  444. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BadTKi0S.js +57 -0
  445. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-DVJ4gMGj.js +50 -0
  446. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-DUVZe4wn.js +97 -0
  447. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-Bs1bymHZ.js +60 -0
  448. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-CKeFPXLR.js +71 -0
  449. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-Bt501lhC.js +50 -0
  450. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-BcHSC1TK.js +42 -0
  451. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-BH1fGFoq.js +106 -0
  452. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-gLB2SuJg.js +42 -0
  453. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-CjdGWvfb.js +66 -0
  454. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-C1A5OD4E.js +57 -0
  455. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-TBvdVyc-.js +42 -0
  456. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CIttYBu6.js +77 -0
  457. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-D8oCGNZO.js +66 -0
  458. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-g1pY8An3.js +61 -0
  459. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D4TVO5R1.js +58 -0
  460. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-xLCMogeA.js +27 -0
  461. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-CI-gKlsl.js +65 -0
  462. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-CoM4JCaD.js +39 -0
  463. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-d03KFS_3.js +42 -0
  464. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-DETako8r.js +39 -0
  465. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-Ca4RBqlr.js +42 -0
  466. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-Bvl_HTXC.js +47 -0
  467. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-BIJzWvqi.js +56 -0
  468. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DUDgt9UQ.js +27 -0
  469. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-B8EQR_Y9.js +65 -0
  470. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-DtU-nqAz.js +47 -0
  471. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-BOxpnZI1.js +56 -0
  472. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-zD4NOGXM.js +68 -0
  473. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DojyOKEB.js +55 -0
  474. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-alp8EfXV.js +78 -0
  475. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BexKsKLn.js +61 -0
  476. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-Ml6j0WCs.js +51 -0
  477. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DNnU2Kh1.js +61 -0
  478. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-DWGEum0i.js +100 -0
  479. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-CyCQh4xv.js +50 -0
  480. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-D-Td7jnF.js +47 -0
  481. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-cjltaY9-.js +66 -0
  482. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-CUbj1mpd.js +59 -0
  483. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BT1aeWsT.js +107 -0
  484. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-D3zqfuxP.js +61 -0
  485. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-pWuSZcd6.js +64 -0
  486. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-DRdrgqbU.js +68 -0
  487. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-OSwF25f9.js +40 -0
  488. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-D0ZPP3Hu.js +27 -0
  489. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-pob8ZUA4.js +27 -0
  490. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-Dnn1Ck5w.js +46 -0
  491. package/build/server/chunks/entries/hooks.server.js-Ba5h-Ow1.js +79 -0
  492. package/build/server/chunks/entries/pages/_layout.server.ts.js-daNn9XCs.js +29 -0
  493. package/build/server/chunks/entries/pages/_layout.svelte.js-5WXlsqB3.js +5511 -0
  494. package/build/server/chunks/entries/pages/_page.server.ts.js-Ca7VKy_t.js +16 -0
  495. package/build/server/chunks/entries/pages/_page.svelte.js-CdplbKoe.js +3271 -0
  496. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-BmVbkNhh.js +11 -0
  497. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DJfsQl6r.js +202 -0
  498. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DM9Z4DjM.js +16 -0
  499. package/build/server/chunks/entries/pages/deck/_page.svelte.js-DfBCOF77.js +101 -0
  500. package/build/server/chunks/entries/pages/files/_page.server.ts.js-V32EvhsD.js +17 -0
  501. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-ByuPMNrs.js +46 -0
  502. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-D4hamuGQ.js +11 -0
  503. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Bw6-Kcfp.js +183 -0
  504. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-CZ66oSeD.js +11 -0
  505. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-DNx_cf87.js +192 -0
  506. package/build/server/chunks/entries/pages/more/_page.svelte.js-CnwXpFY4.js +110 -0
  507. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-BYdkTiRF.js +485 -0
  508. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-B66YDJlz.js +16 -0
  509. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-Dg6skd-i.js +23 -0
  510. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-LCEiVdUu.js +21 -0
  511. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-Bx_qWCvz.js +27 -0
  512. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-D8qPhcbQ.js +15 -0
  513. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-BYMvJBgQ.js +11 -0
  514. package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-DTKHEBOM.js +11 -0
  515. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-CXFxuG8I.js +11 -0
  516. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-B_pDK0q3.js +19 -0
  517. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-Ceh_g57y.js +518 -0
  518. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-8pc_xbfL.js +17 -0
  519. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-Cr3Pjp8O.js +231 -0
  520. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-CqOE_I-8.js +11 -0
  521. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-D7Xv3cWu.js +11 -0
  522. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-DmJ-JBh7.js +18 -0
  523. package/build/server/chunks/entries/pages/setup/_page.svelte.js-DG9p9io-.js +981 -0
  524. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DqCDx4eM.js +25 -0
  525. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-Dx2EX3aP.js +2951 -0
  526. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-pBPhifMt.js +24 -0
  527. package/build/server/chunks/entries/pages/time/_page.server.ts.js-DAhkOhKH.js +11 -0
  528. package/build/server/chunks/entries/pages/time/_page.svelte.js-Be6oAjkV.js +108 -0
  529. package/build/server/chunks/handler-DsF0-ycu.js +1474 -0
  530. package/build/server/chunks/index.js-DtxhOtsl.js +4296 -0
  531. package/build/server/chunks/manifest.js-B9fXERnp.js +656 -0
  532. package/build/server/chunks/nodes/0.js-idvnpSGx.js +49 -0
  533. package/build/server/chunks/nodes/1.js-BbZVNmme.js +9 -0
  534. package/build/server/chunks/nodes/10.js-7xwnxTBd.js +9 -0
  535. package/build/server/chunks/nodes/11.js-CN7D7Wtv.js +47 -0
  536. package/build/server/chunks/nodes/12.js-D0a9JV9J.js +49 -0
  537. package/build/server/chunks/nodes/13.js-Gyan1Es0.js +48 -0
  538. package/build/server/chunks/nodes/14.js-BN2FgqUX.js +49 -0
  539. package/build/server/chunks/nodes/15.js-iDbZKSJO.js +48 -0
  540. package/build/server/chunks/nodes/16.js-5G5kk7kt.js +25 -0
  541. package/build/server/chunks/nodes/17.js-nlIQGV44.js +9 -0
  542. package/build/server/chunks/nodes/19.js-CGgokEZO.js +25 -0
  543. package/build/server/chunks/nodes/2.js-worFzw4y.js +47 -0
  544. package/build/server/chunks/nodes/20.js-D0I7U4C9.js +47 -0
  545. package/build/server/chunks/nodes/21.js-CvRY-52P.js +47 -0
  546. package/build/server/chunks/nodes/22.js-DwK7gqoW.js +50 -0
  547. package/build/server/chunks/nodes/23.js-CJjm9tcQ.js +49 -0
  548. package/build/server/chunks/nodes/24.js-CckNMPKn.js +26 -0
  549. package/build/server/chunks/nodes/25.js-BBDACqTg.js +51 -0
  550. package/build/server/chunks/nodes/26.js-BWq3B0wW.js +48 -0
  551. package/build/server/chunks/nodes/27.js-MgKQWlAq.js +48 -0
  552. package/build/server/chunks/nodes/28.js-xpq2RBgo.js +47 -0
  553. package/build/server/chunks/nodes/3.js-DOJOLxlE.js +47 -0
  554. package/build/server/chunks/nodes/4.js-acwNoMWi.js +47 -0
  555. package/build/server/chunks/nodes/5.js-DYuaSV-G.js +47 -0
  556. package/build/server/chunks/nodes/6.js-DA40mCwd.js +51 -0
  557. package/build/server/chunks/nodes/7.js-D9HXWm_c.js +47 -0
  558. package/build/server/chunks/nodes/8.js-Dsx-zrYi.js +47 -0
  559. package/build/server/chunks/nodes/9.js-D5YifYpK.js +9 -0
  560. package/dist/cli.js +48 -1
  561. package/dist/wh-vault.js +1 -1
  562. package/package.json +1 -1
  563. package/build/client/_app/immutable/assets/0.CnotMMJE.css +0 -1
  564. package/build/client/_app/immutable/assets/0.CnotMMJE.css.br +0 -0
  565. package/build/client/_app/immutable/assets/0.CnotMMJE.css.gz +0 -0
  566. package/build/client/_app/immutable/chunks/6KGJY2fN.js +0 -1
  567. package/build/client/_app/immutable/chunks/6KGJY2fN.js.br +0 -0
  568. package/build/client/_app/immutable/chunks/6KGJY2fN.js.gz +0 -0
  569. package/build/client/_app/immutable/chunks/77EackVl.js +0 -1
  570. package/build/client/_app/immutable/chunks/77EackVl.js.br +0 -0
  571. package/build/client/_app/immutable/chunks/77EackVl.js.gz +0 -0
  572. package/build/client/_app/immutable/chunks/81z20Z2j.js +0 -1
  573. package/build/client/_app/immutable/chunks/81z20Z2j.js.br +0 -0
  574. package/build/client/_app/immutable/chunks/81z20Z2j.js.gz +0 -0
  575. package/build/client/_app/immutable/chunks/8S76_oNO.js +0 -1
  576. package/build/client/_app/immutable/chunks/8S76_oNO.js.br +0 -0
  577. package/build/client/_app/immutable/chunks/8S76_oNO.js.gz +0 -0
  578. package/build/client/_app/immutable/chunks/B03u1hTl.js +0 -1
  579. package/build/client/_app/immutable/chunks/B03u1hTl.js.br +0 -0
  580. package/build/client/_app/immutable/chunks/B03u1hTl.js.gz +0 -0
  581. package/build/client/_app/immutable/chunks/B1jHxhG9.js +0 -1
  582. package/build/client/_app/immutable/chunks/B1jHxhG9.js.br +0 -0
  583. package/build/client/_app/immutable/chunks/B1jHxhG9.js.gz +0 -0
  584. package/build/client/_app/immutable/chunks/B2LF3HQi.js +0 -1
  585. package/build/client/_app/immutable/chunks/B2LF3HQi.js.br +0 -0
  586. package/build/client/_app/immutable/chunks/B2LF3HQi.js.gz +0 -0
  587. package/build/client/_app/immutable/chunks/BA9P8WCL.js +0 -1
  588. package/build/client/_app/immutable/chunks/BA9P8WCL.js.br +0 -2
  589. package/build/client/_app/immutable/chunks/BA9P8WCL.js.gz +0 -0
  590. package/build/client/_app/immutable/chunks/BE9KMngo.js +0 -1
  591. package/build/client/_app/immutable/chunks/BE9KMngo.js.br +0 -0
  592. package/build/client/_app/immutable/chunks/BE9KMngo.js.gz +0 -0
  593. package/build/client/_app/immutable/chunks/BEnnwCJ1.js +0 -1
  594. package/build/client/_app/immutable/chunks/BEnnwCJ1.js.br +0 -2
  595. package/build/client/_app/immutable/chunks/BEnnwCJ1.js.gz +0 -0
  596. package/build/client/_app/immutable/chunks/BOaUgn_g.js +0 -1
  597. package/build/client/_app/immutable/chunks/BOaUgn_g.js.br +0 -0
  598. package/build/client/_app/immutable/chunks/BOaUgn_g.js.gz +0 -0
  599. package/build/client/_app/immutable/chunks/BQff8TZK.js +0 -1
  600. package/build/client/_app/immutable/chunks/BQff8TZK.js.br +0 -0
  601. package/build/client/_app/immutable/chunks/BQff8TZK.js.gz +0 -0
  602. package/build/client/_app/immutable/chunks/BSz_K-Yf.js +0 -1
  603. package/build/client/_app/immutable/chunks/BSz_K-Yf.js.br +0 -3
  604. package/build/client/_app/immutable/chunks/BSz_K-Yf.js.gz +0 -0
  605. package/build/client/_app/immutable/chunks/BW9ETppa.js +0 -12
  606. package/build/client/_app/immutable/chunks/BW9ETppa.js.br +0 -0
  607. package/build/client/_app/immutable/chunks/BW9ETppa.js.gz +0 -0
  608. package/build/client/_app/immutable/chunks/BWU6jjG7.js +0 -1
  609. package/build/client/_app/immutable/chunks/BWU6jjG7.js.br +0 -0
  610. package/build/client/_app/immutable/chunks/BWU6jjG7.js.gz +0 -0
  611. package/build/client/_app/immutable/chunks/BY6-BqNq.js +0 -4
  612. package/build/client/_app/immutable/chunks/BY6-BqNq.js.br +0 -0
  613. package/build/client/_app/immutable/chunks/BY6-BqNq.js.gz +0 -0
  614. package/build/client/_app/immutable/chunks/B_0uUD7w.js +0 -1
  615. package/build/client/_app/immutable/chunks/B_0uUD7w.js.br +0 -0
  616. package/build/client/_app/immutable/chunks/B_0uUD7w.js.gz +0 -0
  617. package/build/client/_app/immutable/chunks/BcbSpnWm.js +0 -1
  618. package/build/client/_app/immutable/chunks/BcbSpnWm.js.br +0 -4
  619. package/build/client/_app/immutable/chunks/BcbSpnWm.js.gz +0 -0
  620. package/build/client/_app/immutable/chunks/Bf3vwO3j.js +0 -5
  621. package/build/client/_app/immutable/chunks/Bf3vwO3j.js.br +0 -0
  622. package/build/client/_app/immutable/chunks/Bf3vwO3j.js.gz +0 -0
  623. package/build/client/_app/immutable/chunks/BjGE9KUs.js +0 -1
  624. package/build/client/_app/immutable/chunks/BjGE9KUs.js.br +0 -2
  625. package/build/client/_app/immutable/chunks/BjGE9KUs.js.gz +0 -0
  626. package/build/client/_app/immutable/chunks/Bk4GHXy3.js +0 -3
  627. package/build/client/_app/immutable/chunks/Bk4GHXy3.js.br +0 -0
  628. package/build/client/_app/immutable/chunks/Bk4GHXy3.js.gz +0 -0
  629. package/build/client/_app/immutable/chunks/BnTDmUXb.js +0 -1
  630. package/build/client/_app/immutable/chunks/BnTDmUXb.js.br +0 -0
  631. package/build/client/_app/immutable/chunks/BnTDmUXb.js.gz +0 -0
  632. package/build/client/_app/immutable/chunks/BnWmCwuC.js +0 -1
  633. package/build/client/_app/immutable/chunks/BnWmCwuC.js.br +0 -0
  634. package/build/client/_app/immutable/chunks/BnWmCwuC.js.gz +0 -0
  635. package/build/client/_app/immutable/chunks/BqW70ENa.js +0 -1
  636. package/build/client/_app/immutable/chunks/BqW70ENa.js.br +0 -0
  637. package/build/client/_app/immutable/chunks/BqW70ENa.js.gz +0 -0
  638. package/build/client/_app/immutable/chunks/Bx_jT140.js +0 -1
  639. package/build/client/_app/immutable/chunks/Bx_jT140.js.br +0 -0
  640. package/build/client/_app/immutable/chunks/Bx_jT140.js.gz +0 -0
  641. package/build/client/_app/immutable/chunks/BxcFe1oU.js +0 -1
  642. package/build/client/_app/immutable/chunks/BxcFe1oU.js.br +0 -0
  643. package/build/client/_app/immutable/chunks/BxcFe1oU.js.gz +0 -0
  644. package/build/client/_app/immutable/chunks/Bxsz_qq0.js +0 -1
  645. package/build/client/_app/immutable/chunks/Bxsz_qq0.js.br +0 -0
  646. package/build/client/_app/immutable/chunks/Bxsz_qq0.js.gz +0 -0
  647. package/build/client/_app/immutable/chunks/BzaeIa_Z.js +0 -3
  648. package/build/client/_app/immutable/chunks/BzaeIa_Z.js.br +0 -0
  649. package/build/client/_app/immutable/chunks/BzaeIa_Z.js.gz +0 -0
  650. package/build/client/_app/immutable/chunks/C0GP2-8b.js +0 -1
  651. package/build/client/_app/immutable/chunks/C0GP2-8b.js.br +0 -0
  652. package/build/client/_app/immutable/chunks/C0GP2-8b.js.gz +0 -0
  653. package/build/client/_app/immutable/chunks/C3tZQRMf.js +0 -1
  654. package/build/client/_app/immutable/chunks/C3tZQRMf.js.br +0 -0
  655. package/build/client/_app/immutable/chunks/C3tZQRMf.js.gz +0 -0
  656. package/build/client/_app/immutable/chunks/C6r96Eyi.js +0 -1
  657. package/build/client/_app/immutable/chunks/C6r96Eyi.js.br +0 -0
  658. package/build/client/_app/immutable/chunks/C6r96Eyi.js.gz +0 -0
  659. package/build/client/_app/immutable/chunks/C6z27OE7.js +0 -2
  660. package/build/client/_app/immutable/chunks/C6z27OE7.js.br +0 -0
  661. package/build/client/_app/immutable/chunks/C6z27OE7.js.gz +0 -0
  662. package/build/client/_app/immutable/chunks/C78ZDsKk.js +0 -1
  663. package/build/client/_app/immutable/chunks/C78ZDsKk.js.br +0 -0
  664. package/build/client/_app/immutable/chunks/C78ZDsKk.js.gz +0 -0
  665. package/build/client/_app/immutable/chunks/C7Fs1mBL.js +0 -62
  666. package/build/client/_app/immutable/chunks/C7Fs1mBL.js.br +0 -0
  667. package/build/client/_app/immutable/chunks/C7Fs1mBL.js.gz +0 -0
  668. package/build/client/_app/immutable/chunks/CCnl98J7.js +0 -1
  669. package/build/client/_app/immutable/chunks/CCnl98J7.js.br +0 -0
  670. package/build/client/_app/immutable/chunks/CCnl98J7.js.gz +0 -0
  671. package/build/client/_app/immutable/chunks/CMfBOxXQ.js +0 -1
  672. package/build/client/_app/immutable/chunks/CMfBOxXQ.js.br +0 -0
  673. package/build/client/_app/immutable/chunks/CMfBOxXQ.js.gz +0 -0
  674. package/build/client/_app/immutable/chunks/COL_5ZfB.js +0 -1
  675. package/build/client/_app/immutable/chunks/COL_5ZfB.js.br +0 -0
  676. package/build/client/_app/immutable/chunks/COL_5ZfB.js.gz +0 -0
  677. package/build/client/_app/immutable/chunks/CTEB9D1A.js +0 -1
  678. package/build/client/_app/immutable/chunks/CTEB9D1A.js.br +0 -0
  679. package/build/client/_app/immutable/chunks/CTEB9D1A.js.gz +0 -0
  680. package/build/client/_app/immutable/chunks/CVgy9834.js +0 -1
  681. package/build/client/_app/immutable/chunks/CVgy9834.js.br +0 -0
  682. package/build/client/_app/immutable/chunks/CVgy9834.js.gz +0 -0
  683. package/build/client/_app/immutable/chunks/CVml0jfr.js +0 -1
  684. package/build/client/_app/immutable/chunks/CVml0jfr.js.br +0 -0
  685. package/build/client/_app/immutable/chunks/CVml0jfr.js.gz +0 -0
  686. package/build/client/_app/immutable/chunks/CYYi7yCr.js +0 -6
  687. package/build/client/_app/immutable/chunks/CYYi7yCr.js.br +0 -0
  688. package/build/client/_app/immutable/chunks/CYYi7yCr.js.gz +0 -0
  689. package/build/client/_app/immutable/chunks/CZPeboo-.js +0 -1
  690. package/build/client/_app/immutable/chunks/CZPeboo-.js.br +0 -0
  691. package/build/client/_app/immutable/chunks/CZPeboo-.js.gz +0 -0
  692. package/build/client/_app/immutable/chunks/CaZX0vxy.js +0 -1
  693. package/build/client/_app/immutable/chunks/CaZX0vxy.js.br +0 -0
  694. package/build/client/_app/immutable/chunks/CaZX0vxy.js.gz +0 -0
  695. package/build/client/_app/immutable/chunks/Cf2gKex7.js +0 -1
  696. package/build/client/_app/immutable/chunks/Cf2gKex7.js.br +0 -0
  697. package/build/client/_app/immutable/chunks/Cf2gKex7.js.gz +0 -0
  698. package/build/client/_app/immutable/chunks/CfqBTqtn.js +0 -2
  699. package/build/client/_app/immutable/chunks/CfqBTqtn.js.br +0 -0
  700. package/build/client/_app/immutable/chunks/CfqBTqtn.js.gz +0 -0
  701. package/build/client/_app/immutable/chunks/CiUQOetT.js +0 -1
  702. package/build/client/_app/immutable/chunks/CiUQOetT.js.br +0 -0
  703. package/build/client/_app/immutable/chunks/CiUQOetT.js.gz +0 -0
  704. package/build/client/_app/immutable/chunks/CiatXE7j.js +0 -1
  705. package/build/client/_app/immutable/chunks/CiatXE7j.js.br +0 -0
  706. package/build/client/_app/immutable/chunks/CiatXE7j.js.gz +0 -0
  707. package/build/client/_app/immutable/chunks/Ck9EoeAb.js +0 -6
  708. package/build/client/_app/immutable/chunks/Ck9EoeAb.js.br +0 -0
  709. package/build/client/_app/immutable/chunks/Ck9EoeAb.js.gz +0 -0
  710. package/build/client/_app/immutable/chunks/ClrkSzQd.js +0 -2
  711. package/build/client/_app/immutable/chunks/ClrkSzQd.js.br +0 -0
  712. package/build/client/_app/immutable/chunks/ClrkSzQd.js.gz +0 -0
  713. package/build/client/_app/immutable/chunks/Cnq9BOc7.js +0 -1
  714. package/build/client/_app/immutable/chunks/Cnq9BOc7.js.br +0 -0
  715. package/build/client/_app/immutable/chunks/Cnq9BOc7.js.gz +0 -0
  716. package/build/client/_app/immutable/chunks/Cp8hcA3u.js +0 -1
  717. package/build/client/_app/immutable/chunks/Cp8hcA3u.js.br +0 -0
  718. package/build/client/_app/immutable/chunks/Cp8hcA3u.js.gz +0 -0
  719. package/build/client/_app/immutable/chunks/CqoCr8Ql.js +0 -1
  720. package/build/client/_app/immutable/chunks/CqoCr8Ql.js.br +0 -0
  721. package/build/client/_app/immutable/chunks/CqoCr8Ql.js.gz +0 -0
  722. package/build/client/_app/immutable/chunks/CseexmPn.js +0 -1
  723. package/build/client/_app/immutable/chunks/CseexmPn.js.br +0 -0
  724. package/build/client/_app/immutable/chunks/CseexmPn.js.gz +0 -0
  725. package/build/client/_app/immutable/chunks/CuwOw1LW.js +0 -1
  726. package/build/client/_app/immutable/chunks/CuwOw1LW.js.br +0 -1
  727. package/build/client/_app/immutable/chunks/CuwOw1LW.js.gz +0 -0
  728. package/build/client/_app/immutable/chunks/CyY9v8jo.js +0 -1
  729. package/build/client/_app/immutable/chunks/CyY9v8jo.js.br +0 -0
  730. package/build/client/_app/immutable/chunks/CyY9v8jo.js.gz +0 -0
  731. package/build/client/_app/immutable/chunks/D1FBTLG3.js +0 -1
  732. package/build/client/_app/immutable/chunks/D1FBTLG3.js.br +0 -0
  733. package/build/client/_app/immutable/chunks/D1FBTLG3.js.gz +0 -0
  734. package/build/client/_app/immutable/chunks/D2znDGM9.js +0 -1
  735. package/build/client/_app/immutable/chunks/D2znDGM9.js.br +0 -0
  736. package/build/client/_app/immutable/chunks/D2znDGM9.js.gz +0 -0
  737. package/build/client/_app/immutable/chunks/DBe0ItsO.js +0 -1
  738. package/build/client/_app/immutable/chunks/DBe0ItsO.js.br +0 -0
  739. package/build/client/_app/immutable/chunks/DBe0ItsO.js.gz +0 -0
  740. package/build/client/_app/immutable/chunks/DEvUyhmD.js +0 -1
  741. package/build/client/_app/immutable/chunks/DEvUyhmD.js.br +0 -0
  742. package/build/client/_app/immutable/chunks/DEvUyhmD.js.gz +0 -0
  743. package/build/client/_app/immutable/chunks/DGzCSaT5.js +0 -1
  744. package/build/client/_app/immutable/chunks/DGzCSaT5.js.br +0 -0
  745. package/build/client/_app/immutable/chunks/DGzCSaT5.js.gz +0 -0
  746. package/build/client/_app/immutable/chunks/DKMbfGV2.js +0 -1
  747. package/build/client/_app/immutable/chunks/DKMbfGV2.js.br +0 -0
  748. package/build/client/_app/immutable/chunks/DKMbfGV2.js.gz +0 -0
  749. package/build/client/_app/immutable/chunks/DMaFToWa.js +0 -1
  750. package/build/client/_app/immutable/chunks/DMaFToWa.js.br +0 -0
  751. package/build/client/_app/immutable/chunks/DMaFToWa.js.gz +0 -0
  752. package/build/client/_app/immutable/chunks/DOcnk_Iz.js +0 -1
  753. package/build/client/_app/immutable/chunks/DOcnk_Iz.js.br +0 -0
  754. package/build/client/_app/immutable/chunks/DOcnk_Iz.js.gz +0 -0
  755. package/build/client/_app/immutable/chunks/DPG9zo5w.js +0 -1
  756. package/build/client/_app/immutable/chunks/DPG9zo5w.js.br +0 -0
  757. package/build/client/_app/immutable/chunks/DPG9zo5w.js.gz +0 -0
  758. package/build/client/_app/immutable/chunks/DaInEhsf.js +0 -1
  759. package/build/client/_app/immutable/chunks/DaInEhsf.js.br +0 -0
  760. package/build/client/_app/immutable/chunks/DaInEhsf.js.gz +0 -0
  761. package/build/client/_app/immutable/chunks/DauXN12s.js +0 -1
  762. package/build/client/_app/immutable/chunks/DauXN12s.js.br +0 -0
  763. package/build/client/_app/immutable/chunks/DauXN12s.js.gz +0 -0
  764. package/build/client/_app/immutable/chunks/DcMObMK7.js +0 -1
  765. package/build/client/_app/immutable/chunks/DcMObMK7.js.br +0 -0
  766. package/build/client/_app/immutable/chunks/DcMObMK7.js.gz +0 -0
  767. package/build/client/_app/immutable/chunks/DhAjT9_1.js +0 -5
  768. package/build/client/_app/immutable/chunks/DhAjT9_1.js.br +0 -0
  769. package/build/client/_app/immutable/chunks/DhAjT9_1.js.gz +0 -0
  770. package/build/client/_app/immutable/chunks/DlNTjUcK.js +0 -1
  771. package/build/client/_app/immutable/chunks/DlNTjUcK.js.br +0 -0
  772. package/build/client/_app/immutable/chunks/DlNTjUcK.js.gz +0 -0
  773. package/build/client/_app/immutable/chunks/DmZFADh0.js +0 -1
  774. package/build/client/_app/immutable/chunks/DmZFADh0.js.br +0 -0
  775. package/build/client/_app/immutable/chunks/DmZFADh0.js.gz +0 -0
  776. package/build/client/_app/immutable/chunks/DmyvifTK.js +0 -1
  777. package/build/client/_app/immutable/chunks/DmyvifTK.js.br +0 -0
  778. package/build/client/_app/immutable/chunks/DmyvifTK.js.gz +0 -0
  779. package/build/client/_app/immutable/chunks/DoRw4E3Y.js +0 -2
  780. package/build/client/_app/immutable/chunks/DoRw4E3Y.js.br +0 -0
  781. package/build/client/_app/immutable/chunks/DoRw4E3Y.js.gz +0 -0
  782. package/build/client/_app/immutable/chunks/DqTdajKC.js +0 -1
  783. package/build/client/_app/immutable/chunks/DqTdajKC.js.br +0 -0
  784. package/build/client/_app/immutable/chunks/DqTdajKC.js.gz +0 -0
  785. package/build/client/_app/immutable/chunks/Dr5WHZNT.js +0 -1
  786. package/build/client/_app/immutable/chunks/Dr5WHZNT.js.br +0 -0
  787. package/build/client/_app/immutable/chunks/Dr5WHZNT.js.gz +0 -0
  788. package/build/client/_app/immutable/chunks/Dt3N8Hez.js +0 -3
  789. package/build/client/_app/immutable/chunks/Dt3N8Hez.js.br +0 -0
  790. package/build/client/_app/immutable/chunks/Dt3N8Hez.js.gz +0 -0
  791. package/build/client/_app/immutable/chunks/DtD2Y_Dr.js +0 -1
  792. package/build/client/_app/immutable/chunks/DtD2Y_Dr.js.br +0 -0
  793. package/build/client/_app/immutable/chunks/DtD2Y_Dr.js.gz +0 -0
  794. package/build/client/_app/immutable/chunks/DyU4yPaU.js +0 -6
  795. package/build/client/_app/immutable/chunks/DyU4yPaU.js.br +0 -0
  796. package/build/client/_app/immutable/chunks/DyU4yPaU.js.gz +0 -0
  797. package/build/client/_app/immutable/chunks/F5SKhJ33.js +0 -1
  798. package/build/client/_app/immutable/chunks/F5SKhJ33.js.br +0 -0
  799. package/build/client/_app/immutable/chunks/F5SKhJ33.js.gz +0 -0
  800. package/build/client/_app/immutable/chunks/FJoUa_PR.js +0 -2
  801. package/build/client/_app/immutable/chunks/FJoUa_PR.js.br +0 -0
  802. package/build/client/_app/immutable/chunks/FJoUa_PR.js.gz +0 -0
  803. package/build/client/_app/immutable/chunks/HE_L8BZy.js +0 -1
  804. package/build/client/_app/immutable/chunks/HE_L8BZy.js.br +0 -0
  805. package/build/client/_app/immutable/chunks/HE_L8BZy.js.gz +0 -0
  806. package/build/client/_app/immutable/chunks/Jyk2s3ap.js +0 -1
  807. package/build/client/_app/immutable/chunks/Jyk2s3ap.js.br +0 -0
  808. package/build/client/_app/immutable/chunks/Jyk2s3ap.js.gz +0 -0
  809. package/build/client/_app/immutable/chunks/Pq0PSdOV.js +0 -1
  810. package/build/client/_app/immutable/chunks/Pq0PSdOV.js.br +0 -0
  811. package/build/client/_app/immutable/chunks/Pq0PSdOV.js.gz +0 -0
  812. package/build/client/_app/immutable/chunks/Qkk13bNR.js +0 -1
  813. package/build/client/_app/immutable/chunks/Qkk13bNR.js.br +0 -0
  814. package/build/client/_app/immutable/chunks/Qkk13bNR.js.gz +0 -0
  815. package/build/client/_app/immutable/chunks/WPBAVIF-.js +0 -1
  816. package/build/client/_app/immutable/chunks/WPBAVIF-.js.br +0 -0
  817. package/build/client/_app/immutable/chunks/WPBAVIF-.js.gz +0 -0
  818. package/build/client/_app/immutable/chunks/ZpfR4O1W.js +0 -1
  819. package/build/client/_app/immutable/chunks/ZpfR4O1W.js.br +0 -3
  820. package/build/client/_app/immutable/chunks/ZpfR4O1W.js.gz +0 -0
  821. package/build/client/_app/immutable/chunks/bz-rffqD.js +0 -1
  822. package/build/client/_app/immutable/chunks/bz-rffqD.js.br +0 -0
  823. package/build/client/_app/immutable/chunks/bz-rffqD.js.gz +0 -0
  824. package/build/client/_app/immutable/chunks/cn3db0Eu.js +0 -1
  825. package/build/client/_app/immutable/chunks/cn3db0Eu.js.br +0 -0
  826. package/build/client/_app/immutable/chunks/cn3db0Eu.js.gz +0 -0
  827. package/build/client/_app/immutable/chunks/dPcYB-8F.js +0 -1
  828. package/build/client/_app/immutable/chunks/dPcYB-8F.js.br +0 -0
  829. package/build/client/_app/immutable/chunks/dPcYB-8F.js.gz +0 -0
  830. package/build/client/_app/immutable/chunks/g935d0hS.js +0 -1
  831. package/build/client/_app/immutable/chunks/g935d0hS.js.br +0 -0
  832. package/build/client/_app/immutable/chunks/g935d0hS.js.gz +0 -0
  833. package/build/client/_app/immutable/chunks/hABrpXhm.js +0 -1
  834. package/build/client/_app/immutable/chunks/hABrpXhm.js.br +0 -0
  835. package/build/client/_app/immutable/chunks/hABrpXhm.js.gz +0 -0
  836. package/build/client/_app/immutable/chunks/hG2NMSLy.js +0 -1
  837. package/build/client/_app/immutable/chunks/hG2NMSLy.js.br +0 -0
  838. package/build/client/_app/immutable/chunks/hG2NMSLy.js.gz +0 -0
  839. package/build/client/_app/immutable/chunks/k9B4BpVo.js +0 -1
  840. package/build/client/_app/immutable/chunks/k9B4BpVo.js.br +0 -0
  841. package/build/client/_app/immutable/chunks/k9B4BpVo.js.gz +0 -0
  842. package/build/client/_app/immutable/chunks/mldb2ZSY.js +0 -1
  843. package/build/client/_app/immutable/chunks/mldb2ZSY.js.br +0 -0
  844. package/build/client/_app/immutable/chunks/mldb2ZSY.js.gz +0 -0
  845. package/build/client/_app/immutable/chunks/pK-hw0Fs.js +0 -1
  846. package/build/client/_app/immutable/chunks/pK-hw0Fs.js.br +0 -0
  847. package/build/client/_app/immutable/chunks/pK-hw0Fs.js.gz +0 -0
  848. package/build/client/_app/immutable/chunks/qL90aEhP.js +0 -1
  849. package/build/client/_app/immutable/chunks/qL90aEhP.js.br +0 -0
  850. package/build/client/_app/immutable/chunks/qL90aEhP.js.gz +0 -0
  851. package/build/client/_app/immutable/chunks/sJOYqL84.js +0 -1
  852. package/build/client/_app/immutable/chunks/sJOYqL84.js.br +0 -0
  853. package/build/client/_app/immutable/chunks/sJOYqL84.js.gz +0 -0
  854. package/build/client/_app/immutable/chunks/xtM1htB2.js +0 -1
  855. package/build/client/_app/immutable/chunks/xtM1htB2.js.br +0 -0
  856. package/build/client/_app/immutable/chunks/xtM1htB2.js.gz +0 -0
  857. package/build/client/_app/immutable/chunks/yErhTWsV.js +0 -1
  858. package/build/client/_app/immutable/chunks/yErhTWsV.js.br +0 -0
  859. package/build/client/_app/immutable/chunks/yErhTWsV.js.gz +0 -0
  860. package/build/client/_app/immutable/entry/app.CNYsYhC4.js +0 -2
  861. package/build/client/_app/immutable/entry/app.CNYsYhC4.js.br +0 -0
  862. package/build/client/_app/immutable/entry/app.CNYsYhC4.js.gz +0 -0
  863. package/build/client/_app/immutable/entry/start.mK_UHwMN.js +0 -1
  864. package/build/client/_app/immutable/entry/start.mK_UHwMN.js.br +0 -0
  865. package/build/client/_app/immutable/entry/start.mK_UHwMN.js.gz +0 -0
  866. package/build/client/_app/immutable/nodes/0.DtN4YFje.js +0 -10
  867. package/build/client/_app/immutable/nodes/0.DtN4YFje.js.br +0 -0
  868. package/build/client/_app/immutable/nodes/0.DtN4YFje.js.gz +0 -0
  869. package/build/client/_app/immutable/nodes/1.ClvVCr4L.js +0 -1
  870. package/build/client/_app/immutable/nodes/1.ClvVCr4L.js.br +0 -0
  871. package/build/client/_app/immutable/nodes/1.ClvVCr4L.js.gz +0 -0
  872. package/build/client/_app/immutable/nodes/11.OqWsY9Nc.js +0 -1
  873. package/build/client/_app/immutable/nodes/11.OqWsY9Nc.js.br +0 -0
  874. package/build/client/_app/immutable/nodes/11.OqWsY9Nc.js.gz +0 -0
  875. package/build/client/_app/immutable/nodes/12.DfgqDS8l.js +0 -3
  876. package/build/client/_app/immutable/nodes/12.DfgqDS8l.js.br +0 -0
  877. package/build/client/_app/immutable/nodes/12.DfgqDS8l.js.gz +0 -0
  878. package/build/client/_app/immutable/nodes/13.1duazv8t.js +0 -1
  879. package/build/client/_app/immutable/nodes/13.1duazv8t.js.br +0 -0
  880. package/build/client/_app/immutable/nodes/13.1duazv8t.js.gz +0 -0
  881. package/build/client/_app/immutable/nodes/14.BfIerr4V.js +0 -14
  882. package/build/client/_app/immutable/nodes/14.BfIerr4V.js.br +0 -0
  883. package/build/client/_app/immutable/nodes/14.BfIerr4V.js.gz +0 -0
  884. package/build/client/_app/immutable/nodes/15.DmLlt-C-.js +0 -150
  885. package/build/client/_app/immutable/nodes/15.DmLlt-C-.js.br +0 -0
  886. package/build/client/_app/immutable/nodes/15.DmLlt-C-.js.gz +0 -0
  887. package/build/client/_app/immutable/nodes/16.CzFG4aOU.js +0 -3
  888. package/build/client/_app/immutable/nodes/16.CzFG4aOU.js.br +0 -0
  889. package/build/client/_app/immutable/nodes/16.CzFG4aOU.js.gz +0 -0
  890. package/build/client/_app/immutable/nodes/17.BaPPg4SL.js +0 -4
  891. package/build/client/_app/immutable/nodes/17.BaPPg4SL.js.br +0 -0
  892. package/build/client/_app/immutable/nodes/17.BaPPg4SL.js.gz +0 -0
  893. package/build/client/_app/immutable/nodes/19.C2oiQ46N.js +0 -2
  894. package/build/client/_app/immutable/nodes/19.C2oiQ46N.js.br +0 -2
  895. package/build/client/_app/immutable/nodes/19.C2oiQ46N.js.gz +0 -0
  896. package/build/client/_app/immutable/nodes/2.Dq_B0Tbj.js +0 -25
  897. package/build/client/_app/immutable/nodes/2.Dq_B0Tbj.js.br +0 -0
  898. package/build/client/_app/immutable/nodes/2.Dq_B0Tbj.js.gz +0 -0
  899. package/build/client/_app/immutable/nodes/20.CPMVfHf7.js +0 -11
  900. package/build/client/_app/immutable/nodes/20.CPMVfHf7.js.br +0 -0
  901. package/build/client/_app/immutable/nodes/20.CPMVfHf7.js.gz +0 -0
  902. package/build/client/_app/immutable/nodes/21.9YuqSrL7.js +0 -6
  903. package/build/client/_app/immutable/nodes/21.9YuqSrL7.js.br +0 -0
  904. package/build/client/_app/immutable/nodes/21.9YuqSrL7.js.gz +0 -0
  905. package/build/client/_app/immutable/nodes/22.BO24qytx.js +0 -2
  906. package/build/client/_app/immutable/nodes/22.BO24qytx.js.br +0 -0
  907. package/build/client/_app/immutable/nodes/22.BO24qytx.js.gz +0 -0
  908. package/build/client/_app/immutable/nodes/23.BZVPu-10.js +0 -4
  909. package/build/client/_app/immutable/nodes/23.BZVPu-10.js.br +0 -0
  910. package/build/client/_app/immutable/nodes/23.BZVPu-10.js.gz +0 -0
  911. package/build/client/_app/immutable/nodes/24.6GcEKUlO.js +0 -7
  912. package/build/client/_app/immutable/nodes/24.6GcEKUlO.js.br +0 -0
  913. package/build/client/_app/immutable/nodes/24.6GcEKUlO.js.gz +0 -0
  914. package/build/client/_app/immutable/nodes/25.w0lArDUN.js +0 -12
  915. package/build/client/_app/immutable/nodes/25.w0lArDUN.js.br +0 -0
  916. package/build/client/_app/immutable/nodes/25.w0lArDUN.js.gz +0 -0
  917. package/build/client/_app/immutable/nodes/26.Hf_eo1VF.js +0 -4
  918. package/build/client/_app/immutable/nodes/26.Hf_eo1VF.js.br +0 -0
  919. package/build/client/_app/immutable/nodes/26.Hf_eo1VF.js.gz +0 -0
  920. package/build/client/_app/immutable/nodes/27.BtdPxpe8.js +0 -1
  921. package/build/client/_app/immutable/nodes/27.BtdPxpe8.js.br +0 -0
  922. package/build/client/_app/immutable/nodes/27.BtdPxpe8.js.gz +0 -0
  923. package/build/client/_app/immutable/nodes/28.CKKhSvp0.js +0 -6
  924. package/build/client/_app/immutable/nodes/28.CKKhSvp0.js.br +0 -0
  925. package/build/client/_app/immutable/nodes/28.CKKhSvp0.js.gz +0 -0
  926. package/build/client/_app/immutable/nodes/3.BtWx-zmQ.js +0 -5
  927. package/build/client/_app/immutable/nodes/3.BtWx-zmQ.js.br +0 -0
  928. package/build/client/_app/immutable/nodes/3.BtWx-zmQ.js.gz +0 -0
  929. package/build/client/_app/immutable/nodes/4.BIwEKk5d.js +0 -1
  930. package/build/client/_app/immutable/nodes/4.BIwEKk5d.js.br +0 -0
  931. package/build/client/_app/immutable/nodes/4.BIwEKk5d.js.gz +0 -0
  932. package/build/client/_app/immutable/nodes/5.DN5gHj4T.js +0 -1
  933. package/build/client/_app/immutable/nodes/5.DN5gHj4T.js.br +0 -0
  934. package/build/client/_app/immutable/nodes/5.DN5gHj4T.js.gz +0 -0
  935. package/build/client/_app/immutable/nodes/6.B2TumWTu.js +0 -2
  936. package/build/client/_app/immutable/nodes/6.B2TumWTu.js.br +0 -0
  937. package/build/client/_app/immutable/nodes/6.B2TumWTu.js.gz +0 -0
  938. package/build/client/_app/immutable/nodes/7.7HwkhZCu.js +0 -7
  939. package/build/client/_app/immutable/nodes/7.7HwkhZCu.js.br +0 -0
  940. package/build/client/_app/immutable/nodes/7.7HwkhZCu.js.gz +0 -0
  941. package/build/client/_app/immutable/nodes/8.BdDQA39V.js +0 -5
  942. package/build/client/_app/immutable/nodes/8.BdDQA39V.js.br +0 -0
  943. package/build/client/_app/immutable/nodes/8.BdDQA39V.js.gz +0 -0
  944. package/build/client/_app/immutable/nodes/9.BFDI6Dge.js +0 -1
  945. package/build/client/_app/immutable/nodes/9.BFDI6Dge.js.br +0 -0
  946. package/build/client/_app/immutable/nodes/9.BFDI6Dge.js.gz +0 -0
  947. package/build/server/chunks/chunks/DecisionCard.js-BGiCJsY8.js +0 -1650
  948. package/build/server/chunks/chunks/EveryProjectSwitch.js-Y9V_kZu-.js +0 -160
  949. package/build/server/chunks/chunks/InsightsNav.js-BuykbHO_.js +0 -18
  950. package/build/server/chunks/chunks/InstallFromGitHub.js-D4tZgz1R.js +0 -691
  951. package/build/server/chunks/chunks/OpenDecision.js-DXWQXckD.js +0 -47
  952. package/build/server/chunks/chunks/Sheet.js-13o9LKQh.js +0 -3854
  953. package/build/server/chunks/chunks/Switch.js-5SL7Wwa1.js +0 -66
  954. package/build/server/chunks/chunks/decisionform.js-Cy0nUQ8l.js +0 -137
  955. package/build/server/chunks/chunks/detail.js-C0HwzMn_.js +0 -146
  956. package/build/server/chunks/chunks/dialog-content.js-CuWOPqMm.js +0 -3356
  957. package/build/server/chunks/chunks/feedback.js-C0F-OaSn.js +0 -67
  958. package/build/server/chunks/chunks/insights.svelte.js-EX826idS.js +0 -732
  959. package/build/server/chunks/chunks/internal.js-C0t7gs85.js +0 -151
  960. package/build/server/chunks/chunks/keychain.js-Bl9yNOSB.js +0 -52
  961. package/build/server/chunks/chunks/nav.js-DcQjV5OF.js +0 -30
  962. package/build/server/chunks/chunks/page.js-CJdNW_XA.js +0 -11
  963. package/build/server/chunks/chunks/previewhelper2.js-BCYWAXyJ.js +0 -165
  964. package/build/server/chunks/chunks/repo.js-CNzWdJys.js +0 -33
  965. package/build/server/chunks/chunks/runtime.js-DgaQqsVF.js +0 -17833
  966. package/build/server/chunks/chunks/service.js-Cy0qlGNT.js +0 -1337
  967. package/build/server/chunks/chunks/service2.js-BUuLZLu5.js +0 -1140
  968. package/build/server/chunks/chunks/starter.js-DRsRq6lV.js +0 -628
  969. package/build/server/chunks/chunks/view.js-BSXOPXh3.js +0 -76
  970. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-DHRttFTZ.js +0 -96
  971. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DRUnwmY_.js +0 -79
  972. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-Bf8mLtRw.js +0 -43
  973. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CFQWYnSF.js +0 -106
  974. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-DivBWRYq.js +0 -55
  975. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-tTC_RJl3.js +0 -89
  976. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-vZvRvOTi.js +0 -125
  977. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-BSZ_yvi2.js +0 -51
  978. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-GcLDzApj.js +0 -57
  979. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CE4NXzMK.js +0 -50
  980. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CaxvkmW1.js +0 -97
  981. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DjGy8j6U.js +0 -60
  982. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-B9JTcRZ-.js +0 -71
  983. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-LA2imWIt.js +0 -50
  984. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-CpR9UKUp.js +0 -42
  985. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-Ct3zJpGp.js +0 -106
  986. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-o_9aL7gt.js +0 -42
  987. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-DhOBDQa6.js +0 -66
  988. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BKxB5PDV.js +0 -57
  989. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-D5Gg4kol.js +0 -42
  990. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-A1lw0Ldv.js +0 -77
  991. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BFAOjNft.js +0 -66
  992. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-Dmq3DhyB.js +0 -61
  993. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-Z_D76GMl.js +0 -58
  994. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-C8BaVcnJ.js +0 -27
  995. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BMYZAEQn.js +0 -65
  996. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-QhAgv3Mq.js +0 -39
  997. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-BkXisb_q.js +0 -42
  998. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BxBVAipn.js +0 -39
  999. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DHe0Y-ck.js +0 -42
  1000. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DyrnKFGK.js +0 -27
  1001. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-B5-Q_Pfy.js +0 -65
  1002. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CXT0t4GT.js +0 -47
  1003. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-C4GIfRHH.js +0 -56
  1004. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-Dc9s4cez.js +0 -68
  1005. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-vdzB2xgv.js +0 -55
  1006. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-C_FJm_du.js +0 -78
  1007. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BULKZ_84.js +0 -61
  1008. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BWi__jmG.js +0 -51
  1009. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-Dlm9JukW.js +0 -61
  1010. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-8KkKfI-b.js +0 -100
  1011. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-C0t3n3rC.js +0 -50
  1012. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-DhWmfcw8.js +0 -47
  1013. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-CzSFHZLr.js +0 -66
  1014. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-DXLL2NLX.js +0 -59
  1015. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DscE2sa8.js +0 -107
  1016. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-qxRt7CO9.js +0 -61
  1017. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CVC67F8h.js +0 -64
  1018. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-C9jI7ywJ.js +0 -68
  1019. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-QcFb__5e.js +0 -40
  1020. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-yYEp6hFu.js +0 -27
  1021. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-YcIPKmyk.js +0 -27
  1022. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-Dl5YccjX.js +0 -46
  1023. package/build/server/chunks/entries/hooks.server.js-BGT9tj5a.js +0 -79
  1024. package/build/server/chunks/entries/pages/_layout.server.ts.js-BPqTpXnT.js +0 -27
  1025. package/build/server/chunks/entries/pages/_layout.svelte.js-DrL1HCPc.js +0 -5501
  1026. package/build/server/chunks/entries/pages/_page.server.ts.js-Ck4LSRvY.js +0 -16
  1027. package/build/server/chunks/entries/pages/_page.svelte.js-C0XtmgnT.js +0 -3271
  1028. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-ffNDlvSu.js +0 -11
  1029. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-CvbTkNdA.js +0 -202
  1030. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DF0j_WRo.js +0 -16
  1031. package/build/server/chunks/entries/pages/deck/_page.svelte.js-ByaF4X4f.js +0 -101
  1032. package/build/server/chunks/entries/pages/files/_page.server.ts.js-l4nvknAj.js +0 -17
  1033. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-Dbjsqtp9.js +0 -46
  1034. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-CwQpGWGn.js +0 -11
  1035. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Bofa0rV1.js +0 -183
  1036. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-LnoZxPlZ.js +0 -11
  1037. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-NEaMeQr4.js +0 -192
  1038. package/build/server/chunks/entries/pages/more/_page.svelte.js-Biw-GzWK.js +0 -108
  1039. package/build/server/chunks/entries/pages/plugins/_page.server.ts.js-D_nxVVQ0.js +0 -11
  1040. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-qN2haElN.js +0 -16
  1041. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-C_KiW7id.js +0 -23
  1042. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-Bgx5a4Bq.js +0 -21
  1043. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-BbsvTa0x.js +0 -27
  1044. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DyN1H2dy.js +0 -15
  1045. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-BYdNkq73.js +0 -11
  1046. package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-oouHUw1O.js +0 -11
  1047. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-C4QsORKn.js +0 -11
  1048. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-K1Bl3LMF.js +0 -19
  1049. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BclcwMMK.js +0 -611
  1050. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-Bb7A-51X.js +0 -17
  1051. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-DU1PVspq.js +0 -229
  1052. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-CYEEIqKU.js +0 -11
  1053. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-Bvs60PVx.js +0 -11
  1054. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-B1wfLoGz.js +0 -18
  1055. package/build/server/chunks/entries/pages/setup/_page.svelte.js-Cnl_NDaT.js +0 -979
  1056. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-CpWnd8Ii.js +0 -25
  1057. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-BsZxwgSh.js +0 -2951
  1058. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-B16EJzeL.js +0 -24
  1059. package/build/server/chunks/entries/pages/time/_page.server.ts.js-CqYmO2e_.js +0 -11
  1060. package/build/server/chunks/entries/pages/time/_page.svelte.js-sI9ldCiM.js +0 -108
  1061. package/build/server/chunks/handler-55U1exID.js +0 -1474
  1062. package/build/server/chunks/index.js-_VxtUxOR.js +0 -4296
  1063. package/build/server/chunks/manifest.js-CvlmBvHi.js +0 -642
  1064. package/build/server/chunks/nodes/0.js-0UOgcqd1.js +0 -49
  1065. package/build/server/chunks/nodes/1.js-BpZhjsrX.js +0 -9
  1066. package/build/server/chunks/nodes/10.js-CqEYHIx6.js +0 -12
  1067. package/build/server/chunks/nodes/11.js-D73yUAUK.js +0 -47
  1068. package/build/server/chunks/nodes/12.js-wge33Kh_.js +0 -49
  1069. package/build/server/chunks/nodes/13.js-CP9VWd6v.js +0 -48
  1070. package/build/server/chunks/nodes/14.js-pI9xqI8W.js +0 -49
  1071. package/build/server/chunks/nodes/15.js-BADx9-2h.js +0 -48
  1072. package/build/server/chunks/nodes/16.js-B1DTie2c.js +0 -25
  1073. package/build/server/chunks/nodes/17.js-DqrtuOB_.js +0 -9
  1074. package/build/server/chunks/nodes/19.js-DG8BDwO1.js +0 -25
  1075. package/build/server/chunks/nodes/2.js-Blr6vlmx.js +0 -47
  1076. package/build/server/chunks/nodes/20.js-P8jhtZV0.js +0 -47
  1077. package/build/server/chunks/nodes/21.js-Dahbb_SQ.js +0 -47
  1078. package/build/server/chunks/nodes/22.js-Br6SrZKH.js +0 -50
  1079. package/build/server/chunks/nodes/23.js-BS4hjiBj.js +0 -49
  1080. package/build/server/chunks/nodes/24.js-DGa7X3nY.js +0 -26
  1081. package/build/server/chunks/nodes/25.js-C8Rf-PwV.js +0 -51
  1082. package/build/server/chunks/nodes/26.js-B8iZRseb.js +0 -48
  1083. package/build/server/chunks/nodes/27.js-B8HE4f8h.js +0 -48
  1084. package/build/server/chunks/nodes/28.js-NecfT5Uo.js +0 -47
  1085. package/build/server/chunks/nodes/3.js-CsbGbh89.js +0 -47
  1086. package/build/server/chunks/nodes/4.js-B75wgQPd.js +0 -47
  1087. package/build/server/chunks/nodes/5.js-DLOa8tSh.js +0 -47
  1088. package/build/server/chunks/nodes/6.js-CiYesw8R.js +0 -51
  1089. package/build/server/chunks/nodes/7.js-Bs4Z3Vhh.js +0 -47
  1090. package/build/server/chunks/nodes/8.js-BrqJRPDG.js +0 -47
  1091. package/build/server/chunks/nodes/9.js-BxYs6WJn.js +0 -9
@@ -0,0 +1,3854 @@
1
+ import { ac as spread_props, a7 as bind_props, ah as props_id, _ as derived, a5 as attributes, ak as escape_html } from './index.js-CNAJQSM0.js';
2
+ import { I as Icon } from './Icon.js-DZKsF3Gu.js';
3
+ import { n as noop, b as boxWith, D as Dialog, P as Portal, C as Context, a as PresenceManager, w as watch, s as simpleBox, c as createBitsAttrs, d as Dialog_overlay, e as Dialog_content, f as createId, g as attachRef, h as DOMContext, i as isTouch, E as ENTER, S as SPACE, j as getDataOpenClosed, k as boolToStr, l as isElement$1, m as isTabbable, o as getDataTransitionAttrs, p as mergeProps, q as boxFrom, r as getDocument, u as useId, t as cssToStyleObj, v as isNotNull, x as styleToString, y as getWindow$1, z as defaultWindow, A as Dialog_title, B as Dialog_close, F as Scroll_lock, G as Focus_scope, H as Escape_layer, I as Dismissible_layer, T as Text_selection_layer } from './dialog-content.js-p_-FwAQn.js';
4
+ import { c as createSubscriber } from './index-server2.js-DMc-UvjC.js';
5
+ import { o as on } from './root.js-BMwYWidL.js';
6
+ import { l as linkedPreviews, a as pageOf, i as isBoard } from './previewnote.js-DB6VK2fp.js';
7
+ import { e as extractUrls } from './urls.js-CM6aklCF.js';
8
+ import { X } from './x.js-vo5qKISo.js';
9
+
10
+ /**
11
+ * Custom positioning reference element.
12
+ * @see https://floating-ui.com/docs/virtual-elements
13
+ */
14
+
15
+ const sides = ['top', 'right', 'bottom', 'left'];
16
+ const min = Math.min;
17
+ const max = Math.max;
18
+ const round = Math.round;
19
+ const createCoords = v => ({
20
+ x: v,
21
+ y: v
22
+ });
23
+ const oppositeSideMap = {
24
+ left: 'right',
25
+ right: 'left',
26
+ bottom: 'top',
27
+ top: 'bottom'
28
+ };
29
+ function clamp(start, value, end) {
30
+ return max(start, min(value, end));
31
+ }
32
+ function evaluate(value, param) {
33
+ return typeof value === 'function' ? value(param) : value;
34
+ }
35
+ function getSide$1(placement) {
36
+ return placement.split('-')[0];
37
+ }
38
+ function getAlignment(placement) {
39
+ return placement.split('-')[1];
40
+ }
41
+ function getOppositeAxis(axis) {
42
+ return axis === 'x' ? 'y' : 'x';
43
+ }
44
+ function getAxisLength(axis) {
45
+ return axis === 'y' ? 'height' : 'width';
46
+ }
47
+ function getSideAxis(placement) {
48
+ const firstChar = placement[0];
49
+ return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
50
+ }
51
+ function getAlignmentAxis(placement) {
52
+ return getOppositeAxis(getSideAxis(placement));
53
+ }
54
+ function getAlignmentSides(placement, rects, rtl) {
55
+ if (rtl === void 0) {
56
+ rtl = false;
57
+ }
58
+ const alignment = getAlignment(placement);
59
+ const alignmentAxis = getAlignmentAxis(placement);
60
+ const length = getAxisLength(alignmentAxis);
61
+ let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
62
+ if (rects.reference[length] > rects.floating[length]) {
63
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
64
+ }
65
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
66
+ }
67
+ function getExpandedPlacements(placement) {
68
+ const oppositePlacement = getOppositePlacement(placement);
69
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
70
+ }
71
+ function getOppositeAlignmentPlacement(placement) {
72
+ return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
73
+ }
74
+ const lrPlacement = ['left', 'right'];
75
+ const rlPlacement = ['right', 'left'];
76
+ const tbPlacement = ['top', 'bottom'];
77
+ const btPlacement = ['bottom', 'top'];
78
+ function getSideList(side, isStart, rtl) {
79
+ switch (side) {
80
+ case 'top':
81
+ case 'bottom':
82
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
83
+ return isStart ? lrPlacement : rlPlacement;
84
+ case 'left':
85
+ case 'right':
86
+ return isStart ? tbPlacement : btPlacement;
87
+ default:
88
+ return [];
89
+ }
90
+ }
91
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
92
+ const alignment = getAlignment(placement);
93
+ let list = getSideList(getSide$1(placement), direction === 'start', rtl);
94
+ if (alignment) {
95
+ list = list.map(side => side + "-" + alignment);
96
+ if (flipAlignment) {
97
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
98
+ }
99
+ }
100
+ return list;
101
+ }
102
+ function getOppositePlacement(placement) {
103
+ const side = getSide$1(placement);
104
+ return oppositeSideMap[side] + placement.slice(side.length);
105
+ }
106
+ function expandPaddingObject(padding) {
107
+ var _padding$top, _padding$right, _padding$bottom, _padding$left;
108
+ return {
109
+ top: (_padding$top = padding.top) != null ? _padding$top : 0,
110
+ right: (_padding$right = padding.right) != null ? _padding$right : 0,
111
+ bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
112
+ left: (_padding$left = padding.left) != null ? _padding$left : 0
113
+ };
114
+ }
115
+ function getPaddingObject(padding) {
116
+ return typeof padding !== 'number' ? expandPaddingObject(padding) : {
117
+ top: padding,
118
+ right: padding,
119
+ bottom: padding,
120
+ left: padding
121
+ };
122
+ }
123
+ function rectToClientRect(rect) {
124
+ const {
125
+ x,
126
+ y,
127
+ width,
128
+ height
129
+ } = rect;
130
+ return {
131
+ width,
132
+ height,
133
+ top: y,
134
+ left: x,
135
+ right: x + width,
136
+ bottom: y + height,
137
+ x,
138
+ y
139
+ };
140
+ }
141
+
142
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
143
+ let {
144
+ reference,
145
+ floating
146
+ } = _ref;
147
+ const sideAxis = getSideAxis(placement);
148
+ const alignmentAxis = getAlignmentAxis(placement);
149
+ const alignLength = getAxisLength(alignmentAxis);
150
+ const side = getSide$1(placement);
151
+ const isVertical = sideAxis === 'y';
152
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
153
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
154
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
155
+ let coords;
156
+ switch (side) {
157
+ case 'top':
158
+ coords = {
159
+ x: commonX,
160
+ y: reference.y - floating.height
161
+ };
162
+ break;
163
+ case 'bottom':
164
+ coords = {
165
+ x: commonX,
166
+ y: reference.y + reference.height
167
+ };
168
+ break;
169
+ case 'right':
170
+ coords = {
171
+ x: reference.x + reference.width,
172
+ y: commonY
173
+ };
174
+ break;
175
+ case 'left':
176
+ coords = {
177
+ x: reference.x - floating.width,
178
+ y: commonY
179
+ };
180
+ break;
181
+ default:
182
+ coords = {
183
+ x: reference.x,
184
+ y: reference.y
185
+ };
186
+ }
187
+ const alignment = getAlignment(placement);
188
+ if (alignment) {
189
+ coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
190
+ }
191
+ return coords;
192
+ }
193
+
194
+ /**
195
+ * Resolves with an object of overflow side offsets that determine how much the
196
+ * element is overflowing a given clipping boundary on each side.
197
+ * - positive = overflowing the boundary by that number of pixels
198
+ * - negative = how many pixels left before it will overflow
199
+ * - 0 = lies flush with the boundary
200
+ * @see https://floating-ui.com/docs/detectOverflow
201
+ */
202
+ async function detectOverflow(state, options) {
203
+ var _await$platform$isEle;
204
+ if (options === void 0) {
205
+ options = {};
206
+ }
207
+ const {
208
+ x,
209
+ y,
210
+ platform,
211
+ rects,
212
+ elements,
213
+ strategy
214
+ } = state;
215
+ const {
216
+ boundary = 'clippingAncestors',
217
+ rootBoundary = 'viewport',
218
+ elementContext = 'floating',
219
+ altBoundary = false,
220
+ padding = 0
221
+ } = evaluate(options, state);
222
+ const paddingObject = getPaddingObject(padding);
223
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
224
+ const element = elements[altBoundary ? altContext : elementContext];
225
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
226
+ 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))),
227
+ boundary,
228
+ rootBoundary,
229
+ strategy
230
+ }));
231
+ const rect = elementContext === 'floating' ? {
232
+ x,
233
+ y,
234
+ width: rects.floating.width,
235
+ height: rects.floating.height
236
+ } : rects.reference;
237
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
238
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
239
+ x: 1,
240
+ y: 1
241
+ };
242
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
243
+ elements,
244
+ rect,
245
+ offsetParent,
246
+ strategy
247
+ }) : rect);
248
+ return {
249
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
250
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
251
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
252
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
253
+ };
254
+ }
255
+
256
+ // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
257
+ const MAX_RESET_COUNT = 50;
258
+
259
+ /**
260
+ * Computes the `x` and `y` coordinates that will place the floating element
261
+ * next to a given reference element.
262
+ *
263
+ * This export does not have any `platform` interface logic. You will need to
264
+ * write one for the platform you are using Floating UI with.
265
+ */
266
+ const computePosition$1 = async (reference, floating, config) => {
267
+ const {
268
+ placement = 'bottom',
269
+ strategy = 'absolute',
270
+ middleware = [],
271
+ platform
272
+ } = config;
273
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
274
+ ...platform,
275
+ detectOverflow
276
+ };
277
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
278
+ let rects = await platform.getElementRects({
279
+ reference,
280
+ floating,
281
+ strategy
282
+ });
283
+ let {
284
+ x,
285
+ y
286
+ } = computeCoordsFromPlacement(rects, placement, rtl);
287
+ let statefulPlacement = placement;
288
+ let resetCount = 0;
289
+ const middlewareData = {};
290
+ for (let i = 0; i < middleware.length; i++) {
291
+ const currentMiddleware = middleware[i];
292
+ if (!currentMiddleware) {
293
+ continue;
294
+ }
295
+ const {
296
+ name,
297
+ fn
298
+ } = currentMiddleware;
299
+ const {
300
+ x: nextX,
301
+ y: nextY,
302
+ data,
303
+ reset
304
+ } = await fn({
305
+ x,
306
+ y,
307
+ initialPlacement: placement,
308
+ placement: statefulPlacement,
309
+ strategy,
310
+ middlewareData,
311
+ rects,
312
+ platform: platformWithDetectOverflow,
313
+ elements: {
314
+ reference,
315
+ floating
316
+ }
317
+ });
318
+ x = nextX != null ? nextX : x;
319
+ y = nextY != null ? nextY : y;
320
+ middlewareData[name] = {
321
+ ...middlewareData[name],
322
+ ...data
323
+ };
324
+ if (reset && resetCount < MAX_RESET_COUNT) {
325
+ resetCount++;
326
+ if (typeof reset === 'object') {
327
+ if (reset.placement) {
328
+ statefulPlacement = reset.placement;
329
+ }
330
+ if (reset.rects) {
331
+ rects = reset.rects === true ? await platform.getElementRects({
332
+ reference,
333
+ floating,
334
+ strategy
335
+ }) : reset.rects;
336
+ }
337
+ ({
338
+ x,
339
+ y
340
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
341
+ }
342
+ i = -1;
343
+ }
344
+ }
345
+ return {
346
+ x,
347
+ y,
348
+ placement: statefulPlacement,
349
+ strategy,
350
+ middlewareData
351
+ };
352
+ };
353
+
354
+ /**
355
+ * Provides data to position an inner element of the floating element so that it
356
+ * appears centered to the reference element.
357
+ * @see https://floating-ui.com/docs/arrow
358
+ */
359
+ const arrow$1 = options => ({
360
+ name: 'arrow',
361
+ options,
362
+ async fn(state) {
363
+ const {
364
+ x,
365
+ y,
366
+ placement,
367
+ rects,
368
+ platform,
369
+ elements,
370
+ middlewareData
371
+ } = state;
372
+ // Since `element` is required, we don't Partial<> the type.
373
+ const {
374
+ element,
375
+ padding = 0
376
+ } = evaluate(options, state) || {};
377
+ if (element == null) {
378
+ return {};
379
+ }
380
+ const paddingObject = getPaddingObject(padding);
381
+ const coords = {
382
+ x,
383
+ y
384
+ };
385
+ const axis = getAlignmentAxis(placement);
386
+ const length = getAxisLength(axis);
387
+ const arrowDimensions = await platform.getDimensions(element);
388
+ const isYAxis = axis === 'y';
389
+ const minProp = isYAxis ? 'top' : 'left';
390
+ const maxProp = isYAxis ? 'bottom' : 'right';
391
+ const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
392
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
393
+ const startDiff = coords[axis] - rects.reference[axis];
394
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
395
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
396
+
397
+ // DOM platform can return `window` as the `offsetParent`.
398
+ if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
399
+ clientSize = elements.floating[clientProp] || rects.floating[length];
400
+ }
401
+ const centerToReference = endDiff / 2 - startDiff / 2;
402
+
403
+ // If the padding is large enough that it causes the arrow to no longer be
404
+ // centered, modify the padding so that it is centered.
405
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
406
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
407
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
408
+
409
+ // Make sure the arrow doesn't overflow the floating element if the center
410
+ // point is outside the floating element's bounds.
411
+ const max = clientSize - arrowDimensions[length] - maxPadding;
412
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
413
+ const offset = clamp(minPadding, center, max);
414
+
415
+ // If the reference is small enough that the arrow's padding causes it to
416
+ // to point to nothing for an aligned placement, adjust the offset of the
417
+ // floating element itself. To ensure `shift()` continues to take action,
418
+ // a single reset is performed when this is true.
419
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
420
+ const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
421
+ return {
422
+ [axis]: coords[axis] + alignmentOffset,
423
+ data: {
424
+ [axis]: offset,
425
+ centerOffset: center - offset - alignmentOffset,
426
+ ...(shouldAddOffset && {
427
+ alignmentOffset
428
+ })
429
+ },
430
+ reset: shouldAddOffset
431
+ };
432
+ }
433
+ });
434
+
435
+ /**
436
+ * Optimizes the visibility of the floating element by flipping the `placement`
437
+ * in order to keep it in view when the preferred placement(s) will overflow the
438
+ * clipping boundary. Alternative to `autoPlacement`.
439
+ * @see https://floating-ui.com/docs/flip
440
+ */
441
+ const flip$1 = function (options) {
442
+ if (options === void 0) {
443
+ options = {};
444
+ }
445
+ return {
446
+ name: 'flip',
447
+ options,
448
+ async fn(state) {
449
+ var _middlewareData$arrow, _middlewareData$flip;
450
+ const {
451
+ placement,
452
+ middlewareData,
453
+ rects,
454
+ initialPlacement,
455
+ platform,
456
+ elements
457
+ } = state;
458
+ const {
459
+ mainAxis: checkMainAxis = true,
460
+ crossAxis: checkCrossAxis = true,
461
+ fallbackPlacements: specifiedFallbackPlacements,
462
+ fallbackStrategy = 'bestFit',
463
+ fallbackAxisSideDirection = 'none',
464
+ flipAlignment = true,
465
+ ...detectOverflowOptions
466
+ } = evaluate(options, state);
467
+
468
+ // If a reset by the arrow was caused due to an alignment offset being
469
+ // added, we should skip any logic now since `flip()` has already done its
470
+ // work.
471
+ // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
472
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
473
+ return {};
474
+ }
475
+ const side = getSide$1(placement);
476
+ const initialSideAxis = getSideAxis(initialPlacement);
477
+ const isBasePlacement = getSide$1(initialPlacement) === initialPlacement;
478
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
479
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
480
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
481
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
482
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
483
+ }
484
+ const placements = [initialPlacement, ...fallbackPlacements];
485
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
486
+ const overflows = [];
487
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
488
+ if (checkMainAxis) {
489
+ overflows.push(overflow[side]);
490
+ }
491
+ if (checkCrossAxis) {
492
+ const sides = getAlignmentSides(placement, rects, rtl);
493
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
494
+ }
495
+ overflowsData = [...overflowsData, {
496
+ placement,
497
+ overflows
498
+ }];
499
+
500
+ // One or more sides is overflowing.
501
+ if (!overflows.every(side => side <= 0)) {
502
+ var _middlewareData$flip2, _overflowsData$filter;
503
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
504
+ const nextPlacement = placements[nextIndex];
505
+ if (nextPlacement) {
506
+ const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
507
+ if (!ignoreCrossAxisOverflow ||
508
+ // We leave the current main axis only if every placement on that axis
509
+ // overflows the main axis.
510
+ overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
511
+ // Try next placement and re-run the lifecycle.
512
+ return {
513
+ data: {
514
+ index: nextIndex,
515
+ overflows: overflowsData
516
+ },
517
+ reset: {
518
+ placement: nextPlacement
519
+ }
520
+ };
521
+ }
522
+ }
523
+
524
+ // First, find the candidates that fit on the mainAxis side of overflow,
525
+ // then find the placement that fits the best on the main crossAxis side.
526
+ 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;
527
+
528
+ // Otherwise fallback.
529
+ if (!resetPlacement) {
530
+ switch (fallbackStrategy) {
531
+ case 'bestFit':
532
+ {
533
+ var _overflowsData$filter2;
534
+ const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
535
+ if (hasFallbackAxisSideDirection) {
536
+ const currentSideAxis = getSideAxis(d.placement);
537
+ return currentSideAxis === initialSideAxis ||
538
+ // Create a bias to the `y` side axis due to horizontal
539
+ // reading directions favoring greater width.
540
+ currentSideAxis === 'y';
541
+ }
542
+ return true;
543
+ }).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];
544
+ if (placement) {
545
+ resetPlacement = placement;
546
+ }
547
+ break;
548
+ }
549
+ case 'initialPlacement':
550
+ resetPlacement = initialPlacement;
551
+ break;
552
+ }
553
+ }
554
+ if (placement !== resetPlacement) {
555
+ return {
556
+ reset: {
557
+ placement: resetPlacement
558
+ }
559
+ };
560
+ }
561
+ }
562
+ return {};
563
+ }
564
+ };
565
+ };
566
+
567
+ function getSideOffsets(overflow, rect) {
568
+ return {
569
+ top: overflow.top - rect.height,
570
+ right: overflow.right - rect.width,
571
+ bottom: overflow.bottom - rect.height,
572
+ left: overflow.left - rect.width
573
+ };
574
+ }
575
+ function isAnySideFullyClipped(overflow) {
576
+ return sides.some(side => overflow[side] >= 0);
577
+ }
578
+ /**
579
+ * Provides data to hide the floating element in applicable situations, such as
580
+ * when it is not in the same clipping context as the reference element.
581
+ * @see https://floating-ui.com/docs/hide
582
+ */
583
+ const hide$1 = function (options) {
584
+ if (options === void 0) {
585
+ options = {};
586
+ }
587
+ return {
588
+ name: 'hide',
589
+ options,
590
+ async fn(state) {
591
+ const {
592
+ rects,
593
+ platform
594
+ } = state;
595
+ const {
596
+ strategy = 'referenceHidden',
597
+ ...detectOverflowOptions
598
+ } = evaluate(options, state);
599
+ switch (strategy) {
600
+ case 'referenceHidden':
601
+ {
602
+ const overflow = await platform.detectOverflow(state, {
603
+ ...detectOverflowOptions,
604
+ elementContext: 'reference'
605
+ });
606
+ const offsets = getSideOffsets(overflow, rects.reference);
607
+ return {
608
+ data: {
609
+ referenceHiddenOffsets: offsets,
610
+ referenceHidden: isAnySideFullyClipped(offsets)
611
+ }
612
+ };
613
+ }
614
+ case 'escaped':
615
+ {
616
+ const overflow = await platform.detectOverflow(state, {
617
+ ...detectOverflowOptions,
618
+ altBoundary: true
619
+ });
620
+ const offsets = getSideOffsets(overflow, rects.floating);
621
+ return {
622
+ data: {
623
+ escapedOffsets: offsets,
624
+ escaped: isAnySideFullyClipped(offsets)
625
+ }
626
+ };
627
+ }
628
+ default:
629
+ {
630
+ return {};
631
+ }
632
+ }
633
+ }
634
+ };
635
+ };
636
+
637
+ const originSides = /*#__PURE__*/new Set(['left', 'top']);
638
+
639
+ // For type backwards-compatibility, the `OffsetOptions` type was also
640
+ // Derivable.
641
+
642
+ async function convertValueToCoords(state, options) {
643
+ const {
644
+ placement,
645
+ platform,
646
+ elements
647
+ } = state;
648
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
649
+ const side = getSide$1(placement);
650
+ const alignment = getAlignment(placement);
651
+ const isVertical = getSideAxis(placement) === 'y';
652
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
653
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
654
+ const rawValue = evaluate(options, state);
655
+
656
+ // eslint-disable-next-line prefer-const
657
+ let {
658
+ mainAxis,
659
+ crossAxis,
660
+ alignmentAxis
661
+ } = typeof rawValue === 'number' ? {
662
+ mainAxis: rawValue,
663
+ crossAxis: 0,
664
+ alignmentAxis: null
665
+ } : {
666
+ mainAxis: rawValue.mainAxis || 0,
667
+ crossAxis: rawValue.crossAxis || 0,
668
+ alignmentAxis: rawValue.alignmentAxis
669
+ };
670
+ if (alignment && typeof alignmentAxis === 'number') {
671
+ crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
672
+ }
673
+ return isVertical ? {
674
+ x: crossAxis * crossAxisMulti,
675
+ y: mainAxis * mainAxisMulti
676
+ } : {
677
+ x: mainAxis * mainAxisMulti,
678
+ y: crossAxis * crossAxisMulti
679
+ };
680
+ }
681
+
682
+ /**
683
+ * Modifies the placement by translating the floating element along the
684
+ * specified axes.
685
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
686
+ * object may be passed.
687
+ * @see https://floating-ui.com/docs/offset
688
+ */
689
+ const offset$1 = function (options) {
690
+ if (options === void 0) {
691
+ options = 0;
692
+ }
693
+ return {
694
+ name: 'offset',
695
+ options,
696
+ async fn(state) {
697
+ var _middlewareData$offse, _middlewareData$arrow;
698
+ const {
699
+ x,
700
+ y,
701
+ placement,
702
+ middlewareData
703
+ } = state;
704
+ const diffCoords = await convertValueToCoords(state, options);
705
+
706
+ // If the placement is the same and the arrow caused an alignment offset
707
+ // then we don't need to change the positioning coordinates.
708
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
709
+ return {};
710
+ }
711
+ return {
712
+ x: x + diffCoords.x,
713
+ y: y + diffCoords.y,
714
+ data: {
715
+ ...diffCoords,
716
+ placement
717
+ }
718
+ };
719
+ }
720
+ };
721
+ };
722
+
723
+ /**
724
+ * Optimizes the visibility of the floating element by shifting it in order to
725
+ * keep it in view when it will overflow the clipping boundary.
726
+ * @see https://floating-ui.com/docs/shift
727
+ */
728
+ const shift$1 = function (options) {
729
+ if (options === void 0) {
730
+ options = {};
731
+ }
732
+ return {
733
+ name: 'shift',
734
+ options,
735
+ async fn(state) {
736
+ const {
737
+ x,
738
+ y,
739
+ placement,
740
+ platform
741
+ } = state;
742
+ const {
743
+ mainAxis: checkMainAxis = true,
744
+ crossAxis: checkCrossAxis = false,
745
+ limiter = {
746
+ fn: _ref => {
747
+ let {
748
+ x,
749
+ y
750
+ } = _ref;
751
+ return {
752
+ x,
753
+ y
754
+ };
755
+ }
756
+ },
757
+ ...detectOverflowOptions
758
+ } = evaluate(options, state);
759
+ const coords = {
760
+ x,
761
+ y
762
+ };
763
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
764
+ const crossAxis = getSideAxis(placement);
765
+ const mainAxis = getOppositeAxis(crossAxis);
766
+ let mainAxisCoord = coords[mainAxis];
767
+ let crossAxisCoord = coords[crossAxis];
768
+ const clampCoord = (axis, coord) => clamp(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
769
+ if (checkMainAxis) {
770
+ mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
771
+ }
772
+ if (checkCrossAxis) {
773
+ crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
774
+ }
775
+ const limitedCoords = limiter.fn({
776
+ ...state,
777
+ [mainAxis]: mainAxisCoord,
778
+ [crossAxis]: crossAxisCoord
779
+ });
780
+ return {
781
+ ...limitedCoords,
782
+ data: {
783
+ x: limitedCoords.x - x,
784
+ y: limitedCoords.y - y,
785
+ enabled: {
786
+ [mainAxis]: checkMainAxis,
787
+ [crossAxis]: checkCrossAxis
788
+ }
789
+ }
790
+ };
791
+ }
792
+ };
793
+ };
794
+ /**
795
+ * Built-in `limiter` that will stop `shift()` at a certain point.
796
+ */
797
+ const limitShift$1 = function (options) {
798
+ if (options === void 0) {
799
+ options = {};
800
+ }
801
+ return {
802
+ options,
803
+ fn(state) {
804
+ var _rawOffset$mainAxis, _rawOffset$crossAxis;
805
+ const {
806
+ x,
807
+ y,
808
+ placement,
809
+ rects,
810
+ middlewareData
811
+ } = state;
812
+ const {
813
+ offset = 0,
814
+ mainAxis: checkMainAxis = true,
815
+ crossAxis: checkCrossAxis = true
816
+ } = evaluate(options, state);
817
+ const coords = {
818
+ x,
819
+ y
820
+ };
821
+ const crossAxis = getSideAxis(placement);
822
+ const mainAxis = getOppositeAxis(crossAxis);
823
+ let mainAxisCoord = coords[mainAxis];
824
+ let crossAxisCoord = coords[crossAxis];
825
+ const rawOffset = evaluate(offset, state);
826
+ const computedOffset = typeof rawOffset === 'number' ? {
827
+ mainAxis: rawOffset,
828
+ crossAxis: 0
829
+ } : {
830
+ mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
831
+ crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
832
+ };
833
+ if (checkMainAxis) {
834
+ const len = mainAxis === 'y' ? 'height' : 'width';
835
+ const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
836
+ const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
837
+ if (mainAxisCoord < limitMin) {
838
+ mainAxisCoord = limitMin;
839
+ } else if (mainAxisCoord > limitMax) {
840
+ mainAxisCoord = limitMax;
841
+ }
842
+ }
843
+ if (checkCrossAxis) {
844
+ var _middlewareData$offse, _middlewareData$offse2;
845
+ const len = mainAxis === 'y' ? 'width' : 'height';
846
+ const isOriginSide = originSides.has(getSide$1(placement));
847
+ 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);
848
+ 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);
849
+ if (crossAxisCoord < limitMin) {
850
+ crossAxisCoord = limitMin;
851
+ } else if (crossAxisCoord > limitMax) {
852
+ crossAxisCoord = limitMax;
853
+ }
854
+ }
855
+ return {
856
+ [mainAxis]: mainAxisCoord,
857
+ [crossAxis]: crossAxisCoord
858
+ };
859
+ }
860
+ };
861
+ };
862
+
863
+ // Method syntax keeps callback parameters bivariant, but expressing the
864
+ // explicit `| undefined` required by `exactOptionalPropertyTypes` needs
865
+ // property syntax, which is contravariant under `strictFunctionTypes`.
866
+ // Extracting the function from a method position restores that bivariance so
867
+ // consumers can still assign callbacks with narrower parameter types.
868
+
869
+ /**
870
+ * Provides data that allows you to change the size of the floating element —
871
+ * for instance, prevent it from overflowing the clipping boundary or match the
872
+ * width of the reference element.
873
+ * @see https://floating-ui.com/docs/size
874
+ */
875
+ const size$1 = function (options) {
876
+ if (options === void 0) {
877
+ options = {};
878
+ }
879
+ return {
880
+ name: 'size',
881
+ options,
882
+ async fn(state) {
883
+ const {
884
+ placement,
885
+ rects,
886
+ platform,
887
+ elements
888
+ } = state;
889
+ const {
890
+ apply = () => {},
891
+ ...detectOverflowOptions
892
+ } = evaluate(options, state);
893
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
894
+ const side = getSide$1(placement);
895
+ const alignment = getAlignment(placement);
896
+ const isYAxis = getSideAxis(placement) === 'y';
897
+ const {
898
+ width,
899
+ height
900
+ } = rects.floating;
901
+ let heightSide;
902
+ let widthSide;
903
+ if (side === 'top' || side === 'bottom') {
904
+ heightSide = side;
905
+ widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
906
+ } else {
907
+ widthSide = side;
908
+ heightSide = alignment === 'end' ? 'top' : 'bottom';
909
+ }
910
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
911
+ const maximumClippingWidth = width - overflow.left - overflow.right;
912
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
913
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
914
+ const shiftData = state.middlewareData.shift;
915
+ const noShift = !shiftData;
916
+ let availableHeight = overflowAvailableHeight;
917
+ let availableWidth = overflowAvailableWidth;
918
+ if (shiftData != null && shiftData.enabled.x) {
919
+ availableWidth = maximumClippingWidth;
920
+ }
921
+ if (shiftData != null && shiftData.enabled.y) {
922
+ availableHeight = maximumClippingHeight;
923
+ }
924
+ if (noShift && !alignment) {
925
+ if (isYAxis) {
926
+ availableWidth = width - 2 * max(overflow.left, overflow.right);
927
+ } else {
928
+ availableHeight = height - 2 * max(overflow.top, overflow.bottom);
929
+ }
930
+ }
931
+ await apply({
932
+ ...state,
933
+ availableWidth,
934
+ availableHeight
935
+ });
936
+ const nextDimensions = await platform.getDimensions(elements.floating);
937
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
938
+ return {
939
+ reset: {
940
+ rects: true
941
+ }
942
+ };
943
+ }
944
+ return {};
945
+ }
946
+ };
947
+ };
948
+
949
+ function hasWindow() {
950
+ return typeof window !== 'undefined';
951
+ }
952
+ function getNodeName(node) {
953
+ if (isNode(node)) {
954
+ return (node.nodeName || '').toLowerCase();
955
+ }
956
+ // Mocked nodes in testing environments may not be instances of Node. By
957
+ // returning `#document` an infinite loop won't occur.
958
+ // https://github.com/floating-ui/floating-ui/issues/2317
959
+ return '#document';
960
+ }
961
+ function getWindow(node) {
962
+ var _node$ownerDocument;
963
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
964
+ }
965
+ function getDocumentElement(node) {
966
+ var _ref;
967
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
968
+ }
969
+ function isNode(value) {
970
+ if (!hasWindow()) {
971
+ return false;
972
+ }
973
+ return value instanceof Node || value instanceof getWindow(value).Node;
974
+ }
975
+ function isElement(value) {
976
+ if (!hasWindow()) {
977
+ return false;
978
+ }
979
+ return value instanceof Element || value instanceof getWindow(value).Element;
980
+ }
981
+ function isHTMLElement(value) {
982
+ if (!hasWindow()) {
983
+ return false;
984
+ }
985
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
986
+ }
987
+ function isShadowRoot(value) {
988
+ if (!hasWindow() || typeof ShadowRoot === 'undefined') {
989
+ return false;
990
+ }
991
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
992
+ }
993
+ function isOverflowElement(element) {
994
+ const {
995
+ overflow,
996
+ overflowX,
997
+ overflowY,
998
+ display
999
+ } = getComputedStyle$1(element);
1000
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
1001
+ }
1002
+ function isTableElement(element) {
1003
+ return /^(table|td|th)$/.test(getNodeName(element));
1004
+ }
1005
+ function isTopLayer(element) {
1006
+ try {
1007
+ if (element.matches(':popover-open')) {
1008
+ return true;
1009
+ }
1010
+ } catch (_e) {
1011
+ // no-op
1012
+ }
1013
+ try {
1014
+ return element.matches(':modal');
1015
+ } catch (_e) {
1016
+ return false;
1017
+ }
1018
+ }
1019
+ const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
1020
+ const containRe = /paint|layout|strict|content/;
1021
+ const isNotNone = value => !!value && value !== 'none';
1022
+ let isWebKitValue;
1023
+ function isContainingBlock(elementOrCss) {
1024
+ const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
1025
+
1026
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1027
+ // https://drafts.csswg.org/css-transforms-2/#individual-transforms
1028
+ 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 || '');
1029
+ }
1030
+ function getContainingBlock(element) {
1031
+ let currentNode = getParentNode(element);
1032
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1033
+ if (isContainingBlock(currentNode)) {
1034
+ return currentNode;
1035
+ } else if (isTopLayer(currentNode)) {
1036
+ return null;
1037
+ }
1038
+ currentNode = getParentNode(currentNode);
1039
+ }
1040
+ return null;
1041
+ }
1042
+ function isWebKit() {
1043
+ if (isWebKitValue == null) {
1044
+ isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
1045
+ }
1046
+ return isWebKitValue;
1047
+ }
1048
+ function isLastTraversableNode(node) {
1049
+ return /^(html|body|#document)$/.test(getNodeName(node));
1050
+ }
1051
+ function getComputedStyle$1(element) {
1052
+ return getWindow(element).getComputedStyle(element);
1053
+ }
1054
+ function getNodeScroll(element) {
1055
+ if (isElement(element)) {
1056
+ return {
1057
+ scrollLeft: element.scrollLeft,
1058
+ scrollTop: element.scrollTop
1059
+ };
1060
+ }
1061
+ return {
1062
+ scrollLeft: element.scrollX,
1063
+ scrollTop: element.scrollY
1064
+ };
1065
+ }
1066
+ function getParentNode(node) {
1067
+ if (getNodeName(node) === 'html') {
1068
+ return node;
1069
+ }
1070
+ const result =
1071
+ // Step into the shadow DOM of the parent of a slotted node.
1072
+ node.assignedSlot ||
1073
+ // DOM Element detected.
1074
+ node.parentNode ||
1075
+ // ShadowRoot detected.
1076
+ isShadowRoot(node) && node.host ||
1077
+ // Fallback.
1078
+ getDocumentElement(node);
1079
+ return isShadowRoot(result) ? result.host : result;
1080
+ }
1081
+ function getNearestOverflowAncestor(node) {
1082
+ const parentNode = getParentNode(node);
1083
+ if (isLastTraversableNode(parentNode)) {
1084
+ return (node.ownerDocument || node).body;
1085
+ }
1086
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
1087
+ return parentNode;
1088
+ }
1089
+ return getNearestOverflowAncestor(parentNode);
1090
+ }
1091
+ function getOverflowAncestors(node, list, traverseIframes) {
1092
+ var _node$ownerDocument2;
1093
+ if (list === void 0) {
1094
+ list = [];
1095
+ }
1096
+ const scrollableAncestor = getNearestOverflowAncestor(node);
1097
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1098
+ const win = getWindow(scrollableAncestor);
1099
+ if (isBody) {
1100
+ getFrameElement(win);
1101
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], []);
1102
+ } else {
1103
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, []));
1104
+ }
1105
+ }
1106
+ function getFrameElement(win) {
1107
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
1108
+ }
1109
+
1110
+ function getCssDimensions(element) {
1111
+ const css = getComputedStyle$1(element);
1112
+ // In testing environments, the `width` and `height` properties are empty
1113
+ // strings for SVG elements, returning NaN. Fallback to `0` in this case.
1114
+ let width = parseFloat(css.width) || 0;
1115
+ let height = parseFloat(css.height) || 0;
1116
+ const hasOffset = isHTMLElement(element);
1117
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
1118
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
1119
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
1120
+ if (shouldFallback) {
1121
+ width = offsetWidth;
1122
+ height = offsetHeight;
1123
+ }
1124
+ return {
1125
+ width,
1126
+ height,
1127
+ $: shouldFallback
1128
+ };
1129
+ }
1130
+
1131
+ function unwrapElement(element) {
1132
+ return !isElement(element) ? element.contextElement : element;
1133
+ }
1134
+
1135
+ function getScale(element) {
1136
+ const domElement = unwrapElement(element);
1137
+ if (!isHTMLElement(domElement)) {
1138
+ return createCoords(1);
1139
+ }
1140
+ const rect = domElement.getBoundingClientRect();
1141
+ const {
1142
+ width,
1143
+ height,
1144
+ $
1145
+ } = getCssDimensions(domElement);
1146
+ let x = ($ ? round(rect.width) : rect.width) / width;
1147
+ let y = ($ ? round(rect.height) : rect.height) / height;
1148
+
1149
+ // 0, NaN, or Infinity should always fallback to 1.
1150
+
1151
+ if (!x || !Number.isFinite(x)) {
1152
+ x = 1;
1153
+ }
1154
+ if (!y || !Number.isFinite(y)) {
1155
+ y = 1;
1156
+ }
1157
+ return {
1158
+ x,
1159
+ y
1160
+ };
1161
+ }
1162
+
1163
+ const noOffsets = /*#__PURE__*/createCoords(0);
1164
+ function getVisualOffsets(element) {
1165
+ const win = getWindow(element);
1166
+ if (!isWebKit() || !win.visualViewport) {
1167
+ return noOffsets;
1168
+ }
1169
+ return {
1170
+ x: win.visualViewport.offsetLeft,
1171
+ y: win.visualViewport.offsetTop
1172
+ };
1173
+ }
1174
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1175
+ if (isFixed === void 0) {
1176
+ isFixed = false;
1177
+ }
1178
+ return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
1179
+ }
1180
+
1181
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1182
+ if (includeScale === void 0) {
1183
+ includeScale = false;
1184
+ }
1185
+ if (isFixedStrategy === void 0) {
1186
+ isFixedStrategy = false;
1187
+ }
1188
+ const clientRect = element.getBoundingClientRect();
1189
+ const domElement = unwrapElement(element);
1190
+ let scale = createCoords(1);
1191
+ if (includeScale) {
1192
+ if (offsetParent) {
1193
+ if (isElement(offsetParent)) {
1194
+ scale = getScale(offsetParent);
1195
+ }
1196
+ } else {
1197
+ scale = getScale(element);
1198
+ }
1199
+ }
1200
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1201
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
1202
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1203
+ let width = clientRect.width / scale.x;
1204
+ let height = clientRect.height / scale.y;
1205
+ if (domElement && offsetParent) {
1206
+ const win = getWindow(domElement);
1207
+ const offsetWin = isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1208
+ let currentWin = win;
1209
+ let currentIFrame = getFrameElement(currentWin);
1210
+ while (currentIFrame && offsetWin !== currentWin) {
1211
+ const iframeScale = getScale(currentIFrame);
1212
+ const iframeRect = currentIFrame.getBoundingClientRect();
1213
+ const css = getComputedStyle$1(currentIFrame);
1214
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1215
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1216
+ x *= iframeScale.x;
1217
+ y *= iframeScale.y;
1218
+ width *= iframeScale.x;
1219
+ height *= iframeScale.y;
1220
+ x += left;
1221
+ y += top;
1222
+ currentWin = getWindow(currentIFrame);
1223
+ currentIFrame = getFrameElement(currentWin);
1224
+ }
1225
+ }
1226
+ return rectToClientRect({
1227
+ width,
1228
+ height,
1229
+ x,
1230
+ y
1231
+ });
1232
+ }
1233
+
1234
+ // If <html> has a CSS width greater than the viewport, then this will be
1235
+ // incorrect for RTL.
1236
+ function getWindowScrollBarX(element, rect) {
1237
+ const leftScroll = getNodeScroll(element).scrollLeft;
1238
+ if (!rect) {
1239
+ return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1240
+ }
1241
+ return rect.left + leftScroll;
1242
+ }
1243
+
1244
+ function getHTMLOffset(documentElement, scroll) {
1245
+ const htmlRect = documentElement.getBoundingClientRect();
1246
+ const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1247
+ const y = htmlRect.top + scroll.scrollTop;
1248
+ return {
1249
+ x,
1250
+ y
1251
+ };
1252
+ }
1253
+
1254
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1255
+ let {
1256
+ elements,
1257
+ rect,
1258
+ offsetParent,
1259
+ strategy
1260
+ } = _ref;
1261
+ const isFixed = strategy === 'fixed';
1262
+ const documentElement = getDocumentElement(offsetParent);
1263
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1264
+ if (offsetParent === documentElement || topLayer && isFixed) {
1265
+ return rect;
1266
+ }
1267
+ let scroll = {
1268
+ scrollLeft: 0,
1269
+ scrollTop: 0
1270
+ };
1271
+ let scale = createCoords(1);
1272
+ const offsets = createCoords(0);
1273
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1274
+ if (isOffsetParentAnElement || !isFixed) {
1275
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1276
+ scroll = getNodeScroll(offsetParent);
1277
+ }
1278
+ if (isOffsetParentAnElement) {
1279
+ const offsetRect = getBoundingClientRect(offsetParent);
1280
+ scale = getScale(offsetParent);
1281
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1282
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1283
+ }
1284
+ }
1285
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1286
+ return {
1287
+ width: rect.width * scale.x,
1288
+ height: rect.height * scale.y,
1289
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1290
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1291
+ };
1292
+ }
1293
+
1294
+ function getClientRects(element) {
1295
+ return element.getClientRects ? Array.from(element.getClientRects()) : [];
1296
+ }
1297
+
1298
+ // Gets the entire size of the scrollable document area, even extending outside
1299
+ // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
1300
+ function getDocumentRect(html) {
1301
+ const scroll = getNodeScroll(html);
1302
+ const body = html.ownerDocument.body;
1303
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1304
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1305
+ let x = -scroll.scrollLeft + getWindowScrollBarX(html);
1306
+ const y = -scroll.scrollTop;
1307
+ if (getComputedStyle$1(body).direction === 'rtl') {
1308
+ x += max(html.clientWidth, body.clientWidth) - width;
1309
+ }
1310
+ return {
1311
+ width,
1312
+ height,
1313
+ x,
1314
+ y
1315
+ };
1316
+ }
1317
+
1318
+ // Safety check: ensure the scrollbar space is reasonable in case this
1319
+ // calculation is affected by unusual styles.
1320
+ // Most scrollbars leave 15-18px of space.
1321
+ const SCROLLBAR_MAX = 25;
1322
+ function getViewportRect(element, strategy, rootBoundary) {
1323
+ if (rootBoundary === void 0) {
1324
+ rootBoundary = 'viewport';
1325
+ }
1326
+ const isLayoutViewport = rootBoundary === 'layoutViewport';
1327
+ const win = getWindow(element);
1328
+ const html = getDocumentElement(element);
1329
+ const visualViewport = win.visualViewport;
1330
+ let width = html.clientWidth;
1331
+ let height = html.clientHeight;
1332
+ let x = 0;
1333
+ let y = 0;
1334
+ if (visualViewport) {
1335
+ // Client coordinates are relative to the layout viewport, except in
1336
+ // WebKit with an `absolute` strategy, where they are relative to the
1337
+ // visual viewport.
1338
+ const layoutRelativeClientCoords = !isWebKit() || strategy === 'fixed';
1339
+ if (isLayoutViewport) {
1340
+ if (!layoutRelativeClientCoords) {
1341
+ x = -visualViewport.offsetLeft;
1342
+ y = -visualViewport.offsetTop;
1343
+ }
1344
+ } else {
1345
+ width = visualViewport.width;
1346
+ height = visualViewport.height;
1347
+ if (layoutRelativeClientCoords) {
1348
+ x = visualViewport.offsetLeft;
1349
+ y = visualViewport.offsetTop;
1350
+ }
1351
+ }
1352
+ }
1353
+ const windowScrollbarX = getWindowScrollBarX(html);
1354
+ // `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
1355
+ // the visual width but isn't reflected in `html.clientWidth`, so subtract it.
1356
+ // Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
1357
+ // reserves an empty inline-start gutter that clips nothing, so exclude just
1358
+ // the one scrollbar-side gutter — halve the measured (two-gutter) total. A
1359
+ // left-side scrollbar (`windowScrollbarX > 0`) is already handled by
1360
+ // `getHTMLOffset`/`visualViewport.width`; skip it here.
1361
+ if (windowScrollbarX <= 0) {
1362
+ const doc = html.ownerDocument;
1363
+ const body = doc.body;
1364
+ const bodyStyles = getComputedStyle(body);
1365
+ const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1366
+ const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1367
+ const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;
1368
+ if (gutter <= SCROLLBAR_MAX) {
1369
+ width -= gutter;
1370
+ }
1371
+ }
1372
+ return {
1373
+ width,
1374
+ height,
1375
+ x,
1376
+ y
1377
+ };
1378
+ }
1379
+
1380
+ // Returns the inner client rect, subtracting scrollbars if present.
1381
+ function getInnerBoundingClientRect(element, strategy) {
1382
+ const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
1383
+ const top = clientRect.top + element.clientTop;
1384
+ const left = clientRect.left + element.clientLeft;
1385
+ const scale = getScale(element);
1386
+ const width = element.clientWidth * scale.x;
1387
+ const height = element.clientHeight * scale.y;
1388
+ const x = left * scale.x;
1389
+ const y = top * scale.y;
1390
+ return {
1391
+ width,
1392
+ height,
1393
+ x,
1394
+ y
1395
+ };
1396
+ }
1397
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1398
+ let rect;
1399
+ if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {
1400
+ rect = getViewportRect(element, strategy, clippingAncestor);
1401
+ } else if (clippingAncestor === 'document') {
1402
+ rect = getDocumentRect(getDocumentElement(element));
1403
+ } else if (isElement(clippingAncestor)) {
1404
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1405
+ } else {
1406
+ const visualOffsets = getVisualOffsets(element);
1407
+ rect = {
1408
+ x: clippingAncestor.x - visualOffsets.x,
1409
+ y: clippingAncestor.y - visualOffsets.y,
1410
+ width: clippingAncestor.width,
1411
+ height: clippingAncestor.height
1412
+ };
1413
+ }
1414
+ return rectToClientRect(rect);
1415
+ }
1416
+
1417
+ // A "clipping ancestor" is an `overflow` element with the characteristic of
1418
+ // clipping (or hiding) child elements. This returns all clipping ancestors
1419
+ // of the given element up the tree.
1420
+ function getClippingElementAncestors(element, cache) {
1421
+ const cachedResult = cache.get(element);
1422
+ if (cachedResult) {
1423
+ return cachedResult;
1424
+ }
1425
+ let result = getOverflowAncestors(element, []).filter(el => isElement(el) && getNodeName(el) !== 'body');
1426
+ let lastKeptComputedStyle = null;
1427
+ const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
1428
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1429
+
1430
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1431
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1432
+ const computedStyle = getComputedStyle$1(currentNode);
1433
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1434
+ // Position of the containing block chain below the current node. A fixed
1435
+ // element whose containing block hasn't been found yet is a fixed chain.
1436
+ const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';
1437
+
1438
+ // A non-containing ancestor does not clip the element when the chain
1439
+ // below it escapes it: a fixed chain escapes all ancestors up to the
1440
+ // next containing block, an absolute chain escapes static ancestors.
1441
+ const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');
1442
+ if (shouldDropCurrentNode) {
1443
+ // Drop non-containing blocks.
1444
+ result = result.filter(ancestor => ancestor !== currentNode);
1445
+ } else {
1446
+ // The kept node carries the chain position for the next iteration.
1447
+ lastKeptComputedStyle = computedStyle;
1448
+ }
1449
+ currentNode = getParentNode(currentNode);
1450
+ }
1451
+ cache.set(element, result);
1452
+ return result;
1453
+ }
1454
+
1455
+ // Gets the maximum area that the element is visible in due to any number of
1456
+ // clipping ancestors.
1457
+ function getClippingRect(_ref) {
1458
+ let {
1459
+ element,
1460
+ boundary,
1461
+ rootBoundary,
1462
+ strategy
1463
+ } = _ref;
1464
+ const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1465
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1466
+ const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
1467
+ let top = firstRect.top;
1468
+ let right = firstRect.right;
1469
+ let bottom = firstRect.bottom;
1470
+ let left = firstRect.left;
1471
+ for (let i = 1; i < clippingAncestors.length; i++) {
1472
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
1473
+ top = max(rect.top, top);
1474
+ right = min(rect.right, right);
1475
+ bottom = min(rect.bottom, bottom);
1476
+ left = max(rect.left, left);
1477
+ }
1478
+ return {
1479
+ width: right - left,
1480
+ height: bottom - top,
1481
+ x: left,
1482
+ y: top
1483
+ };
1484
+ }
1485
+
1486
+ function getDimensions(element) {
1487
+ const {
1488
+ width,
1489
+ height
1490
+ } = getCssDimensions(element);
1491
+ return {
1492
+ width,
1493
+ height
1494
+ };
1495
+ }
1496
+
1497
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1498
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1499
+ const documentElement = getDocumentElement(offsetParent);
1500
+ const isFixed = strategy === 'fixed';
1501
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1502
+ let scroll = {
1503
+ scrollLeft: 0,
1504
+ scrollTop: 0
1505
+ };
1506
+ const offsets = createCoords(0);
1507
+ if (isOffsetParentAnElement || !isFixed) {
1508
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1509
+ scroll = getNodeScroll(offsetParent);
1510
+ }
1511
+ if (isOffsetParentAnElement) {
1512
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1513
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1514
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1515
+ }
1516
+ }
1517
+
1518
+ // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
1519
+ // Firefox with layout.scrollbar.side = 3 in about:config to test this.
1520
+ if (!isOffsetParentAnElement && documentElement) {
1521
+ offsets.x = getWindowScrollBarX(documentElement);
1522
+ }
1523
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1524
+ const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1525
+ const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1526
+ return {
1527
+ x,
1528
+ y,
1529
+ width: rect.width,
1530
+ height: rect.height
1531
+ };
1532
+ }
1533
+
1534
+ function isStaticPositioned(element) {
1535
+ return getComputedStyle$1(element).position === 'static';
1536
+ }
1537
+
1538
+ function getTrueOffsetParent(element, polyfill) {
1539
+ if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
1540
+ return null;
1541
+ }
1542
+ if (polyfill) {
1543
+ return polyfill(element);
1544
+ }
1545
+ let rawOffsetParent = element.offsetParent;
1546
+
1547
+ // Firefox returns the <html> element as the offsetParent if it's non-static,
1548
+ // while Chrome and Safari return the <body> element. The <body> element must
1549
+ // be used to perform the correct calculations even if the <html> element is
1550
+ // non-static.
1551
+ if (getDocumentElement(element) === rawOffsetParent) {
1552
+ rawOffsetParent = rawOffsetParent.ownerDocument.body;
1553
+ }
1554
+ return rawOffsetParent;
1555
+ }
1556
+
1557
+ // Gets the closest ancestor positioned element. Handles some edge cases,
1558
+ // such as table ancestors and cross browser bugs.
1559
+ function getOffsetParent(element, polyfill) {
1560
+ const win = getWindow(element);
1561
+ if (isTopLayer(element)) {
1562
+ return win;
1563
+ }
1564
+ if (!isHTMLElement(element)) {
1565
+ let svgOffsetParent = getParentNode(element);
1566
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1567
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1568
+ return svgOffsetParent;
1569
+ }
1570
+ svgOffsetParent = getParentNode(svgOffsetParent);
1571
+ }
1572
+ return win;
1573
+ }
1574
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1575
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1576
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1577
+ }
1578
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1579
+ return win;
1580
+ }
1581
+ return offsetParent || getContainingBlock(element) || win;
1582
+ }
1583
+
1584
+ const getElementRects = async function (data) {
1585
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1586
+ const getDimensionsFn = this.getDimensions;
1587
+ const floatingDimensions = await getDimensionsFn(data.floating);
1588
+ return {
1589
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1590
+ floating: {
1591
+ x: 0,
1592
+ y: 0,
1593
+ width: floatingDimensions.width,
1594
+ height: floatingDimensions.height
1595
+ }
1596
+ };
1597
+ };
1598
+
1599
+ function isRTL(element) {
1600
+ return getComputedStyle$1(element).direction === 'rtl';
1601
+ }
1602
+
1603
+ const platform = {
1604
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1605
+ getDocumentElement,
1606
+ getClippingRect,
1607
+ getOffsetParent,
1608
+ getElementRects,
1609
+ getClientRects,
1610
+ getDimensions,
1611
+ getScale,
1612
+ isElement,
1613
+ isRTL
1614
+ };
1615
+
1616
+ /**
1617
+ * Modifies the placement by translating the floating element along the
1618
+ * specified axes.
1619
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1620
+ * object may be passed.
1621
+ * @see https://floating-ui.com/docs/offset
1622
+ */
1623
+ const offset = offset$1;
1624
+
1625
+ /**
1626
+ * Optimizes the visibility of the floating element by shifting it in order to
1627
+ * keep it in view when it will overflow the clipping boundary.
1628
+ * @see https://floating-ui.com/docs/shift
1629
+ */
1630
+ const shift = shift$1;
1631
+
1632
+ /**
1633
+ * Optimizes the visibility of the floating element by flipping the `placement`
1634
+ * in order to keep it in view when the preferred placement(s) will overflow the
1635
+ * clipping boundary. Alternative to `autoPlacement`.
1636
+ * @see https://floating-ui.com/docs/flip
1637
+ */
1638
+ const flip = flip$1;
1639
+
1640
+ /**
1641
+ * Provides data that allows you to change the size of the floating element —
1642
+ * for instance, prevent it from overflowing the clipping boundary or match the
1643
+ * width of the reference element.
1644
+ * @see https://floating-ui.com/docs/size
1645
+ */
1646
+ const size = size$1;
1647
+
1648
+ /**
1649
+ * Provides data to hide the floating element in applicable situations, such as
1650
+ * when it is not in the same clipping context as the reference element.
1651
+ * @see https://floating-ui.com/docs/hide
1652
+ */
1653
+ const hide = hide$1;
1654
+
1655
+ /**
1656
+ * Provides data to position an inner element of the floating element so that it
1657
+ * appears centered to the reference element.
1658
+ * @see https://floating-ui.com/docs/arrow
1659
+ */
1660
+ const arrow = arrow$1;
1661
+
1662
+ /**
1663
+ * Built-in `limiter` that will stop `shift()` at a certain point.
1664
+ */
1665
+ const limitShift = limitShift$1;
1666
+
1667
+ /**
1668
+ * Computes the `x` and `y` coordinates that will place the floating element
1669
+ * next to a given reference element.
1670
+ */
1671
+ const computePosition = (reference, floating, options) => {
1672
+ // This caches the expensive `getClippingElementAncestors` function so that
1673
+ // multiple lifecycle resets re-use the same result. It only lives for a
1674
+ // single call. If other functions become expensive, we can add them as well.
1675
+ const cache = new Map();
1676
+ const mergedOptions = options != null ? options : {};
1677
+ const platformWithCache = {
1678
+ ...platform,
1679
+ ...mergedOptions.platform,
1680
+ _c: cache
1681
+ };
1682
+ return computePosition$1(reference, floating, {
1683
+ ...mergedOptions,
1684
+ platform: platformWithCache
1685
+ });
1686
+ };
1687
+
1688
+ function Bell($$renderer, $$props) {
1689
+ let { $$slots, $$events, ...props } = $$props;
1690
+ const iconData = {
1691
+ "name": "bell",
1692
+ "size": 24,
1693
+ "node": [
1694
+ ["path", { "d": "M10.268 21a2 2 0 0 0 3.464 0" }],
1695
+ [
1696
+ "path",
1697
+ {
1698
+ "d": "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"
1699
+ }
1700
+ ]
1701
+ ]
1702
+ };
1703
+ Icon($$renderer, spread_props([props, { icon: iconData }]));
1704
+ }
1705
+ function isFunction(value) {
1706
+ return typeof value === "function";
1707
+ }
1708
+ function get$1(value) {
1709
+ if (isFunction(value)) {
1710
+ return value();
1711
+ }
1712
+ return value;
1713
+ }
1714
+ class ElementSize {
1715
+ // no need to use `$state` here since we are using createSubscriber
1716
+ #size = { width: 0, height: 0 };
1717
+ #observed = false;
1718
+ #options;
1719
+ #node;
1720
+ #window;
1721
+ // we use a derived here to extract the width so that if the width doesn't change we don't get a state update
1722
+ // which we would get if we would just use a getter since the version of the subscriber will be changing
1723
+ #width = derived(() => {
1724
+ this.#subscribe()?.();
1725
+ return this.getSize().width;
1726
+ });
1727
+ // we use a derived here to extract the height so that if the height doesn't change we don't get a state update
1728
+ // which we would get if we would just use a getter since the version of the subscriber will be changing
1729
+ #height = derived(() => {
1730
+ this.#subscribe()?.();
1731
+ return this.getSize().height;
1732
+ });
1733
+ // we need to use a derived here because the class will be created before the node is bound to the ref
1734
+ #subscribe = derived(() => {
1735
+ const node$ = get$1(this.#node);
1736
+ if (!node$) return;
1737
+ return createSubscriber();
1738
+ });
1739
+ constructor(node, options = { box: "border-box" }) {
1740
+ this.#window = options.window ?? defaultWindow;
1741
+ this.#options = options;
1742
+ this.#node = node;
1743
+ this.#size = { width: 0, height: 0 };
1744
+ }
1745
+ calculateSize() {
1746
+ const element = get$1(this.#node);
1747
+ if (!element || !this.#window) {
1748
+ return;
1749
+ }
1750
+ const offsetWidth = element.offsetWidth;
1751
+ const offsetHeight = element.offsetHeight;
1752
+ if (this.#options.box === "border-box") {
1753
+ return { width: offsetWidth, height: offsetHeight };
1754
+ }
1755
+ const style = this.#window.getComputedStyle(element);
1756
+ const paddingWidth = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
1757
+ const paddingHeight = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom);
1758
+ const borderWidth = parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);
1759
+ const borderHeight = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
1760
+ const contentWidth = offsetWidth - paddingWidth - borderWidth;
1761
+ const contentHeight = offsetHeight - paddingHeight - borderHeight;
1762
+ return { width: contentWidth, height: contentHeight };
1763
+ }
1764
+ getSize() {
1765
+ return this.#observed ? this.#size : this.calculateSize() ?? this.#size;
1766
+ }
1767
+ get current() {
1768
+ this.#subscribe()?.();
1769
+ return this.getSize();
1770
+ }
1771
+ get width() {
1772
+ return this.#width();
1773
+ }
1774
+ get height() {
1775
+ return this.#height();
1776
+ }
1777
+ }
1778
+ const FloatingRootContext = new Context("Floating.Root");
1779
+ const FloatingTooltipRootContext = new Context("Floating.Root");
1780
+ class FloatingRootState {
1781
+ static create(tooltip = false) {
1782
+ return tooltip ? FloatingTooltipRootContext.set(new FloatingRootState()) : FloatingRootContext.set(new FloatingRootState());
1783
+ }
1784
+ anchorNode = simpleBox(null);
1785
+ customAnchorNode = simpleBox(null);
1786
+ triggerNode = simpleBox(null);
1787
+ constructor() {
1788
+ }
1789
+ }
1790
+ class FloatingAnchorState {
1791
+ static create(opts, tooltip = false) {
1792
+ return tooltip ? new FloatingAnchorState(opts, FloatingTooltipRootContext.get()) : new FloatingAnchorState(opts, FloatingRootContext.get());
1793
+ }
1794
+ opts;
1795
+ root;
1796
+ constructor(opts, root) {
1797
+ this.opts = opts;
1798
+ this.root = root;
1799
+ if (opts.virtualEl && opts.virtualEl.current) {
1800
+ root.triggerNode = boxFrom(opts.virtualEl.current);
1801
+ } else {
1802
+ root.triggerNode = opts.ref;
1803
+ }
1804
+ }
1805
+ }
1806
+ function Floating_layer($$renderer, $$props) {
1807
+ $$renderer.component(($$renderer2) => {
1808
+ let { children, tooltip = false } = $$props;
1809
+ FloatingRootState.create(tooltip);
1810
+ children?.($$renderer2);
1811
+ $$renderer2.push(`<!---->`);
1812
+ });
1813
+ }
1814
+ function get(valueOrGetValue) {
1815
+ return typeof valueOrGetValue === "function" ? valueOrGetValue() : valueOrGetValue;
1816
+ }
1817
+ function getDPR(element) {
1818
+ if (typeof window === "undefined") return 1;
1819
+ const win = element.ownerDocument.defaultView || window;
1820
+ return win.devicePixelRatio || 1;
1821
+ }
1822
+ function roundByDPR(element, value) {
1823
+ const dpr = getDPR(element);
1824
+ return Math.round(value * dpr) / dpr;
1825
+ }
1826
+ function getFloatingContentCSSVars(name) {
1827
+ return {
1828
+ [`--bits-${name}-content-transform-origin`]: `var(--bits-floating-transform-origin)`,
1829
+ [`--bits-${name}-content-available-width`]: `var(--bits-floating-available-width)`,
1830
+ [`--bits-${name}-content-available-height`]: `var(--bits-floating-available-height)`,
1831
+ [`--bits-${name}-anchor-width`]: `var(--bits-floating-anchor-width)`,
1832
+ [`--bits-${name}-anchor-height`]: `var(--bits-floating-anchor-height)`
1833
+ };
1834
+ }
1835
+ function Floating_layer_anchor($$renderer, $$props) {
1836
+ $$renderer.component(($$renderer2) => {
1837
+ let { id, children, virtualEl, ref, tooltip = false } = $$props;
1838
+ FloatingAnchorState.create(
1839
+ {
1840
+ id: boxWith(() => id),
1841
+ virtualEl: boxWith(() => virtualEl),
1842
+ ref
1843
+ },
1844
+ tooltip
1845
+ );
1846
+ children?.($$renderer2);
1847
+ $$renderer2.push(`<!---->`);
1848
+ });
1849
+ }
1850
+ function useFloating(options) {
1851
+ const openOption = derived(() => get(options.open) ?? true);
1852
+ const middlewareOption = derived(() => get(options.middleware));
1853
+ const transformOption = derived(() => get(options.transform) ?? true);
1854
+ const placementOption = derived(() => get(options.placement) ?? "bottom");
1855
+ const strategyOption = derived(() => get(options.strategy) ?? "absolute");
1856
+ const sideOffsetOption = derived(() => get(options.sideOffset) ?? 0);
1857
+ const alignOffsetOption = derived(() => get(options.alignOffset) ?? 0);
1858
+ const reference = options.reference;
1859
+ let x = 0;
1860
+ let y = 0;
1861
+ const floating = simpleBox(null);
1862
+ let strategy = strategyOption();
1863
+ let placement = placementOption();
1864
+ let middlewareData = {};
1865
+ let isPositioned = false;
1866
+ let updateRequestId = 0;
1867
+ const floatingStyles = derived(() => {
1868
+ const xVal = floating.current ? roundByDPR(floating.current, x) : x;
1869
+ const yVal = floating.current ? roundByDPR(floating.current, y) : y;
1870
+ if (transformOption()) {
1871
+ return {
1872
+ position: strategy,
1873
+ left: "0",
1874
+ top: "0",
1875
+ transform: `translate(${xVal}px, ${yVal}px)`,
1876
+ ...floating.current && getDPR(floating.current) >= 1.5 && { willChange: "transform" }
1877
+ };
1878
+ }
1879
+ return { position: strategy, left: `${xVal}px`, top: `${yVal}px` };
1880
+ });
1881
+ function update() {
1882
+ if (reference.current === null || floating.current === null) return;
1883
+ const referenceNode = reference.current;
1884
+ const floatingNode = floating.current;
1885
+ const requestId = ++updateRequestId;
1886
+ computePosition(referenceNode, floatingNode, {
1887
+ middleware: middlewareOption(),
1888
+ placement: placementOption(),
1889
+ strategy: strategyOption()
1890
+ }).then((position) => {
1891
+ if (requestId !== updateRequestId) return;
1892
+ if (reference.current !== referenceNode || floating.current !== floatingNode) return;
1893
+ const referenceHidden = isReferenceHidden(referenceNode);
1894
+ if (referenceHidden) {
1895
+ middlewareData = {
1896
+ ...middlewareData,
1897
+ hide: {
1898
+ // oxlint-disable-next-line no-explicit-any
1899
+ ...middlewareData.hide,
1900
+ referenceHidden: true
1901
+ }
1902
+ };
1903
+ return;
1904
+ }
1905
+ if (!openOption() && x !== 0 && y !== 0) {
1906
+ const maxExpectedOffset = Math.max(Math.abs(sideOffsetOption()), Math.abs(alignOffsetOption()), 15);
1907
+ if (position.x <= maxExpectedOffset && position.y <= maxExpectedOffset) return;
1908
+ }
1909
+ x = position.x;
1910
+ y = position.y;
1911
+ strategy = position.strategy;
1912
+ placement = position.placement;
1913
+ middlewareData = position.middlewareData;
1914
+ isPositioned = true;
1915
+ });
1916
+ }
1917
+ return {
1918
+ floating,
1919
+ reference,
1920
+ get strategy() {
1921
+ return strategy;
1922
+ },
1923
+ get placement() {
1924
+ return placement;
1925
+ },
1926
+ get middlewareData() {
1927
+ return middlewareData;
1928
+ },
1929
+ get isPositioned() {
1930
+ return isPositioned;
1931
+ },
1932
+ get floatingStyles() {
1933
+ return floatingStyles();
1934
+ },
1935
+ get update() {
1936
+ return update;
1937
+ }
1938
+ };
1939
+ }
1940
+ function isReferenceHidden(node) {
1941
+ if (!(node instanceof Element)) return false;
1942
+ if (!node.isConnected) return true;
1943
+ if (node instanceof HTMLElement && node.hidden) return true;
1944
+ return node.getClientRects().length === 0;
1945
+ }
1946
+ const OPPOSITE_SIDE = { top: "bottom", right: "left", bottom: "top", left: "right" };
1947
+ const FloatingContentContext = new Context("Floating.Content");
1948
+ class FloatingContentState {
1949
+ static create(opts, tooltip = false) {
1950
+ return tooltip ? FloatingContentContext.set(new FloatingContentState(opts, FloatingTooltipRootContext.get())) : FloatingContentContext.set(new FloatingContentState(opts, FloatingRootContext.get()));
1951
+ }
1952
+ opts;
1953
+ root;
1954
+ // nodes
1955
+ contentRef = simpleBox(null);
1956
+ wrapperRef = simpleBox(null);
1957
+ arrowRef = simpleBox(null);
1958
+ contentAttachment = attachRef(this.contentRef);
1959
+ wrapperAttachment = attachRef(this.wrapperRef);
1960
+ arrowAttachment = attachRef(this.arrowRef);
1961
+ // ids
1962
+ arrowId = simpleBox(useId());
1963
+ #transformedStyle = derived(() => {
1964
+ if (typeof this.opts.style === "string") return cssToStyleObj(this.opts.style);
1965
+ if (!this.opts.style) return {};
1966
+ });
1967
+ #updatePositionStrategy = void 0;
1968
+ #arrowSize = new ElementSize(() => this.arrowRef.current ?? void 0);
1969
+ #arrowWidth = derived(() => this.#arrowSize?.width ?? 0);
1970
+ #arrowHeight = derived(() => this.#arrowSize?.height ?? 0);
1971
+ #desiredPlacement = derived(() => this.opts.side?.current + (this.opts.align.current !== "center" ? `-${this.opts.align.current}` : ""));
1972
+ #boundary = derived(() => Array.isArray(this.opts.collisionBoundary.current) ? this.opts.collisionBoundary.current : [this.opts.collisionBoundary.current]);
1973
+ #hasExplicitBoundaries = derived(() => this.#boundary().length > 0);
1974
+ get hasExplicitBoundaries() {
1975
+ return this.#hasExplicitBoundaries();
1976
+ }
1977
+ set hasExplicitBoundaries($$value) {
1978
+ return this.#hasExplicitBoundaries($$value);
1979
+ }
1980
+ #detectOverflowOptions = derived(() => ({
1981
+ padding: this.opts.collisionPadding.current,
1982
+ boundary: this.#boundary().filter(isNotNull),
1983
+ altBoundary: this.hasExplicitBoundaries
1984
+ }));
1985
+ get detectOverflowOptions() {
1986
+ return this.#detectOverflowOptions();
1987
+ }
1988
+ set detectOverflowOptions($$value) {
1989
+ return this.#detectOverflowOptions($$value);
1990
+ }
1991
+ #availableWidth = void 0;
1992
+ #availableHeight = void 0;
1993
+ #anchorWidth = void 0;
1994
+ #anchorHeight = void 0;
1995
+ #middleware = derived(() => [
1996
+ offset({
1997
+ mainAxis: this.opts.sideOffset.current + this.#arrowHeight(),
1998
+ alignmentAxis: this.opts.alignOffset.current
1999
+ }),
2000
+ this.opts.avoidCollisions.current && shift({
2001
+ mainAxis: true,
2002
+ crossAxis: false,
2003
+ limiter: this.opts.sticky.current === "partial" ? limitShift() : void 0,
2004
+ ...this.detectOverflowOptions
2005
+ }),
2006
+ this.opts.avoidCollisions.current && flip({ ...this.detectOverflowOptions }),
2007
+ size({
2008
+ ...this.detectOverflowOptions,
2009
+ apply: ({ rects, availableWidth, availableHeight }) => {
2010
+ const { width: anchorWidth, height: anchorHeight } = rects.reference;
2011
+ this.#availableWidth = availableWidth;
2012
+ this.#availableHeight = availableHeight;
2013
+ this.#anchorWidth = anchorWidth;
2014
+ this.#anchorHeight = anchorHeight;
2015
+ }
2016
+ }),
2017
+ this.arrowRef.current && arrow({
2018
+ element: this.arrowRef.current,
2019
+ padding: this.opts.arrowPadding.current
2020
+ }),
2021
+ transformOrigin({
2022
+ arrowWidth: this.#arrowWidth(),
2023
+ arrowHeight: this.#arrowHeight()
2024
+ }),
2025
+ this.opts.hideWhenDetached.current && hide({ strategy: "referenceHidden", ...this.detectOverflowOptions })
2026
+ ].filter(Boolean));
2027
+ get middleware() {
2028
+ return this.#middleware();
2029
+ }
2030
+ set middleware($$value) {
2031
+ return this.#middleware($$value);
2032
+ }
2033
+ floating;
2034
+ #placedSide = derived(() => getSideFromPlacement(this.floating.placement));
2035
+ get placedSide() {
2036
+ return this.#placedSide();
2037
+ }
2038
+ set placedSide($$value) {
2039
+ return this.#placedSide($$value);
2040
+ }
2041
+ #placedAlign = derived(() => getAlignFromPlacement(this.floating.placement));
2042
+ get placedAlign() {
2043
+ return this.#placedAlign();
2044
+ }
2045
+ set placedAlign($$value) {
2046
+ return this.#placedAlign($$value);
2047
+ }
2048
+ #arrowX = derived(() => this.floating.middlewareData.arrow?.x ?? 0);
2049
+ get arrowX() {
2050
+ return this.#arrowX();
2051
+ }
2052
+ set arrowX($$value) {
2053
+ return this.#arrowX($$value);
2054
+ }
2055
+ #arrowY = derived(() => this.floating.middlewareData.arrow?.y ?? 0);
2056
+ get arrowY() {
2057
+ return this.#arrowY();
2058
+ }
2059
+ set arrowY($$value) {
2060
+ return this.#arrowY($$value);
2061
+ }
2062
+ #cannotCenterArrow = derived(() => this.floating.middlewareData.arrow?.centerOffset !== 0);
2063
+ get cannotCenterArrow() {
2064
+ return this.#cannotCenterArrow();
2065
+ }
2066
+ set cannotCenterArrow($$value) {
2067
+ return this.#cannotCenterArrow($$value);
2068
+ }
2069
+ contentZIndex;
2070
+ #arrowBaseSide = derived(() => OPPOSITE_SIDE[this.placedSide]);
2071
+ get arrowBaseSide() {
2072
+ return this.#arrowBaseSide();
2073
+ }
2074
+ set arrowBaseSide($$value) {
2075
+ return this.#arrowBaseSide($$value);
2076
+ }
2077
+ #wrapperProps = derived(() => ({
2078
+ id: this.opts.wrapperId.current,
2079
+ "data-bits-floating-content-wrapper": "",
2080
+ style: {
2081
+ ...this.floating.floatingStyles,
2082
+ transform: this.floating.isPositioned ? this.floating.floatingStyles.transform : "translate(0, -200%)",
2083
+ minWidth: "max-content",
2084
+ zIndex: this.contentZIndex,
2085
+ "--bits-floating-transform-origin": `${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,
2086
+ "--bits-floating-available-width": `${this.#availableWidth}px`,
2087
+ "--bits-floating-available-height": `${this.#availableHeight}px`,
2088
+ "--bits-floating-anchor-width": `${this.#anchorWidth}px`,
2089
+ "--bits-floating-anchor-height": `${this.#anchorHeight}px`,
2090
+ ...this.floating.middlewareData.hide?.referenceHidden && { visibility: "hidden", "pointer-events": "none" },
2091
+ ...this.#transformedStyle()
2092
+ },
2093
+ dir: this.opts.dir.current,
2094
+ ...this.wrapperAttachment
2095
+ }));
2096
+ get wrapperProps() {
2097
+ return this.#wrapperProps();
2098
+ }
2099
+ set wrapperProps($$value) {
2100
+ return this.#wrapperProps($$value);
2101
+ }
2102
+ #props = derived(() => ({
2103
+ "data-side": this.placedSide,
2104
+ "data-align": this.placedAlign,
2105
+ style: styleToString({ ...this.#transformedStyle() }),
2106
+ ...this.contentAttachment
2107
+ }));
2108
+ get props() {
2109
+ return this.#props();
2110
+ }
2111
+ set props($$value) {
2112
+ return this.#props($$value);
2113
+ }
2114
+ #arrowStyle = derived(() => ({
2115
+ position: "absolute",
2116
+ left: this.arrowX ? `${this.arrowX}px` : void 0,
2117
+ top: this.arrowY ? `${this.arrowY}px` : void 0,
2118
+ [this.arrowBaseSide]: 0,
2119
+ "transform-origin": { top: "", right: "0 0", bottom: "center 0", left: "100% 0" }[this.placedSide],
2120
+ transform: {
2121
+ top: "translateY(100%)",
2122
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
2123
+ bottom: "rotate(180deg)",
2124
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
2125
+ }[this.placedSide],
2126
+ visibility: this.cannotCenterArrow ? "hidden" : void 0
2127
+ }));
2128
+ get arrowStyle() {
2129
+ return this.#arrowStyle();
2130
+ }
2131
+ set arrowStyle($$value) {
2132
+ return this.#arrowStyle($$value);
2133
+ }
2134
+ constructor(opts, root) {
2135
+ this.opts = opts;
2136
+ this.root = root;
2137
+ this.#updatePositionStrategy = opts.updatePositionStrategy;
2138
+ if (opts.customAnchor) {
2139
+ this.root.customAnchorNode.current = opts.customAnchor.current;
2140
+ }
2141
+ watch(() => opts.customAnchor.current, (customAnchor) => {
2142
+ this.root.customAnchorNode.current = customAnchor;
2143
+ });
2144
+ this.floating = useFloating({
2145
+ strategy: () => this.opts.strategy.current,
2146
+ placement: () => this.#desiredPlacement(),
2147
+ middleware: () => this.middleware,
2148
+ reference: this.root.anchorNode,
2149
+ open: () => this.opts.enabled.current,
2150
+ sideOffset: () => this.opts.sideOffset.current,
2151
+ alignOffset: () => this.opts.alignOffset.current
2152
+ });
2153
+ watch(() => this.contentRef.current, (contentNode) => {
2154
+ if (!contentNode || !this.opts.enabled.current) return;
2155
+ const win = getWindow$1(contentNode);
2156
+ const rafId = win.requestAnimationFrame(() => {
2157
+ if (this.contentRef.current !== contentNode || !this.opts.enabled.current) return;
2158
+ const zIndex = win.getComputedStyle(contentNode).zIndex;
2159
+ if (zIndex !== this.contentZIndex) {
2160
+ this.contentZIndex = zIndex;
2161
+ }
2162
+ });
2163
+ return () => {
2164
+ win.cancelAnimationFrame(rafId);
2165
+ };
2166
+ });
2167
+ }
2168
+ }
2169
+ class FloatingArrowState {
2170
+ static create(opts) {
2171
+ return new FloatingArrowState(opts, FloatingContentContext.get());
2172
+ }
2173
+ opts;
2174
+ content;
2175
+ constructor(opts, content) {
2176
+ this.opts = opts;
2177
+ this.content = content;
2178
+ }
2179
+ #props = derived(() => ({
2180
+ id: this.opts.id.current,
2181
+ style: this.content.arrowStyle,
2182
+ "data-side": this.content.placedSide,
2183
+ ...this.content.arrowAttachment
2184
+ }));
2185
+ get props() {
2186
+ return this.#props();
2187
+ }
2188
+ set props($$value) {
2189
+ return this.#props($$value);
2190
+ }
2191
+ }
2192
+ function transformOrigin(options) {
2193
+ return {
2194
+ name: "transformOrigin",
2195
+ options,
2196
+ fn(data) {
2197
+ const { placement, rects, middlewareData } = data;
2198
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
2199
+ const isArrowHidden = cannotCenterArrow;
2200
+ const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
2201
+ const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
2202
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
2203
+ const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
2204
+ const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
2205
+ const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
2206
+ let x = "";
2207
+ let y = "";
2208
+ if (placedSide === "bottom") {
2209
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
2210
+ y = `${-arrowHeight}px`;
2211
+ } else if (placedSide === "top") {
2212
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
2213
+ y = `${rects.floating.height + arrowHeight}px`;
2214
+ } else if (placedSide === "right") {
2215
+ x = `${-arrowHeight}px`;
2216
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
2217
+ } else if (placedSide === "left") {
2218
+ x = `${rects.floating.width + arrowHeight}px`;
2219
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
2220
+ }
2221
+ return { data: { x, y } };
2222
+ }
2223
+ };
2224
+ }
2225
+ function getSideAndAlignFromPlacement(placement) {
2226
+ const [side, align = "center"] = placement.split("-");
2227
+ return [side, align];
2228
+ }
2229
+ function getSideFromPlacement(placement) {
2230
+ return getSideAndAlignFromPlacement(placement)[0];
2231
+ }
2232
+ function getAlignFromPlacement(placement) {
2233
+ return getSideAndAlignFromPlacement(placement)[1];
2234
+ }
2235
+ function Floating_layer_content($$renderer, $$props) {
2236
+ $$renderer.component(($$renderer2) => {
2237
+ let {
2238
+ content,
2239
+ side = "bottom",
2240
+ sideOffset = 0,
2241
+ align = "center",
2242
+ alignOffset = 0,
2243
+ id,
2244
+ arrowPadding = 0,
2245
+ avoidCollisions = true,
2246
+ collisionBoundary = [],
2247
+ collisionPadding = 0,
2248
+ hideWhenDetached = false,
2249
+ onPlaced = () => {
2250
+ },
2251
+ sticky = "partial",
2252
+ updatePositionStrategy = "optimized",
2253
+ strategy = "fixed",
2254
+ dir = "ltr",
2255
+ style = {},
2256
+ wrapperId = useId(),
2257
+ customAnchor = null,
2258
+ enabled,
2259
+ tooltip = false
2260
+ } = $$props;
2261
+ const contentState = FloatingContentState.create(
2262
+ {
2263
+ side: boxWith(() => side),
2264
+ sideOffset: boxWith(() => sideOffset),
2265
+ align: boxWith(() => align),
2266
+ alignOffset: boxWith(() => alignOffset),
2267
+ id: boxWith(() => id),
2268
+ arrowPadding: boxWith(() => arrowPadding),
2269
+ avoidCollisions: boxWith(() => avoidCollisions),
2270
+ collisionBoundary: boxWith(() => collisionBoundary),
2271
+ collisionPadding: boxWith(() => collisionPadding),
2272
+ hideWhenDetached: boxWith(() => hideWhenDetached),
2273
+ onPlaced: boxWith(() => onPlaced),
2274
+ sticky: boxWith(() => sticky),
2275
+ updatePositionStrategy: boxWith(() => updatePositionStrategy),
2276
+ strategy: boxWith(() => strategy),
2277
+ dir: boxWith(() => dir),
2278
+ style: boxWith(() => style),
2279
+ enabled: boxWith(() => enabled),
2280
+ wrapperId: boxWith(() => wrapperId),
2281
+ customAnchor: boxWith(() => customAnchor)
2282
+ },
2283
+ tooltip
2284
+ );
2285
+ const mergedProps = derived(() => mergeProps(contentState.wrapperProps, { style: { pointerEvents: "auto" } }));
2286
+ content?.($$renderer2, { props: contentState.props, wrapperProps: mergedProps() });
2287
+ $$renderer2.push(`<!---->`);
2288
+ });
2289
+ }
2290
+ function Floating_layer_content_static($$renderer, $$props) {
2291
+ $$renderer.component(($$renderer2) => {
2292
+ let { content } = $$props;
2293
+ content?.($$renderer2, { props: {}, wrapperProps: {} });
2294
+ $$renderer2.push(`<!---->`);
2295
+ });
2296
+ }
2297
+ function Popper_content($$renderer, $$props) {
2298
+ let {
2299
+ content,
2300
+ isStatic = false,
2301
+ onPlaced,
2302
+ $$slots,
2303
+ $$events,
2304
+ ...restProps
2305
+ } = $$props;
2306
+ if (isStatic) {
2307
+ $$renderer.push("<!--[0-->");
2308
+ Floating_layer_content_static($$renderer, { content });
2309
+ } else {
2310
+ $$renderer.push("<!--[-1-->");
2311
+ Floating_layer_content($$renderer, spread_props([{ content, onPlaced }, restProps]));
2312
+ }
2313
+ $$renderer.push(`<!--]-->`);
2314
+ }
2315
+ function Popper_layer_inner($$renderer, $$props) {
2316
+ $$renderer.component(($$renderer2) => {
2317
+ let {
2318
+ popper,
2319
+ onEscapeKeydown,
2320
+ escapeKeydownBehavior,
2321
+ preventOverflowTextSelection,
2322
+ id,
2323
+ onPointerDown,
2324
+ onPointerUp,
2325
+ side,
2326
+ sideOffset,
2327
+ align,
2328
+ alignOffset,
2329
+ arrowPadding,
2330
+ avoidCollisions,
2331
+ collisionBoundary,
2332
+ collisionPadding,
2333
+ sticky,
2334
+ hideWhenDetached,
2335
+ updatePositionStrategy,
2336
+ strategy,
2337
+ dir,
2338
+ preventScroll,
2339
+ wrapperId,
2340
+ style,
2341
+ onPlaced,
2342
+ onInteractOutside,
2343
+ onCloseAutoFocus,
2344
+ onOpenAutoFocus,
2345
+ onFocusOutside,
2346
+ interactOutsideBehavior = "close",
2347
+ loop,
2348
+ trapFocus = true,
2349
+ isValidEvent = () => false,
2350
+ customAnchor = null,
2351
+ isStatic = false,
2352
+ enabled,
2353
+ forceMount,
2354
+ ref,
2355
+ tooltip = false,
2356
+ contentPointerEvents = "auto",
2357
+ $$slots,
2358
+ $$events,
2359
+ ...restProps
2360
+ } = $$props;
2361
+ const resolvedPreventScroll = derived(() => preventScroll ?? true);
2362
+ const effectiveStrategy = derived(() => strategy ?? (resolvedPreventScroll() ? "fixed" : "absolute"));
2363
+ {
2364
+ let content = function($$renderer3, { props: floatingProps, wrapperProps }) {
2365
+ if (forceMount && enabled) {
2366
+ $$renderer3.push("<!--[0-->");
2367
+ Scroll_lock($$renderer3, { preventScroll: resolvedPreventScroll() });
2368
+ } else if (!forceMount) {
2369
+ $$renderer3.push("<!--[1-->");
2370
+ Scroll_lock($$renderer3, { preventScroll: resolvedPreventScroll() });
2371
+ } else {
2372
+ $$renderer3.push("<!--[-1-->");
2373
+ }
2374
+ $$renderer3.push(`<!--]--> `);
2375
+ {
2376
+ let focusScope = function($$renderer4, { props: focusScopeProps }) {
2377
+ Escape_layer($$renderer4, {
2378
+ onEscapeKeydown,
2379
+ escapeKeydownBehavior,
2380
+ enabled,
2381
+ ref,
2382
+ children: ($$renderer5) => {
2383
+ {
2384
+ let children = function($$renderer6, { props: dismissibleProps }) {
2385
+ Text_selection_layer($$renderer6, {
2386
+ id,
2387
+ preventOverflowTextSelection,
2388
+ onPointerDown,
2389
+ onPointerUp,
2390
+ enabled,
2391
+ ref,
2392
+ children: ($$renderer7) => {
2393
+ popper?.($$renderer7, {
2394
+ props: mergeProps(restProps, floatingProps, dismissibleProps, focusScopeProps, { id, style: { pointerEvents: contentPointerEvents } }),
2395
+ wrapperProps
2396
+ });
2397
+ $$renderer7.push(`<!---->`);
2398
+ }
2399
+ });
2400
+ };
2401
+ Dismissible_layer($$renderer5, {
2402
+ id,
2403
+ onInteractOutside,
2404
+ onFocusOutside,
2405
+ interactOutsideBehavior,
2406
+ isValidEvent,
2407
+ enabled,
2408
+ ref,
2409
+ children
2410
+ });
2411
+ }
2412
+ }
2413
+ });
2414
+ };
2415
+ Focus_scope($$renderer3, {
2416
+ onOpenAutoFocus,
2417
+ onCloseAutoFocus,
2418
+ loop,
2419
+ enabled,
2420
+ trapFocus,
2421
+ ref,
2422
+ focusScope
2423
+ });
2424
+ }
2425
+ $$renderer3.push(`<!---->`);
2426
+ };
2427
+ Popper_content($$renderer2, {
2428
+ isStatic,
2429
+ id,
2430
+ side,
2431
+ sideOffset,
2432
+ align,
2433
+ alignOffset,
2434
+ arrowPadding,
2435
+ avoidCollisions,
2436
+ collisionBoundary,
2437
+ collisionPadding,
2438
+ sticky,
2439
+ hideWhenDetached,
2440
+ updatePositionStrategy,
2441
+ strategy: effectiveStrategy(),
2442
+ dir,
2443
+ wrapperId,
2444
+ style,
2445
+ onPlaced,
2446
+ customAnchor,
2447
+ enabled,
2448
+ tooltip,
2449
+ content,
2450
+ $$slots: { content: true }
2451
+ });
2452
+ }
2453
+ });
2454
+ }
2455
+ function Popper_layer($$renderer, $$props) {
2456
+ let {
2457
+ popper,
2458
+ open,
2459
+ onEscapeKeydown,
2460
+ escapeKeydownBehavior,
2461
+ preventOverflowTextSelection,
2462
+ id,
2463
+ onPointerDown,
2464
+ onPointerUp,
2465
+ side,
2466
+ sideOffset,
2467
+ align,
2468
+ alignOffset,
2469
+ arrowPadding,
2470
+ avoidCollisions,
2471
+ collisionBoundary,
2472
+ collisionPadding,
2473
+ sticky,
2474
+ hideWhenDetached,
2475
+ updatePositionStrategy,
2476
+ strategy,
2477
+ dir,
2478
+ preventScroll,
2479
+ wrapperId,
2480
+ style,
2481
+ onPlaced,
2482
+ onInteractOutside,
2483
+ onCloseAutoFocus,
2484
+ onOpenAutoFocus,
2485
+ onFocusOutside,
2486
+ interactOutsideBehavior = "close",
2487
+ loop,
2488
+ trapFocus = true,
2489
+ isValidEvent = () => false,
2490
+ customAnchor = null,
2491
+ isStatic = false,
2492
+ ref,
2493
+ shouldRender,
2494
+ $$slots,
2495
+ $$events,
2496
+ ...restProps
2497
+ } = $$props;
2498
+ if (shouldRender) {
2499
+ $$renderer.push("<!--[0-->");
2500
+ Popper_layer_inner($$renderer, spread_props([
2501
+ {
2502
+ popper,
2503
+ onEscapeKeydown,
2504
+ escapeKeydownBehavior,
2505
+ preventOverflowTextSelection,
2506
+ id,
2507
+ onPointerDown,
2508
+ onPointerUp,
2509
+ side,
2510
+ sideOffset,
2511
+ align,
2512
+ alignOffset,
2513
+ arrowPadding,
2514
+ avoidCollisions,
2515
+ collisionBoundary,
2516
+ collisionPadding,
2517
+ sticky,
2518
+ hideWhenDetached,
2519
+ updatePositionStrategy,
2520
+ strategy,
2521
+ dir,
2522
+ preventScroll,
2523
+ wrapperId,
2524
+ style,
2525
+ onPlaced,
2526
+ customAnchor,
2527
+ isStatic,
2528
+ enabled: open,
2529
+ onInteractOutside,
2530
+ onCloseAutoFocus,
2531
+ onOpenAutoFocus,
2532
+ interactOutsideBehavior,
2533
+ loop,
2534
+ trapFocus,
2535
+ isValidEvent,
2536
+ onFocusOutside,
2537
+ forceMount: false,
2538
+ ref
2539
+ },
2540
+ restProps
2541
+ ]));
2542
+ } else {
2543
+ $$renderer.push("<!--[-1-->");
2544
+ }
2545
+ $$renderer.push(`<!--]-->`);
2546
+ }
2547
+ function Popper_layer_force_mount($$renderer, $$props) {
2548
+ let {
2549
+ popper,
2550
+ onEscapeKeydown,
2551
+ escapeKeydownBehavior,
2552
+ preventOverflowTextSelection,
2553
+ id,
2554
+ onPointerDown,
2555
+ onPointerUp,
2556
+ side,
2557
+ sideOffset,
2558
+ align,
2559
+ alignOffset,
2560
+ arrowPadding,
2561
+ avoidCollisions,
2562
+ collisionBoundary,
2563
+ collisionPadding,
2564
+ sticky,
2565
+ hideWhenDetached,
2566
+ updatePositionStrategy,
2567
+ strategy,
2568
+ dir,
2569
+ preventScroll,
2570
+ wrapperId,
2571
+ style,
2572
+ onPlaced,
2573
+ onInteractOutside,
2574
+ onCloseAutoFocus,
2575
+ onOpenAutoFocus,
2576
+ onFocusOutside,
2577
+ interactOutsideBehavior = "close",
2578
+ loop,
2579
+ trapFocus = true,
2580
+ isValidEvent = () => false,
2581
+ customAnchor = null,
2582
+ isStatic = false,
2583
+ enabled,
2584
+ $$slots,
2585
+ $$events,
2586
+ ...restProps
2587
+ } = $$props;
2588
+ Popper_layer_inner($$renderer, spread_props([
2589
+ {
2590
+ popper,
2591
+ onEscapeKeydown,
2592
+ escapeKeydownBehavior,
2593
+ preventOverflowTextSelection,
2594
+ id,
2595
+ onPointerDown,
2596
+ onPointerUp,
2597
+ side,
2598
+ sideOffset,
2599
+ align,
2600
+ alignOffset,
2601
+ arrowPadding,
2602
+ avoidCollisions,
2603
+ collisionBoundary,
2604
+ collisionPadding,
2605
+ sticky,
2606
+ hideWhenDetached,
2607
+ updatePositionStrategy,
2608
+ strategy,
2609
+ dir,
2610
+ preventScroll,
2611
+ wrapperId,
2612
+ style,
2613
+ onPlaced,
2614
+ customAnchor,
2615
+ isStatic,
2616
+ enabled,
2617
+ onInteractOutside,
2618
+ onCloseAutoFocus,
2619
+ onOpenAutoFocus,
2620
+ interactOutsideBehavior,
2621
+ loop,
2622
+ trapFocus,
2623
+ isValidEvent,
2624
+ onFocusOutside
2625
+ },
2626
+ restProps,
2627
+ { forceMount: true }
2628
+ ]));
2629
+ }
2630
+ function isPointInPolygon(point, polygon) {
2631
+ const [x, y] = point;
2632
+ let isInside = false;
2633
+ const length = polygon.length;
2634
+ for (let i = 0, j = length - 1; i < length; j = i++) {
2635
+ const [xi, yi] = polygon[i] ?? [0, 0];
2636
+ const [xj, yj] = polygon[j] ?? [0, 0];
2637
+ const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;
2638
+ if (intersect) {
2639
+ isInside = !isInside;
2640
+ }
2641
+ }
2642
+ return isInside;
2643
+ }
2644
+ function isInsideRect(point, rect) {
2645
+ return point[0] >= rect.left && point[0] <= rect.right && point[1] >= rect.top && point[1] <= rect.bottom;
2646
+ }
2647
+ function getSide(triggerRect, contentRect) {
2648
+ const triggerCenterX = triggerRect.left + triggerRect.width / 2;
2649
+ const triggerCenterY = triggerRect.top + triggerRect.height / 2;
2650
+ const contentCenterX = contentRect.left + contentRect.width / 2;
2651
+ const contentCenterY = contentRect.top + contentRect.height / 2;
2652
+ const deltaX = contentCenterX - triggerCenterX;
2653
+ const deltaY = contentCenterY - triggerCenterY;
2654
+ if (Math.abs(deltaX) > Math.abs(deltaY)) {
2655
+ return deltaX > 0 ? "right" : "left";
2656
+ }
2657
+ return deltaY > 0 ? "bottom" : "top";
2658
+ }
2659
+ class SafePolygon {
2660
+ #opts;
2661
+ #buffer;
2662
+ #transitIntentTimeout;
2663
+ // tracks the cursor position when leaving trigger or content
2664
+ #exitPoint = null;
2665
+ // tracks what we're moving toward: "content" when leaving trigger, "trigger" when leaving content
2666
+ #exitTarget = null;
2667
+ #transitTargets = [];
2668
+ #trackedTriggerNode = null;
2669
+ #leaveFallbackRafId = null;
2670
+ #transitIntentTimeoutId = null;
2671
+ #cancelLeaveFallback() {
2672
+ if (this.#leaveFallbackRafId !== null) {
2673
+ cancelAnimationFrame(this.#leaveFallbackRafId);
2674
+ this.#leaveFallbackRafId = null;
2675
+ }
2676
+ }
2677
+ #scheduleLeaveFallback() {
2678
+ this.#cancelLeaveFallback();
2679
+ this.#leaveFallbackRafId = requestAnimationFrame(() => {
2680
+ this.#leaveFallbackRafId = null;
2681
+ if (!this.#exitPoint || !this.#exitTarget) return;
2682
+ this.#clearTracking();
2683
+ this.#opts.onPointerExit();
2684
+ });
2685
+ }
2686
+ #cancelTransitIntentTimeout() {
2687
+ if (this.#transitIntentTimeoutId !== null) {
2688
+ clearTimeout(this.#transitIntentTimeoutId);
2689
+ this.#transitIntentTimeoutId = null;
2690
+ }
2691
+ }
2692
+ #scheduleTransitIntentTimeout() {
2693
+ if (this.#transitIntentTimeout === null) return;
2694
+ this.#cancelTransitIntentTimeout();
2695
+ this.#transitIntentTimeoutId = window.setTimeout(
2696
+ () => {
2697
+ this.#transitIntentTimeoutId = null;
2698
+ if (!this.#exitPoint || !this.#exitTarget) return;
2699
+ this.#clearTracking();
2700
+ this.#opts.onPointerExit();
2701
+ },
2702
+ this.#transitIntentTimeout
2703
+ );
2704
+ }
2705
+ constructor(opts) {
2706
+ this.#opts = opts;
2707
+ this.#buffer = opts.buffer ?? 1;
2708
+ const transitIntentTimeout = opts.transitIntentTimeout;
2709
+ this.#transitIntentTimeout = typeof transitIntentTimeout === "number" && transitIntentTimeout > 0 ? transitIntentTimeout : null;
2710
+ watch([opts.triggerNode, opts.contentNode, opts.enabled], ([triggerNode, contentNode, enabled]) => {
2711
+ if (!triggerNode || !contentNode || !enabled) {
2712
+ this.#trackedTriggerNode = null;
2713
+ this.#clearTracking();
2714
+ return;
2715
+ }
2716
+ if (this.#trackedTriggerNode && this.#trackedTriggerNode !== triggerNode) {
2717
+ this.#clearTracking();
2718
+ }
2719
+ this.#trackedTriggerNode = triggerNode;
2720
+ const doc = getDocument(triggerNode);
2721
+ const handlePointerMove = (e) => {
2722
+ this.#onPointerMove([e.clientX, e.clientY], triggerNode, contentNode);
2723
+ };
2724
+ const handleTriggerLeave = (e) => {
2725
+ const target = e.relatedTarget;
2726
+ if (isElement$1(target) && contentNode.contains(target)) {
2727
+ return;
2728
+ }
2729
+ const ignoredTargets = this.#opts.ignoredTargets?.() ?? [];
2730
+ if (isElement$1(target) && ignoredTargets.some((n) => n === target || n.contains(target))) {
2731
+ return;
2732
+ }
2733
+ this.#transitTargets = isElement$1(target) && ignoredTargets.length > 0 ? ignoredTargets.filter((n) => target.contains(n)) : [];
2734
+ this.#exitPoint = [e.clientX, e.clientY];
2735
+ this.#exitTarget = "content";
2736
+ this.#scheduleLeaveFallback();
2737
+ };
2738
+ const handleTriggerEnter = () => {
2739
+ this.#clearTracking();
2740
+ };
2741
+ const handleContentEnter = () => {
2742
+ this.#clearTracking();
2743
+ };
2744
+ const handleContentLeave = (e) => {
2745
+ const target = e.relatedTarget;
2746
+ if (isElement$1(target) && triggerNode.contains(target)) {
2747
+ return;
2748
+ }
2749
+ this.#exitPoint = [e.clientX, e.clientY];
2750
+ this.#exitTarget = "trigger";
2751
+ this.#scheduleLeaveFallback();
2752
+ };
2753
+ return [
2754
+ on(doc, "pointermove", handlePointerMove),
2755
+ on(triggerNode, "pointerleave", handleTriggerLeave),
2756
+ on(triggerNode, "pointerenter", handleTriggerEnter),
2757
+ on(contentNode, "pointerenter", handleContentEnter),
2758
+ on(contentNode, "pointerleave", handleContentLeave)
2759
+ ].reduce(
2760
+ (acc, cleanup) => () => {
2761
+ acc();
2762
+ cleanup();
2763
+ },
2764
+ () => {
2765
+ }
2766
+ );
2767
+ });
2768
+ }
2769
+ #onPointerMove(clientPoint, triggerNode, contentNode) {
2770
+ if (!this.#exitPoint || !this.#exitTarget) return;
2771
+ this.#cancelLeaveFallback();
2772
+ this.#scheduleTransitIntentTimeout();
2773
+ const triggerRect = triggerNode.getBoundingClientRect();
2774
+ const contentRect = contentNode.getBoundingClientRect();
2775
+ if (this.#exitTarget === "content" && isInsideRect(clientPoint, contentRect)) {
2776
+ this.#clearTracking();
2777
+ return;
2778
+ }
2779
+ if (this.#exitTarget === "trigger" && isInsideRect(clientPoint, triggerRect)) {
2780
+ this.#clearTracking();
2781
+ return;
2782
+ }
2783
+ if (this.#exitTarget === "content" && this.#transitTargets.length > 0) {
2784
+ for (const transitTarget of this.#transitTargets) {
2785
+ const transitRect = transitTarget.getBoundingClientRect();
2786
+ if (isInsideRect(clientPoint, transitRect)) return;
2787
+ const transitSide = getSide(triggerRect, transitRect);
2788
+ const transitCorridor = this.#getCorridorPolygon(triggerRect, transitRect, transitSide);
2789
+ if (transitCorridor && isPointInPolygon(clientPoint, transitCorridor)) return;
2790
+ }
2791
+ }
2792
+ const side = getSide(triggerRect, contentRect);
2793
+ const corridorPoly = this.#getCorridorPolygon(triggerRect, contentRect, side);
2794
+ if (corridorPoly && isPointInPolygon(clientPoint, corridorPoly)) {
2795
+ return;
2796
+ }
2797
+ const targetRect = this.#exitTarget === "content" ? contentRect : triggerRect;
2798
+ const safePoly = this.#getSafePolygon(this.#exitPoint, targetRect, side, this.#exitTarget);
2799
+ if (isPointInPolygon(clientPoint, safePoly)) {
2800
+ return;
2801
+ }
2802
+ this.#clearTracking();
2803
+ this.#opts.onPointerExit();
2804
+ }
2805
+ #clearTracking() {
2806
+ this.#exitPoint = null;
2807
+ this.#exitTarget = null;
2808
+ this.#transitTargets = [];
2809
+ this.#cancelLeaveFallback();
2810
+ this.#cancelTransitIntentTimeout();
2811
+ }
2812
+ /**
2813
+ * Creates a rectangular corridor between trigger and content
2814
+ * This prevents closing when cursor is in the gap between them
2815
+ */
2816
+ #getCorridorPolygon(triggerRect, contentRect, side) {
2817
+ const buffer = this.#buffer;
2818
+ switch (side) {
2819
+ case "top":
2820
+ return [
2821
+ [
2822
+ Math.min(triggerRect.left, contentRect.left) - buffer,
2823
+ triggerRect.top
2824
+ ],
2825
+ [
2826
+ Math.min(triggerRect.left, contentRect.left) - buffer,
2827
+ contentRect.bottom
2828
+ ],
2829
+ [
2830
+ Math.max(triggerRect.right, contentRect.right) + buffer,
2831
+ contentRect.bottom
2832
+ ],
2833
+ [
2834
+ Math.max(triggerRect.right, contentRect.right) + buffer,
2835
+ triggerRect.top
2836
+ ]
2837
+ ];
2838
+ case "bottom":
2839
+ return [
2840
+ [
2841
+ Math.min(triggerRect.left, contentRect.left) - buffer,
2842
+ triggerRect.bottom
2843
+ ],
2844
+ [
2845
+ Math.min(triggerRect.left, contentRect.left) - buffer,
2846
+ contentRect.top
2847
+ ],
2848
+ [
2849
+ Math.max(triggerRect.right, contentRect.right) + buffer,
2850
+ contentRect.top
2851
+ ],
2852
+ [
2853
+ Math.max(triggerRect.right, contentRect.right) + buffer,
2854
+ triggerRect.bottom
2855
+ ]
2856
+ ];
2857
+ case "left":
2858
+ return [
2859
+ [
2860
+ triggerRect.left,
2861
+ Math.min(triggerRect.top, contentRect.top) - buffer
2862
+ ],
2863
+ [
2864
+ contentRect.right,
2865
+ Math.min(triggerRect.top, contentRect.top) - buffer
2866
+ ],
2867
+ [
2868
+ contentRect.right,
2869
+ Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2870
+ ],
2871
+ [
2872
+ triggerRect.left,
2873
+ Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2874
+ ]
2875
+ ];
2876
+ case "right":
2877
+ return [
2878
+ [
2879
+ triggerRect.right,
2880
+ Math.min(triggerRect.top, contentRect.top) - buffer
2881
+ ],
2882
+ [
2883
+ contentRect.left,
2884
+ Math.min(triggerRect.top, contentRect.top) - buffer
2885
+ ],
2886
+ [
2887
+ contentRect.left,
2888
+ Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2889
+ ],
2890
+ [
2891
+ triggerRect.right,
2892
+ Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2893
+ ]
2894
+ ];
2895
+ }
2896
+ }
2897
+ /**
2898
+ * Creates a triangular/trapezoidal safe zone from the exit point to the target
2899
+ */
2900
+ #getSafePolygon(exitPoint, targetRect, side, exitTarget) {
2901
+ const buffer = this.#buffer * 4;
2902
+ const [x, y] = exitPoint;
2903
+ const effectiveSide = exitTarget === "trigger" ? this.#flipSide(side) : side;
2904
+ switch (effectiveSide) {
2905
+ case "top":
2906
+ return [
2907
+ [x - buffer, y + buffer],
2908
+ [x + buffer, y + buffer],
2909
+ [targetRect.right + buffer, targetRect.bottom],
2910
+ [targetRect.right + buffer, targetRect.top],
2911
+ [targetRect.left - buffer, targetRect.top],
2912
+ [targetRect.left - buffer, targetRect.bottom]
2913
+ ];
2914
+ case "bottom":
2915
+ return [
2916
+ [x - buffer, y - buffer],
2917
+ [x + buffer, y - buffer],
2918
+ [targetRect.right + buffer, targetRect.top],
2919
+ [targetRect.right + buffer, targetRect.bottom],
2920
+ [targetRect.left - buffer, targetRect.bottom],
2921
+ [targetRect.left - buffer, targetRect.top]
2922
+ ];
2923
+ case "left":
2924
+ return [
2925
+ [x + buffer, y - buffer],
2926
+ [x + buffer, y + buffer],
2927
+ [targetRect.right, targetRect.bottom + buffer],
2928
+ [targetRect.left, targetRect.bottom + buffer],
2929
+ [targetRect.left, targetRect.top - buffer],
2930
+ [targetRect.right, targetRect.top - buffer]
2931
+ ];
2932
+ case "right":
2933
+ return [
2934
+ [x - buffer, y - buffer],
2935
+ [x - buffer, y + buffer],
2936
+ [targetRect.left, targetRect.bottom + buffer],
2937
+ [targetRect.right, targetRect.bottom + buffer],
2938
+ [targetRect.right, targetRect.top - buffer],
2939
+ [targetRect.left, targetRect.top - buffer]
2940
+ ];
2941
+ }
2942
+ }
2943
+ #flipSide(side) {
2944
+ switch (side) {
2945
+ case "top":
2946
+ return "bottom";
2947
+ case "bottom":
2948
+ return "top";
2949
+ case "left":
2950
+ return "right";
2951
+ case "right":
2952
+ return "left";
2953
+ }
2954
+ }
2955
+ }
2956
+ const popoverAttrs = createBitsAttrs({
2957
+ component: "popover",
2958
+ parts: ["root", "trigger", "content", "close", "overlay"]
2959
+ });
2960
+ const PopoverRootContext = new Context("Popover.Root");
2961
+ class PopoverRootState {
2962
+ static create(opts) {
2963
+ return PopoverRootContext.set(new PopoverRootState(opts));
2964
+ }
2965
+ opts;
2966
+ contentNode = null;
2967
+ contentPresence;
2968
+ triggerNode = null;
2969
+ overlayNode = null;
2970
+ overlayPresence;
2971
+ // hover tracking state
2972
+ openedViaHover = false;
2973
+ hasInteractedWithContent = false;
2974
+ hoverCooldown = false;
2975
+ closeDelay = 0;
2976
+ #closeTimeout = null;
2977
+ #domContext = null;
2978
+ constructor(opts) {
2979
+ this.opts = opts;
2980
+ this.contentPresence = new PresenceManager({
2981
+ ref: boxWith(() => this.contentNode),
2982
+ open: this.opts.open,
2983
+ onComplete: () => {
2984
+ this.opts.onOpenChangeComplete.current(this.opts.open.current);
2985
+ }
2986
+ });
2987
+ this.overlayPresence = new PresenceManager({ ref: boxWith(() => this.overlayNode), open: this.opts.open });
2988
+ watch(() => this.opts.open.current, (isOpen) => {
2989
+ if (!isOpen) {
2990
+ this.openedViaHover = false;
2991
+ this.hasInteractedWithContent = false;
2992
+ this.#clearCloseTimeout();
2993
+ }
2994
+ });
2995
+ }
2996
+ setDomContext(ctx) {
2997
+ this.#domContext = ctx;
2998
+ }
2999
+ #clearCloseTimeout() {
3000
+ if (this.#closeTimeout !== null && this.#domContext) {
3001
+ this.#domContext.clearTimeout(this.#closeTimeout);
3002
+ this.#closeTimeout = null;
3003
+ }
3004
+ }
3005
+ toggleOpen() {
3006
+ this.#clearCloseTimeout();
3007
+ this.opts.open.current = !this.opts.open.current;
3008
+ }
3009
+ handleClose() {
3010
+ this.#clearCloseTimeout();
3011
+ if (!this.opts.open.current) return;
3012
+ this.opts.open.current = false;
3013
+ }
3014
+ handleHoverOpen() {
3015
+ this.#clearCloseTimeout();
3016
+ if (this.opts.open.current) return;
3017
+ this.openedViaHover = true;
3018
+ this.opts.open.current = true;
3019
+ }
3020
+ handleHoverClose() {
3021
+ if (!this.opts.open.current) return;
3022
+ if (this.openedViaHover && !this.hasInteractedWithContent) {
3023
+ this.opts.open.current = false;
3024
+ }
3025
+ }
3026
+ handleDelayedHoverClose() {
3027
+ if (!this.opts.open.current) return;
3028
+ if (!this.openedViaHover || this.hasInteractedWithContent) return;
3029
+ this.#clearCloseTimeout();
3030
+ if (this.closeDelay <= 0) {
3031
+ this.opts.open.current = false;
3032
+ } else if (this.#domContext) {
3033
+ this.#closeTimeout = this.#domContext.setTimeout(
3034
+ () => {
3035
+ if (this.openedViaHover && !this.hasInteractedWithContent) {
3036
+ this.opts.open.current = false;
3037
+ }
3038
+ this.#closeTimeout = null;
3039
+ },
3040
+ this.closeDelay
3041
+ );
3042
+ }
3043
+ }
3044
+ cancelDelayedClose() {
3045
+ this.#clearCloseTimeout();
3046
+ }
3047
+ markInteraction() {
3048
+ this.hasInteractedWithContent = true;
3049
+ this.#clearCloseTimeout();
3050
+ }
3051
+ }
3052
+ class PopoverTriggerState {
3053
+ static create(opts) {
3054
+ return new PopoverTriggerState(opts, PopoverRootContext.get());
3055
+ }
3056
+ opts;
3057
+ root;
3058
+ attachment;
3059
+ domContext;
3060
+ #openTimeout = null;
3061
+ #closeTimeout = null;
3062
+ #isHovering = false;
3063
+ constructor(opts, root) {
3064
+ this.opts = opts;
3065
+ this.root = root;
3066
+ this.attachment = attachRef(this.opts.ref, (v) => this.root.triggerNode = v);
3067
+ this.domContext = new DOMContext(opts.ref);
3068
+ this.root.setDomContext(this.domContext);
3069
+ this.onclick = this.onclick.bind(this);
3070
+ this.onkeydown = this.onkeydown.bind(this);
3071
+ this.onpointerenter = this.onpointerenter.bind(this);
3072
+ this.onpointerleave = this.onpointerleave.bind(this);
3073
+ watch(() => this.opts.closeDelay.current, (delay) => {
3074
+ this.root.closeDelay = delay;
3075
+ });
3076
+ }
3077
+ #clearOpenTimeout() {
3078
+ if (this.#openTimeout !== null) {
3079
+ this.domContext.clearTimeout(this.#openTimeout);
3080
+ this.#openTimeout = null;
3081
+ }
3082
+ }
3083
+ #clearCloseTimeout() {
3084
+ if (this.#closeTimeout !== null) {
3085
+ this.domContext.clearTimeout(this.#closeTimeout);
3086
+ this.#closeTimeout = null;
3087
+ }
3088
+ }
3089
+ #clearAllTimeouts() {
3090
+ this.#clearOpenTimeout();
3091
+ this.#clearCloseTimeout();
3092
+ }
3093
+ onpointerenter(e) {
3094
+ if (this.opts.disabled.current) return;
3095
+ if (!this.opts.openOnHover.current) return;
3096
+ if (isTouch(e)) return;
3097
+ this.#isHovering = true;
3098
+ this.#clearCloseTimeout();
3099
+ this.root.cancelDelayedClose();
3100
+ if (this.root.opts.open.current || this.root.hoverCooldown) return;
3101
+ const delay = this.opts.openDelay.current;
3102
+ if (delay <= 0) {
3103
+ this.root.handleHoverOpen();
3104
+ } else {
3105
+ this.#openTimeout = this.domContext.setTimeout(
3106
+ () => {
3107
+ this.root.handleHoverOpen();
3108
+ this.#openTimeout = null;
3109
+ },
3110
+ delay
3111
+ );
3112
+ }
3113
+ }
3114
+ onpointerleave(e) {
3115
+ if (this.opts.disabled.current) return;
3116
+ if (!this.opts.openOnHover.current) return;
3117
+ if (isTouch(e)) return;
3118
+ this.#isHovering = false;
3119
+ this.#clearOpenTimeout();
3120
+ this.root.hoverCooldown = false;
3121
+ }
3122
+ onclick(e) {
3123
+ if (this.opts.disabled.current) return;
3124
+ if (e.button !== 0) return;
3125
+ this.#clearAllTimeouts();
3126
+ if (this.#isHovering && this.root.opts.open.current && this.root.openedViaHover) {
3127
+ this.root.openedViaHover = false;
3128
+ this.root.hasInteractedWithContent = true;
3129
+ return;
3130
+ }
3131
+ if (this.#isHovering && this.opts.openOnHover.current && this.root.opts.open.current) {
3132
+ this.root.hoverCooldown = true;
3133
+ }
3134
+ if (this.root.hoverCooldown && !this.root.opts.open.current) {
3135
+ this.root.hoverCooldown = false;
3136
+ }
3137
+ this.root.toggleOpen();
3138
+ }
3139
+ onkeydown(e) {
3140
+ if (this.opts.disabled.current) return;
3141
+ if (!(e.key === ENTER || e.key === SPACE)) return;
3142
+ e.preventDefault();
3143
+ this.#clearAllTimeouts();
3144
+ this.root.toggleOpen();
3145
+ }
3146
+ #getAriaControls() {
3147
+ if (this.root.opts.open.current && this.root.contentNode?.id) {
3148
+ return this.root.contentNode?.id;
3149
+ }
3150
+ }
3151
+ #props = derived(() => ({
3152
+ id: this.opts.id.current,
3153
+ "aria-haspopup": "dialog",
3154
+ "aria-expanded": boolToStr(this.root.opts.open.current),
3155
+ "data-state": getDataOpenClosed(this.root.opts.open.current),
3156
+ "aria-controls": this.#getAriaControls(),
3157
+ [popoverAttrs.trigger]: "",
3158
+ disabled: this.opts.disabled.current,
3159
+ //
3160
+ onkeydown: this.onkeydown,
3161
+ onclick: this.onclick,
3162
+ onpointerenter: this.onpointerenter,
3163
+ onpointerleave: this.onpointerleave,
3164
+ ...this.attachment
3165
+ }));
3166
+ get props() {
3167
+ return this.#props();
3168
+ }
3169
+ set props($$value) {
3170
+ return this.#props($$value);
3171
+ }
3172
+ }
3173
+ class PopoverContentState {
3174
+ static create(opts) {
3175
+ return new PopoverContentState(opts, PopoverRootContext.get());
3176
+ }
3177
+ opts;
3178
+ root;
3179
+ attachment;
3180
+ constructor(opts, root) {
3181
+ this.opts = opts;
3182
+ this.root = root;
3183
+ this.attachment = attachRef(this.opts.ref, (v) => this.root.contentNode = v);
3184
+ this.onpointerdown = this.onpointerdown.bind(this);
3185
+ this.onfocusin = this.onfocusin.bind(this);
3186
+ this.onpointerenter = this.onpointerenter.bind(this);
3187
+ this.onpointerleave = this.onpointerleave.bind(this);
3188
+ new SafePolygon({
3189
+ triggerNode: () => this.root.triggerNode,
3190
+ contentNode: () => this.root.contentNode,
3191
+ enabled: () => this.root.opts.open.current && this.root.openedViaHover && !this.root.hasInteractedWithContent,
3192
+ onPointerExit: () => {
3193
+ this.root.handleDelayedHoverClose();
3194
+ }
3195
+ });
3196
+ }
3197
+ onpointerdown(_) {
3198
+ this.root.markInteraction();
3199
+ }
3200
+ onfocusin(e) {
3201
+ const target = e.target;
3202
+ if (isElement$1(target) && isTabbable(target)) {
3203
+ this.root.markInteraction();
3204
+ }
3205
+ }
3206
+ onpointerenter(e) {
3207
+ if (isTouch(e)) return;
3208
+ this.root.cancelDelayedClose();
3209
+ }
3210
+ onpointerleave(e) {
3211
+ if (isTouch(e)) return;
3212
+ }
3213
+ onInteractOutside = (e) => {
3214
+ this.opts.onInteractOutside.current(e);
3215
+ if (e.defaultPrevented) return;
3216
+ if (!isElement$1(e.target)) return;
3217
+ const closestTrigger = e.target.closest(popoverAttrs.selector("trigger"));
3218
+ if (closestTrigger && closestTrigger === this.root.triggerNode) return;
3219
+ if (this.opts.customAnchor.current) {
3220
+ if (isElement$1(this.opts.customAnchor.current)) {
3221
+ if (this.opts.customAnchor.current.contains(e.target)) return;
3222
+ } else if (typeof this.opts.customAnchor.current === "string") {
3223
+ const el = document.querySelector(this.opts.customAnchor.current);
3224
+ if (el && el.contains(e.target)) return;
3225
+ }
3226
+ }
3227
+ this.root.handleClose();
3228
+ };
3229
+ onEscapeKeydown = (e) => {
3230
+ this.opts.onEscapeKeydown.current(e);
3231
+ if (e.defaultPrevented) return;
3232
+ this.root.handleClose();
3233
+ };
3234
+ get shouldRender() {
3235
+ return this.root.contentPresence.shouldRender;
3236
+ }
3237
+ get shouldTrapFocus() {
3238
+ if (this.root.openedViaHover && !this.root.hasInteractedWithContent) return false;
3239
+ return true;
3240
+ }
3241
+ #snippetProps = derived(() => ({ open: this.root.opts.open.current }));
3242
+ get snippetProps() {
3243
+ return this.#snippetProps();
3244
+ }
3245
+ set snippetProps($$value) {
3246
+ return this.#snippetProps($$value);
3247
+ }
3248
+ #props = derived(() => ({
3249
+ id: this.opts.id.current,
3250
+ tabindex: -1,
3251
+ "data-state": getDataOpenClosed(this.root.opts.open.current),
3252
+ ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),
3253
+ [popoverAttrs.content]: "",
3254
+ style: { pointerEvents: "auto", contain: "layout style" },
3255
+ onpointerdown: this.onpointerdown,
3256
+ onfocusin: this.onfocusin,
3257
+ onpointerenter: this.onpointerenter,
3258
+ onpointerleave: this.onpointerleave,
3259
+ ...this.attachment
3260
+ }));
3261
+ get props() {
3262
+ return this.#props();
3263
+ }
3264
+ set props($$value) {
3265
+ return this.#props($$value);
3266
+ }
3267
+ popperProps = {
3268
+ onInteractOutside: this.onInteractOutside,
3269
+ onEscapeKeydown: this.onEscapeKeydown
3270
+ };
3271
+ }
3272
+ function Popover_content($$renderer, $$props) {
3273
+ $$renderer.component(($$renderer2) => {
3274
+ const uid = props_id($$renderer2);
3275
+ let {
3276
+ child,
3277
+ children,
3278
+ ref = null,
3279
+ id = createId(uid),
3280
+ forceMount = false,
3281
+ onOpenAutoFocus = noop,
3282
+ onCloseAutoFocus = noop,
3283
+ onEscapeKeydown = noop,
3284
+ onInteractOutside = noop,
3285
+ trapFocus = true,
3286
+ preventScroll = false,
3287
+ customAnchor = null,
3288
+ style,
3289
+ $$slots,
3290
+ $$events,
3291
+ ...restProps
3292
+ } = $$props;
3293
+ const contentState = PopoverContentState.create({
3294
+ id: boxWith(() => id),
3295
+ ref: boxWith(() => ref, (v) => ref = v),
3296
+ onInteractOutside: boxWith(() => onInteractOutside),
3297
+ onEscapeKeydown: boxWith(() => onEscapeKeydown),
3298
+ customAnchor: boxWith(() => customAnchor)
3299
+ });
3300
+ const mergedProps = derived(() => mergeProps(restProps, contentState.props));
3301
+ const effectiveTrapFocus = derived(() => trapFocus && contentState.shouldTrapFocus);
3302
+ function handleOpenAutoFocus(e) {
3303
+ if (!contentState.shouldTrapFocus) {
3304
+ e.preventDefault();
3305
+ }
3306
+ onOpenAutoFocus(e);
3307
+ }
3308
+ if (forceMount) {
3309
+ $$renderer2.push("<!--[0-->");
3310
+ {
3311
+ let popper = function($$renderer3, { props, wrapperProps }) {
3312
+ const finalProps = mergeProps(props, { style: getFloatingContentCSSVars("popover") }, { style });
3313
+ if (child) {
3314
+ $$renderer3.push("<!--[0-->");
3315
+ child($$renderer3, {
3316
+ props: finalProps,
3317
+ wrapperProps,
3318
+ ...contentState.snippetProps
3319
+ });
3320
+ $$renderer3.push(`<!---->`);
3321
+ } else {
3322
+ $$renderer3.push(`<!--[-1--><div${attributes({ ...wrapperProps })}><div${attributes({ ...finalProps })}>`);
3323
+ children?.($$renderer3);
3324
+ $$renderer3.push(`<!----></div></div>`);
3325
+ }
3326
+ $$renderer3.push(`<!--]-->`);
3327
+ };
3328
+ Popper_layer_force_mount($$renderer2, spread_props([
3329
+ mergedProps(),
3330
+ contentState.popperProps,
3331
+ {
3332
+ ref: contentState.opts.ref,
3333
+ enabled: contentState.root.opts.open.current,
3334
+ id,
3335
+ trapFocus: effectiveTrapFocus(),
3336
+ preventScroll,
3337
+ loop: true,
3338
+ forceMount: true,
3339
+ customAnchor,
3340
+ onOpenAutoFocus: handleOpenAutoFocus,
3341
+ onCloseAutoFocus,
3342
+ shouldRender: contentState.shouldRender,
3343
+ popper,
3344
+ $$slots: { popper: true }
3345
+ }
3346
+ ]));
3347
+ }
3348
+ } else if (!forceMount) {
3349
+ $$renderer2.push("<!--[1-->");
3350
+ {
3351
+ let popper = function($$renderer3, { props, wrapperProps }) {
3352
+ const finalProps = mergeProps(props, { style: getFloatingContentCSSVars("popover") }, { style });
3353
+ if (child) {
3354
+ $$renderer3.push("<!--[0-->");
3355
+ child($$renderer3, {
3356
+ props: finalProps,
3357
+ wrapperProps,
3358
+ ...contentState.snippetProps
3359
+ });
3360
+ $$renderer3.push(`<!---->`);
3361
+ } else {
3362
+ $$renderer3.push(`<!--[-1--><div${attributes({ ...wrapperProps })}><div${attributes({ ...finalProps })}>`);
3363
+ children?.($$renderer3);
3364
+ $$renderer3.push(`<!----></div></div>`);
3365
+ }
3366
+ $$renderer3.push(`<!--]-->`);
3367
+ };
3368
+ Popper_layer($$renderer2, spread_props([
3369
+ mergedProps(),
3370
+ contentState.popperProps,
3371
+ {
3372
+ ref: contentState.opts.ref,
3373
+ open: contentState.root.opts.open.current,
3374
+ id,
3375
+ trapFocus: effectiveTrapFocus(),
3376
+ preventScroll,
3377
+ loop: true,
3378
+ forceMount: false,
3379
+ customAnchor,
3380
+ onOpenAutoFocus: handleOpenAutoFocus,
3381
+ onCloseAutoFocus,
3382
+ shouldRender: contentState.shouldRender,
3383
+ popper,
3384
+ $$slots: { popper: true }
3385
+ }
3386
+ ]));
3387
+ }
3388
+ } else {
3389
+ $$renderer2.push("<!--[-1-->");
3390
+ }
3391
+ $$renderer2.push(`<!--]-->`);
3392
+ bind_props($$props, { ref });
3393
+ });
3394
+ }
3395
+ function Popover_trigger($$renderer, $$props) {
3396
+ $$renderer.component(($$renderer2) => {
3397
+ const uid = props_id($$renderer2);
3398
+ let {
3399
+ children,
3400
+ child,
3401
+ id = createId(uid),
3402
+ ref = null,
3403
+ type = "button",
3404
+ disabled = false,
3405
+ openOnHover = false,
3406
+ openDelay = 700,
3407
+ closeDelay = 300,
3408
+ $$slots,
3409
+ $$events,
3410
+ ...restProps
3411
+ } = $$props;
3412
+ const triggerState = PopoverTriggerState.create({
3413
+ id: boxWith(() => id),
3414
+ ref: boxWith(() => ref, (v) => ref = v),
3415
+ disabled: boxWith(() => Boolean(disabled)),
3416
+ openOnHover: boxWith(() => openOnHover),
3417
+ openDelay: boxWith(() => openDelay),
3418
+ closeDelay: boxWith(() => closeDelay)
3419
+ });
3420
+ const mergedProps = derived(() => mergeProps(restProps, triggerState.props, { type }));
3421
+ Floating_layer_anchor($$renderer2, {
3422
+ id,
3423
+ ref: triggerState.opts.ref,
3424
+ children: ($$renderer3) => {
3425
+ if (child) {
3426
+ $$renderer3.push("<!--[0-->");
3427
+ child($$renderer3, { props: mergedProps() });
3428
+ $$renderer3.push(`<!---->`);
3429
+ } else {
3430
+ $$renderer3.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);
3431
+ children?.($$renderer3);
3432
+ $$renderer3.push(`<!----></button>`);
3433
+ }
3434
+ $$renderer3.push(`<!--]-->`);
3435
+ }
3436
+ });
3437
+ bind_props($$props, { ref });
3438
+ });
3439
+ }
3440
+ function Popover($$renderer, $$props) {
3441
+ $$renderer.component(($$renderer2) => {
3442
+ let {
3443
+ open = false,
3444
+ onOpenChange = noop,
3445
+ onOpenChangeComplete = noop,
3446
+ children
3447
+ } = $$props;
3448
+ PopoverRootState.create({
3449
+ open: boxWith(() => open, (v) => {
3450
+ open = v;
3451
+ onOpenChange(v);
3452
+ }),
3453
+ onOpenChangeComplete: boxWith(() => onOpenChangeComplete)
3454
+ });
3455
+ Floating_layer($$renderer2, {
3456
+ children: ($$renderer3) => {
3457
+ children?.($$renderer3);
3458
+ $$renderer3.push(`<!---->`);
3459
+ }
3460
+ });
3461
+ bind_props($$props, { open });
3462
+ });
3463
+ }
3464
+ const SLACK_MS = 2 * 6e4;
3465
+ const MAX_LINKED = 3;
3466
+ const escape = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3467
+ const taskPages = (task) => [task.preview?.url, task.board?.url].filter((u) => !!u).map(pageOf);
3468
+ const urlIn = (text, u) => new RegExp(`${escape(u)}(?![\\w-])`).test(text);
3469
+ const time = (s) => {
3470
+ const t = s ? Date.parse(s) : NaN;
3471
+ return Number.isNaN(t) ? null : t;
3472
+ };
3473
+ function underWay(task, at) {
3474
+ if (task.status !== "landed") return true;
3475
+ const merged = time(task.mergedAt);
3476
+ return merged !== null && at !== null && at < merged;
3477
+ }
3478
+ function linksTask(text, task) {
3479
+ const pages = taskPages(task);
3480
+ return extractUrls(text).some((u) => pages.includes(pageOf(u)));
3481
+ }
3482
+ function names(text, task) {
3483
+ const ids = [task.id];
3484
+ if (task.secondMate) ids.push(task.id.replace(/@[^@]*$/, ""));
3485
+ if (ids.some((id) => new RegExp(`(?<![\\w-])${escape(id)}(?![\\w@-])`).test(text))) return true;
3486
+ return !!task.pr?.url && urlIn(text, task.pr.url.replace(/\/+$/, ""));
3487
+ }
3488
+ function mentions(text, task) {
3489
+ return names(text, task) || linksTask(text, task);
3490
+ }
3491
+ const shownUrl = (task) => task.preview?.url ?? task.board?.url ?? null;
3492
+ function ownedBy(url, at, tasks) {
3493
+ const page = pageOf(url);
3494
+ return tasks.some((t) => underWay(t, at) && taskPages(t).includes(page));
3495
+ }
3496
+ function add(out, anchor, card) {
3497
+ out.set(anchor, [...out.get(anchor) ?? [], card]);
3498
+ }
3499
+ function previewCards(items, tasks, ownPort = null) {
3500
+ const out = /* @__PURE__ */ new Map();
3501
+ const seen = tasks.filter((t) => t.preview || t.board);
3502
+ const carded = /* @__PURE__ */ new Map();
3503
+ for (const task of seen) {
3504
+ const url = shownUrl(task);
3505
+ const reported = time(task.preview?.reportedAt ?? task.board?.reportedAt);
3506
+ const landed = task.status === "landed";
3507
+ const merged = landed ? time(task.mergedAt) : null;
3508
+ let first = null;
3509
+ let linked = null;
3510
+ let since = null;
3511
+ for (const it of items) {
3512
+ if (it.kind !== "turn") continue;
3513
+ const at = time(it.at);
3514
+ if (reported !== null && (at === null || at < reported - SLACK_MS)) continue;
3515
+ const links = (text) => underWay(task, at) && linksTask(text, task);
3516
+ const part = it.parts.find(
3517
+ (p) => p.kind === "text" && (names(p.text, task) || links(p.text))
3518
+ );
3519
+ if (!part || part.kind !== "text") continue;
3520
+ first ??= part.id;
3521
+ if (links(part.text)) linked = part.id;
3522
+ if (landed && (merged === null || at !== null && at >= merged - SLACK_MS)) {
3523
+ since = part.id;
3524
+ break;
3525
+ }
3526
+ }
3527
+ const anchor = since ?? linked ?? first;
3528
+ if (!anchor) continue;
3529
+ add(out, anchor, { task, url, board: !task.preview, landed });
3530
+ carded.set(anchor, [...carded.get(anchor) ?? [], ...taskPages(task)]);
3531
+ }
3532
+ const latest = /* @__PURE__ */ new Map();
3533
+ for (const it of items) {
3534
+ if (it.kind !== "turn") continue;
3535
+ const at = time(it.at);
3536
+ for (const p of it.parts) {
3537
+ if (p.kind !== "text") continue;
3538
+ const origins = /* @__PURE__ */ new Set();
3539
+ let n = 0;
3540
+ for (const url of linkedPreviews(p.text, ownPort)) {
3541
+ const origin = URL.parse(url).origin;
3542
+ const key = pageOf(url);
3543
+ if (carded.get(p.id)?.includes(key)) {
3544
+ latest.delete(key);
3545
+ continue;
3546
+ }
3547
+ if (origins.has(origin) || ownedBy(url, at, seen) || n >= MAX_LINKED) continue;
3548
+ origins.add(origin);
3549
+ n++;
3550
+ latest.delete(key);
3551
+ latest.set(key, { anchor: p.id, url });
3552
+ }
3553
+ }
3554
+ }
3555
+ for (const { anchor, url } of latest.values())
3556
+ add(out, anchor, { task: null, url, board: isBoard(url), landed: false });
3557
+ return out;
3558
+ }
3559
+ function chipLabel(r, max = 34) {
3560
+ const title = r.title.length > max ? `${r.title.slice(0, max - 1)}…` : r.title;
3561
+ const num = r.url?.match(/\/pull\/(\d+)/)?.[1];
3562
+ return r.kind === "pr" ? `PR${num ? ` #${num}` : ""} ${title}` : `# ${title}`;
3563
+ }
3564
+ const EXPANDED = /\[(?:PR (https?:\/\/\S+) — )?task ([A-Za-z0-9][A-Za-z0-9._-]*)(?: on second mate ([A-Za-z0-9][A-Za-z0-9._-]*))?: ([^\]\n]+)\]/g;
3565
+ function parseRefs(text) {
3566
+ const out = [];
3567
+ let at = 0;
3568
+ for (const m of text.matchAll(EXPANDED)) {
3569
+ if (m.index > at) out.push(text.slice(at, m.index));
3570
+ out.push({
3571
+ kind: m[1] ? "pr" : "task",
3572
+ id: m[3] ? `${m[2]}@${m[3]}` : m[2],
3573
+ title: m[4].trim(),
3574
+ project: null,
3575
+ url: m[1] ?? null
3576
+ });
3577
+ at = m.index + m[0].length;
3578
+ }
3579
+ if (at < text.length) out.push(text.slice(at));
3580
+ return out;
3581
+ }
3582
+ const SNIPPET_MAX = 140;
3583
+ function plain(text) {
3584
+ const md = text.replace(/```[^\n]*\n([\s\S]*?)```/g, "$1").replace(/!\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/\[([^\]]+)\]\([^)]*\)/g, "$1").replace(/^\s{0,3}(?:#{1,6}\s+|>\s?|[-*+]\s+|\d+[.)]\s+)/gm, "").replace(/(\*\*|__|~~|`)/g, "").replace(/(^|[\s(])[*_]([^*_\n]+)[*_](?=[\s).,!?:;]|$)/g, "$1$2");
3585
+ return parseRefs(md).map((p) => typeof p === "string" ? p : chipLabel(p, 60)).join("").replace(/\s+/g, " ").trim();
3586
+ }
3587
+ function snippetOf(text, max = SNIPPET_MAX) {
3588
+ const line = plain(text);
3589
+ if (line.length <= max) return line;
3590
+ const cut = line.slice(0, max - 1);
3591
+ const space = cut.lastIndexOf(" ");
3592
+ return `${(space > max / 2 ? cut.slice(0, space) : cut).replace(/[\s.,;:]+$/, "")}…`;
3593
+ }
3594
+ const QUOTED = /^> Replying to (Firstmate|my message): “(.*)”\n\n([\s\S]+)$/;
3595
+ function parseReply(text) {
3596
+ const m = text.replace(/\r\n?/g, "\n").match(QUOTED);
3597
+ if (!m || !m[3].trim()) return { to: null, body: text };
3598
+ return {
3599
+ to: { who: m[1] === "Firstmate" ? "firstmate" : "captain", snippet: m[2] },
3600
+ body: m[3]
3601
+ };
3602
+ }
3603
+ function quotes(to, text) {
3604
+ const line = plain(text);
3605
+ if (!line) return false;
3606
+ const s = to.snippet.endsWith("…") ? to.snippet.slice(0, -1) : to.snippet;
3607
+ return to.snippet.endsWith("…") ? line.startsWith(s) : line === s;
3608
+ }
3609
+ const UNSORTED = "unsorted";
3610
+ const UNSORTED_TAG = { topic: UNSORTED, source: null };
3611
+ const MARKER = /^\s{0,3}<!--\s*project:\s*([^\s>]+?)\s*-->\s*$/i;
3612
+ const FENCE = /^\s{0,3}(`{3,}|~{3,})/;
3613
+ function parseMarkers(text) {
3614
+ const out = [];
3615
+ let slug = null;
3616
+ let lines = [];
3617
+ let fence = null;
3618
+ const flush = () => {
3619
+ const t = lines.join("\n").trim();
3620
+ if (t) out.push({ slug, text: t });
3621
+ lines = [];
3622
+ };
3623
+ for (const line of text.split("\n")) {
3624
+ const f = line.match(FENCE)?.[1];
3625
+ if (f && (!fence || f[0] === fence[0])) fence = fence ? null : f;
3626
+ const m = fence ? null : line.match(MARKER);
3627
+ if (m) {
3628
+ flush();
3629
+ slug = m[1];
3630
+ } else lines.push(line);
3631
+ }
3632
+ flush();
3633
+ if (!out.length && !text.trim()) return [];
3634
+ return out.length ? out : [{ slug, text: "" }];
3635
+ }
3636
+ const PREFIX = /^\[project ([^\]\s]+)\][ \u00a0]?/;
3637
+ function parseThread(text) {
3638
+ const m = text.match(PREFIX);
3639
+ return m ? { topic: m[1], text: text.slice(m[0].length) } : { topic: null, text };
3640
+ }
3641
+ const slugify = (s) => s.trim().toLowerCase().replace(/[^a-z0-9.]+/g, "-").replace(/^-+|-+$/g, "");
3642
+ function resolveTopic(slug, projects) {
3643
+ const s = slug.trim().toLowerCase();
3644
+ const key = slugify(slug);
3645
+ const p = projects.find((x) => x.id.toLowerCase() === s) ?? projects.find((x) => x.name.toLowerCase() === s) ?? projects.find((x) => slugify(x.id) === key || slugify(x.name) === key);
3646
+ return p ? p.id : key || UNSORTED;
3647
+ }
3648
+ function topicName(slug) {
3649
+ const words = slug.replace(/[-_]+/g, " ").trim();
3650
+ return words ? words[0].toUpperCase() + words.slice(1) : slug;
3651
+ }
3652
+ function guessed(text, tasks) {
3653
+ let found = null;
3654
+ for (const t of tasks) {
3655
+ if (!t.projectId || t.projectId === "unassigned" || t.projectId === found) continue;
3656
+ if (!mentions(text, t)) continue;
3657
+ if (found) return null;
3658
+ found = t.projectId;
3659
+ }
3660
+ return found;
3661
+ }
3662
+ function tagChat(items, tasks, projects, retags = {}) {
3663
+ const users = /* @__PURE__ */ new Map();
3664
+ const parts = /* @__PURE__ */ new Map();
3665
+ const turns = /* @__PURE__ */ new Map();
3666
+ const guess = (text) => {
3667
+ const p = guessed(text, tasks);
3668
+ return p ? { topic: p, source: "guess" } : null;
3669
+ };
3670
+ const own = (key, tag) => retags[key] ? { topic: retags[key], source: retags[key] === UNSORTED ? null : "you" } : tag;
3671
+ let lastCaptain = null;
3672
+ for (const it of items) {
3673
+ if (it.kind === "user") {
3674
+ const sent = parseThread(parseReply(it.text).body);
3675
+ const tag = sent.topic ? { topic: resolveTopic(sent.topic, projects), source: "thread" } : guess(sent.text) ?? UNSORTED_TAG;
3676
+ const final = own(it.id, tag);
3677
+ users.set(it.id, final);
3678
+ lastCaptain = final;
3679
+ continue;
3680
+ }
3681
+ if (it.kind !== "turn") continue;
3682
+ let carry = null;
3683
+ const asked = it.trigger === "captain" && lastCaptain?.source ? lastCaptain : null;
3684
+ for (const part of it.parts) {
3685
+ if (part.kind !== "text") continue;
3686
+ const sections = parseMarkers(part.text);
3687
+ const out = sections.map((s, i) => {
3688
+ let tag;
3689
+ if (s.slug) tag = { topic: resolveTopic(s.slug, projects), source: "marker" };
3690
+ else if (carry?.source === "marker") tag = carry;
3691
+ else
3692
+ tag = guess(s.text) ?? carry ?? (asked && { ...asked, source: "guess" }) ?? UNSORTED_TAG;
3693
+ if (tag.source) carry = tag;
3694
+ const intro = i === 0 && !s.slug && sections.length > 1;
3695
+ return { key: i ? `${part.id}#${i}` : part.id, text: s.text, tag, intro };
3696
+ });
3697
+ const final = out.map((s) => ({ ...s, tag: own(s.key, s.tag) }));
3698
+ parts.set(part.id, final);
3699
+ const lead = final.find((x) => !x.intro);
3700
+ if (!turns.has(it.id) && lead) turns.set(it.id, lead.tag);
3701
+ }
3702
+ if (!turns.has(it.id))
3703
+ turns.set(it.id, own(`turn:${it.id}`, asked ? { ...asked, source: "guess" } : UNSORTED_TAG));
3704
+ }
3705
+ return { users, parts, turns };
3706
+ }
3707
+ function cardTag(key, projectId, source, retags = {}) {
3708
+ const mine = retags[key];
3709
+ if (mine) return { topic: mine, source: mine === UNSORTED ? null : "you" };
3710
+ return projectId && projectId !== "unassigned" ? { topic: projectId, source } : UNSORTED_TAG;
3711
+ }
3712
+ function threadRows(entries, keep = null) {
3713
+ const rows = /* @__PURE__ */ new Map();
3714
+ for (const e of entries) {
3715
+ const at = e.at ? Date.parse(e.at) : NaN;
3716
+ for (const topic of new Set(e.topics)) {
3717
+ const r = rows.get(topic) ?? { topic, count: 0, needs: 0, last: 0 };
3718
+ r.count++;
3719
+ if (e.needs) r.needs++;
3720
+ if (!Number.isNaN(at)) r.last = Math.max(r.last, at);
3721
+ rows.set(topic, r);
3722
+ }
3723
+ }
3724
+ if (keep && !rows.has(keep)) rows.set(keep, { topic: keep, count: 0, needs: 0, last: 0 });
3725
+ return [...rows.values()].sort(
3726
+ (a, b) => Number(a.topic === UNSORTED) - Number(b.topic === UNSORTED) || b.last - a.last || a.topic.localeCompare(b.topic)
3727
+ );
3728
+ }
3729
+ function foldRuns(entries, thread) {
3730
+ const out = /* @__PURE__ */ new Map();
3731
+ let run = null;
3732
+ for (const e of entries) {
3733
+ if (e.topics.includes(thread)) {
3734
+ run = null;
3735
+ continue;
3736
+ }
3737
+ if (!run) run = { first: e.key, count: 0, topics: [], from: e.at, to: e.at };
3738
+ run.count++;
3739
+ run.to = e.at ?? run.to;
3740
+ for (const t of e.topics) if (!run.topics.includes(t)) run.topics.push(t);
3741
+ out.set(e.key, run);
3742
+ }
3743
+ return out;
3744
+ }
3745
+ function Sheet($$renderer, $$props) {
3746
+ $$renderer.component(($$renderer2) => {
3747
+ let { open = false, title, children, onOpenAutoFocus } = $$props;
3748
+ let $$settled = true;
3749
+ let $$inner_renderer;
3750
+ function $$render_inner($$renderer3) {
3751
+ if (Dialog) {
3752
+ $$renderer3.push("<!--[-->");
3753
+ Dialog($$renderer3, {
3754
+ get open() {
3755
+ return open;
3756
+ },
3757
+ set open($$value) {
3758
+ open = $$value;
3759
+ $$settled = false;
3760
+ },
3761
+ children: ($$renderer4) => {
3762
+ if (Portal) {
3763
+ $$renderer4.push("<!--[-->");
3764
+ Portal($$renderer4, {
3765
+ children: ($$renderer5) => {
3766
+ if (Dialog_overlay) {
3767
+ $$renderer5.push("<!--[-->");
3768
+ Dialog_overlay($$renderer5, {
3769
+ class: "fixed inset-0 z-50 bg-black/40 duration-200 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0"
3770
+ });
3771
+ $$renderer5.push("<!--]-->");
3772
+ } else {
3773
+ $$renderer5.push("<!--[!-->");
3774
+ $$renderer5.push("<!--]-->");
3775
+ }
3776
+ $$renderer5.push(` `);
3777
+ if (Dialog_content) {
3778
+ $$renderer5.push("<!--[-->");
3779
+ Dialog_content($$renderer5, {
3780
+ class: "fixed inset-x-0 bottom-0 z-50 flex max-h-[85dvh] flex-col rounded-t-2xl border-t bg-popover pb-[env(safe-area-inset-bottom,0px)] text-popover-foreground shadow-2xl duration-200 outline-none data-open:animate-in data-open:slide-in-from-bottom data-closed:animate-out data-closed:slide-out-to-bottom",
3781
+ style: void 0,
3782
+ onOpenAutoFocus,
3783
+ "data-sheet": true,
3784
+ children: ($$renderer6) => {
3785
+ $$renderer6.push(`<div class="flex h-6 shrink-0 cursor-grab touch-none items-center justify-center" aria-hidden="true"><span class="h-1 w-10 rounded-full bg-muted-foreground/40"></span></div> <div class="flex shrink-0 items-center gap-2 pr-1.5 pl-5">`);
3786
+ if (Dialog_title) {
3787
+ $$renderer6.push("<!--[-->");
3788
+ Dialog_title($$renderer6, {
3789
+ class: "min-w-0 flex-1 truncate font-title text-2xl leading-tight",
3790
+ children: ($$renderer7) => {
3791
+ $$renderer7.push(`<!---->${escape_html(title)}`);
3792
+ },
3793
+ $$slots: { default: true }
3794
+ });
3795
+ $$renderer6.push("<!--]-->");
3796
+ } else {
3797
+ $$renderer6.push("<!--[!-->");
3798
+ $$renderer6.push("<!--]-->");
3799
+ }
3800
+ $$renderer6.push(` `);
3801
+ if (Dialog_close) {
3802
+ $$renderer6.push("<!--[-->");
3803
+ Dialog_close($$renderer6, {
3804
+ class: "grid size-11 shrink-0 place-items-center rounded-full text-muted-foreground hover:bg-accent hover:text-foreground",
3805
+ "aria-label": "Close",
3806
+ children: ($$renderer7) => {
3807
+ X($$renderer7, { class: "size-5", "aria-hidden": "true" });
3808
+ },
3809
+ $$slots: { default: true }
3810
+ });
3811
+ $$renderer6.push("<!--]-->");
3812
+ } else {
3813
+ $$renderer6.push("<!--[!-->");
3814
+ $$renderer6.push("<!--]-->");
3815
+ }
3816
+ $$renderer6.push(`</div> <div class="min-h-0 flex-1 overflow-y-auto overscroll-contain">`);
3817
+ children($$renderer6);
3818
+ $$renderer6.push(`<!----></div>`);
3819
+ },
3820
+ $$slots: { default: true }
3821
+ });
3822
+ $$renderer5.push("<!--]-->");
3823
+ } else {
3824
+ $$renderer5.push("<!--[!-->");
3825
+ $$renderer5.push("<!--]-->");
3826
+ }
3827
+ }
3828
+ });
3829
+ $$renderer4.push("<!--]-->");
3830
+ } else {
3831
+ $$renderer4.push("<!--[!-->");
3832
+ $$renderer4.push("<!--]-->");
3833
+ }
3834
+ },
3835
+ $$slots: { default: true }
3836
+ });
3837
+ $$renderer3.push("<!--]-->");
3838
+ } else {
3839
+ $$renderer3.push("<!--[!-->");
3840
+ $$renderer3.push("<!--]-->");
3841
+ }
3842
+ }
3843
+ do {
3844
+ $$settled = true;
3845
+ $$inner_renderer = $$renderer2.copy();
3846
+ $$render_inner($$inner_renderer);
3847
+ } while (!$$settled);
3848
+ $$renderer2.subsume($$inner_renderer);
3849
+ bind_props($$props, { open });
3850
+ });
3851
+ }
3852
+
3853
+ export { Bell as B, Floating_layer as F, Popover as P, Sheet as S, UNSORTED as U, Popover_trigger as a, Popover_content as b, Floating_layer_anchor as c, Popper_layer_force_mount as d, Popper_layer as e, SafePolygon as f, getFloatingContentCSSVars as g, FloatingArrowState as h, parseThread as i, UNSORTED_TAG as j, foldRuns as k, tagChat as l, parseRefs as m, chipLabel as n, parseMarkers as o, parseReply as p, quotes as q, previewCards as r, cardTag as s, topicName as t, threadRows as u, snippetOf as v };
3854
+ //# sourceMappingURL=Sheet.js-CkERuQ6f.js.map