1import{r as M,t as l}from"./chunk-UF7ETB5K.js";import{Da as m,Eb as h,Fb as f,Gb as g,Hb as i,Ib as r,Ic as w,La as p,Ub as v,_a as u,cc as a,ec as C,fb as s,gb as o,ja as d,kc as _}from"./chunk-PPZZRTD4.js";import"./chunk-2VMXMS7J.js";function y(n,x){if(n&1&&(i(0,"a",2),a(1),i(2,"b"),a(3,"|"),r(),a(4,"\xA0 \xA0"),r()),n&2){let t=x.$implicit;v("href",t.component_level1_link,u),s(),C("",t.component_level1_title,"\xA0 \xA0")}}var k=(()=>{class n{constructor(t,e,c){this.ngZone=t,this.cdr=e,this.platformId=c,this.componentData=[],this.cacheBuster=Math.floor(Math.random()*1e4)}ngOnInit(){l(this.platformId)&&this.ngZone.runOutsideAngular(()=>{document.querySelectorAll("marquee").forEach(e=>{e.addEventListener("mouseover",()=>e.setAttribute("scrollamount","0")),e.addEventListener("mouseout",()=>e.setAttribute("scrollamount","5"))}),this.scrollListener=()=>this.onWindowScroll(),window.addEventListener("scroll",this.scrollListener,{passive:!0})})}ngOnDestroy(){l(this.platformId)&&this.scrollListener&&window.removeEventListener("scroll",this.scrollListener)}onWindowScroll(){let t=document.querySelector(".stickyAnouncementBar");if(t){let e=t.classList.contains("d-none");window.scrollY>100&&e?this.ngZone.run(()=>{t.classList.remove("d-none"),this.cdr.markForCheck()}):window.scrollY<=100&&!e&&this.ngZone.run(()=>{t.classList.add("d-none"),this.cdr.markForCheck()})}}static{this.\u0275fac=function(e){return new(e||n)(o(m),o(w),o(p))}}static{this.\u0275cmp=d({type:n,selectors:[["app-navmarque"]],inputs:{componentData:"componentData"},standalone:!0,features:[_],decls:4,vars:0,consts:[[1,"stickyAnouncementBar","d-none"],["behavior","scroll","direction","left","scrollamount","10","onmouseover","this.stop();","onmouseout","this.start();"],[3,"href"]],template:function(e,c){e&1&&(i(0,"div",0)(1,"marquee",1),f(2,y,5,2,"a",2,h),r()()),e&2&&(s(2),g(c.componentData.component_sub[0].component_level1))},dependencies:[M],styles:[".main[_ngcontent-%COMP%]{text-align:center}.c1[_ngcontent-%COMP%]{background-color:#cc1616;padding-top:5px;padding-bottom:5px;color:#fff}.c2[_ngcontent-%COMP%]{background:#000;padding-top:5px;padding-bottom:5px;color:#fff}a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}@media only screen and (min-width: 412px)and (max-width:915px){.c1[_ngcontent-%COMP%]{width:20%}.c2[_ngcontent-%COMP%]{font-size:60%;width:90%;padding-bottom:0}}@media only screen and (max-width: 600px){.c1[_ngcontent-%COMP%]{width:100%!important}.c2[_ngcontent-%COMP%]{font-size:60%;width:100%;padding-bottom:0}}"],changeDetection:0})}}return n})();export{k as NavmarqueComponent};
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.