@absolutejs/absolute 0.19.0-beta.1042 → 0.19.0-beta.1043

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 (520) hide show
  1. package/package.json +1 -1
  2. package/dist/angular/browser.js +0 -10358
  3. package/dist/angular/browser.js.map +0 -260
  4. package/dist/angular/components/constants.js +0 -101
  5. package/dist/angular/components/core/streamingSlotRegistrar.js +0 -58
  6. package/dist/angular/components/core/streamingSlotRegistry.js +0 -114
  7. package/dist/angular/components/defer-slot-payload.js +0 -6
  8. package/dist/angular/components/defer-slot-templates.directive.js +0 -44
  9. package/dist/angular/components/defer-slot.component.js +0 -152
  10. package/dist/angular/components/image.component.js +0 -202
  11. package/dist/angular/components/index.js +0 -4
  12. package/dist/angular/components/stream-slot.component.js +0 -102
  13. package/dist/angular/hmrPreserveCore.ts +0 -188
  14. package/dist/angular/index.js +0 -15793
  15. package/dist/angular/index.js.map +0 -299
  16. package/dist/angular/server.js +0 -6357
  17. package/dist/angular/server.js.map +0 -61
  18. package/dist/build.js +0 -27484
  19. package/dist/build.js.map +0 -146
  20. package/dist/cli/config/client.js +0 -527
  21. package/dist/cli/config/server.js +0 -37130
  22. package/dist/cli/htmx/htmx.min.js +0 -1
  23. package/dist/cli/index.js +0 -179599
  24. package/dist/client/index.js +0 -1267
  25. package/dist/client/index.js.map +0 -31
  26. package/dist/core/streamingSlotRegistrar.js +0 -138
  27. package/dist/core/streamingSlotRegistrar.js.map +0 -10
  28. package/dist/core/streamingSlotRegistry.js +0 -194
  29. package/dist/core/streamingSlotRegistry.js.map +0 -11
  30. package/dist/dev/client/constants.ts +0 -26
  31. package/dist/dev/client/cssUtils.ts +0 -311
  32. package/dist/dev/client/domDiff.ts +0 -226
  33. package/dist/dev/client/domState.ts +0 -423
  34. package/dist/dev/client/domTracker.ts +0 -61
  35. package/dist/dev/client/errorOverlay.ts +0 -445
  36. package/dist/dev/client/frameworkDetect.ts +0 -63
  37. package/dist/dev/client/handlers/angularHmrShim.ts +0 -88
  38. package/dist/dev/client/handlers/angularRemount.ts +0 -362
  39. package/dist/dev/client/handlers/angularRemountWiring.ts +0 -52
  40. package/dist/dev/client/handlers/html.ts +0 -364
  41. package/dist/dev/client/handlers/htmx.ts +0 -278
  42. package/dist/dev/client/handlers/react.ts +0 -108
  43. package/dist/dev/client/handlers/rebuild.ts +0 -153
  44. package/dist/dev/client/handlers/svelte.ts +0 -334
  45. package/dist/dev/client/handlers/vue.ts +0 -292
  46. package/dist/dev/client/headPatch.ts +0 -233
  47. package/dist/dev/client/hmrClient.ts +0 -352
  48. package/dist/dev/client/hmrState.ts +0 -14
  49. package/dist/dev/client/hmrToast.ts +0 -150
  50. package/dist/dev/client/moduleVersions.ts +0 -62
  51. package/dist/dev/client/reactRefreshSetup.ts +0 -31
  52. package/dist/dev/client/vendor/lview/lViewOps.ts +0 -196
  53. package/dist/dev/client/vendor/lview/slotConstants.ts +0 -44
  54. package/dist/dev/client/vendor/reactRefreshRuntime.d.ts +0 -12
  55. package/dist/dev/client/vendor/reactRefreshRuntime.js +0 -313
  56. package/dist/image-client/imageClient.js +0 -69
  57. package/dist/index.js +0 -36361
  58. package/dist/index.js.map +0 -320
  59. package/dist/islands/browser.js +0 -259
  60. package/dist/islands/browser.js.map +0 -15
  61. package/dist/islands/index.js +0 -2415
  62. package/dist/islands/index.js.map +0 -37
  63. package/dist/react/browser.js +0 -374
  64. package/dist/react/browser.js.map +0 -19
  65. package/dist/react/components/browser/index.js +0 -467
  66. package/dist/react/components/index.js +0 -684
  67. package/dist/react/components/index.js.map +0 -18
  68. package/dist/react/hooks/index.js +0 -285
  69. package/dist/react/hooks/index.js.map +0 -14
  70. package/dist/react/index.js +0 -4258
  71. package/dist/react/index.js.map +0 -56
  72. package/dist/react/jsxDevRuntimeCompat.js +0 -90
  73. package/dist/react/jsxDevRuntimeCompat.js.map +0 -10
  74. package/dist/react/router/browser.js +0 -95
  75. package/dist/react/router/browser.js.map +0 -10
  76. package/dist/react/router/index.js +0 -95
  77. package/dist/react/router/index.js.map +0 -10
  78. package/dist/react/server.js +0 -1895
  79. package/dist/react/server.js.map +0 -26
  80. package/dist/src/angular/Island.browser.d.ts +0 -34
  81. package/dist/src/angular/Island.d.ts +0 -29
  82. package/dist/src/angular/angularDeps.d.ts +0 -2
  83. package/dist/src/angular/angularPatch.d.ts +0 -1
  84. package/dist/src/angular/animationProviders.d.ts +0 -2
  85. package/dist/src/angular/browser.d.ts +0 -14
  86. package/dist/src/angular/components/constants.d.ts +0 -96
  87. package/dist/src/angular/components/defer-slot-payload.d.ts +0 -7
  88. package/dist/src/angular/components/defer-slot-templates.directive.d.ts +0 -21
  89. package/dist/src/angular/components/defer-slot.component.d.ts +0 -29
  90. package/dist/src/angular/components/image.component.d.ts +0 -42
  91. package/dist/src/angular/components/index.d.ts +0 -4
  92. package/dist/src/angular/components/stream-slot.component.d.ts +0 -20
  93. package/dist/src/angular/composables/index.d.ts +0 -6
  94. package/dist/src/angular/composables/usePageContext.d.ts +0 -16
  95. package/dist/src/angular/composables/useResource.d.ts +0 -57
  96. package/dist/src/angular/composables/useSubscription.d.ts +0 -33
  97. package/dist/src/angular/composables/useTimers.d.ts +0 -18
  98. package/dist/src/angular/createIsland.browser.d.ts +0 -2
  99. package/dist/src/angular/createIsland.d.ts +0 -2
  100. package/dist/src/angular/deterministicEnv.d.ts +0 -26
  101. package/dist/src/angular/hmrPreserveCore.d.ts +0 -21
  102. package/dist/src/angular/httpTransferCache.d.ts +0 -12
  103. package/dist/src/angular/index.d.ts +0 -14
  104. package/dist/src/angular/injectorPatch.d.ts +0 -1
  105. package/dist/src/angular/islandStore.d.ts +0 -9
  106. package/dist/src/angular/islands.d.ts +0 -4
  107. package/dist/src/angular/lowerDeferSyntax.d.ts +0 -18
  108. package/dist/src/angular/lowerServerIslands.d.ts +0 -1
  109. package/dist/src/angular/pageHandler.d.ts +0 -48
  110. package/dist/src/angular/pendingTask.d.ts +0 -1
  111. package/dist/src/angular/preserveAcrossHmr.d.ts +0 -12
  112. package/dist/src/angular/renderIsland.d.ts +0 -2
  113. package/dist/src/angular/requestProviders.d.ts +0 -5
  114. package/dist/src/angular/resolveAngularPackage.d.ts +0 -19
  115. package/dist/src/angular/routerRedirectProviders.d.ts +0 -6
  116. package/dist/src/angular/server.d.ts +0 -4
  117. package/dist/src/angular/ssrRender.d.ts +0 -13
  118. package/dist/src/angular/ssrSanitizer.d.ts +0 -3
  119. package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +0 -7
  120. package/dist/src/build/angularLinkerPlugin.d.ts +0 -29
  121. package/dist/src/build/buildAngularVendor.d.ts +0 -40
  122. package/dist/src/build/buildDepVendor.d.ts +0 -2
  123. package/dist/src/build/buildEmberVendor.d.ts +0 -24
  124. package/dist/src/build/buildReactVendor.d.ts +0 -8
  125. package/dist/src/build/buildSvelteVendor.d.ts +0 -6
  126. package/dist/src/build/buildVueVendor.d.ts +0 -6
  127. package/dist/src/build/chainInlineSourcemaps.d.ts +0 -13
  128. package/dist/src/build/compileAngular.d.ts +0 -40
  129. package/dist/src/build/compileEmber.d.ts +0 -43
  130. package/dist/src/build/compileSvelte.d.ts +0 -14
  131. package/dist/src/build/compileTailwind.d.ts +0 -5
  132. package/dist/src/build/compileVue.d.ts +0 -22
  133. package/dist/src/build/externalAssetPlugin.d.ts +0 -2
  134. package/dist/src/build/generateManifest.d.ts +0 -2
  135. package/dist/src/build/generateReactIndexes.d.ts +0 -2
  136. package/dist/src/build/htmlScriptHMRPlugin.d.ts +0 -13
  137. package/dist/src/build/index.d.ts +0 -2
  138. package/dist/src/build/islandEntries.d.ts +0 -32
  139. package/dist/src/build/islandRegistryTransform.d.ts +0 -17
  140. package/dist/src/build/nativeRewrite.d.ts +0 -5
  141. package/dist/src/build/optimizeHtmlImages.d.ts +0 -2
  142. package/dist/src/build/outputLogs.d.ts +0 -1
  143. package/dist/src/build/parseAngularConfigImports.d.ts +0 -9
  144. package/dist/src/build/parseVueSpaRoutes.d.ts +0 -20
  145. package/dist/src/build/resolvePackageImport.d.ts +0 -9
  146. package/dist/src/build/rewriteImports.d.ts +0 -8
  147. package/dist/src/build/rewriteImportsPlugin.d.ts +0 -48
  148. package/dist/src/build/rewriteReactImports.d.ts +0 -7
  149. package/dist/src/build/runAngularHandlerScan.d.ts +0 -7
  150. package/dist/src/build/scanAngularHandlerCalls.d.ts +0 -13
  151. package/dist/src/build/scanAngularPageRoutes.d.ts +0 -10
  152. package/dist/src/build/scanConventions.d.ts +0 -5
  153. package/dist/src/build/scanCssEntryPoints.d.ts +0 -1
  154. package/dist/src/build/scanEntryPoints.d.ts +0 -1
  155. package/dist/src/build/scanRouteRegistrations.d.ts +0 -23
  156. package/dist/src/build/scanVueSsrOnlyPages.d.ts +0 -6
  157. package/dist/src/build/staticIslandPages.d.ts +0 -9
  158. package/dist/src/build/stylePreprocessor.d.ts +0 -26
  159. package/dist/src/build/tailwindCompiler.d.ts +0 -8
  160. package/dist/src/build/updateAssetPaths.d.ts +0 -1
  161. package/dist/src/build/vendorEntrySource.d.ts +0 -1
  162. package/dist/src/build/verifyAngularCoreUniqueness.d.ts +0 -2
  163. package/dist/src/build/vueAutoRouterTransform.d.ts +0 -1
  164. package/dist/src/build/wrapHTMLScript.d.ts +0 -17
  165. package/dist/src/build.d.ts +0 -2
  166. package/dist/src/cli/add/dependencies.d.ts +0 -12
  167. package/dist/src/cli/cache.d.ts +0 -15
  168. package/dist/src/cli/config/absolute/AbsoluteConfigPanel.d.ts +0 -6
  169. package/dist/src/cli/config/absolute/editAbsoluteConfig.d.ts +0 -5
  170. package/dist/src/cli/config/absolute/resolveAbsoluteConfig.d.ts +0 -14
  171. package/dist/src/cli/config/client.d.ts +0 -1
  172. package/dist/src/cli/config/configCert.d.ts +0 -12
  173. package/dist/src/cli/config/eslint/EslintPanel.d.ts +0 -6
  174. package/dist/src/cli/config/eslint/configAst.d.ts +0 -18
  175. package/dist/src/cli/config/eslint/editConfigRule.d.ts +0 -6
  176. package/dist/src/cli/config/eslint/eslintStyles.d.ts +0 -1
  177. package/dist/src/cli/config/eslint/resolveConfig.d.ts +0 -3
  178. package/dist/src/cli/config/eslint/serializeValue.d.ts +0 -9
  179. package/dist/src/cli/config/guards.d.ts +0 -4
  180. package/dist/src/cli/config/packageJson/PackageJsonPanel.d.ts +0 -6
  181. package/dist/src/cli/config/packageJson/editPackageJson.d.ts +0 -9
  182. package/dist/src/cli/config/packageJson/resolvePackageJson.d.ts +0 -9
  183. package/dist/src/cli/config/page/ConfigShell.d.ts +0 -6
  184. package/dist/src/cli/config/page/FieldEditor.d.ts +0 -9
  185. package/dist/src/cli/config/page/PanelHost.d.ts +0 -6
  186. package/dist/src/cli/config/page/configStyles.d.ts +0 -1
  187. package/dist/src/cli/config/panels.d.ts +0 -7
  188. package/dist/src/cli/config/prettier/PrettierPanel.d.ts +0 -6
  189. package/dist/src/cli/config/prettier/editPrettier.d.ts +0 -5
  190. package/dist/src/cli/config/prettier/resolvePrettier.d.ts +0 -11
  191. package/dist/src/cli/config/schema/fromJsonSchema.d.ts +0 -3
  192. package/dist/src/cli/config/schema/fromType.d.ts +0 -2
  193. package/dist/src/cli/config/schema/serialize.d.ts +0 -1
  194. package/dist/src/cli/config/server.d.ts +0 -298
  195. package/dist/src/cli/config/tsconfig/TsconfigPanel.d.ts +0 -6
  196. package/dist/src/cli/config/tsconfig/editTsconfig.d.ts +0 -5
  197. package/dist/src/cli/config/tsconfig/resolveTsconfig.d.ts +0 -8
  198. package/dist/src/cli/config/tsconfig/tsconfigStyles.d.ts +0 -1
  199. package/dist/src/cli/discoverInstances.d.ts +0 -5
  200. package/dist/src/cli/generate/componentTemplates.d.ts +0 -7
  201. package/dist/src/cli/generate/context.d.ts +0 -30
  202. package/dist/src/cli/generate/cssStrategy.d.ts +0 -20
  203. package/dist/src/cli/generate/frameworkKey.d.ts +0 -3
  204. package/dist/src/cli/generate/frameworks.d.ts +0 -40
  205. package/dist/src/cli/generate/generateApi.d.ts +0 -3
  206. package/dist/src/cli/generate/generateComponent.d.ts +0 -4
  207. package/dist/src/cli/generate/generatePage.d.ts +0 -4
  208. package/dist/src/cli/generate/naming.d.ts +0 -5
  209. package/dist/src/cli/generate/navData.d.ts +0 -10
  210. package/dist/src/cli/generate/outcome.d.ts +0 -17
  211. package/dist/src/cli/generate/pageTemplates.d.ts +0 -11
  212. package/dist/src/cli/generate/routeWiring.d.ts +0 -40
  213. package/dist/src/cli/generate/staticNav.d.ts +0 -5
  214. package/dist/src/cli/htmx/install.d.ts +0 -6
  215. package/dist/src/cli/index.d.ts +0 -2
  216. package/dist/src/cli/inspectData.d.ts +0 -11
  217. package/dist/src/cli/inspectTui.d.ts +0 -1
  218. package/dist/src/cli/instanceStatus.d.ts +0 -22
  219. package/dist/src/cli/interactive.d.ts +0 -2
  220. package/dist/src/cli/psTui.d.ts +0 -1
  221. package/dist/src/cli/scripts/add.d.ts +0 -1
  222. package/dist/src/cli/scripts/build.d.ts +0 -1
  223. package/dist/src/cli/scripts/compile.d.ts +0 -2
  224. package/dist/src/cli/scripts/dev.d.ts +0 -1
  225. package/dist/src/cli/scripts/doctor.d.ts +0 -1
  226. package/dist/src/cli/scripts/env.d.ts +0 -7
  227. package/dist/src/cli/scripts/eslint.d.ts +0 -16
  228. package/dist/src/cli/scripts/generate.d.ts +0 -1
  229. package/dist/src/cli/scripts/htmx.d.ts +0 -1
  230. package/dist/src/cli/scripts/info.d.ts +0 -1
  231. package/dist/src/cli/scripts/inspect.d.ts +0 -1
  232. package/dist/src/cli/scripts/islands.d.ts +0 -1
  233. package/dist/src/cli/scripts/logs.d.ts +0 -1
  234. package/dist/src/cli/scripts/ls.d.ts +0 -1
  235. package/dist/src/cli/scripts/mem.d.ts +0 -1
  236. package/dist/src/cli/scripts/prettier.d.ts +0 -3
  237. package/dist/src/cli/scripts/ps.d.ts +0 -1
  238. package/dist/src/cli/scripts/remove.d.ts +0 -1
  239. package/dist/src/cli/scripts/routes.d.ts +0 -1
  240. package/dist/src/cli/scripts/start.d.ts +0 -1
  241. package/dist/src/cli/scripts/telemetry.d.ts +0 -5
  242. package/dist/src/cli/scripts/tunnelRelay.d.ts +0 -9
  243. package/dist/src/cli/scripts/typecheck.d.ts +0 -1
  244. package/dist/src/cli/scripts/workspace.d.ts +0 -11
  245. package/dist/src/cli/telemetryEvent.d.ts +0 -1
  246. package/dist/src/cli/tuiPrimitives.d.ts +0 -14
  247. package/dist/src/cli/utils.d.ts +0 -15
  248. package/dist/src/cli/workspaceTui.d.ts +0 -44
  249. package/dist/src/client/hydrators/react.d.ts +0 -3
  250. package/dist/src/client/hydrators/svelte.d.ts +0 -2
  251. package/dist/src/client/hydrators/vue.d.ts +0 -2
  252. package/dist/src/client/index.d.ts +0 -4
  253. package/dist/src/client/islandResolver.d.ts +0 -2
  254. package/dist/src/client/islandRuntime.d.ts +0 -9
  255. package/dist/src/client/islandStore.d.ts +0 -22
  256. package/dist/src/client/preserveIslandMarkup.d.ts +0 -16
  257. package/dist/src/client/streamSwap.d.ts +0 -1
  258. package/dist/src/constants.d.ts +0 -96
  259. package/dist/src/core/angularServerModule.d.ts +0 -1
  260. package/dist/src/core/build.d.ts +0 -14
  261. package/dist/src/core/currentIslandRegistry.d.ts +0 -7
  262. package/dist/src/core/devBuild.d.ts +0 -23
  263. package/dist/src/core/devRouteRegistrationCallsite.d.ts +0 -4
  264. package/dist/src/core/devVendorPaths.d.ts +0 -17
  265. package/dist/src/core/index.d.ts +0 -7
  266. package/dist/src/core/islandManifest.d.ts +0 -3
  267. package/dist/src/core/islandMarkupAttributes.d.ts +0 -12
  268. package/dist/src/core/islandPageContext.d.ts +0 -12
  269. package/dist/src/core/islandSsr.d.ts +0 -6
  270. package/dist/src/core/islands.d.ts +0 -16
  271. package/dist/src/core/loadIslandRegistry.d.ts +0 -1
  272. package/dist/src/core/lookup.d.ts +0 -1
  273. package/dist/src/core/normalizeIslandProps.d.ts +0 -15
  274. package/dist/src/core/pageHandlers.d.ts +0 -5
  275. package/dist/src/core/prepare.d.ts +0 -417
  276. package/dist/src/core/prerender.d.ts +0 -31
  277. package/dist/src/core/renderIslandMarkup.d.ts +0 -13
  278. package/dist/src/core/responseEnhancers.d.ts +0 -10
  279. package/dist/src/core/staticStreaming.d.ts +0 -25
  280. package/dist/src/core/streamingSlotRegistrar.d.ts +0 -16
  281. package/dist/src/core/streamingSlotRegistry.d.ts +0 -2
  282. package/dist/src/core/streamingSlotWarningScope.d.ts +0 -4
  283. package/dist/src/core/svelteServerModule.d.ts +0 -1
  284. package/dist/src/core/vueServerModule.d.ts +0 -1
  285. package/dist/src/core/wrapPageHandlerWithStreamingSlots.d.ts +0 -2
  286. package/dist/src/dev/angular/fastHmrCompiler.d.ts +0 -58
  287. package/dist/src/dev/angular/hmrCompiler.d.ts +0 -2
  288. package/dist/src/dev/angular/hmrImportGenerator.d.ts +0 -3
  289. package/dist/src/dev/angular/hmrInjectionPlugin.d.ts +0 -8
  290. package/dist/src/dev/angular/resolveOwningComponents.d.ts +0 -16
  291. package/dist/src/dev/angular/vendor/translator/api/ast_factory.d.ts +0 -363
  292. package/dist/src/dev/angular/vendor/translator/api/import_generator.d.ts +0 -49
  293. package/dist/src/dev/angular/vendor/translator/context.d.ts +0 -18
  294. package/dist/src/dev/angular/vendor/translator/translator.d.ts +0 -75
  295. package/dist/src/dev/angular/vendor/translator/ts_util.d.ts +0 -12
  296. package/dist/src/dev/angular/vendor/translator/typescript_ast_factory.d.ts +0 -66
  297. package/dist/src/dev/angular/vendor/translator/typescript_translator.d.ts +0 -13
  298. package/dist/src/dev/assetStore.d.ts +0 -8
  299. package/dist/src/dev/buildHMRClient.d.ts +0 -1
  300. package/dist/src/dev/clientManager.d.ts +0 -33
  301. package/dist/src/dev/configResolver.d.ts +0 -16
  302. package/dist/src/dev/dependencyGraph.d.ts +0 -10
  303. package/dist/src/dev/devCert.d.ts +0 -11
  304. package/dist/src/dev/fileHashTracker.d.ts +0 -2
  305. package/dist/src/dev/fileWatcher.d.ts +0 -4
  306. package/dist/src/dev/moduleMapper.d.ts +0 -27
  307. package/dist/src/dev/moduleServer.d.ts +0 -24
  308. package/dist/src/dev/moduleVersionTracker.d.ts +0 -7
  309. package/dist/src/dev/pathUtils.d.ts +0 -8
  310. package/dist/src/dev/reactComponentClassifier.d.ts +0 -2
  311. package/dist/src/dev/rebuildTrigger.d.ts +0 -11
  312. package/dist/src/dev/requestInspector.d.ts +0 -43
  313. package/dist/src/dev/serverEntryWatcher.d.ts +0 -5
  314. package/dist/src/dev/simpleHTMLHMR.d.ts +0 -4
  315. package/dist/src/dev/simpleHTMXHMR.d.ts +0 -4
  316. package/dist/src/dev/transformCache.d.ts +0 -22
  317. package/dist/src/dev/tunnel/client.d.ts +0 -20
  318. package/dist/src/dev/tunnel/protocol.d.ts +0 -85
  319. package/dist/src/dev/tunnel/relay.d.ts +0 -28
  320. package/dist/src/dev/webSocket.d.ts +0 -9
  321. package/dist/src/ember/browser.d.ts +0 -24
  322. package/dist/src/ember/index.d.ts +0 -2
  323. package/dist/src/ember/pageHandler.d.ts +0 -35
  324. package/dist/src/ember/server.d.ts +0 -2
  325. package/dist/src/index.d.ts +0 -7
  326. package/dist/src/islands/browser.d.ts +0 -3
  327. package/dist/src/islands/index.d.ts +0 -3
  328. package/dist/src/islands/pageMetadata.d.ts +0 -13
  329. package/dist/src/islands/sourceMetadata.d.ts +0 -10
  330. package/dist/src/plugins/devtoolsJson.d.ts +0 -58
  331. package/dist/src/plugins/hmr.d.ts +0 -163
  332. package/dist/src/plugins/imageOptimizer.d.ts +0 -67
  333. package/dist/src/plugins/index.d.ts +0 -3
  334. package/dist/src/plugins/networking.d.ts +0 -2
  335. package/dist/src/plugins/pageRouter.d.ts +0 -1
  336. package/dist/src/react/Island.browser.d.ts +0 -2
  337. package/dist/src/react/Island.d.ts +0 -2
  338. package/dist/src/react/bridgeInternals.d.ts +0 -1
  339. package/dist/src/react/browser.d.ts +0 -3
  340. package/dist/src/react/components/Head.d.ts +0 -2
  341. package/dist/src/react/components/Image.d.ts +0 -2
  342. package/dist/src/react/components/JsonLd.d.ts +0 -4
  343. package/dist/src/react/components/StreamSlot.browser.d.ts +0 -10
  344. package/dist/src/react/components/StreamSlot.d.ts +0 -10
  345. package/dist/src/react/components/SuspenseSlot.browser.d.ts +0 -22
  346. package/dist/src/react/components/SuspenseSlot.d.ts +0 -37
  347. package/dist/src/react/components/browser/index.d.ts +0 -5
  348. package/dist/src/react/components/index.d.ts +0 -5
  349. package/dist/src/react/createIsland.browser.d.ts +0 -2
  350. package/dist/src/react/createIsland.d.ts +0 -2
  351. package/dist/src/react/hooks/index.d.ts +0 -3
  352. package/dist/src/react/hooks/useIslandStore.d.ts +0 -3
  353. package/dist/src/react/hooks/useMediaQuery.d.ts +0 -7
  354. package/dist/src/react/index.d.ts +0 -4
  355. package/dist/src/react/jsxDevRuntimeCompat.d.ts +0 -8
  356. package/dist/src/react/pageHandler.d.ts +0 -25
  357. package/dist/src/react/router/UniversalRouter.d.ts +0 -43
  358. package/dist/src/react/router/browser.d.ts +0 -2
  359. package/dist/src/react/router/index.d.ts +0 -2
  360. package/dist/src/react/server.d.ts +0 -1
  361. package/dist/src/react/staticAnalyzeSpaRoutes.d.ts +0 -7
  362. package/dist/src/svelte/browser.d.ts +0 -4
  363. package/dist/src/svelte/createIsland.browser.d.ts +0 -2
  364. package/dist/src/svelte/createIsland.d.ts +0 -2
  365. package/dist/src/svelte/index.d.ts +0 -6
  366. package/dist/src/svelte/islandStore.d.ts +0 -5
  367. package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +0 -4
  368. package/dist/src/svelte/lowerIslandSyntax.d.ts +0 -4
  369. package/dist/src/svelte/pageHandler.d.ts +0 -28
  370. package/dist/src/svelte/renderIsland.d.ts +0 -2
  371. package/dist/src/svelte/renderToPipeableStream.d.ts +0 -12
  372. package/dist/src/svelte/renderToReadableStream.d.ts +0 -14
  373. package/dist/src/svelte/renderToString.d.ts +0 -9
  374. package/dist/src/svelte/resolveIslandHtml.browser.d.ts +0 -2
  375. package/dist/src/svelte/resolveIslandHtml.d.ts +0 -2
  376. package/dist/src/svelte/router/browser.d.ts +0 -4
  377. package/dist/src/svelte/router/goto.d.ts +0 -15
  378. package/dist/src/svelte/router/hashMode.d.ts +0 -16
  379. package/dist/src/svelte/router/index.d.ts +0 -4
  380. package/dist/src/svelte/router/matchPath.d.ts +0 -30
  381. package/dist/src/svelte/router/page.svelte.d.ts +0 -15
  382. package/dist/src/svelte/router/prefetchCache.d.ts +0 -17
  383. package/dist/src/svelte/router/pushState.d.ts +0 -13
  384. package/dist/src/svelte/router/viewTransitions.d.ts +0 -6
  385. package/dist/src/svelte/server.d.ts +0 -1
  386. package/dist/src/svelte/staticAnalyzeSpaRoutes.d.ts +0 -7
  387. package/dist/src/utils/buildDirectoryLock.d.ts +0 -28
  388. package/dist/src/utils/cleanStaleOutputs.d.ts +0 -1
  389. package/dist/src/utils/cleanup.d.ts +0 -9
  390. package/dist/src/utils/commonAncestor.d.ts +0 -1
  391. package/dist/src/utils/defineConfig.d.ts +0 -39
  392. package/dist/src/utils/defineConvention.d.ts +0 -3
  393. package/dist/src/utils/defineEnv.d.ts +0 -10
  394. package/dist/src/utils/escapeScriptContent.d.ts +0 -1
  395. package/dist/src/utils/formatBytes.d.ts +0 -2
  396. package/dist/src/utils/generateHeadElement.d.ts +0 -4
  397. package/dist/src/utils/generateSitemap.d.ts +0 -21
  398. package/dist/src/utils/generatedDir.d.ts +0 -3
  399. package/dist/src/utils/getDurationString.d.ts +0 -1
  400. package/dist/src/utils/getEnv.d.ts +0 -1
  401. package/dist/src/utils/imageClient.d.ts +0 -13
  402. package/dist/src/utils/imageProcessing.d.ts +0 -33
  403. package/dist/src/utils/index.d.ts +0 -11
  404. package/dist/src/utils/inlinePageCss.d.ts +0 -2
  405. package/dist/src/utils/instanceRegistry.d.ts +0 -13
  406. package/dist/src/utils/jsonLd.d.ts +0 -3
  407. package/dist/src/utils/loadConfig.d.ts +0 -55
  408. package/dist/src/utils/logger.d.ts +0 -56
  409. package/dist/src/utils/networking.d.ts +0 -2
  410. package/dist/src/utils/normalizePath.d.ts +0 -9
  411. package/dist/src/utils/portScan.d.ts +0 -22
  412. package/dist/src/utils/projectRoot.d.ts +0 -17
  413. package/dist/src/utils/registerClientScript.d.ts +0 -36
  414. package/dist/src/utils/resolveConvention.d.ts +0 -10
  415. package/dist/src/utils/resolveDevPort.d.ts +0 -24
  416. package/dist/src/utils/runtimeMode.d.ts +0 -3
  417. package/dist/src/utils/spaRouteCss.d.ts +0 -4
  418. package/dist/src/utils/spaRouteTypes.d.ts +0 -25
  419. package/dist/src/utils/ssrErrorPage.d.ts +0 -1
  420. package/dist/src/utils/startupBanner.d.ts +0 -10
  421. package/dist/src/utils/startupTimings.d.ts +0 -7
  422. package/dist/src/utils/streamingSlotMetricSink.d.ts +0 -18
  423. package/dist/src/utils/streamingSlots.d.ts +0 -76
  424. package/dist/src/utils/stringModifiers.d.ts +0 -3
  425. package/dist/src/utils/userAgentFunctions.d.ts +0 -1
  426. package/dist/src/utils/validateSafePath.d.ts +0 -1
  427. package/dist/src/vue/Island.browser.d.ts +0 -37
  428. package/dist/src/vue/Island.d.ts +0 -36
  429. package/dist/src/vue/browser.d.ts +0 -6
  430. package/dist/src/vue/components/Image.d.ts +0 -74
  431. package/dist/src/vue/components/StreamSlot.d.ts +0 -22
  432. package/dist/src/vue/components/SuspenseSlot.d.ts +0 -26
  433. package/dist/src/vue/components/index.d.ts +0 -3
  434. package/dist/src/vue/createIsland.browser.d.ts +0 -13
  435. package/dist/src/vue/createIsland.d.ts +0 -13
  436. package/dist/src/vue/defineVuePage.d.ts +0 -6
  437. package/dist/src/vue/index.d.ts +0 -9
  438. package/dist/src/vue/pageHandler.d.ts +0 -45
  439. package/dist/src/vue/routerRedirectProviders.d.ts +0 -45
  440. package/dist/src/vue/server.d.ts +0 -2
  441. package/dist/src/vue/staticAnalyzeSpaRoutes.d.ts +0 -7
  442. package/dist/src/vue/useIslandStore.d.ts +0 -3
  443. package/dist/svelte/browser.js +0 -309
  444. package/dist/svelte/browser.js.map +0 -19
  445. package/dist/svelte/components/AwaitSlot.svelte +0 -39
  446. package/dist/svelte/components/AwaitSlot.svelte.d.ts +0 -2
  447. package/dist/svelte/components/Head.svelte +0 -144
  448. package/dist/svelte/components/Head.svelte.d.ts +0 -2
  449. package/dist/svelte/components/Image.svelte +0 -164
  450. package/dist/svelte/components/Image.svelte.d.ts +0 -5
  451. package/dist/svelte/components/Island.svelte +0 -71
  452. package/dist/svelte/components/Island.svelte.d.ts +0 -5
  453. package/dist/svelte/components/JsonLd.svelte +0 -21
  454. package/dist/svelte/components/JsonLd.svelte.d.ts +0 -2
  455. package/dist/svelte/components/StreamSlot.svelte +0 -41
  456. package/dist/svelte/components/StreamSlot.svelte.d.ts +0 -2
  457. package/dist/svelte/index.js +0 -4371
  458. package/dist/svelte/index.js.map +0 -60
  459. package/dist/svelte/router/Link.svelte +0 -124
  460. package/dist/svelte/router/Link.svelte.d.ts +0 -21
  461. package/dist/svelte/router/Route.svelte +0 -54
  462. package/dist/svelte/router/Route.svelte.d.ts +0 -13
  463. package/dist/svelte/router/Router.svelte +0 -189
  464. package/dist/svelte/router/Router.svelte.d.ts +0 -16
  465. package/dist/svelte/router/browser.ts +0 -14
  466. package/dist/svelte/router/goto.ts +0 -89
  467. package/dist/svelte/router/hashMode.ts +0 -31
  468. package/dist/svelte/router/index.ts +0 -23
  469. package/dist/svelte/router/matchPath.ts +0 -136
  470. package/dist/svelte/router/page.d.ts +0 -15
  471. package/dist/svelte/router/page.js +0 -27
  472. package/dist/svelte/router/prefetchCache.ts +0 -85
  473. package/dist/svelte/router/pushState.ts +0 -35
  474. package/dist/svelte/router/viewTransitions.ts +0 -35
  475. package/dist/svelte/server.js +0 -2996
  476. package/dist/svelte/server.js.map +0 -33
  477. package/dist/types/absoluteConfig.d.ts +0 -22
  478. package/dist/types/angular.d.ts +0 -43
  479. package/dist/types/build.d.ts +0 -245
  480. package/dist/types/cli.d.ts +0 -71
  481. package/dist/types/client.d.ts +0 -70
  482. package/dist/types/config.d.ts +0 -50
  483. package/dist/types/conventions.d.ts +0 -26
  484. package/dist/types/ember.d.ts +0 -39
  485. package/dist/types/env.d.ts +0 -2
  486. package/dist/types/eslintConfig.d.ts +0 -68
  487. package/dist/types/globals.d.ts +0 -163
  488. package/dist/types/image.d.ts +0 -77
  489. package/dist/types/index.d.ts +0 -17
  490. package/dist/types/island.d.ts +0 -52
  491. package/dist/types/jsonLd.d.ts +0 -300
  492. package/dist/types/mediaQuery.d.ts +0 -9
  493. package/dist/types/messages.d.ts +0 -152
  494. package/dist/types/metadata.d.ts +0 -51
  495. package/dist/types/packageJson.d.ts +0 -74
  496. package/dist/types/packageJsonPanel.d.ts +0 -29
  497. package/dist/types/prettier.d.ts +0 -26
  498. package/dist/types/react.d.ts +0 -2
  499. package/dist/types/sitemap.d.ts +0 -24
  500. package/dist/types/style-module-shim.d.ts +0 -29
  501. package/dist/types/svelte.d.ts +0 -2
  502. package/dist/types/svelteRouter.d.ts +0 -65
  503. package/dist/types/svelteRouter.ts +0 -91
  504. package/dist/types/telemetry.d.ts +0 -15
  505. package/dist/types/tool.d.ts +0 -11
  506. package/dist/types/tsconfig.d.ts +0 -31
  507. package/dist/types/typeGuards.d.ts +0 -2
  508. package/dist/types/userAgentTypes.d.ts +0 -2
  509. package/dist/types/vue.d.ts +0 -56
  510. package/dist/types/websocket.d.ts +0 -6
  511. package/dist/vue/browser.js +0 -512
  512. package/dist/vue/browser.js.map +0 -22
  513. package/dist/vue/components/Image.js +0 -264
  514. package/dist/vue/components/Image.js.map +0 -12
  515. package/dist/vue/components/index.js +0 -571
  516. package/dist/vue/components/index.js.map +0 -15
  517. package/dist/vue/index.js +0 -5238
  518. package/dist/vue/index.js.map +0 -69
  519. package/dist/vue/server.js +0 -2251
  520. package/dist/vue/server.js.map +0 -32
@@ -1,18 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/constants.ts", "../src/core/streamingSlotRegistrar.ts", "../src/utils/jsonLd.ts", "../src/react/components/Head.tsx", "../src/utils/imageClient.ts", "../src/react/components/Image.tsx", "../src/react/components/JsonLd.tsx", "../src/react/components/SuspenseSlot.tsx", "../src/react/components/StreamSlot.tsx"],
4
- "sourcesContent": [
5
- "export const ANGULAR_INIT_TIMEOUT_MS = 500;\nexport const ANSI_ESCAPE_CODE = 27;\nexport const ANSI_ESCAPE_LENGTH = 3;\nexport const ASCII_SPACE = 32;\nexport const BASE_36_RADIX = 36;\nexport const BUN_BUILD_WARNING_SUPPRESSION =\n\t'wildcard sideEffects are not supported yet';\nexport const BODY_SLICE_LENGTH = 2000;\nexport const BYTES_PER_KILOBYTE = 1024;\nexport const CLI_ARGS_OFFSET = 3;\nexport const CSS_ERROR_RESOLVE_DELAY_MS = 50;\nexport const CSS_MAX_CHECK_ATTEMPTS = 10;\nexport const CSS_MAX_PARSE_TIMEOUT_MS = 500;\nexport const CSS_SHEET_READY_TIMEOUT_MS = 100;\nexport const DEFAULT_CHUNK_SIZE = 16_384;\nexport const DEFAULT_DEBOUNCE_MS = 15;\nexport const DEFAULT_PORT = 3000;\nexport const DEV_SERVER_RESTART_DEBOUNCE_MS = 100;\nexport const DOM_UPDATE_DELAY_MS = 50;\nexport const FILE_PROTOCOL_PREFIX_LENGTH = 7;\nexport const FOCUS_ID_PREFIX_LENGTH = 3;\nexport const FOCUS_IDX_PREFIX_LENGTH = 4;\nexport const FOCUS_NAME_PREFIX_LENGTH = 5;\nexport const ESLINT_STUDIO_DEFAULT_HOST = 'eslint.absolute.localhost';\nexport const ESLINT_STUDIO_DEFAULT_PORT = 4099;\nexport const CONFIG_DEFAULT_HOST = 'config.absolute.localhost';\nexport const CONFIG_DEFAULT_PORT = 4099;\nexport const HMR_UPDATE_TIMEOUT_MS = 2000;\nexport const HOOK_SIGNATURE_LENGTH = 12;\nexport const EXCLUDE_LAST_OFFSET = -1;\nexport const HTTP_STATUS_OK = 200;\nexport const HTTP_STATUS_BAD_REQUEST = 400;\nexport const HTTP_STATUS_NOT_FOUND = 404;\nexport const HOURS_IN_DAY = 24;\nexport const HOURS_IN_HALF_DAY = 12;\nexport const IMAGE_DEFAULT_DEVICE_SIZES = [\n\t640, 750, 828, 1080, 1200, 1920, 2048, 3840\n];\nexport const IMAGE_DEFAULT_IMAGE_SIZES = [16, 32, 48, 64, 96, 128, 256, 384];\nexport const IMAGE_DEFAULT_QUALITY = 75;\nexport const IMAGE_GLOB_SUFFIX_LENGTH = 2;\nexport const INSTANCE_PROBE_TIMEOUT_MS = 250;\nexport const MAX_ERROR_LENGTH = 200;\nexport const MAX_RECONNECT_ATTEMPTS = 60;\nexport const MILLISECONDS_IN_A_SECOND = 1000;\nexport const MINUTES_IN_AN_HOUR = 60;\nexport const SECONDS_IN_A_MINUTE = 60;\nexport const MILLISECONDS_IN_A_MINUTE =\n\tMILLISECONDS_IN_A_SECOND * SECONDS_IN_A_MINUTE;\nexport const MILLISECONDS_IN_A_DAY =\n\tMILLISECONDS_IN_A_SECOND *\n\tSECONDS_IN_A_MINUTE *\n\tMINUTES_IN_AN_HOUR *\n\tHOURS_IN_DAY;\nexport const OVERLAY_FADE_DURATION_MS = 150;\nexport const PING_INTERVAL_MS = 30_000;\nexport const LIST_LOG_TAIL_MAX_BYTES = 65_536;\nexport const LIST_TUI_COLUMN_GAP = 2;\nexport const LIST_TUI_DEFAULT_HEIGHT = 28;\nexport const LIST_TUI_DEFAULT_WIDTH = 100;\nexport const LIST_TUI_ESCAPE_SEQUENCE_TIMEOUT_MS = 30;\nexport const LIST_TUI_FOOTER_LINE_COUNT = 2;\nexport const LIST_TUI_MARKER_WIDTH = 2;\nexport const LIST_TUI_MIN_LOG_HEIGHT = 3;\nexport const LIST_TUI_MIN_URL_WIDTH = 16;\nexport const LIST_TUI_RENDER_DEBOUNCE_MS = 16;\nexport const LIST_TUI_STATUS_MESSAGE_TIMEOUT_MS = 4000;\nexport const LIST_WATCH_REFRESH_MS = 1000;\nexport const RAF_BATCH_COUNT = 3;\nexport const RANDOM_ID_END_INDEX = 11;\nexport const REBUILD_BATCH_DELAY_MS = 10;\nexport const REBUILD_RELOAD_DELAY_MS = 200;\nexport const RECONNECT_INITIAL_DELAY_MS = 500;\nexport const RECONNECT_POLL_INTERVAL_MS = 300;\nexport const REACT_STREAM_SLOT_FAST_DELAY_MS = 5;\nexport const REACT_STREAM_SLOT_SLOW_DELAY_MS = 20;\nexport const SIGINT_EXIT_CODE = 130;\nexport const SIGTERM_EXIT_CODE = 143;\nexport const SVELTE_CSS_LOAD_TIMEOUT_MS = 500;\nexport const TIME_PRECISION = 2;\nexport const TWO_THIRDS = 2 / 3;\nexport const UNFOUND_INDEX = -1;\nexport const WEBSOCKET_NORMAL_CLOSURE = 1000;\nexport const WORKSPACE_COMMAND_ARGS_OFFSET = 3;\nexport const WORKSPACE_FAILURE_LOG_PRINT_LIMIT = 30;\nexport const WORKSPACE_FAILURE_RECENT_LOG_LIMIT = 60;\nexport const WORKSPACE_READY_ATTEMPT_TIMEOUT_MS = 5_000;\nexport const WORKSPACE_READY_PROBE_INTERVAL_MS = 250;\nexport const WORKSPACE_READY_TIMEOUT_MS = 30_000;\nexport const WORKSPACE_SHUTDOWN_TIMEOUT_MS = 10_000;\nexport const WORKSPACE_TUI_DEFAULT_HEIGHT = 28;\nexport const WORKSPACE_TUI_DEFAULT_WIDTH = 100;\nexport const WORKSPACE_TUI_ESCAPE_SEQUENCE_TIMEOUT_MS = 30;\nexport const WORKSPACE_TUI_FOOTER_LINE_COUNT = 3;\nexport const WORKSPACE_TUI_MIN_LOG_HEIGHT = 3;\nexport const WORKSPACE_TUI_MIN_SERVICE_NAME_WIDTH = 7;\nexport const WORKSPACE_TUI_MIN_TARGET_WIDTH = 8;\nexport const WORKSPACE_TUI_MIN_WRAP_WIDTH = 12;\nexport const WORKSPACE_TUI_PROMPT_CURSOR_OFFSET = 3;\nexport const WORKSPACE_TUI_RECENT_LOG_LIMIT = 40;\nexport const WORKSPACE_TUI_RENDER_DEBOUNCE_MS = 16;\nexport const WORKSPACE_TUI_STATUS_WIDTH = 10;\nexport const WORKSPACE_TUI_TARGET_PADDING_WIDTH = 6;\nexport const WORKSPACE_TUI_VISIBILITY_WIDTH = 8;\n",
6
- "import type { StreamingSlot } from '../utils/streamingSlots';\n\ntype StreamingSlotRegistrar = (slot: StreamingSlot) => void;\ntype StreamingSlotWarningController = {\n\tmaybeWarn(primitiveName: string): void;\n};\ntype StreamingSlotCollectionController = {\n\tisCollecting(): boolean;\n};\n\nconst STREAMING_SLOT_REGISTRAR_KEY = Symbol.for(\n\t'absolutejs.streamingSlotRegistrar'\n);\nconst STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for(\n\t'absolutejs.streamingSlotWarningController'\n);\nconst STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for(\n\t'absolutejs.streamingSlotCollectionController'\n);\n\nconst getRegisteredStreamingSlotRegistrar = () => {\n\tconst value = Reflect.get(globalThis, STREAMING_SLOT_REGISTRAR_KEY);\n\tif (typeof value === 'function' || value === null) {\n\t\treturn value;\n\t}\n\n\treturn undefined;\n};\n\nconst isObjectRecord = (value: unknown): value is Record<string, unknown> =>\n\tBoolean(value) && typeof value === 'object';\n\nconst isStreamingSlotWarningController = (\n\tvalue: unknown\n): value is StreamingSlotWarningController =>\n\tisObjectRecord(value) &&\n\t'maybeWarn' in value &&\n\ttypeof value.maybeWarn === 'function';\n\nconst isStreamingSlotCollectionController = (\n\tvalue: unknown\n): value is StreamingSlotCollectionController =>\n\tisObjectRecord(value) &&\n\t'isCollecting' in value &&\n\ttypeof value.isCollecting === 'function';\n\nconst getWarningController = () => {\n\tconst value = Reflect.get(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY);\n\tif (value === null || typeof value === 'undefined') return undefined;\n\n\treturn isStreamingSlotWarningController(value) ? value : undefined;\n};\n\nconst getCollectionController = () => {\n\tconst value = Reflect.get(\n\t\tglobalThis,\n\t\tSTREAMING_SLOT_COLLECTION_STORAGE_KEY\n\t);\n\tif (value === null || typeof value === 'undefined') return undefined;\n\n\treturn isStreamingSlotCollectionController(value) ? value : undefined;\n};\n\nexport const hasRegisteredStreamingSlotRegistrar = () =>\n\ttypeof getRegisteredStreamingSlotRegistrar() === 'function';\nexport const isStreamingSlotCollectionActive = () =>\n\tgetCollectionController()?.isCollecting() === true;\nexport const registerStreamingSlot = (slot: StreamingSlot) => {\n\tgetRegisteredStreamingSlotRegistrar()?.(slot);\n};\nexport const setStreamingSlotCollectionController = (\n\tcontroller: StreamingSlotCollectionController | null\n) => {\n\tReflect.set(globalThis, STREAMING_SLOT_COLLECTION_STORAGE_KEY, controller);\n};\nexport const setStreamingSlotRegistrar = (\n\tnextRegistrar: StreamingSlotRegistrar | null\n) => {\n\tReflect.set(globalThis, STREAMING_SLOT_REGISTRAR_KEY, nextRegistrar);\n};\nexport const setStreamingSlotWarningController = (\n\tcontroller: StreamingSlotWarningController | null\n) => {\n\tReflect.set(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY, controller);\n};\nexport const warnMissingStreamingSlotCollector = (primitiveName: string) => {\n\tif (\n\t\tprocess.env.NODE_ENV === 'production' ||\n\t\tisStreamingSlotCollectionActive()\n\t) {\n\t\treturn;\n\t}\n\n\tgetWarningController()?.maybeWarn(primitiveName);\n};\n",
7
- "import type { JsonLdSchema, WithContext } from '../../types/jsonLd';\n\nexport const jsonLd = (schema: JsonLdSchema | JsonLdSchema[]) =>\n\t`<script type=\"application/ld+json\">${serializeJsonLd(schema)}</script>`;\nexport const serializeJsonLd = (schema: JsonLdSchema | JsonLdSchema[]) => {\n\tconst schemaOrgContext = 'https://schema.org';\n\tconst data: WithContext<JsonLdSchema> | WithContext<JsonLdSchema>[] =\n\t\tArray.isArray(schema)\n\t\t\t? schema.map((s) => ({\n\t\t\t\t\t'@context': schemaOrgContext,\n\t\t\t\t\t...s\n\t\t\t\t}))\n\t\t\t: { '@context': schemaOrgContext, ...schema };\n\n\treturn JSON.stringify(data);\n};\n",
8
- "import type {\n\tMetadata,\n\tMetaTag,\n\tOpenGraph,\n\tTwitterCard,\n\tRobotsDirective\n} from '../../../types/metadata';\nimport { serializeJsonLd } from '../../utils/jsonLd';\n\nconst RobotsContent = ({ robots }: { robots: RobotsDirective }) => {\n\tconst directives: string[] = [];\n\tif (robots.index === false) directives.push('noindex');\n\tif (robots.index === true) directives.push('index');\n\tif (robots.follow === false) directives.push('nofollow');\n\tif (robots.follow === true) directives.push('follow');\n\tif (robots.noarchive) directives.push('noarchive');\n\tif (robots.nosnippet) directives.push('nosnippet');\n\tif (robots.noimageindex) directives.push('noimageindex');\n\tif (robots.maxSnippet !== undefined)\n\t\tdirectives.push(`max-snippet:${robots.maxSnippet}`);\n\tif (robots.maxImagePreview)\n\t\tdirectives.push(`max-image-preview:${robots.maxImagePreview}`);\n\tif (robots.maxVideoPreview !== undefined)\n\t\tdirectives.push(`max-video-preview:${robots.maxVideoPreview}`);\n\n\tconst content = directives.join(', ');\n\n\treturn content ? <meta content={content} name=\"robots\" /> : null;\n};\n\nconst OpenGraphTags = ({\n\topenGraph,\n\ttitle,\n\tdescription\n}: {\n\topenGraph: OpenGraph;\n\ttitle: string;\n\tdescription: string;\n}) => (\n\t<>\n\t\t<meta content={openGraph.title ?? title} property=\"og:title\" />\n\t\t<meta\n\t\t\tcontent={openGraph.description ?? description}\n\t\t\tproperty=\"og:description\"\n\t\t/>\n\t\t{openGraph.url && <meta content={openGraph.url} property=\"og:url\" />}\n\t\t{openGraph.image && (\n\t\t\t<meta content={openGraph.image} property=\"og:image\" />\n\t\t)}\n\t\t{openGraph.imageAlt && (\n\t\t\t<meta content={openGraph.imageAlt} property=\"og:image:alt\" />\n\t\t)}\n\t\t{openGraph.imageWidth && (\n\t\t\t<meta\n\t\t\t\tcontent={String(openGraph.imageWidth)}\n\t\t\t\tproperty=\"og:image:width\"\n\t\t\t/>\n\t\t)}\n\t\t{openGraph.imageHeight && (\n\t\t\t<meta\n\t\t\t\tcontent={String(openGraph.imageHeight)}\n\t\t\t\tproperty=\"og:image:height\"\n\t\t\t/>\n\t\t)}\n\t\t{openGraph.type && <meta content={openGraph.type} property=\"og:type\" />}\n\t\t{openGraph.siteName && (\n\t\t\t<meta content={openGraph.siteName} property=\"og:site_name\" />\n\t\t)}\n\t\t{openGraph.locale && (\n\t\t\t<meta content={openGraph.locale} property=\"og:locale\" />\n\t\t)}\n\t</>\n);\n\nconst TwitterTags = ({\n\ttwitter,\n\ttitle,\n\tdescription\n}: {\n\ttwitter: TwitterCard;\n\ttitle: string;\n\tdescription: string;\n}) => (\n\t<>\n\t\t{twitter.card && <meta content={twitter.card} name=\"twitter:card\" />}\n\t\t<meta content={twitter.title ?? title} name=\"twitter:title\" />\n\t\t<meta\n\t\t\tcontent={twitter.description ?? description}\n\t\t\tname=\"twitter:description\"\n\t\t/>\n\t\t{twitter.image && <meta content={twitter.image} name=\"twitter:image\" />}\n\t\t{twitter.imageAlt && (\n\t\t\t<meta content={twitter.imageAlt} name=\"twitter:image:alt\" />\n\t\t)}\n\t\t{twitter.site && <meta content={twitter.site} name=\"twitter:site\" />}\n\t\t{twitter.creator && (\n\t\t\t<meta content={twitter.creator} name=\"twitter:creator\" />\n\t\t)}\n\t</>\n);\n\nconst CustomMetaTag = ({ tag }: { tag: MetaTag }) => {\n\tif (tag.property)\n\t\treturn <meta content={tag.content} property={tag.property} />;\n\n\tif (tag.httpEquiv)\n\t\treturn <meta content={tag.content} httpEquiv={tag.httpEquiv} />;\n\n\treturn <meta content={tag.content} name={tag.name} />;\n};\n\nexport const Head = ({\n\ttitle = 'AbsoluteJS',\n\tdescription = 'A page created using AbsoluteJS',\n\ticon = '/assets/ico/favicon.ico',\n\tfont,\n\tcssPath,\n\tcanonical,\n\topenGraph,\n\ttwitter,\n\trobots,\n\tmeta,\n\tjsonLd\n}: Metadata = {}) => (\n\t<head suppressHydrationWarning>\n\t\t<meta charSet=\"utf-8\" />\n\t\t<title>{title}</title>\n\t\t<meta content={description} name=\"description\" />\n\t\t<meta content=\"width=device-width, initial-scale=1\" name=\"viewport\" />\n\t\t<link href={icon} rel=\"icon\" />\n\t\t{canonical && <link href={canonical} rel=\"canonical\" />}\n\t\t{openGraph && (\n\t\t\t<OpenGraphTags\n\t\t\t\tdescription={description}\n\t\t\t\topenGraph={openGraph}\n\t\t\t\ttitle={title}\n\t\t\t/>\n\t\t)}\n\t\t{twitter && (\n\t\t\t<TwitterTags\n\t\t\t\tdescription={description}\n\t\t\t\ttitle={title}\n\t\t\t\ttwitter={twitter}\n\t\t\t/>\n\t\t)}\n\t\t{robots && <RobotsContent robots={robots} />}\n\t\t{meta?.map((tag, i) => <CustomMetaTag key={i} tag={tag} />)}\n\t\t{font && (\n\t\t\t<>\n\t\t\t\t<link href=\"https://fonts.googleapis.com\" rel=\"preconnect\" />\n\t\t\t\t<link\n\t\t\t\t\tcrossOrigin=\"anonymous\"\n\t\t\t\t\thref=\"https://fonts.gstatic.com\"\n\t\t\t\t\trel=\"preconnect\"\n\t\t\t\t\tsuppressHydrationWarning\n\t\t\t\t/>\n\t\t\t\t<link\n\t\t\t\t\thref={`https://fonts.googleapis.com/css2?family=${font}:wght@100..900&display=swap`}\n\t\t\t\t\trel=\"stylesheet\"\n\t\t\t\t\tsuppressHydrationWarning\n\t\t\t\t/>\n\t\t\t</>\n\t\t)}\n\t\t{cssPath &&\n\t\t\t[cssPath]\n\t\t\t\t.flat()\n\t\t\t\t.map((path) => (\n\t\t\t\t\t<link\n\t\t\t\t\t\thref={path}\n\t\t\t\t\t\tkey={path}\n\t\t\t\t\t\trel=\"stylesheet\"\n\t\t\t\t\t\tsuppressHydrationWarning\n\t\t\t\t\t\ttype=\"text/css\"\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t{jsonLd && (\n\t\t\t<script\n\t\t\t\tdangerouslySetInnerHTML={{ __html: serializeJsonLd(jsonLd) }}\n\t\t\t\ttype=\"application/ld+json\"\n\t\t\t/>\n\t\t)}\n\t</head>\n);\n",
9
- "/**\n * Client-safe image utilities — no node:fs, no Sharp, no Bun APIs.\n * These can be imported in both server and client (browser) contexts.\n */\n\nimport {\n\tIMAGE_DEFAULT_DEVICE_SIZES,\n\tIMAGE_DEFAULT_IMAGE_SIZES,\n\tIMAGE_DEFAULT_QUALITY\n} from '../constants';\n\nexport type { ImageProps } from '../../types/image';\n\nexport const DEFAULT_DEVICE_SIZES = IMAGE_DEFAULT_DEVICE_SIZES;\nexport const DEFAULT_IMAGE_SIZES = IMAGE_DEFAULT_IMAGE_SIZES;\nexport const DEFAULT_QUALITY = IMAGE_DEFAULT_QUALITY;\n\nexport const OPTIMIZATION_ENDPOINT = '/_absolute/image';\n\nexport const buildOptimizedUrl = (\n\tsrc: string,\n\twidth: number,\n\tquality: number,\n\tbasePath = OPTIMIZATION_ENDPOINT\n) => `${basePath}?url=${encodeURIComponent(src)}&w=${width}&q=${quality}`;\n\nexport const getAllSizes = (deviceSizes?: number[], imageSizes?: number[]) => {\n\tconst device = deviceSizes ?? DEFAULT_DEVICE_SIZES;\n\n\tconst image = imageSizes ?? DEFAULT_IMAGE_SIZES;\n\n\treturn [...device, ...image].sort((left, right) => left - right);\n};\n\n/** Snap a target width UP to the nearest configured size */\nconst snapToSize = (target: number, sizes: number[]) => {\n\tfor (const size of sizes) {\n\t\tif (size >= target) return size;\n\t}\n\n\treturn sizes[sizes.length - 1] ?? target;\n};\n\nexport const generateBlurSvg = (base64Thumbnail: string) => {\n\tconst svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 320\"><filter id=\"b\" color-interpolation-filters=\"sRGB\"><feGaussianBlur stdDeviation=\"20\"/><feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1\"/></filter><image filter=\"url(#b)\" x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" href=\"${base64Thumbnail}\"/></svg>`;\n\n\tconst encoded = encodeURIComponent(svg);\n\n\treturn `url(\"data:image/svg+xml,${encoded}\")`;\n};\nexport const generateSrcSet = (\n\tsrc: string,\n\twidth: number | undefined,\n\tsizes: string | undefined,\n\tdeviceSizes?: number[],\n\timageSizes?: number[]\n) => {\n\tconst quality = DEFAULT_QUALITY;\n\n\tif (sizes) {\n\t\tconst allSizes = getAllSizes(deviceSizes, imageSizes);\n\n\t\treturn allSizes\n\t\t\t.map(\n\t\t\t\t(sizeWidth) =>\n\t\t\t\t\t`${buildOptimizedUrl(src, sizeWidth, quality)} ${sizeWidth}w`\n\t\t\t)\n\t\t\t.join(', ');\n\t}\n\n\tif (width) {\n\t\tconst allSizes = getAllSizes(deviceSizes, imageSizes);\n\n\t\tconst w1x = snapToSize(width, allSizes);\n\n\t\tconst w2x = snapToSize(width * 2, allSizes);\n\n\t\treturn `${buildOptimizedUrl(src, w1x, quality)} 1x, ${buildOptimizedUrl(src, w2x, quality)} 2x`;\n\t}\n\n\tconst devSizes = deviceSizes ?? DEFAULT_DEVICE_SIZES;\n\n\treturn devSizes\n\t\t.map(\n\t\t\t(sizeWidth) =>\n\t\t\t\t`${buildOptimizedUrl(src, sizeWidth, quality)} ${sizeWidth}w`\n\t\t)\n\t\t.join(', ');\n};\n",
10
- "import type { ImageProps } from '../../../types/image';\nimport {\n\tDEFAULT_QUALITY,\n\tbuildOptimizedUrl,\n\tgenerateBlurSvg,\n\tgenerateSrcSet\n} from '../../utils/imageClient';\n\nconst resolveSource = (\n\tsrc: string,\n\toverrideSrc: ImageProps['overrideSrc'],\n\tunoptimized: ImageProps['unoptimized'],\n\tloader: ImageProps['loader'],\n\twidth: ImageProps['width'],\n\tquality: number\n) => {\n\tif (overrideSrc) return overrideSrc;\n\tif (unoptimized) return src;\n\tif (loader) return loader({ quality, src, width: width ?? 0 });\n\tif (!width) return buildOptimizedUrl(src, 0, quality);\n\n\treturn buildOptimizedUrl(src, width, quality);\n};\n\nconst resolveBlurBackground = (\n\thasBlur: boolean,\n\tplaceholder: ImageProps['placeholder'],\n\tblurDataURL: ImageProps['blurDataURL']\n) => {\n\tif (!hasBlur) return undefined;\n\n\tif (\n\t\ttypeof placeholder === 'string' &&\n\t\tplaceholder !== 'blur' &&\n\t\tplaceholder.startsWith('data:')\n\t) {\n\t\treturn generateBlurSvg(placeholder);\n\t}\n\n\tif (blurDataURL) return generateBlurSvg(blurDataURL);\n\n\treturn undefined;\n};\n\nexport const Image = ({\n\talt,\n\tblurDataURL,\n\tclassName,\n\tcrossOrigin,\n\tfetchPriority,\n\tfill,\n\theight,\n\tloader,\n\tloading,\n\tonError,\n\tonLoad,\n\toverrideSrc,\n\tplaceholder,\n\tpriority,\n\tquality = DEFAULT_QUALITY,\n\treferrerPolicy,\n\tsizes,\n\tsrc,\n\tstyle,\n\tunoptimized,\n\twidth\n}: ImageProps) => {\n\t// ── Resolve src ─────────────────────────────────────────────\n\tconst resolvedSrc = resolveSource(\n\t\tsrc,\n\t\toverrideSrc,\n\t\tunoptimized,\n\t\tloader,\n\t\twidth,\n\t\tquality\n\t);\n\n\t// ── srcSet ──────────────────────────────────────────────────\n\tconst srcSet = unoptimized ? undefined : generateSrcSet(src, width, sizes);\n\n\t// ── Sizes ───────────────────────────────────────────────────\n\tconst resolvedSizes = sizes ?? (fill ? '100vw' : undefined);\n\n\t// ── Loading behavior ────────────────────────────────────────\n\tconst resolvedLoading = priority ? 'eager' : (loading ?? 'lazy');\n\tconst resolvedFetchPriority = priority ? 'high' : fetchPriority;\n\n\t// ── Blur placeholder ────────────────────────────────────────\n\tconst hasBlur =\n\t\tplaceholder === 'blur' ||\n\t\t(typeof placeholder === 'string' &&\n\t\t\tplaceholder !== 'empty' &&\n\t\t\tplaceholder.startsWith('data:'));\n\n\tconst blurBackground = resolveBlurBackground(\n\t\thasBlur,\n\t\tplaceholder,\n\t\tblurDataURL\n\t);\n\n\t// ── Styles ──────────────────────────────────────────────────\n\tconst imgStyle: Record<string, string | number> = {\n\t\t...(style ?? {}),\n\t\t...(blurBackground\n\t\t\t? {\n\t\t\t\t\tbackgroundImage: blurBackground,\n\t\t\t\t\tbackgroundPosition: 'center',\n\t\t\t\t\tbackgroundRepeat: 'no-repeat',\n\t\t\t\t\tbackgroundSize: 'cover'\n\t\t\t\t}\n\t\t\t: {}),\n\t\t...(fill\n\t\t\t? {\n\t\t\t\t\tcolor: 'transparent',\n\t\t\t\t\theight: '100%',\n\t\t\t\t\tinset: 0,\n\t\t\t\t\tobjectFit: 'cover',\n\t\t\t\t\tposition: 'absolute',\n\t\t\t\t\twidth: '100%'\n\t\t\t\t}\n\t\t\t: { color: 'transparent' })\n\t};\n\n\tconst fillWrapperStyle: Record<string, string | number> = {\n\t\tdisplay: 'block',\n\t\theight: '100%',\n\t\toverflow: 'hidden',\n\t\tposition: 'relative',\n\t\twidth: '100%'\n\t};\n\n\t// ── Preload link for priority images ────────────────────────\n\tconst preloadLink = priority ? (\n\t\t<link\n\t\t\tas=\"image\"\n\t\t\tcrossOrigin={crossOrigin}\n\t\t\thref={resolvedSrc}\n\t\t\timageSizes={resolvedSizes}\n\t\t\timageSrcSet={srcSet}\n\t\t\trel=\"preload\"\n\t\t/>\n\t) : null;\n\n\t// ── Fill mode wrapper ───────────────────────────────────────\n\tconst imgElement = (\n\t\t<img\n\t\t\talt={alt}\n\t\t\tclassName={className}\n\t\t\tcrossOrigin={crossOrigin}\n\t\t\tdecoding=\"async\"\n\t\t\tfetchPriority={resolvedFetchPriority}\n\t\t\theight={fill ? undefined : height}\n\t\t\tloading={resolvedLoading}\n\t\t\tonError={\n\t\t\t\tonError ? (event) => onError(event.nativeEvent) : undefined\n\t\t\t}\n\t\t\tonLoad={(event) => {\n\t\t\t\tconst { target } = event;\n\n\t\t\t\tif (blurBackground && target instanceof HTMLImageElement) {\n\t\t\t\t\ttarget.style.backgroundImage = 'none';\n\t\t\t\t}\n\n\t\t\t\tif (onLoad) onLoad(event.nativeEvent);\n\t\t\t}}\n\t\t\treferrerPolicy={referrerPolicy}\n\t\t\tsizes={resolvedSizes}\n\t\t\tsrc={resolvedSrc}\n\t\t\tsrcSet={srcSet}\n\t\t\tstyle={imgStyle}\n\t\t\twidth={fill ? undefined : width}\n\t\t/>\n\t);\n\n\tif (fill) {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t{preloadLink}\n\t\t\t\t<span style={fillWrapperStyle}>{imgElement}</span>\n\t\t\t</>\n\t\t);\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{preloadLink}\n\t\t\t{imgElement}\n\t\t</>\n\t);\n};\n",
11
- "import type { JsonLdSchema, WithContext } from '../../../types/jsonLd';\n\nexport const JsonLd = ({\n\tschema\n}: {\n\tschema: JsonLdSchema | JsonLdSchema[];\n}) => {\n\tconst schemaOrgContext = 'https://schema.org';\n\tconst data: WithContext<JsonLdSchema> | WithContext<JsonLdSchema>[] =\n\t\tArray.isArray(schema)\n\t\t\t? schema.map((s) => ({\n\t\t\t\t\t'@context': schemaOrgContext,\n\t\t\t\t\t...s\n\t\t\t\t}))\n\t\t\t: { '@context': schemaOrgContext, ...schema };\n\n\treturn (\n\t\t<script\n\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(data) }}\n\t\t\ttype=\"application/ld+json\"\n\t\t/>\n\t);\n};\n",
12
- "import type { ReactNode } from 'react';\nimport {\n\tisStreamingSlotCollectionActive,\n\tregisterStreamingSlot,\n\twarnMissingStreamingSlotCollector\n} from '../../core/streamingSlotRegistrar';\n\ntype LegacySuspenseSlotProps = {\n\tclassName?: string;\n\terrorHtml?: string;\n\tfallbackHtml?: string;\n\tid: string;\n\tresolve: () => Promise<string> | string;\n\ttimeoutMs?: number;\n};\n\ntype FrameworkSuspenseRenderProps<T = unknown> = {\n\tchildren: (value: Awaited<T>) => ReactNode;\n\tclassName?: string;\n\terrorFallback?: ReactNode | ((error: unknown) => ReactNode);\n\tid: string;\n\tfallback?: ReactNode;\n\ttimeoutMs?: number;\n} & (\n\t| {\n\t\t\tpromise: Promise<T>;\n\t\t\tresolve?: undefined;\n\t }\n\t| {\n\t\t\tpromise?: undefined;\n\t\t\tresolve: () => Promise<T> | T;\n\t }\n);\n\ntype FrameworkSuspenseNodeProps = {\n\tchildren?: ReactNode;\n\tclassName?: string;\n\terrorFallback?: ReactNode | ((error: unknown) => ReactNode);\n\tid: string;\n\tpromise?: Promise<ReactNode>;\n\tresolve?: () => Promise<ReactNode> | ReactNode;\n\tfallback?: ReactNode;\n\ttimeoutMs?: number;\n};\n\ntype FrameworkSuspenseSlotProps<T = unknown> =\n\t| FrameworkSuspenseRenderProps<T>\n\t| FrameworkSuspenseNodeProps;\n\ntype SuspenseSlotProps<T = unknown> =\n\t| LegacySuspenseSlotProps\n\t| FrameworkSuspenseSlotProps<T>;\n\nconst isLegacyProps = <T,>(\n\tprops: SuspenseSlotProps<T>\n): props is LegacySuspenseSlotProps =>\n\t'fallbackHtml' in props || 'errorHtml' in props;\n\nconst renderReactNodeToHtml = async (node: ReactNode) => {\n\tconst { Fragment } = await import('react');\n\tconst { renderToStaticMarkup } = await import('react-dom/server');\n\n\treturn renderToStaticMarkup(<Fragment>{node}</Fragment>);\n};\n\nconst hasRenderChildren = <T,>(\n\tprops: FrameworkSuspenseSlotProps<T>\n): props is FrameworkSuspenseRenderProps<T> =>\n\ttypeof props.children === 'function';\n\nasync function resolveRenderSuspenseValue<T>(\n\tprops: FrameworkSuspenseRenderProps<T>\n): Promise<Awaited<T>>;\nasync function resolveRenderSuspenseValue<T>(\n\tprops: FrameworkSuspenseRenderProps<T>\n) {\n\tif ('resolve' in props && props.resolve !== undefined) {\n\t\treturn props.resolve();\n\t}\n\n\tif ('promise' in props && props.promise !== undefined) {\n\t\treturn props.promise;\n\t}\n\n\treturn undefined;\n}\n\nasync function resolveNodeSuspenseValue(\n\tprops: FrameworkSuspenseNodeProps\n): Promise<ReactNode | undefined>;\nasync function resolveNodeSuspenseValue(props: FrameworkSuspenseNodeProps) {\n\tif (props.resolve !== undefined) {\n\t\treturn props.resolve();\n\t}\n\n\tif (props.promise !== undefined) {\n\t\treturn props.promise;\n\t}\n\n\treturn undefined;\n}\n\nconst renderErrorFallback = async <T,>(\n\tprops: FrameworkSuspenseSlotProps<T>,\n\terror: unknown\n) => {\n\tif (typeof props.errorFallback === 'function') {\n\t\treturn renderReactNodeToHtml(props.errorFallback(error));\n\t}\n\n\tif (props.errorFallback !== undefined) {\n\t\treturn renderReactNodeToHtml(props.errorFallback);\n\t}\n\n\tthrow error;\n};\n\nconst registerLegacySuspenseSlot = (props: LegacySuspenseSlotProps) => {\n\tregisterStreamingSlot({\n\t\terrorHtml: props.errorHtml,\n\t\tfallbackHtml: props.fallbackHtml,\n\t\tid: props.id,\n\t\tresolve: props.resolve,\n\t\ttimeoutMs: props.timeoutMs\n\t});\n};\n\nconst registerFrameworkSuspenseSlot = <T,>(\n\tprops: FrameworkSuspenseSlotProps<T>\n) => {\n\tregisterStreamingSlot({\n\t\tid: props.id,\n\t\ttimeoutMs: props.timeoutMs,\n\t\tresolve: async () => {\n\t\t\ttry {\n\t\t\t\tconst content = hasRenderChildren(props)\n\t\t\t\t\t? props.children(await resolveRenderSuspenseValue(props))\n\t\t\t\t\t: (props.children ??\n\t\t\t\t\t\t(await resolveNodeSuspenseValue(props)) ??\n\t\t\t\t\t\tnull);\n\n\t\t\t\treturn renderReactNodeToHtml(content);\n\t\t\t} catch (error) {\n\t\t\t\treturn renderErrorFallback(props, error);\n\t\t\t}\n\t\t}\n\t});\n};\n\nconst renderLegacySuspenseSlot = (props: LegacySuspenseSlotProps) => (\n\t<div\n\t\tclassName={props.className}\n\t\tdangerouslySetInnerHTML={{ __html: props.fallbackHtml ?? '' }}\n\t\tdata-absolute-slot=\"true\"\n\t\tid={props.id}\n\t\tsuppressHydrationWarning\n\t/>\n);\n\nconst renderFrameworkSuspenseSlot = (\n\tprops: Pick<FrameworkSuspenseNodeProps, 'className' | 'fallback' | 'id'>\n) => (\n\t<div\n\t\tclassName={props.className}\n\t\tdata-absolute-slot=\"true\"\n\t\tid={props.id}\n\t\tsuppressHydrationWarning\n\t>\n\t\t{props.fallback ?? null}\n\t</div>\n);\n\nconst renderServerSuspenseSlot = <T,>(props: SuspenseSlotProps<T>) => {\n\tif (isLegacyProps(props)) {\n\t\tregisterLegacySuspenseSlot(props);\n\n\t\treturn renderLegacySuspenseSlot(props);\n\t}\n\n\tregisterFrameworkSuspenseSlot(props);\n\n\treturn renderFrameworkSuspenseSlot(props);\n};\n\nexport const SuspenseSlot = <T,>(props: SuspenseSlotProps<T>) => {\n\tif (isStreamingSlotCollectionActive()) {\n\t\treturn renderServerSuspenseSlot(props);\n\t}\n\twarnMissingStreamingSlotCollector('SuspenseSlot');\n\n\tif (isLegacyProps(props)) return renderLegacySuspenseSlot(props);\n\n\treturn renderFrameworkSuspenseSlot(props);\n};\n",
13
- "import {\n\tisStreamingSlotCollectionActive,\n\tregisterStreamingSlot,\n\twarnMissingStreamingSlotCollector\n} from '../../core/streamingSlotRegistrar';\n\ntype StreamSlotProps = {\n\tclassName?: string;\n\terrorHtml?: string;\n\tfallbackHtml?: string;\n\tid: string;\n\tresolve: () => Promise<string> | string;\n\ttimeoutMs?: number;\n};\n\nexport const StreamSlot = ({\n\tclassName,\n\terrorHtml,\n\tfallbackHtml = '',\n\tid,\n\tresolve,\n\ttimeoutMs\n}: StreamSlotProps) => {\n\tif (isStreamingSlotCollectionActive()) {\n\t\tregisterStreamingSlot({\n\t\t\terrorHtml,\n\t\t\tfallbackHtml,\n\t\t\tid,\n\t\t\tresolve,\n\t\t\ttimeoutMs\n\t\t});\n\t} else {\n\t\twarnMissingStreamingSlotCollector('StreamSlot');\n\t}\n\n\treturn (\n\t\t<div\n\t\t\tclassName={className}\n\t\t\tdangerouslySetInnerHTML={{ __html: fallbackHtml }}\n\t\t\tdata-absolute-slot=\"true\"\n\t\t\tid={id}\n\t\t\tsuppressHydrationWarning\n\t\t/>\n\t);\n};\n"
14
- ],
15
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAa,0BAA0B,KAC1B,mBAAmB,IACnB,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,2BAA2B,KAAK;AAAA,IAEhC,OAAO,yBAAyB,KAAK;AAAA,EACtC;AAAA,EAEA,8BAA8B,KAAK;AAAA,EAEnC,OAAO,4BAA4B,KAAK;AAAA;AAGlC,IAAM,eAAe,CAAK,UAAgC;AAAA,EAChE,IAAI,gCAAgC,GAAG;AAAA,IACtC,OAAO,yBAAyB,KAAK;AAAA,EACtC;AAAA,EACA,kCAAkC,cAAc;AAAA,EAEhD,IAAI,cAAc,KAAK;AAAA,IAAG,OAAO,yBAAyB,KAAK;AAAA,EAE/D,OAAO,4BAA4B,KAAK;AAAA;;;ACjLlC,IAAM,aAAa;AAAA,EACzB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,MACsB;AAAA,EACtB,IAAI,gCAAgC,GAAG;AAAA,IACtC,sBAAsB;AAAA,MACrB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACD,CAAC;AAAA,EACF,EAAO;AAAA,IACN,kCAAkC,YAAY;AAAA;AAAA,EAG/C,uBACC,QAAC,OAAD;AAAA,IACC;AAAA,IACA,yBAAyB,EAAE,QAAQ,aAAa;AAAA,IAChD,sBAAmB;AAAA,IACnB;AAAA,IACA,0BAAwB;AAAA,KALzB,iCAMA;AAAA;",
16
- "debugId": "C2D2CA177A735C5C64756E2164756E21",
17
- "names": []
18
- }
@@ -1,285 +0,0 @@
1
- // @bun
2
- var __create = Object.create;
3
- var __getProtoOf = Object.getPrototypeOf;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- function __accessProp(key) {
9
- return this[key];
10
- }
11
- var __toESMCache_node;
12
- var __toESMCache_esm;
13
- var __toESM = (mod, isNodeMode, target) => {
14
- var canCache = mod != null && typeof mod === "object";
15
- if (canCache) {
16
- var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
17
- var cached = cache.get(mod);
18
- if (cached)
19
- return cached;
20
- }
21
- target = mod != null ? __create(__getProtoOf(mod)) : {};
22
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
23
- for (let key of __getOwnPropNames(mod))
24
- if (!__hasOwnProp.call(to, key))
25
- __defProp(to, key, {
26
- get: __accessProp.bind(mod, key),
27
- enumerable: true
28
- });
29
- if (canCache)
30
- cache.set(mod, to);
31
- return to;
32
- };
33
- var __toCommonJS = (from) => {
34
- var entry = (__moduleCache ??= new WeakMap).get(from), desc;
35
- if (entry)
36
- return entry;
37
- entry = __defProp({}, "__esModule", { value: true });
38
- if (from && typeof from === "object" || typeof from === "function") {
39
- for (var key of __getOwnPropNames(from))
40
- if (!__hasOwnProp.call(entry, key))
41
- __defProp(entry, key, {
42
- get: __accessProp.bind(from, key),
43
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
44
- });
45
- }
46
- __moduleCache.set(from, entry);
47
- return entry;
48
- };
49
- var __moduleCache;
50
- var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
51
- var __returnValue = (v) => v;
52
- function __exportSetter(name, newValue) {
53
- this[name] = __returnValue.bind(null, newValue);
54
- }
55
- var __export = (target, all) => {
56
- for (var name in all)
57
- __defProp(target, name, {
58
- get: all[name],
59
- enumerable: true,
60
- configurable: true,
61
- set: __exportSetter.bind(all, name)
62
- });
63
- };
64
- var __legacyDecorateClassTS = function(decorators, target, key, desc) {
65
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
66
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
67
- r = Reflect.decorate(decorators, target, key, desc);
68
- else
69
- for (var i = decorators.length - 1;i >= 0; i--)
70
- if (d = decorators[i])
71
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
72
- return c > 3 && r && Object.defineProperty(target, key, r), r;
73
- };
74
- var __legacyMetadataTS = (k, v) => {
75
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
76
- return Reflect.metadata(k, v);
77
- };
78
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
79
- var __require = import.meta.require;
80
- // src/react/hooks/useIslandStore.ts
81
- import { useSyncExternalStore } from "react";
82
-
83
- // node_modules/zustand/esm/vanilla.mjs
84
- var createStoreImpl = (createState) => {
85
- let state;
86
- const listeners = /* @__PURE__ */ new Set;
87
- const setState = (partial, replace) => {
88
- const nextState = typeof partial === "function" ? partial(state) : partial;
89
- if (!Object.is(nextState, state)) {
90
- const previousState = state;
91
- state = (replace != null ? replace : typeof nextState !== "object" || nextState === null) ? nextState : Object.assign({}, state, nextState);
92
- listeners.forEach((listener) => listener(state, previousState));
93
- }
94
- };
95
- const getState = () => state;
96
- const getInitialState = () => initialState;
97
- const subscribe = (listener) => {
98
- listeners.add(listener);
99
- return () => listeners.delete(listener);
100
- };
101
- const api = { setState, getState, getInitialState, subscribe };
102
- const initialState = state = createState(setState, getState, api);
103
- return api;
104
- };
105
- var createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
106
-
107
- // node_modules/zustand/esm/middleware.mjs
108
- function combine(initialState, create) {
109
- return (...args) => Object.assign({}, initialState, create(...args));
110
- }
111
-
112
- // src/client/islandStore.ts
113
- var getIslandStoreSnapshot = () => {
114
- globalThis.__ABS_ISLAND_STATE__ ??= {};
115
- return globalThis.__ABS_ISLAND_STATE__;
116
- };
117
- var getIslandStores = () => {
118
- globalThis.__ABS_ISLAND_STORES__ ??= new Map;
119
- return globalThis.__ABS_ISLAND_STORES__;
120
- };
121
- var isSerializableValue = (value) => typeof value !== "function" && value !== undefined;
122
- var toSerializableState = (state) => Object.fromEntries(Object.entries(state).filter(([, value]) => isSerializableValue(value)));
123
- var applySnapshot = (store, snapshot) => {
124
- if (!snapshot) {
125
- return;
126
- }
127
- store.setState({
128
- ...store.getState(),
129
- ...snapshot
130
- });
131
- };
132
- var getPeerStores = (storeInstances, ownerStore) => [...storeInstances].filter((peer) => peer.store !== ownerStore);
133
- var syncIslandSnapshot = (storeId, state, storeInstances, ownerStore) => {
134
- const nextSnapshot = toSerializableState(state);
135
- getIslandStoreSnapshot()[storeId] = nextSnapshot;
136
- for (const peerStore of getPeerStores(storeInstances, ownerStore)) {
137
- peerStore.applyExternalSnapshot(nextSnapshot);
138
- }
139
- };
140
- var createIslandStore = (storeId, initialState, createState) => {
141
- const store = createStore(combine(initialState, createState));
142
- const stores = getIslandStores();
143
- const storeInstances = stores.get(storeId) ?? new Set;
144
- const initialSnapshot = getIslandStoreSnapshot()[storeId];
145
- applySnapshot(store, initialSnapshot);
146
- let isApplyingExternalSnapshot = false;
147
- const applyExternalSnapshot = (snapshot) => {
148
- isApplyingExternalSnapshot = true;
149
- applySnapshot(store, snapshot);
150
- };
151
- storeInstances.add({
152
- applyExternalSnapshot,
153
- store
154
- });
155
- stores.set(storeId, storeInstances);
156
- syncIslandSnapshot(storeId, store.getState(), storeInstances, store);
157
- store.subscribe((state) => {
158
- if (isApplyingExternalSnapshot) {
159
- isApplyingExternalSnapshot = false;
160
- return;
161
- }
162
- syncIslandSnapshot(storeId, state, storeInstances, store);
163
- });
164
- return store;
165
- };
166
- var getIslandStoreServerSnapshot = (store, selector) => selector(store.getInitialState());
167
- var applySnapshotToStoreInstances = (storeId, instances, snapshot) => {
168
- for (const instance of instances) {
169
- instance.applyExternalSnapshot(snapshot[storeId] ?? {});
170
- }
171
- };
172
- var initializeIslandStores = (state) => {
173
- const currentSnapshot = getIslandStoreSnapshot();
174
- const nextSnapshot = {
175
- ...state,
176
- ...currentSnapshot
177
- };
178
- globalThis.__ABS_ISLAND_STATE__ = nextSnapshot;
179
- for (const [storeId, store] of getIslandStores()) {
180
- applySnapshotToStoreInstances(storeId, store, nextSnapshot);
181
- }
182
- };
183
- var readIslandStore = (store, selector) => selector(store.getState());
184
- var subscribeIslandStore = (store, selector, listener) => {
185
- let currentSelection = selector(store.getState());
186
- return store.subscribe((state) => {
187
- const nextSelection = selector(state);
188
- if (Object.is(nextSelection, currentSelection)) {
189
- return;
190
- }
191
- currentSelection = nextSelection;
192
- listener(nextSelection);
193
- });
194
- };
195
-
196
- // src/react/hooks/useIslandStore.ts
197
- var useIslandStore = (store, selector) => useSyncExternalStore((listener) => subscribeIslandStore(store, selector, () => {
198
- listener();
199
- }), () => readIslandStore(store, selector), () => getIslandStoreServerSnapshot(store, selector));
200
- // src/react/hooks/useMediaQuery.ts
201
- import { createContext, useContext, useSyncExternalStore as useSyncExternalStore2 } from "react";
202
- var UserAgentContext = createContext(null);
203
- var UserAgentProvider = UserAgentContext.Provider;
204
- var useUserAgentType = () => {
205
- const context = useContext(UserAgentContext);
206
- if (context === null) {
207
- throw new Error("useMediaQuery must be used within a UserAgentProvider");
208
- }
209
- return context;
210
- };
211
- var defaultBreakpoints = {
212
- "2xl": 1536,
213
- lg: 1024,
214
- md: 768,
215
- sm: 640,
216
- xl: 1280,
217
- xs: 0
218
- };
219
- var userAgentInitialWidth = {
220
- bot: 1024,
221
- car: 768,
222
- console: 1024,
223
- desktop: 1024,
224
- iot: 640,
225
- other: 768,
226
- phone: 375,
227
- tablet: 768,
228
- tv: 1280
229
- };
230
- var subscribers = new Set;
231
- var width = typeof window !== "undefined" ? window.innerWidth : 0;
232
- var isListening = false;
233
- var ensureListener = () => {
234
- if (isListening || typeof window === "undefined")
235
- return;
236
- isListening = true;
237
- let isTicking = false;
238
- const onResize = () => {
239
- if (isTicking)
240
- return;
241
- isTicking = true;
242
- requestAnimationFrame(() => {
243
- isTicking = false;
244
- width = window.innerWidth;
245
- subscribers.forEach((notify) => notify());
246
- });
247
- };
248
- window.addEventListener("resize", onResize, { passive: true });
249
- };
250
- var subscribe = (callback) => {
251
- ensureListener();
252
- subscribers.add(callback);
253
- return () => subscribers.delete(callback);
254
- };
255
- var getViewportWidth = () => width;
256
- var computeBreakpoint = (widthValue, breakpoints) => {
257
- if (widthValue < breakpoints.sm)
258
- return "xs";
259
- if (widthValue < breakpoints.md)
260
- return "sm";
261
- if (widthValue < breakpoints.lg)
262
- return "md";
263
- if (widthValue < breakpoints.xl)
264
- return "lg";
265
- if (widthValue < breakpoints["2xl"])
266
- return "xl";
267
- return "2xl";
268
- };
269
- var useMediaQuery = (customBreakpoints = defaultBreakpoints) => {
270
- const userAgentType = useUserAgentType();
271
- const getServerWidth = () => userAgentInitialWidth[userAgentType];
272
- const currentWidth = useSyncExternalStore2(subscribe, getViewportWidth, getServerWidth);
273
- const breakpoint = computeBreakpoint(currentWidth, customBreakpoints);
274
- const isSizeOrGreater = (target) => customBreakpoints[breakpoint] >= customBreakpoints[target];
275
- const isSizeOrLess = (target) => customBreakpoints[breakpoint] <= customBreakpoints[target];
276
- return { breakpoint, isSizeOrGreater, isSizeOrLess };
277
- };
278
- export {
279
- useMediaQuery,
280
- useIslandStore,
281
- UserAgentProvider
282
- };
283
-
284
- //# debugId=EE8269F258A5BD9764756E2164756E21
285
- //# sourceMappingURL=index.js.map
@@ -1,14 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/react/hooks/useIslandStore.ts", "../node_modules/zustand/esm/vanilla.mjs", "../node_modules/zustand/esm/middleware.mjs", "../src/client/islandStore.ts", "../src/react/hooks/useMediaQuery.ts"],
4
- "sourcesContent": [
5
- "import { useSyncExternalStore } from 'react';\nimport type { StoreApi } from 'zustand/vanilla';\nimport {\n\tgetIslandStoreServerSnapshot,\n\treadIslandStore,\n\tsubscribeIslandStore,\n\ttype IslandStoreState\n} from '../../client/islandStore';\n\nexport const useIslandStore = <TState extends IslandStoreState, TSelected>(\n\tstore: StoreApi<TState>,\n\tselector: (state: TState) => TSelected\n) =>\n\tuseSyncExternalStore(\n\t\t(listener) =>\n\t\t\tsubscribeIslandStore(store, selector, () => {\n\t\t\t\tlistener();\n\t\t\t}),\n\t\t() => readIslandStore(store, selector),\n\t\t() => getIslandStoreServerSnapshot(store, selector)\n\t);\n",
6
- "const createStoreImpl = (createState) => {\n let state;\n const listeners = /* @__PURE__ */ new Set();\n const setState = (partial, replace) => {\n const nextState = typeof partial === \"function\" ? partial(state) : partial;\n if (!Object.is(nextState, state)) {\n const previousState = state;\n state = (replace != null ? replace : typeof nextState !== \"object\" || nextState === null) ? nextState : Object.assign({}, state, nextState);\n listeners.forEach((listener) => listener(state, previousState));\n }\n };\n const getState = () => state;\n const getInitialState = () => initialState;\n const subscribe = (listener) => {\n listeners.add(listener);\n return () => listeners.delete(listener);\n };\n const api = { setState, getState, getInitialState, subscribe };\n const initialState = state = createState(setState, getState, api);\n return api;\n};\nconst createStore = ((createState) => createState ? createStoreImpl(createState) : createStoreImpl);\n\nexport { createStore };\n",
7
- "const reduxImpl = (reducer, initial) => (set, _get, api) => {\n api.dispatch = (action) => {\n set((state) => reducer(state, action), false, action);\n return action;\n };\n api.dispatchFromDevtools = true;\n return { dispatch: (...args) => api.dispatch(...args), ...initial };\n};\nconst redux = reduxImpl;\n\nconst shouldDispatchFromDevtools = (api) => !!api.dispatchFromDevtools && typeof api.dispatch === \"function\";\nconst trackedConnections = /* @__PURE__ */ new Map();\nconst getTrackedConnectionState = (name) => {\n const api = trackedConnections.get(name);\n if (!api) return {};\n return Object.fromEntries(\n Object.entries(api.stores).map(([key, api2]) => [key, api2.getState()])\n );\n};\nconst extractConnectionInformation = (store, extensionConnector, options) => {\n if (store === void 0) {\n return {\n type: \"untracked\",\n connection: extensionConnector.connect(options)\n };\n }\n const existingConnection = trackedConnections.get(options.name);\n if (existingConnection) {\n return { type: \"tracked\", store, ...existingConnection };\n }\n const newConnection = {\n connection: extensionConnector.connect(options),\n stores: {}\n };\n trackedConnections.set(options.name, newConnection);\n return { type: \"tracked\", store, ...newConnection };\n};\nconst removeStoreFromTrackedConnections = (name, store) => {\n if (store === void 0) return;\n const connectionInfo = trackedConnections.get(name);\n if (!connectionInfo) return;\n delete connectionInfo.stores[store];\n if (Object.keys(connectionInfo.stores).length === 0) {\n trackedConnections.delete(name);\n }\n};\nconst findCallerName = (stack) => {\n var _a, _b;\n if (!stack) return void 0;\n const traceLines = stack.split(\"\\n\");\n const apiSetStateLineIndex = traceLines.findIndex(\n (traceLine) => traceLine.includes(\"api.setState\")\n );\n if (apiSetStateLineIndex < 0) return void 0;\n const callerLine = ((_a = traceLines[apiSetStateLineIndex + 1]) == null ? void 0 : _a.trim()) || \"\";\n return (_b = /.+ (.+) .+/.exec(callerLine)) == null ? void 0 : _b[1];\n};\nconst devtoolsImpl = (fn, devtoolsOptions = {}) => (set, get, api) => {\n const { enabled, anonymousActionType, store, ...options } = devtoolsOptions;\n let extensionConnector;\n try {\n extensionConnector = (enabled != null ? enabled : (import.meta.env ? import.meta.env.MODE : void 0) !== \"production\") && window.__REDUX_DEVTOOLS_EXTENSION__;\n } catch (e) {\n }\n if (!extensionConnector) {\n return fn(set, get, api);\n }\n const { connection, ...connectionInformation } = extractConnectionInformation(store, extensionConnector, options);\n let isRecording = true;\n api.setState = ((state, replace, nameOrAction) => {\n const r = set(state, replace);\n if (!isRecording) return r;\n const action = nameOrAction === void 0 ? {\n type: anonymousActionType || findCallerName(new Error().stack) || \"anonymous\"\n } : typeof nameOrAction === \"string\" ? { type: nameOrAction } : nameOrAction;\n if (store === void 0) {\n connection == null ? void 0 : connection.send(action, get());\n return r;\n }\n connection == null ? void 0 : connection.send(\n {\n ...action,\n type: `${store}/${action.type}`\n },\n {\n ...getTrackedConnectionState(options.name),\n [store]: api.getState()\n }\n );\n return r;\n });\n api.devtools = {\n cleanup: () => {\n if (connection && typeof connection.unsubscribe === \"function\") {\n connection.unsubscribe();\n }\n removeStoreFromTrackedConnections(options.name, store);\n }\n };\n const setStateFromDevtools = (...a) => {\n const originalIsRecording = isRecording;\n isRecording = false;\n set(...a);\n isRecording = originalIsRecording;\n };\n const initialState = fn(api.setState, get, api);\n if (connectionInformation.type === \"untracked\") {\n connection == null ? void 0 : connection.init(initialState);\n } else {\n connectionInformation.stores[connectionInformation.store] = api;\n connection == null ? void 0 : connection.init(\n Object.fromEntries(\n Object.entries(connectionInformation.stores).map(([key, store2]) => [\n key,\n key === connectionInformation.store ? initialState : store2.getState()\n ])\n )\n );\n }\n if (shouldDispatchFromDevtools(api)) {\n let didWarnAboutReservedActionType = false;\n const originalDispatch = api.dispatch;\n api.dispatch = (...args) => {\n if ((import.meta.env ? import.meta.env.MODE : void 0) !== \"production\" && args[0].type === \"__setState\" && !didWarnAboutReservedActionType) {\n console.warn(\n '[zustand devtools middleware] \"__setState\" action type is reserved to set state from the devtools. Avoid using it.'\n );\n didWarnAboutReservedActionType = true;\n }\n originalDispatch(...args);\n };\n }\n connection.subscribe((message) => {\n var _a;\n switch (message.type) {\n case \"ACTION\":\n if (typeof message.payload !== \"string\") {\n console.error(\n \"[zustand devtools middleware] Unsupported action format\"\n );\n return;\n }\n return parseJsonThen(\n message.payload,\n (action) => {\n if (action.type === \"__setState\") {\n if (store === void 0) {\n setStateFromDevtools(action.state);\n return;\n }\n if (Object.keys(action.state).length !== 1) {\n console.error(\n `\n [zustand devtools middleware] Unsupported __setState action format.\n When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),\n and value of this only key should be a state object. Example: { \"type\": \"__setState\", \"state\": { \"abc123Store\": { \"foo\": \"bar\" } } }\n `\n );\n }\n const stateFromDevtools = action.state[store];\n if (stateFromDevtools === void 0 || stateFromDevtools === null) {\n return;\n }\n if (JSON.stringify(api.getState()) !== JSON.stringify(stateFromDevtools)) {\n setStateFromDevtools(stateFromDevtools);\n }\n return;\n }\n if (shouldDispatchFromDevtools(api)) {\n api.dispatch(action);\n }\n }\n );\n case \"DISPATCH\":\n switch (message.payload.type) {\n case \"RESET\":\n setStateFromDevtools(initialState);\n if (store === void 0) {\n return connection == null ? void 0 : connection.init(api.getState());\n }\n return connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));\n case \"COMMIT\":\n if (store === void 0) {\n connection == null ? void 0 : connection.init(api.getState());\n return;\n }\n return connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));\n case \"ROLLBACK\":\n return parseJsonThen(message.state, (state) => {\n if (store === void 0) {\n setStateFromDevtools(state);\n connection == null ? void 0 : connection.init(api.getState());\n return;\n }\n setStateFromDevtools(state[store]);\n connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));\n });\n case \"JUMP_TO_STATE\":\n case \"JUMP_TO_ACTION\":\n return parseJsonThen(message.state, (state) => {\n if (store === void 0) {\n setStateFromDevtools(state);\n return;\n }\n if (JSON.stringify(api.getState()) !== JSON.stringify(state[store])) {\n setStateFromDevtools(state[store]);\n }\n });\n case \"IMPORT_STATE\": {\n const { nextLiftedState } = message.payload;\n const lastComputedState = (_a = nextLiftedState.computedStates.slice(-1)[0]) == null ? void 0 : _a.state;\n if (!lastComputedState) return;\n if (store === void 0) {\n setStateFromDevtools(lastComputedState);\n } else {\n setStateFromDevtools(lastComputedState[store]);\n }\n connection == null ? void 0 : connection.send(\n null,\n // FIXME no-any\n nextLiftedState\n );\n return;\n }\n case \"PAUSE_RECORDING\":\n return isRecording = !isRecording;\n }\n return;\n }\n });\n return initialState;\n};\nconst devtools = devtoolsImpl;\nconst parseJsonThen = (stringified, fn) => {\n let parsed;\n try {\n parsed = JSON.parse(stringified);\n } catch (e) {\n console.error(\n \"[zustand devtools middleware] Could not parse the received json\",\n e\n );\n }\n if (parsed !== void 0) fn(parsed);\n};\n\nconst subscribeWithSelectorImpl = (fn) => (set, get, api) => {\n const origSubscribe = api.subscribe;\n api.subscribe = ((selector, optListener, options) => {\n let listener = selector;\n if (optListener) {\n const equalityFn = (options == null ? void 0 : options.equalityFn) || Object.is;\n let currentSlice = selector(api.getState());\n listener = (state) => {\n const nextSlice = selector(state);\n if (!equalityFn(currentSlice, nextSlice)) {\n const previousSlice = currentSlice;\n optListener(currentSlice = nextSlice, previousSlice);\n }\n };\n if (options == null ? void 0 : options.fireImmediately) {\n optListener(currentSlice, currentSlice);\n }\n }\n return origSubscribe(listener);\n });\n const initialState = fn(set, get, api);\n return initialState;\n};\nconst subscribeWithSelector = subscribeWithSelectorImpl;\n\nfunction combine(initialState, create) {\n return (...args) => Object.assign({}, initialState, create(...args));\n}\n\nfunction createJSONStorage(getStorage, options) {\n let storage;\n try {\n storage = getStorage();\n } catch (e) {\n return;\n }\n const persistStorage = {\n getItem: (name) => {\n var _a;\n const parse = (str2) => {\n if (str2 === null) {\n return null;\n }\n return JSON.parse(str2, options == null ? void 0 : options.reviver);\n };\n const str = (_a = storage.getItem(name)) != null ? _a : null;\n if (str instanceof Promise) {\n return str.then(parse);\n }\n return parse(str);\n },\n setItem: (name, newValue) => storage.setItem(name, JSON.stringify(newValue, options == null ? void 0 : options.replacer)),\n removeItem: (name) => storage.removeItem(name)\n };\n return persistStorage;\n}\nconst toThenable = (fn) => (input) => {\n try {\n const result = fn(input);\n if (result instanceof Promise) {\n return result;\n }\n return {\n then(onFulfilled) {\n return toThenable(onFulfilled)(result);\n },\n catch(_onRejected) {\n return this;\n }\n };\n } catch (e) {\n return {\n then(_onFulfilled) {\n return this;\n },\n catch(onRejected) {\n return toThenable(onRejected)(e);\n }\n };\n }\n};\nconst persistImpl = (config, baseOptions) => (set, get, api) => {\n let options = {\n storage: createJSONStorage(() => window.localStorage),\n partialize: (state) => state,\n version: 0,\n merge: (persistedState, currentState) => ({\n ...currentState,\n ...persistedState\n }),\n ...baseOptions\n };\n let hasHydrated = false;\n let hydrationVersion = 0;\n const hydrationListeners = /* @__PURE__ */ new Set();\n const finishHydrationListeners = /* @__PURE__ */ new Set();\n let storage = options.storage;\n if (!storage) {\n return config(\n (...args) => {\n console.warn(\n `[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`\n );\n set(...args);\n },\n get,\n api\n );\n }\n const setItem = () => {\n const state = options.partialize({ ...get() });\n return storage.setItem(options.name, {\n state,\n version: options.version\n });\n };\n const savedSetState = api.setState;\n api.setState = (state, replace) => {\n savedSetState(state, replace);\n return setItem();\n };\n const configResult = config(\n (...args) => {\n set(...args);\n return setItem();\n },\n get,\n api\n );\n api.getInitialState = () => configResult;\n let stateFromStorage;\n const hydrate = () => {\n var _a, _b;\n if (!storage) return;\n const currentVersion = ++hydrationVersion;\n hasHydrated = false;\n hydrationListeners.forEach((cb) => {\n var _a2;\n return cb((_a2 = get()) != null ? _a2 : configResult);\n });\n const postRehydrationCallback = ((_b = options.onRehydrateStorage) == null ? void 0 : _b.call(options, (_a = get()) != null ? _a : configResult)) || void 0;\n return toThenable(storage.getItem.bind(storage))(options.name).then((deserializedStorageValue) => {\n if (deserializedStorageValue) {\n if (typeof deserializedStorageValue.version === \"number\" && deserializedStorageValue.version !== options.version) {\n if (options.migrate) {\n const migration = options.migrate(\n deserializedStorageValue.state,\n deserializedStorageValue.version\n );\n if (migration instanceof Promise) {\n return migration.then((result) => [true, result]);\n }\n return [true, migration];\n }\n console.error(\n `State loaded from storage couldn't be migrated since no migrate function was provided`\n );\n } else {\n return [false, deserializedStorageValue.state];\n }\n }\n return [false, void 0];\n }).then((migrationResult) => {\n var _a2;\n if (currentVersion !== hydrationVersion) {\n return;\n }\n const [migrated, migratedState] = migrationResult;\n stateFromStorage = options.merge(\n migratedState,\n (_a2 = get()) != null ? _a2 : configResult\n );\n set(stateFromStorage, true);\n if (migrated) {\n return setItem();\n }\n }).then(() => {\n if (currentVersion !== hydrationVersion) {\n return;\n }\n postRehydrationCallback == null ? void 0 : postRehydrationCallback(get(), void 0);\n stateFromStorage = get();\n hasHydrated = true;\n finishHydrationListeners.forEach((cb) => cb(stateFromStorage));\n }).catch((e) => {\n if (currentVersion !== hydrationVersion) {\n return;\n }\n postRehydrationCallback == null ? void 0 : postRehydrationCallback(void 0, e);\n });\n };\n api.persist = {\n setOptions: (newOptions) => {\n options = {\n ...options,\n ...newOptions\n };\n if (newOptions.storage) {\n storage = newOptions.storage;\n }\n },\n clearStorage: () => {\n storage == null ? void 0 : storage.removeItem(options.name);\n },\n getOptions: () => options,\n rehydrate: () => hydrate(),\n hasHydrated: () => hasHydrated,\n onHydrate: (cb) => {\n hydrationListeners.add(cb);\n return () => {\n hydrationListeners.delete(cb);\n };\n },\n onFinishHydration: (cb) => {\n finishHydrationListeners.add(cb);\n return () => {\n finishHydrationListeners.delete(cb);\n };\n }\n };\n if (!options.skipHydration) {\n hydrate();\n }\n return stateFromStorage || configResult;\n};\nconst persist = persistImpl;\n\nfunction ssrSafe(config, isSSR = typeof window === \"undefined\") {\n return (set, get, api) => {\n if (!isSSR) {\n return config(set, get, api);\n }\n const ssrSet = () => {\n throw new Error(\"Cannot set state of Zustand store in SSR\");\n };\n api.setState = ssrSet;\n return config(ssrSet, get, api);\n };\n}\n\nexport { combine, createJSONStorage, devtools, persist, redux, subscribeWithSelector, ssrSafe as unstable_ssrSafe };\n",
8
- "import { createStore, type StateCreator, type StoreApi } from 'zustand/vanilla';\nimport { combine } from 'zustand/middleware';\n\nexport type IslandStoreState = object;\ntype IslandStoreSnapshot = Record<string, unknown>;\ntype IslandStoreShape<\n\tTState extends IslandStoreState,\n\tTActions extends object\n> = Omit<TState, keyof TActions> & TActions;\nexport type IslandStateSnapshot = Record<string, IslandStoreSnapshot>;\ntype AnyIslandStore = StoreApi<object>;\ntype IslandStoreInstance = {\n\tapplyExternalSnapshot: (snapshot: IslandStoreSnapshot) => void;\n\tstore: AnyIslandStore;\n};\n\nexport const ABSOLUTE_ISLAND_STATE = '__ABS_ISLAND_STATE__';\nexport const ABSOLUTE_ISLAND_STORES = '__ABS_ISLAND_STORES__';\n\ndeclare global {\n\tvar __ABS_ISLAND_STATE__: IslandStateSnapshot | undefined;\n\tvar __ABS_ISLAND_STORES__:\n\t\t| Map<string, Set<IslandStoreInstance>>\n\t\t| undefined;\n}\n\nconst getIslandStoreSnapshot = () => {\n\tglobalThis.__ABS_ISLAND_STATE__ ??= {};\n\n\treturn globalThis.__ABS_ISLAND_STATE__;\n};\n\nconst getIslandStores = () => {\n\tglobalThis.__ABS_ISLAND_STORES__ ??= new Map();\n\n\treturn globalThis.__ABS_ISLAND_STORES__;\n};\n\nconst isSerializableValue = (value: unknown) =>\n\ttypeof value !== 'function' && value !== undefined;\n\nconst toSerializableState = <T extends object>(state: T) =>\n\tObject.fromEntries(\n\t\tObject.entries(state).filter(([, value]) => isSerializableValue(value))\n\t);\n\nconst applySnapshot = <T extends object>(\n\tstore: StoreApi<T>,\n\tsnapshot: IslandStoreSnapshot | undefined\n) => {\n\tif (!snapshot) {\n\t\treturn;\n\t}\n\n\tstore.setState({\n\t\t...store.getState(),\n\t\t...snapshot\n\t});\n};\n\nconst getPeerStores = (\n\tstoreInstances: Set<IslandStoreInstance>,\n\townerStore: AnyIslandStore\n) => [...storeInstances].filter((peer) => peer.store !== ownerStore);\n\nconst syncIslandSnapshot = <\n\tTState extends IslandStoreState,\n\tTActions extends object\n>(\n\tstoreId: string,\n\tstate: IslandStoreShape<TState, TActions>,\n\tstoreInstances: Set<IslandStoreInstance>,\n\townerStore: AnyIslandStore\n) => {\n\tconst nextSnapshot = toSerializableState(state);\n\tgetIslandStoreSnapshot()[storeId] = nextSnapshot;\n\n\tfor (const peerStore of getPeerStores(storeInstances, ownerStore)) {\n\t\tpeerStore.applyExternalSnapshot(nextSnapshot);\n\t}\n};\n\nexport const createIslandStore = <\n\tTState extends IslandStoreState,\n\tTActions extends object\n>(\n\tstoreId: string,\n\tinitialState: TState,\n\tcreateState: StateCreator<TState, [], [], TActions>\n) => {\n\tconst store = createStore(combine(initialState, createState));\n\tconst stores = getIslandStores();\n\tconst storeInstances =\n\t\tstores.get(storeId) ?? new Set<IslandStoreInstance>();\n\tconst initialSnapshot = getIslandStoreSnapshot()[storeId];\n\tapplySnapshot(store, initialSnapshot);\n\tlet isApplyingExternalSnapshot = false;\n\n\tconst applyExternalSnapshot = (snapshot: IslandStoreSnapshot) => {\n\t\tisApplyingExternalSnapshot = true;\n\t\tapplySnapshot(store, snapshot);\n\t};\n\n\tstoreInstances.add({\n\t\tapplyExternalSnapshot,\n\t\tstore\n\t});\n\tstores.set(storeId, storeInstances);\n\n\tsyncIslandSnapshot(storeId, store.getState(), storeInstances, store);\n\tstore.subscribe((state) => {\n\t\tif (isApplyingExternalSnapshot) {\n\t\t\tisApplyingExternalSnapshot = false;\n\n\t\t\treturn;\n\t\t}\n\n\t\tsyncIslandSnapshot(storeId, state, storeInstances, store);\n\t});\n\n\treturn store;\n};\nexport const getIslandStoreServerSnapshot = <\n\tTState extends IslandStoreState,\n\tTSelected\n>(\n\tstore: StoreApi<TState>,\n\tselector: (state: TState) => TSelected\n) => selector(store.getInitialState());\nconst applySnapshotToStoreInstances = (\n\tstoreId: string,\n\tinstances: Set<IslandStoreInstance>,\n\tsnapshot: IslandStateSnapshot\n) => {\n\tfor (const instance of instances) {\n\t\tinstance.applyExternalSnapshot(snapshot[storeId] ?? {});\n\t}\n};\n\nexport const initializeIslandStores = (state: IslandStateSnapshot) => {\n\tconst currentSnapshot = getIslandStoreSnapshot();\n\tconst nextSnapshot: IslandStateSnapshot = {\n\t\t...state,\n\t\t...currentSnapshot\n\t};\n\n\tglobalThis.__ABS_ISLAND_STATE__ = nextSnapshot;\n\n\tfor (const [storeId, store] of getIslandStores()) {\n\t\tapplySnapshotToStoreInstances(storeId, store, nextSnapshot);\n\t}\n};\nexport const readIslandStore = <TState extends IslandStoreState, TSelected>(\n\tstore: StoreApi<TState>,\n\tselector: (state: TState) => TSelected\n) => selector(store.getState());\nexport const resetIslandStoreForTesting = () => {\n\tdelete globalThis.__ABS_ISLAND_STATE__;\n\tdelete globalThis.__ABS_ISLAND_STORES__;\n};\nexport const subscribeIslandStore = <\n\tTState extends IslandStoreState,\n\tTSelected\n>(\n\tstore: StoreApi<TState>,\n\tselector: (state: TState) => TSelected,\n\tlistener: (value: TSelected) => void\n) => {\n\tlet currentSelection = selector(store.getState());\n\n\treturn store.subscribe((state) => {\n\t\tconst nextSelection = selector(state);\n\t\tif (Object.is(nextSelection, currentSelection)) {\n\t\t\treturn;\n\t\t}\n\n\t\tcurrentSelection = nextSelection;\n\t\tlistener(nextSelection);\n\t});\n};\n\n\n",
9
- "import { createContext, useContext, useSyncExternalStore } from 'react';\nimport { Breakpoint, Breakpoints } from '../../../types/mediaQuery';\nimport { UserAgentType } from '../../../types/userAgentTypes';\n\nconst UserAgentContext = createContext<UserAgentType | null>(null);\n\nexport const UserAgentProvider = UserAgentContext.Provider;\n\nconst useUserAgentType = () => {\n\tconst context = useContext(UserAgentContext);\n\tif (context === null) {\n\t\tthrow new Error(\n\t\t\t'useMediaQuery must be used within a UserAgentProvider'\n\t\t);\n\t}\n\n\treturn context;\n};\n\nconst defaultBreakpoints: Breakpoints = {\n\t'2xl': 1536,\n\tlg: 1024,\n\tmd: 768,\n\tsm: 640,\n\txl: 1280,\n\txs: 0\n};\n\nconst userAgentInitialWidth: Record<UserAgentType, number> = {\n\tbot: 1024,\n\tcar: 768,\n\tconsole: 1024,\n\tdesktop: 1024,\n\tiot: 640,\n\tother: 768,\n\tphone: 375,\n\ttablet: 768,\n\ttv: 1280\n};\n\nconst subscribers = new Set<() => void>();\nlet width = typeof window !== 'undefined' ? window.innerWidth : 0;\nlet isListening = false;\n\nconst ensureListener = () => {\n\tif (isListening || typeof window === 'undefined') return;\n\tisListening = true;\n\n\tlet isTicking = false;\n\tconst onResize = () => {\n\t\tif (isTicking) return;\n\t\tisTicking = true;\n\t\trequestAnimationFrame(() => {\n\t\t\tisTicking = false;\n\t\t\twidth = window.innerWidth;\n\t\t\tsubscribers.forEach((notify) => notify());\n\t\t});\n\t};\n\n\twindow.addEventListener('resize', onResize, { passive: true });\n};\n\nconst subscribe = (callback: () => void) => {\n\tensureListener();\n\tsubscribers.add(callback);\n\n\treturn () => subscribers.delete(callback);\n};\n\nconst getViewportWidth = () => width;\n\nconst computeBreakpoint = (widthValue: number, breakpoints: Breakpoints) => {\n\tif (widthValue < breakpoints.sm) return 'xs';\n\tif (widthValue < breakpoints.md) return 'sm';\n\tif (widthValue < breakpoints.lg) return 'md';\n\tif (widthValue < breakpoints.xl) return 'lg';\n\tif (widthValue < breakpoints['2xl']) return 'xl';\n\n\treturn '2xl';\n};\n\nexport const useMediaQuery = (\n\tcustomBreakpoints: Breakpoints = defaultBreakpoints\n) => {\n\tconst userAgentType = useUserAgentType();\n\tconst getServerWidth = () => userAgentInitialWidth[userAgentType];\n\n\tconst currentWidth = useSyncExternalStore(\n\t\tsubscribe,\n\t\tgetViewportWidth,\n\t\tgetServerWidth\n\t);\n\n\tconst breakpoint = computeBreakpoint(currentWidth, customBreakpoints);\n\n\tconst isSizeOrGreater = (target: Breakpoint) =>\n\t\tcustomBreakpoints[breakpoint] >= customBreakpoints[target];\n\n\tconst isSizeOrLess = (target: Breakpoint) =>\n\t\tcustomBreakpoints[breakpoint] <= customBreakpoints[target];\n\n\treturn { breakpoint, isSizeOrGreater, isSizeOrLess };\n};\n"
10
- ],
11
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;ACAA,IAAM,kBAAkB,CAAC,gBAAgB;AAAA,EACvC,IAAI;AAAA,EACJ,MAAM,4BAA4B,IAAI;AAAA,EACtC,MAAM,WAAW,CAAC,SAAS,YAAY;AAAA,IACrC,MAAM,YAAY,OAAO,YAAY,aAAa,QAAQ,KAAK,IAAI;AAAA,IACnE,IAAI,CAAC,OAAO,GAAG,WAAW,KAAK,GAAG;AAAA,MAChC,MAAM,gBAAgB;AAAA,MACtB,SAAS,WAAW,OAAO,UAAU,OAAO,cAAc,YAAY,cAAc,QAAQ,YAAY,OAAO,OAAO,CAAC,GAAG,OAAO,SAAS;AAAA,MAC1I,UAAU,QAAQ,CAAC,aAAa,SAAS,OAAO,aAAa,CAAC;AAAA,IAChE;AAAA;AAAA,EAEF,MAAM,WAAW,MAAM;AAAA,EACvB,MAAM,kBAAkB,MAAM;AAAA,EAC9B,MAAM,YAAY,CAAC,aAAa;AAAA,IAC9B,U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