@highstate/designer 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/1jbH28Ud.js +1 -0
  3. package/.output/public/_nuxt/BAsjE6c8.js +69 -0
  4. package/.output/public/_nuxt/D4AvvZ3p.js +1 -0
  5. package/.output/public/_nuxt/DcSK-0AR.js +1 -0
  6. package/.output/public/_nuxt/builds/latest.json +1 -0
  7. package/.output/public/_nuxt/builds/meta/0ea9cf82-d280-4ae3-95c8-082f396c88c7.json +1 -0
  8. package/.output/public/_nuxt/entry.Df9XoxdB.css +1 -0
  9. package/.output/public/_nuxt/error-404.SWzu_puR.css +1 -0
  10. package/.output/public/_nuxt/error-500.Bkv_zTjr.css +1 -0
  11. package/.output/public/favicon.ico +0 -0
  12. package/.output/public/robots.txt +1 -0
  13. package/.output/server/chunks/_/error-500.mjs +8 -0
  14. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  15. package/.output/server/chunks/_/index.mjs +229 -0
  16. package/.output/server/chunks/_/index.mjs.map +1 -0
  17. package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs +6 -0
  18. package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs.map +1 -0
  19. package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs +6 -0
  20. package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs.map +1 -0
  21. package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs +6 -0
  22. package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs.map +1 -0
  23. package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs +6 -0
  24. package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs.map +1 -0
  25. package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs +7 -0
  26. package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs.map +1 -0
  27. package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs +6 -0
  28. package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs.map +1 -0
  29. package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs +6 -0
  30. package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs.map +1 -0
  31. package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs +6 -0
  32. package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs.map +1 -0
  33. package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs +6 -0
  34. package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs.map +1 -0
  35. package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs +6 -0
  36. package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs.map +1 -0
  37. package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs +6 -0
  38. package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs.map +1 -0
  39. package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs +6 -0
  40. package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs.map +1 -0
  41. package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs +6 -0
  42. package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs.map +1 -0
  43. package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs +6 -0
  44. package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs.map +1 -0
  45. package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs +6 -0
  46. package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs.map +1 -0
  47. package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs +6 -0
  48. package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs.map +1 -0
  49. package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs +6 -0
  50. package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs.map +1 -0
  51. package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs +6 -0
  52. package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs.map +1 -0
  53. package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs +6 -0
  54. package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs.map +1 -0
  55. package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs +6 -0
  56. package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs.map +1 -0
  57. package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs +6 -0
  58. package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs.map +1 -0
  59. package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs +6 -0
  60. package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs.map +1 -0
  61. package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs +6 -0
  62. package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs.map +1 -0
  63. package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs +6 -0
  64. package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs.map +1 -0
  65. package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs +6 -0
  66. package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs.map +1 -0
  67. package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs +6 -0
  68. package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs.map +1 -0
  69. package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs +6 -0
  70. package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs.map +1 -0
  71. package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs +6 -0
  72. package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs.map +1 -0
  73. package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs +6 -0
  74. package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs.map +1 -0
  75. package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs +6 -0
  76. package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs.map +1 -0
  77. package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs +6 -0
  78. package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs.map +1 -0
  79. package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs +6 -0
  80. package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs.map +1 -0
  81. package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs +6 -0
  82. package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs.map +1 -0
  83. package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs +6 -0
  84. package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs.map +1 -0
  85. package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs +6 -0
  86. package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs.map +1 -0
  87. package/.output/server/chunks/build/client.manifest.mjs +82 -0
  88. package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
  89. package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs +4 -0
  90. package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs.map +1 -0
  91. package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs +4 -0
  92. package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs.map +1 -0
  93. package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs +4 -0
  94. package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs.map +1 -0
  95. package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs +4 -0
  96. package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs.map +1 -0
  97. package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs +4 -0
  98. package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs.map +1 -0
  99. package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs +4 -0
  100. package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs.map +1 -0
  101. package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs +4 -0
  102. package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs.map +1 -0
  103. package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs +4 -0
  104. package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs.map +1 -0
  105. package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs +4 -0
  106. package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs.map +1 -0
  107. package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs +4 -0
  108. package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs.map +1 -0
  109. package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs +4 -0
  110. package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs.map +1 -0
  111. package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs +4 -0
  112. package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs.map +1 -0
  113. package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs +4 -0
  114. package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs.map +1 -0
  115. package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs +4 -0
  116. package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs.map +1 -0
  117. package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs +4 -0
  118. package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs.map +1 -0
  119. package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs +4 -0
  120. package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs.map +1 -0
  121. package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs +4 -0
  122. package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs.map +1 -0
  123. package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs +4 -0
  124. package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs.map +1 -0
  125. package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs +4 -0
  126. package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs.map +1 -0
  127. package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs +4 -0
  128. package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs.map +1 -0
  129. package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs +4 -0
  130. package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs.map +1 -0
  131. package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs +4 -0
  132. package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs.map +1 -0
  133. package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs +4 -0
  134. package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs.map +1 -0
  135. package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs +4 -0
  136. package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs.map +1 -0
  137. package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs +4 -0
  138. package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs.map +1 -0
  139. package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs +4 -0
  140. package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs.map +1 -0
  141. package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs +4 -0
  142. package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs.map +1 -0
  143. package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs +4 -0
  144. package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs.map +1 -0
  145. package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs +4 -0
  146. package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs.map +1 -0
  147. package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs +4 -0
  148. package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs.map +1 -0
  149. package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs +4 -0
  150. package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs.map +1 -0
  151. package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs +4 -0
  152. package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs.map +1 -0
  153. package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs +39 -0
  154. package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs.map +1 -0
  155. package/.output/server/chunks/build/error-404-BE32jcXw.mjs +399 -0
  156. package/.output/server/chunks/build/error-404-BE32jcXw.mjs.map +1 -0
  157. package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs +4 -0
  158. package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs.map +1 -0
  159. package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs +6 -0
  160. package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs.map +1 -0
  161. package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs +6 -0
  162. package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs.map +1 -0
  163. package/.output/server/chunks/build/error-500-B3vPuajn.mjs +80 -0
  164. package/.output/server/chunks/build/error-500-B3vPuajn.mjs.map +1 -0
  165. package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs +4 -0
  166. package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs.map +1 -0
  167. package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs +6 -0
  168. package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs.map +1 -0
  169. package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs +6 -0
  170. package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs.map +1 -0
  171. package/.output/server/chunks/build/index-C2merokO.mjs +34 -0
  172. package/.output/server/chunks/build/index-C2merokO.mjs.map +1 -0
  173. package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs +6 -0
  174. package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs.map +1 -0
  175. package/.output/server/chunks/build/server.mjs +10495 -0
  176. package/.output/server/chunks/build/server.mjs.map +1 -0
  177. package/.output/server/chunks/build/styles.mjs +47 -0
  178. package/.output/server/chunks/build/styles.mjs.map +1 -0
  179. package/.output/server/chunks/nitro/nitro.mjs +6203 -0
  180. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  181. package/.output/server/chunks/routes/api/_trpc_.mjs +209 -0
  182. package/.output/server/chunks/routes/api/_trpc_.mjs.map +1 -0
  183. package/.output/server/chunks/routes/renderer.mjs +391 -0
  184. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  185. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  186. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  187. package/.output/server/index.mjs +7 -0
  188. package/.output/server/index.mjs.map +1 -0
  189. package/.output/server/node_modules/@babel/parser/lib/index.js +14023 -0
  190. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  191. package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1996 -0
  192. package/.output/server/node_modules/@iconify/vue/package.json +65 -0
  193. package/.output/server/node_modules/@trpc/client/dist/TRPCClientError-38f9a32a.mjs +59 -0
  194. package/.output/server/node_modules/@trpc/client/dist/httpBatchLink-d0f9eac9.mjs +248 -0
  195. package/.output/server/node_modules/@trpc/client/dist/httpUtils-b9d0cb48.mjs +144 -0
  196. package/.output/server/node_modules/@trpc/client/dist/index.mjs +365 -0
  197. package/.output/server/node_modules/@trpc/client/dist/links/httpLink.mjs +62 -0
  198. package/.output/server/node_modules/@trpc/client/dist/links/loggerLink.mjs +173 -0
  199. package/.output/server/node_modules/@trpc/client/dist/links/wsLink.mjs +278 -0
  200. package/.output/server/node_modules/@trpc/client/dist/splitLink-4c75f7be.mjs +45 -0
  201. package/.output/server/node_modules/@trpc/client/dist/transformResult-ace864b8.mjs +58 -0
  202. package/.output/server/node_modules/@trpc/client/package.json +101 -0
  203. package/.output/server/node_modules/@trpc/server/dist/TRPCError-98d44758.mjs +39 -0
  204. package/.output/server/node_modules/@trpc/server/dist/batchStreamFormatter-fc1ffb26.mjs +30 -0
  205. package/.output/server/node_modules/@trpc/server/dist/codes-c924c3db.mjs +44 -0
  206. package/.output/server/node_modules/@trpc/server/dist/config-d5fdbd39.mjs +196 -0
  207. package/.output/server/node_modules/@trpc/server/dist/contentType-9fd995d3.mjs +52 -0
  208. package/.output/server/node_modules/@trpc/server/dist/getCauseFromUnknown-2d66414a.mjs +33 -0
  209. package/.output/server/node_modules/@trpc/server/dist/http/index.mjs +9 -0
  210. package/.output/server/node_modules/@trpc/server/dist/index-f91d720c.mjs +97 -0
  211. package/.output/server/node_modules/@trpc/server/dist/index.mjs +871 -0
  212. package/.output/server/node_modules/@trpc/server/dist/observable/index.mjs +147 -0
  213. package/.output/server/node_modules/@trpc/server/dist/observable-ade1bad8.mjs +81 -0
  214. package/.output/server/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs +291 -0
  215. package/.output/server/node_modules/@trpc/server/dist/shared/index.mjs +4 -0
  216. package/.output/server/node_modules/@trpc/server/dist/transformTRPCResponse-1153b421.mjs +53 -0
  217. package/.output/server/node_modules/@trpc/server/package.json +177 -0
  218. package/.output/server/node_modules/@unhead/dom/dist/index.mjs +197 -0
  219. package/.output/server/node_modules/@unhead/dom/package.json +40 -0
  220. package/.output/server/node_modules/@unhead/shared/dist/index.mjs +731 -0
  221. package/.output/server/node_modules/@unhead/shared/package.json +47 -0
  222. package/.output/server/node_modules/@unhead/ssr/dist/index.mjs +95 -0
  223. package/.output/server/node_modules/@unhead/ssr/package.json +40 -0
  224. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
  225. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  226. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  227. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  228. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
  229. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  230. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
  231. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  232. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
  233. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  234. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
  235. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  236. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  237. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  238. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  239. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  240. package/.output/server/node_modules/@vue-flow/background/dist/vue-flow-background.mjs +126 -0
  241. package/.output/server/node_modules/@vue-flow/background/package.json +73 -0
  242. package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +9873 -0
  243. package/.output/server/node_modules/@vue-flow/core/package.json +92 -0
  244. package/.output/server/node_modules/@vue-flow/minimap/dist/vue-flow-minimap.mjs +2953 -0
  245. package/.output/server/node_modules/@vue-flow/minimap/package.json +80 -0
  246. package/.output/server/node_modules/devalue/index.js +3 -0
  247. package/.output/server/node_modules/devalue/package.json +34 -0
  248. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  249. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  250. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  251. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  252. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  253. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  254. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  255. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  256. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  257. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  258. package/.output/server/node_modules/entities/package.json +90 -0
  259. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  260. package/.output/server/node_modules/estree-walker/package.json +37 -0
  261. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  262. package/.output/server/node_modules/hookable/package.json +49 -0
  263. package/.output/server/node_modules/nanoid/index.js +46 -0
  264. package/.output/server/node_modules/nanoid/package.json +41 -0
  265. package/.output/server/node_modules/nanoid/url-alphabet/index.js +2 -0
  266. package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +858 -0
  267. package/.output/server/node_modules/pinia/package.json +100 -0
  268. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  269. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  270. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  271. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  272. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  273. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  274. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  275. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  276. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  277. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  278. package/.output/server/node_modules/source-map-js/package.json +71 -0
  279. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  280. package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
  281. package/.output/server/node_modules/ufo/package.json +47 -0
  282. package/.output/server/node_modules/unhead/dist/index.mjs +747 -0
  283. package/.output/server/node_modules/unhead/package.json +46 -0
  284. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  285. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  286. package/.output/server/node_modules/vue/index.js +7 -0
  287. package/.output/server/node_modules/vue/index.mjs +1 -0
  288. package/.output/server/node_modules/vue/package.json +112 -0
  289. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  290. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  291. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  292. package/.output/server/node_modules/vue-demi/lib/index.cjs +29 -0
  293. package/.output/server/node_modules/vue-demi/package.json +47 -0
  294. package/.output/server/node_modules/zod/lib/index.mjs +4236 -0
  295. package/.output/server/node_modules/zod/package.json +119 -0
  296. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +31 -0
  297. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +21 -0
  298. package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
  299. package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +37 -0
  300. package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
  301. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +164 -0
  302. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +3 -0
  303. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +25 -0
  304. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
  305. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
  306. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
  307. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
  308. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
  309. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
  310. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +6 -0
  311. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
  312. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
  313. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
  314. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +25 -0
  315. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
  316. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +5 -0
  317. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
  318. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
  319. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
  320. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +45 -0
  321. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +20 -0
  322. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
  323. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
  324. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
  325. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +57 -0
  326. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
  327. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +324 -0
  328. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
  329. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +5 -0
  330. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
  331. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +3 -0
  332. package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +59 -0
  333. package/.output/server/node_modules/zod-to-json-schema/package.json +89 -0
  334. package/.output/server/package.json +1 -0
  335. package/package.json +41 -0
@@ -0,0 +1,731 @@
1
+ function asArray$1(value) {
2
+ return Array.isArray(value) ? value : [value];
3
+ }
4
+
5
+ const SelfClosingTags = /* @__PURE__ */ new Set(["meta", "link", "base"]);
6
+ const TagsWithInnerContent = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]);
7
+ const HasElementTags = /* @__PURE__ */ new Set([
8
+ "base",
9
+ "meta",
10
+ "link",
11
+ "style",
12
+ "script",
13
+ "noscript"
14
+ ]);
15
+ const ValidHeadTags = /* @__PURE__ */ new Set([
16
+ "title",
17
+ "titleTemplate",
18
+ "templateParams",
19
+ "base",
20
+ "htmlAttrs",
21
+ "bodyAttrs",
22
+ "meta",
23
+ "link",
24
+ "style",
25
+ "script",
26
+ "noscript"
27
+ ]);
28
+ const UniqueTags = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]);
29
+ const TagConfigKeys = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]);
30
+ const IsBrowser = typeof window !== "undefined";
31
+ const composableNames = [
32
+ "getActiveHead",
33
+ "useHead",
34
+ "useSeoMeta",
35
+ "useHeadSafe",
36
+ "useServerHead",
37
+ "useServerSeoMeta",
38
+ "useServerHeadSafe"
39
+ ];
40
+
41
+ function defineHeadPlugin(plugin) {
42
+ return plugin;
43
+ }
44
+
45
+ function hashCode(s) {
46
+ let h = 9;
47
+ for (let i = 0; i < s.length; )
48
+ h = Math.imul(h ^ s.charCodeAt(i++), 9 ** 9);
49
+ return ((h ^ h >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
50
+ }
51
+ function hashTag(tag) {
52
+ if (tag._h) {
53
+ return tag._h;
54
+ }
55
+ if (tag._d) {
56
+ return hashCode(tag._d);
57
+ }
58
+ let content = `${tag.tag}:${tag.textContent || tag.innerHTML || ""}:`;
59
+ for (const key in tag.props) {
60
+ content += `${key}:${String(tag.props[key])},`;
61
+ }
62
+ return hashCode(content);
63
+ }
64
+
65
+ function asArray(input) {
66
+ return Array.isArray(input) ? input : [input];
67
+ }
68
+ const InternalKeySymbol = "_$key";
69
+ function packObject(input, options) {
70
+ const keys = Object.keys(input);
71
+ let [k, v] = keys;
72
+ options = options || {};
73
+ options.key = options.key || k;
74
+ options.value = options.value || v;
75
+ options.resolveKey = options.resolveKey || ((k2) => k2);
76
+ const resolveKey = (index) => {
77
+ const arr = asArray(options[index]);
78
+ return arr.find((k2) => {
79
+ if (typeof k2 === "string" && k2.includes(".")) {
80
+ return k2;
81
+ }
82
+ return k2 && keys.includes(k2);
83
+ });
84
+ };
85
+ const resolveValue = (k2, input2) => {
86
+ if (k2.includes(".")) {
87
+ const paths = k2.split(".");
88
+ let val = input2;
89
+ for (const path of paths)
90
+ val = val[path];
91
+ return val;
92
+ }
93
+ return input2[k2];
94
+ };
95
+ k = resolveKey("key") || k;
96
+ v = resolveKey("value") || v;
97
+ const dedupeKeyPrefix = input.key ? `${InternalKeySymbol}${input.key}-` : "";
98
+ let keyValue = resolveValue(k, input);
99
+ keyValue = options.resolveKey(keyValue);
100
+ return {
101
+ [`${dedupeKeyPrefix}${keyValue}`]: resolveValue(v, input)
102
+ };
103
+ }
104
+
105
+ function packArray(input, options) {
106
+ const packed = {};
107
+ for (const i of input) {
108
+ const packedObj = packObject(i, options);
109
+ const pKey = Object.keys(packedObj)[0];
110
+ const isDedupeKey = pKey.startsWith(InternalKeySymbol);
111
+ if (!isDedupeKey && packed[pKey]) {
112
+ packed[pKey] = Array.isArray(packed[pKey]) ? packed[pKey] : [packed[pKey]];
113
+ packed[pKey].push(Object.values(packedObj)[0]);
114
+ } else {
115
+ packed[isDedupeKey ? pKey.split("-").slice(1).join("-") || pKey : pKey] = packedObj[pKey];
116
+ }
117
+ }
118
+ return packed;
119
+ }
120
+
121
+ function unpackToArray(input, options) {
122
+ const unpacked = [];
123
+ const kFn = options.resolveKeyData || ((ctx) => ctx.key);
124
+ const vFn = options.resolveValueData || ((ctx) => ctx.value);
125
+ for (const [k, v] of Object.entries(input)) {
126
+ unpacked.push(...(Array.isArray(v) ? v : [v]).map((i) => {
127
+ const ctx = { key: k, value: i };
128
+ const val = vFn(ctx);
129
+ if (typeof val === "object")
130
+ return unpackToArray(val, options);
131
+ if (Array.isArray(val))
132
+ return val;
133
+ return {
134
+ [typeof options.key === "function" ? options.key(ctx) : options.key]: kFn(ctx),
135
+ [typeof options.value === "function" ? options.value(ctx) : options.value]: val
136
+ };
137
+ }).flat());
138
+ }
139
+ return unpacked;
140
+ }
141
+
142
+ function unpackToString(value, options) {
143
+ return Object.entries(value).map(([key, value2]) => {
144
+ if (typeof value2 === "object")
145
+ value2 = unpackToString(value2, options);
146
+ if (options.resolve) {
147
+ const resolved = options.resolve({ key, value: value2 });
148
+ if (typeof resolved !== "undefined")
149
+ return resolved;
150
+ }
151
+ if (typeof value2 === "number")
152
+ value2 = value2.toString();
153
+ if (typeof value2 === "string" && options.wrapValue) {
154
+ value2 = value2.replace(new RegExp(options.wrapValue, "g"), `\\${options.wrapValue}`);
155
+ value2 = `${options.wrapValue}${value2}${options.wrapValue}`;
156
+ }
157
+ return `${key}${options.keyValueSeparator || ""}${value2}`;
158
+ }).join(options.entrySeparator || "");
159
+ }
160
+
161
+ const p = (p2) => ({ keyValue: p2, metaKey: "property" });
162
+ const k = (p2) => ({ keyValue: p2 });
163
+ const MetaPackingSchema = {
164
+ appleItunesApp: {
165
+ unpack: {
166
+ entrySeparator: ", ",
167
+ resolve({ key, value }) {
168
+ return `${fixKeyCase(key)}=${value}`;
169
+ }
170
+ }
171
+ },
172
+ articleExpirationTime: p("article:expiration_time"),
173
+ articleModifiedTime: p("article:modified_time"),
174
+ articlePublishedTime: p("article:published_time"),
175
+ bookReleaseDate: p("book:release_date"),
176
+ charset: {
177
+ metaKey: "charset"
178
+ },
179
+ contentSecurityPolicy: {
180
+ unpack: {
181
+ entrySeparator: "; ",
182
+ resolve({ key, value }) {
183
+ return `${fixKeyCase(key)} ${value}`;
184
+ }
185
+ },
186
+ metaKey: "http-equiv"
187
+ },
188
+ contentType: {
189
+ metaKey: "http-equiv"
190
+ },
191
+ defaultStyle: {
192
+ metaKey: "http-equiv"
193
+ },
194
+ fbAppId: p("fb:app_id"),
195
+ msapplicationConfig: k("msapplication-Config"),
196
+ msapplicationTileColor: k("msapplication-TileColor"),
197
+ msapplicationTileImage: k("msapplication-TileImage"),
198
+ ogAudioSecureUrl: p("og:audio:secure_url"),
199
+ ogAudioUrl: p("og:audio"),
200
+ ogImageSecureUrl: p("og:image:secure_url"),
201
+ ogImageUrl: p("og:image"),
202
+ ogSiteName: p("og:site_name"),
203
+ ogVideoSecureUrl: p("og:video:secure_url"),
204
+ ogVideoUrl: p("og:video"),
205
+ profileFirstName: p("profile:first_name"),
206
+ profileLastName: p("profile:last_name"),
207
+ profileUsername: p("profile:username"),
208
+ refresh: {
209
+ metaKey: "http-equiv",
210
+ unpack: {
211
+ entrySeparator: ";",
212
+ resolve({ key, value }) {
213
+ if (key === "seconds")
214
+ return `${value}`;
215
+ }
216
+ }
217
+ },
218
+ robots: {
219
+ unpack: {
220
+ entrySeparator: ", ",
221
+ resolve({ key, value }) {
222
+ if (typeof value === "boolean")
223
+ return `${fixKeyCase(key)}`;
224
+ else
225
+ return `${fixKeyCase(key)}:${value}`;
226
+ }
227
+ }
228
+ },
229
+ xUaCompatible: {
230
+ metaKey: "http-equiv"
231
+ }
232
+ };
233
+ const openGraphNamespaces = /* @__PURE__ */ new Set([
234
+ "og",
235
+ "book",
236
+ "article",
237
+ "profile"
238
+ ]);
239
+ function resolveMetaKeyType(key) {
240
+ const fKey = fixKeyCase(key);
241
+ const prefixIndex = fKey.indexOf(":");
242
+ if (openGraphNamespaces.has(fKey.substring(0, prefixIndex)))
243
+ return "property";
244
+ return MetaPackingSchema[key]?.metaKey || "name";
245
+ }
246
+ function resolveMetaKeyValue(key) {
247
+ return MetaPackingSchema[key]?.keyValue || fixKeyCase(key);
248
+ }
249
+ function fixKeyCase(key) {
250
+ const updated = key.replace(/([A-Z])/g, "-$1").toLowerCase();
251
+ const prefixIndex = updated.indexOf("-");
252
+ const fKey = updated.substring(0, prefixIndex);
253
+ if (fKey === "twitter" || openGraphNamespaces.has(fKey))
254
+ return key.replace(/([A-Z])/g, ":$1").toLowerCase();
255
+ return updated;
256
+ }
257
+ function changeKeyCasingDeep(input) {
258
+ if (Array.isArray(input)) {
259
+ return input.map((entry) => changeKeyCasingDeep(entry));
260
+ }
261
+ if (typeof input !== "object" || Array.isArray(input))
262
+ return input;
263
+ const output = {};
264
+ for (const key in input) {
265
+ if (!Object.prototype.hasOwnProperty.call(input, key)) {
266
+ continue;
267
+ }
268
+ output[fixKeyCase(key)] = changeKeyCasingDeep(input[key]);
269
+ }
270
+ return output;
271
+ }
272
+ function resolvePackedMetaObjectValue(value, key) {
273
+ const definition = MetaPackingSchema[key];
274
+ if (key === "refresh")
275
+ return `${value.seconds};url=${value.url}`;
276
+ return unpackToString(
277
+ changeKeyCasingDeep(value),
278
+ {
279
+ keyValueSeparator: "=",
280
+ entrySeparator: ", ",
281
+ resolve({ value: value2, key: key2 }) {
282
+ if (value2 === null)
283
+ return "";
284
+ if (typeof value2 === "boolean")
285
+ return `${key2}`;
286
+ },
287
+ ...definition?.unpack
288
+ }
289
+ );
290
+ }
291
+ const ObjectArrayEntries = /* @__PURE__ */ new Set(["og:image", "og:video", "og:audio", "twitter:image"]);
292
+ function sanitize(input) {
293
+ const out = {};
294
+ for (const k2 in input) {
295
+ if (!Object.prototype.hasOwnProperty.call(input, k2)) {
296
+ continue;
297
+ }
298
+ const v = input[k2];
299
+ if (String(v) !== "false" && k2)
300
+ out[k2] = v;
301
+ }
302
+ return out;
303
+ }
304
+ function handleObjectEntry(key, v) {
305
+ const value = sanitize(v);
306
+ const fKey = fixKeyCase(key);
307
+ const attr = resolveMetaKeyType(fKey);
308
+ if (ObjectArrayEntries.has(fKey)) {
309
+ const input = {};
310
+ for (const k2 in value) {
311
+ if (!Object.prototype.hasOwnProperty.call(value, k2)) {
312
+ continue;
313
+ }
314
+ input[`${key}${k2 === "url" ? "" : `${k2[0].toUpperCase()}${k2.slice(1)}`}`] = value[k2];
315
+ }
316
+ return unpackMeta(input).sort((a, b) => (a[attr]?.length || 0) - (b[attr]?.length || 0));
317
+ }
318
+ return [{ [attr]: fKey, ...value }];
319
+ }
320
+ function unpackMeta(input) {
321
+ const extras = [];
322
+ const primitives = {};
323
+ for (const key in input) {
324
+ if (!Object.prototype.hasOwnProperty.call(input, key)) {
325
+ continue;
326
+ }
327
+ const value = input[key];
328
+ if (!Array.isArray(value)) {
329
+ if (typeof value === "object" && value) {
330
+ if (ObjectArrayEntries.has(fixKeyCase(key))) {
331
+ extras.push(...handleObjectEntry(key, value));
332
+ continue;
333
+ }
334
+ primitives[key] = sanitize(value);
335
+ } else {
336
+ primitives[key] = value;
337
+ }
338
+ continue;
339
+ }
340
+ for (const v of value) {
341
+ extras.push(...typeof v === "string" ? unpackMeta({ [key]: v }) : handleObjectEntry(key, v));
342
+ }
343
+ }
344
+ const meta = unpackToArray(primitives, {
345
+ key({ key }) {
346
+ return resolveMetaKeyType(key);
347
+ },
348
+ value({ key }) {
349
+ return key === "charset" ? "charset" : "content";
350
+ },
351
+ resolveKeyData({ key }) {
352
+ return resolveMetaKeyValue(key);
353
+ },
354
+ resolveValueData({ value, key }) {
355
+ if (value === null)
356
+ return "_null";
357
+ if (typeof value === "object")
358
+ return resolvePackedMetaObjectValue(value, key);
359
+ return typeof value === "number" ? value.toString() : value;
360
+ }
361
+ });
362
+ return [...extras, ...meta].map((m) => {
363
+ if (m.content === "_null")
364
+ m.content = null;
365
+ return m;
366
+ });
367
+ }
368
+ function packMeta(inputs) {
369
+ const mappedPackingSchema = Object.entries(MetaPackingSchema).map(([key, value]) => [key, value.keyValue]);
370
+ return packArray(inputs, {
371
+ key: ["name", "property", "httpEquiv", "http-equiv", "charset"],
372
+ value: ["content", "charset"],
373
+ resolveKey(k2) {
374
+ let key = mappedPackingSchema.filter((sk) => sk[1] === k2)?.[0]?.[0] || k2;
375
+ const replacer = (_, letter) => letter?.toUpperCase();
376
+ key = key.replace(/:([a-z])/g, replacer).replace(/-([a-z])/g, replacer);
377
+ return key;
378
+ }
379
+ });
380
+ }
381
+
382
+ function thenable(val, thenFn) {
383
+ if (val instanceof Promise) {
384
+ return val.then(thenFn);
385
+ }
386
+ return thenFn(val);
387
+ }
388
+
389
+ function normaliseTag(tagName, input, e, normalizedProps) {
390
+ const props = normalizedProps || normaliseProps(
391
+ // explicitly check for an object
392
+ // @ts-expect-error untyped
393
+ typeof input === "object" && typeof input !== "function" && !(input instanceof Promise) ? { ...input } : { [tagName === "script" || tagName === "noscript" || tagName === "style" ? "innerHTML" : "textContent"]: input },
394
+ tagName === "templateParams" || tagName === "titleTemplate"
395
+ );
396
+ if (props instanceof Promise) {
397
+ return props.then((val) => normaliseTag(tagName, input, e, val));
398
+ }
399
+ const tag = {
400
+ tag: tagName,
401
+ props
402
+ };
403
+ for (const k of TagConfigKeys) {
404
+ const val = tag.props[k] !== void 0 ? tag.props[k] : e[k];
405
+ if (val !== void 0) {
406
+ if (!(k === "innerHTML" || k === "textContent" || k === "children") || TagsWithInnerContent.has(tag.tag)) {
407
+ tag[k === "children" ? "innerHTML" : k] = val;
408
+ }
409
+ delete tag.props[k];
410
+ }
411
+ }
412
+ if (tag.props.body) {
413
+ tag.tagPosition = "bodyClose";
414
+ delete tag.props.body;
415
+ }
416
+ if (tag.tag === "script") {
417
+ if (typeof tag.innerHTML === "object") {
418
+ tag.innerHTML = JSON.stringify(tag.innerHTML);
419
+ tag.props.type = tag.props.type || "application/json";
420
+ }
421
+ }
422
+ return Array.isArray(tag.props.content) ? tag.props.content.map((v) => ({ ...tag, props: { ...tag.props, content: v } })) : tag;
423
+ }
424
+ function normaliseStyleClassProps(key, v) {
425
+ const sep = key === "class" ? " " : ";";
426
+ if (v && typeof v === "object" && !Array.isArray(v)) {
427
+ v = Object.entries(v).filter(([, v2]) => v2).map(([k, v2]) => key === "style" ? `${k}:${v2}` : k);
428
+ }
429
+ return String(Array.isArray(v) ? v.join(sep) : v)?.split(sep).filter((c) => Boolean(c.trim())).join(sep);
430
+ }
431
+ function nestedNormaliseProps(props, virtual, keys, startIndex) {
432
+ for (let i = startIndex; i < keys.length; i += 1) {
433
+ const k = keys[i];
434
+ if (k === "class" || k === "style") {
435
+ props[k] = normaliseStyleClassProps(k, props[k]);
436
+ continue;
437
+ }
438
+ if (props[k] instanceof Promise) {
439
+ return props[k].then((val) => {
440
+ props[k] = val;
441
+ return nestedNormaliseProps(props, virtual, keys, i);
442
+ });
443
+ }
444
+ if (!virtual && !TagConfigKeys.has(k)) {
445
+ const v = String(props[k]);
446
+ const isDataKey = k.startsWith("data-");
447
+ if (v === "true" || v === "") {
448
+ props[k] = isDataKey ? "true" : true;
449
+ } else if (!props[k]) {
450
+ if (isDataKey && v === "false")
451
+ props[k] = "false";
452
+ else
453
+ delete props[k];
454
+ }
455
+ }
456
+ }
457
+ }
458
+ function normaliseProps(props, virtual = false) {
459
+ const resolvedProps = nestedNormaliseProps(props, virtual, Object.keys(props), 0);
460
+ if (resolvedProps instanceof Promise) {
461
+ return resolvedProps.then(() => props);
462
+ }
463
+ return props;
464
+ }
465
+ const TagEntityBits = 10;
466
+ function nestedNormaliseEntryTags(headTags, tagPromises, startIndex) {
467
+ for (let i = startIndex; i < tagPromises.length; i += 1) {
468
+ const tags = tagPromises[i];
469
+ if (tags instanceof Promise) {
470
+ return tags.then((val) => {
471
+ tagPromises[i] = val;
472
+ return nestedNormaliseEntryTags(headTags, tagPromises, i);
473
+ });
474
+ }
475
+ if (Array.isArray(tags)) {
476
+ headTags.push(...tags);
477
+ } else {
478
+ headTags.push(tags);
479
+ }
480
+ }
481
+ }
482
+ function normaliseEntryTags(e) {
483
+ const tagPromises = [];
484
+ const input = e.resolvedInput;
485
+ for (const k in input) {
486
+ if (!Object.prototype.hasOwnProperty.call(input, k)) {
487
+ continue;
488
+ }
489
+ const v = input[k];
490
+ if (v === void 0 || !ValidHeadTags.has(k)) {
491
+ continue;
492
+ }
493
+ if (Array.isArray(v)) {
494
+ for (const props of v) {
495
+ tagPromises.push(normaliseTag(k, props, e));
496
+ }
497
+ continue;
498
+ }
499
+ tagPromises.push(normaliseTag(k, v, e));
500
+ }
501
+ if (tagPromises.length === 0) {
502
+ return [];
503
+ }
504
+ const headTags = [];
505
+ return thenable(nestedNormaliseEntryTags(headTags, tagPromises, 0), () => headTags.map((t, i) => {
506
+ t._e = e._i;
507
+ e.mode && (t._m = e.mode);
508
+ t._p = (e._i << TagEntityBits) + i;
509
+ return t;
510
+ }));
511
+ }
512
+
513
+ const WhitelistAttributes = {
514
+ htmlAttrs: ["id", "class", "lang", "dir"],
515
+ bodyAttrs: ["id", "class"],
516
+ meta: ["id", "name", "property", "charset", "content"],
517
+ noscript: ["id", "textContent"],
518
+ script: ["id", "type", "textContent"],
519
+ link: ["id", "color", "crossorigin", "fetchpriority", "href", "hreflang", "imagesrcset", "imagesizes", "integrity", "media", "referrerpolicy", "rel", "sizes", "type"]
520
+ };
521
+ function acceptDataAttrs(value) {
522
+ const filtered = {};
523
+ Object.keys(value || {}).filter((a) => a.startsWith("data-")).forEach((a) => {
524
+ filtered[a] = value[a];
525
+ });
526
+ return filtered;
527
+ }
528
+ function whitelistSafeInput(input) {
529
+ const filtered = {};
530
+ Object.keys(input).forEach((key) => {
531
+ const tagValue = input[key];
532
+ if (!tagValue)
533
+ return;
534
+ switch (key) {
535
+ case "title":
536
+ case "titleTemplate":
537
+ case "templateParams":
538
+ filtered[key] = tagValue;
539
+ break;
540
+ case "htmlAttrs":
541
+ case "bodyAttrs":
542
+ filtered[key] = acceptDataAttrs(tagValue);
543
+ WhitelistAttributes[key].forEach((a) => {
544
+ if (tagValue[a])
545
+ filtered[key][a] = tagValue[a];
546
+ });
547
+ break;
548
+ case "meta":
549
+ if (Array.isArray(tagValue)) {
550
+ filtered[key] = tagValue.map((meta) => {
551
+ const safeMeta = acceptDataAttrs(meta);
552
+ WhitelistAttributes.meta.forEach((key2) => {
553
+ if (meta[key2])
554
+ safeMeta[key2] = meta[key2];
555
+ });
556
+ return safeMeta;
557
+ }).filter((meta) => Object.keys(meta).length > 0);
558
+ }
559
+ break;
560
+ case "link":
561
+ if (Array.isArray(tagValue)) {
562
+ filtered[key] = tagValue.map((meta) => {
563
+ const link = acceptDataAttrs(meta);
564
+ WhitelistAttributes.link.forEach((key2) => {
565
+ const val = meta[key2];
566
+ if (key2 === "rel" && (val === "stylesheet" || val === "canonical" || val === "modulepreload" || val === "prerender" || val === "preload" || val === "prefetch"))
567
+ return;
568
+ if (key2 === "href") {
569
+ if (val.includes("javascript:") || val.includes("data:"))
570
+ return;
571
+ link[key2] = val;
572
+ } else if (val) {
573
+ link[key2] = val;
574
+ }
575
+ });
576
+ return link;
577
+ }).filter((link) => Object.keys(link).length > 1 && !!link.rel);
578
+ }
579
+ break;
580
+ case "noscript":
581
+ if (Array.isArray(tagValue)) {
582
+ filtered[key] = tagValue.map((meta) => {
583
+ const noscript = acceptDataAttrs(meta);
584
+ WhitelistAttributes.noscript.forEach((key2) => {
585
+ if (meta[key2])
586
+ noscript[key2] = meta[key2];
587
+ });
588
+ return noscript;
589
+ }).filter((meta) => Object.keys(meta).length > 0);
590
+ }
591
+ break;
592
+ case "script":
593
+ if (Array.isArray(tagValue)) {
594
+ filtered[key] = tagValue.map((script) => {
595
+ const safeScript = acceptDataAttrs(script);
596
+ WhitelistAttributes.script.forEach((s) => {
597
+ if (script[s]) {
598
+ if (s === "textContent") {
599
+ try {
600
+ const jsonVal = typeof script[s] === "string" ? JSON.parse(script[s]) : script[s];
601
+ safeScript[s] = JSON.stringify(jsonVal, null, 0);
602
+ } catch (e) {
603
+ }
604
+ } else {
605
+ safeScript[s] = script[s];
606
+ }
607
+ }
608
+ });
609
+ return safeScript;
610
+ }).filter((meta) => Object.keys(meta).length > 0);
611
+ }
612
+ break;
613
+ }
614
+ });
615
+ return filtered;
616
+ }
617
+
618
+ const NetworkEvents = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]);
619
+ const ScriptNetworkEvents = /* @__PURE__ */ new Set(["onload", "onerror"]);
620
+
621
+ const TAG_WEIGHTS = {
622
+ // tags
623
+ base: -10,
624
+ title: 10
625
+ };
626
+ const TAG_ALIASES = {
627
+ // relative scores to their default values
628
+ critical: -80,
629
+ high: -10,
630
+ low: 20
631
+ };
632
+ function tagWeight(tag) {
633
+ const priority = tag.tagPriority;
634
+ if (typeof priority === "number")
635
+ return priority;
636
+ let weight = 100;
637
+ if (tag.tag === "meta") {
638
+ if (tag.props["http-equiv"] === "content-security-policy")
639
+ weight = -30;
640
+ else if (tag.props.charset)
641
+ weight = -20;
642
+ else if (tag.props.name === "viewport")
643
+ weight = -15;
644
+ } else if (tag.tag === "link" && tag.props.rel === "preconnect") {
645
+ weight = 20;
646
+ } else if (tag.tag in TAG_WEIGHTS) {
647
+ weight = TAG_WEIGHTS[tag.tag];
648
+ }
649
+ if (priority && priority in TAG_ALIASES) {
650
+ return weight + TAG_ALIASES[priority];
651
+ }
652
+ return weight;
653
+ }
654
+ const SortModifiers = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }];
655
+
656
+ const allowedMetaProperties = ["name", "property", "http-equiv"];
657
+ function tagDedupeKey(tag) {
658
+ const { props, tag: tagName } = tag;
659
+ if (UniqueTags.has(tagName))
660
+ return tagName;
661
+ if (tagName === "link" && props.rel === "canonical")
662
+ return "canonical";
663
+ if (props.charset)
664
+ return "charset";
665
+ if (props.id) {
666
+ return `${tagName}:id:${props.id}`;
667
+ }
668
+ for (const n of allowedMetaProperties) {
669
+ if (props[n] !== void 0) {
670
+ return `${tagName}:${n}:${props[n]}`;
671
+ }
672
+ }
673
+ return false;
674
+ }
675
+
676
+ const sepSub = "%separator";
677
+ function sub(p, token, isJson = false) {
678
+ let val;
679
+ if (token === "s" || token === "pageTitle") {
680
+ val = p.pageTitle;
681
+ } else if (token.includes(".")) {
682
+ const dotIndex = token.indexOf(".");
683
+ val = p[token.substring(0, dotIndex)]?.[token.substring(dotIndex + 1)];
684
+ } else {
685
+ val = p[token];
686
+ }
687
+ if (val !== void 0) {
688
+ return isJson ? (val || "").replace(/"/g, '\\"') : val || "";
689
+ }
690
+ return void 0;
691
+ }
692
+ const sepSubRe = new RegExp(`${sepSub}(?:\\s*${sepSub})*`, "g");
693
+ function processTemplateParams(s, p, sep, isJson = false) {
694
+ if (typeof s !== "string" || !s.includes("%"))
695
+ return s;
696
+ let decoded = s;
697
+ try {
698
+ decoded = decodeURI(s);
699
+ } catch {
700
+ }
701
+ const tokens = decoded.match(/%\w+(?:\.\w+)?/g);
702
+ if (!tokens) {
703
+ return s;
704
+ }
705
+ const hasSepSub = s.includes(sepSub);
706
+ s = s.replace(/%\w+(?:\.\w+)?/g, (token) => {
707
+ if (token === sepSub || !tokens.includes(token)) {
708
+ return token;
709
+ }
710
+ const re = sub(p, token.slice(1), isJson);
711
+ return re !== void 0 ? re : token;
712
+ }).trim();
713
+ if (hasSepSub) {
714
+ if (s.endsWith(sepSub))
715
+ s = s.slice(0, -sepSub.length);
716
+ if (s.startsWith(sepSub))
717
+ s = s.slice(sepSub.length);
718
+ s = s.replace(sepSubRe, sep).trim();
719
+ }
720
+ return s;
721
+ }
722
+
723
+ function resolveTitleTemplate(template, title) {
724
+ if (template == null)
725
+ return title || null;
726
+ if (typeof template === "function")
727
+ return template(title);
728
+ return template;
729
+ }
730
+
731
+ export { HasElementTags, IsBrowser, NetworkEvents, ScriptNetworkEvents, SelfClosingTags, SortModifiers, TAG_ALIASES, TAG_WEIGHTS, TagConfigKeys, TagEntityBits, TagsWithInnerContent, UniqueTags, ValidHeadTags, asArray$1 as asArray, composableNames, defineHeadPlugin, hashCode, hashTag, normaliseEntryTags, normaliseProps, normaliseStyleClassProps, normaliseTag, packMeta, processTemplateParams, resolveMetaKeyType, resolveMetaKeyValue, resolvePackedMetaObjectValue, resolveTitleTemplate, tagDedupeKey, tagWeight, thenable, unpackMeta, whitelistSafeInput };