1import{a as w}from"./chunk-RQYUGWAC.js";import{a as k}from"./chunk-VKRA5SNT.js";import{a as b}from"./chunk-QO2EBBVJ.js";import"./chunk-36G5EF3V.js";import{Gb as I,Ia as c,Ib as D,Ua as _,Y as M,Ya as d,Za as s,Ze as g,cb as E,eb as T,fa as h,fb as v,ga as S,hb as l,ib as x,ja as u,kb as C,lb as f,mb as p,nb as a,ob as A,sb as y,se as N,ub as F,vb as m}from"./chunk-MUD633XU.js";var $=(e,o)=>o.id||e;function L(e,o){if(e&1){let t=y();p(0,"button",3),F("click",function(){let i=h(t).$implicit,r=m(2);return S(r.onClickItemMenu(i))}),I(1),a()}if(e&2){let t=o.$implicit,n=m(2);T("active",n.MENU_SELECTED_ACTIVE.has(t.url)),c(),D(" ",t.name," ")}}function O(e,o){e&1&&(p(0,"scroller-wrapper",0)(1,"div",1),C(2,L,2,3,"button",2,$),a()()),e&2&&(c(2),f(o))}var V=(()=>{class e extends N{constructor(){super(...arguments),this.MENU_SELECTED_ACTIVE=new Map([]),this.scrollerService=M(k)}onClickItemMenu(t){this.MENU_SELECTED_ACTIVE.clear(),this.MENU_SELECTED_ACTIVE.set(t.url,t.name),t.url&&this.scrollerService.scrollToAnchor(t.url)}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=u(e)))(i||e)}})()}static{this.\u0275cmp=_({type:e,selectors:[["app-menu-anchor"]],features:[d],decls:1,vars:1,consts:[[1,"c-scroller-wrapper"],[1,"c-menu-anchor__wrap"],["type","button",1,"section-menu__button",3,"active"],["type","button",1,"section-menu__button",3,"click"]],template:function(n,i){if(n&1&&s(0,O,4,0,"scroller-wrapper",0),n&2){let r;l((r=i.component().menus)?0:-1,r)}},dependencies:[b],encapsulation:2})}}return e})();function U(e,o){if(e&1&&(p(0,"div",2),A(1,"app-menu-anchor",3),a()),e&2){let t=m().$implicit;c(),E("component",t.component)}}function P(e,o){if(e&1&&s(0,U,2,1,"div",2),e&2){let t=o.$implicit,n=m(2);l(t.component.componentType===n.COMPONENT_NAMES.ComponentMenu?0:-1)}}function j(e,o){if(e&1&&(p(0,"section",1),C(1,P,1,1,null,null,x),a()),e&2){let t=o;v(`menu-sticky ${t.type}`),E("id",t.anchor||""),c(),f(t.components)}}var X=(()=>{class e extends g{constructor(){super(...arguments),this.COMPONENT_NAMES=w}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=u(e)))(i||e)}})()}static{this.\u0275cmp=_({type:e,selectors:[["app-section-menu"]],features:[d],decls:1,vars:1,consts:[[3,"class","id"],[3,"id"],[1,"section-menu__container"],[3,"component"]],template:function(n,i){if(n&1&&s(0,j,3,3,"section",0),n&2){let r;l((r=i.cmsSection())?0:-1,r)}},dependencies:[V],encapsulation:2})}}return e})();export{X as SectionMenuComponent};
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.