@parameter1/base-cms-marko-web 2.73.0 → 2.75.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/base-cms-marko-web-0.7.4.tgz +0 -0
  2. package/base-cms-marko-web-0.9.37.tgz +0 -0
  3. package/base-cms-marko-web-0.9.55.tgz +0 -0
  4. package/components/browser-component.marko.js +14 -53
  5. package/components/document/components/assets.marko.js +43 -0
  6. package/components/document/components/body-wrapper.marko.js +2 -2
  7. package/components/document/components/error.marko.js +2 -2
  8. package/components/document/components/live-reload.marko.js +2 -2
  9. package/components/document/container.marko.js +2 -2
  10. package/components/document/index.marko.js +28 -32
  11. package/components/element/array.marko.js +5 -5
  12. package/components/element/block.marko.js +5 -5
  13. package/components/element/clear.marko.js +2 -2
  14. package/components/element/components/image.marko.js +5 -5
  15. package/components/element/components/text.marko.js +2 -2
  16. package/components/element/content/address1.marko.js +3 -4
  17. package/components/element/content/address2.marko.js +3 -4
  18. package/components/element/content/authors.marko.js +3 -4
  19. package/components/element/content/body.marko.js +8 -9
  20. package/components/element/content/byline.marko.js +3 -4
  21. package/components/element/content/city-state-zip.marko.js +3 -4
  22. package/components/element/content/contributors.marko.js +3 -4
  23. package/components/element/content/country.marko.js +3 -4
  24. package/components/element/content/embed-code.marko.js +3 -4
  25. package/components/element/content/end-date.marko.js +3 -4
  26. package/components/element/content/ends.marko.js +12 -7
  27. package/components/element/content/fax.marko.js +3 -4
  28. package/components/element/content/images.marko.js +12 -7
  29. package/components/element/content/mobile.marko.js +3 -4
  30. package/components/element/content/name.marko.js +3 -4
  31. package/components/element/content/phone.marko.js +3 -4
  32. package/components/element/content/photographers.marko.js +3 -4
  33. package/components/element/content/public-email.marko.js +6 -7
  34. package/components/element/content/published.marko.js +3 -4
  35. package/components/element/content/short-name.marko.js +3 -4
  36. package/components/element/content/sidebars.marko.js +4 -5
  37. package/components/element/content/source.marko.js +3 -4
  38. package/components/element/content/sponsors.marko.js +3 -4
  39. package/components/element/content/start-date.marko.js +3 -4
  40. package/components/element/content/starts.marko.js +12 -7
  41. package/components/element/content/teaser.marko.js +3 -4
  42. package/components/element/content/title.marko.js +3 -4
  43. package/components/element/content/tollfree.marko.js +3 -4
  44. package/components/element/content/website.marko.js +6 -7
  45. package/components/element/date.marko.js +4 -5
  46. package/components/element/image/caption.marko.js +3 -4
  47. package/components/element/image/credit.marko.js +3 -4
  48. package/components/element/image/display-name.marko.js +3 -4
  49. package/components/element/img.marko.js +4 -5
  50. package/components/element/index.marko.js +2 -2
  51. package/components/element/link.marko.js +2 -2
  52. package/components/element/magazine-issue/description.marko.js +12 -7
  53. package/components/element/magazine-issue/digital-edition-url.marko.js +6 -7
  54. package/components/element/magazine-issue/name.marko.js +3 -4
  55. package/components/element/magazine-publication/description.marko.js +12 -7
  56. package/components/element/magazine-publication/einquiry-url.marko.js +6 -7
  57. package/components/element/magazine-publication/name.marko.js +3 -4
  58. package/components/element/magazine-publication/renewal-url.marko.js +6 -7
  59. package/components/element/magazine-publication/reprints-url.marko.js +6 -7
  60. package/components/element/magazine-publication/subscribe-url.marko.js +6 -7
  61. package/components/element/obj-array.marko.js +4 -5
  62. package/components/element/obj-date.marko.js +4 -5
  63. package/components/element/obj-nodes.marko.js +8 -9
  64. package/components/element/obj-text.marko.js +4 -5
  65. package/components/element/obj.marko.js +11 -11
  66. package/components/element/text.marko.js +4 -5
  67. package/components/element/website-section/hierarchy.marko.js +16 -11
  68. package/components/element/website-section/name.marko.js +6 -7
  69. package/components/load-more/index.marko.js +2 -3
  70. package/components/load-more/trigger.marko.js +2 -2
  71. package/components/node/body.marko.js +9 -10
  72. package/components/node/element.marko.js +4 -5
  73. package/components/node/footer.marko.js +6 -7
  74. package/components/node/header.marko.js +6 -7
  75. package/components/node/image-inner-wrapper.marko.js +8 -9
  76. package/components/node/image-wrapper.marko.js +9 -10
  77. package/components/node/image.marko.js +9 -10
  78. package/components/node/index.marko.js +10 -11
  79. package/components/node-list/body.marko.js +6 -7
  80. package/components/node-list/element.marko.js +4 -5
  81. package/components/node-list/footer.marko.js +6 -7
  82. package/components/node-list/header.marko.js +6 -7
  83. package/components/node-list/index.marko.js +10 -11
  84. package/components/node-list/node.marko.js +6 -7
  85. package/components/node-list/nodes.marko.js +7 -8
  86. package/components/page/container.marko.js +2 -2
  87. package/components/page/description.marko.js +2 -2
  88. package/components/page/image.marko.js +14 -15
  89. package/components/page/layouts/content.marko.js +3 -4
  90. package/components/page/layouts/default.marko.js +2 -3
  91. package/components/page/layouts/dynamic-page.marko.js +3 -4
  92. package/components/page/layouts/magazine-issue.marko.js +3 -4
  93. package/components/page/layouts/magazine-publication.marko.js +3 -4
  94. package/components/page/layouts/website-section.marko.js +8 -9
  95. package/components/page/metadata/components/common.marko.js +3 -8
  96. package/components/page/metadata/content.marko.js +11 -12
  97. package/components/page/metadata/default.marko.js +2 -2
  98. package/components/page/metadata/dynamic-page.marko.js +11 -12
  99. package/components/page/metadata/magazine-issue.marko.js +11 -12
  100. package/components/page/metadata/magazine-publication.marko.js +11 -12
  101. package/components/page/metadata/website-section.marko.js +11 -12
  102. package/components/page/rel-canonical.marko.js +2 -2
  103. package/components/page/title.marko.js +2 -2
  104. package/components/page/wrapper.marko.js +2 -2
  105. package/components/queries/all-author-content.marko.js +38 -0
  106. package/components/queries/all-company-content.marko.js +38 -0
  107. package/components/queries/all-published-content.marko.js +38 -0
  108. package/components/queries/components/loader.marko.js +45 -0
  109. package/components/queries/content.marko.js +38 -0
  110. package/components/queries/dynamic-page.marko.js +38 -0
  111. package/components/queries/index.marko.js +108 -0
  112. package/components/queries/magazine-active-issues.marko.js +38 -0
  113. package/components/queries/magazine-issue.marko.js +38 -0
  114. package/components/queries/magazine-latest-issue.marko.js +38 -0
  115. package/components/queries/magazine-publication.marko.js +38 -0
  116. package/components/queries/magazine-publications.marko.js +38 -0
  117. package/components/queries/magazine-scheduled-content.marko.js +38 -0
  118. package/components/queries/related-published-content.marko.js +38 -0
  119. package/components/queries/website-optioned-content.marko.js +38 -0
  120. package/components/queries/website-scheduled-content.marko.js +38 -0
  121. package/components/queries/website-section.marko.js +38 -0
  122. package/components/resolve/index.marko.js +86 -0
  123. package/components/resolve/page.marko.js +10 -11
  124. package/components/rss/website-section.marko.js +2 -2
  125. package/package.json +5 -5
  126. package/src/components/ads/gam/define-display.marko.js +63 -0
  127. package/src/components/ads/gam/display.marko.js +41 -0
  128. package/src/components/ads/gam/head.marko.js +48 -0
  129. package/src/components/ads/gam/init.marko.js +31 -0
  130. package/src/components/ads/gam/out-of-page.marko.js +47 -0
  131. package/src/components/ads/placeholder.marko.js +35 -0
  132. package/src/components/browser/component.marko.js +38 -0
  133. package/src/components/document/components/assets.marko.js +52 -0
  134. package/src/components/document/components/error.marko.js +54 -0
  135. package/src/components/document/components/load-more-result.marko.js +27 -0
  136. package/src/components/document/index.marko.js +73 -0
  137. package/src/components/document/live-reload.marko.js +35 -0
  138. package/src/components/elements/content/authors.marko.js +38 -0
  139. package/src/components/elements/content/body.marko.js +38 -0
  140. package/src/components/elements/content/byline.marko.js +38 -0
  141. package/src/components/elements/content/components/contacts.marko.js +68 -0
  142. package/src/components/elements/content/contributors.marko.js +38 -0
  143. package/src/components/elements/content/embed-code.marko.js +38 -0
  144. package/src/components/elements/content/name.marko.js +38 -0
  145. package/src/components/elements/content/photographers.marko.js +38 -0
  146. package/src/components/elements/content/published.marko.js +38 -0
  147. package/src/components/elements/content/short-name.marko.js +38 -0
  148. package/src/components/elements/content/source.marko.js +38 -0
  149. package/src/components/elements/content/sponsors.marko.js +38 -0
  150. package/src/components/elements/content/teaser.marko.js +38 -0
  151. package/src/components/elements/core/components/imgix.marko.js +58 -0
  152. package/src/components/elements/core/components/tag-content.marko.js +37 -0
  153. package/src/components/elements/core/date.marko.js +56 -0
  154. package/src/components/elements/core/html.marko.js +38 -0
  155. package/src/components/elements/core/image.marko.js +91 -0
  156. package/src/components/elements/core/link.marko.js +61 -0
  157. package/src/components/elements/core/load-more.marko.js +49 -0
  158. package/src/components/elements/core/text.marko.js +125 -0
  159. package/src/components/elements/website-section/hierarchy.marko.js +65 -0
  160. package/src/components/elements/website-section/name.marko.js +42 -0
  161. package/src/components/gtm/container-init.marko.js +49 -0
  162. package/src/components/gtm/container-push.marko.js +41 -0
  163. package/src/components/gtm/container-start.marko.js +55 -0
  164. package/src/components/gtm/container.marko.js +72 -0
  165. package/src/components/gtm/track-event.marko.js +36 -0
  166. package/src/components/gtm/track-inview-event.marko.js +36 -0
  167. package/src/components/page/container/components/content.marko.js +48 -0
  168. package/src/components/page/container/components/default.marko.js +39 -0
  169. package/src/components/page/container/components/dynamic-page.marko.js +45 -0
  170. package/src/components/page/container/components/home.marko.js +39 -0
  171. package/src/components/page/container/components/website-section.marko.js +45 -0
  172. package/src/components/page/container/index.marko.js +63 -0
  173. package/src/components/page/description.marko.js +31 -0
  174. package/src/components/page/metadata/components/content.marko.js +111 -0
  175. package/src/components/page/metadata/components/dynamic-page.marko.js +51 -0
  176. package/src/components/page/metadata/components/magazine-issue.marko.js +51 -0
  177. package/src/components/page/metadata/components/magazine-publication.marko.js +51 -0
  178. package/src/components/page/metadata/components/website-section.marko.js +51 -0
  179. package/src/components/page/metadata/index.marko.js +87 -0
  180. package/src/components/page/rel-canonical.marko.js +43 -0
  181. package/src/components/page/title.marko.js +50 -0
  182. package/src/components/queries/all-author-content.marko.js +39 -0
  183. package/src/components/queries/all-company-content.marko.js +39 -0
  184. package/src/components/queries/all-published-content.marko.js +39 -0
  185. package/src/components/queries/components/loader-multi.marko.js +66 -0
  186. package/src/components/queries/components/loader-raw.marko.js +64 -0
  187. package/src/components/queries/components/loader-single.marko.js +66 -0
  188. package/src/components/queries/components/loader.marko.js +65 -0
  189. package/src/components/queries/magazine-active-issues.marko.js +39 -0
  190. package/src/components/queries/magazine-issues.marko.js +39 -0
  191. package/src/components/queries/magazine-latest-issue.marko.js +39 -0
  192. package/src/components/queries/magazine-publications.marko.js +39 -0
  193. package/src/components/queries/magazine-scheduled-content.marko.js +39 -0
  194. package/src/components/queries/published-content.marko.js +39 -0
  195. package/src/components/queries/published-startable-content.marko.js +39 -0
  196. package/src/components/queries/related-published-content.marko.js +39 -0
  197. package/src/components/queries/website-scheduled-content-by-year.marko.js +39 -0
  198. package/src/components/queries/website-scheduled-content.marko.js +39 -0
  199. package/components/document/components/lazysizes.marko.js +0 -21
  200. package/components/element/audio.marko.js +0 -33
  201. package/components/element/content/audio.marko.js +0 -40
  202. package/components/element/obj-audio.marko.js +0 -51
  203. package/components/element/website-section/description.marko.js +0 -45
@@ -1,21 +0,0 @@
1
- // Compiled using marko@4.20.2 - DO NOT EDIT
2
- "use strict";
3
-
4
- var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$2.13.0/components/document/components/lazysizes.marko",
6
- marko_renderer = require("marko/src/runtime/components/renderer");
7
-
8
- function render(input, out, __component, component, state) {
9
- var data = input;
10
-
11
- out.w("<script>\n/*! lazysizes - v5.3.2 */\n!function(e){var t=function(u,D,f){\"use strict\";var k,H;if(function(){var e;var t={lazyClass:\"lazyload\",loadedClass:\"lazyloaded\",loadingClass:\"lazyloading\",preloadClass:\"lazypreload\",errorClass:\"lazyerror\",autosizesClass:\"lazyautosizes\",fastLoadedClass:\"ls-is-cached\",iframeLoadMode:0,srcAttr:\"data-src\",srcsetAttr:\"data-srcset\",sizesAttr:\"data-sizes\",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};H=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in H)){H[e]=t[e]}}}(),!D||!D.getElementsByClassName){return{init:function(){},cfg:H,noSupport:true}}var O=D.documentElement,i=u.HTMLPictureElement,P=\"addEventListener\",$=\"getAttribute\",q=u[P].bind(u),I=u.setTimeout,U=u.requestAnimationFrame||I,o=u.requestIdleCallback,j=/^picture$/i,r=[\"load\",\"error\",\"lazyincluded\",\"_lazyloaded\"],a={},G=Array.prototype.forEach,J=function(e,t){if(!a[t]){a[t]=new RegExp(\"(\\\\s|^)\"+t+\"(\\\\s|$)\")}return a[t].test(e[$](\"class\")||\"\")&&a[t]},K=function(e,t){if(!J(e,t)){e.setAttribute(\"class\",(e[$](\"class\")||\"\").trim()+\" \"+t)}},Q=function(e,t){var a;if(a=J(e,t)){e.setAttribute(\"class\",(e[$](\"class\")||\"\").replace(a,\" \"))}},V=function(t,a,e){var i=e?P:\"removeEventListener\";if(e){V(t,a)}r.forEach(function(e){t[i](e,a)})},X=function(e,t,a,i,r){var n=D.createEvent(\"Event\");if(!a){a={}}a.instance=k;n.initEvent(t,!i,!r);n.detail=a;e.dispatchEvent(n);return n},Y=function(e,t){var a;if(!i&&(a=u.picturefill||H.pf)){if(t&&t.src&&!e[$](\"srcset\")){e.setAttribute(\"srcset\",t.src)}a({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,a){a=a||e.offsetWidth;while(a<H.minSize&&t&&!e._lazysizesWidth){a=t.offsetWidth;t=t.parentNode}return a},ee=function(){var a,i;var t=[];var r=[];var n=t;var s=function(){var e=n;n=t.length?r:t;a=true;i=false;while(e.length){e.shift()()}a=false};var e=function(e,t){if(a&&!t){e.apply(this,arguments)}else{n.push(e);if(!i){i=true;(D.hidden?I:U)(s)}}};e._lsFlush=s;return e}(),te=function(a,e){return e?function(){ee(a)}:function(){var e=this;var t=arguments;ee(function(){a.apply(e,t)})}},ae=function(e){var a;var i=0;var r=H.throttleDelay;var n=H.ricTimeout;var t=function(){a=false;i=f.now();e()};var s=o&&n>49?function(){o(t,{timeout:n});if(n!==H.ricTimeout){n=H.ricTimeout}}:te(function(){I(t)},true);return function(e){var t;if(e=e===true){n=33}if(a){return}a=true;t=r-(f.now()-i);if(t<0){t=0}if(e||t<9){s()}else{I(s,t)}}},ie=function(e){var t,a;var i=99;var r=function(){t=null;e()};var n=function(){var e=f.now()-a;if(e<i){I(n,i-e)}else{(o||r)(r)}};return function(){a=f.now();if(!t){t=I(n,i)}}},e=function(){var v,m,c,h,e;var y,z,g,p,C,b,A;var n=/^img$/i;var d=/^iframe$/i;var E=\"onscroll\"in u&&!/(gle|ing)bot/.test(navigator.userAgent);var _=0;var w=0;var M=0;var N=-1;var L=function(e){M--;if(!e||M<0||!e.target){M=0}};var x=function(e){if(A==null){A=Z(D.body,\"visibility\")==\"hidden\"}return A||!(Z(e.parentNode,\"visibility\")==\"hidden\"&&Z(e,\"visibility\")==\"hidden\")};var W=function(e,t){var a;var i=e;var r=x(e);g-=t;b+=t;p-=t;C+=t;while(r&&(i=i.offsetParent)&&i!=D.body&&i!=O){r=(Z(i,\"opacity\")||1)>0;if(r&&Z(i,\"overflow\")!=\"visible\"){a=i.getBoundingClientRect();r=C>a.left&&p<a.right&&b>a.top-1&&g<a.bottom+1}}return r};var t=function(){var e,t,a,i,r,n,s,o,l,u,f,c;var d=k.elements;if((h=H.loadMode)&&M<8&&(e=d.length)){t=0;N++;for(;t<e;t++){if(!d[t]||d[t]._lazyRace){continue}if(!E||k.prematureUnveil&&k.prematureUnveil(d[t])){R(d[t]);continue}if(!(o=d[t][$](\"data-expand\"))||!(n=o*1)){n=w}if(!u){u=!H.expand||H.expand<1?O.clientHeight>500&&O.clientWidth>500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w<f&&M<1&&N>2&&h>2&&!D.hidden){w=f;N=0}else if(h>1&&N>1&&M<6){w=u}else{w=_}}if(l!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;l=n}a=d[t].getBoundingClientRect();if((b=a.bottom)>=s&&(g=a.top)<=z&&(C=a.right)>=s*c&&(p=a.left)<=y&&(b||C||p||g)&&(H.loadHidden||x(d[t]))&&(m&&M<3&&!o&&(h<3||N<4)||W(d[t],n))){R(d[t]);r=true;if(M>9){break}}else if(!r&&m&&!i&&M<4&&N<4&&h>2&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||d[t][$](H.sizesAttr)!=\"auto\"))){i=v[0]||d[t]}}if(i&&!r){R(i)}}};var a=ae(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}L(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,B);X(t,\"lazyloaded\")};var i=te(S);var B=function(e){i({target:e.target})};var T=function(e,t){var a=e.getAttribute(\"data-load-mode\")||H.iframeLoadMode;if(a==0){e.contentWindow.location.replace(t)}else if(a==1){e.src=t}};var F=function(e){var t;var a=e[$](H.srcsetAttr);if(t=H.customMedia[e[$](\"data-media\")||e[$](\"media\")]){e.setAttribute(\"media\",t)}if(a){e.setAttribute(\"srcset\",a)}};var s=te(function(t,e,a,i,r){var n,s,o,l,u,f;if(!(u=X(t,\"lazybeforeunveil\",e)).defaultPrevented){if(i){if(a){K(t,H.autosizesClass)}else{t.setAttribute(\"sizes\",i)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){o=t.parentNode;l=o&&j.test(o.nodeName||\"\")}f=e.firesLoad||\"src\"in t&&(s||n||l);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(L,2500);V(t,B,true)}if(l){G.call(o.getElementsByTagName(\"source\"),F)}if(s){t.setAttribute(\"srcset\",s)}else if(n&&!l){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||l)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,H.fastLoadedClass)}S(u);t._lazyCache=true;I(function(){if(\"_lazyCache\"in t){delete t._lazyCache}},9)}if(t.loading==\"lazy\"){M--}},true)});var R=function(e){if(e._lazyRace){return}var t;var a=n.test(e.nodeName);var i=a&&(e[$](H.sizesAttr)||e[$](\"sizes\"));var r=i==\"auto\";if((r||!m)&&a&&(e[$](\"src\")||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,\"lazyunveilread\").detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;M++;s(e,t,r,i,a)};var r=ie(function(){H.loadMode=3;a()});var o=function(){if(H.loadMode==3){H.loadMode=2}r()};var l=function(){if(m){return}if(f.now()-e<999){I(l,999);return}m=true;H.loadMode=3;a();q(\"scroll\",o,true)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+\" \"+H.preloadClass);q(\"scroll\",a,true);q(\"resize\",a,true);q(\"pageshow\",function(e){if(e.persisted){var t=D.querySelectorAll(\".\"+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(a).observe(O,{childList:true,subtree:true,attributes:true})}else{O[P](\"DOMNodeInserted\",a,true);O[P](\"DOMAttrModified\",a,true);setInterval(a,999)}q(\"hashchange\",a,true);[\"focus\",\"mouseover\",\"click\",\"load\",\"transitionend\",\"animationend\"].forEach(function(e){D[P](e,a,true)});if(/d$|^c/.test(D.readyState)){l()}else{q(\"load\",l);D[P](\"DOMContentLoaded\",a);I(l,2e4)}if(k.elements.length){t();ee._lsFlush()}else{a()}},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){var a;var n=te(function(e,t,a,i){var r,n,s;e._lazysizesWidth=i;i+=\"px\";e.setAttribute(\"sizes\",i);if(j.test(t.nodeName||\"\")){r=t.getElementsByTagName(\"source\");for(n=0,s=r.length;n<s;n++){r[n].setAttribute(\"sizes\",i)}}if(!a.detail.dataAttr){Y(e,a.detail)}});var i=function(e,t,a){var i;var r=e.parentNode;if(r){a=s(e,r,a);i=X(e,\"lazybeforesizes\",{width:a,dataAttr:!!t});if(!i.defaultPrevented){a=i.detail.width;if(a&&a!==e._lazysizesWidth){n(e,r,i,a)}}}};var e=function(){var e;var t=a.length;if(t){e=0;for(;e<t;e++){i(a[e])}}};var t=ie(e);return{_:function(){a=D.getElementsByClassName(H.autosizesClass);q(\"resize\",t)},checkElems:t,updateElem:i}}(),t=function(){if(!t.i&&D.getElementsByClassName){t.i=true;re._();e._()}};return I(function(){H.init&&t()}),k={cfg:H,autoSizer:re,loader:e,init:t,uP:Y,aC:K,rC:Q,hC:J,fire:X,gW:s,rAF:ee}}(e,e.document,Date);e.lazySizes=t,\"object\"==typeof module&&module.exports&&(module.exports=t)}(\"undefined\"!=typeof window?window:{});\n</script>");
12
- }
13
-
14
- marko_template._ = marko_renderer(render, {
15
- ___implicit: true,
16
- ___type: marko_componentType
17
- });
18
-
19
- marko_template.meta = {
20
- id: "/@parameter1/base-cms-marko-web$2.13.0/components/document/components/lazysizes.marko"
21
- };
@@ -1,33 +0,0 @@
1
- // Compiled using marko@4.20.2 - DO NOT EDIT
2
- "use strict";
3
-
4
- var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/audio.marko",
6
- marko_renderer = require("marko/src/runtime/components/renderer"),
7
- marko_attr = require("marko/src/runtime/html/helpers/attr"),
8
- marko_mergeAttrs = require("marko/src/runtime/html/helpers/merge-attrs");
9
-
10
- function render(input, out, __component, component, state) {
11
- var data = input;
12
-
13
- if (input.src) {
14
- out.w("<audio" +
15
- marko_mergeAttrs(input.attrs, {
16
- src: input.src,
17
- class: input.class,
18
- controls: "controls"
19
- }) +
20
- "><p>Your browser doesn't support HTML5 audio. Here is a <a" +
21
- marko_attr("href", input.src) +
22
- ">link to the audio</a> instead.</p></audio>");
23
- }
24
- }
25
-
26
- marko_template._ = marko_renderer(render, {
27
- ___implicit: true,
28
- ___type: marko_componentType
29
- });
30
-
31
- marko_template.meta = {
32
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/audio.marko"
33
- };
@@ -1,40 +0,0 @@
1
- // Compiled using marko@4.20.2 - DO NOT EDIT
2
- "use strict";
3
-
4
- var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/content/audio.marko",
6
- marko_renderer = require("marko/src/runtime/components/renderer"),
7
- module_extractRender = require("../extract-render"),
8
- extractRender = module_extractRender.default || module_extractRender,
9
- marko_assign = require("marko/src/runtime/helpers/assign"),
10
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
11
- marko_web_obj_audio_template = marko_loadTemplate(require.resolve("../obj-audio.marko")),
12
- marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
13
- marko_web_obj_audio_tag = marko_loadTag(marko_web_obj_audio_template);
14
-
15
- function render(input, out, __component, component, state) {
16
- var data = input;
17
-
18
- marko_web_obj_audio_tag(marko_assign({
19
- type: "content",
20
- blockName: input.blockName,
21
- obj: input.obj,
22
- field: "fileSrc",
23
- tag: input.tag,
24
- class: input.class,
25
- modifiers: input.modifiers,
26
- attrs: input.attrs
27
- }, extractRender(input)), out, __component, "0");
28
- }
29
-
30
- marko_template._ = marko_renderer(render, {
31
- ___implicit: true,
32
- ___type: marko_componentType
33
- });
34
-
35
- marko_template.meta = {
36
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/content/audio.marko",
37
- tags: [
38
- "../obj-audio.marko"
39
- ]
40
- };
@@ -1,51 +0,0 @@
1
- // Compiled using marko@4.20.2 - DO NOT EDIT
2
- "use strict";
3
-
4
- var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-audio.marko",
6
- marko_component = require("./obj-audio.marko"),
7
- marko_renderer = require("marko/src/runtime/components/renderer"),
8
- module_objectLink = require("./object-link"),
9
- objectLink = module_objectLink.default || module_objectLink,
10
- module_extractRender = require("./extract-render"),
11
- extractRender = module_extractRender.default || module_extractRender,
12
- marko_assign = require("marko/src/runtime/helpers/assign"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_audio_template = marko_loadTemplate(require.resolve("./audio.marko")),
15
- marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
- marko_web_audio_tag = marko_loadTag(marko_web_audio_template),
17
- marko_web_obj_template = marko_loadTemplate(require.resolve("./obj.marko")),
18
- marko_web_obj_tag = marko_loadTag(marko_web_obj_template);
19
-
20
- function render(input, out, __component, component, state) {
21
- var data = input;
22
-
23
- marko_web_obj_tag({
24
- type: input.type,
25
- blockName: input.blockName,
26
- obj: input.obj,
27
- field: input.field,
28
- class: input.class,
29
- modifiers: input.modifiers,
30
- renderBody: function(out, { value, classNames, resolvedObj }) {
31
- marko_web_audio_tag(marko_assign({
32
- src: value,
33
- class: classNames,
34
- attrs: input.attrs
35
- }, extractRender(input)), out, __component, "1");
36
- }
37
- }, out, __component, "0");
38
- }
39
-
40
- marko_template._ = marko_renderer(render, {
41
- ___type: marko_componentType
42
- }, marko_component);
43
-
44
- marko_template.meta = {
45
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-audio.marko",
46
- component: "./obj-audio.marko",
47
- tags: [
48
- "./audio.marko",
49
- "./obj.marko"
50
- ]
51
- };
@@ -1,45 +0,0 @@
1
- // Compiled using marko@4.20.2 - DO NOT EDIT
2
- "use strict";
3
-
4
- var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/website-section/description.marko",
6
- marko_renderer = require("marko/src/runtime/components/renderer"),
7
- module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
- baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
9
- get = module_baseCmsObjectPath_module.get,
10
- module_extractRender = require("../extract-render"),
11
- extractRender = module_extractRender.default || module_extractRender,
12
- marko_assign = require("marko/src/runtime/helpers/assign"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_obj_text_template = marko_loadTemplate(require.resolve("../obj-text.marko")),
15
- marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
- marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
17
-
18
- function render(input, out, __component, component, state) {
19
- var data = input;
20
-
21
- marko_web_obj_text_tag(marko_assign({
22
- type: "website-section",
23
- blockName: input.blockName,
24
- obj: input.obj,
25
- field: "description",
26
- html: true,
27
- tag: input.tag,
28
- class: input.class,
29
- modifiers: input.modifiers,
30
- attrs: input.attrs,
31
- link: input.link
32
- }, extractRender(input)), out, __component, "0");
33
- }
34
-
35
- marko_template._ = marko_renderer(render, {
36
- ___implicit: true,
37
- ___type: marko_componentType
38
- });
39
-
40
- marko_template.meta = {
41
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/website-section/description.marko",
42
- tags: [
43
- "../obj-text.marko"
44
- ]
45
- };