@pronto-tools-and-more/files 13.2.0 → 13.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
  2. package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +80 -80
  3. package/files/framework-latest/src/default/storefront/index.html +2 -2
  4. package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
  5. package/files/framework-latest/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -1
  6. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -1
  7. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -1
  8. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -1
  9. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069.js +1 -1
  10. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-a6979f.js +1 -0
  11. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -1
  12. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -1
  13. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -1
  14. package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
  15. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-445afb.js +1 -0
  16. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-7956f0.js +1 -1
  17. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -1
  18. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  19. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -1
  20. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
  21. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -1
  22. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
  23. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -1
  24. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -1
  25. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -1
  26. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
  27. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -1
  28. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -1
  29. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -1
  30. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
  31. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -1
  32. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -1
  33. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -1
  34. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -1
  35. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
  36. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -1
  37. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -1
  38. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -1
  39. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -1
  40. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -1
  41. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
  42. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -1
  43. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -1
  44. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
  45. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -1
  46. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
  47. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -1
  48. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_directive_check-overflow_check-overflow_directive_ts.js +1 -0
  49. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_modal_modal_leandom_component_ts.js +1 -0
  50. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_preview_preview_leandom_component_ts.js +1 -0
  51. package/files/schema/views-schema.json +23 -116
  52. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_html_html_module_ts"],{1803:(E,T,u)=>{u.d(T,{OE:()=>l,OK:()=>c,TS:()=>i,We:()=>t});var i=function(r){return r.VERTICAL="vertical",r.HORIZONTAL="horizontal",r.GRID="grid",r.GROUP="group",r.TABS="tabs",r}(i||{}),t=function(r){return r.BLANK="_blank",r.SELF="_self",r}(t||{}),c=function(r){return r.a="a",r.br="br",r.button="button",r.div="div",r.em="em",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.hr="hr",r.iframe="iframe",r.img="img",r.input="input",r.li="li",r.ol="ol",r.p="p",r.pre="pre",r.small="small",r.span="span",r.ul="ul",r.article="article",r.aside="aside",r.details="details",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.header="header",r.main="main",r.mark="mark",r.nav="nav",r.section="section",r.summary="summary",r.time="time",r}(c||{}),l=function(r){return r.div="div",r.li="li",r.ol="ol",r.p="p",r.ul="ul",r.article="article",r.aside="aside",r.details="details",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.header="header",r.main="main",r.mark="mark",r.nav="nav",r.section="section",r.summary="summary",r.time="time",r}(l||{})},2285:(E,T,u)=>{u.d(T,{b:()=>A});var i=u(467),p=u(9379),t=u(177),c=u(1210),l=u(8251),r=u(610),_=u(1803);const y={tag:_.OK.div,content:"",attributes:{}};var d=u(8179),h=u(4438),x=u(9516),B=u(8448),b=u(8004),V=u(1652),U=u(5820);let A=(()=>{var H;class g extends c.${constructor(s,L,f,D,M,v,C,O,K){super(f,s,L,C,O),this.elementRef=s,this.contextService=L,this.injector=f,this.translate=D,this.eventActionService=M,this.store=v,this.document=C,this.globalService=O,this.anchorService=K,this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig=(0,p.A)({},y)}get inlineHtml(){return!(!this.domHelper.leanDom||"A"===this.elementRef.nativeElement.tagName&&this.anchorFeatureEnabled&&this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context))}ngOnInit(){var s=()=>super.ngOnInit,L=this;return(0,i.A)(function*(){if(L.anchorFeatureEnabled=L.anchorService.isAnchorFeatureEnabled(),s().call(L),L.elementRef.nativeElement.innerHTML="",!L.inlineHtml){const f=L.renderer.createElement(L.baseConfig.tag);L.renderer.appendChild(L.elementRef.nativeElement,f)}})()}onConfigChanges(){var s=this;return(0,i.A)(function*(){var L,f;const D=s.inlineHtml?s.elementRef.nativeElement:s.renderer.createElement(s.config.tag),M=(0,p.A)({},s.config.attributes);null!==(L=s.config.attributes)&&void 0!==L&&L.src&&(M.src=s.contextService.toResourceUrl(s.config.attributes.src)),null!==(f=s.config.attributes)&&void 0!==f&&f.href&&(M.href=s.contextService.toResourceUrl(s.config.attributes.href)),"iframe"===s.config.tag&&D.addEventListener("load",()=>{D&&D.contentDocument?(D.contentDocument.scrollingElement.scrollHeight>D.contentWindow.innerHeight&&(D.style.height=D.contentDocument.scrollingElement.scrollHeight+"px"),D.contentDocument.scrollingElement.scrollWidth>D.contentWindow.innerWidth&&(D.style.width=D.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",C=>{C.origin===new URL(null==M?void 0:M.src).origin&&(C.data.height&&(D.style.height=C.data.height+"px"),C.data.width&&(D.style.width=C.data.width+"px"))})}),Object.keys(M).forEach(C=>D.setAttribute(C,s.config.attributes[C])),s.translatedContent=yield s.translate.translate({text:s.config.content,args:s.config.variables||[]}),D.innerHTML=(0,d.uQ)(s.translatedContent,s.context,s.contextService.$functions,s.globalService.getGlobalData()),s.inlineHtml||(s.elementRef.nativeElement.innerHTML="");let v=D;s.anchorFeatureEnabled&&(s.anchorPath=s.anchorService.getAnchorPathForEventAction(s.config.tap,s.context),s.domHelper.leanDom&&s.anchorPath?s.renderer.setAttribute(s.elementRef.nativeElement,"href",s.anchorPath):v=s.handleAnchorTags(D,s.anchorPath)),v.addEventListener("click",C=>s.onClick(C)),s.inlineHtml||s.renderer.appendChild(s.elementRef.nativeElement,v),s.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(s){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===s.type)&&s.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const L=this.getAnchorElementFromEvent(s);null!=L&&L.href&&(L.target===_.We.BLANK?"external"===L.getAttribute("data-target")?this.trackLinkOpenExternal(L):this.trackLinkOpenAppBrowser(L):this.trackLinkOpenInline(L))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(s){return super.hasContextChanged(s)||this.translatedContent&&this.translatedContent.indexOf(d.mF)>-1}getAnchorElementFromEvent(s){var L,f;return"a"===(null===(L=s.target)||void 0===L?void 0:L.tagName.toLowerCase())?s.target:"a"===(null===(f=s.target)||void 0===f||null===(f=f.parentElement)||void 0===f?void 0:f.tagName.toLowerCase())?s.target.parentElement:null}handleAnchorTags(s,L){if(L){const f=this.renderer.createElement("a");return f.style.height="inherit",f.style.width="inherit",f.setAttribute("href",L),f.appendChild(s),f}return s}trackOnClick(){const s="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(s,{})}trackLinkOpenExternal(s){const L="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(L,{TARGET_URL:s.href,LINK_TEXT:s.innerText})}trackLinkOpenAppBrowser(s){const L="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(L,{TARGET_URL:s.href,LINK_TEXT:s.innerText})}trackLinkOpenInline(s){this.store.dispatch((0,r.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:s.href,LINK_TEXT:s.innerText}}))}dispatchTrackingAction(s,L){this.store.dispatch((0,r.k4)({url:window.location.href,key:s,params:L}))}}return(H=g).type="html",H.\u0275fac=function(s){return new(s||H)(h.rXU(h.aKT),h.rXU(x.V),h.rXU(h.zZn),h.rXU(B.D),h.rXU(b.G),h.rXU(l.B),h.rXU(t.qQ),h.rXU(V.d),h.rXU(U.X))},H.\u0275cmp=h.VBU({type:H,selectors:[["storefront-html"]],standalone:!1,features:[h.Jv_([l.B]),h.Vt3],decls:0,vars:0,template:function(s,L){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html,.pxp-html{position:relative;display:flex}storefront-html.ghost>*,.pxp-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n'],encapsulation:2,changeDetection:0}),g})()},8530:(E,T,u)=>{u.d(T,{$9:()=>A,$S:()=>V,Cq:()=>F,DO:()=>y,EB:()=>r,Ez:()=>U,I5:()=>x,Lw:()=>C,Ny:()=>B,Ob:()=>w,Q5:()=>R,Sj:()=>N,Tz:()=>K,UO:()=>O,VS:()=>H,WL:()=>M,Wb:()=>G,X:()=>k,Zj:()=>g,Zp:()=>s,_O:()=>W,ah:()=>J,bE:()=>_,dD:()=>X,eq:()=>L,f$:()=>h,fy:()=>I,kD:()=>d,mF:()=>b,nY:()=>D,ns:()=>P,qx:()=>$,tk:()=>S,uc:()=>f,wf:()=>v});var i=u(2285),p=u(8251),t=u(4438);const c=["class","pxp-html"],l='.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html,.pxp-html{position:relative;display:flex}storefront-html.ghost>*,.pxp-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n';let r=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),_=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["br",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),y=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["button",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),d=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["div",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),h=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["em",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),x=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h1",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),B=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h2",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),b=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h3",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),V=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h4",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),U=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h5",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),A=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h6",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),H=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["hr",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),g=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["iframe",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),F=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["img",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),s=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["input",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),L=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["li",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),f=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ol",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),D=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["p",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),M=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["pre",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),v=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["small",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),C=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["span",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),O=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ul",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),K=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["article",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),k=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["aside",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),S=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["details",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),I=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figcaption",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),P=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figure",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),R=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["footer",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),J=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["header",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),N=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["main",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),G=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["mark",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),$=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["nav",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),W=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["section",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),X=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["summary",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})(),w=(()=>{var e;class o extends i.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["time",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:c,decls:0,vars:0,template:function(m,a){},styles:[l],encapsulation:2,changeDetection:0}),o})()},9207:(E,T,u)=>{u.r(T),u.d(T,{HTMLModule:()=>_,component:()=>y});var i=u(177),p=u(2285),t=u(8530),c=u(1803),l=u(4438);let _=(()=>{var d;class h{}return(d=h).\u0275fac=function(B){return new(B||d)},d.\u0275mod=l.$C({type:d}),d.\u0275inj=l.G2t({imports:[i.MD]}),h})();const y={component:p.b,leanDomComponentVariant:d=>{switch(d){case c.OK.a:return t.EB;case c.OK.br:return t.bE;case c.OK.button:return t.DO;case c.OK.div:return t.kD;case c.OK.em:return t.f$;case c.OK.h1:return t.I5;case c.OK.h2:return t.Ny;case c.OK.h3:return t.mF;case c.OK.h4:return t.$S;case c.OK.h5:return t.Ez;case c.OK.h6:return t.$9;case c.OK.hr:return t.VS;case c.OK.iframe:return t.Zj;case c.OK.img:return t.Cq;case c.OK.input:return t.Zp;case c.OK.li:return t.eq;case c.OK.ol:return t.uc;case c.OK.p:return t.nY;case c.OK.pre:return t.WL;case c.OK.small:return t.wf;case c.OK.span:return t.Lw;case c.OK.ul:return t.UO;case c.OK.article:return t.Tz;case c.OK.aside:return t.X;case c.OK.details:return t.tk;case c.OK.figcaption:return t.fy;case c.OK.figure:return t.ns;case c.OK.footer:return t.Q5;case c.OK.header:return t.ah;case c.OK.main:return t.Sj;case c.OK.mark:return t.Wb;case c.OK.nav:return t.qx;case c.OK.section:return t._O;case c.OK.summary:return t.dD;case c.OK.time:return t.Ob;default:return console.warn("No html component found for ".concat(d,", falling back to div")),t.kD}}}}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_html_html_module_ts"],{1803:(O,M,L)=>{L.d(M,{OE:()=>C,OK:()=>r,TS:()=>l,We:()=>t});var l=function(s){return s.VERTICAL="vertical",s.HORIZONTAL="horizontal",s.GRID="grid",s.GROUP="group",s.TABS="tabs",s}(l||{}),t=function(s){return s.BLANK="_blank",s.SELF="_self",s}(t||{}),r=function(s){return s.a="a",s.br="br",s.button="button",s.div="div",s.em="em",s.h1="h1",s.h2="h2",s.h3="h3",s.h4="h4",s.h5="h5",s.h6="h6",s.hr="hr",s.iframe="iframe",s.img="img",s.input="input",s.li="li",s.ol="ol",s.p="p",s.pre="pre",s.small="small",s.span="span",s.ul="ul",s.article="article",s.aside="aside",s.details="details",s.figcaption="figcaption",s.figure="figure",s.footer="footer",s.header="header",s.main="main",s.mark="mark",s.nav="nav",s.section="section",s.summary="summary",s.time="time",s}(r||{}),C=function(s){return s.div="div",s.li="li",s.ol="ol",s.p="p",s.ul="ul",s.article="article",s.aside="aside",s.details="details",s.figcaption="figcaption",s.figure="figure",s.footer="footer",s.header="header",s.main="main",s.mark="mark",s.nav="nav",s.section="section",s.summary="summary",s.time="time",s}(C||{})},2285:(O,M,L)=>{L.d(M,{b:()=>E});var l=L(467),p=L(9379),t=L(3953),r=L(1210),C=L(8448),s=L(8004),_=L(8251),v=L(610),D=L(1803);const H={tag:D.OK.div,content:"",attributes:{}};var x=L(8179),B=L(5820);let E=(()=>{var h;class F extends r.${constructor(){super(...arguments),this.translate=(0,t.WQX)(C.D),this.eventActionService=(0,t.WQX)(s.G),this.store=(0,t.WQX)(_.B),this.anchorService=(0,t.WQX)(B.X),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig=(0,p.A)({},H)}get inlineHtml(){return!(!this.domHelper.leanDom||"A"===this.elementRef.nativeElement.tagName&&this.anchorFeatureEnabled&&this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context))}ngOnInit(){var c=()=>super.ngOnInit,i=this;return(0,l.A)(function*(){if(i.anchorFeatureEnabled=i.anchorService.isAnchorFeatureEnabled(),c().call(i),i.elementRef.nativeElement.innerHTML="",!i.inlineHtml){const u=i.renderer.createElement(i.baseConfig.tag);i.renderer.appendChild(i.elementRef.nativeElement,u)}})()}onConfigChanges(){var c=this;return(0,l.A)(function*(){var i,u;const f=c.inlineHtml?c.elementRef.nativeElement:c.renderer.createElement(c.config.tag),T=(0,p.A)({},c.config.attributes);null!==(i=c.config.attributes)&&void 0!==i&&i.src&&(T.src=c.contextService.toStorefrontResourceUrl(c.config.attributes.src)),null!==(u=c.config.attributes)&&void 0!==u&&u.href&&(T.href=c.contextService.toStorefrontResourceUrl(c.config.attributes.href)),"iframe"===c.config.tag&&f.addEventListener("load",()=>{f&&f.contentDocument?(f.contentDocument.scrollingElement.scrollHeight>f.contentWindow.innerHeight&&(f.style.height=f.contentDocument.scrollingElement.scrollHeight+"px"),f.contentDocument.scrollingElement.scrollWidth>f.contentWindow.innerWidth&&(f.style.width=f.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",d=>{d.origin===new URL(null==T?void 0:T.src).origin&&(d.data.height&&(f.style.height=d.data.height+"px"),d.data.width&&(f.style.width=d.data.width+"px"))})}),Object.keys(T).forEach(d=>f.setAttribute(d,c.config.attributes[d])),c.translatedContent=yield c.translate.translate({text:c.config.content,args:c.config.variables||[]}),f.innerHTML=(0,x.uQ)(c.translatedContent,c.context,c.contextService.$functions,c.globalService.getGlobalData()),c.inlineHtml||(c.elementRef.nativeElement.innerHTML="");let g=f;c.anchorFeatureEnabled&&(c.anchorPath=c.anchorService.getAnchorPathForEventAction(c.config.tap,c.context),c.domHelper.leanDom&&c.anchorPath?c.renderer.setAttribute(c.elementRef.nativeElement,"href",c.anchorPath):g=c.handleAnchorTags(f,c.anchorPath)),g.addEventListener("click",d=>c.onClick(d)),c.inlineHtml||c.renderer.appendChild(c.elementRef.nativeElement,g),c.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(c){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===c.type)&&c.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const i=this.getAnchorElementFromEvent(c);null!=i&&i.href&&(i.target===D.We.BLANK?"external"===i.getAttribute("data-target")?this.trackLinkOpenExternal(i):this.trackLinkOpenAppBrowser(i):this.trackLinkOpenInline(i))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(c){return super.hasContextChanged(c)||this.translatedContent&&this.translatedContent.indexOf(x.mF)>-1}getAnchorElementFromEvent(c){var i,u;return"a"===(null===(i=c.target)||void 0===i?void 0:i.tagName.toLowerCase())?c.target:"a"===(null===(u=c.target)||void 0===u||null===(u=u.parentElement)||void 0===u?void 0:u.tagName.toLowerCase())?c.target.parentElement:null}handleAnchorTags(c,i){if(i){const u=this.renderer.createElement("a");return u.style.height="inherit",u.style.width="inherit",u.setAttribute("href",i),u.appendChild(c),u}return c}trackOnClick(){const c="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(c,{})}trackLinkOpenExternal(c){const i="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(i,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenAppBrowser(c){const i="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(i,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenInline(c){this.store.dispatch((0,v.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:c.href,LINK_TEXT:c.innerText}}))}dispatchTrackingAction(c,i){this.store.dispatch((0,v.k4)({url:window.location.href,key:c,params:i}))}}return(h=F).type="html",h.\u0275fac=(()=>{let y;return function(i){return(y||(y=t.xGo(h)))(i||h)}})(),h.\u0275cmp=t.VBU({type:h,selectors:[["storefront-html"]],standalone:!1,features:[t.Jv_([_.B]),t.Vt3],decls:0,vars:0,template:function(c,i){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html{position:relative;display:flex}storefront-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n'],encapsulation:2,changeDetection:0}),F})()},8530:(O,M,L)=>{L.d(M,{$9:()=>F,$S:()=>E,Cq:()=>i,DO:()=>_,EB:()=>C,Ez:()=>h,I5:()=>H,Lw:()=>V,Ny:()=>x,Ob:()=>w,Q5:()=>P,Sj:()=>J,Tz:()=>K,UO:()=>A,VS:()=>y,WL:()=>d,Wb:()=>N,X:()=>U,Zj:()=>c,Zp:()=>u,_O:()=>W,ah:()=>R,bE:()=>s,dD:()=>$,eq:()=>f,f$:()=>D,fy:()=>k,kD:()=>v,mF:()=>B,nY:()=>g,ns:()=>I,qx:()=>G,tk:()=>S,uc:()=>T,wf:()=>b});var l=L(2285),p=L(8251),t=L(3953);const r=["class","pxp-html"];let C=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),s=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["br",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),_=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["button",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),v=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["div",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),D=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["em",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),H=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h1",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),x=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h2",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),B=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h3",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),E=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h4",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),h=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h5",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),F=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h6",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),y=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["hr",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),c=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["iframe",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),i=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["img",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),u=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["input",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),f=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["li",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),T=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ol",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),g=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["p",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),d=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["pre",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),b=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["small",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),V=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["span",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),A=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ul",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),K=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["article",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),U=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["aside",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),S=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["details",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),k=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figcaption",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),I=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figure",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),P=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["footer",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),R=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["header",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),J=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["main",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),N=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["mark",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),G=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["nav",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),W=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["section",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),$=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["summary",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),w=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["time",8,"pxp-html"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:r,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})()},9207:(O,M,L)=>{L.r(M),L.d(M,{HTMLModule:()=>_,component:()=>v});var l=L(177),p=L(2285),t=L(8530),r=L(1803),C=L(3953);let _=(()=>{var D;class H{}return(D=H).\u0275fac=function(B){return new(B||D)},D.\u0275mod=C.$C({type:D}),D.\u0275inj=C.G2t({imports:[l.MD]}),H})();const v={component:p.b,leanDomComponentVariant:D=>{switch(D){case r.OK.a:return t.EB;case r.OK.br:return t.bE;case r.OK.button:return t.DO;case r.OK.div:return t.kD;case r.OK.em:return t.f$;case r.OK.h1:return t.I5;case r.OK.h2:return t.Ny;case r.OK.h3:return t.mF;case r.OK.h4:return t.$S;case r.OK.h5:return t.Ez;case r.OK.h6:return t.$9;case r.OK.hr:return t.VS;case r.OK.iframe:return t.Zj;case r.OK.img:return t.Cq;case r.OK.input:return t.Zp;case r.OK.li:return t.eq;case r.OK.ol:return t.uc;case r.OK.p:return t.nY;case r.OK.pre:return t.WL;case r.OK.small:return t.wf;case r.OK.span:return t.Lw;case r.OK.ul:return t.UO;case r.OK.article:return t.Tz;case r.OK.aside:return t.X;case r.OK.details:return t.tk;case r.OK.figcaption:return t.fy;case r.OK.figure:return t.ns;case r.OK.footer:return t.Q5;case r.OK.header:return t.ah;case r.OK.main:return t.Sj;case r.OK.mark:return t.Wb;case r.OK.nav:return t.qx;case r.OK.section:return t._O;case r.OK.summary:return t.dD;case r.OK.time:return t.Ob;default:return console.warn("No html component found for ".concat(D,", falling back to div")),t.kD}}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069"],{2932:(D,u,r)=>{r.d(u,{h:()=>f,q:()=>U});var m=r(177),t=r(4438),a=r(8251),o=r(8890),s=r(9516),c=r(9876),n=r(5102),_=r(3307),T=r(5927),h=r(3647);const v=["image"],l=(d,P,g)=>({imgRef:d,imageResolutionStrategy:P,focalPoint:g});function y(d,P){if(1&d){const g=t.RV6();t.j41(0,"img",2,0),t.nI1(2,"sanitizeUrl"),t.bIt("error",function(){t.eBV(g);const e=t.XpG();return t.Njj(e.onError())}),t.k0s()}if(2&d){const g=t.XpG();t.Y8G("priority",g.lcpPrioritized()||g.inViewPort())("ngSrc",t.i5U(2,6,g.src,"resourceUrl"))("alt",g.alt)("title",g.title)("loaderParams",t.sMw(9,l,g.elementRef.nativeElement,g.imageResolutionStrategy,g.focalPoint)),t.BMQ("aria-label",g.ariaLabel)}}let f=(()=>{var d;class P{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(i){i&&this.onLoad(i),this._image=i}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(i,e,p,E,x,S,I,R){this.changeDetectorRef=i,this.elementRef=e,this.subscriptions=p,this.platformId=E,this.contextService=x,this.purpleService=S,this.imagePreloaderService=I,this.domHelper=R,this.inViewPort=(0,t.vPA)(!1),this.lcpPrioritized=(0,t.hFB)(!1),this.error=new t.bkB,this.height=U.AUTO,(0,m.UE)(this.platformId)&&this.subscriptions.subscribe((0,o.eh)(this,this.elementRef),L=>this.load())}get empty(){return!this.src}ngOnInit(){var i;(0,m.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(i=this.src)||void 0===i?void 0:i.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var i,e,p,E;this.alt=(null===(i=this.extendedThumbnail)||void 0===i?void 0:i.properties.alt)||(null===(e=this.extendedThumbnail)||void 0===e?void 0:e.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(p=this.label)&&void 0!==p?p:this.alt,this.focalPoint=null===(E=this.extendedThumbnail)||void 0===E?void 0:E.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(i){i.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(i){i.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),i.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,i),this.changeDetectorRef.markForCheck()}),i.nativeElement.addEventListener("error",function(){i.nativeElement.style.display="none",i.nativeElement.nextElementSibling&&(i.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const i=this.purpleService.getAlternativeSrc(this.resizeSrc);var e;i&&i!==this.resizeSrc?(this.setResizeSrc(i),this.changeDetectorRef.detectChanges()):(null===(e=this.image)||void 0===e||e.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(i=!1,e=this.image){this.imageRatio=this.height===U.AUTO?(0,c.z)(!i,null==e?void 0:e.nativeElement,this.src)+"%":void 0}setResizeSrc(i){const e=this.contextService.toResourceUrl(i);this.resizeSrc=this.src=e}}return(d=P).\u0275fac=function(i){return new(i||d)(t.rXU(t.gRc),t.rXU(t.aKT),t.rXU(a.v),t.rXU(t.Agw),t.rXU(s.V),t.rXU(n.Wj),t.rXU(_.d),t.rXU(T.S))},d.\u0275cmp=t.VBU({type:d,selectors:[["storefront-image"]],viewQuery:function(i,e){if(1&i&&t.GBs(v,5),2&i){let p;t.mGM(p=t.lsd())&&(e.image=p.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(i,e){2&i&&(t.BMQ("src",e.regularSrc)("data-pxp-src",e.prefixedPostType)("label",e.regularLabel)("data-pxp-label",e.prefixedLabel)("resolution-strategy",e.regularResolutionStrategy)("data-pxp-resolution-strategy",e.prefixedResolutionStrategy)("alt",e.regularAlt)("data-pxp-alt",e.prefixedAlt)("title",e.regularTitle)("data-pxp-title",e.prefixedTitle)("aria-label",e.regularAriaLabel)("data-pxp-aria-label",e.prefixedAriaLabel)("focal-point",e.regularFocalPoint)("data-pxp-focal-point",e.prefixedFocalPoint)("height-strategy",e.regularHeightStrategy)("data-pxp-height-strategy",e.prefixedHeightStrategy),t.xc7("padding-top",e.imageRatio),t.AVh("empty",e.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[t.Jv_([a.v,{provide:m.WM,useFactory:(g,i)=>e=>{var p;const E=null==e||null===(p=e.loaderParams)||void 0===p?void 0:p.imgRef;if(E.offsetWidth){var x,S;const I=null==e||null===(x=e.loaderParams)||void 0===x?void 0:x.imageResolutionStrategy,R=(null==e||null===(S=e.loaderParams)||void 0===S?void 0:S.focalPoint)||"",L=i.toResourceUrl((0,c.G)(E,e.src,I,R));return g.resizeSrc=L,L}return""},deps:[d,s.V]}]),t.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(i,e){1&i&&t.DNE(0,y,3,13,"img",1),2&i&&t.vxM(e.src&&e.loaded?0:-1)},dependencies:[m.kt,h.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),P})();var U=function(d){return d.AUTO="AUTO",d.FIXED="FIXED",d.DEFAULT="DEFAULT",d}(U||{})},1302:(D,u,r)=>{r.d(u,{x:()=>T});var m=r(8251),t=r(2932),a=r(4438),o=r(177),s=r(3647);const c=["class","pxp-image"],n=(h,v,l)=>({imgRef:h,imageResolutionStrategy:v,focalPoint:l});function _(h,v){if(1&h){const l=a.RV6();a.j41(0,"img",2,0),a.nI1(2,"sanitizeUrl"),a.bIt("error",function(){a.eBV(l);const f=a.XpG();return a.Njj(f.onError())}),a.k0s()}if(2&h){const l=a.XpG();a.Y8G("priority",l.lcpPrioritized()||l.inViewPort())("ngSrc",a.i5U(2,6,l.src,"resourceUrl"))("alt",l.alt)("title",l.title)("loaderParams",a.sMw(9,n,l.elementRef.nativeElement,l.imageResolutionStrategy,l.focalPoint)),a.BMQ("aria-label",l.ariaLabel)}}let T=(()=>{var h;class v extends t.h{}return(h=v).\u0275fac=(()=>{let l;return function(f){return(l||(l=a.xGo(h)))(f||h)}})(),h.\u0275cmp=a.VBU({type:h,selectors:[["div",8,"pxp-image"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[a.Jv_([m.v]),a.Vt3],attrs:c,decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(y,f){1&y&&a.DNE(0,_,3,13,"img",1),2&y&&a.vxM(f.src&&f.loaded?0:-1)},dependencies:[o.kt,s.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),v})()},4403:(D,u,r)=>{r.d(u,{U:()=>o});var m=r(177),t=r(4871),a=r(4438);let o=(()=>{var s;class c{}return(s=c).\u0275fac=function(_){return new(_||s)},s.\u0275mod=a.$C({type:s}),s.\u0275inj=a.G2t({imports:[m.MD,t.E]}),c})()},6953:(D,u,r)=>{r.d(u,{n:()=>a});var m=r(177),t=r(4438);let a=(()=>{var o;class s{}return(o=s).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[m.MD]}),s})()},2813:(D,u,r)=>{r.d(u,{Z:()=>a});var m=r(3178),t=r(4438);let a=(()=>{var o;class s{transform(n,_){return new Date(n).toLocaleDateString((0,m.JK)())}}return(o=s).\u0275fac=function(n){return new(n||o)},o.\u0275pipe=t.EJ8({name:"storefrontDate",type:o,pure:!0,standalone:!1}),s})()},3647:(D,u,r)=>{r.d(u,{R:()=>a});var m=r(4438),t=r(345);let a=(()=>{var o;class s{constructor(n){this.sanitizer=n}transform(n,_="url"){switch(_){case"html":return this.sanitizer.bypassSecurityTrustHtml(n);case"style":return this.sanitizer.bypassSecurityTrustStyle(n);case"script":return this.sanitizer.bypassSecurityTrustScript(n);case"url":return this.sanitizer.bypassSecurityTrustUrl(n);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(n);default:throw new Error("Invalid safe type specified: ".concat(_))}}}return(o=s).\u0275fac=function(n){return new(n||o)(m.rXU(t.up,16))},o.\u0275pipe=m.EJ8({name:"sanitizeUrl",type:o,pure:!0,standalone:!1}),s})()}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069"],{2932:(D,u,r)=>{r.d(u,{h:()=>f,q:()=>x});var m=r(177),t=r(4438),a=r(8251),o=r(8890),g=r(5102),p=r(9516),n=r(9876),_=r(3307),S=r(5927),c=r(3647);const E=["image"],s=(d,P,l)=>({imgRef:d,imageResolutionStrategy:P,focalPoint:l});function v(d,P){if(1&d){const l=t.RV6();t.j41(0,"img",2,0),t.nI1(2,"sanitizeUrl"),t.bIt("error",function(){t.eBV(l);const e=t.XpG();return t.Njj(e.onError())}),t.k0s()}if(2&d){const l=t.XpG();t.Y8G("priority",l.lcpPrioritized()||l.inViewPort())("ngSrc",t.i5U(2,6,l.src,"resourceUrl"))("alt",l.alt)("title",l.title)("loaderParams",t.sMw(9,s,l.elementRef.nativeElement,l.imageResolutionStrategy,l.focalPoint)),t.BMQ("aria-label",l.ariaLabel)}}let f=(()=>{var d;class P{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(i){i&&this.onLoad(i),this._image=i}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(){this.changeDetectorRef=(0,t.WQX)(t.gRc),this.elementRef=(0,t.WQX)(t.aKT),this.subscriptions=(0,t.WQX)(a.v),this.platformId=(0,t.WQX)(t.Agw),this.contextService=(0,t.WQX)(p.V),this.purpleService=(0,t.WQX)(g.Wj),this.imagePreloaderService=(0,t.WQX)(_.d),this.domHelper=(0,t.WQX)(S.S),this.inViewPort=(0,t.vPA)(!1),this.lcpPrioritized=(0,t.hFB)(!1),this.error=new t.bkB,this.height=x.AUTO,(0,m.UE)(this.platformId)&&this.subscriptions.subscribe((0,o.eh)(this,this.elementRef),i=>this.load())}get empty(){return!this.src}ngOnInit(){var i;(0,m.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(i=this.src)||void 0===i?void 0:i.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var i,e,h,y;this.alt=(null===(i=this.extendedThumbnail)||void 0===i?void 0:i.properties.alt)||(null===(e=this.extendedThumbnail)||void 0===e?void 0:e.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(h=this.label)&&void 0!==h?h:this.alt,this.focalPoint=null===(y=this.extendedThumbnail)||void 0===y?void 0:y.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(i){i.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(i){i.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),i.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,i),this.changeDetectorRef.markForCheck()}),i.nativeElement.addEventListener("error",function(){i.nativeElement.style.display="none",i.nativeElement.nextElementSibling&&(i.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const i=this.purpleService.getAlternativeSrc(this.resizeSrc);var e;i&&i!==this.resizeSrc?(this.setResizeSrc(i),this.changeDetectorRef.detectChanges()):(null===(e=this.image)||void 0===e||e.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(i=!1,e=this.image){this.imageRatio=this.height===x.AUTO?(0,n.z)(!i,null==e?void 0:e.nativeElement,this.src)+"%":void 0}setResizeSrc(i){const e=this.contextService.toResourceUrl(i);this.resizeSrc=this.src=e}}return(d=P).\u0275fac=function(i){return new(i||d)},d.\u0275cmp=t.VBU({type:d,selectors:[["storefront-image"]],viewQuery:function(i,e){if(1&i&&t.GBs(E,5),2&i){let h;t.mGM(h=t.lsd())&&(e.image=h.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(i,e){2&i&&(t.BMQ("src",e.regularSrc)("data-pxp-src",e.prefixedPostType)("label",e.regularLabel)("data-pxp-label",e.prefixedLabel)("resolution-strategy",e.regularResolutionStrategy)("data-pxp-resolution-strategy",e.prefixedResolutionStrategy)("alt",e.regularAlt)("data-pxp-alt",e.prefixedAlt)("title",e.regularTitle)("data-pxp-title",e.prefixedTitle)("aria-label",e.regularAriaLabel)("data-pxp-aria-label",e.prefixedAriaLabel)("focal-point",e.regularFocalPoint)("data-pxp-focal-point",e.prefixedFocalPoint)("height-strategy",e.regularHeightStrategy)("data-pxp-height-strategy",e.prefixedHeightStrategy),t.xc7("padding-top",e.imageRatio),t.AVh("empty",e.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[t.Jv_([a.v,{provide:m.WM,useFactory:(l,i)=>e=>{var h;const y=null==e||null===(h=e.loaderParams)||void 0===h?void 0:h.imgRef;if(y.offsetWidth){var T,U;const R=null==e||null===(T=e.loaderParams)||void 0===T?void 0:T.imageResolutionStrategy,L=(null==e||null===(U=e.loaderParams)||void 0===U?void 0:U.focalPoint)||"",I=i.toResourceUrl((0,n.G)(y,e.src,R,L));return l.resizeSrc=I,I}return""},deps:[d,p.V]}]),t.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(i,e){1&i&&t.DNE(0,v,3,13,"img",1),2&i&&t.vxM(e.src&&e.loaded?0:-1)},dependencies:[m.kt,c.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),P})();var x=function(d){return d.AUTO="AUTO",d.FIXED="FIXED",d.DEFAULT="DEFAULT",d}(x||{})},1302:(D,u,r)=>{r.d(u,{x:()=>S});var m=r(8251),t=r(2932),a=r(4438),o=r(177),g=r(3647);const p=["class","pxp-image"],n=(c,E,s)=>({imgRef:c,imageResolutionStrategy:E,focalPoint:s});function _(c,E){if(1&c){const s=a.RV6();a.j41(0,"img",2,0),a.nI1(2,"sanitizeUrl"),a.bIt("error",function(){a.eBV(s);const f=a.XpG();return a.Njj(f.onError())}),a.k0s()}if(2&c){const s=a.XpG();a.Y8G("priority",s.lcpPrioritized()||s.inViewPort())("ngSrc",a.i5U(2,6,s.src,"resourceUrl"))("alt",s.alt)("title",s.title)("loaderParams",a.sMw(9,n,s.elementRef.nativeElement,s.imageResolutionStrategy,s.focalPoint)),a.BMQ("aria-label",s.ariaLabel)}}let S=(()=>{var c;class E extends t.h{}return(c=E).\u0275fac=(()=>{let s;return function(f){return(s||(s=a.xGo(c)))(f||c)}})(),c.\u0275cmp=a.VBU({type:c,selectors:[["div",8,"pxp-image"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[a.Jv_([m.v]),a.Vt3],attrs:p,decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(v,f){1&v&&a.DNE(0,_,3,13,"img",1),2&v&&a.vxM(f.src&&f.loaded?0:-1)},dependencies:[o.kt,g.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),E})()},4403:(D,u,r)=>{r.d(u,{U:()=>o});var m=r(177),t=r(4871),a=r(4438);let o=(()=>{var g;class p{}return(g=p).\u0275fac=function(_){return new(_||g)},g.\u0275mod=a.$C({type:g}),g.\u0275inj=a.G2t({imports:[m.MD,t.E]}),p})()},6953:(D,u,r)=>{r.d(u,{n:()=>a});var m=r(177),t=r(4438);let a=(()=>{var o;class g{}return(o=g).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[m.MD]}),g})()},2813:(D,u,r)=>{r.d(u,{Z:()=>a});var m=r(3178),t=r(4438);let a=(()=>{var o;class g{transform(n,_){return new Date(n).toLocaleDateString((0,m.JK)())}}return(o=g).\u0275fac=function(n){return new(n||o)},o.\u0275pipe=t.EJ8({name:"storefrontDate",type:o,pure:!0,standalone:!1}),g})()},3647:(D,u,r)=>{r.d(u,{R:()=>a});var m=r(4438),t=r(345);let a=(()=>{var o;class g{constructor(){this.sanitizer=(0,m.WQX)(t.up)}transform(n,_="url"){switch(_){case"html":return this.sanitizer.bypassSecurityTrustHtml(n);case"style":return this.sanitizer.bypassSecurityTrustStyle(n);case"script":return this.sanitizer.bypassSecurityTrustScript(n);case"url":return this.sanitizer.bypassSecurityTrustUrl(n);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(n);default:throw new Error("Invalid safe type specified: ".concat(_))}}}return(o=g).\u0275fac=function(n){return new(n||o)},o.\u0275pipe=m.EJ8({name:"sanitizeUrl",type:o,pure:!0,standalone:!1}),g})()}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-a6979f"],{2932:(T,v,a)=>{a.d(v,{h:()=>p,q:()=>u});var c=a(177),e=a(3953),_=a(8251),E=a(8890),o=a(5102),h=a(9516),r=a(9876),l=a(5927),m=a(6033);const g=["image"],f=(s,y)=>({imageResolutionStrategy:s,focalPoint:y});function n(s,y){if(1&s){const d=e.RV6();e.j41(0,"img",2,0),e.bIt("error",function(){e.eBV(d);const i=e.XpG();return e.Njj(i.onError())}),e.k0s()}if(2&s){const d=e.XpG();e.Y8G("priority",d.lcpPrioritized())("ngSrc",d.src)("alt",d.alt)("title",d.title)("loaderParams",e.l_i(5,f,d.imageResolutionStrategy,d.focalPoint))}}let p=(()=>{var s;class y{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(t){t&&this.onLoad(t),this._image=t}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(){this.changeDetectorRef=(0,e.WQX)(e.gRc),this.elementRef=(0,e.WQX)(e.aKT),this.subscriptions=(0,e.WQX)(_.v),this.platformId=(0,e.WQX)(e.Agw),this.contextService=(0,e.WQX)(h.V),this.purpleService=(0,e.WQX)(o.Wj),this.domHelper=(0,e.WQX)(l.S),this.lcpPrioritized=(0,e.hFB)(!1),this.error=new e.bkB,this.height=u.AUTO,(0,c.UE)(this.platformId)&&this.subscriptions.subscribe((0,E.eh)(this,this.elementRef),t=>this.load())}get empty(){return!this.src}ngOnInit(){this.initProperties()}initProperties(){var t,i,x,D;this.alt=(null===(t=this.extendedThumbnail)||void 0===t?void 0:t.properties.alt)||(null===(i=this.extendedThumbnail)||void 0===i?void 0:i.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(x=this.label)&&void 0!==x?x:this.alt,this.focalPoint=null===(D=this.extendedThumbnail)||void 0===D?void 0:D.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(t){t.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(t){t.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),t.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,t),this.changeDetectorRef.markForCheck()}),t.nativeElement.addEventListener("error",function(){t.nativeElement.style.display="none",t.nativeElement.nextElementSibling&&(t.nativeElement.nextElementSibling.style.display="inline")})}onError(){if(!this.src)return;const t=this.purpleService.getAlternativeSrc(this.src);var i;t&&t!==this.src?(this.src=this.contextService.toStorefrontResourceUrl(t),this.changeDetectorRef.detectChanges()):(null===(i=this.image)||void 0===i||i.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(t=!1,i=this.image){this.imageRatio=this.height===u.AUTO?(0,r.z)(!t,null==i?void 0:i.nativeElement,this.src)+"%":void 0}}return(s=y).\u0275fac=function(t){return new(t||s)},s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-image"]],viewQuery:function(t,i){if(1&t&&e.GBs(g,5),2&t){let x;e.mGM(x=e.lsd())&&(i.image=x.first)}},hostVars:18,hostBindings:function(t,i){2&t&&(e.BMQ("src",i.regularSrc)("data-pxp-src",i.prefixedPostType)("label",i.regularLabel)("data-pxp-label",i.prefixedLabel)("resolution-strategy",i.regularResolutionStrategy)("data-pxp-resolution-strategy",i.prefixedResolutionStrategy)("alt",i.regularAlt)("data-pxp-alt",i.prefixedAlt)("title",i.regularTitle)("data-pxp-title",i.prefixedTitle)("focal-point",i.regularFocalPoint)("data-pxp-focal-point",i.prefixedFocalPoint)("height-strategy",i.regularHeightStrategy)("data-pxp-height-strategy",i.prefixedHeightStrategy),e.xc7("padding-top",i.imageRatio),e.AVh("empty",i.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[e.Jv_([_.v,m.K,{provide:c.WM,useFactory:d=>t=>d.generateImageUrl(t),deps:[m.K]}]),e.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(t,i){1&t&&e.DNE(0,n,2,8,"img",1),2&t&&e.vxM(i.src?0:-1)},dependencies:[c.kt],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),y})();var u=function(s){return s.AUTO="AUTO",s.FIXED="FIXED",s.DEFAULT="DEFAULT",s}(u||{})},1302:(T,v,a)=>{a.d(v,{x:()=>m});var c=a(8251),e=a(2932),_=a(177),E=a(6033),o=a(3953);const h=["class","pxp-image"],r=(g,f)=>({imageResolutionStrategy:g,focalPoint:f});function l(g,f){if(1&g){const n=o.RV6();o.j41(0,"img",2,0),o.bIt("error",function(){o.eBV(n);const u=o.XpG();return o.Njj(u.onError())}),o.k0s()}if(2&g){const n=o.XpG();o.Y8G("priority",n.lcpPrioritized())("ngSrc",n.src)("alt",n.alt)("title",n.title)("loaderParams",o.l_i(5,r,n.imageResolutionStrategy,n.focalPoint))}}let m=(()=>{var g;class f extends e.h{}return(g=f).\u0275fac=(()=>{let n;return function(u){return(n||(n=o.xGo(g)))(u||g)}})(),g.\u0275cmp=o.VBU({type:g,selectors:[["div",8,"pxp-image"]],standalone:!1,features:[o.Jv_([c.v,E.K,{provide:_.WM,useFactory:n=>p=>n.generateImageUrl(p),deps:[E.K]}]),o.Vt3],attrs:h,decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(p,u){1&p&&o.DNE(0,l,2,8,"img",1),2&p&&o.vxM(u.src?0:-1)},dependencies:[_.kt],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),f})()},4403:(T,v,a)=>{a.d(v,{U:()=>E});var c=a(177),e=a(4871),_=a(3953);let E=(()=>{var o;class h{}return(o=h).\u0275fac=function(l){return new(l||o)},o.\u0275mod=_.$C({type:o}),o.\u0275inj=_.G2t({imports:[c.MD,e.E]}),h})()},9876:(T,v,a)=>{a.d(v,{z:()=>E,G:()=>o});var c=a(3178);const e={type:"dynamic",mode:"width"};function E(h,r,l){return r?1/(h?function _(h,r=1){const l=parseInt((0,c.sF)(h,"w"),10),m=parseInt((0,c.sF)(h,"h"),10);return isNaN(l)||isNaN(m)?r:l/m}(l,0):r.naturalWidth/r.naturalHeight)*100:1}function o(h,r,l,m,g){if(!r||!l||isNaN(r)||isNaN(l))return(0,c.LS)(h,{w:!r||isNaN(r)?200:r,webp:1});const f=null!=m?m:e;let u,n=r,p=null;switch(f.type){case"fixed":break;case"dynamic":switch(p=l,f.mode){case"min":n<p?p=void 0:n=void 0;break;case"max":n<p?n=void 0:p=void 0;break;case"width":p=void 0;break;case"height":n=void 0}}if(g)try{const s=JSON.parse(g),y=s[0],d=s[1],i=s[3],x=r,D=l,P=Math.round(2*y/(1+s[2])),M=Math.round(2*d/(1-i));if(P/x>M/D){const I=Math.round(M*x/D),S=Math.round(Math.min(Math.max(y-I/2,0),P-I));u="".concat(S,"px,0px,").concat(I,"px,").concat(M,"px")}else{const I=Math.round(P*D/x),S=Math.round(Math.min(Math.max(d-I/2,0),M-I));u="0px,".concat(S,"px,").concat(P,"px,").concat(I,"px")}}catch(s){console.warn("Error parsing focal point: "+g)}return(0,c.LS)(h,{w:n,h:p,crop:u,webp:1})}},6033:(T,v,a)=>{a.d(v,{K:()=>o});var c=a(3953),e=a(9876),_=a(9516),E=a(5102);class o{constructor(){this.contextService=(0,c.WQX)(_.V),this.purpleService=(0,c.WQX)(E.Wj)}generateImageUrl(r){if(r.width){var l,m;const g=null==r||null===(l=r.loaderParams)||void 0===l?void 0:l.imageResolutionStrategy,f=(null==r||null===(m=r.loaderParams)||void 0===m?void 0:m.focalPoint)||"",n=this.contextService.toStorefrontResourceUrl((0,e.G)(r.src,r.width,Math.round(r.width/(4/3)),g,f));return this.purpleService.addImageSrc(n),n}return""}}}}]);