@emailmaker/emailmaker 1.0.107-dev.3 → 1.0.107-dev.5
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/README.md +1 -1
- package/cli/dist/lib/cli/project.js +2 -16
- package/cli/dist/lib/config.js +20 -29
- package/cli/dist/lib/local-test.js +3 -19
- package/cli/dist/lib/paths.js +11 -0
- package/cli/dist/lib/resolveNpmSpawn.d.ts +20 -0
- package/cli/dist/lib/resolveNpmSpawn.js +71 -0
- package/cli/dist/lib/template-engine/context/pluginPackageJsonData.js +21 -19
- package/cli/dist/lib/template-engine/context/standVitePackageJsonData.js +7 -8
- package/cli/dist/lib/template-engine/resolveVariantDir.d.ts +5 -1
- package/cli/dist/lib/template-engine/resolveVariantDir.js +22 -0
- package/cli/dist/lib/templates/shared/i18n.js +2 -2
- package/cli/dist/lib/templates/shared/paths.js +3 -4
- package/cli/dist/lib/types/package-config.d.ts +1 -0
- package/cli/lib/cli/project.ts +2 -18
- package/cli/lib/config.ts +19 -30
- package/cli/lib/local-test.ts +3 -22
- package/cli/lib/paths.ts +15 -0
- package/cli/lib/resolveNpmSpawn.ts +72 -0
- package/cli/lib/template-engine/buildStandIndexHtml.test.ts +1 -0
- package/cli/lib/template-engine/context/pluginPackageJsonData.ts +23 -23
- package/cli/lib/template-engine/context/standVitePackageJsonData.ts +7 -12
- package/cli/lib/template-engine/pluginEtaParity.test.ts +1 -0
- package/cli/lib/template-engine/resolveVariantDir.ts +22 -0
- package/cli/lib/template-engine/standAdvancedViteDevHostEta.test.ts +4 -3
- package/cli/lib/template-engine/standWebpackDevHostEta.test.ts +7 -6
- package/cli/lib/templates/shared/i18n.ts +2 -2
- package/cli/lib/templates/shared/paths.ts +3 -4
- package/cli/lib/types/package-config.ts +1 -0
- package/cli/package.json +1 -1
- package/cli/project-templates/plugin/assets/vite/{plugin-build.config.mjs → plugin-build.config.ts} +7 -5
- package/cli/project-templates/plugin/assets/vite/{sandbox-build.config.mjs → sandbox-build.config.ts} +7 -5
- package/cli/project-templates/plugin/assets/webpack/{plugin-build.legacy.module.cjs → plugin-build.legacy.module.ts} +20 -7
- package/cli/project-templates/plugin/assets/webpack/{plugin-build.legacy.umd.cjs → plugin-build.legacy.umd.ts} +20 -7
- package/cli/project-templates/plugin/assets/webpack/{plugin-build.modern.module.cjs → plugin-build.modern.module.ts} +9 -4
- package/cli/project-templates/plugin/assets/webpack/{plugin-build.modern.umd.cjs → plugin-build.modern.umd.ts} +9 -4
- package/cli/project-templates/plugin/assets/webpack/{sandbox-build.config.cjs → sandbox-build.config.ts} +13 -3
- package/cli/project-templates/plugin/bundler-vite/release.html.eta +1 -0
- package/cli/project-templates/plugin/bundler-webpack/public/release.html.eta +1 -0
- package/cli/project-templates/plugin/shared-base/public/demo/product-1.svg +10 -0
- package/cli/project-templates/plugin/shared-base/public/demo/product-2.svg +10 -0
- package/cli/project-templates/plugin/shared-base/scripts/build-runner.ts +22 -0
- package/cli/project-templates/plugin/shared-base/scripts/build-types.ts +17 -0
- package/cli/project-templates/plugin/shared-base/scripts/clean.ts +16 -0
- package/cli/project-templates/plugin/shared-base/scripts/dev-runner.ts +52 -0
- package/cli/project-templates/plugin/shared-base/scripts/npmRun.ts +61 -0
- package/cli/project-templates/plugin/shared-base/scripts/release-runner.ts +18 -0
- package/cli/project-templates/plugin/shared-base/scripts/scriptRuntime.ts +10 -0
- package/cli/project-templates/plugin/shared-base/src/dev/hostApp.tsx.eta +1 -0
- package/cli/project-templates/plugin/shared-base/src/dev-release.tsx.eta +1 -0
- package/cli/project-templates/plugin/shared-base/src/dev.tsx.eta +1 -1
- package/cli/project-templates/shared/partials/plugin-dev-host-app-advanced.eta +93 -0
- package/cli/project-templates/shared/partials/plugin-dev-host-app-minimal.eta +54 -0
- package/cli/project-templates/shared/partials/plugin-dev-tsx-advanced.eta +3 -2
- package/cli/project-templates/shared/partials/plugin-dev-tsx-debug.eta +18 -0
- package/cli/project-templates/shared/partials/plugin-dev-tsx-release.eta +33 -0
- package/cli/project-templates/shared/partials/plugin-dev-tsx-runtime-helpers.eta +8 -8
- package/cli/project-templates/shared/partials/plugin-index-ts.eta +0 -1
- package/cli/project-templates/shared/partials/plugin-vite-dev-host.eta +9 -5
- package/cli/project-templates/shared/partials/plugin-vite-plugin-build.eta +7 -5
- package/cli/project-templates/shared/partials/plugin-vite-release-html.eta +12 -0
- package/cli/project-templates/shared/partials/plugin-vite-sandbox-build.eta +7 -5
- package/cli/project-templates/shared/partials/plugin-webpack-dev-host-legacy.eta +12 -5
- package/cli/project-templates/shared/partials/plugin-webpack-dev-host-modern.eta +13 -6
- package/cli/project-templates/shared/partials/plugin-webpack-release-html.eta +12 -0
- package/cli/project-templates/shared/partials/plugin-webpack-sandbox-build.eta +13 -3
- package/cli/project-templates/shared/partials/plugin-wp-legacy-module.eta +28 -10
- package/cli/project-templates/shared/partials/plugin-wp-legacy-umd.eta +28 -10
- package/cli/project-templates/shared/partials/plugin-wp-modern-module.eta +9 -4
- package/cli/project-templates/shared/partials/plugin-wp-modern-umd.eta +9 -4
- package/cli/project-templates/shared/partials/stand-dev-host-vite-memory.eta +3 -3
- package/cli/project-templates/shared/partials/stand-dev-host-vite-subpath.eta +8 -4
- package/cli/project-templates/shared/partials/stand-dev-host-vite-umd.eta +5 -5
- package/cli/project-templates/shared/partials/stand-dev-host-vite.eta +3 -3
- package/cli/project-templates/shared/partials/stand-dev-host-webpack-subpath.eta +8 -4
- package/cli/project-templates/shared/partials/stand-dev-host-webpack-umd.eta +9 -3
- package/cli/project-templates/shared/partials/stand-dev-host-webpack.eta +8 -4
- package/cli/project-templates/shared/partials/stand-dev-storage-middleware.eta +370 -0
- package/cli/project-templates/shared/stand-vite-base/config/lib/createViteStandConfig.ts +80 -0
- package/cli/project-templates/shared/stand-vite-base/scripts/devStorageMiddleware.ts.eta +1 -0
- package/cli/project-templates/shared/stand-webpack-base/config/lib/{createWebpackStandConfig.cjs → createWebpackStandConfig.ts} +31 -19
- package/cli/project-templates/{stand/advanced/umd/vite/config/lib/umdServeMiddleware.mjs → shared/stand-webpack-base/config/lib/umdServeMiddleware.ts} +19 -11
- package/cli/project-templates/shared/stand-webpack-base/scripts/devStorageMiddleware.ts.eta +1 -0
- package/cli/project-templates/stand/advanced/memory-usage/vite/config/lib/{createMemoryUsageStandConfig.mjs → createMemoryUsageStandConfig.ts} +25 -20
- package/cli/project-templates/stand/advanced/umd/vite/config/lib/umdServeMiddleware.ts +68 -0
- package/cli/project-templates/stand/react-adapter/webpack/README.md.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/config/dev-host.ts.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/package.json.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/public/index.html.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/src/dev/editorConfig.ts.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/src/dev/email.html.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/src/dev/getAuthToken.ts.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/src/dev/oauthCredentials.ts +9 -0
- package/cli/project-templates/stand/react-adapter/webpack/src/dev/storageProvider.ts.eta +1 -0
- package/cli/project-templates/stand/react-adapter/webpack/src/index.tsx.eta +1 -0
- package/cli/scripts/cli-matrix-smoke.ts +19 -10
- package/cli/scripts/verify-global-cli.ts +1 -1
- package/cli/scripts/vite-plugin-version-matrix.ts +299 -0
- package/cli/tsconfig.json +2 -2
- package/emailmaker-core.ed344c04.js +1 -0
- package/emailmaker-esm.js +788 -153
- package/emailmaker.d.ts +32 -0
- package/emailmaker.js +4 -4
- package/iframe/js/amp.BGJMqoms.js +1 -1
- package/iframe/js/chunk.oX6nCJbK.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.BSaCN7eK.js +1 -1
- package/iframe/js/sanitize-html.Dy7Uwo8P.js +1 -1
- package/images/integrations/activecampaign.svg +4 -0
- package/images/integrations/bento.svg +9 -0
- package/images/integrations/brevo.svg +7 -0
- package/images/integrations/campaign_monitor.svg +10 -0
- package/images/integrations/constant_contact.svg +24 -0
- package/images/integrations/dotdigital.svg +144 -0
- package/images/integrations/getresponse.svg +23 -0
- package/images/integrations/hubspot.svg +3 -0
- package/images/integrations/klaviyo.svg +10 -0
- package/images/integrations/mailchimp.svg +9 -0
- package/images/integrations/salesforce.svg +20 -0
- package/js/browser-image-compression.js +9 -0
- package/package.json +2 -5
- package/runtime/@ant-design/cssinjs/index.js +1 -1
- package/runtime/@ant-design/icons/index.js +1 -1
- package/runtime/@ant-design/pro-layout/index.js +1 -1
- package/runtime/README.md +13 -13
- package/runtime/antd/index.js +1 -1
- package/runtime/app-core/index.js +1 -2
- package/runtime/classnames/index.js +1 -1
- package/runtime/core/index.js +6 -6
- package/runtime/dayjs/index.js +1 -1
- package/runtime/di/index.js +1 -2
- package/runtime/disposable/index.js +1 -2
- package/runtime/errors-runtime/index.js +1 -2
- package/runtime/guid/index.js +1 -2
- package/runtime/index.js +2 -4
- package/runtime/package.json +2 -3
- package/runtime/prop-types/index.js +1 -1
- package/runtime/react/index.js +1 -1
- package/runtime/react/jsx-dev-runtime/index.js +1 -1
- package/runtime/react/jsx-runtime/index.js +1 -1
- package/runtime/react-dom/client/index.js +1 -1
- package/runtime/react-dom/index.js +1 -1
- package/runtime/react-router-dom/index.js +1 -1
- package/runtime/uuid/index.js +1 -1
- package/static/amd/{8fc2a596.js → 19aeb269.js} +88 -88
- package/static/core/192ec827.js +1 -0
- package/static/core/22c1de2e2.js +1 -0
- package/static/core/24faedf0.js +1 -0
- package/static/core/29231645.js +1 -0
- package/static/core/2a3177fc2.js +1 -0
- package/static/core/346aabd2.js +3 -0
- package/static/core/3b800ed6.js +1 -0
- package/static/core/3e840e90.js +1 -0
- package/static/core/40cc9fd7.js +1 -0
- package/static/core/421bdec22.js +1 -0
- package/static/core/50ff48bc.js +4 -0
- package/static/core/5282795d2.js +6 -0
- package/static/core/555e2e2f2.js +903 -0
- package/static/core/563a283d.js +1 -0
- package/static/core/5d47e095.js +47 -0
- package/static/core/5f574386.js +1 -0
- package/static/core/67a41193.js +1 -0
- package/static/core/698dace4.js +7 -0
- package/static/core/6b648e2d.js +1 -0
- package/static/core/7629adfd.js +1 -0
- package/static/core/7717f2932.js +3 -0
- package/static/core/776cb34a.js +1 -0
- package/static/core/78a1e31e.js +1 -0
- package/static/core/7d56d643.js +1 -0
- package/static/core/841752212.js +40 -0
- package/static/core/8477e97e.js +1 -0
- package/static/core/8756d562.js +1 -0
- package/static/core/91d328d8.js +1 -0
- package/static/core/9270dbb6.js +6 -0
- package/static/core/96371334.js +566 -0
- package/static/core/9b9ddaef2.js +168 -0
- package/static/core/af1da4b4.js +1 -0
- package/static/core/b5096b152.js +471 -0
- package/static/core/bde6775a.js +1 -0
- package/static/core/bf1b888c.js +4 -0
- package/static/core/c3747df72.js +598 -0
- package/static/core/cec8d739.js +11 -0
- package/static/core/cfac3d32.js +1 -0
- package/static/core/d21c95cf2.js +1 -0
- package/static/core/dbd9ca52.js +1 -0
- package/static/core/dc590181.js +1 -0
- package/static/core/e0039d55.js +1 -0
- package/static/core/e4071c1a.js +4 -0
- package/static/core/ef87b75c.js +41 -0
- package/static/core/f47701f32.js +20 -0
- package/static/core/f83d7ac42.js +3 -0
- package/static/core/fcc67e6b.js +1 -0
- package/static/core/fd40d85c.js +1 -0
- package/static/core/fe638847.js +1 -0
- package/static/esm/{e8401d17.js → 203c9644.js} +3 -3
- package/static/esm/4b679053.js +27 -0
- package/static/esm/{b273a6c2.js → f31a26c6.js} +1 -1
- package/static/runtime/disposable-CD74igiJ.js +1 -0
- package/static/runtime/guid-C0wuVR8v.js +1 -0
- package/vite/index.d.ts +17 -6
- package/vite/index.js +315 -270
- package/vite/pluginDev/index.d.ts +10 -19
- package/vite/pluginDev/index.js +251 -204
- package/webpack/index.d.ts +24 -5
- package/webpack/index.js +168 -144
- package/webpack/pluginDev/index.d.ts +21 -22
- package/webpack/pluginDev/index.js +242 -177
- package/cli/dist/lib/template-engine/buildStandIndexHtml.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/buildStandIndexHtml.test.js +0 -89
- package/cli/dist/lib/template-engine/emitEtaTree.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/emitEtaTree.test.js +0 -34
- package/cli/dist/lib/template-engine/pluginEtaParity.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/pluginEtaParity.test.js +0 -105
- package/cli/dist/lib/template-engine/resolveVariantDir.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/resolveVariantDir.test.js +0 -52
- package/cli/dist/lib/template-engine/standAdvancedViteDevHostEta.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/standAdvancedViteDevHostEta.test.js +0 -67
- package/cli/dist/lib/template-engine/standWebpackDevHostEta.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/standWebpackDevHostEta.test.js +0 -83
- package/cli/dist/lib/template-engine/storageProviderEta.test.d.ts +0 -2
- package/cli/dist/lib/template-engine/storageProviderEta.test.js +0 -26
- package/cli/project-templates/plugin/shared-base/scripts/build-types.cjs +0 -8
- package/cli/project-templates/plugin/shared-base/scripts/clean.cjs +0 -6
- package/cli/project-templates/plugin/shared-base/scripts/dev-runner.cjs +0 -48
- package/cli/project-templates/plugin/shared-base/scripts/release-runner.cjs +0 -63
- package/cli/project-templates/shared/stand-vite-base/config/lib/createViteStandConfig.mjs +0 -80
- package/cli/project-templates/shared/stand-vite-base/scripts/devStorageMiddleware.cjs +0 -235
- package/cli/project-templates/shared/stand-webpack-base/config/lib/umdServeMiddleware.cjs +0 -38
- package/cli/project-templates/shared/stand-webpack-base/scripts/devStorageMiddleware.cjs +0 -235
- package/emailmaker-core.80d62b88.js +0 -569
- package/runtime/_core/app-core/index.js +0 -1
- package/runtime/_core/chunks/app-core-DphKKh8f.js +0 -1
- package/runtime/_core/chunks/chunk-oqAt0Dze.js +0 -1
- package/runtime/_core/chunks/di-BHUzE57z.js +0 -1
- package/runtime/_core/chunks/disposable-PhM3rJkj.js +0 -1
- package/runtime/_core/chunks/errors-runtime-VjCOXaQX.js +0 -1
- package/runtime/_core/chunks/guid-D2-FTZQG.js +0 -1
- package/runtime/_core/di/index.js +0 -1
- package/runtime/_core/disposable/index.js +0 -1
- package/runtime/_core/errors-runtime/index.js +0 -1
- package/runtime/_core/guid/index.js +0 -1
- package/runtime/_core/index.js +0 -1
- package/shared/hostBootstrap.js +0 -47
- package/shared/pluginDevOptions.js +0 -31
- package/shared/runtimeManifest.js +0 -72
- package/shared/stringCase.js +0 -16
- package/static/core/2360f32a.js +0 -3
- package/static/core/2687db56.js +0 -3
- package/static/core/2b250af6.js +0 -1261
- package/static/core/3469930c.js +0 -302
- package/static/core/34ce9042.js +0 -201
- package/static/core/4091ba5b.js +0 -25
- package/static/core/41ce3a6a.js +0 -173
- package/static/core/4ac4908c.js +0 -2213
- package/static/core/519096c1.js +0 -2597
- package/static/core/5fa1772b.js +0 -116550
- package/static/core/61312909.js +0 -3
- package/static/core/62a98c07.js +0 -75301
- package/static/core/6309c0f2.js +0 -3
- package/static/core/68d9f440.js +0 -3
- package/static/core/73b645ab.js +0 -2
- package/static/core/81019351.js +0 -280
- package/static/core/835b37ef.js +0 -591
- package/static/core/91242fb3.js +0 -3
- package/static/core/972b15b0.js +0 -92399
- package/static/core/974ef468.js +0 -493
- package/static/core/a17614422.js +0 -38078
- package/static/core/a2fa7b5b.js +0 -4232
- package/static/core/a513adfd.js +0 -89857
- package/static/core/a7c73a9b.js +0 -3813
- package/static/core/b64c7c90.js +0 -228
- package/static/core/cdc9ba92.js +0 -4711
- package/static/core/d1db685d.js +0 -2193
- package/static/core/d661febc.js +0 -3
- package/static/core/d6d2d2d0.js +0 -23
- package/static/core/df1a1225.js +0 -607
- package/static/core/e5bff179.js +0 -1302
- package/static/core/e5d602f5.js +0 -2
- package/static/core/eb029366.js +0 -1532
- package/static/core/f46c035a.js +0 -2
- package/static/core/f8b9d89a.js +0 -461
- package/static/core/fd897ad7.js +0 -3
- package/static/core/fdd890c7.js +0 -6168
- package/static/esm/29eb18ff.js +0 -164
- package/vite/mime-types.js +0 -179
- package/vite/utils.js +0 -44
- /package/cli/project-templates/plugin/bundler-vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/plugin/bundler-vite/config/{plugin-build.mjs.eta → plugin-build.ts.eta} +0 -0
- /package/cli/project-templates/plugin/bundler-vite/config/{sandbox-build.mjs.eta → sandbox-build.ts.eta} +0 -0
- /package/cli/project-templates/plugin/bundler-webpack/config/{dev-host.cjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/plugin/bundler-webpack/config/{plugin-build.cjs.eta → plugin-build.ts.eta} +0 -0
- /package/cli/project-templates/plugin/bundler-webpack/config/{sandbox-build.cjs.eta → sandbox-build.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/memory-usage/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/shadow-dom/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/shadow-dom/webpack/config/{dev-host.cjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/subpath/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/subpath/webpack/config/{dev-host.cjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/umd/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/advanced/umd/webpack/config/{dev-host.cjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/closed-loop/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/closed-loop/webpack/config/{dev-host.cjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/oauth/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/oauth/webpack/config/{dev-host.cjs.eta → dev-host.ts.eta} +0 -0
- /package/cli/project-templates/stand/react-adapter/vite/config/{dev-host.mjs.eta → dev-host.ts.eta} +0 -0
- /package/iframe/{iframe-eblock.80d62b88.html → iframe-eblock.ed344c04.html} +0 -0
- /package/iframe/{iframe.80d62b88.html → iframe.ed344c04.html} +0 -0
- /package/{runtime/chunks → static/runtime}/DownloadOutlined-a2ZUz7zB.js +0 -0
- /package/{runtime/chunks → static/runtime}/chunk-D-iEO58U.js +0 -0
- /package/{runtime/chunks → static/runtime}/classnames-DBEldvch.js +0 -0
- /package/{runtime/chunks → static/runtime}/client-5XqXGmAI.js +0 -0
- /package/{runtime/chunks → static/runtime}/dayjs.min-CO3mzOeV.js +0 -0
- /package/{runtime/_core/chunks/defineProperty-BGJFuFMq.js → static/runtime/defineProperty-CGNmw-jw.js} +0 -0
- /package/{runtime/chunks → static/runtime}/dist-Cns8cA2n.js +0 -0
- /package/{runtime/chunks → static/runtime}/dist-Ct0xRt3Y.js +0 -0
- /package/{runtime/chunks → static/runtime}/es-0FFT3fCz.js +0 -0
- /package/{runtime/chunks → static/runtime}/es-BwJ3eGbx.js +0 -0
- /package/{runtime/chunks → static/runtime}/es-D8EsVtRL.js +0 -0
- /package/{runtime/chunks → static/runtime}/es-Da4O25Kw.js +0 -0
- /package/{runtime/chunks → static/runtime}/jsx-dev-runtime-V4_MuHNS.js +0 -0
- /package/{runtime/chunks → static/runtime}/jsx-runtime-DBeCoE0b.js +0 -0
- /package/{runtime/chunks → static/runtime}/objectWithoutProperties-Bk0EDksJ.js +0 -0
- /package/{runtime/chunks → static/runtime}/prop-types-DxD5wgQ0.js +0 -0
- /package/{runtime/chunks → static/runtime}/react-TEeeBWTl.js +0 -0
- /package/{runtime/chunks → static/runtime}/react-dom-BKKa1g6U.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__emailmaker__.define(`static/core/bde6775a.js`,[`require`,`exports`,`module`,`static/core/91d328d8.js`],function(e,t,n){let r=e(`./91d328d8.js`);function i(){throw Error(`setTimeout has not been defined`)}function a(){throw Error(`clearTimeout has not been defined`)}function o(e){if(y===setTimeout)return setTimeout(e,0);if((y===i||!y)&&setTimeout)return y=setTimeout,setTimeout(e,0);try{return y(e,0)}catch{try{return y.call(null,e,0)}catch{return y.call(this,e,0)}}}function s(e){if(b===clearTimeout)return clearTimeout(e);if((b===a||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(e);try{return b(e)}catch{try{return b.call(null,e)}catch{return b.call(this,e)}}}function c(){!S||!C||(S=!1,C.length?x=C.concat(x):w=-1,x.length&&l())}function l(){if(!S){var e=o(c);S=!0;for(var t=x.length;t;){for(C=x,x=[];++w<t;)C&&C[w].run();w=-1,t=x.length}C=null,S=!1,s(e)}}function u(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];x.push(new d(e,t)),x.length===1&&!S&&o(l)}function d(e,t){this.fun=e,this.array=t}function f(){}function p(e){throw Error(`process.binding is not supported`)}function m(){return`/`}function h(e){throw Error(`process.chdir is not supported`)}function g(){return 0}function _(e){var t=B.call(z)*.001,n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}function v(){return(new Date-V)/1e3}var y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,U=r.o((()=>{r.i(),y=i,b=a,typeof r.r.setTimeout==`function`&&(y=setTimeout),typeof r.r.clearTimeout==`function`&&(b=clearTimeout),x=[],S=!1,w=-1,d.prototype.run=function(){this.fun.apply(null,this.array)},T=`browser`,E=`browser`,D={},O=[],k={},A={},j={},M=f,N=f,P=f,F=f,I=f,L=f,R=f,z=r.r.performance||{},B=z.now||z.mozNow||z.msNow||z.oNow||z.webkitNow||function(){return new Date().getTime()},V=new Date,H={nextTick:u,title:T,browser:!0,env:D,argv:O,version:``,versions:k,on:M,addListener:N,once:P,off:F,removeListener:I,removeAllListeners:L,emit:R,binding:p,cwd:m,chdir:h,umask:g,hrtime:_,platform:E,release:A,config:j,uptime:v}}));Object.defineProperty(t,`n`,{enumerable:!0,get:function(){return U}}),Object.defineProperty(t,`t`,{enumerable:!0,get:function(){return H}})});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
__emailmaker__.define(`static/core/bf1b888c.js`,[`require`,`exports`,`module`,`static/core/5d47e095.js`,`static/core/698dace4.js`],function(e,t,n){let r=e(`./5d47e095.js`),i=e(`./698dace4.js`);var a=e=>{let t={current:Promise.resolve(),state:e,decorate:(e,n)=>(n&&(e=e.bind(n)),function(...n){let r=t.current.then(()=>e(...n));return t.current=r.then(e=>{t.state=e},e=>{}),r})};return t},o=class extends r.ni.Disposable{_listener;_disposeEvent;constructor(e){super(),this._event=e}setListener(e){this._listener!==e&&(this._listener=e,this._disposeEvent&&this._disposeEvent(),e?this._disposeEvent=this._event(e):this._disposeEvent=void 0)}dispose(){this._disposeEvent&&this._disposeEvent(),super.dispose()}};function s(e,t,n){let i=r.ti(e);return(e,r,a)=>{let o=i(async r=>{let i=t?t(r):r;a&&e.bind(a);let o=await e(i);return n?n(o):o},r,a);return()=>o.dispose()}}function c(e){let t=e.documentElement;return t||(t=e.createElement(`html`),e.appendChild(t)),t}function l(e){let t=e.head;if(!t){t=e.createElement(`head`);let n=c(e);n.insertBefore(t,n.firstChild)}return t}function u(e){let t=Object.create(null),n=e.getAttributeNames();for(let r of n)t[r]=e.getAttribute(r);return t}function d(e){for(let t of document.querySelectorAll(`iframe`))if(t.contentDocument===e.ownerDocument)return t}function f(e){let t=l(e);if(!e.querySelector(`style[amp4email-boilerplate]`)){let n=e.createElement(`style`);n.setAttribute(`amp4email-boilerplate`,``),n.innerHTML=`body{visibility:hidden}`,t.prepend(n)}}function p(e){let t=e.querySelector(`style[amp4email-boilerplate]`);t&&t.remove()}var m=`amp-custom`;function h(e,t){return`em-${e.replaceAll(`-`,`_`)}-${t.toLowerCase()}`}function g(e,t,n){for(let r of t)if(i._.isStyleRule(r)){let t=r.selectorText.split(/\+>~/).flatMap(e=>e.trim().split(` `));if(t.length===1&&t[0].trim().startsWith(`.em-`)){for(let t of r.style)if(r.style.getPropertyPriority(t)===`important`){for(let a of e.querySelectorAll(r.selectorText))if(i.D(a)){let e=a.style;for(let r of[...e])if(r.startsWith(t)){let t=n(r,e.getPropertyValue(r)),i=a.getAttribute(`class`);a.setAttribute(`class`,i?`${t} ${i}`:t),e.removeProperty(r)}}}}}else i._.isMediaRule(r)&&g(e,r.cssRules,n)}function _(e,t){let n=t.sheet;if(n){let r=new Set;g(e,n.cssRules,(e,a)=>{let o=h(e,a),s=[...n.cssRules],c=`.${o} { ${e}: ${a} }`;return!s.find(e=>i._.isStyleRule(e)&&e.selectorText===`.${o}`)&&!r.has(c)&&(r.add(c),t.innerHTML=`\n.${o} { ${e}: ${a} };\n${t.innerHTML}`),o}),r.size&&(t.innerHTML=`\n${[...r].join(`
|
|
2
|
+
`)};\n${t.innerHTML}`)}let r=t.innerHTML,a=r.replace(/!important/g,``);r!==a&&(t.innerHTML=a)}function v(e){let t=l(e),n=e.querySelectorAll(`link[rel="stylesheet"]`),r=[...e.querySelectorAll(`style`)].filter(e=>!e.hasAttribute(`amp4email-boilerplate`));if(r.length===1){let n=r[0];if(n.parentElement===t&&n.getAttribute(m)===``){_(e,n);return}}let i=[];for(let e of r)i.push(e.innerHTML),e.remove();if(i.length){let n=e.createElement(`style`);n.innerHTML=`\n${i.join(``)}\n`,n.setAttribute(m,``),t.append(n),_(e,n)}for(let e of n)e.remove()}function y(e){let t=e.querySelector(`style[${m}]`);t&&t.removeAttribute(m)}var b=`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">`,x=`<!doctype html>`;function S(e){let t=e.doctype;if(t){if(i.b(t)===x)return;let n=new DOMParser().parseFromString(x,`text/html`).doctype;e.replaceChild(n,t)}else{let t=new DOMParser().parseFromString(x,`text/html`).doctype;e.insertBefore(t,e.firstChild)}}function C(e){let t=e.doctype;if(t&&i.b(t).toLowerCase()===x){let n=new DOMParser().parseFromString(b,`text/html`).doctype;e.replaceChild(n,t)}}async function w(e,t={}){let n=document.createElement(`amp-img`),r=await i.y(e)||void 0,a=[];try{let o=e;for(;o&&i.D(o);)getComputedStyle(o)?.display===`none`&&(o.style.display=`initial`,a.push([o,o.style.display])),o=o.parentElement;let s=r?.height?`${parseInt(r.height)}`:``,c=r?.width?`${parseInt(r.width)}`:``,l=d(e),f=!1;if(l){let t=l.getAttribute(`width`);try{let n=c?`${c}px`:``;t||(l.setAttribute(`width`,`720px`),n=getComputedStyle(e).width||``),l.setAttribute(`width`,!t||parseInt(t)>320?`320px`:`720px`),n!==(getComputedStyle(e).width||``)&&(f=!0)}finally{t&&l.setAttribute(`width`,t||``)}}let p=e.src||e.srcset.split(`,`)[0];e.style.width===`100%`&&e.style.removeProperty(`width`),e.style.maxWidth===`100%`&&e.style.removeProperty(`max-width`),t={...u(e),alt:e.alt,width:c,height:s,src:p,layout:f?`responsive`:`fixed`,...t};for(let e of Object.keys(t))i.g(n,e,t[e])}finally{for(let[e,t]of a)e.style.display=t}return n}function T(e){let t=document.createElement(`img`),{layout:n,height:r,...a}=u(e),o=n===`responsive`;for(let e of Object.keys(a))i.g(t,e,a[e]);return o&&(t.style.maxWidth=a.width||`0px`,t.style.width=`100%`),t}async function E(e,t){let n=[...e.querySelectorAll(`img`)],r=[];for(let e of n)r.push(w(e).then(t=>[e,t],()=>[e,void 0]));let i=[...e.querySelectorAll(`picture`)];for(let e of i){let t=e.querySelector(`img`);t?r.push(w(t).then(t=>[e,t],()=>[e,void 0])):r.push([e,void 0])}if(r.length){let e=await Promise.all(r);for(let[t,n]of e)n?t.replaceWith(n):t.remove();t?.()}}function D(e,t){let n=[...e.querySelectorAll(`amp-img`)];for(let e of n)e.replaceWith(T(e));n.length&&t?.()}function O(e){let t=e.querySelectorAll(`meta`);for(let e of t){let t=e.getAttribute(`charset`);if(t){t!==`utf-8`&&e.setAttribute(`charset`,`utf-8`);return}}let n=l(e),r=e.createElement(`meta`);r.setAttribute(`charset`,`utf-8`),n.insertBefore(r,n.firstChild)}function k(e,t,n){let r=n(`script:not([type="application/ld+json"])`),i=e.querySelectorAll(r);for(let e of i)!e.getAttribute(`src`)?.startsWith(`https://cdn.ampproject.org/`)&&!(e.closest(`amp-state`)&&e.getAttribute(`type`)===`application/json`)&&e.remove()}var A=`https://cdn.ampproject.org/v0`,j=`${A}.js`,M=`script[src='${j}']`;function N(e,t){return`${A}/${e.toLowerCase()}-${t}.js`}async function P(e,t,n){for(let{name:r,versions:i}of t){let t=n.replaceSelectors(r===`amp-mustache`?`script[async][custom-template='${r}']`:`script[async][custom-element='${r}']`);if(!e.querySelector(t)){let t=l(e),a=n.createElementFn(`script`),o=N(r,i.findLast(e=>e!==`latest`)||`v0`);a.setAttribute(`async`,``),a.setAttribute(r===`amp-mustache`?`custom-template`:`custom-element`,r),a.setAttribute(`src`,o),t.appendChild(a),t.appendChild(e.createTextNode(`
|
|
3
|
+
`))}}}function F(e,t){let n=e.querySelectorAll(`*`),r=e.querySelectorAll(t.replaceSelectors(`script[src]`));for(let e of r)e.getAttribute(`src`)?.startsWith(`https://cdn.ampproject.org/v0`)&&e.remove();for(let e of n)G(e)&&e.tagName!==`FORM`&&e.remove()}var I=void 0;async function L(){return I||=await Promise.resolve().then(()=>e(`./2a3177fc2.js`)).then(e=>e.default)}var R=new Map;async function z(){if(!R.size){let e=await L(),t=e.tags;for(let n=0;n<t.length;n++){let r=t[n],{selector:i,attrs:a,attrLists:o}=r,s=o?.flatMap(t=>e.attrLists.filter(({name:e})=>e===t).flatMap(e=>e.attrs))||[];R.set(i,{...r,priority:n,attrs:new Map([...a,...s].map(e=>[e.name,e]))})}}return R}var B=new Map;async function V(){if(!B.size){let e=await L();for(let t of e.declarations)B.set(t.name,t)}return B}var H=`$GLOBAL_ATTRS`,U=new Map;async function W(){if(!U.size){let e=(await L()).attrLists.find(e=>e.name===H)?.attrs;if(e)for(let t of e)U.set(t.name,t)}return U}function G(e){return i.T(e)&&(e.tagName.startsWith(`AMP`)||e.tagName===`FORM`||e.tagName===`TEMPLATE`&&e.getAttribute(`type`)?.toLowerCase()===`amp-mustache`)}function K(e,t,n){if(!t)return;function r(){let n=t.compareDocumentPosition(e);if(!(n&8)){if(n&2)return t.insertBefore(e,t.firstChild),!0;if(n&4)return t.appendChild(e),!0}return!1}function a(){let r=[...e.childNodes];for(let e=r.length-1;e>=0;e--)K(r[e],t,n)}if(i.T(e))switch(e.tagName.toLowerCase()){case`body`:return;case n(`script`):case`style`:case`meta`:case`title`:return;case`head`:case`html`:a();break;default:r()||a();break}else i.C(e)?a():i.O(e)&&(e.textContent?.trim()||e.nextSibling?.textContent?.trim()&&i.O(e.nextSibling))&&r()}async function q(e,t){let n=new Set,r=t.commit,a=e=>t.replaceSelectors(e.toLowerCase());if(t.replaceImages&&await E(e,r),t.injectExtensions){let n=t.replaceSelectors(M);if(!e.querySelector(n)){let n=t.createElementFn(`script`);n.setAttribute(`src`,j),n.setAttribute(`async`,``),l(e).appendChild(n),r?.()}}t.injectRequiredTags&&(k(e,t.createElementFn,a),S(e),f(e),O(e),r?.()),t.replaceStylesAndLinks&&(v(e),r?.());let o=await L(),s=await z(),c=new Set(t.removeUnsupportedTags?e.querySelectorAll(`*`):[]),u=new Map;for(let[n,r]of s)if(!r.deprecation){n=a(n);let i=[...e.querySelectorAll(n)].filter(e=>!u.has(e));r.unique&&i.length&&(i=[i[0]]),t.injectRequiredTags&&r.required&&!i.length&&(i=[...i,t.createElementFn(r.name)]);for(let e of i){if(t.injectRequiredAttributes&&e.getAttribute(`on`)&&!e.getAttribute(`tabindex`)&&e.setAttribute(`tabindex`,`0`),t.removeUnsupportedStyles){let t=!1;for(let n of[...e.classList])n.startsWith(`i-amphtml`)&&(t=!0,e.classList.remove(n));t&&!e.classList.length&&e.removeAttribute(`class`)}let n=u.get(e);n&&n.priority>r.priority||u.set(e,r)}}r?.();for(let[a,o]of u){if(t.injectExtensions&&o.requiresExtension)for(let e of o.requiresExtension)n.add(e);let s=o.requiredParent?o.requiredParent===`$ROOT`?e:e.querySelector(o.requiredParent):null;s&&(!a.parentNode||t.moveInvalidTagPosition)?s!==a.parentNode&&(o.name===`HEAD`||i.T(s)&&s.tagName===`HEAD`?s.insertBefore(a,s.firstChild):s.appendChild(a)):a.parentNode||e.body.appendChild(a),t.removeUnsupportedTags&&c.delete(a),r?.();let l=await W();if(t.removeUnsupportedAttributes||t.injectRequiredAttributes){let e=o.attrs,n=t.injectRequiredAttributes?new Set([...e].map(([e,t])=>t).filter(e=>e.required&&e.value)):void 0,r=a.getAttributeNames();for(let o of r){let r=e.get(o)||l.get(o);if(r){if(o===`id`||o===`class`||o===`style`){n?.delete(r);continue}if(t.removeUnsupportedAttributes){let e=a.getAttribute(o);if(r.value&&r.value.indexOf(e)<0){a.removeAttribute(o);continue}if(r.valueRegex&&!new RegExp(r.valueRegex).test(e)){a.removeAttribute(o);continue}if(r.disallowedValueRegex&&new RegExp(r.disallowedValueRegex).test(e)){a.removeAttribute(o);continue}let t=r.valueUrl;if(t){if(e===``){if(!t.allowEmpty){a.removeAttribute(o);continue}}else if(!(e.indexOf(`<!--`)>0&&e.indexOf(`-->`)>0)&&!t.allowRelative)if(e.startsWith(`#`)||e.startsWith(`/`)){a.removeAttribute(o);continue}else{let n=t.protocol.length?t.protocol:[`https`],r=e.substring(0,e.indexOf(`:`));if(r){if(n.indexOf(r)<0){let t=n[0]+e.substring(e.indexOf(`:`));if(URL.canParse(t))i.g(a,o,t);else{a.removeAttribute(o);continue}}else if(!URL.canParse(e)){a.removeAttribute(o);continue}}else{let t=n[0]+e;if(URL.canParse(t))i.g(a,o,t);else{a.removeAttribute(o);continue}}}}}n?.delete(r)}else{if(o===`id`||o===`class`||o===`style`)continue;t.removeUnsupportedAttributes&&a.removeAttribute(o)}}if(n)for(let e of n)i.g(a,e.name,e.value[0])}r?.()}t.moveInvalidTagPosition&&(K(e,e.body,a),r?.());for(let e of c)e.remove();if(r?.(),t.removeUnsupportedStyles){let t=e.querySelectorAll(`*`),n=await V();function a(e){let t=e.cssText.replaceAll(/\".*\"/g,``).replaceAll(/\'.*\'/g,``).replaceAll(/\/\*.*\*\/|(-moz-|-ms-|-o-|-webkit-)+\w+(?=:)/g,``).match(/[a-z-]+(?=:[^before|after|hover])/gi)||[];for(let r of t){if(!r)continue;let t=e.getPropertyValue(r);e.getPropertyPriority(r)===`important`&&e.setProperty(r,t);let i=n.get(r);i?i.value?i.value.indexOf(t)<0&&e.removeProperty(r):i.valueRegex&&(new RegExp(i.valueRegex).test(t)||e.removeProperty(r)):e.removeProperty(r)}r?.()}function o(e){return e.constructor.name===`CSSStyleRule`}function s(e){return e.constructor.name===`CSSMediaRule`}function c(e){let t=e.cssRules;for(let n=t.length-1;n>=0;n--){let r=t[n];o(r)?r.selectorText.indexOf(`[`)>=0||r.selectorText.indexOf(`:`)>=0?e.deleteRule(n):(a(r.style),r.style.cssText||e.deleteRule(n)):s(r)?(c(r),r.cssRules.length||e.deleteRule(n)):e.deleteRule(n)}}for(let e of t)if(i.D(e)){let t=e.getAttribute(`style`);t&&(a(e.style),e.style.length?e.style.cssText!==t&&e.setAttribute(`style`,e.style.cssText):e.removeAttribute(`style`))}let l=e.querySelector(`style[amp-custom]`);if(l){let e=l.sheet;e&&(c(e),l.innerHTML=[...e.cssRules].map(e=>e.cssText).join(`
|
|
4
|
+
`)),r?.()}}await P(e,o.extensions.filter(({name:e})=>n.has(e)),t)}function J(e,t){return Object.keys(t).reduce((e,n)=>e.replaceAll(n,t[n]),e)}function Y(e,t={}){let{correct:n=!0,injectExtensions:r=!0,mappedTags:i={}}=t;return q(e,{replaceImages:n,replaceStylesAndLinks:n,injectRequiredTags:n,injectExtensions:r,formsAsAmpForms:r,injectRequiredAttributes:n,moveInvalidTagPosition:n,removeUnsupportedTags:n,removeUnsupportedAttributes:n,removeUnsupportedStyles:n,createElementFn:t=>e.createElement(i[t.toLowerCase()]||t),replaceSelectors:e=>J(e.toLowerCase(),i),commit:t.commit})}function X(e,t={}){let{correct:n=!0,removeExtensions:r=!0,mappedTags:i={}}=t,a=t.commit,o=t=>e.createElement(i[t.toLowerCase()]||t),s=e=>J(e,i);if(n){D(e),C(e),y(e),p(e);let t=c(e);t.removeAttribute(`⚡4email`),t.removeAttribute(`data-css-strict`),a?.()}r&&(F(e,{formsAsAmpForms:t.removeExtensions,createElementFn:o,replaceSelectors:s}),a?.())}Object.defineProperty(t,`a`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(t,`i`,{enumerable:!0,get:function(){return A}}),Object.defineProperty(t,`n`,{enumerable:!0,get:function(){return Y}}),Object.defineProperty(t,`o`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(t,`r`,{enumerable:!0,get:function(){return G}}),Object.defineProperty(t,`s`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(t,`t`,{enumerable:!0,get:function(){return X}})});
|