1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./7h55oodW.js","./CjXW0tVs.js","./entry.DS4SEWKj.css","./BxktCYBC.js","./CK3k31AU.js","./Bkk41BO9.js","./D4RB4MK1.js"])))=>i.map(i=>d[i]); 2import{bf as M,y as x,m as E,n as S,r as p,E as C,U as I,g as t,c as P,o as f,d,h as i,H as g,p as z,f as L,F as R,I as y}from"./CjXW0tVs.js";import V from"./je0VugO_.js";import $ from"./BxktCYBC.js";import T from"./CajPTKJo.js";import{i as A}from"./CHokJBag.js";import"./DUE9XPdh.js";import"./DwTVawst.js";import"./3q-J7n35.js";import"./Bkk41BO9.js";import"./D4RB4MK1.js";import"./Cqz2Kgtf.js";import"./DPcqZwZq.js";import"./Bi27KXly.js";import"./CXvDPvls.js";import"./BhSTK6sv.js";import"./DISyRZWA.js";import"./CK3k31AU.js";import"./DuSWwmEY.js";import"./VcjA-YsI.js";import"./CEwMvTy3.js";import"./BQguEG_I.js";import"./C5qttOpm.js";import"./DHIdw9DK.js";import"./CA_HJcKg.js";import"./DrViEBpO.js";import"./Biov4Usa.js";import"./h_mkXq2g.js";import"./CZ0tDAfZ.js";import"./BYcIQUuj.js";import"./DPgYBNnF.js";import"./ayW9oN1Z.js";import"./xOMLr7-b.js";const F=g(()=>y(()=>import("./7h55oodW.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(e=>e.default||e)),U=g(()=>y(()=>import("./CjXW0tVs.js").then(e=>e.bk),__vite__mapDeps([1,2]),import.meta.url).then(e=>e.default||e)),D={class:"w-screen sticky top-0 left-0 backdrop-blur-md"},ke={__name:"Header",props:["navigation","promotedBar"],setup(e){const r=p(!1),s=M("_isSearchOpen",()=>!1),N=p(null),m=p(null);let c=null;const b=e,{navigation:_,promotedBar:a}=x(b),h=()=>r.value=!r.value,u=()=>s.value=!s.value,v=o=>{const n=Number.isFinite(o)?Math.max(0,o):0;document.documentElement.style.setProperty("--header-navigation-height",`${Math.ceil(n)}px`)},k=o=>{const n=o[0];if(!n)return;const l=n.target.offsetHeight;v(l??0)};return E(async()=>{await S(),a?.value&&a?.value?.type?.toLowerCase()!="other"&&A("view_promotion",a.value,{creative_name:a?.value.promoted_text,creative_slot:"hot_line"});const o=m.value?.$el??m.value;o&&(v(o.getBoundingClientRect().height),c=new ResizeObserver(k),c.observe(o))}),C(()=>{c?.disconnect()}),I(()=>{t(r)}),(o,n)=>{const l=F,w=U,B=V,H=$,O=T;return f(),P(R,null,[d("div",null,[i(l,{navigation:t(_),show:t(r),onChangeNavigationIsOpen:h},null,8,["navigation","show"]),i(w,{show:t(s),handleSearchModal:u},null,8,["show"]),d("div",D,[d("header",{class:"w-screen bg-white shadow-sm",ref_key:"header",ref:N},[t(a)!=null?(f(),z(B,{key:0,promotedBar:t(a)},null,8,["promotedBar"])):L("",!0),i(H,{class:"hidden md:block"})],512)])]),i(O,{ref_key:"headerNavigation",ref:m,onHandleSearchModal:u,navigation:t(_),onChangeNavigationIsOpen:h},null,8,["navigation"])],64)}}};export{ke as default};
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.