@wix/astro 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dependencies/astro-auth/backend-runtime/constants-Dbkf3D5f.mjs +6 -0
- package/build/dependencies/astro-auth/backend-runtime/elevatedContextualClient-tJx9dIn_.mjs +41 -0
- package/build/dependencies/astro-auth/backend-runtime/host-utils-B2Fs_Z4S.mjs +17 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.mjs +3643 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.mjs +193 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.mjs +34 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/login.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/login.mjs +32 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.mjs +14 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.mjs +19 -0
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.d.mts +1 -0
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.mjs +8 -0
- package/build/dependencies/astro-auth/backend-runtime/saveSessionTokensToCookie-DK3xvtzk.mjs +24 -0
- package/build/dependencies/astro-auth/backend-runtime/schemas-XrMhpOYn.mjs +2771 -0
- package/build/dependencies/astro-auth/browser-runtime/setup.d.ts +4 -3
- package/build/dependencies/astro-auth/browser-runtime/setup.js +55 -81
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.d.mts +6 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.mjs +37 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.d.mts +10 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.mjs +22 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.d.mts +9 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.mjs +22 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/utils-DDHGZHjR.mjs +56 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/utils-mYlwmIjd.d.mts +6 -0
- package/build/dependencies/astro-backoffice-extensions/browser-runtime/wrapComponent.d.ts +4 -3
- package/build/dependencies/astro-backoffice-extensions/browser-runtime/wrapComponent.js +6 -5
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/hmr.d.ts +10 -0
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/sdk.js +16 -15
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/customElementHmr.d.ts +9 -5
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/customElementHmr.js +23 -40
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/reactHmr.d.ts +10 -1
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/reactHmr.js +20 -23
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/renderSettingsPanel.d.ts +4 -3
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/renderSettingsPanel.js +14 -18
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/wrapCustomElement.d.ts +9 -5
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/wrapCustomElement.js +23 -25
- package/build/dependencies/astro-embedded-scripts-extensions/browser-runtime/setupContext.d.ts +8 -4
- package/build/dependencies/astro-embedded-scripts-extensions/browser-runtime/setupContext.js +18 -17
- package/build/dependencies/astro-function-libraries-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-function-libraries-extensions/browser-runtime/sdk.js +16 -15
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.d.mts +6 -0
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.mjs +53 -0
- package/build/dependencies/astro-monitor/backend-runtime/monitor.d.mts +6 -0
- package/build/dependencies/astro-monitor/backend-runtime/monitor.mjs +43 -0
- package/build/dependencies/astro-payment-links/backend-runtime/elevate-CDDLuCIf.mjs +9 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.d.mts +6 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.mjs +20 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.d.mts +6 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.mjs +15 -0
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.d.mts +6 -0
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.mjs +20 -0
- package/build/dependencies/astro-robots/backend-runtime/robots.d.mts +6 -0
- package/build/dependencies/astro-robots/backend-runtime/robots.mjs +26 -0
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/hmr.d.ts +10 -0
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/sdk.d.ts +12 -0
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/sdk.js +10 -10
- package/build/dependencies/astro-site-components-extensions/browser-runtime/hmr.d.ts +10 -0
- package/build/dependencies/astro-site-components-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-site-components-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-site-components-extensions/browser-runtime/sdk.js +16 -15
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.d.mts +6 -0
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.mjs +177 -0
- package/build/dependencies/astro-translations/backend-runtime/runtime/{i18n.d.ts → i18n.d.mts} +3 -2
- package/build/dependencies/astro-translations/backend-runtime/runtime/i18n.mjs +38 -0
- package/build/dependencies/astro-translations/integration/index.d.mts +105 -0
- package/build/dependencies/astro-translations/integration/index.mjs +264 -0
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/hmr.d.ts +10 -1
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/wrapComponent.d.ts +12 -8
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/wrapComponent.js +25 -35
- package/build/dependencies/astro-viewer-api/backend-runtime/api.d.mts +6 -0
- package/build/dependencies/astro-viewer-api/backend-runtime/api.mjs +27 -0
- package/build/dependencies/astro-viewer-services-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-viewer-services-extensions/browser-runtime/sdk.js +16 -15
- package/build/integration/builders-B9yQdgSz.mjs +76 -0
- package/build/integration/builders-DP0350YQ.d.mts +121 -0
- package/build/integration/builders-DVfxT6EC.mjs +225 -0
- package/build/integration/builders-experimental.d.mts +56 -0
- package/build/integration/builders-experimental.mjs +26 -0
- package/build/integration/builders-trusted.d.mts +75 -0
- package/build/integration/builders-trusted.mjs +46 -0
- package/build/integration/builders.d.mts +4 -0
- package/build/integration/builders.mjs +4 -0
- package/build/integration/index-B3B_5bgh.d.mts +248 -0
- package/build/integration/index-D5k6Bmue.d.mts +32 -0
- package/build/integration/index.d.mts +35 -0
- package/build/integration/index.mjs +29236 -0
- package/package.json +12 -12
- package/build/dependencies/astro-auth/backend-runtime/chunk-24J7STEA.js +0 -8
- package/build/dependencies/astro-auth/backend-runtime/chunk-352W54SQ.js +0 -70
- package/build/dependencies/astro-auth/backend-runtime/chunk-BIARYLOZ.js +0 -3267
- package/build/dependencies/astro-auth/backend-runtime/chunk-DZHZMKUF.js +0 -26
- package/build/dependencies/astro-auth/backend-runtime/chunk-MLKGABMK.js +0 -9
- package/build/dependencies/astro-auth/backend-runtime/chunk-USQSPPTM.js +0 -14
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.js +0 -136
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.js +0 -219
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.js +0 -53
- package/build/dependencies/astro-auth/backend-runtime/routes/login.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/login.js +0 -46
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.js +0 -24
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.js +0 -33
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.d.ts +0 -2
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.js +0 -10
- package/build/dependencies/astro-backend-extensions/backend-runtime/chunk-CPGTXQVH.js +0 -75
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.d.ts +0 -5
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.js +0 -41
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.d.ts +0 -10
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.js +0 -35
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.d.ts +0 -9
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.js +0 -34
- package/build/dependencies/astro-backend-extensions/backend-runtime/utils-B7jr2PES.d.ts +0 -5
- package/build/dependencies/astro-backend-extensions/types/index.d.ts +0 -102
- package/build/dependencies/astro-backoffice-extensions/types/index.d.ts +0 -68
- package/build/dependencies/astro-context-providers-extensions/types/index.d.ts +0 -32
- package/build/dependencies/astro-core/types/index.d.ts +0 -109
- package/build/dependencies/astro-custom-elements-extensions/types/index.d.ts +0 -45
- package/build/dependencies/astro-embedded-scripts-extensions/types/index.d.ts +0 -18
- package/build/dependencies/astro-function-libraries-extensions/types/index.d.ts +0 -23
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.d.ts +0 -5
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.js +0 -66
- package/build/dependencies/astro-payment-links/backend-runtime/chunk-656BVIJ3.js +0 -9
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.d.ts +0 -5
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.js +0 -24
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.d.ts +0 -5
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.js +0 -20
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.d.ts +0 -5
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.js +0 -24
- package/build/dependencies/astro-robots/backend-runtime/robots.d.ts +0 -5
- package/build/dependencies/astro-robots/backend-runtime/robots.js +0 -38
- package/build/dependencies/astro-site-component-panels-extensions/types/index.d.ts +0 -21
- package/build/dependencies/astro-site-components-extensions/types/index.d.ts +0 -48
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.d.ts +0 -5
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.js +0 -189
- package/build/dependencies/astro-translations/backend-runtime/runtime/i18n.js +0 -42
- package/build/dependencies/astro-translations/integration/index.d.ts +0 -5
- package/build/dependencies/astro-translations/integration/index.js +0 -296
- package/build/dependencies/astro-trusted-backoffice-extensions/types/index.d.ts +0 -50
- package/build/dependencies/astro-viewer-api/backend-runtime/api.d.ts +0 -5
- package/build/dependencies/astro-viewer-api/backend-runtime/api.js +0 -34
- package/build/dependencies/astro-viewer-services-extensions/types/index.d.ts +0 -27
- package/build/integration/builders-experimental.d.ts +0 -53
- package/build/integration/builders-experimental.js +0 -20
- package/build/integration/builders-experimental.js.map +0 -1
- package/build/integration/builders-trusted.d.ts +0 -69
- package/build/integration/builders-trusted.js +0 -52
- package/build/integration/builders-trusted.js.map +0 -1
- package/build/integration/builders.d.ts +0 -112
- package/build/integration/builders.js +0 -14
- package/build/integration/builders.js.map +0 -1
- package/build/integration/chunk-23MOLCVI.js +0 -1087
- package/build/integration/chunk-23MOLCVI.js.map +0 -1
- package/build/integration/chunk-6UOFHB2M.js +0 -386
- package/build/integration/chunk-6UOFHB2M.js.map +0 -1
- package/build/integration/chunk-L6JEDTVM.js +0 -7458
- package/build/integration/chunk-L6JEDTVM.js.map +0 -1
- package/build/integration/chunk-MNQWQ2MC.js +0 -809
- package/build/integration/chunk-MNQWQ2MC.js.map +0 -1
- package/build/integration/chunk-XN6SBNMI.js +0 -23758
- package/build/integration/chunk-XN6SBNMI.js.map +0 -1
- package/build/integration/index.d-BUVlSCHa.d.ts +0 -211
- package/build/integration/index.d-D4c48TR0.d.ts +0 -58
- package/build/integration/index.d.ts +0 -34
- package/build/integration/index.js +0 -498
- package/build/integration/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../astro-context-providers-extensions/src/integration.ts","../../../astro-context-providers-extensions/src/utils/getResources.ts","../../../astro-context-providers-extensions/src/utils/getClientResource.ts","../../../astro-context-providers-extensions/src/vite/client/build-config.ts","../../../astro-context-providers-extensions/src/vite/shared.ts","../../../astro-context-providers-extensions/src/vite/virtual-modules-plugin.ts","../../../astro-context-providers-extensions/src/vite/client/virtual-module.ts","../../../astro-context-providers-extensions/src/runtime/index.ts","../../../astro-context-providers-extensions/src/utils/getContextProvider.ts","../../../astro-context-providers-extensions/src/utils/getSupportedExtensions.ts","../../../astro-context-providers-extensions/src/vite/editor/virtual-module.ts","../../../astro-context-providers-extensions/src/utils/getEditorResource.ts","../../../astro-context-providers-extensions/src/vite/editor/build-config.ts","../../../astro-context-providers-extensions/src/vite/configs/build.ts","../../../astro-context-providers-extensions/src/vite/configs/dev.ts","../../../astro-context-providers-extensions/src/builders.ts","../../../astro-context-providers-extensions/src/index.ts","../../../astro-function-libraries-extensions/src/integration.ts","../../../astro-function-libraries-extensions/src/utils/getResources.ts","../../../astro-function-libraries-extensions/src/utils/getClientResource.ts","../../../astro-function-libraries-extensions/src/vite/client/virtual-module.ts","../../../astro-function-libraries-extensions/src/utils/getFunctionLibrary.ts","../../../astro-function-libraries-extensions/src/utils/getSupportedExtensions.ts","../../../astro-function-libraries-extensions/src/vite/configs/build.ts","../../../astro-function-libraries-extensions/src/vite/shared.ts","../../../astro-function-libraries-extensions/src/vite/virtual-modules-plugin.ts","../../../astro-function-libraries-extensions/src/vite/configs/dev.ts","../../../astro-function-libraries-extensions/src/runtime/index.ts","../../../astro-function-libraries-extensions/src/builders.ts","../../../astro-function-libraries-extensions/src/index.ts"],"sourcesContent":["import { ok } from 'node:assert';\nimport type { Model, WixIntegration } from '@wix/astro-core';\nimport type { DevCenterContextProvider } from '@wix/dev-center-schemas';\nimport type { RollupBuildOutput } from '@wix/vite-utils';\nimport type { ViteDevServer } from 'vite';\nimport { buildAll } from '@wix/vite-utils';\nimport { cloneDeep, merge } from 'es-toolkit/object';\nimport { createServer } from 'vite';\nimport { getResources } from './utils/getResources.js';\nimport { getSupportedExtensions } from './utils/getSupportedExtensions.js';\nimport { getBuildViteConfigs } from './vite/configs/build.js';\nimport { getDevViteConfig } from './vite/configs/dev.js';\n\nexport const createIntegration = (): WixIntegration => {\n let model: Model | null = null;\n let customBuildOutput: null | RollupBuildOutput = null;\n let customDevServer: null | ViteDevServer = null;\n\n return {\n name: '@wix/astro/context-providers',\n hooks: {\n 'wix:model:setup'({ model: newModel }) {\n model = newModel;\n },\n async 'wix:server:start'({\n createExtensionViteConfig,\n setupExtensionProxy,\n }) {\n ok(model);\n customDevServer = await createServer(\n getDevViteConfig({ createExtensionViteConfig, model })\n );\n\n await customDevServer.listen();\n\n setupExtensionProxy(customDevServer);\n },\n async 'astro:server:done'() {\n ok(customDevServer);\n await customDevServer.close();\n },\n async 'wix:build:setup'({ createExtensionViteConfig }) {\n ok(model);\n const extensions = getSupportedExtensions(model);\n\n if (extensions.length === 0) {\n return;\n }\n\n customBuildOutput = await buildAll(\n getBuildViteConfigs({ createExtensionViteConfig, model })\n );\n },\n async 'wix:app-manifest:setup'({\n staticsUrlPlaceholder,\n updateAppManifest,\n }) {\n ok(model);\n const extensions = getSupportedExtensions(model);\n\n const components: DevCenterContextProvider[] = [];\n\n for (const extension of extensions) {\n const buildContext = {\n baseUrl: staticsUrlPlaceholder,\n buildOutput: customBuildOutput,\n devServer: customDevServer,\n extension,\n };\n\n components.push({\n compId: extension.options.id,\n compType: 'EDITOR_CONTEXT_PROVIDER',\n compData: {\n editorContextProvider: merge(cloneDeep(extension.options), {\n resources: getResources(buildContext),\n }),\n },\n });\n }\n\n updateAppManifest({ components });\n },\n },\n };\n};\n","import type { DevCenterContextProviderResources } from '@wix/dev-center-schemas';\nimport type { BuildContext } from '../types.js';\nimport { getClientResource } from './getClientResource.js';\nimport { getEditorResource } from './getEditorResource.js';\n\nexport function getResources(buildContext: BuildContext) {\n return {\n client: getClientResource(buildContext),\n editor: getEditorResource(buildContext),\n } satisfies DevCenterContextProviderResources;\n}\n","import type { DevCenterContextProviderResource } from '@wix/dev-center-schemas';\nimport type { RollupBuildOutput } from '@wix/vite-utils';\nimport type { ViteDevServer } from 'vite';\nimport {\n appendToDevServerUrl,\n getAssetUrlForModuleId,\n getChunkForEntryName,\n} from '@wix/vite-utils';\nimport type { BuildContext, ContextProviderInternal } from '../types.js';\nimport { getEntryNameForClientComponent } from '../vite/client/build-config.js';\nimport { getVirtualModuleIdForClientComponent } from '../vite/client/virtual-module.js';\n\nexport function getClientResource({\n baseUrl,\n buildOutput,\n devServer,\n extension,\n}: BuildContext) {\n if (buildOutput) {\n return getClientResourceBuild({ baseUrl, buildOutput, extension });\n }\n\n if (devServer) {\n return getClientResourceDev({ baseUrl, devServer, extension });\n }\n\n throw new Error('Unknown error: no build output or vite dev server');\n}\n\nfunction getClientResourceBuild({\n baseUrl,\n buildOutput,\n extension,\n}: {\n baseUrl: string;\n buildOutput: RollupBuildOutput;\n extension: ContextProviderInternal;\n}) {\n const entryName = getEntryNameForClientComponent(extension.options.id);\n const chunk = getChunkForEntryName({ buildOutput, entryName });\n\n const componentFileName = chunk.fileName;\n\n return {\n url: appendToDevServerUrl(baseUrl, componentFileName),\n } satisfies DevCenterContextProviderResource;\n}\n\nfunction getClientResourceDev({\n baseUrl,\n devServer,\n extension,\n}: {\n baseUrl: string;\n devServer: ViteDevServer;\n extension: ContextProviderInternal;\n}) {\n const moduleId = getVirtualModuleIdForClientComponent(extension.options.id);\n\n return {\n url: getAssetUrlForModuleId({ baseUrl, devServer, moduleId }),\n } satisfies DevCenterContextProviderResource;\n}\n","import { join } from 'node:path';\nimport type { CreateExtensionViteConfig, Model } from '@wix/astro-core';\nimport type { ContextProviderInternal } from '../../types.js';\nimport { extensionName, externalDeps } from '../shared.js';\nimport { virtualModulesPlugin } from '../virtual-modules-plugin.js';\nimport { getVirtualModuleIdForClientComponent } from './virtual-module.js';\n\nexport const getClientBuildConfig = ({\n createExtensionViteConfig,\n extension: {\n options: { id },\n },\n model,\n}: {\n createExtensionViteConfig: CreateExtensionViteConfig;\n extension: ContextProviderInternal;\n model: Model;\n}) => {\n return createExtensionViteConfig({\n name: join(extensionName, 'client'),\n config: {\n build: {\n rollupOptions: {\n external: externalDeps,\n input: {\n [getEntryNameForClientComponent(id)]:\n getVirtualModuleIdForClientComponent(id),\n },\n preserveEntrySignatures: 'strict',\n },\n },\n plugins: [virtualModulesPlugin({ model })],\n },\n });\n};\n\nexport function getEntryNameForClientComponent(componentId: string): string {\n return `context-provider-${componentId}`;\n}\n","export const extensionName = 'context-providers';\n\nexport const externalDeps = [\n /^react$/,\n /^react\\/jsx-runtime$/,\n /^react\\/jsx-dev-runtime$/,\n /^react-dom$/,\n /^@wix\\/services-manager-react$/,\n];\n","import type { Model } from '@wix/astro-core';\nimport {\n createVirtualRouter,\n viteVirtualRouterPlugin,\n} from '@wix/vite-virtual-router-plugin';\nimport { registerClientVirtualRoute } from './client/virtual-module.js';\nimport { registerEditorVirtualRoute } from './editor/virtual-module.js';\n\nexport function virtualModulesPlugin({ model }: { model: Model }) {\n const router = createVirtualRouter();\n\n registerClientVirtualRoute({ model, router });\n registerEditorVirtualRoute({ model, router });\n\n return viteVirtualRouterPlugin({\n name: 'wix:context-provider-virtual-modules-plugin',\n router,\n });\n}\n","import type { Model } from '@wix/astro-core';\nimport type { ParamData, VirtualRouter } from '@wix/vite-virtual-router-plugin';\nimport { normalizePath } from '@wix/vite-utils';\nimport { outdent } from 'outdent';\nimport { hmrRuntimePath, sdkRuntimePath } from '../../runtime/index.js';\nimport { getContextProvider } from '../../utils/getContextProvider.js';\n\ninterface Params extends ParamData {\n id: string;\n}\n\nexport function getClientComponentBuildTemplate(componentPath: string) {\n return outdent`\n import { createContext } from '${sdkRuntimePath}';\n\n export const injectAccessTokenGetter = createContext();\n\n export { default } from '${componentPath}';\n export * from '${componentPath}';\n `;\n}\n\nexport function getClientComponentServeTemplate(\n componentPath: string,\n hookName: string\n) {\n return outdent`\n import { createContext } from '${sdkRuntimePath}';\n import { createComponentHmrWrapper } from '${hmrRuntimePath}';\n import OriginalComponent from '${componentPath}';\n import { ${hookName} as originalHook } from '${componentPath}';\n\n let WrappedComponent = OriginalComponent;\n\n if (import.meta.hot) {\n import.meta.hot.data.contextHook = originalHook;\n import.meta.hot.accept('${componentPath}', (newModule) => {\n if (newModule) {\n if (newModule['${hookName}']) {\n import.meta.hot.data.contextHook = newModule['${hookName}'];\n }\n\n if (newModule.default) {\n import.meta.hot.data.setComponent?.(newModule.default);\n }\n }\n });\n\n WrappedComponent = createComponentHmrWrapper(OriginalComponent, import.meta.hot.data);\n }\n\n export const injectAccessTokenGetter = createContext();\n export const ${hookName} = (...args) => {\n const hookToCall = import.meta.hot?.data.contextHook ?? originalHook;\n return hookToCall(...args);\n }\n export default WrappedComponent;\n `;\n}\n\nexport function getVirtualModuleIdForClientComponent(componentId: string) {\n return `wix/context-provider/${componentId}`;\n}\n\nexport function registerClientVirtualRoute({\n model,\n router,\n}: {\n model: Model;\n router: VirtualRouter;\n}) {\n router.route<Params>(\n getVirtualModuleIdForClientComponent(':id'),\n ({ id }, { command }) => {\n const extension = getContextProvider(model, id);\n\n if (extension) {\n const componentPath = normalizePath(extension.componentPath);\n if (command === 'build') {\n return getClientComponentBuildTemplate(componentPath);\n }\n\n return getClientComponentServeTemplate(\n componentPath,\n extension.options.resources.contextSpecifier.hook\n );\n }\n\n return null;\n }\n );\n}\n","import { normalizePath } from '@wix/vite-utils';\n\nexport const sdkRuntimePath = normalizePath(\n new URL(\n '../dependencies/astro-context-providers-extensions/browser-runtime/sdk.js',\n import.meta.url\n )\n);\n\nexport const hmrRuntimePath = normalizePath(\n new URL(\n '../dependencies/astro-context-providers-extensions/browser-runtime/hmr.js',\n import.meta.url\n )\n);\n","import type { Model } from '@wix/astro-core';\nimport type { ContextProviderInternal } from '../types.js';\nimport { getSupportedExtensions } from './getSupportedExtensions.js';\n\nexport function getContextProvider(model: Model, id: string) {\n return getSupportedExtensions(model).find(\n (ext): ext is ContextProviderInternal => ext.options.id === id\n );\n}\n","import { join } from 'node:path';\nimport type { BaseExtension, Model } from '@wix/astro-core';\nimport type { ContextProvider } from '../builders.js';\nimport type { SupportedExtension } from '../types.js';\n\nexport function getSupportedExtensions({\n extensions,\n srcDir,\n}: Model): SupportedExtension[] {\n const contextProviderExtensions = extensions.filter(filterContextProviders);\n\n return contextProviderExtensions.map((extension) => {\n return {\n ...extension,\n componentPath: join(srcDir, extension.options.resources.client.url),\n editorPreviewPath:\n extension.options.resources.editor?.url != null\n ? join(srcDir, extension.options.resources.editor.url)\n : null,\n };\n });\n}\n\nfunction filterContextProviders(\n extension: BaseExtension\n): extension is ContextProvider {\n return extension.type === 'ContextProvider';\n}\n","import type { Model } from '@wix/astro-core';\nimport type { ParamData, VirtualRouter } from '@wix/vite-virtual-router-plugin';\nimport { normalizePath } from '@wix/vite-utils';\nimport { getContextProvider } from '../../utils/getContextProvider.js';\nimport {\n getClientComponentBuildTemplate,\n getClientComponentServeTemplate,\n} from '../client/virtual-module.js';\n\ninterface Params extends ParamData {\n id: string;\n}\n\nexport function getVirtualModuleIdForEditorComponent(\n componentId: string\n): string {\n return `wix/context-provider-editor/${componentId}`;\n}\n\nexport function registerEditorVirtualRoute({\n model,\n router,\n}: {\n model: Model;\n router: VirtualRouter;\n}) {\n router.route<Params>(\n getVirtualModuleIdForEditorComponent(':id'),\n ({ id }, { command }) => {\n const extension = getContextProvider(model, id);\n\n if (extension?.editorPreviewPath != null) {\n const componentPath = normalizePath(extension.editorPreviewPath);\n if (command === 'build') {\n return getClientComponentBuildTemplate(componentPath);\n }\n\n return getClientComponentServeTemplate(\n componentPath,\n extension.options.resources.contextSpecifier.hook\n );\n }\n\n return null;\n }\n );\n}\n","import type { DevCenterContextProviderResource } from '@wix/dev-center-schemas';\nimport type { RollupBuildOutput } from '@wix/vite-utils';\nimport type { ViteDevServer } from 'vite';\nimport {\n appendToDevServerUrl,\n getAssetUrlForModuleId,\n getChunkForEntryName,\n} from '@wix/vite-utils';\nimport type { BuildContext, ContextProviderInternal } from '../types.js';\nimport { getEntryNameForEditorComponent } from '../vite/editor/build-config.js';\nimport { getVirtualModuleIdForEditorComponent } from '../vite/editor/virtual-module.js';\n\nexport function getEditorResource({\n baseUrl,\n buildOutput,\n devServer,\n extension,\n}: BuildContext) {\n if (extension.editorPreviewPath == null) {\n return;\n }\n\n if (buildOutput) {\n return getEditorResourceBuild({ baseUrl, buildOutput, extension });\n }\n\n if (devServer) {\n return getEditorResourceDev({ baseUrl, devServer, extension });\n }\n\n throw new Error('Unknown error: no build output or vite dev server');\n}\n\nfunction getEditorResourceBuild({\n baseUrl,\n buildOutput,\n extension,\n}: {\n baseUrl: string;\n buildOutput: RollupBuildOutput;\n extension: ContextProviderInternal;\n}) {\n const entryName = getEntryNameForEditorComponent(extension.options.id);\n const chunk = getChunkForEntryName({ buildOutput, entryName });\n\n const componentFileName = chunk.fileName;\n\n return {\n url: appendToDevServerUrl(baseUrl, componentFileName),\n } satisfies DevCenterContextProviderResource;\n}\n\nfunction getEditorResourceDev({\n baseUrl,\n devServer,\n extension,\n}: {\n baseUrl: string;\n devServer: ViteDevServer;\n extension: ContextProviderInternal;\n}) {\n const moduleId = getVirtualModuleIdForEditorComponent(extension.options.id);\n\n return {\n url: getAssetUrlForModuleId({ baseUrl, devServer, moduleId }),\n } satisfies DevCenterContextProviderResource;\n}\n","import { join } from 'node:path';\nimport type { CreateExtensionViteConfig, Model } from '@wix/astro-core';\nimport type { ContextProviderInternal } from '../../types.js';\nimport { extensionName, externalDeps } from '../shared.js';\nimport { virtualModulesPlugin } from '../virtual-modules-plugin.js';\nimport { getVirtualModuleIdForEditorComponent } from './virtual-module.js';\n\nexport function getEntryNameForEditorComponent(componentId: string): string {\n return `component-${componentId}-editor`;\n}\n\nexport const getEditorBuildConfig = ({\n createExtensionViteConfig,\n extension: {\n options: { id },\n },\n model,\n}: {\n createExtensionViteConfig: CreateExtensionViteConfig;\n extension: ContextProviderInternal;\n model: Model;\n}) => {\n return createExtensionViteConfig({\n name: join(extensionName, 'editor'),\n config: {\n build: {\n rollupOptions: {\n external: externalDeps,\n input: {\n [getEntryNameForEditorComponent(id)]:\n getVirtualModuleIdForEditorComponent(id),\n },\n preserveEntrySignatures: 'strict',\n },\n },\n plugins: [virtualModulesPlugin({ model })],\n },\n });\n};\n","import type { CreateExtensionViteConfig, Model } from '@wix/astro-core';\nimport type { InlineConfig } from 'vite';\nimport { getSupportedExtensions } from '../../utils/getSupportedExtensions.js';\nimport { getClientBuildConfig } from '../client/build-config.js';\nimport { getEditorBuildConfig } from '../editor/build-config.js';\n\nexport function getBuildViteConfigs({\n createExtensionViteConfig,\n model,\n}: {\n createExtensionViteConfig: CreateExtensionViteConfig;\n model: Model;\n}) {\n const extensions = getSupportedExtensions(model);\n\n return extensions.reduce<InlineConfig[]>((acc, extension) => {\n const { editorPreviewPath } = extension;\n\n acc.push(\n getClientBuildConfig({\n createExtensionViteConfig,\n extension,\n model,\n })\n );\n\n if (editorPreviewPath != null) {\n acc.push(\n getEditorBuildConfig({\n createExtensionViteConfig,\n extension,\n model,\n })\n );\n }\n return acc;\n }, []);\n}\n","import type { CreateExtensionViteConfig, Model } from '@wix/astro-core';\nimport externalize from 'vite-plugin-externalize-dependencies';\nimport { hmrRuntimePath, sdkRuntimePath } from '../../runtime/index.js';\nimport { getSupportedExtensions } from '../../utils/getSupportedExtensions.js';\nimport { extensionName, externalDeps } from '../shared.js';\nimport { virtualModulesPlugin } from '../virtual-modules-plugin.js';\n\nexport function getDevViteConfig({\n createExtensionViteConfig,\n model,\n}: {\n createExtensionViteConfig: CreateExtensionViteConfig;\n model: Model;\n}) {\n const extensionEntries = getSupportedExtensions(model)\n .map((ext) => [\n ext.componentPath,\n ...(ext.editorPreviewPath != null ? [ext.editorPreviewPath] : []),\n ])\n .flat();\n\n return createExtensionViteConfig({\n name: extensionName,\n config: {\n optimizeDeps: {\n entries: [...extensionEntries, sdkRuntimePath, hmrRuntimePath],\n },\n plugins: [\n externalize({\n externals: externalDeps,\n }),\n virtualModulesPlugin({ model }),\n ],\n },\n });\n}\n","import type { BaseExtension } from '@wix/astro-core';\n\nexport interface ContextProvider extends BaseExtension {\n type: 'ContextProvider';\n options: Options;\n}\n\ninterface Options {\n id: string;\n type: string;\n context?: Record<string, unknown>;\n data?: Record<string, unknown>;\n resources: {\n [key: string]: unknown;\n client: {\n [key: string]: unknown;\n url: string;\n };\n contextSpecifier: {\n [key: string]: unknown;\n hook: string;\n };\n editor?: {\n [key: string]: unknown;\n url: string;\n };\n };\n}\n\nexport function contextProvider(options: Options): ContextProvider {\n return {\n type: 'ContextProvider',\n options,\n };\n}\n","export { createIntegration as default } from './integration.js';\n\n// builders\nexport { contextProvider } from './builders.js';\n","import { ok } from 'node:assert';\nimport type { Model, WixIntegration } from '@wix/astro-core';\nimport type { DevCenterFunctionLibrary } from '@wix/dev-center-schemas';\nimport type { RollupBuildOutput } from '@wix/vite-utils';\nimport type { ViteDevServer } from 'vite';\nimport { buildAll } from '@wix/vite-utils';\nimport { cloneDeep, merge } from 'es-toolkit/object';\nimport { createServer } from 'vite';\nimport { getResources } from './utils/getResources.js';\nimport { getSupportedExtensions } from './utils/getSupportedExtensions.js';\nimport { getBuildViteConfigs } from './vite/configs/build.js';\nimport { getDevViteConfig } from './vite/configs/dev.js';\n\nexport const createIntegration = (): WixIntegration => {\n let model: Model | null = null;\n let customBuildOutput: null | RollupBuildOutput = null;\n let customDevServer: null | ViteDevServer = null;\n\n return {\n name: '@wix/astro/function-libraries',\n hooks: {\n 'wix:model:setup'({ model: newModel }) {\n model = newModel;\n },\n async 'wix:server:start'({\n createExtensionViteConfig,\n setupExtensionProxy,\n }) {\n ok(model);\n customDevServer = await createServer(\n getDevViteConfig({ createExtensionViteConfig, model })\n );\n\n await customDevServer.listen();\n\n setupExtensionProxy(customDevServer);\n },\n async 'astro:server:done'() {\n ok(customDevServer);\n await customDevServer.close();\n },\n async 'wix:build:setup'({ createExtensionViteConfig }) {\n ok(model);\n const extensions = getSupportedExtensions(model);\n\n if (extensions.length === 0) {\n return;\n }\n\n customBuildOutput = await buildAll(\n getBuildViteConfigs({ createExtensionViteConfig, model })\n );\n },\n async 'wix:app-manifest:setup'({\n staticsUrlPlaceholder,\n updateAppManifest,\n }) {\n ok(model);\n const extensions = getSupportedExtensions(model);\n\n const components: DevCenterFunctionLibrary[] = [];\n\n for (const extension of extensions) {\n const buildContext = {\n baseUrl: staticsUrlPlaceholder,\n buildOutput: customBuildOutput,\n devServer: customDevServer,\n extension,\n };\n\n components.push({\n compId: extension.options.id,\n compType: 'EDITOR_FUNCTION_LIBRARY',\n compData: {\n editorFunctionLibrary: merge(cloneDeep(extension.options), {\n resources: getResources(buildContext),\n }),\n },\n });\n }\n\n updateAppManifest({ components });\n },\n },\n };\n};\n","import type { DevCenterFunctionLibraryResources } from '@wix/dev-center-schemas';\nimport type { BuildContext } from '../types.js';\nimport { getClientResource } from './getClientResource.js';\n\nexport function getResources(buildContext: BuildContext) {\n return {\n client: getClientResource(buildContext),\n } satisfies DevCenterFunctionLibraryResources;\n}\n","import type { DevCenterFunctionLibraryResource } from '@wix/dev-center-schemas';\nimport type { RollupBuildOutput } from '@wix/vite-utils';\nimport type { ViteDevServer } from 'vite';\nimport {\n appendToDevServerUrl,\n getAssetUrlForModuleId,\n getChunkForEntryName,\n} from '@wix/vite-utils';\nimport type { BuildContext, FunctionLibraryInternal } from '../types.js';\nimport { getVirtualModuleIdForClientComponent } from '../vite/client/virtual-module.js';\nimport { getEntryNameForClientComponent } from '../vite/configs/build.js';\n\nexport function getClientResource({\n baseUrl,\n buildOutput,\n devServer,\n extension,\n}: BuildContext) {\n if (buildOutput) {\n return getClientResourceBuild({ baseUrl, buildOutput, extension });\n }\n\n if (devServer) {\n return getClientResourceDev({ baseUrl, devServer, extension });\n }\n\n throw new Error('Unknown error: no build output or vite dev server');\n}\n\nfunction getClientResourceBuild({\n baseUrl,\n buildOutput,\n extension,\n}: {\n baseUrl: string;\n buildOutput: RollupBuildOutput;\n extension: FunctionLibraryInternal;\n}) {\n const entryName = getEntryNameForClientComponent(extension.options.id);\n const chunk = getChunkForEntryName({ buildOutput, entryName });\n\n const componentFileName = chunk.fileName;\n\n return {\n url: appendToDevServerUrl(baseUrl, componentFileName),\n } satisfies DevCenterFunctionLibraryResource;\n}\n\nfunction getClientResourceDev({\n baseUrl,\n devServer,\n extension,\n}: {\n baseUrl: string;\n devServer: ViteDevServer;\n extension: FunctionLibraryInternal;\n}) {\n const moduleId = getVirtualModuleIdForClientComponent(extension.options.id);\n\n return {\n url: getAssetUrlForModuleId({ baseUrl, devServer, moduleId }),\n } satisfies DevCenterFunctionLibraryResource;\n}\n","import type { Model } from '@wix/astro-core';\nimport type { ParamData, VirtualRouter } from '@wix/vite-virtual-router-plugin';\nimport { normalizePath } from '@wix/vite-utils';\nimport { outdent } from 'outdent';\n// import { hmrRuntimePath, sdkRuntimePath } from '../../runtime/index.js';\nimport { getFunctionLibrary } from '../../utils/getFunctionLibrary.js';\n\ninterface Params extends ParamData {\n id: string;\n}\n\nexport function getVirtualModuleIdForClientComponent(componentId: string) {\n return `wix/function-library/${componentId}`;\n}\n\nexport function registerClientVirtualRoute({\n model,\n router,\n}: {\n model: Model;\n router: VirtualRouter;\n}) {\n router.route<Params>(\n getVirtualModuleIdForClientComponent(':id'),\n ({ id }, { command }) => {\n const extension = getFunctionLibrary(model, id);\n\n if (extension) {\n const componentPath = normalizePath(extension.componentPath);\n if (command === 'build') {\n return getClientComponentBuildTemplate(componentPath);\n }\n\n return getClientComponentServeTemplate(\n componentPath,\n Object.keys(extension.options.functions)\n );\n }\n\n return null;\n }\n );\n}\n\nfunction getClientComponentBuildTemplate(componentPath: string) {\n return outdent`\n export * from '${componentPath}';\n `;\n}\n\nfunction getClientComponentServeTemplate(\n componentPath: string,\n functionsNames: string[]\n) {\n return outdent`\n import * as originalFunctions from '${componentPath}';\n\n if (import.meta.hot) {\n import.meta.hot.data.functionLibrary = {};\n import.meta.hot.accept('${componentPath}', (newModule) => {\n if (newModule) {\n Object.entries(newModule).forEach((name, fn) => {\n import.meta.hot.data.functionLibrary[name] = fn;\n })\n if (newModule.default) {\n import.meta.hot.data.setComponent?.(newModule?.default);\n }\n }\n });\n }\n\n ${functionsNames\n .map(\n (name) => outdent`\n export const ${name} = (...args) => {\n const fnToCall = import.meta.hot?.data.functionLibrary['${name}'] ?? originalFunctions['${name}'];\n return fnToCall(...args);\n }\n `\n )\n .join('\\n')}\n\n export * from '${componentPath}';\n `;\n}\n","import type { Model } from '@wix/astro-core';\nimport type { FunctionLibraryInternal } from '../types.js';\nimport { getSupportedExtensions } from './getSupportedExtensions.js';\n\nexport function getFunctionLibrary(model: Model, id: string) {\n return getSupportedExtensions(model).find(\n (ext): ext is FunctionLibraryInternal => ext.options.id === id\n );\n}\n","import { join } from 'node:path';\nimport type { BaseExtension, Model } from '@wix/astro-core';\nimport type { FunctionLibrary } from '../builders.js';\nimport type { SupportedExtension } from '../types.js';\n\nexport function getSupportedExtensions({\n extensions,\n srcDir,\n}: Model): SupportedExtension[] {\n const functionLibraryExtensions = extensions.filter(filterFunctionLibrary);\n\n return functionLibraryExtensions.map((extension) => {\n return {\n ...extension,\n componentPath: join(srcDir, extension.options.resources.client.url),\n };\n });\n}\n\nfunction filterFunctionLibrary(\n extension: BaseExtension\n): extension is FunctionLibrary {\n return extension.type === 'FunctionLibrary';\n}\n","import { join } from 'node:path';\nimport type { CreateExtensionViteConfig, Model } from '@wix/astro-core';\nimport type { InlineConfig } from 'vite';\nimport { getSupportedExtensions } from '../../utils/getSupportedExtensions.js';\nimport { getVirtualModuleIdForClientComponent } from '../client/virtual-module.js';\nimport { extensionName, externalDeps } from '../shared.js';\nimport { virtualModulesPlugin } from '../virtual-modules-plugin.js';\n\nexport function getBuildViteConfigs({\n createExtensionViteConfig,\n model,\n}: {\n createExtensionViteConfig: CreateExtensionViteConfig;\n model: Model;\n}) {\n const extensions = getSupportedExtensions(model);\n\n return extensions.reduce<InlineConfig[]>((acc, extension) => {\n const {\n options: { id: extensionId },\n } = extension;\n\n const input = {\n [getEntryNameForClientComponent(extensionId)]:\n getVirtualModuleIdForClientComponent(extensionId),\n };\n\n acc.push(\n createExtensionViteConfig({\n name: join(extensionName, 'client'),\n config: {\n build: {\n rollupOptions: {\n external: externalDeps,\n input,\n preserveEntrySignatures: 'strict',\n },\n },\n plugins: [virtualModulesPlugin({ model })],\n },\n })\n );\n\n return acc;\n }, []);\n}\n\nexport function getEntryNameForClientComponent(componentId: string): string {\n return `component-${componentId}`;\n}\n","export const extensionName = 'function-libraries';\n\nexport const externalDeps = [/^@wix\\/services-manager-react$/];\n","import type { Model } from '@wix/astro-core';\nimport {\n createVirtualRouter,\n viteVirtualRouterPlugin,\n} from '@wix/vite-virtual-router-plugin';\nimport { registerClientVirtualRoute } from './client/virtual-module.js';\n\nexport function virtualModulesPlugin({ model }: { model: Model }) {\n const router = createVirtualRouter();\n\n registerClientVirtualRoute({ model, router });\n\n return viteVirtualRouterPlugin({\n name: 'wix:function-library-virtual-modules-plugin',\n router,\n });\n}\n","import type { CreateExtensionViteConfig, Model } from '@wix/astro-core';\nimport externalize from 'vite-plugin-externalize-dependencies';\nimport { sdkRuntimePath } from '../../runtime/index.js';\nimport { getSupportedExtensions } from '../../utils/getSupportedExtensions.js';\nimport { extensionName, externalDeps } from '../shared.js';\nimport { virtualModulesPlugin } from '../virtual-modules-plugin.js';\n\nexport function getDevViteConfig({\n createExtensionViteConfig,\n model,\n}: {\n createExtensionViteConfig: CreateExtensionViteConfig;\n model: Model;\n}) {\n const extensionEntries = getSupportedExtensions(model)\n .map((ext) => [ext.componentPath])\n .flat();\n\n return createExtensionViteConfig({\n name: extensionName,\n config: {\n optimizeDeps: {\n entries: [...extensionEntries, sdkRuntimePath],\n },\n plugins: [\n externalize({\n externals: externalDeps,\n }),\n virtualModulesPlugin({ model }),\n ],\n },\n });\n}\n","import { normalizePath } from '@wix/vite-utils';\n\nexport const sdkRuntimePath = normalizePath(\n new URL(\n '../dependencies/astro-function-libraries-extensions/browser-runtime/sdk.js',\n import.meta.url\n )\n);\n","import type { BaseExtension } from '@wix/astro-core';\n\nexport interface FunctionLibrary extends BaseExtension {\n type: 'FunctionLibrary';\n options: Options;\n}\n\ninterface Options {\n id: string;\n type: string;\n functions: Record<string, unknown>;\n resources: {\n [key: string]: unknown;\n client: {\n [key: string]: unknown;\n url: string;\n };\n };\n}\n\nexport function functionLibrary(options: Options): FunctionLibrary {\n return {\n type: 'FunctionLibrary',\n options,\n };\n}\n","export { createIntegration as default } from './integration.js';\n\n// builders\nexport { functionLibrary } from './builders.js';\n"],"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G,KAAK;AACR,cAAM,aAAaG,wBAAuB,KAAK;AAE/C,YAAI,WAAW,WAAW,GAAG;AAC3B;AAAA,QACF;AAEA,4BAAoB,MAAM;AAAA,UACxBC,qBAAoB,EAAE,2BAA2B,MAAM,CAAC;AAAA,QAC1D;AAAA,MACF;AAAA,MACA,MAAM,yBAAyB;AAAA,QAC7B;AAAA,QACA;AAAA,MACF,GAAG;AACD,QAAAJ,IAAG,KAAK;AACR,cAAM,aAAaG,wBAAuB,KAAK;AAE/C,cAAM,aAAyC,CAAC;AAEhD,mBAAW,aAAa,YAAY;AAClC,gBAAM,eAAe;AAAA,YACnB,SAAS;AAAA,YACT,aAAa;AAAA,YACb,WAAW;AAAA,YACX;AAAA,UACF;AAEA,qBAAW,KAAK;AAAA,YACd,QAAQ,UAAU,QAAQ;AAAA,YAC1B,UAAU;AAAA,YACV,UAAU;AAAA,cACR,uBAAuB,MAAM,UAAU,UAAU,OAAO,GAAG;AAAA,gBACzD,WAAWE,cAAa,YAAY;AAAA,cACtC,CAAC;AAAA,YACH;AAAA,UACF,CAAC;AAAA,QACH;AAEA,0BAAkB,EAAE,WAAW,CAAC;AAAA,MAClC;AAAA,IACF;AAAA,EACF;AACF;;;AWrFA;AAoBO,SAAS,gBAAgB,SAAmC;AACjE,SAAO;AAAA,IACL,MAAM;AAAA,IACN;AAAA,EACF;AACF;;;ACzBA;","names":["join","join","join","join","ok","createServer","join","getSupportedExtensions","getSupportedExtensions","getVirtualModuleIdForClientComponent","registerClientVirtualRoute","getClientComponentBuildTemplate","getClientComponentServeTemplate","join","extensionName","externalDeps","virtualModulesPlugin","registerClientVirtualRoute","getBuildViteConfigs","getSupportedExtensions","getEntryNameForClientComponent","getVirtualModuleIdForClientComponent","join","extensionName","externalDeps","virtualModulesPlugin","getClientResource","getClientResourceBuild","getClientResourceDev","getEntryNameForClientComponent","getVirtualModuleIdForClientComponent","getResources","getClientResource","sdkRuntimePath","getDevViteConfig","getSupportedExtensions","extensionName","sdkRuntimePath","externalDeps","virtualModulesPlugin","createIntegration","ok","createServer","getDevViteConfig","getSupportedExtensions","getBuildViteConfigs","getResources"]}
|