1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3075],{42851:function(n,o,e){e.r(o),e.d(o,{default:function(){return B}});var i=e(26042),t=e(85893),l=e(51469),d=e(48641),u=e(11163),a=e(67294),v=e(18841),r=e(28023),s=e(98087),c=e(94487),m=e(39686),p=e(5152),h=e.n(p),f=e(89530),x=e(21949),g=h()(function(){return e.e(1008).then(e.bind(e,19323))},{loadableGenerated:{webpack:function(){return[19323]}}}),b=h()(function(){return e.e(6010).then(e.bind(e,70682))},{loadableGenerated:{webpack:function(){return[70682]}}});function B(n){var o,e,p,h,B,j,w,C,N,k,y,I,H,Z,_,S,A,E,q,G,L,M,T,W,z=n.children,F=n.hubName,K=(0,a.useState)(0),O=K[0],P=K[1],R=(0,a.useContext)(s.Z).cms,D=(0,a.useContext)(m.Z);(0,a.useContext)(x.Z).broadcastMessageHeight;var J=(0,a.useContext)(f.Z).isAuthenticated,Q=(0,u.useRouter)(),U=(0,l.Sx)((null==R?void 0:null===(o=R.globals)||void 0===o?void 0:null===(e=o.content)||void 0===e?void 0:null===(p=e[0])||void 0===p?void 0:p.navBarHeight)||{sm:"110px",md:"130px"}),V=(null==R?void 0:null===(h=R.navBar)||void 0===h?void 0:null===(B=h.skeleton)||void 0===B?void 0:B[0].position)||"fixed",X=(null==R?void 0:null===(j=R.navBar)||void 0===j?void 0:j.type)?r[null==R?void 0:null===(w=R.navBar)||void 0===w?void 0:w.type[0].value]:b,Y=(null==R?void 0:null===(C=R.footer)||void 0===C?void 0:C.footer)?v[null===(k=null==R?void 0:null===(N=R.footer)||void 0===N?void 0:N.footer[0])||void 0===k?void 0:k.type]:g,$=null==D?void 0:null===(y=D.siteConfiguration)||void 0===y?void 0:null===(I=y.pagesToFixedHeaderColor)||void 0===I?void 0:null===(H=I.json)||void 0===H?void 0:H.pages,nn=(null==$?void 0:$.includes(null==Q?void 0:Q.pathname))||Q.pathname.includes("/_sites/[site]")||(null===(_=R[null==Q?void 0:null===(Z=Q.query)||void 0===Z?void 0:Z.type])||void 0===_?void 0:null===(S=_.sections)||void 0===S?void 0:S.find(function(n){return"HeroCarousel"===n.component||"StoreLocator"===n.component}))||Q.pathname.includes("login/otp/email")&&(null===(A=R.loginOtpEmail)||void 0===A?void 0:null===(E=A.sections)||void 0===E?void 0:E.find(function(n){return"LoginWithBanner"===n.component})),no=null==D?void 0:null===(q=D.siteConfiguration)||void 0===q?void 0:null===(G=q.broadcastMessage)||void 0===G?void 0:G.json,ne=(null==R?void 0:null===(L=R.navBar)||void 0===L?void 0:L.showAnimation)&&(null==R?void 0:null===(M=R.navBar)||void 0===M?void 0:M.showAnimation[0].value)&&"/_sites/[site]"===Q.pathname;return(0,t.jsxs)(d.Kq,{direction:"column",alignItems:"center",children:[(null==no?void 0:no.message)&&(0,t.jsx)(c.Z,(0,i.Z)({setHeight:function(n){return P(n)},status:no.status,discription:null==no?void 0:no.message},no)),(0,t.jsxs)(d.kC,{width:"100%",alignItems:"center",direction:"column",mr:"auto",ml:"auto",children:[(0,t.jsx)(d.xu,{zIndex:"999",width:"100%",position:V,top:"".concat(O,"px")||0,children:(0,t.jsx)(X,{hubName:F,NavigationBar:function(){if(!J||!(null==R?void 0:null===(n=R.navBar)||void 0===n?void 0:n.navItems))return R.navBar;var n,o=(0,i.Z)({},null==R?void 0:R.navBar),e=null==o?void 0:o.navItems.filter(function(n){return!1!==n.showPostAuthentication});return o.navItems=e,o}()})}),(0,t.jsx)(d.xu,{maxW:nn||Q.pathname.includes("/collectibles")||Q.pathname.includes("/externalStore")||Q.pathname.includes("/bundle")?"100%":"1200px",padding:nn||Q.pathname.includes("/externalStore")||Q.pathname.includes("/collectibles")||Q.pathname.includes("/bundle")?"auto":"0 1rem",width:"100%",margin:"auto 0",mt:ne?{base:"100vh"}:nn?"none":(console.log("navBarHeight",U),{base:"".concat(O+("number"!=typeof U||isNaN(U)?110:U),"px"),md:"".concat(O+("number"!=typeof U||isNaN(U)?130:U),"px")}),minH:"85vh",position:"relative",alignItems:"center",children:(0,t.jsx)(d.xu,{children:z})})]}),(0,t.jsx)(d.xu,{width:"100%",position:"relative",alignItems:"center",style:{marginTop:"0px"},children:(0,t.jsx)(Y,{content:(null==R?void 0:null===(T=R.footer)||void 0===T?void 0:T.footer)?null==R?void 0:null===(W=R.footer)||void 0===W?void 0:W.footer[0]:null==R?void 0:R.footer})})]})}}}]);
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.