1import{a as T}from"./chunk-6ECCDRXC.js";import{a as z}from"./chunk-DMWEYSJJ.js";import{$a as c,Da as i,Db as L,Eb as _,La as f,Sb as C,Tb as E,_a as r,bb as O,cb as x,db as b,ea as h,eb as u,fa as M,fb as d,gb as s,hb as l,ob as y,qb as w,sb as g,tb as v,ub as m,wb as k,xb as S,yb as D,za as P}from"./chunk-JJXGM4WM.js";var B=["swiperRef"],H=["*",[["","layout-footer",""]]],F=["*","[layout-footer]"],I=t=>[t],R=()=>({maxZoom:20}),j=()=>({iconName:"store"});function V(t,o){t&1&&l(0,"div",5)}function Q(t,o){if(t&1&&l(0,"div",12),t&2){let e=g();L("background-image","url("+(e.images[0].optimizedPath||e.images[0].path)+")"),_("isContain",e.imageFit==="contain")}}function U(t,o){if(t&1&&(d(0,"video",7,1),l(2,"source",13),s()),t&2){let e=g();i(2),u("src",e.video.path)("type",e.video.type)}}function N(t,o){if(t&1&&(d(0,"swiper-slide")(1,"video",7,1),l(3,"source",13),s()()),t&2){let e=g();i(3),u("src",e.video.path)("type",e.video.type)}}function q(t,o){if(t&1){let e=y();d(0,"swiper-slide")(1,"img",14),w("load",function(){h(e);let n=g(2);return M(n.swiper==null?null:n.swiper.update())}),s()()}if(t&2){let e=o.$implicit;i(),u("src",e.optimizedPath||e.path,P)("alt",e.title)}}function A(t,o){if(t&1&&x(0,q,2,2,"swiper-slide",null,O),t&2){let e=g();b(e.images)}}function W(t,o){if(t&1&&l(0,"mega-places-map-component",9),t&2){let e=g();u("items",E(3,I,e.attributes.item))("options",C(5,R))("defaultCategory",C(6,j))}}function Z(t,o){if(t&1&&l(0,"megaCMS-url-tree-fragment",11),t&2){let e=g();u("disableListening",!0)("urlStacks",e.urlStacks)}}var K=(()=>{class t{set attributes(e){if(this.initialized=e.initialized,this.images=e.useDefaultHeader&&!e.video||!e.useDefaultHeader?e.images:null,this.video=e.video,this.files=e.files,this.useDefaultHeader=e.useDefaultHeader&&!e.video,this.title=e.item?.title,this.urlStacks=e.urlStacks,this.imageFit=e.imageFit||"cover",!(this.images?.length>0))return;let n={slidesPerView:1,centeredSlides:!0,loop:!0,speed:1400,pagination:!0,autoplay:{delay:6e3,disableOnInteraction:!1}},p=this._swiperRef.nativeElement;Object.assign(p,n),p.initialize(),this.swiper=this._swiperRef.nativeElement.swiper,this.swiper.update()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["megaCMS-page-plugin-layout-base"]],viewQuery:function(a,n){if(a&1&&k(B,7),a&2){let p;S(p=D())&&(n._swiperRef=p.first)}},inputs:{attributes:"attributes"},ngContentSelectors:F,decls:15,vars:9,consts:[["swiperRef",""],["videoRef",""],["id","main-content",1,"main-container"],[1,"header-container"],[1,"image-container"],[1,"background-fixed","loadingImage"],[1,"background-fixed",3,"isContain","backgroundImage"],["webkit-playsinline","","playsinline","","playsinline","playsinline","muted","","onloadedmetadata","this.muted = true; this.play()","loop","",1,"video-background"],["init","false"],["toCenterOnWhenReady","markers",2,"height","500px","width","100%",3,"items","options","defaultCategory"],[1,"text-container"],[3,"disableListening","urlStacks"],[1,"background-fixed"],[3,"src","type"],[1,"background-image",3,"load","src","alt"]],template:function(a,n){a&1&&(v(H),d(0,"main",2)(1,"section",3)(2,"div",4),r(3,V,1,0,"div",5),r(4,Q,1,4,"div",6),r(5,U,3,2,"video",7),d(6,"swiper-container",8,0),r(8,N,4,2,"swiper-slide"),r(9,A,2,0),s(),r(10,W,1,7,"mega-places-map-component",9),s(),d(11,"div",10),r(12,Z,1,2,"megaCMS-url-tree-fragment",11),m(13),s()(),m(14,1),s()),a&2&&(i(),_("useDefaultHeader",n.useDefaultHeader),i(2),c(n.initialized?-1:3),i(),c((n.images==null?null:n.images.length)>0?4:-1),i(),c((n.images==null?null:n.images.length)<=1&&n.video?5:-1),i(3),c(n.video?8:-1),i(),c(n.useDefaultHeader?-1:9),i(),c(!(n.attributes==null||n.attributes.item==null)&&n.attributes.item.position?10:-1),i(2),c(n.title?12:-1))},dependencies:[z,T],styles:["[_nghost-%COMP%] .main-container[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%]{display:flex;min-height:80vh;overflow:hidden}@media(max-width:767px){[_nghost-%COMP%] .header-container[_ngcontent-%COMP%]{flex-direction:column}}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{--a-color: var(--primary);--a-weight: bold;display:flex;flex-direction:column;position:relative;width:50%;padding:var(--space-bigger);padding-top:60px;box-sizing:border-box}@media(max-width:767px){[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] megaCMS-url-tree-fragment[_ngcontent-%COMP%]{position:absolute;top:var(--space);left:22px}@media(min-width:768px){[_nghost-%COMP%] .header-container.useDefaultHeader[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:30%}[_nghost-%COMP%] .header-container.useDefaultHeader[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:70%}}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%]:not(.useDefaultHeader) .background-fixed[_ngcontent-%COMP%]{filter:blur(68px)}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;width:50%;max-height:80vh;min-height:100%;transition:all .3s ease-in-out;box-sizing:border-box}@media(max-width:767px){[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:100%;height:194px}}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .background-fixed[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .background-fixed.isContain[_ngcontent-%COMP%]{background-size:contain;background-repeat:no-repeat}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .background-fixed.loadingImage[_ngcontent-%COMP%]{background-image:url(https://assets.megaphone.info/images/skeletons/image.jpg)}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .video-background[_ngcontent-%COMP%]{position:absolute;inset:-100%;width:100%;height:100%;margin:auto;background-size:cover;background-position:50% 50%;object-fit:cover}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] swiper-container[_ngcontent-%COMP%]{width:100%;height:100%;z-index:0}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] swiper-container[_ngcontent-%COMP%] .background-fixed[_ngcontent-%COMP%]{background-color:var(--light);background-attachment:unset}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] swiper-container[_ngcontent-%COMP%] .background-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain;background-repeat:no-repeat}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] swiper-container[_ngcontent-%COMP%] .swiper-pagination[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{width:11px;height:11px;background:var(--primary)}"],changeDetection:0})}}return t})();export{K as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.