1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2461],{96935:function(e,r,o){o.r(r),o.d(r,{default:function(){return J}});var t=o(83789),i=o(10219),n=o(92809),s=(o(67294),o(60804)),c=(o(11163),o(73509)),a=o(29707),h=o(38686),p=o(30278),d=o(77265),l=o(61573),O=o(50068),j=o(16742),P=o(16597),g=o(43449),u=o(86117),f=o(86287),b=o(57124),E=o(88511),v=o(64829),Z=o(47211),H=o(34280),x=o(71774),y=o(85893);function _(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function A(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?_(Object(o),!0).forEach((function(r){(0,n.Z)(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var T=function(e){var r=e.children,o=e.backActionProps,t=e.centerHeaderComponent,i=void 0===t?(0,y.jsx)(x.Z,{}):t,n=e.navBarProps,s=void 0===n?{}:n;e.hideMenuBar;return(0,y.jsxs)(Z.Z,{spacing:"py16",children:[(0,y.jsxs)(b.Z,{justify:"spaceBetween",align:"center",children:[(0,y.jsx)(E.Z,{}),(0,y.jsx)(b.Z,{spacing:"mx24",align:"center",fullWidth:!1,children:i}),(0,y.jsx)(v.Z,A(A({},s),{},{navButtonPropsKeys:[j.jf.CATEGORIES,j.jf.BAG,j.jf.ACCOUNT]}))]}),(0,y.jsx)(b.Z,{align:"center",justify:"spaceBetween",spacing:o?"mt16":"",children:o&&(0,y.jsx)(H.Z,A({},o))}),r]})};T.defaultProps={};var B=T,m=o(68988),w=o(42533),I=o(66360),C=o(94074),S=o(91990),D=o(80189),F=o(489),N=o(55095),k=o(4265),G=o(18892),M=o(87377),R=o(98021),W=o(55068),Q=(o(47608),["children"]);function V(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function K(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?V(Object(o),!0).forEach((function(r){(0,n.Z)(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,l.F)(),o=r.isMobile,t=r.isDesktop,i=r.isApp,n=e.scrollingHeader,s=e.searchProps,p=(s=void 0===s?{}:s).hasSearchBar,d=s.children,O=e.hidePreHeader,j=e.showAppNavBar,P=e.hideMenuBar;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(R.Z,{hide:O}),i&&(0,y.jsx)(G.Z,{}),i&&j&&(0,y.jsx)(k.Z,{}),!P&&t&&(0,y.jsx)(F.Z,{tag:Z.Z,menuItemProps:{caretColor:"var(--white)"}}),(0,y.jsx)(c.Z,{anchor:"right",fullWidth:!1,searchBarFlowDesktop:a.Z,searchBarFlowMobile:h.Z}),(0,y.jsx)(m.Z,{fixed:!n,noBorder:o&&p,children:e.header||(0,y.jsx)(y.Fragment,{children:o?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(S.Z,K(K({},e),{},{spacing:p?"pb0":e.spacing})),p&&!n&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(N.Z,{position:{}}),d]})]}):(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(B,K({},K(K({},e),{},{navBarProps:K(K({},e.navBarProps),{},{spacing:"py6 px10"})})))})})})]})},z=function(e){var r=e.children,o=e.headerProps,t=e.footerProps,i=void 0===t?{}:t,n=e.bodyProps,c=void 0===n?{}:n,a=(0,d.i)().meta,h=(a=void 0===a?{}:a).is_online,j=(0,l.F)().isMobile,P=(0,O.l)().headerHeight,g=o.scrollingHeader,f=o.searchProps,b=(f=void 0===f?{}:f).hasSearchBar,E=f.children,v=i.hideStickyCouponFooter,H=void 0===v||v,x=i.showPageFooter,_=i.hideNavBar,A=i.pageFooterProps;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(p.Z,{whenVisible:!0,children:(0,y.jsx)(L,K({},o))}),(0,y.jsxs)(D.Z,K(K({},c),{},{children:[b&&g&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(N.Z,{position:{top:P}}),E]}),r]})),(0,y.jsx)(p.Z,{whenVisible:!0,children:x&&(0,y.jsx)(M.Z,K({Container:Z.Z,spacing:"mt32 m-mt0"},A))}),!H&&(0,y.jsx)(s.Z,{}),(0,y.jsxs)(C.Z,{children:[!h&&(0,y.jsx)(I.Z,{}),j&&h&&!_&&(0,y.jsx)(w.Z,K({},u.Z.bottomNavBar))]})]})},U=function(e){var r,o,s,c=e.children,a=(0,i.Z)(e,Q),h=a.headerProps,p=void 0===h?{}:h,O=a.footerProps,u=void 0===O?{}:O,b=a.bodyProps,E=void 0===b?{}:b,v=(0,l.F)(),Z=v.activeDevice,H=v.isApp,x=((0,P.J)().menuShown,(0,W.j)()),_=x.isApplied,A=x.moreCount,T=(0,d.i)().meta,B=(T=void 0===T?{}:T).is_online,m=p[Z]||{},w=u[Z]||{},I=E[Z]||{},C=m.scrollingHeader,S=(m.searchProps||{}).hasSearchBar,D=((0,(0,g.f)().hasComponentByPosition)(j.uk.PRE_HEADER),w.hideStickyCouponFooter),F=void 0===D||D,N=w.hideNavBar,k=w.footerHeights,G=(r={},(0,n.Z)(r,j.WO.MOBILE,[{height:j.Q5.APP_NAV_HEIGHT,condition:H&&m.showAppNavBar}]),(0,n.Z)(r,j.WO.DESKTOP,[]),r)[Z],M=m.headerHeights||(o={},(0,n.Z)(o,j.WO.MOBILE,[{height:j.Q5.NAV_HEIGHT,condition:!!m.backActionProps&&!S},{height:j.Q5.NAV_HEIGHT+j.Q5.SEARCH_BAR_HEIGHT-16,condition:!!m.backActionProps&&S},{height:j.Q5.WITH_STORE_IMAGE,condition:!m.backActionProps&&!S},{height:j.Q5.WITH_STORE_IMAGE+j.Q5.SEARCH_BAR_HEIGHT-16,condition:!m.backActionProps&&S}]),(0,n.Z)(o,j.WO.DESKTOP,[{height:j.Py.HEADER_WITH_BACK_NAV_HEIGHT,condition:!!m.backActionProps},{height:j.Py.DEFAULT_HEADER_HEIGHT,condition:!m.backActionProps}]),o)[Z],R=k||(s={},(0,n.Z)(s,j.WO.MOBILE,[{height:j.z8.BOTTOM_NAV_HEIGHT,condition:!N},{height:j.z8.MOBILE_BOTTOM_COUPON_CONFETTI_HEIGHT,condition:!F&&(_||!!A)}]),(0,n.Z)(s,j.WO.DESKTOP,[{height:j.zK.STORE_CLOSED_BANNER_HEIGHT,condition:!B},{height:j.z8.BOTTOM_COUPON_CONFETTI_HEIGHT,condition:!F&&(_||!!A)}]),s)[Z];return(0,y.jsx)(f.Z,K(K({headerHeights:C?(0,t.Z)(G):[].concat((0,t.Z)(M),(0,t.Z)(G)),footerHeights:R},a),{},{children:(0,y.jsx)(z,K(K({},a),{},{headerProps:m,footerProps:w,bodyProps:I,children:c}))}
1))};U.defaultProps={layoutProps:{layoutHeights:{}}};var J=U}}]);
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.