1import{a as O}from"./chunk-A2C7XS2J.js";import"./chunk-6EGA6P33.js";import{c as D}from"./chunk-3KQ2URUS.js";import"./chunk-ULC5PWSB.js";import{a as P}from"./chunk-JST2MQFZ.js";import"./chunk-Y32HPAO6.js";import"./chunk-S7JIYYMP.js";import"./chunk-TV2RN4RR.js";import"./chunk-LIB7VMNY.js";import"./chunk-R5M2FGLW.js";import"./chunk-UPBF4N2S.js";import{a as H}from"./chunk-UH62HCTJ.js";import{J as w,d as A,e as F}from"./chunk-6MZQVTP4.js";import"./chunk-6RZC52T6.js";import"./chunk-GE7A26O5.js";import{Xc as I}from"./chunk-WGYJ4VNB.js";import"./chunk-G6JVTTHL.js";import{e as s}from"./chunk-HTNLXQUD.js";import{m as L}from"./chunk-N56O2TJA.js";import{Ad as E,Dc as M,Ea as o,Ec as c,Fc as _,Gc as h,Ib as a,Ma as l,Na as m,Qc as b,Ra as x,_c as g,ac as C,ad as r,md as v,n as f,uc as S,v as y,wc as u,yc as d,yd as T,zd as k}from"./chunk-WI74XH4H.js";import"./chunk-RFT5DLLE.js";function B(t,n){if(t&1){let e=b();c(0,"button",4),g("click",function(p){l(e);let R=r(2);return m(R.backToHistory(p))}),h(1,"cx-icon",5),_()}if(t&2){let e=r(2);v("ios-back",e.isIosApp),a(),M("type",e.icons.ARROW_LEFT)}}function N(t,n){if(t&1){let e=b();u(0,B,2,3,"button",0),c(1,"button",1),g("click",function(){l(e);let p=r();return m(p.toggle())}),c(2,"span",2),h(3,"span",3),_()()}if(t&2){let e=r(),i=E(0);d(e.isMobileApp&&!i&&e.showAppBackButton()?0:-1),a(),v("is-active",i),S("aria-expanded",i)}}var Y=500,V=class t{icons=H;_hamburgerMenuService=o(w);_searchSuggestionsService=o(D);_navigationMenuService=o(O);_platformService=o(P);_location=o(L);_cmsService=o(I);_destroyRef=o(x);isMobileApp=this._platformService.isMobileApp();isIosApp=this._platformService.isIOS();mobileSearchBoxActive=s(this._searchSuggestionsService.isMobileSearchBoxActive(),{initialValue:!1});isExpanded=s(this._hamburgerMenuService.isExpanded,{requireSync:!0});showAppBackButton=s(this.isMobileApp?this._cmsService.getCurrentPage().pipe(y(n=>n?.pageId!=="homepage")):f(!1),{initialValue:!1});_resetLevelTimerId;constructor(){this._destroyRef.onDestroy(()=>clearTimeout(this._resetLevelTimerId))}toggle(){this._hamburgerMenuService.toggle(),clearTimeout(this._resetLevelTimerId),this._resetLevelTimerId=setTimeout(()=>{this._navigationMenuService.setCurrentOpenLevel(0),this._resetLevelTimerId=void 0},Y)}backToHistory(n){n.preventDefault(),this._location.back(),this._cmsService.refreshLatestPage()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=C({type:t,selectors:[["foerch-hamburger-menu"]],decls:2,vars:2,consts:[["type","button",1,"btn","btn-icon","history-back",3,"ios-back"],["aria-controls","header-account-container, header-categories-container, header-locale-container","aria-label","Menu","type","button",1,"cx-hamburger","custom-hamburger",3,"click"],[1,"hamburger-box"],[1,"hamburger-inner"],["type","button",1,"btn","btn-icon","history-back",3,"click"],[3,"type"]],template:function(e,i){e&1&&(T(0),u(1,N,4,4)),e&2&&(k(i.isExpanded()),a(),d(i.mobileSearchBoxActive()?-1:1))},dependencies:[F,A],styles:["[_nghost-%COMP%]{min-width:48px;display:block;position:relative;left:0;transition:left .3s ease-out}.history-back[_ngcontent-%COMP%]{font-size:16px;min-width:20px;padding:7px 8px 15px 3px}.history-back.ios-back[_ngcontent-%COMP%]{padding:4px 8px 12px 3px}"],changeDetection:0})};export{V as FoerchHamburgerMenuComponent};
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.