@parameter1/base-cms-marko-web 4.8.0 → 4.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/browser-component.marko.js +2 -2
- package/components/document/components/body-wrapper.marko.js +2 -2
- package/components/document/components/error.marko.js +2 -2
- package/components/document/components/live-reload.marko.js +2 -2
- package/components/document/components/polyfill.marko.js +2 -2
- package/components/document/components/styles.marko +23 -0
- package/components/document/components/styles.marko.js +57 -0
- package/components/document/container.marko.js +2 -2
- package/components/document/index.marko +8 -19
- package/components/document/index.marko.js +15 -38
- package/components/element/array.marko.js +2 -2
- package/components/element/audio.marko.js +2 -2
- package/components/element/block.marko.js +2 -2
- package/components/element/clear.marko.js +2 -2
- package/components/element/components/image.marko.js +2 -2
- package/components/element/components/text.marko.js +2 -2
- package/components/element/content/address1.marko.js +2 -2
- package/components/element/content/address2.marko.js +2 -2
- package/components/element/content/audio.marko.js +2 -2
- package/components/element/content/authors.marko.js +2 -2
- package/components/element/content/body.marko.js +2 -2
- package/components/element/content/byline.marko.js +2 -2
- package/components/element/content/city-state-zip.marko.js +2 -2
- package/components/element/content/contributors.marko.js +2 -2
- package/components/element/content/country.marko.js +2 -2
- package/components/element/content/embed-code.marko.js +2 -2
- package/components/element/content/end-date.marko.js +2 -2
- package/components/element/content/ends.marko.js +2 -2
- package/components/element/content/fax.marko.js +2 -2
- package/components/element/content/images.marko.js +2 -2
- package/components/element/content/mobile.marko.js +2 -2
- package/components/element/content/name.marko.js +2 -2
- package/components/element/content/phone.marko.js +2 -2
- package/components/element/content/photographers.marko.js +2 -2
- package/components/element/content/public-email.marko.js +2 -2
- package/components/element/content/published.marko.js +2 -2
- package/components/element/content/short-name.marko.js +2 -2
- package/components/element/content/sidebar-stubs.marko.js +2 -2
- package/components/element/content/sidebars.marko.js +2 -2
- package/components/element/content/source.marko.js +2 -2
- package/components/element/content/sponsors.marko.js +2 -2
- package/components/element/content/start-date.marko.js +2 -2
- package/components/element/content/starts.marko.js +2 -2
- package/components/element/content/teaser.marko.js +2 -2
- package/components/element/content/title.marko.js +2 -2
- package/components/element/content/tollfree.marko.js +2 -2
- package/components/element/content/transcript.marko.js +2 -2
- package/components/element/content/website.marko.js +2 -2
- package/components/element/date.marko.js +2 -2
- package/components/element/image/caption.marko.js +2 -2
- package/components/element/image/credit.marko.js +2 -2
- package/components/element/image/display-name.marko.js +2 -2
- package/components/element/image/slider.marko.js +2 -2
- package/components/element/img.marko.js +2 -2
- package/components/element/index.marko.js +2 -2
- package/components/element/link.marko.js +2 -2
- package/components/element/magazine-issue/description.marko.js +2 -2
- package/components/element/magazine-issue/digital-edition-url.marko.js +2 -2
- package/components/element/magazine-issue/name.marko.js +2 -2
- package/components/element/magazine-issue/pdf-url.marko.js +2 -2
- package/components/element/magazine-publication/cancel-url.marko.js +2 -2
- package/components/element/magazine-publication/change-address-url.marko.js +2 -2
- package/components/element/magazine-publication/description.marko.js +2 -2
- package/components/element/magazine-publication/einquiry-url.marko.js +2 -2
- package/components/element/magazine-publication/name.marko.js +2 -2
- package/components/element/magazine-publication/renewal-url.marko.js +2 -2
- package/components/element/magazine-publication/reprints-url.marko.js +2 -2
- package/components/element/magazine-publication/subscribe-url.marko.js +2 -2
- package/components/element/obj-array.marko.js +2 -2
- package/components/element/obj-audio.marko.js +2 -2
- package/components/element/obj-date.marko.js +2 -2
- package/components/element/obj-nodes.marko.js +2 -2
- package/components/element/obj-text.marko.js +2 -2
- package/components/element/obj.marko.js +2 -2
- package/components/element/picture.marko.js +2 -2
- package/components/element/text.marko.js +2 -2
- package/components/element/website-section/description.marko.js +2 -2
- package/components/element/website-section/hierarchy.marko.js +2 -2
- package/components/element/website-section/name.marko.js +2 -2
- package/components/font/google.marko.js +2 -2
- package/components/font/link.marko.js +2 -2
- package/components/font/typekit.marko.js +2 -2
- package/components/load-more/index.marko.js +2 -2
- package/components/load-more/trigger.marko.js +2 -2
- package/components/node/body.marko.js +2 -2
- package/components/node/element.marko.js +2 -2
- package/components/node/footer.marko.js +2 -2
- package/components/node/header.marko.js +2 -2
- package/components/node/image-inner-wrapper.marko.js +2 -2
- package/components/node/image-wrapper.marko.js +2 -2
- package/components/node/image.marko.js +2 -2
- package/components/node/index.marko.js +2 -2
- package/components/node-list/body.marko.js +2 -2
- package/components/node-list/element.marko.js +2 -2
- package/components/node-list/footer.marko.js +2 -2
- package/components/node-list/header.marko.js +2 -2
- package/components/node-list/index.marko.js +2 -2
- package/components/node-list/node.marko.js +2 -2
- package/components/node-list/nodes.marko.js +2 -2
- package/components/page/container.marko.js +2 -2
- package/components/page/description.marko.js +2 -2
- package/components/page/image.marko.js +2 -2
- package/components/page/layouts/content.marko.js +2 -2
- package/components/page/layouts/default.marko.js +2 -2
- package/components/page/layouts/dynamic-page.marko.js +2 -2
- package/components/page/layouts/magazine-issue.marko.js +2 -2
- package/components/page/layouts/magazine-publication.marko.js +2 -2
- package/components/page/layouts/website-section.marko.js +2 -2
- package/components/page/metadata/components/common.marko.js +2 -2
- package/components/page/metadata/content.marko.js +2 -2
- package/components/page/metadata/default.marko.js +2 -2
- package/components/page/metadata/dynamic-page.marko.js +2 -2
- package/components/page/metadata/magazine-issue.marko.js +2 -2
- package/components/page/metadata/magazine-publication.marko.js +2 -2
- package/components/page/metadata/website-section.marko.js +2 -2
- package/components/page/rel-canonical.marko.js +2 -2
- package/components/page/title.marko.js +2 -2
- package/components/page/wrapper.marko.js +2 -2
- package/components/resolve/page.marko.js +2 -2
- package/components/rss/website-section.marko.js +2 -2
- package/config/core.js +0 -41
- package/eslint.log +3 -0
- package/express/asset-loader.js +55 -0
- package/express/cdn.js +27 -0
- package/express/css-loader.js +117 -0
- package/express/error-handlers.js +2 -0
- package/express/index.js +12 -3
- package/middleware/with-content.js +4 -0
- package/middleware/with-dynamic-page.js +4 -0
- package/middleware/with-magazine-issue.js +4 -0
- package/middleware/with-magazine-publication.js +4 -0
- package/middleware/with-website-section.js +4 -0
- package/package.json +3 -3
- package/scss/fonts/alata-fallback.scss +7 -0
- package/scss/fonts/arimo-fallback.scss +7 -0
- package/scss/fonts/fira-sans-fallback.scss +1 -0
- package/scss/fonts/ibm-plex-sans-fallback.scss +7 -0
- package/scss/fonts/informapro-fallback.scss +6 -0
- package/scss/fonts/lato-fallback.scss +7 -0
- package/scss/fonts/montserrat-fallback.scss +1 -0
- package/scss/fonts/open-sans-condensed-fallback.scss +1 -0
- package/scss/fonts/open-sans-fallback.scss +1 -0
- package/scss/fonts/oswold-fallback.scss +1 -0
- package/scss/fonts/roboto-condensed-fallback.scss +7 -0
- package/scss/fonts/roboto-fallback.scss +7 -0
- package/scss/fonts/roboto-slab-fallback.scss +7 -0
- package/scss/fonts/solitaire-mvb-pro-fallback.scss +6 -0
- package/scss/fonts/source-sans-4-fallback.scss +1 -0
- package/scss/fonts/source-serif-pro-fallback.scss +7 -0
- package/base-cms-marko-web-0.7.4.tgz +0 -0
- package/base-cms-marko-web-0.9.37.tgz +0 -0
- package/base-cms-marko-web-0.9.55.tgz +0 -0
- package/config/dist-loader.js +0 -42
- package/express/purged-css.js +0 -11
- package/public/lazysizes/v5.3.2.js +0 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/browser-component.marko",
|
6
6
|
marko_component = require("./browser-component.marko"),
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
8
8
|
module_defaultValue = require("@parameter1/base-cms-marko-core/utils/default-value"),
|
@@ -78,7 +78,7 @@ marko_template._ = marko_renderer(render, {
|
|
78
78
|
}, marko_component);
|
79
79
|
|
80
80
|
marko_template.meta = {
|
81
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
81
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/browser-component.marko",
|
82
82
|
component: "./browser-component.marko",
|
83
83
|
tags: [
|
84
84
|
"@parameter1/base-cms-marko-core/components/resolve.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/body-wrapper.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
8
8
|
marko_attrs = require("marko/dist/runtime/html/helpers/attrs");
|
@@ -29,5 +29,5 @@ marko_template._ = marko_renderer(render, {
|
|
29
29
|
});
|
30
30
|
|
31
31
|
marko_template.meta = {
|
32
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
32
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/body-wrapper.marko"
|
33
33
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/error.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_isDev = require("../../../utils/is-dev"),
|
8
8
|
isDev = module_isDev.default || module_isDev,
|
@@ -80,7 +80,7 @@ marko_template._ = marko_renderer(render, {
|
|
80
80
|
});
|
81
81
|
|
82
82
|
marko_template.meta = {
|
83
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
83
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/error.marko",
|
84
84
|
tags: [
|
85
85
|
"../../page/title.marko",
|
86
86
|
"../../page/wrapper.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/live-reload.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_isDev = require("../../../utils/is-dev"),
|
8
8
|
isDev = module_isDev.default || module_isDev,
|
@@ -26,5 +26,5 @@ marko_template._ = marko_renderer(render, {
|
|
26
26
|
});
|
27
27
|
|
28
28
|
marko_template.meta = {
|
29
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
29
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/live-reload.marko"
|
30
30
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/polyfill.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -29,5 +29,5 @@ marko_template._ = marko_renderer(render, {
|
|
29
29
|
});
|
30
30
|
|
31
31
|
marko_template.meta = {
|
32
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
32
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/polyfill.marko"
|
33
33
|
};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
$ const { css, route } = out.global;
|
2
|
+
$ const { mode } = css;
|
3
|
+
$ const { kind } = route;
|
4
|
+
|
5
|
+
<if(mode === "main")>
|
6
|
+
<link rel="stylesheet" href=css.main() />
|
7
|
+
</if>
|
8
|
+
<else-if(mode === "purged")>
|
9
|
+
<link rel="stylesheet" href=css.purged() />
|
10
|
+
</else-if>
|
11
|
+
<else>
|
12
|
+
$ const critical = css.critical(route);
|
13
|
+
$ const optimized = css.optimized(route);
|
14
|
+
<if(critical)>
|
15
|
+
<style>${critical}</style>
|
16
|
+
</if>
|
17
|
+
<if(mode === "optimized" && optimized)>
|
18
|
+
<link rel="preload" href=optimized as="style" onload="this.onload=null;this.rel='stylesheet'">
|
19
|
+
<noscript>
|
20
|
+
<link rel="stylesheet" href=optimized>
|
21
|
+
</noscript>
|
22
|
+
</if>
|
23
|
+
</else>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// Compiled using marko@4.20.2 - DO NOT EDIT
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/styles.marko",
|
6
|
+
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
|
+
marko_attr = require("marko/dist/runtime/html/helpers/attr"),
|
8
|
+
helpers_escape_xml = require("marko/dist/runtime/html/helpers/escape-xml"),
|
9
|
+
marko_escapeXml = helpers_escape_xml.x,
|
10
|
+
marko_escapeStyle = require("marko/dist/runtime/html/helpers/escape-style-placeholder");
|
11
|
+
|
12
|
+
function render(input, out, __component, component, state) {
|
13
|
+
var data = input;
|
14
|
+
|
15
|
+
const { css, route } = out.global;
|
16
|
+
|
17
|
+
const { mode } = css;
|
18
|
+
|
19
|
+
const { kind } = route;
|
20
|
+
|
21
|
+
if (mode === "main") {
|
22
|
+
out.w("<link rel=\"stylesheet\"" +
|
23
|
+
marko_attr("href", css.main()) +
|
24
|
+
">");
|
25
|
+
} else if (mode === "purged") {
|
26
|
+
out.w("<link rel=\"stylesheet\"" +
|
27
|
+
marko_attr("href", css.purged()) +
|
28
|
+
">");
|
29
|
+
} else {
|
30
|
+
const critical = css.critical(route);
|
31
|
+
|
32
|
+
const optimized = css.optimized(route);
|
33
|
+
|
34
|
+
if (critical) {
|
35
|
+
out.w("<style>" +
|
36
|
+
marko_escapeStyle(critical) +
|
37
|
+
"</style>");
|
38
|
+
}
|
39
|
+
|
40
|
+
if ((mode === "optimized") && optimized) {
|
41
|
+
out.w("<link rel=\"preload\"" +
|
42
|
+
marko_attr("href", optimized) +
|
43
|
+
" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\"><noscript><link rel=\"stylesheet\"" +
|
44
|
+
marko_attr("href", optimized) +
|
45
|
+
"></noscript>");
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
marko_template._ = marko_renderer(render, {
|
51
|
+
d_: true,
|
52
|
+
e_: marko_componentType
|
53
|
+
});
|
54
|
+
|
55
|
+
marko_template.meta = {
|
56
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/components/styles.marko"
|
57
|
+
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/container.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -47,7 +47,7 @@ marko_template._ = marko_renderer(render, {
|
|
47
47
|
});
|
48
48
|
|
49
49
|
marko_template.meta = {
|
50
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
50
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/container.marko",
|
51
51
|
tags: [
|
52
52
|
"../page/container.marko"
|
53
53
|
]
|
@@ -1,11 +1,6 @@
|
|
1
1
|
import { getAsObject } from "@parameter1/base-cms-object-path";
|
2
2
|
|
3
|
-
$ const {
|
4
|
-
config,
|
5
|
-
req,
|
6
|
-
usePurgedCSS,
|
7
|
-
embedCSS,
|
8
|
-
} = out.global;
|
3
|
+
$ const { config, req, assets } = out.global;
|
9
4
|
|
10
5
|
$ const dir = input.dir || "ltr";
|
11
6
|
$ const lang = input.lang || config.website("language.code", "en-us");
|
@@ -19,9 +14,14 @@ $ const wrapper = getAsObject(input, "bodyWrapper");
|
|
19
14
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
20
15
|
<meta name="viewport" content=viewport>
|
21
16
|
|
17
|
+
<link rel="preconnect" href="https://cdn.parameter1.com">
|
18
|
+
|
19
|
+
<!-- load styles -->
|
20
|
+
<styles />
|
21
|
+
|
22
22
|
<marko-web-deferred-script-loader-init />
|
23
23
|
|
24
|
-
<for|src| of=
|
24
|
+
<for|src| of=assets.files.get("js")>
|
25
25
|
<marko-web-deferred-script-loader-register
|
26
26
|
name="marko-web-core"
|
27
27
|
src=src
|
@@ -34,7 +34,7 @@ $ const wrapper = getAsObject(input, "bodyWrapper");
|
|
34
34
|
|
35
35
|
<marko-web-deferred-script-loader-register
|
36
36
|
name="lazysizes"
|
37
|
-
src="/
|
37
|
+
src="https://cdn.parameter1.com/lazysizes/v5.3.2.js"
|
38
38
|
on="ready"
|
39
39
|
/>
|
40
40
|
<!-- add picturefill to old browsers -->
|
@@ -43,17 +43,6 @@ $ const wrapper = getAsObject(input, "bodyWrapper");
|
|
43
43
|
</script>
|
44
44
|
<script nomodule src="https://cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.3/picturefill.min.js" async></script>
|
45
45
|
|
46
|
-
<!-- load styles -->
|
47
|
-
$ const loadStyles = usePurgedCSS ? config.purgedStyles.bind(config) : config.styles.bind(config);
|
48
|
-
<if(embedCSS)>
|
49
|
-
<style>${loadStyles({ embedded: true })}</style>
|
50
|
-
</if>
|
51
|
-
<else>
|
52
|
-
<for|href| of=loadStyles()>
|
53
|
-
<link rel="stylesheet" href=href />
|
54
|
-
</for>
|
55
|
-
</else>
|
56
|
-
|
57
46
|
<${input.head} />
|
58
47
|
</head>
|
59
48
|
<body>
|
@@ -2,21 +2,20 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/document/index.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
9
9
|
getAsObject = module_baseCmsObjectPath_module.getAsObject,
|
10
10
|
marko_attr = require("marko/dist/runtime/html/helpers/attr"),
|
11
|
-
|
11
|
+
styles_template = require("./components/styles.marko"),
|
12
12
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
13
|
+
styles_tag = marko_loadTag(styles_template),
|
14
|
+
marko_web_deferred_script_loader_init_template = require("@parameter1/base-cms-marko-web-deferred-script-loader/components/init.marko"),
|
13
15
|
marko_web_deferred_script_loader_init_tag = marko_loadTag(marko_web_deferred_script_loader_init_template),
|
14
16
|
marko_forOf = require("marko/dist/runtime/helpers/for-of"),
|
15
17
|
marko_web_deferred_script_loader_register_template = require("@parameter1/base-cms-marko-web-deferred-script-loader/components/register.marko"),
|
16
18
|
marko_web_deferred_script_loader_register_tag = marko_loadTag(marko_web_deferred_script_loader_register_template),
|
17
|
-
helpers_escape_xml = require("marko/dist/runtime/html/helpers/escape-xml"),
|
18
|
-
marko_escapeXml = helpers_escape_xml.x,
|
19
|
-
marko_escapeStyle = require("marko/dist/runtime/html/helpers/escape-style-placeholder"),
|
20
19
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
21
20
|
marko_assign = require("marko/dist/runtime/helpers/assign"),
|
22
21
|
marko_web_document_container_template = require("./container.marko"),
|
@@ -34,12 +33,7 @@ var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
34
33
|
function render(input, out, __component, component, state) {
|
35
34
|
var data = input;
|
36
35
|
|
37
|
-
const {
|
38
|
-
config,
|
39
|
-
req,
|
40
|
-
usePurgedCSS,
|
41
|
-
embedCSS,
|
42
|
-
} = out.global;
|
36
|
+
const { config, req, assets } = out.global;
|
43
37
|
|
44
38
|
const dir = input.dir || "ltr";
|
45
39
|
|
@@ -54,13 +48,15 @@ function render(input, out, __component, component, state) {
|
|
54
48
|
marko_attr("dir", dir) +
|
55
49
|
"><head><meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\"" +
|
56
50
|
marko_attr("content", viewport) +
|
57
|
-
">");
|
51
|
+
"><link rel=\"preconnect\" href=\"https://cdn.parameter1.com\">");
|
58
52
|
|
59
|
-
|
53
|
+
styles_tag({}, out, __component, "6");
|
54
|
+
|
55
|
+
marko_web_deferred_script_loader_init_tag({}, out, __component, "7");
|
60
56
|
|
61
57
|
var $for$0 = 0;
|
62
58
|
|
63
|
-
marko_forOf(
|
59
|
+
marko_forOf(assets.files.get("js"), function(src) {
|
64
60
|
var $keyScope$0 = "[" + (($for$0++) + "]");
|
65
61
|
|
66
62
|
marko_web_deferred_script_loader_register_tag({
|
@@ -70,37 +66,17 @@ function render(input, out, __component, component, state) {
|
|
70
66
|
on: "ready",
|
71
67
|
init: "var w = window; w.markoCompQueue = w.markoCompQueue || []; var name = 'CMSBrowserComponents', methods = ['load', 'loadComponent'], queue = function(method) { return function() { w.markoCompQueue.push([method, arguments]) } }; w[name] = w[name] || {}; for (var i = 0; i < methods.length; i++) { var method = methods[i]; w[name][method] = w[name][method] || queue(method); }",
|
72
68
|
onScriptLoad: "window.markoCompQueue.flush();"
|
73
|
-
}, out, __component, "
|
69
|
+
}, out, __component, "8" + $keyScope$0);
|
74
70
|
});
|
75
71
|
|
76
72
|
marko_web_deferred_script_loader_register_tag({
|
77
73
|
name: "lazysizes",
|
78
|
-
src: "/
|
74
|
+
src: "https://cdn.parameter1.com/lazysizes/v5.3.2.js",
|
79
75
|
on: "ready"
|
80
|
-
}, out, __component, "
|
76
|
+
}, out, __component, "9");
|
81
77
|
|
82
78
|
out.w("<script nomodule>\n document.createElement(\"picture\");\n </script><script nomodule src=\"https://cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.3/picturefill.min.js\" async></script>");
|
83
79
|
|
84
|
-
const loadStyles = usePurgedCSS ? config.purgedStyles.bind(config) : config.styles.bind(config);
|
85
|
-
|
86
|
-
if (embedCSS) {
|
87
|
-
out.w("<style>" +
|
88
|
-
marko_escapeStyle(loadStyles({
|
89
|
-
embedded: true
|
90
|
-
})) +
|
91
|
-
"</style>");
|
92
|
-
} else {
|
93
|
-
var $for$1 = 0;
|
94
|
-
|
95
|
-
marko_forOf(loadStyles(), function(href) {
|
96
|
-
var $keyScope$1 = "[" + (($for$1++) + "]");
|
97
|
-
|
98
|
-
out.w("<link rel=\"stylesheet\"" +
|
99
|
-
marko_attr("href", href) +
|
100
|
-
">");
|
101
|
-
});
|
102
|
-
}
|
103
|
-
|
104
80
|
marko_dynamicTag(out, input.head, null, null, null, null, __component, "10");
|
105
81
|
|
106
82
|
out.w("</head><body>");
|
@@ -147,8 +123,9 @@ marko_template._ = marko_renderer(render, {
|
|
147
123
|
});
|
148
124
|
|
149
125
|
marko_template.meta = {
|
150
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
126
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/document/index.marko",
|
151
127
|
tags: [
|
128
|
+
"./components/styles.marko",
|
152
129
|
"@parameter1/base-cms-marko-web-deferred-script-loader/components/init.marko",
|
153
130
|
"@parameter1/base-cms-marko-web-deferred-script-loader/components/register.marko",
|
154
131
|
"./container.marko",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/array.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -63,5 +63,5 @@ marko_template._ = marko_renderer(render, {
|
|
63
63
|
});
|
64
64
|
|
65
65
|
marko_template.meta = {
|
66
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
66
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/array.marko"
|
67
67
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/audio.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
marko_attr = require("marko/dist/runtime/html/helpers/attr"),
|
8
8
|
marko_mergeAttrs = require("marko/dist/runtime/html/helpers/merge-attrs");
|
@@ -29,5 +29,5 @@ marko_template._ = marko_renderer(render, {
|
|
29
29
|
});
|
30
30
|
|
31
31
|
marko_template.meta = {
|
32
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
32
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/audio.marko"
|
33
33
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/block.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -40,5 +40,5 @@ marko_template._ = marko_renderer(render, {
|
|
40
40
|
});
|
41
41
|
|
42
42
|
marko_template.meta = {
|
43
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
43
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/block.marko"
|
44
44
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/clear.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
marko_styleAttr = require("marko/dist/runtime/html/helpers/style-attr");
|
8
8
|
|
@@ -28,5 +28,5 @@ marko_template._ = marko_renderer(render, {
|
|
28
28
|
});
|
29
29
|
|
30
30
|
marko_template.meta = {
|
31
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
31
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/clear.marko"
|
32
32
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/components/image.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -58,5 +58,5 @@ marko_template._ = marko_renderer(render, {
|
|
58
58
|
});
|
59
59
|
|
60
60
|
marko_template.meta = {
|
61
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
61
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/components/image.marko"
|
62
62
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/components/text.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
8
8
|
marko_str = require("marko/dist/runtime/helpers/to-string"),
|
@@ -33,5 +33,5 @@ marko_template._ = marko_renderer(render, {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
36
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/components/text.marko"
|
37
37
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/address1.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_extractRender = require("../extract-render"),
|
8
8
|
extractRender = module_extractRender.default || module_extractRender,
|
@@ -33,7 +33,7 @@ marko_template._ = marko_renderer(render, {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
36
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/address1.marko",
|
37
37
|
tags: [
|
38
38
|
"../obj-text.marko"
|
39
39
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/address2.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_extractRender = require("../extract-render"),
|
8
8
|
extractRender = module_extractRender.default || module_extractRender,
|
@@ -33,7 +33,7 @@ marko_template._ = marko_renderer(render, {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
36
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/address2.marko",
|
37
37
|
tags: [
|
38
38
|
"../obj-text.marko"
|
39
39
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/audio.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_extractRender = require("../extract-render"),
|
8
8
|
extractRender = module_extractRender.default || module_extractRender,
|
@@ -32,7 +32,7 @@ marko_template._ = marko_renderer(render, {
|
|
32
32
|
});
|
33
33
|
|
34
34
|
marko_template.meta = {
|
35
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
35
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/audio.marko",
|
36
36
|
tags: [
|
37
37
|
"../obj-audio.marko"
|
38
38
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/authors.marko",
|
6
6
|
marko_component = require("./authors.marko"),
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
8
8
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
@@ -35,7 +35,7 @@ marko_template._ = marko_renderer(render, {
|
|
35
35
|
}, marko_component);
|
36
36
|
|
37
37
|
marko_template.meta = {
|
38
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
38
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/authors.marko",
|
39
39
|
component: "./authors.marko",
|
40
40
|
tags: [
|
41
41
|
"../obj-nodes.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/body.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -54,7 +54,7 @@ marko_template._ = marko_renderer(render, {
|
|
54
54
|
});
|
55
55
|
|
56
56
|
marko_template.meta = {
|
57
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
57
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/body.marko",
|
58
58
|
tags: [
|
59
59
|
"../obj-text.marko",
|
60
60
|
"../clear.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/byline.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_extractRender = require("../extract-render"),
|
8
8
|
extractRender = module_extractRender.default || module_extractRender,
|
@@ -34,7 +34,7 @@ marko_template._ = marko_renderer(render, {
|
|
34
34
|
});
|
35
35
|
|
36
36
|
marko_template.meta = {
|
37
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
37
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/byline.marko",
|
38
38
|
tags: [
|
39
39
|
"../obj-text.marko"
|
40
40
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/city-state-zip.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_extractRender = require("../extract-render"),
|
8
8
|
extractRender = module_extractRender.default || module_extractRender,
|
@@ -33,7 +33,7 @@ marko_template._ = marko_renderer(render, {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
36
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/city-state-zip.marko",
|
37
37
|
tags: [
|
38
38
|
"../obj-text.marko"
|
39
39
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/contributors.marko",
|
6
6
|
marko_component = require("./contributors.marko"),
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
8
8
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
@@ -35,7 +35,7 @@ marko_template._ = marko_renderer(render, {
|
|
35
35
|
}, marko_component);
|
36
36
|
|
37
37
|
marko_template.meta = {
|
38
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
38
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/contributors.marko",
|
39
39
|
component: "./contributors.marko",
|
40
40
|
tags: [
|
41
41
|
"../obj-nodes.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$4.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/country.marko",
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
7
7
|
module_extractRender = require("../extract-render"),
|
8
8
|
extractRender = module_extractRender.default || module_extractRender,
|
@@ -33,7 +33,7 @@ marko_template._ = marko_renderer(render, {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$4.
|
36
|
+
id: "/@parameter1/base-cms-marko-web$4.9.0/components/element/content/country.marko",
|
37
37
|
tags: [
|
38
38
|
"../obj-text.marko"
|
39
39
|
]
|