@emailmaker/emailmaker 1.0.118-dev.0 → 1.0.118-dev.1
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 +2 -2
- package/{emailmaker-core.b730d433.js → emailmaker-core.2e95ea8e.js} +11 -11
- package/emailmaker-esm.js +3 -3
- package/emailmaker.js +3 -3
- package/iframe/js/amp.C63q8jqL.js +1 -1
- package/iframe/js/chunk.LfI6BXYG.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.CclLkSHL.js +1 -1
- package/iframe/js/sanitize-html.D6kzKnNO.js +1 -1
- package/package.json +3 -3
- package/static/core/{2843f5b4.js → 1271583c.js} +14 -14
- package/static/core/{c1ff1639.js → 1eabc260.js} +21 -1
- package/static/core/{be838ee9.js → 2672abf3.js} +7 -7
- package/static/core/{53cf8232.js → 41159818.js} +5 -5
- package/static/core/{f3cb38c2.js → 437852df.js} +9 -9
- package/static/core/{e5471cc8.js → 4b725b41.js} +7 -7
- package/static/core/{c23c12c8.js → 5b164b42.js} +5 -5
- package/static/core/{b8a4b6d4.js → 601358ab.js} +54 -109
- package/static/core/{bdc47af9.js → 741cc38b.js} +33 -22
- package/static/core/{2ee1af6a.js → 82a0d8ba.js} +10 -3
- package/static/core/{8bd67a42.js → 9617e60e.js} +3 -3
- package/static/core/{f52e7b8d.js → ca6ce706.js} +5 -5
- package/static/core/{3e36611c.js → eb20fbf5.js} +3 -3
- package/static/core/{a979d41f.js → f50631ee.js} +13 -13
- package/static/js/{CIWtBh2S2.js → 5O55NmRq2.js} +31 -20
- package/static/js/{DstNWVw2.js → 7LIPsezZ.js} +9 -9
- package/static/js/{DRWp-h9j2.js → B6hrK35n2.js} +12 -12
- package/static/js/{D1lsjYJl2.js → B9waHumK2.js} +1 -1
- package/static/js/{BcPkndIh.js → BG1MLRtQ.js} +7 -7
- package/static/js/{27hI7I37.js → BHU30v6W.js} +2 -2
- package/static/js/{D1I7JGYu2.js → BJNwoSgR2.js} +6 -6
- package/static/js/{CjVU-GlW2.js → BMs2VtW92.js} +18 -18
- package/static/js/{YWrY5Z_X2.js → BWKZBx-b2.js} +3 -3
- package/static/js/{BXqi63yF2.js → BXPM-NC42.js} +7 -7
- package/static/js/{C7KbzAD92.js → BXX7Q2ei2.js} +6 -6
- package/static/js/{BCA0BcVU2.js → BZKC9onI2.js} +1 -1
- package/static/js/{C5hHA-CD.js → BklN4xYo.js} +18 -11
- package/static/js/{r9Skae-o.js → Bl-UyYFG.js} +7 -7
- package/static/js/{Cezc5-e2.js → BoyjoFKt.js} +4 -4
- package/static/js/{Cb1lbm4K2.js → Bt8IAXPF2.js} +41 -103
- package/static/js/{CWtR2N_l.js → BwPdtVGI.js} +1 -1
- package/static/js/{ChDM95EH2.js → BxUMCFeT2.js} +5 -5
- package/static/js/{C_vI2UdU.js → CJGTa7gO.js} +11 -11
- package/static/js/{ddRo7dNt.js → CJKNAfDZ.js} +14 -0
- package/static/js/{DEmEdWGx.js → CMxpKUFB.js} +8 -8
- package/static/js/{CAv9he6z2.js → C_S7Qv8W2.js} +5 -5
- package/static/js/{CcUIqZr-.js → CcQhQYVM.js} +4 -4
- package/static/js/{pXBdE-542.js → CdPLpmN82.js} +4 -4
- package/static/js/{bRCNR8US2.js → CeYdy04a2.js} +11 -11
- package/static/js/{QxaMp5v52.js → CnKX73Q72.js} +7 -7
- package/static/js/{Ypj5-ToG.js → CoxBD9Nt.js} +4 -4
- package/static/js/{B0p6CYUR2.js → Cpo_TZzt2.js} +12 -12
- package/static/js/{BniXCozj2.js → CrdPYhw92.js} +3 -3
- package/static/js/{0MUg9fTp.js → CuqPmtHs.js} +3 -3
- package/static/js/{Cjat0El92.js → DAbtTMcb2.js} +5 -5
- package/static/js/{DsEvJXy-.js → DEpTt-ci.js} +1 -1
- package/static/js/{_shb-gK02.js → DMzXzq6C2.js} +4 -4
- package/static/js/{DcFMHzFw.js → DQ2WIfkY.js} +11 -11
- package/static/js/{C3BkKyNx.js → DQRCx_AX.js} +2 -2
- package/static/js/{BhIIHrdZ.js → DZDR5RhS.js} +1 -1
- package/static/js/{C8wtyONL2.js → DqO07Kcc2.js} +10 -9
- package/static/js/{B0TN5VKM2.js → DrK4kbAp2.js} +3 -3
- package/static/js/{CJ7I2E-E2.js → DzGiJNHQ2.js} +3 -3
- package/static/js/{boX5luaU2.js → GnY-fKts2.js} +2 -2
- package/static/js/{DvvivN5h.js → J9k5smCX.js} +4 -4
- package/static/js/{DizchKYY.js → PYRY1LR1.js} +10 -10
- package/static/js/{CvJ_Jh0F.js → ZW3ZDpEX.js} +3 -3
- package/static/js/{Bta2V_Kb2.js → fpkl-aON2.js} +5 -5
- package/static/js/{DYnCImHx.js → jKz1-YN5.js} +3 -3
- package/static/js/{koa9b5BU2.js → sQE5fmp82.js} +10 -10
- package/static/media/style.css +1 -1
- /package/iframe/{iframe-eblock.b730d433.html → iframe-eblock.2e95ea8e.html} +0 -0
- /package/iframe/{iframe.b730d433.html → iframe.2e95ea8e.html} +0 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<h2 style="color: red; font-size: 24px;">
|
|
6
6
|
Вы используете dev-канал пакета
|
|
7
7
|
<strong style="color: red;">@emailmaker/emailmaker</strong>
|
|
8
|
-
(npm tag <code>dev</code>, версия 1.0.118-dev.
|
|
8
|
+
(npm tag <code>dev</code>, версия 1.0.118-dev.1), содержащий экспериментальные возможности.
|
|
9
9
|
Установка: <code>npm i @emailmaker/emailmaker@dev</code>
|
|
10
10
|
</h2>
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Установите пакет из npm:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install @emailmaker/emailmaker@1.0.118-dev.
|
|
17
|
+
npm install @emailmaker/emailmaker@1.0.118-dev.1
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
### Полезные ссылки
|
|
@@ -3,20 +3,20 @@ __emailmaker__.define("core", [
|
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/292824c1.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
8
|
-
"static/core/
|
|
9
|
-
"static/core/
|
|
6
|
+
"static/core/1eabc260.js",
|
|
7
|
+
"static/core/82a0d8ba.js",
|
|
8
|
+
"static/core/2672abf3.js",
|
|
9
|
+
"static/core/9617e60e.js"
|
|
10
10
|
], function(require, exports, module) {
|
|
11
11
|
Object.defineProperties(exports, {
|
|
12
12
|
__esModule: { value: true },
|
|
13
13
|
[Symbol.toStringTag]: { value: "Module" }
|
|
14
14
|
});
|
|
15
15
|
require("./static/core/292824c1.js");
|
|
16
|
-
const require_userSlice = require("./static/core/
|
|
17
|
-
const require_html2amp = require("./static/core/
|
|
18
|
-
const require_projectsPageSlice = require("./static/core/
|
|
19
|
-
const require_defaultModePanesSlice = require("./static/core/
|
|
16
|
+
const require_userSlice = require("./static/core/1eabc260.js");
|
|
17
|
+
const require_html2amp = require("./static/core/2672abf3.js");
|
|
18
|
+
const require_projectsPageSlice = require("./static/core/82a0d8ba.js");
|
|
19
|
+
const require_defaultModePanesSlice = require("./static/core/9617e60e.js");
|
|
20
20
|
//#region src/plugin/mixins/appInitMixin/provider.ts
|
|
21
21
|
function createFallbackAppInit(restClient) {
|
|
22
22
|
return async () => {
|
|
@@ -616,7 +616,7 @@ __emailmaker__.define("core", [
|
|
|
616
616
|
AppInitMixin
|
|
617
617
|
];
|
|
618
618
|
async function loadAsyncMixins() {
|
|
619
|
-
return (await Promise.resolve().then(() => require("./static/core/
|
|
619
|
+
return (await Promise.resolve().then(() => require("./static/core/601358ab.js"))).default;
|
|
620
620
|
}
|
|
621
621
|
var AsyncUiLoaderMixin = (container) => {
|
|
622
622
|
let asyncMixin = null;
|
|
@@ -884,7 +884,7 @@ __emailmaker__.define("core", [
|
|
|
884
884
|
compat.validateAll();
|
|
885
885
|
};
|
|
886
886
|
ns.__compat.registerHost({
|
|
887
|
-
"version": "1.0.118-dev.
|
|
887
|
+
"version": "1.0.118-dev.1",
|
|
888
888
|
"supports": {
|
|
889
889
|
"extensions-api": "^0.9.0",
|
|
890
890
|
"extensions-react": "^0.9.0",
|
|
@@ -892,7 +892,7 @@ __emailmaker__.define("core", [
|
|
|
892
892
|
}
|
|
893
893
|
});
|
|
894
894
|
})(typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : void 0);
|
|
895
|
-
var version = "1.0.118-dev.
|
|
895
|
+
var version = "1.0.118-dev.1";
|
|
896
896
|
//#endregion
|
|
897
897
|
exports.init = init;
|
|
898
898
|
exports.parseAMP = parseAMP;
|
package/emailmaker-esm.js
CHANGED
|
@@ -108,7 +108,7 @@ import { n as waitForElement, t as ELEMENT_MAP } from "./static/esm/9789f743.js"
|
|
|
108
108
|
new Function("__amdEnv", "/**\n * Async AMD Loader (IIFE version for injection)\n *\n * This file is injected at the beginning of iframe entry points.\n * It initializes the AMD loader before any define() calls.\n *\n * Note: __amdEnv is replaced at build time with the active product namespace\n * (window bucket derived from REACT_APP_NAME).\n *\n * @internal\n */\n(function() {\n 'use strict';\n\n // Skip if already initialized\n if (typeof __amdEnv !== 'undefined' && __amdEnv.define) {\n return;\n }\n\n // Initialize namespace\n if (typeof __amdEnv === 'undefined') {\n window.__amdEnv = {};\n }\n\n // State\n var modules = {};\n var resolved = {};\n var pending = {};\n var loading = {};\n var errors = {};\n var baseUrl = './';\n var paths = {};\n\n // ===========================================================================\n // Error Handling\n // ===========================================================================\n\n function createLoadError(id, cause) {\n var error = new Error(\n '[AMD] Failed to load module \"' + id + '\"' +\n (cause ? ': ' + cause.message : '')\n );\n error.moduleId = id;\n error.cause = cause;\n return error;\n }\n\n function createDependencyError(id, depId, cause) {\n var error = new Error(\n '[AMD] Failed to resolve dependency \"' + depId + '\" for module \"' + id + '\"' +\n (cause ? ': ' + cause.message : '')\n );\n error.moduleId = id;\n error.dependencyId = depId;\n error.cause = cause;\n return error;\n }\n\n // ===========================================================================\n // Helpers\n // ===========================================================================\n\n function normalizeAbsoluteId(id) {\n var parts = String(id || '').split('/');\n var out = [];\n\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n if (!part || part === '.') continue;\n if (part === '..') {\n if (out.length > 0) out.pop();\n continue;\n }\n out.push(part);\n }\n\n return out.join('/');\n }\n\n function normalizeModuleId(id) {\n var normalizedId = String(id || '').replace(/\\\\/g, '/');\n var normalizedBase = String(baseUrl || './').replace(/\\\\/g, '/');\n\n normalizedBase = normalizedBase.replace(/^\\.\\/+/, '');\n normalizedBase = normalizedBase.replace(/^\\/+/, '');\n\n if (normalizedBase && normalizedBase.slice(-1) !== '/') {\n normalizedBase += '/';\n }\n\n if (normalizedBase && normalizedId.indexOf(normalizedBase) === 0) {\n normalizedId = normalizedId.slice(normalizedBase.length);\n }\n\n if (normalizedId.indexOf('./') === 0) {\n normalizedId = normalizedId.slice(2);\n }\n\n return normalizedId;\n }\n\n function resolveId(rawId, parentId) {\n var id = String(rawId || '');\n if (!id) return id;\n\n var isRelative = id.indexOf('./') === 0 || id.indexOf('../') === 0;\n if (!isRelative) {\n return normalizeModuleId(normalizeAbsoluteId(id));\n }\n\n var base = normalizeAbsoluteId(parentId || '');\n var baseParts = base ? base.split('/') : [];\n if (baseParts.length > 0) {\n // Parent id includes file/module name at the end, remove it.\n baseParts.pop();\n }\n\n var requestParts = id.split('/');\n for (var i = 0; i < requestParts.length; i++) {\n var part = requestParts[i];\n if (!part || part === '.') continue;\n if (part === '..') {\n if (baseParts.length > 0) baseParts.pop();\n continue;\n }\n baseParts.push(part);\n }\n\n return normalizeModuleId(baseParts.join('/'));\n }\n\n function isAbsoluteUrl(url) {\n return /^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.test(url) || url.indexOf('//') === 0;\n }\n\n function normalizeRuntimeUrl(url) {\n var normalizedUrl = String(url || '');\n if (!normalizedUrl) {\n return normalizedUrl;\n }\n\n if (isAbsoluteUrl(normalizedUrl)) {\n return normalizedUrl;\n }\n\n try {\n var baseUrl =\n typeof document !== 'undefined' && document.baseURI\n ? document.baseURI\n : (typeof window !== 'undefined' && window.location ? window.location.href : '');\n return baseUrl ? new URL(normalizedUrl, baseUrl).href : normalizedUrl;\n } catch (e) {\n return normalizedUrl;\n }\n }\n\n function resolveBaseUrl() {\n var normalizedBase = String(baseUrl || './');\n\n if (normalizedBase.slice(-1) !== '/') {\n normalizedBase += '/';\n }\n\n if (isAbsoluteUrl(normalizedBase) || normalizedBase.charAt(0) === '/') {\n return normalizedBase;\n }\n\n if (typeof __amdEnv !== 'undefined' && __amdEnv && __amdEnv.publicPath) {\n try {\n return new URL(normalizedBase, normalizeRuntimeUrl(__amdEnv.publicPath)).href;\n } catch (e) {\n // Ignore and keep relative baseUrl.\n }\n }\n\n return normalizeRuntimeUrl(normalizedBase);\n }\n\n function toUrl(id, parentId) {\n var normalizedId = resolveId(id, parentId);\n var normalizedBase = resolveBaseUrl();\n var mappedId = Object.prototype.hasOwnProperty.call(paths, normalizedId)\n ? String(paths[normalizedId] || '')\n : normalizedId;\n\n if (mappedId.slice(-3) !== '.js') {\n mappedId += '.js';\n }\n\n try {\n return new URL(mappedId, normalizedBase).href;\n } catch (e) {\n return normalizedBase + mappedId;\n }\n }\n\n function getAnonymousModuleId() {\n if (typeof document === 'undefined') {\n return '';\n }\n\n var currentScript = document.currentScript;\n if (currentScript) {\n var scriptModuleId = currentScript.getAttribute('data-amd-module-id');\n if (scriptModuleId) {\n return scriptModuleId;\n }\n }\n\n return '';\n }\n\n // ===========================================================================\n // define(id, deps, factory)\n // ===========================================================================\n\n function define(id, deps, factory) {\n if (Array.isArray(id)) {\n factory = deps;\n deps = id;\n id = getAnonymousModuleId();\n } else if (typeof id === 'function') {\n factory = id;\n deps = [];\n id = getAnonymousModuleId();\n } else if (typeof deps === 'function') {\n factory = deps;\n deps = [];\n }\n\n if (!id) {\n throw new Error('[AMD] Anonymous define() could not be associated with a module id');\n }\n\n if (id in modules) {\n return;\n }\n\n modules[id] = { deps: deps || [], factory: factory };\n }\n\n define.amd = { async: true };\n\n function createCompatExports() {\n return function __amdCompatExports() {};\n }\n\n function createCompatModule(id, exportsObject) {\n return { id: id, exports: exportsObject, uri: toUrl(id) };\n }\n\n // ===========================================================================\n // require(id, callback, errback)\n // ===========================================================================\n\n function require(id, callback, errback, parentId) {\n if (Array.isArray(id)) {\n var promise = Promise.all(id.map(function(dep) { return requireOne(dep, parentId); }))\n .then(function(deps) {\n if (callback) callback.apply(null, deps);\n return deps;\n });\n\n if (errback) promise.catch(errback);\n return promise;\n }\n\n return requireOne(id, parentId);\n }\n\n function syncRequire(rawId, parentId) {\n if (Array.isArray(rawId)) {\n throw new Error('[AMD] syncRequire does not support dependency arrays');\n }\n\n var id = resolveId(rawId, parentId);\n\n if (id in errors) {\n throw errors[id];\n }\n\n if (id in resolved) {\n return resolved[id];\n }\n\n if (id in pending || id in loading) {\n throw createLoadError(id, new Error('Module is still loading asynchronously'));\n }\n\n if (!(id in modules)) {\n throw createLoadError(id, new Error('Module is not available for syncRequire'));\n }\n\n return executeModuleSync(id);\n }\n\n // ===========================================================================\n // requireOne(id)\n // ===========================================================================\n\n function requireOne(rawId, parentId) {\n var id = resolveId(rawId, parentId);\n\n if (id in errors) return Promise.reject(errors[id]);\n if (id in resolved) return Promise.resolve(resolved[id]);\n if (id in pending) return pending[id];\n\n if (!(id in modules)) {\n pending[id] = loadScript(id)\n .then(function() {\n if (!(id in modules)) {\n var error = createLoadError(id, new Error('Module not defined after script load'));\n errors[id] = error;\n throw error;\n }\n return executeModule(id);\n })\n .catch(function(err) {\n delete pending[id];\n var error = createLoadError(id, err);\n errors[id] = error;\n throw error;\n });\n return pending[id];\n }\n\n pending[id] = executeModule(id);\n return pending[id];\n }\n\n function executeModule(id) {\n var mod = modules[id];\n var localRequire = localRequireFor(id);\n var exportsObject = createCompatExports();\n var moduleObject = createCompatModule(id, exportsObject);\n\n return Promise.all(\n mod.deps.map(function(dep) {\n if (dep === 'exports') return exportsObject;\n if (dep === 'require') return localRequire;\n if (dep === 'module') return moduleObject;\n\n return requireOne(dep, id).catch(function(err) {\n throw createDependencyError(id, dep, err);\n });\n })\n ).then(function(depValues) {\n var result = mod.factory.apply(null, depValues);\n\n if (result && typeof result.then === 'function') {\n return result.then(function(asyncResult) {\n resolved[id] = asyncResult !== undefined ? asyncResult : moduleObject.exports;\n delete pending[id];\n return resolved[id];\n });\n }\n\n resolved[id] = result !== undefined ? result : moduleObject.exports;\n delete pending[id];\n return resolved[id];\n }).catch(function(err) {\n delete pending[id];\n errors[id] = err;\n throw err;\n });\n }\n\n function executeModuleSync(id) {\n var mod = modules[id];\n var localRequire = localRequireFor(id);\n var exportsObject = createCompatExports();\n var moduleObject = createCompatModule(id, exportsObject);\n\n try {\n var depValues = mod.deps.map(function(dep) {\n if (dep === 'exports') return exportsObject;\n if (dep === 'require') return localRequire;\n if (dep === 'module') return moduleObject;\n\n try {\n return syncRequire(dep, id);\n } catch (err) {\n throw createDependencyError(id, dep, err);\n }\n });\n\n var result = mod.factory.apply(null, depValues);\n if (result && typeof result.then === 'function') {\n throw createLoadError(id, new Error('Module resolved asynchronously and cannot be syncRequired'));\n }\n\n resolved[id] = result !== undefined ? result : moduleObject.exports;\n return resolved[id];\n } catch (err) {\n errors[id] = err;\n throw err;\n }\n }\n\n function localRequireFor(id) {\n var localRequire = function(depId, cb, errback) {\n if (Array.isArray(depId)) return require(depId, cb, errback, id);\n var resolvedId = resolveId(depId, id);\n if (resolvedId in resolved) {\n return resolved[resolvedId];\n }\n if (resolvedId in modules) {\n return syncRequire(depId, id);\n }\n return requireOne(depId, id);\n };\n localRequire.resolve = function(depId) { return resolveId(depId, id); };\n localRequire.toUrl = function(depId) { return toUrl(depId, id); };\n localRequire.sync = function(depId) { return syncRequire(depId, id); };\n return localRequire;\n }\n\n // ===========================================================================\n // loadScript(id)\n // ===========================================================================\n\n function loadScript(id) {\n if (id in loading) return loading[id];\n\n var url = toUrl(id);\n var existingScript = document.querySelector('script[src=\"' + url + '\"]');\n if (existingScript) {\n loading[id] = Promise.resolve();\n return loading[id];\n }\n\n loading[id] = new Promise(function(resolve, reject) {\n var script = document.createElement('script');\n script.src = url;\n script.setAttribute('data-amd-module-id', id);\n script.async = true;\n script.onload = function() { resolve(); };\n script.onerror = function() {\n delete loading[id];\n reject(new Error('Failed to load script: ' + url));\n };\n document.head.appendChild(script);\n });\n\n return loading[id];\n }\n\n // ===========================================================================\n // Configuration\n // ===========================================================================\n\n require.config = function(config) {\n if (config.baseUrl) {\n baseUrl = config.baseUrl;\n }\n if (config.paths) {\n for (var key in config.paths) {\n if (Object.prototype.hasOwnProperty.call(config.paths, key)) {\n paths[key] = config.paths[key];\n }\n }\n }\n };\n\n require.modules = modules;\n require.resolved = resolved;\n require.errors = errors;\n require.toUrl = toUrl;\n require.sync = syncRequire;\n\n // ===========================================================================\n // Export to namespace\n // ===========================================================================\n\n __amdEnv.define = define;\n __amdEnv.require = require;\n __amdEnv.syncRequire = syncRequire;\n})();\n")(ns);
|
|
109
109
|
if (typeof ns.require === "function" && typeof ns.require.config === "function") ns.require.config({
|
|
110
110
|
baseUrl: "./",
|
|
111
|
-
paths: { "core": "emailmaker-core.
|
|
111
|
+
paths: { "core": "emailmaker-core.2e95ea8e.js" }
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
var __prevPrefetch = typeof ns.prefetch === "function" ? ns.prefetch : void 0;
|
|
@@ -836,7 +836,7 @@ function withWarmedAuthToken(options) {
|
|
|
836
836
|
compat.validateAll();
|
|
837
837
|
};
|
|
838
838
|
ns.__compat.registerHost({
|
|
839
|
-
"version": "1.0.118-dev.
|
|
839
|
+
"version": "1.0.118-dev.1",
|
|
840
840
|
"supports": {
|
|
841
841
|
"extensions-api": "^0.9.0",
|
|
842
842
|
"extensions-react": "^0.9.0",
|
|
@@ -894,7 +894,7 @@ function needsSharedRuntimePrefetch(plugins) {
|
|
|
894
894
|
return Boolean(entry && typeof entry === "object" && "url" in entry);
|
|
895
895
|
});
|
|
896
896
|
}
|
|
897
|
-
var version = "1.0.118-dev.
|
|
897
|
+
var version = "1.0.118-dev.1";
|
|
898
898
|
async function preload(_options) {
|
|
899
899
|
await ensurePreload(typeof window.__emailmaker__ !== "undefined" ? window.__emailmaker__ : void 0);
|
|
900
900
|
}
|
package/emailmaker.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
})(typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : this, function() {
|
|
13
13
|
'use strict';
|
|
14
14
|
|
|
15
|
-
var e=window.__emailmaker__||(window.__emailmaker__={});(function(){"use strict";if(e!==void 0&&e.define)return;e===void 0&&(window.__amdEnv={});var t={},n={},r={},i={},a={},o=`./`,s={};function c(e,t){var n=Error(`[AMD] Failed to load module "`+e+`"`+(t?`: `+t.message:``));return n.moduleId=e,n.cause=t,n}function l(e,t,n){var r=Error(`[AMD] Failed to resolve dependency "`+t+`" for module "`+e+`"`+(n?`: `+n.message:``));return r.moduleId=e,r.dependencyId=t,r.cause=n,r}function u(e){for(var t=String(e||``).split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];if(!(!i||i===`.`)){if(i===`..`){n.length>0&&n.pop();continue}n.push(i)}}return n.join(`/`)}function d(e){var t=String(e||``).replace(/\\/g,`/`),n=String(o||`./`).replace(/\\/g,`/`);return n=n.replace(/^\.\/+/,``),n=n.replace(/^\/+/,``),n&&n.slice(-1)!==`/`&&(n+=`/`),n&&t.indexOf(n)===0&&(t=t.slice(n.length)),t.indexOf(`./`)===0&&(t=t.slice(2)),t}function f(e,t){var n=String(e||``);if(!n)return n;if(!(n.indexOf(`./`)===0||n.indexOf(`../`)===0))return d(u(n));var r=u(t||``),i=r?r.split(`/`):[];i.length>0&&i.pop();for(var a=n.split(`/`),o=0;o<a.length;o++){var s=a[o];if(!(!s||s===`.`)){if(s===`..`){i.length>0&&i.pop();continue}i.push(s)}}return d(i.join(`/`))}function p(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e)||e.indexOf(`//`)===0}function m(e){var t=String(e||``);if(!t||p(t))return t;try{var n=typeof document<`u`&&document.baseURI?document.baseURI:typeof window<`u`&&window.location?window.location.href:``;return n?new URL(t,n).href:t}catch{return t}}function h(){var t=String(o||`./`);if(t.slice(-1)!==`/`&&(t+=`/`),p(t)||t.charAt(0)===`/`)return t;if(e!==void 0&&e&&e.publicPath)try{return new URL(t,m(e.publicPath)).href}catch{}return m(t)}function g(e,t){var n=f(e,t),r=h(),i=Object.prototype.hasOwnProperty.call(s,n)?String(s[n]||``):n;i.slice(-3)!==`.js`&&(i+=`.js`);try{return new URL(i,r).href}catch{return r+i}}function _(){if(typeof document>`u`)return``;var e=document.currentScript;if(e){var t=e.getAttribute(`data-amd-module-id`);if(t)return t}return``}function v(e,n,r){if(Array.isArray(e)?(r=n,n=e,e=_()):typeof e==`function`?(r=e,n=[],e=_()):typeof n==`function`&&(r=n,n=[]),!e)throw Error(`[AMD] Anonymous define() could not be associated with a module id`);e in t||(t[e]={deps:n||[],factory:r})}v.amd={async:!0};function y(){return function(){}}function b(e,t){return{id:e,exports:t,uri:g(e)}}function x(e,t,n,r){if(Array.isArray(e)){var i=Promise.all(e.map(function(e){return C(e,r)})).then(function(e){return t&&t.apply(null,e),e});return n&&i.catch(n),i}return C(e,r)}function S(e,o){if(Array.isArray(e))throw Error(`[AMD] syncRequire does not support dependency arrays`);var s=f(e,o);if(s in a)throw a[s];if(s in n)return n[s];if(s in r||s in i)throw c(s,Error(`Module is still loading asynchronously`));if(!(s in t))throw c(s,Error(`Module is not available for syncRequire`));return T(s)}function C(e,i){var o=f(e,i);return o in a?Promise.reject(a[o]):o in n?Promise.resolve(n[o]):o in r?r[o]:o in t?(r[o]=w(o),r[o]):(r[o]=D(o).then(function(){if(!(o in t)){var e=c(o,Error(`Module not defined after script load`));throw a[o]=e,e}return w(o)}).catch(function(e){delete r[o];var t=c(o,e);throw a[o]=t,t}),r[o])}function w(e){var i=t[e],o=E(e),s=y(),c=b(e,s);return Promise.all(i.deps.map(function(t){return t===`exports`?s:t===`require`?o:t===`module`?c:C(t,e).catch(function(n){throw l(e,t,n)})})).then(function(t){var a=i.factory.apply(null,t);return a&&typeof a.then==`function`?a.then(function(t){return n[e]=t===void 0?c.exports:t,delete r[e],n[e]}):(n[e]=a===void 0?c.exports:a,delete r[e],n[e])}).catch(function(t){throw delete r[e],a[e]=t,t})}function T(e){var r=t[e],i=E(e),o=y(),s=b(e,o);try{var u=r.deps.map(function(t){if(t===`exports`)return o;if(t===`require`)return i;if(t===`module`)return s;try{return S(t,e)}catch(n){throw l(e,t,n)}}),d=r.factory.apply(null,u);if(d&&typeof d.then==`function`)throw c(e,Error(`Module resolved asynchronously and cannot be syncRequired`));return n[e]=d===void 0?s.exports:d,n[e]}catch(t){throw a[e]=t,t}}function E(e){var r=function(r,i,a){if(Array.isArray(r))return x(r,i,a,e);var o=f(r,e);return o in n?n[o]:o in t?S(r,e):C(r,e)};return r.resolve=function(t){return f(t,e)},r.toUrl=function(t){return g(t,e)},r.sync=function(t){return S(t,e)},r}function D(e){if(e in i)return i[e];var t=g(e);return document.querySelector(`script[src="`+t+`"]`)?(i[e]=Promise.resolve(),i[e]):(i[e]=new Promise(function(n,r){var a=document.createElement(`script`);a.src=t,a.setAttribute(`data-amd-module-id`,e),a.async=!0,a.onload=function(){n()},a.onerror=function(){delete i[e],r(Error(`Failed to load script: `+t))},document.head.appendChild(a)}),i[e])}x.config=function(e){if(e.baseUrl&&(o=e.baseUrl),e.paths)for(var t in e.paths)Object.prototype.hasOwnProperty.call(e.paths,t)&&(s[t]=e.paths[t])},x.modules=t,x.resolved=n,x.errors=a,x.toUrl=g,x.sync=S,e.define=v,e.require=x,e.syncRequire=S})(),e.require.config({baseUrl:`./`,paths:{core:`emailmaker-core.
|
|
15
|
+
var e=window.__emailmaker__||(window.__emailmaker__={});(function(){"use strict";if(e!==void 0&&e.define)return;e===void 0&&(window.__amdEnv={});var t={},n={},r={},i={},a={},o=`./`,s={};function c(e,t){var n=Error(`[AMD] Failed to load module "`+e+`"`+(t?`: `+t.message:``));return n.moduleId=e,n.cause=t,n}function l(e,t,n){var r=Error(`[AMD] Failed to resolve dependency "`+t+`" for module "`+e+`"`+(n?`: `+n.message:``));return r.moduleId=e,r.dependencyId=t,r.cause=n,r}function u(e){for(var t=String(e||``).split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];if(!(!i||i===`.`)){if(i===`..`){n.length>0&&n.pop();continue}n.push(i)}}return n.join(`/`)}function d(e){var t=String(e||``).replace(/\\/g,`/`),n=String(o||`./`).replace(/\\/g,`/`);return n=n.replace(/^\.\/+/,``),n=n.replace(/^\/+/,``),n&&n.slice(-1)!==`/`&&(n+=`/`),n&&t.indexOf(n)===0&&(t=t.slice(n.length)),t.indexOf(`./`)===0&&(t=t.slice(2)),t}function f(e,t){var n=String(e||``);if(!n)return n;if(!(n.indexOf(`./`)===0||n.indexOf(`../`)===0))return d(u(n));var r=u(t||``),i=r?r.split(`/`):[];i.length>0&&i.pop();for(var a=n.split(`/`),o=0;o<a.length;o++){var s=a[o];if(!(!s||s===`.`)){if(s===`..`){i.length>0&&i.pop();continue}i.push(s)}}return d(i.join(`/`))}function p(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e)||e.indexOf(`//`)===0}function m(e){var t=String(e||``);if(!t||p(t))return t;try{var n=typeof document<`u`&&document.baseURI?document.baseURI:typeof window<`u`&&window.location?window.location.href:``;return n?new URL(t,n).href:t}catch{return t}}function h(){var t=String(o||`./`);if(t.slice(-1)!==`/`&&(t+=`/`),p(t)||t.charAt(0)===`/`)return t;if(e!==void 0&&e&&e.publicPath)try{return new URL(t,m(e.publicPath)).href}catch{}return m(t)}function g(e,t){var n=f(e,t),r=h(),i=Object.prototype.hasOwnProperty.call(s,n)?String(s[n]||``):n;i.slice(-3)!==`.js`&&(i+=`.js`);try{return new URL(i,r).href}catch{return r+i}}function _(){if(typeof document>`u`)return``;var e=document.currentScript;if(e){var t=e.getAttribute(`data-amd-module-id`);if(t)return t}return``}function v(e,n,r){if(Array.isArray(e)?(r=n,n=e,e=_()):typeof e==`function`?(r=e,n=[],e=_()):typeof n==`function`&&(r=n,n=[]),!e)throw Error(`[AMD] Anonymous define() could not be associated with a module id`);e in t||(t[e]={deps:n||[],factory:r})}v.amd={async:!0};function y(){return function(){}}function b(e,t){return{id:e,exports:t,uri:g(e)}}function x(e,t,n,r){if(Array.isArray(e)){var i=Promise.all(e.map(function(e){return C(e,r)})).then(function(e){return t&&t.apply(null,e),e});return n&&i.catch(n),i}return C(e,r)}function S(e,o){if(Array.isArray(e))throw Error(`[AMD] syncRequire does not support dependency arrays`);var s=f(e,o);if(s in a)throw a[s];if(s in n)return n[s];if(s in r||s in i)throw c(s,Error(`Module is still loading asynchronously`));if(!(s in t))throw c(s,Error(`Module is not available for syncRequire`));return T(s)}function C(e,i){var o=f(e,i);return o in a?Promise.reject(a[o]):o in n?Promise.resolve(n[o]):o in r?r[o]:o in t?(r[o]=w(o),r[o]):(r[o]=D(o).then(function(){if(!(o in t)){var e=c(o,Error(`Module not defined after script load`));throw a[o]=e,e}return w(o)}).catch(function(e){delete r[o];var t=c(o,e);throw a[o]=t,t}),r[o])}function w(e){var i=t[e],o=E(e),s=y(),c=b(e,s);return Promise.all(i.deps.map(function(t){return t===`exports`?s:t===`require`?o:t===`module`?c:C(t,e).catch(function(n){throw l(e,t,n)})})).then(function(t){var a=i.factory.apply(null,t);return a&&typeof a.then==`function`?a.then(function(t){return n[e]=t===void 0?c.exports:t,delete r[e],n[e]}):(n[e]=a===void 0?c.exports:a,delete r[e],n[e])}).catch(function(t){throw delete r[e],a[e]=t,t})}function T(e){var r=t[e],i=E(e),o=y(),s=b(e,o);try{var u=r.deps.map(function(t){if(t===`exports`)return o;if(t===`require`)return i;if(t===`module`)return s;try{return S(t,e)}catch(n){throw l(e,t,n)}}),d=r.factory.apply(null,u);if(d&&typeof d.then==`function`)throw c(e,Error(`Module resolved asynchronously and cannot be syncRequired`));return n[e]=d===void 0?s.exports:d,n[e]}catch(t){throw a[e]=t,t}}function E(e){var r=function(r,i,a){if(Array.isArray(r))return x(r,i,a,e);var o=f(r,e);return o in n?n[o]:o in t?S(r,e):C(r,e)};return r.resolve=function(t){return f(t,e)},r.toUrl=function(t){return g(t,e)},r.sync=function(t){return S(t,e)},r}function D(e){if(e in i)return i[e];var t=g(e);return document.querySelector(`script[src="`+t+`"]`)?(i[e]=Promise.resolve(),i[e]):(i[e]=new Promise(function(n,r){var a=document.createElement(`script`);a.src=t,a.setAttribute(`data-amd-module-id`,e),a.async=!0,a.onload=function(){n()},a.onerror=function(){delete i[e],r(Error(`Failed to load script: `+t))},document.head.appendChild(a)}),i[e])}x.config=function(e){if(e.baseUrl&&(o=e.baseUrl),e.paths)for(var t in e.paths)Object.prototype.hasOwnProperty.call(e.paths,t)&&(s[t]=e.paths[t])},x.modules=t,x.resolved=n,x.errors=a,x.toUrl=g,x.sync=S,e.define=v,e.require=x,e.syncRequire=S})(),e.require.config({baseUrl:`./`,paths:{core:`emailmaker-core.2e95ea8e.js`}});
|
|
16
16
|
|
|
17
17
|
// PublicPath (script detection via document.currentScript)
|
|
18
18
|
if (!__emailmaker__.publicPath) {
|
|
@@ -1391,7 +1391,7 @@ __emailmaker__.define("emailmaker.js", [
|
|
|
1391
1391
|
}), r.registerPackage || (r.registerPackage = function(n) {
|
|
1392
1392
|
r.packages[n.id] = n, r.validateAll();
|
|
1393
1393
|
}), t.__compat.registerHost({
|
|
1394
|
-
version: "1.0.118-dev.
|
|
1394
|
+
version: "1.0.118-dev.1",
|
|
1395
1395
|
supports: {
|
|
1396
1396
|
"extensions-api": "^0.9.0",
|
|
1397
1397
|
"extensions-react": "^0.9.0",
|
|
@@ -1442,7 +1442,7 @@ __emailmaker__.define("emailmaker.js", [
|
|
|
1442
1442
|
function Te(e) {
|
|
1443
1443
|
return e?.length ? e.some((t) => Array.isArray(t) ? !1 : !!(t && typeof t == "object" && "url" in t)) : !1;
|
|
1444
1444
|
}
|
|
1445
|
-
var Oe = "1.0.118-dev.
|
|
1445
|
+
var Oe = "1.0.118-dev.1";
|
|
1446
1446
|
async function Re(e) {
|
|
1447
1447
|
await I(typeof __emailmaker__ < "u" ? __emailmaker__ : void 0);
|
|
1448
1448
|
}
|